PageSourceSearch

https://golektruk.com/_next/static/chunks/pages/gokil/history/contacted-6733a739c9219485.js

js golektruk.com collected 2026-10-01 15:16:54 UTC 2,480 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5460],{79213:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gokil/history/contacted",function(){return n(44277)}])},44277:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return Z},default:function(){return _}});var a=n(85893),i=n(51953),s=n(93997),c=n(19105),r=n(53994),d=n(59343),o=n(75013),l=n(91594),h=n(63029),u=n(369),x=n(2978),k=n(21311),p=n(87254),g=n(96986),f=n(53892),m=n(72728),b=n(11163),y=n(67294),Z=!0;function _(e){let{query:t}=e,{data:n,isFetching:Z,refetch:_,fetchNextPage:j,hasNextPage:N,isFetched:w,isFetchingNextPage:E}=(0,p.Y)(),S=(0,b.useRouter)(),[O,P]=(0,y.useState)(!1),{filter:C}=(0,g.Z)(),{toDetail:v}=(0,x.Z)();return(0,y.useEffect)(()=>{P(JSON.stringify((0,u.Z)(g.a.contacted))!==JSON.stringify((0,u.Z)(C.contacted)))},[C]),(0,a.jsxs)(a.Fragment,{children:[!t.filter&&(0,a.jsx)(l.Z,{header:"Riwayat Hubungi Iklan",onBack:S.back,hideOnDesktop:!0,isShadow:!1}),(0,a.jsxs)(h.Z,{...t,isSearch:O,history:"contacted",refetch:_,children:[!Z&&0===n.length&&(0,a.jsx)(i.Z,{src:"gi-contacted-empty.svg",text:"Anda belum pernah melakukan pencarian iklan",width:280,height:242}),!Z&&O&&0===n.length&&(0,a.jsx)(i.Z,{src:"shipper-search-not-found.png",width:280,height:171,text:"Anda belum pernah melakukan pencarian iklan pada tanggal tersebut",textClass:"text-center text-14 font-normal w-[328px]"}),(0,a.jsxs)("div",{className:"container h-screen",children:[(0,a.jsx)("p",{className:"mb-6 hidden text-18 font-semibold capitalize desktop:block",children:"Terakhir dihubungi"}),n.map((e,t)=>(0,a.jsxs)("div",{className:"mb-6 space-y-4",children:[(0,a.jsx)("p",{className:"text-14 font-medium desktop:text-16",children:(0,f.Z)(new Date(e.date),"EEEE, dd MMM yyyy",{locale:m.Z})}),e.items.map((e,t)=>(0,a.jsx)(d.default,{post:e,handleOnClick:()=>{v({id:e.gi_id,refetch:_,category:e.category,subCategory:e.sub_category},{onBan(e){"banned from admin"==e.type?(0,k.Z)((0,a.jsx)(o.Z,{reason:e.message,hideButton:!0,text:"Iklan yang Anda cari sedang di blokir"})):(0,k.Z)((0,a.jsx)(c.Z,{text:(0,a.jsxs)("p",{children:["Iklan tidak ditemukan, karena akun ",(0,a.jsx)("br",{})," usaha pemilik iklan telah Anda blokir"]})}
1))},onExpired(e){(0,k.Z)((0,a.jsx)(r.Z,{}))}})}},t))]},t))]}),(0,a.jsx)(s.Z,{fetchNextPage:j,hasNextPage:N,isFetched:w,isFetchingNextPage:E})]})]})}}},function(e){e.O(0,[6556,5445,5675,6202,5855,9343,8610,9774,2888,179],function(){return e(e.s=79213)}),_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.