PageSourceSearch

https://nextjs-frontend-beta-drab.vercel.app/_next/static/chunks/app/layout-3f879e6db78a7d1c.js

js nextjs-frontend-beta-drab.vercel.app collected 2026-10-03 07:23:30 UTC 29,277 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185,508],{75554:function(e,t,r){Promise.resolve().then(r.t.bind(r,92489,23)),Promise.resolve().then(r.t.bind(r,68423,23)),Promise.resolve().then(r.t.bind(r,32754,23)),Promise.resolve().then(r.t.bind(r,17570,23)),Promise.resolve().then(r.t.bind(r,25703,23)),Promise.resolve().then(r.bind(r,42640)),Promise.resolve().then(r.bind(r,89525)),Promise.resolve().then(r.bind(r,45841)),Promise.resolve().then(r.bind(r,19779))},44125:function(e,t,r){"use strict";r.d(t,{Eh:function(){return w},Nh:function(){return b},iQ:function(){return p},zu:function(){return U},Ae:function(){return L},wp:function(){return _},SU:function(){return S},Rk:function(){return R},s1:function(){return u},wn:function(){return M},hx:function(){return a},PA:function(){return v},mr:function(){return h},yh:function(){return A},nI:function(){return k},HE:function(){return f},Jx:function(){return s},ey:function(){return N},RR:function(){return n},hQ:function(){return l},P_:function(){return y},nz:function(){return g},vw:function(){return d},rj:function(){return i},v6:function(){return o},n5:function(){return E.Z},zI:function(){return c},v3:function(){return C},X:function(){return m},b0:function(){return j},_F:function(){return x}});var s={src:"/_next/static/media/marker.2d33e67e.svg",height:32,width:24,blurWidth:0,blurHeight:0},o={src:"/_next/static/media/star_fill.acd2e2a1.svg",height:25,width:24,blurWidth:0,blurHeight:0},i={src:"/_next/static/media/star_empty.77cd8088.svg",height:25,width:24,blurWidth:0,blurHeight:0},a={src:"/_next/static/media/green_button.7f36efbd.svg",height:57,width:56,blurWidth:0,blurHeight:0},n={src:"/_next/static/media/nextGreen.c5873e6a.svg",height:25,width:24,blurWidth:0,blurHeight:0},l={src:"/_next/static/media/nextOrange.0b82ec86.svg",height:25,width:24,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/verified.53fd4b1c.svg",height:25,width:24,blurWidth:0,blurHeight:0},d={src:"/_next/static/media/send.232e2f5a.svg",height:25,width:24,blurWidth:0,blurHeight:0},u={src:"/_next/static/media/facebook.88abd7db.svg",height:25,width:24,blurWidth:0,blurHeight:0},h={src:"/_next/static/media/instagram.08aabe7d.svg",height:25,width:24,blurWidth:0,blurHeight:0},A={src:"/_next/static/media/linkedIn.08a529af.svg",height:25,width:24,blurWidth:0,blurHeight:0},g={src:"/_next/static/media/pinterest.8c968ebe.svg",height:25,width:24,blurWidth:0,blurHeight:0},m={src:"/_next/static/media/x.38d5c271.svg",height:25,width:24,blurWidth:0,blurHeight:0},x={src:"/_next/static/media/youtube.56941f80.svg",height:25,width:24,blurWidth:0,blurHeight:0},v={src:"/_next/static/media/hand.cef0d3ac.svg",height:56,width:44,blurWidth:0,blurHeight:0},f={src:"/_next/static/media/lock.b7a67b9f.svg",height:22,width:18,blurWidth:0,blurHeight:0},b={src:"/_next/static/media/Bag.faf314ce.svg",height:128,width:128,blurWidth:0,blurHeight:0},w={src:"/_next/static/media/arrow.825ac232.svg",height:32,width:32,blurWidth:0,blurHeight:0},p={src:"/_next/static/media/bg22.26da7780.svg",height:178,width:1146,blurWidth:0,blurHeight:0},y={src:"/_next/static/media/notification.9ce88222.svg",height:24,width:25,blurWidth:0,blurHeight:0},N={src:"/_next/static/media/messagenav.7519779c.svg",height:24,width:24,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/linkedin.add17c9d.png",height:128,width:128,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEUAAABMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1rdTyAAAADHRSTlNVAGZvnUR8L4kFGTr0TMEtAAAACXBIWXMAAALFAAACxQGJ1n/vAAAAN0lEQVR4nCXIyQ3AMAzEQEqr0+6/3yAJXwNScWx3DdexN1RX7izFJInjOU21UE7S/7kfYip0Ih4nIgEWA7xgUgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},j={src:"/_next/static/media/twitter.a1d0c22d.png",height:128,width:128,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEVMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/eFplAAAADHRSTlMAZXg8bRuvT5CFUw1azo9uAAAACXBIWXMAAAGKAAABigEzlzBYAAAANUlEQVR4nB3GxxHAMAwEsT1mSv3365FfAFNzwZrUMRRAS/uE8Mo/Xm7PXEkNrGMdiR24U/MBHgoA23oSa6gAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},E=r(26341),S={src:"/_next/static/media/clock.e1fd159e.png",height:128,width:128,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMmTwNGaxJ24rOaAAAACXBIWXMAAAN2AAADdgF91YLMAAAALklEQVR4nCWLyQ0AMAyD8JH9V67SvJDAxqgV
1BgWSz7Ejyqwr3WyKYtvSDaO1d38PwQBtNQh83wAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},M={src:"/_next/static/media/Filter.1788c2e9.png",height:28,width:28,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAFVBMVEVSWGFRWGFMaXFQWmFRVWJRVmFOXGAZ1ExkAAAAB3RSTlNUSQAPJ2gX4T9YAwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAC1JREFUeJwty8ENADAIw0Cb0P1XrkDkdQ+HulFRTVECuNAFeS8MGnuQaSa++wcOiQBoDcRPzwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},C={src:"/_next/static/media/warning.63c44539.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAARVBMVEX8zyP6xwD/xRr9ywD81DP70TD7xwD+1jX6xQD8ziD/zwD90irwxgD8yAH9zhL+7rD+8sb/4An91kX/6TD95o/821395YpT0/32AAAADXRSTlP+lgvO2/rj/vyEEJwS8zgrWgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEBJREFUeJwVyUsOgDAIBcDXChRU6E+9/1ENu0kG1YiZrMJ2W6tNAzWMjjjAiXBN9Mdds75XXXDtQPgsuIuoSjl/UKsCSYQf3owAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},R={src:"/_next/static/media/down.74d6273b.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAMFBMVEUOhRBMaXEOiBMRtBwOjhQTtRsQnhcTuBsUvBwAZgAPkBQLehAOihQTxB0OhhMTrRxL14C6AAAAEHRSTlMiABQg4+Rxze0CyDTwNNI13NsJkAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADtJREFUeJwdy0cSgDAMBMEdyQoOwP9/S8GtLy3cQTJRYTaWiafrPhuxsyMvxDqZXQiNEeHIPjlTf2byAinQARfisz2zAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},L={src:"/_next/static/media/cases-download.8cc96170.svg",height:40,width:40,blurWidth:0,blurHeight:0},U={src:"/_next/static/media/cases-add.9885050b.svg",height:40,width:40,blurWidth:0,blurHeight:0},_={src:"/_next/static/media/cases-load-more.e3a00559.svg",height:24,width:24,blurWidth:0,blurHeight:0}},42640:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return GoogleMapsScript}});var s=r(2265);function GoogleMapsScript(){let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e="AIzaSyAoWDqxOeMUbZ739V7SKRbiFuBw3ynDPg4";if(!e){console.error("Google Maps API key is not set. Please check your .env file.");return}if(window.google&&window.google.maps&&window.google.maps.places){console.log("Google Maps API already loaded"),t(!0);return}let r=document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]');if(r){r.addEventListener("load",()=>{window.google&&window.google.maps&&window.google.maps.places&&t(!0)});return}let s=document.createElement("script");return s.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places"),s.async=!0,s.defer=!0,s.onload=()=>{console.log("Google Maps API script loaded successfully"),window.google&&window.google.maps&&window.google.maps.places&&t(!0)},s.onerror=()=>{console.error("Failed to load Google Maps API script")},document.head.appendChild(s),()=>{}},[]),null}},89525:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return shared_Navbar}});var s=r(57437),o=r(2265),i=r(91393),a=r(29759),n=r(18690),l=r(16691),c=r.n(l),d=r(61396),u=r.n(d),h=r(24033),A=r(96689),g=r(19874),m=r(51809),x=r(44052),v=r(25587),f=r(74992),b=r(67057),w=r(50927),p=r(81221),y=r(66610),N=r(53298),k=r(44125),j=r(11490),E=r(5784),S=r(38244),M=r(90427),C=r(65883),R=r(37878),L=r(20508),U=r(68230);let _="googtrans",LanguageSwitcher=()=>{var e,t;let[r,i]=(0,o.useState)(),[a,n]=(0,o.useState)(),[l,c]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{let e=setInterval(()=>{if(window.__GOOGLE_TRANSLATION_CONFIG__){var t,r;n(window.__GOOGLE_TRANSLATION_CONFIG__);let s=(0,U.parseCookies)(),o=s[_];i(null!==(r=null==o?void 0:null===(t=o.split("/"))||void 0===t?void 0:t[2])&&void 0!==r?r:window.__GOOGLE_TRANSLATION_CONFIG__.defaultLanguage),clearInterval(e)}},100);return()=>clearInterval(e)},[]),!r||!a)return null;let switchLanguage=e=>{(0,U.setCookie)(null,_,"/auto/".concat(e)),window.location.reload()},d=null!==(t=null===(e=a.languages.find(e=>e.name===r))||void 0===e?void 0:e.title)&&void 0!==t?t:r.toUpperCase();return(0,s.jsxs)("div",{className:"relative notranslate",children:[(0,s.jsxs)("div",{onClick:()=>c(!l),className:"flex items-center cursor-pointer transition-colors text-gray-800 hover:text-green-600",children:[(0,s.jsx)("span",{className:"text-sm font-medium",children:d}),(0,s.jsx)("svg",{className:"w-4 h-4 ml-1 transition-transform ".concat(l?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),l&&(0,s.jsx)("div",{style:{position:"fixed"},className:"absolute right-5 mt-2 w-28 bg-white border rounded-md shadow-md z-[9999]",children:a.languages.map(e=>(0,s.jsx)("div",{onClick:()=>switchLanguage(e.name),className:"px-3 py-2 text-sm cursor-pointer hover:bg-gray-100 ".concat(r===e.name?"text-green-600 font-medium":"text-gray-700"),children:e.title},e.name))})]})};var shared_Navbar=()=>{var e,t,r;let[l,d]=(0,o.useState)(!1),[U,_]=(0,o.useState)(!1),[D,I]=(0,o.useState)(!1),[P,T]=(0,o.useState)(!1),{useLogout:F}=(0,E.m)(),B=F(),[O,G]=(0,o.useState)(j.Z.get("auth-token")),{useGetNotification:V}=(0,R.X)(),W=V(!0),{useCurrentUser:H}=(0,E.m)(),Z=H(!0),z=null===(t=Z.data)||void 0===t?void 0:null===(e=t.profile)||void 0===e?void 0:e.user_id,X=(null===(r=null==W?void 0:W.data)||void 0===r?void 0:r.totalNotification)||0;(0,o.useEffect)(()=>
1{if(!z||!L.default)return;let e=L.default.private("App.Models.User.".concat(z));return e.listen(".UserNotification",()=>{W.refetch()}),()=>{e.stopListening(".UserNotification")}},[z]);let Q=(0,h.usePathname)(),closeMobileMenu=()=>{_(!1)},isActiveLink=e=>Q===e,getLinkClasses=e=>"".concat("px-3 py-2 text-sm font-medium transition-colors"," ").concat(isActiveLink(e)?"text-green-600 underline":"text-gray-800 hover:text-green-600"),getMobileLinkClasses=e=>"".concat("flex items-center px-4 py-4 rounded-2xl transition-colors"," ").concat(isActiveLink(e)?"text-green-600 underline":"text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link"),closeAccountDropdown=()=>{I(!1)};(0,o.useEffect)(()=>{let e=!!(null==Z?void 0:Z.data);T(e)},[Z]),(0,o.useEffect)(()=>{let e=j.Z.get("auth-token");e&&T(!0)},[Q]),(0,o.useEffect)(()=>{let handleScroll=()=>{d(window.scrollY>50)};return window.addEventListener("scroll",handleScroll),()=>window.removeEventListener("scroll",handleScroll)},[]),(0,o.useEffect)(()=>(U?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[U]);let handleLogout=()=>{B.mutate(void 0,{onSuccess:()=>{window.location.reload()}})};return(0,s.jsxs)("nav",{className:"fixed top-0 left-0 right-0 z-40 transition-all duration-300 overflow-hidden ".concat(l?"shadow-md bg-gradient-to-r from-[#B2F6B9] via-[#FFE1A6] to-[#E9F6B2]":"bg-transparent"),children:[(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex justify-between h-20 items-center w-full max-w-full overflow-hidden",children:[(0,s.jsx)(u(),{href:"/",className:"flex-shrink-0 min-w-0",children:(0,s.jsx)("div",{className:"h-12 w-auto",children:(0,s.jsx)(c(),{src:n.FM,alt:"VetKonnect Logo",width:180,height:50,className:"h-full w-auto max-w-[120px] sm:max-w-[180px]",priority:!0})})}),(0,s.jsxs)("div",{className:"hidden md:flex items-center space-x-5",children:[(0,s.jsx)(u(),{href:"/about",className:getLinkClasses("/about"),children:"About Us"}),(0,s.jsx)(u(),{href:"/foundation",className:getLinkClasses("/foundation"),children:"Foundation"}),(0,s.jsx)(u(),{href:"/vetifypro",className:getLinkClasses("/vetifypro"),children:"VetifyPro"}),(0,s.jsx)(u(),{href:"/dashboard/feed-calculator",className:getLinkClasses("/dashboard/feed-calculator"),children:"Feed Calculator"}),(0,s.jsx)(u(),{href:"/dashboard/disease-predictor",className:getLinkClasses("/dashboard/disease-predictor"),children:"Disease Predictor"}),(0,s.jsx)(u(),{href:"/blog",className:getLinkClasses("/blog"),children:"Blog"}),(0,s.jsx)(u(),{href:"/chat-forum",className:getLinkClasses("/chat-forum"),children:"Chat Forum"}),(0,s.jsx)(u(),{href:"/initiatives",className:getLinkClasses("/initiatives"),children:"Initiatives"})]}),(0,s.jsxs)("div",{className:"flex items-center space-x-2 sm:space-x-4 lg:space-x-6 flex-shrink-0",children:[(0,s.jsx)("div",{className:"hidden md:block relative",children:P&&(0,s.jsx)(u(),{href:"/dashboard/notifications",children:(0,s.jsxs)("button",{className:"flex items-center justify-center w-10 h-10 rounded-full cursor-pointer transition-colors bg-gray-100 text-gray-700 hover:bg-green-50 relative",children:[(0,s.jsx)(c(),{src:k.P_,alt:"Notifications",width:20,height:20}),X>=1&&(0,s.jsx)("span",{className:"absolute -top-1 -right-1 w-6 h-6 p-2 bg-red-500 text-white text-xs rounded-full flex items-center justify-center font-medium",children:X})]})})}),P&&(0,s.jsx)(u(),{className:"hidden md:block relative",href:"/dashboard/orders",children:(0,s.jsx)("button",{className:"flex items-center justify-center w-10 h-10 rounded-full cursor-pointer transition-colors bg-gray-100 text-gray-700 hover:bg-green-50 relative",children:(0,s.jsx)(S.Z,{className:"w-5 h-5"})})}),!P&&(0,s.jsx)(u(),{href:"/login",className:"flex items-center px-4 py-1 rounded-xl text-gray-700 bg-gray-50 border border-gray-200 shadow-sm hover:bg-gray-100 hover:shadow-md transition-all duration-200",children:(0,s.jsx)("span",{className:"text-sm font-medium",children:"Login"})}),P&&(0,s.jsx)(u(),{href:"/dashboard/messages",className:"hidden md:block relative",children:(0,s.jsx)("button",{className:"flex items-center justify-center w-10 h-10 rounded-full cursor-pointer transition-colors bg-gray-100 text-gray-700 hover:bg-green-50",children:(0,s.jsx)(c(),{src:k.ey,alt:"Messages",width:20,height:20})})}),!P&&(0,s.jsx)("div",{className:" ",children:(0,s.jsx)(LanguageSwitcher,{})}),(0,s.jsx)("button",{onClick:()=>{_(!U)},className:"md:hidden p-2 transition-colors text-gray-800 hover:text-green-600","aria-label":"Toggle menu",children:U?(0,s.jsx)(A.Z,{className:"w-5 h-5"}):(0,s.jsx)(g.Z,{className:"w-5 h-5"})}),(0,s.jsxs)("div",{className:"hidden md:block relative",children:[(0,s.jsx)("button",{onClick:()=>{I(!D)},className:"flex items-center justify-center w-10 h-10 rounded-full cursor-pointer transition-colors bg-gray-100 text-gray-700 hover:bg-green-50","aria-label":"Account menu",children:(0,s.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),(0,s.jsx)(i.M,{children:D&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"fixed inset-0 z-[9998]",onClick:closeA
1ccountDropdown}),(0,s.jsx)(a.E.div,{initial:{opacity:0,y:-10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.2,ease:"easeOut"},className:"absolute right-0 top-12 w-64 bg-white rounded-2xl shadow-xl border border-gray-200 z-[9999] overflow-hidden",style:{position:"fixed",right:"1rem",top:"4rem"},children:(0,s.jsxs)("div",{className:"p-4 space-y-2",children:[P?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(u(),{href:"/dashboard/account",onClick:closeAccountDropdown,className:"flex items-center px-4 py-3 rounded-xl text-gray-700 hover:bg-gray-50 transition-all duration-200",children:[(0,s.jsx)(M.Z,{className:"w-5 h-5 mr-3"}),(0,s.jsx)("span",{className:"text-sm font-medium",children:"My Account"})]}),(0,s.jsxs)("div",{className:"flex items-center px-4 py-3 rounded-xl hover:bg-gray-50 transition-all duration-200",children:[(0,s.jsx)(x.Z,{className:"w-5 h-5 mr-3 text-gray-700"}),(0,s.jsx)(LanguageSwitcher,{})]}),(0,s.jsxs)("button",{onClick:handleLogout,className:"flex items-center w-full px-4 py-3 rounded-xl text-gray-700 hover:bg-gray-50 transition-all duration-200",children:[(0,s.jsx)(C.Z,{className:"w-5 h-5 mr-3"}),(0,s.jsx)("span",{className:"text-sm font-medium",children:"Logout"})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(u(),{href:"/login",onClick:closeAccountDropdown,className:"flex items-center px-4 py-3 rounded-xl text-gray-700 bg-gray-50 border border-gray-200 shadow-sm hover:bg-gray-100 hover:shadow-md transition-all duration-200",children:[(0,s.jsx)(m.Z,{className:"w-5 h-5 mr-3"}),(0,s.jsx)("span",{className:"text-sm font-medium",children:"Login"})]}),(0,s.jsxs)(u(),{href:"/signup",onClick:closeAccountDropdown,className:"flex items-center px-4 py-3 rounded-xl text-white bg-green-600 hover:bg-green-700 shadow-sm hover:shadow-md transition-all duration-200",children:[(0,s.jsx)(m.Z,{className:"w-5 h-5 mr-3"}),(0,s.jsx)("span",{className:"text-sm font-medium",children:"Sign Up"})]})]}),(0,s.jsxs)(u(),{href:"/customer-support",onClick:closeAccountDropdown,className:"flex items-center px-4 py-3 rounded-xl text-gray-700 hover:bg-gray-50 hover:border hover:border-gray-200 transition-all duration-200",children:[(0,s.jsx)(v.Z,{className:"w-5 h-5 mr-3"}),(0,s.jsx)("span",{className:"text-sm font-medium",children:"Customer Support"})]})]})})]})})]})]})]})}),(0,s.jsx)(i.M,{children:U&&(0,s.jsx)(a.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 bg-black bg-opacity-50 z-40 md:hidden",onClick:closeMobileMenu})}),(0,s.jsx)(i.M,{children:U&&(0,s.jsxs)(a.E.div,{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:{type:"tween",duration:.3},className:"fixed top-0 left-0 h-full w-80 bg-white shadow-xl z-50 md:hidden overflow-y-auto",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-gray-200",children:[(0,s.jsx)(u(),{href:"/",className:"flex items-center",children:(0,s.jsx)(c(),{src:n.FM,alt:"VetKonnect Logo",width:180,height:50,className:"h-full w-auto max-w-[120px] sm:max-w-[180px]",priority:!0})}),(0,s.jsx)("button",{onClick:closeMobileMenu,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close menu",children:(0,s.jsx)(A.Z,{className:"w-6 h-6 text-gray-600"})})]}),(0,s.jsxs)("nav",{className:"p-6 space-y-2",children:[!P&&(0,s.jsxs)(u(),{href:"/login",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 bg-gray-150 border border-gray-225 shadow-active-link transition-colors",children:[(0,s.jsx)(m.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Login / Signup"})]}),(0,s.jsxs)(u(),{href:"/",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(f.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Home"})]}),(0,s.jsxs)(u(),{href:"/about",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(b.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"About Us"})]}),(0,s.jsxs)(u(),{href:"/foundation",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(w.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Foundation"})]}),(0,s.jsxs)(u(),{href:"/vetifypro",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(w.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"VetifyPro"})]}),(0,s.jsxs)(u(),{href:"/dashboard/feed-calculator",onClick:closeMobileMenu,className:getMobileLinkClasses("/dashboard/feed-calculator"),children:[(0,s.jsx)(p.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Feed Calculator"})]}),(0,s.jsxs)(u(),{href:"/dashboard/disease-predictor",onClick:closeMobileMenu,className:getMobileLinkClasses("/dashboard/disease-predictor"),children:[(0,s.jsx)(w.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Disease Predictor"})]}),(0,s.jsxs)(u(),{href:"/blog",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(y.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Blog"})]}),(0,s.jsxs)(u(),{href:"/chat-forum",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(N.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Chat Forum"})]}),(0,s.jsxs)(u(),{href:"/initiatives",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(N.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Initiatives"})]}),(0,s.jsxs)("div",{className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(x.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)(LanguageSwitcher,{})]}),(0,s.jsxs)(u(),{href:"/customer-support",onClick:closeMobileMenu,className:"flex items-center px-4 py-4 rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(v.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Customer Support"})]}),P&&(0,s.jsxs)("button",{onClick:()=>{handleLogout(),closeMobileMenu()},className:"flex items-center px-4 py-4 w-full rounded-2xl text-gray-700 hover:bg-gray-150 hover:border hover:border-gray-225 hover:shadow-active-link transition-colors",children:[(0,s.jsx)(m.Z,{className:"w-6 h-6 mr-4"}),(0,s.jsx)("span",{className:"text-base font-medium",children:"Logout"})]})]})]})})]})}},45841:function(e,t,r){"use strict";r.r(t),r.d(t,{Toaster:function(){return Toaster}});var s=r(57437),o=r(91350),i=r(71424);let Toaster=e=>{let{...t}=e,{theme:r="system"}=(0,o.F)();return(0,s.jsx)(i.Toaster,{theme:r,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})}},20508:function(e,t,r){"use strict";var s=r(55901),o=r(97965),i=r.n(o),a=r(11490);let n=null;{let e="lvoww43iqnfigs6cpilv\n",t="http://vetkonect.work.dev.vetkonect.com",r=Number("443"),o="https://vetkonect.work.dev.vetkonect.com/api/v3";e&&t&&o||console.error("Missing Reverb environment variables. Check your .env file."),window.Pusher=i();try{window.Echo||(window.Pusher.logToConsole=!0,window.Echo=new s.ZP({broadcaster:"reverb",key:e,wsHost:t,wsPort:r,wssPort:r,forceTLS:!0,enabledTransports:["ws"],enableStats:!0,authEndpoint:"".concat(o,"/broadcasting/auth"),auth:{headers:{Authorization:a.Z.get("auth-token")?"Bearer ".concat(a.Z.get("auth-token")):"",Accept:"application/json"}}})),n=window.Echo}catch(e){console.error("Failed to initialize Echo:",e)}}t.default=n},19779:function(e,t,r){"use strict";r.r(t),r.d(t,{ReactQueryProvider:function(){return ReactQueryProvider}});var s=r(57437),o=r(10938),i=r(70165),a=r(57021),n=r(2265);function ReactQueryProvider(e){let{children:t}
1=e,[r]=(0,n.useState)(()=>new o.S({defaultOptions:{queries:{staleTime:6e4,cacheTime:6e5,retry:(e,t)=>(!((null==t?void 0:t.status)>=400)||!((null==t?void 0:t.status)<500))&&e<3,refetchOnWindowFocus:!1},mutations:{retry:!1}}}));return(0,s.jsxs)(i.QueryClientProvider,{client:r,children:[t,(0,s.jsx)(a.t,{initialIsOpen:!1})]})}},37878:function(e,t,r){"use strict";r.d(t,{X:function(){return useActivitiesService}});var s=r(33437),o=r(52421),i=r(11490);let useActivitiesService=()=>({useGetActivities:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=new URLSearchParams;r.append("page",t.toString());let i="".concat(o.Uu.GET_ACTIVITIES,"?").concat(r.toString());return(0,s.XD)(["activity",t.toString()],i,{enabled:e,keepPreviousData:!0,staleTime:0})},useGetNotification:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=i.Z.get("auth-token");return(0,s.XD)(["notifications"],"".concat(o.Uu.GET_USER_NOTIFICATION),{enabled:!!t&&!!e,staleTime:0})},useGetUserNotificationById:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=i.Z.get("auth-token"),a=!!r&&!!t&&!!e;return(0,s.XD)(["notification",e],"".concat(o.Uu.GET_USER_NOTIFICATIONS_BY_ID(e)),{enabled:a,staleTime:0})}})},5784:function(e,t,r){"use strict";r.d(t,{m:function(){return useAuthService}});var s=r(33437),o=r(52421),i=r(11490),a=r(16535);let useAuthService=()=>{let e=(0,a.o)(),t=(0,a.G)(),setAuthCookie=e=>{try{let t="https:"===window.location.protocol;i.Z.set("auth-token",e,{secure:t,sameSite:"lax",path:"/"}),localStorage.setItem("auth-token",e)}catch(t){console.error("Failed to set auth cookie:",t),i.Z.set("auth-token",e),localStorage.setItem("auth-token",e)}},removeAuthTokens=()=>{try{i.Z.remove("auth-token"),localStorage.removeItem("auth-token"),sessionStorage.removeItem("pending-comment"),sessionStorage.removeItem("pending-reply-to"),sessionStorage.removeItem("pending-edit-comment")}catch(e){console.error("Failed to remove auth tokens:",e)}};return{useLogin:()=>(0,s.uV)(o.Ex.LOGIN,{onSuccess:t=>{var r;(null==t?void 0:t.token)?(setAuthCookie(t.token),e(t.message||"Login successfully!")):(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.token)&&(setAuthCookie(t.data.token),e(t.message||t.data.message||"Login successfully!"))},onError:e=>{t(e.message||"Login failed")}}),useSignup:()=>(0,s.uV)(o.Ex.SIGNUP,{onSuccess:t=>{var r;(null==t?void 0:t.token)?setAuthCookie(t.token):(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.token)&&setAuthCookie(t.data.token),e(t.message||"Signup successfully!")},onError:e=>{t(e.message||"Signup failed")}}),useCompleteProfile:()=>(0,s.uV)(o.uo.COMPLETE_PROFILE,{onSuccess:t=>{var r;(null==t?void 0:t.token)?setAuthCookie(t.token):(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.token)&&setAuthCookie(t.data.token),e(t.message||"Profile completed successfully!")},onError:e=>{t(e.message||"Profile completion failed")}}),useUpdateProfile:()=>(0,s.uV)(o.Ex.UPDATE_PROFILE,{onSuccess:t=>{e(t.message||"Profile updated successfully!")},onError:e=>{t(e.message||"Profile update failed")}}),useResendVerification:()=>(0,s.uV)(o.Ex.RESENDVERIFICATION),useGoogleLogin:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,s.XD)(["googleLogin"],"".concat(o.Ex.GOOGLE_LOGIN),{enabled:e,staleTime:0})},setAuthCookie,useCurrentUser:function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=i.Z.get("auth-token");return(0,s.XD)(["currentUser"],o.Ex.GET_PROFILE,{enabled:!!t&&!!e,staleTime:3e5})},useLogout:()=>(0,s.uV)(o.Ex.LOGOUT,{onSuccess:t=>{removeAuthTokens(),e(t.message||"Logout successfully!")},onError:()=>{removeAuthTokens()},invalidateQueries:[["currentUser"]]}),useRefreshToken:()=>(0,s.uV)(o.Ex.REFRESH,{onSuccess:e=>{var t;e.success&&(null===(t=e.data)||void 0===t?void 0:t.token)&&i.Z.set("auth-token",e.data.token)}}),useForgotPassword:()=>(0,s.uV)(o.Ex.FORGOT_PASSWORD,{onSuccess:t=>{e(t.message||"Password reset link sent!")},onError:e=>{t(e.message||"Failed to send reset link.")}}),useResetPassword:()=>(0,s.uV)(o.Ex.RESET_PASSWORD,{onSuccess:t=>{e(t.message||"Password reset successfully!")},onError:e=>{t(e.error||e.message||"Failed to reset password.")}})}}},92489:function(){},26341:function(e,t){"use strict";t.Z={src:"/_next/static/media/user.a73dd0b3.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAWlBMVEVVc+T5rG71qG0jgv//nXVipP9Pnv//sG36tHz/uHz+wIqlmKhlqf//v4Vlp//PtrMff/9qqP0ogv1tqv5np/9pqP8mg/8gg/8lhf9srv8mg///w4opi///sHKv3RYrAAAAGXRSTlMBxuyXBv1Xtk76303v0Jdb8rm3PyDb2h89tDX84QAAAAlwS
1FlzAAAN1wAADdcBQiibeAAAAEBJREFUeJwdxkcWgCAMQMFvI2DDrgl4/2v6cDUD+FB7gLZPb/VnSkFKiCJDcR3nZtlgV9Vs9uBUO7PsOM6S6/4AT3cDGE+xh24AAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}}},function(e){e.O(0,[8160,2404,6691,1396,9759,776,8545,4428,8690,2971,2472,1744],function(){return e(e.s=75554)}),_N_E=e.O()}]);

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.