import{o as i,b as l,a as e,m as r,u as o,U as _,V as g,f as u,t as n,W as h,X as f,i as d,d as p,Y as v,r as x,c as b}from"./vendor-1-1-45.js";import{_ as y}from"./Loading-1-1-45.js";const $={class:"relative"},w={class:"w-10 h-10 rounded-full bg-blue-600 flex justify-center items-center"},k={key:0,class:"z-10 bg-white divide-y right-0 absolute divide-gray-100 rounded-lg shadow w-44"},S={class:"py-2 text-sm text-gray-700"},V={href:"https://yardim.gurmehub.com/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=baslangic",target:"_blank",class:"flex gap-2 items-center px-4 py-2 hover:bg-gray-100"},B={href:"https://posentegrator.com/yol-haritasi/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=baslangic",target:"_blank",class:"flex gap-2 items-center px-4 py-2 hover:bg-gray-100"},j={href:"https://forum.gurmehub.com/c/gurmehub/kargo-entegrator/31/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=baslangic",target:"_blank",class:"flex gap-2 items-center px-4 py-2 hover:bg-gray-100"},N={__name:"Help",setup(t){const s=p(!1);return(a,c)=>(i(),l("div",$,[e("button",{class:"flex items-center justify-center",onClick:c[0]||(c[0]=m=>s.value=!s.value)},[e("div",w,[r(o(_),{class:"text-white w-6 h-6"})])]),s.value?(i(),l("div",k,[e("ul",S,[e("li",null,[e("a",V,[r(o(g),{class:"w-4 h-4"}),u(" "+n(a.$t("help")),1)])]),e("li",null,[e("a",B,[r(o(h),{class:"w-4 h-4"}),u(n(a.$t("feedback")),1)])]),e("li",null,[e("a",j,[r(o(f),{class:"w-4 h-4"}),u(" "+n(a.$t("forum")),1)])])])])):d("",!0)]))}},U={class:"flex justify-between items-center py-5 px-5 bg-white"},q={class:"flex gap-2 items-center"},C={class:"flex items-center"},E=["src"],T={class:"text-blue-800 text-xs font-medium"},z={class:"flex gap-5 items-center"},D={__name:"Navbar",setup(t){const s=window.gcargo.assets_url,a=window.gcargo.version;return(c,m)=>(i(),l("div",null,[e("div",U,[e("div",q,[e("div",C,[e("img",{class:"w-60",src:`${o(s)}/images/logo.svg`},null,8,E),e("span",T,"v"+n(o(a)),1)])]),e("div",z,[r(N)])])]))}},F=["href"],H={__name:"VideoTutorialBadge",props:{video:{default:"",type:String}},setup(t){return(s,a)=>t.video?(i(),l("a",{key:0,href:t.video,target:"_blank",class:"inline-flex items-center bg-red-100 text-red-800 text-xs font-medium mr-2 px-2.5 py-0.5 rounded-full gap-1 hover:bg-red-800 hover:text-white"},[r(o(v),{class:"w-5 h-5"}),u(" "+n(s.$t("video_tutorial")),1)],8,F)):d("",!0)}},K={class:"w-full flex justify-center"},P={class:"flex flex-col gap-2"},W={class:"py-2 px-5 border rounded-full flex gap-2 bg-white items-center"},X=["href"],Y={class:"w-full flex justify-center"},A={class:"flex gap-2 items-center mt-2"},G={href:"https://gurmehub.com/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=footer",target:"_blank"},I=["src"],J={__name:"Footer",props:{text:{required:!0,type:String},href:{required:!0,type:String},video:{default:"",type:String}},setup(t){const s=window.gcargo.assets_url;return(a,c)=>(i(),l("div",K,[e("div",P,[e("div",W,[r(o(_),{class:"w-5 h-5"}),e("a",{href:t.href,target:"_blank",class:"text-blue-600"},n(a.$t("help_title_link",[t.text])),9,X),r(H,{video:t.video},null,8,["video"])]),e("div",Y,[e("div",A,[e("a",G,[e("img",{src:`${o(s)}/images/gurmehub-footer.svg`,class:"w-32"},null,8,I)])])])])]))}},L={class:"container mx-auto px-9 my-8"},Q={__name:"Page",props:{footer:{type:Boolean,default:!0},text:{type:String,default:"Kargo Entegratör"},href:{type:String,default:"https://yardim.gurmehub.com/docs/kargo-entegrator/"},video:{type:String,default:""}},setup(t){return(s,a)=>(i(),l("div",null,[r(y),r(D),e("div",L,[x(s.$slots,"default")]),t.footer?(i(),b(J,{key:0,text:t.text,href:t.href,video:t.video},null,8,["text","href","video"])):d("",!0)]))}};export{Q as _};
