1import{_ as E}from"./DIf8PEDC.js";import{x as q,b as r,o as V,R as Z,e as s,f as a,i as e,h as o,w as v,A,H as C,g as y,F as $,C as S,t as k,T as L,J as I,G as P,D as R,K as F,L as D,n as H,Y as U}from"./D6UnpWud.js";import{_ as z,a as G}from"./DO4yVVuR.js";import{_ as M}from"./DlAUqK2U.js";import{u as T,a as O}from"./DINvK7gf.js";import"./BNfUAGgc.js";import"./CCQLrZLx.js";const W={class:"navbar"},Y={class:"navbar__wrapper"},J={role:"list",class:"navbar__menu--wrapper"},K={key:0,class:"service__nav"},X={key:0,class:"service__nav"},j={role:"list",class:"navbar__mobile--wrapper"},Q={key:0,class:"service__nav"},e1={key:0,class:"service__nav"},t1={__name:"TheNavigation",setup(B){const g=q(),p=r(!1),i=r(!1),u=r(!1),d=r(null),m=r(null),c=r([{id:"1",title:"Financial Advisory",path:"financial-advisory"},{id:"2",title:"International Trade Advisory",path:"international-trade-advisory"},{id:"3",title:"Value Chain Development",path:"value-chain-development"},{id:"4",title:"Policy Analysis",path:"policy-analysis"}]),_=r([{id:"1",title:"Report",path:"report"},{id:"2",title:"Events",path:"events"},{id:"3",title:"Blog",path:"blog"},{id:"4",title:"Media",path:"media"}]);V(()=>{document.addEventListener("click",h),g.name==="blog-slug"?document.querySelector(".navbar__wrapper").style.position="unset":document.querySelector(".navbar__wrapper").style.position="fixed"}),Z(()=>g.name,()=>{g.name==="blog-slug"?document.querySelector(".navbar__wrapper").style.position="unset":document.querySelector(".navbar__wrapper").style.position="fixed"});function w(){document.querySelector(".navbar__btn").classList.toggle("toggle"),p.value=!p.value}function h(f){const t=document.querySelector(".navbar__btn");!d.value.contains(f.target)&&m.value&&!m.value.contains(f.target)&&(t.classList.remove("toggle"),p.value=!1)}function x(f){f==="services"?(u.value=!1,i.value=!i.value):(i.value=!1,u.value=!u.value)}return(f,t)=>{const n=E;return a(),s("nav",W,[e("div",Y,[o(n,{to:{path:"/"},class:"navbar__logo"},{default:v(()=>t[10]||(t[10]=[e("img",{src:z,loading:"lazy",alt:"vestanceng.com"},null,-1)])),_:1}),e("ul",J,[e("li",null,[o(n,{to:{path:"/about"},class:"navbar__menu--item"},{default:v(()=>t[11]||(t[11]=[A(" About ")])),_:1})]),e("li",null,[e("button",{type:"button",class:"navbar__menu--item btn",onClick:t[0]||(t[0]=C(l=>x("services"),["prevent"]))},t[12]||(t[12]=[e("span",null,"Services",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"6",viewBox:"0 0 12 6",fill:"none"},[e("path",{d:"M10.8544 0.234174C10.7808 0.159972 10.6932 0.101076 10.5968 0.0608845C10.5003 0.0206926 10.3968 0 10.2923 0C10.1878 0 10.0843 0.0206926 9.98784 0.0608845C9.89137 0.101076 9.80381 0.159972 9.73021 0.234174L6.10438 3.86001C6.03078 3.93421 5.94322 3.9931 5.84675 4.0333C5.75028 4.07349 5.6468 4.09418 5.54229 4.09418C5.43778 4.09418 5.33431 4.07349 5.23784 4.0333C5.14137 3.9931 5.05381 3.93421 4.98021 3.86001L1.35438 0.234174C1.28078 0.159972 1.19322 0.101076 1.09675 0.0608845C1.00028 0.0206926 0.896803 0 0.792294 0C0.687785 0 0.584309 0.0206926 0.487837 0.0608845C0.391366 0.101076 0.303806 0.159972 0.230211 0.234174C0.082762 0.382502 0 0.583152 0 0.792299C0 1.00145 0.082762 1.20209 0.230211 1.35042L3.86396 4.98417C4.30927 5.42893 4.91292 5.67875 5.54229 5.67875C6.17167 5.67875 6.77531 5.42893 7.22063 4.98417L10.8544 1.35042C11.0018 1.20209 11.0846 1.00145 11.0846 0.792299C11.0846 0.583152 11.0018 0.382502 10.8544 0.234174Z",fill:"#263238"})],-1)])),o(L,null,{default:v(()=>[i.value?(a(),s("ul",K,[(a(!0),s($,null,S(c.value,(l,b)=>(a(),s("li",{key:b,onClick:t[1]||(t[1]=C(N=>i.value=!i.value,["prevent"]))},[o(n,{to:{path:`/services/${l.path}`},class:"service__nav--item"},{default:v(()=>[t[13]||(t[13]=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},[e("path",{d:"M3.54167 7.79168H10.625L8.29458 5.46126C8.22819 5.39541 8.1755 5.31707 8.13954 5.23075C8.10357 5.14444 8.08506 5.05185 8.08506 4.95835C8.08506 4.86484 8.10357 4.77225 8.13954 4.68594C8.1755 4.59962 8.22819 4.52128 8.29458 4.45543C8.4273 4.3235 8.60683 4.24945 8.79396 4.24945C8.98109 4.24945 9.16062 4.3235 9.29333 4.45543L12.3321 7.50126C12.5981 7.76572 12.7484 8.1249 12.75 8.50001C12.7466 8.87267 12.5964 9.22896 12.3321 9.49168L9.29333 12.5375C9.22729 12.6031 9.14898 12.655 9.06286 12.6903C8.97675 12.7256 8.88453 12.7437 8.79145 12.7433C8.69838 12.743 8.60629 12.7243 8.52043 12.6884C8.43457 12.6525 8.35662 12.6 8.29104 12.534C8.22546 12.4679 8.17353 12.3896 8.13822 12.3035C8.10291 12.2174 8.0849 12.1252 8.08523 12.0321C8.08556 11.939 8.10422 11.8469 8.14014 11.7611C8.17606 11.6752 8.22854 11.5973 8.29458 11.5317L10.625 9.20835H3.54167C3.3538 9.20835 3.17364 9.13372 3.0408 9.00088C2.90796 8.86804 2.83333 8.68787 2.83333 8.50001C2.83333 8.31215 2.90796 8.13198 3.0408 7.99915C3.17364 7.86631 3.3538 7.79168 3.5416
17 7.79168Z",fill:"#AFD92B"})],-1)),e("span",null,k(l.title),1)]),_:2},1032,["to"])]))),128))])):y("",!0)]),_:1})]),e("li",null,[e("button",{type:"button",class:"navbar__menu--item btn",onClick:t[2]||(t[2]=C(l=>x("publication"),["prevent"]))},t[14]||(t[14]=[e("span",null,"Publication",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"6",viewBox:"0 0 12 6",fill:"none"},[e("path",{d:"M10.8544 0.234174C10.7808 0.159972 10.6932 0.101076 10.5968 0.0608845C10.5003 0.0206926 10.3968 0 10.2923 0C10.1878 0 10.0843 0.0206926 9.98784 0.0608845C9.89137 0.101076 9.80381 0.159972 9.73021 0.234174L6.10438 3.86001C6.03078 3.93421 5.94322 3.9931 5.84675 4.0333C5.75028 4.07349 5.6468 4.09418 5.54229 4.09418C5.43778 4.09418 5.33431 4.07349 5.23784 4.0333C5.14137 3.9931 5.05381 3.93421 4.98021 3.86001L1.35438 0.234174C1.28078 0.159972 1.19322 0.101076 1.09675 0.0608845C1.00028 0.0206926 0.896803 0 0.792294 0C0.687785 0 0.584309 0.0206926 0.487837 0.0608845C0.391366 0.101076 0.303806 0.159972 0.230211 0.234174C0.082762 0.382502 0 0.583152 0 0.792299C0 1.00145 0.082762 1.20209 0.230211 1.35042L3.86396 4.98417C4.30927 5.42893 4.91292 5.67875 5.54229 5.67875C6.17167 5.67875 6.77531 5.42893 7.22063 4.98417L10.8544 1.35042C11.0018 1.20209 11.0846 1.00145 11.0846 0.792299C11.0846 0.583152 11.0018 0.382502 10.8544 0.234174Z",fill:"#263238"})],-1)])),o(L,null,{default:v(()=>[u.value?(a(),s("ul",X,[(a(!0),s($,null,S(_.value,(l,b)=>(a(),s("li",{key:b,onClick:t[3]||(t[3]=C(N=>u.value=!u.value,["prevent"]))},[o(n,{to:{path:`/${l.path}`},class:"service__nav--item"},{default:v(()=>[t[15]||(t[15]=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},[e("path",{d:"M3.54167 7.79168H10.625L8.29458 5.46126C8.22819 5.39541 8.1755 5.31707 8.13954 5.23075C8.10357 5.14444 8.08506 5.05185 8.08506 4.95835C8.08506 4.86484 8.10357 4.77225 8.13954 4.68594C8.1755 4.59962 8.22819 4.52128 8.29458 4.45543C8.4273 4.3235 8.60683 4.24945 8.79396 4.24945C8.98109 4.24945 9.16062 4.3235 9.29333 4.45543L12.3321 7.50126C12.5981 7.76572 12.7484 8.1249 12.75 8.50001C12.7466 8.87267 12.5964 9.22896 12.3321 9.49168L9.29333 12.5375C9.22729 12.6031 9.14898 12.655 9.06286 12.6903C8.97675 12.7256 8.88453 12.7437 8.79145 12.7433C8.69838 12.743 8.60629 12.7243 8.52043 12.6884C8.43457 12.6525 8.35662 12.6 8.29104 12.534C8.22546 12.4679 8.17353 12.3896 8.13822 12.3035C8.10291 12.2174 8.0849 12.1252 8.08523 12.0321C8.08556 11.939 8.10422 11.8469 8.14014 11.7611C8.17606 11.6752 8.22854 11.5973 8.29458 11.5317L10.625 9.20835H3.54167C3.3538 9.20835 3.17364 9.13372 3.0408 9.00088C2.90796 8.86804 2.83333 8.68787 2.83333 8.50001C2.83333 8.31215 2.90796 8.13198 3.0408 7.99915C3.17364 7.86631 3.3538 7.79168 3.54167 7.79168Z",fill:"#AFD92B"})],-1)),e("span",null,k(l.title),1)]),_:2},1032,["to"])]))),128))])):y("",!0)]),_:1})]),t[16]||(t[16]=e("li",null,[e("a",{href:"mailto:[email protected]",class:"button--outline"},"Contact Us")],-1))]),e("button",{ref_key:"openNav",ref:d,class:"navbar__btn",type:"button",onClick:t[4]||(t[4]=C(l=>w(),["prevent"]))},t[17]||(t[17]=[e("div",{class:"line line1"},null,-1),e("div",{class:"line line2"},null,-1),e("div",{class:"line line3"},null,-1)]),512),o(L,{name:"slide"},{default:v(()=>[p.value?(a(),s("div",{key:0,ref_key:"closeNav",ref:m,class:"navbar__mobile"},[e("ul",j,[e("li",{onClick:t[5]||(t[5]=C(l=>w(),["prevent"]))},[o(n,{to:{path:"/about"},class:"navbar__menu--item"},{default:v(()=>t[18]||(t[18]=[A(" About ")])),_:1})]),e("li",null,[e("button",{type:"button",class:"navbar__menu--item btn",onClick:t[6]||(t[6]=C(l=>i.value=!i.value,["prevent"]))},t[19]||(t[19]=[e("span",null,"Services",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"6",viewBox:"0 0 12 6",fill:"none"},[e("path",{d:"M10.8544 0.234174C10.7808 0.159972 10.6932 0.101076 10.5968 0.0608845C10.5003 0.0206926 10.3968 0 10.2923 0C10.1878 0 10.0843 0.0206926 9.98784 0.0608845C9.89137 0.101076 9.80381 0.159972 9.73021 0.234174L6.10438 3.86001C6.03078 3.93421 5.94322 3.9931 5.84675 4.0333C5.75028 4.07349 5.6468 4.09418 5.54229 4.09418C5.43778 4.09418 5.33431 4.07349 5.23784 4.0333C5.14137 3.9931 5.05381 3.93421 4.98021 3.86001L1.35438 0.234174C1.28078 0.159972 1.19322 0.101076 1.09675 0.0608845C1.00028 0.0206926 0.896803 0 0.792294 0C0.687785 0 0.584309 0.0206926 0.487837 0.0608845C0.391366 0.101076 0.303806 0.159972 0.230211 0.234174C0.082762 0.382502 0 0.583152 0 0.792299C0 1.00145 0.082762 1.20209 0.230211 1.35042L3.86396 4.98417C4.30927 5.42893 4.91292 5.67875 5.54229 5.67875C6.17167 5.67875 6.77531 5.42893 7.22063 4.98417L10.8544 1.35042C11.0018 1.20209 11.0846 1.00145 11.0846 0.792299C11.0846 0.583152 11.0018 0.382502 10.8544 0.234174Z",fill:"#ffffff"})],-1)])),o(L,null,{default:v(()=>[i.value?(a(),s("ul",Q,[(a(!0),s($,null,S(c.value,(l,b)=>(a(),s("li",{key:b,onClick:t[7]||(t[7]=C(N=>w(),["prevent"]))},[o(n,{to:{path:`/services/${l.path}`},class:"service__nav--item"},{default:v(()=>[t[20]||(t[20]=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},[e("path",{d:"M3.54167 7.79168H10.625L8.29458 5.46126C8.22819 5.3954
11 8.1755 5.31707 8.13954 5.23075C8.10357 5.14444 8.08506 5.05185 8.08506 4.95835C8.08506 4.86484 8.10357 4.77225 8.13954 4.68594C8.1755 4.59962 8.22819 4.52128 8.29458 4.45543C8.4273 4.3235 8.60683 4.24945 8.79396 4.24945C8.98109 4.24945 9.16062 4.3235 9.29333 4.45543L12.3321 7.50126C12.5981 7.76572 12.7484 8.1249 12.75 8.50001C12.7466 8.87267 12.5964 9.22896 12.3321 9.49168L9.29333 12.5375C9.22729 12.6031 9.14898 12.655 9.06286 12.6903C8.97675 12.7256 8.88453 12.7437 8.79145 12.7433C8.69838 12.743 8.60629 12.7243 8.52043 12.6884C8.43457 12.6525 8.35662 12.6 8.29104 12.534C8.22546 12.4679 8.17353 12.3896 8.13822 12.3035C8.10291 12.2174 8.0849 12.1252 8.08523 12.0321C8.08556 11.939 8.10422 11.8469 8.14014 11.7611C8.17606 11.6752 8.22854 11.5973 8.29458 11.5317L10.625 9.20835H3.54167C3.3538 9.20835 3.17364 9.13372 3.0408 9.00088C2.90796 8.86804 2.83333 8.68787 2.83333 8.50001C2.83333 8.31215 2.90796 8.13198 3.0408 7.99915C3.17364 7.86631 3.3538 7.79168 3.54167 7.79168Z",fill:"#AFD92B"})],-1)),e("span",null,k(l.title),1)]),_:2},1032,["to"])]))),128))])):y("",!0)]),_:1})]),e("li",null,[e("button",{type:"button",class:"navbar__menu--item btn",onClick:t[8]||(t[8]=C(l=>u.value=!u.value,["prevent"]))},t[21]||(t[21]=[e("span",null,"Publication",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"6",viewBox:"0 0 12 6",fill:"none"},[e("path",{d:"M10.8544 0.234174C10.7808 0.159972 10.6932 0.101076 10.5968 0.0608845C10.5003 0.0206926 10.3968 0 10.2923 0C10.1878 0 10.0843 0.0206926 9.98784 0.0608845C9.89137 0.101076 9.80381 0.159972 9.73021 0.234174L6.10438 3.86001C6.03078 3.93421 5.94322 3.9931 5.84675 4.0333C5.75028 4.07349 5.6468 4.09418 5.54229 4.09418C5.43778 4.09418 5.33431 4.07349 5.23784 4.0333C5.14137 3.9931 5.05381 3.93421 4.98021 3.86001L1.35438 0.234174C1.28078 0.159972 1.19322 0.101076 1.09675 0.0608845C1.00028 0.0206926 0.896803 0 0.792294 0C0.687785 0 0.584309 0.0206926 0.487837 0.0608845C0.391366 0.101076 0.303806 0.159972 0.230211 0.234174C0.082762 0.382502 0 0.583152 0 0.792299C0 1.00145 0.082762 1.20209 0.230211 1.35042L3.86396 4.98417C4.30927 5.42893 4.91292 5.67875 5.54229 5.67875C6.17167 5.67875 6.77531 5.42893 7.22063 4.98417L10.8544 1.35042C11.0018 1.20209 11.0846 1.00145 11.0846 0.792299C11.0846 0.583152 11.0018 0.382502 10.8544 0.234174Z",fill:"#ffffff"})],-1)])),o(L,null,{default:v(()=>[u.value?(a(),s("ul",e1,[(a(!0),s($,null,S(_.value,(l,b)=>(a(),s("li",{key:b,onClick:t[9]||(t[9]=C(N=>w(),["prevent"]))},[o(n,{to:{path:`/${l.path}`},class:"service__nav--item"},{default:v(()=>[t[22]||(t[22]=e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none"},[e("path",{d:"M3.54167 7.79168H10.625L8.29458 5.46126C8.22819 5.39541 8.1755 5.31707 8.13954 5.23075C8.10357 5.14444 8.08506 5.05185 8.08506 4.95835C8.08506 4.86484 8.10357 4.77225 8.13954 4.68594C8.1755 4.59962 8.22819 4.52128 8.29458 4.45543C8.4273 4.3235 8.60683 4.24945 8.79396 4.24945C8.98109 4.24945 9.16062 4.3235 9.29333 4.45543L12.3321 7.50126C12.5981 7.76572 12.7484 8.1249 12.75 8.50001C12.7466 8.87267 12.5964 9.22896 12.3321 9.49168L9.29333 12.5375C9.22729 12.6031 9.14898 12.655 9.06286 12.6903C8.97675 12.7256 8.88453 12.7437 8.79145 12.7433C8.69838 12.743 8.60629 12.7243 8.52043 12.6884C8.43457 12.6525 8.35662 12.6 8.29104 12.534C8.22546 12.4679 8.17353 12.3896 8.13822 12.3035C8.10291 12.2174 8.0849 12.1252 8.08523 12.0321C8.08556 11.939 8.10422 11.8469 8.14014 11.7611C8.17606 11.6752 8.22854 11.5973 8.29458 11.5317L10.625 9.20835H3.54167C3.3538 9.20835 3.17364 9.13372 3.0408 9.00088C2.90796 8.86804 2.83333 8.68787 2.83333 8.50001C2.83333 8.31215 2.90796 8.13198 3.0408 7.99915C3.17364 7.86631 3.3538 7.79168 3.54167 7.79168Z",fill:"#AFD92B"})],-1)),e("span",null,k(l.title),1)]),_:2},1032,["to"])]))),128))])):y("",!0)]),_:1})]),t[23]||(t[23]=e("li",{class:"mt-5"},[e("a",{href:"mailto:[email protected]",class:"button--outline"},"Contact Us")],-1))])],512)):y("",!0)]),_:1})])])}}},l1=M(t1,[["__scopeId","data-v-4f917ed8"]]),n1={id:"subscribe--form",class:"form"},s1={key:0,class:"form__left"},a1={class:"form__group"},o1={key:0,class:"error"},i1=["disabled"],u1={key:1,class:"form__wrapper--subscribed"},r1={__name:"SubscribeForm",setup(B){const g=T(),{getSubscribe:p,getZHToken:i}=I(g),{fetchZohoToken:u}=T(),d=r(""),m=r(""),c=r(""),_=r(!1),w=r(!1),h=r(!1),x=P(()=>i.value);Z(p,()=>{w.value=p.value});async function f(){if(d.value===""&&m.value===""||_.value)return;const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/i;if(!d.value.match(t)){h.value=!0;return}await u(),h.value=!1,_.value=!0,c.value="";const n=m.value.split(" "),{data:l}=await O("/api/zoho/lead",{method:"POST",params:{access_token:x.value},body:{data:[{Last_Name:n[0].trim(),...n[1]!==void 0&&{First_Name:n[1].trim()},Email:d.value.trim(),Lead_Source:"Website"}],trigger:["approval","workflow","blueprint"]}},"$bYBLMDchya");l.value&&l.value.data.data[0].status==="success"||l.value&&l.value.data.data[0].code==="DUPLICATE_DATA"?(_.value=!1,d.value="",m.value="",T.$patch({user_subscribed:!0})):(c.value="Ops, please try again.",_.value=!1)}return(t,n)=>(a(),s("section",n1,[n[4]||(n[4]=e("div",{class:"form__title"},[e("h3",null,"Stay up-to-date!"),e("p",null,"Subscribe to get full access to the newsletter and website. Never miss an update.")],-1)),R(p)?(a(),s("div",u1,n[3]||(n[3]=[e("h4",null," Thank y
1ou for subscribing!",-1)]))):(a(),s("div",s1,[e("form",{class:"form__wrapper",onSubmit:C(f,["prevent"])},[e("div",a1,[F(e("input",{type:"text",name:"fullname",id:"fullname",required:"",class:"form__input",placeholder:"Full Name","onUpdate:modelValue":n[0]||(n[0]=l=>m.value=l)},null,512),[[D,m.value]]),F(e("input",{type:"email",name:"email",placeholder:"Email Address",class:H(["form__input",{invalid:h.value}]),required:"","onUpdate:modelValue":n[1]||(n[1]=l=>d.value=l)},null,2),[[D,d.value]])]),c.value?(a(),s("p",o1,k(c.value),1)):y("",!0),n[2]||(n[2]=e("p",{class:"policy"},[A("We care about your data in our "),e("a",{href:"http://",target:"_blank"},"privacy policy")],-1)),e("button",{type:"submit",disabled:_.value,class:H([{loading:_.value},"button--primary"]),"aria-label":"Subscribe"}," Subscribe ",10,i1)],32)]))]))}},v1=M(r1,[["__scopeId","data-v-5b1a8cf5"]]),C1={};function p1(B,g){const p=l1,i=v1,u=G;return a(),s("div",null,[o(p),U(B.$slots,"default"),o(i),o(u)])}const w1=M(C1,[["render",p1]]);export{w1 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.