1"use strict";(self.webpackChunkBigOnionFrontEnd=self.webpackChunkBigOnionFrontEnd||[]).push([[9817],{19817(e,t,s){s.r(t),s.d(t,{default:()=>C});var a=s(42450),r=s(85105),n=s(48232),d=s(64243),i=s(16099),l=s(78333),o=s(38044),c=s(11253),h=s(87238),u=s(44414);const m=[{id:"name",label:"Name"}],p=e=>{let t=e.data;return(0,u.jsx)(h.A,{columns:m,data:null===t||void 0===t?void 0:t.map(e=>({name:e})),emptyState:"No aliases found"})};var A=s(98519),v=s(96071);const x=[{id:"merchant_name",label:"Business Name"},{id:"merchant_street",label:"Address",renderer:e=>{var t,s,a,n;return(0,u.jsxs)(r.A,{children:[(0,u.jsx)(A.A,{noWrap:!0,variant:"body2",children:null!==(t=e.merchant_street)&&void 0!==t?t:""}),(0,u.jsx)(A.A,{noWrap:!0,variant:"body2",children:"".concat(null!==(s=e.merchant_city)&&void 0!==s?s:"",", ").concat(null!==(a=e.merchant_region)&&void 0!==a?a:""," ").concat(null!==(n=e.merchant_postal_code)&&void 0!==n?n:"")})]})}},{id:"merchant_phone",label:"Phone Number"},{id:"merchant_url",label:"Website"}],g=e=>{let t=e.data;return(0,u.jsx)(v.A,{data:t,fields:x})};var j=s(29970),f=s(74239);const b=[{id:"title",label:"Classification Title"},{id:"type",label:"Type"},{id:"code",label:"Code"}],_=e=>{let t=e.data;return(0,u.jsx)(h.A,{columns:b,data:t,emptyState:"No industry classifications found"})},y=[{id:"name_full",label:"Name"},{id:"titles",label:"Position"}],S=e=>{let t=e.data;return(0,u.jsx)(h.A,{columns:y,data:t,emptyState:"No officers found"})},I=[{id:"name_full",label:"Name"}],N=e=>{let t=e.data;return(0,u.jsx)(h.A,{columns:I,data:t,emptyState:"No registered agents found"})},z="businessLookupReport",C=(0,n.PA)(()=>{const e=(0,o.D)(z),t=e.folderId,s=e.folderName,n=e.report,h=e.isLoading,m=e.isError,A=e.error,v=e.setSelectedReportCreated;return(0,u.jsx)(i.A,{error:A,folderId:t,folderName:s,icon:a.A,isError:m,isLoading:h,report:n,reportType:z,setSelectedReportCreated:v,slug:"Business Lookup",topId:"BusinessLookupNavigator",children:(()=>{var e;const t=null!==(e=(0,l.T)(z,n))&&void 0!==e?e:{},s=t.merchantData,a=t.reportData;if(!s)return null;const i=null!==a&&void 0!==a?a:{},o=i.identifiers,h=i.addresses,m=i.officers,A=i.agents,v=i.aliases,x=i.industry_classifications,b=i.match_status_business_name,y=i.match_status_address_street,I=i.match_status_address_city,C=i.match_status_address_subdivision,B=i.match_status_address_postal_code,w=i.match_status_website,H=i.match_status_phone_number;return(0,u.jsxs)(r.A,{spacing:2,children:[(0,u.jsx)(d.A,{label:"Business Information",children:(0,u.jsx)(g,{data:s})}),(0,u.jsx)(d.A,{label:"Match Results",children:(0,u.jsx)(j.A,{matchStatuses:{matchStatusBusinessName:b,matchStatusAddressStreet:y,matchStatusAddressCity:I,matchStatusAddressSubdivision:C,matchStatusAddressPostalCode:B,matchStatusWebsite:w,matchStatusPhoneNumber:H},merchantData:s})}),(0,u.jsx)(d.A,{label:"Business Registration",children:(0,u.jsx)(f.A,{data:o})}),(0,u.jsx)(d.A,{label:"Addresses",children:(0,u.jsx)(c.A,{data:h,showBasicMap:!(null===h||void 0===h||!h.length),showStreetMap:!(null===h||void 0===h||!h.length)})}),(0,u.jsx)(d.A,{label:"Officers",children:(0,u.jsx)(S,{data:m})}),(0,u.jsx)(d.A,{label:"Registered Agents",children:(0,u.jsx)(N,{data:A})}),(0,u.jsx)(d.A,{label:"Aliases",children:(0,u.jsx)(p,{data:v})}),(0,u.jsx)(d.A,{label:"Industry Classifications",children:(0,u.jsx)(_,{data:x})})]})})()})})},96071(e,t,s){var a=s(16253),r=s(98519),n=s(44414);const d=e=>{let t=e.data,s=e.fields,d=e.notFoundText,i=void 0===d?"Not provided":d;return(0,n.jsx)(a.A,{columnSpacing:4,container:!0,rowSpacing:2,spacing:4,children:s.map(e=>{var s;let d=e.id,l=e.label,o=e.renderer;return(0,n.jsxs)(a.A,{overflow:"hidden",size:{xs:12,sm:6,md:3},children:[(0,n.jsx)(r.A,{className:"captionDim",variant:"caption",children:l}),o?o(t):(0,n.jsx)(r.A,{noWrap:!0,variant:"body2",children:String(null!==(s=t[d])&&void 0!==s?s:i)})]},d.toString())})})};s.d(t,["A",0,d])},64243(e,t,s){var a=s(55547),r=s(98519),n=s(96195),d=s(44414);const i=(0,n.A)(a.A)({padding:"2rem",paddingTop:"1.5rem",display:"flex",flexDirection:"column",gap:"1rem"}),l=e=>{let t=e.label,s=e.children;return(0,d.jsxs)(i,{children:[(0,d.jsx)(r.A,{variant:"h6",children:t}),s]})};s.d(t,["A",0,l])}
1,16099(e,t,s){s.d(t,{A:()=>j});var a=s(43016),r=s(85105),n=s(98519),d=s(45130),i=s(45016),l=s(42241),o=s(94820),c=s(78333),h=s(45780),u=s(47666),m=s(44414);const p=(0,u.A)((0,m.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack");var A=s(91521),v=s(44517),x=s(39688);const g=e=>{let t=e.hasMatch,s=e.folderId,a=e.children;return(0,m.jsxs)(r.A,{alignItems:"center",direction:"row",gap:2,justifyContent:"space-between",mb:2,children:[(0,m.jsx)(v.N_,{style:{display:"flex",alignItems:"center"},to:(0,x.Zp)("/merchant/".concat(s,"/")),children:(0,m.jsxs)(r.A,{alignItems:"center",direction:"row",gap:1,children:[(0,m.jsx)(p,{}),"Merchant Overview"]})}),(0,m.jsxs)(r.A,{alignItems:"center",direction:"row",height:"100%",spacing:3,children:[null!==t&&(0,m.jsx)(A.A,{label:t?"Has Match":"No Match",sx:{backgroundColor:"background.icon",fontWeight:"bold"},variant:"outlined"}),a]})]})},j=e=>{let t=e.icon,s=e.slug,u=e.topId,p=e.folderId,A=e.folderName,v=e.report,x=e.reportType,j=e.isLoading,f=e.isError,b=e.error,_=e.children,y=e.setSelectedReportCreated;const S=(0,c.c)(v);return(0,m.jsxs)(l.A,{hideBreadcrumbs:!A,icon:(0,m.jsx)(t,{className:"icon"}),parentIcon:(0,m.jsx)(a.A,{className:"icon"}),parentSlug:A,slug:s,topId:u,children:[(0,m.jsx)(g,{folderId:p,hasMatch:S,children:(0,m.jsx)(o.AC,{infiniteQueryOptions:h.V.getAllByFolder({folderId:p,reportType:x,limit:20}),isLoading:j,onSelect:e=>y(e.created),selectedItem:v,sx:{minWidth:150}})}),(()=>{if(f&&b)return(0,d.El)(b)?"No reports found":b.message;if(j||!v)return(0,m.jsx)(i.A,{});return v.isPending?(0,m.jsxs)(r.A,{alignItems:"center",gap:2,justifyContent:"center",p:4,children:[(0,m.jsx)(n.A,{variant:"h6",children:"Report is being generated..."}),(0,m.jsx)(i.A,{})]}):_})()]})}},38044(e,t,s){var a=s(5544),r=s(89379),n=s(36150),d=s(9950),i=s(44517),l=s(13994),o=s(93210),c=s(45780);s.d(t,["D",0,e=>{const t=(0,i.g)().folderId,s=(0,n.I)((0,r.A)((0,r.A)({},l.N.getFolder(t)),{},{select:e=>e.name})).data,h=(0,i.Zp)(),u=(0,d.useState)(null),m=(0,a.A)(u,2),p=m[0],A=m[1],v=o.x0.displayKybReports,x=(0,n.I)((0,r.A)((0,r.A)({},c.V.getLatestByFolder({folderId:t,reportType:e})),{},{enabled:v})),g=x.data,j=x.isLoading,f=x.isError,b=x.error,_=(0,n.I)((0,r.A)((0,r.A)({},c.V.getReportByTimestamp({folderId:t,reportType:e,timestamp:null!==p&&void 0!==p?p:0})),{},{enabled:v&&!!p})),y=_.data,S=_.isFetching,I=_.isError,N=_.error,z=j||S,C=f||I,B=null!==b&&void 0!==b?b:N,w=null!==y&&void 0!==y?y:g;return(0,d.useEffect)(()=>{v||h("/merchant/".concat(t,"/"),{replace:!0})},[v,h,t]),{folderId:t,folderName:s,report:w,isLoading:z,isError:C,error:B,selectedReportCreated:p,setSelectedReportCreated:A}}])},42450(e,t,s){var a=s(47666),r=s(44414);const n=(0,a.A)([(0,r.jsx)("path",{d:"M12 11h2v2h-2v2h2v2h-2v2h8V9h-8zm4 0h2v2h-2zm0 4h2v2h-2z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M16 15h2v2h-2zm0-4h2v2h-2zm6-4H12V3H2v18h20zM6 19H4v-2h2zm0-4H4v-2h2zm0-4H4V9h2zm0-4H4V5h2zm4 12H8v-2h2zm0-4H8v-2h2zm0-4H8V9h2zm0-4H8V5h2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8z"},"1")],"BusinessTwoTone");s.d(t,["A",0,n])}}]);
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.