1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AIVisibility-Dd32Tkqy.js","assets/rolldown-runtime-BEU_UCik.js","assets/vendor-auth-DAuWozuU.js","assets/vendor-react-IBcu1n3d.js","assets/vendor-gsap-Zs4Vj9wD.js","assets/chunk-62JRHF6Z-D9puh-us.js","assets/vendor-three-B2-Q0aVX.js","assets/index.esm-BEieHnny.js","assets/vendor-query-Ct_3YD9H.js","assets/User-BzNI1SQp.js","assets/axiosInstance-DrZDrJAX.js","assets/index.es-BTkwoywu.js","assets/prop-types-DeLGOMLk.js","assets/regular-AT_GwMg_.js","assets/Paywall-B3Gj9JWr.js","assets/useScrollToTop-6I6osjaO.js","assets/StatusEventsContext-DFtWWkE4.js","assets/ThemeManager-ILkyB1Q0.js","assets/solid-CofuJNaU.js","assets/free-solid-svg-icons-BD_SwYKY.js","assets/cn-rNX6jy_B.js","assets/clsx-BUm1h715.js","assets/Loading-XkN6_W9E.js","assets/Loading-CjCC6xSe.css","assets/useProject-_1FGJNGu.js","assets/projectService-D25XshJp.js","assets/vendor-charts-CIrZe8F2.js","assets/chartUtils-BgSJGHV9.js","assets/chroma-js-CiBcEHoY.js","assets/ChartDashboard-6nGBJd0Q.js","assets/cloneDeep-Qji1ht8V.js","assets/_baseClone-C-aMip5A.js","assets/_Uint8Array-B4Cc4tbs.js","assets/cjs-B7xuL0Jt.js","assets/tableUtils-Cx91YH8V.js","assets/ErrorDisplay-wA_eppWS.js","assets/ProjectInfoHeader-BDab4SZD.js","assets/FavoriteButton-4en8TqNN.js","assets/FeasibilityBadge-Bbju-BiN.js","assets/spinner-f5EoijQJ.js","assets/ShareButton-BQifXCt7.js","assets/UtilityDropdown-_vIf3sQx.js","assets/mobileActionClasses-BbRVeEUe.js","assets/mobileActionClasses-CXPm6-R0.css","assets/RefreshButton-Dn0eQTmJ.js","assets/useRefreshAction-D1qtfeKm.js","assets/dist-C1LyjCEA.js","assets/conditionService-7pRn7dab.js","assets/ProjectInfoHeader-C1-4H020.css","assets/SlideInHeader-BJJLUhDd.js","assets/DataUnavailable-ByO2pSpx.js","assets/InterestCharts-D_uXzOT-.js","assets/colors-CsbvIeof.js","assets/InterestCharts-o6QCfPio.css","assets/perplexity-CraboH6o.js","assets/ExportQuestionsButton-CG6idoAf.js","assets/VisibilityCards-BxQOs5iU.js","assets/WatchlistGuideLink-Cktuay-X.js","assets/clusterService-COYmaiU2.js","assets/AIVisibility-BL6E879D.css","assets/ACNUDashboard-CV8HCDew.js","assets/ACNUDashboard-DSAc80c6.css","assets/ACNUFeasibility-DrooVbnE.js","assets/ScrollFadeContainer-Dtzq3qC9.js","assets/ScrollFadeContainer-DPGSLu-V.css","assets/useDismissible-C_9DHMpv.js","assets/utils-DSBRkhSz.js","assets/appService-C8s7WXS2.js","assets/lib-q-9UOV8A.js","assets/ACNURefreshButton-BsVBJ70u.js","assets/rowParts-C05nBLO-.js","assets/SortHeader-DnHtNKay.js","assets/listKeys-B21wmAcq.js","assets/useSortableTable-CHWKWTI_.js","assets/adminService-B9aLESOy.js","assets/ACNUFeasibility-BBen0Qcg.css","assets/ACNUMethodology-B8vZr6D3.js","assets/Canonical-CnGbWY_t.js","assets/QuestionProfile-Boaem_ae.js","assets/LoadingSkeleton-BqfzfE_a.js","assets/LoadingSkeleton-CQMxwxCI.css","assets/ParticleField-DD4MFwoQ.js","assets/QuestionProfile-CIIy-1Ve.css","assets/AskAI-Dc-wb10-.js","assets/chatService-CWLF64bN.js","assets/constants-BgfBPDuH.js","assets/useChatJobs-CxUoqM_g.js","assets/useAgents-CPzh2gEb.js","assets/useVoices-Bb_wTls_.js","assets/AskAI-Bfp9qL49.css","assets/AIAgents-CjYMXyhZ.js","assets/useAgentDefinitions-CdRrsYyC.js","assets/AIAgentAdd-D-hexJTo.js","assets/AgentDefinitionForm-BkznGbYk.js","assets/FieldError-7uZChftY.js","assets/FieldError-C2DI6Sk3.css","assets/FieldError-Ch_lZYe_.js","assets/InputCard-CYeijOYY.js","assets/ToggleSwitch-dxGsU2Ab.js","assets/ToggleSwitch-CSpKIYwH.css","assets/organizationService-BCg3hKyX.js","assets/AIAgentEdit-BJwhsRTm.js","assets/QuestionProfile-fAaXMLn_.js","assets/SectionHeader-KYcI_tQ1.js","assets/getAuthHeaders-DG_TIw8t.js","assets/InfoTooltip-CMNsh4oF.js","assets/ConditionInfoHeader-BCDwUGjb.js","assets/QuestionProfile-auTZsHEE.css","assets/RegenImageBanner-DN064k_n.css","assets/Bill-Bq7OBr1N.js","assets/ModelContext-CRD_TLrD.js","assets/gradeConfigs-D0EskIZm.js","assets/ModelSwitcher-BTBVM9da.js","assets/tab-nav-BnR54qFy.css","assets/independent-B0eY6xbm.js","assets/BillingHelp-D3nb-3XV.js","assets/BugReport-Di9N1DMg.js","assets/validation-DxexLepU.js","assets/esm-BUfFyF3E.js","assets/Callback-llmHmyhk.js","assets/CaseStudies-BDG
1ct3MO.js","assets/WebsiteHeader-QJGWXfoA.js","assets/WebsiteHeader-DihnPeyw.css","assets/Kicker-B9nWCvc0.js","assets/motionUtils-DGqtAGKn.js","assets/ContactForm-CO2DWeKd.js","assets/ContactForm-C7G_u9av.css","assets/BulletList-CeQ05JT0.js","assets/WebsiteCTA-D3WGUCsm.js","assets/WebsiteCTA-DNroO8aW.css","assets/website-cRGrhQ8J.css","assets/Cluster-BkqJkOol.js","assets/Carousel-CLjcNo0i.js","assets/Carousel-C_BYtL64.css","assets/Cluster-B3otc_53.css","assets/Clusters-kO8vT7KE.js","assets/useDebounceValue-CxtyEK5e.js","assets/ProjectScore-CyAxPh6p.js","assets/Pagination-DeUiR-gF.js","assets/Pagination-BVB0aEh8.css","assets/categories-BPvSbvVK.js","assets/ExternalLink-D5a25B1d.js","assets/Clusters-BG-B2Zrn.css","assets/Company-Yaq2N16O.js","assets/ProjectStatusIcon-Rj3IDb3g.js","assets/ProjectStatusIcon-CDa5lAQf.css","assets/companyService-DXBHBVDO.js","assets/Company-kaX35jFi.css","assets/CompanyAdd-Bu16LKKO.js","assets/company-BJLMv5yl.js","assets/CompanyAdd-DkkkXgLE.css","assets/CompanyEdit-BYuQIswR.js","assets/CompetitiveAnalysis-CAvjlDDS.js","assets/CompetitiveAnalysis-Cqs29_NZ.css","assets/ConditionAnalysis-BV3aeYoP.js","assets/ConditionAnalysis-x1XGuNl0.css","assets/ConditionProfile-Ml9fDjDD.js","assets/Dashboard-Dxo03evr.js","assets/Progress-D4la6Gad.js","assets/Progress-BlBve3_A.css","assets/Dashboard-BKp-7zOB.css","assets/Diagrams-UkaVnckC.js","assets/chunk-Y2CYZVJY-DyW28Zxd.js","assets/src-gjyLIIWF.js","assets/chunk-I66GZJ75-BQa0fZCx.js","assets/purify.es-Bqr3TUyl.js","assets/chunk-NSK5VX7P-D5anm6E7.js","assets/dist-C_GJLWEi.js","assets/chunk-3NCLNEKW-CnLZShdr.js","assets/chunk-4I5QYGJK-C19g8asZ.js","assets/chunk-WRU74C26-jGngrx27.js","assets/chunk-7BUUIJ7U-zDQihQAl.js","assets/chunk-UBXNYLIW-mqsX1SPW.js","assets/chunk-W5SLKNZC-DK3vvS_d.js","assets/chunk-QR6OTTB3-BIls2sj6.js","assets/rough.esm-MOJY7C3p.js","assets/chunk-7Z6QIM7H-BAAMY-rW.js","assets/line-6XakD-QP.js","assets/path-CAufXw5D.js","assets/array-B0vPCVKH.js","assets/chunk-J7OUQ5F2-DSB8O2gB.js","assets/chunk-ZIRB5QZD-DlrBzgY_.js","assets/BrandKit-C239yt29.js","assets/BrandKit-CuKzCjjN.css","assets/WatchlistGuide-DHqhTeV9.js","assets/WatchlistGuide-Aqx19GOt.css","assets/DocumentCenter-bdBnWwjz.js","assets/Leaderboard-B-jVFA1r.js","assets/LeaderboardContext-9wS7-paG.js","assets/LeaderboardResults-DFEIQTHF.js","assets/UtilityDrawerShell-WYyMt1Iv.js","assets/UtilityDrawerShell-CKzD_6Tf.css","assets/LeaderboardResults-DrKaVWPW.css","assets/LeaderboardBills-DYvdwzt_.js","assets/useCongress-B2MEtrrd.js","assets/LeaderboardBills-DnAveAKm.css","assets/LeaderboardPoliticians-BLBLpeKK.js","assets/LeaderboardPoliticians-vGKOSgIm.css","assets/LeaderboardFood-BZ3rwWm6.js","assets/foodService-CbcIyaDU.js","assets/LeaderboardFood-DAnjXVXm.css","assets/OtcExplorer-yDQAoEjn.js","assets/useAnalyzeOtc-BLwSqiHv.js","assets/OtcExplorer-DhMD42H_.css","assets/OtcDetail-D4fQf6Qz.js","assets/OtcDetail-Dz1eXbnH.css","assets/GlobalNegatives-noztxA_a.js","assets/KeywordField-B-Isio6O.js","assets/KeywordField-B6hsSQpW.css","assets/GlobalNegatives-BMa3INhF.css","assets/KeywordUniverse-DCE1MEZd.js","assets/KeywordUniverse-C3FZ1924.css","assets/Organizations-D2ljbcJz.js","assets/Organization-BZx1SLcH.js","assets/useOrganizationMutations-DVFoolo-.js","assets/ApiKeyModal-CMpANca-.js","assets/OrganizationAdd-KHOPBm0E.js","assets/InvitationAccept-BExsvhEL.js","assets/Politician-BsqsfmR5.js","assets/Politician-CVNaa8I9.css","assets/Prices-M1vYtL0M.js","assets/Product-CkSm653l.js","assets/ProductivityBooster-BCHCrD3i.js","assets/ProductivityBooster-8hj4-o8d.css","assets/Profile-DNhal8QZ.js","assets/Profile-Bx7u0Q-g.css","assets/Project-Bd8Ag8jJ.js","assets/Project-2IrqZ64L.css","assets/ProjectEdit-NkJcx9qe.js","assets/defineProperty-BlEuwA7I.js","assets/useConditions-CXh4CjxX.js","assets/ProjectEdit-DYMPAwyz.css","assets/ProjectStatus-C7lCtJ4b.js","assets/ProjectStatus-Cq-x5aaZ.css","assets/SignIn-DnvAlvoe.js","assets/SignIn-l6cSoJ6-.css","assets/SubscriberWelcome-N8Lu71LH.js","assets/Subscriptions-DTT1NcDe.js","assets/Config-no8ZTZcf.js","assets/Subscriptions-CfCq2d6P.css","assets/ConditionAdd-DWaWWC0t.js","assets/ConditionEdit-D5oXoH0Y.js","assets/ConditionEdit-DpVxBt55.css","assets/ConditionEdit-cyxGyzVq.js","assets/ConditionGroups-Dg3Mzblm.js","assets/conditionGroupService-HoeUFf9P.js","assets/ConditionGroupAdd-C2hPL2ba.js","assets/ConditionGroupEdit-BqGfGbbN.js","assets/KeywordUniverse-uMVAwQXb.js","assets/KeywordForm-BzcB53g0.js","assets/KeywordForm-B0CO1Ytr.css","assets/KeywordUniverse-4TYZq74-.css","assets/Admin-DFdCnpVR.css","assets/QuestionUniverse-CZyL13Q3.js","assets/QuestionsTable-BDqAxnIE.js","assets/QuestionUniverse-IxBfEE2m.css","assets/KeywordProfile-Bbzvjf6G.js","assets/KeywordProfile-C1GTfEFV.css","assets/Documentation-Dd-zgkYi.js","assets/Documentation-DCvEAjkD.css","assets/Home-vOotr6_E.js","assets/Clients-wTWF0Opu.js","assets/Visibility-C7In-SZv.js","assets/buildFaqJsonLd-yuVfjJQZ.js","assets/FaqAccordion-Cey2zacm.js","assets/Visibility-020Z1FXi.css","assets/Methodology-CUl6xIjZ.js","assets/ACNU-BgyimZrA.js","assets/useWebMCPTool-BpQTKZMg.js","assets/cardStyles-Bw9N6RH3.js","assets/data-CCCPjtin.js","assets/OwnTheGate-pm-vByDJ.js","assets/PatentCliff-mynKXcax.js","assets/FAQ-CTb6Csuw.js","assets/data-D0WBQJmv.js","assets/FAQ-gWUf2X4t.css","assets/Question-C-V04hSF.js","assets/BlogPost-BnGWVrIh.js","assets/Missing-IZlcmhhq.js","assets/Missing-BgOXz56y.css","assets/BlogPost-BbTqbVdR.css","assets/Watchlist-iKVBEmhV.js","assets/Watchlist-sO7HIJjS.css"])))=>i.map(i=>d[i]); 2import{a as e}from"./rolldown-runtime-BEU_UCik.js";import{n as t,r as s,t as r}from"./vendor-auth-DAuWozuU.js";import{a,c as n,s as i}from"./vendor-react-IBcu1n3d.js";import{$t as o,Zt as l,on as c,pn as d,rn as u,un as p}from"./vendor-three-B2-Q0aVX.js";import{a as m,c as h,f,g as x,i as j,l as y,m as g,n as _,o as b,p as v,r as w,s as A,t as E}from"./chunk-62JRHF6Z-D9puh-us.js";import{n as k}from"./index.esm-BEieHnny.js";import{C as P,S as I,a as C,b as O,c as T,d as R,f as N,g as D,h as L,l as z,m as F,o as S,p as q,r as V,s as M,u as Q,v as K,w as B,x as H,y as U}from"./vendor-query-Ct_3YD9H.js";import{t as W}from"./Missing-IZlcmhhq.js";import{t as Y}from"./axiosInstance-DrZDrJAX.js";import{n as G,t as Z}from"./User-BzNI1SQp.js";import{t as J}from"./index.es-BTkwoywu.js";import{t as X}from"./Paywall-B3Gj9JWr.js";import{t as $}from"./useScrollToTop-6I6osjaO.js";import{n as ee,t as te}from"./Config-no8ZTZcf.js";import{t as se}from"./ModelContext-CRD_TLrD.js";import{t as re}from"./StatusEventsContext-DFtWWkE4.js";import{r as ae}from"./useRefreshAction-D1qtfeKm.js";import{n as ne,t as ie}from"./LeaderboardContext-9wS7-paG.js";import{n as oe}from"./FavoriteButton-4en8TqNN.js";import{n as le,t as ce}from"./ThemeManager-ILkyB1Q0.js";import{t as de}from"./clsx-BUm1h715.js";import{Lt as ue,Sn as pe,Y as me,m as he,rt as fe,wn as xe,x as je}from"./solid-CofuJNaU.js";import{a as ye,i as ge,n as _e,o as be,r as ve,t as we}from"./WebsiteHeader-QJGWXfoA.js";import{t as Ae}from"./LeaderboardResults-DFEIQTHF.js";import{t as Ee}from"./dist-C1LyjCEA.js";import{t as ke}from"./useDismissible-C_9DHMpv.js";import{i as Pe,o as Ie,r as Ce}from"./useChatJobs-CxUoqM_g.js";import{t as Oe}from"./spinner-f5EoijQJ.js";import{t as Te}from"./Loading-XkN6_W9E.js";import{n as Re,r as Ne,t as De}from"./vendor-gsap-Zs4Vj9wD.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const s of e)if("childList"===s.type)for(const e of s.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var Le=e(s(),1),ze=e(i()),Fe=e(n(),1);function Se(e){return Le.createElement(b,{flushSync:Fe.flushSync,...e})}h();var qe=class extends B{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,s){const r=t.queryKey,a=t.queryHash??D(r,t);let n=this.get(a);return n||(n=new M({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:s,defaultOptions:e.getQueryDefaults(r)}),this.add(n)),n}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){T.batch(()=>
2{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>U(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>U(e,t)):t}notify(e){T.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){T.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){T.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Ve=class extends B{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#s=new Map,this.#r=0}#t;#s;#r;build(e,t,s){const r=new S({mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:s});return this.add(r),r}add(e){this.#t.add(e);const t=Me(e);if("string"==typeof t){const s=this.#s.get(t);s?s.push(e):this.#s.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=Me(e);if("string"==typeof t){const s=this.#s.get(t);if(s)if(s.length>1){const t=s.indexOf(e);-1!==t&&s.splice(t,1)}else s[0]===e&&this.#s.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Me(e);if("string"==typeof t){const s=this.#s.get(t)?.find(e=>"pending"===e.state.status);return!s||s===e}return!0}runNext(e){const t=Me(e);return"string"==typeof t?(this.#s.get(t)?.find(t=>
2t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){T.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#s.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>K(t,e))}findAll(e={}){return this.getAll().filter(t=>K(e,t))}notify(e){T.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return T.batch(()=>Promise.all(e.map(e=>e.continue().catch(O))))}};function Me(e){return e.options.scope?.id}function Qe(e){return{onFetch:(t,s)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,n=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let o={pages:[],pageParams:[]},l=0;const c=async()=>{let s=!1;const c=q(t.options,t.fetchOptions),d=async(e,r,a)=>{if(s)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const n=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:a?"backward":"forward",meta:t.options.meta};var n;return n=e,Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(t.signal.aborted?s=!0:t.signal.addEventListener("abort",()=>{s=!0}),t.signal)}),e})(),i=await c(n),{maxPages:o}=t.options,l=a?N:R;return{pages:l(e.pages,i,o),pageParams:l(e.pageParams,r,o)}};if(a&&n.length){const e="backward"===a,t=e?Be:Ke,s={pages:n,pageParams:i};o=await d(s,t(r,s),e)}else{const t=e??n.length;do{const e=0===l?i[0]??r.initialPageParam:Ke(r,o);if(l>0&&null==e)break;o=await d(o,e),l++}while(l<t)}return o};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},s):t.fetchFn=c}}}function Ke(e,{pages:t,pageParams:s}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,s[r],s):void 0}function Be(e,{pages:t,pageParams:s}){return t.length>0?e.getPreviousPageParam?.(t[0],t,s[0],s):void 0}var He=C(),Ue=()=>{const{is_internal:e,genti_role:t,isLoading:s}=G();return $(),s?null:e||"Client"===t?(0,He.jsx)(j,{}):(sessionStorage.setItem("redirectPath",window.location.pathname),(0,He.jsx)("div",{className:"page-base",children:(0,He.jsxs)(X,{children:[(0,He.jsx)("h1",{className:"text-2xl font-bold",children:"You need to upgrade your subscription to access this page"}),(0,He.jsx)("p",{children:"Choose a plan that suits your needs"})]})}))},We=({children:e})=>{const{isLoading:t,auth0_client_id:s,auth0_domain:a}=ee(),n=(0,Le.useCallback)(e=>{e?.inviteToken?sessionStorage.setItem("redirectPath",`/accept-invite?token=${encodeURIComponent(e.inviteToken)}`):e?.returnTo&&sessionStorage.setItem("redirectPath",e.returnTo)},[]);return t?null:(0,He.jsx)(r,{domain:a,clientId:s,cacheLocation:"localstorage",useRefreshTokens:!0,authorizationParams:{redirect_uri:`${window.location.origin}/callback`,audience:`https://${a}/api/v2/`,scope:"openid profile email offline_access"},onRedirectCallback:n,children:e})},Ye=()=>{const{getAccessTokenSilently:e,isAuthenticated:s,isLoading:r,loginWithRedirect:a}=t(),n=(0,Le.useRef)(!1),i=(0,Le.useRef)(s),o=(0,Le.useRef)(r);return(0,Le.useLayoutEffect)(()=>{i.current=s,o.current=r},[s,r]),(0,Le.useEffect)(()=>{const t=Y.interceptors.request.use(async t=>{if(!1===o.current&&!1===i.current)return t;try{const s=await e();t.headers.Authorization=`Bearer ${s}`}catch(s){if(["login_required","consent_required","interaction_required","invalid_grant","missing_refresh_token"].includes(s?.error)){if(!0===i.current){const e=window.location.pathname+(window.location.search||"")+(window.location.hash||"");return"/callback"===window.location.pathname.replace(/\/$/,"")||n.current||(n.current=!0,a({appState:{returnTo:e}})),Promise.reject(s)}return t}return console.error("Error getting access token:",s),Promise.reject(s)}return t},e=>Promise.reject(e));return()=>{Y.interceptors.request.eject(t)}},[e,a]),null};function Ge(){const e=g(),t=(0,Le.useRef)(0),s=["a","b","a","c","a","b","b"];return(0,Le.useEffect)(()=>{const r=r=>{const a=r.key.toLowerCase(),n=(r.altKey||r.ctrlKey)&&r.shiftKey;if(n&&"KeyL"===r.code)return r.preventDefault(),r.stopPropagation(),void e("/leaderboard");if(n&&"KeyB"===r.code){r.preventDefault(),r.stopPropagation();const t=encodeURIComponent(window.location.href);return void e(`/bug-report?from=${t}`)}a===s[t.current]?(t.current+=1,t.current===s.length&&(t.current=0,e("/productivity-booster"))):t.current=a===s[0]?1:0};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[e]),null}function Ze({setSearchOpen:e}){const{is_internal:t}=G(),[s,r]=(0,Le.useState)([]),[a,n]=(0,Le.useState)("projects"),{projects:i,conditions:o,loading:l,error:c,count:d,search:u,setSearch:p,sortKey:m,setSortKey:h,conditionSortKey:f,setConditionSortKey:x,hasMore:j,currentPage:y,totalPages:g,setCurrentPage:_,refetch:b}=ne(),w=(0,Le.useRef)(null),A=null!==v("/leaderboard");(0,Le.useEffect)(()=>{A||p("")},[A,p]);const k=(0,Le.useCallback)(()=>{const e=document.querySelector("#backdrop");e&&e.scrollTo({top:0,behavior:"smooth"})},[]);return(0,Le.useEffect)(()=>{const t=t=>{"Escape"===t.key&&e(!1)};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[e]),(0,Le.useEffect)(()=>{"ontouchstart"in window||w.current&&w.current.focus()},[]),(0,Le.useEffect)(()=>{b()},[t]),(0,Fe.createPortal)((0,He.jsx)("div",{id:"backdrop",className:"fixed inset-0 top-[67px] md:top-[92px] overflow-scroll z-40","data-testid":"leaderboard-search-backdrop",onMouseDown:e=>e.currentTarget.dataset.down=e.target===e.currentTarget,onMouseUp:t=>{t.target===t.currentTarget&&"true"===t.currentTarget.dataset.down&&e(!1),t.currentTarget.dataset.down="false"},children:(0,He.jsx)("div",{className:"container mx-auto pb-6 min-h[calc(100vh-67px)] md:min-
2h-[calc(100vh-92px)]",children:(0,He.jsxs)("div",{className:"p-2 md:p-4 bg-white dark:bg-[#01001F] border-2 border-solar-300 dark:border-trusty-blue/50 rounded-lg shadow",onClick:e=>e.stopPropagation(),children:[(0,He.jsxs)("form",{className:"relative search-bar flex-1 mb-4",role:"search",onClick:e=>e.stopPropagation(),onSubmit:e=>e.preventDefault(),children:[(0,He.jsx)("label",{className:"sr-only",htmlFor:"search",children:"Project/Condition Search"}),(0,He.jsxs)("div",{className:"relative",children:[(0,He.jsx)("input",{id:"search",name:"search",className:"w-full p-4 rounded-xl bg-white/80 dark:bg-white/[0.04] border border-solar-200 dark:border-trusty-blue/20 backdrop-blur-md text-deep-space dark:text-white placeholder:text-deep-space/40 dark:placeholder:text-white/30 focus:ring-2 focus:ring-solar-600/50 focus:dark:ring-trusty-blue focus:border-solar-600/50 focus:dark:border-trusty-blue/40 focus:bg-white dark:focus:bg-white/[0.07] shadow-sm dark:shadow-[0_0_20px_rgba(5,97,183,0.06)] hover:shadow-md hover:dark:shadow-[0_0_25px_rgba(5,97,183,0.1)] transition-all duration-300",type:"text",value:u,onChange:e=>{e.target.value.startsWith(" ")||(p(e.target.value),_(1))},autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",autoComplete:"off","aria-autocomplete":"none","data-lpignore":"true","data-form-type":"other",placeholder:"Search for Conditions, Companies, and Brands",ref:w}),""!==u&&(0,He.jsxs)("button",{className:"absolute top-1/2 right-2 -translate-y-1/2 rounded-full h-10 w-10 text-lg hover:bg-black hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 active:!scale-100",onClick:()=>{p(""),w.current&&w.current.focus()},type:"button",children:[(0,He.jsx)(J,{icon:fe}),(0,He.jsx)("span",{className:"sr-only",children:"Clear input"})]})]})]}),(0,He.jsx)("div",{className:"mb-4 md:mb-8",children:(0,He.jsx)(Ae,{projects:i,conditions:o,count:d,loading:l,error:c,sortKey:m,setSortKey:h,conditionSortKey:f,setConditionSortKey:x,hasMore:j,is_internal:t,onActionCallback:()=>e(!1),onPaginationChange:k,currentPage:y,totalPages:g,setCurrentPage:_})}),(0,He.jsx)("div",{className:"mt-2 md:mt-4 flex justify-end gap-4",onClick:()=>e(!1),children:(0,He.jsxs)(E,{to:"/leaderboard",className:"flex leading-tight items-center text-xs border border-white rounded-sm px-2 py-1 font-mono opacity-75 hover:opacity-100",children:[(0,He.jsx)(J,{icon:xe,className:"mr-1.5"}),"Leaderboard"]})})]})})}),document.body)}var Je={glyph:"â¦",state:"Generatingâ¦",icon:"notify-spark text-sm"},Xe={queued:Je,running:Je,complete:{glyph:"â",state:"Ready",icon:"bg-[var(--accent-soft)] text-[var(--accent)]"},error:{glyph:"!",state:"Hit an error",icon:"bg-dwarf-600/10 text-dwarf-600 dark:text-dwarf-400"}},$e="flex items-start gap-2.5 w-full py-2 px-3 rounded-lg",et=({job:e,onNavigate:t})=>{const{glyph:s,state:r,icon:a}=Xe[e.status]??Xe.error,n=(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)("span",{className:de("flex-none grid place-items-center h-[22px] w-[22px] mt-px rounded-full text-xs font-bold",a),"aria-hidden":"true",children:s}),(0,He.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,He.jsx)("span",{className:"block text-sm font-medium line-clamp-2",children:e.thread_title}),(0,He.jsx)("span",{className:"block text-xs opacity-60",children:r})]})]});return Ie(e)?(0,He.jsx)("div",{className:$e,children:n}):(0,He.jsx)(E,{to:`/ask-ai?thread=${e.thread}`,onClick:t,className:de($e,"transition-colors duration-150 hover:bg-solar-100 dark:hover:bg-white/10"),children:n})},tt=()=>{const{jobs:e,rawReadyCount:t,loaded:s,enabled:r}=Ce(),{markSeen:a,isMarking:n}=Pe(),[i,o]=(0,Le.useState)(!1),l=(0,Le.useCallback)(()=>o(!1),[]),c=(0,Le.useRef)(null),d=(0,Le.useRef)(null),u=(0,Le.useRef)(null),p=(0,Le.useRef)(-1),m=(0,Le.useRef)(-1);ke(d,{isOpen:i,onClose:l,triggerRef:c});const h=e.filter(Ie).length,f=e.length-h;if((0,Le.useEffect)(()=>{if(s){if(p.current>=0&&f>p.current&&t>m.current){const e=u.current.getBoundingClientRect();!function(e,t,{count:s=6,minDist:r=14,distRange:a=16,minSize:n=6,sizeRange:i=5}={}){if(!window.matchMedia("(prefers-reduced-motion: reduce)").matches)for(let o=0;o<s;o++){const l=document.createElement("span");l.className="ask-burst-spark",l.setAttribute("aria-hidden","true"),l.textContent=o%3?"â¦":"â¢";const c=2*Math.PI*o/s+.6*Math.random(),d=r+Math.random()*a;l.style.left=`${e}px`,l.style.top=`${t}px`,l.style.setProperty("--dx",Math.cos(c)*d+"px"),l.style.setProperty("--dy",Math.sin(c)*d+"px"),l.style.fontSize=`${n+Math.random()*i}px`,l.style.color=o%2?"var(--accent-2)":"var(--accent)",l.style.animationDelay=80*Math.random()+"ms",l.addEventListener("animationend",()=>l.remove()),setTimeout(()=>l.remove(),1200),document.body.appendChild(l)}}(e.left+e.width/2,e.top+e.height/2)}p.current=f,m.current=t}},[s,f,t]),!r)return null;const x="Notifications"+(f?` â ${f} ready`:"")+(h?" â Ask AI is working":"");return(0,He.jsxs)("div",{className:"relative",children:[(0,He.jsxs)("button",{ref:c,type:"button",className:"relative text-deep-space dark:text-white rounded-full p-1.5 grid place-items-center hover:bg-solar-100 dar
2k:hover:bg-white/10",onClick:()=>o(!i),"aria-label":x,title:x,"aria-expanded":i,"aria-controls":"notifications-panel",children:[(0,He.jsx)(J,{icon:je}),(h>0||f>0)&&(0,He.jsx)("span",{ref:u,className:de("nav-notify",f?"ready landed":"busy"),"aria-hidden":"true",children:f||"â¦"},f)]}),i&&(0,He.jsxs)("section",{ref:d,id:"notifications-panel","aria-label":"Notifications",className:"\n fixed inset-x-3 top-[calc(var(--app-header-h)+env(safe-area-inset-top))]\n md:absolute md:inset-auto md:right-0 md:top-[calc(100%+8px)]\n md:w-[340px]\n rounded-xl\n border border-solar-300 dark:border-white/15\n bg-white dark:bg-deep-space\n shadow-xl shadow-black/10 dark:shadow-black/40\n z-50\n ",children:[(0,He.jsxs)("div",{className:"flex items-center justify-between gap-2 px-4 pt-3 pb-2 border-b border-solar-200 dark:border-white/10",children:[(0,He.jsx)("span",{className:"text-sm font-bold",children:"Notifications"}),f>0&&(0,He.jsx)("button",{type:"button",onClick:()=>{a(e.filter(e=>!Ie(e)).map(e=>e.message_id))},disabled:n,className:"text-xs font-semibold text-[var(--accent)] disabled:opacity-50",children:"Mark all read"})]}),e.length?(0,He.jsx)("ul",{className:"p-2 max-h-[min(60vh,420px)] overflow-y-auto",children:e.map(e=>(0,He.jsx)("li",{children:(0,He.jsx)(et,{job:e,onNavigate:l})},e.message_id))}):(0,He.jsx)("p",{className:"py-5 text-center text-sm opacity-60",children:"You're all caught up â¦"})]})]})},st=()=>{const[e,s]=(0,Le.useState)(!1),[r,a]=(0,Le.useState)(!1),n=(0,Le.useRef)(null),{user:i,isLoading:o,isAuthenticated:l,logout:c}=t(),{isLoading:d,is_internal:u,is_internal_admin:p}=G(),{theme:m,setTheme:h}=le(),f=()=>{h("dark"===m?"light":"dark")},x=be();return(0,Le.useEffect)(()=>{const e=e=>{const t=document.activeElement;"INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||"/"===e.key&&(e.preventDefault(),a(!0))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,Le.useEffect)(()=>{const e=document.querySelector("#root"),t=document.querySelector("html");e&&t&&(r?(e.scrollTop=0,e.style.overflow="hidden",t.style.overflow="hidden"):(e.style.overflow="",t.style.overflow=""))},[r]),(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)("header",{className:"app-header",children:(0,He.jsxs)("div",{className:"app-header-content",children:[(0,He.jsx)("div",{className:"app-header-left",children:(0,He.jsxs)(E,{onClick:()=>{s(!1),a(!1)},to:"/",className:"app-header-logo",children:[(0,He.jsx)(ge,{className:"h-[50px] w-[168px] md:h-[60px] md:w-[202.7px]"}),(0,He.jsx)("span",{className:"sr-only",children:"Welcome to Idea Evolver"})]})}),(0,He.jsxs)("div",{className:"app-header-right",children:[i&&!o&&(i?.email||i?.nickname)&&(0,He.jsxs)("div",{className:"app-header-account-info",children:[(0,He.jsxs)("button",{className:"md:px-4 md:py-2 md:border border-solar-300 dark:border-white/40 rounded md:min-w-[260px] text-left md:text-sm",onClick:()=>a(!r),children:[(0,He.jsx)(J,{className:"md:mr-4",icon:ue}),(0,He.jsxs)("span",{className:"hidden md:inline",children:["Type"," ",(0,He.jsx)("span",{className:"px-1.5 py-0.5 mx-1 border border-deep-space dark:border-white rounded text-xs leading-none font-mono",children:r?"esc":"/"})," ","to ",r?"dismiss":"search"]})]}),(0,He.jsxs)(_,{to:"/ask-ai",className:({isActive:e})=>de("ask-btn",e&&"active"),title:"Ask AI",children:[(0,He.jsx)("span",{className:"ask-btn-spark","aria-hidden":"true",children:"â¦"}),(0,He.jsx)("span",{className:"sr-only lg:not-sr-only",children:"Ask AI"})]}),(0,He.jsx)(tt,{}),(0,He.jsxs)("div",{className:"relative group",children:[(0,He.jsx)("button",{className:"text-deep-space dark:text-white rounded-full p-1 grid place-items-center",onClick:f,"aria-label":"theme toggle",children:(0,He.jsx)(J,{icon:me})}),(0,He.jsxs)("span",{className:"\n hidden md:block\n absolute\n top-full\n mb-2\n left-1/2\n transform -translate-x-1/2\n whitespace-nowrap\n p-1 py-1.5\n bg-white dark:bg-deep-space\n border border-solar-300 dark:border-trusty-blue dark:border-opacity-50\n text-xs\n rounded\n opacity-0\n group-hover:opacity-100\n transition-opacity\n pointer-events-none\n z-10\n ",children:[(0,He.jsx)("pre",{className:"inline p-1 bg-black/10 dark:bg-white/20 rounded-sm",children:"â + J"})," ","to toggle theme"]})]}),(0,He.jsxs)("div",{className:"relative",children:[(0,He.jsx)("button",{ref:n,className:"account grid grid-cols-1 grid-rows-1 place-items-center self-end justify-self-end overflow-hidden",onClick:()=>s(!e),"aria-label":"account menu",children:i.picture&&(0,He.jsx)("img",{src:i.picture,alt:i.name,referrerPolicy:"no-referrer"})}),(0,He.jsx)(ye,{isOpen:e,onClose:()=>s(!1),triggerRef:n,user:i,is_internal:u,is_internal_admin:p,onLogout:()=>{sessionStorage.clear(),c({logoutParams:{returnTo:window.location.origin}})}})]})]}),(o||d)&&(0,He.jsx)("div",{className:"app-header-account-info",children:(0,He.jsx)("img",{src:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%20200'%3e%3cradialGradient%20id='a12'%20cx='.66'%20fx='.66'%20cy='.3125'%20fy='.3125'%20gradientTransform='scale(1.5)'%3e%3cstop%20offset='0'%20stop-color='%23FFFFFF'%3e%3c/stop%3e%3cstop%20offset='.3'%20stop-color='%23FFFFFF'%20stop-opacity='.9'%3e%3c/stop%3e%3cstop%20offset='.6'%20stop-color='%23FFFFFF'%20stop-opacity='.6'%3e%3c/stop%3e%3cstop%20offset='.8'%20stop-color='%23FFFFFF'%20stop-opacity='.3'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23FFFFFF'%20stop-opacity='0'%3e%3c/stop%3e%3c/radialGradient%3e%3ccircle%20transform-origin='center'%20fill='none'%20stroke='url(%23a12)'%20stroke-width='15'%20stroke-linecap='round'%20stroke-dasharray='200%201000'%20stroke-dashoffset='0'%20cx='100'%20cy='100'%20r='91'%3e%3canimateTransform%20type='rotate'%20attributeName='transform'%20calcMode='spline'%20dur='2'%20values='360;0'%20keyTimes='0;1'%20keySplines='0%200%201%201'%20repeatCount='indefinite'%3e%3c/animateTransform%3e%3c/circle%3e%3ccircle%20transform-origin='center'%20fill='none'%20opacity='.2'%20stroke='%23FFFFFF'%20stroke-width='15'%20stroke-linecap='round'%20cx='100'%20cy='100'%20r='91'%3e%3c/circle%3e%3c/svg%3e",alt:"loading",className:"spinner"})}),!l&&(0,He.jsxs)("div",{className:"flex items-center gap-8",children:[(0,He.jsxs)("button",{className:"md:px-4 md:py-2 md:border border-solar-300 dark:border-white/40 rounded md:min-w-[260px] text-left md:text-sm",onClick:()=>a(!r),children:[(0,He.jsx)(J,{className:"md:mr-4",icon:ue}),(0,He.jsxs)("span",{className:"hidden md:inline",children:["Type"," ",(0,He.jsx)("span",{className:"px-1.5 py-0.5 mx-1 border border-deep-space dark:border-white rounded text-xs leading-none font-mono",children:r?"esc":"/"})," ","to ",r?"dismiss":"search"]})]}),(0,He.jsxs)("div",{className:"relative group",children:[(0,He.jsx)("button",{className:"text-deep-space dark:text-white rounded-full",onClick:f,"aria-label":"theme toggle",children:(0,He.jsx)(J,{icon:me})}),(0,He.jsx)("span",{className:"\n hidden md:block\n absolute\n top-full\n mb-2\n left-1/2\n transform -translate-x-1/2\n whitespace-nowrap\n px-2 py-1\n bg-gray-800 dark:bg-gray-200\n text-white dark:text-gray-800\n text-xs\n rounded\n opacity-0\n group-hover:opacity-100\n transition-opacity\n pointer-events-none\n z-10\n ",children:"â + J to toggle theme"})]}),(0,He.jsx)("button",{className:"btn header-signin-btn md:px-8 p-2 grid place-items-center",onClick:x,children:"Sign In"})]})]})]})}),r&&(0,He.jsx)(Ze,{setSearchOpen:a})]})},rt={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},at="text-solar-400 dark:text-watermelon-500 transition-colors duration-150 hover:text-solar-300 dark:hover:text-watermelon-400",nt="block w-36 h-auto transition-[filter] duration-150",it=`${nt} group-hover:saturate-[.65] group-hover:brightness-125`,ot=`${nt} group-hover:contrast-[.55] group-hover:brightness-[1.35]`,lt=()=>(0,He.jsxs)("footer",{className:"relative z-[1] font-space bg-deep-space border-t border-white/10 dark:border-trusty-blue/25",children:[(0,He.jsx)("div",{className:"mx-auto container px-4 md:px-8 pt-12 md:pt-16 pb-10 md:pb-14",children:(0,He.jsxs)("div",{className:"grid gap-10 md:gap-12 md:grid-cols-[1fr_2fr] lg:grid-cols-[1fr_2fr_
21fr]",children:[(0,He.jsxs)(E,{to:"/","aria-label":"Idea Evolver home",className:"group self-start justify-self-start",children:[(0,He.jsx)("img",{src:"/assets/footer-logo-light-B-HdZ3Tq.png",alt:"",width:"1024",height:"339",className:`${it} dark:hidden`}),(0,He.jsx)("img",{src:"/assets/footer-logo-dark-B6AjY4vQ.png",alt:"",width:"1024",height:"339",className:`${ot} hidden dark:block`})]}),(0,He.jsxs)("div",{children:[(0,He.jsx)("p",{className:"max-w-[24ch] text-3xl md:text-4xl font-bold text-white",children:"Build pharma visibility and safer paths to self-care."}),(0,He.jsx)("a",{href:"mailto:[email protected]",className:`mt-6 inline-block font-bold ${at}`,children:"[email protected]"}),(0,He.jsx)("a",{href:"https://www.linkedin.com/company/idea-evolver",target:"_blank",rel:"noopener noreferrer","aria-label":"Idea Evolver on LinkedIn",className:`mt-4 block w-fit text-2xl ${at}`,"data-testid":"footer-linkedin",children:(0,He.jsx)(J,{icon:rt,"aria-hidden":"true"})})]}),(0,He.jsx)("nav",{"aria-label":"Footer Navigation",className:"md:col-start-2 lg:col-start-3 lg:row-start-1 lg:justify-self-end",children:(0,He.jsx)("ul",{className:"flex flex-col gap-5 list-none m-0 p-0",children:we.map(({to:e,label:t,scrollTo:s})=>(0,He.jsx)("li",{children:s?(0,He.jsx)("a",{className:"font-semibold text-white/60 hover:text-white transition-colors duration-150",href:e,onClick:ve(s),children:t}):(0,He.jsx)(E,{className:"font-semibold text-white/60 hover:text-white transition-colors duration-150",to:e,children:t})},e))})})]})}),(0,He.jsx)("div",{className:"border-t border-white/10 dark:border-trusty-blue/25",children:(0,He.jsxs)("div",{className:"mx-auto container px-4 md:px-8 py-5 flex items-center justify-between gap-4 text-sm",children:[(0,He.jsxs)("p",{className:"text-white/50",children:["© ",(new Date).getFullYear()," Idea Evolver"]}),(0,He.jsx)("p",{className:"hidden md:block text-white/50",children:"AI · Search · ACNU"}),(0,He.jsxs)("button",{onClick:()=>{const e=window.matchMedia("(prefers-reduced-motion: reduce)").matches;window.scrollTo({top:0,behavior:e?"auto":"smooth"})},className:`inline-flex items-center gap-2 font-bold ${at}`,children:["Back to top",(0,He.jsx)(J,{icon:he,className:"text-xs"})]})]})})]}),ct=["/ai-visibility","/acnu-additional-condition-for-nonprescription-use","/drug-patent-cliff-strategies"];function dt(e){return"/"===e||ct.some(t=>e===t||e.startsWith(`${t}/`))}var ut=e=>{const{count:t}=e,s=(0,Le.useRef)(),r=(0,Le.useMemo)(()=>{const e=new Float32Array(3*t);for(let s=0;s<t;s++){const t=2*Math.sqrt(Math.random()),r=c.randFloatSpread(360),a=c.randFloatSpread(360);let n=t*Math.sin(r)*Math.cos(a),i=t*Math.sin(r)*Math.sin(a),o=t*Math.cos(r);e.set([n,i,o],3*s)}return e},[t]),a=(0,Le.useMemo)(()=>{const e=new Float32Array(t);for(let s=0;s<t;s++)e[s]=Math.random();return e},[t]),n=(0,Le.useMemo)(()=>{const e=new Float32Array(t);for(let s=0;s<t;s++)e[s]=3*Math.random()+1;return e},[t]),i=(0,Le.useMemo)(()=>{const e=new Float32Array(3*t);for(let s=0;s<t;s++){const t=Math.random()<.5,r=t?new u(1,1,1):!t&&Math.random()<.2?new u(214/255,155/255,53/255):new u(.34,.53,.96);e.set([r.r,r.g,r.b],3*s)}return e},[t]),l=(0,Le.useMemo)(()=>({uTime:{value:0},uRadius:{value:2}}),[]);return o(e=>{const{clock:t}=e;s.current.material.uniforms.uTime.value=t.elapsedTime}),(0,He.jsxs)("points",{ref:s,children:[(0,He.jsxs)("bufferGeometry",{children:[(0,He.jsx)("bufferAttribute",{attach:"attributes-position",count:r.length/3,array:r,itemSize:3}),(0,He.jsx)("bufferAttribute",{attach:"attributes-opacity",array:a,count:t,itemSize:1}),(0,He.jsx)("bufferAttribute",{attach:"attributes-size",array:n,count:t,itemSize:1}),(0,He.jsx)("bufferAttribute",{attach:"attributes-color",array:i,count:t,itemSize:3})]}),(0,He.jsx)("shaderMaterial",{depthWrite:!1,transparent:!0,blending:2,fragmentShader:"\n varying float vOpacity;\n varying vec3 vColor;\n\n void main() {\n // Get UV coordinates for the particle (0 to 1)\n vec2 uv = gl_PointCoord * 2.0 - 1.0;\n\n // Compute distance from center\n float dist = length(uv);\n\n // Smooth circular alpha falloff\n float alpha = smoothstep(0.2, 0.8, 1.0 - dist) * vOpacity;\n\n // Discard fragments outside the circle\n if (dist > 1.0) discard;\n\n // Final color with soft edges\n gl_FragColor = vec4(vColor, alpha);\n }",vertexShader:"\n uniform float uTime;
2\n uniform float uRadius;\n\n attribute float opacity;\n attribute float size;\n attribute vec3 color;\n\n varying float vOpacity;\n varying vec3 vColor;\n\n // Simple 3D noise approximation\n float hash(vec3 p) {\n p = fract(p * 0.3183099 + vec3(0.1, 0.2, 0.3));\n p *= 17.0;\n return fract(p.x * p.y * p.z * (p.x + p.y + p.z));\n }\n\n float noise(vec3 p) {\n vec3 i = floor(p);\n vec3 f = fract(p);\n f = f*f*(3.0 - 2.0*f);\n float n = mix(\n mix(mix(hash(i + vec3(0,0,0)), hash(i + vec3(1,0,0)), f.x),\n mix(hash(i + vec3(0,1,0)), hash(i + vec3(1,1,0)), f.x), f.y),\n mix(mix(hash(i + vec3(0,0,1)), hash(i + vec3(1,0,1)), f.x),\n mix(hash(i + vec3(0,1,1)), hash(i + vec3(1,1,1)), f.x), f.y),\n f.z);\n return n;\n }\n\n void main() {\n vOpacity = opacity;\n vColor = color;\n\n // Create time-based fade oscillation\n float fade = 0.5 + 0.5 * sin(uTime * 0.5 + position.x + position.y + position.z);\n vOpacity *= fade * 0.3;\n\n // Use noise to create smooth floating movement\n float t = (uTime + position.x * 5.0 + position.y * 3.0) * 0.05;\n vec3 offset = vec3(\n noise(position + vec3(t, 0.0, 0.0)) - 0.5,\n noise(position + vec3(0.0, t, 0.0)) - 0.5,\n noise(position + vec3(0.0, 0.0, t)) - 0.5\n ) * 0.3;\n\n vec3 particlePosition = position + offset * 0.5;\n\n vec4 modelPosition = modelMatrix * vec4(particlePosition, 1.0
2);\n vec4 viewPosition = viewMatrix * modelPosition;\n vec4 projectedPosition = projectionMatrix * viewPosition;\n\n gl_Position = projectedPosition;\n gl_PointSize = size * 4.0;\n }",uniforms:l})]})},pt=({count:e})=>{const t=(0,Le.useRef)(),s=(0,Le.useMemo)(()=>{const t=new Float32Array(3*e);for(let s=0;s<e;s++){const e=10*Math.cbrt(Math.random()),r=c.randFloatSpread(360),a=c.randFloatSpread(360),n=e*Math.sin(r)*Math.cos(a),i=e*Math.sin(r)*Math.sin(a),o=e*Math.cos(r);t.set([n,i,o],3*s)}return t},[e]),r=(0,Le.useMemo)(()=>{const t=new Float32Array(e);for(let s=0;s<e;s++)t[s]=2*Math.random()+1;return t},[e]),a=(0,Le.useMemo)(()=>{const t=new Float32Array(e);for(let s=0;s<e;s++)t[s]=Math.random();return t},[e]),n=(0,Le.useMemo)(()=>({uTime:{value:0},uTexture:{value:(new p).load("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARYSURBVHgBnVZLSFxXGD6P+5jXdV7O66qjGJQS003cSAitpa5TGqrdpBAotdCQQEHickZIoa1LFyVuQhdtw9hFN6WBNkXpAwotxVKHJlRHHcfReevMnfs+t/eqA6Ft9F6/zT2cc/7/+//v/8+5BwIHmJ6epkdHAShqPJt6LyVACA27tgg4wOLiolYR+0NROjq2sLDAOLF1RDQ5OYn4yMArAX7gWq1WY53Y2iJKp9NH+0ZGgiwXjb0ZjPSNsqyEgQPYJSLWl2HCXn93vDcR5+MA+P3AAZxIBzkuHOZ8PoSAwQTj3Zet5rBrfCaRYRjQMNIok8kgpou7qreF/nqjEoj2DL7ef7E7BGziTJ3NFqZWVpZhve7n+eTgPZYLJnRN0SHjSkiNg19v3riZW1paMqw6Li8vG+fOyHSgRSLjrkgi9Fa890I/wphRNBkzLMN1dSdSuVwudrKPHCsAIHheRtbi3Nx/F615t3vWT/mC1/jkC2+7AyFeaB7oxEzJXKYw7Q56fJT78tjQ6vePfhCOFUij8fFx+O/s/pfdqospB3qaX+X9ntC7seTQq14uNEgM4AWYMmgIFYSwBDCmKQha5VL+8U7uz3ki1gqC4JMtFTqBQgiOCOFxqgawHO/tZb2KYnYxw/VwAf8w6w+9EQjFrlAM49NUjUKIomnGBYmuCqaZimhsKKLKBoOcXChsVWulnT8UTciobfV3D5LrsuyRbt++o1hkMJOZxNnsCN0VZflwiH/HbKeXgt2JPo/H6zcggyHQ6FaraRBd1834GASxNVSIYRAMIEUM0mZcrIoR1jHAPgKIUavsVuvlnU8axfzDalUsWRnipaWscf36i9jvHWoRIJeJpv4ittoFURQFA0MvUVSPaWuqhJBuejHHGFkiYEjMKQRpmkIAmQFBl9AWNuq10k+7+fUPJan5XUMQEJGJYNaLwGe1tFp0bW0NTkxMIEEocoFY8gY/cOmOtyuQgBgiRWxrqqwQQnSAWAq4MEsgxYiGqpZLpa3dva2/H0nN+hczM6mK5XZubg6mUmnjSDrwfMD5+RlPIND3crjnwgfR5OAlTSNEkWQFWRJiTGhEK81mZb2w/eTLSnn9Ychby09PL2qdBjiz656FmSUVibADod7hhXhy+CrRdIoAA1MQ641Gebu8+fRevZr76u7dj1qn/Z9OPbAnh4+Uy/LGYW33/cPq7gZEiACEVIVoUq28s9I63P96dvbj5lkxn0p0UrejE0+RdqFe2flWksS2m+WI1GoUDur7n/X2Xjzo7D03kQWr/a1vPi+al0L5U6BJ2xBBrVHb/+awtPnb1NSUDmzgzBpZsG4KS//792f9YX7s83DPwJW1nx+/dutW60fzyiF2fFDAFo7jEYSY4m0Lm61KBUgSyNolsU3U0d/r/UuDILwtHFSXzXuqCRzAZkYdjAJZEvZ0IDyJx+OaE0tHr6BisaiLcmtVa0vVbDZr+013Ljx4kHZ1XkVO8A9oTBLvvEAo7gAAAABJRU5ErkJggg==")}}),[]);return o(({clock:e})=>{t.current.material.uniforms.uTime.value=e.elapsedTime}),(0,He.jsxs)("points",{ref:t,children:[(0,He.jsxs)("bufferGeometry",{children:[(0,He.jsx)("bufferAttribute",{attach:"attributes-position",array:s,count:s.length/3,itemSize:3}),(0,He.jsx)("bufferAttribute",{attach:"attributes-size",array:r,count:e,itemSize:1}),(0,He.jsx)("bufferAttribute",{attach:"attributes-opacity",array:a,count:e,itemSize:1})]}),(0,He.jsx)("shaderMaterial",{depthWrite:!1,transparent:!0,blending:2,uniforms:n,vertexShader:"\n uniform float uTime;\n attribute float size;\n attribute float opacity;\n varying float vFade;\n varying float vOpacity;\n\n float hash(vec3 p) {\n p = fract(p * 0.3183099 + vec3(0.1, 0.2, 0.3));\n p *= 17.0;\n return fract(p.x * p.y * p.z * (p.x + p.y + p.z));\n }\n\n float noise(vec3 p) {\n vec3 i = floor(p);\n vec3 f = fract(p);\n f = f*f*(3.0 - 2.0*f);\n float n = mix(\n mix(mix(hash(i + vec3(0,0,0)), hash(i + vec3(1,0,0)), f.x),\n mix(hash(i + vec3(0,1,0)), hash(i + vec3(1,1,0)), f.x), f.y),\n mix(mix(hash(i + vec3(0,0,1)), hash(i + vec3(1,0,1)), f.x),\n mix(hash(i + vec3(0,1,1)), hash(i + vec3(1,1,1)), f.x), f.y),\n f.z);\n return n;\n }\n\n void main() {\n float t = uTime * 0.2;\n float flicker = 0.7 + 0.3 * sin(uTime + position.x + position.y);\n vFade = flicker;\n vOpacity = opacity;\n\n vec3 offset = vec3(\n noise(position + vec3(t, 0.0, 0.0)) - 0.5,\n noise(position + vec3(0.0, t, 0.0)) - 0.5,\n noise(position + vec3(0.0, 0.0, t)) - 0.5\n ) * 0.1;\n\n vec3 particlePosition = position + offset * 0.5;\n vec4 modelPosition = modelMatrix * vec4(particlePosition, 1.0
2);\n vec4 viewPosition = viewMatrix * modelPosition;\n vec4 projectedPosition = projectionMatrix * viewPosition;\n\n gl_Position = projectedPosition;\n gl_PointSize = size * 12.0;\n }\n ",fragmentShader:"\n uniform sampler2D uTexture;\n varying float vFade;\n varying float vOpacity;\n void main() {\n vec4 texColor = texture2D(uTexture, gl_PointCoord);\n if (texColor.a < 0.1) discard;\n gl_FragColor = vec4(texColor.rgb, texColor.a * vFade * vOpacity);\n }\n "})]})},mt=()=>{const{theme:e}=le(),t="light"===e;return(0,He.jsxs)(l,{className:"fixed inset-0 w-screen h-screen",style:{position:"fixed",top:0,left:0,zIndex:-1,height:"100vh",width:"100vw",pointerEvents:"none",isolation:"isolate",visibility:t?"hidden":"visible"},frameloop:t?"never":"always",camera:{position:[1,0,0]},children:[(0,He.jsx)("ambientLight",{intensity:.5}),(0,He.jsx)(ut,{count:1e3}),(0,He.jsx)(pt,{count:100})]})},ht=()=>{const{theme:e,setTheme:t}=le(),s=f();return(0,Le.useEffect)(()=>{if("undefined"==typeof navigator||!("modelContext"in navigator))return;let e;try{e=navigator.modelContext.registerTool({name:"set_theme",description:"Sets the application visual theme (light, dark, or toggles the current state).",inputSchema:{type:"object",properties:{theme:{type:"string",enum:["light","dark","toggle"],description:"The target theme style or 'toggle' to switch between light and dark modes."}},required:["theme"]},execute:async e=>{const s=e?.theme;if("light"!==s&&"dark"!==s&&"toggle"!==s)return{success:!1,error:"Invalid or missing 'theme' parameter."};let r=s;return"toggle"===s&&(r="dark"===(document.documentElement.getAttribute("data-theme")||"dark")?"light":"dark"),t(r),{success:!0,theme:r}}})}catch(s){console.error("Failed to register set_theme tool:",s)}return()=>{if("undefined"!=typeof navigator&&"modelContext"in navigator)try{e&&"function"==typeof e.unregister?e.unregister():"function"==typeof navigator.modelContext.unregisterTool&&navigator.modelContext.unregisterTool("set_theme")}catch(s){console.error("Failed to unregister set_theme tool:",s)}}},[t]),(0,Le.useEffect)(()=>{const e=document.querySelector("main h1")||document.querySelector("main");if(!e)return;const t=e.getAttribute("tabindex");e.setAttribute("tabindex","-1"),e.focus({preventScroll:!0});const s=()=>{null===t?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t)};return e.addEventListener("blur",s,{once:!0}),()=>{e.removeEventListener("blur",s),"-1"===e.getAttribute("tabindex")&&(null===t?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t))}},[s.pathname]),(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)(Ye,{}),(0,He.jsx)(Ge,{}),dt(s.pathname)?(0,He.jsx)(_e,{}):(0,He.jsx)(st,{}),(0,He.jsxs)("main",{className:"container",style:{position:"relative",zIndex:1},children:[(0,He.jsx)(mt,{}),(0,He.jsx)(Le.Suspense,{fallback:(0,He.jsx)(Te,{}),children:(0,He.jsx)(j,{})}),(0,He.jsx)(Ee,{position:"bottom-right",theme:e})]}),dt(s.pathname)&&(0,He.jsx)(lt,{})]})},ft=()=>(0,He.jsx)(te,{children:(0,He.jsx)(We,{children:(0,He.jsx)(Z,{children:(0,He.jsx)(se,{children:(0,He.jsx)(re,{children:(0,He.jsx)(ae,{children:(0,He.jsx)(ie,{children:(0,He.jsx)(oe,{children:(0,He.jsx)(ht,{})})})})})})})})}),xt=()=>{const{is_internal_admin:e,isLoading:s}=G(),{user:r,isLoading:a}=t(),n=g();return(0,Le.useEffect)(()=>{a||r||n("/leaderboard",{replace:!0}),s||!1!==e||n("/leaderboard",{replace:!0})},[r,a,e,s,n]),a||s?(0,He.jsx)(Te,{}):e?(0,He.jsx)(j,{}):null},jt=()=>{const{is_internal:e,isLoading:s}=G(),{user:r,isLoading:a}=t(),n=g();return(0,Le.useEffect)(()=>{a||r||n("/leaderboard",{replace:!0}),s||!1!==e||n("/leaderboard",{replace:!0})},[r,a,e,s,n]),a||s?(0,He.jsx)(Te,{}):e?(0,He.jsx)(j,{}):null};function yt(){const{isLoading:e}=t(),{isLoading:s}=G();return e||s?(0,He.jsx)(Te,{}):(0,He.jsx)(j,{})}var gt=()=>{const e=x(),t=e?.statusText||e?.message||"An unexpected error occurred. Please try reloading the page.";return(0,He.jsx)("div",{className:"error-fallback--root","data-testid":"root-error-fallback",children:(0,He.jsxs)("div",{className:"error-fallback",children:[(0,He.jsx)("div",{style:{width:"4rem",height:"4rem",margin:"0 auto 1.5rem",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(255, 60, 109, 0.1)",color:"#FF3C6D",fontSize:"1.5rem"},children:"â "}),(0,He.jsx)("h1",{style:{fontSize:"1.5rem",fontWeight:700,marginBottom:"0.5rem",fontFamily:'"Space Grotesk", sans-serif'},children:"Something went wrong"}),(0,He.jsx)("p",{style:{fontSize:"0.875rem",opacity:.6,maxWidth:"24rem",margin:"0 auto",fontFamily:'"Karla", sans-serif'},children:t}),(0,He.jsxs)("div",{style:{marginTop:"2rem",display:"flex",gap:"0.75rem",justifyContent:"center",flexWrap:"wrap"},children:[(0,He.jsx)("button",{onClick:()=>window.location.reload(),style:{padding:"0.625rem 1.5rem",borderRadius:"0.25rem",fontFamily:'"Space Grotesk", sans-serif',fontWeight:600,fontSize:"0.875rem",backgroundColor:"#0561B7",color:"#FFFFFF",border:"none",cursor:"pointer"},children:"Reload Page"}),(0,He.jsx)("a",{href:"/leaderboard",style:{padding:"0.625rem 1.5rem",borderRadius:"0.25rem",fontFamily:'"Space Grotesk", sans-serif',fontWeight:600,fontSize:"0.875rem",border:"1px solid rgba(2, 0, 33, 0.2)",color:"inherit",textDecoration:"none",cursor:"pointer"},children:"Return Home"})]}),!1]})})},_t=()=>{const e=x(),t=e?.statusText||e?.message||"An unexpected error occurred while loading this page.";return(0,He.jsxs)("div",{className:"error-fallback page-base","data-testid":"route-error-fallback",children:[(0,He.jsx)("div",{className:"error-fallback__icon",children:(0,He.jsx)(J,{icon:pe,className:"text-3xl"})}),(0,He.jsx)("h1",{className:"error-fallback__title",children:"Something went wrong"}),(0,He.jsx)("p",{className:"error-fallback__message",children:t}),(0,He.jsxs)("div",{className:"error-fallback__actions",children:[(0,He.jsx)("button",{className:"error-fallback__btn-primary",onClick:()=>window.location.reload(),children:"Try Again"}),(0,He.jsx)(E,{to:"/leaderboard",className:"error-fallback__btn-secondary",children:"Return Home"})]}),!1]})},bt=(0,Le.lazy)(()=>d(()=>import("./AIVisibility-Dd32Tkqy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59]))),vt=(0,Le.lazy)(()=>d(()=>import("./ACNUDashboard-CV8HCDew.js"),__vite__mapDeps([60,1,2,5,6,3,4,7,8,25,10,17,22,23,24,26,27,28,29,21,30,31,32,33,34,35,9,11,12,13,18,61]))),wt=(0,Le.lazy)(()=>d(()=>import("./ACNUFeasibility-DrooVbnE.js"),__vite__mapDeps([62,1,2,5,6,3,4,7,8,9,10,11,12,25,17,18,63,64,19,46,21,20,38,65,22,23,24,27,28,29,30,31,32,26,33,34,35,13,36,37,39,40,41,42,43,44,45,16,47,48,66,67,68,69,70,71,72,73,50,74,75]))),At=(0,Le.lazy)(()=>d(()=>import("./ACNUMethodology-B8vZr6D3.js"),__vite__mapDeps([76,7,1,2,8,11,12,15,5,6,3,4,19,20,21,38,70,71,18,77]))),Et=(0,Le.lazy)(()=>d(()=>import("./QuestionProfile-Boaem_ae.js"),__vite__mapDeps([78,1,2,5,6,3,4,8,25,10,17,79,21,80,24,26,27,28,36,9,11,12,37,13,18,19,38,20,39,40,41,42,43,44,45,16,46,47,48,81,82]))),kt=(0,Le.lazy)(()=>d(()=>import("./AskAI-Dc-wb10-.js"),__vite__mapDeps([83,1,2,5,6,3,4,7,8,11,12,13,21,18,46,84,10,85,86,9,16,68,87,88,89]))),Pt=(0,Le.lazy)(()=>d(()=>
2import("./AIAgents-CjYMXyhZ.js"),__vite__mapDeps([90,5,1,2,6,3,4,7,8,11,12,18,63,64,35,9,10,13,91,84,87,85]))),It=(0,Le.lazy)(()=>d(()=>import("./AIAgentAdd-D-hexJTo.js"),__vite__mapDeps([92,7,1,2,8,93,5,6,3,4,11,12,18,46,21,94,95,96,97,98,99,100,10,91,84,87,85]))),Ct=(0,Le.lazy)(()=>d(()=>import("./AIAgentEdit-BJwhsRTm.js"),__vite__mapDeps([101,5,1,2,6,3,4,7,8,22,23,35,9,10,11,12,13,18,93,46,21,94,95,96,97,98,99,100,91,84,87,85]))),Ot=(0,Le.lazy)(()=>d(()=>import("./QuestionProfile-fAaXMLn_.js"),__vite__mapDeps([102,1,2,3,4,5,6,7,8,10,9,11,12,13,17,18,79,21,80,19,39,22,23,26,28,27,29,30,31,32,33,34,35,36,37,38,20,40,41,42,43,44,45,25,16,46,47,48,81,68,72,50,52,54,58,103,104,105,106,107,108]))),Tt=(0,Le.lazy)(()=>d(()=>import("./Bill-Bq7OBr1N.js"),__vite__mapDeps([109,1,2,5,6,3,4,7,8,10,9,11,12,13,110,17,21,18,19,111,20,22,23,29,30,31,32,26,27,28,33,34,35,49,112,113,114]))),Rt=(0,Le.lazy)(()=>d(()=>import("./BillingHelp-D3nb-3XV.js"),__vite__mapDeps([115,7,1,2,8]))),Nt=(0,Le.lazy)(()=>d(()=>import("./BugReport-Di9N1DMg.js"),__vite__mapDeps([116,1,2,3,4,5,6,7,8,11,12,15,67,10,17,18,94,95,96,117,118]))),Dt=(0,Le.lazy)(()=>d(()=>import("./Callback-llmHmyhk.js"),__vite__mapDeps([119,1,2,5,6,3,4,8]))),Lt=(0,Le.lazy)(()=>d(()=>
2import("./CaseStudies-BDGct3MO.js"),__vite__mapDeps([120,1,2,3,4,5,6,7,8,11,12,13,15,17,121,9,10,18,65,39,122,77,123,20,21,124,125,67,94,95,117,118,126,127,128,129,130]))),zt=(0,Le.lazy)(()=>d(()=>import("./Cluster-BkqJkOol.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,10,9,11,12,13,14,15,17,18,39,22,23,71,26,27,28,29,21,30,31,32,33,34,36,37,19,38,20,40,41,42,43,44,45,25,16,46,47,48,81,73,58,104,132,133,134]))),Ft=(0,Le.lazy)(()=>d(()=>import("./Clusters-kO8vT7KE.js"),__vite__mapDeps([135,1,2,5,6,3,4,7,8,9,10,11,12,13,14,15,136,17,18,79,21,80,111,137,46,20,138,139,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,19,38,39,40,41,42,43,44,45,16,47,48,58,140,106,141,142]))),St=(0,Le.lazy)(()=>d(()=>import("./Company-Yaq2N16O.js"),__vite__mapDeps([143,1,2,5,6,3,4,7,8,9,10,11,12,14,13,15,45,25,16,46,21,47,37,18,79,17,80,144,19,145,137,111,38,20,22,23,71,41,42,43,44,40,73,146,147]))),qt=(0,Le.lazy)(()=>d(()=>import("./CompanyAdd-Bu16LKKO.js"),__vite__mapDeps([148,1,2,5,6,3,4,7,8,11,12,19,94,95,117,146,10,149,150]))),Vt=(0,Le.lazy)(()=>d(()=>import("./CompanyEdit-BYuQIswR.js"),__vite__mapDeps([151,1,2,5,6,3,4,7,8,11,12,19,94,95,117,146,10,149,150]))),Mt=(0,Le.lazy)(()=>d(()=>import("./CompetitiveAnalysis-CAvjlDDS.js"),__vite__mapDeps([152,1,2,5,6,3,4,7,8,11,12,25,10,17,19,39,22,23,24,26,27,28,29,21,30,31,32,33,34,35,9,13,18,36,37,38,20,40,41,42,43,44,45,16,46,47,48,68,153]))),Qt=(0,Le.lazy)(()=>d(()=>import("./ConditionAnalysis-BV3aeYoP.js"),__vite__mapDeps([154,5,1,2,6,3,4,7,8,155]))),Kt=(0,Le.lazy)(()=>d(()=>import("./ConditionProfile-Ml9fDjDD.js"),__vite__mapDeps([156,1,2,5,6,3,4,7,8,47,10,22,23,35,9,11,12,13,18,51,17,20,21,26,27,28,29,30,31,32,33,34,50,52,53,106,37,19,38,40,41,42,43,44,45,25,16,46]))),Bt=(0,Le.lazy)(()=>d(()=>import("./Dashboard-Dxo03evr.js"),__vite__mapDeps([157,1,2,5,6,3,4,7,8,11,12,25,10,37,9,13,18,17,21,63,64,22,23,24,71,158,159,26,27,28,29,30,31,32,33,34,35,36,19,38,20,39,40,41,42,43,44,45,16,46,47,48,49,160,113]))),Ht=(0,Le.lazy)(()=>d(()=>import("./Diagrams-UkaVnckC.js"),__vite__mapDeps([161,1,2,6,3,4,8,17,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181]))),Ut=(0,Le.lazy)(()=>d(()=>import("./BrandKit-C239yt29.js"),__vite__mapDeps([182,1,2,8,11,12,17,18,183]))),Wt=(0,Le.lazy)(()=>d(()=>import("./WatchlistGuide-DHqhTeV9.js"),__vite__mapDeps([184,1,2,3,4,8,11,12,18,124,185]))),Yt=(0,Le.lazy)(()=>d(()=>import("./DocumentCenter-bdBnWwjz.js"),__vite__mapDeps([186,5,1,2,6,3,4,8,9,10,11,12,18]))),Gt=(0,Le.lazy)(()=>d(()=>import("./Leaderboard-B-jVFA1r.js"),__vite__mapDeps([187,1,2,3,4,5,6,7,8,9,10,11,12,188,25,136,17,18,189,45,16,46,21,47,37,13,79,80,63,64,42,43,190,191,144,19,145,137,111,44,38,20,138,139,192,33,35,98,99]))),Zt=(0,Le.lazy)(()=>d(()=>import("./LeaderboardBills-DYvdwzt_.js"),__vite__mapDeps([193,1,2,5,6,3,4,7,8,11,12,110,136,21,18,79,17,80,63,64,19,138,139,71,49,20,50,98,99,103,112,10,113,194,195]))),Jt=(0,Le.lazy)(()=>d(()=>import("./LeaderboardPoliticians-BLBLpeKK.js"),__vite__mapDeps([196,1,2,5,6,3,4,7,8,11,12,21,79,17,80,19,49,20,50,18,112,10,110,113,114,194,197]))),Xt=(0,Le.lazy)(()=>d(()=>import("./LeaderboardFood-BZ3rwWm6.js"),__vite__mapDeps([198,1,2,5,6,3,4,7,8,136,138,11,12,18,139,71,199,10,200]))),$t=(0,Le.lazy)(()=>d(()=>import("./OtcExplorer-yDQAoEjn.js"),__vite__mapDeps([201,1,2,5,6,3,4,7,8,9,10,11,12,136,18,79,17,21,80,138,139,71,35,13,202,46,203]))),es=(0,Le.lazy)(()=>d(()=>import("./OtcDetail-D4fQf6Qz.js"),__vite__mapDeps([204,1,2,5,6,3,4,7,8,9,10,11,12,18,22,23,35,13,202,46,21,205]))),ts=(0,Le.lazy)(()=>d(()=>import("./GlobalNegatives-noztxA_a.js"),__vite__mapDeps([206,1,2,7,8,18,22,23,74,10,207,11,12,39,208,103,20,21,209]))),ss=(0,Le.lazy)(()=>d(()=>import("./KeywordUniverse-DCE1MEZd.js"),__vite__mapDeps([210,1,2,5,6,3,4,7,8,9,10,11,12,17,19,22,23,24,25,26,27,28,29,21,30,31,32,33,34,35,13,18,36,37,38,20,39,40,41,42,43,44,45,16,46,47,48,132,133,211]))),rs=(0,Le.lazy)(()=>d(()=>import("./Organizations-D2ljbcJz.js"),__vite__mapDeps([212,1,2,5,6,3,4,7,8,9,10,11,12,136,18,63,64,138,139,35,13,100]))),as=(0,Le.lazy)(()=>d(()=>import("./Organization-BZx1SLcH.js"),__vite__mapDeps([213,1,2,5,6,3,4,7,8,9,10,11,12,136,21,18,79,17,80,46,44,45,25,16,47,22,23,35,13,40,20,94,95,96,97,100,117,214,215]))),ns=(0,Le.lazy)(()=>d(()=>import("./OrganizationAdd-KHOPBm0E.js"),__vite__mapDeps([216,1,2,5,6,3,4,7,8,11,12,18,46,21,97,94,95,96,117,214,100,10]))),is=(0,Le.lazy)(()=>d(()=>import("./InvitationAccept-BExsvhEL.js"),__vite__mapDeps([217,1,2,5,6,3,4,8,11,12,18,35,9,10,13,100]))),os=(0,Le.lazy)(()=>d(()=>import("./Politician-BsqsfmR5.js"),__vite__mapDeps([218,1,2,5,6,3,4,8,110,79,17,21,80,19,22,23,71,11,12,18,35,9,10,13,49,20,50,103,112,113,114,219]))),ls=(0,Le.lazy)(()=>d(()=>import("./Prices-M1vYtL0M.js"),__vite__mapDeps([220,7,1,2,8,14,5,6,3,4,11,12,13,15]))),cs=(0,Le.lazy)(()=>d(()=>import("./Product-CkSm653l.js"),__vite__mapDeps([221,5,1,2,6,3,4,7,8,9,10,11,12,13,15,22,23,35,18,199]))),ds=(0,Le.lazy)(()=>d(()=>
2import("./ProductivityBooster-BCHCrD3i.js"),__vite__mapDeps([222,1,2,6,3,4,8,223]))),us=(0,Le.lazy)(()=>d(()=>import("./Profile-DNhal8QZ.js"),__vite__mapDeps([224,1,2,5,6,3,4,8,9,10,11,12,18,63,64,46,21,84,27,28,94,95,96,117,88,215,225]))),ps=(0,Le.lazy)(()=>d(()=>import("./Project-Bd8Ag8jJ.js"),__vite__mapDeps([226,1,2,5,6,3,4,7,8,9,10,11,12,15,17,18,111,44,45,25,16,46,21,47,38,20,22,23,24,27,28,29,30,31,32,26,33,34,35,13,36,37,19,39,40,41,42,43,48,66,67,50,56,54,227]))),ms=(0,Le.lazy)(()=>d(()=>import("./ProjectEdit-NkJcx9qe.js"),__vite__mapDeps([228,1,2,3,4,5,6,7,8,9,10,11,12,25,45,16,46,21,47,17,18,19,22,23,24,27,28,29,30,31,32,26,33,34,35,13,94,95,96,207,39,208,117,103,20,229,230,231]))),hs=(0,Le.lazy)(()=>d(()=>import("./ProjectStatus-C7lCtJ4b.js"),__vite__mapDeps([232,1,2,5,6,3,4,7,8,9,10,11,12,25,45,16,46,21,47,37,13,18,79,17,80,63,64,42,43,190,191,19,44,20,27,28,34,69,103,141,233]))),fs=(0,Le.lazy)(()=>d(()=>import("./SignIn-DnvAlvoe.js"),__vite__mapDeps([234,1,2,6,3,4,5,7,8,17,39,235]))),xs=(0,Le.lazy)(()=>d(()=>import("./SubscriberWelcome-N8Lu71LH.js"),__vite__mapDeps([236,1,2,5,6,3,4,8,9,10]))),js=(0,Le.lazy)(()=>d(()=>import("./Subscriptions-DTT1NcDe.js").then(e=>({default:e.Subscription})),__vite__mapDeps([237,1,2,5,6,3,4,8,10,14,11,12,13,238,67,17,239]))),ys=(0,Le.lazy)(()=>d(()=>import("./Subscriptions-DTT1NcDe.js").then(e=>({default:e.SubscriptionForm})),__vite__mapDeps([237,1,2,5,6,3,4,8,10,14,11,12,13,238,67,17,239]))),gs=(0,Le.lazy)(()=>d(()=>import("./Subscriptions-DTT1NcDe.js").then(e=>({default:e.UpdateForm})),__vite__mapDeps([237,1,2,5,6,3,4,8,10,14,11,12,13,238,67,17,239]))),_s=(0,Le.lazy)(()=>d(()=>import("./ConditionAdd-DWaWWC0t.js"),__vite__mapDeps([240,1,2,5,6,3,4,7,8,46,21,47,10,94,95,96,207,11,12,18,39,208,117,241,242]))),bs=(0,Le.lazy)(()=>d(()=>import("./ConditionEdit-cyxGyzVq.js"),__vite__mapDeps([243,1,2,5,6,3,4,7,8,10,11,12,188,9,25,136,17,21,18,19,46,47,39,22,23,35,13,81,94,95,96,207,208,117,241,242,103,20,104,108]))),vs=(0,Le.lazy)(()=>d(()=>import("./ConditionGroups-Dg3Mzblm.js"),__vite__mapDeps([244,1,2,5,6,3,4,7,8,11,12,136,18,63,64,138,139,35,9,10,13,245]))),ws=(0,Le.lazy)(()=>d(()=>import("./ConditionGroupAdd-C2hPL2ba.js"),__vite__mapDeps([246,1,2,5,6,3,4,7,8,11,12,18,46,21,94,95,96,117,241,242,103,20,245,10]))),As=(0,Le.lazy)(()=>d(()=>import("./ConditionGroupEdit-BqGfGbbN.js"),__vite__mapDeps([247,1,2,5,6,3,4,7,8,11,12,18,46,21,22,23,35,9,10,13,94,95,96,117,241,242,103,20,245]))),Es=(0,Le.lazy)(()=>d(()=>import("./KeywordUniverse-uMVAwQXb.js"),__vite__mapDeps([248,1,2,5,6,3,4,7,8,9,10,11,12,17,18,79,21,80,63,64,19,46,138,139,39,22,23,71,29,30,31,32,26,27,28,33,34,35,13,73,74,94,95,96,117,249,250,140,251,252]))),ks=(0,Le.lazy)(()=>d(()=>import("./QuestionUniverse-CZyL13Q3.js"),__vite__mapDeps([253,1,2,5,6,3,4,7,8,9,10,11,12,15,16,136,19,39,22,23,35,13,18,49,20,21,50,54,55,46,56,94,95,96,98,99,117,249,250,105,254,17,63,64,42,43,28,34,255,252]))),Ps=(0,Le.lazy)(()=>d(()=>import("./KeywordProfile-Bbzvjf6G.js"),__vite__mapDeps([256,1,2,5,6,3,4,7,8,11,12,17,19,22,23,158,21,159,27,28,29,30,31,32,26,33,34,35,9,10,13,18,74,257,252]))),Is=(0,Le.lazy)(()=>d(()=>import("./Documentation-Dd-zgkYi.js"),__vite__mapDeps([258,1,2,3,4,8,10,12,165,33,229,259]))),Cs=(0,Le.lazy)(()=>d(()=>import("./Home-vOotr6_E.js"),__vite__mapDeps([260,1,2,5,6,3,4,7,8,11,12,13,15,77,123,20,21,125,67,10,17,18,94,95,117,118,126,128,129,261,130]))),Os=(0,Le.lazy)(()=>d(()=>import("./Visibility-C7In-SZv.js"),__vite__mapDeps([262,1,2,3,4,5,6,7,8,15,17,121,9,10,11,12,18,65,39,122,77,124,125,67,94,95,117,123,20,21,118,126,128,129,263,261,264,19,265,130]))),Ts=(0,Le.lazy)(()=>d(()=>import("./Methodology-CUl6xIjZ.js"),__vite__mapDeps([266,1,2,3,4,5,6,7,8,11,12,13,15,121,9,10,17,18,65,39,122,111,137,21,77,123,20,124,125,67,94,95,117,118,126,128,129,130]))),Rs=(0,Le.lazy)(()=>d(()=>import("./ACNU-BgyimZrA.js"),__vite__mapDeps([267,1,2,5,6,3,4,7,8,11,12,13,15,121,9,10,17,18,65,39,122,20,21,38,77,123,124,268,269,125,67,94,95,117,118,126,127,128,129,270,130]))),Ns=(0,Le.lazy)(()=>d(()=>import("./OwnTheGate-pm-vByDJ.js"),__vite__mapDeps([271,1,2,5,6,3,4,7,8,15,20,21,38,77,268,11,12,18,124,269,125,67,10,17,94,95,117,123,118,126,130]))),Ds=(0,Le.lazy)(()=>d(()=>import("./PatentCliff-mynKXcax.js"),__vite__mapDeps([272,1,2,5,6,3,4,7,8,11,12,13,15,121,9,10,17,18,65,39,122,38,20,21,77,123,124,125,67,94,95,117,118,126,269,128,129,270,264,19,130])
2)),Ls=(0,Le.lazy)(()=>d(()=>import("./FAQ-CTb6Csuw.js"),__vite__mapDeps([273,1,2,7,8,11,12,15,5,6,3,4,18,19,20,21,77,125,67,10,17,94,95,117,123,118,126,263,274,275,113]))),zs=(0,Le.lazy)(()=>d(()=>import("./Question-C-V04hSF.js"),__vite__mapDeps([276,5,1,2,6,3,4,8,11,12,15,19,125,67,10,17,18,94,95,117,123,20,21,118,126,274]))),Fs=(0,Le.lazy)(()=>d(()=>import("./BlogPost-BnGWVrIh.js"),__vite__mapDeps([277,1,2,6,3,4,5,7,8,278,279,11,12,13,15,17,18,46,21,77,123,20,280]))),Ss=(0,Le.lazy)(()=>d(()=>import("./Watchlist-iKVBEmhV.js"),__vite__mapDeps([281,1,2,5,6,3,4,7,8,11,12,15,16,10,9,18,46,21,47,22,23,24,25,50,54,57,94,95,117,254,17,63,64,42,43,19,28,34,230,282])));function qs(){const{search:e,hash:t}=f();return(0,He.jsx)(w,{to:`/ai-visibility/work${e}${t}`,replace:!0})}function Vs(){const{pathname:e,search:t,hash:s}=f(),r=(e.split("/ai-visibility/faq/")[1]||"").replace(/\/+$/,"")||s.replace(/^#/,""),a=/^[\w-]+$/.test(r)?r:"faq";return(0,He.jsx)(w,{to:`/ai-visibility${t}#${a}`,replace:!0})}var Ms=A(y((0,He.jsxs)(m,{element:(0,He.jsx)(ft,{}),errorElement:(0,He.jsx)(gt,{}),children:[(0,He.jsxs)(m,{element:(0,He.jsx)(Ue,{}),errorElement:(0,He.jsx)(_t,{}),children:[(0,He.jsxs)(m,{element:(0,He.jsx)(xt,{}),children:[(0,He.jsx)(m,{path:"/ai-agents",element:(0,He.jsx)(Pt,{})}),(0,He.jsx)(m,{path:"/ai-agents/add",element:(0,He.jsx)(It,{})}),(0,He.jsx)(m,{path:"/ai-agents/:uuid/edit",element:(0,He.jsx)(Ct,{})}),(0,He.jsx)(m,{path:"/company-add",element:(0,He.jsx)(qt,{})}),(0,He.jsx)(m,{path:"/company-edit/:companyId",element:(0,He.jsx)(Vt,{})}),(0,He.jsx)(m,{path:"/condition-add",element:(0,He.jsx)(_s,{})}),(0,He.jsx)(m,{path:"/condition-groups",element:(0,He.jsx)(vs,{})}),(0,He.jsx)(m,{path:"/condition-group-add",element:(0,He.jsx)(ws,{})}),(0,He.jsx)(m,{path:"/condition-group-edit/:groupId",element:(0,He.jsx)(As,{})}),(0,He.jsx)(m,{path:"/condition-edit/:conditionId",element:(0,He.jsx)(bs,{})}),(0,He.jsx)(m,{path:"/global-negatives",element:(0,He.jsx)(ts,{})}),(0,He.jsx)(m,{path:"/keyword-profile/:keywordId",element:(0,He.jsx)(Ps,{})}),(0,He.jsx)(m,{path:"/organizations",element:(0,He.jsx)(rs,{})}),(0,He.jsx)(m,{path:"/organizations/add",element:(0,He.jsx)(ns,{})})]}),(0,He.jsx)(m,{element:(0,He.jsx)(jt,{}),children:(0,He.jsx)(m,{path:"/watchlist/:uuid",element:(0,He.jsx)(Ss,{})})}),(0,He.jsxs)(m,{path:"/document-center",element:(0,He.jsx)(Yt,{}),children:[(0,He.jsx)(m,{index:!0,element:(0,He.jsx)(w,{to:"brand",replace:!0})}),(0,He.jsx)(m,{path:"api-docs",element:(0,He.jsx)(Is,{})}),(0,He.jsx)(m,{path:"diagrams",element:(0,He.jsx)(Ht,{})}),(0,He.jsx)(m,{path:"brand",element:(0,He.jsx)(Ut,{})}),(0,He.jsx)(m,{element:(0,He.jsx)(jt,{}),children:(0,He.jsx)(m,{path:"watchlists",element:(0,He.jsx)(Wt,{})})})]}),(0,He.jsx)(m,{path:"/organizations/:uuid",element:(0,He.jsx)(as,{})}),(0,He.jsx)(m,{path:"/ask-ai",element:(0,He.jsx)(kt,{})}),(0,He.jsx)(m,{path:"/condition/:conditionId",element:(0,He.jsx)(Kt,{})}),(0,He.jsx)(m,{path:"/project-edit/:uuid",element:(0,He.jsx)(ms,{})}),(0,He.jsx)(m,{path:"/project-status",element:(0,He.jsx)(hs,{})}),(0,He.jsx)(m,{path:"/project/ai-visibility/:uuid",element:(0,He.jsx)(bt,{})}),(0,He.jsx)(m,{path:"/project/ai-visibility/question/:project_uuid/:condition_uuid",element:(0,He.jsx)(Ot,{})}),(0,He.jsx)(m,{path:"/project/ai-visibility/question/:uuid",element:(0,He.jsx)(Ot,{})}),(0,He.jsx)(m,{path:"/project/:projectId/keyword-universe",element:(0,He.jsx)(ss,{})}),(0,He.jsx)(m,{path:"/project/:projectId/acnu_dashboard",element:(0,He.jsx)(vt,{})}),(0,He.jsx)(m,{path:"/project/:projectId/acnu",element:(0,He.jsx)(Bt,{})}),(0,He.jsx)(m,{path:"/project/:projectId/acnu/:questionId",element:(0,He.jsx)(Et,{})}),(0,He.jsx)(m,{path:"/project/:projectId/competitive-analysis",element:(0,He.jsx)(Mt,{})}),(0,He.jsx)(m,{path:"/project/:projectId/condition-analysis",element:(0,He.jsx)(Qt,{})}),(0,He.jsx)(m,{path:"/subscription",element:(0,He.jsx)(js,{})}),(0,He.jsx)(m,{path:"/subscription/update",element:(0,He.jsx)(gs,{})}),(0,He.jsx)(m,{path:"/leaderboard-bills",element:(0,He.jsx)(Zt,{})}),(0,He.jsx)(m,{path:"/leaderboard-politicians",element:(0,He.jsx)(Jt,{})}),(0,He.jsx)(m,{path:"/bill/:billId",element:(0,He.jsx)(Tt,{})}),(0,He.jsx)(m,{path:"/politician/:politicianId",element:(0,He.jsx)(os,{})}),(0,He.jsx)(m,{path:"/profile",element:(0,He.jsx)(us,{})}),(0,He.jsx)(m,{path:"/leaderboard-food",element:(0,He.jsx)(Xt,{})}),(0,He.jsx)(m,{path:"/otc-explorer",element:(0,He.jsx)($t,{})}),(0,He.jsx)(m,{path:"/otc-explorer/:medicineId",element:(0,He.jsx)(es,{})})]}),(0,He.jsxs)(m,{element:(0,He.jsx)(yt,{}),errorElement:(0,He.jsx)(_t,{}),children:[(0,He.jsx)(m,{path:"/keyword-universe",element:(0,He.jsx)(Es,{})}),(0,He.jsx)(m,{path:"/question-universe",element:(0,He.jsx)(ks,{})}),(0,He.jsx)(m,{path:"/company/:companyId",element:(0,He.jsx)(St,{})}),(0,He.jsx)(m,{path:"/product/:productId",element:(0,He.jsx)(cs,{})}),(0,He.jsx)(m,{path:"/clusters/:clusterId",element:(0,He.jsx)(Ft,{})}),(0,He.jsx)(m,{path:"/cluster/:clusterId/:profileId",element:(0,He.jsx)(zt,{})})]}),(0,He.jsx)(m,{path:"/",element:(0,He.jsx)(Cs,{})}),(0,He.jsx)(m,{path:"/ai-visibility",element:(0,He.jsx)(Os,{})}),(0,He.jsx)(m,{path:"/blog/:slug",element:(0,He.jsx)(Fs,{})}),(0,He.jsx)(m,{path:"/ai-visibility/work",element:(0,He.jsx)(Lt,{})}),(0,He.jsx)(m,{path:"/ai-visibility/methodology",element:(0,He.jsx)(Ts,{})}),(0,He.jsx)(m,{path:"/ai-visibility/case-studies",element:(0,He.jsx)(qs,{})}),(0,He.jsx)(m,{path:"/ai-visibility/faq",element:(0,He.jsx)(Vs,{})}),(0,He.jsx)(m,{path:"/ai-visibility/faq/:questionId",element:(0,He.jsx)(Vs,{})}),(0,He.jsx)(m,{path:"/acnu-additional-condition-for-nonprescription-use",element:(0,He.jsx)(Rs,{})}),(0,He.jsx)(m,{path:"/acnu-additional-condition-for-nonprescription-use/faq",element:(0,He.jsx)(Ls,{})}),(0,He.jsx)(m,{path:"/acnu-additional-condition-for-nonprescription-use/own-the-gate",element:(0,He.jsx)(Ns,{})}),(0,He.jsx)(m,{path:"/acnu-additional-condition-for-nonprescription-use/faq/:questionId",element:(0,He.jsx)(zs,{})}),(0,He.jsx)(m,{path:"/drug-patent-cliff-strategies",element:(0,He.jsx)(Ds,{})}),(0,He.jsx)(m,{path:"/project/:projectId/",element:(0,He.jsx)(ps,{})}),(0,He.jsx)(m,{path:"/project/:projectName/acnu-feasibility/:projectId",element:(0,He.jsx)(wt,{})}),(0,He.jsx)(m,{path:"/acnu-feasibility/methodology",element:(0,He.jsx)(At,{})}),(0,He.jsx)(m,{path:"/callback",element:(0,He.jsx)(Dt,{})}),(0,He.jsx)(m,{path:"/leaderboard",element:(0,He.jsx)(Gt,{})}),(0,He.jsx)(m,{path:"/pricing",element:(0,He.jsx)(ls,{})}),(0,He.jsx)(m,{path:"/billing-help",element:(0,He.jsx)(Rt,{})}),(0,He.jsx)(m,{path:"/bug-report",element:(0,He.jsx)(Nt,{})}),(0,He.jsx)(m,{path:"/productivity-booster",element:(0,He.jsx)(ds,{})}),(0,He.jsx)(m,{path:"/subscription/checkout",element:(0,He.jsx)(ys,{})}),(0,He.jsx)(m,{path:"/welcome",element:(0,He.jsx)(xs,{})}),(0,He.jsx)(m,{path:"/login",element:(0,He.jsx)(fs,{})}),(0,He.jsx)(m,{path:"/accept-invite",element:(0,He.jsx)(is,{})}),(0,He.jsx)(m,{path:"*",element:(0,He.jsx)(W,{})})]})),{future:{v7_startTransition:!0}});if("undefined"!=typeof document&&document.startViewTransition){const e=Ms.navigate;Ms.navigate=function(t,s){return"string"==typeof t||t&&"object"==typeof t?e.call(Ms,t,{...s,viewTransition:s?.viewTransition??!0}):e.call(Ms,t,s)}}var Qs=new class{#a;#n;#i;#o;#l;#c;#d;#u;
2constructor(e={}){this.#a=e.queryCache||new qe,this.#n=e.mutationCache||new Ve,this.#i=e.defaultOptions||{},this.#o=new Map,this.#l=new Map,this.#c=0}mount(){this.#c++,1===this.#c&&(this.#d=Q.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#a.onFocus())}),this.#u=z.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#a.onOnline())}))}unmount(){this.#c--,0===this.#c&&(this.#d?.(),this.#d=void 0,this.#u?.(),this.#u=void 0)}isFetching(e){return this.#a.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#a.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),s=this.#a.build(this,t),r=s.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&s.isStaleByTime(I(t.staleTime,s))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#a.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,s){const r=this.defaultQueryOptions({queryKey:e}),a=this.#a.get(r.queryHash)?.state.data,n=F(t,a);if(void 0!==n)return this.#a.build(this,r).setData(n,{...s,manual:!0})}setQueriesData(e,t,s){return T.batch(()=>this.#a.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,s)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#a.get(t.queryHash)?.state}removeQueries(e){const t=this.#a;T.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const s=this.#a;return T.batch(()=>(s.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const s={revert:!0,...t},r=T.batch(()=>this.#a.findAll(e).map(e=>e.cancel(s)));return Promise.all(r).then(O).catch(O)}invalidateQueries(e,t={}){return T.batch(()=>(this.#a.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const s={...t,cancelRefetch:t.cancelRefetch??!0},r=T.batch(()=>this.#a.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,s);return s.throwOnError||(t=t.catch(O)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(r).then(O)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const s=this.#a.build(this,t);return s.isStaleByTime(I(t.staleTime,s))?s.fetch(t):Promise.resolve(s.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(O).catch(O)}fetchInfiniteQuery(e){return e.behavior=Qe(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(O).catch(O)}ensureInfiniteQueryData(e){return e.behavior=Qe(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return z.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#a}getMutationCache(){return this.#n}getDefaultOptions(){return this.#i}setDefaultOptions(e){this.#i=e}setQueryDefaults(e,t){this.#o.set(L(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#o.values()],s={};return t.forEach(t=>{H(e,t.queryKey)&&Object.assign(s,t.defaultOptions)}),s}setMutationDefaults(e,t){this.#l.set(L(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#l.values()],s={};return t.forEach(t=>{H(e,t.mutationKey)&&Object.assign(s,t.defaultOptions)}),s}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#i.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=D(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===P&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#i.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#a.clear(),this.#n.clear()}}({defaultOptions:{queries:{staleTime:3e5,retry:1,refetchOnWindowFocus:!1}}});function Ks(){return(0,He.jsx)(k,{children:(0,He.jsx)(V,{client:Qs,children:(0,He.jsx)(Se,{router:Ms,future:{v7_startTransition:!0}})})})}if("undefined"!=typeof window){const e=[];"popover"in HTMLElement.prototype||e.push(d(async()=>{const{apply:e}=await import("./popover-fn-DLSK7N4p.js");return{apply:e}},[]).then(({apply:e})=>e())),"anchorName"in document.documentElement.style||e.push(d(()=>import("./css-anchor-positioning-CY5OrMFS.js"),[])),e.length>0&&await Promise.all(e)}Ne.registerPlugin(a,Re,De),ze.createRoot(document.getElementById("root")).render((0,He.jsx)(Le.StrictMode,{children:(0,He.jsx)(ce,{children:(0,He.jsx)(Ks,{})})}));
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.