1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{87943:function(e,t,i){Promise.resolve().then(i.bind(i,11691)),Promise.resolve().then(i.bind(i,71202)),Promise.resolve().then(i.bind(i,29389)),Promise.resolve().then(i.t.bind(i,62833,23)),Promise.resolve().then(i.bind(i,79309)),Promise.resolve().then(i.t.bind(i,80376,23))},93632:function(e,t,i){"use strict";var n=i(18762);i(52089);var o=i(1625);t.Z=e=>(0,n.jsx)(o.Z,{...e,viewBox:"0 0 100 100",children:(0,n.jsxs)("g",{fill:"none",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"M 10,25 A 15,15 0 0,1 40,25 V 80 A 15,15 0 0,1 10,80 Z"}),(0,n.jsx)("path",{d:"M 10,40 A 15,15 0 0,1 40,40"}),(0,n.jsx)("path",{d:"M 10,80 A 15,15 0 0,1 40,80"}),(0,n.jsx)("circle",{cx:"25",cy:"80",r:"5"}),(0,n.jsx)("path",{d:"M 40,40 C 55,55 75,15 90,25 V 65 C 75,55 55,95 40,80"}),(0,n.jsx)("path",{d:"M 40,60 C 55,75 75,35 90,45"})]})})},32289:function(e,t,i){"use strict";i.r(t);var n=i(18762),o=i(829),l=i.n(o),a=i(83089),r=i.n(a),s=i(17103),c=i(26344),d=i(87938),u=i(99864);t.default=function(e){let{showSearchIcon:t,title:i}=e,{translatedData:o}=(0,s._)(),{mainHeading:a,heading:x}=(0,u.Z)();return(0,n.jsxs)(c.ZP,{container:!0,spacing:1,children:[(0,n.jsx)(c.ZP,{item:!0,xs:12,children:(0,n.jsx)(d.Z,{title:"Vikaspedia",ml:1,sx:{color:e=>"light"===e.palette.mode?"#162F6A":e.palette.primary.contrastText,fontFamily:[r().style.fontFamily,l().style.fontFamily].join(","),fontSize:t?x:a},children:null==o?void 0:o.logo_name})}),(0,n.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Cinzel&display=swap",rel:"stylesheet"})]})}},79309:function(e,t,i){"use strict";i.d(t,{default:function(){return tR}});var n=i(18762),o=i(52089),l=i(55981),a=i(34584),r=i(8387),s=i(5308),c=i(13148),d=i(5197),u=i(57083),x=i(89087),h=i(68575),p=i(8497),m=i.n(p),g=i(24229),f=i.n(g),v=i(64832),b=i.n(v);let y=(0,r.Z)({palette:{mode:"light",primary:{main:"#111111",light:"#bbdefb",contrastText:"#ffffff",contrastText1:"#1E1E1E"},success:{main:"#00452a",light:"#4caf50",dark:"#106A39",contrastText:"#1E1E1E"},warning:{main:"#fec10c",light:"#ffff82",dark:"#db9e00",contrastText:"#111111"},error:{main:"#ed1b23",light:"#ffcccc",dark:"#ca0000",contrastText:"#1E1E1E"},common:{green:"#00FF00"}},typography:{fontFamily:[b().style.fontFamily,m().style.fontFamily,f().style.fontFamily].join(",")},components:{MuiButton:{styleOverrides:{root:{fontFamily:"".concat(b().style.fontFamily,", ").concat(m().style.fontFamily,", ").concat(f().style.fontFamily)}}}}});var j=i(42104),k=i(26344),Z=i(87938),w=i(91512),C=i(41551),S=i(97740),_=i(52652),I=i(63647),T=i(1421),A=i(29413),F=i(37875),D=i(17103),P=i(9681),E=i(99864),M=i(82989),L=i(40543),R=e=>{let{}=e,t=(0,A.Z)(),i="light"===t.palette.mode,{translatedData:a}=(0,D._)(),{content:r,heading:s,footerDividerHeight:c,dividerHorizontal:d}=(0,E.Z)(),u=(0,T.Z)(t.breakpoints.up("md")),x=(0,M.useRouter)(),h=[{text:"Funded by",icon:i?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/meity/footerlogo.webp":"https://static.vikaspedia.in/assets/vikaspedia/images/landingPage/footer/200x75.png",label:"MeitY",url:"https://www.meity.gov.in/",hoverText:" MeitY (External link)"},{text:"Implemented by",icon:i?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/footercdaclogo.svg":"https://static.vikaspedia.in/assets/vikaspedia/images/landingPage/footer/1.svg",label:"C-DAC",url:"https://www.cdac.in/",hoverText:"C-DAC (External link)"},{text:"",icon:"https://static.vikaspedia.in/assets/vikaspedia/images/landingPage/footer/200x70.png",label:"Digital India",url:"https://digitalindia.gov.in/",hoverText:"Digital India (External link)"}],p=[{icon:"https://static.vikaspedia.in/assets/vikaspedia/images/social-media/facebook/facebook.svg",label:"Facebook",url:"https://www.facebook.com/vikaspedia.bharat/",hoverText:"Vikaspedia Facebook (External link)"},{icon:"https://static.vikaspedia.in/assets/vikaspedia/images/social-media/instagram/insta.svg",label:"Instagram",url:"https://www.instagram.com/vikaspediabharat",hoverText:"Vikaspedia Instagram (External link)"},{icon:"https://static.vikaspedia.in/assets/vikaspedia/images/social-media/linkedin/linkedIn.svg",label:"LinkedIn",url:"https://www.linkedin.com/in/vikaspedia-india/",hoverText:"Vikaspedia LinkedIn (External link)"},{icon:"https://static.vikaspedia.in/assets/vikaspedia/images/social-media/twitter-x/twitter.svg",label:"Twitter",url:"https://twitter.com/vikaspedia",hoverText:"Vikaspedia X(Formerly Twitter) (External link)"},{icon:"https://static.vikaspedia.in/assets/vikaspedia/images/social-media/whatsapp/whatsapp.svg",label:"WhatsApp",url:"https://www.whatsapp.com/channel/0029VaguZrmJkK73Eh3m9f3P",hoverText:"Vikaspedia WhatsApp Channel (External link)"},{icon:"https://static.vikaspedia.in/assets/vikaspedia/images/social-media/youtube/yt.svg",label:"YouTube",url:"https://www.youtube.com/@vikaspedia",hoverText:"Vikaspedia YouTube (External link)"}],[m,g]=(0,o.useState)(!1),f={position:"fixed",bottom:"90px",right:"5
1px"},v={fontSize:"32px"},b=()=>{var e;null===(e=window)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})};(0,o.useEffect)(()=>{var e;let t=()=>{var e;(null===(e=window)||void 0===e?void 0:e.pageYOffset)>0?g(!0):g(!1)};return null===(e=window)||void 0===e||e.addEventListener("scroll",t),()=>{var e;null===(e=window)||void 0===e||e.removeEventListener("scroll",t)}},[]);let y=[{label:"About Us",link:"/aboutus",key:"About_Us"},{label:"Portal Policies",link:"/portalpolicies",key:"Portal_policies"},{label:"Link to Us",link:"/linktous",key:"link_to_us"},{label:"Contact Us",link:"/contactus",key:"Contact_Us"},{label:"Site Map",link:"/sitemap",key:"Site_Map"}];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{p:1,sx:{backgroundColor:i?"rgb(33, 74, 171)":"#121212",color:e=>e.palette.common.black},component:"footer",children:(0,n.jsxs)(k.ZP,{container:!0,justifyContent:"center",alignItems:"center",sx:{display:{xs:"none",sm:"none",md:"flex",lg:"flex",xl:"flex"},p:4},children:[(0,n.jsxs)(k.ZP,{item:!0,sm:6,md:6,lg:4,xl:4,children:[(0,n.jsx)(S.Z,{sx:{display:"flex",flexDirection:"row",gap:1,alignItems:"center",justifyContent:"center"},children:y.map((e,i)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(_.ZP,{component:"li",sx:{width:"auto",padding:0,cursor:"pointer"},title:e.label,onClick:()=>{x.push(null==e?void 0:e.link)},children:(0,n.jsx)(I.Z,{primaryTypographyProps:{sx:{color:(t.palette.mode,"#fff")}},primary:(0,n.jsx)(l.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center"},children:(0,n.jsx)(Z.Z,{title:null==a?void 0:a[e.key],sx:{fontSize:r},children:(0,n.jsxs)("strong",{children:[" ",null==a?void 0:a[e.key]]})})})})}),i<y.length-1&&(0,n.jsx)(C.Z,{orientation:"vertical",flexItem:!0,sx:{borderColor:(t.palette.mode,"#fff"),height:c,mt:.6}})]},e.key))}),(0,n.jsx)(l.Z,{sx:{display:"flex",justifyContent:"center",width:"100%"},children:(0,n.jsx)(C.Z,{sx:{borderColor:(t.palette.mode,"#fff"),width:d}})}),(0,n.jsx)(k.ZP,{item:!0,xs:12,display:"flex",alignItems:"center",justifyContent:"center",sx:{gap:1,mt:1},children:(0,n.jsx)("a",{href:"mailto:vikaspedia[at]cdac[dot]in",style:{textDecoration:"none",color:"inherit"},title:"REMOVED",children:(0,n.jsxs)(l.Z,{display:"flex",alignItems:"center",sx:{gap:1},children:[(0,n.jsx)(P.Z,{sx:{color:(t.palette.mode,"#fff"),width:"24px",height:"24px",cursor:"pointer"}}),(0,n.jsx)(Z.Z,{variant:"subtitle1",sx:{color:(t.palette.mode,"#fff")},title:"vikaspedia[at]cdac[dot]in",children:"vikaspedia[at]cdac[dot]in"})]})})})]}),(0,n.jsx)(k.ZP,{item:!0,sm:6,md:6,lg:4,xl:4,children:(0,n.jsx)(k.ZP,{container:!0,display:"flex",direction:"row",justifyContent:"center",alignItems:"center",spacing:u?2:1,children:h.map((e,t)=>(0,n.jsx)(k.ZP,{item:!0,children:(0,n.jsx)("a",{href:null==e?void 0:e.url,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit"},title:null==e?void 0:e.hoverText,children:(0,n.jsx)("div",{style:{position:"relative"},children:(0,n.jsx)(L.default,{src:null==e?void 0:e.icon,alt:null==e?void 0:e.label,width:u?148:64,height:u?48:64,style:{cursor:"pointer"},priority:!0})})})},"".concat(null==e?void 0:e.label,"-").concat(t)))})}),(0,n.jsxs)(k.ZP,{item:!0,sm:6,md:6,lg:4,xl:4,sx:{display:"grid",flexDirection:"column",alignItems:{md:"center",xl:"flex-end"},justifyContent:{xl:"center",md:"center"},textAlign:{xs:"center",sm:"center",md:"center",xl:"center"}},children:[(0,n.jsx)(Z.Z,{title:"Let's Connect",variant:"h6",gutterBottom:!0,display:"flex",mt:1,sx:{color:(t.palette.mode,"#fff")},children:(0,n.jsxs)("strong",{children:[" ",null==a?void 0:a.Lets_Connect]})}),(0,n.jsx)(k.ZP,{container:!0,spacing:2,sx:{display:"flex",flexDirection:"row"},children:p.map((e,t)=>(0,n.jsx)(k.ZP,{item:!0,children:(0,n.jsx)(F.default,{href:e.url,target:"_blank",rel:"noopener noreferrer",title:e.hoverText,style:{textDecoration:"none",color:"inherit"},children:(0,n.jsx)(l.Z,{sx:{color:"primary.contrastText","&:hover":{opacity:.8},display:"flex"},children:(0,n.jsx)(L.default,{src:e.icon,alt:e.label,width:40,height:40,style:{cursor:"pointer"}})})})},t))})]}),m&&(0,n.jsx)(l.Z,{style:f,onClick:b,children:(0,n.jsx)(j.Z,{title:"Scroll to Top",sx:{width:"40px ",height:"40px",backgroundColor:"#5279D7",color:"#D2DFFF","&:hover":{backgroundColor:"#162F6A"}},"aria-label":"scroll-to-top",children:(0,n.jsx)(w.Z,{style:v})})})]})}),(0,n.jsxs)(k.ZP,{container:!0,sx:{display:{xs:"flex",sm:"flex",md:"none",lg:"none",xl:"none"},justifyContent:{xs:"center",sm:"center"},alignItems:{xs:"center",sm:"center"}},children:[(0,n.jsxs)(k.ZP,{container:!0,spacing:2,textAlign:"center",sx:{backgroundColor:i?"rgb(33, 74, 171)":"#121212",color:e=>e.palette.common.black,justifyContent:{xs:"center",sm:"center"}},children:[(0,n.jsxs)(k.ZP,{item:!0,md:4,lg:3,xs:12,sm:6,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",color:(t.palette.mode,"#fff")},children:[(0,n.jsx)(Z.Z,{title:"Let's Connect",variant:"h6",gutterBottom:!0,children:(0,n.jsxs)("strong",{children:[" ",null==a?void 0:a.Lets_Connect]})}
1),(0,n.jsx)(k.ZP,{container:!0,spacing:2,sx:{display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"center",textAlign:"center"},children:p.map((e,t)=>(0,n.jsx)(k.ZP,{item:!0,xs:"auto",children:(0,n.jsx)(F.default,{href:e.url,target:"_blank",rel:"noopener noreferrer",title:e.hoverText,style:{textDecoration:"none",color:"inherit"},children:(0,n.jsx)(l.Z,{sx:{color:"primary.contrastText","&:hover":{opacity:.8},display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(L.default,{src:e.icon,alt:e.label,width:40,height:40,style:{cursor:"pointer"}})})})},t))})]}),(0,n.jsxs)(k.ZP,{item:!0,xs:12,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",children:[(0,n.jsx)(C.Z,{variant:"middle",flexItem:!0,sx:{display:"flex",justifyContent:"center",borderColor:(t.palette.mode,"#fff"),width:{sm:"50%",xs:"20%"},margin:"0 auto"}}),(0,n.jsxs)(S.Z,{sx:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",textAlign:"center"},children:[" ",y.map((e,i)=>(0,n.jsx)(o.Fragment,{children:(0,n.jsx)(_.ZP,{sx:{width:"auto",padding:0,cursor:"pointer"},title:e.label,onClick:()=>{x.push(null==e?void 0:e.link)},children:(0,n.jsx)(I.Z,{primaryTypographyProps:{sx:{color:(t.palette.mode,"#fff")}},primary:(0,n.jsxs)("strong",{children:[null==a?void 0:a[e.key]," "]})})})},e.key))]}),(0,n.jsx)(C.Z,{variant:"middle",flexItem:!0,sx:{display:"flex",justifyContent:"center",borderColor:(t.palette.mode,"#fff"),width:{sm:"50%",xs:"20%"},margin:"0 auto"}})]}),(0,n.jsx)(k.ZP,{container:!0,xs:12,item:!0,justifyContent:"center",alignItems:"center",textAlign:"center",spacing:1,ml:2,children:h.map((e,t)=>(0,n.jsx)(k.ZP,{item:!0,px:0,children:(0,n.jsx)("a",{href:null==e?void 0:e.url,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit"},title:null==e?void 0:e.hoverText,children:(0,n.jsx)(L.default,{src:null==e?void 0:e.icon,alt:null==e?void 0:e.label,width:100,height:100,style:{height:u?"64px":"32px",width:"auto",cursor:"pointer",objectFit:"contain"}})})},"".concat(null==e?void 0:e.label,"-").concat(t)))}),(0,n.jsx)(C.Z,{variant:"middle",flexItem:!0,sx:{p:"10px",display:"flex",justifyContent:"center",borderColor:(t.palette.mode,"#fff"),width:{sm:"50%",xs:"20%"},margin:"0 auto"}}),(0,n.jsx)(k.ZP,{item:!0,xs:12,sm:12,md:3,children:(0,n.jsx)(l.Z,{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",textAlign:"center",gap:1,children:(0,n.jsxs)(l.Z,{display:"flex",alignItems:"center",sx:{gap:1},children:[(0,n.jsx)(P.Z,{sx:{color:(t.palette.mode,"#fff"),width:"24px",height:"24px",cursor:"pointer"}}),(0,n.jsx)(Z.Z,{variant:"caption",title:"REMOVED",sx:{color:e=>"".concat(e.palette.common.white)},children:(0,n.jsx)("a",{href:"mailto:vikaspedia[at]cdac[dot]in",style:{textDecoration:"none",color:"inherit"},title:"REMOVED",children:"vikaspedia[at]cdac[dot]in"})})]})})})]}),m&&(0,n.jsx)(l.Z,{style:f,onClick:b,children:(0,n.jsx)(j.Z,{title:"Scroll to Top",color:"warning",sx:{width:"40px ",height:"40px",backgroundColor:"#5279D7",color:"#D2DFFF","&:hover":{backgroundColor:"#162F6A"}},"aria-label":"scroll-to-top",children:(0,n.jsx)(w.Z,{style:v})})})]}),(0,n.jsx)(k.ZP,{item:!0,xs:12,sm:6,md:3,lg:12,xl:12,sx:{backgroundColor:i?"#162F6A":t.palette.primary.main,color:"#ffffff",py:2},children:(0,n.jsx)(Z.Z,{variant:"caption",display:"block",align:"center",children:"Copyright \xa9 C-DAC"})})]})},B=i(11412);function N(){let{isAuthenticated:e}=(0,B.P)();return(0,o.useEffect)(()=>{"function"==typeof window.gtag&&window.gtag("set","user_properties",{user_type:e?"logged_in":"guest"})},[e]),null}var z=i(9613),V=i(62858),O=i(22855),W=i(22899),U=i(92464),H=i(57895),K=i(4237),q=i(26118),G=i(11352),Y=i(80914),X=i(13301),J=i(58016),Q=i(46140),$=i(29504),ee=i(25394),et=i(9005),ei=i(87608),en=i(91736),eo=i(92449),el=i(7733),ea=i(99329),er=i(37780),es=i(40937),ec=i(45501),ed=i(74571),eu=i(43434),ex=i(67776),eh=i(94295),ep=i(46837),em=i.n(ep),eg=i(5598);let ef="https://data.vikaspedia.in/",ev="multipart/form-data",eb=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json;charset=utf-8",n=eg.Z.create({baseURL:e,timeout:12e4,headers:{"Content-Type":i,"Access-Control-Allow-Origin":"*"}});return n.interceptors.request.use(e=>(t&&(e.headers.Authorization="Bearer ".concat(t)),e)),n.interceptors.response.use(e=>e,e=>Promise.reject(e)),n},ey=async e=>{let t=await eb(ef).post("/api/chatbot",e);return t&&t.data?t.data:null},ej=async e=>{let t=await eb(ef,null,ev).post("/generateCBAudio",e);return t&&t.data?t.data:null},ek=async e=>{let t=await eb(ef,null,ev).post("/generateCBSummary",e);return t&&t.data?t.data:null},eZ=async(e,t)=>{let i="https://inputtools.google.com/request?text=".concat(e,"&itc=").concat(t,"-t-i0-und&num=13&cp=0&cs=1&ie=utf-8&oe=utf-8&app=demopage"),n=await eg.Z.get(i);return n&&n.data?n.data:null},ew=eg.Z.create({baseURL:ef,timeout:12e4}),eC=async e=>{try{return(await ew.post("/api/chatbot/initiate-chat",null,{headers:{Authorization:"Bearer ".concat(e)}})).data}catch(e){console.error("Error initiating chat:",e),e_(e)}},eS=async(e,t)=>{try{return(await ew.post("/api/chatbot/start-new-chat-session",null,{headers:{Authorization:"Bearer ".concat(t)},params:{userId:e}})).data}catch(e){console.error("Error starting new chat session:",e),e_(e)}},e_=e=>{e.response?console.error("API Error:",e.response.status,e.response.data):e.request?c
1onsole.error("No response received:",e.request):console.error("Request setup error:",e.message)};var eI=i(96382),eT=i.n(eI),eA=i(31530),eF=()=>{let e=(0,T.Z)("(max-width:600px)"),t=(0,T.Z)("(min-height:780px)"),i={en:"en",hi:"hi",te:"te"},a=sessionStorage.getItem(eA.Gc),[r,s]=(0,o.useState)([]),[c,d]=(0,o.useState)(""),[u,x]=(0,o.useState)(0),[h,p]=(0,o.useState)(""),[m,g]=(0,o.useState)(!1),[f,v]=(0,o.useState)(!0),[b,y]=(0,o.useState)(!0),[j,k]=(0,o.useState)(""),[w,C]=(0,o.useState)(!1),[S,_]=(0,o.useState)({}),[I,A]=(0,o.useState)(!1),[F,D]=(0,o.useState)(!1),P="https://static.vikaspedia.in/assets/vikaspedia/images/logos/chatbot/vpediaChatBotLog.svg",[E,M]=(0,o.useState)(!1),[R,B]=(0,o.useState)(0),N=(0,o.useRef)(null),[ep,eg]=(0,o.useState)(0),ef=(0,o.useRef)(null),[ev,eb]=(0,o.useState)(""),[ew,e_]=(0,o.useState)(!1),eI=(0,o.useRef)(!1),eF=(0,o.useRef)(null),eD=(0,o.useRef)(null),eP=(0,o.useRef)(null),eE={en:{fulfillmentMessages:[{text:["Guestmorning"],type:"text"},{text:["Good morning, Guest. This is InfoVikas, your Personal Virtual Assistant. Glad to assist you today. Please select from the suggestions below."],type:"text"},{buttons:["About Aadhaar","About Vikaspedia.","Join Vikaspedia.","Volunteering Opportunities.","Key Features of Vikaspedia.","Search Vikaspedia Information."],type:"buttons"}]},te:{fulfillmentMessages:[{text:["à°
తిథిశà±à°à±à°¦à°¯à°"],type:"text"},{text:["à°¶à±à°à±à°¦à°¯à°, à°
తిథి. విà°à°¾à°¸à±à°ªà±à°¡à°¿à°¯à°¾ à°¨à±à°à°¡à°¿ à°à°¨à±à°«à±à°µà°¿à°à°¾à°¸à± మాà°à±à°²à°¾à°¡à±à°¤à±à°à°¦à°¿. à°¨à±à°¨à± మౠవà±à°¯à°à±à°¤à°¿à°à°¤ వరà±à°à±à°µà°²à± à°
సిసà±à°à±à°à°à±âని. à°à°°à±à°à± à°®à±à°à± సహాయఠà°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ à°¨à±à°¨à± సిదà±à°§à°à°à°¾ à°à°¨à±à°¨à°¾à°¨à±. దయà°à±à°¸à°¿ à°à±à°°à°¿à°à°¦ à°à°¨à±à°¨ à°¸à±à°à°¨à°² à°¨à±à°à°¡à°¿ à°à°à°à±à°à±à°à°¡à°¿:"],type:"text"},{buttons:["విà°à°¾à°¸à±à°ªà±à°¡à°¿à°¯à°¾ à°à±à°°à°¿à°à°à°¿.","విà°à°¾à°¸à±à°ªà±à°¡à°¿à°¯à°¾à°²à± à°à±à°°à°à°¡à°¿.","à°¸à±à°µà°à±à°à°à°¦ à°¸à±à°µà°¾ à°
à°µà°à°¾à°¶à°¾à°²à±."," విà°à°¾à°¸à±à°ªà±à°¡à°¿à°¯à°¾ à°¯à±à°à±à° à°®à±à°à±à°¯ విశà±à°·à°¾à°²à±.","విà°à°¾à°¸à±à°ªà±à°¡à°¿à°¯à°¾ సమాà°à°¾à°°à°¾à°¨à±à°¨à°¿ à°¶à±à°§à°¿à°à°à°à°¡à°¿"],type:"buttons"}]},hi:{fulfillmentMessages:[{text:["à¤
तिथिपà¥à¤°à¤à¤¾à¤¤"],type:"text"},{text:["शà¥à¤ पà¥à¤°à¤à¤¾à¤¤, à¤
तिथि. यह विà¤à¤¾à¤¸à¤ªà¥à¤¡à¤¿à¤¯à¤¾ सॠà¤à¤¨à¥à¤«à¥à¤µà¤¿à¤à¤¾à¤¸ हà¥à¥¤ मà¥à¤ à¤à¤ªà¤à¤¾ परà¥à¤¸à¤¨à¤² वरà¥à¤à¥à¤
ल à¤
सिसà¥à¤à¥à¤à¤ हà¥à¤. à¤à¤ à¤à¤ªà¤à¥ सहायता à¤à¤°à¤à¥ à¤à¥à¤¶à¥ हà¥à¤? à¤à¥à¤ªà¤¯à¤¾ नà¥à¤à¥ दिठà¤à¤ सà¥à¤à¤¾à¤µà¥à¤ मà¥à¤ सॠà¤à¤¯à¤¨ à¤à¤°à¥à¤."],type:"text"},{buttons:["विà¤à¤¾à¤¸à¤ªà¥à¤¡à¤¿à¤¯à¤¾ à¤à¥ बारॠमà¥à¤","विà¤à¤¾à¤¸à¤ªà¥à¤¡à¤¿à¤¯à¤¾ सॠà¤à¥à¤¡à¤¼à¥à¤","सà¥à¤µà¤¯à¤à¤¸à¥à¤µà¤¾ à¤à¥ à¤
वसर","विà¤à¤¾à¤¸à¤ªà¥à¤¡à¤¿à¤¯à¤¾ à¤à¥ मà¥à¤à¥à¤¯ विशà¥à¤·à¤¤à¤¾à¤à¤","विà¤à¤¾à¤¸à¤ªà¥à¤¡à¤¿à¤¯à¤¾ à¤à¥à¤ सà¥à¤à¤¨à¤¾"],type:"buttons"}]}},eM=()=>{e_(!1)};(0,o.useEffect)(()=>{if(k(i[a]?a:"en"),"webkitSpeechRecognition"in window||"SpeechRecognition"in window){var e,t;eF.current=new((null===(e=window)||void 0===e?void 0:e.SpeechRecognition)||(null===(t=window)||void 0===t?void 0:t.webkitSpeechRecognition)),eF.current.continuous=!0,eF.current.interimResults=!0,eF.current.onresult=e=>{d(Array.from(e.results).map(e=>e[0].transcript).join(""))},eF.current.onerror=e=>{M(!1),v(!0),B(0),clearInterval(ef.current),e_(!0),eI.current=!1},eF.current.onstart=()=>{eI.current=!0,M(!0)},eF.current.onend=()=>{eI.current=!1,M(!1),v(!0),B(0),clearInterval(ef.current)}}else e_(!0)},[]);let eL=()=>{if(eq(),!eI.current){d("");try{eF.current.start(),v(!1),eB()}catch(e){console.error("Error starting recognition:",e)}}},eR=()=>{if(eI.current)try{eF.current.stop(),clearInterval(ef.current),B(0),M(!1),v(!0)}catch(e){console.error("Error stopping recognition:",e)}},eB=()=>{let e=0;ef.current=setInterval(()=>{e<15?(e+=1,B(e=>e+1)):eR()},1e3)},eN=()=>{eI.current?eR():eL()},ez=async()=>
1{if(C(w=!w),!1===w)sessionStorage.getItem("chatUserId"),eP.current&&(eP.current.pause(),eP.current.currentTime=0,eP.current.src="",eP.current=null);else{var e;s([]),eg(0);let t=await eC(""),i=null==t?void 0:t.data;sessionStorage.setItem("chatUserId",null==i?void 0:i.userId),sessionStorage.setItem("chatSessionId",null==i?void 0:null===(e=i.currentSession)||void 0===e?void 0:e.chatSessionId)}};var eV=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{handleIntents:!1,isReload:!1},t="",i=c;d(c="");var o=[...r];let a=em()().format("dddd"),u=eX[j]||eX.en;if(""!==i){if(""===i.trim())return;var x=(0,n.jsx)(l.Z,{ref:eD,name:"User",style:{alignSelf:"flex-end"},children:(0,n.jsxs)(l.Z,{className:eT().userContaint,children:[(0,n.jsxs)(l.Z,{style:{display:"flex",flexDirection:"column"},children:[(0,n.jsx)(Z.Z,{sx:{padding:"15px 25px",display:"inline",borderRadius:"20px 0px 20px 20px",fontSize:"15px",backgroundColor:e=>"".concat("light"===e.palette.mode?"#162F6A":e.palette.primary.main),color:"#ffffff"},children:i}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)(Z.Z,{className:eT().userImage,children:"You"})]})});o.push(x),s([r=[...o]])}y(b=!0);try{let x;x=ep>0?await ey({query:"".concat(""===i.trim("")?"hi":"".concat(i.trim(""))),sessionId:"4567891",languageCode:j,userName:"User",userId:sessionStorage.getItem("chatUserId"),chatSessionId:sessionStorage.getItem("chatSessionId")}):null==eE?void 0:eE[j],ep=1,eg(ep),o=[...r],t=x.fulfillmentMessages[0].text[0];let p=x.fulfillmentMessages.slice(1);if(p.length>0){for(let e of p)if("text"===e.type){var h=(0,n.jsxs)("div",{className:eT().botContaint,children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(0,n.jsx)(Z.Z,{sx:{marginTop:"10px",padding:"10px",width:"65%",fontSize:"15px",borderRadius:"20px 20px 20px 0px",backgroundColor:e=>"".concat("light"===e.palette.mode?"#162F6A":e.palette.primary.main),color:"#ffffff"},children:e.text[0]}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]});o.push(h),r=[...o],s(r),b=!1,y(b),eH(e.text[0],t)}else if("buttons"===e.type){let t=(0,n.jsxs)("div",{className:eT().botContaint,children:[(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(0,n.jsx)("div",{className:eT().card,children:null==e?void 0:e.buttons.map((e,t)=>(0,n.jsxs)(l.Z,{className:eT().hoverableButton,onClick:()=>{c=e,d(c),eV()},children:[(0,n.jsx)(es.Z,{}),(0,n.jsx)(Z.Z,{className:eT().buttonText,children:e})]},"".concat(t+1,"-buttonclick-").concat(e)))}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]});o.push(t),r=[...o],s(r),b=!1,y(b)}else if("list"===e.type){let t=(0,n.jsxs)("div",{className:eT().botContaint,children:[(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(0,n.jsxs)(H.Z,{style:{maxWidth:345,cursor:"pointer",transition:"transform 0.3s, box-shadow 0.3s",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.16)",borderRadius:"12px"},children:[(0,n.jsx)(l.Z,{sx:{backgroundColor:e=>"".concat("light"===e.palette.mode?"#162F6A":e.palette.primary.main),color:"#fff",padding:"16px",fontWeight:"bold",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",textAlign:"center"},children:e.title}),(0,n.jsx)("div",{style:{height:"1px",backgroundColor:"#ccc"}}),(0,n.jsx)(K.Z,{children:e.list.map((e,t)=>(0,n.jsxs)(l.Z,{style:{display:"flex",marginBottom:"5px"},children:[(0,n.jsxs)(Z.Z,{style:{marginRight:"5px"},children:[t+1,"."]}),(0,n.jsx)(Z.Z,{children:e})]},"".concat(t+1,"-card-content-").concat(e)))})]}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]});o.push(t),r=[...o],s(r),b=!1,y(b)}else if("listItems"==e.type){let t=(0,n.jsxs)("div",{className:eT().bot
1Containt,children:[(0,n.jsxs)(l.Z,{style:{marginLeft:"25px",padding:"10px"},children:[e.listItems.map((e,t)=>(0,n.jsxs)(z.Z,{children:[(0,n.jsx)(O.Z,{expandIcon:(0,n.jsx)(ea.Z,{}),"aria-controls":"panel".concat(t,"-content"),id:"panel".concat(t,"-header"),children:(0,n.jsx)(Z.Z,{variant:"h6",style:{fontSize:"0.99rem"},children:e.title.split("â")[0]})}),(0,n.jsx)(V.Z,{children:(0,n.jsxs)(l.Z,{style:{fontSize:"0.8rem"},children:[e.description,(0,n.jsx)("br",{}),(0,n.jsx)(U.Z,{title:"View Summary",variant:"outlined",onClick:()=>eU(null==e?void 0:e.title.split("â")[0],(null==e?void 0:e.contextPath)||e.context_path,null==e?void 0:e.content_id),children:(0,n.jsx)(Z.Z,{sx:{color:e=>"".concat(e.palette.common.black),fontWeight:"400"},children:eY[j]["View Summary"]})})]})})]},"".concat(t+1,"-accordion-list-").concat(e))),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]});o.push(t),r=[...o],s(r),b=!1,y(b)}else if("listOfText"===e.type)e.listOfText.map((e,t)=>{let i=(0,n.jsxs)("div",{className:eT().botContaint,children:[(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(0,n.jsxs)(H.Z,{style:{maxWidth:345,cursor:"pointer",transition:"transform 0.3s, box-shadow 0.3s",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.16)",borderRadius:"12px"},children:[(0,n.jsx)(l.Z,{sx:{backgroundColor:e=>"".concat("light"===e.palette.mode?"#162F6A":e.palette.primary.main),color:"#fff",padding:"16px",fontWeight:"bold",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",textAlign:"center"},children:e.title}),(0,n.jsx)("div",{style:{height:"1px",backgroundColor:"#ccc"}}),(0,n.jsx)(K.Z,{children:e.list.map((e,t)=>(0,n.jsxs)(l.Z,{style:{display:"flex",marginBottom:"5px"},children:[(0,n.jsxs)(Z.Z,{style:{marginRight:"5px"},children:[t+1,"."]}),(0,n.jsx)(Z.Z,{children:e})]},"".concat(t+1,"-card2-item-").concat(e)))})]}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]},"".concat(t+1,"-list-of-test-").concat(e));o.push(i),r=[...o],s(r),b=!1,y(b)});else if("listOfFaq"===e.type)null==e||e.listOfFaq.map((e,t)=>{let i=(0,n.jsxs)(l.Z,{className:eT().botContaint,children:[(0,n.jsxs)(l.Z,{style:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(null==e?void 0:e.link)?(null==e?void 0:e.link)&&(null==e?void 0:e.type)==="youtube"?(0,n.jsxs)(H.Z,{style:{maxWidth:345,cursor:"pointer",transition:"transform 0.3s, box-shadow 0.3s",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.16)",borderRadius:"12px"},children:[(0,n.jsx)(l.Z,{sx:{backgroundColor:e=>"".concat(e.palette.primary.main),color:"#fff",padding:"16px",fontWeight:"bold",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",textAlign:"center"},children:null==e?void 0:e.title}),(0,n.jsx)(l.Z,{style:{height:"1px",backgroundColor:"#ccc"}}),(0,n.jsxs)(K.Z,{children:[(0,n.jsx)(l.Z,{style:{marginBottom:"12px"},children:(0,n.jsx)("iframe",{width:"100%",height:"200",style:{borderRadius:"8px"},src:getYouTubeEmbedUrl(null==e?void 0:e.ItemLink),title:"YouTube video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),e.list.map((e,t)=>(0,n.jsxs)(l.Z,{style:{display:"flex",marginBottom:"5px"},children:[(0,n.jsxs)(Z.Z,{style:{marginRight:"5px"},children:[t+1,"."]}),(0,n.jsx)(Z.Z,{children:null==e?void 0:e.text})]},"".concat(t+1,"-card2-item-").concat(e)))]})]}):(null==e?void 0:e.link)&&(null==e?void 0:e.type)==="mp4"?(0,n.jsxs)(H.Z,{style:{maxWidth:345,cursor:"pointer",transition:"transform 0.3s, box-shadow 0.3s",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.16)",borderRadius:"12px"},children:[(0,n.jsx)(l.Z,{sx:{backgroundColor:e=>"".concat(e.palette.primary.main),color:"#fff",padding:"16px",fontWeight:"bold",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",textAlign:"center"},children:null==e?void 0:e.title}),(0,n.jsx)(l.Z,{style:{height:"1px",backgroundColor:"#ccc"}}),(0,n.jsxs)(K.Z,{children:[(0,n.jsx)(l.Z,{style:{marginBottom:"12px"},children:(0,n.jsxs)("video",{width:"100%",height:"200",style:{borderRadius:"8px"},controls:!0,children:[(0,n.jsx)("source",{src:null==e?void 0:e.ItemLink,t
1ype:"video/mp4"}),"Your browser does not support the video tag."]})}),e.list.map((e,t)=>(0,n.jsxs)(l.Z,{style:{display:"flex",marginBottom:"5px"},children:[(0,n.jsxs)(Z.Z,{style:{marginRight:"5px"},children:[t+1,"."]}),(0,n.jsx)(Z.Z,{children:null==e?void 0:e.text})]},"".concat(t+1,"-card2-item-").concat(e)))]})]}):(0,n.jsxs)(H.Z,{style:{maxWidth:345,cursor:"pointer",transition:"transform 0.3s, box-shadow 0.3s",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.16)",borderRadius:"12px"},children:[(0,n.jsx)(l.Z,{sx:{backgroundColor:e=>"".concat(e.palette.primary.main),color:"#fff",padding:"16px",fontWeight:"bold",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",textAlign:"center"},children:e.title}),(0,n.jsx)(l.Z,{style:{height:"1px",backgroundColor:"#ccc"}}),(0,n.jsx)(K.Z,{children:e.list.map((e,t)=>(0,n.jsxs)(l.Z,{style:{display:"flex",marginBottom:"5px"},children:[(0,n.jsxs)(Z.Z,{style:{marginRight:"5px"},children:[t+1,"."]}),(null==e?void 0:e.link)!==null?(0,n.jsxs)(Z.Z,{children:[null==e?void 0:e.text," ",(0,n.jsx)("a",{href:null==e?void 0:e.link,target:"_blank",rel:"noopener noreferrer",style:{color:e=>"".concat((null==e?void 0:e.palette.mode)=="light"?e.palette.primary.main:"white"),wordBreak:"break-word",textDecoration:"none"},children:"More Info Click Here."})]}):(0,n.jsx)(Z.Z,{children:null==e?void 0:e.text})]},"".concat(t+1,"-card2-item-").concat(e)))})]}):(0,n.jsxs)(H.Z,{style:{maxWidth:345,cursor:"pointer",transition:"transform 0.3s, box-shadow 0.3s",boxShadow:"0px 3px 6px rgba(0, 0, 0, 0.16)",borderRadius:"12px"},children:[(0,n.jsx)(l.Z,{sx:{backgroundColor:e=>"".concat(e.palette.primary.main),color:"#fff",padding:"16px",fontWeight:"bold",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",textAlign:"center"},children:e.title}),(0,n.jsx)(l.Z,{style:{height:"1px",backgroundColor:"#ccc"}}),(0,n.jsx)(K.Z,{children:e.list.map((e,t)=>(0,n.jsxs)(l.Z,{style:{display:"flex",marginBottom:"5px"},children:[(0,n.jsxs)(Z.Z,{style:{marginRight:"5px"},children:[t+1,"."]}),(0,n.jsx)(Z.Z,{children:e})]},"".concat(t+1,"-card2-item-").concat(e)))})]}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]},"".concat(t+1,"-list-of-test-").concat(e));o.push(i),r=[...o],s(r),b=!1,y(b)});else if("tags"===e.type){let t=(0,n.jsxs)(l.Z,{className:eT().botContaint,children:[(0,n.jsxs)(l.Z,{style:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(0,n.jsx)(l.Z,{children:null==e?void 0:e.tags.map((e,t)=>(0,n.jsx)(q.Z,{label:e,variant:"outlined",clickable:!0,onClick:()=>{c=e,d(c),eV()},sx:{margin:"5px",backgroundColor:e=>"".concat("light"==e.palette.mode?"#fff":e.palette.primary.main),"&:hover":{color:e=>"".concat(e.palette.primary.main),borderColor:e=>"".concat(e.palette.primary.main)}}},"".concat(t+1,"-buttonclick-").concat(e)))}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]});o.push(t),r=[...o],s(r),b=!1,y(b)}}else{var h=(0,n.jsxs)("div",{className:eT().botContaint,children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",flexDirection:"column",marginLeft:"25px"},children:[(0,n.jsx)(Z.Z,{sx:{marginTop:"10px",padding:"10px",width:"65%",fontSize:"15px",borderRadius:"20px 20px 20px 0px",backgroundColor:e=>"".concat(e.palette.primary.main),color:"#ffffff"},children:"Sorry, I could not fetch the data. Please try again later."}),(0,n.jsx)(Z.Z,{className:eT().TimeStap,children:"".concat(u[a]||a,", ").concat(em()().format("h:mm A"))})]}),(0,n.jsx)("img",{className:eT().botImage,src:P,alt:"Bot"})]});o.push(h),r=[...o],s(r),b=!1,y(b),eH("Sorry, I could not fetch the data. Please try again later.",t)}if(e.isReload)try{let e=sessionStorage.getItem("chatUserId"),t=(await eS(e,token)).data;sessionStorage.setItem("chatSessionId",t.currentSession.chatSessionId)}catch(e){console.error("Error starting new chat session:",e)}}catch(e){console.error("Error communicating with Dialogflow",e)}};(0,o.useEffect)(()=>{let e=N.current,t=eD.current;e&&t&&((t,i)=>{let n=e.scrollTop,o=t.offsetTop-e.clientHeight+t.clientHeight,l=performance.now(),a=t=>{let r=Math.min((t-l)/i,1);e.scrollTop=n+(o-n)*r,r<1&&requestAnimationFrame(a)};requestAnimationFrame(a)})(t,1e3)}
1,[r]),(0,o.useEffect)(()=>{!0===w&&0===ep&&(eg(1),eV({handleIntents:!0}))},[w]);let eO=()=>{c="",m=!1,u=0,h="",b=!1,f=!0,s(r=[]),d(c),x(u),p(h),g(m),y(b),v(f),eg(ep=0),eV({isReload:!0})},eW=e=>{if(!e)return"";try{let i="string"==typeof e?JSON.parse(e):e;if(Array.isArray(i)){var t;return(null===(t=i[0])||void 0===t?void 0:t.summary)||""}if("object"==typeof i&&null!==i)return i.summary||"";return i}catch(t){return e}},eU=async(e,t,i)=>{A(!0),D(!0),_({title:e,url:t});let n={lang:j,links:t,pid:i,projectName:"landingpage"};try{let i=new FormData;for(let e in n)i.append(e,n[e]);let o=await ek(i),l=eW(null==o?void 0:o.result);_({title:e,url:t,data:l}),D(!1)}catch(e){D(!1)}},eH=async(e,t)=>{if(eP.current&&(eP.current.pause(),eP.current.currentTime=0,eP.current.src="",eP.current=null),!m)return;let i={lang:j,text:e,intent:t};try{let e=new FormData;for(let t in i)e.append(t,i[t]);let t=(await ej(e)).speechUrl;eP.current=new Audio(t),eP.current.onended=()=>{eP.current=null},await eP.current.play()}catch(e){console.error("Error playing audio:",e)}};async function eK(e,t){try{return await eZ(e,t)}catch(e){console.error("Error translating text:",e)}}let eq=async()=>{try{(await navigator.mediaDevices.getUserMedia({audio:!0})).getTracks().forEach(e=>e.stop())}catch(e){eb("Microphone access denied. Please enable it."),e_(!0)}},eG=()=>{A(!1)},eY={en:{"enter the text":"Enter the text within 250 characters","Suggestion Tab":"Suggestion Tab","View Summary":"View Summary","Close Button":"CLOSE","See More":"SEE MORE",Listening:"Listening....."},te:{"enter the text":"250 à°
à°à±à°·à°°à°¾à°²à°²à±à°ªà± à°µà°à°¨à°¾à°¨à±à°¨à°¿ నమà±à°¦à± à°à±à°¯à°à°¡à°¿","Suggestion Tab":"à°¸à±à°à°¨ à°à±à°¯à°¾à°¬à±","View Summary":"సారాà°à°¶à°¾à°¨à±à°¨à°¿ à°µà±à°à±à°·à°¿à°à°à°à°¡à°¿","Close Button":"à°®à±à°¸à°¿à°µà±à°¯à°¿","See More":"మరినà±à°¨à°¿ à°à±à°¡à°à°¡à°¿",Listening:"Listening....."},hi:{"enter the text":"250 à¤
à¤à¥à¤·à¤°à¥à¤ à¤à¥ à¤à¥à¤¤à¤° à¤à¥à¤à¥à¤¸à¥à¤ दरà¥à¤ à¤à¤°à¥à¤à¥¤","Suggestion Tab":"सà¥à¤à¤¾à¤µ à¤à¥à¤¬","View Summary":"साराà¤à¤¶ दà¥à¤à¥à¤","Close Button":"बà¤à¤¦ à¤à¤°à¤¨à¤¾","See More":"à¤à¤° दà¥à¤à¥à¤",Listening:"Listening....."},ta:{"enter the text":"à®à®°à¯à®¯à¯ à®à®³à¯à®³à®¿à®à®µà¯à®®à¯","Suggestion Tab":"பரிநà¯à®¤à¯à®°à¯ தாவலà¯","View Summary":"à®à¯à®°à¯à®à¯à®à®¤à¯à®¤à¯à®ªà¯ பாரà¯à®à¯à®à®µà¯à®®à¯","Close Button":"à®®à¯à®à®µà¯à®®à¯","See More":"à®®à¯à®²à¯à®®à¯ பாரà¯à®à¯à®à®µà¯à®®à¯",Listening:"Listening....."}},eX={en:{Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday"},ta:{Sunday:"à®à®¾à®¯à®¿à®±à¯",Monday:"à®à¯à®µà¯à®µà®¾à®¯à¯",Tuesday:"பà¯à®¤à®©à¯",Wednesday:"வியாழனà¯",Thursday:"வà¯à®³à¯à®³à®¿",Friday:"à®à®©à®¿à®à¯à®à®¿à®´à®®à¯",Saturday:"à®à®©à®¿"},te:{Sunday:"à°à°¦à°¿à°µà°¾à°°à°",Monday:"à°¸à±à°®à°µà°¾à°°à°",Tuesday:"à°®à°à°à°³à°µà°¾à°°à°",Wednesday:"à°¬à±à°§à°µà°¾à°°à°",Thursday:"à°à±à°°à±à°µà°¾à°°à°",Friday:"à°¶à±à°à±à°°à°µà°¾à°°à°",Saturday:"శనివారà°"},hi:{Sunday:"रविवार",Monday:"सà¥à¤®à¤µà¤¾à¤°",Tuesday:"मà¤à¤à¤²à¤µà¤¾à¤°",Wednesday:"बà¥à¤§à¤µà¤¾à¤°",Thursday:"à¤à¥à¤°à¥à¤µà¤¾à¤°",Friday:"शà¥à¤à¥à¤°à¤µà¤¾à¤°",Saturday:"शनिवार"}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.Z,{className:eT().appContainer,children:[w&&(0,n.jsxs)(l.Z,{className:eT().ChatbotContainer,sx:{width:e?"100%":"450px",right:e?"0":"70px",bottom:e?"104px":"70px",height:t?"80%":"450px"},children:[(0,n.jsxs)(l.Z,{className:eT().chatbotNavbar,sx:{backgroundColor:e=>"".concat("light"===e.palette.mode?"#162F6A":e.palette.primary.main)},children:[(0,n.jsx)(L.default,{src:"https://static.vikaspedia.in/assets/vikaspedia/images/logos/chatbot/headerchatbotvipedia.webp",alt:"Logo",height:50,width:50,className:eT().logoStyle}),(0,n.jsxs)("div",{className:eT().menuItems,children:[(0,n.jsx)("div",{children:(0,n.jsx)(eo.Z,{title:"Language Selector",placement:"top",arrow:!0,slotProps:{tooltip:{sx:{color:"#fff"}},arrow:{sx:{color:"#fff"}}},children:(0,n.jsxs)(ei.Z,{variant:"outlined",value:j,onChange:e=>{k(j=e.target.value),c="",b=!1,s(r=[]),d(c),y(b),eg(ep=0),eV()},displayEmpty:!0,label:"",sx:{border:"none","& .MuiOutlinedInput-notchedOutline":{border:"none"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"none"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{border:"none"},color:"white","& .MuiSvgIcon-root":{color:"white"},backgroundColor:"transparent"},MenuProps:{PaperProps:{sx:{disableScrollLock:!0,backgroundColor:"#333",color:"white"}}},inputProps:{"aria-label":"Language Selector"},children:[(0,n.jsx)(et.Z,{value:"en",children:(0,n.jsx)("span",{style:{color:"white"},children:"English"})}),(0,n.jsx)(et.Z,{value:"te",children:(0,n.jsx)("span",{style:{color:"white"},children:"à°¤à±à°²à±à°à±"})}),(0,n.jsx)(et.Z,{value:"hi",children:(0,n.jsx)("span",{style:{color:"white"},children:"हिनà¥à¤¦à¥"})})]})})}),!0===m?(0,n.jsx)(eo.Z,{title:"Sound off",placement:"top",arrow:!0,slotProps:{tooltip:{sx:{color:"#fff"}},arrow:{sx:{color:"#fff"}}},children:(0,n.jsx)(ed.Z,{className:eT().chatBotIcons,onClick:()=>{g(m=!1),eP.current&&(eP.current.pause(),eP.current.currentTime=0,eP.current.src="",eP.current=null)}})}):(0,n.jsx)(eo.Z,{title:"Sound ON",placement:"top",arrow:!0,slotProps:{tooltip:{sx:{color:"#fff"}},arrow:{sx:{color:"#fff"}}},children:(0,n.jsx)(ec.Z,{className:eT().chatBotIcons,onClick:()=>{g(m=!0)}})}),(0,n.jsx)(eo.Z,{title:"Clear Chat",placement:"top",arrow:!0,slotProps:{tooltip:{sx:{color:"#fff"}},arrow:{sx:{color:"#fff"}}},children:(0,n.jsx)(eu.Z,{onClick:()=>{eO()},className:eT().chatBotIcons})}),(0,n.jsx)(eo.Z,{title:"Close",placement:"top",arrow:!0,slotProps:{tooltip:{sx:{color:"#fff"}},arrow:{sx:{color:"#fff"}}},children:(0,n.jsx)(el.Z,{onClick:()=>{ez()},className:eT().chatBotIcons})})]})]}),(0,n.jsxs)(l.Z,{ref:N,className:eT().chatbotBody,sx:{height:t?"80%":"70%"},children:[null==r?void 0:r.map((e,t)=>(0,n.jsx)(o.Fragment,{children:e},t)),b&&(0,n.jsx)(l.Z,{className:eT().loderContainer,children:(0,n.jsx)(l.Z,{className:eT().loader})})]}),(0,n.jsx)(l.Z,{className:eT().suggestionInptContainer,children:(0,n.jsxs)(l.Z,{className:eT().inputContainer,children:[(0,n.jsxs)(l.Z,{className:eT().inputMic,children:[(0,n.jsx)("input",{variant:"filled",className:eT().chatInput,placeholder:!0==E?eY[j].Listening:eY[j]["enter the text"],onKeyDown:e=>{" "===e.key&&"en"!==j?eK(c,j).then(e=>{var t,i,n,o,l,a;Array.isArray(e)&&"SUCCESS"===e[0]&&(null===(n=e[1])||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:null===(t=i[1])||void 0===t?void 0:t[0])!==""&&(null===(a=e[1])||void 0===a?void 0:null===(l=a[
10])||void 0===l?void 0:null===(o=l[1])||void 0===o?void 0:o[0])!==null?(c=e[1][0][1][0]+" ",d(e[1][0][1][0]+" ")):d(c)}):"Enter"===e.key&&" "!=c&&""!=c&&"en"!==j?eK(c,j).then(e=>{var t,i,n,o,l,a;Array.isArray(e)&&"SUCCESS"===e[0]&&(null===(n=e[1])||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:null===(t=i[1])||void 0===t?void 0:t[0])!==""&&(null===(a=e[1])||void 0===a?void 0:null===(l=a[0])||void 0===l?void 0:null===(o=l[1])||void 0===o?void 0:o[0])!==null?(c=e[1][0][1][0]+" ",d(e[1][0][1][0]+" ")):d(c),eV()}):" "!=c&&""!=c&&"Enter"===e.key&&eV()},value:c,onChange:e=>{let t=e.target.value;/\d/.test(t)?(eb("Numbers are not allowed"),e_(!0)):/[~`!@#$%^&*()+=}{[\]\\|:;"',<>/]/.test(t)?(eb("Special characters are not allowed"),e_(!0)):t.length>250?(eb("Please enter less than 250 characters"),e_(!0)):d(t)}}),(0,n.jsx)(l.Z,{children:!0===f?(0,n.jsx)(ex.y2W,{className:eT().chatBotIcons,onClick:eN,color:"#121212"}):(0,n.jsxs)(l.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",color:"red"},children:[(0,n.jsx)(Z.Z,{sx:{marginRight:"5px",marginTop:"6px"},children:String(R).padStart(2,"0")}),(0,n.jsx)(er.Z,{onClick:eN,sx:{cursor:"pointer",marginRight:"10px"}})]})})]}),(0,n.jsx)(eh.ghy,{onClick:()=>{""!==c&&"en"!==j&&" "!==c?eK(c,j).then(e=>{var t,i,n,o,l,a;Array.isArray(e)&&"SUCCESS"===e[0]&&(null===(n=e[1])||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:null===(t=i[1])||void 0===t?void 0:t[0])!==""&&(null===(a=e[1])||void 0===a?void 0:null===(l=a[0])||void 0===l?void 0:null===(o=l[1])||void 0===o?void 0:o[0])!==null?(c=e[1][0][1][0]+" ",d(e[1][0][1][0]+" ")):d(c),eV()}):" "!==c&&""!==c&&eV()},className:eT().Button})]})})]}),(0,n.jsx)(eo.Z,{arrow:!0,slotProps:{tooltip:{sx:{color:"#fff"}},arrow:{sx:{color:"#fff"}}},title:w?"Close":"Hello! I'm Info Vikas. How can I help you?",children:(0,n.jsx)(l.Z,{onClick:ez,sx:{position:"fixed",bottom:"0px",right:"5px",cursor:"pointer",zIndex:"999"},size:"small",variant:"contained",children:w?(0,n.jsx)(l.Z,{sx:{width:{xs:"35px",sm:"35px",md:"50px"},height:{xs:"35px",sm:"35px",md:"50px"},borderRadius:"50%",backgroundColor:e=>"".concat("light"===e.palette.mode?"#162F6A":e.palette.primary.main),display:"flex",alignItems:"center",justifyContent:"center"},children:(0,n.jsx)(el.Z,{sx:{color:"#fff"}})}):(0,n.jsx)("img",{alt:"info_vikas",src:"https://static.vikaspedia.in/assets/vikaspedia/images/logos/chatbot/chatbotmainlogo_1x.webp"})})})]}),(0,n.jsxs)(Y.Z,{open:I,onClose:eG,"aria-labelledby":"responsive-dialog-title",children:[(0,n.jsx)($.Z,{id:"responsive-dialog-title",children:S.title}),(0,n.jsxs)(J.Z,{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[F&&(0,n.jsx)(G.Z,{}),(0,n.jsx)(Q.Z,{style:{marginTop:"16px",maxHeight:"200px",overflow:"auto"},children:!F&&(0,n.jsx)(Z.Z,{dangerouslySetInnerHTML:{__html:S.data}})})]}),(0,n.jsxs)(X.Z,{children:[(0,n.jsx)(U.Z,{onClick:eG,autoFocus:!0,color:"secondary","aria-label":"Close",title:"Close",children:"Close"}),(0,n.jsx)(U.Z,{"aria-label":"See More",title:"See More",autoFocus:!0,children:(0,n.jsx)(ee.Z,{href:S.url,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},children:"See More"})})]})]}),(0,n.jsx)(en.Z,{open:ew,autoHideDuration:4e3,onClose:eM,anchorOrigin:{vertical:"bottom",horizontal:"right"},children:(0,n.jsx)(W.Z,{onClose:eM,severity:"error",sx:{width:"100%"},children:ev})})]})},eD=i(82),eP=i(87018),eE=i(7948),eM=i(2332),eL=i(25667),eR=i(44839),eB=i(71031),eN=i(48370),ez=i(41994),eV=i(14497),eO=i(94578),eW=i(59586),eU=i(78495),eH=i(20452),eK=i(8343),eq=i(69506),eG=i(72872),eY=i(71811),eX=i(11140),eJ=i(54237),eQ=i(32768),e$=i(22744),e0=i(76417),e1=i(84154),e2=i(45168),e5=i(92787),e3=i(33061),e6=i(32734),e4=i(25808),e8=i(93719),e9=i(65959),e7=i(16710),te=i(92276),tt=()=>{let{translatedData:e}=(0,D._)();(0,h.v9)(e=>e.ui.themeValues);let t=(0,h.I0)(),i=(0,A.Z)(),o=(0,T.Z)(i.breakpoints.down("sm")),r=e=>{let i=e.target.checked;try{localStorage.setItem("themeValue",JSON.stringify(i)),document.cookie="themeValue=".concat(i,"; path=/; max-age=31536000; SameSite=Lax")}catch(e){console.error(e)}t((0,e3.sZ)(i))},s=(0,e6.ZP)(e7.Z)(e=>{let{theme:t}=e;return{width:55,height:27,padding:7,"& .MuiSwitch-switchBase":{margin:1,padding:0,transform:"translateX(6px)","&.Mu
1i-checked":{color:"#fff",transform:"translateX(22px)","& .MuiSwitch-thumb:before":{backgroundImage:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="'.concat(encodeURIComponent("#fff"),'" d="M4.2 2.5l-.7 1.8-1.8.7 1.8.7.7 1.8.6-1.8L6.7 5l-1.9-.7-.6-1.8zm15 8.3a6.7 6.7 0 11-6.6-6.6 5.8 5.8 0 006.6 6.6z"/></svg>\')')},"& + .MuiSwitch-track":{opacity:1,backgroundColor:"#aab4be",...t.applyStyles("dark",{backgroundColor:"#8796A5"})}}},"& .MuiSwitch-thumb":{backgroundColor:"#001e3c",width:25,height:25,"&::before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundImage:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="'.concat(encodeURIComponent("#fff"),'" d="M9.305 1.667V3.75h1.389V1.667h-1.39zm-4.707 1.95l-.982.982L5.09 6.072l.982-.982-1.473-1.473zm10.802 0L13.927 5.09l.982.982 1.473-1.473-.982-.982zM10 5.139a4.872 4.872 0 00-4.862 4.86A4.872 4.872 0 0010 14.862 4.872 4.872 0 0014.86 10 4.872 4.872 0 0010 5.139zm0 1.389A3.462 3.462 0 0113.471 10a3.462 3.462 0 01-3.473 3.472A3.462 3.462 0 016.527 10 3.462 3.462 0 0110 6.528zM1.665 9.305v1.39h2.083v-1.39H1.666zm14.583 0v1.39h2.084v-1.39h-2.084zM5.09 13.928L3.616 15.4l.982.982 1.473-1.473-.982-.982zm9.82 0l-.982.982 1.473 1.473.982-.982-1.473-1.473zM9.305 16.25v2.083h1.389V16.25h-1.39z"/></svg>\')')},...t.applyStyles("dark",{backgroundColor:"#003892"})},"& .MuiSwitch-track":{opacity:1,backgroundColor:"#aab4be",borderRadius:10,...t.applyStyles("dark",{backgroundColor:"#8796A5"})}}});return(0,n.jsxs)(k.ZP,{container:!0,justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#162F6A"},children:[(0,n.jsx)(k.ZP,{item:!0,xl:1,lg:1,md:1,sm:1,xs:1}),(0,n.jsxs)(k.ZP,{item:!0,xl:7,lg:6,md:5,sm:5,xs:7,container:!0,alignItems:"center",children:[(0,n.jsx)(L.default,{title:"Government of India",src:"https://static.vikaspedia.in/assets/vikaspedia/images/logos/inidanflag.svg",alt:"india_flag",width:32,height:32,style:{marginRight:8,marginLeft:o?-15:25}}),(0,n.jsxs)(Z.Z,{title:"government of india",variant:"body2",children:[null==e?void 0:e.Government_of_india," "]})]}),(0,n.jsx)(k.ZP,{item:!0,xl:3,lg:5,md:5,sm:6,xs:3,children:(0,n.jsx)(e9.Z,{direction:"row",justifyContent:"center",alignItems:"center",spacing:2,sx:{width:"100%",ml:{xl:15,lg:6,md:13}},children:o?(0,n.jsxs)(l.Z,{display:"flex",alignItems:"center",children:[(0,n.jsx)(e8.Z,{children:(0,n.jsx)(e4.Z,{control:(0,n.jsx)(s,{sx:{m:1},onChange:r,checked:"dark"===i.palette.mode,title:"dark"===i.palette.mode?"Switch to Light Mode":"Switch to Dark Mode"})})}),(0,n.jsx)(C.Z,{sx:{bgcolor:"#F3F3F3",height:"auto",m:1},orientation:"vertical",flexItem:!0}),(0,n.jsx)(a.Z,{title:"Accessibility Icon","aria-label":"AccessibilityIcon",sx:{color:"#fff"},color:"primary",onClick:()=>{var e;(null===(e=window)||void 0===e?void 0:e.micAccessTool)?"function"==typeof window.micAccessTool.openBox?window.micAccessTool.openBox():console.error("MicAccessTool does not have an open method."):console.error("MicAccessTool is not initialized yet.")},children:(0,n.jsx)(eQ.IvN,{sx:{fontSize:"24px"}})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{title:null==e?void 0:e.Skip_to_Main_Content,onClick:()=>{window.scrollTo({top:600,behavior:"smooth"})},sx:{color:"#fff",cursor:"pointer"},"aria-label":null==e?void 0:e.Skip_to_Main_Content,children:(0,n.jsx)(te.Z,{sx:{fontSize:"24px"}})}),!o&&(0,n.jsx)(C.Z,{orientation:"vertical",flexItem:!0,sx:{bgcolor:"#F3F3F3",height:"27px",alignSelf:"center"}}),(0,n.jsx)(e4.Z,{control:(0,n.jsx)(s,{onChange:r,checked:"dark"===i.palette.mode,title:"dark"===i.palette.mode?"Switch to Light Mode":"Switch to Dark Mode"})}),!o&&(0,n.jsx)(C.Z,{orientation:"vertical",flexItem:!0,sx:{bgcolor:"#F3F3F3",height:"27px",alignSelf:"center"}}),(0,n.jsx)(a.Z,{title:"Accessibility Icon","aria-label":"AccessibilityIcon",sx:{color:"#fff"},color:"primary",onClick:()=>{var e;(null===(e=window)||void 0===e?void 0:e.micAccessTool)?"function"==typeof window.micAccessTool.openB
1ox?window.micAccessTool.openBox():console.error("MicAccessTool does not have an open method."):console.error("MicAccessTool is not initialized yet.")},children:(0,n.jsx)(eQ.IvN,{sx:{fontSize:"24px"}})})]})})}),(0,n.jsx)(k.ZP,{item:!0,xl:1,lg:0,md:0,sm:0,xs:1})]})},ti=i(32289),tn=i(95655),to=i.n(tn),tl=i(95466);let ta=e=>{let{open:t,onClose:i,languages:o,selectedLanguages:r,onLanguageChange:s,translatedData:c}=e,u=(0,A.Z)(),x="light"===u.palette.mode,h=r.length>0?r[0]:null,p=e=>{if(e&&e.idn){let t="https://".concat(e.idn);window.open(t,"_blank","noopener,noreferrer")}(null==h?void 0:h.id)!==(null==e?void 0:e.id)&&s(e),i()};return(0,n.jsxs)(Y.Z,{open:t,onClose:i,fullWidth:!0,maxWidth:"sm",children:[(0,n.jsx)($.Z,{children:(0,n.jsxs)(l.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,n.jsx)(Z.Z,{variant:"body2",gutterBottom:!0,children:(0,n.jsxs)("strong",{children:[" ",null==c?void 0:c.Click_on_any_of_the_languages_to_be_redirected_to_that_particular_language_site]})}),(0,n.jsx)(a.Z,{title:"close",onClick:i,size:"medium",sx:{color:x?"#162F6A":"#fff"},children:(0,n.jsx)(d.Z,{fontSize:"inherit"})})]})}),(0,n.jsx)(J.Z,{children:(0,n.jsx)(k.ZP,{container:!0,spacing:1,children:o.map(e=>{let t=(null==h?void 0:h.id)===e.id,i=(0,n.jsx)(tl.Z,{sx:{backgroundColor:"#162F6A",width:30,height:30,fontWeight:"bold",fontSize:"14px",color:"#ffffff !important"},children:null==e?void 0:e.label.charAt(0).toUpperCase()});return(0,n.jsx)(k.ZP,{item:!0,md:3,xs:6,sm:6,children:(0,n.jsx)(q.Z,{title:e.label,avatar:i,label:(0,n.jsx)(Z.Z,{sx:{fontWeight:t?600:400},children:e.label}),onClick:()=>p(e),variant:t?"filled":"outlined",sx:{width:"100%",height:"48px",borderRadius:"8px",cursor:"pointer",justifyContent:"flex-start",p:1,backgroundColor:t?u.palette.action.selected:u.palette.background.default,border:"1px solid",borderColor:t?u.palette.primary.main:"transparent","&:hover":{backgroundColor:u.palette.action.hover}}})},e.id)})})})]})};ta.propTypes={open:to().bool.isRequired,anchorEl:to().object,onClose:to().func.isRequired,languages:to().arrayOf(to().shape({id:to().oneOfType([to().string,to().number]).isRequired,label:to().string.isRequired})).isRequired,selectedLanguages:to().array.isRequired,onLanguageChange:to().func.isRequired,getCurrentLanguageDisplay:to().func.isRequired};var tr=i(6997),ts=i(78719),tc=i(63214),td=i(17360),tu=i(7342),tx=i(69939),th=i(8052),tp=i(27578),tm=i(65635),tg=i(63408),tf=i(85708),tv=i(70865);let tb=["image/jpg","image/jpeg","image/png"],ty=tm.Ry().shape({file:tm.nK().required("A file is required").test("fileSize","File size is too large",e=>e&&e.size<=2097152).test("fileFormat","Unsupported format",e=>e&&tb.includes(e.type))});var tj=e=>{let{image:t,setImage:i,fetchProfileDetails:r,token:s}=e,[c]=(0,x.fP)([tv._K]),d=(0,tp.TA)({initialValues:{file:null},validationSchema:ty,validateOnBlur:!0,validateOnChange:!0,enableReinitialize:!0,onSubmit:async e=>{m(!0),await f(e.file)}}),[u,h]=(0,o.useState)(null),[p,m]=(0,o.useState)(!1),g=async e=>{let t=e.currentTarget.files[0];if(d.setFieldValue("file",t),t){let e=new FileReader;e.onloadend=()=>{h(e.result),d.handleSubmit()},e.readAsDataURL(t)}e.currentTarget.value=null},f=async e=>{m(!0);let t=new FormData;t.append("file",e);try{let e=await (0,tg.Jq)(t);e?(d.setStatus({success:"File uploaded successfully!"}),i(e),(0,tf.j7)(e),r(s,null==c?void 0:c[tv._K])):(0,tf.tI)()}catch(e){console.error("Error uploading file:",e),(0,tf.tI)(e)}finally{d.setSubmitting(!1),m(!1)}},v=()=>{document.getElementById("file").click()};return(0,n.jsx)(l.Z,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",children:p?(0,n.jsx)(G.Z,{size:50,color:"primary",thickness:40}):(0,n.jsx)("form",{onSubmit:d.handleSubmit,children:(0,n.jsxs)(l.Z,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",children:[(0,n.jsxs)(l.Z,{position:"relative",sx:{width:60,height:60},mb:2,children:["null"!==String(null==t?void 0:t.fileUrl)?(0,n.jsx)(tl.Z,{src:null==t?void 0:t.fileUrl,alt:"Profile Picture",sx:{width:"100%",height:"100%",border:"2px s
1olid",borderLeftColor:"#ed1b23",borderRightColor:"#0094d9",borderTopColor:"#00452a",borderBottomColor:"#fec10c"}}):(0,n.jsx)(tl.Z,{src:u,alt:"Profile Picture",sx:{width:"100%",height:"100%",border:"2px solid",borderLeftColor:"#ed1b23",borderRightColor:"#0094d9",borderTopColor:"#00452a",borderBottomColor:"#fec10c"}}),null!==t&&"null"!==String(null==t?void 0:t.fileUrl)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{color:"secondary",component:"span",sx:{position:"absolute",top:-10,right:-20},onClick:v,disabled:d.isSubmitting,children:(0,n.jsx)(tx.Z,{})}),(0,n.jsx)(a.Z,{color:"error",component:"span",sx:{position:"absolute",bottom:-10,right:-20},onClick:()=>{m(!0),(0,tg.p5)().then(e=>{(0,tf.j7)("File deleted successfully!"),r(s,null==c?void 0:c[tv._K])}).catch(e=>{console.error("Error deleting image:",e)}).finally(()=>{i(null),h(null),d.resetForm(),m(!1)})},disabled:d.isSubmitting||"null"===String(null==t?void 0:t.fileUrl),children:(0,n.jsx)(tu.Z,{})})]}),(null===t||"null"===String(null==t?void 0:t.fileUrl))&&(0,n.jsx)(a.Z,{color:"primary",component:"span",sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},onClick:v,disabled:d.isSubmitting,children:(0,n.jsx)(th.Z,{})})]}),(0,n.jsx)(td.Z,{id:"file",type:"file",name:"file",onChange:g,onBlur:d.handleBlur,inputProps:{accept:"image/*"},disabled:d.isSubmitting,sx:{display:"none"}}),d.errors.file&&d.touched.file&&(0,n.jsx)(Z.Z,{title:d.errors.file,color:"error",children:d.errors.file}),d.status&&d.status.error&&(0,n.jsx)(Z.Z,{title:d.status.error,color:"error",children:d.status.error})]})})})},tk=i(26641),tZ=()=>{let[e,t]=(0,o.useState)(null),i=!!e,[r,s]=(0,o.useState)(null),{logoutFromCookie:c,token:d,userDetails:u,fetchProfileDetails:x}=(0,B.P)();(0,o.useEffect)(()=>{if(u&&u.id){let e=null==u?void 0:u.profileImage;null!==e&&s({fileUrl:"null"===e?null:e})}else s(null)},[u]);let h=()=>{t(null)},p=tk.BS.find(e=>"Member"===e.rolename);return(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(a.Z,{color:"success",id:"loggedin-user-menu","aria-controls":i?"loggedin-user-menu":void 0,"aria-haspopup":"true","aria-expanded":i?"true":void 0,onClick:e=>{t(e.currentTarget)},children:(null==r?void 0:r.fileUrl)?(0,n.jsx)(tl.Z,{src:null==r?void 0:r.fileUrl,alt:null==u?void 0:u.fullName,sx:{border:"2px solid",borderLeftColor:"#ed1b23",borderRightColor:"#0094d9",borderTopColor:"#00452a",borderBottomColor:"#fec10c"}}):(0,n.jsx)(tl.Z,{...(0,tf.GZ)("".concat(null==u?void 0:u.fullName)),sx:{border:"2px solid",borderLeftColor:"#ed1b23",borderRightColor:"#0094d9",borderTopColor:"#00452a",borderBottomColor:"#fec10c"}})}),(0,n.jsxs)(ts.Z,{id:"loggedin-user-menu",anchorEl:e,open:i,onClose:h,MenuListProps:{"aria-labelledby":"loggedin-user-menu"},sx:{mt:0},transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[(0,n.jsx)(l.Z,{display:"flex",justifyContent:"center",children:(0,n.jsx)(tj,{image:r||{fileUrl:"".concat(null==u?void 0:u.profileImage)},setImage:s,fetchProfileDetails:x,token:d})}),(null==u?void 0:u.role)===(null==p?void 0:p.rolename)?(0,n.jsxs)(e9.Z,{alignItems:"center",spacing:.5,p:1,children:[(0,n.jsx)(Z.Z,{variant:"caption",children:null==u?void 0:u.fullName}),(0,n.jsx)(Z.Z,{variant:"caption",children:null==u?void 0:u.email}),(0,n.jsx)(Z.Z,{variant:"caption",children:null==u?void 0:u.mobile})]}):(0,n.jsx)(et.Z,{title:null==u?void 0:u.fullName,children:(0,n.jsx)(l.Z,{display:"flex",justifyContent:"center",children:null==u?void 0:u.fullName})}),(0,n.jsxs)(l.Z,{sx:{display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"},maxHeight:"200px",overflowY:"auto",scrollBehavior:"0px","&::-webkit-scrollbar":{width:"8px"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#888",borderRadius:"4px"}},children:[" ",(0,n.jsx)(C.Z,{})]}),(0,n.jsx)(C.Z,{}),(0,n.jsxs)(et.Z,{onClick:()=>{h(),(0,tg.TX)(d).then(()=>{(0,tf.j7)("Logout successful")}).catch(e=>{errorMessageSnackbar(e)}).finally(()=>{setTimeout(()=>{c()},500)})},title:"Logout",children:[(0,n.jsx)(tr.Z,{children:(0,n.jsx)(tc.Z,{fontSize:"small"})}),"Logout"]})]})]})},tw=function(){let[e,t]=(0,o.useState)(null),{isAuthenticated:i,token:a,userDetails:r,fetchProfileDetails:s}=(0,B.P)();(0,o.useEffect)(()=>
1{if(r&&r.id){let e=null==r?void 0:r.profileImage;null!==e&&t({fileUrl:"null"===e?null:e})}else t(null)},[r]);let c=tk.BS.find(e=>"Member"===e.rolename);return(0,n.jsx)(S.Z,{children:i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Z,{display:"flex",justifyContent:"center",p:2,children:(0,n.jsx)(tj,{image:e||{fileUrl:null==r?void 0:r.profileImage},setImage:t,fetchProfileDetails:s,token:a})}),(null==r?void 0:r.role)===(null==c?void 0:c.rolename)?(0,n.jsx)(_.ZP,{children:(0,n.jsx)(l.Z,{width:"100%",textAlign:"center",children:(0,n.jsx)(I.Z,{primary:null==r?void 0:r.fullName,secondary:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:null==r?void 0:r.email}),(0,n.jsx)("div",{children:null==r?void 0:r.mobile})]}),primaryTypographyProps:{fontWeight:"bold"},secondaryTypographyProps:{fontSize:"12px"}})})}):(0,n.jsx)(_.ZP,{children:(0,n.jsx)(I.Z,{primary:null==r?void 0:r.fullName,primaryTypographyProps:{align:"center",fontWeight:"bold"}})}),(0,n.jsx)(C.Z,{}),(0,n.jsx)(C.Z,{})]})})},tC=i(52390),tS=i(93632),t_=()=>{var e,t,i,r,s,c;let u=(0,A.Z)(),h=(0,M.useRouter)(),[p,m]=(0,o.useState)(null),[g,f]=(0,o.useState)(null),[v,b]=(0,o.useState)(null),[y,j]=(0,o.useState)(!1),[w,F]=(0,o.useState)(!1),[P,R]=(0,x.fP)([tC.iX,tC.wr]),[N,z]=(0,o.useState)(""),[V,O]=(0,o.useState)(!1),[W,q]=(0,o.useState)(!1),[G,Q]=(0,o.useState)(!1),ee=e$.Enu,[et,ei]=(0,o.useState)(!1);(0,o.useEffect)(()=>{ei(!0)},[]);let{isAuthenticated:en,token:el,logoutFromCookie:ea,userDetails:er}=(0,B.P)(),{translatedData:es,selectedLanguages:ec,landingPageData:ed,languages:eu,handleLanguageClickTwo:ex}=(0,D._)(),ep=(0,T.Z)(u.breakpoints.only("xs")),em=(0,T.Z)(u.breakpoints.only("sm")),eg=(0,T.Z)(u.breakpoints.only("md")),ef=(0,T.Z)(u.breakpoints.only("lg")),{mainHeading:ev,heading:eb}=(0,E.Z)();(0,o.useEffect)(()=>{let e=()=>{window.scrollY>450?(O(!0),q(!0),Q(!0)):(O(!1),q(!1),Q(!1))};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[ev,eb]);let ey=()=>{if("/"!==window.location.pathname){h.push("/"),setTimeout(()=>{let e=document.getElementById("knowledgeGraph");e&&e.scrollIntoView({behavior:"smooth"})},100);return}let e=document.getElementById("knowledgeGraph");e&&e.scrollIntoView({behavior:"smooth"})},ej=()=>
1{if("/"!==window.location.pathname){h.push("/"),setTimeout(()=>{let e=document.getElementById("searchBoxNewDesign");e&&e.scrollIntoView({behavior:"smooth"})},100);return}let e=document.getElementById("searchBoxNewDesign");e&&e.scrollIntoView({behavior:"smooth"})},ek=(0,o.useMemo)(()=>{var e;let t=new Set;return null==ed?void 0:null===(e=ed.sectors)||void 0===e?void 0:e.filter(e=>!t.has(null==e?void 0:e.name)&&(t.add(null==e?void 0:e.name),!0))},[null==ed?void 0:ed.sectors]),eZ=e=>{m(e.currentTarget)},ew=e=>()=>{j(e)},eC=e=>{e.url?window.open(e.url,"_blank"):(z(e.name),F(!0))},eS=()=>{h.push("/collaboratewithus")},e_=async()=>{try{var e;let t=sessionStorage.getItem(eA.Gc)||"en",i="";i=["en","hi","ta","mr"].includes(t)?"https://".concat(t,".vikaspedia.in"):"https://".concat(t,".vikaspedia.in/viewcontent/agriculture?lgn=").concat(t);let n=await (0,tf.qV)(i),o=new Date(Date.now()+36e5);return R(tC.iX,n,{path:"/",domain:tC.W6,expires:o}),null===(e=window)||void 0===e?void 0:e.open("".concat(tC.nG,"?client_id=").concat(n),"_self")}catch(e){return console.error("Error handling login:",e),null}},eI=!!p,eT="light"===u.palette.mode,eF={Agriculture:e$._5p,Health:e$.T2A,Education:e1.PFH,Energy:e$.k9m,"e-Governance":e1.h5v,"Social-Welfare":eJ.TSD,Scheme:eh.zom,"Financial Education":eN.Z,"Food and Nutrition":eQ.ATl,Environment:eQ.GDB,"Women Empowerment":e$.yHX,rural:eX.u9h,"Rural Development":eX.u9h,"Urban Development":e0.ubU,Transportation:e$.X3C,"Digital Literacy":e2.TKm,"Aspirational District":eO.Z,water:eG.Z,Events:ez.Z,News:eK.Z,Women:e$.yHX,"Climate Resilience":e5.xeK,"Climate resilience":e5.xeK,"Climate-resilience":e5.xeK,"Digital Governance":e1.h5v,Aadhaar:eB.Z,aadhaar:eB.Z,wash:eR.Z,Wash:eR.Z,WASH:eR.Z,nutrition:eY.Z,Nutrition:eY.Z,"Indian Silk":tS.Z,"indian silk":tS.Z},e3=e=>t=>{e&&(e===eZ?e(t):e()),ew(!1)(t)},e6=e=>{b(e.currentTarget)};return(0,n.jsxs)(eD.Z,{sx:{bgcolor:eT?"#fff":"#1d1d1d",boxShadow:eT?"0px 2px 4px rgba(0, 0, 0, 0.2)":"0px 2px 4px rgba(255, 255, 255, 0.2)"},position:"fixed",children:[(0,n.jsx)(tt,{}),(0,n.jsxs)(eL.Z,{children:[(0,n.jsxs)(k.ZP,{container:!0,alignItems:"center",justifyContent:"center",children:[(0,n.jsxs)(k.ZP,{item:!0,xs:12,sm:0,sx:{display:{xs:"flex",sm:"none"},alignItems:"center",justifyContent:"space-between",width:"100%"},children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:0},children:[(0,n.jsx)("a",{href:"https://www.meity.gov.in/",target:"_blank",rel:"noopener noreferrer",title:"MeitY (External link)",children:(0,n.jsx)(L.default,{src:eT?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/meity/ministrylogo.svg":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/meity/Ministrylogo2.svg",alt:"meity_logo",height:32,width:32})}),(0,n.jsx)(L.default,{src:eT?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/vikinewdesign_withname.webp":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/withnamedarkmodevikaspedialogo.svg",onClick:()=>h.push("/"),alt:"vikaspedia_Logo_with_name",height:32,width:32,style:{cursor:"pointer"},title:"Vikaspedia"})]}),(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[(0,n.jsx)(eo.Z,{title:"Language Sites",children:(0,n.jsx)(eP.Z,{badgeContent:(null==ec?void 0:null===(i=ec[0])||void 0===i?void 0:null===(t=i.label)||void 0===t?void 0:null===(e=t.charAt(0))||void 0===e?void 0:e.toUpperCase())||"",color:"info",children:(0,n.jsx)(L.default,{id:"language-menu",src:"light"===u.palette.mode?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/outlined_light.svg":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/outlined_dark.svg",width:28,height:28,style:{cursor:"pointer"},onClick:e6,alt:"language-menu"})})}),(0,n.jsx)(a.Z,{title:"menu",onClick:ew(!0),sx:{color:eT?"#000":"#fff",border:"1px solid #DDDDDD",borderRadius:"8px",padding:"4px","&:hover":{borderColor:"darkblue"}},children:(0,n.jsx)(eH.Z,{})})]})]}),(0,n.jsx)(k.ZP,{item:!0,xl:1,lg:1,md:1,sm:1,xs:1}),(0,n.jsxs)(k.ZP,{item:!0,xs:3,sm:2,md:3,lg:3,xl:4,children:[" ",(0,n.jsxs)(l.Z,{sx:{display:{xs:"none",sm:"flex"},alignItems:"center",gap:1,marginTop:1,ml:{md:-1.2,lg:-1,xl:0}},children:[(0,n.jsx)("a",{href:"https://www.meity.gov.in/",target:"_blank",rel:"noopener noreferrer",title:"Me
1itY (External link)",children:(0,n.jsx)(L.default,{src:eT?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/meity/ministrylogo.svg":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/meity/Ministrylogo2.svg",alt:"ministry_logo",height:48,width:48})}),W?(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:0},title:"Vikaspedia",children:[(0,n.jsx)(L.default,{src:eT?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/vikinewdesign_withoutname.webp":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/withoutnamedarkmodevikaspedialogo.svg",alt:"Vikaspedia_Logo_without_name",onClick:()=>h.push("/"),height:40,width:50,style:{cursor:"pointer",marginBottom:"4px"}}),(0,n.jsx)(ti.default,{showSearchIcon:V})]}):(0,n.jsx)(L.default,{src:eT?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/vikinewdesign_withname.webp":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/withnamedarkmodevikaspedialogo.svg",alt:"Vikaspedia_Logo_with_name",onClick:()=>h.push("/"),height:48,width:48,style:{cursor:"pointer"},title:"Vikaspedia"})]})]}),(0,n.jsx)(k.ZP,{item:!0,xs:4,sm:9,md:7,lg:7,xl:6,sx:{justifyContent:{lg:"flex-end"},display:{xs:"none",sm:"flex"}},children:(0,n.jsxs)(l.Z,{sx:{flexGrow:1,display:"flex",justifyContent:"flex-end",gap:{xs:1,sm:1,md:1,lg:2,xl:3},mr:{xs:1,sm:0,md:1,lg:3,xl:3},ml:{lg:2},m:{xs:0,sm:0,md:0,lg:0,xl:0}},children:[(0,n.jsxs)(U.Z,{title:"Survey","aria-label":"Survey",size:em?"small":"large",disableRipple:!0,variant:"text",onClick:()=>h.push("/surveyForm"),sx:{position:"relative",textTransform:"none",borderRadius:"12px",px:1.2,fontWeight:700,fontSize:em?"12px":"13px",color:"#2563EB",background:"rgba(37, 99, 235, 0.08)",border:"1px solid rgba(37, 99, 235, 0.15)",transition:"all 0.25s ease","&:hover":{background:"rgba(39, 63, 170, 0.14)",transform:"translateY(-1px)"}},children:["Feedback Survey",(0,n.jsx)(l.Z,{sx:{position:"absolute",top:"-7px",right:"-10px",background:"linear-gradient(135deg, #2563EB 0%, #06B6D4 100%)",color:"#fff",fontSize:"9px",fontWeight:700,px:.7,py:.2,borderRadius:"999px",letterSpacing:"0.5px",boxShadow:"0 4px 10px rgba(37,99,235,0.25)",animation:"rotateBadge 2s ease-in-out infinite","@keyframes rotateBadge":{"0%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(0deg)"},"75%":{transform:"rotate(-8deg)"},"100%":{transform:"rotate(0deg)"}}},children:"NEW"})]}),(0,n.jsx)(U.Z,{title:"Sectors",size:em?"small":"large",sx:{textTransform:"none",color:"".concat(u.palette.common.black),"&:hover":{backgroundColor:eT?"#D2DFFF":"#222"}},disableRipple:!0,variant:"text",endIcon:eI?(0,n.jsx)(eU.Z,{sx:{color:eT?"#162F6A":"white"}}):(0,n.jsx)(eW.Z,{sx:{color:eT?"#162F6A":"white"}}),onClick:eZ,children:null==es?void 0:es.Sectors}),(0,n.jsx)(eM.ZP,{open:eI,anchorEl:p,sx:{mt:1,"& .MuiPopover-paper":{boxShadow:"none",backgroundColor:"transparent"}},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:(0,n.jsx)(H.Z,{variant:"outlined",sx:{p:1,maxWidth:800,borderRadius:"20px",borderColor:"#162F6A",borderWidth:"2px"},children:(0,n.jsxs)(K.Z,{children:[(0,n.jsxs)(l.Z,{display:"flex",justifyContent:"space-between",alignItems:"center",sx:{mb:1},children:[(0,n.jsx)(Z.Z,{children:(0,n.jsxs)("strong",{children:[" ",null==es?void 0:es.Sectors]})}),(0,n.jsx)(a.Z,{onClick:()=>{m(null)},size:"small",sx:{color:eT?"#162F6A":"#fff"},children:(0,n.jsx)(d.Z,{sx:{fontSize:"24px"}})})]}),(0,n.jsx)(C.Z,{style:{marginBottom:"20px",marginTop:"10px"}}),(0,n.jsx)(k.ZP,{container:!0,spacing:2,children:null==ek?void 0:ek.map(e=>{let t=eF[null==e?void 0:e.label]||ee;return(0,n.jsx)(k.ZP,{item:!0,xs:12,sm:4,children:(0,n.jsx)(H.Z,{variant:"contained",sx:{backgroundColor:eT?"#D2DFFF":"#222",textAlign:"center",borderRadius:"10px",borderColor:"#B5CCE3",cursor:"pointer",opacity:1,transition:"background-image 0.3s ease-in-out",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",position:"relative",overflow:"hidden","&:hover":{backgroundImage:"url(".concat((null==e?void 0:e.imageUrl)?e.imageUrl:"https://static.vikaspedia.in/assets/vikaspedia/images/landingPage/sectorWithNav/digitalLiteracy.webp",")"),backgroundColor:eT?"#f0f0f0":"#9e9e9e","& .hover-text":{color:"#fff"},"& .hover-icon":{color:"#fff"},"&::after":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.3)",transition:"opacity 0.3s ease-in-out",opacity:1}},"&::after":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0)",transition:"opacity 0.3s ease-in-out",opacity:0}
1},onClick:()=>eC(e),children:(0,n.jsx)(K.Z,{sx:{position:"relative",zIndex:1},children:(0,n.jsxs)(Z.Z,{variant:"body1",className:"hover-text",title:null==e?void 0:e.name,sx:{textTransform:"capitalize",display:"flex",alignItems:"center",gap:1,color:eT?"#162F6A":"#fff"},children:[t&&(0,n.jsx)(t,{size:"24px",className:"hover-icon",sx:{color:eT?"#162F6A":"#fff",transition:"color 0.3s ease-in-out"}}),null==e?void 0:e.name]})})})},null==e?void 0:e.id)})})]})})}),(0,n.jsx)(U.Z,{title:"Knowledge Graph",onClick:()=>{ey()},size:em?"small":"large",endIcon:(0,n.jsx)(l.Z,{onClick:e=>{f(e.currentTarget)},sx:{display:"flex",alignItems:"center",justifyContent:"center",width:"24px",height:"24px"},children:(0,n.jsx)(eV.Z,{sx:{fontSize:"24px",color:eT?"#162F6A":"#fff"}})}),disableRipple:!0,variant:"text",sx:{textTransform:"none",color:"".concat(u.palette.common.black),"&:hover":{backgroundColor:eT?"#D2DFFF":"#222"}},children:null==es?void 0:es.Knowledge_Graph}),(0,n.jsxs)(eM.ZP,{open:!!g,anchorEl:g,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{sx:{mt:3,width:320,borderRadius:3,backgroundColor:"#162F6A",color:"#fff",padding:1.5}},children:[(0,n.jsx)(a.Z,{onClick:()=>{f(null)},sx:{position:"absolute",top:1,right:8,color:"#fff"},children:(0,n.jsx)(d.Z,{})}),(0,n.jsx)(Z.Z,{variant:"body2",sx:{p:0,mt:4},children:null==es?void 0:es.Knowledge_Graph_Popover}),(0,n.jsx)(U.Z,{sx:{mt:1,borderRadius:2,textTransform:"capitalize",backgroundColor:"#D2DFFF",color:"#000","&:hover":{backgroundColor:"#B0C4DE",color:"#000"}},onClick:()=>window.open("https://dashboard.vikaspedia.in?query=vikaspedia&lang=en","_blank"),variant:"contained",fullWidth:!0,size:"small",title:"".concat(null==es?void 0:es.know_More),children:null==es?void 0:es.know_More})]}),V&&(0,n.jsx)(a.Z,{title:"Search",sx:{color:eT?"#162F6A":"#fff"},onClick:()=>{ej()},children:(0,n.jsx)(eq.Z,{})}),et&&(en?er&&(0,n.jsx)(tZ,{user:er}):(0,n.jsx)(U.Z,{title:"Sign In",size:ep?"small":em?"small":eg?"small":ef?"small":"medium",onClick:e_,sx:{"@media (width: 1200px) and (height: 800px)":{fontSize:"10px"},borderRadius:"10px",borderColor:eT?"#162F6A":"#fff",color:eT?"#162F6A":"#fff",textTransform:"capitalize","&:hover":{backgroundColor:eT?"#D2DFFF":"#222"}},variant:"outlined",children:(null==es?void 0:es.Sign_In)||"Sign In"})),(0,n.jsx)(U.Z,{title:"Collaborate",size:ep?"small":em?"small":eg?"small":ef?"small":"large",onClick:eS,variant:"contained",color:"primary",sx:{textTransform:"none",borderRadius:"10px",bgcolor:eT?"#162F6A":"transparent","&:hover":{backgroundColor:e=>"light"===e.palette.mode?"#214AAB":"#222"}},children:null==es?void 0:es.Collaborate}),(0,n.jsx)(eo.Z,{title:"Language Sites",sx:{mt:1},children:(0,n.jsx)(eP.Z,{badgeContent:(null==ec?void 0:null===(c=ec[0])||void 0===c?void 0:null===(s=c.label)||void 0===s?void 0:null===(r=s.charAt(0))||void 0===r?void 0:r.toUpperCase())||"",color:"info",children:(0,n.jsx)(L.default,{id:"language-menu",src:"light"===u.palette.mode?"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/outlined_light.svg":"https://static.vikaspedia.in/assets/vikaspedia/images/logos/cdac/outlined_dark.svg",width:28,height:28,style:{cursor:"pointer"},onClick:e6,alt:"language-menu"})})})]})}),(0,n.jsx)(k.ZP,{item:!0,xl:1,lg:1,md:1,sm:1,xs:1})]}),(0,n.jsxs)(eE.ZP,{anchor:"right",open:y,onClose:ew(!1),children:[(0,n.jsx)(tw,{}),(0,n.jsxs)(S.Z,{children:[(0,n.jsx)(_.ZP,{onClick:e3(eZ),children:(0,n.jsx)(I.Z,{primary:null==es?void 0:es.Sectors})}),(0,n.jsx)(_.ZP,{onClick:e3(()=>{let e=document.getElementById("main-content");e&&e.scrollIntoView({behavior:"smooth"})}),children:(0,n.jsx)(I.Z,{primary:null==es?void 0:es.Skip_to_Main_Content})}),(0,n.jsx)(_.ZP,{onClick:e3(ey),children:(0,n.jsx)(I.Z,{primary:null==es?void 0:es.Knowledge_Graph})}),en?(0,n.jsx)(_.ZP,{children:(0,n.jsx)(U.Z,{onClick:e3(()=>{(0,tg.TX)(el).then(e=>{ea()}).catch(e=>{ea()}).finally(()=>{(0,tf.j7)("Logout successful"),ea()})}),sx:{textTransform:"none",borderRadius:"10px",borderColor:eT?"#162F6A":"#fff",color:eT?"#162F6A":"#fff"},variant:"outlined",fullWidth:!0,title:"Logout",children:(null==es?void 0:es.Logout)||"Logout"})}):(0,n.jsx)(_.ZP,{children:(0,n.jsx)(U.Z,{onClick:e3(e_),sx:{textTransform:"none",borderRadius:"10px",borderColor:eT?"#162F6A":"#fff",color:eT?"#162F6A":"#fff"},variant:"outlined",fullWidth:!0,title:"Sign In",children:(null==es?void 0:es.Sign_In)||"Sign In"})}),(0,n.jsx)(_.ZP,{children:(0,n.jsx)(U.Z,{sx:{textTransform:"none",borderRadius:"10px",bgcolor:eT?"#162F6A":"transparent","&:hover":{backgroundColor:e=>"light"===e.palette.mode?"#27496D":"#222"}},onClick:e3(eS),variant:"contained",fullWidth:!0,title:"Collaborate",children:null==es?void 0:es.Collaborate})})]})]})]}),(0,n.jsxs)(Y.Z,{open:w,children:[(0,n.jsx)($.Z,{children:(0,n.jsx)("strong",{children:" Coming Soon... "})}),(0,n.jsx)(J.Z,{children:(0,n.jsxs)(Z.Z,{children:[N," is coming soon !"]})}),(0,n.jsx)(X.Z,{children:(0,n.jsx)(U.Z,{sx:{textTransform:"none"},onClick:()=>{F(!1)},color:"error",title:"Close",children:"Close"})})]}),(0,n.jsx)(ta,{open:!!v,anchorEl:v,onClose:()=>{b(null)},languages:eu,selectedLanguages:ec,onLanguageChange:e=>{ex(e)},getCurrentLanguageDisplay:()=>ec&&ec.length>0?ec[0].label:"Select Language",translatedData:es})]})},tI=i(10994),tT=i(52415),tA=i.n(tT),tF=i(63698),tD=i.n(tF),tP=i(70501),tE=i.n(tP);let tM=(0,r.Z)({palette:{mode:"dark",primary:{main:"#383737",light:"#383737",dark:"#737272",contrastText:"#ffffff"},secondary:{main:"#ffffff",light:"#bcaaa4",dark:"#5f4339",contrastText:"#ffffff"},background:{default:"#121212",paper:"#1d1d1d"},text:{primary:"#ffffff",secondary:"#ffffff"},success:{main:"#ff9800",light:"#ffb74d",dark:"#c66900",contrastText:"#ffffff"},warning:{main:"#fbc02d",light:"#fff59d",dark:"#c49000",contrastText:"#000000"},error:{main:"#f44336",light:"#ff7961",dark:"#ba000d",contrastText:"#ffffff"},info:{main:"#64b5f6",light:"#c6ecff",dark:"#3383d8",contrastText:"#ffffff"},common:{white:"#121212",black:"#ffffff"}},typography:{fontFamily:[tE().style.fontFamily,tA().style.fontFamily,tD().style.fontFamily].join(",")},components:{MuiButton:{styleOverrides:{root:{fontFamily:"".concat(tE().style.fontFamily,", ").concat(tA().style.fontFamily,", ").concat(tD().style.fontFamily)}}}}});function tL(e){let{children:t,initialTheme:i}=e,p=(0,h.I0)(),m=(0,h.v9)(e=>e.ui.themeValues),[g]=(0,x.fP)([eA.lB,"themeValue"]),[f,v]=(0,o.useState)(!1),b=(0,o.useMemo)(()=>
1{if(f)return!!m;try{let e=localStorage.getItem("themeValue");if(null!==e)return!0===JSON.parse(e)}catch(e){}return!!m||!!i},[f,m,i]);(0,o.useEffect)(()=>{v(!0)},[m]),(0,o.useEffect)(()=>{try{let e=localStorage.getItem("themeValue"),t=!!i;null!==e?t=!0===JSON.parse(e):void 0!==g.themeValue&&(t="true"===g.themeValue||!0===g.themeValue),p((0,e3.sZ)(t)),document.cookie="themeValue=".concat(t,"; path=/; max-age=31536000; SameSite=Lax")}catch(e){console.error(e)}},[p,g.themeValue,i]);let j=()=>{let e=document.getElementById("mic-init-access-tool");e&&e.remove()};(0,o.useEffect)(()=>{let e=localStorage.getItem(eA.lB),t=()=>{var t;void 0!==(null===(t=window)||void 0===t?void 0:t.MicAccessTool)&&(window.micAccessTool=new window.MicAccessTool({buttonPosition:"left",forceLang:e}))};j();let i=document.createElement("script");return i.id="mic-init-access-tool",i.src="/acctoolbar.min.js",i.onload=()=>{t()},document.body.appendChild(i),j},[g[eA.lB]]);let k=(0,o.useMemo)(()=>(0,r.Z)(b?tM:y),[b]);return(0,n.jsx)(s.Z,{theme:k,children:(0,n.jsx)(u.wT,{maxSnack:3,anchorOrigin:{vertical:"top",horizontal:"right"},action:e=>(0,n.jsx)(a.Z,{onClick:()=>(0,u.sy)(e),children:(0,n.jsx)(d.Z,{})}),children:(0,n.jsxs)(D.E,{children:[(0,n.jsx)(c.ZP,{}),(0,n.jsx)(N,{}),(0,n.jsx)(t_,{}),(0,n.jsx)(l.Z,{component:"main",id:"main-content",children:t}),(0,n.jsx)(R,{}),(0,n.jsx)(eF,{})]})})})}function tR(e){let{children:t,initialTheme:i}=e;return(0,n.jsx)(h.zt,{store:tI.Z,children:(0,n.jsx)(tL,{initialTheme:i,children:t})})}},11412:function(e,t,i){"use strict";i.d(t,{P:function(){return m}});var n=i(52089),o=i(89087),l=i(68575),a=i(82989),r=i(52390),s=()=>{let[e,t,i]=(0,o.fP)([r.wr]),[l,a]=(0,n.useState)(null),s=e=>e.substring(e.length-10);return(0,n.useEffect)(()=>{let i=e[r.wr];if(void 0!==i&&"undefined"!==i&&"null"!==i&&null!==i&&""!==i){let e=s(i);t(r.QE,e,{path:"/",domain:r.W6})}},[e,t]),{truncatedToken:l,setTruncatedToken:a}},c=i(63408),d=i(6511),u=i(33061),x=i(26641),h=i(70865),p=i(44514);let m=()=>{let[e,t,i]=(0,o.fP)([x.wr,x.CD,x.N1,x.eO,x.wj]),{setTruncatedToken:m}=s(),g=(0,l.I0)(),f=(0,a.useRouter)(),v=(0,n.useMemo)(()=>sessionStorage.getItem(h._K),[]),b=(0,n.useCallback)(e=>e?(0,p.p)(e):null,[]),y=(0,n.useMemo)(()=>b(null==e?void 0:e[x.CD]),[e,b]),j=(0,n.useMemo)(()=>b(null==e?void 0:e[x.N1]),[e,b]),k=(0,n.useMemo)(()=>b(null==e?void 0:e[x.eO]),[e,b]),Z=(null==e?void 0:e[x.wr])||null,w=!!Z,C=(0,n.useCallback)(()=>{let t=["/",""],n=(0,x.K)(window.location.hostname),o=[r.W6,window.location.hostname,".".concat(n)];Object.keys(e).forEach(e=>{e!==h._K&&(t.forEach(t=>{o.forEach(n=>{i(e,{path:t,domain:n})})}),i(e,{path:"/"}),i(e,{path:""}),i(e))})},[e,i]),S=(0,n.useCallback)(async()=>{try{C(),m(""),localStorage.removeItem(x.QE),localStorage.removeItem(x.DX),sessionStorage.setItem("gtp","0"),sessionStorage.removeItem("gtp"),g((0,d.Up)()),await f.push("/")}catch(e){console.error("Error during logout:",e)}},[C,m,g]),_=(0,n.useCallback)(e=>{let t=[...new Set(e.map(e=>e.language))],i=new Map(h.Zk.map(e=>[e.value,e.label]));return t.map(e=>({label:i.get(e)||e,value:e}))},[]),I=async()=>{try{await (0,c.TX)(Z),f.push("/")}catch(e){}},T=(0,n.useCallback)(async(e,i)=>{try{g((0,u.N1)(!0)),sessionStorage.setItem("gtp","1");let n=await (0,c.sj)(e,i||"en");if(n){g((0,d.XN)({user:n}));let e=(0,x.K)(window.location.hostname),i={...n};null==i||delete i.role_domain_map,null==i||delete i.user_facilities;let o=(0,p.L)(i);o&&t(x.CD,o,{path:"/",domain:".".concat(e)});let l=x.BS.find(e=>e.rolename===(null==n?void 0:n.role));l&&t(x.N1,(0,p.L)(l),{path:"/",domain:".".concat(e)});let a=_(null==n?void 0:n.role_domain_map);a&&t(x.eO,(0,p.L)(a),{path:"/",domain:".".concat(e)})}}catch(e){sessionStorage.setItem("gtp","0"),(null==e?void 0:e.status)===401&&(I(),S())}finally{g((0,u.N1)(!1))}},[g,t,_]);return(0,n.useEffect)(()=>{let e=null;return Z?"1"!==sessionStorage.getItem("gtp")&&T(Z,v):(sessionStorage.setItem("gtp","0"),e=setTimeout(()=>{Z||C()},3e5)),g((0,d.uB)(Z||"")),()=>{clearTimeout(e)}},[Z,T,g,v,C]),{isAuthenticated:w,userDetails:y,myRole:j,myLangOptions:k,token:Z,logoutFromCookie:S,fetchProfileDetails:T}}},99864:function(e,t,i){"use strict";var n=i(17103),o=i(31530),l=i(52089);let a=["ta","sat","kn","te"],r=["ml","bn","ta"],s=["ta","sat","ml","te","bn"],c=["ml","bn"],d=["ta","sat","ml","te","bn","mr","mni","as","brx","doi","kn","kok","ne","or","sa"],u=["ta","kn","sat","ml","te","bn","mni","as"];t.Z=()=>{let{selectedLanguages:e,setSelectedLanguages:t,languages:i,setLanguages:x}=(0,n._)(),[h]=e,{content:p,heading:m,mainHeading:g,mediumSize:f,heading2:v}=(0,l.useMemo)(()=>{let e=a.includes(null==h?void 0:h.value);return r.includes(null==h?void 0:h.value)?{heading:o.Dx.byLanguageMalyalamBanglaHeading,heading2:o.Dx.byLanguageSearchSideHeading,content:o.Dx.byLanguageMalyalamBanglaContent,mainHeading:o.Dx.byLanguageMalyalamBanglaMainHeading,mediumSize:o.Dx.byLanguageMalyalamBanglaMediumSize}:e?{heading:o.Dx.byLanguageHeading,heading2:o.Dx.byLanguageHeading,content:o.Dx.byLanguageContent,mainHeading:o.Dx.byLanguageMainHeading,mediumSize:o.Dx.byLanguageMediumSize}:{heading:o.Dx.heading,heading2:o.Dx.heading,content:o.Dx.content,mainHeading:o.Dx.mainHeading,mediumSize:o.Dx.mediumSize}},[h]),{dividerHeight:b}=(0,l.useMemo)(()=>{let e=s.includes(null==h?void 0:h.value);return c.includes(null==h?void 0:h.value)?{dividerHeight:o.Dx.byLanguageMalyalamBanglaDividerHeight}
1:e?{dividerHeight:o.Dx.byLanguageNewLineFooterDividerHeight}:{dividerHeight:o.Dx.byRegularLanguageDividerHeight}},[h,o.Dx]),{footerDividerHeight:y}=(0,l.useMemo)(()=>d.includes(null==h?void 0:h.value)?{footerDividerHeight:o.Dx.byLanguageFooterDividerHeight}:{footerDividerHeight:o.Dx.byRegularFooterDividerHeight},[h,o.Dx]),{dividerHorizontal:j}=(0,l.useMemo)(()=>u.includes(null==h?void 0:h.value)?{dividerHorizontal:o.Dx.byLanguageNewLineFooterHorizontalWidth}:{dividerHorizontal:o.Dx.byRegularLanguageHorizontalWidth},[h,o.Dx]);return{content:p,heading:m,heading2:v,dividerHeight:b,dividerHorizontal:j,mainHeading:g,mediumSize:f,footerDividerHeight:y}}},85708:function(e,t,i){"use strict";i.d(t,{GZ:function(){return x},gV:function(){return u},j7:function(){return d},qV:function(){return r},tF:function(){return h},tI:function(){return c},wk:function(){return p}});var n=i(57083);let o=i(66908),l=o.enc.Latin1.parse("Dx>Y4'=#bQt(p-95X`R?hLe@"),a=o.enc.Latin1.parse("Dx>Y4'=#bQt(p-95X`R?hLe@"),r=e=>encodeURIComponent(o.AES.encrypt(e,l,{iv:a}).toString()),s=new Date().getFullYear();Array.from({length:10},(e,t)=>({label:"Year ".concat(s-t),value:s-t}));let c=e=>{var t,i,o,l;(null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status)!==401&&((null==e?void 0:null===(i=e.response)||void 0===i?void 0:i.status)===403?(0,n.yv)("Access Denined",{variant:"error",anchorOrigin:{vertical:"top",horizontal:"right"}}):(0,n.yv)("".concat((null==e?void 0:null===(l=e.response)||void 0===l?void 0:null===(o=l.data)||void 0===o?void 0:o.message)||(null==e?void 0:e.message)||e||"something went wrong"),{variant:"error",anchorOrigin:{vertical:"top",horizontal:"right"}}))},d=e=>{(0,n.yv)("".concat((null==e?void 0:e.message)||e||"Success"," "),{variant:"success",anchorOrigin:{vertical:"top",horizontal:"right"}})},u=e=>{if(null==e?void 0:e[0]){let{value:t,label:i}=e[0];return"".concat(t.toUpperCase()," (").concat(i,")")}return"EN (English)"};function x(e){var t,i,n,o;return{sx:{bgcolor:function(e){let t,i=0;for(t=0;t<e.length;t+=1)i=e.charCodeAt(t)+((i<<5)-i);let n="#";for(t=0;t<3;t+=1){let e=i>>8*t&255;n+="00".concat(e.toString(16)).slice(-2)}return n}(e)},children:"".concat((null===(i=e.split(" "))||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t[0])||"").concat((null===(o=e.split(" "))||void 0===o?void 0:null===(n=o[1])||void 0===n?void 0:n[0])||"")}}let h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"";let t=document.createElement("div");return t.innerHTML=e,(t.textContent||t.innerText||"").trim()},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:170,i=e.trim().split(/\s+/).filter(Boolean);return i.length<=t?{text:e.trim(),hasMore:!1}:{text:i.slice(0,t).join(" "),hasMore:!0}}},70865:function(e,t,i){"use strict";i.d(t,{Fs:function(){return n},Zk:function(){return o},_K:function(){return l}});let n=[{id:1,label:"à¦
সমà§à¦¯à¦¼à¦¾",value:"as",url:"https://xn--p5by0ags3b6blfcf8g.xn--45br5cyl/agriculture",hoverText:"Assamese"},{id:2,label:"বাà¦à¦²à¦¾",value:"bn",url:"https://xn--p5by0ags3b6blfceb.xn--45brj9c/agriculture",hoverText:"Bengali"},{id:3,label:"बà¥à¤¡à¥",value:"brx",url:"https://xn--11b8algs5c0becf0g.xn--h2brj9c/agriculture",hoverText:"Bodo"},{id:4,label:"डà¥à¤à¤à¤°à¥",value:"doi",url:"https://xn--31bt0c8c8b.xn--11by0av0at5becfj.xn--h2brj9c/agriculture",hoverText:"Dongri"},{id:5,label:"English",value:"en",url:"https://vikaspedia.in",hoverText:"English"},{id:6,label:"àªà«àªàª°àª¾àª¤à«",value:"gu",url:"https://xn--0dcy0av0at5becfj.xn--gecrj9c/agriculture",hoverText:"Gujarati"},{id:7,label:"हिनà¥à¤¦à¥",value:"hi",url:"https://xn--j2bd4cyah0f.xn--11by0av0at5becfj.xn--h2brj9c/",hoverText:"Hindi"},{id:8,label:"à²à²¨à³à²¨à²¡",value:"kn",url:"https://xn--nscy0av0at5bgfi5l.xn--2scrj9c/agriculture",hoverText:"Kannada"},{id:9,label:"ÙÙ²Ø´ÙØ±",value:"ks",url:"https://ks.vikaspedia.in/agriculture",hoverText:"Kashmiri"},{id:10,label:"à¤à¥à¤à¤à¤£à¥",value:"kok",url:"https://xn--i1b1bb0d0hoc.xn--11by0av0at5becfj.xn--h2brj9c/agriculture",hoverText:"Konkani"},{id:11,label:"मà¥à¤¥à¤¿à¤²à¥",value:"mai",url:"https://xn--i2brn5cg8b.xn--11by0av0at5becfj.xn--h2brj9c/agriculture?ref=nJaMpwoKuw",hoverText:"Maithili"},{id:12,label:"മലയാളà´",value:"ml",url:"https://xn----cjf1b9a0a5aw1chgj7m.xn--rvc1e0am3e/agriculture",hoverText:"Malayalam"},{id:13,label:"মণিপà§à¦°à¦¿",value:"mni",url:"https://xn--p5b8algs5c5alfceb.xn--45brj9c/agriculture?ref=nJaMpwoKuw",hoverText:"Manipuri"},{id:14,label:"मराठà¥",value:"mr",url:"https://xn--d2b1ag0dl.xn--11by0av0at5becfj.xn--h2brj9c/agriculture",hoverText:"Marathi"},{id:15,label:"नà¥à¤ªà¤¾à¤²à¥",value:"ne",url:"https://xn--l2bey1cl2b.xn--11by0av0at5becfj.xn--h2brj9c/agriculture",hoverText:"Nepali"},{id:16,label:"à¬à¬¡à¬¿à¬",value:"or",url:"https://xn--8gc3ayb9ai5d1bmhec.xn--3hcrj9c/agr
1iculture?ref=nJaMpwoKuw",hoverText:"Odia"},{id:17,label:"ਪੰà¨à¨¾à¨¬à©",value:"pa",url:"https://xn--x8b3ayb9a3ct5bgnb.xn--s9brj9c/agriculture?ref=nJaMpwoKuw",hoverText:"Punjabi"},{id:18,label:"सà¤à¤¸à¥à¤à¥à¤¤",value:"sa",url:"https://xn--11by0av0at5becfj.xn--h2breg3eve/agriculture",hoverText:"Sanskrit"},{id:19,label:"á±¥á±á±±á±á±á±²á±¤",value:"sat",url:"https://xn--11by0av0at5becfj.xn--h2brj9c8c/agriculture",hoverText:"Santali"},{id:20,label:"सिà¤à¤§à¥",value:"sd",url:"https://xn--i1b8e2b2ah.xn--11by0av0at5becfj.xn--h2brj9c/agriculture",hoverText:"Sindhi"},{id:21,label:"தமிழà¯",value:"ta",url:"https://xn--clcu6av0at5becfj8m.xn--xkc2dl3a5ee0h/",hoverText:"Tamil"},{id:22,label:"à°¤à±à°²à±à°à±",value:"te",url:"https://xn--zocy0av0at5becfj8m.xn--fpcrj9c3d/",hoverText:"Telugu"},{id:23,label:"اردÙ",value:"ur",url:"https://xn----ymcb0c2ftokcznllb.xn--mgbbh1a71e/agriculture",hoverText:"Urdu"}],o=[{value:"as",label:"à¦
সমà§à¦¯à¦¼à¦¾"},{value:"bn",label:"বাà¦à¦²à¦¾"},{value:"brx",label:"बà¥à¤¡à¥"},{value:"doi",label:"डà¥à¤à¤à¤°à¥"},{value:"en",label:"English"},{value:"gu",label:"àªà«àªàª°àª¾àª¤à«"},{value:"hi",label:"हिनà¥à¤¦à¥"},{value:"kn",label:"à²à²¨à³à²¨à²¡"},{value:"kok",label:"à¤à¥à¤à¤à¤£à¥"},{value:"ks",label:"ÙÙ²Ø´ÙØ±"},{value:"mai",label:"मà¥à¤¥à¤¿à¤²à¥"},{value:"ml",label:"മലയാളà´"},{value:"mni",label:"মণিপà§à¦°à¦¿"},{value:"mr",label:"मराठà¥"},{value:"ne",label:"नà¥à¤ªà¤¾à¤²à¥"},{value:"or",label:"à¬à¬¡à¬¿à¬"},{value:"pa",label:"ਪੰà¨à¨¾à¨¬à©"},{value:"sa",label:"सà¤à¤¸à¥à¤à¥à¤¤"},{value:"sat",label:"á±¥á±á±±á±á±á±²á±¤"},{value:"sd",label:"सिà¤à¤§à¥"},{value:"ta",label:"தமிழà¯"},{value:"te",label:"à°¤à±à°²à±à°à±"},{value:"ur",label:"اردÙ"}].map(e=>({value:e.value,label:e.label})),l="sessionLgn"},80376:function(e){e.exports={"light-theme":"app_light-theme__SECff","slick-prev":"app_slick-prev__lql8S","slick-next":"app_slick-next__nmw9J","dark-theme":"app_dark-theme__Hvu_w"}},96382:function(e){e.exports={botIconContainer:"chatbot_botIconContainer__OQrPe",appContainer:"chatbot_appContainer__cSzkY",ChatbotContainer:"chatbot_ChatbotContainer__nHNjn",show:"chatbot_show__qkLoc",chatbotNavbar:"chatbot_chatbotNavbar__KLJPV",logoStyle:"chatbot_logoStyle__XxO3s",menuItems:"chatbot_menuItems__eYR5E",chatbotBody:"chatbot_chatbotBody__tVL85",loderContainer:"chatbot_loderContainer__oh4OQ",loader:"chatbot_loader__K7A4p",l3:"chatbot_l3__rxilI",suggestionInptContainer:"chatbot_suggestionInptContainer__N6nG4",suggestionTab:"chatbot_suggestionTab__OFHrp",expanded:"chatbot_expanded__M6Ama",collapsed:"chatbot_collapsed__u9_xX",suggestionNav:"chatbot_suggestionNav__z5oNy",suggestionBody:"chatbot_suggestionBody__oysQx",inputContainer:"chatbot_inputContainer__wXRMb",inputMic:"chatbot_inputMic__vl8La",chatInput:"chatbot_chatInput__mLKar",Button:"chatbot_Button__d8wb_",chatBotIcons:"chatbot_chatBotIcons__rZ_qd",userContaint:"chatbot_userContaint__A857l",userResponse:"chatbot_userResponse__9af_X",botResponse:"chatbot_botResponse__b6i6t",botImage:"chatbot_botImage__QE0BE",userImage:"chatbot_userImage__qDPxh",TimeStap:"chatbot_TimeStap__sWgx3",botContaint:"chatbot_botContaint__NyEsf",card:"chatbot_card__4YsnV",hoverableButton:"chatbot_hoverableButton__MQP66",buttonText:"chatbot_buttonText__EqbUQ"}}},function(e){e.O(0,[2616,6787,1536,5452,3665,6950,6051,522,1779,5706,2516,1821,1994,2200,6118,214,7730,2449,4403,543,3769,4502,7083,9777,9894,4774,7875,6551,5402,2971,6272,1744],function(){return e(e.s=87943)}),_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.