1"use strict";(self.webpackChunkdabs=self.webpackChunkdabs||[]).push([[9562],{77997:function(t,n,e){e.d(n,{$G:function(){return d},A9:function(){return j},Aq:function(){return k},Ds:function(){return A},IK:function(){return m},L0:function(){return z},OC:function(){return x},SQ:function(){return u},Sq:function(){return l},T3:function(){return B},Vm:function(){return b},WD:function(){return g},bN:function(){return q},bf:function(){return D},cB:function(){return h},gc:function(){return w},iR:function(){return p},iZ:function(){return Z},jK:function(){return v},nk:function(){return I},o_:function(){return _},ol:function(){return R},pR:function(){return C},pe:function(){return y},rE:function(){return P},ri:function(){return T},ur:function(){return N},v0:function(){return f},v2:function(){return i},vt:function(){return M},z3:function(){return S}});var c=e(74165),r=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,r.Z)((0,c.Z)().mark((function t(n){return(0,c.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,r.Z)((0,c.Z)().mark((function t(n){return(0,c.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")}},l={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,c){return s.post("news_comments?comment=".concat(t,"&name=").concat(n,"&email=").concat(e,"&news_id=").concat(c))},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))}},g={get:function(){return s.get("catagory")}},d={get:function(){return s.get("tags")}},f={get:function(){return s.get("ceomessage/".concat(o))}},p={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))}},x={get:function(){return s.get("complaint_type/".concat(o))},addComplaint:function(t,n,e,c,r,a,o){return s.post("add_complaint?name=".concat(t,"&bill_number=").concat(n,"&phone_number=").concat(e,"&comments=").concat(c,"&specific_address=").concat(r,"&email=").concat(a,"&complaint_type_id=").concat(o))}},j=(function(){var t=(0,r.Z)((0,c.Z)().mark((function t(n,e,r,a,o,i,u,l,g){var d;return(0,c.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log(n,e,r,a,o,i,u,l,g),(d=new FormData).append("Name",n),d.append("ContactPersonName",e),d.append("ContactPersonMobile",r),d.append("Email",a),d.append("Attachment",o),d.append("JawazNo",i),d.append("JawazExpiryDate",u),d.append("Password",l),d.append("TenderID",g),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))}}),v={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")}},T={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))}},B={getById:function(t){return s.get("page/".concat(t,"/").concat(o))}},I={get:function(t){return s.get("listvideo?page=".concat(t))}},C={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))}},S={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))}},D={get:function(t){return s.get("small_purchase?page=".concat(t))},getArchive:function(t){return s.get("archive_small_purchase?page=".concat(t))}},M={postMessage:function(t,n,e){return s.post("add_contact?name=".concat(t,"&email=").concat(n,"&message=").concat(e))}},z={get:function(t){return s.get("reportlist_type_law?page=".concat(t))},getById:function(t){return s.get("reports/".concat(t))}},P={get:function(t){return s.get("reportlist_type_policy?page=".concat(t))},getById:function(t){return s.get("reports/".concat(t))}},R={get:function(){var t=(0,r.Z)((0,c.Z)().mark((function t(n,e){return(0,c.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)}}()}},59562:function(t,n,e){e.r(n);var c=e(29439),r=e(39230),a=e(72791),o=e(77997),s=e(2469),i=e(80184);n.default=function(){var t=(0,r.$G)().t,n=(0,a.useState)(!1),e=(0,c.Z)(n,2),u=e[0],l=e[1],g=(0,a.useState)(!1),d=(0,c.Z)(g,2),f=d[0],p=d[1],m=(0,a.useState)(""),h=(0,c.Z)(m,2),x=h[0],j=h[1],v=(0,a.useState)(""),b=(0,c.Z)(v,2),y=b[0],_=b[1],w=(0,a.useState)(""),N=(0,c.Z)(w,2),Z=N[0],T=N[1];return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"breadcrumb-area breadcrumb-bg",style:{backgroundImage:"url(assets/img/backgrounds/contact-us-bg.jpg)"},children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col",children:(0,i.jsxs)("div",{className:"page-banner text-center",children:[(0,i.jsx)("h1",{children:t("contact_us")}),(0,i.jsxs)("ul",{className:"page-breadcrumb",children:[(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:"/",children:t("home")})}),(0,i.jsx)("li",{children:t("contact_us")})]})]})})})})}),(0,i.jsx)("div",{className:"page-wrapper section-space--inner--120",children:(0,i.jsx)("div",{className:"conact-section",children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)("div",{className:"row section-space--bottom--50",children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)("div",{className:"contact-map",children:(0,i.jsx)("iframe",{title:"google-map",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3909.685711590742!2d69.14575079465422!3d34.51199215115136!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x38d169565f1b6023%3A0xd6154330fcf26a4a!2sDa%20Afghanistan%20Breshna%20Sherkat!5e0!3m2!1sen!2sbd!4v1687158437518!5m2!1sen!2sbd",allowFullScreen:!0})})})}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("div",{className:"col-lg-4 col-12",children:(0,i.jsxs)("div",{className:"contact-information",children:[(0,i.jsx)("h3",{children:t("contact_info")}),(0,i.jsxs)("ul",{children:[(0,i.jsxs)("li",{children:[(0,i.jsx)("span",{className:"icon",children:(0,i.jsx)("i",{className:"ion-android-map"})}),(0,i.jsx)("span",{className:"text",children:(0,i.jsx)("span",{children:t("address")})})]}),(0,i.jsxs)("li",{children:[(0,i.jsx)("span",{className:"icon",children:(0,i.jsx)("i",{className:"ion-ios-telephone-outline"})}),(0,i.jsxs)("span",{className:"text",children:[(0,i.jsx)("a",{href:"tel:+93748144144",children:"+93748144144"}),(0,i.jsx)("a",{href:"tel:144",children:"144"})]})]}),(0,i.jsxs)("li",{children:[(0,i.jsx)("span",{className:"icon",children:(0,i.jsx)("i",{className:"ion-ios-email-outline"})}),(0,i.jsxs)("span",{className:"text",children:[(0,i.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"}),(0,i.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})]})}),(0,i.jsx)("div",{className:"col-lg-8 col-12",children:(0,i.jsxs)("div",{className:"contact-form",children:[(0,i.jsx)("h3",{children:t("leave_message")}),u&&(0,i.jsx)(s.Z,{variant:"primary",children:"Message sent successfully!"},"primary"),f&&(0,i.jsx)(s.Z,{variant:"danger",children:"Something went wrong try again"},"danger"),(0,i.jsx)("form",{id:"contact-form",onSubmit:function(t){t.preventDefault(),o.vt.postMessage(x,y,Z).then((function(t){"success"===t.Result&&(l(!0),j(""),_(""),T("")),"failed"===t.Result&&p(!0),setTimeout((function(){p(!1),l(!1)}),5e3)}
1)).catch((function(t){console.log(t.message),p(!0)}))},children:(0,i.jsxs)("div",{className:"row row-10",children:[(0,i.jsx)("div",{className:"col-md-6 col-12 section-space--bottom--20",children:(0,i.jsx)("input",{name:"con_name",type:"text",value:x,onChange:function(t){return j(t.target.value)},required:!0,placeholder:"".concat(t("your_name"))})}),(0,i.jsx)("div",{className:"col-md-6 col-12 section-space--bottom--20",children:(0,i.jsx)("input",{name:"con_email",type:"email",value:y,onChange:function(t){return _(t.target.value)},required:!0,placeholder:"".concat(t("your_email"))})}),(0,i.jsx)("div",{className:"col-12",children:(0,i.jsx)("textarea",{name:"con_message",value:Z,onChange:function(t){return T(t.target.value)},required:!0,placeholder:"".concat(t("your_message")),defaultValue:""})}),(0,i.jsx)("div",{className:"col-12",children:(0,i.jsx)("button",{type:"submit",children:t("submit")})})]})})]})})]})]})})})]})}}}]); 2//# sourceMappingURL=9562.cb8c7e1b.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.