PageSourceSearch

https://jasno.ai/assets/index-BccoXoiL.js

js jasno.ai collected 2026-10-05 12:31:32 UTC 656,626 bytes, 34 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CreateTeam-B9qco1EX.js","assets/input-C6d90mcO.js","assets/card-BT2jnzK3.js","assets/index-o3YDwePQ.js","assets/analytics-CsfPCH_H.js","assets/circle-check-B22cTBHs.js","assets/BlogPostPage-BMZff9pD.js","assets/index-Dk8VrJmB.js","assets/index-CEItL6HI.js","assets/chevron-right-BvbNVpHs.js","assets/arrow-left-BcdEqPZb.js","assets/list-D7jSVZEZ.js","assets/mail-CMa_7sgK.js","assets/check-CzE03vEF.js","assets/Features-DSNm0OC0.js","assets/chart-column-DxCSE67E.js","assets/AiSearchVisibility-EfGSq2Ql.js","assets/JasnoMiniGraphics-D-WVdb_l.js","assets/KeepExploring-CGKVvF4q.js","assets/message-square-jYPr0qyy.js","assets/link-2-Dbw_HwJB.js","assets/circle-alert-Czjlv6Lj.js","assets/history-Dcmha2dM.js","assets/eye-D0Dl9MfG.js","assets/radio-tower-DC0-_AOO.js","assets/AiBrandMonitoring-CyfKK360.js","assets/calendar-clock-C-ILRH2d.js","assets/list-checks-D4evl9rc.js","assets/RedditCitations-IlaKNjrb.js","assets/SearchConsoleIntegration-CadjR_h-.js","assets/chart-line-fB45xwjg.js","assets/ContentOptimisation-m8M5EzJY.js","assets/share-2-qTTFJMaF.js","assets/archive-CPt_ufGi.js","assets/PerformanceTracking-QLt2k1aj.js","assets/download-CYqS1VGS.js","assets/TeamCollaboration-Bg4JMubz.js","assets/building-2-dT1s11z-.js","assets/coins-hVr1YZgl.js","assets/Ga4Integration-BOZ9DxV_.js","assets/refresh-cw-pzCQewnq.js","assets/AudienceAlignment-C0gKvv7j.js","assets/UseCaseDetailLayout-BFzkIGYO.js","assets/CompetitorGaps-COC6ioWZ.js","assets/CitationBuilding-MG62InEl.js","assets/MultiTopicStrategy-tJ_D0DPL.js","assets/CompetitorTracking-CvBYG0Ut.js","assets/AiSearchVisibilityComparison-DJ9cjKcu.js","assets/minus-CWbOmsZE.js","assets/circle-question-mark-EkEcf-wG.js","assets/Pricing-
1DIYVKYtR.js","assets/PlatformLogo-CHwCQOpt.js","assets/planEngines-CXrqQQgw.js","assets/shield-check-CPKe4fRE.js","assets/LandingPaidTrial-BxKURtu1.js","assets/Layout-CBhgPdI-.js","assets/dropdown-menu-DAvZ0z8G.js","assets/index-BLYSwJnx.js","assets/index-C10WIogR.js","assets/Combination-iipnlVpE.js","assets/index-DIgqNAdb.js","assets/index-DjCzK5zz.js","assets/index-CNvFE_EC.js","assets/index-46AYn1L3.js","assets/index-VpSZbQW9.js","assets/circle-p8dJUtLX.js","assets/badge-CTUhE3Ej.js","assets/projectAccess-CGbSN2Yj.js","assets/triangle-alert-BMnx7X_V.js","assets/clock-gMiFT5IW.js","assets/FilterContext-MedCbiPU.js","assets/teamCache-BoqIQva-.js","assets/chart-no-axes-column-BcuAwuJe.js","assets/credit-card-D4PTUU3_.js","assets/shield-AIX5B5Ae.js","assets/pen-98pGolpl.js","assets/plus-DN7iXqTE.js","assets/circle-pause-4m9MT3sg.js","assets/Home-DP0pAH8B.js","assets/AiVisibility-VhtSdGb9.js","assets/Dashboard-D5EZOXXI.js","assets/PageLoader-C7jX9oVq.js","assets/useInView-CX0gQOW-.js","assets/InfoTooltip-B3nYnRey.js","assets/trending-down-Oq_5ssGx.js","assets/external-link-C5CI4Mn_.js","assets/generateCategoricalChart-VDSrz2_-.js","assets/BarChart-EBOO3Jkt.js","assets/CartesianGrid-B_optFJG.js","assets/trophy-MpnSHDCV.js","assets/PromptDetailModal-DHGLrjvD.js","assets/copy-BeCb2cE_.js","assets/IntentBadge--hs9vrOX.js","assets/checkbox-BBucNgH6.js","assets/index-UYfsGTcH.js","assets/pencil-u8MQ8VcV.js","assets/PromptHistoryModal-DK1SlLgH.js","assets/format-3gWReUe6.js","assets/en-US-DPHc_Go0.js","assets/LineChart-Cb8ZvRr-.js","assets/alert-dialog-CcbccMRw.js","assets/index-BAYtXK6z.js","assets/CitedPagesChart-BB5CL13z.js","assets/chartBuckets-CGMgKx6_.js","assets/analysisEvidence-DDK0mURD.js","assets/parseISO-DSQMfuZO.js","assets/mentionCounting-D2suMEVv.js","assets/arrow-up-BTcrWkAI.js","assets/subDays-ClyJ0lfb.js","assets/addDays-CDllMqB5.js","assets/chartAxis-Tr1qmLAx.js","assets/scoreCalculations-EfaLWywn.js","assets/TimewarpBanner-D27LxhYt.js","assets/calendar-Bdmkae0Y.js","assets/trialActionGuard-sd5okYjk.js","assets/ban-DRxB_o7F.js","assets/chevron-left-DKRVPJRv.js","assets/PieChart-eY2LK2S8.js","assets/TimeFilter-BGiwOZ_8.js","assets/trash-2-B6ugIZrl.js","assets/chevron-up-BI80mSco.js","assets/file-text-Cl7flSbS.js","assets/message-square-text-DkNquL-1.js","assets/quote-BhXBRpCa.js","assets/PlatformFilter-0sZGAfZw.js","assets/globe-C1F9WZLi.js","assets/arrow-up-right-DNSwY9Jr.js","assets/FaviconImg-BIWPeLMa.js","assets/NoProjectEmptyState-BzMQ4b1x.js","assets/crown-eIcI90Fh.js","assets/endOfDay-68j1QGK2.js","assets/Competitors-CkYZ_Pg-.js","assets/SearchConsole-DpUHPqI2.js","assets/PageHeader-oY_CNWWR.js","assets/AiInsights-Du80ODBD.js","assets/Scores-CpmKtzbR.js","assets/addWeeks-Sdbim11Z.js","assets/grid-3x3-Dst2kpqN.js","assets/tag-DOTR_CVN.js","assets/formatDistanceToNow-BQkA2i1u.js","assets/Onboarding-D7UboJmY.js","assets/effectivePromptLimit-bDspOiJ8.js","assets/queryJourney--pz6KFkr.js","assets/circle-check-big-x6zsLcw3.js","assets/Prompts-dnWdKH-L.js","assets/switch-JTJ-QPa-.js","assets/info-BqRz9vVb.js","assets/Discover-BnH2rbF1.js","assets/label-ZcBYpd7t.js","assets/dialog-C2dS96hM.js","assets/CompetitorAvatar-DChqc7m1.js","assets/Brands-CQtcWKX8.js","assets/rotate-ccw-8psvynP_.js","assets/Projects-DTIQF4p8.js","assets/folder-open-DvqqCqdl.js","assets/SharedProjects-BSyoz7GX.js","assets/ProjectSettings-Bmubv_Pu.js","assets/file-warning-PlmfRGVs.js","assets/Trends-CRbf8zzk.js","assets/Team-C9zOtj26.js","assets/user-DVSi5Mw5.js","assets/Billing-cp3H6TTe.js","assets/TeamCredits-Cdkyo-xi.js","assets/gift-B9bS_Xfy.js","assets/GscSetup-C0bwBeth.js","assets/GscOAuthCallback-MOrxLDrk.js","assets/Ga4Setup-0m_vTJA8.js","assets/Integrations-DRjQhJEi.js","assets/Ga4OAuthCallback-CUIfb76e.js","assets/LlmTraffic-Cc1b_2tv.js","assets/ContentHub-BqLXLSwm.js","assets/send-DNk4rTeE.js","assets/calendar-days-t5kVK-X5.js","assets/MissedOpportunities-DD76uzGx.js","assets/RedditCitations-DUf82x5E.js","assets/circle-x-B54KUTz9.js","assets/ContactUs-DmyG3mMJ.js","assets/textarea-CGmKXCxB.js","assets/upload-BbP2VZ_y.js","assets/BookDemo-DtlvFlrF.js","assets/PublicBrief-DJx_xoYB.js","assets/AcceptInvite-Bnug1exL.js","assets/MasterAdminLayout-CHQyXOqO.js","assets/MasterAdminTeams-CTctSYv-.js","assets/select-B6NXId8a.js","assets/MasterAdminTeamDetail-Di3s6S2t.js","assets/MasterAdminUsage-Dzkkx8ZT.js","assets/MasterAdminPlatforms-Dcpo-_aG.js","assets/MasterAdminPlans-Do_MgnVQ.js","assets/MasterAdminPricing-BPA42PEw.js","assets/MasterAdminGscFailures-NEZuczHP.js","assets/MasterAdminAuthors-BOqoLA4R.js","assets/MasterAdminVouchers-BuhKPf97.js","assets/MasterAdminAnalytics-DMF7Bcbm.js","assets/MasterAdminEmails-84MmqUii.js","assets/save-C6J0ktrp.js","assets/MasterAdminSeo-VSmu5P2d.js","assets/MasterAdminStatus-CDLo7_rz.js","assets/MasterAdminActivity-CO4qH5IE.js","assets/AdminBlogList-DSBS9ARN.js","assets/AdminBlogEdit-DzJMkD_4.js","assets/AdminBlogEdit-CCFdrhze.css"])))=>i.map(i=>d[i]);
2function ac(e,n){for(var a=0;a<n.length;a++){const i=n[a];
vendor: 4,710 bytes, line 2
2if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in e)){const c=Object.getOwnPropertyDescriptor(i,o);c&&Object.defineProperty(e,o,c.get?c:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function a(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=a(o);fetch(o.href,c)}})();var k3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ld={exports:{}},yr={};var c0;function w_(){if(c0)return yr;c0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function a(i,o,c){var f=null;if(c!==void 0&&(f=""+c),o.key!==void 0&&(f=""+o.key),"key"in o){c={};for(var m in o)m!=="key"&&(c[m]=o[m])}else c=o;return o=c.ref,{$$typeof:e,type:i,key:f,ref:o!==void 0?o:null,props:c}}return yr.Fragment=n,yr.jsx=a,yr.jsxs=a,yr}var u0;function S_(){return u0||(u0=1,Ld.exports=w_()),Ld.exports}var u=S_();const j_=rc(u),__=ac({__proto__:null,default:j_},[u]);var zd={exports:{}},xe={};var d0;function T_(){if(d0)return xe;d0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function b(T){return T===null||typeof T!="object"?null:(T=x&&T[x]||T["@@iterator"],typeof T=="function"?T:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,j={};function E(T,K,te){this.props=T,this.context=K,this.refs=j,this.updater=te||A}E.prototype.isReactComponent={},E.prototype.setState=function(T,K){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,K,"setState")},E.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function O(){}O.prototype=E.prototype;function N(T,K,te){this.props=T,this.context=K,this.refs=j,this.updater=te||A}var R=N.prototype=new O;R.constructor=N,_(R,E.prototype),R.isPureReactComponent=!0;var H=Array.isArray,L={H:null,A:null,T:null,S:null,V:null},X=Object.prototype.hasOwnProperty;function Q(T,K,te,Z,de,pe){return te=pe.ref,{$$typeof:e,type:T,key:K,ref:te!==void 0?te:null,props:pe}}function I(T,K){return Q(T.type,K,void 0,void 0,void 0,T.props)}function q(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function ue(T){var K={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(te){return K[te]})}var se=/\/+/g;function fe(T,K){return typeof T=="object"&&T!==null&&T.key!=null?ue(""+T.key):K.toString(36)}function Be(){}function Ze(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(Be,Be):(T.status="pending",T.then(function(K){T.status==="pending"&&(T.status="fulfilled",T.value=K)},function(K){T.status==="pending"&&(T.status="rejected",T.reason=K)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function ve(T,K,te,Z,de){var pe=typeof T;(pe==="undefined"||pe==="boolean")&&(T=null);var le=!1;if(T===null)le=!0;else switch(pe){case"bigint":case"string":case"number":le=!0;break;case"object":switch(T.$$typeof){case e:case n:le=!0;break;case y:return le=T._init,ve(le(T._payload),K,te,Z,de)}}if(le)return de=de(T),le=Z===""?"."+fe(T,0):Z,H(de)?(te="",le!=null&&(te=le.replace(se,"$&/")+"/"),ve(de,K,te,"",function(ze){return ze})):de!=null&&(q(de)&&(de=I(de,te+(de.key==null||T&&T.key===de.key?"":(""+de.key).replace(se,"$&/")+"/")+le)),K.push(de)),1;le=0;var ct=Z===""?".":Z+":";if(H(T))for(var Le=0;Le<T.length;Le++)Z=T[Le],pe=ct+fe(Z,Le),le+=ve(Z,K,te,pe,de);
vendor: 5,016 bytes, line 2
2else if(Le=b(T),typeof Le=="function")for(T=Le.call(T),Le=0;!(Z=T.next()).done;)Z=Z.value,pe=ct+fe(Z,Le++),le+=ve(Z,K,te,pe,de);else if(pe==="object"){if(typeof T.then=="function")return ve(Ze(T),K,te,Z,de);throw K=String(T),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return le}function B(T,K,te){if(T==null)return T;var Z=[],de=0;return ve(T,Z,"","",function(pe){return K.call(te,pe,de++)}),Z}function W(T){if(T._status===-1){var K=T._result;K=K(),K.then(function(te){(T._status===0||T._status===-1)&&(T._status=1,T._result=te)},function(te){(T._status===0||T._status===-1)&&(T._status=2,T._result=te)}),T._status===-1&&(T._status=0,T._result=K)}if(T._status===1)return T._result.default;throw T._result}var ne=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function ye(){}return xe.Children={map:B,forEach:function(T,K,te){B(T,function(){K.apply(this,arguments)},te)},count:function(T){var K=0;return B(T,function(){K++}),K},toArray:function(T){return B(T,function(K){return K})||[]},only:function(T){if(!q(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},xe.Component=E,xe.Fragment=a,xe.Profiler=o,xe.PureComponent=N,xe.StrictMode=i,xe.Suspense=p,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,xe.__COMPILER_RUNTIME={__proto__:null,c:function(T){return L.H.useMemoCache(T)}},xe.cache=function(T){return function(){return T.apply(null,arguments)}},xe.cloneElement=function(T,K,te){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var Z=_({},T.props),de=T.key,pe=void 0;if(K!=null)for(le in K.ref!==void 0&&(pe=void 0),K.key!==void 0&&(de=""+K.key),K)!X.call(K,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&K.ref===void 0||(Z[le]=K[le]);var le=arguments.length-2;if(le===1)Z.children=te;else if(1<le){for(var ct=Array(le),Le=0;Le<le;Le++)ct[Le]=arguments[Le+2];Z.children=ct}return Q(T.type,de,void 0,void 0,pe,Z)},xe.createContext=function(T){return T={$$typeof:f,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:c,_context:T},T},xe.createElement=function(T,K,te){var Z,de={},pe=null;if(K!=null)for(Z in K.key!==void 0&&(pe=""+K.key),K)X.call(K,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(de[Z]=K[Z]);var le=arguments.length-2;if(le===1)de.children=te;else if(1<le){for(var ct=Array(le),Le=0;Le<le;Le++)ct[Le]=arguments[Le+2];de.children=ct}if(T&&T.defaultProps)for(Z in le=T.defaultProps,le)de[Z]===void 0&&(de[Z]=le[Z]);return Q(T,pe,void 0,void 0,null,de)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(T){return{$$typeof:m,render:T}},xe.isValidElement=q,xe.lazy=function(T){return{$$typeof:y,_payload:{_status:-1,_result:T},_init:W}},xe.memo=function(T,K){return{$$typeof:g,type:T,compare:K===void 0?null:K}},xe.startTransition=function(T){var K=L.T,te={};L.T=te;try{var Z=T(),de=L.S;de!==null&&de(te,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(ye,ne)}catch(pe){ne(pe)}finally{L.T=K}},xe.unstable_useCacheRefresh=function(){return L.H.useCacheRefresh()},xe.use=function(T){return L.H.use(T)},xe.useActionState=function(T,K,te){return L.H.useActionState(T,K,te)},xe.useCallback=function(T,K){return L.H.useCallback(T,K)},xe.useContext=function(T){return L.H.useContext(T)},xe.useDebugValue=function(){},xe.useDeferredValue=function(T,K){return L.H.useDeferredValue(T,K)},xe.useEffect=function(T,K,te){var Z=L.H;if(typeof te=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Z.useEffect(T,K)},xe.useId=function(){return L.H.useId()},xe.useImperativeHandle=function(T,K,te){return L.H.useImperativeHandle(T,K,te)},xe.useInsertionEffect=function(T,K){return L.H.useInsertionEffect(T,K)},xe.useLayoutEffect=function(T,K){return L.H.useLayoutEffect(T,K)},xe.useMemo=function(T,K){return L.H.useMemo(T,K)},xe.useOptimistic=function(T,K){return L.H.useOptimistic(T,K)},xe.useReducer=function(T,K,te){return L.H.useReducer(T,K,te)},xe.useRef=function(T){return L.H.useRef(T)},xe.useState=function(T){return L.H.useState(T)},xe.useSyncExternalStore=function(T,K,te){return L.H.useSyncExternalStore(T,K,te)},xe.useTransition=function(){return L.H.useTransition()},xe.version="19.1.0",xe}var f0;function gh(){return f0||(f0=1,zd.exports=T_()),zd.exports}var w=gh();const V=rc(w),eb=ac({__proto__:null,default:V},[w]);var Vd={exports:{}},xr={},Bd={exports:{}},Id={};var h0;
vendor: 7,317 bytes, line 2
2function A_(){return h0||(h0=1,(function(e){function n(B,W){var ne=B.length;B.push(W);e:for(;0<ne;){var ye=ne-1>>>1,T=B[ye];if(0<o(T,W))B[ye]=W,B[ne]=T,ne=ye;else break e}}function a(B){return B.length===0?null:B[0]}function i(B){if(B.length===0)return null;var W=B[0],ne=B.pop();if(ne!==W){B[0]=ne;e:for(var ye=0,T=B.length,K=T>>>1;ye<K;){var te=2*(ye+1)-1,Z=B[te],de=te+1,pe=B[de];if(0>o(Z,ne))de<T&&0>o(pe,Z)?(B[ye]=pe,B[de]=ne,ye=de):(B[ye]=Z,B[te]=ne,ye=te);else if(de<T&&0>o(pe,ne))B[ye]=pe,B[de]=ne,ye=de;else break e}}return W}function o(B,W){var ne=B.sortIndex-W.sortIndex;return ne!==0?ne:B.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var f=Date,m=f.now();e.unstable_now=function(){return f.now()-m}}var p=[],g=[],y=1,x=null,b=3,A=!1,_=!1,j=!1,E=!1,O=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function H(B){for(var W=a(g);W!==null;){if(W.callback===null)i(g);else if(W.startTime<=B)i(g),W.sortIndex=W.expirationTime,n(p,W);else break;W=a(g)}}function L(B){if(j=!1,H(B),!_)if(a(p)!==null)_=!0,X||(X=!0,fe());else{var W=a(g);W!==null&&ve(L,W.startTime-B)}}var X=!1,Q=-1,I=5,q=-1;function ue(){return E?!0:!(e.unstable_now()-q<I)}function se(){if(E=!1,X){var B=e.unstable_now();q=B;var W=!0;try{e:{_=!1,j&&(j=!1,N(Q),Q=-1),A=!0;var ne=b;try{t:{for(H(B),x=a(p);x!==null&&!(x.expirationTime>B&&ue());){var ye=x.callback;if(typeof ye=="function"){x.callback=null,b=x.priorityLevel;var T=ye(x.expirationTime<=B);if(B=e.unstable_now(),typeof T=="function"){x.callback=T,H(B),W=!0;break t}x===a(p)&&i(p),H(B)}else i(p);x=a(p)}if(x!==null)W=!0;else{var K=a(g);K!==null&&ve(L,K.startTime-B),W=!1}}break e}finally{x=null,b=ne,A=!1}W=void 0}}finally{W?fe():X=!1}}}var fe;if(typeof R=="function")fe=function(){R(se)};else if(typeof MessageChannel<"u"){var Be=new MessageChannel,Ze=Be.port2;Be.port1.onmessage=se,fe=function(){Ze.postMessage(null)}}else fe=function(){O(se,0)};function ve(B,W){Q=O(function(){B(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(B){switch(b){case 1:case 2:case 3:var W=3;break;default:W=b}var ne=b;b=W;try{return B()}finally{b=ne}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(B,W){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var ne=b;b=B;try{return W()}finally{b=ne}},e.unstable_scheduleCallback=function(B,W,ne){var ye=e.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?ye+ne:ye):ne=ye,B){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=ne+T,B={id:y++,callback:W,priorityLevel:B,startTime:ne,expirationTime:T,sortIndex:-1},ne>ye?(B.sortIndex=ne,n(g,B),a(p)===null&&B===a(g)&&(j?(N(Q),Q=-1):j=!0,ve(L,ne-ye))):(B.sortIndex=T,n(p,B),_||A||(_=!0,X||(X=!0,fe()))),B},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(B){var W=b;return function(){var ne=b;b=W;try{return B.apply(this,arguments)}finally{b=ne}}}})(Id)),Id}var m0;function E_(){return m0||(m0=1,Bd.exports=A_()),Bd.exports}var Hd={exports:{}},wt={};var p0;function k_(){if(p0)return wt;p0=1;var e=gh();function n(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(n(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(p,g,y){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:x==null?null:""+x,children:p,containerInfo:g,implementation:y}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,wt.createPortal=function(p,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return c(p,g,null,y)},wt.flushSync=function(p){var g=f.T,y=i.p;try{if(f.T=null,i.p=2,p)return p()}finally{f.T=g,i.p=y,i.d.f()}},wt.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,i.d.C(p,g))},wt.prefetchDNS=function(p){typeof p=="string"&&i.d.D(p)},wt.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var y=g.as,x=m(y,g.crossOrigin),b=typeof g.integrity=="string"?g.integrity:void 0,A=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?i.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:x,integrity:b,fetchPriority:A}):y==="script"&&i.d.X(p,{crossOrigin:x,integrity:b,fetchPriority:A,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},wt.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=m(g.as,g.crossOrigin);i.d.M(p,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&i.d.M(p)},wt.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,x=m(y,g.crossOrigin);i.d.L(p,y,{crossOrigin:x,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},wt.preloadModule=function(p,g){if(typeof p=="string")if(g){var y=m(g.as,g.crossOrigin);i.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else i.d.m(p)},wt.requestFormReset=function(p){i.d.r(p)},wt.unstable_batchedUpdates=function(p,g){return p(g)},wt.useFormState=function(p,g,y){return f.H.useFormState(p,g,y)},wt.useFormStatus=function(){return f.H.useHostTransitionStatus()},wt.version="19.1.0",wt}var g0;function tb(){if(g0)return Hd.exports;g0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),Hd.exports=k_(),Hd.exports}var y0;
vendor: 17,924 bytes, lines 2-9
2function C_(){if(y0)return xr;y0=1;var e=E_(),n=gh(),a=tb();function i(t){var s="https://react.dev/errors/"+t;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)s+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+t+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var s=t,r=t;if(t.alternate)for(;s.return;)s=s.return;else{t=s;do s=t,(s.flags&4098)!==0&&(r=s.return),t=s.return;while(t)}return s.tag===3?r:null}function f(t){if(t.tag===13){var s=t.memoizedState;if(s===null&&(t=t.alternate,t!==null&&(s=t.memoizedState)),s!==null)return s.dehydrated}return null}function m(t){if(c(t)!==t)throw Error(i(188))}function p(t){var s=t.alternate;if(!s){if(s=c(t),s===null)throw Error(i(188));return s!==t?null:t}for(var r=t,l=s;;){var d=r.return;if(d===null)break;var h=d.alternate;if(h===null){if(l=d.return,l!==null){r=l;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===r)return m(d),t;if(h===l)return m(d),s;h=h.sibling}throw Error(i(188))}if(r.return!==l.return)r=d,l=h;else{for(var v=!1,S=d.child;S;){if(S===r){v=!0,r=d,l=h;break}if(S===l){v=!0,l=d,r=h;break}S=S.sibling}if(!v){for(S=h.child;S;){if(S===r){v=!0,r=h,l=d;break}if(S===l){v=!0,l=h,r=d;break}S=S.sibling}if(!v)throw Error(i(189))}}if(r.alternate!==l)throw Error(i(190))}if(r.tag!==3)throw Error(i(188));return r.stateNode.current===r?t:s}function g(t){var s=t.tag;if(s===5||s===26||s===27||s===6)return t;for(t=t.child;t!==null;){if(s=g(t),s!==null)return s;t=t.sibling}return null}var y=Object.assign,x=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),N=Symbol.for("react.consumer"),R=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ue=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function fe(t){return t===null||typeof t!="object"?null:(t=se&&t[se]||t["@@iterator"],typeof t=="function"?t:null)}var Be=Symbol.for("react.client.reference");function Ze(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Be?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case _:return"Fragment";case E:return"Profiler";case j:return"StrictMode";case L:return"Suspense";case X:return"SuspenseList";case q:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case R:return(t.displayName||"Context")+".Provider";case N:return(t._context.displayName||"Context")+".Consumer";case H:var s=t.render;return t=t.displayName,t||(t=s.displayName||s.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Q:return s=t.displayName||null,s!==null?s:Ze(t.type)||"Memo";case I:s=t._payload,t=t._init;try{return Ze(t(s))}catch{}}return null}var ve=Array.isArray,B=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},ye=[],T=-1;function K(t){return{current:t}}function te(t){0>T||(t.current=ye[T],ye[T]=null,T--)}function Z(t,s){T++,ye[T]=t.current,t.current=s}var de=K(null),pe=K(null),le=K(null),ct=K(null);function Le(t,s){switch(Z(le,s),Z(pe,t),Z(de,null),s.nodeType){case 9:case 11:t=(t=s.documentElement)&&(t=t.namespaceURI)?Ly(t):0;break;default:if(t=s.tagName,s=s.namespaceURI)s=Ly(s),t=zy(s,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}te(de),Z(de,t)}function ze(){te(de),te(pe),te(le)}function ui(t){t.memoizedState!==null&&Z(ct,t);var s=de.current,r=zy(s,t.type);s!==r&&(Z(pe,t),Z(de,r))}function Cn(t){pe.current===t&&(te(de),te(pe)),ct.current===t&&(te(ct),fr._currentValue=ne)}var Xn=Object.prototype.hasOwnProperty,Ms=e.unstable_scheduleCallback,Qn=e.unstable_cancelCallback,JS=e.unstable_shouldYield,ej=e.unstable_requestPaint,vn=e.unstable_now,tj=e.unstable_getCurrentPriorityLevel,ym=e.unstable_ImmediatePriority,xm=e.unstable_UserBlockingPriority,to=e.unstable_NormalPriority,nj=e.unstable_LowPriority,vm=e.unstable_IdlePriority,sj=e.log,ij=e.unstable_setDisableYieldValue,ba=null,Dt=null;function Zn(t){if(typeof sj=="function"&&ij(t),Dt&&typeof Dt.setStrictMode=="function")try{Dt.setStrictMode(ba,t)}catch{}}var Ut=Math.clz32?Math.clz32:oj,aj=Math.log,rj=Math.LN2;function oj(t){return t>>>=0,t===0?32:31-(aj(t)/rj|0)|0}var no=256,so=4194304;function Os(t){var s=t&42;if(s!==0)return s;switch(t&-t){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:return 64;case 128:return 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 t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function io(t,s,r){var l=t.pendingLanes;if(l===0)return 0;var d=0,h=t.suspendedLanes,v=t.pingedLanes;t=t.warmLanes;var S=l&134217727;return S!==0?(l=S&~h,l!==0?d=Os(l):(v&=S,v!==0?d=Os(v):r||(r=S&~t,r!==0&&(d=Os(r))))):(S=l&~h,S!==0?d=Os(S):v!==0?d=Os(v):r||(r=l&~t,r!==0&&(d=Os(r)))),d===0?0:s!==0&&s!==d&&(s&h)===0&&(h=d&-d,r=s&-s,h>=r||h===32&&(r&4194048)!==0)?s:d}function wa(t,s){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&s)===0}function lj(t,s){switch(t){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bm(){var t=no;return no<<=1,(no&4194048)===0&&(no=256),t}function wm(){var t=so;return so<<=1,(so&62914560)===0&&(so=4194304),t}function Ac(t){for(var s=[],r=0;31>r;r++)s.push(t);return s}function Sa(t,s){t.pendingLanes|=s,s!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function cj(t,s,r,l,d,h){var v=t.pendingLanes;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=r,t.entangledLanes&=r,t.errorRecoveryDisabledLanes&=r,t.shellSuspendCounter=0;var S=t.entanglements,k=t.expirationTimes,D=t.hiddenUpdates;for(r=v&~r;0<r;){var G=31-Ut(r),$=1<<G;S[G]=0,k[G]=-1;var U=D[G];if(U!==null)for(D[G]=null,G=0;G<U.length;G++){var z=U[G];z!==null&&(z.lane&=-536870913)}r&=~$}l!==0&&Sm(t,l,0),h!==0&&d===0&&t.tag!==0&&(t.suspendedLanes|=h&~(v&~s))}function Sm(t,s,r){t.pendingLanes|=s,t.suspendedLanes&=~s;var l=31-Ut(s);t.entangledLanes|=s,t.entanglements[l]=t.entanglements[l]|1073741824|r&4194090}function jm(t,s){var r=t.entangledLanes|=s;for(t=t.entanglements;r;){var l=31-Ut(r),d=1<<l;d&s|t[l]&s&&(t[l]|=s),r&=~d}}function Ec(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function kc(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function _m(){var t=W.p;return t!==0?t:(t=window.event,t===void 0?32:s0(t.type))}function uj(t,s){var r=W.p;try{return W.p=t,s()}finally{W.p=r}}var Jn=Math.random().toString(36).slice(2),vt="__reactFiber$"+Jn,Nt="__reactProps$"+Jn,di="__reactContainer$"+Jn,Cc="__reactEvents$"+Jn,dj="__reactListeners$"+Jn,fj="__reactHandles$"+Jn,Tm="__reactResources$"+Jn,ja="__reactMarker$"+Jn;function Nc(t){delete t[vt],delete t[Nt],delete t[Cc],delete t[dj],delete t[fj]}function fi(t){var s=t[vt];if(s)return s;for(var r=t.parentNode;r;){if(s=r[di]||r[vt]){if(r=s.alternate,s.child!==null||r!==null&&r.child!==null)for(t=Hy(t);t!==null;){if(r=t[vt])return r;t=Hy(t)}return s}t=r,r=t.parentNode}return null}function hi(t){if(t=t[vt]||t[di]){var s=t.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return t}return null}function _a(t){var s=t.tag;if(s===5||s===26||s===27||s===6)return t.stateNode;throw Error(i(33))}function mi(t){var s=t[Tm];return s||(s=t[Tm]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function ut(t){t[ja]=!0}var Am=new Set,Em={};function Ps(t,s){pi(t,s),pi(t+"Capture",s)}function pi(t,s){for(Em[t]=s,t=0;t<s.length;t++)Am.add(s[t])}var hj=RegExp("^[: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]*$"),km={},Cm={};function mj(t){return Xn.call(Cm,t)?!0:Xn.call(km,t)?!1:hj.test(t)?Cm[t]=!0:(km[t]=!0,!1)}function ao(t,s,r){if(mj(s))if(r===null)t.removeAttribute(s);else{switch(typeof r){case"undefined":case"function":case"symbol":t.removeAttribute(s);return;case"boolean":var l=s.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(s);return}}t.setAttribute(s,""+r)}}function ro(t,s,r){if(r===null)t.removeAttribute(s);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttribute(s,""+r)}}function Nn(t,s,r,l){if(l===null)t.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(r);return}t.setAttributeNS(s,r,""+l)}}var Rc,Nm;function gi(t){if(Rc===void 0)try{throw Error()}catch(r){var s=r.stack.trim().match(/\n( *(at )?)/);Rc=s&&s[1]||"",Nm=-1<r.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+Rc+t+Nm}var Mc=!1;function Oc(t,s){if(!t||Mc)return"";Mc=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(s){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(z){var U=z}Reflect.construct(t,[],$)}else{try{$.call()}catch(z){U=z}t.call($.prototype)}}else{try{throw Error()}catch(z){U=z}($=t())&&typeof $.catch=="function"&&$.catch(function(){})}}catch(z){if(z&&U&&typeof z.stack=="string")return[z.stack,U.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),v=h[0],S=h[1];if(v&&S){var k=v.split(`
5`),D=S.split(`
6`);for(d=l=0;l<k.length&&!k[l].includes("DetermineComponentFrameRoot");)l++;for(;d<D.length&&!D[d].includes("DetermineComponentFrameRoot");)d++;if(l===k.length||d===D.length)for(l=k.length-1,d=D.length-1;1<=l&&0<=d&&k[l]!==D[d];)d--;for(;1<=l&&0<=d;l--,d--)if(k[l]!==D[d]){if(l!==1||d!==1)do if(l--,d--,0>d||k[l]!==D[d]){var G=`
7`+k[l].replace(" at new "," at ");return t.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",t.displayName)),G}while(1<=l&&0<=d);break}}}finally{Mc=!1,Error.prepareStackTrace=r}return(r=t?t.displayName||t.name:"")?gi(r):""}function pj(t){switch(t.tag){case 26:case 27:case 5:return gi(t.type);case 16:return gi("Lazy");case 13:return gi("Suspense");case 19:return gi("SuspenseList");case 0:case 15:return Oc(t.type,!1);case 11:return Oc(t.type.render,!1);case 1:return Oc(t.type,!0);case 31:return gi("Activity");default:return""}}function Rm(t){try{var s="";do s+=pj(t),t=t.return;while(t);return s}catch(r){return`
8Error generating stack: `+r.message+`
9`+r.stack}}function Kt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Mm(t){var s=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function gj(t){var s=Mm(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,s),l=""+t[s];if(!t.hasOwnProperty(s)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var d=r.get,h=r.set;return Object.defineProperty(t,s,{configurable:!0,get:function(){return d.call(this)},set:function(v){l=""+v,h.call(this,v)}}),Object.defineProperty(t,s,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(v){l=""+v},stopTracking:function(){t._valueTracker=null,delete t[s]}}}}function oo(t){t._valueTracker||(t._valueTracker=gj(t))}function Om(t){if(!t)return!1;var s=t._valueTracker;if(!s)return!0;var r=s.getValue(),l="";return t&&(l=Mm(t)?t.checked?"true":"false":t.value),t=l,t!==r?(s.setValue(t),!0):!1}function lo(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var yj=/[\n"\\]/g;function $t(t){return t.replace(yj,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Pc(t,s,r,l,d,h,v,S){t.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.type=v:t.removeAttribute("type"),s!=null?v==="number"?(s===0&&t.value===""||t.value!=s)&&(t.value=""+Kt(s)):t.value!==""+Kt(s)&&(t.value=""+Kt(s)):v!=="submit"&&v!=="reset"||t.removeAttribute("value"),s!=null?Dc(t,v,Kt(s)):r!=null?Dc(t,v,Kt(r)):l!=null&&t.removeAttribute("value"),d==null&&h!=null&&(t.defaultChecked=!!h),d!=null&&(t.checked=d&&typeof d!="function"&&typeof d!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Kt(S):t.removeAttribute("name")}function Pm(t,s,r,l,d,h,v,S){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),s!=null||r!=null){if(!(h!=="submit"&&h!=="reset"||s!=null))return;r=r!=null?""+Kt(r):"",s=s!=null?""+Kt(s):r,S||s===t.value||(t.value=s),t.defaultValue=s}l=l??d,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=S?t.checked:!!l,t.defaultChecked=!!l,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.name=v)}function Dc(t,s,r){s==="number"&&lo(t.ownerDocument)===t||t.defaultValue===""+r||(t.defaultValue=""+r)}function yi(t,s,r,l){if(t=t.options,s){s={};for(var d=0;d<r.length;d++)s["$"+r[d]]=!0;for(r=0;r<t.length;r++)d=s.hasOwnProperty("$"+t[r].value),t[r].selected!==d&&(t[r].selected=d),d&&l&&(t[r].defaultSelected=!0)}else{for(r=""+Kt(r),s=null,d=0;d<t.length;d++){if(t[d].value===r){t[d].selected=!0,l&&(t[d].defaultSelected=!0);return}s!==null||t[d].disabled||(s=t[d])}s!==null&&(s.selected=!0)}}function Dm(t,s,r){if(s!=null&&(s=""+Kt(s),s!==t.value&&(t.value=s),r==null)){t.defaultValue!==s&&(t.defaultValue=s);return}t.defaultValue=r!=null?""+Kt(r):""}function Um(t,s,r,l){if(s==null){if(l!=null){if(r!=null)throw Error(i(92));if(ve(l)){if(1<l.length)throw Error(i(93));l=l[0]}r=l}r==null&&(r=""),s=r}r=Kt(s),t.defaultValue=r,l=t.textContent,l===r&&l!==""&&l!==null&&(t.value=l)}function xi(t,s){if(s){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=s;return}}t.textContent=s}var xj=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Lm(t,s,r){var l=s.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="":l?t.setProperty(s,r):typeof r!="number"||r===0||xj.has(s)?s==="float"?t.cssFloat=r:t[s]=(""+r).trim():t[s]=r+"px"}function zm(t,s,r){if(s!=null&&typeof s!="object")throw Error(i(62));if(t=t.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||s!=null&&s.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var d in s)l=s[d],s.hasOwnProperty(d)&&r[d]!==l&&Lm(t,d,l)}else for(var h in s)s.hasOwnProperty(h)&&Lm(t,h,s[h])}function Uc(t){if(t.indexOf("-")===-1)return!1;switch(t){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 vj=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
9dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),bj=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function co(t){return bj.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Lc=null;function zc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var vi=null,bi=null;function Vm(t){var s=hi(t);if(s&&(t=s.stateNode)){var r=t[Nt]||null;e:switch(t=s.stateNode,s.type){case"input":if(Pc(t,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),s=r.name,r.type==="radio"&&s!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+$t(""+s)+'"][type="radio"]'),s=0;s<r.length;s++){var l=r[s];if(l!==t&&l.form===t.form){var d=l[Nt]||null;if(!d)throw Error(i(90));Pc(l,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(s=0;s<r.length;s++)l=r[s],l.form===t.form&&Om(l)}break e;case"textarea":Dm(t,r.value,r.defaultValue);break e;case"select":s=r.value,s!=null&&yi(t,!!r.multiple,s,!1)}}}var Vc=!1;function Bm(t,s,r){if(Vc)return t(s,r);Vc=!0;try{var l=t(s);return l}finally{if(Vc=!1,(vi!==null||bi!==null)&&(Wo(),vi&&(s=vi,t=bi,bi=vi=null,Vm(s),t)))for(s=0;s<t.length;s++)Vm(t[s])}}function Ta(t,s){var r=t.stateNode;if(r===null)return null;var l=r[Nt]||null;if(l===null)return null;r=l[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":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(i(231,s,typeof r));return r}var Rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bc=!1;if(Rn)try{var Aa={};Object.defineProperty(Aa,"passive",{get:function(){Bc=!0}}),window.addEventListener("test",Aa,Aa),window.removeEventListener("test",Aa,Aa)}catch{Bc=!1}var es=null,Ic=null,uo=null;function Im(){if(uo)return uo;var t,s=Ic,r=s.length,l,d="value"in es?es.value:es.textContent,h=d.length;for(t=0;t<r&&s[t]===d[t];t++);var v=r-t;for(l=1;l<=v&&s[r-l]===d[h-l];l++);return uo=d.slice(t,1<l?1-l:void 0)}function fo(t){var s=t.keyCode;
vendor: 4,127 bytes, line 9
9return"charCode"in t?(t=t.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),32<=t||t===13?t:0}function ho(){return!0}function Hm(){return!1}function Rt(t){function s(r,l,d,h,v){this._reactName=r,this._targetInst=d,this.type=l,this.nativeEvent=h,this.target=v,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(r=t[S],this[S]=r?r(h):h[S]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ho:Hm,this.isPropagationStopped=Hm,this}return y(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ho)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ho)},persist:function(){},isPersistent:ho}),s}var Ds={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mo=Rt(Ds),Ea=y({},Ds,{view:0,detail:0}),wj=Rt(Ea),Hc,Gc,ka,po=y({},Ea,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ka&&(ka&&t.type==="mousemove"?(Hc=t.screenX-ka.screenX,Gc=t.screenY-ka.screenY):Gc=Hc=0,ka=t),Hc)},movementY:function(t){return"movementY"in t?t.movementY:Gc}}),Gm=Rt(po),Sj=y({},po,{dataTransfer:0}),jj=Rt(Sj),_j=y({},Ea,{relatedTarget:0}),qc=Rt(_j),Tj=y({},Ds,{animationName:0,elapsedTime:0,pseudoElement:0}),Aj=Rt(Tj),Ej=y({},Ds,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),kj=Rt(Ej),Cj=y({},Ds,{data:0}),qm=Rt(Cj),Nj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rj={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"},Mj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Oj(t){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(t):(t=Mj[t])?!!s[t]:!1}function Fc(){return Oj}var Pj=y({},Ea,{key:function(t){if(t.key){var s=Nj[t.key]||t.key;if(s!=="Unidentified")return s}return t.type==="keypress"?(t=fo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Rj[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fc,charCode:function(t){return t.type==="keypress"?fo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?fo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Dj=Rt(Pj),Uj=y({},po,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fm=Rt(Uj),Lj=y({},Ea,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fc}),zj=Rt(Lj),Vj=y({},Ds,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bj=Rt(Vj),Ij=y({},po,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Hj=Rt(Ij),Gj=y({},Ds,{newState:0,oldState:0}),qj=Rt(Gj),Fj=[9,13,27,32],Yc=Rn&&"CompositionEvent"in window,Ca=null;Rn&&"documentMode"in document&&(Ca=document.documentMode);var Yj=Rn&&"TextEvent"in window&&!Ca,Ym=Rn&&(!Yc||Ca&&8<Ca&&11>=Ca),Km=" ",$m=!1;
vendor: 57,522 bytes, line 9
9function Wm(t,s){switch(t){case"keyup":return Fj.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xm(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var wi=!1;function Kj(t,s){switch(t){case"compositionend":return Xm(s);case"keypress":return s.which!==32?null:($m=!0,Km);case"textInput":return t=s.data,t===Km&&$m?null:t;default:return null}}function $j(t,s){if(wi)return t==="compositionend"||!Yc&&Wm(t,s)?(t=Im(),uo=Ic=es=null,wi=!1,t):null;switch(t){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 Ym&&s.locale!=="ko"?null:s.data;default:return null}}var Wj={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 Qm(t){var s=t&&t.nodeName&&t.nodeName.toLowerCase();return s==="input"?!!Wj[t.type]:s==="textarea"}function Zm(t,s,r,l){vi?bi?bi.push(l):bi=[l]:vi=l,s=tl(s,"onChange"),0<s.length&&(r=new mo("onChange","change",null,r,l),t.push({event:r,listeners:s}))}var Na=null,Ra=null;function Xj(t){My(t,0)}function go(t){var s=_a(t);if(Om(s))return t}function Jm(t,s){if(t==="change")return s}var ep=!1;if(Rn){var Kc;if(Rn){var $c="oninput"in document;if(!$c){var tp=document.createElement("div");tp.setAttribute("oninput","return;"),$c=typeof tp.oninput=="function"}Kc=$c}else Kc=!1;ep=Kc&&(!document.documentMode||9<document.documentMode)}function np(){Na&&(Na.detachEvent("onpropertychange",sp),Ra=Na=null)}function sp(t){if(t.propertyName==="value"&&go(Ra)){var s=[];Zm(s,Ra,t,zc(t)),Bm(Xj,s)}}function Qj(t,s,r){t==="focusin"?(np(),Na=s,Ra=r,Na.attachEvent("onpropertychange",sp)):t==="focusout"&&np()}function Zj(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return go(Ra)}function Jj(t,s){if(t==="click")return go(s)}function e2(t,s){if(t==="input"||t==="change")return go(s)}function t2(t,s){return t===s&&(t!==0||1/t===1/s)||t!==t&&s!==s}var Lt=typeof Object.is=="function"?Object.is:t2;function Ma(t,s){if(Lt(t,s))return!0;if(typeof t!="object"||t===null||typeof s!="object"||s===null)return!1;var r=Object.keys(t),l=Object.keys(s);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var d=r[l];if(!Xn.call(s,d)||!Lt(t[d],s[d]))return!1}return!0}function ip(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ap(t,s){var r=ip(t);t=0;for(var l;r;){if(r.nodeType===3){if(l=t+r.textContent.length,t<=s&&l>=s)return{node:r,offset:s-t};t=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ip(r)}}function rp(t,s){return t&&s?t===s?!0:t&&t.nodeType===3?!1:s&&s.nodeType===3?rp(t,s.parentNode):"contains"in t?t.contains(s):t.compareDocumentPosition?!!(t.compareDocumentPosition(s)&16):!1:!1}function op(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var s=lo(t.document);s instanceof t.HTMLIFrameElement;){try{var r=typeof s.contentWindow.location.href=="string"}catch{r=!1}if(r)t=s.contentWindow;else break;s=lo(t.document)}return s}function Wc(t){var s=t&&t.nodeName&&t.nodeName.toLowerCase();return s&&(s==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||s==="textarea"||t.contentEditable==="true")}var n2=Rn&&"documentMode"in document&&11>=document.documentMode,Si=null,Xc=null,Oa=null,Qc=!1;function lp(t,s,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Qc||Si==null||Si!==lo(l)||(l=Si,"selectionStart"in l&&Wc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Oa&&Ma(Oa,l)||(Oa=l,l=tl(Xc,"onSelect"),0<l.length&&(s=new mo("onSelect","select",null,s,r),t.push({event:s,listeners:l}),s.target=Si)))}function Us(t,s){var r={};return r[t.toLowerCase()]=s.toLowerCase(),r["Webkit"+t]="webkit"+s,r["Moz"+t]="moz"+s,r}var ji={animationend:Us("Animation","AnimationEnd"),animationiteration:Us("Animation","AnimationIteration"),animationstart:Us("Animation","AnimationStart"),transitionrun:Us("Transition","TransitionRun"),transitionstart:Us("Transition","TransitionStart"),transitioncancel:Us("Transition","TransitionCancel"),transitionend:Us("Transition","TransitionEnd")},Zc={},cp={};Rn&&(cp=document.createElement("div").style,"AnimationEvent"in window||(delete ji.animationend.animation,delete ji.animationiteration.animation,delete ji.animationstart.animation),"TransitionEvent"in window||delete ji.transitionend.transition);function Ls(t){if(Zc[t])return Zc[t];if(!ji[t])return t;var s=ji[t],r;for(r in s)if(s.hasOwnProperty(r)&&r in cp)return Zc[t]=s[r];return t}var up=Ls("animationend"),dp=Ls("animationiteration"),fp=Ls("animationstart"),s2=Ls("transitionrun"),i2=Ls("transitionstart"),a2=Ls("transitioncancel"),hp=Ls("transitionend"),mp=new Map,Jc="abort auxClick beforeToggle 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(" ");Jc.push("scrollEnd");function ln(t,s){mp.set(t,s),Ps(s,[t])}var pp=new WeakMap;function Wt(t,s){if(typeof t=="object"&&t!==null){var r=pp.get(t);return r!==void 0?r:(s={value:t,source:s,stack:Rm(s)},pp.set(t,s),s)}return{value:t,source:s,stack:Rm(s)}}var Xt=[],_i=0,eu=0;function yo(){for(var t=_i,s=eu=_i=0;s<t;){var r=Xt[s];Xt[s++]=null;var l=Xt[s];Xt[s++]=null;var d=Xt[s];Xt[s++]=null;var h=Xt[s];if(Xt[s++]=null,l!==null&&d!==null){var v=l.pending;v===null?d.next=d:(d.next=v.next,v.next=d),l.pending=d}h!==0&&gp(r,d,h)}}function xo(t,s,r,l){Xt[_i++]=t,Xt[_i++]=s,Xt[_i++]=r,Xt[_i++]=l,eu|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function tu(t,s,r,l){return xo(t,s,r,l),vo(t)}function Ti(t,s){return xo(t,null,null,s),vo(t)}function gp(t,s,r){t.lanes|=r;var l=t.alternate;l!==null&&(l.lanes|=r);for(var d=!1,h=t.return;h!==null;)h.childLanes|=r,l=h.alternate,l!==null&&(l.childLanes|=r),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(d=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,d&&s!==null&&(d=31-Ut(r),t=h.hiddenUpdates,l=t[d],l===null?t[d]=[s]:l.push(s),s.lane=r|536870912),h):null}function vo(t){if(50<ir)throw ir=0,od=null,Error(i(185));for(var s=t.return;s!==null;)t=s,s=t.return;return t.tag===3?t.stateNode:null}var Ai={};function r2(t,s,r,l){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zt(t,s,r,l){return new r2(t,s,r,l)}function nu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mn(t,s){var r=t.alternate;return r===null?(r=zt(t.tag,s,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=s,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&65011712,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,s=t.dependencies,r.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r.refCleanup=t.refCleanup,r}function yp(t,s){t.flags&=65011714;var r=t.alternate;return r===null?(t.childLanes=0,t.lanes=s,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=r.childLanes,t.lanes=r.lanes,t.child=r.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=r.memoizedProps,t.memoizedState=r.memoizedState,t.updateQueue=r.updateQueue,t.type=r.type,s=r.dependencies,t.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),t}function bo(t,s,r,l,d,h){var v=0;if(l=t,typeof t=="function")nu(t)&&(v=1);else if(typeof t=="string")v=l_(t,r,de.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case q:return t=zt(31,r,s,d),t.elementType=q,t.lanes=h,t;case _:return zs(r.children,d,h,s);case j:v=8,d|=24;break;case E:return t=zt(12,r,s,d|2),t.elementType=E,t.lanes=h,t;case L:return t=zt(13,r,s,d),t.elementType=L,t.lanes=h,t;case X:return t=zt(19,r,s,d),t.elementType=X,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case O:case R:v=10;break e;case N:v=9;break e;case H:v=11;break e;case Q:v=14;break e;case I:v=16,l=null;break e}v=29,r=Error(i(130,t===null?"null":typeof t,"")),l=null}return s=zt(v,r,s,d),s.elementType=t,s.type=l,s.lanes=h,s}function zs(t,s,r,l){return t=zt(7,t,l,s),t.lanes=r,t}function su(t,s,r){return t=zt(6,t,null,s),t.lanes=r,t}function iu(t,s,r){return s=zt(4,t.children!==null?t.children:[],t.key,s),s.lanes=r,s.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},s}var Ei=[],ki=0,wo=null,So=0,Qt=[],Zt=0,Vs=null,On=1,Pn="";function Bs(t,s){Ei[ki++]=So,Ei[ki++]=wo,wo=t,So=s}function xp(t,s,r){Qt[Zt++]=On,Qt[Zt++]=Pn,Qt[Zt++]=Vs,Vs=t;var l=On;t=Pn;var d=32-Ut(l)-1;l&=~(1<<d),r+=1;var h=32-Ut(s)+d;if(30<h){var v=d-d%5;h=(l&(1<<v)-1).toString(32),l>>=v,d-=v,On=1<<32-Ut(s)+d|r<<d|l,Pn=h+t}else On=1<<h|r<<d|l,Pn=t}function au(t){t.return!==null&&(Bs(t,1),xp(t,1,0))}function ru(t){for(;t===wo;)wo=Ei[--ki],Ei[ki]=null,So=Ei[--ki],Ei[ki]=null;for(;t===Vs;)Vs=Qt[--Zt],Qt[Zt]=null,Pn=Qt[--Zt],Qt[Zt]=null,On=Qt[--Zt],Qt[Zt]=null}var _t=null,Ke=null,Ce=!1,Is=null,bn=!1,ou=Error(i(519));function Hs(t){var s=Error(i(418,""));throw Ua(Wt(s,t)),ou}function vp(t){var s=t.stateNode,r=t.type,l=t.memoizedProps;switch(s[vt]=t,s[Nt]=l,r){case"dialog":_e("cancel",s),_e("close",s);break;case"iframe":case"object":case"embed":_e("load",s);break;case"video":case"audio":for(r=0;r<rr.length;r++)_e(rr[r],s);break;case"source":_e("error",s);break;case"img":case"image":case"link":_e("error",s),_e("load",s);break;case"details":_e("toggle",s);break;case"input":_e("invalid",s),Pm(s,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),oo(s);break;case"select":_e("invalid",s);break;case"textarea":_e("invalid",s),Um(s,l.value,l.defaultValue,l.children),oo(s)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||s.textContent===""+r||l.suppressHydrationWarning===!0||Uy(s.textContent,r)?(l.popover!=null&&(_e("beforetoggle",s),_e("toggle",s)),l.onScroll!=null&&_e("scroll",s),l.onScrollEnd!=null&&_e("scrollend",s),l.onClick!=null&&(s.onclick=nl),s=!0):s=!1,s||Hs(t)}function bp(t){for(_t=t.return;_t;)switch(_t.tag){case 5:case 13:bn=!1;return;case 27:case 3:bn=!0;return;default:_t=_t.return}}function Pa(t){if(t!==_t)return!1;if(!Ce)return bp(t),Ce=!0,!1;var s=t.tag,r;if((r=s!==3&&s!==27)&&((r=s===5)&&(r=t.type,r=!(r!=="form"&&r!=="button")||jd(t.type,t.memoizedProps)),r=!r),r&&Ke&&Hs(t),bp(t),s===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));e:{for(t=t.nextSibling,s=0;t;){if(t.nodeType===8)if(r=t.data,r==="/$"){if(s===0){Ke=un(t.nextSibling);break e}s--}else r!=="$"&&r!=="$!"&&r!=="$?"||s++;t=t.nextSibling}Ke=null}}else s===27?(s=Ke,gs(t.type)?(t=Ed,Ed=null,Ke=t):Ke=s):Ke=_t?un(t.stateNode.nextSibling):null;return!0}function Da(){Ke=_t=null,Ce=!1}function wp(){var t=Is;return t!==null&&(Pt===null?Pt=t:Pt.push.apply(Pt,t),Is=null),t}function Ua(t){Is===null?Is=[t]:Is.push(t)}var lu=K(null),Gs=null,Dn=null;function ts(t,s,r){Z(lu,s._currentValue),s._currentValue=r}function Un(t){t._currentValue=lu.current,te(lu)}function cu(t,s,r){for(;t!==null;){var l=t.alternate;if((t.childLanes&s)!==s?(t.childLanes|=s,l!==null&&(l.childLanes|=s)):l!==null&&(l.childLanes&s)!==s&&(l.childLanes|=s),t===r)break;t=t.return}}function uu(t,s,r,l){var d=t.child;for(d!==null&&(d.return=t);d!==null;){var h=d.dependencies;if(h!==null){var v=d.child;h=h.firstContext;e:for(;h!==null;){var S=h;h=d;for(var k=0;k<s.length;k++)if(S.context===s[k]){h.lanes|=r,S=h.alternate,S!==null&&(S.lanes|=r),cu(h.return,r,t),l||(v=null);break e}h=S.next}}else if(d.tag===18){if(v=d.return,v===null)throw Error(i(341));v.lanes|=r,h=v.alternate,h!==null&&(h.lanes|=r),cu(v,r,t),v=null}else v=d.child;if(v!==null)v.return=d;else for(v=d;v!==null;){if(v===t){v=null;break}if(d=v.sibling,d!==null){d.return=v.return,v=d;break}v=v.return}d=v}}function La(t,s,r,l){t=null;for(var d=s,h=!1;d!==null;){if(!h){if((d.flags&524288)!==0)h=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var v=d.alternate;if(v===null)throw Error(i(387));if(v=v.memoizedProps,v!==null){var S=d.type;Lt(d.pendingProps.value,v.value)||(t!==null?t.push(S):t=[S])}}else if(d===ct.current){if(v=d.alternate,v===null)throw Error(i(387));v.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(t!==null?t.push(fr):t=[fr])}d=d.return}t!==null&&uu(s,t,r,l),s.flags|=262144}function jo(t){for(t=t.firstContext;t!==null;){if(!Lt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function qs(t){Gs=t,Dn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function bt(t){return Sp(Gs,t)}function _o(t,s){return Gs===null&&qs(t),Sp(t,s)}function Sp(t,s){var r=s._currentValue;if(s={context:s,memoizedValue:r,next:null},Dn===null){if(t===null)throw Error(i(308));Dn=s,t.dependencies={lanes:0,firstContext:s},t.flags|=524288}else Dn=Dn.next=s;return r}var o2=typeof AbortController<"u"?AbortController:function(){var t=[],s=this.signal={aborted:!1,addEventListener:function(r,l){t.push(l)}};this.abort=function(){s.aborted=!0,t.forEach(function(r){return r()})}},l2=e.unstable_scheduleCallback,c2=e.unstable_NormalPriority,st={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function du(){return{controller:new o2,data:new Map,refCount:0}}function za(t){t.refCount--,t.refCount===0&&l2(c2,function(){t.controller.abort()})}var Va=null,fu=0,Ci=0,Ni=null;function u2(t,s){if(Va===null){var r=Va=[];fu=0,Ci=md(),Ni={status:"pending",value:void 0,then:function(l){r.push(l)}}}return fu++,s.then(jp,jp),s}function jp(){if(--fu===0&&Va!==null){Ni!==null&&(Ni.status="fulfilled");var t=Va;Va=null,Ci=0,Ni=null;for(var s=0;s<t.length;s++)(0,t[s])()}}function d2(t,s){var r=[],l={status:"pending",value:null,reason:null,then:function(d){r.push(d)}};return t.then(function(){l.status="fulfilled",l.value=s;for(var d=0;d<r.length;d++)(0,r[d])(s)},function(d){for(l.status="rejected",l.reason=d,d=0;d<r.length;d++)(0,r[d])(void 0)}),l}var _p=B.S;B.S=function(t,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&u2(t,s),_p!==null&&_p(t,s)};var Fs=K(null);function hu(){var t=Fs.current;return t!==null?t:Ie.pooledCache}function To(t,s){s===null?Z(Fs,Fs.current):Z(Fs,s.pool)}function Tp(){var t=hu();return t===null?null:{parent:st._currentValue,pool:t}}var Ba=Error(i(460)),Ap=Error(i(474)),Ao=Error(i(542)),mu={then:function(){}};function Ep(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Eo(){}function kp(t,s,r){switch(r=t[r],r===void 0?t.push(s):r!==s&&(s.then(Eo,Eo),s=r),s.status){case"fulfilled":return s.value;case"rejected":throw t=s.reason,Np(t),t;default:if(typeof s.status=="string")s.then(Eo,Eo);else{if(t=Ie,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=s,t.status="pending",t.then(function(l){if(s.status==="pending"){var d=s;d.status="fulfilled",d.value=l}},function(l){if(s.status==="pending"){var d=s;d.status="rejected",d.reason=l}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw t=s.reason,Np(t),t}throw Ia=s,Ba}}var Ia=null;function Cp(){if(Ia===null)throw Error(i(459));var t=Ia;return Ia=null,t}function Np(t){if(t===Ba||t===Ao)throw Error(i(483))}var ns=!1;function pu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gu(t,s){t=t.updateQueue,s.updateQueue===t&&(s.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ss(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function is(t,s,r){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Re&2)!==0){var d=l.pending;return d===null?s.next=s:(s.next=d.next,d.next=s),l.pending=s,s=vo(t),gp(t,null,r),s}return xo(t,l,s,r),vo(t)}function Ha(t,s,r){if(s=s.updateQueue,s!==null&&(s=s.shared,(r&4194048)!==0)){var l=s.lanes;l&=t.pendingLanes,r|=l,s.lanes=r,jm(t,r)}}function yu(t,s){var r=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var d=null,h=null;if(r=r.firstBaseUpdate,r!==null){do{var v={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};h===null?d=h=v:h=h.next=v,r=r.next}while(r!==null);h===null?d=h=s:h=h.next=s}else d=h=s;r={baseState:l.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=s:t.next=s,r.lastBaseUpdate=s}var xu=!1;function Ga(){if(xu){var t=Ni;if(t!==null)throw t}}function qa(t,s,r,l){xu=!1;var d=t.updateQueue;ns=!1;var h=d.firstBaseUpdate,v=d.lastBaseUpdate,S=d.shared.pending;if(S!==null){d.shared.pending=null;var k=S,D=k.next;k.next=null,v===null?h=D:v.next=D,v=k;var G=t.alternate;G!==null&&(G=G.updateQueue,S=G.lastBaseUpdate,S!==v&&(S===null?G.firstBaseUpdate=D:S.next=D,G.lastBaseUpdate=k))}if(h!==null){var $=d.baseState;v=0,G=D=k=null,S=h;do{var U=S.lane&-536870913,z=U!==S.lane;if(z?(Ee&U)===U:(l&U)===U){U!==0&&U===Ci&&(xu=!0),G!==null&&(G=G.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var ge=t,he=S;U=s;var Ue=r;switch(he.tag){case 1:if(ge=he.payload,typeof ge=="function"){$=ge.call(Ue,$,U);break e}$=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=he.payload,U=typeof ge=="function"?ge.call(Ue,$,U):ge,U==null)break e;$=y({},$,U);break e;case 2:ns=!0}}U=S.callback,U!==null&&(t.flags|=64,z&&(t.flags|=8192),z=d.callbacks,z===null?d.callbacks=[U]:z.push(U))}else z={lane:U,tag:S.tag,payload:S.payload,callback:S.callback,next:null},G===null?(D=G=z,k=$):G=G.next=z,v|=U;if(S=S.next,S===null){if(S=d.shared.pending,S===null)break;z=S,S=z.next,z.next=null,d.lastBaseUpdate=z,d.shared.pending=null}}while(!0);G===null&&(k=$),d.baseState=k,d.firstBaseUpdate=D,d.lastBaseUpdate=G,h===null&&(d.shared.lanes=0),fs|=v,t.lanes=v,t.memoizedState=$}}function Rp(t,s){if(typeof t!="function")throw Error(i(191,t));t.call(s)}function Mp(t,s){var r=t.callbacks;if(r!==null)for(t.callbacks=null,t=0;t<r.length;t++)Rp(r[t],s)}var Ri=K(null),ko=K(0);function Op(t,s){t=Gn,Z(ko,t),Z(Ri,s),Gn=t|s.baseLanes}function vu(){Z(ko,Gn),Z(Ri,Ri.current)}function bu(){Gn=ko.current,te(Ri),te(ko)}var as=0,be=null,Pe=null,Je=null,Co=!1,Mi=!1,Ys=!1,No=0,Fa=0,Oi=null,f2=0;function Xe(){throw Error(i(321))}function wu(t,s){if(s===null)return!1;for(var r=0;r<s.length&&r<t.length;r++)if(!Lt(t[r],s[r]))return!1;return!0}function Su(t,s,r,l,d,h){return as=h,be=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,B.H=t===null||t.memoizedState===null?gg:yg,Ys=!1,h=r(l,d),Ys=!1,Mi&&(h=Dp(s,r,l,d)),Pp(t),h}function Pp(t){B.H=Uo;var s=Pe!==null&&Pe.next!==null;if(as=0,Je=Pe=be=null,Co=!1,Fa=0,Oi=null,s)throw Error(i(300));t===null||dt||(t=t.dependencies,t!==null&&jo(t)&&(dt=!0))}function Dp(t,s,r,l){be=t;var d=0;do{if(Mi&&(Oi=null),Fa=0,Mi=!1,25<=d)throw Error(i(301));if(d+=1,Je=Pe=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}B.H=v2,h=s(r,l)}while(Mi);return h}function h2(){var t=B.H,s=t.useState()[0];return s=typeof s.then=="function"?Ya(s):s,t=t.useState()[0],(Pe!==null?Pe.memoizedState:null)!==t&&(be.flags|=1024),s}function ju(){var t=No!==0;return No=0,t}function _u(t,s,r){s.updateQueue=t.updateQueue,s.flags&=-2053,t.lanes&=~r}function Tu(t){if(Co){for(t=t.memoizedState;t!==null;){var s=t.queue;s!==null&&(s.pending=null),t=t.next}Co=!1}as=0,Je=Pe=be=null,Mi=!1,Fa=No=0,Oi=null}function Mt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?be.memoizedState=Je=t:Je=Je.next=t,Je}function et(){if(Pe===null){var t=be.alternate;t=t!==null?t.memoizedState:null}else t=Pe.next;var s=Je===null?be.memoizedState:Je.next;if(s!==null)Je=s,Pe=t;else{if(t===null)throw be.alternate===null?Error(i(467)):Error(i(310));Pe=t,t={memoizedState:Pe.memoizedState,baseState:Pe.baseState,baseQueue:Pe.baseQueue,queue:Pe.queue,next:null},Je===null?be.memoizedState=Je=t:Je=Je.next=t}return Je}function Au(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ya(t){var s=Fa;return Fa+=1,Oi===null&&(Oi=[]),t=kp(Oi,t,s),s=be,(Je===null?s.memoizedState:Je.next)===null&&(s=s.alternate,B.H=s===null||s.memoizedState===null?gg:yg),t}function Ro(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ya(t);if(t.$$typeof===R)return bt(t)}throw Error(i(438,String(t)))}function Eu(t){var s=null,r=be.updateQueue;if(r!==null&&(s=r.memoCache),s==null){var l=be.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(s={data:l.data.map(function(d){return d.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),r===null&&(r=Au(),be.updateQueue=r),r.memoCache=s,r=s.data[s.index],r===void 0)for(r=s.data[s.index]=Array(t),l=0;l<t;l++)r[l]=ue;return s.index++,r}function Ln(t,s){return typeof s=="function"?s(t):s}function Mo(t){var s=et();return ku(s,Pe,t)}function ku(t,s,r){var l=t.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=r;var d=t.baseQueue,h=l.pending;if(h!==null){if(d!==null){var v=d.next;d.next=h.next,h.next=v}s.baseQueue=d=h,l.pending=null}if(h=t.baseState,d===null)t.memoizedState=h;else{s=d.next;var S=v=null,k=null,D=s,G=!1;do{var $=D.lane&-536870913;if($!==D.lane?(Ee&$)===$:(as&$)===$){var U=D.revertLane;if(U===0)k!==null&&(k=k.next={lane:0,revertLane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),$===Ci&&(G=!0);else if((as&U)===U){D=D.next,U===Ci&&(G=!0);continue}else $={lane:0,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},k===null?(S=k=$,v=h):k=k.next=$,be.lanes|=U,fs|=U;$=D.action,Ys&&r(h,$),h=D.hasEagerState?D.eagerState:r(h,$)}else U={lane:$,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},k===null?(S=k=U,v=h):k=k.next=U,be.lanes|=$,fs|=$;D=D.next}while(D!==null&&D!==s);if(k===null?v=h:k.next=S,!Lt(h,t.memoizedState)&&(dt=!0,G&&(r=Ni,r!==null)))throw r;t.memoizedState=h,t.baseState=v,t.baseQueue=k,l.lastRenderedState=h}return d===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Cu(t){var s=et(),r=s.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=t;var l=r.dispatch,d=r.pending,h=s.memoizedState;if(d!==null){r.pending=null;var v=d=d.next;do h=t(h,v.action),v=v.next;while(v!==d);Lt(h,s.memoizedState)||(dt=!0),s.memoizedState=h,s.baseQueue===null&&(s.baseState=h),r.lastRenderedState=h}return[h,l]}function Up(t,s,r){var l=be,d=et(),h=Ce;if(h){if(r===void 0)throw Error(i(407));r=r()}else r=s();var v=!Lt((Pe||d).memoizedState,r);v&&(d.memoizedState=r,dt=!0),d=d.queue;var S=Vp.bind(null,l,d,t);if(Ka(2048,8,S,[t]),d.getSnapshot!==s||v||Je!==null&&Je.memoizedState.tag&1){if(l.flags|=2048,Pi(9,Oo(),zp.bind(null,l,d,r,s),null),Ie===null)throw Error(i(349));h||(as&124)!==0||Lp(l,s,r)}return r}function Lp(t,s,r){t.flags|=16384,t={getSnapshot:s,value:r},s=be.updateQueue,s===null?(s=Au(),be.updateQueue=s,s.stores=[t]):(r=s.stores,r===null?s.stores=[t]:r.push(t))}function zp(t,s,r,l){s.value=r,s.getSnapshot=l,Bp(s)&&Ip(t)}function Vp(t,s,r){return r(function(){Bp(s)&&Ip(t)})}function Bp(t){var s=t.getSnapshot;t=t.value;try{var r=s();return!Lt(t,r)}catch{return!0}}function Ip(t){var s=Ti(t,2);s!==null&&Gt(s,t,2)}function Nu(t){var s=Mt();if(typeof t=="function"){var r=t;if(t=r(),Ys){Zn(!0);try{r()}finally{Zn(!1)}}}return s.memoizedState=s.baseState=t,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:t},s}function Hp(t,s,r,l){return t.baseState=r,ku(t,Pe,typeof l=="function"?l:Ln)}function m2(t,s,r,l,d){if(Do(t))throw Error(i(485));if(t=s.action,t!==null){var h={payload:d,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){h.listeners.push(v)}};B.T!==null?r(!0):h.isTransition=!1,l(h),r=s.pending,r===null?(h.next=s.pending=h,Gp(s,h)):(h.next=r.next,s.pending=r.next=h)}}function Gp(t,s){var r=s.action,l=s.payload,d=t.state;if(s.isTransition){var h=B.T,v={};B.T=v;try{var S=r(d,l),k=B.S;k!==null&&k(v,S),qp(t,s,S)}catch(D){Ru(t,s,D)}finally{B.T=h}}else try{h=r(d,l),qp(t,s,h)}catch(D){Ru(t,s,D)}}function qp(t,s,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){Fp(t,s,l)},function(l){return Ru(t,s,l)}):Fp(t,s,r)}function Fp(t,s,r){s.status="fulfilled",s.value=r,Yp(s),t.state=r,s=t.pending,s!==null&&(r=s.next,r===s?t.pending=null:(r=r.next,s.next=r,Gp(t,r)))}function Ru(t,s,r){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do s.status="rejected",s.reason=r,Yp(s),s=s.next;while(s!==l)}t.action=null}function Yp(t){t=t.listeners;for(var s=0;s<t.length;s++)(0,t[s])()}function Kp(t,s){return s}function $p(t,s){if(Ce){var r=Ie.formState;if(r!==null){e:{var l=be;if(Ce){if(Ke){t:{for(var d=Ke,h=bn;d.nodeType!==8;){if(!h){d=null;break t}if(d=un(d.nextSibling),d===null){d=null;break t}}h=d.data,d=h==="F!"||h==="F"?d:null}if(d){Ke=un(d.nextSibling),l=d.data==="F!";break e}}Hs(l)}l=!1}l&&(s=r[0])}}return r=Mt(),r.memoizedState=r.baseState=s,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kp,lastRenderedState:s},r.queue=l,r=hg.bind(null,be,l),l.dispatch=r,l=Nu(!1),h=Uu.bind(null,be,!1,l.queue),l=Mt(),d={state:s,dispatch:null,action:t,pending:null},l.queue=d,r=m2.bind(null,be,d,h,r),d.dispatch=r,l.memoizedState=t,[s,r,!1]}function Wp(t){var s=et();return Xp(s,Pe,t)}function Xp(t,s,r){if(s=ku(t,s,Kp)[0],t=Mo(Ln)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var l=Ya(s)}catch(v){throw v===Ba?Ao:v}else l=s;s=et();var d=s.queue,h=d.dispatch;return r!==s.memoizedState&&(be.flags|=2048,Pi(9,Oo(),p2.bind(null,d,r),null)),[l,h,t]}function p2(t,s){t.action=s}function Qp(t){var s=et(),r=Pe;if(r!==null)return Xp(s,r,t);et(),s=s.memoizedState,r=et();var l=r.queue.dispatch;return r.memoizedState=t,[s,l,!1]}function Pi(t,s,r,l){return t={tag:t,create:r,deps:l,inst:s,next:null},s=be.updateQueue,s===null&&(s=Au(),be.updateQueue=s),r=s.lastEffect,r===null?s.lastEffect=t.next=t:(l=r.next,r.next=t,t.next=l,s.lastEffect=t),t}function Oo(){return{destroy:void 0,resource:void 0}}function Zp(){return et().memoizedState}function Po(t,s,r,l){var d=Mt();l=l===void 0?null:l,be.flags|=t,d.memoizedState=Pi(1|s,Oo(),r,l)}function Ka(t,s,r,l){var d=et();l=l===void 0?null:l;var h=d.memoizedState.inst;Pe!==null&&l!==null&&wu(l,Pe.memoizedState.deps)?d.memoizedState=Pi(s,h,r,l):(be.flags|=t,d.memoizedState=Pi(1|s,h,r,l))}function Jp(t,s){Po(8390656,8,t,s)}function eg(t,s){Ka(2048,8,t,s)}function tg(t,s){return Ka(4,2,t,s)}function ng(t,s){return Ka(4,4,t,s)}function sg(t,s){if(typeof s=="function"){t=t();var r=s(t);return function(){typeof r=="function"?r():s(null)}}if(s!=null)return t=t(),s.current=t,function(){s.current=null}}function ig(t,s,r){r=r!=null?r.concat([t]):null,Ka(4,4,sg.bind(null,s,t),r)}function Mu(){}function ag(t,s){var r=et();s=s===void 0?null:s;var l=r.memoizedState;return s!==null&&wu(s,l[1])?l[0]:(r.memoizedState=[t,s],t)}function rg(t,s){var r=et();s=s===void 0?null:s;var l=r.memoizedState;if(s!==null&&wu(s,l[1]))return l[0];if(l=t(),Ys){Zn(!0);try{t()}finally{Zn(!1)}}return r.memoizedState=[l,s],l}function Ou(t,s,r){return r===void 0||(as&1073741824)!==0?t.memoizedState=s:(t.memoizedState=r,t=cy(),be.lanes|=t,fs|=t,r)}function og(t,s,r,l){return Lt(r,s)?r:Ri.current!==null?(t=Ou(t,r,l),Lt(t,s)||(dt=!0),t):(as&42)===0?(dt=!0,t.memoizedState=r):(t=cy(),be.lanes|=t,fs|=t,s)}function lg(t,s,r,l,d){var h=W.p;W.p=h!==0&&8>h?h:8;var v=B.T,S={};B.T=S,Uu(t,!1,s,r);try{var k=d(),D=B.S;if(D!==null&&D(S,k),k!==null&&typeof k=="object"&&typeof k.then=="function"){var G=d2(k,l);$a(t,s,G,Ht(t))}else $a(t,s,l,Ht(t))}catch($){$a(t,s,{then:function(){},status:"rejected",reason:$},Ht())}finally{W.p=h,B.T=v}}function g2(){}function Pu(t,s,r,l){if(t.tag!==5)throw Error(i(476));var d=cg(t).queue;lg(t,d,s,ne,r===null?g2:function(){return ug(t),r(l)})}function cg(t){var s=t.memoizedState;if(s!==null)return s;s={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:ne},next:null};var r={};return s.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:r},next:null},t.memoizedState=s,t=t.alternate,t!==null&&(t.memoizedState=s),s}function ug(t){var s=cg(t).next.queue;$a(t,s,{},Ht())}function Du(){return bt(fr)}function dg(){return et().memoizedState}function fg(){return et().memoizedState}function y2(t){for(var s=t.return;s!==null;){switch(s.tag){case 24:case 3:var r=Ht();t=ss(r);var l=is(s,t,r);l!==null&&(Gt(l,s,r),Ha(l,s,r)),s={cache:du()},t.payload=s;return}s=s.return}}function x2(t,s,r){var l=Ht();r={lane:l,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},Do(t)?mg(s,r):(r=tu(t,s,r,l),r!==null&&(Gt(r,t,l),pg(r,s,l)))}function hg(t,s,r){var l=Ht();$a(t,s,r,l)}function $a(t,s,r,l){var d={lane:l,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(Do(t))mg(s,d);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=s.lastRenderedReducer,h!==null))try{var v=s.lastRenderedState,S=h(v,r);if(d.hasEagerState=!0,d.eagerState=S,Lt(S,v))return xo(t,s,d,0),Ie===null&&yo(),!1}catch{}if(r=tu(t,s,d,l),r!==null)return Gt(r,t,l),pg(r,s,l),!0}return!1}function Uu(t,s,r,l){if(l={lane:2,revertLane:md(),action:l,hasEagerState:!1,eagerState:null,next:null},Do(t)){if(s)throw Error(i(479))}else s=tu(t,r,l,2),s!==null&&Gt(s,t,2)}function Do(t){var s=t.alternate;return t===be||s!==null&&s===be}function mg(t,s){Mi=Co=!0;var r=t.pending;r===null?s.next=s:(s.next=r.next,r.next=s),t.pending=s}function pg(t,s,r){if((r&4194048)!==0){var l=s.lanes;l&=t.pendingLanes,r|=l,s.lanes=r,jm(t,r)}}var Uo={readContext:bt,use:Ro,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe},gg={readContext:bt,use:Ro,useCallback:function(t,s){return Mt().memoizedState=[t,s===void 0?null:s],t},useContext:bt,useEffect:Jp,useImperativeHandle:function(t,s,r){r=r!=null?r.concat([t]):null,Po(4194308,4,sg.bind(null,s,t),r)},useLayoutEffect:function(t,s){return Po(4194308,4,t,s)},useInsertionEffect:function(t,s){Po(4,2,t,s)},useMemo:function(t,s){var r=Mt();s=s===void 0?null:s;var l=t();if(Ys){Zn(!0);try{t()}finally{Zn(!1)}}return r.memoizedState=[l,s],l},useReducer:function(t,s,r){var l=Mt();if(r!==void 0){var d=r(s);if(Ys){Zn(!0);try{r(s)}finally{Zn(!1)}}}else d=s;return l.memoizedState=l.baseState=d,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:d},l.queue=t,t=t.dispatch=x2.bind(null,be,t),[l.memoizedState,t]},useRef:function(t){var s=Mt();return t={current:t},s.memoizedState=t},useState:function(t){t=Nu(t);var s=t.queue,r=hg.bind(null,be,s);return s.dispatch=r,[t.memoizedState,r]},useDebugValue:Mu,useDeferredValue:function(t,s){var r=Mt();return Ou(r,t,s)},useTransition:function(){var t=Nu(!1);return t=lg.bind(null,be,t.queue,!0,!1),Mt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,s,r){var l=be,d=Mt();if(Ce){if(r===void 0)throw Error(i(407));r=r()}else{if(r=s(),Ie===null)throw Error(i(349));(Ee&124)!==0||Lp(l,s,r)}d.memoizedState=r;var h={value:r,getSnapshot:s};return d.queue=h,Jp(Vp.bind(null,l,h,t),[t]),l.flags|=2048,Pi(9,Oo(),zp.bind(null,l,h,r,s),null),r},useId:function(){var t=Mt(),s=Ie.identifierPrefix;if(Ce){var r=Pn,l=On;r=(l&~(1<<32-Ut(l)-1)).toString(32)+r,s="«"+s+"R"+r,r=No++,0<r&&(s+="H"+r.toString(32)),s+="»"}else r=f2++,s="«"+s+"r"+r.toString(32)+"»";return t.memoizedState=s},useHostTransitionStatus:Du,useFormState:$p,useActionState:$p,useOptimistic:function(t){var s=Mt();s.memoizedState=s.baseState=t;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=r,s=Uu.bind(null,be,!0,r),r.dispatch=s,[t,s]},useMemoCache:Eu,useCacheRefresh:function(){return Mt().memoizedState=y2.bind(null,be)}},yg={readContext:bt,use:Ro,useCallback:ag,useContext:bt,useEffect:eg,useImperativeHandle:ig,useInsertionEffect:tg,useLayoutEffect:ng,useMemo:rg,useReducer:Mo,useRef:Zp,useState:function(){return Mo(Ln)},useDebugValue:Mu,useDeferredValue:function(t,s){var r=et();return og(r,Pe.memoizedState,t,s)},useTransition:function(){var t=Mo(Ln)[0],s=et().memoizedState;return[typeof t=="boolean"?t:Ya(t),s]},useSyncExternalStore:Up,useId:dg,useHostTransitionStatus:Du,useFormState:Wp,useActionState:Wp,useOptimistic:function(t,s){var r=et();return Hp(r,Pe,t,s)},useMemoCache:Eu,useCacheRefresh:fg},v2={readContext:bt,use:Ro,useCallback:ag,useContext:bt,useEffect:eg,useImperativeHandle:ig,useInsertionEffect:tg,useLayoutEffect:ng,useMemo:rg,useReducer:Cu,useRef:Zp,useState:function(){return Cu(Ln)},useDebugValue:Mu,useDeferredValue:function(t,s){var r=et();return Pe===null?Ou(r,t,s):og(r,Pe.memoizedState,t,s)},useTransition:function(){var t=Cu(Ln)[0],s=et().memoizedState;return[typeof t=="boolean"?t:Ya(t),s]},useSyncExternalStore:Up,useId:dg,useHostTransitionStatus:Du,useFormState:Qp,useActionState:Qp,useOptimistic:function(t,s){var r=et();return Pe!==null?Hp(r,Pe,t,s):(r.baseState=t,[t,r.queue.dispatch])},useMemoCache:Eu,useCacheRefresh:fg},Di=null,Wa=0;function Lo(t){var s=Wa;return Wa+=1,Di===null&&(Di=[]),kp(Di,t,s)}function Xa(t,s){s=s.props.ref,t.ref=s!==void 0?s:null}function zo(t,s){throw s.$$typeof===x?Error(i(525)):(t=Object.prototype.toString.call(s),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":t)))}function xg(t){var s=t._init;return s(t._payload)}function vg(t){function s(M,C){if(t){var P=M.deletions;P===null?(M.deletions=[C],M.flags|=16):P.push(C)}}function r(M,C){if(!t)return null;for(;C!==null;)s(M,C),C=C.sibling;return null}function l(M){for(var C=new Map;M!==null;)M.key!==null?C.set(M.key,M):C.set(M.index,M),M=M.sibling;return C}function d(M,C){return M=Mn(M,C),M.index=0,M.sibling=null,M}function h(M,C,P){return M.index=P,t?(P=M.alternate,P!==null?(P=P.index,P<C?(M.flags|=67108866,C):P):(M.flags|=67108866,C)):(M.flags|=1048576,C)}function v(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function S(M,C,P,F){return C===null||C.tag!==6?(C=su(P,M.mode,F),C.return=M,C):(C=d(C,P),C.return=M,C)}function k(M,C,P,F){var ie=P.type;return ie===_?G(M,C,P.props.children,F,P.key):C!==null&&(C.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===I&&xg(ie)===C.type)?(C=d(C,P.props),Xa(C,P),C.return=M,C):(C=bo(P.type,P.key,P.props,null,M.mode,F),Xa(C,P),C.return=M,C)}function D(M,C,P,F){return C===null||C.tag!==4||C.stateNode.containerInfo!==P.containerInfo||C.stateNode.implementation!==P.implementation?(C=iu(P,M.mode,F),C.return=M,C):(C=d(C,P.children||[]),C.return=M,C)}function G(M,C,P,F,ie){return C===null||C.tag!==7?(C=zs(P,M.mode,F,ie),C.return=M,C):(C=d(C,P),C.return=M,C)}function $(M,C,P){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=su(""+C,M.mode,P),C.return=M,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case b:return P=bo(C.type,C.key,C.props,null,M.mode,P),Xa(P,C),P.return=M,P;case A:return C=iu(C,M.mode,P),C.return=M,C;case I:var F=C._init;return C=F(C._payload),$(M,C,P)}if(ve(C)||fe(C))return C=zs(C,M.mode,P,null),C.return=M,C;if(typeof C.then=="function")return $(M,Lo(C),P);if(C.$$typeof===R)return $(M,_o(M,C),P);zo(M,C)}return null}function U(M,C,P,F){var ie=C!==null?C.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return ie!==null?null:S(M,C,""+P,F);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case b:return P.key===ie?k(M,C,P,F):null;case A:return P.key===ie?D(M,C,P,F):null;case I:return ie=P._init,P=ie(P._payload),U(M,C,P,F)}if(ve(P)||fe(P))return ie!==null?null:G(M,C,P,F,null);if(typeof P.then=="function")return U(M,C,Lo(P),F);if(P.$$typeof===R)return U(M,C,_o(M,P),F);zo(M,P)}return null}function z(M,C,P,F,ie){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return M=M.get(P)||null,S(C,M,""+F,ie);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case b:return M=M.get(F.key===null?P:F.key)||null,k(C,M,F,ie);case A:return M=M.get(F.key===null?P:F.key)||null,D(C,M,F,ie);case I:var Se=F._init;return F=Se(F._payload),z(M,C,P,F,ie)}if(ve(F)||fe(F))return M=M.get(P)||null,G(C,M,F,ie,null);if(typeof F.then=="function")return z(M,C,P,Lo(F),ie);if(F.$$typeof===R)return z(M,C,P,_o(C,F),ie);zo(C,F)}return null}function ge(M,C,P,F){for(var ie=null,Se=null,ce=C,me=C=0,ht=null;ce!==null&&me<P.length;me++){ce.index>me?(ht=ce,ce=null):ht=ce.sibling;var ke=U(M,ce,P[me],F);if(ke===null){ce===null&&(ce=ht);break}t&&ce&&ke.alternate===null&&s(M,ce),C=h(ke,C,me),Se===null?ie=ke:Se.sibling=ke,Se=ke,ce=ht}if(me===P.length)return r(M,ce),Ce&&Bs(M,me),ie;if(ce===null){for(;me<P.length;me++)ce=$(M,P[me],F),ce!==null&&(C=h(ce,C,me),Se===null?ie=ce:Se.sibling=ce,Se=ce);return Ce&&Bs(M,me),ie}for(ce=l(ce);me<P.length;me++)ht=z(ce,M,me,P[me],F),ht!==null&&(t&&ht.alternate!==null&&ce.delete(ht.key===null?me:ht.key),C=h(ht,C,me),Se===null?ie=ht:Se.sibling=ht,Se=ht);return t&&ce.forEach(function(ws){return s(M,ws)}),Ce&&Bs(M,me),ie}function he(M,C,P,F){if(P==null)throw Error(i(151));for(var ie=null,Se=null,ce=C,me=C=0,ht=null,ke=P.next();ce!==null&&!ke.done;me++,ke=P.next()){ce.index>me?(ht=ce,ce=null):ht=ce.sibling;var ws=U(M,ce,ke.value,F);if(ws===null){ce===null&&(ce=ht);break}t&&ce&&ws.alternate===null&&s(M,ce),C=h(ws,C,me),Se===null?ie=ws:Se.sibling=ws,Se=ws,ce=ht}if(ke.done)return r(M,ce),Ce&&Bs(M,me),ie;if(ce===null){for(;!ke.done;me++,ke=P.next())ke=$(M,ke.value,F),ke!==null&&(C=h(ke,C,me),Se===null?ie=ke:Se.sibling=ke,Se=ke);return Ce&&Bs(M,me),ie}for(ce=l(ce);!ke.done;me++,ke=P.next())ke=z(ce,M,me,ke.value,F),ke!==null&&(t&&ke.alternate!==null&&ce.delete(ke.key===null?me:ke.key),C=h(ke,C,me),Se===null?ie=ke:Se.sibling=ke,Se=ke);return t&&ce.forEach(function(b_){return s(M,b_)}),Ce&&Bs(M,me),ie}function Ue(M,C,P,F){if(typeof P=="object"&&P!==null&&P.type===_&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case b:e:{for(var ie=P.key;C!==null;){if(C.key===ie){if(ie=P.type,ie===_){if(C.tag===7){r(M,C.sibling),F=d(C,P.props.children),F.return=M,M=F;break e}}else if(C.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===I&&xg(ie)===C.type){r(M,C.sibling),F=d(C,P.props),Xa(F,P),F.return=M,M=F;break e}r(M,C);break}else s(M,C);C=C.sibling}P.type===_?(F=zs(P.props.children,M.mode,F,P.key),F.return=M,M=F):(F=bo(P.type,P.key,P.props,null,M.mode,F),Xa(F,P),F.return=M,M=F)}return v(M);case A:e:{for(ie=P.key;C!==null;){if(C.key===ie)if(C.tag===4&&C.stateNode.containerInfo===P.containerInfo&&C.stateNode.implementation===P.implementation){r(M,C.sibling),F=d(C,P.children||[]),F.return=M,M=F;break e}else{r(M,C);break}else s(M,C);C=C.sibling}F=iu(P,M.mode,F),F.return=M,M=F}return v(M);case I:return ie=P._init,P=ie(P._payload),Ue(M,C,P,F)}if(ve(P))return ge(M,C,P,F);if(fe(P)){if(ie=fe(P),typeof ie!="function")throw Error(i(150));return P=ie.call(P),he(M,C,P,F)}if(typeof P.then=="function")return Ue(M,C,Lo(P),F);if(P.$$typeof===R)return Ue(M,C,_o(M,P),F);zo(M,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,C!==null&&C.tag===6?(r(M,C.sibling),F=d(C,P),F.return=M,M=F):(r(M,C),F=su(P,M.mode,F),F.return=M,M=F),v(M)):r(M,C)}return function(M,C,P,F){try{Wa=0;var ie=Ue(M,C,P,F);return Di=null,ie}catch(ce){if(ce===Ba||ce===Ao)throw ce;var Se=zt(29,ce,null,M.mode);return Se.lanes=F,Se.return=M,Se}}}var Ui=vg(!0),bg=vg(!1),Jt=K(null),wn=null;function rs(t){var s=t.alternate;Z(it,it.current&1),Z(Jt,t),wn===null&&(s===null||Ri.current!==null||s.memoizedState!==null)&&(wn=t)}function wg(t){if(t.tag===22){if(Z(it,it.current),Z(Jt,t),wn===null){var s=t.alternate;s!==null&&s.memoizedState!==null&&(wn=t)}}else os()}function os(){Z(it,it.current),Z(Jt,Jt.current)}function zn(t){te(Jt),wn===t&&(wn=null),te(it)}var it=K(0);function Vo(t){for(var s=t;s!==null;){if(s.tag===13){var r=s.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||Ad(r)))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===t)break;for(;s.sibling===null;){if(s.return===null||s.return===t)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function Lu(t,s,r,l){s=t.memoizedState,r=r(l,s),r=r==null?s:y({},s,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var zu={enqueueSetState:function(t,s,r){t=t._reactInternals;var l=Ht(),d=ss(l);d.payload=s,r!=null&&(d.callback=r),s=is(t,d,l),s!==null&&(Gt(s,t,l),Ha(s,t,l))},enqueueReplaceState:function(t,s,r){t=t._reactInternals;var l=Ht(),d=ss(l);d.tag=1,d.payload=s,r!=null&&(d.callback=r),s=is(t,d,l),s!==null&&(Gt(s,t,l),Ha(s,t,l))},enqueueForceUpdate:function(t,s){t=t._reactInternals;var r=Ht(),l=ss(r);l.tag=2,s!=null&&(l.callback=s),s=is(t,l,r),s!==null&&(Gt(s,t,r),Ha(s,t,r))}};function Sg(t,s,r,l,d,h,v){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,h,v):s.prototype&&s.prototype.isPureReactComponent?!Ma(r,l)||!Ma(d,h):!0}function jg(t,s,r,l){t=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(r,l),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(r,l),s.state!==t&&zu.enqueueReplaceState(s,s.state,null)}function Ks(t,s){var r=s;if("ref"in s){r={};for(var l in s)l!=="ref"&&(r[l]=s[l])}if(t=t.defaultProps){r===s&&(r=y({},r));for(var d in t)r[d]===void 0&&(r[d]=t[d])}return r}var Bo=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function _g(t){Bo(t)}function Tg(t){console.error(t)}function Ag(t){Bo(t)}function Io(t,s){try{var r=t.onUncaughtError;r(s.value,{componentStack:s.stack})}catch(l){setTimeout(function(){throw l})}}function Eg(t,s,r){try{var l=t.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function Vu(t,s,r){return r=ss(r),r.tag=3,r.payload={element:null},r.callback=function(){Io(t,s)},r}function kg(t){return t=ss(t),t.tag=3,t}function Cg(t,s,r,l){var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var h=l.value;t.payload=function(){return d(h)},t.callback=function(){Eg(s,r,l)}}var v=r.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(t.callback=function(){Eg(s,r,l),typeof d!="function"&&(hs===null?hs=new Set([this]):hs.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function b2(t,s,r,l,d){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(s=r.alternate,s!==null&&La(s,r,d,!0),r=Jt.current,r!==null){switch(r.tag){case 13:return wn===null?cd():r.alternate===null&&$e===0&&($e=3),r.flags&=-257,r.flags|=65536,r.lanes=d,l===mu?r.flags|=16384:(s=r.updateQueue,s===null?r.updateQueue=new Set([l]):s.add(l),dd(t,l,d)),!1;case 22:return r.flags|=65536,l===mu?r.flags|=16384:(s=r.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=s):(r=s.retryQueue,r===null?s.retryQueue=new Set([l]):r.add(l)),dd(t,l,d)),!1}throw Error(i(435,r.tag))}return dd(t,l,d),cd(),!1}if(Ce)return s=Jt.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=d,l!==ou&&(t=Error(i(422),{cause:l}),Ua(Wt(t,r)))):(l!==ou&&(s=Error(i(423),{cause:l}),Ua(Wt(s,r))),t=t.current.alternate,t.flags|=65536,d&=-d,t.lanes|=d,l=Wt(l,r),d=Vu(t.stateNode,l,d),yu(t,d),$e!==4&&($e=2)),!1;var h=Error(i(520),{cause:l});if(h=Wt(h,r),sr===null?sr=[h]:sr.push(h),$e!==4&&($e=2),s===null)return!0;l=Wt(l,r),r=s;do{switch(r.tag){case 3:return r.flags|=65536,t=d&-d,r.lanes|=t,t=Vu(r.stateNode,l,t),yu(r,t),!1;case 1:if(s=r.type,h=r.stateNode,(r.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(hs===null||!hs.has(h))))return r.flags|=65536,d&=-d,r.lanes|=d,d=kg(d),Cg(d,t,r,l),yu(r,d),!1}r=r.return}while(r!==null);return!1}var Ng=Error(i(461)),dt=!1;function pt(t,s,r,l){s.child=t===null?bg(s,null,r,l):Ui(s,t.child,r,l)}function Rg(t,s,r,l,d){r=r.render;var h=s.ref;if("ref"in l){var v={};for(var S in l)S!=="ref"&&(v[S]=l[S])}else v=l;return qs(s),l=Su(t,s,r,v,h,d),S=ju(),t!==null&&!dt?(_u(t,s,d),Vn(t,s,d)):(Ce&&S&&au(s),s.flags|=1,pt(t,s,l,d),s.child)}function Mg(t,s,r,l,d){if(t===null){var h=r.type;return typeof h=="function"&&!nu(h)&&h.defaultProps===void 0&&r.compare===null?(s.tag=15,s.type=h,Og(t,s,h,l,d)):(t=bo(r.type,null,l,s,s.mode,d),t.ref=s.ref,t.return=s,s.child=t)}if(h=t.child,!Ku(t,d)){var v=h.memoizedProps;if(r=r.compare,r=r!==null?r:Ma,r(v,l)&&t.ref===s.ref)return Vn(t,s,d)}return s.flags|=1,t=Mn(h,l),t.ref=s.ref,t.return=s,s.child=t}function Og(t,s,r,l,d){if(t!==null){var h=t.memoizedProps;if(Ma(h,l)&&t.ref===s.ref)if(dt=!1,s.pendingProps=l=h,Ku(t,d))(t.flags&131072)!==0&&(dt=!0);else return s.lanes=t.lanes,Vn(t,s,d)}return Bu(t,s,r,l,d)}function Pg(t,s,r){var l=s.pendingProps,d=l.children,h=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((s.flags&128)!==0){if(l=h!==null?h.baseLanes|r:r,t!==null){for(d=s.child=t.child,h=0;d!==null;)h=h|d.lanes|d.childLanes,d=d.sibling;s.childLanes=h&~l}else s.childLanes=0,s.child=null;return Dg(t,s,l,r)}if((r&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},t!==null&&To(s,h!==null?h.cachePool:null),h!==null?Op(s,h):vu(),wg(s);else return s.lanes=s.childLanes=536870912,Dg(t,s,h!==null?h.baseLanes|r:r,r)}else h!==null?(To(s,h.cachePool),Op(s,h),os(),s.memoizedState=null):(t!==null&&To(s,null),vu(),os());return pt(t,s,d,r),s.child}function Dg(t,s,r,l){var d=hu();return d=d===null?null:{parent:st._currentValue,pool:d},s.memoizedState={baseLanes:r,cachePool:d},t!==null&&To(s,null),vu(),wg(s),t!==null&&La(t,s,l,!0),null}function Ho(t,s){var r=s.ref;if(r===null)t!==null&&t.ref!==null&&(s.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(i(284));(t===null||t.ref!==r)&&(s.flags|=4194816)}}function Bu(t,s,r,l,d){return qs(s),r=Su(t,s,r,l,void 0,d),l=ju(),t!==null&&!dt?(_u(t,s,d),Vn(t,s,d)):(Ce&&l&&au(s),s.flags|=1,pt(t,s,r,d),s.child)}function Ug(t,s,r,l,d,h){return qs(s),s.updateQueue=null,r=Dp(s,l,r,d),Pp(t),l=ju(),t!==null&&!dt?(_u(t,s,h),Vn(t,s,h)):(Ce&&l&&au(s),s.flags|=1,pt(t,s,r,h),s.child)}function Lg(t,s,r,l,d){if(qs(s),s.stateNode===null){var h=Ai,v=r.contextType;typeof v=="object"&&v!==null&&(h=bt(v)),h=new r(l,h),s.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=zu,s.stateNode=h,h._reactInternals=s,h=s.stateNode,h.props=l,h.state=s.memoizedState,h.refs={},pu(s),v=r.contextType,h.context=typeof v=="object"&&v!==null?bt(v):Ai,h.state=s.memoizedState,v=r.getDerivedStateFromProps,typeof v=="function"&&(Lu(s,r,v,l),h.state=s.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(v=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),v!==h.state&&zu.enqueueReplaceState(h,h.state,null),qa(s,l,h,d),Ga(),h.state=s.memoizedState),typeof h.componentDidMount=="function"&&(s.flags|=4194308),l=!0}else if(t===null){h=s.stateNode;var S=s.memoizedProps,k=Ks(r,S);h.props=k;var D=h.context,G=r.contextType;v=Ai,typeof G=="object"&&G!==null&&(v=bt(G));var $=r.getDerivedStateFromProps;G=typeof $=="function"||typeof h.getSnapshotBeforeUpdate=="function",S=s.pendingProps!==S,G||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S||D!==v)&&jg(s,h,l,v),ns=!1;var U=s.memoizedState;h.state=U,qa(s,l,h,d),Ga(),D=s.memoizedState,S||U!==D||ns?(typeof $=="function"&&(Lu(s,r,$,l),D=s.memoizedState),(k=ns||Sg(s,r,k,l,U,D,v))?(G||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(s.flags|=4194308)):(typeof h.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=l,s.memoizedState=D),h.props=l,h.state=D,h.context=v,l=k):(typeof h.componentDidMount=="function"&&(s.flags|=4194308),l=!1)}else{h=s.stateNode,gu(t,s),v=s.memoizedProps,G=Ks(r,v),h.props=G,$=s.pendingProps,U=h.context,D=r.contextType,k=Ai,typeof D=="object"&&D!==null&&(k=bt(D)),S=r.getDerivedStateFromProps,(D=typeof S=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(v!==$||U!==k)&&jg(s,h,l,k),ns=!1,U=s.memoizedState,h.state=U,qa(s,l,h,d),Ga();var z=s.memoizedState;v!==$||U!==z||ns||t!==null&&t.dependencies!==null&&jo(t.dependencies)?(typeof S=="function"&&(Lu(s,r,S,l),z=s.memoizedState),(G=ns||Sg(s,r,G,l,U,z,k)||t!==null&&t.dependencies!==null&&jo(t.dependencies))?(D||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,z,k),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,z,k)),typeof h.componentDidUpdate=="function"&&(s.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof h.componentDidUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(s.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(s.flags|=1024),s.memoizedProps=l,s.memoizedState=z),h.props=l,h.state=z,h.context=k,l=G):(typeof h.componentDidUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(s.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===t.memoizedProps&&U===t.memoizedState||(s.flags|=1024),l=!1)}return h=l,Ho(t,s),l=(s.flags&128)!==0,h||l?(h=s.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:h.render(),s.flags|=1,t!==null&&l?(s.child=Ui(s,t.child,null,d),s.child=Ui(s,null,r,d)):pt(t,s,r,d),s.memoizedState=h.state,t=s.child):t=Vn(t,s,d),t}function zg(t,s,r,l){return Da(),s.flags|=256,pt(t,s,r,l),s.child}var Iu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hu(t){return{baseLanes:t,cachePool:Tp()}}function Gu(t,s,r){return t=t!==null?t.childLanes&~r:0,s&&(t|=en),t}function Vg(t,s,r){var l=s.pendingProps,d=!1,h=(s.flags&128)!==0,v;if((v=h)||(v=t!==null&&t.memoizedState===null?!1:(it.current&2)!==0),v&&(d=!0,s.flags&=-129),v=(s.flags&32)!==0,s.flags&=-33,t===null){if(Ce){if(d?rs(s):os(),Ce){var S=Ke,k;if(k=S){e:{for(k=S,S=bn;k.nodeType!==8;){if(!S){S=null;break e}if(k=un(k.nextSibling),k===null){S=null;break e}}S=k}S!==null?(s.memoizedState={dehydrated:S,treeContext:Vs!==null?{id:On,overflow:Pn}:null,retryLane:536870912,hydrationErrors:null},k=zt(18,null,null,0),k.stateNode=S,k.return=s,s.child=k,_t=s,Ke=null,k=!0):k=!1}k||Hs(s)}if(S=s.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return Ad(S)?s.lanes=32:s.lanes=536870912,null;zn(s)}return S=l.children,l=l.fallback,d?(os(),d=s.mode,S=Go({mode:"hidden",children:S},d),l=zs(l,d,r,null),S.return=s,l.return=s,S.sibling=l,s.child=S,d=s.child,d.memoizedState=Hu(r),d.childLanes=Gu(t,v,r),s.memoizedState=Iu,l):(rs(s),qu(s,S))}if(k=t.memoizedState,k!==null&&(S=k.dehydrated,S!==null)){if(h)s.flags&256?(rs(s),s.flags&=-257,s=Fu(t,s,r)):s.memoizedState!==null?(os(),s.child=t.child,s.flags|=128,s=null):(os(),d=l.fallback,S=s.mode,l=Go({mode:"visible",children:l.children},S),d=zs(d,S,r,null),d.flags|=2,l.return=s,d.return=s,l.sibling=d,s.child=l,Ui(s,t.child,null,r),l=s.child,l.memoizedState=Hu(r),l.childLanes=Gu(t,v,r),s.memoizedState=Iu,s=d);else if(rs(s),Ad(S)){if(v=S.nextSibling&&S.nextSibling.dataset,v)var D=v.dgst;v=D,l=Error(i(419)),l.stack="",l.digest=v,Ua({value:l,source:null,stack:null}),s=Fu(t,s,r)}else if(dt||La(t,s,r,!1),v=(r&t.childLanes)!==0,dt||v){if(v=Ie,v!==null&&(l=r&-r,l=(l&42)!==0?1:Ec(l),l=(l&(v.suspendedLanes|r))!==0?0:l,l!==0&&l!==k.retryLane))throw k.retryLane=l,Ti(t,l),Gt(v,t,l),Ng;S.data==="$?"||cd(),s=Fu(t,s,r)}else S.data==="$?"?(s.flags|=192,s.child=t.child,s=null):(t=k.treeContext,Ke=un(S.nextSibling),_t=s,Ce=!0,Is=null,bn=!1,t!==null&&(Qt[Zt++]=On,Qt[Zt++]=Pn,Qt[Zt++]=Vs,On=t.id,Pn=t.overflow,Vs=s),s=qu(s,l.children),s.flags|=4096);return s}return d?(os(),d=l.fallback,S=s.mode,k=t.child,D=k.sibling,l=Mn(k,{mode:"hidden",children:l.children}),l.subtreeFlags=k.subtreeFlags&65011712,D!==null?d=Mn(D,d):(d=zs(d,S,r,null),d.flags|=2),d.return=s,l.return=s,l.sibling=d,s.child=l,l=d,d=s.child,S=t.child.memoizedState,S===null?S=Hu(r):(k=S.cachePool,k!==null?(D=st._currentValue,k=k.parent!==D?{parent:D,pool:D}:k):k=Tp(),S={baseLanes:S.baseLanes|r,cachePool:k}),d.memoizedState=S,d.childLanes=Gu(t,v,r),s.memoizedState=Iu,l):(rs(s),r=t.child,t=r.sibling,r=Mn(r,{mode:"visible",children:l.children}),r.return=s,r.sibling=null,t!==null&&(v=s.deletions,v===null?(s.deletions=[t],s.flags|=16):v.push(t)),s.child=r,s.memoizedState=null,r)}function qu(t,s){return s=Go({mode:"visible",children:s},t.mode),s.return=t,t.child=s}function Go(t,s){return t=zt(22,t,null,s),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Fu(t,s,r){return Ui(s,t.child,null,r),t=qu(s,s.pendingProps.children),t.flags|=2,s.memoizedState=null,t}function Bg(t,s,r){t.lanes|=s;var l=t.alternate;l!==null&&(l.lanes|=s),cu(t.return,s,r)}function Yu(t,s,r,l,d){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:d}:(h.isBackwards=s,h.rendering=null,h.renderingStartTime=0,h.last=l,h.tail=r,h.tailMode=d)}function Ig(t,s,r){var l=s.pendingProps,d=l.revealOrder,h=l.tail;if(pt(t,s,l.children,r),l=it.current,(l&2)!==0)l=l&1|2,s.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=s.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Bg(t,r,s);else if(t.tag===19)Bg(t,r,s);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===s)break e;for(;t.sibling===null;){if(t.return===null||t.return===s)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(Z(it,l),d){case"forwards":for(r=s.child,d=null;r!==null;)t=r.alternate,t!==null&&Vo(t)===null&&(d=r),r=r.sibling;r=d,r===null?(d=s.child,s.child=null):(d=r.sibling,r.sibling=null),Yu(s,!1,d,r,h);break;case"backwards":for(r=null,d=s.child,s.child=null;d!==null;){if(t=d.alternate,t!==null&&Vo(t)===null){s.child=d;break}t=d.sibling,d.sibling=r,r=d,d=t}Yu(s,!0,r,null,h);break;case"together":Yu(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Vn(t,s,r){if(t!==null&&(s.dependencies=t.dependencies),fs|=s.lanes,(r&s.childLanes)===0)if(t!==null){if(La(t,s,r,!1),(r&s.childLanes)===0)return null}else return null;if(t!==null&&s.child!==t.child)throw Error(i(153));if(s.child!==null){for(t=s.child,r=Mn(t,t.pendingProps),s.child=r,r.return=s;t.sibling!==null;)t=t.sibling,r=r.sibling=Mn(t,t.pendingProps),r.return=s;r.sibling=null}return s.child}function Ku(t,s){return(t.lanes&s)!==0?!0:(t=t.dependencies,!!(t!==null&&jo(t)))}function w2(t,s,r){switch(s.tag){case 3:Le(s,s.stateNode.containerInfo),ts(s,st,t.memoizedState.cache),Da();break;case 27:case 5:ui(s);break;case 4:Le(s,s.stateNode.containerInfo);break;case 10:ts(s,s.type,s.memoizedProps.value);break;case 13:var l=s.memoizedState;if(l!==null)return l.dehydrated!==null?(rs(s),s.flags|=128,null):(r&s.child.childLanes)!==0?Vg(t,s,r):(rs(s),t=Vn(t,s,r),t!==null?t.sibling:null);rs(s);break;case 19:var d=(t.flags&128)!==0;if(l=(r&s.childLanes)!==0,l||(La(t,s,r,!1),l=(r&s.childLanes)!==0),d){if(l)return Ig(t,s,r);
vendor: 2,478 bytes, line 9
9s.flags|=128}if(d=s.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Z(it,it.current),l)break;return null;case 22:case 23:return s.lanes=0,Pg(t,s,r);case 24:ts(s,st,t.memoizedState.cache)}return Vn(t,s,r)}function Hg(t,s,r){if(t!==null)if(t.memoizedProps!==s.pendingProps)dt=!0;else{if(!Ku(t,r)&&(s.flags&128)===0)return dt=!1,w2(t,s,r);dt=(t.flags&131072)!==0}else dt=!1,Ce&&(s.flags&1048576)!==0&&xp(s,So,s.index);switch(s.lanes=0,s.tag){case 16:e:{t=s.pendingProps;var l=s.elementType,d=l._init;if(l=d(l._payload),s.type=l,typeof l=="function")nu(l)?(t=Ks(l,t),s.tag=1,s=Lg(null,s,l,t,r)):(s.tag=0,s=Bu(null,s,l,t,r));else{if(l!=null){if(d=l.$$typeof,d===H){s.tag=11,s=Rg(null,s,l,t,r);break e}else if(d===Q){s.tag=14,s=Mg(null,s,l,t,r);break e}}throw s=Ze(l)||l,Error(i(306,s,""))}}return s;case 0:return Bu(t,s,s.type,s.pendingProps,r);case 1:return l=s.type,d=Ks(l,s.pendingProps),Lg(t,s,l,d,r);case 3:e:{if(Le(s,s.stateNode.containerInfo),t===null)throw Error(i(387));l=s.pendingProps;var h=s.memoizedState;d=h.element,gu(t,s),qa(s,l,null,r);var v=s.memoizedState;if(l=v.cache,ts(s,st,l),l!==h.cache&&uu(s,[st],r,!0),Ga(),l=v.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:v.cache},s.updateQueue.baseState=h,s.memoizedState=h,s.flags&256){s=zg(t,s,l,r);break e}else if(l!==d){d=Wt(Error(i(424)),s),Ua(d),s=zg(t,s,l,r);break e}else for(t=s.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ke=un(t.firstChild),_t=s,Ce=!0,Is=null,bn=!0,r=bg(s,null,l,r),s.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Da(),l===d){s=Vn(t,s,r);break e}pt(t,s,l,r)}s=s.child}return s;case 26:return Ho(t,s),t===null?(r=Yy(s.type,null,s.pendingProps,null))?s.memoizedState=r:Ce||(r=s.type,t=s.pendingProps,l=sl(le.current).createElement(r),l[vt]=s,l[Nt]=t,yt(l,r,t),ut(l),s.stateNode=l):s.memoizedState=Yy(s.type,t.memoizedProps,s.pendingProps,t.memoizedState),null;case 27:return ui(s),t===null&&Ce&&(l=s.stateNode=Gy(s.type,s.pendingProps,le.current),_t=s,bn=!0,d=Ke,gs(s.type)?(Ed=d,Ke=un(l.firstChild)):Ke=d),pt(t,s,s.pendingProps.children,r),Ho(t,s),t===null&&(s.flags|=4194304),s.child;case 5:return t===null&&Ce&&((d=l=Ke)&&(l=W2(l,s.type,s.pendingProps,bn),l!==null?(s.stateNode=l,_t=s,Ke=un(l.firstChild),bn=!1,d=!0):d=!1),d||Hs(s)),ui(s),d=s.type,h=s.pendingProps,v=t!==null?t.memoizedProps:null,l=h.children,jd(d,h)?l=null:v!==null&&jd(d,v)&&(s.flags|=32),s.memoizedState!==null&&(d=Su(t,s,h2,
vendor: 1,478 bytes, line 9
9null,null,r),fr._currentValue=d),Ho(t,s),pt(t,s,l,r),s.child;case 6:return t===null&&Ce&&((t=r=Ke)&&(r=X2(r,s.pendingProps,bn),r!==null?(s.stateNode=r,_t=s,Ke=null,t=!0):t=!1),t||Hs(s)),null;case 13:return Vg(t,s,r);case 4:return Le(s,s.stateNode.containerInfo),l=s.pendingProps,t===null?s.child=Ui(s,null,l,r):pt(t,s,l,r),s.child;case 11:return Rg(t,s,s.type,s.pendingProps,r);case 7:return pt(t,s,s.pendingProps,r),s.child;case 8:return pt(t,s,s.pendingProps.children,r),s.child;case 12:return pt(t,s,s.pendingProps.children,r),s.child;case 10:return l=s.pendingProps,ts(s,s.type,l.value),pt(t,s,l.children,r),s.child;case 9:return d=s.type._context,l=s.pendingProps.children,qs(s),d=bt(d),l=l(d),s.flags|=1,pt(t,s,l,r),s.child;case 14:return Mg(t,s,s.type,s.pendingProps,r);case 15:return Og(t,s,s.type,s.pendingProps,r);case 19:return Ig(t,s,r);case 31:return l=s.pendingProps,r=s.mode,l={mode:l.mode,children:l.children},t===null?(r=Go(l,r),r.ref=s.ref,s.child=r,r.return=s,s=r):(r=Mn(t.child,l),r.ref=s.ref,s.child=r,r.return=s,s=r),s;case 22:return Pg(t,s,r);case 24:return qs(s),l=bt(st),t===null?(d=hu(),d===null&&(d=Ie,h=du(),d.pooledCache=h,h.refCount++,h!==null&&(d.pooledCacheLanes|=r),d=h),s.memoizedState={parent:l,cache:d},pu(s),ts(s,st,d)):((t.lanes&r)!==0&&(gu(t,s),qa(s,null,null,r),Ga()),d=t.memoizedState,h=s.memoizedState,d.parent!==l?(d={parent:l,cache:l},s.memoizedState=d,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=d),ts(s,st,l)):(l=h.cache,t
vendor: 16,008 bytes, line 9
9s(s,st,l),l!==d.cache&&uu(s,[st],r,!0))),pt(t,s,s.pendingProps.children,r),s.child;case 29:throw s.pendingProps}throw Error(i(156,s.tag))}function Bn(t){t.flags|=4}function Gg(t,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Qy(s)){if(s=Jt.current,s!==null&&((Ee&4194048)===Ee?wn!==null:(Ee&62914560)!==Ee&&(Ee&536870912)===0||s!==wn))throw Ia=mu,Ap;t.flags|=8192}}function qo(t,s){s!==null&&(t.flags|=4),t.flags&16384&&(s=t.tag!==22?wm():536870912,t.lanes|=s,Bi|=s)}function Qa(t,s){if(!Ce)switch(t.tailMode){case"hidden":s=t.tail;for(var r=null;s!==null;)s.alternate!==null&&(r=s),s=s.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?s||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Fe(t){var s=t.alternate!==null&&t.alternate.child===t.child,r=0,l=0;if(s)for(var d=t.child;d!==null;)r|=d.lanes|d.childLanes,l|=d.subtreeFlags&65011712,l|=d.flags&65011712,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)r|=d.lanes|d.childLanes,l|=d.subtreeFlags,l|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=l,t.childLanes=r,s}function S2(t,s,r){var l=s.pendingProps;switch(ru(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(s),null;case 1:return Fe(s),null;case 3:return r=s.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),Un(st),ze(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(Pa(s)?Bn(s):t===null||t.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,wp())),Fe(s),null;case 26:return r=s.memoizedState,t===null?(Bn(s),r!==null?(Fe(s),Gg(s,r)):(Fe(s),s.flags&=-16777217)):r?r!==t.memoizedState?(Bn(s),Fe(s),Gg(s,r)):(Fe(s),s.flags&=-16777217):(t.memoizedProps!==l&&Bn(s),Fe(s),s.flags&=-16777217),null;case 27:Cn(s),r=le.current;var d=s.type;if(t!==null&&s.stateNode!=null)t.memoizedProps!==l&&Bn(s);else{if(!l){if(s.stateNode===null)throw Error(i(166));return Fe(s),null}t=de.current,Pa(s)?vp(s):(t=Gy(d,l,r),s.stateNode=t,Bn(s))}return Fe(s),null;case 5:if(Cn(s),r=s.type,t!==null&&s.stateNode!=null)t.memoizedProps!==l&&Bn(s);else{if(!l){if(s.stateNode===null)throw Error(i(166));return Fe(s),null}if(t=de.current,Pa(s))vp(s);else{switch(d=sl(le.current),t){case 1:t=d.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:t=d.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":t=d.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":t=d.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":t=d.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?t.multiple=!0:l.size&&(t.size=l.size);break;default:t=typeof l.is=="string"?d.createElement(r,{is:l.is}):d.createElement(r)}}t[vt]=s,t[Nt]=l;e:for(d=s.child;d!==null;){if(d.tag===5||d.tag===6)t.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===s)break e;for(;d.sibling===null;){if(d.return===null||d.return===s)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}s.stateNode=t;e:switch(yt(t,r,l),r){case"button":case"input":case"select":case"textarea":t=!!l.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&Bn(s)}}return Fe(s),s.flags&=-16777217,null;case 6:if(t&&s.stateNode!=null)t.memoizedProps!==l&&Bn(s);else{if(typeof l!="string"&&s.stateNode===null)throw Error(i(166));if(t=le.current,Pa(s)){if(t=s.stateNode,r=s.memoizedProps,l=null,d=_t,d!==null)switch(d.tag){case 27:case 5:l=d.memoizedProps}t[vt]=s,t=!!(t.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||Uy(t.nodeValue,r)),t||Hs(s)}else t=sl(t).createTextNode(l),t[vt]=s,s.stateNode=t}return Fe(s),null;case 13:if(l=s.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=Pa(s),l!==null&&l.dehydrated!==null){if(t===null){if(!d)throw Error(i(318));if(d=s.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(i(317));d[vt]=s}else Da(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Fe(s),d=!1}else d=wp(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return s.flags&256?(zn(s),s):(zn(s),null)}if(zn(s),(s.flags&128)!==0)return s.lanes=r,s;if(r=l!==null,t=t!==null&&t.memoizedState!==null,r){l=s.child,d=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(d=l.alternate.memoizedState.cachePool.pool);var h=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==d&&(l.flags|=2048)}return r!==t&&r&&(s.child.flags|=8192),qo(s,s.updateQueue),Fe(s),null;case 4:return ze(),t===null&&xd(s.stateNode.containerInfo),Fe(s),null;case 10:return Un(s.type),Fe(s),null;case 19:if(te(it),d=s.memoizedState,d===null)return Fe(s),null;if(l=(s.flags&128)!==0,h=d.rendering,h===null)if(l)Qa(d,!1);else{if($e!==0||t!==null&&(t.flags&128)!==0)for(t=s.child;t!==null;){if(h=Vo(t),h!==null){for(s.flags|=128,Qa(d,!1),t=h.updateQueue,s.updateQueue=t,qo(s,t),s.subtreeFlags=0,t=r,r=s.child;r!==null;)yp(r,t),r=r.sibling;return Z(it,it.current&1|2),s.child}t=t.sibling}d.tail!==null&&vn()>Ko&&(s.flags|=128,l=!0,Qa(d,!1),s.lanes=4194304)}else{if(!l)if(t=Vo(h),t!==null){if(s.flags|=128,l=!0,t=t.updateQueue,s.updateQueue=t,qo(s,t),Qa(d,!0),d.tail===null&&d.tailMode==="hidden"&&!h.alternate&&!Ce)return Fe(s),null}else 2*vn()-d.renderingStartTime>Ko&&r!==536870912&&(s.flags|=128,l=!0,Qa(d,!1),s.lanes=4194304);d.isBackwards?(h.sibling=s.child,s.child=h):(t=d.last,t!==null?t.sibling=h:s.child=h,d.last=h)}return d.tail!==null?(s=d.tail,d.rendering=s,d.tail=s.sibling,d.renderingStartTime=vn(),s.sibling=null,t=it.current,Z(it,l?t&1|2:t&1),s):(Fe(s),null);case 22:case 23:return zn(s),bu(),l=s.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(s.flags|=8192):l&&(s.flags|=8192),l?(r&536870912)!==0&&(s.flags&128)===0&&(Fe(s),s.subtreeFlags&6&&(s.flags|=8192)):Fe(s),r=s.updateQueue,r!==null&&qo(s,r.retryQueue),r=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),l=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(l=s.memoizedState.cachePool.pool),l!==r&&(s.flags|=2048),t!==null&&te(Fs),null;case 24:return r=null,t!==null&&(r=t.memoizedState.cache),s.memoizedState.cache!==r&&(s.flags|=2048),Un(st),Fe(s),null;case 25:return null;case 30:return null}throw Error(i(156,s.tag))}function j2(t,s){switch(ru(s),s.tag){case 1:return t=s.flags,t&65536?(s.flags=t&-65537|128,s):null;case 3:return Un(st),ze(),t=s.flags,(t&65536)!==0&&(t&128)===0?(s.flags=t&-65537|128,s):null;case 26:case 27:case 5:return Cn(s),null;case 13:if(zn(s),t=s.memoizedState,t!==null&&t.dehydrated!==null){if(s.alternate===null)throw Error(i(340));Da()}return t=s.flags,t&65536?(s.flags=t&-65537|128,s):null;case 19:return te(it),null;case 4:return ze(),null;case 10:return Un(s.type),null;case 22:case 23:return zn(s),bu(),t!==null&&te(Fs),t=s.flags,t&65536?(s.flags=t&-65537|128,s):null;case 24:return Un(st),null;case 25:return null;default:return null}}function qg(t,s){switch(ru(s),s.tag){case 3:Un(st),ze();break;case 26:case 27:case 5:Cn(s);break;case 4:ze();break;case 13:zn(s);break;case 19:te(it);break;case 10:Un(s.type);break;case 22:case 23:zn(s),bu(),t!==null&&te(Fs);break;case 24:Un(st)}}function Za(t,s){try{var r=s.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var d=l.next;r=d;do{if((r.tag&t)===t){l=void 0;var h=r.create,v=r.inst;l=h(),v.destroy=l}r=r.next}while(r!==d)}}catch(S){Ve(s,s.return,S)}}function ls(t,s,r){try{var l=s.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var h=d.next;l=h;do{if((l.tag&t)===t){var v=l.inst,S=v.destroy;if(S!==void 0){v.destroy=void 0,d=s;var k=r,D=S;try{D()}catch(G){Ve(d,k,G)}}}l=l.next}while(l!==h)}}catch(G){Ve(s,s.return,G)}}function Fg(t){var s=t.updateQueue;if(s!==null){var r=t.stateNode;try{Mp(s,r)}catch(l){Ve(t,t.return,l)}}}function Yg(t,s,r){r.props=Ks(t.type,t.memoizedProps),r.state=t.memoizedState;try{r.componentWillUnmount()}catch(l){Ve(t,s,l)}}function Ja(t,s){try{var r=t.ref;if(r!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof r=="function"?t.refCleanup=r(l):r.current=l}}catch(d){Ve(t,s,d)}}function Sn(t,s){var r=t.ref,l=t.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(d){Ve(t,s,d)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(d){Ve(t,s,d)}else r.current=null}function Kg(t){var s=t.type,r=t.memoizedProps,l=t.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(d){Ve(t,t.return,d)}}function $u(t,s,r){try{var l=t.stateNode;q2(l,t.type,r,s),l[Nt]=s}catch(d){Ve(t,t.return,d)}}function $g(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&gs(t.type)||t.tag===4}function Wu(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||$g(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&gs(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Xu(t,s,r){var l=t.tag;if(l===5||l===6)t=t.stateNode,s?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(t,s):(s=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,s.appendChild(t),r=r._reactRootContainer,r!=null||s.onclick!==null||(s.onclick=nl));else if(l!==4&&(l===27&&gs(t.type)&&(r=t.stateNode,s=null),t=t.child,t!==null))for(Xu(t,s,r),t=t.sibling;t!==null;)Xu(t,s,r),t=t.sibling}function Fo(t,s,r){var l=t.tag;if(l===5||l===6)t=t.stateNode,s?r.insertBefore(t,s):r.appendChild(t);else if(l!==4&&(l===27&&gs(t.type)&&(r=t.stateNode),t=t.child,t!==null))for(Fo(t,s,r),t=t.sibling;t!==null;)Fo(t,s,r),t=t.sibling}function Wg(t){var s=t.stateNode,r=t.memoizedProps;try{for(var l=t.type,d=s.attributes;d.length;)s.removeAttributeNode(d[0]);yt(s,l,r),s[vt]=t,s[Nt]=r}catch(h){Ve(t,t.return,h)}}var In=!1,Qe=!1,Qu=!1,Xg=typeof WeakSet=="function"?WeakSet:Set,ft=null;function _2(t,s){if(t=t.containerInfo,wd=cl,t=op(t),Wc(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var d=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{r.nodeType,h.nodeType}catch{r=null;break e}var v=0,S=-1,k=-1,D=0,G=0,$=t,U=null;t:for(;;){for(var z;$!==r||d!==0&&$.nodeType!==3||(S=v+d),$!==h||l!==0&&$.nodeType!==3||(k=v+l),$.nodeType===3&&(v+=$.nodeValue.length),(z=$.firstChild)!==null;)U=$,$=z;for(;;){if($===t)break t;if(U===r&&++D===d&&(S=v),U===h&&++G===l&&(k=v),(z=$.nextSibling)!==null)break;$=U,U=$.parentNode}$=z}r=S===-1||k===-1?null:{start:S,end:k}}else r=null}r=r||{start:0,end:0}}else r=null;for(Sd={focusedElem:t,selectionRange:r},cl=!1,ft=s;ft!==null;)if(s=ft,t=s.child,(s.subtreeFlags&1024)!==0&&t!==null)t.return=s,ft=t;else for(;ft!==null;){switch(s=ft,h=s.alternate,t=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,r=s,d=h.memoizedProps,h=h.memoizedState,l=r.stateNode;try{var ge=Ks(r.type,d,r.elementType===r.type);t=l.getSnapshotBeforeUpdate(ge,h),l.__reactInternalSnapshotBeforeUpdate=t}catch(he){Ve(r,r.return,he)}}break;case 3:if((t&1024)!==0){if(t=s.stateNode.containerInfo,r=t.nodeType,r===9)Td(t);else if(r===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Td(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=s.sibling,t!==null){t.return=s.return,ft=t;break}ft=s.return}}function Qg(t,s,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:cs(t,r),l&4&&Za(5,r);break;case 1:if(cs(t,r),l&4)if(t=r.stateNode,s===null)try{t.componentDidMount()}catch(v){Ve(r,r.return,v)}else{var d=Ks(r.type,s.memoizedProps);s=s.memoizedState;try{t.componentDidUpdate(d,s,t.__reactInternalSnapshotBeforeUpdate)}catch(v){Ve(r,r.return,v)}}l&64&&Fg(r),l&512&&Ja(r,r.return);break;case 3:if(cs(t,r),l&64&&(t=r.updateQueue,t!==null)){if(s=null,r.child!==null)switch(r.child.tag){case 27:case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}try{Mp(t,s)}catch(v){Ve(r,r.return,v)}}break;case 27:s===null&&l&4&&Wg(r);case 26:case 5:cs(t,r),s===null&&l&4&&Kg(r),l&512&&Ja(r,r.return);break;case 12:cs(t,r);break;case 13:cs(t,r),l&4&&ey(t,r),l&64&&(t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(r=O2.bind(null,r),Q2(t,r))));break;case 22:if(l=r.memoizedState!==null||In,!l){s=s!==null&&s.memoizedState!==null||Qe,d=In;var h=Qe;In=l,(Qe=s)&&!h?us(t,r,(r.subtreeFlags&8772)!==0):cs(t,r),In=d,Qe=h}break;case 30:break;default:cs(t,r)}}function Zg(t){var s=t.alternate;s!==null&&(t.alternate=null,Zg(s)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(s=t.stateNode,s!==null&&Nc(s)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ge=null,Ot=!1;function Hn(t,s,r){for(r=r.child;r!==null;)Jg(t,s,r),r=r.sibling}function Jg(t,s,r){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(ba,r)}catch{}switch(r.tag){case 26:Qe||Sn(r,s),Hn(t,s,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Qe||Sn(r,s);var l=Ge,d=Ot;gs(r.type)&&(Ge=r.stateNode,Ot=!1),Hn(t,s,r),lr(r.stateNode),Ge=l,Ot=d;break;case 5:Qe||Sn(r,s);case 6:if(l=Ge,d=Ot,Ge=null,Hn(t,s,r),Ge=l,Ot=d,Ge!==null)if(Ot)try{(Ge.nodeType===9?Ge.body:Ge.nodeName==="HTML"?Ge.ownerDocument.body:Ge).removeChild(r.stateNode)}catch(h){Ve(r,s,h)}else try{Ge.removeChild(r.stateNode)}catch(h){Ve(r,s,h)}break;case 18:Ge!==null&&(Ot?(t=Ge,Iy(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,r.stateNode),gr(t)):Iy(Ge,r.stateNode));break;case 4:l=Ge,d=Ot,Ge=r.stateNode.containerInfo,Ot=!0,Hn(t,s,r),Ge=l,Ot=d;break;case 0:case 11:case 14:case 15:Qe||ls(2,r,s),Qe||ls(4,r,s),Hn(t,s,r);break;case 1:Qe||(Sn(r,s),l=r.stateNode,typeof l.componentWillUnmount=="function"&&Yg(r,s,l)),Hn(t,s,r);break;case 21:Hn(t,s,r);break;case 22:Qe=(l=Qe)||r.memoizedState!==null,Hn(t,s,r),Qe=l;break;default:Hn(t,s,r)}}function ey(t,s){if(s.memoizedState===null&&(t=s.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{gr(t)}catch(r){Ve(s,s.return,r)}}function T2(t){switch(t.tag){case 13:case 19:var s=t.stateNode;return s===null&&(s=t.stateNode=new Xg),s;case 22:return t=t.stateNode,s=t._retryCache,s===null&&(s=t._retryCache=new Xg),s;default:throw Error(i(435,t.tag))}}function Zu(t,s){var r=T2(t);s.forEach(function(l){var d=P2.bind(null,t,l);r.has(l)||(r.add(l),l.then(d,d))})}function Vt(t,s){var r=s.deletions;if(r!==null)for(var l=0;l<r.length;l++){var d=r[l],h=t,v=s,S=v;e:for(;S!==null;){switch(S.tag){case 27:if(gs(S.type)){Ge=S.stateNode,Ot=!1;break e}break;case 5:Ge=S.stateNode,Ot=!1;break e;case 3:case 4:Ge=S.stateNode.containerInfo,Ot=!0;break e}S=S.return}if(Ge===null)throw Error(i(160));Jg(h,v,d),Ge=null,Ot=!1,h=d.alternate,h!==null&&(h.return=null),d.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)ty(s,t),s=s.sibling}var cn=null;function ty(t,s){var r=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Vt(s,t),Bt(t),l&4&&(ls(3,t,t.return),Za(3,t),ls(5,t,t.return));break;case 1:Vt(s,t),Bt(t),l&512&&(Qe||r===null||Sn(r,r.return)),l&64&&In&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(r=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var d=cn;
vendor: 5,422 bytes, line 9
9if(Vt(s,t),Bt(t),l&512&&(Qe||r===null||Sn(r,r.return)),l&4){var h=r!==null?r.memoizedState:null;if(l=t.memoizedState,r===null)if(l===null)if(t.stateNode===null){e:{l=t.type,r=t.memoizedProps,d=d.ownerDocument||d;t:switch(l){case"title":h=d.getElementsByTagName("title")[0],(!h||h[ja]||h[vt]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=d.createElement(l),d.head.insertBefore(h,d.querySelector("head > title"))),yt(h,l,r),h[vt]=t,ut(h),l=h;break e;case"link":var v=Wy("link","href",d).get(l+(r.href||""));if(v){for(var S=0;S<v.length;S++)if(h=v[S],h.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&h.getAttribute("rel")===(r.rel==null?null:r.rel)&&h.getAttribute("title")===(r.title==null?null:r.title)&&h.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){v.splice(S,1);break t}}h=d.createElement(l),yt(h,l,r),d.head.appendChild(h);break;case"meta":if(v=Wy("meta","content",d).get(l+(r.content||""))){for(S=0;S<v.length;S++)if(h=v[S],h.getAttribute("content")===(r.content==null?null:""+r.content)&&h.getAttribute("name")===(r.name==null?null:r.name)&&h.getAttribute("property")===(r.property==null?null:r.property)&&h.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&h.getAttribute("charset")===(r.charSet==null?null:r.charSet)){v.splice(S,1);break t}}h=d.createElement(l),yt(h,l,r),d.head.appendChild(h);break;default:throw Error(i(468,l))}h[vt]=t,ut(h),l=h}t.stateNode=l}else Xy(d,t.type,t.stateNode);else t.stateNode=$y(d,l,t.memoizedProps);else h!==l?(h===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):h.count--,l===null?Xy(d,t.type,t.stateNode):$y(d,l,t.memoizedProps)):l===null&&t.stateNode!==null&&$u(t,t.memoizedProps,r.memoizedProps)}break;case 27:Vt(s,t),Bt(t),l&512&&(Qe||r===null||Sn(r,r.return)),r!==null&&l&4&&$u(t,t.memoizedProps,r.memoizedProps);break;case 5:if(Vt(s,t),Bt(t),l&512&&(Qe||r===null||Sn(r,r.return)),t.flags&32){d=t.stateNode;try{xi(d,"")}catch(z){Ve(t,t.return,z)}}l&4&&t.stateNode!=null&&(d=t.memoizedProps,$u(t,d,r!==null?r.memoizedProps:d)),l&1024&&(Qu=!0);break;case 6:if(Vt(s,t),Bt(t),l&4){if(t.stateNode===null)throw Error(i(162));l=t.memoizedProps,r=t.stateNode;try{r.nodeValue=l}catch(z){Ve(t,t.return,z)}}break;case 3:if(rl=null,d=cn,cn=il(s.containerInfo),Vt(s,t),cn=d,Bt(t),l&4&&r!==null&&r.memoizedState.isDehydrated)try{gr(s.containerInfo)}catch(z){Ve(t,t.return,z)}Qu&&(Qu=!1,ny(t));break;case 4:l=cn,cn=il(t.stateNode.containerInfo),Vt(s,t),Bt(t),cn=l;break;case 12:Vt(s,t),Bt(t);break;case 13:Vt(s,t),Bt(t),t.child.flags&8192&&t.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(id=vn()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Zu(t,l)));break;case 22:d=t.memoizedState!==null;var k=r!==null&&r.memoizedState!==null,D=In,G=Qe;if(In=D||d,Qe=G||k,Vt(s,t),Qe=G,In=D,Bt(t),l&8192)e:for(s=t.stateNode,s._visibility=d?s._visibility&-2:s._visibility|1,d&&(r===null||k||In||Qe||$s(t)),r=null,s=t;;){if(s.tag===5||s.tag===26){if(r===null){k=r=s;try{if(h=k.stateNode,d)v=h.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{S=k.stateNode;var $=k.memoizedProps.style,U=$!=null&&$.hasOwnProperty("display")?$.display:null;S.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch(z){Ve(k,k.return,z)}}}else if(s.tag===6){if(r===null){k=s;try{k.stateNode.nodeValue=d?"":k.memoizedProps}catch(z){Ve(k,k.return,z)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===t)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;r===s&&(r=null),s=s.return}r===s&&(r=null),s.sibling.return=s.return,s=s.sibling}l&4&&(l=t.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,Zu(t,r))));break;case 19:Vt(s,t),Bt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Zu(t,l)));break;case 30:break;case 21:break;default:Vt(s,t),Bt(t)}}function Bt(t){var s=t.flags;if(s&2){try{for(var r,l=t.return;l!==null;){if($g(l)){r=l;break}l=l.return}if(r==null)throw Error(i(160));switch(r.tag){case 27:var d=r.stateNode,h=Wu(t);Fo(t,h,d);break;case 5:var v=r.stateNode;r.flags&32&&(xi(v,""),r.flags&=-33);var S=Wu(t);Fo(t,S,v);break;case 3:case 4:var k=r.stateNode.containerInfo,D=Wu(t);Xu(t,D,k);break;default:throw Error(i(161))}}catch(G){Ve(t,t.return,G)}t.flags&=-3}s&4096&&(t.flags&=-4097)}function ny(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var s=t;ny(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),t=t.sibling}}function cs(t,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)Qg(t,s.alternate,s),s=s.sibling}function $s(t){for(t=t.child;t!==null;){var s=t;switch(s.tag){case 0:case 11:case 14:case 15:ls(4,s,s.return),$s(s);break;case 1:Sn(s,s.return);var r=s.stateNode;typeof r.componentWillUnmount=="function"&&Yg(s,s.return,r),$s(s);break;case 27:lr(s.stateNode);case 26:case 5:Sn(s,s.return),$s(s);break;case 22:s.memoizedState===null&&$s(s);break;case 30:$s(s);break;default:$s(s)}t=t.sibling}}function us(t,s,r){for(r=r&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var l=s.alternate,d=t,h=s,v=h.flags;switch(h.tag){case 0:case 11:case 15:us(d,h,r),Za(4,h);break;case 1:if(us(d,h,r),l=h,d=l.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(D){Ve(l,l.return,D)}if(l=h,d=l.updateQueue,d!==null){var S=l.stateNode;try{var k=d.shared.hiddenCallbacks;
vendor: 28,782 bytes, lines 9-10
9if(k!==null)for(d.shared.hiddenCallbacks=null,d=0;d<k.length;d++)Rp(k[d],S)}catch(D){Ve(l,l.return,D)}}r&&v&64&&Fg(h),Ja(h,h.return);break;case 27:Wg(h);case 26:case 5:us(d,h,r),r&&l===null&&v&4&&Kg(h),Ja(h,h.return);break;case 12:us(d,h,r);break;case 13:us(d,h,r),r&&v&4&&ey(d,h);break;case 22:h.memoizedState===null&&us(d,h,r),Ja(h,h.return);break;case 30:break;default:us(d,h,r)}s=s.sibling}}function Ju(t,s){var r=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),t=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(t=s.memoizedState.cachePool.pool),t!==r&&(t!=null&&t.refCount++,r!=null&&za(r))}function ed(t,s){t=null,s.alternate!==null&&(t=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==t&&(s.refCount++,t!=null&&za(t))}function jn(t,s,r,l){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)sy(t,s,r,l),s=s.sibling}function sy(t,s,r,l){var d=s.flags;switch(s.tag){case 0:case 11:case 15:jn(t,s,r,l),d&2048&&Za(9,s);break;case 1:jn(t,s,r,l);break;case 3:jn(t,s,r,l),d&2048&&(t=null,s.alternate!==null&&(t=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==t&&(s.refCount++,t!=null&&za(t)));break;case 12:if(d&2048){jn(t,s,r,l),t=s.stateNode;try{var h=s.memoizedProps,v=h.id,S=h.onPostCommit;typeof S=="function"&&S(v,s.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(k){Ve(s,s.return,k)}}else jn(t,s,r,l);break;case 13:jn(t,s,r,l);break;case 23:break;case 22:h=s.stateNode,v=s.alternate,s.memoizedState!==null?h._visibility&2?jn(t,s,r,l):er(t,s):h._visibility&2?jn(t,s,r,l):(h._visibility|=2,Li(t,s,r,l,(s.subtreeFlags&10256)!==0)),d&2048&&Ju(v,s);break;case 24:jn(t,s,r,l),d&2048&&ed(s.alternate,s);break;default:jn(t,s,r,l)}}function Li(t,s,r,l,d){for(d=d&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var h=t,v=s,S=r,k=l,D=v.flags;switch(v.tag){case 0:case 11:case 15:Li(h,v,S,k,d),Za(8,v);break;case 23:break;case 22:var G=v.stateNode;v.memoizedState!==null?G._visibility&2?Li(h,v,S,k,d):er(h,v):(G._visibility|=2,Li(h,v,S,k,d)),d&&D&2048&&Ju(v.alternate,v);break;case 24:Li(h,v,S,k,d),d&&D&2048&&ed(v.alternate,v);break;default:Li(h,v,S,k,d)}s=s.sibling}}function er(t,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var r=t,l=s,d=l.flags;switch(l.tag){case 22:er(r,l),d&2048&&Ju(l.alternate,l);break;case 24:er(r,l),d&2048&&ed(l.alternate,l);break;default:er(r,l)}s=s.sibling}}var tr=8192;function zi(t){if(t.subtreeFlags&tr)for(t=t.child;t!==null;)iy(t),t=t.sibling}function iy(t){switch(t.tag){case 26:zi(t),t.flags&tr&&t.memoizedState!==null&&u_(cn,t.memoizedState,t.memoizedProps);break;case 5:zi(t);break;case 3:case 4:var s=cn;cn=il(t.stateNode.containerInfo),zi(t),cn=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=tr,tr=16777216,zi(t),tr=s):zi(t));break;default:zi(t)}}function ay(t){var s=t.alternate;if(s!==null&&(t=s.child,t!==null)){s.child=null;do s=t.sibling,t.sibling=null,t=s;while(t!==null)}}function nr(t){var s=t.deletions;if((t.flags&16)!==0){if(s!==null)for(var r=0;r<s.length;r++){var l=s[r];ft=l,oy(l,t)}ay(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ry(t),t=t.sibling}function ry(t){switch(t.tag){case 0:case 11:case 15:nr(t),t.flags&2048&&ls(9,t,t.return);break;case 3:nr(t);break;case 12:nr(t);break;case 22:var s=t.stateNode;t.memoizedState!==null&&s._visibility&2&&(t.return===null||t.return.tag!==13)?(s._visibility&=-3,Yo(t)):nr(t);break;default:nr(t)}}function Yo(t){var s=t.deletions;if((t.flags&16)!==0){if(s!==null)for(var r=0;r<s.length;r++){var l=s[r];ft=l,oy(l,t)}ay(t)}for(t=t.child;t!==null;){switch(s=t,s.tag){case 0:case 11:case 15:ls(8,s,s.return),Yo(s);break;case 22:r=s.stateNode,r._visibility&2&&(r._visibility&=-3,Yo(s));break;default:Yo(s)}t=t.sibling}}function oy(t,s){for(;ft!==null;){var r=ft;switch(r.tag){case 0:case 11:case 15:ls(8,r,s);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:za(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,ft=l;else e:for(r=t;ft!==null;){l=ft;var d=l.sibling,h=l.return;if(Zg(l),l===r){ft=null;break e}if(d!==null){d.return=h,ft=d;break e}ft=h}}}var A2={getCacheForType:function(t){var s=bt(st),r=s.data.get(t);return r===void 0&&(r=t(),s.data.set(t,r)),r}},E2=typeof WeakMap=="function"?WeakMap:Map,Re=0,Ie=null,je=null,Ee=0,Me=0,It=null,ds=!1,Vi=!1,td=!1,Gn=0,$e=0,fs=0,Ws=0,nd=0,en=0,Bi=0,sr=null,Pt=null,sd=!1,id=0,Ko=1/0,$o=null,hs=null,gt=0,ms=null,Ii=null,Hi=0,ad=0,rd=null,ly=null,ir=0,od=null;function Ht(){if((Re&2)!==0&&Ee!==0)return Ee&-Ee;if(B.T!==null){var t=Ci;return t!==0?t:md()}return _m()}function cy(){en===0&&(en=(Ee&536870912)===0||Ce?bm():536870912);var t=Jt.current;return t!==null&&(t.flags|=32),en}function Gt(t,s,r){(t===Ie&&(Me===2||Me===9)||t.cancelPendingCommit!==null)&&(Gi(t,0),ps(t,Ee,en,!1)),Sa(t,r),((Re&2)===0||t!==Ie)&&(t===Ie&&((Re&2)===0&&(Ws|=r),$e===4&&ps(t,Ee,en,!1)),_n(t))}function uy(t,s,r){if((Re&6)!==0)throw Error(i(327));var l=!r&&(s&124)===0&&(s&t.expiredLanes)===0||wa(t,s),d=l?N2(t,s):ud(t,s,!0),h=l;do{if(d===0){Vi&&!l&&ps(t,s,0,!1);break}else{if(r=t.current.alternate,h&&!k2(r)){d=ud(t,s,!1),h=!1;continue}if(d===2){if(h=s,t.errorRecoveryDisabledLanes&h)var v=0;else v=t.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){s=v;e:{var S=t;d=sr;var k=S.current.memoizedState.isDehydrated;if(k&&(Gi(S,v).flags|=256),v=ud(S,v,!1),v!==2){if(td&&!k){S.errorRecoveryDisabledLanes|=h,Ws|=h,d=4;break e}h=Pt,Pt=d,h!==null&&(Pt===null?Pt=h:Pt.push.apply(Pt,h))}d=v}if(h=!1,d!==2)continue}}if(d===1){Gi(t,0),ps(t,s,0,!0);break}e:{switch(l=t,h=d,h){case 0:case 1:throw Error(i(345));case 4:if((s&4194048)!==s)break;case 6:ps(l,s,en,!ds);break e;case 2:Pt=null;break;case 3:case 5:break;default:throw Error(i(329))}if((s&62914560)===s&&(d=id+300-vn(),10<d)){if(ps(l,s,en,!ds),io(l,0,!0)!==0)break e;l.timeoutHandle=Vy(dy.bind(null,l,r,Pt,$o,sd,s,en,Ws,Bi,ds,h,2,-0,0),d);break e}dy(l,r,Pt,$o,sd,s,en,Ws,Bi,ds,h,0,-0,0)}}break}while(!0);_n(t)}function dy(t,s,r,l,d,h,v,S,k,D,G,$,U,z){if(t.timeoutHandle=-1,$=s.subtreeFlags,($&8192||($&16785408)===16785408)&&(dr={stylesheets:null,count:0,unsuspend:c_},iy(s),$=d_(),$!==null)){t.cancelPendingCommit=$(xy.bind(null,t,s,h,r,l,d,v,S,k,G,1,U,z)),ps(t,h,v,!D);return}xy(t,s,h,r,l,d,v,S,k)}function k2(t){for(var s=t;;){var r=s.tag;if((r===0||r===11||r===15)&&s.flags&16384&&(r=s.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var d=r[l],h=d.getSnapshot;d=d.value;try{if(!Lt(h(),d))return!1}catch{return!1}}if(r=s.child,s.subtreeFlags&16384&&r!==null)r.return=s,s=r;else{if(s===t)break;for(;s.sibling===null;){if(s.return===null||s.return===t)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function ps(t,s,r,l){s&=~nd,s&=~Ws,t.suspendedLanes|=s,t.pingedLanes&=~s,l&&(t.warmLanes|=s),l=t.expirationTimes;for(var d=s;0<d;){var h=31-Ut(d),v=1<<h;l[h]=-1,d&=~v}r!==0&&Sm(t,r,s)}function Wo(){return(Re&6)===0?(ar(0),!1):!0}function ld(){if(je!==null){if(Me===0)var t=je.return;else t=je,Dn=Gs=null,Tu(t),Di=null,Wa=0,t=je;for(;t!==null;)qg(t.alternate,t),t=t.return;je=null}}function Gi(t,s){var r=t.timeoutHandle;r!==-1&&(t.timeoutHandle=-1,Y2(r)),r=t.cancelPendingCommit,r!==null&&(t.cancelPendingCommit=null,r()),ld(),Ie=t,je=r=Mn(t.current,null),Ee=s,Me=0,It=null,ds=!1,Vi=wa(t,s),td=!1,Bi=en=nd=Ws=fs=$e=0,Pt=sr=null,sd=!1,(s&8)!==0&&(s|=s&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=s;0<l;){var d=31-Ut(l),h=1<<d;s|=t[d],l&=~h}return Gn=s,yo(),r}function fy(t,s){be=null,B.H=Uo,s===Ba||s===Ao?(s=Cp(),Me=3):s===Ap?(s=Cp(),Me=4):Me=s===Ng?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,It=s,je===null&&($e=1,Io(t,Wt(s,t.current)))}function hy(){var t=B.H;return B.H=Uo,t===null?Uo:t}function my(){var t=B.A;return B.A=A2,t}function cd(){$e=4,ds||(Ee&4194048)!==Ee&&Jt.current!==null||(Vi=!0),(fs&134217727)===0&&(Ws&134217727)===0||Ie===null||ps(Ie,Ee,en,!1)}function ud(t,s,r){var l=Re;Re|=2;var d=hy(),h=my();(Ie!==t||Ee!==s)&&($o=null,Gi(t,s)),s=!1;var v=$e;e:do try{if(Me!==0&&je!==null){var S=je,k=It;switch(Me){case 8:ld(),v=6;break e;case 3:case 2:case 9:case 6:Jt.current===null&&(s=!0);var D=Me;if(Me=0,It=null,qi(t,S,k,D),r&&Vi){v=0;break e}break;default:D=Me,Me=0,It=null,qi(t,S,k,D)}}C2(),v=$e;break}catch(G){fy(t,G)}while(!0);return s&&t.shellSuspendCounter++,Dn=Gs=null,Re=l,B.H=d,B.A=h,je===null&&(Ie=null,Ee=0,yo()),v}function C2(){for(;je!==null;)py(je)}function N2(t,s){var r=Re;Re|=2;var l=hy(),d=my();Ie!==t||Ee!==s?($o=null,Ko=vn()+500,Gi(t,s)):Vi=wa(t,s);e:do try{if(Me!==0&&je!==null){s=je;var h=It;t:switch(Me){case 1:Me=0,It=null,qi(t,s,h,1);break;case 2:case 9:if(Ep(h)){Me=0,It=null,gy(s);break}s=function(){Me!==2&&Me!==9||Ie!==t||(Me=7),_n(t)},h.then(s,s);break e;case 3:Me=7;break e;case 4:Me=5;break e;case 7:Ep(h)?(Me=0,It=null,gy(s)):(Me=0,It=null,qi(t,s,h,7));break;case 5:var v=null;switch(je.tag){case 26:v=je.memoizedState;case 5:case 27:var S=je;if(!v||Qy(v)){Me=0,It=null;var k=S.sibling;if(k!==null)je=k;else{var D=S.return;D!==null?(je=D,Xo(D)):je=null}break t}}Me=0,It=null,qi(t,s,h,5);break;case 6:Me=0,It=null,qi(t,s,h,6);break;case 8:ld(),$e=6;break e;default:throw Error(i(462))}}R2();break}catch(G){fy(t,G)}while(!0);return Dn=Gs=null,B.H=l,B.A=d,Re=r,je!==null?0:(Ie=null,Ee=0,yo(),$e)}function R2(){for(;je!==null&&!JS();)py(je)}function py(t){var s=Hg(t.alternate,t,Gn);t.memoizedProps=t.pendingProps,s===null?Xo(t):je=s}function gy(t){var s=t,r=s.alternate;switch(s.tag){case 15:case 0:s=Ug(r,s,s.pendingProps,s.type,void 0,Ee);break;case 11:s=Ug(r,s,s.pendingProps,s.type.render,s.ref,Ee);break;case 5:Tu(s);default:qg(r,s),s=je=yp(s,Gn),s=Hg(r,s,Gn)}t.memoizedProps=t.pendingProps,s===null?Xo(t):je=s}function qi(t,s,r,l){Dn=Gs=null,Tu(s),Di=null,Wa=0;var d=s.return;try{if(b2(t,d,s,r,Ee)){$e=1,Io(t,Wt(r,t.current)),je=null;return}}catch(h){if(d!==null)throw je=d,h;$e=1,Io(t,Wt(r,t.current)),je=null;return}s.flags&32768?(Ce||l===1?t=!0:Vi||(Ee&536870912)!==0?t=!1:(ds=t=!0,(l===2||l===9||l===3||l===6)&&(l=Jt.current,l!==null&&l.tag===13&&(l.flags|=16384))),yy(s,t)):Xo(s)}function Xo(t){var s=t;do{if((s.flags&32768)!==0){yy(s,ds);return}t=s.return;var r=S2(s.alternate,s,Gn);if(r!==null){je=r;return}if(s=s.sibling,s!==null){je=s;return}je=s=t}while(s!==null);$e===0&&($e=5)}function yy(t,s){do{var r=j2(t.alternate,t);if(r!==null){r.flags&=32767,je=r;return}if(r=t.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!s&&(t=t.sibling,t!==null)){je=t;return}je=t=r}while(t!==null);$e=6,je=null}function xy(t,s,r,l,d,h,v,S,k){t.cancelPendingCommit=null;do Qo();while(gt!==0);if((Re&6)!==0)throw Error(i(327));if(s!==null){if(s===t.current)throw Error(i(177));if(h=s.lanes|s.childLanes,h|=eu,cj(t,r,h,v,S,k),t===Ie&&(je=Ie=null,Ee=0),Ii=s,ms=t,Hi=r,ad=h,rd=d,ly=l,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,D2(to,function(){return jy(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||l){l=B.T,B.T=null,d=W.p,W.p=2,v=Re,Re|=4;try{_2(t,s,r)}finally{Re=v,W.p=d,B.T=l}}gt=1,vy(),by(),wy()}}function vy(){if(gt===1){gt=0;var t=ms,s=Ii,r=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||r){r=B.T,B.T=null;var l=W.p;W.p=2;var d=Re;Re|=4;try{ty(s,t);var h=Sd,v=op(t.containerInfo),S=h.focusedElem,k=h.selectionRange;if(v!==S&&S&&S.ownerDocument&&rp(S.ownerDocument.documentElement,S)){if(k!==null&&Wc(S)){var D=k.start,G=k.end;if(G===void 0&&(G=D),"selectionStart"in S)S.selectionStart=D,S.selectionEnd=Math.min(G,S.value.length);else{var $=S.ownerDocument||document,U=$&&$.defaultView||window;if(U.getSelection){var z=U.getSelection(),ge=S.textContent.length,he=Math.min(k.start,ge),Ue=k.end===void 0?he:Math.min(k.end,ge);!z.extend&&he>Ue&&(v=Ue,Ue=he,he=v);var M=ap(S,he),C=ap(S,Ue);if(M&&C&&(z.rangeCount!==1||z.anchorNode!==M.node||z.anchorOffset!==M.offset||z.focusNode!==C.node||z.focusOffset!==C.offset)){var P=$.createRange();P.setStart(M.node,M.offset),z.removeAllRanges(),he>Ue?(z.addRange(P),z.extend(C.node,C.offset)):(P.setEnd(C.node,C.offset),z.addRange(P))}}}}for($=[],z=S;z=z.parentNode;)z.nodeType===1&&$.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<$.length;S++){var F=$[S];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}cl=!!wd,Sd=wd=null}finally{Re=d,W.p=l,B.T=r}}t.current=s,gt=2}}function by(){if(gt===2){gt=0;var t=ms,s=Ii,r=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||r){r=B.T,B.T=null;var l=W.p;W.p=2;var d=Re;Re|=4;try{Qg(t,s.alternate,s)}finally{Re=d,W.p=l,B.T=r}}gt=3}}function wy(){if(gt===4||gt===3){gt=0,ej();var t=ms,s=Ii,r=Hi,l=ly;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?gt=5:(gt=0,Ii=ms=null,Sy(t,t.pendingLanes));var d=t.pendingLanes;if(d===0&&(hs=null),kc(r),s=s.stateNode,Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(ba,s,void 0,(s.current.flags&128)===128)}catch{}if(l!==null){s=B.T,d=W.p,W.p=2,B.T=null;try{for(var h=t.onRecoverableError,v=0;v<l.length;v++){var S=l[v];h(S.value,{componentStack:S.stack})}}finally{B.T=s,W.p=d}}(Hi&3)!==0&&Qo(),_n(t),d=t.pendingLanes,(r&4194090)!==0&&(d&42)!==0?t===od?ir++:(ir=0,od=t):ir=0,ar(0)}}function Sy(t,s){(t.pooledCacheLanes&=s)===0&&(s=t.pooledCache,s!=null&&(t.pooledCache=null,za(s)))}function Qo(t){return vy(),by(),wy(),jy()}function jy(){if(gt!==5)return!1;var t=ms,s=ad;ad=0;var r=kc(Hi),l=B.T,d=W.p;try{W.p=32>r?32:r,B.T=null,r=rd,rd=null;var h=ms,v=Hi;if(gt=0,Ii=ms=null,Hi=0,(Re&6)!==0)throw Error(i(331));var S=Re;if(Re|=4,ry(h.current),sy(h,h.current,v,r),Re=S,ar(0,!1),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(ba,h)}catch{}return!0}finally{W.p=d,B.T=l,Sy(t,s)}}function _y(t,s,r){s=Wt(r,s),s=Vu(t.stateNode,s,2),t=is(t,s,2),t!==null&&(Sa(t,2),_n(t))}function Ve(t,s,r){if(t.tag===3)_y(t,t,r);else for(;s!==null;){if(s.tag===3){_y(s,t,r);break}else if(s.tag===1){var l=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(hs===null||!hs.has(l))){t=Wt(r,t),r=kg(2),l=is(s,r,2),l!==null&&(Cg(r,l,s,t),Sa(l,2),_n(l));break}}s=s.return}}function dd(t,s,r){var l=t.pingCache;if(l===null){l=t.pingCache=new E2;var d=new Set;l.set(s,d)}else d=l.get(s),d===void 0&&(d=new Set,l.set(s,d));d.has(r)||(td=!0,d.add(r),t=M2.bind(null,t,s,r),s.then(t,t))}function M2(t,s,r){var l=t.pingCache;l!==null&&l.delete(s),t.pingedLanes|=t.suspendedLanes&r,t.warmLanes&=~r,Ie===t&&(Ee&r)===r&&($e===4||$e===3&&(Ee&62914560)===Ee&&300>vn()-id?(Re&2)===0&&Gi(t,0):nd|=r,Bi===Ee&&(Bi=0)),_n(t)}function Ty(t,s){s===0&&(s=wm()),t=Ti(t,s),t!==null&&(Sa(t,s),_n(t))}function O2(t){var s=t.memoizedState,r=0;s!==null&&(r=s.retryLane),Ty(t,r)}function P2(t,s){var r=0;switch(t.tag){case 13:var l=t.stateNode,d=t.memoizedState;d!==null&&(r=d.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(i(314))}l!==null&&l.delete(s),Ty(t,r)}function D2(t,s){return Ms(t,s)}var Zo=null,Fi=null,fd=!1,Jo=!1,hd=!1,Xs=0;function _n(t){t!==Fi&&t.next===null&&(Fi===null?Zo=Fi=t:Fi=Fi.next=t),Jo=!0,fd||(fd=!0,L2())}function ar(t,s){if(!hd&&Jo){hd=!0;do for(var r=!1,l=Zo;l!==null;){if(t!==0){var d=l.pendingLanes;if(d===0)var h=0;else{var v=l.suspendedLanes,S=l.pingedLanes;h=(1<<31-Ut(42|t)+1)-1,h&=d&~(v&~S),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(r=!0,Cy(l,h))}else h=Ee,h=io(l,l===Ie?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||wa(l,h)||(r=!0,Cy(l,h));l=l.next}while(r);hd=!1}}function U2(){Ay()}function Ay(){Jo=fd=!1;var t=0;Xs!==0&&(F2()&&(t=Xs),Xs=0);for(var s=vn(),r=null,l=Zo;l!==null;){var d=l.next,h=Ey(l,s);h===0?(l.next=null,r===null?Zo=d:r.next=d,d===null&&(Fi=r)):(r=l,(t!==0||(h&3)!==0)&&(Jo=!0)),l=d}ar(t)}function Ey(t,s){for(var r=t.suspendedLanes,l=t.pingedLanes,d=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var v=31-Ut(h),S=1<<v,k=d[v];k===-1?((S&r)===0||(S&l)!==0)&&(d[v]=lj(S,s)):k<=s&&(t.expiredLanes|=S),h&=~S}if(s=Ie,r=Ee,r=io(t,t===s?r:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,r===0||t===s&&(Me===2||Me===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Qn(l),t.callbackNode=null,t.callbackPriority=0;if((r&3)===0||wa(t,r)){if(s=r&-r,s===t.callbackPriority)return s;switch(l!==null&&Qn(l),kc(r)){case 2:case 8:r=xm;break;case 32:r=to;break;case 268435456:r=vm;break;default:r=to}return l=ky.bind(null,t),r=Ms(r,l),t.callbackPriority=s,t.callbackNode=r,s}return l!==null&&l!==null&&Qn(l),t.callbackPriority=2,t.callbackNode=null,2}function ky(t,s){if(gt!==0&&gt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var r=t.callbackNode;if(Qo()&&t.callbackNode!==r)return null;var l=Ee;return l=io(t,t===Ie?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(uy(t,l,s),Ey(t,vn()),t.callbackNode!=null&&t.callbackNode===r?ky.bind(null,t):null)}function Cy(t,s){if(Qo())return null;uy(t,s,!0)}function L2(){K2(function(){(Re&6)!==0?Ms(ym,U2):Ay()})}function md(){return Xs===0&&(Xs=bm()),Xs}function Ny(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:co(""+t)}function Ry(t,s){var r=s.ownerDocument.createElement("input");return r.name=s.name,r.value=s.value,t.id&&r.setAttribute("form",t.id),s.parentNode.insertBefore(r,s),t=new FormData(t),r.parentNode.removeChild(r),t}function z2(t,s,r,l,d){if(s==="submit"&&r&&r.stateNode===d){var h=Ny((d[Nt]||null).action),v=l.submitter;v&&(s=(s=v[Nt]||null)?Ny(s.formAction):v.getAttribute("formAction"),s!==null&&(h=s,v=null));var S=new mo("action","action",null,l,d);t.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Xs!==0){var k=v?Ry(d,v):new FormData(d);Pu(r,{pending:!0,data:k,method:d.method,action:h},null,k)}}else typeof h=="function"&&(S.preventDefault(),k=v?Ry(d,v):new FormData(d),Pu(r,{pending:!0,data:k,method:d.method,action:h},h,k))},currentTarget:d}]})}}for(var pd=0;pd<Jc.length;pd++){var gd=Jc[pd],V2=gd.toLowerCase(),B2=gd[0].toUpperCase()+gd.slice(1);ln(V2,"on"+B2)}ln(up,"onAnimationEnd"),ln(dp,"onAnimationIteration"),ln(fp,"onAnimationStart"),ln("dblclick","onDoubleClick"),ln("focusin","onFocus"),ln("focusout","onBlur"),ln(s2,"onTransitionRun"),ln(i2,"onTransitionStart"),ln(a2,"onTransitionCancel"),ln(hp,"onTransitionEnd"),pi("onMouseEnter",["mouseout","mouseover"]),pi("onMouseLeave",["mouseout","mouseover"]),pi("onPointerEnter",["pointerout","pointerover"]),pi("onPointerLeave",["pointerout","pointerover"]),Ps("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ps("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ps("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ps("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ps("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ps("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rr="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(" "),I2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(rr));function My(t,s){s=(s&4)!==0;for(var r=0;r<t.length;r++){var l=t[r],d=l.event;l=l.listeners;e:{var h=void 0;if(s)for(var v=l.length-1;0<=v;v--){var S=l[v],k=S.instance,D=S.currentTarget;if(S=S.listener,k!==h&&d.isPropagationStopped())break e;h=S,d.currentTarget=D;try{h(d)}catch(G){Bo(G)}d.currentTarget=null,h=k}else for(v=0;v<l.length;v++){if(S=l[v],k=S.instance,D=S.currentTarget,S=S.listener,k!==h&&d.isPropagationStopped())break e;h=S,d.currentTarget=D;try{h(d)}catch(G){Bo(G)}d.currentTarget=null,h=k}}}}function _e(t,s){var r=s[Cc];r===void 0&&(r=s[Cc]=new Set);var l=t+"__bubble";r.has(l)||(Oy(s,t,2,!1),r.add(l))}function yd(t,s,r){var l=0;s&&(l|=4),Oy(r,t,l,s)}var el="_reactListening"+Math.random().toString(36).slice(2);function xd(t){if(!t[el]){t[el]=!0,Am.forEach(function(r){r!=="selectionchange"&&(I2.has(r)||yd(r,!1,t),yd(r,!0,t))});var s=t.nodeType===9?t:t.ownerDocument;s===null||s[el]||(s[el]=!0,yd("selectionchange",!1,s))}}function Oy(t,s,r,l){switch(s0(s)){case 2:var d=m_;break;case 8:d=p_;break;default:d=Md}r=d.bind(null,s,r,t),d=void 0,!Bc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(d=!0),l?d!==void 0?t.addEventListener(s,r,{capture:!0,passive:d}):t.addEventListener(s,r,!0):d!==void 0?t.addEventListener(s,r,{passive:d}):t.addEventListener(s,r,!1)}function vd(t,s,r,l,d){var h=l;if((s&1)===0&&(s&2)===0&&l!==null)e:for(;;){if(l===null)return;var v=l.tag;if(v===3||v===4){var S=l.stateNode.containerInfo;if(S===d)break;if(v===4)for(v=l.return;v!==null;){var k=v.tag;if((k===3||k===4)&&v.stateNode.containerInfo===d)return;v=v.return}for(;S!==null;){if(v=fi(S),v===null)return;if(k=v.tag,k===5||k===6||k===26||k===27){l=h=v;continue e}S=S.parentNode}}l=l.return}Bm(function(){var D=h,G=zc(r),$=[];e:{var U=mp.get(t);if(U!==void 0){var z=mo,ge=t;switch(t){case"keypress":if(fo(r)===0)break e;case"keydown":case"keyup":z=Dj;break;case"focusin":ge="focus",z=qc;break;case"focusout":ge="blur",z=qc;break;case"beforeblur":case"afterblur":z=qc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=Gm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=jj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=zj;break;case up:case dp:case fp:z=Aj;break;case hp:z=Bj;break;case"scroll":case"scrollend":z=wj;break;case"wheel":z=Hj;break;case"copy":case"cut":case"paste":z=kj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Fm;break;case"toggle":case"beforetoggle":z=qj}var he=(s&4)!==0,Ue=!he&&(t==="scroll"||t==="scrollend"),M=he?U!==null?U+"Capture":null:U;he=[];for(var C=D,P;C!==null;){var F=C;if(P=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||P===null||M===null||(F=Ta(C,M),F!=null&&he.push(or(C,F,P))),Ue)break;C=C.return}0<he.length&&(U=new z(U,ge,null,r,G),$.push({event:U,listeners:he}))}}if((s&7)===0){e:{if(U=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",U&&r!==Lc&&(ge=r.relatedTarget||r.fromElement)&&(fi(ge)||ge[di]))break e;if((z||U)&&(U=G.window===G?G:(U=G.ownerDocument)?U.defaultView||U.parentWindow:window,z?(ge=r.relatedTarget||r.toElement,z=D,ge=ge?fi(ge):null,ge!==null&&(Ue=c(ge),he=ge.tag,ge!==Ue||he!==5&&he!==27&&he!==6)&&(ge=null)):(z=null,ge=D),z!==ge)){if(he=Gm,F="onMouseLeave",M="onMouseEnter",C="mouse",(t==="pointerout"||t==="pointerover")&&(he=Fm,F="onPointerLeave",M="onPointerEnter",C="pointer"),Ue=z==null?U:_a(z),P=ge==null?U:_a(ge),U=new he(F,C+"leave",z,r,G),U.target=Ue,U.relatedTarget=P,F=null,fi(G)===D&&(he=new he(M,C+"enter",ge,r,G),he.target=P,he.relatedTarget=Ue,F=he),Ue=F,z&&ge)t:{for(he=z,M=ge,C=0,P=he;P;P=Yi(P))C++;for(P=0,F=M;F;F=Yi(F))P++;for(;0<C-P;)he=Yi(he),C--;for(;0<P-C;)M=Yi(M),P--;for(;C--;){if(he===M||M!==null&&he===M.alternate)break t;he=Yi(he),M=Yi(M)}he=null}else he=null;z!==null&&Py($,U,z,he,!1),ge!==null&&Ue!==null&&Py($,Ue,ge,he,!0)}}e:{if(U=D?_a(D):window,z=U.nodeName&&U.nodeName.toLowerCase(),z==="select"||z==="input"&&U.type==="file")var ie=Jm;else if(Qm(U))if(ep)ie=e2;else{ie=Zj;var Se=Qj}else z=U.nodeName,!z||z.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?D&&Uc(D.elementType)&&(ie=Jm):ie=Jj;if(ie&&(ie=ie(t,D))){Zm($,ie,r,G);break e}Se&&Se(t,U,D),t==="focusout"&&D&&U.type==="number"&&D.memoizedProps.value!=null&&Dc(U,"number",U.value)}switch(Se=D?_a(D):window,t){case"focusin":(Qm(Se)||Se.contentEditable==="true")&&(Si=Se,Xc=D,Oa=null);break;case"focusout":Oa=Xc=Si=null;break;case"mousedown":Qc=!0;break;case"contextmenu":case"mouseup":case"dragend":Qc=!1,lp($,r,G);break;case"selectionchange":if(n2)break;case"keydown":case"keyup":lp($,r,G)}var ce;if(Yc)e:{switch(t){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else wi?Wm(t,r)&&(me="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(me="onCompositionStart");me&&(Ym&&r.locale!=="ko"&&(wi||me!=="onCompositionStart"?me==="onCompositionEnd"&&wi&&(ce=Im()):(es=G,Ic="value"in es?es.value:es.textContent,wi=!0)),Se=tl(D,me),0<Se.length&&(me=new qm(me,t,null,r,G),$.push({event:me,listeners:Se}),ce?me.data=ce:(ce=Xm(r),ce!==null&&(me.data=ce)))),(ce=Yj?Kj(t,r):$j(t,r))&&(me=tl(D,"onBeforeInput"),0<me.length&&(Se=new qm("onBeforeInput","beforeinput",null,r,G),$.push({event:Se,listeners:me}),Se.data=ce)),z2($,t,D,r,G)}My($,s)})}function or(t,s,r){return{instance:t,listener:s,currentTarget:r}}function tl(t,s){for(var r=s+"Capture",l=[];t!==null;){var d=t,h=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||h===null||(d=Ta(t,r),d!=null&&l.unshift(or(t,d,h)),d=Ta(t,s),d!=null&&l.push(or(t,d,h))),t.tag===3)return l;t=t.return}return[]}function Yi(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Py(t,s,r,l,d){for(var h=s._reactName,v=[];r!==null&&r!==l;){var S=r,k=S.alternate,D=S.stateNode;if(S=S.tag,k!==null&&k===l)break;S!==5&&S!==26&&S!==27||D===null||(k=D,d?(D=Ta(r,h),D!=null&&v.unshift(or(r,D,k))):d||(D=Ta(r,h),D!=null&&v.push(or(r,D,k)))),r=r.return}v.length!==0&&t.push({event:s,listeners:v})}var H2=/\r\n?/g,G2=/\u0000|\uFFFD/g;function Dy(t){return(typeof t=="string"?t:""+t).replace(H2,`
10`).replace(G2,"")}function Uy(t,s){return s=Dy(s),Dy(t)===s}function nl(){}function De(t,s,r,l,d,h){switch(r){case"children":typeof l=="string"?s==="body"||s==="textarea"&&l===""||xi(t,l):(typeof l=="number"||typeof l=="bigint")&&s!=="body"&&xi(t,""+l);break;case"className":ro(t,"class",l);break;case"tabIndex":ro(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ro(t,r,l);break;case"style":zm(t,l,h);break;case"data":if(s!=="object"){ro(t,"data",l);break}case"src":case"href":if(l===""&&(s!=="a"||r!=="href")){t.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(r);break}l=co(""+l),t.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(r==="formAction"?(s!=="input"&&De(t,s,"name",d.name,d,null),De(t,s,"formEncType",d.formEncType,d,null),De(t,s,"formMethod",d.formMethod,d,null),De(t,s,"formTarget",d.formTarget,d,null)):(De(t,s,"encType",d.encType,d,null),De(t,s,"method",d.method,d,null),De(t,s,"target",d.target,d,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(r);break}l=co(""+l),t.setAttribute(r,l);break;case"onClick":l!=null&&(t.onclick=nl);break;case"onScroll":l!=null&&_e("scroll",t);break;case"onScrollEnd":l!=null&&_e("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(i(61));if(r=l.__html,r!=null){if(d.children!=null)throw Error(i(60));t.innerHTML=r}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}r=co(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(r,""+l):t.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(r,""):t.removeAttribute(r);break;case"capture":case"download":l===!0?t.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(r,l):t.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(r,l):t.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(r):t.setAttribute(r,l);break;case"popover":_e("beforetoggle",t),_e("toggle",t),ao(t,"popover",l);break;case"xlinkActuate":Nn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Nn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Nn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Nn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Nn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Nn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Nn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Nn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Nn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ao(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=vj.get(r)||r,ao(t,r,l))}}function bd(t,s,r,l,d,h){switch(r){case"style":zm(t,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(i(61));if(r=l.__html,r!=null){if(d.children!=null)throw Error(i(60));t.innerHTML=r}}break;case"children":typeof l=="string"?xi(t,l):(typeof l=="number"||typeof l=="bigint")&&xi(t,""+l);break;case"onScroll":l!=null&&_e("scroll",t);break;case"onScrollEnd":l!=null&&_e("scrollend",t);break;case"onClick":l!=null&&(t.onclick=nl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Em.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(d=r.endsWith("Capture"),s=r.slice(2,d?r.length-7:void 0),h=t[Nt]||null,h=h!=null?h[r]:null,typeof h=="function"&&t.removeEventListener(s,h,d),typeof l=="function")){typeof h!="function"&&h!==null&&(r in t?t[r]=null:t.hasAttribute(r)&&t.removeAttribute(r)),t.addEventListener(s,l,d);break e}r in t?t[r]=l:l===!0?t.setAttribute(r,""):ao(t,r,l)}}}function yt(t,s,r){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",t),_e("load",t);var l=!1,d=!1,h;for(h in r)if(r.hasOwnProperty(h)){var v=r[h];if(v!=null)switch(h){case"src":l=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:De(t,s,h,v,r,null)}}d&&De(t,s,"srcSet",r.srcSet,r,null),l&&De(t,s,"src",r.src,r,null);return;case"input":_e("invalid",t);var S=h=v=d=null,k=null,D=null;for(l in r)if(r.hasOwnProperty(l)){var G=r[l];if(G!=null)switch(l){case"name":d=G;break;case"type":v=G;break;case"checked":k=G;break;case"defaultChecked":D=G;break;case"value":h=G;break;case"defaultValue":S=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(i(137,s));break;default:De(t,s,l,G,r,null)}}Pm(t,h,S,k,D,v,d,!1),oo(t);return;case"select":_e("invalid",t),l=v=h=null;for(d in r)if(r.hasOwnProperty(d)&&(S=r[d],S!=null))switch(d){case"value":h=S;break;case"defaultValue":v=S;break;case"multiple":l=S;default:De(t,s,d,S,r,null)}s=h,r=v,t.multiple=!!l,s!=null?yi(t,!!l,s,!1):r!=null&&yi(t,!!l,r,!0);return;case"textarea":_e("invalid",t),h=d=l=null;for(v in r)if(r.hasOwnProperty(v)&&(S=r[v],S!=null))switch(v){case"value":l=S;break;case"defaultValue":d=S;break;case"children":h=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(i(91));break;default:De(t,s,v,S,r,null)}Um(t,l,d,h),oo(t);return;case"option":for(k in r)r.hasOwnProperty(k)&&(l=r[k],l!=null)&&(k==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":De(t,s,k,l,r,null));return;case"dialog":_e("beforetoggle",t),_e("toggle",t),_e("cancel",t),_e("close",t);break;case"iframe":case"object":_e("load",t);break;case"video":case"audio":for(l=0;l<rr.length;l++)_e(rr[l],t);break;case"image":_e("error",t),_e("load",t);break;case"details":_e("toggle",t);break;case"embed":case"source":case"link":_e("error",t),_e("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in r)if(r.hasOwnProperty(D)&&(l=r[D],l!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:De(t,s,D,l,r,null)}return;default:if(Uc(s)){for(G in r)r.hasOwnProperty(G)&&(l=r[G],l!==void 0&&bd(t,s,G,l,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(l=r[S],l!=null&&De(t,s,S,l,r,null))}function q2(t,s,r,l){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,h=null,v=null,S=null,k=null,D=null,G=null;for(z in r){var $=r[z];if(r.hasOwnProperty(z)&&$!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":k=$;default:l.hasOwnProperty(z)||De(t,s,z,null,l,$)}}for(var U in l){var z=l[U];if($=r[U],l.hasOwnProperty(U)&&(z!=null||$!=null))switch(U){case"type":h=z;break;case"name":d=z;break;case"checked":D=z;break;case"defaultChecked":G=z;break;case"value":v=z;break;case"defaultValue":S=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(i(137,s));break;default:z!==$&&De(t,s,U,z,l,$)}}Pc(t,v,S,k,D,G,h,d);return;case"select":z=v=S=U=null;for(h in r)if(k=r[h],r.hasOwnProperty(h)&&k!=null)switch(h){case"value":break;case"multiple":z=k;default:l.hasOwnProperty(h)||De(t,s,h,null,l,k)}
vendor: 10,313 bytes, line 10
10for(d in l)if(h=l[d],k=r[d],l.hasOwnProperty(d)&&(h!=null||k!=null))switch(d){case"value":U=h;break;case"defaultValue":S=h;break;case"multiple":v=h;default:h!==k&&De(t,s,d,h,l,k)}s=S,r=v,l=z,U!=null?yi(t,!!r,U,!1):!!l!=!!r&&(s!=null?yi(t,!!r,s,!0):yi(t,!!r,r?[]:"",!1));return;case"textarea":z=U=null;for(S in r)if(d=r[S],r.hasOwnProperty(S)&&d!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:De(t,s,S,null,l,d)}for(v in l)if(d=l[v],h=r[v],l.hasOwnProperty(v)&&(d!=null||h!=null))switch(v){case"value":U=d;break;case"defaultValue":z=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(i(91));break;default:d!==h&&De(t,s,v,d,l,h)}Dm(t,U,z);return;case"option":for(var ge in r)U=r[ge],r.hasOwnProperty(ge)&&U!=null&&!l.hasOwnProperty(ge)&&(ge==="selected"?t.selected=!1:De(t,s,ge,null,l,U));for(k in l)U=l[k],z=r[k],l.hasOwnProperty(k)&&U!==z&&(U!=null||z!=null)&&(k==="selected"?t.selected=U&&typeof U!="function"&&typeof U!="symbol":De(t,s,k,U,l,z));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var he in r)U=r[he],r.hasOwnProperty(he)&&U!=null&&!l.hasOwnProperty(he)&&De(t,s,he,null,l,U);for(D in l)if(U=l[D],z=r[D],l.hasOwnProperty(D)&&U!==z&&(U!=null||z!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(i(137,s));break;default:De(t,s,D,U,l,z)}return;default:if(Uc(s)){for(var Ue in r)U=r[Ue],r.hasOwnProperty(Ue)&&U!==void 0&&!l.hasOwnProperty(Ue)&&bd(t,s,Ue,void 0,l,U);for(G in l)U=l[G],z=r[G],!l.hasOwnProperty(G)||U===z||U===void 0&&z===void 0||bd(t,s,G,U,l,z);return}}for(var M in r)U=r[M],r.hasOwnProperty(M)&&U!=null&&!l.hasOwnProperty(M)&&De(t,s,M,null,l,U);for($ in l)U=l[$],z=r[$],!l.hasOwnProperty($)||U===z||U==null&&z==null||De(t,s,$,U,l,z)}var wd=null,Sd=null;function sl(t){return t.nodeType===9?t:t.ownerDocument}function Ly(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zy(t,s){if(t===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&s==="foreignObject"?0:t}function jd(t,s){return t==="textarea"||t==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var _d=null;function F2(){var t=window.event;return t&&t.type==="popstate"?t===_d?!1:(_d=t,!0):(_d=null,!1)}var Vy=typeof setTimeout=="function"?setTimeout:void 0,Y2=typeof clearTimeout=="function"?clearTimeout:void 0,By=typeof Promise=="function"?Promise:void 0,K2=typeof queueMicrotask=="function"?queueMicrotask:typeof By<"u"?function(t){return By.resolve(null).then(t).catch($2)}:Vy;function $2(t){setTimeout(function(){throw t})}function gs(t){return t==="head"}function Iy(t,s){var r=s,l=0,d=0;do{var h=r.nextSibling;if(t.removeChild(r),h&&h.nodeType===8)if(r=h.data,r==="/$"){if(0<l&&8>l){r=l;var v=t.ownerDocument;if(r&1&&lr(v.documentElement),r&2&&lr(v.body),r&4)for(r=v.head,lr(r),v=r.firstChild;v;){var S=v.nextSibling,k=v.nodeName;v[ja]||k==="SCRIPT"||k==="STYLE"||k==="LINK"&&v.rel.toLowerCase()==="stylesheet"||r.removeChild(v),v=S}}if(d===0){t.removeChild(h),gr(s);return}d--}else r==="$"||r==="$?"||r==="$!"?d++:l=r.charCodeAt(0)-48;else l=0;r=h}while(r);gr(s)}function Td(t){var s=t.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var r=s;switch(s=s.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Td(r),Nc(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}t.removeChild(r)}}function W2(t,s,r,l){for(;t.nodeType===1;){var d=r;if(t.nodeName.toLowerCase()!==s.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[ja])switch(s){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==d.rel||t.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||t.getAttribute("title")!==(d.title==null?null:d.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(d.src==null?null:d.src)||t.getAttribute("type")!==(d.type==null?null:d.type)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(s==="input"&&t.type==="hidden"){var h=d.name==null?null:""+d.name;if(d.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=un(t.nextSibling),t===null)break}return null}function X2(t,s,r){if(s==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=un(t.nextSibling),t===null))return null;return t}function Ad(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function Q2(t,s){var r=t.ownerDocument;if(t.data!=="$?"||r.readyState==="complete")s();else{var l=function(){s(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function un(t){for(;t!=null;t=t.nextSibling){var s=t.nodeType;if(s===1||s===3)break;if(s===8){if(s=t.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return t}var Ed=null;function Hy(t){t=t.previousSibling;for(var s=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(s===0)return t;s--}else r==="/$"&&s++}t=t.previousSibling}return null}function Gy(t,s,r){switch(s=sl(r),t){case"html":if(t=s.documentElement,!t)throw Error(i(452));return t;case"head":if(t=s.head,!t)throw Error(i(453));return t;case"body":if(t=s.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function lr(t){for(var s=t.attributes;s.length;)t.removeAttributeNode(s[0]);Nc(t)}var tn=new Map,qy=new Set;function il(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var qn=W.d;W.d={f:Z2,r:J2,D:e_,C:t_,L:n_,m:s_,X:a_,S:i_,M:r_};function Z2(){var t=qn.f(),s=Wo();return t||s}function J2(t){var s=hi(t);s!==null&&s.tag===5&&s.type==="form"?ug(s):qn.r(t)}var Ki=typeof document>"u"?null:document;function Fy(t,s,r){var l=Ki;if(l&&typeof s=="string"&&s){var d=$t(s);d='link[rel="'+t+'"][href="'+d+'"]',typeof r=="string"&&(d+='[crossorigin="'+r+'"]'),qy.has(d)||(qy.add(d),t={rel:t,crossOrigin:r,href:s},l.querySelector(d)===null&&(s=l.createElement("link"),yt(s,"link",t),ut(s),l.head.appendChild(s)))}}function e_(t){qn.D(t),Fy("dns-prefetch",t,null)}function t_(t,s){qn.C(t,s),Fy("preconnect",t,s)}function n_(t,s,r){qn.L(t,s,r);var l=Ki;if(l&&t&&s){var d='link[rel="preload"][as="'+$t(s)+'"]';s==="image"&&r&&r.imageSrcSet?(d+='[imagesrcset="'+$t(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(d+='[imagesizes="'+$t(r.imageSizes)+'"]')):d+='[href="'+$t(t)+'"]';var h=d;switch(s){case"style":h=$i(t);break;case"script":h=Wi(t)}tn.has(h)||(t=y({rel:"preload",href:s==="image"&&r&&r.imageSrcSet?void 0:t,as:s},r),tn.set(h,t),l.querySelector(d)!==null||s==="style"&&l.querySelector(cr(h))||s==="script"&&l.querySelector(ur(h))||(s=l.createElement("link"),yt(s,"link",t),ut(s),l.head.appendChild(s)))}}function s_(t,s){qn.m(t,s);var r=Ki;if(r&&t){var l=s&&typeof s.as=="string"?s.as:"script",d='link[rel="modulepreload"][as="'+$t(l)+'"][href="'+$t(t)+'"]',h=d;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Wi(t)}if(!tn.has(h)&&(t=y({rel:"modulepreload",href:t},s),tn.set(h,t),r.querySelector(d)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(ur(h)))return}l=r.createElement("link"),yt(l,"link",t),ut(l),r.head.appendChild(l)}}}function i_(t,s,r){qn.S(t,s,r);var l=Ki;if(l&&t){var d=mi(l).hoistableStyles,h=$i(t);s=s||"default";var v=d.get(h);if(!v){var S={loading:0,preload:null};if(v=l.querySelector(cr(h)))S.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":s},r),(r=tn.get(h))&&kd(t,r);var k=v=l.createElement("link");ut(k),yt(k,"link",t),k._p=new Promise(function(D,G){k.onload=D,k.onerror=G}),k.addEventListener("load",function(){S.loading|=1}),k.addEventListener("error",function(){S.loading|=2}),S.loading|=4,al(v,s,l)}v={type:"stylesheet",instance:v,count:1,state:S},d.set(h,v)}}}function a_(t,s){qn.X(t,s);var r=Ki;if(r&&t){var l=mi(r).hoistableScripts,d=Wi(t),h=l.get(d);h||(h=r.querySelector(ur(d)),h||(t=y({src:t,async:!0},s),(s=tn.get(d))&&Cd(t,s),h=r.createElement("script"),ut(h),yt(h,"link",t),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(d,h))}}function r_(t,s){qn.M(t,s);var r=Ki;if(r&&t){var l=mi(r).hoistableScripts,d=Wi(t),h=l.get(d);h||(h=r.querySelector(ur(d)),h||(t=y({src:t,async:!0,type:"module"},s),(s=tn.get(d))&&Cd(t,s),h=r.createElement("script"),ut(h),yt(h,"link",t),r.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(d,h))}}function Yy(t,s,r,l){var d=(d=le.current)?il(d):null;if(!d)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(s=$i(r.href),r=mi(d).hoistableStyles,l=r.get(s),l||(l={type:"style",instance:null,count:0,state:null},r.set(s,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){t=$i(r.href);var h=mi(d).hoistableStyles,v=h.get(t);if(v||(d=d.ownerDocument||d,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,v),(h=d.querySelector(cr(t)))&&!h._p&&(v.instance=h,v.state.loading=5),tn.has(t)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},tn.set(t,r),h||o_(d,t,r,v.state))),s&&l===null)throw Error(i(528,""));return v}if(s&&l!==null)throw Error(i(529,""));return null;case"script":return s=r.async,r=r.src,typeof r=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?
vendor: 4,328 bytes, line 10
10(s=Wi(r),r=mi(d).hoistableScripts,l=r.get(s),l||(l={type:"script",instance:null,count:0,state:null},r.set(s,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function $i(t){return'href="'+$t(t)+'"'}function cr(t){return'link[rel="stylesheet"]['+t+"]"}function Ky(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function o_(t,s,r,l){t.querySelector('link[rel="preload"][as="style"]['+s+"]")?l.loading=1:(s=t.createElement("link"),l.preload=s,s.addEventListener("load",function(){return l.loading|=1}),s.addEventListener("error",function(){return l.loading|=2}),yt(s,"link",r),ut(s),t.head.appendChild(s))}function Wi(t){return'[src="'+$t(t)+'"]'}function ur(t){return"script[async]"+t}function $y(t,s,r){if(s.count++,s.instance===null)switch(s.type){case"style":var l=t.querySelector('style[data-href~="'+$t(r.href)+'"]');if(l)return s.instance=l,ut(l),l;var d=y({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ut(l),yt(l,"style",d),al(l,r.precedence,t),s.instance=l;case"stylesheet":d=$i(r.href);var h=t.querySelector(cr(d));if(h)return s.state.loading|=4,s.instance=h,ut(h),h;l=Ky(r),(d=tn.get(d))&&kd(l,d),h=(t.ownerDocument||t).createElement("link"),ut(h);var v=h;return v._p=new Promise(function(S,k){v.onload=S,v.onerror=k}),yt(h,"link",l),s.state.loading|=4,al(h,r.precedence,t),s.instance=h;case"script":return h=Wi(r.src),(d=t.querySelector(ur(h)))?(s.instance=d,ut(d),d):(l=r,(d=tn.get(h))&&(l=y({},r),Cd(l,d)),t=t.ownerDocument||t,d=t.createElement("script"),ut(d),yt(d,"link",l),t.head.appendChild(d),s.instance=d);case"void":return null;default:throw Error(i(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(l=s.instance,s.state.loading|=4,al(l,r.precedence,t));return s.instance}function al(t,s,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=l.length?l[l.length-1]:null,h=d,v=0;v<l.length;v++){var S=l[v];if(S.dataset.precedence===s)h=S;else if(h!==d)break}h?h.parentNode.insertBefore(t,h.nextSibling):(s=r.nodeType===9?r.head:r,s.insertBefore(t,s.firstChild))}function kd(t,s){t.crossOrigin==null&&(t.crossOrigin=s.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=s.referrerPolicy),t.title==null&&(t.title=s.title)}function Cd(t,s){t.crossOrigin==null&&(t.crossOrigin=s.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=s.referrerPolicy),t.integrity==null&&(t.integrity=s.integrity)}var rl=null;function Wy(t,s,r){if(rl===null){var l=new Map,d=rl=new Map;d.set(r,l)}else d=rl,l=d.get(r),l||(l=new Map,d.set(r,l));if(l.has(t))return l;for(l.set(t,null),r=r.getElementsByTagName(t),d=0;d<r.length;d++){var h=r[d];if(!(h[ja]||h[vt]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var v=h.getAttribute(s)||"";v=t+v;var S=l.get(v);S?S.push(h):l.set(v,[h])}}return l}function Xy(t,s,r){t=t.ownerDocument||t,t.head.insertBefore(r,s==="title"?t.querySelector("head > title"):null)}function l_(t,s,r){if(r===1||s.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(t=s.disabled,typeof s.precedence=="string"&&t==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Qy(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var dr=null;function c_(){}function u_(t,s,r){if(dr===null)throw Error(i(475));var l=dr;if(s.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var d=$i(r.href),h=t.querySelector(cr(d));if(h){t=h._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=ol.bind(l),t.then(l,l)),s.state.loading|=4,s.instance=h,ut(h);return}h=t.ownerDocument||t,r=Ky(r),(d=tn.get(d))&&kd(r,d),h=h.createElement("link"),ut(h);var v=h;v._p=new Promise(function(S,k){v.onload=S,v.onerror=k}),yt(h,"link",r),s.instance=h}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(s,t),
vendor: 9,555 bytes, line 10
10(t=s.state.preload)&&(s.state.loading&3)===0&&(l.count++,s=ol.bind(l),t.addEventListener("load",s),t.addEventListener("error",s))}}function d_(){if(dr===null)throw Error(i(475));var t=dr;return t.stylesheets&&t.count===0&&Nd(t,t.stylesheets),0<t.count?function(s){var r=setTimeout(function(){if(t.stylesheets&&Nd(t,t.stylesheets),t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}},6e4);return t.unsuspend=s,function(){t.unsuspend=null,clearTimeout(r)}}:null}function ol(){if(this.count--,this.count===0){if(this.stylesheets)Nd(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ll=null;function Nd(t,s){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ll=new Map,s.forEach(f_,t),ll=null,ol.call(t))}function f_(t,s){if(!(s.state.loading&4)){var r=ll.get(t);if(r)var l=r.get(null);else{r=new Map,ll.set(t,r);for(var d=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<d.length;h++){var v=d[h];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(r.set(v.dataset.precedence,v),l=v)}l&&r.set(null,l)}d=s.instance,v=d.getAttribute("data-precedence"),h=r.get(v)||l,h===l&&r.set(null,d),r.set(v,d),this.count++,l=ol.bind(this),d.addEventListener("load",l),d.addEventListener("error",l),h?h.parentNode.insertBefore(d,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(d,t.firstChild)),s.state.loading|=4}}var fr={$$typeof:R,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function h_(t,s,r,l,d,h,v,S){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ac(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ac(0),this.hiddenUpdates=Ac(null),this.identifierPrefix=l,this.onUncaughtError=d,this.onCaughtError=h,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Zy(t,s,r,l,d,h,v,S,k,D,G,$){return t=new h_(t,s,r,v,S,k,D,$),s=1,h===!0&&(s|=24),h=zt(3,null,null,s),t.current=h,h.stateNode=t,s=du(),s.refCount++,t.pooledCache=s,s.refCount++,h.memoizedState={element:l,isDehydrated:r,cache:s},pu(h),t}function Jy(t){return t?(t=Ai,t):Ai}function e0(t,s,r,l,d,h){d=Jy(d),l.context===null?l.context=d:l.pendingContext=d,l=ss(s),l.payload={element:r},h=h===void 0?null:h,h!==null&&(l.callback=h),r=is(t,l,s),r!==null&&(Gt(r,t,s),Ha(r,t,s))}function t0(t,s){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<s?r:s}}function Rd(t,s){t0(t,s),(t=t.alternate)&&t0(t,s)}function n0(t){if(t.tag===13){var s=Ti(t,67108864);s!==null&&Gt(s,t,67108864),Rd(t,67108864)}}var cl=!0;function m_(t,s,r,l){var d=B.T;B.T=null;var h=W.p;try{W.p=2,Md(t,s,r,l)}finally{W.p=h,B.T=d}}function p_(t,s,r,l){var d=B.T;B.T=null;var h=W.p;try{W.p=8,Md(t,s,r,l)}finally{W.p=h,B.T=d}}function Md(t,s,r,l){if(cl){var d=Od(l);if(d===null)vd(t,s,l,ul,r),i0(t,l);else if(y_(d,t,s,r,l))l.stopPropagation();else if(i0(t,l),s&4&&-1<g_.indexOf(t)){for(;d!==null;){var h=hi(d);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var v=Os(h.pendingLanes);if(v!==0){var S=h;for(S.pendingLanes|=2,S.entangledLanes|=2;v;){var k=1<<31-Ut(v);S.entanglements[1]|=k,v&=~k}_n(h),(Re&6)===0&&(Ko=vn()+500,ar(0))}}break;case 13:S=Ti(h,2),S!==null&&Gt(S,h,2),Wo(),Rd(h,2)}if(h=Od(l),h===null&&vd(t,s,l,ul,r),h===d)break;d=h}d!==null&&l.stopPropagation()}else vd(t,s,l,null,r)}}function Od(t){return t=zc(t),Pd(t)}var ul=null;function Pd(t){if(ul=null,t=fi(t),t!==null){var s=c(t);if(s===null)t=null;else{var r=s.tag;if(r===13){if(t=f(s),t!==null)return t;t=null}else if(r===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;t=null}else s!==t&&(t=null)}}return ul=t,null}function s0(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(tj()){case ym:return 2;case xm:return 8;case to:case nj:return 32;case vm:return 268435456;default:return 32}default:return 32}}var Dd=!1,ys=null,xs=null,vs=null,hr=new Map,mr=new Map,bs=[],g_="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".split(" ");function i0(t,s){switch(t){case"focusin":case"focusout":ys=null;break;case"dragenter":case"dragleave":xs=null;break;case"mouseover":case"mouseout":vs=null;break;case"pointerover":case"pointerout":hr.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":mr.delete(s.pointerId)}}function pr(t,s,r,l,d,h){return t===null||t.nativeEvent!==h?(t={blockedOn:s,domEventName:r,eventSystemFlags:l,nativeEvent:h,targetContainers:[d]},s!==null&&(s=hi(s),s!==null&&n0(s)),t):(t.eventSystemFlags|=l,s=t.targetContainers,d!==null&&s.indexOf(d)===-1&&s.push(d),t)}function y_(t,s,r,l,d){switch(s){case"focusin":return ys=pr(ys,t,s,r,l,d),!0;case"dragenter":return xs=pr(xs,t,s,r,l,d),!0;case"mouseover":return vs=pr(vs,t,s,r,l,d),!0;case"pointerover":var h=d.pointerId;return hr.set(h,pr(hr.get(h)||null,t,s,r,l,d)),!0;case"gotpointercapture":return h=d.pointerId,mr.set(h,pr(mr.get(h)||null,t,s,r,l,d)),!0}return!1}function a0(t){var s=fi(t.target);if(s!==null){var r=c(s);if(r!==null){if(s=r.tag,s===13){if(s=f(r),s!==null){t.blockedOn=s,uj(t.priority,function(){if(r.tag===13){var l=Ht();l=Ec(l);var d=Ti(r,l);d!==null&&Gt(d,r,l),Rd(r,l)}});return}}else if(s===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function dl(t){if(t.blockedOn!==null)return!1;for(var s=t.targetContainers;0<s.length;){var r=Od(t.nativeEvent);if(r===null){r=t.nativeEvent;var l=new r.constructor(r.type,r);Lc=l,r.target.dispatchEvent(l),Lc=null}else return s=hi(r),s!==null&&n0(s),t.blockedOn=r,!1;s.shift()}return!0}function r0(t,s,r){dl(t)&&r.delete(s)}function x_(){Dd=!1,ys!==null&&dl(ys)&&(ys=null),xs!==null&&dl(xs)&&(xs=null),vs!==null&&dl(vs)&&(vs=null),hr.forEach(r0),mr.forEach(r0)}function fl(t,s){t.blockedOn===s&&(t.blockedOn=null,Dd||(Dd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,x_)))}var hl=null;function o0(t){hl!==t&&(hl=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){hl===t&&(hl=null);for(var s=0;s<t.length;s+=3){var r=t[s],l=t[s+1],d=t[s+2];if(typeof l!="function"){if(Pd(l||r)===null)continue;break}var h=hi(r);h!==null&&(t.splice(s,3),s-=3,Pu(h,{pending:!0,data:d,method:r.method,action:l},l,d))}}))}function gr(t){function s(k){return fl(k,t)}ys!==null&&fl(ys,t),xs!==null&&fl(xs,t),vs!==null&&fl(vs,t),hr.forEach(s),mr.forEach(s);for(var r=0;r<bs.length;r++){var l=bs[r];l.blockedOn===t&&(l.blockedOn=null)}for(;0<bs.length&&(r=bs[0],r.blockedOn===null);)a0(r),r.blockedOn===null&&bs.shift();if(r=(t.ownerDocument||t).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var d=r[l],h=r[l+1],v=d[Nt]||null;if(typeof h=="function")v||o0(r);else if(v){var S=null;if(h&&h.hasAttribute("formAction")){if(d=h,v=h[Nt]||null)S=v.formAction;else if(Pd(d)!==null)continue}else S=v.action;typeof S=="function"?r[l+1]=S:(r.splice(l,3),l-=3),o0(r)}}}function Ud(t){this._internalRoot=t}ml.prototype.render=Ud.prototype.render=function(t){var s=this._internalRoot;if(s===null)throw Error(i(409));var r=s.current,l=Ht();e0(r,l,t,s,null,null)},ml.prototype.unmount=Ud.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var s=t.containerInfo;e0(t.current,2,null,t,null,null),Wo(),s[di]=null}};function ml(t){this._internalRoot=t}ml.prototype.unstable_scheduleHydration=function(t){if(t){var s=_m();t={blockedOn:null,target:t,priority:s};for(var r=0;r<bs.length&&s!==0&&s<bs[r].priority;r++);bs.splice(r,0,t),r===0&&a0(t)}};var l0=n.version;if(l0!=="19.1.0")throw Error(i(527,l0,"19.1.0"));W.findDOMNode=function(t){var s=t._reactInternals;if(s===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=p(s),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var v_={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.0"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pl.isDisabled&&pl.supportsFiber)try{ba=pl.inject(v_),Dt=pl}catch{}}return xr.createRoot=function(t,s){if(!o(t))throw Error(i(299));var r=!1,l="",d=_g,h=Tg,v=Ag,S=null;return s!=null&&(s.unstable_strictMode===!0&&(r=!0),s.identifierPrefix!==void 0&&(l=s.identifierPrefix),s.onUncaughtError!==void 0&&(d=s.onUncaughtError),s.onCaughtError!==void 0&&(h=s.onCaughtError),s.onRecoverableError!==void 0&&(v=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(S=s.unstable_transitionCallbacks)),s=Zy(t,1,!1,null,null,r,l,d,h,v,S,null),t[di]=s.current,xd(t),new Ud(s)},xr.hydrateRoot=function(t,s,r){if(!o(t))throw Error(i(299));var l=!1,d="",h=_g,v=Tg,S=Ag,k=null,D=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onUncaughtError!==void 0&&(h=r.onUncaughtError),r.onCaughtError!==void 0&&(v=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(k=r.unstable_transitionCallbacks),r.formState!==void 0&&(D=r.formState)),s=Zy(t,1,!0,s,r??null,l,d,h,v,S,k,D),s.context=Jy(null),r=s.current,l=Ht(),l=Ec(l),d=ss(l),d.callback=null,is(r,d,l),r=l,s.current.lanes=r,Sa(s,r),_n(s),t[di]=s.current,xd(t),new ml(s)},xr.version="19.1.0",xr}var x0;function N_(){if(x0)return Vd.exports;x0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),Vd.exports=C_(),Vd.exports}var nb=N_();const sb=rc(nb),R_=ac({__proto__:null,default:sb},[nb]),M_="modulepreload",O_=function(e){return"/"+e},v0={},ee=function(n,a,i){let o=Promise.resolve();if(a&&a.length>0){let p=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),m=f?.nonce||f?.getAttribute("nonce");o=p(a.map(g=>{if(g=O_(g),g in v0)return;v0[g]=!0;const y=g.endsWith(".css"),x=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${x}`))return;const b=document.createElement("link");if(b.rel=y?"stylesheet":M_,y||(b.as="script"),b.crossOrigin="",b.href=g,m&&b.setAttribute("nonce",m),document.head.appendChild(b),y)return new Promise((A,_)=>{b.addEventListener("load",A),b.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(f){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=f,window.dispatchEvent(m),!m.defaultPrevented)throw f}return o.then(f=>{for(const m of f||[])m.status==="rejected"&&c(m.reason);return n().catch(c)})},P_=5,D_=5e3,U_=4e3,Yn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Gd=0;function L_(){return Gd=(Gd+1)%Number.MAX_VALUE,Gd.toString()}const qd=new Map,b0=e=>{if(qd.has(e))return;const n=setTimeout(()=>{qd.delete(e),Er({type:Yn.REMOVE_TOAST,toastId:e})},D_);qd.set(e,n)},z_=(e,n)=>{switch(n.type){case Yn.ADD_TOAST:return{...e,toasts:[n.toast,...e.toasts].slice(0,P_)};case Yn.UPDATE_TOAST:return{...e,toasts:e.toasts.map(a=>a.id===n.toast.id?{...a,...n.toast}:a)};case Yn.DISMISS_TOAST:{const{toastId:a}=n;return a?b0(a):e.toasts.forEach(i=>{b0(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===a||a===void 0?{...i,open:!1}:i)}}case Yn.REMOVE_TOAST:return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==n.toastId)}}},Nl=[];let Rl={toasts:[]};function Er(e){Rl=z_(Rl,e),Nl.forEach(n=>{n(Rl)})}function Ml({...e}){const n=L_(),a=o=>Er({type:Yn.UPDATE_TOAST,toast:{...o,id:n}}),i=()=>Er({type:Yn.DISMISS_TOAST,toastId:n});return Er({type:Yn.ADD_TOAST,toast:{...e,id:n,open:!0,onOpenChange:o=>{o||i()}}}),setTimeout(()=>i(),U_),{id:n,dismiss:i,update:a}}function V_(){const[e,n]=w.useState(Rl);return w.useEffect(()=>(Nl.push(n),()=>{const a=Nl.indexOf(n);a>-1&&Nl.splice(a,1)}),[e]),{...e,toast:Ml,dismiss:a=>Er({type:Yn.DISMISS_TOAST,toastId:a})}}function ib(e){var n,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(a=ib(e[n]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function ab(){for(var e,n,a=0,i="",o=arguments.length;a<o;a++)(e=arguments[a])&&(n=ib(e))&&(i&&(i+=" "),i+=n);return i}const w0=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,S0=ab,rb=(e,n)=>a=>{var i;if(n?.variants==null)return S0(e,a?.class,a?.className);const{variants:o,defaultVariants:c}=n,f=Object.keys(o).map(g=>{const y=a?.[g],x=c?.[g];if(y===null)return null;const b=w0(y)||w0(x);return o[g][b]}),m=a&&Object.entries(a).reduce((g,y)=>{let[x,b]=y;return b===void 0||(g[x]=b),g},{}),p=n==null||(i=n.compoundVariants)===null||i===void 0?void 0:i.reduce((g,y)=>{let{class:x,className:b,...A}=y;return Object.entries(A).every(_=>{let[j,E]=_;return Array.isArray(E)?E.includes({...c,...m}[j]):{...c,...m}[j]===E})?[...g,x,b]:g},[]);return S0(e,f,p,a?.class,a?.className)};const B_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),I_=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,i)=>i?i.toUpperCase():a.toLowerCase()),j0=e=>{const n=I_(e);return n.charAt(0).toUpperCase()+n.slice(1)},ob=(...e)=>e.filter((n,a,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===a).join(" ").trim(),H_=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};var G_={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const q_=w.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:o="",children:c,iconNode:f,...m},p)=>w.createElement("svg",{ref:p,...G_,width:n,height:n,stroke:e,strokeWidth:i?Number(a)*24/Number(n):a,className:ob("lucide",o),...!c&&!H_(m)&&{"aria-hidden":"true"},...m},[...f.map(([g,y])=>
vendor: 3,229 bytes, line 10
10w.createElement(g,y)),...Array.isArray(c)?c:[c]]));const lt=(e,n)=>{const a=w.forwardRef(({className:i,...o},c)=>w.createElement(q_,{ref:c,iconNode:n,className:ob(`lucide-${B_(j0(e))}`,`lucide-${e}`,i),...o}));return a.displayName=j0(e),a};const F_=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],lb=lt("activity",F_);const Y_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Fd=lt("arrow-right",Y_);const K_=[["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"}]],$_=lt("award",K_);const W_=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],gl=lt("chevron-down",W_);const X_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]],Q_=lt("crosshair",X_);const Z_=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],J_=lt("layers",Z_);const eT=[["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"}]],tT=lt("lightbulb",eT);const nT=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],yh=lt("loader-circle",nT);const sT=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],xh=lt("lock",sT);const iT=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],aT=lt("menu",iT);const rT=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],oT=lt("message-circle",rT);const lT=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],cT=lt("radar",lT);const uT=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dT=lt("search",uT);const fT=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
vendor: 4,215 bytes, line 10
10],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],hT=lt("sparkles",fT);const mT=[["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"}]],pT=lt("target",mT);const gT=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],yT=lt("trending-up",gT);const xT=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],vT=lt("users",xT);const bT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Mf=lt("x",bT);const wT=[["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"}]],ST=lt("zap",wT),jT=(e,n)=>{const a=new Array(e.length+n.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<n.length;i++)a[e.length+i]=n[i];return a},_T=(e,n)=>({classGroupId:e,validator:n}),cb=(e=new Map,n=null,a)=>({nextPart:e,validators:n,classGroupId:a}),ql="-",_0=[],TT="arbitrary..",AT=e=>{const n=kT(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return ET(f);const m=f.split(ql),p=m[0]===""&&m.length>1?1:0;return ub(m,p,n)},getConflictingClassGroupIds:(f,m)=>{if(m){const p=i[f],g=a[f];return p?g?jT(g,p):p:g||_0}return a[f]||_0}}},ub=(e,n,a)=>{if(e.length-n===0)return a.classGroupId;const o=e[n],c=a.nextPart.get(o);if(c){const g=ub(e,n+1,c);if(g)return g}const f=a.validators;if(f===null)return;const m=n===0?e.join(ql):e.slice(n).join(ql),p=f.length;for(let g=0;g<p;g++){const y=f[g];if(y.validator(m))return y.classGroupId}},ET=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),a=n.indexOf(":"),i=n.slice(0,a);return i?TT+i:void 0})(),kT=e=>{const{theme:n,classGroups:a}=e;return CT(a,n)},CT=(e,n)=>{const a=cb();for(const i in e){const o=e[i];vh(o,a,i,n)}return a},vh=(e,n,a,i)=>{const o=e.length;for(let c=0;c<o;c++){const f=e[c];NT(f,n,a,i)}},NT=(e,n,a,i)=>{if(typeof e=="string"){RT(e,n,a);return}if(typeof e=="function"){MT(e,n,a,i);return}OT(e,n,a,i)},RT=(e,n,a)=>{const i=e===""?n:db(n,e);i.classGroupId=a},MT=(e,n,a,i)=>{if(PT(e)){vh(e(i),n,a,i);return}n.validators===null&&(n.validators=[]),n.validators.push(_T(a,e))},OT=(e,n,a,i)=>{const o=Object.entries(e),c=o.length;for(let f=0;f<c;f++){const[m,p]=o[f];vh(p,db(n,m),a,i)}},db=(e,n)=>{let a=e;const i=n.split(ql),o=i.length;for(let c=0;c<o;c++){const f=i[c];let m=a.nextPart.get(f);m||(m=cb(),a.nextPart.set(f,m)),a=m}return a},PT=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,DT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=Object.create(null),i=Object.create(null);const o=(c,f)=>{a[c]=f,n++,n>e&&(n=0,i=a,a=Object.create(null))};return{get(c){let f=a[c];if(f!==void 0)return f;if((f=i[c])!==void 0)return o(c,f),f},set(c,f){c in a?a[c]=f:o(c,f)}}},Of="!",T0=":",UT=[],A0=(e,n,a,i,o)=>({modifiers:e,hasImportantModifier:n,baseClassName:a,maybePostfixModifierPosition:i,isExternal:o}),LT=e=>{const{prefix:n,experimentalParseClassName:a}=e;let i=o=>{const c=[];let f=0,m=0,p=0,g;const y=o.length;for(let j=0;j<y;j++){const E=o[j];if(f===0&&m===0){if(E===T0){c.push(o.slice(p,j)),p=j+1;continue}if(E==="/"){g=j;continue}}E==="["?f++:E==="]"?f--:E==="("?m++:E===")"&&m--}const x=c.length===0?o:o.slice(p);let b=x,A=!1;x.endsWith(Of)?(b=x.slice(0,-1),A=!0):x.startsWith(Of)&&(b=x.slice(1),A=!0);const _=g&&g>p?g-p:void 0;return A0(c,A,b,_)};if(n){const o=n+T0,c=i;i=f=>f.startsWith(o)?c(f.slice(o.length)):A0(UT,!1,f,void 0,!0)}if(a){const o=i;i=c=>a({className:c,parseClassName:o})}return i},zT=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{n.set(a,1e6+i)}),a=>{const i=[];let o=[];for(let c=0;c<a.length;c++){const f=a[c],m=f[0]==="[",p=n.has(f);m||p?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(f)):o.push(f)}return o.length>0&&(o.sort(),i.push(...o)),i}},VT=e=>({cache:DT(e.cacheSize),parseClassName:LT(e),sortModifiers:zT(e),...AT(e)}
vendor: 5,112 bytes, line 10
10),BT=/\s+/,IT=(e,n)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:c}=n,f=[],m=e.trim().split(BT);let p="";for(let g=m.length-1;g>=0;g-=1){const y=m[g],{isExternal:x,modifiers:b,hasImportantModifier:A,baseClassName:_,maybePostfixModifierPosition:j}=a(y);if(x){p=y+(p.length>0?" "+p:p);continue}let E=!!j,O=i(E?_.substring(0,j):_);if(!O){if(!E){p=y+(p.length>0?" "+p:p);continue}if(O=i(_),!O){p=y+(p.length>0?" "+p:p);continue}E=!1}const N=b.length===0?"":b.length===1?b[0]:c(b).join(":"),R=A?N+Of:N,H=R+O;if(f.indexOf(H)>-1)continue;f.push(H);const L=o(O,E);for(let X=0;X<L.length;++X){const Q=L[X];f.push(R+Q)}p=y+(p.length>0?" "+p:p)}return p},HT=(...e)=>{let n=0,a,i,o="";for(;n<e.length;)(a=e[n++])&&(i=fb(a))&&(o&&(o+=" "),o+=i);return o},fb=e=>{if(typeof e=="string")return e;let n,a="";for(let i=0;i<e.length;i++)e[i]&&(n=fb(e[i]))&&(a&&(a+=" "),a+=n);return a},GT=(e,...n)=>{let a,i,o,c;const f=p=>{const g=n.reduce((y,x)=>x(y),e());return a=VT(g),i=a.cache.get,o=a.cache.set,c=m,m(p)},m=p=>{const g=i(p);if(g)return g;const y=IT(p,a);return o(p,y),y};return c=f,(...p)=>c(HT(...p))},qT=[],at=e=>{const n=a=>a[e]||qT;return n.isThemeGetter=!0,n},hb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,FT=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,YT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,KT=/\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$/,$T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,WT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ss=e=>FT.test(e),we=e=>!!e&&!Number.isNaN(Number(e)),js=e=>!!e&&Number.isInteger(Number(e)),Yd=e=>e.endsWith("%")&&we(e.slice(0,-1)),Fn=e=>YT.test(e),pb=()=>!0,QT=e=>KT.test(e)&&!$T.test(e),bh=()=>!1,ZT=e=>WT.test(e),JT=e=>XT.test(e),eA=e=>!ae(e)&&!oe(e),tA=e=>Ns(e,xb,bh),ae=e=>hb.test(e),Qs=e=>Ns(e,vb,QT),E0=e=>Ns(e,cA,we),nA=e=>Ns(e,wb,pb),sA=e=>Ns(e,bb,bh),k0=e=>Ns(e,gb,bh),iA=e=>Ns(e,yb,JT),yl=e=>Ns(e,Sb,ZT),oe=e=>mb.test(e),vr=e=>li(e,vb),aA=e=>li(e,bb),C0=e=>li(e,gb),rA=e=>li(e,xb),oA=e=>li(e,yb),xl=e=>li(e,Sb,!0),lA=e=>li(e,wb,!0),Ns=(e,n,a)=>{const i=hb.exec(e);return i?i[1]?n(i[1]):a(i[2]):!1},li=(e,n,a=!1)=>{const i=mb.exec(e);return i?i[1]?n(i[1]):a:!1},gb=e=>e==="position"||e==="percentage",yb=e=>e==="image"||e==="url",xb=e=>e==="length"||e==="size"||e==="bg-size",vb=e=>e==="length",cA=e=>e==="number",bb=e=>e==="family-name",wb=e=>e==="number"||e==="weight",Sb=e=>e==="shadow",uA=()=>{const e=at("color"),n=at("font"),a=at("text"),i=at("font-weight"),o=at("tracking"),c=at("leading"),f=at("breakpoint"),m=at("container"),p=at("spacing"),g=at("radius"),y=at("shadow"),x=at("inset-shadow"),b=at("text-shadow"),A=at("drop-shadow"),_=at("blur"),j=at("perspective"),E=at("aspect"),O=at("ease"),N=at("animate"),R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...H(),oe,ae],X=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto","contain","none"],I=()=>[oe,ae,p],q=()=>[Ss,"full","auto",...I()],ue=()=>[js,"none","subgrid",oe,ae],se=()=>["auto",{span:["full",js,oe,ae]},js,oe,ae],fe=()=>[js,"auto",oe,ae],Be=()=>["auto","min","max","fr",oe,ae],Ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ve=()=>["start","end","center","stretch","center-safe","end-safe"],B=()=>["auto",...I()],W=()=>[Ss,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],ne=()=>[Ss,"screen","full","dvw","lvw","svw","min","max","fit",...I()],ye=()=>[Ss,"screen","full","lh","dvh","lvh","svh","min","max","fit",...I()],T=()=>[e,oe,ae],K=()=>[...H(),C0,k0,{position:[oe,ae]}],te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z=()=>["auto","cover","contain",rA,tA,{size:[oe,ae]}],de=()=>[Yd,vr,Qs],pe=()=>["","none","full",g,oe,ae],le=()=>["",we,vr,Qs],ct=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ze=()=>[we,Yd,C0,k0],ui=()=>["","none",_,oe,ae],Cn=()=>["none",we,oe,ae],Xn=()=>["none",we,oe,ae],Ms=()=>[we,oe,ae],Qn=()=>[Ss,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fn],breakpoint:[Fn],color:[pb],container:[Fn],"drop-shadow":[Fn],ease:["in","out","in-out"],font:[eA],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fn],shadow:[Fn],spacing:["px",we],text:[Fn],"text-shadow":[Fn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ss,ae,oe,E]}
vendor: 6,084 bytes, line 10
10],container:["container"],columns:[{columns:[we,ae,oe,m]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"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:L()}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{"inset-s":q(),start:q()}],end:[{"inset-e":q(),end:q()}],"inset-bs":[{"inset-bs":q()}],"inset-be":[{"inset-be":q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[js,"auto",oe,ae]}],basis:[{basis:[Ss,"full","auto",m,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[we,Ss,"auto","initial","none",ae]}],grow:[{grow:["",we,oe,ae]}],shrink:[{shrink:["",we,oe,ae]}],order:[{order:[js,"first","last","none",oe,ae]}],"grid-cols":[{"grid-cols":ue()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":ue()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Be()}],"auto-rows":[{"auto-rows":Be()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...Ze(),"normal"]}],"justify-items":[{"justify-items":[...ve(),"normal"]}],"justify-self":[{"justify-self":["auto",...ve()]}],"align-content":[{content:["normal",...Ze()]}],"align-items":[{items:[...ve(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ve(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ze()}],"place-items":[{"place-items":[...ve(),"baseline"]}],"place-self":[{"place-self":["auto",...ve()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pbs:[{pbs:I()}],pbe:[{pbe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:B()}],mx:[{mx:B()}],my:[{my:B()}],ms:[{ms:B()}],me:[{me:B()}],mbs:[{mbs:B()}],mbe:[{mbe:B()}],mt:[{mt:B()}],mr:[{mr:B()}],mb:[{mb:B()}],ml:[{ml:B()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],"inline-size":[{inline:["auto",...ne()]}],"min-inline-size":[{"min-inline":["auto",...ne()]}],"max-inline-size":[{"max-inline":["none",...ne()]}],"block-size":[{block:["auto",...ye()]}],"min-block-size":[{"min-block":["auto",...ye()]}],"max-block-size":[{"max-block":["none",...ye()]}],w:[{w:[m,"screen",...W()]}],"min-w":[{"min-w":[m,"screen","none",...W()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",a,vr,Qs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,lA,nA]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Yd,ae]}],"font-family":[{font:[aA,sA,n]}],"font-features":[{"font-features":[ae]}],"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,oe,ae]}],"line-clamp":[{"line-clamp":[we,"none",oe,E0]}],leading:[{leading:[c,...I()]}],"list-image":[{"list-image":["none",oe,ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",oe,ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ct(),"wavy"]}],"text-decoration-thickness":[{decoration:[we,"from-font","auto",oe,Qs]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[we,"auto",oe,ae]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",oe,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",oe,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:K()}],"bg-repeat":[{bg:te()}],"bg-size":[{bg:Z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},js,oe,ae],radial:["",oe,ae],conic:[js,oe,ae]},oA,iA]}],"bg-color":[{bg:T()}
vendor: 7,437 bytes, line 10
10],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:pe()}],"rounded-s":[{"rounded-s":pe()}],"rounded-e":[{"rounded-e":pe()}],"rounded-t":[{"rounded-t":pe()}],"rounded-r":[{"rounded-r":pe()}],"rounded-b":[{"rounded-b":pe()}],"rounded-l":[{"rounded-l":pe()}],"rounded-ss":[{"rounded-ss":pe()}],"rounded-se":[{"rounded-se":pe()}],"rounded-ee":[{"rounded-ee":pe()}],"rounded-es":[{"rounded-es":pe()}],"rounded-tl":[{"rounded-tl":pe()}],"rounded-tr":[{"rounded-tr":pe()}],"rounded-br":[{"rounded-br":pe()}],"rounded-bl":[{"rounded-bl":pe()}],"border-w":[{border:le()}],"border-w-x":[{"border-x":le()}],"border-w-y":[{"border-y":le()}],"border-w-s":[{"border-s":le()}],"border-w-e":[{"border-e":le()}],"border-w-bs":[{"border-bs":le()}],"border-w-be":[{"border-be":le()}],"border-w-t":[{"border-t":le()}],"border-w-r":[{"border-r":le()}],"border-w-b":[{"border-b":le()}],"border-w-l":[{"border-l":le()}],"divide-x":[{"divide-x":le()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":le()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ct(),"hidden","none"]}],"divide-style":[{divide:[...ct(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...ct(),"none","hidden"]}],"outline-offset":[{"outline-offset":[we,oe,ae]}],"outline-w":[{outline:["",we,vr,Qs]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",y,xl,yl]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",x,xl,yl]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[we,Qs]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":le()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",b,xl,yl]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[we,oe,ae]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"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":[we]}],"mask-image-linear-from-pos":[{"mask-linear-from":ze()}],"mask-image-linear-to-pos":[{"mask-linear-to":ze()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":ze()}],"mask-image-t-to-pos":[{"mask-t-to":ze()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":ze()}],"mask-image-r-to-pos":[{"mask-r-to":ze()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":ze()}],"mask-image-b-to-pos":[{"mask-b-to":ze()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":ze()}],"mask-image-l-to-pos":[{"mask-l-to":ze()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":ze()}],"mask-image-x-to-pos":[{"mask-x-to":ze()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":ze()}],"mask-image-y-to-pos":[{"mask-y-to":ze()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[oe,ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":ze()}],"mask-image-radial-to-pos":[{"mask-radial-to":ze()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":H()}],"mask-image-conic-pos":[{"mask-conic":[we]}],"mask-image-conic-from-pos":[{"mask-conic-from":ze()}],"mask-image-conic-to-pos":[{"mask-conic-to":ze()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:K()}],"mask-repeat":[{mask:te()}],"mask-size":[{mask:Z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",oe,ae]}],filter:[{filter:["","none",oe,ae]}],blur:[{blur:ui()}],brightness:[{brightness:[we,oe,ae]}],contrast:[{contrast:[we,oe,ae]}],"drop-shadow":[{"drop-shadow":["","none",A,xl,yl]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",we,oe,ae]}],"hue-rotate":[{"hue-rotate":[we,oe,ae]}],invert:[{invert:["",we,oe,ae]}],saturate:[{saturate:[we,oe,ae]}],sepia:[{sepia:["",we,oe,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",oe,ae]}],"backdrop-blur":[{"backdrop-blur":ui()}],"backdrop-brightness":[{"backdrop-brightness":[we,oe,ae]}],"backdrop-contrast":[{"backdrop-contrast":[we,oe,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",we,oe,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[we,oe,ae]}],"backdrop-invert":[{"backdrop-invert":["",we,oe,ae]}],"backdrop-opacity":[{"backdrop-opacity":[we,oe,ae]}],"backdrop-saturate":[{"backdrop-saturate":[we,oe,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",we,oe,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",oe,ae]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[we,"initial",oe,ae]}],ease:[{ease:["linear","initial",O,oe,ae]}],delay:[{delay:[we,oe,ae]}],animate:[{animate:["none",N,oe,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,oe,ae]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:Cn()}],"rotate-x":[{"rotate-x":Cn()}],"rotate-y":[{"rotate-y":Cn()}],"rotate-z":[{"rotate-z":Cn()}],scale:[{scale:Xn()}],"scale-x":[{"scale-x":Xn()}],"scale-y":[{"scale-y":Xn()}],"scale-z":[{"scale-z":Xn()}],"scale-3d":["scale-3d"],skew:[{skew:Ms()}],"skew-x":[{"skew-x":Ms()}],"skew-y":[{"skew-y":Ms()}],transform:[{transform:[oe,ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Qn()}],"translate-x":[{"translate-x":Qn()}],"translate-y":[{"translate-y":Qn()}],"translate-z":[{"translate-z":Qn()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}
10],"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",oe,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":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mbs":[{"scroll-mbs":I()}],"scroll-mbe":[{"scroll-mbe":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pbs":[{"scroll-pbs":I()}],"scroll-pbe":[{"scroll-pbe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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",oe,ae]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[we,vr,Qs,E0]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},dA=GT(uA);function da(...e){return dA(ab(e))}const jb=w.forwardRef(({...e},n)=>u.jsx("div",{ref:n,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]",...e}));jb.displayName="ToastProvider";const _b=w.forwardRef(({...e},n)=>u.jsx("div",{ref:n,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]",...e}));
vendor: 24,369 bytes, line 10
10_b.displayName="ToastViewport";const fA=rb("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded 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"}}),Tb=w.forwardRef(({className:e,variant:n,...a},i)=>u.jsx("div",{ref:i,className:da(fA({variant:n}),e),...a}));Tb.displayName="Toast";const hA=w.forwardRef(({className:e,...n},a)=>u.jsx("div",{ref:a,className:da("inline-flex h-8 shrink-0 items-center justify-center rounded 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",e),...n}));hA.displayName="ToastAction";const Ab=w.forwardRef(({className:e,...n},a)=>u.jsx("button",{ref:a,className:da("absolute right-2 top-2 rounded 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",e),"toast-close":"",...n,children:u.jsx(Mf,{className:"h-4 w-4"})}));Ab.displayName="ToastClose";const Eb=w.forwardRef(({className:e,...n},a)=>u.jsx("div",{ref:a,className:da("text-sm font-semibold",e),...n}));Eb.displayName="ToastTitle";const kb=w.forwardRef(({className:e,...n},a)=>u.jsx("div",{ref:a,className:da("text-sm opacity-90",e),...n}));kb.displayName="ToastDescription";function mA(){const{toasts:e}=V_();return u.jsxs(jb,{children:[e.map(function({id:n,title:a,description:i,action:o,...c}){return u.jsxs(Tb,{...c,children:[u.jsxs("div",{className:"grid gap-1",children:[a&&u.jsx(Eb,{children:a}),i&&u.jsx(kb,{children:i})]}),o,u.jsx(Ab,{})]},n)}),u.jsx(_b,{})]})}var oc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},pA={setTimeout:(e,n)=>setTimeout(e,n),clearTimeout:e=>clearTimeout(e),setInterval:(e,n)=>setInterval(e,n),clearInterval:e=>clearInterval(e)},gA=class{#e=pA;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,n){return this.#e.setTimeout(e,n)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,n){return this.#e.setInterval(e,n)}clearInterval(e){this.#e.clearInterval(e)}},Pf=new gA;function yA(e){setTimeout(e,0)}var lc=typeof window>"u"||"Deno"in globalThis;function pn(){}function xA(e,n){return typeof e=="function"?e(n):e}function vA(e){return typeof e=="number"&&e>=0&&e!==1/0}function bA(e,n){return Math.max(e+(n||0)-Date.now(),0)}function Df(e,n){return typeof e=="function"?e(n):e}function wA(e,n){return typeof e=="function"?e(n):e}function N0(e,n){const{type:a="all",exact:i,fetchStatus:o,predicate:c,queryKey:f,stale:m}=e;if(f){if(i){if(n.queryHash!==wh(f,n.options))return!1}else if(!Dr(n.queryKey,f))return!1}if(a!=="all"){const p=n.isActive();if(a==="active"&&!p||a==="inactive"&&p)return!1}return!(typeof m=="boolean"&&n.isStale()!==m||o&&o!==n.state.fetchStatus||c&&!c(n))}function R0(e,n){const{exact:a,status:i,predicate:o,mutationKey:c}=e;if(c){if(!n.options.mutationKey)return!1;if(a){if(Pr(n.options.mutationKey)!==Pr(c))return!1}else if(!Dr(n.options.mutationKey,c))return!1}return!(i&&n.state.status!==i||o&&!o(n))}function wh(e,n){return(n?.queryKeyHashFn||Pr)(e)}function Pr(e){return JSON.stringify(e,(n,a)=>Uf(a)?Object.keys(a).sort().reduce((i,o)=>(i[o]=a[o],i),{}):a)}function Dr(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?Object.keys(n).every(a=>Dr(e[a],n[a])):!1}var SA=Object.prototype.hasOwnProperty;function Cb(e,n,a=0){if(e===n)return e;if(a>500)return n;const i=M0(e)&&M0(n);if(!i&&!(Uf(e)&&Uf(n)))return n;const c=(i?e:Object.keys(e)).length,f=i?n:Object.keys(n),m=f.length,p=i?new Array(m):{};let g=0;for(let y=0;y<m;y++){const x=i?y:f[y],b=e[x],A=n[x];if(b===A){p[x]=b,(i?y<c:SA.call(e,x))&&g++;continue}if(b===null||A===null||typeof b!="object"||typeof A!="object"){p[x]=A;continue}const _=Cb(b,A,a+1);p[x]=_,_===b&&g++}return c===m&&g===c?e:p}function M0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Uf(e){if(!O0(e))return!1;const n=e.constructor;if(n===void 0)return!0;const a=n.prototype;return!(!O0(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function O0(e){return Object.prototype.toString.call(e)==="[object Object]"}function jA(e){return new Promise(n=>{Pf.setTimeout(n,e)})}function _A(e,n,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,n):a.structuralSharing!==!1?Cb(e,n):n}function TA(e,n,a=0){const i=[...e,n];return a&&i.length>a?i.slice(1):i}function AA(e,n,a=0){const i=[n,...e];return a&&i.length>a?i.slice(0,-1):i}var Sh=Symbol();function Nb(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===Sh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function EA(e,n,a){let i=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=n(),i||(i=!0,o.aborted?a():o.addEventListener("abort",a,{once:!0})),o)}),e}var kA=class extends oc{#e;#n;#t;constructor(){super(),this.#t=e=>{if(!lc&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Rb=new kA;function CA(){let e,n;const a=new Promise((o,c)=>{e=o,n=c});a.status="pending",a.catch(()=>{});function i(o){Object.assign(a,o),delete a.resolve,delete a.reject}return a.resolve=o=>{i({status:"fulfilled",value:o}),e(o)},a.reject=o=>{i({status:"rejected",reason:o}),n(o)},a}var NA=yA;function RA(){let e=[],n=0,a=m=>{m()},i=m=>{m()},o=NA;const c=m=>{n?e.push(m):o(()=>{a(m)})},f=()=>{const m=e;e=[],m.length&&o(()=>{i(()=>{m.forEach(p=>{a(p)})})})};return{batch:m=>{let p;n++;try{p=m()}finally{n--,n||f()}return p},batchCalls:m=>(...p)=>{c(()=>{m(...p)})},schedule:c,setNotifyFunction:m=>{a=m},setBatchNotifyFunction:m=>{i=m},setScheduler:m=>{o=m}}}var At=RA(),MA=class extends oc{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(!lc&&window.addEventListener){const n=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},Fl=new MA;function OA(e){return Math.min(1e3*2**e,3e4)}function Mb(e){return(e??"online")==="online"?Fl.isOnline():!0}var Lf=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Ob(e){let n=!1,a=0,i;const o=CA(),c=()=>o.status!=="pending",f=j=>{if(!c()){const E=new Lf(j);b(E),e.onCancel?.(E)}},m=()=>{n=!0},p=()=>{n=!1},g=()=>Rb.isFocused()&&(e.networkMode==="always"||Fl.isOnline())&&e.canRun(),y=()=>Mb(e.networkMode)&&e.canRun(),x=j=>{c()||(i?.(),o.resolve(j))},b=j=>{c()||(i?.(),o.reject(j))},A=()=>new Promise(j=>{i=E=>{(c()||g())&&j(E)},e.onPause?.()}).then(()=>{i=void 0,c()||e.onContinue?.()}),_=()=>{if(c())return;let j;const E=a===0?e.initialPromise:void 0;try{j=E??e.fn()}catch(O){j=Promise.reject(O)}Promise.resolve(j).then(x).catch(O=>{if(c())return;const N=e.retry??(lc?0:3),R=e.retryDelay??OA,H=typeof R=="function"?R(a,O):R,L=N===!0||typeof N=="number"&&a<N||typeof N=="function"&&N(a,O);if(n||!L){b(O);return}a++,e.onFail?.(a,O),jA(H).then(()=>g()?void 0:A()).then(()=>{n?b(O):_()})})};return{promise:o,status:()=>o.status,cancel:f,continue:()=>(i?.(),o),cancelRetry:m,continueRetry:p,canStart:y,start:()=>(y()?_():A().then(_),o)}}var Pb=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),vA(this.gcTime)&&(this.#e=Pf.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(lc?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Pf.clearTimeout(this.#e),this.#e=void 0)}},PA=class extends Pb{#e;#n;#t;#i;#s;#r;#o;constructor(e){super(),this.#o=!1,this.#r=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#t=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=D0(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#r,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=D0(this.options);n.data!==void 0&&(this.setState(P0(n.data,n.dataUpdatedAt)),this.#e=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,n){const a=_A(this.state.data,e,this.options);return this.#a({data:a,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),a}setState(e,n){this.#a({type:"setState",state:e,setStateOptions:n})}cancel(e){const n=this.#s?.promise;return this.#s?.cancel(e),n?n.then(pn).catch(pn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>wA(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Sh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Df(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:!bA(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.#s&&(this.#o?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,n){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const a=new AbortController,i=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#o=!0,a.signal)})},o=()=>{const m=Nb(this.options,n),g=(()=>{const y={client:this.#i,queryKey:this.queryKey,meta:this.meta};return i(y),y})();return this.#o=!1,this.options.persister?this.options.persister(m,g,this):m(g)},f=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:o};return i(m),m})();this.options.behavior?.onFetch(f,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#a({type:"fetch",meta:f.fetchOptions?.meta}),this.#s=Ob({initialPromise:n?.initialPromise,fn:f.fetchFn,onCancel:m=>{m instanceof Lf&&m.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(m,p)=>{this.#a({type:"failed",failureCount:m,error:p})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const m=await this.#s.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#t.config.onSuccess?.(m,this),this.#t.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof Lf){if(m.silent)return this.#s.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#a({type:"error",error:m}),this.#t.config.onError?.(m,this),this.#t.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#a(e){const n=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...DA(a.data,this.options),fetchMeta:e.meta??null};case"success":const i={...a,...P0(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?i:void 0,i;case"error":const o=e.error;return{...a,error:o,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=n(this.state),At.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function DA(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mb(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function P0(e,n){return{data:e,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function D0(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,a=n!==void 0,i=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}function U0(e){return{onFetch:(n,a)=>{const i=n.options,o=n.fetchOptions?.meta?.fetchMore?.direction,c=n.state.data?.pages||[],f=n.state.data?.pageParams||[];let m={pages:[],pageParams:[]},p=0;const g=async()=>{let y=!1;const x=_=>{EA(_,()=>n.signal,()=>y=!0)},b=Nb(n.options,n.fetchOptions),A=async(_,j,E)=>{if(y)return Promise.reject();if(j==null&&_.pages.length)return Promise.resolve(_);const N=(()=>{const X={client:n.client,queryKey:n.queryKey,pageParam:j,direction:E?"backward":"forward",meta:n.options.meta};return x(X),X})(),R=await b(N),{maxPages:H}=n.options,L=E?AA:TA;return{pages:L(_.pages,R,H),pageParams:L(_.pageParams,j,H)}};if(o&&c.length){const _=o==="backward",j=_?UA:L0,E={pages:c,pageParams:f},O=j(i,E);m=await A(E,O,_)}else{const _=e??c.length;do{const j=p===0?f[0]??i.initialPageParam:L0(i,m);if(p>0&&j==null)break;m=await A(m,j),p++}while(p<_)}return m};n.options.persister?n.fetchFn=()=>n.options.persister?.(g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},a):n.fetchFn=g}}}function L0(e,{pages:n,pageParams:a}){const i=n.length-1;return n.length>0?e.getNextPageParam(n[i],n,a[i],a):void 0}function UA(e,{pages:n,pageParams:a}){return n.length>0?e.getPreviousPageParam?.(n[0],n,a[0],a):void 0}var LA=class extends Pb{#e;#n;#t;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||zA(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(n=>n!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const n=()=>{this.#s({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=Ob({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(c,f)=>{this.#s({type:"failed",failureCount:c,error:f})},onPause:()=>{this.#s({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const i=this.state.status==="pending",o=!this.#i.canStart();try{if(i)n();else{this.#s({type:"pending",variables:e,isPaused:o}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,a);const f=await this.options.onMutate?.(e,a);f!==this.state.context&&this.#s({type:"pending",context:f,variables:e,isPaused:o})}const c=await this.#i.start();return await this.#t.config.onSuccess?.(c,e,this.state.context,this,a),await this.options.onSuccess?.(c,e,this.state.context,a),await this.#t.config.onSettled?.(c,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(c,null,e,this.state.context,a),this.#s({type:"success",data:c}),c}catch(c){try{await this.#t.config.onError?.(c,e,this.state.context,this,a)}catch(f){Promise.reject(f)}try{await this.options.onError?.(c,e,this.state.context,a)}catch(f){Promise.reject(f)}try{await this.#t.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,a)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,a)}catch(f){Promise.reject(f)}throw this.#s({type:"error",error:c}),c}finally{this.#t.runNext(this)}}#s(e){const n=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,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{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),At.batch(()=>{this.#n.forEach(a=>{a.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function zA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var VA=class extends oc{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(e,n,a){const i=new LA({client:e,mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(n),state:a});return this.add(i),i}add(e){this.#e.add(e);const n=vl(e);if(typeof n=="string"){const a=this.#n.get(n);a?a.push(e):this.#n.set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const n=vl(e);if(typeof n=="string"){const a=this.#n.get(n);if(a)if(a.length>1){const i=a.indexOf(e);i!==-1&&a.splice(i,1)}else a[0]===e&&this.#n.delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=vl(e);if(typeof n=="string"){const i=this.#n.get(n)?.find(o=>o.state.status==="pending");return!i||i===e}else return!0}runNext(e){const n=vl(e);return typeof n=="string"?this.#n.get(n)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){At.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(e){const n={exact:!0,...e};return this.getAll().find(a=>R0(n,a))}findAll(e={}){return this.getAll().filter(n=>R0(e,n))}notify(e){At.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return At.batch(()=>Promise.all(e.map(n=>n.continue().catch(pn))))}};function vl(e){return e.options.scope?.id}var BA=class extends oc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,n,a){const i=n.queryKey,o=n.queryHash??wh(i,n);let c=this.get(o);return c||(c=new PA({client:e,queryKey:i,queryHash:o,options:e.defaultQueryOptions(n),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#e.get(e.queryHash);n&&(e.destroy(),n===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){At.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(a=>N0(n,a))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(a=>N0(e,a)):n}notify(e){At.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){At.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){At.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},IA=class{#e;#n;#t;#i;#s;#r;#o;#a;constructor(e={}){this.#e=e.queryCache||new BA,this.#n=e.mutationCache||new VA,this.#t=e.defaultOptions||{},this.#i=new Map,this.#s=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#o=Rb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#a=Fl.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#o?.(),this.#o=void 0,this.#a?.(),this.#a=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.defaultQueryOptions(e),a=this.#e.build(this,n),i=a.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(Df(n.staleTime,a))&&this.prefetchQuery(n),Promise.resolve(i))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:n,state:a})=>{const i=a.data;return[n,i]})}setQueryData(e,n,a){const i=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(i.queryHash)?.state.data,f=xA(n,c);if(f!==void 0)return this.#e.build(this,i).setData(f,{...a,manual:!0})}setQueriesData(e,n,a){return At.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,n,a)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state}removeQueries(e){const n=this.#e;At.batch(()=>{n.findAll(e).forEach(a=>{n.remove(a)})})}resetQueries(e,n){const a=this.#e;return At.batch(()=>(a.findAll(e).forEach(i=>
10{i.reset()}),this.refetchQueries({type:"active",...e},n)))}cancelQueries(e,n={}){const a={revert:!0,...n},i=At.batch(()=>this.#e.findAll(e).map(o=>o.cancel(a)));return Promise.all(i).then(pn).catch(pn)}invalidateQueries(e,n={}){return At.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},n)))}refetchQueries(e,n={}){const a={...n,cancelRefetch:n.cancelRefetch??!0},i=At.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let c=o.fetch(void 0,a);return a.throwOnError||(c=c.catch(pn)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(pn)}fetchQuery(e){const n=this.defaultQueryOptions(e);n.retry===void 0&&(n.retry=!1);const a=this.#e.build(this,n);return a.isStaleByTime(Df(n.staleTime,a))?a.fetch(n):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(pn).catch(pn)}fetchInfiniteQuery(e){return e.behavior=U0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(pn).catch(pn)}ensureInfiniteQueryData(e){return e.behavior=U0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Fl.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,n){this.#i.set(Pr(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#i.values()],a={};return n.forEach(i=>{Dr(e,i.queryKey)&&Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,n){this.#s.set(Pr(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#s.values()],a={};return n.forEach(i=>{Dr(e,i.mutationKey)&&Object.assign(a,i.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=wh(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Sh&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},HA=w.createContext(void 0),GA=({client:e,children:n})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(HA.Provider,{value:e,children:n}));const qA=new IA({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,staleTime:120*1e3}}});var FA=class Db extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(n){super(new.target.formatMessage(new.target.kind,n.message,n.code,n.docsUrl),{cause:n.cause}),Object.setPrototypeOf(this,Db.prototype),this.code=n.code,this.docsUrl=n.docsUrl,this.longMessage=n.longMessage,this.cause=n.cause}toString(){return`[${this.name}]
11Message:${this.message}`}static formatMessage(n,a,i,o){const c="Clerk:",f=new RegExp(c.replace(" ","\\s*"),"i");return a=a.replace(f,""),a=`${c} ${a.trim()}
12
13(code="${i}")
14
15`,o&&(a+=`
16
17Docs: ${o}`),a}},jh=class Ub extends FA{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(n,a){super({...a,message:n}),Object.setPrototypeOf(this,Ub.prototype)}};const YA=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invali
17d. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function Lb({packageName:e,customMessages:n}){let a=e;function i(c,f){if(!f)return`${a}: ${c}`;let m=c;const p=c.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const g of p){const y=(f[g[1]]||"").toString();m=m.replace(`{{${g[1]}}}`,y)}return`${a}: ${m}`}const o={...YA,...n};return{setPackageName({packageName:c}){return typeof c=="string"&&(a=c),this},setMessages({customMessages:c}){return Object.assign(o,c||{}),this},throwInvalidPublishableKeyError(c){throw new Error(i(o.InvalidPublishableKeyErrorMessage,c))},throwInvalidProxyUrl(c){throw new Error(i(o.InvalidProxyUrlErrorMessage,c))},throwMissingPublishableKeyError(){throw new Error(i(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(i(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(c){throw new Error(i(o.MissingClerkProvider,c))},throw(c){throw new Error(i(c))}}}const KA=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],zb=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof globalThis.Buffer<"u"?globalThis.Buffer.from(e,"base64").toString():e,Vb="pk_live_",$A="pk_test_";function Bb(e){if(!e.endsWith("$"))return!1;const n=e.slice(0,-1);return n.includes("$")?!1:n.includes(".")}function Kd(e,n={}){if(e=e||"",!e||!z0(e)){if(n.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(n.fatal&&!z0(e))throw new Error("Publishable key not valid.");return null}const a=e.startsWith(Vb)?"production":"development";let i;try{i=zb(e.split("_")[2])}catch{if(n.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!Bb(i)){if(n.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=i.slice(0,-1);return n.proxyUrl?o=n.proxyUrl:a!=="development"&&n.domain&&n.isSatellite&&(o=`clerk.${n.domain}`),{instanceType:a,frontendApi:o}}function z0(e=""){try{if(!(e.startsWith(Vb)||e.startsWith($A)))return!1;const n=e.split("_");if(n.length!==3)return!1;const a=n[2];return a?Bb(zb(a)):!1}catch{return!1}}function WA(){const e=new Map;return{isDevOrStagingUrl:n=>{if(!n)return!1;const a=typeof n=="string"?n:n.hostname;let i=e.get(a);return i===void 0&&(i=KA.some(o=>a.endsWith(o)),e.set(a,i)),i}}}const XA={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},QA=new Set(["first_factor","second_factor","multi_factor"]),ZA=new Set(["strict_mfa","strict","moderate","lax"]),V0=new Set(["o","org","organization"]),B0=new Set(["u","user"]),JA=e=>typeof e=="number"&&e>0,eE=e=>QA.has(e),tE=e=>ZA.has(e),I0=e=>typeof e=="number"&&Number.isFinite(e)&&(e===-1||e>=0),$d=e=>e.replace(/^(org:)*/,"org:"),nE=(e,n)=>{const{orgId:a,orgRole:i,orgPermissions:o}=n,c=e.role!==void 0,f=e.permission!==void 0;return!c&&!f?"skip":c&&typeof e.role!="string"||f&&typeof e.permission!="string"||!a||c&&(typeof i!="string"||!i||$d(i)!==$d(e.role))||f&&(!Array.isArray(o)||!o.includes($d(e.permission)))?"fail":"pass"},H0=(e,n)=>{const{org:a,user:i}=iE(e),[o,c]=n.split(":"),f=c!==void 0,m=o,p=c||o;if(f&&!V0.has(m)&&!B0.has(m))throw new Error(`Invalid scope: ${m}`);if(f){if(V0.has(m))return a.includes(p);if(B0.has(m))return i.includes(p)}return[...a,...i].includes(p)},sE=(e,n)=>{const{features:a,plans:i}=n,o=e.feature!==void 0,c=e.plan!==void 0;if(!o&&!c)return"skip";if(o&&typeof e.feature!="string"||c&&typeof e.plan!="string")return"fail";if(o){if(typeof a!="string"||!a)return"fail";try{if(!H0(a,e.feature))return"fail"}catch{return"fail"}}
17if(c){if(typeof i!="string"||!i)return"fail";try{if(!H0(i,e.plan))return"fail"}catch{return"fail"}}return"pass"},iE=e=>{const n=[],a=[];if(!e)return{org:n,user:a};const i=e.split(",");for(let o=0;o<i.length;o++){const c=i[o].trim(),f=c.indexOf(":");if(f===-1)throw new Error(`Invalid claim element (missing colon): ${c}`);const m=c.slice(0,f),p=c.slice(f+1);m==="o"?n.push(p):m==="u"?a.push(p):(m==="ou"||m==="uo")&&(n.push(p),a.push(p))}return{org:n,user:a}},aE=e=>{if(!e)return!1;const n=o=>typeof o=="string"?XA[o]:o,a=typeof e=="string"&&tE(e),i=typeof e=="object"&&eE(e.level)&&JA(e.afterMinutes);return a||i?n.bind(null,e):!1},rE=(e,{factorVerificationAge:n})=>{if(e.reverification===void 0)return"skip";if(!n||!Array.isArray(n)||n.length!==2||!I0(n[0])||!I0(n[1]))return"fail";const a=aE(e.reverification);if(!a)return"fail";const{level:i,afterMinutes:o}=a(),[c,f]=n;if(c===-1&&f===-1)return"fail";const m=c!==-1&&o>c,p=f!==-1&&o>f;switch(i){case"first_factor":return m?"pass":"fail";case"second_factor":return f===-1?m?"pass":"fail":p?"pass":"fail";case"multi_factor":return f===-1?m?"pass":"fail":c===-1?"fail":m&&p?"pass":"fail"}},oE=e=>e.some(n=>n==="pass")&&e.every(n=>n==="pass"||n==="skip"),lE=e=>n=>e.userId?oE([nE(n,e),sE(n,e),rE(n,e)]):!1,cE=({authObject:{sessionId:e,sessionStatus:n,userId:a,actor:i,orgId:o,orgRole:c,orgSlug:f,signOut:m,getToken:p,has:g,sessionClaims:y},options:{treatPendingAsSignedOut:x=!0}})=>{if(e===void 0&&a===void 0)return{actor:void 0,getToken:p,has:()=>!1,isLoaded:!1,isSignedIn:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:e,signOut:m,userId:a};if(e===null&&a===null)return{actor:null,getToken:p,has:()=>!1,isLoaded:!0,isSignedIn:!1,orgId:null,orgRole:null,orgSlug:null,sessionClaims:null,sessionId:e,signOut:m,userId:a};if(x&&n==="pending")return{actor:null,getToken:p,has:()=>!1,isLoaded:!0,isSignedIn:!1,orgId:null,orgRole:null,orgSlug:null,sessionClaims:null,sessionId:null,
17signOut:m,userId:null};if(e&&y&&a&&o&&c)return{actor:i||null,getToken:p,has:g,isLoaded:!0,isSignedIn:!0,orgId:o,orgRole:c,orgSlug:f||null,sessionClaims:y,sessionId:e,signOut:m,userId:a};if(e&&y&&a&&!o)return{actor:i||null,getToken:p,has:g,isLoaded:!0,isSignedIn:!0,orgId:null,orgRole:null,orgSlug:null,sessionClaims:y,sessionId:e,signOut:m,userId:a}},G0=(e,n,a)=>!e&&a?uE(a):dE(n),uE=e=>{const n=e.userId,a=e.user,i=e.sessionId,o=e.sessionStatus,c=e.sessionClaims;return{userId:n,user:a,sessionId:i,session:e.session,sessionStatus:o,sessionClaims:c,organization:e.organization,orgId:e.orgId,orgRole:e.orgRole,orgPermissions:e.orgPermissions,orgSlug:e.orgSlug,actor:e.actor,factorVerificationAge:e.factorVerificationAge}},dE=e=>{const n=e.user?e.user.id:e.user,a=e.user,i=e.session?e.session.id:e.session,o=e.session,c=e.session?.status,f=e.session?e.session.lastActiveToken?.jwt?.claims:null,m=e.session?e.session.factorVerificationAge:null,p=o?.actor,g=e.organization,y=e.organization?e.organization.id:e.organization,x=g?.slug,b=g&&a?.organizationMemberships?.find(_=>_.organization.id===y),A=b&&b.permissions;return{userId:n,user:a,sessionId:i,session:o,sessionStatus:c,sessionClaims:f,organization:g,orgId:y,orgRole:b&&b.role,orgSlug:x,orgPermissions:A,actor:p,factorVerificationAge:m}},fE="METHOD_CALLED",hE=.1;function Ib(e,n){return{event:fE,eventSamplingRate:hE,payload:{method:e,...n}}}const mE="ClerkJS:";function pE(){throw new Error(`${mE} Clerk instance not found. Make sure Clerk is initialized before using any Clerk components.`)}var q0=Object.prototype.hasOwnProperty;function F0(e,n,a){for(a of e.keys())if(kr(a,n))return a}function kr(e,n){var a,i,o;if(e===n)return!0;if(e&&n&&(a=e.constructor)===n.constructor){if(a===Date)return e.getTime()===n.getTime();if(a===RegExp)return e.toString()===n.toString();if(a===Array){if((i=e.length)===n.length)for(;i--&&kr(e[i],n[i]););return i===-1}if(a===Set){if(e.size!==n.size)return!1;for(i of e)if(o=i,o&&typeof o=="object"&&(o=F0(n,o),!o)||!n.has(o))return!1;return!0}if(a===Map){if(e.size!==n.size)return!1;for(i of e)if(o=i[0],o&&typeof o=="object"&&(o=F0(n,o),!o)||!kr(i[1],n.get(o)))return!1;return!0}if(a===ArrayBuffer)e=new Uint8Array(e),n=new Uint8Array(n);else if(a===DataView){if((i=e.byteLength)===n.byteLength)for(;i--&&e.getInt8(i)===n.getInt8(i););return i===-1}if(ArrayBuffer.isView(e)){if((i=e.byteLength)===n.byteLength)for(;i--&&e[i]===n[i];);return i===-1}if(!a||typeof e=="object"){i=0;for(a in e)if(q0.call(e,a)&&++i&&!q0.call(n,a)||!(a in n)||!kr(e[a],n[a]))return!1;return Object.keys(n).length===i}}return e!==e&&n!==n}function gE(e,n){if(!e)throw typeof n=="string"?new Error(n):new Error(`${n.displayName} not found`)}const fa=(e,n)=>{const{assertCtxFn:a=gE}={},i=V.createContext(void 0);return i.displayName=e,[i,()=>{const f=V.useContext(i);return a(f,`${e} not found`),f.value},()=>{const f=V.useContext(i);return f?f.value:{}}]},[Hb,Fr]=fa("ClerkInstanceContext"),[yE,xE]=fa("InitialStateContext");function vE({children:e,initialState:n}){const[a]=w.useState(n),i=V.useMemo(()=>({value:a}),[a]);return V.createElement(yE.Provider,{value:i},e)}function Gb(){const e=xE();if(e instanceof Promise){if("use"in V&&typeof V.use=="function")return V.use(e);throw new Error("initialState cannot be a promise if React version is less than 19")}return e}V.createContext({});const[bE]=fa("CheckoutContext"),wE=({children:e,...n})=>V.createElement(bE.Provider,{value:{value:n}},e);function _h(e){if(!V.useContext(Hb)){if(typeof e=="function"){e();return}throw new Error(`${e} can only be used within the <ClerkProvider /> component.
18
19Possible fixes:
201. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.
212. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one.
22
23Learn more: https://clerk.com/docs/components/clerk-provider`.trim())}}function SE(e){const n=function(){};let a;return a=new Proxy(n,{get(i,o){if(o!=="then")return o==="toString"?()=>`[${e}]`:o===Symbol.toPrimitive?()=>0:a},apply(){return a},construct(){return a},has(){return!1},set(){return!1}}),a}SE("ClerkMockQueryClient");function jE(){const e=Fr(),n=Gb(),a=w.useCallback(()=>n?.user,[n?.user]);return w.useSyncExternalStore(w.useCallback(i=>e.addListener(i,{skipInitialEmit:!0}),[e]),w.useCallback(()=>!e.loaded||!e.__internal_lastEmittedResources?a():e.__internal_lastEmittedResources.user,[e,a]),a)}const qb=()=>(_h("useClerk"),Fr());typeof window<"u"?V.useLayoutEffect:V.useEffect;const Y0="useUser";function _E(){_h(Y0);const e=jE();return Fr().telemetry?.record(Ib(Y0)),e===void 0?{isLoaded:!1,isSignedIn:void 0,user:void 0}:e===null?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:e}}const K0=kr;function TE(e){e||pE()}function AE(e){const n=e.clerk;if(TE(n),e.initialState instanceof Promise&&!("use"in V&&typeof V.use=="function"))throw new Error("initialState cannot be a promise if React version is less than 19");const a=V.useMemo(()=>({value:n}),[e.clerkStatus]);return V.createElement(vE,{initialState:e.initialState},V.createElement(Hb.Provider,{value:a},V.createElement(wE,{value:void 0},e.children)))}const EE=e=>{const n=w.useRef(e);return w.useEffect(()=>{n.current=e},[e]),n.current},qt=(e,n,a)=>{const i=!!a,o=w.useRef(a);w.useEffect(()=>{o.current=a},[a]),w.useEffect(()=>{if(!i||!e)return()=>{};const c=(...f)=>{o.current&&o.current(...f)};return e.on(n,c),()=>{e.off(n,c)}},[i,n,e,o])},Fb=V.createContext(null);Fb.displayName="ElementsContext";const kE=(e,n)=>{if(!e)throw new Error(`Could not find Elements context; You need to wrap the part of your app that ${n} in an <Elements> provider.`);return e},Yl=e=>e!==null&&typeof e=="object",CE=(e,n,a)=>Yl(e)?Object.keys(e).reduce((i,o)=>{const c=!Yl(n)||!Yb(e[o],n[o]);return a.includes(o)?(c&&console.warn(`Unsupported prop change: options.${o} is not a mutable property.`),i):c?{...i||{},[o]:e[o]}:i},null):null,$0="[object Object]",Yb=(e,n)=>{if(!Yl(e)||!Yl(n))return e===n;const a=Array.isArray(e);if(a!==Array.isArray(n))return!1;const i=Object.prototype.toString.call(e)===$0;if(i!==(Object.prototype.toString.call(n)===$0))return!1;if(!i&&!a)return e===n;const o=Object.keys(e),c=Object.keys(n);if(o.length!==c.length)return!1;const f={};for(let x=0;x<o.length;x+=1)f[o[x]]=!0;for(let x=0;x<c.length;x+=1)f[c[x]]=!0;const m=Object.keys(f);if(m.length!==o.length)return!1;const p=e,g=n,y=x=>Yb(p[x],g[x]);return m.every(y)},W0=e=>kE(V.useContext(Fb),e),NE=e=>e.charAt(0).toUpperCase()+e.slice(1),RE=(e,n)=>{const a=`${NE(e)}Element`,c=n?f=>{W0(`mounts <${a}>`);const{id:m,className:p}=f;return V.createElement("div",{id:m,className:p})}:({id:f,className:m,fallback:p,options:g={},onBlur:y,onFocus:x,onReady:b,onChange:A,onEscape:_,onClick:j,onLoadError:E,onLoaderStart:O,onNetworksChange:N,onConfirm:R,onCancel:H,onShippingAddressChange:L,onShippingRateChange:X})=>{const Q=W0(`mounts <${a}>`),I="elements"in Q?Q.elements:null,[q,ue]=V.useState(null),se=V.useRef(null),fe=V.useRef(null),[Be,Ze]=w.useState(!1);qt(q,"blur",y),qt(q,"focus",x),qt(q,"escape",_),qt(q,"click",j),qt(q,"loaderror",E),qt(q,"loaderstart",O),qt(q,"networksch
23ange",N),qt(q,"confirm",R),qt(q,"cancel",H),qt(q,"shippingaddresschange",L),qt(q,"shippingratechange",X),qt(q,"change",A);let ve;b&&(ve=()=>{Ze(!0),b(q)}),qt(q,"ready",ve),V.useLayoutEffect(()=>{if(se.current===null&&fe.current!==null&&I){let W=null;I&&(W=I.create(e,g)),se.current=W,ue(W),W&&W.mount(fe.current)}},[I,g]);const B=EE(g);return V.useEffect(()=>{if(!se.current)return;const W=CE(g,B,["paymentRequest"]);W&&"update"in se.current&&se.current.update(W)},[g,B]),V.useLayoutEffect(()=>()=>{if(se.current&&typeof se.current.destroy=="function")try{se.current.destroy(),se.current=null}catch{}},[]),V.createElement(V.Fragment,null,!Be&&p,V.createElement("div",{id:f,style:{height:Be?"unset":"0px",visibility:Be?"visible":"hidden"},className:m,ref:fe}))};return c.displayName=a,c.__elementType=e,c};RE("payment",typeof window>"u");fa("PaymentElementContext");fa("StripeUtilsContext");const[C3,,ME]=fa("PortalProvider"),OE=()=>{const e=ME();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null};var Kn=Lb({packageName:"@clerk/react"});function PE(e){Kn.setMessages(e).setPackageName(e)}var Kb=Fr,$b=e=>{_h(()=>{Kn.throwMissingClerkProviderError({source:e})})};const DE=()=>{try{return!1}catch{}return!1},UE=()=>{try{return!1}catch{}return!1},LE=()=>{try{return!0}catch{}return!1};function Wd(e,n,a){if(typeof e=="function")return e(n);if(typeof e<"u")return e;if(typeof a<"u")return a}const Et=e=>{DE()&&console.error(`Clerk: ${e}`)},Xd={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CLERK_PROXY_URL:"/api/__clerk",VITE_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsuamFzbm8uYWkk"};var Qd={};const X0=(e,n)=>{if(typeof process<"u"&&Qd&&typeof Qd[e]=="string")return Qd[e];if(typeof import.meta<"u"&&Xd&&typeof Xd[e]=="string")return Xd[e];try{return globalThis[e]}catch{}return""};var cc=tb();const zE=rc(cc),VE=ac({__proto__:null,default:zE},[cc]),Q0=(e,...n)=>{const a={...e};for(const i of n)delete a[i];return a};function Ur(){return typeof window<"u"}var BE="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",IE=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,HE="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",Zd="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",GE="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",qE="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",FE="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",YE="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",KE=e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,$E=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,WE=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,XE="<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",QE="<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",ZE="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",JE="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",ek="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",tk="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",nk="Missing props. <UserButton.Action /> component requires the following props: label.",uc=e=>n=>{try{return V.Children.only(e)}catch{return Kn.throw(IE(n))}},dc=(e,n)=>(e||(e=n),typeof e=="string"&&(e=V.createElement("button",null,e)),e),fc=e=>(...n)=>{if(e&&typeof e=="function")return e(...n)},sk=e=>X0(`VITE_${e}`)||X0(e),ik=(e,n)=>e!==void 0?e:sk(n)||void 0,ak=e=>{const n=ik(e.publishableKey,"CLERK_PUBLISHABLE_KEY");return{...e,...n!==void 0&&{publishableKey:n}}};function Z0(e){return typeof e=="function"}var bl=new Map;function rk(e,n,a=1){V.useEffect(()=>{const i=bl.get(e)||0;return i==a?Kn.throw(n):(bl.set(e,i+1),()=>{bl.set(e,(bl.get(e)||1)-1)})},[])}function ok(e,n,a){const i=e.displayName||e.name||n||"Component",o=c=>(rk(n,a),V.createElement(e,{...c}));return o.displayName=`withMaxAllowedInstancesGuard(${i})`,o}var Cr=e=>{const[n,a]=w.useState(new Map);return e.map(i=>({id:i.id,mount:o=>a(c=>new Map(c).set(String(i.id),o)),unmount:()=>a(o=>{const c=new Map(o);return c.set(String(i.id),null),c}),portal:()=>{const o=n.get(String(i.id));return o?cc.createPortal(i.component,o):null}}))},Tt=(e,n)=>!!e&&V.isValidElement(e)&&e?.type===n,Wb=(e,n)=>Zb({children:e,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:Kr,PageComponent:Yr,MenuItemsComponent:mc,componentName:"UserProfile"},n),Xb=(e,n)=>Zb({children:e,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:gc,PageComponent:pc,componentName:"OrganizationProfile"},n),Qb=e=>{const n=[],a=[gc,pc,mc,Yr,Kr];
23return V.Children.forEach(e,i=>{a.some(o=>Tt(i,o))||n.push(i)}),n},Zb=(e,n)=>{const{children:a,LinkComponent:i,PageComponent:o,MenuItemsComponent:c,reorderItemsLabels:f,componentName:m}=e,{allowForAnyChildren:p=!1}=n||{},g=[];V.Children.forEach(a,N=>{if(!Tt(N,o)&&!Tt(N,i)&&!Tt(N,c)){N&&!p&&Et(KE(m));return}const{props:R}=N,{children:H,label:L,url:X,labelIcon:Q}=R;if(Tt(N,o))if(J0(R,f))g.push({label:L});else if(Jd(R))g.push({label:L,labelIcon:Q,children:H,url:X});else{Et($E(m));return}if(Tt(N,i))if(ef(R))g.push({label:L,labelIcon:Q,url:X});else{Et(WE(m));return}});const y=[],x=[],b=[];g.forEach((N,R)=>{if(Jd(N)){y.push({component:N.children,id:R}),x.push({component:N.labelIcon,id:R});return}ef(N)&&b.push({component:N.labelIcon,id:R})});const A=Cr(y),_=Cr(x),j=Cr(b),E=[],O=[];return g.forEach((N,R)=>{if(J0(N,f)){E.push({label:N.label});return}if(Jd(N)){const{portal:H,mount:L,unmount:X}=A.find(ue=>ue.id===R),{portal:Q,mount:I,unmount:q}=_.find(ue=>ue.id===R);E.push({label:N.label,url:N.url,mount:L,unmount:X,mountIcon:I,unmountIcon:q}),O.push(H),O.push(Q);return}if(ef(N)){const{portal:H,mount:L,unmount:X}=j.find(Q=>Q.id===R);E.push({label:N.label,url:N.url,mountIcon:L,unmountIcon:X}),O.push(H);return}}),{customPages:E,customPagesPortals:O}},J0=(e,n)=>{const{children:a,label:i,url:o,labelIcon:c}=e;return!a&&!o&&!c&&n.some(f=>f===i)},Jd=e=>{const{children:n,label:a,url:i,labelIcon:o}=e;return!!n&&!!i&&!!o&&!!a},ef=e=>{const{children:n,label:a,url:i,labelIcon:o}=e;return!n&&!!i&&!!o&&!!a},lk=(e,n)=>{var a;return ck({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:mc,MenuActionComponent:e1,MenuLinkComponent:t1,UserProfileLinkComponent:Kr,UserProfilePageComponent:Yr,allowForAnyChildren:(a=n?.allowForAnyChildren)!=null?a:!1})},ck=({children:e,MenuItemsComponent:n,MenuActionComponent:a,MenuLinkComponent:i,UserProfileLinkComponent:o,UserProfilePageComponent:c,reorderItemsLabels:f,allowForAnyChildren:m=!1})=>{const p=[],g=[],y=[];V.Children.forEach(e,j=>{if(!Tt(j,n)&&!Tt(j,o)&&!Tt(j,c)){j&&!m&&Et(XE);return}if(Tt(j,o)||Tt(j,c))return;const{props:E}=j;V.Children.forEach(E.children,O=>{if(!Tt(O,a)&&!Tt(O,i)){O&&Et(QE);return}const{props:N}=O,{label:R,labelIcon:H,href:L,onClick:X,open:Q}=N;if(Tt(O,a))if(ex(N,f))p.push({label:R});else if(tf(N)){const I={label:R,labelIcon:H};if(X!==void 0)p.push({...I,onClick:X});else if(Q!==void 0)p.push({...I,open:Q.startsWith("/")?Q:`/${Q}`});else{Et("Custom menu item must have either onClick or open property");return}}else{Et(nk);return}if(Tt(O,i))if(nf(N))p.push({label:R,labelIcon:H,href:L});else{Et(tk);return}})});const x=[],b=[];p.forEach((j,E)=>{tf(j)&&x.push({component:j.labelIcon,id:E}),nf(j)&&b.push({component:j.labelIcon,id:E})});const A=Cr(x),_=Cr(b);return p.forEach((j,E)=>{if(ex(j,f)&&g.push({label:j.label}),tf(j)){const{portal:O,mount:N,unmount:R}=A.find(L=>L.id===E),H={label:j.label,mountIcon:N,unmountIcon:R};"onClick"in j?H.onClick=j.onClick:"open"in j&&(H.open=j.open),g.push(H),y.push(O)}if(nf(j)){const{portal:O,mount:N,unmount:R}=_.find(H=>H.id===E);g.push({label:j.label,href:j.href,mountIcon:N,unmountIcon:R}),y.push(O)}}),{customMenuItems:g,customMenuItemsPortals:y}},ex=(e,n)=>{const{children:a,label:i,onClick:o,labelIcon:c}=e;return!a&&!o&&!c&&n.some(f=>f===i)},tf=e=>{const{label:n,labelIcon:a,onClick:i,open:o}=e;return!!a&&!!n&&(typeof i=="function"||typeof o=="string")},nf=e=>{const{label:n,href:a,labelIcon:i}=e;return!!a&&!!i&&!!n},uk=e=>{const n=e?.isReady;return a=>new Promise((i,o)=>{const{root:c=document?.body,selector:f,timeout:m=0}=a;if(!c){o(new Error("No root element provided"));return}let p=c;if(f&&(p=c?.querySelector(f)),n(p,f)){i();return}const g=new MutationObserver(y=>{for(const x of y)if(!p&&f&&(p=c?.querySelector(f)),(e.childList&&x.type==="childList"||e.attributes&&x.type==="attributes")&&n(p,f)){g.disconnect(),i();return}});g.observe(c,e),m>0&&setTimeout(()=>{g.disconnect(),o(new Error(`Timeout waiting for ${f}`))},m)})},dk=uk({childList:!0,subtree:!0,isReady:(e,n)=>{var a;return!!e?.childElementCount&&((a=e?.matches)==null?void 0:a.call(e,n))&&e.childElementCount>0}});function mt(e,n){const a=w.useRef(),[i,o]=w.useState("rendering");return w.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");if(typeof window<"u"&&!a.current){const c=`[data-clerk-component="${e}"]`,f=n?.selector;a.current=dk({selector:f?c+f:c}).then(()=>{o("rendered")}
23).catch(()=>{o("error")})}},[e,n?.selector]),i}var wl=e=>"mount"in e,tx=e=>"open"in e,nx=e=>e?.map(({mountIcon:n,unmountIcon:a,...i})=>i),nt=class extends V.PureComponent{constructor(){super(...arguments),this.rootRef=V.createRef()}componentDidUpdate(e){var n,a,i,o;if(!wl(e)||!wl(this.props))return;const c=Q0(e.props,"customPages","customMenuItems","children"),f=Q0(this.props.props,"customPages","customMenuItems","children"),m=((n=c.customPages)==null?void 0:n.length)!==((a=f.customPages)==null?void 0:a.length),p=((i=c.customMenuItems)==null?void 0:i.length)!==((o=f.customMenuItems)==null?void 0:o.length),g=nx(e.props.customMenuItems),y=nx(this.props.props.customMenuItems);(!K0(c,f)||!K0(g,y)||m||p)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(wl(this.props)&&this.props.mount(this.rootRef.current,this.props.props),tx(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(wl(this.props)&&this.props.unmount(this.rootRef.current),tx(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:e=!1}=this.props,n={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return V.createElement(V.Fragment,null,!e&&V.createElement("div",{...n}),this.props.children)}},Oe=(e,n)=>{const i=(typeof n=="string"?n:n?.component)||e.displayName||e.name||"Component";e.displayName=i;const o=typeof n=="string"?void 0:n,c=f=>{$b(i||"withClerk");const m=Kb(),p=OE();return!m.loaded&&!o?.renderWhileLoading?null:V.createElement(e,{getContainer:p,...f,component:i,clerk:m})};return c.displayName=`withClerk(${i})`,c},hc=e=>{var n,a;return V.createElement(V.Fragment,null,(n=e?.customPagesPortals)==null?void 0:n.map((i,o)=>w.createElement(i,{key:o})),(a=e?.customMenuItemsPortals)==null?void 0:a.map((i,o)=>w.createElement(i,{key:o})))},fk=Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"SignIn",renderWhileLoading:!0}),hk=Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"SignUp",renderWhileLoading:!0});function Yr({children:e}){return Et(GE),V.createElement(V.Fragment,null,e)}function Kr({children:e}){return Et(qE),V.createElement(V.Fragment,null,e)}var mk=Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}},{customPages:m,customPagesPortals:p}=Wb(i.children);return V.createElement(V.Fragment,null,c&&a,V.createElement(nt,{component:n,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__internal_updateProps,props:{...i,customPages:m},rootProps:f},V.createElement(hc,{customPagesPortals:p})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(mk,{Page:Yr,Link:Kr});var Jb=w.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),pk=Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}},{customPages:m,customPagesPortals:p}=Wb(i.children,{allowForAnyChildren:!!i.__experimental_asProvider}),g={...i.userProfileProps,customPages:m},{customMenuItems:y,customMenuItemsPortals:x}=lk(i.children,{allowForAnyChildren:!!i.__experimental_asProvider}),b=Qb(i.children),A={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__internal_updateProps,props:{...i,userProfileProps:g,customMenuItems:y}},_={customPagesPortals:p,customMenuItemsPortals:x};return V.createElement(Jb.Provider,{value:A},c&&a,e.loaded&&V.createElement(nt,{component:n,...A,hideRootHtmlElement:!!i.__experimental_asProvider,rootProps:f},i.__experimental_asProvider?b:null,V.createElement(hc,{..._})))},{component:"UserButton",renderWhileLoading:!0});function mc({children:e}){return Et(ZE),V.createElement(V.Fragment,null,e)}function e1({children:e}
23){return Et(JE),V.createElement(V.Fragment,null,e)}function t1({children:e}){return Et(ek),V.createElement(V.Fragment,null,e)}function gk(e){const n=w.useContext(Jb),a={...n,props:{...n.props,...e}};return V.createElement(nt,{...a})}Object.assign(pk,{UserProfilePage:Yr,UserProfileLink:Kr,MenuItems:mc,Action:e1,Link:t1,__experimental_Outlet:gk});function pc({children:e}){return Et(FE),V.createElement(V.Fragment,null,e)}function gc({children:e}){return Et(YE),V.createElement(V.Fragment,null,e)}var yk=Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}},{customPages:m,customPagesPortals:p}=Xb(i.children);return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__internal_updateProps,props:{...i,customPages:m},rootProps:f},V.createElement(hc,{customPagesPortals:p})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(yk,{Page:pc,Link:gc});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"CreateOrganization",renderWhileLoading:!0});var n1=w.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),xk=Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}},{customPages:m,customPagesPortals:p}=Xb(i.children,{allowForAnyChildren:!!i.__experimental_asProvider}),g={...i.organizationProfileProps,customPages:m},y=Qb(i.children),x={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__internal_updateProps,props:{...i,organizationProfileProps:g},rootProps:f,component:n};return e.__experimental_prefetchOrganizationSwitcher(),V.createElement(n1.Provider,{value:x},V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{...x,hideRootHtmlElement:!!i.__experimental_asProvider},i.__experimental_asProvider?y:null,V.createElement(hc,{customPagesPortals:p}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function vk(e){const n=w.useContext(n1),a={...n,props:{...n.props,...e}};return V.createElement(nt,{...a})}Object.assign(xk,{OrganizationProfilePage:pc,OrganizationProfileLink:gc,__experimental_Outlet:vk});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"OrganizationList",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"GoogleOneTap",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"Waitlist",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n,{selector:'[data-component-status="ready"]'})==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"PricingTable",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountAPIKeys,unmount:e.unmountAPIKeys,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"ApiKeys",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.__experimental_mountConfigureSSO,unmount:e.__experimental_unmountConfigureSSO,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"ConfigureSSO",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.__internal_mountOAuthConsent,unmount:e.__internal_unmountOAuthConsent,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"OAuthConsent",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountUserAvatar,unmount:e.unmountUserAvatar,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"UserAvatar",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountTaskChooseOrganization,unmount:e.unmountTaskChooseOrganization,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"TaskChooseOrganization",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountTaskResetPassword,unmount:e.unmountTaskResetPassword,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"TaskResetPassword",renderWhileLoading:!0});Oe(({clerk:e,component:n,fallback:a,...i})=>{const c=mt(n)==="rendering"||!e.loaded,f={...c&&a&&{style:{display:"none"}}};return V.createElement(V.Fragment,null,c&&a,e.loaded&&V.createElement(nt,{component:n,mount:e.mountTaskSetupMFA,unmount:e.unmountTaskSetupMFA,updateProps:e.__internal_updateProps,props:i,rootProps:f}))},{component:"TaskSetupMFA",renderWhileLoading:!0});var bk={actor:void 0,factorVerificationAge:null,orgId:void 0,orgPermissions:void 0,orgRole:void 0,orgSlug:void 0,sessionClaims:void 0,sessionId:void 0,sessionStatus:void 0,userId:void 0};function wk(){const e=Fr(),n=Gb(),a=w.useCallback(()=>n,[n]),i=w.useSyncExternalStore(w.useCallback(c=>e.addListener(c,{skipInitialEmit:!0}),[e]),w.useCallback(()=>!e.loaded||!e.__internal_lastEmittedResources?a():e.__internal_lastEmittedResources,[e,a]),a);return w.useMemo(()=>
23{if(!i)return bk;const c=jk(i)?G0(!1,{},i):G0(!0,i,void 0);return Sk(c)},[i])}function Sk(e){return{sessionId:e.sessionId,sessionStatus:e.sessionStatus,sessionClaims:e.sessionClaims,userId:e.userId,actor:e.actor,orgId:e.orgId,orgRole:e.orgRole,orgSlug:e.orgSlug,orgPermissions:e.orgPermissions,factorVerificationAge:e.factorVerificationAge}}function jk(e){return!("client"in e)}var s1=e=>new Promise(n=>{const a=i=>{["ready","degraded"].includes(i)&&(n(),e.off("status",a))};e.on("status",a,{notify:!0})}),_k=e=>async n=>{if(!Ur())throw new jh("useAuth().getToken() can only be used in browser environments. To access auth data server-side, see the Auth object reference doc: https://clerk.com/docs/reference/backend/types/auth-object",{code:"clerk_runtime_not_browser"});return await s1(e),e.session?e.session.getToken(n):null},Tk=e=>async(...n)=>(await s1(e),e.signOut(...n)),Ak=(e={})=>{var n;$b("useAuth");const{treatPendingAsSignedOut:a}=e??{},i=wk(),o=Kb(),c=w.useCallback(_k(o),[o]),f=w.useCallback(Tk(o),[o]);return(n=o.telemetry)==null||n.record(Ib("useAuth",{treatPendingAsSignedOut:a})),Ek({...i,getToken:c,signOut:f},{treatPendingAsSignedOut:a})};function Ek(e,{treatPendingAsSignedOut:n=!0}={}){const{userId:a,orgId:i,orgRole:o,has:c,signOut:f,getToken:m,orgPermissions:p,factorVerificationAge:g,sessionClaims:y}=e??{},x=w.useCallback(A=>c?c(A):lE({userId:a,orgId:i,orgRole:o,orgPermissions:p,factorVerificationAge:g,features:y?.fea||"",plans:y?.pla||""})(A),[c,a,i,o,p,g,y]),b=cE({authObject:{...e,getToken:m,signOut:f,has:x},options:{treatPendingAsSignedOut:n}});return b||Kn.throw(HE)}var i1=e=>{throw TypeError(e)},Th=(e,n,a)=>n.has(e)||i1("Cannot "+a),Ne=(e,n,a)=>(Th(e,n,"read from private field"),a?a.call(e):n.get(e)),Ts=(e,n,a)=>n.has(e)?i1("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(e):n.set(e,a),Zs=(e,n,a,i)=>(Th(e,n,"write to private field"),n.set(e,a),a),sf=(e,n,a)=>(Th(e,n,"access private method"),a),kk=[[18,0,-1,0],[19,0,0,3],[19,1,1,4],[19,2,2,3],[19,3,3,0]];const sx=new Set,yc=(e,n,a)=>{const i=UE()||LE(),o=e;sx.has(o)||i||(sx.add(o),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.
24${n}`))};function Ck(e){const n=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!n)return null;const[,a,i,o]=n;return{major:parseInt(a,10),minor:parseInt(i,10),patch:parseInt(o,10)}}function Nk(e,n){const{major:a,minor:i,patch:o}=e;return n.some(([c,f,m,p])=>a!==c?!1:m===-1?i>f||i===f&&o>=p:i===m&&o>=p)}function Rk(e,n){const a=Ck(e);return a?Nk(a,n):!1}const ix=(e,n,a,i,o)=>{const{notify:c}=o||{};let f=e.get(a);f||(f=[],e.set(a,f)),f.push(i),c&&n.has(a)&&i(n.get(a))},ax=(e,n,a)=>(e.get(n)||[]).map(i=>i(a)),rx=(e,n,a)=>{const i=e.get(n);i&&(a?i.splice(i.indexOf(a)>>>0,1):e.set(n,[]))},Mk=()=>{const e=new Map,n=new Map,a=new Map;return{on:(...o)=>ix(e,n,...o),prioritizedOn:(...o)=>ix(a,n,...o),emit:(o,c)=>{n.set(o,c),ax(a,o,c),ax(e,o,c)},off:(...o)=>rx(e,...o),prioritizedOff:(...o)=>rx(a,...o),internal:{retrieveListeners:o=>e.get(o)||[]}}},Xi={Status:"status"},Ok=()=>Mk(),Pk={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,n)=>n<5,retryImmediately:!1,jitter:!0},Dk=100,a1=async e=>new Promise(n=>setTimeout(n,e)),r1=(e,n)=>n?e*(1+Math.random()):e,Uk=e=>{let n=0;const a=()=>{const i=e.initialDelay,o=e.factor;let c=i*Math.pow(o,n);return c=r1(c,e.jitter),Math.min(e.maxDelayBetweenRetries||c,c)};return async()=>{await a1(a()),n++}},Lk=async(e,n={})=>{let a=0;const{shouldRetry:i,initialDelay:o,maxDelayBetweenRetries:c,factor:f,retryImmediately:m,jitter:p,onBeforeRetry:g}={...Pk,...n},y=Uk({initialDelay:o,maxDelayBetweenRetries:c,factor:f,jitter:p});for(;;)try{return await e()}catch(x){if(a++,!i(x,a))throw x;g&&await g(a),m&&a===1?await a1(r1(Dk,p)):await y()}},zk="loadScript cannot be called when document does not exist",Vk="loadScript cannot be called without a src";async function o1(e="",n){const{async:a,defer:i,beforeLoad:o,crossOrigin:c,nonce:f}=n||{};return Lk(()=>new Promise((p,g)=>{e||g(new Error(Vk)),(!document||!document.body)&&g(new Error(zk));const y=document.createElement("script");
24c&&y.setAttribute("crossorigin",c),y.async=a||!1,y.defer=i||!1,y.addEventListener("load",()=>{y.remove(),p(y)}),y.addEventListener("error",x=>{y.remove(),g(x.error??new Error(`failed to load script: ${e}`))}),y.src=e,y.nonce=f,o?.(y),document.body.appendChild(y)}),{shouldRetry:(p,g)=>g<=5})}function Bk(e){return e?Ik(e)||$r(e):!0}function Ik(e){return/^http(s)?:\/\//.test(e||"")}function $r(e){return e.startsWith("/")}function Hk(e){return e?!$r(e)||typeof window>"u"||!window.location?.origin?e:new URL(e,window.location.origin).toString():""}function Gk(e){if(!e)return"";let n;if(e.match(/^(clerk\.)+\w*$/))n=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;n=/^(clerk\.)*/gi}return`clerk.${e.replace(n,"")}`}const l1=(e,n="6.10.1")=>{if(e)return e;const a=qk(n);return a?a==="snapshot"?n:a:Fk(n)},qk=e=>e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],Fk=e=>e.trim().replace(/^v/,"").split(".")[0],{isDevOrStagingUrl:Yk}=WA(),Ah=Lb({packageName:"@clerk/shared"});function c1(e){return typeof window>"u"||!window[e]?!1:!!window[e]}const af=()=>c1("Clerk"),rf=()=>c1("__internal_ClerkUICtor");function u1(e){if(typeof window>"u"||!window.performance)return!1;const n=performance.getEntriesByName(e,"resource");if(n.length===0)return!1;const a=n[n.length-1];return a.transferSize===0&&a.decodedBodySize===0&&(a.responseEnd===0||a.responseEnd>0&&a.responseStart>0||"responseStatus"in a&&(a.responseStatus>=400||a.responseStatus===0))}const Kk=async e=>{const n=e?.scriptLoadTimeout??15e3,a=f=>new jh("Failed to load Clerk JS"+(f?.message?`, ${f.message}`:""),{code:"failed_to_load_clerk_js",cause:f});if(af())return null;if(!e?.publishableKey)return Ah.throwMissingPublishableKeyError(),null;const i=Wk(e),o=document.querySelector("script[data-clerk-js-script]");if(o)if(u1(i))o.remove();else try{return await Kl(n,af,a(),o),null}catch{o.remove()}const c=Kl(n,af,a());return o1(i,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:f1(d1(e))}).catch(f=>{throw a(f)}),c},$k=async e=>{const n=e?.scriptLoadTimeout??15e3,a=f=>new jh("Failed to load Clerk UI"+(f?.message?`, ${f.message}`:""),{code:"failed_to_load_clerk_ui",cause:f});if(rf())return null;if(!e?.publishableKey)return Ah.throwMissingPublishableKeyError(),null;const i=Xk(e),o=document.querySelector("script[data-clerk-ui-script]");if(o)if(u1(i))o.remove();else try{return await Kl(n,rf,a(),o),null}catch{o.remove()}const c=Kl(n,rf,a());return o1(i,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:f1(Qk(e))}).catch(f=>{throw a(f)}),c},Wk=e=>{const{__internal_clerkJSUrl:n,__internal_clerkJSVersion:a,proxyUrl:i,domain:o,publishableKey:c}=e;if(n)return n;const f=l1(a);return i&&$r(i)?h1(i,"clerk-js",f,"clerk.browser.js"):`https://${m1({publishableKey:c,proxyUrl:i,domain:o})}/npm/@clerk/clerk-js@${f}/dist/clerk.browser.js`},Xk=e=>{const{__internal_clerkUIUrl:n,__internal_clerkUIVersion:a,proxyUrl:i,domain:o,publishableKey:c}=e;if(n)return n;const f=l1(a,"1.9.1");return i&&$r(i)?h1(i,"ui",f,"ui.browser.js"):`https://${m1({publishableKey:c,proxyUrl:i,domain:o})}/npm/@clerk/ui@${f}/dist/ui.browser.js`},d1=e=>{const n={};return e.publishableKey&&(n["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(n["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(n["data-clerk-domain"]=e.domain),e.nonce&&(n.nonce=e.nonce),n},Qk=e=>d1(e),f1=e=>n=>{for(const a in e)n.setAttribute(a,e[a])},Zk=e=>{for(;e.endsWith("/");)e=e.slice(0,-1);return e},h1=(e,n,a,i)=>`${Zk(e)}/npm/@clerk/${n}@${a}/dist/${i}`,m1=e=>{const{proxyUrl:n,domain:a,publishableKey:i}=e;if(n&&Bk(n)){const o=Hk(n);return $r(o)?Kd(i)?.frontendApi||"":o.replace(/http(s)?:\/\//,"")}else return a&&!Yk(Kd(i)?.frontendApi||"")?Gk(a):Kd(i)?.frontendApi||""};function Kl(e,n,a,i){return new Promise((o,c)=>{let f=!1;const m=(b,A)=>{clearTimeout(b),clearInterval(A)};i?.addEventListener("error",()=>{m(y,x),c(a)});const p=()=>{f||n()&&(f=!0,m(y,x),o(null))},y=setTimeout(()=>{f||(f=!0,m(y,x),n()?o(null):c(a))},e);p();const x=setInterval(()=>{if(f){clearInterval(x);return}p()},100)})}function Jk(e){Ah.setPackageName({packageName:e})}Oe(({clerk:e,...n})=>{var a,i;const{client:o,session:c}=e,f=((i=(a=o.signedInSessions)==null?void 0:a.length)!=null?i:0)>0;return V.useEffect(()=>{c===null&&f?e.redirectToAfterSignOut():e.redirectToSignIn(n)},[]),null},"RedirectToSignIn");Oe(({clerk:e,...n})=>(V.useEffect(()=>{e.redirectToSignUp(n)},[]),null),"RedirectToSignUp");Oe(({clerk:e,...n})=>(V.useEffect(()=>{e.redirectToTasks(n)},[]),null),"RedirectToTasks");Oe(({clerk:e})=>(V.useEffect(()=>{yc("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");Oe(({clerk:e})=>(V.useEffect(()=>{yc("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");Oe(({clerk:e})=>(V.useEffect(()=>{yc("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");Oe(({clerk:e,...n})=>(V.useEffect(()=>{e.handleRedirectCallback(n)},[]),null),"AuthenticateWithRedirectCallback");function eC(){try{return Rk(V.version,kk)}catch{return!1}}var tC=eC(),nC=()=>({fields:{identifier:null,password:null,code:null},raw:null,global:null}),sC=()=>({fields:{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null},raw:null,global:null}),iC=()=>({fields:{emailAddress:null},raw:null,global:null}),ox=()=>({pathRoot:"",attempts:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,message:null,status:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient(){return!1},reload(){throw new Error("reload() called before Clerk is loaded")},__internal_toSnapshot(){return{object:"verification",id:"",attempts:null,error:{code:"",message:""},expire_at:null,externalVerificationRedirectURL:null,nonce:null,message:null,status:null,strategy:null,verified_at_client:null}}}),Sl=()=>({...ox(),supportedStrategies:[],nextAction:"",reload(){throw new Error("reload() called before Clerk is loaded")},__internal_toSnapshot(){return{...ox().__internal_toSnapshot(),next_action:this.nextAction,supported_strategies:this.supportedStrategies}}}),aC=class{constructor(e){this.isomorphicClerk=e,this.signInSignalProxy=this.buildSignInProxy(),this.signUpSignalProxy=this.buildSignUpProxy(),this.waitlistSignalProxy=this.buildWaitlistProxy()}signInSignal(){return this.signInSignalProxy}signUpSignal(){return this.signUpSignalProxy}waitlistSignal(){return this.waitlistSignalProxy}get __internal_waitlist(){return this.state.__internal_waitlist}checkoutSignal(e){return this.buildCheckoutProxy(e)}buildSignInProxy(){const e=this.gateProperty.bind(this),n=()=>this.client.signIn.__internal_future;return{errors:nC(),fetchStatus:"idle",signIn:{status:"needs_identifier",availableStrategies:[],get isTransferable(){return e(n,"isTransferable",!1)},get id(){return e(n,"id",void 0)},get supportedFirstFactors(){return e(n,"supportedFirstFactors",[])},get supportedSecondFactors(){return e(n,"supportedSecondFactors",[])},get secondFactorVerification(){return e(n,"secondFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get identifier(){return e(n,"identifier",null)}
24,get createdSessionId(){return e(n,"createdSessionId",null)},get userData(){return e(n,"userData",{})},get firstFactorVerification(){return e(n,"firstFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get canBeDiscarded(){return e(n,"canBeDiscarded",!1)},create:this.gateMethod(n,"create"),password:this.gateMethod(n,"password"),sso:this.gateMethod(n,"sso"),finalize:this.gateMethod(n,"finalize"),reset:this.gateMethod(n,"reset"),emailCode:this.wrapMethods(()=>n().emailCode,["sendCode","verifyCode"]),emailLink:this.wrapStruct(()=>n().emailLink,["sendLink","waitForVerification"],["verification"],{verification:null}),resetPasswordEmailCode:this.wrapMethods(()=>n().resetPasswordEmailCode,["sendCode","verifyCode","submitPassword"]),resetPasswordPhoneCode:this.wrapMethods(()=>n().resetPasswordPhoneCode,["sendCode","verifyCode","submitPassword"]),phoneCode:this.wrapMethods(()=>n().phoneCode,["sendCode","verifyCode"]),mfa:this.wrapMethods(()=>n().mfa,["sendPhoneCode","verifyPhoneCode","sendEmailCode","verifyEmailCode","verifyTOTP","verifyBackupCode"]),ticket:this.gateMethod(n,"ticket"),passkey:this.gateMethod(n,"passkey"),web3:this.gateMethod(n,"web3")}}}buildSignUpProxy(){const e=this.gateProperty.bind(this),n=this.gateMethod.bind(this),a=()=>this.client.signUp.__internal_future;return{errors:sC(),fetchStatus:"idle",signUp:{get id(){return e(a,"id",void 0)},get requiredFields(){return e(a,"requiredFields",[])},get optionalFields(){return e(a,"optionalFields",[])},get missingFields(){return e(a,"missingFields",[])},get username(){return e(a,"username",null)},get firstName(){return e(a,"firstName",null)},get lastName(){return e(a,"lastName",null)},get emailAddress(){return e(a,"emailAddress",null)},get phoneNumber(){return e(a,"phoneNumber",null)},get web3Wallet(){return e(a,"web3Wallet",null)},get hasPassword(){return e(a,"hasPassword",!1)},get unsafeMetadata(){return e(a,"unsafeMetadata",{})},get createdSessionId(){return e(a,"createdSessionId",null)},get createdUserId(){return e(a,"createdUserId",null)},get abandonAt(){return e(a,"abandonAt",null)},get legalAcceptedAt(){return e(a,"legalAcceptedAt",null)},get locale(){return e(a,"locale",null)},get status(){return e(a,"status","missing_requirements")},get unverifiedFields(){return e(a,"unverifiedFields",[])},get isTransferable(){return e(a,"isTransferable",!1)},get canBeDiscarded(){return e(a,"canBeDiscarded",!1)},create:n(a,"create"),update:n(a,"update"),sso:n(a,"sso"),password:n(a,"password"),ticket:n(a,"ticket"),web3:n(a,"web3"),finalize:n(a,"finalize"),reset:n(a,"reset"),verifications:this.wrapStruct(()=>a().verifications,["sendEmailCode","verifyEmailCode","sendEmailLink","waitForEmailLinkVerification","sendPhoneCode","verifyPhoneCode"],["emailAddress","phoneNumber","web3Wallet","externalAccount","emailLinkVerification"],{emailAddress:Sl(),phoneNumber:Sl(),web3Wallet:Sl(),externalAccount:Sl(),emailLinkVerification:null})}}}buildWaitlistProxy(){const e=this.gateProperty.bind(this),n=this.gateMethod.bind(this),a=()=>this.state.__internal_waitlist;return{errors:iC(),fetchStatus:"idle",waitlist:{pathRoot:"/waitlist",get id(){return e(a,"id","")},get createdAt(){return e(a,"createdAt",null)},get updatedAt(){return e(a,"updatedAt",null)},join:n(a,"join"),reload:n(a,"reload")}}}buildCheckoutProxy(e){const n=this.gateProperty.bind(this),a=()=>this.checkout(e),i=()=>a().checkout;return{errors:{raw:null,global:null},fetchStatus:"idle",checkout:{get status(){return n(i,"status","needs_initialization")},get externalClientSecret(){return n(i,"externalClientSecret",null)},get externalGatewayId(){return n(i,"externalGatewayId",null)},get paymentMethod(){return n(i,"paymentMethod",null)},get plan(){return n(i,"plan",null)},get planPeriod(){return n(i,"planPeriod",null)},get totals(){return n(i,"totals",null)},get isImmediatePlanChange(){return n(i,"isImmediatePlanChange",!1)},get freeTrialEndsAt(){return n(i,"freeTrialEndsAt",null)},get payer(){return n(i,"payer",null)},get planPeriodStart(){return n(i,"planPeriodStart",null)},get needsPaymentMethod(){return n(i,"needsPaymentMethod",null)},start:this.gateMethod(i,"start"),confirm:this.gateMethod(i,"confirm"),finalize:this.gateMethod(i,"finalize")}}}__internal_effect(e){throw new Error("__internal_effect called before Clerk is loaded")}__internal_computed(e){throw new Error("__internal_computed called before Clerk is loaded")}get state(){const e=this.isomorphicClerk.__internal_state;if(!e)throw new Error("Clerk state not ready");return e}get client(){const e=this.isomorphicClerk.client;if(!e)throw new Error("Clerk client not ready");return e}get checkout(){const e=this.isomorphicClerk.__experimental_checkout;if(!e)throw new Error("Clerk checkout not ready");return e}gateProperty(e,n,a){return!Ur()||!this.isomorphicClerk.loaded?a:e()[n]}gateMethod(e,n){return(async(...a)=>{if(!Ur())return Kn.throw(`Attempted to call a method (${n}) that is not supported on the server.`);this.isomorphicClerk.loaded||await new Promise(o=>this.isomorphicClerk.addOnLoaded(o));const i=e();return i[n].apply(i,a)})}wrapMethods(e,n){return Object.fromEntries(n.map(a=>[a,this.gateMethod(e,a)]))}wrapStruct(e,n,a,i){const o={};for(const c of n)o[c]=this.gateMethod(e,c);for(const c of a)Object.defineProperty(o,c,{get:()=>this.gateProperty(e,c,i[c]),enumerable:!0});return o}};typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var rC={name:"@clerk/react",version:"6.6.2",environment:"production"},Ol,Qi,Zi,fn,hn,jr,Es,_r,Pl,p1=class g1{constructor(n){Ts(this,_r),this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenEnableOrganizationsPrompt=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSubscriptionDetail
24s=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSignInNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserAvatarNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountAPIKeysNodes=new Map,this.premountConfigureSSONodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountTaskChooseOrganizationNodes=new Map,this.premountTaskResetPasswordNodes=new Map,this.premountTaskSetupMFANodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],Ts(this,Ol,"loading"),Ts(this,Qi),Ts(this,Zi),Ts(this,fn),Ts(this,hn,Ok()),Ts(this,jr),this.buildSignInUrl=i=>{const o=()=>{var c;return((c=this.clerkjs)==null?void 0:c.buildSignInUrl(i))||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildSignInUrl",o)},this.buildSignUpUrl=i=>{const o=()=>{var c;return((c=this.clerkjs)==null?void 0:c.buildSignUpUrl(i))||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildSignUpUrl",o)},this.buildAfterSignInUrl=(...i)=>{const o=()=>{var c;return((c=this.clerkjs)==null?void 0:c.buildAfterSignInUrl(...i))||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildAfterSignInUrl",o)},this.buildAfterSignUpUrl=(...i)=>{const o=()=>{var c;return((c=this.clerkjs)==null?void 0:c.buildAfterSignUpUrl(...i))||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildAfterSignUpUrl",o)},this.buildAfterSignOutUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildAfterSignOutUrl",i)},this.buildNewSubscriptionRedirectUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildNewSubscriptionRedirectUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",i)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",i)},this.buildUserProfileUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildUserProfileUrl",i)},this.buildCreateOrganizationUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildCreateOrganizationUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildCreateOrganizationUrl",i)},this.buildOrganizationProfileUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildOrganizationProfileUrl",i)},this.buildWaitlistUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildWaitlistUrl",i)},this.buildTasksUrl=()=>{const i=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildTasksUrl())||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildTasksUrl",i)},this.buildUrlWithAuth=i=>{const o=()=>{var c;return((c=this.clerkjs)==null?void 0:c.buildUrlWithAuth(i))||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildUrlWithAuth",o)},this.handleUnauthenticated=async()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.handleUnauthenticated()};this.clerkjs&&this.loaded?i():this.premountMethodCalls.set("handleUnauthenticated",i)},this.on=(...i)=>{var o;if((o=this.clerkjs)!=null&&o.on)return this.clerkjs.on(...i);Ne(this,hn).on(...i)},this.off=(...i)=>{var o;if((o=this.clerkjs)!=null&&o.off)return this.clerkjs.off(...i);Ne(this,hn).off(...i)},this.addOnLoaded=i=>{this.loadedListeners.push(i),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>
24{this.loadedListeners.forEach(i=>i()),this.loadedListeners=[]},this.beforeLoad=i=>{if(!i)throw new Error("Failed to hydrate latest Clerk JS")},this.replayInterceptedInvocations=i=>{var o;if(!i)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=i,this.premountMethodCalls.forEach(c=>c()),this.premountAddListenerCalls.forEach((c,f)=>{c.handlers.nativeUnsubscribe=i.addListener(f,c.options)}),(o=Ne(this,hn).internal.retrieveListeners("status"))==null||o.forEach(c=>{this.on("status",c,{notify:!0})}),this.preopenSignIn!==null&&i.openSignIn(this.preopenSignIn),this.preopenCheckout!==null&&i.__internal_openCheckout(this.preopenCheckout),this.preopenPlanDetails!==null&&i.__internal_openPlanDetails(this.preopenPlanDetails),this.preopenSubscriptionDetails!==null&&i.__internal_openSubscriptionDetails(this.preopenSubscriptionDetails),this.preopenSignUp!==null&&i.openSignUp(this.preopenSignUp),this.preopenUserProfile!==null&&i.openUserProfile(this.preopenUserProfile),this.preopenUserVerification!==null&&i.__internal_openReverification(this.preopenUserVerification),this.preopenOneTap!==null&&i.openGoogleOneTap(this.preopenOneTap),this.preopenOrganizationProfile!==null&&i.openOrganizationProfile(this.preopenOrganizationProfile),this.preopenCreateOrganization!==null&&i.openCreateOrganization(this.preopenCreateOrganization),this.preOpenWaitlist!==null&&i.openWaitlist(this.preOpenWaitlist),this.preopenEnableOrganizationsPrompt&&i.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt),this.premountSignInNodes.forEach((c,f)=>{i.mountSignIn(f,c)}),this.premountSignUpNodes.forEach((c,f)=>{i.mountSignUp(f,c)}),this.premountUserProfileNodes.forEach((c,f)=>{i.mountUserProfile(f,c)}),this.premountUserAvatarNodes.forEach((c,f)=>{i.mountUserAvatar(f,c)}),this.premountUserButtonNodes.forEach((c,f)=>{i.mountUserButton(f,c)}),this.premountOrganizationListNodes.forEach((c,f)=>{i.mountOrganizationList(f,c)}),this.premountWaitlistNodes.forEach((c,f)=>{i.mountWaitlist(f,c)}),this.premountPricingTableNodes.forEach((c,f)=>{i.mountPricingTable(f,c)}),this.premountAPIKeysNodes.forEach((c,f)=>{i.mountAPIKeys(f,c)}),this.premountConfigureSSONodes.forEach((c,f)=>{i.__experimental_mountConfigureSSO(f,c)}),this.premountOAuthConsentNodes.forEach((c,f)=>{i.__internal_mountOAuthConsent(f,c)}),this.premountTaskChooseOrganizationNodes.forEach((c,f)=>{i.mountTaskChooseOrganization(f,c)}),this.premountTaskResetPasswordNodes.forEach((c,f)=>{i.mountTaskResetPassword(f,c)}),this.premountTaskSetupMFANodes.forEach((c,f)=>{i.mountTaskSetupMFA(f,c)}),typeof this.clerkjs.status>"u"&&Ne(this,hn).emit(Xi.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__experimental_checkout=(...i)=>this.loaded&&this.clerkjs?this.clerkjs.__experimental_checkout(...i):Ne(this,jr).checkoutSignal(...i),this.__internal_updateProps=async i=>{const o=await sf(this,_r,Pl).call(this);if(o&&"__internal_updateProps"in o)return o.__internal_updateProps(i)},this.setActive=i=>this.clerkjs?this.clerkjs.setActive(i):Promise.reject(),this.openSignIn=i=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(i):this.preopenSignIn=i},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=i=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(i):this.preopenCheckout=i},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=i=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(i):this.preopenPlanDetails=i},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null},this.__internal_openSubscriptionDetails=i=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openSubscriptionDetails(i):this.preopenSubscriptionDetails=i??null},this.__internal_closeSubscriptionDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeSubscriptionDetails():this.preopenSubscriptionDetails=null},this.__internal_openReverification=i=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(i):this.preopenUserVerification=i},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.__internal_openEnableOrganizationsPrompt=i=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openEnableOrganizationsPrompt(i):this.preopenEnableOrganizationsPrompt=i},this.__internal_closeEnableOrganizationsPrompt=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeEnableOrganizationsPrompt():this.preopenEnableOrganizationsPrompt=null},this.openGoogleOneTap=i=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(i):this.preopenOneTap=i},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=i=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(i):this.preopenUserProfile=i},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=i=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(i):this.preopenOrganizationProfile=i},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openCreateOrganization=i=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(i):this.preopenCreateOrganization=i},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=i=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(i):this.preOpenWaitlist=i},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=i=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(i):this.preopenSignUp=i},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null}
24,this.mountSignIn=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(i,o):this.premountSignInNodes.set(i,o)},this.unmountSignIn=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(i):this.premountSignInNodes.delete(i)},this.mountSignUp=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(i,o):this.premountSignUpNodes.set(i,o)},this.unmountSignUp=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(i):this.premountSignUpNodes.delete(i)},this.mountUserAvatar=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserAvatar(i,o):this.premountUserAvatarNodes.set(i,o)},this.unmountUserAvatar=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserAvatar(i):this.premountUserAvatarNodes.delete(i)},this.mountUserProfile=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(i,o):this.premountUserProfileNodes.set(i,o)},this.unmountUserProfile=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(i):this.premountUserProfileNodes.delete(i)},this.mountOrganizationProfile=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(i,o):this.premountOrganizationProfileNodes.set(i,o)},this.unmountOrganizationProfile=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(i):this.premountOrganizationProfileNodes.delete(i)},this.mountCreateOrganization=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(i,o):this.premountCreateOrganizationNodes.set(i,o)},this.unmountCreateOrganization=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(i):this.premountCreateOrganizationNodes.delete(i)},this.mountOrganizationSwitcher=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(i,o):this.premountOrganizationSwitcherNodes.set(i,o)},this.unmountOrganizationSwitcher=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(i):this.premountOrganizationSwitcherNodes.delete(i)},this.__experimental_prefetchOrganizationSwitcher=()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?i():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",i)},this.mountOrganizationList=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(i,o):this.premountOrganizationListNodes.set(i,o)},this.unmountOrganizationList=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(i):this.premountOrganizationListNodes.delete(i)},this.mountUserButton=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(i,o):this.premountUserButtonNodes.set(i,o)},this.unmountUserButton=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(i):this.premountUserButtonNodes.delete(i)},this.mountWaitlist=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(i,o):this.premountWaitlistNodes.set(i,o)},this.unmountWaitlist=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(i):this.premountWaitlistNodes.delete(i)},this.mountPricingTable=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(i,o):this.premountPricingTableNodes.set(i,o)},this.unmountPricingTable=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(i):this.premountPricingTableNodes.delete(i)},this.mountAPIKeys=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountAPIKeys(i,o):this.premountAPIKeysNodes.set(i,o)},this.unmountAPIKeys=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountAPIKeys(i):this.premountAPIKeysNodes.delete(i)},this.__experimental_mountConfigureSSO=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.__experimental_mountConfigureSSO(i,o):this.premountConfigureSSONodes.set(i,o)},this.__experimental_unmountConfigureSSO=i=>{this.clerkjs&&this.loaded?this.clerkjs.__experimental_unmountConfigureSSO(i):this.premountConfigureSSONodes.delete(i)},this.__internal_mountOAuthConsent=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(i,o):this.premountOAuthConsentNodes.set(i,o)},this.__internal_unmountOAuthConsent=i=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(i):this.premountOAuthConsentNodes.delete(i)},this.mountOAuthConsent=(i,o)=>{this.__internal_mountOAuthConsent(i,o)},this.unmountOAuthConsent=i=>{this.__internal_unmountOAuthConsent(i)},this.mountTaskChooseOrganization=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskChooseOrganization(i,o):this.premountTaskChooseOrganizationNodes.set(i,o)},this.unmountTaskChooseOrganization=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskChooseOrganization(i):this.premountTaskChooseOrganizationNodes.delete(i)},this.mountTaskResetPassword=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskResetPassword(i,o):this.premountTaskResetPasswordNodes.set(i,o)},this.unmountTaskResetPassword=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskResetPassword(i):this.premountTaskResetPasswordNodes.delete(i)},this.mountTaskSetupMFA=(i,o)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskSetupMFA(i,o):this.premountTaskSetupMFANodes.set(i,o)},this.unmountTaskSetupMFA=i=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskSetupMFA(i):this.premountTaskSetupMFANodes.delete(i)},this.addListener=(i,o)=>
24{if(this.clerkjs)return this.clerkjs.addListener(i,o);{const c=()=>{var f,m;const p=this.premountAddListenerCalls.get(i);p?.handlers&&((m=p==null?void 0:(f=p.handlers).nativeUnsubscribe)==null||m.call(f),this.premountAddListenerCalls.delete(i))};return this.premountAddListenerCalls.set(i,{options:o,handlers:{unsubscribe:c,nativeUnsubscribe:void 0}}),c}},this.navigate=i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.navigate(i)};this.clerkjs&&this.loaded?o():this.premountMethodCalls.set("navigate",o)},this.redirectWithAuth=async(...i)=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.redirectWithAuth(...i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectWithAuth",o)},this.redirectToSignIn=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.redirectToSignIn(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToSignIn",o)},this.redirectToSignUp=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.redirectToSignUp(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToSignUp",o)},this.redirectToUserProfile=async()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToUserProfile()};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToUserProfile",i)},this.redirectToAfterSignUp=()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToAfterSignUp",i)},this.redirectToAfterSignIn=()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToAfterSignIn()};this.clerkjs&&this.loaded?i():this.premountMethodCalls.set("redirectToAfterSignIn",i)},this.redirectToAfterSignOut=()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToAfterSignOut()};this.clerkjs&&this.loaded?i():this.premountMethodCalls.set("redirectToAfterSignOut",i)},this.redirectToOrganizationProfile=async()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToOrganizationProfile()};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToOrganizationProfile",i)},this.redirectToCreateOrganization=async()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToCreateOrganization()};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToCreateOrganization",i)},this.redirectToWaitlist=async()=>{const i=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToWaitlist()};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToWaitlist",i)},this.redirectToTasks=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.redirectToTasks(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToTasks",o)},this.handleRedirectCallback=async i=>{var o;const c=()=>{var f;return(f=this.clerkjs)==null?void 0:f.handleRedirectCallback(i)};this.clerkjs&&this.loaded?(o=c())==null||o.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",c)},this.handleGoogleOneTapCallback=async(i,o)=>{var c;const f=()=>{var m;return(m=this.clerkjs)==null?void 0:m.handleGoogleOneTapCallback(i,o)};this.clerkjs&&this.loaded?(c=f())==null||c.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",f)},this.handleEmailLinkVerification=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.handleEmailLinkVerification(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("handleEmailLinkVerification",o)},this.authenticateWithMetamask=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.authenticateWithMetamask(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("authenticateWithMetamask",o)},this.authenticateWithCoinbaseWallet=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.authenticateWithCoinbaseWallet(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",o)},this.authenticateWithBase=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.authenticateWithBase(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("authenticateWithBase",o)},this.authenticateWithOKXWallet=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.authenticateWithOKXWallet(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("authenticateWithOKXWallet",o)},this.authenticateWithSolana=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.authenticateWithSolana(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("authenticateWithSolana",o)},this.authenticateWithWeb3=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.authenticateWithWeb3(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("authenticateWithWeb3",o)},this.authenticateWithGoogleOneTap=async i=>(await sf(this,_r,Pl).call(this)).authenticateWithGoogleOneTap(i),this.__internal_loadStripeJs=async()=>(await sf(this,_r,Pl).call(this)).__internal_loadStripeJs(),this.createOrganization=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.createOrganization(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("createOrganization",o)},this.getOrganization=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.getOrganization(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("getOrganization",o)},this.joinWaitlist=async i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.joinWaitlist(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("joinWaitlist",o)},this.signOut=async(...i)=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.signOut(...i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("signOut",o)},this.__internal_attemptToEnableEnvironmentSetting=i=>{const o=()=>{var c;return(c=this.clerkjs)==null?void 0:c.__internal_attemptToEnableEnvironmentSetting(i)};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting",o)};var a;Zs(this,fn,n?.publishableKey),Zs(this,Zi,n?.proxyUrl),Zs(this,Qi,n?.domain),this.options=n,this.Clerk=n?.Clerk||null,this.mode=Ur()?"browser":"server",Zs(this,jr,new aC(this)),this.options.sdkMetadata||(this.options.sdkMetadata=rC),Ne(this,hn).emit(Xi.Status,"loading"),Ne(this,hn).prioritizedOn(Xi.Status,i=>Zs(this,Ol,i)),Ne(this,fn)&&((a=this.options.experimental)==null?void 0:a.runtimeEnvironment)==="headless"&&this.options.Clerk?this.loadHeadlessClerk():Ne(this,fn)&&this.getEntryChunks()}get publishableKey(){return Ne(this,fn)}get loaded(){var n;return((n=this.clerkjs)==null?void 0:n.loaded)||!1}get status(){var n;return this.clerkjs?((n=this.clerkjs)==null?void 0:n.status)||(this.clerkjs.loaded?"ready":"loading"):Ne(this,Ol)}static getOrCreateInstance(n){return(!Ur()||!Ne(this,Es)||n.Clerk&&Ne(this,Es).Clerk!==n.Clerk||Ne(this,Es).publishableKey!==n.publishableKey)&&Zs(this,Es,new g1(n)),Ne(this,Es)}static clearInstance(){Zs(this,Es,null)}get domain(){return typeof window<"u"&&window.location?Wd(Ne(this,Qi),new URL(window.location.href),""):typeof Ne(this,Qi)=="function"?Kn.throw(Zd):Ne(this,Qi)||""}get proxyUrl(){return typeof window<"u"&&window.location?Wd(Ne(this,Zi),new URL(window.location.href),""):typeof Ne(this,Zi)=="function"?Kn.throw(Zd):Ne(this,Zi)||""}__internal_getOption(n){var a,i;return(a=this.clerkjs)!=null&&a.__internal_getOption?(i=this.clerkjs)==null?void 0:i.__internal_getOption(n):this.options[n]}loadHeadlessClerk(){const n=Z0(this.options.Clerk)?new this.options.Clerk(Ne(this,fn),{proxyUrl:this.proxyUrl,domain:this.domain}):this.options.Clerk;if(!n){Ne(this,hn).emit(Xi.Status,"error");return}const a=()=>{this.replayInterceptedInvocations(n)};n.loaded?a():n.load(this.options).then(()=>a()).catch(i=>{Ne(this,hn).emit(Xi.Status,"error"),this.emitLoaded()})}get sdkMetadata(){var n;return((n=this.clerkjs)==null?void 0:n.sdkMetadata)||this.options.sdkMetadata||void 0}get instanceType(){var n;return(n=this.clerkjs)==null?void 0:n.instanceType}get frontendApi(){var n;return((n=this.clerkjs)==null?void 0:n.frontendApi)||""}get isStandardBrowser(){var n;return((n=this.clerkjs)==null?void 0:n.isStandardBrowser)||this.options.standardBrowser||!1}get isSatellite(){return typeof window<"u"&&window.location?Wd(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?Kn.throw(Zd):!1}async getEntryChunks(){var n;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=Ne(this,fn),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{const a=await this.getClerkJsEntryChunk();if(!a.loaded){this.beforeLoad(a);const o=this.options.standardBrowser!==!1&&!this.options.Clerk||!!((n=this.options.ui)!=null&&n.ClerkUI)?await this.getClerkUIEntryChunk():void 0;await a.load({...this.options,ui:{...this.options.ui,ClerkUI:o}})}a.loaded&&this.replayInterceptedInvocations(a)}catch(a){const i=a;Ne(this,hn).emit(Xi.Status,"error"),console.error(i.stack||i.message||i);return}}}async getClerkJsEntryChunk(){if((!this.options.Clerk||this.options.__internal_clerkJSUrl)&&!__BUILD_DISABLE_RHC__&&await Kk({...this.options,publishableKey:Ne(this,fn),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}
24),this.options.Clerk&&!this.options.__internal_clerkJSUrl&&(global.Clerk=Z0(this.options.Clerk)?new this.options.Clerk(Ne(this,fn),{proxyUrl:this.proxyUrl,domain:this.domain}):this.options.Clerk),!global.Clerk)throw new Error("Failed to download latest ClerkJS. Contact [email protected].");return global.Clerk}async getClerkUIEntryChunk(){const n=this.options.ui,a=!!this.options.__internal_clerkUIUrl;if(n?.ClerkUI&&!a)return n.ClerkUI;if(!((n||this.options.prefetchUI===!1)&&!a)){if(await $k({...this.options,publishableKey:Ne(this,fn),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!global.__internal_ClerkUICtor)throw new Error("Failed to download latest Clerk UI. Contact [email protected].");return global.__internal_ClerkUICtor}}get version(){var n;return(n=this.clerkjs)==null?void 0:n.version}get client(){if(this.clerkjs)return this.clerkjs.client}get session(){if(this.clerkjs)return this.clerkjs.session}get user(){if(this.clerkjs)return this.clerkjs.user}get organization(){if(this.clerkjs)return this.clerkjs.organization}get telemetry(){if(this.clerkjs)return this.clerkjs.telemetry}get __internal_environment(){if(this.clerkjs)return this.clerkjs.__internal_environment}get isSignedIn(){return this.clerkjs?this.clerkjs.isSignedIn:!1}get billing(){var n;return(n=this.clerkjs)==null?void 0:n.billing}get __internal_state(){return this.loaded&&this.clerkjs?this.clerkjs.__internal_state:Ne(this,jr)}get apiKeys(){var n;return(n=this.clerkjs)==null?void 0:n.apiKeys}get oauthApplication(){var n;return(n=this.clerkjs)==null?void 0:n.oauthApplication}__internal_setEnvironment(...n){if(this.clerkjs&&"__internal_setEnvironment"in this.clerkjs)this.clerkjs.__internal_setEnvironment(n);else return}get __internal_lastEmittedResources(){var n;return(n=this.clerkjs)==null?void 0:n.__internal_lastEmittedResources}};Ol=new WeakMap;Qi=new WeakMap;Zi=new WeakMap;fn=new WeakMap;hn=new WeakMap;jr=new WeakMap;Es=new WeakMap;_r=new WeakSet;Pl=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})};Ts(p1,Es);var lx=p1;function oC(e){const{initialState:n,children:a,...i}=e,o=ak(i),{isomorphicClerk:c,clerkStatus:f}=cC(o);return V.createElement(AE,{initialState:n,clerk:c,clerkStatus:f},a)}var y1=ok(oC,"ClerkProvider",BE);y1.displayName="ClerkProvider";var lC=tC?"shared":"",cC=e=>{const n=V.useMemo(()=>({clerkUIVariant:lC,...e}),[e]),a=V.useRef(lx.getOrCreateInstance(n)),[i,o]=V.useState(a.current.status);return V.useEffect(()=>{a.current.__internal_updateProps({appearance:e.appearance})},[e.appearance]),V.useEffect(()=>{a.current.__internal_updateProps({options:e})},[e.localization]),V.useEffect(()=>(a.current.on("status",o),()=>{a.current&&a.current.off("status",o),lx.clearInstance()}),[]),{isomorphicClerk:a.current,clerkStatus:i}};typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);var cx;if(globalThis.__clerkSharedModules){const e=(cx=globalThis.__clerkSharedModules.react)==null?void 0:cx.version;e&&e!==w.version&&console.warn(`[@clerk/ui/register] React version mismatch detected. Already registered: ${e}, current import: ${w.version}. This may cause issues with the shared @clerk/ui variant.`)}else globalThis.__clerkSharedModules={react:eb,"react-dom":VE,"react-dom/client":R_,"react/jsx-runtime":__};Oe(({clerk:e,children:n,...a})=>{const{appearance:i,getContainer:o,component:c,signUpFallbackRedirectUrl:f,forceRedirectUrl:m,fallbackRedirectUrl:p,signUpForceRedirectUrl:g,mode:y,initialValues:x,withSignUp:b,oauthFlow:A,..._}=a;n=dc(n,"Sign in");const j=uc(n)("SignInButton"),E=()=>{const R={forceRedirectUrl:m,fallbackRedirectUrl:p,signUpFallbackRedirectUrl:f,signUpForceRedirectUrl:g,initialValues:x,withSignUp:b,oauthFlow:A};return y==="modal"?e.openSignIn({...R,appearance:i,getContainer:o}):e.redirectToSignIn({...R,signInFallbackRedirectUrl:p,signInForceRedirectUrl:m})},N={..._,onClick:async R=>(j&&typeof j=="object"&&"props"in j&&await fc(j.props.onClick)(R),E())};return V.cloneElement(j,N)},{component:"SignInButton",renderWhileLoading:!0});Oe(({clerk:e,children:n,...a})=>{const{redirectUrl:i,getContainer:o,component:c,...f}=a;n=dc(n,"Sign in with Metamask");const m=uc(n)("SignInWithMetamaskButton"),p=async()=>{async function x(){await e.authenticateWithMetamask({redirectUrl:i||void 0})}x()},y={...f,onClick:async x=>(await fc(m.props.onClick)(x),p())};return V.cloneElement(m,y)}
24,{component:"SignInWithMetamask",renderWhileLoading:!0});Oe(({clerk:e,children:n,...a})=>{const{redirectUrl:i="/",sessionId:o,signOutOptions:c,getContainer:f,component:m,...p}=a;c&&yc("SignOutButton `signOutOptions`","Use the `redirectUrl` and `sessionId` props directly instead."),n=dc(n,"Sign out");const g=uc(n)("SignOutButton"),y=()=>e.signOut({redirectUrl:i,...o!==void 0&&{sessionId:o},...c}),b={...p,onClick:async A=>(await fc(g.props.onClick)(A),y())};return V.cloneElement(g,b)},{component:"SignOutButton",renderWhileLoading:!0});Oe(({clerk:e,children:n,...a})=>{const{appearance:i,unsafeMetadata:o,getContainer:c,component:f,fallbackRedirectUrl:m,forceRedirectUrl:p,signInFallbackRedirectUrl:g,signInForceRedirectUrl:y,mode:x,initialValues:b,oauthFlow:A,..._}=a;n=dc(n,"Sign up");const j=uc(n)("SignUpButton"),E=()=>{const R={fallbackRedirectUrl:m,forceRedirectUrl:p,signInFallbackRedirectUrl:g,signInForceRedirectUrl:y,initialValues:b,oauthFlow:A};return x==="modal"?e.openSignUp({...R,appearance:i,unsafeMetadata:o,getContainer:c}):e.redirectToSignUp({...R,signUpFallbackRedirectUrl:m,signUpForceRedirectUrl:p})},N={..._,onClick:async R=>(j&&typeof j=="object"&&"props"in j&&await fc(j.props.onClick)(R),E())};return V.cloneElement(j,N)},{component:"SignUpButton",renderWhileLoading:!0});PE({packageName:"@clerk/react"});Jk("@clerk/react");var ux="popstate";function dx(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function uC(e={}){function n(i,o){let c=o.state?.masked,{pathname:f,search:m,hash:p}=c||i.location;return zf("",{pathname:f,search:m,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",c?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function a(i,o){return typeof o=="string"?o:Lr(o)}return fC(n,a,null,e)}function qe(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function rn(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function dC(){return Math.random().toString(36).substring(2,10)}function fx(e,n){return{usr:e.state,key:e.key,idx:n,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function zf(e,n,a=null,i,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?ha(n):n,state:a,key:n&&n.key||i||dC(),mask:o}}function Lr({pathname:e="/",search:n="",hash:a=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function ha(e){let n={};if(e){let a=e.indexOf("#");a>=0&&(n.hash=e.substring(a),e=e.substring(0,a));let i=e.indexOf("?");i>=0&&(n.search=e.substring(i),e=e.substring(0,i)),e&&(n.pathname=e)}return n}function fC(e,n,a,i={}){let{window:o=document.defaultView,v5Compat:c=!1}=i,f=o.history,m="POP",p=null,g=y();g==null&&(g=0,f.replaceState({...f.state,idx:g},""));function y(){return(f.state||{idx:null}).idx}function x(){m="POP";let E=y(),O=E==null?null:E-g;g=E,p&&p({action:m,location:j.location,delta:O})}function b(E,O){m="PUSH";let N=dx(E)?E:zf(j.location,E,O);g=y()+1;let R=fx(N,g),H=j.createHref(N.mask||N);try{f.pushState(R,"",H)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;o.location.assign(H)}c&&p&&p({action:m,location:j.location,delta:1})}function A(E,O){m="REPLACE";let N=dx(E)?E:zf(j.location,E,O);g=y();let R=fx(N,g),H=j.createHref(N.mask||N);f.replaceState(R,"",H),c&&p&&p({action:m,location:j.location,delta:0})}function _(E){return hC(E)}let j={get action(){return m},get location(){return e(o,f)},listen(E){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(ux,x),p=E,()=>{o.removeEventListener(ux,x),p=null}},createHref(E){return n(o,E)},createURL:_,encodeLocation(E){let O=_(E);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:b,replace:A,go(E){return f.go(E)}};return j}function hC(e,n=!1){let a="http://localhost";
24typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),qe(a,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:Lr(e);return i=i.replace(/ $/,"%20"),!n&&i.startsWith("//")&&(i=a+i),new URL(i,a)}function x1(e,n,a="/"){return mC(e,n,a,!1)}function mC(e,n,a,i,o){let c=typeof n=="string"?ha(n):n,f=$n(c.pathname||"/",a);if(f==null)return null;let m=pC(e),p=null,g=EC(f);for(let y=0;p==null&&y<m.length;++y)p=TC(m[y],g,i);return p}function pC(e){let n=v1(e);return gC(n),n}function v1(e,n=[],a=[],i="",o=!1){let c=(f,m,p=o,g)=>{let y={relativePath:g===void 0?f.path||"":g,caseSensitive:f.caseSensitive===!0,childrenIndex:m,route:f};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&p)return;qe(y.relativePath.startsWith(i),`Absolute route path "${y.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(i.length)}let x=gn([i,y.relativePath]),b=a.concat(y);f.children&&f.children.length>0&&(qe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),v1(f.children,n,b,x,p)),!(f.path==null&&!f.index)&&n.push({path:x,score:jC(x,f.index),routesMeta:b})};return e.forEach((f,m)=>{if(f.path===""||!f.path?.includes("?"))c(f,m);else for(let p of b1(f.path))c(f,m,!0,p)}),n}function b1(e){let n=e.split("/");if(n.length===0)return[];let[a,...i]=n,o=a.endsWith("?"),c=a.replace(/\?$/,"");if(i.length===0)return o?[c,""]:[c];let f=b1(i.join("/")),m=[];return m.push(...f.map(p=>p===""?c:[c,p].join("/"))),o&&m.push(...f),m.map(p=>e.startsWith("/")&&p===""?"/":p)}function gC(e){e.sort((n,a)=>n.score!==a.score?a.score-n.score:_C(n.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var yC=/^:[\w-]+$/,xC=3,vC=2,bC=1,wC=10,SC=-2,hx=e=>e==="*";function jC(e,n){let a=e.split("/"),i=a.length;return a.some(hx)&&(i+=SC),n&&(i+=vC),a.filter(o=>!hx(o)).reduce((o,c)=>o+(yC.test(c)?xC:c===""?bC:wC),i)}function _C(e,n){return e.length===n.length&&e.slice(0,-1).every((i,o)=>i===n[o])?e[e.length-1]-n[n.length-1]:0}function TC(e,n,a=!1){let{routesMeta:i}=e,o={},c="/",f=[];for(let m=0;m<i.length;++m){let p=i[m],g=m===i.length-1,y=c==="/"?n:n.slice(c.length)||"/",x=$l({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},y),b=p.route;if(!x&&g&&a&&!i[i.length-1].route.index&&(x=$l({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},y)),!x)return null;
24Object.assign(o,x.params),f.push({params:o,pathname:gn([c,x.pathname]),pathnameBase:RC(gn([c,x.pathnameBase])),route:b}),x.pathnameBase!=="/"&&(c=gn([c,x.pathnameBase]))}return f}function $l(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,i]=AC(e.path,e.caseSensitive,e.end),o=n.match(a);if(!o)return null;let c=o[0],f=c.replace(/(.)\/+$/,"$1"),m=o.slice(1);return{params:i.reduce((g,{paramName:y,isOptional:x},b)=>{if(y==="*"){let _=m[b]||"";f=c.slice(0,c.length-_.length).replace(/(.)\/+$/,"$1")}const A=m[b];return x&&!A?g[y]=void 0:g[y]=(A||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:f,pattern:e}}function AC(e,n=!1,a=!0){rn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,m,p,g,y)=>{if(i.push({paramName:m,isOptional:p!=null}),p){let x=y.charAt(g+f.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,n?void 0:"i"),i]}function EC(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return rn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function $n(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let a=n.endsWith("/")?n.length-1:n.length,i=e.charAt(a);return i&&i!=="/"?null:e.slice(a)||"/"}var kC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function CC(e,n="/"){let{pathname:a,search:i="",hash:o=""}=typeof e=="string"?ha(e):e,c;return a?(a=w1(a),a.startsWith("/")?c=mx(a.substring(1),"/"):c=mx(a,n)):c=n,{pathname:c,search:MC(i),hash:OC(o)}}function mx(e,n){let a=Wl(n).split("/");return e.split("/").forEach(o=>{o===".."?a.length>1&&a.pop():o!=="."&&a.push(o)}),a.length>1?a.join("/"):"/"}function of(e,n,a,i){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(i)}].  Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function NC(e){return e.filter((n,a)=>a===0||n.route.path&&n.route.path.length>0)}function Eh(e){let n=NC(e);return n.map((a,i)=>i===n.length-1?a.pathname:a.pathnameBase)}function xc(e,n,a,i=!1){let o;typeof e=="string"?o=ha(e):(o={...e},qe(!o.pathname||!o.pathname.includes("?"),of("?","pathname","search",o)),qe(!o.pathname||!o.pathname.includes("#"),of("#","pathname","hash",o)),qe(!o.search||!o.search.includes("#"),of("#","search","hash",o)));let c=e===""||o.pathname==="",f=c?"/":o.pathname,m;if(f==null)m=a;else{let x=n.length-1;if(!i&&f.startsWith("..")){let b=f.split("/");for(;b[0]==="..";)b.shift(),x-=1;o.pathname=b.join("/")}m=x>=0?n[x]:"/"}let p=CC(o,m),g=f&&f!=="/"&&f.endsWith("/"),y=(c||f===".")&&a.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}var w1=e=>e.replace(/\/\/+/g,"/"),gn=e=>w1(e.join("/")),Wl=e=>e.replace(/\/+$/,""),RC=e=>Wl(e).replace(/^\/*/,"/"),MC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,OC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,PC=class{constructor(e,n,a,i=!1){this.status=e,this.statusText=n||"",this.internal=i,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function DC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function UC(e){let n=e.map(a=>a.route.path).filter(Boolean);return gn(n)||"/"}var S1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function j1(e,n){let a=e;if(typeof a!="string"||!kC.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let i=a,o=!1;if(S1)try{let c=new URL(window.location.href),f=a.startsWith("//")?new URL(c.protocol+a):new URL(a),m=$n(f.pathname,n);f.origin===c.origin&&m!=null?a=m+f.search+f.hash:o=!0}catch{rn(!1,`<Link to="${a}">
24 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:o,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var _1=["POST","PUT","PATCH","DELETE"];new Set(_1);var LC=["GET",..._1];new Set(LC);var ma=w.createContext(null);ma.displayName="DataRouter";var vc=w.createContext(null);vc.displayName="DataRouterState";var T1=w.createContext(!1);function zC(){return w.useContext(T1)}var A1=w.createContext({isTransitioning:!1});A1.displayName="ViewTransition";var VC=w.createContext(new Map);VC.displayName="Fetchers";var BC=w.createContext(null);BC.displayName="Await";var Yt=w.createContext(null);Yt.displayName="Navigation";var Wr=w.createContext(null);Wr.displayName="Location";var on=w.createContext({outlet:null,matches:[],isDataRoute:!1});on.displayName="Route";var kh=w.createContext(null);kh.displayName="RouteError";var E1="REACT_ROUTER_ERROR",IC="REDIRECT",HC="ROUTE_ERROR_RESPONSE";function GC(e){if(e.startsWith(`${E1}:${IC}:{`))try{let n=JSON.parse(e.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function qC(e){if(e.startsWith(`${E1}:${HC}:{`))try{let n=JSON.parse(e.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new PC(n.status,n.statusText,n.data)}catch{}}function FC(e,{relative:n}={}){qe(pa(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=w.useContext(Yt),{hash:o,pathname:c,search:f}=Xr(e,{relative:n}),m=c;return a!=="/"&&(m=c==="/"?a:gn([a,c])),i.createHref({pathname:m,search:f,hash:o})}function pa(){return w.useContext(Wr)!=null}function jt(){return qe(pa(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(Wr).location}var k1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function C1(e){w.useContext(Yt).static||w.useLayoutEffect(e)}function ci(){let{isDataRoute:e}=w.useContext(on);return e?rN():YC()}function YC(){qe(pa(),"useNavigate() may be used only in the context of a <Router> component.");let e=w.useContext(ma),{basename:n,navigator:a}=w.useContext(Yt),{matches:i}=w.useContext(on),{pathname:o}=jt(),c=JSON.stringify(Eh(i)),f=w.useRef(!1);return C1(()=>{f.current=!0}),w.useCallback((p,g={})=>{if(rn(f.current,k1),!f.current)return;if(typeof p=="number"){a.go(p);return}let y=xc(p,JSON.parse(c),o,g.relative==="path");e==null&&n!=="/"&&(y.pathname=y.pathname==="/"?n:gn([n,y.pathname])),(g.replace?a.replace:a.push)(y,g.state,g)},[n,a,c,o,e])}var KC=w.createContext(null);function $C(e){let n=w.useContext(on).outlet;return w.useMemo(()=>n&&w.createElement(KC.Provider,{value:e},n),[n,e])}function N3(){let{matches:e}=w.useContext(on);return e[e.length-1]?.params??{}}function Xr(e,{relative:n}={}){let{matches:a}=w.useContext(on),{pathname:i}=jt(),o=JSON.stringify(Eh(a));return w.useMemo(()=>xc(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function WC(e,n){return N1(e,n)}function N1(e,n,a){qe(pa(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=w.useContext(Yt),{matches:o}=w.useContext(on),c=o[o.length-1],f=c?c.params:{},m=c?c.pathname:"/",p=c?c.pathnameBase:"/",g=c&&c.route;{let E=g&&g.path||"";M1(m,!g||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${E}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
25
26Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}/*`}">.`)}let y=jt(),x;if(n){let E=typeof n=="string"?ha(n):n;qe(p==="/"||E.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${E.pathname}" was given in the \`location\` prop.`),x=E}else x=y;let b=x.pathname||"/",A=b;if(p!=="/"){let E=p.replace(/^\//,"").split("/");A="/"+b.replace(/^\//,"").split("/").slice(E.length).join("/")}let _=a&&a.state.matches.length?a.state.matches.map(E=>Object.assign(E,{route:a.manifest[E.route.id]||E.route})):x1(e,{pathname:A});rn(g||_!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}
26" `),rn(_==null||_[_.length-1].route.element!==void 0||_[_.length-1].route.Component!==void 0||_[_.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let j=eN(_&&_.map(E=>Object.assign({},E,{params:Object.assign({},f,E.params),pathname:gn([p,i.encodeLocation?i.encodeLocation(E.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?p:gn([p,i.encodeLocation?i.encodeLocation(E.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),o,a);return n&&j?w.createElement(Wr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...x},navigationType:"POP"}},j):j}function XC(){let e=aN(),n=DC(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},c={padding:"2px 4px",backgroundColor:i},f=null;return console.error("Error handled by React Router default ErrorBoundary:",e),f=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:c},"ErrorBoundary")," or"," ",w.createElement("code",{style:c},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},n),a?w.createElement("pre",{style:o},a):null,f)}var QC=w.createElement(XC,null),R1=class extends w.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){this.props.onError?this.props.onError(e,n):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=qC(e.digest);a&&(e=a)}let n=e!==void 0?w.createElement(on.Provider,{value:this.props.routeContext},w.createElement(kh.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?w.createElement(ZC,{error:e},n):n}};R1.contextType=T1;var lf=new WeakMap;function ZC({children:e,error:n}){let{basename:a}=w.useContext(Yt);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=GC(n.digest);if(i){let o=lf.get(n);if(o)throw o;let c=j1(i.location,a);if(S1&&!lf.get(n))if(c.isExternal||i.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:i.replace}));throw lf.set(n,f),f}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function JC({routeContext:e,match:n,children:a}){let i=w.useContext(ma);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(on.Provider,{value:e},a)}function eN(e,n=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let o=e,c=i?.errors;if(c!=null){let y=o.findIndex(x=>x.route.id&&c?.[x.route.id]!==void 0);qe(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),o=o.slice(0,Math.min(o.length,y+1))}let f=!1,m=-1;if(a&&i){f=i.renderFallback;for(let y=0;y<o.length;y++){let x=o[y];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(m=y),x.route.id){let{loaderData:b,errors:A}
26=i,_=x.route.loader&&!b.hasOwnProperty(x.route.id)&&(!A||A[x.route.id]===void 0);if(x.route.lazy||_){a.isStatic&&(f=!0),m>=0?o=o.slice(0,m+1):o=[o[0]];break}}}}let p=a?.onError,g=i&&p?(y,x)=>{p(y,{location:i.location,params:i.matches?.[0]?.params??{},pattern:UC(i.matches),errorInfo:x})}:void 0;return o.reduceRight((y,x,b)=>{let A,_=!1,j=null,E=null;i&&(A=c&&x.route.id?c[x.route.id]:void 0,j=x.route.errorElement||QC,f&&(m<0&&b===0?(M1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,E=null):m===b&&(_=!0,E=x.route.hydrateFallbackElement||null)));let O=n.concat(o.slice(0,b+1)),N=()=>{let R;return A?R=j:_?R=E:x.route.Component?R=w.createElement(x.route.Component,null):x.route.element?R=x.route.element:R=y,w.createElement(JC,{match:x,routeContext:{outlet:y,matches:O,isDataRoute:i!=null},children:R})};return i&&(x.route.ErrorBoundary||x.route.errorElement||b===0)?w.createElement(R1,{location:i.location,revalidation:i.revalidation,component:j,error:A,children:N(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:g}):N()},null)}function Ch(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function tN(e){let n=w.useContext(ma);return qe(n,Ch(e)),n}function nN(e){let n=w.useContext(vc);return qe(n,Ch(e)),n}function sN(e){let n=w.useContext(on);return qe(n,Ch(e)),n}function Nh(e){let n=sN(e),a=n.matches[n.matches.length-1];return qe(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function iN(){return Nh("useRouteId")}function aN(){let e=w.useContext(kh),n=nN("useRouteError"),a=Nh("useRouteError");return e!==void 0?e:n.errors?.[a]}function rN(){let{router:e}=tN("useNavigate"),n=Nh("useNavigate"),a=w.useRef(!1);return C1(()=>{a.current=!0}),w.useCallback(async(o,c={})=>{rn(a.current,k1),a.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:n,...c}))},[e,n])}var px={};function M1(e,n,a){!n&&!px[e]&&(px[e]=!0,rn(!1,a))}w.memo(oN);function oN({routes:e,manifest:n,future:a,state:i,isStatic:o,onError:c}){return N1(e,void 0,{manifest:n,state:i,isStatic:o,onError:c})}function Tn({to:e,replace:n,state:a,relative:i}){qe(pa(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=w.useContext(Yt);rn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=w.useContext(on),{pathname:f}=jt(),m=ci(),p=xc(e,Eh(c),f,i==="path"),g=JSON.stringify(p);return w.useEffect(()=>{m(JSON.parse(g),{replace:n,state:a,relative:i})},[m,g,i,n,a]),null}function R3(e){return $C(e.context)}function Y(e){qe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function lN({basename:e="/",children:n=null,location:a,navigationType:i="POP",navigator:o,static:c=!1,useTransitions:f}){qe(!pa(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=e.replace(/^\/*/,"/"),p=w.useMemo(()=>({basename:m,navigator:o,static:c,useTransitions:f,future:{}}),[m,o,c,f]);typeof a=="string"&&(a=ha(a));let{pathname:g="/",search:y="",hash:x="",state:b=null,key:A="default",mask:_}=a,j=w.useMemo(()=>{let E=$n(g,m);return E==null?null:{location:{pathname:E,search:y,hash:x,state:b,key:A,mask:_},navigationType:i}},[m,g,y,x,b,A,i,_]);return rn(j!=null,`<Router basename="${m}"> is not able to match the URL "${g}${y}${x}" because it does not start with the basename, so the <Router> won't render anything.`),j==null?null:w.createElement(Yt.Provider,{value:p},w.createElement(Wr.Provider,{children:n,value:j}))}function Vf({children:e,location:n}){return WC(Bf(e),n)}function Bf(e,n=[]){let a=[];return w.Children.forEach(e,(i,o)=>{if(!w.isValidElement(i))return;let c=[...n,o];if(i.type===w.Fragment){a.push.apply(a,Bf(i.props.children,c));return}qe(i.type===Y,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),qe(!i.props.index||!i.props.children,"An index route cannot have child routes.");let f={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,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,
26shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(f.children=Bf(i.props.children,c)),a.push(f)}),a}var Dl="get",Ul="application/x-www-form-urlencoded";function bc(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function cN(e){return bc(e)&&e.tagName.toLowerCase()==="button"}function uN(e){return bc(e)&&e.tagName.toLowerCase()==="form"}function dN(e){return bc(e)&&e.tagName.toLowerCase()==="input"}function fN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hN(e,n){return e.button===0&&(!n||n==="_self")&&!fN(e)}function If(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,a)=>{let i=e[a];return n.concat(Array.isArray(i)?i.map(o=>[a,o]):[[a,i]])},[]))}function mN(e,n){let a=If(e);return n&&n.forEach((i,o)=>{a.has(o)||n.getAll(o).forEach(c=>{a.append(o,c)})}),a}var jl=null;function pN(){if(jl===null)try{new FormData(document.createElement("form"),0),jl=!1}catch{jl=!0}return jl}var gN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function cf(e){return e!=null&&!gN.has(e)?(rn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ul}"`),null):e}function yN(e,n){let a,i,o,c,f;if(uN(e)){let m=e.getAttribute("action");i=m?$n(m,n):null,a=e.getAttribute("method")||Dl,o=cf(e.getAttribute("enctype"))||Ul,c=new FormData(e)}else if(cN(e)||dN(e)&&(e.type==="submit"||e.type==="image")){let m=e.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||m.getAttribute("action");if(i=p?$n(p,n):null,a=e.getAttribute("formmethod")||m.getAttribute("method")||Dl,o=cf(e.getAttribute("formenctype"))||cf(m.getAttribute("enctype"))||Ul,c=new FormData(m,e),!pN()){let{name:g,type:y,value:x}=e;if(y==="image"){let b=g?`${g}.`:"";c.append(`${b}x`,"0"),c.append(`${b}y`,"0")}else g&&c.append(g,x)}}else{if(bc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Dl,i=null,o=Ul,f=e}return c&&o==="text/plain"&&(f=c,c=void 0),{action:i,method:a.toLowerCase(),encType:o,formData:c,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Rh(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function O1(e,n,a,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`:o.pathname==="/"?o.pathname=`_root.${i}`:n&&$n(o.pathname,n)==="/"?o.pathname=`${Wl(n)}/_root.${i}`:o.pathname=`${Wl(o.pathname)}.${i}`,o}async function xN(e,n){if(e.id in n)return n[e.id];try{let a=await import(e.module);return n[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function vN(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function bN(e,n,a){let i=await Promise.all(e.map(async o=>{let c=n.routes[o.route.id];if(c){let f=await xN(c,a);return f.links?f.links():[]}return[]}));return _N(i.flat(1).filter(vN).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function gx(e,n,a,i,o,c){let f=(p,g)=>a[g]?p.route.id!==a[g].route.id:!0,m=(p,g)=>a[g].pathname!==p.pathname||a[g].route.path?.endsWith("*")&&a[g].params["*"]!==p.params["*"];return c==="assets"?n.filter((p,g)=>f(p,g)||m(p,g)):c==="data"?n.filter((p,g)=>{let y=i.routes[p.route.id];if(!y||!y.hasLoader)return!1;if(f(p,g)||m(p,g))return!0;if(p.route.shouldRevalidate){let x=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function wN(e,n,{includeHydrateFallback:a}={}){return SN(e.map(i=>{let o=n.routes[i.route.id];if(!o)return[];let c=[o.module];return o.clientActionModule&&(c=c.concat(o.clientActionModule)),o.clientLoaderModule&&(c=c.concat(o.clientLoaderModule)),a&&o.hydrateFallbackModule&&(c=c.concat(o.hydrateFallbackModule)),o.imports&&(c=c.concat(o.imports)),c}).flat(1))}function SN(e){return[...new Set(e)]}function jN(e){let n={},a=Object.keys(e).sort();for(let i of a)n[i]=e[i];return n}function _N(e,n){let a=new Set;return new Set(n),e.reduce((i,o)=>{let c=JSON.stringify(jN(o));return a.has(c)||(a.add(c),i.push({key:c,link:o})),i},[])}function Mh(){let e=w.useContext(ma);return Rh(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function TN(){let e=w.useContext(vc);return Rh(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Oh=w.createContext(void 0);Oh.displayName="FrameworkContext";function Ph(){let e=w.useContext(Oh);return Rh(e,"You must render this element inside a <HydratedRouter> element"),e}
26function AN(e,n){let a=w.useContext(Oh),[i,o]=w.useState(!1),[c,f]=w.useState(!1),{onFocus:m,onBlur:p,onMouseEnter:g,onMouseLeave:y,onTouchStart:x}=n,b=w.useRef(null);w.useEffect(()=>{if(e==="render"&&f(!0),e==="viewport"){let j=O=>{O.forEach(N=>{f(N.isIntersecting)})},E=new IntersectionObserver(j,{threshold:.5});return b.current&&E.observe(b.current),()=>{E.disconnect()}}},[e]),w.useEffect(()=>{if(i){let j=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(j)}}},[i]);let A=()=>{o(!0)},_=()=>{o(!1),f(!1)};return a?e!=="intent"?[c,b,{}]:[c,b,{onFocus:br(m,A),onBlur:br(p,_),onMouseEnter:br(g,A),onMouseLeave:br(y,_),onTouchStart:br(x,A)}]:[!1,b,{}]}function br(e,n){return a=>{e&&e(a),a.defaultPrevented||n(a)}}function EN({page:e,...n}){let a=zC(),{router:i}=Mh(),o=w.useMemo(()=>x1(i.routes,e,i.basename),[i.routes,e,i.basename]);return o?a?w.createElement(CN,{page:e,matches:o,...n}):w.createElement(NN,{page:e,matches:o,...n}):null}function kN(e){let{manifest:n,routeModules:a}=Ph(),[i,o]=w.useState([]);return w.useEffect(()=>{let c=!1;return bN(e,n,a).then(f=>{c||o(f)}),()=>{c=!0}},[e,n,a]),i}function CN({page:e,matches:n,...a}){let i=jt(),{future:o}=Ph(),{basename:c}=Mh(),f=w.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let m=O1(e,c,o.unstable_trailingSlashAwareDataRequests,"rsc"),p=!1,g=[];for(let y of n)typeof y.route.shouldRevalidate=="function"?p=!0:g.push(y.route.id);return p&&g.length>0&&m.searchParams.set("_routes",g.join(",")),[m.pathname+m.search]},[c,o.unstable_trailingSlashAwareDataRequests,e,i,n]);return w.createElement(w.Fragment,null,f.map(m=>w.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...a})))}function NN({page:e,matches:n,...a}){let i=jt(),{future:o,manifest:c,routeModules:f}=Ph(),{basename:m}=Mh(),{loaderData:p,matches:g}=TN(),y=w.useMemo(()=>gx(e,n,g,c,i,"data"),[e,n,g,c,i]),x=w.useMemo(()=>gx(e,n,g,c,i,"assets"),[e,n,g,c,i]),b=w.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let j=new Set,E=!1;if(n.forEach(N=>{let R=c.routes[N.route.id];!R||!R.hasLoader||(!y.some(H=>H.route.id===N.route.id)&&N.route.id in p&&f[N.route.id]?.shouldRevalidate||R.hasCl
26ientLoader?E=!0:j.add(N.route.id))}),j.size===0)return[];let O=O1(e,m,o.unstable_trailingSlashAwareDataRequests,"data");return E&&j.size>0&&O.searchParams.set("_routes",n.filter(N=>j.has(N.route.id)).map(N=>N.route.id).join(",")),[O.pathname+O.search]},[m,o.unstable_trailingSlashAwareDataRequests,p,i,c,y,n,e,f]),A=w.useMemo(()=>wN(x,c),[x,c]),_=kN(x);return w.createElement(w.Fragment,null,b.map(j=>w.createElement("link",{key:j,rel:"prefetch",as:"fetch",href:j,...a})),A.map(j=>w.createElement("link",{key:j,rel:"modulepreload",href:j,...a})),_.map(({key:j,link:E})=>w.createElement("link",{key:j,nonce:a.nonce,...E,crossOrigin:E.crossOrigin??a.crossOrigin})))}function RN(...e){return n=>{e.forEach(a=>{typeof a=="function"?a(n):a!=null&&(a.current=n)})}}var MN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{MN&&(window.__reactRouterVersion="7.15.0")}catch{}function ON({basename:e,children:n,useTransitions:a,window:i}){let o=w.useRef();o.current==null&&(o.current=uC({window:i,v5Compat:!0}));let c=o.current,[f,m]=w.useState({action:c.action,location:c.location}),p=w.useCallback(g=>{a===!1?m(g):w.startTransition(()=>m(g))},[a]);return w.useLayoutEffect(()=>c.listen(p),[c,p]),w.createElement(lN,{basename:e,children:n,location:f.location,navigationType:f.action,navigator:c,useTransitions:a})}var P1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Dh=w.forwardRef(function({onClick:n,discover:a="render",prefetch:i="none",relative:o,reloadDocument:c,replace:f,mask:m,state:p,target:g,to:y,preventScrollReset:x,viewTransition:b,defaultShouldRevalidate:A,..._},j){let{basename:E,navigator:O,useTransitions:N}=w.useContext(Yt),R=typeof y=="string"&&P1.test(y),H=j1(y,E);y=H.to;let L=FC(y,{relative:o}),X=jt(),Q=null;if(m){let ve=xc(m,[],X.mask?X.mask.pathname:"/",!0);E!=="/"&&(ve.pathname=ve.pathname==="/"?E:gn([E,ve.pathname])),Q=O.createHref(ve)}let[I,q,ue]=AN(i,_),se=LN(y,{replace:f,mask:m,state:p,target:g,preventScrollReset:x,relative:o,viewTransition:b,defaultShouldRevalidate:A,useTransitions:N});function fe(ve){n&&n(ve),ve.defaultPrevented||se(ve)}let Be=!(H.isExternal||c),Ze=w.createElement("a",{..._,...ue,href:(Be?Q:void 0)||H.absoluteURL||L,onClick:Be?fe:n,ref:RN(j,q),target:g,"data-discover":!R&&a==="render"?"true":void 0});return I&&!R?w.createElement(w.Fragment,null,Ze,w.createElement(EN,{page:L})):Ze});Dh.displayName="Link";var PN=w.forwardRef(function({"aria-current":n="page",caseSensitive:a=!1,className:i="",end:o=!1,style:c,to:f,viewTransition:m,children:p,...g},y){let x=Xr(f,{relative:g.relative}),b=jt(),A=w.useContext(vc),{navigator:_,basename:j}=w.useContext(Yt),E=A!=null&&HN(x)&&m===!0,O=_.encodeLocation?_.encodeLocation(x).pathname:x.pathname,N=b.pathname,R=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;a||(N=N.toLowerCase(),R=R?R.toLowerCase():null,O=O.toLowerCase()),R&&j&&(R=$n(R,j)||R);const H=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let L=N===O||!o&&N.startsWith(O)&&N.charAt(H)==="/",X=R!=null&&(R===O||!o&&R.startsWith(O)&&R.charAt(O.length)==="/"),Q={isActive:L,isPending:X,isTransitioning:E},I=L?n:void 0,q;typeof i=="function"?q=i(Q):q=[i,L?"active":null,X?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let ue=typeof c=="function"?c(Q):c;return w.createElement(Dh,{...g,"aria-current":I,className:q,ref:y,style:ue,to:f,viewTransition:m},typeof p=="function"?p(Q):p)});PN.displayName="NavLink";var DN=w.forwardRef(({discover:e="render",fetcherKey:n,navigate:a,reloadDocument:i,replace:o,state:c,method:f=Dl,action:m,onSubmit:p,relative:g,preventScrollReset:y,viewTransition:x,defaultShouldRevalidate:b,...A},_)=>{let{useTransitions:j}=w.useContext(Yt),E=BN(),O=IN(m,{relative:g}),N=f.toLowerCase()==="get"?"get":"post",R=typeof m=="string"&&P1.test(m),H=L=>{if(p&&p(L),L.defaultPrevented)return;L.preventDefault();let X=L.nativeEvent.submitter,Q=X?.getAttribute("formmethod")||f,I=()=>E(X||L.currentTarget,{fetcherKey:n,method:Q,navigate:a,replace:o,state:c,relative:g,preventScrollReset:y,viewTransition:x,defaultShouldRevalidate:b});j&&a!==!1?w.startTransition(()=>I()):I()};return w.createElement("form",{ref:_,method:N,action:O,onSubmit:i?p:H,...A,"data-discover":!R&&e==="render"?"true":void 0})});DN.displayName="Form";function UN(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function D1(e){let n=w.useContext(ma);return qe(n,UN(e)),n}function LN(e,{target:n,replace:a,mask:i,state:o,preventScrollReset:c,relative:f,viewTransition:m,defaultShouldRevalidate:p,useTransitions:g}={}){let y=ci(),x=jt(),b=Xr(e,{relative:f});return w.useCallback(A=>
26{if(hN(A,n)){A.preventDefault();let _=a!==void 0?a:Lr(x)===Lr(b),j=()=>y(e,{replace:_,mask:i,state:o,preventScrollReset:c,relative:f,viewTransition:m,defaultShouldRevalidate:p});g?w.startTransition(()=>j()):j()}},[x,y,b,a,i,o,n,e,c,f,m,p,g])}function M3(e){rn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=w.useRef(If(e)),a=w.useRef(!1),i=jt(),o=w.useMemo(()=>mN(i.search,a.current?null:n.current),[i.search]),c=ci(),f=w.useCallback((m,p)=>{const g=If(typeof m=="function"?m(new URLSearchParams(o)):m);a.current=!0,c("?"+g,p)},[c,o]);return[o,f]}var zN=0,VN=()=>`__${String(++zN)}__`;function BN(){let{router:e}=D1("useSubmit"),{basename:n}=w.useContext(Yt),a=iN(),i=e.fetch,o=e.navigate;return w.useCallback(async(c,f={})=>{let{action:m,method:p,encType:g,formData:y,body:x}=yN(c,n);if(f.navigate===!1){let b=f.fetcherKey||VN();await i(b,a,f.action||m,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:y,body:x,formMethod:f.method||p,formEncType:f.encType||g,flushSync:f.flushSync})}else await o(f.action||m,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:y,body:x,formMethod:f.method||p,formEncType:f.encType||g,replace:f.replace,state:f.state,fromRouteId:a,flushSync:f.flushSync,viewTransition:f.viewTransition})},[i,o,n,a])}function IN(e,{relative:n}={}){let{basename:a}=w.useContext(Yt),i=w.useContext(on);qe(i,"useFormAction must be used inside a RouteContext");let[o]=i.matches.slice(-1),c={...Xr(e||".",{relative:n})},f=jt();if(e==null){c.search=f.search;let m=new URLSearchParams(c.search),p=m.getAll("index");if(p.some(y=>y==="")){m.delete("index"),p.filter(x=>x).forEach(x=>m.append("index",x));let y=m.toString();c.search=y?`?${y}`:""}}return(!e||e===".")&&o.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(c.pathname=c.pathname==="/"?a:gn([a,c.pathname])),Lr(c)}function HN(e,{relative:n}={}){let a=w.useContext(A1);qe(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=D1("useViewTransitionState"),o=Xr(e,{relative:n});if(!a.isTransitioning)return!1;let c=$n(a.currentLocation.pathname,i)||a.currentLocation.pathname,f=$n(a.nextLocation.pathname,i)||a.nextLocation.pathname;return $l(o.pathname,f)!=null||$l(o.pathname,c)!=null}const U1="/api";let zr=null;function uf(e){zr=e}async function Te(e,n={}){const a=zr?await zr():null,i=a?{Authorization:`Bearer ${a}`}:{},o=n.timeout??3e4,c=new AbortController,f=setTimeout(()=>c.abort(),o);let m;try{m=await fetch(`${U1}${e}`,{credentials:"include",signal:c.signal,headers:{"Content-Type":"application/json",...i,...n.headers},...n})}finally{clearTimeout(f)}if(!m.ok){const p=await m.json().catch(()=>({error:m.statusText}));throw Object.assign(new Error(p.error||"Request failed"),{status:m.status,data:p})}return m.json()}async function O3(e,n={}){const a=zr?await zr():null,i=a?{Authorization:`Bearer ${a}`}:{};return fetch(`${U1}${e}`,{credentials:"include",...n,headers:{...i,...n.headers}})}function yx(e,n,a){const i=new URLSearchParams;return e&&i.set("filter",JSON.stringify(e)),n&&i.set("sort",n),a&&i.set("limit",String(a)),i.toString()?`?${i.toString()}`:""}function Ae(e){const n=`/entities/${e}`;return{filter:(a,i,o)=>Te(`${n}${yx(a,i,o)}`),list:(a,i)=>Te(`${n}${yx(void 0,a,i)}`),get:a=>Te(`${n}/${a}`),create:a=>Te(n,{method:"POST",body:JSON.stringify(a)}),update:(a,i)=>Te(`${n}/${a}`,{method:"PATCH",body:JSON.stringify(i)}),delete:a=>Te(`${n}/${a}`,{method:"DELETE"}),subscribe:()=>()=>{}}}async function GN(e,n={},a={}){return Te(`/functions/${e}`,{method:"POST",body:JSON.stringify(n),...a})}const qN={me:()=>Te("/auth/me"),updateMe:e=>Te("/auth/me",{method:"PATCH",body:JSON.stringify(e)})},ot={User:Ae("User"),Project:Ae("Project"),Topic:Ae("Topic"),Prompt:Ae("Prompt"),TrackedCompetitor:Ae("TrackedCompetitor"),CompetitorExclusion:Ae("CompetitorExclusion"),ProjectAccessRole:Ae("ProjectAccessRole"),ProjectGscConnection:Ae("ProjectGscConnection"),ProjectGa4Connection:Ae("ProjectGa4Connection"),ProjectRuntimeState:Ae("ProjectRuntimeState"),AnalysisNote:Ae("AnalysisNote"),Team:Ae("Team"),TeamMembership:Ae("TeamMembership"),TeamInvite:Ae("TeamInvite"),InviteToken:Ae("InviteToken"),Plan:Ae("Plan"),AnalysisRun:Ae("AnalysisRun"),AnalysisResult:Ae("AnalysisResult"),GscAnalysis:Ae("GscAnalysis"),Ga4Analysis:Ae("Ga4Analysis"),AiSeoScoreHistory:Ae("AiSeoScoreHistory"),GeoMasterScore:Ae("GeoMasterScore"),SiteCrawl:Ae("SiteCrawl"),ContentRecommendations:Ae("ContentRecommendations"),CompletedRecommendation:Ae("CompletedRecommendation"),ContentBrief:Ae("ContentBrief"),ContentAction:Ae("ContentAction"),ContentActionComment:Ae("ContentActionComment"),ContentActionActivity:Ae
26("ContentActionActivity"),BriefShare:Ae("BriefShare"),CreditPricing:Ae("CreditPricing"),CreditUsageLog:Ae("CreditUsageLog"),GiftedCredit:Ae("GiftedCredit"),BetaSignup:Ae("BetaSignup"),BlogPost:Ae("BlogPost"),SeoEntry:Ae("SeoEntry")},P3={excerpt:({title:e,content_md:n})=>Te("/blog/excerpt",{method:"POST",body:JSON.stringify({title:e,content_md:n})}),coverImage:async({title:e,content_md:n})=>{const{job_id:a}=await Te("/blog/cover-image",{method:"POST",body:JSON.stringify({title:e,content_md:n})}),i=Date.now()+9e4;for(;Date.now()<i;){await new Promise(c=>setTimeout(c,2500));const o=await Te(`/blog/cover-image-job/${a}`);if(o.status==="done")return{image_data_url:o.image_data_url,prompt:o.prompt};if(o.status==="error")throw new Error(o.error||"Image generation failed")}throw new Error("Image generation timed out — please try again.")}},D3={list:(e,n=20)=>Te(`/prompts/changes?project_id=${encodeURIComponent(e)}&limit=${n}`),revert:e=>Te(`/prompts/changes/${encodeURIComponent(e)}/revert`,{method:"POST"}),togglePrompt:(e,n)=>Te("/prompts/toggle",{method:"POST",body:JSON.stringify({id:e,is_active:n})}),batchTogglePrompts:({project_id:e,topic_id:n,topic_name:a,is_active:i})=>Te("/prompts/batch-toggle",{method:"POST",body:JSON.stringify({project_id:e,topic_id:n,topic_name:a,is_active:i})})},U3={list:()=>Te("/public/blog"),bySlug:e=>Te(`/public/blog/${encodeURIComponent(e)}`)},L3={byToken:e=>Te(`/public/brief/${encodeURIComponent(e)}`)},z3={byId:e=>Te(`/blog/preview/${encodeURIComponent(e)}`)},V3={list:()=>Te("/admin/authors"),setBlogAuthor:(e,n)=>Te(`/admin/authors/${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({is_blog_author:n})}),setRole:(e,n)=>Te(`/admin/authors/${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify({role:n})})},B3={listTemplates:()=>Te("/admin/email/templates"),triggerOptions:()=>Te("/admin/email/trigger-options"),createTemplate:e=>Te("/admin/email/templates",{method:"POST",body:JSON.stringify(e)}),updateTemplate:(e,n)=>Te(`/admin/email/templates/${encodeURIComponent(e)}`,{method:"PUT",body:JSON.stringify(n)}),deleteTemplate:e=>Te(`/admin/email/templates/${encodeURIComponent(e)}`,{method:"DELETE"}),getSettings:()=>Te("/admin/email/settings"),updateSettings:e=>Te("/admin/email/settings",{method:"PUT",body:JSON.stringify(e)}),preview:e=>Te("/admin/email/preview",{method:"POST",body:JSON.stringify(e)}),sendTest:e=>Te("/admin/email/test",{method:"POST",body:JSON.stringify(e)}),log:({status:e,type:n,q:a,days:i,limit:o}={})=>{const c=new URLSearchParams;e&&c.set("status",e),n&&c.set("type",n),a&&c.set("q",a),i&&c.set("days",String(i)),o&&c.set("limit",String(o));const f=c.toString();return Te(`/admin/email/log${f?`?${f}`:""}`)}},ra=qN;async function I3(e){const n=new URLSearchParams({team_id:e});return Te(`/entities/TeamMembership/enriched?${n.toString()}`)}const H3={status:()=>Te("/admin/health-status"),run:()=>Te("/admin/health-check/run",{method:"POST"})};function G3(e,{topicName:n="",platforms:a=[]}={}){const i=new URLSearchParams({topic_name:n});return a.length>0&&i.set("platforms",a.join(",")),Te(`/projects/${encodeURIComponent(e)}/score-history?${i}`)}function Uh(e){return e&&(e.current_team_id||e.team_id)||null}async function FN(e){if(!e?.email)return[];const n=await ot.TeamMembership.filter({user_email:e.email},"-created_date",100).catch(()=>[]),a=new Set(n.map(c=>c.team_id).filter(Boolean));if(e.team_id&&!a.has(e.team_id)){const c=e.role==="admin"?"admin":"user";try{await ot.TeamMembership.create({team_id:e.team_id,user_email:e.email,role:c}),a.add(e.team_id),n.push({team_id:e.team_id,user_email:e.email,role:c})}catch{}}const i=e.current_team_id;if(i&&!a.has(i)&&a.add(i),a.size===0)return[];const o=[];for(const c of a){const f=await ot.Team.filter({team_id:c}).catch(()=>[]);if(f[0]){const m=n.find(p=>p.team_id===c);o.push({...f[0],my_role:m?.role||"user"})}}return o}async function q3(e){return await ra.updateMe({current_team_id:e}),ra.me()}async function F3(e,n){if(!e?.email||!n)return null;const a=await ot.TeamMembership.filter({user_email:e.email,team_id:n},"-created_date",1).catch(()=>[]);return a[0]?a[0].role:e.team_id===n?e.role==="admin"?"admin":"user":null}async function Y3(e,n){if(!e?.email)throw new Error("Not authenticated");if(!n?.trim())throw new Error("Team name required");const i=(await ot.Plan.filter({is_default:!0,is_active:!0},"-created_date",1).catch(()=>[]))[0],o=i?.monthly_credit_limit??100,c=i?.plan_type==="trial";let f=i;if(c&&e.has_used_trial){const x=(await ot.Plan.filter({is_active:!0},"price_monthly",50).catch(()=>[])).find(b=>(b.plan_type||"standard")!=="trial");x&&(f=x)}const m=`team_${Date.now()}_${Math.random().toString(36).slice(2,8)}`;let p=null;try{const{getFirstTouch:y}=await ee(async()=>{const{getFirstTouch:x}=await Promise.resolve().then(()=>E3);return{getFirstTouch:x}},[]);p=y()}catch{}
26const g=await ot.Team.create({team_id:m,name:n.trim(),owner_email:e.email,plan_id:f?.id||"",plan_slug:f?.slug||"starter",monthly_credit_limit:f?.monthly_credit_limit??o,credits_consumed_this_month:0,...p?{signup_attribution:p}:{}});try{await ot.TeamMembership.create({team_id:m,user_email:e.email,role:"owner"})}catch{}return await ra.updateMe({current_team_id:m}),g}let wr=null;async function YN(e){return e?.email?wr||(wr=(async()=>{const n=await ot.TeamMembership.filter({user_email:e.email},"-created_date",10).catch(()=>null);if(n===null)return{user:e,needsSignup:!1};if(n.length>0||e.team_id){const i=await FN(e);if(i.length>0){const o=Uh(e);if(!i.some(f=>f.team_id===o))return await ra.updateMe({current_team_id:i[0].team_id}),{user:await ra.me(),needsSignup:!1}}return{user:e,needsSignup:!1}}return(await ot.ProjectAccessRole.filter({user_email:e.email},"-created_date",1).catch(()=>[])).length>0?{user:e,needsSignup:!1}:{user:e,needsSignup:!0}})().finally(()=>{setTimeout(()=>{wr=null},5e3)}),wr):{user:e,needsSignup:!1}}const L1=w.createContext(),xx="pending_invite_token";async function KN(){const e=sessionStorage.getItem(xx);if(e){sessionStorage.removeItem(xx);try{const a=(await GN("acceptInvite",{token:e}))?.data||{},i=a.team_name,o=a.project_name;if(a.scope==="project"){if(a.project_id)try{localStorage.setItem("activeProjectId",a.project_id)}catch{}if(Ml({title:o?`You now have access to ${o}`:"Project access granted",description:i?`You can find it under ${i}.`:"Your invite was accepted successfully."}),typeof window<"u"){window.location.href="/";return}}else Ml({title:i?`You've joined ${i}!`:"You've joined the team!",description:"Your invite was accepted successfully."})}catch(n){const a=n?.data?.error||n?.message||"Could not accept the invite.";console.warn("Auto-accept pending invite failed:",a),Ml({title:"Invite not accepted",description:a,variant:"destructive"})}}}const $N=({children:e})=>{const{user:n,isLoaded:a}=_E(),{signOut:i}=qb(),{getToken:o}=Ak(),[c,f]=w.useState(null),[m,p]=w.useState(!1),[g,y]=w.useState(!0),[x]=w.useState(!1),[b,A]=w.useState(null),[_]=w.useState({id:"jasno",public_settings:{}});w.useEffect(()=>{uf(n?o:null)},[n,o]);const j=async()=>{if(a){if(typeof window<"u"&&window.location.pathname.startsWith("/sign-up")){y(!1);return}if(!n){uf(null),f(null),p(!1),y(!1),A({type:"auth_required",message:"Authentication required"});return}try{y(!0);const N=await o(),R=N?{Authorization:`Bearer ${N}`}:{};let H=await fetch("/api/auth/me",{credentials:"include",headers:{"Content-Type":"application/json",...R}}).then(Q=>Q.ok?Q.json():null).catch(()=>null);if(!H){f(null),p(!1),A({type:"auth_required",message:"Authentication required"}),y(!1);return}await KN();const L=window.location.pathname;if(!(L.startsWith("/sign-up")||L.startsWith("/signup")))try{const{user:Q,needsSignup:I}=await YN(H);if(I&&typeof window<"u"){window.location.href="/signup?new=1";return}H=Q}catch(Q){console.error("ensureUserHasTeam failed",Q)}f(H),p(!0),A(null),y(!1)}catch(N){console.error("Auth check failed:",N),f(null),p(!1),A({type:"auth_required",message:"Authentication required"}),y(!1)}}};w.useEffect(()=>{if(a){if(typeof window<"u"&&window.location.pathname.startsWith("/sign-up")){y(N=>N&&!1);return}j()}},[a,n?.id]);const E=N=>{uf(null),f(null),p(!1),i({redirectUrl:N||window.location.origin})},O=N=>{N?window.location.href=`/sign-in?redirect_url=${encodeURIComponent(N)}`:window.location.href="/sign-in"};return u.jsx(L1.Provider,{value:{user:c,isAuthenticated:m,isLoadingAuth:g,isLoadingPublicSettings:x,authError:b,appPublicSettings:_,logout:E,navigateToLogin:O,checkAppState:j},children:e})},ga=()=>{const e=w.useContext(L1);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e};function vx(){const e=jt(),{user:n}=ga(),a=e.pathname.substring(1),i=n?.role==="admin";return u.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:u.jsx("div",{className:"max-w-md w-full",children:u.jsxs("div",{className:"text-center space-y-6",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),u.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),u.jsxs("div",{className:"space-y-3",children:[u.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),u.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",u.jsxs("span",{className:"font-medium text-slate-700",children:['"',a,'"']})," could not be found in this application."]})]}),i&&u.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:u.jsxs("div",{className:"flex items-start space-x-3",children:[u.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:u.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),u.jsxs("div",{className:"text-left space-y-1",children:[u.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),u.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."})]})]})}),u.jsx("div",{className:"pt-6",children:u.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:[u.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:u.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"]})})]})})})}function bx(){try{window.scrollTo({top:0,left:0,behavior:"instant"})}catch{window.scrollTo(0,0)}document.documentElement&&(document.documentElement.scrollTop=0),document.body&&(document.body.scrollTop=0),typeof document<"u"&&document.querySelectorAll("[data-scroll-root]").forEach(n=>
26{n.scrollTop=0,n.scrollLeft=0})}function WN(){const{pathname:e,search:n}=jt();return w.useLayoutEffect(()=>{if("scrollRestoration"in window.history)try{window.history.scrollRestoration="manual"}catch{}},[]),w.useLayoutEffect(()=>{bx()},[e,n]),w.useEffect(()=>{const a=window.requestAnimationFrame(()=>{window.scrollY>0&&bx()});return()=>window.cancelAnimationFrame(a)},[e,n]),null}const XN="Jasno",Hf="https://jasno.ai",QN="Every day AI platforms answer questions about your category and brand. Most businesses have no idea what's being said. Jasno changes that.",wc={"/":{title:"Jasno - AI Search Visibility for Brands",description:"Track how your brand appears in ChatGPT, Perplexity, and Google AI Overviews - then get the action plan and content to improve it. The complete AI visibility solution."},"/marketing":{title:"Jasno - AI Search Visibility for Brands",description:"Track how your brand appears in ChatGPT, Perplexity, and Google AI Overviews. Benchmark competitors and win more AI citations with Jasno.",canonical:`${Hf}/`},"/home":{title:"Jasno - Track Your Brand in AI Search",description:"Jasno helps brands track and improve how they appear in AI-generated search results across ChatGPT, Perplexity, and Google AI Overviews."},"/book-demo":{title:"Book a Demo - See Jasno in Action | Jasno",description:"Book a 30-minute demo of Jasno. See how we track your brand across ChatGPT, Perplexity, and Google AI Overviews — and how to win more AI citations."},"/features":{title:"Features - AI Visibility, Tracking & Content | Jasno",description:"Explore Jasno: AI search visibility tracking, competitor benchmarking, Search Console integration, content optimisation, and team collaboration."},"/features/ai-search-visibility":{title:"AI Search Visibility Tracking | Jasno",description:"See exactly how your brand shows up across ChatGPT, Perplexity, and Google AI Overviews - and track your share of voice over time."},"/ai-brand-monitoring":{title:"AI Brand Monitoring Tool for ChatGPT & Perplexity | Jasno",description:"See how ChatGPT, Perplexity and Google AI Overviews mention your brand. Monitor citations, track rivals, and get a clear action plan. Start free — no card needed."},"/features/reddit-citations":{title:"Track Reddit Citations in AI Answers | Jasno",description:"See every Reddit thread ChatGPT, Perplexity & Google AI Overviews cite for your brand. Monitor exposure, spot competitor gaps, and grow your AI visibility."},"/features/search-console-integration":{title:"Google Search Console Integration | Jasno",description:"Connect Google Search Console to Jasno to link AI visibility with real search traffic, surface AI-driven queries, and prioritise content."},"/features/content-optimisation":{title:"Content Optimisation for AI Search | Jasno",description:"Turn insights into action with content briefs and recommendations engineered to earn citations from AI engines and answer-engine results."},"/features/performance-tracking":{title:"AI Visibility Performance Tracking | Jasno",description:"Monitor your AI search performance with daily automated runs, visibility timelines, citation history, and competitor momentum charts."},"/features/team-collaboration":{title:"Team Collaboration | Jasno",description:"Bring your whole team into AI search. Share projects, assign work, and collaborate on the content that wins AI citations - all in Jasno."},"/features/ga4-integration":{title:"GA4 Integration - Measure AI Traffic | Jasno",description:"Connect Google Analytics 4 to Jasno to isolate visitors from ChatGPT, Perplexity, and Google AI Overviews - and see the sessions, conversions, and revenue behind your AI traffic."},"/usecases":{title:"Use Cases - How Teams Use Jasno | Jasno",description:"See how teams use Jasno to align to search intent, find competitor gaps, build citation authority, and own multiple topics in AI search."},"/usecases/audience-alignment":{title:"Align Content to Search Intent | Jasno",description:"Match your content to what people actually ask AI and search engines - and what triggers AI overviews - so you show up where it matters."}
26,"/usecases/competitor-gaps":{title:"Find Competitor Gaps in AI Search | Jasno",description:"Discover the prompts where competitors win, the topics they own, and the gaps you can fill first to grow your AI search visibility."},"/usecases/citation-building":{title:"Build Citation Authority in AI Answers | Jasno",description:"Become a trusted source AI engines pull from. Track which of your pages get cited across AI platforms and grow that list over time."},"/usecases/multi-topic-strategy":{title:"Master Multiple Topics in AI Search | Jasno",description:"Run several topics in parallel, see how each ranks across every AI engine, and prioritise the work that moves your visibility most."},"/usecases/competitor-tracking":{title:"Monitor Competitors in AI Search | Jasno",description:"Stay ahead with daily automated runs, topic-ownership heatmaps, and competitor momentum charts across ChatGPT, Perplexity, and AI Overviews."},"/ai-search-visibility-platforms-compared":{title:"AI Search Visibility Platforms Compared | Jasno",description:"Compare Jasno, Semrush, Profound and Peec AI across engines, tracking, reporting and recommendations to choose an AI visibility platform."},"/pricing":{title:"Pricing - Plans for Every Team | Jasno",description:"Simple, transparent pricing for AI search visibility. Start a free trial and track your brand across ChatGPT, Perplexity, and Google AI Overviews."},"/blog":{title:"Blog - AI Search & GEO Insights | Jasno",description:"Guides, research, and playbooks on AI search visibility, generative engine optimisation (GEO), and winning citations in ChatGPT and Perplexity."},"/privacy":{title:"Privacy Policy | Jasno",description:"How Jasno collects, uses, and protects your data. Read our privacy policy."},"/terms":{title:"Terms of Service | Jasno",description:"The terms and conditions for using Jasno - the AI search visibility platform for brands."}};function K3(){return Object.entries(wc).map(([e,n])=>({path:e,title:n.title||"",description:n.description||"",canonical:n.canonical||null}))}function ZN(e){const n={...wc};for(const a of e||[]){if(!a||!a.path)continue;const o={...n[a.path]||{}};a.title&&(o.title=a.title),a.description&&(o.description=a.description),a.canonical&&(o.canonical=a.canonical),n[a.path]=o}return n}function ni(e,n,a){if(!a)return;let i=document.head.querySelector(`meta[${e}="${n}"]`);i||(i=document.createElement("meta"),i.setAttribute(e,n),document.head.appendChild(i)),i.setAttribute("content",a)}function JN(e){if(!e)return;let n=document.head.querySelector('link[rel="canonical"]');n||(n=document.createElement("link"),n.setAttribute("rel","canonical"),document.head.appendChild(n)),n.setAttribute("href",e)}function wx({title:e,description:n,url:a}){e&&(document.title=e);const i=document.head.querySelector('meta[name="robots"]');i&&/noindex/i.test(i.getAttribute("content")||"")&&i.remove(),ni("name","description",n),ni("property","og:title",e),ni("property","og:description",n),ni("property","og:url",a),ni("name","twitter:title",e),ni("name","twitter:description",n),JN(a)}function df(e="Page Not Found - Jasno"){document.title=e,ni("name","robots","noindex, nofollow");const n=document.head.querySelector('link[rel="canonical"]');n&&n.remove()}let ff=null;function eR(){return ff||(ff=ot.SeoEntry.list().then(e=>ZN(e)).catch(()=>({...wc}))),ff}function tR(){const{pathname:e}=jt(),{isAuthenticated:n}=ga(),[a,i]=w.useState(wc);return w.useEffect(()=>{let o=!1;return eR().then(c=>{o||i(c)}),()=>{o=!0}},[]),w.useEffect(()=>{const o=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(/^\/blog\/.+/.test(o)||/^\/ai-platform(\/|$)/.test(o))return;if(/^\/sign-up(\/|$)/.test(o)){df("Create Your Account | Jasno");return}if(/^\/sign-in(\/|$)/.test(o)){df("Sign In | Jasno");return}const c=a[o];if(c&&!(n&&o==="/")){const m=c.canonical||`${Hf}${o==="/"?"/":o}`;wx({title:c.title,description:c.description,url:m})}else!c&&!n?df():wx({title:XN,description:QN,url:`${Hf}${o==="/"?"/":o}`})},[e,n,a]),null}const z1=w.createContext(null),Tr={loading:!0,team:null,plan:null,isTrial:!1,isExpired:!1,daysRemaining:null,trialEndsAt:null,restrictedSections:[],planName:null};function nR({children:e}){const{user:n}=ga(),[a,i]=w.useState(Tr),[o,c]=w.useState(0),f=w.useCallback(()=>c(y=>y+1),[]),m=Uh(n),p=n?.id||n?.email||null;w.useEffect(()=>{let y=!1;if(i(x=>({...x,loading:!0})),!n||!m){i({...Tr,loading:!1});return}return(async()=>{try{const b=(await ot.Team.filter({team_id:m},"-created_date",1).catch(()=>[]))[0]||null;if(!b){y||i({...Tr,loading:!1});return}let A=null;b.plan_id&&(A=await ot.Plan.get(b.plan_id).catch(()=>null)),!A&&b.plan_slug&&(A=(await ot.Plan.filter({slug:b.plan_slug},"-created_date",1).catch(()=>[]))[0]||null);const _=(A?.plan_type||"standard")==="trial",j=b.trial_ends_at?new Date(b.trial_ends_at):null,E=new Date,O=!!(_&&(!j||j<E)),N=j?Math.max(0,Math.round((j-E)/(1e3*60*60*24))):null,R=Array.isArray(A?.restricted_sections)?A.restricted_sections:[];y||i({loading:!1,team:b,plan:A,isTrial:_,isExpired:O,daysRemaining:N,trialEndsAt:j,restrictedSections:R,planName:A?.name||null})}catch{y||i({...Tr,loading:!1})}})(),()=>{y=!0}},[p,m,o]);const g=w.useMemo(()=>({...a,reload:f,isSectionRestricted:y=>a.isTrial&&a.restrictedSections.includes(y)}),[a,f]);return u.jsx(z1.Provider,{value:g,children:e})}function V1(){const e=w.useContext(z1);return e||{...Tr,loading:!1,isSectionRestricted:()=>!1,reload:()=>{}}}function Sx(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function B1(...e){return n=>{let a=!1;const i=e.map(o=>{const c=Sx(o,n);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let o=0;o<i.length;o++){const c=i[o];typeof c=="function"?c():Sx(e[o],null)}}}}function $3(...e){return w.useCallback(B1(...e),e)}var sR=Symbol.for("react.lazy"),Xl=eb[" use ".trim().toString()];function iR(e){return typeof e=="object"&&e!==null&&"then"in e}function I1(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===sR&&"_payload"in e&&iR(e._payload)}function aR(e){const n=oR(e),a=w.forwardRef((i,o)=>{let{children:c,...f}=i;I1(c)&&typeof Xl=="function"&&(c=Xl(c._payload));const m=w.Children.toArray(c),p=m.find(cR);if(p){const g=p.props.children,y=m.map(x=>x===p?w.Children.count(g)>1?w.Children.only(null):w.isValidElement(g)?g.props.children:null:x);return u.jsx(n,{...f,ref:o,children:w.isValidElement(g)?w.cloneElement(g,void 0,y):null})}return u.jsx(n,{...f,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}var rR=aR("Slot");function oR(e){const n=w.forwardRef((a,i)=>{let{children:o,...c}=a;if(I1(o)&&typeof Xl=="function"&&(o=Xl(o._payload)),w.isValidElement(o)){const f=dR(o),m=uR(c,o.props);return o.type!==w.Fragment&&(m.ref=i?B1(i,f):f),w.cloneElement(o,m)}return w.Children.count(o)>1?w.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var lR=Symbol("radix.slottable");function cR(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===lR}function uR(e,n){const a={...n};for(const i in n){const o=e[i],c=n[i];/^on[A-Z]/.test(i)?o&&c?a[i]=(...m)=>{const p=c(...m);return o(...m),p}:o&&(a[i]=o):i==="style"?a[i]={...o,...c}
26:i==="className"&&(a[i]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function dR(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}const fR=rb("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded 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/85 active:scale-[0.98] transition-transform",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 px-3 text-xs",lg:"h-10 rounded px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),H1=w.forwardRef(({className:e,variant:n,size:a,asChild:i=!1,...o},c)=>{const f=i?rR:"button";return u.jsx(f,{className:da(fR({variant:n,size:a,className:e})),ref:c,...o})});H1.displayName="Button";const Lh=[{key:"home",label:"Home (Overview)",group:"Home",path:"/"},{key:"ai_visibility",label:"AI Visibility",group:"Track",path:"/ai-visibility"},{key:"trends",label:"Trends",group:"Track",path:"/trends"},{key:"search_console",label:"Google Search Console",group:"Track",path:"/search-console"},{key:"llm_traffic",label:"LLM Traffic",group:"Track",path:"/llm-traffic"},{key:"competitors",label:"Competitors",group:"Analyse",path:"/competitors"},{key:"prompts",label:"Prompts & Topics",group:"Analyse",path:"/prompts"},{key:"discover_prompts",label:"Discover Prompts",group:"Analyse",path:"/discover"},{key:"ai_insights",label:"AI Insights",group:"Analyse",path:"/ai-insights"},{key:"brands",label:"Brands",group:"Analyse",path:"/brands"},{key:"reddit_citations",label:"Reddit Citations",group:"Analyse",path:"/reddit-citations"},{key:"recommendations",label:"The Content Hub",group:"Act",path:"/recommendations"},{key:"missed_opportunities",label:"Missed Opportunities",group:"Act",path:"/missed-opportunities"},{key:"content_gaps",label:"Content Gaps",group:"Act",path:"/content-gaps"},{key:"content_briefs",label:"Content Briefs",group:"Act",path:"/content-briefs"}];Lh.map(e=>e.key);function hR(e){return Lh.find(n=>n.key===e)?.label||e}function W3(){const e={};for(const n of Lh)e[n.group]||(e[n.group]=[]),e[n.group].push(n);return e}function Ft({sectionKey:e,children:n,className:a=""}){const{loading:i,isSectionRestricted:o,isExpired:c}=V1();if(i)return u.jsx("div",{className:"flex items-center justify-center py-24","aria-busy":"true",children:u.jsx(yh,{className:"w-6 h-6 animate-spin text-orange-500"})});if(!o(e))return n;const f=hR(e);return u.jsxs("div",{className:`relative ${a}`,children:[u.jsx("div",{"aria-hidden":"true",className:"pointer-events-none select-none filter blur-[6px] opacity-70",children:n}),u.jsx("div",{className:"absolute inset-0 z-10 flex items-start justify-center pt-24 px-4",children:u.jsxs("div",{className:"max-w-md w-full bg-white dark:bg-slate-800 border border-orange-200 dark:border-orange-900/40 rounded-2xl shadow-xl p-8 text-center",children:[u.jsx("div",{className:"w-14 h-14 mx-auto mb-4 rounded-full bg-orange-100 dark:bg-orange-900/30 flex items-center justify-center",children:u.jsx(xh,{className:"w-7 h-7 text-orange-600 dark:text-orange-400"})}),u.jsxs("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-2",children:[f," is locked on your trial"]}),u.jsx("p",{className:"text-sm text-gray-600 dark:text-slate-400 mb-6",children:c?"Your trial has ended. Upgrade to a paid plan to keep using this section.":"Upgrade to a paid plan to unlock this section and unlock the full Jasno experience."}),u.jsx(Dh,{to:"/billing",children:u.jsxs(H1,{className:"bg-orange-500 hover:bg-orange-600 text-white w-full",children:[u.jsx(hT,{className:"w-4 h-4 mr-2"}),"Upgrade to unlock"]})})]})})]})}const mR=["/billing","/master-admin","/pricing","/sign-in","/sign-out","/accept-invite","/contact"];function pR({children:e}){const{isTrial:n,isExpired:a,loading:i,team:o}=V1(),c=jt();return i||!o||!(!(o?.subscription_status==="active"||o?.subscription_status==="trialing")&&!(n&&!a))||mR.some(y=>c.pathname.startsWith(y))?e:u.jsx(Tn,{to:"/billing?trial=expired",replace:!0})}function gR(e,n){const[a,i]=w.useState(!0);return w.useEffect(()=>{let o=!1;if(!e?.email||!n){i(!0);return}if(e.role==="admin"){i(!0);return}const c=Uh(e);return(async()=>
26{if(c){const m=await ot.TeamMembership.filter({team_id:c,user_email:e.email},"-created_date",1).catch(()=>[]);if(o)return;if(m.length>0){i(!0);return}}const f=await ot.ProjectAccessRole.filter({project_id:n,user_email:e.email},"-created_date",1).catch(()=>[]);if(!o){if(f.length===0){i(!0);return}i(f[0].can_access_recommendations!==!1)}})(),()=>{o=!0}},[e?.email,e?.role,e?.current_team_id,e?.team_id,n]),a}function jx({children:e}){const{user:n}=ga(),[a,i]=w.useState(()=>localStorage.getItem("activeProjectId")),[o,c]=w.useState(!1);w.useEffect(()=>{i(localStorage.getItem("activeProjectId")),c(!0)},[]);const f=gR(n,a);return o?f?e:u.jsxs("div",{className:"p-12 max-w-xl mx-auto text-center space-y-3",children:[u.jsx("div",{className:"w-12 h-12 mx-auto bg-gray-100 rounded-full flex items-center justify-center",children:u.jsx(xh,{className:"w-5 h-5 text-gray-500"})}),u.jsx("h1",{className:"text-xl font-semibold text-gray-900",children:"Access restricted"}),u.jsx("p",{className:"text-sm text-gray-600",children:"You don't have access to Content & Recommendations for this project. Ask the project owner to enable it for you."})]}):u.jsx("div",{className:"flex items-center justify-center h-full p-12",children:u.jsx(yh,{className:"w-6 h-6 animate-spin text-orange-500"})})}function yR(e,n){const[a,i]=w.useState(!1);return w.useEffect(()=>{let o=!1;if(!e?.email||!n){i(!1);return}if(e.role==="admin"){i(!1);return}return(async()=>{const c=await ot.Project.filter({id:n},"-created_date",1).catch(()=>[]);if(o)return;const f=c[0]?.team_id;if(f){const p=await ot.TeamMembership.filter({team_id:f,user_email:e.email},"-created_date",1).catch(()=>[]);if(o)return;if(p.length>0){i(!1);return}}const m=await ot.ProjectAccessRole.filter({project_id:n,user_email:e.email},"-created_date",1).catch(()=>[]);o||i(m.length>0)})(),()=>{o=!0}},[e?.email,e?.role,n]),a}function _s({children:e}){const{user:n}=ga(),[a,i]=w.useState(()=>localStorage.getItem("activeProjectId")),[o,c]=w.useState(!1);w.useEffect(()=>{i(localStorage.getItem("activeProjectId")),c(!0)},[]);const f=yR(n,a);return o?f?u.jsxs("div",{className:"p-12 max-w-xl mx-auto text-center space-y-3",children:[u.jsx("div",{className:"w-12 h-12 mx-auto bg-gray-100 rounded-full flex items-center justify-center",children:u.jsx(xh,{className:"w-5 h-5 text-gray-500"})}),u.jsx("h1",{className:"text-xl font-semibold text-gray-900",children:"Viewer access"}),u.jsx("p",{className:"text-sm text-gray-600",children:"You're a viewer on this project, so you can't open settings, manage credits, or create projects from here. Ask the project owner if you need more access."})]}):e:u.jsx("div",{className:"flex items-center justify-center h-full p-12",children:u.jsx(yh,{className:"w-6 h-6 animate-spin text-orange-500"})})}const zh=w.createContext({});function Vh(e){const n=w.useRef(null);return n.current===null&&(n.current=e()),n.current}const xR=typeof window<"u",G1=xR?w.useLayoutEffect:w.useEffect,Sc=w.createContext(null);function Bh(e,n){e.indexOf(n)===-1&&e.push(n)}function Ql(e,n){const a=e.indexOf(n);a>-1&&e.splice(a,1)}const kn=(e,n,a)=>a>n?n:a<e?e:a;let Ih=()=>{};const Wn={},q1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function F1(e){return typeof e=="object"&&e!==null}const Y1=e=>/^0[^.\s]+$/u.test(e);function K1(e){let n;return()=>(n===void 0&&(n=e()),n)}const sn=e=>e,vR=(e,n)=>a=>n(e(a)),Qr=(...e)=>e.reduce(vR),Vr=(e,n,a)=>{const i=n-e;return i===0?1:(a-e)/i};class Hh{constructor(){this.subscriptions=[]}add(n){return Bh(this.subscriptions,n),()=>Ql(this.subscriptions,n)}notify(n,a,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](n,a,i);else for(let c=0;c<o;c++){const f=this.subscriptions[c];f&&f(n,a,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const yn=e=>e*1e3,nn=e=>e/1e3;function $1(e,n){return n?e*(1e3/n):0}const W1=(e,n,a)=>(((1-3*a+3*n)*e+(3*a-6*n))*e+3*n)*e,bR=1e-7,wR=12;function SR(e,n,a,i,o){let c,f,m=0;do f=n+(a-n)/2,c=W1(f,i,o)-e,c>0?a=f:n=f;while(Math.abs(c)>bR&&++m<wR);return f}function Zr(e,n,a,i){if(e===n&&a===i)return sn;const o=c=>SR(c,0,1,e,a);return c=>c===0||c===1?c:W1(o(c),n,i)}
vendor: 20,151 bytes, line 26
26const X1=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,Q1=e=>n=>1-e(1-n),Z1=Zr(.33,1.53,.69,.99),Gh=Q1(Z1),J1=X1(Gh),ew=e=>(e*=2)<1?.5*Gh(e):.5*(2-Math.pow(2,-10*(e-1))),qh=e=>1-Math.sin(Math.acos(e)),tw=Q1(qh),nw=X1(qh),jR=Zr(.42,0,1,1),_R=Zr(0,0,.58,1),sw=Zr(.42,0,.58,1),TR=e=>Array.isArray(e)&&typeof e[0]!="number",iw=e=>Array.isArray(e)&&typeof e[0]=="number",AR={linear:sn,easeIn:jR,easeInOut:sw,easeOut:_R,circIn:qh,circInOut:nw,circOut:tw,backIn:Gh,backInOut:J1,backOut:Z1,anticipate:ew},ER=e=>typeof e=="string",_x=e=>{if(iw(e)){Ih(e.length===4);const[n,a,i,o]=e;return Zr(n,a,i,o)}else if(ER(e))return AR[e];return e},_l=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function kR(e,n){let a=new Set,i=new Set,o=!1,c=!1;const f=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function p(y){f.has(y)&&(g.schedule(y),e()),y(m)}const g={schedule:(y,x=!1,b=!1)=>{const _=b&&o?a:i;return x&&f.add(y),_.has(y)||_.add(y),y},cancel:y=>{i.delete(y),f.delete(y)},process:y=>{if(m=y,o){c=!0;return}o=!0,[a,i]=[i,a],a.forEach(p),a.clear(),o=!1,c&&(c=!1,g.process(y))}};return g}const CR=40;function aw(e,n){let a=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,f=_l.reduce((R,H)=>(R[H]=kR(c),R),{}),{setup:m,read:p,resolveKeyframes:g,preUpdate:y,update:x,preRender:b,render:A,postRender:_}=f,j=()=>{const R=Wn.useManualTiming?o.timestamp:performance.now();a=!1,Wn.useManualTiming||(o.delta=i?1e3/60:Math.max(Math.min(R-o.timestamp,CR),1)),o.timestamp=R,o.isProcessing=!0,m.process(o),p.process(o),g.process(o),y.process(o),x.process(o),b.process(o),A.process(o),_.process(o),o.isProcessing=!1,a&&n&&(i=!1,e(j))},E=()=>{a=!0,i=!0,o.isProcessing||e(j)};return{schedule:_l.reduce((R,H)=>{const L=f[H];return R[H]=(X,Q=!1,I=!1)=>(a||E(),L.schedule(X,Q,I)),R},{}),cancel:R=>{for(let H=0;H<_l.length;H++)f[_l[H]].cancel(R)},state:o,steps:f}}const{schedule:He,cancel:Cs,state:xt,steps:hf}=aw(typeof requestAnimationFrame<"u"?requestAnimationFrame:sn,!0);let Ll;function NR(){Ll=void 0}const kt={now:()=>(Ll===void 0&&kt.set(xt.isProcessing||Wn.useManualTiming?xt.timestamp:performance.now()),Ll),set:e=>{Ll=e,queueMicrotask(NR)}},rw=e=>n=>typeof n=="string"&&n.startsWith(e),ow=rw("--"),RR=rw("var(--"),Fh=e=>RR(e)?MR.test(e.split("/*")[0].trim()):!1,MR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Tx(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ya={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Br={...ya,transform:e=>kn(0,1,e)},Tl={...ya,default:1},Nr=e=>Math.round(e*1e5)/1e5,Yh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function OR(e){return e==null}const PR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Kh=(e,n)=>a=>!!(typeof a=="string"&&PR.test(a)&&a.startsWith(e)||n&&!OR(a)&&Object.prototype.hasOwnProperty.call(a,n)),lw=(e,n,a)=>i=>{if(typeof i!="string")return i;const[o,c,f,m]=i.match(Yh);return{[e]:parseFloat(o),[n]:parseFloat(c),[a]:parseFloat(f),alpha:m!==void 0?parseFloat(m):1}},DR=e=>kn(0,255,e),mf={...ya,transform:e=>Math.round(DR(e))},ii={test:Kh("rgb","red"),parse:lw("red","green","blue"),transform:({red:e,green:n,blue:a,alpha:i=1})=>"rgba("+mf.transform(e)+", "+mf.transform(n)+", "+mf.transform(a)+", "+Nr(Br.transform(i))+")"};function UR(e){let n="",a="",i="",o="";return e.length>5?(n=e.substring(1,3),a=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(n=e.substring(1,2),a=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),n+=n,a+=a,i+=i,o+=o),{red:parseInt(n,16),green:parseInt(a,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const Gf={test:Kh("#"),parse:UR,transform:ii.transform},Jr=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),As=Jr("deg"),En=Jr("%"),re=Jr("px"),LR=Jr("vh"),zR=Jr("vw"),Ax={...En,parse:e=>En.parse(e)/100,transform:e=>En.transform(e*100)},ea={test:Kh("hsl","hue"),parse:lw("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:a,alpha:i=1})=>"hsla("+Math.round(e)+", "+En.transform(Nr(n))+", "+En.transform(Nr(a))+", "+Nr(Br.transform(i))+")"},tt={test:e=>ii.test(e)||Gf.test(e)||ea.test(e),parse:e=>ii.test(e)?ii.parse(e):ea.test(e)?ea.parse(e):Gf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ii.transform(e):ea.transform(e),getAnimatableNone:e=>{const n=tt.parse(e);return n.alpha=0,tt.transform(n)}},VR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function BR(e){return isNaN(e)&&typeof e=="string"&&(e.match(Yh)?.length||0)+(e.match(VR)?.length||0)>0}const cw="number",uw="color",IR="var",HR="var(",Ex="${}",GR=/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 Ir(e){const n=e.toString(),a=[],i={color:[],number:[],var:[]},o=[];let c=0;const m=n.replace(GR,p=>(tt.test(p)?(i.color.push(c),o.push(uw),a.push(tt.parse(p))):p.startsWith(HR)?(i.var.push(c),o.push(IR),a.push(p)):(i.number.push(c),o.push(cw),a.push(parseFloat(p))),++c,Ex)).split(Ex);return{values:a,split:m,indexes:i,types:o}}function dw(e){return Ir(e).values}function fw(e){const{split:n,types:a}=Ir(e),i=n.length;return o=>{let c="";for(let f=0;f<i;f++)if(c+=n[f],o[f]!==void 0){const m=a[f];m===cw?c+=Nr(o[f]):m===uw?c+=tt.transform(o[f]):c+=o[f]}return c}}const qR=e=>typeof e=="number"?0:tt.test(e)?tt.getAnimatableNone(e):e;function FR(e){const n=dw(e);return fw(e)(n.map(qR))}const xn={test:BR,parse:dw,createTransformer:fw,getAnimatableNone:FR};function pf(e,n,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(n-e)*6*a:a<1/2?n:a<2/3?e+(n-e)*(2/3-a)*6:e}function YR({hue:e,saturation:n,lightness:a,alpha:i}){e/=360,n/=100,a/=100;let o=0,c=0,f=0;if(!n)o=c=f=a;else{const m=a<.5?a*(1+n):a+n-a*n,p=2*a-m;o=pf(p,m,e+1/3),c=pf(p,m,e),f=pf(p,m,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(f*255),alpha:i}}function Zl(e,n){return a=>a>0?n:e}const Ye=(e,n,a)=>e+(n-e)*a,gf=(e,n,a)=>{const i=e*e,o=a*(n*n-i)+i;return o<0?0:Math.sqrt(o)},KR=[Gf,ii,ea],$R=e=>KR.find(n=>n.test(e));function kx(e){const n=$R(e);if(!n)return!1;let a=n.parse(e);return n===ea&&(a=YR(a)),a}const Cx=(e,n)=>{const a=kx(e),i=kx(n);if(!a||!i)return Zl(e,n);const o={...a};return c=>(o.red=gf(a.red,i.red,c),o.green=gf(a.green,i.green,c),o.blue=gf(a.blue,i.blue,c),o.alpha=Ye(a.alpha,i.alpha,c),ii.transform(o))},qf=new Set(["none","hidden"]);function WR(e,n){return qf.has(e)?a=>a<=0?e:n:a=>a>=1?n:e}function XR(e,n){return a=>Ye(e,n,a)}function $h(e){return typeof e=="number"?XR:typeof e=="string"?Fh(e)?Zl:tt.test(e)?Cx:JR:Array.isArray(e)?hw:typeof e=="object"?tt.test(e)?Cx:QR:Zl}function hw(e,n){const a=[...e],i=a.length,o=e.map((c,f)=>$h(c)(c,n[f]));return c=>{for(let f=0;f<i;f++)a[f]=o[f](c);return a}}function QR(e,n){const a={...e,...n},i={};for(const o in a)e[o]!==void 0&&n[o]!==void 0&&(i[o]=$h(e[o])(e[o],n[o]));return o=>{for(const c in i)a[c]=i[c](o);return a}}function ZR(e,n){const a=[],i={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){const c=n.types[o],f=e.indexes[c][i[c]],m=e.values[f]??0;a[o]=m,i[c]++}return a}const JR=(e,n)=>{const a=xn.createTransformer(n),i=Ir(e),o=Ir(n);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?qf.has(e)&&!o.values.length||qf.has(n)&&!i.values.length?WR(e,n):Qr(hw(ZR(i,o),o.values),a):Zl(e,n)};function mw(e,n,a){return typeof e=="number"&&typeof n=="number"&&typeof a=="number"?Ye(e,n,a):$h(e)(e,n)}const eM=e=>{const n=({timestamp:a})=>e(a);return{start:(a=!0)=>He.update(n,a),stop:()=>Cs(n),now:()=>xt.isProcessing?xt.timestamp:kt.now()}},pw=(e,n,a=10)=>{let i="";const o=Math.max(Math.round(n/a),2);for(let c=0;c<o;c++)i+=Math.round(e(c/(o-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},Jl=2e4;function Wh(e){let n=0;const a=50;let i=e.next(n);for(;!i.done&&n<Jl;)n+=a,i=e.next(n);return n>=Jl?1/0:n}function tM(e,n=100,a){const i=a({...e,keyframes:[0,n]}),o=Math.min(Wh(i),Jl);return{type:"keyframes",ease:c=>i.next(o*c).value/n,duration:nn(o)}}const nM=5;function gw(e,n,a){const i=Math.max(n-nM,0);return $1(a-e(i),n-i)}const We={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},yf=.001;function sM({duration:e=We.duration,bounce:n=We.bounce,velocity:a=We.velocity,mass:i=We.mass}){let o,c,f=1-n;f=kn(We.minDamping,We.maxDamping,f),e=kn(We.minDuration,We.maxDuration,nn(e)),f<1?(o=g=>{const y=g*f,x=y*e,b=y-a,A=Ff(g,f),_=Math.exp(-x);return yf-b/A*_},c=g=>{const x=g*f*e,b=x*a+a,A=Math.pow(f,2)*Math.pow(g,2)*e,_=Math.exp(-x),j=Ff(Math.pow(g,2),f);return(-o(g)+yf>0?-1:1)*((b-A)*_)/j}):(o=g=>{const y=Math.exp(-g*e),x=(g-a)*e+1;return-yf+y*x},c=g=>{const y=Math.exp(-g*e),x=(a-g)*(e*e);return y*x});const m=5/e,p=aM(o,c,m);if(e=yn(e),isNaN(p))return{stiffness:We.stiffness,damping:We.damping,duration:e};{const g=Math.pow(p,2)*i;return{stiffness:g,damping:f*2*Math.sqrt(i*g),duration:e}}}const iM=12;function aM(e,n,a){let i=a;for(let o=1;o<iM;o++)i=i-e(i)/n(i);return i}function Ff(e,n){return e*Math.sqrt(1-n*n)}const rM=["duration","bounce"],oM=["stiffness","damping","mass"];function Nx(e,n){return n.some(a=>e[a]!==void 0)}function lM(e){let n={velocity:We.velocity,stiffness:We.stiffness,damping:We.damping,mass:We.mass,isResolvedFromDuration:!1,...e};if(!Nx(e,oM)&&Nx(e,rM))if(n.velocity=0,e.visualDuration){const a=e.visualDuration,i=2*Math.PI/(a*1.2),o=i*i,c=2*kn(.05,1,1-(e.bounce||0))*Math.sqrt(o);n={...n,mass:We.mass,stiffness:o,damping:c}}else{const a=sM({...e,velocity:0});n={...n,...a,mass:We.mass},n.isResolvedFromDuration=!0}return n}function ec(e=We.visualDuration,n=We.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:i,restDelta:o}=a;const c=a.keyframes[0],f=a.keyframes[a.keyframes.length-1],m={done:!1,value:c},{stiffness:p,damping:g,mass:y,duration:x,velocity:b,isResolvedFromDuration:A}=lM({...a,velocity:-nn(a.velocity||0)}),_=b||0,j=g/(2*Math.sqrt(p*y)),E=f-c,O=nn(Math.sqrt(p/y)),N=Math.abs(E)<5;i||(i=N?We.restSpeed.granular:We.restSpeed.default),o||(o=N?We.restDelta.granular:We.restDelta.default);let R;if(j<1){const L=Ff(O,j);R=X=>{const Q=Math.exp(-j*O*X);return f-Q*((_+j*O*E)/L*Math.sin(L*X)+E*Math.cos(L*X))}}else if(j===1)R=L=>f-Math.exp(-O*L)*(E+(_+O*E)*L);else{const L=O*Math.sqrt(j*j-1);R=X=>{const Q=Math.exp(-j*O*X),I=Math.min(L*X,300);return f-Q*((_+j*O*E)*Math.sinh(I)+L*E*Math.cosh(I))/L}}const H={calculatedDuration:A&&x||null,next:L=>{const X=R(L);if(A)m.done=L>=x;else{let Q=L===0?_:0;j<1&&(Q=L===0?yn(_):gw(R,L,X));const I=Math.abs(Q)<=i,q=Math.abs(f-X)<=o;m.done=I&&q}return m.value=m.done?f:X,m},toString:()=>{const L=Math.min(Wh(H),Jl),X=pw(Q=>H.next(L*Q).value,L,30);return L+"ms "+X},toTransition:()=>{}};return H}ec.applyToOptions=e=>{const n=tM(e,100,ec);return e.ease=n.ease,e.duration=yn(n.duration),e.type="keyframes",e};function Yf({keyframes:e,velocity:n=0,power:a=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:f,min:m,max:p,restDelta:g=.5,restSpeed:y}){const x=e[0],b={done:!1,value:x},A=I=>m!==void 0&&I<m||p!==void 0&&I>p,_=I=>m===void 0?p:p===void 0||Math.abs(m-I)<Math.abs(p-I)?m:p;let j=a*n;const E=x+j,O=f===void 0?E:f(E);O!==E&&(j=O-x);const N=I=>-j*Math.exp(-I/i),R=I=>O+N(I),H=I=>{const q=N(I),ue=R(I);b.done=Math.abs(q)<=g,b.value=b.done?O:ue};let L,X;const Q=I=>{A(b.value)&&(L=I,X=ec({keyframes:[b.value,_(b.value)],velocity:gw(R,I,b.value),damping:o,stiffness:c,restDelta:g,restSpeed:y}))};return Q(0),{calculatedDuration:null,next:I=>{let q=!1;return!X&&L===void 0&&(q=!0,H(I),Q(I)),L!==void 0&&I>=L?X.next(I-L):(!q&&H(I),b)}}}function cM(e,n,a){const i=[],o=a||Wn.mix||mw,c=e.length-1;for(let f=0;f<c;f++){let m=o(e[f],e[f+1]);if(n){const p=Array.isArray(n)?n[f]||sn:n;m=Qr(p,m)}i.push(m)}return i}function uM(e,n,{clamp:a=!0,ease:i,mixer:o}={}){const c=e.length;if(Ih(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const f=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),n=[...n].reverse());const m=cM(n,i,o),p=m.length,g=y=>{if(f&&y<e[0])return n[0];let x=0;if(p>1)for(;x<e.length-2&&!(y<e[x+1]);x++);const b=Vr(e[x],e[x+1],y);return m[x](b)};return a?y=>g(kn(e[0],e[c-1],y)):g}function dM(e,n){const a=e[e.length-1];for(let i=1;i<=n;i++){const o=Vr(0,n,i);e.push(Ye(a,1,o))}}function fM(e){const n=[0];return dM(n,e.length-1),n}function hM(e,n){return e.map(a=>a*n)}function mM(e,n){return e.map(()=>n||sw).splice(0,e.length-1)}function Rr({duration:e=300,keyframes:n,times:a,ease:i="easeInOut"}){const o=TR(i)?i.map(_x):_x(i),c={done:!1,value:n[0]},f=hM(a&&a.length===n.length?a:fM(n),e),m=uM(f,n,{ease:Array.isArray(o)?o:mM(n,o)});return{calculatedDuration:e,next:p=>(c.value=m(p),c.done=p>=e,c)}}const pM=e=>e!==null;function Xh(e,{repeat:n,repeatType:a="loop"},i,o=1){const c=e.filter(pM),m=o<0||n&&a!=="loop"&&n%2===1?0:c.length-1;return!m||i===void 0?c[m]:i}const gM={decay:Yf,inertia:Yf,tween:Rr,keyframes:Rr,spring:ec};function yw(e){typeof e.type=="string"&&(e.type=gM[e.type])}class Qh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,a){return this.finished.then(n,a)}}const yM=e=>e/100;class Zh extends Qh{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==kt.now()&&this.tick(kt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;yw(n);const{type:a=Rr,repeat:i=0,repeatDelay:o=0,repeatType:c,velocity:f=0}=n;let{keyframes:m}=n;const p=a||Rr;p!==Rr&&typeof m[0]!="number"&&(this.mixKeyframes=Qr(yM,mw(m[0],m[1])),m=[0,100]);const g=p({...n,keyframes:m});c==="mirror"&&(this.mirroredGenerator=p({...n,keyframes:[...m].reverse(),velocity:-f})),g.calculatedDuration===null&&(g.calculatedDuration=Wh(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+o,this.totalDuration=this.resolvedDuration*(i+1)-o,this.generator=g}updateTime(n){const a=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(n,a=!1){const{generator:i,totalDuration:o,mixKeyframes:c,mirroredGenerator:f,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return i.next(0);const{delay:g=0,keyframes:y,repeat:x,repeatType:b,repeatDelay:A,type:_,onUpdate:j,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-o/this.speed,this.startTime)),a?this.currentTime=n:this.updateTime(n);const O=this.currentTime-g*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?O<0:O>o;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let R=this.currentTime,H=i;if(x){const I=Math.min(this.currentTime,o)/m;let q=Math.floor(I),ue=I%1;!ue&&I>=1&&(ue=1),ue===1&&q--,q=Math.min(q,x+1),q%2&&(b==="reverse"?(ue=1-ue,A&&(ue-=A/m)):b==="mirror"&&(H=f)),R=kn(0,1,ue)*m}const L=N?{done:!1,value:y[0]}:H.next(R);c&&!N&&(L.value=c(L.value));let{done:X}=L;!N&&p!==null&&(X=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const Q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&X);return Q&&_!==Yf&&(L.value=Xh(y,this.options,E,this.speed)),j&&j(L.value),Q&&this.finish(),L}then(n,a){return this.finished.then(n,a)}get duration(){return nn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+nn(n)}get time(){return nn(this.currentTime)}set time(n){n=yn(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}get speed(){return this.playbackSpeed}set speed(n){const a=this.playbackSpeed!==n;a&&this.driver&&this.updateTime(kt.now()),this.playbackSpeed=n,a&&this.driver&&(this.time=nn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=eM,startTime:a}=this.options;this.driver||(this.driver=n(o=>this.tick(o))),this.options.onPlay?.();const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=a??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(kt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function xM(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}const ai=e=>e*180/Math.PI,Kf=e=>{const n=ai(Math.atan2(e[1],e[0]));return $f(n)},vM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Kf,rotateZ:Kf,skewX:e=>ai(Math.atan(e[1])),skewY:e=>ai(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},$f=e=>(e=e%360,e<0&&(e+=360),e),Rx=Kf,Mx=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ox=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),bM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Mx,scaleY:Ox,scale:e=>(Mx(e)+Ox(e))/2,rotateX:e=>$f(ai(Math.atan2(e[6],e[5]))),rotateY:e=>$f(ai(Math.atan2(-e[2],e[0]))),rotateZ:Rx,rotate:Rx,skewX:e=>ai(Math.atan(e[4])),skewY:e=>ai(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Wf(e){return e.includes("scale")?1:0}function Xf(e,n){if(!e||e==="none")return Wf(n);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,o;if(a)i=bM,o=a;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=vM,o=m}if(!o)return Wf(n);const c=i[n],f=o[1].split(",").map(SM);return typeof c=="function"?c(f):f[c]}const wM=(e,n)=>{const{transform:a="none"}=getComputedStyle(e);return Xf(a,n)};function SM(e){return parseFloat(e.trim())}const xa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],va=new Set(xa),Px=e=>e===ya||e===re,jM=new Set(["x","y","z"]),_M=xa.filter(e=>!jM.has(e));function TM(e){const n=[];return _M.forEach(a=>{const i=e.getValue(a);i!==void 0&&(n.push([a,i.get()]),i.set(a.startsWith("scale")?1:0))}),n}const ks={width:({x:e},{paddingLeft:n="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(n)-parseFloat(a),height:({y:e},{paddingTop:n="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(n)-parseFloat(a),top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>Xf(n,"x"),y:(e,{transform:n})=>Xf(n,"y")};ks.translateX=ks.x;ks.translateY=ks.y;const oi=new Set;let Qf=!1,Zf=!1,Jf=!1;function xw(){if(Zf){const e=Array.from(oi).filter(i=>i.needsMeasurement),n=new Set(e.map(i=>i.element)),a=new Map;
vendor: 5,964 bytes, line 26
26n.forEach(i=>{const o=TM(i);o.length&&(a.set(i,o),i.render())}),e.forEach(i=>i.measureInitialState()),n.forEach(i=>{i.render();const o=a.get(i);o&&o.forEach(([c,f])=>{i.getValue(c)?.set(f)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Zf=!1,Qf=!1,oi.forEach(e=>e.complete(Jf)),oi.clear()}function vw(){oi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zf=!0)})}function AM(){Jf=!0,vw(),xw(),Jf=!1}class Jh{constructor(n,a,i,o,c,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=a,this.name=i,this.motionValue=o,this.element=c,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(oi.add(this),Qf||(Qf=!0,He.read(vw),He.resolveKeyframes(xw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:a,element:i,motionValue:o}=this;if(n[0]===null){const c=o?.get(),f=n[n.length-1];if(c!==void 0)n[0]=c;else if(i&&a){const m=i.readValue(a,f);m!=null&&(n[0]=m)}n[0]===void 0&&(n[0]=f),o&&c===void 0&&o.set(n[0])}xM(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),oi.delete(this)}cancel(){this.state==="scheduled"&&(oi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const EM=e=>e.startsWith("--");function bw(e,n,a){EM(n)?e.style.setProperty(n,a):e.style[n]=a}const kM={};function ww(e,n){const a=K1(e);return()=>kM[n]??a()}const CM=ww(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Sw=ww(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ar=([e,n,a,i])=>`cubic-bezier(${e}, ${n}, ${a}, ${i})`,Dx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ar([0,.65,.55,1]),circOut:Ar([.55,0,1,.45]),backIn:Ar([.31,.01,.66,-.59]),backOut:Ar([.33,1.53,.69,.99])};function jw(e,n){if(e)return typeof e=="function"?Sw()?pw(e,n):"ease-out":iw(e)?Ar(e):Array.isArray(e)?e.map(a=>jw(a,n)||Dx.easeOut):Dx[e]}function NM(e,n,a,{delay:i=0,duration:o=300,repeat:c=0,repeatType:f="loop",ease:m="easeOut",times:p}={},g=void 0){const y={[n]:a};p&&(y.offset=p);const x=jw(m,o);Array.isArray(x)&&(y.easing=x);const b={delay:i,duration:o,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:c+1,direction:f==="reverse"?"alternate":"normal"};return g&&(b.pseudoElement=g),e.animate(y,b)}function _w(e){return typeof e=="function"&&"applyToOptions"in e}function RM({type:e,...n}){return _w(e)&&Sw()?e.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class Tw extends Qh{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:a,name:i,keyframes:o,pseudoElement:c,allowFlatten:f=!1,finalKeyframe:m,onComplete:p}=n;this.isPseudoElement=!!c,this.allowFlatten=f,this.options=n,Ih(typeof n.type!="string");const g=RM(n);this.animation=NM(a,i,o,g,c),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const y=Xh(o,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(y),bw(a,i,y),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const n=this.options?.element;!this.isPseudoElement&&n?.isConnected&&this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return nn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+nn(n)}get time(){return nn(Number(this.animation.currentTime)||0)}set time(n){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=yn(n),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:a,rangeEnd:i,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&CM()?(this.animation.timeline=n,a&&(this.animation.rangeStart=a),i&&(this.animation.rangeEnd=i),sn):o(this)}}const Aw={anticipate:ew,backInOut:J1,circInOut:nw};function MM(e){return e in Aw}function OM(e){typeof e.ease=="string"&&MM(e.ease)&&(e.ease=Aw[e.ease])}const xf=10;class PM extends Tw{constructor(n){OM(n),yw(n),super(n),n.startTime!==void 0&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:a,onUpdate:i,onComplete:o,element:c,...f}=this.options;if(!a)return;if(n!==void 0){a.set(n);return}const m=new Zh({...f,autoplay:!1}),p=Math.max(xf,kt.now()-this.startTime),g=kn(0,xf,p-xf),y=m.sample(p).value,{name:x}=this.options;c&&x&&bw(c,x,y),a.setWithVelocity(m.sample(Math.max(0,p-g)).value,y,g),m.stop()}}const Ux=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(xn.test(e)||e==="0")&&!e.startsWith("url("));function DM(e){const n=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==n)return!0}function UM(e,n,a,i){const o=e[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const c=e[e.length-1],f=Ux(o,n),m=Ux(c,n);
vendor: 4,842 bytes, line 26
26return!f||!m?!1:DM(e)||(a==="spring"||_w(a))&&i}function eh(e){e.duration=0,e.type="keyframes"}const LM=new Set(["opacity","clipPath","filter","transform"]),zM=K1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function VM(e){const{motionValue:n,name:a,repeatDelay:i,repeatType:o,damping:c,type:f}=e;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return zM()&&a&&LM.has(a)&&(a!=="transform"||!g)&&!p&&!i&&o!=="mirror"&&c!==0&&f!=="inertia"}const BM=40;class IM extends Qh{constructor({autoplay:n=!0,delay:a=0,type:i="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:f="loop",keyframes:m,name:p,motionValue:g,element:y,...x}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=kt.now();const b={autoplay:n,delay:a,type:i,repeat:o,repeatDelay:c,repeatType:f,name:p,motionValue:g,element:y,...x},A=y?.KeyframeResolver||Jh;this.keyframeResolver=new A(m,(_,j,E)=>this.onKeyframesResolved(_,j,b,!E),p,g,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,a,i,o){this.keyframeResolver=void 0;const{name:c,type:f,velocity:m,delay:p,isHandoff:g,onUpdate:y}=i;this.resolvedAt=kt.now(),UM(n,c,f,m)||((Wn.instantAnimations||!p)&&y?.(Xh(n,i,a)),n[0]=n[n.length-1],eh(i),i.repeat=0);const b={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>BM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...i,keyframes:n},A=!g&&VM(b),_=b.motionValue?.owner?.current,j=A?new PM({...b,element:_}):new Zh(b);j.finished.then(()=>{this.notifyFinished()}).catch(sn),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(n,a){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),AM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Ew(e,n,a,i=0,o=1){const c=Array.from(e).sort((g,y)=>g.sortNodePosition(y)).indexOf(n),f=e.size,m=(f-1)*i;return typeof a=="function"?a(c,f):o===1?c*i:m-c*i}const HM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function GM(e){const n=HM.exec(e);if(!n)return[,];const[,a,i,o]=n;return[`--${a??i}`,o]}function kw(e,n,a=1){const[i,o]=GM(e);if(!i)return;const c=window.getComputedStyle(n).getPropertyValue(i);if(c){const f=c.trim();return q1(f)?parseFloat(f):f}return Fh(o)?kw(o,n,a+1):o}const qM={type:"spring",stiffness:500,damping:25,restSpeed:10},FM=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YM={type:"keyframes",duration:.8},KM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$M=(e,{keyframes:n})=>n.length>2?YM:va.has(e)?e.startsWith("scale")?FM(n[1]):qM:KM,WM=e=>e!==null;function XM(e,{repeat:n,repeatType:a="loop"},i){const o=e.filter(WM),c=n&&a!=="loop"&&n%2===1?0:o.length-1;return o[c]}function Cw(e,n){if(e?.inherit&&n){const{inherit:a,...i}=e;return{...n,...i}}return e}function em(e,n){const a=e?.[n]??e?.default??e;return a!==e?Cw(a,e):a}function QM({when:e,delay:n,delayChildren:a,staggerChildren:i,staggerDirection:o,repeat:c,repeatType:f,repeatDelay:m,from:p,elapsed:g,...y}){return!!Object.keys(y).length}const tm=(e,n,a,i={},o,c)=>f=>{const m=em(i,e)||{},p=m.delay||i.delay||0;let{elapsed:g=0}=i;g=g-yn(p);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:n.getVelocity(),...m,delay:-g,onUpdate:b=>{n.set(b),m.onUpdate&&m.onUpdate(b)},onComplete:()=>{f(),m.onComplete&&m.onComplete()},name:e,motionValue:n,element:c?void 0:o};QM(m)||Object.assign(y,$M(e,y)),y.duration&&(y.duration=yn(y.duration)),y.repeatDelay&&(y.repeatDelay=yn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(eh(y),y.delay===0&&(x=!0)),(Wn.instantAnimations||Wn.skipAnimations||o?.shouldSkipAnimations)&&(x=!0,eh(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,x&&!c&&n.get()!==void 0){const b=XM(y.keyframes,m);if(b!==void 0){He.update(()=>{y.onUpdate(b),y.onComplete()});return}}return m.isSync?new Zh(y):new IM(y)};function Lx(e){const n=[{},{}];
vendor: 20,384 bytes, line 26
26return e?.values.forEach((a,i)=>{n[0][i]=a.get(),n[1][i]=a.getVelocity()}),n}function nm(e,n,a,i){if(typeof n=="function"){const[o,c]=Lx(i);n=n(a!==void 0?a:e.custom,o,c)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[o,c]=Lx(i);n=n(a!==void 0?a:e.custom,o,c)}return n}function aa(e,n,a){const i=e.getProps();return nm(i,n,a!==void 0?a:i.custom,e)}const Nw=new Set(["width","height","top","left","right","bottom",...xa]),zx=30,ZM=e=>!isNaN(parseFloat(e));class JM{constructor(n,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{const o=kt.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=a.owner}setCurrent(n){this.current=n,this.updatedAt=kt.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=ZM(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,a){this.events[n]||(this.events[n]=new Hh);const i=this.events[n].add(a);return n==="change"?()=>{i(),He.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,a){this.passiveEffect=n,this.stopPassiveEffect=a}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,a,i){this.set(a),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-i}jump(n,a=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=kt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>zx)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,zx);return $1(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(n){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=n(a),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function oa(e,n){return new JM(e,n)}const th=e=>Array.isArray(e);function eO(e,n,a){e.hasValue(n)?e.getValue(n).set(a):e.addValue(n,oa(a))}function tO(e){return th(e)?e[e.length-1]||0:e}function nO(e,n){const a=aa(e,n);let{transitionEnd:i={},transition:o={},...c}=a||{};c={...c,...i};for(const f in c){const m=tO(c[f]);eO(e,f,m)}}const St=e=>!!(e&&e.getVelocity);function sO(e){return!!(St(e)&&e.add)}function nh(e,n){const a=e.getValue("willChange");if(sO(a))return a.add(n);if(!a&&Wn.WillChange){const i=new Wn.WillChange("auto");e.addValue("willChange",i),i.add(n)}}function sm(e){return e.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const iO="framerAppearId",Rw="data-"+sm(iO);function Mw(e){return e.props[Rw]}function aO({protectedKeys:e,needsAnimating:n},a){const i=e.hasOwnProperty(a)&&n[a]!==!0;return n[a]=!1,i}function Ow(e,n,{delay:a=0,transitionOverride:i,type:o}={}){let{transition:c,transitionEnd:f,...m}=n;const p=e.getDefaultTransition();c=c?Cw(c,p):p;const g=c?.reduceMotion;i&&(c=i);const y=[],x=o&&e.animationState&&e.animationState.getState()[o];for(const b in m){const A=e.getValue(b,e.latestValues[b]??null),_=m[b];if(_===void 0||x&&aO(x,b))continue;const j={delay:a,...em(c||{},b)},E=A.get();if(E!==void 0&&!A.isAnimating&&!Array.isArray(_)&&_===E&&!j.velocity)continue;let O=!1;if(window.MotionHandoffAnimation){const H=Mw(e);if(H){const L=window.MotionHandoffAnimation(H,b,He);L!==null&&(j.startTime=L,O=!0)}}nh(e,b);const N=g??e.shouldReduceMotion;A.start(tm(b,A,_,N&&Nw.has(b)?{type:!1}:j,e,O));const R=A.animation;R&&y.push(R)}if(f){const b=()=>He.update(()=>{f&&nO(e,f)});y.length?Promise.all(y).then(b):b()}return y}function sh(e,n,a={}){const i=aa(e,n,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};a.transitionOverride&&(o=a.transitionOverride);const c=i?()=>Promise.all(Ow(e,i,a)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:x}=o;return rO(e,n,p,g,y,x,a)}:()=>Promise.resolve(),{when:m}=o;if(m){const[p,g]=m==="beforeChildren"?[c,f]:[f,c];return p().then(()=>g())}else return Promise.all([c(),f(a.delay)])}function rO(e,n,a=0,i=0,o=0,c=1,f){const m=[];for(const p of e.variantChildren)p.notify("AnimationStart",n),m.push(sh(p,n,{...f,delay:a+(typeof i=="function"?0:i)+Ew(e.variantChildren,p,i,o,c)}).then(()=>p.notify("AnimationComplete",n)));return Promise.all(m)}function oO(e,n,a={}){e.notify("AnimationStart",n);let i;if(Array.isArray(n)){const o=n.map(c=>sh(e,c,a));i=Promise.all(o)}else if(typeof n=="string")i=sh(e,n,a);else{const o=typeof n=="function"?aa(e,n,a.custom):n;i=Promise.all(Ow(e,o,a))}return i.then(()=>{e.notify("AnimationComplete",n)})}const lO={test:e=>e==="auto",parse:e=>e},Pw=e=>n=>n.test(e),Dw=[ya,re,En,As,zR,LR,lO],Vx=e=>Dw.find(Pw(e));function cO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Y1(e):!0}const uO=new Set(["brightness","contrast","saturate","opacity"]);function dO(e){const[n,a]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[i]=a.match(Yh)||[];if(!i)return e;const o=a.replace(i,"");let c=uO.has(n)?1:0;return i!==a&&(c*=100),n+"("+c+o+")"}const fO=/\b([a-z-]*)\(.*?\)/gu,ih={...xn,getAnimatableNone:e=>{const n=e.match(fO);return n?n.map(dO).join(" "):e}},ah={...xn,getAnimatableNone:e=>{const n=xn.parse(e);return xn.createTransformer(e)(n.map(i=>typeof i=="number"?0:typeof i=="object"?{...i,alpha:1}:i))}},Bx={...ya,transform:Math.round},hO={rotate:As,rotateX:As,rotateY:As,rotateZ:As,scale:Tl,scaleX:Tl,scaleY:Tl,scaleZ:Tl,skew:As,skewX:As,skewY:As,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:Br,originX:Ax,originY:Ax,originZ:re},im={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,top:re,right:re,bottom:re,left:re,inset:re,insetBlock:re,insetBlockStart:re,insetBlockEnd:re,insetInline:re,insetInlineStart:re,insetInlineEnd:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,paddingBlock:re,paddingBlockStart:re,paddingBlockEnd:re,paddingInline:re,paddingInlineStart:re,paddingInlineEnd:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,marginBlock:re,marginBlockStart:re,marginBlockEnd:re,marginInline:re,marginInlineStart:re,marginInlineEnd:re,fontSize:re,backgroundPositionX:re,backgroundPositionY:re,...hO,zIndex:Bx,fillOpacity:Br,strokeOpacity:Br,numOctaves:Bx},mO={...im,color:tt,backgroundColor:tt,outlineColor:tt,fill:tt,stroke:tt,borderColor:tt,borderTopColor:tt,borderRightColor:tt,borderBottomColor:tt,borderLeftColor:tt,filter:ih,WebkitFilter:ih,mask:ah,WebkitMask:ah},Uw=e=>mO[e],pO=new Set([ih,ah]);function Lw(e,n){let a=Uw(e);return pO.has(a)||(a=xn),a.getAnimatableNone?a.getAnimatableNone(n):void 0}const gO=new Set(["auto","none","0"]);function yO(e,n,a){let i=0,o;for(;i<e.length&&!o;){const c=e[i];typeof c=="string"&&!gO.has(c)&&Ir(c).values.length&&(o=e[i]),i++}if(o&&a)for(const c of n)e[c]=Lw(a,o)}class xO extends Jh{constructor(n,a,i,o,c){super(n,a,i,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:a,name:i}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<n.length;y++){let x=n[y];if(typeof x=="string"&&(x=x.trim(),Fh(x))){const b=kw(x,a.current);b!==void 0&&(n[y]=b),y===n.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!Nw.has(i)||n.length!==2)return;const[o,c]=n,f=Vx(o),m=Vx(c),p=Tx(o),g=Tx(c);if(p!==g&&ks[i]){this.needsMeasurement=!0;return}if(f!==m)if(Px(f)&&Px(m))for(let y=0;y<n.length;y++){const x=n[y];typeof x=="string"&&(n[y]=parseFloat(x))}else ks[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:a}=this,i=[];for(let o=0;o<n.length;o++)(n[o]===null||cO(n[o]))&&i.push(o);i.length&&yO(n,i,a)}measureInitialState(){const{element:n,unresolvedKeyframes:a,name:i}=this;if(!n||!n.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ks[i](n.measureViewportBox(),window.getComputedStyle(n.current)),a[0]=this.measuredOrigin;const o=a[a.length-1];o!==void 0&&n.getValue(i,o).jump(o,!1)}measureEndState(){const{element:n,name:a,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(a);o&&o.jump(this.measuredOrigin,!1);const c=i.length-1,f=i[c];i[c]=ks[a](n.measureViewportBox(),window.getComputedStyle(n.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,p])=>{n.getValue(m).set(p)}),this.resolveNoneKeyframes()}}const vO=new Set(["opacity","clipPath","filter","transform"]);function zw(e,n,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const o=a?.[e]??i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(i=>i!=null)}const Vw=(e,n)=>n&&typeof e=="number"?n.transform(e):e;function rh(e){return F1(e)&&"offsetHeight"in e}const{schedule:am}=aw(queueMicrotask,!1),mn={x:!1,y:!1};function Bw(){return mn.x||mn.y}function bO(e){return e==="x"||e==="y"?mn[e]?null:(mn[e]=!0,()=>{mn[e]=!1}):mn.x||mn.y?null:(mn.x=mn.y=!0,()=>{mn.x=mn.y=!1})}function Iw(e,n){const a=zw(e),i=new AbortController,o={passive:!0,...n,signal:i.signal};return[a,o,()=>i.abort()]}function wO(e){return!(e.pointerType==="touch"||Bw())}function SO(e,n,a={}){const[i,o,c]=Iw(e,a);return i.forEach(f=>{let m=!1,p=!1,g;const y=()=>{f.removeEventListener("pointerleave",_)},x=E=>{g&&(g(E),g=void 0),y()},b=E=>{m=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),p&&(p=!1,x(E))},A=()=>{m=!0,window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",b,o)},_=E=>{if(E.pointerType!=="touch"){if(m){p=!0;return}x(E)}},j=E=>{if(!wO(E))return;p=!1;const O=n(f,E);typeof O=="function"&&(g=O,f.addEventListener("pointerleave",_,o))};f.addEventListener("pointerenter",j,o),f.addEventListener("pointerdown",A,o)}),c}const Hw=(e,n)=>n?e===n?!0:Hw(e,n.parentElement):!1,rm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,jO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _O(e){return jO.has(e.tagName)||e.isContentEditable===!0}const TO=new Set(["INPUT","SELECT","TEXTAREA"]);function AO(e){return TO.has(e.tagName)||e.isContentEditable===!0}const zl=new WeakSet;function Ix(e){return n=>{n.key==="Enter"&&e(n)}}function vf(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const EO=(e,n)=>{const a=e.currentTarget;if(!a)return;const i=Ix(()=>{if(zl.has(a))return;vf(a,"down");const o=Ix(()=>{vf(a,"up")}),c=()=>vf(a,"cancel");a.addEventListener("keyup",o,n),a.addEventListener("blur",c,n)});a.addEventListener("keydown",i,n),a.addEventListener("blur",()=>a.removeEventListener("keydown",i),n)};function Hx(e){return rm(e)&&!Bw()}const Gx=new WeakSet;function kO(e,n,a={}){const[i,o,c]=Iw(e,a),f=m=>{const p=m.currentTarget;if(!Hx(m)||Gx.has(m))return;zl.add(p),a.stopPropagation&&Gx.add(m);const g=n(p,m),y=(A,_)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",b),zl.has(p)&&zl.delete(p),Hx(A)&&typeof g=="function"&&g(A,{success:_})},x=A=>{y(A,p===window||p===document||a.useGlobalTarget||Hw(p,A.target))},b=A=>{y(A,!1)};window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",b,o)};return i.forEach(m=>{(a.useGlobalTarget?window:m).addEventListener("pointerdown",f,o),rh(m)&&(m.addEventListener("focus",g=>EO(g,o)),!_O(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),c}function om(e){return F1(e)&&"ownerSVGElement"in e}const Vl=new WeakMap;let Bl;const Gw=(e,n,a)=>(i,o)=>o&&o[0]?o[0][e+"Size"]:om(i)&&"getBBox"in i?i.getBBox()[n]:i[a],CO=Gw("inline","width","offsetWidth"),NO=Gw("block","height","offsetHeight");function RO({target:e,borderBoxSize:n}){Vl.get(e)?.forEach(a=>{a(e,{get width(){return CO(e,n)},get height(){return NO(e,n)}})})}function MO(e){e.forEach(RO)}function OO(){typeof ResizeObserver>"u"||(Bl=new ResizeObserver(MO))}function PO(e,n){Bl||OO();const a=zw(e);return a.forEach(i=>{let o=Vl.get(i);o||(o=new Set,Vl.set(i,o)),o.add(n),Bl?.observe(i)}),()=>{a.forEach(i=>{const o=Vl.get(i);o?.delete(n),o?.size||Bl?.unobserve(i)})}}const Il=new Set;let ta;function DO(){ta=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Il.forEach(n=>n(e))},window.addEventListener("resize",ta)}function UO(e){return Il.add(e),ta||DO(),()=>{Il.delete(e),!Il.size&&typeof ta=="function"&&(window.removeEventListener("resize",ta),ta=void 0)}}function qx(e,n){return typeof e=="function"?UO(e):PO(e,n)}function LO(e){return om(e)&&e.tagName==="svg"}const zO=[...Dw,tt,xn],VO=e=>zO.find(Pw(e)),Fx=()=>({translate:0,scale:1,origin:0,originPoint:0}),na=()=>({x:Fx(),y:Fx()}),Yx=()=>({min:0,max:0}),rt=()=>({x:Yx(),y:Yx()}),BO=new WeakMap;function jc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Hr(e){return typeof e=="string"||Array.isArray(e)}const lm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],cm=["initial",...lm];function _c(e){return jc(e.animate)||cm.some(n=>Hr(e[n]))}function qw(e){return!!(_c(e)||e.variants)}function IO(e,n,a){for(const i in n){const o=n[i],c=a[i];if(St(o))e.addValue(i,o);else if(St(c))e.addValue(i,oa(o,{owner:e}));else if(c!==o)if(e.hasValue(i)){const f=e.getValue(i);f.liveStyle===!0?f.jump(o):f.hasAnimated||f.set(o)}else{const f=e.getStaticValue(i);e.addValue(i,oa(f!==void 0?f:o,{owner:e}))}}for(const i in a)n[i]===void 0&&e.removeValue(i);return n}const oh={current:null},Fw={current:!1},HO=typeof window<"u";function GO(){if(Fw.current=!0,!!HO)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>oh.current=e.matches;e.addEventListener("change",n),n()}else oh.current=!1}const Kx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let tc={};function Yw(e){tc=e}function qO(){return tc}class FO{scrapeMotionValuesFromProps(n,a,i){return{}}constructor({parent:n,props:a,presenceContext:i,reducedMotionConfig:o,skipAnimations:c,blockInitialAnimation:f,visualState:m},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Jh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 A=kt.now();this.renderScheduledAt<A&&(this.renderScheduledAt=A,He.render(this.render,!1,!0))};const{latestValues:g,renderState:y}=m;this.latestValues=g,this.baseTarget={...g},this.initialValues=a.initial?{...g}:{},this.renderState=y,this.parent=n,this.props=a,this.presenceContext=i,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=c,this.options=p,this.blockInitialAnimation=!!f,this.isControllingVariants=_c(a),this.isVariantNode=qw(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:x,...b}=this.scrapeMotionValuesFromProps(a,{},this);for(const A in b){const _=b[A];g[A]!==void 0&&St(_)&&_.set(g[A])}}mount(n){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=n,BO.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,i)=>this.bindToMotionValue(i,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Fw.current||GO(),this.shouldReduceMotion=oh.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Cs(this.notifyUpdate),Cs(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const a=this.features[n];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,a){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),a.accelerate&&vO.has(n)&&this.current instanceof HTMLElement){const{factory:f,keyframes:m,times:p,ease:g,duration:y}=a.accelerate,x=new Tw({element:this.current,name:n,keyframes:m,times:p,ease:g,duration:yn(y)}),b=f(x);this.valueSubscriptions.set(n,()=>{b(),x.cancel()});return}const i=va.has(n);i&&this.onBindTransform&&this.onBindTransform();const o=a.on("change",f=>{this.latestValues[n]=f,this.props.onUpdate&&He.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,a)),this.valueSubscriptions.set(n,()=>{o(),c&&c(),a.owner&&a.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in tc){const a=tc[n];if(!a)continue;const{isEnabled:i,Feature:o}=a;if(!this.features[n]&&o&&i(this.props)&&(this.features[n]=new o(this)),this.features[n]){const c=this.features[n];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):rt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,a){this.latestValues[n]=a}update(n,a){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let i=0;i<Kx.length;i++){const o=Kx[i];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,f=n[c];f&&(this.propEventSubscriptions[o]=this.on(o,f))}this.prevMotionValues=IO(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 6,450 bytes, line 26
26addVariantChild(n){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(n),()=>a.variantChildren.delete(n)}addValue(n,a){const i=this.values.get(n);a!==i&&(i&&this.removeValue(n),this.bindToMotionValue(n,a),this.values.set(n,a),this.latestValues[n]=a.get())}removeValue(n){this.values.delete(n);const a=this.valueSubscriptions.get(n);a&&(a(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,a){if(this.props.values&&this.props.values[n])return this.props.values[n];let i=this.values.get(n);return i===void 0&&a!==void 0&&(i=oa(a===null?void 0:a,{owner:this}),this.addValue(n,i)),i}readValue(n,a){let i=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return i!=null&&(typeof i=="string"&&(q1(i)||Y1(i))?i=parseFloat(i):!VO(i)&&xn.test(a)&&(i=Lw(n,a)),this.setBaseTarget(n,St(i)?i.get():i)),St(i)?i.get():i}setBaseTarget(n,a){this.baseTarget[n]=a}getBaseTarget(n){const{initial:a}=this.props;let i;if(typeof a=="string"||typeof a=="object"){const c=nm(this.props,a,this.presenceContext?.custom);c&&(i=c[n])}if(a&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,n);return o!==void 0&&!St(o)?o:this.initialValues[n]!==void 0&&i===void 0?void 0:this.baseTarget[n]}on(n,a){return this.events[n]||(this.events[n]=new Hh),this.events[n].add(a)}notify(n,...a){this.events[n]&&this.events[n].notify(...a)}scheduleRenderMicrotask(){am.render(this.render)}}class Kw extends FO{constructor(){super(...arguments),this.KeyframeResolver=xO}sortInstanceNodePosition(n,a){return n.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(n,a){const i=n.style;return i?i[a]:void 0}removeValueFromRenderState(n,{vars:a,style:i}){delete a[n],delete i[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;St(n)&&(this.childSubscription=n.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class Rs{constructor(n){this.isMounted=!1,this.node=n}update(){}}function $w({top:e,left:n,right:a,bottom:i}){return{x:{min:n,max:a},y:{min:e,max:i}}}function YO({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function KO(e,n){if(!n)return e;const a=n({x:e.left,y:e.top}),i=n({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:i.y,right:i.x}}function bf(e){return e===void 0||e===1}function lh({scale:e,scaleX:n,scaleY:a}){return!bf(e)||!bf(n)||!bf(a)}function si(e){return lh(e)||Ww(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ww(e){return $x(e.x)||$x(e.y)}function $x(e){return e&&e!=="0%"}function nc(e,n,a){const i=e-a,o=n*i;return a+o}function Wx(e,n,a,i,o){return o!==void 0&&(e=nc(e,o,i)),nc(e,a,i)+n}function ch(e,n=0,a=1,i,o){e.min=Wx(e.min,n,a,i,o),e.max=Wx(e.max,n,a,i,o)}function Xw(e,{x:n,y:a}){ch(e.x,n.translate,n.scale,n.originPoint),ch(e.y,a.translate,a.scale,a.originPoint)}const Xx=.999999999999,Qx=1.0000000000001;function $O(e,n,a,i=!1){const o=a.length;if(!o)return;n.x=n.y=1;let c,f;for(let m=0;m<o;m++){c=a[m],f=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&&ia(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),f&&(n.x*=f.x.scale,n.y*=f.y.scale,Xw(e,f)),i&&si(c.latestValues)&&ia(e,c.latestValues))}n.x<Qx&&n.x>Xx&&(n.x=1),n.y<Qx&&n.y>Xx&&(n.y=1)}function sa(e,n){e.min=e.min+n,e.max=e.max+n}function Zx(e,n,a,i,o=.5){const c=Ye(e.min,e.max,o);ch(e,n,a,c,i)}function Jx(e,n){return typeof e=="string"?parseFloat(e)/100*(n.max-n.min):e}function ia(e,n){Zx(e.x,Jx(n.x,e.x),n.scaleX,n.scale,n.originX),Zx(e.y,Jx(n.y,e.y),n.scaleY,n.scale,n.originY)}function Qw(e,n){return $w(KO(e.getBoundingClientRect(),n))}function WO(e,n,a){const i=Qw(e,a),{scroll:o}=n;return o&&(sa(i.x,o.offset.x),sa(i.y,o.offset.y)),i}const XO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QO=xa.length;function ZO(e,n,a){let i="",o=!0;for(let c=0;c<QO;c++){const f=xa[c],m=e[f];if(m===void 0)continue;let p=!0;if(typeof m=="number")p=m===(f.startsWith("scale")?1:0);else{const g=parseFloat(m);p=f.startsWith("scale")?g===1:g===0}if(!p||a){const g=Vw(m,im[f]);if(!p){o=!1;const y=XO[f]||f;i+=`${y}(${g}) `}a&&(n[f]=g)}}return i=i.trim(),a?i=a(n,o?"":i):o&&(i="none"),i}function um(e,n,a){const{style:i,vars:o,transformOrigin:c}=e;let f=!1,m=!1;for(const p in n){const g=n[p];if(va.has(p)){f=!0;continue}else if(ow(p)){o[p]=g;continue}else{const y=Vw(g,im[p]);p.startsWith("origin")?(m=!0,c[p]=y):i[p]=y}}if(n.transform||(f||a?i.transform=ZO(n,e.transform,a):i.transform&&(i.transform="none")),m){const{originX:p="50%",originY:g="50%",originZ:y=0}=c;i.transformOrigin=`${p} ${g} ${y}`}}function Zw(e,{style:n,vars:a},i,o){const c=e.style;let f;for(f in n)c[f]=n[f];o?.applyProjectionStyles(c,i);for(f in a)c.setProperty(f,a[f])}function ev(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const Sr={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(re.test(e))e=parseFloat(e);else return e;const a=ev(e,n.target.x),i=ev(e,n.target.y);return`${a}% ${i}%`}},JO={correct:(e,{treeScale:n,projectionDelta:a})=>{const i=e,o=xn.parse(e);if(o.length>5)return i;const c=xn.createTransformer(e),f=typeof o[0]!="number"?1:0,m=a.x.scale*n.x,p=a.y.scale*n.y;o[0+f]/=m,o[1+f]/=p;const g=Ye(m,p,.5);return typeof o[2+f]=="number"&&(o[2+f]/=g),typeof o[3+f]=="number"&&(o[3+f]/=g),c(o)}},uh={borderRadius:{...Sr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Sr,borderTopRightRadius:Sr,borderBottomLeftRadius:Sr,borderBottomRightRadius:Sr,boxShadow:JO};function Jw(e,{layout:n,layoutId:a}){return va.has(e)||e.startsWith("origin")||(n||a!==void 0)&&(!!uh[e]||e==="opacity")}function dm(e,n,a){const i=e.style,o=n?.style,c={};if(!i)return c;for(const f in i)(St(i[f])||o&&St(o[f])||Jw(f,e)||a?.getValue(f)?.liveStyle!==void 0)&&(c[f]=i[f]);return c}function e4(e){return window.getComputedStyle(e)}class t4 extends Kw{constructor(){super(...arguments),this.type="html",this.renderInstance=Zw}readValueFromInstance(n,a){if(va.has(a))return this.projection?.isProjecting?Wf(a):wM(n,a);{const i=e4(n),o=(ow(a)?i.getPropertyValue(a):i[a])||0;
vendor: 13,299 bytes, line 26
26return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(n,{transformPagePoint:a}){return Qw(n,a)}build(n,a,i){um(n,a,i.transformTemplate)}scrapeMotionValuesFromProps(n,a,i){return dm(n,a,i)}}const n4={offset:"stroke-dashoffset",array:"stroke-dasharray"},s4={offset:"strokeDashoffset",array:"strokeDasharray"};function i4(e,n,a=1,i=0,o=!0){e.pathLength=1;const c=o?n4:s4;e[c.offset]=`${-i}`,e[c.array]=`${n} ${a}`}const a4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eS(e,{attrX:n,attrY:a,attrScale:i,pathLength:o,pathSpacing:c=1,pathOffset:f=0,...m},p,g,y){if(um(e,m,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:b}=e;x.transform&&(b.transform=x.transform,delete x.transform),(b.transform||x.transformOrigin)&&(b.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete x.transformBox);for(const A of a4)x[A]!==void 0&&(b[A]=x[A],delete x[A]);n!==void 0&&(x.x=n),a!==void 0&&(x.y=a),i!==void 0&&(x.scale=i),o!==void 0&&i4(x,o,c,f,!1)}const tS=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"]),nS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function r4(e,n,a,i){Zw(e,n,void 0,i);for(const o in n.attrs)e.setAttribute(tS.has(o)?o:sm(o),n.attrs[o])}function sS(e,n,a){const i=dm(e,n,a);for(const o in e)if(St(e[o])||St(n[o])){const c=xa.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[c]=e[o]}return i}class o4 extends Kw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rt}getBaseTargetFromProps(n,a){return n[a]}readValueFromInstance(n,a){if(va.has(a)){const i=Uw(a);return i&&i.default||0}return a=tS.has(a)?a:sm(a),n.getAttribute(a)}scrapeMotionValuesFromProps(n,a,i){return sS(n,a,i)}build(n,a,i){eS(n,a,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(n,a,i,o){r4(n,a,i,o)}mount(n){this.isSVGTag=nS(n.tagName),super.mount(n)}}const l4=cm.length;function iS(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?iS(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const n={};for(let a=0;a<l4;a++){const i=cm[a],o=e.props[i];(Hr(o)||o===!1)&&(n[i]=o)}return n}function aS(e,n){if(!Array.isArray(n))return!1;const a=n.length;if(a!==e.length)return!1;for(let i=0;i<a;i++)if(n[i]!==e[i])return!1;return!0}const c4=[...lm].reverse(),u4=lm.length;function d4(e){return n=>Promise.all(n.map(({animation:a,options:i})=>oO(e,a,i)))}function f4(e){let n=d4(e),a=tv(),i=!0,o=!1;const c=g=>(y,x)=>{const b=aa(e,x,g==="exit"?e.presenceContext?.custom:void 0);if(b){const{transition:A,transitionEnd:_,...j}=b;y={...y,...j,..._}}return y};function f(g){n=g(e)}function m(g){const{props:y}=e,x=iS(e.parent)||{},b=[],A=new Set;let _={},j=1/0;for(let O=0;O<u4;O++){const N=c4[O],R=a[N],H=y[N]!==void 0?y[N]:x[N],L=Hr(H),X=N===g?R.isActive:null;X===!1&&(j=O);let Q=H===x[N]&&H!==y[N]&&L;if(Q&&(i||o)&&e.manuallyAnimateOnMount&&(Q=!1),R.protectedKeys={..._},!R.isActive&&X===null||!H&&!R.prevProp||jc(H)||typeof H=="boolean")continue;if(N==="exit"&&R.isActive&&X!==!0){R.prevResolvedValues&&(_={..._,...R.prevResolvedValues});continue}const I=h4(R.prevProp,H);let q=I||N===g&&R.isActive&&!Q&&L||O>j&&L,ue=!1;const se=Array.isArray(H)?H:[H];let fe=se.reduce(c(N),{});X===!1&&(fe={});const{prevResolvedValues:Be={}}=R,Ze={...Be,...fe},ve=ne=>{q=!0,A.has(ne)&&(ue=!0,A.delete(ne)),R.needsAnimating[ne]=!0;const ye=e.getValue(ne);ye&&(ye.liveStyle=!1)};for(const ne in Ze){const ye=fe[ne],T=Be[ne];if(_.hasOwnProperty(ne))continue;let K=!1;th(ye)&&th(T)?K=!aS(ye,T):K=ye!==T,K?ye!=null?ve(ne):A.add(ne):ye!==void 0&&A.has(ne)?ve(ne):R.protectedKeys[ne]=!0}R.prevProp=H,R.prevResolvedValues=fe,R.isActive&&(_={..._,...fe}),(i||o)&&e.blockInitialAnimation&&(q=!1);const B=Q&&I;q&&(!B||ue)&&b.push(...se.map(ne=>{const ye={type:N};if(typeof ne=="string"&&(i||o)&&!B&&e.manuallyAnimateOnMount&&e.parent){const{parent:T}=e,K=aa(T,ne);if(T.enteringChildren&&K){const{delayChildren:te}=K.transition||{};ye.delay=Ew(T.enteringChildren,e,te)}}return{animation:ne,options:ye}}))}if(A.size){const O={};if(typeof y.initial!="boolean"){const N=aa(e,Array.isArray(y.initial)?y.initial[0]:y.initial);N&&N.transition&&(O.transition=N.transition)}A.forEach(N=>{const R=e.getBaseTarget(N),H=e.getValue(N);H&&(H.liveStyle=!0),O[N]=R??null}),b.push({animation:O})}let E=!!b.length;return i&&(y.initial===!1||y.initial===y.animate)&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,o=!1,E?n(b):Promise.resolve()}function p(g,y){if(a[g].isActive===y)return Promise.resolve();e.variantChildren?.forEach(b=>b.animationState?.setActive(g,y)),a[g].isActive=y;const x=m(g);for(const b in a)a[b].protectedKeys={};return x}return{animateChanges:m,setActive:p,setAnimateFunction:f,getState:()=>a,reset:()=>{a=tv(),o=!0}}}function h4(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!aS(n,e):!1}function Js(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tv(){return{animate:Js(!0),whileInView:Js(),whileHover:Js(),whileTap:Js(),whileDrag:Js(),whileFocus:Js(),exit:Js()}}function nv(e,n){e.min=n.min,e.max=n.max}function dn(e,n){nv(e.x,n.x),nv(e.y,n.y)}function sv(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}const rS=1e-4,m4=1-rS,p4=1+rS,oS=.01,g4=0-oS,y4=0+oS;function Ct(e){return e.max-e.min}function x4(e,n,a){return Math.abs(e-n)<=a}function iv(e,n,a,i=.5){e.origin=i,e.originPoint=Ye(n.min,n.max,e.origin),e.scale=Ct(a)/Ct(n),e.translate=Ye(a.min,a.max,e.origin)-e.originPoint,(e.scale>=m4&&e.scale<=p4||isNaN(e.scale))&&(e.scale=1),(e.translate>=g4&&e.translate<=y4||isNaN(e.translate))&&(e.translate=0)}function Mr(e,n,a,i){iv(e.x,n.x,a.x,i?i.originX:void 0),iv(e.y,n.y,a.y,i?i.originY:void 0)}function av(e,n,a){e.min=a.min+n.min,e.max=e.min+Ct(n)}function v4(e,n,a){av(e.x,n.x,a.x),av(e.y,n.y,a.y)}function rv(e,n,a){e.min=n.min-a.min,e.max=e.min+Ct(n)}function sc(e,n,a){rv(e.x,n.x,a.x),rv(e.y,n.y,a.y)}function ov(e,n,a,i,o){return e-=n,e=nc(e,1/a,i),o!==void 0&&(e=nc(e,1/o,i)),e}function b4(e,n=0,a=1,i=.5,o,c=e,f=e){if(En.test(n)&&(n=parseFloat(n),n=Ye(f.min,f.max,n/100)-f.min),typeof n!="number")return;let m=Ye(c.min,c.max,i);e===c&&(m-=n),e.min=ov(e.min,n,a,m,o),e.max=ov(e.max,n,a,m,o)}function lv(e,n,[a,i,o],c,f){b4(e,n[a],n[i],n[o],n.scale,c,f)}const w4=["x","scaleX","originX"],S4=["y","scaleY","originY"];function cv(e,n,a,i){lv(e.x,n,w4,a?a.x:void 0,i?i.x:void 0),lv(e.y,n,S4,a?a.y:void 0,i?i.y:void 0)}function uv(e){return e.translate===0&&e.scale===1}function lS(e){return uv(e.x)&&uv(e.y)}function dv(e,n){return e.min===n.min&&e.max===n.max}function j4(e,n){return dv(e.x,n.x)&&dv(e.y,n.y)}function fv(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function cS(e,n){return fv(e.x,n.x)&&fv(e.y,n.y)}function hv(e){return Ct(e.x)/Ct(e.y)}function mv(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}function An(e){return[e("x"),e("y")]}function _4(e,n,a){let i="";const o=e.x.translate/n.x,c=e.y.translate/n.y,f=a?.z||0;if((o||c||f)&&(i=`translate3d(${o}px, ${c}px, ${f}px) `),(n.x!==1||n.y!==1)&&(i+=`scale(${1/n.x}, ${1/n.y}) `),a){const{transformPerspective:g,rotate:y,rotateX:x,rotateY:b,skewX:A,skewY:_}=a;g&&(i=`perspective(${g}px) ${i}`),y&&(i+=`rotate(${y}deg) `),x&&(i+=`rotateX(${x}deg) `),b&&(i+=`rotateY(${b}deg) `),A&&(i+=`skewX(${A}deg) `),_&&(i+=`skewY(${_}deg) `)}const m=e.x.scale*n.x,p=e.y.scale*n.y;return(m!==1||p!==1)&&(i+=`scale(${m}, ${p})`),i||"none"}const uS=["TopLeft","TopRight","BottomLeft","BottomRight"],T4=uS.length,pv=e=>typeof e=="string"?parseFloat(e):e,gv=e=>typeof e=="number"||re.test(e);function A4(e,n,a,i,o,c){o?(e.opacity=Ye(0,a.opacity??1,E4(i)),e.opacityExit=Ye(n.opacity??1,0,k4(i))):c&&(e.opacity=Ye(n.opacity??1,a.opacity??1,i));for(let f=0;f<T4;f++){const m=`border${uS[f]}Radius`;let p=yv(n,m),g=yv(a,m);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||gv(p)===gv(g)?(e[m]=Math.max(Ye(pv(p),pv(g),i),0),(En.test(g)||En.test(p))&&(e[m]+="%")):e[m]=g}(n.rotate||a.rotate)&&(e.rotate=Ye(n.rotate||0,a.rotate||0,i))}function yv(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const E4=dS(0,.5,tw),k4=dS(.5,.95,sn);function dS(e,n,a){return i=>i<e?0:i>n?1:a(Vr(e,n,i))}function C4(e,n,a){const i=St(e)?e:oa(e);return i.start(tm("",i,n,a)),i.animation}function Gr(e,n,a,i={passive:!0}){return e.addEventListener(n,a,i),()=>e.removeEventListener(n,a)}const N4=(e,n)=>e.depth-n.depth;class R4{constructor(){this.children=[],this.isDirty=!1}add(n){Bh(this.children,n),this.isDirty=!0}remove(n){Ql(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(N4),this.isDirty=!1,this.children.forEach(n)}}function M4(e,n){const a=kt.now(),i=({timestamp:o})=>{const c=o-a;c>=n&&(Cs(i),e(c-n))};return He.setup(i,!0),()=>Cs(i)}function Hl(e){return St(e)?e.get():e}class O4{constructor(){this.members=[]}add(n){Bh(this.members,n);for(let a=this.members.length-1;a>=0;a--){const i=this.members[a];if(i===n||i===this.lead||i===this.prevLead)continue;const o=i.instance;(!o||o.isConnected===!1)&&!i.snapshot&&(Ql(this.members,i),i.unmount())}n.scheduleRender()}remove(n){if(Ql(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(n){for(let a=this.members.indexOf(n)-1;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1&&i.instance?.isConnected!==!1)return this.promote(i),!0}return!1}promote(n,a){const i=this.lead;if(n!==i&&(this.prevLead=i,this.lead=n,n.show(),i)){i.updateSnapshot(),n.scheduleRender();const{layoutDependency:o}=i.options,{layoutDependency:c}=n.options;(o===void 0||o!==c)&&(n.resumeFrom=i,a&&(i.preserveOpacity=!0),i.snapshot&&(n.snapshot=i.snapshot,n.snapshot.latestValues=i.animationValues||i.latestValues),n.root?.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(n=>{n.options.onExitComplete?.(),n.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},wf=["","X","Y","Z"],P4=1e3;let D4=0;function Sf(e,n,a,i){const{latestValues:o}=n;o[e]&&(a[e]=o[e],n.setStaticValue(e,0),i&&(i[e]=0))}function fS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const a=Mw(n);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",He,!(o||c))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&fS(i)}function hS({attachResizeListener:e,defaultParent:n,measureScroll:a,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(f={},m=n?.()){this.id=D4++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(z4),this.nodes.forEach(H4),this.nodes.forEach(G4),this.nodes.forEach(V4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new R4)}addEventListener(f,m){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Hh),this.eventHandlers.get(f).add(m)}notifyListeners(f,...m){const p=this.eventHandlers.get(f);p&&p.notify(...m)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=om(f)&&!LO(f),this.instance=f;const{layoutId:m,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),e){let y,x=0;const b=()=>this.root.updateBlockedByResize=!1;He.read(()=>{x=window.innerWidth}),e(f,()=>{const A=window.innerWidth;A!==x&&(x=A,this.root.updateBlockedByResize=!0,y&&y(),y=M4(b,250),Gl.hasAnimatedSinceResize&&(Gl.hasAnimatedSinceResize=!1,this.nodes.forEac
vendor: 9,115 bytes, line 26
26h(bv)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&g&&(m||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeLayoutChanged:b,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const _=this.options.transition||g.getDefaultTransition()||$4,{onLayoutAnimationStart:j,onLayoutAnimationComplete:E}=g.getProps(),O=!this.targetLayout||!cS(this.targetLayout,A),N=!x&&b;if(this.options.layoutRoot||this.resumeFrom||N||x&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...em(_,"layout"),onPlay:j,onComplete:E};(g.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(y,N)}else x||bv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Cs(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(q4),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(xv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(vv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(I4),this.nodes.forEach(U4),this.nodes.forEach(L4)):this.nodes.forEach(vv),this.clearAllSnapshots();const m=kt.now();xt.delta=kn(0,1e3/60,m-xt.timestamp),xt.timestamp=m,xt.isProcessing=!0,hf.update.process(xt),hf.preRender.process(xt),hf.render.process(xt),xt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,am.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(B4),this.sharedNodes.forEach(F4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,He.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){He.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ct(this.snapshot.measuredBox.x)&&!Ct(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}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 f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(m=!1),m&&this.instance){const p=i(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!lS(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;f&&this.instance&&(m||si(this.latestValues)||y)&&(o(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return f&&(p=this.removeTransform(p)),W4(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return rt();const m=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(X4))){const{scroll:g}=this.root;g&&(sa(m.x,g.offset.x),sa(m.y,g.offset.y))}return m}removeElementScroll(f){const m=rt();if(dn(m,f),this.scroll?.wasRoot)return m;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:y,options:x}=g;g!==this.root&&y&&x.layoutScroll&&(y.wasRoot&&dn(m,f),sa(m.x,y.offset.x),sa(m.y,y.offset.y))}return m}applyTransform(f,m=!1){const p=rt();dn(p,f);for(let g=0;g<this.path.length;g++){const y=this.path[g];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&ia(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),si(y.latestValues)&&ia(p,y.latestValues)}return si(this.latestValues)&&ia(p,this.latestValues),p}removeTransform(f){const m=rt();dn(m,f);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!si(g.latestValues))continue;lh(g.latestValues)&&g.updateSnapshot();const y=rt(),x=g.measurePageBox();dn(y,x),cv(m,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return si(this.latestValues)&&cv(m,this.latestValues),m}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.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!==xt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:x}=this.options;if(!this.layout||!(y||x))return;this.resolvedRelativeTargetAt=xt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rt(),this.targetWithTransforms=rt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),v4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):dn(this.target,this.layout.layoutBox),Xw(this.target,this.targetDelta)):dn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||lh(this.parent.latestValues)||Ww(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,m,p){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),sc(this.relativeTargetOrigin,m,p),dn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),m=!!this.resumingFrom||this!==f;let p=!0;
vendor: 4,768 bytes, line 26
26if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===xt.timestamp&&(p=!1),p)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;dn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;$O(this.layoutCorrected,this.treeScale,this.path,m),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=rt());const{target:A}=f;if(!A){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(sv(this.prevProjectionDelta.x,this.projectionDelta.x),sv(this.prevProjectionDelta.y,this.projectionDelta.y)),Mr(this.projectionDelta,this.layoutCorrected,A,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!mv(this.projectionDelta.x,this.prevProjectionDelta.x)||!mv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",A))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=na(),this.projectionDelta=na(),this.projectionDeltaWithTransform=na()}setAnimationOrigin(f,m=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},x=na();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const b=rt(),A=p?p.source:void 0,_=this.layout?this.layout.source:void 0,j=A!==_,E=this.getStack(),O=!E||E.members.length<=1,N=!!(j&&!O&&this.options.crossfade===!0&&!this.path.some(K4));this.animationProgress=0;let R;this.mixTargetDelta=H=>{const L=H/1e3;wv(x.x,f.x,L),wv(x.y,f.y,L),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sc(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Y4(this.relativeTarget,this.relativeTargetOrigin,b,L),R&&j4(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=rt()),dn(R,this.relativeTarget)),j&&(this.animationValues=y,A4(y,g,this.latestValues,L,N,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Cs(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=He.update(()=>{Gl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=oa(0)),this.motionValue.jump(0,!1),this.currentAnimation=C4(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),f.onUpdate&&f.onUpdate(m)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.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 f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(P4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:m,target:p,layout:g,latestValues:y}=f;if(!(!m||!p||!g)){if(this!==f&&this.layout&&g&&mS(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||rt();const x=Ct(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+x;const b=Ct(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+b}dn(m,p),ia(m,y),Mr(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(f,m){this.sharedNodes.has(f)||this.sharedNodes.set(f,new O4),this.sharedNodes.get(f).add(m);const g=m.options.initialPromotionConfig;m.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(m):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;
vendor: 13,282 bytes, lines 26-34
26return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:m,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let m=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const g={};p.z&&Sf("z",f,g,this.animationValues);for(let y=0;y<wf.length;y++)Sf(`rotate${wf[y]}`,f,g,this.animationValues),Sf(`skew${wf[y]}`,f,g,this.animationValues);f.render();for(const y in g)f.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);f.scheduleRender()}applyProjectionStyles(f,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Hl(m?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Hl(m?.pointerEvents)||""),this.hasProjected&&!si(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let x=_4(this.projectionDeltaWithTransform,this.treeScale,y);p&&(x=p(y,x)),f.transform=x;const{x:b,y:A}=this.projectionDelta;f.transformOrigin=`${b.origin*100}% ${A.origin*100}% 0`,g.animationValues?f.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const _ in uh){if(y[_]===void 0)continue;const{correct:j,applyTo:E,isCSSVariable:O}=uh[_],N=x==="none"?y[_]:j(y[_],g);if(E){const R=E.length;for(let H=0;H<R;H++)f[E[H]]=N}else O?this.options.visualElement.renderState.vars[_]=N:f[_]=N}this.options.layoutId&&(f.pointerEvents=g===this?Hl(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(xv),this.root.sharedNodes.clear()}}}function U4(e){e.updateLayout()}function L4(e){const n=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:i}=e.layout,{animationType:o}=e.options,c=n.source!==e.layout.source;o==="size"?An(y=>{const x=c?n.measuredBox[y]:n.layoutBox[y],b=Ct(x);x.min=a[y].min,x.max=x.min+b}):mS(o,n.layoutBox,a)&&An(y=>{const x=c?n.measuredBox[y]:n.layoutBox[y],b=Ct(a[y]);x.max=x.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+b)});const f=na();Mr(f,a,n.layoutBox);const m=na();c?Mr(m,e.applyTransform(i,!0),n.measuredBox):Mr(m,a,n.layoutBox);const p=!lS(f);let g=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:x,layout:b}=y;if(x&&b){const A=rt();sc(A,n.layoutBox,x.layoutBox);const _=rt();sc(_,a,b.layoutBox),cS(A,_)||(g=!0),y.options.layoutRoot&&(e.relativeTarget=_,e.relativeTargetOrigin=A,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:n,delta:m,layoutDelta:f,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function z4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function V4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function B4(e){e.clearSnapshot()}function xv(e){e.clearMeasurements()}function vv(e){e.isLayoutDirty=!1}function I4(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function bv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function H4(e){e.resolveTargetDelta()}function G4(e){e.calcProjection()}function q4(e){e.resetSkewAndRotation()}function F4(e){e.removeLeadSnapshot()}function wv(e,n,a){e.translate=Ye(n.translate,0,a),e.scale=Ye(n.scale,1,a),e.origin=n.origin,e.originPoint=n.originPoint}function Sv(e,n,a,i){e.min=Ye(n.min,a.min,i),e.max=Ye(n.max,a.max,i)}function Y4(e,n,a,i){Sv(e.x,n.x,a.x,i),Sv(e.y,n.y,a.y,i)}function K4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $4={duration:.45,ease:[.4,0,.1,1]},jv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),_v=jv("applewebkit/")&&!jv("chrome/")?Math.round:sn;function Tv(e){e.min=_v(e.min),e.max=_v(e.max)}function W4(e){Tv(e.x),Tv(e.y)}function mS(e,n,a){return e==="position"||e==="preserve-aspect"&&!x4(hv(n),hv(a),.2)}function X4(e){return e!==e.root&&e.scroll?.wasRoot}const Q4=hS({attachResizeListener:(e,n)=>Gr(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),jf={current:void 0},pS=hS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!jf.current){const e=new Q4({});e.mount(window),e.setOptions({layoutScroll:!0}),jf.current=e}return jf.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),fm=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Av(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function Z4(...e){return n=>{let a=!1;const i=e.map(o=>{const c=Av(o,n);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let o=0;o<i.length;o++){const c=i[o];typeof c=="function"?c():Av(e[o],null)}}}}function J4(...e){return w.useCallback(Z4(...e),e)}class e5 extends w.Component{getSnapshotBeforeUpdate(n){const a=this.props.childRef.current;if(a&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const i=a.offsetParent,o=rh(i)&&i.offsetWidth||0,c=rh(i)&&i.offsetHeight||0,f=this.props.sizeRef.current;f.height=a.offsetHeight||0,f.width=a.offsetWidth||0,f.top=a.offsetTop,f.left=a.offsetLeft,f.right=o-f.width-f.left,f.bottom=c-f.height-f.top}return null}componentDidUpdate(){}render(){return this.props.children}}function t5({children:e,isPresent:n,anchorX:a,anchorY:i,root:o,pop:c}){const f=w.useId(),m=w.useRef(null),p=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=w.useContext(fm),y=e.props?.ref??e?.ref,x=J4(m,y);return w.useInsertionEffect(()=>{const{width:b,height:A,top:_,left:j,right:E,bottom:O}=p.current;if(n||c===!1||!m.current||!b||!A)return;const N=a==="left"?`left: ${j}`:`right: ${E}`,R=i==="bottom"?`bottom: ${O}`:`top: ${_}`;m.current.dataset.motionPopId=f;const H=document.createElement("style");g&&(H.nonce=g);const L=o??document.head;return L.appendChild(H),H.sheet&&H.sheet.insertRule(`
27          [data-motion-pop-id="${f}"] {
28            position: absolute !important;
29            width: ${b}px !important;
30            height: ${A}px !important;
31            ${N}px !important;
32            ${R}px !important;
33          }
34        `),()=>{L.contains(H)&&L.removeChild(H)}},[n]),u.jsx(e5,{isPresent:n,childRef:m,sizeRef:p,pop:c,children:c===!1?e:w.cloneElement(e,{ref:x})})}const n5=({children:e,initial:n,isPresent:a,onExitComplete:i,custom:o,presenceAffectsLayout:c,mode:f,anchorX:m,anchorY:p,root:g})=>{const y=Vh(s5),x=w.useId();let b=!0,A=w.useMemo(()=>(b=!1,{id:x,initial:n,isPresent:a,custom:o,onExitComplete:_=>{y.set(_,!0);for(const j of y.values())if(!j)return;i&&i()},register:_=>(y.set(_,!1),()=>y.delete(_))}),[a,y,i]);return c&&b&&(A={...A}),w.useMemo(()=>{y.forEach((_,j)=>y.set(j,!1))},[a]),w.useEffect(()=>{!a&&!y.size&&i&&i()},[a]),e=u.jsx(t5,{pop:f==="popLayout",isPresent:a,anchorX:m,anchorY:p,root:g,children:e}),u.jsx(Sc.Provider,{value:A,children:e})};function s5(){return new Map}function gS(e=!0){const n=w.useContext(Sc);if(n===null)return[!0,null];const{isPresent:a,onExitComplete:i,register:o}=n,c=w.useId();w.useEffect(()=>{if(e)return o(c)},[e]);const f=w.useCallback(()=>e&&i&&i(c),[c,i,e]);return!a&&i?[!1,f]:[!0]}const Al=e=>e.key||"";function Ev(e){const n=[];return w.Children.forEach(e,a=>{w.isValidElement(a)&&n.push(a)}),n}const i5=({children:e,custom:n,initial:a=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:c="sync",propagate:f=!1,anchorX:m="left",anchorY:p="top",root:g})=>{const[y,x]=gS(f),b=w.useMemo(()=>Ev(e),[e]),A=f&&!y?[]:b.map(Al),_=w.useRef(!0),j=w.useRef(b),E=Vh(()=>new Map),O=w.useRef(new Set),[N,R]=w.useState(b),[H,L]=w.useState(b);G1(()=>{_.current=!1,j.current=b;for(let I=0;I<H.length;I++){const q=Al(H[I]);A.includes(q)?(E.delete(q),O.current.delete(q)):E.get(q)!==!0&&E.set(q,!1)}},[H,A.length,A.join("-")]);const X=[];if(b!==N){let I=[...b];for(let q=0;q<H.length;q++){const ue=H[q],se=Al(ue);A.includes(se)||(I.splice(q,0,ue),X.push(ue))}return c==="wait"&&X.length&&(I=X),L(Ev(I)),R(b),null}const{forceRender:Q}=w.useContext(zh);return u.jsx(u.Fragment,{children:H.map(I=>{const q=Al(I),ue=f&&!y?!1:b===H||A.includes(q),se=()=>{if(O.current.has(q))return;if(O.current.add(q),E.has(q))E.set(q,!0);else return;let fe=!0;E.forEach(Be=>{Be||(fe=!1)}),fe&&(Q?.(),L(j.current),f&&x?.(),i&&i())};return u.jsx(n5,{isPresent:ue,initial:!_.current||a?void 0:!1,custom:n,presenceAffectsLayout:o,mode:c,root:g,onExitComplete:ue?void 0:se,anchorX:m,anchorY:p,children:I},q)})})},yS=w.createContext({strict:!1}),kv={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"]};let Cv=!1;function a5(){if(Cv)return;const e={};for(const n in kv)e[n]={isEnabled:a=>kv[n].some(i=>!!a[i])};Yw(e),Cv=!0}function xS(){return a5(),qO()}function r5(e){const n=xS();for(const a in e)n[a]={...n[a],...e[a]};Yw(n)}const o5=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","propagate","ignoreStrict","viewport"]);function ic(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||o5.has(e)}let vS=e=>!ic(e);function l5(e){typeof e=="function"&&(vS=n=>n.startsWith("on")?!ic(n):e(n))}try{l5(require("@emotion/is-prop-valid").default)}catch{}function c5(e,n,a){const i={};for(const o in e)o==="values"&&typeof e.values=="object"||(vS(o)||a===!0&&ic(o)||!n&&!ic(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}const Tc=w.createContext({});function u5(e,n){if(_c(e)){const{initial:a,animate:i}=e;return{initial:a===!1||Hr(a)?a:void 0,animate:Hr(i)?i:void 0}}return e.inherit!==!1?n:{}}function d5(e){const{initial:n,animate:a}=u5(e,w.useContext(Tc));return w.useMemo(()=>({initial:n,animate:a}),[Nv(n),Nv(a)])}function Nv(e){return Array.isArray(e)?e.join(" "):e}const hm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bS(e,n,a){for(const i in n)!St(n[i])&&!Jw(i,a)&&(e[i]=n[i])}function f5({transformTemplate:e},n){return w.useMemo(()=>{const a=hm();return um(a,n,e),Object.assign({},a.vars,a.style)},[n])}function h5(e,n){const a=e.style||{},i={};return bS(i,a,e),Object.assign(i,f5(e,n)),i}function m5(e,n){const a={},i=h5(e,n);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=i,a}const wS=()=>({...hm(),attrs:{}});function p5(e,n,a,i){const o=w.useMemo(()=>{const c=wS();return eS(c,n,nS(i),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[n]);if(e.style){const c={};bS(c,e.style,e),o.style={...c,...o.style}}return o}const g5=["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 mm(e){return typeof e!="string"||e.includes("-")?!1:!!(g5.indexOf(e)>-1||/[A-Z]/u.test(e))}function y5(e,n,a,{latestValues:i}
vendor: 4,175 bytes, line 34
34,o,c=!1,f){const p=(f??mm(e)?p5:m5)(n,i,o,e),g=c5(n,typeof e=="string",c),y=e!==w.Fragment?{...g,...p,ref:a}:{},{children:x}=n,b=w.useMemo(()=>St(x)?x.get():x,[x]);return w.createElement(e,{...y,children:b})}function x5({scrapeMotionValuesFromProps:e,createRenderState:n},a,i,o){return{latestValues:v5(a,i,o,e),renderState:n()}}function v5(e,n,a,i){const o={},c=i(e,{});for(const b in c)o[b]=Hl(c[b]);let{initial:f,animate:m}=e;const p=_c(e),g=qw(e);n&&g&&!p&&e.inherit!==!1&&(f===void 0&&(f=n.initial),m===void 0&&(m=n.animate));let y=a?a.initial===!1:!1;y=y||f===!1;const x=y?m:f;if(x&&typeof x!="boolean"&&!jc(x)){const b=Array.isArray(x)?x:[x];for(let A=0;A<b.length;A++){const _=nm(e,b[A]);if(_){const{transitionEnd:j,transition:E,...O}=_;for(const N in O){let R=O[N];if(Array.isArray(R)){const H=y?R.length-1:0;R=R[H]}R!==null&&(o[N]=R)}for(const N in j)o[N]=j[N]}}}return o}const SS=e=>(n,a)=>{const i=w.useContext(Tc),o=w.useContext(Sc),c=()=>x5(e,n,i,o);return a?c():Vh(c)},b5=SS({scrapeMotionValuesFromProps:dm,createRenderState:hm}),w5=SS({scrapeMotionValuesFromProps:sS,createRenderState:wS}),S5=Symbol.for("motionComponentSymbol");function j5(e,n,a){const i=w.useRef(a);w.useInsertionEffect(()=>{i.current=a});const o=w.useRef(null);return w.useCallback(c=>{c&&e.onMount?.(c);const f=i.current;if(typeof f=="function")if(c){const m=f(c);typeof m=="function"&&(o.current=m)}else o.current?(o.current(),o.current=null):f(c);else f&&(f.current=c);n&&(c?n.mount(c):n.unmount())},[n])}const jS=w.createContext({});function Ji(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function _5(e,n,a,i,o,c){const{visualElement:f}=w.useContext(Tc),m=w.useContext(yS),p=w.useContext(Sc),g=w.useContext(fm),y=g.reducedMotion,x=g.skipAnimations,b=w.useRef(null),A=w.useRef(!1);i=i||m.renderer,!b.current&&i&&(b.current=i(e,{visualState:n,parent:f,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y,skipAnimations:x,isSVG:c}),A.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const _=b.current,j=w.useContext(jS);_&&!_.projection&&o&&(_.type==="html"||_.type==="svg")&&T5(b.current,a,o,j);const E=w.useRef(!1);w.useInsertionEffect(()=>{_&&E.current&&_.update(a,p)});const O=a[Rw],N=w.useRef(!!O&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(O)&&window.MotionHasOptimisedAnimation?.(O));return G1(()=>{A.current=!0,_&&(E.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),N.current&&_.animationState&&_.animationState.animateChanges())}),w.useEffect(()=>{_&&(!N.current&&_.animationState&&_.animationState.animateChanges(),N.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(O)}),N.current=!1),_.enteringChildren=void 0)}),_}function T5(e,n,a,i){const{layoutId:o,layout:c,drag:f,dragConstraints:m,layoutScroll:p,layoutRoot:g,layoutCrossfade:y}=n;e.projection=new a(e.latestValues,n["data-framer-portal-id"]?void 0:_S(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!f||m&&Ji(m),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,crossfade:y,layoutScroll:p,layoutRoot:g})}function _S(e){if(e)return e.options.allowProjection!==!1?e.projection:_S(e.parent)}function _f(e,{forwardMotionProps:n=!1,type:a}={},i,o){i&&r5(i);const c=a?a==="svg":mm(e),f=c?w5:b5;function m(g,y){let x;const b={...w.useContext(fm),...g,layoutId:A5(g)},{isStatic:A}=b,_=d5(g),j=f(g,A);if(!A&&typeof window<"u"){E5();const E=k5(b);x=E.MeasureLayout,_.visualElement=_5(e,j,b,o,E.ProjectionNode,c)}return u.jsxs(Tc.Provider,{value:_,children:[x&&_.visualElement?u.jsx(x,{visualElement:_.visualElement,...b}):null,y5(e,g,j5(j,_.visualElement,y),j,A,n,c)]})}m.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=w.forwardRef(m);return p[S5]=e,p}function A5({layoutId:e}){const n=w.useContext(zh).id;return n&&e!==void 0?n+"-"+e:e}function E5(e,n){w.useContext(yS).strict}function k5(e){const n=xS(),{drag:a,layout:i}=n;if(!a&&!i)return{};const o={...a,...i};return{MeasureLayout:a?.isEnabled(e)||i?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
vendor: 4,202 bytes, line 34
34function C5(e,n){if(typeof Proxy>"u")return _f;const a=new Map,i=(c,f)=>_f(c,f,e,n),o=(c,f)=>i(c,f);return new Proxy(o,{get:(c,f)=>f==="create"?i:(a.has(f)||a.set(f,_f(f,void 0,e,n)),a.get(f))})}const N5=(e,n)=>n.isSVG??mm(e)?new o4(n):new t4(n,{allowProjection:e!==w.Fragment});class R5 extends Rs{constructor(n){super(n),n.animationState||(n.animationState=f4(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();jc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:a}=this.node.prevProps||{};n!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let M5=0;class O5 extends Rs{constructor(){super(...arguments),this.id=M5++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:a}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===i)return;const o=this.node.animationState.setActive("exit",!n);a&&!n&&o.then(()=>{a(this.id)})}mount(){const{register:n,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const P5={animation:{Feature:R5},exit:{Feature:O5}};function eo(e){return{point:{x:e.pageX,y:e.pageY}}}const D5=e=>n=>rm(n)&&e(n,eo(n));function Or(e,n,a,i){return Gr(e,n,D5(a),i)}const TS=({current:e})=>e?e.ownerDocument.defaultView:null,Rv=(e,n)=>Math.abs(e-n);function U5(e,n){const a=Rv(e.x,n.x),i=Rv(e.y,n.y);return Math.sqrt(a**2+i**2)}const Mv=new Set(["auto","scroll"]);class AS{constructor(n,a,{transformPagePoint:i,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:f=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=A=>{this.handleScroll(A.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=Af(this.lastMoveEventInfo,this.history),_=this.startEvent!==null,j=U5(A.offset,{x:0,y:0})>=this.distanceThreshold;if(!_&&!j)return;const{point:E}=A,{timestamp:O}=xt;this.history.push({...E,timestamp:O});const{onStart:N,onMove:R}=this.handlers;_||(N&&N(this.lastMoveEvent,A),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,A)},this.handlePointerMove=(A,_)=>{this.lastMoveEvent=A,this.lastMoveEventInfo=Tf(_,this.transformPagePoint),He.update(this.updatePoint,!0)},this.handlePointerUp=(A,_)=>{this.end();const{onEnd:j,onSessionEnd:E,resumeAnimation:O}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&O&&O(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Af(A.type==="pointercancel"?this.lastMoveEventInfo:Tf(_,this.transformPagePoint),this.history);this.startEvent&&j&&j(A,N),E&&E(A,N)},!rm(n))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=i,this.distanceThreshold=f,this.contextWindow=o||window;const p=eo(n),g=Tf(p,this.transformPagePoint),{point:y}=g,{timestamp:x}=xt;this.history=[{...y,timestamp:x}];const{onSessionStart:b}=a;b&&b(n,Af(g,this.history)),this.removeListeners=Qr(Or(this.contextWindow,"pointermove",this.handlePointerMove),Or(this.contextWindow,"pointerup",this.handlePointerUp),Or(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(n){let a=n.parentElement;for(;a;){const i=getComputedStyle(a);(Mv.has(i.overflowX)||Mv.has(i.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const a=this.scrollPositions.get(n);if(!a)return;const i=n===window,o=i?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},c={x:o.x-a.x,y:o.y-a.y};
vendor: 16,374 bytes, line 34
34c.x===0&&c.y===0||(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(n,o),He.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Cs(this.updatePoint)}}function Tf(e,n){return n?{point:n(e.point)}:e}function Ov(e,n){return{x:e.x-n.x,y:e.y-n.y}}function Af({point:e},n){return{point:e,delta:Ov(e,ES(n)),offset:Ov(e,L5(n)),velocity:z5(n,.1)}}function L5(e){return e[0]}function ES(e){return e[e.length-1]}function z5(e,n){if(e.length<2)return{x:0,y:0};let a=e.length-1,i=null;const o=ES(e);for(;a>=0&&(i=e[a],!(o.timestamp-i.timestamp>yn(n)));)a--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&o.timestamp-i.timestamp>yn(n)*2&&(i=e[1]);const c=nn(o.timestamp-i.timestamp);if(c===0)return{x:0,y:0};const f={x:(o.x-i.x)/c,y:(o.y-i.y)/c};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function V5(e,{min:n,max:a},i){return n!==void 0&&e<n?e=i?Ye(n,e,i.min):Math.max(e,n):a!==void 0&&e>a&&(e=i?Ye(a,e,i.max):Math.min(e,a)),e}function Pv(e,n,a){return{min:n!==void 0?e.min+n:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function B5(e,{top:n,left:a,bottom:i,right:o}){return{x:Pv(e.x,a,o),y:Pv(e.y,n,i)}}function Dv(e,n){let a=n.min-e.min,i=n.max-e.max;return n.max-n.min<e.max-e.min&&([a,i]=[i,a]),{min:a,max:i}}function I5(e,n){return{x:Dv(e.x,n.x),y:Dv(e.y,n.y)}}function H5(e,n){let a=.5;const i=Ct(e),o=Ct(n);return o>i?a=Vr(n.min,n.max-i,e.min):i>o&&(a=Vr(e.min,e.max-o,n.min)),kn(0,1,a)}function G5(e,n){const a={};return n.min!==void 0&&(a.min=n.min-e.min),n.max!==void 0&&(a.max=n.max-e.min),a}const dh=.35;function q5(e=dh){return e===!1?e=0:e===!0&&(e=dh),{x:Uv(e,"left","right"),y:Uv(e,"top","bottom")}}function Uv(e,n,a){return{min:Lv(e,n),max:Lv(e,a)}}function Lv(e,n){return typeof e=="number"?e:e[n]||0}const F5=new WeakMap;class Y5{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:a=!1,distanceThreshold:i}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const c=x=>{a&&this.snapToCursor(eo(x).point),this.stopAnimation()},f=(x,b)=>{const{drag:A,dragPropagation:_,onDragStart:j}=this.getProps();if(A&&!_&&(this.openDragLock&&this.openDragLock(),this.openDragLock=bO(A),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),An(O=>{let N=this.getAxisMotionValue(O).get()||0;if(En.test(N)){const{projection:R}=this.visualElement;if(R&&R.layout){const H=R.layout.layoutBox[O];H&&(N=Ct(H)*(parseFloat(N)/100))}}this.originPoint[O]=N}),j&&He.update(()=>j(x,b),!1,!0),nh(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},m=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b;const{dragPropagation:A,dragDirectionLock:_,onDirectionLock:j,onDrag:E}=this.getProps();if(!A&&!this.openDragLock)return;const{offset:O}=b;if(_&&this.currentDirection===null){this.currentDirection=$5(O),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",b.point,O),this.updateAxis("y",b.point,O),this.visualElement.render(),E&&He.update(()=>E(x,b),!1,!0)},p=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b,this.stop(x,b),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new AS(n,{onSessionStart:c,onStart:f,onMove:m,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:i,contextWindow:TS(this.visualElement),element:this.visualElement.current})}stop(n,a){const i=n||this.latestPointerEvent,o=a||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!i)return;const{velocity:f}=o;this.startAnimation(f);const{onDragEnd:m}=this.getProps();m&&He.postRender(()=>m(i,o))}cancel(){this.isDragging=!1;const{projection:n,animationState:a}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,a,i){const{drag:o}=this.getProps();if(!i||!El(n,o,this.currentDirection))return;const c=this.getAxisMotionValue(n);let f=this.originPoint[n]+i[n];this.constraints&&this.constraints[n]&&(f=V5(f,this.constraints[n],this.elastic[n])),c.set(f)}resolveConstraints(){const{dragConstraints:n,dragElastic:a}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;n&&Ji(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=B5(i.layoutBox,n):this.constraints=!1,this.elastic=q5(a),o!==this.constraints&&!Ji(n)&&i&&this.constraints&&!this.hasMutatedConstraints&&An(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=G5(i.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:a}=this.getProps();if(!n||!Ji(n))return!1;const i=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=WO(i,o.root,this.visualElement.getTransformPagePoint());let f=I5(o.layout.layoutBox,c);if(a){const m=a(YO(f));this.hasMutatedConstraints=!!m,m&&(f=$w(m))}return f}startAnimation(n){const{drag:a,dragMomentum:i,dragElastic:o,dragTransition:c,dragSnapToOrigin:f,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},g=An(y=>{if(!El(y,a,this.currentDirection))return;let x=p&&p[y]||{};f&&(x={min:0,max:0});const b=o?200:1e6,A=o?40:1e7,_={type:"inertia",velocity:i?n[y]:0,bounceStiffness:b,bounceDamping:A,timeConstant:750,restDelta:1,restSpeed:10,...c,...x};return this.startAxisValueAnimation(y,_)});return Promise.all(g).then(m)}startAxisValueAnimation(n,a){const i=this.getAxisMotionValue(n);return nh(this.visualElement,n),i.start(tm(n,i,0,a,this.visualElement,!1))}stopAnimation(){An(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const a=`_drag${n.toUpperCase()}`,i=this.visualElement.getProps(),o=i[a];return o||this.visualElement.getValue(n,(i.initial?i.initial[n]:void 0)||0)}snapToCursor(n){An(a=>{const{drag:i}=this.getProps();if(!El(a,i,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(a);if(o&&o.layout){const{min:f,max:m}=o.layout.layoutBox[a],p=c.get()||0;c.set(n[a]-Ye(f,m,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:a}=this.getProps(),{projection:i}=this.visualElement;if(!Ji(a)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};An(f=>{const m=this.getAxisMotionValue(f);if(m&&this.constraints!==!1){const p=m.get();o[f]=H5({min:p,max:p},this.constraints[f])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),An(f=>{if(!El(f,n,null))return;const m=this.getAxisMotionValue(f),{min:p,max:g}=this.constraints[f];m.set(Ye(p,g,o[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;F5.set(this.visualElement,this);const n=this.visualElement.current,a=Or(n,"pointerdown",g=>{const{drag:y,dragListener:x=!0}=this.getProps(),b=g.target,A=b!==n&&AO(b);y&&x&&!A&&this.start(g)});let i;const o=()=>{const{dragConstraints:g}=this.getProps();Ji(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),i||(i=K5(n,g.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,f=c.addEventListener("measure",o);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),He.read(o);const m=Gr(window,"resize",()=>this.scalePositionWithinConstraints()),p=c.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:y})=>{this.isDragging&&y&&(An(x=>{const b=this.getAxisMotionValue(x);b&&(this.originPoint[x]+=g[x].translate,b.set(b.get()+g[x].translate))}),this.visualElement.render())}));return()=>{m(),a(),f(),p&&p(),i&&i()}}getProps(){const n=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:f=dh,dragMomentum:m=!0}=n;return{...n,drag:a,dragDirectionLock:i,dragPropagation:o,dragConstraints:c,dragElastic:f,dragMomentum:m}}}function zv(e){let n=!0;return()=>{if(n){n=!1;return}e()}}function K5(e,n,a){const i=qx(e,zv(a)),o=qx(n,zv(a));return()=>{i(),o()}}function El(e,n,a){return(n===!0||n===e)&&(a===null||a===e)}function $5(e,n=10){let a=null;return Math.abs(e.y)>n?a="y":Math.abs(e.x)>n&&(a="x"),a}class W5 extends Rs{constructor(n){super(n),this.removeGroupControls=sn,this.removeListeners=sn,this.controls=new Y5(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||sn}update(){const{dragControls:n}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};n!==a&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ef=e=>(n,a)=>{e&&He.update(()=>e(n,a),!1,!0)};class X5 extends Rs{constructor(){super(...arguments),this.removePointerDownListener=sn}onPointerDown(n){this.session=new AS(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:TS(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:a,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:Ef(n),onStart:Ef(a),onMove:Ef(i),onEnd:(c,f)=>{delete this.session,o&&He.postRender(()=>o(c,f))}}}mount(){this.removePointerDownListener=Or(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let kf=!1;class Q5 extends w.Component{componentDidMount(){const{visualElement:n,layoutGroup:a,switchLayoutGroup:i,layoutId:o}=this.props,{projection:c}=n;c&&(a.group&&a.group.add(c),i&&i.register&&o&&i.register(c),kf&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Gl.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:a,visualElement:i,drag:o,isPresent:c}=this.props,{projection:f}=i;return f&&(f.isPresent=c,n.layoutDependency!==a&&f.setOptions({...f.options,layoutDependency:a}),kf=!0,o||n.layoutDependency!==a||a===void 0||n.isPresent!==c?f.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?f.promote():f.relegate()||He.postRender(()=>{const m=f.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),am.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:a,switchLayoutGroup:i}=this.props,{projection:o}=n;kf=!0,o&&(o.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function kS(e){const[n,a]=gS(),i=w.useContext(zh);return u.jsx(Q5,{...e,layoutGroup:i,switchLayoutGroup:w.useContext(jS),isPresent:n,safeToRemove:a})}const Z5={pan:{Feature:X5},drag:{Feature:W5,ProjectionNode:pS,MeasureLayout:kS}};function Vv(e,n,a){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",a==="Start");const o="onHover"+a,c=i[o];c&&He.postRender(()=>c(n,eo(n)))}class J5 extends Rs{mount(){const{current:n}=this.node;n&&(this.unmount=SO(n,(a,i)=>(Vv(this.node,i,"Start"),o=>Vv(this.node,o,"End"))))}unmount(){}}class eP extends Rs{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=Qr(Gr(this.node.current,"focus",()=>this.onFocus()),Gr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Bv(e,n,a){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",a==="Start");const o="onTap"+(a==="End"?"":a),c=i[o];c&&He.postRender(()=>c(n,eo(n)))}class tP extends Rs{mount(){const{current:n}=this.node;if(!n)return;const{globalTapTarget:a,propagate:i}=this.node.props;this.unmount=kO(n,(o,c)=>(Bv(this.node,c,"Start"),(f,{success:m})=>Bv(this.node,f,m?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:i?.tap===!1})}unmount(){}}const fh=new WeakMap,Cf=new WeakMap,nP=e=>{const n=fh.get(e.target);n&&n(e)},sP=e=>{e.forEach(nP)};function iP({root:e,...n}){const a=e||document;Cf.has(a)||Cf.set(a,{});const i=Cf.get(a),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(sP,{root:e,...n})),i[o]}function aP(e,n,a){const i=iP(n);return fh.set(e,a),i.observe(e),()=>{fh.delete(e),i.unobserve(e)}}const rP={some:0,all:1};class oP extends Rs{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:a,margin:i,amount:o="some",once:c}=n,f={root:a?a.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:rP[o]},m=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:x}=this.node.getProps(),b=g?y:x;b&&b(p)};return aP(this.node.current,f,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:a}=this.node;["amount","margin","root"].some(lP(n,a))&&this.startObserver()}unmount(){}}function lP({viewport:e={}},{viewport:n={}}={}){return a=>e[a]!==n[a]}const cP={inView:{Feature:oP},tap:{Feature:tP},focus:{Feature:eP},hover:{Feature:J5}},uP={layout:{ProjectionNode:pS,MeasureLayout:kS}},dP={...P5,...cP,...Z5,...uP},Iv=C5(dP,N5),J="#f97316",ri="#f5f0ea",Nf="#1c1917",Q3="#7c3aed",Z3="#0891b2";function an(e=.25){const n=w.useRef(null),[a,i]=w.useState(!1);return w.useEffect(()=>{if(!n.current||a)return;const o=new IntersectionObserver(([c])=>{c.isIntersecting&&(i(!0),o.disconnect())},{threshold:e});return o.observe(n.current),()=>o.disconnect()},[a,e]),[n,a]}const la=({size:e=20})=>u.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:u.jsx("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.843-3.371 2.019-1.168a.
34076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.4-.679zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08-4.778 2.758a.795.795 0 0 0-.393.681zm1.097-2.365l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z",fill:"#10a37f"})}),ca=({size:e=20})=>u.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",children:u.jsx("path",{d:"M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z",fill:"#22B8CD",fillRule:"nonzero"})}),ua=({size:e=20})=>u.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",children:[u.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),u.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),u.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),u.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),hh=({light:e=!1})=>u.jsx("img",{src:e?"/jasno-logo-white.svg":"/jasno-logo.svg",alt:"Jasno",className:"h-8 object-contain"});function qr({to:e,suffix:n="",duration:a=1500}){const[i,o]=an(.3),[c,f]=w.useState(0);return w.useEffect(()=>{if(!o)return;const m=performance.now();let p=0;const g=y=>{const x=Math.min(1,(y-m)/a),b=1-Math.pow(1-x,3);f(Math.round(e*b)),x<1&&(p=requestAnimationFrame(g))};return p=requestAnimationFrame(g),()=>cancelAnimationFrame(p)},[e,a,o]),u.jsxs("span",{ref:i,children:[c,n]})}const fP=()=>u.jsxs("div",{className:"flex items-center justify-center gap-2 py-2",children:[u.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-stone-300"}),u.jsx("span",{className:"w-1.5 h-1.5 rounded-full",style:{background:J}}),u.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-stone-300"})]});function kl({num:e,label:n,color:a=J}){return u.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[u.jsxs("div",{className:"relative flex items-center justify-center w-12 h-12 rounded-2xl text-base font-black text-white shadow-lg",style:{background:a},children:[e,u.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-3 h-3 rounded-full bg-white border-2",style:{borderColor:a}})]}),u.jsx("div",{className:"text-sm font-bold uppercase tracking-[0.25em]",style:{color:a},children:n})]})}const ei=({color:e=J})=>u.jsx("span",{className:"inline-block w-3 h-3 rounded-full bg-white border-[2.5px] mt-1.5 shrink-0 flex-none",style:{borderColor:e}}),ti=({size:e=60,opacity:n=.08,color:a=J})=>u.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:a,style:{opacity:n},children:u.jsx("path",{d:"M12 2L13.5 8.5L20 10L13.5 11.5L12 18L10.5 11.5L4 10L10.5 8.5L12 2Z"})}),mh=({count:e=30,color:n=J,opacity:a=.18})=>u.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",style:{opacity:a},children:Array.from({length:e}).map((i,o)=>{const c=o*37%70-35,f=o*13%100,m=o*23%100,p=80+o*11%220;return u.jsx("div",{className:"absolute h-px",style:{background:`linear-gradient(90deg, transparent, ${n} 50%, transparent)`,top:`${f}%`,left:`${m}%`,width:`${p}px`,transform:`rotate(${c}deg)`}},o)})});function hP({onClick:e,title:n,subtitle:a="14-day free trial. Every feature, every AI engine. No credit card required.",cta:i="Start my 14-day free trial →"}){return u.jsx("section",{className:"px-6 pb-24",style:{background:ri},children:u.jsxs("div",{className:"relative overflow-hidden max-w-5xl mx-auto rounded-[2.5rem] p-12 md:p-16 text-center",style:{background:J},children:[u.jsx(mh,{count:40,color:"white",opacity:.22}),u.jsx("svg",{className:"absolute -bottom-24 -right-16 opacity-20 rotate-12",width:"320",height:"320",viewBox:"0 0 24 24",fill:"white",children:u.jsx("path",{d:"M12 2L13.5 8.5L20 10L13.5 11.5L12 18L10.5 11.5L4 10L10.5 8.5L12 2Z"})}),u.jsx("svg",{className:"absolute -top-12 -left-8 opacity-15 -rotate-12",width:"180",height:"180",viewBox:"0 0 24 24",fill:"white",children:u.jsx("path",{d:"M12 2L13.5 8.5L20 10L13.5 11.5L12 18L10.5 11.5L4 10L10.5 8.5L12 2Z"})}),u.jsxs("div",{className:"relative",children:[u.jsx("h2",{className:"text-4xl md:text-6xl font-black text-white leading-[1.05] mb-5",style:{letterSpacing:"-0.03em"},children:n||u.jsxs(u.Fragment,{children:["Get into the",u.jsx("br",{}),"AI conversation."]})}),u.jsx("p",{className:"text-orange-100 text-lg md:text-xl mb-10 max-w-xl mx-auto",children:a}),u.jsx("button",{onClick:e,className:"bg-white font-black text-lg px-10 md:px-12 py-4 md:py-5 rounded-2xl hover:scale-105 transition shadow-2xl",style:{color:J},children:i})]})]})})}function CS(){const e=w.useId().replace(/:/g,""),n=`scoreGrad-${e}`,a=`chartReveal-${e}`,i=[32,36,41,44,49,53,58,62,68,73,79,84],o=["W1","W2","W3","W4","W5","W6","W7","W8","W9","W10","W11","W12"],c=900,f=240,m=30,p=30,g=30,y=c-m*2,x=f-p-g,b=100,A=y/(i.length-1),_=q=>m+q*A,j=q=>p+x-q/b*x,E=i.map((q,ue)=>`${ue===0?"M":"L"} ${_(ue)}
34 ${j(q)}`).join(" "),O=`${E} L ${_(i.length-1)} ${p+x} L ${_(0)} ${p+x} Z`,N=i.length-1,[R,H]=an(.3),[L,X]=w.useState(null),Q=q=>({chatgpt:Math.min(100,Math.round(q*1.08)),perplexity:Math.max(0,Math.round(q*.93)),google:Math.max(0,Math.round(q*.85))}),I=2200;return u.jsxs("div",{className:"bg-white rounded-3xl border border-stone-200 shadow-2xl relative overflow-hidden",children:[u.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 sm:divide-x divide-stone-100 border-b border-stone-100",children:[u.jsxs("div",{className:"col-span-2 sm:col-span-1 px-4 sm:px-6 py-4 sm:py-5 border-b sm:border-b-0 border-stone-100",children:[u.jsx("div",{className:"flex items-center gap-2 mb-1 flex-wrap",children:u.jsx("span",{className:"text-[10px] sm:text-xs font-bold uppercase tracking-[0.2em] text-stone-400",children:"AI Visibility Score"})}),u.jsxs("div",{className:"flex items-baseline gap-2 flex-wrap",children:[u.jsx("div",{className:"text-5xl sm:text-6xl font-black text-stone-900 tabular-nums leading-none",children:u.jsx(qr,{to:84,duration:1800})}),u.jsx("div",{className:"text-xl font-bold text-stone-400",children:"/ 100"}),u.jsxs("div",{className:"inline-flex items-center gap-1 ml-1 bg-emerald-50 border border-emerald-200 text-emerald-700 text-[11px] font-bold px-2 py-0.5 rounded-full",children:[u.jsx("span",{children:"↑"})," +14"]})]})]}),u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 flex flex-col justify-center",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mb-1",children:"90-day change"}),u.jsx("div",{className:"text-xl sm:text-2xl font-black tabular-nums",style:{color:J},children:"+162%"}),u.jsx("div",{className:"text-[10px] text-stone-500",children:"vs prior period"})]}),u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 flex flex-col justify-center",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mb-1",children:"Citations"}),u.jsx("div",{className:"text-xl sm:text-2xl font-black text-stone-900 tabular-nums",children:"1,284"}),u.jsx("div",{className:"text-[10px] text-emerald-600 font-semibold",children:"↑ 38 this week"})]}),u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 flex flex-col justify-center",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mb-1",children:"Latest run"}),u.jsxs("div",{className:"flex items-center gap-1.5 text-emerald-600 font-bold text-sm",children:[u.jsx("span",{className:"w-2 h-2 rounded-full bg-emerald-500 animate-pulse"}),"2 hrs ago"]}),u.jsx("div",{className:"text-[10px] text-stone-500",children:"Auto-scheduled"})]})]}),u.jsxs("div",{className:"relative px-6 pt-6 pb-2",children:[u.jsxs("div",{className:"flex items-center justify-between mb-2",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-sm font-bold text-stone-900",children:"Visibility trend · last 12 weeks"}),u.jsx("div",{className:"text-[11px] text-stone-400",children:"Score across ChatGPT, Perplexity, and Google AI Overviews"})]}),u.jsx("div",{className:"hidden sm:block text-[11px] text-stone-400 font-medium",children:"Hover any week to drill in →"})]}),u.jsxs("svg",{ref:R,viewBox:`0 0 ${c} ${f}`,className:"w-full h-[180px] sm:h-[220px] md:h-[260px]",preserveAspectRatio:"xMidYMid meet",children:[u.jsxs("defs",{children:[u.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"0",y2:"1",children:[u.jsx("stop",{offset:"0%",stopColor:J,stopOpacity:"0.35"}),u.jsx("stop",{offset:"100%",stopColor:J,stopOpacity:"0"})]}),u.jsx("clipPath",{id:a,children:u.jsx("rect",{x:m,y:"0",width:H?y:0,height:f,style:{transition:`width ${I}ms cubic-bezier(0.22, 1, 0.36, 1)`}})})]}),[0,25,50,75,100].map(q=>u.jsxs("g",{children:[u.jsx("line",{x1:m,y1:j(q),x2:c-m,y2:j(q),stroke:"#f5f5f4",strokeWidth:"1"}),u.jsx("text",{x:m-8,y:j(q)+4,textAnchor:"end",fill:"#a8a29e",fontSize:"11",fontWeight:"600",children:q})]},q)),u.jsxs("g",{clipPath:`url(#${a})`,children:[u.jsx("path",{d:O,fill:`url(#${n})`}),u.jsx("path",{d:E,stroke:J,strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),i.map((q,ue)=>u.jsx("circle",{cx:_(ue),cy:j(q),r:"3.5",fill:"white",stroke:J,strokeWidth:"2"},ue))]}),u.jsxs("g",{style:{opacity:H&&L===null?1:0,transition:`opacity 400ms ease ${L===null?I-200:0}ms`,pointerEvents:"none"},children:[u.jsx("circle",{cx:_(N),cy:j(i[N]),r:"7",fill:J}),u.jsxs("circle",{cx:_(N),cy:j(i[N]),r:"14",fill:"none",stroke:J,strokeWidth:"1.5",opacity:"0.4",children:[u.jsx("animate",{attributeName:"r",values:"8;20;
348",dur:"2.2s",repeatCount:"indefinite"}),u.jsx("animate",{attributeName:"opacity",values:"0.6;0;0.6",dur:"2.2s",repeatCount:"indefinite"})]}),u.jsxs("g",{transform:`translate(${_(N)-30}, ${j(i[N])-38})`,children:[u.jsx("rect",{width:"60",height:"24",rx:"6",fill:Nf}),u.jsx("text",{x:"30",y:"16",textAnchor:"middle",fill:"white",fontSize:"11",fontWeight:"700",children:"84 today"}),u.jsx("path",{d:"M 26 24 L 30 30 L 34 24 Z",fill:Nf})]})]}),L!==null&&(()=>{const q=_(L),ue=j(i[L]),se=Q(i[L]),fe=168,Be=92,Ze=Math.min(Math.max(q-fe/2,m),c-m-fe),B=ue-Be-16>4?ue-Be-14:ue+14;return u.jsxs("g",{style:{pointerEvents:"none"},children:[u.jsx("line",{x1:q,y1:p,x2:q,y2:p+x,stroke:J,strokeWidth:"1",strokeDasharray:"4 3",opacity:"0.5"}),u.jsx("circle",{cx:q,cy:ue,r:"6.5",fill:J,stroke:"white",strokeWidth:"2"}),u.jsxs("g",{transform:`translate(${Ze}, ${B})`,children:[u.jsx("rect",{width:fe,height:Be,rx:"8",fill:Nf,opacity:"0.96"}),u.jsxs("text",{x:"12",y:"20",fill:"#a8a29e",fontSize:"10",fontWeight:"700",letterSpacing:"1",children:[o[L].toUpperCase()," · VISIBILITY"]}),u.jsxs("text",{x:"12",y:"42",fill:"white",fontSize:"18",fontWeight:"800",children:[i[L]," / 100"]}),u.jsxs("text",{x:"12",y:"62",fill:"#d6d3d1",fontSize:"10",fontWeight:"600",children:["ChatGPT ",se.chatgpt," · Perplexity ",se.perplexity]}),u.jsxs("text",{x:"12",y:"78",fill:"#d6d3d1",fontSize:"10",fontWeight:"600",children:["Google AI Overviews ",se.google]})]})]})})(),i.map((q,ue)=>u.jsx("rect",{x:_(ue)-A/2,y:0,width:A,height:f,fill:"transparent",onMouseEnter:()=>X(ue),onMouseLeave:()=>X(null)},`hit-${ue}`))]}),u.jsx("div",{className:"flex justify-between text-[10px] text-stone-400 px-7 mt-1 font-medium",children:o.map(q=>u.jsx("span",{children:q},q))})]}),u.jsx("div",{className:"grid grid-cols-3 divide-x divide-stone-100 border-t border-stone-100",children:[{p:"ChatGPT",v:91,c:"#10a37f",I:la,d:"+8"},{p:"Perplexity",v:78,c:"#22B8CD",I:ca,d:"+12"},{p:"Google AI",v:71,c:"#4285F4",I:ua,d:"+19"}].map(q=>u.jsxs("div",{className:"px-3 sm:px-5 py-4",children:[u.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[u.jsx(q.I,{size:16}),u.jsx("span",{className:"text-xs font-bold text-stone-700",children:q.p}),u.jsxs("span",{className:"ml-auto text-[10px] font-bold text-emerald-600",children:["↑ ",q.d]})]}),u.jsxs("div",{className:"flex items-baseline gap-1 mb-1.5",children:[u.jsx("span",{className:"text-2xl font-black text-stone-900 tabular-nums",children:q.v}),u.jsx("span",{className:"text-[10px] text-stone-400",children:"/ 100"})]}),u.jsx("div",{className:"h-1.5 bg-stone-100 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full rounded-full transition-all",style:{width:`${q.v}%`,background:q.c}})})]},q.p))})]})}function Hv(){const e={ChatGPT:la,Perplexity:ca,Google:ua},n=[{prompt:"Best CRM for startups",platform:"ChatGPT",rank:1,m:4},{prompt:"Best CRM for startups",platform:"Perplexity",rank:2,m:3},{prompt:"Top sales automation tools",platform:"Perplexity",rank:1,m:5},{prompt:"AI lead-gen platforms",platform:"ChatGPT",rank:2,m:3},{prompt:"Modern outreach software",platform:"ChatGPT",rank:1,m:6},{prompt:"Modern outreach software",platform:"Google",rank:3,m:1}];return u.jsxs("div",{className:"bg-white rounded-2xl border border-stone-200 shadow-2xl overflow-hidden",children:[u.jsxs("div",{className:"px-5 py-4 border-b border-stone-100 flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Prompts"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"Per-prompt performance"})]}),u.jsxs("div",{className:"text-xs text-stone-400 font-medium hidden sm:block",children:["Topic: ",u.jsx("span",{className:"text-stone-700 font-semibold",children:"SaaS / CRM"})]})]}),u.jsxs("table",{className:"w-full text-sm",children:[u.jsx("thead",{className:"bg-stone-50 text-[11px] uppercase tracking-widest text-stone-500 font-bold",children:u.jsxs("tr",{children:[u.jsx("th",{className:"text-left py-2.5 px-3",children:"Prompt"}),u.jsx("th",{className:"text-left py-2.5 px-2",children:"Platform"}),u.jsx("th",{className:"py-2.5 px-2 text-center",children:"Rank"}),u.jsx("th",{className:"py-2.5 px-2 text-center",children:"Mentions"})]})}),u.jsx("tbody",{children:n.map((a,i)=>{const o=e[a.platform];return u.jsxs("tr",{className:`border-t border-stone-100 ${i%2===0?"bg-white":"bg-stone-50/40"}`,children:[u.jsx("td",{className:"py-2.5 px-3 text-stone-700 font-medium text-xs",children:a.prompt}),u.jsx("td",{className:"py-2.5 px-2",children:u.jsxs("div",{className:"inline-flex items-center gap-1 text-xs text-stone-700 font-semibold",children:[u.jsx(o,{size:11}),a.platform]})}),u.jsx("td",{className:"py-2.5 px-2 text-center",children:u.jsxs("span",{className:`text-[11px] font-black px-1.5 py-0.5 rounded ${a.rank===1?"bg-orange-100 text-orange-700":"bg-stone-100 text-stone-600"}`,children:["#",a.rank]})}),u.jsx("td",{className:"py-2.5 px-2 text-center text-[11px] text-emerald-600 font-bold tabular-nums",children:a.m})]},i)})})]})]})}function mP(){const e=w.useId().replace(/:/g,""),n=`brandGrad-${e}`,a=`timelineReveal-${e}`,i=[{x:30,brand:130},{x:100,brand:115},{x:170,brand:100},{x:240,brand:88},{x:310,brand:72},{x:380,brand:55},{x:450,brand:40},{x:520,brand:28}],o=p=>i.map((g,y)=>`${y===0?"M":"L"} ${g.x} ${g[p]}`).join(" "),[c,f]=an(.3),m=2e3;return u.jsxs("div",{className:"bg-white rounded-2xl border border-stone-200 shadow-2xl p-6",children:[u.jsxs("div",{className:"flex items-center justify-between mb-5",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Visibility Timeline"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"8-week brand visibility growth"})]}),u.jsx("div",{className:"hidden sm:flex items-center gap-4 text-[11px] font-semibold",children:u.jsxs("div",{className:"flex items-center gap-1.5",children:[u.jsx("span",{className:"w-3 h-0.5 rounded-full",style:{background:J}}),u.jsx("span",{className:"text-stone-700",children:"Acme Corp"})]})})]}),u.jsxs("svg",{ref:c,viewBox:"0 0 560 180",className:"w-full h-44",children:[u.jsxs("defs",{children:[u.jsxs("linearGradient",{id:n,x1:"0",y1:"0",x2:"0",y2:"1",children:[u.jsx("stop",{offset:"0%",stopColor:J,stopOpacity:"0.25"}),u.jsx("stop",{offset:"100%",stopColor:J,stopOpacity:"0"})]}),u.jsx("clipPath",{id:a,children:u.jsx("rect",{x:"0",y:"0",width:f?560:0,height:"180",style:{transition:`width ${m}ms cubic-bezier(0.22, 1, 0.36, 1)`}})})]}),[40,80,120,160].map(p=>u.jsx("line",{x1:"0",y1:p,x2:"560",y2:p,stroke:"#f5f5f4",strokeWidth:"1"},p)),u.jsxs("g",{clipPath:`url(#${a})`,children:[u.jsx("path",{d:`${o("brand")} L 520 180 L 30 180 Z`,fill:`url(#${n})`}),u.jsx("path",{d:o("brand"),stroke:J,strokeWidth:"3",fill:"none"}),i.map((p,g)=>u.jsx("circle",{cx:p.x,cy:p.brand,r:"5",fill:"white",stroke:J,strokeWidth:"2.5"},g))]}),u.jsx("g",{style:{opacity:f?1:0,transition:`opacity 400ms ease ${m-200}ms`},children:u.jsxs("circle",{cx:i[i.length-1].x,cy:i[i.length-1].brand,r:"9",fill:"none",stroke:J,strokeWidth:"1",opacity:"0.3",children:[u.jsx("animate",{attributeName:"r",values:"6;14;
346",dur:"2s",repeatCount:"indefinite"}),u.jsx("animate",{attributeName:"opacity",values:"0.6;0;0.6",dur:"2s",repeatCount:"indefinite"})]})})]}),u.jsx("div",{className:"flex justify-between text-[10px] text-stone-400 mt-2 px-1",children:["W1","W2","W3","W4","W5","W6","W7","W8"].map(p=>u.jsx("span",{children:p},p))})]})}function pP(){const e=[{name:"Acme Corp",v:42,c:J},{name:"Competitor A",v:22,c:"#94a3b8"},{name:"Competitor B",v:18,c:"#cbd5e1"},{name:"Competitor C",v:12,c:"#e2e8f0"},{name:"Other",v:6,c:"#f1f5f9"}],n=100,a=100,i=80,o=50;let c=0;const f=e.reduce((y,x)=>y+x.v,0),m=e.map(y=>{const x=c/f*Math.PI*2-Math.PI/2;c+=y.v;const b=c/f*Math.PI*2-Math.PI/2,A=b-x>Math.PI?1:0,_=n+i*Math.cos(x),j=a+i*Math.sin(x),E=n+i*Math.cos(b),O=a+i*Math.sin(b),N=n+o*Math.cos(b),R=a+o*Math.sin(b),H=n+o*Math.cos(x),L=a+o*Math.sin(x);return{d:`M ${_} ${j} A ${i} ${i} 0 ${A} 1 ${E} ${O} L ${N} ${R} A ${o} ${o} 0 ${A} 0 ${H} ${L} Z`,c:y.c,name:y.name}}),[p,g]=an(.3);return u.jsxs("div",{ref:p,className:"bg-white rounded-2xl border border-stone-200 shadow-2xl p-6",children:[u.jsxs("div",{className:"mb-5",children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Share of Voice"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"Brand vs. competitors across all prompts"})]}),u.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-6",children:[u.jsxs("div",{className:"relative shrink-0 w-[200px] max-w-full",style:{transform:g?"scale(1) rotate(0deg)":"scale(0.6) rotate(-90deg)",opacity:g?1:0,transition:"transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease"},children:[u.jsx("svg",{className:"w-full h-auto",viewBox:"0 0 200 200",children:m.map((y,x)=>u.jsx("path",{d:y.d,fill:y.c,stroke:"white",strokeWidth:"2",style:{filter:x===0?`drop-shadow(0 4px 12px ${J}40)`:""}},x))}),u.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center pointer-events-none",children:[u.jsxs("div",{className:"text-3xl font-black text-stone-900 tabular-nums",children:[u.jsx(qr,{to:42}),"%"]}),u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mt-1",children:"Your share"})]})]}),u.jsx("div",{className:"flex-1 space-y-2.5",children:e.map((y,x)=>u.jsxs("div",{className:"flex items-center justify-between text-sm",style:{opacity:g?1:0,transform:g?"translateX(0)":"translateX(12px)",transition:`opacity 500ms ease ${400+x*100}ms, transform 500ms ease ${400+x*100}ms`},children:[u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx("span",{className:"w-3 h-3 rounded-sm",style:{background:y.c}}),u.jsx("span",{className:y.name==="Acme Corp"?"font-bold text-stone-900":"text-stone-600",children:y.name})]}),u.jsxs("span",{className:"font-bold text-stone-900 tabular-nums",children:[y.v,"%"]})]},y.name))})]})]})}function gP(){const e=[{n:1,title:"Add a pricing-comparison table to /pricing",evidence:"ChatGPT cites competitor pricing pages more often than yours.",color:J,status:"todo"},{n:2,title:"Create a guide: 'CRM vs. spreadsheet' comparison",evidence:"AI engines surface this question regularly - you have no answer page.",color:"#a855f7",status:"todo"},{n:3,title:"Add schema markup to /features/automation",evidence:"Page is being skipped - competitors get cited from this query instead.",color:J,status:"done"}];return u.jsxs("div",{className:"space-y-3",children:[u.jsxs("div",{className:"bg-white rounded-2xl border border-stone-200 shadow-lg p-4 flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Recommendations"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"12 prioritised actions ready"})]}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx("div",{className:"hidden sm:block text-xs text-stone-400",children:"Sorted by impact"}),u.jsx("span",{className:"text-xs px-2 py-1 rounded-full font-bold",style:{background:`${J}15`,color:J},children:"AI-generated"})]})]}),e.map(n=>u.jsxs("div",{className:`bg-white rounded-2xl shadow-xl p-5 flex items-start gap-4 border-l-4 ${n.status==="done"?"opacity-70":""}`,style:{borderLeftColor:n.status==="done"?"#10b981":n.color},children:[u.jsx("div",{className:"w-9 h-9 rounded-full bg-stone-100 flex items-center justify-center text-sm font-black text-stone-700 shrink-0",children:n.status==="done"?u.jsx("span",{className:"text-emerald-600",children:"✓"}):n.n}),u.jsxs("div",{className:"flex-1 space-y-2",children:[u.jsx("div",{className:`font-bold text-stone-900 ${n.status==="done"?"line-through decoration-stone-400":""}`,children:n.title}),u.jsxs("div",{className:"bg-amber-50 border border-amber-100 rounded-lg p-3 text-[12px] text-stone-700 flex gap-2",children:[u.jsx("span",{className:"text-amber-600 font-bold whitespace-nowrap",children:"💡 Why:"}),u.jsx("span",{children:n.evidence})]})]})]},n.n))]})}const yP=({n:e})=>u.jsxs("span",{className:"inline-flex items-center gap-0.5 text-[10px] font-bold text-stone-500",children:[u.jsx("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:u.jsx("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),e]}),xP=({initials:e,color:n})=>u.jsx("span",{className:"flex-none w-5 h-5 rounded-full flex items-center justify-center text-[8px] font-black text-white",style:{background:n},children:e}),Gv={"Quick win":"#10b981","Page update":J,"New page":"#7c3aed"};function J3(){const e=[{name:"Suggested",dot:"#94a3b8",cards:[{t:"Add a pricing-comparison table to /pricing",k:"Page update",c:2},{t:"Create a 'CRM vs spreadsheet' guide",k:"New page"}
34,{t:"Add FAQ schema to /pricing",k:"Quick win"}]},{name:"Planned",dot:"#0891b2",cards:[{t:"Refresh /features/automation copy",k:"Page update",a:["MW","#7c3aed"],d:"Jun 14",c:1},{t:"Publish integrations comparison",k:"New page",a:["SP","#0891b2"]}]},{name:"In Progress",dot:J,cards:[{t:"Add schema markup to /product",k:"Quick win",a:["PP","#10b981"],c:3},{t:"Write an outreach playbook",k:"New page",a:["MW","#7c3aed"]}]},{name:"In Review",dot:"#f59e0b",cards:[{t:"Update homepage H1 + meta",k:"Page update",a:["SC",J],c:5}]},{name:"Published",dot:"#10b981",cards:[{t:"Launch /vs-competitor page",k:"New page",a:["SP","#0891b2"],c:2,done:!0}]}],[n,a]=an(.2);let i=-1;return u.jsxs("div",{ref:n,className:"bg-white rounded-3xl border border-stone-200 shadow-2xl overflow-hidden",children:[u.jsxs("div",{className:"flex items-center justify-between gap-3 px-5 py-4 border-b border-stone-100 flex-wrap",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400",children:"Content Hub"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"9 actions across 5 stages"})]}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsxs("div",{className:"hidden sm:inline-flex bg-stone-100 rounded-full p-1 text-[11px] font-semibold",children:[u.jsx("span",{className:"px-3 py-1 rounded-full bg-white shadow text-stone-900",children:"Board"}),u.jsx("span",{className:"px-3 py-1 rounded-full text-stone-500",children:"List"}),u.jsx("span",{className:"px-3 py-1 rounded-full text-stone-500",children:"Calendar"})]}),u.jsxs("span",{className:"inline-flex items-center gap-1.5 text-[11px] font-bold text-white px-3 py-1.5 rounded-full",style:{background:J},children:[u.jsx("span",{className:"text-sm leading-none",children:"✦"})," Generate Suggestions"]})]})]}),u.jsx("div",{className:"overflow-x-auto",children:u.jsx("div",{className:"flex gap-3 p-4 min-w-[760px]",children:e.map(o=>u.jsxs("div",{className:"flex-1 min-w-[148px] rounded-xl bg-stone-50/70 border border-stone-100 p-2",children:[u.jsxs("div",{className:"flex items-center gap-1.5 px-1 py-1.5 mb-1",children:[u.jsx("span",{className:"w-2 h-2 rounded-full",style:{background:o.dot}}),u.jsx("span",{className:"text-[11px] font-bold text-stone-700",children:o.name}),u.jsx("span",{className:"ml-auto text-[10px] font-bold text-stone-400 tabular-nums",children:o.cards.length})]}),u.jsx("div",{className:"space-y-2",children:o.cards.map((c,f)=>{i+=1;const m=120+i*70;return u.jsxs("div",{className:"bg-white rounded-lg border border-stone-200 shadow-sm p-2.5 space-y-2",style:{opacity:a?1:0,transform:a?"translateY(0)":"translateY(8px)",transition:`opacity 420ms ease ${m}ms, transform 420ms cubic-bezier(0.22,1,0.36,1) ${m}ms`},children:[u.jsx("div",{className:`text-[11px] font-semibold leading-snug ${c.done?"text-stone-400 line-through":"text-stone-800"}`,children:c.t}),u.jsxs("div",{className:"flex items-center justify-between gap-1.5",children:[u.jsx("span",{className:"inline-flex items-center text-[9px] font-bold uppercase tracking-wider px-1.5 py-0.5 rounded-full",style:{color:Gv[c.k],background:`${Gv[c.k]}15`},children:c.k}),u.jsxs("div",{className:"flex items-center gap-1.5",children:[c.c!=null&&u.jsx(yP,{n:c.c}),c.done?u.jsx("span",{className:"flex-none w-5 h-5 rounded-full flex items-center justify-center text-[9px] font-black text-white bg-emerald-500",children:"✓"}):c.a?u.jsx(xP,{initials:c.a[0],color:c.a[1]}):null]})]}),c.d&&u.jsxs("div",{className:"inline-flex items-center gap-1 text-[9px] font-semibold text-stone-500 bg-stone-100 rounded px-1.5 py-0.5",children:["📅 ",c.d]})]},f)})})]},o.name))})})]})}function vP(){const e=[{topic:"SaaS CRM",v:78},{topic:"Sales tools",v:64},{topic:"Lead gen",v:51},{topic:"Outreach",v:42},{topic:"Automation",v:28},{topic:"Analytics",v:12}],n=Math.max(...e.map(o=>o.v)),[a,i]=an(.3);return u.jsxs("div",{ref:a,className:"bg-white rounded-2xl border border-stone-200 shadow-2xl p-6",children:[u.jsxs("div",{className:"flex items-center justify-between mb-5",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Topic performance"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"Where you win - and where you don't"})]}),u.jsx("span",{className:"hidden sm:inline-flex text-[10px] font-bold uppercase tracking-widest px-2 py-1 rounded-full bg-orange-50 text-orange-700",children:"visibility %"})]}),u.jsx("div",{className:"space-y-2.5",children:e.map((o,c)=>u.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[u.jsx("div",{className:"w-24 text-right text-stone-600 text-xs font-medium",children:o.topic}),u.jsx("div",{className:"flex-1 bg-stone-50 rounded h-7 relative overflow-hidden",children:u.jsx("div",{className:"absolute inset-y-0 left-0 rounded flex items-center justify-end pr-2",style:{width:i?`${o.v/n*100}%`:"0%",background:o.v>50?J:`${J}80`,transition:`width 900ms cubic-bezier(0.22, 1, 0.36, 1) ${c*90}ms`},children:u.jsxs("span",{className:"text-[11px] font-bold text-white",style:{opacity:i?1:0,transition:`opacity 300ms ease ${c*90+700}ms`},children:[o.v,"%"]})})})]},o.topic))})]})}function eD(){const e=[{q:"best crm for small startups",impr:"12,400",clicks:412,pos:3.2,intent:"commercial",ai:"High"},{q:"how to track ai search visibility",impr:"8,910",clicks:287,pos:4.1,intent:"informational",ai:"High"},{q:"crm vs spreadsheet comparison",impr:"6,330",clicks:198,pos:5.7,intent:"commercial",ai:"High"},{q:"sales outreach tool reviews",impr:"4,820",clicks:142,pos:6.4,intent:"commercial",ai:"Med"},{q:"what is generative engine optimisation",impr:"3,210",clicks:89,pos:7.9,intent:"informational",ai:"Low"}],n={informational:"#0891b2",commercial:J,navigational:"#7c3aed"},a={High:{bg:"bg-orange-100",t:"text-orange-700"},Med:{bg:"bg-amber-50",t:"text-amber-700"},Low:{bg:"bg-stone-100",t:"text-stone-500"}};return u.jsxs("div",{className:"bg-white rounded-2xl border border-stone-200 shadow-2xl overflow-hidden",children:[u.jsxs("div",{className:"px-5 py-4 border-b border-stone-100 flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Search Console"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"Long-tail queries triggering AI overviews"})]}),u.jsx("span",{className:"hidden sm:inline-flex text-[10px] font-bold uppercase tracking-widest px-2 py-1 rounded-full bg-orange-50 text-orange-700",children:"last 28 days"})]}),u.jsx("div",{className:"overflow-x-auto",children:u.jsxs("table",{className:"w-full text-sm min-w-[560px]",children:[u.jsx("thead",{className:"bg-stone-50 text-[11px] uppercase tracking-widest text-stone-500 font-bold",children:u.jsxs("tr",{children:[u.jsx("th",{className:"text-left py-2.5 px-4",children:"Query"}),u.jsx("th",{className:"py-2.5 px-2 text-right",children:"Impr."}),u.jsx("th",{className:"py-2.5 px-2 text-right",children:"Clicks"}),u.jsx("th",{className:"py-2.5 px-2 text-right",children:"Pos."}),u.jsx("th",{className:"py-2.5 px-3 text-left",children:"Intent"}),u.jsx("th",{className:"py-2.5 px-2 text-center",children:"AI likelihood"})]})}),u.jsx("tbody",{children:e.map((i,o)=>u.jsxs("tr",{className:`border-t border-stone-100 ${o%2===0?"bg-white":"bg-stone-50/40"}`,children:[u.jsx("td",{className:"py-3 px-4 text-stone-800 font-medium",children:i.q}),u.jsx("td",{className:"py-3 px-2 text-right text-stone-600 tabular-nums",children:i.impr}),u.jsx("td",{className:"py-3 px-2 text-right text-stone-600 tabular-nums",children:i.clicks}),u.jsx("td",{className:"py-3 px-2 text-right text-stone-600 tabular-nums",children:i.pos}),u.jsx("td",{className:"py-3 px-3",children:u.jsx("span",{className:"text-[11px] font-bold px-2 py-0.5 rounded-full",style:{background:`${n[i.intent]}15`,color:n[i.intent]},children:i.intent})}),u.jsx("td",{className:"py-3 px-2 text-center",children:u.jsx("span",{className:`text-[11px] font-black px-1.5 py-0.5 rounded ${a[i.ai].bg} ${a[i.ai].t}`,children:i.ai}
34)})]},i.q))})]})})]})}function tD(){const e=[{h:"Title",body:`"CRM vs. Spreadsheet: A 2026 Buyer's Guide"`},{h:"Target query",body:"crm vs spreadsheet comparison · 6.3k impr/mo · AI overview triggered"},{h:"Primary entities",body:"CRM, spreadsheet, automation, pipeline, contact management"},{h:"Suggested H2s",body:"• When a CRM beats a spreadsheet  • Hidden costs of spreadsheets  • Migration in 7 steps"}];return u.jsxs("div",{className:"bg-white rounded-2xl border border-stone-200 shadow-2xl overflow-hidden",children:[u.jsxs("div",{className:"px-5 py-4 border-b border-stone-100 flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Content Brief"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"AI-generated outline · ready to ship"})]}),u.jsx("span",{className:"text-[10px] font-bold uppercase tracking-widest px-2 py-1 rounded-full",style:{background:`${J}15`,color:J},children:"High impact"})]}),u.jsxs("div",{className:"p-5 space-y-3",children:[e.map(n=>u.jsxs("div",{className:"border border-stone-100 rounded-xl p-3 bg-stone-50/40",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mb-1",children:n.h}),u.jsx("div",{className:"text-sm text-stone-800 font-medium leading-relaxed",children:n.body})]},n.h)),u.jsxs("div",{className:"flex items-center gap-2 pt-2",children:[u.jsx("button",{className:"text-[11px] font-bold text-white px-3 py-1.5 rounded-lg",style:{background:J},children:"Open brief →"}),u.jsx("button",{className:"text-[11px] font-bold text-stone-700 px-3 py-1.5 rounded-lg border border-stone-200",children:"Copy share link"})]})]})]})}function nD(){const e=[{i:"SP",n:"Sara P.",e:"[email protected]",r:"Owner",c:J},{i:"JM",n:"James M.",e:"[email protected]",r:"Admin",c:"#7c3aed"},{i:"AK",n:"Anya K.",e:"[email protected]",r:"Admin",c:"#0891b2"},{i:"TR",n:"Theo R.",e:"[email protected]",r:"User",c:"#94a3b8"},{i:"EM",n:"Eliza M.",e:"[email protected]",r:"User",c:"#94a3b8"}];return u.jsxs("div",{className:"bg-white rounded-2xl border border-stone-200 shadow-2xl overflow-hidden",children:[u.jsxs("div",{className:"px-5 py-4 border-b border-stone-100 flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400",children:"Team workspace"}),u.jsx("div",{className:"text-base font-bold text-stone-900",children:"5 members · 3 projects · shared plan"})]}),u.jsx("span",{className:"hidden sm:inline-flex text-[10px] font-bold uppercase tracking-widest px-2 py-1 rounded-full bg-emerald-50 text-emerald-700",children:"Acme team"})]}),u.jsxs("div",{className:"p-5 space-y-3",children:[e.map(n=>u.jsxs("div",{className:"flex items-center justify-between p-3 rounded-xl bg-stone-50/60 border border-stone-100",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center text-white text-xs font-black",style:{background:n.c},children:n.i}),u.jsxs("div",{children:[u.jsx("div",{className:"text-sm font-bold text-stone-900",children:n.n}),u.jsx("div",{className:"text-[11px] text-stone-500",children:n.e})]})]}),u.jsx("span",{className:"text-[11px] font-bold uppercase tracking-widest px-2 py-1 rounded-full bg-stone-100 text-stone-600",children:n.r})]},n.i)),u.jsxs("div",{className:"flex items-center justify-between pt-2 px-1",children:[u.jsx("div",{className:"text-xs text-stone-500",children:"Active prompts · across team"}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx("div",{className:"w-32 h-2 bg-stone-100 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full rounded-full",style:{width:"64%",background:J}})}),u.jsx("span",{className:"text-xs font-bold text-stone-700 tabular-nums",children:"64 / 100"})]})]})]})]})}function sD(){const e="#FF4500",n=w.useId().replace(/:/g,""),a=`redditGrad-${n}`,i=`redditReveal-${n}`,o=[3,5,4,7,9,11,13,16,18],c=["Run 1","","","","","","","","Run 9"],f=900,m=200,p=34,g=24,y=24,x=f-p*2,b=m-g-y,A=20,_=x
34/(o.length-1),j=se=>p+se*_,E=se=>g+b-se/A*b,O=o.map((se,fe)=>`${fe===0?"M":"L"} ${j(fe)} ${E(se)}`).join(" "),N=`${O} L ${j(o.length-1)} ${g+b} L ${j(0)} ${g+b} Z`,R=o.length-1,[H,L]=an(.3),X=2e3,Q=[{s:"r/SaaS",n:6},{s:"r/startups",n:4},{s:"r/Entrepreneur",n:3},{s:"r/marketing",n:2}],I=Math.max(...Q.map(se=>se.n)),q=[{n:"Competitor A",v:9},{n:"Competitor B",v:7},{n:"Competitor C",v:5},{n:"Competitor D",v:4}],ue=Math.max(...q.map(se=>se.v));return u.jsxs("div",{className:"bg-white rounded-3xl border border-stone-200 shadow-2xl relative overflow-hidden",children:[u.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 sm:divide-x divide-stone-100 border-b border-stone-100",children:[u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 border-b sm:border-b-0 border-stone-100",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400 mb-1",children:"Cited threads"}),u.jsx("div",{className:"text-4xl sm:text-5xl font-black text-stone-900 tabular-nums leading-none",children:u.jsx(qr,{to:18,duration:1600})}),u.jsx("div",{className:"text-[10px] text-stone-500 mt-1",children:"from AI analysis runs"})]}),u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 border-b sm:border-b-0 border-stone-100 flex flex-col justify-center",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400 mb-1",children:"Your brand appears"}),u.jsx("div",{className:"text-4xl sm:text-5xl font-black tabular-nums leading-none",style:{color:e},children:"72%"}),u.jsx("div",{className:"text-[10px] text-stone-500 mt-1",children:"13 of 18 threads"})]}),u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 flex flex-col justify-center",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400 mb-1",children:"AI engines"}),u.jsx("div",{className:"text-2xl sm:text-3xl font-black text-stone-900 tabular-nums",children:"3"}),u.jsxs("div",{className:"flex items-center gap-1.5 mt-1.5",children:[u.jsx(la,{size:14}),u.jsx(ca,{size:14}),u.jsx(ua,{size:14})]})]}),u.jsxs("div",{className:"px-4 sm:px-6 py-4 sm:py-5 flex flex-col justify-center",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400 mb-1",children:"Competitor mentions"}),u.jsx("div",{className:"text-2xl sm:text-3xl font-black text-stone-900 tabular-nums",children:"41"}),u.jsx("div",{className:"text-[10px] text-stone-500 mt-1",children:"across all threads"})]})]}),u.jsxs("div",{className:"relative px-6 pt-5 pb-2",children:[u.jsxs("div",{className:"flex items-center justify-between mb-1",children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-sm font-bold text-stone-900",children:"Reddit exposure over time"}),u.jsx("div",{className:"text-[11px] text-stone-400",children:"Cited Reddit threads per scan, building day by day"})]}),u.jsx("span",{className:"hidden sm:inline-flex items-center gap-1 text-[10px] font-bold px-2 py-0.5 rounded-full",style:{background:`${e}15`,color:e},children:"↑ trending up"})]}),u.jsxs("svg",{ref:H,viewBox:`0 0 ${f} ${m}`,className:"w-full h-[150px] sm:h-[180px]",preserveAspectRatio:"xMidYMid meet",children:[u.jsxs("defs",{children:[u.jsxs("linearGradient",{id:a,x1:"0",y1:"0",x2:"0",y2:"1",children:[u.jsx("stop",{offset:"0%",stopColor:e,stopOpacity:"0.32"}),u.jsx("stop",{offset:"100%",stopColor:e,stopOpacity:"0"})]}),u.jsx("clipPath",{id:i,children:u.jsx("rect",{x:p,y:"0",width:L?x:0,height:m,style:{transition:`width ${X}ms cubic-bezier(0.22, 1, 0.36, 1)`}})})]}),[0,5,10,15,20].map(se=>u.jsxs("g",{children:[u.jsx("line",{x1:p,y1:E(se),x2:f-p,y2:E(se),stroke:"#f5f5f4",strokeWidth:"1"}),u.jsx("text",{x:p-8,y:E(se)+4,textAnchor:"end",fill:"#a8a29e",fontSize:"11",fontWeight:"600",children:se})]},se)),u.jsxs("g",{clipPath:`url(#${i})`,children:[u.jsx("path",{d:N,fill:`url(#${a})`}),u.jsx("path",{d:O,stroke:e,strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),o.map((se,fe)=>u.jsx("circle",{cx:j(fe),cy:E(se),r:"3.5",fill:"white",stroke:e,strokeWidth:"2"},fe))]}),u.jsxs("g",{style:{opacity:L?1:0,transition:`opacity 400ms ease ${X-200}ms`},children:[u.jsx("circle",{cx:j(R),cy:E(o[R]),r:"6",fill:e}),u.jsxs("circle",{cx:j(R),cy:E(o[R]),r:"13",fill:"none",stroke:e,strokeWidth:"1.5",opacity:"0.4",children:[u.jsx("animate",{attributeName:"r",values:"8;18;
348",dur:"2.2s",repeatCount:"indefinite"}),u.jsx("animate",{attributeName:"opacity",values:"0.6;0;0.6",dur:"2.2s",repeatCount:"indefinite"})]})]})]}),u.jsx("div",{className:"flex justify-between text-[10px] text-stone-400 px-7 mt-1 font-medium",children:c.map((se,fe)=>u.jsx("span",{children:se},fe))})]}),u.jsxs("div",{className:"grid sm:grid-cols-2 sm:divide-x divide-stone-100 border-t border-stone-100",children:[u.jsxs("div",{className:"px-6 py-5",children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400 mb-3",children:"Top subreddits"}),u.jsx("div",{className:"space-y-2.5",children:Q.map((se,fe)=>u.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[u.jsx("div",{className:"w-28 truncate text-stone-700 font-semibold text-xs",children:se.s}),u.jsx("div",{className:"flex-1 bg-stone-50 rounded h-5 relative overflow-hidden",children:u.jsx("div",{className:"absolute inset-y-0 left-0 rounded",style:{width:L?`${se.n/I*100}%`:"0%",background:e,transition:`width 900ms cubic-bezier(0.22,1,0.36,1) ${fe*80}ms`}})}),u.jsx("span",{className:"w-5 text-right text-xs font-bold text-stone-700 tabular-nums",children:se.n})]},se.s))})]}),u.jsxs("div",{className:"px-6 py-5 border-t sm:border-t-0 border-stone-100",children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-400 mb-3",children:"Competitor exposure"}),u.jsx("div",{className:"space-y-2.5",children:q.map((se,fe)=>u.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[u.jsx("div",{className:"w-28 truncate text-stone-600 text-xs font-medium",children:se.n}),u.jsx("div",{className:"flex-1 bg-stone-50 rounded h-5 relative overflow-hidden",children:u.jsx("div",{className:"absolute inset-y-0 left-0 rounded",style:{width:L?`${se.v/ue*100}%`:"0%",background:"#94a3b8",transition:`width 900ms cubic-bezier(0.22,1,0.36,1) ${fe*80}ms`}})}),u.jsx("span",{className:"w-5 text-right text-xs font-bold text-stone-700 tabular-nums",children:se.v})]},se.n))})]})]})]})}function iD(){const e="#E37400",n="cubic-bezier(0.22, 1, 0.36, 1)",[a,i]=an(.25),[o,c]=an(.3),f=[{p:"ChatGPT",sessions:6064,share:72,c:"#10a37f",I:la},{p:"Perplexity",sessions:1516,share:18,c:"#22B8CD",I:ca},{p:"Google AI",sessions:840,share:10,c:"#4285F4",I:ua}],m=52,p=2*Math.PI*m;let g=0;const y=[{path:"/pricing",sessions:2140,pct:100},{path:"/blog/ai-search-guide",sessions:1320,pct:62},{path:"/product/overview",sessions:910,pct:43}],x=[{label:"LLM sessions",value:"8,420",delta:"+24%",up:!0},{label:"Engagement",value:"68%",delta:"+6%",up:!0},{label:"Conversions",value:"312",delta:"+18",up:!0},{label:"Revenue",value:"£18.4k",delta:"+31%",up:!0}];return u.jsxs("div",{className:"bg-white rounded-3xl border border-stone-200 shadow-2xl overflow-hidden",children:[u.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 divide-x divide-stone-100 border-b border-stone-100",children:x.map((b,A)=>u.jsxs("div",{className:`px-4 sm:px-6 py-4 sm:py-5 ${A<2?"border-b sm:border-b-0 border-stone-100":""}`,children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mb-1",children:b.label}),u.jsxs("div",{className:"flex items-baseline gap-2 flex-wrap",children:[u.jsx("div",{className:"text-2xl sm:text-3xl font-black text-stone-900 tabular-nums leading-none",children:b.value}),u.jsxs("span",{className:"inline-flex items-center gap-0.5 text-[11px] font-bold px-1.5 py-0.5 rounded-full bg-emerald-50 border border-emerald-200 text-emerald-700",children:["↑ ",b.delta]})]})]},b.label))}),u.jsxs("div",{ref:a,className:"grid sm:grid-cols-2 gap-6 p-6",children:[u.jsx("div",{className:"flex items-center justify-center",children:u.jsxs("div",{className:"relative w-44 h-44",children:[u.jsxs("svg",{viewBox:"0 0 140 140",className:"w-full h-full -rotate-90",children:[u.jsx("circle",{cx:"70",cy:"70",r:m,fill:"none",stroke:"#f5f5f4",strokeWidth:"14"}),f.map((b,A)=>{const _=b.share/100*p,j=u.jsx("circle",{cx:"70",cy:"70",r:m,fill:"none",stroke:b.c,strokeWidth:"14",strokeDasharray:`${i?_:0} ${p-(i?_:0)}`,strokeDashoffset:-g,style:{transition:`stroke-dasharray 900ms ${n} ${A*220}ms`}},b.p);return g+=_,j})]}),u.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[u.jsx("div",{className:"text-3xl font-black text-stone-900 tabular-nums leading-none",children:"8,420"}),u.jsx("div",{className:"text-[10px] font-semibold uppercase tracking-wider text-stone-400 mt-1",children:"LLM sessions"})]})]})}),u.jsx("div",{className:"space-y-3.5 flex flex-col justify-center",children:f.map((b,A)=>u.jsxs("div",{className:"space-y-1",children:[u.jsxs("div",{className:"flex items-center justify-between text-xs",children:[u.jsxs("span",{className:"flex items-center gap-2 font-semibold text-stone-700",children:[u.jsx(b.I,{size:15}),b.p]}),u.jsxs("span",{className:"tabular-nums text-stone-500",children:[b.sessions.toLocaleStr
34ing()," · ",b.share,"%"]})]}),u.jsx("div",{className:"h-2 bg-stone-100 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full rounded-full",style:{width:i?`${b.share}%`:"0%",background:b.c,transition:`width 900ms ${n} ${A*110}ms`}})})]},b.p))})]}),u.jsxs("div",{ref:o,className:"border-t border-stone-100 px-6 py-4",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400 mb-3",children:"Where LLMs send traffic"}),u.jsx("div",{className:"space-y-2.5",children:y.map((b,A)=>u.jsxs("div",{className:"space-y-1",children:[u.jsxs("div",{className:"flex items-center justify-between text-xs",children:[u.jsx("span",{className:"font-mono text-stone-600 truncate",children:b.path}),u.jsxs("span",{className:"tabular-nums text-stone-400 flex-none ml-2",children:[b.sessions.toLocaleString()," sess"]})]}),u.jsx("div",{className:"h-1.5 bg-stone-100 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full rounded-full",style:{width:c?`${b.pct}%`:"0%",background:e,opacity:.75,transition:`width 800ms ${n} ${A*90}ms`}})})]},b.path))})]})]})}function aD(){const e="#E37400",[n,a]=an(.2),[i,o]=an(.3),[c,f]=an(.3),m="cubic-bezier(0.22, 1, 0.36, 1)",p=[{p:"ChatGPT",c:"#10a37f",I:la},{p:"Perplexity",c:"#22B8CD",I:ca},{p:"Google AI",c:"#4285F4",I:ua}],g=[{label:"Revenue",value:"£18.4k",delta:"+31%"},{label:"Orders",value:"312",delta:"+18%"},{label:"Avg order value",value:"£59",delta:"+4%"},{label:"Cart → purchase",value:"26%",delta:"+3pt"},{label:"Items / order",value:"1.4",delta:"+0.2"}],y=[[720,180,95],[840,150,110],[690,210,80],[910,190,120],[1020,230,140],[880,200,100],[760,170,90],[980,240,130],[1120,260,150],[1040,220,140],[1210,280,160],[1080,250,130],[1290,300,170],[1140,240,150]],x=Math.max(...y.map(j=>j[0]+j[1]+j[2])),b=[{label:"Add to cart",v:"1,180",pct:100},{label:"Checkout",v:"540",pct:46},{label:"Purchase",v:"312",pct:26}],A=[{name:"Pro Annual Plan",qty:84,rev:"£7,560",pct:100},{name:"Starter Bundle",qty:96,rev:"£4,320",pct:57},{name:"Team Seat Add-on",qty:60,rev:"£3,000",pct:40},{name:"Onboarding Pack",qty:42,rev:"£2,100",pct:28},{name:"API Credits · 10k",qty:30,rev:"£1,420",pct:19}],_=[{p:"ChatGPT",c:"#10a37f",I:la,rev:"£12,880",share:70,orders:214,aov:"£60"},{p:"Perplexity",c:"#22B8CD",I:ca,rev:"£3,680",share:20,orders:64,aov:"£58"},{p:"Google AI",c:"#4285F4",I:ua,rev:"£1,840",share:10,orders:34,aov:"£54"}];return u.jsxs("section",{className:"relative px-6 py-16 md:py-24 border-y border-stone-200 overflow-hidden",style:{background:`linear-gradient(180deg, #ffffff, ${e}0a)`},children:[u.jsx("div",{className:"absolute -top-24 right-0 w-[460px] h-[460px] rounded-full opacity-20 blur-3xl pointer-events-none",style:{background:`radial-gradient(circle, ${e}40, transparent 70%)`}}),u.jsxs("div",{className:"relative max-w-5xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-10 md:mb-12 max-w-2xl mx-auto",children:[u.jsxs("div",{className:"inline-flex items-center gap-2 bg-white border border-stone-200 rounded-full px-4 py-1.5 mb-5 shadow-sm",children:[u.jsx("span",{className:"w-2 h-2 rounded-full",style:{background:e}}),u.jsx("span",{className:"text-xs font-bold uppercase tracking-widest",style:{color:e},children:"Ecommerce Analytics"})]}),u.jsxs("h2",{className:"text-3xl md:text-5xl font-black tracking-tight text-stone-900 leading-tight mb-4",style:{letterSpacing:"-0.03em"},children:["Tie AI traffic to ",u.jsx("span",{style:{color:e},children:"actual revenue."})]}),u.jsx("p",{className:"text-base md:text-lg text-stone-500 leading-relaxed",children:"Selling online? Jasno reads your GA4 ecommerce events and attributes every order back to the AI engine that sent the shopper - so you can prove AI search isn't just traffic, it's revenue."})]}),u.jsx("div",{className:"rounded-2xl bg-white border border-stone-200 shadow-lg overflow-hidden mb-6",children:u.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 divide-x divide-y lg:divide-y-0 divide-stone-100",children:g.map(j=>u.jsxs("div",{className:"px-4 sm:px-5 py-4 sm:py-5",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-stone-400 mb-1",children:j.label}),u.jsxs("div",{className:"flex items-baseline gap-2 flex-wrap",children:[u.jsx("div",{className:"text-2xl sm:text-3xl font-black text-stone-900 tabular-nums leading-none",children:j.value}),u.jsxs("span",{className:"inline-flex items-center gap-0.5 text-[10px] font-bold px-1.5 py-0.5 rounded-full bg-emerald-50 border border-emerald-200 text-emerald-700",children:["↑ ",j.delta]})]})]},j.label))})}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mb-6",children:[u.jsxs("div",{className:"rounded-2xl bg-white border border-stone-200 shadow-lg overflow-hidden",children:[u.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-stone-100",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400",children:"Revenue by engine · 14 days"}),u.jsx("span",{className:"inline-flex items-center text-[10px] font-bold uppercase tracking-wider px-2 py-0.5 rounded-full text-emerald-700 bg-emerald-50 border border-emerald-200",children:"↑ trending up"})]}),u.jsxs("div",{className:"p-5",children:[u.jsx("div",{ref:n,className:"flex items-end gap-[3px] h-40",children:y.map((j,E)=>u.jsx("div",{className:"flex-1 flex flex-col justify-end gap-[2px]",style:{height:"100%"},children:[2,1,0].map(O=>u.jsx("div",{className:"w-full rounded-[2px]",style:{height:a?`${j[O]/x*100}%`:"0%",background:p[O].c,opacity:O===0?1:.85,transition:`height 700ms ${m} ${E*45}ms`},title:`${p[O].p}: £${j[O]}`},O))},E))}),u.jsx("div",{className:"flex items-center gap-4 mt-4 pt-3 border-t border-stone-100",children:p.map(j=>u.jsxs("span",{className:"flex items-center gap-1.5 text-[11px] font-semibold text-stone-600",children:[u.jsx("span",{className:"w-2.5 h-2.5 rounded-sm",style:{background:j.c}}),j.p]},j.p))})]})]}),u.jsxs("div",{className:"rounded-2xl bg-white border border-stone-200 shadow-lg overflow-hidden",children:[u.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-stone-100",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400",children:"Checkout funnel"}),u.jsx("span",{className:"inline-flex items-center text-[10px] font-bold uppercase tracking-wider px-2 py-0.5 rounded-full",style:{color:e,background:`${e}15`,border:`1px solid ${e}33`},children:"LLM shoppers"})]}),u.jsxs("div",{ref:i,className:"p-5 space-y-4",children:[b.map((j,E)=>u.jsxs("div",{className:"space-y-1.5",children:[u.jsxs("div",{className:"flex items-center justify-between text-xs",children:[u.jsx("span",{className:"text-stone-600 font-medium",children:j.label}),u.jsxs("span",{className:"tabular-nums font-bold text-stone-900",children:[j.v," ",u.
34jsxs("span",{className:"text-stone-400 font-semibold",children:["· ",j.pct,"%"]})]})]}),u.jsx("div",{className:"h-3 bg-stone-100 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full rounded-full",style:{width:o?`${j.pct}%`:"0%",background:e,transition:`width 900ms ${m} ${E*120}ms`}})})]},j.label)),u.jsx("div",{className:"grid grid-cols-2 gap-2 pt-3 border-t border-stone-100 text-center",children:[["Cart → purchase","26%"],["Items / order","1.4"]].map(([j,E])=>u.jsxs("div",{children:[u.jsx("div",{className:"text-lg font-black text-stone-900 tabular-nums",children:E}),u.jsx("div",{className:"text-[9px] font-semibold uppercase tracking-wider text-stone-400",children:j})]},j))})]})]})]}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[u.jsxs("div",{className:"rounded-2xl bg-white border border-stone-200 shadow-lg overflow-hidden",children:[u.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-stone-100",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400",children:"Top products from AI shoppers"}),u.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider text-stone-400",children:"by revenue"})]}),u.jsx("div",{ref:c,className:"p-5 space-y-3",children:A.map((j,E)=>u.jsxs("div",{className:"space-y-1",children:[u.jsxs("div",{className:"flex items-center justify-between text-xs",children:[u.jsx("span",{className:"font-semibold text-stone-700 truncate",children:j.name}),u.jsxs("span",{className:"tabular-nums text-stone-500 flex-none ml-2",children:[j.qty,"× · ",j.rev]})]}),u.jsx("div",{className:"h-1.5 bg-stone-100 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full rounded-full",style:{width:f?`${j.pct}%`:"0%",background:e,opacity:.8,transition:`width 800ms ${m} ${E*90}ms`}})})]},j.name))})]}),u.jsxs("div",{className:"rounded-2xl bg-white border border-stone-200 shadow-lg overflow-hidden",children:[u.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-stone-100",children:[u.jsx("div",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-stone-400",children:"Revenue by AI engine"}),u.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider text-stone-400",children:"attribution"})]}),u.jsx("div",{className:"p-5",children:u.jsxs("table",{className:"w-full text-xs",children:[u.jsx("thead",{children:u.jsxs("tr",{className:"text-stone-400 text-[10px] uppercase tracking-wider",children:[u.jsx("th",{className:"text-left font-semibold pb-2",children:"Engine"}),u.jsx("th",{className:"text-right font-semibold pb-2",children:"Revenue"}),u.jsx("th",{className:"text-right font-semibold pb-2 hidden sm:table-cell",children:"Orders"}),u.jsx("th",{className:"text-right font-semibold pb-2",children:"AOV"})]})}),u.jsx("tbody",{children:_.map(j=>u.jsxs("tr",{className:"border-t border-stone-100",children:[u.jsx("td",{className:"py-2.5",children:u.jsxs("span",{className:"flex items-center gap-2 font-semibold text-stone-700",children:[u.jsx(j.I,{size:14}),j.p]})}),u.jsxs("td",{className:"py-2.5 text-right",children:[u.jsx("span",{className:"tabular-nums font-bold text-stone-900",children:j.rev}),u.jsxs("span",{className:"block text-[10px] text-stone-400 tabular-nums",children:[j.share,"%"]})]}),u.jsx("td",{className:"py-2.5 text-right tabular-nums text-stone-600 hidden sm:table-cell",children:j.orders}),u.jsx("td",{className:"py-2.5 text-right tabular-nums text-stone-600",children:j.aov})]},j.p))})]})})]})]})]})]})}const qv=[{label:"AI Search Visibility",path:"/features/ai-search-visibility",icon:ST,color:"#f97316",description:"Track how your brand appears in generative search."},{label:"AI Brand Monitoring",path:"/ai-brand-monitoring",icon:cT,color:"#FF4D00",description:"See how AI engines mention and cite your brand."},{label:"Reddit Citations",path:"/features/reddit-citations",icon:oT,color:"#FF4500",description:"See which Reddit threads AI engines cite about your market."},{label:"Search Console Integration",path:"/features/search-console-integration",icon:dT,color:"#0891b2",description:"Align with the queries your audience actually searches."},{label:"Content Optimisation",path:"/features/content-optimisation",icon:tT,color:"#7c3aed",description:"AI-powered briefs and recommendations to ship faster."},{label:"Performance Tracking",path:"/features/performance-tracking",icon:yT,color:"#10b981",description:"Measure progress with one unified GEO score."},{label:"Team Collaboration",path:"/features/team-collaboration",icon:vT,color:"#0891b2",description:"Work together across projects with role-based access."},{label:"LLM Traffic (GA4)",path:"/features/ga4-integration",icon:lb,color:"#E37400",description:"See sessions, conversions & revenue from each AI engine."}],Fv=[{label:"Audience Alignment",path:"/usecases/audience-alignment",icon:pT,color:"#0891b2",description:"Match content to real search intent."}
34,{label:"Competitor Gaps",path:"/usecases/competitor-gaps",icon:Q_,color:"#7c3aed",description:"Find where rivals win - and fill the gaps."},{label:"Citation Building",path:"/usecases/citation-building",icon:$_,color:"#f97316",description:"Become a trusted source AI engines cite."},{label:"Multi-Topic Strategy",path:"/usecases/multi-topic-strategy",icon:J_,color:"#7c3aed",description:"Dominate visibility across every angle."},{label:"Competitor Tracking",path:"/usecases/competitor-tracking",icon:lb,color:"#e11d48",description:"Monitor every move competitors make."}];function bP(){const e=ci(),n=jt(),{redirectToSignIn:a}=qb(),[i,o]=w.useState(!1),[c,f]=w.useState(null),[m,p]=w.useState(null),g=w.useRef(null);w.useEffect(()=>{if(!m)return;const _=E=>{g.current&&!g.current.contains(E.target)&&p(null)},j=()=>p(null);return document.addEventListener("mousedown",_),window.addEventListener("scroll",j,{passive:!0}),()=>{document.removeEventListener("mousedown",_),window.removeEventListener("scroll",j)}},[m]);const y=()=>{o(!1),a({redirectUrl:window.location.origin})},x=_=>{e(_),o(!1),f(null),p(null)};w.useEffect(()=>{if(!i)return;const _=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=_}},[i]);const b=_=>n.pathname===_,A=_=>`text-[14px] font-semibold transition px-3 py-2 rounded-lg ${_?"text-stone-900":"text-stone-600 hover:text-stone-900 hover:bg-stone-100/60"}`;return u.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 backdrop-blur border-b border-stone-200/60",style:{background:`${ri}d9`},children:[u.jsxs("div",{className:"max-w-7xl mx-auto px-5 md:px-8 py-3.5 flex items-center justify-between gap-6",children:[u.jsx("button",{onClick:()=>x("/"),className:"flex items-center gap-3 hover:opacity-90 transition flex-shrink-0",children:u.jsx(hh,{})}),u.jsxs("div",{className:"hidden md:flex items-center gap-1 flex-1",ref:g,children:[u.jsx("button",{onClick:()=>x("/"),className:A(b("/")),children:"Home"}),u.jsx("div",{className:"relative",children:u.jsxs("button",{onClick:()=>p(m==="features"?null:"features"),className:`${A(n.pathname.startsWith("/features"))} flex items-center gap-1`,children:["Features",u.jsx(gl,{className:`w-4 h-4 transition-transform ${m==="features"?"rotate-180":""}`})]})}),u.jsx("button",{onClick:()=>x("/pricing"),className:A(b("/pricing")),children:"Pricing"}),u.jsx("div",{className:"relative",children:u.jsxs("button",{onClick:()=>p(m==="usecases"?null:"usecases"),className:`${A(n.pathname.startsWith("/usecases"))} flex items-center gap-1`,children:["Use Cases",u.jsx(gl,{className:`w-4 h-4 transition-transform ${m==="usecases"?"rotate-180":""}`})]})})]}),u.jsxs("div",{className:"hidden md:flex items-center gap-3 flex-shrink-0",children:[u.jsx("button",{onClick:y,className:"text-[14px] font-semibold text-stone-600 hover:text-stone-900 px-3 py-2",children:"Sign in"}),u.jsx("a",{href:"/book-demo",onClick:_=>{_.metaKey||_.ctrlKey||_.shiftKey||_.button===1||(_.preventDefault(),x("/book-demo"))},className:"text-[14px] font-bold px-4 py-2.5 rounded-xl border-2 transition-all hover:scale-105",style:{borderColor:J,color:J},children:"Book a demo"}),u.jsx("button",{onClick:()=>x("/sign-up"),className:"text-white font-bold text-[14px] px-5 py-2.5 rounded-xl shadow-md transition-all hover:scale-105",style:{background:J},children:"Start free trial →"})]}),u.jsx("button",{onClick:()=>o(!i),className:"md:hidden p-2 hover:bg-stone-100 rounded-lg transition-colors",children:i?u.jsx(Mf,{className:"w-6 h-6"}):u.jsx(aT,{className:"w-6 h-6"})})]}),u.jsxs(i5,{children:[m==="features"&&u.jsx(Iv.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.18},className:"hidden md:block absolute left-0 right-0 top-full bg-white border-b border-stone-200 shadow-2xl",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-8 py-10 grid grid-cols-12 gap-10",ref:g,children:[u.jsxs("div",{className:"col-span-7",children:[u.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.25em] text-stone-400 mb-1",children:"Platform"}
34),u.jsxs("h3",{className:"text-2xl font-black text-stone-900 mb-6",style:{letterSpacing:"-0.02em"},children:["Everything you need to ",u.jsx("span",{style:{color:J},children:"win in AI search"}),"."]}),u.jsx("div",{className:"grid grid-cols-2 gap-2",children:qv.map(_=>{const j=_.icon;return u.jsxs("button",{onClick:()=>x(_.path),className:"text-left p-3 rounded-xl hover:bg-stone-50 transition flex items-start gap-3 group",children:[u.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:`${_.color}15`},children:u.jsx(j,{className:"w-5 h-5",style:{color:_.color}})}),u.jsxs("div",{children:[u.jsxs("div",{className:"font-bold text-stone-900 text-sm flex items-center gap-1",children:[_.label,u.jsx(Fd,{className:"w-3.5 h-3.5 opacity-0 group-hover:opacity-100 transition",style:{color:_.color}})]}),u.jsx("div",{className:"text-xs text-stone-500 mt-0.5 leading-relaxed",children:_.description})]})]},_.path)})})]}),u.jsxs("div",{className:"col-span-5",children:[u.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.25em] text-stone-400 mb-3",children:"See it in action"}),u.jsxs("button",{onClick:()=>x("/features"),className:"block w-full text-left rounded-2xl overflow-hidden border border-stone-200 hover:border-stone-300 transition group",children:[u.jsxs("div",{className:"p-4",style:{background:ri},children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-widest text-stone-500 mb-1",children:"Live preview"}),u.jsx("div",{className:"text-sm font-bold text-stone-900",children:"Your AI Visibility Score, today"})]}),u.jsx("div",{className:"px-4 pt-4 pb-0 bg-white overflow-hidden",children:u.jsx("div",{className:"transform scale-[0.55] origin-top-left -mb-[58%] w-[182%] pointer-events-none",children:u.jsx(CS,{})})}),u.jsxs("div",{className:"px-4 py-3 border-t border-stone-100 flex items-center justify-between text-sm bg-white",children:[u.jsx("span",{className:"font-bold text-stone-900",children:"Tour every feature"}),u.jsx(Fd,{className:"w-4 h-4",style:{color:J}})]})]})]})]})}),m==="usecases"&&u.jsx(Iv.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.18},className:"hidden md:block absolute left-0 right-0 top-full bg-white border-b border-stone-200 shadow-2xl",children:u.jsxs("div",{className:"max-w-7xl mx-auto px-8 py-10 grid grid-cols-12 gap-10",ref:g,children:[u.jsxs("div",{className:"col-span-7",children:[u.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.25em] text-stone-400 mb-1",children:"Use cases"}),u.jsxs("h3",{className:"text-2xl font-black text-stone-900 mb-6",style:{letterSpacing:"-0.02em"},children:["Real GEO problems, ",u.jsx("span",{style:{color:J},children:"solved"}),"."]}),u.jsx("div",{className:"grid grid-cols-2 gap-2",children:Fv.map(_=>{const j=_.icon;return u.jsxs("button",{onClick:()=>x(_.path),className:"text-left p-3 rounded-xl hover:bg-stone-50 transition flex items-start gap-3 group",children:[u.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{background:`${_.color}15`},children:u.jsx(j,{className:"w-5 h-5",style:{color:_.color}})}),u.jsxs("div",{children:[u.jsxs("div",{className:"font-bold text-stone-900 text-sm flex items-center gap-1",children:[_.label,u.jsx(Fd,{className:"w-3.5 h-3.5 opacity-0 group-hover:opacity-100 transition",style:{color:_.color}})]}),u.jsx("div",{className:"text-xs text-stone-500 mt-0.5 leading-relaxed",children:_.description})]})]},_.path)})})]}),u.jsxs("div",{className:"col-span-5 rounded-2xl p-6 flex flex-col justify-between",style:{background:ri},children:[u.jsxs("div",{children:[u.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.25em]",style:{color:J},children:"Get started"}),u.jsxs("h4",{className:"text-2xl font-black text-stone-900 leading-tight mt-2 mb-3",style:{letterSpacing:"-0.02em"},children:["14 days, free.",u.jsx("br",{}),u.jsx("span",{style:{color:J},children:"Full visibility."})]}),u.jsx("p",{className:"text-sm text-stone-600 leading-relaxed",children:"Track your brand across every AI engine with full visibility scores and reports, free for 14 days. No credit card required."})]}),u.jsx("button",{onClick:()=>x("/sign-up"),className:"mt-6 text-white font-bold text-sm px-5 py-3 rounded-xl shadow-lg w-full",style:{background:J},children:"Start free trial →"})]})]})})]}),i&&typeof document<"u"&&cc.createPortal(u.jsxs("div",{className:"md:hidden",style:{position:"fixed",top:0,left:0,width:"100vw",height:"100dvh",zIndex:9999,background:"#ffffff",overflowY:"auto",WebkitOverflowScrolling:"touch",display:"flex",flexDirection:"column"},children:[u.jsxs("div",{className:"flex items-center justify-between px-5 border-b border-stone-200",style:{height:60,flexShrink:0,background:ri},children:[u.jsx("button",{onClick:()=>x("/"),className:"flex items-center gap-3",children:u.jsx(hh,{})}),u.jsx("button",{onClick:()=>o(!1),className:"p-2 hover:bg-stone-100 rounded-lg transition-colors","aria-label":"Close menu",children:u.jsx(Mf,{className:"w-6 h-6"})})]}),u.jsxs("div",{className:"flex-1 overflow-y-auto px-4 py-6 space-y-1 pb-24",children:[u.jsx("button",{onClick:()=>x("/"),className:`block w-full text-left px-4 py-3 rounded-lg text-base hover:bg-stone-50 ${b("/")?"font-bold text-stone-900":"text-stone-700"}`,children:"Home"}),u.jsxs("div",{className:"py-1",children:[u.jsxs("button",{onClick:()=>f(c==="features"?null:"features"),className:"w-full flex items-center justify-between px-4 py-3 rounded-lg text-base font-semibold text-stone-700 hover:bg-stone-50",children:["Features",u.jsx(gl,{className:`w-5 h-5 transition-transform ${c==="features"?"rotate-180":""}`})]}),c==="features"&&u.jsx("div",{className:"bg-stone-50 rounded-lg mx-2 mt-1 overflow-hidden",children:qv.map(_=>u.jsx("button",{onClick:()=>x(_.path),className:"w-full text-left px-4 py-3 text-sm text-stone-700 hover:bg-stone-100 border-b border-stone-100 last:border-b-0",children:_.label},_.path))})]}),u.jsx("button",{onClick:()=>x("/pricing"),className:"block w-full text-left px-4 py-3 rounded-lg text-base font-semibold text-stone-700 hover:bg-stone-50",children:"Pricing"}),u.jsxs("div",{className:"py-1",children:[u.jsxs("button",{onClick:()=>f(c==="usecases"?null:"usecases"),className:"w-full flex items-center justify-between px-4 py-3 rounded-lg text-base font-semibold text-stone-700 hover:bg-stone-50",children:["Use Cases",u.jsx(gl,{className:`w-5 h-5 transition-transform ${c==="usecases"?"rotate-180":""}`})]}),c==="usecases"&&u.jsx("div",{className:"bg-stone-50 rounded-lg mx-2 mt-1 overflow-hidden",children:Fv.map(_=>u.jsx("button",{onClick:()=>x(_.path),className:"w-full text-left px-4 py-3 text-sm text-stone-700 hover:bg-stone-100 border-b border-stone-100 last:border-b-0",children:_.label},_.path))})]}),u.jsxs("div",{className:"border-t border-stone-100 my-4 pt-4 space-y-2",children:[u.jsx("button",{onClick:y,className:"w-full text-stone-700 border border-stone-300 rounded-xl h-11 font-semibold",children:"Sign in"}),u.jsx("button",{onClick:()=>x("/book-demo"),className:"w-full rounded-xl h-11 font-bold border-2",style:{borderColor:J,color:J},children:"Book a demo"}),u.jsx("button",{onClick:()=>x("/sign-up"),className:"w-full text-white rounded-xl h-11 font-bold",style:{background:J},children:"Start free trial →"})]})]})]}),document.body)]})}function wP(){const e=ci(),n=(i,o)=>{i.metaKey||i.ctrlKey||i.shiftKey||i.button===1||(i.preventDefault(),e(o),window.scrollTo(0,0))},a=[{title:"Product",links:[{label:"Features",path:"/features"},{label:"Pricing",path:"/pricing"},{label:"Use Cases",path:"/usecases"},{label:"Platform Comparison",path:"/ai-search-visibility-platforms-compared"},{label:"Book a demo",path:"/book-demo"},{label:"Start free trial",path:"/sign-up"}]},{title:"Features",links:[{label:"AI Search Visibility",path:"/features/ai-search-visibility"},{label:"Search Console",path:"/features/search-console-integration"},{label:"Content Optimisation",path:"/features/content-optimisation"},{label:"Performance Tracking",path:"/features/performance-tracking"},{label:"Team Collaboration",path:"/features/team-collaboration"},{label:"LLM Traffic (GA4)",path:"/features/ga4-integration"}]},{title:"Use cases",links:[{label:"Audience Alignment",path:"/usecases/audience-alignment"}
34,{label:"Competitor Gaps",path:"/usecases/competitor-gaps"},{label:"Citation Building",path:"/usecases/citation-building"},{label:"Multi-Topic Strategy",path:"/usecases/multi-topic-strategy"},{label:"Competitor Tracking",path:"/usecases/competitor-tracking"}]},{title:"Company",links:[{label:"Blog",path:"/blog"},{label:"Privacy Policy",path:"/privacy"},{label:"Terms of Service",path:"/terms"}]}];return u.jsx("footer",{className:"bg-stone-900 text-stone-400 py-16 px-8",children:u.jsxs("div",{className:"max-w-6xl mx-auto",children:[u.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-10 mb-10",children:[u.jsxs("div",{className:"col-span-2 md:col-span-1",children:[u.jsx(hh,{light:!0}),u.jsx("p",{className:"text-stone-500 text-sm mt-4 max-w-xs",children:"The AI search visibility platform for modern brands."})]}),a.map(i=>u.jsxs("div",{className:"space-y-2",children:[u.jsx("div",{className:"text-white font-bold mb-2 text-sm",children:i.title}),i.links.map(o=>u.jsx("div",{children:u.jsx("a",{href:o.path,onClick:c=>n(c,o.path),className:"text-sm hover:text-white transition-colors text-left inline-block",children:o.label})},o.path))]},i.title))]}),u.jsxs("div",{className:"border-t border-stone-800 pt-6 flex flex-col md:flex-row justify-between items-center gap-3",children:[u.jsx("p",{className:"text-xs text-stone-600",children:"© 2026 Jasno. All rights reserved."}),u.jsx("p",{className:"text-xs text-stone-600",children:"For the AI search era"})]})]})})}const pm=[{path:"/features/ai-search-visibility",label:"AI Search Visibility",blurb:"Track how your brand appears in generative search"},{path:"/ai-brand-monitoring",label:"AI Brand Monitoring",blurb:"See how ChatGPT, Perplexity and Google AI mention your brand"},{path:"/features/search-console-integration",label:"Search Console Integration",blurb:"Align with the queries your audience actually searches"},{path:"/features/content-optimisation",label:"Content Optimisation",blurb:"AI-powered recommendations to improve visibility"},{path:"/features/performance-tracking",label:"Performance Tracking",blurb:"Monitor progress and measure impact over time"},{path:"/features/team-collaboration",label:"Team & Collaboration",blurb:"Work together with roles and full control"},{path:"/features/ga4-integration",label:"LLM Traffic (GA4)",blurb:"See the real traffic AI search sends you"}],gm=[{path:"/usecases/audience-alignment",label:"Audience Alignment",blurb:"Track the prompts your real audience asks"},{path:"/usecases/competitor-gaps",label:"Competitor Gaps",blurb:"Find topics where competitors appear and you are missing"},{path:"/usecases/citation-building",label:"Citation Building",blurb:"Earn more citations in AI answers"},{path:"/usecases/multi-topic-strategy",label:"Multi-Topic Strategy",blurb
34:"Scale visibility across every topic you own"},{path:"/usecases/competitor-tracking",label:"Competitor Tracking",blurb:"Benchmark your share of voice against rivals"}],SP={"/features/ai-search-visibility":["/usecases/citation-building","/usecases/competitor-tracking"],"/features/search-console-integration":["/usecases/audience-alignment","/usecases/multi-topic-strategy"],"/features/content-optimisation":["/usecases/competitor-gaps","/usecases/citation-building"],"/ai-brand-monitoring":["/usecases/competitor-tracking","/usecases/citation-building"],"/features/performance-tracking":["/usecases/competitor-tracking","/usecases/multi-topic-strategy"],"/features/team-collaboration":["/usecases/multi-topic-strategy","/usecases/audience-alignment"],"/features/ga4-integration":["/usecases/audience-alignment","/usecases/competitor-tracking"],"/usecases/audience-alignment":["/features/search-console-integration","/features/content-optimisation"],"/usecases/competitor-gaps":["/features/ai-search-visibility","/features/content-optimisation"],"/usecases/citation-building":["/features/ai-search-visibility","/features/content-optimisation"],"/usecases/multi-topic-strategy":["/features/performance-tracking","/features/content-optimisation"],"/usecases/competitor-tracking":["/features/ai-search-visibility","/features/performance-tracking"]},NS=e=>Object.fromEntries(e.map(n=>[n.path,n])),jP=NS(pm),_P=NS(gm);function rD(e){const n=(e||"").replace(/\/+$/,"")||"/",a=n.startsWith("/features/"),i=n.startsWith("/usecases/");if(!a&&!i)return[];const o=a?_P:jP,c=(SP[n]||[]).map(p=>o[p]).filter(Boolean),f=(a?pm:gm).filter(p=>p.path!==n).slice(0,3);return[{title:a?"Related use cases":"Related features",links:c},{title:a?"More features":"More use cases",links:f},{title:"More to explore",links:[{path:"/pricing",label:"Pricing",blurb:"Compare plans and start a free trial"},a?{path:"/usecases",label:"Use cases",blurb:"See how teams use Jasno"}:{path:"/features",label:"Features",blurb:"Explore the full platform"},{path:"/blog",label:"Blog",blurb:"GEO guides and product updates"}]}].filter(p=>p.links.length>0)}const RS=[{q:"What is AI search visibility?",a:"AI search visibility refers to how often and how positively your brand is mentioned in AI-generated answers from tools like ChatGPT, Perplexity, and Google AI Overviews when users ask questions about your category."},{q:"How do I track my brand in ChatGPT and Perplexity?",a:"Jasno automatically runs hundreds of category-relevant prompts across ChatGPT, Perplexity, and Google AI Overviews, captures the AI answers, and shows you exactly how your brand is mentioned — updated daily."},{q:"Why does AI brand monitoring matter in 2026?",a:"AI assistants are now a primary research tool for consumers and B2B buyers. Brands that appear in AI-generated answers gain authority and preference at the top of the funnel — before the user ever clicks a traditional search result."}],TP={"@context":"https://schema.org","@type":"FAQPage",mainEntity:RS.map(({q:e,a:n})=>({"@type":"Question",name:e,acceptedAnswer:{"@type":"Answer",text:n}}))};function Yv(){const e=ci();w.useEffect(()=>{window.scrollTo(0,0),ra.me().then(()=>e("/",{replace:!0})).catch(()=>{})},[e]),w.useEffect(()=>{const i=document.createElement("script");return i.type="application/ld+json",i.id="jasno-home-faq-schema",i.text=JSON.stringify(TP),document.head.appendChild(i),()=>{document.getElementById("jasno-home-faq-schema")?.remove()}},[]);const n=()=>e("/sign-up"),a=i=>o=>{o.metaKey||o.ctrlKey||o.shiftKey||o.button===1||(o.preventDefault(),e(i))};return u.jsxs("div",{className:"min-h-screen font-sans text-stone-900 overflow-x-hidden",style:{background:ri},children:[u.jsx(bP,{}),u.jsx("div",{className:"h-[68px]"}),u.jsxs("section",{className:"relative pt-16 md:pt-24 pb-16 md:pb-20 px-6 overflow-hidden",children:[u.jsx("div",{className:"absolute top-20 -right-40 w-[600px] h-[600px] rounded-full opacity-30 blur-3xl pointer-events-none",style:{background:`radial-gradient(circle, ${J}30, transparent 70%)`}}),u.jsxs("div",{className:"relative max-w-5xl mx-auto text-center",children:[u.jsxs("div",{className:"inline-flex items-center gap-2 bg-white border border-stone-200 rounded-full px-4 py-1.5 mb-8 shadow-sm",children:[u.jsx("span",{className:"w-2 h-2 rounded-full animate-pulse",style:{background:J}}),u.jsx("span",{className:"text-xs font-bold uppercase tracking-widest text-stone-700",children:"Track & improve your AI presence"})]}
34),u.jsxs("h1",{className:"text-[2.4rem] sm:text-[3.4rem] md:text-[5.5rem] font-black leading-[0.97] tracking-tight mb-7",style:{letterSpacing:"-0.04em"},children:["Your brand is being"," ",u.jsx("br",{}),u.jsxs("span",{className:"relative inline-block",children:[u.jsx("span",{className:"relative z-10",children:"talked about"}),u.jsx("span",{className:"absolute left-0 right-0 bottom-2 h-4 -z-0 opacity-50",style:{background:J}})]})," ","by AI."," ",u.jsx("br",{}),u.jsx("span",{className:"text-stone-400",children:"You just can't see it."})]}),u.jsxs("p",{className:"text-lg md:text-xl text-stone-500 max-w-2xl mx-auto leading-relaxed mb-10",children:["Every day, ChatGPT, Perplexity, and Google AI Overviews answer questions about your category. Jasno shows you exactly what's being said -",u.jsx("span",{className:"font-bold text-stone-700",children:" then gives you the content and the plan to improve it."})]}),u.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[u.jsx("button",{onClick:n,className:"text-white font-bold text-lg px-10 py-4 rounded-2xl shadow-xl transition-all hover:scale-105",style:{background:J,boxShadow:`0 14px 30px -8px ${J}60`},children:"Start free trial →"}),u.jsxs("a",{href:"/features",onClick:a("/features"),className:"bg-white border border-stone-300 text-stone-800 font-semibold text-lg px-10 py-4 rounded-2xl hover:border-stone-400 transition flex items-center gap-2",children:[u.jsx("span",{style:{color:J},children:"▶"})," Tour the platform"]})]}),u.jsx("p",{className:"text-stone-400 text-sm mt-5",children:"14-day free trial · No credit card required"})]})]}),u.jsxs("section",{className:"px-6 pb-16 md:pb-20",children:[u.jsxs("div",{className:"max-w-5xl mx-auto flex flex-col md:flex-row items-center gap-10 md:gap-16",children:[u.jsx("div",{className:"flex-shrink-0 w-full md:w-[460px]",children:u.jsx(Hv,{})}),u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl md:text-3xl font-black tracking-tight mb-4",style:{letterSpacing:"-0.02em"},children:"AI Search Visibility Platform for Brands"}),u.jsxs("p",{className:"text-stone-500 text-[15px] leading-relaxed mb-4",children:["Jasno is an ",u.jsx("strong",{className:"text-stone-700 font-semibold",children:"AI search visibility"})," platform built to help brands understand and improve how they appear in AI-generated answers. As search moves from links to answers, it's no longer enough to know where you rank - you need to know how your brand shows up in ChatGPT, Perplexity and Google AI Overviews, and why. You also need to understand how you compare to your competitors."]}),u.jsx("p",{className:"text-stone-500 text-[15px] leading-relaxed",children:"Jasno tracks that visibility across the engines your customers actually use, analyses the sources and competitors shaping those answers, and turns the insight into a clear, prioritised plan for improvement - one connected workflow from tracking to action."})]})]}),u.jsxs("div",{className:"max-w-5xl mx-auto mt-12 md:mt-16",children:[u.jsx("h3",{className:"text-xl md:text-2xl font-black tracking-tight mb-6 text-center",style:{letterSpacing:"-0.02em"},children:"Everything you need to improve visibility in AI search"}),u.jsx("div",{className:"grid md:grid-cols-3 gap-5 text-left",children:[{title:"Multi-engine tracking",body:"Monitor your brand's visibility across ChatGPT, Perplexity and Google AI Overviews in real time, from a single view. See where you appear, how consistently, and how that shifts over time.",linkLabel:"AI Search Visibility Tracking →",to:"/features/ai-search-visibility"},{title:"Citation analysis",body:"See exactly which sources and competitors are being cited in AI answers - and understand why. Use that insight to build the citation authority that helps AI engines find, trust and reference your brand.",linkLabel:"Build Citation Authority in AI Answers →",to:"/usecases/citation-building"},{title:"Action plans",body:"Turn visibility and citation data into prioritised, benefit-led content recommendations your team can act on straight away, without the guesswork.",linkLabel:"Content Optimisation for AI Search →",to:"/features/content-optimisation"}].map(i=>u.jsxs("div",{className:"bg-white border border-stone-200 rounded-2xl p-6 hover:border-stone-300 hover:shadow-lg transition-all flex flex-col",children:[u.jsx("h4",{className:"text-lg font-black text-stone-900 mb
34-2",style:{letterSpacing:"-0.01em"},children:i.title}),u.jsx("p",{className:"text-sm text-stone-600 leading-relaxed mb-4 flex-1",children:i.body}),u.jsx("a",{href:i.to,onClick:a(i.to),className:"text-xs font-bold whitespace-nowrap",style:{color:J},children:i.linkLabel})]},i.title))})]})]}),u.jsx("section",{className:"relative px-6 pb-20 md:pb-24",children:u.jsxs("div",{className:"relative max-w-5xl mx-auto",children:[u.jsx("div",{className:"absolute -inset-8 rounded-[2.5rem] opacity-60 blur-2xl pointer-events-none",style:{background:`radial-gradient(circle, ${J}30, transparent 60%)`}}),u.jsx("div",{className:"relative",children:u.jsx(CS,{})})]})}),u.jsx("section",{className:"px-6 pb-20 md:pb-24",children:u.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[u.jsxs("h2",{className:"text-3xl md:text-4xl font-black tracking-tight mb-4",style:{letterSpacing:"-0.03em"},children:["Most tools stop at tracking.",u.jsx("br",{}),u.jsx("span",{style:{color:J},children:"Jasno gives you the plan and the content."})]}),u.jsx("p",{className:"text-stone-500 text-base md:text-lg max-w-2xl mx-auto mb-10",children:"Knowing your AI visibility score is only half the job. Jasno is the complete solution: it tells you where you stand, then hands your team a prioritised action plan, AI-generated content briefs, and a board to ship every fix."}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-6 text-left",children:[u.jsxs("div",{className:"bg-white border border-stone-200 rounded-2xl p-7",children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.2em] text-stone-400 mb-3",children:"Other tools"}),u.jsxs("ul",{className:"space-y-2.5 text-stone-500",children:[u.jsxs("li",{className:"flex items-start gap-2.5",children:[u.jsx("span",{className:"mt-1 text-stone-300",children:"—"}),"Show you a visibility score"]}),u.jsxs("li",{className:"flex items-start gap-2.5",children:[u.jsx("span",{className:"mt-1 text-stone-300",children:"—"}),"Leave you to work out what to do next"]}),u.jsxs("li",{className:"flex items-start gap-2.5",children:[u.jsx("span",{className:"mt-1 text-stone-300",children:"—"}),"Reporting stays in a silo"]})]})]}),u.jsxs("div",{className:"rounded-2xl p-7 text-white",style:{background:"#1c1917"},children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:J},children:"Jasno"}),u.jsxs("ul",{className:"space-y-2.5 text-stone-200 font-medium",children:[u.jsxs("li",{className:"flex items-start gap-2.5",children:[u.jsx(ei,{}),"Tracks your visibility across every major AI engine"]}),u.jsxs("li",{className:"flex items-start gap-2.5",children:[u.jsx(ei,{}),"Generates a prioritised, evidence-backed action plan"]}),u.jsxs("li",{className:"flex items-start gap-2.5",children:[u.jsx(ei,{}),"Writes the content briefs and gives your team the board to ship them"]})]})]})]})]})}),u.jsxs("section",{className:"bg-stone-900 text-white py-20 px-6 relative overflow-hidden",children:[u.jsx(mh,{count:50,color:J,opacity:.18}),u.jsx("div",{className:"absolute top-12 left-12",children:u.jsx(ti,{size:80,opacity:.12})}),u.jsx("div",{className:"absolute bottom-12 right-16",children:u.jsx(ti,{size:120,opacity:.08})}),u.jsxs("div",{className:"relative max-w-4xl mx-auto text-center",children:[u.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.3em] text-stone-500 mb-4",children:"The shift is already here"}),u.jsxs("h2",{className:"text-[1.65rem] sm:text-3xl md:text-5xl font-black leading-tight mb-8 break-words",children:[u.jsx("span",{className:"text-stone-400",children:"In 2026,"}),u.jsx("br",{}),u.jsxs("span",{style:{color:J},children:[u.jsx(qr,{to:80}),"%"]})," of consumers now use AI to research products before buying."]}),u.jsx("p",{className:"text-stone-400 text-base md:text-lg max-w-xl mx-auto mb-2",children:"And right now, AI is choosing which brands to recommend - based on signals you don't control."}),u.jsx("p",{className:"text-stone-500 text-sm",children:"- Bain & Company, AI Adoption Report 2025"})]})]}),u.jsxs("section",{className:"py-20 md:py-24 px-6 max-w-5xl mx-auto",children:[u.jsx(fP,{}),u.jsxs("div",{className:"text-center mb-12 md:mb-16 mt-4",children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.3em] text-stone-400 mb-3",children:"How Jasno works"}),u.jsxs("h2",{className:"text-4xl md:text-5xl font-black tracking-tight",style:{letterSpacing:"-0.03em"}
34,children:["From ",u.jsx("span",{className:"text-stone-400",children:"invisible"})," to ",u.jsx("span",{style:{color:J},children:"unmissable"}),",",u.jsx("br",{}),"in four moves."]})]})]}),u.jsxs("section",{className:"relative px-6 pb-20 md:pb-24 overflow-hidden",children:[u.jsx("div",{className:"absolute -top-20 -left-10",children:u.jsx(ti,{size:160,opacity:.06})}),u.jsxs("div",{className:"relative max-w-6xl mx-auto grid md:grid-cols-2 gap-10 md:gap-14 items-center [&>*]:min-w-0",children:[u.jsxs("div",{children:[u.jsx(kl,{num:"01",label:"Track"}),u.jsxs("h3",{className:"text-3xl md:text-4xl font-black tracking-tight leading-tight mb-5",style:{letterSpacing:"-0.02em"},children:["Run your brand across every",u.jsx("br",{}),"AI engine - automatically."]}),u.jsx("p",{className:"text-stone-500 text-base md:text-lg leading-relaxed mb-6",children:"Jasno fires hundreds of category-relevant prompts at ChatGPT, Perplexity, and Google AI Overviews - and captures the full answer. You see, in plain English, exactly what the AI is saying about your industry."}),u.jsx("ul",{className:"space-y-3",children:["Daily automated runs across all 3 platforms","Full prompt + response capture, not just yes/no","Custom prompt library - plus auto-discovered prompts your buyers actually use"].map(i=>u.jsxs("li",{className:"flex items-start gap-3 text-stone-700 font-medium",children:[u.jsx(ei,{}),u.jsx("span",{className:"min-w-0 break-words",children:i})]},i))}),u.jsx("a",{href:"/features/ai-search-visibility",onClick:a("/features/ai-search-visibility"),className:"inline-flex items-center gap-1.5 mt-7 font-bold hover:gap-2.5 transition-all",style:{color:J},children:"See how AI search tracking works →"})]}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute -inset-4 rounded-3xl opacity-40 blur-2xl",style:{background:`radial-gradient(circle, ${J}30, transparent 60%)`}}),u.jsx("div",{className:"relative",children:u.jsx(Hv,{})})]})]})]}),u.jsxs("section",{className:"relative px-6 pb-20 md:pb-24 bg-white border-y border-stone-200 overflow-hidden",children:[u.jsx("div",{className:"absolute top-10 right-10",children:u.jsx(ti,{size:120,opacity:.05,color:"#7c3aed"})}),u.jsxs("div",{className:"relative max-w-6xl mx-auto grid md:grid-cols-2 gap-10 md:gap-14 items-center pt-20 md:pt-24 [&>*]:min-w-0",children:[u.jsxs("div",{className:"md:order-2",children:[u.jsx(kl,{num:"02",label:"Analyse",color:"#7c3aed"}),u.jsxs("h3",{className:"text-3xl md:text-4xl font-black tracking-tight leading-tight mb-5",style:{letterSpacing:"-0.02em"},children:["Turn raw AI answers into",u.jsx("br",{}),"a single visibility score."]}),u.jsx("p",{className:"text-stone-500 text-base md:text-lg leading-relaxed mb-6",children:"Track your AI Visibility Score over time. Compare yourself to up to 10 competitors. Drill into share of voice by topic, prompt, or platform. Spot exactly where you're winning - and where rivals are stealing the conversation."}),u.jsx("ul",{className:"space-y-3",children:["Single GEO Score, refreshed daily","Topic ownership heatmaps + competitor momentum charts","Head-to-head share of voice vs. up to 10 rivals"].map(i=>u.jsxs("li",{className:"flex items-start gap-3 text-stone-700 font-medium",children:[u.jsx(ei,{color:"#7c3aed"}),u.jsx("span",{className:"min-w-0 break-words",children:i})]},i))}),u.jsx("a",{href:"/usecases/competitor-tracking",onClick:a("/usecases/competitor-tracking"),className:"inline-flex items-center gap-1.5 mt-7 font-bold hover:gap-2.5 transition-all",style:{color:"#7c3aed"},children:"Benchmark your share of voice →"})]}),u.jsxs("div",{className:"md:order-1 space-y-4",children:[u.jsx(pP,{}),u.jsx(vP,{})]})]})]}),u.jsxs("section",{className:"relative px-6 py-20 md:py-24 overflow-hidden",children:[u.jsx("div",{className:"absolute top-20 left-20",children:u.jsx(ti,{size:100,opacity:.05,color:"#0891b2"})}),u.jsxs("div",{className:"relative max-w-6xl mx-auto grid md:grid-cols-2 gap-10 md:gap-14 items-center [&>*]:min-w-0",children:[u.jsxs("div",{children:[u.jsx(kl,{num:"03",label:"Watch it grow",color:"#0891b2"}),u.jsxs("h3",{className:"text-3xl md:text-4xl font-black tracking-tight leading-tight mb-5",style:{letterSpacing:"-0.02em"},children:["See the line go up.",u.jsx("br",{}),"Day after day."]}),u.jsx("p",{className:"text-stone-500 text-base md:text-lg leading-relaxed mb-6",children:"Visibility timelines, brand-citation history, cited-pages history - every metric tracked over time so you can prove the impact of every GEO action you take. No more black box."}),u.jsx("ul",{className:"space-y-3",children:["Full historical trend for every metric","Compare your growth vs. competitor growth","Annotate runs to mark what changed"].map(i=>u.jsxs("li",{className:"flex items-start gap-3 text-stone-700 font-medium",children:[u.jsx(ei,{color:"#0891b2"}),u.jsx("span",{className:"min-w-0 break-words",children:i})]},i))}),u.jsx("a",{href:"/features/performance-tracking",onClick:a("/features/performance-tracking"),className:"inline-flex items-center gap-1.5 mt-7 font-bold hover:gap-2.5 transition-all",style:{color:"#0891b2"},children:"Explore performance tracking →"})]}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute -inset-4 rounded-3xl opacity-40 blur-2xl",style:{background:`radial-gradient(circle, ${J}30, transparent 60%)`}}),u.jsx("div",{className:"relative",children:u.jsx(mP,{})})]})]})]}),u.jsxs("section",{className:"relative px-6 py-20 md:py-24 bg-stone-900 text-white overflow-hidden",children:[u.jsx(mh,{count:25,color:J,opacity:.15}),u.jsx("div",{className:"absolute top-10 right-10",children:u.jsx(ti,{size:120,opacity:.1})}),u.jsxs("div",{className:"relative max-w-6xl mx-auto grid md:grid-cols-2 gap-10 md:gap-14 items-center",children:[u.jsxs("div",{children:[u.jsx(kl,{num:"04",label:"Act"}),u.jsxs("h3",{className:"text-3xl md:text-4xl font-black tracking-tight leading-tight mb-5 text-white",style:{letterSpacing:"-0.02em"},children:["A prioritised action plan,",u.jsx("br",{}),"generated by AI."]}),u.jsx("p",{className:"text-stone-400 text-base md:text-lg leading-relaxed mb-6",children:"Don't just measure - improve. Jasno turns your data into a ranked list of content gaps, citation opportunities, and brand-signal fixes - then your team plans, assigns, and ships every fix from one collaborative board. Every recommendation comes with evidence: exactly what the AI said and why it matters."}),u.jsx("ul",{className:"space-y-3",children:["Unified content board 
34with comments & @mentions","AI-generated content briefs","Page-level citation & schema fixes","Ranked by expected visibility impact"].map(i=>u.jsxs("li",{className:"flex items-start gap-3 text-stone-200 font-medium",children:[u.jsx(ei,{}),i]},i))}),u.jsx("a",{href:"/features/content-optimisation",onClick:a("/features/content-optimisation"),className:"inline-flex items-center gap-1.5 mt-7 font-bold hover:gap-2.5 transition-all",style:{color:J},children:"Explore content optimisation →"})]}),u.jsx("div",{className:"text-stone-900",children:u.jsx(gP,{})})]})]}),u.jsxs("section",{className:"relative py-20 md:py-24 px-6 overflow-hidden",style:{background:ri},children:[u.jsx("div",{className:"absolute top-10 left-1/2 -translate-x-1/2",children:u.jsx(ti,{size:200,opacity:.04})}),u.jsxs("div",{className:"relative max-w-4xl mx-auto text-center",children:[u.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.3em] text-stone-400 mb-3",children:"From the makers"}),u.jsx("div",{className:"text-7xl font-black leading-none mb-6",style:{color:J},children:'"'}),u.jsxs("blockquote",{className:"text-2xl md:text-4xl font-black text-stone-900 leading-tight mb-8",style:{letterSpacing:"-0.02em"},children:["We built Jasno because our agency clients kept asking the same question: ",u.jsx("span",{className:"text-stone-400",children:'"Are we showing up in ChatGPT?"'})," Now we can ",u.jsx("span",{style:{color:J},children:"answer it - with data."})]}),u.jsx("div",{className:"grid grid-cols-3 gap-6 mt-12 md:mt-16 pt-10 md:pt-12 border-t border-stone-200",children:[{v:8,s:"×",l:"more AI mentions for clients"},{v:47,s:"%",l:"avg. share of voice gain"},{v:6,s:" wks",l:"to first measurable results"}].map(i=>u.jsxs("div",{className:"text-center",children:[u.jsxs("div",{className:"text-3xl md:text-5xl font-black tabular-nums",style:{color:J},children:[u.jsx(qr,{to:i.v}),i.s]}),u.jsx("div",{className:"text-stone-500 text-xs md:text-sm mt-1 font-medium",children:i.l})]},i.l))})]})]}),u.jsx("section",{className:"relative py-20 md:py-24 px-6 bg-white border-y border-stone-200",children:u.jsxs("div",{className:"relative max-w-5xl mx-auto",children:[u.jsxs("div",{className:"text-center mb-12 md:mb-14",children:[u.jsx("div",{className:"text-xs font-bold uppercase tracking-[0.3em] text-stone-400 mb-3",children:"Explore the platform"}),u.jsx("h2",{className:"text-3xl md:text-4xl font-black tracking-tight",style:{letterSpacing:"-0.03em"},children:"Everything Jasno can do"})]}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-10 md:gap-14",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"text-xs font-bold uppercase tracking-[0.2em] text-stone-500 mb-5",children:"Features"}),u.jsx("ul",{className:"space-y-4",children:pm.map(i=>u.jsx("li",{children:u.jsxs("a",{href:i.path,onClick:a(i.path),className:"group block",children:[u.jsx("span",{className:"font-bold text-stone-900 group-hover:underline underline-offset-4",children:i.label}),u.jsx("span",{className:"block text-sm text-stone-500 mt-0.5",children:i.blurb})]})},i.path))})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xs font-bold uppercase tracking-[0.2em] text-stone-500 mb-5",children:"Use cases"}),u.jsx("ul",{className:"space-y-4",children:gm.map(i=>u.jsx("li",{children:u.jsxs("a",{href:i.path,onClick:a(i.path),className:"group block",children:[u.jsx("span",{className:"font-bold text-stone-900 group-hover:underline underline-offset-4",children:i.label}),u.jsx("span",{className:"block text-sm text-stone-500 mt-0.5",children:i.blurb})]})},i.path))})]})]}),u.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-x-8 gap-y-3 mt-14 pt-10 border-t border-stone-200 text-sm font-bold",children:[u.jsx("a",{href:"/features",onClick:a("/features"),className:"text-stone-700 hover:text-stone-900",children:"All features →"}),u.jsx("a",{href:"/usecases",onClick:a("/usecases"),className:"text-stone-700 hover:text-stone-900",children:"All use cases →"}),u.jsx("a",{href:"/pricing",onClick:a("/pricing"),className:"text-stone-700 hover:text-stone-900",children:"Pricing →"}),u.jsx("a",{href:"/blog",onClick:a("/blog"),className:"text-stone-700 hover:text-stone-900",children:"Blog →"})]})]})}),u.jsx("section",{id:"faq",className:"px-6 py-20 md:py-24",children:u.jsxs("div",{className:"max-w-3xl mx-auto",children:[u.jsx("p",{className:"text-xs font-bold uppercase tracking-widest mb-5 text-center",style:{color:J},children:"Common questions"}
34),u.jsx("h2",{className:"text-xl font-black text-stone-900 mb-6 text-center",style:{letterSpacing:"-0.01em"},children:"Frequently asked questions"}),u.jsx("div",{className:"space-y-2",children:RS.map(({q:i,a:o})=>u.jsxs("details",{className:"group rounded-2xl border border-stone-200 bg-white overflow-hidden",children:[u.jsxs("summary",{className:"flex items-center justify-between px-6 py-4 cursor-pointer select-none list-none [&::-webkit-details-marker]:hidden",children:[u.jsx("span",{className:"font-semibold text-stone-800 text-sm pr-4",children:i}),u.jsx("span",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-white text-sm font-bold group-open:rotate-45 transition-transform",style:{background:J},children:"+"})]}),u.jsx("p",{className:"px-6 pb-5 pt-1 text-sm text-stone-500 leading-relaxed border-t border-stone-100",children:o})]},i))})]})}),u.jsx(hP,{onClick:n}),u.jsx(wP,{})]})}function MS(){const[e,n]=w.useState(null),[a,i]=w.useState(null);return w.useEffect(()=>{const c=new URLSearchParams(window.location.search).get("redirect_url");if(!c)return;let f=null;try{f=new URLSearchParams(new URL(c).search).get("invite_token")}
34catch{f=new URLSearchParams(c.split("?")[1]??"").get("invite_token")}f&&fetch(`/api/invite-info?token=${encodeURIComponent(f)}`).then(async m=>{if(m.ok){const p=await m.json();p&&p.email&&p.team_name&&n(p)}else m.status===410?i("expired"):m.status===404&&i("not_found")}).catch(()=>{})},[]),{inviteInfo:e,inviteError:a}}function AP(){const{inviteInfo:e,inviteError:n}=MS();return u.jsx("div",{className:"min-h-screen flex items-center justify-center bg-slate-50 px-4",children:u.jsxs("div",{className:"flex flex-col items-center gap-4 w-full max-w-md",children:[n==="expired"&&u.jsxs("div",{className:"w-full rounded-xl border border-amber-200 bg-amber-50 px-5 py-4 text-sm text-amber-800 shadow-sm",children:[u.jsx("p",{className:"font-semibold text-amber-900 mb-1",children:"Invite link expired"}),u.jsx("p",{children:"This invite link has expired. Ask your team owner to send a new one."})]}),n==="not_found"&&u.jsxs("div",{className:"w-full rounded-xl border border-red-200 bg-red-50 px-5 py-4 text-sm text-red-800 shadow-sm",children:[u.jsx("p",{className:"font-semibold text-red-900 mb-1",children:"Invite link no longer valid"}),u.jsx("p",{children:"This invite link is no longer valid. Ask your team owner to send a new one."})]}),e&&u.jsxs("div",{className:"w-full rounded-xl border border-blue-200 bg-blue-50 px-5 py-4 text-sm text-blue-800 shadow-sm",children:[u.jsxs("p",{className:"font-semibold text-blue-900 mb-1",children:["You've been invited to join ",e.team_name]}),u.jsxs("p",{children:["Sign in with ",u.jsx("span",{className:"font-medium",children:e.email})," to accept the invitation."]})]}),u.jsx(fk,{routing:"path",path:"/sign-in",signUpUrl:"/sign-up",fallbackRedirectUrl:"/dashboard"})]})})}function EP(){const{inviteInfo:e,inviteError:n}=MS();return u.jsx("div",{className:"min-h-screen flex items-center justify-center bg-slate-50 px-4",children:u.jsxs("div",{className:"flex flex-col items-center gap-4 w-full max-w-md",children:[n==="expired"&&u.jsxs("div",{className:"w-full rounded-xl border border-amber-200 bg-amber-50 px-5 py-4 text-sm text-amber-800 shadow-sm",children:[u.jsx("p",{className:"font-semibold text-amber-900 mb-1",children:"Invite link expired"}),u.jsx("p",{children:"This invite link has expired. Ask your team owner to send a new one."})]}),n==="not_found"&&u.jsxs("div",{className:"w-full rounded-xl border border-red-200 bg-red-50 px-5 py-4 text-sm text-red-800 shadow-sm",children:[u.jsx("p",{className:"font-semibold text-red-900 mb-1",children:"Invite link no longer valid"}),u.jsx("p",{children:"This invite link is no longer valid. Ask your team owner to send a new one."})]}),e&&u.jsxs("div",{className:"w-full rounded-xl border border-blue-200 bg-blue-50 px-5 py-4 text-sm text-blue-800 shadow-sm",children:[u.jsxs("p",{className:"font-semibold text-blue-900 mb-1",children:["You've been invited to join ",e.team_name]}),u.jsxs("p",{children:["Sign up with ",u.jsx("span",{className:"font-medium",children:e.email})," to accept the invitation."]})]}),u.jsx(hk,{routing:"path",path:"/sign-up",signInUrl:"/sign-in",fallbackRedirectUrl:"/signup?new=1"})]})})}const kP=w.lazy(()=>ee(()=>import("./PrivacyPolicy-Copc5rca.js"),[])),CP=w.lazy(()=>ee(()=>import("./TermsOfService-ghapm7ZC.js"),[])),NP=w.lazy(()=>ee(()=>import("./CreateTeam-B9qco1EX.js"),__vite__mapDeps([0,1,2,3,4,5]))),Kv=w.lazy(()=>ee(()=>import("./Blog-B1m481KB.js"),[])),Rf=w.lazy(()=>ee(()=>import("./BlogPostPage-BMZff9pD.js"),__vite__mapDeps([6,7,8,9,10,11,12,13]))),OS=w.lazy(()=>ee(()=>import("./Features-DSNm0OC0.js"),__vite__mapDeps([14,15]))),PS=w.lazy(()=>ee(()=>import("./AiSearchVisibility-EfGSq2Ql.js"),__vite__mapDeps([16,17,18,19,20,21,22,23,24]))),DS=w.lazy(()=>ee(()=>import("./AiBrandMonitoring-CyfKK360.js"),__vite__mapDeps([25,17,18,20,21,26,22,23,27,24]))),US=w.lazy(()=>ee(()=>import("./RedditCitations-IlaKNjrb.js"),__vite__mapDeps([28,17,18,21]))),LS=w.lazy(()=>ee(()=>import("./SearchConsoleIntegration-CadjR_h-.js"),__vite__mapDeps([29,17,18,30]))),zS=w.lazy(()=>ee(()=>import("./ContentOptimisation-m8M5EzJY.js"),__vite__mapDeps([31,17,18,32,33]))),VS=w.lazy(()=>ee(()=>import("./PerformanceTracking-QLt2k1aj.js"),__vite__mapDeps([34,17,18,22,35]))),BS=w.lazy(()=>ee(()=>import("./TeamCollaboration-Bg4JMubz.js"),__vite__mapDeps([36,17,18,37,12,38]))),IS=w.lazy(()=>ee(()=>import("./Ga4Integration-BOZ9DxV_.js"),__vite__mapDeps([39,17,18,40,15]))),HS=w.lazy(()=>ee(()=>import("./UseCases-Iq72rJtR.js"),[])),GS=w.lazy(()=>ee(()=>import("./AudienceAlignment-C0gKvv7j.js"),__vite__mapDeps([41,42,18,21]))),qS=w.lazy(()=>ee(()=>import("./CompetitorGaps-COC6ioWZ.js"),__vite__mapDeps([43,42,18,21]))),FS=w.lazy(()=>ee(()=>import("./CitationBuilding-MG62InEl.js"),__vite__mapDeps([44,42,18,21]))),YS=w.lazy(()=>ee(()=>import("./MultiTopicStrategy-tJ_D0DPL.js"),__vite__mapDeps([45,42,18,21]))),KS=w.lazy(()=>ee(()=>import("./CompetitorTracking-CvBYG0Ut.js"),__vite__mapDeps([46,42,18,21]))),$S=w.lazy(()=>ee(()=>import("./AiSearchVisibilityComparison-DJ9cjKcu.js"),__vite__mapDeps([47,13,48,49]))),WS=w.lazy(()=>ee(()=>
34import("./Pricing-DIYVKYtR.js"),__vite__mapDeps([50,51,37,13,52,4,53]))),$v=w.lazy(()=>ee(()=>import("./LandingPaidTrial-BxKURtu1.js"),__vite__mapDeps([54,13,9]))),RP=w.lazy(()=>ee(()=>import("./Layout-CBhgPdI-.js"),__vite__mapDeps([55,56,57,58,59,60,61,62,63,64,9,13,65,66,67,68,69,70,71,72,19,21,73,74,75,23,32,76,77,15]))),Wv=w.lazy(()=>ee(()=>import("./Home-DP0pAH8B.js"),__vite__mapDeps([78,74]))),MP=w.lazy(()=>ee(()=>import("./AiVisibility-VhtSdGb9.js"),__vite__mapDeps([79,80,81,2,82,66,83,49,51,84,85,86,87,88,21,5,89,90,91,8,92,93,57,94,62,63,13,95,96,97,98,19,20,99,9,72,23,100,101,60,59,102,103,104,105,106,48,107,108,109,110,111,112,69,113,114,4,52,56,58,61,64,65,115,116,117,118,70,119,76,120,121,122,123,124,125,126,127,67,128,71,35,129,68,130]))),OP=w.lazy(()=>ee(()=>import("./Competitors-CkYZ_Pg-.js"),__vite__mapDeps([131,80,81,2,82,66,83,49,51,84,85,86,87,88,21,5,89,90,91,8,92,93,57,94,62,63,13,95,96,97,98,19,20,99,9,72,23,100,101,60,59,102,103,104,105,106,48,107,108,109,110,111,112,69,113,114,4,52,56,58,61,64,65,115,116,117,118,70,119,76,120,121,122,123,124,125,126,127,67,128,71,35,129,68,130]))),PP=w.lazy(()=>ee(()=>import("./SearchConsole-DpUHPqI2.js"),__vite__mapDeps([132,81,112,69,113,97,98,105,110,2,120,86,99,88,87,1,83,49,84,48,133,128,76,40,21]))),DP=w.lazy(()=>ee(()=>import("./AiInsights-Du80ODBD.js"),__vite__mapDeps([134,2,81,133,83,49,128,76,40,21,84,48,85,89]))),UP=w.lazy(()=>ee(()=>import("./Scores-CpmKtzbR.js"),__vite__mapDeps([135,2,66,111,104,97,98,136,109,137,105,110,86,99,88,81,127,67,108,20,15,68,5,19,138,72,69,139,130,48,107]))),LP=w.lazy(()=>ee(()=>import("./Onboarding-D7UboJmY.js"),__vite__mapDeps([140,67,141,71,1,93,57,94,62,63,13,142,59,60,61,92,95,143,125,10,76]))),zP=w.lazy(()=>ee(()=>import("./Prompts-dnWdKH-L.js"),__vite__mapDeps([144,81,1,2,66,145,57,94,62,93,63,13,142,59,60,61,96,97,98,19,20,86,99,88,67,128,76,114,141,71,92,95,70,104,68,40,22,138,120,146,9,119,139,130]))),VP=w.lazy(()=>ee(()=>import("./Discover-BnH2rbF1.js"),__vite__mapDeps([147,2,66,1,148,149,101,57,60,59,63,81,51,150,67,128,76,144,145,94,62,93,13,142,61,96,97,98,19,20,86,99,88,114,141,71,92,95,70,104,68,40,22,138,120,146,9,119,139,130,89,122,69]))),BP=w.lazy(()=>ee(()=>import("./Brands-CQtcWKX8.js"),__vite__mapDeps([151,82,2,66,81,118,113,97,98,83,49,57,64,58,60,67,128,76,127,137,120,68,146,104,86,87,115,116,9,152,107,108,109,130]))),IP=w.lazy(()=>ee(()=>import("./Projects-DTIQF4p8.js"),__vite__mapDeps([153,81,2,66,100,57,101,60,59,63,67,141,71,114,154,76,143,77,119,98,109,139,130,136]))),HP=w.lazy(()=>ee(()=>import("./SharedProjects-BSyoz7GX.js"),__vite__mapDeps([155,81,2,66,32,154]))),GP=w.lazy(()=>ee(()=>import("./ProjectSettings-Bmubv_Pu.js"),__vite__mapDeps([156,2,100,57,101,60,59,63,1,145,94,62,67,141,71,3,125,157,21,120,139,98,130,75,69,77,26,40,76,12,119]))),qP=w.lazy(()=>ee(()=>import("./Trends-CRbf8zzk.js"),__vite__mapDeps([158,103,81,128,2,76,67,83,49,82,118,113,97,98,102,13,93,57,94,62,63,104,86,99,105,106,87,88,48,107,108,109,110,85,124,70,52,130]))),FP=w.lazy(()=>ee(()=>import("./Settings-DY6alH63.js"),[])),YP=w.lazy(()=>ee(()=>import("./Team-C9zOtj26.js"),__vite__mapDeps([159,67,2,1,66,160]))),KP=w.lazy(()=>ee(()=>import("./Billing-cp3H6TTe.js"),__vite__mapDeps([161,2,66,51,52,4,73,85,13]))),$P=w.lazy(()=>ee(()=>import("./TeamCredits-Cdkyo-xi.js"),__vite__mapDeps([162,2,1,127,26,68,97,98,71,163,38,21,116,9]))),WP=w.lazy(()=>ee(()=>import("./GscSetup-C0bwBeth.js"),__vite__mapDeps([164,2,5,68,21]))),XP=w.lazy(()=>ee(()=>import("./GscOAuthCallback-MOrxLDrk.js"),__vite__mapDeps([165,5,21]))),QP=w.lazy(()=>ee(()=>import("./Ga4Setup-0m_vTJA8.js"),__vite__mapDeps([166,2,15,23,5,68,21]))),ZP=w.lazy(()=>ee(()=>import("./Integrations-DRjQhJEi.js"),__vite__mapDeps([167,2,128,76,15,5,85]))),JP=w.lazy(()=>ee(()=>import("./Ga4OAuthCallback-CUIfb76e.js"),__vite__mapDeps([168,5,21]))),e3=w.lazy(()=>ee(()=>import("./LlmTraffic-Cc1b_2tv.js"),__vite__mapDeps([169,66,2,128,76,83,49,51,118,113,97,98,70,110,15,40,86,99,88,23,126,89,20,84,68,117,121,69,85,120]))),t3=w.lazy(()=>ee(()=>import("./ContentHub-BqLXLSwm.js"),__vite__mapDeps([170,128,2,76,3,125,13,91,32,149,101,57,60,59,63,95,30,160,113,69,152,33,119,121,19,171,27,123,4,11,172,9,40,116,5,65,139,98,130]))),n3=w.lazy(()=>ee(()=>import("./MissedOpportunities-DD76uzGx.js"),__vite__mapDeps([173,3,90,66,91,85,8,49,128,2,76,106,104,5,21,89,9,13]))),s3=w.lazy(()=>ee(()=>import("./RedditCitations-DUf82x5E.js"),__vite__mapDeps([174,82,150,128,2,76,110,103,19,40,143,86,99,85,120,107,175,97,98]))),i3=w.lazy(()=>ee(()=>import("./ContactUs-DmyG3mMJ.js"),__vite__mapDeps([176,71,177,2,19,5,178]))),Xv=w.lazy(()=>ee(()=>import("./BookDemo-DtlvFlrF.js"),__vite__mapDeps([179,172,69]))),a3=w.lazy(()=>ee(()=>import("./PublicBrief-DJx_xoYB.js"),__vite__mapDeps([180,2,125,13,91]))),r3=w.lazy(()=>ee(()=>import("./AcceptInvite-Bnug1exL.js"),__vite__mapDeps([181,12,143,175]))),o3=w.lazy(()=>ee(()=>import("./MasterAdminLayout-CHQyXOqO.js"),__vite__mapDeps([182,74,10,30,22,15,38,138,12,21,53]))),l3=w.lazy(()=>ee(()=>import("./MasterAdminTeams-CTctSYv-.js"),__vite__mapDeps([183,2,66,1,149,101,57,60,59,63,184,58,61,62,94,13,120,76,9,116,97,98]))),c3=w.lazy(()=>ee(()=>import("./MasterAdminTeamDetail-Di3s6S2t.js"),__vite__mapDeps([185,2,66,1,184,57,58,59,60,61,62,94,13,120,149,101,63,127,163,71,3,10,68,129,20,38,119,97,98]))),u3=w.lazy(()=>ee(()=>import("./MasterAdminUsage-Dzkkx8ZT.js"),__vite__mapDeps([186,2,116,9,97,98]))),d3=w.lazy(()=>ee(()=>import("./MasterAdminPlatforms-Dcpo-_aG.js"),__vite__mapDeps([187,2,124,13]))),f3=w.lazy(()=>ee(()=>import("./MasterAdminPlans-Do_MgnVQ.js"),__vite__mapDeps([188,2,66,149,101,57,60,59,63,1,40,76,119]))),h3=w.lazy(()=>ee(()=>import("./MasterAdminPricing-BPA42PEw.js"),__vite__mapDeps([189,2,1,38]))),m3=w.lazy(()=>ee(()=>import("./MasterAdminGscFailures-NEZuczHP.js"),__vite__mapDeps([190,2,66,157,5,69,21,40,97,98,105,139,130]))),p3=w.lazy(()=>ee(()=>import("./MasterAdminAuthors-BOqoLA4R.js"),__vite__mapDeps([191,1,145,57,94,62,53]))),g3=w.lazy(()=>ee(()=>import("./MasterAdminVouchers-BuhKPf97.js"),__vite__mapDeps([192,2,1,148,184,57,58,59,60,61,62,94,13,120,145,66,138,76,9,91]))),Qv=w.lazy(()=>ee(()=>import("./MasterAdminAnalytics-DMF7Bcbm.js"),__vite__mapDeps([193,2,21,73,86,117,99,88,87]))),y3=w.lazy(()=>ee(()=>import("./MasterAdminEmails-84MmqUii.js"),__vite__mapDeps([194,2,1,148,177,145,57,94,62,66,184,58,59,60,61,13,120,12,76,195,171,119,23,40]))),x3=w.lazy(()=>ee(()=>import("./MasterAdminSeo-VSmu5P2d.js"),__vite__mapDeps([196,1,177,35,76,95,119]))),v3=w.lazy(()=>ee(()=>import("./MasterAdminStatus-CDLo7_rz.js"),__vite__mapDeps([197,40,68,5,175]))),b3=w.lazy(()=>ee(()=>import("./MasterAdminActivity-CO4qH5IE.js"),__vite__mapDeps([198,2,1,22,69,116,9,139,98,130,97]))),w3=w.lazy(()=>ee(()=>import("./AdminBlogList-DSBS9ARN.js"),__vite__mapDeps([199,1,66,121,76,85,75,119]))),Zv=w.lazy(()=>ee(()=>import("./AdminBlogEdit-DzJMkD_4.js"),__vite__mapDeps([200,8,7,1,148,177,10,23,119,195,178,201]))),XS=()=>u.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:u.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})}),Jv=()=>{const e=window.location.pathname+window.location.search;return u.jsx(Tn,{to:`/sign-in?redirect_url=${encodeURIComponent(e)}`,replace:!0})},S3=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:n,authError:a,navigateToLogin:i}=ga(),o=new URLSearchParams(window.location.search).get("invite_token");return n||e?u.jsx(XS,{}):a?o?u.jsx(Wv,{forceInviteLogin:!0,onLogin:i}):u.jsxs(Vf,{children:[u.jsx(Y,{path:"/",element:u.jsx(Yv,{})}),u.jsx(Y,{path:"/marketing",element:u.jsx(Yv,{})}),u.jsx(Y,{path:"/features",element:u.jsx(OS,{})}),u.jsx(Y,{path:"/features/ai-search-visibility",element:u.jsx(PS,{})}),u.jsx(Y,{path:"/ai-brand-monitoring",element:u.jsx(DS,{})}),u.jsx(Y,{path:"/features/reddit-citations",element:u.jsx(US,{})}),u.jsx(Y,{path:"/features/search-console-integration",element:u.jsx(LS,{})}),u.jsx(Y,{path:"/features/content-optimisation",element:u.jsx(zS,{})}),u.jsx(Y,{path:"/features/performance-tracking",element:u.jsx(VS,{})}),u.jsx(Y,{path:"/features/team-collaboration",element:u.jsx(BS,{})}),u.jsx(Y,{path:"/features/ga4-integration",element:u.jsx(IS,{})}),u.jsx(Y,{path:"/usecases",element:u.jsx(HS,{})}),u.jsx(Y,{path:"/usecases/audience-alignment",element:u.jsx(GS,{})}
34),u.jsx(Y,{path:"/usecases/competitor-gaps",element:u.jsx(qS,{})}),u.jsx(Y,{path:"/usecases/citation-building",element:u.jsx(FS,{})}),u.jsx(Y,{path:"/usecases/multi-topic-strategy",element:u.jsx(YS,{})}),u.jsx(Y,{path:"/usecases/competitor-tracking",element:u.jsx(KS,{})}),u.jsx(Y,{path:"/ai-search-visibility-platforms-compared",element:u.jsx($S,{})}),u.jsx(Y,{path:"/pricing",element:u.jsx(WS,{})}),u.jsx(Y,{path:"/book-demo",element:u.jsx(Xv,{})}),u.jsx(Y,{path:"/ai-platform",element:u.jsx($v,{})}),u.jsx(Y,{path:"/beta",element:u.jsx(Tn,{to:"/sign-up",replace:!0})}),u.jsx(Y,{path:"/home",element:u.jsx(Wv,{})}),u.jsx(Y,{path:"/privacy",element:u.jsx(kP,{})}),u.jsx(Y,{path:"/terms",element:u.jsx(CP,{})}),u.jsx(Y,{path:"/blog",element:u.jsx(Kv,{})}),u.jsx(Y,{path:"/blog/:slug",element:u.jsx(Rf,{})}),u.jsx(Y,{path:"/content",element:u.jsx(Jv,{})}),u.jsx(Y,{path:"/recommendations",element:u.jsx(Jv,{})}),u.jsx(Y,{path:"*",element:u.jsx(vx,{})})]}):u.jsxs(Vf,{children:[u.jsx(Y,{path:"/onboarding",element:u.jsx(_s,{children:u.jsx(LP,{})})}),u.jsx(Y,{path:"/blog/preview/:id",element:u.jsx(Rf,{preview:!0})}),u.jsx(Y,{path:"/ai-platform",element:u.jsx($v,{})}),u.jsx(Y,{path:"/book-demo",element:u.jsx(Xv,{})}),u.jsxs(Y,{element:u.jsx(pR,{children:u.jsx(RP,{})}),children:[u.jsxs(Y,{path:"/master-admin",element:u.jsx(o3,{}),children:[u.jsx(Y,{index:!0,element:u.jsx(Qv,{})}),u.jsx(Y,{path:"status",element:u.jsx(v3,{})}),u.jsx(Y,{path:"analytics",element:u.jsx(Qv,{})}),u.jsx(Y,{path:"teams",element:u.jsx(l3,{})}),u.jsx(Y,{path:"teams/:teamId",element:u.jsx(c3,{})}),u.jsx(Y,{path:"activity",element:u.jsx(b3,{})}),u.jsx(Y,{path:"usage",element:u.jsx(u3,{})}),u.jsx(Y,{path:"plans",element:u.jsx(f3,{})}),u.jsx(Y,{path:"pricing",element:u.jsx(h3,{})}),u.jsx(Y,{path:"vouchers",element:u.jsx(g3,{})}),u.jsx(Y,{path:"emails",element:u.jsx(y3,{})}),u.jsx(Y,{path:"seo",element:u.jsx(x3,{})}),u.jsx(Y,{path:"platforms",element:u.jsx(d3,{})}),u.jsx(Y,{path:"gsc-failures",element:u.jsx(m3,{})}),u.jsx(Y,{path:"authors",element:u.jsx(p3,{})})]}),u.jsx(Y,{path:"/blog",element:u.jsx(Kv,{})}),u.jsx(Y,{path:"/blog/:slug",element:u.jsx(Rf,{})}),u.jsx(Y,{path:"/admin/blog",element:u.jsx(w3,{})}),u.jsx(Y,{path:"/admin/blog/new",element:u.jsx(Zv,{})}),u.jsx(Y,{path:"/admin/blog/:id",element:u.jsx(Zv,{})}),u.jsx(Y,{path:"/",element:u.jsx(Ft,{sectionKey:"home",children:u.jsx(UP,{})})}),u.jsx(Y,{path:"/scores",element:u.jsx(Tn,{to:"/",replace:!0})}),u.jsx(Y,{path:"/ai-visibility",element:u.jsx(Ft,{sectionKey:"ai_visibility",children:u.jsx(MP,{})})}),u.jsx(Y,{path:"/competitors",element:u.jsx(Ft,{sectionKey:"competitors",children:u.jsx(OP,{})})}),u.jsx(Y,{path:"/trends",element:u.jsx(Ft,{sectionKey:"trends",children:u.jsx(qP,{})})}),u.jsx(Y,{path:"/search-console",element:u.jsx(Ft,{sectionKey:"search_console",children:u.jsx(PP,{})})}),u.jsx(Y,{path:"/prompts",element:u.jsx(Ft,{sectionKey:"prompts",children:u.jsx(zP,{})})}),u.jsx(Y,{path:"/discover",element:u.jsx(_s,{children:u.jsx(Ft,{sectionKey:"discover_prompts",children:u.jsx(VP,{})})})}),u.jsx(Y,{path:"/ai-insights",element:u.jsx(Ft,{sectionKey:"ai_insights",children:u.jsx(DP,{})})}),u.jsx(Y,{path:"/brands",element:u.jsx(Ft,{sectionKey:"brands",children:u.jsx(BP,{})})}),u.jsx(Y,{path:"/dashboard",element:u.jsx(Tn,{to:"/ai-visibility",replace:!0})}),u.jsx(Y,{path:"/gsc",element:u.jsx(Tn,{to:"/search-console",replace:!0})}),u.jsx(Y,{path:"/projects",element:u.jsx(_s,{children:u.jsx(IP,{})})}),u.jsx(Y,{path:"/shared-projects",element:u.jsx(HP,{})}),u.jsx(Y,{path:"/project-settings",element:u.jsx(_s,{children:u.jsx(GP,{})})}),u.jsx(Y,{path:"/team",element:u.jsx(_s,{children:u.jsx(YP,{})})}),u.jsx(Y,{path:"/contact",element:u.jsx(i3,{})}),u.jsx(Y,{path:"/billing",element:u.jsx(_s,{children:u.jsx(KP,{})})}),u.jsx(Y,{path:"/settings",element:u.jsx(_s,{children:u.jsx(FP,{})})}),u.jsx(Y,{path:"/marketing",element:u.jsx(Tn,{to:"/",replace:!0})}),u.jsx(Y,{path:"/team-credits",element:u.jsx(_s,{children:u.jsx($P,{})})}),u.jsx(Y,{path:"/gsc-setup",element:u.jsx(WP,{})}),u.jsx(Y,{path:"/ga4-setup",element:u.jsx(QP,{})}),u.jsx(Y,{path:"/integrations",element:u.jsx(ZP,{})}),u.jsx(Y,{path:"/llm-traffic",element:u.jsx(Ft,{sectionKey:"llm_traffic",children:u.jsx(e3,{})})}),u.jsx(Y,{path:"/content",element:u.jsx(jx,{children:u.jsx(Ft,{sectionKey:"recommendations",children:u.jsx(t3,{})})})}),u.jsx(Y,{path:"/recommendations",element:u.jsx(Tn,{to:"/content",replace:!0})}),u.jsx(Y,{path:"/content-briefs",element:u.jsx(Tn,{to:"/content",replace:!0})}),u.jsx(Y,{path:"/content-gaps",element:u.jsx(Tn,{to:"/content",replace:!0})}),u.jsx(Y,{path:"/missed-opportunities",element:u.jsx(jx,{children:u.jsx(Ft,{sectionKey:"missed_opportunities",children:u.jsx(n3,{})})})}),u.jsx(Y,{path:"/reddit-citations",element:u.jsx(Ft,{sectionKey:"reddit_citations",children:u.jsx(s3,{})})})]}),u.jsx(Y,{path:"*",element:u.jsx(vx,{})})]})};function j3({children:e}){const n=ci(),a="pk_live_Y2xlcmsuamFzbm8uYWkk",i="/api/__clerk",o=`${window.location.origin}/clerk.browser.js`;return u.jsx(y1,{publishableKey:a,proxyUrl:i,clerkJSUrl:o,appearance:{options:{logoLinkUrl:"https://jasno.ai"}}
34,signInUrl:"/sign-in",signUpUrl:"/sign-up",signInFallbackRedirectUrl:"/",signUpFallbackRedirectUrl:"/",routerPush:c=>n(c),routerReplace:c=>n(c,{replace:!0}),children:e})}function _3(){return u.jsx(ON,{children:u.jsx(j3,{children:u.jsx($N,{children:u.jsx(nR,{children:u.jsxs(GA,{client:qA,children:[u.jsxs(u.Fragment,{children:[u.jsx(WN,{}),u.jsx(tR,{}),u.jsx(w.Suspense,{fallback:u.jsx(XS,{}),children:u.jsxs(Vf,{children:[u.jsx(Y,{path:"/sign-in/*",element:u.jsx(AP,{})}),u.jsx(Y,{path:"/sign-up/*",element:u.jsx(EP,{})}),u.jsx(Y,{path:"/signup",element:u.jsx(NP,{})}),u.jsx(Y,{path:"/gsc-oauth-callback",element:u.jsx(XP,{})}),u.jsx(Y,{path:"/ga4-oauth-callback",element:u.jsx(JP,{})}),u.jsx(Y,{path:"/brief/:shareToken",element:u.jsx(a3,{})}),u.jsx(Y,{path:"/accept-invite",element:u.jsx(r3,{})}),u.jsx(Y,{path:"/features",element:u.jsx(OS,{})}),u.jsx(Y,{path:"/features/ai-search-visibility",element:u.jsx(PS,{})}),u.jsx(Y,{path:"/ai-brand-monitoring",element:u.jsx(DS,{})}),u.jsx(Y,{path:"/features/reddit-citations",element:u.jsx(US,{})}),u.jsx(Y,{path:"/features/search-console-integration",element:u.jsx(LS,{})}),u.jsx(Y,{path:"/features/content-optimisation",element:u.jsx(zS,{})}),u.jsx(Y,{path:"/features/performance-tracking",element:u.jsx(VS,{})}),u.jsx(Y,{path:"/features/team-collaboration",element:u.jsx(BS,{})}),u.jsx(Y,{path:"/features/ga4-integration",element:u.jsx(IS,{})}),u.jsx(Y,{path:"/usecases",element:u.jsx(HS,{})}),u.jsx(Y,{path:"/usecases/audience-alignment",element:u.jsx(GS,{})}),u.jsx(Y,{path:"/usecases/competitor-gaps",element:u.jsx(qS,{})}),u.jsx(Y,{path:"/usecases/citation-building",element:u.jsx(FS,{})}),u.jsx(Y,{path:"/usecases/multi-topic-strategy",element:u.jsx(YS,{})}),u.jsx(Y,{path:"/usecases/competitor-tracking",element:u.jsx(KS,{})}),u.jsx(Y,{path:"/ai-search-visibility-platforms-compared",element:u.jsx($S,{})}),u.jsx(Y,{path:"/pricing",element:u.jsx(WS,{})}),u.jsx(Y,{path:"*",element:u.jsx(S3,{})})]})})]}),u.jsx(mA,{})]})})})})})}const ph="jasno_first_touch_v1",T3=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],Cl=(e,n=300)=>typeof e=="string"?e.slice(0,n):"";function QS(){try{if(typeof window>"u"||!window.localStorage||window.localStorage.getItem(ph))return;const e=new URLSearchParams(window.location.search),n={captured_at:new Date().toISOString()};for(const o of T3){const c=e.get(o);c&&(n[o]=Cl(c))}for(const o of["gclid","msclkid","fbclid"]){const c=e.get(o);c&&(n[o]=Cl(c,120))}const a=document.referrer||"";a&&!/jasno\.ai|accounts\.google\.com|clerk\./i.test(a)&&(n.referrer=Cl(a)),n.landing_page=Cl(window.location.pathname+window.location.search,500),window.localStorage.setItem(ph,JSON.stringify(n))}catch{}}function ZS(){try{const e=window.localStorage.getItem(ph);if(!e)return null;const n=JSON.parse(e);return n&&typeof n=="object"?n:null}catch{return null}}function A3(){const e=ZS();if(!e)return null;const n=e.utm_source||(e.gclid?"google":e.referrer?new URL(e.referrer).hostname:"direct"),a=e.utm_medium||(e.gclid?"cpc":e.referrer?"referral":"none");return{source:n,medium:a,campaign:e.utm_campaign||""}}const E3=Object.freeze(Object.defineProperty({__proto__:null,captureFirstTouch:QS,firstTouchSummary:A3,getFirstTouch:ZS},Symbol.toStringTag,{value:"Module"}));QS();sb.createRoot(document.getElementById("root")).render(u.jsx(_3,{}));export{J_ as $,Fd as A,H1 as B,ri as C,QN as D,oT as E,iD as F,eD as G,ti as H,kl as I,ei as J,hP as K,Dh as L,bP as M,pP as N,la as O,Hv as P,ca as Q,sD as R,hT as S,mP as T,vT as U,Q3 as V,ua as W,vP as X,gP as Y,ST as Z,tD as _,wP as a,aD as a0,$_ as a1,an as a2,pT as a3,Q_ as a4,lb as a5,rD as a6,V as a7,Mf as a8,GN as a9,k3 as aA,D3 as aB,hA as aC,aR as aD,xh as aE,Tn as aF,I3 as aG,F3 as aH,L3 as aI,PN as aJ,W3 as aK,Lh as aL,V3 as aM,B3 as aN,K3 as aO,H3 as aP,P3 as aQ,E3 as aR,Uh as aa,O3 as ab,mh as ac,qr as ad,V1 as ae,q3 as af,ee as ag,gR as ah,yR as ai,gl as aj,aT as ak,R3 as al,ab as am,rc as an,cc as ao,G3 as ap,$3 as aq,B1 as ar,da as as,zE as at,A3 as au,rb as av,M3 as aw,eb as ax,fR as ay,V_ as az,ci as b,ga as c,ra as d,ot as e,Y3 as f,FN as g,yh as h,lt as i,u as j,N3 as k,z3 as l,Hf as m,wx as n,J as o,U3 as p,fP as q,w as r,CS as s,dT as t,jt as u,Z3 as v,J3 as w,tT as x,yT as y,nD as z};

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.