1import{_ as R}from"./k5mfIBr3.js";import{_ as q}from"./pXyZ_txi.js";import K from"./BCs0q2Gv.js";import{d as V,l as G,br as P,Q as T,u as Q,a as Y,z as H,c as b,g as e,t as C,f as n,i as o,h as r,q as h,F as $,s as j,a9 as A,ac as N,ab as I,x as y,bs as J,r as _,o as d,A as z,n as O,C as W}from"./fKDK9Na9.js";import X from"./oseb-Eus.js";import{_ as Z}from"./ayRA2GDN.js";import{a as ee}from"./Dhz3Ti1k.js";const E=""+new URL("logo-light.D8DuRKex.svg",import.meta.url).href,se={class:"px-6 w-full max-w-330 flex flex-col items-center gap-3"},te={class:"w-full hidden md:flex justify-between text-[#7A7A7B] text-xs select-none"},ne={class:"flex gap-7"},oe={href:"https://im3.id/portal/en/indexpersonal",class:"cursor-pointer"},le={href:"/",class:"cursor-pointer"},ie={class:"flex gap-7"},ae={class:"flex gap-2"},re={class:"w-full h-19 hidden xl:flex justify-center"},ue={class:"w-full max-w-330 h-full"},ce={class:"flex items-center justify-between gap-6 h-full"},de={class:"relative flex gap-6 w-full"},fe={class:"flex items-center"},pe=["src"],ve={class:"flex items-center"},me={class:"flex gap-2 items-center absolute right-0 top-1.5 z-60 bg-white"},xe={href:"bs_supportcontact",class:"text-xs font-bold bg-[#32BCAD] rounded-full py-2 px-3 text-white h-fit"},he={class:"w-full h-19 flex xl:hidden justify-center"},_e={class:"w-full max-w-330 h-full"},ge={class:"flex items-center justify-between gap-6 h-full"},we={class:"relative flex gap-6 w-full"},be={class:"flex items-center"},Ce={href:"/bsbusiness"},ye=["src"],Ee=["src"],Be={class:"w-full h-19"},De={class:"mx-auto h-full"},Le={class:"flex items-center justify-between gap-6 h-full relative"},ke={class:"flex w-full px-5 justify-between gap-6"},Me={class:"flex items-center"},$e=["src"],je={class:"flex gap-3"},Ae={class:""},Ne={class:"flex flex-col gap-6"},Ie={class:"mt-15"},ze={class:"px-5 w-full md:flex justify-between text-[#7A7A7B] text-xs select-none"},Se={class:"flex gap-7 mt-10"},Ue={class:"flex gap-2"},Te=V({__name:"BusinessSiteNavigation",props:J({routesData:{},sitesMetadata:{}},{currentLang:{required:!0},currentLangModifiers:{}}),emits:["update:currentLang"],setup(B){const{t:f}=G(),p=B,i=P(B,"currentLang"),S=T(),v=Q(),U=ee,D=_(!1),l=_(""),a=_(!1),u=_(!1),m=c=>{const{params:s,query:x}=v,g={...s,language:c};S.push({name:v.name,params:g,query:x,hash:v.hash}),i.value=c},L=()=>{D.value=window.scrollY>=50},k=()=>{if(l.value.length>=2){M();const c=v.params.language??"EN";O({path:`/${c}/bssearch`,query:{keyword:l.value}})}},M=()=>{u.value=!1};return Y(()=>{window.addEventListener("scroll",L)}),H(()=>{window.removeEventListener("scroll",L)}),(c,s)=>{const x=R,g=q,w=W("vue-feather"),F=K;return d(),b("div",{class:o(["fixed z-50 px-3 md:px-0 pt-5 pb-1 w-full flex justify-center bg-white",{"bg-white":!n(D)}])},[e("div",se,[e("div",te,[e("div",ne,[e("a",oe,C(n(f)("personal")),1),e("a",le,C(n(f)("perusahaan")),1)]),e("div",ie,[e("div",ae,[e("button",{class:o(["cursor-pointer hover:text-[#32BCAD] font-medium",{"text-[#32BCAD]":i.value.toUpperCase()==="ID"}]),onClick:s[0]||(s[0]=t=>m("ID"))}," ID ",2),s[15]||(s[15]=e("span",null,"|",-1)),e("button",{class:o(["cursor-pointer hover:text-[#32BCAD] font-medium",{"text-[#32BCAD]":i.value.toUpperCase()==="EN"}]),onClick:s[1]||(s[1]=t=>m("EN"))}," EN ",2)])])]),e("nav",re,[e("div",ue,[e("div",ce,[e("div",de,[e("div",fe,[r(x,{href:"/bsbusiness"},{default:h(()=>[e("img",{src:n(E),alt:"Logo",class:"w-25.5"},null,8,pe)]),_:1})]),e("div",ve,[(d(!0),b($,null,j(p.routesData,t=>(d(),z(X,{key:t.path,route:t,lang:i.value,"sites-menu-information":p.sitesMetadata?.sitesMenuInformation??null},null,8,["route","lang","sites-menu-information"]))),128))]),e("div",me,[r(g,{domain:"https://ioh.co.id",slug:"bs_dialog",titleButton:n(f)("portal")},null,8,["titleButton"]),e("a",xe,C(n(f)("konsultasi")),1),e("div",{class:o(["transition-all duration-300",n(a)?"w-42 ":"w-12 "])},[A(e("input",{"onUpdate:modelValue":s[2]||(s[2]=t=>y(l)?l.value=t:null),type:"text",class:o(["w-full h-9 rounded-full bg-[#EEEEEE] px-4 pr-10 outline-none","transition-all duration-300"]),onFocus:s[3]||(s[3]=t=>a.value=!0),onBlur:s[4]||(s[4]=t=>a.value=!1),onKeyup:s[5]||(s[5]=I(t=>k(),["enter"]))},null,544),[[N,n(l)]]),r(w,{type:"search",class:"absolute w-4 top-2.5 right-3 pointer-events-none"})],2)])])])])]),e("aside",he,[e("div",_e,[e("div",ge,[e("div",we,[e("div",be,[e("a",Ce,[e("img",{src:n(E),alt:"Logo",class:"w-25.5"},null,8,ye)])]),e("div",{class:"flex gap-2 items-center absolute right-0 top-1.5 z-60 bg-white",onClick:s[6]||(s[6]=t=>u.value=!0)},[e("img",{src:n(U)("icon-hamburger.svg"),alt:"hamburger-menu",class:"w-6 cursor-pointer"},null,8,Ee)])])])])]),r(F,{visible:n(u),"onUpdate:visible":s[14]||(s[14]=t=>y(u)?u.value=t:null),"show-close-icon":!1,position:"full",class:"xl:hidden",modal:!1,"block-scroll":!0},{header:h(()=>
1[e("div",Be,[e("div",De,[e("div",Le,[e("div",ke,[e("div",Me,[r(x,{href:"/bsbusiness"},{default:h(()=>[e("img",{src:n(E),alt:"Logo",class:"w-25.5"},null,8,$e)]),_:1})]),e("div",je,[e("div",{class:o(["h-9 flex justify-end relative z-60",[n(a)?"w-56 ":"w-16 "]])},[e("div",{class:o(["transition-all duration-300",n(a)?"w-42 ":"w-24 "])},[A(e("input",{"onUpdate:modelValue":s[7]||(s[7]=t=>y(l)?l.value=t:null),type:"text",class:o(["w-full h-9 rounded-full bg-[#EEEEEE] px-4 pr-10 outline-none","transition-all duration-300"]),onFocus:s[8]||(s[8]=t=>a.value=!0),onBlur:s[9]||(s[9]=t=>a.value=!1),onKeyup:s[10]||(s[10]=I(t=>k(),["enter"]))},null,544),[[N,n(l)]]),r(w,{type:"search",class:"absolute w-4 top-2.5 right-3 pointer-events-none"})],2)],2),e("div",{class:"h-9 w-6 flex z-60",onClick:s[11]||(s[11]=t=>u.value=!1)},[r(w,{type:"x",class:"cursor-pointer flex justify-center items-center font-black"})])])])])])])]),default:h(()=>[e("div",Ae,[e("div",Ne,[(d(!0),b($,null,j(p.routesData,t=>(d(),z(Z,{key:t.path,route:t,lang:i.value,"sites-menu-information":p.sitesMetadata?.sitesMenuInformation??null,onCloseMenu:M},null,8,["route","lang","sites-menu-information"]))),128))]),e("div",Ie,[e("div",ze,[s[17]||(s[17]=e("div",{class:"flex flex-col gap-3"},[e("a",{href:"#",class:"cursor-pointer"},"Personal"),e("a",{href:"/",class:"cursor-pointer"},"Perusahaan")],-1)),e("div",Se,[e("div",Ue,[e("button",{class:o(["cursor-pointer hover:text-[#4C4C4E] font-medium",{"text-[#4C4C4E]":i.value==="ID"}]),onClick:s[12]||(s[12]=t=>m("ID"))}," ID ",2),s[16]||(s[16]=e("span",null,"|",-1)),e("button",{class:o(["cursor-pointer hover:text-[#4C4C4E] font-medium",{"text-[#4C4C4E]":i.value==="EN"}]),onClick:s[13]||(s[13]=t=>m("EN"))}," EN ",2)])])])])])]),_:1},8,["visible"])])],2)}}});export{Te 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.