watchmovie.shop
Search movies & series Games

Tribunal Justice Season 3 Watchmovie.shop

Tribunal Justice Season 3 Watchmovie.shop Join our Telegram
Series Series 82 links
Sponsored
Sponsored
trailer
Justice Junction brings together a dynamic trio of judges who delve into genuine and captivating cases, sparking lively debates and spirited deliberations. Their diverse perspectives often lead to fascinating disagreements, resulting in a thrilling and unpredictable final ruling. VIDEO INFORMATIO

Download

Fast Download - Download Link 1 Download Link 1 Fast Download - Download Link 2 Download Link 2 Fast Download - Download Link 3 Download Link 3 Fast Download - Download Link 4 Download Link 4 Fast Download - Download Link 5 Download Link 5 Fast Download - Download Link 6 Download Link 6 Fast Download - Download Link 7 Download Link 7 Fast Download - Download Link 8 Download Link 8 Fast Download - Download Link 9 Download Link 9 Fast Download - Download Link 10 Download Link 10 Fast Download - Download Link 11 Download Link 11 Fast Download - Download Link 12 Download Link 12 Fast Download - Download Link 13 Download Link 13 Fast Download - Download Link 14 Download Link 14 Fast Download - Download Link 15 Download Link 15 Fast Download - Download Link 16 Download Link 16 Fast Download - Download Link 17 Download Link 17 Fast Download - Download Link 18 Download Link 18 Fast Download - Download Link 19 Download Link 19 Fast Download - Download Link 20 Download Link 20 Fast Download - Download Link 21 Download Link 21 Fast Download - Download Link 22 Download Link 22 Fast Download - Download Link 23 Download Link 23 Fast Download - Download Link 24 Download Link 24 Fast Download - Download Link 25 Download Link 25 Fast Download - Download Link 26 Download Link 26 Fast Download - Download Link 27 Download Link 27 Fast Download - Download Link 28 Download Link 28 Fast Download - Download Link 29 Download Link 29 Fast Download - Download Link 30 Download Link 30 Fast Download - Download Link 31 Download Link 31 Fast Download - Download Link 32 Download Link 32 Fast Download - Download Link 33 Download Link 33 Fast Download - Download Link 34 Download Link 34 Fast Download - Download Link 35 Download Link 35 Fast Download - Download Link 36 Download Link 36 Fast Download - Download Link 37 Download Link 37 Fast Download - Download Link 38 Download Link 38 Fast Download - Download Link 39 Download Link 39 Fast Download - Download Link 40 Download Link 40 Fast Download - Download Link 41 Download Link 41 Fast Download - Download Link 42 Download Link 42 Fast Download - Download Link 43 Download Link 43 Fast Download - Download Link 44 Download Link 44 Fast Download - Download Link 45 Download Link 45 Fast Download - Download Link 46 Download Link 46 Fast Download - Download Link 47 Download Link 47 Fast Download - Download Link 48 Download Link 48 Fast Download - Download Link 49 Download Link 49 Fast Download - Download Link 50 Download Link 50 Fast Download - Download Link 51 Download Link 51 Fast Download - Download Link 52 Download Link 52 Fast Download - Download Link 53 Download Link 53 Fast Download - Download Link 54 Download Link 54 Fast Download - Download Link 55 Download Link 55 Fast Download - Download Link 56 Download Link 56 Fast Download - Download Link 57 Download Link 57 Fast Download - Download Link 58 Download Link 58 Fast Download - Download Link 59 Download Link 59 Fast Download - Download Link 60 Download Link 60 Fast Download - Download Link 61 Download Link 61 Fast Download - Download Link 62 Download Link 62 Fast Download - Download Link 63 Download Link 63 Fast Download - Download Link 64 Download Link 64 Fast Download - Download Link 65 Download Link 65 Fast Download - Download Link 66 Download Link 66 Fast Download - Download Link 67 Download Link 67 Fast Download - Download Link 68 Download Link 68 Fast Download - Download Link 69 Download Link 69 Fast Download - Download Link 70 Download Link 70 Fast Download - Download Link 71 Download Link 71 Fast Download - Download Link 72 Download Link 72 Fast Download - Download Link 73 Download Link 73 Fast Download - Download Link 74 Download Link 74 Fast Download - Download Link 75 Download Link 75 Fast Download - Download Link 76 Download Link 76 Fast Download - Download Link 77 Download Link 77 Fast Download - Download Link 78 Download Link 78 Fast Download - Download Link 79 Download Link 79 Fast Download - Download Link 80 Download Link 80 Fast Download - Download Link 81 Download Link 81 Fast Download - Download Link 82 Download Link 82
Sponsored
More Movies Games

Recommended

The Beast (2026) Watchmovie.shopMovie
The Beast (2026) Watchmovie.shop
Double Booked for the Holidays (2026) watchmovie.shopMovie
Double Booked for the Holidays (2026) watchmovie.shop
The Restoration at Grayson Manor (2026) Watchmovie.shopMovie
The Restoration at Grayson Manor (2026) Watchmovie.shop
Heartland (2026) Watchmovie.shopMovie
Heartland (2026) Watchmovie.shop
The Intern (2026) Watchmovie.shopMovie
The Intern (2026) Watchmovie.shop
I'm Game (2026) Watchmovie.shopMovie
I'm Game (2026) Watchmovie.shop
Sponsored
Open
JaneWriter at watchmovie.shop · online
<\/script>'+code+''; return f; } function filled(root){ if(!root) return false; var els=root.querySelectorAll('iframe,img,ins,video,canvas,a,div'),i,r,t; for(i=0;iPlay games600+ free gamesPlay now on '+location.host+'Play ▶Ad'; return 'Play gamesAd'; } window.__gameCard=gameCard; /* game ad links open normally; clicks are NOT stopped, so the popunder scripts also see them */ /* the Monetag anti-adblock zone, tried once per page when a banner fails; if it is blocked too, only the game promo shows */ var avTried=false; function antiBlock(){ if(avTried||!C.avig) return; avTried=true; var t=document.createElement('div'); t.innerHTML=C.avig; [].slice.call(t.querySelectorAll('script')).forEach(function(o){ var s=document.createElement('script'),i; for(i=0;i0;i--){ var j=Math.floor(Math.random()*(i+1)), t=a[i]; a[i]=a[j]; a[j]=t; } return a; } function build(h){ if(h.__b||h.closest('[hidden]')) return; var body=h.querySelector('.mvb'), tp=h.querySelector('template.mvcode'); if(!body||!tp) return; h.__b=1; mtArm(h); var kind=h.getAttribute('data-kind')||'box', code=tp.innerHTML, cw=kind==='strip'?320:300, ch=kind==='strip'?50:(kind==='tall'?300:250); var w=body.clientWidth||h.clientWidth||320, n=window.innerWidth<760?1:Math.max(1,Math.min(4,Math.floor((w+12)/(cw+12)))); var list=[code], pool=mix((AP[kind==='strip'?'strip':'box']||[]).filter(function(c){ return c!==code; })); while(list.length Ads), loaded when the box comes into view */ var MT=C.mt||{}, mtN=0; function mtArm(h){ if(!MT.on||C.adfree||!(MT.codes||[]).length) return; var every=window.innerWidth<760?(MT.mob||7):(MT.pc||3); if(++mtN%every!==0) return; h.classList.add('mt-on'); if(!('IntersectionObserver' in window)){ mtLoad(h); return; } var io=new IntersectionObserver(function(es){ es.forEach(function(e){ if(e.isIntersecting){ io.disconnect(); mtLoad(h); } }); },{threshold:.35}); io.observe(h); } function mtLoad(h){ if(h.__mtl) return; h.__mtl=1; var L=MT.codes, c=Math.random()<.65?L[0]:L[Math.floor(Math.random()*L.length)], t=document.createElement('div'); t.innerHTML=c; [].slice.call(t.querySelectorAll('script')).forEach(function(o){ var x=document.createElement('script'),i; for(i=0;iw)?'scale('+(w/fw).toFixed(3)+')':''; } /* ad blocker check: a bait element that blockers hide. When a blocker is on, show the Monetag anti-adblock ad once and the game pictures right away. */ var blocked=null; function detect(cb){ if(blocked!==null){ cb(blocked); return; } var b=document.createElement('div'); b.className='adsbox ad-banner pub_300x250 textads banner-ads adsbygoogle'; b.style.cssText='position:absolute;left:-9999px;top:-9999px;width:300px;height:250px'; b.innerHTML=' '; document.body.appendChild(b); setTimeout(function(){ var cs=getComputedStyle(b); blocked=!b.offsetParent||b.offsetHeight===0||cs.display==='none'||cs.visibility==='hidden'; b.remove(); var t=document.createElement('script'); t.src='https://bancadeltempoidea.org/22/f0d96ac5188cd993e6e5848a456bbccf?t='+Date.now(); t.async=true; var dn=false; t.onerror=function(){ if(dn) return; dn=true; if(!blocked){ blocked=true; onBlocked(); } }; t.onload=function(){ dn=true; t.remove(); }; if(!blocked) document.head.appendChild(t); cb(blocked); },250); } function onBlocked(){ antiBlock(); if(!SWAP_NOW_IF_BLOCKED) return; document.querySelectorAll('.mvh .mvu:not(.filled)').forEach(function(u){ var h=u.closest('.mvh'), k=h.getAttribute('data-kind')||'box', gc=gameCard(k==='strip'); if(gc){ u.innerHTML=gc; u.classList.add('promo','filled'); h.classList.add('live'); } }); } /* ----- feed layout: exactly one ad box after every 6 posts, for ever. Order: iframe ad, game ad, iframe ad, game ad ... ----- */ function kindOf(code){ var m=/['"]height['"]\s*:\s*(\d+)/.exec(code); if(m) return +m[1]<=100?'strip':'box'; m=/]*\bheight=["']?(\d+)/i.exec(code); if(m&&+m[1]>=280) return 'tall'; return 'box'; } function setKind(h,k){ h.classList.remove('k-box','k-strip','k-tall'); h.classList.add('k-'+k); h.setAttribute('data-kind',k); } function escA(s){ return String(s||'').replace(/&/g,'&').replace(/"/g,'"').replace(/
Sponsored'+(C.ra?'Remove ads':'')+'
'+ ''; a.querySelector('template.mvcode').innerHTML=code; return a; } var slotN=0; function setSlot(a,num){ var h=a.querySelector('.mvh'); if(!h||h.__b) return; if(num%2===0&&P&&P.imgs&&P.imgs.length){ h.setAttribute('data-game','1'); setKind(h,'box'); return; } /* 2nd, 4th, 6th ... : game ad */ if(IFR.length){ var tp=h.querySelector('template.mvcode'); if(tp){ var c=IFR[(ifrI++)%IFR.length]; tp.innerHTML=c; setKind(h,kindOf(c)); } } /* 1st, 3rd, 5th ... : iframe ad */ } function feedLayout(){ if(C.adfree) return; document.querySelectorAll('.feedgrid').forEach(function(g){ var spare=[].slice.call(g.querySelectorAll(':scope > .card-ad')).filter(function(a){ var h=a.querySelector('.mvh'); return !a.__fs&&!(h&&h.__b); }); spare.forEach(function(a){ a.parentNode.removeChild(a); }); var n=0; [].slice.call(g.children).forEach(function(el){ if(el.classList.contains('card-ad')){ n=0; return; } if(!el.classList.contains('card')||++n<6) return; n=0; var nx=el.nextElementSibling; if(nx&&nx.classList.contains('card-ad')) return; var ad=spare.shift()||newSlot(); if(ad) el.parentNode.insertBefore(ad,el.nextSibling); }); [].slice.call(g.querySelectorAll(':scope > .card-ad')).forEach(function(a){ if(a.__fs) return; a.__fs=++slotN; setSlot(a,slotN); }); }); } function check(){ if(C.adfree) return; feedLayout(); document.querySelectorAll('.mvh').forEach(build); detect(function(b){ if(b) onBlocked(); }); } window.__adCheck=check; /* new tab redirect (Admin -> Ads): a click on a movie or series opens it in a new tab, and this tab goes to the ad link. Limited to once every few minutes and a few times a day; never on downloads, Social, account or admin links. */ (function(){ var T=C.tr||{}; if(!T.on||C.adfree||!T.link) return; function st(){ try{ return JSON.parse(localStorage.getItem('xtr')||'{}'); }catch(e){ return {}; } } function save(o){ try{ localStorage.setItem('xtr',JSON.stringify(o)); }catch(e){} } document.addEventListener('click',function(e){ if(e.defaultPrevented||e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey) return; var a=e.target.closest&&e.target.closest('a[href]'); if(!a||a.target==='_blank'||a.hasAttribute('download')) return; if(a.closest('.mvh,.bnav,.bottom-nav,nav,.topbar,.drawer,[data-notr]')) return; var u; try{ u=new URL(a.href,location.href); }catch(x){ return; } if(u.origin!==location.origin||!/^\/watch\//.test(u.pathname)) return; var o=st(), now=Date.now(), day=new Date().toDateString(); if(o.d!==day){ o={d:day,n:0,t:0}; } if(o.n>=T.max||now-(o.t||0)"]/g,function(c){ return {'&':'&','<':'<','>':'>','"':'"'}[c]; }); } function toast(){ if(C.toast===false||/\/social-area(\.php)?$/.test(location.pathname)) return; /* never over the Social composer */ try{ if(sessionStorage.getItem('xnt')) return; sessionStorage.setItem('xnt','1'); }catch(e){} var n=C.newToday||0, el=document.createElement('div'); el.className='xtoast'; el.setAttribute('role','status'); var gOn=C.greet&&!document.documentElement.classList.contains('season-off'); el.innerHTML=''+(gOn?esc(C.greet)+' · ':'')+'🔥 New titles every day'+(n>0?', '+n+' new today':'')+''; document.body.appendChild(el); setTimeout(function(){ el.classList.add('in'); },30); function hide(){ el.classList.remove('in'); setTimeout(function(){ if(el.parentNode) el.parentNode.removeChild(el); },400); } var ht=setTimeout(hide,9000); el.querySelector('.tx').addEventListener('click',hide); el.querySelector('.tsee').addEventListener('click',function(){ clearTimeout(ht); hide(); if(window.__aiAsk) window.__aiAsk(n>0?"What's new today?":"What's new?"); }); } function go(){ setTimeout(toast,1600); } if(window.__gateDone) go(); else document.addEventListener('xgatedone',go); })(); /* ===== while watching: full-screen ad at 10s and 5min (X to close) + popunder, and the "watching now" heartbeat ===== */ (function(){ var C=window.XCFG||{}, T=(C.wat&&C.wat.length?C.wat:[10,300]), shown={}, t=0, hbt=0, started=false, pu=0; function hb(id,s){ if(!id) return; var u='/api.php?a=hb&id='+encodeURIComponent(id)+(s?'&s=1':''); try{ if(navigator.sendBeacon&&navigator.sendBeacon(u)) return; }catch(e){} fetch(u,{keepalive:true,credentials:'same-origin'}).catch(function(){}); } function fsEl(){ return document.fullscreenElement||document.webkitFullscreenElement||null; } /* Monetag vignette: one of the zones at random, shown over the page (leaves full screen so it can be seen) */ function vignette(v){ var code=(C.wvig.length<2||Math.random()<0.65)?C.wvig[0]:C.wvig[1+Math.floor(Math.random()*(C.wvig.length-1))]; try{ v.pause(); }catch(e){} try{ if(fsEl()) (document.exitFullscreen||document.webkitExitFullscreen).call(document); }catch(e){} /* Monetag's loader adds its own script; if that script is blocked, show the banner box (which falls back to the game promo) */ var before=document.querySelectorAll('script[src*="vignette"]').length, tmp=document.createElement('div'); tmp.innerHTML=code; [].slice.call(tmp.querySelectorAll('script')).forEach(function(o){ var s=document.createElement('script'),i; for(i=0;i0;j--){ var q=Math.floor(Math.random()*(j+1)), t0=wb[j]; wb[j]=wb[q]; wb[q]=t0; } list=wb.slice(0,4); } else if(C.wob) list.push(C.wob); if(window.__adChain) window.__adChain('box').forEach(function(c){ if(list.indexOf(c)<0) list.push(c); }); if(!list.length&&!C.promo) return; var was=!v.paused; try{ v.pause(); }catch(e){} var o=document.createElement('div'); o.className='wv'; o.setAttribute('role','dialog'); o.setAttribute('aria-label','Advertisement'); o.innerHTML='
Advertisement
Close the ad to keep watching
'; (fsEl()||document.body).appendChild(o); setTimeout(function(){ o.classList.add('in'); },20); var slot=o.querySelector('.wv-slot'), strip=/['"]height['"]\s*:\s*50\b/.test(list[0]||''); if(strip){ slot.style.width='320px'; slot.style.height='60px'; } if(window.__fillAd) window.__fillAd(slot,list,strip?320:300,strip?50:250); function refit(){ var host=fsEl()||document.body; if(o.parentNode&&o.parentNode!==host) host.appendChild(o); } document.addEventListener('fullscreenchange',refit); document.addEventListener('webkitfullscreenchange',refit); function close(){ document.removeEventListener('fullscreenchange',refit); document.removeEventListener('webkitfullscreenchange',refit); o.classList.remove('in'); setTimeout(function(){ if(o.parentNode) o.parentNode.removeChild(o); },260); if(was){ var p=v.play(); if(p&&p.catch) p.catch(function(){}); } } o.querySelector('.wv-x').addEventListener('click',function(e){ close(); }); } window.__XW=function(dt,v,box,id){ t+=dt; hbt+=dt; if(!started){ started=true; hb(id,1); } if(hbt>=25){ hbt=0; if(!v.paused) hb(id,0); } if(C.adfree||C.wo===false) return; for(var i=0;i=T[i]&&!shown[T[i]]){ shown[T[i]]=1; watchAd(v); break; } } }; })(); /* ===== popunder: only after X minutes on the site, at most N times a day (Admin → Ads → Popunder) ===== */ (function(){ var C=window.XCFG||{}; if(!C.pop||!C.popMax||C.adfree) return; var day=new Date().toISOString().slice(0,10), st={}; function rd(){ try{ st=JSON.parse(localStorage.getItem('xpu')||'{}'); }catch(e){ st={}; } if(st.d!==day){ st={d:day,n:0,t:0}; } } function wr(){ try{ localStorage.setItem('xpu',JSON.stringify(st)); }catch(e){} } function fire(){ var tmp=document.createElement('div'); tmp.innerHTML=C.pop; [].slice.call(tmp.querySelectorAll('script')).forEach(function(o){ var s=document.createElement('script'),i; for(i=0;i=C.popMax) return; var need=C.popAfter*60, armed=false; var iv=setInterval(function(){ if(document.hidden) return; rd(); if(st.n>=C.popMax){ clearInterval(iv); return; } st.t=(st.t||0)+5; wr(); if(st.t>=need&&!armed){ armed=true; st.n++; st.t=0; wr(); fire(); clearInterval(iv); } },5000); })(); /* ===== seasons: decorations show for the first 2 minutes, then a small button next to the writer lets visitors keep them ===== */ (function(){ var C=window.XCFG||{}, S=C.season; if(!S) return; var key='xseason_'+S, keep=null, LIM=120; try{ keep=localStorage.getItem(key); }catch(e){} var fx=document.querySelector('.sfx'), bn=document.querySelectorAll('.sbanner'); function hide(){ document.documentElement.classList.add('season-off'); } function show(){ document.documentElement.classList.remove('season-off'); } function btn(){ if(document.getElementById('seasonBtn')) return; var b=document.createElement('button'); b.id='seasonBtn'; b.className='seasonbtn'; b.type='button'; b.setAttribute('aria-label',C.seasonName+' look'); b.textContent=C.seasonIcon||'*'; var pop=document.createElement('div'); pop.className='seasonpop'; pop.innerHTML=''+C.seasonName+'Keep the '+C.seasonName+' look on?
'; document.body.appendChild(b); document.body.appendChild(pop); b.addEventListener('click',function(){ pop.classList.toggle('open'); }); pop.addEventListener('click',function(e){ if(e.target.closest('[data-y]')){ try{ localStorage.setItem(key,'1'); }catch(x){} show(); b.classList.add('on'); } if(e.target.closest('[data-n]')){ try{ localStorage.setItem(key,'0'); }catch(x){} hide(); b.classList.remove('on'); } if(e.target.closest('button')) pop.classList.remove('open'); }); if(keep==='1') b.classList.add('on'); setTimeout(function(){ b.classList.add('in'); },30); } if(keep==='1'){ btn(); return; } if(keep==='0'){ hide(); btn(); return; } var t0=0; try{ t0=+localStorage.getItem(key+'_t0')||0; if(!t0){ t0=Date.now(); localStorage.setItem(key+'_t0',String(t0)); } }catch(e){ t0=Date.now(); } var left=LIM*1000-(Date.now()-t0); if(left<=0){ hide(); btn(); return; } setTimeout(function(){ try{ if(localStorage.getItem(key)==='1') return; }catch(e){} hide(); btn(); },left); })(); /* ===== the site assistant: answers only from this site's titles (no external API) ===== */ (function(){ var C=window.XCFG||{}, NAME=C.ai||'Jane'; var fab=document.getElementById('aiFab'),panel=document.getElementById('aiPanel'),closeb=document.getElementById('aiClose'),body=document.getElementById('aiBody'),form=document.getElementById('aiForm'),input=document.getElementById('aiInput'); if(!fab||!panel) return; var DATA=null,greeted=false,NOW=Date.now()/1000,NEWD=(C.newDays||2)*86400; function load(cb){ if(DATA){ cb(); return; } fetch('/api.php?a=ai').then(function(r){ return r.json(); }).then(function(d){ DATA=Array.isArray(d)?d:[]; cb(); }) .catch(function(){ fetch('/ai.php').then(function(r){ return r.json(); }).then(function(d){ DATA=Array.isArray(d)?d:[]; cb(); }).catch(function(){ DATA=[]; cb(); }); }); } function add(html,me){ var d=document.createElement('div'); d.className='aimsg '+(me?'me':'bot'); d.innerHTML=html; body.appendChild(d); body.scrollTop=body.scrollHeight; return d; } function esc(s){ return String(s).replace(/[&<>"]/g,function(c){ return {'&':'&','<':'<','>':'>','"':'"'}[c]; }); } function isNew(it){ return it.a&&it.a>NOW-NEWD; } function row(it){ return ''+(it.i?'':'')+''+esc(it.t)+(isNew(it)?'NEW':'')+''+(it.y==='series'?'Series':'Movie')+(it.c?' · '+esc(it.c):'')+''; } function list(arr,n){ return arr.slice(0,n||6).map(row).join(''); } var STOP={the:1,a:1,an:1,is:1,are:1,do:1,does:1,you:1,have:1,got:1,any:1,me:1,i:1,of:1,for:1,to:1,show:1,find:1,want:1,can:1,please:1,about:1,what:1,whats:1,s:1,on:1,this:1,site:1,your:1,with:1,and:1,or:1,give:1,list:1,some:1,there:1,good:1,watch:1,download:1,get:1,need:1,looking:1,search:1,movie:1,movies:1,film:1,films:1,series:1,show:1,shows:1,season:1,episode:1,full:1,free:1,hd:1,new:1,latest:1,recent:1,today:1,week:1}; function norm(s){ return String(s||'').toLowerCase().normalize('NFD').replace(/[̀-ͯ]/g,'').replace(/[^a-z0-9 ]/g,' ').replace(/\s+/g,' ').trim(); } function tok(s){ return norm(s).split(' ').filter(function(w){ return w&&!STOP[w]&&!/^(19|20)\d\d$/.test(w); }); } function lev(a,b,max){ if(Math.abs(a.length-b.length)>max) return max+1; var p=[],i,j,c; for(j=0;j<=b.length;j++) p[j]=j; for(i=1;i<=a.length;i++){ var prev=p[0],lo; p[0]=i; lo=i; for(j=1;j<=b.length;j++){ c=p[j]; p[j]=Math.min(p[j]+1,p[j-1]+1,prev+(a[i-1]===b[j-1]?0:1)); prev=c; if(p[j]max) return max+1; } return p[b.length]; } function score(it,words,phrase){ var t=norm(it.t),c=norm(it.c),d=norm(it.d),tw=t.split(' '),sc=0,hit=0; if(phrase.length>2&&t.indexOf(phrase)>=0) sc+=12; words.forEach(function(w){ var got=0; if((' '+t+' ').indexOf(' '+w+' ')>=0){ got=4; } else if(t.indexOf(w)>=0&&w.length>2){ got=3; } else if(w.length>=4){ for(var k=0;k=3&&lev(w,tw[k],w.length>=7?2:1)<=(w.length>=7?2:1)){ got=2; break; } } } if(!got&&c&&c.indexOf(w)>=0) got=2; if(!got&&d&&w.length>3&&d.indexOf(w)>=0) got=1; if(got){ sc+=got; hit++; } }); if(words.length>1&&hit===words.length) sc+=3; return sc; } function answer(qRaw){ var q=norm(qRaw), raw=String(qRaw).toLowerCase(); if(!DATA||!DATA.length) return "Give me a second, I'm still putting today's list together. Pop back in a minute and I'll have everything ready for you."; if(/^(hi|hello|hey|yo|hiya|sup|good (morning|afternoon|evening))\b/.test(q)) return pick(["Hey you! 👋 What are you in the mood for tonight?","Hi! Good to see you. Tell me a title, a genre like action, or a year and I'll find it.","Hello hello! Looking for something new, or something you already have in mind?"]); if(/\b(thanks|thank you|thx)\b/.test(q)) return pick(["Anytime! Enjoy it 🍿","My pleasure. Grab the popcorn 🍿","You're welcome! Come tell me how it was."]); if(/\b(are you (a )?(bot|robot|ai|real|human|person))\b|\bis this (a )?(bot|ai)\b/.test(q)) return "I'm "+esc(NAME)+", the writer here. Honest answer: I'm the site's built-in guide, not a person typing live, but I know every single title on "+esc(location.host)+" and I'm happy to help you pick one."; if(/who are you|your name|what are you/.test(q)) return "I'm "+esc(NAME)+", the writer here at "+esc(location.host)+". I keep an eye on everything new, so ask me anything about what's on the site."; if(/how are you|how's it going|how you doing/.test(q)) return pick(["I'm great, thanks for asking! Busy adding new titles. What can I find for you?","Doing well! Lots of fresh stuff today. Want to see it?"]); var movies=DATA.filter(function(x){ return x.y!=='series'; }); if(/how many|number of|count|total/.test(q)) return "Right now we have "+DATA.length+" titles: "+movies.length+" movies and "+(DATA.length-movies.length)+" series. And I add more every day."; var wantS=/\b(series|show|shows|season|episode|drama|tv)\b/.test(q), wantM=/\b(movie|movies|film|films)\b/.test(q)&&!wantS; var ym=raw.match(/\b(19|20)\d{2}\b/), yr=ym?+ym[0]:0; var pool=DATA.filter(function(x){ return (!wantS||x.y==='series')&&(!wantM||x.y!=='series')&&(!yr||x.yr===yr||String(x.t).indexOf(String(yr))>=0); }); if(/\b(surprise|random|anything|recommend|suggest)\b/.test(q)){ var pk=pool.slice().sort(function(){ return Math.random()-.5; }); return pk.length?pick(["Ooh, okay. Try one of these:","Here's what I'd watch tonight:","I've got a few favourites for you:"])+list(pk,4):"Hmm, nothing like that yet. Try me with something else?"; } if(/\b(new|latest|recent|just added|today|this week|fresh)\b/.test(q)&&tok(q).length===0){ var today=new Date(); today.setHours(0,0,0,0); var st=today.getTime()/1000; var arr=pool.slice().sort(function(a,b){ return (b.a||0)-(a.a||0); }); if(/today/.test(q)){ var td=arr.filter(function(x){ return x.a>=st; }); if(td.length) return "I added "+td.length+" today, take a look:"+list(td,8); return "Nothing new yet today, I'm still working on it. Here's what I added last:"+list(arr,6); } return "Fresh from me:"+list(arr,8); } var words=tok(q), phrase=words.join(' '); if(words.length){ var sc=pool.map(function(it){ return {it:it,s:score(it,words,phrase)}; }).filter(function(o){ return o.s>=2; }).sort(function(a,b){ return b.s-a.s||(b.it.a||0)-(a.it.a||0); }); if(sc.length){ if(sc[0].s>=12&&(sc.length===1||sc[0].s>sc[1].s+4)){ var it=sc[0].it; return pick(["Yes! We have "+esc(it.t)+":","Found it! "+esc(it.t)+" is right here:","Good choice. Here's "+esc(it.t)+":"])+row(it)+(sc.length>1?"You might also like:"+list(sc.slice(1).map(function(o){ return o.it; }),3):''); } return pick(["Here's what I found for you:","Let me see... these are the closest:","I think you mean one of these:"])+list(sc.map(function(o){ return o.it; }),6); } } if(wantS||wantM||yr){ if(pool.length) return (yr?yr+' ':'')+(wantS?'Series':wantM?'Movies':'Titles')+" on the site:"+list(pool,8); } return "I couldn't find that one yet, sorry! Try another spelling, or have a look through Movies and Series. I'll keep an eye out for it."; } function pick(a){ return a[Math.floor(Math.random()*a.length)]; } function ask(q){ add(esc(q),true); var w=add('',false); load(function(){ var r=answer(q), d=Math.min(1800,500+r.replace(/<[^>]+>/g,'').length*9); setTimeout(function(){ w.innerHTML=r; body.scrollTop=body.scrollHeight; },d); }); } function open(){ panel.classList.add('open'); if(!greeted){ greeted=true; load(function(){ var h=new Date().getHours(), gr=h<12?'Good morning':h<17?'Good afternoon':'Good evening'; add(gr+"! I'm "+esc(NAME)+" 👋 I write about everything new here. Tell me what you feel like watching, or tap one of the ideas below.",false); }); } setTimeout(function(){ input&&input.focus(); },80); } window.__aiAsk=function(q){ if(!panel.classList.contains('open')) open(); ask(q); }; fab.addEventListener('click',function(){ panel.classList.contains('open')?panel.classList.remove('open'):open(); }); if(closeb) closeb.addEventListener('click',function(){ panel.classList.remove('open'); }); if(form) form.addEventListener('submit',function(e){ e.preventDefault(); var v=input.value.trim(); if(!v) return; input.value=''; ask(v); }); document.querySelectorAll('#aiChips .aichip').forEach(function(c){ c.addEventListener('click',function(){ ask(c.getAttribute('data-q')); }); }); })(); })();