PageSourceSearch

https://www.y2-reader.com/_next/static/chunks/4643-f1502311fa206cae.js

js y2-reader.com collected 2026-10-02 01:51:43 UTC 19,383 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4643],{8697:(e,t,r)=>{r.d(t,{C1:()=>P,bL:()=>L});var a=r(12115),n=r.t(a,2),o=r(95155);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}r(47650);var u=Symbol.for("react.lazy"),s=n[" use ".trim().toString()];function l(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=Symbol("radix.slottable");function c(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var g=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,n;let u,d,g,p=(n=r=`Primitive.${t}`,(u=a.forwardRef((e,t)=>{let{children:r,...n}=e;if(l(r)&&"function"==typeof s&&(r=s(r._payload)),a.isValidElement(r)){var o;let e,u,s=(o=r,(u=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(u=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let r={...t};for(let a in t){let n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==a.Fragment&&(l.ref=t?function(...e){return t=>{let r=!1,a=e.map(e=>{let a=i(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():i(e[t],null)}}}}(t,s):s),a.cloneElement(r,l)}return a.Children.count(r)>1?a.Children.only(null):null})).displayName=`${n}.SlotClone`,d=u,(g=a.forwardRef((e,t)=>{let{children:r,...n}=e;l(r)&&"function"==typeof s&&(r=s(r._payload));let i=a.Children.toArray(r),u=i.find(c);if(u){let e=u.props.children,r=i.map(t=>t!==u?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,o.jsx)(d,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,o.jsx)(d,{...n,ref:t,children:r})})).displayName=`${r}.Slot`,g),h=a.forwardRef((e,r)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(a?p:t,{...n,ref:r})});return h.displayName=`Primitive.${t}`,{...e,[t]:h}},{}),p="Progress",[h,f]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>a.createContext(e));return function(r){let n=r?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let i=a.createContext(n);i.displayName=t+"Context";let u=r.length;r=[...r,n];let s=t=>{let{scope:r,children:n,...s}=t,l=r?.[e]?.[u]||i,d=a.useMemo(()=>s,Object.values(s));return(0,o.jsx)(l.Provider,{value:d,children:n})};return s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e]?.[u]||i,l=a.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:a})=>{let n=r(e)[`__scope${a}`];return{...t,...n}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(p),[m,v]=h(p),y=a.forwardRef((e,t)=>{var r,a;let{__scopeProgress:n,value:i=null,max:u,getValueLabel:s=b,...l}=e;(u||0===u)&&!S(u)&&console.error((r=`${u}`,`Invalid prop \`max\` of value \`${r}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let d=S(u)?u:100;null===i||k(i,d)||console.error((a=`${i}`,`Invalid prop \`value\` of value \`${a}\` supplied to \`Progress\`. The \`value\` prop must be:
2  - a positive number
3  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
4  - \`null\` or \`undefined\` if the progress is indeterminate.
5
6Defaulting to \`null\`.`));let c=k(i,d)?i:null,p=C(c)?s(c,d):void 0;return(0,o.jsx)(m,{scope:n,value:c,max:d,children:(0,o.jsx)(g.div,{"aria-valuemax":d,"aria-valuemin":0,"aria-valuenow":C(c)?c:void 0,"aria-valuetext":p,role:"progressbar","data-state":w(c,d),"data-value":c??void 0,"data-max":d,...l,ref:t})})});y.displayName=p;var x="ProgressIndicator",I=a.forwardRef((e,t)=>
6{let{__scopeProgress:r,...a}=e,n=v(x,r);return(0,o.jsx)(g.div,{"data-state":w(n.value,n.max),"data-value":n.value??void 0,"data-max":n.max,...a,ref:t})});function b(e,t){return`${Math.round(e/t*100)}%`}function w(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function C(e){return"number"==typeof e}function S(e){return C(e)&&!isNaN(e)&&e>0}function k(e,t){return C(e)&&!isNaN(e)&&e<=t&&e>=0}I.displayName=x;var L=y,P=I},9269:(e,t,r)=>{r.d(t,{F:()=>c});var a=r(54932),n=r(14873),o=r(80657),i=r(33662),u=r(26165),s=r(61006),l=r(69619);class d{async hydrateExplore(e){if("explore"!==e.feed.surface)return;let t=(0,s.w)({page:e.feed,tagId:e.route.tagId,languageCode:e.route.sourceLanguage});await Promise.all([o.$.adoptServerFirstPage({tagId:e.route.tagId,languageCode:e.route.sourceLanguage,limit:l.X,page:t}),this.seedCatalog(e,"explore")])}async hydrateLibrary(e){"library"===e.feed.surface&&await Promise.all([n.r.writeClientContentCacheEntry({key:(0,a.Hy)({tagId:e.route.tagId,languageCode:e.route.sourceLanguage,limit:l.X}).key,data:{success:!0,videos:e.feed.items,pagination:e.feed.pagination}}),this.seedCatalog(e,"library")])}canReuseInitialPage(e){let t=e.initialData?.route;return!!(t&&t.sourceLanguage===e.sourceLanguage&&t.themeGroupId===e.themeGroupId&&t.tagId===e.tagId)}syncSuccessfulContext(e){let t=new URLSearchParams(window.location.search),r=this.readCurrentContext(t);return u.qY.writeSuccessfulContext({surface:e.route.surface,currentRoute:r,initialRoute:e.route,cookiePort:i.j})}scheduleRevalidation(e){"function"==typeof queueMicrotask?queueMicrotask(e):setTimeout(e,0)}async seedCatalog(e,t){let r=(0,a.Bc)({languageCode:e.route.sourceLanguage,locale:e.route.uiLocale}),o="explore"===t?(0,a.O)({languageCode:e.route.sourceLanguage,themeGroupId:e.route.themeGroupId,locale:e.route.uiLocale}):(0,a.Et)({languageCode:e.route.sourceLanguage,themeGroupId:e.route.themeGroupId,locale:e.route.uiLocale}),i={success:!0,groups:e.catalog.themeGroups},u={success:!0,tags:e.catalog.tags};await Promise.all([n.r.writeClientContentCacheEntry({key:r.key,data:i}),n.r.writeClientContentCacheEntry({key:o.key,data:u})])}readCurrentContext(e){let t=e.get("sourceLanguage"),r=e.get("themeGroupId"),a=e.get("tagId");return t&&r&&a?{sourceLanguage:t,themeGroupId:r,tagId:a}:null}}let c=new d},11093:(e,t,r)=>{r.d(t,{m1:()=>n});let a="select-first-tag";function n(e=a){return e===a}},15526:(e,t,r)=>{r.d(t,{r:()=>o});var a=r(58832);class n{replaceSourceLanguage(e){let t=this.readParams(e.searchParams),r=this.normalizeSourceLanguage(e.sourceLanguage),a=t.get("themeGroupId")??void 0,n=t.get("tagId")??void 0,o=this.keepScopedValue(r,e.themeGroupId)??this.keepScopedValue(r,a),i=this.keepScopedValue(r,e.tagId)??this.keepScopedValue(r,n);this.navigate(e.router,this.buildHref({...e,searchParams:t,sourceLanguage:r,themeGroupId:o,tagId:o?i:void 0}))}replaceThemeGroup(e){let t=this.readParams(e.searchParams),r=this.normalizeSourceLanguage(e.sourceLanguage??t.get("sourceLanguage")??void 0),a=t.get("themeGroupId")??void 0,n=t.get("tagId")??void 0,o=this.keepScopedValue(r,e.themeGroupId);if(!o)return;let i=void 0!==e.tagId?this.keepScopedValue(r,e.tagId):a===o?this.keepScopedValue(r,n):void 0;this.navigate(e.router,this.buildHref({...e,searchParams:t,sourceLanguage:r,themeGroupId:o,tagId:i}))}replaceTag(e){let t=this.readParams(e.searchParams),r=this.normalizeSourceLanguage(e.sourceLanguage??t.get("sourceLanguage")??void 0),a=this.keepScopedValue(r,t.get("themeGroupId")??void 0),n=this.keepScopedValue(r,e.tagId);n&&this.navigate(e.router,this.buildHref({...e,searchParams:t,sourceLanguage:r,themeGroupId:a,tagId:n}))}replaceMissingContext(e){let t=this.readParams(e.searchParams),r=this.normalizeSourceLanguage(e.sourceLanguage??t.get("sourceLanguage")??void 0),a=this.keepScopedValue(r,e.themeGroupId??t.get("themeGroupId")??void 0),n=this.keepScopedValue(r,e.tagId??t.get("tagId")??void 0);this.navigate(e.router,this.buildHref({...e,searchParams:t,sourceLanguage:r,themeGroupId:a,tagId:a?n:void 0}))}buildHref(e){let t=this.readParams(e.searchParams);this.setOrDelete(t,"sourceLanguage",e.sourceLanguage),this.setOrDelete(t,"themeGroupId",e.themeGroupId),this.setOrDelete(t,"tagId",e.tagId);let r=t.toString();return`${e.pathname}${r?`?${r}`:""}`}buildPersistedContextHref(e){return this.buildHref({pathname:`/${e.surface}`,sourceLanguage:e.context.sourceLanguage,themeGroupId:e.context.themeGroupId,tagId:e.context.tagId})}
6isPublicResourcePath(e){return"/explore"===e||"/library"===e}navigate(e,t){e.replace(t,{scroll:!1})}readParams(e){return new URLSearchParams(e?.toString()??"")}normalizeSourceLanguage(e){return a.uU.isValidSourceLanguage(e)?e:a.fJ}keepScopedValue(e,t){return t&&a.uU.hasLanguageScope(e,t)?t:void 0}setOrDelete(e,t,r){r?e.set(t,r):e.delete(t)}}let o=new n},19976:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(8698).A)("BookOpenText",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]])},25466:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(8698).A)("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]])},26165:(e,t,r)=>{r.d(t,{qY:()=>l,xs:()=>o});var a=r(58832);let n={explore:"y2-public-explore-context",library:"y2-public-library-context"},o="y2-public-resource-context-changed",i=new Set(["version","surface","sourceLanguage","themeGroupId","tagId"]);class u{async readServerFallbackContext(e){let t=await e.cookiePort.read(this.getCookieName(e.surface));return"string"==typeof t?this.decodeContext(e.surface,t):null}readClientContext(e){let t=e.cookiePort.read(this.getCookieName(e.surface));return"string"==typeof t?this.decodeContext(e.surface,t):null}writeSuccessfulContext(e){if(e.initialRoute.surface!==e.surface||!e.currentRoute||!this.hasSameContext(e.currentRoute,e.initialRoute))return!1;let t=this.validateContext({surface:e.surface,context:{version:1,surface:e.surface,sourceLanguage:e.initialRoute.sourceLanguage,themeGroupId:e.initialRoute.themeGroupId,tagId:e.initialRoute.tagId}});if(!t)return!1;let r=this.encodeContext(t);if(!r)return!1;let a={path:"/",sameSite:"Lax",maxAge:31536e3,secure:"https:"===window.location.protocol};try{return e.cookiePort.write(this.getCookieName(e.surface),r,a),window.dispatchEvent(new Event(o)),!0}catch{return!1}}validateContext(e){var t;return!(!("object"==typeof(t=e.context)&&null!==t&&!Array.isArray(t))||Object.keys(e.context).some(e=>!i.has(e)))&&1===e.context.version&&e.context.surface===e.surface&&s(e.context.sourceLanguage)&&s(e.context.themeGroupId)&&s(e.context.tagId)&&a.uU.isValidSourceLanguage(e.context.sourceLanguage)&&a.uU.hasLanguageScope(e.context.sourceLanguage,e.context.themeGroupId)&&a.uU.hasLanguageScope(e.context.sourceLanguage,e.context.tagId)?{version:1,surface:e.surface,sourceLanguage:e.context.sourceLanguage,themeGroupId:e.context.themeGroupId,tagId:e.context.tagId}:null}getCookieName(e){return n[e]}encodeContext(e){try{let t=encodeURIComponent(JSON.stringify(e));return t.length<=2048?t:null}catch{return null}}decodeContext(e,t){if(!t||t.length>2048)return null;try{let r=JSON.parse(decodeURIComponent(t));return this.validateContext({surface:e,context:r})}catch{return null}}hasSameContext(e,t){return e.sourceLanguage===t.sourceLanguage&&e.themeGroupId===t.themeGroupId&&e.tagId===t.tagId}}function s(e){return"string"==typeof e&&e.trim().length>0&&e.length<=256}let l=new u},28357:(e,t,r)=>{r.d(t,{U:()=>s});var a=r(95155),n=r(50910),o=r(91337),i=r(4474),u=r(88005);function s({leading:e,className:t}){let{order:r,toggle:l,hydrated:d}=(0,u.D)(),c=(0,n.c)("videoPublicationSort");return(0,a.jsxs)("div",{className:(0,o.cn)("mb-3 flex items-center gap-2",e?"justify-between":"justify-end",t),children:[e,(0,a.jsxs)(i.$,{variant:"ghost",size:"sm",onClick:l,disabled:!d,children:[c("desc"===r?"newest":"oldest")," ","desc"===r?"↓":"↑"]})]})}},28421:(e,t,r)=>{r.d(t,{a:()=>n});var a=r(12115);function n(){let[e,t]=a.useState(void 0);return a.useEffect(()=>{let e=window.matchMedia("(max-width: 767px)"),r=()=>{t(window.innerWidth<768)};return e.addEventListener("change",r),t(window.innerWidth<768),()=>e.removeEventListener("change",r)},[]),!!e}},32426:(e,t,r)=>{r.d(t,{E:()=>n});var a=r(12115);function n(e="(max-width: 767px), (pointer: coarse)"){let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t=window.matchMedia(e),a=()=>r(t.matches);return a(),t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[e]),t}},33210:(e,t,r)=>{r.d(t,{A:()=>l});
6var a=r(95155),n=r(63329),o=r(50910),i=r(4474),u=r(91337),s=r(99525);function l({className:e}){let t=(0,o.c)("Explore"),{enabled:r,setEnabled:d}=(0,s.UU)();return(0,a.jsxs)(i.$,{type:"button",variant:"outline",size:"sm","aria-pressed":r,onClick:()=>d(!r),className:(0,u.cn)("h-9 shrink-0 rounded-xl px-3 text-sm font-medium transition-colors",r?"border-indigo-200 bg-indigo-50 text-indigo-600 shadow-sm hover:bg-indigo-100 hover:text-indigo-700":"border-slate-200 bg-white text-slate-600 hover:border-indigo-200 hover:text-indigo-600",e),children:[(0,a.jsx)(n.A,{className:"h-4 w-4"}),t("featuredSection.watchOnYouTube")]})}},33662:(e,t,r)=>{r.d(t,{j:()=>n});class a{read(e){if("u"<typeof document)return null;let t=encodeURIComponent(e);for(let r of document.cookie.split(";")){let a=r.trim(),n=a.indexOf("=");if(n<0)continue;let o=a.slice(0,n);if(o===t||o===e)return a.slice(n+1)}return null}write(e,t,r){if("u"<typeof document)return;let a=[`Path=${r.path}`,`SameSite=${r.sameSite}`,`Max-Age=${Math.max(0,Math.floor(r.maxAge))}`];r.secure&&a.push("Secure"),document.cookie=`${encodeURIComponent(e)}=${t}; ${a.join("; ")}`}}let n=new a},40187:(e,t,r)=>{r.d(t,{w:()=>n});var a=r(88347);class n{static attachProgress(e,t){return e.map(e=>({...e,playbackProgress:this.calculateProgress(t[e.videoId],e.duration)}))}static calculateProgress(e,t){return(0,a.Z)(e,t)}}},48951:(e,t,r)=>{r.d(t,{I:()=>s});var a=r(95155),n=r(12115),o=r(4474);let i=e=>e&&e.scrollHeight>e.clientHeight?e:null;var u=r(91337);function s({scrollRoot:e,active:t,hasMore:r,isLoadingMore:l,error:d,disabled:c=!1,onLoadMore:g,labels:p,variant:h="default"}){let f=(0,n.useRef)(null);return((0,n.useEffect)(()=>{let a=f.current;if(!t||!a||!r||l||d||c||"u"<typeof IntersectionObserver)return;let n=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&g()},{root:i(e),rootMargin:"240px 0px"});return n.observe(a),()=>n.disconnect()},[t,c,d,r,l,g,e]),r||d||l)?(0,a.jsxs)("div",{ref:f,className:(0,u.cn)("flex flex-col items-center gap-2","theater"===h?"py-3":"py-5"),children:[d&&p.loadFailed?(0,a.jsx)("div",{className:"text-sm text-destructive",children:p.loadFailed}):null,(0,a.jsx)(o.$,{type:"button",variant:"outline",size:"theater"===h?"sm":"default",disabled:c||l,onClick:g,className:(0,u.cn)("rounded-full border-[color:var(--surface-soft-border)] bg-[var(--favorites-card)]","default"===h&&"min-w-[200px]","mobile"===h&&"px-6","theater"===h&&"text-xs"),children:l?p.loading:d?p.retry??p.loadMore:p.loadMore})]}):(0,a.jsx)("div",{ref:f,className:(0,u.cn)("text-center text-sm text-muted-foreground","theater"===h?"py-3":"py-5"),children:p.noMore})}},56926:(e,t,r)=>{r.d(t,{$:()=>o});var a=r(95155),n=r(12115);class o extends n.Component{static getDerivedStateFromProps(e){return e.pending?null:{content:e.children}}render(){return(0,a.jsx)("div",{"aria-busy":this.props.pending,inert:this.props.pending,className:this.props.pending?"pointer-events-none opacity-40":"opacity-100",children:this.state.content})}constructor(...e){super(...e),this.state={content:this.props.pending?null:this.props.children}}}},61006:(e,t,r)=>{r.d(t,{w:()=>a});function a(e){if("explore"!==e.page.surface)throw Error("INTEREST_SQUARE_PAGE_SURFACE_INVALID");return{batchId:e.page.batchId,items:e.page.items.flatMap(t=>{let r=t.relationId??t.id;return r&&t.videoId?[{relationId:r,videoId:t.videoId,tagId:t.tagId??e.tagId,languageCode:t.originalLanguage??e.languageCode,title:t.title,thumbnail:t.thumbnail,duration:t.duration,channel:t.author,authorThumbnail:t.authorThumbnail,videoPublishedAt:t.publishedAt,viewCount:t.viewCount,batchPosition:t.displayRank,displayScore:t.displayScore}]:[]}),pagination:e.page.pagination}}},69619:(e,t,r)=>{r.d(t,{X:()=>a});let a=50},69683:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(8698).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},88005:(e,t,r)=>{r.d(t,{D:()=>u});var a=r(12115),n=r(1934),o=r(31692);let i=(0,n.v)()((0,o.Zr)(e=>({order:"desc",revision:0,hydrated:!1,toggle:()=>e(e=>({order:"desc"===e.order?"asc":"desc",revision:e.revision+1}))}),{name:"video-publication-sort",skipHydration:!0,partialize:e=>({order:e.order}),merge:(e,t)=>
6({...t,order:e?.order==="asc"?"asc":"desc"}),onRehydrateStorage:()=>()=>{i.getState().hydrated||i.setState({hydrated:!0})}}));function u(){let e=i();return(0,a.useEffect)(()=>{i.persist.hasHydrated()||i.persist.rehydrate();let e=e=>{"video-publication-sort"===e.key&&i.persist.rehydrate()};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[]),e}},94425:(e,t,r)=>{r.d(t,{F:()=>s});var a=r(12115),n=r(22782),o=r(27220);async function i(e){let t=new URLSearchParams;t.set("videoIds",e.join(","));let r=await (0,o.Z)(`/api/user-videos/explore-playback-progress?${t.toString()}`);if(r.error||!r.data)throw Error(r.error??"Explore playback progress request failed");return r.data.currentTimeByVideoId??{}}async function u(e){let t=e[3],r=[];for(let e=0;e<t.length;e+=100)r.push(t.slice(e,e+100));return{currentTimeByVideoId:(await Promise.all(r.map(i))).reduce((e,t)=>{for(let[r,a]of Object.entries(t))Number.isFinite(a)&&a>=0&&(e[r]=a);return e},{})}}function s({userId:e,videoIds:t,enabled:r,requestReady:o,contextKey:i}){let l=function(e,t,r,a="default"){let n=Array.from(new Set(t.map(e=>e.trim()).filter(Boolean))).sort();return r&&e&&0!==n.length?["explore-playback-progress",e,a,n]:null}(e,t,r,i),d=(0,n.Ay)(l,u,{revalidateOnFocus:!0,dedupingInterval:3e4,isPaused:()=>!o}),c=d.mutate,g=(0,a.useRef)(void 0),p=function(e,t){if(!e||!t||e[1]!==t[1]||e[2]!==t[2]||e[3].length>=t[3].length)return!1;let r=new Set(t[3]);return e[3].every(e=>r.has(e))}(g.current?.key,l),h=d.data??(p?g.current?.data:void 0);return(0,a.useEffect)(()=>{o&&l&&c()},[l,c,o]),(0,a.useEffect)(()=>{if(!l){g.current=void 0;return}d.data&&(g.current={key:l,data:d.data})},[l,d.data]),{...d,data:h,currentTimeByVideoId:l?h?.currentTimeByVideoId??{}:{}}}}}]);

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.