PageSourceSearch

https://www.blackline.com/_nuxt/BsDk0GDa.js

js blackline.com collected 2026-10-02 04:44:22 UTC 79,491 bytes, 13 lines download raw bytes

1import{_ as Oe}from"./BXcAA7Gx.js";import{_ as Re}from"./DlAUqK2U.js";import{c as n,o as e,a6 as Ie,s as O,d as W,C as Z,V as ce,f as I,aj as We,a,H as Be,h as g,j as m,ak as Ee,A as C,al as Ze,am as Ge,F as w,r as $,t as qe,l as t,z as S,B as P,a4 as fe,a5 as he,p as Ve,u as te,D as He,E as Je,q as D,aQ as ee,n as ht,aR as ot,T as ge,b as Qe,a8 as lt,g as _t,a1 as mt,P as kt,M as bt,w as yt,aS as vt,L as xt,aT as wt,aU as Ct,aV as $t,I as At,aW as Lt,a9 as Mt,aX as St}from"./CeJGm5AT.js";import{_ as re}from"./DsoCJl02.js";import{_ as ae}from"./BOSAhMor.js";import{_ as Ue}from"./CT0dWHZl.js";import{_ as st}from"./CfrsELKB.js";import{b as rt,o as It}from"./xMKxXsV3.js";import{c as at}from"./BHenwXup.js";import{_ as Bt}from"./QHGViQ9J.js";import{a as it,b as Vt,c as Ht,_ as Ut}from"./E8QMabQS.js";import{G as Tt,H as zt}from"./Cq2ulXs5.js";import{u as Ke,a as Dt}from"./B6FeytLF.js";import"./BaF2GUMg.js";import"./Bb4qSo10.js";import"./BAlnXiOF.js";import"./DpWCCSsn.js";const jt={props:{link:{type:String},color:{type:String,default:"black"},target:{type:String,default:"_self"},ariaLabel:{type:String,default:""},isActive:{type:Boolean,default:!1},activeBorderColor:{type:String,default:"yellow"}},computed:{buttonClasses(){const L={black:["text-black"],purple:["text-lavender-700","hover:text-ultraviolet-800"],white:["text-white"],yellow:["text-gold-300","hover:text-gold-400"]},c={black:["border-black"],white:["border-white"],yellow:["border-gold-400"]},u={black:["hover:border-black"],white:["hover:border-white"]},h=L[this.color],s=c[this.activeBorderColor],r=u[this.color];return this.isActive?[...h,...s]:[...h,...r,"border-transparent"]}}},Nt=["href","target","aria-label"];function Ft(L,c,u,h,s,r){return e(),n("button",{href:u.link,target:u.target,"aria-label":u.ariaLabel,class:O([r.buttonClasses,"relative inline-block pb-1 border-b-4 focus:outline-none text-base font-semibold leading-8 transition-colors duration-300"])},[Ie(L.$slots,"default")],10,Nt)}const Pt=Re(jt,[["render",Ft]]),Ot={class:"flex items-center gap-3"},Rt={class:"text-sm font-normal"},Wt=W({__name:"LanguageSelectorDesktop",props:{currentLanguage:{},languages:{},color:{}},setup(L){const c=s=>s.replace(/^i-flags-/,"").trim(),u=Z(!1),{width:h}=rt();return ce(h,()=>{h.value<parseInt(at.screens.xl)&&(u.value=!1)}),(s,r)=>{const l=Ue,d=ae,k=Ee,f=st,y=re,U=qe,B=Ge,p=Ze,_=We;return e(),I(_,{open:a(u),"onUpdate:open":r[0]||(r[0]=b=>Be(u)?u.value=b:null)},{default:g(()=>[m(k,{"as-child":"","aria-label":"Change language"},{default:g(()=>[m(d,{color:"transparent",class:"transparent border-0 !p-0 align-left"},{default:g(()=>[a(u)?C("",!0):(e(),I(l,{key:0,icon:"GlobeAmericasIcon",size:"24",type:"solid",class:O(["h-8 w-8 hidden xl:block cursor-pointer",`text-${s.color}`])},null,8,["class"])),a(u)?(e(),I(l,{key:1,icon:"ChevronUpIcon",size:"24",type:"solid",class:O(["h-8 w-8 hidden xl:block cursor-pointer",`text-${s.color}`])},null,8,["class"])):C("",!0)]),_:1})]),_:1}),m(p,null,{default:g(()=>[m(B,{class:"min-w-[225px] outline-none bg-white rounded-3xl flex flex-col items-start px-6 py-4 relative z-50 drop-shadow-lg","side-offset":16,align:"end"},{default:g(()=>[(e(!0),n(w,null,$(s.languages,(b,o)=>(e(),I(U,{key:b.language,value:b.language,"as-child":"",class:O([{"bg-gray-100":b.language===s.currentLanguage.language,"rounded-t-3xl":o===0,"rounded-b-3xl":o===s.languages.length-1},"hover:border-color-bg-gray-100 focus-visible:outline-none"])},{default:g(()=>[m(d,{color:"blue-link",class:O(["text-left w-full text-gray-900 border-b-0 border-l-0 border-r-0",o===0?"border-t-0":"",b.language===s.currentLanguage.language?"bg-gray-100":""]),"as-child":""},{default:g(()=>[m(y,{url:{cachedUrl:b.language==="/en/"?"/":b.language,linktype:"story",target:"_self"},class:"flex justify-between items-center w-full"},{default:g(()=>[t("div",Ot,[b.flag?(e(),I(f,{key:0,collection:"flags",name:c(b.flag)},null,8,["name"])):C("",!0),t("span",Rt,S(b.label),1)]),b.language===s.currentLanguage.language?(e(),I(l,{key:0,icon:"CheckIcon",size:"24",type:"solid",class:"text-green-600 h-6 w-6"})):C("",!0)]),_:2},1032,["url"])]),_:2},1032,["class"])]),_:2},1032,["value","class"]))),128))]),_:1})]),_:1})]),_:1},8,["open"])}}}),de=W({__name:"NavigationLinks",props:{link:{},target:{},label:{}},setup(L){const c=L,u=P(()=>c.link?c.link.linktype!=="story"?c.link.cachedUrl:fe(he(c.link.cachedUrl)):"");
1return(h,s)=>{const r=Ve;return e(),I(r,{"no-prefetch":"",to:a(u),target:h.target,"aria-label":h.ariaLabel,class:"text-white font-normal font-inter hover:underline underline-offset-4"},{default:g(()=>[Ie(h.$slots,"default")]),_:3},8,["to","target","aria-label"])}}}),Et={class:"py-2"},Zt={class:"py-2"},Gt={class:"text-gold-500 text-base font-semibold font-inter"},qt={key:0,class:"space-y-4"},ct=W({__name:"MenuColumn",props:{column:{}},emits:["close-menu"],setup(L,{emit:c}){const u=L,h=c,s=te(),r=Z(window.innerWidth),l=()=>{r.value=window.innerWidth};He(()=>{window.addEventListener("resize",l)}),Je(()=>{window.removeEventListener("resize",l)});const d=P(()=>{var f;return((f=u.column.items)==null?void 0:f.filter(y=>y.label==="Overview"?r.value<1280:!0))??[]});function k(f){if(f.linktype==="url"){f.target==="_blank"?window.open(f.cachedUrl,"_blank"):window.location.href=f.cachedUrl;return}const y=f.linktype==="story"?"/"+f.cachedUrl.replace(/^\/|\/$/g,"")+"/":f.cachedUrl;s.path===y&&h("close-menu")}return(f,y)=>{const U=de;return e(),n("div",Et,[t("div",Zt,[t("h4",Gt,S(f.column.title),1)]),f.column.items?(e(),n("ul",qt,[(e(!0),n(w,null,$(a(d),B=>(e(),n("li",{key:B._uid,class:"mb-4"},[m(U,{link:B.link,onClick:ee(p=>k(B.link),["prevent"])},{default:g(()=>[D(S(B.label),1)]),_:2},1032,["link","onClick"])]))),128))])):C("",!0)])}}}),Jt={class:"flex flex-wrap gap-8 m-0 px-0"},Qt=W({name:"LayoutPlatform",__name:"LayoutPlatform",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=P(()=>u.subMenu.map((s,r)=>({subMenu:s,index:r})).filter(({index:s})=>s!==3));return(s,r)=>{const l=ct;return e(),n("div",Jt,[(e(!0),n(w,null,$(a(h),({subMenu:d,index:k})=>(e(),n("div",{key:d._uid+"-"+k,class:"flex-1 min-w-[20%] text-white"},[(e(!0),n(w,null,$(d.content[0].columns,f=>(e(),I(l,{key:f._uid,column:f,onCloseMenu:r[0]||(r[0]=y=>s.$emit("close-menu"))},null,8,["column"]))),128))]))),128)),u.subMenu[3]?(e(),n("div",{key:u.subMenu[3]._uid+"-3",class:"flex-1 min-w-[20%] text-white"},[(e(!0),n(w,null,$(u.subMenu[3].content[0].columns,d=>(e(),I(l,{key:d._uid+"-3",column:d,onCloseMenu:r[1]||(r[1]=k=>s.$emit("close-menu"))},null,8,["column"]))),128))])):C("",!0)])}}}),Kt={class:"min-h-72 grid grid-cols-2 w-full overflow-hidden rounded-3xl bg-gray-800 relative"},Xt={class:"w-full"},Yt={class:"w-full flex flex-col justify-between gap-2 p-6"},en={class:"text-sm leading-5 text-white font-semibold font-inter uppercase"},tn={class:"mt-2 text-xl leading-7 text-white font-bold font-inter"},nn={key:0,class:"mt-2 text-sm leading-5 text-gray-400 font-inter"},on={key:1,class:"mt-2 text-base leading-5 text-gray-400 font-inter"},ln={class:"mt-4 flex-grow flex flex-col justify-end"},sn={class:"flex flex-wrap gap-2"},rn=["target","href"],we=W({__name:"HorizontalImageCardV2",props:{imageSrc:{},eyebrow:{},headerText:{},readTime:{},info:{},url:{}},setup(L){const c=L;P(()=>{if(c.imageSrc)return{backgroundImage:`url('${c.imageSrc}')`}});const u=P(()=>c.url?c.url.linktype!=="story"?c.url.cachedUrl:fe(he(c.url.cachedUrl)):""),h=P(()=>{var s;return c.url&&c.url.linktype==="story"?"_self":((s=c.url)==null?void 0:s.target)??"_blank"});return(s,r)=>{const l=ht;return e(),n("div",Kt,[t("div",Xt,[m(l,{provider:"storyblok",src:c.imageSrc,title:"",class:"w-full h-full object-cover object-center",alt:""},null,8,["src"])]),t("div",Yt,[t("div",null,[t("span",en,S(c.eyebrow),1),t("p",tn,S(c.headerText),1),c.readTime?(e(),n("p",nn,S(c.readTime),1)):C("",!0),c.info?(e(),n("p",on,S(c.info),1)):C("",!0)]),t("div",ln,[t("div",sn,[Ie(s.$slots,"badgesOrButton")])])]),t("a",{target:a(h),href:a(u),class:"absolute inset-0"},null,8,rn)])}}}),an={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},cn={class:"py-2"},dn={class:"text-gold-500 text-base font-semibold font-inter"},un={key:0,class:"grid grid-cols-1 gap-0"},pn={class:"py-2"},gn=W({name:"LayoutResources",__name:"LayoutIndustries",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(l){if(l.linktype==="url"){l.target==="_blank"?window.open(l.cachedUrl,"_blank"):window.location.href=l.cachedUrl;return}
1const d=l.linktype==="story"?"/"+l.cachedUrl.replace(/^\/|\/$/g,"")+"/":l.cachedUrl;h.path===d&&s("close-menu")}return(l,d)=>{const k=de,f=re,y=ae,U=we;return e(),n("div",an,[(e(!0),n(w,null,$(u.subMenu,(B,p)=>(e(),n("div",{key:B._uid,class:O({"col-span-2":B.content.some(_=>_.type==="card")})},[(e(!0),n(w,null,$(B.content,(_,b)=>(e(),n("div",{key:_._uid,class:"py-2"},[_.type==="link"?(e(!0),n(w,{key:0},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2"},[t("div",cn,[t("h4",dn,S(o.title),1)]),o.items?(e(),n("ul",un,[(e(!0),n(w,null,$(o.items,(x,j)=>(e(),n("li",{key:x._uid},[t("div",pn,[m(k,{link:x.link,onClick:ee(M=>r(x.link),["prevent"])},{default:g(()=>[D(S(x.label),1)]),_:2},1032,["link","onClick"])])]))),128))])):C("",!0)]))),128)):_.type==="card"?(e(!0),n(w,{key:1},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2 col-span-2"},[m(U,{imageSrc:o.image.filename,headerText:o.header,readTime:o.readtime,eyebrow:o.eyebrow,paragraphText:o.info,url:o.url,info:o.info},{badgesOrButton:g(()=>[(e(!0),n(w,null,$(o.content,(x,j)=>(e(),I(y,{color:o.content[0].color??"primary-white",size:o.content[0].size,"as-child":"",key:x._uid},{default:g(()=>[m(f,{url:x.url.cached_url},{default:g(()=>[D(S(x.text),1)]),_:2},1032,["url"])]),_:2},1032,["color","size"]))),128))]),_:2},1032,["imageSrc","headerText","readTime","eyebrow","paragraphText","url","info"])]))),128)):C("",!0)]))),128))],2))),128))])}}}),fn={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},hn={class:"py-2"},_n={class:"text-gold-500 text-base font-semibold font-inter"},mn={key:0,class:"grid grid-cols-1 gap-0"},kn={class:"py-2"},bn=W({name:"LayoutResources",__name:"LayoutCustomers",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(l){if(l.linktype==="url"){l.target==="_blank"?window.open(l.cachedUrl,"_blank"):window.location.href=l.cachedUrl;return}const d=l.linktype==="story"?"/"+l.cachedUrl.replace(/^\/|\/$/g,"")+"/":l.cachedUrl;h.path===d&&s("close-menu")}return(l,d)=>{const k=de,f=re,y=ae,U=we;return e(),n("div",fn,[(e(!0),n(w,null,$(u.subMenu,(B,p)=>(e(),n("div",{key:B._uid,class:O({"col-span-2":B.content.some(_=>_.type==="card")})},[(e(!0),n(w,null,$(B.content,(_,b)=>(e(),n("div",{key:_._uid,class:"py-2"},[_.type==="link"?(e(!0),n(w,{key:0},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2"},[t("div",hn,[t("h4",_n,S(o.title),1)]),o.items?(e(),n("ul",mn,[(e(!0),n(w,null,$(o.items,(x,j)=>(e(),n("li",{key:x._uid},[t("div",kn,[m(k,{link:x.link,onClick:ee(M=>r(x.link),["prevent"])},{default:g(()=>[D(S(x.label),1)]),_:2},1032,["link","onClick"])])]))),128))])):C("",!0)]))),128)):_.type==="card"?(e(!0),n(w,{key:1},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2 col-span-2"},[m(U,{imageSrc:o.image.filename,headerText:o.header,readTime:o.readtime,eyebrow:o.eyebrow,paragraphText:o.info,url:o.url,info:o.info},{badgesOrButton:g(()=>[(e(!0),n(w,null,$(o.content,(x,j)=>(e(),I(y,{color:o.content[0].color??"primary-white",size:o.content[0].size,"as-child":"",key:x._uid},{default:g(()=>[m(f,{url:x.url.cached_url},{default:g(()=>[D(S(x.text),1)]),_:2},1032,["url"])]),_:2},1032,["color","size"]))),128))]),_:2},1032,["imageSrc","headerText","readTime","eyebrow","paragraphText","url","info"])]))),128)):C("",!0)]))),128))],2))),128))])}}}),yn={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},vn={class:"py-2"},xn={class:"text-gold-500 text-base font-semibold font-inter"},wn={key:0},Cn={key:1,class:"text-white font-normal hover:underline cursor-pointer"},Te=W({name:"LayoutWhyBlackline",__name:"LayoutWhyBlackline",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(d){return!d||!d.cachedUrl?"":d.linktype==="story"?fe(he(d.cachedUrl)):d.cachedUrl}function l(d){if(!d||!d.cachedUrl)return;let k=r(d);if(h.path===k){s("close-menu");return}if(d.linktype==="url"){d.target==="_blank"?window.open(k,"_blank"):window.location.href=k;return}ot(k),s("close-menu")}return(d,k)=>{const f=Ve,y=Bt,U=we;return e(),n("div",yn,[(e(!0),n(w,null,$(u.subMenu,(B,p)=>(e(),n("div",{class:O(["flex-1 min-w-[20%] text-white",{"col-span-2":B.content.some(_=>_.type==="card")}]),key:B._uid},[(e(!0),n(w,null,$(B.content,(_,b)=>(e(),n("div",{key:_._uid,class:"py-2"},[_.type==="link"?(e(!0),n(w,{key:0},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2"},[t("div",vn,[t("h4",xn,S(o.title),1)]),o.items?(e(),n("ul",wn,[(e(!0),n(w,null,$(o.items,(x,j)=>(e(),n("li",{key:x._uid,class:"py-2"},[x.link?(e(),I(f,{key:0,to:r(x.link),target:x.link.target,class:"text-white font-normal hover:underline cursor-pointer",onClick:ee(M=>l(x.link),["prevent"])},{default:g(()=>[D(S(x.label),1)]),_:2},1032,["to","target","onClick"])):(e(),n("span",Cn,S(x.label),1))]))),128))])):C("",!0)]))),128)):_.type==="card"?(e(!0),n(w,{key:1},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2"},[m(U,{imageSrc:o.image.filename,headerText:o.header,readTime:o.readtime,eyebrow:o.eyebrow,url:o.url,info:o.info},{badgesOrButton:g(()=>[o.readtime?(e(),I(y,{key:0,text:o.readtime,color:"lavender"},null,8,["text"])):C("",!0)]),_:2},1032,["imageSrc","headerText","readTime","eyebrow","url","info"])]))),128)):C("",!0)]))),128))],2))),128))])}}}),$n={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},An={class:"py-2"},Ln={class:"text-gold-500 text-base font-semibold font-inter"},Mn={key:0,class:"grid grid-cols-1 gap-0"},Sn={class:"py-2"},ze=W({name:"LayoutResources",__name:"LayoutResources",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(l){if(l.linktype==="url"){l.target==="_blank"?window.open(l.cachedUrl,"_blank"):window.location.href=l.cachedUrl;return}
1const d=l.linktype==="story"?"/"+l.cachedUrl.replace(/^\/|\/$/g,"")+"/":l.cachedUrl;h.path===d&&s("close-menu")}return(l,d)=>{const k=de,f=re,y=ae,U=we;return e(),n("div",$n,[(e(!0),n(w,null,$(u.subMenu,(B,p)=>(e(),n("div",{key:B._uid,class:O({"col-span-2":B.content.some(_=>_.type==="card")})},[(e(!0),n(w,null,$(B.content,(_,b)=>(e(),n("div",{key:_._uid,class:"py-2"},[_.type==="link"?(e(!0),n(w,{key:0},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2"},[t("div",An,[t("h4",Ln,S(o.title),1)]),o.items?(e(),n("ul",Mn,[(e(!0),n(w,null,$(o.items,(x,j)=>(e(),n("li",{key:x._uid},[t("div",Sn,[m(k,{link:x.link,onClick:ee(M=>r(x.link),["prevent"])},{default:g(()=>[D(S(x.label),1)]),_:2},1032,["link","onClick"])])]))),128))])):C("",!0)]))),128)):_.type==="card"?(e(!0),n(w,{key:1},$(_.columns,(o,H)=>(e(),n("div",{key:o._uid,class:"py-2 col-span-2"},[m(U,{imageSrc:o.image.filename,headerText:o.header,readTime:o.readtime,eyebrow:o.eyebrow,paragraphText:o.info,url:o.url,info:o.info},{badgesOrButton:g(()=>[(e(!0),n(w,null,$(o.content,(x,j)=>(e(),I(y,{color:o.content[0].color??"primary-white",size:o.content[0].size,"as-child":"",key:x._uid},{default:g(()=>[m(f,{url:x.url.cached_url},{default:g(()=>[D(S(x.text),1)]),_:2},1032,["url"])]),_:2},1032,["color","size"]))),128))]),_:2},1032,["imageSrc","headerText","readTime","eyebrow","paragraphText","url","info"])]))),128)):C("",!0)]))),128))],2))),128))])}}}),In={class:"flex flex-wrap gap-8 m-0 px-0"},De=W({name:"LayoutProducts",__name:"LayoutProducts",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=P(()=>u.subMenu.map((s,r)=>({subMenu:s,index:r})).filter(({index:s})=>s!==3));return(s,r)=>{const l=ct;return e(),n("div",In,[(e(!0),n(w,null,$(a(h),({subMenu:d,index:k})=>(e(),n("div",{key:d._uid+"-"+k,class:"flex-1 min-w-[20%] text-white"},[(e(!0),n(w,null,$(d.content[0].columns,f=>(e(),I(l,{key:f._uid,column:f,onCloseMenu:r[0]||(r[0]=y=>s.$emit("close-menu"))},null,8,["column"]))),128))]))),128)),u.subMenu[3]?(e(),n("div",{key:u.subMenu[3]._uid+"-3",class:"flex-1 min-w-[20%] text-white"},[(e(!0),n(w,null,$(u.subMenu[3].content[0].columns,d=>(e(),I(l,{key:d._uid+"-3",column:d,onCloseMenu:r[1]||(r[1]=k=>s.$emit("close-menu"))},null,8,["column"]))),128))])):C("",!0)])}}}),Bn={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},Vn={class:"py-2"},Hn={key:0},Un={key:1,class:"flex text-white items-center font-normal hover:underline cursor-pointer"},je=W({name:"LayoutSolutions",__name:"LayoutSolutions",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(k){return!k||!k.cachedUrl?"":k.linktype==="story"?fe(he(k.cachedUrl)):k.cachedUrl}function l(k){if(!k||!k.cachedUrl)return;let f=r(k);if(h.path===f){s("close-menu");return}if(k.linktype==="url"){k.target==="_blank"?window.open(f,"_blank"):window.location.href=f;return}ot(f),s("close-menu")}function d(){s("close-menu")}return(k,f)=>{const y=it,U=Ue,B=Ve;return e(),n("div",Bn,[(e(!0),n(w,null,$(u.subMenu,(p,_)=>(e(),n("div",{class:"col-span-1",key:p._uid},[(e(!0),n(w,null,$(p.content,(b,o)=>(e(),n("div",{key:b._uid,class:"py-2"},[b.type==="link"?(e(!0),n(w,{key:0},$(b.columns,(H,x)=>{var j;return e(),n("div",{key:H._uid,class:"py-2"},[t("div",Vn,[(j=H.link)!=null&&j.cachedUrl?(e(),I(y,{key:0,link:H.link,onClick:d},{default:g(()=>[D(S(H.title),1)]),_:2},1032,["link"])):(e(),I(y,{key:1},{default:g(()=>[D(S(H.title),1)]),_:2},1024))]),H.items?(e(),n("ul",Hn,[(e(!0),n(w,null,$(H.items,(M,R)=>(e(),n("li",{class:"py-2",key:M._uid},[M.link?(e(),I(B,{key:0,to:r(M.link),target:M.link.target,class:"flex text-white items-center font-normal hover:underline cursor-pointer",onClick:ee(V=>l(M.link),["prevent"])},{default:g(()=>[D(S(M.label)+" ",1),M.icon?(e(),I(U,{key:0,class:"ml-2 w-4 h-4",icon:M.icon,size:"24",type:"solid"},null,8,["icon"])):C("",!0)]),_:2},1032,["to","target","onClick"])):(e(),n("span",Un,[D(S(M.label)+" ",1),M.icon?(e(),I(U,{key:0,class:"ml-2 w-4 h-4",icon:M.icon,size:"24",type:"solid"},null,8,["icon"])):C("",!0)]))]))),128))])):C("",!0)])}),128)):C("",!0)]))),128))]))),128))])}}}),Tn={class:"pl-6"},zn={class:"item-center mt-3 flex flex-wrap gap-2 justify-start"},Dn=W({__name:"HorizontalTextCard",props:{theme:{default:"dark"},header:{default:""},info:{default:""},link:{},linkColor:{default:"black"},linkText:{default:"See all Links"}},emits:["close-menu"],setup(L,{emit:c}){const u=c,h=te();function s(r){let l="";typeof r=="string"?l=r.startsWith("/")?r:`/${r}`:typeof r=="object"&&r!==null&&(r.linktype==="story"&&r.cachedUrl?l="/"+r.cachedUrl.replace(/^\/|\/$/g,"")+"/":r.cachedUrl&&(l=r.cachedUrl)),l&&h.path===l&&u("close-menu")}return(r,l)=>{const d=Vt;return e(),n("div",{class:O(["grid grid-cols-1 gap-4 items-start divide-x",{"divi
1de-gray-600":r.theme==="light","divide-gray-300":r.theme==="dark"}])},[l[1]||(l[1]=t("div",null,null,-1)),t("div",Tn,[t("p",{class:O(["text-sm leading-5 font-semibold font-inter uppercase",{"text-black":r.theme==="light","text-gray-400":r.theme==="dark"}])},S(r.header),3),t("p",{class:O(["mt-2 text-base leading-5 font-normal font-inter",{"text-black":r.theme==="light","text-gray-400":r.theme==="dark"}])},S(r.info),3),t("div",zn,[m(d,{link:r.link,icon:"ArrowRightIcon",iconSize:"16",iconType:"solid",color:r.linkColor,onClick:l[0]||(l[0]=ee(k=>s(r.link),["prevent"]))},{default:g(()=>[D(S(r.linkText),1)]),_:1},8,["link","color"])])])],2)}}}),jn={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},Nn={class:"py-2"},Fn={class:"text-gold-500 text-base font-semibold font-inter"},Pn={key:0},On={key:1,class:"text-white font-normal hover:underline cursor-pointer"},Ne=W({name:"LayoutOurPartners",__name:"LayoutOurPartners",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(f){if(f.linktype==="url"){f.target==="_blank"?window.open(f.cachedUrl,"_blank"):window.location.href=f.cachedUrl;return}const y=f.linktype==="story"?"/"+f.cachedUrl.replace(/^\/|\/$/g,"")+"/":f.cachedUrl;h.path===y&&s("close-menu")}const l=Z(window.innerWidth),d=()=>{l.value=window.innerWidth};He(()=>{window.addEventListener("resize",d)}),Je(()=>{window.removeEventListener("resize",d)});const k=f=>f.filter(y=>y.label==="Overview"?l.value<1280:!0);return(f,y)=>{const U=de,B=Dn;return e(),n("div",jn,[(e(!0),n(w,null,$(u.subMenu,(p,_)=>(e(),n("div",{key:p._uid},[(e(!0),n(w,null,$(p.content,(b,o)=>(e(),n("div",{key:b._uid,class:"py-2"},[b.type==="link"?(e(!0),n(w,{key:0},$(b.columns,(H,x)=>(e(),n("div",{key:H._uid,class:"py-2"},[t("div",Nn,[t("h4",Fn,S(H.title),1)]),H.items?(e(),n("ul",Pn,[(e(!0),n(w,null,$(k(H.items),(j,M)=>(e(),n("li",{class:"py-2",key:j._uid},[j.link?(e(),I(U,{key:0,link:j.link,onClick:ee(R=>r(j.link),["prevent"])},{default:g(()=>[D(S(j.label),1)]),_:2},1032,["link","onClick"])):(e(),n("span",On,S(j.label),1))]))),128))])):C("",!0)]))),128)):b.type==="text"?(e(!0),n(w,{key:1},$(b.columns,(H,x)=>(e(),n("div",{key:H._uid,class:"py-2 col-span-2"},[m(B,{header:H.header,info:H.info,theme:H.theme,linkText:H.linkLabel,linkColor:"white",link:H.link,onCloseMenu:y[0]||(y[0]=j=>f.$emit("close-menu"))},null,8,["header","info","theme","linkText","link"])]))),128)):C("",!0)]))),128))]))),128))])}}}),Rn={class:"grid grid-cols-4 gap-8 m-0 px-0 grid-auto-rows-auto"},Wn={key:0,class:"py-2"},En={key:1,class:"text-white font-semibold"},Zn={key:1,class:"py-2"},Gn={key:2,class:"grid grid-cols-2 gap-0"},qn={class:"py-2"},Fe=W({name:"LayoutWhoWeAre",__name:"LayoutWhoWeAre",props:{menuData:{}},emits:["close-menu"],setup(L,{emit:c}){const{menuData:u}=L,h=te(),s=c;function r(f){const y=f.linktype==="story"?"/"+f.cachedUrl.replace(/^\/|\/$/g,"")+"/":f.cachedUrl;if(h.path.replace(/\/$/,"")===y.replace(/\/$/,"")){s("close-menu");return}window.location.href=y}const l=Z(window.innerWidth),d=()=>{l.value=window.innerWidth};He(()=>{window.addEventListener("resize",d)}),Je(()=>{window.removeEventListener("resize",d)});const k=f=>f.filter(y=>y.label==="Overview"?l.value<1280:!0);return(f,y)=>{const U=it,B=de,p=re,_=ae,b=we;return e(),n("div",Rn,[(e(!0),n(w,null,$(u.subMenu,(o,H)=>(e(),n("div",{class:"flex-1 min-w-[20%] col-span-2",key:o._uid},[(e(!0),n(w,null,$(o.content,(x,j)=>(e(),n("div",{key:x._uid,class:"py-2"},[x.type==="link"?(e(!0),n(w,{key:0},$(x.columns,(M,R)=>(e(),n("div",{key:M._uid,class:"py-2"},[M.title?(e(),n("div",Wn,[M.link?(e(),I(U,{key:0,link:M.link,onClick:ee(V=>r(M.link),["prevent"])},{default:g(()=>[D(S(M.title),1)]),_:2},1032,["link","onClick"])):(e(),n("span",En,S(M.title),1))])):(e(),n("div",Zn," ")),M.items?(e(),n("ul",Gn,[(e(!0),n(w,null,$(k(M.items),(V,K)=>(e(),n("li",{key:V._uid},[t("div",qn,[V.link.target?(e(),I(B,{key:0,link:V.link,target:V.link.target},{default:g(()=>[D(S(V.label),1)]),_:2},1032,["link","target"])):(e(),I(B,{key:1,link:V.link,onClick:ee(oe=>r(V.link),["prevent"])},{default:g(()=>[D(S(V.label),1)]),_:2},1032,["link","onClick"]))])]))),128))])):C("",!0)]))),128)):x.type==="card"?(e(!0),n(w,{key:1},$(x.columns,(M,R)=>(e(),n("div",{key:M._uid,class:"py-2 col-span-2"},[m(b,{imageSrc:M.image.filename,headerText:M.header,readTime:M.readtime,eyebrow:M.eyebrow,url:M.url,
1info:M.info},{badgesOrButton:g(()=>[(e(!0),n(w,null,$(M.content,(V,K)=>(e(),I(_,{color:M.content[0].color??"primary-white",size:M.content[0].size,"as-child":"",key:V._uid},{default:g(()=>[m(p,{url:V.url.cached_url},{default:g(()=>[D(S(V.text),1)]),_:2},1032,["url"])]),_:2},1032,["color","size"]))),128))]),_:2},1032,["imageSrc","headerText","readTime","eyebrow","url","info"])]))),128)):C("",!0)]))),128))]))),128))])}}}),Jn={class:"relative z-20 3xl:container 3xl:mx-auto xl:px-16 lg:px-12 sm:px-8 py-10 flex items-center justify-between"},Qn={class:"flex items-start"},Kn={class:"relative mt-2.5"},Xn={class:"hidden list-none md:flex lg:flex xl:flex 2xl:flex 3xl:flex space-x-6 2xl:space-x-8 3xl:space-x-12"},Yn=["value"],eo={class:"flex gap-4 items-center"},to={class:"hidden xl:flex items-center gap-4"},no={class:"mega-menu-content absolute z-10 top-0 inset-x-0 pt-[112px] bg-black"},oo={class:"relative"},lo={key:0},so=W({__name:"NavigationDesktopV2",props:{theme:{},backgroundColorClasses:{},itemActiveBorderColor:{},logoWhite:{},logoBlack:{},mainMenu:{},primaryAction:{},secondaryAction:{},currentLanguage:{},languages:{}},setup(L){const c=L,u=te(),h=Z(!1),s=Z(null),r=P(()=>h.value||c.theme==="dark"?c.logoWhite:c.logoBlack),l=P(()=>h.value||c.theme==="dark"?"white":"black"),d=P(()=>`primary-${l.value}`),k=P(()=>h.value||c.theme==="dark"?"secondary-outlined":"primary-outlined"),f=P(()=>h.value?"yellow":c.itemActiveBorderColor),y=o=>{h.value=!0,s.value=o},U=()=>{h.value=!1,s.value=null},B=o=>{h.value&&s.value===o?U():y(o)},p=Z(null),_=Z(null);It(p,U,{ignore:[_]});const b=o=>({Products:De,Solutions:je,"Our partners":Ne,"Who we are":Fe,Platform:Qt,Industries:gn,Customers:bn,"Why BlackLine":Te,Resources:ze,Produits:De,Solutions:je,"Pourquoi BlackLine":Te,"Nos partenaires":Ne,"Qui sommes-nous":Fe,Ressources:ze,Produkte:De,Lösungen:je,"Warum BlackLine":Te,"Unsere Partner":Ne,"Wer wir sind":Fe,Ressourcen:ze})[o]||DefaultLayout;return ce(()=>u.path,()=>{U()}),(o,H)=>{const x=Oe,j=Pt,M=re,R=ae,V=Wt;return e(),n("nav",{class:O([o.backgroundColorClasses,"relative z-50"])},[t("div",Jn,[t("div",Qn,[m(x,{logo:a(r)},null,8,["logo"])]),t("div",{ref_key:"megaMenuNavList",ref:p,class:"mega-menu-navlist hidden lg:space-x-6 xl:space-x-6 2xl:space-x-6 3xl:space-x-6 2xl:flex xl:flex xl:items-center 2xl:items-center 3xl:flex"},[t("div",Kn,[t("div",null,[t("ul",Xn,[(e(!0),n(w,null,$(o.mainMenu,(K,oe)=>(e(),n("li",{key:K.uid,value:K.uid,class:"cursor-pointer"},[m(j,{href:K.link,color:a(l),onClick:X=>B(oe),activeMenuIndex:a(s),isActive:a(s)===oe,"active-border-color":a(f)},{default:g(()=>[D(S(K.label),1)]),_:2},1032,["href","color","onClick","activeMenuIndex","isActive","active-border-color"])],8,Yn))),128))])])])],512),t("div",eo,[t("div",to,[o.primaryAction.length?(e(),I(R,{key:0,color:a(d),size:o.primaryAction[0].size,"as-child":""},{default:g(()=>[m(M,{url:o.primaryAction[0].url},{default:g(()=>[D(S(o.primaryAction[0].text),1)]),_:1},8,["url"])]),_:1},8,["color","size"])):C("",!0),o.secondaryAction.length?(e(),I(R,{key:1,color:a(k),size:o.secondaryAction[0].size,"as-child":""},{default:g(()=>[m(M,{url:o.secondaryAction[0].url},{default:g(()=>[D(S(o.secondaryAction[0].text),1)]),_:1},8,["url"])]),_:1}
1,8,["color","size"])):C("",!0)]),m(V,{"current-language":o.currentLanguage,languages:o.languages,color:a(l)},null,8,["current-language","languages","color"])])]),m(ge,{name:"fade"},{default:g(()=>[Qe(t("div",null,[t("div",no,[t("div",{ref_key:"megaMenuContent",ref:_,class:"pb-14 xl:px-16 3xl:container 3xl:mx-auto"},[t("div",oo,[m(ge,{name:"fade"},{default:g(()=>[a(s)!==null?(e(),n("div",lo,[(e(),I(_t(b(o.mainMenu[a(s)].label)),{"menu-data":o.mainMenu[a(s)],onCloseMenu:U},null,40,["menu-data"]))])):C("",!0)]),_:1})])],512)]),H[0]||(H[0]=t("div",{class:"mega-menu-backdrop fixed inset-0 bg-black opacity-80"},null,-1))],512),[[lt,a(h)]])]),_:1})],2)}}}),ro={class:"flex items-center gap-3"},ao={class:"text-sm font-normal"},io=W({__name:"LanguageSelectorMobile",props:{currentLanguage:{},languages:{},color:{}},setup(L){const c=s=>s.replace(/^i-flags-/,"").trim(),u=Z(!1),{width:h}=rt();return ce(h,()=>{h.value>=parseInt(at.screens.xl)&&(u.value=!1)}),(s,r)=>{const l=Ue,d=ae,k=Ee,f=st,y=re,U=qe,B=Ge,p=Ze,_=We;return e(),I(_,{open:a(u),"onUpdate:open":r[0]||(r[0]=b=>Be(u)?u.value=b:null)},{default:g(()=>[m(k,{"as-child":"","aria-label":"Change language"},{default:g(()=>[m(d,{color:"transparent",class:"transparent border-0 align-left !p-0"},{default:g(()=>[a(u)?C("",!0):(e(),I(l,{key:0,icon:"GlobeAmericasIcon",size:"24",type:"solid",class:O(["h-8 w-8 cursor-pointer",`text-${s.color}`])},null,8,["class"])),a(u)?(e(),I(l,{key:1,icon:"ChevronUpIcon",size:"24",type:"solid",class:O(["h-8 w-8 cursor-pointer",`text-${s.color}`])},null,8,["class"])):C("",!0)]),_:1})]),_:1}),m(p,null,{default:g(()=>[m(B,{class:"min-w-[calc(100vw-3rem)] mx-6 outline-none bg-white rounded-3xl drop-shadow-lg flex flex-col items-start px-6 py-4 relative z-50 [ lg:min-w-[225px] lg:mx-0 ]","side-offset":16,align:"end"},{default:g(()=>[(e(!0),n(w,null,$(s.languages,(b,o)=>(e(),I(U,{key:b.language,value:b.language,"as-child":"",class:O([{"bg-gray-100":b.language===s.currentLanguage.language,"rounded-t-3xl":o===0,"rounded-b-3xl":o===s.languages.length-1},"hover:border-transparent"])},{default:g(()=>[m(d,{color:"blue-link",class:O(["text-left w-full text-gray-900 border-b-0 border-l-0 border-r-0",o===0?"border-t-0":"",b.language===s.currentLanguage.language?"bg-gray-100":""]),"as-child":""},{default:g(()=>[m(y,{url:{cachedUrl:b.language==="/en/"?"/":b.language,linktype:"story",target:"_self"},class:"flex justify-between items-center w-full"},{default:g(()=>[t("div",ro,[b.flag?(e(),I(f,{key:0,collection:"flags",name:c(b.flag)},null,8,["name"])):C("",!0),t("span",ao,S(b.label),1)]),b.language===s.currentLanguage.language?(e(),I(l,{key:0,icon:"CheckIcon",size:"24",type:"solid",class:"text-green-600 h-6 w-6"})):C("",!0)]),_:2},1032,["url"])]),_:2},1032,["class"])]),_:2},1032,["value","class"]))),128))]),_:1})]),_:1})]),_:1},8,["open"])}}}),co={class:"lg:px-12 sm:px-8 p-6 flex items-center justify-between relative z-20"},uo={class:"flex items-start"},po={class:"flex xl:hidden"},go={class:"w-6 h-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},fo={class:"absolute z-10 top-0 inset-x-0 pt-[112px] h-dvh bg-black"},ho={class:"flex flex-col h-full xl:hidden pb-6"},_o={class:"block flex-1 overflow-auto m-0"},mo={class:"py-4 px-6 lg:px-12 sm:px-8 border-b border-gray-600"},ko=["onClick"],bo={key:0,class:"w-full m-0 p-0 bg-gray-900 border-b border-gray-600"},yo={class:"py-4 pl-8 pr-6 lg:pr-12 lg:pl-16 sm:px-8 sm:pl-12 border-t border-gray-600"},vo=["onClick"],xo={class:"text-white font-bold text-xl"},wo={key:0,class:"w-full m-0 pb-4 bg-gray-900"},Co={class:"py-2 pl-8 pr-6 lg:pr-12 lg:pl-16 sm:px-8 sm:pl-12"},$o={class:"flex flex-col sm:px-8 md:flex-row lg:px-12 justify-between mt-6 px-6"},Ao=W({__name:"NavigationMobileV2",props:{theme:{},backgroundColorClasses:{},itemActiveBorderColor:{},logoWhite:{},logoBlack:{},mainMenu:{},primaryAction:{},secondaryAction:{},currentLanguage:{},languages:{}},setup(L){const c=L,u=te(),h=p=>{let _="";if(p!=null&&p.cachedUrl?_=p.cachedUrl:p!=null&&p.url&&(_=p.url),!!_){if(!_.startsWith("http://")&&!_.startsWith("https://")&&(_="/"+_.replace(/^\/|\/$/g,"")),u.path.replace(/\/$/,"")===_.replace(/\/$/,"")){s.value=!1,r.value=[];return}p.target==="_blank"?window.open(_,"_blank"):window.location.href=_}},s=Z(!1),r=Z([]),l=P(()=>s.value||c.theme==="dark"?c.logoWhite:c.logoBlack),d=P(()=>s.value||c.theme==="dark"?"white":"black"),k=p=>
1p.content.filter(_=>_.type==="link"),f=p=>p.subMenu.filter(_=>k(_).length>0),y=(p,_)=>r.value[_]===p,U=(p,_)=>{r.value[_]===p?r.value=r.value.slice(0,_):(r.value=r.value.slice(0,_),r.value[_]=p)},B=()=>{s.value=!s.value};return ce(s,()=>{s.value?document.body.classList.add("navigation-mobile-menu-open"):(document.body.classList.remove("navigation-mobile-menu-open"),r.value=[])}),ce(()=>u.path,()=>{s.value=!1,r.value=[]}),mt(()=>{document.body.classList.remove("navigation-mobile-menu-open")}),(p,_)=>{const b=Oe,o=io,H=Ve,x=Ht,j=de,M=re,R=ae;return e(),n("nav",{class:O([p.backgroundColorClasses,"relative z-50"])},[t("div",co,[t("div",uo,[m(b,{logo:a(l)},null,8,["logo"])]),t("div",po,[m(o,{"current-language":p.currentLanguage,languages:p.languages,color:a(d)},null,8,["current-language","languages","color"]),t("button",{onClick:B,class:O([`text-${a(d)}`,"xl:hidden 2xl:hidden 3xl:hidden ml-4"])},[(e(),n("svg",go,[t("path",{class:O(s.value?"hidden":"block"),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,2),t("path",{class:O(s.value?"block":"hidden"),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,2)]))],2)])]),m(ge,{name:"fade"},{default:g(()=>[Qe(t("div",fo,[t("div",ho,[t("ul",_o,[(e(!0),n(w,null,$(p.mainMenu,V=>(e(),n("li",{key:V._uid,class:"border-b border-gray-700 md:border-0"},[t("div",mo,[t("button",{onClick:K=>U(V.uid,0),class:"w-full flex justify-between items-center"},[m(H,{class:"text-gold-500 font-bold text-xl"},{default:g(()=>[D(S(V.label),1)]),_:2},1024),y(V.uid,0)?C("",!0):(e(),I(x,{key:0,iconName:"ChevronDownIcon",class:"text-white ml-2 w-5 h-5"})),y(V.uid,0)?(e(),I(x,{key:1,iconName:"ChevronUpIcon",class:"text-white ml-2 w-5 h-5"})):C("",!0)],8,ko)]),m(ge,{name:"slide"},{default:g(()=>[V.subMenu&&y(V.uid,0)?(e(),n("ul",bo,[(e(!0),n(w,null,$(f(V),K=>(e(),n("li",{key:K.uid,class:"border-0"},[(e(!0),n(w,null,$(k(K),oe=>(e(),n("div",{key:oe.uid},[t("div",null,[(e(!0),n(w,null,$(oe.columns,X=>(e(),n("div",{key:X.uid},[t("div",yo,[t("button",{onClick:Y=>U(X.uid,1),class:"w-full flex justify-between items-center text-left"},[t("span",xo,S(X.title),1),y(X.uid,1)?C("",!0):(e(),I(x,{key:0,iconName:"ChevronDownIcon",class:"text-white ml-2 w-5 h-5"})),y(X.uid,1)?(e(),I(x,{key:1,iconName:"ChevronUpIcon",class:"text-white ml-2 w-5 h-5"})):C("",!0)],8,vo)]),m(ge,{name:"slide"},{default:g(()=>[y(X.uid,1)?(e(),n("ul",wo,[(e(!0),n(w,null,$(X.items,Y=>(e(),n("li",{key:Y.uid,class:"border-0"},[t("div",Co,[Y.link.target?(e(),I(j,{key:0,link:Y.link,target:Y.link.target},{default:g(()=>[D(S(Y.label),1)]),_:2},1032,["link","target"])):(e(),I(j,{key:1,link:Y.link,onClick:ee(_e=>h(Y.link),["prevent"])},{default:g(()=>[D(S(Y.label),1)]),_:2},1032,["link","onClick"]))])]))),128))])):C("",!0)]),_:2},1024)]))),128))])]))),128))]))),128))])):C("",!0)]),_:2},1024)]))),128))]),t("div",$o,[p.primaryAction.length?(e(),I(R,{key:0,class:"mb-4 md:mb-0 md:flex-1 md:mr-2 text-center",color:p.primaryAction[0].color,size:p.primaryAction[0].size,"as-child":""},{default:g(()=>[m(M,{url:p.primaryAction[0].url},{default:g(()=>[D(S(p.primaryAction[0].text),1)]),_:1},8,["url"])]),_:1},8,["color","size"])):C("",!0),p.secondaryAction.length?(e(),I(R,{key:1,class:"md:flex-1 md:ml-2 text-center hidden xl:block",color:p.secondaryAction[0].color,size:p.secondaryAction[0].size,"as-child":""},{default:g(()=>[m(M,{url:p.secondaryAction[0].url},{default:g(()=>[D(S(p.secondaryAction[0].text),1)]),_:1},8,["url"])]),_:1},8,["color","size"])):C("",!0)])])],512),[[lt,s.value]])]),_:1})],2)}}}),Lo=W({__name:"NavigationV2",props:{theme:{default:"light"},backgroundColorClasses:{default:"bg-transparent"},itemActiveBorderColor:{default:"yellow"}},async setup(L){let c,u;const{camelize:h}=zt(),s=te(),r=bt(),l=kt(),d=r.public.version,k=P(()=>s.params.lang||"en"),{data:f}=([c,u]=yt(async()=>Tt("navigation",async()=>{const p=k.value??"en",{data:_}=await l.getStory(`${p}/navigation/new-navigation-v4`,{version:d});return _.story},{watch:[k]})),c=await c,u(),c),y=P(()=>h(f.value)),U=[{label:"USA",flag:"i-flags-us",language:"/en/"},{label:"France",flag:"i-flags-fr",language:"/fr/"},{label:"Germany",flag:"i-flags-de",language:"/de/"},{label:"Spain",flag:"i-flags-es",language:"/es/"},{label:"China",flag:"i-flags-cn",language:"/zh/"},{label:"Indonesia",flag:"i-flags-id",language:"/id/"},{label:"Denmark",flag:"i-flags-dk",language:"/dk/"},{label:"Netherlands",flag:"i-flags-nl",language:"/nl/"},{label:"Norway",flag:"i-flags-no",language:"/no/"},{label:"Sweden",flag:"i-flags-se",language:"/se/"},{label:"Finland",flag:"i-flags-fi",language:"/fi/"},{label:"Thailand",flag:"i-flags-th",language:"/th/"}],B=P(()=>U.find(p=>k.value?p.language===fe(he(`/${k.value}/`)):p.language==="/en/")??U[0]);return(p,_)=>{var H,x,j,M,R,V,K,oe,X,Y,_e,me,Ce,$e,ue,ke,be,Ae,Le,Me;const b=so,o=Ao;return e(),n(w,null,[t("div",null,[m(b,{"logo-white":(x=(H=a(y))==null?void 0:H.content)==null?void 0:x.logoWhite,"logo-black":(M=(j=a(y))==null?void 0:j.content)==null?void 0:M.logoBlack,"main-menu":(V=(R=a(y))==null?void 0:R.content)==null?void 0:V.menu,"primary-action":(oe=(K=a(y))==null?void 0:K.content)==null?void 0:oe.primaryAction,"secondary-action":(Y=(X=a(y))==null?void 0:X.content)==null?void 0:Y.secondaryAction,languages:U,"current-language":a(B),theme:p.theme,"background-color-classes":p.backgroundColorClasses,"nav-item-border-color":p.itemActiveBorderColor,class:"relative hidden xl:block"},null,8,["logo-white","logo-black","main-menu","primary-action","secondary-action","current-language","theme","background-color-classes","nav-item-border-color"])]),m(o,{class:"xl:hidden","logo-white":(me=(_e=a(y))==null?void 0:_e.content)==null?void 0:me.logoWhite,"logo-black":($e=(Ce=a(y))==null?void 0:Ce.content)==null?void 0:$e.logoBlack,"main-menu":(ke=(ue=a(y))==null?void 0:ue.content)==null?void 0:ke.menu,"primary-action":(Ae=(be=a(y))==null?void 0:be.content)==null?void 0:Ae.primaryAction,"secondary-action":(Me=(Le=a(y))==null?void 0:Le.content)==null?void 0:Me.secondaryAction,languages:U,"current-language":a(B),theme:p.theme,"background-color-classes":p.backgroundColorClasses,"nav-item-border-color":p.itemActiveBorderColor},null,8,["logo-white","logo-black","main-menu","primary-action","secondary-action","current-language","theme","background-color-classes","nav-item-border-color"])],64)}}}),Mo={class:"text-md w-full text-black font-extrabold"},So=W({__name:"NavigationLanguageDesktop",props:{currentLanguage:{},languages:{}},setup(L){return(c,u)=>{const h=Ue,s=ae,r=Ee,l=qe,d=vt,k=re,f=Ge,y=Ze,U=We;return e(),I(U,null,{default:g(()=>[m(r,{"as-child":"","aria-label":"Change language"},{default:g(()=>[m(s,{color:"blue-link",class:"text-gray-900"},{default:g(()=>[m(h,{icon:"GlobeAltIcon",size:"24",type:"outline",class:"w-6 h-6 shrink-0"})]),_:1})]),_:1}),m(y,null,{default:g(()=>[m(f,{class:"min-w-[150px] outline-none bg-white rounded-md drop-shadow-lg flex flex-col items-star gap-4 p-2","side-offset":16},{default:g(()=>[m(l,{class:"flex justify-between items-center w-full",disabled:""},{default:g(()=>[t("p",Mo,S(c.currentLanguage.label),1),m(h,{icon:"CheckIcon",size:"24",type:"outline",class:"w-4 h-4"})]),_:1}),m(d,{class:"bg-gray-300 w-full"}),(e(!0),n(w,null,$(c.languages,B=>
1(e(),I(l,{key:B.language,value:B.language,"as-child":""},{default:g(()=>[m(s,{color:"tertiary-black",size:"xs","as-child":""},{default:g(()=>[m(k,{url:{cachedUrl:B.language==="/en/"?"/":B.language,linktype:"story",target:"_self"}},{default:g(()=>[D(S(B.label),1)]),_:2},1032,["url"])]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})}}}),Io={class:"bg-white relative z-50"},Bo={class:"relative z-20 3xl:container 3xl:mx-auto xl:px-16 lg:px-12 sm:px-8 py-10 flex items-center justify-between"},Vo={class:"flex gap-6"},Ho=W({__name:"NavigationInternational",setup(L){const c=te(),u=P(()=>c.params.lang),h=[{label:"USA",flag:"i-flags-us",language:"/en/"},{label:"France",flag:"i-flags-fr",language:"/fr/"},{label:"Germany",flag:"i-flags-de",language:"/de/"},{label:"Spain",flag:"i-flags-es",language:"/es/"},{label:"China",flag:"i-flags-cn",language:"/zh/"},{label:"Indonesia",flag:"i-flags-id",language:"/id/"},{label:"Denmark",flag:"i-flags-dk",language:"/dk/"},{label:"Netherlands",flag:"i-flags-nl",language:"/nl/"},{label:"Norway",flag:"i-flags-no",language:"/no/"},{label:"Sweden",flag:"i-flags-se",language:"/se/"},{label:"Finland",flag:"i-flags-fi",language:"/fi/"},{label:"Thailand",flag:"i-flags-th",language:"/th/"}],s=P(()=>h.find(r=>u.value?r.language===fe(he(u.value)):r.language==="/en/")??h[0]);return(r,l)=>{const d=Oe,k=So;return e(),n("nav",Io,[t("div",Bo,[t("div",null,[m(d,{logo:{filename:"https://a.storyblok.com/f/213807/268x56/7bc3664068/blackline-main-logo-image.png",alt:"Logo"}})]),t("div",Vo,[m(k,{"current-language":a(s),languages:h},null,8,["current-language"])])])])}}}),Uo={class:"font-inter font-medium"},To={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},zo=W({__name:"AIAgentWidget",setup(L){const{modalState:c,openModal:u,restoreModal:h}=Ke(),s=()=>{c.value==="minimized"?h():u(void 0,"widget")};return(r,l)=>(e(),I(ge,{name:"slide-up"},{default:g(()=>[a(c)==="closed"||a(c)==="minimized"?(e(),n("button",{key:0,onClick:s,class:"fixed bottom-8 right-8 bg-gold-500 hover:bg-gold-600 text-black px-6 py-3 rounded-full shadow-lg flex items-center gap-2 z-50 transition-all"},[l[1]||(l[1]=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[t("path",{d:"M14.1434 13.1223C14.1432 13.1205 14.1429 13.1189 14.1427 13.1171C15.302 11.7299 16 9.94414 16 7.99534C16 3.57959 12.4183 0 8 0C3.58171 0 0 3.57959 0 7.99525C0 12.4109 3.58171 15.9905 8 15.9905C9.52751 15.9905 10.9548 15.5624 12.1689 14.8202L12.1709 14.8232C12.1709 14.8232 13.6613 16.5158 15.9742 15.8411C15.9742 15.8411 14.3431 14.7137 14.1434 13.1223ZM4.13861 2.32409C4.19053 4.18282 6.12016 4.2888 6.12016 4.2888C4.11037 4.33832 4.14082 6.26697 4.14082 6.26697C4.14775 4.2897 2.15698 4.2888 2.15698 4.2888C4.13853 4.25348 4.13853 2.32409 4.13853 2.32409H4.13861ZM8.03224 13.6759C8.05216 7.98318 2.32073 7.98065 2.32073 7.98065C8.0258 7.879 8.0258 2.32409 8.0258 2.32409C8.17518 7.67553 13.7309 7.98065 13.7309 7.98065C7.94441 8.12318 8.03224 13.6759 8.03224 13.6759Z",fill:"black"})],-1)),t("span",Uo,S(a(c)==="minimized"?"Back to Answer":"Ask a question"),1),a(c)==="minimized"?(e(),n("svg",To,l[0]||(l[0]=[t("path",{d:"M10 2H14V6",stroke:"black","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),t("path",{d:"M14 2L9.33337 6.66667",stroke:"black","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),t("path",{d:"M2 14.0002L6.66667 9.3335",stroke:"black","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),t("path",{d:"M6 14H2V10",stroke:"black","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):C("",!0)])):C("",!0)]),_:1}))}}),Do=Re(zo,[["__scopeId","data-v-9cc41481"]]),jo=()=>({submitFeedback:async(c,u,h,s,r)=>{try{const l=await fetch("/.netlify/functions/agent-feedback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({chat_id:c,feedback:u,user_name:h,conversation_history:s,session_id:r})});if(!l.ok){const d=await l.text();throw new Error(`Feedback API error: ${l.status} - ${d}`)}return await l.json()}catch(l){throw console.error("Failed to submit feedback:",l),l}}}),No="data:image/png;
1base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAUCAYAAABroNZJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIVSURBVHgBpZRfbtpAEMZn1gZjNZU4AkcwwUh9LC+VTF7gBu4Jkpyg+ASlJ4CeoFGlxFVfaN8qAYp7gpIbEKkqYIqnM2vWpSV/lGQl2+v17m9n5vu8uIp9gic1HCp4YsuArmx4bEOYZ4SnbjAePgqChMkGrK4bfJstYq/2YAgRvXPakxPpcz3fMPJhECI4rbSnffrgVVPXGgBBh4d1YaN7V0v+AK1Ke9KX8NOKdQmEDMBZBlaknGDSuxvEE8muu8Hky8/PnqfAGkkKHNXX8vJZXeqCEhp2k/kiboYKaLAHAKslEwVQyhhAWOXE3jvBNJQZGrx27JGARKoM8PX9AIgMIP3kvy1tSseKELx90F0AnT6kcWPAKWmVcBU3f3B4Na70GUvX3U1GiqhQF3EfABiazZTc5IUV6MjHfwCwW4McIN7QAFZsbYE2nJKbvGxt/N1A3CCZIeJc3FlePt8xF2jYWmHr4NU4KXbMq9z0DGD1sSEmAhp51UX8Qn//deGfyB8v15L7Zu3i3O9hGvujcjBpFYDtbusM6wdH+U631ubCvyTERHF+NbObrjTAS3laAEVkSHZHAGKwAsDyirLSV1kGkdTFLChVfotCkXs0HpoxsTsfHBGhHeaRHYZG3u3GeVueN/pOuumJe/8qdBiykeZOe3oGN8sOxckmk1HhcerY/0mM8qsPxIhmXJHVowyu+Ui4yi+4/gM4qDYAG8ILEgAAAABJRU5ErkJggg==";function tt(L){try{const h=new URL(L).pathname.split("/").filter(l=>l&&l!=="lp"&&l!=="about"&&l!=="products"&&l!=="solutions");return(h[h.length-1]||"BlackLine").split("-").map(l=>l.charAt(0).toUpperCase()+l.slice(1)).join(" ")}catch{return"View Source"}}function nt(L){return!L||L.length<3?"View Source":L.length>40?L.substring(0,40)+"…":L}const Fo={class:"flex-1 overflow-hidden flex flex-col rounded-b-3xl"},Po={key:0,class:"text-center text-gray-500 py-8"},Oo={class:"inline-flex py-3 px-4 rounded-[16px_0_16px_16px] border border-gray-200 bg-gray-100"},Ro=["innerHTML"],Wo=["innerHTML","onClick"],Eo={key:0,class:"flex items-center gap-1 mt-2 text-blue-500"},Zo={key:1,class:"mt-3 bg-red-50 border border-red-200 rounded-lg p-3"},Go={class:"flex items-center justify-between"},qo={class:"flex-1"},Jo={class:"text-xs text-red-600 mt-1"},Qo=["onClick","disabled"],Ko={key:2,class:"mt-4 pt-3 border-t border-gray-200"},Xo={class:"flex items-center gap-3"},Yo=["onClick","disabled"],el={key:0,class:"w-5 h-5 animate-pulse",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tl={key:1,class:"w-5 h-5 thumb-success",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},nl={key:2,class:"w-5 h-5",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ol=["onClick","disabled"],ll={key:0,class:"w-5 h-5 rotate-180 animate-pulse",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sl={key:1,class:"w-5 h-5 rotate-180 thumb-success",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rl={key:2,class:"w-5 h-5 rotate-180",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},al=["onClick","title"],il={key:0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cl={key:1,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},dl={key:0,class:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4 mx-6"},ul={class:"text-sm"},pl={key:1,class:"mb-2 bg-gray-100 border-0 h-px mx-6"},gl={key:2,class:"mb-1 mx-6 relative"},fl={key:0,class:"absolute bottom-full left-0 mb-2 bg-white rounded-[6px] shadow-lg border border-gray-200 overflow-hidden z-10 min-w-[260px] max-w-[calc(100vw-3rem)]"},hl=["onClick"],_l={class:"flex flex-col items-start self-stretch px-6 pb-4 pt-2 bg-white"},ml={class:"relative flex-1"},kl=["placeholder","disabled"],bl=["disabled"],yl={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},vl={key:1,class:"text-xs text-black"},xl={key:0,class:"w-full mb-2 px-1 flex flex-col items-end gap-0.5"},wl={key:1,class:"text-xs font-inter text-red-500 text-right"},Pe="bl_ai_feedback_submitted",Se=1500,Cl=W({__name:"AIAgentModal",props:{modelValue:{},initialQuery:{}},emits:["update:modelValue"],setup(L,{emit:c}){const u=L,{$activeDreamdata:h}=xt(),{minimizeModal:s,closeModal:r,initialQuery:l}=Ke(),{messages:d,isLoading:k,error:f,sendMessage:y,retryMessage:U,clearChat:B,userId:p}=Dt(),{submitFeedback:_}=jo(),b=Z(""),o=P(()=>b.value.length>Se),H=P(()=>b.value.length>=Se-100),x=Z(!1),j=Z(!1),M=Z(!1),R=Z(new Map),V=Z(new Map),K=()=>{try{const v=localStorage.getItem(Pe);if(v){const i=JSON.parse(v);R.value=new Map(Object.entries(i))}}catch(v){console.error("Error loading feedback state:",v)}},oe=()=>{{const v=Object.fromEntries(R.value);localStorage.setItem(Pe,JSON.stringify(v))}},X=["What is BlackLine?","Who uses BlackLine?","See a product demo"],Y=P(()=>{if(d.value.length===0)return X;const v=d.value.slice().reverse().find(N=>N.role==="assistant"),i=v==null?void 0:v.followUpQuestions;return i&&i.length>0?i.slice(0,3):X}),_e=P(()=>{var i;const v=d.value.slice().reverse().find(N=>N.role==="assistant");return(((i=v==null?void 0:v.followUpQuestions)==null?void 0:i.length)??0)>0}
1),me=async()=>{b.value.trim()&&!o.value&&(await y(b.value),b.value="")},Ce=()=>s(),$e=()=>{d.value.length>0?x.value=!0:ue()},ue=()=>{x.value=!1,r(),B(),R.value.clear(),localStorage.removeItem(Pe)},ke=()=>{x.value=!1},be=async(v,i)=>{if(!V.value.has(v.id))try{const N=localStorage.getItem("bl_ai_agent_session");if(!N){console.error("No session ID found");return}const T=JSON.parse(N).sessionId;if(!v.responseId){console.error("No response ID found for message");return}const G=v.responseId,A=d.value.findIndex(z=>z.id===v.id),q=d.value[A-1],ie=[{role:"user",message:(q==null?void 0:q.content)||""},{role:"assistant",message:v.content}],J=R.value.get(v.id);V.value.set(v.id,i),J===i?(await _(G,"clear",p.value,ie,T),V.value.delete(v.id),R.value.delete(v.id),oe()):(await _(G,i,p.value,ie,T),V.value.delete(v.id),R.value.set(v.id,i),oe())}catch(N){V.value.delete(v.id),console.error("Feedback submission failed:",N)}},Ae=(v,i)=>{try{const N=localStorage.getItem("bl_ai_agent_session"),E=N?JSON.parse(N).sessionId:null;h().track("suggested_question_clicked",{suggestion_text:v,suggestion_position:i+1,suggestion_type:_e.value?"ai_generated":"hardcoded",user_id:p.value,session_id:E,timestamp:new Date().toISOString()})}catch(N){console.warn("Failed to track suggestion click:",N)}b.value=v},Le=()=>{try{const v=localStorage.getItem("bl_ai_agent_session"),i=v?JSON.parse(v).sessionId:null;h().track("demo_request_clicked",{source:"ai_agent_modal",current_message_count:d.value.length,user_id:p.value,session_id:i,timestamp:new Date().toISOString()})}catch(v){console.warn("Failed to track demo click:",v)}},Me=(v,i)=>{const E=v.target.closest("a");if(!E)return;const T=E.getAttribute("href"),G=E.textContent||"",A=E.getAttribute("data-citation-url");if(T)try{const q=localStorage.getItem("bl_ai_agent_session"),ie=q?JSON.parse(q).sessionId:null,J=d.value.findIndex(F=>F.id===i.id),z=d.value[J-1];A?h().track("citation_pill_clicked",{citation_url:A,citation_title:G,query_text:(z==null?void 0:z.content)||"",user_id:p.value,session_id:ie,timestamp:new Date().toISOString()}):h().track("source_link_clicked",{link_url:T,link_text:G,query_text:(z==null?void 0:z.content)||"",user_id:p.value,session_id:ie,timestamp:new Date().toISOString()})}catch(q){console.warn("Failed to track link click:",q)}},ye=Z(null),Xe=Z(!1),dt=v=>v?v.replace(/\[([^\]]+)\]\(([^)]+)\)/g,"$1 ($2)").replace(/\*\*(.+?)\*\*/g,"$1").replace(/^### (.+)$/gm,`
2$1
3`+"-".repeat(50)).replace(/^\*\s+(.+)$/gm,"  • $1").replace(/\n/g,`
4`).replace(/<[^>]*>/g,"").replace(/\n{3,}/g,`
5
6`).trim():"",ut=async v=>{try{const i=d.value.findIndex(T=>T.id===v.id),N=d.value[i-1],E=dt(v.content);await navigator.clipboard.writeText(E);try{const T=localStorage.getItem("bl_ai_agent_session"),G=T?JSON.parse(T).sessionId:null;h().track("answer_copied",{answer_text_length:E.length,query_text:(N==null?void 0:N.content)||"",user_id:p.value,session_id:G,timestamp:new Date().toISOString()})}catch(T){console.warn("Failed to track answer copy:",T)}ye.value=v.id,setTimeout(()=>{ye.value=null},2e3)}catch(i){console.error("Failed to copy message:",i)}},Ye=v=>{if(!v)return"";v=v.replace(/\[Source [A-Z0-9]+\]/g,"");const i=Xe.value,N="citation-pill inline-flex items-center px-[9px] py-[0px] mx-1 rounded-[30px] bg-lavender-50 text-lavender-700 font-inter text-[11px] font-medium hover:underline transition-all whitespace-nowrap",E=(J,z)=>{const F=i&&z.length>20?z.substring(0,20)+"…":z;return`<a href="${J}" target="_blank" rel="noopener noreferrer" class="${N}" data-citation-url="${J}">${F}</a>`},T=J=>{const z=[];let F=J.replace(/\|\|[^|[\]]+\|\|\[(?=\|\|)/g,"");return F=F.replace(/(?:\|\|([^|]*)\|\|)?\[(https?:\/\/[^\]]+)\]/g,(le,se,Q)=>{const xe=se||tt(Q),ne=nt(xe),pe=z.length;return z.push(E(Q,ne)),`__PILL_${pe}__`}),F=F.replace(/__PILL_(\d+)__([.!?])/g,"$2__PILL_$1__"),F=F.replace(/https?:\/\/[^\s<]+/g,le=>{const se=le.replace(/[.,;:!?)]+$/,""),Q=le.slice(se.length),xe=tt(se),ne=nt(xe),pe=z.length;return z.push(E(se,ne)+Q),`__PILL_${pe}__`}),F=F.replace(/\s*,\s*([.!?])/g,"$1").replace(/\s+([.!?,;:])/g,"$1").replace(/\s{2,}/g," ").trim(),F=F.replace(/__PILL_(\d+)__/g,(le,se)=>z[parseInt(se)]),F=F.replace(/\|\|[^|]*\|\|/g,""),F=F.replace(/\|\|[^|[\]]*\]\s*/g,""),F},G=v.split(`
7
8`),A=J=>{const z=J.filter(ne=>ne.trim().length>0),F=z.findIndex(ne=>/^\|[\s|:-]+\|?\s*$/.test(ne.trim()));
8if(F<1)return J.join(`
9`);const le=ne=>ne.split("|").slice(1,-1).map(pe=>pe.trim()),Q=le(z[0]).map(ne=>`<th class="py-3 pr-6 border-b-2 border-gray-200 text-left text-gray-900 font-semibold text-sm">${T(ne)}</th>`).join(""),xe=z.slice(F+1).map(ne=>`<tr class="border-b border-gray-100">${le(ne).map((gt,ft)=>`<td class="${ft===0?"py-3 pr-6 font-bold text-gray-900 text-sm align-top":"py-3 pr-6 text-lavender-700 text-sm align-top"}">${T(gt)}</td>`).join("")}</tr>`).join("");return`<div class="overflow-x-auto my-4"><table class="w-full border-collapse"><thead><tr>${Q}</tr></thead><tbody>${xe}</tbody></table></div>`};return G.map(J=>{const z=J.split(`
10`),F=z.filter(Q=>Q.trim().length>0);return F.length>=2&&F.every(Q=>Q.trim().startsWith("|"))&&F.some(Q=>/^\|[\s|:-]+\|?\s*$/.test(Q.trim()))?A(z):z.some(Q=>Q.trim().startsWith("*"))?z.map(Q=>T(Q)).join(`
11`):T(J)}).join(`
12
13`).replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" target="_blank" rel="noopener noreferrer" class="text-lavender-700 font-inter text-base font-medium leading-6 tracking-[-0.32px] underline hover:opacity-80">$1</a>').replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>").replace(/^### (.+)$/gm,'<h3 class="text-lg font-bold mt-4 mb-2">$1</h3>').replace(/^\*\s+(.+)$/gm,"<li>$1</li>").replace(/(<li[^>]*>.*?<\/li>\n?)+/g,J=>`<ul>${J.replace(/(<\/li>)\n(<li)/g,"$1$2")}</ul>`).replace(/\n/g,"<br>").replace(/(<ul[^>]*>)(.*?)(<\/ul>)/gs,(J,z,F,le)=>z+F.replace(/<br\s*\/?>/g,"")+le)},ve=Z(null),et=Z(0),pt=()=>{if(!ve.value)return;const{scrollTop:v,scrollHeight:i,clientHeight:N}=ve.value,E=Math.abs(i-v-N)<10;j.value=!E};return ce(d,v=>{Mt(()=>{var i,N,E;if(v.length>et.value){if(ve.value){const G=ve.value.querySelectorAll('[class*="mr-auto"]'),A=G[G.length-1];A&&A.scrollIntoView({behavior:"smooth",block:"start"})}et.value=v.length;const T=v[v.length-1];if((T==null?void 0:T.role)==="assistant"&&!T.isStreaming&&T.metadata)try{const G=localStorage.getItem("bl_ai_agent_session"),A=G?JSON.parse(G).sessionId:null;h().track("ai_response_completed",{user_id:p.value,session_id:A,follow_up_generation:T.metadata.followUpGeneration||null,retrieval_source:((i=T.metadata.retrieval)==null?void 0:i.source)||null,retrieval_hits:((N=T.metadata.retrieval)==null?void 0:N.datastore_hits)||0,has_follow_ups:(((E=T.followUpQuestions)==null?void 0:E.length)||0)>0,timestamp:new Date().toISOString()})}catch(G){console.warn("Failed to track response metadata:",G)}}})},{deep:!0}),ce(()=>u.initialQuery,v=>{v&&u.modelValue==="open"&&(b.value=v,me(),l.value="")},{immediate:!0}),He(()=>{K(),Xe.value=window.innerWidth<768}),(v,i)=>{const N=Ct,E=$t,T=wt,G=Lt;return e(),n("div",null,[m(G,{open:v.modelValue==="open","onUpdate:open":i[4]||(i[4]=A=>!A&&ue())},{default:g(()=>[m(T,null,{default:g(()=>[m(N,{class:"fixed inset-0 bg-black/40 z-50"}),m(E,{class:"fixed inset-0 md:inset-y-[100px] md:inset-x-8 bg-white md:rounded-3xl z-50 flex flex-col w-full md:max-w-[764px] md:mx-auto",onInteractOutside:i[2]||(i[2]=ee(()=>{},["prevent"])),onEscapeKeyDown:i[3]||(i[3]=ee(()=>{},["prevent"]))},{default:g(()=>[t("div",{class:"flex justify-between items-center px-4 py-3 rounded-t-3xl",style:{"background-color":"#200B66"}},[i[8]||(i[8]=t("div",{class:"flex gap-2 items-center"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},[t("path",{d:"M19.4472 18.0432C19.4469 18.0406 19.4465 18.0385 19.4462 18.036C21.0403 16.1285 22 13.6732 22 10.9936C22 4.92194 17.0751 0 11 0C4.92486 0 0 4.92194 0 10.9935C0 17.065 4.92486 21.9869 11 21.9869C13.1003 21.9869 15.0628 21.3983 16.7322 20.3778L16.7349 20.3819C16.7349 20.3819 18.7843 22.7093 21.9645 21.7816C21.9645 21.7816 19.7218 20.2314 19.4472 18.0432ZM5.69059 3.19562C5.76198 5.75138 8.41522 5.8971 8.41522 5.8971C5.65175 5.96519 5.69362 8.61709 5.69362 8.61709C5.70316 5.89834 2.96585 5.8971 2.96585 5.8971C5.69048 5.84853 5.69048 3.19562 5.69048 3.19562H5.69059ZM11.0443 18.8043C11.0717 10.9769 3.19101 10.9734 3.19101 10.9734C11.0355 10.8336 11.0355 3.19562 11.0355 3.19562C11.2409 10.5538 18.8799 10.9734 18.8799 10.9734C10.9236 11.1694 11.0443 18.8043 11.0443 18.8043Z",fill:"#F9B734"})]),t("span",{class:"font-inter text-base font-bold leading-[22px]",style:{color:"#FFF"}},"BlackLine Assistant")],-1)),t("div",{class:"flex gap-1"},[t("button",{onClick:Ce,class:"p-1 rounded transition-colors hover:bg-white/10",title:"Minimize"},i[6]||(i[6]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},[t("path",{d:"M6.66666 16H25.3333",stroke:"#F5F5F5","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),t("button",{onClick:$e,class:"p-1 rounded transition-colors hover:bg-white/10",title:"Close"},i[7]||(i[7]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},[t("path",{d:"M24 8L8 24",stroke:"#F5F5F5","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M8 8L24 24",stroke:"#F5F5F5","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])]),t("div",Fo,[t("div",{ref_key:"messagesContainer",ref:ve,onScroll:pt,class:"flex-1 space-y-4 overflow-y-auto pr-2 px-2 pt-6"},[a(d).length===0?(e(),n("div",Po,i[9]||(i[9]=[t("p",{class:"text-lg mb-2"},"Ask me anything about BlackLine",-1),t("p",{class:"text-sm"},"I'm here to help!",-1)]))):C("",!0),(e(!0),n(w,null,$(a(d),A=>(e(),n(w,null,[A.role==="user"?(e(),n("div",{key:`user-${A.id}`,class:"flex justify-end"},[t("div",Oo,[t("div",{class:"text-[#101828] text-left font-inter text-[18px] font-medium leading-[28px]",innerHTML:Ye(A.content)},null,8,Ro)])])):(e(),n("div",{key:`ai-${A.id}`,class:"mr-auto md:max-w-[80%] bg-white rounded-lg p-4"},[i[21]||(i[21]=t("div",{class:"flex items-center gap-2 mb-3"},[t("div",{class:"w-8 h-8 rounded-full bg-black flex items-center justify-center flex-shrink-0"},[t("img",{src:No,alt:"BlackLine",class:"w-5 h-5"})]),t("span",{class:"text-gray-900 font-urbanist text-xs font-bold leading-4 tracking-[0.6px] uppercase"}," ANSWER ")],-1)),t("div",{class:"max-w-none text-gray-900 font-inter text-base font-normal leading-6 tracking-[-0.32px]",innerHTML:Ye(A.content),onClick:q=>Me(q,A)},null,8,Wo),A.isStreaming&&!A.content?(e(),n("div",Eo,i[10]||(i[10]=[t("span",{class:"animate-pulse"},"●",-1),t("span",{class:"text-sm"},"Thinking...",-1)]))):C("",!0),A.error&&A.retryable?(e(),n("div",Zo,[t("div",Go,[t("div",qo,[i[11]||(i[11]=t("div",{class:"text-sm font-semibold text-red-700"},"Failed to get response",-1)),t("div",Jo,S(A.error),1)]),t("button",{onClick:q=>a(U)(A.id),disabled:a(k),class:"ml-3 px-3 py-1.5 bg-red-600 text-white text-sm font-medium rounded hover:bg-red-700 disabled:bg-red-400 disabled:cursor-not-allowed flex items-center gap-1.5 transition-colors"},i[12]||(i[12]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("path",{d:"M1 4v6c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2z"}),t("polyline",{points:"1 4 7 8 13 4"})],-1),D(" Retry ")]),8,Qo)])])):C("",!0),A.isStreaming?C("",!0):(e(),n("div",Ko,[t("div",Xo,[t("button",{onClick:q=>be(A,"thumbsup"),disabled:a(V).has(A.id),class:O(["p-2 rounded-lg border transition-all duration-200",a(R).get(A.id)==="thumbsup"?"bg-gold-500 border-gold-500":"bg-white border-gray-300",a(V).get(A.id)==="thumbsdown"?"opacity-50 pointer-events-none":a(V).get(A.id)==="thumbsup"?"":a(R).get(A.id)!=="thumbsup"?"hover:bg-gray-50":""]),title:"Thumbs up"},[a(V).get(A.id)==="thumbsup"?(e(),n("svg",el,i[13]||(i[13]=[t("g",{"clip-path":"url(#clip-up-pending)"},[t("path",{d:"M4.66663 6.66669V14.6667",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M10 3.91998L9.33337 6.66665H13.22C13.427 6.66665 13.6312 6.71484 13.8163 6.80741C14.0015 6.89998 14.1625 7.03438 14.2867 7.19998C14.4109 7.36557 14.4948 7.55781 14.5319 7.76147C14.5689 7.96512 14.558 8.1746 14.5 8.37331L12.9467 13.7066C12.8659 13.9836 12.6975 14.2269 12.4667 14.4C12.2359 14.5731 11.9552 14.6666 11.6667 14.6666H2.66671C2.31309 14.6666 1.97395 14.5262 1.7239 14.2761C1.47385 14.0261 1.33337 13.6869 1.33337 13.3333V7.99998C1.33337 7.64636 1.47385 7.30722 1.7239 7.05717C1.97395 6.80712 2.3
131309 6.66665 2.66671 6.66665H4.50671C4.75476 6.66651 4.99786 6.59719 5.20868 6.46646C5.41949 6.33573 5.58966 6.14879 5.70004 5.92665L8.00004 1.33331C8.31443 1.33721 8.62387 1.41209 8.90524 1.55238C9.18662 1.69266 9.43266 1.89472 9.62498 2.14345C9.81729 2.39218 9.95092 2.68115 10.0159 2.98878C10.0808 3.29641 10.0754 3.61474 10 3.91998Z",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("defs",null,[t("clipPath",{id:"clip-up-pending"},[t("rect",{width:"16",height:"16",fill:"white"})])],-1)]))):a(R).get(A.id)==="thumbsup"?(e(),n("svg",tl,i[14]||(i[14]=[t("g",{"clip-path":"url(#clip-up-success)"},[t("path",{d:"M4.66663 6.66669V14.6667",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M10 3.91998L9.33337 6.66665H13.22C13.427 6.66665 13.6312 6.71484 13.8163 6.80741C14.0015 6.89998 14.1625 7.03438 14.2867 7.19998C14.4109 7.36557 14.4948 7.55781 14.5319 7.76147C14.5689 7.96512 14.558 8.1746 14.5 8.37331L12.9467 13.7066C12.8659 13.9836 12.6975 14.2269 12.4667 14.4C12.2359 14.5731 11.9552 14.6666 11.6667 14.6666H2.66671C2.31309 14.6666 1.97395 14.5262 1.7239 14.2761C1.47385 14.0261 1.33337 13.6869 1.33337 13.3333V7.99998C1.33337 7.64636 1.47385 7.30722 1.7239 7.05717C1.97395 6.80712 2.31309 6.66665 2.66671 6.66665H4.50671C4.75476 6.66651 4.99786 6.59719 5.20868 6.46646C5.41949 6.33573 5.58966 6.14879 5.70004 5.92665L8.00004 1.33331C8.31443 1.33721 8.62387 1.41209 8.90524 1.55238C9.18662 1.69266 9.43266 1.89472 9.62498 2.14345C9.81729 2.39218 9.95092 2.68115 10.0159 2.98878C10.0808 3.29641 10.0754 3.61474 10 3.91998Z",fill:"#F9B734",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("defs",null,[t("clipPath",{id:"clip-up-success"},[t("rect",{width:"16",height:"16",fill:"white"})])],-1)]))):(e(),n("svg",nl,i[15]||(i[15]=[t("g",{"clip-path":"url(#clip-up-idle)"},[t("path",{d:"M4.66663 6.66669V14.6667",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M10 3.91998L9.33337 6.66665H13.22C13.427 6.66665 13.6312 6.71484 13.8163 6.80741C14.0015 6.89998 14.1625 7.03438 14.2867 7.19998C14.4109 7.36557 14.4948 7.55781 14.5319 7.76147C14.5689 7.96512 14.558 8.1746 14.5 8.37331L12.9467 13.7066C12.8659 13.9836 12.6975 14.2269 12.4667 14.4C12.2359 14.5731 11.9552 14.6666 11.6667 14.6666H2.66671C2.31309 14.6666 1.97395 14.5262 1.7239 14.2761C1.47385 14.0261 1.33337 13.6869 1.33337 13.3333V7.99998C1.33337 7.64636 1.47385 7.30722 1.7239 7.05717C1.97395 6.80712 2.31309 6.66665 2.66671 6.66665H4.50671C4.75476 6.66651 4.99786 6.59719 5.20868 6.46646C5.41949 6.33573 5.58966 6.14879 5.70004 5.92665L8.00004 1.33331C8.31443 1.33721 8.62387 1.41209 8.90524 1.55238C9.18662 1.69266 9.43266 1.89472 9.62498 2.14345C9.81729 2.39218 9.95092 2.68115 10.0159 2.98878C10.0808 3.29641 10.0754 3.61474 10 3.91998Z",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("defs",null,[t("clipPath",{id:"clip-up-idle"},[t("rect",{width:"16",height:"16",fill:"white"})])],-1)])))],10,Yo),t("button",{onClick:q=>be(A,"thumbsdown"),disabled:a(V).has(A.id),class:O(["p-2 rounded-lg border transition-all duration-200",a(R).get(A.id)==="thumbsdown"?"bg-gold-500 border-gold-500":"bg-white border-gray-300",a(V).get(A.id)==="thumbsup"?"opacity-50 pointer-events-none":a(V).get(A.id)==="thumbsdown"?"":a(R).get(A.id)!=="thumbsdown"?"hover:bg-gray-50":""]),title:"Thumbs down"},[a(V).get(A.id)==="thumbsdown"?(e(),n("svg",ll,i[16]||(i[16]=[t("g",{"clip-path":"url(#clip-dn-pending)"},[t("path",{d:"M4.66663 6.66669V14.6667",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M10 3.91998L9.33337 6.66665H13.22C13.427 6.66665 13.6312 6.71484 13.8163 6.80741C14.0015 6.89998 14.1625 7.03438 14.2867 7.19998C14.4109 7.36557 14.4948 7.55781 14.5319 7.76147C14.5689 7.96512 14.558 8.1746 14.5 8.37331L12.9467 13.7066C12.8659 13.9836 12.6975 14.2269 12.4667 14.4C12.2359 14.5731 11.9552 14.6666 11.6667 14.6666H2.66671C2.31309 14.6666 1.97395 14.5262 1.7239 14.2761C1.47385 14.0261 1.33337 13.6869 1.33337 13.3333V7.99998C1.33337 7.64636 1.47385 7.30722 1.7239 7.05717C1.97395 6.80712 2.3
131309 6.66665 2.66671 6.66665H4.50671C4.75476 6.66651 4.99786 6.59719 5.20868 6.46646C5.41949 6.33573 5.58966 6.14879 5.70004 5.92665L8.00004 1.33331C8.31443 1.33721 8.62387 1.41209 8.90524 1.55238C9.18662 1.69266 9.43266 1.89472 9.62498 2.14345C9.81729 2.39218 9.95092 2.68115 10.0159 2.98878C10.0808 3.29641 10.0754 3.61474 10 3.91998Z",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("defs",null,[t("clipPath",{id:"clip-dn-pending"},[t("rect",{width:"16",height:"16",fill:"white"})])],-1)]))):a(R).get(A.id)==="thumbsdown"?(e(),n("svg",sl,i[17]||(i[17]=[t("g",{"clip-path":"url(#clip-dn-success)"},[t("path",{d:"M4.66663 6.66669V14.6667",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M10 3.91998L9.33337 6.66665H13.22C13.427 6.66665 13.6312 6.71484 13.8163 6.80741C14.0015 6.89998 14.1625 7.03438 14.2867 7.19998C14.4109 7.36557 14.4948 7.55781 14.5319 7.76147C14.5689 7.96512 14.558 8.1746 14.5 8.37331L12.9467 13.7066C12.8659 13.9836 12.6975 14.2269 12.4667 14.4C12.2359 14.5731 11.9552 14.6666 11.6667 14.6666H2.66671C2.31309 14.6666 1.97395 14.5262 1.7239 14.2761C1.47385 14.0261 1.33337 13.6869 1.33337 13.3333V7.99998C1.33337 7.64636 1.47385 7.30722 1.7239 7.05717C1.97395 6.80712 2.31309 6.66665 2.66671 6.66665H4.50671C4.75476 6.66651 4.99786 6.59719 5.20868 6.46646C5.41949 6.33573 5.58966 6.14879 5.70004 5.92665L8.00004 1.33331C8.31443 1.33721 8.62387 1.41209 8.90524 1.55238C9.18662 1.69266 9.43266 1.89472 9.62498 2.14345C9.81729 2.39218 9.95092 2.68115 10.0159 2.98878C10.0808 3.29641 10.0754 3.61474 10 3.91998Z",fill:"#F9B734",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("defs",null,[t("clipPath",{id:"clip-dn-success"},[t("rect",{width:"16",height:"16",fill:"white"})])],-1)]))):(e(),n("svg",rl,i[18]||(i[18]=[t("g",{"clip-path":"url(#clip-dn-idle)"},[t("path",{d:"M4.66663 6.66669V14.6667",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"}),t("path",{d:"M10 3.91998L9.33337 6.66665H13.22C13.427 6.66665 13.6312 6.71484 13.8163 6.80741C14.0015 6.89998 14.1625 7.03438 14.2867 7.19998C14.4109 7.36557 14.4948 7.55781 14.5319 7.76147C14.5689 7.96512 14.558 8.1746 14.5 8.37331L12.9467 13.7066C12.8659 13.9836 12.6975 14.2269 12.4667 14.4C12.2359 14.5731 11.9552 14.6666 11.6667 14.6666H2.66671C2.31309 14.6666 1.97395 14.5262 1.7239 14.2761C1.47385 14.0261 1.33337 13.6869 1.33337 13.3333V7.99998C1.33337 7.64636 1.47385 7.30722 1.7239 7.05717C1.97395 6.80712 2.31309 6.66665 2.66671 6.66665H4.50671C4.75476 6.66651 4.99786 6.59719 5.20868 6.46646C5.41949 6.33573 5.58966 6.14879 5.70004 5.92665L8.00004 1.33331C8.31443 1.33721 8.62387 1.41209 8.90524 1.55238C9.18662 1.69266 9.43266 1.89472 9.62498 2.14345C9.81729 2.39218 9.95092 2.68115 10.0159 2.98878C10.0808 3.29641 10.0754 3.61474 10 3.91998Z",stroke:"#0A0A0A","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})],-1),t("defs",null,[t("clipPath",{id:"clip-dn-idle"},[t("rect",{width:"16",height:"16",fill:"white"})])],-1)])))],10,ol),t("button",{onClick:q=>ut(A),class:O([a(ye)===A.id?"bg-green-50 border-green-300":"hover:bg-gray-50","p-2 rounded-lg border border-gray-300 bg-white transition-colors"]),title:a(ye)===A.id?"Copied!":"Copy to clipboard"},[a(ye)===A.id?(e(),n("svg",il,i[19]||(i[19]=[t("path",{d:"M16.6667 5L7.50004 14.1667L3.33337 10",stroke:"#10B981","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))):(e(),n("svg",cl,i[20]||(i[20]=[t("path",{d:"M13.9091 14.8462V17.9615C13.9091 18.5348 13.4509 19 12.8864 19H4.02273C3.75148 19 3.49135 18.8906 3.29955 18.6958C3.10775 18.5011 3 18.237 3 17.9615V6.19231C3 5.61908 3.45818 5.15385 4.02273 5.15385H5.72727C6.18416 5.15353 6.64028 5.19182 7.09091 5.26831M13.9091 14.8462H16.9773C17.5418 14.8462 18 14.3809 18 13.8077V9.30769C18 5.19077 15.0518 1.77446 11.1818 1.11446C10.7312 1.03797 10.2751 0.999686 9.81818 1H8.11364C7.54909 1 7.09091 1.46523 7.09091 2.03846V5.26831M13.9091 14.8462H8.11364C7.84239 14.8462 7.58226 14.7367 7.39046 14.542C7.19866 14.3472 7.09091 14.0831 7.09091 13.8077V5.26831M18 11.3846V9.65385C18 8.8276 17.6767 8.03519 17.1014 7.45094C16.526 6.86669 15.7456 6.53846 14.9318 6.53846H13.5682C13.2969 6.53846 13.0368 6.42905 12.845 6.2343C12.6532 6.03955 12.5455 5.77542 12.5455 5.5V4.11539C12.5455 3.70627 12.4661 3.30116 12.3119 2.92318C12.1577 2.5452 11.9317 2.20177 11.6468 1.91248C11.3619 1.62319 11.0237 1.39371 10.6514 1.23715C10.2792 1.08058 9.88019 1 9.47727 1H8.45455",stroke:"black","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])))],10,al)])]))]))],64))),256))],544),a(f)?(e(),n("div",dl,[i[22]||(i[22]=t("div",{class:"font-semibold"},"Error",-1)),t("div",ul,S(a(f)),1)])):C("",!0),a(d).length>0?(e(),n("hr",pl)):C("",!0),a(d).length>0?(e(),n("div",gl,[t("button",{onClick:i[0]||(i[0]=A=>M.value=!a(M)),class:"flex items-center gap-2 px-4 py-2 rounded-[5px] text-white font-inter text-base font-medium leading-[22px] transition-colors",style:{"background-color":"#5A61FF"}},[i[24]||(i[24]=t("span",null,"Suggested Questions",-1)),(e(),n("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",class:O
13(["transition-transform duration-200",a(M)?"rotate-180":""])},i[23]||(i[23]=[t("path",{d:"M10 14.25C9.8125 14.25 9.65625 14.1875 9.5 14.0625L2.3125 7C2.03125 6.71875 2.03125 6.28125 2.3125 6C2.59375 5.71875 3.03125 5.71875 3.3125 6L10 12.5312L16.6875 5.9375C16.9688 5.65625 17.4062 5.65625 17.6875 5.9375C17.9688 6.21875 17.9688 6.65625 17.6875 6.9375L10.5 14C10.3437 14.1562 10.1875 14.25 10 14.25Z",fill:"white"},null,-1)]),2))]),a(M)?(e(),n("div",fl,[(e(!0),n(w,null,$(a(Y),(A,q)=>(e(),n("button",{key:q,onClick:ie=>{Ae(A,q),M.value=!1},class:"block w-full text-left px-4 py-3 font-inter text-base font-medium leading-[22px] text-gray-900 hover:bg-gray-50 transition-colors border-b border-gray-100 last:border-b-0 whitespace-normal break-words"},S(A),9,hl))),128))])):C("",!0)])):C("",!0),t("div",_l,[t("form",{onSubmit:ee(me,["prevent"]),class:"flex gap-3 w-full mb-1"},[t("div",ml,[Qe(t("input",{"onUpdate:modelValue":i[1]||(i[1]=A=>Be(b)?b.value=A:null),type:"text",placeholder:a(d).length>0?"Ask a follow-up question...":"Ask about BlackLine...",disabled:a(k),maxlength:Se,class:O(["w-full pl-4 pr-12 py-3 border border-gray-300 rounded-full disabled:bg-gray-100 disabled:cursor-not-allowed font-inter text-xs md:text-sm font-normal placeholder:text-gray-500",{"border-red-400":a(o)}])},null,10,kl),[[At,a(b)]]),t("button",{type:"submit",disabled:a(k)||!a(b).trim()||a(o),class:"absolute right-1 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-[#D4D4D4] hover:bg-[#bebebe] disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center transition-colors"},[a(k)?(e(),n("span",vl,"...")):(e(),n("svg",yl,i[25]||(i[25]=[t("path",{d:"M5.83499 5.3652L7.66999 7.2002H3.19999C2.75774 7.2002 2.39999 7.5577 2.39999 8.0002C2.39999 8.4427 2.75774 8.8002 3.19999 8.8002H7.66999L5.83549 10.6347C5.67749 10.7902 5.59999 10.9952 5.59999 11.2002C5.59999 11.4052 5.67812 11.6097 5.83437 11.7657C6.14687 12.0782 6.65312 12.0782 6.96562 11.7657L10.1656 8.5657C10.4781 8.2532 10.4781 7.74695 10.1656 7.43445L6.96562 4.23445C6.65312 3.92195 6.14687 3.92195 5.83437 4.23445C5.52187 4.54695 5.52249 5.0527 5.83499 5.3652ZM12 4.0002V12.0002C12 12.4424 12.3577 12.8002 12.8 12.8002C13.2422 12.8002 13.6 12.4424 13.6 12.0002V4.0002C13.6 3.55795 13.2422 3.2002 12.8 3.2002C12.3577 3.2002 12 3.55795 12 4.0002Z",fill:"black"},null,-1)])))],8,bl)]),t("a",{href:"https://www.blackline.com/request-a-demo/",target:"_blank",rel:"noopener noreferrer",onClick:Le,class:"flex-shrink-0 w-10 h-10 rounded-full flex items-center justify-center transition-opacity hover:opacity-90",style:{background:"linear-gradient(98deg, #F3A407 0%, #F9E834 100%)"},title:"Book a Demo"},i[26]||(i[26]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},[t("g",{"clip-path":"url(#clip0_157_3427)"},[t("path",{d:"M19.25 3.64355H17.3938V2.8873C17.3938 2.4748 17.05 2.09668 16.6031 2.09668C16.1563 2.09668 15.8125 2.44043 15.8125 2.8873V3.60918H6.15313V2.8873C6.15313 2.4748 5.80938 2.09668 5.36251 2.09668C4.91563 2.09668 4.57188 2.44043 4.57188 2.8873V3.60918H2.75001C1.58126 3.60918 0.584381 4.57168 0.584381 5.7748V17.7373C0.584381 18.9061 1.54688 19.9029 2.75001 19.9029H19.25C20.4188 19.9029 21.4156 18.9404 21.4156 17.7373V5.7748C21.4156 4.60605 20.4188 3.64355 19.25 3.64355ZM2.75001 5.19043H4.60626V5.87793C4.60626 6.29043 4.95001 6.66855 5.39688 6.66855C5.84376 6.66855 6.18751 6.3248 6.18751 5.87793V5.19043H15.9156V5.87793C15.9156 6.29043 16.2594 6.66855 16.7063 6.66855C17.1531 6.66855 17.4969 6.3248 17.4969 5.87793V5.19043H19.25C19.5938 5.19043 19.8688 5.46543 19.8688 5.80918V8.07793H2.16563V5.80918C2.16563 5.43105 2.40626 5.19043 2.75001 5.19043ZM19.25 18.3217H2.75001C2.40626 18.3217 2.13126 18.0467 2.13126 17.7029V9.59043H19.8344V17.7373C19.8688 18.0811 19.5938 18.3217 19.25 18.3217Z",fill:"#171717"}),t("path",{d:"M9.90002 10.5527H9.14377C8.93752 10.5527 8.80002 10.6902 8.80002 10.8965V11.6527C8.80002 11.859 8.93752 11.9965 9.14377 11.9965H9.90002C10.1063 11.9965 10.2438 11.859 10.2438 11.6527V10.8965C10.2438 10.6902 10.0719 10.5527 9.90002 10.5527Z",fill:"#171717"}),t("path",{d:"M13.0281 10.5527H12.2719C12.0656 10.5527 11.9281 10.6902 11.9281 10.8965V11.6527C11.9281 11.859 12.0656 11.9965 12.2719 11.9965H13.0281C13.2344 11.9965 13.3719 11.859 13.3719 11.6527V10.8965C13.3719 10.6902 13.2344 10.5527 13.0281 10.5527Z",fill:"#171717"}),t("path",{d:"M16.1562 10.5527H15.4C15.1937 10.5527 15.0562 10.6902 15.0562 10.8965V11.6527C15.0562 11.859 15.1937 11.9965 15.4 11.9965H16.1562C16.3625 11.9965 16.5 11.859 16.5 11.6527V10.8965C16.5 10.6902 16.3625 10.5527 16.
131562 10.5527Z",fill:"#171717"}),t("path",{d:"M6.6 13.1997H5.84375C5.6375 13.1997 5.5 13.3372 5.5 13.5435V14.2997C5.5 14.506 5.6375 14.6435 5.84375 14.6435H6.6C6.80625 14.6435 6.94375 14.506 6.94375 14.2997V13.5435C6.94375 13.3372 6.77188 13.1997 6.6 13.1997Z",fill:"#171717"}),t("path",{d:"M9.90002 13.1997H9.14377C8.93752 13.1997 8.80002 13.3372 8.80002 13.5435V14.2997C8.80002 14.506 8.93752 14.6435 9.14377 14.6435H9.90002C10.1063 14.6435 10.2438 14.506 10.2438 14.2997V13.5435C10.2438 13.3372 10.0719 13.1997 9.90002 13.1997Z",fill:"#171717"}),t("path",{d:"M13.0281 13.1997H12.2719C12.0656 13.1997 11.9281 13.3372 11.9281 13.5435V14.2997C11.9281 14.506 12.0656 14.6435 12.2719 14.6435H13.0281C13.2344 14.6435 13.3719 14.506 13.3719 14.2997V13.5435C13.3719 13.3372 13.2344 13.1997 13.0281 13.1997Z",fill:"#171717"}),t("path",{d:"M16.1562 13.1997H15.4C15.1937 13.1997 15.0562 13.3372 15.0562 13.5435V14.2997C15.0562 14.506 15.1937 14.6435 15.4 14.6435H16.1562C16.3625 14.6435 16.5 14.506 16.5 14.2997V13.5435C16.5 13.3372 16.3625 13.1997 16.1562 13.1997Z",fill:"#171717"}),t("path",{d:"M6.6 15.8467H5.84375C5.6375 15.8467 5.5 15.9842 5.5 16.1904V16.9467C5.5 17.1529 5.6375 17.2904 5.84375 17.2904H6.6C6.80625 17.2904 6.94375 17.1529 6.94375 16.9467V16.1904C6.94375 15.9842 6.77188 15.8467 6.6 15.8467Z",fill:"#171717"}),t("path",{d:"M9.90002 15.8467H9.14377C8.93752 15.8467 8.80002 15.9842 8.80002 16.1904V16.9467C8.80002 17.1529 8.93752 17.2904 9.14377 17.2904H9.90002C10.1063 17.2904 10.2438 17.1529 10.2438 16.9467V16.1904C10.2438 15.9842 10.0719 15.8467 9.90002 15.8467Z",fill:"#171717"}),t("path",{d:"M13.0281 15.8467H12.2719C12.0656 15.8467 11.9281 15.9842 11.9281 16.1904V16.9467C11.9281 17.1529 12.0656 17.2904 12.2719 17.2904H13.0281C13.2344 17.2904 13.3719 17.1529 13.3719 16.9467V16.1904C13.3719 15.9842 13.2344 15.8467 13.0281 15.8467Z",fill:"#171717"})]),t("defs",null,[t("clipPath",{id:"clip0_157_3427"},[t("rect",{width:"22",height:"22",fill:"white"})])])],-1)]))],32),a(H)?(e(),n("div",xl,[a(H)?(e(),n("span",{key:0,class:O(["text-xs font-inter tabular-nums",a(o)?"text-red-500":"text-gray-400"])},S(a(b).length.toLocaleString())+" / "+S(Se.toLocaleString()),3)):C("",!0),a(o)?(e(),n("span",wl,"Please shorten your question to 1,500 characters or fewer, or ask one question at a time.")):C("",!0)])):C("",!0),i[27]||(i[27]=t("p",{class:"text-gray-500 text-center text-xs font-inter font-normal leading-4 w-full"}," Please note that this beta version is still learning and can make mistakes. ",-1)),i[28]||(i[28]=t("p",{class:"text-gray-400 text-center text-xs font-inter font-normal leading-4 w-full mt-1"},[D(" Built with Google AI. By continuing, you consent to data recording for support, service enhancement, and marketing under our "),t("a",{href:"https://www.blackline.com/legal/privacy-policy/",target:"_blank",rel:"noopener noreferrer",class:"underline hover:text-gray-600 transition-colors"},"Privacy Policy"),D(". ")],-1))])])]),_:1})]),_:1})]),_:1},8,["open"]),m(G,{open:a(x),"onUpdate:open":i[5]||(i[5]=A=>!A&&ke())},{default:g(()=>[m(T,null,{default:g(()=>[m(N,{class:"fixed inset-0 bg-black/50 z-[60]"}),m(E,{class:"fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-white rounded-2xl border-2 border-black z-[60] p-8 flex flex-col items-start gap-5 w-[304px]",style:{"box-shadow":"0 25px 50px -12px rgba(0, 0, 0, 0.25)"}},{default:g(()=>[i[29]||(i[29]=t("h3",{class:"text-xl font-urbanist font-bold w-full text-center"},"Do you want to close this chat?",-1)),t("div",{class:"flex gap-3 w-full"},[t("button",{onClick:ke,class:"flex-1 px-6 py-2 rounded-full border border-gray-300 font-inter font-medium hover:bg-gray-50 transition-colors"}," Cancel "),t("button",{onClick:ue,class:"flex-1 px-6 py-2 rounded-full bg-black text-white font-inter font-medium hover:bg-gray-800 transition-colors"}," Close ")])]),_:1})]),_:1})]),_:1},8,["open"])])}}}),$l=Re(Cl,[["__scopeId","data-v-b14a49ff"]]),Al=()=>{const L=St("homepage_variant",{maxAge:1209600,path:"/",sameSite:"lax",secure:!0});return L.value=null,{isAIBetaEnabled:P(()=>!0)}},Zl=W({__name:"default",props:{navigationTheme:{default:"light"}
13,navigationBackgroundColorClasses:{default:"bg-transparent"},navigationItemActiveBorderColor:{default:"yellow"}},setup(L){const c=te(),{modalState:u,initialQuery:h}=Ke(),{isAIBetaEnabled:s}=Al(),r=P(()=>!c.params.lang||["en","fr","de"].includes(c.params.lang)),l=P(()=>{const f=c.path.replace(/\/$/,"");return(f===""||f==="/")&&s.value}),d=P(()=>!c.params.lang),k=P(()=>!s.value||!d.value?!1:l.value?u.value==="minimized":!0);return(f,y)=>{const U=Lo,B=Ho,p=Ut,_=Do,b=$l;return e(),n("div",null,[a(r)?(e(),I(U,{key:0,theme:f.navigationTheme,"background-color-classes":f.navigationBackgroundColorClasses,"item-active-border-color":f.navigationItemActiveBorderColor},null,8,["theme","background-color-classes","item-active-border-color"])):(e(),I(B,{key:1})),Ie(f.$slots,"default"),a(r)?(e(),I(p,{key:2})):C("",!0),a(k)?(e(),I(_,{key:3})):C("",!0),a(s)&&a(d)?(e(),I(b,{key:4,modelValue:a(u),"onUpdate:modelValue":y[0]||(y[0]=o=>Be(u)?u.value=o:null),"initial-query":a(h)},null,8,["modelValue","initial-query"])):C("",!0)])}}});export{Zl 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.