1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3003],{1530:function(s,e,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/blog/[id]/view",function(){return l(2979)}])},4230:function(s,e,l){"use strict";l.d(e,{Z:function(){return Layout}});var a=l(5893);l(7294);var Dashboard_Footer=function(){let s=new Date().getFullYear();return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("footer",{className:"sticky-footer bg-white",children:(0,a.jsx)("div",{className:"container my-auto",children:(0,a.jsx)("div",{className:"copyright text-center my-auto",children:(0,a.jsxs)("span",{children:["Copyright \xa9 Security Camera ",s," "]})})})})})},c=l(1397),t=l(1664),i=l.n(t),Dashboard_Header=function(){let{user:s,logout:e}=(0,c.E)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("nav",{style:{background:"#212F3D"},className:"navbar navbar-expand navbar-light text-light topbar mb-4 static-top shadow",children:[(0,a.jsx)("button",{id:"sidebarToggleTop",className:"btn btn-link d-md-none rounded-circle mr-3",children:(0,a.jsx)("i",{className:"fa fa-bars"})}),(0,a.jsx)("ul",{className:"navbar-nav ml-auto",children:(0,a.jsxs)("li",{className:"nav-item dropdown no-arrow",children:[(0,a.jsxs)("a",{className:"nav-link dropdown-toggle",href:"#",id:"userDropdown",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",children:[(0,a.jsx)("span",{style:{fontWeight:900},className:"mr-2 d-none d-lg-inline text-light fw-bold small",children:"Digital Surveillance"}),(0,a.jsx)("img",{className:"img-profile rounded-circle",src:"/assets/img/logo-dsmla.png",alt:""})]}),(0,a.jsxs)("div",{className:"dropdown-menu dropdown-menu-right shadow animated--grow-in","aria-labelledby":"userDropdown",children:[(0,a.jsxs)(i(),{className:"dropdown-item",href:"/admin/activitylogs/".concat(null==s?void 0:s.UserId),children:[(0,a.jsx)("i",{className:"fas fa-list fa-sm fa-fw mr-2 text-gray-400"}),"Activity Log"]}),(0,a.jsx)("div",{className:"dropdown-divider"}),(0,a.jsxs)("button",{className:"dropdown-item",onClick:e,children:[(0,a.jsx)("i",{className:"fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"}),"Logout"]})]})]})})]})})};function Layout(s){let{children:e}=s;return(0,a.jsxs)("div",{id:"content-wrapper",className:"d-flex flex-column",children:[(0,a.jsxs)("div",{id:"content",children:[(0,a.jsx)(Dashboard_Header,{}),e]}),(0,a.jsx)(Dashboard_Footer,{})]})}},5491:function(s,e,l){"use strict";l.d(e,{g:function(){return c}});var a=l(5893);let c={getStatus:s=>(0,a.jsx)("span",{className:"badge badge-pill ".concat("1"==s.StatusId?"badge-primary":"badge-danger"),children:s.StatusName})}},2979:function(s,e,l){"use strict";l.r(e),l.d(e,{default:function(){return AddViewBlogPost}});var a=l(5893),c=l(4230),t=l(9250),i=l(5491),d=l(381),o=l.n(d),n=l(1163),r=l(7294),blog_BlogView=function(s){let{Edit:e,CurrentData:l}=s,{back:c}=(0,n.useRouter)(),[t,d]=(0,r.useState)(!1);return(0,a.jsxs)("div",{className:"container-fluid",children:[(0,a.jsxs)("div",{className:"card shadow mb-4",children:[(0,a.jsx)("div",{className:"card-header py-3",children:(0,a.jsxs)("h6",{className:"m-0 font-weight-bold text-dark",style:{fontSize:15},children:[(0,a.jsx)("i",{className:"fa fa-eye"})," View Blog Details "]})}),(0,a.jsx)("div",{className:"card-body",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-4 col-lg-4 col-xs-12 col-sm-12",children:(0,a.jsx)("img",{src:"/api/images?imageName=".concat(l.Image),style:{width:"100%"}})}),(0,a.jsx)("div",{className:"col-md-8 col-lg-8 col-xs-12 col-sm-12",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Post Name:"})," ",l.PostName," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Post Description:"})," ",l.Description," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Alternative Text :"}),l.AltText]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Meta Title:"})," ",l.MetaTitle," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Meta Author:"})," ",l.MetaAuthor," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Meta Description:"})," ",l.MetaDescription," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Slug:"})," ",l.Slug," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Status :"})," ",i.g.getStatus(l)," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Created At :"})," ",o()(l.CreatedAt).format("MMMM Do YYYY, h:mm:ss a")," "]})}),(0,a.jsx)("div",{className:"col-md-12 col-lg-12 col-xs-12 col-sm-12",children:l.UpdatedAt&&(0,a.jsxs)("p",{children:[(0,a.jsx)("b",{children:"Updated At:"}
1)," ",o()(l.UpdatedAt).format("MMMM Do YYYY, h:mm:ss a")]})})]})})]})})]}),(0,a.jsx)("div",{className:"text-right mb-4",children:(0,a.jsxs)("button",{className:"btn btn-sm btn-primary",onClick:c,children:[(0,a.jsx)("i",{className:"fa fa-arrow-left"})," Back"]})})]})};function AddViewBlogPost(){let[s,e]=r.useState({}),{query:{id:l}}=(0,n.useRouter)();r.useEffect(()=>{getBlogPost()},[]);let getBlogPost=async()=>{try{let s=await (0,t.ZS)({PostId:l});e(s.data[0])}catch(s){console.log(s)}};return(0,a.jsx)(blog_BlogView,{Edit:!0,CurrentData:s})}AddViewBlogPost.getLayout=s=>(0,a.jsx)(c.Z,{children:s})}},function(s){s.O(0,[4885,9250,9774,2888,179],function(){return s(s.s=1530)}),_N_E=s.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.