!function(e){var t={};function __webpack_require__(s){if(t[s])return t[s].exports;var i=t[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,__webpack_require__),i.l=!0,i.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,s){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:s})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=2)}([function(e,t,s){"use strict";(function(e){s.d(t,"a",function(){return ye}),s.d(t,"b",function(){return f}),s.d(t,"c",function(){return de}),s.d(t,"d",function(){return Z}),s.d(t,"e",function(){return fe}),s.d(t,"f",function(){return Y}),s.d(t,"g",function(){return J}),s.d(t,"h",function(){return getEmbeddedContent}),s.d(t,"i",function(){return X}),s.d(t,"j",function(){return y});window.encodeURIComponent;function getPageKey(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function getDomain(e){let t=e.domain;return t?t.split(".").slice(-2).join("."):""}const i={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",ESCAPE:"Escape",ENTER:"Enter",SPACEBAR:" ",TAB:"Tab"},o={Down:i.ARROW_DOWN,Right:i.ARROW_RIGHT,Left:i.ARROW_LEFT,Up:i.ARROW_UP,Esc:i.ESCAPE,Spacebar:i.SPACEBAR,Tab:i.TAB};function normalizeKeyBoardEventKey(e){return o[e]||e}const n=".show-more-less-state",r="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(e,t=c,s=d,i){if(!e)throw Error("An element must be provided to SeeMoreLessList");this.el=e,this.listSelector=t,this.stateCheckbox=this.el.querySelector(n),this.listEl=this.el.querySelector(this.listSelector),this.stateLabels={showMore:this.el.querySelector(a),showLess:this.el.querySelector(l)},this.currentItemEl,i&&(this.currentItemEl=this.listEl.querySelector(i)),this.listItemClass=s,this._attachEventListeners()}_attachEventListeners(){this.el.addEventListener("keydown",this._handleKeydownNavEvents.bind(this)),this.stateCheckbox.addEventListener("change",this._handleCheckboxStateChange.bind(this)),this.el.addEventListener("keyup",e=>{normalizeKeyBoardEventKey(e.key)===i.SPACEBAR&&e.preventDefault()})}_handleCheckboxStateChange(){this.stateCheckbox.checked?this._handleFocusAtOpen():this._handleFocusAtCLose(),Object.keys(this.stateLabels).forEach(e=>{this.stateLabels[e].setAttribute("aria-expanded",this.stateCheckbox.checked)})}_handleFocusAtOpen(){this.currentItemEl?this.currentItemEl.focus():this.stateLabels.showLess.focus()}_handleFocusAtCLose(){this.stateLabels.showMore.focus()}_checkboxStateChange(e){this.stateCheckbox.checked=e,this._handleCheckboxStateChange()}_handleKeydownNavEvents(e){switch(normalizeKeyBoardEventKey(e.key)){case i.ENTER:case i.SPACEBAR:e.target.classList.contains(r)&&(e.preventDefault(),this._checkboxStateChange(!this.stateCheckbox.checked));break;case i.ARROW_UP:this._checkboxStateChange(!0);break;case i.ARROW_DOWN:case i.ESCAPE:this._checkboxStateChange(!1);break;case i.ARROW_LEFT:if(this.stateCheckbox.checked&&e.target.classList.contains(this.listItemClass)){let t=e.target.parentNode.previousSibling;t&&t.firstChild.focus()}break;case i.ARROW_RIGHT:if(this.stateCheckbox.checked&&e.target.classList.contains(this.listItemClass)){let t=e.target.parentNode.nextSibling;t&&t.firstChild.focus()}}}}const u=".dropdown__list",p="dropdown__link",m=".dropdown__link";class _ extends h{constructor(e,t=p,s=m){if(!e)throw Error("An element must be provided to Dropdown");super(e,u,t,s),this.listFirstChild=this.listEl.firstChild,this.listLastChild=this.listEl.lastChild,this._attachCustomDropdownEventListeners()}_attachCustomDropdownEventListeners(){document.addEventListener("click",this._handleBodyClick.bind(this)),this.el.addEventListener("keydown",e=>{"Tab"===e.key&&this._handleTab(e)})}_handleBodyClick(e){this.stateCheckbox.checked&&e.target!==this.el&&!this.el.contains(e.target)&&this._checkboxStateChange(!1)}_handleTab(e){(this.listLastChild.contains(e.target)&&!e.shiftKey||this.listFirstChild.contains(e.target)&&e.shiftKey)&&this._checkboxStateChange(!1)}}const b="language-selector__link",E=".language-selector__link--selected",g="data-locale",w=31536e6;class f extends _{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");super(e,b,E),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(e){const t=e.target.getAttribute(g);if(t){const e=this.getLangCookieString(t);null!==e&&(document.cookie=e),location.reload()}}getLangCookieString(e){let t=null;if(null!==e){const s=e.toLocaleLowerCase().replace("_","-"),i=getDomain(document);let o=new Date;o.setTime(o.getTime()+w),t='lang="v=2&lang='.concat(s,'";path=/;domain=').concat(i,";expires=").concat(o.toUTCString())}return t}}function closest(e,t){if(!e)return null;let s=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!s.call(e,t);)e=e.parentElement;return e}function onload(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})}function makeArray(e){return null==e||"object"!=typeof e?[]:Array.prototype.slice.call(e)}function elementInViewport(e){const t=e.getBoundingClientRect(),s=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth,o=t.top<=s&&t.top+t.height>=0,n=t.left<=i&&t.left+t.width>=0;return o&&n}function hasElementScrolledToThreshold({scrollTop:e=scrollY,clientHeight:t=window.innerHeight,scrollHeight:s=document.body.scrollHeight}={},i=0){return e>=s-(t+t*i)}function getQueryParam(e,t,s){const i=new RegExp("([\\?&])".concat(s?t:encodeURIComponent(t),"=([^&#]*)")).exec(e);return i&&(s?i[2]:decodeURIComponent(i[2]))}function addQueryParam(e,t,s,i){if(!e||!t)throw new Error("Required param of addQueryParam missing: url = ".concat(e,",  key = ").concat(t));t=encodeURIComponent(t),s=encodeURIComponent(s);const o=getQueryParam(e,t,!0);if(o)return i?e.replace(o,s):e;{const i=e.indexOf("?");let[o,n]=e.split("#"),r="&";return i<0?r="?":i===e.length-1&&(r=""),n&&(n="#".concat(n)),"".concat(o).concat(r).concat(t,"=").concat(s).concat(n||"")}}function debounce(e,t,s){if("function"!=typeof e)throw new TypeError("Expected a function.");let i;return(...o)=>{const n=s&&!i;clearTimeout(i),i=setTimeout(()=>{i=null,s||e.apply(this,o)},t),n&&e.apply(this,o)}}function getCookie(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}function dispatchCustomEvent(e,t,s={}){const i=document.createEvent("CustomEvent");i.initCustomEvent(t,!0,!0,s),e.dispatchEvent(i)}function getDeferredPromise(){let e,t;const s=new Promise((s,i)=>{e=s,t=i});return s.resolve=e,s.reject=t,s}var y=Object.freeze({__proto__:null,closest:closest,onload:onload,makeArray:makeArray,outerWidth:function(e){let t=e.offsetWidth,s=getComputedStyle(e);return t+=(parseInt(s.marginLeft,10)||0)+(parseInt(s.marginRight,10)||0)},elementInViewport:elementInViewport,hasElementScrolledToThreshold:hasElementScrolledToThreshold,getQueryParam:getQueryParam,addTrackingCode:function(e,t){return addQueryParam(e,"trk",t)},addQueryParam:addQueryParam,debounce:debounce,getCookie:getCookie,dispatchCustomEvent:dispatchCustomEvent,getDeferredPromise:getDeferredPromise}),v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};parseInt;var k="object"==typeof v&&v&&v.Object===Object&&v,C="object"==typeof self&&self&&self.Object===Object&&self;k||C||Function("return this")(),Object.prototype.toString,Math.max,Math.min;const L="click",O="keydown",S="focus",A="keyup";class T{constructor(e,t,{mainButton:s,closeButton:i},o={}){if(!e)throw Error("An element must be provided to Collapsible");if(!t)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=e,this.listEl=t;let{currentListItem:n=t.children[0],isOpen:r=!1}=o;this.currentListItem=n,this.isOpen=r,this.mainButton=s,this.closeButton=i,this.buttons=[s],this.mainButton.addEventListener(L,()=>this.closeButton?this._open():this._toggle()),this.mainButton.addEventListener(O,e=>this._onButtonKeyDown(e)),this.mainButton.addEventListener(A,e=>this._onButtonKeyUp(e)),this.closeButton&&(this.closeButton.addEventListener(L,()=>this.close()),this.closeButton.addEventListener(O,e=>this._onButtonKeyDown(e)),this.buttons.push(this.closeButton)),this.listEl.addEventListener(O,e=>this._onListKeyDown(e))}_toggle(){this.isOpen?this.close():this._open()}_onButtonKeyDown(e){const t=normalizeKeyBoardEventKey(e.key);switch(t){case i.ENTER:case i.SPACEBAR:e.preventDefault(),this.isOpen?this.close():this._open(t);break;case i.ARROW_UP:this.isOpen||this._open();break;case i.ARROW_DOWN:this.isOpen&&this.close()}}_onButtonKeyUp(e){const t=normalizeKeyBoardEventKey(e.key);this.isOpen&&t===i.SPACEBAR&&(e.preventDefault(),dispatchCustomEvent(this.currentListItem,S))}_onListKeyDown(e){let t;switch(normalizeKeyBoardEventKey(e.key)){case i.ESCAPE:this.isOpen&&this.close();break;case i.ARROW_LEFT:let s=(t=closest(e.target,"li")).previousElementSibling;s&&dispatchCustomEvent(s,S);break;case i.ARROW_RIGHT:let o=(t=closest(e.target,"li")).nextElementSibling;o&&dispatchCustomEvent(o,S)}}_open(e){this.isOpen||(this.isOpen=!0,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),dispatchCustomEvent(this.el,"open"),e!==i.SPACEBAR&&dispatchCustomEvent(this.currentListItem,S))}close({shouldReturnFocusToTrigger:e=!0}={}){this.isOpen&&(this.isOpen=!1,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),dispatchCustomEvent(this.el,"close"),e&&this.mainButton.focus())}}const R=".".concat("collapsible-dropdown","__list"),B=".".concat("collapsible-dropdown","__button"),x="hidden";class P{constructor(e,t=(e=>e),{listEl:s,dropdownTriggerEl:i}={}){if(!e)throw Error("An element must be provided to CollapsibleDropdown");this.el=e,this.listEl=s||this.el.querySelector(R),this.dropdownTriggerEl=i||this.el.querySelector(B),this._getFocusItemFromListItem=t,this.hideClass=x,this.collapsible=new T(e,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",e=>this._focusItem(e))}_focusItem(e){const t=e.target;if(t){const e=this._getFocusItemFromListItem(t);e&&e.focus()}}_handleBodyClick(e){this.el.contains(e.target)||this.collapsible.close({shouldReturnFocusToTrigger:!1})}_showDropdownList(){document.addEventListener("mousedown",this._handleBodyClick),this.el.addEventListener("focusout",this._focusOutsideDropdown),this.listEl.classList.remove(this.hideClass)}_hideDropdownList(){document.removeEventListener("mousedown",this._handleBodyClick),this.el.removeEventListener("focusout",this._focusOutsideDropdown),this.listEl.classList.add(this.hideClass)}_focusOutsideDropdown(e){e.relatedTarget&&!this.el.contains(e.relatedTarget)&&this.collapsible.isOpen&&this.collapsible.close()}}const I=".member-nav-menu";"".concat(I,"__list"),"".concat(I,"__item-link"),"".concat(I,"__button");function _defineProperty(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function ownKeys(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,i)}return s}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(s),!0).forEach(function(t){_defineProperty(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):ownKeys(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}const D="tab-toggle";"".concat(D,"--active");const q=".social-share__state",F="data-share-message",K="data-share-url",U="social-share--embed",N="social-share__embed-overlay-dismiss",j="embed-overlay__copy-text-input",M="social-share__item",H="social-share__dropdown",W="embedOverlayShown",z="embedOverlayHidden",V={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"},Q=Object.keys(V).map(e=>V[e]),J={EMBED_SHARE_OVERLAY_HIDE_EVENT:z,EMBED_SHARE_OVERLAY_SHOW_EVENT:W};class Y{constructor(e,{globalNavigator:t=navigator,globalWindow:s=window}={}){if(!e)throw new Error("No element passed in");this.navigator=t,this.window=s,this.el=e,this._encodedShareMessage=this.window.encodeURIComponent(this.el.getAttribute(F))||"",this._encodedShareUrl=this.window.encodeURIComponent(this.window.location.href),this.stateCheckboxEl=this.el.querySelector(q),this.isEmbed=this.el.classList.contains(U),this.closeButton=this.el.querySelector(".".concat(N)),this.dropdown=this.el.querySelector("#".concat(H)),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",({target:e})=>{const t=e.classList.contains(M)?e:closest(e,".".concat(M));t&&this.share(t.dataset.shareService)}),this.isEmbed&&!this.navigator.hasOwnProperty("clipboard")){const e=this.el.querySelector(".embed-overlay__copy-btn");e.parentNode.removeChild(e)}this.el.hasAttribute(K)&&this.el.getAttribute(K)&&(this._encodedShareUrl=this.window.encodeURIComponent(this.el.getAttribute(K)))}_handleBodyClick(e){e.target===this.el||this.el.contains(e.target)||(this.stateCheckboxEl.checked=!1,this.onClose())}handleStateChange({target:e}){e.checked?this.onOpen():this.onClose()}onOpen(){this.isEmbed?(this.closeButton.addEventListener("click",this.onEmbedOverlayCloseClick),dispatchCustomEvent(this.el,W)):(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,z)):(document.removeEventListener("click",this.onBodyClick),document.removeEventListener("focusin",this.onFocusOut)),this.stateCheckboxEl.setAttribute("aria-label",this.showString),this.stateCheckboxEl.setAttribute("aria-expanded","false")}_handleFocusOutDropdown(e){this.dropdown.contains(e.target)||(this.stateCheckboxEl.checked=!1,this.onClose(),this.el.focus())}_copyText(){let e=this.el.querySelector(".".concat(j)).value;e&&this.navigator.clipboard.writeText(e)}_getServiceUrl(e){return{linkedin:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(this._encodedShareUrl,"&title=").concat(this._encodedShareMessage),twitter:"https://twitter.com/intent/tweet?url=".concat(this._encodedShareUrl,"&text=").concat(this._encodedShareMessage),facebook:"https://www.facebook.com/sharer/sharer.php&u=".concat(this._encodedShareUrl)}[e]||""}share(e){if(e===V.COPY)this._copyText();else if(Q.includes(e)){const t=this.window.location.href,s=this._getServiceUrl(e,t);this.window.open(s,e,"height=600,width=1000")}}}const G={};function getEmbeddedContent(e){const t=document.getElementById(e);if(!t&&void 0!==G[e])return G[e];if(!t)return console.warn("Element with id: ".concat(e," not found")),G[e]=null,G[e];try{G[e]=JSON.parse(t.firstChild.nodeValue)}catch(t){console.warn("Error fetching embedded content with id: ".concat(e)),G[e]=null}return t.parentNode.removeChild(t),G[e]}var X=Object.freeze({__proto__:null,init:function(e){e.forEach(e=>{e.addEventListener("load",()=>{const t=JSON.parse(e.getAttribute("data-player-document-config")),s=JSON.parse(e.getAttribute("data-a11y")),i=JSON.parse(e.getAttribute("data-i18n"));t.title=e.getAttribute("data-player-title"),t.subtitle=e.getAttribute("data-player-subtitle"),t.isScanAvailable="playerScanAvailable"in e.dataset,t.scanUnavailableOnDownloadTitle=e.getAttribute("data-player-scan-unavailable-on-download-title"),t.scanUnavailableOnAccessibilityModeTitle=e.getAttribute("data-player-scan-unavailable-on-accessibility-mode-title"),t.scanUnavailableRedirectUrl=e.getAttribute("data-player-scan-unavailable-redirect-url"),"playerCompactLayout"in e.dataset&&(t.isNativeDocumentEmbedsAuthorInfosTopbarLixEnabled?t.enableTopbarAuthor=!0:t.enableBottombar=!0),t.authorTitle=e.getAttribute("data-player-author-title"),t.authorSubtitle=e.getAttribute("data-player-author-subtitle"),t.authorTitleUrl=e.getAttribute("data-player-author-title-url"),t.inbugUrl=e.getAttribute("data-player-inbug-url");const o={context:"native-document",action:"init",doc:t,a11y:s,i18n:i};e.contentWindow.postMessage(JSON.stringify(o),"*")})})}});class Z{constructor(e,t={},s=window.tracking,i=window.lazyloader){const{sources:o,posterUrl:n,mediaUrn:r,trackingId:a,captionsUrl:l}=e.dataset,c=JSON.parse(o);if(!c.length)throw new Error("Please pass video sources in correct Array string format inside data-sources attribute");e.hasAttribute("autoplay")&&(t.autoplay=!0),this._mediaPlayerInstancePromise=this._createPlayer(e,a,r,t,i).then(e=>(n&&e.poster(n),e.src(c),l&&e.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:l}),this._bindTracking(e,s),e))}_createPlayer(e,t,s,i,o){return o.then(e=>e.getLazyLoadedJavascriptModule("media-player")).then(o=>{const{createPlayer:n}=o,r=i.plugins&&i.plugins.rum&&i.plugins.rum.mediaHeader&&i.plugins.rum.mediaHeader.mediaSource||"ugc",a=_objectSpread2({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},i);return a.plugins.tracking={mediaUrn:s,trackingId:t},a.plugins.rum={mediaUrn:s,trackingId:t,mediaHeader:{mediaSource:r}},n(e,a)})}_bindTracking(e,t){t.then(t=>{const s=this._getMediaPlayerTrackingEventHandler(t);e.tracking().on("track",s),e.rum().on("track",s)})}_getMediaPlayerTrackingEventHandler(e){return function(t,{eventName:s,eventData:i}){let o=_objectSpread2({header:{},requestHeader:{}},i);delete o.name,delete o.plugin,delete o.instance,o.requestHeader.pageKey||(o.requestHeader.pageKey=getPageKey(document)),e.fireTrackingEvent(s,o)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}const $=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([disabled]):not([tabindex^="-"]):not([type="hidden"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','[tabindex]:not([tabindex^="-"]):not([disabled])'].join(",");function isElStyleHidden(e){const t=window.getComputedStyle(e);return"hidden"===t.visibility||"none"===t.display}function isElVisible(e,t=document.documentElement,s){if(e===t)return!isElStyleHidden(e);if(s&&s.get(e))return s.get(e);let i;return isElStyleHidden(e)?i=!1:e.parentNode&&(i=isElVisible(e.parentNode,t,s)),s&&s.set(e,i),i}const ee=["class","disabled","style","tabindex","type"];class te{constructor(e){if(!e)throw new Error("FocusTrap: No focus trap container passed in");this._container=e,this._observer=new MutationObserver(()=>this._setFirstAndLastFocusableEls(this._container)),this._handleKeyDown=this._focusTrap.bind(this)}init(){this._observer.observe(this._container,{attributeFilter:ee,childList:!0,subtree:!0}),this._setFirstAndLastFocusableEls(this._container),this._container.addEventListener("keydown",this._handleKeyDown)}tearDown(){this._observer.disconnect(),this._container.removeEventListener("keydown",this._handleKeyDown)}_focusTrap(e){const{key:t,target:s}=e,o=normalizeKeyBoardEventKey(t),n=o===i.TAB&&e.shiftKey;!n&&o===i.TAB&&s===this.lastFocusableEl?(this.firstFocusableEl.focus(),e.preventDefault()):n&&s===this.firstFocusableEl&&(this.lastFocusableEl.focus(),e.preventDefault())}_setFirstAndLastFocusableEls(e){const[t,s]=this._getFirstAndLastFocusableEls(e);this.firstFocusableEl=t,this.lastFocusableEl=s}_getFirstAndLastFocusableEls(e){const t=[...e.querySelectorAll($)],s=new Map;let i,o,n=0,r=t.length-1;for(;(!i||!o)&&n<=r;){if(!i){const o=t[n];i=isElVisible(o,e,s)&&o,n++}if(!o){const i=t[r];o=isElVisible(i,e,s)&&i,r--}}return[i,o=o||i]}}const{ENTER:se,ESCAPE:ie}=i,oe="modal__dismiss",ne="modal__overlay--visible",re="no-scroll",ae="modal__outlet",le="modal__overlay",ce="modal__wrapper";class de{constructor(e){if(!e)throw new Error("No modal element passed in");this._el=e,this._wrapperEl=this._el.querySelector(".".concat(ce)),this._overlayEl=this._el.querySelector(".".concat(le)),this._outletEl=this._getOutletEl(),this._exitButtonEl=this._el.querySelector(".".concat(oe)),this._onKeyDownEvent=(e=>this._onKeyDown(e)),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)),this._focusTrap=new te(this._wrapperEl)}_getOutletEl(){const e=this._el.dataset.outletId;if(e){const t=document.getElementById(e);if(!t)throw new Error("No outlet found for id #".concat(e));return t}return this._el.querySelector(".".concat(ae))}_handleOverlayClick(e){e.stopPropagation(),e.target===this._wrapperEl||this._wrapperEl.contains(e.target)||this.close()}_handleModalKeyup(e){e.stopPropagation()}_onKeyDown(e){const t=normalizeKeyBoardEventKey(e.key),s=t===se&&document.activeElement===this._exitButtonEl;(t===ie||s)&&(this.close(),e.preventDefault())}open(){this._previouslyFocusedEl=document.activeElement,this._overlayEl.classList.add(ne),document.body.classList.add(re),document.addEventListener("keydown",this._onKeyDownEvent),dispatchCustomEvent(this._el,"open"),this._wrapperEl&&this._wrapperEl.focus(),this._focusTrap.init()}close(){this._overlayEl.classList.remove(ne),document.body.classList.remove(re),document.removeEventListener("keydown",this._onKeyDownEvent),dispatchCustomEvent(this._el,"close"),this._previouslyFocusedEl&&this._previouslyFocusedEl.focus(),this._focusTrap.tearDown()}}!function(e){const t=new RegExp("<(?!/?(?:"+e.allowedTags+")(?:[ \t\r\n]*/?>|[ \t\r\n]+(?:(?:(?:"+e.allowedAttributes+")(?:=([\"'])[^'\"<>]*\\1)?|(?:"+e.allowedURLAttributes+")=([\"'])(?:(?:"+e.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"});function empty(){const e=(e="")=>!e||0===e.trim().length;return e.errorMessageSuffix="error_empty",e}function tooShort(e){const t=(t="")=>t.length<e;return t.errorMessageSuffix="error_too_short",t}function tooLong(e){const t=(t="")=>t.length>e;return t.errorMessageSuffix="error_too_long",t}empty(),tooShort(3),tooLong(128),empty(),tooShort(6),tooLong(400);var he=window||e;const ue="utag_data";he[ue]||(he[ue]={});const pe="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;he.utag_cfg_ovrd=he.utag_cfg_ovrd||{},he.utag_cfg_ovrd.noview=!0,he.utag_cfg_ovrd.nocookie=!0;pe&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(he.navigator.userAgent);const me=".".concat("show-more-less","__list"),_e=".".concat("show-more-less","__more-button"),be=".".concat("show-more-less","__less-button"),Ee="data-max-num-to-show",ge="".concat("show-more-less","__list--hide-after"),we="".concat("show-more-less","__button--hide");class fe{constructor(e,t=(e=>e)){if(!e)throw Error("An element must be provided to ShowMoreLess");this.el=e,this.listEl=this.el.querySelector(me),this._getFocusItemFromListItem=t,this.maxNumToShow=parseInt(this.listEl.getAttribute(Ee)),this.hideClass="".concat(ge,"-").concat(this.maxNumToShow),this.showMoreButton=this.el.querySelector(_e),this.showLessButton=this.el.querySelector(be),this._attachEventListeners(),this.firstHiddenListItem=this.listEl.children[this.maxNumToShow],this.isExpanded=!this.listEl.classList.contains(this.hideClass),new T(e,this.listEl,{mainButton:this.showMoreButton,closeButton:this.showLessButton},{currentListItem:this.firstHiddenListItem,isOpen:this.isExpanded})}_attachEventListeners(){this.el.addEventListener("open",()=>this._showElements()),this.el.addEventListener("close",()=>this._hideElements()),this.listEl.addEventListener("focus",e=>this._focusItem(e))}_focusItem(e){let t=e.target;if(t){let e=this._getFocusItemFromListItem(t);e&&e.focus()}}_showElements(){this.listEl.classList.remove(this.hideClass),this._toggleButtons(!1)}_hideElements(){this.listEl.classList.add(this.hideClass),this._toggleButtons(!0)}_toggleButtons(e){e?(this.showLessButton.classList.add(we),this.showMoreButton.classList.remove(we)):(this.showLessButton.classList.remove(we),this.showMoreButton.classList.add(we))}}class ye{constructor(e){if(!e)throw new Error("EllipsisMenu el required");this._el=e;const t=this._el.querySelector(".collapsible-dropdown");if(!t)throw new Error("A collapsible dropdown is required to instantiate an EllipsisMenu");this.getFocusItemFromListItem=(e=>e.querySelector("[href], button")),this.collapsibleDropdown=new P(t,this.getFocusItemFromListItem)}}}).call(t,s(1))},function(e,t){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(s=window)}e.exports=s},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(0),o=s(3),n=s(4);Object(n.a)(".public-post"),new i.f(document.querySelector(".social-share")),new i.b(document.querySelector(".language-selector"));const r=document.querySelector(".share-native-video__node");r&&new i.d(r),i.i.init(i.j.makeArray(document.querySelectorAll(".share-native-document__iframe"))),i.j.makeArray(document.querySelectorAll(".ellipsis-menu")).forEach(e=>new i.a(e)),i.j.makeArray(document.querySelectorAll(".show-more-less")).forEach(e=>new i.e(e)),i.j.makeArray(document.querySelectorAll(".semaphore-modal")).forEach(e=>new o.a(e))},function(e,t,s){"use strict";s.d(t,"a",function(){return l});var i=s(0);const o={URL:"data-url"},n={CLICK:"click",CLOSE:"close",OPEN:"open"},r={REPORT_OPTIONS:"report-option"},a={REPORT_BODY:".semaphore-modal__body",REPORT_BUTTON:".semaphore-modal__submit",REPORT_OPTIONS:".".concat(r.REPORT_OPTIONS)};class l extends i.c{constructor(e){if(!e)throw new Error("Semaphore modal container cannot be null");super(e),this._el.addEventListener(n.OPEN,this._bindEvents.bind(this)),this.reportOptionsEl=i.j.makeArray(this._el.querySelectorAll(a.REPORT_OPTIONS)),this.submitButton=this._el.querySelector(a.REPORT_BUTTON)}_bindEvents(){this._el.querySelector(a.REPORT_BODY).addEventListener(n.CLICK,this._handleOptionClick.bind(this)),this.submitButton.addEventListener(n.CLICK,this._handleReportClick.bind(this)),this._el.addEventListener(n.CLOSE,this._tearDown.bind(this))}_handleOptionClick(e){e.target&&e.target.classList.contains(r.REPORT_OPTIONS)&&this.submitButton&&this.submitButton.disabled&&(this.submitButton.disabled=!1,this._lastTabableEl=this.submitButton)}_handleReportClick(e){let t;if(this._mapOnOptions(e=>{e&&e.checked&&(t=e)}),t){let e;if(t.hasAttribute(o.URL)&&(e=t.getAttribute(o.URL)),e)return window.location=e,void this._tearDown()}}_tearDown(){this._mapOnOptions(e=>{e&&e.checked&&(e.checked=!1)}),this.submitButton&&(this.submitButton.disabled=!0,this._lastTabableEl=this._tabableElements[this._tabableElements.length-1])}_mapOnOptions(e){this.reportOptionsEl.forEach(t=>e(t))}}},function(e,t,s){"use strict";var i=s(0);const o={index:1},n=300;function maybeTrackImpression(e,t){const s=Date.now()-t;if(s>=n){var r=document.querySelector(e).getBoundingClientRect();const t=r.width,n=r.height;!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};let t=e.activityUrn,s=e.duration,i=e.locale,n=e.size;window.tracking.then(e=>{const r={duration:s,listPosition:o,size:n,trackingId:e.generateTrackingId(),urn:t,visibleTime:Date.now()},a={entities:[r],header:{},requestHeader:{interfaceLocale:i||null}};e.fireTrackingEvent("FeedImpressionEvent",a)})}({activityUrn:Object(i.h)("activityUrn")||"",locale:function(){let e=document.querySelector('meta[name="locale"]');return e&&e.content||""}(),size:{height:n,width:t},duration:s})}}t.a=(e=>{i.j.onload(()=>{let t=Date.now(),s="visibilitychange";void 0!==document.msHidden&&(s="msvisibilitychange"),document.addEventListener(s,()=>{document.hidden||document.msHidden?maybeTrackImpression(e,t):t=Date.now()}),window.addEventListener("beforeunload",()=>{maybeTrackImpression(e,t)})})})}]);