PageSourceSearch

https://www.allnatura.de/_nuxt/MAmE9z4N.js

js allnatura.de collected 2026-10-02 10:19:06 UTC 3,015 bytes, 1 lines download raw bytes

1import{n as V,k as d,C as g,a8 as _,L as p,a1 as m,u as t,a6 as w,W as S,a7 as E,i as F,q as o,V as c,N as L,a0 as M,am as P,x as O}from"./aGX58C66.js";import{u as z,I as T,Q as D,J,dX as Q,B as U}from"./BSk9Edm7.js";import{_ as W}from"./B28yFgO1.js";import X from"./Clkgf6Qh.js";import $ from"./DBbArkwt.js";import"./CSRdAsD9.js";import"./CbCnL4vT.js";import"./DFW6qro_.js";import"./DQM17f0a.js";import"./goM8DMBO.js";import"./OzxMbp0b.js";import"./D8gSegyH.js";const G={id:"service-bar",class:"bg-pastel-green"},H={class:"mx-auto flex max-w-8xl items-center justify-center px-8 py-2 lg:justify-between 2xl:overflow-hidden 2xl:px-0"},K={class:"hidden lg:flex lg:shrink-0 lg:items-center lg:gap-6"},R=V({name:"ServiceBar",__name:"ServiceBar",setup(Y){const s=F("isCheckout",!1),y=d(0),b=D("!mt-0 !p-0",{variants:{isActive:{true:"max-w-[calc(100vw-4rem)] lg:max-w-[250px] lg:overflow-hidden",false:"max-w-[calc(100vw-4rem)] lg:flex lg:w-[calc(100vw-4rem)] lg:!max-w-8xl lg:justify-between"}}}),{localeProperties:k,locales:h}=z(),v=T()?._asyncData?.[`${k.value.sbPath}-page-frame`]||{data:null},B=o(()=>v.data?.value?.data?.stories.find(e=>e.name==="Service-Bar")?.content),x=o(()=>v.data?.value?.data?.stories.find(e=>e.name==="Meta-Navigation")?.content),A=o(()=>x.value?.links||[]),i=o(()=>s?!1:x.value?.isActive??!1),C=d({loop:!0,slidesPerView:1,spaceBetween:0,direction:"horizontal",autoplay:{delay:3e3,disableOnInteraction:!0,pauseOnMouseEnter:!0},breakpoints:{992:{slidesPerView:i.value?1:3,spaceBetween:24}},onSlideChange:e=>{y.value=e.realIndex+1,q()}}),u=d(),N=()=>{u.value.stopAutoplay()},I=()=>{u.value.startAutoplay()},q=()=>{O(()=>{const e=document.querySelector(".swiper-slide-active");e&&e.querySelectorAll("a, [tabindex]").forEach(a=>{a.setAttribute("tabindex","0")});const n=document.querySelector(".swiper-slide-prev");n&&n.querySelectorAll("a, [tabindex]").forEach(a=>{a.setAttribute("tabindex","-1")});const l=document.querySelector(".swiper-slide-next");l&&l.querySelectorAll("a, [tabindex]").forEach(a=>{a.setAttribute("tabindex","-1")})})};return(e,n)=>{const l=P,r=J,a=W;return c(),g("div",G,[_("div",H,[p(r,{ref_key:"swiperInstance",ref:u,settings:C.value,"show-navigation-arrows":!1,class:w(t(b)({isActive:i.value&&!t(s)})),"apply-ssr-container-class":t(s),"ssr-container-classes":"lg:justify-between"},{default:m(j=>[(c(!0),g(L,null,M(B.value?.usps,f=>(c(),S(l,{key:f._uid,class:w([j,{"lg:max-w-max":!i.value,"!mr-0 lg:max-w-max":t(s)}])},{default:m(()=>[p(X,{blok:f,"is-active":!t(Q),onFocus:N,onBlur:I},null,8,["blok","is-active"])]),_:2},1032,["class"]))),128))]),fallback:m(()=>[...n[0]||(n[0]=[])]),_:1},8,["settings","class","apply-ssr-container-class"]),_("div",K,[p($,{"is-active":i.value&&!t(s),links:A.value},null,8,["is-active","links"]),!t(s)&&t(h).length>1?(c(),S(a,{key:0,"utility-bar-variant":"","overlay-id":"service-bar-language-switch-overlay"})):E("",!0)])])])}}}),pe=Object.assign(U(R,[["__scopeId","data-v-becf02d1"]]),{__name:"CMSServiceBar"});export{pe 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.