PageSourceSearch

https://dsanchezcr.com/assets/js/8f4862c6.2ace1541.js

js dsanchezcr.com collected 2026-10-02 11:56:29 UTC 10,145 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdsanchezcr=self.webpackChunkdsanchezcr||[]).push([["1547"],{70497(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>p,frontMatter:()=>s,contentTitle:()=>d,toc:()=>c,assets:()=>l});var n=JSON.parse('{"id":"movies/recently-watched","title":"Recently Watched","description":"Movies I recently watched with my ratings and reviews.","source":"@site/movies-tv/movies/recently-watched.mdx","sourceDirName":"movies","slug":"/movies/recently-watched","permalink":"/movies-tv/movies/recently-watched","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"title":"Recently Watched","sidebar_position":1,"description":"Movies I recently watched with my ratings and reviews."},"sidebar":"defaultSidebar","previous":{"title":"Movies & TV","permalink":"/movies-tv/"},"next":{"title":"Top Movies","permalink":"/movies-tv/movies/top-movies"}}'),i=r(74848),a=r(28453),o=r(15875);let s={title:"Recently Watched",sidebar_position:1,description:"Movies I recently watched with my ratings and reviews."},d="Recently Watched",l={},c=[];function m(e){let t={h1:"h1",header:"header",p:"p",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"recently-watched",children:"Recently Watched"})}),"\n",(0,i.jsx)(t.p,{children:"Movies I've recently watched at the theater."}),"\n",(0,i.jsx)(o.A,{contentType:"movies",category:"recently-watched"})]})}function p(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(m,{...e})}):m(e)}},96480(e,t,r){r.d(t,{A:()=>n});let n={mediaCard:"mediaCard_SlM2",mediaCardLink:"mediaCardLink_M7wa",mediaCardContent:"mediaCardContent_BkIz",posterContainer:"posterContainer_OyRT",posterImage:"posterImage_p76h",posterPlaceholder:"posterPlaceholder_qjSS",ratingBadges:"ratingBadges_YVWe",communityBadge:"communityBadge_Y8FL",myRatingBadge:"myRatingBadge_o4rc",mediaInfo:"mediaInfo_iNgU",mediaTitle:"mediaTitle_e3c7",review:"review_shFE",overview:"overview_UrGg",attribution:"attribution_eaAu",genreChips:"genreChips_KxlD",genreChip:"genreChip_WvDG"}},9526(e,t,r){r.r(t),r.d(t,{default:()=>a});var n=r(74848);r(96540);var i=r(19863);function a({children:e,fallback:t}){return(0,i.A)()?(0,n.jsx)(n.Fragment,{children:e?.()}):t??null}},15875(e,t,r){r.d(t,{A:()=>v});var n=r(74848),i=r(96540),a=r(9526),o=r(44163),s=r(78974),d=r(96480),l=r(20685);let c=({titleId:e,tmdbId:t,mediaType:r,title:i,titleTranslations:a,imageUrl:o,posterPath:s,year:c,genres:m,genresTranslations:p,overview:u,plot:h,tmdbRating:g,imdbRating:v,myRating:y,review:b,metadataSource:x,locale:f="en"})=>{let j=l.d[f]||l.d.en,w=Number.isInteger(t)&&t>0&&["movie","tv"].includes(r),A=w&&"omdb"!==x,C=(0,l.U)(a,f)||i||e||j.untitled,N=A?`https://www.themoviedb.org/${r}/${t}`:/^tt\d{6,12}$/.test(e||"")?`https://www.imdb.com/title/${e}/`:null,T=o||(w&&/^\/[a-zA-Z0-9_-]+\.(jpg|png|webp)$/.test(s||"")?`https://image.tmdb.org/t/p/w500${s}`:null),M=(0,l.U)(b,f),$=(0,l.U)(u,f)||h,P=p?.[f]||p?.en||m||[],I=A?g:v,_=(0,n.jsx)("div",{className:d.A.mediaCard,children:(0,n.jsxs)("div",{className:d.A.mediaCardContent,children:[(0,n.jsxs)("div",{className:d.A.posterContainer,children:[T?(0,n.jsx)("img",{src:T,alt:C,className:d.A.posterImage,loading:"lazy",onError:e=>{e.target.style.display="none"}}):(0,n.jsx)("div",{className:d.A.posterPlaceholder,role:"img","aria-label":j.noPoster}),(0,n.jsxs)("div",{className:d.A.ratingBadges,children:[null!=I&&(0,n.jsxs)("span",{className:d.A.communityBadge,children:[A?"TMDB ":"IMDb ","\u2B50 ",Number(I).toFixed(1)]}),null!=y&&(0,n.jsxs)("span",{className:d.A.myRatingBadge,children:[j.myRating,": ",y,"/10"]})]})]}),(0,n.jsxs)("div",{className:d.A.mediaInfo,children:[(0,n.jsxs)("h3",{className:d.A.mediaTitle,children:[C,c?` (${c})`:""]}),$&&(0,n.jsx)("p",{className:d.A.overview,children:$}),M&&(0,n.jsxs)("p",{className:d.A.review,children:["\u{1F4AC} ",(0,n.jsx)("em",{children:M})]}),P.length>0&&(0,n.jsx)("div",{className:d.A.genreChips,children:P.map(e=>(0,n.jsx)("span",{className:d.A.genreChip,children:e},e))})]})]})});return N?(0,n.jsx)("a",{href:N,target:"_blank",rel:"noopener noreferrer",className:d.A.mediaCardLink,children:_}):_};var m=r(10957),p=r(1295);let u=({items:e=[],category:t,contentType:r,itemsPerPage:a=10})=>{let o=(0,s.Ym)(),d=l.d[o]||l.d.en,[u,h]=(0,i.useState)(1),g=(0,i.useMemo)(()=>{let r="top-movies"===t||"top-series"===t||"top-tv"===t;return(t?e.filter(e=>e.category===t):e).slice().sort((e,t)=>
1{if(r)return(Number.isFinite(e.order)?e.order:1/0)-(Number.isFinite(t.order)?t.order:1/0);let n="tmdb"===e.syncSource,i="tmdb"===t.syncSource;if(n!==i)return n?-1:1;if(n&&i){let r=(Date.parse(t.syncedAt)||0)-(Date.parse(e.syncedAt)||0);if(r)return r}let a=Number.isFinite(e.order)?e.order:-1/0;return(Number.isFinite(t.order)?t.order:-1/0)-a})},[e,t]);(0,i.useEffect)(()=>{h(1)},[e,t]);let v=Math.ceil(g.length/a),y=(0,i.useMemo)(()=>g.slice((u-1)*a,u*a),[g,u,a]);return g.length?(0,n.jsxs)("div",{children:[y.map(e=>(0,n.jsx)(c,{...e,mediaType:e.mediaType||("series"===r?"tv":"movie"),locale:o},`${e.category||t}:${e.id||`${e.mediaType||r}:${e.tmdbId||e.titleId}`}`)),(0,n.jsx)(m.A,{currentPage:u,totalPages:v,onPageChange:h,locale:o}),g.some(e=>e.tmdbId)&&(0,n.jsx)(p.A,{locale:o})]}):(0,n.jsx)("p",{style:{textAlign:"center",color:"var(--ifm-font-color-secondary)"},children:d.empty})},h=["movies","series"],g=({contentType:e,category:t,text:r})=>{let[a,s]=(0,i.useState)([]),[d,l]=(0,i.useState)(!0),[c,m]=(0,i.useState)(null);return((0,i.useEffect)(()=>{let r=new AbortController;return(async()=>{l(!0),m(null);try{let n=o.$.getApiEndpoint(),i="series"===e?o.$.routes.contentSeries:o.$.routes.contentMovies,a=t?`${n}${i}?category=${encodeURIComponent(t)}`:`${n}${i}`,d=await fetch(a,{headers:{Accept:"application/json"},signal:r.signal});if(!d.ok)throw Error(`Failed to load content (${d.status})`);let l=await d.json();if(!Array.isArray(l))throw Error("Invalid content response");r.signal.aborted||s(l)}catch(e){r.signal.aborted||"AbortError"===e.name||m(!0)}finally{r.signal.aborted||l(!1)}})(),()=>r.abort()},[e,t]),d)?(0,n.jsx)("div",{role:"status",children:r.loading}):c?(0,n.jsx)("div",{role:"alert",children:r.error}):(0,n.jsx)(u,{items:a,category:t,contentType:e})},v=({contentType:e,category:t})=>{let r=(0,s.Ym)(),i=l.d[r]||l.d.en;return h.includes(e)?(0,n.jsx)(a.default,{fallback:(0,n.jsx)("div",{role:"status",children:i.loading}),children:()=>(0,n.jsx)(g,{contentType:e,category:t,text:i})}):(0,n.jsx)("div",{role:"alert",children:i.invalidType})}},1295(e,t,r){r.d(t,{A:()=>o});var n=r(74848);r(96540);var i=r(20685),a=r(96480);function o({locale:e="en"}){let t=i.d[e]||i.d.en;return(0,n.jsxs)("section",{className:a.A.attribution,"aria-label":t.credits,children:[(0,n.jsx)("h3",{children:t.credits}),(0,n.jsx)("a",{href:"https://www.themoviedb.org",target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)("img",{src:"https://www.themoviedb.org/assets/v4/logos/v2/blue_short-8e7b30f73a4020692ccca9c88bafe5dcb6f8a62a4c6bc55cd9ba82bb2cd95f6c.svg",alt:"TMDB",width:"154",height:"20",loading:"lazy"})}),(0,n.jsx)("p",{children:t.attribution}),"en"!==e&&(0,n.jsx)("small",{lang:"en",children:i.d.en.attribution})]})}},20685(e,t,r){r.d(t,{U:()=>i,d:()=>n});let n={en:{myRating:"My",loading:"Loading content...",empty:"No titles to display yet.",error:"Failed to load content. Please try again later.",invalidType:"Invalid content type. Expected movies or series.",untitled:"Untitled",noPoster:"Poster unavailable",credits:"Data and image credits",attribution:"This product uses the TMDB API but is not endorsed or certified by TMDB."},es:{myRating:"Mi nota",loading:"Cargando contenido...",empty:"A\xfan no hay t\xedtulos para mostrar.",error:"No se pudo cargar el contenido. Int\xe9ntalo de nuevo m\xe1s tarde.",invalidType:"Tipo de contenido no v\xe1lido. Se esperaba movies o series.",untitled:"Sin t\xedtulo",noPoster:"P\xf3ster no disponible",credits:"Cr\xe9ditos de datos e im\xe1genes",attribution:"Este producto utiliza la API de TMDB, pero no est\xe1 avalado ni certificado por TMDB."},pt:{myRating:"Minha nota",loading:"Carregando conte\xfado...",empty:"Ainda n\xe3o h\xe1 t\xedtulos para exibir.",error:"N\xe3o foi poss\xedvel carregar o conte\xfado. Tente novamente mais tarde.",invalidType:"Tipo de conte\xfado inv\xe1lido. Esperava-se movies ou series.",untitled:"Sem t\xedtulo",noPoster:"P\xf4ster indispon\xedvel",credits:"Cr\xe9ditos de dados e imagens",attribution:"Este produto usa a API do TMDB, mas n\xe3o \xe9 endossado nem certificado pelo TMDB."}},i=(e,t)=>"string"==typeof e?e:e?.[t]||e?.en||""},10957(e,t,r){r.d(t,{A:()=>a});var n=r(74848);r(96540);let i={en:{previous:"Previous",next:"Next",pageOf:(e,t)=>`Page ${e} of ${t}`},es:{previous:"Anterior",next:"Siguiente",pageOf:(e,t)=>`P\xe1gina ${e} de ${t}`},pt:{previous:"Anterior",next:"Pr\xf3ximo",pageOf:(e,t)=>`P\xe1gina ${e} de ${t}`}},a=({currentPage:e,totalPages:t,onPageChange:r,locale:a="en"})=>{if(!t||t<=1)return null;let o=i[(a||"en").split("-")[0]]||i.en;return(0,n.jsxs)("nav",{"aria-label":o.pageOf(e,t),style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1rem",margin:"2rem 0"},children:[(0,n.jsx)("button",{type:"button",disabled:e<=1,onClick:()=>r(e-1),"aria-label":o.previous,style:{padding:"0.5rem 1rem",borderRadius:"4px",cursor:e<=1?"not-allowed":"pointer",opacity:e<=1?.5:1},children:o.previous}),(0,n.jsx)("span",{style:{fontWeight:600,color:"var(--ifm-font-color-base)"},children:o.pageOf(e,t)}),(0,n.jsx)("button",{type:"button",disabled:e>=t,onClick:()=>r(e+1),"aria-label":o.next,style:{padding:"0.5rem 1rem",borderRadius:"4px",cursor:e>=t?"not-allowed":"pointer",opacity:e>=t?.5:1},children:o.next})]})}},28453(e,t,r){r.d(t,{R:()=>o,x:()=>s});var n=r(96540);let i={},a=n.createContext(i);function o(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);

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.