PageSourceSearch

https://outfit7.com/_nuxt/8nF6adhL.js

js outfit7.com collected 2026-10-09 22:40:20 UTC 5,574 bytes, 2 lines download raw bytes

1import U from"./taPhI3Xx.js";import V from"./DwsxVWbc.js";import{_ as H}from"./vweIbM6z.js";import L from"./DluuSyGK.js";import{M as b}from"./B9_LY6dA.js";import{d as W,C as J,r as $,o as Q,a as x,e as q,f as S,h as _,b as g,c as C,w as M,g as j,t as I,q as D,R as X,F as Y,y as Z,A as tt}from"./BgOPsrZ5.js";import{i as et}from"./C-6AHoV1.js";import{t as at,g as nt,a as rt,b as st}from"./2SB6Kk0_.js";import{v as ot}from"./Bui5cylZ.js";import{n as A,i as it,a as lt}from"./BvMu_eFY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="f4d9a9e0-292d-446e-84e8-6f1c92b4fa40",t._sentryDebugIdIdentifier="sentry-dbid-f4d9a9e0-292d-446e-84e8-6f1c92b4fa40")}catch{}})();const ct=5;function E(t,n,s){const a=Math.max(n-ct,0);return ot(s-t(a),n-a)}const v={stiffness:100,damping:10,mass:1},ut=(t=v.stiffness,n=v.damping,s=v.mass)=>n/(2*Math.sqrt(t*s));function mt(t,n,s){return t<n&&s>=n||t>n&&s<=n}const dt=({stiffness:t=v.stiffness,damping:n=v.damping,mass:s=v.mass,from:a=0,to:e=1,velocity:l=0,restSpeed:r,restDistance:m}={})=>{l=l?at.s(l):0;const c={done:!1,hasReachedTarget:!1,current:a,target:e},i=e-a,o=Math.sqrt(t/s)/1e3,d=ut(t,n,s),f=Math.abs(i)<5;r||(r=f?.01:2),m||(m=f?.005:.5);let p;if(d<1){const u=o*Math.sqrt(1-d*d);p=h=>e-Math.exp(-d*o*h)*((-l+d*o*i)/u*Math.sin(u*h)+i*Math.cos(u*h))}else p=u=>e-Math.exp(-o*u)*(i+(-l+o*i)*u);return u=>{c.current=p(u);const h=u===0?l:E(p,u,c.current),T=Math.abs(h)<=r,y=Math.abs(e-c.current)<=m;return c.done=T&&y,c.hasReachedTarget=mt(a,e,c.current),c}},N=10,ft=1e4;function gt(t,n=A){let s,a=N,e=t(0);const l=[n(e.current)];for(;!e.done&&a<ft;)e=t(a),l.push(n(e.done?e.target:e.current)),s===void 0&&e.hasReachedTarget&&(s=a),a+=N;const r=a-N;return l.length===1&&l.push(e.current),{keyframes:l,duration:r/1e3,overshootDuration:(s??r)/1e3}}function z(t){return it(t)&&!isNaN(t)}function R(t){return lt(t)?parseFloat(t):t}function pt(t){const n=new WeakMap;return(s={})=>{const a=new Map,e=(r=0,m=100,c=0,i=!1)=>{const o=`${r}-${m}-${c}-${i}`;return a.has(o)||a.set(o,t(Object.assign({from:r,to:m,velocity:c},s))),a.get(o)},l=(r,m)=>(n.has(r)||n.set(r,gt(r,m)),n.get(r));return{createAnimation:(r,m=!0,c,i,o)=>{let d,f,p,u=0,h=A;const T=r.length;if(m){h=nt(r,i?rt.get(st(i)):void 0);const y=r[T-1];if(p=R(y),T>1&&r[0]!==null)f=R(r[0]);
1else{const k=o==null?void 0:o.generator;if(k){const{animation:w,generatorStartTime:K}=o,P=(w==null?void 0:w.startTime)||K||0,F=(w==null?void 0:w.currentTime)||performance.now()-P,G=k(F).current;f=G,u=E(O=>k(O).current,F,G)}else c&&(f=R(c()))}}if(z(f)&&z(p)){const y=e(f,p,u,i==null?void 0:i.includes("scale"));d=Object.assign(Object.assign({},l(y,h)),{easing:"linear"}),o&&(o.generator=y,o.generatorStartTime=performance.now())}return d||(d={easing:"ease",duration:l(e(0,100)).overshootDuration}),d}}}}const B=pt(dt),ht={class:"relative overflow-hidden bg-red-500 lg:m-5 rounded-3xl"},_t={class:"relative flex justify-center w-full mt-20 mb-6 lg:mb-8 lg:mt-12"},yt={class:"relative z-10"},wt=["src"],Rt=W({__name:"ttf-promo",props:{title:{default:""},copy:{default:""},cardSets:{default:()=>[]}},setup(t){const{cdnUrl:n}=J().public,s=$(null),a=$(!1);return Q(()=>{et(s.value,()=>{a.value=!0},{amount:.2})}),(e,l)=>{var o;const r=U,m=V,c=H,i=L;return x(),q("div",ht,[S("div",{ref_key:"ttfContainer",ref:s,class:"relative z-10 flex flex-col items-center justify-center pt-20 pb-6 lg:pb-16 lg:pt-32"},[_(g(b),{animate:{opacity:a.value?[0,1]:0},transition:{duration:.5},src:"/placeholders/homepage/talking-logo.png",class:"max-h-24 lg:max-h-full",tag:"img"},null,8,["animate"]),e.title?(x(),C(g(b),{key:0,animate:{opacity:a.value?[0,1]:0},transition:{duration:.5,delay:.1},class:"max-w-2xl px-6 mt-10 text-3xl text-center text-white lg:mt-12 lg:text-6xl leading-tight lg:leading-[1.1]",tag:"h2"},{default:M(()=>[j(I(e.title),1)]),_:1},8,["animate"])):D("",!0),e.title?(x(),C(g(b),{key:1,animate:{opacity:a.value?[0,1]:0},transition:{duration:.5,delay:.2},class:"max-w-xl px-6 mt-6 text-base text-center text-white lg:mt-8 lg:text-xl",tag:"p"},{default:M(()=>[j(I(e.copy),1)]),_:1},8,["animate"])):D("",!0),S("div",_t,[S("div",yt,[S("img",{src:`${g(n)}/assets/1_our_work/ttf-promo.png`,alt:"Talking Tom and Friends",class:"relative"},null,8,wt),_(g(b),{initial:{opacity:0}
1,animate:{scale:a.value?[0,1]:0,opacity:[0,1]},transition:{duration:1.2,delay:.2,easing:g(B)()},class:"absolute top-0 right-0 z-20 w-20 mr-16 overflow-hidden md:w-32 lg:w-52 md:mr- -mt-14 xl:-mr-44 lg:-mt-24"},{default:M(()=>[_(r,{class:""})]),_:1},8,["animate","transition"])]),_(m,{class:X(["absolute w-full -mt-16 lg:-left-10 top-full -left-8 lg:-mt-52",e.cardSets&&e.cardSets.length>0?" lg:max-w-xl":"max-w-xs lg:max-w-3xl"])},null,8,["class"])]),((o=e.cardSets)==null?void 0:o.length)>0?(x(!0),q(Y,{key:2},Z(e.cardSets,(d,f)=>(x(),C(c,tt({key:f,ref_for:!0},d,{class:"mt-6 lg:mt-8 mb-6 lg:mb-8"}),null,16))),128)):D("",!0)],512),_(g(b),{initial:{opacity:0},animate:{scale:a.value?[0,1]:0,opacity:[0,1]},transition:{duration:.8,delay:.2,easing:g(B)()},class:"absolute top-0 w-20 -mt-2.5 ml-4 lg:w-40 lg:mt-28 lg:ml-28"},{default:M(()=>[_(i)]),_:1},8,["animate","transition"]),_(g(b),{initial:{opacity:0},animate:{scale:a.value?[0,1]:0,opacity:[0,1]},transition:{duration:1,delay:.6,easing:g(B)()},class:"absolute top-0 right-0 w-24 -mt-2.5 -mr-2 lg:w-56 lg:mr-56 lg:-mt-8"},{default:M(()=>[_(i)]),_:1},8,["animate","transition"])])}}});export{Rt as _};
2//# sourceMappingURL=8nF6adhL.js.map

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.