1/*! For license information please see src_components_shared_DunsLookup_DunsLookupLayout_tsx-src_components_shared_DunsLookup_DunsSh-3c9678.aef7a397800435c5fc75.js.LICENSE.txt */ 2"use strict";(self.webpackChunkmarketplace_portal_ui=self.webpackChunkmarketplace_portal_ui||[]).push([["src_components_shared_DunsLookup_DunsLookupLayout_tsx-src_components_shared_DunsLookup_DunsSh-3c9678"],{43329(e,t,r){r.d(t,{A:()=>d}),r(96540);var n=r(56347),o=r(59635),a=r(60747),i=r(35077),s=r(52013),c=r(74848);const l=function(e){var t=e.color,r=void 0===t?"black":t;return(0,c.jsx)("svg",{width:"10",height:"9",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 4.5C9.5 4.91421 9.16421 5.25 8.75 5.25L2.56066 5.25L5.03033 7.71967C5.32322 8.01256 5.32322 8.48744 5.03033 8.78033C4.73744 9.07322 4.26256 9.07322 3.96967 8.78033L0.219669 5.03033C-0.0732231 4.73744 -0.0732231 4.26256 0.219669 3.96967L3.96967 0.21967C4.26256 -0.0732233 4.73744 -0.0732233 5.03033 0.21967C5.32322 0.512563 5.32322 0.987437 5.03033 1.28033L2.56066 3.75L8.75 3.75C9.16421 3.75 9.5 4.08579 9.5 4.5Z",fill:r})})};var u=r(26724);const p=function(e){var t=e.text,r=void 0===t?"Back":t,n=e.onClick,o=e.className,a=void 0===o?"":o;return(0,c.jsx)("div",{className:"flex flex-col items-center gap-6 self-stretch ".concat(a),children:(0,c.jsxs)("div",{className:"flex items-center gap-2 cursor-pointer",onClick:n,role:"button",tabIndex:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||null==n||n()}
2,children:[(0,c.jsx)(l,{color:u.A.DARK_BLUE}),(0,c.jsx)("span",{className:"text-hover-color text-center font-avenirProLight font-550 leading-[110%] border-b border-hover-color",children:r})]})})},d=function(e){var t=e.leftContent,r=e.rightContent,l=e.children,u=e.showBackButton,d=void 0!==u&&u,m=e.errorContent,f=void 0===m?null:m,w=e.isLoading,h=void 0!==w&&w,y=e.backUrl,g=(0,n.W6)();(0,s.B)("en-us");var v=(0,c.jsxs)("div",{className:"flex flex-col gap-[1.5rem] items-center lg:items-start max-w-[31.25rem] md:max-w-[31.25rem] lg:max-w-[64.25rem] w-full mx-auto",children:[(0,c.jsxs)("div",{className:"flex flex-col lg:flex-row gap-[1.5rem] lg:gap-[1.875rem] self-stretch w-full items-center lg:items-stretch lg:justify-between",children:[(0,c.jsx)("div",{className:"flex flex-col flex-1 min-w-0 gap-4 md:gap-6 w-full lg:max-w-[31.25rem]",children:t}),(0,c.jsxs)("div",{className:"flex flex-col flex-1 min-w-0 gap-[1.875rem] w-full lg:max-w-[31.25rem]",children:[f&&f,(0,c.jsx)("div",{className:"flex flex-col p-8 md:p-[4rem] items-end gap-[0.625rem] rounded-[2rem] border border-country-border-color bg-white shadow-lookup-box-shadow w-full",children:(0,c.jsx)("div",{className:"w-full text-left",children:r})})]})]}),l&&(0,c.jsx)("div",{className:"w-full flex flex-col gap-[1.5rem] items-center justify-center",children:l}),d&&(0,c.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,c.jsx)(p,{onClick:function(){y?(y.includes("".concat(i.ws.lookup,"?"))&&(0,a.MF)("Business Search Back button"),g.push(y)):g.goBack()}})})]});return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.A,{isLoading:h}),(0,c.jsx)("div",{className:"flex flex-col items-center font-avenirProLight bg-lookup-bg min-h-[calc(100vh-4rem)] pt-[3.75rem] md:pt-[7.25rem] pb-8 px-4 md:px-8",children:v})]})}},15826(e,t,r){r.d(t,{t:()=>c});var n=r(75419),o=r(40358);function a(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function s(r,n,o,a){var s=n&&n.prototype instanceof l?n:l,u=Object.create(s.prototype);return i(u,"_invoke",function(r,n,o){var a,i,s,l=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,r){return a=t,i=0,s=e,d.n=r,c}};function m(r,n){for(i=r,s=n,t=0;!p&&l&&!o&&t<u.length;t++){var o,a=u[t],m=d.p,f=a[2];r>3?(o=f===n)&&(s=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=m&&((o=r<2&&m<a[1])?(i=0,d.v=n,d.n=a[1]):m<f&&(o=r<3||a[0]>n||n>f)&&(a[4]=r,a[5]=n,d.n=f,i=0))}if(o||r>1)return c;throw p=!0,n}return function(o,u,f){if(l>1)throw TypeError("Generator is already running");for(p&&1===u&&m(u,f),i=u,s=f;(t=i<2?e:s)||!p;){a||(i?i<3?(i>1&&(d.n=-1),m(i,s)):d.n=s:d.v=s);try{if(l=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(p=d.n<0)?s:r.call(n,d))!==c)break}catch(t){a=e,i=1,s=t}finally{l=1}}return{value:t,done:p}}}(r,o,a),!0),u}var c={};function l(){}function u(){}function p(){}t=Object.getPrototypeOf;var d=[][n]?t(t([][n]())):(i(t={},n,function(){return this}),t),m=p.prototype=l.prototype=Object.create(d);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,i(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e}return u.prototype=p,i(m,"constructor",p),i(p,"constructor",u),u.displayName="GeneratorFunction",i(p,o,"GeneratorFunction"),i(m),i(m,o,"Generator"),i(m,n,function(){return this}),i(m,"toString",function(){return"[object Generator]"}),(a=function(){return{w:s,m:f}})()}function i(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}i=function(e,t,r,n){function a(t,r){i(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},i(e,t,r,n)}function s(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}var c=function(){var e,t=(e=a().m(function e(){var t;return a().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,(0,n.qk)();case 1:return t=e.v,e.a(2,{countryCode:(0,o.E8)(null==t?void 0:t.country_code),idaasUUID:null==t?void 0:t.idaasUUID});case 2:return e.p=2,e.v,e.a(2,{countryCode:"",idaasUUID:""})}},e,null,[[0,2]])}),function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(e){s(a,n,o,i,c,"next",e)}function c(e){s(a,n,o,i,c,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}()},22104(e,t,r){r.d(t,{C:()=>d});var n=r(92516),o=r(15941),a=r(20008),i=r(35077),s=r(16876);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){return(0,o.Ik)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({email:(0,o.Yj)().required("A valid email address is required").email("Please enter valid email address"),firstName:(0,o.Yj)().required("First name is required").matches(/^[A-Za-z ]*$/,"Please enter valid first name"),lastName:(0,o.Yj)().required("Last name is required").matches(/^[A-Za-z ]*$/,"Please enter valid last name"),acceptTerms:(0,o.zM)().oneOf([!0],"Accept Terms & Conditions is required")},e))};function d(){var e=(0,a.A)("flow").getSpecificValue;"CreditInsights"===e?e="CI":e&&!["CI","CIUKIFree",s.bM,s.le,"AAD",i.o9,s.MD].includes(e)&&(e=s.CS);var t=(0,a.A)("product").getSpecificValue,r=[s.CS,"CI",i.o9,s.MD].includes(e)||"Hoovers"===t,c=(0,a.A)("countryId").getSpecificValue,l=(0,a.A)("dunsNumber").getSpecificValue,u=(0,a.A)("type").getSpecificValue;return{flowParams:[{type:s.CS,stepperParams:{show:!1,steps:[""]},optionalFields:{countryCode:!1},validationSchema:p({password:(0,o.Yj)().min(10,"Password must be 10 characters long").matches(/[0-9]/,"Password requires a number").matches(/[a-z]/,"Password requires a lowercase letter").matches(/[A-Z]/,"Password requires an uppercase letter").matches(/[^\w]/,"Password requires a special character").required("Password is required and must meet the below criteria")}),signinLink:"/signin?flow=".concat(s.CS),verifyEmail:"/verify-email?flow=".concat(s.CS),backButtonLink:"".concat((0,n.jC)()),appId:14707,privacyLink:"https://www.dnb.com/utility-pages/privacy-policy.html",termsLink:"https://www.dnb.com/utility-pages/terms-of-use.html",signupLink:"/signup?flow=".concat(s.CS),cancelUrl:(0,n.jC)(),forgotPasswordLink:"/forgot-password?flow=".concat(s.CS),trustCentre:"https://www.dnb.com/about-us/data-transparency.html"},{type:s.MD,stepperParams:{show:!1,steps:[""]},validationSchema:p({password:(0,o.Yj)().min(10,"Password must be 10 characters long").matches(/[0-9]/,"Password requires a number").matches(/[a-z]/,"Password requires a lowercase letter").matches(/[A-Z]/,"Password requires an uppercase letter").matches(/[^\w]/,"Password requires a special character").required("Password is required and must meet the below criteria"),country:(0,o.Yj)().required("Country is required")}),signinLink:"/signin",verifyEmail:"/verify-email",backButtonLink:(0,n.V4)(),appId:14707,privacyLink:"https://www.dnb.com/utility-pages/privacy-policy.html",termsLink:"https://www.dnb.com/utility-pages/terms-of-use.html",signupLink:"/signup",cancelUrl:(0,n.jC)(),forgotPasswordLink:"/forgot-password",trustCentre:"https://www.dnb.com/about-us/data-transparency.html"},{type:"CI",stepperParams:{show:!1,steps:[""]},optionalFields:{countryCode:!1},validationSchema:p({password:(0,o.Yj)().min(10,"Password must be 10 characters long").matches(/[0-9]/,"Password requires a number").matches(/[a-z]/,"Password requires a lowercase letter").matches(/[A-Z]/,"Password requires an uppercase letter").matches(/[^\w]/,"Password requires a special character").required("Password is required and must meet the below criteria")}),signinLink:"/signin?flow=CI",verifyEmail:"/verify-email?flow=CI",backButtonLink:"".concat((0,n.JW)()),appId:14706,privacyLink:"https://www.dnb.com/utility-pages/privacy-policy.html",termsLink:"https://www.dnb.com/utility-pages/terms-of-use.html",signupLink:"/signup?flow=CI",cancelUrl:(0,n.jC)(),forgotPasswordLink:"/forgot-password?flow=CI",trustCentre:"https://www.dnb.com/about-us/data-transparency.html"},{type:"CIUKIFree",stepperParams:{show:!1,steps:[""]},validationSchema:p({phoneNumber:(0,o.Yj)().matches(/^[+0-9() -]+$/,"Please enter valid phone number").required("Please enter phone number")}),optionalFields:{phoneNumber:!0},signinLink:"/signin?flow=CIUKIFree&dunsNumber=".concat(l,"&countryId=").concat(c),verifyEmail:"/verify-email?flow=CIUKIFree&dunsNumber=".concat(l,"&countryId=").concat(c),backButtonLink:(0,n.Z8)(c),appId:294,privacyLink:"GB"===c?"https://www.dnb.co.uk/utility-p
2ages/privacy-policy.html":"https://www.dnb.com/ie/utility-pages/privacy-policy.html",termsLink:"GB"===c?"https://www.dnb.co.uk/utility-pages/terms-of-use.html":"https://www.dnb.com/ie/utility-pages/terms-of-use.html",produtTermsLink:(0,n.Z8)(c),signupLink:"/signup?flow=CIUKIFree&dunsNumber=".concat(l,"&countryId=").concat(c),cancelUrl:(0,n.Z8)(c),forgotPasswordLink:"/forgot-password?flow=CIUKIFree&dunsNumber=".concat(l,"&countryId=").concat(c),trustCentre:"https://www.dnb.com/about-us/data-transparency.html"},{type:s.bM,forgotPasswordLink:"/forgot-password".concat(window.location.search),signinLink:"/signin".concat(window.location.search)},{type:s.le,forgotPasswordLink:"/forgot-password".concat(window.location.search),signinLink:"/signin".concat(window.location.search)},{type:i.o9,forgotPasswordLink:"/forgot-password?flow=".concat(i.o9,"&type=").concat(u),signinLink:"/signin?flow=".concat(i.o9,"&type=").concat(u),verifyEmail:"/verify-email?flow=".concat(i.o9,"&type=").concat(u),signupLink:"/signup?flow=".concat(i.o9,"&type=").concat(u),backButtonLink:"".concat(i.ws.dunsFound,"?flow=").concat(i.o9,"&type=").concat(u),privacyLink:"https://www.dnb.com/utility-pages/privacy-policy.html",validationSchema:p({password:(0,o.Yj)().min(10,"Password must be 10 characters long").matches(/[0-9]/,"Password requires a number").matches(/[a-z]/,"Password requires a lowercase letter").matches(/[A-Z]/,"Password requires an uppercase letter").matches(/[^\w]/,"Password requires a special character").required("Password is required and must meet the below criteria")})}].find(function(t){return t.type===e})||{signinLink:"/login",forgotPasswordLink:"/forgot-password"},flow:e,isSpecialFlow:r}}}}]);
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.