(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888,9038],{18278:function(e,t){"use strict";t.Z="/assets/_next/static/8ae2d885a62077e5878073ad2836062f.svg"},42384:function(e,t){"use strict";t.Z="/assets/_next/static/536f889f58291af6cd837b44a2200bd2.svg"},61586:function(e,t){"use strict";t.Z="/assets/_next/static/bacb20be9d62eb94a4d512620e60753f.svg"},73363:function(e,t){"use strict";t.Z="/assets/_next/static/d29781933e0515315535edc79722948f.svg"},8679:function(e,t,r){"use strict";var n=r(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(t),g=c(r),m=0;mt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},c=1e3,u=function(e){var t=e.elementRef,r=s(e,["elementRef"]),o=function(e){e.scrollIntoView(),e.dataset.sectionFocus="true",setTimeout(function(){delete e.dataset.sectionFocus},c)};return n.createElement(i,Object.assign({onClick:function(e){var r=e.target;if(!t.current){console.error("Target element not found");return}r.blur(),o(t.current)}},r),"Skip Navigation")};u.StyledContentHighlight=a;var l=u},88635:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(18278),o=r(42384),i=r(61586),a={name:"Default",colors:{primary:"#1b2733",primaryBrand:"#0277BD",primaryAction:"#0f62fa",primaryLight:"#eff2f7",primaryLightHover:"#015384",secondaryLightHover:"#0277bd0d",secondaryCharcoal:"#5c697d",gray:"#B8B7B7",black:"#1b2733",white:"#fff",staticBlack:"#1b2733",staticWhite:"#fff",staticGrey:"#CCD4E3",blue:"#0277bd",greyBorder:"#dce2ed",greyHover:"#f9f9f9",greyLight:"#eff2f6",secondary:"#455060",tertiary:"#687588",green:"#008558",red:"#C40028",contentHighlight:"#d9f2ff",inputBorder:"#8494AA",inputBackground:"#fff",overlay:"rgba(255, 255, 255, 0.88)",modalDropShadow:"rgba(0, 0, 0, 0.2)",modalBorder:"#CCD4E3",dropdownShadow:"#455060",loggedInNavbarBg:"#1b2733",loggedInNavbarLink:"#CCD4E3",loggedInNavbarHover:"#303B49",radioImageUnChecked:"/assets/_next/static/773491b9a0935a58233e46af2a130b67.svg",radioImageChecked:"/assets/_next/static/4cb112c2b403189d1f055b0d39098a73.svg",checkboxImageChecked:"/assets/_next/static/f05f550ba41cc823d32610d0ba5fc4a1.svg",checkboxImageUnChecked:"/assets/_next/static/55324d6be447bddd19288a90065b3c97.svg",dropDownArrow:"/assets/_next/static/566214b13f5507623b78629130e0791b.svg",subFooterText:"#EFF2F7",tempDarkMode:{radioImageUnChecked:r(73363).Z,radioImageChecked:i.Z,checkboxImageChecked:n.Z,checkboxImageUnChecked:o.Z,blue:"#278EFF"}},fonts:{textSizeH1:"4rem",textSizeH2:"3.2rem",textSizeH3:"2.6rem",textSizeH4:"1.8rem",textSizeH5:"1.6rem",textSizeH6:"1.4rem",textStandard:"1.6rem",textLarge:"1.8rem",textSmall:"1.4rem",fontFamily:"'Source Sans Pro', sans-serif",navbarFontFamily:"'Source Sans Pro__subset', sans-serif",boldWeight:600},breakpoints:{siteContainerMaxWidth:"1648px",siteContentMaxWidth:"1400px",siteContentReducedWidth:"1040px",mediaMobileMax:"479px",mediaTabletMax:"767px",mediaDesktopMin:"960px",xsphone:"320px",smphone:"400px",phone:"480px",phone560:"560px",phone590:"590px",smtablet:"680px",tablet:"768px",desktop930:"930px",desktop960:"960px",desktop990:"990px",desktop1000:"1000px",desktop1100:"1100px",desktop1200:"1200px",desktop1300:"1300px",desktop1400:"1400px"},form:{boxHeightLarge:"4.6rem",boxHeightSmall:"3.2rem"},spacing:{textStandard:"1rem"}}},26504:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(92777),o=r(82262),i=r(10748),a=r(45959),s=r(63553),c=r(37247),u=r(59499),l=r(67294),f=r(36808),d=r.n(f),p=r(87379),h=p.ZP.div.withConfig({displayName:"BannerContainer",componentId:"sc-17tvlka-0"})(["display:flex;justify-content:space-between;align-items:center;width:100%;position:fixed;left:0;background-color:",";padding:1.5rem 4rem;color:#fff;bottom:0;font-size:1.4rem;z-index:100000;span{a{display:inline;color:#fff;text-decoration:underline;font-size:1.4rem;}}"],function(e){return e.bg||"#1b2733"}),g=p.ZP.button.withConfig({displayName:"BannerDismiss",componentId:"sc-17tvlka-1"})(["min-width:4.4rem;min-height:4.4rem;border:none;background:transparent;font-size:2.5rem;font-weight:600;color:#fff;"]),m=r(85893),b="gdpr_dismiss",y=function(e){(0,a.Z)(l,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=(0,c.Z)(l);if(t){var n=(0,c.Z)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function l(){var e;(0,n.Z)(this,l);for(var t=arguments.length,o=Array(t),a=0;a0){n=!0;var o=e.key.slice(e.key.indexOf("$")+1);r.has(o)?t=!1:r.add(o)}switch(e.type){case"title":case"base":i.has(e.type)?t=!1:i.add(e.type);break;case"meta":for(var c=0,u=g.length;c MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE */var n=r(20968),o=r(23322),i=r(16089);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(i);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(e.includes(n))return o()}}catch(e){r.e(e)}finally{r.f()}})}function a(e,t){o(),(i=u.default.useContext(l.LoadableContext))&&Array.isArray(r.modules)&&r.modules.forEach(function(e){i(e)});var i,a=u.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return u.default.useImperativeHandle(t,function(){return{retry:n.retry}},[]),u.default.useMemo(function(){var t;return a.loading||a.error?u.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:n.retry}):a.loaded?u.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return a.preload=function(){return o()},a.displayName="LoadableComponent",u.default.forwardRef(a)}(h,e)}function b(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then(function(){if(e.length)return b(e,t)})}m.preloadAll=function(){return new Promise(function(e,t){b(f).then(e,t)})},m.preloadReady=function(e){return void 0===e&&(e=[]),new Promise(function(t){var r=function(){return p=!0,t()};b(d,e).then(r,r)})},window.__NEXT_PRELOADREADY=m.preloadReady;var y=m},5543:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return i}});var n=r(61757)._(r(67294)),o=n.default.createContext(null);function i(e){var t=(0,n.useContext)(o);t&&t(e)}},26807:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r(67294),o=n.useLayoutEffect,i=n.useEffect;function a(e){var t=e.headManager,r=e.reduceComponentsToState;function a(){if(t&&t.mountedInstances){var o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(function(){var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),function(){var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(function(){return t&&(t._pendingUpdate=a),function(){t&&(t._pendingUpdate=a)}}),i(function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}}),null}},43696:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});var r=function(e){}},31289:function(e,t,r){"use strict";r.d(t,{QU:function(){return en},S6:function(){return ei},wW:function(){return eo}});var n,o,i,a,s,c=Object.defineProperty,u=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t,r)=>u(e,"symbol"!=typeof t?t+"":t,r),f={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},d={0:8203,1:8204,2:8205,3:65279},p=[,,,,].fill(String.fromCodePoint(d[0])).join(""),h=Object.fromEntries(Object.entries(d).map(e=>e.reverse())),g=Object.fromEntries(Object.entries(f).map(e=>e.reverse())),m=`${Object.values(f).map(e=>`\\u{${e.toString(16)}}`).join("")}`,b=RegExp(`[${m}]{4,}`,"gu"),y=Object.prototype.hasOwnProperty,v=Object.prototype.toString,w=function(e,t,r){if("[object Function]"!==v.call(t))throw TypeError("iterator must be a function");var n=e.length;if(n===+n)for(var o=0;o(...t)=>{S&&console[e](...t)},O={error:x("error"),warn:x("warn"),log:x("log")};function E(e,t,r){let n={...t,method:e,source:"live-preview-sdk",location:window.location.href,version:"4.5.6"};O.log("Send message",n),r.forEach(e=>{var t;null==(t=window.top)||t.postMessage(n,e)})}function j(e,t=100){let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}}var C="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},k={exports:{}};k.exports,function(e,t){var r,n,o,i="__lodash_hash_undefined__",a="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",l="[object Error]",f="[object Function]",d="[object Map]",p="[object Number]",h="[object Object]",g="[object Promise]",m="[object RegExp]",b="[object Set]",y="[object String]",v="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",S=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O[a]=O[s]=O[w]=O[c]=O[_]=O[u]=O[l]=O[f]=O[d]=O[p]=O[h]=O[m]=O[b]=O[y]=O[v]=!1;var E="object"==typeof C&&C&&C.Object===Object&&C,j="object"==typeof self&&self&&self.Object===Object&&self,k=E||j||Function("return this")(),P=t&&!t.nodeType&&t,A=P&&e&&!e.nodeType&&e,I=A&&A.exports===P,T=I&&E.process,R=function(){try{return T&&T.binding&&T.binding("util")}catch{}}(),D=R&&R.isTypedArray;function M(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function L(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var U=Array.prototype,N=Function.prototype,z=Object.prototype,B=k["__core-js_shared__"],F=N.toString,$=z.hasOwnProperty,H=(r=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",G=z.toString,Z=RegExp("^"+F.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=I?k.Buffer:void 0,V=k.Symbol,q=k.Uint8Array,Y=z.propertyIsEnumerable,X=U.splice,J=V?V.toStringTag:void 0,K=Object.getOwnPropertySymbols,Q=W?W.isBuffer:void 0,ee=(n=Object.keys,o=Object,function(e){return n(o(e))}),et=eE(k,"DataView"),er=eE(k,"Map"),en=eE(k,"Promise"),eo=eE(k,"Set"),ei=eE(k,"WeakMap"),ea=eE(Object,"create"),es=ek(et),ec=ek(er),eu=ek(en),el=ek(eo),ef=ek(ei),ed=V?V.prototype:void 0,ep=ed?ed.valueOf:void 0;function eh(e){var t=-1,r=null==e?0:e.length;for(this.clear();++ts))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var l=-1,f=!0,d=2&r?new eb:void 0;for(i.set(e,t),i.set(t,e);++l-1&&l%1==0&&l-1},eg.prototype.set=function(e,t){var r=this.__data__,n=ev(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},em.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(er||eg),string:new eh}},em.prototype.delete=function(e){var t=eO(this,e).delete(e);return this.size-=t?1:0,t},em.prototype.get=function(e){return eO(this,e).get(e)},em.prototype.has=function(e){return eO(this,e).has(e)},em.prototype.set=function(e,t){var r=eO(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},eb.prototype.add=eb.prototype.push=function(e){return this.__data__.set(e,i),this},eb.prototype.has=function(e){return this.__data__.has(e)},ey.prototype.clear=function(){this.__data__=new eg,this.size=0},ey.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ey.prototype.get=function(e){return this.__data__.get(e)},ey.prototype.has=function(e){return this.__data__.has(e)},ey.prototype.set=function(e,t){var r=this.__data__;if(r instanceof eg){var n=r.__data__;if(!er||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new em(n)}return r.set(e,t),this.size=r.size,this};var ej=K?function(e){return null==e?[]:function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r-1&&e%1==0&&e<=9007199254740991}function eM(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eL(e){return null!=e&&"object"==typeof e}var eU=D?function(e){return D(e)}:function(e){return eL(e)&&eD(e.length)&&!!O[ew(e)]};e.exports=function(e,t){return function e(t,r,n,o,i){return t===r||(null!=t&&null!=r&&(eL(t)||eL(r))?function(e,t,r,n,o,i){var f=eI(e),g=eI(t),v=f?s:eC(e),S=g?s:eC(t);v=v==a?h:v,S=S==a?h:S;var x=v==h,O=S==h,E=v==S;if(E&&eT(e)){if(!eT(t))return!1;f=!0,x=!1}if(E&&!x)return i||(i=new ey),f||eU(e)?eS(e,t,r,n,o,i):function(e,t,r,n,o,i,a){switch(r){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!i(new q(e),new q(t)));case c:case u:case p:return eP(+e,+t);case l:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case d:var s=M;case b:var f=1&n;if(s||(s=L),e.size!=t.size&&!f)break;var h=a.get(e);if(h)return h==t;n|=2,a.set(e,t);var g=eS(s(e),s(t),n,o,i,a);return a.delete(e),g;case"[object Symbol]":if(ep)return ep.call(e)==ep.call(t)}return!1}(e,t,v,r,n,o,i);if(!(1&r)){var j=x&&$.call(e,"__wrapped__"),C=O&&$.call(t,"__wrapped__");if(j||C){var k=j?e.value():e,P=C?t.value():t;return i||(i=new ey),o(k,P,r,n,i)}}return!!E&&(i||(i=new ey),function(e,t,r,n,o,i){var a=1&r,s=ex(e),c=s.length;if(c!=ex(t).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in t:$.call(t,l)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var d=!0;i.set(e,t),i.set(t,e);for(var p=a;++ue.reverse())),Object.fromEntries(Object.entries(T).map(e=>e.reverse()));var D=`${Object.values(T).map(e=>`\\u{${e.toString(16)}}`).join("")}`,M=RegExp(`[${D}]{4,}`,"gu");let L=e=>!!e&&e.nodeType===Node.ELEMENT_NODE&&!(!e.hasAttribute(A.FIELD_ID)||!e.hasAttribute(A.ENTRY_ID)&&!e.hasAttribute(A.ASSET_ID));function U(e,t){return e.href===t.href}function N({root:e=window.document,options:t,ignoreManual:r}){var n;let o;let i=[...r?[]:e.querySelectorAll(`[${A.ASSET_ID}][${A.FIELD_ID}], [${A.ENTRY_ID}][${A.FIELD_ID}]`)].map(e=>({element:e,attributes:function(e,t){if(!L(e))return null;let r={fieldId:e.getAttribute(A.FIELD_ID),locale:e.getAttribute(A.LOCALE)??t.locale,environment:e.getAttribute(A.ENVIRONMENT)??t.environment,space:e.getAttribute(A.SPACE)??t.space,manuallyTagged:!0},n=e.getAttribute(A.ENTRY_ID);if(n)return{...r,entryId:n};let o=e.getAttribute(A.ASSET_ID);return o?{...r,assetId:o}:null}(e,t)})).filter(({attributes:e})=>null!==e),a=[];for(let{node:t,text:r}of(n="body"in e?e.body:e,o=[],"function"==typeof n.matches&&n.matches("*")&&(o=[n]),[...o,...Array.from(n.querySelectorAll("*:not(script,style,meta,title)"))].map(e=>({node:e,text:e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:e.matches("img, video")?e.alt:Array.from(e.childNodes).filter(e=>e.nodeType===Node.TEXT_NODE&&!!e.textContent).map(e=>e.textContent).join("")})).filter(({text:e})=>!!(e&&e.match(M))))){let e=function(e){let t=e.match(b);if(t)return function(e,t=!1){let r=Array.from(e);if(r.length%2==0){if(r.length%4||!e.startsWith(p))return function(e,t){var r;let n=[];for(let t=.5*e.length;t--;){let r=`${g[e[2*t].codePointAt(0)]}${g[e[2*t+1].codePointAt(0)]}`;n.unshift(String.fromCharCode(parseInt(r,16)))}let o=[],i=[n.join("")],a=10;for(;i.length;){let e=i.shift();try{if(o.push(JSON.parse(e)),t)break}catch(n){if(!a--)throw n;let t=+(null==(r=n.message.match(/\sposition\s(\d+)$/))?void 0:r[1]);if(!t)throw n;i.unshift(e.substring(0,t),e.substring(t))}}return o}(r,t)}else throw Error("Encoded data has invalid length");let n=[];for(let e=.25*r.length;e--;){let t=r.slice(4*e,4*e+4).map(e=>h[e.codePointAt(0)]).join("");n.unshift(String.fromCharCode(parseInt(t,4)))}if(t){n.shift();let e=n.indexOf("\x00");return -1===e&&(e=n.length),[JSON.parse(n.slice(0,e).join(""))]}return n.join("").split("\x00").filter(Boolean).map(e=>JSON.parse(e))}(t[0],!0)[0]}(r);if(!(!e||!e.origin.includes("contentful.com"))&&!(function(e,t){for(let r of t)if(r.element===e||r.element.contains(e))return!0;return!1}(t,i)||a.some(r=>r.element.contains(t)&&U(r.sourceMap,e)))){if(t.matches("img")){let r=t.closest("figure")||t.closest("picture")||t;a.push({element:r,sourceMap:e});continue}a.push({element:t,sourceMap:e})}}let s=a.filter((e,t)=>a.findIndex(t=>!(!U(e.sourceMap,t.sourceMap)||e.element!==t.element))===t);for(let{element:e,sourceMap:t}of s){if(!t.contentful){O.warn("Element has missing information in their ContentSourceMap, please check if you have restricted the platform for the encoding. (Missing parameter: `contentful`)",{element:e,sourceMap:t});continue}let r={fieldId:t.contentful.field,locale:t.contentful.locale,space:t.contentful.space,environment:t.contentful.environment};"Asset"===t.contentful.entityType?r.assetId=t.contentful.entity:"Entry"===t.contentful.entityType&&(r.entryId=t.contentful.entity),i.push({element:e,attributes:r})}let c=i.filter(({attributes:e})=>(null==e?void 0:e.manuallyTagged)===!1||!(null!=e&&e.manuallyTagged)).length;return{taggedElements:i,manuallyTaggedCount:i.length-c,automaticallyTaggedCount:c,autoTaggedElements:s}}function z({options:e}){return[...new Set(N({options:e}).taggedElements.map(e=>e.attributes&&"entryId"in e.attributes?e.attributes.entryId:null).filter(Boolean))]}class B{constructor(e){l(this,"delay",300),l(this,"isScrolling",!1),l(this,"scrollTimeout"),l(this,"isResizing",!1),l(this,"resizeTimeout"),l(this,"hoveredElement"),l(this,"taggedElements",[]),l(this,"manuallyTaggedCount",0),l(this,"automaticallyTaggedCount",0),l(this,"intersectionObserver"),l(this,"observersCB",[]),l(this,"cleanupCB",[]),l(this,"init",()=>{this.cleanupCB=[this.addScrollListener(),this.addMutationListener(document.body),this.addResizeListener(),this.addHoverListener()],this.updateElements()}),l(this,"cleanup",()=>{this.observersCB.forEach(e=>e()),this.cleanupCB.forEach(e=>e())}),l(this,"receiveMessage",e=>{if(e.method===I.INSPECTOR_MODE_CHANGED){let{isInspectorActive:t}=e;t?this.init():this.cleanup()}}),l(this,"observe",e=>{this.intersectionObserver.observe(e);let t=this.addMutationListener(e);this.observersCB.push(t,()=>this.intersectionObserver.unobserve(e))}),l(this,"addScrollListener",()=>{let{targetOrigin:e}=this.options,t=()=>{this.isScrolling||(this.isScrolling=!0,E(I.SCROLL_START,{},e)),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isScrolling=!1,E(I.SCROLL_END,{},e),this.updateElements()},this.delay)},r={capture:!0,passive:!0};return window.addEventListener("scroll",t,r),()=>window.removeEventListener("scroll",t,r)}),l(this,"addMutationListener",e=>{let t=new MutationObserver(()=>{this.updateElements()});return t.observe(e,{characterData:!0,attributes:!0,attributeFilter:[A.ENTRY_ID,A.FIELD_ID,A.LOCALE,A.SPACE,A.ENVIRONMENT,"class","style"],childList:!0,subtree:!0}),()=>t.disconnect()}),l(this,"addResizeListener",()=>{let{targetOrigin:e}=this.options,t=new ResizeObserver(()=>{this.isResizing||(this.isResizing=!0,E(I.RESIZE_START,{},e)),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isResizing=!1,E(I.RESIZE_END,{},e),this.updateElements()},this.delay)});return t.observe(document.body),()=>t.disconnect()}),l(this,"addHoverListener",()=>{let e=j(e=>{let t;for(let r of e){let e=r;if("BODY"===e.nodeName)break;let n=this.taggedElements.find(t=>t.element===e);if(n){t=n;break}}this.hoveredElement=null==t?void 0:t.element,this.updateElements()},this.delay),t=t=>{e(t.composedPath())};return window.addEventListener("mouseover",t,{passive:!0}),()=>window.removeEventListener("mouseover",t)}),l(this,"sendTaggedElements",()=>{E(I.TAGGED_ELEMENTS,{elements:this.taggedElements.map(e=>({coordinates:e.coordinates,isVisible:e.isVisible,attributes:e.attributes,isHovered:this.hoveredElement===e.element})),automaticallyTaggedCount:this.automaticallyTaggedCount,manuallyTaggedCount:this.manuallyTaggedCount},this.options.targetOrigin)}),l(this,"updateElements",()=>{let{taggedElements:e,manuallyTaggedCount:t,automaticallyTaggedCount:r}=N({options:this.options}),n=e.map(({element:e,attributes:t})=>({element:e,coordinates:e.getBoundingClientRect(),attributes:t,isVisible:e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})}));P(n,this.taggedElements)||(this.observersCB.forEach(e=>e()),this.observersCB=[],this.taggedElements=n,e.forEach(({element:e})=>this.observe(e)),this.manuallyTaggedCount=t,this.automaticallyTaggedCount=r)}),this.options=e,this.intersectionObserver=new IntersectionObserver(e=>{let t=this.taggedElements;for(let r of e)if(r.isIntersecting)for(let e of t)e.element===r.target&&(e.coordinates=r.intersectionRect,e.isVisible=r.target.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}));this.taggedElements=t,this.sendTaggedElements()},{threshold:.15})}}let{parse:F,stringify:$}=JSON,H=String,G=(e,t)=>t,Z=(e,t,r)=>{let n=H(t.push(r)-1);return e.set(r,n),n},W=(e,t,r)=>{let n=new Map,o=[],i=[],a=+Z(n,o,G.call({"":e},"",e)),s=!a;for(;aE(e,r,t)}async receiveMessage(e){if(e.method===V.ENTRY_UPDATED){let{data:t,subscriptionId:r}=e,n=this.subscriptions.get(r);n?(n.callback(t),n.data=t,this.subscriptions.set(r,n)):O.error("Received an update for an unknown subscription",{subscriptionId:r,data:t,subscriptions:this.subscriptions})}}subscribe(e){let t=`${performance.now()}-${Math.random().toString(36).slice(2)}`,r=e.locale??this.defaultLocale;this.subscriptions.set(t,{...e});let n={locale:r,event:"edit",id:t,config:W(e)};return this.sendMessage(V.SUBSCRIBED,n),()=>{this.sendMessage(V.UNSUBSCRIBED,n),this.subscriptions.delete(t)}}}class Y{constructor({locale:e,options:t}){l(this,"locale"),l(this,"options"),l(this,"subscription"),this.locale=e,this.options=t}subscribe(e){return this.subscription&&O.log("There is already a subscription for the save event, the existing one will be replaced."),this.subscription=e,()=>{this.subscription=void 0}}receiveMessage(e){if(e.method===V.ENTRY_SAVED&&this.subscription){let{entity:t}=e;z({options:this.options}).includes(t.sys.id)&&this.subscription(t)}}}let X=["https://app.contentful.com","https://app.eu.contentful.com","http://localhost:3001"],J=class e{static init(t){var r;if("object"!=typeof t||!(null!=t&&t.locale))throw Error("Init function have to be called with a locale configuration (for example: `ContentfulLivePreview.init({ locale: 'en-US'})`)");let{debugMode:n,enableInspectorMode:o,enableLiveUpdates:i,locale:a,environment:s,space:c,targetOrigin:u}=t;if("u">typeof window){if(!function(){var e;try{return(null==(e=window.top)?void 0:e.location.href)!==window.location.href}catch{return!0}}())return this.liveUpdatesEnabled=!1,Promise.resolve(null);if(n&&(S=n),"boolean"==typeof o&&(this.inspectorModeEnabled=o),"boolean"==typeof i&&(this.liveUpdatesEnabled=i),this.locale=a,this.space=c,this.environment=s,this.initTargetOrigin(u),this.initialized)return O.log("You have already initialized the Live Preview SDK."),Promise.resolve(e.inspectorMode);this.inspectorModeEnabled&&(this.inspectorMode=new B({locale:a,space:c,environment:s,targetOrigin:this.targetOrigin,ignoreManuallyTaggedElements:null==(r=t.experimental)?void 0:r.ignoreManuallyTaggedElements})),this.liveUpdatesEnabled&&(this.liveUpdates=new q({locale:a,targetOrigin:this.targetOrigin}),this.saveEvent=new Y({locale:a,options:{locale:this.locale,space:this.space,environment:this.environment,targetOrigin:this.targetOrigin}})),window.addEventListener("message",e=>{var t,r,n;if("object"==typeof e.data&&e.data&&"source"in e.data&&"live-preview-editor"===e.data.source){if(O.log("Received message",e.data),e.data.method===V.DEBUG_MODE_ENABLED){S=!0;return}this.inspectorModeEnabled&&(null==(t=this.inspectorMode)||t.receiveMessage(e.data)),this.liveUpdatesEnabled&&(null==(r=this.liveUpdates)||r.receiveMessage(e.data),null==(n=this.saveEvent)||n.receiveMessage(e.data))}}),function(e,t=500){let r=window.location.href;setInterval(()=>{let t=window.location.href;t!==r&&(r=t,e(t))},t)}(()=>{E(V.URL_CHANGED,{action:V.URL_CHANGED,taggedElementCount:document.querySelectorAll(`[${A.ENTRY_ID}]`).length},this.targetOrigin)});let{taggedElements:l,manuallyTaggedCount:f,automaticallyTaggedCount:d}=this.inspectorModeEnabled?N({options:{locale:this.locale,space:this.space,environment:this.environment}}):{taggedElements:[],manuallyTaggedCount:0,automaticallyTaggedCount:0},p=l.length;return E(V.CONNECTED,{action:V.CONNECTED,connected:!0,tags:p,taggedElementCount:p,locale:this.locale,isInspectorEnabled:this.inspectorModeEnabled,isLiveUpdatesEnabled:this.liveUpdatesEnabled,manuallyTaggedElementCount:f,automaticallyTaggedElementCount:d},this.targetOrigin),this.initialized=!0,Promise.resolve(e.inspectorMode)}}static initTargetOrigin(e){if(e)this.targetOrigin=Array.isArray(e)?e:[e];else{let e=window.location.ancestorOrigins,t=e?X.find(t=>e.contains(t)):X.find(e=>document.referrer.includes(e));if(!t)throw Error("The current origin is not supported. Please provide a targetOrigin in the live preview configuration.");this.targetOrigin=[t]}}static subscribe(e,t){if(!this.liveUpdatesEnabled)return()=>{};let r="string"==typeof e?e:"edit",n="object"==typeof e?e:t;if("save"===r){if(!this.saveEvent)throw Error("Save event is not initialized, please call `ContentfulLivePreview.init()` first.");return this.saveEvent.subscribe(n.callback)}if(!this.liveUpdates)throw Error("Live updates are not initialized, please call `ContentfulLivePreview.init()` first.");return this.liveUpdates.subscribe(n)}static getProps(e){let{fieldId:t,locale:r,environment:n,space:o}=e;if(!this.inspectorModeEnabled)return null;if(t){let i={...r?{[A.LOCALE]:r}:{},...n?{[A.ENVIRONMENT]:n}:{},...o?{[A.SPACE]:o}:{},[A.FIELD_ID]:t};if(r&&(i[A.LOCALE]=r),void 0!==e.assetId)return{...i,[A.ASSET_ID]:e.assetId};if(void 0!==e.entryId)return{...i,[A.ENTRY_ID]:e.entryId}}return O.warn("Missing property for inspector mode",{...e}),null}static toggleInspectorMode(){return this.inspectorModeEnabled=!this.inspectorModeEnabled,this.inspectorModeEnabled}static toggleLiveUpdatesMode(){return this.liveUpdatesEnabled=!this.liveUpdatesEnabled,this.liveUpdatesEnabled}static openEntryInEditor(e){var t,r,n,o;let i={locale:this.locale,environment:this.environment,space:this.space};if(void 0!==e.assetId&&e.fieldId){t={...i,...e},r=this.targetOrigin,E("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...t},r);return}if(void 0!==e.entryId&&e.fieldId){n={...i,...e},o=this.targetOrigin,E("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...n},o);return}O.error("Please provide field id and entry id to openEntryInEditor.")}static getEntryList(){return z({options:{locale:this.locale,space:this.space,environment:this.environment}})}};l(J,"initialized",!1),l(J,"inspectorMode",null),l(J,"liveUpdates",null),l(J,"saveEvent",null),l(J,"inspectorModeEnabled",!0),l(J,"liveUpdatesEnabled",!0),l(J,"locale"),l(J,"space"),l(J,"environment"),l(J,"sendMessage"),l(J,"targetOrigin"),r(85893);var K=r(67294),Q={exports:{}},ee={};Q.exports=function(){if(s)return ee;s=1;var e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,n=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(t,i,a){var s,c={},u=null,l=null;for(s in void 0!==a&&(u=""+a),void 0!==i.key&&(u=""+i.key),void 0!==i.ref&&(l=i.ref),i)r.call(i,s)&&!o.hasOwnProperty(s)&&(c[s]=i[s]);if(t&&t.defaultProps)for(s in i=t.defaultProps)void 0===c[s]&&(c[s]=i[s]);return{$$typeof:e,type:t,key:u,ref:l,props:c,_owner:n.current}}return ee.Fragment=t,ee.jsx=i,ee.jsxs=i,ee}();var et=Q.exports;let er=(0,K.createContext)(null);function en({children:e,locale:t,space:r,environment:n,debugMode:o=!1,enableInspectorMode:i=!0,enableLiveUpdates:a=!0,targetOrigin:s,experimental:c}){if(!t)throw Error('ContentfulLivePreviewProvider have to be called with a locale property (for example: `{children}`');J.init({locale:t,space:r,environment:n,debugMode:o,enableInspectorMode:i,enableLiveUpdates:a,targetOrigin:s,experimental:c});let u=(0,K.useMemo)(()=>({locale:t,space:r,environment:n,debugMode:o,enableInspectorMode:i,enableLiveUpdates:a,targetOrigin:s}),[t,r,n,o,i,a,s]);return et.jsx(er.Provider,{value:u,children:e})}function eo(e,t,r=!1){var n;let[o,i]=(0,K.useState)({data:e,version:1}),a=(0,K.useRef)(e),s=(0,K.useRef)(j(i)),c=(0,K.useContext)(er),u="object"==typeof t?t:{locale:t,skip:r},l=(0,K.useMemo)(()=>(!c||!!c.enableLiveUpdates)&&!u.skip&&!!(Array.isArray(e)&&e.length||e&&"object"==typeof e&&Object.keys(e).length),[c,u.skip,e]);return n=[e,l,u.locale,u.query],(0,K.useEffect)(()=>{if(a.current!==e&&(i({data:e,version:1}),a.current=e),l)return J.subscribe("edit",{data:e,locale:u.locale,query:u.query,callback:e=>{s.current(t=>({data:e,version:t.version+1}))}})},function(e){let t=(0,K.useRef)(e),r=(0,K.useRef)(0);return P(e,t.current)||(t.current=e,r.current+=1),(0,K.useMemo)(()=>t.current,[r.current])}(n)),o.data}var ei=function(){return J.getProps.apply(J,arguments)}},67686:function(e,t,r){"use strict";r.d(t,{N:function(){return o},yh:function(){return i}});var n,o=((n={}).LX_PROD="cbtn-lx-prod",n.LX_QA="cbtn-lx-qa",n),i="".concat("https://api.".concat("cbtnuggets",".com"),"/site-gateway/v1")},78694:function(e,t,r){"use strict";r.d(t,{H:function(){return o}});var n=r(67294),o=(0,r(88305).f)(function(){var e=(0,n.useState)("");return{contactFormTitle:e[0],setContactFormTitle:e[1]}})},14291:function(e,t,r){"use strict";r.d(t,{j:function(){return u}});var n=r(50029),o=r(64687),i=r.n(o),a=r(67294),s=r(88305),c={baseLiveAgentContentURL:"https://cbtnuggets2.my.site.com/ESWMessagingforInAppa1716493498124",deploymentId:"00D8c000006h5HL",deploymentName:"Messaging_for_In_App_and_Web_April_2024",scriptUrl:"https://cbtnuggets2.my.salesforce-scrt.com",liveBootstrapURL:"https://cbtnuggets2.my.site.com/ESWMessagingforInAppa1716493498124/assetshttps://www.cbtnuggets.com/js/bootstrap.min.js"},u=(0,s.f)(function(){var e,t,r,o=(0,a.useState)(!1),s=o[0],u=o[1],l=(0,a.useState)(!1),f=l[0],d=l[1],p=(e=(0,n.Z)(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(t=window.embeddedservice_bootstrap).settings.language="en_US",window.addEventListener("onEmbeddedMessagingReady",(0,n.Z)(i().mark(function e(){var r,n,o,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/api/request-ip",{method:"POST"});case 2:return r=e.sent,e.next=5,fetch("/api/ga",{method:"POST"});case 5:return n=e.sent,e.next=8,n.text();case 8:return o=e.sent,e.next=11,r.text();case 11:a=e.sent,t.prechatAPI.setHiddenPrechatFields({ipaddress:a,ga_session_ids:o});case 13:case"end":return e.stop()}},e)}))),t.init(c.deploymentId,c.deploymentName,c.baseLiveAgentContentURL,{scrt2URL:c.scriptUrl});case 1:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),h=(t=(0,n.Z)(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,new Promise(function(e){if(window.embeddedservice_bootstrap)p(),e();else{var t=document.createElement("script");t.setAttribute("src",c.liveBootstrapURL),t.onload=function(){p()},document.body.appendChild(t),e()}});case 3:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),g=(r=(0,n.Z)(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u(!0),!window.embeddedservice_bootstrap){e.next=4;break}return document.getElementById("embeddedMessagingConversationButton").click(),e.abrupt("return");case 4:return e.next=6,h().then(function(){var e=setInterval(function(){return t()},500),t=function(){try{document.getElementById("embeddedMessagingConversationButton").click(),clearInterval(e)}catch(e){console.warn("Error starting chat, script possibly not loaded yet.")}}});case 6:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)});return{chatLoading:s,liveChatButtonHidden:f,initLiveChat:h,startLiveChat:g,setChatLoading:u,setLiveChatButtonHidden:d,resetChat:function(){u(!1),d(!1)}}})},53160:function(e,t,r){"use strict";r.d(t,{DU:function(){return s},is:function(){return c}});var n=r(11752),o=r.n(n),i=r(67686),a=function(){return o()().publicRuntimeConfig.accountAlias===i.N.LX_PROD},s=function(){return a()?"https://www.cbtnuggets.com":"https://www.qanuggets.com"},c=function(){return a()?"https://learn.adept.at":"https://learn.bsandbox.adept.at"}},7013:function(e,t,r){"use strict";r.d(t,{w:function(){return i}});var n=r(59499);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var i=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"cbt_initialize_data",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null===(e=window.dataLayer)||void 0===e||e.push(function(e){for(var t=1;t\n function initEmbeddedMessaging() {\n try {\n embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'\n window.addEventListener('onEmbeddedMessagingReady', async () => {\n const data = await fetch('/api/request-ip', { method: 'POST' });\n const ga = await fetch('/api/ga', { method: 'POST' });\n\n const ga_session_ids = await ga.text();\n const clientIp = await data.text();\n\n embeddedservice_bootstrap.prechatAPI.setHiddenPrechatFields({\n ipaddress: clientIp,\n ga_session_ids\n });\n });\n \n embeddedservice_bootstrap.init(\n '00D8c000006h5HL',\n 'Messaging_for_In_App_and_Web_April_2024',\n 'https://cbtnuggets2.my.site.com/ESWMessagingforInAppa1716493498124',\n {\n scrt2URL: 'https://cbtnuggets2.my.salesforce-scrt.com'\n }\n );\n } catch (err) {\n console.error('Error loading Embedded Messaging: ', err);\n }\n };\n \n \n"}})},F=()=>{window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)})};function $(){return"undefined"!=typeof window}function H(){return"production"}function G(){return"development"===(($()?window.vam:H())||"production")}function Z({beforeSend:e,debug:t=!0,mode:r="auto"}){return(0,u.useEffect)(()=>{!function(e={debug:!0}){var t;if(!$())return;(function(e="auto"){if("auto"===e){window.vam=H();return}window.vam=e})(e.mode),F(),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let r=G()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return;let n=document.createElement("script");n.src=r,n.defer=!0,n.setAttribute("data-sdkn","@vercel/analytics"),n.setAttribute("data-sdkv","1.1.1"),n.onerror=()=>{let e=G()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${e}`)},G()&&!1===e.debug&&n.setAttribute("data-debug","false"),document.head.appendChild(n)}({beforeSend:e,debug:t,mode:r})},[e,t,r]),null}var W=r(11752),V=r.n(W),q=r(67686),Y=function(){return V()().publicRuntimeConfig.accountAlias!==q.N.LX_PROD?null:(0,I.jsx)(Z,{})},X=r(39332),J=()=>{window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)})};function K(){return false}var Q="https://va.vercel-scripts.com/v1/speed-insights",ee=`${Q}/script.js`,et=`${Q}/script.debug.js`;function er(e){let t=(0,u.useRef)(null);return(0,u.useEffect)(()=>{if(t.current)e.route&&t.current(e.route);else{let r=function(e={}){var t;if(!("undefined"!=typeof window)||null===e.route)return null;J();let r=!!e.dsn,n=e.scriptSrc||(r?ee:"/_vercel/speed-insights/script.js");if(document.head.querySelector(`script[src*="${n}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let o=document.createElement("script");return o.src=n,o.defer=!0,o.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),o.dataset.sdkv="1.0.10",e.sampleRate&&(o.dataset.sampleRate=e.sampleRate.toString()),e.route&&(o.dataset.route=e.route),e.endpoint&&(o.dataset.endpoint=e.endpoint),e.dsn&&(o.dataset.dsn=e.dsn),o.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${n}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(o),{setRoute:e=>{o.dataset.route=e??void 0}}}({framework:e.framework||"react",...e});r&&(t.current=r.setRoute)}},[e.route]),null}var en=()=>{let e=(0,X.useParams)(),t=(0,X.useSearchParams)(),r=(0,X.usePathname)(),n={...Object.fromEntries(t.entries()),...e||{}};return e?function(e,t){if(!e||!t)return e;let r=e;try{for(let[e,n]of Object.entries(t)){let t=Array.isArray(n),o=t?n.join("/"):n,i=t?`...${e}`:e,a=RegExp(`/${o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`);a.test(r)&&(r=r.replace(a,`/[${i}]`))}return r}catch(t){return e}}(r,n):null};function eo(e){let t=en();return u.createElement(er,{route:t,...e,framework:"next"})}function ei(e){return u.createElement(u.Suspense,{fallback:null},u.createElement(eo,{...e}))}var ea=function(){return(0,I.jsx)(ei,{})},es=r(14291),ec=function(e){var t=e.children,r=e.hideNavBarAndFooter,n=e.hideLiveChat,o=(0,u.useState)(!1),i=o[0],a=o[1];return(0,u.useEffect)(function(){if((0,z.Nq)()){var e=new URLSearchParams(window.location.search);null!=e&&e.get("liveChat")&&(null==e?void 0:e.get("liveChat"))==="1"&&a(!0)}},[]),(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(O(),{children:[(0,I.jsx)("title",{children:"CBT Nuggets"},"title"),(0,I.jsx)("meta",{name:"description",content:"Save time, reduce effort, and get pro training for your next IT certification with the CBT Nuggets IT certification training Playlists. Signup for a free trial!"},"description"),(0,I.jsx)("meta",{name:"twitter:site",content:"@CBTNuggets"},"twitterSite"),(0,I.jsx)("meta",{name:"twitter:creator",content:"@CBTNuggets"},"twitterCreator"),(0,I.jsx)("meta",{property:"og:title",content:"Online IT Training Videos, IT Certification Training"},"ogTitle"),(0,I.jsx)("meta",{property:"og:url",content:"http://www.skru.ac.th/intro/?train=certification-playlist"},"ogUrl"),(0,I.jsx)("meta",{property:"og:type",content:"website"},"ogType"),(0,I.jsx)("meta",{property:"og:image",content:"http://www.skru.ac.th/intro/?train=assetshttps://www.cbtnuggets.com/images/OG_default.png"},"ogImage"),(0,I.jsx)("meta",{property:"og:description",content:"Save time, reduce effort, and get pro training for your next IT certification with the CBT Nuggets IT certification training Playlists. Signup for a free trial!"},"ogDescription"),(0,I.jsx)("meta",{property:"og:site_name",content:"CBT Nuggets"},"ogSiteName"),(0,I.jsx)("meta",{property:"fb:admins",content:"54568804764"}),(0,I.jsx)("meta",{name:"google-site-verification",content:"pYN4crw9C2XOI2NBIBskNiKPXjUzjGaz1QTpDnK0eCw"}),(0,I.jsx)("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1"})]}),(0,I.jsx)(j,{}),!(void 0!==n&&n)&&(0,I.jsx)(B,{autoOpen:i}),(0,I.jsx)(es.j.Provider,{children:(0,I.jsxs)(I.Fragment,{children:[void 0!==r&&r?(0,I.jsx)(N,{children:t}):(0,I.jsx)(L,{children:t}),(0,I.jsx)(Y,{}),(0,I.jsx)(ea,{})]})})]})},eu=r(50029),el=r(64687),ef=r.n(el),ed=r(4298),ep=r.n(ed),eh=function(e){var t=e.noIndex,n=V()().publicRuntimeConfig,o="cbtn-lx-prod"===n.accountAlias?"prod":"qa";return(0,z.Nq)()&&(0,eu.Z)(ef().mark(function e(){return ef().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.developmentServer){e.next=8;break}return e.next=3,Promise.all([r.e(7042),r.e(5415)]).then(r.bind(r,5415));case 3:(0,e.sent.startLoggerDisabled)(),e.next=13;break;case 8:return e.next=10,Promise.all([r.e(7042),r.e(5415)]).then(r.bind(r,5415));case 10:(0,e.sent.startLogger)(n.datadog);case 13:case"end":return e.stop()}},e)}))(),(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(O(),{children:[(0,I.jsx)("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1"},"viewport"),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"http://www.skru.ac.th/intro/?train=apple-icons/57x57.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"http://www.skru.ac.th/intro/?train=apple-icons/72x72.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"http://www.skru.ac.th/intro/?train=apple-icons/114x114.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"http://www.skru.ac.th/intro/?train=apple-icons/144x144.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"60\xd760",href:"http://www.skru.ac.th/intro/?train=apple-icons/60x60.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"76\xd776",href:"http://www.skru.ac.th/intro/?train=apple-icons/76x76.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"120\xd7120",href:"http://www.skru.ac.th/intro/?train=apple-icons/120x120.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"152\xd7152",href:"http://www.skru.ac.th/intro/?train=apple-icons/152x152.png"}),(0,I.jsx)("link",{rel:"apple-touch-icon",sizes:"180\xd7180",href:"http://www.skru.ac.th/intro/?train=apple-icons/180x180.png"}),(0,I.jsx)("link",{rel:"icon",sizes:"196\xd7196",href:"http://www.skru.ac.th/intro/?train=apple-icons/196x196.png"}),(0,I.jsx)("link",{rel:"icon",sizes:"128\xd7128",href:"http://www.skru.ac.th/intro/?train=apple-icons/128x128.png"}),(0,I.jsx)("link",{rel:"icon",href:"http://www.skru.ac.th/intro/?train=favicon.ico",type:"image/x-icon"}),(0,I.jsx)("link",{crossOrigin:"",rel:"preconnect",href:"https://bat.bing.com"}),(0,I.jsx)("link",{crossOrigin:"",rel:"preconnect",href:"https://snap.licdn.com"}),(0,I.jsx)("link",{crossOrigin:"",rel:"preconnect",href:"https://www.googletagmanager.com"}),(0,I.jsx)("link",{crossOrigin:"",rel:"preconnect",href:"https://www.sdfsd"}),"prod"!==o||void 0!==t&&t?(0,I.jsx)("meta",{name:"robots",content:"noindex, nofollow"}):null]}),(0,I.jsx)(ep(),{id:"beamerScript",dangerouslySetInnerHTML:{__html:" \n var beamer_config = {\n product_id: 'mKETCFyv21005',\n lazy: true,\n selector: 'beamer-button'\n };\n "}})]})},eg=r(7013),em=r(31289),eb=r(53160);function ey(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ev(e){for(var t=1;t1)for(var r=1;rn&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0p)&&(z=($=$.replace(" ",":")).length),0e.charCodeAt(2)),n[e]}),p=r(8679),h=r.n(p),g=r(83454);function m(){return(m=Object.assign||function(e){for(var t=1;t1?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&k(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(O))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(O,"active"),n.setAttribute("data-styled-version","5.3.0");var a=z();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},F=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")}),n+=""+c+u+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),V=/(a)(d)/gi,q=function(e){return String.fromCharCode(e+(e>25?39:97))};function Y(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=q(t%52)+r;return(q(t%52)+r).replace(V,"$1-$2")}var X=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},J=function(e){return X(5381,e)};function K(e){for(var t=0;t>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}}else{for(var c=this.rules.length,u=X(this.baseHash,r.hash),l="",f=0;f>>0);if(!t.hasNameForId(n,g)){var m=r(l,"."+g,void 0,n);t.insertRules(n,g,m)}o.push(g)}}return o.join(" ")},e}(),et=/^\s*\/\/.*$/gm,er=[":","[",".","#"];function en(e){var t,r,n,o,i=void 0===e?w:e,a=i.options,s=void 0===a?w:a,c=i.plugins,l=void 0===c?v:c,f=new u(s),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,u,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+n),"";default:return n+(0===f?"/*|*/":"")}case -2:n.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),h=function(e,n,i){return 0===n&&-1!==er.indexOf(i[r.length])||i.match(o)?e:"."+t};function g(e,i,a,s){void 0===s&&(s="&");var c=e.replace(et,""),u=i&&a?a+" "+i+" { "+c+" }":c;return t=s,n=RegExp("\\"+(r=i)+"\\b","g"),o=RegExp("(\\"+r+"\\b){2,}"),f(a||!i?"":i,u)}return f.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),g.hash=l.length?l.reduce(function(e,t){return t.name||k(15),X(e,t.name)},5381).toString():"",g}var eo=a.createContext(),ei=(eo.Consumer,a.createContext()),ea=(ei.Consumer,new W),es=en();function ec(){return(0,a.useContext)(eo)||ea}function eu(){return(0,a.useContext)(ei)||es}function el(e){var t=(0,a.useState)(e.stylisPlugins),r=t[0],n=t[1],o=ec(),i=(0,a.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,a.useMemo)(function(){return en({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,a.useEffect)(function(){c()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]),a.createElement(eo.Provider,{value:i},a.createElement(ei.Provider,{value:s},e.children))}var ef=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=es);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return k(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=es),this.name+e.hash},e}(),ed=/([A-Z])/,ep=/([A-Z])/g,eh=/^ms-/,eg=function(e){return"-"+e.toLowerCase()};function em(e){return ed.test(e)?e.replace(ep,eg).replace(eh,"-ms-"):e}var eb=function(e){return null==e||!1===e||""===e};function ey(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,eS=/(^-|-$)/g;function ex(e){return e.replace(e_,"-").replace(eS,"")}var eO=function(e){return Y(J(e)>>>0)};function eE(e){return"string"==typeof e}var ej=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},eC=a.createContext();function ek(e){var t=(0,a.useContext)(eC),r=(0,a.useMemo)(function(){var r;return(r=e.theme)?_(r)?r(t):Array.isArray(r)||"object"!=typeof r?k(8):t?m({},t,{},r):r:k(14)},[e.theme,t]);return e.children?a.createElement(eC.Provider,{value:r},e.children):null}eC.Consumer;var eP={},eA=function(e){return function e(t,r,n){if(void 0===n&&(n=w),!(0,i.isValidElementType)(r))return k(1,String(r));var o=function(){return t(r,n,ev.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,m({},n,{},o))},o.attrs=function(o){return e(t,r,m({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(function e(t,r,n){var o=x(t),i=!eE(t),s=r.attrs,c=void 0===s?v:s,u=r.componentId,l=void 0===u?(O=r.displayName,E=r.parentComponentId,eP[j="string"!=typeof O?"sc":ex(O)]=(eP[j]||0)+1,C=j+"-"+eO("5.3.0"+j+eP[j]),E?E+"-"+C:C):u,f=r.displayName,p=void 0===f?eE(t)?"styled."+t:"Styled("+S(t)+")":f,g=r.displayName&&r.componentId?ex(r.displayName)+"-"+r.componentId:r.componentId||l,b=o&&t.attrs?Array.prototype.concat(t.attrs,c).filter(Boolean):c,y=r.shouldForwardProp;o&&t.shouldForwardProp&&(y=r.shouldForwardProp?function(e,n,o){return t.shouldForwardProp(e,n,o)&&r.shouldForwardProp(e,n,o)}:t.shouldForwardProp);var O,E,j,C,k,P=new ee(n,g,o?t.componentStyle:void 0),A=P.isStatic&&0===c.length,I=function(e,t){return function(e,t,r,n){var o,i,s,c,u,l=e.attrs,f=e.componentStyle,p=e.defaultProps,h=e.foldedComponentIds,g=e.shouldForwardProp,b=e.styledComponentId,y=e.target,v=(void 0===(o=ew(t,(0,a.useContext)(eC),p)||w)&&(o=w),i=m({},t,{theme:o}),s={},l.forEach(function(e){var t,r,n,o=e;for(t in _(o)&&(o=o(i)),o)i[t]=s[t]="className"===t?(r=s[t],n=o[t],r&&n?r+" "+n:r||n):o[t]}),[i,s]),S=v[0],x=v[1],O=(c=ec(),u=eu(),n?f.generateAndInjectStyles(w,c,u):f.generateAndInjectStyles(S,c,u)),E=x.$as||t.$as||x.as||t.as||y,j=eE(E),C=x!==t?m({},t,{},x):t,k={};for(var P in C)"$"!==P[0]&&"as"!==P&&("forwardedAs"===P?k.as=C[P]:(g?g(P,d,E):!j||d(P))&&(k[P]=C[P]));return t.style&&x.style!==t.style&&(k.style=m({},t.style,{},x.style)),k.className=Array.prototype.concat(h,b,O!==b?O:null,t.className,x.className).filter(Boolean).join(" "),k.ref=r,(0,a.createElement)(E,k)}(k,e,t,A)};return I.displayName=p,(k=a.forwardRef(I)).attrs=b,k.componentStyle=P,k.displayName=p,k.shouldForwardProp=y,k.foldedComponentIds=o?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):v,k.styledComponentId=g,k.target=o?t.target:t,k.withComponent=function(t){var o=r.componentId,i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(r,["componentId"]),a=o&&o+"-"+(eE(t)?t:ex(S(t)));return e(t,m({},i,{attrs:b,componentId:a}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function e(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o2&&W.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function eT(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n"+t+""},this.getStyleTags=function(){return e.sealed?k(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return k(2);var t,r=((t={})[O]="",t["data-styled-version"]="5.3.0",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=z();return n&&(r.nonce=n),[a.createElement("style",m({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new W({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?k(2):a.createElement(el,{sheet:this.instance},e)},o.interleaveWithNodeStream=function(e){return k(3)};var eD=eA},10748:function(e,t,r){"use strict";function n(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:function(){return n}})},50029:function(e,t,r){"use strict";function n(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){r(e);return}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)})}}r.d(t,{Z:function(){return o}})},92777:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}r.d(t,{Z:function(){return n}})},82262:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(96714);function o(e,t){for(var r=0;r");return e}}}function i(e){return e.useContainer()}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(94285)}),_N_E=e.O()}]);