PageSourceSearch

https://event.perdoki.or.id/_next/static/chunks/pages/admin/blog/show/[id]-dc859f4a09d4d318.js

js perdoki.or.id collected 2026-09-25 05:07:36 UTC 3,743 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5818],{7061:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/blog/show/[id]",function(){return s(8627)}])},16653:function(e,t,s){"use strict";var n=s(85893),a=s(20050),i=s(82623),r=s(74403),c=s(63991);let o=()=>(0,n.jsx)(a.r,{justify:"center",children:(0,n.jsx)(a.r.Col,{span:6,xl:6,lg:6,children:(0,n.jsx)(i.X,{shadow:"xs",p:"xs",radius:"md",children:(0,n.jsx)(r.b,{icon:(0,n.jsx)(c.Ldj,{size:58}),title:"Permission Denied",color:"red",children:"Hak Akses anda Dibatasi, anda tidak bisa mengakses fitur dan halaman ini"})})})});t.Z=o},8627:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return C}});var n=s(85893),a=s(58996),i=s(39627),r=s(49737),c=s(20050),o=s(21017),l=s(66137),d=s(17789),h=s(19236),p=s(95117),u=s(22870),x=s(78818),f=s(4397),j=s(67841),m=s(11163),Z=s(67294),_=s(19885),g=s.n(_),w=s(46547),y=s(16653),b=s(41664),v=s.n(b);let k=e=>{let{postID:t}=e,{permissions:s}=(0,w.a)(),_=(0,m.useRouter)(),[b,k]=(0,Z.useState)(!0),C=new i.Z,[M,S]=(0,Z.useState)({}),T=async()=>{let e=await C.findModel(_.query.id).then(e=>e).finally(()=>k(!1)).catch(e=>e.response);S(e.data)};return(0,Z.useEffect)(()=>{T()},[_]),(0,n.jsx)(a.Z,{children:(0,n.jsxs)(g(),{hasPermission:s,onDeny:(0,n.jsx)(y.Z,{}),children:[(0,n.jsx)(r.f,{visible:b}),(0,n.jsx)("div",{permission:"post_read",children:(0,n.jsx)(c.r,{justify:"center",children:(0,n.jsx)(c.r.Col,{span:12,xl:7,lg:7,children:(0,n.jsxs)(o.Z,{shadow:"xs",p:"xl",children:[(0,n.jsx)(l.Z,{position:"center",mb:10,children:(0,n.jsx)(d.C,{color:"green",variant:"fillable",style:{fontWeight:500,fontSize:11,textTransform:"capitalize"},children:M.status_label})}),(0,n.jsx)(h.D,{order:5,align:"center",mb:20,children:M.title}),(0,n.jsx)(l.Z,{mb:10,position:"center",children:(0,n.jsx)(d.C,{variant:"fillable",style:{fontSize:11,textTransform:"capitalize"},children:M.category})}),(0,n.jsx)(l.Z,{position:"center",mb:20,children:(0,n.jsxs)(p.x,{color:"dimmed",size:"sm",align:"center",children:["Publish Date : ",M.publish_date]})}),(0,n.jsx)(o.Z.Section,{mb:"sm",children:(0,n.jsx)(u.E,{src:M.image_url,alt:M.title,height:350})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(x.T,{h:"md"}),(0,n.jsx)(f.l,{style:{fontSize:13},children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:M.content}})})]}),M.attachment?(0,n.jsx)(l.Z,{children:(0,n.jsx)(v(),{href:"".concat(M.attachment_url),target:"_blank",children:(0,n.jsx)(j.z,{children:"Download Attachment"})})}):(0,n.jsx)(n.Fragment,{})]})})})})]})})};var C=!0;t.default=k},39627:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var n=s(14924),a=s(40080);class i{constructor(){(0,n.Z)(this,"getModels",async e=>await a.Z.get("/v1/posts",{params:e}).then(e=>e.data).catch(e=>e.response)),(0,n.Z)(this,"getModelsAll",async()=>await a.Z.get("/v1/posts",{params:{export:"true"}}).then(e=>e.data).catch(e=>e.response)),(0,n.Z)(this,"findModel",async e=>await a.Z.get("/v1/posts/".concat(e)).then(e=>e.data).catch(e=>e.response)),(0,n.Z)(this,"downloadModel",async e=>await a.Z.get("/v1/post_download/".concat(e),{headers:{"Content-Type":"application/pdf"}}).then(e=>e.data).catch(e=>e.response)),(0,n.Z)(this,"createModel",async e=>await a.Z.post("/v1/posts",e,{headers:{"Content-Type":"multipart/form-data"}}).then(e=>e.data).catch(e=>e.response)),(0,n.Z)(this,"updateModel",async e=>await a.Z.post("/v1/posts/".concat(e.get("id")),e,{headers:{"Content-Type":"multipart/form-data"}}).then(e=>e.data).catch(e=>e.response)),(0,n.Z)(this,"deleteModel",async e=>await a.Z.delete("/v1/posts/".concat(e)).then(e=>e.data).catch(e=>e.response))}}}},function(e){e.O(0,[9584,4575,1681,486,7968,1863,1231,8996,9774,2888,179],function(){return e(e.s=7061)}),_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.