1"use strict";(self.webpackChunkdabs=self.webpackChunkdabs||[]).push([[9181],{77997:function(t,n,e){e.d(n,{$G:function(){return g},A9:function(){return m},Aq:function(){return k},Ds:function(){return A},IK:function(){return h},L0:function(){return q},OC:function(){return x},SQ:function(){return u},Sq:function(){return d},T3:function(){return T},Vm:function(){return b},WD:function(){return l},bN:function(){return z},bf:function(){return P},cB:function(){return j},gc:function(){return w},iR:function(){return f},iZ:function(){return I},jK:function(){return _},nk:function(){return Z},o_:function(){return v},ol:function(){return M},pR:function(){return C},pe:function(){return y},rE:function(){return L},ri:function(){return B},ur:function(){return N},v0:function(){return p},v2:function(){return i},vt:function(){return S},z3:function(){return D}});var r=e(74165),c=e(15861),o=e(55294),s=localStorage.getItem("LangId")||1;o.Z.defaults.baseURL="https://admin.dabs.af/api/";var a={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,o.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,o.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 a.get("menu/".concat(s))}},u={get:function(){return a.get("lang")}},d={get:function(t){return a.get("listnews/".concat(s,"?page=").concat(t))},getTopNews:function(){return a.get("listnewstop3/".concat(s))},getById:function(t){return a.get("news/".concat(t))},getByCategory:function(t){return a.get("newscatagory/".concat(t,"/").concat(s))},getByTag:function(t){return a.get("news_by_tag/".concat(t,"/").concat(s))},searchByTitle:function(t){return a.get("news_title/".concat(t,"/").concat(s))},postComment:function(t,n,e,r){return a.post("news_comments?comment=".concat(t,"&name=").concat(n,"&email=").concat(e,"&news_id=").concat(r))},getComments:function(t){return a.get("news_comment_by_news_id/".concat(t))},postHitCount:function(t){return a.post("updateHitCount?id=".concat(t))},getNewsCountById:function(t){return a.get("news_counts/".concat(t))}},l={get:function(){return a.get("catagory")}},g={get:function(){return a.get("tags")}},p={get:function(){return a.get("ceomessage/".concat(s))}},f={get:function(){return a.get("slider/".concat(s))}},h={get:function(t){return a.get("listprojects/".concat(s,"?page=").concat(t))},getTopProjects:function(){return a.get("projectstop3/".concat(s))},getById:function(t){return a.get("projects/".concat(t))}},j={get:function(t){return a.get("contact_directory?page=".concat(t))}},x={get:function(){return a.get("complaint_type/".concat(s))},addComplaint:function(t,n,e,r,c,o,s){return a.post("add_complaint?name=".concat(t,"&bill_number=").concat(n,"&phone_number=").concat(e,"&comments=").concat(r,"&specific_address=").concat(c,"&email=").concat(o,"&complaint_type_id=").concat(s))}},m=(function(){var t=(0,c.Z)((0,r.Z)().mark((function t(n,e,c,o,s,i,u,d,l){var g;return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log(n,e,c,o,s,i,u,d,l),(g=new FormData).append("Name",n),g.append("ContactPersonName",e),g.append("ContactPersonMobile",c),g.append("Email",o),g.append("Attachment",s),g.append("JawazNo",i),g.append("JawazExpiryDate",u),g.append("Password",d),g.append("TenderID",l),console.log(g),t.abrupt("return",a.post("addVendor",g,{headers:{"Content-Type":"multipart/form-data"}}));case 13:case"end":return t.stop()}}),t)})))}(),{get:function(t){return a.get("listforms/".concat(s,"?page=").concat(t))}}),_={get:function(t){return a.get("listdams/".concat(s,"?page=").concat(t))},getTopProjects:function(){return a.get("damstop3/".concat(s))},getById:function(t){return a.get("dams/".concat(t))}},b={getTopMessages:function(){return a.get("smallMessage/".concat(s))}},y={get:function(t){return a.get("listjobs?page=".concat(t))},getTopJobs:function(){return a.get("jobtop3")},getById:function(t){return a.get("jobs/".concat(t))}},v={get:function(t){return a.get("listtenders?page=".concat(t))},getArchive:function(t){return a.get("list_tender_archive?page=".concat(t))},getTopTenders:function(){return a.get("tendertop3")},getById:function(t){return a.get("tenders/".concat(t))},search:function(t){return a.get("search_tender?query=".concat(t))},searchArchive:function(t){return a.get("search_tender_archive?query=".concat(t))}},w={getTopTestimonial:function(){return a.get("testimonialtop3/".concat(s))}},N={get:function(){return a.get("biography/".concat(s))},getTopTestimonial:function(){return a.get("testimonialtop3/".concat(s))},getOurTeam:function(){return a.get("ourteam/".concat(s))}},I={get:function(t){return a.get("listmagazines/".concat(s,"?page=").concat(t))},getTopMagazine:function(){return a.get("magazinetop4")}},B={get:function(t){return a.get("listgallery/".concat(s,"?page=").concat(t))},getArticle:function(t){return a.get("listArticles?page=".concat(t))},getById:function(t){return a.get("gallery/".concat(t))}},T={getById:function(t){return a.get("page/".concat(t,"/").concat(s))}},Z={get:function(t){return a.get("listvideo?page=".concat(t))}},C={get:function(t){return a.get("listaward?page=".concat(t))},getById:function(t){return a.get("award/".concat(t))}},k={get:function(t){return a.get("listreports?page=".concat(t))},getById:function(t){return a.get("reports/".concat(t))}},D={get:function(t,n){return a.get("report_type/".concat(t,"?page=").concat(n))}},A={get:function(t,n){return a.get("investment/".concat(t,"?page=").concat(n))}},z={getById:function(t){return a.get("investments/".concat(t))}},P={get:function(t){return a.get("small_purchase?page=".concat(t))},getArchive:function(t){return a.get("archive_small_purchase?page=".concat(t))}},S={postMessage:function(t,n,e){return a.post("add_contact?name=".concat(t,"&email=").concat(n,"&message=").concat(e))}},q={get:function(t){return a.get("reportlist_type_law?page=".concat(t))},getById:function(t){return a.get("reports/".concat(t))}},L={get:function(t){return a.get("reportlist_type_policy?page=".concat(t))},getById:function(t){return a.get("reports/".concat(t))}},M={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,a.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)}}()}},59181:function(t,n,e){e.r(n);var r=e(29439),c=e(72791),o=e(57689),s=e(11087),a=e(77997),i=e(39230),u=e(53540),d=e(80184);n.default=function(){var t=(0,c.useState)([]),n=(0,r.Z)(t,2),e=n[0],l=n[1],g=(0,i.$G)().t,p=e.attachment||[],f=(0,o.UO)().id;return(0,c.useEffect)((function(){a.o_.getById(f).then((function(t){l(t)}))}),[f]),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"breadcrumb-area breadcrumb-bg",style:{backgroundImage:"url(/assets/img/backgrounds/project-bg.jpg)"},children:(0,d.jsx)("div",{className:"container",children:(0,d.jsx)("div",{className:"row",children:(0,d.jsx)("div",{className:"col",children:(0,d.jsxs)("div",{className:"page-banner text-center",children:[(0,d.jsx)("h1",{children:g("tender_details")}),(0,d.jsxs)("ul",{className:"page-breadcrumb",children:[(0,d.jsx)("li",{children:(0,d.jsx)(s.rU,{to:"/",children:g("home")})}),(0,d.jsx)("li",{children:(0,d.jsx)(s.rU,{to:"/tender",children:g("tenders")})}),(0,d.jsx)("li",{children:g("tender_details")})]})]})})})})}),(0,d.jsx)("div",{className:"page-wrapper section-space--inner--60",children:(0,d.jsx)("div",{className:"project-section",children:(0,d.jsx)("div",{className:"container",children:(0,d.jsxs)("div",{className:"row",children:[(0,d.jsx)("div",{className:"col-12 section-space--bottom--40",children:(0,d.jsx)("div",{className:"text-center",children:(0,d.jsx)("h2",{dir:"auto",children:e.title})})}),(0,d.jsx)("div",{className:"project-information row rounded-4 report-details",children:(0,d.jsx)("div",{className:"col-md-12 col-12 section-space--bottom--30",children:(0,d.jsx)("table",{style:{width:"100%",padding:"20px",borderCollapse:"collapse"},className:"table table-striped",children:(0,d.jsxs)("tbody",{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("Refno")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{dir:"auto",children:[e.refno," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("title")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{dir:"auto",children:[e.title," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("Category")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.catagory," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("publish_date")," "]})}),(0,d.jsx)("td",{children:(0,d.jsx)("strong",{children:new Date(e.publish_date).toLocaleDateString()})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("submission_date")," "]})}),(0,d.jsx)("td",{children:(0,d.jsx)("strong",{children:new Date(e.submission_date).toLocaleDateString()})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("contact_person_name")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.contact_person_name," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("contact_person_phone")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.contact_person_phone," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("contact_person_email")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.contact_person_email," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("donor")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.donor," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("location")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.location," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("type")," "]})}),(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[e.type," "]})})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("attachments")," "]})}),(0,d.jsx)("td",{children:p.map((function(t,n){return(0,d.jsxs)("a",{href:"".concat("https://admin.dabs.af","/files/tenders/").concat(t.file),download:!0,children:[t.file," \xa0\xa0\xa0"]},n)}))})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:(0,d.jsxs)("strong",{children:[g("description")," "]})}),(0,d.jsx)("td",{children:e.description&&(0,u.ZP)(e.description)})]})]})})})})]})})})})]})}}}]); 2//# sourceMappingURL=9181.4aaca4ce.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.