PageSourceSearch

https://bonduelle.am/_nuxt/header.9e1a32f1.js

js bonduelle.am collected 2026-09-25 10:13:35 UTC 1,009 bytes, 1 lines download raw bytes

1import{I as w,c as h,aV as v,r as i,a9 as f,aC as E,O as m,w as p}from"./entry.b95a3a31.js";import{u as c}from"./state.f0dd11c1.js";const L=()=>{const n=w(),s=h(()=>!!n.path.match(/^(\/(w){2})?\/search$/)),e=c("show-search",()=>s.value),o=()=>e.value=!e.value;return v(()=>{e.value=s.value}),{show:e,toggle:o}},Y=Symbol("header-fixed-status"),x=45,S=n=>{let s=0,e=0;const o=i({}),a=i(!1),u=c("show-countries");f(()=>{r(),window.addEventListener("resize",r),window.addEventListener("scroll",l)}),E(()=>{e=0,o.value={},window.removeEventListener("resize",r),window.removeEventListener("scroll",l)});function l(){const t=Math.max(e-s,0);if(window.scrollY<=t){a.value=!0,e=window.scrollY+s,o.value={position:"fixed"};return}window.scrollY>e?e=window.scrollY:o.value={transform:`translateY(${t}px)`},a.value=!1}function r(){var t;s=((t=n.value)==null?void 0:t.children[0].clientHeight)??x}return m(Y,a),p(a,(t,d)=>{!t&&d&&(u.value=!1)}),{style:o}};export{Y as HEADER_FIXED_KEY,S as headerFixed,L as headerSearch};

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.