PageSourceSearch

https://five-am.com/_nuxt/Animation.b3c458a3.js

js five-am.com collected 2026-10-05 05:26:29 UTC 2,265 bytes, 1 lines download raw bytes

1import{d as j,u as C,r as s,b as D,e as t,n as c,f as P,g as e,w as W,o as y,c as f,a,h as x,t as d,i as v,j as h}from"./entry.47b36a40.js";import{_ as M}from"./logo-white.4ae42695.js";const Y=["data-uid"],L={class:"FlexWrapper"},N={class:"PhraseWrapper"},S={class:"Phrase h2"},B={class:"Percentage"},F={id:"Count"},H={key:0,class:"ClockWrapper"},T={class:"Clock h2"},V=a("div",{class:"LogoWrapper"},[a("img",{class:"Logo",src:M,alt:"Logo"})],-1),E=j({__name:"Animation",props:{blok:{}},setup(w){const g=w,u=C();let r=s(!1),p=s(!1),m=s(6),l=s(0),i=s("false"),n=s("false");D(()=>{n.value=t().$dayjs().format("YYYY.MM.DD"),i.value=window.localStorage.getItem("homePlayedDate")||"false",r.value=u.path==="/",p.value=u.query.prevpage==="project"||!1,k()});async function k(){r.value&&(i.value==="false"||t().$dayjs(n.value).diff(t().$dayjs(i.value),"day")>14)?$():_()}async function $(){await c(),A(),setTimeout(()=>{_(),window.localStorage.setItem("homePlayedDate",n.value)},5e3)}async function A(){await c();const o=`section.Animation[data-uid='${g.blok._uid}']`;t().$gsap.timeline().to(m,{value:9,duration:3.5,ease:"power0"}).to(`${o} .Clock`,{opacity:0,duration:.3,ease:"power1.ease-in-out"},">").to(`${o} .LogoWrapper`,{opacity:1,duration:.2,ease:"power1.ease-in-out"},">-0.1").to(`${o} .ClockWrapper`,{opacity:0,duration:1,delay:.5,ease:"power1.ease-in-out"})}async function _(){await c(),t().$gsap.timeline().to(".FlexWrapper",{duration:1,opacity:1,ease:"power2.ease-out"}).to(l,{value:100,duration:2,ease:"power2.ease-out"},"<").to(".FlexWrapper",{duration:.5,opacity:0,ease:"power2.ease-out"},">").to(".Animation",{translateY:"-100%",duration:.5,ease:"power1.ease-in-out"},">-.3").to(".Animation",{opacity:0,duration:.5,ease:"power1.ease-in-out"},">-.1")}return(o,I)=>{const b=P("editable");return e(p)?h("",!0):W((y(),f("section",{key:0,class:"Animation","data-uid":o.blok._uid},[a("div",L,[a("div",N,[a("div",{class:"Overlay",style:x({bottom:`${e(l)}%`})},null,4),a("div",S,d(o.blok.phrase),1)]),a("div",B,[v("("),a("span",F,d(Math.round(e(l))),1),v(")")])]),e(r)&&(e(i)==="false"||e(t)().$dayjs(e(n)).diff(e(t)().$dayjs(e(i)),"day")>14)?(y(),f("div",H,[a("div",T,"04:59:5"+d(Math.round(e(m))),1),V])):h("",!0)],8,Y)),[[b,o.blok]])}}});export{E 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.