PageSourceSearch

https://production.brntgs.expert.de/_nuxt/D8kkxhEn.js

js expert.de collected 2026-10-02 05:23:32 UTC 4,948 bytes, 1 lines download raw bytes

1import{a as e,o as t}from"./Dfk4-QnV.js";import{H as n,Jt as r,K as i,Tt as a,_t as o,at as s,d as c,f as l,it as u,l as d,nt as f,p,u as m,x as h,y as g}from"./qM8YL8pb.js";import{m as _}from"./FYkAK_a9.js";import{a as v}from"./BEJORWiV.js";import{r as y}from"./CjC-4Vyq.js";import{t as b}from"./CibWaaku.js";import{C as x,S,i as C,n as w,t as T}from"./AfL2Ks6I.js";import{t as E}from"./HXXTGdy3.js";import{f as D}from"./aRgv2g2O.js";import{t as O}from"./BDNMzG2s.js";import{d as k}from"#entry";import{t as A}from"./D2W_GdYZ.js";import{a as j}from"./Cg361zUC.js";import{n as M,r as N}from"./ChhqPErw.js";import{t as P}from"./CUvn7hJ4.js";import{n as F,t as I}from"./DYboiRtP.js";import{t as L}from"./BRbgsCWs.js";import{n as R,r as z,t as B}from"./D7qq7w2e.js";var V={key:0,class:`category_heading`},H={key:0,class:`zoovuuScript px-8`},U=[`innerHTML`],W=Object.assign(h({__name:`Header`,props:{currentCategory:{}},setup(e){let t=e,i=v(),o=y(`ES-4621`);_();let u=d(()=>t.currentCategory?.mainParentId===null);return(t,d)=>{let f=z,m=k,h=R;return n(),p(`div`,null,[e.currentCategory?.contextSensitiveData?.name&&!a(u)?(n(),p(`h1`,V,r(e.currentCategory?.contextSensitiveData?.name),1)):l(``,!0),g(m,null,{default:s(()=>[a(i)?.isAppUser?l(``,!0):(n(),c(f,{key:0,"category-id":e.currentCategory?.categoryId},null,8,[`category-id`]))]),_:1}),g(m,null,{default:s(()=>[a(o)?(n(),p(`div`,H,[g(h,{"current-category":e.currentCategory},null,8,[`current-category`])])):l(``,!0)]),_:1}),e.currentCategory?.contextSensitiveData?.seoContent1?(n(),p(`div`,{key:1,class:`seo_content_1 p-4`,innerHTML:e.currentCategory?.contextSensitiveData?.seoContent1},null,8,U)):l(``,!0)])}}}),{__name:`LayoutCategoryHeader`}),G={class:`ppm-container`},K={key:0,class:`title`},q={key:1,class:`link`},J=Object.assign(O(h({__name:`Skeleton`,props:{listName:{},linkToMore:{type:Boolean},numberOfSlides:{default:12}},setup(e){let t=e,i=o({height:460,gap:15,breakpoints:{900:{itemsToShow:4,snapAlign:N.START}}}),c=d(()=>{let e=0;return Array(t.numberOfSlides).fill({id:e++})});return(t,o)=>{let u=P,d=M;return n(),p(`div`,G,[e.listName?(n(),p(`div`,K,[m(`h2`,null,r(e.listName),1)])):l(``,!0),e.linkToMore?(n(),p(`div`,q,[...o[0]||=[m(`span`,{class:`nav-link text-primary underline decoration-solid text-center`},` Alle Artikel anzeigen `,-1)]])):l(``,!0),g(d,{class:`slider`,slides:a(c),config:a(i)},{default:s(()=>[g(u)]),_:1},8,[`slides`,`config`])])}}}),[[`__scopeId`,`data-v-d18986bc`]]),{__name:`BasicPpmSkeleton`}),Y={key:0,class:`sponsored-products`},X=Object.assign(h({__name:`index`,props:{pageType:{},articleSkuList:{default:()=>[]},categoryIds:{default:()=>[]},searchWord:{default:void 0},brands:{default:()=>[]},limit:{default:12}},async setup(r){let m,h,_=r,v=e().$searchClient(`/api/search/ppm-category`),y=D().reactiveBaseAppName,O=w(T.MARKETING),k=o(!0),M=d(()=>{let e;return e=_.articleSkuList&&_.articleSkuList.length>0?_.articleSkuList:C().value?.ecommerce?.impressions?.map(e=>e?.id)??[],e.filter(Boolean)}),{data:N,status:P}=([m,h]=u(()=>b(`${t().public.apiUrl}/api/neo/article/getSponsoredArticles`,{key:`sponsored-articles/${_.pageType.toLowerCase()}`,method:`POST`,body:{user:x().value,institutionId:S(),pageType:_.pageType,device:{userAgent:E().userAgent,isMobile:E().isMobile},categoryIds:_.categoryIds,searchWord:_.searchWord,articleSkuList:M.value,filteredManufacturers:_.brands}},`$eyh2r9nJon`)),m=await m,h(),m),R=o(`articleNumber:1`),z=o(new Map),B=`&slot=`,V=`&sku=`,{placementBeaconString:H}=j();f(N,()=>{let e=[],t=0;for(let n of N.value?.articles??[])B+=`${t}|`,V+=`${n.articleReference}|`,t++,e.push(n.articleReference),z.value.set(n.articleReference,n);switch(V=V.slice(0,-1),B=B.slice(0,-1),H.value=V+B,e.length){case 0:R.value=`articleNumber:1`;break;case 1:R.value=`articleNumber:`+e.at(0);break;default:R.value=`articleNumber:(`+e.join(` OR `)+`)`}},{immediate:!0});let U=e=>(k.value=!1,e.map(e=>({...e,beacons:z.value.get(e.articleView.articleNumber)})));return(e,t)=>{let o=A;return a(O)?(n(),p(`div`,Y,[g(o,{"show-placeholder":a(k)},{placeholder:s(()=>[i(e.$slots,`placholder`)]),default:s(()=>[a(P)===`success`?(n(),c(a(I),{key:0,"search-client":a(v),"index-name":a(y)},{default:s(()=>[g(a(F),{hitsPerPage:r.limit,filters:a(R)},null,8,[`hitsPerPage`,`filters`]),g(a(L),{"transform-items":U},{default:s(({items:t})=>
1[i(e.$slots,`default`,{sponsoredItems:t,onLoadBeaconLink:a(N)?.onLoadBeacon,onViewBeaconLink:a(N)?.onViewBeacon})]),_:3})]),_:3},8,[`search-client`,`index-name`])):l(``,!0)]),_:3},8,[`show-placeholder`])])):l(``,!0)}}}),{__name:`SearchSponsored`}),Z=Object.assign(h({__name:`Footer`,props:{currentCategory:{}},setup(e){return(t,r)=>{let i=B;return e.currentCategory?.contextSensitiveData?.seoContent2?(n(),c(i,{key:0,class:`seo_content_2 overflow-x-auto p-4`,content:e.currentCategory.contextSensitiveData.seoContent2},null,8,[`content`])):l(``,!0)}}}),{__name:`LayoutCategoryFooter`});export{W as i,X as n,J as r,Z 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.