PageSourceSearch

https://seriesaddict.fr/assets/index-C-qc084Q.js

js seriesaddict.fr collected 2026-10-02 06:31:43 UTC 4,014 bytes, 1 lines download raw bytes

1import{u as e,_ as a}from"./LandingLayout.vue_vue_type_style_index_0_lang-D6BBJ7hq.js";import{_ as t}from"./VLoader.vue_vue_type_style_index_0_lang-CDfFGEG0.js";import{_ as s}from"./VFlexPagination-Brn7tJ-c.js";import{_ as i}from"./SAAds.vue_vue_type_style_index_0_lang-Box4hxk0.js";import{_ as r}from"./SAVideo-Ok7TyIfl.js";import{_ as l}from"./IsEmpty-Cv0f8zgL.js";import{_ as n}from"./VIconButton.vue_vue_type_script_lang-1aTcTqVa.js";import{q as o,u,s as d,r as p,c,o as _,v as m,x as g,y as v,z as y,A as h,b as f,f as j,C as x,d as b,J as V,N as k,I as P,O as A,a as S,F as w,j as T,i as L}from"./index-CBidmUkf.js";import{s as I}from"./data-JXOL836a.js";import"./_plugin-vue_export-helper-BCo6x5W8.js";import"./VBreadcrumb.vue_vue_type_style_index_0_lang-CeSBuhFn.js";import"./VDrawer-t5YfFEOE.js";import"./VModal.vue_vue_type_style_index_0_lang-DbjVMeUF.js";import"./VButton.vue_vue_type_style_index_0_lang-2ixw7Nsq.js";import"./VInput.vue_vue_type_script_setup_true_lang-aAuqgsTm.js";import"./SAAlertText-CRexs1kr.js";import"./defaultResource-nNNw8NJ5.js";import"./useNotyf-C4gVVOZS.js";import"./VAvatar.vue_vue_type_style_index_0_lang-Pi6fXZWi.js";import"./logo-CxXS7KxG.js";import"./responsive-DvqjYacn.js";const $={class:"container py-6"},B={class:"is-flex gap-1 mb-4"},C={class:"search-widget is-w-1_3"},N={class:"field"},R={class:"control"},U=["disabled"],q={class:"is-grid is-video_grid gap-2"},z=o({__name:"index",setup(o){const z=e(),F=u(),K=d({loading:!0}),O=p(""),D=p({currentPage:1,perPage:8,total:0}),E=p([{label:"SeriesAddict",link:"/"},{label:"Trailers series"}]),J=p([]),M=p(1),Q=c(()=>F.userStatus),W=c(()=>"superadmin"===Q.value),X=async e=>{D.value.currentPage=e,await Z()},Y=async()=>{O.value="",await Z()},Z=async()=>{var e;const a=D.value.currentPage,t=O.value,s=D.value.perPage,{total:i,data:r}=await z.list(`list-trailers?p=${a}&limit=${s}&q=${t}`,!0);J.value=r,M.value=h(1,(null==(e=J.value)?void 0:e.length)-1),D.value.total=i};return _(async()=>{await Z(),K.loading=!1}),m({title:"Video Serie Trailer - Series Addict",meta:[...I,{hid:"og:title",name:"og:title",content:"Video Serie Trailer - Series Addict"}],link:[{rel:"shortcut icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"icon",type:"image/x-icon",href:"/logo.png"}]}),(e,o)=>{const u=n,d=l,p=r,c=i,_=s,m=t,h=a;return f(),g(h,{breadcrumb:y(E),loading:y(K).loading,title:"Trailers series"},{"is-content":v(()=>[j("section",$,[j("div",B,[j("div",C,[j("div",N,[j("div",R,[V(j("input",{"onUpdate:modelValue":o[0]||(o[0]=e=>A(O)?O.value=e:null),type:"text",class:"input",placeholder:"Rechercher une vidéo...",onKeypress:P(Z,["enter"])},null,544),[[k,y(O)]]),j("button",{class:"search-button",disabled:y(O).length<1,onClick:Z},[...o[2]||(o[2]=[j("i",{"aria-hidden":"true",class:"iconify","data-icon":"feather:search"},null,-1)])],8,U)])])]),y(O).length>1?(f(),g(u,{key:0,icon:"solar:restart-line-duotone",color:"success",style:{width:"42px",height:"42px"},elevated:"",outlined:"",onClick:Y})):b("",!0)]),x(m,{size:"large",active:y(z).isLoading},{default:v(()=>{var e;return[0===(null==(e=y(J))?void 0:e.length)?(f(),g(d,{key:0,img:"search-1"})):(f(),S(w,{key:1},[j("div",q,[(f(!0),S(w,null,T(y(J).slice(0,y(M)),(e,a)=>(f(),g(p,{key:e,entity:e,"is-admin":y(W),class:L([y(J).length>2&&0===a&&"is-up_list"])},null,8,["entity","is-admin","class"]))),128)),x(c,{"add-client":"ca-pub-9289859043538567",style:{"border-radius":"1rem",overflow:"hidden"},"ad-slot":"5730477788","ad-format":"auto",responsive:!0}),(f(!0),S(w,null,T(y(J).slice(y(M),y(J).length),(e,a)=>(f(),g(p,{key:e,entity:e,"is-admin":y(W)},null,8,["entity","is-admin"]))),128))]),y(D).total>y(D).perPage?(f(),g(_,{key:0,"current-page":y(D).currentPage,"onUpdate:currentPage":[o[1]||(o[1]=e=>y(D).currentPage=e),X],"item-per-page":y(D).perPage,"total-items":y(D).total,"max-links-displayed":2,"no-router":""},null,8,["current-page","item-per-page","total-items"])):b("",!0)],64))]}),_:1},8,["active"])])]),_:1},8,["breadcrumb","loading"])}}});export{z 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.