!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 we}),s.d(t,"b",function(){return f}),s.d(t,"c",function(){return $}),s.d(t,"d",function(){return M}),s.d(t,"e",function(){return Ee}),s.d(t,"f",function(){return K}),s.d(t,"g",function(){return j}),s.d(t,"h",function(){return getEmbeddedContent}),s.d(t,"i",function(){return F}),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_RIGHT:"ArrowRight",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ESCAPE:"Escape",SPACEBAR:" ",ENTER:"Enter"},o={Down:i.ARROW_DOWN,Right:i.ARROW_RIGHT,Left:i.ARROW_LEFT,Up:i.ARROW_UP,Esc:i.ESCAPE,Spacebar:i.SPACEBAR};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",m="dropdown__link",p=".dropdown__link";class _ extends h{constructor(e,t=m,s=p){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",g=".language-selector__link--selected",E="data-locale",w=31536e6;class f extends _{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");super(e,b,g),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(e){const t=e.target.getAttribute(E);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;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 L="tab-toggle";"".concat(L,"--active");const O=".social-share__state",S="data-share-message",A="data-share-url",T="social-share--embed",R="social-share__embed-overlay-dismiss",x="embed-overlay__copy-text-input",B="social-share__item",P="social-share__dropdown",I="embedOverlayShown",D="embedOverlayHidden",q={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"},U=Object.keys(q).map(e=>q[e]),j={EMBED_SHARE_OVERLAY_HIDE_EVENT:D,EMBED_SHARE_OVERLAY_SHOW_EVENT:I};class K{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(S))||"",this._encodedShareUrl=this.window.encodeURIComponent(this.window.location.href),this.stateCheckboxEl=this.el.querySelector(O),this.isEmbed=this.el.classList.contains(T),this.closeButton=this.el.querySelector(".".concat(R)),this.dropdown=this.el.querySelector("#".concat(P)),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(B)?e:closest(e,".".concat(B));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(A)&&this.el.getAttribute(A)&&(this._encodedShareUrl=this.window.encodeURIComponent(this.el.getAttribute(A)))}_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,I)):(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,D)):(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(x)).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===q.COPY)this._copyText();else if(U.includes(e)){const t=this.window.location.href,s=this._getServiceUrl(e,t);this.window.open(s,e,"height=600,width=1000")}}}const N={};function getEmbeddedContent(e){const t=document.getElementById(e);if(!t&&void 0!==N[e])return N[e];if(!t)return console.warn("Element with id: ".concat(e," not found")),N[e]=null,N[e];try{N[e]=JSON.parse(t.firstChild.nodeValue)}catch(t){console.warn("Error fetching embedded content with id: ".concat(e)),N[e]=null}return t.parentNode.removeChild(t),N[e]}var F=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 M{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 H=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex="0"]'].join(",");const W="modal__dismiss",z="modal__overlay--visible",Q="no-scroll",V="modal__outlet",J="modal__overlay",Y="modal__wrapper",G=13,X=27,Z=9;class ${constructor(e){if(!e)throw new Error("No modal element passed in");this._el=e,this._wrapperEl=this._el.querySelector(".".concat(Y)),this._overlayEl=this._el.querySelector(".".concat(J)),this._outletEl=this._getOutletEl(),this._exitButtonEl=this._el.querySelector(".".concat(W)),this._onKeyDownEvent=(e=>this._onKeyDown(e)),this._tabableElements=[...this._overlayEl.querySelectorAll(H)],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 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(V))}_handleOverlayClick(e){e.stopPropagation(),e.target===this._wrapperEl||this._wrapperEl.contains(e.target)||this.close()}_handleModalKeyup(e){e.stopPropagation()}_onKeyDown(e){const{keyCode:t,target:s}=e,i=t===G&&document.activeElement===this._exitButtonEl,o=t===X,n=t===Z&&e.shiftKey,r=!n&&t===Z;o||i?(this.close(),e.preventDefault()):r&&s===this._lastTabableEl?(this._firstTabableEl.focus(),e.preventDefault()):n&&s===this._firstTabableEl&&(this._lastTabableEl.focus(),e.preventDefault())}open(){this._previouslyFocusedEl=document.activeElement,this._overlayEl.classList.add(z),document.body.classList.add(Q),document.addEventListener("keydown",this._onKeyDownEvent),dispatchCustomEvent(this._el,"open"),this._firstTabableEl&&this._firstTabableEl.focus()}close(){this._overlayEl.classList.remove(z),document.body.classList.remove(Q),document.removeEventListener("keydown",this._onKeyDownEvent),dispatchCustomEvent(this._el,"close"),this._previouslyFocusedEl&&this._previouslyFocusedEl.focus()}}!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"});const ee="click",te="keydown",se="focus",ie="keyup";class oe{constructor(e,t,{mainButton:s,closeButton:o},n={}){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:r=t.children[0],isOpen:a=!1}=n;this.currentListItem=r,this.isOpen=a,this.mainButton=s,this.closeButton=o,this.buttons=[s],this.mainButton.addEventListener(ee,()=>this.closeButton?this._open():this._toggle()),this.mainButton.addEventListener(te,e=>this._onButtonKeyDown(e)),this.mainButton.addEventListener(ie,e=>{normalizeKeyBoardEventKey(e.key)===i.SPACEBAR&&e.preventDefault()}),this.closeButton&&(this.closeButton.addEventListener(ee,()=>this.close()),this.closeButton.addEventListener(te,e=>this._onButtonKeyDown(e)),this.buttons.push(this.closeButton)),this.listEl.addEventListener(te,e=>this._onListKeyDown(e))}_toggle(){this.isOpen?this.close():this._open()}_onButtonKeyDown(e){switch(normalizeKeyBoardEventKey(e.key)){case i.ENTER:case i.SPACEBAR:e.preventDefault(),this.isOpen?this.close():this._open();break;case i.ARROW_UP:this.isOpen||this._open();break;case i.ARROW_DOWN:this.isOpen&&this.close()}}_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,se);break;case i.ARROW_RIGHT:let o=(t=closest(e.target,"li")).nextElementSibling;o&&dispatchCustomEvent(o,se)}}_open(){this.isOpen||(this.isOpen=!0,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),dispatchCustomEvent(this.el,"open"),dispatchCustomEvent(this.currentListItem,se))}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 ne=".".concat("collapsible-dropdown","__list"),re=".".concat("collapsible-dropdown","__button"),ae="hidden";class le{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(ne),this.dropdownTriggerEl=i||this.el.querySelector(re),this._getFocusItemFromListItem=t,this.hideClass=ae,this.collapsible=new oe(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("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(e){!this.listEl.contains(e.target)&&this.collapsible.isOpen&&this.collapsible.close()}}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 ce=window||e;const de="utag_data";ce[de]||(ce[de]={});const he="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;ce.utag_cfg_ovrd=ce.utag_cfg_ovrd||{},ce.utag_cfg_ovrd.noview=!0,ce.utag_cfg_ovrd.nocookie=!0;he&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(ce.navigator.userAgent);const ue=".".concat("show-more-less","__list"),me=".".concat("show-more-less","__more-button"),pe=".".concat("show-more-less","__less-button"),_e="data-max-num-to-show",be="".concat("show-more-less","__list--hide-after"),ge="".concat("show-more-less","__button--hide");class Ee{constructor(e,t=(e=>e)){if(!e)throw Error("An element must be provided to ShowMoreLess");this.el=e,this.listEl=this.el.querySelector(ue),this._getFocusItemFromListItem=t,this.maxNumToShow=parseInt(this.listEl.getAttribute(_e)),this.hideClass="".concat(be,"-").concat(this.maxNumToShow),this.showMoreButton=this.el.querySelector(me),this.showLessButton=this.el.querySelector(pe),this._attachEventListeners(),this.firstHiddenListItem=this.listEl.children[this.maxNumToShow],this.isExpanded=!this.listEl.classList.contains(this.hideClass),new oe(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(ge),this.showMoreButton.classList.remove(ge)):(this.showLessButton.classList.remove(ge),this.showMoreButton.classList.add(ge))}}class we{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 le(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)})})})}]);