1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4775],{55529:function(e,i,l){"use strict";l.d(i,{Z:function(){return w}});var a=l(57437),r=l(2265),t=l(10032),o=l(5545),n=l(1829),s=l(55590),d=l(29967),_=l(47451),u=l(69410),c=l(85180),m=l(93322),v=l(54151),p=l(94292),P=l(58369),h=l(23082),S=l(97209),f=l(76278),x=l(30715),R=l(80605),E=l(27648),y=l(19490),g=l.n(y);function N(e){let{isCloseRFPModalOpen:i,onClose:l,onSuccess:r}=e;return(0,a.jsx)(n.Z,{title:(0,a.jsx)("div",{className:"modalTitleWrap",children:(0,a.jsx)("p",{className:"mainTitle",children:S.vl.CLOSE_RFP})}),open:i,centered:!0,closable:!1,footer:[(0,a.jsxs)(s.Z,{className:"footerWrapper",children:[(0,a.jsx)(o.ZP,{onClick:()=>l(),children:S.vW.NO_GO_BACK},"cancel-button"),(0,a.jsx)(o.ZP,{type:"primary",onClick:()=>{r()},children:S.vW.YES_CLOSE_RFP},"continue-button")]},"footer-space")],className:"mediumModal paddingLess",children:(0,a.jsxs)("div",{className:g().modalBody,children:[(0,a.jsxs)("p",{children:[P.tl.CLOSE_RFP_MODAL_DESCRIPTIONS_1,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),P.tl.CLOSE_RFP_MODAL_DESCRIPTIONS_2,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),P.tl.CLOSE_RFP_MODAL_DESCRIPTIONS_3]}),(0,a.jsx)("br",{}),(0,a.jsx)("p",{children:P.tl.CLOSE_RFP_MODAL_CONTACT_US}),(0,a.jsx)("br",{}),(0,a.jsxs)("p",{className:"d-flex gap-4",children:[P.tl.REACH_OUT_AT,(0,a.jsx)(E.default,{href:"mailto:[email protected]",children:"[email protected]."})]})]})})}var b=l(41697),I=l(96542);function j(e){let{isOpen:i,setIsOpen:l,awardedThreePLName:r,setIsFinalFeedbackModalOpen:s}=e;return(0,a.jsx)(n.Z,{title:!1,open:i,centered:!0,closable:!1,footer:!0,className:"largeModal borderless ".concat(g().awardBusinessModal),children:(0,a.jsx)("div",{className:g().modalBody,children:(0,a.jsxs)(t.Z,{layout:"vertical",children:[(0,a.jsxs)("div",{className:g().centerContent,children:[(0,a.jsx)("div",{className:g().modalTitle,children:(0,a.jsx)("p",{children:"Congratulations!"})}),(0,a.jsx)(v.htn,{}),(0,a.jsxs)("div",{className:g().winnerDeclaration,children:[(0,a.jsxs)("p",{className:g().awardText,children:["You are awarding your business to"," "]}),(0,a.jsx)("h2",{className:g().awardBusinessName,children:r})]}),(0,a.jsx)("div",{className:g().scrollSection,children:(0,a.jsx)(I.Z,{isSmallCard:!0,isHorizontal:!0})})]}),(0,a.jsx)("div",{className:g().buttonContainer,children:(0,a.jsxs)(o.ZP,{type:"primary",onClick:()=>{l(!1),s(!0)},children:[S.vW.AWARD_BUTTON," ",(0,a.jsx)(v.olP,{})]})})]})})})}var A=l(21598);let L=e=>e?null==e?void 0:e.map(e=>{var i,l,a;return{key:null==e?void 0:e.id,name:null==e?void 0:null===(i=e.threePLProvider)||void 0===i?void 0:i.name,address:null==e?void 0:null===(l=e.threePLProvider)||void 0===l?void 0:l.address,threePLProviderId:null==e?void 0:null===(a=e.threePLProvider)||void 0===a?void 0:a.name,avgRating:null==e?void 0:e.avgRating,assignedLeadId:null==e?void 0:e.assignedLeadId,proposalId:null==e?void 0:e.id}}):[],T=e=>e?null==e?void 0:e.map(e=>{var i,l,a;return{key:null==e?void 0:e.id,name:null==e?void 0:null===(i=e.threePLProvider)||void 0===i?void 0:i.name,address:null==e?void 0:null===(l=e.threePLProvider)||void 0===l?void 0:l.address,threePLProviderId:null==e?void 0:null===(a=e.threePLProvider)||void 0===a?void 0:a.name,avgRating:null==e?void 0:e.avgRating,assignedLeadId:null==e?void 0:e.assignedLeadId,proposalId:null==e?void 0:e.id,brandRateIsCheapest:null==e?void 0:e.brandRateIsCheapest}}):[];function w(e){let{initialProposalList:i,initialFinalistProposalList:l,isFinalistSelected:E,rfpName:y,isCheapest:I=!1,shortId:w,modalOpen:D,onModalOpenChange:W,initialPreselectedAssignLeadIds:O,renderTrigger:C=!0,onDecisionComplete:M}=e,{permissions:H}=(0,x._)(),[F]=t.Z.useForm(),[B,k]=(0,r.useState)(!1),Z=void 0!==D?D:B,G=e=>{null==W||W(e),void 0===D&&k(e)},[V,U]=(0,r.useState)(!1),[K,z]=(0,r.useState)(!1),[Y,q]=(0,r.useState)(!1),[X,J]=(0,r.useState)(E?T(l):L(i)),[Q,$]=(0,r.useState)(E?T(l):L(i)),[ee,ei]=(0,r.useState)(),[el,ea]=(0,r.useState)(),[er,et]=(0,r.useState)(!0),[eo,en]=(0,r.useState)(!1),[es,ed]=(0,r.useState)(!1),[e_,eu]=(0,r.useState)(!1),[ec,em]=(0,r.useState)();(0,r.useEffect)(()=>{E?(J(T(l)),$(T(l)),ei(void 0),ea(void 0)):(J(L(i)),$(L(i)))},[E,l,i]),(0,r.useEffect)(()=>
1{if(!Z||E)return;let e=E?T(l):L(i);if(!(null==O?void 0:O.length)){ei(void 0),J(e),ea(void 0);return}let a=new Set(O),r=e.filter(e=>e.assignedLeadId&&a.has(e.assignedLeadId));if(!r.length)return;let t=new Set(r.map(e=>e.threePLProviderId));ei(r),J(e.filter(e=>!t.has(e.threePLProviderId))),ea(void 0)},[Z,O,i,l,E]);let ev=()=>{en(!1),G(!0)};(0,r.useEffect)(()=>{(async()=>{eu(await ep())})()},[H,w]);let ep=async()=>{var e;let i=await (0,R.getSession)();return(0,h.r)(H,null!=w?w:"",null==i?void 0:null===(e=i.user)||void 0===e?void 0:e.userType)},eP=(E?!(null==l?void 0:l.length):!(null==i?void 0:i.length))||e_;return(0,a.jsxs)("div",{className:g().feedbackGiftModal,children:[C?(0,a.jsx)(o.ZP,{type:"primary",onClick:()=>G(!0),disabled:eP,children:E?S.m1.AWARD_PROVIDER:S.m1.MAKE_DECISION}):null,(0,a.jsx)(n.Z,{title:(0,a.jsxs)("div",{className:"modalTitleWrap",children:[(0,a.jsx)("p",{className:"mainTitle",children:E?S.m1.AWARD_PROVIDER:S.m1.SELECT_FINALISTS}),(0,a.jsx)("p",{className:"subTitle",children:E?S.m1.AWARD_PROVIDER_SUBTITLE:S.m1.SELECT_FINALISTS_SUBTITLE})]}),open:Z,centered:!0,closable:!1,footer:[(0,a.jsxs)(s.Z,{className:"footerWrapper jc-space-between",children:[(0,a.jsx)(o.ZP,{onClick:()=>{G(!1),en(!0)},children:"Close RFP"}),(0,a.jsxs)(s.Z,{children:[(0,a.jsx)(o.ZP,{onClick:()=>G(!1),children:"Cancel"}),(0,a.jsx)(o.ZP,{type:"primary",onClick:()=>{G(!1),U(!0)},disabled:!Array.isArray(ee)||!(null==ee?void 0:ee.length),children:"Continue"})]})]},"AwardProviderFooter")],className:"extraLargeModal paddingLess",children:(0,a.jsx)("div",{className:g().modalBody,children:(0,a.jsxs)(t.Z,{form:F,layout:"vertical",children:[(0,a.jsx)("div",{className:g().rates,children:((null==ee?void 0:ee.length)||0)>0&&E&&I&&(0,a.jsx)(t.Z.Item,{label:(0,a.jsx)("strong",{children:S.lv.AWARD_PROVIDER_RATES_TITLE}),name:"rates",children:(0,a.jsxs)(d.ZP.Group,{onChange:e=>et(e.target.value),value:er,children:[(0,a.jsx)(d.ZP,{value:!0,children:P.tl.OWN_RATES}),(0,a.jsx)(d.ZP,{value:!1,children:P.tl.PROVIDER_RATES})]})})}),(0,a.jsxs)(_.Z,{gutter:[32,16],children:[(0,a.jsx)(u.Z,{xs:24,sm:10,md:10,xl:10,children:(0,a.jsxs)("div",{className:g().feebackWrap,children:[(0,a.jsx)("div",{className:g().feebackHead,children:(0,a.jsx)("h4",{className:g().headTitle,children:"Providers"})}),(0,a.jsx)("div",{className:g().feebackBody,children:(null==X?void 0:X.length)?null==X?void 0:X.map(e=>(0,a.jsx)(m.Z,{name:null==e?void 0:e.name,address:null==e?void 0:e.address,avgRating:null==e?void 0:e.avgRating,threePLProviderId:null==e?void 0:e.threePLProviderId,onCardClick:()=>{ea(e)},isActive:(null==el?void 0:el.threePLProviderId)===(null==e?void 0:e.threePLProviderId)},null==e?void 0:e.threePLProviderId)):(0,a.jsx)(c.Z,{description:"No providers"})})]})}),(0,a.jsx)(u.Z,{xs:24,sm:4,md:4,xl:4,children:(0,a.jsxs)("div",{className:g().actionButtonWrapper,children:[(0,a.jsx)(o.ZP,{icon:(0,a.jsx)(v.XdH,{}),onClick:()=>{el?(J(e=>e?[...e,el]:[el]),ei(e=>null==e?void 0:e.filter(e=>e.threePLProviderId!==(null==el?void 0:el.threePLProviderId)))):(0,p.H)("warning","Please select a provider.")},disabled:!el||(null==X?void 0:X.map(e=>e.threePLProviderId).includes(null==el?void 0:el.threePLProviderId))}),(0,a.jsx)(o.ZP,{icon:(0,a.jsx)(v.olP,{}),onClick:()=>{el?(ei(e=>e?[...e,el]:[el]),F.setFieldsValue({rates:null==el?void 0:el.brandRateIsCheapest}),et(null==el?void 0:el.brandRateIsCheapest),J(e=>null==e?void 0:e.filter(e=>e.threePLProviderId!==(null==el?void 0:el.threePLProviderId)))):(0,p.H)("warning","Please select a provider.")},disabled:!el||(null==ee?void 0:ee.map(e=>e.threePLProviderId).includes(null==el?void 0:el.threePLProviderId))})]})}),(0,a.jsx)(u.Z,{xs:24,sm:10,md:10,xl:10,children:(0,a.jsxs)("div",{className:g().feebackWrap,children:[(0,a.jsx)("div",{className:g().feebackHead,children:(0,a.jsx)("h4",{className:g().headTitle,children:"Selected Providers"})}),(0,a.jsx)("div",{className:g().feebackBody,children:(null==ee?void 0:ee.length)?null==ee?void 0:ee.map(e=>(0,a.jsx)(m.Z,{name:null==e?void 0:e.name,address:null==e?void 0:e.address,avgRating:null==e?void 0:e.avgRating,threePLProviderId:null==e?void 0:e.threePLProviderId,onCardClick:()=>{ea(e)},isActive:(null==el?void 0:el.threePLProviderId)===(null==e?void 0:e.threePLProviderId)},null==e?void 0:e.threePLProviderId)):(0,a.jsx)(c.Z,{description:"No providers"})})]})})]})]})})}),V&&(0,a.jsx)(A.Z,{isOpen:V,setIsOpen:U,isFinalistSelected:E,rfpName:y,remainingProviderList:es?Q:X,selectedProviderList:es?[]:ee,setIsAwardProviderModalOpen:G,setIsBusinessAwardedModalOpen:()=>{es?(0,p.H)("success","RFP closed successfully!!"):(em(null==ee?void 0:ee[0]),z(!0))},isCheapest:I,isBrandRatePreferred:er,isFeedbackModalOpenWithClosableRFP:es,onDecisionComplete:M}),(0,a.jsx)(N,{isCloseRFPModalOpen:eo,onClose:()=>ev(),onSuccess:()=>{U(!0),en(!1),ed(!0)}}),K&&ec&&(0,a.jsx)(j,{isOpen:K,setIsOpen:z,awardedThreePLName:ec.name,setIsFinalFeedbackModalOpen:q}),Y&&ec&&(0,a.jsx)(b.Z,{proposalId:ec.proposalId,isOpen:Y,setIsOpen:q,onSuccess:()=>{em(void 0),ei(void 0),ea(void 0),(0,f.g$)(null!=w?w:""),null==M||M()}})]})}},36007:function(e,i,l){"use strict";l.d(i,{Z:function(){return d}});var a=l(57437);l(2265);var r=l(99981),t=l(49720),o=l(40368),n=l.n(o),s=l(96441);function d(e){let{boxTitle:i,statNumber:l,statNotation:o="",loading:d,statDescription:_,stateDescriptionNotation:u,icon:c,compact:m=!1,strip:v=!1,titleTooltip:p,className:P}=e;return(0,a.jsxs)("div",{className:[n().statisticsBox,m?n().statisticsBoxCompact:"",v?n().statisticsBoxStrip:"",P].filter(
1Boolean).join(" "),children:[(0,a.jsxs)("h6",{className:n().boxTitle,children:[c&&(0,a.jsx)("span",{className:n().iconWrapper,children:c}),(0,a.jsxs)("span",{className:n().boxTitleText,children:[i,p?(0,a.jsx)(r.Z,{title:p,children:(0,a.jsx)("span",{className:"informationIcon ".concat(n().titleTooltipIcon),children:(0,a.jsx)(s.d,{})})}):null]})]}),d?(0,a.jsx)(t.Z,{active:d}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{"data-pdf-fix":"business-data",className:n().statsWrap,children:[(0,a.jsx)("h2",{className:n().statsTitle,children:l}),(0,a.jsx)("div",{className:n().statsSubTitle,children:o})]}),(0,a.jsxs)("div",{className:n().statsWrap,children:[(0,a.jsx)("span",{className:n().statsSubTitle,children:_}),(0,a.jsx)("span",{className:n().statsSubTitle,children:u})]})]})]})}},88990:function(e,i,l){"use strict";l.d(i,{Z:function(){return m}});var a=l(57437),r=l(2265),t=l(28439),o=l(68565),n=l(1829),s=l(65869),d=l(97209),_=l(39193),u=l.n(_);function c(e){let{title:i,shares:l}=e,n=(0,r.useMemo)(()=>Object.entries(l||{}).map(e=>{let[i,l]=e;return{band:i,share:l}}).sort((e,i)=>Number(e.band)-Number(i.band)),[l]);return 0===n.length?(0,a.jsx)(t.default.Text,{type:"secondary",children:"No weight data"}):(0,a.jsxs)("div",{className:u().shareBlock,children:[(0,a.jsx)(t.default.Text,{strong:!0,children:i}),(0,a.jsx)("ul",{className:u().shareList,children:n.map(e=>(0,a.jsxs)("li",{children:[(0,a.jsxs)("span",{className:u().bandLabel,children:[e.band," lb"]}),(0,a.jsx)(o.Z,{percent:Math.round(1e3*e.share)/10,size:"small",showInfo:!0})]},e.band))})]})}function m(e){var i,l,r,o,_;let{open:m,onClose:v,summary:p}=e;return(0,a.jsxs)(n.Z,{open:m,onCancel:v,footer:null,title:d.lv.DEMAND_SHAPE_METHODOLOGY_TITLE,width:720,destroyOnClose:!0,children:[(0,a.jsx)(t.default.Paragraph,{children:d.lv.DEMAND_SHAPE_METHODOLOGY_LEAD}),(null==p?void 0:null===(i=p.samplePolicy)||void 0===i?void 0:i.note)?(0,a.jsx)(t.default.Paragraph,{type:"secondary",children:p.samplePolicy.note}):null,(0,a.jsx)(t.default.Paragraph,{type:"secondary",children:d.lv.DEMAND_SHAPE_ORDER_PROFILE_NOTE}),(null==p?void 0:p.meanUnitsPerOrder)!=null||(null==p?void 0:p.meanPersistedSkuLinesPerOrder)!=null?(0,a.jsxs)(t.default.Paragraph,{children:[d.lv.DEMAND_SHAPE_ORDER_PROFILE_TITLE,":"," ",null!=p.meanUnitsPerOrder?"".concat(d.lv.DEMAND_SHAPE_ORDER_PROFILE_UNITS," ").concat(p.meanUnitsPerOrder.toFixed(2)):null,null!=p.meanUnitsPerOrder&&null!=p.meanPersistedSkuLinesPerOrder?" \xb7 ":null,null!=p.meanPersistedSkuLinesPerOrder?"".concat(d.lv.DEMAND_SHAPE_ORDER_PROFILE_LINES," ").concat(p.meanPersistedSkuLinesPerOrder.toFixed(2)):null]}):null,(0,a.jsx)(s.default,{items:[{key:"weights",label:d.lv.DEMAND_SHAPE_WEIGHT_HIST_TITLE,children:(0,a.jsxs)("div",{className:u().compareRow,children:[(0,a.jsx)(c,{title:d.lv.DEMAND_SHAPE_WEIGHT_HIST_BASE,shares:null!==(l=null==p?void 0:p.baseWeightShares)&&void 0!==l?l:{}}),(0,a.jsx)(c,{title:d.lv.DEMAND_SHAPE_WEIGHT_HIST_PEAK,shares:null!==(r=null==p?void 0:p.peakWeightShares)&&void 0!==r?r:{}})]})},{key:"annual",label:"Annual average (quoted)",children:(0,a.jsx)(c,{title:"Annual pooled weight mix used for quotes",shares:null!==(o=null==p?void 0:p.annualWeightShares)&&void 0!==o?o:{}})},{key:"order-profile",label:d.lv.DEMAND_SHAPE_ORDER_PROFILE_TITLE,children:(0,a.jsx)(c,{title:d.lv.DEMAND_SHAPE_ORDER_PROFILE_TITLE,shares:null!==(_=null==p?void 0:p.orderProfileShares)&&void 0!==_?_:{}})}]})]})}},40624:function(e,i,l){"use strict";l.d(i,{Z:function(){return d}});var a=l(57437),r=l(2265),t=l(28439),o=l(97209),n=l(78933),s=l.n(n);function d(e){let{baseShares:i,peakShares:l}=e,n=(0,r.useMemo)(()=>[...new Set([...Object.keys(i||{}),...Object.keys(l||{})])].map(e=>Number(e)).filter(e=>Number.isFinite(e)).sort((e,i)=>e-i).map(String),[i,l]);return 0===n.length?null:(0,a.jsxs)("div",{className:s().wrap,"aria-label":o.lv.DEMAND_SHAPE_WEIGHT_HIST_TITLE,children:[(0,a.jsx)(t.default.Text,{strong:!0,children:o.lv.DEMAND_SHAPE_WEIGHT_HIST_TITLE}),(0,a.jsx)(t.default.Paragraph,{type:"secondary",className:s().note,children:o.lv.DEMAND_SHAPE_METHODOLOGY_LEAD}),(0,a.jsx)("div",{className:s().chart,children:n.map(e=>{var r,t;let n=Math.round((null!==(r=i[e])&&void 0!==r?r:0)*100),d=Math.round((null!==(t=l[e])&&void 0!==t?t:0)*100);
1return(0,a.jsxs)("div",{className:s().col,children:[(0,a.jsxs)("div",{className:s().bars,children:[(0,a.jsx)("div",{className:s().baseBar,style:{height:"".concat(Math.max(n,2),"%")},title:"".concat(o.lv.DEMAND_SHAPE_WEIGHT_HIST_BASE,": ").concat(n,"%")}),(0,a.jsx)("div",{className:s().peakBar,style:{height:"".concat(Math.max(d,2),"%")},title:"".concat(o.lv.DEMAND_SHAPE_WEIGHT_HIST_PEAK,": ").concat(d,"%")})]}),(0,a.jsx)("span",{className:s().label,children:e})]},e)})}),(0,a.jsxs)("div",{className:s().legend,children:[(0,a.jsx)("span",{className:s().legendBase,children:o.lv.DEMAND_SHAPE_WEIGHT_HIST_BASE}),(0,a.jsx)("span",{className:s().legendPeak,children:o.lv.DEMAND_SHAPE_WEIGHT_HIST_PEAK})]})]})}},92868:function(e,i,l){"use strict";l.d(i,{P:function(){return n}}),l(57437);var a=l(2265),r=l(71632),t=l(94894),o=l(97209);function n(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=(0,r.a)({queryKey:["demand-shape-summary"],queryFn:async()=>{let e=await (0,t.Wu)();if(!e.success)throw Error(e.message||"Failed");return e.data},enabled:e,retry:!1,staleTime:6e4}),l=(0,a.useMemo)(()=>{let e=i.data;if(!e)return{coverageLabel:null,mixLabel:null,peakDeltaLabel:null};let l=e.compositionSeasonalityMaterial&&null!=e.peakShapeDeltaPct?o.lv.DEMAND_SHAPE_PEAK_DELTA.replace("{pct}",String(e.peakShapeDeltaPct)):null;return{coverageLabel:function(e,i){if(i)return o.lv.DEMAND_SHAPE_COVERAGE_UNKNOWN;switch(e){case"full_cycle":return o.lv.DEMAND_SHAPE_COVERAGE_FULL;case"partial_year":return o.lv.DEMAND_SHAPE_COVERAGE_PARTIAL;case"missing_peak_months":return o.lv.DEMAND_SHAPE_COVERAGE_MISSING_PEAK;case"too_thin":return o.lv.DEMAND_SHAPE_COVERAGE_THIN;default:return o.lv.DEMAND_SHAPE_COVERAGE_UNKNOWN}}(e.coverage,e.stale),mixLabel:e.mixSeasonal?o.lv.DEMAND_SHAPE_MIX_SEASONAL:o.lv.DEMAND_SHAPE_MIX_STABLE,peakDeltaLabel:l}},[i.data]);return{...i,...l}}l(88990),l(40624)},82942:function(e,i,l){"use strict";var a=l(57437),r=l(2265),t=l(36007),o=l(97209),n=l(58369),s=l(84353),d=l(10913),_=l(95827),u=l(5545),c=l(54151),m=l(90405),v=l(57088),p=l(71632),P=l(76278),h=l(83474),S=l(99376),f=l(55529),x=l(79879),R=l.n(x);i.Z=e=>{var i,l,x,E,y,g,N,b,I,j,A,L,T,w,D,W,O,C,M;let{data:H,loading:F,showDesiredFulfillmentLocation:B,showAverageReturn:k=!0,onOpenEasyRFPModal:Z,dataRoomBrandId:G=null,showVolumeEdits:V=!0,useCompactDataRoomEdits:U=!1,isMockDecision:K=!0,onDataRoomOpenMedianWeight:z}=e,Y=(0,S.useParams)(),q=(0,S.useSearchParams)(),X=null==Y?void 0:Y.shortId,J="true"===q.get("isMockData"),Q="true"===q.get("isFinalistSelected"),$=q.get("RFPName"),{data:ee}=(0,p.a)({queryKey:["calendarEvents",X],queryFn:()=>(0,h.H)(X),enabled:!!(null==X?void 0:X.trim())}),[ei,el]=r.useState(null),[ea,er]=r.useState(null),et=async()=>{let e=await (0,P.Ul)(n.tl.DEFAULT_PAGE,n.tl.DEFAULT_PAGE_SIZE,$||"");el(null==e?void 0:e.data)},eo=async()=>{let e=await (0,P.Dg)(n.tl.DEFAULT_PAGE,n.tl.DEFAULT_PAGE_SIZE,$||"");er(null==e?void 0:e.data)};(0,r.useEffect)(()=>{$&&(et(),eo())},[$]);let en=function(e){let i=null==e?void 0:e.desiredNumberOfLocationForRfp;if(null==i||""===i)return 0;let l=Number(i);return Number.isFinite(l)?l:0}(H);return(0,a.jsxs)(a.Fragment,{children:[B&&(0,a.jsxs)("div",{className:"".concat(R().locationFulfilmentModalsHost," ").concat(G?R().locationFulfilmentMockDataHeader:""),children:[K&&J&&(0,a.jsx)(v.Z,{brandId:null!==(j=null==ee?void 0:null===(i=ee.data)||void 0===i?void 0:i.brand.id)&&void 0!==j?j:"",brandName:null!==(A=null==ee?void 0:null===(x=ee.data)||void 0===x?void 0:null===(l=x.brand)||void 0===l?void 0:l.name)&&void 0!==A?A:"",assignLeadId:null!==(L=null==ee?void 0:null===(y=ee.data)||void 0===y?void 0:null===(E=y.threePLAssignedLead[0])||void 0===E?void 0:E.id)&&void 0!==L?L:"",shortId:X,rfiScore:null!==(T=null==ee?void 0:null===(N=ee.data)||void 0===N?void 0:null===(g=N.icpData)||void 0===g?void 0:g.rfiScore)&&void 0!==T?T:null,isMockData:J}),$&&ei&&(0,a.jsx)(f.Z,{initialProposalList:null==ei?void 0:ei.list,initialFinalistProposalList:null==ea?void 0:ea.list,isFinalistSelected:Q,rfpName:null!=$?$:"",isCheapest:null==ea?void 0:ea.isCheapest,shortId:X})]}),(0,a.jsx)("div",{className:R().locationFulfilmentWrap,children:H||F?(0,a.jsxs)(a.Fragment,{children:[V&&!U?(0,a.jsxs)("div",{className:R().locationFulfilmentNonCompactActions,children:[(0,a.jsx)("p",{className:R().sectionLabel,children:"".concat(o.lv.REVIEW_FULFILLMENT_LOCATION," ").concat(en||0)}),(0,a.jsx)(u.ZP,{type:"default",icon:(0,a.jsx)(c.sBl,{}),onClick:Z,"data-html2canvas-ignore":!0,children:o.vW.EDIT_EASY_RFP})]}):null,(0,a.jsxs)("div",{className:R().sectionStatistics,children:[(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lv.AVERAGE_ORDER,statNumber:(0,_.VG)(null!==(w=null==H?void 0:H.avgOrders)&&void 0!==w?w:0),statNotation:"/ Day",loading:F}),(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lv.AVERAGE_BASKET_VALUE,statNumber:(0,_.VG)(+((null==H?void 0:H.avgBasketSize)||0)),statNotation:"Units / Order",loading:F}),(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lv.AVERAGE_ORDER_VALUE,statNumber:"$".concat((0,_.VG)(null!==(D=null==H?void 0:H.avgOrderPerValue)&&void 0!==D?D:0)),loading:F}
1),(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lv.AVERAGE_UNITS,statNumber:(0,_.VG)(null!==(W=null==H?void 0:H.avgUnitsPerDay)&&void 0!==W?W:0),statNotation:"/ Day",loading:F}),k&&(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lv.AVERAGE_RETURNS,statNumber:(0,_.VG)(null!==(O=null==H?void 0:H.avgReturns)&&void 0!==O?O:0),statNotation:"/ Month",loading:F}),(0,a.jsxs)("div",{style:{position:"relative"},className:R().locationFulfilmentDesiredStat,children:[V&&U&&z?(0,a.jsx)(m.Z,{className:R().statisticCardPencilCorner,onClick:z,tooltip:o.lq.TOOLTIP_EDIT_SECTION,ariaLabel:"Edit estimated carton weight","data-html2canvas-ignore":!0}):null,(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lv.MEDIAN_WEIGHT,statNumber:(0,_.VG)(null==H?void 0:H.medianWeight),statNotation:null!==(M=null!==(C=null==H?void 0:null===(b=H.weightUnit)||void 0===b?void 0:b.toUpperCase())&&void 0!==C?C:null==H?void 0:null===(I=H.medianWeightUnit)||void 0===I?void 0:I.toUpperCase())&&void 0!==M?M:"LBS",loading:F})]}),B&&!(V&&!U)?(0,a.jsx)("div",{className:R().locationFulfilmentDesiredStat,children:(0,a.jsx)(t.Z,{strip:!0,boxTitle:o.lq.STAT_DESIRED_LOCATIONS,statNumber:F?"":String(en>0?en:0),loading:F})}):null]})]}):(0,a.jsx)(s.Z,{emptyTitle:n.tl.EMPTY_DATA,emptyNote:d.bD})})]})}},52503:function(e,i,l){"use strict";function a(e){return[e,"".concat(e,"Historical"),"".concat(e,"Projected")]}function r(e,i){return e.some(e=>i.some(i=>null!=e[i]))}function t(e){return{hasTruckloads:r(e,a("truckloads")),hasFloorLoaded:r(e,a("floorLoaded")),hasPalletized:r(e,a("palletized")),hasLtl:r(e,a("ltl")),hasParcels:r(e,a("parcels"))}}function o(e){let i=e.length;if(0===i)return{startIndex:0,endIndex:0};let l=e.findIndex(e=>e.isProjected);if(-1===l)return{startIndex:Math.max(0,i-Math.min(24,i)),endIndex:i-1};let a=e.findIndex(e=>e.isUnmodeledGap),r=Math.max(0,(-1===a?l:a)-6);return{startIndex:r,endIndex:Math.min(r+30-1,i-1)}}function n(e){return e.hasLtl?"ltl":e.hasPalletized?"palletized":e.hasFloorLoaded?"floorLoaded":e.hasTruckloads?"truckloads":null}l.d(i,{KI:function(){return t},kz:function(){return n},tS:function(){return o}})},40368:function(e){e.exports={statisticsBox:"StatBox_statisticsBox__EBKUV",boxTitle:"StatBox_boxTitle__FENgu",boxTitleText:"StatBox_boxTitleText__6sw2a",titleTooltipIcon:"StatBox_titleTooltipIcon___YLbh",iconWrapper:"StatBox_iconWrapper__6hwnk",statsWrap:"StatBox_statsWrap____VA1",statsTitle:"StatBox_statsTitle__N18Ty",statsSubTitle:"StatBox_statsSubTitle__1lOuz",statisticsBoxCompact:"StatBox_statisticsBoxCompact___D2B3",statisticsBoxStrip:"StatBox_statisticsBoxStrip__GOOt9"}},39193:function(e){e.exports={compareRow:"DemandShapeMethodologyModal_compareRow__O7zw_",shareBlock:"DemandShapeMethodologyModal_shareBlock__LpAti",shareList:"DemandShapeMethodologyModal_shareList___i0Sm",bandLabel:"DemandShapeMethodologyModal_bandLabel__72Sui"}},78933:function(e){e.exports={wrap:"WeightBandHistogram_wrap__OJg0t",note:"WeightBandHistogram_note__X5Qma",chart:"WeightBandHistogram_chart__08I9O",col:"WeightBandHistogram_col__2ijlF",bars:"WeightBandHistogram_bars__tXCH_",baseBar:"WeightBandHistogram_baseBar__O6yIN",peakBar:"WeightBandHistogram_peakBar__kjfFw",label:"WeightBandHistogram_label__e7oUb",legend:"WeightBandHistogram_legend__8wtPz",legendBase:"WeightBandHistogram_legendBase__VuT5k",legendPeak:"WeightBandHistogram_legendPeak__ybVLY"}},79879:function(e){e.exports={chartWrapper:"ReviewProfileSummary_chartWrapper__S5ZaB",linechartFilter:"ReviewProfileSummary_linechartFilter__YqZB_",labelStorage:"ReviewProfileSummary_labelStorage__p11eY",labelReturns:"ReviewProfileSummary_labelReturns__OY2Cy",labelInbound:"ReviewProfileSummary_labelInbound__9fMg6",labelOutbound:"ReviewProfileSummary_labelOutbound__8d_D2",ProfileCompletenessWRapper:"ReviewProfileSummary_ProfileCompletenessWRapper__Cz9bR",successInfo:"ReviewProfileSummary_successInfo__ZOqu1",title:"ReviewProfileSummary_title__H4jhY",progressbarWrapper:"ReviewProfileSummary_progressbarWrapper__1jKli",progressbarLeft:"ReviewProfileSummary_progressbarLeft__h1mM8",progressbarLeftInner:"ReviewProfileSummary_progressbarLeftInner__8BAoC",infoIcon:"ReviewProfileSummary_infoIcon__6A5In",bad:"ReviewProfileSummary_bad___ySyy",good:"ReviewProfileSummary_good__t26D4",better:"ReviewProfileSummary_better__WacUP",best:"ReviewProfileSummary_best__hYJCs",tagsWrapper:"ReviewProfileSummary_tagsWrapper__RyvvX",tagsInner:"ReviewProfileSummary_tagsInner__Pz6rn",reviewProfileWrap:"ReviewProfileSummary_reviewProfileWrap__bxqkF",buttonWrapper:"ReviewProfileSummary_buttonWrapper__A_Wm2",downloadedFiles:"ReviewProfileSummary_downloadedFiles___IIXp",tabWrap:"ReviewProfileSummary_tabWrap__SqeHV",textAreaBox:"ReviewProfileSummary_textAreaBox__3_shI",growthExpectationWrap:"ReviewProfileSummary_growthExpectationWrap__5LFpA",linkButton:"ReviewProfileSummary_linkButton__Gn2PG",sectionLeft:"ReviewProfileSummary_sectionLeft__6CYp3",sectionRight:"ReviewProfileSummary_sectionRight__DHRQ7",sectionLabel:"ReviewProfileSummary_sectionLabel__NNnx7",sectionText:"ReviewProfileSummary_sectionText__8iUPW",improveProfileSuggestion:"ReviewProfileSummary_improveProfileSuggestion__uiSQ7",locationFulfilmentMockDataHeader:"ReviewProfileSummary_locationFulfilmentMockDataHeader___c8Nj",locationFulfilmentMod
1alsHost:"ReviewProfileSummary_locationFulfilmentModalsHost__pOEoj",locationFulfilmentEasyRfpPencil:"ReviewProfileSummary_locationFulfilmentEasyRfpPencil___h0u8",locationFulfilmentNonCompactActions:"ReviewProfileSummary_locationFulfilmentNonCompactActions___nsIk",locationFulfilmentDesiredStat:"ReviewProfileSummary_locationFulfilmentDesiredStat__ekT2K",locationFulfilmentDesiredPencil:"ReviewProfileSummary_locationFulfilmentDesiredPencil__TZBer",statisticCardPencilCorner:"ReviewProfileSummary_statisticCardPencilCorner__NZXAU",locationFulfilmentHeader:"ReviewProfileSummary_locationFulfilmentHeader__be669",locationFulfilmentWrap:"ReviewProfileSummary_locationFulfilmentWrap__YZL3U",sectionStatistics:"ReviewProfileSummary_sectionStatistics__wdtAj",exportHistory:"ReviewProfileSummary_exportHistory__i7_Nb",exportTitle:"ReviewProfileSummary_exportTitle__dm9Xi",exportBox:"ReviewProfileSummary_exportBox__TTsgy",iconWrap:"ReviewProfileSummary_iconWrap__YprVH",boxLeft:"ReviewProfileSummary_boxLeft__DVWMC",boxRight:"ReviewProfileSummary_boxRight__PvhEI",fileDetail:"ReviewProfileSummary_fileDetail__pvzhW",fileName:"ReviewProfileSummary_fileName__Bb458",fileSize:"ReviewProfileSummary_fileSize__ZHb2b",chartTitle:"ReviewProfileSummary_chartTitle__1AEs_",enhanceTitle:"ReviewProfileSummary_enhanceTitle__zWxIu",radioGroupWrapper:"ReviewProfileSummary_radioGroupWrapper___LxJz",noDataWrapper:"ReviewProfileSummary_noDataWrapper__gig2F",statisticWrapper:"ReviewProfileSummary_statisticWrapper___dN2P",statisticCard:"ReviewProfileSummary_statisticCard__w6VM_",icon:"ReviewProfileSummary_icon__KK9xU",iconWrapper:"ReviewProfileSummary_iconWrapper__oePdj",numbers:"ReviewProfileSummary_numbers__5T0Mx",cardName:"ReviewProfileSummary_cardName__k7hpN",details:"ReviewProfileSummary_details__HR9MI",stepLevelWrapper:"ReviewProfileSummary_stepLevelWrapper__PdKjR",leadsWarningTag:"ReviewProfileSummary_leadsWarningTag__vusWa",topTitle:"ReviewProfileSummary_topTitle__QIV08",filterSection:"ReviewProfileSummary_filterSection__yrhfh",sectionTitle:"ReviewProfileSummary_sectionTitle__4etIG",sectionOptions:"ReviewProfileSummary_sectionOptions__eA7P6",optionsWrapper:"ReviewProfileSummary_optionsWrapper__ZV5wt",optionContainer:"ReviewProfileSummary_optionContainer__whcdg",optionTitle:"ReviewProfileSummary_optionTitle__wSCl_",footerAction:"ReviewProfileSummary_footerAction__DNFEQ",footerBtn:"ReviewProfileSummary_footerBtn__2Ieml",totalBusinessWrap:"ReviewProfileSummary_totalBusinessWrap___fyuA",filters:"ReviewProfileSummary_filters__Jf_cy",barChatStatics:"ReviewProfileSummary_barChatStatics__uTB0G",volumeProfileEducationWrap:"ReviewProfileSummary_volumeProfileEducationWrap__1PkEJ",channelToolbar:"ReviewProfileSummary_channelToolbar__IvZ6V",channelToolbarRight:"ReviewProfileSummary_channelToolbarRight__RGmEa",growthPill:"ReviewProfileSummary_growthPill__zMEdf",dataFreshnessMeta:"ReviewProfileSummary_dataFreshnessMeta__pmpJk",editEnhancedLink:"ReviewProfileSummary_editEnhancedLink__KFp6I",editAssumptionsLink:"ReviewProfileSummary_editAssumptionsLink__WYMJx",kpiStrip:"ReviewProfileSummary_kpiStrip__SgaDL",supplyChainHeader:"ReviewProfileSummary_supplyChainHeader__lS4D2",sectionHeading:"ReviewProfileSummary_sectionHeading__ajB_E",chartWrapperSoft:"ReviewProfileSummary_chartWrapperSoft__LQ8C6",heroChart:"ReviewProfileSummary_heroChart__QEznu",operationalMixPanel:"ReviewProfileSummary_operationalMixPanel__2ySZX",operationalMixGrid:"ReviewProfileSummary_operationalMixGrid__yWYWn",operationalMixItem:"ReviewProfileSummary_operationalMixItem__mv_W8",operationalMixValue:"ReviewProfileSummary_operationalMixValue__S1Laq",operationalMixLabel:"ReviewProfileSummary_operationalMixLabel__CFpJ0",inboundSummaryLine:"ReviewProfileSummary_inboundSummaryLine__eu5IV",distributionCollapse:"ReviewProfileSummary_distributionCollapse__ga7Rb",sourceFilesCollapse:"ReviewProfileSummary_sourceFilesCollapse__5ydlM",distributionHint:"ReviewProfileSummary_distributionHint__W0_c3",providerNoteSection:"ReviewProfileSummary_providerNoteSection__Hr1Uo",providerNoteLabel:"ReviewProfileSummary_providerNoteLabel__Q6IY3",providerNoteInput:"ReviewProfileSummary_providerNoteInput__BLKee",shippingStartGapBanner:"ReviewProfileSummary_shippingStartGapBanner__NcLRc"}}}]);
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.