PageSourceSearch

https://fta.ca/_nuxt/CsdgI--S.js

js fta.ca collected 2026-10-02 06:58:08 UTC 2,257 bytes, 1 lines download raw bytes

1import M from"./osxQiXZR.js";import{I as N,u as E,b as L,c as U,a8 as V,a9 as f,C as W,q as A}from"./DiZhURkQ.js";import{ao as D,c as u,w as R,B as T,C as j,I as s,J as l,u as i,N as r,P as q,O as n,L as z,R as F,U as w,G as y,X as G,Y as J,Z as K}from"./wbHSvHwd.js";const X=e=>(J("data-v-5659ab37"),e=e(),K(),e),Y=["data-lenis-prevent"],Z=X(()=>r("div",{class:"popup__bg"},null,-1)),H={class:"popup__slot popup__container"},Q=["aria-label"],ee={key:0,class:"popup__title"},te={__name:"Popup",props:{title:String,wysiwyg:String,link:Object,isOpen:Boolean},emits:["openPopup","closePopup"],setup(e,{emit:k}){const g=E(),h=L(),{start:C,stop:S}=U(),_=D(),P=h.meta.lang,b=e,c=k,o=u(),a=u(),d=u();R(()=>b.isOpen,t=>{t?(S(),a.value.scrollTo(0,0),o.value.start(),window.addEventListener("keyup",m)):(C(),o.value.stop(),window.removeEventListener("keyup",m))});const m=t=>{t.key==="Escape"&&c("closePopup")},B=({target:t})=>{},v=t=>{o.value.raf(t*1e3)};return T(()=>{o.value=new V({wrapper:a.value,content:d.value,duration:1.2,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,wheelMultiplier:1,smoothTouch:!1,touchMultiplier:2,infinite:!1}),o.value.stop(),f.ticker.add(v)}),j(()=>{f.ticker.remove(v),o.value.destroy()}),(t,p)=>{const x=M,I=W,O=A;return s(),l("div",{class:G(["popup",{"popup--open":e.isOpen}]),"data-lenis-prevent":!i(g).$device.isDesktop||null,onClick:B},[Z,i(_).default?(s(),l("div",{key:0,class:"popup__wrapper",ref_key:"wrapper",ref:a},[r("div",H,[q(t.$slots,"default",{},void 0,!0)])],512)):n("",!0),i(_).default?n("",!0):(s(),l("div",{key:1,class:"popup__wrapper",ref_key:"wrapper",ref:a},[r("div",{class:"popup__content popup__container",ref_key:"content",ref:d}
1,[r("button",{class:"popup__close fade-hover",onClick:p[0]||(p[0]=$=>c("closePopup")),"aria-label":i(P)=="fr"?"Fermer la transcription":"Close transcript"},[z(x)],8,Q),e.title?(s(),l("div",ee,F(e.title),1)):n("",!0),e.wysiwyg?(s(),w(I,y({key:1},{wysiwyg:e.wysiwyg},{class:"popup__wysiwyg"}),null,16)):n("",!0),e.link?(s(),w(O,y({key:2,class:"popup__link"},e.link,{onClick:p[1]||(p[1]=$=>c("closePopup"))}),null,16)):n("",!0)],512)],512))],10,Y)}}},ae=N(te,[["__scopeId","data-v-5659ab37"]]);export{ae 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.