PageSourceSearch

https://jewishvirtuallibrary.org/_nuxt/7WpZaS1E.js

js jewishvirtuallibrary.org collected 2026-09-24 08:29:30 UTC 1,782 bytes, 1 lines download raw bytes

1import{_ as b}from"./BC0bmsmX.js";import{_ as x}from"./v6eW2DxJ.js";import{J as V,r as i,K as g,z as y,c as F,a as c,w as k,b as s,i as L,e as f,F as B,l as C,g as l,s as S,t as p,x as D}from"./t8OAlijK.js";import"./DSNWTBrn.js";import"./D4H9sm2l.js";const N=V("featured-videos",()=>{const n=i(null),e=i(!1),r=g(),o=y();return{isLoading:e,contents:n,fetchFeaturedVideos:async()=>{e.value=!0;const t=await r.get("featured-videos");e.value=!1,t.success&&(n.value=t.data)},updateFeaturedVideos:async t=>{e.value=!0;const a=await r.put("featured-videos",{...t});return e.value=!1,a.success?(o.success(a.message),!0):(o.error(a.data.message),a.data.data)}}}),T={class:"row d-flex flex-wrap"},U={class:"col l11 m12 s12 mt-15"},j={class:"fs-15 text-black fw-bold"},q=["onUpdate:modelValue"],z=["src"],A={class:"d-flex justify-content-center mt-10"},E=["disabled"],G={__name:"index",setup(n){const e=N(),r=i([{}]),o=i([]),u=async()=>{await e.fetchFeaturedVideos(),o.value=e.contents};u();const _=async()=>{const t=await e.updateFeaturedVideos({videos:o.value});u(),r.value=t};return(t,a)=>{const m=b,v=x;return c(),F(v,{class:"rounded-3"},{default:k(()=>[a[0]||(a[0]=s("title",null,"Featured Videos",-1)),L(m,{title:"Featured Videos"}),s("div",T,[(c(!0),f(B,null,C(l(o),(d,h)=>(c(),f("div",{key:h,class:"col l6 m12 s12"},[s("div",U,[s("label",j,p(d==null?void 0:d.type),1),S(s("input",{"onUpdate:modelValue":w=>d.youtube_id=w,class:""},null,8,q),[[D,d.youtube_id]])]),s("div",null,[s("iframe",{height:"500",width:"510",src:`https://www.youtube.com/embed/${d.youtube_id}?modestbranding=1&rel=0&showinfo=0`},null,8,z)])]))),128))]),s("div",A,[s("button",{disabled:l(e).isLoading,class:"btn px-10",onClick:_},p(l(e).isLoading?"Loading..":"Save"),9,E)])]),_:1,__:[0]})}}};export{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.