PageSourceSearch

https://prajasakti.com/_next/static/chunks/7791-679652005942248a.js

js prajasakti.com collected 2026-10-02 07:23:14 UTC 13,960 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7791],{52584:function(e,t,n){n.r(t),n.d(t,{default:function(){return o}});var l=n(57437),i=n(2265);let r=new Set(["/thumbnail/placeholder-grey.svg","/images/placeholder-grey-ld.png","/images/placeholder-grey-sd.png","/images/placeholder-grey-md.png"]);var o=e=>{let{src:t,phImg:n,phImgSrcSet:o,loading:a="lazy",srcSet:d,sizes:c,alt:s,className:u,style:m,...p}=e,{src:h,srcSet:f}=void 0===n||""===n||r.has(n)?{src:"/thumbnail/640X379.png",srcSet:"/thumbnail/360X213.png 360w, /thumbnail/640X379.png 640w, /thumbnail/900X533.png 900w, /thumbnail/1280X758.png 1280w, /thumbnail/1920X1138.png 1920w"}:{src:n},[x,g]=(0,i.useState)(!1),v=(0,i.useRef)(null),b=!t||x,w=b?h:t,y=s&&s.length>0?s:"",j=["absolute inset-0 h-full w-full",u].filter(Boolean).join(" ");return(0,i.useLayoutEffect)(()=>{g(!1)},[t]),(0,l.jsx)("span",{className:"relative block h-full w-full overflow-hidden bg-[#f2f2f2]",children:(0,l.jsx)("img",{ref:v,...p,className:j,sizes:c,src:w,srcSet:b?void 0!==o?o||void 0:f:d,onError:()=>g(!0),alt:y,loading:a,style:m})})}},9701:function(e,t,n){n.d(t,{Z:function(){return x}});var l=n(57437),i=n(27648),r=n(99376),o=n(2265),a=n(61273),d=n(32768),c=n(19764),s=n(99671),u=n(65443),m=n(40924),p=n(8365),h=n(25137),f=n(89693);function x(e){let{title:t,sliderData:n,setPhotoSliderOpen:a,selectedIndex:x}=e,[b,w]=(0,o.useState)(0),y=(0,o.useRef)(null),{slug:j}=(0,r.useParams)(),k=(0,r.usePathname)(),N=(0,f.mS)(k)||"te-IN",U=(null==N?void 0:N.split("-")[0])||"en",I=e=>{if(y.current){var t;null===(t=y.current)||void 0===t||t.slideTo(e,0),w(e)}};return(0,o.useEffect)(()=>{x&&I(x)},[x]),(0,l.jsxs)("div",{className:"fixed top-0 left-0 w-full h-[100vh] bg-[#191919] px-4 flex flex-col lg:justify-center gap-4 lg:gap-6 z-50",children:[(0,l.jsxs)("div",{className:"w-full lg:w-[65%] mx-auto mt-4 lg:mt-0 flex flex-col lg:flex-row lg:items-center lg:justify-between gap-6 lg:gap-10",children:[(0,l.jsx)(h.Z,{variant:"h4",className:"pl-4 text-white border-l-4 border-l-white",children:t}),(0,l.jsxs)("div",{className:"flex items-center justify-between gap-4 lg:justify-start",children:[(0,l.jsx)(i.default,{href:"/photo-stories","aria-label":"Go to more photo stories page",children:(0,l.jsx)("button",{className:"h-[50px] min-h-[50px] px-4 rounded flex items-center justify-center bg-[#343434] text-[#eee] font-medium",type:"button","aria-label":"More Photos",children:"More Photos"})}),(0,l.jsx)("button",{className:"size-[50px] min-w-[50px] min-h-[50px] rounded flex items-center justify-center bg-[#343434] text-[#ccc] text-2xl",type:"button",onClick:()=>a(!1),"aria-label":"Close",children:(0,l.jsx)(d.bjh,{})})]})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:"w-full lg:w-[65%] mx-auto",children:(0,l.jsx)(c.tq,{centeredSlides:!0,onSwiper:e=>{y.current=e},onSlideChange:e=>{let{activeIndex:t}=e;return w(t)},children:null==n?void 0:n.map((e,n)=>{var r,a,d,f,x,v,b;return(0,l.jsxs)(c.o5,{children:[(0,l.jsx)("div",{className:"h-[40vh] lg:h-[65vh] bg-black border border-[#363636] rounded-md p-4 flex items-center justify-center",children:(0,l.jsx)("img",{src:(0,p.Jn)(null==e?void 0:null===(r=e.media)||void 0===r?void 0:r.filename),alt:null!==(v=null==e?void 0:null===(a=e.media)||void 0===a?void 0:a.alt)&&void 0!==v?v:"",className:"object-cover w-auto h-full rounded-md",loading:"lazy"})}),(0,l.jsxs)("div",{className:"flex flex-col items-center justify-between gap-8 mt-4 lg:flex-row",children:[(0,l.jsxs)(h.Z,{className:"text-white",children:[null==e?void 0:e.caption,(null==e?void 0:e.showPhotographerInfo)&&(null==e?void 0:e.photographer)&&(0,l.jsxs)("span",{className:"",children:[" | ".concat((0,u.id)(U,"PHOTO")," "),(0,l.jsx)(i.default,{href:"/".concat(N,"/photographers/").concat(null!==(b=null==e?void 0:null===(d=e.photographer)||void 0===d?void 0:d.id)&&void 0!==b?b:null==e?void 0:null===(f=e.photographer)||void 0===f?void 0:f._id),className:"underline",children:null==e?void 0:null===(x=e.photographer)||void 0===x?void 0:x.fullName})]})]}),(0,l.jsx)("div",{className:"lg:border-l border-[#757575] flex items-center gap-4 pl-4",children:null===m.gr||void 0===m.gr?void 0:m.gr.map((e,n)=>{let i="".concat(null===s.Z||void 0===s.Z?void 0:s.Z.clientUrl,"/photo-stories/news-in-pics/").concat(j),r=e.generateLink(i,t);return["Facebook","Twitter","LinkedIn","Whatsapp"].includes(null==e?void 0:e.name)?(0,l.jsx)(g,{icon:null==e?void 0:e.icon,bgColor:null==e?void 0:e.color,shareUrl:r},n):(0,l.jsx)(o.Fragment,{},n)})})]})]},n)})})}),(0,l.jsx)(v,{position:"left",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slidePrev()},disabled:0===b}),(0,l.jsx)(v,{position:"right",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slideNext()},disabled:b===(null==n?void 0:n.length)-1})]})]})}n(7354);let g=e=>{let{icon:t,bgColor:n,shareUrl:i}=e;return(0,l.jsx)("a",{href:i,className:"size-[32px] min-h-[32px] min-w-[32px] rounded-full text-white flex items-center justify-center",style:{backgroundColor:n},target:"_blank",rel:"noopener noreferrer","aria-label":"Share this",children:(0,l.jsx)(t,{})})};function v(e){let{position:t,onClick:n,disabled:i=!1}=e;return(0,l.jsx)("button",{className:"absolute top-1/4 lg:top-1/2 transform -translate-y-1/2 z-10 border border-white text-white rounded-full size-[30px] min-w-[30px] min-h-[30px] lg:size-[50px] lg:min-h-[50px] lg:min-w-[50px] flex items-center justify-center "+("left"===t?" left-[5%] lg:left-[9%]":" right-[5%] lg:right-[9%]")+(i?" opacity-40":" opacity-100"),onClick:n,disabled:i,"aria-label":"Arrow",children:"left"===t?(0,l.jsx)(a.x_l,{}):(0,l.jsx)(a.Z1Y,{})})}},84015:function(e,t,n){n.d(t,{Z:function(){return i}});var l=n(57437);function i(e){let{size:t="md"}=e;
1return(0,l.jsx)("div",{className:{sm:"h-[15px]",md:"h-[30px]",lg:"h-[50px]",xl:"h-[75px]"}[t]})}},25137:function(e,t,n){n.d(t,{Z:function(){return o}});var l=n(57437),i=n(81609);let r={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",body3:"p",label:"p"},o=e=>{let{variant:t="body1",color:n,className:o,language:a=i.k$,children:d,style:c,...s}=e,u=r[t],m=" ".concat(n?" ":" text-[#36454F] dark:text-white ","  ").concat(("te"===a?{h1:"text-[28px] md:text-[32px] leading-[1.35] !font-normal",h2:"text-[24px] md:text-[28px] leading-[1.35] !font-normal",h3:"text-[22px] md:text-[24px] leading-[1.35] !font-normal",h4:"text-[20px] md:text-[22px] !font-normal leading-[1.35]",h5:"text-[18px] md:text-[20px] !font-normal leading-[1.35]",h6:"text-[16px] md:text-[18px] !font-normal leading-[1.35]",subtitle1:"text-[19px] md:text-xl !font-normal leading-[1.4]",subtitle2:"text-[17px] md:text-lg !font-normal leading-[1.4]",body1:"text-lg md:text-[19px] leading-[32px] md:leading-[34px]",body2:"text-base md:text-[17px] leading-[1.65]",body3:"text-sm leading-[1.6]",label:"text-base md:text-[17px] leading-[28px]"}:{h1:"text-[25px] md:text-[27px] leading-[1.3] md:leading-[1.3] font-[600]",h2:"text-[22px] md:text-[24px] leading-[1.3] md:leading-[1.3] font-[600]",h3:"text-[20px] md:text-[22px] leading-[1.3] md:leading-[1.3] font-[600]",h4:"text-[18px] md:text-[20px] font-[600] leading-[1.3] md:leading-[1.3]",h5:"text-[16px] md:text-[18px] font-[600] leading-[1.3] md:leading-[1.3]",h6:"text-[14px] md:text-[16px] font-[600] leading-[1.3] md:leading-[1.3]",subtitle1:"text-[17px] md:text-lg font-medium leading-[1.3] md:leading-[1.3]",subtitle2:"text-[15px] md:text-base font-medium leading-[1.3] md:leading-[1.3]",body1:"text-base leading-[26px] md:leading-[26px]",body2:"text-[14px] md:text-sm leading-[1.5]",body3:"text-xs leading-[1.5]",label:"text-[15px] md:text-base lg:text-[13px] leading-[24px]"})[t]," ").concat("te"===a?"h1"===t||"h2"===t||"h3"===t||"h4"===t||"h5"===t||"h6"===t||"subtitle1"===t||"subtitle2"===t?"font-title":"font-content":"font-sans"," ").concat(o);return(0,l.jsx)(u,{style:{color:n||"",...c||{}},className:m,...s,children:d})}},40924:function(e,t,n){n.d(t,{ZW:function(){return d},gr:function(){return a},wf:function(){return o}});var l=n(11140),i=n(49089),r=n(37996);let o={instagram:l.Vs6,facebook:i.tBk,twitter:l.AMt,whatsapp:l.RGt,youtube:l.bUO,linkedin:i.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:""}],d={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"}}},8365:function(e,t,n){n.d(t,{Jn:function(){return m},fZ:function(){return f},fz:function(){return h},gz:function(){return u},hv:function(){return p},pn:function(){return x}});var l=n(99671);let i="/api/media/file/",r={ld:360,sd:640,md:900,hd:1280,fullHD:1920};function o(){let e=(l.Z.imgStoreUrl||"").replace(/\/+$/,""),t=(l.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(l.Z.imgStoreUrl||"").replace(/\/+$/,"")}function d(e){let t=(e||"").trim();if(!t)return"";if(/^https?:\/\//i.test(t))try{let{pathname:e}=new URL(t),n=e.indexOf(i);if(-1!==n)return decodeURIComponent(e.slice(n+i.length));let l=a();if(l)try{let n=new URL(l).pathname.replace(/\/$/,"");if(e.startsWith(n)&&""!==n)return decodeURIComponent(e.slice(n.length).replace(/^\//,""));if(t.startsWith("".concat(l,"/")))return decodeURIComponent(t.slice(l.length+1))}catch(e){}return decodeURIComponent(e.replace(/^\//,""))}catch(e){return t}if(t.includes(i)){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=(l.Z.publicServerUrl||"").replace(/\/+$/,""),n=String(null!=e?e:"").trim().split("/").filter(Boolean);if(!t||0===n.length)return"";let i=n.map(e=>encodeURIComponent(e)).join("/");return"".concat(t,"/api/media/file/").concat(i)}function s(e){let t=d(e);if(!t)return"";if(o())return c(t);let n=a();return n?"".concat(n,"/").concat(t):c(t)}let u=e=>{if(!e)return"";try{let t=(l.Z.publicServerUrl||l.Z.imgStoreUrl||"").replace(/\/$/,"");if(!t)return e;let n=d(e);if(!n)return e;if(o())return"".concat(t,"/api/media/file/").concat(n);let i=a();return i?"".concat(i,"/").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(i)||e&&t.includes(new URL(e).hostname)?s(t):t}return s(t)};function p(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 i of[t,"ld","sd","md","hd"]){var n,l;let t=null===(l=e.sizes)||void 0===l?void 0:null===(n=l[i])||void 0===n?void 0:n.filename;if(t)return t}return e.filename||""}(e,t);return n?m(n):""}function h(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 l of t){let t=e.sizes[l],i=null==t?void 0:t.filename;if(!i)continue;let o=m(i),a=(null==t?void 0:t.width)||r[l];o&&a&&n.push("".concat(o," ").concat(a,"w"))}return n.join(", ")}let f=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 l of["md","sd","ld","hd","fullHD"]){var n;let i=null===(n=e.sizes)||void 0===n?void 0:n[l];(null==i?void 0:i.filename)&&t.push(i.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):""},x=e=>{var t,n,l,i,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===(i=e.sizes)||void 0===i?void 0:null===(l=i.fullHD)||void 0===l?void 0:l.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""}},89693:function(e,t,n){n.d(t,{Af:function(){return i},G8:function(){return r},mS:function(){return l}});let l=e=>{if("/"===e)return"te-IN";let t=e.match(/^\/([\w]{2}-[\w]{2})(\/|$)/i);return t?t[1]:"te-IN"},i=e=>{if("/"===e)return"";let t=e.match(/^\/([\w]{2}-[\w]{2})(\/|$)/i);return t?"/".concat(t[1]):""};function r(e,t){var n;let l=e.match(/^\/([\w]{2}-[\w]{2})(\/|$)/i);return l?"te"===(l[1].split(/[-_]/)[0]||"te").toLowerCase()?"te":"en":"te"===((null===(n=(null!=t?t:"").toString().trim().split(/[-_]/)[0])||void 0===n?void 0:n.toLowerCase())||"te")?"te":"en"}}}]);
2//# sourceMappingURL=7791-679652005942248a.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.