PageSourceSearch

https://bigandmini.org/_next/static/chunks/8753-40829d74fdfe5add.js

js bigandmini.org collected 2026-10-03 20:12:44 UTC 7,790 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8753],{81933:function(e,s,r){r.d(s,{Z:function(){return i}});var t=r(24246);r(27378);var l=r(57231),n=r(35928);function i(e){return(0,t.jsx)(l.Z,{children:(0,t.jsxs)("div",{style:{float:"right"},children:[(0,t.jsx)(n._HU,{onClick:e.previousPage,style:{verticalAlign:"top",cursor:"pointer",transform:"translateY(6px)"}}),(0,t.jsx)("p",{style:{fontWieght:"bold",margin:"0 20px",display:"inline-block"},children:e.pageNum}),(0,t.jsx)(n.H_v,{onClick:e.nextPage,style:{verticalAlign:"top",cursor:"pointer",transform:"translateY(6px)"}})]})})}},78818:function(e,s,r){r.d(s,{Z:function(){return u}});var t=r(24246),l=r(85255),n=r.n(l),i=r(27378),a=r(57231),o=r(53738),d=r(10987),c=r(80754),x=r(16125),m=function(e){let{meeting:s}=e;console.log(s);let{name:r,SK:l,age:n,interests:i}=s;return(0,t.jsx)("div",{children:(0,t.jsx)(o.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("b",{children:"Name:"})," ",r]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("b",{children:"Email:"})," ",l.substring(6)]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("b",{children:"About/Interests:"})," ",i]})]})})})},p=r(10013),h=function(e){let s=(0,x.v9)(e=>e),[r,l]=(0,i.useState)(),h=e=>{let s={},{metrics:r}=e,t=0;for(let e in r){let l=u(e).toJSON().substring(0,10);l in s?s[l]+=r[e]:s[l]=r[e],t+=r[e]}e.weeklyMetrics=s,e.totalMinutes=t},u=e=>{let s=(e=new Date(e)).getDay(),r=e.getDate()-s+(0==s?-6:1);return new Date(e.setDate(r))};return((0,i.useEffect)(()=>{let r={...s};r.userPK=e.PK,(0,p.d1)(r).then(e=>{h(e),l(e),console.log(e)}).catch(console.error)},[]),r)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z.Header,{closeButton:!0,children:(0,t.jsx)(d.Z.Title,{id:"example-custom-modal-styling-title",children:"User Information"})}),(0,t.jsxs)(d.Z.Body,{children:[(0,t.jsxs)("p",{className:"jsx-728dc985eb109265",children:[(0,t.jsx)("b",{className:"jsx-728dc985eb109265",children:"Name:"})," ",r.name]}),(0,t.jsxs)("p",{className:"jsx-728dc985eb109265",children:[(0,t.jsx)("b",{className:"jsx-728dc985eb109265",children:"Email:"})," ",r.PK.substring(5)]}),r.interests?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"jsx-728dc985eb109265",children:[(0,t.jsx)("b",{className:"jsx-728dc985eb109265",children:"Age:"})," ",r.age]}),(0,t.jsxs)("p",{className:"jsx-728dc985eb109265",children:[(0,t.jsx)("b",{className:"jsx-728dc985eb109265",children:"About/Interests:"})," ",r.interests]}),r.metrics?(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(o.Z,{children:[(0,t.jsx)("b",{className:"jsx-728dc985eb109265",children:"Total Call time: "})," ","\xa0",(0,t.jsxs)("p",{className:"jsx-728dc985eb109265",children:[" ",r.totalMinutes," ","minutes"]})]}),(0,t.jsx)(o.Z,{children:(0,t.jsx)("b",{className:"jsx-728dc985eb109265",children:"Weekly call distribution"})}),(0,t.jsxs)(o.Z,{style:{backgroundColor:"#F2F3FB",borderRadius:"5px"},children:[(0,t.jsx)(a.Z,{children:"WEEK OF"}),(0,t.jsx)(a.Z,{children:"MINUTES"})]}),Object.keys(r.weeklyMetrics).map(e=>{let s=e.substring(5).replace("-","/");return(0,t.jsxs)(o.Z,{style:{borderBottom:"1px solid #F2F3FB",padding:"8px 0"},children:[(0,t.jsx)(a.Z,{children:s}),(0,t.jsx)(a.Z,{children:r.weeklyMetrics[e]})]})})]}):(0,t.jsx)("p",{className:"jsx-728dc985eb109265",children:"This user does not have any call time logged."}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(c.Z,{style:{borderTop:"0px solid #F2F3FB",borderBottom:"1px solid #F2F3FB",marginBottom:"20px",paddingBottom:"10px",paddingTop:"15px"},children:(0,t.jsx)("h4",{className:"jsx-728dc985eb109265",children:"Match Information"})})}),r.meetings&&r.meetings.length>0?r.meetings.map(e=>(0,t.jsx)(m,{meeting:e})):(0,t.jsx)("div",{className:"jsx-728dc985eb109265",children:"Not matched yet"})]}):(0,t.jsx)("p",{className:"jsx-728dc985eb109265",children:"This user has not completed their profile."})]}),(0,t.jsx)(n(),{id:"728dc985eb109265",children:".user-list-card{background-color:white;margin:8px 0;padding:12px 10px;-webkit-transition:.25s;-moz-transition:.25s;-o-transition:.25s;transition:.25s;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.user-list-card:hover{-webkit-box-shadow:0 10px 10px 1px#dfdfdf;-moz-box-shadow:0 10px 10px 1px#dfdfdf;box-shadow:0 10px 10px 1px#dfdfdf;-webkit-transform:scale(1.02);-moz-transform:scale(1.02);-ms-transform:scale(1.02);-o-transform:scale(1.02);transform:scale(1.02)}.user-list-modal .modal-dialog{max-width:75%!important;margin-top:10%}"})]}):null},u=function(e){let[s,r]=(0,i.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.Z,{className:"user-list-card",children:[(0,t.jsx)(a.Z,{children:(0,t.jsx)("p",{onClick:()=>r(!0),className:"jsx-e5d67632ded8a984 name",children:e.name})}),(0,t.jsx)(a.Z,{children:e.PK.substring(5)}),(0,t.jsx)(a.Z,{children:e.hours}),(0,t.jsx)(a.Z,{children:e.profileCompleted?"Y":"N"}),(0,t.jsx)(a.Z,{})]}),(0,t.jsx)(d.Z,{show:s,onHide:()=>r(!1),dialogClassName:"modal-90w",className:"user-list-modal","aria-labelledby":"example-custom-modal-styling-title",children:(0,t.jsx)(h,{PK:e.PK})}),(0,t.jsx)(n(),{id:"e5d67632ded8a984",children:".blue-button{}.name{display:inline-block;color:#bf9002;cursor:pointer}.name:hover{text-decoration:underline}.user-list-card{background-color:white;margin:8px 0;padding:12px 10px;-webkit-transition:.25s;-moz-transition:.25s;
1-o-transition:.25s;transition:.25s;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.user-list-card:hover{-webkit-box-shadow:0 10px 10px 1px#dfdfdf;-moz-box-shadow:0 10px 10px 1px#dfdfdf;box-shadow:0 10px 10px 1px#dfdfdf;-webkit-transform:scale(1.02);-moz-transform:scale(1.02);-ms-transform:scale(1.02);-o-transform:scale(1.02);transform:scale(1.02)}.user-list-modal .modal-dialog{max-width:75%!important;margin-top:10%}"})]})}},48753:function(e,s,r){r.r(s);var t=r(24246),l=r(27378),n=r(53738),i=r(57231),a=r(78818),o=r(82608),d=r(16125),c=r(81933),x=r(10013);s.default=function(){let e=(0,d.v9)(e=>e),[s,r]=(0,l.useState)([]),[m,p]=(0,l.useState)(0),[h,u]=(0,l.useState)(["First key"]),j=(e,s)=>{h[s]&&0!==s?e.ExclusiveStartKey=h[s]:e.ExclusiveStartKey=void 0,console.log(s),console.log(h),(0,x.Qc)(e).then(e=>{console.log(e),e.LastEvaluatedKey&&!h[s+1]&&u(r=>(r.splice(s+1,1,e.LastEvaluatedKey),r)),e.Items&&r(e.Items.filter(e=>"Admin"!==e.userType))}).catch(console.error)},b=()=>{p(m+1)},f=()=>{m>0&&p(m-1)};return(0,l.useEffect)(()=>{j(e,m)},[m]),(0,t.jsx)(o.Z,{value:1,children:(0,t.jsxs)("div",{children:[(0,t.jsxs)(n.Z,{children:[(0,t.jsx)(i.Z,{children:"name"}),(0,t.jsx)(i.Z,{children:"email"}),(0,t.jsx)(i.Z,{children:"total call time"}),(0,t.jsx)(i.Z,{children:"profile completed"}),(0,t.jsx)(c.Z,{pageNum:m+1,nextPage:b,previousPage:f})]}),s.map((e,s)=>(0,t.jsx)(a.Z,{name:e.name,PK:e.PK,hours:e.metrics?function(e){let s=Object.values(e).reduce((e,s)=>e+s);return"".concat(Math.round(s/60),"h ").concat(s%60,"m")}(e.metrics):"—",profileCompleted:e.interests})),(0,t.jsx)(n.Z,{style:{float:"right"},children:(0,t.jsx)(c.Z,{pageNum:m+1,nextPage:b,previousPage:f})})]})})}},57231:function(e,s,r){var t=r(25773),l=r(30808),n=r(90005),i=r.n(n),a=r(27378),o=r(28398),d=["bsPrefix","className","as"],c=["xl","lg","md","sm","xs"],x=a.forwardRef(function(e,s){var r=e.bsPrefix,n=e.className,x=e.as,m=(0,l.Z)(e,d),p=(0,o.vE)(r,"col"),h=[],u=[];return c.forEach(function(e){var s,r,t,l=m[e];if(delete m[e],"object"==typeof l&&null!=l){var n=l.span;s=void 0===n||n,r=l.offset,t=l.order}else s=l;var i="xs"!==e?"-"+e:"";s&&h.push(!0===s?""+p+i:""+p+i+"-"+s),null!=t&&u.push("order"+i+"-"+t),null!=r&&u.push("offset"+i+"-"+r)}),h.length||h.push(p),a.createElement(void 0===x?"div":x,(0,t.Z)({},m,{ref:s,className:i().apply(void 0,[n].concat(h,u))}))});x.displayName="Col",s.Z=x}}]);
2//# sourceMappingURL=8753-40829d74fdfe5add.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.