1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5018],{60714:(e,i,l)=>{"use strict";l.r(i),l.d(i,{__N_SSP:()=>f,default:()=>N});var s=l(37876),a=l(14232),n=l(88466),t=l.n(n);l(44357);var r=l(48468);l(55470);var o=l(33654);l(65755),l(30247);var d=l(28358);l(98322);var c=l(75961),m=l.n(c);l(42310);var u=l(94089),h=l(43463),p=l.n(h),x=l(18847);function v(e){var i,l,n,r,o,d;let{data:c={}}=e,[h,x]=(0,a.useState)(null),[v,g]=(0,a.useState)(!0),[j,w]=(0,a.useState)(!1),[f,N]=(0,a.useState)(!1),[b,k]=(0,a.useState)(null),[y,S]=(0,a.useState)(!0),[_,L]=(0,a.useState)(!0),[T,C]=(0,a.useState)(!1),[P,R]=(0,a.useState)(0),[D,B]=(0,a.useState)({rows:3,slidesPerRow:3,slidesToShow:1}),E=((null==c?void 0:c.data)||[]).length;D.rows,D.slidesPerRow,D.slidesToShow;let q=()=>{window.innerWidth<=1e3&&L(!1),window.innerWidth<=1300&&C(!0)},M=E>9,A={rows:3,slidesPerRow:3,slidesToShow:1,slidesToScroll:1,infinite:M,arrows:M,autoplay:!1,responsive:[{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,rows:1,slidesPerRow:1}},{breakpoint:990,settings:{slidesToShow:(null==(i=(null==c?void 0:c.data)||c)?void 0:i.length)>3?3:null==(l=(null==c?void 0:c.data)||c)?void 0:l.length,slidesToScroll:1,infinite:!0,rows:1,slidesPerRow:1}},{breakpoint:1565,settings:{rows:3,slidesPerRow:3,slidesToShow:1,slidesToScroll:1,infinite:!0}},{breakpoint:1930,settings:{rows:3,slidesPerRow:3,slidesToShow:1,slidesToScroll:1,infinite:!0}}]};A.afterChange=e=>{R(e)},A.nextArrow=(0,s.jsx)(e=>{let{className:i,style:l,onClick:a}=e;return(0,s.jsx)("div",{className:"".concat(i," custom-slick-arrow next-arrow"),style:{...l,display:"block"},onClick:a,"aria-hidden":"true"})},{}),A.prevArrow=(0,s.jsx)(e=>{let{className:i,style:l,onClick:a}=e;return(0,s.jsx)("div",{className:"".concat(i," custom-slick-arrow prev-arrow"),style:{...l,display:"block"},onClick:a,"aria-hidden":"true"})},{});let W=e=>{x(i=>e)};return(0,a.useEffect)(()=>(k(t()(c,"data",[]).map(e=>e.pdfFile)),window.addEventListener("resize",q),()=>{window.removeEventListener("resize",q)}),[]),(0,a.useEffect)(()=>{let e=()=>{var e;let i=(null==(e=(null==c?void 0:c.data)||c)?void 0:e.length)||0,l=window.innerWidth;l<=767?B({rows:1,slidesPerRow:1,slidesToShow:1}):l<=990?B({rows:1,slidesPerRow:1,slidesToShow:Math.min(3,i)}):B({rows:3,slidesPerRow:3,slidesToShow:1})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[c]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"publishing-section-new",children:[(0,s.jsx)("h2",{className:"heading-02",children:p()(t()(c,"label"))?"Technologies":(0,s.jsxs)("span",{children:[t()(c,"label.normal","")," ",t()(c,"label.colored","")]})}),(0,s.jsx)("div",{className:"publishing-wrap-new",children:(0,s.jsxs)("div",{className:"jsx-4416df6081a3e34c slider-container",children:[(0,s.jsx)(m(),{id:"4416df6081a3e34c",children:".publication-less-cards{display:flex!important;flex-wrap:wrap!important;gap:0!important;width:100%}.publication-less-cards .emerging-slide{max-width:312px!important;width:100%}.publication-less-cards .emerging-card{width:100%!important;max-width:518px!important;margin:0 auto}@media(max-width:990px){.publication-less-cards .emerging-slide{flex:0 0 50%!important;max-width:50%!important}}@media(max-width:767px){.publication-less-cards .emerging-slide{flex:0 0 100%!important;max-width:100%!important}}@media(min-width:991px){.publishing-section-new .slider-container .slick-arrow{opacity:1!important;display:block!important;visibility:visible!important}.publishing-section-new .slider-container .slick-arrow.slick-hidden{display:block!important;opacity:1!important;visibility:visible!important}.publishing-section-new .slider-container .custom-slick-arrow{z-index:50!important;opacity:1!important;visibility:visible!important;display:block!important;pointer-events:auto!important}.publishing-section-new .slider-container .custom-slick-arrow:before{color:#fff!important;font-size:20px!important}.publishing-wrap-new .slick-arrow{right:15px;bottom:-60px}.publishing-wrap-new .slick-prev{bottom:-60px;right:200px;left:unset}}.publishing-wrap-new .slider-container .slick-slide{height:60%!important}.publishing-wrap-new .slider-container .emerging-card{max-width:518px!important;height:370px!important}.ux4g-bigger-text-4x .publishing-wrap-new .slider-container .emerging-card{max-width:518px!important;height:230px!important}@media(min-width:1024px)and (max-width:2559px){.right-container-yellow-border.bg-grey-09.introduction-wrapper{margin-left:3rem!important}}
1.publishing-wrap-new .slider-container .emerging-slide{padding:0 5px!important}.publishing-section-new .slider-container .slide-indicator{position:absolute;right:70px;width:120px;display:flex;justify-content:center;bottom:-48px;color:black;font-weight:600;padding:6px 10px;font-size:13px;z-index:60}"}),(null==(n=(null==c?void 0:c.data)||c)?void 0:n.length)>0&&(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c slide-indicator",children:(()=>{var e;let i=(null==(e=(null==c?void 0:c.data)||c)?void 0:e.length)||0,l=Math.min(i,D.rows*D.slidesPerRow*D.slidesToShow+P*(D.rows*D.slidesPerRow));return"".concat(l," out of ").concat(i)})()}),(null==c||null==(r=c.data)?void 0:r.length)==0?(0,s.jsx)(s.Fragment,{children:" No Result found, Please Filter Your Search !!"}):(0,s.jsxs)(s.Fragment,{children:[" ",M?(0,s.jsx)(u.A,{...A,style:{overflow:"hidden"},children:null==(o=(null==c?void 0:c.data)||c)?void 0:o.map((e,i)=>{var l,a;let n=(null==e?void 0:e.url)||(null==e||null==(a=e.link)||null==(l=a[0])?void 0:l.url)||(null==e?void 0:e.pdf_file)||"#";return(0,s.jsx)("div",{onMouseOver:()=>W(i),className:"jsx-4416df6081a3e34c emerging-slide publishing-content",children:(0,s.jsx)("a",{target:"_blank",href:n,className:"jsx-4416df6081a3e34c",children:(0,s.jsx)("div",{style:{backgroundImage:"url(".concat(t()(e,"cardImge.url")||t()(e,"image.url")||"assets/images/default_publication.png",")")},className:"jsx-4416df6081a3e34c "+"emerging-card ".concat(t()(e,"pdfColor")?t()(e,"pdfColor"):""),children:(0,s.jsxs)("div",{className:"jsx-4416df6081a3e34c emerging-info",children:[t()(e,"category")&&(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c mark_row",children:(0,s.jsx)("mark",{className:"jsx-4416df6081a3e34c",children:t()(e,"category")})}),(0,s.jsx)("p",{title:null==e?void 0:e.title,className:"jsx-4416df6081a3e34c card-text",children:t()(e,"title")||e.description}),(null==e?void 0:e.submittedBy)&&(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c link-detail-submitted",children:(0,s.jsxs)("div",{className:"jsx-4416df6081a3e34c details",children:[(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:"Submitted By : "}),(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:null==e?void 0:e.submittedBy})]})}),(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c link-detail",children:(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c details",children:e.url&&(0,s.jsx)("span",{style:{color:"#ffffff",fontWeight:"bold"},className:"jsx-4416df6081a3e34c",children:(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:"See Details >>"})})})})]})})})},i)})}):(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c flexbox publication-less-cards",children:null==(d=(null==c?void 0:c.data)||c)?void 0:d.map((e,i)=>{var l,a;return(0,s.jsx)("div",{onMouseOver:()=>W(i),className:"jsx-4416df6081a3e34c emerging-slide publishing-content",children:(0,s.jsx)("a",{target:"_blank",href:"".concat(e.url||(null==(a=e.link)||null==(l=a[0])?void 0:l.url)||e.pdf_file),className:"jsx-4416df6081a3e34c",children:(0,s.jsx)("div",{style:{backgroundImage:"url(".concat(t()(e,"cardImge.url")||t()(e,"image.url")||"assets/images/default_publication.png",")")},className:"jsx-4416df6081a3e34c "+"emerging-card ".concat(t()(e,"pdfColor")?t()(e,"pdfColor"):""),children:(0,s.jsxs)("div",{className:"jsx-4416df6081a3e34c emerging-info",children:[t()(e,"category")&&(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c mark_row",children:(0,s.jsx)("mark",{className:"jsx-4416df6081a3e34c",children:t()(e,"category")})}),(0,s.jsx)("p",{title:null==e?void 0:e.title,className:"jsx-4416df6081a3e34c card-text",children:t()(e,"title")||e.description}),(null==e?void 0:e.submittedBy)&&(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c link-detail-submitted",children:(0,s.jsxs)("div",{className:"jsx-4416df6081a3e34c details",children:[(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:"Submitted By : "}),(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:null==e?void 0:e.submittedBy})]})}),(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c link-detail",children:(0,s.jsx)("div",{className:"jsx-4416df6081a3e34c details",children:e.url&&(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:(0,s.jsx)("span",{className:"jsx-4416df6081a3e34c",children:"See Details >>"})})})})]})})})},i)})})]})]})})]})})}l.n(x)()(()=>Promise.resolve().then(l.bind(l,72351)),{loadableGenerated:{webpack:()=>[72351]},loading:()=>(0,s.jsx)("p",{children:"Loading..."})});let g={ministry:"",farm:"",categories:"",title:"",trl:"",deployed:""},j=function(e){var i,l,n,t,r;let{pageData:o}=e,{ministryList:c=[],farmList:m=[],categoriesOptions:u=[],nonFarmcategoriesOptions:h=[],title:p=[],trlOption:x=[],deployedOption:j=[]}=(null==o?void 0:o.componentData)||{},[w,f]=(0,a.useState)(g),[N,b]=(0,a.useState)((null==o||null==(l=o.componentData)||null==(i=l.searchProject)?void 0:i.data)||[]),k=(e,i)=>{let l=JSON.parse(JSON.stringify(w));l[e]=i,f(l)},y=async()=>{try{var e,i;let l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=Object.entries(e).filter(e=>{let[i,l]=e;return null!=l&&""!==l}).map(e=>{let[i,l]=e;return"".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(l))}).join("&");return i?"?".concat(i):""}(w),s=await fetch("/api/livelihood-analytics".concat(l)),a=await s.json(),n=(null==a||null==(i=a.data)||null==(e=i.searchProject)?void 0:e.data)||[];b(n)}catch(e){console.error("[LivelihoodSearch] submit error:",e)}};return(0,s.jsxs)("div",{className:"livelihood-search",children:[(0,s.jsxs)("div",{className:"search-filters search-filters-box",children:[(0,s.jsxs)("div",{className:"search-line search-line-1",children:[(0,s.jsx)("div",{className:"label",children:"Search Technologies"}),(0,s.jsx)("div",{className:"ministry-select",children:(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)("div",{className:"form-data text_area required",children:(0,s.jsxs)("div",{className:"custom-select-wrapper",children:[(0,s.jsxs)("select",{className:"form-control",name:"ministry",value:null==w?void 0:w.ministry,onChange:e=>k("ministry",e.target.value),required:!0,autoComplete:"off",children:[(0,s.jsx)("option",{value:"",children:"All Ministries"}),null==c?void 0:c.map((e,i)=>(0,s.jsx)("option",{value:null==e?void 0:e.value,children:null==e?void 0:e.label},i))]}),(0,s.jsx)("svg",{className:"downarrow",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:(0,s.jsx)("path",{d:"M1 1L6 6L11 1",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})})}),(0,s.jsx)("div",{className:"farm-select",children:(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)("div",{className:"form-data text_area required",children:(0,s.jsxs)("div",{className:"custom-select-wrapper",children:[(0,s.jsxs)("select",{className:"form-control",name:"farm",value:null==w?void 0:w.farm,onChange:e=>k("farm",e.target.value),required:!0,autoComplete:"off",children:[(0,s.jsx)("option",{value:"",children:"All Sectors"}),null==m?void 0:m.map((e,i)=>(0,s.jsx)("option",{value:null==e?void 0:e.value,children:null==e?void 0:e.label},i))]}),(0,s.jsx)("svg",{className:"downarrow",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:(0,s.jsx)("path",{d:"M1 1L6 6L11 1",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})})}),(0,s.jsx)("div",{className:"category-select",children:(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)("div",{className:"form-data text_area required",children:(0,s.jsxs)("div",{className:"custom-select-wrapper",children:[(0,s.jsxs)("select",{className:"form-control",name:"categories",value:null==w?void 0:w.categories,onChange:e=>k("categories",e.target.value),required:!0,autoComplete:"off",children:[(0,s.jsx)("option",{value:"",children:"All Categories"}),null==(n="non_farm"==w.farm?h:u)?void 0:n.map((e,i)=>(0,s.jsx)("option",{value:null==e?void 0:e.value,children:null==e?void 0:e.label},i))]}),(0,s.jsx)("svg",{className:"downarrow",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:(0,s.jsx)("path",{d:"M1 1L6 6L11 1",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})})})]}),(0,s.jsxs)("div",{className:"search-line search-line-2",children:[(0,s.jsx)("div",{className:"label-spacer","aria-hidden":"true"}),(0,s.jsx)("div",{className:"trl-select",children:(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)("div",{className:"form-data text_area required",children:(0,s.jsxs)("div",{className:"custom-select-wrapper",children:[(0,s.jsxs)("select",{className:"form-control",name:"trl",value:null==w?void 0:w.trl,onChange:e=>k("trl",e.target.value),required:!0,autoComplete:"off",children:[(0,s.jsx)("option",{value:"",children:"Select TRL"}),null==x?void 0:x.map((e,i)=>(0,s.jsx)("option",{value:null==e?void 0:e.value,children:null==e?void 0:e.label},i))]}),(0,s.jsx)("svg",{className:"downarrow",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:(0,s.jsx)("path",{d:"M1 1L6 6L11 1",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})})}),(0,s.jsx)("div",{className:"deployed-select",children:(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)("div",{className:"form-data text_area required",children:(0,s.jsxs)("div",{className:"custom-select-wrapper",children:[(0,s.jsxs)("select",{className:"form-control",name:"deployed",value:null==w?void 0:w.deployed,onChange:e=>k("deployed",e.target.value),required:!0,autoComplete:"off",children:[(0,s.jsx)("option",{value:"",children:"Technologies Deployed"}),null==j?void 0:j.map((e,i)=>(0,s.jsx)("option",{value:null==e?void 0:e.value,children:null==e?void 0:e.label},i))]}),(0,s.jsx)("svg",{className:"downarrow",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",children:(0,s.jsx)("path",{d:"M1 1L6 6L11 1",stroke:"#333",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})})}),(0,s.jsx)("div",{className:"text-search",children:(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)("div",{className:"form-data text_area",children:(0,s.jsx)("input",{type:"text",className:"form-control",placeholder:"Search Technologies",name:"title",value:(null==w?void 0:w.title)||"",onChange:e=>k("title",e.target.value),autoComplete:"off"})})})}),(0,s.jsx)("div",{className:"submit-button",children:(0,s.jsx)(d.A,{cName:"livelihood-button",bType:"button",clickHandler:y,bValue:"FILTER"})})]})]}),(0,s.jsx)("div",{className:"search-data",children:(0,s.jsx)("div",{className:"resource_publication_section_new",id:"resource-publication",children:(0,s.jsx)("div",{className:"right-container-yellow-border bg-grey-09 introduction-wrapper",children:(0,s.jsx)(v,{data:{data:N,title:(null==o||null==(r=o.componentData)||null==(t=r.searchProject)?void 0:t.t
1itle)||""}})})})})]})},w=function(e){var i,l,a,n,t,r;let{pageData:d}=e;return(0,s.jsxs)("div",{className:"livelihood-analytics-mission",children:[(0,s.jsx)(o.A,{dataProps:{title:null==(i=d.componentData)?void 0:i.title,testBannerImage:{url:null==(a=d.componentData)||null==(l=a.bannerimage)?void 0:l.url,alt:null==(t=d.componentData)||null==(n=t.bannerimage)?void 0:n.alt},body:null==(r=d.componentData)?void 0:r.subheading},pageData:d}),(0,s.jsx)(j,{pageData:d})]})};var f=!0;function N(e){let{pageData:i}=e;if(!i)return(0,s.jsx)("div",{children:" loading ...."});let l=t()(i,"componentData.metatags",{});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.A,{...l,homePagetest:!0}),(0,s.jsx)("div",{className:"page-container",children:(0,s.jsx)(w,{pageData:i})})]})}},74593:(e,i,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/livelihood-analytics",function(){return l(60714)}])}},e=>{e.O(0,[6649,4089,3872,10,9422,8322,2579,636,6593,8792],()=>e(e.s=74593)),_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.