1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["luke-assets/Main-_TsZ1c-W.js","luke-assets/preload-helper-BXl3LOEh.js","luke-assets/jsx-runtime-u17CrQMm.js","luke-assets/chunk-LFPYN7LY-TqOSkgpA.js","luke-assets/_commonjsHelpers-DaWZu8wl.js","luke-assets/FadeInSection-CCfMGX4s.js","luke-assets/use-reduced-motion-BNEsRbc1.js","luke-assets/proxy-Qo3JyXnZ.js","luke-assets/message-Dmjd5BUk.js","luke-assets/schemas-B0wYuIa2.js","luke-assets/validate_pb-CUY5UUaI.js","luke-assets/getCommentTimeDisplay-B2spngtD.js","luke-assets/dayjs.min-CnI5CFZd.js","luke-assets/utc-DLvcnh4g.js","luke-assets/useAnalytics-YcDknlFs.js","luke-assets/index-C-9wGp20.js","luke-assets/cookies-FYpdvgDk.js","luke-assets/tokenStore.browser-CElRvtDh.js","luke-assets/index-BduU_tyj.js","luke-assets/lib-BEBRA6mV.js","luke-assets/auth-BaZsPFhw.js","luke-assets/index-rTCvr2I-.js","luke-assets/index-B5EMHoxQ.js","luke-assets/imagineComposerDraft-B3wsLwFN.js","luke-assets/localStorage-DqJkqFwb.js","luke-assets/trackingDebug-Be3rAixh.js","luke-assets/config-aABz_RzK.js","luke-assets/relay-4JRJ2Z6e.js","luke-assets/useEventTracker-CXUlD5U3.js","luke-assets/useQuery-C3QVqy8m.js","luke-assets/useBaseQuery-DjR40tHK.js","luke-assets/ApiProvider-BRWYbwH8.js","luke-assets/ConfigProvider-DFT6i5xF.js","luke-assets/dataSource.client-BnXrYfPl.js","luke-assets/external-B4db011C.js","luke-assets/env-BX4qRdIo.js","luke-assets/useClientSide-Cw-AD_MP.js","luke-assets/sessionContext-BtiSJ242.js","luke-assets/ScrollShelf-DtaVQmyP.js","luke-assets/index-CXdMk6uD.js","luke-assets/ChevronLeft-BQ8hZknH.js","luke-assets/ChevronRight-7g1FVGa_.js","luke-assets/ScrollShelf-DhADpZgN.css","luke-assets/Button-Dww2eTVp.js","luke-assets/Spinner-DtmqV5lA.js","luke-assets/orb-looped-kIc03mid.js","luke-assets/useAppUrl-ux7B3Dt7.js","luke-assets/authRedirect-D-qZMzIi.js","luke-assets/attribution-CgOOfS45.js","luke-assets/common-DGdDVYaT.js","luke-assets/hosts-B_1_r_0F.js","luke-assets/LazyImage-CzjYKOek.js","luke-assets/image-DVMBuM0x.js","luke-assets/usePageVisibility-CNqG8ksA.js","luke-assets/IconButton-ZnDB0n-h.js","luke-assets/SoundOFF-jYSBaJ13.js","luke-assets/SoundON-j-_qnqLa.js","luke-assets/MainLayoutProvider-CkfBe8qP.js","luke-assets/ChatText-B22VEj9l.js","luke-assets/useScroll-D7px5WBP.js","luke-assets/useRafState-C-EqIGbu.js","luke-assets/util-CeAI_f06.js","luke-assets/tslib.es6-Cst0eX4M.js","luke-assets/Bot-BszNaIh2.js","luke-assets/ArrowLeft-CFnEHG8B.js","luke-assets/ArrowRight-S4Ax58N3.js","luke-assets/app-Cu09KhQy.js","luke-assets/useMedia-CdAFBWae.js","luke-assets/Photo-B4M8j2VX.js","luke-assets/ScrollArea-CUSaGb4t.js","luke-assets/useScrollAreaRef-BK9glClG.js","luke-assets/useScrollAreaRef-BADtr5oD.css","luke-assets/paths-BqbMcW1y.js","luke-assets/Tooltip-wC2K74KX.js","luke-assets/runtime-Dmz8XCAg.js","luke-assets/index-CtoO_Lrc.js","luke-assets/split-presence-props-CdFKwhsE.js","luke-assets/index-CJtEz-im.js","luke-assets/get-styles-CYgsMJV3.js","luke-assets/portal-BJtf-sFs.js","luke-assets/format-I8K4_Sks.js","luke-assets/Lightning-DnSCYXoX.js","luke-assets/ArrowTrendingUp-DHtFYhkO.js","luke-assets/useNavigation-CcVjRGDI.js","luke-assets/vanilla-C4Qsk_Cm.js","luke-assets/Main-DoaO-2ul.css","luke-assets/swiper-C2J0D0kV.css"])))=>i.map(i=>d[i]); 2import{_ as C}from"./preload-helper-BXl3LOEh.js";import{a as s,w as L}from"./chunk-LFPYN7LY-TqOSkgpA.js";import{j as e}from"./jsx-runtime-u17CrQMm.js";import{a as c,m as i,O as b,b as G,c as _}from"./app-Cu09KhQy.js";import{G as M}from"./GetAppModal-BHsSYnzy.js";import{g}from"./index-C-9wGp20.js";import{l as j}from"./lib-BEBRA6mV.js";import{a as u,c as h}from"./cookies-FYpdvgDk.js";import{u as H}from"./ConfigProvider-DFT6i5xF.js";import{t as E,E as O}from"./useAnalytics-YcDknlFs.js";import{u as B}from"./useClientSide-Cw-AD_MP.js";import{o as S,p as U}from"./landingLinks-BNh4el5-.js";import{O as k}from"./OnboardingLanding-Bcj87BnR.js";import{g as v,L as d,a as y,b as I}from"./LinkedData-UaOH-4-4.js";import{R as F}from"./index-rTCvr2I-.js";const A=s.createContext({genresBots:[],leaderboard:null,mainBots:[],openGetAppModal:()=>null,popularBotContent:null,popularCreatorFeed:null,sanityContent:null,trendingBotC
2ontent:null,trendingThemes:null}),P=A.Provider,nt=()=>{const t=s.useContext(A);if(!t)throw new Error('"useHomeContext" must be used within a "HomeProvider"');return t},f=({characters:t})=>{const{clientApps:a,hostname:o}=g(),p=[`https://apps.apple.com/app/id${a.ios.appStoreId}`,a.android.playStoreURL,"https://x.com/TheCantinaApp"],r=v({characters:t,hostname:o,name:`Featured characters on ${c}`});return e.jsxs(e.Fragment,{children:[e.jsx(d,{data:y({description:i.description,hostname:o,name:c,sameAs:p})}),e.jsx(d,{data:I({description:i.description,hostname:o,name:c,searchPath:`/${F.Explore}?q=`})}),r&&e.jsx(d,{data:r})]})},T=s.lazy(()=>C(()=>import("./Main-_TsZ1c-W.js").then(t=>t.M),__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,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86])).then(t=>({default:t.MainHome}))),ot={hideFooter:({data:t})=>!!t?.onboardingLanding,hideHeader:({data:t})=>!!t?.onboardingLanding,ownsCanonicalUrl:!0},at=()=>{const t=g();return t.flags.webOnboardingV2WithV5AclBypass?S():[U("/static/fonts/Geist/geist-latin-wght-normal.woff2"),{href:"https://s3.amazonaws.com/",rel:"preconnect"},{href:t.env==="staging"||t.env==="dev"?"https://optimized-img-staging.cdn.signal.is/":"https://optimized-img.cdn.signal.is/",rel:"preconnect"}]},$=({loaderData:t})=>{const[a,o]=s.useState(),[p,r]=s.useState(!1),{isClientSide:n}=B(),{config:m}=H(),x=s.useMemo(()=>{const l=u.get(h.getAppUrl);return j.isMobile&&n?l||m.clientApps.downloadUrl:"/signup"},[m.clientApps.downloadUrl,n]),w=()=>{const l=u.get(h.getAppUrl);E(O.LandingDownloadTapped,{redirect:!1,url:l||m.clientApps.downloadUrl})};return t.onboardingLanding?e.jsxs(e.Fragment,{children:[e.jsx(f,{characters:t.landingBots}),e.jsx(k,{})]}):e.jsxs(P,{value:{...t,openGetAppModal:({fullname:l})=>{r(!0),o(l)}},children:[e.jsx(f,{characters:t.landingBots}),e.jsx(s.Suspense,{fallback:null,children:e.jsx(T,{})}),e.jsx(M,{isOpen:p,onClose:()=>r(!1),fullName:a,getAppUrl:x,onGetAppClicked:w})]})},rt=({loaderData:t})=>{const{hostname:a}=g(),o=`${a}/`,p=`${a}${b}`,r=[{title:i.title},{content:i.description,name:"description"},{href:o,rel:"canonical",tagName:"link"},{content:o,property:"og:url"},{content:o,name:"twitter:url"},{content:"summary_large_image",name:"twitter:card"},...["og:title","twitter:title"].map(n=>({content:i.title,[n.startsWith("og")?"property":"name"]:n})),...["og:description","twitter:description"].map(n=>({content:i.description,[n.startsWith("og")?"property":"name"]:n})),...["og:image","og:image:secure_url","twitter:image"].map(n=>({content:p,[n.startsWith("og")?"property":"name"]:n})),{content:String(G),property:"og:image:width"},{content:String(_),property:"og:image:height"},{content:i.imageAlt,property:"og:image:alt"},{content:i.imageAlt,name:"twitter:image:alt"}];return t.mainBots?.[0]?.imageUrl&&r.push({as:"image",href:t.mainBots[0].imageUrl,rel:"preload",tagName:"link"}),r},it=L($);export{rt as a,ot as h,at as l,it as m,nt as u}; 3//# sourceMappingURL=main-DYxkvKFn.js.map
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.