1(this["webpackJsonpguni-sms"]=this["webpackJsonpguni-sms"]||[]).push([[36],{1043:function(e,t,a){e.exports={profileOverflow:"profile_profileOverflow__24wJm",heading:"profile_heading__1vOVh",active:"profile_active__2t39N",brandedDomainHeading:"profile_brandedDomainHeading__1FIL5",formInput:"profile_formInput__2nd0n",radioOption:"profile_radioOption__381K7",icon:"profile_icon__9t2ev",bg:"profile_bg__2a5Rw",tableBtn:"profile_tableBtn__22U3J",discount:"profile_discount__2rr2Y",createBar:"profile_createBar__3t_AV",modalCloseBtn:"profile_modalCloseBtn__1Dtbn",paymentCardRow:"profile_paymentCardRow__1QKWL",paymentCardRowDefault:"profile_paymentCardRowDefault__iggfI",paymentCardRowExpired:"profile_paymentCardRowExpired__1BCE4",paymentCardRadio:"profile_paymentCardRadio__3vvVg",paymentCardRowSelectable:"profile_paymentCardRowSelectable__2AEeU",paymentCardBrand:"profile_paymentCardBrand__ap981",paymentCardInfo:"profile_paymentCardInfo__23O-x",paymentCardTitle:"profile_paymentCardTitle__1mClS",paymentCardNumber:"profile_paymentCardNumber__UJcWR",paymentCardMeta:"profile_paymentCardMeta__3M5w0",paymentCardActions:"profile_paymentCardActions__3aNJv",paymentCardsAddCol:"profile_paymentCardsAddCol__2ffGi",paymentCardDefaultBtn:"profile_paymentCardDefaultBtn__29AdD",paymentCardDeleteBtn:"profile_paymentCardDeleteBtn__1lxqi",paymentCardBadge:"profile_paymentCardBadge__2poS2",creditCompactPanel:"profile_creditCompactPanel__28bNz",creditStatCompact:"profile_creditStatCompact__3pvyZ",creditStatCompactLabel:"profile_creditStatCompactLabel__2yUFp",creditStatCompactValue:"profile_creditStatCompactValue__2FP1F",creditStatCompactMeta:"profile_creditStatCompactMeta__3Z6xY",creditStatCard:"profile_creditStatCard__D_LWn",creditStatLabel:"profile_creditStatLabel__2-jB4",creditStatValue:"profile_creditStatValue__TCCh4",creditStatUnit:"profile_creditStatUnit__X4Ft_",creditStatHint:"profile_creditStatHint__1_Alb",creditRatesBar:"profile_creditRatesBar__2KVfH",creditRateItem:"profile_creditRateItem__3F73z",creditRateLabel:"profile_creditRateLabel__2jlr5",creditRateValue:"profile_creditRateValue__18mH-",creditRateSub:"profile_creditRateSub__V1AIr",creditRateDivider:"profile_creditRateDivider__1Y0aQ"}},1044:function(e,t,a){e.exports=a.p+"static/media/profile-demo.ca55135d.svg"},1045:function(e,t,a){"use strict";var n=a(0),i=a.n(n),r=a(4),l=a(49),o=a(77),c=a.n(o),d=(a(1044),a(32));var s=e=>{let{onMouseLeave:t,onMouseEnter:a,btnActive:n,hoverEvent:r,onClick:l,src:o,index:s}=e;const m=n===s,p=r===s;return i.a.createElement(i.a.Fragment,null,i.a.createElement("li",{className:"d-flex align-items-center mb-3",onMouseEnter:a,onMouseLeave:t},i.a.createElement(d.c,{to:""+o.path},i.a.createElement("i",{className:`${c.a.mainIcon} position-relative ${o.override?o.icon:"fas fa-"+o.icon} ${p?c.a.hoverIcon+" shadow-sm":null} ${m?c.a.activeIcon+" shadow-sm":null}`})),i.a.createElement(d.c,{to:""+o.path},i.a.createElement("div",{className:`${c.a.mainItem} text-start ms-3 py-2 px-3 ${p?c.a.hoverText:null} ${m?c.a.active:null}`,onClick:l},o.label))))},m=a(400);t.a=Object(r.b)(e=>({authStore:e.store.authStore}))(Object(r.c)((function(e){const{authStore:t,children:a}=e,r=Object(l.h)(),[o,d]=Object(n.useState)();if(!t.user)return i.a.createElement(m.a,null);const p=t.user,u=p.name;let _=[{label:"Profile",icon:"user-plus",path:"profile"},{label:"Sender IDs",icon:"list-ol",path:"sender-ids"},{label:"Security",icon:"shield-alt",path:"security"},{label:"Settings",icon:"cogs",path:"settings"},{label:"Branded Short Links",icon:"link",path:"custom-domain"},{label:"2FA Setting",icon:"check-circle",path:"email-mfa-list"},{label:"Reply Settings",icon:"fa-solid fa-sliders-simple",override:!0,path:"notification-settings"}];"subaccount"===p.role&&(null===p||void 0===p?void 0:p.deductFromAccount)&&_.splice(3,0,{label:"Invoice",icon:"file",path:"invoice"}),"subaccount"!==p.role&&_.splice(3,0,{label:"Invoice",icon:"file",path:"invoice"}),"postpaid"!==p.profileType&&"subaccount"!==p.role&&_.splice(5,0,{label:"Pricing",icon:"dollar-sign",path:"pricing"},{label:"Credits",icon:"credit-card",path:"credits"});const f=(()=>{const e=r.pathname.split("/").pop(),t=_.findIndex(t=>t.path===e);return-1!==t?t:null})();return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"d-flex"},i.a.createElement("div",{className:c.a.sidebar},i.a.createElement("div",{className:c.a.sidebarHeading+" d-flex align-items-center p-4"},i.a.createElement("div",{className:"mx-2 p-2 border-bottom text-wrap",style:{maxWidth:"160px",lineHeight:"1.4",wordBreak:"break-word"}},u)),i.a.createElement("div",{className:"my-3 "+c.a.group},i.a.createElement("ul",{className:c.a.sidebarmenu+" list-unstyled ps-3"},_.map((e,t)=>i.a.createElement(s,{key:t,onMouseEnter:()=>(e=>{d(e)})(t),onMouseLeave:()=>{d(null)},onClick:()=>{},src:e,btnActive:f,index:t,hoverEvent:o}))))),a))})))},2606:function(e,t,a){"use strict";var n=a(0),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},r=a(43),l=function(e,t){return n.createElement(r.a,Object.assign({},e,{ref:t,icon:i}))};l.displayName="LinkOutlined";t.a=n.forwardRef(l)},2666:function(e,t,a){"use strict";a.r(t);var n=a(0),i=a.n(n),r=a(4),l=a(36),o=a(11),c=a(12),d=a.n(c),s=a(49),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-1
15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z"}}]},name:"file-pdf",theme:"filled"},p=a(43),u=function(e,t){return n.createElement(p.a,Object.assign({},e,{ref:t,icon:m}))};u.displayName="FilePdfFilled";var _=n.forwardRef(u),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},b=function(e,t){return n.createElement(p.a,Object.assign({},e,{ref:t,icon:f}))};b.displayName="DownloadOutlined";var v=n.forwardRef(b),h=a(2606),g=a(1045),C=a(400),S=a(55),y=a(29),E=a(187),w=a(1043),x=a.n(w),I=a(6),N=a(1);t.default=Object(r.b)(e=>({authStore:e.store.authStore}))(Object(r.c)(e=>{const{authStore:t}=e,{user:a,setInvoiceDataPageSelectFrom:r,setInvoiceDataPageSelectTo:c,getInvoices:m,invoices:p,setInvoiceDataPage:u,setInvoiceDataPageSize:f,invoiceDatacurrent:b,invoiceDatapageSize:w,invoiceTotal:R,invoiceDataSelectedTo:B,invoiceDataSelectedFrom:O}=t,[D,k]=(Object(s.g)(),Object(n.useState)()),[L,M]=Object(n.useState)(!1);if(console.log(Object(N.p)(r,c)),Object(n.useEffect)(()=>{m()},[]),!a||!p)return i.a.createElement("div",{className:"container-fluid mt-4"},i.a.createElement(C.a,null));const z=[{title:"Date",dataIndex:"createdAt",render:e=>d()(e).format(I.p)},{title:"Invoice",className:"text-center",render:(e,t)=>i.a.createElement(i.a.Fragment,null,t.invoice_pdf&&i.a.createElement(_,{className:"fs-4 text-info-color",onClick:()=>{return e=t.invoice_pdf,void window.open(e,"_blank");var e}}))},{title:"Email",dataIndex:"bill_to"},{title:"Purchased For",dataIndex:"product_type"},{title:"Purchase Type",dataIndex:"payment_type",render:e=>"SpecialPlan"===e?"Special":"AutoCredit"===e?"Auto Credit":"SignupReward"===e?"SignUp Reward":"Admin"===e?"Credits By Admin":"Subscription"===e?"Subscription":"Normal"},{title:"Total Amount",dataIndex:"totalAmount",className:"text-center",render:(e,t)=>{const a=(null===t||void 0===t?void 0:t.amountWithoutBonus)?null===t||void 0===t?void 0:t.amountWithoutBonus:e;return`$ ${(a/100+a/1e3).toFixed(2)} `}}],A={type:"radio",onSelect:e=>{k(e)}};return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"container-fluid mt-4"},i.a.createElement(g.a,{index:3},i.a.createElement("div",{className:x.a.profileOverflow+" w-100 ps-3 px-lg-5 pb-3"},i.a.createElement("div",{className:""+x.a.heading},i.a.createElement("div",{className:"d-flex align-items-center mb-2"},i.a.createElement("h4",{className:"fw-bold m-0"},"Invoice")),i.a.createElement("p",null,"Manage and download your Invoices")),i.a.createElement("hr",null),i.a.createElement(l.a,{className:"mt-2"},i.a.createElement(o.a,{span:24},i.a.createElement(l.a,{className:"mb-3 d-flex align-items-center"},i.a.createElement("button",{className:`d-flex align-items-center justify-content-center me-3 ${x.a.icon} ${D?x.a.bg+" border-0":"border border-info text-info-color"}`,onClick:()=>{const e=D.invoice_pdf;void 0!==e?window.open(e,"_blank"):M(!0)},disabled:!D},i.a.createElement(v,null)),i.a.createElement("button",{className:`d-flex align-items-center justify-content-center me-3 ${x.a.icon} ${D?x.a.bg+" border-0":"border border-info text-info-color"}`,onClick:()=>{const e=D.invoice_url;void 0!==e?window.open(e,"_blank"):M(!0)},disabled:!D},i.a.createElement(h.a,null)),i.a.createElement(E.a,{pickerProps:{disabledDate:e=>e&&e>d()().endOf("day")},containerClassname:"mb-0",onChange:function(e){r(e[0]),c(e[1])},rangeSelector:!0,size:"default",value:[O,B]})),i.a.createElement(S.a,{tableLayout:"fixed",pagination:{defaultCurrent:1,current:b,total:R,pageSize:w,onChange:e=>{u(e)},showSizeChanger:!0,onShowSizeChange:function(e,t){f(t)},hideOnSinglePage:!0,showQuickJumper:!0},rowSelection:A,columns:z,dataSource:p,scroll:{x:750,y:320},rowKey:e=>e._id})))))),i.a.createElement(y.a,{visible:L,title:"No Invoice Found",description:"This transaction do n
1ot have any Invoice",primaryBtnProps:{label:"Ok",onClick:()=>M(!1)},closable:!0,onCancel:()=>M(!1),error:!0}))}))}}]); 2//# sourceMappingURL=36.4089ab89.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.