1import{j as o,C as m,D as d,ad as s,g as u,W as k,V as w,r as j,Z as b,ag as S,T as p,s as N}from"./index-B_8ZUqKE.js";import{T as v,M as z}from"./index-nMRdP6AC.js";import{D as C}from"./dark-mode-Dyx4rDTN.js";import{M}from"./index-Bq82xcax.js";import{d as x}from"./KeyboardArrowDownRounded-LyaaV3J9.js";import"./MailOutlineRounded-Ded94N1r.js";import"./PermPhoneMsgOutlined-BE-w32hA.js";import"./index-Gav6JjkD.js";import"./LockOpenRounded-CGUH96NS.js";import"./Stack-C6LGL1mZ.js";import"./index-DfApS7w8.js";import"./Facebook-D1vWfipr.js";import"./Twitter-DvvGc8Nz.js";import"./YouTube-BwBXbg7d.js";import"./LinkedIn-Cw5yTVCj.js";import"./Apple-BtxESQEh.js";import"./tiktok-D688u-tm.js";import"./BurgerMenu-D_jhLzYg.js";import"./Brightness7-CjQ7iZLS.js";import"./Close-DjnUZHa-.js";const H=k(n=>({root:{padding:"10px 0",background:n.palette.background.default,"& .middle-header-2":{"& .content-holder":{display:"flex",alignItems:"center",justifyContent:"space-between","& .logo":{"& .text":{"& .first-name":{marginBottom:"2px",color:n.palette.text.govTitleColor,fontWeight:n.typography.fontWeightMedium,textAlign:"center"},"& .middle-name":{marginBottom:"2px",color:n.palette.text.govTitleColor,fontWeight:n.typography.fontWeightSemiBold,textAlign:"center"},"& .last-name":{marginBottom:n.spacing(0),fontWeight:n.typography.fontWeightBold,color:n.palette.text.primary}}},"& .nepali-flag":{display:"flex",alignItems:"center","& a":{textDecoration:"none",marginRight:"80px","& img":{maxHeight:"100px"}}}},"@media(max-width: 600px)":{"& .content-holder":{"& .gov-logo":{"& img":{maxHeight:"60px"}},"& .logo":{"& .text":{"& .first-name":{fontSize:n.typography.h4.fontSize},"& .middle-name":{fontSize:n.typography.h3.fontSize},"& .last-name":{fontSize:"20px",textAlign:"center"}}},"& .nepali-flag":{"& img":{maxHeight:"60px"},"& a":{display:"none"}}}},"@media(min-width: 768px)":{"& .content-holder":{"& .gov-logo":{"& img":{maxHeight:"100px"}},"& .logo":{"& .text":{"& .first-name":{fontSize:n.typography.h3.fontSize},"& .middle-name":{fontSize:"20px"},"& .last-name":{fontSize:n.typography.h1.fontSize}}},"& .nepali-flag":{"& img":{maxHeight:"100px"},"& a":{display:"none"}}}},"@media(min-width: 992px)":{"& .content-holder":{"& .gov-logo":{"& img":{maxHeight:"100px"}},"& .logo":{"& .text":{"& .first-name":{fontSize:n.typography.h3.fontSize},"& .middle-name":{fontSize:"20px"},"& .last-name":{fontSize:n.typography.h1.fontSize}}},"& .nepali-flag":{"& img":{maxHeight:"100px"},"& a":{display:"block"}}}}}}})),W="https://static.edigitalnepal.com/images/nepali-flag.gif",B=({profile:n})=>{const t=H();return o.jsx("section",{className:t.root,children:o.jsx(m,{className:"middle-header-2",children:o.jsxs(d,{className:"content-holder",children:[o.jsx(s,{to:"/",children:o.jsx(d,{component:"img",src:u(n.logo,w),alt:n.name,className:"img img-fluid",height:80,sx:{minWidth:"120px"}})}),o.jsx(d,{className:"nepali-flag",sx:{minWidth:"120px",justifyContent:"flex-end"},children:o.jsx("img",{src:W,alt:n.name,className:"img img-fluid"})})]})})})},D=N("div")(({theme:n,compact:t})=>({"& .header":{position:"relative",zIndex:9,background:n.palette.background.primary,"& .header-12":{"& .navigation":{display:"flex",alignItems:"center",justifyContent:"center",height:"100%","& .suggestion-box":{display:"none !important"},"& .dropdown":{margin:"0",padding:n.spacing(0),position:"relative","& .dropdown-list":{listStyle:"none",display:"inline-block",transition:n.transitions.easing.easeOut,position:"relative","& .online-sewa":{textDecoration:"none",color:"#fff",fontSize:"15px",borderRadius:"2px",display:"block",padding:"10px 10px",transition:n.transitions.easing.easeOut5,animationDuration:"1s",animation:"$blink 1s ease infinite"},"& .dropdown-list-link":{padding:t?"10px 8px":"10px 10px",textDecoration:"none",color:"#fff",fontSize:"18px",fontWeight:n.typography.fontWeightMedium,display:"block",cursor:"pointer","& .fa":{marginLeft:"5px"}},"& .main-dropdown":{margin:0,padding:n.spacing(0),position:"absolute",display:"none",background:"#fff",boxShadow:"8px 8px 30px 0px rgb(42 67 113 / 12%)",minWidth:"300px",animation:"$slide3 .5s ease-out",transition:n.transitions.easing.easeOut,zIndex:1,"& .main-dropdown-list":{display:"block",listStyle:"none",borderBottom:"1px solid #e0e0e0",transition:n.transitions.easing.easeOut,position:"relative",curs
1or:"pointer","&:last-child":{borderBottom:"none"},"& .main-dropdown-list-link":{color:n.palette.text.menuItemColor,textDecoration:"none",padding:"12px 20px",display:"block",transition:n.transitions.easing.easeOut,fontSize:n.typography.h4.fontSize},"& .sub-dropdown":{margin:"0",padding:n.spacing(0),position:"absolute",left:"100%",top:"0",width:"100%",background:"#fff",boxShadow:"8px 8px 30px 0px rgb(42 67 113 / 12%)",display:"none",animation:"$slide3 .5s ease-out",transition:n.transitions.easing.easeOut,zIndex:1,"& .sub-dropdown-list":{display:"block",listStyle:"none",borderBottom:"1px solid #e0e0e0",transition:n.transitions.easing.easeOut,"&:last-child":{borderBottom:"none"},"& .sub-dropdown-list-link":{padding:"12px 20px",display:"block",textDecoration:"none",color:n.palette.text.menuItemColor,transition:n.transitions.easing.easeOut,fontSize:n.typography.h4.fontSize},"&:hover":{background:n.palette.action.hover,"& a":{paddingLeft:"25px",color:"#fff !important"}}}},"&:hover":{background:n.palette.action.hover,"& .main-dropdown-list-link":{color:"#fff",paddingLeft:"25px"},"& .sub-dropdown":{display:"block"}}}},"&:hover":{background:n.palette.action.hover,"& .dropdown-list-link":{color:"#fff"},"& span":{color:"#fff"},"& .main-dropdown":{display:"block"}}}}}},[n.breakpoints.down("lg")]:{display:"none"}},"@keyframes slide3":{from:{transform:"translateY(20px)"},to:{transform:"translateY(0px)"}},"@keyframes blink":{"0%":{opacity:.5,color:"#fff"},"49%":{opacity:.3,color:"#fff"},"100%":{opacity:1}}})),nn=()=>{const{profile:n,menu:t,theme:c}=j.useContext(b),f=n.domainName===S.MCA;window.onscroll=function(){h()};let l="";function h(){let i=`${classes.root}`;if(document.body.scrollTop>90||document.documentElement.scrollTop>90){l=`{ 2 position: fixed !important; 3 top: 0; 4 left: 0 !important; 5 right: 0 !important; 6 animation: slideIn 2s; 7 transition: transform 1s ease-in-out 0s; 8 animation-timing-function: ease-out; 9 animation-duration: .7s; 10 }`;let r=`@keyframes slideIn { 11 0% { 12 opacity: 0; 13 top: -30px; 14 } 15 100% { 16 opacity: 1; 17 top: 0; 18 } 19 }`;document.getElementById("nav-style").innerHTML="."+i+l+r}else l=`{ 20 }`,document.getElementById("nav-style").innerHTML="."+i+l}return o.jsxs(D,{compact:f,children:[o.jsx(v,{profile:n}),o.jsx(B,{profile:n}),o.jsx(z,{profile:n,menu:t,themeUniqueId:c}),o.jsxs("section",{className:"header",children:[o.jsx(C,{profile:n,themeUniqueId:c}),o.jsx(m,{className:"header-12",sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:o.jsx("nav",{className:"navigation",children:o.jsxs(p,{component:"ul",className:"dropdown",display:"flex",alignItems:"center",children:[o.jsx("li",{className:"dropdown-list",children:o.jsx(s,{to:"/",className:"dropdown-list-link",children:"Home"})}),t.map((i,r)=>{if(!(r>12))return i!=null&&i.childs?o.jsxs("li",{className:"dropdown-list",children:[o.jsxs(p,{variant:"span",className:"dropdown-list-link",sx:{display:"flex !important"},alignItems:"center",children:[i.name,i.childs?o.jsx(x,{fontSize:"small"}):null]}),o.jsx("ul",{className:"main-dropdown",children:i.childs.map((a,g)=>i.childs?o.jsxs("li",{className:"main-dropdown-list",children:[o.jsx("div",{className:"dropdown-list-title",children:a.childs?o.jsxs(p,{variant:"span",className:"main-dropdown-list-link",display:"flex",alignItems:"center",justifyContent:"space-between",children:[a.name,o.jsx(x,{sx:{ml:1}})]}):o.jsx("div",{className:"main-dropdown-list",children:a.externalLink?o.jsx("a",{href:a.externalLink,className:"main-dropdown-list-link",target:"_blank",rel:"noreferrer",children:a.name}):o.jsx(s,{to:`/${i.slug}/${a.slug}`,className:"main-dropdown-list-link",children:a.name})},a.slug+g)}),a.childs?o.jsx("ul",{className:"sub-dropdown",children:a.childs.map((e,y)=>o.jsx("li",{className:"sub-dropdown-list",children:e.externalLink?o.jsx("a",{href:e.externalLink,className:"sub-dropdown-list-link",target:"_blank",rel:"noreferrer",children:e.name}):o.jsx(s,{to:"/"+i.slug+"/"+a.slug+"/"+e.slug,className:"sub-dropdown-list-link",children:e.name})},a.slug+y))}):null]},a.slug+g):null)})]},i.slug):o.jsx("li",{className:"dropdown-list",children:i.externalLink?o.jsx("a",{href:i.externalLink,className:i.name==="ठनलाà¤à¤¨ सà¥à¤µà¤¾"?"online-sewa":"dropdown-list-link",target:"_blank",rel:"noreferrer",children:i.name}):o.jsx(s,{to:`${i.slug}`,className:i.name==="ठनलाà¤à¤¨ सà¥à¤µà¤¾"?"online-sewa":"dropdown-list-link",children:i.name})},i.slug+r)}),t.length>13?o.jsx(M,{length:"13",background:"#fff"}):null]})})})]})]})};export{nn as default};
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.