PageSourceSearch

https://www.primaloft.com/_nuxt/Ds-0s4rt.js

js primaloft.com collected 2026-09-25 19:41:21 UTC 4,142 bytes, 1 lines download raw bytes

1import{_ as O,s as q}from"./OvqPHgV_.js";import{_ as E}from"./CMnzLudD.js";import{d as F,al as G,am as H,x as p,z as Q,ap as U,o as l,N as i,w as W,f as u,l as c,c as m,R as x,$ as C,a as s,F as S,m as J,j as K,Q as X,q as Y,e as Z,_ as ee,O as te,n as ae,g as oe,P as w,s as le}from"./D2A2PpuS.js";import{u as se}from"./BMxjsact.js";import{_ as ne}from"./DlAUqK2U.js";import"./DrpYiOiW.js";const re={class:"container"},ie={key:1,class:"relative"},ue={key:0,class:"max-notebook:mt-3xl notebook:absolute notebook:right-0 notebook:top-1/2 notebook:-translate-y-1/2 flex items-center justify-center"},ce=["aria-label"],me={key:2,class:"mt-3xl flex justify-center"},k=7,D=600,I=5e3,de=F({__name:"Logos",props:{headline:{},items:{},playLabel:{},pauseLabel:{},randomize:{type:Boolean,default:!1},button:{},moduleData:{default:()=>({})}},setup(e){const P={spacingTop:"large",spacingBottom:"large"},N=w(()=>se(P,e.moduleData)),{prefersReducedMotion:b}=G(H());let d=null,g=null;const n=p(!1),v=p(!1),f=p(-1),L=w(()=>{const t=Array.from({length:e.items?.length||0},(o,_)=>_),a=[];for(let o=0;o<t.length;o+=k)a.push(t.slice(o,o+k));return a}),z=()=>b.value?Array.from({length:e.items?.length||0},(t,a)=>a):e.items?.length?e.randomize?T():(f.value++,f.value>=L.value.length&&(f.value=0),L.value[f.value]||[]):[],T=()=>{if(!e.items?.length)return[];const t=Array.from({length:e.items.length},(a,o)=>o);for(let a=t.length-1;a>0;a--){const o=Math.floor(Math.random()*(a+1));[t[a],t[o]]=[t[o],t[a]]}return t.slice(0,k)},$=p(z()),y=w(()=>{const t=new Map;return $.value.forEach((a,o)=>t.set(a,o)),t}),M=()=>{b.value||(n.value=!0,d=q(()=>{v.value=!0,g=setTimeout(()=>{$.value=z(),v.value=!1},D)},I))},j=()=>{d&&clearInterval(d),g&&clearTimeout(g),d=null,g=null},V=()=>{n.value?(j(),n.value=!1):M()};return Q(()=>{M()}),U(()=>{j()}),(t,a)=>{const o=O,_=E,B=Y,R=ee,A=le;return l(),i(A,ae(oe(s(N))),{default:W(()=>[u("div",re,[e.headline?.label?(l(),i(o,{key:0,"default-tag":"h3","tag-class":"typo-overline",class:"mb-3xl [&>*]:typewriter-font-fallback text-center [&_em]:after:top-[-85%]! [&_em]:after:left-[-20%]! [&_em]:after:h-[300%]! [&_em]:after:w-[132%]! [&_em]:after:bg-size-[100%_100%]!",label:` ${e.headline?.label} `,"underline-images":["circle-3"]},null,8,["label"])):c("",!0),e.items?.length?(l(),m("div",ie,[u("div",{class:C(["gap-y-xl gap-x-2xl max-tablet:h-[14rem] tablet:min-h-[3.5rem] notebook:px-08 ease-out-quad flex transform-gpu flex-wrap items-center justify-center transition-opacity duration-(--swap-duration)",{"opacity-0":s(v),"will-change-[opacity]":s(n)}]),style:x({"--swap-duration":`${D}ms`}),"aria-live":"off"},[(l(!0),m(S,null,J(e.items,(r,h)=>(l(),m(S,{key:h},[r.image?K((l(),i(_,{key:0,"image-source":r.image.permalink||r.image.imageSource,width:r.image.width,height:r.image.height,style:x({"--image-ratio":`${r.image.width||3}/${r.image.height||1}`,"--image-order":s(y).get(h)??-1}),class:"tablet:max-h-[3.5rem] tablet:max-w-[12rem] order-(--image-order) aspect-(--image-ratio) max-h-[3rem] max-w-[10rem]","image-class":"object-contain size-full","aria-hidden":!s(y).has(h),sizes:"(min-width:760px) 10rem, 8rem"},null,8,["image-source","width","height","style","aria-hidden"])),[[X,s(y).has(h)]]):c("",!0)],64))),128))],6),s(b)?c("",!0):(l(),m("div",ue,[u("button",{class:"cursor-pointer rounded-full text-[1.5rem]","aria-label":s(n)?e.pauseLabel||t.$t("pause"):e.playLabel||t.$t("play"),onClick:V},[u("div",{class:C(["progress-circle relative flex size-[1.4rem] items-center justify-center rounded-full bg-black text-[0.8rem]",{"is-paused":!s(n)}]),style:x({"--animation-duration":`${I}ms`})},[a[0]||(a[0]=u("div",{class:"absolute size-[calc(1.4rem-3px)] rounded-full bg-white"},null,-1)),s(n)?(l(),i(B,{key:0,name:"icon:pause-small",class:"relative z-2"})):(l(),i(B,{key:1,name:"icon:play-small",class:"relative z-2"}))],6)],8,ce)]))])):c("",!0),e.button?.label?(l(),m("div",me,[Z(R,te(e.button,{label:`${e.button.label} →`,"button-style":"link","button-color":"current"}),null,16,["label"])])):c("",!0)])]),_:1},16)}}}),ye=Object.assign(ne(de,[["__scopeId","data-v-1f9bb6ed"]]),{__name:"Logos"});export{ye 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.