1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CI4ESMt6.js","./K1b_ijTh.js","./entry.DS4SEWKj.css","./ZWlT-C0A.js","./CZ-9ZaBF.js","./D6Z08Q7a.js","./CQoHp_LM.js"])))=>i.map(i=>d[i]); 2import{bf as M,y as x,m as E,n as S,r as p,E as C,U as I,g as t,c as P,o as f,d,h as i,H as g,p as z,f as L,F as R,I as y}from"./K1b_ijTh.js";import V from"./DjygxsK8.js";import $ from"./ZWlT-C0A.js";import T from"./CtTVZrnR.js";import{i as A}from"./XUID70n1.js";import"./D0dugTRR.js";import"./SRuLwyDQ.js";import"./D-dMLtZJ.js";import"./D6Z08Q7a.js";import"./CQoHp_LM.js";import"./BBI2uuzq.js";import"./DbVlILRB.js";import"./B1Fi2rw8.js";import"./DmEuD2oQ.js";import"./iCVaEiO3.js";import"./CLSCx-xl.js";import"./CZ-9ZaBF.js";import"./D4pDMHwu.js";import"./DV2I_8-e.js";import"./FXYoTY6c.js";import"./BQguEG_I.js";import"./Zxf_Ata2.js";import"./DoJpzkOO.js";import"./DbBiZdar.js";import"./CqU6AV4Z.js";import"./BUEUxFE0.js";import"./7mFOq8Ud.js";import"./BrLwkkZd.js";import"./C3TXZl8F.js";import"./Dce4Gtd0.js";import"./pjb_M3L6.js";import"./rfHyGcty.js";const F=g(()=>y(()=>import("./CI4ESMt6.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(e=>e.default||e)),U=g(()=>y(()=>import("./K1b_ijTh.js").then(e=>e.bk),__vite__mapDeps([1,2]),import.meta.url).then(e=>e.default||e)),D={class:"w-screen sticky top-0 left-0 backdrop-blur-md"},ke={__name:"Header",props:["navigation","promotedBar"],setup(e){const r=p(!1),s=M("_isSearchOpen",()=>!1),N=p(null),m=p(null);let c=null;const b=e,{navigation:_,promotedBar:a}=x(b),h=()=>r.value=!r.value,u=()=>s.value=!s.value,v=o=>{const n=Number.isFinite(o)?Math.max(0,o):0;document.documentElement.style.setProperty("--header-navigation-height",`${Math.ceil(n)}px`)},k=o=>{const n=o[0];if(!n)return;const l=n.target.offsetHeight;v(l??0)};return E(async()=>{await S(),a?.value&&a?.value?.type?.toLowerCase()!="other"&&A("view_promotion",a.value,{creative_name:a?.value.promoted_text,creative_slot:"hot_line"});const o=m.value?.$el??m.value;o&&(v(o.getBoundingClientRect().height),c=new ResizeObserver(k),c.observe(o))}),C(()=>{c?.disconnect()}),I(()=>{t(r)}),(o,n)=>{const l=F,w=U,B=V,H=$,O=T;return f(),P(R,null,[d("div",null,[i(l,{navigation:t(_),show:t(r),onChangeNavigationIsOpen:h},null,8,["navigation","show"]),i(w,{show:t(s),handleSearchModal:u},null,8,["show"]),d("div",D,[d("header",{class:"w-screen bg-white shadow-sm",ref_key:"header",ref:N},[t(a)!=null?(f(),z(B,{key:0,promotedBar:t(a)},null,8,["promotedBar"])):L("",!0),i(H,{class:"hidden md:block"})],512)])]),i(O,{ref_key:"headerNavigation",ref:m,onHandleSearchModal:u,navigation:t(_),onChangeNavigationIsOpen:h},null,8,["navigation"])],64)}}};export{ke 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.