PageSourceSearch

https://measurlabs.com/component---src-pages-portal-index-tsx-5e540f83b594ad5cd559.js

js measurlabs.com collected 2026-09-24 19:20:40 UTC 38,525 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="acf09ef1-6d5d-43d0-85ae-9dbfb2174d3c",e._sentryDebugIdIdentifier="sentry-dbid-acf09ef1-6d5d-43d0-85ae-9dbfb2174d3c")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"4c5d49290a4faf3eb4f91fa2360861920d8b3436"},(self.webpackChunkmeasur_website=self.webpackChunkmeasur_website||[]).push([[346],{1900:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(21988),a=n(96540),l=n(79142);let o;const i=()=>{const{getAccessTokenSilently:e}=(0,r.WB)(),{0:t,1:n}=(0,a.useState)();return void 0===o&&(o=(0,l.rM)(e)),o.then((e=>{"expert"===(null==e?void 0:e.role)!==t&&n("expert"===(null==e?void 0:e.role))})),{expertAccess:t}}},3120:function(e,t,n){n.d(t,{A:function(){return c}});var r=n(62061),a=n(44329),l=n(96540),o=n(19626),i=n(34033),s=n(40961);var d=({children:e})=>{const t=document.getElementById("portal");return t?(0,s.createPortal)(e,t):null};var c=({children:e,disableSubmit:t,heading:n,onClose:s,onSubmit:c,isLoading:m,submitText:u,submitVariant:p})=>{const E=(0,l.useRef)(null),{0:g}=(0,l.useState)((0,a.Ak)());return(0,o.A)(E,s),(0,l.useEffect)((()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow="auto"})),[]),(0,l.useEffect)((()=>{var e;if(!E.current)return;const t=Array.from(E.current.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'));null===(e=t[0])||void 0===e||e.focus();const n=e=>{if("Escape"===e.key)s();else if("Tab"===e.key){var n;e.preventDefault();let r=t.findIndex((e=>e===document.activeElement));r+=e.shiftKey?-1:1,r<0?r=t.length-1:r>t.length-1&&(r=0),null===(n=t[r])||void 0===n||n.focus()}};return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}}),[E,e]),l.createElement(d,null,l.createElement("div",{className:"modalOverlay"}),l.createElement("div",{className:"modal",ref:E,role:"dialog","aria-modal":!0,"aria-labelledby":`modal-${g}-title`},n&&l.createElement("h2",{className:"heading modal__heading",id:`modal-${g}-title`},n),l.createElement("div",{className:"modal__content"},e),l.createElement("div",{className:"modal__actions"},l.createElement(i.A,{disabled:t,variant:p,onClick:c,isLoading:m},u),l.createElement(i.A,{variant:"outline",onClick:s},l.createElement(r.x6,{id:"common.cancel"})))))}},18155:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},this.props),r.createElement("path",{d:"M20.5002 36.6668C29.7049 36.6668 37.1668 29.2049 37.1668 20.0002C37.1668 10.7954 29.7049 3.3335 20.5002 3.3335C11.2954 3.3335 3.8335 10.7954 3.8335 20.0002C3.8335 29.2049 11.2954 36.6668 20.5002 36.6668Z",stroke:"currentColor",strokeWidth:this.props.strokeWidth||"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M20.5 26.6667V20",stroke:"currentColor",strokeWidth:this.props.strokeWidth||"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}
1),r.createElement("path",{d:"M20.5 13.3335H20.5167",stroke:"currentColor",strokeWidth:this.props.strokeWidth||"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}))}}},18331:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},this.props),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M20 36.667c9.205 0 16.667-7.462 16.667-16.667 0-9.205-7.462-16.667-16.667-16.667-9.205 0-16.667 7.462-16.667 16.667 0 9.205 7.462 16.667 16.667 16.667ZM20 13.333V20M20 26.667h.017"}))}}},18341:function(e,t,n){n.d(t,{A:function(){return u}});var r=n(62061),a=n(46942),l=n.n(a),o=n(50180),i=n(2642);function s(e){return+(0,i.a)(e)<Date.now()}var d=n(96540),c=n(45725),m=n(43528);var u=({order:{createdAt:e,ownerName:t,price:n,completedAt:a,estimatedCompletion:i,currency:u,status:p},className:E,...g})=>{const{i18n:h}=(0,r.uB)();return d.createElement("div",Object.assign({className:l()("flex flex-col flex-wrap gap-x-10 gap-y-3 whitespace-nowrap md:flex-row",E)},g),d.createElement("span",null,d.createElement(r.x6,{id:"common.createdAt"})," ",d.createElement("time",{dateTime:e},(0,o.GP)(new Date(e),(0,c.eW)(h.locale)))),d.createElement("span",null,d.createElement(r.x6,{id:"portal.owner"}),": ",t),"completed"===p?d.createElement("span",null,d.createElement("strong",null,(0,c.UN)(n,h.locale,u))," ","(",d.createElement(r.x6,{id:"pricing.noVat"}),")"):null,d.createElement("div",{className:"space-x-5"},d.createElement(m.A,{status:p}),"completed"===p&&a?d.createElement("time",{dateTime:a},d.createElement(r.x6,{id:"portal.completedAt"})," ",(0,o.GP)(new Date(a),(0,c.eW)(h.locale))):i?d.createElement("time",{dateTime:i},d.createElement(r.x6,{id:"portal.estimatedCompletion"}),":"," ",s(new Date(i))?d.createElement(r.x6,{id:"portal.soon"}):(0,o.GP)(new Date(i),(0,c.eW)(h.locale))):null))}},20805:function(e,t,n){n.d(t,{P:function(){return c}});var r=n(21988),a=n(62061),l=n(63064),o=n(21154),i=n(96540),s=n(79142),d=n(3120);const c=({onClose:e,onDeleted:t,orderId:n})=>{const c=(0,l.jE)(),{getAccessTokenSilently:m}=(0,r.WB)(),{mutate:u,isLoading:p}=(0,o.n)((()=>(0,s.WV)(n,m)),{onSuccess:()=>{c.invalidateQueries([s.i$]),null==t||t(),e()}});return i.createElement(d.A,{onClose:()=>e(),onSubmit:()=>u(),isLoading:p,heading:i.createElement(a.x6,{id:"portal.orderSubmission.deleteDraftModal.heading"}),submitText:i.createElement(a.x6,{id:"portal.orderSubmission.deleteDraftModal.submitText"}),submitVariant:"danger"},i.createElement(a.x6,{id:"portal.orderSubmission.deleteDraftModal.content"}))}},21426:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M13.3333 2.5H0.833336V13.3333H13.3333V2.5Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.3333 6.66666H16.6667L19.1667 9.16666V13.3333H13.3333V6.66666Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.58333 17.5C5.73393 17.5 6.66667 16.5673 6.66667 15.4167C6.66667 14.2661 5.73393 13.3333 4.58333 13.3333C3.43274 13.3333 2.5 14.2661 2.5 15.4167C2.5 16.5673 3.43274 17.5 4.58333 17.5Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M15.4167 17.5C16.5673 17.5 17.5 16.5673 17.5 15.4167C17.5 14.2661 16.5673 13.3333 15.4167 13.3333C14.2661 13.3333 13.3333 14.2661 13.3333 15.4167C13.3333 16.5673 14.2661 17.5 15.4167 17.5Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}))}}},34753:function(e,t,n){var r=n(62061),a=n(64810),l=n(25983);t.A=e=>{var t;const{i18n:n}=(0,r.uB)(),{employees:o,teamMembers:i,teamMemberPageLinks:s}=(0,a.useStaticQuery)("2269285845");return null!==(t=o.nodes.map((e=>(0,l.Vv)(i.nodes,e.employeeData,s.nodes,n.locale))).find((t=>(null==t?void 0:t.email)===e)))&&void 0!==t?t:null}},39465:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},this.props),r.createElement("path",{d:"M7.50001 18.3333C7.96024 18.3333 8.33334 17.9602 8.33334 17.5C8.33334 17.0398 7.96024 16.6667 7.50001 16.6667C7.03977 16.6667 6.66667 17.0398 6.66667 17.5C6.66667 17.9602 7.03977 18.3333 7.50001 18.3333Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16.6667 18.3333C17.1269 18.3333 17.5 17.9602 17.5 17.5C17.5 17.0398 17.1269 16.6667 16.6667 16.6667C16.2064 16.6667 15.8333 17.0398 15.8333 17.5C15.8333 17.9602 16.2064 18.3333 16.6667 18.3333Z",stroke:"currentColor",strokeWidth:"1.66667"}),r.createElement("path",{d:"M0.833328 0.833328H4.16666L6.39999 11.9917C6.4762 12.3753 6.68492 
112.72 6.98962 12.9652C7.29431 13.2105 7.67558 13.3408 8.06666 13.3333H16.1667C16.5577 13.3408 16.939 13.2105 17.2437 12.9652C17.5484 12.72 17.7571 12.3753 17.8333 11.9917L19.1667 5H4.99999",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_201_2981"},r.createElement("rect",{width:"20",height:"20",fill:"white"}))))}}},42826:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",Object.assign({width:"20",height:"20",fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},this.props),r.createElement("path",{d:"M15 10.8333V15.8333C15 16.2754 14.8244 16.6993 14.5118 17.0118C14.1993 17.3244 13.7754 17.5 13.3333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V6.66667C2.5 6.22464 2.67559 5.80072 2.98816 5.48816C3.30072 5.17559 3.72464 5 4.16667 5H9.16667",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.5 2.5H17.5V7.5",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M8.33334 11.6667L17.5 2.5",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}))}}},43528:function(e,t,n){var r=n(62061),a=n(96540);const l={analysisInProgress:{id:"portal.orderStatus.analysisInProgress"},completed:{id:"portal.orderStatus.completed"},draft:{id:"portal.orderStatus.draft"},offerProvided:{id:"portal.orderStatus.offerProvided"},samplesReceived:{id:"portal.orderStatus.samplesReceived"},submitted:{id:"portal.orderStatus.submitted"},waitingForReview:{id:"portal.orderStatus.waitingForReview"},waitingForSamples:{id:"portal.orderStatus.waitingForSamples"}};t.A=({status:e})=>{const{i18n:t}=(0,r.uB)();return a.createElement("span",{className:`orderStatus orderStatus--${e}`},t._(l[e]))}},44329:function(e,t,n){n.d(t,{Ak:function(){return r}});let r=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),"")},46663:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},this.props),r.createElement("path",{d:"M17.5 12.5V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V12.5",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M5.83334 8.33333L10 12.5L14.1667 8.33333",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M10 12.5V2.5",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}))}}},47521:function(e,t,n){n.d(t,{D:function(){return u}});var r=n(21988),a=n(62061),l=n(64251),o=n(96540),i=n(79142),s=n(81366),d=n(34033),c=n(46663),m=n(42299);const u=({disabled:e,orderSubmissionId:t,dealId:n,onError:u,...p})=>{const{i18n:E}=(0,a.uB)(),{getAccessTokenSilently:g}=(0,r.WB)(),{0:h,1:f}=(0,o.useState)(s.XB.NONE);return o.createElement(d.A,Object.assign({},p,{onClick:async()=>{if(h!==s.XB.LOADING){f(s.XB.LOADING);try{void 0!==t?await(0,i.B_)(t,E.locale,g):await(0,i.B1)(n,E.locale,g),f(s.XB.NONE)}catch(e){l.Cp(e,(e=>(e.setExtra("data",{dealId:n,orderSubmissionId:t}),e))),f(s.XB.ERROR),u&&u(o.createElement(a.x6,{id:"portal.order.downloadCoverSheet.error",components:{link:o.createElement("a",{href:"mailto:[email protected]"})}}))}}}}),h===s.XB.LOADING?o.createElement(m.A,null):o.createElement(c.A,null),o.createElement(a.x6,{id:"portal.order.downloadCoverSheet.label"}))}},51014:function(e,t,n){n.d(t,{A:function(){return d}});var r=n(46942),a=n.n(r),l=n(96540),o=n(14348);class i extends o.A{render(){return l.createElement("svg",Object.assign({width:"24",height:"24",fill:"
1currentColor",viewBox:"0 0 24 24"},this.props),l.createElement("path",{d:"M12.258 8.024a2 2 0 0 0-2.224 1.308 1 1 0 0 1-1.887-.664 4 4 0 0 1 7.773 1.333c0 1.53-1.135 2.54-1.945 3.081a8.044 8.044 0 0 1-1.686.848l-.035.013-.011.004h-.004l-.001.001s-.002 0-.318-.948l.316.949a1 1 0 0 1-.633-1.897l.016-.006.074-.027a6.045 6.045 0 0 0 1.172-.6c.69-.46 1.055-.95 1.055-1.419v-.001a2 2 0 0 0-1.662-1.975ZM12 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H12Z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11-9a9 9 0 1 0 0 18 9 9 0 0 0 0-18Z"}))}}var s=n(6536);var d=({className:e,disabled:t,tooltip:n,label:r,selectId:o,onChange:d,options:c,value:m,...u})=>{const p=!c.some((e=>e.value===m));return l.createElement("div",{className:a()("dropdown",e)},l.createElement("div",{className:"dropdown__inputWrapper"},l.createElement("select",Object.assign({disabled:t,"aria-label":r,id:o,className:a()("dropdown__input",{"dropdown__input--disabled":t,"dropdown__input--empty":p}),onChange:e=>d(e.target.value),value:null!=m?m:""},u),c.map((e=>{var t;return l.createElement("option",{key:e.value,value:null!==(t=e.value)&&void 0!==t?t:""},e.label)})))),n&&l.createElement(s.A,{label:n,className:"dropdown__tooltipWrapper"},l.createElement(i,{width:"24",height:"24"})))}},62514:function(e,t,n){var r=n(96540);t.A=e=>r.createElement("svg",Object.assign({width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{d:"M10 17.1665H17.5",stroke:"#0013C1",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.75 3.41669C14.0815 3.08517 14.5312 2.89893 15 2.89893C15.2321 2.89893 15.462 2.94465 15.6765 3.03349C15.891 3.12233 16.0858 3.25254 16.25 3.41669C16.4142 3.58084 16.5444 3.77572 16.6332 3.9902C16.722 4.20467 16.7678 4.43455 16.7678 4.66669C16.7678 4.89884 16.722 5.12871 16.6332 5.34319C16.5444 5.55766 16.4142 5.75254 16.25 5.91669L5.83333 16.3334L2.5 17.1667L3.33333 13.8334L13.75 3.41669Z",stroke:"#0013C1",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}))},73359:function(e,t,n){var r=n(21988),a=n(62061),l=n(63064),o=n(21154),i=n(64810),s=n(96540),d=n(1900),c=n(79142),m=n(77722),u=n(34033);t.A=({orderId:e})=>{const{i18n:t}=(0,a.uB)(),{getAccessTokenSilently:n}=(0,r.WB)(),p=(0,l.jE)(),{expertAccess:E}=(0,d.i)(),{mutate:g,isLoading:h}=(0,o.n)((()=>(0,c.c0)(n,e,t.locale)),{onSuccess:e=>{p.invalidateQueries([c.i$]),(0,i.navigate)((0,m.nb)(m.xM.samplesAndTests,t.locale,e.id))}});return s.createElement(u.A,{onClick:()=>g(),disabled:E,isLoading:h},s.createElement(a.x6,{id:"portal.order.orderAgain"}))}},94599:function(e,t,n){n.r(t),n.d(t,{default:function(){return ae}});var r=n(21988),a=n(62061),l=n(96540),o=n(34033),i=n(51014);var s=({mode:e,...t})=>l.createElement("svg",Object.assign({key:e,width:"20",height:"20",fill:"none"},t),"collapse"===e?l.createElement("path",{d:"m15 17.5-5-5-5 5M5 2.5l5 5 5-5",stroke:"currentColor",strokeWidth:"1.667",strokeLinecap:"round",strokeLinejoin:"round"}):l.createElement(l.Fragment,null,l.createElement("path",{d:"M5 13.3333L10 18.3333L15 13.3333",stroke:"currentColor",strokeWidth:"1.667",strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M15 6.66666L10 1.66666L5 6.66666",stroke:"currentColor",strokeWidth:"1.667",strokeLinecap:"round",strokeLinejoin:"round"}))),d=n(56466),c=n(64810),m=n(82816),u=n(1866);var p=()=>{const{i18n:e}=(0,a.uB)();return l.createElement("div",{className:"noOrders"},l.createElement("div",{className:"noOrders__container"},l.createElement("h3",{className:"noOrders__heading"},l.createElement(a.x6,{id:"portal.noOrders.heading"})),l.createElement("p",null,l.createElement(a.x6,{id:"portal.noOrders.body"})),l.createElement("div",null,l.createElement(o.A,{size:"xl",onClick:()=>{(0,c.navigate)((0,m.$h)(e.locale,u.c.CONTACT))}},l.createElement(a.x6,{id:"portal.noOrders.cta"}))),l.createElement("p",{className:"noOrders__footer"},l.createElement(a.x6,{id:"portal.noOrders.footer"}))))},E=n(5993),g=n(63064),h=n(21154),f=n(1900),v=n(79142),_=n(77722),k=n(39465),x=n(6536);var w=({offers:e})=>{const{i18n:t}=(0,a.uB)(),n=(0,g.jE)(),{expertAccess:i}=(0,f.i)(),{getAccessTokenSilently:s}=(0,r.WB)(),{data:d=[]}=(0,v.Gi)(),{mutate:p,isLoading:E}=(0,h.n)((e=>(0,v.pm)(s,e,t.locale)),{onSuccess:e=>{n.invalidateQueries([v.i$]),(0,c.navigate)((0,_.nb)(_.xM.samplesAndTests,t.locale,e.id))}}),{0:w,1:b}=(0,l.useState)(!1),N=e.length>3,C=w?e:e.slice(0,3);return l.createElement("div",{className:"flex flex-col gap-4 pb-8"},C.map((e=>{var n;const r=d.find((({id:t})=>t===e.organizationId));return l.createElement("div",{key:e.offerId,className:"flex flex-col gap-2 rounded-xl border border-gray-300 bg-white p-4 text-sm"},l.createElement("div",{className:"flex flex-col items-start gap-4 md:flex-row md:items-center md:justify-between"},l.createElement("div",{className:"flex-1"},l.createElement("h3",{className:"flex items-center font-primary text-base font-semibold whitespace-pre-wrap md:text-sm"},e.isExpired&&l.createElement(x.A,{enabled:!0,label:l.createElement(a.x6,{id:"portal.offer.expired.tooltip"})},l.createElement("span",{className:"tag mr-2"},l.createElement(a.x6,{id:"portal.offer.expired.tag"}))),l.createElement(c.Link,{to:(0,m.$h)(t.locale,u.c.PORTAL_OFFERS_ID).replace("[id]",e.offerId)}
1,e.title||"Framework offer"," - ",null==r?void 0:r.name)),e.products.length>0&&l.createElement("p",null,null===(n=e.products[0])||void 0===n?void 0:n.productName," +"," ",e.products.length-1," other tests")),l.createElement(o.A,{variant:"link",onClick:()=>{(0,c.navigate)((0,m.$h)(t.locale,u.c.PORTAL_OFFERS_ID).replace("[id]",e.offerId))}},l.createElement(a.x6,{id:"portal.offer.view"})),l.createElement(x.A,{enabled:e.isExpired,label:l.createElement(a.x6,{id:"portal.offer.expired.tooltip"})},l.createElement(o.A,{disabled:i||e.isExpired,isLoading:E,onClick:()=>p(e)},l.createElement(k.A,null),l.createElement(a.x6,{id:"portal.offer.order"})))))})),N&&!w&&l.createElement("div",{className:"self-center"},l.createElement(o.A,{size:"lg",className:"mt-3",onClick:()=>{b(!0)}},l.createElement(a.x6,{id:"portal.offersShowAll"}))))},b=n(86571),N=n(95402),C=n(38164),A=n(68022),S=n(42826),L=n(62514),y=n(95286),O=n(30379),P=n(18341),M=n(47521),I=n(10276);const W=({highlight:e,products:t,samples:n})=>{var r;const o=null!==(r=t.find((t=>{const n=(0,I.QD)(t);return null==e?void 0:e.some((e=>e.length>0&&n.includes((0,I.QD)(e))))})))&&void 0!==r?r:t[0],i=n.find((t=>{const n=(0,I.QD)(t);return null==e?void 0:e.some((e=>e.length>0&&n.includes((0,I.QD)(e))))}));return l.createElement(l.Fragment,null,o&&l.createElement("span",null,l.createElement(C.W,{highlight:e},o),t.length>1&&l.createElement("span",null," ",t.length>2?l.createElement(a.x6,{id:"portal.order.otherTests",values:{no:t.length-1}}):l.createElement(a.x6,{id:"portal.order.oneOtherTest"}))),t.length>0&&n.length>0&&l.createElement("span",null,", "),i?l.createElement(l.Fragment,null,l.createElement(C.W,{highlight:e},i),n.length>1?l.createElement("span",null," ",n.length>2?l.createElement(a.x6,{id:"portal.order.otherSamples",values:{no:t.length-1}}):l.createElement(a.x6,{id:"portal.order.oneOtherSample"})):l.createElement("span",null," ",l.createElement(a.x6,{id:"common.sampleSingular"}))):n.length>0&&l.createElement("span",null,n.length," ",1===n.length?l.createElement(a.x6,{id:"common.sampleSingular"}):l.createElement(a.x6,{id:"common.samplesplural"})))};var B=n(73359);var j=({isExpanded:e,order:t,onToggle:n,query:i})=>{const{expertEmail:s,files:d,id:p,name:E,note:_,orderSubmissionId:k,products:x,reference:w,sampleBatches:I,status:j}=t,{i18n:D}=(0,a.uB)(),F=I.flatMap((e=>e.samples)),{getAccessTokenSilently:T}=(0,r.WB)(),{0:z,1:R}=(0,l.useState)(null),{expertAccess:V}=(0,f.i)(),{0:H,1:$}=(0,l.useState)(!1),q=(0,g.jE)(),{data:G=[]}=(0,v.pF)(),{mutateAsync:Q}=(0,h.n)((e=>(b.SO.orderFieldChanged(Object.keys(e)),(0,v.lz)(p,e,T))),{onSuccess:()=>{q.invalidateQueries([v.vA]),$(!1)}}),Z=null==i?void 0:i.split(" ").filter(Boolean),U=(0,m.$h)(D.locale,u.c.PORTAL_ORDERS_ID).replace("[id]",String(p));return l.createElement("div",{className:"order"},l.createElement("button",{className:"order__toggle",onClick:()=>n(!e)},l.createElement(A.A,{color:"#185ef2",direction:e?"up":"down",stroke:"185ef2",width:12})),l.createElement("div",{className:"order__header"},H?l.createElement(y.e,{isEditing:H,onSetEditing:e=>$(e),initialValue:E,inputProps:{"aria-label":D._({id:"portal.order.namePlaceholder"}),as:"input","data-test-id":"order-name-field",placeholder:D._({id:"portal.order.namePlaceholder"})},onSubmit:e=>Q({name:e})}):l.createElement("h3",{className:"order__heading"},l.createElement(c.Link,{to:U},l.createElement(C.W,{highlight:Z},`ID ${p} `),l.createElement("span",null,E&&l.createElement(C.W,{highlight:Z},E))),!V&&l.createElement(y.M,{editButtonProps:{children:l.createElement(l.Fragment,null,l.createElement(L.A,null),l.createElement("span",null,E?l.createElement(a.x6,{id:"portal.order.rename"}):l.createElement(a.x6,{id:"portal.order.setName"}))),className:"order__editButton"},onSetEditing:e=>$(e)})),l.createElement("div",{className:"spacer"}),w?l.createElement("span",{style:{textOverflow:"ellipsis"}},l.createElement("span",null,l.createElement(a.x6,{id:"portal.reference"}),":"," "),l.createElement(C.W,{highlight:Z},w)):null,(0,v.Kz)({offers:G,order:t})?l.createElement(B.A,{orderId:t.id}):null),l.createElement(P.A,{order:t,className:"order__details"}),e&&l.createElement("div",{className:"order__body"},(F.length>0||x.length>0)&&l.createElement("div",{className:"order__section"},l.createElement("p",null,l.createElement(W,{highlight:Z,products:x.map((e=>e.name)),samples:F.map((e=>e.name))}))),_?l.createElement("div",{className:"order__section"},l.createElement("h4",{className:"order__subheading"},l.createElement(a.x6,{id:"portal.order.notes.heading"})),l.createElement("p",{className:"order__notes"},l.createElement(C.W,{highlight:Z},_))):null,("waitingForSamples"===j||"waitingForReview"===j)&&l.createElement("div",{className:"order__section order__orderSubmissionActions"},l.createElement("div",{className:"order__section order__orderSubmissionActionButtons"},null!==k?l.createElement(M.D,{onError:R,orderSubmissionId:k,variant:"link"}):l.createElement(M.D,{onError:R,dealId:p,variant:"link"}),l.createElement(o.A,{variant:"link",onClick:()=>{window.open((0,m.$h)(D.locale,u.c.SHIPPING_INSTRUCTIONS),"_blank")}},l.createElement(a.x6,{id:"portal.order.viewShippingInstructions"}),l.createElement(S.A,{width:"16",height:"16"}))),z&&l.createElement("div",{className:"order__orderSubmissionActionError"},z)),l.createElement("div",{className:"order__section"},l.createElement("h4",{className:"order__subheading"},l.createElement(a.x6,{id:"portal.files.heading"})),l.createElement(O.$c,{onFetchFile:e=>
1(0,v.d5)(e,T),files:d,highlightChunks:Z,fileItemProps:{addTimeProps:{className:"order__showOnHover"}}})),l.createElement("div",{className:"order__section"},l.createElement("h4",{className:"order__subheading"},l.createElement(a.x6,{id:"portal.expert"})),l.createElement(N.A,{email:s,showContactInfo:!0})),l.createElement(c.Link,{to:U},l.createElement(a.x6,{id:"portal.order.view"}),l.createElement(A.A,{className:"ml-2 inline align-text-bottom",direction:"right",width:"10"}))))},D=n(50180),F=n(45725),T=n(22562),z=n(21426),R=n(43528),V=n(20805);const H=({highlight:e,orderSubmission:t,isExpanded:n,onExpand:r,onDelete:i})=>{const{data:s=[]}=(0,v.pF)({}),{i18n:d}=(0,a.uB)(),{0:p,1:E}=(0,l.useState)(null),g=(0,_.nb)(_.xM.samplesAndTests,d.locale,t.id);return l.createElement("div",{className:"orderSubmissionList__item"},l.createElement("button",{className:"orderSubmissionList__toggle",onClick:()=>r()},l.createElement(A.A,{direction:n?"up":"down",width:12})),l.createElement("div",{className:"orderSubmissionList__header"},l.createElement("h3",{className:"orderSubmissionList__heading"},l.createElement(c.Link,{to:g},"draft"===t.status?l.createElement(a.x6,{id:"portal.orders.draftTitle"}):l.createElement(a.x6,{id:"portal.orders.orderTitle"})))),l.createElement("div",{className:"orderSubmissionList__details"},l.createElement("span",null,l.createElement(a.x6,{id:"common.createdAt"})," ",l.createElement("time",{dateTime:t.createdAt},(0,D.GP)(new Date(t.createdAt),(0,F.eW)(d.locale)))),t.ownerName&&l.createElement("span",null,l.createElement(a.x6,{id:"portal.owner"})," ",t.ownerName),l.createElement("div",null,l.createElement(R.A,{status:t.status}))),n&&l.createElement("div",{className:"orderSubmissionList__content"},l.createElement("p",null,l.createElement(W,{highlight:e,products:t.samples.flatMap((e=>s.flatMap((t=>t.products.filter((t=>e.offerProducts.includes(t.id))))))).map((e=>e.productName)),samples:t.samples.map((e=>e.name))})),l.createElement("div",{className:"orderSubmissionList__actions"},"submitted"===t.status?l.createElement(l.Fragment,null,l.createElement(M.D,{orderSubmissionId:t.id,onError:E,variant:"link"}),l.createElement(o.A,{variant:"link",onClick:()=>{window.open((0,m.$h)(d.locale,u.c.SHIPPING_INSTRUCTIONS),"_blank")}},l.createElement(z.A,null),l.createElement(a.x6,{id:"portal.order.viewShippingInstructions"}),l.createElement(S.A,{width:"16",height:"16"}))):l.createElement(l.Fragment,null,l.createElement(o.A,{onClick:()=>{(0,c.navigate)(g)}},l.createElement(k.A,null),l.createElement(a.x6,{id:"portal.orders.continueOrder"})),l.createElement(o.A,{variant:"danger-outline",onClick:e=>{e.stopPropagation(),i()}},l.createElement(T.A,null),l.createElement(a.x6,{id:"portal.orders.deleteDraft"})))),p&&l.createElement("div",{className:"orderSubmissionList__actionError"},p)))};var $=({orderSubmissions:e,expandedOrders:t,setExpandedOrders:n,query:r})=>{var a;const{0:o,1:i}=(0,l.useState)(null),s=null!==(a=null==r?void 0:r.split(" ").filter(Boolean))&&void 0!==a?a:[];return l.createElement("div",{className:"orderSubmissionList"},e.map((e=>l.createElement(H,{highlight:s,isExpanded:t.has(e.id),key:e.id,onExpand:()=>{return t=e.id,void n((e=>e.has(t)?new Set([...e].filter((e=>e!==t))):new Set(e.add(t))));var t},onDelete:()=>i(e.id),orderSubmission:e}))),o&&l.createElement(V.P,{orderId:o,onClose:()=>i(null)}))};const q=({organization:e})=>{const{data:t,isLoading:n}=(0,v.aD)(e.id),{getAccessTokenSilently:o}=(0,r.WB)();return n||null==t||!t.length?null:l.createElement("div",{className:"organizationFiles__generalFiles","data-test-id":"general-files"},l.createElement("h3",{className:"organizationFiles__generalFilesHeading"},l.createElement(a.x6,{id:"portal.generalFiles.heading"})," - ",e.name),l.createElement(O.$c,{files:t,onFetchFile:e=>(0,v.d5)(e,o)}))};var G=({organizations:e})=>0===e.length?null:l.createElement(l.Fragment,null,e.map((e=>l.createElement(q,{organization:e,key:e.id})))),Q=n(75688),Z=n(95227),U=n(86462),X=n(81366),K=n(13658);var Y=n(46901);const J=(e,t)=>t.every((t=>{const n=(0,I.QD)(t);return e.some((e=>e.includes(n)))}));function ee(e,t){var n;const r=null!==(n=e.query.trim().split(" "))&&void 0!==n?n:[];return t.filter((t=>(!r.length||J((e=>[`ID ${e.id}`,e.name,e.note,e.reference,...e.files.map((e=>e.name)),...e.products.map((e=>e.name)),...e.sampleBatches.flatMap((e=>e.samples.map((e=>e.name))))].map(I.QD))(t),r))&&(!e.owner||((e,t)=>e.ownerName===t)(t,e.owner))&&(!e.organizationId||((e,t)=>{var n;return(null===(n=e.organization)||void 0===n?void 0:n.id)===t})(t,e.organizationId))))}function te(e,t,n){var r;const a=null!==(r=e.query.trim().split(" "))&&void 0!==r?r:[];return t.filter((t=>(!a.length||J(((e,t)=>[e.billingReference,...e.samples.flatMap((e=>t.flatMap((t=>t.products.filter((t=>e.offerProducts.includes(t.id))))))).map((e=>e.productName)),...e.samples.map((e=>e.name))].map(I.QD))(t,n),a))&&(!e.owner||t.ownerName===e.owner)))}var ne=n(42189);const re=({expandedOrders:e,query:t,orders:n,setExpandedOrders:r})=>l.createElement(l.Fragment,null,n.map((n=>l.createElement(j,{query:t,key:n.id,order:n,isExpanded:e.has(n.id),onToggle:t=>{r(t?new Set([...e,n.id]):new Set([...e].filter((e=>e!==n.id))))}}))));var ae=(0,r.O8)((0,ne.Y)((()=>{var e,t,n;const c=(0,Y.QM)(),{user:g}=(0,r.WB)(),{expertAccess:h}=(0,f.i)(),{0:_,1:k}=(0,l.useState)([]),{i18n:x}=(0,a.uB)(),{filters:N,handleChange:C}=(()=>{var e;const t=(0,U.useLocation)(),n=new URLSearchParams(t.search),{0:r,1:a}=(0,l.useState)({organizationId:Number(n.get("organization"))||null,owner:null!==(e=n.get("owner"))&&void 0!==e?e:null,query:""}),o={[X.R.ORGANIZATION]:e=>{if(!e)return a({...r,organizationId:null}),void(0,K.g_)(["organization"]);a({...r,organizationId:Number(e)}),(0,K.Nb)("organization",e)},[X.R.OWNER]:e=>{if(b.SO.filterChanged("owner"),!e)return a({...r,owner:null}),void(0,K.g_)(["owner"]);a({...r,owner:e}),(0,K.Nb)("owner",e)},[X.R.QUERY]:e=>{b.SO.filterChanged("query"),a({...r,query:e||""})}};return{filters:r,handleChange:o}})(),{0:A,1:S}=(0,l.useState)(new Set),{data:L}=(0,v.xc)(),{data:y=[],isLoading:O}=(0,v.h)({organizationId:null!==(e=N.organizationId)&&void 0!==e?e:null},{onSettled:(e=[])=>{k((0,v.b3)(e).sort(((e,t)=>c.compare(e,t)))),S((t=>new Set([...t,...e.map((e=>e.id))])))}}),{data:P=[],isLoading:M}=(0,v.pF)({organizationId:N.organizationId}),{data:I=[],isLoading:W}=(0,v.VQ)({},{onSettled:(e=[])=>{S((t=>new Set([...t,...e.map((e=>e.id))])))}}),{data:B,isLoading:j}=(0,v.Gi)(),D=A.size>0,F=ee(N,y),T=te(N,I,P);return l.createElement(E.A,{contentGroup:b.O9.ordersPage,isGray:!0,localisedSlugs:(0,m.Gm)(u.c.PORTAL)},l.createElement(d.A,{noIndex:!0,title:x._({id:"metadata.portal.title"})}),l.createElement("div",{className:"frontPage"},l.createElement(Q.A,null,l.createElement("div",{className:"frontPage__header"},l.createElement("h2",{className:"frontPage__heading"},l.createElement(a.x6,{id:"portal.offersAndOrders"}))),h&&l.createElement(Z.M,{className:"frontPage__statusMessage",type:"warning"},l.createElement("div",{className:"frontPage__statusMessage--expertA
1ccess"},l.createElement("div",null,l.createElement(a.x6,{id:"portal.expertAccess"})),l.createElement("label",{className:"frontPage__filter"},l.createElement(a.x6,{id:"portal.filters.organization"}),":",l.createElement(i.A,{"data-test-id":"organization-select",options:[{label:x._({id:"portal.filters.selectOrganization"}),value:null},...(null!=B?B:[]).map((e=>({label:e.name,value:e.id.toString()})))],value:null===(t=N.organizationId)||void 0===t?void 0:t.toString(),onChange:C.organization,tooltip:l.createElement(a.x6,{id:"portal.filters.organizationTooltip"})})))),j||void 0===h?l.createElement("div",{className:"frontPage__orderSkeleton skeleton"}):h&&B?l.createElement(G,{organizations:B.filter((({id:e})=>N.organizationId===e))}):null!=L&&L.organizations&&B?l.createElement(G,{organizations:L.organizations.map((e=>B.find((t=>t.id===e)))).filter((e=>Boolean(e)))}):null,(M||W||O)&&l.createElement(l.Fragment,null,l.createElement("div",{className:"frontPage__orderSkeleton skeleton"}),l.createElement("div",{className:"frontPage__orderSkeleton skeleton"}),l.createElement("div",{className:"frontPage__orderSkeleton skeleton"}))||l.createElement(l.Fragment,null,l.createElement("div",{className:"frontPage__offers"},l.createElement("div",{className:"frontPage__sectionHeader"},l.createElement("h3",{className:"frontPage__heading frontPage__heading--small"},l.createElement(a.x6,{id:"portal.offersHeading"})," (",P.length,")")),(null==P?void 0:P.length)>0?l.createElement(w,{offers:P}):l.createElement("div",{className:"frontPage__noOffers"},l.createElement(a.x6,{id:"portal.missingOffers",components:{link:l.createElement("a",{href:"/documents/measurlabs-sample-submission-form.docx"},"download our paper form")}}))),l.createElement("div",{className:"frontPage__sectionHeader"},l.createElement("h3",{className:"frontPage__heading frontPage__heading--small"},l.createElement(a.x6,{id:"portal.orders.heading"})," (",y.length,")")),!h&&0===(null==B?void 0:B.length)&&y.length>0&&l.createElement(Z.M,{className:"frontPage__statusMessage",type:"info"},l.createElement(a.x6,{id:"portal.missingOrders",values:{email:l.createElement("a",{href:"mailto:[email protected]"},"[email protected]"),owner:(null==g?void 0:g.email)&&l.createElement("a",{href:`mailto:${g.email}`},g.email)},components:{strong:l.createElement("strong",null)}})),l.createElement("div",{className:"frontPage__actions"},l.createElement(o.A,{className:"min-w-32",variant:"link",onClick:()=>S(D?new Set([]):new Set([...y.map((e=>e.id)),...I.map((e=>e.id))]))},l.createElement(s,{mode:D?"collapse":"expand"}),D?l.createElement(a.x6,{id:"portal.collapseAll"}):l.createElement(a.x6,{id:"portal.expandAll"})),l.createElement("div",{className:"frontPage__filters"},l.createElement("input",{className:"inputField frontPage__filter frontPage__search","data-test-id":"order-search",type:"search",value:null!==(n=N.query)&&void 0!==n?n:"",placeholder:x._({id:"portal.filters.queryPlaceholder"}),onChange:e=>C.query(e.currentTarget.value)}),l.createElement("label",{className:"frontPage__filter"},l.createElement(a.x6,{id:"portal.filters.owner"}),":",l.createElement(i.A,{"data-test-id":"owner-select",disabled:_.length<2,options:1===_.length?_.map((e=>({label:e,value:e}))):[0===_.length&&null!=g&&g.name?{label:null==g?void 0:g.name,value:null==g?void 0:g.name}:{label:x._({id:"portal.filters.ownerAnyone"}),value:""},..._.map((e=>({label:e,value:e})))],value:N.owner,onChange:C.owner})))),l.createElement($,{orderSubmissions:T,expandedOrders:A,setExpandedOrders:S,query:N.query}),0===F.length?N.query.trim()?l.createElement("div",{className:"frontPage__noResults"},l.createElement(a.x6,{id:"portal.filters.noResults"})):l.createElement(p,null):l.createElement(re,{query:N.query,expandedOrders:A,orders:F,setExpandedOrders:S})))))})))},95227:function(e,t,n){n.d(t,{M:function(){return c}});var r=n(96540),a=n(14348);class l extends a.A{render(){return r.createElement("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},this.props),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M13.1 3.333h13.8l9.767 9.767v13.8L26.9 36.667H13.1L3.333 26.9V13.1L13.1 3.333ZM25 15 15 25M15 15l10 10"}))}}var o=n(18155);class i extends a.A{render(){return r.createElement("svg",Object.assign({width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},this.props),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M36.667 18.467V20a16.666 16.666 0 1 1-9.884-15.233"}),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M36.667 6.667 20 23.35l-5-5"}))}}var s=n(18331);const d=({type:e})=>"info"===e?r.createElement(o.A,null):"warning"===e?r.createElement(s.A,null):"error"===e?r.createElement(l,null):"success"===e?r.createElement(i,null):null,c=({className:e,children:t,type:n})=>r.createElement("div",{className:`statusMessage statusMessage--${n} ${null!=e?e:""}`},r.createElement("div",{className:`statusMessage__icon statusMessage__icon--${n}`},r.createElement(d,{type:n})),r.createElement("div",{className:"statusMessage__body"},t))},95286:function(e,t,n){n.d(t,{M:function(){return d},e:function(){return c}});var r=n(62061),a=n(46942),l=n.n(a),o=n(96540),i=n(34033);const s=e=>{if("input"===e.as){const{as:t,...n}=e;return o.createElement(t,Object.assign({size:"string"==typeof n.value?Math.max(20,n.value.length):void 0},n))}const{as:t,tooltip:n,...r}=e;return o.createElement("div",{className:"flex flex-col gap-1"},o.createElement(t,r),n)},d=({editButtonProps:e,onSetEditing:t})=>o.createElement(i.A,Object.assign({},e,{variant:"link",className:l()("whitespace-nowrap",e.className),onClick:n=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,n),t(!0)}})),c=({className:e,initialValue:t="",inputProps:n,onSetEditing:a,onSubmit:d})=>{const{0:c,1:m}=(0,o.useState)(t),{0:u,1:p}=(0,o.useState)(!1);return o.createElement("form",{className:l()("flex flex-wrap items-center gap-2",{"max-w-200 flex-col items-stretch":"textarea"===n.as},e),onKeyDown:e=>{"Escape"===e.key&&(e.preventDefault(),m(t),a(!1))},onSubmit:e=>{e.preventDefault(),p(!0),d(c).finally((()=>p(!1)))}},o.createElement(s,Object.assign({autoFocus:!0,value:c},n,{onChange:e=>m(e.currentTarget.value),disabled:u,className:l()("max-w-full flex-1","inputField","inputField--small",n.className)})),o.createElement("div",{className:"space-x-2"},o.createElement(i.A,{className:"h-8! min-w-auto! px-4! py-0! shadow-none!",isLoading:u,type:"submit"},o.createElement(r.x6,{id:"common.save"})),o.createElement(i.A,{variant:"outline",className:"min-w-auto! px-4! py-0! shadow-none!",disabled:u,onClick:()=>{m(t),a(!1)}},o.createElement(r.x6,{id:"common.cancel"}))))}},95402:function(e,t,n){var r=n(62061),a=n(46942),l=n.n(a),o=n(96540),i=n(34753),s=n(96656),d=n(69206),c=n(26309);t.A=({email:e,showContactInfo:t=!1,linkToProfile:n=!0})=>{const a=(0,i.A)(null!=e?e:""),{i18n:m}=(0,r.uB)(),u=null!=a&&a.isActive&&e?e:"[email protected]";return o.createElement("div",{className:l()("expertContactCard",{"expertContactCard--inactive":!(null!=a&&a.isActive)})},o.createElement(d.e,{className:"expertContactCard__img",variant:"rounded",member:a}),o.createElement("div",{className:"expertContactCard__contactDetails"},a?o.createElement("span",{className:"expertContactCard__name"},n&&a.profileUrl?o.createElement("a",{href:a.profileUrl}
1,a.name.full):a.name.full,!a.isActive&&` (${m._({id:"common.inactiveEmployee"})})`):null,t&&o.createElement("div",{className:"expertContactCard__contactLinks"},o.createElement(c.D,{email:u,location:"expertContactCard"},u),(null==a?void 0:a.isActive)&&a.customerFacingPhone&&o.createElement("a",{href:`tel:${(0,s.KE)(a.customerFacingPhone)}`},a.customerFacingPhone))))}}}]);
2//# sourceMappingURL=component---src-pages-portal-index-tsx-5e540f83b594ad5cd559.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.