1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8477],{68477:function(e,t,s){s.d(t,{Z:function(){return j}});var l=s(85893);s(9008);var i=s(28122),r=s.n(i),h=s(67294),n=s(11163),d=s(41664),c=s.n(d),o=s(62286),a=s(76891),x=s(62231),g=s(22920),w=s(61798);let m=[{title:"Dashboard",href:"/app/admin"},{title:"Support",href:"/app/admin/support"},{title:"Reviews",href:"/app/admin/reviews"},{title:"Featured",href:"/app/admin/featured-reviews"},{title:"Outfits",href:"/app/admin/outfits"},{title:"Backgrounds",href:"/app/admin/backgrounds"},{title:"Blog",href:"/app/admin/blog"}];function f(e,t){let s=String(e||"");return"/app/admin"===t?"/app/admin"===s:s===t||s.startsWith("".concat(t,"/"))}function j(e){let{dark:t}=e,s=(0,n.useRouter)(),i=String(s.pathname||"").startsWith("/app/admin"),[d,j]=(0,h.useState)(null),[p,u]=(0,h.useState)(!1),[v,b]=(0,h.useState)(!1),{user:y,setUser:k}=(0,a.a)(),{t:N,i18n:C}=(0,w.$G)("footer"),[B,M]=(0,h.useState)(!1);(0,h.useEffect)(()=>{let{token:e}=(0,o.parseCookies)();j(e),u(!0)},[]);let E=e=>{let{pathname:t,asPath:l,query:i}=s;s.push({pathname:t,query:i},l,{locale:e}),M(!1)};return(0,l.jsxs)(l.Fragment,{children:[!i&&(0,l.jsx)("div",{id:"usp",className:"hidden lg:flex justify-center items-center w-full bg-gray-50",children:(0,l.jsxs)("div",{className:"w-full grid grid-cols-3 max-w-7xl px-8 text-center text-sm text-black font-medium",children:[(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"flex h-10 items-center justify-start gap-2 ",children:[(0,l.jsxs)("svg",{viewBox:"0 0 810 540",style:{height:"15px",maxHeight:"15px"},children:[(0,l.jsx)("defs",{children:(0,l.jsxs)("g",{id:"s",children:[(0,l.jsxs)("g",{id:"c",children:[(0,l.jsx)("path",{id:"t",d:"M0,0v1h0.5z",transform:"translate(0,-1)rotate(18)"}),(0,l.jsx)("use",{href:"#t",transform:"scale(-1,1)"})]}),(0,l.jsxs)("g",{id:"a",children:[(0,l.jsx)("use",{href:"#c",transform:"rotate(72)"}),(0,l.jsx)("use",{href:"#c",transform:"rotate(144)"})]}),(0,l.jsx)("use",{href:"#a",transform:"scale(-1,1)"})]})}),(0,l.jsx)("rect",{fill:"#039",width:"810",height:"540"}),(0,l.jsxs)("g",{fill:"#fc0",transform:"scale(30)translate(13.5,9)",children:[(0,l.jsx)("use",{href:"#s",y:"-6"}),(0,l.jsx)("use",{href:"#s",y:"6"}),(0,l.jsxs)("g",{id:"l",children:[(0,l.jsx)("use",{href:"#s",x:"-6"}),(0,l.jsx)("use",{href:"#s",transform:"rotate(150)translate(0,6)rotate(66)"}),(0,l.jsx)("use",{href:"#s",transform:"rotate(120)translate(0,6)rotate(24)"}),(0,l.jsx)("use",{href:"#s",transform:"rotate(60)translate(0,6)rotate(12)"}),(0,l.jsx)("use",{href:"#s",transform:"rotate(30)translate(0,6)rotate(42)"})]}),(0,l.jsx)("use",{href:"#l",transform:"scale(-1,1)"})]})]}),(0,l.jsx)("div",{children:N("madeInEuropeMobile")})]})}),(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"flex h-10 items-center justify-center gap-2 ",children:[(0,l.jsxs)("div",{className:"inline-flex mt-3 mb-3 items-center",children:[(0,l.jsx)("svg",{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"w-3 h-3 text-yellow-400",children:(0,l.jsx)("path",{"fill-rule":"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z","clip-rule":"evenodd"})}),(0,l.jsx)("svg",{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"w-3 h-3 text-yellow-400",children:(0,l.jsx)("path",{"fill-rule":"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z","clip-rule":"evenodd"})}),(0,l.jsx)("svg",{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"w-3 h-3 text-yellow-400",children:(0,l.jsx)("path",{"fill-rule":"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z","clip-rule":"evenodd"})}),(0,l.jsx)("svg",{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor",class:"w-3 h-3 text-yellow-400",children:(0,l.jsx)("path",{"fill-rule":"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z","clip-rule":"evenodd"})}),(0,l.jsx)("svg",{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"w-3 h-3 text-yellow-400",children:(0,l.jsx)("path",{"fill-rule":"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z","clip-rule":"evenodd"})})]}),(0,l.jsx)("div",{children:N("customersAmount")})]})}),(0,l.jsx)("div",{className:"",children:(0,l.jsxs)("div",{className:"flex h-10 items-center justify-end gap-2 ",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"text-green-600 h-5 w-5 flex-shrink-0",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z"})}),(0,l.jsx)("div",{children:N("moneyBackMobile")})]})})]})}),(0,l.jsx)("div",{className:"sticky top-0 lg:border-b my-0 z-20 bg-white md:backdrop-blur-md flex flex-col items-center justify-center ",children:(0,l.jsxs)("div",{className:"w-full lg:max-w-7xl",children:[(0,l.jsxs)("div",{className:"w-full lg:max-w-7xl hidden px-4 py-2 md:flex gap-4",children:[(0,l.jsx)("div",{className:r().logoWrapper,children:(0,l.jsx)(c(),{href:i?"/app/admin":"/",children:(0,l.jsxs)("div",{className:"flex items-center ml-3 gap-2",children:[(0,l.jsx)("img",{src:"/imgs/logo.svg",className:"h-8 animate-spin-slow"}),(0,l.jsxs)("div",{className:"cursor-pointer text-black font-bold text-[25px] tracking-tighter leading-6",children:["Dr. Headshot",(0,l.jsx)("sup",{className:"text-[16px] ml-0.5",children:"\xae"})]})]})})}),(0,l.jsxs)("nav",{className:"flex-1 ".concat(i?"md:flex":"hidden lg:flex"," items-center justify-between pr-3"),children:[(0,l.jsx)("div",{className:"flex items-center ".concat(i?"gap-1 flex-wrap":"gap-2"),children:i?m.map(e=>{let t=f(s.pathname,e.href);return(0,l.jsx)("button",{type:"button",onClick:()=>s.push(e.href),className:"h-11 leading-5 px-3 mr-0 text-sm inline-flex justify-center items-center rounded-full border-none font-semibold transition-all ".concat(t?"bg-zinc-900 text-white":"text-black hover:bg-gray-100"),children:e.title},e.href)}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button",onClick:()=>{s.push("/app/headshots")},class:"h-11 leading-5 px-5 mr-0 text-sm xl:text-base inline-flex justify-center items-center rounded-full border-none font-semibold text-black hover:bg-gray-100 transition-all",children:N("myHeadshots")}),(0,l.jsx)("button",{type:"button",onClick:()=>{s.push("/app/create/step1")},class:"h-11 leading-5 px-5 mr-0 text-sm xl:text-base inline-flex justify-center items-center rounded-full border-none font-semibold text-black hover:bg-gray-100 transition-all",children:N("generateHeadshots")}),(0,l.jsx)("button",{type:"button",onClick:async()=>{if(y&&y.stripeID)try{let e=await x.Z.fetch("/v1/user/create-customer-portal-session",{method:"GET",headers:{"Content-Type":"application/json"}});e.url&&s.push(e.url)}catch(e){console.log(e),g.toast.error("You have no invoices.",{position:g.toast.POSITION.BOTTOM_RIGHT,theme:"colored"})}else s.push("/app/invoices")},class:"h-11 leading-5 px-5 mr-0 text-sm xl:text-base inline-flex justify-center items-center rounded-full border-none font-semibold text-black hover:bg-gray-100 transition-all",children:N("invoices")}),(0,l.jsx)("button",{type:"button",onClick:()=>{s.push("/app/account")},class:"h-11 leading-5 px-5 mr-0 text-sm xl:text-base inline-flex justify-center items-center rounded-full border-none font-semibold text-black hover:bg-gray-100 transition-all",children:"Account"})]})}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsxs)("div",{className:"flex items-center group relative ",onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:[(0,l.jsx)("div",{className:"h-9 px-3 text-left flex items-center gap-1 text-sm cursor-pointer font-semibold hover:bg-gray-200 rounded-lg overflow-hidden",children:"en"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"12",fill:"white"}),(0,l.jsx)("rect",{width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"1.84",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"3.68",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"5.52",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"7.36",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"9.2",width:"16",height:"0.92",fill:"red"}
1),(0,l.jsx)("rect",{y:"11.04",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{width:"6",height:"4.6",fill:"blue"})]})," EN"]}):"fr"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"blue"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"red"})]})," FR"]}):"es"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"#C60B1E"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"yellow"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"#C60B1E"})]})," ES"]}):"it"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"#008C45"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"#CD212A"})]})," IT"]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"black"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"red"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"gold"})]})," DE"]})}),(0,l.jsx)("div",{className:"absolute ".concat(B?"block":"hidden"," pt-2 left-0 top-10 "),children:(0,l.jsxs)("ul",{className:" bg-white flex flex-col gap-1 rounded-lg shadow-xl px-2 py-2 border",children:[(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("en"),className:" gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"12",fill:"white"}),(0,l.jsx)("rect",{width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"1.84",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"3.68",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"5.52",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"7.36",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"9.2",width:"16",height:"0.92",fill:"red"}
1),(0,l.jsx)("rect",{y:"11.04",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{width:"6",height:"4.6",fill:"blue"})]}),(0,l.jsx)("div",{className:" font-semibold text-sm ",children:"English"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("fr"),className:" gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"blue"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"red"})]}),(0,l.jsx)("div",{className:" font-semibold text-sm ",children:"French"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("de"),className:" gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"black"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"red"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"gold"})]}),(0,l.jsx)("div",{className:" font-semibold text-sm ",children:"German"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("it"),className:"gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"#008C45"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"#CD212A"})]}),(0,l.jsx)("div",{className:"font-semibold text-sm",children:"Italian"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("es"),className:"gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"#C60B1E"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"yellow"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"#C60B1E"})]}),(0,l.jsx)("div",{className:"font-semibold text-sm",children:"Spanish"})]})})]})})]}),d?(0,l.jsxs)("button",{type:"button",onClick:()=>{(0,o.destroyCookie)(null,"token",{path:"/",domain:"192.168.0.5"}),(0,o.destroyCookie)(null,"token",{path:"/",domain:"drheadshot.com"}),k(null),s.push("/login")},class:"h-11 px-5 text-base inline-flex gap-2 justify-center items-center rounded-full border-none font-bold bg-gray-50 text-black hover:bg-gray-100 transition-all",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"})}),"Logout"]}):(0,l.jsx)(l.Fragment,{})]})]})]}),(0,l.jsxs)("div",{className:"w-full lg:max-w-7xl px-4 py-3 block md:hidden border-b",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(c(),{href:i?"/app/admin":"/",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("img",{src:"/imgs/logo.svg",className:"h-8"}),(0,l.jsx)("div",{className:"cursor-pointer text-black font-bold text-[25px] tracking-tighter leading-6",children:"Dr. Headshot"})]})})}),(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"md:hidden flex items-center",children:(0,l.jsx)("button",{className:"mobile-menu-button",onClick:()=>b(!v),children:v?(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6 text-gray-500 hover:text-black",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}):(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"h-6 w-6 text-gray-500 hover:text-black",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})})})]}),(0,l.jsx)("nav",{className:v?"block h-screen":"hidden",children:(0,l.jsxs)("div",{className:"flex flex-col gap-2 pb-4 pt-6 ",children:[i?m.map(e=>{let t=f(s.pathname,e.href);return(0,l.jsxs)(h.Fragment,{children:[(0,l.jsxs)("button",{onClick:()=>{s.push(e.href),b(!1)},className:"flex py-4 text-left text-base font-medium hover:bg-gray-200 overflow-hidden ".concat(t?"text-black font-semibold":""),children:[(0,l.jsx)("div",{className:"flex-1",children:e.title}),(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})]}),(0,l.jsx)("div",{className:"h-[1px] bg-gray-200"})]},e.href)}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",{onClick:()=>{s.push("/app/headshots"),b(!1)},className:"flex py-4 text-left text-base font-medium hover:bg-gray-200 overflow-hidden",children:[(0,l.jsx)("div",{className:"flex-1",children:N("myHeadshots")}),(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})]}),(0,l.jsx)("div",{className:"h-[1px] bg-gray-200"}),(0,l.jsxs)("button",{onClick:()=>{s.push("/app/create/step1"),b(!1)},className:"flex py-4 text-left text-base font-medium hover:bg-gray-200 overflow-hidden",children:[(0,l.jsx)("div",{className:"flex-1",children:N("generateHeadsh
1ots")}),(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})]}),(0,l.jsx)("div",{className:"h-[1px] bg-gray-200"}),(0,l.jsxs)("button",{onClick:async()=>{if(y&&y.stripeID)try{let e=await x.Z.fetch("/v1/user/create-customer-portal-session",{method:"GET",headers:{"Content-Type":"application/json"}});e.url&&s.push(e.url)}catch(e){console.log(e),g.toast.error("You have no invoices.",{position:g.toast.POSITION.BOTTOM_RIGHT,theme:"colored"})}else g.toast.error("You have no invoices.",{position:g.toast.POSITION.BOTTOM_RIGHT,theme:"colored"})},className:"flex py-4 text-left text-base font-medium hover:bg-gray-200 overflow-hidden",children:[(0,l.jsx)("div",{className:"flex-1",children:N("invoices")}),(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})]}),(0,l.jsx)("div",{className:"h-[1px] bg-gray-200"})]}),(0,l.jsxs)("div",{className:"flex items-center group relative ",onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:[(0,l.jsx)("div",{className:"px-0 py-4 w-full text-left flex items-center gap-1 text-base cursor-pointer font-medium hover:bg-gray-200 overflow-hidden",children:"en"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"12",fill:"white"}),(0,l.jsx)("rect",{width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"1.84",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"3.68",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"5.52",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"7.36",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"9.2",width:"16",height:"0.92",fill:"red"}
1),(0,l.jsx)("rect",{y:"11.04",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{width:"6",height:"4.6",fill:"blue"})]})," EN"]}):"fr"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"blue"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"red"})]})," FR"]}):"es"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"#C60B1E"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"yellow"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"#C60B1E"})]})," ES"]}):"it"===C.language?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"#008C45"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"#CD212A"})]})," IT"]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"black"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"red"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"gold"})]})," DE"]})}),(0,l.jsx)("div",{className:"absolute ".concat(B?"block":"hidden"," pt-2 left-0 top-10 "),children:(0,l.jsxs)("ul",{className:" bg-white flex flex-col gap-1 rounded-lg shadow-xl px-2 py-2 border",children:[(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("en"),className:" gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"12",fill:"white"}),(0,l.jsx)("rect",{width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"1.84",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"3.68",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"5.52",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"7.36",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{y:"9.2",width:"16",height:"0.92",fill:"red"}
1),(0,l.jsx)("rect",{y:"11.04",width:"16",height:"0.92",fill:"red"}),(0,l.jsx)("rect",{width:"6",height:"4.6",fill:"blue"})]}),(0,l.jsx)("div",{className:" font-semibold text-sm ",children:"English"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("fr"),className:" gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"blue"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"red"})]}),(0,l.jsx)("div",{className:" font-semibold text-sm ",children:"French"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("de"),className:" gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"black"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"red"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"gold"})]}),(0,l.jsx)("div",{className:" font-semibold text-sm ",children:"German"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("it"),className:"gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"5.33",height:"12",fill:"#008C45"}),(0,l.jsx)("rect",{x:"5.33",width:"5.34",height:"12",fill:"white"}),(0,l.jsx)("rect",{x:"10.67",width:"5.33",height:"12",fill:"#CD212A"})]}),(0,l.jsx)("div",{className:"font-semibold text-sm",children:"Italian"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("div",{onClick:()=>E("es"),className:"gap-2 flex cursor-pointer items-center text-left px-2 py-2 rounded-md hover:bg-gray-100",children:[(0,l.jsxs)("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"16",height:"4",fill:"#C60B1E"}),(0,l.jsx)("rect",{y:"4",width:"16",height:"4",fill:"yellow"}),(0,l.jsx)("rect",{y:"8",width:"16",height:"4",fill:"#C60B1E"})]}),(0,l.jsx)("div",{className:"font-semibold text-sm",children:"Spanish"})]})})]})})]}),!i&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"h-[1px] bg-gray-200"}),(0,l.jsxs)("button",{onClick:()=>{s.push("/app/account"),b(!1)},className:"flex py-4 text-left text-base font-medium hover:bg-gray-200 overflow-hidden",children:[(0,l.jsx)("div",{className:"flex-1",children:"Account"}),(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6",children:(0,l.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})]})]}),(0,l.jsx)("div",{className:"h-[1px] bg-gray-200"}),(0,l.jsx)("button",{onClick:()=>{(0,o.destroyCookie)(null,"token",{path:"/",domain:"192.168.0.5"}),(0,o.destroyCookie)(null,"token",{path:"/",domain:"drheadshot.com"}),k(null),s.push("/login")},className:"flex py-4 text-left text-base font-medium hover:bg-gray-200 overflow-hidden",children:"Logout"})]})})]})]})})]})}}}]);
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.