1import{j as x,h as e,K as f,$ as h,Z as v,d as g,e as y,f as C,g as m,i as o,J as G,bl as j,p as $,I,aD as N}from"./VUELVvYr.js";import{s as O}from"./Br523n6n.js";import{S as B,a as P,W as T}from"./OtZrNmJF.js";import{_ as W}from"./BwQmDFdZ.js";import{e as z,f as D,S as V}from"./Q8WXAUiV.js";import"./DSA0bN2G.js";const E="_section_142wi_50",L="_card_big_wrapper_142wi_54",M="_splide_wrapper_142wi_64",J="_splide_track_142wi_82",K="_card_carousel_wrapper_142wi_85",R="_offer_card_142wi_105",Z="_image_wrapper_142wi_119",q="_guest_badge_142wi_128",A="_text_wrapper_142wi_143",F="_text_142wi_143",H="_description_142wi_158",Q="_price_142wi_162",a={"object-fit":"_object-fit_142wi_1","auto-alpha":"_auto-alpha_142wi_11","is-fluid":"_is-fluid_142wi_16","is-fluid-inner":"_is-fluid-inner_142wi_33",section:E,card_big_wrapper:L,splide_wrapper:M,splide_track:J,card_carousel_wrapper:K,offer_card:R,image_wrapper:Z,guest_badge:q,text_wrapper:A,text:F,description:H,price:Q,"background-blue":"_background-blue_142wi_174","background-red":"_background-red_142wi_178","background-green":"_background-green_142wi_182","background-yellow":"_background-yellow_142wi_186"},w=({data:t})=>{const r=x(),i={de:P,en:B}[r.currentLang??"de"],{title:s,images:_,lead:p,priceText:b,button:l,isGuestProgram:c,isBadgeSummerGuestProgram:S,isBadgeWinterGuestProgram:k,color:d,nameShopCategory:u}=t;return e("div",{class:a.offer_card},[e("div",{class:a.image_wrapper},[c&&S&&e(i,{filled:!0,fontControlled:!1,class:a.guest_badge},null),c&&k&&e(T,{filled:!0,fontControlled:!1,class:a.guest_badge},null),e(W,{data:_[0],objectfit:!0,sizes:"md:300px lg:500px"},null)]),e("div",{class:f(a.text_wrapper,a[`background-${d}`])},[u&&c&&e("p",{class:f(`text-${d}`,"text-s")},[u]),e("div",{class:a.text},[e("h4",null,[s]),p&&e("p",{class:a.description},[p])]),e("div",{class:a.price},[e("h5",null,[b]),e(h,{to:l.link.href,target:l.link.target,variant:l.variant},{default:()=>[l.label]})])])])};function U(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!v(t)}const X=({data:t})=>{let r;const n={gap:"2.5rem",pagination:!1,autoWidth:!0,arrows:!1,padding:{left:"var(--padding-global)",right:"var(--padding-global)"},breakpoints:{1023:{gap:"1rem"}}};return e(V,{class:a.splide_wrapper,options:n,"aria-label":"offers","has-track":!1},{default:()=>[e(z,{class:a.splide_track},U(r=t.map((i,s)=>e(D,{key:s},{default:()=>[e("div",{class:a.card_carousel_wrapper},[e(w,{data:i},null)])]})))?r:{default:()=>[r]})]})},ie=g({__name:"index",props:{data:{}},setup(t){const r=t,n=g(()=>{const{layout:i}=r.data.appearance,{items:s}=r.data.content,_=s[0];return s.length?i==="card-big"?()=>e("div",{class:a.card_big_wrapper},[e(w,{data:_},null)]):()=>e(X,{data:s},null):()=>e("div",null,[N("No Items in Content Shop")])});return(i,s)=>(C(),y(o(I),{class:$(o(a).section),style:j(o(O)(i.data.appearance))},{default:m(()=>[e(o(G),null,{default:m(()=>[e(o(n))]),_:1})]),_:1},8,["class","style"]))}});export{ie 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.