!function(t){var e={};function __webpack_require__(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=t,__webpack_require__.c=e,__webpack_require__.d=function(t,e,i){__webpack_require__.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,"a",e),e},__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=8)}([function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return gt}),i.d(e,"b",function(){return v}),i.d(e,"c",function(){return nt}),i.d(e,"d",function(){return K}),i.d(e,"e",function(){return P}),i.d(e,"f",function(){return $}),i.d(e,"g",function(){return z}),i.d(e,"h",function(){return k}),i.d(e,"i",function(){return request});window.encodeURIComponent;function getPageKey(t){let e=t.querySelector('meta[name="pageKey"]');return e?e.content+"_jsbeacon":""}function getDomain(t){let e=t.domain;return e?e.split(".").slice(-2).join("."):""}function trimDoubleQuotes(t){return'"'===t.charAt(0)&&'"'===t.charAt(t.length-1)?t.slice(1,-1):t}const n={ARROW_DOWN:"ArrowDown",ARROW_RIGHT:"ArrowRight",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ESCAPE:"Escape",SPACEBAR:" ",ENTER:"Enter"},s={Down:n.ARROW_DOWN,Right:n.ARROW_RIGHT,Left:n.ARROW_LEFT,Up:n.ARROW_UP,Esc:n.ESCAPE,Spacebar:n.SPACEBAR};function normalizeKeyBoardEventKey(t){return s[t]||t}const r=".show-more-less-state",o="show-more-less-state__label",a=".show-more-less-state__label-more",l=".show-more-less-state__label-less",c=".see-more-less-list__list",d="see-more-less-list__list-item";class h{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,n=arguments[3];if(!t)throw Error("An element must be provided to SeeMoreLessList");this.el=t,this.listSelector=e,this.stateCheckbox=this.el.querySelector(r),this.listEl=this.el.querySelector(this.listSelector),this.stateLabels={showMore:this.el.querySelector(a),showLess:this.el.querySelector(l)},this.currentItemEl,n&&(this.currentItemEl=this.listEl.querySelector(n)),this.listItemClass=i,this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("keydown",this._handleKeydownNavEvents.bind(this)),this.stateCheckbox.addEventListener("change",this._handleCheckboxStateChange.bind(this)),this.el.addEventListener("keyup",t=>{normalizeKeyBoardEventKey(t.key)===n.SPACEBAR&&t.preventDefault()})}_handleCheckboxStateChange(){this.stateCheckbox.checked?this._handleFocusAtOpen():this._handleFocusAtCLose(),Object.keys(this.stateLabels).forEach(t=>{this.stateLabels[t].setAttribute("aria-expanded",this.stateCheckbox.checked)})}_handleFocusAtOpen(){this.currentItemEl?this.currentItemEl.focus():this.stateLabels.showLess.focus()}_handleFocusAtCLose(){this.stateLabels.showMore.focus()}_checkboxStateChange(t){this.stateCheckbox.checked=t,this._handleCheckboxStateChange()}_handleKeydownNavEvents(t){switch(normalizeKeyBoardEventKey(t.key)){case n.ENTER:case n.SPACEBAR:t.target.classList.contains(o)&&(t.preventDefault(),this._checkboxStateChange(!this.stateCheckbox.checked));break;case n.ARROW_UP:this._checkboxStateChange(!0);break;case n.ARROW_DOWN:case n.ESCAPE:this._checkboxStateChange(!1);break;case n.ARROW_LEFT:if(this.stateCheckbox.checked&&t.target.classList.contains(this.listItemClass)){let e=t.target.parentNode.previousSibling;e&&e.firstChild.focus()}break;case n.ARROW_RIGHT:if(this.stateCheckbox.checked&&t.target.classList.contains(this.listItemClass)){let e=t.target.parentNode.nextSibling;e&&e.firstChild.focus()}}}}const u=".dropdown__list",_="dropdown__link",m=".dropdown__link";class p extends h{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;if(!t)throw Error("An element must be provided to Dropdown");super(t,u,e,i),this.listFirstChild=this.listEl.firstChild,this.listLastChild=this.listEl.lastChild,this._attachCustomDropdownEventListeners()}_attachCustomDropdownEventListeners(){document.addEventListener("click",this._handleBodyClick.bind(this)),this.el.addEventListener("keydown",t=>{"Tab"===t.key&&this._handleTab(t)})}_handleBodyClick(t){this.stateCheckbox.checked&&t.target!==this.el&&!this.el.contains(t.target)&&this._checkboxStateChange(!1)}_handleTab(t){(this.listLastChild.contains(t.target)&&!t.shiftKey||this.listFirstChild.contains(t.target)&&t.shiftKey)&&this._checkboxStateChange(!1)}}const g="language-selector__link",f=".language-selector__link--selected",E="data-locale",b=31536e6;class v extends p{constructor(t){if(!t)throw Error("An element must be provided to LanguageSelector");super(t,g,f),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(t){const e=t.target.getAttribute(E);if(e){const t=this.getLangCookieString(e);null!==t&&(document.cookie=t),location.reload()}}getLangCookieString(t){let e=null;if(null!==t){const i=t.toLocaleLowerCase().replace("_","-"),n=getDomain(document);let s=new Date;s.setTime(s.getTime()+b),e=`lang="v=2&lang=${i}";path=/;domain=${n};expires=${s.toUTCString()}`}return e}}var w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},y=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,s=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done)&&(i.push(o.value),!e||i.length!==e);n=!0);}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function closest(t,e){if(!t)return null;let i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;for(;t&&!i.call(t,e);)t=t.parentElement;return t}function onload(t){"complete"===document.readyState?t():window.addEventListener("load",()=>{setTimeout(t)})}function makeArray(t){return null==t||"object"!=typeof t?[]:Array.prototype.slice.call(t)}function elementInViewport(t){const e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,s=e.top<=i&&e.top+e.height>=0,r=e.left<=n&&e.left+e.width>=0;return s&&r}function getQueryParam(t,e,i){const n=new RegExp(`([\\?&])${i?e:encodeURIComponent(e)}=([^&#]*)`).exec(t);return n&&(i?n[2]:decodeURIComponent(n[2]))}function addQueryParam(t,e,i,n){if(!t||!e)throw new Error(`Required param of addQueryParam missing: url = ${t},  key = ${e}`);e=encodeURIComponent(e),i=encodeURIComponent(i);const s=getQueryParam(t,e,!0);if(s)return n?t.replace(s,i):t;{const n=t.indexOf("?");var r=t.split("#"),o=y(r,2);let s=o[0],a=o[1],l="&";return n<0?l="?":n===t.length-1&&(l=""),a&&(a=`#${a}`),`${s}${l}${e}=${i}${a||""}`}}function debounce(t,e,i){var n=this;if("function"!=typeof t)throw new TypeError("Expected a function.");let s;return function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];const l=i&&!s;clearTimeout(s),s=setTimeout(()=>{s=null,i||t.apply(n,o)},e),l&&t.apply(n,o)}}function getCookie(t){const e=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return e&&e[2]}function dispatchCustomEvent(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=document.createEvent("CustomEvent");n.initCustomEvent(e,!0,!0,i),t.dispatchEvent(n)}function getDeferredPromise(){let t,e;const i=new Promise((i,n)=>{t=i,e=n});return i.resolve=t,i.reject=e,i}var k=Object.freeze({__proto__:null,closest:closest,onload:onload,makeArray:makeArray,outerWidth:function(t){let e=t.offsetWidth,i=getComputedStyle(t);return e+=(parseInt(i.marginLeft,10)||0)+(parseInt(i.marginRight,10)||0)},elementInViewport:elementInViewport,getQueryParam:getQueryParam,addQueryParam:addQueryParam,debounce:debounce,getCookie:getCookie,dispatchCustomEvent:dispatchCustomEvent,getDeferredPromise:getDeferredPromise});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;function request(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.method;let n=void 0===i?"GET":i;var s=e.headers;let r=void 0===s?{}:s;var o=e.sendCookies;let a=void 0===o||o;var l=e.skipCsrfToken;let c=void 0!==l&&l;var d=e.postData;let h=void 0===d?void 0:d;return new Promise((e,i)=>{const s=new XMLHttpRequest;if(s.addEventListener("load",function(){if(s.status>=200&&s.status<300||304===s.status)e({status:s.status,responseText:s.responseText});else{const e=new Error(`${n} request for ${t} has failed with status code ${s.status}`);e.response={status:s.status,responseText:s.responseText},i(e)}}),s.addEventListener("error",function(t){i(t)}),s.open(n,t,!0),s.withCredentials=a,Object.keys(r).forEach(t=>{s.setRequestHeader(t,r[t])}),!c){const t=getCookie("JSESSIONID");t&&s.setRequestHeader("Csrf-Token",trimDoubleQuotes(t))}s.send(h)})}const C=".slide-list__list",S={PREV:"prev",NEXT:"next"},L='slide-list__nav-button[data-direction="prev"]',T='slide-list__nav-button[data-direction="next"]',O="slide-list__list--dragging",R=10,A=20,x="slide-list__header-nav--minimal";class P{constructor(t){if(!t)throw new Error("No element passed in");this._el=t,this._previousButton=t.querySelector(`.${L}`),this._nextButton=t.querySelector(`.${T}`),this._listEl=t.querySelector(C),this._slideNavDisabled=this._el.dataset.disabled,this._dragLimit=this._listEl.offsetWidth,this._items=this._listEl.children,this._lock={},this._currentPage=0,this._isRtl="rtl"===document.body.dir,this._isMinimalNav=t.querySelector(`.${x}`),("ontouchstart"in window||!this._slideNavDisabled)&&(this._initCalc(),window.addEventListener("resize",this._handleWindowResize.bind(this)),"ontouchstart"in window?(this._el.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._el.addEventListener("touchmove",this._handleTouchMove.bind(this)),this._el.addEventListener("touchend",this._handleTouchEnd.bind(this)),this._isMinimalNav&&this._el.addEventListener("click",this._handleScrollAction.bind(this))):this._el.addEventListener("click",this._handleScrollAction.bind(this)))}next(t){return t=t||1,this._currentPage+t<=this._pageTranslates.length-1&&(this._currentPage+=t,this._updateSlideButtons(),this._updateListPosition()),this._currentPage}prev(t){return t=t||1,this._currentPage-t>=0&&(this._currentPage-=t,this._updateSlideButtons(),this._updateListPosition()),this._currentPage}_handleWindowResize(){this._isResizing||(this._isResizing=!0,window.requestAnimationFrame(this._initCalc.bind(this)))}_initCalc(){this._pageTranslates=this._getPageTranslates(),this._updateSlideButtons(),this._updateListPosition(),this._isResizing=!1}_getPageTranslates(){const t=this._listEl.offsetWidth,e=this._listEl.scrollWidth,i=this._isRtl?t-this._items[0].offsetLeft-this._items[0].offsetWidth:this._items[0].offsetLeft,n=e-t;let s=[0];for(let e=0;e<this._items.length;e+=1){const r=s[s.length-1];if(this._isRtl&&this._items[e].offsetLeft>=0)continue;let o=Math.abs(this._isRtl?this._items[e].offsetLeft+this._items[e].offsetWidth:this._items[e].offsetLeft),a=Math.abs(this._isRtl?this._items[e].offsetLeft:this._items[e].offsetLeft+this._items[e].offsetWidth);if((0!==o||0!==i)&&a>r+t){if(o>=n)break;s.push(o-i)}}return s.push(n),s}_handleScrollAction(t){const e=t.target.dataset.direction||t.target.parentElement.dataset.direction;e&&(e===S.PREV?this.prev():e===S.NEXT&&this.next())}_updateListPosition(){this._updateTranslateXY(this._isRtl?this._pageTranslates[this._currentPage]:-this._pageTranslates[this._currentPage],0)}_updateSlideButtons(){if(this._previousButton&&this._nextButton){if(this._previousButton.disabled=!1,this._nextButton.disabled=!1,!this._pageTranslates[1]||this._pageTranslates[1]<0)return this._previousButton.disabled=!0,void(this._nextButton.disabled=!0);0===this._currentPage&&(this._previousButton.disabled=!0),this._currentPage!==this._pageTranslates.length-1&&0!==this._pageTranslates.length||(this._nextButton.disabled=!0)}}_resetTouchEvents(){this._dragging=!1,this._dragCanceled=!1,this._listEl.classList.remove(O),this._lock.left=this._isRtl?this._currentPage===this._pageTranslates.length-1:0===this._currentPage,this._lock.right=this._isRtl?0===this._currentPage:this._currentPage===this._pageTranslates.length-1,this._dragThresholdMet=!1,this._t={current:{x:0,y:0}}}_handleTouchStart(t){this._resetTouchEvents(),this._t.start=this._getEventPosition(t),this._dragging=!0,this._listEl.classList.add(O)}_handleTouchMove(t){if(!this._dragging||this._dragCanceled)return;let e=this._getEventPosition(t);this._t.current={x:this._t.start.x-e.x,y:this._t.start.y-e.y},this._canDrag()?(this._dragThresholdMet=!0,t.preventDefault(),this._lock.left&&this._t.current.x<0?this._t.current.x=this._t.current.x*-this._dragLimit/(this._t.current.x-this._dragLimit):this._lock.right&&this._t.current.x>0&&(this._t.current.x=this._t.current.x*this._dragLimit/(this._t.current.x+this._dragLimit)),this._updateTranslateXY((this._isRtl?this._pageTranslates[this._currentPage]:-this._pageTranslates[this._currentPage])-this._t.current.x)):this._isVerticalScrolling()&&(this._dragCanceled=!0)}_handleTouchEnd(){this._dragging&&(!this._dragCanceled&&Math.abs(this._t.current.x)>A&&(this._t.current.x>0&&!this._lock.right?this._isRtl?this._currentPage--:this._currentPage++:this._t.current.x<0&&!this._lock.left&&(this._isRtl?this._currentPage++:this._currentPage--)),this._resetTouchEvents(),this._updateListPosition())}_getEventPosition(t){return{x:t.touches[0].clientX,y:t.touches[0].clientY}}_isVerticalScrolling(){return Math.abs(this._t.current.x)<Math.abs(this._t.current.y)&&Math.abs(this._t.current.y)>R}_canDrag(){return this._dragThresholdMet||Math.abs(this._t.current.x)>Math.abs(this._t.current.y)&&Math.abs(this._t.current.x)>R}_updateTranslateXY(t,e){this._listEl.style.transform=`translate3d(${t||0}px, ${e||0}px, 0px)`}}const I=".social-share__state",M="data-share-message",B="social-share--embed",N="social-share__embed-overlay-dismiss",q="embed-overlay__copy-text-input",U="social-share__item",D="social-share__dropdown",H="embedOverlayShown",W="embedOverlayHidden",F={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"},j=Object.keys(F).map(t=>F[t]);class ${constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.globalNavigator;let n=void 0===i?navigator:i;var s=e.globalWindow;let r=void 0===s?window:s;if(!t)throw new Error("No element passed in");this.navigator=n,this.window=r,this.el=t,this._encodedShareMessage=this.window.encodeURIComponent(this.el.getAttribute(M))||"",this.stateCheckboxEl=this.el.querySelector(I),this.isEmbed=this.el.classList.contains(B),this.closeButton=this.el.querySelector(`.${N}`),this.dropdown=this.el.querySelector(`#${D}`),this.showString=this.stateCheckboxEl.getAttribute("data-show-dialog-string"),this.hideString=this.stateCheckboxEl.getAttribute("data-hide-dialog-string"),this.onBodyClick=this._handleBodyClick.bind(this),this.onFocusOut=this._handleFocusOutDropdown.bind(this),this.onEmbedOverlayCloseClick=(()=>{this.stateCheckboxEl.checked=!1,this.onClose()}),this.init()}init(){if(this.stateCheckboxEl.addEventListener("click",this.handleStateChange.bind(this)),this.el.querySelector(".social-share__options").addEventListener("click",t=>{let e=t.target;const i=e.classList.contains(U)?e:closest(e,`.${U}`);i&&this.share(i.dataset.shareService)}),this.isEmbed&&!this.navigator.hasOwnProperty("clipboard")){const t=this.el.querySelector(".embed-overlay__copy-btn");t.parentNode.removeChild(t)}}_handleBodyClick(t){t.target===this.el||this.el.contains(t.target)||(this.stateCheckboxEl.checked=!1,this.onClose())}handleStateChange(t){t.target.checked?this.onOpen():this.onClose()}onOpen(){this.isEmbed?(this.closeButton.addEventListener("click",this.onEmbedOverlayCloseClick),dispatchCustomEvent(this.el,H)):(document.addEventListener("click",this.onBodyClick),document.addEventListener("focusin",this.onFocusOut)),this.stateCheckboxEl.setAttribute("aria-label",this.hideString),this.stateCheckboxEl.setAttribute("aria-expanded","true")}onClose(){this.isEmbed?(this.closeButton.removeEventListener("click",this.onEmbedOverlayCloseClick),dispatchCustomEvent(this.el,W)):(document.removeEventListener("click",this.onBodyClick),document.removeEventListener("focusin",this.onFocusOut)),this.stateCheckboxEl.setAttribute("aria-label",this.showString),this.stateCheckboxEl.setAttribute("aria-expanded","false")}_handleFocusOutDropdown(t){this.dropdown.contains(t.target)||(this.stateCheckboxEl.checked=!1,this.onClose(),this.el.focus())}_copyText(){let t=this.el.querySelector(`.${q}`).value;t&&this.navigator.clipboard.writeText(t)}_getServiceUrl(t,e){const i=this.window.encodeURIComponent(e);return{linkedin:`https://www.linkedin.com/shareArticle?mini=true&url=${i}&title=${this._encodedShareMessage}`,twitter:`https://twitter.com/intent/tweet?url=${i}&text=${this._encodedShareMessage}`,facebook:`https://www.facebook.com/sharer/sharer.php&u=${i}`}[t]||""}share(t){if(t===F.COPY)this._copyText();else if(j.includes(t)){const e=this.window.location.href,i=this._getServiceUrl(t,e);this.window.open(i,t,"height=600,width=1000")}}}class K{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.tracking,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.lazyloader;var s=t.dataset;const r=s.sources,o=s.posterUrl,a=s.mediaUrn,l=s.trackingId,c=s.captionsUrl,d=JSON.parse(r);if(!d.length)throw new Error("Please pass video sources in correct Array string format inside data-sources attribute");this._mediaPlayerInstancePromise=this._createPlayer(t,l,a,e,n).then(t=>(o&&t.poster(o),t.src(d),c&&t.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:c}),this._bindTracking(t,i),t))}_createPlayer(t,e,i,n,s){return s.then(t=>t.getLazyLoadedJavascriptModule("media-player")).then(s=>{const r=s.createPlayer,o=n.plugins&&n.plugins.rum&&n.plugins.rum.mediaHeader&&n.plugins.rum.mediaHeader.mediaSource||"ugc",a=w({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},n);return a.plugins.tracking={mediaUrn:i,trackingId:e},a.plugins.rum={mediaUrn:i,trackingId:e,mediaHeader:{mediaSource:o}},r(t,a)})}_bindTracking(t,e){e.then(e=>{const i=this._getMediaPlayerTrackingEventHandler(e);t.tracking().on("track",i),t.rum().on("track",i)})}_getMediaPlayerTrackingEventHandler(t){return function(e,i){let n=i.eventName,s=i.eventData,r=w({header:{},requestHeader:{}},s);delete r.name,delete r.plugin,delete r.instance,r.requestHeader.pageKey||(r.requestHeader.pageKey=getPageKey(document)),t.fireTrackingEvent(n,r)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}class z{constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.scrollThreshold;let n=void 0===i?50:i;var s=e.hideOnScrollBack;let r=void 0!==s&&s;var o=e.isBottom;let a=void 0===o||o;var l=e.exposeStickyState;let c=void 0!==l&&l;this.el=t,this.scrollThreshold=n,this.hideOnScrollBack=r,this.isBottom=a,this.exposeStickyState=c,this._scrollListener=this._onScroll.bind(this),this._doesPageHaveEnoughScroll()?window.addEventListener("scroll",this._scrollListener):this.hideOnScrollBack||this.show(),this.isBottom?this._addBottomSpacing():this.hideOnScrollBack||(this._addTopSpacing(),this.show())}_doesPageHaveEnoughScroll(){return document.body.scrollHeight>window.innerHeight+this.scrollThreshold}_addBottomSpacing(){let t=this.el.clientHeight;document.body.style.marginBottom&&(t+=parseInt(document.body.style.marginBottom)),document.body.style.marginBottom=`${t}px`}_addTopSpacing(){let t=this.el.clientHeight;document.body.style.marginTop&&(t+=parseInt(document.body.style.marginTop)),document.body.style.marginTop=`${t}px`}show(){this.el.classList.add("show"),dispatchCustomEvent(this.el,"show")}hide(){this.el.classList.remove("show"),dispatchCustomEvent(this.el,"hide")}_onScroll(){window.pageYOffset>this.scrollThreshold?(this.hideOnScrollBack||this.exposeStickyState||window.removeEventListener("scroll",this._scrollListener),this.show(),this.exposeStickyState&&this.el.classList.add("stuck")):(this.hideOnScrollBack&&this.hide(),this.exposeStickyState&&this.el.classList.remove("stuck"))}}const V=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex="0"]'].join(",");const Y="modal__dismiss",G="modal__overlay--visible",Q="no-scroll",X="modal__outlet",J="modal__overlay",Z="modal__wrapper",tt=13,et=27,it=9;class nt{constructor(t){if(!t)throw new Error("No modal element passed in");this._el=t,this._wrapperEl=this._el.querySelector(`.${Z}`),this._overlayEl=this._el.querySelector(`.${J}`),this._outletEl=this._getOutletEl(),this._exitButtonEl=this._el.querySelector(`.${Y}`),this._onKeyDownEvent=(t=>this._onKeyDown(t)),this._tabableElements=[...this._overlayEl.querySelectorAll(V)],this._firstTabableEl=this._tabableElements[0],this._lastTabableEl=this._tabableElements[this._tabableElements.length-1],this._outletEl.addEventListener("click",()=>this.open()),this._exitButtonEl.addEventListener("click",()=>this.close()),this._overlayEl.addEventListener("click",this._handleOverlayClick.bind(this)),this._wrapperEl.addEventListener("keyup",this._handleModalKeyup.bind(this))}_getOutletEl(){const t=this._el.dataset.outletId;if(t){const e=document.getElementById(t);if(!e)throw new Error(`No outlet found for id #${t}`);return e}return this._el.querySelector(`.${X}`)}_handleOverlayClick(t){t.stopPropagation(),t.target===this._wrapperEl||this._wrapperEl.contains(t.target)||this.close()}_handleModalKeyup(t){t.stopPropagation()}_onKeyDown(t){const e=t.keyCode,i=t.target,n=e===tt&&document.activeElement===this._exitButtonEl,s=e===et,r=e===it&&t.shiftKey,o=!r&&e===it;s||n?(this.close(),t.preventDefault()):o&&i===this._lastTabableEl?(this._firstTabableEl.focus(),t.preventDefault()):r&&i===this._firstTabableEl&&(this._lastTabableEl.focus(),t.preventDefault())}open(){this._previouslyFocusedEl=document.activeElement,this._overlayEl.classList.add(G),document.body.classList.add(Q),document.addEventListener("keydown",this._onKeyDownEvent),dispatchCustomEvent(this._el,"open"),this._firstTabableEl&&this._firstTabableEl.focus()}close(){this._overlayEl.classList.remove(G),document.body.classList.remove(Q),document.removeEventListener("keydown",this._onKeyDownEvent),dispatchCustomEvent(this._el,"close"),this._previouslyFocusedEl&&this._previouslyFocusedEl.focus()}}!function(t){const e=new RegExp("<(?!/?(?:"+t.allowedTags+")(?:[ \t\r\n]*/?>|[ \t\r\n]+(?:(?:(?:"+t.allowedAttributes+")(?:=([\"'])[^'\"<>]*\\1)?|(?:"+t.allowedURLAttributes+")=([\"'])(?:(?:"+t.allowedURLSchemes+")(?::|&#(?:58|x3a);)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\2)[ \t\r\n]*)+/?>))","i")}({allowedTags:"a|abbr|address|area|article|aside|audio|b|bdi|bdo|big|blockquote|br|button|center|cite|code|datalist|dd|del|details|dfn|div|dl|dt|em|fieldset|figcaption|figure|font|footer|h[1-6]|header|hgroup|hr|i|img|ins|kbd|label|legend|li|map|mark|marquee|nav|nobr|ol|p|pre|q|rp|rt|ruby|s|samp|section|small|source|span|strike|strong|sub|sup|table|tbody|td|tfoot|th|thead|time|tr|u|ul|var|video|wbr",allowedAttributes:"alt|aria-[a-z0-9_\\-]+|border|caption|checked|class|colgroup|color|cols|colspan|controls|coords|data-[a-z0-9_\\-]+|dir|disabled|height|hidden|hreflang|id|label|loop|marginheight|marginwidth|maxlength|method|multiple|name|preload|readonly|rel|required|reversed|role|rows|rowspan|spellcheck|tabindex|target|title|type|usemap|width|clear|headers|ismap|lang|start|datetime|accept|max|min|placeholder|size|step",allowedURLAttributes:"href|src",allowedURLSchemes:"https?|ftp|mailto"});const st="click",rt="keydown",ot="focus",at="keyup";class lt{constructor(t,e,i){let s=i.mainButton,r=i.closeButton,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!t)throw Error("An element must be provided to Collapsible");if(!e)throw Error("An list element must be provided to Collapsible");if(!s)throw Error("A main button element must be provided to Collapsible");this.el=t,this.listEl=e;var a=o.currentListItem;let l=void 0===a?e.children[0]:a;var c=o.isOpen;let d=void 0!==c&&c;this.currentListItem=l,this.isOpen=d,this.mainButton=s,this.closeButton=r,this.buttons=[s],this.mainButton.addEventListener(st,()=>this.closeButton?this._open():this._toggle()),this.mainButton.addEventListener(rt,t=>this._onButtonKeyDown(t)),this.mainButton.addEventListener(at,t=>{normalizeKeyBoardEventKey(t.key)===n.SPACEBAR&&t.preventDefault()}),this.closeButton&&(this.closeButton.addEventListener(st,()=>this.close()),this.closeButton.addEventListener(rt,t=>this._onButtonKeyDown(t)),this.buttons.push(this.closeButton)),this.listEl.addEventListener(rt,t=>this._onListKeyDown(t))}_toggle(){this.isOpen?this.close():this._open()}_onButtonKeyDown(t){switch(normalizeKeyBoardEventKey(t.key)){case n.ENTER:case n.SPACEBAR:t.preventDefault(),this.isOpen?this.close():this._open();break;case n.ARROW_UP:this.isOpen||this._open();break;case n.ARROW_DOWN:this.isOpen&&this.close()}}_onListKeyDown(t){let e;switch(normalizeKeyBoardEventKey(t.key)){case n.ESCAPE:this.isOpen&&this.close();break;case n.ARROW_LEFT:let i=(e=closest(t.target,"li")).previousElementSibling;i&&dispatchCustomEvent(i,ot);break;case n.ARROW_RIGHT:let s=(e=closest(t.target,"li")).nextElementSibling;s&&dispatchCustomEvent(s,ot)}}_open(){this.isOpen||(this.isOpen=!0,this.buttons.forEach(t=>t.setAttribute("aria-expanded",this.isOpen)),dispatchCustomEvent(this.el,"open"),dispatchCustomEvent(this.currentListItem,ot))}close(){this.isOpen&&(this.isOpen=!1,this.buttons.forEach(t=>t.setAttribute("aria-expanded",this.isOpen)),dispatchCustomEvent(this.el,"close"),this.mainButton.focus())}}const ct=".collapsible-dropdown__list",dt=".collapsible-dropdown__button",ht="hidden";class ut{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>t;var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};let n=i.listEl,s=i.dropdownTriggerEl;if(!t)throw Error("An element must be provided to CollapsibleDropdown");this.el=t,this.listEl=n||this.el.querySelector(ct),this.dropdownTriggerEl=s||this.el.querySelector(dt),this._getFocusItemFromListItem=e,this.hideClass=ht,this.collapsible=new lt(t,this.listEl,{mainButton:this.dropdownTriggerEl}),this._handleBodyClick=this._handleBodyClick.bind(this),this._focusOutsideDropdown=this._focusOutsideDropdown.bind(this),this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("open",()=>this._showDropdownList()),this.el.addEventListener("close",()=>this._hideDropdownList()),this.listEl.addEventListener("focus",t=>this._focusItem(t))}_focusItem(t){const e=t.target;if(e){const t=this._getFocusItemFromListItem(e);t&&t.focus()}}_handleBodyClick(t){this.el.contains(t.target)||this.collapsible.close()}_showDropdownList(){document.addEventListener("click",this._handleBodyClick),document.addEventListener("keyup",this._focusOutsideDropdown),this.listEl.classList.remove(this.hideClass)}_hideDropdownList(){document.removeEventListener("click",this._handleBodyClick),document.removeEventListener("keyup",this._focusOutsideDropdown),this.listEl.classList.add(this.hideClass)}_focusOutsideDropdown(t){!this.listEl.contains(t.target)&&this.collapsible.isOpen&&this.collapsible.close()}}function empty(){const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!t||0===t.trim().length};return t.errorMessageSuffix="error_empty",t}function tooShort(t){const e=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length<t};return e.errorMessageSuffix="error_too_short",e}function tooLong(t){const e=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").length>t};return e.errorMessageSuffix="error_too_long",e}empty(),tooShort(3),tooLong(128),empty(),tooShort(6),tooLong(400);var _t=window||t;const mt="utag_data";_t[mt]||(_t[mt]={});const pt="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;_t.utag_cfg_ovrd=_t.utag_cfg_ovrd||{},_t.utag_cfg_ovrd.noview=!0,_t.utag_cfg_ovrd.nocookie=!0;pt&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(_t.navigator.userAgent);class gt{constructor(t){if(!t)throw new Error("EllipsisMenu el required");this._el=t;const e=this._el.querySelector(".collapsible-dropdown");if(!e)throw new Error("A collapsible dropdown is required to instantiate an EllipsisMenu");this.getFocusItemFromListItem=(t=>t.querySelector("[href], button")),this.collapsibleDropdown=new ut(e,this.getFocusItemFromListItem)}}}).call(e,i(1))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";e.a=".article-body";e.c={INIT_PAGE_INDEX:0,FETCH_COUNT:6,REPLY_FETCH_COUNT:2};e.d={CONTAINER:".article-comment__container",FIRST_LEVEL_COMMENT_ITEM:".first-level-comment",INSERT_SLOT:".article-comments-insert-slot",HEADER:".article-comment__header",SHOW_MORE_REPLY:".article-comment__nested-comments--show-more",HIDE_SHOW_MORE_REPLY:"article-comment__nested-comments--hide-show-more",HIDE_SHOW_MORE_COMMENT:"article-comment--hide-show-more",SHOW_MORE_COMMENT:".article-comment__show-more-link",REMAIN_COMMENT_NUMBER:".article-comment__remaining-comment-number",REMAINING_REPLY_NUMBER:".article-comment__nested-comments__remaining_number_reply",SHOW_MORE_COMMENT_SECTION:".article-comment__show-more-section"};e.l={ARTICLE_VIEW_EVENT:"ArticleViewEvent"};e.j={LEFT:"related-articles__box-shadow-left",RIGHT:"related-articles__box-shadow-right"};e.f="data-article-urn";e.e="data-article-permalink";e.g="data-comment-urn";e.i="data-total-reply";e.h="data-total-comment";e.b="/content-guest/article";e.k={COMMENT_BUTTON:".social-ctas__comment-button",LIKE_BUTTON:".social-ctas__like-button"}},function(t,e,i){var n;n=function(){"use strict";var t="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",e=function(){if("undefined"==typeof document)return!0;return"textContent"in document.createElement("div")}()?"textContent":"innerText",i=["b","del","em","i","s","strong","sub","sup"],n=i.concat(["a","abbr","address","area","article","aside","audio","bdi","bdo","big","blockquote","br","button","center","cite","code","datalist","dd","details","dfn","div","dl","dt","fieldset","figcaption","figure","font","footer","h1","h2","h3","h4","h5","h6","header","hgroup","hr","img","ins","kbd","label","legend","li","map","mark","marquee","nav","nobr","ol","p","pre","q","rp","rt","ruby","samp","section","small","source","span","strike","table","tbody","td","tfoot","th","thead","time","tr","u","ul","var","video","wbr"]),s=[t,"alt|checked|colgroup|cols|colspan|disabled|height|hidden|maxlength|method|multiple|name|placeholder|readonly|rel|required|rows|rowspan|spellcheck|target|title|width","border|caption|color|controls|coords|hreflang|label|lang|loop|marginheight|marginwidth|preload|reversed|type|usemap|clear|headers|ismap|start|datetime|accept|max|min|size|step|style|cellspacing|cellpadding"].join("|"),r="href|src",o="data:image/(?:gif|jpg|jpeg|png);base64,",a="https?|ftp|mailto|invalid";new RegExp("&#?[a-zA-Z0-9]{1,10};");function ValueString(){}function log(t,e){if(e=e||"log","undefined"!=typeof window&&window&&window.jet&&"error"===e.toLowerCase())try{throw new Error(t)}catch(t){try{window.jet.error(t)}catch(t){}}"undefined"!=typeof console&&"function"==typeof console[e]&&console[e](t)}var l,c,d=(c=/[&<>"'\u0000\\=]/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(t){return null==t?null:t.toString().replace(c,function(t){return l[t]})}),h=function(){var t,i,n=/&(?:([a-z0-9]+)|#x([\da-f]{1,6})|#(\d{1,8}));/gi;if("undefined"==typeof document)return function(){throw new Error("document is undefined (i.e. you are probably in Node.js)")};t=document.createElement("div");var s={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};return i="function"==typeof String.fromCodePoint?function(t){return String.fromCodePoint(t)}:function(t){return t<=65535?String.fromCharCode(t):"�"},function(r){return null==r?null:(r+"").replace(n,function(n,r,o,a){return r?(l=r,s.hasOwnProperty(l)?s[l]:(t.innerHTML="&"+l+";",c=t[e],s[l]=c,c)):o||a?i(parseInt(o||a,o?16:10)||65533):"�";var l,c})}}();var u=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function containsHTML(t){return/[<&]/.test(t)}var _,m=Array.prototype.forEach?function(t,e){Array.prototype.forEach.call(t,e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)e(t[i],i)},p="[ \t\r\n]*",g="[ \t\r\n]+";function generateWhitelist(t){t=u(t)?t:[t];var e,i,l,c=0,d="<(?!/?";return d+="(?:",m(t,function(t,h){e=t.tags||n,i=t.attrs||s,l=t.checkUrlAttrs||!1,0!==h&&(d+="|"),d+="(?:"+e.join("|")+")",d+="(?:",d+=p,d+="|"+g,d+="(?:(?:",d+="(?:"+i+")(?:=([\"'])[^'\"<>]*\\"+ ++c+")?",l&&(d+="|(?:"+r+")=([\"'])(?:(?:"+a+")(?::|&#(?:58|x3a);)|(?:"+o+")|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++c),d+=")"+p+")+",d+=")"}),d+=")",d+="/?>)",new RegExp(d,"i")}function createHTMLWhitelist(t){return generateWhitelist({tags:t=t||n,checkUrlAttrs:!0})}function isSafeHTML(t,e){var i=(e=e||{}).allowTags,n=!1!==e.hasCustomElementMarkup;return i?!createHTMLWhitelist(i).test(t):n?!isSafeHTML.R_UNSAFE_CUSTOM_ELEMENT.test(t):!isSafeHTML.R_UNSAFE_HTML.test(t)}function stripTags(t){return t.replace(/<[^>]*>|[<>'"&\\]/g,"")}function processString(t,e,i){if(null==t)return null;t=t.toString();var n=e?function(t,e){var i={};return t.replace(/\{([^}]+)\}/g,function(t,n){var s,r=t;if(i.hasOwnProperty(n))return i[n];if(e.hasOwnProperty(n)){if(r=e[n],!((s="string"==typeof r)||r instanceof ValueString||"number"==typeof r))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");r=s?d(r):r.toString()}return i[n]=r,r})}(t,e):t,s=t;return containsHTML(n)&&!isSafeHTML(n,i)&&(n=stripTags(n),log("Content contains non-whitelisted tags or attributes:\nContent: "+s,"error")),n}function merge(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t}isSafeHTML.R_UNSAFE_HTML=createHTMLWhitelist(),isSafeHTML.R_UNSAFE_CUSTOM_ELEMENT=generateWhitelist([{tags:n,checkUrlAttrs:!0},{tags:[(_={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[t,_.attrs].join("|"),checkUrlAttrs:!1}]);var f={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};f.optgroup=f.option,f.tbody=f.tfoot=f.colgroup=f.caption=f.thead,f.th=f.td;var E=/<([\w:]+)/;function buildFragment(t,e){var i,n,s,r,o,a,l,c=e.createDocumentFragment(),d=[];for(o=0,l=t.length;o<l;o++)if((r=t[o])||0===r)if("string"==typeof r){for(s=s||c.appendChild(e.createElement("div")),i=(E.exec(r)||["",""])[1].toLowerCase(),setElementContent(s,(n=f[i]||f._default)[1]+r+n[2]),a=n[0];a--;)s.lastChild&&s.lastChild.nodeType===Node.ELEMENT_NODE&&(s=s.lastChild);merge(d,s.childNodes),(s=c.firstChild).textContent=""}else merge(d,r.nodeType?[r]:r);for(c.textContent="",r=d[o=0];r;)c.appendChild(r),r=d[++o];return c}function parseHTML(t,e){var i;if(e=e||document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument(""):document,"string"==typeof t)i=buildFragment([t],e);else{if(!u(t))return t;i=buildFragment(t,e)}return merge([],i.childNodes)}var b=processString,v=processString;function setElementContent(t,i,n){var s=processString(i,n);return containsHTML(s)?t.innerHTML=s:t[e]=s,s}function UnsafeString(t,e){if(!(this instanceof UnsafeString))return new UnsafeString(t,e);(e=e||{}).allowTags=e.allowTags?e.allowTags.reduce(function(t,e){return t.concat(e)},[]):null,this._string=t,this._options=e}function mk(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];var s="",r=void 0,o=i.length;return t&&t.forEach(function(t,e){s+=t,e<o&&(r=i[e],s+=r instanceof UnsafeString?r:d(r))}),v(s)}UnsafeString.prototype=function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}(new ValueString,{toString:function(){var t=this._string,e=this._stringVal,i=t;return void 0!==e?e:(isSafeHTML(t,this._options)||(i=t,t=stripTags(t),log("UnsafeString contains non-whitelisted tags or attributes.\nString: "+i,"error")),this._stringVal=t,t)}});var w=/ /g,y=/[\s\u0000<>"]|%00/,k=/\\/,C=/([.]|%2e){2}/i,S=new RegExp("^(?:https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function sanitizeUrl(t){var e=void 0;if("string"!=typeof t)return log("jSecure Warning: url must be a string","error"),"invalid://";if((e=t.trim()).indexOf(" ")>-1&&(log("jSecure Warning: url should not contain spaces: "+t,"warn"),e=e.replace(w,"+")),!S.test(e))return log("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+t,"error"),"invalid://";if(y.test(e))return log("jSecure Error: not valid url character found in url: "+t,"error"),"invalid://";var i=e.split("?")[0];return k.test(i)||C.test(i)||C.test(decodeURI(i))?(log("jSecure Error: malicious data found in url path: "+i,"error"),"invalid://"):t}var L={redirect:function(t){window&&(window.location.href=t)}};return{ALLOWED_TAGS:n,FORMATTING_TAGS:i,htmlEncode:d,htmlUnencode:h,log:log,mk:mk,parseHTML:parseHTML,parseSelector:function(t){return"string"==typeof t&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(t)?[]:t},processTemplate:b,reEncode:function(t){return d(h(t))},_redirector:L,redirect:function(t){var e=sanitizeUrl(t);e===t&&L.redirect(e)},sanitizeHTML:v,sanitizeUrl:sanitizeUrl,setElementContent:setElementContent,text:function(t){return log("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),d(t)},unsafe:function(t){return t},UnsafeString:UnsafeString}},t.exports=n()},function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(0);const s={URL:"data-url"},r={CLICK:"click",CLOSE:"close",OPEN:"open"},o={REPORT_OPTIONS:"report-option"},a={REPORT_BODY:".semaphore-modal__body",REPORT_BUTTON:".semaphore-modal__submit",REPORT_OPTIONS:".".concat(o.REPORT_OPTIONS)};class l extends n.c{constructor(t){if(!t)throw new Error("Semaphore modal container cannot be null");super(t),this._el.addEventListener(r.OPEN,this._bindEvents.bind(this)),this.reportOptionsEl=n.h.makeArray(this._el.querySelectorAll(a.REPORT_OPTIONS)),this.submitButton=this._el.querySelector(a.REPORT_BUTTON)}_bindEvents(){this._el.querySelector(a.REPORT_BODY).addEventListener(r.CLICK,this._handleOptionClick.bind(this)),this.submitButton.addEventListener(r.CLICK,this._handleReportClick.bind(this)),this._el.addEventListener(r.CLOSE,this._tearDown.bind(this))}_handleOptionClick(t){t.target&&t.target.classList.contains(o.REPORT_OPTIONS)&&this.submitButton&&this.submitButton.disabled&&(this.submitButton.disabled=!1,this._lastTabableEl=this.submitButton)}_handleReportClick(t){let e;if(this._mapOnOptions(t=>{t&&t.checked&&(e=t)}),e){let t;if(e.hasAttribute(s.URL)&&(t=e.getAttribute(s.URL)),t)return window.location=t,void this._tearDown()}}_tearDown(){this._mapOnOptions(t=>{t&&t.checked&&(t.checked=!1)}),this.submitButton&&(this.submitButton.disabled=!0,this._lastTabableEl=this._tabableElements[this._tabableElements.length-1])}_mapOnOptions(t){this.reportOptionsEl.forEach(e=>t(e))}}},function(t,e,i){"use strict";e.a=function(t){if(!s[t])try{s[t]=JSON.parse(document.getElementById(t).firstChild.nodeValue)}catch(t){return""}return s[t]},e.b=function(){return document.querySelector(n.a).getAttribute("data-redirect-url")};var n=i(2);const s=Object.create(null)},,,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),s=i(4),r=i(3),o=i.n(r),a=i(9),l=i(10),c=i(11),d=i(12),h=i(2),u=i(13),_=i(5);window.addEventListener("load",()=>{const t=document.querySelector(h.d.CONTAINER),e=document.querySelector(".article-body"),i=document.querySelector(".related-articles"),r=document.querySelector(".social-share"),m=document.querySelector(".ellipsis-menu"),p=document.querySelector(".semaphore-modal");function checkScroll(){const t=i.scrollLeft+i.clientWidth,e=i.scrollWidth-t;i.scrollLeft>0?i.classList.add(h.j.LEFT):i.classList.remove(h.j.LEFT),e>0?i.classList.add(h.j.RIGHT):i.classList.remove(h.j.RIGHT)}if(m&&new n.a(m),p&&new s.a(p),Object(c.a)(),Object(a.a)(e),window.lazyloader.then(t=>t.refreshLoader()),Object(d.a)(),r&&(new n.f(r),document.querySelector(h.k.COMMENT_BUTTON).onclick=u.a,document.querySelector(h.k.LIKE_BUTTON).onclick=function(){o.a.redirect(Object(_.b)())}),t){const e=document.querySelector(h.d.INSERT_SLOT),i={articleUrn:t.getAttribute(h.f),articlePermalink:t.getAttribute(h.e),fetchCount:h.c.FETCH_COUNT,initPageIndex:h.c.INIT_PAGE_INDEX};new l.a(e,i)}i&&(i.addEventListener("scroll",checkScroll),window.addEventListener("resize",checkScroll),checkScroll())})},function(t,e,i){"use strict";e.a=function(t){t.querySelectorAll("img, iframe").forEach(t=>{const e=t.getAttribute("data-li-src").replace(/^http:\/\//i,"//");t.classList.add("lazy-load"),t.setAttribute("data-delayed-url",e),t.removeAttribute("data-li-src")})}},function(t,e,i){"use strict";var n=i(0),s=i(4),r=i(2);function addRemainingReplyNumber(t){const e=t.parentElement.childElementCount-1,i=t.getAttribute(r.i);t.querySelector(r.d.REMAINING_REPLY_NUMBER).innerText=i-e}function fetchMoreReplies(t){const e=t.target,i=e.parentElement.childElementCount-1,s=e.getAttribute(r.i);let o=r.c.REPLY_FETCH_COUNT;s-i<r.c.REPLY_FETCH_COUNT?(o=s-i,e.classList.add(r.d.HIDE_SHOW_MORE_REPLY),e.removeEventListener("click",fetchMoreReplies)):s-i===r.c.REPLY_FETCH_COUNT&&(e.classList.add(r.d.HIDE_SHOW_MORE_REPLY),e.removeEventListener("click",fetchMoreReplies));const a=e.getAttribute(r.g),l=`${r.b}/comments/${encodeURIComponent(a)}?count=${encodeURIComponent(o)}&start=${encodeURIComponent(i)}`;Object(n.i)(l,{sendCookies:!1}).then(t=>{const i=document.createElement("div");i.insertAdjacentHTML("beforeend",t.responseText),Array.prototype.slice.call(i.childNodes).forEach(t=>{e.parentElement.insertBefore(t,e.nextElementSibling)}),window.lazyloader.then(t=>t.refreshLoader()),addRemainingReplyNumber(e)})}e.a=class{constructor(t,e){if(!t)throw new Error("No container passed in");if(!e)throw new Error("No config passed in");this.commentsContainer=t,this.config=e,this.pageIndex=this.config.initPageIndex,this.articlePermalink=this.config.articlePermalink,function fetchComments(){const t=`${r.b}/comments/${encodeURIComponent(this.config.articleUrn)}?count=${this.config.fetchCount}&start=${this.pageIndex*this.config.fetchCount}&articlePermalink=${this.articlePermalink}`;Object(n.i)(t,{sendCookies:!1}).then(function(t){if(""!==t.responseText){const i=document.createElement("div");if(i.insertAdjacentHTML("beforeend",t.responseText),1===this.pageIndex){this.showMoreCommentsElement=document.querySelector(r.d.SHOW_MORE_COMMENT),this.showMoreCommentsElement.addEventListener("click",fetchComments.bind(this));const t=document.querySelector(r.d.HEADER);t&&t.hasAttribute(r.h)&&(this.totalNumberOfComments=t.getAttribute(r.h))}e=i,Array.prototype.slice.call(e.querySelectorAll(r.d.SHOW_MORE_REPLY)).forEach(t=>{addRemainingReplyNumber(t),t.addEventListener("click",fetchMoreReplies)}),Array.prototype.slice.call(i.childNodes).forEach(function(t){this.commentsContainer.appendChild(t),Array.from(t.querySelectorAll(".ellipsis-menu")).forEach(t=>new n.a(t)),Array.from(t.querySelectorAll(".semaphore-modal")).forEach(t=>new s.a(t))}.bind(this)),function(){let t=0;return Array.prototype.slice.call(document.querySelectorAll(r.d.FIRST_LEVEL_COMMENT_ITEM)).forEach(e=>{t+=parseInt(e.getAttribute(r.i)),t+=1}),this.totalNumberOfComments<=t}.call(this)&&this.showMoreCommentsElement.classList.add(r.d.HIDE_SHOW_MORE_COMMENT),window.lazyloader.then(t=>t.refreshLoader())}else{const t=document.querySelector(r.d.SHOW_MORE_COMMENT);t.classList.add(r.d.HIDE_SHOW_MORE_COMMENT)}var e}.bind(this)),this.pageIndex++}.call(this)}}},function(t,e,i){"use strict";e.a=function(){window.tracking.then(t=>{if(!r||!r.socialActivityCounts||!r.author)return void console.error(`tracking.fireArticleViewEvent requires articleData:{socialActivityCounts and author}. Failed on articleData.articleUrn: ${r.articleUrn}`);if(!t||!t.config||!t.config.initialPageInstance)return void console.error(`tracking.fireArticleViewEvent requires trackingInstance. Failed on articleData.articleUrn: ${r.articleUrn}`);const e=t.config.initialPageInstance,i={totalLikes:r.socialActivityCounts.numLikes,totalComments:r.socialActivityCounts.numComments,totalShares:r.socialActivityCounts.numShares,articleId:0,authorId:r.author.authorId,linkedInArticleUrn:r.linkedInArticleUrn,articleUrn:r.articleUrn};i.trackablePulseObject={trackingId:e.trackingId,objectUrn:r.articleUrn},i.header={pageInstance:e,time:Date.now()},t.fireTrackingEvent(s.l.ARTICLE_VIEW_EVENT,i)})};var n=i(5),s=i(2);const r=Object(n.a)("article")},function(t,e,i){"use strict";e.a=function(){window.addEventListener("scroll",lazyloadSlateFollowButton)};var n=i(3),s=i.n(n),r=i(0),o=i(5);let a=Array.prototype.slice.call(document.querySelectorAll(".slate-follow-button"));function lazyloadSlateFollowButton(){0===a.length&&window.removeEventListener("scroll",lazyloadSlateFollowButton),a.forEach(t=>{r.h.elementInViewport(t)&&function(t){const e=document.createElement("a"),i=document.createElement("li-icon");if(i.setAttribute("type","plus-icon"),i.setAttribute("aria-hidden",!0),e.innerText="Follow",e.setAttribute("title","Follow"),e.setAttribute("data-tracking-control-name","article_company_follow"),e.setAttribute("data-tracking-will-navigate",""),e.setAttribute("href",s.a.sanitizeUrl(Object(o.b)())),e.classList.add("article-follow-button"),e.setAttribute("alt",t.getAttribute("data-follow-button-type")+t.getAttribute("data-follow-button-id")),t.previousElementSibling.append(e),a.length>0){const e=a.indexOf(t);e>-1&&a.splice(e,1)}}(t)})}},function(t,e,i){"use strict";e.a=function(){document.querySelector(n.d.CONTAINER).scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})};var n=i(2)}]);