PageSourceSearch

https://archivi.ng/_nuxt/CxEAw3eh.js

js archivi.ng collected 2026-10-02 17:06:16 UTC 10,043 bytes, 1 lines download raw bytes

1import{g as A,L as q,j as F,o as l,h as o,D as i,I as d,x as g,U as R,F as k,i as j,a8 as b,E as C,B as a,aS as E,G as P,P as u,H as v,Q as V,a4 as D,a9 as N,J as O,a5 as U,ag as G,a as S,c as f,ac as W,v as J}from"./D3Mi9OEl.js";(function(){try{var y=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};y.SENTRY_RELEASE={id:"b1d507726365c2fa65bdc507ac9080512e92ee9c"};var n=new y.Error().stack;n&&(y._sentryDebugIds=y._sentryDebugIds||{},y._sentryDebugIds[n]="762c0130-01ac-40eb-bfd7-7f73a42d6d9f",y._sentryDebugIdIdentifier="sentry-dbid-762c0130-01ac-40eb-bfd7-7f73a42d6d9f")}catch{}})();const Q=""+new URL("play-episode.DrC8ISup.svg",import.meta.url).href,Y=["data-slice-type","data-slice-variation","data-slice-id"],K={key:0,class:"fellowship__projects--wrapper"},X={class:"fellowship__projects--bg"},x={class:"fellowship__projects--header"},ee={class:"fellowship__projects--work"},ie={class:"project__image"},se={class:"project__list"},le={class:"project__content--number"},te={class:"project__content--title"},oe={key:1,class:"fellowship__projects--plain"},ae={class:"fellowship__projects--work"},re={key:0,class:"video__bg"},ne=["innerHTML"],de={class:"fellowship__projects--header"},ce={key:2,class:"fellowship__projects--wrapper"},ue={class:"fellowship__projects--header"},pe={class:"fellowship__projects--work"},me={key:0,class:"project__image"},_e={key:1,class:"project__image playing"},ye=["innerHTML"],he={class:"project__list"},ve={class:"project__content"},fe={class:"project__content--number"},we={class:"project__content--title"},ge=["onClick"],ke=["innerHTML"],be={key:3,class:"fellowship__summary--section"},Le={class:"fellowship__summary--header"},$e={class:"fellowship__summary--body"},je={class:"fellowship__summary--media"},Ce={key:0,class:"summary__video"},Se=["innerHTML"],Me=["innerHTML"],Te={class:"fellowship__summary--aside"},Ie={key:0,class:"summary__text"},Be={key:1,class:"summary__episodes"},He={class:"summary__episode--text"},Ee={class:"summary__episode--number"},Pe={class:"summary__episode--title"},Ve=["aria-label","onClick"],De=["innerHTML"],Ne={key:3,class:"summary__cta is-coming-soon"},We=A({__name:"index",props:G(),setup(y){const n=y,p=S({}),m=S(null),h=S({}),Z=q(),M=P,L=f(()=>`/projects/${Z.params.fellowshipcohort}`),w=f(()=>{const{article:e}=n.slice.primary;return e?e.link_type==="Document"&&e.uid?{to:`${L.value}/${e.uid}`}:e.link_type==="Web"&&e.url?{href:e.url,target:e.target||"_blank",rel:"noopener noreferrer"}:null:null}),z=f(()=>{const{description:e}=n.slice.primary;return!w.value&&!!e}),T=f(()=>{const{theme:e}=n.slice.primary;return e?`is-${e.replace(/\s+/g,"-")}`:null}),I=f(()=>{if(!m.value)return null;const{episodes:e}=n.slice.primary,t=Number(m.value.split("-episode-")[1]);return e?.[t]??null});F(()=>{n.slice.variation==="fellowshipCardWithVideo"&&(p.value[n.slice.id]=!0),n.slice.variation==="fellowshipCardWithSummary"&&(p.value[n.slice.id]=!0),(n.slice.variation==="fellowshipCardWithAudio"||n.slice.variation==="fellowshipCardWithSummary")&&n.slice.primary.episodes?.forEach((e,t)=>{const c=`${n.slice.id}-episode-${t}`;h.value[c]=!0})});function B(e,t=".embed-content"){const c=n.slice.id;W(()=>{const s=document.querySelector(`[data-slice-id="${c}"]`)?.querySelector(`${t} iframe`);if(s&&s.src.includes("youtube.com")){const r=s.src,$=r.includes("?")?`${r}&autoplay=1`:`${r}?autoplay=1`;s.src=$}}),setTimeout(()=>{p.value[c]=!1},300)}function H(e){const t=`${n.slice.id}-episode-${e}`;if(m.value&&m.value!==t){const c=m.value.split("-episode-")[1],_=`${n.slice.id}-episode-${c}`;h.value[_]=!0}h.value[t]=!1,m.value=t,W(()=>{setTimeout(()=>{const _=document.querySelector(`[data-slice-id="${n.slice.id}"]`)?.querySelector(`.audio-embed-${e}-inline iframe`);if(_){const s=_.src;let r=s;s.includes("spotify.com")?console.log("Spotify embed loaded - manual play required"):s.includes("soundcloud.com")?(r=s.includes("?")?`${s}&auto_play=true`:`${s}?auto_play=true`,_.src=r):(r=s.includes("?")?`${s}&autoplay=1`:`${s}?autoplay=1`,_.src=r)}},100)})}return(e,t)=>{const c=R,_=P;return l(),o("section",{"data-slice-type":e.slice.slice_type,"data-slice-variation":e.slice.variation,"data-slice-id":e.slice.id},[e.slice.variation==="default"?(l(),o("div",K,[i("div",X,[i("div",x,[i("h2",null,d(e.slice.primary.title),1),i("p",null,"By "+d(e.slice.primary.author),1)]),i("div",ee,[i("div",ie,[g(c,{field:e.slice.primary.image,loading:"lazy",class:"project__image--img"}
1,null,8,["field"])]),i("div",se,[(l(!0),o(k,null,j(e.slice.primary.chapters,(s,r)=>(l(),o("div",{class:"project__item",key:r},[(l(),b(E(s.chapter?.uid?a(M):"div"),{to:s.chapter?.uid?`${a(L)}/${s.chapter.uid}`:void 0,class:"project__content"},{default:C(()=>[i("p",le,d(s.title),1),i("h3",te,d(s.description),1)]),_:2},1032,["to"]))]))),128))])])])])):u("",!0),e.slice.variation==="fellowshipCardWithVideo"?(l(),o("div",oe,[i("div",ae,[i("div",{class:v(["project__image",{"video-playing":!a(p)[e.slice.id]}])},[a(p)[e.slice.id]?(l(),o("div",re,[g(c,{field:e.slice.primary.image,loading:"lazy",class:"project__image--img"},null,8,["field"]),i("button",{class:"video__bg--btn",onClick:t[0]||(t[0]=V(s=>B(),["prevent"]))},[...t[2]||(t[2]=[i("svg",{width:"81",height:"81",viewBox:"0 0 81 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M40.5 81C62.8675 81 81 62.8675 81 40.5C81 18.1325 62.8675 0 40.5 0C18.1325 0 0 18.1325 0 40.5C0 62.8675 18.1325 81 40.5 81Z",fill:"#544A31"}),i("path",{d:"M56.6022 41.748L30.2217 55.2147V28.2812L56.6022 41.748Z",fill:"#F9F8EF"})],-1)])])])):u("",!0),D(i("div",{innerHTML:e.slice.primary.video_link.html,class:"embed-content"},null,8,ne),[[N,!a(p)[e.slice.id]]])],2),i("div",de,[i("h2",null,d(e.slice.primary.title),1),i("p",null,"By "+d(e.slice.primary.author),1),e.slice.primary.article?.uid?(l(),b(_,{key:0,to:`${a(L)}/${e.slice.primary.article.uid}`,class:"view--btn"},{default:C(()=>[...t[3]||(t[3]=[O(" View Project ",-1),i("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M15.5992 12.8594L9.59922 18.8594L8.19922 17.4594L12.7992 12.8594L8.19922 8.25937L9.59922 6.85937L15.5992 12.8594Z",fill:"#141413"})],-1)])]),_:1},8,["to"])):u("",!0)])])])):u("",!0),e.slice.variation==="fellowshipCardWithAudio"?(l(),o("div",ce,[i("div",{class:v(["fellowship__projects--bg",a(T)])},[i("div",ue,[i("h2",null,d(e.slice.primary.title),1),i("p",null,"By "+d(e.slice.primary.author),1)]),i("div",pe,[a(m)?a(m)&&e.slice.primary.episodes?(l(),o("div",_e,[i("div",{innerHTML:e.slice.primary.episodes[parseInt(a(m).split("-episode-")[1])]?.audio_track?.html,class:"audio-embed-main"},null,8,ye)])):u("",!0):(l(),o("div",me,[g(c,{field:e.slice.primary.image,loading:"lazy",class:"project__image--img"},null,8,["field"])])),i("div",he,[(l(!0),o(k,null,j(e.slice.primary.episodes,(s,r)=>(l(),o("div",{class:"project__item",key:r},[i("div",ve,[i("p",fe,d(s.title),1),i("h3",we,d(s.description),1)]),s.audio_track?.html&&a(h)[`${e.slice.id}-episode-${r}`]?(l(),o("button",{key:0,class:"project__item--btn",onClick:$=>H(r)},[...t[4]||(t[4]=[i("img",{src:Q,alt:"play"},null,-1)])],8,ge)):s.audio_track?.html?(l(),o("div",{key:1,innerHTML:s.audio_track.html,class:v([`audio-embed-${r}-inline`,"audio-embed-inline"])},null,10,ke)):u("",!0)]))),128))])])],2)])):u("",!0),e.slice.variation==="fellowshipCardWithSummary"?(l(),o("div",be,[i("div",{class:v(["fellowship__summary--card",a(T)])},[i("div",Le,[i("h2",null,d(e.slice.primary.title),1),i("p",null,"By "+d(e.slice.primary.author),1)]),i("div",$e,[i("div",je,[e.slice.primary.video_link?.html?(l(),o(k,{key:0},[a(p)[e.slice.id]?(l(),o("div",Ce,[g(c,{field:e.slice.primary.image,loading:"lazy",class:"summary__media--img"},null,8,["field"]),i("button",{class:"summary__video--btn","aria-label":"Play video",onClick:t[1]||(t[1]=V(s=>B(),["prevent"]))},[...t[5]||(t[5]=[i("svg",{width:"81",height:"81",viewBox:"0 0 81 81",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M40.5 81C62.8675 81 81 62.8675 81 40.5C81 18.1325 62.8675 0 40.5 0C18.1325 0 0 18.1325 0 40.5C0 62.8675 18.1325 81 40.5 81Z",class:"play__disc"}),i("path",{d:"M56.6022 41.748L30.2217 55.2147V28.2812L56.6022 41.748Z",class:"play__arrow"})],-1)])])])):u("",!0),D(i("div",{innerHTML:e.slice.primary.video_link.html,class:"embed-content"},null,8,Se),[[N,!a(p)[e.slice.id]]])],64)):a(I)?(l(),o("div",{key:1,innerHTML:a(I).audio_track?.html,class:"audio-embed-main"},null,8,Me)):(l(),b(c,{key:2,field:e.slice.primary.image,loading:"lazy",class:"summary__media--img"},null,8,["field"]))]),i("div",Te,[e.slice.primary.description?(l(),o("p",Ie,d(e.slice.primary.description),1)):u("",!0),e.slice.primary.episodes?.length?(l(),o("div",Be,[(l(!0),o(k,null,
1j(e.slice.primary.episodes,(s,r)=>(l(),o("div",{class:"summary__episode",key:r},[i("div",He,[i("p",Ee,d(s.title),1),i("h3",Pe,d(s.description),1)]),s.audio_track?.html&&a(h)[`${e.slice.id}-episode-${r}`]?(l(),o("button",{key:0,class:"summary__episode--btn","aria-label":`Play ${s.title}`,onClick:$=>H(r)},[...t[6]||(t[6]=[i("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[i("circle",{cx:"18",cy:"18",r:"18",class:"play__disc"}),i("path",{d:"M25 18L13.75 24.4952L13.75 11.5048L25 18Z",class:"play__episode-arrow"})],-1)])],8,Ve)):s.audio_track?.html?(l(),o("div",{key:1,innerHTML:s.audio_track.html,class:v([`audio-embed-${r}-inline`,"audio-embed-inline"])},null,10,De)):u("",!0)]))),128))])):u("",!0),a(w)?(l(),b(E(a(w)?.to?a(M):"a"),U({key:2},a(w),{class:"summary__cta"}),{default:C(()=>[i("span",null,d(e.slice.primary.cta_label||"View Project"),1),t[7]||(t[7]=i("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[i("path",{d:"M15.4 12L9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12Z"})],-1))]),_:1},16)):a(z)?(l(),o("span",Ne," Coming soon ")):u("",!0)])])],2)])):u("",!0)],8,Y)}}}),ze=J(We,[["__scopeId","data-v-904f0269"]]);export{ze 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.