PageSourceSearch

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

js dnb.com collected 2026-09-24 09:05:52 UTC 5,096 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdnb_marketing_website=self.webpackChunkdnb_marketing_website||[]).push([[2255],{92255:function(e,t,a){a.r(t),a.d(t,{default:function(){return g}});var l=a(46804),s=a(65043),o=a(67357),n=a(51075),i={copyToolMdBtn:"copy-tool-md-button_copyToolMdBtn__JWB0l",copyToolMdBtnCopied:"copy-tool-md-button_copyToolMdBtnCopied__gYfun"},d=a(70579);function c(e){let{data:t,label:a="Copy as MD"}=e;const[l,o]=(0,s.useState)(!1),n=(0,s.useRef)(null);return(0,s.useEffect)((()=>()=>{n.current&&clearTimeout(n.current)}),[]),(0,d.jsx)("button",{type:"button",className:l?`${i.copyToolMdBtn} ${i.copyToolMdBtnCopied}`:i.copyToolMdBtn,onClick:function(){const e=function(e){const t=[];if(e.status&&t.push("## Status",e.status.trim(),""),e.entitlements&&e.entitlements.length>0&&(t.push("## Entitlements"),e.entitlements.forEach((e=>{t.push(`- \`${e}\``)})),t.push("")),e.dataBlocks&&e.dataBlocks.length>0&&(t.push("## Data Blocks"),e.dataBlocks.forEach((e=>{t.push(`- ${e}`)})),t.push("")),e.sampleCall){const a=e.sampleCallLanguage||"typescript";t.push("## Sample Call",`\`\`\`${a}`,e.sampleCall,"```","")}return t.join("\n").trim()}(t).trim();e&&navigator.clipboard.writeText(e).then((()=>{o(!0),n.current&&clearTimeout(n.current),n.current=setTimeout((()=>o(!1)),2500)}))},"aria-label":a,children:l?"\u2713 Copied as Markdown":`\u2b07\ufe0e ${a}`})}var r={toolbar:"tool-detail_toolbar__AFrJa",detailBody:"tool-detail_detailBody__Kdteo",detailSidebar:"tool-detail_detailSidebar__v5oS4",detailSidebarGroup:"tool-detail_detailSidebarGroup__j3fWC",detailSidebarLabel:"tool-detail_detailSidebarLabel__GMa4A",detailSidebarValue:"tool-detail_detailSidebarValue__o1brY",statusBadge:"tool-detail_statusBadge__4sk5d",statusBadgeGreen:"tool-detail_statusBadgeGreen__F1QR1",statusBadgeYellow:"tool-detail_statusBadgeYellow__5HvBI",statusBadgeGray:"tool-detail_statusBadgeGray__xLtMe",detailContent:"tool-detail_detailContent__tT1s2",detailSection:"tool-detail_detailSection__+VsBM",tags:"tool-detail_tags__pRmbE",tag:"tool-detail_tag__cYGi9"};const u=["live","ga","active","available","stable"],p=["beta","uat","preview","pending","coming soon","in progress"];function _(e){const t={green:r.statusBadgeGreen,yellow:r.statusBadgeYellow,gray:r.statusBadgeGray};return`${r.statusBadge} ${t[function(e){const t=e.trim().toLowerCase();return u.some((e=>t.includes(e)))?"green":p.some((e=>t.includes(e)))?"yellow":"gray"}(e)]}`}function m(e){let{data:t}=e;return t&&function(e){return!!(e.status||e.entitlements&&e.entitlements.length>0||e.dataBlocks&&e.dataBlocks.length>0||e.sampleCall)}(t)?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:r.toolbar,children:(0,d.jsx)(c,{data:t})}),(0,d.jsxs)("div",{className:r.detailBody,children:[(0,d.jsxs)("aside",{className:r.detailSidebar,children:[t.status&&(0,d.jsxs)("div",{className:r.detailSidebarGroup,children:[(0,d.jsx)("div",{className:r.detailSidebarLabel,children:"Status"}),(0,d.jsx)("span",{className:_(t.status),children:t.status})]}),t.entitlements&&t.entitlements.length>0&&(0,d.jsxs)("div",{className:r.detailSidebarGroup,children:[(0,d.jsx)("div",{className:r.detailSidebarLabel,children:"Entitlements"}),(0,d.jsx)("div",{className:r.tags,style:{marginTop:4},children:t.entitlements.map((e=>(0,d.jsx)("span",{className:r.tag,children:(0,d.jsx)("code",{children:e})},e)))})]})]}),(0,d.jsxs)("div",{className:r.detailContent,children:[t.dataBlocks&&t.dataBlocks.length>0&&(0,d.jsxs)("div",{className:r.detailSection,children:[(0,d.jsx)("h2",{children:"Data Blocks"}),(0,d.jsx)("div",{className:r.tags,children:t.dataBlocks.map((e=>(0,d.jsx)("span",{className:r.tag,children:e},e)))})]}),t.sampleCall&&(0,d.jsxs)("div",{className:r.detailSection,children:[(0,d.jsx)("h2",{children:"Sample Call"}),(0,d.jsx)(n.N,{language:t.sampleCallLanguage||"typescript",children:t.sampleCall})]})]})]})]}):null}var g=e=>{const{data:t}=e,a={status:null===t||void 0===t?void 0:t.status,entitlements:null===t||void 0===t?void 0:t.entitlements,dataBlocks:null===t||void 0===t?void 0:t.dataBlocks,sampleCall:null===t||void 0===t?void 0:t.sampleCall,sampleCallLanguage:null===t||void 0===t?void 0:t.sampleCallLanguage};return(0,d.jsx)("div",{id:(0,o.A)(e.cqPath),children:(0,d.jsx)(l.A,{children:(0,d.jsx)(m,{data:a})})})}},51075:function(e,t,a){a.d(t,{N:function(){return n}});var l=a(65043),s={codeBlock:"code-block_codeBlock__kVarc",toolbar:"code-block_toolbar__Sy57g",lang:"code-block_lang__OW6mG",copyBtn:"code-block_copyBtn__TAxif",copyBtnCopied:"code-block_copyBtnCopied__BBOqP",pre:"code-block_pre__6hEqA"},o=a(70579);function n(e){let{children:t,language:a}=e;const[n,i]=(0,l.useState)(!1);return(0,o.jsxs)("div",{className:s.codeBlock,children:[(0,o.jsxs)("div",{className:s.toolbar,children:[a&&(0,o.jsx)("span",{className:s.lang,children:a}),(0,o.jsx)("button",{className:n?`${s.copyBtn} ${s.copyBtnCopied}`:s.copyBtn,onClick:function(){navigator.clipboard.writeText(t).then((()=>{i(!0),setTimeout((()=>i(!1)),2e3)}))}
1,"aria-label":"Copy code",children:n?"\u2713 Copied":"Copy"})]}),(0,o.jsx)("pre",{className:s.pre,children:t})]})}}}]);

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.