!function(){"use strict";const e=window.encodeURIComponent,t="https://sb.scorecardresearch.com/b?",n="ns_";function i(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function r(){return window.performance&&window.performance.timing&&"function"==typeof window.performance.now?Math.round(window.performance.now())+window.performance.timing.navigationStart:(new Date).getTime()}class o{constructor(e){this._parent=e,this._config=e.getConfig(),this._complete=!1,this.data={}}isComplete(){return this._complete}markComplete(){this._complete=!0}done(){this._complete=!0,this.isAsync()&&this._parent.pluginDone()}resetState(){this._complete=!1,this.data={}}getData(){return this.data}collectData(){}isAsync(){return!1}}class a extends o{constructor(e){super(e)}collectData(){this._readLinkedinData()}_readLinkedinData(){this.data.timeSource=this._config["beacon-source"],this.data.treeId=this._getTreeId(),this._config["commit-id"]&&(this.data.sessionID=this._config["commit-id"]),this.data.isFromServiceWorker=this._getFromServiceWorker(),this.done()}_getTreeId(){let e=document.querySelector('meta[name="treeID"]');return e&&e.getAttribute("content")}_getFromServiceWorker(){let e=document.querySelector('meta[name="fromServiceWorker"]');return e&&"true"===e.getAttribute("content")}}class s extends o{constructor(e){super(e),this._navigationTimingRead=!1,this._navigationTimingFields=["loadEventEnd","loadEventStart","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","responseEnd","responseStart","requestStart","secureConnectionStart","connectEnd","connectStart","domainLookupEnd","domainLookupStart","fetchStart","redirectEnd","redirectStart","unloadEventEnd","unloadEventStart","navigationStart"]}collectData(){this._readNavigationTiming(),this.done()}_readNavigationTiming(){var e,t,n,i;if(!this._navigationTimingRead){if(window.performance&&window.performance.timing&&window.performance.navigation){for(this.data.navigationTimingApi=!0,e=window.performance.timing,t=0;t<this._navigationTimingFields.length;t++)e[n=this._navigationTimingFields[t]]&&(this.data[n]=e[n]);this.data.redirectCount=window.performance.navigation.redirectCount,this.data.navigationType=window.performance.navigation.type}else this.data.navigationTimingApi=!1;if(window.performance&&window.performance.getEntriesByType&&void 0!==(i=window.performance.getEntriesByType("navigation")[0])&&(this.data.workerStart=i.workerStart,"number"==typeof i.fetchStart&&"number"==typeof i.responseEnd&&"number"==typeof i.decodedBodySize&&"number"==typeof i.encodedBodySize&&"number"==typeof i.transferSize)){let e={};e.htmlFetchStart=i.fetchStart,e.htmlResponseEnd=i.responseEnd,e.htmlDecodedBodySize=i.decodedBodySize,e.htmlEncodedBodySize=i.encodedBodySize,e.htmlTransferSize=i.transferSize,this.data.htmlMetrics=e}this._navigationTimingRead=!0}}}class c extends o{constructor(e){super(e),this._imgEntries=[],this._resourceTimingFields={name:!0,entryType:!1,duration:!0,initiatorType:!0,fetchStart:!0,responseEnd:!0,startTime:!0,connectEnd:!0,connectStart:!0,domainLookupEnd:!0,domainLookupStart:!0,redirectEnd:!0,redirectStart:!0,requestStart:!0,responseStart:!0,secureConnectionStart:!0,nextHopProtocol:!0,transferSize:!0,decodedBodySize:!0,encodedBodySize:!0,workerStart:!0},this._requestSamplingRandVal=Math.random(),this._setupResourceTiming()}resetState(){super.resetState(),this._requestSamplingRandVal=Math.random()}collectData(){this._readResourceTiming(),this.done()}addTreeId(e,t){var n;if(this._treeIdUrlParser&&this._rsTimingUrlParser&&(this._treeIdUrlParser.href=t,this._readResourceTiming(),this.data.resourceTimingEntries))for(n=this.data.resourceTimingEntries.length-1;n>=0;n--)if(this._rsTimingUrlParser.href=this.data.resourceTimingEntries[n].name,this._treeIdUrlParser.protocol===this._rsTimingUrlParser.protocol&&this._treeIdUrlParser.host===this._rsTimingUrlParser.host&&this._treeIdUrlParser.pathname===this._rsTimingUrlParser.pathname&&(this._treeIdUrlParser.search===this._rsTimingUrlParser.search||""===this._treeIdUrlParser.search)){this.data.resourceTimingEntries[n].resourceTreeId=e;break}}_isResourceTimingSupported(){return window.performance&&"function"==typeof window.performance.getEntriesByType}_setupResourceTiming(){var e={default:.001,xmlhttprequest:1};if(null!==this._config["rs-sample-rate"]&&"object"==typeof this._config["rs-sample-rate"])for(var t in this._config["rs-sample-rate"])this._config["rs-sample-rate"].hasOwnProperty(t)&&(e[t]=this._config["rs-sample-rate"][t]);this._config["rs-sample-rate"]=e,this._isResourceTimingSupported()&&(this._readResourceTiming(),this._setBufferSize(100),null===window.performance.onresourcetimingbufferfull?window.performance.onresourcetimingbufferfull=this._readResourceTiming.bind(this):null===window.performance.onwebkitresourcetimingbufferfull&&(window.performance.onwebkitresourcetimingbufferfull=this._readResourceTiming.bind(this))),this._treeIdUrlParser=document.createElement("a"),this._rsTimingUrlParser=document.createElement("a")}_clearBuffer(){this._isResourceTimingSupported()&&this._config["enable-rs-timing"]&&(window.performance.clearResourceTimings&&"function"==typeof window.performance.clearResourceTimings?window.performance.clearResourceTimings():window.performance.webkitClearResourceTimings&&"function"==typeof window.performance.webkitClearResourceTimings&&window.performance.webkitClearResourceTimings())}_setBufferSize(e){this._isResourceTimingSupported()&&this._config["enable-rs-timing"]&&(window.performance.setResourceTimingBufferSize&&"function"==typeof window.performance.setResourceTimingBufferSize?window.performance.setResourceTimingBufferSize(e):window.performance.webkitSetResourceTimingBufferSize&&"function"==typeof window.performance.webkitSetResourceTimingBufferSize&&window.performance.webkitSetResourceTimingBufferSize(e))}_readResourceTiming(){var e,t,n,i,r,o,a=!1,s=this.data&&this.data.resourceTimingEntries||[];if(this._isResourceTimingSupported()&&this._config["enable-rs-timing"]){for(e=window.performance.getEntriesByType("resource"),t=0;t<e.length;t++){for(n in i={},e[t])!0===this._resourceTimingFields[n]&&(i[n]=e[t][n]);"img"===i.initiatorType&&this._imgEntries.push(i),null===this._parent._config.xcndUrl&&"script"===i.initiatorType&&(this._parent._config.xcndUrl=i.name),r=Math.random(),o=this._config["rs-sample-rate"][e[t].initiatorType]||this._config["rs-sample-rate"].default,((a=this._requestSamplingRandVal<=this._config["request-sampling-rate"])||r<=o)&&(s.push(i),i.sampleMode="",a&&(i.sampleMode="requestSampled,"),r<=o&&(i.sampleMode+="rand"+o.toString()))}this._clearBuffer(),s.length>0&&(this.data.resourceTimingEntries=s)}}}class d extends o{constructor(e){super(e)}collectData(){this._readUserTimingEntries(),this.done()}_clearUserTimings(){window.performance&&(window.performance.clearMarks&&window.performance.clearMarks(),window.performance.clearMeasures&&window.performance.clearMeasures())}_getUserTimingEntries(e,t){var n,i,r,o=[];for(i=0;i<e.length;i++)(n=e[i])&&((r={}).entryType=t,r.name=n.name,r.startTime=n.startTime,r.duration=n.duration,o.push(r));return o}_readUserTimingEntries(){var e,t=[];window.performance&&"function"==typeof window.performance.getEntriesByType&&(this._config["user-timing-measure-enabled"]&&(e=window.performance.getEntriesByType("measure"),t=t.concat(this._getUserTimingEntries(e,"MEASURE"))),this._config["user-timing-mark-enabled"]&&(e=window.performance.getEntriesByType("mark"),t=t.concat(this._getUserTimingEntries(e,"MARK")))),this.data.userTimingEntries=t,this._clearUserTimings()}}class l extends o{constructor(e){super(e),this._started=!1}resetState(){}isAsync(){return!0}collectData(){this._started||(this._started=!0,this._getCDNData())}_getCDNData(){let e=window.location.protocol,t=this._parent._config.xcndUrl,n=new XMLHttpRequest,i=this,r="",o="",a="";this.data.usedCDN={static_domain:r,ip_version:a,http_version:a},0===e.lastIndexOf("http",0)&&null!==t?(n.onreadystatechange=function(){var e=this.readyState?this:n;if(4===e.readyState){if(200===e.status){try{r=e.getResponseHeader("X-CDN"),o=e.getResponseHeader("X-CDN-CLIENT-IP-VERSION"),a=e.getResponseHeader("X-CDN-Proto")}catch(e){console.log("Canot read the X-CDN header possibly because of CORS restrictions")}i.data.usedCDN.static_domain=null===r?"":r,i.data.usedCDN.ip_version=null===o?"":o.toLowerCase(),i.data.usedCDN.http_version=null===a?"":a.toLowerCase()}else console.log("CDN request did not return a HTTP 200. Status: "+e.status);i.done()}},n.open("HEAD",t,!0),n.send()):this.done()}}class u extends o{constructor(e){super(e),this._started=!1}resetState(){}isAsync(){return!0}collectData(){this._started||(this._started=!0,this._getPoPData())}_getPoPData(){var e=window.location,t=e.protocol,n=t+"//"+e.host+"/fizzy/admin?"+(new Date).getTime(),i=new XMLHttpRequest,r=this;0===t.lastIndexOf("http",0)?(i.onreadystatechange=function(){var e=this.readyState?this:i;4===e.readyState&&(e.status>=200&&e.status<400?(r.data.pointOfPresenceId=e.getResponseHeader("X-Li-Pop"),r.data.rawXLiFabricHeader=e.getResponseHeader("X-Li-Fabric"),r.data.httpVersion=e.getResponseHeader("X-Li-proto")):console.log("PoP request was not successful. Status: "+e.status),r.done())},i.open("get",n,!0),i.send()):this.done()}}class h extends o{constructor(e){super(e),this.data.longTasks=[],this._longTaskFields=["duration","name","startTime"],this._observer=new PerformanceObserver(e=>{e.getEntries().forEach(e=>{let t={};for(let n=0;n<this._longTaskFields.length;n++){let i=this._longTaskFields[n];void 0!==e[i]&&(t[i]=e[i])}this.data.longTasks.push(t)})});try{this._observer.observe({entryTypes:["longtask"]})}catch(e){console.log("Longtask api is not supported")}}resetState(){this._complete=!1,this.data={},this.data.longTasks=[]}collectData(){this.done()}}class g extends o{constructor(e){super(e)}collectData(){this._readNetworkInformation(),this.done()}_readNetworkInformation(){if(navigator&&navigator.connection){let e={},t=navigator.connection.downlinkMax;e.connectionType=void 0===navigator.connection.type?"UNKNOWN":navigator.connection.type.toUpperCase(),e.effectiveType=this._formatEffectiveType(navigator.connection.effectiveType),e.roundTripTime=void 0===navigator.connection.rtt?-1:navigator.connection.rtt,e.downlinkBandwidth=void 0===navigator.connection.downlink?-1:navigator.connection.downlink,e.downlinkMaxBandwidth=void 0===t?-1:t===1/0?0:navigator.connection.downlinkMax,this.data.networkInformationMetrics=e}}_formatEffectiveType(e){return"2g"===e?"TWO_G":"3g"===e?"THREE_G":"4g"===e?"FOUR_G":"SLOW_2G"}}class p{constructor(e){this._resetState(!1),this._defaults={enabled:!0,"beacon-url":"/li/track","beacon-service":"tracking","event-name":"RealUserMonitoringEvent","topic-name":"RealUserMonitoringEvent","app-id":"linkedin.rum.tracking","is-single-page-app":!0,"cross-origin":!1,"beacon-timeout":3e4,"request-sampling-rate":.01,"user-timing-mark-enabled":!1,"user-timing-measure-enabled":!0,"beacon-source":"apps","page-key-prefix":"","navigation-timing-only":!1,"pathname-depth":-1,"lazy-image-class-names":["lazy-image"],"enable-cdn-tracking":!1,"enable-pop-tracking":!1,"async-plugins-timeout":5e3},this._config=i(this._defaults,e),this._config.enabled&&(this._config.readyState||(this._config.readyState=document.readyState),this._config.xcndUrl=null,this._config["navigation-timing-only"]?this._config["enable-rs-timing"]=this._config["enable-rs-timing"]||!1:this._config["enable-rs-timing"]=!1!==this._config["enable-rs-timing"],this._config.plugins=[new a(this),new s(this),new c(this),new d(this),new g(this)],this._config["enable-cdn-tracking"]&&this._config.plugins.push(new l(this)),this._config["enable-pop-tracking"]&&this._config.plugins.push(new u(this)),"function"==typeof PerformanceObserver&&"function"==typeof PerformanceLongTaskTiming&&this._config.plugins.push(new h(this)),this._isInitialLoad=!0,this._initialStartTime=void 0,this._renderCompleteCount=0,this._isLazyRender=!1,this._allBeaconData=[],this._csrfToken="",this._isInternalApp=!1,this._config["beacon-source"]&&"internal-apps"===this._config["beacon-source"]&&(this._isInternalApp=!0,"lite"!==this._config["beacon-service"]&&"https://www.linkedin-ei.com/lite/rum-track"!==this._config["beacon-url"]&&"/li/track"!=this._config["beacon-url"]||(this._config["beacon-service"]="tracking",this._config["beacon-url"]="https://lca1-mobile-tracking-frontend-vip-1.corp.linkedin.com/li/track/")),this._onLoad=()=>{setTimeout(()=>{this._collectPluginData()},500)},this._onUnload=()=>{this._collectPluginData()},this._config["navigation-timing-only"]?"complete"===this._config.readyState?this._onLoad():window.addEventListener("load",this._onLoad):window.addEventListener("unload",this._onUnload))}destroy(){this._config["navigation-timing-only"]?window.removeEventListener("load",this._onLoad):(this._collectPluginData(),window.removeEventListener("unload",this._onUnload))}setPageKey(e){this._beaconData.pageKey=e}setCurrentUser(e){this._isInternalApp&&"string"==typeof e&&(this._beaconData.sessionID=e)}appTransitionStart(e){(e||this._renderCompleteCount>0)&&(this._collectPluginData(),this._beaconData.navigationStart=r(),this._isInitialLoad=!1)}appRenderComplete(){this._renderCompleteCount++,this._beaconData.renderCompleteTime=r(),this._timeOutVal||(this._timeOutVal=setTimeout(()=>{this._collectPluginData()},this._config["beacon-timeout"]))}addTreeId(e,t){if(this._config.plugins&&this._config.plugins.length>2){var n=this._config.plugins[2];n&&n.addTreeId(e,t)}}appViewRenderStart(e,t){this._viewTimings[e]={renderName:t||e,viewName:t,viewId:e,renderStart:r()}}appViewRenderComplete(e,t){this._viewTimings[e]&&(this._viewTimings[e].renderEnd=r())}setDeepLinkTrackingId(e){this._shouldSendBeacon=!1}setWindowHiddenState(e){this._beaconData.isImpactedByHiddenWindow=e}setPageInstance(e){this._beaconData.pageInstance=e}setIsLazyRender(e){this._isLazyRender=e}getConfig(){return this._config}pluginDone(){for(var e,t=0;t<this._config.plugins.length;t++)if((e=this._config.plugins[t]).isAsync()&&!e.isComplete())return!1;setTimeout(()=>{this._sendAllData()},500)}_resetState(e){this._beaconData={},this._viewTimings={},this._scrollTime=void 0,this._shouldSendBeacon=!0,this._timeOutVal&&(clearTimeout(this._timeOutVal),this._timeOutVal=void 0),e&&this._config.plugins.map(e=>{e.resetState()})}_readRenderTimingEntries(){if(Object.keys(this._viewTimings).length>0)for(var e in this._beaconData.detailedRenderTimingEntries=[],this._viewTimings)this._viewTimings.hasOwnProperty(e)&&this._beaconData.detailedRenderTimingEntries.push(this._viewTimings[e])}_collectPluginData(){var e=!0;this._config.enabled&&(this._config.plugins.map(function(t){t.collectData(),t.isComplete()||(e=!1)}),this._pushCurrentBeaconData(),e?this._sendAllData():setTimeout(()=>{this._markAllAsyncPluginComplete()},this._config["async-plugins-timeout"]),this._resetState(!0))}_markAllAsyncPluginComplete(){this._config.plugins.map(function(e){e.isAsync()&&e.markComplete()}),this._sendAllData()}_doesNotHaveLazyImageClass(e){var t,n=!0,i=this._config["lazy-image-class-names"];if(e&&e.className&&i)for(t=i.length-1;t>=0;t--)e.className.indexOf(i[t])>-1&&(n=!1);return n}_doesElementOverlapWithViewport(e){var t,n=e.getBoundingClientRect();return!((t={top:Math.max(n.top,0),left:Math.max(n.left,0),bottom:Math.min(n.bottom,window.innerHeight||doc.documentElement.clientHeight),right:Math.min(n.right,window.innerWidth||doc.documentElement.clientWidth)}).bottom<=t.top||t.right<=t.left)}_getImgResourceEntries(){var e,t,n=[],i=this._beaconData.resourceTimingEntries;if(i)for(e=i.length-1;e>=0;e--)"img"===(t=i[e]).initiatorType&&n.push(t);return n}_cleanUpResourceTimingEntries(){var e;if(this._beaconData.resourceTimingEntries)for(e=this._beaconData.resourceTimingEntries.length-1;e>=0;e--)this._beaconData.resourceTimingEntries[e].name&&(this._beaconData.resourceTimingEntries[e].name=this._beaconData.resourceTimingEntries[e].name.split(/[?#]/)[0])}_readPageKey(){this._beaconData&&!this._beaconData.pageKey&&this._isInitialLoad&&(this._beaconData.pageKey=this._getPageKey()),this._isInternalApp&&("EMBER"===this._config["web-ui-framework"]&&void 0!==this._beaconData.pageKey?this._beaconData.pageKey=this._config["page-key-prefix"]+":"+this._beaconData.pageKey:document.querySelector('meta[name="pageKey"]')||(this._beaconData.pageKey=this._config["page-key-prefix"]+":",this._config["pathname-depth"]>-1?this._beaconData.pageKey+=window.location.pathname.split(/[\/#]/).slice(0,this._config["pathname-depth"]+1).join("/"):this._beaconData.pageKey+=window.location.pathname))}_getPageKey(){var e=document.querySelector('meta[name="pageKey"]');return e?e.getAttribute("content"):document.body.id?document.body.id.substring("pagekey-".length):""}_getRenderingMode(){var e,t=document.querySelector('meta[name="renderingMode"]');return t&&"BIGPIPE"===(e=t.getAttribute("data-mode"))&&(e="BIG_PIPE"),e}_doesRenderErrorCodeBlockExists(){return null!=document.querySelector("code#renderError")}_readSinglePageAppData(){this._beaconData.isSinglePageApp=this._config["is-single-page-app"],this._beaconData.isSinglePageApp&&(this._beaconData.webUIFramework=this._config["web-ui-framework"],this._beaconData.appRenderMode=this._getRenderingMode(),this._isInitialLoad?(this._beaconData.pageLoadMode="INITIAL",this._doesRenderErrorCodeBlockExists()&&(this._beaconData.isAppRenderFailed=!0)):this._beaconData.pageLoadMode="PARTIAL")}_sendAllData(){for(var e,t,n={},r=0;r<this._config.plugins.length;r++)(e=this._config.plugins[r]).isAsync()&&(n=i(n,e.getData()));for(r=0;r<this._allBeaconData.length;r++)t=i(this._allBeaconData[r],n),this._sendBeacon(t);this._allBeaconData=[]}_pushCurrentBeaconData(){var e;(e=this._getBeaconAndPluginData())&&this._allBeaconData.push(i({},e))}_readIsSSL(){window&&window.location&&(this._beaconData.isSSL="https:"===window.location.protocol?1:0)}_getBeaconAndPluginData(){if(this._readPageKey(),this._readSinglePageAppData(),this._readRenderTimingEntries(),this._readIsSSL(),this._config["app-version"]&&(this._beaconData.appVersion=this._config["app-version"]),this._config.plugins.map(e=>{this._beaconData=i(this._beaconData,e.getData())}),"navigationStart"in this._beaconData&&this._shouldSendBeacon){if(this._initialStartTime||(this._initialStartTime=this._beaconData.navigationStart),this._beaconData.boomerangStart=this._initialStartTime,this._cleanUpResourceTimingEntries(),this._beaconData.isSinglePageApp)if("renderCompleteTime"in this._beaconData)this._beaconData.timeDone=this._beaconData.renderCompleteTime-this._beaconData.navigationStart;else if(!this._config["navigation-timing-only"])return;return this._beaconData}}_sendBeacon(e){if(this._config.enabled)try{if(this._fireTrackingBeacon(e),"undefined"!=typeof CustomEvent){var t=new CustomEvent("RUMEvent",{detail:e});document.dispatchEvent(t)}}catch(e){}}_fireTrackingBeacon(e){var t,n={eventInfo:{eventName:this._config["event-name"],topicName:this._config["topic-name"],appId:this._config["app-id"]},eventBody:e};e.header={pageInstance:e.pageInstance},e.requestHeader={pageKey:e.pageKey},n.eventBody.trackingTime=-1,(t=new XMLHttpRequest).open("POST",this._config["beacon-url"],!0),t.setRequestHeader("content-type","application/json"),this._csrfToken||(this._csrfToken=this._getCsrfToken()),t.setRequestHeader("Csrf-Token",this._csrfToken),t.send(JSON.stringify([n]))}_getCookieString(){return document.cookie}_getCsrfToken(){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""}}let f=null;var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function v(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var _,y=(function(e,t){e.exports=function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var c=v;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return r(n||e)},l,l.exports,e,t,n,i)}return n[a].exports}for(var o=v,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(e,t,n){var i=e("./navigation-storage"),r=e("./types"),o=e("./utils"),a=e("@linkedin/web-tracking-transport"),s=e("core-js/library/fn/object/assign"),c=10,d=10,l=function(){function e(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=o.derivePageInstanceFromString(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 r=i.getNavigationInfo();r&&(e.previousPageInstance=r.prevInstance),Object.freeze(this.config.eventHeaderProperties),Object.freeze(this.config.userRequestHeaderProperties),Object.freeze(this.config),a.setTrackingUrl(this.config.trackingUrl),a.maxQueueSize=this.config.requestBatchingMaxQueueSize||c,a.queueTimeout=1e3*(this.config.requestBatchingMaxWaitSeconds||d),this.state={currentPageInstance:e.initialPageInstance,previousPageInstance:e.previousPageInstance||null};var s=this.config.prevControlName||(r?r.controlName:null);this.fireNavigationEvent(this.state.previousPageInstance,s),t||this.firePageViewEvent(),this._boundDocumentClickHandler=this._handleDocumentClicks.bind(this),document&&document.body.addEventListener("click",this._boundDocumentClickHandler,!0),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 e.prototype._handleDocumentClicks=function(e){for(var t=e.target,n=t;n!==e.currentTarget&&!n.hasAttribute("data-tracking-control-name");)n=n.parentElement;if(n!==e.currentTarget){var i=n.getAttribute("data-tracking-control-name"),r=n.hasAttribute("data-tracking-will-navigate"),o=!n.hasAttribute("data-tracking-no-cie"),a=n.getAttribute("data-tracking-href")||n.getAttribute("href");o&&this.fireControlInteractionEvent(i),r&&this.saveStateForPageDeparture({controlName:i,href:a})}},e.prototype._handleWindowBeforeUnload=function(e){var t=e.target,n=t.activeElement,i=n,r=null,o=!1;if(n){for(;i!==e.currentTarget&&("function"!=typeof i.hasAttribute||!i.hasAttribute("data-tracking-control-name"))&&i.parentElement;)i=i.parentElement;i!==e.currentTarget&&("getAttribute"in i&&(r=i.getAttribute("data-tracking-control-name")),"hasAttribute"in i&&(o=i.hasAttribute("data-tracking-will-navigate")))}o||this.fireExternalNavigationEvent(r)},e.prototype._handleDocumentVisibilityChange=function(e){var t=!1;if(void 0!==document.msHidden)t=document.msHidden;else{if(void 0===document.hidden)return;t=document.hidden}this.firePageVisibilityChangeEvent(t)},e.prototype.saveStateForPageDeparture=function(e){if(e){var t=e.controlName,n=e.href;i.addNavigationInfo({controlName:t,href:n,prevInstance:this.state.currentPageInstance})}},e.prototype.fireControlInteractionEvent=function(e,t,n){if(void 0===t&&(t=r.ControlInteractionType.SHORT_PRESS),void 0===n&&(n={}),!e)throw new Error("controlName is required.");var i=o.derivePageKeyFromUrn(this.state.currentPageInstance.pageUrn),a=n.uiControlPageKey||i;this.fireTrackingEvent(r.EventTypes[r.EventTypes.ControlInteractionEvent],{requestHeader:{},header:{},controlUrn:o.generateControlUrn(e,a),interactionType:r.ControlInteractionType[t]},n)},e.prototype.fireNavigationEvent=function(e,t,n){void 0===n&&(n={});var i=e?o.derivePageKeyFromUrn(e.pageUrn):null,a=n.uiControlPageKey||i;this.fireTrackingEvent(r.EventTypes[r.EventTypes.NavigationEvent],{requestHeader:{},header:{},previousPageInstance:e,triggerControlUrn:o.generateControlUrn(t,a)},n)},e.prototype.fireExternalNavigationEvent=function(e,t){void 0===t&&(t={});var n=t.uiControlPageKey||o.derivePageKeyFromUrn(this.state.currentPageInstance.pageUrn);this.fireTrackingEvent(r.EventTypes[r.EventTypes.ExternalNavigationEvent],{requestHeader:{},header:{},triggerControlUrn:o.generateControlUrn(e,n)},t,!0)},e.prototype.firePageViewEvent=function(e,t){void 0===t&&(t={});var n=(t=s({},t)).pageViewPageType||r.PageViewPageType.AJAX,i=o.derivePageKeyFromUrn(this.state.currentPageInstance.pageUrn),a=e||i;this.fireTrackingEvent(r.EventTypes[r.EventTypes.PageViewEvent],{requestHeader:{pageKey:a},header:{},pageType:r.PageViewPageType[n].toLowerCase(),trackingInfo:{clientTimestamp:Date.now().toString()}},t)},e.prototype.fireAnchorPageViewEvent=function(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("newPageKey is required.");var i=s({},this.state.currentPageInstance),r=o.generatePageInstance(e);this.state.previousPageInstance=i,this.state.currentPageInstance=r,this.fireNavigationEvent(i,t,n),this.firePageViewEvent(e,n)},e.prototype.firePageVisibilityChangeEvent=function(e,t){void 0===t&&(t={}),this.fireTrackingEvent(r.EventTypes[r.EventTypes.PageVisibilityChangeEvent],{requestHeader:{},header:{},isVisible:!e},t)},e.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=s({},t),(n=s({},n)).topicName||(n.topicName=e),n.pageInstance||(n.pageInstance=this.state.currentPageInstance);var r=s({pageKey:o.derivePageKeyFromUrn(n.pageInstance.pageUrn),path:window.location.href,referer:o.getReferrer(document),trackingCode:o.getTrackingCode(document)},this.config.userRequestHeaderProperties,t.requestHeader);delete t.requestHeader,delete t.header.pageInstance;var c=s({pageInstance:n.pageInstance,time:Date.now()},this.config.eventHeaderProperties,t.header);delete t.header;var d=s({requestHeader:r,header:c},t),l={eventName:e,topicName:n.topicName,appId:this.config.appId};this.config.validationMode?a.validateEvent(l,d,function(t,n){t&&console.error("Event "+e+" failed validation!")}):(a.sendEvent(l,d),i&&a.flush())},e.prototype.destroy=function(){document.removeEventListener("click",this._boundDocumentClickHandler,!0)},e.createFromPageKey=function(t,n){return t.initialPageInstance=o.generatePageInstance(n),new e(t)},e}();n.AppTrackingInstance=l},{"./navigation-storage":3,"./types":4,"./utils":5,"@linkedin/web-tracking-transport":6,"core-js/library/fn/object/assign":7}],2:[function(e,t,n){var i=e("./app-tracking-instance");n.AppTrackingInstance=i.AppTrackingInstance;var r=e("./types");n.ControlInteractionType=r.ControlInteractionType,n.EventTypes=r.EventTypes,n.PageViewPageType=r.PageViewPageType,function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(e("./utils"));var o=e("@linkedin/web-tracking-transport");n.webTrackingTransport=o},{"./app-tracking-instance":1,"./types":4,"./utils":5,"@linkedin/web-tracking-transport":6}],3:[function(e,t,n){var i="li_trk_navigation",r="undefined";function o(){if(typeof window!==r&&typeof window.localStorage!==r)try{return JSON.parse(window.localStorage.getItem(i))}catch(e){}}function a(e){if(typeof window!==r&&typeof window.localStorage!==r)try{window.localStorage.setItem(i,JSON.stringify(e))}catch(e){}}n.getNavigationInfo=function(){var e=window.location.pathname,t=e+window.location.search,n=window.location.href,i=o();if(!i)return null;for(var r=0;r<i.length;r++){var s=i[r],c=s.href;if(c===e||c===t||c===n){var d=i.splice(r,1)[0];return a(i),d}}return null},n.addNavigationInfo=function(e){var t=o()||[];t.push(e),a(t)}},{}],4:[function(e,t,n){!function(e){e[e.FOCUS=0]="FOCUS",e[e.UNFOCUS=1]="UNFOCUS",e[e.KEYBOARD_SUBMIT=2]="KEYBOARD_SUBMIT",e[e.DRAG=3]="DRAG",e[e.PINCH_OPEN=4]="PINCH_OPEN",e[e.PINCH_CLOSE=5]="PINCH_CLOSE",e[e.DOUBLE_PRESS=6]="DOUBLE_PRESS",e[e.LONG_PRESS=7]="LONG_PRESS",e[e.SHORT_PRESS=8]="SHORT_PRESS",e[e.SWIPE_UP=9]="SWIPE_UP",e[e.SWIPE_DOWN=10]="SWIPE_DOWN",e[e.SWIPE_LEFT=11]="SWIPE_LEFT",e[e.SWIPE_RIGHT=12]="SWIPE_RIGHT",e[e.FLICK_UP=13]="FLICK_UP",e[e.FLICK_DOWN=14]="FLICK_DOWN",e[e.FLICK_LEFT=15]="FLICK_LEFT",e[e.FLICK_RIGHT=16]="FLICK_RIGHT",e[e.SHAKE=17]="SHAKE",e[e.KEYBOARD_NEXT=18]="KEYBOARD_NEXT",e[e.HOVER=19]="HOVER"}(n.ControlInteractionType||(n.ControlInteractionType={})),n.ControlInteractionType,function(e){e[e.FULL=1]="FULL",e[e.AJAX=2]="AJAX",e[e.IFRAME=3]="IFRAME",e[e.REDIRECT=4]="REDIRECT",e[e.API=5]="API",e[e.FORM=6]="FORM",e[e.ROUTER=7]="ROUTER",e[e.ERROR=8]="ERROR"}(n.PageViewPageType||(n.PageViewPageType={})),n.PageViewPageType,function(e){e[e.PageViewEvent=0]="PageViewEvent",e[e.NavigationEvent=1]="NavigationEvent",e[e.ExternalNavigationEvent=2]="ExternalNavigationEvent",e[e.ControlInteractionEvent=3]="ControlInteractionEvent",e[e.PageVisibilityChangeEvent=4]="PageVisibilityChangeEvent"}(n.EventTypes||(n.EventTypes={})),n.EventTypes},{}],5:[function(e,t,n){var i=e("uuid");function r(e){return e?"urn:li:page:"+e:null}function o(){var e=new Array(16);return i.v4(null,e),function(e){for(var t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=[],r=0,o=e.length,a=o%3,s=o-a;r<s;)t=e[r]<<16,t|=e[r+1]<<8,t|=e[r+2],i.push(n.charAt(t>>>18&63)),i.push(n.charAt(t>>>12&63)),i.push(n.charAt(t>>>6&63)),i.push(n.charAt(63&t)),r+=3;switch(a){case 2:t=e[r]<<16,t|=e[r+1]<<8,i.push(n.charAt(t>>>18&63)),i.push(n.charAt(t>>>12&63)),i.push(n.charAt(t>>>6&63)),i.push("=");break;case 1:t=e[r]<<16,i.push(n.charAt(t>>>18&63)),i.push(n.charAt(t>>>12&63)),i.push("="),i.push("=")}return i.join("")}(e)}n.generatePageUrn=r,n.generateControlUrn=function(e,t){return e&&t?"urn:li:control:"+t+"-"+e:null},n.derivePageKeyFromUrn=function(e){return e?e.split(":").pop():null},n.generatePageInstance=function(e,t){return e?{trackingId:t||o(),pageUrn:r(e)}:null},n.stringifyPageInstance=function(e){return e?e.pageUrn+";"+e.trackingId:null},n.derivePageInstanceFromString=function(e){if("string"!=typeof e)return null;var t=e.split(";");return 2===t.length?{pageUrn:t[0],trackingId:t[1]}:null},n.generateTrackingId=o,n.getReferrer=function(e){return e&&e.referrer},n.getTrackingCode=function(e){if(e&&e.URL){var t=e.URL.match(/trk=([^&]+)/);if(t&&2===t.length)return t[1]}return null}},{uuid:44}],6:[function(e,t,n){!function(e,i){if(void 0!==n&&void 0!==t)i(0,t);else{var r={exports:{}};i(0,r),e.webTrackingTransport=r.exports}}(this,function(e,t){var n="undefined"!=typeof window&&window&&"node"!==window.appEnvironment,i=n&&!!window.requestIdleCallback,r={AJAX_METHOD:"POST",DEFAULT_PAGE_TYPE:"ajax",globalTrackingUrl:null,globalTrackingAppId:"no.app.id",queue:[],paused:!1,maxQueueSize:1,queueTimeout:1e3,timeoutId:null,csrfToken:"",testId:"",testSegId:"",setProperty:function(e,t){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},ajax:function(e,t,n,i){var r;(i=i||this.globalTrackingUrl)?(r=this.createXmlHttpObject())&&(r.open(this.AJAX_METHOD,i,!0),r.withCredentials=!0,r.setRequestHeader("Content-type","application/json"),this.csrfToken?r.setRequestHeader("Csrf-Token",this.csrfToken):r.setRequestHeader("Csrf-Token",this.getCsrfToken()),this.testId&&r.setRequestHeader("X-LinkedIn-traceDataContext-ENG_TEST_ID",this.testId),this.testSegId&&r.setRequestHeader("X-LinkedIn-traceDataContext-ENG_TEST_SEGMENT_ID",this.testSegId),r.onreadystatechange=function(){4===r.readyState&&(200===r.status||304===r.status?"function"==typeof t&&t(r):n&&n(r))},4!==r.readyState&&r.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.ajax(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.ajax(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(){var e=this;this.setTrackingUrl(),this.setAppId(),n&&window.addEventListener("beforeunload",function(){e.flush.call(e)})}};r.init(),t.exports=r})},{}],7:[function(e,t,n){e("../../modules/es6.object.assign"),t.exports=e("../../modules/_core").Object.assign},{"../../modules/_core":12,"../../modules/es6.object.assign":42}],8:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],9:[function(e,t,n){var i=e("./_is-object");t.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":25}],10:[function(e,t,n){var i=e("./_to-iobject"),r=e("./_to-length"),o=e("./_to-index");t.exports=function(e){return function(t,n,a){var s,c=i(t),d=r(c.length),l=o(a,d);if(e&&n!=n){for(;d>l;)if((s=c[l++])!=s)return!0}else for(;d>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},{"./_to-index":35,"./_to-iobject":37,"./_to-length":38}],11:[function(e,t,n){var i={}.toString;t.exports=function(e){return i.call(e).slice(8,-1)}},{}],12:[function(e,t,n){var i=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=i)},{}],13:[function(e,t,n){var i=e("./_a-function");t.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":8}],14:[function(e,t,n){t.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},{}],15:[function(e,t,n){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":19}],16:[function(e,t,n){var i=e("./_is-object"),r=e("./_global").document,o=i(r)&&i(r.createElement);t.exports=function(e){return o?r.createElement(e):{}}},{"./_global":20,"./_is-object":25}],17:[function(e,t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],18:[function(e,t,n){var i=e("./_global"),r=e("./_core"),o=e("./_ctx"),a=e("./_hide"),s=function e(t,n,s){var c,d,l,u=t&e.F,h=t&e.G,g=t&e.S,p=t&e.P,f=t&e.B,m=t&e.W,v=h?r:r[n]||(r[n]={}),_=v.prototype,y=h?i:g?i[n]:(i[n]||{}).prototype;for(c in h&&(s=n),s)(d=!u&&y&&void 0!==y[c])&&c in v||(l=d?y[c]:s[c],v[c]=h&&"function"!=typeof y[c]?s[c]:f&&d?o(l,i):m&&y[c]==l?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):p&&"function"==typeof l?o(Function.call,l):l,p&&((v.virtual||(v.virtual={}))[c]=l,t&e.R&&_&&!_[c]&&a(_,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},{"./_core":12,"./_ctx":13,"./_global":20,"./_hide":22}],19:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],20:[function(e,t,n){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},{}],21:[function(e,t,n){var i={}.hasOwnProperty;t.exports=function(e,t){return i.call(e,t)}},{}],22:[function(e,t,n){var i=e("./_object-dp"),r=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},{"./_descriptors":15,"./_object-dp":27,"./_property-desc":32}],23:[function(e,t,n){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":15,"./_dom-create":16,"./_fails":19}],24:[function(e,t,n){var i=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},{"./_cof":11}],25:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],26:[function(e,t,n){var i=e("./_object-keys"),r=e("./_object-gops"),o=e("./_object-pie"),a=e("./_to-object"),s=e("./_iobject"),c=Object.assign;t.exports=!c||e("./_fails")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){for(var n=a(e),c=arguments.length,d=1,l=r.f,u=o.f;c>d;)for(var h,g=s(arguments[d++]),p=l?i(g).concat(l(g)):i(g),f=p.length,m=0;f>m;)u.call(g,h=p[m++])&&(n[h]=g[h]);return n}:c},{"./_fails":19,"./_iobject":24,"./_object-gops":28,"./_object-keys":30,"./_object-pie":31,"./_to-object":39}],27:[function(e,t,n){var i=e("./_an-object"),r=e("./_ie8-dom-define"),o=e("./_to-primitive"),a=Object.defineProperty;n.f=e("./_descriptors")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},{"./_an-object":9,"./_descriptors":15,"./_ie8-dom-define":23,"./_to-primitive":40}],28:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],29:[function(e,t,n){var i=e("./_has"),r=e("./_to-iobject"),o=e("./_array-includes")(!1),a=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var n,s=r(e),c=0,d=[];for(n in s)n!=a&&i(s,n)&&d.push(n);for(;t.length>c;)i(s,n=t[c++])&&(~o(d,n)||d.push(n));return d}},{"./_array-includes":10,"./_has":21,"./_shared-key":33,"./_to-iobject":37}],30:[function(e,t,n){var i=e("./_object-keys-internal"),r=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return i(e,r)}},{"./_enum-bug-keys":17,"./_object-keys-internal":29}],31:[function(e,t,n){n.f={}.propertyIsEnumerable},{}],32:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],33:[function(e,t,n){var i=e("./_shared")("keys"),r=e("./_uid");t.exports=function(e){return i[e]||(i[e]=r(e))}},{"./_shared":34,"./_uid":41}],34:[function(e,t,n){var i=e("./_global"),r=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(e){return r[e]||(r[e]={})}},{"./_global":20}],35:[function(e,t,n){var i=e("./_to-integer"),r=Math.max,o=Math.min;t.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},{"./_to-integer":36}],36:[function(e,t,n){var i=Math.ceil,r=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?r:i)(e)}},{}],37:[function(e,t,n){var i=e("./_iobject"),r=e("./_defined");t.exports=function(e){return i(r(e))}},{"./_defined":14,"./_iobject":24}],38:[function(e,t,n){var i=e("./_to-integer"),r=Math.min;t.exports=function(e){return e>0?r(i(e),9007199254740991):0}},{"./_to-integer":36}],39:[function(e,t,n){var i=e("./_defined");t.exports=function(e){return Object(i(e))}},{"./_defined":14}],40:[function(e,t,n){var i=e("./_is-object");t.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":25}],41:[function(e,t,n){var i=0,r=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+r).toString(36))}},{}],42:[function(e,t,n){var i=e("./_export");i(i.S+i.F,"Object",{assign:e("./_object-assign")})},{"./_export":18,"./_object-assign":26}],43:[function(e,t,n){(function(e){var n,i=e.crypto||e.msCrypto;if(i&&i.getRandomValues){var r=new Uint8Array(16);n=function(){return i.getRandomValues(r),r}}if(!n){var o=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}t.exports=n}).call(this,void 0!==m?m:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(e,t,n){for(var i=e("./rng"),r=[],o={},a=0;a<256;a++)r[a]=(a+256).toString(16).substr(1),o[r[a]]=a;function s(e,t){var n=t||0,i=r;return i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+"-"+i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]+i[e[n++]]}var c=i(),d=[1|c[0],c[1],c[2],c[3],c[4],c[5]],l=16383&(c[6]<<8|c[7]),u=0,h=0;function g(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||i)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var a=0;a<16;a++)t[r+a]=o[a];return t||s(o)}var p=g;p.v1=function(e,t,n){var i=t&&n||0,r=t||[],o=void 0!==(e=e||{}).clockseq?e.clockseq:l,a=void 0!==e.msecs?e.msecs:(new Date).getTime(),c=void 0!==e.nsecs?e.nsecs:h+1,g=a-u+(c-h)/1e4;if(g<0&&void 0===e.clockseq&&(o=o+1&16383),(g<0||a>u)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=a,h=c,l=o;var p=(1e4*(268435455&(a+=122192928e5))+c)%4294967296;r[i++]=p>>>24&255,r[i++]=p>>>16&255,r[i++]=p>>>8&255,r[i++]=255&p;var f=a/4294967296*1e4&268435455;r[i++]=f>>>8&255,r[i++]=255&f,r[i++]=f>>>24&15|16,r[i++]=f>>>16&255,r[i++]=o>>>8|128,r[i++]=255&o;for(var m=e.node||d,v=0;v<6;v++)r[i+v]=m[v];return t||s(r)},p.v4=g,p.parse=function(e,t,n){var i=t&&n||0,r=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){r<16&&(t[i+r++]=o[e])});r<16;)t[i+r++]=0;return t},p.unparse=s,t.exports=p},{"./rng":43}]},{},[2])(2)}(_={exports:{}},_.exports),_.exports);function w(e){let t=e.querySelector('meta[name="pageKey"]');return t?t.content+"_jsbeacon":""}function b(e){let t=e.querySelector('meta[name="locale"]');return t&&t.content||""}let E=null;function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.appId;let n=void 0===t?"seo":t,i=e.trackingCode;const r=w(document),o={appId:n,disableInitialAnchorPageViewEvent:!0,requestBatchingMaxWaitSeconds:.05};return i&&(o.userRequestHeaderProperties={trackingCode:i}),E||(E=y.AppTrackingInstance.createFromPageKey(o,r)),E.generateTrackingId=y.generateTrackingId,E}var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function S(e){"complete"===document.readyState?e():window.addEventListener("load",()=>{setTimeout(e)})}function k(e){const t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth,r=t.top<=n&&t.top+t.height>=0,o=t.left<=i&&t.left+t.width>=0;return r&&o}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method;let i=void 0===n?"GET":n;var r=t.headers;let o=void 0===r?{}:r;var a=t.sendCookies;let s=void 0===a||a;var c=t.skipCsrfToken;let d=void 0!==c&&c;var l=t.postData;let u=void 0===l?void 0:l;return new Promise((t,n)=>{const r=new XMLHttpRequest;if(r.addEventListener("load",function(){if(r.status>=200&&r.status<300||304===r.status)t({status:r.status,responseText:r.responseText});else{const t=new Error(`${i} request for ${e} has failed with status code ${r.status}`);t.response={status:r.status,responseText:r.responseText},n(t)}}),r.addEventListener("error",function(e){n(e)}),r.open(i,e,!0),r.withCredentials=s,Object.keys(o).forEach(e=>{r.setRequestHeader(e,o[e])}),!d){const e=function(e){const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t&&t[2]}("JSESSIONID");e&&r.setRequestHeader("Csrf-Token",function(e){return'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)?e.slice(1,-1):e}(e))}r.send(u)})}const C={className:"class"},D="A path to the asset must be provided";function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return Promise.reject(new Error(D));const n=I({focusable:"false"},t);return P(e,{sendCookies:!1,skipCsrfToken:!0}).then(e=>(function(e){return(new DOMParser).parseFromString(e,"image/svg+xml").firstChild})(e.responseText)).then(e=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).map(n=>{const i=C[n]||n;e.setAttribute(i,t[n])}),e})(e,n))}const A="An li-icon tag must be provided to inlineIcon";function L(e,t){if(!e)return Promise.reject(new Error(A));const n=e.getAttribute("class");return R(t,n?{className:n}:{}).then(t=>(e.appendChild(t),e.setAttribute("aria-hidden","true"),t))}const O=["IMG","IFRAME","VIDEO","SCRIPT"],N="SCRIPT",U="LI-ICON";class x{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.delayedUrlAttributeName;let n=void 0===t?"data-delayed-url":t;var i=e.delayedPosterAttributeName;let r=void 0===i?"data-delayed-poster":i;var o=e.delayedBackground;let a=void 0===o?"data-delayed-background":o;var s=e.lazyloadClassName;let c=void 0===s?"lazy-load":s;var d=e.lazyloadedClassName;let l=void 0===d?"lazy-loaded":d;var u=e.onLoadClassName;let h=void 0===u?"onload":u;var g=e.onErrorClassName;let p=void 0===g?"onerror":g;this.elementCache=[],this.onLoadClassName=h,this.onErrorClassName=p,this.delayedUrlAttributeName=n,this.delayedPosterAttributeName=r,this.delayedBackground=a,this.lazyloadClassName=c,this.lazyloadedClassName=l,this.lazyloadElSelector=`[${this.delayedUrlAttributeName}], .${this.lazyloadClassName}`,this.boundLoadVisibleImages=this.loadVisibleImages.bind(this),this.boundEvents=!1,this.scriptLoadPromises={},S(()=>this.refreshLoader())}getLazyLoadedJavascriptModule(e){return this.scriptLoadPromises[e]=this.scriptLoadPromises[e]||function(){let e,t;const n=new Promise((n,i)=>{e=n,t=i});return n.resolve=e,n.reject=t,n}(),this.scriptLoadPromises[e]}refreshLoader(){var e;this.elementCache=null==(e=document.querySelectorAll(this.lazyloadElSelector))||"object"!=typeof e?[]:Array.prototype.slice.call(e),this.loadVisibleImages(),this.elementCache.length&&!this.boundEvents&&this._attachEvents()}_attachEvents(){window.addEventListener("scroll",this.boundLoadVisibleImages,!0),window.addEventListener("touchmove",this.boundLoadVisibleImages,!0),window.addEventListener("resize",this.boundLoadVisibleImages,!0),this.boundEvents=!0}_detachEvents(){window.removeEventListener("scroll",this.boundLoadVisibleImages,!0),window.removeEventListener("touchmove",this.boundLoadVisibleImages,!0),window.removeEventListener("resize",this.boundLoadVisibleImages,!0),this.boundEvents=!1}lazyloadElOnload(e){if(e.classList.remove(this.lazyloadClassName),e.classList.add(this.lazyloadedClassName),e.tagName===N){const t=e.dataset.moduleId;this.getLazyLoadedJavascriptModule(t).resolve(window[t])}}lazyloadOnerror(e){if(e.classList.remove(this.lazyloadClassName),e.classList.add(this.lazyloadedClassName),e.classList.add(this.onErrorClassName),e.tagName===N){const t=e.dataset.moduleId;this.getLazyLoadedJavascriptModule(t).reject(new Error(`Could not lazy load JS with src ${e.src}`))}}loadVisibleImages(){let e=0;for(;e<this.elementCache.length;){let t=this.elementCache[e];if(t.tagName===N||t.classList.contains(this.onLoadClassName)||k(t)){const n=t.getAttribute(this.delayedUrlAttributeName);n&&t.tagName===U?L(t,n).then(e=>{this.lazyloadElOnload(e),this.lazyloadElOnload(t)}).catch(()=>this.lazyloadOnerror(t)):n&&-1!==O.indexOf(t.tagName)?(t.onerror=this.lazyloadOnerror.bind(this,t),t.onload=t.oncanplay=this.lazyloadElOnload.bind(this,t),t.src=n):(n&&t.hasAttribute(this.delayedBackground)&&(t.style.backgroundImage=`url("${n}")`),this.lazyloadElOnload(t)),"VIDEO"===t.tagName&&(t.poster=t.getAttribute(this.delayedPosterAttributeName)),t.removeAttribute(this.delayedUrlAttributeName),this.elementCache.splice(e,1)}else e++}this.elementCache.length||this._detachEvents()}}let q=null;const j="SEOPageMetadataEvent";function H(e,t,n){if(!e)throw Error("AppTrackingInstance must be provided to SeoBeaconTracking");if(!n)throw Error("A url to the worker javascript must be provided to SeoBeaconTracking");return window.Worker&&window.URL&&window.Blob&&t&&t.documentElement?P(n,{sendCookies:!1,skipCsrfToken:!0}).then(n=>{let i=n.responseText,r=new Worker(window.URL.createObjectURL(new Blob([i])));return r.onmessage=t=>{if(t.data){let n=t.data;!function(e,t){let n=I({header:{},requestHeader:{}},t);e.fireTrackingEvent(j,n)}(e,n)}},r.postMessage(t.documentElement.innerHTML),r}):Promise.resolve(void 0)}const M="warn";let B={};B["error"]=console.error,B[M]=console.warn;Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector;class z{constructor(){this.perfData=window.performance.timing,this.pageKey=w(document)}_getPageLoadTime(){if(!this.perfData)throw new Error("Cannot get page load time because performance.timing unavailable!");return this.perfData.loadEventEnd-this.perfData.navigationStart}fireIngraphsRequest(e){if(!e&&"string"!=typeof e)throw new Error("No API path provided!");if(!this.pageKey)throw new Error("No page-key found!");const t=this._getPageLoadTime();P(e,{method:"POST",headers:{"Content-Type":"application/json"},postData:JSON.stringify({pageKey:this.pageKey,metricsType:"pageLoadTime",metricsValue:t})})}}const F="[data-impression-id]",V="data-impression-id",K={observeComponents:()=>{},unobserveComponents:()=>{},handleDynamicElements:()=>{}};class W{constructor(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.threshold;let r=void 0===i?.9:i;var o=n.root;let a=void 0===o?null:o;var s=n.rootMargin;let c=void 0===s?"0px":s;if(!("IntersectionObserver"in window))return K;this.root=a,this.threshold=r,this.rootMargin=c,this.trackingInstance=t,this.queuedImpressions=[];const d={root:this.root,rootMargin:this.rootMargin,threshold:this.threshold};this.intersectionObserverInstance=new e(this._handleObservedNodes.bind(this),d),this.observeComponents()}observeComponents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[...document.querySelectorAll(F)];this.intersectionObserverInstance&&e.forEach(e=>{this.intersectionObserverInstance.observe(e)})}unobserveComponents(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach(e=>{this.intersectionObserverInstance.unobserve(e),e.removeAttribute(V)})}_returnImpressionMetaData(e){return e.getAttribute(V)}_isNodeVisible(e){return e.intersectionRatio>=this.threshold}_handleObservedNodes(e){if(this.intersectionObserverInstance){const t=e.filter(e=>this._isNodeVisible(e)).map(e=>{return e.target}),n=t.map(this._returnImpressionMetaData);this.queuedImpressions=this.queuedImpressions.concat(n),this.unobserveComponents(t),this._dispatchEvent()}}_dispatchEvent(){!function(e,t){const n=b(document),i={};n&&(i.interfaceLocale=n);const r={header:{},requestHeader:i,moduleNames:t};e.fireTrackingEvent("ViewModuleImpressionEvent",r)}(this.trackingInstance,this.queuedImpressions),this.queuedImpressions=[]}handleDynamicElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(this.intersectionObserverInstance){const t=[...e.querySelectorAll(F)];t.length>0&&this.observeComponents(t)}}}const X=document.getElementById("config");let G,J,$;function Q(e,t){window[e]&&window[e].resolve?window[e].resolve(t):window[e]=Promise.resolve(t)}X&&X.dataset&&(G=X.dataset.appId||void 0,J=X.dataset.customTrackingCode||void 0,$=X.dataset.trackingPageType||void 0),Q("lazyloader",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return q=q||new x(e)}()),S(()=>{const i=T({appId:G,trackingCode:J});if(Q("tracking",i),Q("impressionTracking",new W(window.IntersectionObserver,i)),function(){let i=["c1=2","c2=6402952","c3=","c4=","c5=","c6=","c15="];i.push(`${n}_t=${Date.now()}`),i.push(`${n}c=${document.characterSet||document.defaultCharset||""}`),i.push(`c8=${e(document.title)}`),i.push(`c7=${e(document.URL)}`);const r=document.referrer&&document.referrer.split("?")[0]||"";i.push(`c9=${e(r)}`);const o=t+i.join("&");let a=new Image;a.src=o}(),f||(f=new p({"is-single-page-app":!1,"navigation-timing-only":!0,"enable-rs-timing":!0,"enable-cdn-tracking":!0,"enable-pop-tracking":!0,"request-sampling-rate":1})),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ajax";const n=function(e){let t=e.querySelector('meta[name="linkedin:pageTag"]');return t&&t.content||""}(document),i=b(document);let r={clientTimestamp:Date.now(),pageTag:n},o={};i&&(o.interfaceLocale=i);const a={header:{},requestHeader:o,pageType:t,trackingInfo:r};e.fireTrackingEvent("PageViewEvent",a)}(i,$),setTimeout(()=>{H(i,document,function(e){let t=e.querySelector('meta[name="seoBeaconWorkerUrl"]');return t&&t.content||""}(document))}),null!==document.querySelector('meta[name="clientSideIngraphs"]')){(new z).fireIngraphsRequest(function(){const e=document.querySelector('meta[name="apiPath"]');if(!e)throw new Error("No API path found!");return e.content}())}})}();
