PageSourceSearch

https://my.dnb.com/src_components_pages_DunsLookup_DunsAssociation_index_tsx.64a1fac87d1e73758fe2.js

js dnb.com collected 2026-09-24 09:08:30 UTC 22,598 bytes, 2 lines download raw bytes

vendor: 4,111 bytes, lines 1-2
1/*! For license information please see src_components_pages_DunsLookup_DunsAssociation_index_tsx.64a1fac87d1e73758fe2.js.LICENSE.txt */
2"use strict";(self.webpackChunkmarketplace_portal_ui=self.webpackChunkmarketplace_portal_ui||[]).push([["src_components_pages_DunsLookup_DunsAssociation_index_tsx"],{84223(e,n,t){t.r(n),t.d(n,{default:()=>T});var r=t(96540),s=t(56347),o=t(35077),a=t(60961),i=t(84750),c=t(68577),l=t(43329),u=t(3905),d=t(93056),h=t(23262),f=t(26724),p=t(74848);const g=function(e){var n=e.color,t=void 0===n?f.A.WARNING:n,r=e.className;return(0,p.jsx)("svg",{width:"24",height:"24",className:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.99L19.53 19H4.47L12 5.99ZM12 2L1 21H23L12 2ZM13 16H11V18H13V16ZM13 10H11V14H13V10Z",fill:t})})};var m=t(92516),S=t(67859),y=t(67934),_=t(12751),v=t(47603),x=t(7822),N=t(16876),L=t(17671),b=t(70568),I=t(22104),k=t(29006),E=t(60747),w=t(15826),A=t(33034);function D(){var e,n,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",s=t.toStringTag||"@@toStringTag";function o(t,r,s,o){var c=r&&r.prototype instanceof i?r:i,l=Object.create(c.prototype);return C(l,"_invoke",function(t,r,s){var o,i,c,l=0,u=s||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(n,t){return o=n,i=0,c=e,h.n=t,a}};function f(t,r){for(i=t,c=r,n=0;!d&&l&&!s&&n<u.length;n++){var s,o=u[n],f=h.p,p=o[2];t>3?(s=p===r)&&(c=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=f&&((s=t<2&&f<o[1])?(i=0,h.v=r,h.n=o[1]):f<p&&(s=t<3||o[0]>r||r>p)&&(o[4]=t,o[5]=r,h.n=p,i=0))}if(s||t>1)return a;throw d=!0,r}return function(s,u,p){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,p),i=u,c=p;(n=i<2?e:c)||!d;){o||(i?i<3?(i>1&&(h.n=-1),f(i,c)):h.n=c:h.v=c);try{if(l=2,o){if(i||(s="next"),n=o[s]){if(!(n=n.call(o,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,i<2&&(i=0)}else 1===i&&(n=o.return)&&n.call(o),i<2&&(c=TypeError("The iterator does not provide a '"+s+"' method"),i=1);o=e}else if((n=(d=h.n<0)?c:t.call(r,h))!==a)break}catch(n){o=e,i=1,c=n}finally{l=1}}return{value:n,done:d}}}(t,s,o),!0),l}var a={};function i(){}function c(){}function l(){}n=Object.getPrototypeOf;var u=[][r]?n(n([][r]())):(C(n={},r,function(){return this}),n),d=l.prototype=i.prototype=Object.create(u);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,C(e,s,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=l,C(d,"constructor",l),C(l,"constructor",c),c.displayName="GeneratorFunction",C(l,s,"GeneratorFunction"),C(d),C(d,s,"Generator"),C(d,r,function(){return this}),C(d,"toString",function(){return"[object Generator]"}),(D=function(){return{w:o,m:h}})()}function C(e,n,t,r){var s=Object.defineProperty;try{s({},"",{})}catch(e){s=0}C=function(e,n,t,r){function o(n,t){C(e,n,function(e){return this._invoke(n,t,e)})}n?s?s(e,n,{value:t,enumerable:!r,configurable:!r,writable:!r}):e[n]=t:(o("next",0),o("throw",1),o("return",2))},C(e,n,t,r)}function j(e,n,t,r,s,o,a){try{var i=e[o](a),c=i.value}catch(e){return void t(e)}i.done?n(c):Promise.resolve(c).then(r,s)}function U(e){return function(){var n=this,t=arguments;return new Promise(function(r,s){var o=e.apply(n,t);function a(e){j(o,r,s,a,i,"next",e)}function i(e){j(o,r,s,a,i,"throw",e)}a(void 0)})}}function M(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,s,o,a,i=[],c=!0,l=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=o.call(t)).done)&&(i.push(r.value),i.length!==n);c=!0);}catch(e){l=!0,s=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw s}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return P(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?P(e,n):void 0}}
2(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}var O=t(49381);const R=function(e){var n=e.type,t=e.decryptedDuns,C=e.reachedLimit,j=e.newSelfLookupInsertion,P=e.isDunsAlreadyAssociated,R=e.shouldSendCiFreeParams,T=function(e){var n=e.type,t=e.decryptedDuns,i=e.reachedLimit,c=e.newSelfLookupInsertion,l=e.isDunsAlreadyAssociated,u=e.shouldSendCiFreeParams,d=void 0!==u&&u,h=(0,s.W6)(),f=M((0,v.TM)(),2),p=f[0],g=f[1].isLoading,m=M((0,v.Fx)(),2),S=m[0],y=m[1].isLoading,C=M((0,v.z7)(),2),j=C[0],P=C[1].isLoading,O=M((0,v.jn)(),2),R=O[0],T=O[1].isLoading,H=(0,x.GV)(function(e){return e.app.idaasUUID}),B=(0,I.C)().flow,F=(0,k.A)().currencyCode,V=M((0,r.useState)(),2),Y=V[0],K=V[1],W=M((0,r.useState)(""),2),Z=W[0],G=W[1],q=M((0,r.useState)(!1),2),z=q[0],J=q[1],$=M((0,r.useState)(null),2),Q=$[0],X=$[1],ee=M((0,r.useState)(0),2),ne=ee[0],te=ee[1],re=M((0,r.useState)(0),2),se=re[0],oe=re[1],ae=JSON.parse(sessionStorage.getItem("".concat(o.nd,"_").concat(n))||"{}"),ie=ae.duns,ce=void 0===ie?"":ie,le=ae.companyName,ue=void 0===le?"":le,de=ae.companyAddress,he=void 0===de?"":de,fe=ae.companyCity,pe=void 0===fe?"":fe,ge=ae.companyRegion,me=void 0===ge?"":ge,Se=ae.companyZipCode,ye=void 0===Se?"":Se,_e=ae.companyCountry,ve=void 0===_e?"":_e,xe=ae.industry,Ne=void 0===xe?"":xe,Le=ae.corporateHierarchy,be=void 0===Le?"":Le,Ie=(0,o.Po)({companyAddress:he,companyCity:pe,companyRegion:me,companyZipCode:ye,companyCountry:ve}),ke=t||o.yh,Ee=(0,r.useCallback)(U(D().m(function e(){var n,t,r,s,o;return D().w(function(e){for(;;)switch(e.n){case 0:if(t=H){e.n=5;break}return e.n=1,(0,w.t)();case 1:if(s=n=e.v,r=null===s){e.n=2;break}r=void 0===n;case 2:if(!r){e.n=3;break}o=void 0,e.n=4;break;case 3:o=n.idaasUUID;case 4:t=o;case 5:return e.a(2,t)}},e)})),[H]);(0,r.useEffect)(function(){(0,E.MF)("Duns Association ".concat(n)),n===o.kc.OTHERS&&(Ae(),we())},[n]),(0,r.useEffect)(function(){if(n===o.kc.SELF){var e="",r=0;t&&c?(e="mybusiness_association_success",r=9):t&&l?(e="mybusiness_already_linked",r=8):i&&(e="mybusiness_association_limit_reached",r=11),e&&(0,A.L)("duns_association_state",{stepName:e,stepNumber:r})}},[n,t,c,l,i]);var we=function(){var e=U(D().m(function e(){var n,t,r,s,i;return D().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Ee();case 1:return n=e.v,e.n=2,S({encrypted_duns:ce,company_country:ve,idaas_uuid:n,flow_type:o.kc.OTHERS}).unwrap();case 2:t=e.v,K(t),(r=t.is_duns_already_exist||t.reached_limit)&&G(t.message),s=r?"evalbusiness_view_duns_limit":"evalbusiness_view_duns_upsell",i=r?19:18,(0,A.L)("duns_association_state",{stepName:s,stepNumber:i}),e.n=4;break;case 3:e.p=3,e.v,X(a.I18n.t("something-went-wrong"));case 4:return e.a(2)}},e,null,[[0,3]])}));return function(){return e.apply(this,arguments)}}(),Ae=function(){var e=U(D().m(function e(){var n,t;return D().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,j({product_id:N.x7,currency:F}).unwrap();case 1:null!=(n=e.v)&&n.product_price&&(te(null==n?void 0:n.product_price),oe(null==n?void 0:n.price_id)),e.n=3;break;case 2:e.p=2,t=e.v,console.error("Failed to fetch product price details:",t);case 3:return e.a(2)}},e,null,[[0,2]])}));return function(){return e.apply(this,arguments)}}(),De=function(){var e=U(D().m(function e(){var n,t;return D().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,n={product_id:N.x7,price_id:se,source:o.ly},e.n=1,R(n).unwrap();case 1:null!=(t=e.v)&&t.sso_url?(setTimeout(function(){(0,E.c1)("DPM Redirect")},1e3),window.location.href=t.sso_url):X(a.I18n.t("something-went-wrong")),e.n=3;break;case 2:e.p=2,e.v,X(a.I18n.t("something-went-wrong"));case 3:return e.a(2)}},e,null,[[0,2]])}));return function(){return e.apply(this,arguments)}}(),Ce=(0,r.useMemo)(function(){var e="",r="",s="",u="";return n===o.kc.OTHERS?r=a.I18n.t("duns-lookup-duns-association-others-desc"):t?c?(e=a.I18n.t("duns-lookup-duns-associated-self-heading"),r=a.I18n.t("duns-lookup-duns-associated-self-subheading")):l&&(e=a.I18n.t("duns-lookup-self:already-associated-heading"),r=a.I18n.t("duns-lookup-self:already-associated-subheading")):i?(e=a.I18n.t("duns-lookup-self:cross-limit-association-heading"),r=a.I18n.t("duns-lookup-self:cross-limit-association-subheading")):(e=a.I18n.t("duns-lookup-self:error-when-association-heading"),s=a.I18n.t("something-went-wrong"),u=a.I18
2n.t("duns-lookup-duns-association-error")),{leftSideContentHeading:e,leftSideContentSubHeading:r,errorAlertHeading:s,errorAlertMessage:u}},[t,c,l,i,n]),je=(0,r.useCallback)(U(D().m(function e(){return D().w(function(e){for(;;)switch(e.n){case 0:window.location.href=d?"".concat((0,_.A)(),"?flow=").concat(b.Ed):(0,_.A)();case 1:return e.a(2)}},e)})),[d]),Ue=(0,r.useCallback)(U(D().m(function e(){var n;return D().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,J(!0),e.n=1,p({dunsNumber:ke,DUNSList:[]}).unwrap();case 1:null!=(n=e.v)&&n.ssoUrl&&(setTimeout(function(){(0,E.c1)("DPM Redirect")},500),window.location.href=n.ssoUrl),e.n=3;break;case 2:e.p=2,e.v,X(a.I18n.t("duns-lookup-dpm-error"));case 3:return e.p=3,J(!1),e.f(3);case 4:return e.a(2)}},e,null,[[0,2,3,4]])})),[ke,p]),Me=(0,r.useCallback)(U(D().m(function e(){var n;return D().w(function(e){for(;;)switch(e.n){case 0:return J(!0),e.n=1,Ee();case 1:n=e.v,S({encrypted_duns:ce,sales_channel:L.aH.SALES_CHANNEL,company_name:ue,company_country:ve,idaas_uuid:n,flow_type:o.kc.SELF,process_flow_type:B}).unwrap().then(function(e){J(!1);var n=(null==e?void 0:e.is_duns_already_associated)||!1,t=(null==e?void 0:e.is_ci_free_associated)||!1,r=(null==e?void 0:e.new_self_lookup_insertion)||!1,s={decryptedDuns:(null==e?void 0:e.decrypted_duns)||"",reachedLimit:(null==e?void 0:e.reached_limit)||!1,newSelfLookupInsertion:r,isDunsAlreadyAssociated:n,isCiFreeAssociated:t};r||n&&!t?h.push("/gad/ci-free-offer?flow=".concat(L.c6.LOOKUP),{selectedCompany:{duns:ce},associationState:s}):h.push("".concat(o.ws.dunsAssociation,"?flow=").concat(L.c6.LOOKUP,"&type=").concat(o.kc.SELF),s)}).catch(function(){J(!1),h.push("".concat(o.ws.dunsAssociation,"?flow=").concat(L.c6.LOOKUP,"&type=").concat(o.kc.SELF),{decryptedDuns:"",reachedLimit:!1,newSelfLookupInsertion:!1,isDunsAlreadyAssociated:!1})});case 2:return e.a(2)}},e)})),[ce,ue,ve,B,Ee]);return{state:{isLoading:z,getOtherDunsLookupIsLoading:y,othersLookupErrorMessage:Z,othersLookupResponse:Y,getNavigateUrlIsLoading:g,fetchProductPriceDetailsIsLoading:P,generateLegacyCartSSOURLIsLoading:T,errorMessage:Q,dunsNumber:ke,companyName:ue,fullAddress:Ie,industry:Ne,corporateHierarchy:be,productPrice:ne,currencyCode:F},content:Ce,handlers:{handleContinueDunsAssociation:je,handleContinueToDPM:Ue,handleTryAgain:Me,handleContinueToMyDNB:function(){n===o.kc.OTHERS&&(0,E.c1)("My D&B Redirect"),window.location.href=(0,_.A)()},handleBuyReport:De}}}({type:n,decryptedDuns:t,reachedLimit:C,newSelfLookupInsertion:j,isDunsAlreadyAssociated:P,shouldSendCiFreeParams:void 0!==R&&R}),H=T.state,B=H.isLoading,F=H.getOtherDunsLookupIsLoading,V=H.othersLookupErrorMessage,Y=H.othersLookupResponse,K=H.getNavigateUrlIsLoading,W=H.fetchProductPriceDetailsIsLoading,Z=H.generateLegacyCartSSOURLIsLoading,G=H.errorMessage,q=H.dunsNumber,z=H.companyName,J=H.fullAddress,$=H.industry,Q=H.corporateHierarchy,X=H.productPrice,ee=H.currencyCode,ne=T.content,te=ne.leftSideContentHeading,re=ne.leftSideContentSubHeading,se=ne.errorAlertHeading,oe=ne.errorAlertMessage,ae=T.handlers,ie=ae.handleContinueDunsAssociation,ce=ae.handleContinueToDPM,le=ae.handleTryAgain,ue=ae.handleContinueToMyDNB,de=ae.handleBuyReport,he=(0,u.A)(a.I18n.t("duns-lookup:duns-found:others-title")),fe=(0,u.A)(a.I18n.t("duns-lookup-free-lookup-used")),pe
2=(0,u.A)(a.I18n.t("duns-number-with-trademark")),ge=(0,u.A)(a.I18n.t("continue-to-duns-profile-manager")),me=(0,u.A)(re),Se=n===o.kc.OTHERS&&!!(null!=Y&&Y.reached_limit||null!=Y&&Y.is_duns_already_exist),ye=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("h1",{className:"font-avenirProLight text-[3.125rem] font-light text-dnb-cpl-box-shadow leading-[3.4375rem]",children:n==o.kc.OTHERS?he:te}),t||C||n===o.kc.OTHERS?(0,p.jsx)("p",{className:"text-xl font-avenirProLight font-[400] text-chip-default-text leading-normal",children:C?(0,p.jsxs)(p.Fragment,{children:[a.I18n.t("duns-lookup-self:cross-limit-association-subheading-one")," ",(0,p.jsx)("strong",{children:o.dV})," ",a.I18n.t("duns-lookup-self:cross-limit-association-subheading-two")]}):me}):(0,p.jsx)("div",{role:"alert",className:"flex pt-1 pr-2 pb-2 pl-4 flex-col items-start gap-2 self-stretch rounded-lg border border-[#D21E17] bg-[#FAE8E7]",children:(0,p.jsxs)("div",{className:"flex pt-2 items-start gap-[0.4375rem] flex-[1_0_0] self-stretch",children:[(0,p.jsx)("div",{className:"flex w-6 h-6 justify-center items-start gap-[0.625rem]",children:(0,p.jsx)(d.A,{type:"error"})}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-[0.4375rem] flex-[1_0_0]",children:[(0,p.jsx)("p",{className:"text-base text-normal font-[550] font-avenirProLight text-black font-avenirLight tracking-[0.00625rem]",children:se}),(0,p.jsx)("p",{className:"text-sm text-normal font-[550] font-avenirProLight text-black font-avenirLight tracking-[0.00625rem]",children:oe})]})]})}),n===o.kc.OTHERS&&(0,p.jsxs)("a",{href:(0,m.Zt)(),className:"flex items-center gap-x-2 text-hover-color font-avenirProLight text-xl font-bold leading-[1.1]",target:"_blank",rel:"noopener noreferrer","data-tracking-id":Se?y.Nh.EVALBUSINESS_VIEW_DUNS_LIMIT_LEARN_MORE:y.Nh.EVALBUSINESS_VIEW_DUNS_UPSELL_LEARN_MORE,children:[(0,p.jsx)("span",{className:"border-b border-hover-color","data-tracking-id":Se?y.Nh.EVALBUSINESS_VIEW_DUNS_LIMIT_LEARN_MORE:y.Nh.EVALBUSINESS_VIEW_DUNS_UPSELL_LEARN_MORE,children:a.I18n.t("duns-lookup-learn-more")}),(0,p.jsx)(h.A,{color:f.A.DARK_BLUE})]})]}),_e=function(e,n){return(0,p.jsx)("div",{className:"flex pt-1 pr-2 pb-2 pl-4 flex-col items-start gap-2 self-stretch rounded-lg border border-[#BA4700] bg-[#FFF4ED]",children:(0,p.jsxs)("div",{className:"flex pt-2 items-start gap-0.4375r flex-[1_0_0] self-stretch",children:[e,(0,p.jsx)("span",{className:"text-dnb-cpl-box-shadow font-avenirProLight text-1r not-italic font-[550] leading-1.5r tracking-[0.1px] [font-feature-settings:'liga'_off,'clig'_off]",children:n})]})})},ve=(0,p.jsxs)(p.Fragment,{children:[n===o.kc.OTHERS&&V&&_e((0,p.jsx)(g,{}),fe),G&&_e((0,p.jsx)(d.A,{type:"error"}),G)]}),xe=(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("div",{className:"flex flex-col items-start gap-4 self-stretch",children:[(0,p.jsx)("div",{className:"border-b-2 border-gray-color pb-[0.75rem] w-full break-words whitespace-pre-wrap",title:z,children:(0,p.jsx)("h1",{className:"font-avenirProLight text-black font-avenirLight text-[2rem] font-normal leading-[1.1] line-clamp-2",children:z})}),(0,p.jsx)("p",{className:"font-avenirProLight text-black font-avenirLight text-lg font-normal leading-[1.4]",children:J}),$&&(0,p.jsx)("p",{className:"font-avenirProLight text-black font-avenirLight text-lg font-normal leading-[1.4]",children:$}),Q&&(0,p.jsx)("p",{className:"font-avenirProLight text-black font-avenirLight text-lg font-normal leading-[1.4]",children:Q}),q&&(0,p.jsxs)("p",{className:"font-avenirProLight text-black font-avenirLight text-lg font-normal leading-[1.4]",children:[pe," ",n===o.kc.SELF&&(0,p.jsx)("span",{className:t?"":"blur-sm select-none",children:(0,i.gI)(q||"")||o.yh}),n===o.kc.OTHERS&&(0,p.jsx)("span",{className:null!=Y&&Y.decrypted_duns?"":"blur-sm select-none",children:(0,i.gI)((null==Y?void 0:Y.decrypted_duns)||"")||o.yh})]}),n===o.kc.OTHERS&&(0,p.jsxs)(p.Fragment,{children:[!!X&&(0,p.jsx)("div",{"data-tracking-id":Se?y.Nh.VIEW_ITEM_DUNS_LIMIT:y.Nh.VIEW_ITEM_DUNS_UPSELL,children:(0,p.jsxs)(c.A,{type:"button",onClick:de,variant:"primary-shadow",className:"max-w-[21.71rem]",gtmTrackingId:Se?y.Nh.EVALBUSINESS_VIEW_DUNS_LIMIT_BIR_PURCHASE:y.Nh.EVALBUSINESS_VIEW_DUNS_BIR_PURCHASE,children:[a.I18n.t("duns-lookup-duns-association-others-btn-buy")," ",(0,i.vv)(X,ee),(0,p.jsx)(h.A,{})]})}),(0,p.jsxs)(c.A,{type:"button",onClick:ue,variant:"secondary",gtmTrackingId:Se?y.Nh.EVALBUSINESS_VIEW_DUNS_LIMIT_CONTINUE_MYDNB:y.Nh.EVALBUSINESS_VIEW_DUNS_UPSELL_CONTINUE_MYDNB,children:[a.I18n.t("continue-to-myD&B"),(0,p.jsx)(h.A,{color:f.A.DARK_BLUE})]})]}),n===o.kc.SELF&&t&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("button",{type:"button",onClick:ie,className:"font-avenirProLight text-lg flex w-full max-w-[19rem] text-center justify-center h-[3.75rem] pt-[0.75rem] pb-[0.625rem] px-12 items-center gap-3 rounded-[1.875rem] bg-[#005172] text-white font-bold hover:bg-[#003e59] transition-colors","data-tracking-id":P?y.Nh.MYBUSINESS_ALREADY_LINKED_MYDNB:y.Nh.MYBUSINESS_ASSOCIATION_
2SUCCESS_MYDNB,children:[a.I18n.t("continue-to-myD&B"),(0,p.jsx)(h.A,{})]}),(0,p.jsx)(c.A,{type:"button",onClick:ce,variant:"secondary",className:"!flex-col !flex-wrap !items-start !text-left !h-auto !py-3",gtmTrackingId:P?y.Nh.MYBUSINESS_ALREADY_LINKED_DPM:y.Nh.MYBUSINESS_ASSOCIATION_SUCCESS_DPM,children:(0,p.jsxs)("span",{className:"flex items-center gap-6","data-tracking-id":P?y.Nh.MYBUSINESS_ALREADY_LINKED_DPM:y.Nh.MYBUSINESS_ASSOCIATION_SUCCESS_DPM,children:[(0,p.jsx)("span",{className:"whitespace-normal break-words","data-tracking-id":P?y.Nh.MYBUSINESS_ALREADY_LINKED_DPM:y.Nh.MYBUSINESS_ASSOCIATION_SUCCESS_DPM,children:ge}),(0,p.jsx)("span",{className:"shrink-0 flex items-center","data-tracking-id":P?y.Nh.MYBUSINESS_ALREADY_LINKED_DPM:y.Nh.MYBUSINESS_ASSOCIATION_SUCCESS_DPM,children:(0,p.jsx)(h.A,{color:f.A.DARK_BLUE})})]})})]}),n===o.kc.SELF&&C&&(0,p.jsxs)("button",{type:"button",onClick:ue,className:"font-avenirProLight flex h-[3.75rem] max-w-[18.5rem] items-center text-left justify-between gap-4 rounded-[1.875rem] border border-[#00435F] bg-white px-12 pt-[0.75rem] pb-[0.625rem] text-lg font-bold leading-[1.1] text-[#005172] disabled:cursor-not-allowed disabled:opacity-50","data-tracking-id":y.Nh.MYBUSINESS_ASSOCIATION_LIMIT_REACHED,children:[a.I18n.t("continue-to-myD&B"),(0,p.jsx)(h.A,{color:f.A.DARK_BLUE})]}),n===o.kc.SELF&&!t&&!C&&(0,p.jsxs)("button",{type:"button",onClick:le,className:"font-avenirProLight flex w-full max-w-[12.34rem] text-center justify-center h-[3.75rem] pt-[0.75rem] pb-[0.625rem] px-12 items-center gap-3 rounded-[1.875rem] bg-[#005172] text-white font-bold hover:bg-[#003e59] transition-colors",children:[a.I18n.t("try-again"),(0,p.jsx)(h.A,{})]})]})}),Ne=[B,K,F,n===o.kc.OTHERS&&(W||Z)].some(Boolean);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(O.d,{isShowDesktopLogo:!0,source:o.o9}),(0,p.jsx)(S.A,{children:(0,p.jsx)(l.A,{leftContent:ye,rightContent:xe,errorContent:n===o.kc.OTHERS&&V||G?ve:null,isLoading:Ne})})]})},T=function(){var e=function(){var e=(0,s.zy)(),n=new URLSearchParams(e.search),t={flow:n.get("flow"),type:n.get("type")||""},r=e.state||{},o=function(e){var t=n.get(e);return null!==t?"true"===t.toLowerCase():r[e]||!1};return{query:t,state:{decryptedDuns:n.get("decryptedDuns")||r.decryptedDuns||"",reachedLimit:o("reachedLimit"),newSelfLookupInsertion:o("newSelfLookupInsertion"),isDunsAlreadyAssociated:o("isDunsAlreadyAssociated"),isCiFreeAssociated:o("isCiFreeAssociated"),shouldSendCiFreeParams:o("shouldSendCiFreeParams")}}}(),n=e.query,t=e.state,r=n.flow===o.o9,a=n.type===o.kc.SELF||n.type===o.kc.OTHERS;return r&&a?(0,p.jsx)(R,{type:n.type,decryptedDuns:t.decryptedDuns,reachedLimit:t.reachedLimit,newSelfLookupInsertion:t.newSelfLookupInsertion,isDunsAlreadyAssociated:t.isDunsAlreadyAssociated,shouldSendCiFreeParams:t.shouldSendCiFreeParams}):null}},84750(e,n,t){t.d(n,{gI:()=>o,t$:()=>c,vv:()=>a,w6:()=>i});var r=t(36091),s=/[^BCDFGHJKLMNPQRSTVWXYZ0-9]/gi;function o(e){var n="".concat(e).toUpperCase().replace(s,"");return(n=(n=n.slice(0,9)).length>2?"".concat(n.slice(0,2),"-").concat(n.slice(2)):n).length>6?"".concat(n.slice(0,6),"-").concat(n.slice(6)):n}function a(e,n){try{return new Intl.NumberFormat(void 0,{style:"currency",currency:n}).format(e)}catch(n){return new Intl.NumberFormat(void 0,{style:"currency",currency:"USD"}).format(e)}}var i=function(e,n,t){if((null==n?void 0:n.length)<(null==t?void 0:t.length)||!(0,r.NH)(e))return n;var s=n.startsWith("+")?n:"+".concat(n);switch(e){case"PL":3!==s.length||s.includes(" ")||(s+=" ");break;case"HU":(3===s.length&&!s.includes(" ")||6===s.length&&!s.slice(4,6).includes(" ")||10===s.length&&!s.slice(7,10).includes(" "))&&(s+=" ");break;case"CH":case"DE":break;case"CZ":(4===s.length&&!s.includes(" ")||8===s.length&&!s.slice(5,8).includes(" ")||12===s.length&&!s.slice(9,13).includes(" "))&&(s+=" ");break;case"SE":(3===s.length&&!s.includes(" ")||5===s.length&&!s.slice(4,5).includes(" ")||9===s.length&&!s.slice(6,9).includes(" ")||13===s.length&&!s.slice(10,13).includes(" "))&&(s+="");break;case"DK":(3===s.length&&!s.includes(" ")||8===s.length&&!s.slice(4,8).includes(" "))&&(s+="");break;case"NO":(3===s.length&&!s.includes(" ")||6===s.length&&!s.slice(4,6).includes(" ")||9===s.length&&!s.slice(7,9).includes(" ")||12===s.length&&!s.slice(10,12).includes(" "))&&(s+="");break;case"FI":(4===s.length&&!s.includes(" ")||7===s.length&&!s.slice(5,7).includes(" ")||12===s.length&&!s.slice(8,12).includes(" "))&&(s+="")}return s},c=function(e,n,t){if((null==n?void 0:n.length)<(null==t?void 0:t.length)||!(0,r.NH)(e))return n;var s=n;switch(e){case"PL":2!==s.length||s.includes("-")||(s+="-");break;case"HU":case"CH":case"DE":case"SI":case"SE":case"DK":case"NO":case"FI":break;case"CZ":3!==s.length||s.includes(" ")||(s+=" ")}return s}},93056(e,n,t){t.d(n,{A:()=>o});var r=t(74848),s={error:"#D21E17",msg:"#005172",default:"#6B6D6F"};const o=function(e){var n=e.className,t=e.type,o=void 0===t?"default":t;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:n,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 6.16667H11.1667V7.83333H9.5V6.16667ZM9.5 9.5H11.1667V14.5H9.5V9.5ZM10.3333 2C5.73333 2 2 5.73333 2 10.3333C2 14.9333 5.73333 18.6667 10.3333 18.6667C14.9333 18.6667 18.6667 14.9333 18.6667 10.3333C18.6667 5.73333 14.9333 2 10.3333 2ZM10.3333 17C6.65833 17 3.66667 14.0083 3.66667 10.3333C3.66667 6.65833 6.65833 3.66667 10.3333 3.66667C14.0083 3.66667 17 6.65833 17 10.3333C17 14.0083 14.0083 17 10.3333 17Z",fill:s[o]})})}}}]);

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.