PageSourceSearch

https://letscope.org/assets/WatchLater-7484253c.js

js letscope.org collected 2026-10-05 05:10:21 UTC 1,404 bytes, 1 lines download raw bytes

1import{k as p,r,D as h,j as e,U as u,I as _,A as m,N as v,V as x,g as w}from"./index-5264ce22.js";import{V as j}from"./VideosListSection-eb0b89ae.js";function g(){const[n,d]=p("user_watch_later"),[o,a]=r.useState(null),[c,s]=r.useState(null),i=h(),l=async t=>{(await w.post("https://server.letscope.org/cope/ws_react",{command:"user_save_watch_later",user_token:i.accessToken,dev_cope_content_id:t,flag_remove:!0},{headers:{apikey:"react_ws_for_now"}})).data.msj=="success"&&(d(),s("Deleted video from watch later!"),setTimeout(()=>s(null),3e3))};return e.jsxs("main",{className:"bg-neutral1",children:[e.jsx(u,{title:"Watch Later",description:"Browse videos you saved for later"}),e.jsx(j,{videos_list:n,on_delete:t=>l(t.dev_cope_content_id),watch_video:t=>{_(i,t.dev_cope_content_id),a(t.dev_cope_content_content.video_url)},has_bin:!0,NoVideosFound:f}),e.jsxs(m,{mode:"wait",children:[c&&e.jsx(v,{close:()=>s(null),children:c}),o&&e.jsx(x,{onThreshholdReached:()=>{},video_url:"https://player.vimeo.com/video"+o.slice(17),close:()=>a(null)})]})]})}const f=()=>e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"c-primary",children:"This Playlist is Empty"}),e.jsxs("p",{children:["Content you add to this playlist will appear here. Add videos that you want to watch later by clicking the"," ",e.jsx("img",{src:"Icons/add-icon.svg",className:"watchlater-icon"})," button."]})]});
1export{g 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.