"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2267],{11934:(e,t,a)=>{a.d(t,{ym:()=>i});var n=a(28888);a(37876);var r=a(82897);function o(){let e=(0,n._)(["\n query pdfDownload($input: PdfDownloadInput!) {\n pdfDownload(input: $input)\n}\n "]);return o=function(){return e},e}a(14232);let i=(0,r.J1)(o())},17006:(e,t,a)=>{a.d(t,{A:()=>p});var n=a(37876),r=a(77018),o=a(21834);a(14232);var i=a(8733),s=a(21990),l=a(89996),u=a(18608),d=a(62222);let c=(0,u.makeStyles)()(e=>({paragraphSeparation:{marginBottom:e.spacing(4)}})),p=e=>{let{certificateType:t,open:a,onClose:u,children:p}=e,{classes:m}=c();return(0,n.jsx)(s.Ay,{open:a,onClose:u,size:s.Ih.Small,renderTitle:()=>(0,n.jsx)(r.A,{variant:"h2",children:(0,n.jsx)(i.A,{...o.default.CERTIFICATE_TYPE_NOT_FOUND,values:{certificateType:t}})}),children:(0,n.jsxs)(s.Uh,{children:[(0,n.jsx)(r.A,{variant:"body2",className:m.paragraphSeparation,children:(0,n.jsx)(i.A,{...o.default.UNABLE_TO_FIND_CERTIFICATE})}),p,(0,n.jsx)(r.A,{variant:"body2",children:(0,n.jsx)(i.A,{id:"NO_PRODUCT_DOC_ONLINE",defaultMessage:"In some cases, our product documentation may not be available online. Please {contactUs} to request a copy.",values:{contactUs:(0,n.jsx)(d.N,{href:l.mA.customerSupport(),children:(0,n.jsx)(i.A,{id:"CONTACT_US_LOWERCASE",defaultMessage:"contact us"})})}})})]})})}},20695:(e,t,a)=>{a.d(t,{A:()=>o});var n=a(37876),r=a(49923);let o=e=>(0,n.jsx)(r.A,{...e,nativeViewbox:"0 0 14 16",children:(0,n.jsx)("path",{d:"M12 4h-2V2a2 2 0 00-2-2H2a2 2 0 00-2 2v8a2 2 0 002 2h2v2a2 2 0 002 2h6a2 2 0 002-2V6a2 2 0 00-2-2zM2 10.5a.5.5 0 01-.5-.5V2a.5.5 0 01.5-.5h6a.5.5 0 01.5.5v2H6a2 2 0 00-2 2v4.5zM12.5 14a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5h6a.5.5 0 01.5.5z"})})},21140:(e,t,a)=>{a.d(t,{K4:()=>f,iV:()=>_,ok:()=>N});var n=a(28888),r=a(37876),o=a(82897);a(14232);var i=a(54431),s=a(56057);function l(){let e=(0,n._)(["\n fragment CertificateOfOriginProduct on Product {\n name\n description\n brand {\n key\n name\n color\n logo {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n }\n productNumber\n molecularWeight\n linearFormula\n casNumber\n}\n "]);return l=function(){return e},e}function u(){let e=(0,n._)(["\n fragment CertificateOfOriginTestSpecifications on TestSpec {\n name\n value\n result\n}\n "]);return u=function(){return e},e}function d(){let e=(0,n._)(["\n query CertificateOfOrigin($productNumber: String!, $lotNumber: String!, $brand: String, $documentType: String) {\n getCertificateOfOrigin(\n input: {productNumber: $productNumber, lotNumber: $lotNumber, brand: $brand, documentType: $documentType}\n ) {\n ... on CertificateUrl {\n url\n }\n ... on CertificateText {\n lotNumber\n signatureUrl\n testSpecifications {\n ...CertificateOfOriginTestSpecifications\n }\n product {\n ...CertificateOfOriginProduct\n }\n }\n }\n}\n ","\n",""]);return d=function(){return e},e}let c={},p=(0,o.J1)(l()),m=(0,o.J1)(u()),_=(0,o.J1)(d(),m,p),N=e=>(0,r.jsx)(s.X,{query:_,...e});function f(e){let t={...c,...e};return i.IT(_,t)}},21927:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(37876),r=a(77018),o=a(18608),i=a(8733);let s=(0,o.makeStyles)()(e=>({bannerContainer:{padding:e.spacing(6,0),borderTop:"1px solid ".concat(e.palette.grey[400])},banner:{padding:e.spacing(6),alignItems:"start",background:e.palette.background.grey,display:"flex",flexDirection:"column",width:"100%","& p":{fontSize:e.typography.pxToRem(14),[e.breakpoints.up("sm")]:{fontSize:e.typography.pxToRem(15)}}},sampleCoa:{paddingBottom:e.spacing(2)},downloadCoa:{paddingTop:e.spacing(4)},bodyText:{marginBottom:e.spacing(2)}})),l=e=>{let{children:t}=e,{classes:a}=s();return(0,n.jsx)("div",{className:a.bannerContainer,children:(0,n.jsxs)("div",{className:a.banner,children:[(0,n.jsx)(r.A,{variant:"h3",component:"h3",className:a.sampleCoa,children:(0,n.jsx)(i.A,{id:"NEED_SAMPLE_COA",defaultMessage:"Need A Sample COA?"})}),(0,n.jsx)(r.A,{variant:"body1",className:a.bodyText,children:(0,n.jsx)(i.A,{id:"SAMPLE_COA_MESSAGE",defaultMessage:"This is a sample Certificate of Analysis (COA) and may not represent a recently manufactured lot of this specific product."})}),(0,n.jsx)(r.A,{variant:"body1",className:a.downloadCoa,children:t})]})})}},28983:(e,t,a)=>{a.d(t,{A:()=>E});var n=a(37876),r=a(14232),o=a(69241),i=a(78206),s=a(11298),l=a(18608),u=a(50694),d=a(47160),c=a(28888),p=a(82897),m=a(78248);function _(){let e=(0,c._)(["\n query AutoCompleteCertificate($brand: String, $lotNumber: String, $productNumber: String, $term: String!, $type: String!) {\n getAutoCompleteCertificate(\n input: {brand: $brand, lotNumber: $lotNumber, productNumber: $productNumber, term: $term, type: $type}\n ) {\n term\n results {\n value\n count\n }\n }\n}\n "]);return _=function(){return e},e}let N={},f=(0,p.J1)(_());var g=a(79814);let b=(0,l.makeStyles)()(e=>({autoSuggestContainer:{position:"relative"},autoSuggest:{left:0,right:0,zIndex:1,position:"absolute",marginTop:e.spacing(2),maxHeight:268,overflowY:"auto"},autoSuggestItem:{fontSize:e.typography.pxToRem(14),paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),C=(e,t)=>{switch(t.type){case s.Ay.stateChangeTypes.mouseUp:case s.Ay.stateChangeTypes.blurInput:return{...t,inputValue:e.inputValue};default:return t}},T=e=>{let{value:t,onChange:a,rootClass:o,rootStyle:i,error:l,type:c,brand:p,productNumber:_,lotNumber:T,...O}=e,{classes:h,cx:E}=b(),y={brand:p,lotNumber:T,productNumber:_,term:t,type:c},[A,v]=function(e){let t={...N};return m._(f,t)}();(0,r.useEffect)(()=>{y.term.trim().length>0&&void 0!==c&&A({variables:y})},[t,A]);let{data:S}=v,[R,I]=(0,r.useState)("");return(0,n.jsx)(s.Ay,{id:"autocomplete-".concat(c),inputValue:t,onInputValueChange:e=>(I(e),a(e)),itemToString:()=>R||t,stateReducer:C,onChange:e=>(I(e.value),a(e.value)),children:e=>{let{getInputProps:t,getItemProps:a,getMenuProps:r,isOpen:s,inputValue:p,highlightedIndex:m}=e,{onChange:_,onKeyDown:N,...f}=t();return(0,n.jsxs)("div",{className:E({[String(o)]:!!o}),style:i,children:[(0,n.jsx)(g.A,{autoComplete:"off",inputProps:{...f},name:"".concat(c,"-input"),onChange:_,onKeyDown:N,value:p,error:l,...O}),s&&S&&S.getAutoCompleteCertificate&&(0,n.jsx)("div",{...r(),className:h.autoSuggestContainer,children:(0,n.jsx)(u.A,{square:!0,className:h.autoSuggest,children:S&&p&&p.length>=3&&S.getAutoCompleteCertificate.results&&S.getAutoCompleteCertificate.results.map((e,t)=>(0,n.jsx)(d.A,{...a({index:t,item:e}),component:"div",selected:t===m,className:h.autoSuggestItem,children:e.value},e.value))})})]})}})};var O=a(8133),h=a(42919);let E=e=>{let{rootClass:t,rootStyle:a,size:r="medium",field:s,form:l,help:u,type:d,placeholder:c,brand:p,productNumber:m,lotNumber:_,label:N,onChange:f,...g}=e,b=(0,i.O6)(l.errors,s.name),C=(0,i.O6)(l.touched,s.name),E=b&&C;return(0,n.jsxs)("div",{className:(0,o.A)({[String(t)]:t}),style:a,children:[N&&(0,n.jsx)(O.A,{htmlFor:"".concat(d,"-input"),size:r,error:E,children:N}),(0,n.jsx)(T,{id:d,...s,onChange:e=>{f&&f(e),l.setFieldValue(s.name,e.toUpperCase())},type:d,placeholder:c,brand:p,productNumber:m,lotNumber:_,error:!!E,"aria-describedby":(E||u)&&"".concat(d,"-help-text"),...g}),(E||u)&&(0,n.jsx)(h.A,{id:"".concat(d,"-help-text"),error:!!E,children:E?b:u||null})]})}},42002:(e,t,a)=>{a.d(t,{Jl:()=>c,Wb:()=>m,vc:()=>d});var n=a(28888);a(37876);var r=a(82897);a(14232);var o=a(54431);function i(){let e=(0,n._)(["\n fragment CertificateProduct on Product {\n name\n description\n brand {\n key\n name\n color\n logo {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n }\n productNumber\n molecularWeight\n linearFormula\n casNumber\n}\n "]);return i=function(){return e},e}function s(){let e=(0,n._)(["\n fragment TestSpecifications on TestSpec {\n name\n value\n result\n}\n "]);return s=function(){return e},e}function l(){let e=(0,n._)(["\n query SampleCertificateOfAnalysis($productNumber: String!, $brand: String) {\n getSampleCertificate(input: {productNumber: $productNumber, brand: $brand}) {\n ... on CertificateUrl {\n url\n streamData\n }\n ... on CertificateText {\n lotNumber\n brand\n testSpecifications {\n ...TestSpecifications\n }\n product {\n ...CertificateProduct\n }\n }\n }\n}\n ","\n",""]);return l=function(){return e},e}let u={},d=(0,r.J1)(i()),c=(0,r.J1)(s()),p=(0,r.J1)(l(),c,d);function m(e){let t={...u,...e};return o.IT(p,t)}},52822:(e,t,a)=>{a.d(t,{Uh:()=>l,VF:()=>s,ar:()=>c,lK:()=>u,z$:()=>d});var n=a(37876);a(14232);var r=a(8733),o=a(65103),i=a(69915);let s={[o.e_.Coa]:"CERTIFICATE_OF_ANALYSIS",[o.e_.Coo]:"CERTIFICATE_OF_ORIGIN",[o.e_.Coq]:"CERTIFICATE_OF_QUALITY"},l=e=>e?o.e_.Coq:o.e_.Coo,u=(e,t)=>{let a=new Blob([new Uint8Array(Array.from(e,e=>e.charCodeAt(0)))],{type:"application/pdf"}),n=URL.createObjectURL(a),r=document.createElement("a");r.href=n;let o=(null==t?void 0:t.replace(/\./g,"-"))||"download";r.setAttribute("download",o),r.click(),URL.revokeObjectURL(n)},d={[i.U_.CofAnalysisDoc]:{abbrev:o.e_.Coa,name:"Certificates of Analysis"},[i.U_.CofOriginDoc]:{abbrev:o.e_.Coo,name:"Certificates of Origin"},[i.U_.CofQualityDoc]:{abbrev:o.e_.Coq,name:"Certificates of Quality"}},c=e=>{switch(e){case o.ln.Coo:return{title:(0,n.jsx)(r.A,{id:"CERTIFICATE_OF_ORIGIN_COO",defaultMessage:"Certificates of Origin (COO)"}),instructions:(0,n.jsx)(r.A,{id:"PDP_COO_INSTRUCTIONS",defaultMessage:"Search for Certificates of Origin (COO) by entering the products Lot/Batch Number. Lot and Batch Numbers can be found on a product's label following the words 'Lot' or 'Batch'."}),productNumberLookaheadType:"cofo_product_number",lotNumberLookaheadType:"cofo_lot_number"};case o.ln.Coq:return{title:(0,n.jsx)(r.A,{id:"CERTIFICATES_OF_QUALITY_COQ",defaultMessage:"Certificates of Quality (COQ)"}),instructions:(0,n.jsx)(r.A,{id:"PDP_COQ_INSTRUCTIONS",defaultMessage:"Search for Certificates of Quality (COQ) by entering the products Lot/Batch Number. Lot and Batch Numbers can be found on a product's label following the words 'Lot' or 'Batch'."}),productNumberLookaheadType:"cofo_product_number",lotNumberLookaheadType:"coq_lot_number"};default:return{title:(0,n.jsx)(r.A,{id:"CERTIFICATE_OF_ANALYSIS_COA",defaultMessage:"Certificates of Analysis (COA)"}),instructions:(0,n.jsx)(r.A,{id:"PDP_COA_INSTRUCTIONS",defaultMessage:"Search for Certificates of Analysis (COA) by entering the products Lot/Batch Number. Lot and Batch Numbers can be found on a product's label following the words 'Lot' or 'Batch'."}),productNumberLookaheadType:"cofa_product_number",lotNumberLookaheadType:"cofa_lot_number"}}}},56288:(e,t,a)=>{a.d(t,{D:()=>n});let n=(0,a(35967).YK)({DOCUMENTATION_TABS_LABEL:{id:"DOCUMENTATION_TABS_LABEL",defaultMessage:"Search for product certificates by entering the products Lot/Batch Number."},LOT_BATCH_NUMBER:{id:"LOT_BATCH_NUMBER",defaultMessage:"Lot/Batch Number"},CANT_FIND_IT:{id:"CANT_FIND_IT",defaultMessage:"Can’t find it?"},CERT_NOT_FOUND:{id:"CERT_NOT_FOUND",defaultMessage:"In some cases, a {certType} may not be available online. If your search was unable to find the {certType} you can request one."},CERT_REQUEST:{id:"CERT_REQUEST",defaultMessage:"Request a {certType}"},FIND_LOT_NUMBER_SIGMA_1:{id:"FIND_LOT_NUMBER_SIGMA_1",defaultMessage:"Enter a “0” if only two numbers are in front of the letter e.g. 62K1064 - you will only find the COO if you enter 062K1064."},FIND_LOT_NUMBER_ALDRICH_1:{id:"FIND_LOT_NUMBER_ALDRICH_1",defaultMessage:"If you find a lot number such as TO09019TO - enter the lot number without the first two letters e.g. 09019TO."},FIND_LOT_NUMBER_ALDRICH_2:{id:"FIND_LOT_NUMBER_ALDRICH_2",defaultMessage:"If the lot number has a filling-code such as 05427ES-021 - enter the lot number without the filling-code -021 e.g. 05427ES."},FIND_LOT_NUMBER_ALDRICH_3:{id:"FIND_LOT_NUMBER_ALDRICH_3",defaultMessage:"If the lot number has a filling-code such as STBB0728K9 - enter the lot number STBB0728 without the filling-code K9."},FIND_LOT_NUMBER_MILLIPORE:{id:"FIND_LOT_NUMBER_MILLIPORE",defaultMessage:"EMD Millipore"},FIND_LOT_NUMBER_MILLIPORE_1:{id:"FIND_LOT_NUMBER_MILLIPORE_1",defaultMessage:"Lot and Batch Numbers can be found on a product’s label following the word."},FIND_LOT_NUMBER_MILLIPORE_2:{id:"FIND_LOT_NUMBER_MILLIPORE_2",defaultMessage:"Some lot numbers include an additional three characters that trail the primary lot number. If you have a lot of batch number such as this, do not include the three trailing characters when searching for a COA or COQ."},SAMPLE_LOT_BATCH_NUMBERS_IMG_ALT_TEXT:{id:"SAMPLE_LOT_BATCH_NUMBERS_IMG_ALT_TEXT",defaultMessage:"Product label examples that illustrate the locations of lot and batch numbers"}})},58689:(e,t,a)=>{a.d(t,{A:()=>E});var n=a(37876);a(14232);var r=a(8733),o=a(18608),i=a(77018),s=a(38554),l=a(65103),u=a(56288),d=a(21834);let c={heading:d.messages.SIGMA_PRODUCTS,listItems:[u.D.FIND_LOT_NUMBER_SIGMA_1]},p={heading:d.messages.ALDRICH_PRODUCTS,listItems:[u.D.FIND_LOT_NUMBER_ALDRICH_1,u.D.FIND_LOT_NUMBER_ALDRICH_2,u.D.FIND_LOT_NUMBER_ALDRICH_3]},m={heading:u.D.FIND_LOT_NUMBER_MILLIPORE,listItems:[u.D.FIND_LOT_NUMBER_MILLIPORE_1,u.D.FIND_LOT_NUMBER_MILLIPORE_2]},_={[l.e_.Coa]:[c,p,m],[l.e_.Coo]:[c,p,m],[l.e_.Coq]:[c,p,m]},N={bodyCopy:{id:"HOW_TO_ENTER_COO_COA_INSTRUCTIONS",defaultMessage:"Lot and Batch Numbers can be found on a product's label following the words 'Lot' or 'Batch'."}},f={heading:d.messages.ALDRICH_PRODUCTS,listItems:[d.messages.ENTER_WITHOUT_FIRST_TWO_LETTERS,d.messages.ENTER_WITHOUT_NUMERIC_FILLING_CODE,d.messages.ENTER_WITHOUT_ALPHA_NUMERIC_FILLING_CODE]},g={heading:d.messages.SIGMA_PRODUCTS,listItems:[d.messages.SIGMA_PRODUCTS_INSTRUCTIONS]},b={heading:d.messages.MILLIPORE_PRODUCTS,bodyCopy:d.messages.MILLIPORE_PRODUCTS_INSTRUCTIONS,link:!0},C={[l.e_.Coa]:[N,f],[l.e_.Coo]:[N,g,f],[l.e_.Coq]:[N,b]};var T=a(89996);let O=(0,o.makeStyles)()(e=>({bold:{fontWeight:e.typography.fontWeightMedium},list:{paddingLeft:e.spacing(4),"& li:not(:last-of-type)":{marginBottom:e.spacing(1)}},listLarge:{margin:e.spacing(0,0,0),paddingLeft:e.spacing(5),"& li:not(:last-of-type)":{marginBottom:e.spacing(2)}},vr1:{marginBottom:e.spacing(1)},vr4:{marginBottom:e.spacing(4)}})),h=e=>{let{section:t,isDialog:a,isAccordion:o,customerSupportLinkClicked:l}=e,{classes:u,cx:c}=O(),{heading:p,bodyCopy:m,listItems:_,link:N}=t,f=o?"body2":a?"body1":"body2",g=o?"body2":a?"h3":"body1";return(0,n.jsxs)("div",{className:u.vr4,children:[p&&(0,n.jsx)(i.A,{component:"h4",variant:g,className:c(u.vr1,!a&&u.bold,o&&u.bold),children:(0,n.jsx)(r.A,{...p})}),m&&N&&(0,n.jsx)("ul",{className:c(!a&&u.list,(a||o)&&u.listLarge),children:(0,n.jsx)("li",{children:(0,n.jsxs)(i.A,{variant:f,children:[(0,n.jsx)(r.A,{...m}),(0,n.jsx)(s.A,{onClick:()=>l?l("customer support link",{action:"contact customer support - how to find a lot/batch number for coq",component:"right rail",elementType:"link",elementText:"customer support",linkUrl:T.mA.customerSupport()}):null,href:T.mA.customerSupport(),children:(0,n.jsx)(r.A,{...d.default.CUSTOMER_SUPPORT})})]})})}),m&&!N&&(0,n.jsx)(i.A,{variant:f,children:(0,n.jsx)(r.A,{...m})}),_&&(0,n.jsx)("ul",{className:c(!a&&u.list,(a||o)&&u.listLarge),children:_.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(i.A,{variant:f,children:(0,n.jsx)(r.A,{...e})})},t))})]})},E=e=>{let{type:t,isDialog:a,isAccordion:r,customerSupportLinkClicked:o}=e;return(0,n.jsxs)(n.Fragment,{children:[!a&&_[t].map((e,t)=>(0,n.jsx)(h,{section:e,isDialog:a,isAccordion:r,customerSupportLinkClicked:o},t)),a&&C[t].map((e,t)=>(0,n.jsx)(h,{section:e,isDialog:a,isAccordion:r,customerSupportLinkClicked:o},t))]})}},60809:(e,t,a)=>{a.d(t,{Ay:()=>ei,u6:()=>Z,XK:()=>ee});var n=a(37876),r=a(14232),o=a(8733),i=a(77742),s=a(54821),l=a(18608),u=a(30566),d=a(77018),c=a(25628),p=a(78206),m=a(47801),_=a(99264),N=a(21140),f=a(42002),g=a(11934),b=a(89996),C=a(65103),T=a(84059),O=a(92636),h=a(21834),E=a(56951),y=a(52512),A=a(28983),v=a(81781),S=a(35152),R=a(17006),I=a(97471),x=a(77731),L=a(52822),U=a(38554),M=a(66383),j=a(69915);let D=(0,l.makeStyles)()(e=>({link:{fontSize:e.typography.pxToRem(16),color:e.palette.primary.main,fontWeight:900,textDecoration:"none","&:hover":{cursor:"pointer"}},infoIcon:{position:"relative",top:4,left:8,cursor:"pointer"},modalBodyContainer:{padding:e.spacing(4),[e.breakpoints.up("md")]:{padding:e.spacing(8)},height:150},modalHeading:{opacity:.64},btn:{whiteSpace:"nowrap"},coaInNotFoundModal:{marginBottom:e.spacing(4)}}));var B=function(e){return e.button="button",e.text="text",e}({});let w=e=>{let{linkType:t,props:a,data:s,client:l}=e,{classes:u}=D(),p=(0,i.A)(),{userSession:m}=(0,O.j)(),[_,N]=(0,r.useState)(!1),{setGlobalSnackbarState:f}=(0,y.W)(),[g,b]=(0,r.useState)(null),C=(e,t,a,n,r,o,i)=>{ee(e,"getSampleCertificate",a,n,!0,r,null,o,t,i)},T=e=>{C(e,a,p,f,s,m,b)};return(0,n.jsxs)(n.Fragment,{children:["button"===t&&(0,n.jsx)(c.A,{"data-testid":"view_sample_coa",id:"view_sample_coa",type:"submit",variant:"outlined",color:"primary",size:"large",className:u.btn,onClick:()=>{(0,S.sendProductDetailsEvent)(j.a_.ViewSampleCoa),T(l)},"aria-label":"Submit",children:p.formatMessage({id:"VIEW_SAMPLE_COA",defaultMessage:"View Sample COA"})}),"text"===t&&(0,n.jsxs)(d.A,{variant:"body2",className:u.coaInNotFoundModal,children:[(0,n.jsx)(U.A,{onClick:()=>{(0,S.sendProductDetailsEvent)(j.a_.ViewSampleCoa),(0,S.sendProductDetailsEvent)(j.a_.ViewSampleCOAError),T(l)},style:{cursor:"pointer"},children:(0,n.jsx)("a",{children:(0,n.jsx)(o.A,{id:"VIEW_A_SAMPLE_CERTIFICATE_OF_ANALYSIS",defaultMessage:"View a sample Certificate of Analysis (COA)"})})}),(0,n.jsx)("span",{children:". "}),(0,n.jsx)(o.A,{id:"MAY_NOT_REPRESENT_LOT",defaultMessage:"It may not represent a recently manufactured lot of this specific product."})]}),_&&(0,n.jsx)(M.A,{open:_,onClose:()=>N(!1),size:M.I.Small,renderTitle:()=>(0,n.jsx)(d.A,{variant:"h2",component:"h2",className:u.modalHeading,children:(0,n.jsx)(o.A,{id:"SAMPLE_COA_HEADER",defaultMessage:"SAMPLE COA"})}),children:(0,n.jsx)("div",{className:u.modalBodyContainer,children:(0,n.jsx)(o.A,{id:"SAMPLE_COA_INFO",defaultMessage:"This is a sample Certificate of Analysis (COA) and may not represent a recently manufactured lot of this specific product."})})}),(0,n.jsx)(R.A,{certificateType:a.type,open:!(0,I.A)(g),onClose:()=>b(null)})]})};var P=a(58689),k=a(90785);let F=(0,a(35967).YK)({HOW_TO_FIND_PRODUCT_NUMBER:{id:"HOW_TO_FIND_PRODUCT_NUMBER",defaultMessage:"How to Find the Product Number"},HOW_TO_FIND_LOT_NUMBER:{id:"HOW_TO_FIND_LOT_NUMBER",defaultMessage:"How to Find a Lot/Batch Number for {formType}"},HOW_TO_ENTER_PRODUCT_NUMBER:{id:"HOW_TO_ENTER_PRODUCT_NUMBER",defaultMessage:"How to Enter Product Number"},HOW_TO_ENTER_LOT_NUMBER:{id:"HOW_TO_ENTER_LOT_NUMBER",defaultMessage:"How to enter Lot Number"},HOW_TO_ENTER_A_PRODUCT_NUMBER:{id:"HOW_TO_ENTER_A_PRODUCT_NUMBER",defaultMessage:"How to enter a Product Number?"},HOW_TO_ENTER_PRODUCT_NUMBER_EXAMPLE:{id:"HOW_TO_ENTER_PRODUCT_NUMBER_EXAMPLE",defaultMessage:"Product numbers are combined with Pack Sizes/Quantity when displayed on the website (example: T1503-25G). Please make sure you enter "},HOW_TO_ENTER_PRODUCT_NUMBER_INSTRUCTIONS_TEXT:{id:"HOW_TO_ENTER_PRODUCT_NUMBER_INSTRUCTIONS_TEXT",defaultMessage:"ONLY the product number in the Product Number field"},HOW_TO_ENTER_PRODUCT_NUMBER_TEXT:{id:"HOW_TO_ENTER_PRODUCT_NUMBER_TEXT",defaultMessage:"Below are other examples. For assistance contact"},HOW_TO_ENTER_COA:{id:"HOW_TO_ENTER_COA",defaultMessage:"How to enter a Lot Number for COA?"},HOW_TO_ENTER_COO:{id:"HOW_TO_ENTER_COO",defaultMessage:"How to enter a Lot Number for COO?"},HOW_TO_ENTER_COO_COA_INSTRUCTIONS:{id:"HOW_TO_ENTER_COO_INSTRUCTIONS",defaultMessage:"Lot and Batch Numbers can be found on a product's label following the words 'Lot' or 'Batch'."},HOW_TO_ENTER_COQ:{id:"HOW_TO_ENTER_COQ",defaultMessage:"How to enter a Lot Number for COQ?"},HOW_TO_UNKNOWN:{id:"HOW_TO_UNKNOWN",defaultMessage:"Unable to load 'how to' instructions. Please contact support if you need additional help."}});var H=a(6995),W=a(71538),$=a(5612),q=a(56288);let V=(0,l.makeStyles)()(e=>({root:{backgroundColor:e.palette.background.grey,marginTop:e.spacing(6),padding:e.spacing(4),[e.breakpoints.up("md")]:{padding:e.spacing(4,8)}},bold:{fontWeight:e.typography.fontWeightBold},divider:{backgroundColor:e.palette.grey[400],margin:e.spacing(6,0)},vr2:{marginBottom:e.spacing(2)},vr4:{marginBottom:e.spacing(4)}})),z=e=>{let{type:t,isDialog:a}=e,{classes:r,cx:i}=V(),s=(0,u.A)(),l=!0===(0,H.A)(s.breakpoints.up("md")),p=a?"body1":"body2",m=a?"h3":"body1";return(0,n.jsxs)(n.Fragment,{children:[!a&&(0,n.jsxs)("div",{className:r.root,children:[!l&&(0,n.jsx)(d.A,{component:"h4",variant:m,className:i(r.bold,r.vr2),children:(0,n.jsx)(o.A,{...q.D.CANT_FIND_IT})}),(0,n.jsx)(d.A,{component:"p",variant:p,className:r.vr2,children:(0,n.jsx)(o.A,{...q.D.CERT_NOT_FOUND,values:{certType:t}})}),!l&&(0,n.jsx)(W.A,{className:r.divider}),!l&&(0,n.jsx)(c.A,{size:"large",variant:"outlined",color:"primary",fullWidth:!0,"data-testid":"",href:b.mA.customerSupport(),children:(0,n.jsx)(o.A,{...q.D.CERT_REQUEST,values:{certType:t}})}),l&&(0,n.jsx)($.N,{href:b.mA.customerSupport(),passHref:!0,children:(0,n.jsx)(U.A,{variant:p,className:r.bold,children:(0,n.jsx)(o.A,{...q.D.CERT_REQUEST,values:{certType:t}})})})]}),a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.A,{component:"h4",variant:m,className:r.vr2,children:(0,n.jsx)(o.A,{...h.default["".concat(t,"_NOT_FOUND")]})}),(0,n.jsxs)(d.A,{variant:p,children:[t===C.e_.Coa&&(0,n.jsx)(o.A,{id:"COO_NOT_FOUND_INSTRUCTIONS",defaultMessage:"In some cases, a COO may not be available online. If your search was unable to find the COO you can {requestACooLink}. In many cases a COO can be faxed to you upon submission of this form.",values:{requestACoaLink:(0,n.jsx)($.N,{href:b.mA.customerSupport(),children:(0,n.jsx)("a",{children:(0,n.jsx)(o.A,{id:"REQUEST_A_COA",defaultMessage:"request a COA"})})})}}),t===C.e_.Coo&&(0,n.jsx)(o.A,{id:"COO_NOT_FOUND_INSTRUCTIONS",defaultMessage:"In some cases, a COO may not be available online. If your search was unable to find the COO you can {requestACooLink}. In many cases a COO can be faxed to you upon submission of this form.",values:{requestACooLink:(0,n.jsx)($.N,{href:b.mA.customerSupport(),children:(0,n.jsx)("a",{children:(0,n.jsx)(o.A,{...h.default.REQUEST_A_COO})})})}}),t===C.e_.Coq&&(0,n.jsx)(o.A,{...h.default.COQ_NOT_FOUND_INSTRUCTIONS})]})]})]})},Q=(0,l.makeStyles)()(e=>({modalTrigger:{fontSize:e.typography.pxToRem(16),cursor:"pointer"},modalBody:{flex:1,overflowY:"scroll",padding:e.spacing(4),[e.breakpoints.up("md")]:{padding:e.spacing(8,8,12)}}})),K=e=>{let{type:t}=e,{formatMessage:a}=(0,i.A)(),{classes:s}=Q(),[l,u]=(0,r.useState)(!1),c=String(t).toLowerCase(),p=String(t).toUpperCase(),m=h.default[p]?"(".concat(a(h.default[p]),")"):"",_=F["HOW_TO_ENTER_".concat(p)]||F.HOW_TO_UNKNOWN;return(0,r.useEffect)(()=>{t===C.e_.Coo&&l&&(0,S.sendProductDetailsEvent)(j.a_.HowToEnterLotCoo)},[l]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(k.A,{size:k.e.Large,onClick:()=>u(!0),children:[a({id:"HOW_TO_ENTER_LOT_NUMBER",defaultMessage:"How to enter Lot Number"})," ",m]}),l?(0,n.jsx)(M.A,{open:!0,size:M.I.Large,onClose:()=>u(!1),"aria-labelledby":"how-to-enter-".concat(c),renderTitle:()=>(0,n.jsx)(d.A,{component:"h2",variant:"h2",children:(0,n.jsx)(o.A,{..._})}),children:(0,n.jsxs)("div",{className:s.modalBody,children:[(0,n.jsx)(P.A,{type:t,isDialog:!0}),(0,n.jsx)(z,{type:t,isDialog:!0})]})}):null]})};var G=a(62222),J=a(10746),Y=a(21927);let X=(0,l.makeStyles)()(e=>({sampleQueryLinkContainer:{marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginTop:e.spacing(0),marginLeft:e.spacing(4),paddingLeft:e.spacing(4),borderLeft:"solid 1px ".concat(e.palette.grey[400])}},titleContainer:{display:"block",marginBottom:e.spacing(1),[e.breakpoints.up("sm")]:{display:"flex",alignItems:"center"}},title:{paddingBottom:e.spacing(2)},submitButton:{width:"100%",[e.breakpoints.up("sm")]:{width:"auto"}},instructions:{fontSize:e.typography.pxToRem(14),[e.breakpoints.up("sm")]:{fontSize:e.typography.pxToRem(16)}},vr2:{marginBottom:e.spacing(2)},vr4:{marginBottom:e.spacing(4)},vr6:{marginBottom:e.spacing(6)},lotMessages:{fontSize:e.typography.pxToRem(14),marginBottom:e.spacing(6)},advancedSearch:{display:"flex",flexDirection:"column",fontSize:e.typography.pxToRem(16),gap:4,marginBottom:e.spacing(4),marginTop:e.spacing(2),[e.breakpoints.up("sm")]:{flexDirection:"row"}},expandedLayout:{backgroundColor:e.palette.common.white,border:"1px solid ".concat(e.palette.grey[400]),borderRadius:e.shape.borderRadius,padding:e.spacing(4,4,0),[e.breakpoints.up("md")]:{padding:e.spacing(6,6,0)},[e.breakpoints.down("lg")]:{border:"0px",padding:e.spacing(0,0,0)}},divider:{backgroundColor:e.palette.grey[400],margin:e.spacing(6,0,4)},bodyText:{marginBottom:e.spacing(2)},formMargin:{marginBottom:e.spacing(6)}})),Z=async(e,t,a,r,i,s,l)=>{try{let{unit:n,owner:r}=t.text||{},o=(null==a?void 0:a.productNumber)||(null==t?void 0:t.productNumber);s(!0);let{errors:i,data:l}=await e.query({query:g.ym,variables:{input:{unit:n,owner:r,term:o,type:t.type,lotnumber:null==a?void 0:a.lotNumber}}});if(i||!l||l.error)throw Error();(0,L.lK)(l.pdfDownload,o),s(!1),(0,S.sendSearchCertificatesEvent)({section:t.type,productNumber:null==a?void 0:a.productNumber,lotNumber:null==a?void 0:a.lotNumber})}catch(e){var u;(0,S.sendErrorEvent)({description:"".concat(null===(u=t.type)||void 0===u?void 0:u.toLowerCase()," not found"),errorCategory:"file download errors",productId:(null==a?void 0:a.sku)||(null==a?void 0:a.productNumber),lotNumber:null==a?void 0:a.lotNumber}),s(!1),(t.type===C.e_.Coa||t.type===C.e_.Coo)&&l?l(t.type):i({open:!0,message:r.formatMessage({id:"NO_PRODUCT_DOC_ONLINE",defaultMessage:"In some cases, our product documentation may not be available online. Please {contactUs} to request a copy."},{contactUs:(0,n.jsx)(G.N,{href:b.mA.customerSupport(),children:(0,n.jsx)(o.A,{id:"CONTACT_US_LOWERCASE",defaultMessage:"contact us"})})}),variant:y.m$.Error})}},ee=async(e,t,a,r,i,s,l,u,d,c,p)=>{var m,_,N,f,g,O,h,E,A,v,R,I,x,L;try{let a=(s||l&&await e.query(l).then(e=>{let{data:t}=e;return t}))[t];if(a.streamData){let e=new Uint8Array(a.streamData.length);for(let t=0;t{if(200===r.status)(0,S.sendViewSampleCOAEvent)({fileExtension:"pdf",fileName:(null==e?void 0:e.substring(0,e.length-4))||null,productId:t,linkUrl:a.url||null});else{var o;(0,S.sendErrorEvent)({description:"".concat(null===(o=d.type)||void 0===o?void 0:o.toLowerCase()," not found"),errorCategory:"file download errors",productId:t,lotNumber:n})}})}window.open(a.url,"_blank")}else if(a.testSpecifications){let e=i?b.Or:b.Ce,n=(0,T.xS)(u,e.index(null!==(R=null!==(v=null==a?void 0:null===(O=a.product)||void 0===O?void 0:null===(g=O.brand)||void 0===g?void 0:g.key)&&void 0!==v?v:null==a?void 0:a.brand)&&void 0!==R?R:"",(null==l?void 0:null===(h=l.variables)||void 0===h?void 0:h.productNumber)||d.productNumber||"",a.lotNumber));"getSampleCertificate"!==t&&(0,S.sendSearchCertificatesEvent)({section:d.type,productNumber:(null==l?void 0:null===(E=l.variables)||void 0===E?void 0:E.productNumber)||d.productNumber||"",lotNumber:(null==l?void 0:null===(A=l.variables)||void 0===A?void 0:A.lotNumber)||"",linkUrl:n.as}),i&&"getSampleCertificate"===t&&(0,S.sendViewSampleCOAEvent)({fileExtension:"html",fileName:(null==l?void 0:null===(I=l.variables)||void 0===I?void 0:I.lotNumber)||(null==a?void 0:a.lotNumber)||null,productId:(null==l?void 0:null===(x=l.variables)||void 0===x?void 0:x.productNumber)||d.productNumber||null,linkUrl:"".concat(n.as)||null}),window.open(n.as,"_blank")}else throw Error()}catch(e){"getSampleCertificate"!==t&&(0,S.sendErrorEvent)({description:"".concat(null===(L=d.type)||void 0===L?void 0:L.toLowerCase()," not found"),errorCategory:"file download errors",productId:(null==p?void 0:p.sku)||(null==p?void 0:p.productNumber),lotNumber:null==p?void 0:p.lotNumber}),d.type===C.e_.Coa||d.type===C.e_.Coo?c(d.type):r({open:!0,message:a.formatMessage({id:"NO_PRODUCT_DOC_ONLINE",defaultMessage:"In some cases, our product documentation may not be available online. Please {contactUs} to request a copy."},{contactUs:(0,n.jsx)(G.N,{href:b.mA.customerSupport(),children:(0,n.jsx)(o.A,{id:"CONTACT_US_LOWERCASE",defaultMessage:"contact us"})})}),variant:y.m$.Error})}},et=e=>"".concat(e[0],".").concat(e.slice(1,6)),ea=e=>{let t=e.trim();return/^[a-zA-Z]|[^0-9]|[-_/]|[.]/.test(t)?t:et(t)},en=async(e,t,a,r,i,s,l,u,d)=>{let c=t.type===C.e_.Coa,p=j.L[t.type],m=ea(s.productNumber||t.productNumber||""),f=c&&"CERILLIAN"===t.brandKey?"CERILLIANT":t.brandKey||"",g={query:c?_.ij:N.iV,variables:{productNumber:m,lotNumber:s.lotNumber.trim(),documentType:p,brand:f}},T=c?"getCertificateOfAnalysis":"getCertificateOfOrigin";try{let{data:n}=await e.query({query:g.query,variables:{productNumber:g.variables.productNumber,lotNumber:g.variables.lotNumber,documentType:g.variables.documentType,count:1,sendLotNumber:!0}}),{owner:o,unit:d,source:p}=n[T];if("GDI"===p&&s){let n=(null==s?void 0:s.productNumber)||(null==t?void 0:t.productNumber);"MDA"===o&&"CHEM"===d&&s.sku&&(n=s.sku);let r=Object.assign({},t,{productNumber:n,text:{owner:o,unit:d}});Z(e,r,s,a,i,u,l)}else"GDI"!==p&&t.isBlueProduct?Z(e,t,s,a,i,u,l):ee(e,T,a,i,c,void 0,g,r,t,l,s)}catch(e){var O;(0,S.sendErrorEvent)({description:"".concat(null===(O=t.type)||void 0===O?void 0:O.toLowerCase()," not found"),errorCategory:"file download errors",productId:(null==s?void 0:s.sku)||(null==s?void 0:s.productNumber),lotNumber:null==s?void 0:s.lotNumber}),u(!1),(t.type===C.e_.Coa||t.type===C.e_.Coo)&&l?l(t.type):i({open:!0,message:a.formatMessage({id:"NO_PRODUCT_DOC_ONLINE",defaultMessage:"In some cases, our product documentation may not be available online. Please {contactUs} to request a copy."},{contactUs:(0,n.jsx)(G.N,{href:b.mA.customerSupport(),children:(0,n.jsx)(o.A,{id:"CONTACT_US_LOWERCASE",defaultMessage:"contact us"})})}),variant:y.m$.Error})}finally{d(!1)}},er=(e,t,a,n,r,o,i)=>(s,l)=>{let{setSubmitting:u}=l;en(e,t,a,n,r,s,o,i,u)},eo=(e,t,a)=>{let n={};return e.lotNumber.trim()||(n.lotNumber=t.formatMessage(h.default.PLEASE_ENTER_LOT_BATCH_NUMBER)),e.productNumber.trim()||(n.productNumber=t.formatMessage(h.default.PLEASE_ENTER_PRODUCT_NUMBER)),a.showSkuInput&&!e.sku.trim()&&(n.sku=t.formatMessage(h.default.MUST_ENTER_SKU)),n},ei=e=>{let[t,a]=(0,r.useState)(!1),[l,_]=(0,r.useState)(null),N=(0,i.A)(),{classes:g,cx:T}=X(),S=(0,u.A)(),{userSession:U}=(0,O.j)(),{setGlobalSnackbarState:M}=(0,y.W)(),{lotNo:j,productNo:D}=(0,b.rd)().query,[P,k]=(0,r.useState)(null),F=e.type===C.e_.Coa?E.Wc.CofAProduct:E.Wc.CofOProduct,H=e.type===C.e_.Coa?E.Wc.CofALot:e.type===C.e_.Coq?E.Wc.CoqLot:E.Wc.CofOLot,{data:W}=(0,f.Wb)({variables:{productNumber:e.productNumber||"",brand:e.brandKey||""},skip:(0,J.S)()||e.dontShowSampleLink});(0,r.useEffect)(()=>{let e=m.localStorage.getItem("pdpProductNumber");e&&(_(e),m.localStorage.removeItem("pdpProductNumber"))},[]);let $=()=>e.options&&e.options.length?e.options.map(e=>({label:e,value:e})):[],q=e=>L.VF[e],V=e.type===C.e_.Coa&&!!e.productNumber&&(null==W?void 0:W.getSampleCertificate),z=(t,a)=>(0,n.jsx)(d.A,{variant:"body2",style:{color:a?S.palette.error.main:S.palette.common.black},children:(0,n.jsxs)("b",{children:[e.allFieldsRequired&&"* ",(0,n.jsx)(o.A,{...h.default[t]})]})});return(0,n.jsx)(s.Y,{children:r=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:g.titleContainer,children:(0,n.jsx)(d.A,{variant:"h3",className:g.title,children:e.title})}),e.isExpandedLayout&&(0,n.jsx)(d.A,{variant:"body2",className:g.vr4,children:(0,n.jsx)(o.A,{id:"CERT_SUMMARY",defaultMessage:"Search for {certName} by entering the products Lot/Batch Number. Lot and Batch Numbers can be found on a product’s label following the words ‘Lot’ or ‘Batch’.",values:{certName:e.title}})}),!e.isExpandedLayout&&!e.instructions&&(0,n.jsxs)(n.Fragment,{children:[!e.productInput&&(0,n.jsx)(d.A,{variant:"body2",className:g.vr4,children:N.formatMessage(h.default["ENTER_".concat(e.type)])}),e.showSkuInput&&e.options&&(0,n.jsxs)(d.A,{variant:"body2",className:g.vr4,children:[(0,n.jsx)(o.A,{...h.default.SELECT_PRODUCT_NUMBER_AND_ENTER_LOT_NUMBER})," ",N.formatMessage(h.default["".concat(q(e.type))])," ","(",N.formatMessage(h.default["".concat(e.type)]),")"]}),!e.showSkuInput&&e.productInput&&(0,n.jsx)(d.A,{variant:"body2",className:g.vr4,children:(0,n.jsx)(o.A,{...h.default.ENTER_PRODUCT_AND_LOT_NUMBER})})]}),(0,n.jsxs)("div",{className:T(e.isExpandedLayout&&g.expandedLayout),children:[(0,n.jsx)(p.l1,{enableReinitialize:!0,initialValues:{lotNumber:e.lotNumber||j||"",productNumber:l||e.productNumber||D||"",sku:""},onSubmit:er(r,e,N,U,M,k,a),validateOnBlur:!1,validateOnChange:!1,validate:t=>eo(t,N,e),children:a=>(0,n.jsx)(p.lV,{"data-testid":"".concat(e.type,"-form"),className:g.formMargin,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:e.instructions?g.vr6:g.vr2,children:[e.instructions&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.A,{className:T(g.vr4,g.instructions),children:e.instructions}),(0,n.jsx)(d.A,{variant:"body2",className:g.vr4,children:(0,n.jsx)(o.A,{...h.default.INDICATES_REQUIRED_FIELD})})]}),e.showSkuInput&&e.options?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(p.D0,{name:"sku",label:z("PRODUCT_NUMBER",a.errors.sku),component:x.A,brand:e.brandKey,inputProps:{autoComplete:"off"},options:$(),displayEmpty:!0,renderValue:e=>""!==e?e:N.formatMessage(h.default.SELECT_A_PRODUCT_NUMBER)})}):(0,n.jsx)(n.Fragment,{children:e.productInput&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:g.vr2,children:(0,n.jsx)(p.D0,{name:"productNumber",label:z("PRODUCT_NUMBER",a.errors.productNumber),filled:!0,component:A.A,placeholder:"e.g. T1503",brand:e.brandKey,inputProps:{autoComplete:"off"},type:F})})})})]}),(0,n.jsx)("div",{className:g.vr6,children:(0,n.jsx)(p.D0,{name:"lotNumber",label:z("LOT_BATCH_NUMBER",a.errors.lotNumber),component:A.A,placeholder:"e.g. 023J5431",filled:!0,brand:e.brandKey,productNumber:a.values.productNumber.trim(),type:H,inputProps:{"data-testid":"".concat(H,"-input"),autoComplete:"off"},onChange:e.onChangeLotNumber})}),(0,n.jsx)("div",{className:g.vr4,children:!e.isExpandedLayout&&!e.instructions&&(0,n.jsx)(K,{type:e.type,productNumber:e.productNumber})}),(0,n.jsx)(c.A,{"data-testid":"".concat(H,"-submit"),id:"".concat(H,"-submit"),type:"submit",variant:"contained",color:"primary",size:"large",className:g.submitButton,disabled:a.isSubmitting||t,"aria-label":"Submit",children:(0,n.jsx)(o.A,{...h.default.SEARCH})})]})})}),V&&e.isExpandedLayout&&(0,n.jsx)(Y.A,{children:(0,n.jsx)(w,{linkType:B.button,props:e,data:W,client:r})})]}),(0,n.jsx)(R.A,{certificateType:e.type,open:!(0,I.A)(P),onClose:()=>k(null),children:V&&(0,n.jsx)(w,{linkType:B.text,props:e,data:W,client:r})}),t&&(0,n.jsx)(v.A,{})]})})}},76689:(e,t,a)=>{a.d(t,{TV:()=>d,b0:()=>c});var n=a(28888);a(37876);var r=a(82897);a(14232);var o=a(54431),i=a(78248);function s(){let e=(0,n._)(["\n query SdsCertificateSearch($productNumber: String!, $brand: String) {\n getSdsCertificateSearch(input: {productNumber: $productNumber, brand: $brand}) {\n locale\n region\n productNumber\n sds {\n languages {\n primaryLanguage\n altLanguages\n }\n brand\n }\n brands\n }\n}\n "]);return s=function(){return e},e}let l={},u=(0,r.J1)(s());function d(e){let t={...l,...e};return o.IT(u,t)}function c(e){let t={...l,...e};return i._(u,t)}},99264:(e,t,a)=>{a.d(t,{Kx:()=>N,e_:()=>f,ij:()=>_});var n=a(28888),r=a(37876),o=a(82897);a(14232);var i=a(54431),s=a(56057);function l(){let e=(0,n._)(["\n fragment CertificateProduct on Product {\n name\n description\n brand {\n key\n name\n color\n logo {\n altText\n smallUrl\n mediumUrl\n largeUrl\n }\n }\n productNumber\n molecularWeight\n linearFormula\n casNumber\n}\n "]);return l=function(){return e},e}function u(){let e=(0,n._)(["\n fragment TestSpecifications on TestSpec {\n name\n value\n result\n}\n "]);return u=function(){return e},e}function d(){let e=(0,n._)(["\n query CertificateOfAnalysis($productNumber: String!, $lotNumber: String!, $brand: String, $count: Int, $sendLotNumber: Boolean) {\n getCertificateOfAnalysis(\n input: {productNumber: $productNumber, lotNumber: $lotNumber, brand: $brand, count: $count, sendLotNumber: $sendLotNumber}\n ) {\n ... on CertificateUrl {\n url\n streamData\n }\n ... on CertificateText {\n brand\n lotNumber\n signatureUrl\n testSpecifications {\n ...TestSpecifications\n }\n product {\n ...CertificateProduct\n }\n owner\n unit\n source\n }\n }\n}\n ","\n",""]);return d=function(){return e},e}let c={},p=(0,o.J1)(l()),m=(0,o.J1)(u()),_=(0,o.J1)(d(),m,p),N=e=>(0,r.jsx)(s.X,{query:_,...e});function f(e){let t={...c,...e};return i.IT(_,t)}}}]); //# sourceMappingURL=./2267-b61975433e81ef72.js.map