1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[21941],{58105:function(e,t,l){"use strict";l(71393),l(64935),l(59349);var i=l(73656);i.env.LOCAL_API_URL||i.env.PORT},31155:function(e,t,l){"use strict";l(59349);var i=l(46794);l(73656),i.Fo},22921:function(e,t,l){"use strict";l.d(t,{ho:function(){return T}}),l(46794);var i=l(59349);l(31155),l(33175),l(50013),l(70086);var n=l(41897);l(72291),l(64935),l(90841),l(58105),l(84463);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakSet;if(null===e||"object"!=typeof e)return!1;if(t.has(e))return!0;t.add(e);try{if(Array.isArray(e)){for(let l of e)if(r(l,t))return!0}else for(let l of Object.values(e))if(r(l,t))return!0}finally{t.delete(e)}return!1},a=e=>{var t,l,i;return!!(e&&"object"==typeof e&&(null===(i=e.sys)||void 0===i?void 0:null===(l=i.contentType)||void 0===l?void 0:null===(t=l.sys)||void 0===t?void 0:t.id)&&e.fields)},o=async e=>{let{client:t,entries:l,locale:i}=e;if(!l||0===l.length)return[];let n=[];for(let e of l)r(e)&&n.push(e);if(0===n.length)return l;let o=new Set,s=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new WeakSet;if(e&&"object"==typeof e){if(l.has(e))return"[Circular]";l.add(e);try{if(Array.isArray(e))for(let i=0;i<e.length;i++){let n=s(e[i],t,l);"[Circular]"===n&&(e[i]="[Circular]")}else{let i=a(e),{fields:n,sys:r}=e;if(n)for(let[e,a]of Object.entries(n)){let o=s(a,t,l);"[Circular]"===o&&(n[e]="[Circular]",i&&(null==r?void 0:r.id)&&t.add(r.id))}for(let[i,n]of Object.entries(e))if("fields"!==i){let r=s(n,t,l);"[Circular]"===r&&(e[i]="[Circular]")}}}finally{l.delete(e)}}};for(let e of n)s(e,o);if(0===o.size)return l;let c=[...o],{items:d}=await t.getEntries({limit:c.length,locale:i,"sys.id[in]":c.join(",")}),u=new Map;for(let e of d)u.set(e.sys.id,e);let f=e=>{if(e&&"object"==typeof e){if(Array.isArray(e))for(let t of e)f(t);else{let{fields:t,sys:l}=e;if(t&&(null==l?void 0:l.id))for(let[e,i]of Object.entries(t))if("[Circular]"===i&&u.has(l.id))t[e]=u.get(l.id);else if(Array.isArray(i))for(let e of i)f(e);else f(i)}}};for(let e of n)f(e);return l},s=async e=>{let{client:t,entry:l,locale:i}=e;return(await o({client:t,entries:[l],locale:i}))[0]};var c=l(73656);c.env.CI;let d=async e=>{let t,l;let{data:n,headers:r,method:a,params:o,url:s}=e;if(!s||!a)throw Error("[Contentful] Error on fetching data");let c={body:["GET","HEAD"].includes(a.toUpperCase())?null:JSON.stringify(n),headers:new Headers(r),method:a.toUpperCase()},d=o?new URLSearchParams(o).toString():"",u=new URL(s);u.search=d;let f=u.toString(),v=async()=>{try{return await fetch(f,c)}catch(e){throw(0,i.H)({err:e,message:"Fetch failed for ".concat(c.method," ").concat(f),prefix:"Contentful"}),e}},E=1;do{let i=await v();if(l=await i.json(),(t=i.status)<300)return{config:e,data:l,headers:i.headers,request:c,status:i.status,statusText:i.statusText};E++;let n=Number.parseInt(i.headers.get("X-Contentful-RateLimit-Reset"),10),r=1e3*(n=Number.isNaN(n)?2:E/2*n);await new Promise(e=>setTimeout(e,r))}while(429===t||t>=500);throw Error("[Contentful] Error (".concat(t,"): ").concat((null==l?void 0:l.message)||"Unknown response"))},u=()=>{var e,t;return(0,n.e)({accessToken:c.env.CONTENTFUL_ACCESS_TOKEN,adapter:d,environment:null!==(e=c.env.CONTENTFUL_ENVIRONMENT)&&void 0!==e?e:"master",host:null!==(t=c.env.CONTENTFUL_PREVIEW_HOST)&&void 0!==t?t:void 0,space:"k0itp0ir7ty4"})},f=e=>{let t,l,{contentType:i,locale:n,slug:r,taxonomy:a,type:o}=e;if(i===EDITORIAL_LANDING_PAGE_CONTENTFUL_TYPE){var s;let e=null==a?void 0:null===(s=a.fields)||void 0===s?void 0:s.slug;if(!e&&o===BlogTemplateKey.BlogHub)return logWithPrefix({message:"getUrlPath error: taxonomy slug is ".concat(e," for content type: ").concat(o,", locale: ").concat(n,", slug: ").concat(r),prefix:"Contentful",type:"error"}),null;switch(o){case"Blog - Hub":t="".concat(BLOG_POST_PATH_PREFIX,"/hub/").concat(e);break;case"Blog - Home":t="".concat(BLOG_POST_PATH_PREFIX);break;case"Resource - Hub":{let l=r||e;t="".concat(RESOURCES_HUB_PATH_PREFIX,"/").concat(l);break}case"Resource - Topic":{let l=r||e;t="".concat(RESOURCES_TOPIC_PATH_PREFIX,"/").concat(l);break}case"Resource - Search":t="".concat(RESOURCES_PATH_PREFIX,"/").concat(r);break;case"Resource - Home":t="".concat(RESOURCES_PATH_PREFIX);break;case"Webinars - Home":t="".concat(WEBINARS_PATH_PREFIX);break;default:t=Array.isArray(r)?r.join("/"):r}}else if(i===LANDING_PAGE_CONTENTFUL_TYPE)t=Array.isArray(r)?r.join("/"):r;
1else{if(!(l=({[BLOG_POST_CONTENTFUL_TYPE]:BLOG_POST_PATH_PREFIX,[COUNTRY_HIRING_CONTENTFUL_TYPE]:COUNTRY_HIRING_PATH_PREFIX,[CUSTOMER_SPOTLIGHT_CONTENTFUL_TYPE]:CUSTOMER_SPOTLIGHT_PATH_PREFIX,[GLOSSARY_CONTENTFUL_TYPE]:GLOSSARY_TERM_PATH_PREFIX,[PERSON_CONTENTFUL_TYPE]:BLOG_POST_AUTHOR_PATH_PREFIX,[RESOURCE_CONTENTFUL_TYPE]:RESOURCES_PATH_PREFIX,[USE_CASE_CONTENTFUL_TYPE]:USE_CASES_PATH_PREFIX,[WEBINAR_CONTENTFUL_TYPE]:WEBINARS_PATH_PREFIX})[i]))return null;"string"==typeof r?t=r:Array.isArray(r)&&(t=r.join("/"))}return t?[n&&n!==LOCALES.EN_US?"/".concat(n):"/",l,t].filter(Boolean).join("/").replaceAll(/\/+/g,"/"):null},v=e=>{var t,l,i;return null!==(i=null==e?void 0:null===(l=e.contentType)||void 0===l?void 0:null===(t=l.sys)||void 0===t?void 0:t.id)&&void 0!==i?i:null},E=e=>null==e?void 0:e.type,T=async e=>{var t;let{contentType:l,include:i=8,locale:n,skipCircularFix:r=!1,where:a={},...o}=e,c=u(),d=await c.getEntries({content_type:l,include:i,limit:1,locale:n,...a,...o}),f=null!==(t=null==d?void 0:d.items.at(0))&&void 0!==t?t:null;return f?r?f:await s({client:c,entry:f,locale:n}):null},_=async function(e){var t,l,i,n,r,a,o,s,c,d,u,T,y,h;let P,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"root",O=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,R=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new WeakMap;if(null===O&&(O=p.isV2Fetching?[]:new WeakSet),!e||"object"!=typeof e)return e;if(R.has(e))return R.get(e);if(p.isV2Fetching?O.includes(e):O.has(e))return null;p.isV2Fetching?P=[...O,e]:(O.add(e),P=O);let A=new Set(["sys","metadata","svg"]);if(Array.isArray(e)){let t=e.filter(e=>{var t,l;return null!==e&&((null===(t=e.sys)||void 0===t?void 0:t.type)!=="Link"||!!e.fields||null!==(l=e.sys)&&void 0!==l&&!!l.isCircular)}),l=(await Promise.all(t.map((e,t)=>_(e,p,"".concat(g,"[").concat(t,"]"),P,R)))).filter(Boolean);return p.isV2Fetching||O.delete(e),R.set(e,l),l}switch(v(e.sys)){case"pageMetadata":e.fields.localeBanner=(null!==(t=e.fields.localeBanner)&&void 0!==t?t:[]).map(e=>{let{fields:t,...l}=e,{addPrefixThe:i=!1,country:n,globalNavigation:r=!1,languageCode:a,mainNavigation:o=!1}=null!=t?t:{};return{fields:{addPrefixThe:i,country:n,globalNavigation:r,languageCode:a,mainNavigation:o},...l}}),e.fields.publishedLocales=(null!==(l=e.fields.publishedLocales)&&void 0!==l?l:[]).map(e=>{let{fields:t,...l}=e,{addPrefixThe:i=!1,country:n,globalNavigation:r=!1,languageCode:a,mainNavigation:o=!1}=null!=t?t:{};return{fields:{addPrefixThe:i,country:n,globalNavigation:r,languageCode:a,mainNavigation:o},...l}}),delete e.fields.flag;break;case"componentLink":if(e.fields.internalPage){let{internalPage:t}=e.fields,l=(null===(i=t.fields)||void 0===i?void 0:i.slug)?t:null===(n=t.fields)||void 0===n?void 0:n.internalPage,o=null==l?void 0:l.sys,s=null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.slug,c=null==o?void 0:o.locale,d=v(o),u=null==l?void 0:null===(a=l.fields)||void 0===a?void 0:a.type;s&&d&&(e.fields.internalUrl=f({contentType:d,locale:c,slug:s,type:u})),delete e.fields.internalPage}break;case"resource":e.fields.topics=[];break;case MEDIA_ITEM_CONTENTFUL_TYPE:{let{embedHeight:t,embedUrl:l,embedWidth:i}=e.fields;if(l&&!(i&&t)){let t=await fetchEmbedDimensions(l);t&&(e.fields.embedWidth=t.width,e.fields.embedHeight=t.height)}}}let N={};if(e.sys){let{contentType:t=null,createdAt:l=null,firstPublishedAt:i=null,id:n,publishedAt:r=null,type:a,updatedAt:o=null}=e.sys;N.sys={contentType:null!=t?t:a,createdAt:l,firstPublishedAt:i,id:n,publishedAt:r,updatedAt:o}}if(e.metadata){let t=null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(o=s.file)||void 0===o?void 0:o.contentType,l=null===(c=e.metadata.tags)||void 0===c?void 0:c.map(e=>{var t;return null===(t=e.sys)||void 0===t?void 0:t.id});if(N.metadata={tags:l},"Asset"===E(e.sys)&&"image/svg+xml"===t){let t=e.sys.id;path.join("assets","".concat(t,".svg"));try{let t=await fetch("https:".concat(e.fields.file.url)),l=await t.text();N.svg=l}catch(e){logWithPrefix({message:"Error fetching SVG (assetId: ".concat(t,"): ").concat(e instanceof Error?e.message:String(e)),prefix:"Contentful",type:"error"})}}}for(let[t,l]of Object.entries(e))if(!A.has(t)){if(p.isV2Fetching){if(l&&"object"==typeof l&&(null===(d=l.sys)||void 0===d?void 0:d.type)==="Link"&&!l.fields){/^[a-f0-9]{40}$/i.test((null===(u=l.sys)||void 0===u?void 0:u.id)||"")?console.warn('[processEntry] Dropped unresolvable Draft/Deleted Link (pre-existing): path="'.concat(g,".").concat(t,'", field="').concat(t,'", id="').concat(null===(T=l.sys)||void 0===T?void 0:T.id,'"')):console.warn('[processEntry] Dropped unresolved Link: path="'.concat(g,".").concat(t,'", field="').concat(t,'", id="').concat(null===(y=l.sys)||void 0===y?void 0:y.id,'", linkType="').concat(null===(h=l.sys)||void 0===h?void 0:h.linkType,'"'));continue}N[t]=await _(l,p,"".concat(g,".").concat(t),P,R)}else N[t]=await _(l,p)}return p.isV2Fetching||O.delete(e),R.set(e,N),N}},71393:function(){},44944:function(){}}]);
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.