PageSourceSearch

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

js dnb.com collected 2026-09-24 09:07:28 UTC 12,034 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdnb_marketing_website=self.webpackChunkdnb_marketing_website||[]).push([[9948],{49948:function(e,i,t){t.d(i,{w:function(){return I}});var a=t(65043),o=t(94767),r=t(48388),n=t(35154),s=t(70579);const l=e=>{let{aspect:i,image:t,imageAlt:a,cropSize:o}=e;return(0,s.jsx)(s.Fragment,{children:t&&(0,s.jsx)(n.jG,{className:r.A.image,style:{aspectRatio:i},additionalParams:o,src:t,alt:null!==a&&void 0!==a?a:""})})},d=e=>{let{onPlay:i,aspect:t,image:a,imageAlt:n,cropSize:d,videoTheme:c}=e;const m="auto"===t?"16/9":t;return(0,s.jsxs)("div",{className:r.A.videoContainer,style:{aspectRatio:m},children:[a&&(0,s.jsx)(l,{aspect:m,image:a,imageAlt:n,cropSize:d}),!a&&(0,s.jsx)("div",{className:r.A.fallbackVideoPlaceholder}),(0,s.jsx)(o.$,{className:r.A.playButton,theme:null!==c&&void 0!==c?c:"dark",icon:"play","aria-label":"Play video",onClick:i})]})},c=e=>{let{video:i,image:t,mimeType:a}=e;return(0,s.jsx)("video",{controls:!0,poster:t,autoPlay:!0,children:(0,s.jsx)("source",{src:i,type:null!==a&&void 0!==a?a:"video/mp4"})})},m=e=>{const{aspect:i,embedHTML:t,image:o,video:n}=e,[l,m]=(0,a.useState)(!1),g=!!t,u=!!o;if(!g&&!!!n)return(0,s.jsx)("p",{children:"Video missing."});const p="auto"===i?"16/9":i;return(0,s.jsx)("div",{className:r.A.videoContainer,style:{aspectRatio:p},children:l||!u?g?(0,s.jsx)("div",{className:r.A.embedContainer,dangerouslySetInnerHTML:t}):(0,s.jsx)(c,{...e}):(0,s.jsx)(d,{...e,onPlay:()=>m(!0)})})};var g=t(71892);const u=()=>(0,s.jsx)("div",{children:"No Video ID"});var p=t(66885),h=t(70802),b=t(19424);const y=e=>{let{aspect:i,cookieCategory:t,cookieConsentMessagingContent:o,embedHtml:r,hasConsent:n,logo:l,placeHolderImage:c,thirdPartyName:g,thirdPartyUrl:u,videoTheme:y,...v}=e;const f=(0,a.useRef)(null);if(n)return(0,s.jsx)(m,{embedHTML:{__html:(0,p.renderToString)(r)},aspect:i,image:c,videoTheme:y,...v});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d,{aspect:i,image:c,onPlay:()=>{var e;null===(e=f.current)||void 0===e||e.showModal()},videoTheme:y}),(0,s.jsx)(h.e,{ref:f,cookieCategory:t,cookieConsentMessagingContent:o,logo:l,openConsentPreferences:()=>{var e;(0,b.bl)(),null===(e=f.current)||void 0===e||e.close()},thirdPartyName:g,thirdPartyUrl:u})]})},v=e=>{let{category:i,label:t,isEnabled:a,onChange:o}=e;return(0,s.jsxs)("fieldset",{style:{border:"none",padding:"0.5em 0"},children:[(0,s.jsx)("legend",{style:{fontWeight:"bold"},children:t}),(0,s.jsxs)("div",{style:{display:"flex",gap:"1em"},children:[(0,s.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,s.jsx)("input",{type:"radio",id:`${i}-on`,name:i,value:"true",checked:a,onChange:()=>o(!0)}),(0,s.jsx)("label",{htmlFor:`${i}-on`,children:"On"})]}),(0,s.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,s.jsx)("input",{type:"radio",id:`${i}-off`,name:i,value:"false",checked:!a,onChange:()=>o(!1)}),(0,s.jsx)("label",{htmlFor:`${i}-off`,children:"Off"})]})]})]})},f=e=>{let{devConsent:i,setDevConsent:t}=e;const a=(e,i)=>{t((t=>({...t,[e]:i})))};return(0,s.jsxs)("div",{style:{position:"fixed",bottom:"20px",left:"20px",backgroundColor:"rgba(255, 255, 255, 0.95)",border:"1px solid #ccc",borderRadius:"8px",padding:"1em",zIndex:9999,fontFamily:"sans-serif",fontSize:"1rem",boxShadow:"0 4px 12px rgba(0,0,0,0.15)"},children:[(0,s.jsx)("h4",{style:{marginTop:0,marginBottom:"1em"},children:"Author Cookie Controls"}),(0,s.jsxs)("form",{onSubmit:e=>e.preventDefault(),children:[(0,s.jsx)(v,{category:"functional",label:"Functional",isEnabled:i.functional,onChange:e=>a("functional",e)}),(0,s.jsx)(v,{category:"advertising",label:"Advertising",isEnabled:i.advertising,onChange:e=>a("advertising",e)}),(0,s.jsx)(v,{category:"chat",label:"Chat",isEnabled:i[4],onChange:e=>a(4,e)})]})]})},x=e=>{let{image:i,videoId:t,config:o,...r}=e;const[n,l]=(0,a.useState)({4:!1,advertising:!1,functional:!1}),d=(0,a.useMemo)((()=>{if("undefined"===typeof window)return!1;if(!(window.location.hostname.startsWith("localhost")||window.location.hostname.startsWith("author")))return!1;return new URLSearchParams(window.location.search).has("authorCookieBanner")}),[]);if(!t)return(0,s.jsx)(u,{});const c=(d?n:(0,g.uC)())[o.cookieCategoryKey],m=o.buildEmbedHtml(t,r.imageAlt),p=(()=>{return c?null!==i&&void 0!==i?i:o.buildImageUrl(t):null!==(e=null===r||void 0===r||null===(a=r.cookieConsentMessagingContent)||void 0===a?void 0:a.videoPlaceholderImage)&&void 0!==e?e:"";var e,a})(),h=o.buildThirdPartyUrl(t),b=o.logo;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{cookieCategory:o.cookieCategoryName,embedHtml:m,hasConsent:c,logo:b,placeHolderImage:p,thirdPartyName:o.thirdPartyName,thirdPartyUrl:h,...r}),d&&(0,s.jsx)(f,{devConsent:n,setDevConsent:l})]})};const j={thirdPartyName:"Vidyard",cookieCategoryName:"functional",cookieCategoryKey:"functional",buildEmbedHtml:(e,i)=>(0,s.jsx)("iframe",{className:"vidyard_iframe",title:null!==i&&void 0!==i?i:"Vidyard Video",src:`//play.vidyard.com/${e}
1?autoplay=1`,width:"640",height:"360",scrolling:"no",frameBorder:"0",allowTransparency:!0,allowFullScreen:!0,referrerPolicy:"no-referrer-when-downgrade"}),buildImageUrl:e=>`https://play.vidyard.com/${e}.jpg`,buildThirdPartyUrl:e=>`https://share.vidyard.com/watch/${e}`,logo:{img:t.p+"static/media/vidyardLogo.537b5a38b90d0ada93e5cbd9448b644b.svg",altText:"Vidyard Logo"}},C=e=>(0,s.jsx)(x,{...e,config:j});const k={thirdPartyName:"YouTube",cookieCategoryName:"advertising",cookieCategoryKey:"advertising",buildEmbedHtml:(e,i)=>(0,s.jsx)("iframe",{width:"577",height:"400",src:`https://www.youtube.com/embed/${e}?autoplay=1`,title:null!==i&&void 0!==i?i:"Youtube Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}),buildImageUrl:e=>`https://img.youtube.com/vi/${e}/maxresdefault.jpg`,buildThirdPartyUrl:e=>`https://www.youtube.com/watch?v=${e}`,logo:{img:t.p+"static/media/youTubeLogo.d3477983534a558c2cb5bc8bb4205085.svg",altText:"YouTube Logo"}},w=e=>(0,s.jsx)(x,{...e,config:k}),_=e=>{let{url:i,tourialPlaceholderImage:t,aspect:o,imageAlt:l,cropSize:d}=e;if((0,a.useContext)(g.ww).advertising)return(0,s.jsx)("iframe",{allow:"fullscreen",style:{display:"block",minHeight:"600px",width:"100%",padding:"0",margin:"0"},title:"Tourial",src:i});{const e="https://dnb.tourial.com",a=null===i||void 0===i?void 0:i.replace(`${e}/`,`${e}/pages/`);return(0,s.jsx)(s.Fragment,{children:t&&i&&(0,s.jsx)("a",{href:a,target:"_blank",rel:"noreferrer noopener",children:t&&(0,s.jsx)(n.jG,{className:r.A.image,style:{aspectRatio:o},additionalParams:d,src:t,alt:null!==l&&void 0!==l?l:"Tourial Tutorial"})})})}},P={thirdPartyName:"Simplecast",cookieCategoryName:"Functional",cookieCategoryKey:"functional",buildEmbedHtml:(e,i)=>(0,s.jsx)("iframe",{height:"200px",width:"100%",frameBorder:"no",scrolling:"no",title:null!==i&&void 0!==i?i:"Simplecast Audio Player",src:`https://player.simplecast.com/${e}?dark=true&color=004F71`}),buildImageUrl:()=>"",buildThirdPartyUrl:e=>`https://player.simplecast.com/${e}?dark=true&color=004F71`,logo:{img:"",altText:""}},T=e=>(0,s.jsx)(x,{config:P,...e}),$=e=>{let{embedHTML:i,aspect:t}=e;return(0,s.jsx)("div",{style:{aspectRatio:t},className:r.A.embedContainer,dangerouslySetInnerHTML:i})};var L=t(39295);const N=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("figure",{children:[(0,s.jsx)("img",{src:e.src,loading:e.lazyEnabled?"lazy":"eager",style:{aspectRatio:e.aspectRatio},className:`${e.baseCssClass}__image`,alt:e.alt||""}),!!e.title&&(0,s.jsx)("figcaption",{className:L.A.caption,itemProp:"caption",children:e.title})]})}),A=e=>{if(e.imageLink&&e.imageLink.valid){const i="_blank"===e.imageLink.attributes.target?(e.imageLink.attributes.rel?`${e.imageLink.attributes.rel} `:"")+"noopener":e.imageLink.attributes.rel;return(0,s.jsx)("a",{className:`${e.baseCssClass}__link`,...e.imageLink.attributes,href:e.imageLink.url,rel:i,children:(0,s.jsx)(N,{...e})})}return(0,s.jsx)(N,{...e})},S=e=>{const i=e.baseCssClass||"cmp-image";return(0,s.jsx)("div",{className:i,children:(0,s.jsx)(A,{...e,baseCssClass:i})})},I=e=>{var i,t,a,o;let{mediaType:r,aspect:n,image:d,imageAlt:c,video:g,videoTheme:u,mimeType:p,embedHTML:h,tourialUrl:b,tourialPlaceholderImage:y,cropSize:v,videoId:f,cookieConsentMessagingContent:x,imageV3:j}=e;d=null!==(i=null===j||void 0===j?void 0:j.src)&&void 0!==i?i:d,c=null!==(t=null===j||void 0===j?void 0:j.alt)&&void 0!==t?t:c,y=null!==(a=null===j||void 0===j?void 0:j.src)&&void 0!==a?a:y;const k=null!==(o=null===j||void 0===j?void 0:j.aspectRatio)&&void 0!==o?o:n;return(0,s.jsxs)(s.Fragment,{children:["tourial"===r&&(0,s.jsx)(_,{aspect:k,cropSize:v,imageAlt:c,url:b,tourialPlaceholderImage:y}),"image"===r&&!j&&(0,s.jsx)(l,{aspect:n,cropSize:v,image:d,imageAlt:c}),"image"===r&&j&&(0,s.jsx)(S,{...j}),"vidyard"===r&&(0,s.jsx)(C,{aspect:n,cookieConsentMessagingContent:x,cropSize:v,image:d,imageAlt:c,videoTheme:u,videoId:f}),"youtube"===r&&(0,s.jsx)(w,{aspect:n,cookieConsentMessagingContent:x,cropSize:v,image:d,imageAlt:c,videoTheme:u,videoId:f}),"video"===r&&(0,s.jsx)(m,{aspect:n,image:d,cookieConsentMessagingContent:x,cropSize:v,imageAlt:c,mimeType:p,videoTheme:u,video:g,embedHTML:h}),"simpleCast"===r&&(0,s.jsx)(T,{aspect:n,cookieConsentMessagingContent:x,cropSize:v,imageAlt:c,videoId:f}),"embededHtml"===r&&h&&(0,s.jsx)($,{aspect:n,embedHTML:h})]})}}
1,35154:function(e,i,t){t.d(i,{jG:function(){return d}});var a=t(65043),o=t(39295),r=t(51172),n=t(70579);const s=e=>{const{src:i,lazyEnabled:t=!0,style:a,className:r,alt:s,imageCaption:l}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("figure",{children:[(0,n.jsx)("img",{src:i,loading:t?"lazy":"eager",className:r,style:a,alt:s}),l&&(0,n.jsx)("figcaption",{className:o.A.caption,children:l})]})})},l=e=>{if(e.imageLink&&e.imageLink.valid){const i="_blank"===e.imageLink.attributes.target?(e.imageLink.attributes.rel?`${e.imageLink.attributes.rel} `:"")+"noopener":e.imageLink.attributes.rel;return(0,n.jsx)("a",{...e.imageLink.attributes,href:e.imageLink.url,rel:i,children:(0,n.jsx)(s,{...e})})}return(0,n.jsx)(s,{...e})},d=e=>{const[i,t]=(0,a.useState)(""),[o,s]=(0,a.useState)("");(0,a.useEffect)((()=>{e.src&&e.src.startsWith("/content")?(async i=>{try{const a=await(0,r.jQ)(i),o=(0,r.Dm)(a,i,e.additionalParams);t(o.src),o.description&&s(o.description)}catch(a){console.error(a),t(i)}})(e.src):t(e.src)}),[e.src,e.additionalParams]);const d=e.alt,c="string"===typeof d?d.trim():o?o.trim():"";return(0,n.jsx)("div",{children:i&&(0,n.jsx)(l,{...e,src:i,alt:c})})}},51172:function(e,i,t){t.d(i,{Dm:function(){return n},jQ:function(){return r},sg:function(){return a}});const a=e=>!!e&&/\.svg(?:\?|#|$)/i.test(e),o=e=>/[?:&]bfc=(on|off)(?:[&?]|$)/.test(e)?e:`${e}${e.includes("?")?"&":"?"}bfc=on`,r=async e=>{const i=`${e}/_jcr_content/metadata.json`,t=await fetch(i);if(!t.ok)throw new Error(`Response status: ${t.status}`);return await t.json()},n=(e,i,t)=>{const r="dam:scene7Domain",n="dam:scene7File";if(e&&e[r]&&e[n]){const s=i.toLowerCase().endsWith(".gif")||"image/gif"===e["dc:format"],l=e["dc:description"];if(s){return{src:`${e[r]}is/content/${e[n]}`,description:l,isGif:!0}}{let s=`${e[r]}is/image/${e[n]}`;if(t){s=a(i)?`${s}?${t}`:`${s}:${t}`}return{src:o(s),description:l,isGif:!1}}}return{src:i,isGif:!1}}}
1,48388:function(e,i){i.A={"supports-hover":"(hover: hover) and (pointer: fine)","screen-md":"min-width: 48rem","screen-lg":"min-width: 64rem",eyebrow:"embedded-media_eyebrow__BxWO6",title:"embedded-media_title__sIiZE",description:"embedded-media_description__NPpdM",mediaContainer:"embedded-media_mediaContainer__2yZZF",image:"embedded-media_image__x5YCj",fallbackVideoPlaceholder:"embedded-media_fallbackVideoPlaceholder__kmnRZ",videoContainer:"embedded-media_videoContainer__XkqFp",embedContainer:"embedded-media_embedContainer__XwaUO",playButton:"embedded-media_playButton__nNBu9",reducedContainer:"embedded-media_reducedContainer__Q8MKv"}},39295:function(e,i){i.A={caption:"image_caption__bWjRy"}}}]);

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.