1/*! For license information please see 6820.chunk.251eead64b4940b286e3.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunknitro5_app=globalThis.webpackChunknitro5_app||[]).push([[6820],{96820(e,t,a){a.d(t,{default:()=>p});var i=a(63696),n=a(28815),l=a(97760),o=a(56991),c=a(30561),r=a(10774),u=a(39879),d=a(91511),m=a(31678),s=a(95082),v=a(2724),g=a(55692),h=a(36435),E=a(50068);function p(e){var t,a,l,r;const[u,d]=(0,i.useState)(""),{disallowedEmailDomains:E,organizationNumbers:p}=(0,m.d)(e=>e.appShellData.countrySettings.registrationLimitSettings),{state:Y,actions:A}=(0,o.Q5)(),S=i.createElement(C,null,i.createElement(s.Ed,{html:null===(t=e.viewData.description)||void 0===t?void 0:t.html})),V=!!(null===(a=Y.checkoutData.checkoutViewData.organization)||void 0===a?void 0:a.invoiceEmail)&&(null===(l=Y.checkoutData.checkoutViewData.organization)||void 0===l?void 0:l.isEmailInvoice);return i.createElement(n.A,Object.assign({},e),V?i.createElement(i.Fragment,null,i.createElement(D,null,S,i.createElement(b,null,Y.checkoutData.checkoutViewData.organization.invoiceEmail),i.createElement(z,null,(0,c.TlY)("/Checkout/ChangeInvoicePdfEmail")))):i.createElement(i.Fragment,null,(null===(r=Y.checkoutData.checkoutViewData.organization)||void 0===r?void 0:r.iseInvoice)?i.createElement(D,{css:T},(0,c.TlY)("/Checkout/ElectronicInvoice")):i.createElement(D,null,S,i.createElement(w,null,i.createElement(k,{preferFramed:!0,form:v.g,uncontrolled:!0,placeholder:(0,c.TlY)("/Checkout/InvoicePdfEmailPlaceholder"),value:Y.checkoutData.additional.pdfInvoiceEmail,name:"email",setValidationMessage:u,onBlur:e=>{const t=(e=>{var t;const a=null===(t=Y.checkoutData.checkoutViewData.organization)||void 0===t?void 0:t.organizationNumber;if(a&&p.some(e=>null==a?void 0:a.startsWith(e))&&E.some(t=>null==e?void 0:e.endsWith(t)))return d((0,c.TlY)("/Account/Registration/DisallowedEmailDomain",E.join(", "))),!1;return!0})(e.currentTarget.value);t&&d(""),A.setAdditionalData({pdfInvoiceEmail:e.currentTarget.value})},required:e.isInvoiceEmailMandatory})))),i.createElement(D,null,i.createElement(I,null,i.createElement(h.A,null))),i.createElement(f,null,i.createElement(g.A,null)))}const k=(0,r.I4)(d.A,E.FZ),D=r.I4.div({paddingLeft:({isCompact:e})=>e?0:28,paddingRight:e=>e.isCompact?"auto":"75px"}),I=r.I4.div({margin:{top:u.Y}}),f=r.I4.div({paddingLeft:({isCompact:e})=>e?0:28}),w=(0,r.I4)(l.LB,{padding:{top:u.Y}}),C=r.I4.div({fontSize:u.pU,width:e=>e.isCompact?"auto":"100%",flexGrow:1}),b=r.I4.div({fontWeight:"bold",margin:{y:u.EX}}),z=r.I4.div({marginBottom:u.Y,fontStyle:"italic"}),T={marginBottom:u.Y}}}]); 3//# sourceMappingURL=6820.chunk.251eead64b4940b286e3.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.