PageSourceSearch

https://calgets.online/_nuxt/QmBGpKxl.js

js calgets.online collected 2026-10-10 02:35:53 UTC 2,089 bytes, 1 lines download raw bytes

1import{_ as Q}from"./GwvAALwP.js";import{C as T,S as P,N as V,P as B}from"./CRlg6Qzo.js";import{_ as N}from"./xayY6f6I.js";import{U as z,az as R,bR as j,ae as i,o as a,H as s,a1 as o,br as O,e as r,ah as $,S as k,al as f,ai as F,f as t,j as _,cM as H,Q as M,F as b,J as u,ao as p,a8 as g,ag as D}from"./DXUOrLbK.js";const E={class:"carousel__item h-100 w-100 px-1"},G={__name:"Cards",props:{block:{type:Object,default(){return{items:[],isQuote:!1,isSlider:!1,linksAsText:!1,cardsPerRow:3}}}},setup(e){const c=e,{mobile:d}=R(),h=_(()=>({itemsToShow:d.value?1.2:2.2,wrapAround:!0,snapAlign:"start",gap:24,autoplay:1e4,pauseAutoplayOnHover:!0})),w=_(()=>Math.max(12/(c.block.items.length||1),12/(c.block.cardsPerRow||3))),x=j(c.block);return(l,I)=>{const m=Q,y=P,C=V,A=B,v=N,S=T;return a(),i("div",{class:u(["container-wrap",e.block.background?`background-${e.block.background}`:null])},[s(D,{class:u(["constrained",[t(x)]])},{default:o(()=>[O(l.$slots,"default",{},void 0,!0),e.block.isSlider?(a(),r(S,H(M({key:1},t(h))),{addons:o(()=>[s(v,null,{default:o(()=>[b("div",{class:u(["slider-gradient",{mobile:t(d)}])},null,2),s(C,null,{prev:o(()=>[s(p,{icon:"mdi-arrow-left",color:("colors"in l?l.colors:t(g)).primary,width:"54",height:"54"},null,8,["color"])]),next:o(()=>[s(p,{icon:"mdi-arrow-right",color:("colors"in l?l.colors:t(g)).primary,width:"54",height:"54"},null,8,["color"])]),_:1}),s(A)]),_:1})]),default:o(()=>[(a(!0),i(k,null,f(e.block.items,n=>(a(),r(y,{key:n.id},{default:o(()=>[b("div",E,[s(m,{class:"w-100 h-100",card:n,linksAsText:e.block.linksAsText,isQuote:e.block.isQuote},null,8,["card","linksAsText","isQuote"])])]),_:2},1024))),128))]),_:1},16)):(a(),r($,{key:0,class:"content-row justify-center align-stretch"},{default:o(()=>[(a(!0),i(k,null,f(e.block.items,n=>(a(),r(F,{class:"d-flex",cols:"12",md:t(w),key:n.id},{default:o(()=>[s(m,{card:n,linksAsText:e.block.linksAsText,isQuote:e.block.isQuote},null,8,["card","linksAsText","isQuote"])]),_:2},1032,["md"]))),128))]),_:1}))]),_:3},8,["class"])],2)}}},K=z(G,[["__scopeId","data-v-2ccfbe74"]]);export{K 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.