PageSourceSearch

https://sallinggroup.com/_nuxt/Header.vue.CPfCzvXN.js

js sallinggroup.com collected 2026-09-24 09:46:57 UTC 3,269 bytes, 1 lines download raw bytes

1import{_ as H}from"./nuxt-link.BAkS_7go.js";import $ from"./NavMain.DvyP6Byt.js";import{_ as O}from"./UiLanguageSelector.vue.BbVa9cDs.js";import{_ as V}from"./UiGrantDropdown.vue.DOy2l4Md.js";import{d as q,r as n,j as z,k as G,u as W,a as u,b as m,i as a,n as d,g as e,ax as w,m as s,y as j,aA as k,f as h,e as K,o as l}from"./entry.SA0OsS3s.js";import{u as P}from"./useDrawer.BOebVybd.js";import{u as U}from"./useSettings.BB2u6piJ.js";import{a as Y}from"./states.CNDvaHbm.js";import{L as F}from"./logo.DCTI3SwZ.js";import{L as J}from"./loop.Do7UWQip.js";import{M as Q}from"./menu.Bpknqi64.js";import{b as X,d as Z,w as T}from"./index.DvHfnKhk.js";const ee={class:"sticky top-0 z-50 h-[--ui-header-h] lg:[--ui-header-h:theme(spacing.24)]"},oe={class:"hidden lg:block h-[77px]"},te={class:"justify-self-end flex items-center -mr-4 lg:mr-0"},ae=["aria-label"],se={key:0,class:"absolute -bottom-0 w-10 left-2 text-display5 leading-4"},ne=["aria-label"],y="/seeds",we=q({__name:"Header",setup(le){const{y:S}=X(),r=n(0),t=n(!1),{serviceTracking:i}=z(),{possibleDrawerStates:_,setDrawerOpen:f}=P(),p=n(!1),x=_.NAV_MOBILE_DRAWER,C=_.SEARCH_DRAWER,g=Z(),{settings:D}=U(),N=Y(),{locale:I}=G(),v=W(),c=n(v.fullPath!==y);u(()=>v.fullPath,o=>{c.value=o!==y});const M=()=>{f({id:x,open:!0})},b=()=>{f({id:C,open:!0})};T(g.meta_k,()=>{b(),B()}),u(g.Meta,o=>{p.value=!!o}),u(S,o=>{o<r.value?t.value=!1:t.value=!0,r.value=o});const B=()=>{i==null||i.track("shortcutActivated",{type:"search"})};return(o,re)=>{const L=H,R=$,A=O,E=V;return l(),m("header",ee,[a("div",{class:d(["absolute top-0 left-0 right-0 bottom-0 bg-white motion-safe:will-change-transform motion-safe:duration-500 motion-safe:ease-out-quart transition-all",{"lg:motion-safe:-translate-y-6 ":e(t),"motion-safe:shadow-dropdown":e(r)>0,"motion-safe:translate-y-0 shadow-none":!e(t)}])},null,2),a("div",{class:d(["relative z-30 container mx-auto grid gap-x-2 items-center grid-cols-2 pt-2 h-16 lg:h-[77px] lg:grid-cols-3auto motion-safe:will-change-transform motion-safe:duration-500 motion-safe:ease-out-quart",[e(t)?"lg:motion-safe:-translate-y-3":"lg:motion-safe:translate-y-0"]])},[a("div",null,[s(L,{to:e(I)=="en"?"/en":"/",class:"inline-block","aria-label":o.$t("aria_go_to_frontpage")},{default:j(()=>[s(e(F),{class:d(["logo max-w-full max-h-full h-logo-h w-logo-w lg:h-logo-h-lg lg:w-logo-w-lg motion-safe:will-change-auto motion-safe:duration-500 motion-safe:ease-out-quart transition-transform scale-100 origin-center-left",{"lg:scale-90":e(t)}])},null,8,["class"])]),_:1},8,["to","aria-label"])]),w(s(R,{class:"hidden lg:block"},null,512),[[k,e(c)]]),w(a("div",oe,null,512),[[k,!e(c)]]),a("div",te,[e(D)().value.enableSearch?(l(),m("button",{key:0,onClick:b,type:"button","aria-label":o.$t("aria_open_search_dialog"),class:"relative p-4 hover:text-nav-hover"},[s(e(J)),e(p)?(l(),m("div",se,"⌘K")):h("",!0)],8,ae)):h("",!0),s(A,{class:"below-lg:hidden",enabledHoverOpen:!0,direction:"right"}),e(N)?h("",!0):(l(),K(E,{key:1,class:"below-lg:hidden",enabledHoverOpen:!0,direction:"right"})),a("button",{type:"button",class:"block lg:hidden p-4 hover:text-nav-hover","aria-label":o.$t("aria_open_mobile_nav"),"aria-expanded":"false",onClick:M},[s(e(Q),{"aria-hidden":"true"})],8,ne)])],2)])}}});export{we as _};

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.