PageSourceSearch

https://enterprisedna.co/_nuxt/gUtqD_h6.js

js enterprisedna.co collected 2026-10-02 05:46:36 UTC 68,419 bytes, 10 lines download raw bytes

1import{_ as He,a as be,u as qe}from"./C392xkM9.js";import{d as A,r as $,c as I,E as m,D as r,G as P,H as y,F as o,C as f,P as h,V as x,Y as p,X as T,h as g,S as E,cm as Ge,W as ve,bh as xe,bi as ke,bj as q,w as _e,x as we,q as We,v as Se,bf as Je,cn as Ye,bg as Qe,aP as Xe,bu as Ze,ah as et,B as V,a3 as N,m as w,a8 as ne,O as j,co as tt,b3 as nt,Z as J,a4 as ce,cp as st,o as Ce,M as O,N as H,au as Ie,cq as ee,a6 as G,bo as Te,i as te,n as oe,bm as at,cr as it,cs as ot,cg as lt,b as rt,u as ct,aq as dt,ct as ut,ci as mt,ai as ht,ak as gt,ad as ft,aQ as pt,cu as yt}from"./DlFYsrWP.js";import{S as Ae,T as bt,_ as vt,i as ae,U as Y,V as Me,W as xt,X as Ee,h as kt,Y as _t,Z as wt,J as Pe,l as St,w as Ct,$ as It,a0 as Tt,a1 as Ke,a2 as At,a3 as Mt,a4 as Et,a5 as Pt,a6 as Kt,a7 as $t,a8 as $e,a9 as Ot,aa as R,g as Bt,o as zt,c as de,ab as Nt}from"./weAkk1de.js";const Gs={layout:"simulations-chat"},jt={key:0,class:"mb-4 lg:mb-0 lg:absolute inset-y-0 -left-8 flex justify-center"},Dt={class:"size-20 lg:size-28 rounded-full border-helper ring-8 ring-helper/30 border-2 border-dashed grid place-content-center"},Ft=["innerHTML"],Lt={key:0,class:"mx-auto mb-4 lg:mb-0 lg:absolute -top-6 left-0 w-fit rounded-lg border-helper ring-2 ring-helper/20 border-2 px-5 py-2 text-sm lg:text-lg font-semibold uppercase"},Rt={key:1,class:"absolute -top-4 right-0 w-fit rounded-xl bg-primary px-5 py-2 text-sm font-semibold uppercase text-white dark:text-blue-800"},Ut={key:2,class:"w-fit rounded-xl bg-primary/20 px-5 py-2 text-sm font-semibold uppercase text-primary"},ue=A({__name:"BlockHeader",props:{description:{},subtitle:{},title:{},bigTitle:{default:null},blueTitle:{},floatBadge:{},weight:{default:"font-normal"},textColor:{default:"text-secondary"},bigTextColor:{},label:{},badge:{},align:{default:"center"},size:{default:"text-3xl xl:text-4xl"},textContainerSize:{},bigBadge:{},inline:{type:Boolean},hero:{type:Boolean},dense:{type:Boolean},capitalize:{type:Boolean,default:!0},descriptionClasses:{},blueTitleClasses:{default:"text-sm md:text-lg xl:text-2xl font-semibold"}},setup(e){const t=e,n=$({center:"justify-center mx-auto ",left:"justify-left",right:"justify-right",leftMobCenter:"items-center xl:items-start"}),s=I(()=>t.hero?t?.bigTitle?"h2":"h1":"h4"),i=I(()=>t.hero?t?.title?"h2":"h1":"h3"),a=I(()=>Ae("text-base text-light-bg md:text-2xl",t.textColor,t.align==="center"&&"mx-auto w-3/4 text-center",t.descriptionClasses));return(l,c)=>{const d=bt,u=vt;return r(),m("div",{class:E(["showcase-title mx-auto w-full space-y-2 lg:space-y-4 relative",[{"text-center":e.align==="center"},e.dense?"mb-0":"mb-4 sm:mb-8 lg:mb-10"]])},[P(l.$slots,"before"),e.floatBadge?(r(),m("div",jt,[o("div",Dt,[o("p",{class:"text-[10px] lg:text-sm font-medium text-helper -rotate-45 leading-none -translate-y-0.5",innerHTML:e.floatBadge},null,8,Ft)])])):y("",!0),o("div",{class:E(["flex gap-1 md:gap-3 relative",[e.textContainerSize,g(n)[e.align],e.inline?"flex-col flex-wrap md:flex-row":"flex-col"]])},[e.bigBadge?(r(),m("p",Lt,[h(d,{hover:!1},{default:x(()=>[p(T(e.bigBadge),1)]),_:1})])):y("",!0),e.badge?(r(),m("p",Rt,T(e.badge),1)):y("",!0),e.label?(r(),m("p",Ut,T(e.label),1)):y("",!0),P(l.$slots,"title",{},()=>[e.title?(r(),f(u,{key:0,"wrap-tag":g(s),"text-classes":[{capitalize:e.capitalize},e.textColor,e.size,e.weight],html:e.title},null,8,["wrap-tag","text-classes","html"])):y("",!0)]),e.bigTitle?(r(),f(u,{key:3,"wrap-tag":g(i),"text-classes":[e.textColor,e.bigTextColor,"text-3xl font-semibold capitalize md:text-5xl xl:text-8xl my-2"],html:e.bigTitle},null,8,["wrap-tag","text-classes","html"])):y("",!0),e.subtitle?(r(),m("h5",{key:4,class:E(["font-bold capitalize",[e.textColor,e.size]])},T(e.subtitle),3)):y("",!0),e.blueTitle?(r(),m("h6",{key:5,class:E([[e.blueTitleClasses],"text-primary dark:text-primary"])},T(e.blueTitle),3)):y("",!0)],2),P(l.$slots,"body",{},()=>[e.description?(r(),f(u,{key:0,"wrap-tag":"p","text-classes":g(a),html:e.description},null,8,["text-classes","html"])):y("",!0)]),P(l.$slots,"after")],2)}}}),Vt={class:"aspect-square h-full rounded-full object-cover"},Ht={__name:"Avatar",props:{src:String,width:String,alt:String,size:{type:[Number,String],default:"w-32"}},setup(e){const t=e,{isLoading:n,error:s}=Ge({src:t.src});return(i,a)=>{const l=ae,c=ve;return r(),m("div",{class:E(["avatar",e.size])},[o("div",Vt,[!g(s)||!g(n)?(r(),f(l,{key:0,src:e.src,width:e.width,"image-class":e.size,alt:e.alt,class:"h-full"},null,8,["src","width","image-class","alt"])):(r(),f(c,{key:1,name:"base-avatar"}))])],2)}}},se={User:"ai-chat",ChatChannels:"chat"},W={ChatStarted:"ChatStarted",ChatEnded:"ChatEnded",ChatRejected:"ChatRejected",MessageFromChatGPTReceived:"MessageFromChatGPTReceived",MessageFromChatGPTFinished:"MessageFromChatGPTFinished",FileFromChatGPTReceived:"FileFromChatGPTReceived"},qt=()=>{if(xe)return;const e=Y(),{channel:t,createChannel:n,destroyChannel:s}=ke(I(()=>e.chatId?se.ChatChannels+"."+e.chatId:null),se.ChatChannels);q(t,W.MessageFromChatGPTReceived,e.onStreamMessage),q(t,W.MessageFromChatGPTFinished,e.onFinishedStreamMessage),q(t,W.FileFromChatGPTReceived,e.onMediaItemStored),_e(()=>e.chatId,i=>{i?n():s()},{immediate:!0})},Gt=()=>{if(xe)return;const{user:e,isAuthenticated:t}=we(),n=Y(),{channel:s,createChannel:i,destroyChannel:a}=ke(I(()=>e.value?.id?se.User+"."+e.value.id:null),se.User,!0);q(s,W.ChatStarted,n.onStartedCreateMessage),q(s,W.ChatEnded,n.onEndedCreateMessage),q(s,W.ChatRejected,n.onRejectedMessage),_e(t,l=>{l?i():a()},{immediate:!0})},Oe=We("simulationsListChatsStore",()=>{const e=Se(),t=$([]),n=$(!1);return{loading:n,chats:t,fetchChats:async()=>{try{n.value=!0;const c=await e.ednaai.index({mode:Me.Simulations});return t.value=c._data.data,!0}catch(c){throw c}finally{n.value=!1}},onUpdateChat:async(c,d)=>{const b=(await e.ednaai.update(c,d))._data.data;t.value=Je(t,{id:b.id,title:b.title,settings:b.settings,asset:b.asset})},onDeleteChat:async c=>{await e.ednaai.delete(c),t.value=Ye(t,c)},onAddChatItem:c=>{t.value=Qe(t.value,{id:c.id,title:c.title||"",settings:c.settings,asset:c.asset,mode:c.mode},{unshift:!0})}}}),Wt={class:"flex-1 sm:max-h-[calc(100dvh-5rem)] max-h-[calc(100dvh-4rem)] overflow-y-auto"},Jt=A({__name:"app",async setup(e){let t,n;const s=Oe();return[t,n]=Xe(()=>
1Ze("chatData",()=>s.fetchChats())),await t,n(),Gt(),(i,a)=>{const l=He;return r(),m("div",Wt,[h(l)])}}}),Ws=Object.freeze(Object.defineProperty({__proto__:null,default:Jt},Symbol.toStringTag,{value:"Module"})),Yt=A({inheritAttrs:!1,__name:"Chip",props:{text:{},tag:{default:"span"},size:{default:"base"},variant:{default:"primary"},rounded:{default:"lg"},icon:{},iconClasses:{},soft:{type:Boolean,default:!1}},setup(e){const t=e,n=et(),s=xt("inline-flex items-center justify-center gap-0.5 text-ellipsis overflow-hidden whitespace-nowrap font-medium",{variants:{variant:{primary:"bg-primary text-white",secondary:"bg-secondary text-white","secondary-outline":"bg-white border border-secondary","primary-outline":"bg-white border border-primary text-primary","gray-outline":"bg-white border border-gray-400 text-gray-400",warning:"bg-warning text-white",info:"bg-info text-white",success:"bg-success text-white"},size:{xs:"px-1.5 text-xs leading-4",sm:"py-1.5 px-2",base:"py-2 px-4",custom:""},rounded:{line:"border-l-2 ",md:"rounded-md",lg:"rounded-lg"}}}),i=I(()=>Ae(s(t),n.class||"",{"grayscale hover:grayscale-0 focus:grayscale-0 opacity-30 hover:opacity-100":t.soft}));return(a,l)=>{const c=V("ui-icon"),d=Ee;return r(),f(N(e.tag),w({class:g(i)},a.$attrs),{default:x(()=>[P(a.$slots,"default",{},()=>[e.icon?(r(),f(c,{key:0,name:e.icon,class:E(e.iconClasses)},null,8,["name","class"])):y("",!0),e.text?(r(),f(d,{key:1,variant:e.size=="xs"?"small":"caption",tag:"span",class:"inline-flex"},{default:x(()=>[p(T(e.text),1)]),_:1},8,["variant"])):y("",!0)])]),_:3},16,["class"])}}}),Qt={assistant_output:"Draft",draft:"Draft"},Be="By default file will be marked as <b>Draft</b> and stored temporarily.<br/> In order to keep it persistently you can turn it to <b>Saved</b> after upload completes.",ze=`
2  Image uploaded from chat menu will be typed as <b>Vision</b>. Image uploaded within document editor will be typed as <b>Document</b>. Image that is generated by AI wil have type <b>Assistant Output</b>. All of them are stored temporarily and will be automatically pruned.
3    <br/><br/>
4  If you want to keep an image permanently - click on Save button - the image will be typed as Saved then.
5  `,Xt={key:0,class:"flex gap-2 items-center"},Zt=A({__name:"FileType",props:{type:{},isImage:{type:Boolean},size:{default:"xs"}},setup(e){const t=e,n=I(()=>Qt[t.type]||t.type),s=I(()=>"<span class='font-medium text-base'>Type</span><br>"+(t.isImage?ze:Be));return(i,a)=>{const l=Yt,c=ne("tippy");return e.type!="saved"?(r(),m("div",Xt,[j((r(),f(l,{size:e.size,variant:"info"},{default:x(()=>[p(T(g(n)),1)]),_:1},8,["size"])),[[c,{content:g(s),html:!0}]])])):y("",!0)}}}),en={key:0,class:"max-w-7xl mx-auto w-full mb-4"},tn={key:0,class:"flex items-center gap-2 px-2 py-2 border rounded-3xl"},nn={class:"flex items-center gap-2 flex-1 flex-wrap"},sn={class:"ml-auto flex items-center gap-1"},an={key:1,class:"lg:min-w-3xl p-4 mt-4 border rounded-3xl min-h-24"},on={class:"-mb-4 -mx-2 bg-white/10 backdrop-blur px-4 py-3 flex-wrap rounded-t rounded-b-3xl flex items-center gap-2"},ln={class:"flex-1 flex items-center gap-2"},rn={key:0,class:"flex gap-1 items-center"},Ne=A({__name:"ChatFileWrapper",props:{item:{},assistantOutput:{type:Boolean}},setup(e){const t=e,n=Y(),s=kt(),i=async _=>{const k=await s.saveImage(_);k?.id&&n.updateChatItemFile(k)},a=tt({}),l=async _=>{_?.id&&(_.prompt=_.message,a.open({chat:_}))},c=I(()=>t.assistantOutput?t.item?.file?.id&&t.item?.file.type==="assistant_output":t.item?.file?.id&&t.item?.file.type!=="assistant_output"),d=I(()=>t.assistantOutput?t.item?.image?.id&&t.item?.image.type==="assistant_output":t.item?.image?.id&&t.item?.image.type!=="assistant_output"),u=$(null),b=nt({}),M=_=>{u.value=_,s.setMediaType(_?.external_uuid||_?.filesize?"file":"image"),b.open({title:"Edit media",file:I(()=>u.value),editFile:async k=>(n.updateChatItemFile(k),!0)})};return(_,k)=>{const S=J,D=Ee,C=Zt,v=_t,K=ae,B=ne("tippy"),F=ne("viewer");return e.item?.file?.id||e.item?.image?.id?(r(),m("div",en,[g(c)?(r(),m("div",tn,[o("div",nn,[j(h(S,{href:e.item?.file.url,size:"icon","icon-class-lefte":"!text-md",color:"warning",icon:"download",class:"leading-none",target:"_blank",download:e.item?.file?.name},null,8,["href","download"]),[[B,"Download"]]),h(D,{class:"font-medium"},{default:x(()=>[p(T(e.item?.file?.name||"File"),1)]),_:1}),p(" ("+T(e.item?.file?.filesize)+") ",1),h(C,{type:e.item?.file?.type||null},null,8,["type"]),o("div",sn,[e.item?.file?.type==="draft"||e.item?.file?.type==="assistant_output"?j((r(),f(S,{key:0,size:"sm",text:"Save",color:"success",variant:"outline",icon:"save",onClick:k[0]||(k[0]=z=>i(e.item?.file))},null,512)),[[B,{content:g(Be),html:!0}]]):y("",!0),h(S,{size:"sm",text:"Edit",variant:"text",color:"secondary",icon:"edit",soft:"",onClick:k[1]||(k[1]=z=>M(e.item?.file))}),h(v,{content:e.item?.file?.url},null,8,["content"])])])])):y("",!0),g(d)?(r(),m("div",an,[j(h(K,{class:"cursor-zoom-in",src:e.item?.image?.image_url},null,8,["src"]),[[F]]),o("div",on,[o("div",ln,[h(D,{class:"font-medium"},{default:x(()=>[p(T(e.item?.image?.name||"Image"),1)]),_:1}),h(C,{type:e.item?.image?.type||null,"is-image":""}
5,null,8,["type"])]),e.item?.image?.id?(r(),m("div",rn,[e.item?.image?.type==="document"||e.item?.image?.type==="vision"||e.item?.image?.type==="assistant_output"?j((r(),f(S,{key:0,size:"sm",text:"Save",color:"success",variant:"outline",icon:"save",onClick:k[2]||(k[2]=z=>i(e.item?.image))},null,512)),[[B,{content:g(ze),html:!0}]]):y("",!0),h(S,{size:"sm",text:"Edit",soft:"",variant:"text",color:"secondary",icon:"edit",onClick:k[3]||(k[3]=z=>M(e.item?.image))}),e.item?.image?.type==="assistant_output"?j((r(),f(S,{key:1,icon:"refresh",variant:"text",color:"secondary",size:"icon-sm",onClick:k[4]||(k[4]=z=>l(e.item))},null,512)),[[B,"Regenerate the media file using the same input data"]]):y("",!0),h(v,{content:e.item?.image?.image_url},null,8,["content"])])):y("",!0)])])):y("",!0)])):y("",!0)}}}),cn={class:"grid grid-cols-[3rem_1fr] gap-4 items-start max-w-[90%]"},dn={class:""},un={class:"user-message mt-3 p-4 text-helper rounded-tl-none rounded-3xl bg-helper/20"},mn=A({__name:"UserMessage",props:{message:{},item:{}},setup(e){const{user:t}=we();return(n,s)=>{const i=Ht,a=Ne;return r(),m("div",cn,[h(i,{src:g(t)?.avatar_url,size:"w-12"},null,8,["src"]),o("div",dn,[o("div",un,T(e.message),1),e.message&&e.item?.id?(r(),f(a,{key:0,class:"mt-2",item:e.item},null,8,["item"])):y("",!0)])])}}}),hn={},gn={class:"flex items-end"},fn={class:"text-secondary pr-2"};function pn(e,t){return r(),m("div",gn,[o("p",fn,[P(e.$slots,"default",{},()=>[t[0]||(t[0]=p("Processing",-1))])]),t[1]||(t[1]=o("div",{class:"typing"},[o("div",{class:"dot"}),o("div",{class:"dot"}),o("div",{class:"dot"})],-1))])}const yn=ce(hn,[["render",pn]]),bn=["innerHTML"],vn=A({__name:"AiMessage",props:{message:{},isStream:{type:Boolean},item:{}},setup(e){const t=e,n=i=>i.replace(/\\\[|\\\]|\(|\)/g,a=>{switch(a){case"\\[":return" $$";case"\\]":return"$$";case"\\(":return" $$";case"\\)":return"$$";default:return a}}),s=I(()=>{const i=t.isStream?t.message.replace(wt,""):t.message;return st.parse(n(i))});return Ce(()=>{window.Prism&&window.Prism.highlightAll()}),(i,a)=>{const l=Ne,c=yn;return r(),m("div",null,[o("div",{class:"marked-list prose prose-sm 2k:prose-base prose-dense prose-quoteless max-w-none relative line-numbers",innerHTML:g(s)},null,8,bn),e.message&&e.item?.id?(r(),f(l,{key:0,"assistant-output":"",class:"mt-2",item:e.item},null,8,["item"])):y("",!0),e.isStream?(r(),f(c,{key:1})):y("",!0)])}}}),xn={class:"flex flex-wrap gap-2 justify-center items-center"},kn={class:"flex flex-wrap gap-3 justify-center"},_n=A({__name:"SendMessageBasicPrompt",props:{disabled:{type:Boolean}},emits:["select"],setup(e,{emit:t}){const n=t,s=[{title:"Start over",value:"Let's start the scenario again, forget my previous responses"},{title:"Get hints",value:"Based on the topic and the conversation itself, please give a list of 5-10 questions that I can ask to dive deeper into the problem"},{title:"Expand on this point",value:"Please explain the matter in your latest message in in more details or illustrate this concept further"},{title:"Get conclusions",value:"Analyse the whole conversation and provide a brief text conclusion. Depending on the context provide either the most logical decision that can be made or give a feedback on user responses"}];return(i,a)=>{const l=J;return r(),m("div",xn,[a[0]||(a[0]=o("p",{class:"font-semibold"},"Try Asking:",-1)),o("ul",kn,[(r(),m(O,null,H(s,c=>o("li",{key:c.title},[h(l,{type:"button",disabled:e.disabled,variant:"outline",color:"blue",onClick:d=>n("select",c)},{default:x(()=>[p(T(c.title),1)]),_:2},1032,["disabled","onClick"])])),64))])])}}}),wn={class:"flex gap-3 items-start"},Sn=A({__name:"SendMessage",emits:["success"],setup(e,{emit:t}){const n=t,{handler:s,pending:i}=Ie(),a=Y(),l=$(""),c=$(!1),d=I(()=>!ee(l.value)||a.isStreamMessage),u=async()=>{c.value=!0,await oe(),l.value?.length||(c.value=!1)},b=async _=>{c.value||(l.value=_.value,await oe(),c.value=!1)},M=async()=>{if(d.value)return;const{isError:_}=await s(()=>a.onCreateMessage(l.value));_||(l.value="",n("success"))};return(_,k)=>{const S=_n,D=J,C=Pe;return r(),m("form",{class:"max-w-5xl mx-auto w-full mb-4 px-4",onSubmit:G(M,["prevent"])},[h(S,{disabled:g(c),class:"mb-4",onSelect:b},null,8,["disabled"]),o("div",wn,[h(C,{modelValue:g(l),"onUpdate:modelValue":k[0]||(k[0]=v=>te(l)?l.value=v:null),"no-error":"",placeholder:"Please enter your message","sync-v-model":"","no-label":"","enabled-controlled":"","auto-size":"",disabled:g(i),"hide-meta-icon":"",name:"additional","input-class":"min-h-16 bg-white resize-none",size:1,onKeydown:Te(G(M,["exact","prevent"]),["enter"]),class:"flex-1 mb-4",onInput:u},{default:x(()=>[h(D,{disabled:g(d),size:"icon",variant:"text",icon:"send",color:"pink",loading:g(i),"no-label":"",outlined:""},null,8,["disabled","loading"])]),_:1},8,["modelValue","disabled","onKeydown"])])],32)}}}),Cn={class:"flex-1 flex flex-col h-full"},In={key:0,class:"flex-1 max-w-7xl mx-auto w-full"},Tn={class:"shrink-0"},An=A({__name:"GroupMessages",setup(e){const t=Y(),n=I(()=>t.chat?.messages||[]),s=I(()=>!at(n.value)?.message),i=I(()=>!t.isStreamError&&(t.isStreamMessage||s.value)),a=(d,u=!1)=>{const b={file:d?.file,image:d?.image};return{id:d.id,message:(u?d.prompt:d.message)||"",createdAt:d.created_at,isPrompt:u,...b}},l=I(()=>it(n.value,(d,u,b)=>(b!==0&&d.push(a(u,!0)),u.message&&d.push(a(u)),d),[])),c=()=>{t.scrollToBottom()};return ot(()=>t.formatStreamMessage.length,()=>{t.isAutoScroll&&t.scrollToBottom()},{throttle:100}),lt(["ArrowDown","ArrowUp","Space"],d=>{d.preventDefault()}),Ce(()=>{t.scrollToBottom()}),qt(),(d,u)=>{const b=mn,M=vn,_=St,k=Sn;return r(),m("div",Cn,[o("div",{ref:g(t).setMessageWrapperRef,class:"flex-1 max-h-full min-h-32 overflow-y-auto flex flex-col px-4",onWheel:u[0]||(u[0]=S=>g(t).setIsAutoScroll(!1))},[g(n)?(r(),m("div",In,[(r(!0),m(O,null,H(g(l),S=>(r(),m(O,null,[S.isPrompt?(r(),f(b,{key:S.id+"_user",message:S.message,item:S,class:"mb-4"},null,8,["message","item"])):(r(),f(M,{key:S.id+"_ai",message:S.message,item:S,class:"mb-4"},null,8,["message","item"]))],64))),256)),g(s)?(r(),f(M,{key:0,"is-stream":g(i),message:g(t).formatStreamMessage,class:"mb-4"},null,8,["is-stream","message"])):y("",!0),g(t).isStreamError?(r(),f(_,{key:1,class:"mb-4",type:"error",dense:""},{default:x(()=>[...u[1]||(u[1]=[p(" There was an error while streaming the message, please try again later ",-1)])]),_:1})):y("",!0)])):y("",!0)],544),o("div",Tn,[u[2]||(u[2]=o("hr",{class:"my-4 bg-blue-light h-0.5"},null,-1)),h(k,{onSuccess:c})])])}}}),Mn={class:"relative flex flex-1 max-w-full h-full"},En=A({__name:"[id]",setup(e){const t=rt(),n=ct(),s=Y(),{error:i,status:a}=dt("singleChat",async()=>s.fetchChat(t.params.id));return ut(()=>{s.reset()}),mt(n.hook("page:transition:finish",()=>{s.scrollToBottom()})),(l,c)=>{const d=An,u=ht,b=Ct;return r(),m("div",Mn,[h(b,{status:g(a),error:g(i)},{default:x(()=>[h(u,null,{default:x(()=>[!l.pending&&g(s).chat?(r(),f(d,{key:0})):y("",!0)]),_:1})]),_:1},8,["status","error"])])}}}),Js=Object.freeze(Object.defineProperty({__proto__:null,default:En},Symbol.toStringTag,{value:"Module"}));var Pn={root:function(t){var n=t.props;return["p-tree p-component",{"p-tree-selectable":n.selectionMode!=null,"p-tree-loading":n.loading,"p-tree-flex-scrollable":n.scrollHeight==="flex"}]},loadingOverlay:"p-tree-loading-overlay p-component-overlay",loadingIcon:"p-tree-loading-icon",filterContainer:"p-tree-filter-container",input:"p-tree-filter p-inputtext p-component",searchIcon:"p-tree-filter-icon",wrapper:"p-tree-wrapper",container:"p-tree-container",node:function(t){var n=t.instance;return["p-treenode",{"p-treenode-leaf":n.leaf}]},content:function(t){var n=t.instance;return["p-treenode-content",n.node.styleClass,{"p-treenode-selectable":n.selectable,"p-highlight":n.checkboxMo
5de&&n.$parentInstance.highlightOnSelect?n.checked:n.selected}]},toggler:"p-tree-toggler p-link",togglerIcon:"p-tree-toggler-icon",nodeTogglerIcon:"p-tree-node-toggler-icon",nodeCheckbox:function(t){var n=t.instance;return[{"p-indeterminate":n.partialChecked}]},nodeIcon:"p-treenode-icon",label:"p-treenode-label",subgroup:"p-treenode-children"},Kn=It.extend({name:"tree",classes:Pn}),je={name:"MinusIcon",extends:Tt},$n=o("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1),On=[$n];function Bn(e,t,n,s,i,a){return r(),m("svg",w({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),On,16)}je.render=Bn;var zn={name:"BaseTree",extends:$e,props:{value:{type:null,default:null},expandedKeys:{type:null,default:null},selectionKeys:{type:null,default:null},selectionMode:{type:String,default:null},metaKeySelection:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},loadingMode:{type:String,default:"mask"},filter:{type:Boolean,default:!1},filterBy:{type:String,default:"label"},filterMode:{type:String,default:"lenient"},filterPlaceholder:{type:String,default:null},filterLocale:{type:String,default:void 0},highlightOnSelect:{type:Boolean,default:!1},scrollHeight:{type:String,default:null},level:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Kn,provide:function(){return{$parentInstance:this}}};function X(e){"@babel/helpers - typeof";return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(e)}function he(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=De(e))||t){n&&(e=n);var s=0,i=function(){};return{s:i,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,l=!1,c;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){l=!0,c=u},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(l)throw c}}}}function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ge(Object(n),!0).forEach(function(s){Nn(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function Nn(e,t,n){return t=jn(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(e){var t=Dn(e,"string");return X(t)=="symbol"?t:String(t)}function Dn(e,t){if(X(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t);if(X(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Q(e){return Rn(e)||Ln(e)||De(e)||Fn()}function Fn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function De(e,t){if(e){if(typeof e=="string")return le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return le(e,t)}}function Ln(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rn(e){if(Array.isArray(e))return le(e)}function le(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var Fe={name:"TreeNode",hostName:"Tree",extends:$e,emits:["node-toggle","node-click","checkbox-change"],props:{node:{type:null,default:null},expandedKeys:{type:null,default:null},loadingMode:{type:String,default:"mask"},selectionKeys:{type:null,default:null},selectionMode:{type:String,default:null},templates:{type:null,default:null},level:{type:Number,default:null},index:null},nodeTouched:!1,toggleClicked:!1,mounted:function(){this.setAllNodesTabIndexes()},methods:{toggle:function(){this.$emit("node-toggle",this.node),this.toggleClicked=!0},label:function(t){return typeof t.label=="function"?t.label():t.label},onChildNodeToggle:function(t){this.$emit("node-toggle",t)},getPTOptions:function(t){return this.ptm(t,{context:{index:this.index,exp
7anded:this.expanded,selected:this.selected,checked:this.checked,leaf:this.leaf}})},onClick:function(t){if(this.toggleClicked||R.getAttribute(t.target,'[data-pc-section="toggler"]')||R.getAttribute(t.target.parentElement,'[data-pc-section="toggler"]')){this.toggleClicked=!1;return}this.isCheckboxSelectionMode()?this.node.selectable!=!1&&this.toggleCheckbox():this.$emit("node-click",{originalEvent:t,nodeTouched:this.nodeTouched,node:this.node}),this.nodeTouched=!1},onChildNodeClick:function(t){this.$emit("node-click",t)},onTouchEnd:function(){this.nodeTouched=!0},onKeyDown:function(t){if(this.isSameNode(t))switch(t.code){case"Tab":this.onTabKey(t);break;case"ArrowDown":this.onArrowDown(t);break;case"ArrowUp":this.onArrowUp(t);break;case"ArrowRight":this.onArrowRight(t);break;case"ArrowLeft":this.onArrowLeft(t);break;case"Enter":case"NumpadEnter":case"Space":this.onEnterKey(t);break}},onArrowDown:function(t){var n=t.target.getAttribute("data-pc-section")==="toggler"?t.target.closest('[role="treeitem"]'):t.target,s=n.children[1];if(s)this.focusRowChange(n,s.children[0]);else if(n.nextElementSibling)this.focusRowChange(n,n.nextElementSibling);else{var i=this.findNextSiblingOfAncestor(n);i&&this.focusRowChange(n,i)}t.preventDefault()},onArrowUp:function(t){var n=t.target;if(n.previousElementSibling)this.focusRowChange(n,n.previousElementSibling,this.findLastVisibleDescendant(n.previousElementSibling));else{var s=this.getParentNodeElement(n);s&&this.focusRowChange(n,s)}t.preventDefault()},onArrowRight:function(t){var n=this;this.leaf||this.expanded||(t.currentTarget.tabIndex=-1,this.$emit("node-toggle",this.node),this.$nextTick(function(){n.onArrowDown(t)}))},onArrowLeft:function(t){var n=R.findSingle(t.currentTarget,'[data-pc-section="toggler"]');if(this.level===0&&!this.expanded)return!1;if(this.expanded&&!this.leaf)return n.click(),!1;var s=this.findBeforeClickableNode(t.currentTarget);s&&this.focusRowChange(t.currentTarget,s)},onEnterKey:function(t){this.setTabIndexForSelectionMode(t,this.nodeTouched),this.onClick(t),t.preventDefault()},onTabKey:function(){this.setAllNodesTabIndexes()},setAllNodesTabIndexes:function(){var t=R.find(this.$refs.currentNode.closest('[data-pc-section="container"]'),'[role="treeitem"]'),n=Q(t).some(function(i){return i.getAttribute("aria-selected")==="true"||i.getAttribute("aria-checked")==="true"});if(Q(t).forEach(function(i){i.tabIndex=-1}),n){var s=Q(t).filter(function(i){return i.getAttribute("aria-selected")==="true"||i.getAttribute("aria-checked")==="true"});s[0].tabIndex=0;return}Q(t)[0].tabIndex=0},setTabIndexForSelectionMode:function(t,n){if(this.selectionMode!==null){var s=Q(R.find(this.$refs.currentNode.parentElement,'[role="treeitem"]'));t.currentTarget.tabIndex=n===!1?-1:0,s.every(function(i){return i.tabIndex===-1})&&(s[0].tabIndex=0)}},focusRowChange:function(t,n,s){t.tabIndex="-1",n.tabIndex="0",this.focusNode(s||n)},findBeforeClickableNode:function(t){var n=t.closest("ul").closest("li");if(n){var s=R.findSingle(n,"button");return s&&s.style.visibility!=="hidden"?n:this.findBeforeClickableNode(t.previousElementSibling)}return null},toggleCheckbox:function(){var t=this.selectionKeys?fe({},this.selectionKeys):{},n=!this.checked;this.propagateDown(this.node,n,t),this.$emit("checkbox-change",{node:this.node,check:n,selectionKeys:t})},propagateDown:function(t,n,s){if(n&&t.selectable!=!1?s[t.key]={checked:!0,partialChecked:!1}:delete s[t.key],t.children&&t.children.length){var i=he(t.children),a;try{for(i.s();!(a=i.n()).done;){var l=a.value;this.propagateDown(l,n,s)}}catch(c){i.e(c)}finally{i.f()}}},propagateUp:function(t){var n=t.check,s=fe({},t.selectionKeys),i=0,a=!1,l=he(this.node.children),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;s[d.key]&&s[d.key].checked?i++:s[d.key]&&s[d.key].partialChecked&&(a=!0)}}catch(u){l.e(u)}finally{l.f()}n&&i===this.node.children.length?s[this.node.key]={checked:!0,partialChecked:!1}:(n||delete s[this.node.key],a||i>0&&i!==this.node.children.length?s[this.node.key]={checked:!1,partialChecked:!0}:delete s[this.node.key]),this.$emit("checkbox-change",{node:t.node,check:t.check,selectionKeys:s})},onChildCheckboxChange:function(t){this.$emit("checkbox-change",t)},findNextSiblingOfAncestor:function(t){var n=this.getParentNodeElement(t);return n?n.nextElementSibling?n.nextElementSibling:this.findNextSiblingOfAncestor(n):null},findLastVisibleDescendant:function(t){var n=t.children[1];if(n){var s=n.children[n.children.length-1];return this.findLastVisibleDescendant(s)}else return t},getParentNodeElement:function(t){var n=t.parentElement.parentElement;return R.getAttribute(n,"role")==="treeitem"?n:null},focusNode:function(t){t.focus()},isCheckboxSelectionMode:function(){return this.selectionMode==="checkbox"},isSameNode:function(t){return t.currentTarget&&(t.currentTarget.isSameNode(t.target)||t.currentTarget.isSameNode(t.target.closest('[role="treeitem"]')))}},computed:{hasChildren:function(){return this.node.children&&this.node.children.length>0},expanded:function(){return this.expandedKeys&&this.expandedKeys[this.node.key]===!0},leaf:function(){return this.node.leaf===!1?!1:!(this.node.children&&this.node.children.length)},selectable:function(){return this.node.selectable===!1?!1:this.selectionMode!=null},selected:function(){return this.selectionMode&&this.selectionKeys?this.selectionKeys[this.node.key]===!0:!1}
7,checkboxMode:function(){return this.selectionMode==="checkbox"&&this.node.selectable!==!1},checked:function(){return this.selectionKeys?this.selectionKeys[this.node.key]&&this.selectionKeys[this.node.key].checked:!1},partialChecked:function(){return this.selectionKeys?this.selectionKeys[this.node.key]&&this.selectionKeys[this.node.key].partialChecked:!1},ariaChecked:function(){return this.selectionMode==="single"||this.selectionMode==="multiple"?this.selected:void 0},ariaSelected:function(){return this.checkboxMode?this.checked:void 0}},components:{Checkbox:$t,ChevronDownIcon:Kt,ChevronRightIcon:Pt,CheckIcon:Et,MinusIcon:je,SpinnerIcon:Ke},directives:{ripple:Mt}},Un=["aria-label","aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-level","aria-checked","tabindex"],Vn=["data-p-highlight","data-p-selectable"];function Hn(e,t,n,s,i,a){var l=V("SpinnerIcon"),c=V("Checkbox"),d=V("TreeNode",!0),u=ne("ripple");return r(),m("li",w({ref:"currentNode",class:e.cx("node"),role:"treeitem","aria-label":a.label(n.node),"aria-selected":a.ariaSelected,"aria-expanded":a.expanded,"aria-setsize":n.node.children?n.node.children.length:0,"aria-posinset":n.index+1,"aria-level":n.level,"aria-checked":a.ariaChecked,tabindex:n.index===0?0:-1,onKeydown:t[4]||(t[4]=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)})},n.level===1?a.getPTOptions("node"):e.ptm("subgroup")),[o("div",w({class:e.cx("content"),onClick:t[2]||(t[2]=function(){return a.onClick&&a.onClick.apply(a,arguments)}),onTouchend:t[3]||(t[3]=function(){return a.onTouchEnd&&a.onTouchEnd.apply(a,arguments)}),style:n.node.style},a.getPTOptions("content"),{"data-p-highlight":a.checkboxMode?a.checked:a.selected,"data-p-selectable":a.selectable}),[j((r(),m("button",w({type:"button",class:e.cx("toggler"),onClick:t[0]||(t[0]=function(){return a.toggle&&a.toggle.apply(a,arguments)}),tabindex:"-1","aria-hidden":"true"},a.getPTOptions("toggler")),[n.node.loading&&n.loadingMode==="icon"?(r(),m(O,{key:0},[n.templates.nodetogglericon?(r(),f(N(n.templates.nodetogglericon),{key:0,class:E(e.cx("nodetogglericon"))},null,8,["class"])):(r(),f(l,w({key:1,spin:"",class:e.cx("nodetogglericon")},e.ptm("nodetogglericon")),null,16,["class"]))],64)):(r(),m(O,{key:1},[n.templates.togglericon?(r(),f(N(n.templates.togglericon),{key:0,node:n.node,expanded:a.expanded,class:E(e.cx("togglerIcon"))},null,8,["node","expanded","class"])):a.expanded?(r(),f(N(n.node.expandedIcon?"span":"ChevronDownIcon"),w({key:1,class:e.cx("togglerIcon")},a.getPTOptions("togglerIcon")),null,16,["class"])):(r(),f(N(n.node.collapsedIcon?"span":"ChevronRightIcon"),w({key:2,class:e.cx("togglerIcon")},a.getPTOptions("togglerIcon")),null,16,["class"]))],64))],16)),[[u]]),a.checkboxMode?(r(),f(c,{key:0,modelValue:a.checked,binary:!0,class:E(e.cx("nodeCheckbox")),tabindex:-1,unstyled:e.unstyled,pt:a.getPTOptions("nodeCheckbox"),"data-p-checked":a.checked,"data-p-partialchecked":a.partialChecked},{icon:x(function(b){return[n.templates.checkboxicon?(r(),f(N(n.templates.checkboxicon),{key:0,checked:b.checked,partialChecked:a.partialChecked,class:E(b.class)},null,8,["checked","partialChecked","class"])):(r(),f(N(a.checked?"CheckIcon":a.partialChecked?"MinusIcon":null),w({key:1,class:b.class},a.getPTOptions("nodeCheckbox.icon")),null,16,["class"]))]}),_:1},8,["modelValue","class","unstyled","pt","data-p-checked","data-p-partialchecked"])):y("",!0),n.templates.nodeicon?(r(),f(N(n.templates.nodeicon),w({key:1,node:n.node,class:[e.cx("nodeIcon")]},a.getPTOptions("nodeIcon")),null,16,["node","class"])):(r(),m("span",w({key:2,class:[e.cx("nodeIcon"),n.node.icon]},a.getPTOptions("nodeIcon")),null,16)),o("span",w({class:e.cx("label")},a.getPTOptions("label"),{onKeydown:t[1]||(t[1]=G(function(){},["stop"]))}),[n.templates[n.node.type]||n.templates.default?(r(),f(N(n.templates[n.node.type]||n.templates.default),{key:0,node:n.node},null,8,["node"])):(r(),m(O,{key:1},[p(T(a.label(n.node)),1)],64))],16)],16,Vn),a.hasChildren&&a.expanded?(r(),m("ul",w({key:0,class:e.cx("subgroup"),role:"group"},e.ptm("subgroup")),[(r(!0),m(O,null,H(n.node.children,function(b){return r(),f(d,{key:b.key,node:b,templates:n.templates,level:n.level+1,loadingMode:n.loadingMode,expandedKeys:n.expandedKeys,onNodeToggle:a.onChildNodeToggle,onNodeClick:a.onChildNodeClick,selectionMode:n.selectionMode,selectionKeys:n.selectionKeys,onCheckboxChange:a.propagateUp,unstyled:e.unstyled,pt:e.pt},null,8,["node","templates","level","loadingMode","expandedKeys","onNodeToggle","onNodeClick","
7selectionMode","selectionKeys","onCheckboxChange","unstyled","pt"])}),128))],16)):y("",!0)],16,Un)}Fe.render=Hn;function Z(e){"@babel/helpers - typeof";return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z(e)}function ie(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Le(e))||t){n&&(e=n);var s=0,i=function(){};return{s:i,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,l=!1,c;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){l=!0,c=u},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(l)throw c}}}}function qn(e){return Jn(e)||Wn(e)||Le(e)||Gn()}function Gn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
9In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(e,t){if(e){if(typeof e=="string")return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return re(e,t)}}function Wn(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jn(e){if(Array.isArray(e))return re(e)}function re(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pe(Object(n),!0).forEach(function(s){Yn(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function Yn(e,t,n){return t=Qn(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qn(e){var t=Xn(e,"string");return Z(t)=="symbol"?t:String(t)}function Xn(e,t){if(Z(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t);if(Z(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var me={name:"Tree",extends:zn,inheritAttrs:!1,emits:["node-expand","node-collapse","update:ex
9pandedKeys","update:selectionKeys","node-select","node-unselect","filter"],data:function(){return{d_expandedKeys:this.expandedKeys||{},filterValue:null}},watch:{expandedKeys:function(t){this.d_expandedKeys=t}},methods:{onNodeToggle:function(t){var n=t.key;this.d_expandedKeys[n]?(delete this.d_expandedKeys[n],this.$emit("node-collapse",t)):(this.d_expandedKeys[n]=!0,this.$emit("node-expand",t)),this.d_expandedKeys=U({},this.d_expandedKeys),this.$emit("update:expandedKeys",this.d_expandedKeys)},onNodeClick:function(t){if(this.selectionMode!=null&&t.node.selectable!==!1){var n=t.nodeTouched?!1:this.metaKeySelection,s=n?this.handleSelectionWithMetaKey(t):this.handleSelectionWithoutMetaKey(t);this.$emit("update:selectionKeys",s)}},onCheckboxChange:function(t){this.$emit("update:selectionKeys",t.selectionKeys),t.check?this.$emit("node-select",t.node):this.$emit("node-unselect",t.node)},handleSelectionWithMetaKey:function(t){var n=t.originalEvent,s=t.node,i=n.metaKey||n.ctrlKey,a=this.isNodeSelected(s),l;return a&&i?(this.isSingleSelectionMode()?l={}:(l=U({},this.selectionKeys),delete l[s.key]),this.$emit("node-unselect",s)):(this.isSingleSelectionMode()?l={}:this.isMultipleSelectionMode()&&(l=i?this.selectionKeys?U({},this.selectionKeys):{}:{}),l[s.key]=!0,this.$emit("node-select",s)),l},handleSelectionWithoutMetaKey:function(t){var n=t.node,s=this.isNodeSelected(n),i;return this.isSingleSelectionMode()?s?(i={},this.$emit("node-unselect",n)):(i={},i[n.key]=!0,this.$emit("node-select",n)):s?(i=U({},this.selectionKeys),delete i[n.key],this.$emit("node-unselect",n)):(i=this.selectionKeys?U({},this.selectionKeys):{},i[n.key]=!0,this.$emit("node-select",n)),i},isSingleSelectionMode:function(){return this.selectionMode==="single"},isMultipleSelectionMode:function(){return this.selectionMode==="multiple"},isNodeSelected:function(t){return this.selectionMode&&this.selectionKeys?this.selectionKeys[t.key]===!0:!1},isChecked:function(t){return this.selectionKeys?this.selectionKeys[t.key]&&this.selectionKeys[t.key].checked:!1},isNodeLeaf:function(t){return t.leaf===!1?!1:!(t.children&&t.children.length)},onFilterKeydown:function(t){(t.code==="Enter"||t.code==="NumpadEnter")&&t.preventDefault(),this.$emit("filter",{originalEvent:t,value:t.target.value})},findFilteredNodes:function(t,n){if(t){var s=!1;if(t.children){var i=qn(t.children);t.children=[];var a=ie(i),l;try{for(a.s();!(l=a.n()).done;){var c=l.value,d=U({},c);this.isFilterMatched(d,n)&&(s=!0,t.children.push(d))}}catch(u){a.e(u)}finally{a.f()}}if(s)return!0}},isFilterMatched:function(t,n){var s=n.searchFields,i=n.filterText,a=n.strict,l=!1,c=ie(s),d;try{for(c.s();!(d=c.n()).done;){var u=d.value,b=String(Ot.resolveFieldData(t,u)).toLocaleLowerCase(this.filterLocale);b.indexOf(i)>-1&&(l=!0)}}catch(M){c.e(M)}finally{c.f()}return(!l||a&&!this.isNodeLeaf(t))&&(l=this.findFilteredNodes(t,{searchFields:s,filterText:i,strict:a})||l),l}},computed:{filteredValue:function(){var t=[],n=this.filterBy.split(","),s=this.filterValue.trim().toLocaleLowerCase(this.filterLocale),i=this.filterMode==="strict",a=ie(this.value),l;try{for(a.s();!(l=a.n()).done;){var c=l.value,d=U({},c),u={searchFields:n,filterText:s,strict:i};(i&&(this.findFilteredNodes(d,u)||this.isFilterMatched(d,u))||!i&&(this.isFilterMatched(d,u)||this.findFilteredNodes(d,u)))&&t.push(d)}}catch(b){a.e(b)}finally{a.f()}return t},valueToRender:function(){return this.filterValue&&this.filterValue.trim().length>0?this.filteredValue:this.value}},components:{TreeNode:Fe,SearchIcon:At,SpinnerIcon:Ke}},Zn=["placeholder"],es=["aria-labelledby","aria-label"];function ts(e,t,n,s,i,a){var l=V("SpinnerIcon"),c=V("SearchIcon"),d=V("TreeNode");return r(),m("div",w({class:e.cx("root")},e.ptmi("root")),[e.loading&&e.loadingMode==="mask"?(r(),m("div",w({key:0,class:e.cx("loadingOverlay")},e.ptm("loadingOverlay")),[P(e.$slots,"loadingicon",{class:E(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(r(),m("i",w({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(r(),f(l,w({key:1,spin:"",class:e.cx("loadingIcon")},e.ptm("loadingIcon")),null,16,["class"]))]})],16)):y("",!0),e.filter?(r(),m("div",w({key:1,class:e.cx("filterContainer")},e.ptm("filterContainer")),[j(o("input",w({"onUpdate:modelValue":t[0]||(t[0]=function(u){return i.filterValue=u}),type:"text",autocomplete:"off",class:e.cx("input"),placeholder:e.filterPlaceholder,onKeydown:t[1]||(t[1]=function(){return a.onFilterKeydown&&a.onFilterKeydown.apply(a,arguments)})},e.ptm("input")),null,16,Zn),[[gt,i.filterValue]]),P(e.$slots,"searchicon",{class:E(e.cx("searchIcon"))},function(){return[h(c,w({class:e.cx("searchIcon")},e.ptm("searchIcon")),null,16,["class"])]})],16)):y("",!0),o("div",w({class:e.cx("wrapper"),style:{maxHeight:e.scrollHeight}},e.ptm("wrapper")),[o("ul",w({class:e.cx("container"),role:"tree","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel},e.ptm("container")),[(r(!0),m(O,null,H(a.valueToRender,function(u,b){return r(),f(d,{key:u.key,node:u,templates:e.$slots,level:e.level+1,index:b,expandedKeys:i.d_expandedKeys,onNodeToggle:a.onNodeToggle,onNodeClick:a.onNodeClick,selectionMode:e.selectionMode,selectionKeys:e.selectionKeys,onCheckboxChange:a.onCheckboxChange,loadingMode:e.loadingMode,unstyled:e.unstyled,pt:e.pt},null,8,["node","templates","level","index","expandedKeys","onNodeToggle","onNodeClick","
9selectionMode","selectionKeys","onCheckboxChange","loadingMode","unstyled","pt"])}),128))],16,es)],16)],16)}me.render=ts;const Ys=Object.freeze(Object.defineProperty({__proto__:null,default:me},Symbol.toStringTag,{value:"Module"})),ye=[{key:"0",label:"Job role",children:[{key:"0_1",label:"Business Analyst"},{key:"0_2",label:"Data Scientist"},{key:"0_3",label:"Project Manager"},{key:"0_4",label:"Human Resources Manager"},{key:"0_5",label:"Operations Manager"},{key:"0_6",label:"Sales Manager"},{key:"0_7",label:"Healthcare Administrator"},{key:"0_8",label:"Legal Counsel"},{key:"0_9",label:"Educational Administrator"},{key:"0_10",label:"Statistician"},{key:"0_11",label:"",type:"custom",selectable:!1}]},{key:"1",label:"Level of experience",children:[{key:"1_1",label:"Entry-Level"},{key:"1_2",label:"Mid-Level"},{key:"1_3",label:"Senior"},{key:"1_4",label:"Lead"},{key:"1_5",label:"Director"},{key:"1_6",label:"C-Level (e.g., CEO, CTO, CFO)"},{key:"1_7",label:"",type:"custom",selectable:!1}]},{key:"2",label:"Industry",children:[{key:"2_1",label:"Energy"},{key:"2_2",label:"Healthcare"},{key:"2_3",label:"Retail"},{key:"2_4",label:"Finance"},{key:"2_5",label:"Technology"},{key:"2_6",label:"Manufacturing"},{key:"2_7",label:"Education"},{key:"2_8",label:"Transportation"},{key:"2_9",label:"Hospitality"},{key:"2_10",label:"Construction"},{key:"2_11",label:"Telecommunications"},{key:"2_12",label:"Real Estate"},{key:"2_13",label:"Entertainment"},{key:"2_14",label:"Agriculture"},{key:"2_15",label:"Automotive"},{key:"2_16",label:"",type:"custom",selectable:!1}]},{key:"3",label:"Market dynamics conditions relevant to the scenario",children:[{key:"3_1",label:"Price volatility"},{key:"3_2",label:"Market growth"},{key:"3_3",label:"Competitive landscape"},{key:"3_4",label:"Consumer preferences"},{key:"3_5",label:"Regulatory changes"},{key:"3_6",label:"Technological advancements"},{key:"3_7",label:"Mergers and acquisitions"},{key:"3_8",label:"Distribution channels"},{key:"3_9",label:"Pricing strategies"},{key:"3_10",label:"Product life cycle stages"},{key:"3_11",label:"",type:"custom",selectable:!1}]},{key:"4",label:"Business situation or challenge",children:[{key:"4_1",label:"Considering new investments"},{key:"4_2",label:"Expanding market presence"},{key:"4_3",label:"Optimizing operations"},{key:"4_4",label:"Launching new products or services"},{key:"4_5",label:"Entering new markets"},{key:"4_6",label:"Mergers and acquisitions"},{key:"4_7",label:"Restructuring or downsizing"},{key:"4_8",label:"Enhancing customer experience"},{key:"4_9",label:"Implementing digital transformation"},{key:"4_10",label:"Managing regulatory compliance"},{key:"4_11",label:"Developing strategic partnerships"},{key:"4_12",label:"Improving supply chain efficiency"},{key:"4_13",label:"Conducting market research"},{key:"4_14",label:"Enhancing brand recognition"},{key:"4_15",label:"Increasing sustainability practices"},{key:"4_16",label:"",type:"custom",selectable:!1}]},{key:"5",label:"Outcome or decision to be achieved",children:[{key:"5_1",label:"Develop a strategic plan"},{key:"5_2",label:"Optimize a process"},{key:"5_3",label:"Forecast trends"},{key:"5_4",label:"Improve decision-making skills"},{key:"5_5",label:"Enhance technical proficiency"},{key:"5_6",label:"Gain industry-specific knowledge"},{key:"5_7",label:"Improve project management skills"},{key:"5_8",label:"Drive business growth"},{key:"5_9",label:"Enhance customer satisfaction"},{key:"5_10",label:"",type:"custom",selectable:!1}]}],ns={class:"flex-1 max-h-full min-h-32 overflow-y-auto px-4"},ss={class:"shrink-0"},as={class:"flex gap-3 mx-auto items-start mb-4 max-w-4xl px-4"},is=A({__name:"Setup",setup(e){const t=ft(),n={subgroup:({instance:C})=>{if(C.node.type==="custom")return"pointer-events-none lg:col-span-3 md:col-span-2 col-span-1"},label:({instance:C})=>{if(C.node.type==="custom")return"block w-full"}},s=$(),i=$(""),a=$({}),l=$({0:!0}),c=Oe(),{pending:d,handler:u}=Ie(),b=async C=>{await oe(),l.value={[C.key]:!0},s.value?.$el?.querySelector(`[aria-label="${C.label}"]`)?.scrollIntoView()},M=Se(),_=I(()=>!(Object.keys(a.value).length||ee(i.value).length)),k=(C,v)=>{if(v.key){const K=ee(C);K?a.value[v.key]={value:K}:delete a.value[v.key]}},S=()=>{const C=Object.keys(a.value);return pt(ye,v=>{const K=[];for(let B in v.children){const F=v.children[B].key;if(F&&yt(C,F)){const z=v.children[B].label||a.value[F].value;z&&K.push(z)}}if(K.length)return{question:v.label,answers:K}}
9).filter(Boolean)},D=async()=>{const C=JSON.stringify({data:S(),extra:ee(i.value)}),{data:v,isError:K}=await u(()=>M.ednaai.store({mode:Me.Simulations,prompt:C}));K||(c.onAddChatItem(v.chat),t.push(`/app/${v.chat_id}`))};return(C,v)=>{const K=Bt,B=zt,F=me,z=Pe,Ue=J;return r(),m("form",{onSubmit:G(D,["prevent"]),class:"w-full flex flex-col h-full"},[o("div",ns,[o("div",null,[h(K,{tag:"h1",size:"48",weight:"700"},{default:x(()=>[...v[4]||(v[4]=[p("Setting up",-1)])]),_:1}),v[5]||(v[5]=o("p",{class:"lg:leading-6 text-center text-sm lg:text-base mx-auto md:mb-5 mb-4"},[p(" In order to start a personalized simulation please fill the form below. "),o("br"),p(" Your detailed input will help us tailor the experience to meet your specific needs and preferences. ")],-1))]),h(F,{class:"mb-6 mx-auto max-w-4xl pm-tree",ref_key:"pmTreeRef",ref:s,selectionMode:"checkbox",onNodeExpand:b,selectionKeys:g(a),"onUpdate:selectionKeys":v[1]||(v[1]=L=>te(a)?a.value=L:null),expandedKeys:g(l),"onUpdate:expandedKeys":v[2]||(v[2]=L=>te(l)?l.value=L:null),value:g(ye),pt:n},{custom:x(L=>[h(B,{onClick:v[0]||(v[0]=G(()=>{},["stop"])),noLabel:"",class:"mb-3 pointer-events-auto","custom-input-classes":"bg-white",placeholder:"Enter your custom option",enabledControlled:"","hide-check-icon":"",onChange:Ve=>k(Ve,L.node),name:"quantity"},null,8,["onChange"])]),_:1},8,["selectionKeys","expandedKeys","value"])]),o("div",ss,[v[6]||(v[6]=o("hr",{class:"my-4 bg-blue-light h-0.5"},null,-1)),o("div",as,[h(z,{"no-error":"",modelValue:g(i),"onUpdate:modelValue":v[3]||(v[3]=L=>te(i)?i.value=L:null),placeholder:"Extra prompt",onKeydown:Te(G(D,["exact","prevent"]),["enter"]),syncVModel:"","no-label":"","enabled-controlled":"","auto-size":"",disabled:g(d),hideMetaIcon:"",name:"extra","input-class":"bg-white resize-none",size:1},null,8,["modelValue","onKeydown","disabled"]),h(Ue,{class:"button",size:"xl",loading:g(d),disabled:g(_),label:"Submit"},null,8,["loading","disabled"])])])],32)}}}),os=ce(is,[["__scopeId","data-v-0cd5a0b4"]]),ls={};function rs(e,t){const n=os;return r(),f(n)}const cs=ce(ls,[["render",rs]]),Qs=Object.freeze(Object.defineProperty({__proto__:null,default:cs},Symbol.toStringTag,{value:"Module"})),Xs={id:0,variant:"dark",cover:"/assets/banners/business-banner.png",title:"Data & AI Skills Training</br>Built For Your Business",subtitle:"We make sure your business stays ahead of game with fresh, relevant and engaging courses, live events & data workouts.",table:{list:["<span class='font-bold'>Drive Impact</span> with proven, job specific training","<span class='font-bold'>Empower your</span> team with collaborative learning pathways","<span class='font-bold'>Monitor & manage productivity</span> with clear oversight and reporting"]},figures:[{type:"quarter",position:"-bottom-4 -right-16",size:"w-[490px] h-[490px]",zPosition:"bottom",disable:"xl"}]},ds=[{target:"edna-learn",title:"EDNA Learn",image:"/assets/header/learn.svg",description:"Tailored learning pathways. Learn via instructor led videos and events. Participate in challenges, assessments and more. Join an unmatched online community of data professionals."},{target:"data-mentor",title:"Mentor",image:"/assets/data-mentor/datamentor.svg",description:"Your daily dose of AI assistance. Boost your productivity and learning with advanced AI mentorship. Create custom queries, threads, documents and agents. Build your own data knowledge base."},{target:"ai-builders",title:"EDNA Builders",image:"/assets/data-mentor/chat.svg",description:"Join a dynamic community of innovators passionate about AI, where collaboration and learning drive creativity.  EDNA Builders is the perfect space for exploring new technologies, enhancing skills, and creating impactful AI-driven projects."}],Zs=[{id:0,title:"Learning plans customized to your business goals.",img:"/assets/individuals/careerFocused/1.svg"},{id:1,title:"Extensive resource downloads.",img:"/assets/individuals/careerFocused/2.svg"},{id:2,title:"Personalized support from worldwide community experts.",img:"/assets/individuals/careerFocused/3.svg"},{id:3,title:"Subscriber-only event invitations.",img:"/assets/individuals/careerFocused/4.svg"},{id:4,title:"World recognized certification.",img:"/assets/individuals/careerFocused/5.svg"},{id:5,title:"Access to Enterprise DNA’s AnalystHub.",img:"/assets/individuals/careerFocused/6.svg"}],ea={cards:[{id:0,title:"Customized Learning Plans",text:"Create learning plans tailored to your business goals. Assign specific topics related to your business to enhance your team's performance.",img:"/assets/business/Customized-Learning-Plans.svg"},{id:1,title:"Real-Time Progress Tracking",text:"Track progress of individual team members and your team as a whole.  Identify key areas of improvement and promote learning.",img:"/assets/business/Real-Time-Progress-Tracking.png"},{id:2,title:"Easy-To-Use Interface",text:"Our UI is simple, intuitive and made to manage your team. Easily generate progress reports and co-ordinate learning plans. ",img:"/assets/business/Easy-to-Use-Interface.svg"}],progress:[{id:0,title:"Monitor the progress of your team",img:"/assets/business/Experience-Overview.svg"},{id:1,title:"Download your team progress reports",img:"/assets/business/Team-Dashboard.svg"}]},ta=[{id:0,icon:"plus-blue",position:"top-left-40",message:{title:"Real-Time Overview",text:"Monitor activity and progress with a clear overview of your team."}},{id:1,icon:"plus-blue",position:"top-right-30",message:{title:"Manage Assignments",text:"See all active assignments and create a new one here."}},{id:2,icon:"plus-blue",position:"bottom-right-10",message:{title:"Monitor XP",text:"Visually see XP earnt by each team member."}}],na=[{id:0,label:"Coca Cola",icon:"coca-cola-logo",size:140},{id:1,label:"Uniliver",icon:"uniliver-logo",size:76},{id:2,label:"NHS",icon:"nhs-logo",size:151},{id:3,label:"Nestle",icon:"nestle-logo",size:128},{id:4,label:"AT&T",icon:"att-logo",size:160},{id:5,label:"AngloAmerican",icon:"anglo-logo",size:192},{id:8,label:"McKincey & Company",icon:"mackinsey-logo",size:170},{id:6,label:"Albemarle",icon:"albemarle-logo",size:190},{id:7,label:"Jonson-n-Jonson",icon:"jonson-logo",size:200},{id:10,label:"Panasonic",icon:"panasonic-logo",size:186}],sa={id:0,variant:"dark",title:"Manage Your Team, <br> Scale Your Success",blue_text_1:"In the live demo you'll learn how to:",blue_text_2:"Some of our clients",table:{list:["Drive Impact with proven job specific training in Python, SQL, R, Power BI, ChatGPT & more.","Empower your team with collaborative learning pathways aligned to your business goals.","Monitor and manage productivity with clear oversight and interactive reporting"]}},us={class:"grid grid-cols-1 gap-4 lg:grid-cols-3"},ms={class:"flex flex-col gap-2 p-4 md:p-8 h-full"}
9,hs={key:0,class:"-mx-4 lg:-mt-4"},gs={class:"text-2xl md:text-3xl text-center max-w-72 mx-auto"},fs=["innerHTML"],ps={key:2,class:"mt-2 flex justify-center"},ys=A({__name:"LearnStepsProduct",props:{isDark:{type:Boolean,default:!1},showButton:{type:Boolean},title:{default:""},subtitle:{default:"Join the Next Gen learning and productivity platform"},description:{},steps:{default:()=>ds}},setup(e){return(t,n)=>{const s=ue,i=ae,a=J,l=de;return r(),f(l,null,{default:x(()=>[o("div",null,[h(s,{title:e.title,subtitle:e.subtitle,inline:"",size:"text-2xl sm:text-3xl md:text-4xl",description:e.description},null,8,["title","subtitle","description"]),o("div",us,[(r(!0),m(O,null,H(e.steps,(c,d)=>(r(),m("div",{key:d,class:"card relative mb-4 rounded-4xl border-t-3 border-t-primary bg-white shadow-testimonial odd:border-t-action dark:bg-secondary lg:mb-0"},[o("div",ms,[c.image?(r(),m("div",hs,[P(t.$slots,"image-card",{item:c},()=>[h(i,{width:"370",src:c.image,alt:c.title},null,8,["src","alt"])])])):y("",!0),o("h5",gs,T(c.title),1),c.description?(r(),m("p",{key:1,class:"text-light-bg text-center dark:text-gray-600 flex-1",innerHTML:c.description},null,8,fs)):y("",!0),e.showButton?(r(),m("div",ps,[h(a,{href:"#"+c?.target,variant:"flat",color:"yellow"},{default:x(()=>[...n[0]||(n[0]=[p(" Read more ",-1)])]),_:1},8,["href"])])):y("",!0)])]))),128))]),P(t.$slots,"default")])]),_:3})}}}),bs={class:"relative"},vs={class:"relative z-10 w-full grid place-content-center"},xs=["src"],ks={__name:"FiguresBackground",props:{figures:{type:[Array,Object],default:()=>[]}},setup(e){const t=$({bottom:"z-0",top:"z-50"}),n=$({sm:"hidden sm:block",md:"hidden md:block",lg:"hidden lg:block",xl:"hidden xl:block","2xl":"hidden 2xl:block",none:"block"}),s=i=>"/assets/decor/"+i+".svg";return(i,a)=>(r(),m("div",bs,[o("div",vs,[P(i.$slots,"default")]),(r(!0),m(O,null,H(e.figures,(l,c)=>(r(),m("div",{key:c,class:E(["absolute",[l.size,l.position,g(t)[l.zPosition],g(n)[l.disable]||"hidden lg:block"]])},[o("img",{class:E(l.size),alt:"design figure",src:s(l.type)},null,10,xs)],2))),128))]))}},_s={class:"grid grid-cols-1 gap-1 lg:grid-cols-3"},ws={class:"flex flex-col gap-2 p-4 md:p-8"},Ss={class:"flex h-10 w-10 items-center justify-center rounded-lg bg-blue-light dark:bg-primary md:h-16 md:w-16 md:rounded-2xl"},Cs={class:"text-2xl font-semibold text-helper md:text-3xl"},Is={class:"text-2xl md:text-3xl"},Ts=["innerHTML"],As={key:0,class:"absolute inset-y-0 -right-4 z-10 hidden items-center lg:flex"},Ms=A({__name:"LearnSteps",props:{isDark:{type:Boolean,default:!1},learnSteps:{},title:{default:"Empowering "},subtitle:{default:"minds, enhancing skills, advancing knowledge"},description:{}},setup(e){return(t,n)=>{const s=ue,i=ve,a=Nt;return r(),f(a,null,{default:x(()=>[o("div",null,[h(s,{title:e.title,subtitle:e.subtitle,inline:"",size:"text-2xl sm:text-3xl md:text-4xl",description:e.description},null,8,["title","subtitle","description"]),o("div",_s,[(r(!0),m(O,null,H(e.learnSteps,(l,c)=>(r(),m("div",{key:c,class:"card relative mb-4 rounded-4xl border-t-3 border-t-primary bg-white shadow-testimonial last:border-t-action dark:bg-secondary lg:mb-0"},[o("div",ws,[o("div",Ss,[o("p",Cs,T(c+1),1)]),P(t.$slots,"card-title",{item:l},()=>[o("h5",Is,T(l?.title),1)]),n[0]||(n[0]=o("div",{class:"h-0.5 w-6 bg-primary"},null,-1)),o("div",{class:"text-sm text-light-bg dark:text-gray-600",innerHTML:l?.description},null,8,Ts)]),c!==e.learnSteps.length-1?(r(),m("div",As,[h(i,{name:"rounded-arrow",size:"30"})])):y("",!0)]))),128))]),P(t.$slots,"default")])]),_:3})}}}),Es={class:"my-4 lg:my-6 xl:my-10 grid grid-cols-1 lg:grid-cols-2"},Ps={class:"grid place-content-center"},Ks={class:"lg:text-left text-center mt-4"},$s={class:"pt-4 xl:pt-0 grid gap-4 lg:gap-8"},Os={class:"grid place-content-center relative"},Bs={class:"bg-blue-700 lg:mb-12 mb-6"},zs={class:"container mx-auto"},Ns={class:"flex flex-col items-center gap-4 md:flex-row md:gap-20"},js={class:"flex justify-center md:w-7/12"},Ds={class:"flex flex-col items-center gap-2 text-left md:w-5/12 md:items-start"},Fs={class:"text-2xl md:text-3xl max-w-72"},Ls={class:"text-center"},Rs=A({__name:"index",setup(e){const t=[{title:"Asking Insightful Questions",description:"The tool generates probing questions that encourage you to think deeply about your situation. These questions help uncover hidden aspects and potential consequences, ensuring you consider all angles before making a decision.",image:"/assets/simulations/home/promo1.jpg"},{title:"Identifying Key Points",description:"By breaking down your situation, Simulations AI helps you identify the most crucial factors. It organizes and prioritizes these points, making it easier for you to focus on what truly matters.",image:"/assets/simulations/home/promo2.jpg"},{title:"Offering Different Perspectives",description:"Sometimes, the best decisions come from looking at a problem from a new angle. Simulations AI provides alternative viewpoints and scenarios, helping you see the bigger picture and consider options you might have overlooked.",image:"/assets/simulations/home/promo3.jpg"}],n=[{title:"Personalized Experience",description:"Tailored to your specific needs and circumstances, ensuring relevant and useful guidance."},{title:"Comprehensive Support",description:"Covers a wide range of scenarios, from decision-making processes to interview preparations."},{title:"User-Friendly Interface",description:`Easy to use, with clear instructions and intuitive design.
10`}];return(s,i)=>{const a=ue,l=J,c=ae,d=de,u=ys,b=ks,M=Ms,_=be;return r(),f(_,null,{default:x(()=>[h(d,{dense:"",class:"bg-secondary pattern-circuit-board-primary/5 pattern-circuit-board-scale-[2] relative pb-12 -mb-12"},{default:x(()=>[o("div",Es,[o("div",Ps,[h(a,{align:"left","text-color":"text-white",title:"Simulations",description:"In today's fast-paced world, making informed decisions and preparing for job interviews can be challenging. That's where Simulations AI comes in, offering a unique and powerful tool to guide you through these critical tasks. Whether you're facing a tough decision or gearing up for an important interview, Simulations AI is here to assist you with insightful questions, key point analysis, and comprehensive feedback.",size:"text-3xl md:text-4xl xl:text-5xl font-semibold","description-classes":"md:text-lg"}),o("div",Ks,[h(l,{to:"/app",size:"xl",color:"yellow"},{default:x(()=>[...i[0]||(i[0]=[p(" Start Now ",-1)])]),_:1})])]),o("div",$s,[o("div",Os,[h(c,{width:"800",class:"rounded-lg lg:rou
10nded-xl overflow-hidden",src:"/assets/data-mentor/hero-banner.png",alt:"Mentor Hero Image"})])])])]),_:1}),h(u,{subtitle:"Decision-Making Assistance",description:"Simulations AI is designed to help you navigate complex decisions by",steps:t},{"image-card":x(({item:k})=>[h(c,{width:"370","image-class":"rounded-3xl",src:k.image,alt:k.title},null,8,["src","alt"])]),_:1}),o("div",Bs,[h(d,null,{default:x(()=>[o("div",zs,[h(a,{title:"Job Interview Preparation",subtitle:"Preparing for a job interview can be daunting, but Simulations AI makes it easier by:",size:"text-2xl sm:text-3xl md:text-4xl","text-color":"text-white"}),o("div",Ns,[o("div",js,[h(b,{class:"py-4 md:py-12",figures:[{type:"logo-item",position:"top-0 -left-12",size:"w-72 h-72",zPosition:"bottom"},{type:"circle-white",position:"-right-12 bottom-0",size:"w-72 h-72",zPosition:"bottom"}]},{default:x(()=>[h(c,{width:"480",class:"border-t-action border-t-2","image-class":"rounded-3xl",src:"/assets/simulations/home/promo4.png",alt:"Learning data skills can be complicated"})]),_:1})]),o("div",Ds,[i[2]||(i[2]=o("div",{class:"text-base md:text-md flex flex-col gap-3"},[o("p",{class:"text-white"},[o("b",{class:"font-semibold"},"Simulating Common Questions:"),p(' The tool prepares you for the standard questions you’re likely to encounter, such as "Tell me about yourself" or "What are your strengths and weaknesses?" Practicing these helps you refine your answers and build confidence. ')]),o("p",{class:"text-white"},[o("b",{class:"font-semibold"},"Introducing Tricky Questions:"),p(" To ensure you're ready for anything, Simulations AI includes some of the more challenging questions that interviewers might throw at you. These tricky questions test your ability to think on your feet and respond under pressure. ")]),o("p",{class:"text-white"},[o("b",{class:"font-semibold"},"Providing Constructive Feedback:"),p(" After each simulation, the tool offers detailed feedback on your responses. This feedback highlights your strengths and points out areas for improvement, helping you polish your answers and improve your overall performance. ")])],-1)),h(l,{to:"/app",size:"xl",color:"yellow",class:"mt-2 md:mt-6"},{default:x(()=>[...i[1]||(i[1]=[p(" Start Now ",-1)])]),_:1})])])])]),_:1})]),h(M,{"learn-steps":n,class:"lg:mb-12 mb-6",title:"Why Choose Simulations AI?",subtitle:"",description:""},{"card-title":x(({item:k})=>[o("h5",Fs,T(k?.title),1)]),default:x(()=>[i[4]||(i[4]=o("p",{class:"mt-7 sm:mt-10 md:mb-8 mb-4 text-center max-w-5xl mx-auto"}," With Simulations AI, you can approach decisions and interviews with greater confidence and clarity. It’s like having a personal coach who asks the right questions, helps you see different perspectives, and provides valuable feedback to enhance your decision-making and interview skills. Try Simulations AI today and experience the difference it can make in your professional and personal life. ",-1)),o("div",Ls,[h(l,{to:"/app",size:"xl",color:"yellow"},{default:x(()=>[...i[3]||(i[3]=[p(" Start Now ",-1)])]),_:1})])]),_:1})]),_:1})}}}),aa=Object.freeze(Object.defineProperty({__proto__:null,default:Rs},Symbol.toStringTag,{value:"Module"})),Re={__name:"ai-security",setup(e){return qe(),(t,n)=>{const s=de,i=be;return r(),f(i,null,{default:x(()=>[h(s,{class:"prose"},{default:x(()=>[...n[0]||(n[0]=[o("h1",null,"AI Security",-1),o("p",null," Welcome to Mentor's AI Security page, where we delve into the crucial aspects of securing artificial intelligence systems. As AI technology continues to advance, ensuring the security and integrity of these systems becomes paramount. At Mentor, we are committed to helping businesses and individuals navigate the complex landscape of AI security to protect sensitive data, maintain trust, and mitigate risks. ",-1),o("p",null,[p(" We leverage OpenAI's API for our current suite of AI models, while also utilizing the "),o("a",{href:"https://trust.openai.com/",target:"_blank",rel:"nofollow"}," OpenAI Security Portal "),p(" to uphold the highest standards of security for our systems. ")],-1),o("h3",null,"Why AI Security Matters",-1),o("p",null," AI systems are becoming integral to various industries, from finance and healthcare to manufacturing and cybersecurity. These systems process vast amounts of data, make critical decisions, and automate processes, making them lucrative targets for malicious actors. Here are some key reasons why AI security is essential: ",-1),o("ol",null,[o("li",null,[o("b",null,"Data Protection"),p(" : AI systems rely on data for training and decision-making. Securing this data is crucial to prevent unauthorized access, data breaches, and privacy violations. ")]),o("li",null,[o("b",null,"Trust and Reliability"),p(" : Ensuring the security of AI systems builds trust among users, customers, and stakeholders. It also ensures the reliability and accuracy of AI-driven decisions and outcomes. ")]),o("li",null,[o("b",null,"Risk Mitigation"),p(" : AI security measures help mitigate risks such as adversarial attacks, data poisoning, model inversion, and other threats that can compromise system integrity and functionality. ")]),o("li",null,[o("b",null,"Regulatory Compliance"),p(" : Many industries have regulations and compliance requirements related to data security and privacy. Implementing robust AI security measures ensures compliance with these regulations. ")])],-1),o("h3",null,"Key Challenges in AI Security",-1),o("p",null," Securing AI systems presents unique challenges due to their complexity, reliance on data, and susceptibility to sophisticated attacks. Some of the key challenges include: ",-1),o("ol",null,[o("li",null,[o("b",null,"Data Privacy"),p(" : Protecting sensitive data used by AI systems while ensuring data privacy and compliance with regulations such as GDPR and CCPA. ")]),o("li",null,[o("b",null,"Model Security"),p(" : 
10Safeguarding AI models from adversarial attacks, model stealing, and unauthorized model modifications that can lead to biased or manipulated outcomes. ")]),o("li",null,[o("b",null,"Explainability and Transparency"),p(" : Ensuring AI systems are explainable and transparent in their decision-making processes to build trust and accountability. ")]),o("li",null,[o("b",null,"Secure Deployment"),p(" : Securing the deployment and integration of AI systems across different environments, including cloud, edge devices, and IoT platforms. ")])],-1),o("h3",null,"Our Approach to AI Security",-1),o("p",null,"At Mentor, we adopt a comprehensive approach to AI security that encompasses the following key strategies:",-1),o("ol",null,[o("li",null,[o("b",null,"Data Encryption"),p(" : Implementing robust encryption techniques to protect data at rest and in transit, ensuring confidentiality and integrity. ")]),o("li",null,[o("b",null,"Access Control"),p(" : Implementing strict access control mechanisms to limit access to AI systems, data, and models based on roles and permissions. ")]),o("li",null,[o("b",null,"Adversarial Defense"),p(" : Employing techniques such as adversarial training, model robustness testing, and anomaly detection to defend against adversarial attacks. ")]),o("li",null,[o("b",null,"Continuous Monitoring"),p(" : Implementing continuous monitoring and auditing of AI systems for anomalies, suspicious activities, and compliance violations. ")]),o("li",null,[o("b",null,"Ethical AI"),p(" : Incorporating ethical considerations into AI development and deployment processes to ensure fairness, transparency, and accountability. ")])],-1)])]),_:1})]),_:1})}}},ia=Object.freeze(Object.defineProperty({__proto__:null,default:Re},Symbol.toStringTag,{value:"Module"})),Us=A({__name:"ai-security",setup(e){return(t,n)=>(r(),f(Re))}}),oa=Object.freeze(Object.defineProperty({__proto__:null,default:Us},Symbol.toStringTag,{value:"Module"}));export{Gs as _,ue as a,Ht as b,Zt as c,na as d,ze as e,yn as f,ks as g,Xs as h,Ms as i,ds as j,Zs as k,ea as l,ta as m,ys as n,sa as o,Ws as p,Js as q,Qs as r,Be as s,Ys as t,Oe as u,aa as v,ia as w,oa as x};

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.