PageSourceSearch

https://main.dabs.af/static/js/525.3af63b5e.chunk.js

js dabs.af collected 2026-09-28 08:29:14 UTC 11,160 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdabs=self.webpackChunkdabs||[]).push([[525],{77997:function(t,n,e){e.d(n,{$G:function(){return d},A9:function(){return x},Aq:function(){return k},Ds:function(){return A},IK:function(){return m},L0:function(){return M},OC:function(){return v},SQ:function(){return u},Sq:function(){return g},T3:function(){return I},Vm:function(){return b},WD:function(){return l},bN:function(){return q},bf:function(){return z},cB:function(){return h},gc:function(){return w},iR:function(){return f},iZ:function(){return Z},jK:function(){return j},nk:function(){return T},o_:function(){return _},ol:function(){return E},pR:function(){return B},pe:function(){return y},rE:function(){return D},ri:function(){return C},ur:function(){return N},v0:function(){return p},v2:function(){return i},vt:function(){return S},z3:function(){return P}});var r=e(74165),c=e(15861),a=e(55294),o=localStorage.getItem("LangId")||1;a.Z.defaults.baseURL="https://admin.dabs.af/api/";var s={get:function(){var t=(0,c.Z)((0,r.Z)().mark((function t(n){return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.Z.get(n).then((function(t){return t.data}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),post:function(){var t=(0,c.Z)((0,r.Z)().mark((function t(n){return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.Z.post(n).then((function(t){return t.data}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}()},i={get:function(){return s.get("menu/".concat(o))}},u={get:function(){return s.get("lang")}},g={get:function(t){return s.get("listnews/".concat(o,"?page=").concat(t))},getTopNews:function(){return s.get("listnewstop3/".concat(o))},getById:function(t){return s.get("news/".concat(t))},getByCategory:function(t){return s.get("newscatagory/".concat(t,"/").concat(o))},getByTag:function(t){return s.get("news_by_tag/".concat(t,"/").concat(o))},searchByTitle:function(t){return s.get("news_title/".concat(t,"/").concat(o))},postComment:function(t,n,e,r){return s.post("news_comments?comment=".concat(t,"&name=").concat(n,"&email=").concat(e,"&news_id=").concat(r))},getComments:function(t){return s.get("news_comment_by_news_id/".concat(t))},postHitCount:function(t){return s.post("updateHitCount?id=".concat(t))},getNewsCountById:function(t){return s.get("news_counts/".concat(t))}},l={get:function(){return s.get("catagory")}},d={get:function(){return s.get("tags")}},p={get:function(){return s.get("ceomessage/".concat(o))}},f={get:function(){return s.get("slider/".concat(o))}},m={get:function(t){return s.get("listprojects/".concat(o,"?page=").concat(t))},getTopProjects:function(){return s.get("projectstop3/".concat(o))},getById:function(t){return s.get("projects/".concat(t))}},h={get:function(t){return s.get("contact_directory?page=".concat(t))}},v={get:function(){return s.get("complaint_type/".concat(o))},addComplaint:function(t,n,e,r,c,a,o){return s.post("add_complaint?name=".concat(t,"&bill_number=").concat(n,"&phone_number=").concat(e,"&comments=").concat(r,"&specific_address=").concat(c,"&email=").concat(a,"&complaint_type_id=").concat(o))}},x=(function(){var t=(0,c.Z)((0,r.Z)().mark((function t(n,e,c,a,o,i,u,g,l){var d;return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log(n,e,c,a,o,i,u,g,l),(d=new FormData).append("Name",n),d.append("ContactPersonName",e),d.append("ContactPersonMobile",c),d.append("Email",a),d.append("Attachment",o),d.append("JawazNo",i),d.append("JawazExpiryDate",u),d.append("Password",g),d.append("TenderID",l),console.log(d),t.abrupt("return",s.post("addVendor",d,{headers:{"Content-Type":"multipart/form-data"}}));case 13:case"end":return t.stop()}}),t)})))}(),{get:function(t){return s.get("listforms/".concat(o,"?page=").concat(t))}}),j={get:function(t){return s.get("listdams/".concat(o,"?page=").concat(t))},getTopProjects:function(){return s.get("damstop3/".concat(o))},getById:function(t){return s.get("dams/".concat(t))}},b={getTopMessages:function(){return s.get("smallMessage/".concat(o))}},y={get:function(t){return s.get("listjobs?page=".concat(t))},getTopJobs:function(){return s.get("jobtop3")},getById:function(t){return s.get("jobs/".concat(t))}},_={get:function(t){return s.get("listtenders?page=".concat(t))},getArchive:function(t){return s.get("list_tender_archive?page=".concat(t))},getTopTenders:function(){return s.get("tendertop3")},getById:function(t){return s.get("tenders/".concat(t))},search:function(t){return s.get("search_tender?query=".concat(t))},searchArchive:function(t){return s.get("search_tender_archive?query=".concat(t))}},w={getTopTestimonial:function(){return s.get("testimonialtop3/".concat(o))}},N={get:function(){return s.get("biography/".concat(o))},getTopTestimonial:function(){return s.get("testimonialtop3/".concat(o))},getOurTeam:function(){return s.get("ourteam/".concat(o))}},Z={get:function(t){return s.get("listmagazines/".concat(o,"?page=").concat(t))},getTopMagazine:function(){return s.get("magazinetop4")}},C={get:function(t){return s.get("listgallery/".concat(o,"?page=").concat(t))},getArticle:function(t){return s.get("listArticles?page=".concat(t))},getById:function(t){return s.get("gallery/".concat(t))}},I={getById:function(t){return s.get("page/".concat(t,"/").concat(o))}},T={get:function(t){return s.get("listvideo?page=".concat(t))}},B={get:function(t){return s.get("listaward?page=".concat(t))},getById:function(t){return s.get("award/".concat(t))}},k={get:function(t){return s.get("listreports?page=".concat(t))},getById:function(t){return s.get("reports/".concat(t))}},P={get:function(t,n){return s.get("report_type/".concat(t,"?page=").concat(n))}},A={get:function(t,n){return s.get("investment/".concat(t,"?page=").concat(n))}},q={getById:function(t){return s.get("investments/".concat(t))}},z={get:function(t){return s.get("small_purchase?page=".concat(t))},getArchive:function(t){return s.get("archive_small_purchase?page=".concat(t))}},S={postMessage:function(t,n,e){return s.post("add_contact?name=".concat(t,"&email=").concat(n,"&message=").concat(e))}},M={get:function(t){return s.get("reportlist_type_law?page=".concat(t))},getById:function(t){return s.get("reports/".concat(t))}},D={get:function(t){return s.get("reportlist_type_policy?page=".concat(t))},getById:function(t){return s.get("reports/".concat(t))}},E={get:function(){var t=(0,c.Z)((0,r.Z)().mark((function t(n,e){return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.get("search?q=".concat(n,"&page=").concat(e));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(n,e){return t.apply(this,arguments)}}()}},44911:function(t,n,e){e(72791);var r=e(39230),c=e(80184);n.Z=function(t){var n=t.currentPage,e=t.lastPage,a=t.onPrev,o=t.onNext,s=t.onPageClick,i=(0,r.$G)().t;return(0,c.jsxs)("ul",{className:"page-pagination section-space--top--10",children:[(0,c.jsx)("li",{children:n>1?(0,c.jsxs)("a",{onClick:a,children:[(0,c.jsx)("i",{className:"prev_class"}),"  ",i("prev")]}):(0,c.jsxs)("a",{className:"disabled",title:"First Page",children:[(0,c.jsx)("i",{className:"prev_class"}),i("prev")]})}),function(){for(var t=[],r=Math.floor(2.5),a=function(a){1===a||a===e||a>=n-r&&a<=n+r?t.push((0,c.jsx)("li",{children:(0,c.jsx)("a",{onClick:function(){return s(a)},className:a===n?"active":"",children:a})},a)):a!==n-r-1&&a!==n+r+1||t.push((0,c.jsx)("span",{children:"..."},a))},o=1;o<=e;o++)a(o);return t}(),(0,c.jsx)("li",{children:n<e?(0,c.jsxs)("a",{onClick:o,children:[(0,c.jsx)("i",{className:"next_class"}),i("next")]}):(0,c.jsxs)("a",{className:"disabled",children:[(0,c.jsx)("i",{className:"next_class"})," ",i("next")]})})]})}},20525:function(t,n,e){e.r(n);var r=e(29439),c=e(62591),a=e(11087),o=e(39230),s=e(72791),i=e(77997),u=e(34787),g=e(44911),l=(e(56544),e(80184));
1n.default=function(){var t=(0,s.useState)(!1),n=(0,r.Z)(t,2),e=n[0],d=n[1],p=(0,s.useState)([]),f=(0,r.Z)(p,2),m=f[0],h=f[1],v=(0,s.useState)([]),x=(0,r.Z)(v,2),j=x[0],b=x[1],y=(0,s.useState)(1),_=(0,r.Z)(y,2),w=(_[0],_[1]),N=(0,s.useState)(1),Z=(0,r.Z)(N,2),C=Z[0],I=Z[1],T=(0,o.$G)().t;(0,s.useEffect)((function(){i.Aq.get(1).then((function(t){h(t),b(t.data),I(t.last_page)})).catch((function(t){return console.log(t)}))}),[]);return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"breadcrumb-area breadcrumb-bg",style:{backgroundImage:"url(/assets/img/backgrounds/news-bg.jpg)"},children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col",children:(0,l.jsxs)("div",{className:"page-banner text-center",children:[(0,l.jsx)("h1",{children:T("reports")}),(0,l.jsxs)("ul",{className:"page-breadcrumb",children:[(0,l.jsx)("li",{children:(0,l.jsx)(a.rU,{to:"/",children:T("home")})}),(0,l.jsx)("li",{children:T("reports")})]})]})})})})}),(0,l.jsx)("div",{className:"service-grid-item grid--item rounded",children:(0,l.jsxs)(c.Z,{responsive:"md",className:"service-grid-item--style3",children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"#"}),(0,l.jsx)("th",{children:T("title")}),(0,l.jsx)("th",{children:T("publish_date")})]})}),(0,l.jsx)("tbody",{children:j&&j.map((function(t,n){return(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:n+1}),(0,l.jsxs)("td",{style:{color:"#0055ffeb",cursor:"pointer"},children:[(0,l.jsx)(a.rU,{to:"".concat("","/report-details/").concat(t.id),children:t.title})," "]}),(0,l.jsx)("td",{children:t.publish_date})]},n)}))})]})}),(0,l.jsx)("div",{className:"row mb-5",children:(0,l.jsxs)("div",{className:"col",children:[(0,l.jsx)(g.Z,{currentPage:m.current_page,lastPage:C,onPrev:function(){return t=m.current_page,d(!0),void i.Aq.get(t-1).then((function(n){h(n),b(n.data),w(t-1),d(!1)}));var t},onNext:function(){return t=m.current_page,d(!0),void i.Aq.get(t+1).then((function(n){h(n),b(n.data),w(t+1),d(!1)}));var t},onPageClick:function(t){return function(t){d(!0),i.Aq.get(t).then((function(n){h(n),b(n.data),w(t),I(n.last_page),d(!1)}))}(t)}}),e&&(0,l.jsx)(u.Z,{})," "]})})]})}},62591:function(t,n,e){var r=e(1413),c=e(45987),a=e(81694),o=e.n(a),s=e(72791),i=e(10162),u=e(80184),g=["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"],l=s.forwardRef((function(t,n){var e=t.bsPrefix,a=t.className,s=t.striped,l=t.bordered,d=t.borderless,p=t.hover,f=t.size,m=t.variant,h=t.responsive,v=(0,c.Z)(t,g),x=(0,i.vE)(e,"table"),j=o()(a,x,m&&"".concat(x,"-").concat(m),f&&"".concat(x,"-").concat(f),s&&"".concat(x,"-").concat("string"===typeof s?"striped-".concat(s):"striped"),l&&"".concat(x,"-bordered"),d&&"".concat(x,"-borderless"),p&&"".concat(x,"-hover")),b=(0,u.jsx)("table",(0,r.Z)((0,r.Z)({},v),{},{className:j,ref:n}));if(h){var y="".concat(x,"-responsive");return"string"===typeof h&&(y="".concat(y,"-").concat(h)),(0,u.jsx)("div",{className:y,children:b})}return b}));n.Z=l},56544:function(){}}]);
2//# sourceMappingURL=525.3af63b5e.chunk.js.map

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.