PageSourceSearch

https://www.dnb.com/etc.clientlibs/dnb-marketing-website/clientlib…/resources/static/js/32.85285653.chunk.js

js dnb.com collected 2026-09-24 09:05:22 UTC 4,491 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdnb_marketing_website=self.webpackChunkdnb_marketing_website||[]).push([[32],{40032:function(e,t,l){l.r(t),l.d(t,{default:function(){return x}});var a=l(46804),n=l(65043),s=l(67357),i=l(58387),r={"screen-md":"min-width: 48rem",filterBar:"tools-table_filterBar__Erm8V",filterBtn:"tools-table_filterBtn__1wb4c",filterBtnActive:"tools-table_filterBtnActive__yRQ43",tableWrapper:"tools-table_tableWrapper__q6dWR",table:"tools-table_table__WQeZh",textCell:"tools-table_textCell__tXv4X",link:"tools-table_link__AXxVM",tags:"tools-table_tags__p+gXv",tag:"tools-table_tag__X6X0e",badge:"tools-table_badge__ZAFaZ",badgeLive:"tools-table_badgeLive__u3H6Q",badgeUat:"tools-table_badgeUat__HsI+b",badgePlanned:"tools-table_badgePlanned__HG4Sv",badgeDefault:"tools-table_badgeDefault__g+Bu8",emptyState:"tools-table_emptyState__uGyBu"},o=l(19424),d=l(70579);const c="__all__";function u(e){return null==e?"":String(e)}function b(e){return Array.isArray(e)?e.map((e=>u(e))).filter(Boolean):[]}function _(e){return e?e.charAt(0).toUpperCase()+e.slice(1):e}function m(e,t){const l=t[e.key];if("tags"===e.type)return b(l);const a=u(l);return a?[a]:[]}function f(e){const t=e.toLowerCase();return"live"===t?r.badgeLive:"uat"===t?r.badgeUat:"planned"===t?r.badgePlanned:r.badgeDefault}function h(e,t){const l=e.toLowerCase();return"live"===l?"Live":"uat"===l?"UAT":"planned"===l?null!==t&&void 0!==t?t:"Planned":_(e)}function v(e){let{status:t,availability:l}=e;return(0,d.jsx)("span",{className:(0,i.A)(r.badge,f(t)),children:h(t,l)})}function g(e,t){const l=t[e.key];switch(e.type){case"link":{const e=u(l),a=u(t.url);return e?a?(0,d.jsx)("a",{href:a,className:r.link,children:e}):(0,d.jsx)("span",{className:r.link,children:e}):null}case"tags":{const e=b(l);return 0===e.length?null:(0,d.jsx)("div",{className:r.tags,children:e.map((e=>(0,d.jsx)("span",{className:r.tag,children:e},e)))})}case"status":{const e=u(l);return e?(0,d.jsx)(v,{status:e,availability:u(t.availability)||void 0}):null}default:return(0,d.jsx)("span",{className:r.textCell,children:u(l)})}}function p(e){let{data:t}=e;const{backgroundColor:l,theme:a,reduceTopSpacing:s,reduceBottomSpacing:b,id:f,columns:h=[],rows:v=[]}=t,p=h.find((e=>e.filterable)),[x,j]=(0,n.useState)(c),y=(0,n.useMemo)((()=>{if(!p)return[];const e=new Set;return v.forEach((t=>{m(p,t).forEach((t=>e.add(t)))})),Array.from(e).sort(((e,t)=>e.localeCompare(t)))}),[p,v]),N=(0,n.useMemo)((()=>p&&x!==c?v.filter((e=>m(p,e).includes(x))):v),[x,p,v]),k=(0,o.ws)(s,b),A=(0,o.af)(l);return 0===h.length?(0,d.jsx)("section",{id:null!==f&&void 0!==f?f:void 0,style:{...k,...A},className:(0,i.A)("defaultContainer",a),children:(0,d.jsx)("div",{className:"defaultLayoutOuter",children:(0,d.jsx)("div",{className:"defaultLayoutInner",children:(0,d.jsx)("div",{className:r.emptyState,children:"No table columns configured."})})})}):(0,d.jsx)("section",{id:null!==f&&void 0!==f?f:void 0,style:{...k,...A},className:(0,i.A)("defaultContainer",a),children:(0,d.jsx)("div",{className:"defaultLayoutOuter",children:(0,d.jsxs)("div",{className:"defaultLayoutInner",children:[p&&y.length>0&&(0,d.jsxs)("div",{className:r.filterBar,children:[(0,d.jsxs)("button",{type:"button",className:(0,i.A)(r.filterBtn,x===c&&r.filterBtnActive),onClick:()=>j(c),children:["All (",v.length,")"]}),y.map((e=>(0,d.jsxs)("button",{type:"button",className:(0,i.A)(r.filterBtn,x===e&&r.filterBtnActive),onClick:()=>j(e),children:[_(e)," (",v.filter((t=>m(p,t).includes(e))).length,")"]},e)))]}),0===v.length?(0,d.jsx)("div",{className:r.emptyState,children:"No table rows configured."}):(0,d.jsx)("div",{className:r.tableWrapper,children:(0,d.jsxs)("table",{className:r.table,children:[(0,d.jsx)("thead",{children:(0,d.jsx)("tr",{children:h.map((e=>(0,d.jsx)("th",{children:e.label},e.key)))})}),(0,d.jsx)("tbody",{children:N.map(((e,t)=>(0,d.jsx)("tr",{children:h.map((l=>(0,d.jsx)("td",{children:g(l,e)},`${l.key}-${t}`)))},u(e.url)||u(e.name)||`row-${t}`)))})]})})]})})})}var x=e=>{const{data:t}=e,l={id:null===t||void 0===t?void 0:t.id,backgroundColor:null===t||void 0===t?void 0:t.backgroundColor,theme:null===t||void 0===t?void 0:t.theme,reduceTopSpacing:null===t||void 0===t?void 0:t.reduceTopSpacing,reduceBottomSpacing:null===t||void 0===t?void 0:t.reduceBottomSpacing,columns:null===t||void 0===t?void 0:t.columns,rows:null===t||void 0===t?void 0:t.rows};return(0,d.jsx)("div",{id:(0,s.A)(e.cqPath),children:(0,d.jsx)(a.A,{children:(0,d.jsx)(p,{data:l})})})}}}]);

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.