PageSourceSearch

https://51wan.ai/_next/static/chunks/pages/explore/search-33866f8e7866ced9.js

js 51wan.ai collected 2026-10-05 13:33:37 UTC 27,152 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4020],{983:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z",clipRule:"evenodd"}),r.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))})},5147:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-2.429 0-4.817.178-7.152.521C2.87 3.061 1.5 4.795 1.5 6.741v6.018c0 1.946 1.37 3.68 3.348 3.97.877.129 1.761.234 2.652.316V21a.75.75 0 0 0 1.28.53l4.184-4.183a.39.39 0 0 1 .266-.112c2.006-.05 3.982-.22 5.922-.506 1.978-.29 3.348-2.023 3.348-3.97V6.741c0-1.947-1.37-3.68-3.348-3.97A49.145 49.145 0 0 0 12 2.25ZM8.25 8.625a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Zm2.625 1.125a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875-1.125a1.125 1.125 0 1 0 0 2.25 1.125 1.125 0 0 0 0-2.25Z",clipRule:"evenodd"}))})},19114:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))})},19880:(e,t,a)=>{"use strict";function r(e){return e.includes("诸神之战")}a.d(t,{IP:()=>r,k2:()=>l});let l=[{label:"热门",tags:[{displayName:"低消耗",matchNames:["低消耗","低消耗 ","超低消耗"]},{displayName:"巨乳",matchNames:["巨乳"]},{displayName:"反差",matchNames:["反差"]},{displayName:"丝袜",matchNames:["丝袜","足控"]},{displayName:"纯爱",matchNames:[" 纯爱","纯爱向","可纯爱","可后宫可纯爱"]},{displayName:"剧情向",matchNames:["剧情向"]}]},{label:"角色",tags:[{displayName:"妈妈",matchNames:["妈妈"]},{displayName:"女儿",matchNames:["女儿","母女盖饭"]},{displayName:"妹妹",matchNames:["妹妹"]},{displayName:"姐姐",matchNames:["姐姐"]},{displayName:"青梅竹马",matchNames:["青梅竹马"]},{displayName:"御姐",matchNames:["御姐"]},{displayName:"正太",matchNames:["正太"]},{displayName:"萝莉",matchNames:["萝莉","萝莉,幼女"]},{displayName:"扶她",matchNames:["扶她"]},{displayName:"伪娘",matchNames:["伪娘"]},{displayName:"雌小鬼",matchNames:["雌小鬼"]},{displayName:"病娇",matchNames:["病娇"]},{displayName:"多角色",matchNames:["多角色","多个攻略对象"]},{displayName:"单人卡",matchNames:["单人卡"]},{displayName:"动漫",matchNames:["动漫","游戏同人"]},{displayName:"女性视角",matchNames:["女性视角"]},{displayName:"耽美",matchNames:["耽美","男同"]},{displayName:"百合",matchNames:["百合"]}]},{label:"玩法",tags:[{displayName:"已破甲",matchNames:["已破甲","破甲"]},{displayName:"可剧情可涩涩",matchNames:["可剧情可涩涩","可涩涩","开局即可色"]},{displayName:"调教",matchNames:["调教","可调教","被调教"]},{displayName:"乱伦",matchNames:["乱伦"]},{displayName:"NTR/寝取",matchNames:["可ntr可纯爱","NTR","绿帽"]},{displayName:"催眠",matchNames:["催眠洗脑"]},{displayName:"后宫",matchNames:["后宫","可后宫"]}
1,{displayName:"恶堕",matchNames:["恶堕"]},{displayName:"重口",matchNames:["重口","可重口可轻口","重口/性虐/调教"]},{displayName:"养成",matchNames:["养成"]},{displayName:"性转/女装",matchNames:["性转"]},{displayName:"R18",matchNames:["男性向R18","可R18"]},{displayName:"色情描写",matchNames:["加强色情描写","极致色情描写","细致描写"]},{displayName:"小马拉大车",matchNames:["小马拉大车"]},{displayName:"各种玩法",matchNames:["各种玩法"]},{displayName:"高难度攻略",matchNames:["高难度攻略"]},{displayName:"救赎",matchNames:["救赎"]},{displayName:"抖M",matchNames:["抖M"]}]},{label:"场景",tags:[{displayName:"现代都市",matchNames:["现代都市"]},{displayName:"异世界",matchNames:["异世界"]},{displayName:"西幻",matchNames:["西幻"]},{displayName:"古风",matchNames:["古风"]},{displayName:"校园",matchNames:["校园"]},{displayName:"战斗",matchNames:["战斗"]},{displayName:"修仙",matchNames:["修仙","修仙大世界"]},{displayName:"武侠",matchNames:["武侠"]}]},{label:"自由度",tags:[{displayName:"开放世界",matchNames:["开放世界","开放大世界","自由探索","自由扮演"]},{displayName:"超高自由度",matchNames:["超高自由度","为所欲为"]},{displayName:"自定义",matchNames:["自定义","自定义角色","自定义开局"]},{displayName:"可快餐",matchNames:["可快餐可长线"]}]},{label:"模式",tags:[{displayName:"模拟经营",matchNames:["模拟经营"]},{displayName:"系统",matchNames:["系统"]},{displayName:"适配grok3",matchNames:["适配grok3"]},{displayName:"适配Gemini",matchNames:["适配Gemini"]}]}]},43221:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))})},45137:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{d:"m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z"}))})},48711:(e,t,a)=>{"use strict";a.d(t,{F0:()=>u});let{Axios:r,AxiosError:l,CanceledError:s,isCancel:n,CancelToken:i,VERSION:o,all:c,Cancel:d,isAxiosError:u,spread:m,toFormData:h,AxiosHeaders:p,HttpStatusCode:f,formToJSON:y,getAdapter:g,mergeConfig:v}=a(91040).A},52369:(e,t,a)=>{"use strict";a.d(t,{zY:()=>s});var r=a(58618),l=a(37876);a(14232);let s=e=>{let{items:t,getItemHref:a,openInNewTab:s=!1,onItemClick:n,onAuthorClick:i,showRank:o=!1,showTrend:c=!1,showAuthor:d=!1,showViewCount:u=!0,showViewCountOnMobile:m=!1,columns:h=3,className:p="",layout:f="overlay",priorityCount:y=6,showFavorite:g=!1,favoritedIds:v,onFavoriteToggle:w,favoriteLoadingIds:N,exposureTrackingEnabled:b=!1,exposureUseMobileMode:x=!1,exploreImmersiveMobile:_=!1,visualVariant:E="default",hideCategories:R=!1,descriptionFontSizePx:k,hideDescription:M=!1,hideDescriptionOnMobile:A=!1,hideTopRightFavoriteBadge:C=!1,hideAuthorName:O=!1,hideExtendedStatsOnMobile:P=!1,showAuthorOnImageBottomLeftOnMobile:j=!1,forceOriginalCoverIds:T,imageSizesProfile:Y,metricsPage:L}=e;return t&&0!==t.length?(0,l.jsx)("div",{className:`${(()=>{switch(h){case 2:return"grid grid-cols-1 sm:grid-cols-2 gap-4";
1case 3:default:return"large-card-grid-compact-no-padding";case 4:return"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4"}})()} ${p}`,children:t.map((e,t)=>(0,l.jsx)(r.A,{item:e,href:null==a?void 0:a(e),openInNewTab:s,onClick:n,onAuthorClick:i,showRank:o,showTrend:c,showAuthor:d,showViewCount:u,showViewCountOnMobile:m,animationDelay:Math.min(50*t,300),layout:f,priority:t<y,fetchPriority:0===t?"high":void 0,showFavorite:g,isFavorited:null==v?void 0:v.has(e.id),onFavoriteToggle:w,isFavoriteLoading:null==N?void 0:N.has(e.id),exposureTrackingEnabled:b,exposureUseMobileMode:x,exploreImmersiveMobile:_,visualVariant:E,hideCategories:R,descriptionFontSizePx:k,hideDescription:M,hideDescriptionOnMobile:A,hideTopRightFavoriteBadge:C,hideAuthorName:O,hideExtendedStatsOnMobile:P,showAuthorOnImageBottomLeftOnMobile:j,forceOriginalCover:(null==T?void 0:T.has(e.id))===!0,imageSizesProfile:Y,metricsPage:L},e.listRowKey??e.id))}):null}},52617:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var r=a(37876),l=a(14232),s=a(67768),n=a(89099),i=a(19114),o=a(60299),c=a(53731),d=a(86948),u=a(19880),m=a(71585),h=a(52369),p=a(64323),f=a(66429),y=a(3738);let g=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function v(){let e=(0,n.useRouter)(),t=(0,s.jE)(),a=(0,m.H)(),[v,w]=(0,l.useState)(""),[N,b]=(0,l.useState)(!0),[x,_]=(0,l.useState)(!1),[E,R]=(0,l.useState)(!1),[k,M]=(0,l.useState)(!1),[A,C]=(0,l.useState)(1),[O,P]=(0,l.useState)(null),[j,T]=(0,l.useState)(!1),[Y,L]=(0,l.useState)(null),[F,S]=(0,l.useState)([]),[q,I]=(0,l.useState)(!1),B=(0,l.useRef)(null),Z=(0,l.useRef)(0),W=(0,l.useRef)(0),U=(0,l.useRef)(!1),$=(0,l.useRef)({keyword:"",results:[],currentPage:1,hasMore:!1,currentParams:null,hasSearched:!1,hotExpanded:!0});(0,l.useEffect)(()=>{I((0,y.je)())},[]),$.current={keyword:v,results:F,currentPage:A,hasMore:k,currentParams:O,hasSearched:j,hotExpanded:N};let{clearSnapshot:D}=(0,f.N)({storageId:"explore-search",enabled:!0,getListState:()=>$.current,onRestore:e=>{Z.current+=1,W.current+=1,U.current=!0,w(e.keyword),S(e.results),C(e.currentPage),M(e.hasMore),P(e.currentParams),T(e.hasSearched),b(e.hotExpanded)}}),{data:H=[]}=(0,d.wL)({enabled:!0}),V=(0,l.useMemo)(()=>new Map(H.map(e=>[e.id,e.name])),[H]),K=(0,l.useCallback)(e=>(e||[]).map(e=>{let t=(e||"").trim();if(!t)return"";let a=V.get(t);if(a)return a;if(g.test(t))return"";if(/^[0-9a-f-]{6,}$/i.test(t)){for(let[e,a]of V.entries())if(e.startsWith(t)||t.startsWith(e))return a;return""}return t}).filter(Boolean),[V]),z=(0,l.useCallback)(e=>(0,p.vl)(e,{exploreMergedDailyWeekly:!1}).map(e=>({id:e.id,title:e.title,description:e.summary||"",thumbnail:e.thumbnail,viewCount:e.viewCount,viewCountDisplay:e.viewCountDisplay,author:e.author,categories:K(e.categories||[]),favoriteCount:e.favoriteCount})),[K]);(0,l.useEffect)(()=>{F.length&&V.size&&S(e=>e.map(e=>({...e,categories:K(e.categories||[])})))},[V,K]);let G=(0,l.useMemo)(()=>{let e=new Map(H.filter(e=>!(0,u.IP)(e.name)).map(e=>[e.name,e])),t=[],a=new Set;for(let r of u.k2)for(let l of r.tags){if(a.has(l.displayName))continue;a.add(l.displayName);let r=new Set(l.explicitCategoryIds??[]),s=0;for(let t of l.matchNames){let a=e.get(t);a&&(r.add(a.id),s+=a.character_count||0)}let n=Array.from(r);0!==n.length&&t.push({label:l.displayName,categoryIds:n,heat:s})}return t.sort((e,t)=>t.heat-e.heat).slice(0,40)},[H]),Q=(0,l.useCallback)(()=>{window.history.length>1?e.back():e.push("/explore/app?ranking=recommended_rank")},[e]),X=(0,l.useCallback)(async(a,r)=>{var l;let s=(null==(l=a.search)?void 0:l.trim())||"",n=a.categoryIds??[],i=n.join(",");if(!s&&!i)return;let o=++Z.current;if(W.current+=1,D(),!(null==r?void 0:r.skipUrlUpdate)){let t={};s&&(t.q=s),i&&(t.cats=i),e.replace({pathname:e.pathname,query:t},void 0,{shallow:!0})}b(!1),_(!0),R(!1),T(!0),L(null);try{P({search:s,categoryIds:n}),C(1);let e=await t.fetchQuery({queryKey:["charSearch",s,i,1],queryFn:()=>p.x5.getLeaderboard("all_time",{page:1,pageSize:20,search:s,category:i}),staleTime:3e5});if(o!==Z.current)return;let a=z(e.items);S(a),M(e.page<e.totalPages)}catch{if(o!==Z.current)return;L("搜索失败,请稍后重试"),S([]),M(!1)}finally{o===Z.current&&_(!1)}},[z,t,e,D]);(0,l.useEffect)(()=>
1{if(!e.isReady||U.current)return;U.current=!0;let t="string"==typeof e.query.q?e.query.q:"",a="string"==typeof e.query.cats?e.query.cats:"";(t||a)&&(t&&w(t),X({search:t||void 0,categoryIds:a?a.split(","):void 0},{skipUrlUpdate:!0}))},[e.isReady]);let J=(0,l.useCallback)(async()=>{if(!O||x||E||!k)return;let e=A+1,a=Z.current,r=++W.current;R(!0);try{let l=O.categoryIds.join(","),s=await t.fetchQuery({queryKey:["charSearch",O.search,l,e],queryFn:()=>p.x5.getLeaderboard("all_time",{page:e,pageSize:20,search:O.search,category:l}),staleTime:3e5});if(a!==Z.current||r!==W.current)return;let n=z(s.items);S(e=>[...e,...n]),C(e),M(s.page<s.totalPages)}catch{if(a!==Z.current||r!==W.current)return;M(!1)}finally{r===W.current&&R(!1)}},[O,A,k,E,x,z,t]);(0,l.useEffect)(()=>{let e=B.current;if(!e||!j||!k)return;let t=new IntersectionObserver(e=>{var t;(null==(t=e[0])?void 0:t.isIntersecting)&&J()},{rootMargin:"200px 0px 200px 0px"});return t.observe(e),()=>t.disconnect()},[k,j,J]);let ee=(0,l.useCallback)(()=>{let e=v.trim();e&&X({search:e})},[v,X]),et=(0,l.useCallback)(e=>{w(e.label),X({categoryIds:e.categoryIds})},[X]);return(0,r.jsx)("div",{className:"explore-search-page min-h-screen bg-[var(--es-bg)] text-[var(--es-text)]",style:{paddingTop:a.inset},children:(0,r.jsxs)("div",{className:"px-4 pb-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2.5 pt-3",children:[(0,r.jsx)("button",{type:"button",onClick:Q,className:"inline-flex h-9 w-9 items-center justify-center rounded-full text-[var(--es-muted)]","aria-label":"返回",children:(0,r.jsx)(i.A,{className:"h-6 w-6"})}),(0,r.jsxs)("div",{className:"flex h-11 min-w-0 flex-1 items-center rounded-[24px] bg-[var(--es-input-bg)] px-3.5",children:[(0,r.jsx)(o.A,{className:"h-6 w-6 text-[var(--es-placeholder)]"}),(0,r.jsx)("input",{value:v,onChange:e=>w(e.target.value),onKeyDown:e=>{"Enter"===e.key&&ee()},placeholder:"可搜索角色卡/作者/分类",className:"ml-2.5 flex-1 bg-transparent text-[15px] text-[var(--es-input-text)] placeholder:text-[var(--es-placeholder)] outline-none"})]}),(0,r.jsx)("button",{type:"button",onClick:ee,className:"h-11 shrink-0 whitespace-nowrap rounded-[22px] border border-[var(--es-btn-border)] bg-[var(--es-btn-bg)] px-4 text-[15px] leading-none font-semibold text-[var(--es-btn-text)]",children:"搜索"})]}),(0,r.jsxs)("button",{type:"button",className:"mt-8 flex w-full items-center justify-between",onClick:()=>b(e=>!e),"aria-expanded":N,"aria-controls":"hot-search-tags",children:[(0,r.jsx)("div",{className:"flex items-center gap-2 text-[24px] leading-none text-[var(--es-accent)]",children:"↗"}),(0,r.jsx)("h2",{className:"mr-auto ml-2 text-[20px] leading-none font-bold text-[var(--es-title)]",children:"热门搜索"}),(0,r.jsx)(c.A,{className:`h-7 w-7 text-[var(--es-muted)] transition-transform duration-200 ${N?"":"-rotate-90"}`})]}),(0,r.jsx)("div",{id:"hot-search-tags",className:N?"mt-5 flex flex-wrap gap-2.5":"hidden",children:G.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>et(e),className:"rounded-[18px] border border-[var(--es-pill-border)] bg-[var(--es-pill-bg)] px-3 py-1.5 text-[13px] font-medium text-[var(--es-pill-text)]",children:e.label},e.label))}),x&&(0,r.jsx)("div",{className:"py-8 text-center text-sm text-[var(--es-muted)]",children:"搜索中..."}),!x&&Y&&(0,r.jsx)("div",{className:"py-8 text-center text-sm text-[var(--es-error)]",children:Y}),!x&&!Y&&j&&0===F.length&&(0,r.jsx)("div",{className:"py-8 text-center text-sm text-[var(--es-muted)]",children:"暂无相关结果"}),!x&&F.length>0&&(0,r.jsxs)("div",{className:"mt-5",children:[(0,r.jsx)(h.zY,{items:F,getItemHref:e=>`/chat/${e.id}`,openInNewTab:q,onAuthorClick:t=>{t&&"anonymous"!==t&&e.push(`/author/${t}`)},showAuthor:!0,showViewCount:!0,columns:2,layout:"overlay",visualVariant:"search",className:"explore-search-result-grid gap-5"}),E&&(0,r.jsx)("div",{className:"py-6 text-center text-sm text-[var(--es-muted)]",children:"加载更多中..."}),k&&(0,r.jsx)("div",{ref:B,className:"h-8 w-full"})]})]})})}},53731:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))})},60299:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))})},66429:(e,t,a)=>{"use strict";a.d(t,{N:()=>c});var r=a(14232),l=a(89099),s=a(74195),n=a(75376);let i=r.useLayoutEffect,o=["/chat/"];function c(e){let{storageId:t,enabled:a,getListState:c,onRestore:d,saveOnDestinationPrefixes:u=o,canSaveSnapshot:m,maxAgeMs:h=s.yk,getScrollPosition:p=n.FM,restoreScrollPosition:f=s.rG,isValidListState:y}=e,g=(0,l.useRouter)(),v=(0,r.useRef)(!1),w=(0,r.useRef)(null),N=(0,r.useRef)(c),b=(0,r.useRef)(d),x=(0,r.useRef)(m),_=(0,r.useRef)(p),E=(0,r.useRef)(f),R=(0,r.useRef)(y);return N.current=c,b.current=d,x.current=m,_.current=p,E.current=f,R.current=y,(0,r.useEffect)(()=>
1{if(!a)return;let e=e=>{let a=e.split("?")[0]??e;!u.some(e=>a.startsWith(e))||(!x.current||x.current())&&(0,s.rH)(t,{asPath:(0,s.ey)(g.asPath),scrollY:_.current(),historyKey:(0,s.DB)(),listState:N.current()})};return g.events.on("routeChangeStart",e),()=>{g.events.off("routeChangeStart",e)}},[a,g,u,t]),i(()=>{if(!a||!g.isReady)return;let e=`${t}:${(0,s.ey)(g.asPath)}`;if(w.current!==e&&(w.current=e,v.current=!1),v.current)return;let r=(0,s.Kv)(t,g.asPath,{maxAgeMs:h,historyKey:(0,s.DB)(),isValidListState:R.current,allowForcedRestore:!0});return r?(v.current=!0,r.restoreListState&&null!==r.listState&&b.current(r.listState,r.scrollY),(0,s.jM)(t),(0,s._5)(),E.current(r.scrollY)):void(0,s._5)()},[a,h,g.asPath,g.isReady,t]),{clearSnapshot:()=>{(0,s.jM)(t),v.current=!1,w.current=null},wasRestoredFromSession:()=>v.current}}},71585:(e,t,a)=>{"use strict";a.d(t,{H:()=>s});var r=a(14232),l=a(72712);function s(){let e=(0,l.y)()||"var(--top-safe-area-inset, env(safe-area-inset-top, 0px))";return(0,r.useMemo)(()=>({inset:e,add:t=>`calc(${e} + ${t})`,viewportMinus:t=>`calc(100vh - ${e} - ${t})`}),[e])}},72712:(e,t,a)=>{"use strict";a.d(t,{y:()=>s});var r=a(14232);let l="env(safe-area-inset-top, 0px)";function s(){let[e,t]=(0,r.useState)(l);return(0,r.useEffect)(()=>{if("u"<typeof document)return;let e=window.requestAnimationFrame(()=>{let e,a,r,s,n,i,o,c,d=((e=document.createElement("div")).style.cssText=`position:fixed;top:0;visibility:hidden;padding-top:${l};`,document.body.appendChild(e),a=Number.parseFloat(window.getComputedStyle(e).paddingTop)||0,e.remove(),a),u=(r=navigator.userAgent||"",s=window,(/wv|WebView|ReactNative|Expo|Telegram/i.test(r)||!0===s.__YEYU_APP__||"android"===s.__YEYU_PLATFORM__||"ios"===s.__YEYU_PLATFORM__)&&(/iPhone|iPad|iPod|Android/i.test(r)||"android"===s.__YEYU_PLATFORM__||"ios"===s.__YEYU_PLATFORM__)?/iPhone|iPad|iPod/i.test(r)||"ios"===s.__YEYU_PLATFORM__?"44px":"24px":null),m=(n=navigator.userAgent||"",i=window,o=/iPhone|iPad|iPod/i.test(n)||"ios"===i.__YEYU_PLATFORM__,c=(/wv|WebView|ReactNative|Expo|Telegram|MicroMessenger/i.test(n)||!0===i.__YEYU_APP__||"ios"===i.__YEYU_PLATFORM__||"android"===i.__YEYU_PLATFORM__)&&(/iPhone|iPad|iPod|Android/i.test(n)||"ios"===i.__YEYU_PLATFORM__||"android"===i.__YEYU_PLATFORM__),o&&c?"88px":"0px"),h=u&&d<16?u:l;t(h),document.documentElement.style.setProperty("--top-safe-area-inset",h),document.documentElement.style.setProperty("--miniapp-top-right-safe-inset",m)});return()=>window.cancelAnimationFrame(e)},[]),e}},75376:(e,t,a)=>{"use strict";a.d(t,{FM:()=>s,ak:()=>i,tU:()=>n});let r=new Set,l=null;function s(){return l?l.scrollY:window.scrollY||window.pageYOffset||0}function n(){let e=Symbol("body-scroll-lock");if("u"<typeof document)return{token:e,scrollY:0};if(!l){let e=document.body,t=document.documentElement,a=window.scrollY||window.pageYOffset||0;l={scrollY:a,bodyPosition:e.style.position,bodyTop:e.style.top,bodyLeft:e.style.left,bodyRight:e.style.right,bodyWidth:e.style.width,bodyOverflow:e.style.overflow,htmlOverscrollBehaviorY:t.style.overscrollBehaviorY},e.style.position="fixed",e.style.top=`-${a}px`,e.style.left="0",e.style.right="0",e.style.width="100%",e.style.overflow="hidden",t.style.overscrollBehaviorY="none"}return r.add(e),{token:e,scrollY:l.scrollY}}function i(e){let{token:t}=e;if(!r.has(t)||(r.delete(t),r.size>0||!l))return;let a=l;l=null;let s=document.body,n=document.documentElement;s.style.position=a.bodyPosition,s.style.top=a.bodyTop,s.style.left=a.bodyLeft,s.style.right=a.bodyRight,s.style.width=a.bodyWidth,s.style.overflow=a.bodyOverflow,n.style.overscrollBehaviorY=a.htmlOverscrollBehaviorY,window.scrollTo(0,a.scrollY)}},81336:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/explore/search",function(){return a(52617)}])},81560:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{d:"M11.25 4.533A9.707 9.707 0 0 0 6 3a9.735 9.735 0 0 0-3.25.555.75.75 0 0 0-.5.707v14.25a.75.75 0 0 0 1 .707A8.237 8.237 0 0 1 6 18.75c1.995 0 3.823.707 5.25 1.886V4.533ZM12.75 20.636A8.214 8.214 0 0 1 18 18.75c.966 0 1.89.166 2.75.47a.75.75 0 0 0 1-.708V4.262a.75.75 0 0 0-.5-.707A9.735 9.735 0 0 0 18 3a9.707 9.707 0 0 0-5.25 1.533v16.103Z"}))})},86948:(e,t,a)=>{"use strict";a.d(t,{Se:()=>c,Ve:()=>u,YG:()=>i,c:()=>o,m7:()=>d,wL:()=>n});var r=a(67914),l=a(71673),s=a(29685);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.I)({queryKey:l.lH.referenceData.categories(),queryFn:s.HT,enabled:e.enabled??!0,staleTime:1/0,gcTime:1/0,refetchOnMount:!1,refetchOnReconnect:!1,refetchOnWindowFocus:!1})}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.I)({queryKey:l.lH.referenceData.activeContest(),queryFn:s.RI,enabled:e.enabled??!0,staleTime:3e5,gcTime:18e5,refetchOnMount:!1,refetchOnWindowFocus:!1})}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.I)({queryKey:l.lH.referenceData.upcomingContest(),queryFn:s.xE,enabled:e.enabled??!0,staleTime:3e5,gcTime:18e5,refetchOnMount:!1,refetchOnWindowFocus:!1})}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.I)({queryKey:l.lH.referenceData.contestTracks(),queryFn:s.l$,enabled:e.enabled??!0,staleTime:3e5,gcTime:18e5,refetchOnMount:!1,refetchOnWindowFocus:!1})}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit??30;return(0,r.I)({queryKey:l.lH.referenceData.honorContestIds(t),queryFn:()=>(0,s.fF)(t),enabled:e.enabled??!0,staleTime:3e5,gcTime:18e5,refetchOnMount:!1,refetchOnWindowFocus:!1})}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit??80;return(0,r.I)({queryKey:l.lH.referenceData.archiveContestList(t),queryFn:()=>(0,s.kS)(t),enabled:e.enabled??!0,staleTime:108e5,gcTime:216e5,refetchOnMount:!1,refetchOnWindowFocus:!1})}},90662:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"}))})},93745:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{fillRule:"evenodd",d:"M12.963 2.286a.75.75 0 0 0-1.071-.136 9.742 9.742 0 0 0-3.539 6.176 7.547 7.547 0 0 1-1.705-1.715.75.75 0 0 0-1.152-.082A9 9 0 1 0 15.68 4.534a7.46 7.46 0 0 1-2.717-2.248ZM15.75 14.25a3.75 3.75 0 1 1-7.313-1.172c.628.465 1.35.81 2.133 1a5.99 5.99 0 0 1 1.925-3.546 3.75 3.75 0 0 1 3.255 3.718Z",clipRule:"evenodd"}))})},95224:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(14232);let l=r.forwardRef(function(e,t){let{title:a,titleId:l,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},s),a?r.createElement("title",{id:l},a):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))})}},e=>{e.O(0,[8230,2749,2120,4081,8618,4323,636,6593,8792],()=>e(e.s=81336)),_N_E=e.O()}]);

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.