/*! For license information please see overviewGuestHouse.js.LICENSE.txt */
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t,n){"use strict";(function(e,i){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s;n.d(t,"a",(function(){return Jn})),n.d(t,"b",(function(){return Ae})),n.d(t,"c",(function(){return Vt})),n.d(t,"d",(function(){return ze})),n.d(t,"e",(function(){return je})),n.d(t,"f",(function(){return Pn})),n.d(t,"g",(function(){return J})),n.d(t,"h",(function(){return O})),n.d(t,"i",(function(){return te})),n.d(t,"j",(function(){return Ti}));var a,l,c,d={ADVERTISING:"ADVERTISING",ANALYTICS_AND_RESEARCH:"ANALYTICS_AND_RESEARCH",FUNCTIONAL:"FUNCTIONAL"},u="GUEST",h="MEMBER",p=0,f=1,g=2,m=(r(s={},u,"li_gc"),r(s,h,"li_mc"),s),_=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;for(var s in o(this,e),t=t||{},this.consentAvailable=!1,this.issuedAt=n,this.userMode=i,this.optedInConsentMap={},d)t[s]=t[s]||p,t[s]!==p&&(this.consentAvailable=!0),this.optedInConsentMap[s]=t[s]===f||t[s]===p&&r===f},v=(a=[d.ADVERTISING,d.ANALYTICS_AND_RESEARCH,d.FUNCTIONAL],l=[p,f,g,p],c=new RegExp(["^(\\d+)","(\\d+)","(\\d+)","((?:.|\\s)+)"].join(";")),{parseConsentBody:function(e,t){var n=e.match(c);if(!n)return{error:"Invalid consent body encoding",consent:new _};for(var i=parseInt(n[1],10),o={},r=0;r<a.length;r++)o[a[r]]=l[i>>2*r&3];var s=new Date(1e3*parseInt(n[2],10)),d=parseInt(n[3],10),u=p;return d>=0&&d<=3&&(u=l[d]),{error:null,consent:new _(o,s,t,u)}}}),E=new RegExp(["^(\\d+)","((?:.|\\s)+)"].join(";")),w=function(e,t){var n=t.match(new RegExp("(?:^|; *)".concat(e,"=([^;]*)")));return n&&n.length>1?n[1]:null},b=function(e,t){var n=w(m[e],t);return n?T(n,e):w(m[u],t)||w(m[h],t)?y(g):y(f)},y=function(e){var t={};for(var n in d)t[n]=e;return{error:null,consent:new _(t,null,null,e)}};var T=function(t,n){t&&t.length>1&&'"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.substring(1,t.length-1));var i,o=null;try{o=(i=t,"undefined"==typeof atob&&void 0!==e?e.from(i,"base64").toString("binary"):atob(i)).match(E)}catch(e){}if(!o)return{error:"Invalid consent encoding",consent:new _};var r=parseInt(o[1],10),s=o[2];switch(r){case 1:return v.parseConsentBody(s,n);default:return{error:"Invalid encoded consent version ".concat(r),consent:new _}}},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.cookie;return e||(e=w("liap",t)?w(m[h],t)?h:u:w(m[u],t)?u:h),b(e,t)};window.encodeURIComponent;function k(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function A(e){let t=e.querySelector('meta[name="linkedin:pageTag"]');return t&&t.content||""}function I(e){let t=e.querySelector('meta[name="locale"]');return t&&t.content||""}function L(e){let t=e.domain;return t?t.split(".").slice(-2).join("."):""}function C(e){return e&&'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.slice(1,-1):e}var O=Object.freeze({__proto__:null,getPageKey:k,getPageTag:A,getLocale:I,getDomain:L,trimDoubleQuotes:C});const N={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",ESCAPE:"Escape",ENTER:"Enter",SPACEBAR:" ",TAB:"Tab"},R={Down:N.ARROW_DOWN,Right:N.ARROW_RIGHT,Left:N.ARROW_LEFT,Up:N.ARROW_UP,Esc:N.ESCAPE,Spacebar:N.SPACEBAR,Tab:N.TAB};function x(e){return R[e]||e}function D(e,t){if(!e)return null;let n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!n.call(e,t);)e=e.parentElement;return e}function P(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})}class M{constructor(){this._unloadCallbacks=[],this._initEventListener()}_initEventListener(){window.addEventListener("beforeunload",e=>{for(let t=0;t<this._unloadCallbacks.length;t++){if(!1===this._unloadCallbacks[t].call(null,e))break}})}addUnloadCallback(e){e instanceof Function&&this._unloadCallbacks.push(e)}}const U=function(){let e;return{getInstance:function(){return e||(e=new M),e}}}();function B(e){return null==e||"object"!=typeof e?[]:Array.prototype.slice.call(e)}function F(e){const t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth,o=t.top<=n&&t.top+t.height>=0,r=t.left<=i&&t.left+t.width>=0;return o&&r}function H(){let{scrollTop:e=scrollY,clientHeight:t=window.innerHeight,scrollHeight:n=document.body.scrollHeight}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>=n-(t+t*i)}function j(e,t,n){const i=new RegExp("([\\?&])".concat(n?t:encodeURIComponent(t),"=([^&#]*)")).exec(e);return i&&(n?i[2]:decodeURIComponent(i[2]))}function q(e,t){return z(e,"trk",t)}function z(e,t,n,i){if(!e||!t)throw new Error("Required param of addQueryParam missing: url = ".concat(e,",  key = ").concat(t));t=encodeURIComponent(t),n=encodeURIComponent(n);const o=j(e,t,!0);if(o)return i?e.replace(o,n):e;{const i=e.indexOf("?");let[o,r]=e.split("#"),s="&";return i<0?s="?":i===e.length-1&&(s=""),r&&(r="#".concat(r)),"".concat(o).concat(s).concat(t,"=").concat(n).concat(r||"")}}function G(e,t,n){var i=this;if("function"!=typeof e)throw new TypeError("Expected a function.");let o;return function(){for(var r=arguments.length,s=new Array(r),a=0;a<r;a++)s[a]=arguments[a];const l=()=>{o=null,n||e.apply(i,s)},c=n&&!o;clearTimeout(o),o=setTimeout(l,t),c&&e.apply(i,s)}}function W(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}function K(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=document.createEvent("CustomEvent");i.initCustomEvent(t,!0,!0,n),e.dispatchEvent(i)}function V(){let e,t;const n=new Promise((n,i)=>{e=n,t=i});return n.resolve=e,n.reject=t,n}function Y(e){return"string"!=typeof e?null:e.split("?")[0]}var J=Object.freeze({__proto__:null,closest:D,onload:P,UnloadHandler:U,makeArray:B,outerWidth:function(e){let t=e.offsetWidth,n=getComputedStyle(e);return t+=(parseInt(n.marginLeft,10)||0)+(parseInt(n.marginRight,10)||0),t},elementInViewport:F,hasElementScrolledToThreshold:H,getQueryParam:j,addTrackingCode:q,addQueryParam:z,debounce:G,getCookie:W,dispatchCustomEvent:K,getDeferredPromise:V,isDocumentHidden:function(e){return void 0!==e.msHidden?e.msHidden:void 0!==e.hidden?e.hidden:void 0},stripQueryParams:Y});class X{constructor(e,t,n){let{mainButton:i,closeButton:o}=n,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!e)throw Error("An element must be provided to Collapsible");if(!t)throw Error("An expandable element must be provided to Collapsible");if(!i)throw Error("A main button element must be provided to Collapsible");this.el=e,this.expandableEl=t,this._isList=["UL","OL","DL"].includes(this.expandableEl.tagName);const{isOpen:s=!1}=r;this.isOpen=s,this.mainButton=i,this.closeButton=o,this.buttons=[i],this._isList&&this.el.addEventListener("keyup",e=>this._onKeyUp(e)),this.expandableEl.addEventListener("keydown",e=>this._onKeyDown(e)),this.mainButton.addEventListener("click",e=>this.closeButton?this._open(e):this._toggle(e)),this.mainButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.closeButton&&(this.closeButton.addEventListener("click",()=>this.close()),this.closeButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.buttons.push(this.closeButton))}get isList(){return this._isList}_toggle(e){this.isOpen?this.close():this._open(e)}_onButtonKeyDown(e){switch(x(e.key)){case N.ENTER:case N.SPACEBAR:e.preventDefault(),this.isOpen?this.close():this._open(e);break;case N.ARROW_UP:this.isOpen||this._open(e);break;case N.ARROW_DOWN:this.isOpen&&this.close()}}_onKeyUp(e){x(e.key)===N.SPACEBAR&&e.preventDefault()}_onKeyDown(e){const t=x(e.key);if(t===N.ESCAPE&&this.isOpen)this.close();else if(this._isList){let n;switch(t){case N.SPACEBAR:K(e.target,"click");break;case N.ARROW_LEFT:case N.ARROW_UP:n=D(e.target,"li");let t=n.previousElementSibling;t&&K(t,"focusEl");break;case N.ARROW_RIGHT:case N.ARROW_DOWN:n=D(e.target,"li");let i=n.nextElementSibling;i&&K(i,"focusEl")}}}_open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isOpen){const{key:t}=e;this.isOpen=!0,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),K(this.el,"open",{key:t})}}close(){let{shouldReturnFocusToTrigger:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isOpen&&(this.isOpen=!1,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),K(this.el,"close"),e&&this.mainButton.focus())}}const Z=['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(",");const Q=".".concat("collapsible-dropdown","__list"),$=".".concat("collapsible-dropdown","__button");class ee{constructor(e){let{getFocusItemFromListItem:t=(e=>e.querySelector(Z)),elementToFocus:n,dropdownTriggerEl:i,dropdownContentEl:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw Error("An element must be provided to CollapsibleDropdown");if(this.el=e,this.dropdownContentEl=o||this.el.querySelector(Q),!n){const e=this.dropdownContentEl===this.dropdownContentEl.parentElement.querySelector(Z),t="-1"===this.dropdownContentEl.getAttribute("tabIndex");e||t||console.warn('elementToFocus not provided and the dropdown container is not focusable. Consider adding tabindex="-1" to:',this.dropdownContentEl)}this.elementToFocus=n||this.dropdownContentEl,this.dropdownTriggerEl=i||this.el.querySelector($),this.hideClass="hidden",this.collapsible=new X(e,this.dropdownContentEl,{mainButton:this.dropdownTriggerEl}),this._handleBodyClick=this._handleBodyClick.bind(this),this._focusOutsideDropdown=this._focusOutsideDropdown.bind(this),this._leaveWindow=this._leaveWindow.bind(this),this._attachEventListeners(),this.collapsible.isList&&(this._getFocusItemFromListItem=t)}_attachEventListeners(){this.el.addEventListener("open",e=>this._showDropdownList(e)),this.el.addEventListener("close",()=>this._hideDropdownList()),this.collapsible.isList&&this.dropdownContentEl.addEventListener("focusEl",e=>this._manageFocus(e))}_manageFocus(e){const{target:t}=e;if(t&&this._getFocusItemFromListItem){const e=this._getFocusItemFromListItem(t);e&&e.focus()}}_handleBodyClick(e){this.el.contains(e.target)||this.collapsible.close({shouldReturnFocusToTrigger:!1})}_showDropdownList(e){this.el.addEventListener("focusout",this._focusOutsideDropdown),window.addEventListener("blur",this._leaveWindow),this.dropdownContentEl.classList.remove(this.hideClass),this.elementToFocus.focus();const{key:t}=e&&e.detail;t?this.elementToFocus.classList.remove("no-focus-ring"):this.elementToFocus.classList.add("no-focus-ring"),document.addEventListener("mousedown",this._handleBodyClick)}_hideDropdownList(){document.removeEventListener("mousedown",this._handleBodyClick),this.el.removeEventListener("focusout",this._focusOutsideDropdown),window.removeEventListener("blur",this._leaveWindow),this.dropdownContentEl.classList.add(this.hideClass)}_focusOutsideDropdown(e){e.relatedTarget&&!this.el.contains(e.relatedTarget)&&this.collapsible.isOpen&&this.collapsible.close()}_leaveWindow(){this.collapsible.isOpen&&this.collapsible.close()}}function te(e){let{method:t="GET",headers:n={},sendCookies:i=!0,skipCsrfToken:o=!1,postData:r,isPemEnabled:s=!1,pemDegradationTrackingMetadata:a=[],pemEntityIds:l=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const c=new Promise((s,a)=>{const l=new XMLHttpRequest;if(l.addEventListener("load",(function(){if(l.status>=200&&l.status<300||304===l.status)s({status:l.status,responseText:l.responseText});else{const n=new Error("".concat(t," request for ").concat(e," has failed with status code ").concat(l.status));n.response={status:l.status,responseText:l.responseText},l.response&&(n.response.rawHeaders=l.getAllResponseHeaders()),a(n)}})),l.addEventListener("error",(function(e){a(e)})),l.open(t,e,!0),l.withCredentials=i,Object.keys(n).forEach(e=>{l.setRequestHeader(e,n[e])}),!o){const e=W("JSESSIONID");e&&l.setRequestHeader("Csrf-Token",C(e))}l.send(r)});return s&&(a.length?ne(c,e,l,a):console.warn("Please set the value for the option pemDegradationTrackingMetadata when PEM is enabled.")),c}function ne(e,t,n,i){try{const o=e.then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Response(e,{status:e.status})})).catch((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Response(e.response,{status:e.response?e.response.status:500,headers:e.response&&e.response.rawHeaders?ie(e.response.rawHeaders):new Headers})}));window.tracking.then(e=>{window.pemTracking.then(r=>{r.trackFeatureDegradationsForFetch(t,n,i,o,e.state.currentPageInstance)})})}catch(e){}}function ie(e){const t=new Headers;return e&&e.trim().split(/[\r\n]+/).forEach(e=>{const n=e.trim().split(": "),i=n.shift();if(i){const e=n.join(": ");t.set(i.toLocaleLowerCase(),e)}}),t}var oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{};function re(e,t){return e(t={exports:{}},t.exports),t.exports}var se=/^\s+|\s+$/g,ae=/^[-+]0x[0-9a-f]+$/i,le=/^0b[01]+$/i,ce=/^0o[0-7]+$/i,de=parseInt,ue="object"==typeof oe&&oe&&oe.Object===Object&&oe,he="object"==typeof self&&self&&self.Object===Object&&self,pe=ue||he||Function("return this")(),fe=Object.prototype.toString,ge=Math.max,me=Math.min,_e=function(){return pe.Date.now()};function ve(e,t,n){var i,o,r,s,a,l,c=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=i,r=o;return i=o=void 0,c=t,s=e.apply(r,n)}function f(e){return c=e,a=setTimeout(m,t),d?p(e):s}function g(e){var n=e-l;return void 0===l||n>=t||n<0||u&&e-c>=r}function m(){var e=_e();if(g(e))return _(e);a=setTimeout(m,function(e){var n=t-(e-l);return u?me(n,r-(e-c)):n}(e))}function _(e){return a=void 0,h&&i?p(e):(i=o=void 0,s)}function v(){var e=_e(),n=g(e);if(i=arguments,o=this,l=e,n){if(void 0===a)return f(l);if(u)return a=setTimeout(m,t),p(l)}return void 0===a&&(a=setTimeout(m,t)),s}return t=we(t)||0,Ee(n)&&(d=!!n.leading,r=(u="maxWait"in n)?ge(we(n.maxWait)||0,t):r,h="trailing"in n?!!n.trailing:h),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,i=l=o=a=void 0},v.flush=function(){return void 0===a?s:_(_e())},v}function Ee(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function we(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==fe.call(e)}(e))return NaN;if(Ee(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ee(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(se,"");var n=le.test(e);return n||ce.test(e)?de(e.slice(2),n?2:8):ae.test(e)?NaN:+e}var be=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Ee(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),ve(e,t,{leading:i,maxWait:t,trailing:o})};const ye=".loader",Te=".infinite-scroller__show-more-button",Se=0,ke=10;class Ae{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,{threshold:t=Se,scrollLoadLimit:n=ke,useDebounce:i=!1,wait:o=1e3,loadResults:r,onLoading:s=this._defaultOnLoading,onDoneLoading:a=this._defaultOnDoneLoading,loaderEl:l=document.querySelector(ye),showMoreButtonEl:c=document.querySelector(Te)}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r)throw new Error("loadResults should be passed to the component");if(n<=0)throw new Error("scrollLoadLimit should be greater than 0, if you only need the button and not the scroller do not use this module");this.el=e,this.threshold=t,this.scrollLoadLimit=n,this.useDebounce=i,this.wait=o,this.loaderEl=l,this.onLoading=s,this.onDoneLoading=a,this.loadResults=r,this.showMoreButtonEl=c,this.isLoading=!1,this.loadNumber=0,this._onScroll=this._onScroll.bind(this),this._onClick=this._onClick.bind(this),this._scrollListener=this.useDebounce?G(this._onScroll,this.wait):be(this._onScroll,this.wait),this._attachScrollEventListener(),this._onScroll()}_defaultOnLoading(){this.isShowMoreButtonTheTrigger?this.showMoreButtonEl.disabled=!0:this.loaderEl&&this.loaderEl.classList.add("loader--show")}_defaultOnDoneLoading(){this.isShowMoreButtonTheTrigger?this.showMoreButtonEl.disabled=!1:this.loaderEl&&this.loaderEl.classList.remove("loader--show")}_onScroll(){!this.isLoading&&H(this.el,this.threshold)&&(this.isLoading=!0,this.onLoading(),this.loadResults().finally(()=>{this.onDoneLoading(),this.isLoading=!1,++this.loadNumber>=this.scrollLoadLimit&&(this.removeInfiniteScroller(),this.showMoreButtonEl&&this._switchToShowMoreButton())}))}_onClick(){this.onLoading(),this.loadResults().finally(()=>{this.onDoneLoading()})}_switchToShowMoreButton(){this.isShowMoreButtonTheTrigger=!0,this.showMoreButtonEl.classList.add("infinite-scroller__show-more-button--visible"),this.showMoreButtonEl.addEventListener("click",this._onClick)}removeInfiniteScroller(){this.isShowMoreButtonTheTrigger?(this.showMoreButtonEl.removeEventListener("click",this._onClick),this.showMoreButtonEl.classList.remove("infinite-scroller__show-more-button--visible")):this.el.removeEventListener("scroll",this._scrollListener)}_attachScrollEventListener(){this.el.addEventListener("scroll",this._scrollListener)}}var Ie=re((function(e,t){!function(e){"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==oe||"undefined"!=typeof self&&self;var t,n,i,o,r=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){!function(e,t){var n="undefined"!=typeof window&&window&&"node"!==window.appEnvironment,i=n&&!!window.requestIdleCallback,o={AJAX_METHOD:"POST",DEFAULT_PAGE_TYPE:"ajax",globalTrackingUrl:null,globalTrackingAppId:"no.app.id",queue:[],paused:!1,maxQueueSize:1,queueTimeout:1e3,timeoutId:null,disableSendBeacon:!0,csrfToken:"",testId:"",testSegId:"",setProperty:function(e,t){void 0!==t&&(this[e]=t)},setTrackingUrl:function(e){this.setProperty("globalTrackingUrl",e)},setAppId:function(e){this.setProperty("globalTrackingAppId",e)},setCsrfToken:function(e){this.setProperty("csrfToken",e)},setTestId:function(e){this.setProperty("testId",e)},setTestSegId:function(e){this.setProperty("testSegId",e)},getCookieString:function(){return document.cookie},getCsrfToken:function(){for(var e=this.getCookieString().split(";"),t=0;t<e.length;t++){for(var n=e[t];" "===n.charAt(0);)n=n.substring(1);if(-1!==n.indexOf("JSESSIONID=")){var i=n.substring("JSESSIONID=".length,n.length);return'"'===i[0]&&'"'===i[i.length-1]&&(i=i.substring(1,i.length-1)),i}}return""},createXmlHttpObject:function(){return n&&window.XMLHttpRequest?new XMLHttpRequest:null},beacon:function(e,t,i,o){this._beacon(e,t,i,o||this.globalTrackingUrl,this.disableSendBeacon?null:n&&navigator.sendBeacon&&navigator.sendBeacon.bind(navigator))},_beacon:function(e,t,n,i,o){if(o){var r=void 0;try{r=o(i,e)}catch(t){throw"object"==typeof t&&(t.message="Error sending ["+e+"] to "+i+" using sendBeacon:"+t.message,t.tags=["tracking"]),t}if(r)return void(t&&t(r))}this.ajax(e,t,n,i)},ajax:function(e,t,n,i){var o;i?(o=this.createXmlHttpObject())&&(o.open(this.AJAX_METHOD,i,!0),o.withCredentials=!0,o.setRequestHeader("Content-type","application/json"),this.csrfToken?o.setRequestHeader("Csrf-Token",this.csrfToken):o.setRequestHeader("Csrf-Token",this.getCsrfToken()),this.testId&&o.setRequestHeader("X-LinkedIn-traceDataContext-ENG_TEST_ID",this.testId),this.testSegId&&o.setRequestHeader("X-LinkedIn-traceDataContext-ENG_TEST_SEGMENT_ID",this.testSegId),o.onreadystatechange=function(){4===o.readyState&&(200===o.status||304===o.status?"function"==typeof t&&t(o):n&&n('Response is not "OK" or "Not Modified" for tracking request'))},4!==o.readyState&&o.send(e)):n&&n("Tracking url is not defined")},pause:function(){this.paused=!0},unpause:function(){this.paused=!1,this.queue.length>=this.maxQueueSize&&this.flush()},flush:function(){this.queue.length>0&&(this.beacon(JSON.stringify(this.queue),null,this.logError),this.queue=[]),i?cancelIdleCallback(this.timeoutId):clearTimeout(this.timeoutId),this.timeoutId=null,this.paused=!1},idleFlush:function(e){var t=this,n=Date.now();return requestIdleCallback((function(i){i.timeRemaining()>8||i.didTimeout?t.flush():t.timeoutId=t.idleFlush(e-(Date.now()-n))}),{timeout:e})},addToQueue:function(e){if(this.queue.push(e),this.queue.length>=this.maxQueueSize&&!this.paused)return this.flush();if(!this.timeoutId){var t=this;i&&!this.paused?this.timeoutId=this.idleFlush(this.queueTimeout):this.timeoutId=setTimeout((function(){t.flush()}),this.queueTimeout)}},validateEvent:function(e,t,n){this.beacon(JSON.stringify([{eventInfo:this.populateEventInfo(e),eventBody:this.populateEventHeaders(t)}]),(function(e){return n(null,e)}),(function(e){return n(e)}),this.globalTrackingUrl+"/validate")},sendEvent:function(e,t){this.addToQueue({eventInfo:this.populateEventInfo(e),eventBody:this.populateEventHeaders(t)})},getTimestamp:function(){return Math.round((new Date).getTime()/1e3)},populateEventInfo:function(e){return"string"==typeof e&&(e={eventName:e}),e&&"object"==typeof e?(e.appId||(e.appId=this.globalTrackingAppId),e):(this.logError("Event info must be object"),{})},populateEventHeaders:function(e){return e&&"object"==typeof e?e:(this.logError("Event body must be object"),{})},logError:function(e){var t=window.console;t&&t.error&&t.error(e)},init:function(){this.setTrackingUrl(),this.setAppId(),this.onBeforeUnload=this.onBeforeUnload.bind(this),n&&window.addEventListener("beforeunload",this.onBeforeUnload)},destroy:function(){this.flush(),n&&window.removeEventListener("beforeunload",this.onBeforeUnload)},onBeforeUnload:function(){this.flush()}};t.exports=o}(0,e)}));function s(){if("undefined"!=typeof window&&void 0!==window.sessionStorage)try{return JSON.parse(window.sessionStorage.getItem("li_trk_navigation"))}catch(e){}}function a(e){if("undefined"!=typeof window&&void 0!==window.sessionStorage)try{window.sessionStorage.setItem("li_trk_navigation",JSON.stringify(e))}catch(e){}}(o=e.ControlInteractionType||(e.ControlInteractionType={}))[o.FOCUS=0]="FOCUS",o[o.UNFOCUS=1]="UNFOCUS",o[o.KEYBOARD_SUBMIT=2]="KEYBOARD_SUBMIT",o[o.DRAG=3]="DRAG",o[o.PINCH_OPEN=4]="PINCH_OPEN",o[o.PINCH_CLOSE=5]="PINCH_CLOSE",o[o.DOUBLE_PRESS=6]="DOUBLE_PRESS",o[o.LONG_PRESS=7]="LONG_PRESS",o[o.SHORT_PRESS=8]="SHORT_PRESS",o[o.SWIPE_UP=9]="SWIPE_UP",o[o.SWIPE_DOWN=10]="SWIPE_DOWN",o[o.SWIPE_LEFT=11]="SWIPE_LEFT",o[o.SWIPE_RIGHT=12]="SWIPE_RIGHT",o[o.FLICK_UP=13]="FLICK_UP",o[o.FLICK_DOWN=14]="FLICK_DOWN",o[o.FLICK_LEFT=15]="FLICK_LEFT",o[o.FLICK_RIGHT=16]="FLICK_RIGHT",o[o.SHAKE=17]="SHAKE",o[o.KEYBOARD_NEXT=18]="KEYBOARD_NEXT",o[o.HOVER=19]="HOVER",(i=e.PageViewPageType||(e.PageViewPageType={}))[i.FULL=1]="FULL",i[i.AJAX=2]="AJAX",i[i.IFRAME=3]="IFRAME",i[i.REDIRECT=4]="REDIRECT",i[i.API=5]="API",i[i.FORM=6]="FORM",i[i.ROUTER=7]="ROUTER",i[i.ERROR=8]="ERROR",(n=e.EventTypes||(e.EventTypes={}))[n.PageViewEvent=0]="PageViewEvent",n[n.NavigationEvent=1]="NavigationEvent",n[n.ExternalNavigationEvent=2]="ExternalNavigationEvent",n[n.ControlInteractionEvent=3]="ControlInteractionEvent",n[n.PageVisibilityChangeEvent=4]="PageVisibilityChangeEvent";var l="undefined"!=typeof window?window:null;l?function(){var e=l.crypto||l.msCrypto;if(!t&&e&&e.getRandomValues){var n=new Uint8Array(16);(t=function(){return e.getRandomValues(n),n})()}if(!t){var i=new Uint8Array(16);t=function(){for(var e=0,t=void 0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),i[e]=(t||0)>>>((3&e)<<3)&255;return i}}}():t=function(){return new Uint8Array(16).fill(Math.floor(256*Math.random()))};for(var c=[],d=0;d<256;d++)c[d]=(d+256).toString(16).substr(1);function u(){var e=new Uint8Array(16),n=t();n[6]=15&n[6]|64,n[8]=63&n[8]|128;for(var i=0;i<16;i++)e[0+i]=n[i];return e}function h(){return function(e){for(var t=[],n=0;n<e.length;n+=32768)t.push(String.fromCharCode.apply(null,e.subarray(n,n+32768)));return btoa(t.join(""))}(u())}function p(e){return e?"urn:li:page:"+e:null}function f(e,t){return e&&t?"urn:li:control:"+t+"-"+e:null}function g(e){return e?e.split(":").pop():null}function m(e,t){return e?{trackingId:t||h(),pageUrn:p(e)}:null}function _(e){if("string"!=typeof e)return null;var t=e.split(";");return 2===t.length?{pageUrn:t[0],trackingId:t[1]}:null}function v(e){return e&&e.referrer}function E(e){if(e&&e.URL){var t=e.URL.match(/trk=([^&]+)/);if(t&&2===t.length)return t[1]}return null}var w=Object.assign||function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(e),o=0;o<t.length;o++){var r=t[o];if(null!==r)for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},b=function(){function t(e){void 0===e&&(e={appId:null,initialPageInstance:null}),this.config=e;var t=this.config.disableInitialAnchorPageViewEvent||!1;if(!this.config.appId)throw new Error("TrackingTwo requires an appId.");if(!this.config.initialPageInstance){var n=document.querySelector('meta[name="trk-pageinstance"]');if(n&&(this.config.initialPageInstance=_(n.getAttribute("content"))),!this.config.initialPageInstance)throw new Error("TrackingTwo requires an initialPageInstance");t=!0}this.config.eventHeaderProperties?this.config.eventHeaderProperties.pageInstance&&delete this.config.eventHeaderProperties.pageInstance:this.config.eventHeaderProperties={},this.config.userRequestHeaderProperties?this.config.userRequestHeaderProperties.pageKey&&delete this.config.userRequestHeaderProperties.pageKey:this.config.userRequestHeaderProperties={},this.config.validationMode=!!this.config.validationMode||!1,this.config.trackingUrl=this.config.trackingUrl||"/li/track";var i=function(){var e=window.location.pathname,t=e+window.location.search,n=window.location.href,i=s();if(!i)return null;for(var o=0;o<i.length;o++){var r=i[o].href;if(r===e||r===t||r===n){var l=i.splice(o,1)[0];return a(i),l}}return null}();i&&(e.previousPageInstance=i.prevInstance),Object.freeze(this.config.eventHeaderProperties),Object.freeze(this.config.userRequestHeaderProperties),Object.freeze(this.config),r.init(),r.setProperty("disableSendBeacon",!1),r.setTrackingUrl(this.config.trackingUrl),r.setProperty("maxQueueSize",this.config.requestBatchingMaxQueueSize||10),r.setProperty("queueTimeout",1e3*(this.config.requestBatchingMaxWaitSeconds||10)),this.state={currentPageInstance:e.initialPageInstance,previousPageInstance:e.previousPageInstance||null};var o=this.config.prevControlName||(i?i.controlName:null);this.fireNavigationEvent(this.state.previousPageInstance,o),t||this.firePageViewEvent(),this._boundDocumentClickHandler=this._handleDocumentClicks.bind(this),document&&document.body.addEventListener("click",this._boundDocumentClickHandler,!0),this._boundDocumentClickBubbleHandler=this._handleDocumentClicksBubble.bind(this),document&&document.body.addEventListener("click",this._boundDocumentClickBubbleHandler,!1),this._boundWindowBeforeUnloadHandler=this._handleWindowBeforeUnload.bind(this),window&&window.addEventListener("beforeunload",this._boundWindowBeforeUnloadHandler,!0),this._boundDocumentVisibilityChangeHandler=this._handleDocumentVisibilityChange.bind(this);var l="visibilitychange";document&&(void 0!==document.msHidden&&(l="msvisibilitychange"),document.addEventListener(l,this._boundDocumentVisibilityChangeHandler,!0))}return t.prototype._handleDocumentClicks=function(e){for(var t=e.target;t!==e.currentTarget&&!t.hasAttribute("data-tracking-control-name");)t=t.parentElement;if(t!==e.currentTarget){var n=t.getAttribute("data-tracking-control-name");!t.hasAttribute("data-tracking-no-cie")&&this.fireControlInteractionEvent(n)}},t.prototype._handleDocumentClicksBubble=function(e){for(var t=e.target;t!==e.currentTarget&&!t.hasAttribute("data-tracking-control-name");)t=t.parentElement;if(t!==e.currentTarget){var n=t.getAttribute("data-tracking-control-name"),i=t.hasAttribute("data-tracking-will-navigate"),o=t.getAttribute("data-tracking-href")||t.getAttribute("href");i&&!e.defaultPrevented&&this.saveStateForPageDeparture({controlName:n,href:o})}},t.prototype._handleWindowBeforeUnload=function(e){var t=e.target.activeElement,n=t,i=null,o=!1;if(t){for(;n!==e.currentTarget&&("function"!=typeof n.hasAttribute||!n.hasAttribute("data-tracking-control-name"))&&n.parentElement;)n=n.parentElement;n!==e.currentTarget&&("getAttribute"in n&&(i=n.getAttribute("data-tracking-control-name")),"hasAttribute"in n&&(o=n.hasAttribute("data-tracking-will-navigate")))}o||this.fireExternalNavigationEvent(i)},t.prototype._handleDocumentVisibilityChange=function(){var e=!1;if(void 0!==document.msHidden)e=document.msHidden;else{if(void 0===document.hidden)return;e=document.hidden}this.firePageVisibilityChangeEvent(e)},t.prototype.saveStateForPageDeparture=function(e){if(e){var t,n,i=e.controlName,o=e.href;t={controlName:i,href:o,prevInstance:this.state.currentPageInstance},(n=s()||[]).push(t),a(n)}},t.prototype.fireControlInteractionEvent=function(t,n,i){if(void 0===n&&(n=e.ControlInteractionType.SHORT_PRESS),void 0===i&&(i={}),!t)throw new Error("controlName is required.");var o=g(this.state.currentPageInstance.pageUrn),r=i.uiControlPageKey||o;this.fireTrackingEvent(e.EventTypes[e.EventTypes.ControlInteractionEvent],{requestHeader:{},header:{},controlUrn:f(t,r),interactionType:e.ControlInteractionType[n]},i)},t.prototype.fireNavigationEvent=function(t,n,i){void 0===i&&(i={});var o=t?g(t.pageUrn):null,r=i.uiControlPageKey||o;this.fireTrackingEvent(e.EventTypes[e.EventTypes.NavigationEvent],{requestHeader:{},header:{},previousPageInstance:t,triggerControlUrn:f(n,r)},i)},t.prototype.fireExternalNavigationEvent=function(t,n){void 0===n&&(n={});var i=n.uiControlPageKey||g(this.state.currentPageInstance.pageUrn);this.fireTrackingEvent(e.EventTypes[e.EventTypes.ExternalNavigationEvent],{requestHeader:{},header:{},triggerControlUrn:f(t,i)},n,!0)},t.prototype.firePageViewEvent=function(t,n){void 0===n&&(n={});var i=(n=w({},n)).pageViewPageType||e.PageViewPageType.AJAX,o=g(this.state.currentPageInstance.pageUrn),r=t||o;this.fireTrackingEvent(e.EventTypes[e.EventTypes.PageViewEvent],{requestHeader:{pageKey:r},header:{},pageType:e.PageViewPageType[i].toLowerCase(),trackingInfo:{clientTimestamp:Date.now().toString()}},n)},t.prototype.fireAnchorPageViewEvent=function(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("newPageKey is required.");var i=w({},this.state.currentPageInstance),o=m(e);this.state.previousPageInstance=i,this.state.currentPageInstance=o,this.fireNavigationEvent(i,t,n),this.firePageViewEvent(e,n)},t.prototype.firePageVisibilityChangeEvent=function(t,n){void 0===n&&(n={}),this.fireTrackingEvent(e.EventTypes[e.EventTypes.PageVisibilityChangeEvent],{requestHeader:{},header:{},isVisible:!t},n)},t.prototype.fireTrackingEvent=function(e,t,n,i){if(void 0===n&&(n={}),void 0===i&&(i=!1),!e||!t)throw new Error("eventName and body are required.");t=w({},t),(n=w({},n)).topicName||(n.topicName=e),n.pageInstance||(n.pageInstance=this.state.currentPageInstance);var o=w({pageKey:g(n.pageInstance.pageUrn),path:window.location.href,referer:v(document),trackingCode:E(document)},this.config.userRequestHeaderProperties,t.requestHeader);delete t.requestHeader,delete t.header.pageInstance;var s=w({pageInstance:n.pageInstance,time:Date.now()},this.config.eventHeaderProperties,t.header);delete t.header;var a={requestHeader:o,header:s};this.config.mapHeaders&&(a=this.config.mapHeaders(a));var l=w(a,t),c={eventName:e,topicName:n.topicName,appId:this.config.appId};this.config.validationMode?r.validateEvent(c,l,(function(t){t&&console.error("Event "+e+" failed validation!")})):(r.sendEvent(c,l),i&&r.flush())},t.prototype.destroy=function(){r.destroy(),document.removeEventListener("click",this._boundDocumentClickHandler,!0)},t.createFromPageKey=function(e,n){return e.initialPageInstance=m(n),new t(e)},t}();e.AppTrackingInstance=b,e.clearNavStorage=function(){window.sessionStorage.removeItem("li_trk_navigation")},e.derivePageInstanceFromString=_,e.derivePageKeyFromUrn=g,e.generateControlUrn=f,e.generatePageInstance=m,e.generatePageUrn=p,e.generateTrackingId=h,e.getReferrer=v,e.getTrackingCode=E,e.stringifyPageInstance=function(e){return e?e.pageUrn+";"+e.trackingId:null},e.uuid=u,e.webTrackingTransport=r}(t)}));let Le=null;function Ce(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ajax",n=arguments.length>2?arguments[2]:void 0;e.fireTrackingEvent("PageViewEvent",Oe(n,t))}function Oe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ajax";const n=A(document),i=I(document);let o={};return i&&(o.interfaceLocale=i),e&&(o.pageKey=e),{header:{},requestHeader:o,pageType:t,trackingInfo:{clientTimestamp:Date.now(),pageTag:n}}}function Ne(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.state&&e.state.currentPageInstance||{};let{trackingId:n}=t;return n&&!Re(n)&&e.convertUuidTrackingIdToBase64&&(n=e.convertUuidTrackingIdToBase64(n)),"".concat(t.pageUrn,";").concat(n)}function Re(e){return"string"==typeof e&&"=="===e.slice(-2)}function xe(e,t){t=t||"log";if("undefined"!=typeof window&&window&&window.jet&&"error"===t.toLowerCase())try{throw new Error(e)}catch(e){try{window.jet.error(e)}catch(e){}}"undefined"!=typeof console&&"function"==typeof console[t]&&console[t](e)}new RegExp("^(?:HTTPS?|https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png|webp|bmp|tiff))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){Me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const{ENTER:Ue,ESCAPE:Be}=N;const Fe={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"};Object.keys(Fe).map(e=>Fe[e]);const He={};function je(e){const t=document.getElementById(e);if(!t&&void 0!==He[e])return He[e];if(!t)return console.warn("Element with id: ".concat(e," not found")),He[e]=null,He[e];let n;for(const e of t.childNodes)try{if(e.nodeType===Node.COMMENT_NODE){n=JSON.parse(e.nodeValue);break}}catch(e){}return void 0===n?(console.warn("Error retrieving content with id: ".concat(e,". Use embedJson helper to embed this content")),null):(He[e]=n,t.parentNode.removeChild(t),He[e])}const qe=["binlar","ask\\ jeeves","mozilla\\/4\\.0\\ \\(compatible\\;\\ msie\\ 6\\.0\\;\\ windows\\ nt\\ 5\\.1\\;1813\\)","companydatatree","genieo","microsoft\\+scheduled\\+cache\\+content\\+download\\+service","liferea","superfeedr","ez\\ publish\\ link\\ validator","htmlparser","argclrint","linkwalker","webtool","ask\\+jeeves","stackrambler","paros","^fdm\\+3\\.x","ms\\ search","indy\\+library","seznam","sitevigil","intergator","freedom(?!from)","google\\+page\\+speed\\+insights","znajdzfoto\\/image","riddler\\.io","^java\\/","twiceler","httpunit","ktxn","webcopier","mna\\+digital\\+circonus\\+check","stuff(?!nz)","updatepatrol","feedburner","hp\\+sitescope","crawler","gigablastopensource\\/","rpt\\-http","^fdm\\ 3\\.x","libwww\\-perl","((?=pital)|ca(?=pital))pita","bingpreview","oia\\.owa","^ahc\\/","thunderstone","microsoft\\ bits","alertsite","^python\\-requests\\/","dts\\ agent","tangjiutao","^inmon","linkscan","alexa\\ site\\ audit","webtrends(?!clientlibrary)","chkd","joedog","daumoa","typhoeus","loadimpactpageanalyzer","google\\ news","coldfusion","mna\\ digital\\ circonus\\ check","alexa\\+site\\+audit","getright","appengine","(?=crawler)crawl","ibot(?!ta)","jobo","python\\-httplib","powermarks","site24x7","proximic","yahoo\\+pipes","((?=aporter)|oper(?=aportable))aport","web\\+downloader","check\\_http","grabber","topsy\\.com\\/butterfly\\/","harvest","^inagist\\+url\\+resolver","fast","crescent(?!\\ build|\\+build)","sohu(?!ennews|video|news)","favorg","bloglines","fetch(?!tv)","wapt","microsoft\\+url\\+control","urchin","ning\\/1\\.0","pluck","google\\+news","spider","\\(compatible\\;\\+optimizer\\)","moreover\\/5\\.1","js\\-kit","server\\ density\\ external\\ llama","facebookexternalhit","ultraseek","catchpoint","yandex(?!\\ browser|\\+browser|mail)","echo(?!arena|fon|star)","^worldwatch\\/","combine(?!d)","winhttprequest","ez\\+publish\\+link\\+validator","jakarta","^webnotifier\\/","webmetrics","teoma","nerdbynature","ms\\+frontpage","nielsen","sucker","engagebdr","yahoofeedseeker","dts\\+agent","googleapps","holmes","plumtree","www\\-mechanize","google\\-hoteladsverifier","pingdom","drupal","sina\\_weibo","google\\ page\\ speed\\ insights","lisa","w3c\\_validator","^scan","yeti","snoopy","khte","trovit","atomz","httpcomponents","ms\\+search","google\\-http\\-java\\-client","spi\\_der","bubing","websitepulse","microsoft\\+bits","http\\_request2","ieautodiscovery","siteimprove","curl(?!ings)","go\\+1\\.1\\+package\\+http","^crowsnest\\/","email\\ exractor","utorrent","yahoocachesystem","shopwiki","justview","googlesecurityscanner","msnptc","rkg\\+url\\+verifier","monitor","bitvouseragent","((?=wormgame))worm","talktalk","help\\.coccoc\\.com","yahoo\\ pipes","heritrix","nutch","argus","kulturarw3","checkurl","universalsearch","amazon\\ route\\ 53\\ health\\ check\\ service","slurp","mozilla\\/5\\.0\\ \\(compatible\\;\\ msie\\ 5\\.0\\)","ezooms","kimengi\\/nineconnections\\.com","applesyndication","python\\-urllib","internal\\+zero\\-knowledge\\+agent","system\\+center\\+operations\\+manager","riverglassscanner","imgsizer","changedetection","nutscrape","feedzilla","contype","^lwp","\\(compatible\\;\\ optimizer\\)","infolink","outbrain","^prerender","admantx","^inagist\\ url\\ resolver","amazon\\+route\\+53\\+health\\+check\\+service","neustar","a6\\-indexer","comodo\\+ssl\\+checker","linkchecker","viglink","patric","newsnow","wasalive","scrapy","(?=gruber)grub","ruxitsynthetic","rkg\\ url\\ verifier","ocelli","webcapture","^kraken\\/","t\\-h\\-u\\-n\\-d\\-e\\-r\\-s\\-t\\-o\\-n\\-e","spider(?!solitaire)","isearch","hp\\ sitescope","maxamine","\\(simulated\\_by\\_webserver\\_stress\\_tool\\)","((?=obotics)|ther(?=obotfree))obot","yacy","twibble\\.io","google\\+wireless\\+transcoder","wget","internal\\ zero\\-knowledge\\ agent","google\\ wireless\\ transcoder","xenu","yahooseeker","advanced\\ email\\ extractor","feed43","ptst","reconnoiter","go\\ 1\\.1\\ package\\ http","advanced\\+email\\+extractor","linkdex","panscient\\.com","webcheck","linktiger","scooter","flipboard\\.com\\/browserproxy","evidon","twisted\\ pagegetter","cosmos","adbeat","sherlock","web\\ downloader","cookiereports","siteexplorer","miva","twisted\\+pagegetter","mfc\\_tear\\_sample","indy\\ library","b2w(?!tenisnew)","orangebot(?!swana)","lockss\\+cache","mozilla\\/4\\.0\\+\\(compatible\\;\\+msie\\+6\\.0\\;\\+windows\\+nt\\+5\\.1\\;1813\\)","yahooexternalcache","apache\\-httpclient\\/4\\.","archive\\.org","wesee\\:search","hiscan","ms\\ frontpage","tagscanner","google\\ web\\ preview","special\\_archiver","d24y\\-aegis","scoutjet","larbin","adsense\\-snapshot\\-google","keynote","skypeuripreview","clickajob","download\\+ninja","internet\\ ninja","^ltx71","ukonline","eventmachine\\ httpclient","nomad","mediapartners","twikle","microsoft\\ scheduled\\ cache\\ content\\ download\\ service","internet\\+ninja","scanalert","metauri","agentname","adr\\)","squider","isilo","teleport","automationtest","bordermanager","linklint","bot","templeton","rssreader","ichiro","(?=dialer\\-mobileapp)dialer","atomic\\_email\\_hunter","google\\+web\\+preview","longurl\\+api","longurl\\ api","internetseer","server\\+density\\+external\\+llama","topix","iopus","download\\ ninja","mozilla\\/5\\.0\\+\\(compatible\\;\\+msie\\+5\\.0\\)","europarchive","avantgo","flamingo\\_searchengine","lockss\\ cache","jobrapido","wesee\\:ads\\/","frontier","newspaper\\/0\\.0\\.","apachebench","flamingosearch","lydia","microsoft\\ url\\ control","phantomjs","system\\ center\\ operations\\ manager","^econtext\\/","akamai","cfschedule","searchme\\.com\\/support\\/","fortimail","comodo\\ ssl\\ checker","gomezagent","sitecon","webauto","golem","swcd","spundge\\/0\\.1","findlinks","^sjn","yandex","ia\\_archive","vagabondo","watchmouse","simplepie","1job","goldfire"].join("|");new RegExp(qe,"i");class ze{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.tracking,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.lazyloader;const{sources:o,posterUrl:r,digitalmediaAssetUrn:s,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,s,t,i).then(e=>(r&&e.poster(r),e.src(c),l&&e.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:l}),this._bindTracking(e,n),e))}_createPlayer(e,t,n,i,o){return o.then(e=>e.getLazyLoadedJavascriptModule("media-player")).then(o=>{const{createPlayer:r}=o,s=i.plugins&&i.plugins.rum&&i.plugins.rum.mediaHeader&&i.plugins.rum.mediaHeader.mediaSource||"ugc",a=Pe({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},i);return a.plugins.tracking={mediaUrn:n,trackingId:t},a.plugins.rum={mediaUrn:n,trackingId:t,mediaHeader:{mediaSource:s}},r(e,a)})}_bindTracking(e,t){t.then(t=>{const n=this._getMediaPlayerTrackingEventHandler(t);e.tracking().on("track",n),e.rum().on("track",n)})}_getMediaPlayerTrackingEventHandler(e){return function(t,n){let{eventName:i,eventData:o}=n,r=Pe({header:{},requestHeader:{}},o);delete r.name,delete r.plugin,delete r.instance,r.requestHeader.pageKey||(r.requestHeader.pageKey=k(document)),e.fireTrackingEvent(i,r)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}var Ge=Object.hasOwnProperty,We=Object.setPrototypeOf,Ke=Object.isFrozen,Ve=Object.getPrototypeOf,Ye=Object.getOwnPropertyDescriptor,Je=Object.freeze,Xe=Object.seal,Ze=Object.create,Qe="undefined"!=typeof Reflect&&Reflect,$e=Qe.apply,et=Qe.construct;$e||($e=function(e,t,n){return e.apply(t,n)}),Je||(Je=function(e){return e}),Xe||(Xe=function(e){return e}),et||(et=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var tt,nt=ht(Array.prototype.forEach),it=ht(Array.prototype.pop),ot=ht(Array.prototype.push),rt=ht(String.prototype.toLowerCase),st=ht(String.prototype.match),at=ht(String.prototype.replace),lt=ht(String.prototype.indexOf),ct=ht(String.prototype.trim),dt=ht(RegExp.prototype.test),ut=(tt=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return et(tt,t)});function ht(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return $e(e,t,i)}}function pt(e,t){We&&We(e,null);for(var n=t.length;n--;){var i=t[n];if("string"==typeof i){var o=rt(i);o!==i&&(Ke(t)||(t[n]=o),i=o)}e[i]=!0}return e}function ft(e){var t=Ze(null),n=void 0;for(n in e)$e(Ge,e,[n])&&(t[n]=e[n]);return t}function gt(e,t){for(;null!==e;){var n=Ye(e,t);if(n){if(n.get)return ht(n.get);if("function"==typeof n.value)return ht(n.value)}e=Ve(e)}return function(e){return console.warn("fallback value for",e),null}}var mt=Je(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_t=Je(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),vt=Je(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Et=Je(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),wt=Je(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),bt=Je(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),yt=Je(["#text"]),Tt=Je(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),St=Je(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kt=Je(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),At=Je(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),It=Xe(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Lt=Xe(/<%[\s\S]*|[\s\S]*%>/gm),Ct=Xe(/^data-[\-\w.\u00B7-\uFFFF]/),Ot=Xe(/^aria-[\-\w]+$/),Nt=Xe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Rt=Xe(/^(?:\w+script|data):/i),xt=Xe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Pt(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Mt=function(){return"undefined"==typeof window?null:window},Ut=function(e,t){if("object"!==(void 0===e?"undefined":Dt(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};var Bt=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mt(),n=function(t){return e(t)};if(n.version="2.3.5",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,o=t.document,r=t.DocumentFragment,s=t.HTMLTemplateElement,a=t.Node,l=t.Element,c=t.NodeFilter,d=t.NamedNodeMap,u=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,h=t.HTMLFormElement,p=t.DOMParser,f=t.trustedTypes,g=l.prototype,m=gt(g,"cloneNode"),_=gt(g,"nextSibling"),v=gt(g,"childNodes"),E=gt(g,"parentNode");if("function"==typeof s){var w=o.createElement("template");w.content&&w.content.ownerDocument&&(o=w.content.ownerDocument)}var b=Ut(f,i),y=b?b.createHTML(""):"",T=o,S=T.implementation,k=T.createNodeIterator,A=T.createDocumentFragment,I=T.getElementsByTagName,L=i.importNode,C={};try{C=ft(o).documentMode?o.documentMode:{}}catch(e){}var O={};n.isSupported="function"==typeof E&&S&&void 0!==S.createHTMLDocument&&9!==C;var N=It,R=Lt,x=Ct,D=Ot,P=Rt,M=xt,U=Nt,B=null,F=pt({},[].concat(Pt(mt),Pt(_t),Pt(vt),Pt(wt),Pt(yt))),H=null,j=pt({},[].concat(Pt(Tt),Pt(St),Pt(kt),Pt(At))),q=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,G=null,W=!0,K=!0,V=!1,Y=!1,J=!1,X=!1,Z=!1,Q=!1,$=!1,ee=!1,te=!0,ne=!0,ie=!1,oe={},re=null,se=pt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ae=null,le=pt({},["audio","video","img","source","image","track"]),ce=null,de=pt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ue="http://www.w3.org/1998/Math/MathML",he="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml",fe=pe,ge=!1,me=void 0,_e=["application/xhtml+xml","text/html"],ve="text/html",Ee=void 0,we=null,be=o.createElement("form"),ye=function(e){return e instanceof RegExp||e instanceof Function},Te=function(e){we&&we===e||(e&&"object"===(void 0===e?"undefined":Dt(e))||(e={}),e=ft(e),B="ALLOWED_TAGS"in e?pt({},e.ALLOWED_TAGS):F,H="ALLOWED_ATTR"in e?pt({},e.ALLOWED_ATTR):j,ce="ADD_URI_SAFE_ATTR"in e?pt(ft(de),e.ADD_URI_SAFE_ATTR):de,ae="ADD_DATA_URI_TAGS"in e?pt(ft(le),e.ADD_DATA_URI_TAGS):le,re="FORBID_CONTENTS"in e?pt({},e.FORBID_CONTENTS):se,z="FORBID_TAGS"in e?pt({},e.FORBID_TAGS):{},G="FORBID_ATTR"in e?pt({},e.FORBID_ATTR):{},oe="USE_PROFILES"in e&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=e.SAFE_FOR_TEMPLATES||!1,J=e.WHOLE_DOCUMENT||!1,Q=e.RETURN_DOM||!1,$=e.RETURN_DOM_FRAGMENT||!1,ee=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,ne=!1!==e.KEEP_CONTENT,ie=e.IN_PLACE||!1,U=e.ALLOWED_URI_REGEXP||U,fe=e.NAMESPACE||pe,e.CUSTOM_ELEMENT_HANDLING&&ye(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ye(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(q.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me=me=-1===_e.indexOf(e.PARSER_MEDIA_TYPE)?ve:e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===me?function(e){return e}:rt,Y&&(K=!1),$&&(Q=!0),oe&&(B=pt({},[].concat(Pt(yt))),H=[],!0===oe.html&&(pt(B,mt),pt(H,Tt)),!0===oe.svg&&(pt(B,_t),pt(H,St),pt(H,At)),!0===oe.svgFilters&&(pt(B,vt),pt(H,St),pt(H,At)),!0===oe.mathMl&&(pt(B,wt),pt(H,kt),pt(H,At))),e.ADD_TAGS&&(B===F&&(B=ft(B)),pt(B,e.ADD_TAGS)),e.ADD_ATTR&&(H===j&&(H=ft(H)),pt(H,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&pt(ce,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(re===se&&(re=ft(re)),pt(re,e.FORBID_CONTENTS)),ne&&(B["#text"]=!0),J&&pt(B,["html","head","body"]),B.table&&(pt(B,["tbody"]),delete z.tbody),Je&&Je(e),we=e)},Se=pt({},["mi","mo","mn","ms","mtext"]),ke=pt({},["foreignobject","desc","title","annotation-xml"]),Ae=pt({},_t);pt(Ae,vt),pt(Ae,Et);var Ie=pt({},wt);pt(Ie,bt);var Le=function(e){var t=E(e);t&&t.tagName||(t={namespaceURI:pe,tagName:"template"});var n=rt(e.tagName),i=rt(t.tagName);if(e.namespaceURI===he)return t.namespaceURI===pe?"svg"===n:t.namespaceURI===ue?"svg"===n&&("annotation-xml"===i||Se[i]):Boolean(Ae[n]);if(e.namespaceURI===ue)return t.namespaceURI===pe?"math"===n:t.namespaceURI===he?"math"===n&&ke[i]:Boolean(Ie[n]);if(e.namespaceURI===pe){if(t.namespaceURI===he&&!ke[i])return!1;if(t.namespaceURI===ue&&!Se[i])return!1;var o=pt({},["title","style","font","a","script"]);return!Ie[n]&&(o[n]||!Ae[n])}return!1},Ce=function(e){ot(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=y}catch(t){e.remove()}}},Oe=function(e,t){try{ot(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){ot(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!H[e])if(Q||$)try{Ce(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ne=function(e){var t=void 0,n=void 0;if(Z)e="<remove></remove>"+e;else{var i=st(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var r=b?b.createHTML(e):e;if(fe===pe)try{t=(new p).parseFromString(r,me)}catch(e){}if(!t||!t.documentElement){t=S.createDocument(fe,"template",null);try{t.documentElement.innerHTML=ge?"":r}catch(e){}}var s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),fe===pe?I.call(t,J?"html":"body")[0]:J?t.documentElement:s},Re=function(e){return k.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},xe=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof u)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},De=function(e){return"object"===(void 0===a?"undefined":Dt(a))?e instanceof a:e&&"object"===(void 0===e?"undefined":Dt(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Pe=function(e,t,i){O[e]&&nt(O[e],(function(e){e.call(n,t,i,we)}))},Me=function(e){var t=void 0;if(Pe("beforeSanitizeElements",e,null),xe(e))return Ce(e),!0;if(st(e.nodeName,/[\u0080-\uFFFF]/))return Ce(e),!0;var i=Ee(e.nodeName);if(Pe("uponSanitizeElement",e,{tagName:i,allowedTags:B}),!De(e.firstElementChild)&&(!De(e.content)||!De(e.content.firstElementChild))&&dt(/<[/\w]/g,e.innerHTML)&&dt(/<[/\w]/g,e.textContent))return Ce(e),!0;if("select"===i&&dt(/<template/i,e.innerHTML))return Ce(e),!0;if(!B[i]||z[i]){if(ne&&!re[i]){var o=E(e)||e.parentNode,r=v(e)||e.childNodes;if(r&&o)for(var s=r.length-1;s>=0;--s)o.insertBefore(m(r[s],!0),_(e))}if(!z[i]&&Be(i)){if(q.tagNameCheck instanceof RegExp&&dt(q.tagNameCheck,i))return!1;if(q.tagNameCheck instanceof Function&&q.tagNameCheck(i))return!1}return Ce(e),!0}return e instanceof l&&!Le(e)?(Ce(e),!0):"noscript"!==i&&"noembed"!==i||!dt(/<\/no(script|embed)/i,e.innerHTML)?(Y&&3===e.nodeType&&(t=e.textContent,t=at(t,N," "),t=at(t,R," "),e.textContent!==t&&(ot(n.removed,{element:e.cloneNode()}),e.textContent=t)),Pe("afterSanitizeElements",e,null),!1):(Ce(e),!0)},Ue=function(e,t,n){if(te&&("id"===t||"name"===t)&&(n in o||n in be))return!1;if(K&&!G[t]&&dt(x,t));else if(W&&dt(D,t));else if(!H[t]||G[t]){if(!(Be(e)&&(q.tagNameCheck instanceof RegExp&&dt(q.tagNameCheck,e)||q.tagNameCheck instanceof Function&&q.tagNameCheck(e))&&(q.attributeNameCheck instanceof RegExp&&dt(q.attributeNameCheck,t)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(t))||"is"===t&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&dt(q.tagNameCheck,n)||q.tagNameCheck instanceof Function&&q.tagNameCheck(n))))return!1}else if(ce[t]);else if(dt(U,at(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==lt(n,"data:")||!ae[e]){if(V&&!dt(P,at(n,M,"")));else if(n)return!1}else;return!0},Be=function(e){return e.indexOf("-")>0},Fe=function(e){var t=void 0,i=void 0,o=void 0,r=void 0;Pe("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(r=s.length;r--;){var l=t=s[r],c=l.name,d=l.namespaceURI;if(i=ct(t.value),o=Ee(c),a.attrName=o,a.attrValue=i,a.keepAttr=!0,a.forceKeepAttr=void 0,Pe("uponSanitizeAttribute",e,a),i=a.attrValue,!a.forceKeepAttr&&(Oe(c,e),a.keepAttr))if(dt(/\/>/i,i))Oe(c,e);else{Y&&(i=at(i,N," "),i=at(i,R," "));var u=Ee(e.nodeName);if(Ue(u,o,i))try{d?e.setAttributeNS(d,c,i):e.setAttribute(c,i),it(n.removed)}catch(e){}}}Pe("afterSanitizeAttributes",e,null)}},He=function e(t){var n=void 0,i=Re(t);for(Pe("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)Pe("uponSanitizeShadowNode",n,null),Me(n)||(n.content instanceof r&&e(n.content),Fe(n));Pe("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var s=void 0,l=void 0,c=void 0,d=void 0,u=void 0;if((ge=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!De(e)){if("function"!=typeof e.toString)throw ut("toString is not a function");if("string"!=typeof(e=e.toString()))throw ut("dirty is not a string, aborting")}if(!n.isSupported){if("object"===Dt(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(De(e))return t.toStaticHTML(e.outerHTML)}return e}if(X||Te(o),n.removed=[],"string"==typeof e&&(ie=!1),ie){if(e.nodeName){var h=Ee(e.nodeName);if(!B[h]||z[h])throw ut("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof a)1===(l=(s=Ne("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?s=l:s.appendChild(l);else{if(!Q&&!Y&&!J&&-1===e.indexOf("<"))return b&&ee?b.createHTML(e):e;if(!(s=Ne(e)))return Q?null:ee?y:""}s&&Z&&Ce(s.firstChild);for(var p=Re(ie?e:s);c=p.nextNode();)3===c.nodeType&&c===d||Me(c)||(c.content instanceof r&&He(c.content),Fe(c),d=c);if(d=null,ie)return e;if(Q){if($)for(u=A.call(s.ownerDocument);s.firstChild;)u.appendChild(s.firstChild);else u=s;return H.shadowroot&&(u=L.call(i,u,!0)),u}var f=J?s.outerHTML:s.innerHTML;return Y&&(f=at(f,N," "),f=at(f,R," ")),b&&ee?b.createHTML(f):f},n.setConfig=function(e){Te(e),X=!0},n.clearConfig=function(){we=null,X=!1},n.isValidAttribute=function(e,t,n){we||Te({});var i=Ee(e),o=Ee(t);return Ue(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(O[e]=O[e]||[],ot(O[e],t))},n.removeHook=function(e){O[e]&&it(O[e])},n.removeHooks=function(e){O[e]&&(O[e]=[])},n.removeAllHooks=function(){O={}},n}();const Ft={ADD_TAGS:["#comment","li-icon","icon","iframe"],ADD_ATTR:["target"],FORCE_BODY:!0,RETURN_DOM:!0};function Ht(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=jt(null,e,t);return n.innerHTML}function jt(e,t){let{ADD_TAGS:n=[],ADD_ATTR:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=Pe({},Ft);o.ADD_TAGS=[...o.ADD_TAGS,...n],o.ADD_ATTR=[...o.ADD_ATTR,...i];const r=Bt.sanitize(t,o);return e&&e.nodeType===Node.ELEMENT_NODE&&(e.innerHTML="",e.append(...r.childNodes)),r}Object.freeze({SUCCESS:"success",ERROR:"error",NOTIFY:"notify"});"".concat("tooltip__popup","--show");const qt="loader--absolute",zt="loader--show",Gt="loader--full-screen",Wt="no-scroll",Kt="loader-wrapper";class Vt{constructor(e){let{wrapperEl:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Loader el required");if(t&&!t.contains(e))throw new Error("Wrapper element is not a parent of the Loader el");this.el=e,this.wrapperEl=t,this.isAbsoluteVariant=this.wrapperEl&&this.el.classList.contains(qt),window.addEventListener("pagehide",e=>{let{persisted:t}=e;t&&this.hide()})}show(){this.el.classList.add(zt),this.el.classList.contains(Gt)&&document.body.classList.add(Wt),this.isAbsoluteVariant&&this.wrapperEl.classList.add(Kt)}hide(){this.el.classList.remove(zt),document.body.classList.remove(Wt),this.isAbsoluteVariant&&this.wrapperEl.classList.remove(Kt)}}function Yt(){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!e||0===e.trim().length};return e.errorMessageSuffix="error_empty",e}function Jt(e){const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.length<e};return t.errorMessageSuffix="error_too_short",t}function Xt(e){const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.length>e};return t.errorMessageSuffix="error_too_long",t}Yt(),Jt(3),Xt(128),Yt(),Jt(6),Xt(400);var Zt=window||i;const Qt=/^((?!\.(stg|corp)).)*\.linkedin\.(com|cn)$/;function $t(){const e=Zt.location?Zt.location.hostname:"";return Qt.test(e)}function en(){return $t()?tn()?"platform.linkedin.cn":"platform.linkedin.com":tn()?"platform.linkedin-ei.cn":"platform.linkedin-ei.com"}function tn(){const e=Zt.location?Zt.location.hostname:"";return/\.cn$/.test(e)}function nn(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if("function"!=typeof t||"function"!=typeof n)throw new TypeError("One of the specified callbacks is not a function.");const o=new Zt.XMLHttpRequest;o.withCredentials=i,o.open("GET",e,!0),o.onreadystatechange=function(){this.readyState===this.DONE&&(200===this.status&&"function"==typeof t?t(this.responseText):n(this))},o.send()}function on(e){return function(){let e=S();return!e||e.consent.optedInConsentMap.ADVERTISING}()&&function(e){return e["compliance.isGDPROptIn"]}(e)}function rn(e){return function(){let e=S();return!e||e.consent.optedInConsentMap.ANALYTICS_AND_RESEARCH}()}function sn(e){return function(){let e=S();return!e||e.consent.optedInConsentMap.FUNCTIONAL}()}function an(e){for(let t=1;t<arguments.length;t++){const n=arguments[t];if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const o=t[i];e[o]=n[o]}}}return e}function ln(e){const t=new Zt.Date;t.setSeconds(0),t.setMilliseconds(0);const n=Math.floor(t.getMinutes()/e)*e;return t.setMinutes(n),t.getTime()}function cn(){return/utagdb=[^;]+/.test(Zt.document.cookie)}let dn;const un={},hn={};function pn(){return"https://".concat($t()?tn()?"www.linkedin.cn":"www.linkedin.com":tn()?"www.linkedin-ei.cn":"www.linkedin-ei.com").concat("/litms/api/metadata/user")}function fn(){return function(e){let t=an({},e);return t["compliance.isAdvertisingOptIn"]=on(t),t["compliance.isAnalyticsAndResearchOptIn"]=rn(),t["compliance.isFunctionalOptIn"]=sn(),t}(un)}function gn(e){if(!hn[e]){const t=function(e){return"https://".concat(en(),"/litms/allowlist/").concat(encodeURIComponent(e))}(e),n=new Promise((e,n)=>{nn(t,t=>{e(JSON.parse(t))},e=>{n(e)},!1)});hn[e]=n}return hn[e]}Zt.utag_data||(Zt.utag_data={});const mn="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;let _n;function vn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=null;return"string"==typeof e&&(n="https://".concat(en(),"/litms/utag/").concat(e,"/utag.js?cb=").concat(ln(t))),n}function En(){return function(){if(void 0===_n&&mn){const e=Zt.document.cookie.match(/litms_utag_override=([^;]+)/);_n=e?e[1]:""}return _n}().length>0}function wn(e,t,n,i){e.onLoadRulesRunOnce(n);let o=an({},t,fn());e.view(o),cn()&&Zt.trackingEventDebugData.push({profileName:i,eventType:"PV",trackingData:o})}function bn(e,t,n,i){e.onLoadRulesRunOnce(n);let o=an({},t,fn());e.link(o),cn()&&Zt.trackingEventDebugData.push({profileName:i,eventType:"CI",trackingData:o})}function yn(e,t,n){if(function(e){Zt.utag=e}(e),t instanceof Array&&t.length>0){const i=t.length;for(let o=0;o<i;o++){const i=t.shift();i.isControlInteraction?bn(e,i.data,i.callback,n):wn(e,i.data,i.callback,n)}}}function Tn(e,t){!function(e){return"object"==typeof e&&"function"==typeof e.fireTrackingEvent}(e)?console.error("Unable to fire tracking event"):e.fireTrackingEvent(t.info.name,t.body)}function Sn(e,t){return"urn:li:externalMarketingTag:(".concat(function(e){const t=e.data["ut.profile"],n=e.cfg.v;return"urn:li:tagManagementSystemProfile:(".concat("tealium",",").concat(t,",").concat(n,")")}(e),",").concat(parseInt(t),")")}function kn(e){const t=function(e){return Object.keys(e.loader.cfg).filter(t=>1===e.loader.cfg[t].send&&0!==e.loader.cfg[t].load)}(e).map(t=>function(e,t){return{tagUrn:Sn(e,t)}}(e,t));if(0!==t.length)return{info:{name:"ExternalMarketingTagFireEvent"},body:{header:{},requestHeader:{},tags:t}}}Zt.utag_cfg_ovrd=Zt.utag_cfg_ovrd||{},Zt.trackingEventDebugData=Zt.trackingEventDebugData||[],Zt.utag_cfg_ovrd.noview=!0,Zt.utag_cfg_ovrd.nocookie=!0;const An=mn&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(Zt.navigator.userAgent),In={};let Ln,Cn,On,Nn={};class Rn{constructor(){let{profileName:e,tracking2Instance:t,enableAllowlisting:n=!1,cacheBusterInterval:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isInitialized=!1,this.isAllowlistingEnabled=!1,this._allowlistReadyPromise=Promise.resolve({}),this.isContainerTagLoaded=!1,this._queue=[],this.allowlist={pageKey:{},controlUrn:{}},this.tracking2Instance=t,this.profileName=e,this.enableAllowlisting=n,this.cacheBusterInterval=i}initialize(){return this._shouldInitialize()?this.isInitialized?(console.warn("Initialize should not be called more that once"),this.initializePromise.then()):(this.isInitialized=!0,this.initializePromise=new Promise((e,t)=>{this.enableAllowlisting?(this.isAllowlistingEnabled=!0,this._onInitializeSuccessCallback=e,this._onInitializeFailureCallback=t,this._allowlistReadyPromise=gn(this.profileName).then(e=>this._processAllowlistResult(e)).catch(e=>console.error("Unable to retrieve allowlists for profile : ".concat(this.profileName),e))):this._loadContainerTag(e,t)}),this.profileName&&(In[this.profileName]=this),this.initializePromise):Promise.resolve()}_processAllowlistResult(e){Object.keys(e).forEach(t=>this.addValuesToAllowlist(t,e[t]))}_loadContainerTag(e,t){void 0!==Zt.utag&&(Zt.utag=void 0),void 0!==Zt.utag_data&&(Zt.utag_data=void 0);const n=function(){if(!dn){const e=pn();dn=new Promise((t,n)=>{nn(e,e=>{try{t(JSON.parse(e))}catch(e){console.error("Invalid JSON format of userSettings"),n(e)}},e=>{n(e)})})}return dn}().then(e=>{Object.keys(e).forEach(t=>{!function(e,t){const n="string"!=typeof t?"":"".concat(t,".");"object"==typeof e&&Object.keys(e).forEach(t=>{un[n+t]=e[t]})}(e[t],t)})}).catch(e=>{console.error("Unable to get user settings while calling loading container tag",e)}),i=(o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main",t=arguments.length>1?arguments[1]:void 0;return En()?_n:vn(e,t)}(this.profileName,this.cacheBusterInterval),new Promise(e=>{const t=Zt.document.createElement("script");t.type="text/javascript",t.src=o,t.async=!0,t.onload=e,Zt.document.getElementsByTagName("head")[0].appendChild(t)}));var o;Promise.all([n,i]).then(()=>{this.isContainerTagLoaded=!0,this._uTag=Zt.utag,function(e){const t=[];e.onLoadRulesRunOnce=function(e){t.push(e)};const n=e.loader.initcfg;e.loader.initcfg=function(){if(n.call(this,arguments),t.length>0){t.shift()()}}}(this._uTag),this._processQueuedEvents();const t={info:{name:"TagManagementSystemLoadEvent"},body:{header:{},requestHeader:{}}};"object"==typeof this.tracking2Instance&&Tn(this.tracking2Instance,t),e(t)}).catch(e=>{console.error("Unable to complete loading container tag",e),t()})}_shouldInitialize(){return!An}_shouldProcessEvent(e){return An?Promise.resolve(!1):this.isAllowlistingEnabled?new Promise(t=>{this._allowlistReadyPromise.then(()=>{t(this._isEventAllowlisted(e))})}):Promise.resolve(!0)}_isEventAllowlisted(e){return void 0!==e.controlUrn?this._isEventAllowlistedByControlUrn(e):this._isEventAllowlistedByPageKey(e)}_isEventAllowlistedByPageKey(e){return void 0!==this.allowlist.pageKey[e.pageKey]}_isEventAllowlistedByControlUrn(e){return void 0!==this.allowlist.controlUrn[e.controlUrn]}addValuesToAllowlist(e,t){"string"==typeof e&&Array.isArray(t)&&void 0!==this.allowlist[e]&&t.forEach(t=>{this.allowlist[e][t]=!0})}_processQueuedEvents(){this.isContainerTagLoaded?yn(this._uTag,this._queue,this.profileName):this.isInitialized&&this.isAllowlistingEnabled&&this._loadContainerTag(this._onInitializeSuccessCallback,this._onInitializeFailureCallback)}_fireAuditEvent(){const e=kn(this._uTag);return void 0!==this.tracking2Instance&&void 0!==e&&Tn(this.tracking2Instance,e),e}_createCallbackForAuditEvent(e){const t=this;return function(){const n=t._fireAuditEvent();"function"==typeof e&&e(n)}}_checkForCookieConsent(){S().consent.consentAvailable&&!Cn?this._refireTracking():Ln=setTimeout(()=>{this._checkForCookieConsent()},2e3)}_refireTracking(){Nn.payloads&&Nn.payloads.forEach(e=>{const{data:t,callback:n}=e;t.cookieConsentGiven=!0,this.trackPageView(t,n)})}_savePayloadForRefire(e,t){if(mn){Cn=!1;const{payloads:n=[],url:i}=Nn,o=location.href,r={data:e,callback:t},s=o!==i?[]:n;s.push(r),Nn={url:o,payloads:s},Ln||(Ln=setTimeout(()=>{this._checkForCookieConsent()},2e3))}}trackPageView(e,t){return S().consent.consentAvailable||this._savePayloadForRefire(e,t),this._shouldProcessEvent(e).then(n=>{n&&(this._queue.push({isControlInteraction:!1,data:e,callback:this._createCallbackForAuditEvent(t)}),this._processQueuedEvents())})}trackControlInteraction(e,t){return this._shouldProcessEvent(e).then(n=>{n&&(this._queue.push({isControlInteraction:!0,data:e,callback:this._createCallbackForAuditEvent(t)}),this._processQueuedEvents())})}}function xn(e){let{event:t,litmsInstance:n,pageKey:i}=e;const o=t.target.getAttribute("data-tracking-control-name"),r=t.target.hasAttribute("data-tracking-litms");o&&r&&n.trackControlInteraction({controlUrn:"urn:li:control:".concat(i,"-").concat(o)})}class Dn{constructor(e){if(this.trackingInstance=e,this.pageKey=k(document),this.litmsProfileName=function(e){const t=e.querySelector('meta[name="litmsProfileName"]');return t?t.content:""}(document),!this.litmsProfileName)throw Error('Page missing "litmsProfileName" meta tag.');this.litmsInstance=new Rn({tracking2Instance:this.trackingInstance,profileName:this.litmsProfileName}),this.litmsInstance.initialize(),this.clickEventListener=e=>xn({event:e,litmsInstance:this.litmsInstance,pageKey:this.pageKey}),this.keydownEventListener=e=>{"Enter"!==e.key&&" "!==e.key&&"Spacebar"!==e.key||xn({event:e,litmsInstance:this.litmsInstance,pageKey:this.pageKey})},document.body.addEventListener("click",this.clickEventListener,!0),document.body.addEventListener("keydown",this.keydownEventListener,!0)}trackPageView(){let{pageKey:e=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!("string"==typeof e||e instanceof String))throw new Error("The pageKey is not a string!");this.litmsInstance&&this.litmsInstance.trackPageView({pageKey:e||this.pageKey})}}function Pn(e){if(!On){if(!e)throw new Error("No trackingInstance passed in!");On=new Dn(e)}return On}!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),function(){if("function"==typeof window.EventTarget)try{return!new e}catch(e){}const e=function(){this.listeners={}};e.prototype.listeners=null,e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var n=this.listeners[e],i=0,o=n.length;i<o;i++)if(n[i]===t)return void n.splice(i,1)},e.prototype.dispatchEvent=function(e){if(!(e.type in this.listeners))return!0;for(var t=this.listeners[e.type].slice(),n=0,i=t.length;n<i;n++)t[n].call(this,e);return!e.defaultPrevented},window.EventTarget=e}();const Mn={GOOGLE_ERROR:"googleError",GOOGLE_USER_FETCHED:"googleUserFetched",INITIALIZED:"initialized",PROMPT_MOMENT:"promptMomentNotification",TOKEN_FETCHED:"tokenFetched"},Un={INITIALIZATION:"initialization",AUTHENTICATION:"authentication"},{GOOGLE_ERROR:Bn,GOOGLE_USER_FETCHED:Fn,INITIALIZED:Hn}=Mn,{INITIALIZATION:jn,AUTHENTICATION:qn}=Un;EventTarget;const zn=Mn,Gn=Un,{GOOGLE_USER_FETCHED:Wn,GOOGLE_ERROR:Kn,INITIALIZED:Vn}=zn,{INITIALIZATION:Yn}=Gn;".".concat("show-more-less","__list"),".".concat("show-more-less","__more-button"),".".concat("show-more-less","__less-button"),"".concat("show-more-less","__list--hide-after"),"".concat("show-more-less","__button--hide");".".concat("accordion-item__trigger");class Jn{constructor(e){if(!e)throw new Error("EllipsisMenu el required");this._el=e,this.currentMenuItem=this._el.querySelector(".ellipsis-menu__item-button");const t=this._el.querySelector(".collapsible-dropdown");if(!t)throw new Error("A collapsible dropdown is required to instantiate an EllipsisMenu");this.collapsibleDropdown=new ee(t,{elementToFocus:this.currentMenuItem})}}var Xn;!function(e){e.ProductName="productName",e.UntrackedResponseCodes="untrackedResponseCodes",e.TrackedResponseCodes="trackedResponseCodes",e.ClientSensorGroupName="clientSensorGroupName"}(Xn||(Xn={}));new Set(Object.values(Xn));Error;var Zn;!function(e){e.ProductName="productName",e.CustomTrackingId="customTrackingId",e.ClientSensorGroupName="clientSensorGroupName",e.AdditionalDegradedResponseCodes="additionalDegradedResponseCodes",e.NonDegradedResponseCodes="nonDegradedResponseCodes",e.DegradationKeyOverrides="degradationKeyOverrides"}(Zn||(Zn={})),new Set(Object.values(Zn));var Qn="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",$n=function(){if("undefined"==typeof document)return!0;return"textContent"in document.createElement("div")}()?"textContent":"innerText",ei=["b","del","em","i","s","strong","sub","sup"],ti=ei.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"]),ni=[Qn,"alt|checked|selected|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("|");function ii(){}var oi,ri;ri=/[&<>"'\u0000\\=]/g,oi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(){var e,t,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)")};e=document.createElement("div");var i={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};t="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"}}();var si=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};var ai,li=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var n=0,i=e.length;n<i;n++)t(e[n],n)};function ci(e){e=si(e)?e:[e];var t,n,i,o=0,r="<(?!/?";return r+="(?:",li(e,(function(e,s){t=e.tags||ti,n=e.attrs||ni,i=e.checkUrlAttrs||!1,0!==s&&(r+="|"),r+="(?:"+t.join("|")+")",r+="(?:",r+="[ \t\r\n]*",r+="|[ \t\r\n]+",r+="(?:(?:",r+="(?:"+n+")(?:=([\"'])[^'\"<>]*\\"+ ++o+")?",i&&(r+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++o),r+=")[ \t\r\n]*)+",r+=")"})),r+=")",r+="/?>)",new RegExp(r,"i")}function di(e){return ci({tags:e=e||ti,checkUrlAttrs:!0})}function ui(e,t){var n=(t=t||{}).allowTags,i=!1!==t.hasCustomElementMarkup;return n?!di(n).test(e):i?!ui.R_UNSAFE_CUSTOM_ELEMENT.test(e):!ui.R_UNSAFE_HTML.test(e)}function hi(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}ui.R_UNSAFE_HTML=di(),ui.R_UNSAFE_CUSTOM_ELEMENT=ci([{tags:ti,checkUrlAttrs:!0},{tags:[(ai={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[Qn,ai.attrs].join("|"),checkUrlAttrs:!1}]);var pi={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,"",""]};pi.optgroup=pi.option,pi.tbody=pi.tfoot=pi.colgroup=pi.caption=pi.thead,pi.th=pi.td;function fi(e,t){if(!(this instanceof fi))return new fi(e,t);(t=t||{}).allowTags=t.allowTags?t.allowTags.reduce((function(e,t){return e.concat(t)}),[]):null,this._string=e,this._options=t}fi.prototype=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(new ii,{toString:function(){var e=this._string,t=this._stringVal,n=e;return void 0!==t?t:(ui(e,this._options)||(n=e,e=hi(e),xe("UnsafeString contains non-whitelisted tags or attributes.\nString: "+n,"error")),this._stringVal=e,e)}});".".concat("filter-values-container__filter-value"," input"),".".concat("filter-values-container__filter-value"," input[type=radio]:checked");function gi(e){return t=>t.type&&t.type.toLowerCase()===e.toLowerCase()}gi("action"),gi("openpage"),gi("openlink");function mi(e,t){const n=B(e);for(let e=0;e<n.length;e++)n[e]&&1===n[e].nodeType&&t(n[e])}function _i(e){Ei([e])}function vi(e){wi([e])}function Ei(e){mi(e,e=>{e.classList.add("hidden"),e.setAttribute("aria-hidden","true")})}function wi(e){mi(e,e=>{e.classList.remove("hidden"),e.setAttribute("aria-hidden","false")})}function bi(){const e=document.querySelector('meta[name="pillar"]');return e?e.getAttribute("content"):""}class yi{constructor(){let{badgeSel:e="[data-badge-without-count-source]",badgeCountSel:t="[data-badge-source]",cacheBustHrefSel:n='[data-update-cache-bust-url="true"]'}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._counts={},this.badgeCountEls=document.querySelectorAll(t),this.badgeWithoutCountEls=document.querySelectorAll(e),this.cacheBustHrefEls=document.querySelectorAll(n),this.feedLastUpdatedTimeInDom=je("feedLastUpdatedTime")}resetBadges(){Ei(this.badgeCountEls),Ei(this.badgeWithoutCountEls)}getBadges(){const e=this.feedLastUpdatedTimeInDom||"";return te(e?z("/mwlite/badge-counts","feedQueryAfterTime",e):"/mwlite/badge-counts").then(t=>{const n=JSON.parse(t.responseText);K(window,"badgesreceived",{feedsCount:n.feedsCount}),this._counts=n;const i=bi();return"messaging"===i&&(this._counts.messagingCount=0),"feed"===i||e||(this._counts.feedsCount=2),this._counts.feedsCount=this._counts.feedsCount>=2?1:0,this._counts.lastUpdatedAt=(new Date).getTime(),this._updateCacheBustUrl(this._counts.feedsCount>0),this._renderBadges(),this}).catch(()=>{K(window,"badgesreceived",{feedsCount:0})})}_renderBadges(){this.badgeCountEls.forEach(e=>{this._setBadgeCount(e,this._counts[e.dataset.badgeSource])}),this.badgeWithoutCountEls.forEach(e=>{this._setBadge(e,this._counts[e.dataset.badgeWithoutCountSource])})}_setBadgeCount(e,t){if(!e)return;const n=e.innerHTML;null==n&&t>0?(e.textContent=t,vi(e)):t!==n&&(t>0?(e.textContent=t,vi(e),e.classList.toggle("singular",t<=1)):_i(e))}_setBadge(e,t){e&&(t>0?(vi(e),e.classList.add("badge-with-no-count")):_i(e))}_updateCacheBustUrl(e){je("isSWCacheEnabled")&&this.cacheBustHrefEls&&this.cacheBustHrefEls.forEach(t=>{t.href=Ht(e?z(t.href,"pwa","noCache"):Y(t.href))})}}!function(){let e}();const Ti={getPageInstance:Ne,getTrackingInstance:function(){let{appId:e="seo",trackingCode:t,applicationInstance:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=k(document),o=j(window.location.href,"originalReferer"),r={appId:e,disableInitialAnchorPageViewEvent:!0,requestBatchingMaxWaitSeconds:.05,userRequestHeaderProperties:{},eventHeaderProperties:{}};return t&&(r.userRequestHeaderProperties.trackingCode=t),n&&n.applicationUrn&&n.version&&n.trackingId&&(r.eventHeaderProperties.clientApplicationInstance=n),o&&(r.userRequestHeaderProperties.referer=o),Le||(Le=Ie.AppTrackingInstance.createFromPageKey(r,i)),Le.generateTrackingId=Ie.generateTrackingId,Le},firePageViewEvent:Ce,fireViewModuleImpressionEvent:function(e,t){const n=I(document),i={};n&&(i.interfaceLocale=n);const o={header:{},requestHeader:i,moduleNames:t};e.fireTrackingEvent("ViewModuleImpressionEvent",o)}}}).call(this,n(3).Buffer,n(2))},function(e,t,n){"use strict";(function(e,i){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s;n.d(t,"a",(function(){return Ot})),n.d(t,"b",(function(){return Ct})),n.d(t,"c",(function(){return ki})),n.d(t,"d",(function(){return Ki})),n.d(t,"e",(function(){return vi})),n.d(t,"f",(function(){return re})),n.d(t,"g",(function(){return ke})),n.d(t,"h",(function(){return Oe})),n.d(t,"i",(function(){return sn})),n.d(t,"j",(function(){return Si})),n.d(t,"k",(function(){return gi})),n.d(t,"l",(function(){return Ee})),n.d(t,"m",(function(){return Le})),n.d(t,"n",(function(){return Y}));var a,l,c,d={ADVERTISING:"ADVERTISING",ANALYTICS_AND_RESEARCH:"ANALYTICS_AND_RESEARCH",FUNCTIONAL:"FUNCTIONAL"},u="GUEST",h="MEMBER",p=0,f=1,g=2,m=(r(s={},u,"li_gc"),r(s,h,"li_mc"),s),_=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;for(var s in o(this,e),t=t||{},this.consentAvailable=!1,this.issuedAt=n,this.userMode=i,this.optedInConsentMap={},d)t[s]=t[s]||p,t[s]!==p&&(this.consentAvailable=!0),this.optedInConsentMap[s]=t[s]===f||t[s]===p&&r===f},v=(a=[d.ADVERTISING,d.ANALYTICS_AND_RESEARCH,d.FUNCTIONAL],l=[p,f,g,p],c=new RegExp(["^(\\d+)","(\\d+)","(\\d+)","((?:.|\\s)+)"].join(";")),{parseConsentBody:function(e,t){var n=e.match(c);if(!n)return{error:"Invalid consent body encoding",consent:new _};for(var i=parseInt(n[1],10),o={},r=0;r<a.length;r++)o[a[r]]=l[i>>2*r&3];var s=new Date(1e3*parseInt(n[2],10)),d=parseInt(n[3],10),u=p;return d>=0&&d<=3&&(u=l[d]),{error:null,consent:new _(o,s,t,u)}}}),E=new RegExp(["^(\\d+)","((?:.|\\s)+)"].join(";")),w=function(e,t){var n=t.match(new RegExp("(?:^|; *)".concat(e,"=([^;]*)")));return n&&n.length>1?n[1]:null},b=function(e,t){var n=w(m[e],t);return n?T(n,e):w(m[u],t)||w(m[h],t)?y(g):y(f)},y=function(e){var t={};for(var n in d)t[n]=e;return{error:null,consent:new _(t,null,null,e)}};var T=function(t,n){t&&t.length>1&&'"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.substring(1,t.length-1));var i,o=null;try{o=(i=t,"undefined"==typeof atob&&void 0!==e?e.from(i,"base64").toString("binary"):atob(i)).match(E)}catch(e){}if(!o)return{error:"Invalid consent encoding",consent:new _};var r=parseInt(o[1],10),s=o[2];switch(r){case 1:return v.parseConsentBody(s,n);default:return{error:"Invalid encoded consent version ".concat(r),consent:new _}}},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.cookie;return e||(e=w("liap",t)?w(m[h],t)?h:u:w(m[u],t)?u:h),b(e,t)};window.encodeURIComponent;function k(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function A(e){let t=e.querySelector('meta[name="linkedin:pageTag"]');return t&&t.content||""}function I(e){let t=e.querySelector('meta[name="locale"]');return t&&t.content||""}function L(e){let t=e.domain;return t?t.split(".").slice(-2).join("."):""}function C(e){return e&&'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.slice(1,-1):e}const O={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",ESCAPE:"Escape",ENTER:"Enter",SPACEBAR:" ",TAB:"Tab"},N={Down:O.ARROW_DOWN,Right:O.ARROW_RIGHT,Left:O.ARROW_LEFT,Up:O.ARROW_UP,Esc:O.ESCAPE,Spacebar:O.SPACEBAR,Tab:O.TAB};function R(e){return N[e]||e}function x(e,t){if(!e)return null;let n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;for(;e&&!n.call(e,t);)e=e.parentElement;return e}function D(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})}class P{constructor(){this._unloadCallbacks=[],this._initEventListener()}_initEventListener(){window.addEventListener("beforeunload",e=>{for(let t=0;t<this._unloadCallbacks.length;t++){if(!1===this._unloadCallbacks[t].call(null,e))break}})}addUnloadCallback(e){e instanceof Function&&this._unloadCallbacks.push(e)}}const M=function(){let e;return{getInstance:function(){return e||(e=new P),e}}}();function U(e){return null==e||"object"!=typeof e?[]:Array.prototype.slice.call(e)}function B(e){const t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth,o=t.top<=n&&t.top+t.height>=0,r=t.left<=i&&t.left+t.width>=0;return o&&r}function F(){let{scrollTop:e=scrollY,clientHeight:t=window.innerHeight,scrollHeight:n=document.body.scrollHeight}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>=n-(t+t*i)}function H(e,t,n){const i=new RegExp("([\\?&])".concat(n?t:encodeURIComponent(t),"=([^&#]*)")).exec(e);return i&&(n?i[2]:decodeURIComponent(i[2]))}function j(e,t){return q(e,"trk",t)}function q(e,t,n,i){if(!e||!t)throw new Error("Required param of addQueryParam missing: url = ".concat(e,",  key = ").concat(t));t=encodeURIComponent(t),n=encodeURIComponent(n);const o=H(e,t,!0);if(o)return i?e.replace(o,n):e;{const i=e.indexOf("?");let[o,r]=e.split("#"),s="&";return i<0?s="?":i===e.length-1&&(s=""),r&&(r="#".concat(r)),"".concat(o).concat(s).concat(t,"=").concat(n).concat(r||"")}}function z(e,t,n){var i=this;if("function"!=typeof e)throw new TypeError("Expected a function.");let o;return function(){for(var r=arguments.length,s=new Array(r),a=0;a<r;a++)s[a]=arguments[a];const l=()=>{o=null,n||e.apply(i,s)},c=n&&!o;clearTimeout(o),o=setTimeout(l,t),c&&e.apply(i,s)}}function G(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}function W(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=document.createEvent("CustomEvent");i.initCustomEvent(t,!0,!0,n),e.dispatchEvent(i)}function K(){let e,t;const n=new Promise((n,i)=>{e=n,t=i});return n.resolve=e,n.reject=t,n}function V(e){return"string"!=typeof e?null:e.split("?")[0]}var Y=Object.freeze({__proto__:null,closest:x,onload:D,UnloadHandler:M,makeArray:U,outerWidth:function(e){let t=e.offsetWidth,n=getComputedStyle(e);return t+=(parseInt(n.marginLeft,10)||0)+(parseInt(n.marginRight,10)||0),t},elementInViewport:B,hasElementScrolledToThreshold:F,getQueryParam:H,addTrackingCode:j,addQueryParam:q,debounce:z,getCookie:G,dispatchCustomEvent:W,getDeferredPromise:K,isDocumentHidden:function(e){return void 0!==e.msHidden?e.msHidden:void 0!==e.hidden?e.hidden:void 0},stripQueryParams:V});class J{constructor(e,t,n){let{mainButton:i,closeButton:o}=n,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!e)throw Error("An element must be provided to Collapsible");if(!t)throw Error("An expandable element must be provided to Collapsible");if(!i)throw Error("A main button element must be provided to Collapsible");this.el=e,this.expandableEl=t,this._isList=["UL","OL","DL"].includes(this.expandableEl.tagName);const{isOpen:s=!1}=r;this.isOpen=s,this.mainButton=i,this.closeButton=o,this.buttons=[i],this._isList&&this.el.addEventListener("keyup",e=>this._onKeyUp(e)),this.expandableEl.addEventListener("keydown",e=>this._onKeyDown(e)),this.mainButton.addEventListener("click",e=>this.closeButton?this._open(e):this._toggle(e)),this.mainButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.closeButton&&(this.closeButton.addEventListener("click",()=>this.close()),this.closeButton.addEventListener("keydown",e=>this._onButtonKeyDown(e)),this.buttons.push(this.closeButton))}get isList(){return this._isList}_toggle(e){this.isOpen?this.close():this._open(e)}_onButtonKeyDown(e){switch(R(e.key)){case O.ENTER:case O.SPACEBAR:e.preventDefault(),this.isOpen?this.close():this._open(e);break;case O.ARROW_UP:this.isOpen||this._open(e);break;case O.ARROW_DOWN:this.isOpen&&this.close()}}_onKeyUp(e){R(e.key)===O.SPACEBAR&&e.preventDefault()}_onKeyDown(e){const t=R(e.key);if(t===O.ESCAPE&&this.isOpen)this.close();else if(this._isList){let n;switch(t){case O.SPACEBAR:W(e.target,"click");break;case O.ARROW_LEFT:case O.ARROW_UP:n=x(e.target,"li");let t=n.previousElementSibling;t&&W(t,"focusEl");break;case O.ARROW_RIGHT:case O.ARROW_DOWN:n=x(e.target,"li");let i=n.nextElementSibling;i&&W(i,"focusEl")}}}_open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isOpen){const{key:t}=e;this.isOpen=!0,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),W(this.el,"open",{key:t})}}close(){let{shouldReturnFocusToTrigger:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isOpen&&(this.isOpen=!1,this.buttons.forEach(e=>e.setAttribute("aria-expanded",this.isOpen)),W(this.el,"close"),e&&this.mainButton.focus())}}const X=['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 Z(e){const t=window.getComputedStyle(e);return"hidden"===t.visibility||"none"===t.display}function Q(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement,i=arguments.length>2?arguments[2]:void 0;return e===n?!Z(e):i&&i.get(e)?i.get(e):(Z(e)?t=!1:e.parentNode&&(t=Q(e.parentNode,n,i)),i&&i.set(e,t),t)}const $=".".concat("collapsible-dropdown","__list"),ee=".".concat("collapsible-dropdown","__button");class te{constructor(e){let{getFocusItemFromListItem:t=(e=>e.querySelector(X)),elementToFocus:n,dropdownTriggerEl:i,dropdownContentEl:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw Error("An element must be provided to CollapsibleDropdown");if(this.el=e,this.dropdownContentEl=o||this.el.querySelector($),!n){const e=this.dropdownContentEl===this.dropdownContentEl.parentElement.querySelector(X),t="-1"===this.dropdownContentEl.getAttribute("tabIndex");e||t||console.warn('elementToFocus not provided and the dropdown container is not focusable. Consider adding tabindex="-1" to:',this.dropdownContentEl)}this.elementToFocus=n||this.dropdownContentEl,this.dropdownTriggerEl=i||this.el.querySelector(ee),this.hideClass="hidden",this.collapsible=new J(e,this.dropdownContentEl,{mainButton:this.dropdownTriggerEl}),this._handleBodyClick=this._handleBodyClick.bind(this),this._focusOutsideDropdown=this._focusOutsideDropdown.bind(this),this._leaveWindow=this._leaveWindow.bind(this),this._attachEventListeners(),this.collapsible.isList&&(this._getFocusItemFromListItem=t)}_attachEventListeners(){this.el.addEventListener("open",e=>this._showDropdownList(e)),this.el.addEventListener("close",()=>this._hideDropdownList()),this.collapsible.isList&&this.dropdownContentEl.addEventListener("focusEl",e=>this._manageFocus(e))}_manageFocus(e){const{target:t}=e;if(t&&this._getFocusItemFromListItem){const e=this._getFocusItemFromListItem(t);e&&e.focus()}}_handleBodyClick(e){this.el.contains(e.target)||this.collapsible.close({shouldReturnFocusToTrigger:!1})}_showDropdownList(e){this.el.addEventListener("focusout",this._focusOutsideDropdown),window.addEventListener("blur",this._leaveWindow),this.dropdownContentEl.classList.remove(this.hideClass),this.elementToFocus.focus();const{key:t}=e&&e.detail;t?this.elementToFocus.classList.remove("no-focus-ring"):this.elementToFocus.classList.add("no-focus-ring"),document.addEventListener("mousedown",this._handleBodyClick)}_hideDropdownList(){document.removeEventListener("mousedown",this._handleBodyClick),this.el.removeEventListener("focusout",this._focusOutsideDropdown),window.removeEventListener("blur",this._leaveWindow),this.dropdownContentEl.classList.add(this.hideClass)}_focusOutsideDropdown(e){e.relatedTarget&&!this.el.contains(e.relatedTarget)&&this.collapsible.isOpen&&this.collapsible.close()}_leaveWindow(){this.collapsible.isOpen&&this.collapsible.close()}}function ne(e){let{method:t="GET",headers:n={},sendCookies:i=!0,skipCsrfToken:o=!1,postData:r,isPemEnabled:s=!1,pemDegradationTrackingMetadata:a=[],pemEntityIds:l=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const c=new Promise((s,a)=>{const l=new XMLHttpRequest;if(l.addEventListener("load",(function(){if(l.status>=200&&l.status<300||304===l.status)s({status:l.status,responseText:l.responseText});else{const n=new Error("".concat(t," request for ").concat(e," has failed with status code ").concat(l.status));n.response={status:l.status,responseText:l.responseText},l.response&&(n.response.rawHeaders=l.getAllResponseHeaders()),a(n)}})),l.addEventListener("error",(function(e){a(e)})),l.open(t,e,!0),l.withCredentials=i,Object.keys(n).forEach(e=>{l.setRequestHeader(e,n[e])}),!o){const e=G("JSESSIONID");e&&l.setRequestHeader("Csrf-Token",C(e))}l.send(r)});return s&&(a.length?ie(c,e,l,a):console.warn("Please set the value for the option pemDegradationTrackingMetadata when PEM is enabled.")),c}function ie(e,t,n,i){try{const o=e.then((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Response(e,{status:e.status})})).catch((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Response(e.response,{status:e.response?e.response.status:500,headers:e.response&&e.response.rawHeaders?oe(e.response.rawHeaders):new Headers})}));window.tracking.then(e=>{window.pemTracking.then(r=>{r.trackFeatureDegradationsForFetch(t,n,i,o,e.state.currentPageInstance)})})}catch(e){}}function oe(e){const t=new Headers;return e&&e.trim().split(/[\r\n]+/).forEach(e=>{const n=e.trim().split(": "),i=n.shift();if(i){const e=n.join(": ");t.set(i.toLocaleLowerCase(),e)}}),t}class re{constructor(e){if(!e)throw Error("An element must be provided to LanguageSelector");this._el=e,this.listEl=this._el.querySelector(".collapsible-dropdown__list"),this.dropdownTriggerEl=this._el.querySelector(".language-selector__button"),this.currentListItem=this.listEl.querySelector(".language-selector__link--selected"),this.collapsibleDropdown=new te(e,{dropdownTriggerEl:this.dropdownTriggerEl,elementToFocus:this.currentListItem}),this._attachCustomEventListeners()}_attachCustomEventListeners(){this.listEl.addEventListener("click",this._handleLocaleButtonClick.bind(this))}_handleLocaleButtonClick(e){return function(e){const t=C(G("bcookie")||""),n=function(e){let t="";return e.indexOf("linkedin.cn")>-1?t="https://www.linkedin.cn":e.indexOf("linkedin-ei.cn")>-1?t="https://www.linkedin-ei.cn":e.indexOf("linkedin-ei.com")>-1?t="https://www.linkedin-ei.com":e.indexOf("linkedin.com")>-1&&(t="https://www.linkedin.com"),t}(L(document));return ne("".concat(n,"/psettings/update-language/cors?csrfToken=").concat(encodeURIComponent(t)),{method:"POST",headers:{"Content-Type":"application/json"},postData:JSON.stringify({locale:e}),skipCsrfToken:!0})}(e.target.getAttribute("data-locale")).then(()=>{location.reload()})}}var se="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{};parseInt;var ae="object"==typeof se&&se&&se.Object===Object&&se,le="object"==typeof self&&self&&self.Object===Object&&self;ae||le||Function("return this")(),Object.prototype.toString,Math.max,Math.min;function ce(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ajax",n=arguments.length>2?arguments[2]:void 0;e.fireTrackingEvent("PageViewEvent",de(n,t))}function de(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ajax";const n=A(document),i=I(document);let o={};return i&&(o.interfaceLocale=i),e&&(o.pageKey=e),{header:{},requestHeader:o,pageType:t,trackingInfo:{clientTimestamp:Date.now(),pageTag:n}}}function ue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.state&&e.state.currentPageInstance||{};let{trackingId:n}=t;return n&&!he(n)&&e.convertUuidTrackingIdToBase64&&(n=e.convertUuidTrackingIdToBase64(n)),"".concat(t.pageUrn,";").concat(n)}function he(e){return"string"==typeof e&&"=="===e.slice(-2)}function pe(e,t){t=t||"log";if("undefined"!=typeof window&&window&&window.jet&&"error"===t.toLowerCase())try{throw new Error(e)}catch(e){try{window.jet.error(e)}catch(e){}}"undefined"!=typeof console&&"function"==typeof console[t]&&console[t](e)}new RegExp("^(?:HTTPS?|https?|ftp|mailto|tel|sms|blob|voyager|android-app|linkedin|chrome-extension|invalid|data:(?:(?:image/(?:gif|jpe?g|png|webp|bmp|tiff))|(?:application/x-font-woff)|(?:font/(?:opentype|ttf)))[;,]|[/.#?])");function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _e="prev",ve="next";class Ee{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e)throw new Error("No element passed in");this._el=e,this._previousButton=e.querySelector(".".concat('slide-list__nav-button[data-direction="prev"]')),this._nextButton=e.querySelector(".".concat('slide-list__nav-button[data-direction="next"]')),this._listEl=e.querySelector(".slide-list__list"),this._slideNavDisabled="true"===this._el.dataset.disabled,this._dragLimit=this._listEl.offsetWidth,this._items=[...this._listEl.children],this._lock={},this._currentPage=t,this._isRtl="rtl"===document.body.dir,this._isMinimalNav=e.querySelector(".".concat("slide-list__header-nav--minimal")),this._prevTabIndexMap=new Map,this._boundFireScrollEvent=this._fireScrollEvent.bind(this),!("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))),e.querySelector(".slide-list__header-nav")&&this._el.addEventListener("click",this._handleScrollAction.bind(this)))}next(e){return e=e||1,this._currentPage+e<=this._pageTranslates.length-1&&(this._currentPage+=e,this._updateSlideButtons(),this._updateListPosition(),this._updateFocusableElements(),this._dispatchPageChangeEvent()),this._currentPage}prev(e){return e=e||1,this._currentPage-e>=0&&(this._currentPage-=e,this._updateSlideButtons(),this._updateListPosition(),this._updateFocusableElements(),this._dispatchPageChangeEvent()),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,this._updateFocusableElements()}_getPageTranslates(){const e=this._listEl.offsetWidth,t=this._listEl.scrollWidth,n=this._isRtl?e-this._items[0].offsetLeft-this._items[0].offsetWidth:this._items[0].offsetLeft,i=t-e;let o=[0];const r=[new Set],s=[];let a=0;for(let t=0;t<this._items.length;t+=1){const l=o[o.length-1],c=r[o.length-1],d=this._items[t].offsetLeft,u=this._items[t].offsetWidth;let h=Math.abs(this._isRtl?d+u:d),p=Math.abs(this._isRtl?d:d+u);if(s.push(h),this._isRtl&&d>=0)c.add(this._items[t]);else if(0===h&&0===n||0===a)a=p,c.add(this._items[t]);else{if(p>l+e){if(h>=i){r.push(new Set(this._items.slice(t)));break}o.push((this._isRtl?a:h)-n),r.push(new Set([this._items[t]]))}else c.add(this._items[t]);a=p}}return o.push(i),s.forEach((e,t)=>{e>=i&&r[r.length-1].add(this._items[t])}),this._pageItems=r,o}_updateFocusableElements(){const e=this._pageItems[this._currentPage],t=this._items.filter(t=>!e.has(t));for(const e of this._items)e.removeAttribute("aria-hidden");for(const[e,t]of this._prevTabIndexMap)null===t?e.removeAttribute("tabindex"):e.setAttribute("tabindex",t);for(const e of t){e.setAttribute("aria-hidden","true");e.querySelectorAll(X).forEach(e=>{const t=e.getAttribute("tabindex");this._prevTabIndexMap.set(e,t),e.setAttribute("tabindex","-1")})}}_handleScrollAction(e){const t=x(e.target,".slide-list__nav-button"),n=t&&t.dataset.direction;n&&(this._listEl.addEventListener("transitionend",this._boundFireScrollEvent),n===_e?this.prev():n===ve&&this.next())}_fireScrollEvent(){W(window,"scroll"),this._listEl.removeEventListener("transitionend",this._boundFireScrollEvent)}_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("slide-list__list--dragging"),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(e){this._resetTouchEvents(),this._t.start=this._getEventPosition(e),this._dragging=!0,this._listEl.classList.add("slide-list__list--dragging")}_handleTouchMove(e){if(!this._dragging||this._dragCanceled)return;let t=this._getEventPosition(e);this._t.current={x:this._t.start.x-t.x,y:this._t.start.y-t.y},this._canDrag()?(this._dragThresholdMet=!0,e.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)>20&&(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._dispatchPageChangeEvent()),this._resetTouchEvents(),this._updateSlideButtons(),this._updateListPosition())}_getEventPosition(e){return{x:e.touches[0].clientX,y:e.touches[0].clientY}}_isVerticalScrolling(){return Math.abs(this._t.current.x)<Math.abs(this._t.current.y)&&Math.abs(this._t.current.y)>10}_canDrag(){return this._dragThresholdMet||Math.abs(this._t.current.x)>Math.abs(this._t.current.y)&&Math.abs(this._t.current.x)>10}_updateTranslateXY(e,t){this._listEl.style.transform="translate3d(".concat(e||0,"px, ").concat(t||0,"px, 0px)")}_dispatchPageChangeEvent(){W(this._el,"pagechange",{pageNumber:this._currentPage})}}class we{constructor(e){if(!e)throw new Error("An element must be passed in to Disable Background Navigation");this._container=e,this._hiddenElements=[]}disableBackground(){let e=this._container;for(;e&&e!==document.body&&e.parentElement;)this._hiddenElements=this._hiddenElements.concat([...e.parentElement.children].filter(t=>t!==e&&"true"!==t.getAttribute("aria-hidden")&&(t.setAttribute("aria-hidden",!0),!0))),e=e.parentElement}enableBackground(){this._hiddenElements.forEach(e=>{e.removeAttribute("aria-hidden")}),this._hiddenElements=[]}}const be=["class","disabled","style","tabindex","type"];class ye{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),this._backgroundNavigationDisabler=new we(this._container)}init(){this._observer.observe(this._container,{attributeFilter:be,attributes:!0,childList:!0,subtree:!0}),this._setFirstAndLastFocusableEls(this._container),this._container.addEventListener("keydown",this._handleKeyDown),this._backgroundNavigationDisabler.disableBackground()}tearDown(){this._observer.disconnect(),this._container.removeEventListener("keydown",this._handleKeyDown),this._backgroundNavigationDisabler.enableBackground()}_focusTrap(e){const{key:t,target:n}=e,i=R(t),o=i===O.TAB&&e.shiftKey;!o&&i===O.TAB&&n===this.lastFocusableEl?(this.firstFocusableEl.focus(),e.preventDefault()):o&&n===this.firstFocusableEl&&(this.lastFocusableEl.focus(),e.preventDefault())}_setFirstAndLastFocusableEls(e){const[t,n]=this._getFirstAndLastFocusableEls(e);this.firstFocusableEl=t,this.lastFocusableEl=n,setTimeout(()=>{this._hasFocusBeenDropped()&&("-1"===e.getAttribute("tabindex")?e.focus():this.firstFocusableEl.focus())},100)}_hasFocusBeenDropped(){const e=document.activeElement;return!e||e===document.body}_getFirstAndLastFocusableEls(e){const t=[...e.querySelectorAll(X)],n=new Map;let i,o,r=0,s=t.length-1;for(;(!i||!o)&&r<=s;){if(!i){const o=t[r];i=Q(o,e,n)&&o,r++}if(!o){const i=t[s];o=Q(i,e,n)&&i,s--}}return o=o||i,[i,o]}}const{ENTER:Te,ESCAPE:Se}=O;class ke{constructor(e){let{enablePageViewTracking:t=!1,shouldHideModal:n=(()=>!1),triggerByOutletEl:i=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("No modal element passed in");this._el=e,this._parentNode=this._el.parentNode,this._topLevelContainer=this._getTopLevelContainer(),this._wrapperEl=this._el.querySelector(".".concat("modal__wrapper")),this._overlayEl=this._el.querySelector(".".concat("modal__overlay")),i&&(this._outletEls=this._getOutletEls()),this._exitButtonEl=this._el.querySelector(".".concat("modal__dismiss")),this._onKeyDownEvent=e=>this._onKeyDown(e),this._enablePageViewTracking=t,this._shouldHideModal=n,i&&this._outletEls.forEach(e=>{e.addEventListener("click",()=>this.open())}),this._exitButtonEl&&this._exitButtonEl.addEventListener("click",()=>this.close()),this._overlayEl.addEventListener("click",this._handleOverlayClick.bind(this)),this._focusTrap=new ye(this._wrapperEl)}_getOutletEls(){const e=this._el.dataset.outlet,t=[...("default-outlet"===e?this._parentNode:document).querySelectorAll('[data-modal="'.concat(e,'"]'))];if(!t.length)throw new Error("No outlet was found with a data-modal attribute equal to the provided dataCustomOutlet param ".concat(e));return t}_getTopLevelContainer(){const e=document.querySelector(".".concat("top-level-modal-container"));if(!e){const e=document.createElement("div");return e.className="top-level-modal-container",document.body.appendChild(e)}return e}_handleOverlayClick(e){e.target===this._wrapperEl||this._wrapperEl.contains(e.target)||this.close()}_onKeyDown(e){const t=R(e.key),n=t===Te&&document.activeElement===this._exitButtonEl;(t===Se||n)&&(this.close(),e.preventDefault())}open(){if(!this._shouldHideModal())return this._previouslyFocusedEl=document.activeElement,this._overlayEl.classList.add("modal__overlay--visible"),this._topLevelContainer.appendChild(this._el),this.noScroll(),document.addEventListener("keydown",this._onKeyDownEvent),W(this._el,"open"),this._wrapperEl&&this._wrapperEl.focus(),this._focusTrap.init(),this._enablePageViewTracking&&window.tracking?window.tracking.then(e=>{const t=k(document).replace("_jsbeacon","");ce(e,"ajax","".concat(t,"_").concat(this._el.id))}):Promise.resolve();W(this._el,"didNotOpen")}close(){this._overlayEl.classList.remove("modal__overlay--visible"),this._parentNode.appendChild(this._el),this.removeNoScroll(),document.removeEventListener("keydown",this._onKeyDownEvent),W(this._el,"close"),this._previouslyFocusedEl&&this._previouslyFocusedEl.focus(),this._focusTrap.tearDown()}noScroll(){document.body.classList.add("no-scroll")}removeNoScroll(){document.body.classList.remove("no-scroll")}}const Ae={COPY:"copy",LINKEDIN:"linkedin",TWITTER:"twitter",FACEBOOK:"facebook"};Object.keys(Ae).map(e=>Ae[e]);const Ie={};function Le(e){const t=document.getElementById(e);if(!t&&void 0!==Ie[e])return Ie[e];if(!t)return console.warn("Element with id: ".concat(e," not found")),Ie[e]=null,Ie[e];let n;for(const e of t.childNodes)try{if(e.nodeType===Node.COMMENT_NODE){n=JSON.parse(e.nodeValue);break}}catch(e){}return void 0===n?(console.warn("Error retrieving content with id: ".concat(e,". Use embedJson helper to embed this content")),null):(Ie[e]=n,t.parentNode.removeChild(t),Ie[e])}const Ce=["binlar","ask\\ jeeves","mozilla\\/4\\.0\\ \\(compatible\\;\\ msie\\ 6\\.0\\;\\ windows\\ nt\\ 5\\.1\\;1813\\)","companydatatree","genieo","microsoft\\+scheduled\\+cache\\+content\\+download\\+service","liferea","superfeedr","ez\\ publish\\ link\\ validator","htmlparser","argclrint","linkwalker","webtool","ask\\+jeeves","stackrambler","paros","^fdm\\+3\\.x","ms\\ search","indy\\+library","seznam","sitevigil","intergator","freedom(?!from)","google\\+page\\+speed\\+insights","znajdzfoto\\/image","riddler\\.io","^java\\/","twiceler","httpunit","ktxn","webcopier","mna\\+digital\\+circonus\\+check","stuff(?!nz)","updatepatrol","feedburner","hp\\+sitescope","crawler","gigablastopensource\\/","rpt\\-http","^fdm\\ 3\\.x","libwww\\-perl","((?=pital)|ca(?=pital))pita","bingpreview","oia\\.owa","^ahc\\/","thunderstone","microsoft\\ bits","alertsite","^python\\-requests\\/","dts\\ agent","tangjiutao","^inmon","linkscan","alexa\\ site\\ audit","webtrends(?!clientlibrary)","chkd","joedog","daumoa","typhoeus","loadimpactpageanalyzer","google\\ news","coldfusion","mna\\ digital\\ circonus\\ check","alexa\\+site\\+audit","getright","appengine","(?=crawler)crawl","ibot(?!ta)","jobo","python\\-httplib","powermarks","site24x7","proximic","yahoo\\+pipes","((?=aporter)|oper(?=aportable))aport","web\\+downloader","check\\_http","grabber","topsy\\.com\\/butterfly\\/","harvest","^inagist\\+url\\+resolver","fast","crescent(?!\\ build|\\+build)","sohu(?!ennews|video|news)","favorg","bloglines","fetch(?!tv)","wapt","microsoft\\+url\\+control","urchin","ning\\/1\\.0","pluck","google\\+news","spider","\\(compatible\\;\\+optimizer\\)","moreover\\/5\\.1","js\\-kit","server\\ density\\ external\\ llama","facebookexternalhit","ultraseek","catchpoint","yandex(?!\\ browser|\\+browser|mail)","echo(?!arena|fon|star)","^worldwatch\\/","combine(?!d)","winhttprequest","ez\\+publish\\+link\\+validator","jakarta","^webnotifier\\/","webmetrics","teoma","nerdbynature","ms\\+frontpage","nielsen","sucker","engagebdr","yahoofeedseeker","dts\\+agent","googleapps","holmes","plumtree","www\\-mechanize","google\\-hoteladsverifier","pingdom","drupal","sina\\_weibo","google\\ page\\ speed\\ insights","lisa","w3c\\_validator","^scan","yeti","snoopy","khte","trovit","atomz","httpcomponents","ms\\+search","google\\-http\\-java\\-client","spi\\_der","bubing","websitepulse","microsoft\\+bits","http\\_request2","ieautodiscovery","siteimprove","curl(?!ings)","go\\+1\\.1\\+package\\+http","^crowsnest\\/","email\\ exractor","utorrent","yahoocachesystem","shopwiki","justview","googlesecurityscanner","msnptc","rkg\\+url\\+verifier","monitor","bitvouseragent","((?=wormgame))worm","talktalk","help\\.coccoc\\.com","yahoo\\ pipes","heritrix","nutch","argus","kulturarw3","checkurl","universalsearch","amazon\\ route\\ 53\\ health\\ check\\ service","slurp","mozilla\\/5\\.0\\ \\(compatible\\;\\ msie\\ 5\\.0\\)","ezooms","kimengi\\/nineconnections\\.com","applesyndication","python\\-urllib","internal\\+zero\\-knowledge\\+agent","system\\+center\\+operations\\+manager","riverglassscanner","imgsizer","changedetection","nutscrape","feedzilla","contype","^lwp","\\(compatible\\;\\ optimizer\\)","infolink","outbrain","^prerender","admantx","^inagist\\ url\\ resolver","amazon\\+route\\+53\\+health\\+check\\+service","neustar","a6\\-indexer","comodo\\+ssl\\+checker","linkchecker","viglink","patric","newsnow","wasalive","scrapy","(?=gruber)grub","ruxitsynthetic","rkg\\ url\\ verifier","ocelli","webcapture","^kraken\\/","t\\-h\\-u\\-n\\-d\\-e\\-r\\-s\\-t\\-o\\-n\\-e","spider(?!solitaire)","isearch","hp\\ sitescope","maxamine","\\(simulated\\_by\\_webserver\\_stress\\_tool\\)","((?=obotics)|ther(?=obotfree))obot","yacy","twibble\\.io","google\\+wireless\\+transcoder","wget","internal\\ zero\\-knowledge\\ agent","google\\ wireless\\ transcoder","xenu","yahooseeker","advanced\\ email\\ extractor","feed43","ptst","reconnoiter","go\\ 1\\.1\\ package\\ http","advanced\\+email\\+extractor","linkdex","panscient\\.com","webcheck","linktiger","scooter","flipboard\\.com\\/browserproxy","evidon","twisted\\ pagegetter","cosmos","adbeat","sherlock","web\\ downloader","cookiereports","siteexplorer","miva","twisted\\+pagegetter","mfc\\_tear\\_sample","indy\\ library","b2w(?!tenisnew)","orangebot(?!swana)","lockss\\+cache","mozilla\\/4\\.0\\+\\(compatible\\;\\+msie\\+6\\.0\\;\\+windows\\+nt\\+5\\.1\\;1813\\)","yahooexternalcache","apache\\-httpclient\\/4\\.","archive\\.org","wesee\\:search","hiscan","ms\\ frontpage","tagscanner","google\\ web\\ preview","special\\_archiver","d24y\\-aegis","scoutjet","larbin","adsense\\-snapshot\\-google","keynote","skypeuripreview","clickajob","download\\+ninja","internet\\ ninja","^ltx71","ukonline","eventmachine\\ httpclient","nomad","mediapartners","twikle","microsoft\\ scheduled\\ cache\\ content\\ download\\ service","internet\\+ninja","scanalert","metauri","agentname","adr\\)","squider","isilo","teleport","automationtest","bordermanager","linklint","bot","templeton","rssreader","ichiro","(?=dialer\\-mobileapp)dialer","atomic\\_email\\_hunter","google\\+web\\+preview","longurl\\+api","longurl\\ api","internetseer","server\\+density\\+external\\+llama","topix","iopus","download\\ ninja","mozilla\\/5\\.0\\+\\(compatible\\;\\+msie\\+5\\.0\\)","europarchive","avantgo","flamingo\\_searchengine","lockss\\ cache","jobrapido","wesee\\:ads\\/","frontier","newspaper\\/0\\.0\\.","apachebench","flamingosearch","lydia","microsoft\\ url\\ control","phantomjs","system\\ center\\ operations\\ manager","^econtext\\/","akamai","cfschedule","searchme\\.com\\/support\\/","fortimail","comodo\\ ssl\\ checker","gomezagent","sitecon","webauto","golem","swcd","spundge\\/0\\.1","findlinks","^sjn","yandex","ia\\_archive","vagabondo","watchmouse","simplepie","1job","goldfire"].join("|");new RegExp(Ce,"i");class Oe{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.tracking,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.lazyloader;const{sources:o,posterUrl:r,digitalmediaAssetUrn:s,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,s,t,i).then(e=>(r&&e.poster(r),e.src(c),l&&e.addRemoteTextTrack({kind:"captions",label:"English",srclang:"en",mode:"showing",src:l}),this._bindTracking(e,n),e))}_createPlayer(e,t,n,i,o){return o.then(e=>e.getLazyLoadedJavascriptModule("media-player")).then(o=>{const{createPlayer:r}=o,s=i.plugins&&i.plugins.rum&&i.plugins.rum.mediaHeader&&i.plugins.rum.mediaHeader.mediaSource||"ugc",a=ge({errorDisplay:!1,controlBar:{fullscreenToggle:!0,backToStartButton:!0,captionsToggle:{selected:!0}},plugins:{}},i);return a.plugins.tracking={mediaUrn:n,trackingId:t},a.plugins.rum={mediaUrn:n,trackingId:t,mediaHeader:{mediaSource:s}},r(e,a)})}_bindTracking(e,t){t.then(t=>{const n=this._getMediaPlayerTrackingEventHandler(t);e.tracking().on("track",n),e.rum().on("track",n)})}_getMediaPlayerTrackingEventHandler(e){return function(t,n){let{eventName:i,eventData:o}=n,r=ge({header:{},requestHeader:{}},o);delete r.name,delete r.plugin,delete r.instance,r.requestHeader.pageKey||(r.requestHeader.pageKey=k(document)),e.fireTrackingEvent(i,r)}}getPlayerPromise(){return this._mediaPlayerInstancePromise}}var Ne=Object.hasOwnProperty,Re=Object.setPrototypeOf,xe=Object.isFrozen,De=Object.getPrototypeOf,Pe=Object.getOwnPropertyDescriptor,Me=Object.freeze,Ue=Object.seal,Be=Object.create,Fe="undefined"!=typeof Reflect&&Reflect,He=Fe.apply,je=Fe.construct;He||(He=function(e,t,n){return e.apply(t,n)}),Me||(Me=function(e){return e}),Ue||(Ue=function(e){return e}),je||(je=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var qe,ze=$e(Array.prototype.forEach),Ge=$e(Array.prototype.pop),We=$e(Array.prototype.push),Ke=$e(String.prototype.toLowerCase),Ve=$e(String.prototype.match),Ye=$e(String.prototype.replace),Je=$e(String.prototype.indexOf),Xe=$e(String.prototype.trim),Ze=$e(RegExp.prototype.test),Qe=(qe=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return je(qe,t)});function $e(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return He(e,t,i)}}function et(e,t){Re&&Re(e,null);for(var n=t.length;n--;){var i=t[n];if("string"==typeof i){var o=Ke(i);o!==i&&(xe(t)||(t[n]=o),i=o)}e[i]=!0}return e}function tt(e){var t=Be(null),n=void 0;for(n in e)He(Ne,e,[n])&&(t[n]=e[n]);return t}function nt(e,t){for(;null!==e;){var n=Pe(e,t);if(n){if(n.get)return $e(n.get);if("function"==typeof n.value)return $e(n.value)}e=De(e)}return function(e){return console.warn("fallback value for",e),null}}var it=Me(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ot=Me(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),rt=Me(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),st=Me(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),at=Me(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),lt=Me(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ct=Me(["#text"]),dt=Me(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ut=Me(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ht=Me(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),pt=Me(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ft=Ue(/\{\{[\s\S]*|[\s\S]*\}\}/gm),gt=Ue(/<%[\s\S]*|[\s\S]*%>/gm),mt=Ue(/^data-[\-\w.\u00B7-\uFFFF]/),_t=Ue(/^aria-[\-\w]+$/),vt=Ue(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Et=Ue(/^(?:\w+script|data):/i),wt=Ue(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function yt(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Tt=function(){return"undefined"==typeof window?null:window},St=function(e,t){if("object"!==(void 0===e?"undefined":bt(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};var kt=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt(),n=function(t){return e(t)};if(n.version="2.3.5",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,o=t.document,r=t.DocumentFragment,s=t.HTMLTemplateElement,a=t.Node,l=t.Element,c=t.NodeFilter,d=t.NamedNodeMap,u=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,h=t.HTMLFormElement,p=t.DOMParser,f=t.trustedTypes,g=l.prototype,m=nt(g,"cloneNode"),_=nt(g,"nextSibling"),v=nt(g,"childNodes"),E=nt(g,"parentNode");if("function"==typeof s){var w=o.createElement("template");w.content&&w.content.ownerDocument&&(o=w.content.ownerDocument)}var b=St(f,i),y=b?b.createHTML(""):"",T=o,S=T.implementation,k=T.createNodeIterator,A=T.createDocumentFragment,I=T.getElementsByTagName,L=i.importNode,C={};try{C=tt(o).documentMode?o.documentMode:{}}catch(e){}var O={};n.isSupported="function"==typeof E&&S&&void 0!==S.createHTMLDocument&&9!==C;var N=ft,R=gt,x=mt,D=_t,P=Et,M=wt,U=vt,B=null,F=et({},[].concat(yt(it),yt(ot),yt(rt),yt(at),yt(ct))),H=null,j=et({},[].concat(yt(dt),yt(ut),yt(ht),yt(pt))),q=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,G=null,W=!0,K=!0,V=!1,Y=!1,J=!1,X=!1,Z=!1,Q=!1,$=!1,ee=!1,te=!0,ne=!0,ie=!1,oe={},re=null,se=et({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ae=null,le=et({},["audio","video","img","source","image","track"]),ce=null,de=et({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ue="http://www.w3.org/1998/Math/MathML",he="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml",fe=pe,ge=!1,me=void 0,_e=["application/xhtml+xml","text/html"],ve="text/html",Ee=void 0,we=null,be=o.createElement("form"),ye=function(e){return e instanceof RegExp||e instanceof Function},Te=function(e){we&&we===e||(e&&"object"===(void 0===e?"undefined":bt(e))||(e={}),e=tt(e),B="ALLOWED_TAGS"in e?et({},e.ALLOWED_TAGS):F,H="ALLOWED_ATTR"in e?et({},e.ALLOWED_ATTR):j,ce="ADD_URI_SAFE_ATTR"in e?et(tt(de),e.ADD_URI_SAFE_ATTR):de,ae="ADD_DATA_URI_TAGS"in e?et(tt(le),e.ADD_DATA_URI_TAGS):le,re="FORBID_CONTENTS"in e?et({},e.FORBID_CONTENTS):se,z="FORBID_TAGS"in e?et({},e.FORBID_TAGS):{},G="FORBID_ATTR"in e?et({},e.FORBID_ATTR):{},oe="USE_PROFILES"in e&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=e.SAFE_FOR_TEMPLATES||!1,J=e.WHOLE_DOCUMENT||!1,Q=e.RETURN_DOM||!1,$=e.RETURN_DOM_FRAGMENT||!1,ee=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,ne=!1!==e.KEEP_CONTENT,ie=e.IN_PLACE||!1,U=e.ALLOWED_URI_REGEXP||U,fe=e.NAMESPACE||pe,e.CUSTOM_ELEMENT_HANDLING&&ye(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ye(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(q.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me=me=-1===_e.indexOf(e.PARSER_MEDIA_TYPE)?ve:e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===me?function(e){return e}:Ke,Y&&(K=!1),$&&(Q=!0),oe&&(B=et({},[].concat(yt(ct))),H=[],!0===oe.html&&(et(B,it),et(H,dt)),!0===oe.svg&&(et(B,ot),et(H,ut),et(H,pt)),!0===oe.svgFilters&&(et(B,rt),et(H,ut),et(H,pt)),!0===oe.mathMl&&(et(B,at),et(H,ht),et(H,pt))),e.ADD_TAGS&&(B===F&&(B=tt(B)),et(B,e.ADD_TAGS)),e.ADD_ATTR&&(H===j&&(H=tt(H)),et(H,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&et(ce,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(re===se&&(re=tt(re)),et(re,e.FORBID_CONTENTS)),ne&&(B["#text"]=!0),J&&et(B,["html","head","body"]),B.table&&(et(B,["tbody"]),delete z.tbody),Me&&Me(e),we=e)},Se=et({},["mi","mo","mn","ms","mtext"]),ke=et({},["foreignobject","desc","title","annotation-xml"]),Ae=et({},ot);et(Ae,rt),et(Ae,st);var Ie=et({},at);et(Ie,lt);var Le=function(e){var t=E(e);t&&t.tagName||(t={namespaceURI:pe,tagName:"template"});var n=Ke(e.tagName),i=Ke(t.tagName);if(e.namespaceURI===he)return t.namespaceURI===pe?"svg"===n:t.namespaceURI===ue?"svg"===n&&("annotation-xml"===i||Se[i]):Boolean(Ae[n]);if(e.namespaceURI===ue)return t.namespaceURI===pe?"math"===n:t.namespaceURI===he?"math"===n&&ke[i]:Boolean(Ie[n]);if(e.namespaceURI===pe){if(t.namespaceURI===he&&!ke[i])return!1;if(t.namespaceURI===ue&&!Se[i])return!1;var o=et({},["title","style","font","a","script"]);return!Ie[n]&&(o[n]||!Ae[n])}return!1},Ce=function(e){We(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=y}catch(t){e.remove()}}},Oe=function(e,t){try{We(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){We(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!H[e])if(Q||$)try{Ce(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ne=function(e){var t=void 0,n=void 0;if(Z)e="<remove></remove>"+e;else{var i=Ve(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var r=b?b.createHTML(e):e;if(fe===pe)try{t=(new p).parseFromString(r,me)}catch(e){}if(!t||!t.documentElement){t=S.createDocument(fe,"template",null);try{t.documentElement.innerHTML=ge?"":r}catch(e){}}var s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),fe===pe?I.call(t,J?"html":"body")[0]:J?t.documentElement:s},Re=function(e){return k.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},xe=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof u)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},De=function(e){return"object"===(void 0===a?"undefined":bt(a))?e instanceof a:e&&"object"===(void 0===e?"undefined":bt(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Pe=function(e,t,i){O[e]&&ze(O[e],(function(e){e.call(n,t,i,we)}))},Ue=function(e){var t=void 0;if(Pe("beforeSanitizeElements",e,null),xe(e))return Ce(e),!0;if(Ve(e.nodeName,/[\u0080-\uFFFF]/))return Ce(e),!0;var i=Ee(e.nodeName);if(Pe("uponSanitizeElement",e,{tagName:i,allowedTags:B}),!De(e.firstElementChild)&&(!De(e.content)||!De(e.content.firstElementChild))&&Ze(/<[/\w]/g,e.innerHTML)&&Ze(/<[/\w]/g,e.textContent))return Ce(e),!0;if("select"===i&&Ze(/<template/i,e.innerHTML))return Ce(e),!0;if(!B[i]||z[i]){if(ne&&!re[i]){var o=E(e)||e.parentNode,r=v(e)||e.childNodes;if(r&&o)for(var s=r.length-1;s>=0;--s)o.insertBefore(m(r[s],!0),_(e))}if(!z[i]&&Fe(i)){if(q.tagNameCheck instanceof RegExp&&Ze(q.tagNameCheck,i))return!1;if(q.tagNameCheck instanceof Function&&q.tagNameCheck(i))return!1}return Ce(e),!0}return e instanceof l&&!Le(e)?(Ce(e),!0):"noscript"!==i&&"noembed"!==i||!Ze(/<\/no(script|embed)/i,e.innerHTML)?(Y&&3===e.nodeType&&(t=e.textContent,t=Ye(t,N," "),t=Ye(t,R," "),e.textContent!==t&&(We(n.removed,{element:e.cloneNode()}),e.textContent=t)),Pe("afterSanitizeElements",e,null),!1):(Ce(e),!0)},Be=function(e,t,n){if(te&&("id"===t||"name"===t)&&(n in o||n in be))return!1;if(K&&!G[t]&&Ze(x,t));else if(W&&Ze(D,t));else if(!H[t]||G[t]){if(!(Fe(e)&&(q.tagNameCheck instanceof RegExp&&Ze(q.tagNameCheck,e)||q.tagNameCheck instanceof Function&&q.tagNameCheck(e))&&(q.attributeNameCheck instanceof RegExp&&Ze(q.attributeNameCheck,t)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(t))||"is"===t&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&Ze(q.tagNameCheck,n)||q.tagNameCheck instanceof Function&&q.tagNameCheck(n))))return!1}else if(ce[t]);else if(Ze(U,Ye(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Je(n,"data:")||!ae[e]){if(V&&!Ze(P,Ye(n,M,"")));else if(n)return!1}else;return!0},Fe=function(e){return e.indexOf("-")>0},He=function(e){var t=void 0,i=void 0,o=void 0,r=void 0;Pe("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(r=s.length;r--;){var l=t=s[r],c=l.name,d=l.namespaceURI;if(i=Xe(t.value),o=Ee(c),a.attrName=o,a.attrValue=i,a.keepAttr=!0,a.forceKeepAttr=void 0,Pe("uponSanitizeAttribute",e,a),i=a.attrValue,!a.forceKeepAttr&&(Oe(c,e),a.keepAttr))if(Ze(/\/>/i,i))Oe(c,e);else{Y&&(i=Ye(i,N," "),i=Ye(i,R," "));var u=Ee(e.nodeName);if(Be(u,o,i))try{d?e.setAttributeNS(d,c,i):e.setAttribute(c,i),Ge(n.removed)}catch(e){}}}Pe("afterSanitizeAttributes",e,null)}},je=function e(t){var n=void 0,i=Re(t);for(Pe("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)Pe("uponSanitizeShadowNode",n,null),Ue(n)||(n.content instanceof r&&e(n.content),He(n));Pe("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var s=void 0,l=void 0,c=void 0,d=void 0,u=void 0;if((ge=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!De(e)){if("function"!=typeof e.toString)throw Qe("toString is not a function");if("string"!=typeof(e=e.toString()))throw Qe("dirty is not a string, aborting")}if(!n.isSupported){if("object"===bt(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(De(e))return t.toStaticHTML(e.outerHTML)}return e}if(X||Te(o),n.removed=[],"string"==typeof e&&(ie=!1),ie){if(e.nodeName){var h=Ee(e.nodeName);if(!B[h]||z[h])throw Qe("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof a)1===(l=(s=Ne("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?s=l:s.appendChild(l);else{if(!Q&&!Y&&!J&&-1===e.indexOf("<"))return b&&ee?b.createHTML(e):e;if(!(s=Ne(e)))return Q?null:ee?y:""}s&&Z&&Ce(s.firstChild);for(var p=Re(ie?e:s);c=p.nextNode();)3===c.nodeType&&c===d||Ue(c)||(c.content instanceof r&&je(c.content),He(c),d=c);if(d=null,ie)return e;if(Q){if($)for(u=A.call(s.ownerDocument);s.firstChild;)u.appendChild(s.firstChild);else u=s;return H.shadowroot&&(u=L.call(i,u,!0)),u}var f=J?s.outerHTML:s.innerHTML;return Y&&(f=Ye(f,N," "),f=Ye(f,R," ")),b&&ee?b.createHTML(f):f},n.setConfig=function(e){Te(e),X=!0},n.clearConfig=function(){we=null,X=!1},n.isValidAttribute=function(e,t,n){we||Te({});var i=Ee(e),o=Ee(t);return Be(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(O[e]=O[e]||[],We(O[e],t))},n.removeHook=function(e){O[e]&&Ge(O[e])},n.removeHooks=function(e){O[e]&&(O[e]=[])},n.removeAllHooks=function(){O={}},n}();const At={ADD_TAGS:["#comment","li-icon","icon","iframe"],ADD_ATTR:["target"],FORCE_BODY:!0,RETURN_DOM:!0};function It(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Lt(null,e,t);return n.innerHTML}function Lt(e,t){let{ADD_TAGS:n=[],ADD_ATTR:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=ge({},At);o.ADD_TAGS=[...o.ADD_TAGS,...n],o.ADD_ATTR=[...o.ADD_ATTR,...i];const r=kt.sanitize(t,o);return e&&e.nodeType===Node.ELEMENT_NODE&&(e.innerHTML="",e.append(...r.childNodes)),r}Object.freeze({SUCCESS:"success",ERROR:"error",NOTIFY:"notify"});"".concat("tooltip__popup","--show");class Ct{constructor(e){if(!e)throw new Error("No element passed in");this._el=e,this._imgEl=this._el.querySelector(".cover-img__image"),this._imgEl&&(this.cropInfo=Le(this._imgEl.dataset.embedId),this.ratio=0,this._imgEl.classList.contains(".lazy-loaded")&&this._initCalc(),this._bindEvents())}_bindEvents(){window.addEventListener("resize",this._handleWindowResize.bind(this)),this._imgEl.addEventListener("load",this._initCalc.bind(this))}_handleWindowResize(){this._isResizing||(this._isResizing=!0,window.requestAnimationFrame(this._initCalc.bind(this)))}_initCalc(){const e=this._el.clientWidth,t=this._el.clientHeight,n=this._imgEl.naturalWidth,i=this._imgEl.naturalHeight,o=this.cropInfo?this.cropInfo.y:0,r=this.cropInfo?this.cropInfo.x:0,s=n-r,a=i-o,l=e/s,c=t/a,d=s*c>=e,u=a*l>=t;let h=0;u&&d?h=Math.min(l,c):u?h=l:d&&(h=c);let p=Math.max(h*n,e),f=Math.max(h*i,t);h!==this.ratio&&(this.ratio=h,this._imgEl.style.width="".concat(p,"px"),this._imgEl.style.height="".concat(f,"px"),this._imgEl.style.top="-".concat(o*this.ratio,"px"),this._imgEl.style.left="-".concat(r*this.ratio,"px")),this._isResizing=!1}}class Ot{constructor(e){let{actionButtonClassName:t="promo__action",dismissButtonClassName:n="promo__dismiss",lockScreenClassName:i="no-scroll",startCoolOffAfterImpression:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw Error("An element must be provided to apptivation promo");this.promo=e,this.actionBtns=this.promo.querySelectorAll(".".concat(t)),this.dismissBtn=this.promo.querySelector(".".concat(n)),this.overlay=this.promo.querySelector(".".concat("apptivation-promo__overlay")),this.containsOverlay=!!this.overlay,this.lockScreenClassName=i,this.clickHandler=this._dismissPromo.bind(this),this.actionBtns.forEach(e=>{e.addEventListener("click",this.clickHandler)}),this.dismissBtn.addEventListener("click",this.clickHandler);const r=this.promo.hasAttribute("data-enable-app-detection");this._initPromise=this._getInitializationParams(e,r),this._initPromise.then(e=>{let{cooloffInMinutes:t,impressionsBeforeDisplay:n}=e;if(this.cooloffInMinutes=t,this.coolOffEnabled=this.cooloffInMinutes>0,this.impressionsBeforeDisplay=n,this.containsOverlay&&this.overlay.addEventListener("click",this.clickHandler),!this._hasMetImpressionThreshold(this.impressionsBeforeDisplay))return;let i=!this.coolOffEnabled;this.coolOffEnabled&&(i=this._hasCoolOffExpired(o),i&&this._setCoolOfStart("global:impression")),this._toggleShowPromo(i)})}_getInitializationParams(e,t){const n=this._getSanitizedDatasetNumber(e.dataset,"cooloffInMinutes"),i=this._getSanitizedDatasetNumber(e.dataset,"impressionsBeforeDisplay");return new Promise(e=>{t?window.appDetection.then(t=>{const o=t.find(e=>"com.linkedin.android"===e.id);e(o?{cooloffInMinutes:0,impressionsBeforeDisplay:0}:{cooloffInMinutes:n,impressionsBeforeDisplay:i})}).catch(()=>{e({cooloffInMinutes:n,impressionsBeforeDisplay:i})}):e({cooloffInMinutes:n,impressionsBeforeDisplay:i})})}isVisible(){return this._initPromise.then(()=>!this.promo.classList.contains("apptivation-promo--hidden"))}_getSanitizedDatasetNumber(e,t){const n=e[t]&&e[t].replace(/\D/g,""),i=parseInt(n,10);return Number.isNaN(i)?0:i}_hasCoolOffExpired(e){this.cooloffStartTimestampMap=this._getCoolOfStartMap();const t=e?"global:impression":"global:dismiss",n=60*this.cooloffInMinutes*1e3,i=this.cooloffStartTimestampMap[t],o=i?parseInt(i,10):0;return Date.now()-o>n}_hasMetImpressionThreshold(e){if(e<2)return!0;return!(function(e){if(!e)throw"impressionKey is required";return(JSON.parse(localStorage.getItem("ssr-ui-lib:global-impression-count-map"))||{})[e]||0}("apptivation-promo")+1<e)||(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e)throw"impressionKey is required";const n=JSON.parse(localStorage.getItem("ssr-ui-lib:global-impression-count-map"))||{},i=n[e]||0;n[e]=i+t,localStorage.setItem("ssr-ui-lib:global-impression-count-map",JSON.stringify(n)),n[e]}("apptivation-promo"),!1)}_dismissPromo(e){e.preventDefault(),this.actionBtns.forEach(e=>{e.removeEventListener("click",this.clickHandler)}),this.dismissBtn.removeEventListener("click",this.clickHandler);const{target:t}=e,n="A"===t.tagName,i=t.getAttribute("href");if(this._toggleShowPromo(!1),this.coolOffEnabled&&this._setCoolOfStart("global:dismiss"),n)if(this.shouldUseAndroidOemDeepLink){const e=Ot._getAndroidOEMDeepLinkFromUrl(i);location.assign(e),Ot._checkNativeAppOpen(i)}else location.assign(i)}get shouldUseAndroidOemDeepLink(){return/Android/.test(navigator.userAgent)&&this.promo.hasAttribute("data-use-deep-link-for-oem-custom-browsers")}static _getAndroidOEMDeepLinkFromUrl(e){const{pathname:t,search:n}=new URL(e);return"".concat("linkedin://you").concat(t).concat(n)}static _checkNativeAppOpen(e){const t=setTimeout(()=>{"hidden"!==document.visibilityState&&location.assign(e)},1500);document.addEventListener("visibilitychange",()=>{clearTimeout(t)})}_toggleShowPromo(e){this.promo.classList.toggle("apptivation-promo--hidden",!e),e&&this.promo.focus(),this.containsOverlay&&document.body.classList.toggle(this.lockScreenClassName,e)}_getCoolOfStartMap(){return JSON.parse(localStorage.getItem("ssr-ui-lib:apptivation-promo-cooloff-start-timestamp-map"))||{}}_setCoolOfStart(e){this.cooloffStartTimestampMap[e]=Date.now(),localStorage.setItem("ssr-ui-lib:apptivation-promo-cooloff-start-timestamp-map",JSON.stringify(this.cooloffStartTimestampMap))}}const Nt="loader--absolute",Rt="loader--show",xt="loader--full-screen",Dt="no-scroll",Pt="loader-wrapper";class Mt{constructor(e){let{wrapperEl:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Loader el required");if(t&&!t.contains(e))throw new Error("Wrapper element is not a parent of the Loader el");this.el=e,this.wrapperEl=t,this.isAbsoluteVariant=this.wrapperEl&&this.el.classList.contains(Nt),window.addEventListener("pagehide",e=>{let{persisted:t}=e;t&&this.hide()})}show(){this.el.classList.add(Rt),this.el.classList.contains(xt)&&document.body.classList.add(Dt),this.isAbsoluteVariant&&this.wrapperEl.classList.add(Pt)}hide(){this.el.classList.remove(Rt),document.body.classList.remove(Dt),this.isAbsoluteVariant&&this.wrapperEl.classList.remove(Pt)}}const Ut="dismissable-input",Bt="dismissable-input--focus",Ft="dismissable-input__button",Ht="dismissable-input__button--show",jt="dismissable-input__input";class qt{constructor(e){this.el=e,this._input=this.el.querySelector(".".concat(jt)),this._dismissButtonEl=this.el.querySelector(".".concat(Ft)),this._isDismissable=!!this._dismissButtonEl,this._attachEventListeners()}_attachEventListeners(){this._input.addEventListener("focus",this._onInputFocus.bind(this)),this._input.addEventListener("input",this._updateDismissButton.bind(this)),this._input.addEventListener("blur",this._onInputBlur.bind(this)),this._isDismissable&&(this._dismissButtonEl.addEventListener("click",this.clear.bind(this)),this._updateDismissButton())}_onInputFocus(){this.el.classList.add(Bt),this._updateDismissButton(),W(this._input,"dismissableInputFocused")}_updateDismissButton(){this._isDismissable&&(this._input.value.length?(this._showDismissButton(),this._dismissButtonEl.disabled=!1):(this._hideDismissButton(),this._dismissButtonEl.disabled=!0))}_hideDismissButton(){this._dismissButtonEl.classList.remove(Ht)}_showDismissButton(){this._dismissButtonEl.classList.add(Ht)}_onInputBlur(){this.el.classList.remove(Bt)}clear(){this._input.value="",this._updateDismissButton(""),this._input.focus(),W(this.el,"clear")}}const zt={block:"typeahead-input",showList:"typeahead-input__dropdown--show",dropdown:"typeahead-input__dropdown",dropdownList:"typeahead-input__dropdown-list",dropdownText:"typeahead-input__dropdown-text",listItemFocus:"typeahead-input__dropdown-item--highlighted",listItem:"typeahead-input__dropdown-item",liveText:"typeahead-live-text",template:"typeahead-item-template"},Gt="i18n_aria_live_text_no-suggestions",Wt="i18n_aria_live_text_one-suggestion",Kt="i18n_aria_live_text_multiple-suggestions",Vt=500;class Yt{constructor(e,t){let{createDismissableInput:n,elementClasses:i=zt,generateApiUrl:o,liveTextEl:r,liveTextClearTime:s=Vt,onSelect:a,onInput:l=(()=>{}),inputEl:c,dropdownContainerEl:d,dropdownListEl:u}=t;this.el=e,this._liveTextClearTime=s,this._elementClasses=i,this._input=c||this.el.querySelector(".".concat(jt)),this._dropdownContainerEl=d||this.el.querySelector(".".concat(this._elementClasses.dropdown)),this._dropdownListEl=u||this.el.querySelector(".".concat(this._elementClasses.dropdownList)),this._listId=this._dropdownListEl.id,this._generateApiUrl=o,this._onSelect=a,this._onInput=l,this._typeaheadItemTemplate=this.el.querySelector(".".concat(this._elementClasses.template)),this._boundClickOutsideToCloseHandler=this._clickOutsideToCloseHandler.bind(this),this._liveTextEl=r||this.el.querySelector(".".concat(this._elementClasses.liveText)),n&&(this.dismissableInput=new qt(this.el)),this._getLiveTextOptions(),this._resetState(),this._attachEventListeners(),this._requestHandler=z(this._getAndApplyResults.bind(this),500)}_resetState(){this._dropdownListItemEls=[],this._setHighlightedEl(null),this._setExpandedState(!1)}_attachEventListeners(){this.checkForListItemSelectHandler=this._checkForListItemSelect.bind(this),this.hideListHandler=this._hideList.bind(this),this.onKeyDownHandler=this._onKeyDown.bind(this),this.onUserInputHandler=this._onUserInput.bind(this),this.onClearHandler=this._onClear.bind(this),this._input.addEventListener("keydown",this.onKeyDownHandler),this._input.addEventListener("input",this.onUserInputHandler),this._input.addEventListener("focus",this.onUserInputHandler),this._input.addEventListener("blur",this.hideListHandler),this._dropdownListEl.addEventListener("mousedown",this.checkForListItemSelectHandler),this._isDismissable&&this.el.addEventListener("clear",this.onClearHandler)}_removeEventListeners(){this._input.removeEventListener("keydown",this.onKeyDownHandler),this._input.removeEventListener("input",this.onUserInputHandler),this._input.removeEventListener("focus",this.onUserInputHandler),this._input.removeEventListener("blur",this.hideListHandler),this._dropdownListEl.addEventListener("mousedown",this.checkForListItemSelectHandler)}_isListActive(){return this._input.getAttribute("aria-owns")===this._listId&&Boolean(this._input.getAttribute("aria-expanded"))}_clickOutsideToCloseHandler(e){e.target!==this._input&&this._hideList()}_onKeyDown(e){if(!this._isListActive())return;switch(R(e.key)){case O.ARROW_DOWN:e.preventDefault(),this._moveToResult(1);break;case O.ARROW_UP:e.preventDefault(),this._moveToResult(-1);break;case O.ENTER:this._checkForListItemSelect(e)}}_moveToResult(e){if(0===this._dropdownListItemEls.length)return;const t=-1===e?-1:0;let n=null===this._highlighted.index?t:this._highlighted.index+e;n<0&&(n=this._dropdownListItemEls.length-1),n>=this._dropdownListItemEls.length&&(n=0),this._setHighlightedEl(n)}_setHighlightedEl(e){this._highlighted&&this._highlighted.el&&(this._highlighted.el.classList.remove(this._elementClasses.listItemFocus),this._highlighted.el.setAttribute("aria-selected",!1)),null===e?(this._highlighted={el:null,index:null},this._input.removeAttribute("aria-activedescendant")):(this._highlighted.el=this._dropdownListItemEls[e],this._highlighted.index=e,this._highlighted.el.setAttribute("aria-selected",!0),this._highlighted.el.classList.add(this._elementClasses.listItemFocus),this._input.setAttribute("aria-activedescendant",this._highlighted.el.id))}_isInputValid(){return this._input.value.length>0}_onUserInput(e){this._onInput(e),this._isInputValid()?this._requestHandler():this._hideList()}_getAndApplyResults(){if(this._isInputValid()){const e=this._input.value;this._makeTypeaheadRequest(e).then(e=>this._appendResults(e)).then(()=>this._showList())}}_makeTypeaheadRequest(e){return ne(this._generateApiUrl(e),{sendCookies:!1}).then(e=>e&&JSON.parse(e.responseText)||[])}_getItemEl(){return document.importNode(this._typeaheadItemTemplate.content,!0)}_appendResults(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this._hideList(),e.forEach((e,t)=>{const n=this._getItemEl(),i=n.querySelector(".".concat(this._elementClasses.listItem)),o=i.querySelector(".".concat(this._elementClasses.dropdownText));i.id="".concat(this._input.name,"-").concat(t+1),o.textContent=e.displayName,o.dataset.id=e.id,this._dropdownListEl.appendChild(n)}),this._dropdownListItemEls=U(this._dropdownListEl.children)}_shouldShowList(){return this._dropdownListItemEls.length>0&&this._isInputValid()}_showList(){this._shouldShowList()?(this._dropdownContainerEl.classList.add(this._elementClasses.showList),document.body.addEventListener("click",this._boundClickOutsideToCloseHandler),this._setExpandedState(!0)):(this._hideList(),this._setExpandedState(!1)),this._setLiveText()}_hideList(){if(this._isListActive()){for(;this._dropdownListEl.firstChild;)this._dropdownListEl.removeChild(this._dropdownListEl.firstChild);this._resetState(),this._dropdownContainerEl.classList.remove(this._elementClasses.showList),document.body.removeEventListener("click",this._boundClickOutsideToCloseHandler)}}_onClear(){this.hideListHandler()}_checkForListItemSelect(e){if(!this._isListActive())return;const t="mousedown"===e.type?e.target:this._highlighted.el;if(!t)return;e.preventDefault();const n=t.classList.contains(this._elementClasses.dropdownText)?t:t.querySelector(".".concat(this._elementClasses.dropdownText));n&&this.el.contains(n)&&this._updateInputTo(n,e)}_updateInputTo(e,t){this._input.value=e.textContent.trim(),this._input.focus(),"function"==typeof this._onSelect&&this._onSelect(e,t),this._hideList()}_getLiveTextOptions(){this._liveTextNoSuggestions=Le(Gt),this._liveTextOneSuggestion=Le(Wt),this._liveTextMultipleSuggestions=Le(Kt)}_getLiveText(){let e;switch((this._dropdownListItemEls||[]).length){case 0:e=this._liveTextNoSuggestions;break;case 1:e=this._liveTextOneSuggestion;break;default:e=this._liveTextMultipleSuggestions}return e}_setLiveText(){const e=this._getLiveText(),t=document.createElement("p");t.textContent=e,this._liveTextEl.children.length&&(this._liveTextEl.removeChild(this._liveTextEl.firstChild),clearTimeout(this._liveTextTimeout)),this._liveTextEl.appendChild(t),this._liveTextTimeout=setTimeout(()=>{this._liveTextEl.firstChild&&this._liveTextEl.removeChild(this._liveTextEl.firstChild)},this._liveTextClearTime)}_setExpandedState(e){this._input.setAttribute("aria-expanded",e),e&&(this._input.setAttribute("aria-owns",this._listId),this._input.setAttribute("aria-controls",this._listId))}}function Jt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return e.innerWidth<=769}class Xt{constructor(e,t,n){let{onCloseExpandedSearch:i=(e=>e),isMobileDevice:o=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.el=e,this.expandedEl=t,this.placeholderEl=n,this.isMobileDevice=o,!this.el)throw new Error("No element passed in to BaseSearchBar");this.isExpanded=!1,this.type=this.el.getAttribute("data-searchbar-type"),this.firstInput=this.el.querySelector("input:first-of-type"),this.isIOSDevice="iPhone"===navigator.platform||"iPad"===navigator.platform||"iPod"===navigator.platform,this.onCloseExpandedSearch=i,o&&(this.focusTrap=new ye(this.expandedEl))}showExpandedSearch(){this.isExpanded=!0,this.isMobileDevice&&(this.focusTrap.init(),this.placeholderEl.classList.add("hidden")),this.placeholderEl.classList.remove("show-on-mobile"),this.placeholderEl.classList.add("hide-on-mobile"),this.expandedEl.classList.add("isExpanded"),document.body.classList.add("no-scroll"),this.isIOSDevice&&(document.body.classList.add("fixed"),this.expandedEl.addEventListener("touchstart",this._onIOSTouchStartEvent)),document.addEventListener("keyup",this._onKeyUpEvent.bind(this)),this.firstInput.focus()}hideExpandedSearch(){this.firstInput.blur(),this.isExpanded=!1,this.isMobileDevice&&(this.focusTrap.tearDown(),this.placeholderEl.classList.remove("hidden")),this.expandedEl.classList.remove("isExpanded"),this.placeholderEl.classList.remove("hide-on-mobile"),this.placeholderEl.classList.add("show-on-mobile"),document.body.classList.remove("no-scroll"),this.isIOSDevice&&(document.body.classList.remove("fixed"),this.expandedEl.removeEventListener("touchstart",this._onIOSTouchStartEvent)),document.removeEventListener("keyup",this._onKeyUpEvent),this.placeholderEl.focus(),this.onCloseExpandedSearch()}_onKeyUpEvent(e){const{key:t,target:n}=e,i="Escape"===t,o="INPUT"===n.tagName;i&&!o?(e.preventDefault(),this.hideExpandedSearch()):"Tab"===t&&this._userIsTabbedOut()&&this.hideExpandedSearch()}_onIOSTouchStartEvent(e){const{target:t}=e;x(t,".".concat(zt.block))||document.activeElement.blur()}_userIsTabbedOut(){if(this.expandedEl.classList.contains("isExpanded")&&Jt()){return!this.expandedEl.contains(document.activeElement)}return!1}}class Zt extends Yt{constructor(e,t){let{generateApiUrl:n,liveTextEl:i,onSelect:o,onInput:r}=t;super(e,{createDismissableInput:!0,generateApiUrl:n,liveTextEl:i,onSelect:o,onInput:r})}}const Qt={clearButton:"recent-searches__clear-btn",dropdown:"recent-searches",dropdownList:"recent-searches__list",listItem:"recent-searches__item",listItemClearButton:"recent-searches__item--clear",listItemLink:"recent-searches__item-link",listItemFocus:"recent-searches__item--highlighted",showList:"recent-searches--show"},$t="i18n_aria_live_text_recent-searches-one-suggestion",en="i18n_aria_live_text_recent-searches-multiple-suggestions",tn="i18n_aria_live_text_recent-searches-cleared";class nn extends Yt{constructor(e,t){let{liveTextEl:n,clearRecentSearchApiBaseUrl:i}=t;if(super(e,{liveTextEl:n,elementClasses:Qt,liveTextClearTime:1e3}),!e)throw Error("An element must be provided to RecentSearches");if(this.dropdownContainerEl=e.querySelector(".".concat(Qt.dropdown)),!this.dropdownContainerEl)throw Error("A RecentSearches container element must be in the RecentSearches parent element");this._clearRecentSearchApiBaseUrl=i,this._dropdownListItemEls=U(this.dropdownContainerEl.querySelectorAll(".".concat(Qt.listItem))),this._clearBtnItem=e.querySelector(".".concat(Qt.listItemClearButton)),this._dropdownListItemEls.push(this._clearBtnItem),this._dismissButtonEl=e.querySelector(".".concat(Ft))}_attachEventListeners(){this._clearBtn=this.el.querySelector(".".concat(Qt.clearButton)),this._clearRecentSearchesHandler=this._clearRecentSearches.bind(this),this._clearBtn.addEventListener("mousedown",this._clearRecentSearchesHandler),super._attachEventListeners()}_removeEventListeners(){this._clearBtn.removeEventListener("mousedown",this._clearRecentSearchesHandler),super._removeEventListeners()}_onUserInput(){this._shouldShowList()?this._showList():this._hideList()}_redirect(e){e.click()}_clickOutsideToCloseHandler(e){e.target===this._input||this._dismissButtonEl.contains(e.target)||this._hideList()}_checkForListItemSelect(e){if(!this._isListActive())return;const t="mousedown"===e.type?e.target:this._highlighted.el;if(!t)return;e.preventDefault();const n=t.querySelector(".".concat(Qt.listItemLink));n?this._redirect(n):t.classList.contains(Qt.listItemLink)?this._redirect(t):t===this._clearBtnItem&&this._clearRecentSearches()}_shouldShowList(){return this._dropdownListItemEls.length>1&&0===this._input.value.length}_onClear(){this.onUserInputHandler()}_hideList(){this._isListActive()&&(this.dropdownContainerEl.classList.remove(Qt.showList),document.body.removeEventListener("click",this._boundClickOutsideToCloseHandler),this._setExpandedState(!1),this._setHighlightedEl(null))}_getLiveTextOptions(){this._liveTextOneSuggestion=Le($t),this._liveTextMultipleSuggestions=Le(en),this._liveTextClearedSuggestions=Le(tn)}_getLiveText(){let e;switch(this._informUserThatSearchesAreCleared?0:this._dropdownListItemEls.length){case 0:e=this._liveTextClearedSuggestions,this._informUserThatSearchesAreCleared=!1;break;case 2:e=this._liveTextOneSuggestion;break;default:e=this._liveTextMultipleSuggestions}return e}_clearRecentSearches(){ne(this._clearRecentSearchApiBaseUrl,{method:"DELETE"}).then(()=>{this._removeEventListeners(),this._informUserThatSearchesAreCleared=!0,super._hideList(),super._setLiveText()}).catch(e=>{throw e})}}const on="switcher-tabs__tab--active";class rn{constructor(e,t,n){this.el=e,this.mobileTriggerEl=n,this.baseSearchBarsMap=t,this.currentType=this.el.getAttribute("data-current-search-type"),this.switcherTriggerAndTabs=this.el.querySelector(".".concat("switcher-tabs__trigger-and-tabs")),this.switcherTabs=this.el.querySelector(".".concat("switcher-tabs")),this.dropdownList=this.el.querySelector(".".concat("switcher-tabs__list")),this.dropdownTrigger=this.el.querySelector(".".concat("switcher-tabs__placeholder")),this.dropdownPlaceholderText=this.el.querySelector(".".concat("switcher-tabs__placeholder-text")),this._handleSwitcherClick=this._handleSwitcherClick.bind(this),this._initMobileExpandedSwitcher(),this._initCollapsibleSwitcher()}_initMobileExpandedSwitcher(){this.el.addEventListener("click",this._handleSwitcherClick),this.mobileTriggerEl.addEventListener("click",e=>{e.preventDefault(),this.baseSearchBarsMap[this.currentType].showExpandedSearch()}),this.cancelBtn=this.el.querySelector(".".concat("switcher-tabs__cancel-btn")),this.cancelBtn.addEventListener("click",e=>{e.preventDefault(),this.baseSearchBarsMap[this.currentType].hideExpandedSearch()})}_initCollapsibleSwitcher(){this.collapsibleSwitcher=new te(this.switcherTriggerAndTabs,{dropdownContentEl:this.dropdownList,dropdownTriggerEl:this.dropdownTrigger}),this.switcherTriggerAndTabs.addEventListener("open",()=>this._openSwitcher()),this.switcherTriggerAndTabs.addEventListener("close",()=>this._closeSwitcher()),this._updatePlaceholderText()}_openSwitcher(){this.dropdownList.addEventListener("click",this._handleSwitcherClick),this.switcherTabs.classList.remove("hide-on-desktop"),this.switcherTabs.classList.add("show-on-desktop"),this.dropdownList.querySelector("button").focus()}_closeSwitcher(){this.dropdownList.removeEventListener("click",this._handleSwitcherClick),this.switcherTabs.classList.remove("show-on-desktop"),this.switcherTabs.classList.add("hide-on-desktop")}_handleSwitcherClick(e){if(!e.target.classList.contains("switcher-tabs__button")&&!e.target.classList.contains("switcher-tabs__tab"))return;const t=x(e.target,".".concat("switcher-tabs__tab")),n=t.querySelector(".".concat("switcher-tabs__button")).getAttribute("data-switcher-type");n&&t&&this.currentType!==n?(this.collapsibleSwitcher.collapsible.currentListItem=t,this._switchTo(n,t)):this.collapsibleSwitcher.collapsible.close()}_switchTo(e,t){this._updateActiveTab(t),this._updatePlaceholderText(),this.el.setAttribute("data-current-search-type",e),this.collapsibleSwitcher.collapsible.close(),this.baseSearchBarsMap[this.currentType].isExpanded?this.baseSearchBarsMap[e].showExpandedSearch():this.baseSearchBarsMap[e].hideExpandedSearch(),this.currentType=e}_updateActiveTab(e){const t=this.el.querySelector(".".concat(on));t&&(t.setAttribute("aria-selected","false"),t.classList.remove(on)),e.classList.contains("switcher-tabs__tab")&&(e.classList.add(on),e.setAttribute("aria-selected","true"))}_updatePlaceholderText(){let e=this.el.querySelector(".".concat(on));if(e){let t=e.querySelector(".".concat("switcher-tabs__button"));this.dropdownPlaceholderText.textContent=t.textContent}}}class sn{constructor(e){let{typeaheadApiBaseUrl:t,clearRecentSearchApiBaseUrl:n,shouldSearchOnSelect:i=!0,onCloseExpandedSearch:o,includeSwitcher:r=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.el=e,!this.el)throw new Error("No element passed into SearchBar");this.typeaheadApiBaseUrl=t;const s=this.el.querySelector(".".concat("search-bar__live-text"));this.shouldSearchOnSelect=i,this.placeholderEl=this.el.querySelector(".".concat("search-bar__placeholder"));const a=!!this.el.querySelector(".".concat("search-bar__mobile-wrapper"));if(this.baseSearchBarsMap=U(this.el.querySelectorAll(".".concat("base-search-bar"))).reduce((e,t)=>{const n=new Xt(t,this.el,this.placeholderEl,{onCloseExpandedSearch:o,isMobileDevice:a});return e[n.type]=n,e},{}),t){this.baseSearchBarFormEl=this.baseSearchBarsMap.JOBS.el.querySelector(".base-search-bar__form"),this.geoIdInputEl=this.el.querySelector('input[name="geoId"]');const e=this.el.querySelector(".keywords-typeahead-input");new Zt(e,{generateApiUrl:this._generateKeywordsTypeaheadApiUrl.bind(this),liveTextEl:s,onSelect:this._onKeywordsTypeaheadSelect.bind(this)});e.querySelector(".".concat(Qt.dropdown))&&new nn(e,{clearRecentSearchApiBaseUrl:n,liveTextEl:s}),new Zt(this.el.querySelector(".location-typeahead-input"),{generateApiUrl:this._generateLocationTypeaheadApiUrl.bind(this),liveTextEl:s,onSelect:this._onLocationTypeaheadSelect.bind(this),onInput:this._onLocationTypeaheadInput.bind(this)}),Array.from(this.el.querySelectorAll(".".concat(Ut,".search-input"))).forEach(e=>{new qt(e);e.querySelector(".".concat(Qt.dropdown))&&new nn(e,{clearRecentSearchApiBaseUrl:n,liveTextEl:s})})}else Array.from(this.el.querySelectorAll(".".concat(Ut))).forEach(e=>new qt(e));r&&(this.switcher=new rn(e,this.baseSearchBarsMap,this.placeholderEl)),this.setupSearchInputFocusTracking()}_generateKeywordsTypeaheadApiUrl(e){return"".concat(this.typeaheadApiBaseUrl,"?query=").concat(window.encodeURIComponent(e))}_generateLocationTypeaheadApiUrl(e){return"".concat(this.typeaheadApiBaseUrl,"?query=").concat(window.encodeURIComponent(e),"&typeaheadType=GEO&geoTypes=POPULATED_PLACE,ADMIN_DIVISION_2,MARKET_AREA,COUNTRY_REGION")}_onKeywordsTypeaheadSelect(){this.shouldSearchOnSelect&&this._submitForm()}_onLocationTypeaheadSelect(e){this.geoIdInputEl&&(this.geoIdInputEl.value=e.dataset.id),this.shouldSearchOnSelect&&this._submitForm()}_onLocationTypeaheadInput(){this.geoIdInputEl&&(this.geoIdInputEl.value="")}_submitForm(){this.baseSearchBarFormEl&&this.baseSearchBarFormEl.submit()}setupSearchInputFocusTracking(){this.el.addEventListener("dismissableInputFocused",e=>{const t=e.target.getAttribute("data-tracking-control-name");t&&window.tracking&&window.tracking.then(e=>{e.fireTrackingEvent("SearchInputFocusEvent",{header:{},controlUrn:"urn:li:control:".concat(k(document),"-").concat(t)})})})}}class an{constructor(e,t){let{isShown:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)throw Error("An element must be provided to the dismissable element");if(!t)throw Error("A dismiss button must be provided to the dismissable element");this.el=e,this.dismissBtn=t,this._dismissEvent=e=>this.dismiss(e),n&&this.show()}show(){this.el.classList.add("show"),this.el.classList.remove("dismiss"),this.dismissBtn.addEventListener("click",this._dismissEvent),W(this.el,"show")}dismiss(e){this.el.classList.remove("show"),this.el.classList.add("dismiss"),W(this.el,"dismiss",e),this.dismissBtn.removeEventListener("click",this._dismissEvent)}}function ln(){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!e||0===e.trim().length};return e.errorMessageSuffix="error_empty",e}function cn(e){const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.length<e};return t.errorMessageSuffix="error_too_short",t}function dn(e){const t=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.length>e};return t.errorMessageSuffix="error_too_long",t}const un={session_key:[ln(),cn(3),dn(128)],session_password:[ln(),cn(6),dn(400)]};function hn(e,t){const n=un[e];if(!n)throw new Error("No validation rules for element named ".concat(e));for(let e=0;e<n.length;e++)if(n[e](t))return n[e].errorMessageSuffix}var pn=window||i;const fn=/^((?!\.(stg|corp)).)*\.linkedin\.(com|cn)$/;function gn(){const e=pn.location?pn.location.hostname:"";return fn.test(e)}function mn(){return gn()?_n()?"platform.linkedin.cn":"platform.linkedin.com":_n()?"platform.linkedin-ei.cn":"platform.linkedin-ei.com"}function _n(){const e=pn.location?pn.location.hostname:"";return/\.cn$/.test(e)}function vn(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if("function"!=typeof t||"function"!=typeof n)throw new TypeError("One of the specified callbacks is not a function.");const o=new pn.XMLHttpRequest;o.withCredentials=i,o.open("GET",e,!0),o.onreadystatechange=function(){this.readyState===this.DONE&&(200===this.status&&"function"==typeof t?t(this.responseText):n(this))},o.send()}function En(e){return function(){let e=S();return!e||e.consent.optedInConsentMap.ADVERTISING}()&&function(e){return e["compliance.isGDPROptIn"]}(e)}function wn(e){return function(){let e=S();return!e||e.consent.optedInConsentMap.ANALYTICS_AND_RESEARCH}()}function bn(e){return function(){let e=S();return!e||e.consent.optedInConsentMap.FUNCTIONAL}()}function yn(e){for(let t=1;t<arguments.length;t++){const n=arguments[t];if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const o=t[i];e[o]=n[o]}}}return e}function Tn(e){const t=new pn.Date;t.setSeconds(0),t.setMilliseconds(0);const n=Math.floor(t.getMinutes()/e)*e;return t.setMinutes(n),t.getTime()}function Sn(){return/utagdb=[^;]+/.test(pn.document.cookie)}let kn;const An={},In={};function Ln(){return"https://".concat(gn()?_n()?"www.linkedin.cn":"www.linkedin.com":_n()?"www.linkedin-ei.cn":"www.linkedin-ei.com").concat("/litms/api/metadata/user")}function Cn(){return function(e){let t=yn({},e);return t["compliance.isAdvertisingOptIn"]=En(t),t["compliance.isAnalyticsAndResearchOptIn"]=wn(),t["compliance.isFunctionalOptIn"]=bn(),t}(An)}function On(e){if(!In[e]){const t=function(e){return"https://".concat(mn(),"/litms/allowlist/").concat(encodeURIComponent(e))}(e),n=new Promise((e,n)=>{vn(t,t=>{e(JSON.parse(t))},e=>{n(e)},!1)});In[e]=n}return In[e]}pn.utag_data||(pn.utag_data={});const Nn="undefined"!=typeof window&&window&&"node"!==window.appEnvironment;let Rn;function xn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=null;return"string"==typeof e&&(n="https://".concat(mn(),"/litms/utag/").concat(e,"/utag.js?cb=").concat(Tn(t))),n}function Dn(){return function(){if(void 0===Rn&&Nn){const e=pn.document.cookie.match(/litms_utag_override=([^;]+)/);Rn=e?e[1]:""}return Rn}().length>0}function Pn(e,t,n,i){e.onLoadRulesRunOnce(n);let o=yn({},t,Cn());e.view(o),Sn()&&pn.trackingEventDebugData.push({profileName:i,eventType:"PV",trackingData:o})}function Mn(e,t,n,i){e.onLoadRulesRunOnce(n);let o=yn({},t,Cn());e.link(o),Sn()&&pn.trackingEventDebugData.push({profileName:i,eventType:"CI",trackingData:o})}function Un(e,t,n){if(function(e){pn.utag=e}(e),t instanceof Array&&t.length>0){const i=t.length;for(let o=0;o<i;o++){const i=t.shift();i.isControlInteraction?Mn(e,i.data,i.callback,n):Pn(e,i.data,i.callback,n)}}}function Bn(e,t){!function(e){return"object"==typeof e&&"function"==typeof e.fireTrackingEvent}(e)?console.error("Unable to fire tracking event"):e.fireTrackingEvent(t.info.name,t.body)}function Fn(e,t){return"urn:li:externalMarketingTag:(".concat(function(e){const t=e.data["ut.profile"],n=e.cfg.v;return"urn:li:tagManagementSystemProfile:(".concat("tealium",",").concat(t,",").concat(n,")")}(e),",").concat(parseInt(t),")")}function Hn(e){const t=function(e){return Object.keys(e.loader.cfg).filter(t=>1===e.loader.cfg[t].send&&0!==e.loader.cfg[t].load)}(e).map(t=>function(e,t){return{tagUrn:Fn(e,t)}}(e,t));if(0!==t.length)return{info:{name:"ExternalMarketingTagFireEvent"},body:{header:{},requestHeader:{},tags:t}}}pn.utag_cfg_ovrd=pn.utag_cfg_ovrd||{},pn.trackingEventDebugData=pn.trackingEventDebugData||[],pn.utag_cfg_ovrd.noview=!0,pn.utag_cfg_ovrd.nocookie=!0;const jn=Nn&&new RegExp("bot|google|aolbuild|baidu|bing|msn|duckduckgo|teoma|slurp|yandex|sogou|facebook|alexa","i").test(pn.navigator.userAgent),qn={};let zn,Gn,Wn,Kn={};class Vn{constructor(){let{profileName:e,tracking2Instance:t,enableAllowlisting:n=!1,cacheBusterInterval:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isInitialized=!1,this.isAllowlistingEnabled=!1,this._allowlistReadyPromise=Promise.resolve({}),this.isContainerTagLoaded=!1,this._queue=[],this.allowlist={pageKey:{},controlUrn:{}},this.tracking2Instance=t,this.profileName=e,this.enableAllowlisting=n,this.cacheBusterInterval=i}initialize(){return this._shouldInitialize()?this.isInitialized?(console.warn("Initialize should not be called more that once"),this.initializePromise.then()):(this.isInitialized=!0,this.initializePromise=new Promise((e,t)=>{this.enableAllowlisting?(this.isAllowlistingEnabled=!0,this._onInitializeSuccessCallback=e,this._onInitializeFailureCallback=t,this._allowlistReadyPromise=On(this.profileName).then(e=>this._processAllowlistResult(e)).catch(e=>console.error("Unable to retrieve allowlists for profile : ".concat(this.profileName),e))):this._loadContainerTag(e,t)}),this.profileName&&(qn[this.profileName]=this),this.initializePromise):Promise.resolve()}_processAllowlistResult(e){Object.keys(e).forEach(t=>this.addValuesToAllowlist(t,e[t]))}_loadContainerTag(e,t){void 0!==pn.utag&&(pn.utag=void 0),void 0!==pn.utag_data&&(pn.utag_data=void 0);const n=function(){if(!kn){const e=Ln();kn=new Promise((t,n)=>{vn(e,e=>{try{t(JSON.parse(e))}catch(e){console.error("Invalid JSON format of userSettings"),n(e)}},e=>{n(e)})})}return kn}().then(e=>{Object.keys(e).forEach(t=>{!function(e,t){const n="string"!=typeof t?"":"".concat(t,".");"object"==typeof e&&Object.keys(e).forEach(t=>{An[n+t]=e[t]})}(e[t],t)})}).catch(e=>{console.error("Unable to get user settings while calling loading container tag",e)}),i=(o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main",t=arguments.length>1?arguments[1]:void 0;return Dn()?Rn:xn(e,t)}(this.profileName,this.cacheBusterInterval),new Promise(e=>{const t=pn.document.createElement("script");t.type="text/javascript",t.src=o,t.async=!0,t.onload=e,pn.document.getElementsByTagName("head")[0].appendChild(t)}));var o;Promise.all([n,i]).then(()=>{this.isContainerTagLoaded=!0,this._uTag=pn.utag,function(e){const t=[];e.onLoadRulesRunOnce=function(e){t.push(e)};const n=e.loader.initcfg;e.loader.initcfg=function(){if(n.call(this,arguments),t.length>0){t.shift()()}}}(this._uTag),this._processQueuedEvents();const t={info:{name:"TagManagementSystemLoadEvent"},body:{header:{},requestHeader:{}}};"object"==typeof this.tracking2Instance&&Bn(this.tracking2Instance,t),e(t)}).catch(e=>{console.error("Unable to complete loading container tag",e),t()})}_shouldInitialize(){return!jn}_shouldProcessEvent(e){return jn?Promise.resolve(!1):this.isAllowlistingEnabled?new Promise(t=>{this._allowlistReadyPromise.then(()=>{t(this._isEventAllowlisted(e))})}):Promise.resolve(!0)}_isEventAllowlisted(e){return void 0!==e.controlUrn?this._isEventAllowlistedByControlUrn(e):this._isEventAllowlistedByPageKey(e)}_isEventAllowlistedByPageKey(e){return void 0!==this.allowlist.pageKey[e.pageKey]}_isEventAllowlistedByControlUrn(e){return void 0!==this.allowlist.controlUrn[e.controlUrn]}addValuesToAllowlist(e,t){"string"==typeof e&&Array.isArray(t)&&void 0!==this.allowlist[e]&&t.forEach(t=>{this.allowlist[e][t]=!0})}_processQueuedEvents(){this.isContainerTagLoaded?Un(this._uTag,this._queue,this.profileName):this.isInitialized&&this.isAllowlistingEnabled&&this._loadContainerTag(this._onInitializeSuccessCallback,this._onInitializeFailureCallback)}_fireAuditEvent(){const e=Hn(this._uTag);return void 0!==this.tracking2Instance&&void 0!==e&&Bn(this.tracking2Instance,e),e}_createCallbackForAuditEvent(e){const t=this;return function(){const n=t._fireAuditEvent();"function"==typeof e&&e(n)}}_checkForCookieConsent(){S().consent.consentAvailable&&!Gn?this._refireTracking():zn=setTimeout(()=>{this._checkForCookieConsent()},2e3)}_refireTracking(){Kn.payloads&&Kn.payloads.forEach(e=>{const{data:t,callback:n}=e;t.cookieConsentGiven=!0,this.trackPageView(t,n)})}_savePayloadForRefire(e,t){if(Nn){Gn=!1;const{payloads:n=[],url:i}=Kn,o=location.href,r={data:e,callback:t},s=o!==i?[]:n;s.push(r),Kn={url:o,payloads:s},zn||(zn=setTimeout(()=>{this._checkForCookieConsent()},2e3))}}trackPageView(e,t){return S().consent.consentAvailable||this._savePayloadForRefire(e,t),this._shouldProcessEvent(e).then(n=>{n&&(this._queue.push({isControlInteraction:!1,data:e,callback:this._createCallbackForAuditEvent(t)}),this._processQueuedEvents())})}trackControlInteraction(e,t){return this._shouldProcessEvent(e).then(n=>{n&&(this._queue.push({isControlInteraction:!0,data:e,callback:this._createCallbackForAuditEvent(t)}),this._processQueuedEvents())})}}function Yn(e){let{event:t,litmsInstance:n,pageKey:i}=e;const o=t.target.getAttribute("data-tracking-control-name"),r=t.target.hasAttribute("data-tracking-litms");o&&r&&n.trackControlInteraction({controlUrn:"urn:li:control:".concat(i,"-").concat(o)})}class Jn{constructor(e){if(this.trackingInstance=e,this.pageKey=k(document),this.litmsProfileName=function(e){const t=e.querySelector('meta[name="litmsProfileName"]');return t?t.content:""}(document),!this.litmsProfileName)throw Error('Page missing "litmsProfileName" meta tag.');this.litmsInstance=new Vn({tracking2Instance:this.trackingInstance,profileName:this.litmsProfileName}),this.litmsInstance.initialize(),this.clickEventListener=e=>Yn({event:e,litmsInstance:this.litmsInstance,pageKey:this.pageKey}),this.keydownEventListener=e=>{"Enter"!==e.key&&" "!==e.key&&"Spacebar"!==e.key||Yn({event:e,litmsInstance:this.litmsInstance,pageKey:this.pageKey})},document.body.addEventListener("click",this.clickEventListener,!0),document.body.addEventListener("keydown",this.keydownEventListener,!0)}trackPageView(){let{pageKey:e=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!("string"==typeof e||e instanceof String))throw new Error("The pageKey is not a string!");this.litmsInstance&&this.litmsInstance.trackPageView({pageKey:e||this.pageKey})}}const Xn='[data-js-module-id="guest-input"]';class Zn{constructor(e){let{customValidate:t,fireTrackingOnInit:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw Error("An element must be provided to sign in form");this.el=e,this._customValidate=t,this._fireTrackingOnInit=n,this.showText=Le("i18n_sign_in_form_show_text"),this.showLabelText=Le("i18n_sign_in_form_show_label"),this.hideText=Le("i18n_sign_in_form_hide_text"),this.hideLabelText=Le("i18n_sign_in_form_hide_label"),this.usernameEl=this.el.querySelector("input[name=".concat("session_key","]")),this.passwordEl=this.el.querySelector("input[name=".concat("session_password","]")),this.usernameElId=this.usernameEl.id,this.passwordElId=this.passwordEl.id,this.usernameMsgEl=this.el.querySelector("".concat('[data-js-module-id="guest-input__message"]','[for="').concat(this.usernameElId,'"]')),this.passwordMsgEl=this.el.querySelector("".concat('[data-js-module-id="guest-input__message"]','[for="').concat(this.passwordElId,'"]')),this.sessionRedirectEl=this.el.querySelector("input[name=".concat("session_redirect","]")),this.passwordVisibilityToggle=this.el.querySelector("".concat('[data-id="sign-in-form__password-visibility-toggle"]')),this.anonymousLoginToggleInput=this.el.querySelector('[data-id="anonymous-login-toggle"] input'),this.passwordVisibilityToggle.addEventListener("click",this._togglePasswordVisibility.bind(this)),this.el.addEventListener("submit",e=>{if(e.preventDefault(),!this._validate()){if(this._customValidate)return this._customValidate(this.el);if(this.anonymousLoginToggleInput&&this.anonymousLoginToggleInput.checked){const e=this.sessionRedirectEl.value,t=q("/public-profile/settings/anonymousLogin","csrfToken",C(G("JSESSIONID")));this.sessionRedirectEl.value=q(t,"originalSessionRedirect",e),localStorage.setItem("voyager-web:anonymous-login",Date.now())}this.el.submit()}}),window.tracking&&window.tracking.then(e=>{const t=k(document).replace("_jsbeacon",""),n=t+"_login-form",i=this.el.querySelector('[data-id="sign-in-form__submit-btn"]'),o="".concat(t,"-").concat(i.dataset.trackingControlName),r=ue(e),s=this._createHiddenInputElement("pageInstance",r),a=this._createHiddenInputElement("controlId",o);this.el.appendChild(a),this.el.appendChild(s),this._fireTrackingOnInit&&this.fireTracking(e,n)})}fireTracking(e,t){ce(e,"ajax",t),function(e){if(!Wn){if(!e)throw new Error("No trackingInstance passed in!");Wn=new Jn(e)}return Wn}(e).trackPageView({pageKey:t})}setUsernameInputValue(e){this.usernameEl.value=e}resetFormState(){this.usernameEl.value="",this.passwordEl.value="","text"===this.passwordEl.getAttribute("type")&&this._togglePasswordVisibility()}_createHiddenInputElement(e,t){const n=document.createElement("input");return n.setAttribute("type","hidden"),n.setAttribute("name",e),n.setAttribute("value",t),n}_togglePasswordVisibility(){"password"===this.passwordEl.getAttribute("type")?(this.passwordEl.setAttribute("type","text"),this.passwordVisibilityToggle.innerText=this.hideText,this.passwordVisibilityToggle.setAttribute("aria-label",this.hideLabelText)):(this.passwordEl.setAttribute("type","password"),this.passwordVisibilityToggle.innerText=this.showText,this.passwordVisibilityToggle.setAttribute("aria-label",this.showLabelText))}_validate(){const e=hn(this.usernameEl.name,this.usernameEl.value);if(e){this.usernameEl.closest(Xn).classList.add("input-error"),this.usernameMsgEl.classList.remove("hidden");const t="".concat("i18n_username","_").concat(e);return this.usernameMsgEl.innerText=Le(t),this.usernameEl.focus(),!0}this.usernameEl.closest(Xn).classList.remove("input-error"),this.usernameMsgEl.classList.add("hidden");const t=hn(this.passwordEl.name,this.passwordEl.value);if(t){this.passwordEl.closest(Xn).classList.add("input-error"),this.passwordMsgEl.classList.remove("hidden");const e="".concat("i18n_password","_").concat(t);return this.passwordMsgEl.innerText=Le(e),this.passwordEl.focus(),!0}this.passwordEl.closest(Xn).classList.remove("input-error"),this.passwordMsgEl.classList.add("hidden")}}!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),function(){if("function"==typeof window.EventTarget)try{return!new e}catch(e){}const e=function(){this.listeners={}};e.prototype.listeners=null,e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var n=this.listeners[e],i=0,o=n.length;i<o;i++)if(n[i]===t)return void n.splice(i,1)},e.prototype.dispatchEvent=function(e){if(!(e.type in this.listeners))return!0;for(var t=this.listeners[e.type].slice(),n=0,i=t.length;n<i;n++)t[n].call(this,e);return!e.defaultPrevented},window.EventTarget=e}();const Qn="990339570472-k6nqn1tpmitg8pui82bfaun3jrpmiuhs.apps.googleusercontent.com",$n={GOOGLE_ERROR:"googleError",GOOGLE_USER_FETCHED:"googleUserFetched",INITIALIZED:"initialized",PROMPT_MOMENT:"promptMomentNotification",TOKEN_FETCHED:"tokenFetched"},ei={INITIALIZATION:"initialization",AUTHENTICATION:"authentication"},{GOOGLE_ERROR:ti,GOOGLE_USER_FETCHED:ni,INITIALIZED:ii}=$n,{INITIALIZATION:oi,AUTHENTICATION:ri}=ei;class si extends EventTarget{constructor(e){let{libSrcPath:t,el:n,clientId:i=Qn}=e;if(super(),!n)throw TypeError("DOM element for Sign In button is required");if(this.libSrcPath=t,this.el=n,this.clientId=i,window.gapi)this._initializeGoogleAuth();else{if(!t)throw TypeError("Google Sign In lib not already loaded on the page. libSrcPath is required to load the lib.");o=()=>{!function(e,t){const n=document.createElement("script");n.src=e,t&&(n.onload=t),document.head.appendChild(n)}(t,this._initializeGoogleAuth.bind(this))},"complete"===document.readyState?o():window.addEventListener("load",()=>{o()})}var o}_initializeGoogleAuth(){return gapi.auth2.init({client_id:this.clientId}).then(e=>{this.auth2=e,this._attachSignIn();const t=new CustomEvent(ii);this.dispatchEvent(t)}).catch(e=>{const t={type:oi,message:e.error},n=new CustomEvent(ti,{detail:t});this.dispatchEvent(n)})}_attachSignIn(){this.auth2.attachClickHandler(this.el,{},e=>{const t=new CustomEvent(ni,{detail:this._getGoogleUserInformation(e)});this.dispatchEvent(t)},e=>{const t={type:ri,message:e.error},n=new CustomEvent(ti,{detail:t});this.dispatchEvent(n)})}_getGoogleUserInformation(e){const t=e.getBasicProfile(),n=e.getAuthResponse().id_token;return{email:t.getEmail(),familyName:t.getFamilyName(),givenName:t.getGivenName(),id:t.getId(),idToken:n,imageUrl:t.getImageUrl()}}}const ai=$n,li=ei,{GOOGLE_USER_FETCHED:ci,GOOGLE_ERROR:di,INITIALIZED:ui}=ai,{INITIALIZATION:hi}=li;class pi{constructor(e){let{initSuccess:t,initFailure:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw Error("Google sign in cta container/wrapper element must be provided");this.el=e,this.btnEl=this.el.querySelector(".google-sign-in-cta-widget__btn"),this.initSuccess=t,this.initFailure=n,this.loaderEl=this.el.querySelector(".loader"),this.loader=this.loaderEl&&new Mt(this.loaderEl),window.tracking&&window.tracking.then(e=>{const t=k(document).replace("_jsbeacon",""),n="".concat(t,"-").concat(this.btnEl.dataset.trackingControlName),i=ue(e),o=this._createHiddenInputElement("pageInstance",i),r=this._createHiddenInputElement("controlId",n);this.el.appendChild(r),this.el.appendChild(o)}),this.googleSignInPromise=this._createGoogleSignIn()}_createGoogleSignIn(){return window.lazyloader.then(e=>e.getLazyLoadedJavascriptModule("google-sign-in-lib")).then(()=>(this.googleSignInInstance=new si({el:this.btnEl}),this.initSuccess&&"function"==typeof this.initSuccess&&this.googleSignInInstance.addEventListener(ui,this.initSuccess),this.googleSignInInstance.addEventListener(ci,e=>{const{idToken:t}=e.detail;this._submitWithGoogle(t)}),this.googleSignInInstance.addEventListener(di,e=>{const{type:t,message:n}=e.detail,i="google-sign-in-error--".concat(t,"-").concat(n);this._fireControlInteractionEvent(i),this.initFailure&&"function"==typeof this.initFailure&&t===hi&&this.initFailure()}),this.googleSignInInstance))}_fireControlInteractionEvent(e){window.tracking.then(t=>{t.fireControlInteractionEvent(e)})}_submitWithGoogle(e){this.googleIdTokenInput&&this.el.removeChild(this.googleIdTokenInput),this.googleIdTokenInput=this._createHiddenInputElement("googleIdToken",e),this.loader&&this.loader.show(),this.el.submit()}_createHiddenInputElement(e,t){const n=document.createElement("input");return n.setAttribute("type","hidden"),n.setAttribute("name",e),n.setAttribute("value",t),this.el.appendChild(n),n}}const fi=30;class gi{constructor(e){let{daysCoolOff:t=fi,dismissOnOutsideClick:n=!0,dismissOnScroll:i=!1,dismissBtnEl:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw Error("An element must be provided to sign in card");this.el=e,this.coolOffPeriod=24*t*60*60*1e3,this.dismissBtn=o||this.el.querySelector("".concat('[data-id="sign-in-card__dismiss-btn"]')),this._dismissEvent=e=>this._dismiss(e),this._interactionEvent=e=>this._interactionListener(e);if(window.innerWidth<769||(this.dismissOnOutsideClick=n,this.dismissOnScroll=i),!this._hideCard()){this.dismissable=new an(this.el,this.dismissBtn,{isShown:!1});const e=this.el.querySelector('[data-id="sign-in-form"]');e&&new Zn(e);const t=this.el.querySelector(".google-sign-in-cta-widget");t?new pi(t,{initSuccess:this.dismissable.show.bind(this.dismissable),initFailure:this._onGoogleSignInInitFailure.bind(this)}):this.dismissable.show(),this._addEventListeners()}}_onGoogleSignInInitFailure(){const e=this.el.querySelector(".google-sign-in-cta-widget"),t=this.el.querySelector(".cta-modal__google-sign-in-container");t?this.el.removeChild(t):this.el.removeChild(e);this.el.querySelectorAll("[class*=".concat("--full-width","]")).forEach(e=>{e.className=e.className.replace("--full-width","")}),this.dismissable.show()}_addEventListeners(){this.el.addEventListener("dismiss",this._dismissEvent),this.dismissOnOutsideClick&&document.body.addEventListener("click",this._interactionEvent),this.dismissOnScroll&&window.addEventListener("scroll",this._interactionEvent)}_dismiss(e){this._hardDismissal(e)&&this._setCoolOff(e),this._removeEventListeners()}_removeEventListeners(){this.el.removeEventListener("dismiss",this._dismissEvent),this.dismissOnOutsideClick&&document.body.removeEventListener("click",this._interactionEvent),this.dismissOnScroll&&window.removeEventListener("scroll",this._interactionEvent)}_interactionListener(e){this.el.contains(e.target)||this.dismissable.dismiss()}_setCoolOff(){try{localStorage.setItem("sign-in-hidden",Date.now())}catch(e){return""}}_hideCard(){try{const e=localStorage.getItem("sign-in-hidden");if(e){return Date.now()-e<this.coolOffPeriod||(localStorage.removeItem("sign-in-hidden"),!1)}}catch(e){return!1}}_hardDismissal(e){return e.detail&&this.dismissBtn.contains(e.detail.target)}}const mi={observeComponents:()=>{},unobserveComponents:()=>{},handleDynamicElements:()=>{}};class _i{constructor(e,t){let{threshold:n=.9,root:i=null,rootMargin:o="0px",componentList:r=[],impressionEventCallback:s=(()=>{}),onImpression:a=(()=>{}),onObservation:l=(()=>{}),onUnobservation:c=(()=>{})}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("IntersectionObserver"in window))return mi;this.root=i,this.threshold=n,this.rootMargin=o,this.trackingInstance=t,this.impressionEventCallback=s,this._onImpression=a,this._onObservation=l,this._onUnobservation=c;const d={root:this.root,rootMargin:this.rootMargin,threshold:this.threshold};this.intersectionObserverInstance=new e(this._handleObservedNodes.bind(this),d),this.observeComponents(r)}observeComponents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.intersectionObserverInstance&&e.forEach(e=>{this.intersectionObserverInstance.observe(e),this._onObservation(e)})}unobserveComponents(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach(e=>{this.intersectionObserverInstance.unobserve(e),this._onUnobservation(e)})}_isNodeVisible(e){return e.intersectionRatio>=this.threshold}_handleObservedNodes(e){if(this.intersectionObserverInstance){const t=e.filter(e=>this._isNodeVisible(e)).map(e=>{let{target:t}=e;return t});t.length>0&&(this._onImpression({trackingInstance:this.trackingInstance,visibleElements:t}),this.impressionEventCallback({trackingInstance:this.trackingInstance,queuedImpressions:t}),this.unobserveComponents(t))}}handleDynamicElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.intersectionObserverInstance&&e.length>0&&this.observeComponents(e)}}class vi{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._impressionTracking=new _i(e,t,ge({componentList:this._componentList,onImpression:this._onImpression.bind(this)},n))}get _componentList(){return[...document.querySelectorAll(".main-job-card, .aside-job-card")]}_onImpression(e){let{trackingInstance:t,visibleElements:n}=e;const i=n.filter(e=>{const{entityUrn:t,referenceId:n,trackingId:i}=e.dataset;return Boolean(t&&n&&i)}).map(e=>{const{entityUrn:t,referenceId:n,trackingId:i}=e.dataset;return{jobPostingUrn:t,referenceId:n,trackingId:i}});i.length>0&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(0===t.length)return;const n=k(document),{header:i,requestHeader:o}=de(n),{referenceId:r}=t[0],s=t.map((function(){let{jobPostingUrn:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e})),a=t.map((function(){let{jobPostingUrn:e,trackingId:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{objectUrn:e,trackingId:t}})),l={header:i,requestHeader:o,referenceId:r,jobPostingUrns:s,impressedJobPostings:a};e.fireTrackingEvent("JobViewportImpressionEvent",l)}(t,i)}handleDynamicElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this._impressionTracking.handleDynamicElements(e)}}const Ei=".".concat("show-more-less","__list"),wi=".".concat("show-more-less","__more-button"),bi=".".concat("show-more-less","__less-button"),yi="".concat("show-more-less","__list--hide-after"),Ti="".concat("show-more-less","__button--hide");class Si{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e.querySelector(X);if(!e)throw Error("An element must be provided to ShowMoreLess");this.el=e,this.listEl=this.el.querySelector(Ei),this._getFocusItemFromListItem=t,this.maxNumToShow=parseInt(this.listEl.getAttribute("data-max-num-to-show")),this.hideClass="".concat(yi,"-").concat(this.maxNumToShow),this.showMoreButton=this.el.querySelector(wi),this.showLessButton=this.el.querySelector(bi),this._attachEventListeners(),this.firstHiddenListItem=this.listEl.children[this.maxNumToShow],this.isExpanded=!this.listEl.classList.contains(this.hideClass),new J(e,this.listEl,{mainButton:this.showMoreButton,closeButton:this.showLessButton},{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{target:t}=e;if(t){let e=this._getFocusItemFromListItem(t);e&&e.focus()}}_showElements(){this.listEl.classList.remove(this.hideClass),this._toggleButtons(!1),this._focusItem({target:this.firstHiddenListItem})}_hideElements(){this.listEl.classList.add(this.hideClass),this._toggleButtons(!0)}_toggleButtons(e){e?(this.showLessButton.classList.add(Ti),this.showMoreButton.classList.remove(Ti)):(this.showLessButton.classList.remove(Ti),this.showMoreButton.classList.add(Ti))}}".".concat("accordion-item__trigger");class ki{constructor(e){if(!e)throw new Error("EllipsisMenu el required");this._el=e,this.currentMenuItem=this._el.querySelector(".ellipsis-menu__item-button");const t=this._el.querySelector(".collapsible-dropdown");if(!t)throw new Error("A collapsible dropdown is required to instantiate an EllipsisMenu");this.collapsibleDropdown=new te(t,{elementToFocus:this.currentMenuItem})}}var Ai;!function(e){e.ProductName="productName",e.UntrackedResponseCodes="untrackedResponseCodes",e.TrackedResponseCodes="trackedResponseCodes",e.ClientSensorGroupName="clientSensorGroupName"}(Ai||(Ai={}));new Set(Object.values(Ai));Error;var Ii;!function(e){e.ProductName="productName",e.CustomTrackingId="customTrackingId",e.ClientSensorGroupName="clientSensorGroupName",e.AdditionalDegradedResponseCodes="additionalDegradedResponseCodes",e.NonDegradedResponseCodes="nonDegradedResponseCodes",e.DegradationKeyOverrides="degradationKeyOverrides"}(Ii||(Ii={})),new Set(Object.values(Ii));var Li="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",Ci=function(){if("undefined"==typeof document)return!0;return"textContent"in document.createElement("div")}()?"textContent":"innerText",Oi=["b","del","em","i","s","strong","sub","sup"],Ni=Oi.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"]),Ri=[Li,"alt|checked|selected|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("|");function xi(){}var Di,Pi;Pi=/[&<>"'\u0000\\=]/g,Di={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(){var e,t,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)")};e=document.createElement("div");var i={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};t="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"}}();var Mi=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};var Ui,Bi=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var n=0,i=e.length;n<i;n++)t(e[n],n)};function Fi(e){e=Mi(e)?e:[e];var t,n,i,o=0,r="<(?!/?";return r+="(?:",Bi(e,(function(e,s){t=e.tags||Ni,n=e.attrs||Ri,i=e.checkUrlAttrs||!1,0!==s&&(r+="|"),r+="(?:"+t.join("|")+")",r+="(?:",r+="[ \t\r\n]*",r+="|[ \t\r\n]+",r+="(?:(?:",r+="(?:"+n+")(?:=([\"'])[^'\"<>]*\\"+ ++o+")?",i&&(r+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++o),r+=")[ \t\r\n]*)+",r+=")"})),r+=")",r+="/?>)",new RegExp(r,"i")}function Hi(e){return Fi({tags:e=e||Ni,checkUrlAttrs:!0})}function ji(e,t){var n=(t=t||{}).allowTags,i=!1!==t.hasCustomElementMarkup;return n?!Hi(n).test(e):i?!ji.R_UNSAFE_CUSTOM_ELEMENT.test(e):!ji.R_UNSAFE_HTML.test(e)}function qi(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}ji.R_UNSAFE_HTML=Hi(),ji.R_UNSAFE_CUSTOM_ELEMENT=Fi([{tags:Ni,checkUrlAttrs:!0},{tags:[(Ui={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[Li,Ui.attrs].join("|"),checkUrlAttrs:!1}]);var zi={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,"",""]};zi.optgroup=zi.option,zi.tbody=zi.tfoot=zi.colgroup=zi.caption=zi.thead,zi.th=zi.td;function Gi(e,t){if(!(this instanceof Gi))return new Gi(e,t);(t=t||{}).allowTags=t.allowTags?t.allowTags.reduce((function(e,t){return e.concat(t)}),[]):null,this._string=e,this._options=t}Gi.prototype=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(new xi,{toString:function(){var e=this._string,t=this._stringVal,n=e;return void 0!==t?t:(ji(e,this._options)||(n=e,e=qi(e),pe("UnsafeString contains non-whitelisted tags or attributes.\nString: "+n,"error")),this._stringVal=e,e)}});".".concat("filter-values-container__filter-value"," input"),".".concat("filter-values-container__filter-value"," input[type=radio]:checked");class Wi{constructor(e,t){if(!e)throw new Error("Linkster el required");this._el=e,this._trackingInstance=t,this._entityId=e.dataset.entityId,this._moduleName=e.dataset.moduleName,this._crossLinks=this._getCrossLinks(),this._crossLinks.length&&this.fireLinksterImpressionEvent(this._crossLinks)}_getCrossLinks(){return[...this._el.querySelectorAll('[data-js-module-id="link-column-link"]')].map(e=>({url:V(e.getAttribute("href"))}))}fireLinksterImpressionEvent(e){this._trackingInstance.fireLinksterImpressionEvent&&this._trackingInstance.fireLinksterImpressionEvent(this._moduleName,this._entityId,e)}}class Ki{constructor(e,t){if(!e)throw new Error("ExpandableLinkster el required");this._showMoreLessEl=e.querySelector(".show-more-less"),new Si(this._showMoreLessEl),this._linksterForTrackingEl=e.querySelector('[data-js-module-id="linkster"][data-entity-id][data-module-name]'),this._linksterForTrackingEl&&t&&new Wi(this._linksterForTrackingEl,t)}}function Vi(e){return t=>t.type&&t.type.toLowerCase()===e.toLowerCase()}Vi("action"),Vi("openpage"),Vi("openlink");function Yi(e,t){const n=U(e);for(let e=0;e<n.length;e++)n[e]&&1===n[e].nodeType&&t(n[e])}function Ji(e){Zi([e])}function Xi(e){Qi([e])}function Zi(e){Yi(e,e=>{e.classList.add("hidden"),e.setAttribute("aria-hidden","true")})}function Qi(e){Yi(e,e=>{e.classList.remove("hidden"),e.setAttribute("aria-hidden","false")})}function $i(){const e=document.querySelector('meta[name="pillar"]');return e?e.getAttribute("content"):""}class eo{constructor(){let{badgeSel:e="[data-badge-without-count-source]",badgeCountSel:t="[data-badge-source]",cacheBustHrefSel:n='[data-update-cache-bust-url="true"]'}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._counts={},this.badgeCountEls=document.querySelectorAll(t),this.badgeWithoutCountEls=document.querySelectorAll(e),this.cacheBustHrefEls=document.querySelectorAll(n),this.feedLastUpdatedTimeInDom=Le("feedLastUpdatedTime")}resetBadges(){Zi(this.badgeCountEls),Zi(this.badgeWithoutCountEls)}getBadges(){const e=this.feedLastUpdatedTimeInDom||"";return ne(e?q("/mwlite/badge-counts","feedQueryAfterTime",e):"/mwlite/badge-counts").then(t=>{const n=JSON.parse(t.responseText);W(window,"badgesreceived",{feedsCount:n.feedsCount}),this._counts=n;const i=$i();return"messaging"===i&&(this._counts.messagingCount=0),"feed"===i||e||(this._counts.feedsCount=2),this._counts.feedsCount=this._counts.feedsCount>=2?1:0,this._counts.lastUpdatedAt=(new Date).getTime(),this._updateCacheBustUrl(this._counts.feedsCount>0),this._renderBadges(),this}).catch(()=>{W(window,"badgesreceived",{feedsCount:0})})}_renderBadges(){this.badgeCountEls.forEach(e=>{this._setBadgeCount(e,this._counts[e.dataset.badgeSource])}),this.badgeWithoutCountEls.forEach(e=>{this._setBadge(e,this._counts[e.dataset.badgeWithoutCountSource])})}_setBadgeCount(e,t){if(!e)return;const n=e.innerHTML;null==n&&t>0?(e.textContent=t,Xi(e)):t!==n&&(t>0?(e.textContent=t,Xi(e),e.classList.toggle("singular",t<=1)):Ji(e))}_setBadge(e,t){e&&(t>0?(Xi(e),e.classList.add("badge-with-no-count")):Ji(e))}_updateCacheBustUrl(e){Le("isSWCacheEnabled")&&this.cacheBustHrefEls&&this.cacheBustHrefEls.forEach(t=>{t.href=It(e?q(t.href,"pwa","noCache"):V(t.href))})}}!function(){let e}()}).call(this,n(3).Buffer,n(2))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(e){var i=n(6),o=n(7),r=n(8);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return c(this,e,t,n)}function c(e,t,n,i){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=h(e,t);return e}(e,t,n,i):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|f(t,n),o=(e=a(e,i)).write(t,n);o!==i&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(i=t.length)!=i?a(e,0):h(e,t);if("Buffer"===t.type&&r(t.data))return h(e,t.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t){if(d(t),e=a(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function h(e,t){var n=t.length<0?0:0|p(t.length);e=a(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function p(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(i)return H(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return I(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function m(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function _(e,t,n,i,o){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,i,o){var r,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var d=-1;for(r=n;r<a;r++)if(c(e,r)===c(t,-1===d?0:r-d)){if(-1===d&&(d=r),r-d+1===l)return d*s}else-1!==d&&(r-=r-d),d=-1}else for(n+l>a&&(n=a-l),r=n;r>=0;r--){for(var u=!0,h=0;h<l;h++)if(c(e,r+h)!==c(t,h)){u=!1;break}if(u)return r}return-1}function E(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i))>o&&(i=o):i=o;var r=t.length;if(r%2!=0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var s=0;s<i;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function w(e,t,n,i){return q(H(t,e.length-n),e,n,i)}function b(e,t,n,i){return q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function y(e,t,n,i){return b(e,t,n,i)}function T(e,t,n,i){return q(j(t),e,n,i)}function S(e,t,n,i){return q(function(e,t){for(var n,i,o,r=[],s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),i=n>>8,o=n%256,r.push(o),r.push(i);return r}(t,e.length-n),e,n,i)}function k(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var i=[],o=t;o<n;){var r,s,a,l,c=e[o],d=null,u=c>239?4:c>223?3:c>191?2:1;if(o+u<=n)switch(u){case 1:c<128&&(d=c);break;case 2:128==(192&(r=e[o+1]))&&(l=(31&c)<<6|63&r)>127&&(d=l);break;case 3:r=e[o+1],s=e[o+2],128==(192&r)&&128==(192&s)&&(l=(15&c)<<12|(63&r)<<6|63&s)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:r=e[o+1],s=e[o+2],a=e[o+3],128==(192&r)&&128==(192&s)&&128==(192&a)&&(l=(15&c)<<18|(63&r)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(d=l)}null===d?(d=65533,u=1):d>65535&&(d-=65536,i.push(d>>>10&1023|55296),d=56320|1023&d),i.push(d),o+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return n}(i)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,i){return d(t),t<=0?a(e,t):void 0!==n?"string"==typeof i?a(e,t).fill(n,i):a(e,t).fill(n):a(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return u(null,e)},l.allocUnsafeSlow=function(e){return u(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,o=0,r=Math.min(n,i);o<r;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!r(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?A(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,i,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var r=(o>>>=0)-(i>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(r,s),c=this.slice(i,o),d=e.slice(t,n),u=0;u<a;++u)if(c[u]!==d[u]){r=c[u],s=d[u];break}return r<s?-1:s<r?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return _(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return _(this,e,t,n,!1)},l.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}function L(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}function C(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var o="",r=t;r<n;++r)o+=F(e[r]);return o}function O(e,t,n){for(var i=e.slice(t,n),o="",r=0;r<i.length;r+=2)o+=String.fromCharCode(i[r]+256*i[r+1]);return o}function N(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,i,o,r){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<r)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function x(e,t,n,i){t<0&&(t=65535+t+1);for(var o=0,r=Math.min(e.length-n,2);o<r;++o)e[n+o]=(t&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function D(e,t,n,i){t<0&&(t=4294967295+t+1);for(var o=0,r=Math.min(e.length-n,4);o<r;++o)e[n+o]=t>>>8*(i?o:3-o)&255}function P(e,t,n,i,o,r){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,i,r){return r||P(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function U(e,t,n,i,r){return r||P(e,0,n,8),o.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;n=new l(o,void 0);for(var r=0;r<o;++r)n[r]=this[r+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var i=this[e],o=1,r=0;++r<t&&(o*=256);)i+=this[e+r]*o;return i},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i},l.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var i=this[e],o=1,r=0;++r<t&&(o*=256);)i+=this[e+r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var i=t,o=1,r=this[e+--i];i>0&&(o*=256);)r+=this[e+--i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,r=0;for(this[t]=255&e;++r<n&&(o*=256);)this[t+r]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,i){(e=+e,t|=0,n|=0,i)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var r=0,s=1,a=0;for(this[t]=255&e;++r<n&&(s*=256);)e<0&&0===a&&0!==this[t+r-1]&&(a=1),this[t+r]=(e/s>>0)-a&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var r=n-1,s=1,a=0;for(this[t+r]=255&e;--r>=0&&(s*=256);)e<0&&0===a&&0!==this[t+r+1]&&(a=1),this[t+r]=(e/s>>0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o,r=i-n;if(this===e&&n<t&&t<i)for(o=r-1;o>=0;--o)e[o+t]=this[o+n];else if(r<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<r;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+r),t);return r},l.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var r;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r<n;++r)this[r]=e;else{var s=l.isBuffer(e)?e:H(new l(e,i).toString()),a=s.length;for(r=0;r<n-t;++r)this[r+t]=s[r%a]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var n;t=t||1/0;for(var i=e.length,o=null,r=[],s=0;s<i;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function j(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,n,i){for(var o=0;o<i&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(2))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return q}));var i=n(0);const o="one_tap",r="one-tap-auto-login";function s(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{e()})}function a(e,t){const n=document.createElement("script");n.src=e,t&&(n.onload=t),document.head.appendChild(n)}!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),function(){if("function"==typeof window.EventTarget)try{return!new e}catch(e){}const e=function(){this.listeners={}};e.prototype.listeners=null,e.prototype.addEventListener=function(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(e in this.listeners)for(var n=this.listeners[e],i=0,o=n.length;i<o;i++)if(n[i]===t)return void n.splice(i,1)},e.prototype.dispatchEvent=function(e){if(!(e.type in this.listeners))return!0;for(var t=this.listeners[e.type].slice(),n=0,i=t.length;n<i;n++)t[n].call(this,e);return!e.defaultPrevented},window.EventTarget=e}();const l="990339570472-k6nqn1tpmitg8pui82bfaun3jrpmiuhs.apps.googleusercontent.com",c={GOOGLE_ERROR:"googleError",GOOGLE_USER_FETCHED:"googleUserFetched",INITIALIZED:"initialized",PROMPT_MOMENT:"promptMomentNotification",TOKEN_FETCHED:"tokenFetched"},d={INITIALIZATION:"initialization",AUTHENTICATION:"authentication"},u={SIGN_IN:"signin",SIGN_UP:"signup",USE:"use"},h={DISPLAY:"display",SKIPPED:"skipped",DISMISSED:"dismissed"},p={NOT_DISPLAYED:{BROWSER_NOT_SUPPORTED:"browser_not_supported",INVALID_CLIENT:"invalid_client",MISSING_CLIENT_ID:"missing_client_id",OPT_OUT_OR_NO_SESSION:"opt_out_or_no_session",SECURE_HTTP_REQUIRED:"secure_http_required",SUPPRESSED_BY_USER:"suppressed_by_user",UNREGISTERED_ORIGIN:"unregistered_origin",UNKNOWN_REASON:"unknown_reason"},SKIPPED:{AUTO_CANCEL:"auto_cancel",USER_CANCEL:"user_cancel",TAP_OUTSIDE:"tap_outside",ISSUING_FAILED:"issuing_failed"},DISMISSED:{CREDENTIAL_RETURNED:"credential_returned",CANCEL_CALLED:"cancel_called",FLOW_RESTARTED:"flow_restarted"}},{GOOGLE_ERROR:f,GOOGLE_USER_FETCHED:g,INITIALIZED:m}=c,{INITIALIZATION:_,AUTHENTICATION:v}=d;EventTarget;const{GOOGLE_USER_FETCHED:E,PROMPT_MOMENT:w}=c;class b extends EventTarget{constructor({autoSelect:e=!1,libSrcPath:t,containerId:n,context:i,clientId:o=l,cancelOnTapOutside:r=!0}){if(super(),!i)throw TypeError("context param is required to determine the message to show in Google One Tap");if(this.autoSelect=e,this.libSrcPath=t,this.containerId=n,this.cancelOnTapOutside=r,this.clientId=o,this.context=i,window.google&&window.google.accounts&&window.google.accounts.id)this._onGoogleApiLoad();else{if(!t)throw TypeError("Google One Tap lib is not already loaded on the page. libSrcPath is required to load the library");s(()=>{a(t,this._onGoogleApiLoad.bind(this))})}}_onGoogleApiLoad(){return google.accounts.id.initialize({auto_select:this.autoSelect,client_id:this.clientId,prompt_parent_id:this.containerId,callback:this._handleCredentialResponse.bind(this),cancel_on_tap_outside:this.cancelOnTapOutside,context:this.context}),Promise.resolve().then(()=>this.promptOneTap())}_handleCredentialResponse(e){const t=e.credential;let n=this.context===u.SIGN_UP?this._getBasicProfile(t):{idToken:t};if(n){n.selectedBy=e.select_by;const t=new CustomEvent(E,{detail:n});this.dispatchEvent(t)}}_getBasicProfile(e){try{const t=new gapi.auth2.BasicProfile({id_token:e});return{email:t.getEmail(),familyName:t.getFamilyName(),givenName:t.getGivenName(),id:t.getId(),idToken:e,imageUrl:t.getImageUrl()}}catch(e){return this._dispatchSkippedEvent(e.message),null}}_dispatchSkippedEvent(e){const t={message:e,reason:p.SKIPPED.ISSUING_FAILED,type:h.SKIPPED},n=new CustomEvent(w,{detail:t});this.dispatchEvent(n)}promptOneTap(){google.accounts.id.prompt(e=>{const t={type:e.getMomentType(),reason:e.getNotDisplayedReason()||e.getSkippedReason()||e.getDismissedReason()},n=new CustomEvent(w,{detail:t});this.dispatchEvent(n),this.checkIfDesktopAndApplyClass()})}hideOneTap(){google.accounts.id.cancel()}checkIfDesktopAndApplyClass(){if(!/.*(iPad|iPod|iPhone|Android|BlackBerry).*/.test(navigator.userAgent)){const e=document.getElementById("credential_picker_container");e&&e.classList.add("credential_picker_container--desktop")}}}var y={exports:{}};function T(e){this.message=e}T.prototype=new Error,T.prototype.name="InvalidCharacterError";var S="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new T("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,o=0,r=0,s="";i=t.charAt(r++);~i&&(n=o%4?64*n+i:i,o++%4)?s+=String.fromCharCode(255&n>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s};var k=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(S(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return S(t)}};function A(e){this.message=e}A.prototype=new Error,A.prototype.name="InvalidTokenError",y.exports=function(e,t){if("string"!=typeof e)throw new A("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(k(e.split(".")[n]))}catch(e){throw new A("Invalid token specified: "+e.message)}},y.exports.InvalidTokenError=A;const I={CLIENT_ID:l,EVENTS:c,GOOGLE_ACCOUNT_URL:"https://accounts.google.com",GSI_ERROR_TYPES:d,GSI_ERROR_MESSAGES:{INIT_FAILED:"idpiframe_initialization_failed",POPUP_CLOSED_BY_USER:"popup_closed_by_user",ACCESS_DENIED:"access_denied",IMMEDIATE_FAILED:"immediate_failed"},GOT_CONTEXTS:u,GOT_PROMPT_MOMENT_REASONS:p,GOT_PROMPT_MOMENT_TYPES:h};function L(e,t){const n=document.createElement("input");return n.setAttribute("type","hidden"),n.setAttribute("name",e),n.setAttribute("value",t),n}const C=i.h.getPageKey(document).replace("_jsbeacon","");function O(e,t,n){window.tracking&&window.tracking.then(o=>{if(t&&e.appendChild(function(e){return L("controlId","".concat(C,"-").concat(e.dataset.trackingControlName))}(t)),e.appendChild(function(e){return L("pageInstance",i.j.getPageInstance(e))}(o)),n){const e="".concat(C,"_").concat(n);i.j.firePageViewEvent(o,"ajax",e),Object(i.f)(o).trackPageView({pageKey:e})}})}function N(e){window.tracking&&window.tracking.then(t=>{t.fireControlInteractionEvent(e)})}function R(e){window.tracking&&window.tracking.then(t=>{i.j.fireViewModuleImpressionEvent(t,[e])})}const{EVENTS:x,GOT_CONTEXTS:D,GOT_PROMPT_MOMENT_REASONS:P,GOT_PROMPT_MOMENT_TYPES:M}=I,{GOOGLE_USER_FETCHED:U,PROMPT_MOMENT:B}=x,{SIGN_IN:F}=D,H=[P.NOT_DISPLAYED.BROWSER_NOT_SUPPORTED,P.NOT_DISPLAYED.OPT_OUT_OR_NO_SESSION,P.NOT_DISPLAYED.SUPPRESSED_BY_USER],j=[P.SKIPPED.AUTO_CANCEL,P.SKIPPED.TAP_OUTSIDE,P.SKIPPED.USER_CANCEL];class q{constructor(e,{onNotDisplayed:t,onSkipped:n,isAutoSelectEnabled:o=!1}={}){if(!e)throw Error("Google one tap form element must be provided");this.el=e,this.onNotDisplayed="function"==typeof t&&t,this.onSkipped="function"==typeof n&&n,this.isAutoSelectEnabled=o,this.containerEl=this.el.querySelector(".google-one-tap__container"),this.loaderEl=this.el.querySelector(".loader"),this.loader=this.loaderEl&&new i.c(this.loaderEl),O(this.el,this.containerEl),this.googleOneTapPromise=this._createGoogleOneTap()}_createGoogleOneTap(){return window.lazyloader.then(e=>e.getLazyLoadedJavascriptModule("google-one-tap-lib")).then(()=>(this.googleOneTapInstance=new b({autoSelect:this.isAutoSelectEnabled,cancelOnTapOutside:!1,context:F}),this.googleOneTapInstance.addEventListener(U,({detail:e})=>{const{idToken:t,selectedBy:n}=e;N("google-one-tap--account-selected");const i=this.googleOneTapInstance._getBasicProfile(t);this._submitWithGoogle(n,i)}),this.googleOneTapInstance.addEventListener(B,({detail:e})=>{const{reason:t,type:n}=e;if(t){if(this._fireCounterIngraphMetric(n,t),n===M.SKIPPED){if(t===P.SKIPPED.USER_CANCEL&&N("google-one-tap--user-dismissed"),this.onSkipped)this.onSkipped(e);else if(-1===j.indexOf(t))throw Error("GoogleOneTapError ".concat(n,": ").concat(t))}else if(n===M.DISPLAY)if(this.onNotDisplayed)this.onNotDisplayed(e);else if(-1===H.indexOf(t))throw Error("GoogleOneTapError ".concat(n,": ").concat(t))}else n===M.DISPLAY&&R("google-one-tap")}),this.googleOneTapInstance))}_fireCounterIngraphMetric(e,t){let n="";e===M.DISPLAY&&t===P.NOT_DISPLAYED.OPT_OUT_OR_NO_SESSION?n="GoogleAuthDisabledOrNoSessionError":(j.indexOf(t)>=0||H.indexOf(t)>=0)&&(n="GoogleAuthMiscError"),n&&window.ingraphTracking.then(e=>{e.fireCounterIngraphMetric({metricsType:n})})}_submitWithGoogle(e,t={}){const{email:n,idToken:i,imageUrl:s,familyName:a,givenName:l}=t;this.googleIdTokenInput&&this.el.removeChild(this.googleIdTokenInput),this.googleIdTokenInput=L("googleIdToken",i),this.el.appendChild(L("googleGivenName",l)),this.el.appendChild(L("googleFamilyName",a)),this.el.appendChild(L("googleImageUrl",s)),this.el.appendChild(L("googleEmail",n));const c="auto"===e?r:o;this.el.appendChild(L("soogleLoginRequestType",c)),this.el.appendChild(this.googleIdTokenInput),this.loader&&this.loader.show(),this.el.submit()}}const{GOOGLE_USER_FETCHED:z,GOOGLE_ERROR:G,INITIALIZED:W}=I.EVENTS,{INITIALIZATION:K,AUTHENTICATION:V}=I.GSI_ERROR_TYPES,{INIT_FAILED:Y,POPUP_CLOSED_BY_USER:J}=I.GSI_ERROR_MESSAGES;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;!function(e,t,n){e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var e="aria-[a-z0-9_\\-]+|class|data-[a-z0-9_\\-]+|dir|id|role|tabindex",t="undefined"==typeof document||"textContent"in document.createElement("div")?"textContent":"innerText",n=["b","del","em","i","s","strong","sub","sup"],i=n.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"]),o=[e,"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("|");function r(){}function s(e,t){if(t=t||"log",window&&window.jet&&"error"===t.toLowerCase())try{throw new Error(e)}catch(e){try{window.jet.error(e)}catch(e){}}"undefined"!=typeof console&&"function"==typeof console[t]&&console[t](e)}var a,l,c=(l=/[&<>"'\u0000\\=]/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","\0":"�","\\":"&#92;","=":"&#61;"},function(e){return null==e?null:e.toString().replace(l,(function(e){return a[e]}))}),d=function(){var e,n,i=/&(?:([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)")};e=document.createElement("div");var o={nbsp:" ",lt:"<",gt:">",amp:"&",quot:'"'};return n="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"},function(r){return null==r?null:(r+"").replace(i,(function(i,r,s,a){return r?(l=r,o.hasOwnProperty(l)?o[l]:(e.innerHTML="&"+l+";",c=e[t],o[l]=c,c)):s||a?n(parseInt(s||a,s?16:10)||65533):"�";var l,c}))}}(),u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function h(e){return/[<&]/.test(e)}var p,f=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var n=0,i=e.length;n<i;n++)t(e[n],n)};function g(e){e=u(e)?e:[e];var t,n,r,s=0,a="<(?!/?";return a+="(?:",f(e,(function(e,l){t=e.tags||i,n=e.attrs||o,r=e.checkUrlAttrs||!1,0!==l&&(a+="|"),a+="(?:"+t.join("|")+")",a+="(?:",a+="[ \t\r\n]*",a+="|[ \t\r\n]+",a+="(?:(?:",a+="(?:"+n+")(?:=([\"'])[^'\"<>]*\\"+ ++s+")?",r&&(a+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++s),a+=")[ \t\r\n]*)+",a+=")"})),a+=")",a+="/?>)",new RegExp(a,"i")}function m(e){return g({tags:e=e||i,checkUrlAttrs:!0})}function _(e,t){var n=(t=t||{}).allowTags,i=!1!==t.hasCustomElementMarkup;return n?!m(n).test(e):i?!_.R_UNSAFE_CUSTOM_ELEMENT.test(e):!_.R_UNSAFE_HTML.test(e)}function v(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}function E(e,t,n){if(null==e)return null;e=e.toString();var i=t?function(e,t){var n={};return e.replace(/\{([^}]+)\}/g,(function(e,i){var o,s=e;if(n.hasOwnProperty(i))return n[i];if(t.hasOwnProperty(i)){if(!((o="string"==typeof(s=t[i]))||s instanceof r||"number"==typeof s))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");s=o?c(s):s.toString()}return n[i]=s,s}))}(e,t):e,o=e;return h(i)&&!_(i,n)&&(i=v(i),s("Content contains non-whitelisted tags or attributes:\nContent: "+o,"error")),i}function w(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e}_.R_UNSAFE_HTML=m(),_.R_UNSAFE_CUSTOM_ELEMENT=g([{tags:i,checkUrlAttrs:!0},{tags:[(p={tag:"li-icon",attrs:"active|a11y-text|animate|color|size|type"}).tag],attrs:[e,p.attrs].join("|"),checkUrlAttrs:!1}]);var b={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,"",""]};b.optgroup=b.option,b.tbody=b.tfoot=b.colgroup=b.caption=b.thead,b.th=b.td;var y=/<([\w:]+)/;function T(e,t){var n,i,o,r,s,a,l,c=t.createDocumentFragment(),d=[];for(s=0,l=e.length;s<l;s++)if((r=e[s])||0===r)if("string"==typeof r){for(o=o||c.appendChild(t.createElement("div")),n=(y.exec(r)||["",""])[1].toLowerCase(),A(o,(i=b[n]||b._default)[1]+r+i[2]),a=i[0];a--;)o.lastChild&&o.lastChild.nodeType===Node.ELEMENT_NODE&&(o=o.lastChild);w(d,o.childNodes),(o=c.firstChild).textContent=""}else w(d,r.nodeType?[r]:r);for(c.textContent="",r=d[s=0];r;)c.appendChild(r),r=d[++s];return c}var S=E,k=E;function A(e,n,i){var o=E(n,i);return h(o)?e.innerHTML=o:e[t]=o,o}function I(e,t){if(!(this instanceof I))return new I(e,t);(t=t||{}).allowTags=t.allowTags?t.allowTags.reduce((function(e,t){return e.concat(t)}),[]):null,this._string=e,this._options=t}I.prototype=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(new r,{toString:function(){var e=this._string,t=this._stringVal,n=e;return void 0!==t?t:(_(e,this._options)||(n=e,e=v(e),s("UnsafeString contains non-whitelisted tags or attributes.\nString: "+n,"error")),this._stringVal=e,e)}});var L=/ /g,C=/[\s\u0000<>"]|%00/,O=/\\/,N=/([.]|%2e){2}/i,R=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 x(e){var t=void 0;if("string"!=typeof e)return s("jSecure Warning: url must be a string","error"),"invalid://";if((t=e.trim()).indexOf(" ")>-1&&(s("jSecure Warning: url should not contain spaces: "+e,"warn"),t=t.replace(L,"+")),!R.test(t))return s("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+e,"error"),"invalid://";if(C.test(t))return s("jSecure Error: not valid url character found in url: "+e,"error"),"invalid://";var n=t.split("?")[0];return O.test(n)||N.test(n)||N.test(decodeURI(n))?(s("jSecure Error: malicious data found in url path: "+n,"error"),"invalid://"):e}var D={redirect:function(e){window&&(window.location.href=e)}};return{ALLOWED_TAGS:i,FORMATTING_TAGS:n,htmlEncode:c,htmlUnencode:d,log:s,mk:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o="",r=void 0,s=n.length;return e&&e.forEach((function(e,t){o+=e,t<s&&(r=n[t],o+=r instanceof I?r:c(r))})),k(o)},parseHTML:function(e,t){var n;if(t=t||document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument(""):document,"string"==typeof e)n=T([e],t);else{if(!u(e))return e;n=T(e,t)}return w([],n.childNodes)},parseSelector:function(e){return"string"==typeof e&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(e)?[]:e},processTemplate:S,reEncode:function(e){return c(d(e))},_redirector:D,redirect:function(e){var t=x(e);t===e&&D.redirect(t)},sanitizeHTML:k,sanitizeUrl:x,setElementContent:A,text:function(e){return s("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),c(e)},unsafe:function(e){return e},UnsafeString:I}}()}));const X=/\!|\@|\#|\$|\%|\^|\&|\*|\+|\=|\||<|\>|\?|\:|\;/,Z=/(.)\1{3}/,Q=/linkedin/i,$=/\d\d/,ee=new RegExp("([a-zA-Z0-9]+://)?([a-zA-Z0-9_]+:[a-zA-Z0-9_]+@)?([a-zA-Z0-9.-]+\\.[A-Za-z]{2,4})(:[0-9]+)?(/.*)?"),te=/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,ne=/^[\u4E00-\u9FFF|\u3400-\u4DBF|\uF900-\uFAFF]*$/,ie=/^[ぁ-ゔゞ゛゜ー]*$/,oe=/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/,re=e=>{const t=(t="")=>t.length<=e;return t.errorMessagePrefix="i18n_tooLong_",t},se=e=>{const t=(t="")=>t.length>=e;return t.errorMessagePrefix="i18n_tooShort_",t},ae=(e="")=>!$.test(e);ae.errorMessagePrefix="i18n_noConsecutiveDigits_";const le=(e="")=>!X.test(e);le.errorMessagePrefix="i18n_noForbiddenCharacters_";const ce=(e="")=>!Z.test(e);ce.errorMessagePrefix="i18n_noFourConsecutiveDuplicates_";const de=(e="")=>!Q.test(e);de.errorMessagePrefix="i18n_noLinkedIn_";const ue=(e="")=>!ee.test(e);ue.errorMessagePrefix="i18n_noUrl_";const he=(e="")=>ne.test(e);he.errorMessagePrefix="i18n_onlyChinese_";const pe=(e="")=>ie.test(e);pe.errorMessagePrefix="i18n_onlyPhonetic_";const fe=(e="")=>""!==e.trim();fe.errorMessagePrefix="i18n_required_";const ge=(e="")=>te.test(e);ge.errorMessagePrefix="i18n_invalidFormat_";const me=(e="")=>oe.test(e);me.errorMessagePrefix="i18n_invalidFormat_";const _e=(e="")=>te.test(e)||oe.test(e);_e.errorMessagePrefix="i18n_invalidFormat_";const ve=[re(50),le,ae,ce,de,ue],Ee=[fe].concat(ve),we=[pe,re(50),ce];re(4),se(2),re(128),re(128),re(128),(e=>{const t=(t="")=>""===t||e(t);t.errorMessagePrefix=e.errorMessagePrefix})(ge),se(8),re(200);const{GOT_PROMPT_MOMENT_REASONS:be,GOT_PROMPT_MOMENT_TYPES:ye}=I;const{GOOGLE_ERROR:Te,GOOGLE_USER_FETCHED:Se,INITIALIZED:ke}=I.EVENTS;new Set(["百里","淳于","第五","東方 ","东方","東閣 ","东阁","東郭 ","东郭","東門 ","东门","端木","獨孤 ","独孤","公孫 ","公孙","公羊","公冶","公西","毌丘","穀梁 ","谷梁","賀蘭 ","贺兰","赫連 ","赫连","賀若 ","贺若","皇甫","黄斯","呼延","兰向","令狐","甪里","閭丘 ","闾丘","万俟","慕容","納蘭 ","纳兰","南宮 ","南宫","歐陽 ","欧阳","沙吒","上官","申屠","司馬 ","司马","司徒","司空","司寇","太史","澹臺 ","澹台","拓跋","完顏 ","完颜","聞人 ","闻人","巫馬 ","巫马","夏侯","鮮于 ","鲜于","西門 ","西门","軒轅 ","轩辕","楊子 ","杨子","耶律","樂正 ","乐正","尉遲 ","尉迟","宇文","長孫 ","长孙","鍾離 ","钟离","諸葛 ","诸葛","祝融","子車 ","子车","左人"]);var Ae;!function(e){e.ProductName="productName",e.UntrackedResponseCodes="untrackedResponseCodes",e.TrackedResponseCodes="trackedResponseCodes"}(Ae||(Ae={}));new Set(Object.values(Ae));Error;const{EVENTS:Ie,GOT_CONTEXTS:Le,GOT_PROMPT_MOMENT_TYPES:Ce}=I,{GOOGLE_USER_FETCHED:Oe,PROMPT_MOMENT:Ne}=Ie}).call(this,n(2))},function(e,t,n){"use strict";var i=n(1),o=n(4);new i.f(document.querySelector(".language-selector")),new i.i(document.querySelector(".search-bar"),{typeaheadApiBaseUrl:"/organization-guest/api/typeaheadHits"});var r=document.querySelector(".cover-img");r&&new i.b(r);var s=document.querySelector(".cta-modal"),a=()=>{if(s){var e=s.querySelector(".cta-modal__dismiss-btn");new i.k(s,{dismissBtnEl:e})}},l=()=>{var e=document.querySelector(".google-one-tap");if(e){var t=!0===Object(i.m)("googleUseAutoSelect")&&null===i.n.getCookie("li_g_recent_logout");new o.a(e,{onNotDisplayed:a,isAutoSelectEnabled:t})}else a()},c=e=>e.querySelector("a");Array.from(document.querySelectorAll(".show-more-less")).forEach(e=>new i.j(e,c)),Array.from(document.querySelectorAll(".ellipsis-menu")).forEach(e=>new i.c(e)),Array.from(document.querySelectorAll(".modal")).forEach(e=>new i.g(e));var d=document.querySelector(".apptivation-promo");d?new i.a(d).isVisible().then(e=>{e||l()}):l()},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],i=t[1];return 3*(n+i)/4-i},t.toByteArray=function(e){var t,n,i=c(e),s=i[0],a=i[1],l=new r(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),d=0,u=a>0?s-4:s;for(n=0;n<u;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[d++]=t>>16&255,l[d++]=t>>8&255,l[d++]=255&t;2===a&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[d++]=255&t);1===a&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[d++]=t>>8&255,l[d++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,r=[],s=0,a=n-o;s<a;s+=16383)r.push(d(e,s,s+16383>a?a:s+16383));1===o?(t=e[n-1],r.push(i[t>>2]+i[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],r.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"="));return r.join("")};for(var i=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a<l;++a)i[a]=s[a],o[s.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function d(e,t,n){for(var o,r,s=[],a=t;a<n;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(i[(r=o)>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,i,o){var r,s,a=8*o-i-1,l=(1<<a)-1,c=l>>1,d=-7,u=n?o-1:0,h=n?-1:1,p=e[t+u];for(u+=h,r=p&(1<<-d)-1,p>>=-d,d+=a;d>0;r=256*r+e[t+u],u+=h,d-=8);for(s=r&(1<<-d)-1,r>>=-d,d+=i;d>0;s=256*s+e[t+u],u+=h,d-=8);if(0===r)r=1-c;else{if(r===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),r-=c}return(p?-1:1)*s*Math.pow(2,r-i)},t.write=function(e,t,n,i,o,r){var s,a,l,c=8*r-o-1,d=(1<<c)-1,u=d>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:r-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+u>=1?h/l:h*Math.pow(2,1-u))*l>=2&&(s++,l/=2),s+u>=d?(a=0,s=d):s+u>=1?(a=(t*l-1)*Math.pow(2,o),s+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=255&a,p+=f,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+p]=255&s,p+=f,s/=256,c-=8);e[n+p-f]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,i=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,r=Object.freeze,s=Object.seal,a=Object.create,l="undefined"!=typeof Reflect&&Reflect,c=l.apply,d=l.construct;c||(c=function(e,t,n){return e.apply(t,n)}),r||(r=function(e){return e}),s||(s=function(e){return e}),d||(d=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var u,h=y(Array.prototype.forEach),p=y(Array.prototype.pop),f=y(Array.prototype.push),g=y(String.prototype.toLowerCase),m=y(String.prototype.match),_=y(String.prototype.replace),v=y(String.prototype.indexOf),E=y(String.prototype.trim),w=y(RegExp.prototype.test),b=(u=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d(u,t)});function y(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return c(e,t,i)}}function T(e,i){t&&t(e,null);for(var o=i.length;o--;){var r=i[o];if("string"==typeof r){var s=g(r);s!==r&&(n(i)||(i[o]=s),r=s)}e[r]=!0}return e}function S(t){var n=a(null),i=void 0;for(i in t)c(e,t,[i])&&(n[i]=t[i]);return n}function k(e,t){for(;null!==e;){var n=o(e,t);if(n){if(n.get)return y(n.get);if("function"==typeof n.value)return y(n.value)}e=i(e)}return function(e){return console.warn("fallback value for",e),null}}var A=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),C=r(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),O=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),N=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),R=r(["#text"]),x=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),D=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),M=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=s(/\{\{[\s\S]*|[\s\S]*\}\}/gm),B=s(/<%[\s\S]*|[\s\S]*%>/gm),F=s(/^data-[\-\w.\u00B7-\uFFFF]/),H=s(/^aria-[\-\w]+$/),j=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=s(/^(?:\w+script|data):/i),z=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var K=function(){return"undefined"==typeof window?null:window},V=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),n=function(t){return e(t)};if(n.version="2.3.5",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var i=t.document,o=t.document,s=t.DocumentFragment,a=t.HTMLTemplateElement,l=t.Node,c=t.Element,d=t.NodeFilter,u=t.NamedNodeMap,y=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,Y=t.HTMLFormElement,J=t.DOMParser,X=t.trustedTypes,Z=c.prototype,Q=k(Z,"cloneNode"),$=k(Z,"nextSibling"),ee=k(Z,"childNodes"),te=k(Z,"parentNode");if("function"==typeof a){var ne=o.createElement("template");ne.content&&ne.content.ownerDocument&&(o=ne.content.ownerDocument)}var ie=V(X,i),oe=ie?ie.createHTML(""):"",re=o,se=re.implementation,ae=re.createNodeIterator,le=re.createDocumentFragment,ce=re.getElementsByTagName,de=i.importNode,ue={};try{ue=S(o).documentMode?o.documentMode:{}}catch(e){}var he={};n.isSupported="function"==typeof te&&se&&void 0!==se.createHTMLDocument&&9!==ue;var pe=U,fe=B,ge=F,me=H,_e=q,ve=z,Ee=j,we=null,be=T({},[].concat(W(A),W(I),W(L),W(O),W(R))),ye=null,Te=T({},[].concat(W(x),W(D),W(P),W(M))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ke=null,Ae=null,Ie=!0,Le=!0,Ce=!1,Oe=!1,Ne=!1,Re=!1,xe=!1,De=!1,Pe=!1,Me=!1,Ue=!0,Be=!0,Fe=!1,He={},je=null,qe=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,Ge=T({},["audio","video","img","source","image","track"]),We=null,Ke=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ve="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Xe=Je,Ze=!1,Qe=void 0,$e=["application/xhtml+xml","text/html"],et="text/html",tt=void 0,nt=null,it=o.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},rt=function(e){nt&&nt===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=S(e),we="ALLOWED_TAGS"in e?T({},e.ALLOWED_TAGS):be,ye="ALLOWED_ATTR"in e?T({},e.ALLOWED_ATTR):Te,We="ADD_URI_SAFE_ATTR"in e?T(S(Ke),e.ADD_URI_SAFE_ATTR):Ke,ze="ADD_DATA_URI_TAGS"in e?T(S(Ge),e.ADD_DATA_URI_TAGS):Ge,je="FORBID_CONTENTS"in e?T({},e.FORBID_CONTENTS):qe,ke="FORBID_TAGS"in e?T({},e.FORBID_TAGS):{},Ae="FORBID_ATTR"in e?T({},e.FORBID_ATTR):{},He="USE_PROFILES"in e&&e.USE_PROFILES,Ie=!1!==e.ALLOW_ARIA_ATTR,Le=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=e.SAFE_FOR_TEMPLATES||!1,Ne=e.WHOLE_DOCUMENT||!1,De=e.RETURN_DOM||!1,Pe=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,xe=e.FORCE_BODY||!1,Ue=!1!==e.SANITIZE_DOM,Be=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,Ee=e.ALLOWED_URI_REGEXP||Ee,Xe=e.NAMESPACE||Je,e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Qe=Qe=-1===$e.indexOf(e.PARSER_MEDIA_TYPE)?et:e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Qe?function(e){return e}:g,Oe&&(Le=!1),Pe&&(De=!0),He&&(we=T({},[].concat(W(R))),ye=[],!0===He.html&&(T(we,A),T(ye,x)),!0===He.svg&&(T(we,I),T(ye,D),T(ye,M)),!0===He.svgFilters&&(T(we,L),T(ye,D),T(ye,M)),!0===He.mathMl&&(T(we,O),T(ye,P),T(ye,M))),e.ADD_TAGS&&(we===be&&(we=S(we)),T(we,e.ADD_TAGS)),e.ADD_ATTR&&(ye===Te&&(ye=S(ye)),T(ye,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&T(We,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(je===qe&&(je=S(je)),T(je,e.FORBID_CONTENTS)),Be&&(we["#text"]=!0),Ne&&T(we,["html","head","body"]),we.table&&(T(we,["tbody"]),delete ke.tbody),r&&r(e),nt=e)},st=T({},["mi","mo","mn","ms","mtext"]),at=T({},["foreignobject","desc","title","annotation-xml"]),lt=T({},I);T(lt,L),T(lt,C);var ct=T({},O);T(ct,N);var dt=function(e){var t=te(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var n=g(e.tagName),i=g(t.tagName);if(e.namespaceURI===Ye)return t.namespaceURI===Je?"svg"===n:t.namespaceURI===Ve?"svg"===n&&("annotation-xml"===i||st[i]):Boolean(lt[n]);if(e.namespaceURI===Ve)return t.namespaceURI===Je?"math"===n:t.namespaceURI===Ye?"math"===n&&at[i]:Boolean(ct[n]);if(e.namespaceURI===Je){if(t.namespaceURI===Ye&&!at[i])return!1;if(t.namespaceURI===Ve&&!st[i])return!1;var o=T({},["title","style","font","a","script"]);return!ct[n]&&(o[n]||!lt[n])}return!1},ut=function(e){f(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=oe}catch(t){e.remove()}}},ht=function(e,t){try{f(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ye[e])if(De||Pe)try{ut(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},pt=function(e){var t=void 0,n=void 0;if(xe)e="<remove></remove>"+e;else{var i=m(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===Qe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var r=ie?ie.createHTML(e):e;if(Xe===Je)try{t=(new J).parseFromString(r,Qe)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=Ze?"":r}catch(e){}}var s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),Xe===Je?ce.call(t,Ne?"html":"body")[0]:Ne?t.documentElement:s},ft=function(e){return ae.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},gt=function(e){return e instanceof Y&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof y)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},mt=function(e){return"object"===(void 0===l?"undefined":G(l))?e instanceof l:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},_t=function(e,t,i){he[e]&&h(he[e],(function(e){e.call(n,t,i,nt)}))},vt=function(e){var t=void 0;if(_t("beforeSanitizeElements",e,null),gt(e))return ut(e),!0;if(m(e.nodeName,/[\u0080-\uFFFF]/))return ut(e),!0;var i=tt(e.nodeName);if(_t("uponSanitizeElement",e,{tagName:i,allowedTags:we}),!mt(e.firstElementChild)&&(!mt(e.content)||!mt(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return ut(e),!0;if("select"===i&&w(/<template/i,e.innerHTML))return ut(e),!0;if(!we[i]||ke[i]){if(Be&&!je[i]){var o=te(e)||e.parentNode,r=ee(e)||e.childNodes;if(r&&o)for(var s=r.length-1;s>=0;--s)o.insertBefore(Q(r[s],!0),$(e))}if(!ke[i]&&wt(i)){if(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,i))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(i))return!1}return ut(e),!0}return e instanceof c&&!dt(e)?(ut(e),!0):"noscript"!==i&&"noembed"!==i||!w(/<\/no(script|embed)/i,e.innerHTML)?(Oe&&3===e.nodeType&&(t=e.textContent,t=_(t,pe," "),t=_(t,fe," "),e.textContent!==t&&(f(n.removed,{element:e.cloneNode()}),e.textContent=t)),_t("afterSanitizeElements",e,null),!1):(ut(e),!0)},Et=function(e,t,n){if(Ue&&("id"===t||"name"===t)&&(n in o||n in it))return!1;if(Le&&!Ae[t]&&w(ge,t));else if(Ie&&w(me,t));else if(!ye[t]||Ae[t]){if(!(wt(e)&&(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&w(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,n)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(n))))return!1}else if(We[t]);else if(w(Ee,_(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!ze[e])if(Ce&&!w(_e,_(n,ve,"")));else if(n)return!1;return!0},wt=function(e){return e.indexOf("-")>0},bt=function(e){var t=void 0,i=void 0,o=void 0,r=void 0;_t("beforeSanitizeAttributes",e,null);var s=e.attributes;if(s){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ye};for(r=s.length;r--;){var l=t=s[r],c=l.name,d=l.namespaceURI;if(i=E(t.value),o=tt(c),a.attrName=o,a.attrValue=i,a.keepAttr=!0,a.forceKeepAttr=void 0,_t("uponSanitizeAttribute",e,a),i=a.attrValue,!a.forceKeepAttr&&(ht(c,e),a.keepAttr))if(w(/\/>/i,i))ht(c,e);else{Oe&&(i=_(i,pe," "),i=_(i,fe," "));var u=tt(e.nodeName);if(Et(u,o,i))try{d?e.setAttributeNS(d,c,i):e.setAttribute(c,i),p(n.removed)}catch(e){}}}_t("afterSanitizeAttributes",e,null)}},yt=function e(t){var n=void 0,i=ft(t);for(_t("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)_t("uponSanitizeShadowNode",n,null),vt(n)||(n.content instanceof s&&e(n.content),bt(n));_t("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var r=void 0,a=void 0,c=void 0,d=void 0,u=void 0;if((Ze=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!mt(e)){if("function"!=typeof e.toString)throw b("toString is not a function");if("string"!=typeof(e=e.toString()))throw b("dirty is not a string, aborting")}if(!n.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(mt(e))return t.toStaticHTML(e.outerHTML)}return e}if(Re||rt(o),n.removed=[],"string"==typeof e&&(Fe=!1),Fe){if(e.nodeName){var h=tt(e.nodeName);if(!we[h]||ke[h])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)1===(a=(r=pt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!De&&!Oe&&!Ne&&-1===e.indexOf("<"))return ie&&Me?ie.createHTML(e):e;if(!(r=pt(e)))return De?null:Me?oe:""}r&&xe&&ut(r.firstChild);for(var p=ft(Fe?e:r);c=p.nextNode();)3===c.nodeType&&c===d||vt(c)||(c.content instanceof s&&yt(c.content),bt(c),d=c);if(d=null,Fe)return e;if(De){if(Pe)for(u=le.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return ye.shadowroot&&(u=de.call(i,u,!0)),u}var f=Ne?r.outerHTML:r.innerHTML;return Oe&&(f=_(f,pe," "),f=_(f,fe," ")),ie&&Me?ie.createHTML(f):f},n.setConfig=function(e){rt(e),Re=!0},n.clearConfig=function(){nt=null,Re=!1},n.isValidAttribute=function(e,t,n){nt||rt({});var i=tt(e),o=tt(t);return Et(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(he[e]=he[e]||[],f(he[e],t))},n.removeHook=function(e){he[e]&&p(he[e])},n.removeHooks=function(e){he[e]&&(he[e]=[])},n.removeAllHooks=function(){he={}},n}()}()},,,function(e,t,n){"use strict";n.r(t);n(5);var i=n(1),o=n(0),r=n(9),s=n.n(r),a={ADD_TAGS:["#comment","li-icon","icon","iframe"],ADD_ATTR:["target"]};class l{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.globalWindow,i=void 0===n?window:n,r=t.paginationToken,s=t.requestUrl,a=t.feedLoadLimit,l=void 0===a?6:a,c=t.threshold,d=void 0===c?2:c;if(!e)throw new Error("No element passed in");if(!r)throw new Error("No paginationToken passed in");if(!s)throw new Error("No requestUrl passed in");this.el=e,this.loaderEl=document.querySelector(".updates-loader"),this.conversionPromptEl=document.querySelector('[data-id="conversion-prompt"]'),this.window=i,this.threshold=d,this.feedLoadLimit=l,this.requestUrl=s,this.paginationToken=r,this.paginationStart=10,this.areAllFeedUpdatesLoaded=!1,this.loadResults=()=>{if(!this.areAllFeedUpdatesLoaded)return this.requestUrl.searchParams.set("paginationStart",this.paginationStart),this.requestUrl.searchParams.set("paginationToken",this.paginationToken),Object(o.i)(this.requestUrl,{sendCookies:!1}).then(e=>{var t=e.status,n=e.responseText;200===t?this.onSuccess(n):this.onFail()}).catch(()=>{this.onFail()}).finally(()=>{this.paginationStart+=10,this.paginationStart>10*this.feedLoadLimit&&this._stopFeedUpdatesLoader()})},this.infiniteScroller=new o.b(this.window,{loaderEl:this.loaderEl,threshold:this.threshold,loadResults:this.loadResults,scrollLoadLimit:9999,useDebounce:!0})}onSuccess(e){var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.a.sanitize(e,Object.assign({},a,t))}(e);t?(this.el.insertAdjacentHTML("beforeend",t),Array.from(this.el.querySelectorAll(".share-native-video__node")).forEach(e=>new o.d(e)),Array.from(this.el.querySelectorAll(".ellipsis-menu")).forEach(e=>new o.a(e)),this.window.lazyloader.then(e=>e.refreshLoader())):this._stopFeedUpdatesLoader()}onFail(){this._stopFeedUpdatesLoader()}_stopFeedUpdatesLoader(){this.conversionPromptEl.classList.remove("hidden"),this.infiniteScroller.removeInfiniteScroller(),this.areAllFeedUpdatesLoaded=!0}}if(Array.from(document.querySelectorAll(".share-native-video__node")).forEach(e=>new i.h(e)),document.querySelector(".updates-loader")){var c=document.querySelector(".updates__list"),d=Object(i.m)("organizationId"),u=Object(i.m)("isMobile");new l(c,{paginationToken:Object(i.m)("paginationToken"),requestUrl:new URL("".concat(window.location.origin,"/organization-guest/api/feedUpdates/").concat(d)),feedLoadLimit:u?3:6,threshold:u?4:2})}var h=document.querySelector('[data-js-module-id="products__slide-list"]');h&&new i.l(h);var p=document.querySelector('[data-js-module-id="more-searches"]');p&&window.tracking&&window.tracking.then(e=>{new i.d(p,e)})}]);