PageSourceSearch

https://www.soliver.eu/_nuxt/-xbR_Xsu.js

js soliver.eu collected 2026-10-04 00:07:39 UTC 9,065 bytes, 1 lines download raw bytes

1import X from"./Bsm23W27.js";import Y from"./i28z62jA.js";import{_ as q}from"./DJoO6Ay0.js";import G from"./DLfQTTqv.js";import J from"./B11bhts5.js";import K from"./CkXAa3y2.js";import{_ as Q}from"./Cyp0wVG3.js";import R from"./CI1C3JmM.js";import{d as Z,bz as ee,ak as te,bI as le,a0 as oe,L as ne,ap as ae,T as d,X as f,W as k,a5 as s,u as t,$ as a,M as se,o as n,c as u,a7 as F,a2 as y,a3 as b,ae as r,aa as g,a9 as ie,U as de,V as re,Y as me,A as x,bT as ce}from"./B0_CeJP0.js";import{u as ue}from"./KrS0xb4W.js";import"./BBrIw6lM.js";import"./BDIbgz-N.js";import"./aJWbfrca.js";import"./G2bVnOnS.js";import"./C-dp79UA.js";import"./2Ly9SSra.js";import"./DHwA9mnE.js";import"./FEtobf99.js";import"./CZBXTvxN.js";import"./Cg5KXnJx.js";function xe(e){return e.sys.contentType.sys.id==="image"}function fe(e){return e.sys.contentType.sys.id==="linkType"}function ke(e){return e.sys.contentType.sys.id==="video"}const be={key:0,class:"absolute inset-0"},ye={key:2,class:"absolute bottom-0 inset-x-0 h-3/5 bg-gradient-to-t from-black/70 to-transparent"},ge={class:"bg-white text-gray-950 p-1 mx-1"},pe={key:3,class:"absolute inset-0 bg-black opacity-100 animate-overlayFade pointer-events-none",style:{animationDelay:"500ms"}},he=Z({name:"CMSComponentHero",__name:"Hero",props:{blok:{},active:{type:Boolean,default:!0},slider:{type:Boolean,default:!1},fadeOutActiveSlide:{type:Boolean,default:!1},noMargin:{type:Boolean,default:!1},skipAnimation:{type:Boolean,default:!1},position:{default:0}},emits:["video-play","video-pause","video-ended","report-content-module-click"],setup(e,{emit:T}){const{t:p}=ee(),{trackPromotion:S}=te(),A=le(),{smaller:z}=oe(),B=z("md"),{setTransparentHeader:v}=ue(),$=T,l=e,M=se(!1),D=x(()=>!!l.blok?.fields.backgroundOverlay),h=x(()=>l.blok?.fields.bannerType||"normal"),w=x(()=>l.blok?.fields?.horizontalTextAlignment==="center"&&l.blok?.fields?.height==="large"),C=o=>{!l.slider||!l.active||$("report-content-module-click",{event:"click",child_content_position:l.position,child_content_name:l.blok?.fields?.uid||l.blok?.fields?.headline,child_content_type:"hero",child_content_link_url:o?.url||"no cta"})},O=x(()=>{const o=l.blok?.fields?.horizontalTextAlignment;return o==="left"?"lg:w-[50vw] mr-auto lg:!pr-0 lg:pl-[60px] xl:pl-[80px]":o==="right"?"lg:w-[50vw] ml-auto lg:!pl-0 lg:pr-[60px] xl:pr-[80px]":"mx-auto"}),I=x(()=>{switch(l.blok?.fields?.height){case"small":return"h-[390px] md:h-[480px]";case"medium":return"h-[520px] md:h-[617px]";case"large":return"h-[689px] md:h-[810px]";default:return"h-[689px] md:h-[810px]"}}),V=x(()=>{let o="";switch(l.blok?.fields?.horizontalTextAlignmentMobile){case"left":o="max-md:items-start max-md:text-start";break;case"center":o="max-md:items-center max-md:text-center";break;case"right":o="max-md:items-end max-md:text-end";break}switch(l.blok?.fields?.horizontalTextAlignment){case"left":o+=" items-start text-start";break;case"right":o+=" items-end text-end";break;default:o+=" items-center text-center"}return o}),H=x(()=>{let o="";switch(l.blok?.fields?.verticalTextAlignmentMobile){case"middle":o="max-md:justify-center";break;case"bottom":o="max-md:justify-end";break}return l.blok?.fields?.verticalTextAlignment==="bottom"?o+=" justify-end":o+=" justify-center",o}),i=x(()=>({"opacity-1 animate-textFadeOut":l.fadeOutActiveSlide,"opacity-0 animate-textFade":!l.fadeOutActiveSlide})),L=()=>{navigator.clipboard.writeText(l.blok?.fields?.promoCode??""),A.show(p("notification.copiedToClipboard"),{duration:2e3,icon:"IconCheckmark",type:"SUCCESS"}),l.slider&&l?.blok?.fields.tracking?.fields.promotion_id&&S("select_promotion",l?.blok?.fields.tracking.fields)};return ne(()=>{v(!!l.blok?.fields?.shouldHaveTransparentHeader)}),ae(()=>{v(!1)}),(o,m)=>{const E=X,j=Y,U=q,N=G,P=J,_=K,W=Q;return e.blok?(n(),d("div",{key:0,class:s(["relative w-full overflow-hidden lg:transition-[margin-top] lg:duration-300 group",[t(I),!e.noMargin&&"mb-1 md:mb-2"]])},[f(W,{threshold:.5,onEnter:m[3]||(m[3]=c=>M.value=!0)},{default:k(()=>[e.active&&e.blok.fields.background?(n(),d("div",be,[t(xe)(e.blok.fields.background)?(n(),u(E,{key:0,blok:e.blok.fields.background},null,8,["blok"])):t(ke)(e.blok.fields.background)?(n(),u(j,{key:1,blok:e.blok.fields.background,onVideoPlay:m[0]||(m[0]=c=>o.$emit("video-play")),onVideoPause:m[1]||(m[1]=c=>o.$emit("video-pause")),onVideoEnded:m[2]||(m[2]=c=>o.$emit("video-ended"))},null,8,["blok"])):a("",!0),t(D)?(n(),d("div",ye)):a("",!0),F("div",{class:s(["absolute inset-0 flex flex-col z-0 px-4 md:px-[60px] py-8 lg:py-[99px]",[t(H),t(V),t(w)?"max-md:mx-[8.333%]":"",t(O)]])},[e.blok.fields.countdownUntil?(n(),u(U,{key:0,"time-until":e.blok.fields.countdownUntil.toString(),"show-units":"","unit-size":t(B)?"short":"long","units-direction":"column","clock-color":e.blok.fields.promoColor??"#FFFFFF",borderless:"","units-classe
1s":"!font-normal !text-s uppercase ml-1 md:ml-2","value-classes":"!text-h4-md md:!text-h4-lg !font-normal ml-1 md:ml-2","countdown-units-classes":"!text-h4-md md:!text-h4-lg !font-normal","icon-classes":"!size-6 md:!size-8","container-classes":"!h-auto",class:s(["mb-2 md:mb-4",t(i)]),style:{animationDelay:"50ms"}},null,8,["time-until","unit-size","clock-color","class"])):a("",!0),e.blok.fields.overline?(n(),u(t(g),{key:1,"is-uppercase":"",tag:"h5",class:s(["mb-2 text-h5-sm md:text-h5-md lg:text-h5-lg xl:max-w-5xl",[t(i),{"drop-shadow-[0_4px_50px_rgba(0,0,0,0.8)]":e.blok.fields.textShadow,"md:!text-h5-lg":t(h)==="sale"}]]),style:r({animationDelay:"100ms",color:e.blok.fields.overlineColor??"#FFFFFF"})},{default:k(()=>[y(b(e.blok.fields.overline),1)]),_:1},8,["class","style"])):a("",!0),e.blok.fields.headline?(n(),u(t(g),{key:2,"is-uppercase":"",tag:e.blok.fields.headlineType||"h1",class:s(["mb-2 text-h1-sm md:text-h1-md lg:text-h1-lg xl:max-w-5xl",[t(i),{"drop-shadow-[0_4px_50px_rgba(0,0,0,0.8)]":e.blok.fields.textShadow,"!text-h1-lg md:!text-10xl":t(h)==="sale"}]]),style:r({animationDelay:"150ms",color:e.blok.fields.headlineColor??"#FFFFFF"})},{default:k(()=>[y(b(e.blok.fields.headline),1)]),_:1},8,["tag","class","style"])):a("",!0),e.blok.fields.subline?(n(),u(t(g),{key:3,tag:"p",class:s(["mb-4 text-m lg:text-l !font-normal tracking-[-0.36px] lg:tracking-[-0.16px] xl:max-w-5xl",[t(i),t(w)?"md:max-w-[50%] lg:max-w-[60%] xl:max-w-[30%]":"md:max-w-[80%] 2xl:max-w-[70%]",{"drop-shadow-[0_4px_50px_rgba(0,0,0,0.8)]":e.blok.fields.textShadow,"max-md:mb-2":e.blok.fields.promoCode,"!text-h5-sm md:!text-h5-lg":t(h)==="sale"}]]),style:r({animationDelay:"200ms",color:e.blok.fields.sublineColor??"#FFFFFF"})},{default:k(()=>[y(b(e.blok.fields.subline),1)]),_:1},8,["class","style"])):a("",!0),e.blok.fields.text?(n(),u(t(g),{key:4,tag:"p",class:s(["mb-4 text-m lg:text-l !font-normal tracking-[-0.36px] lg:tracking-[-0.16px] md:max-w-[90%] xl:max-w-[75%] 2xl:max-w-[70%]",[t(i),{"drop-shadow-[0_4px_50px_rgba(0,0,0,0.8)]":e.blok.fields.textShadow}]]),style:r({animationDelay:"250ms",color:e.blok.fields.textColor??"#FFFFFF"})},{default:k(()=>[y(b(e.blok.fields.text),1)]),_:1},8,["class","style"])):a("",!0),e.blok?.fields?.promoCode?(n(),d("div",{key:5,class:s(["flex items-center text-m mb-4",t(i)]),style:{animationDelay:"300ms"}},[F("span",{class:"uppercase",style:r({color:e.blok?.fields?.promoColor??"#FFFFFF"})},b(t(p)("promotion.code")),5),F("span",ge,b(e.blok?.fields?.promoCode),1),f(t(ie),{type:"raw","accessibility-label":t(p)("accessibility.copyPromoCode",{code:e.blok.fields.promoCode}),onClick:L},{icon:k(()=>[f(N,{class:"size-6 bg-white/10",style:r({fill:e.blok.fields.promoColor??"#FFFFFF"})},null,8,["style"])]),_:1},8,["accessibility-label"])],2)):a("",!0),e.blok.fields.links?(n(),d("div",{key:6,class:s(["flex flex-col space-y-4 lg:space-y-0 lg:flex-row lg:space-x-8 xl:max-w-5xl",t(i)]),style:{animationDelay:"300ms"}},[(n(!0),d(de,null,re(e.blok.fields?.links,c=>(n(),u(me(c&&t(fe)(c)?"CMSLink":"CMSCTA"),{key:c,blok:c,"animate-on-hover":"",class:s(["text-white text-l font-bold tracking-[-0.16px] uppercase",{"drop-shadow-[0_4px_50px_rgba(0,0,0,0.8)]":e.blok?.fields?.textShadow}]),"show-arrow":"",onCtaClick:C},null,40,["blok","class"]))),128))],2)):a("",!0),e.blok.fields.infoLink?(n(),d("div",{key:7,class:s(["mt-4",t(i)]),style:r({animationDelay:"350ms",color:e.blok.fields.headlineColor??"#FFFFFF"})},[f(P,{class:"inline-block mr-1 size-4",style:r({color:e.blok.fields.headlineColor??"#FFFFFF"})},null,8,["style"]),f(_,{blok:e.blok.fields?.infoLink,class:"!text-s xl:max-w-5xl",style:r({color:e.blok.fields.headlineColor??"#FFFFFF"}),onCtaClick:C},null,8,["blok","style"])],6)):a("",!0)],2),e.skipAnimation?a("",!0):(n(),d("div",pe)),e.blok.fields.logoOverlay?(n(),d("div",{key:4,class:s(["size-full",t(i)]),style:{animationDelay:"500ms"}},[f(R,{"logo-overlay":e.blok.fields.logoOverlay??"","img-cntr-classes":"grid grid-cols-12","img-classes":"col-span-6 col-start-4 md:col-span-2 md:col-start-6 !w-full"},null,8,["logo-overlay"])],2)):a("",!0)])):a("",!0)]),_:1})],2)):a("",!0)}}}),Ne=Object.assign(ce(he,[["__scopeId","data-v-d986f803"]]),{__name:"CMSHero"});export{Ne 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.