PageSourceSearch

https://palembang.go.id/_next/static/chunks/pages/pelayanan-mobil-jenazah-55288ca381cda1ac.js

js palembang.go.id collected 2026-10-02 10:35:08 UTC 6,703 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7389],{4007:function(e,a,n){"use strict";var t=n(4836);a.Z=void 0;!function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=l(a);if(n&&n.has(e))return n.get(e);var t={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var c=r?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(t,i,c):t[i]=e[i]}t.default=e,n&&n.set(e,t)}(n(7294));var r=t(n(4938)),i=n(5893);function l(e){if("function"!==typeof WeakMap)return null;var a=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:a})(e)}var c=(0,r.default)((0,i.jsx)("path",{d:"M16.75 13.96c.25.13.41.2.46.3.06.11.04.61-.21 1.18-.2.56-1.24 1.1-1.7 1.12-.46.02-.47.36-2.96-.73-2.49-1.09-3.99-3.75-4.11-3.92-.12-.17-.96-1.38-.92-2.61.05-1.22.69-1.8.95-2.04.24-.26.51-.29.68-.26h.47c.15 0 .36-.06.55.45l.69 1.87c.06.13.1.28.01.44l-.27.41-.39.42c-.12.12-.26.25-.12.5.12.26.62 1.09 1.32 1.78.91.88 1.71 1.17 1.95 1.3.24.14.39.12.54-.04l.81-.94c.19-.25.35-.19.58-.11l1.67.88M12 2a10 10 0 0 1 10 10 10 10 0 0 1-10 10c-1.97 0-3.8-.57-5.35-1.55L2 22l1.55-4.65A9.969 9.969 0 0 1 2 12 10 10 0 0 1 12 2m0 2a8 8 0 0 0-8 8c0 1.72.54 3.31 1.46 4.61L4.5 19.5l2.89-.96A7.95 7.95 0 0 0 12 20a8 8 0 0 0 8-8 8 8 0 0 0-8-8z"}),"WhatsApp");a.Z=c},3609:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pelayanan-mobil-jenazah",function(){return n(3664)}])},4496:function(e,a,n){"use strict";n.d(a,{Z:function(){return c}});var t=n(5893),r=(n(7294),n(2963)),i=n(122),l=n(7958);function c(e){var a=e.pathname,n=e.url;return(0,t.jsx)("div",{className:"breadcrumbs",children:(0,t.jsxs)(r.Z,{"aria-label":"breadcrumb",separator:(0,t.jsx)(l.Z,{fontSize:"small"}),children:[(0,t.jsx)(i.Z,{underline:"hover",color:"inherit",href:"/",children:"Beranda"}),(0,t.jsx)(i.Z,{underline:"hover",color:"inherit",href:n,children:void 0!==a?a.replace("/","").replaceAll("-"," "):""})]})})}},3664:function(e,a,n){"use strict";n.r(a);var t=n(7568),r=n(4051),i=n.n(r),l=n(5893),c=n(9008),o=n.n(c),s=n(7294),d=n(7932),u=n(5861),h=n(3321),f=n(5054),p=n(7066),b=n(8078),m=n(4496),x=n(1163),v=n(4007),j=n(7906),Z=n(295),g=n(3252),y=n(2882),w=n(3184),_=n(3816),k=n(5113),N=n(2787);a.default=function(){var e,a,n=(0,s.useState)(!0),r=n[0],c=n[1],z=(0,s.useState)({data:[],meta:{}}),S=z[0],P=z[1],O=(0,s.useState)(""),A=O[0],M=O[1],E=(0,x.useRouter)().pathname,W=(0,s.useState)(1),B=W[0],C=W[1],T=function(){var e=(0,t.Z)(i().mark((function e(){var a,n,t,r=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.length>0&&void 0!==r[0]?r[0]:1,c(!0),M(""),n="".concat("https://palembang.go.id/api/","mobil-jenazahs?sort[0]=tanggal%3Adesc&populate=*&pagination[pageSize]=10&pagination[page]=").concat(a),e.prev=4,e.next=7,p.Z.get(n,{headers:{Authorization:"Bearer ".concat("f1a5747fd8424a57f87540a4a1bb3b3fd4a6166ab825b9a3de4e9a326b220afbf248eae88a8e0bb661eb2601e939f66e332a8865c03d9575e101fc0ec1f307830be1b4acd83b447dce76bc2f3ac3e0bea83668ee26ed065f2288ad656807710d3914ab25f2dce5b72b067d4937538f474608a8c6ad07f11e79e514f5bb4df1e2")}});case 7:200===(t=e.sent).status&&P(t.data),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(4),P({data:[],meta:{}}),M("Gagal memuat data pelayanan mobil jenazah.");case 15:return e.prev=15,c(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[4,11,15,18]])})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=(0,t.Z)(i().mark((function e(a,n){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(n),e.next=3,T(n);case 3:window.scrollTo(0,0);case 4:case"end":return e.stop()}}),e)})));return function(a,n){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){T(1)}),[]),(0,s.useEffect)((function(){window.scrollTo(0,0)}),[]);var K=Array.isArray(null===S||void 0===S?void 0:S.data)?S.data.map(N.B1).filter(Boolean):[],J=(null===S||void 0===S||null===(e=S.meta)||void 0===e||null===(a=e.pagination)||void 0===a?void 0:a.pageCount)||0;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(o(),{children:[(0,l.jsx)("title",{children:"Pelayanan Mobil Jenazah Kota Palembang"}),(0,l.jsx)("meta",{name:"description",content:"Semua informasi mengenai kota Palembang bisa di akses melalui"}),(0,l.jsx)("link",{rel:"icon",href:"../assets/img/logo.png"})]}),(0,l.jsx)("div",{className:"informasi-lainnya mt-layout",children:(0,l.jsxs)(d.Z,{fixed:!0,children:[(0,l.jsx)(m.Z,{pathname:E}),(0,l.jsx)("div",{className:"heading-all",children:(0,l.jsx)("h1",{children:"Pelayanan Mobil Jenazah"})}),(0,l.jsx)(y.Z,{component:k.Z,children:(0,l.jsxs)(j.Z,{className:"table-palembang",sx:{minWidth:650},"aria-label":"simple table",children:[(0,l.jsx)(w.Z,{children:(0,l.jsxs)(_.Z,{children:[(0,l.jsx)(g.Z,{children:"Kecamatan"}),(0,l.jsx)(g.Z,{})]})}),(0,l.jsx)(Z.Z,{children:r?(0,l.jsxs)(_.Z,{sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,l.jsx)(g.Z,{component:"th",scope:"row",children:(0,l.jsx)(b.Z,{variant:"text",sx:{fontSize:"1rem"}})}),(0,l.jsx)(g.Z,{children:(0,l.jsx)(b.Z,{variant:"text",sx:{fontSize:"1rem"}})})]}):A?(0,l.jsx)(_.Z,{className:"body-palembang",sx:{"&:last-child td, &:last-child th":{border:0}},children:(0,l.jsx)(g.Z,{colSpan:2,children:(0,l.jsx)(u.Z,{color:"error",children:A})})}):0===K.length?(0,l.jsx)(_.Z,{className:"body-palembang",sx:{"&:last-child td, &:last-child th":{border:0}},children:(0,l.jsx)(g.Z,{colSpan:2,children:(0,l.jsx)(u.Z,{children:"Data pelayanan mobil jenazah belum tersedia."})})}):K.map((function(e,a){var n,t,r=(0,N.ry)(null===e||void 0===e?void 0:e.contact);return(0,l.jsxs)(_.Z,{className:"body-palembang",sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,l.jsx)(g.Z,{component:"th",scope:"row",children:(null===e||void 0===e?void 0:e.wilayah)||"-"}),(0,l.jsx)(g.Z,{children:r.length>0?r.map((function(e,a){return(0,l.jsxs)(h.Z,{className:"button-palembang",component:"a",href:"tel:".concat((null===e||void 0===e?void 0:e.contact_phone)||""),children:[(0,l.jsx)(v.Z,{})," ",(null===e||void 0===e?void 0:e.contact_name)||(null===e||void 0===e?void 0:e.contact_phone)||"-"]},null!==(n=null===e||void 0===e?void 0:e.id)&&void 0!==n?n:a)})):(0,l.jsx)(u.Z,{variant:"body2",children:"Kontak belum tersedia"})})]},null!==(t=null===e||void 0===e?void 0:e.id)&&void 0!==t?t:a)}))})]})}),r?(0,l.jsx)(b.Z,{variant:"text",sx:{fontSize:"1rem"}}):J>1&&(0,l.jsx)("div",{className:"pagination-palembang",children:(0,l.jsx)(f.Z,{count:J,page:B,onChange:D})})]})})]})}}},function(e){e.O(0,[8930,8017,9774,2888,179],(function(){return a=3609,e(e.s=a);var a}));var a=e.O();_N_E=a}]);

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.