1/*! For license information please see src_components_pages_DunsLookup_DunsFound_index_tsx.4b69b926087e3dddd222.js.LICENSE.txt */ 2"use strict";(self.webpackChunkmarketplace_portal_ui=self.webpackChunkmarketplace_portal_ui||[]).push([["src_components_pages_DunsLookup_DunsFound_index_tsx"],{66756(t,e,r){r.r(e),r.d(e,{default:()=>E});var n=r(96540),o=r(60961),a=r(3905),i=r(43329),c=r(35077),l=r(67934),s=r(68164),u=r(90087),f=r(23262),d=r(95225),p=r(68577),m=r(49381),b=r(20008),h=r(22104),y=r(59776),v=r(7822),x=r(18573),w=r(15826),g=r(56347);function j(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var l=n&&n.prototype instanceof c?n:c,s=Object.create(l.prototype);return S(s,"_invoke",function(r,n,o){var a,c,l,s=0,u=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,r){return a=e,c=0,l=t,d.n=r,i}};function p(r,n){for(c=r,l=n,e=0;!f&&s&&!o&&e<u.length;e++){var o,a=u[e],p=d.p,m=a[2];r>3?(o=m===n)&&(l=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=t):a[0]<=p&&((o=r<2&&p<a[1])?(c=0,d.v=n,d.n=a[1]):p<m&&(o=r<3||a[0]>n||n>m)&&(a[4]=r,a[5]=n,d.n=m,c=0))}if(o||r>1)return i;throw f=!0,n}return function(o,u,m){if(s>1)throw TypeError("Generator is already running");for(f&&1===u&&p(u,m),c=u,l=m;(e=c<2?t:l)||!f;){a||(c?c<3?(c>1&&(d.n=-1),p(c,l)):d.n=l:d.v=l);try{if(s=2,a){if(c||(o="next"),e=a[o]){if(!(e=e.call(a,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,c<2&&(c=0)}else 1===c&&(e=a.return)&&e.call(a),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=t}else if((e=(f=d.n<0)?l:r.call(n,d))!==i)break}catch(e){a=t,c=1,l=e}finally{s=1}}return{value:e,done:f}}}(r,o,a),!0),s}var i={};function c(){}function l(){}function s(){}e=Object.getPrototypeOf;var u=[][n]?e(e([][n]())):(S(e={},n,function(){return this}),e),f=s.prototype=c.prototype=Object.create(u);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,S(t,o,"GeneratorFunction")),t.prototype=Object.create(f),t}return l.prototype=s,S(f,"constructor",s),S(s,"constructor",l),l.displayName="GeneratorFunction",S(s,o,"GeneratorFunction"),S(f),S(f,o,"Generator"),S(f,n,function(){return this}),S(f,"toString",function(){return"[object Generator]"}),(j=function(){return{w:a,m:d}})()}function S(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}S=function(t,e,r,n){function a(e,r){S(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(a("next",0),a("throw",1),a("return",2))},S(t,e,r,n)}function k(t,e,r,n,o,a,i){try{var c=t[a](i),l=c.value}catch(t){return void r(t)}c.done?e(l):Promise.resolve(l).then(n,o)}function A(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var a=t.apply(e,r);function i(t){k(a,n,o,i,c,"next",t)}function c(t){k(a,n,o,i,c,"throw",t)}i(void 0)})}}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}const _=function(){var t,e,r=(0,g.W6)(),o=(0,y.rg)().authState,a=(0,b.A)("type").getSpecificValue,i=(0,h.C)().flow,l=(t=(0,n.useState)(function(){var t=sessionStorage.getItem("".concat(c.nd,"_").concat(a));return t?JSON.parse(t):void 0}),e=1,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){s=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(t,e):void 0}}(t,e)||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.")}())[0],s=(0,v.GV)(function(t){return t.app.countryCode}),u=(0,v.GV)(function(t){return t.app.idaasUUID}),f=(0,v.jL)(),d=(0,n.useCallback)(A(j().m(function t(){var e,n;return j().w(function(t){for(;;)switch(t.n){case 0:if(null==o||!o.isAuthenticated){t.n=3;break}if(s&&u){t.n=2;break}return t.n=1,(0,w.t)();case 1:e=t.v,f((0,x.aP)(null==e?void 0:e.idaasUUID)),f((0,x.gq)(null==e?void 0:e.countryCode));case 2:n=a===c.kc.SELF?"".concat(c.ws.businessAttestation):"".concat(c.ws.dunsAssociation),r.push("".concat(n,"?flow=").concat(c.o9,"&type=").concat(a)),t.n=4;break;case 3:window.location.href="/signup?flow=".concat(i,"&type=").concat(a);case 4:return t.a(2)}},t)})),[s,r,JSON.stringify(o),a,i]);return{companyData:l,selectedIntent:a,handleContinue:d}};var C=r(74848);function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function I(t,e,r){return(e=function(t){var e=function(t){if("object"!=O(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==O(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var F=I(I({},c.kc.SELF,"self"),c.kc.OTHERS,"others");const E=function(){var t=_(),e=t.companyData,r=t.handleContinue,n=t.selectedIntent,b=F[n],h=(0,a.A)(o.I18n.t("duns-lookup:duns-found:".concat(b,"-title"))),y=(0,a.A)(o.I18n.t("duns-lookup:duns-found:".concat(b,"-desc"))),v=(0,a.A)(o.I18n.t("duns-lookup:duns-found:btn-".concat(b,"-claim-duns"))),x=(0,C.jsx)(u.A,{titleText:h,descText:y,children:n===c.kc.SELF&&(0,C.jsx)(s.A,{content:o.I18n.t("duns-lookup:duns-found:self-tooltip")})}),w=(0,C.jsx)(C.Fragment,{children:e&&(0,C.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,C.jsx)(d.A,{companyData:e}),(0,C.jsxs)(p.A,{gtmTrackingId:n===c.kc.SELF?l.Nh.MYBUSINESS_DUNS_FOUND:l.Nh.EVALBUSINESS_DUNS_FOUND,onClick:r,disabled:!n,variant:"primary",className:"flex h-[3.75rem] px-[3rem] py-[0.75rem] items-center gap-[0.75rem] rounded-[1.875rem] text-[#FFF] text-[1.125rem] font-[700] not-italic leading-[110%] transition-colors w-full md:w-auto justify-center\n ".concat(n?"bg-[#005172] hover:bg-[#003d56]":"bg-[#CBCDCE] cursor-not-allowed","\n "),children:[(0,C.jsx)("span",{children:v}),(0,C.jsx)(f.A,{})]})]})});return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(m.d,{isShowDesktopLogo:!0,source:c.o9}),(0,C.jsx)(i.A,{leftContent:x,rightContent:w,showBackButton:!0,backUrl:"".concat(c.ws.businessSearch,"?flow=").concat(c.o9,"&type=").concat(n)})]})}},95225(t,e,r){r.d(e,{A:()=>c}),r(96540);var n=r(60961),o=r(35077),a=r(3905),i=r(74848);const c=function(t){var e=t.companyData,r=t.dunsNumber,c=void 0===r?o.yh:r,l=t.isMasked,s=void 0===l||l;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"border-b border-solid border-gray-incidental pb-[12px] break-words whitespace-pre-wrap",title:e.companyName,children:(0,i.jsx)("h2",{className:"text-dnb-cpl-box-shadow text-[2rem] font-[400] not-italic leading-[110%] line-clamp-2",children:e.companyName})}),(0,i.jsx)("p",{className:"text-[1.125rem]",children:(0,o.Po)(e)}),e.industry&&(0,i.jsx)("p",{className:"text-[1.125rem]",children:e.industry}),e.corporateHierarchy&&(0,i.jsx)("p",{className:"text-[1.125rem]",children:e.corporateHierarchy}),(0,i.jsxs)("p",{className:"text-[1.125rem]",children:[(0,i.jsx)("span",{children:(0,a.A)(n.I18n.t("duns-number-with-trademark"))}),(0,i.jsxs)("span",{className:s?"blur-sm select-none whitespace-nowrap":"whitespace-nowrap",children:[" ",c&&!c.includes("-")&&c.length>3?"".concat(c.substring(0,3),"-").concat(c.substring(3)):c]})]})]})}},90087(t,e,r){r.d(e,{A:()=>
2o}),r(96540);var n=r(74848);const o=function(t){var e=t.titleText,r=t.descText,o=t.children;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h1",{className:"self-stretch text-dnb-cpl-box-shadow font-avenirProLight text-[3.125rem] md:text-[3.125rem] font-[300] leading-[110%]",children:e}),(0,n.jsxs)("div",{className:"self-stretch text-chip-default-text font-avenirProLight text-[1rem] md:text-[1.25rem] font-normal leading-[150%]",children:[r,o]})]})}},68164(t,e,r){r.d(e,{A:()=>c});var n=r(96540),o=r(93056),a=r(74848);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}const c=function(t){var e,r,c=t.content,l=t.isInsideScroll,s=void 0!==l&&l,u=(e=(0,n.useState)({transform:"translateX(-50%)","--tw-arrow-left":"50%"}),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){s=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(e,r)||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.")}()),f=u[0],d=u[1],p=(0,n.useRef)(null),m=function(){if(p.current){var t=p.current.getBoundingClientRect(),e=window.innerWidth<768?208:245,r=-e/2,n=t.left+t.width/2;n+r<16?r+=16-(n+r):n+r+e>window.innerWidth-16&&(r-=n+r+e-(window.innerWidth-16)),d({transform:"translateX(".concat(r,"px)"),"--tw-arrow-left":"".concat(-r,"px")})}},b="hidden text-wrap group-hover:block text-[0.875rem] leading-5 absolute rounded-md z-[1] bottom-full left-1/2 p-2 mb-3 w-[13rem] md:w-[15.3125rem] text-center box-border shadow-[#6b6d6f_0px_1px_4px] transition-transform duration-200 after:content-[''] after:absolute after:left-[var(--tw-arrow-left,50%)] after:top-full after:-translate-x-1/2 after:border-8 after:border-[#161919] after:border-x-transparent after:border-b-transparent text-white bg-[#161919] after:border-t-input-color";return s&&(b=["hidden text-wrap group-hover:block text-[0.875rem] leading-5 absolute rounded-md z-[1]","left-1/2 p-2 w-[13rem] md:w-[15.3125rem]","text-center box-border shadow-[#6b6d6f_0px_1px_4px]","transition-transform duration-200 text-white bg-[#161919]","bottom-full mb-3","after:content-[''] after:absolute","after:left-[var(--tw-arrow-left,50%)]","after:top-full after:-translate-x-1/2","after:border-8 after:border-dnb-cpl-box-shadow","after:border-x-transparent after:border-b-transparent","md:top-full md:bottom-auto md:mt-3 md:mb-0","md:after:bottom-full md:after:top-auto","md:after:border-b-dnb-cpl-box-shadow md:after:border-t-transparent","lg:bottom-full lg:top-auto lg:mb-3 lg:mt-0","lg:after:top-full lg:after:bottom-auto","lg:after:border-b-transparent lg:after:border-t-dnb-cpl-box-shadow"].join(" ")),(0,a.jsxs)("span",{className:"group relative inline-flex",ref:p,onMouseEnter:m,onTouchStart:m,children:[(0,a.jsx)(o.A,{className:"inline w-[1.04375rem] h-[1.04375rem]"}),(0,a.jsx)("div",{className:b,style:f,children:c})]})}},93056(t,e,r){r.d(e,{A:()=>a});var n=r(74848),o={error:"#D21E17",msg:"#005172",default:"#6B6D6F"};const a=function(t){var e=t.className,r=t.type,a=void 0===r?"default":r;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,n.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:o[a]})})}}}]);
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.