PageSourceSearch

https://ibis-gear.com/_nuxt/uGUld_tH.js

js ibis-gear.com collected 2026-10-08 07:21:00 UTC 2,347 bytes, 1 lines download raw bytes

1import{Q as e,c as s,_ as a,T as t,j as i,B as r}from"./B7ccFUPv.js";import{aw as l,aD as n,o}from"./aLQnx8Zs.js";import{d}from"./C7d_RyQm.js";import{w as u,r as c,c as p,a9 as g,x as h,a8 as m,q as f,ac as w,u as y,F as b,ad as j,a0 as v}from"./DWaT-nfm.js";import"./DOJK5LbE.js";import"./CAfoXNGp.js";import"./BPKidK6_.js";import"./BQTGlgzh.js";import"./CkiEBX65.js";import"./SB_aEqEL.js";const x=d("brand-store",{state:()=>({list:{}}),actions:{async fetchBrand(e){if(this.list?.[e]?.length)return this.list?.[e];const s=await $fetch(`/api/brands-by-taxon/${e}`),a=s?.["hydra:member"]||[];return this.list[e]=[...a]?.slice(0,20),this.list[e]}},getters:{brandList:e=>e.list}}),P={__name:"AppHeaderCategoryMenuBrands",props:{categoryId:{type:Number,default:null},isShown:{type:Boolean,default:!1}},setup(d){const P=e(),I=s(),k=c(null),V=c(0),B=d,_=x(),C=p(()=>new t(i().findCategoryById(B.categoryId))),H=p(()=>_.brandList),S=p(()=>H.value[C.value.code]?H.value[C.value.code].map(e=>new r(e)):[]),$={autoplay:{delay:1e3,disableOnInteraction:!1},loop:!0,slidesPerView:10,watchSlidesProgress:!0,breakpoints:{600:{slidesPerView:8},900:{slidesPerView:9},1050:{slidesPerView:10},1200:{slidesPerView:11},1350:{slidesPerView:12},1500:{slidesPerView:13}},on:{activeIndexChange:e=>{V.value=e.activeIndex}}};u(k,e=>{e&&!e.swiper&&(Object.assign(e,$),e.initialize())},{flush:"post"});return u(()=>B.isShown,e=>{e&&C.value?.code&&_.fetchBrand(C.value.code).catch(e=>{})},{immediate:!0}),(e,t)=>{const i=a,r=n;return h(),g(r,null,{default:m(()=>[y(S).length?(h(),f("swiper-container",{key:0,ref_key:"containerRef",ref:k,init:!1},[(h(!0),f(b,null,j(y(S),(e,a)=>(h(),f("swiper-slide",{key:`${B.categoryId}-${e?.slug}`},[(h(),g(v(y(P).isHunting&&e?.slug?y(l):"div"),{to:y(P).isHunting&&e?.slug?y(I)("/brand/"+e?.slug):void 0,class:"border-gray border border-r-0 first:border-r relative h-12 p-2 w-full hover:cursor-pointer bg-white flex grayscale",onClick:a=>y(P).isHunting?null:((e=null)=>e?o(P.huntingDomain+s()("/brand/"+e),{external:!0}):()=>{})(e?.slug)},{default:m(()=>[d.isShown&&(a<y(V)||a-y(V)<14)?(h(),g(i,{key:0,src:e.getImagePath(),loading:"lazy",fit:"inside",class:"object-scale-down h-auto m-auto max-h-full max-w-full",height:"30"},null,8,["src"])):w("",!0)]),_:2},1032,["to","onClick"]))]))),128))],512)):w("",!0)]),_:1})}}};export{P 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.