PageSourceSearch

https://www.shopware.com/_nuxt/CPPYVyBb.js

js shopware.com collected 2026-09-24 07:50:50 UTC 12,150 bytes, 1 lines download raw bytes

1import{c as Y,b as Z}from"./BKi2Yx9_.js";import{v as E,u as I,e as O,f as T,w as N,F as H,r as J,z as tt,A as et,_ as at,G as st,p as it,g as ot}from"./CZuL13tX.js";import{R as K}from"./C9uadrci.js";import{n as V,a4 as a,B as o,a7 as w,u as e,M as n,ac as l,ab as d,a5 as c,ai as b,a9 as f,aa as g,L as A,ad as q,q as u,a6 as lt,k as nt}from"./DFsHQQM9.js";import"./DLlVKNpl.js";import"./BHgPH2rx.js";import"./BLS7zIHv.js";import"./TS4IpSFE.js";const dt={class:"box--padding !tw-flex tw-flex-col tw-relative !tw-p-7 !tw-pt-8 tw-gap-8 tw-h-full tw-border-1/2 tw-border-default tw-rounded-12 tw-overflow-hidden"},rt={key:0,class:"tw-flex tw-items-center tw-h-10"},ct={class:"tw-flex tw-flex-col tw-gap-y-1"},ut={key:0,class:"tw-text-wrap type-heading-xs-semibold"},wt={key:1,class:"rich-text--default type-body-md !tw-text-subtle"},pt={key:2,class:"type-body-md !tw-text-subtle"},ht={key:1,class:"tw-flex tw-flex-wrap tw-gap-2.5"},mt={key:2,class:"tw-mt-auto tw-overflow-hidden tw-rounded-12 xs:tw-shrink-0"},Q=V({__name:"GridItem",props:{data:{}},setup(t){const s=t,{t:v}=E({useScope:"local"}),i=I({asset:s.data.fields.thumbnail,fields:s.data.fields}),r=I({asset:s.data.fields.productLogo,fields:s.data.fields});function S(){return{...J()}}return(h,B)=>{const x=O,k=T,P=N,M=H;return a(),o("div",{class:f(["release-post-container",{"tw-items-stretch":!0}])},[w("div",dt,[e(r).exists?(a(),o("div",rt,[n(x,{imageSrc:e(r).url??"",imageAlt:e(r).description,width:e(r).width,height:e(r).height,imageClass:"tw-w-auto tw-max-h-10",sources:[{width:e(r).width,quality:100,type:"webp"},{width:e(r).width,quality:85,type:"png"}],lazyLoading:!1},null,8,["imageSrc","imageAlt","width","height","sources"])])):l("",!0),w("div",ct,[t.data?.fields?.title?(a(),o("h3",ut,d(t.data.fields.title),1)):l("",!0),t.data?.fields?.longDescription?(a(),o("div",wt,[n(k,null,{default:c(()=>[n(e(K),{document:t.data.fields.longDescription,nodeRenderers:S()},null,8,["document","nodeRenderers"])]),_:1})])):t.data?.fields?.shortDescription?(a(),o("p",pt,d(t.data.fields.shortDescription),1)):l("",!0)]),t.data?.fields?.url?(a(),o("div",ht,[n(P,{variant:"link-secondary",iconSuffix:"long-arrow",href:t.data.fields.url},{default:c(()=>[b(d(e(v)("learnMore")),1)]),_:1},8,["href"])])):l("",!0),e(i).exists?(a(),o("div",mt,[n(x,{imageSrc:e(i).url??"",imageAlt:e(i).description??e(i).title,class:"tw-w-full tw-h-full",imageClass:"tw-w-full tw-h-full xs:tw-object-cover xs:tw-object-center",width:e(i).width,height:e(i).height,sources:[{width:564,quality:85,media:"(min-width: 1024px)",type:"webp"},{width:564,quality:75,media:"(min-width: 1024px)",type:"jpg"},{width:902,quality:80,media:"(min-width: 768px)",type:"webp"},{width:902,quality:70,media:"(min-width: 768px)",type:"jpg"},{width:670,quality:80,media:"(min-width: 480px)",type:"webp"},{width:670,quality:70,media:"(min-width: 480px)",type:"jpg"},{width:383,quality:80,type:"webp"},{width:383,quality:70,type:"jpg"}],lazyLoading:!1},null,8,["imageSrc","imageAlt","width","height"])])):l("",!0),n(M,{sysId:t.data?.sys?.id,label:t.data?.fields?.componentName},null,8,["sysId","label"])])])}}});function F(t){const s=t;s.__i18n=s.__i18n||[],s.__i18n.push({locale:"",resource:{en:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Learn more"}}},de:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Mehr erfahren"}}},it:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Scopri di più"}}},nl:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Meer informatie"}}},fr:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"En savoir plus"}}}}})}typeof F=="function"&&F(Q);const ft=Object.assign(Q,{__name:"ReleasePostGridItem"}),gt={class:"tw-relative tw-flex sm:tw-grid tw-flex-col sm:tw-flex-row sm:tw-grid-cols-[400px,auto] tw-gap-6 sm:tw-gap-8 lg:tw-gap-10 tw-h-full"},yt={class:"tw-flex tw-flex-col"},_t={key:0,class:"type-body-sm !tw-text-subtle"},bt={key:1,class:"type-heading-md tw-mt-1"},vt={class:"tags tw-flex tw-flex-wrap tw-gap-2 tw-mt-6"},xt={key:2,class:"tw-hidden sm:tw-flex tw-flex-wrap tw-gap-2.5 tw-mt-8"},St={key:0,class:"rich-text--default type-body-lg"},kt={key:1,class:"type-body-lg"},Pt={key:2,class:"tw-bg-blue-50 tw-rounded-8 tw-shadow-basic tw-overflow-hidden"},Rt={key:3,class:"tw-flex sm:tw-hidden tw-flex-wrap tw-gap-2.5"},U=V({__name:"RowsItem",props:{data:{},size:{default:"M"}},setup(t){const s=t,{localeProperties:v,t:i}=E({useScope:"local"}),{slugify:r}=st(),S=u(()=>new Date(s.data?.fields?.releaseDate?.toString()).toLocaleDateString(v.value.language,{day:"2-digit",month:"2-digit",year:"numeric"})),h=I({asset:s.data.fields.thumbnail,fields:s.data.fields}),B=u(()=>s.data.fields?.releaseVersion?.toString().includes(">")),x=u(()=>s.data.fields?.releaseVersion?.toString().replace(">","").trim());function k(){return{...J()}}return(P,M)=>{const j=at,C=et,y=tt,m=N,_=T,R=O,D=H;return a(),o("div",{class:f(["release-post-container tw-w-full",{"tw-items-stretch":!0}])}
1,[w("div",gt,[w("div",yt,[t.data?.fields?.releaseDate?(a(),o("div",_t,d(e(S)),1)):l("",!0),t.data?.fields?.title?(a(),o("h3",bt,d(t.data.fields.title),1)):l("",!0),w("div",vt,[t.data?.fields?.plan?(a(),g(y,{key:0},{default:c(()=>[b(d(t.data.fields.plan)+" ",1),t.data.fields.plan==="Shopware Beyond"||t.data.fields.plan==="Shopware Evolve"?(a(),g(C,{key:0,size:"S"},{content:c(()=>[b(d(e(i)(`editionAndPlans.${e(r)(t.data.fields.plan)}.tooltip`)),1)]),default:c(()=>[n(j,{name:"InfoCircle",type:"solid",size:12})]),_:1})):l("",!0)]),_:1})):l("",!0),(a(!0),o(A,null,q(t.data?.fields?.productCategories,(L,z)=>(a(),g(y,{key:z},{default:c(()=>[b(d(L),1)]),_:2},1024))),128)),e(B)?(a(),g(y,{key:1},{default:c(()=>[b(d(`${e(i)("availableFrom")}: ${e(x)}`),1)]),_:1})):t.data?.fields?.releaseVersion?(a(),g(y,{key:2},{default:c(()=>[b(d(t.data.fields.releaseVersion),1)]),_:1})):l("",!0)]),t.data?.fields?.url?(a(),o("div",xt,[n(m,{variant:"link-primary",iconSuffix:"long-arrow",href:t.data.fields.url},{default:c(()=>[b(d(e(i)("learnMore")),1)]),_:1},8,["href"])])):l("",!0)]),w("div",{class:f(["tw-flex tw-flex-col tw-gap-6 sm:tw-gap-8",{"sm:tw-pt-6":t.data?.fields?.releaseDate}])}
1,[t.data?.fields?.longDescription?(a(),o("div",St,[n(_,null,{default:c(()=>[n(e(K),{document:t.data.fields.longDescription,nodeRenderers:k()},null,8,["document","nodeRenderers"])]),_:1})])):t.data?.fields?.shortDescription?(a(),o("p",kt,d(t.data.fields.shortDescription),1)):l("",!0),e(h).exists?(a(),o("div",Pt,[n(R,{imageSrc:e(h).url??"",imageAlt:e(h).description??e(h).title,class:"tw-w-full tw-h-full",imageClass:"tw-w-full tw-h-full xs:tw-object-contain xs:tw-object-center",width:e(h).width,height:e(h).height,sources:[{width:800,quality:85,media:"(min-width: 1024px)",type:"webp"},{width:800,quality:85,media:"(min-width: 1024px)",type:"jpg"},{width:512,quality:85,media:"(min-width: 768px)",type:"webp"},{width:512,quality:85,media:"(min-width: 768px)",type:"jpg"},{width:707,quality:80,media:"(min-width: 480px)",type:"webp"},{width:707,quality:80,media:"(min-width: 480px)",type:"jpg"},{width:400,quality:75,type:"webp"},{width:400,quality:75,type:"jpg"}],lazyLoading:!1},null,8,["imageSrc","imageAlt","width","height"])])):l("",!0),t.data?.fields?.url?(a(),o("div",Rt,[n(m,{variant:"link-primary",iconSuffix:"long-arrow",href:t.data.fields.url},{default:c(()=>[b(d(e(i)("learnMore")),1)]),_:1},8,["href"])])):l("",!0)],2),n(D,{sysId:t.data?.sys?.id,label:t.data?.fields?.componentName},null,8,["sysId","label"])])])}}});function G(t){const s=t;s.__i18n=s.__i18n||[],s.__i18n.push({locale:"",resource:{en:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Learn more"}},availableFrom:{t:0,b:{t:2,i:[{t:3}],s:"Available from"}},editionAndPlans:{"shopware-beyond":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Beyond includes all features of Shopware Rise and Evolve."}}},"shopware-evolve":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Evolve includes all features of Shopware Rise."}}}}},de:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Mehr erfahren"}},availableFrom:{t:0,b:{t:2,i:[{t:3}],s:"Verfügbar ab"}},editionAndPlans:{"shopware-beyond":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Beyond enthält zusätzlich alle Features von Shopware Rise und Evolve."}}},"shopware-evolve":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Evolve enthält zusätzlich alle Features von Shopware Rise."}}}}},it:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Scopri di più"}},availableFrom:{t:0,b:{t:2,i:[{t:3}],s:"Disponibile dal"}},editionAndPlans:{"shopware-beyond":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Beyond è il piano più completo, ed include tutte le funzionalità di Shopware Rise ed Evolve."}}},"shopware-evolve":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Evolve è il piano intermedio, ed include tutte le funzionalità di Shopware Rise."}}}}},nl:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"Meer informatie"}},availableFrom:{t:0,b:{t:2,i:[{t:3}],s:"Beschikbaar vanaf"}},editionAndPlans:{"shopware-beyond":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Met Shopware Beyond krijg je alles wat Shopware Rise en Evolve te bieden hebben, en meer."}}},"shopware-evolve":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Evolve bouwt voort op de mogelijkheden van Shopware Rise."}}}}},fr:{learnMore:{t:0,b:{t:2,i:[{t:3}],s:"En savoir plus"}},availableFrom:{t:0,b:{t:2,i:[{t:3}],s:"Disponible à partir de"}},editionAndPlans:{"shopware-beyond":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Beyond inclut toutes les fonctionnalités de Shopware Rise et Evolve."}}},"shopware-evolve":{tooltip:{t:0,b:{t:2,i:[{t:3}],s:"Shopware Evolve inclut toutes les fonctionnalités de Shopware Rise."}}}}}}})}typeof G=="function"&&G(U);const $t=Object.assign(U,{__name:"ReleasePostRowsItem"}),Bt={class:"row"},Mt={class:"col col-12"},jt={class:"col-inner"},At={key:1},qt=5,Ct=V({__name:"ReleasePosts",props:{data:{}},async setup(t){let s,v;const i=t,r=u(()=>!!i.data.fields?.subtitle||!!i.data.fields?.title||!!i.data.fields?.description),S=u(()=>i.data.fields?.sectionTextAlignment==="Left"),h=u(()=>i.data.fields?.releasePostsLayout==="Grid"),B=u(()=>i.data.fields?.releasePostsLayout==="Rows"),x=u(()=>i.data?.fields?.sectionSize?`section--inner--${i.data.fields.sectionSize.toLowerCase()}`:""),{localeProperties:k}=E({useScope:"local"}),P=u(()=>k.value.code),M=nt(1),j=u(()=>M.value),{data:C}=([s,v]=lt(async()=>it("get-release-posts",async()=>
1{const _=i?.data?.fields?.whichReleasePosts;let R=!1;if(_==="Get all highlights")R=!0;else if(_==="Get selected")return!1;return await $fetch(`/api/contentful/release-posts/${P.value}/all`,{method:"POST",body:{highlights:R},query:{currentPage:j.value,limit:qt}})},{watch:[j]})),s=await s,v(),s),y=u(()=>{if(i?.data?.fields?.whichReleasePosts==="Get selected")return i?.data.fields?.releasePosts;const _=C?.value;return _?_.items:void 0}),m=u(()=>y?.value?.length||0);return(_,R)=>{const D=Y,L=ft,z=$t,W=ot,X=Z;return a(),g(X,{data:t.data,overflow:"hidden"},{default:c(()=>[w("div",{class:f(["section--inner",e(x)])},[n(D,{data:t.data},null,8,["data"]),w("div",Bt,[w("div",Mt,[w("div",jt,[e(h)?(a(),o("div",{key:0,class:f(["tw-flex sm:tw-grid tw-flex-wrap sm:tw-grid-cols-2 sm:tw-justify-center is--full-height tw-gap-4",{"tw-mt-8 sm:tw-mt-9 lg:tw-mt-10":e(r),"lg:tw-grid-cols-3":e(m)===3,"lg:tw-grid-cols-[repeat(30,minmax(0,1fr))]":e(m)===5}])},[(a(!0),o(A,null,q(e(y),($,p)=>(a(),g(L,{key:p,data:$,class:f({"sm:tw-col-span-2 lg:tw-col-span-1":p===0&&e(m)===3,"sm:tw-col-span-2":p===0&&e(m)===5,"lg:tw-col-[span_15]":p<=1&&e(m)===5,"lg:tw-col-[span_10]":p>1&&e(m)===5})},null,8,["data","class"]))),128))],2)):e(B)?(a(),o("div",At,[w("div",{class:f(["tw-flex tw-justify-center tw-flex-col tw-gap-8 sm:tw-gap-10 lg:tw-gap-12 tw-divide-y tw-divide-default",{"tw-mt-8 sm:tw-mt-9 lg:tw-mt-10":e(r)}])},[(a(!0),o(A,null,q(e(y),($,p)=>(a(),g(z,{key:p,data:$,size:"M",class:f({"tw-pt-8 sm:tw-pt-10 lg:tw-pt-12":p>0})},null,8,["data","class"]))),128))],2)])):l("",!0)])])]),t.data?.fields?.buttonsOutro?(a(),o("div",{key:0,class:f(["tw-flex tw-flex-wrap tw-gap-2.5 tw-items-center tw-mt-8 sm:tw-mt-9 lg:tw-mt-10",{"tw-justify-center":!e(S)}])},[(a(!0),o(A,null,q(t.data.fields.buttonsOutro,($,p)=>(a(),g(W,{key:p,data:$},null,8,["data"]))),128))],2)):l("",!0)],2)]),_:1},8,["data"])}}}),Ot=Object.assign(Ct,{__name:"PageBuilderSectionsReleasePosts"});export{Ot 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.