| Current Path : /home/users/unlimited/www/whatsapp-crm/public/build/assets/ |
| Current File : /home/users/unlimited/www/whatsapp-crm/public/build/assets/Layout-5f40bc5f.js |
import{_ as i}from"./App-26099fac.js";import{h as c,f as o,o as d,a as t,t as s,n as r,e as l,u as n,l as a,J as p}from"./app-43851608.js";import"./index-17cd980e.js";import"./index-99011d5f.js";/* empty css */import"./Sidebar-13bbdf6e.js";import"./Menu-7a7609fd.js";import"./Modal-22a49fae.js";import"./ProfileModal-628e5b7c.js";import"./FormInput-4a309017.js";import"./LangToggle-8d05b0dc.js";import"./MobileSidebar-64958b6d.js";const h={class:"bg-white md:bg-inherit pt-10 px-4 md:pt-8 md:py-8 md:pl-8 md:pr-0 rounded-[5px] text-[#000] overflow-y-hidden"},m={class:"flex justify-between"},u={class:"text-xl mb-1"},g={class:"mb-6 flex items-center text-sm leading-6"},w=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24"},[t("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 11v5m0 5a9 9 0 1 1 0-18a9 9 0 0 1 0 18Zm.05-13v.1h-.1V8h.1Z"})],-1),v={class:"ml-1 mt-1"},x={class:"flex mt-4"},f={class:"md:w-1/5 bg-white border border-slate-200 h-[fit-content] rounded-lg pb-10 md:block hidden"},_={class:"pt-2 space-y-1 text-sm mb-2 px-2"},b=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[t("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[t("path",{d:"M12 15a3 3 0 1 0 0-6a3 3 0 0 0 0 6"}),t("path",{d:"m19.622 10.395l-1.097-2.65L20 6l-2-2l-1.735 1.483l-2.707-1.113L12.935 2h-1.954l-.632 2.401l-2.645 1.115L6 4L4 6l1.453 1.789l-1.08 2.657L2 11v2l2.401.656L5.516 16.3L4 18l2 2l1.791-1.46l2.606 1.072L11 22h2l.604-2.387l2.651-1.098C16.697 18.832 18 20 18 20l2-2l-1.484-1.75l1.098-2.652l2.386-.62V11z"})])],-1),k=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M19.05 4.91A9.816 9.816 0 0 0 12.04 2c-5.46 0-9.91 4.45-9.91 9.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91c0-2.65-1.03-5.14-2.9-7.01m-7.01 15.24c-1.48 0-2.93-.4-4.2-1.15l-.3-.18l-3.12.82l.83-3.04l-.2-.31a8.264 8.264 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24c2.2 0 4.27.86 5.82 2.42a8.183 8.183 0 0 1 2.41 5.83c.02 4.54-3.68 8.23-8.22 8.23m4.52-6.16c-.25-.12-1.47-.72-1.69-.81c-.23-.08-.39-.12-.56.12c-.17.25-.64.81-.78.97c-.14.17-.29.19-.54.06c-.25-.12-1.05-.39-1.99-1.23c-.74-.66-1.23-1.47-1.38-1.72c-.14-.25-.02-.38.11-.51c.11-.11.25-.29.37-.43s.17-.25.25-.41c.08-.17.04-.31-.02-.43s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31c-.22.25-.86.85-.86 2.07c0 1.22.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74c.59.26 1.05.41 1.41.52c.59.19 1.13.16 1.56.1c.48-.07 1.47-.6 1.67-1.18c.21-.58.21-1.07.14-1.18s-.22-.16-.47-.28"})],-1),$={class:"overflow-hidden text-ellipsis"},L=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[t("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 20c0-1.742-1.67-3.223-4-3.773M15 20c0-2.21-2.686-4-6-4s-6 1.79-6 4m12-7a4 4 0 0 0 0-8m-6 8a4 4 0 1 1 0-8a4 4 0 0 1 0 8"})],-1),C=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[t("path",{fill:"currentColor",d:"M4 4a2 2 0 0 0-2 2v4a2 2 0 0 1 2 2a2 2 0 0 1-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 1-2-2a2 2 0 0 1 2-2V6a2 2 0 0 0-2-2zm0 2h16v2.54c-1.24.71-2 2.03-2 3.46s.76 2.75 2 3.46V18H4v-2.54c1.24-.71 2-2.03 2-3.46s-.76-2.75-2-3.46z"})],-1),y={class:"md:w-4/5 bg-white md:bg-inherit md:px-8 rounded-[5px] text-[#000] h-full md:overflow-y-auto"},T={__name:"Layout",setup(B){return(e,M)=>(d(),c(i,null,{default:o(()=>[t("div",h,[t("div",m,[t("div",null,[t("h2",u,s(e.$t("General settings")),1),t("p",g,[w,t("span",v,s(e.$t("Update your organization settings")),1)])])]),t("div",x,[t("div",f,[t("ul",_,[t("li",{class:r(["hover:bg-slate-50 hover:text-black rounded-[5px] px-1 truncate cursor-pointer",e.$page.url==="/settings"?"bg-slate-50 text-black":""])},[l(n(a),{rel:"noopener noreferrer",href:"/settings",class:"flex items-center p-2 space-x-3 rounded-md"},{default:o(()=>[b,t("span",null,s(e.$t("General settings")),1)]),_:1})],2),t("li",{class:r(["hover:bg-slate-50 hover:text-black rounded-[5px] px-1 truncate cursor-pointer",e.$page.url.startsWith("/settings/whatsapp")?"bg-slate-50 text-black":""])},[l(n(a),{rel:"noopener noreferrer",href:"/settings/whatsapp",class:"flex items-center p-2 space-x-3 rounded-md"},{default:o(()=>[k,t("div",$,s(e.$t("Whatsapp settings")),1)]),_:1})],2),t("li",{class:r(["hover:bg-slate-50 hover:text-black rounded-[5px] px-1 truncate cursor-pointer",e.$page.url.startsWith("/settings/contacts")?"bg-slate-50 text-black":""])},[l(n(a),{rel:"noopener noreferrer",href:"/settings/contacts",class:"flex items-center p-2 space-x-3 rounded-md"},{default:o(()=>[L,t("span",null,s(e.$t("Contact fields")),1)]),_:1})],2),t("li",{class:r(["hover:bg-slate-50 hover:text-black rounded-[5px] px-1 truncate cursor-pointer",e.$page.url.startsWith("/settings/tickets")?"bg-slate-50 text-black":""])},[l(n(a),{rel:"noopener noreferrer",href:"/settings/tickets",class:"flex items-center p-2 space-x-3 rounded-md"},{default:o(()=>[C,t("span",null,s(e.$t("Ticket settings")),1)]),_:1})],2)])]),t("div",y,[p(e.$slots,"default")])])])]),_:3}))}};export{T as default};