PageSourceSearch

https://whitehouse.edu.np/assets/index-hmaOny7R.js

js whitehouse.edu.np collected 2026-10-05 03:38:55 UTC 3,891 bytes, 1 lines download raw bytes

1import{s as g,u as m,M as u,aS as h,r as f,b5 as j,j as t,C as b,G as r,T as n,be as y,F as v,D as a,ad as l,Q as S,b as k}from"./index-B_8ZUqKE.js";import{F as w}from"./FacebookPage-Bed6FE-7.js";import{i as M}from"./image-utils-CxaVV7wg.js";import{C as c,c as p}from"./custom-value-xzs9iiqU.js";import{d as $}from"./KeyboardArrowLeftRounded-43r2nkZJ.js";import{d as N}from"./KeyboardArrowRightRounded-AMSkcL89.js";import{d as C}from"./DateRangeRounded-WyXEsi76.js";import{d as W}from"./dayjs.min-D8NeUDMX.js";const L=g("div")(({theme:e})=>({"& .social-media":{"& .news-list":{background:e.palette.background.cardBgColor,borderRadius:e.shape.borderRadius,overflow:"hidden","&:not(:last-child)":{marginBottom:e.spacing(5)},"& .img-holder":{minWidth:"200px",height:"256px"},"& .content-holder":{minHeight:"204px","& .news-title":{"& a":{textDecoration:"none",color:e.palette.text.formLabelColor,fontSize:"22px",fontWeight:e.typography.fontWeightMedium,transition:e.transitions.easing.easeOut,"&:hover":{color:e.palette.action.hover}}},"& .description":{color:e.palette.text.descriptionColor},"& .link":{"& a":{fontWeight:e.typography.fontWeightMedium,color:e.palette.text.tableColor,transition:e.transitions.easing.easeOut,display:"flex",alignItems:"center","& .MuiSvgIcon-root":{fontSize:e.typography.h3.fontSize,marginLeft:"5px"},"&:hover":{color:e.palette.action.hover}}}}},[e.breakpoints.down("sm")]:{padding:e.spacing(10,0),"& .news-list  .content-holder":{minHeight:"auto"}},[e.breakpoints.between("sm","md")]:{padding:e.spacing(10,0),"& .news-list  .content-holder":{minHeight:"auto"}},[e.breakpoints.up("lg")]:{padding:e.spacing(20,0)}}})),E=()=>{const{posts:e}=m(u.NEWS),{socialMedia:o}=h(),d=f.useMemo(()=>o==null?void 0:o.find(s=>s.name.toLowerCase()==="facebook"),[o]),i=j(),x={className:"center",dots:!1,infinite:(e==null?void 0:e.length)>1,centerPadding:"60px",speed:500,slidesToShow:1,slidesToScroll:1,initialSlide:0,autoplay:!0,prevArrow:t.jsx(c,{customValues:p(!0,"20px","","47%","","transform:translateY(-50%)",t.jsx($,{}),"50%",`1px solid ${i.palette.background.primary}`,"22px",`${i.palette.text.primary}`,"","40px","40px")}),nextArrow:t.jsx(c,{customValues:p(!1,"","20px","47%","","transform:translateY(-50%)",t.jsx(N,{}),"50%",`1px solid ${i.palette.background.primary}`,"22px",`${i.palette.text.primary}`,"","40px","40px")})};return t.jsx(L,{children:t.jsx("section",{className:"social-media",children:t.jsx(b,{children:t.jsxs(r,{container:!0,spacing:6,children:[e&&(e!=null&&e.length)?t.jsxs(r,{item:!0,xs:12,md:12,lg:6,children:[t.jsx(n,{variant:"h1",fontWeight:"bold",mb:5,children:"Latest News"}),t.jsx(y,{...x,children:e.map((s,T)=>t.jsx(v,{triggerOnce:!0,direction:"up",duration:2e3,children:t.jsxs(a,{component:"div",className:"news-list",children:[t.jsx(a,{component:"div",className:"img-holder",children:t.jsx(l,{to:`/p/${s.slug}-${s.id}`,children:t.jsx(a,{component:"div",className:"bg-stretch background-image",style:{backgroundImage:`url('${M(s.image,k)}')`},height:"100%",width:"100%"})})}),t.jsxs(a,{component:"div",className:"content-holder",p:4,children:[t.jsxs(a,{className:"date-holder",mb:2,display:"flex",alignItems:"center",gap:1,children:[t.jsx(C,{sx:{fontSize:"18px"}}),t.jsx(n,{variant:"span",fontSize:14,fontWeight:500,children:W(s.publishDate).format("MMMM D, YYYY")})]}),t.jsx(a,{component:"div",className:"news-title line-1",mb:3,children:t.jsx(l,{to:`/p/${s.slug}-${s.id}`,children:s.title})}),t.jsx(n,{className:"description line-3",mb:3,children:s.summary}),t.jsx(S,{variant:"text",component:l,to:`/p/${s.slug}-${s.id}`,children:"Read More"})]})]})},s.id))})]}):null,d&&t.jsxs(r,{item:!0,xs:12,md:12,lg:6,children:[t.jsx(n,{variant:"h1",fontWeight:"bold",mb:5,children:"Facebook Page"}),t.jsx(a,{component:"div",display:"flex",alignItems:"center",children:t.jsx(w,{url:d.link,width:"100%",height:500})})]})]})})})})};export{E 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.