1"use strict";(self.webpackChunkfacit=self.webpackChunkfacit||[]).push([[1641],{47873:function(e,t,l){l.d(t,{A:function(){return f}});var a=l(74165),n=l(29439),r=l(15861),c=l(91933),s=l(59434),o=l(7907),i=l(13866),d=l(9741),u=l(43901),y=l(97254),p=l(64781),m=l(84209),b=l(20779),h=function(){var e=(0,r.Z)((0,a.Z)().mark((function e(t){var l,r,c,s;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=t.queryKey,r=(0,n.Z)(l,2),r[0],c=r[1],e.next=4,o.Z.post("".concat(i.ZP.FILTER_CREATORS),c);case 4:return s=e.sent,console.log("creatorsAll",s),e.abrupt("return",null===s||void 0===s?void 0:s.data);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(e){var t=(0,s.I0)(),l=(0,s.v9)(b.UT),a=(0,s.v9)(u.nc),n=(0,s.v9)(m.n),r=(0,s.v9)(y.$S),o=(0,s.v9)(p.Lf);return(0,c.useQuery)([i.ZP.FILTER_CREATORS,e,a,r,o,n,l],h,{onSuccess:function(e){t({type:d.DQ.SET_CRM_CREATOR_DATA,payload:null===e||void 0===e?void 0:e.data})},enabled:!!e})}},1641:function(e,t,l){l.r(t),l.d(t,{default:function(){return h}});var a=l(29439),n=l(72791),r=(l(26438),l(43504)),c=(l(59434),l(22092),l(98418),l(99665),l(96034)),s=l(59332),o=(l(56457),l(81006)),i=(l(9741),l(13866)),d=(l(37551),l(15659),l(11770),l(74747),l(30840),l(23258),l(47873),l(74165)),u=l(15861),y=l(91933),p=l(7907),m=function(){var e=(0,u.Z)((0,d.Z)().mark((function e(){var t,l;return(0,d.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.Z.get("".concat(i.ZP.GET_BRIEF_LIST));case 2:return t=e.sent,l=t.data,e.abrupt("return",l.data||[]);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=l(80184),h=function(){var e=(0,y.useQuery)([i.ZP.GET_BRIEF_LIST],m,{refetchOnMount:!0}
1),t=e.data,l=e.isLoading,d=(0,n.useState)(s.LD[10]),u=(0,a.Z)(d,2),p=u[0],h=(u[1],(0,n.useState)(1)),f=(0,a.Z)(h,2),v=f[0];f[1];return console.log("data ----- brief ",t),(0,b.jsxs)(o.Z,{children:[(0,b.jsx)("div",{className:"d-flex w-100 justify-content-between pe-5",children:(0,b.jsx)("span",{className:"h1 mb-0 fw-bold",style:{paddingLeft:"2rem"},children:"Brief Dashboard"})}),(0,b.jsx)("br",{}),(0,b.jsx)("div",{className:"row mt-4",children:(0,b.jsx)(c.ZP,{stretch:!0,children:(0,b.jsx)(c.eW,{className:"table-responsive overflow-auto",children:(0,b.jsxs)("table",{className:"table table-modern",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{className:"text-center",children:"CREATOR NAME"}),(0,b.jsx)("th",{className:"text-center",children:"BRIEF MESSAGE"}),(0,b.jsx)("th",{className:"text-center",children:"CREATOR REPLY"}),(0,b.jsx)("th",{className:"text-center",children:"BRIEF STATUS"}),(0,b.jsx)("th",{className:"text-center",children:"CLOSED"}),(0,b.jsx)("th",{className:"text-center",children:"CREATED DATE"}),(0,b.jsx)("th",{className:"text-center",children:"EXPIRED"})]})}),(0,b.jsx)("tbody",{children:!l&&t&&(0,s.c9)(t,v,p).map((function(e,t){var l,a,n;return(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{className:"text-center",children:(0,b.jsx)("span",{className:"text-nowrap","aria-hidden":"true",role:"button",children:(0,b.jsx)(r.rU,{onClick:function(){},to:"/creator_profile/".concat(null===e||void 0===e||null===(l=e.Creator[0])||void 0===l?void 0:l._id),style:{textDecoration:"none"},children:null===e||void 0===e||null===(a=e.Creator[0])||void 0===a?void 0:a.fullName})})}),(0,b.jsx)("td",{className:"text-center",children:null===e||void 0===e||null===(n=e.Notes[0])||void 0===n?void 0:n.notes_body.replace("<p>","").replace("</p>","")}),(0,b.jsx)("td",{className:"text-center",children:null===e||void 0===e?void 0:e.creator_reply}),(0,b.jsx)("td",{className:"text-center",style:{color:null!==e&&void 0!==e&&e.isAccepted?"green":"red"},children:null!==e&&void 0!==e&&e.isAccepted?"Accepted":"Not Accepted"}),(0,b.jsx)("td",{className:"text-center",style:{color:null!==e&&void 0!==e&&e.isAccepted?"red":"green"},children:null!==e&&void 0!==e&&e.isAccepted?"Closed":"Active"}),(0,b.jsx)("td",{className:"text-center",children:null===e||void 0===e?void 0:e.createdAt}),(0,b.jsx)("td",{className:"text-center",style:{color:"green"},children:"Active"})]})}))})]})})})})]})}},15659:function(e,t,l){l.d(t,{Fw:function(){return n},on:function(){return a},oq:function(){return r},wo:function(){return c}});var a=[{label:"fullName",key:"fullName"},{label:"userName",key:"userName"},{label:"email",key:"email"},{label:"phone",key:"phone"},{label:"platform",key:"platform"},{label:"location",key:"location"}],n=[{label:"city",key:"city"},{label:"domain",key:"domain"},{label:"industry",key:"industry"},{label:"name",key:"name"},{label:"phone",key:"phone"},{label:"state",key:"state"},{label:"country",key:"country"},{label:"companyType",key:"companyType"},{label:"email",key:"email"}],r=[{label:"projectName",key:"projectName"},{label:"budget",key:"budget"},{label:"startDate",key:"startDate"},{label:"endDate",key:"endDate"},{label:"projectStage",key:"projectStage"},{label:"phone",key:"phone"},{label:"currency",key:"currency"},{label:"platform",key:"platform"},{label:"projectType",key:"projectType"}],c=[{label:"username",key:"username"},{label:"fullname",key:"fullname"},{label:"gender",key:"gender"},{label:"platform",key:"influencerType"},{label:"followers",key:"followers"},{label:"engagement_rate",key:"engagementRate"},{label:"estimated_reach",key:"estimatedReach"},{label:"handle_link",key:"handle"},{label:"posts",key:"posts"},{label:"average_views",key:"avgViews"},{label:"average_likes",key:"avgLikes"},{label:"average_comments",key:"avgComments"},{label:"interests",key:"interests"},{label:"gender_split",key:"gender_split"}]}}]); 2//# sourceMappingURL=1641.c5b3a5a4.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.