1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="646f2c98-bf5e-4179-8f2b-5aaef1b0db07",e._sentryDebugIdIdentifier="sentry-dbid-646f2c98-bf5e-4179-8f2b-5aaef1b0db07")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51421],{74907:function(e,t,a){a.r(t),a.d(t,{default:function(){return p}});var s=a(57437),n=a(17138),r=a.n(n),o=a(97459),i=a(24387),c=a(5783),d=a(70189),l=a(35528);let x=new String(".container.jsx-450b0ac9937cb794{overflow:auto}p.jsx-450b0ac9937cb794{font-size:24px;margin:0 20px 30px 20px;text-align:center;font-weight:".concat(l.vC.semiLight,"}.no-data.jsx-450b0ac9937cb794{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:350px}"));x.__hash="450b0ac9937cb794";var p=e=>{let{business:t,history:a}=e,{user:n}=(0,d.ph)();return(0,s.jsxs)("div",{className:"jsx-".concat(x.__hash)+" container",children:[a.length?(0,s.jsx)("div",{className:"jsx-".concat(x.__hash)+" table-container",children:(0,s.jsx)(o.Z,{history:a,user:n.data})}):(0,s.jsxs)("div",{className:"jsx-".concat(x.__hash)+" no-data",children:[(0,s.jsxs)("p",{className:"jsx-".concat(x.__hash),children:["You haven't made an inquiry to ",t.name," through The Vendry yet"]}),(0,s.jsx)(c.Z,{data:{business:{...t,id:t.id.businessId}},children:(0,s.jsx)(i.Z,{button:{variant:"primary",children:"Request Proposal"}})})]}),(0,s.jsx)(r(),{id:x.__hash,children:x})]})}},97459:function(e,t,a){a.d(t,{Z:function(){return R}});var s=a(57437),n=a(17138),r=a.n(n),o=a(87133),i=a(93447),c=a(30554),d=a(21375),l=a(83062);class x{constructor(e,t){this.column=e,this.label=t}}var p=x,h=a(51188);let f=new String(".container.jsx-3e3d420d34bda053{width:100%;overflow:auto}table.jsx-3e3d420d34bda053{border-collapse:collapse;width:100%}thead.jsx-3e3d420d34bda053 tr.jsx-3e3d420d34bda053{border-bottom:1px solid ".concat(h.O9.lightGrey,"}thead.jsx-3e3d420d34bda053 th.jsx-3e3d420d34bda053{min-width:120px;text-align:left;padding-right:36px;color:").concat(h.O9.grey,";font-weight:").concat(h.vC.semiBold,";letter-spacing:.3px}tbody.jsx-3e3d420d34bda053 td.jsx-3e3d420d34bda053{padding:15px 36px 15px 0;font-size:16px;line-height:24px;letter-spacing:.35px;color:").concat(h.O9.black,"}.name.jsx-3e3d420d34bda053,.budget.jsx-3e3d420d34bda053{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;min-width:120px}.date-cell.jsx-3e3d420d34bda053{min-width:120px}.indicator.jsx-3e3d420d34bda053{height:8px;width:8px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-left:10px;background:currentColor}.rfp-link.jsx-3e3d420d34bda053{color:").concat(h.O9.violet,";text-decoration:underline}.users-list.jsx-3e3d420d34bda053{margin:0 -20px -10px 0}.users-list.col.jsx-3e3d420d34bda053{-webkit-column-count:3;-moz-column-count:3;column-count:3}.users-list.jsx-3e3d420d34bda053 li.jsx-3e3d420d34bda053{padding:0 20px 8px 0;max-width:130px}.user-name.jsx-3e3d420d34bda053{letter-spacing:.13px;font-size:13px;font-weight:").concat(h.vC.semiLight,"}.excess-users.jsx-3e3d420d34bda053{margin-left:6px}@media(max-width:").concat(h.AV.sm,"){tbody.jsx-3e3d420d34bda053 td.jsx-3e3d420d34bda053{padding:10px 24px 10px 0;font-size:14px}}"));f.__hash="3e3d420d34bda053";let b=new String(".container.jsx-5f705600ae7f20d1{width:100%;overflow:auto}table.jsx-5f705600ae7f20d1{border-collapse:collapse;width:100%}thead.jsx-5f705600ae7f20d1 tr.jsx-5f705600ae7f20d1{border-bottom:1px solid ".concat(h.O9.lightGrey,";padding-bottom:24px}thead.jsx-5f705600ae7f20d1 th.jsx-5f705600ae7f20d1{min-width:120px;text-align:left;padding-right:36px;color:").concat(h.O9.grey,";font-weight:").concat(h.vC.semiBold,";letter-spacing:.3px}tbody.jsx-5f705600ae7f20d1 td.jsx-5f705600ae7f20d1{padding:36px 36px 12px 0px}tbody.jsx-5f705600ae7f20d1 tr.jsx-5f705600ae7f20d1{border-bottom:1px solid ").concat(h.O9["primary-grey-200"],"}tbody.jsx-5f705600ae7f20d1 tr.jsx-5f705600ae7f20d1:last-child{border-bottom:none}.name.jsx-5f705600ae7f20d1{color:").concat(h.O9["primary-brand-700"],'}.budget.jsx-5f705600ae7f20d1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;min-width:120px}.date-cell.jsx-5f705600ae7f20d1{min-width:120px}.header.jsx-5f705600ae7f20d1{font-size:12px;line-height:18px;font-family:"Open Sans",sans-serif;letter-spacing:0;color:').concat(h.O9["primary-grey-600"],";font-weight:600}.indicator.jsx-5f705600ae7f20d1{height:8px;width:8px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;margin-left:10px;background:currentColor}.rfp-link.jsx-5f705600ae7f20d1{color:").concat(h.O9["primary-brand-700"],";text-decoration:underline}.users-list.jsx-5f705600ae7f20d1{margin:0 -20px -10px 0}.users-list.col.jsx-5f705600ae7f20d1{-webkit-column-count:3;-moz-column-count:3;column-count:3}.users-list.jsx-5f705600ae7f20d1 li.jsx-5f705600ae7f20d1{padding:0 20px 8px 0;max-width:130px}.table-data.jsx-5f705600ae7f20d1{font-size:16px;line-height:24px;letter-spacing:0;color:").concat(h.O9["primary-grey-800"],";font-weight:500}.user-name.jsx-5f705600ae7f20d1{letter-spacing:.13px;font-size:13px;font-weight:").concat(h.vC.semiLight,"}.excess-users.jsx-5f705600ae7f20d1{margin-left:6px}@media(max-width:").concat(h.AV.sm,"){table.jsx-5f705600ae7f20d1,thead.jsx-5f705600ae7f20d1,tbody.jsx-5f705600ae7f20d1,th.jsx-5f705600ae7f20d1,td.jsx-5f705600ae7f20d1,tr.jsx-5f705600ae7f20d1{display:block;width:100%}thead.jsx-5f705600ae7f20d1{display:none}tbody.jsx-5f705600ae7f20d1 tr.jsx-5f705600ae7f20d1{border-bottom:1px solid ").concat(h.O9["primary-grey-200"],";background:#fff}tbody.jsx-5f705600ae7f20d1 td.jsx-5f705600ae7f20d1{padding:28px 0px 12px 0px}.mobile-card.jsx-5f705600ae7f20d1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px}.mobile-name.jsx-5f705600ae7f20d1{font-weight:600;color:").concat(h.O9["primary-brand-700"],";font-size:16px;width:100px}.mobile-row.jsx-5f705600ae7f20d1{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:24px}.table-data.jsx-5f705600ae7f20d1{font-size:16px;line-height:24px;letter-spacing:0;color:").concat(h.O9["primary-grey-800"],";font-weight:400}.mobile-budget.jsx-5f705600ae7f20d1,.mobile-date.jsx-5f705600ae7f20d1{font-size:14px;color:").concat(h.O9["primary-grey-600"],"}}"));b.__hash="5f705600ae7f20d1";let u=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",notation:"compact",minimumFractionDigits:0,maximumFractionDigits:0}),m=e=>{let t=d.D7.differentiate(e);return t instanceof d.wk?u.format(t.value):t instanceof d.sy?"".concat(u.format(t.lower),"-").concat(u.format(t.upper)):"Needs More Info"};class g extends p{render(e,t,a){let{supplier:n}=e,o=(0,c.O_)(n),i=n.proposal&&o!==l.Z.Declined&&o!==l.Z.Pending?m(n.proposal):"--";return a?(0,s.jsxs)("div",{className:"jsx-".concat(b.__hash)+" tw-flex tw-flex-col",children:[(0,s.jsx)("span",{className:"jsx-".concat(b.__hash)+" header",children:"Budget"}),(0,s.jsx)("span",{className:"jsx-".concat(b.__hash)+" table-data !tw-font-opensans tw-text-gray-800",children:i}),(0,s.jsx)(r(),{id:b.__hash,children:b})]}):(0,s.jsxs)("span",{className:"jsx-".concat(f.__hash)+" budget",children:[i,(0,s.jsx)(r(),{id:f.__hash,children:f})]})}constructor(){super("budget","Budget")}}var j=new g,w=a(59957);class _ extends p{render(e,t,a){let n=e.users.map(e=>{var t,a;return{firstName:e.firstName,lastName:e.lastName,photo:(null===(t=e.photo)||void 0===t?void 0:t.sizes.xsmall)||(null===(a=e.photo)||void 0===a?void 0:a.location)}});return(0,s.jsx)(w.Z,{users:n,isNewUI:a})}constructor(){super("coworkers","Coworkers")}}var y=new _,v=a(55151);class k extends p{render(e,t,a){let{rfp:n}=e;return a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"jsx-".concat(b.__hash)+" tw-flex tw-flex-col",children:[(0,s.jsx)("span",{className:"jsx-".concat(b.__hash)+" header",children:"Issue Date"}),(0,s.jsx)("p",{className:"jsx-".concat(b.__hash)+" table-data !tw-font-opensans tw-text-gray-800",children:v.ou.fromSQL(n.published_at,{zone:"utc"}
1).toLocaleString(v.ou.DATE_MED)})]}),(0,s.jsx)(r(),{id:b.__hash,children:b})]}):v.ou.fromSQL(n.published_at,{zone:"utc"}).toLocaleString(v.ou.DATE_MED)}constructor(){super("date","Issue Date")}}var N=new k,E=a(93442);class O extends p{render(e,t,a){var n,o;let c=e.links.find(e=>e.type===E.U.PRIVATE).link,{users:d,rfp:l,supplier:x}=e,p=!!d.find(e=>e.userId===t.userId),h=a?b:f,u="".concat("https://thevendry.com","/rfp/in/").concat(c,"/proposals");return u=(null==x?void 0:null===(n=x.proposal)||void 0===n?void 0:n.id)?"".concat(u,"/").concat(null===(o=x.proposal)||void 0===o?void 0:o.id,"/inbox"):"".concat(u,"/all"),(0,s.jsxs)("div",{className:"jsx-".concat(h.__hash)+" name",children:[p?(0,s.jsx)("a",{href:u,target:"_blank",rel:"noreferrer",className:"jsx-".concat(h.__hash)+" "+((0,i.cn)("rfp-link",{"subtitle1-B":a})||""),children:(0,s.jsx)("span",{className:"jsx-".concat(h.__hash),children:l.name})}):(0,s.jsx)("div",{className:"jsx-".concat(h.__hash)+" rfp-link",children:(0,s.jsx)("span",{className:"jsx-".concat(h.__hash),children:l.name})}),(0,s.jsx)(r(),{id:h.__hash,children:h})]})}constructor(){super("name","RFP Name")}}var Z=new O,D=a(17249),S=a(22380),I=a(2860);let z={[D.Z.SOURCING]:{label:"This RFP is accepting proposals",color:h.O9.brandGreen},[D.Z.REVIEWING]:{label:"This RFP is reviewing proposals",color:h.O9.brandGreen},[D.Z.NEEDS_ATTENTION]:{label:"This RFP needs attention.",color:h.O9.brandRed},[D.Z.PAUSED]:{label:"This RFP is paused",color:h.O9.grey}};class P extends p{render(e,t,a){var n;let{supplier:o,rfp:i}=e,d=(0,c.O_)(o),x=i.state!==D.Z.SOURCING&&d===l.Z.Pending?"No answer":d,p=e=>e.trim().toLowerCase(),h=z[i.state];function f(e){switch(p(e)){case"all":case"new":return{bg:"tw-bg-blue-50",text:I.ColorSet["Primary-blue-700"].rgb()};case"passed":case"connected":case"booked":return{bg:"tw-bg-green-50",text:I.ColorSet["Primary-brand-800"].rgb()};case"pending":case"suggestions":return{bg:"tw-bg-yellow-50",text:I.ColorSet["Primary-yellow-700"].rgb()};case"declined":return{bg:"tw-bg-red-50",text:I.ColorSet["Primary-red-700"].rgb()};default:return{bg:"tw-bg-gray-200",text:I.ColorSet["Primary-grey-800"].rgb()}}}return a?(0,s.jsxs)("div",{className:"jsx-".concat(b.__hash),children:[!!h&&(0,s.jsx)(S.Z,{content:h.label,className:"tw-text-gray-800 body2 !tw-rounded-lg tw-shadow-stickyFooterShadow indicator",arrow:!1,newUIClass:"tw-rounded-lg",children:(0,s.jsx)("div",{className:"jsx-".concat(b.__hash)+" "+"tw-px-2 tw-py-1 tw-rounded-[20px] tw-w-fit tw-text-center ".concat(f(x).bg),children:(0,s.jsx)("p",{style:{color:null===(n=f(x))||void 0===n?void 0:n.text},className:"jsx-".concat(b.__hash)+" subtitle2-B",children:x})})}),(0,s.jsx)(r(),{id:b.__hash,children:b})]}):x}constructor(){super("status","Status")}}let C=Object.fromEntries([j,y,N,Z,new P].map(e=>[e.column,e]));var R=e=>{let{history:t,user:a,noHeader:n,columns:c=["name","coworkers","status","budget","date"],isNewUI:d=!1,tableContentClass:l}=e,x=d?b:f,{breakpoints:p,currentBreakpoint:h}=(0,o.kC)(),u=p[h]<=p.tablet;return(0,s.jsxs)("div",{className:"jsx-".concat(x.__hash)+" container",children:[(0,s.jsxs)("table",{className:"jsx-".concat(x.__hash)+" table",children:[n||(0,s.jsx)("thead",{className:"jsx-".concat(x.__hash),children:(0,s.jsx)("tr",{className:"jsx-".concat(x.__hash),children:c.map(e=>(0,s.jsx)("th",{className:"jsx-".concat(x.__hash),children:C[e].label},C[e].column))})}),u&&d?(0,s.jsx)("tbody",{className:"jsx-".concat(x.__hash),children:t.map(e=>(0,s.jsx)("tr",{className:"jsx-".concat(x.__hash),children:(0,s.jsxs)("td",{className:"jsx-".concat(x.__hash)+" "+((0,i.cn)("mobile-card",l)||""),children:[(0,s.jsx)("div",{className:"jsx-".concat(x.__hash)+" mobile-name",children:C.name.render(e,a,d)}),(0,s.jsxs)("div",{className:"jsx-".concat(x.__hash)+" mobile-row",children:[(0,s.jsx)("div",{className:"jsx-".concat(x.__hash)+" tw-w-[100px]",children:C.coworkers.render(e,a,d)}),(0,s.jsx)("div",{className:"jsx-".concat(x.__hash)+" mobile-status tw-w-[100px]",children:C.status.render(e,a,d)})]}),(0,s.jsxs)("div",{className:"jsx-".concat(x.__hash)+" mobile-row",children:[(0,s.jsx)("div",{className:"jsx-".concat(x.__hash)+" mobile-budget tw-w-[100px]",children:C.budget.render(e,a,d)}),(0,s.jsx)("div",{className:"jsx-".concat(x.__hash)+" mobile-date tw-w-[100px]",children:C.date.render(e,a,d)})]})]})},e.rfp.name))}):(0,s.jsx)("tbody",{className:"jsx-".concat(x.__hash),children:t.map(e=>(0,s.jsx)("tr",{className:"jsx-".concat(x.__hash),children:c.map(t=>{let n=C[t].column;return(0,s.jsx)("td",{className:"jsx-".concat(x.__hash)+" "+((0,i.cn)("".concat(n,"-cell"),l)||""),children:C[t].render(e,a,d)},n)})},e.rfp.name))})]}),(0,s.jsx)(r(),{id:x.__hash,children:x})]})}},95972:function(e,t){var a,s;(s=a||(a={})).BUYER="BUYER",s.SUPPLIER="SUPPLIER",t.Z=a},30554:function(e,t,a){a.d(t,{Fh:function(){return c},O_:function(){return d}});var s=a(95972),n=a(83062),r=a(46472),o=a(86236);let i=(e,t)=>e.some(e=>e.from===s.Z.BUYER&&e.created_at>t),c=e=>{var t,a,s;return(null===(t=e.proposal)||void 0===t?void 0:t.from.business)||(null===(a=e.inquiry)||void 0===a?void 0:a.business)||(null===(s=e.suggestion)||void 0===s?void 0:s.business)},d=e=>e.proposal&&e.proposal.status!==o.Z.DRAFT?e.proposal.status===o.Z.OPEN?i(e.proposal.messages,e.proposal.published_at)?n.Z.Connected:n.Z.New:e.proposal.status===o.Z.BOOKED?n.Z.Booked:r.nt.includes(e.proposal.status)?n.Z.Declined:n.Z.Passed:e.inquiry?n.Z.Pending:e.suggestion?e.suggestion.ignored?n.Z.Ignored:n.Z.Suggestions:n.Z.Pending},46472:function(e,t,a){a.d(t,{Rl:function(){return i},VL:function(){return r},Y0:function(){return o},iu:function(){return d},nt:function(){return c},ow:function(){return n}});var s=a(86236);let n=150,r=1e4,o=300,i=1e3;s.Z.DRAFT,s.Z.DECLINED;let c=[s.Z.DECLINED,s.Z.RETRACTED],d=[s.Z.OPEN,s.Z.PASSED,s.Z.LOST]},86236:function(e,t){var a,s;(s=a||(a={})).DRAFT="DRAFT",s.OPEN="OPEN",s.BOOKED="BOOKED",s.LOST="LOST",s.PASSED="PASSED",s.DECLINED="DECLINED",s.RETRACTED="RETRACTED",t.Z=a},64781:function(e,t,a){var s=a(47938),n=a.n(s),r=a(35741);let o=new(n()).Converter({openLinksInNewWindow:!0,noHeaderId:!0,disableForced4Space
1sIndentedSublists:!0,splitAdjacentBlockquotes:!0,underline:!0,smoothLivePreview:!0}),i={BlockQuote:">",Header:"#",UL:"-",OL:"1."},c={Emphasis:"*",Underline:"_"},d=Object.values(c).map(e=>{let t=RegExp(r.Z.escape(e),"g");return a=>a.replace(t,"\\".concat(e))}),l=Object.values(c).map(e=>{let t=RegExp("\\\\".concat(r.Z.escape(e)),"g");return a=>a.replace(t,e)}),x=e=>"string"==typeof e;class p{static convert(e){if("string"==typeof e)return o.makeHtml(e)}static escapeInline(e){return x(e)&&d.forEach(t=>{e=t(e)}),e}static escapeBlock(e){for(let t of Object.values(i))if(e.startsWith(t))return"\\".concat(e);return e}static unescapeBlock(e){if(x(e)){for(let t of Object.values(i))if(e.startsWith("\\".concat(t)))return e.substr(1)}return e}static unescapeInline(e){return x(e)&&l.forEach(t=>{e=t(e)}),e}static unescape(e){return p.unescapeInline(p.unescapeBlock(e))}static preserveNewlines(e){return e.split(/\r\n|\r|\n/).join("<br />")}}t.Z=p},35741:function(e,t){class a{static escape(e){return e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")}}t.Z=a}}]); 2//# sourceMappingURL=https://thevendry.com/sourcemaps/static/chunks/51421.62d712f54a37f68d.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.