1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5173],{33129:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sales",function(){return r(61623)}])},4224:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(87462),o=r(63366),s=r(67294),a=r(90512),i=r(58510),c=r(4342),d=r(55378),u=r(38686),l=r(1977),Z=r(8027);function f(e){return(0,Z.ZP)("MuiCard",e)}(0,l.Z)("MuiCard",["root"]);var v=r(85893);let h=["className","raised"],m=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"]},f,t)},p=(0,c.ZP)(u.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"}));var x=s.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiCard"}),{className:s,raised:i=!1}=r,c=(0,o.Z)(r,h),u=(0,n.Z)({},r,{raised:i}),l=m(u);return(0,v.jsx)(p,(0,n.Z)({className:(0,a.Z)(l.root,s),elevation:i?8:void 0,ref:t,ownerState:u},c))})},99136:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(87462),o=r(63366),s=r(67294),a=r(90512),i=r(58510),c=r(4342),d=r(55378),u=r(1977),l=r(8027);function Z(e){return(0,l.ZP)("MuiCardContent",e)}(0,u.Z)("MuiCardContent",["root"]);var f=r(85893);let v=["className","component"],h=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"]},Z,t)},m=(0,c.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}}));var p=s.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiCardContent"}),{className:s,component:i="div"}=r,c=(0,o.Z)(r,v),u=(0,n.Z)({},r,{component:i}),l=h(u);return(0,f.jsx)(m,(0,n.Z)({as:i,className:(0,a.Z)(l.root,s),ownerState:u,ref:t},c))})},85728:function(e,t,r){"use strict";r.d(t,{Ro:function(){return a},ZB:function(){return s}});var n=r(8204),o=r(90109);let s=async e=>{let t=(0,o.hJ)(n.db,"PurchasedServices/".concat(e,"/purchases"));return(await (0,o.PL)(t)).docs.map(e=>({id:e.id,...e.data()}))},a=async e=>{let t=(0,o.hJ)(n.db,"SoldServices/".concat(e,"/sales"));return(await (0,o.PL)(t)).docs.map(e=>({id:e.id,...e.data()}))}},61623:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});
1var n=r(85893),o=r(67294),s=r(20564),a=r(69320),i=r(37491),c=r(4224),d=r(99136),u=e=>{let{service:t}=e;return(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(a.Z,{variant:"h5",component:"div",children:t.serviceId}),(0,n.jsxs)(a.Z,{color:"text.secondary",children:["Price: ",t.serviceId]}),(0,n.jsxs)(a.Z,{color:"text.secondary",children:["Turnaround Time: ",t.purchaseDatetime.toString()]}),(0,n.jsx)(i.ZP,{container:!0,justifyContent:"space-between",children:(0,n.jsxs)(a.Z,{color:"text.secondary",children:["Buyer ID: ",t.purchaserUserId]})})]})})},l=r(85728),Z=r(31439),f=()=>{let[e,t]=(0,o.useState)([]),{user:r}=(0,Z.a)(),c=null==r?void 0:r.uid;if((0,o.useEffect)(()=>{let e=async()=>{t(await (0,l.Ro)(c||""))};"authenticated"===status&&e()},[]),r)return(0,n.jsxs)(s.Z,{children:[(0,n.jsx)(a.Z,{variant:"h4",gutterBottom:!0,children:"Sold Services"}),(0,n.jsx)(i.ZP,{container:!0,spacing:2,children:e.map(e=>(0,n.jsx)(i.ZP,{item:!0,xs:12,sm:6,md:4,children:(0,n.jsx)(u,{service:e})},e.id))})]})}}},function(e){e.O(0,[7491,2888,9774,179],function(){return e(e.s=33129)}),_N_E=e.O()}]);
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.