PageSourceSearch

https://cswri.res.in/_next/static/chunks/pages/PatentsDetails-cd8a304c6d6e6ecc.js

js cswri.res.in collected 2026-10-02 21:28:10 UTC 6,512 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2632],{2363:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/PatentsDetails",function(){return s(81272)}])},42063:function(e,t,s){"use strict";s.d(t,{Z:function(){return n}});var l=s(85893);s(67294);var i=s(31607);function n(){return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(i.Z,{className:"preloader",type:"Puff",color:"#00BFFF",height:100,width:100})})}},81272:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return g}});var l=s(85893),i=s(67294),n=s(12665),a=s(20907);s(68549);var r=s(11163),o=s(72132),c=s(42063),d=s(50441),u=s(70846),m=s(9008),x=s.n(m),h=s(41664),v=s.n(h);s(92814);var f=s(44821);function g(){var e;let[t,s]=(0,i.useState)(!1),[m,h]=(0,i.useState)([]),[g,j]=(0,i.useState)([]),p=(0,r.useRouter)();(0,i.useEffect)(()=>{let{id:e}=p.query;y(e),N(e)},[p]);let y=async e=>{try{s(!0),u.p.getMainResearch({headers:{id:e}}).then(e=>{s(!1);let t=null==e?void 0:e.data;!0===t.status&&h(null==t?void 0:t.object)}).catch(e=>{var t,l;console.log(e),o.Am.dismiss(),o.Am.error(null===(l=e.response)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.message),s(!1)})}catch(e){var t,l;console.log(e),o.Am.dismiss(),o.Am.error(null===(l=e.response)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.message),s(!1)}},N=async e=>{try{s(!0),u.p.getMainResearchImg({headers:{researchId:e}}).then(e=>{s(!1);let t=null==e?void 0:e.data;!0===t.status&&j(null==t?void 0:t.object)}).catch(e=>{var t,l;console.log(e),o.Am.dismiss(),o.Am.error(null===(l=e.response)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.message),s(!1)})}catch(e){var t,l;console.log(e),o.Am.dismiss(),o.Am.error(null===(l=e.response)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.message),s(!1)}},[b,w]=(0,i.useState)(null),[_,k]=(0,i.useState)(!1),I=e=>{w(e),k(!0)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(x(),{children:[(0,l.jsx)("link",{rel:"icon",href:"/cswri-logo.jpg"}),(0,l.jsx)("title",{children:"CSWRI | PatentsDetails"})]}),t?(0,l.jsx)(c.Z,{}):(0,l.jsx)(l.Fragment,{}),(0,l.jsx)(n.Z,{active:"Patents Details"}),(0,l.jsxs)("div",{className:"backdrop",children:[(0,l.jsx)("section",{className:"mb-[5%]",children:(0,l.jsx)("div",{className:"container-fluid",style:{backgroundImage:"url(/common-bg.jpg)"},children:(0,l.jsx)("div",{className:"bannerTitle    text-center    p-[40px] text-[3.5rem] mb-10",children:(0,l.jsx)("p",{className:"fontFamily",style:{fontWeight:600,color:"#fff"},children:"Patents Details"})})})}),(0,l.jsxs)("section",{className:"container mt-[-3%]",children:[(0,l.jsx)("div",{className:"container my-[2%]",children:(0,l.jsx)(v(),{href:"/Patents",className:"block",children:(0,l.jsxs)("button",{className:"bg-white text-center w-40 rounded-2xl h-10 relative text-black text-lg font-semibold group",type:"button",children:[(0,l.jsx)("div",{className:"bg-[#007FA6] rounded-xl h-8 w-1/4 flex items-center justify-center absolute left-1 top-[4px] group-hover:w-[120px] z-10 duration-500",children:(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",height:"20px",width:"20px",children:[(0,l.jsx)("path",{d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z",fill:"#ffffff"}),(0,l.jsx)("path",{d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z",fill:"#ffffff"})]})}),(0,l.jsx)("p",{className:"translate-x-2",children:"Go Back"})]})})}),null==m?void 0:m.map((e,t)=>(0,l.jsxs)("div",{className:"row greenhead my-4 ",children:[(0,l.jsx)("div",{className:"col-md-9 ",children:(0,l.jsx)("div",{className:" mr-6 flex",children:(0,l.jsxs)("div",{className:"flex-col ",children:[(0,l.jsx)("h3",{className:"text-[#007fa6] text-[26px]",style:{fontWeight:600},children:null==e?void 0:e.title}),(0,l.jsx)("p",{className:"para_width text-lg text-black mt-2 text-justify divisionPara  cstm-montesret leading-6 text-gray-600 text-justify text-serif",dangerouslySetInnerHTML:{__html:null==e?void 0:e.descr},style:{textAlign:"justify"}}),(0,l.jsx)("p",{className:"flex-col text text-lg text-#6c757d text-justify mt-3 divisionPara  cstm-montesret leading-6 text-gray-600 text-justify text-serif",style:{color:"red"},children:null==e?void 0:e.url})]})})}),(0,l.jsx)("div",{className:"col-md-3 d-flex mt-3",style:{height:"200px"},children:(0,l.jsx)("img",{className:"aspect-image",src:(null===d.G||void 0===d.G?void 0:d.G.fileUrl())+(null==e?void 0:e.img),alt:"Logo",width:400})})]},t)),(0,l.jsx)("div",{className:"widthImg row",children:null==g?void 0:g.map((e,t)=>(0,l.jsx)("div",{className:"col-md-3",children:(0,l.jsx)("div",{className:"hover:scale-110 multipleImage",onClick:()=>I(t),children:(0,l.jsx)("img",{className:"aspect-image",src:(null===d.G||void 0===d.G?void 0:d.G.fileUrl())+(null==e?void 0:e.url),alt:"Logo"})})},t))}),(0,l.jsx)("br",{})]})]}),(0,l.jsx)(a.Z,{}),_&&(0,l.jsx)(f.default,{isOpen:_,toggle:()=>{k(!1)},content:null===(e=g[b])||void 0===e?void 0:e.url,currentIndex:b,totalImages:g.length,prevImage:()=>{w(e=>Math.max(e-1,0))},nextImage:()=>{w(e=>Math.min(e+1,g.length-1))}})]})}},44821:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return o}});var l=s(85893);s(67294);var i=s(50450),n=s(50441),a=s(92814),r=s(51436);function o(e){let{isOpen:t,toggle:s,content:o,currentIndex:c,totalImages:d,prevImage:u,nextImage:m}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{children:(0,l.jsx)(i.u_,{isOpen:t,toggle:s,className:"multiple-images-modal mt-[7%] ",style:{maxWidth:"50%"},children:(0,l.jsx)(i.fe,{children:(0,l.jsxs)("div",{children:[(0,l.jsx)("button",{disabled:0===c,onClick:u,style:{fontSize:"25px",position:"absolute",top:"50%",left:"0",transform:"translateY(-50%)",zIndex:"1",opacity:0===c?.5:1,pointerEvents:0===c?"none":"auto"},children:(0,l.jsx)(a.G,{icon:r.EyR})}),(0,l.jsx)("img",{className:"",src:(null===n.G||void 0===n.G?void 0:n.G.fileUrl())+o,alt:"Full Image",style:{width:"100%",height:"400px",objectFit:"contain",display:"block",margin:"0 auto"}}),(0,l.jsx)("button",{disabled:c===d-1,onClick:m,style:{fontSize:"25px",position:"absolute",top:"50%",right:"0",transform:"translateY(-50%)",zIndex:"1",opacity:c===d-1?.5:1,pointerEvents:c===d-1?"none":"auto"},children:(0,l.jsx)(a.G,{icon:r.yOZ})})]})})})})})}},9008:function(e,t,s){e.exports=s(23867)},11163:function(e,t,s){e.exports=s(43079)}},function(e){e.O(0,[8523,260,2814,673,1664,1607,5675,6611,5731,907,2665,2888,9774,179],function(){return e(e.s=2363)}
1),_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.