PageSourceSearch

https://www.verbund.com/nuxtassets/Bx7WZ_TA.js

js verbund.com collected 2026-10-01 10:24:48 UTC 5,339 bytes, 1 lines download raw bytes

1import{d as C,o as B,E as H,h as l,j as a,m,Q as b,l as r,H as p,i as s,k,V as v,f as c,P as y,F as R,W as S,r as A,I as x,T,t as i}from"./Bv885plJ.js";import $ from"./Bn6oPhyZ.js";import V from"./CsazFTgL.js";import q from"./DS5RWsAB.js";import M from"./BbhU8VMR.js";import{E as z}from"./bzJyPOtb.js";import{P as G}from"./B1VHYNEl.js";import{B as L}from"./C4EdCxUa.js";import"./CzkZiB09.js";import"./D_vbGCS9.js";import"./CA8ub4es.js";const Q={class:"flex justify-center w-full pt-6"},W={class:"border border-blue-100 w-[28rem] rounded"},J={class:"relative spacing-inner-s flex flex-col spacing-gap-s rounded-b-none theme-secondary"},K={key:0,class:"flex flex-col gap-2"},X={key:0,class:"text-primary font-medium text-lg"},Y={key:2,class:"spacing-top-outer-m md:flex md:flex-row justify-center"},Z={class:"spacing-inner-s flex flex-col spacing-gap-s"},E={key:0,class:"text-center text-gray-600"},_={class:"flex justify-between w-full"},ee={class:"font-medium"},te={class:"text-gray-500 font-normal mr-4"},oe={key:2,class:"flex justify-center"},ie=C({__name:"NonCommodityProductModule",props:{blok:{type:Object,required:!0},productName:{type:String,required:!1,default:""},injectedPricing:{type:Object,required:!1,default:void 0}},emits:["mounted"],setup(t,{emit:N}){const o=t,w=N;B(()=>{w("mounted")});const h=e=>({label:e.label,unit:e.unit,primaryPrice:c().useNumberConverter().useToFormattedString(e.primaryOptInPrice?o.injectedPricing&&o.injectedPricing[e.primaryOptInPrice]!==void 0?o.injectedPricing[e.primaryOptInPrice]:void 0:e.primaryPrice?Number(e.primaryPrice):void 0,e.showFourDigitsPrice?4:2),secondaryPrice:c().useNumberConverter().useToFormattedString(o.blok.extendedGrossNetDisplay?e.secondaryOptInPrice?o.injectedPricing&&o.injectedPricing[e.secondaryOptInPrice]!==void 0?o.injectedPricing[e.secondaryOptInPrice]:void 0:e.secondaryPrice?Number(e.secondaryPrice):void 0:void 0,e.showFourDigitsPrice?4:2)}),I=e=>{const n=e.prices?.map(g=>h(g));if(!n.length)return{};const d=n[e.displayedPriceIndex-1]??n[n.length-1];return{primaryPrice:d.primaryPrice,label:d.label,unit:d.unit,pricingDetailsLabel:e.label,pricingInfo:e.pricingInfo,secondaryPricingInfo:e.secondaryPricingInfo,pricingDetails:n}},f=A([]);o.blok.pricingElements?.forEach(e=>{e.prices?.length?f.value.push(I(e)):f.value.push(h(e))});const j=x(()=>o.blok?.amountOfRowsForProductName==="3"?"md:h-[135px]":o.blok?.amountOfRowsForProductName==="2"?"md:h-[90px]":o.blok?.amountOfRowsForProductName==="1"?"md:h-[45px]":""),O=x(()=>o.blok?.amountOfRowsForDescription==="3"?"md:h-[4.5rem]":o.blok?.amountOfRowsForDescription==="2"?"md:h-[3rem]":o.blok?.amountOfRowsForProductName==="1"?"md:h-[1.5rem]":"");return(e,n)=>{const d=M,g=q,D=V,F=$,U=T("editable");return H((i(),l("div",Q,[a("div",W,[a("div",J,[m(z,{text:t.blok.eyecatcher,"background-color":t.blok.eyecatcherBackgroundColor},null,8,["text","background-color"]),t.blok.productName||t.productName?(i(),l("div",K,[t.blok.preHeadlineText?(i(),l("p",X,b(t.blok.preHeadlineText),1)):r("",!0),t.blok.productName||t.productName?(i(),l("p",{key:1,class:p([s(j),"h3-lookalike text-current"])},b(t.productName?t.productName:t.blok.productName),3)):r("",!0),t.blok.description?(i(),k(v,{key:2,class:p(s(O)),text:t.blok.description},null,8,["class","text"])):r("",!0)])):r("",!0),f.value.length?(i(),k(G,{key:1,pricing:f.value,"highlight-price":!0},null,8,["pricing"])):r("",!0),("useUtils"in e?e.useUtils:s(c))().useLinkHelper().useIsLinkSet(o.blok.productLink)&&o.blok.productLink&&o.blok.productLinkLabel?(i(),l("div",Y,[m(L,{id:`non-commodity-product-module-${t.blok._uid}-product-link`,"button-link":t.blok.productLink,class:"w-full",label:t.blok.productLinkLabel,"aria-label":("useUtils"in e?e.useUtils:s(c))().useFormsUtils().replacePlaceholders(t.blok.a11yAriaLabelProductLink,t.blok)},null,8,["id","button-link","label","aria-label"])])):r("",!0)]),a("div",Z,[t.blok.pricingInfo?(i(),l("p",E,b(t.blok.pricingInfo),1)):r("",!0),t.blok.accordeonElements&&t.blok.accordeonElements.length?(i(),k(F,{key:1,class:"transition-all","expand-icon":"pi pi-angle-down","collapse-icon":"pi pi-angle-up","aria-live":"polite"},{default:y(()=>[(i(!0),l(R,null,S(t.blok.accordeonElements,(u,P)=>(i(),k(D,{key:u._uid,value:P.toString(),class:p(["bg-blue-50 rounded border border-blue-100",[{"mb-2":P<t.blok.accordeonElements.length-1}]])},{default:y(()=>[m(d,{class:"text-gray-950 spacing-inner-s",pt:{toggleicon:()=>({class:"text-primary-500"})}},{default:y(()=>[a("div",_,[a("span",ee,b(u.headline),1),a("span",te,b(u.shortDe
1scription),1)])]),_:2},1024),m(g,null,{default:y(()=>[u.longDescription?(i(),k(v,{key:0,text:u.longDescription},null,8,["text"])):r("",!0)]),_:2},1024)]),_:2},1032,["value","class"]))),128))]),_:1})):r("",!0),("useUtils"in e?e.useUtils:s(c))().useLinkHelper().useIsLinkSet(o.blok.detailPageLink)&&o.blok.detailPageLink&&o.blok.detailPageLinkLabel?(i(),l("div",oe,[m(L,{id:`non-commodity-product-module-${t.blok._uid}-detail-page-link`,"button-link":t.blok.detailPageLink,link:"",label:t.blok.detailPageLinkLabel,"aria-label":("useUtils"in e?e.useUtils:s(c))().useFormsUtils().replacePlaceholders(t.blok.a11yAriaLabelDetailPage,t.blok)},null,8,["id","button-link","label","aria-label"])])):r("",!0)])])])),[[U,t.blok]])}}}),fe=Object.assign(ie,{__name:"NonCommodityProductModule"});export{fe 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.