PageSourceSearch

https://www.ottohub.cn/assets/HistoryView-Cu-9vX_U.js

js ottohub.cn collected 2026-10-06 13:14:40 UTC 18,358 bytes, 1 lines download raw bytes

1import{C as e,D as t,E as n,F as r,H as i,J as a,K as o,M as s,N as c,O as l,S as u,T as d,U as f,W as p,Z as m,c as h,ct as g,et as _,it as v,k as y,n as b,st as x,tt as S,ut as C,y as w,z as T}from"./vendor-vue-Bu-KQjoC.js";import{l as E,o as D,s as O}from"./apiResponse-C8fEm_-L.js";import{ot as k,s as A,st as j}from"./index-BE2-dWra.js";import{o as M,s as N}from"./blogMeta-BvgcPzkT.js";import{t as P}from"./VideoCard-D1Kl4hUn.js";import{t as F}from"./BlogCachedImage-DqWEj00t.js";import{t as I}from"./GoreBadge-BvRTN-pY.js";import{a as L}from"./videoApi--uK-Udm0.js";var R=[`href`],z={class:`nico-panel overflow-hidden transition-shadow hover:shadow-md`},B={class:`p-3 md:p-4`},V={class:`flex items-start gap-3`},H=[`src`],U={key:1,class:`flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-border bg-elevated text-muted`},W={class:`min-w-0 flex-1`},G={class:`flex items-start justify-between gap-2`},K={class:`min-w-0 truncate font-semibold text-primary group-hover:text-accent`},q={class:`flex shrink-0 items-center gap-1`},J=[`disabled`,`aria-label`],Y={key:1,class:`whitespace-nowrap text-[11px] text-muted`},X={key:0,class:`mt-0.5 truncate text-[11px] text-muted`},Z={class:`mt-1 line-clamp-2 text-[13px] leading-relaxed text-secondary`},ee={key:1,class:`mt-2`},te={key:2,class:`mt-2 flex flex-wrap gap-1.5`},ne={class:`mt-2 flex flex-wrap items-center gap-3 text-[11px] text-muted`},re={class:`inline-flex items-center gap-1`},ie={class:`inline-flex items-center gap-1`},ae={class:`inline-flex items-center gap-1`},oe=r({__name:`HistoryBlogRow`,props:{post:{},deletable:{type:Boolean,default:!1},deleteDisabled:{type:Boolean,default:!1}},emits:[`delete`],setup(t,{emit:r}){let i=t,f=r,{t:m}=b(),g=h(),_=d(()=>`/b/${i.post.bid}`),v=d(()=>N(i.post.content??``)||m(`blog.noContent`)),S=d(()=>M(i.post.is_gore)===1),w=d(()=>i.post.thumbnails??[]);function T(e){A(e,g,_.value)}return(r,i)=>{let d=a(`MaterialIcon`);return p(),y(`a`,{href:_.value,class:`group block no-underline`,onClick:T},[n(`article`,z,[n(`div`,B,[n(`div`,V,[t.post.avatar_url?(p(),y(`img`,{key:0,src:t.post.avatar_url,alt:``,class:`h-10 w-10 shrink-0 rounded-full border border-border object-cover`},null,8,H)):(p(),y(`div`,U,[c(d,{name:`person`,size:20})])),n(`div`,W,[n(`div`,G,[n(`h3`,K,C(t.post.title||x(m)(`blog.untitled`,{bid:t.post.bid})),1),n(`div`,q,[t.deletable?(p(),y(`button`,{key:0,type:`button`,class:`nico-icon-btn !h-7 !w-7 text-muted hover:text-danger`,disabled:t.deleteDisabled,"aria-label":x(m)(`history.deleteItem`),onClick:i[0]||(i[0]=u(e=>f(`delete`),[`prevent`,`stop`]))},[c(d,{name:`close`,size:16})],8,J)):l(``,!0),t.post.last_opened_at?(p(),y(`span`,Y,C(t.post.last_opened_at),1)):l(``,!0)])]),t.post.username?(p(),y(`p`,X,C(t.post.username),1)):l(``,!0),n(`p`,Z,C(v.value),1),S.value?(p(),y(`div`,ee,[c(I)])):l(``,!0),w.value.length>0?(p(),y(`div`,te,[(p(!0),y(e,null,o(w.value.slice(0,4),(e,t)=>(p(),y(`div`,{key:`${e}-${t}`,class:`h-16 w-24 shrink-0 overflow-hidden rounded-[var(--radius-default)] md:h-20 md:w-28`},[c(F,{src:e,class:`h-full w-full object-cover`},null,8,[`src`])]))),128))])):l(``,!0),n(`div`,ne,[n(`span`,re,[c(d,{name:`visibility`,size:14}),s(` `+C(t.post.view_count??0),1)]),n(`span`,ie,[c(d,{name:`favorite`,size:14}),s(` `+C(t.post.like_count??0),1)]),n(`span`,ae,[c(d,{name:`chat_bubble_outline`,size:14}),s(` `+C(t.post.comment_count??0),1)])])])])])])],8,R)}}});function Q(e,t){let n=t.searchTerm.trim();n&&(e.search_term=n),t.dateStart&&(e.time_start=t.dateStart),t.dateEnd&&(e.time_end=t.dateEnd)}function se(e){if(!e||typeof e!=`object`)return[];let t=e;if(t.status===`error`)return[];let n=t.data,r=n&&typeof n==`object`?n.blog_list:t.blog_list;return Array.isArray(r)?r.map(e=>({...e,bid:String(e.bid),uid:String(e.uid),title:String(e.title??``)})):[]}async function ce(e,t,n,r=30){let i={token:e,offset:t,num:r};Q(i,n);let a=await fetch(E(`/api/video/history-list`,i),{cache:`no-store`}),o=await D(a);if(o&&typeof o==`object`&&o.status===`error`)throw Error(String(o.message||`fetch_failed`));return L(o)}async function le(e,t,n,r=24){let i={token:e,offset:t,num:r};Q(i,n);let a=await fetch(E(`/api/blog/history-list`,i),{cache:`no-store`}),o=await D(a);if(o&&typeof o==`object`&&o.status===`error`)throw Error(String(o.message||`fetch_failed`));return se(o)}function ue(e){if(!e||typeof e!=`object`)return 0;let t=e,n=t.data,r=n&&typeof n==`object`?n.deleted_count:t.deleted_count,i=Number(r);return Number.isFinite(i)&&i>=0?i:0}async function $(e,t,n,r){let i=await fetch(E(e),{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({token:t,...n}),cache:`no-store`}),a=await D(i),o=O(i,a,{fallback:r});if(o)throw Error(o);return ue(a)}async function de(e,t){let n=(Array.isArray(t)?t:[t]).filter(e=>Number.isFinite(e)&&e>0);return n.length===0?0:$(`/api/video/history-delete`,e,{vids:n.length===1?n[0]:n},`删除视频历史失败`)}async function fe(e){return $(`/api/video/history-delete`,e,{clear_all:!0},`清空视频历史失败`)}async function pe(e,t){let n=(Array.isArray(t)?t:[t]).filter(e=>Number.isFinite(e)&&e>0);return n.length===0?0:$(`/api/blog/history-delete`,e,{bids:n.length===1?n[0]:n},`删除动态历史失败`)}async function me(e){return $(`/api/blog/history-delete`,e,{clear_all:!0},`清空动态历史失败`)}function he(e){if(e==null||e===``)return null;let t=Number(e);if(!Number.isNaN(t)&&String(e).trim()!==``){let e=t<0xe8d4a51000?t*1e3:t,n=new Date(e);if(!Number.isNaN(n.getTime()))return n}let n=String(e).replace(/-/g,`/`),r=new Date(n);return Number.isNaN(r.getTime())?null:r}function ge(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function _e(e){return`${e.getFullYear()}
1-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function ve(e){let t=new Date,n=new Date;return e===`7d`&&n.setDate(n.getDate()-6),e===`30d`&&n.setDate(n.getDate()-29),{start:_e(n),end:_e(t)}}function ye(e,t=new Date,n){let r=ge(t),i=new Date(r);i.setDate(i.getDate()-1);let a=new Date(r);a.setDate(a.getDate()-6);let o=new Date(t.getFullYear(),t.getMonth(),1);return e>=r?n?.today??`今天`:e>=i?n?.yesterday??`昨天`:e>=a?n?.thisWeek??`本周`:e>=o?n?.thisMonth??`本月`:n?.yearMonth(e.getFullYear(),e.getMonth()+1)??`${e.getFullYear()}年${e.getMonth()+1}月`}function be(e,t){let n=[],r=new Date;for(let i of e){let e=he(i.last_opened_at)||he(i.time)||r,a=t?t(e,r):ye(e,r),o=n[n.length-1];o&&o.label===a?o.items.push(i):n.push({label:a,items:[i]})}return n}var xe=[{key:`all`,labelKey:`history.presetAll`},{key:`today`,labelKey:`history.presetToday`},{key:`7d`,labelKey:`history.preset7d`},{key:`30d`,labelKey:`history.preset30d`}];function Se(){let{t:e}=b(),t=j(),n=k(),r=v(`video`),a=v([]),o=v([]),s=v(0),c=v(!0),l=v(!1),u=v(!1),p=v(null),h=v(!1),g=v(!1),_=v(``),y=v(``),x=v(`all`),S=v(``),C=v(``),w=v(null),T=!1,E=null,D=d(()=>({searchTerm:y.value,dateStart:S.value,dateEnd:C.value})),O=d(()=>`${y.value.trim()}\0${S.value}\0${C.value}`),A=d(()=>!!(y.value.trim()||S.value||C.value));function M(t,n){let r=new Date(n.getFullYear(),n.getMonth(),n.getDate()),i=new Date(r);i.setDate(i.getDate()-1);let a=new Date(r);a.setDate(a.getDate()-6);let o=new Date(n.getFullYear(),n.getMonth(),1);return t>=r?e(`history.sectionToday`):t>=i?e(`history.sectionYesterday`):t>=a?e(`history.sectionThisWeek`):t>=o?e(`history.sectionThisMonth`):e(`history.sectionYearMonth`,{year:t.getFullYear(),month:t.getMonth()+1})}let N=d(()=>be(a.value,(e,t)=>M(e,t))),P=d(()=>be(o.value,(e,t)=>M(e,t))),F=d(()=>!l.value&&(r.value===`video`&&a.value.length===0||r.value===`blog`&&o.value.length===0));async function I(n){let i=t.activeAccount?.token;if(!(!i||T)){T=!0,n?u.value=!0:l.value=!0,p.value=null;try{let e=n?s.value:0,t=r.value===`video`?await ce(i,e,D.value):await le(i,e,D.value);r.value===`video`?a.value=n?[...a.value,...t]:t:o.value=n?[...o.value,...t]:t,s.value=e+t.length,c.value=t.length>0}catch{p.value=e(`history.fetchFailed`),n||(r.value===`video`?a.value=[]:o.value=[])}finally{l.value=!1,u.value=!1,T=!1}}}function L(){u.value||!c.value||l.value||I(!0)}function R(){s.value=0,c.value=!0,r.value===`video`?a.value=[]:o.value=[],I(!1)}function z(e){r.value!==e&&(r.value=e)}function B(e){if(x.value=e,e===`all`){S.value=``,C.value=``;return}let t=ve(e);S.value=t.start,C.value=t.end}function V(e){S.value=e,x.value=e||C.value?`custom`:`all`}function H(e){C.value=e,x.value=S.value||e?`custom`:`all`}function U(){_.value=``,y.value=``,x.value=`all`,S.value=``,C.value=``}function W(){_.value=``,y.value=``}function G(){y.value=_.value.trim()}function K(){t.openAuth(`login`)}async function q(r){let i=t.activeAccount?.token,o=Number(r);if(!(!i||!Number.isFinite(o)||o<=0||h.value)){h.value=!0;try{await de(i,o),a.value=a.value.filter(e=>String(e.vid)!==String(r)),s.value=Math.max(0,s.value-1),n.success(e(`history.deleteSuccess`))}catch{n.error(e(`history.deleteFailed`))}finally{h.value=!1}}}async function J(r){let i=t.activeAccount?.token,a=Number(r);if(!(!i||!Number.isFinite(a)||a<=0||h.value)){h.value=!0;try{await pe(i,a),o.value=o.value.filter(e=>String(e.bid)!==String(r)),s.value=Math.max(0,s.value-1),n.success(e(`history.deleteSuccess`))}catch{n.error(e(`history.deleteFailed`))}finally{h.value=!1}}}async function Y(){let i=t.activeAccount?.token;if(!i||g.value)return;let l=r.value===`video`?e(`history.clearAllVideoConfirm`):e(`history.clearAllBlogConfirm`);if(window.confirm(l)){g.value=!0;try{r.value===`video`?(await fe(i),a.value=[]):(await me(i),o.value=[]),s.value=0,c.value=!1,n.success(e(`history.clearAllSuccess`))}catch{n.error(e(`history.deleteFailed`))}finally{g.value=!1}}}m(_,e=>{E&&clearTimeout(E),E=setTimeout(()=>{let t=e.trim();y.value!==t&&(y.value=t)},400)}),m(()=>[t.isReady,t.isAuthenticated,r.value,O.value],([e,t])=>{!e||!t||R()},{immediate:!0}),m(()=>t.isReady,e=>{e&&!t.isAuthenticated&&t.openAuth(`login`)},{immediate:!0});let X=null;function Z(){X?.disconnect();let e=w.value;!e||!c.value||(X=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&L()},{threshold:.1,rootMargin:`100px 0px`}),X.observe(e))}return m([w,c,r,()=>a.value.length,()=>o.value.length],()=>{Z()}),i(()=>{Z()}),f(()=>{X?.disconnect(),E&&clearTimeout(E)}),{tab:r,videos:a,blogs:o,loading:l,loadingMore:u,hasMore:c,error:p,deleting:h,clearing:g,searchInput:_,datePreset:x,dateStart:S,dateEnd:C,hasActiveFilters:A,appliedSearch:y,videoSections:N,blogSections:P,isEmpty:F,loadMoreRef:w,selectTab:z,applyDatePreset:B,onDateStartChange:V,onDateEndChange:H,clearFilters:U,clearSearch:W,submitSearch:G,openLogin:K,removeVideo:q,removeBlog:J,clearCurrentTabHistory:Y}}var Ce={class:`space-y-4`},we={key:0,class:`space-y-3`},Te={class:`grid grid-cols-2 gap-3 md:grid-cols-3 lg:grid-cols-4`},Ee={key:1,class:`nico-panel flex flex-col items-center px-6 py-16 text-center`},De={class:`mt-4 text-base font-bold text-primary`},Oe={class:`mt-2 text-[13px] text-muted`},ke={class:`flex flex-wrap items-center justify-between gap-2 border-b border-border pb-2`},Ae={class:`flex items-center gap-2 text-base font-bold text-primary`},je=[`disabled`],Me={class:`nico-sticky-subbar -mx-3 space-y-3 px-3 py-3 md:-mx-4 md:px-4`},Ne=[`placeholder`],Pe=[`aria-label`],Fe={class:`flex flex-wrap gap-1.5 border-b border-border pb-2`},Ie={class:`flex flex-col gap-2.5 sm:flex-row sm:items-center sm:gap-3`},Le={class:`flex flex-wrap gap-1.5`},Re=[`onClick`],ze={class:`flex min-w-0 flex-wrap items-center gap-1.5 text-[12px] text-muted`},Be={class:`shrink-0`},Ve=[`value`,`max`],He={class:`shrink-0`},Ue=[`value`,`min`],We={key:0,class:`text-[11px] text-muted`},Ge={key:0,class:`border border-danger/30 bg-danger/10 px-3 py-2 text-[13px] text-danger`},Ke={key:1,class:`grid grid-cols-2 gap-3 md:grid-cols-3 lg:grid-cols-4`},qe={key:2,class:`py-16 text-center`},Je={class:`text-[13px] text-muted`},Ye={class:`mb-3 text-[13px] font-bold text-primary`},Xe={class:`grid grid-cols-2 gap-3 md:grid-cols-3 lg:grid-cols-4`},Ze=[`disabled`,`aria-label`,`onClick`],Qe={class:`mb-3 text-[13px] font-bold text-primary`},$e={class:`space-y-2 md:space-y-3`},et={key:6,class:`py-4 text-center text-[13px] text-muted`},tt=r({__name:`HistoryView`,setup(r){let{t:i}=b(),d=j(),{tab:f,loading:m,loadingMore:h,hasMore:v,error:E,searchInput:D,datePreset:O,dateStart:k,dateEnd:A,hasActiveFilters:M,appliedSearch:N,videoSections:F,blogSections:I,isEmpty:L,loadMoreRef:R,selectTab:z,applyDatePreset:B,onDateStartChange:V,onDateEndChange:H,clearFilters:U,clearSearch:W,submitSearch:G,openLogin:K,removeVideo:q,removeBlog:J,clearCurrentTabHistory:Y,deleting:X,clearing:Z}=Se();return(r,b)=>{let j=a(`MaterialIcon`);return p(),y(`div`,Ce,[x(d).isReady?x(d).isAuthenticated?(p(),y(e,{key:2},[n(`div`,ke,[n(`h1`,Ae,[c(j,{name:`history`,size:20,class:`text-muted`}),s(` `+C(x(i)(`history.title`)),1)]),!x(L)&&!x(m)?(p(),y(`button`,{key:0,t
1ype:`button`,class:`nico-btn nico-btn-sm border border-border px-2.5 text-[12px] text-muted hover:text-danger`,disabled:x(Z)||x(X),onClick:b[1]||(b[1]=e=>x(Y)())},C(x(f)===`video`?x(i)(`history.clearAllVideo`):x(i)(`history.clearAllBlog`)),9,je)):l(``,!0)]),n(`div`,Me,[n(`form`,{class:`relative`,onSubmit:b[4]||(b[4]=u((...e)=>x(G)&&x(G)(...e),[`prevent`]))},[c(j,{name:`search`,size:18,class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-muted`}),_(n(`input`,{"onUpdate:modelValue":b[2]||(b[2]=e=>S(D)?D.value=e:null),type:`search`,class:`nico-search pl-9 pr-9 text-[13px]`,placeholder:x(f)===`video`?x(i)(`history.searchVideo`):x(i)(`history.searchBlog`)},null,8,Ne),[[w,x(D)]]),x(D)?(p(),y(`button`,{key:0,type:`button`,class:`absolute right-2 top-1/2 flex h-6 w-6 -translate-y-1/2 items-center justify-center rounded-[var(--radius-default)] text-muted hover:bg-elevated hover:text-primary`,"aria-label":x(i)(`history.clearSearch`),onClick:b[3]||(b[3]=(...e)=>x(W)&&x(W)(...e))},[c(j,{name:`close`,size:16})],8,Pe)):l(``,!0)],32),n(`div`,Fe,[n(`button`,{type:`button`,class:g([`nico-btn nico-btn-sm px-3 text-[13px]`,x(f)===`video`?`nico-btn-primary`:`border border-border bg-base text-primary`]),onClick:b[5]||(b[5]=e=>x(z)(`video`))},C(x(i)(`history.tabVideo`)),3),n(`button`,{type:`button`,class:g([`nico-btn nico-btn-sm px-3 text-[13px]`,x(f)===`blog`?`nico-btn-primary`:`border border-border bg-base text-primary`]),onClick:b[6]||(b[6]=e=>x(z)(`blog`))},C(x(i)(`history.tabBlog`)),3)]),n(`div`,Ie,[n(`div`,Le,[(p(!0),y(e,null,o(x(xe),e=>(p(),y(`button`,{key:e.key,type:`button`,class:g([`nico-btn nico-btn-sm px-2.5 text-[12px]`,x(O)===e.key?`nico-btn-primary`:`border border-border bg-base text-primary`]),onClick:t=>x(B)(e.key)},C(x(i)(e.labelKey)),11,Re))),128))]),n(`div`,ze,[n(`span`,Be,C(x(i)(`history.openedAt`)),1),n(`input`,{type:`date`,value:x(k),max:x(A)||void 0,class:`nico-input min-w-0 flex-1 px-2 py-1.5 text-[12px] sm:w-36 sm:flex-none`,onInput:b[7]||(b[7]=e=>x(V)(e.target.value))},null,40,Ve),n(`span`,He,C(x(i)(`history.dateTo`)),1),n(`input`,{type:`date`,value:x(A),min:x(k)||void 0,class:`nico-input min-w-0 flex-1 px-2 py-1.5 text-[12px] sm:w-36 sm:flex-none`,onInput:b[8]||(b[8]=e=>x(H)(e.target.value))},null,40,Ue),x(M)?(p(),y(`button`,{key:0,type:`button`,class:`nico-btn nico-btn-sm border border-border bg-base px-2.5 text-[12px] text-muted`,onClick:b[9]||(b[9]=(...e)=>x(U)&&x(U)(...e))},C(x(i)(`history.resetFilters`)),1)):l(``,!0)])]),x(M)?(p(),y(`p`,We,[s(C(x(i)(`history.filterHint`))+` `,1),x(N).trim()?(p(),y(e,{key:0},[s(C(x(i)(`history.filterSearch`,{term:x(N).trim()})),1)],64)):l(``,!0),x(k)||x(A)?(p(),y(e,{key:1},[s(C(x(i)(`history.filterDate`,{start:x(k)||x(i)(`history.dateAny`),end:x(A)||x(i)(`history.dateAny`)})),1)],64)):l(``,!0)])):l(``,!0)]),x(E)?(p(),y(`p`,Ge,C(x(E)),1)):l(``,!0),x(m)&&x(L)?(p(),y(`div`,Ke,[(p(),y(e,null,o(8,e=>n(`div`,{key:e,class:`nico-panel overflow-hidden`},[...b[13]||(b[13]=[n(`div`,{class:`aspect-video animate-pulse bg-elevated`},null,-1),n(`div`,{class:`space-y-2 p-2`},[n(`div`,{class:`h-3 animate-pulse rounded bg-elevated`})],-1)])])),64))])):x(L)?(p(),y(`div`,qe,[n(`p`,Je,C(x(M)?x(i)(`history.emptyFiltered`):x(f)===`video`?x(i)(`history.emptyVideos`):x(i)(`history.emptyBlogs`)),1),x(M)?(p(),y(`button`,{key:0,type:`button`,class:`mt-2 text-[13px] text-accent`,onClick:b[10]||(b[10]=(...e)=>x(U)&&x(U)(...e))},C(x(i)(`history.clearFilters`)),1)):l(``,!0)])):x(f)===`video`?(p(!0),y(e,{key:3}
1,o(x(F),t=>(p(),y(`section`,{key:t.label,class:`mb-6`},[n(`h2`,Ye,C(t.label),1),n(`div`,Xe,[(p(!0),y(e,null,o(t.items,e=>(p(),y(`div`,{key:`v-${e.vid}-${e.last_opened_at||``}`,class:`relative`},[c(P,T({ref_for:!0},e,{time:e.time??``,like_count:e.like_count??0,favorite_count:e.favorite_count??0,view_count:e.view_count??0,duration:e.duration??0}),null,16,[`time`,`like_count`,`favorite_count`,`view_count`,`duration`]),n(`button`,{type:`button`,class:`absolute right-1.5 top-1.5 z-10 flex h-7 w-7 items-center justify-center rounded-full border border-border bg-black/55 text-white backdrop-blur-sm hover:bg-danger/90`,disabled:x(X)||x(Z),"aria-label":x(i)(`history.deleteItem`),onClick:u(t=>x(q)(String(e.vid)),[`stop`])},[c(j,{name:`close`,size:16})],8,Ze)]))),128))])]))),128)):(p(!0),y(e,{key:4},o(x(I),r=>(p(),y(`section`,{key:r.label,class:`mb-6`},[n(`h2`,Qe,C(r.label),1),n(`div`,$e,[(p(!0),y(e,null,o(r.items,e=>(p(),t(oe,{key:`b-${e.bid}-${e.last_opened_at||``}`,post:e,deletable:``,"delete-disabled":x(X)||x(Z),onDelete:t=>x(J)(String(e.bid))},null,8,[`post`,`delete-disabled`,`onDelete`]))),128))])]))),128)),x(v)?(p(),y(`div`,{key:5,ref_key:`loadMoreRef`,ref:R,class:`py-4 text-center text-[13px] text-muted`},C(x(h)?x(i)(`history.loadingMore`):x(i)(`history.loadMore`)),513)):!x(L)&&!x(m)?(p(),y(`p`,et,C(x(i)(`history.noMore`)),1)):l(``,!0)],64)):(p(),y(`div`,Ee,[c(j,{name:`history`,size:40,class:`text-muted`}),n(`h1`,De,C(x(i)(`history.title`)),1),n(`p`,Oe,C(x(i)(`history.loginHint`)),1),n(`button`,{type:`button`,class:`nico-btn nico-btn-primary mt-4 px-4 text-[13px]`,onClick:b[0]||(b[0]=(...e)=>x(K)&&x(K)(...e))},C(x(i)(`history.goLogin`)),1)])):(p(),y(`div`,we,[b[11]||(b[11]=n(`div`,{class:`h-8 w-40 animate-pulse rounded bg-elevated`},null,-1)),b[12]||(b[12]=n(`div`,{class:`h-10 animate-pulse rounded bg-elevated`},null,-1)),n(`div`,Te,[(p(),y(e,null,o(8,e=>n(`div`,{key:e,class:`nico-panel aspect-video animate-pulse bg-elevated`})),64))])]))])}}});export{tt as default};

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.