import{d as g,b as l,o as i,a as e,k as d,g as r,u as o,V as _,h as u,W as h,t as n,X as f,Y as p,Z as v,c as x,r as b}from"./vendor-1-1-29.js";import{_ as y}from"./Loading-1-1-29.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=g(!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(h),{class:"w-4 h-4"}),u(" "+n(a.$t("help")),1)])]),e("li",null,[e("a",B,[r(o(f),{class:"w-4 h-4"}),u(n(a.$t("feedback")),1)])]),e("li",null,[e("a",j,[r(o(p),{class:"w-4 h-4"}),u(" "+n(a.$t("forum")),1)])])])])):d("",!0)]))}},q={class:"flex justify-between items-center py-5 px-5 bg-white"},C={class:"flex gap-2 items-center"},E={class:"flex items-center"},T=["src"],U={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",q,[e("div",C,[e("div",E,[e("img",{class:"w-60",src:`${o(s)}/images/logo.svg`},null,8,T),e("span",U,"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"},Z={class:"flex gap-2 items-center mt-2"},A={href:"https://gurmehub.com/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=footer",target:"_blank"},G=["src"],I={__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",Z,[e("a",A,[e("img",{src:`${o(s)}/images/gurmehub-footer.svg`,class:"w-32"},null,8,G)])])])])]))}},J={class:"container mx-auto px-9 my-8"},O={__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",J,[b(s.$slots,"default")]),t.footer?(i(),x(I,{key:0,text:t.text,href:t.href,video:t.video},null,8,["text","href","video"])):d("",!0)]))}};export{O as _};
