1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7633],{75414:function(e,t,n){"use strict";n.d(t,{default:function(){return u},U:function(){return d}});var i=n(57437),l=n(2265),r=n(56877),o=n.n(r),a=n(63400);function s(e){let{message:t}=e;return(0,i.jsxs)("div",{className:"".concat(o().message),children:[(0,i.jsxs)("span",{className:"w-4 h-4 min-w-4 min-h-4 rounded-full flex items-center justify-center text-[10px] text-white ".concat(o()[t.type]),children:["info"===t.type&&(0,i.jsx)(a.US6,{}),"error"===t.type&&(0,i.jsx)(a.oHP,{}),"success"===t.type&&(0,i.jsx)(a.bzc,{}),"warning"===t.type&&(0,i.jsx)(a.JZY,{})]}),(0,i.jsx)("span",{children:t.content})]})}let c=(0,l.createContext)(null);function u(e){let{children:t}=e,[n,r]=(0,l.useState)([]),o=(e,t)=>{let n=Date.now(),i={id:n,type:e,content:t};r(e=>[...e,i]),setTimeout(()=>{a(n)},3e3)};(0,l.useEffect)(()=>{try{let e=sessionStorage.getItem("flashMessage");if(!e)return;sessionStorage.removeItem("flashMessage");let t=JSON.parse(e);(null==t?void 0:t.type)&&(null==t?void 0:t.content)&&o(t.type,t.content)}catch(e){}},[]);let a=e=>{r(t=>null==t?void 0:t.filter(t=>t.id!==e))};return(0,i.jsxs)(c.Provider,{value:{showMessage:o},children:[t,(0,i.jsx)("div",{className:"fixed top-5 left-1/2 transform -translate-x-1/2 flex flex-col gap-[15px] z-50",children:null==n?void 0:n.map((e,t)=>(0,i.jsx)(s,{message:e},t))})]})}let d=()=>{let e=(0,l.useContext)(c);if(!e)throw Error("useMessage must be used within a MessageProvider");return e}},70607:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(57437),l=n(37996),r=n(69590);function o(e){let{src:t,alt:n="",className:o="",viewportHeight:a="min(70vh, 800px)",showControls:s=!0}=e;return t?(0,i.jsx)("div",{className:"flex w-full flex-col overflow-hidden bg-[#f0f0f0] dark:bg-[#212121] ".concat(o),style:{height:a},children:(0,i.jsx)(r.d$,{initialScale:1,minScale:1,maxScale:8,centerOnInit:!0,limitToBounds:!1,doubleClick:{disabled:!1,mode:"toggle",step:2},wheel:{step:.12,smoothStep:.004},pinch:{disabled:!1},panning:{disabled:!1},children:e=>{let{zoomIn:o,zoomOut:a,resetTransform:c}=e;return(0,i.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,i.jsx)("div",{className:"relative min-h-0 flex-1 overflow-hidden",children:(0,i.jsx)(r.Uv,{wrapperClass:"!w-full !h-full",contentClass:"!w-full !h-full flex items-center justify-center p-4",children:(0,i.jsx)("img",{src:t,alt:n,className:"h-auto w-auto max-h-full max-w-full select-none",draggable:!1})})}),s?(0,i.jsxs)("div",{className:"flex shrink-0 flex-col items-center gap-1 border-t border-[#ddd] bg-[#ececec] px-3 py-2 dark:border-[#444] dark:bg-[#2d2d2d]",children:[(0,i.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,i.jsx)("button",{type:"button",className:"flex h-10 w-10 items-center justify-center rounded-md bg-[#1a1a1a]/85 text-xl text-white shadow-sm dark:bg-white/15",onClick:()=>a(),"aria-label":"Zoom out",children:(0,i.jsx)(l.gjP,{})}),(0,i.jsx)("button",{type:"button",className:"flex h-10 w-10 items-center justify-center rounded-md bg-[#1a1a1a]/85 text-xl text-white shadow-sm dark:bg-white/15",onClick:()=>o(),"aria-label":"Zoom in",children:(0,i.jsx)(l.SJS,{})}),(0,i.jsx)("button",{type:"button",className:"flex h-10 min-w-[3rem] items-center justify-center rounded-md bg-[#1a1a1a]/85 px-3 text-xs font-semibold text-white shadow-sm dark:bg-white/15",onClick:()=>c(),"aria-label":"Reset zoom",children:"Reset"})]}),(0,i.jsx)("p",{className:"text-[10px] text-[#666] dark:text-[#aaa] sm:text-xs",children:"Pinch, scroll, or double-tap the image to zoom"})]}):null]})}})}):(0,i.jsx)("div",{className:"flex items-center justify-center bg-[#f0f0f0] dark:bg-[#212121] ".concat(o),style:{height:a},children:(0,i.jsx)("span",{className:"text-sm text-gray-500 dark:text-gray-400",children:"No image available"})})}},34824:function(e,t,n){"use strict";n.d(t,{default:function(){return x}});var i=n(57437),l=n(2265),r=n(54887),o=n(49089),a=n(11140),s=n(37996),c=n(94295),u=n(99376),d=n(99671),m=n(40924),f=n(52683),p=n(75414),h=n(89693);let v={Whatsapp:{icon:a.RGt,bg:"#25D366"},LinkedIn:{icon:o.BUd,bg:"#0A66C2"},Email:{icon:s.Imn,bg:"#6B7280"}},w=(e,t)=>"te"!==t?e:({Facebook:"à°«à±à°¸à±à°¬à±à°à±",Instagram:"à°à°¨à±à°¸à±à°à°¾à°à±à°°à°¾à°®à±",YouTube:"à°¯à±à°à±à°¯à±à°¬à±",X:"X",Whatsapp:"వాà°à±à°¸à°¾à°ªà±",LinkedIn:"లిà°à°à±à°¡à±à°à°¨à±",Email:"à°à°®à±à°¯à°¿à°²à±"})[e]||e;function x(e){let{title:t,url:n,customButton:a,dropdownPosition:s="down",usePortal:x=!0}=e,{isOpen:g,toggleDropdown:b,closeDropdown:j}=(0,f.W3)(),y=(0,u.usePathname)(),k=(0,h.mS)(y)||"te-IN",C=(null==k?void 0:k.split("-")[0])||"en",I=(0,l.useRef)(null),N=(0,l.useRef)(null),{showMessage:U}=(0,p.U)(),{dropdownStyle:E,isPositionReady:_}=(0,f.Vf)({isOpen:g,usePortal:x,triggerRef:I,dropdownPosition:s,estimatedHeight:320,onClose:j});(0,l.useEffect)(()=>
1{if(!g)return;let e=e=>{var t,n;let i=e.target;(null===(t=I.current)||void 0===t?void 0:t.contains(i))||(null===(n=N.current)||void 0===n?void 0:n.contains(i))||j()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[g,j]);let L=((null===d.Z||void 0===d.Z?void 0:d.Z.clientUrl)||"").replace(/\/+$/,"");L||window.location.hostname.includes("backenddev")||(L=window.location.origin);let R=((n||"").startsWith("/")?n:"/".concat(n||"")).replace(/^\/(te-IN|en-IN)(?=\/|$)/i,"")||"/",S=L?"".concat(L).concat(R):R,z=(0,i.jsxs)("div",{ref:N,className:"white shadow-md z-[9999] bg-white dark:bg-[#444] dark:text-white min-w-[180px] py-3 rounded ".concat(x?"":"up"===s?"absolute right-0 bottom-[100%] mb-2":"absolute right-0 top-[100%] mt-1"),style:x?E:void 0,children:[(0,i.jsxs)("div",{className:"flex items-center gap-2 cursor-pointer px-4 py-2 transition-colors hover:text-[#0055a5]",onClick:()=>{navigator.clipboard.writeText(S),U("info","te"===C?"లిà°à°à± à°à±à°²à°¿à°ªà±âà°¬à±à°°à±à°¡à±âà°à± à°à°¾à°ªà± à°à±à°¯à°¬à°¡à°¿à°à°¦à°¿!":"Link copied to clipboard!"),j()},children:[(0,i.jsx)("span",{className:"flex items-center justify-center",children:(0,i.jsx)(o.gjK,{})}),(0,i.jsx)("span",{className:"text-sm font-medium whitespace-nowrap",children:"te"===C?"లిà°à°à± à°à°¾à°ªà± à°à±à°¯à°à°¡à°¿":"Copy Link"})]}),null===m.gr||void 0===m.gr?void 0:m.gr.map((e,n)=>{var l;let r=v[e.name],o=null!==(l=null==r?void 0:r.icon)&&void 0!==l?l:e.icon,a=e.generateLink(S,null!=t?t:""),s=w(e.name,C);return(0,i.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer","aria-label":"Share on ".concat(e.name),className:"flex items-center gap-2 px-4 py-2 transition-colors hover:text-[#0055a5]",onClick:j,children:[(0,i.jsx)("span",{className:"flex items-center justify-center w-5 h-5 shrink-0",children:(0,i.jsx)(o,{className:"w-5 h-5"})}),(0,i.jsx)("span",{className:"text-sm font-medium whitespace-nowrap",children:s})]},n)})]}),W=g&&(!x||_);return(0,i.jsxs)("div",{className:"relative inline-flex items-center justify-center",children:[(0,i.jsx)("div",{ref:I,onClick:b,className:"inline-flex size-6 shrink-0 items-center justify-center",children:a||(0,i.jsx)("button",{type:"button",className:"inline-flex size-6 items-center justify-center text-[#585858] dark:text-white","aria-label":"Share",children:(0,i.jsx)(c.cav,{size:16})})}),W&&(x&&"undefined"!=typeof document?(0,r.createPortal)(z,document.body):z)]})}},40924:function(e,t,n){"use strict";n.d(t,{ZW:function(){return s},gr:function(){return a},wf:function(){return o}});var i=n(11140),l=n(49089),r=n(37996);let o={instagram:i.Vs6,facebook:l.tBk,twitter:i.AMt,whatsapp:i.RGt,youtube:i.bUO,linkedin:l.BUd,mail:r.Imn,email:r.Imn,phoneNumber:r.tUt},a=[{name:"Facebook",icon:o.facebook,generateLink:e=>"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(e)),color:"#1d77f2"},{name:"X",icon:o.twitter,generateLink:(e,t)=>"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(e),"&text=").concat(encodeURIComponent(t)),color:"#000000"},{name:"Whatsapp",icon:o.whatsapp,generateLink:(e,t)=>"https://api.whatsapp.com/send?text=".concat(encodeURIComponent("".concat(t," ").concat(e))),color:"#26d366"},{name:"LinkedIn",icon:o.linkedin,generateLink:e=>"https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent(e)),color:"#1789d1"},{name:"Email",icon:o.mail,generateLink:(e,t)=>"mailto:?subject=".concat(encodeURIComponent("Check out this article: ".concat(t)),"&body=").concat(encodeURIComponent("Here is a link to an article I thought you might be interested in: ".concat(e))),color:""}],s={te:{telegram:"https://t.me/dummy_ml_channel",whatsapp:"https://whatsapp.com/channel/0029Va9b1W70VycEcAG3Zi0I"},en:{telegram:"https://t.me/dummy_en_channel",whatsapp:"https://whatsapp.com/channel/0029Va9b1W70VycEcAG3Zi0I"},"te-IN":{telegram:"https://t.me/dummy_ml_channel",whatsapp:"https://whatsapp.com/channel/0029Va9b1W70VycEcAG3Zi0I"},"en-IN":{telegram:"https://t.me/dummy_en_channel",whatsapp:"https://whatsapp.com/channel/0029Va9b1W70VycEcAG3Zi0I"}}},52683:function(e,t,n){"use strict";n.d(t,{W3:function(){return u},vD:function(){return m},jQ:function(){return d},Vf:function(){return f}});var i=n(2265);let l="share-dropdown-open-state",r=new Set,o=null;function a(e){o=e,r.forEach(t=>t(e))}function s(e){window.dispatchEvent(new CustomEvent(l,{detail:{open:e}}))}let c={open(e){let t=null!==o;a(e),t||s(!0)},close(e){o===e&&(a(null),s(!1))},closeIfActive(e){o===e&&this.close(e)},isActive:e=>o===e};function u(){let e=(0,i.useId)(),[t,n]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let t=t=>{n(t===e)};return r.add(t),t(o),()=>{r.delete(t),c.closeIfActive(e)}},[e]);let l=(0,i.useCallback)(()=>{c.close(e)},[e]);return{isOpen:t,toggleDropdown:(0,i.useCallback)(()=>{c.isActive(e)?c.close(e):c.open(e)},[e]),closeDropdown:l}}function d(e){(0,i.useEffect)(()=>{let t=t=>{var n;let i=null===(n=t.detail)||void 0===n?void 0:n.open,l=e.current;(null==l?void 0:l.autoplay)&&(i?l.autoplay.stop():l.autoplay.start())};return window.addEventListener(l,t),()=>window.removeEventListener(l,t)},[e])}let m=(e,t)=>
1{(0,i.useEffect)(()=>{function n(n){e.current&&!e.current.contains(n.target)&&t()}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[t,e])};function f(e){let{isOpen:t,usePortal:n,triggerRef:l,dropdownPosition:r="down",estimatedHeight:o=320,onClose:a}=e,[s,c]=(0,i.useState)({}),[u,d]=(0,i.useState)(!1),m=(0,i.useRef)({}),f=(0,i.useCallback)(()=>{var e;let t=l.current;if(!n||!t)return!1;let i=function(e,t,n){let i=e.getBoundingClientRect();return 0===i.width&&0===i.height?null:{position:"fixed",left:Math.max(8,Math.min(i.right-180,window.innerWidth-180-8)),minWidth:180,zIndex:9999,..."up"===t?{bottom:window.innerHeight-i.top+4}:{top:i.bottom+4,maxHeight:"min(400px, calc(100vh - 8px))",overflowY:"auto"}}}(t,r,0);return!!i&&(((e=m.current).top!==i.top||e.bottom!==i.bottom||e.left!==i.left||e.minWidth!==i.minWidth||e.maxHeight!==i.maxHeight)&&(m.current=i,c(i)),!0)},[n,l,r,o]);(0,i.useLayoutEffect)(()=>{if(!t||!n){d(!1),m.current={},c({});return}d(f())},[t,n,f,l]),(0,i.useEffect)(()=>{if(!t||!n)return;let e=new Map,i=e=>e===document||e===document.documentElement?{top:window.scrollY,left:window.scrollX}:e instanceof HTMLElement?{top:e.scrollHeight>e.clientHeight?e.scrollTop:null,left:e.scrollWidth>e.clientWidth?e.scrollLeft:null}:{top:null,left:null},l=0,r=()=>{f(),l=requestAnimationFrame(r)};l=requestAnimationFrame(r);let o=t=>{var n;let l=t.target;if(!l)return;let{top:r,left:o}=i(l);if(null===r&&null===o)return;let s=null!==(n=e.get(l))&&void 0!==n?n:{top:null!=r?r:0,left:null!=o?o:0};if(null!==r){if(r>s.top+1){a();return}s.top=r}if(null!==o&&Math.abs(o-s.left)>1){a();return}null!==o&&(s.left=o),e.set(l,s)},s=e=>{(e.deltaY>0||Math.abs(e.deltaX)>0)&&a()},c=()=>f();return window.addEventListener("scroll",o,!0),window.addEventListener("wheel",s,{passive:!0}),window.addEventListener("resize",c),()=>{cancelAnimationFrame(l),window.removeEventListener("scroll",o,!0),window.removeEventListener("wheel",s),window.removeEventListener("resize",c)}},[t,n,f,a]);let p=(0,i.useRef)(a);return p.current=a,(0,i.useEffect)(()=>()=>p.current(),[]),{dropdownStyle:s,isPositionReady:u}}},8365:function(e,t,n){"use strict";n.d(t,{Jn:function(){return m},fZ:function(){return h},fz:function(){return p},gz:function(){return d},hv:function(){return f},pn:function(){return v}});var i=n(99671);let l="/api/media/file/",r={ld:360,sd:640,md:900,hd:1280,fullHD:1920};function o(){let e=(i.Z.imgStoreUrl||"").replace(/\/+$/,""),t=(i.Z.publicServerUrl||"").replace(/\/+$/,"");if(!e||!t)return!0;try{return new URL(e).origin===new URL(t).origin}catch(n){return e===t}}function a(){return(i.Z.imgStoreUrl||"").replace(/\/+$/,"")}function s(e){let t=(e||"").trim();if(!t)return"";if(/^https?:\/\//i.test(t))try{let{pathname:e}=new URL(t),n=e.indexOf(l);if(-1!==n)return decodeURIComponent(e.slice(n+l.length));let i=a();if(i)try{let n=new URL(i).pathname.replace(/\/$/,"");if(e.startsWith(n)&&""!==n)return decodeURIComponent(e.slice(n.length).replace(/^\//,""));if(t.startsWith("".concat(i,"/")))return decodeURIComponent(t.slice(i.length+1))}catch(e){}return decodeURIComponent(e.replace(/^\//,""))}catch(e){return t}if(t.includes(l)){var n;return decodeURIComponent((null!==(n=t.split("file/").at(1))&&void 0!==n?n:"").replace(/^\/+/,""))}
1return t.includes("/media/")?decodeURIComponent(t.replace(/^\/?media\//,"")):decodeURIComponent(t.replace(/^\/+/,""))}function c(e){let t=(i.Z.publicServerUrl||"").replace(/\/+$/,""),n=String(null!=e?e:"").trim().split("/").filter(Boolean);if(!t||0===n.length)return"";let l=n.map(e=>encodeURIComponent(e)).join("/");return"".concat(t,"/api/media/file/").concat(l)}function u(e){let t=s(e);if(!t)return"";if(o())return c(t);let n=a();return n?"".concat(n,"/").concat(t):c(t)}let d=e=>{if(!e)return"";try{let t=(i.Z.publicServerUrl||i.Z.imgStoreUrl||"").replace(/\/$/,"");if(!t)return e;let n=s(e);if(!n)return e;if(o())return"".concat(t,"/api/media/file/").concat(n);let l=a();return l?"".concat(l,"/").concat(n):"".concat(t,"/api/media/file/").concat(n)}catch(t){return e}},m=e=>{let t=(e||"").trim();if(!t)return"";if(/^https?:\/\//i.test(t)){let e=a();return e&&t.startsWith("".concat(e,"/"))?t:t.includes(l)||e&&t.includes(new URL(e).hostname)?u(t):t}return u(t)};function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ld",n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ld";if(!e)return"";for(let l of[t,"ld","sd","md","hd"]){var n,i;let t=null===(i=e.sizes)||void 0===i?void 0:null===(n=i[l])||void 0===n?void 0:n.filename;if(t)return t}return e.filename||""}(e,t);return n?m(n):""}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["ld","sd","md"];if(!(null==e?void 0:e.sizes))return"";let n=[];for(let i of t){let t=e.sizes[i],l=null==t?void 0:t.filename;if(!l)continue;let o=m(l),a=(null==t?void 0:t.width)||r[i];o&&a&&n.push("".concat(o," ").concat(a,"w"))}return n.join(", ")}let h=e=>{if("string"==typeof e){let t=e.trim();return t?m(t):""}if("object"!=typeof e||null===e||!("filename"in e||"path"in e||"url"in e||"sizes"in e))return"";let t=[];for(let i of["md","sd","ld","hd","fullHD"]){var n;let l=null===(n=e.sizes)||void 0===n?void 0:n[i];(null==l?void 0:l.filename)&&t.push(l.filename)}for(let n of(t.push(e.filename,e.path),t)){let e=(null!=n?n:"").trim();if(!e)continue;let t=m(e);if(t)return t}return e.url?m(e.url):""},v=e=>{var t,n,i,l,r,o;if("string"==typeof e){let t=e.trim();return t?m(t):""}if("object"!=typeof e||null===e)return"";for(let a of[e.filename,null===(n=e.sizes)||void 0===n?void 0:null===(t=n.hd)||void 0===t?void 0:t.filename,null===(l=e.sizes)||void 0===l?void 0:null===(i=l.fullHD)||void 0===i?void 0:i.filename,null===(o=e.sizes)||void 0===o?void 0:null===(r=o.md)||void 0===r?void 0:r.filename,e.path,e.url]){let e=(null!=a?a:"").trim();if(!e)continue;let t=m(e);if(t)return t}return""}},56877:function(e){e.exports={message:"MessageComponent_message__n7BR6",slideDown:"MessageComponent_slideDown__J_6Aa",dark:"MessageComponent_dark__INI0F",success:"MessageComponent_success__c4b8r",error:"MessageComponent_error__CPnjS",warning:"MessageComponent_warning__U1RFq",info:"MessageComponent_info__dKOjr"}}}]); 2//# sourceMappingURL=7633-90a55100efd41af3.js.map
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.