1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`a6fafdec27`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`ce67145f-3461-4874-8edb-853cd8453215`,e._sentryDebugIdIdentifier=`sentry-dbid-ce67145f-3461-4874-8edb-853cd8453215`)}catch{}})();import{$t as e,Jn as t,Kn as n,Wn as r,bn as i,gr as a,or as o,pn as s,rr as c,xn as l,yn as u}from"./WCVDKeko.js";import{t as d}from"./CXpljZ4d.js";/* empty css */import{t as f}from"./BrCIWec8.js";import{t as p}from"./CtXwioEg.js";import{t as m}from"./DBhINueK.js";import{t as h}from"./m9gwXzn5.js";import{i as g}from"./DjmWnzYb2.js";e();var _={class:`category-image-box-list`},v={key:0,class:`placeholder-card`},y=[`innerHTML`],b=[`innerHTML`],x=d({__name:`CategoryImageBoxList`,props:{elements:{type:Object,required:!0}},setup(e){return(r,a)=>{let c=f,d=p,g=m,x=h;return n(),l(`div`,_,[(n(!0),l(s,null,t(e.elements,(e,t)=>(n(),l(s,{key:t},[e?(n(),l(s,{key:0},[e.type===`placeholder`?(n(),l(`div`,v)):e.type?(n(),u(c,{key:1,product:e,"show-tags":!1},null,8,[`product`])):[`sign`,`stamp`].includes(e.type)&&e.new===!0?(n(),u(d,{key:2,type:e.type,to:e.target},{default:o(()=>[e.type===`sign`?(n(),l(`span`,{key:0,innerHTML:r.$t(`PRODUCT_CREATE_SIGN`)},null,8,y)):(n(),l(`span`,{key:1,innerHTML:r.$t(`PRODUCT_CREATE_STAMP`)},null,8,b))]),_:2},1032,[`type`,`to`])):e.icon?(n(),u(g,{key:3,title:e.title,to:e.target,icon:e.icon,"real-link":e.realLink},null,8,[`title`,`to`,`icon`,`real-link`])):e.image?(n(),u(x,{key:4,to:e.target,title:e.title,image:e.image,"no-source":e.noSource,heading:e.heading,"real-link":e.realLink,"scroll-to":e.scrollTo,"editor-model":e.editorModel},null,8,[`to`,`title`,`image`,`no-source`,`heading`,`real-link`,`scroll-to`,`editor-model`])):i(``,!0)],64)):i(``,!0)],64))),128))])}}},[[`__scopeId`,`data-v-e5584da1`]]);e();function S(e,t,n){let{width:i}=g(),o=a(0),s=a(!1),l=a(!1),u=a(!0),d=a(0),f=a(0),p=a(0),m=a(0),h=a({width:0,height:0}),_=a(0),v=null,y=0,b=null,x=0,S=()=>
1{if(!e.value)return;v=e.value.querySelector(t),b=v.querySelectorAll(n);let r=b.length;Math.abs(r%2)==1&&r++;let i=b[0].getBoundingClientRect().width,a=b[0].getBoundingClientRect().height;h.value={width:i,height:a},_.value=parseFloat(window.getComputedStyle(v).gap||0);let c=v.clientWidth,g=Math.floor(c/i),S=g*2;d.value=S,f.value=2,p.value=g,u.value=r===S,y=i+_.value;let C=y*g,w=r/2*y-c-_.value;x=Math.min(o.value*C,w),m.value=x,s.value=!u.value&&o.value>0,l.value=!u.value&&o.value<Math.ceil(r/S)-1&&w>_.value/2,v.style.transform=`translateX(-${x}px)`},C=()=>{let t=e.value.querySelectorAll(`img`);t.length>0&&(t[t.length-1].onload=()=>{S()})},w=()=>{l.value&&(o.value++,S())},T=()=>{s.value&&(o.value--,S())},E=e=>{e>=0&&e<Math.ceil(b.length/2)&&(o.value=e,S())};return r(()=>{S(),C()}),c(i,()=>{S(),E(0)}),{currentIndex:o,canSlidePrev:s,canSlideNext:l,next:w,prev:T,gap:_,goTo:E,nbCardsVisible:d,nbRows:f,nbColumns:p,translationSize:m,cardSize:h,isAllVisible:u}}export{x as n,S as t};
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.