iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://static.licdn.com/sc/h/d6rzdu8kjd03z19w75scqozl9
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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=117)}({0:function(e,t,n){"use strict";n.d(t,"k",(function(){return u})),n.d(t,"C",(function(){return l})),n.d(t,"n",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"g",(function(){return h})),n.d(t,"j",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"B",(function(){return g})),n.d(t,"i",(function(){return m})),n.d(t,"s",(function(){return y})),n.d(t,"p",(function(){return x})),n.d(t,"t",(function(){return E})),n.d(t,"A",(function(){return b})),n.d(t,"y",(function(){return w})),n.d(t,"a",(function(){return T})),n.d(t,"q",(function(){return S})),n.d(t,"f",(function(){return k})),n.d(t,"D",(function(){return _})),n.d(t,"h",(function(){return L})),n.d(t,"r",(function(){return R})),n.d(t,"E",(function(){return N})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return O})),n.d(t,"l",(function(){return D})),n.d(t,"F",(function(){return M})),n.d(t,"u",(function(){return U})),n.d(t,"z",(function(){return F})),n.d(t,"m",(function(){return B})),n.d(t,"v",(function(){return q})),n.d(t,"w",(function(){return W})),n.d(t,"x",(function(){return V})),n.d(t,"e",(function(){return G}));var r=n(2),i=n(1);function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),s=new R(r||[]);return i(a,"_invoke",{value:C(e,n,s)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",v="executing",g="completed",m={};function y(){}function x(){}function E(){}var b={};d(b,s,(function(){return this}));var w=Object.getPrototypeOf,T=w&&w(w(N([])));T&&T!==n&&r.call(T,s)&&(b=T);var S=E.prototype=y.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(i,o,a,s){var u=h(e[i],e,o);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==c(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=p;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===g){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=I(s,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===p)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var u=h(t,n,r);if("normal"===u.type){if(i=r.done?g:"suspendedYield",u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=g,r.method="throw",r.arg=u.arg)}}}function I(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function a(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,c,"next",e)}function c(e){a(o,r,i,s,c,"throw",e)}s(void 0)}))}}function c(e){return(c="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})(e)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,r=n?n.querySelector("#"+e):document.getElementById(e);if(r){var i=r.firstChild.nodeValue;return t&&r.parentNode.removeChild(r),i&&JSON.parse(i)}}var l=function(){var e={37:1,38:1,39:1,40:1};function t(e){var t=e||window.event;t.preventDefault&&t.preventDefault(),t.returnValue=!1}function n(n){if(e[n.keyCode])return t(n),!1}return{disableScroll:function(){window.addEventListener&&window.addEventListener("DOMMouseScroll",t,!1),window.onwheel=t,window.onmousewheel=document.onmousewheel=t,window.ontouchmove=t,document.onkeydown=n},enableScroll:function(){window.removeEventListener&&window.removeEventListener("DOMMouseScroll",t,!1),window.onmousewheel=document.onmousewheel=null,window.onwheel=null,window.ontouchmove=null,document.onkeydown=null}}}();function d(){var e=document.querySelector('meta[name="pageInstance"]');if(e){var t=e.getAttribute("content");if(t&&2===t.split(";").length){var n=t.split(";");return{pageUrn:n[0],trackingId:n[1]}}}return null}function f(){var e=document.querySelector('meta[name="pageKey"]');return e?e.getAttribute("content"):null}function h(){var e=document.querySelector('meta[name="appName"]');return e?e.getAttribute("content"):null}function p(e){var t=e.body,n=e.documentElement;return{height:Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight),width:Math.max(t.scrollWidth,t.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth)}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if("function"==typeof(t?CustomEvent:Event))return new(t?CustomEvent:Event)(e,{detail:t,bubbles:n,cancelable:r});var i=document.createEvent("Event");return i.initEvent(e,n,r),null!==t&&(i.detail=t),i}function g(e){if(!(!e instanceof Node)){e&&e.addEventListener("focusin",(function(t){window.requestAnimationFrame((function(){window.scrollBy(0,e.getBoundingClientRect().top-64)}))}))}}function m(e,t){return null===e?null:e.closest(t)}function y(e){return e instanceof Element}function x(){return document.defaultView.location.origin||location.protocol+"//"+location.hostname}function E(){var e=window.navigator.userAgent.toLowerCase(),t=/safari/.test(e),n=/iphone|ipod|ipad/.test(e),r=!0===window.navigator.standalone;return n&&!r&&!t}function b(e){y(e)&&E()&&(w(e),e.blur())}function w(e){e.hasAttribute("autofocus")&&e.removeAttribute("autofocus")}function T(e){var t=window.location.search;return Object(r.sanitizeUrl)(t?"".concat(e).concat(t):"".concat(e))}function S(e,t){var n=t,r=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(n);return r?r[1]:null}function k(e){window.addEventListener("beforeunload",(function(){"function"==typeof e&&e()}))}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!0,r=["funCaptchaInternal"];return r.forEach((function(t){-1!==e.indexOf(t)&&(n=!1)})),-1!==e.indexOf("captchaV2Challenge")&&"GUEST_SCORING"===t.funCaptchaChallengeSource&&(n=!1),n}var C,I=/JSESSIONID="?([^";]+)"?/,A=Date.now();function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheLifeSpan,n=void 0===t?1e4:t,r=e.regex,i=void 0===r?I:r;if(!C||Date.now()-A>n){var o=document.cookie.match(i);C=o&&o[1]||"",A=Date.now()}return C}function R(e){c(e)!==i.f.UNDEFINED&&null!==e&&e.classList.add(i.f.HIDDEN_CLASS)}function N(e){c(e)!==i.f.UNDEFINED&&null!==e&&e.classList.remove(i.f.HIDDEN_CLASS)}function P(e,t,n){c(e)!==i.f.UNDEFINED&&null!==e&&e.addEventListener(t,n)}function O(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];c(e)!==i.f.UNDEFINED&&null!==e&&(t?e.disabled=!0:e.removeAttribute("disabled"))}function D(){return u("funcaptchaChallengeSource")}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"_self";E()&&Array.from(document.getElementsByTagName("a")).forEach((function(t){return"_blank"===t.getAttribute("target")&&t.setAttribute("target",e)}))}function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=/.*(iPad|iPod|iPhone|Android|BB10|BlackBerry|IEMobile).*/;return!!e&&t.test(e)}function F(e){return JSON.parse(e.replace("","").trim())}function B(){var e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?i.d.WINDOW_PHONE:/android/i.test(e)?i.d.ANDROID:/iPad|iPhone|iPod/.test(e)&&!window.MSStream?i.d.IOS:i.d.UNKNOWN}function H(){return"undefined"!=typeof window&&window&&"node"!==window.appEnvironment}function q(){var e,t;return H()&&(void 0!==(null===(e=window)||void 0===e||null===(e=e.webkit)||void 0===e||null===(e=e.messageHandlers)||void 0===e?void 0:e.jsMessenger)||void 0!==(null===(t=window)||void 0===t||null===(t=t.Android)||void 0===t?void 0:t.sendWebMessage))}function j(e){var t;return!(!H()||void 0===(null===(t=window)||void 0===t||null===(t=t.webkit)||void 0===t||null===(t=t.messageHandlers)||void 0===t?void 0:t.jsMessenger))&&(window.webkit.messageHandlers.jsMessenger.postMessage(e),!0)}function K(e){var t;return!(!H()||void 0===(null===(t=window)||void 0===t||null===(t=t.Android)||void 0===t?void 0:t.sendWebMessage))&&(window.Android.sendWebMessage(JSON.stringify(e)),!0)}function W(e){return j(e)||K(e)}function V(){var e={closeWebView:""};return j(e)||K(e)}function G(e){return z.apply(this,arguments)}function z(){return(z=s(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t);case 3:if(200!==(n=e.sent).status){e.next=11;break}return e.next=7,n.text();case 7:return r=e.sent,e.abrupt("return",r);case 11:throw new Error("Request failed with status ".concat(n.status));case 12:e.next=17;break;case 14:throw e.prev=14,e.t0=e.catch(0),e.t0;case 17:case"end":return e.stop()}}),e,null,[[0,14]])})))).apply(this,arguments)}},1:function(e,t,n){"use strict";n.d(t,"h",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u})),t.f={SIGN_IN:"SIGN_IN",JOIN_NOW:"JOIN_NOW",HIDDEN_CLASS:"hidden",UNDEFINED:"undefined",LOCALE_EN_US:"en-US"};var r=Object.freeze({ONE_TAP:"one_tap",ONE_TAP_AUTO_LOGIN:"one-tap-auto-login",BUTTON:"button"}),i="soogleLoginRequestType",o=Object.freeze({ANDROID:"android",WINDOW_PHONE:"window_phone",IOS:"ios",UNKNOWN:"unknown"}),a={QR_LINK_INVALID:"QR_LINK_INVALID",PASSWORD_RESET:"PASSWORD_RESET",SETTINGS_CHANGE:"SETTINGS_CHANGE"},s={COMPLETED:"COMPLETED",CANCELLED:"CANCELLED"},c={DISPLAY:"DISPLAY"},u={EXPANDED:"expanded",COLLAPSED:"collapsed"}},117:function(e,t,n){"use strict";n.r(t);n(69),n(78);var r,i=["$type"],o=["requestStart"],a=["requestTime","viewNames","requestType","requestTag"],s=["requestStart"],c=["requestStart"],u=["requestTime","viewNames","requestType"];function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),s=new R(r||[]);return i(a,"_invoke",{value:C(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var h="suspendedStart",p="executing",v="completed",g={};function m(){}function y(){}function x(){}var E={};u(E,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==n&&r.call(w,a)&&(E=w);var T=x.prototype=m.prototype=Object.create(E);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(i,o,a,s){var c=f(e[i],e,o);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==k(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=I(s,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var u=f(t,n,r);if("normal"===u.type){if(i=r.done?v:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=v,r.method="throw",r.arg=u.arg)}}}function I(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function f(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e,t,n){return t=y(t),function(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],y(e).constructor):t.apply(e,n))}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}function E(e,t){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=T(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function w(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||T(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:0;return(U[e[t+0]]+U[e[t+1]]+U[e[t+2]]+U[e[t+3]]+"-"+U[e[t+4]]+U[e[t+5]]+"-"+U[e[t+6]]+U[e[t+7]]+"-"+U[e[t+8]]+U[e[t+9]]+"-"+U[e[t+10]]+U[e[t+11]]+U[e[t+12]]+U[e[t+13]]+U[e[t+14]]+U[e[t+15]]).toLowerCase()}function H(e){if(!M(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function q(e,t,n){function r(e,r,i,o){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n>>9<<4)+1}function K(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function W(e,t,n,r,i,o){return K((a=K(K(t,e),K(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function V(e,t,n,r,i,o,a){return W(t&n|~t&r,e,t,i,o,a)}function G(e,t,n,r,i,o,a){return W(t&r|n&~r,e,t,i,o,a)}function z(e,t,n,r,i,o,a){return W(t^n^r,e,t,i,o,a)}function X(e,t,n,r,i,o,a){return W(n^(t|~r),e,t,i,o,a)}q("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n>5]>>>i%32&255,a=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[r/8])<>>32-t}q("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i>>0;x=y,y=m,m=Z(g,30)>>>0,g=v,v=w}n[0]=n[0]+v>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+m>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+x>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var $=Uint8Array,ee=Uint16Array,te=Uint32Array,ne=new $([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),re=new $([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ie=new $([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oe=function(e,t){for(var n=new ee(31),r=0;r<31;++r)n[r]=t+=1<>>1|(21845&de)<<1;fe=(61680&(fe=(52428&fe)>>>2|(13107&fe)<<2))>>>4|(3855&fe)<<4,le[de]=((65280&fe)>>>8|(255&fe)<<8)>>>1}var he=function(e,t,n){for(var r=e.length,i=0,o=new ee(t);i>>c]=u}else for(a=new ee(r),i=0;i>>15-e[i]);return a},pe=new $(288);for(de=0;de<144;++de)pe[de]=8;for(de=144;de<256;++de)pe[de]=9;for(de=256;de<280;++de)pe[de]=7;for(de=280;de<288;++de)pe[de]=8;var ve=new $(32);for(de=0;de<32;++de)ve[de]=5;var ge=he(pe,9,0),me=he(ve,5,0),ye=function(e){return(e+7)/8|0},xe=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},Ee=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},be=function(e,t){for(var n=[],r=0;rf&&(f=o[r].s);var h=new ee(f+1),p=we(n[l-1],h,0);if(p>t){r=0;var v=0,g=p-t,m=1<t))break;v+=m-(1<>>=g;v>0;){var x=o[r].s;h[x]=0&&v;--r){var E=o[r].s;h[E]==t&&(--h[E],++v)}p=t}return[new $(h),p]},we=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},Te=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new ee(++t),r=0,i=e[0],o=1,a=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=e[s]}return[n.subarray(0,r),t]},Se=function(e,t){for(var n=0,r=0;r>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o4&&!_[ie[I-1]];--I);var A,L,R,N,P=u+5<<3,O=Se(i,pe)+Se(o,ve)+a,D=Se(i,f)+Se(o,v)+a+14+3*I+Se(T,_)+(2*T[16]+3*T[17]+7*T[18]);if(P<=O&&P<=D)return ke(t,l,e.subarray(c,c+u));if(xe(t,l,1+(D15&&(xe(t,l,B[S]>>>5&127),l+=B[S]>>>12)}}}else A=ge,L=pe,R=me,N=ve;for(S=0;S255){H=r[S]>>>18&31,Ee(t,l,A[H+257]),l+=L[H+257],H>7&&(xe(t,l,r[S]>>>23&31),l+=ne[H]);var q=31&r[S];Ee(t,l,R[q]),l+=N[q],q>3&&(Ee(t,l,r[S]>>>5&8191),l+=re[q])}else Ee(t,l,A[r[S]]),l+=L[r[S]];return Ee(t,l,A[256]),l+L[256]},Ce=new te([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ie=new $(0),Ae=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&-306674912)^n>>>1;e[t]=n}return e}(),Le=function(e,t,n,r,i){return function(e,t,n,r,i,o){var a=e.length,s=new $(r+a+5*(1+Math.ceil(a/7e3))+i),c=s.subarray(r,s.length-i),u=0;if(!t||a<8)for(var l=0;l<=a;l+=65535){var d=l+65535;d>=a&&(c[u>>3]=o),u=ke(c,u+1,e.subarray(l,d))}else{for(var f=Ce[t-1],h=f>>>13,p=8191&f,v=(1<7e3||_>24576)&&N>423){u=_e(e,c,0,b,w,T,k,_,I,l-I,u),_=S=k=0,I=l;for(var P=0;P<286;++P)w[P]=0;for(P=0;P<30;++P)T[P]=0}var O=2,D=0,M=p,U=L-R&32767;if(N>2&&A==E(l-U))for(var F=Math.min(h,N)-1,B=Math.min(32767,l),H=Math.min(258,N);U<=B&&--M&&L!=R;){if(e[l+O]==e[l+O-U]){for(var q=0;qO){if(O=q,D=U,q>F)break;var j=Math.min(U,q-2),K=0;for(P=0;PK&&(K=V,R=W)}}}U+=(L=R)-(R=g[L])+32768&32767}if(D){b[_++]=268435456|ce[O]<<18|ue[D];var G=31&ce[O],z=31&ue[D];k+=ne[G]+re[z],++w[257+G],++T[z],C=l+O,++S}else b[_++]=e[l],++w[e[l]]}}u=_e(e,c,o,b,w,T,k,_,I,l-I,u),!o&&7&u&&(u=ke(c,u+1,Ie))}return function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(2==e.BYTES_PER_ELEMENT?ee:4==e.BYTES_PER_ELEMENT?te:$)(n-t);return r.set(e.subarray(t,n)),r}(s,0,r+ye(u)+i)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)},Re=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},Ne="undefined"!=typeof TextDecoder&&new TextDecoder;try{Ne.decode(Ie,{stream:!0})}catch(dr){}function Pe(){return"undefined"!=typeof window&&"function"==typeof window.fetch}function Oe(){try{return Pe()&&"keepalive"in new Request("")}catch(e){return!1}}function De(e){var t=e.body,n=e.keepalive,r=e.headers,i=e.compress;r["content-type"]||(r["content-type"]="text/plain;charset=UTF-8");var o=t;if(i&&"undefined"!=typeof TextEncoder)try{o=function(e,t){t||(t={});var n=function(){var e=-1;return{p:function(t){for(var n=e,r=0;r>>8;e=n},d:function(){return~e}}}(),r=e.length;n.p(e);var i=Le(e,t,function(e){return 10+(e.filename&&e.filename.length+1||0)}(t),8),o=i.length;return function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&Re(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}}(i,t),Re(i,o-8,n.d()),Re(i,o-4,r),i}((new TextEncoder).encode(t)),r["content-encoding"]="gzip"}catch(e){}return{body:o,keepalive:n,credentials:"include",headers:r,method:"POST",mode:"cors"}}function Me(e){return e&&"message"in e?e.message:"UNKNOWN_ERROR"}var Ue,Fe="undefined"!=typeof navigator&&"sendBeacon"in navigator,Be=Oe()?function(e,t,n,r){return new Promise((function(i){fetch(e,De({body:t,keepalive:!0,headers:n,compress:r})).catch((function(){return fetch(e,De({body:t,keepalive:!1,headers:n,compress:r}))})).then((function(e){e.ok?i({type:"success",drop:!1,statusCode:e.status}):i({type:"response",drop:!0,statusCode:e.status,rawError:e.statusText})}),(function(e){return i({type:"network",drop:!0,rawError:Me(e)})}))}))}:function(e,t,n,r){return new Promise((function(i){if(Fe){var o=!1;try{o=navigator.sendBeacon(e,t)}catch(e){}if(o)return void i({type:"unknown",drop:!1})}fetch(e,De({body:t,keepalive:!1,headers:n,compress:r})).then((function(e){e.ok?i({type:"success",drop:!1,statusCode:200}):i({type:"response",drop:!0,statusCode:e.status,rawError:e.statusText})}),(function(e){return i({type:"network",drop:!0,rawError:Me(e)})}))}))};function He(e){return new Promise((function(t,n){e.oncomplete=e.onsuccess=function(){return t(e.result)},e.onabort=e.onerror=function(){return n(e.error)}}))}function qe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"key",r=arguments.length>3?arguments[3]:void 0,i=indexedDB.open(e);i.onupgradeneeded=function(){try{i.result.createObjectStore(t,{keyPath:n})}catch(e){null==r||r.onError(e)}};var o=new Promise((function(e,t){i.onsuccess=function(){var t=i.result;t.onversionchange=function(){return t.close()},e(t),null==r||r.onSuccess()},i.onerror=function(){t(i.error),null==r||r.onError(i.error)}}));return function(e,n){return o.then((function(r){return n(r.transaction(t,e).objectStore(t))}))}}function je(){return Ue||(Ue=qe("idb-queue","default")),Ue}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{maxNumber:1e3,batchEvictionNumber:300},n=0,r=null;return e.openKeyCursor().onsuccess=function(){var i=this.result;i&&n++1&&void 0!==arguments[1]?arguments[1]:{maxNumber:1e3,batchEvictionNumber:300},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:je();return n("readwrite",(function(n){return n.put(e),He(n.count()).then((function(e){if(!(e<=t.maxNumber))return Ke(n,t)}))})).catch((function(e){if(e&&"QuotaExceededError"===e.name)return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{maxNumber:1e3,batchEvictionNumber:300};return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:je())("readwrite",(function(t){return Ke(t,e)}))}(t,n)}))}function Ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{maxNumber:1e3,batchEvictionNumber:300},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:je();return We?Promise.resolve():Ve(e,t,n)}function ze(e,t,n){return t("readonly",(function(t){var r=[];return t.openCursor(null,n).onsuccess=function(){var t=this.result;t&&(r.push(t.value),(e<0||r.length0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return!t||n<1||(e[t]=JSON.stringify({attempt:n,errorCode:r})),e}function Qe(e){"undefined"!=typeof window&&window.__DEBUG_BEACON_TRANSPORTER&&console.debug("[beacon-transporter] ",e())}function Je(e){"undefined"!=typeof window&&window.__DEBUG_BEACON_TRANSPORTER&&console.error("[beacon-transporter] ",e())}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{timeRemaining:5,timeout:1e4};"undefined"==typeof requestIdleCallback?setTimeout(e,t.fallbackTimeout||10):function n(){requestIdleCallback((function(r){r.timeRemaining()>t.timeRemaining||r.didTimeout?e():n()}),{timeout:t.timeout})}()}var Ze=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_(this,e),A(this,"config",void 0),A(this,"compress",void 0),A(this,"throttleControl",void 0),A(this,"withStore",void 0),A(this,"disablePersistence",!1),this.config=t,this.compress=r;var i,o,a,s=t.measureIDB;s&&performance.mark(s.createStartMark),this.withStore=qe(t.idbName,"beacons","timestamp",{onSuccess:function(){s&&performance.measure(s.createSuccessMeasure,s.createStartMark)},onError:function(){s&&performance.measure(s.createFailMeasure,s.createStartMark),n.disablePersistence=!0}}),this.throttleControl=(i=this.replayEntries.bind(this),o=t.throttleWait,a=0,{throttledFn:function(){var e=Date.now();e-a>o&&(Qe((function(){return"[throttle] Run fn() at "+String(e)})),i(),a=e)},resetThrottle:function(){a=0}})}return I(e,[{key:"onNotify",value:function(){this.disablePersistence||this.throttleControl.throttledFn()}},{key:"push",value:function(e){var t=this;if(!this.disablePersistence){var n=function(){Qe((function(){return"Persisting to DB "+e.url})),Ge(e,t.config,t.withStore).then((function(){t.throttleControl.resetThrottle(),Qe((function(){return"push completed"}))})).catch((function(){t.disablePersistence=!0,Je((function(){return"push failed"}))}))};this.config.useIdle?Ye(n):n()}}},{key:"clear",value:function(){var e=this;return this.disablePersistence?Promise.resolve():function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:je();return We=!0,e("readwrite",(function(e){return e.clear(),He(e.transaction).finally((function(){return We=!1}))}))}(this.withStore).catch((function(){e.disablePersistence=!0,Je((function(){return"clear failed"}))}))}},{key:"peek",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.disablePersistence?Promise.resolve([]):function(){return ze(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:je(),"next")}(t,this.withStore).catch((function(){return e.disablePersistence=!0,Je((function(){return"peek failed"})),[]}))}},{key:"peekBack",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this.disablePersistence?Promise.resolve([]):function(){return ze(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:je(),"prev")}(t,this.withStore).catch((function(){return e.disablePersistence=!0,Je((function(){return"peekBack failed"})),[]}))}},{key:"replayEntries",value:function(){var e=this;if(!this.disablePersistence){var t=function(){Qe((function(){return"Replaying entry: shift from store"})),function(){return function(e,t,n){return t("readwrite",(function(t){var n=[];return t.openCursor(null,"next").onsuccess=function(){var t=this.result;t&&(n.push(t.value),t.delete(),(e<0||n.length0&&void 0!==arguments[0]?arguments[0]:1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:je())}(1,e.withStore).then((function(t){if(t.length>0){var n,r,i=t[0],o=i.url,a=i.body,s=i.headers,c=i.timestamp,u=i.statusCode,l=i.attemptCount;return Qe((function(){return"header: ".concat(String(e.config.headerName),"; attemptCount: ").concat(l)})),null===(n=(r=e.config).onBeforeRetry)||void 0===n||n.call(r,a),Be(o,a,Xe(s,e.config.headerName,l,u),e.compress).then((function(t){if("unknown"===t.type||"success"===t.type){var n,r;null===(n=(r=e.config).onResult)||void 0===n||n.call(r,t,a),e.replayEntries()}else{var i,s,d,f,h,p;if(l+1>e.config.attemptLimit)return Qe((function(){return"Exceeded attempt count, dropping the entry: "+JSON.stringify({url:o,timestamp:c,statusCode:u},null,2)})),t.drop=!0,void(null===(i=(s=e.config).onResult)||void 0===i||i.call(s,t,a));if("network"===t.type||e.config.statusCodes.includes(t.statusCode))return t.drop=!1,null===(d=(f=e.config).onResult)||void 0===d||d.call(f,t,a),Qe((function(){return"Replaying the entry failed, pushing back to IDB: "+JSON.stringify({url:o,timestamp:c,statusCode:u},null,2)})),Ge({url:o,body:a,timestamp:c,statusCode:u,attemptCount:l+1},e.config,e.withStore);t.drop=!0,null===(h=(p=e.config).onResult)||void 0===h||h.call(p,t,a)}}))}})).catch((function(t){e.disablePersistence=!0,t&&t.message&&Je((function(){return"Replay entry failed: ".concat(t.message)}))}))};this.config.useIdle?Ye(t):t()}}}]),e}(),$e=function(){function e(){_(this,e)}return I(e,[{key:"onNotify",value:function(){}},{key:"push",value:function(){}},{key:"clear",value:function(){return Promise.resolve()}},{key:"peek",value:function(){return Promise.resolve([])}},{key:"peekBack",value:function(){return Promise.resolve([])}}]),e}(),et=function(){function e(t,n){_(this,e),A(this,"queue",void 0),A(this,"beaconListeners",new Set),this.queue=e.hasSupport&&!n.disablePersistenceRetry?new Ze(t,n.compress):new $e}return I(e,[{key:"pushToQueue",value:function(e){this.queue.push(e)}},{key:"notifyQueue",value:function(){this.queue.onNotify()}},{key:"clearQueue",value:function(){return this.beaconListeners.forEach((function(e){return e()})),this.queue.clear()}},{key:"peekQueue",value:function(e){return this.queue.peek(e)}},{key:"peekBackQueue",value:function(e){return this.queue.peekBack(e)}},{key:"onClear",value:function(e){this.beaconListeners.add(e)}},{key:"removeOnClear",value:function(e){this.beaconListeners.delete(e)}}]),e}();A(et,"hasSupport","undefined"!=typeof globalThis&&!!globalThis.indexedDB);var tt=[502,504],nt=[429,503],rt=function(){function e(t,n,r,i){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_(this,e),A(this,"url",void 0),A(this,"body",void 0),A(this,"config",void 0),A(this,"persistenceConfig",void 0),A(this,"compress",void 0),A(this,"timestamp",void 0),A(this,"isClearQueuePending",!1),A(this,"onClearCallback",void 0),this.url=t,this.body=n,this.config=r,this.persistenceConfig=i,this.compress=a,this.timestamp=Date.now(),this.onClearCallback=function(){return o.isClearQueuePending=!0}}return I(e,[{key:"send",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.persistenceConfig.db.onClear(this.onClearCallback);var n=this.retryLimit;return this.retry((function(t){return Be(e.url,e.body,t,e.compress)}),n,t).finally((function(){Qe((function(){return"beacon finished"})),e.persistenceConfig.db.removeOnClear(e.onClearCallback)}))}},{key:"retryLimit",get:function(){return this.config.attemptLimit}},{key:"getAttemptCount",value:function(e){return this.retryLimit-e+1}},{key:"retry",value:function(e,t,n,r){var i=this,o=this.getAttemptCount(t)-1;return e(Xe(n,this.config.headerName,o,r)).then((function(r){var o,a,s,c;if(r.drop=!1,"unknown"===r.type||"success"===r.type)i.isClearQueuePending||i.persistenceConfig.disabled||i.persistenceConfig.db.notifyQueue(),s=r;else if(Qe((function(){return"retry rejected "+JSON.stringify(r)})),i.shouldPersist(t,r))i.persistenceConfig.db.pushToQueue({url:i.url,body:i.body,headers:n,statusCode:r.statusCode,timestamp:i.timestamp,attemptCount:i.getAttemptCount(t)}),s={type:"persisted",drop:!1,statusCode:r.statusCode};else{if(t>0&&i.isRetryableError(r)){var u,l;null===(u=(l=i.config).onIntermediateResult)||void 0===u||u.call(l,r,i.body);var d=i.config.calculateRetryDelay(i.getAttemptCount(t),t);return Qe((function(){return"in memory retry in ".concat(d,"ms")})),(c=d,new Promise((function(e){return setTimeout(e,c)}))).then((function(){return i.retry(e,t-1,n,r.statusCode)}))}(s=r).drop=!0}return null===(o=(a=i.config).onIntermediateResult)||void 0===o||o.call(a,s,i.body),s}))}},{key:"isRetryableError",value:function(e){return!("network"!==e.type&&!this.config.statusCodes.includes(e.statusCode))}},{key:"shouldPersist",value:function(e,t){return!(this.isClearQueuePending||this.persistenceConfig.disabled||navigator.onLine&&(0!==e||"network"!==t.type)&&("response"!==t.type||!this.persistenceConfig.statusCodes.includes(t.statusCode)))}}]),e}(),it="internal:hide",ot="internal:error";function at(e,t,n){var r=e.get(t);r&&r.push(n)||e.set(t,[n])}function st(e,t,n){var r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)}var ct,ut,lt=(ct=new Map,ut=new Map,{on:function(e,t){at(ct,e,t)},before:function(e,t){at(ut,e,t)},off:function(e,t){st(ct,e,t)},offBefore:function(e,t){st(ut,e,t)},emit:function(e,t){(ut.get(e)||[]).concat(ct.get(e)||[]).slice().map((function(e){e(t)}))},clear:function(){ut.clear(),ct.clear()}});if("undefined"!=typeof document&&"undefined"!=typeof window){var dt=function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||lt.emit(it,e)};document.addEventListener("visibilitychange",dt),window.addEventListener("pagehide",dt)}var ft=null;if(("undefined"==typeof crypto||!crypto.getRandomValues)&&"undefined"!=typeof require){var ht=("undefined"!=typeof FastBoot?FastBoot.require:require)("crypto");if(ht){var pt=new Uint8Array(256),vt=pt.length;ft={rng:function(){return vt>pt.length-16&&(ht.randomFillSync(pt),vt=0),pt.slice(vt,vt+=16)}}}}"object"===("undefined"==typeof crypto?"undefined":k(crypto))&&crypto.randomUUID;function gt(){return J(ft,new Array(16),0)}function mt(e){return w(e).map((function(e){return String.fromCharCode(e)})).join("")}function yt(){return mt(gt())}var xt=/^[a-zA-Z0-9/+]+[=]+$/;function Et(e,t){return{pageUrn:wt(e),trackingId:t||function(e){for(var t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=[],i=0,o=e.length,a=o%3,s=o-a;i>>18&63)),r.push(n.charAt(t>>>12&63)),r.push(n.charAt(t>>>6&63)),r.push(n.charAt(63&t)),i+=3;switch(a){case 2:t=e[i]<<16,t|=e[i+1]<<8,r.push(n.charAt(t>>>18&63)),r.push(n.charAt(t>>>12&63)),r.push(n.charAt(t>>>6&63)),r.push("=");break;case 1:t=e[i]<<16,r.push(n.charAt(t>>>18&63)),r.push(n.charAt(t>>>12&63)),r.push("="),r.push("=")}return r.join("")}(gt())}}function bt(e,t){return"urn:li:control:".concat(e,"-").concat(t)}function wt(e){return"urn:li:page:".concat(e)}function Tt(e){var t=decodeURIComponent(e).split(";");if(t.length>1)return{pageUrn:t[0],trackingId:t[1]}}function St(e,t){return{pageInstance:t.assign({},e.pageInstance),pageKey:e.pageKey,applicationInstance:e.applicationInstance}}new RegExp("[?&]lipi=([^&#]*)"),new RegExp("[?&]licu=([^&#]*)");function kt(e,t){return void 0!==t.allSettled?t.allSettled(e):function(e){return new Promise((function(t){var n=new Set,r=function(e){n.delete(e),0===n.size&&t()};0===e.length?t():e.map((function(e){return e.then((function(){return r(e)})).catch((function(){return r(e)}))}))}))}(e)}function _t(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function Ct(e,t,n){if("undefined"!=typeof window&&window.indexedDB){var r,i="sequenceNumber";try{r=window.indexedDB.open(i)}catch(e){return Promise.resolve(null)}return new Promise((function(o,a){r.onupgradeneeded=function(){var e=r.result;e.objectStoreNames.contains(i)||e.createObjectStore(i,{autoIncrement:!0})},r.onsuccess=function(){var s=r.result,c=s.transaction(i,"readwrite"),u=c.objectStore(i),l=u.get(1);l.onsuccess=function(){var r=l.result;if(r){if("read"===e)return o(r);if("update"!==e)return o(null);var i,s=Object.assign({},r),c=!1,d=null!==(i=s.sequenceNumber)&&void 0!==i?i:0;if(void 0!==t&&t>d&&(s.sequenceNumber=t,c=!0),n&&Object.keys(n).forEach((function(e){var t,r=null!==(t=s[e])&&void 0!==t?t:0,i=n[e];i>r&&(s[e]=i,c=!0)})),c){var f=u.put(s,1);f.onsuccess=function(){return o(null)},f.onerror=function(){a(f.error)}}}else{var h={sequenceNumber:0};n&&Object.keys(n).forEach((function(e){h[e]=0}));var p=u.add(h);p.onsuccess=function(){return o(0)},p.onerror=function(){a(p.error)}}},l.onerror=function(){return s.close(),a(new Error("Error: get sequence number from indexedDB ".concat(String(l.error))))},c.oncomplete=function(){return s.close()}},r.onerror=function(){return o(null)}}))}return Promise.resolve(null)}function It(){return"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1||!Pe()||"undefined"==typeof Promise}function At(e,t,n,r){var i=["core-web-tracking:".concat(e)];null==r||r.forEach((function(e){return i.push(e)})),lt.emit(ot,{tags:i,reason:t instanceof Error?t:new Error("".concat(e,": ").concat(t)),responseHeaders:n})}var Lt=function(e){var t=window.structuredClone;return t?t(e):JSON.parse(JSON.stringify(e))},Rt=function(){function e(t){_(this,e),A(this,"heap",void 0),A(this,"comparator",void 0),this.comparator=t,this.heap=[]}return I(e,[{key:"heapsize",value:function(){return this.heap.length}},{key:"peak",value:function(){return this.heap[0]}},{key:"heapArray",get:function(){return this.heap}},{key:"heapClear",value:function(){var e=w(this.heap);return this.heap=[],e}},{key:"heappop",value:function(){var e=this.heap.length,t=[this.heap[e-1],this.heap[0]];this.heap[0]=t[0],this.heap[e-1]=t[1];for(var n=this.heap.pop(),r=0;2*r+10;){var n=Math.floor((t-1)/2);if(!this.comparator(this.heap[t],this.heap[n]))break;var r=[this.heap[n],this.heap[t]];this.heap[t]=r[0],this.heap[n]=r[1],t=n}}}]),e}();var Nt="beacons";function Pt(){if("undefined"==typeof Promise||"undefined"==typeof navigator)return!1;var e=navigator.userAgent.indexOf("Chrome")>-1,t=navigator.cookieEnabled,n=navigator.storage;return e&&Oe()&&t&&n}function Ot(e,t,n,r,i){"control"!==r&&e.retryConfig&&Pt()&&navigator.storage.estimate().then((function(o){if(!((o.quota||0)-(o.usage||0)>52428800))return function(e){var t=window.indexedDB.deleteDatabase(e);return new Promise((function(e,n){t.onsuccess=function(){return e()},t.onerror=function(){return n(t.error)}}))}(Nt);var a,s,c=null!==(a=e.retryConfig.inMemory)&&void 0!==a?a:{attemptLimit:4,statusCodes:[502,504]},u=null!==(s=e.retryConfig.persist)&&void 0!==s?s:{attemptLimit:3,statusCodes:[429,503],maxNumber:1e3,batchEvictionNumber:300,throttleWait:3e5},l={compress:n,inMemoryRetry:{onIntermediateResult:null==i?void 0:i.onIntermediateResult,attemptLimit:c.attemptLimit,statusCodes:c.statusCodes,headerName:"x-li-retry-context",calculateRetryDelay:function(e){return function(e){return 1e3*Math.pow(2,e)}(e)}},disablePersistenceRetry:e.retryConfig.disablePersistence,persistenceRetry:{onBeforeRetry:null==i?void 0:i.onBeforeRetry,onResult:null==i?void 0:i.onResult,idbName:Nt,attemptLimit:u.attemptLimit,statusCodes:u.statusCodes,maxNumber:u.maxNumber,batchEvictionNumber:u.batchEvictionNumber,throttleWait:u.throttleWait,useIdle:!0,measureIDB:{createStartMark:"idb_open_start",createSuccessMeasure:"idb_open_success_phase",createFailMeasure:"idb_open_fail_phase"}}},d=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Boolean(t.compress),r=Object.assign({attemptLimit:0,statusCodes:tt,calculateRetryDelay:function(e,t){return 2e3*t}},t.inMemoryRetry);if(t.retryDB)e=t.retryDB;else{var i=Object.assign({idbName:"beacon-transporter",attemptLimit:3,statusCodes:nt,maxNumber:1e3,batchEvictionNumber:300,throttleWait:3e5},t.persistenceRetry);i.headerName=i.headerName||r.headerName,e=new et(i,{compress:t.compress,disablePersistenceRetry:t.disablePersistenceRetry})}return{beacon:function(i,o,a){var s;return Pe()?new rt(i,o,r,{db:e,disabled:Boolean(t.disablePersistenceRetry),statusCodes:(null===(s=t.persistenceRetry)||void 0===s?void 0:s.statusCodes)||nt},n).send(a):Promise.resolve({type:"unknown",drop:!0})},database:e}}(l),f=d.beacon,h=d.database;return e.retryBeacon={shouldRetry:!0,beacon:f,database:h},"enabled"===r?(e.retryBeacon.shouldRetry=!1,!l.disablePersistenceRetry&&t.shouldAnonymizeMemberId()?h.peekQueue(1).then((function(e){if(Array.isArray(e)&&e[0]){var t=JSON.parse(e[0].body);if(Array.isArray(t)&&t.some((function(e){return!e.eventInfo.shouldAnonymizeMemberId})))return h.clearQueue()}}),(function(){return h.clearQueue()})).then((function(){e.retryBeacon.shouldRetry=!0})).catch((function(e){At("retry:idb",e)})):(e.retryBeacon.shouldRetry=!0,Promise.resolve())):void 0})).catch((function(e){At("retry:setup",e)}))}var Dt=function(){function e(t){_(this,e),A(this,"host",void 0),this.host=t}return I(e,[{key:"checkAndEnablePersistentRetry",value:function(e,t){if("function"==typeof(null==e?void 0:e.shouldAnonymizeMemberId)&&!this.host.retryBeacon){var n=this.getRetryTreatment();this.host.retryConfig&&Ot(this.host,e,this.shouldCompressPayload(),n,t)}}},{key:"clearPersistedEventsOnLogout",value:function(){var e=this.host.retryBeacon;if(e&&e.shouldRetry)return e.shouldRetry=!1,e.database.clearQueue().catch((function(e){At("retry:logout",e)}))}},{key:"sendPayload",value:function(e,t,n,r){var i,o=this.getRetryTreatment();Oe()&&"control"!==o&&null!==(i=this.host.retryBeacon)&&void 0!==i&&i.shouldRetry?this.sendPayloadWithRetry(e,t,n):this.sendPayloadFireForget(e,t,n,r)}},{key:"sendPayloadWithRetry",value:function(e,t,n){(!Array.isArray(t)||t.length>0)&&this.host.retryBeacon.beacon(e,JSON.stringify(t),n).catch((function(e){At("retry:beacon",e)}))}},{key:"sendPayloadFireForget",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;(!Array.isArray(t)||t.length>0)&&(It()?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("undefined"!=typeof window&&void 0!==window.XMLHttpRequest){var r=new XMLHttpRequest;if(r.open("POST",e,!0),r.withCredentials=!0,n.headers)for(var i=0,o=Object.keys(n.headers);i0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheLifeSpan,n=void 0===t?1e4:t,r=e.regex,i=void 0===r?Ut:r;if(!Ft||Date.now()-Bt>n){var o=Mt&&document.cookie.match(i);Ft=o&&o[1]||"",Bt=Date.now()}return Ft}var qt={prod:{pattern:new RegExp(/https: \/\/www.linkedin.com\/.+|https:\/\/www.linkedin.com\/li\/track$/),monitorEndpoint:"https://www.linkedin.com/trackingMonitoring/?action=reportClientFailures"},ei:{pattern:new RegExp(/https: \/\/www.linkedin-ei.com\/.+|https:\/\/www.linkedin-ei.com\/li\/track$/),monitorEndpoint:"https://www.linkedin-ei.com/trackingMonitoring/?action=reportClientFailures"},eiValidate:{pattern:new RegExp(/https:\/\/www\.linkedin-ei\.com\/.+\/validate$/),monitorEndpoint:"https://www.linkedin-ei.com/trackingMonitoring/?action=reportClientFailures"}},jt=function(){function e(t){_(this,e),A(this,"networkTransporter",void 0),A(this,"inactive",void 0),A(this,"mpName",void 0),A(this,"endpoint",void 0),A(this,"debug",void 0),this.networkTransporter=new Dt(t),this.mpName=t.appId,this.inactive=t.inactive;var n=function(e){var t,n=!1;return qt.prod.pattern.test(e)?t=qt.prod.monitorEndpoint:qt.eiValidate.pattern.test(e)?(n=!0,t=qt.eiValidate.monitorEndpoint):qt.ei.pattern.test(e)?t=qt.ei.monitorEndpoint:(t=qt.ei.monitorEndpoint,n=!0),{endpoint:t,debug:n}}(t.endpoint);this.endpoint=n.endpoint,this.debug=n.debug}return I(e,[{key:"fireFragment",value:function(e){var t;if(!this.inactive){var n={"content-type":"application/json; charset=UTF-8","x-li-track":JSON.stringify({mpName:this.mpName}),"csrf-token":Ht(),"x-restli-protocol-version":"2.0.0"},r=[],i=null!==(t=null==e?void 0:e.stats)&&void 0!==t?t:{},o=i.failures,a=i.previousInstanceEventStats.reduce((function(e,t){return e.push.apply(e,w(t.failures)),e}),[]);[].concat(w(o),w(a)).forEach((function(e){var t=e.reason,n=e.rawError,i=e.eventTopic,o=e.header,a=e.requestHeader;r.push({reason:t,rawError:n,failedTopicName:i,header:o,requestHeader:a})}));var s={clientTrackingFailures:r,debug:this.debug};this.networkTransporter.sendPayload(this.endpoint,s,n)}}}]),e}();function Kt(e){return"string"==typeof e}function Wt(e){return Kt(e)?e:e.topicName||e.eventName}function Vt(e){return Kt(e)?e:e.eventName}var Gt,zt,Xt=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,e),A(this,"host",void 0),A(this,"cmoTransporter",void 0),A(this,"clientMonitoringInstanceId",yt()),A(this,"currentContext",{pageKey:N,pageInstance:Et(N)}),A(this,"appState",{}),A(this,"estimatedFragmentSize",0),A(this,"fragmentSizeLimit",void 0),A(this,"activeFragmentEvent",void 0),A(this,"debounceTimer",void 0),this.host=t,this.cmoTransporter=r.cmoTransporter||new jt(t),this.fragmentSizeLimit=(null===(n=t.clientMonitoringConfig)||void 0===n?void 0:n.fragmentSizeLimit)||10240,this.activeFragmentEvent=Jt(this.clientMonitoringInstanceId,0,0,!1,this.getEventHeaders())}return I(e,[{key:"getCurrentInstanceId",value:function(){return this.clientMonitoringInstanceId}},{key:"scheduleDebouncedFiring",value:function(){var e,t,n=this;void 0!==this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=void 0),this.fragmentIsFull()&&this.fireFragmentEventIfFull(!0),this.debounceTimer=setTimeout((function(){n.fireFragmentEventIfFull()}),null!==(e=null===(t=this.host.batching)||void 0===t?void 0:t.debounceTime)&&void 0!==e?e:1)}},{key:"logEventGenerated",value:function(e){this.scheduleDebouncedFiring();var t=this.activeFragmentEvent.stats,n=this.activeFragmentEvent.firstEventNumber+t.eventsGenerated;return t.eventTopics.push(e),t.eventsGenerated++,this.estimatedFragmentSize+=e.length,n}},{key:"logEventReadyToSend",value:function(e){this.activeFragmentEvent.stats.eventsReadyToSend+=e}},{key:"logEventSent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getCurrentInstanceId();t===this.getCurrentInstanceId()?this.activeFragmentEvent.stats.eventsSent+=e:this.findPreviousInstanceStat(t,(function(t){t.eventsSent+=e}))}},{key:"logNetworkResponseCode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getCurrentInstanceId(),n=this.activeFragmentEvent.stats.networkResponseStats;t!==this.getCurrentInstanceId()&&this.findPreviousInstanceStat(t,(function(e){n=e.networkResponseStats})),e>=200&&e<300?n.eventsWith2XXResponse++:400===e?n.eventsWith400Response++:408===e?n.eventsWith408Response++:429===e?n.eventsWith429Response++:e>400&&e<500?n.eventsWith4XXResponse++:500===e?n.eventsWith500Response++:502===e?n.eventsWith502Response++:503===e?n.eventsWith503Response++:504===e?n.eventsWith504Response++:e>500&&e<600&&n.eventsWith5XXResponse++}},{key:"findPreviousInstanceStat",value:function(e,t){var n,r=b(this.activeFragmentEvent.stats.previousInstanceEventStats);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.instanceId===e)return void t(i)}}catch(e){r.e(e)}finally{r.f()}var o=this.getEventHeaders(),a=o.header,s=o.requestHeader,c={header:Object.assign(a,{memberId:-1}),requestHeader:s,instanceId:e,eventsSent:0,eventTopics:[],networkResponseStats:{eventsWith2XXResponse:0,eventsWith400Response:0,eventsWith408Response:0,eventsWith429Response:0,eventsWith4XXResponse:0,eventsWith500Response:0,eventsWith502Response:0,eventsWith503Response:0,eventsWith504Response:0,eventsWith5XXResponse:0},failures:[]};t(c),this.activeFragmentEvent.stats.previousInstanceEventStats.push(c)}},{key:"logFailedEvent",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.getCurrentInstanceId(),o=this.getEventHeaders(),a=o.header,s=o.requestHeader,c={header:Object.assign(a,{memberId:-1}),requestHeader:s,instanceId:i,instanceEventNumber:r,reason:e,rawError:n,eventName:Vt(t),eventTopic:Wt(t)};this.estimatedFragmentSize+=JSON.stringify(c).length,i===this.getCurrentInstanceId()?this.activeFragmentEvent.stats.failures.push(c):this.findPreviousInstanceStat(i,(function(e){e.failures.push(c)})),this.fireFragmentEventIfFull()}},{key:"flush",value:function(){this.activeFragmentEvent.isLastFragment=!0,this.fireFragmentEventIfFull(!0)}},{key:"fragmentIsFull",value:function(){return this.activeFragmentEvent.stats.eventsGenerated>=100||this.estimatedFragmentSize>=this.fragmentSizeLimit}},{key:"fireFragmentEventIfFull",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.fragmentIsFull()){this.debounceTimer=void 0;var e=this.getEventHeaders(),t=e.header,n=e.requestHeader,r=this.activeFragmentEvent;r.header=t,r.requestHeader=n,this.cmoTransporter.fireFragment(r),this.estimatedFragmentSize=0,this.activeFragmentEvent=Jt(this.clientMonitoringInstanceId,r.fragmentNumber+1,r.firstEventNumber+r.stats.eventsGenerated,!1,e)}}},{key:"setCurrentContext",value:function(e){this.currentContext=e}},{key:"updateAppState",value:function(e){this.host.api.assign(this.appState,e)}},{key:"getEventHeaders",value:function(){var e=void 0;this.appState.clientApplicationInstance&&((e=this.appState.clientApplicationInstance).trackingId=Yt(e.trackingId));var t=this.currentContext.pageInstance;return t.trackingId=Yt(t.trackingId),{requestHeader:{interfaceLocale:this.host.locale,pageKey:this.currentContext.pageKey,path:this.host.api.location.pathname+this.host.api.location.search,referer:this.host.api.document.referrer},header:{applicationViewerUrn:this.appState.applicationViewerUrn,clientApplicationInstance:e,pageInstance:t,time:Date.now(),version:this.host.appVersion,server:"",service:"",guid:yt(),memberId:0}}}}]),e}();function Qt(e){return Gt||(Gt=new Xt(e)),{getCurrentInstanceId:function(){return Gt.getCurrentInstanceId()},logEventGenerated:function(e){return Gt.logEventGenerated(e)},logEventReadyToSend:function(e){Gt.logEventReadyToSend(e)},logEventSent:function(e){Gt.logEventSent(e)},logPersistedEventSent:function(e,t){Gt.logEventSent(t,e)},logNetworkResponseCode:function(e){Gt.logNetworkResponseCode(e)},logPersistedNetworkResponseCode:function(e,t){var n;null===(n=Gt)||void 0===n||n.logNetworkResponseCode(t,e)},logFailedEvent:function(e,t,n,r){Gt.logFailedEvent(e,t,n,r)},logPersistedFailedEvent:function(e,t,n,r,i){Gt.logFailedEvent(t,n,r,i,e)},flush:function(){Gt.flush()},destroy:function(){Gt=void 0},isDestroyed:function(){return void 0===Gt},setCurrentContext:function(e){Gt.setCurrentContext(e)},updateAppState:function(e){Gt.updateAppState(e)}}}function Jt(e,t,n,r,i){return{fragmentNumber:t,firstEventNumber:n,isLastFragment:r,stats:{instanceId:e,eventsGenerated:0,eventsReadyToSend:0,eventsSent:0,networkResponseStats:{eventsWith2XXResponse:0,eventsWith400Response:0,eventsWith408Response:0,eventsWith429Response:0,eventsWith4XXResponse:0,eventsWith500Response:0,eventsWith502Response:0,eventsWith503Response:0,eventsWith504Response:0,eventsWith5XXResponse:0},eventTopics:[],failures:[],previousInstanceEventStats:[]},requestHeader:i.requestHeader,header:i.header}}function Yt(e){return Array.isArray(e)?mt(e):16===e.length?e:function(e){return"string"==typeof e&&!!e.match(xt)}(e)?atob(e):mt(function(e){return H(e)}(e))}!function(e){e.NONE="NONE",e.UNKNOWN_EXECUTION_ERROR="UNKNOWN_EXECUTION_ERROR",e.MISSING_REQUIRED_PROPERTIES="MISSING_REQUIRED_PROPERITES",e.STORAGE_WRITE_FAILURE="STORAGE_WRITE_FAILURE",e.RETRIES_EXCEEDED="RETRIES_EXCEEDED",e.EVENT_EVICTED_FROM_STORAGE="EVENT_EVICTED_FROM_STORAGE",e.STORAGE_UNAVAILABLE="STORAGE_UNAVAILABLE",e.SERIALIZATION_FAILURE="SERIALIZATION_FAILURE"}(zt||(zt={}));var Zt=["PageViewEvent","SponsoredImpressionEvent","JobViewEvent"],$t="PageViewEvent",en=function(){function e(t){var n,r,i,o=this;_(this,e),A(this,"host",void 0),A(this,"queue",void 0),A(this,"preContextQueue",void 0),A(this,"debounceTimer",void 0),A(this,"unloadHandlers",void 0),A(this,"maxQueueSize",void 0),A(this,"flushDebounceTime",void 0),A(this,"trackingEventListeners",[]),A(this,"onHideHandler",(function(){o.forceFlush()})),A(this,"networkTransporter",void 0),A(this,"clientMonitoringConn",void 0),A(this,"clientGlobalSequenceNumberCounter",void 0),A(this,"clientTopicLocalSequenceNumberCountersMap",{}),A(this,"isTimerRunning",void 0),A(this,"trackingEndpoint",void 0),A(this,"isEvenBatchEnabled",void 0),this.host=t,this.queue=[],this.preContextQueue=[],this.unloadHandlers=[];var a=t.batching,s=null!==(n=null==a?void 0:a.evenBatchEnabled)&&void 0!==n&&n,c="development"===t.environment||(null===(r=t.api)||void 0===r||null===(r=r.location)||void 0===r||null===(r=r.host)||void 0===r?void 0:r.indexOf("-ei."))>-1?"https://www.linkedin-ei.com/li/track/validate":t.endpoint||"https://www.linkedin.com/li/track";this.trackingEndpoint=function(e,t){return/linkedin(?:-ei)?\.cn/.test(t)?e.replace(/\/\/(\S+?)\.linkedin(-ei)?\.com/,"//$1.linkedin$2.cn"):e}(c,null===(i=t.api)||void 0===i||null===(i=i.location)||void 0===i?void 0:i.host),this.maxQueueSize=a&&a.maxSize||1,this.flushDebounceTime=a&&a.debounceTime||0,lt.on(it,this.onHideHandler),this.networkTransporter=new Dt(t),this.isLixEnabled("pemberly.tracking.monitoring")&&t.clientMonitoringConfig&&!t.inactive&&(this.clientMonitoringConn=Qt(t)),this.getSequenceNumberFromIDB(),this.updateSequenceNumberOnExit(),this.isTimerRunning=!1,this.isEvenBatchEnabled=this.isLixEnabled("pemberly.tracking.even-batch")||s}return I(e,[{key:"checkAndEnablePersistentRetry",value:function(e){var t,n=(t=this.clientMonitoringConn,{onIntermediateResult:function(e,n){var r;if(t&&!t.isDestroyed())try{if(r=JSON.parse(n),!Array.isArray(r)||0===r.length)return;e.statusCode&&t.logNetworkResponseCode(e.statusCode),!0===e.drop&&r.forEach((function(n){var r,i=n.eventInfo.eventName,o=n.eventInfo.topicName||i,a="rawError"in e?e.rawError:"null",s=["type: ".concat(e.type),"statusCode: ".concat(e.statusCode||"null"),"drop: ".concat(String(e.drop)),"rawError: ".concat(a)].join(", ");t.logFailedEvent(zt.UNKNOWN_EXECUTION_ERROR,{eventName:i,topicName:o},s,null!==(r=n.eventBody.header.clientMonitoringInstanceEventNumber)&&void 0!==r?r:-1)}))}catch(e){}},onBeforeRetry:function(e){var n;if(t&&!t.isDestroyed())try{if(n=JSON.parse(e),!Array.isArray(n)||0===n.length||!n[0].eventBody.header.clientMonitoringInstanceId)return;var r=n[0].eventBody.header.clientMonitoringInstanceId,i=n.length;t.logPersistedEventSent(r,i)}catch(e){}},onResult:function(e,n){var r;if(t)try{if(r=JSON.parse(n),!Array.isArray(r)||0===r.length||!r[0].eventBody.header.clientMonitoringInstanceId)return;var i=r[0].eventBody.header.clientMonitoringInstanceId;e.statusCode&&t.logPersistedNetworkResponseCode(i,e.statusCode),!0===e.drop&&r.forEach((function(n){var r=n.eventInfo.eventName,o=n.eventInfo.topicName||r,a="rawError"in e?e.rawError:"null",s=["type: ".concat(e.type),"statusCode: ".concat(e.statusCode||"null"),"drop: ".concat(String(e.drop)),"rawError: ".concat(a)].join(", ");t.logPersistedFailedEvent(i,zt.UNKNOWN_EXECUTION_ERROR,{eventName:r,topicName:o},s,n.eventBody.header.clientMonitoringInstanceEventNumber)}))}catch(e){}}});this.networkTransporter.checkAndEnablePersistentRetry(e,n)}},{key:"clearPersistedEventsOnLogout",value:function(){return this.networkTransporter.clearPersistedEventsOnLogout()}},{key:"on",value:function(e){this.trackingEventListeners.push(e)}},{key:"fireEvent",value:function(e){var t=function(e){return e.meta.time=Date.now(),e}(e);this.clientMonitoringConn&&(t.meta.clientMonitoringInstanceId=this.clientMonitoringConn.getCurrentInstanceId(),t.meta.clientMonitoringInstanceEventNumber=this.clientMonitoringConn.logEventGenerated(Wt(e.id)));var n=this.host,r=n.api.Promise,i=n.batching;if(function(e){return!!e.meta.context}(t)){var o,a=this.prepareCompleteEnvelopeQueue(t);return null===(o=this.clientMonitoringConn)||void 0===o||o.logEventReadyToSend(1),this.queue.push(a),i?(this.batchFire(),r.resolve(!0)):(this.flush(!0),r.resolve(!0))}return this.preContextQueue.push(t),r.resolve(!0)}},{key:"callOnDestroy",value:function(e){this.unloadHandlers.push(e)}},{key:"destroy",value:function(){var e,t,n;this.unloadHandlers.forEach((function(e){return e()})),this.forceFlush(),this.trackingEventListeners=[],this.clientMonitoringConn=void 0,lt.off(it,this.onHideHandler),null!==(e=this.host)&&void 0!==e&&e.__getLixTreatment&&(this.host.__getLixTreatment=void 0),null!==(t=this.host)&&void 0!==t&&null!==(t=t.api)&&void 0!==t&&t.location&&(this.host.api.location=null===(n=window)||void 0===n?void 0:n.location)}},{key:"forceFlush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.populatePreContextQueue({pageInstance:Et(N),pageKey:N}).forEach((function(t){e.queue.push(t)})),this.isEvenBatchEnabled?1===t?this.sendPayload(void 0,!0):this.sendPayload():this.flush(!0)}},{key:"isLixEnabled",value:function(e){var t,n;return"enabled"===(null===(t=(n=this.host).__getLixTreatment)||void 0===t?void 0:t.call(n,e))}},{key:"getSequenceNumberFromIDB",value:function(){var e=this;Ct("read").then((function(t){var n;e.clientGlobalSequenceNumberCounter=null!==(n=null==t?void 0:t.sequenceNumber)&&void 0!==n?n:0,Zt.forEach((function(n){var r;e.clientTopicLocalSequenceNumberCountersMap[n]=null!==(r=null==t?void 0:t[n])&&void 0!==r?r:0}))})).catch((function(e){At("sequence-number:idb-read",e)}))}},{key:"updateSequenceNumberToIDB",value:function(){Ct("update",this.clientGlobalSequenceNumberCounter,this.clientTopicLocalSequenceNumberCountersMap).catch((function(e){At("sequence-number:idb-update",e)}))}},{key:"updateSequenceNumberOnExit",value:function(){var e=this;"undefined"!=typeof window&&"undefined"!=typeof document&&window.addEventListener("beforeunload",(function t(){e.updateSequenceNumberToIDB(),window.removeEventListener("beforeunload",t)}))}},{key:"prepareCompleteEnvelopeQueue",value:function(e){var t=this,n=e.meta.context=St(e.meta.context,this.host.api);return"function"==typeof e.body&&(e.body=e.body(n)),this.preContextQueue.length>0&&this.populatePreContextQueue(n).forEach((function(e){return t.queue.push(e)})),e}},{key:"envelop",value:function(e,t,n){var r=this.host,i=r.appId,o=r.api,a={eventBody:t,eventInfo:"string"==typeof e?{appId:i,eventName:e,topicName:e}:o.assign({appId:i},e)};return n.length>0&&this.host.api.assign(a,{clientBreadcrumbs:n}),a}},{key:"getBreadcrumbs",value:function(e){return e.clientBreadcrumbs||[]}},{key:"getGenericEventBody",value:function(e){var t,n=this.host,r=n.appVersion,i=n.locale,o=n.api,a=o.location,s=o.document,c=o.assign,u=e.meta.context,l=u.pageKey,d=u.pageInstance,f=function(e){return"string"==typeof e?e===$t:e.eventName===$t}(e.id)&&(null===(t=e.body.requestHeader)||void 0===t?void 0:t.pageKey)||l,h=e.meta.requestHeader||{referer:s.referrer,path:"".concat(a.pathname).concat(a.search)},p=h.referer,v=h.path,g=null;"string"!=typeof i&&null!==this.host.locale||(g=i);var m={interfaceLocale:g,pageKey:f,referer:p,path:v,isFlushOnCloseBrowserTabEnabled:!It()&&(Oe()||"undefined"!=typeof navigator&&"sendBeacon"in navigator),isBrowserPersistentRetryEnabled:this.networkTransporter.isBrowserPersistentRetryEnabled()},y={pageInstance:d,time:e.meta.time,version:r,server:"",service:"",guid:yt(),memberId:0};"number"==typeof this.clientGlobalSequenceNumberCounter&&c(y,{clientGlobalSequenceNumber:this.clientGlobalSequenceNumberCounter});var x=Wt(e.id);if(Zt.includes(x)){var E=this.clientTopicLocalSequenceNumberCountersMap[x];"number"==typeof E&&c(y,{clientTopicLocalSequenceNumber:E})}var b={header:c(y,e.meta.header||{}),requestHeader:c(m,e.meta.requestHeader||{})},w=e.meta.clientMonitoringInstanceId,T=e.meta.clientMonitoringInstanceEventNumber;return w&&c(b.header,{clientMonitoringInstanceId:w,clientMonitoringInstanceEventNumber:T}),c(e.body,b)}},{key:"populatePreContextQueue",value:function(e){var t,n=this.preContextQueue;return this.preContextQueue=[],null===(t=this.clientMonitoringConn)||void 0===t||t.logEventReadyToSend(n.length),n.map((function(t){return t.meta.context=e,"function"==typeof t.body&&(t.body=t.body(e)),t}))}},{key:"trigger",value:function(e,t){this.trackingEventListeners.forEach((function(n){return n(e,t)}))}},{key:"requestFlush",value:function(e){var t=this;e((function(){t.forceFlush(0)}),{timeout:1e4})}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.host.api.requestIdleCallback;e||!t?this.sendPayload(void 0,!0):this.requestFlush(t)}},{key:"batchFire",value:function(){var e=this;this.queue.length>this.maxQueueSize?this.flush():(this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((function(){return e.flush()}),this.flushDebounceTime))}},{key:"sendPayload",value:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isEvenBatchEnabled)if(Array.isArray(e)&&e.length>0)t=e;else{var i=this.maxQueueSize+1;this.queue.length>0&&(this.queue.length<=i||r)?(t=this.queue,this.queue=[]):t=this.queue.splice(0,i)}else Array.isArray(e)&&e.length>0?t=e:(t=this.queue,this.queue=[]);if(0!==t.length){"undefined"!=typeof window&&!1===this.isTimerRunning&&(this.isTimerRunning=!0,setInterval((function(){n.updateSequenceNumberToIDB()}),5e3));var o,a,s=[],c=[];t.forEach((function(e){var t=n.getGenericEventBody(e),r=n.getBreadcrumbs(e),i=n.envelop(e.id,t,r);n.trigger(i,e.meta);var o=i.eventInfo.eventName;"LixTreatmentsEvent"===o||"JavaScriptErrorEvent"===o?s.push(i):c.push(i),"number"==typeof n.clientGlobalSequenceNumberCounter&&n.clientGlobalSequenceNumberCounter++;var a=Wt(e.id);Zt.includes(a)&&"number"==typeof n.clientTopicLocalSequenceNumberCountersMap[a]&&n.clientTopicLocalSequenceNumberCountersMap[a]++})),this.host.inactive||(this.clientMonitoringConn&&(this.clientMonitoringConn.logEventSent(s.length+c.length),a=this.clientMonitoringConn,o={onResult:function(e,t){a&&!a.isDestroyed()&&(e.statusCode&&a.logNetworkResponseCode(e.statusCode),!0===e.drop&&t.forEach((function(t){var n=t.eventInfo.eventName,r=t.eventInfo.topicName||n,i="rawError"in e?e.rawError:"null",o=["type: ".concat(e.type),"statusCode: ".concat(e.statusCode||"null"),"drop: ".concat(String(e.drop)),"rawError: ".concat(i)].join(", ");null==a||a.logFailedEvent(zt.UNKNOWN_EXECUTION_ERROR,{eventName:n,topicName:r},o,t.eventBody.header.clientMonitoringInstanceEventNumber||-1)})))}}),this.networkTransporter.sendPayloadFireForget(this.trackingEndpoint,s,void 0,o),this.networkTransporter.sendPayload(this.trackingEndpoint,c,void 0,o))}}},{key:"getTrackingEndpoint",value:function(){return this.trackingEndpoint}}]),e}();var tn,nn=function(){function e(t,n){_(this,e),this.clientBreadcrumbType=t,this.id=n}return I(e,[{key:"builder",get:function(){return function(){var e={},t=new Proxy({},{get:function(n,r){return"build"===r?function(){return e}:function(n){return e[r.toString()]=n,t}}});return t}().id(this.id).clientBreadcrumbType(this.clientBreadcrumbType)}}],[{key:"toPointer",value:function(e){return{id:e.id,type:e.clientBreadcrumbType}}}]),e}();!function(e){e.UNKNOWN="UNKNOWN",e.ME_NOTIFICATION="ME_NOTIFICATION",e.ME_NOTIFICATION_ACTION="ME_NOTIFICATION_ACTION",e.JOB_VIEW="JOB_VIEW",e.FEED_UPDATE_SERVED="FEED_UPDATE_SERVED"}(tn||(tn={}));var rn=function(e){function t(){return _(this,t),g(this,t,[tn.FEED_UPDATE_SERVED,yt()])}return x(t,nn),I(t)}();function on(e){if(!e)return{};var t=e.trk,n=!1,r=e.licu&&decodeURIComponent(e.licu);e.external_control&&(r="urn:li:externalControl:".concat(decodeURIComponent(e.external_control)),n=!0);var i,o=e.lipi&&Tt(e.lipi);if(o?i={pageInstance:o,pageKey:t}:t&&(i={pageKey:t}),e.external_page&&e.external_page_instance){var a=decodeURIComponent(e.external_page);i={pageInstance:{pageUrn:"urn:li:externalPage:".concat(a),trackingId:e.external_page_instance},pageKey:a},n=!0}var s=e.external_app&&e.external_app_instance?{applicationUrn:"urn:li:externalApplication:".concat(decodeURIComponent(e.external_app)),trackingId:e.external_app_instance,version:""}:void 0;return s&&((i=i||{}).applicationInstance=s),{fromExternalApp:n||!!s,previousApplicationInstance:s,previousContext:i,previousControlId:e.lici&&decodeURIComponent(e.lici),previousControlUrn:r}}function an(e){return"retryConfig"in e.host}function sn(e){return"location"in e.api}var cn,un=function(){function e(t,n){var r,i;if(_(this,e),A(this,"transporter",void 0),A(this,"delegate",void 0),A(this,"currentContext",void 0),A(this,"appState",void 0),A(this,"previousAppContext",void 0),A(this,"customTransporters",void 0),A(this,"clientMonitoringConn",void 0),this.transporter=t,this.delegate=n,this.appState={},this.customTransporters={},n&&n.customTransporterHosts)for(var o in n.customTransporterHosts)if(Object.prototype.hasOwnProperty.call(n.customTransporterHosts,o)){var a=this.transporter.host.api.assign({},this.transporter.host);this.customTransporters[o]=new en(this.transporter.host.api.assign(a,n.customTransporterHosts[o]))}"enabled"===(null===(r=(i=t.host).__getLixTreatment)||void 0===r?void 0:r.call(i,"pemberly.tracking.monitoring"))&&t.host.clientMonitoringConfig&&!t.host.inactive&&sn(t.host)&&(this.clientMonitoringConn=Qt(t.host))}return I(e,[{key:"host",get:function(){return this.transporter.host}},{key:"addBeforeHandlerToHideEvent",value:function(e){lt.before(it,e)}},{key:"removeBeforeHandlerToHideEvent",value:function(e){lt.offBefore(it,e)}},{key:"checkAndEnablePersistentRetry",value:function(){an(this.transporter)&&this.transporter.checkAndEnablePersistentRetry(this.delegate)}},{key:"flushAndClearPersistedEventsOnLogout",value:function(){this.forceFlush();var e=an(this.transporter)?this.transporter.clearPersistedEventsOnLogout():null;return null!=e?e:this.host.api.Promise.resolve()}},{key:"getCurrentContext",value:function(){if(this.currentContext)return St(this.currentContext,this.host.api)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.navMetaFromSeed(e,on(t),null==n?void 0:n.pageInstanceTrackingId);if(this.setCurrentContext(r.to),!n.suppressEventsFiring)return this.fireNavEvents(r)}},{key:"setCurrentContext",value:function(e){var t;this.currentContext=St(e,this.host.api),null===(t=this.clientMonitoringConn)||void 0===t||t.setCurrentContext(St(e,this.host.api))}},{key:"updateAppState",value:function(e){var t;this.host.api.assign(this.appState,e),null===(t=this.clientMonitoringConn)||void 0===t||t.updateAppState(e)}},{key:"fireCIE",value:function(e,t,n,r,i){return this.fireEvent("ControlInteractionEvent",(function(n){var o=bt(n.pageKey,e),a={controlTrackingId:r,controlUrn:o,interactionType:t};return i&&i(o),a}),{context:n})}},{key:"getViewHierarchy",value:function(e){for(var t=[],n=e;n instanceof Element&&"body"!==n.tagName.toLowerCase();){var r=n.closest("[data-view-name]");if(r){var i=r.getAttribute("data-view-name");i&&t.push(i)}n=null==r?void 0:r.parentElement}return t}},{key:"getUniqueHash",value:function(e){return Object.keys(e).sort().map((function(t){var n;return"".concat(t,":").concat(null!==(n=e[t])&&void 0!==n?n:"")})).join("|")}},{key:"getViewTrackingScope",value:function(e){for(var t=[],n=e,r=new Set;n instanceof Element&&"body"!==n.tagName.toLowerCase();){var i=n.closest("[data-view-tracking-scope]");if(i){var o=i.getAttribute("data-view-tracking-scope");if(o)try{var a=JSON.parse(o);if(a&&a.length){var s,c=b(a);try{for(c.s();!(s=c.n()).done;){var u=s.value,l=this.getUniqueHash(u);r.has(l)||(r.add(l),t.push(u))}}catch(e){c.e(e)}finally{c.f()}}}catch(e){At("getViewTrackingScope","Error parsing trackingScope ".concat(o))}}n=null==i?void 0:i.parentElement}return t}},{key:"extractBreadcrumbInTrackingScope",value:function(e){return e.map((function(e){var t=e.breadcrumb;if(t){delete e.breadcrumb;var n=t.$type;return function(e,t){var n;if("proto.sdui.breadcrumbs.feed.FeedUpdateServedBreadcrumb"!==t)throw new Error("breadcrumb class ".concat(t," needs to be defined in core-web-tracking."));if(!(n=(new rn).builder))throw new Error("breadcrumb class ".concat(t," needs to be defined in core-web-tracking."));for(var r in e){var i=e[r];null!=i&&n[r](i)}return n.build()}(v(t,i),n)}})).filter((function(e){return void 0!==e}))}},{key:"fireInteraction",value:function(e){var t=e.manualFireReason,n=e.interactionType,r=e.targetView,i=e.viewHierarchy,o=e.viewTrackingScope,a=e.verticalPosition,s=e.horizontalPosition,c=e.controlUrn,u=e.actionType,l=e.contentTrackingId,d=e.clientBreadcrumbs,f=void 0===d?[]:d,h=e.isShadowEvent,p=e.cooloffToken,v=r?this.getViewHierarchy(r):[],g=v.length>0?v:i||[],m=o||this.getViewTrackingScope(r);0===g.length&&console.warn("No viewHierarchy provided or found from element.");var y=this.extractBreadcrumbInTrackingScope(m);return this.fireEvent("GenericActionEvent",{verticalPosition:a,horizontalPosition:s,controlUrn:c||"",interactionType:n,actionType:u,contentTrackingId:""===l?void 0:l,manualFireReason:t,cooloffToken:p,trackingScopeHierarchy:{entries:m}},{header:{viewHierarchy:g}},[].concat(w(f),w(y)),h)}},{key:"fireImpression",value:function(e,t){var n=e.manualFireReason,r=e.targetView,i=e.viewHierarchy,o=e.viewTrackingScope,a=e.viewDurationInMilliseconds,s=void 0===a?0:a,c=e.contentViewFraction,u=void 0===c?1:c,l=e.width,d=void 0===l?-1:l,f=e.height,h=void 0===f?-1:f,p=e.verticalPosition,v=e.horizontalPosition,g=e.impressionTime,m=e.contentTrackingId,y=e.clientBreadcrumbs,x=e.isShadowEvent,E=e.cooloffToken,b=r?this.getViewHierarchy(r):[],w=b.length>0?b:i||[],T=r?this.getViewTrackingScope(r):[],S=T.length>0?T:o||[];0===w.length&&console.warn("No viewHierarchy provided or found from element.");var k={header:{viewHierarchy:w},context:null==t?void 0:t.context};return this.fireEvent("GenericImpressionEvent",{viewDurationInMilliseconds:s,contentViewFraction:u,width:d,height:h,verticalPosition:p,horizontalPosition:v,impressionTime:g,contentTrackingId:""===m?void 0:m,manualFireReason:n,cooloffToken:E,trackingScopeHierarchy:{entries:S}},k,y,x)}},{key:"fireEvent",value:function(e,t,n,r,i){if(!t){var o=Wt(e),a=void 0===t?"undefined":null===t?"null":k(t),s='Firing tracking event "'.concat(o,'" with invalid body, you fired "').concat(a,'"');if(this.clientMonitoringConn){var c=this.clientMonitoringConn.logEventGenerated(o);this.clientMonitoringConn.logFailedEvent(zt.MISSING_REQUIRED_PROPERTIES,e,s,c)}throw new Error(s)}var u=r||[];if(u.length>0){var l=u.map((function(e){return nn.toPointer(e)}));this.host.api.assign(t,{clientBreadcrumbPointers:l})}var d=u.length>0?this.generateEnvelopeWithBreadcrumbs(e,t,n,u,i):this.generateEnvelope(e,t,n,i);return this.fireEnvelope(d)}},{key:"generateEnvelopeWithBreadcrumbs",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.generateEnvelope(e,t,n,i);return r.length>0?this.addBreadcrumbsToEnvelope(o,r):o}},{key:"addBreadcrumbsToEnvelope",value:function(e,t){return this.host.api.assign(e,{clientBreadcrumbs:t}),e}},{key:"fireEnvelope",value:function(e){var t,n;if(null!==(t=this.delegate)&&void 0!==t&&null!==(n=t.shouldAnonymizeMemberId)&&void 0!==n&&n.call(t))if(Kt(e.id)){var r=e.id;e.id={eventName:r,topicName:r,shouldAnonymizeMemberId:!0}}else e.id.shouldAnonymizeMemberId=!0;var i=this.delegate&&this.delegate.preTransporter?this.delegate.preTransporter(e):e;if(i){var o=i.meta.transporterKey,a=o?this.customTransporters[o]:this.transporter;if(!a&&o){var s=Wt(i.id),c="Could not find custom transporter: ".concat(o);if(this.clientMonitoringConn){var u=this.clientMonitoringConn.logEventGenerated(s);this.clientMonitoringConn.logFailedEvent(zt.UNKNOWN_EXECUTION_ERROR,i.id,c,u)}throw new Error(c)}return a.fireEvent(i)}return this.host.api.Promise.resolve(!0)}},{key:"generatePageInstance",value:function(e,t){return Et(e,t)}},{key:"firePVE",value:function(e,t,n){return this._firePVE(e,t,n)}},{key:"_firePVE",value:function(e,t,n){var r={pageType:"full",totalTime:0,trackingCode:this.getTrackingCode(),trackingInfo:{}},i=this.host.api.assign(r,t),o=this.generateEnvelope("PageViewEvent",i,{context:n});return o.meta.requestHeader.pageKey=e,this.fireEnvelope(o)}},{key:"destroy",value:function(){for(var e in this.transporter.destroy(),this.customTransporters)this.customTransporters[e].destroy();this.clientMonitoringConn&&(this.clientMonitoringConn.flush(),this.clientMonitoringConn.destroy(),this.clientMonitoringConn=void 0),lt.clear()}},{key:"forceFlush",value:function(){for(var e in this.transporter.forceFlush(),this.customTransporters)this.customTransporters[e].forceFlush()}},{key:"generateControlUrn",value:function(e,t){return bt((t||this.currentContext||{pageKey:N}).pageKey,e)}},{key:"fireRawCIE",value:function(e,t,n,r){var i={controlTrackingId:r,controlUrn:e,interactionType:t};return{beacon:this.fireEvent("ControlInteractionEvent",i,{context:n}),controlUrn:e}}},{key:"generateNavigationEvent",value:function(e){var t=e.triggerId,n=e.triggerUrn,r=e.from;return{previousPageInstance:r&&r.pageInstance,triggerControlTrackingId:t,triggerControlUrn:n}}},{key:"getTrackingCode",value:function(){return this.previousAppContext&&this.previousAppContext.pageKey}},{key:"navMetaFromSeed",value:function(e,t,n){var r="NavigationEvent";this.previousAppContext=t.previousContext;var i=t.fromExternalApp?{eventName:r,topicName:"InboundNavigationEvent"}:r;return{from:t.previousContext,navEventId:i,to:{applicationInstance:t.applicationInstance,pageInstance:this.generatePageInstance(e,n||t.pageTrackingId),pageKey:e},triggerId:t.previousControlId,triggerUrn:t.previousControlUrn}}},{key:"fireNavEvents",value:function(e){var t=this.generateNavigationEvent(e),n=e.to,r=e.from,i=e.navEventId,o=this.generateEnvelope(i,t);o.meta.requestHeader.pageKey=n.pageKey;var a=r&&r.applicationInstance;return a&&(o.meta.header.clientApplicationInstance=a),this.host.api.Promise.all([this._firePVE(n.pageKey),this.fireEnvelope(o)])}},{key:"generateEnvelope",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={directive:n.directive,transporterKey:n.transporterKey,context:n.context||this.currentContext&&St(this.currentContext,this.host.api),requestHeader:this.host.api.assign({trackingCode:this.getTrackingCode()},n.requestHeader||{},sn(this.host)?{path:this.host.api.location.pathname,referer:this.host.api.location.href}:{}),header:this.host.api.assign({applicationViewerUrn:this.appState.applicationViewerUrn,clientApplicationInstance:this.appState.clientApplicationInstance,isShadowEvent:r},n.header||{})};return{body:"function"==typeof t?t:function(){return t},id:e,meta:i}}}]),e}();!function(e){e.INTERNAL_OTEL_JET_EVENT="internal:otel:jet",e.INTERNAL_OTEL_RESOURCE="internal:otel:resource"}(cn||(cn={}));var ln,dn;!function(){function e(t,n){var r,i,o=this;_(this,e),A(this,"core",void 0),A(this,"protocol",void 0),A(this,"throttleKeySet",new Set),A(this,"config",void 0),A(this,"reportTransporterError",(function(e){e.reason instanceof Error||(e.reason=new Error(e.reason||"An error occurred in the transporter")),o.reportError(e.reason,e.tags.concat(["info"]),{responseHeaders:e.responseHeaders}).catch((function(){}))})),this.core=t;var a=this.core.host.api.location.protocol;this.protocol=a.substring(0,a.length-1),this.config={throttleTime:null!==(r=null==n?void 0:n.throttleTime)&&void 0!==r?r:100,useOTel:null!==(i=null==n?void 0:n.useOTel)&&void 0!==i&&i},lt.on(ot,this.reportTransporterError)}I(e,[{key:"reportError",value:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.callTreeId,a=void 0===o?"":o,s=i.responseHeaders,c=void 0===s?{}:s,u=e.message,l=e.name,d=e.stack,f=void 0===d?"":d,h=e.fileName,p=void 0===h?"":h,v=e.lineNumber,g=void 0===v?0:v,m=e.columnNumber,y=void 0===m?0:m,x=this.core.host,E=x.appId,b=x.appVersion,w=x.service,T=x.serviceInstance,S=x.treeID,k=void 0===S?"":S,_=x.api,C=_.Promise,I=_.location,A=I.host,L=I.pathname,R=I.search,N=I.hash,P=void 0===N?"":N;if(this.config.useOTel&<.emit(cn.INTERNAL_OTEL_JET_EVENT,{error:e,tags:r,callTreeId:a,responseHeaders:c}),c){t={};var O=new Map;Object.keys(c).forEach((function(e){O.set(e.toLowerCase(),c[e])})),t.callTreeId=O.get("x-li-uuid"),t.microsoftEdgeReference=O.get("x-msedge-ref"),t.pointOfPresenceId=O.get("x-li-pop"),t.fabric=O.get("x-li-fabric")}var D=function(){return n.core.fireEvent("JavaScriptErrorEvent",(function(e){return{appId:E,e:{c:y,l:g,m:u,s:f,t:l,u:p},h:P,l:n.protocol,o:A,p:L,pageKey:e.pageKey,q:R,service:w,serviceInstance:T,serviceVersion:b,t:r,trackingID:e.pageInstance.trackingId,treeID:k,callTreeId:a,responseTraceHeaders:t}}))};if(this.config.throttleTime<0)return D();var M=(l+u+f+r.join("")+a).split("").reduce((function(e,t){return(e<<5)-e+t.charCodeAt(0)|0}),0);return this.throttleKeySet.has(M)?C.resolve(!1):(this.throttleKeySet.add(M),setTimeout((function(){return n.throttleKeySet.delete(M)}),this.config.throttleTime),D())}},{key:"flush",value:function(){this.core.forceFlush()}},{key:"destroy",value:function(){this.core.destroy(),lt.off(ot,this.reportTransporterError)}}])}();!function(e){e.RealUserMonitoringEvent="RealUserMonitoringEvent",e.FeaturePerformanceMeasurementEvent="FeaturePerformanceMeasurementEvent",e.ClientPerfMetricsEvent="ClientPerfMetricsEvent",e.WEB_UI_FRAMEWORK="web-ui-framework",e.APP_ID="app-id",e.APP_VERSION="app-version",e.IS_SINGLE_PAGE_APP="is-single-page-app",e.IS_APP_RENDER_FAILED="is-app-render-failed",e.APP_RENDER_MODE="app-render-mode",e.USER_TIMING_MARK_ENABLED="user-timing-mark-enabled",e.USER_TIMING_MEASURE_ENABLED="user-timing-measure-enabled",e.BEACON_SOURCE="beacon-source",e.BEACON_TIMEOUT="beacon-timeout",e.ENABLE_RS_TIMING="enable-rs-timing",e.ENABLE_CDN_TRACKING="enable-cdn-tracking",e.ASYNC_PLUGINS_TIMEOUT="async-plugins-timeout",e.ENABLE_MEMORY_MEASUREMENT="enable-memory-measurement",e.PAGE_KEY_PREFIX="pageKeyPrefix",e.ENABLE_T_3="enable-tracking-3",e.ENABLE_PEM_T_3="enable-pem-tracking-3",e.ENABLE_OTEL="enable-otel"}(ln||(ln={})),function(e){e.PageLoadStartEvent="PageLoadStartEvent",e.PageLoadEndEvent="PageLoadEndEvent",e.ResourceLoadEvent="ResourceLoadEvent",e.CustomMeasureEvent="CustomMeasureEvent",e.ViewLoadEvent="ViewLoadEvent",e.PEMTracer="PEMTracer"}(dn||(dn={}));var fn,hn,pn,vn,gn,mn,yn,xn=(A(A(A(A(A(A(A(A(A(A(r={},"web-ui-framework","EMBER"),"app-id","linkedin.rum.tracking"),"app-version","unknown"),"is-single-page-app",!0),"user-timing-mark-enabled",!1),"user-timing-measure-enabled",!0),"beacon-source","apps"),"enable-rs-timing",!0),"enable-cdn-tracking",!1),"async-plugins-timeout",5e3),A(A(A(A(A(A(r,"beacon-timeout",3e4),"enable-memory-measurement",!1),"pageKeyPrefix",""),"enable-pem-tracking-3",!1),"enable-tracking-3",!1),"enable-otel",!1)),En=-1,bn=-2,wn=["loadEventEnd","loadEventStart","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","responseEnd","responseStart","requestStart","secureConnectionStart","connectEnd","connectStart","domainLookupEnd","domainLookupStart","fetchStart","redirectEnd","redirectStart","unloadEventEnd","unloadEventStart","navigationStart"],Tn={redirectStart:"REDIRECT_START",redirectEnd:"REDIRECT_END",fetchStart:"FETCH_START",domainLookupStart:"DOMAIN_LOOKUP_START",domainLookupEnd:"DOMAIN_LOOKUP_END",connectStart:"CONNECT_START",connectEnd:"CONNECT_END",secureConnectionStart:"SECURE_CONNECTION_START",requestStart:"REQUEST_START",responseStart:"RESPONSE_START",responseEnd:"RESPONSE_END",workerStart:"WORKER_START"},Sn={"http/0.9":"HTTP0_9","http/1.0":"HTTP1_0","http/1.1":"HTTP1_1",h2:"HTTP2"},kn="pageLoadId does not exist",_n="rum token passed is invalid",Cn=new RegExp(/batch-(\d+)$|enabled$/),In=function(){function e(){_(this,e),A(this,"userTimingEntries",[]),A(this,"longTasks",[]),A(this,"resourceTimingEntries",[]),A(this,"cdnData",void 0)}return I(e,[{key:"reset",value:function(){this.userTimingEntries=[],this.longTasks=[],this.resourceTimingEntries=[]}},{key:"attachTreeIds",value:function(e){this.resourceTimingEntries.forEach((function(t){var n=e.get(t.name);n&&(t.resourceTreeId=n)}))}},{key:"getData",value:function(){return{userTimingEntries:this.userTimingEntries,longTasks:this.longTasks,resourceTimingEntries:this.resourceTimingEntries.map(Ln),cdnData:this.cdnData}}}]),e}(),An=["resourceTreeId","name","entryType","startTime","duration","initiatorType","nextHopProtocol","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","transferSize","encodedBodySize","decodedBodySize","workerStart"];function Ln(e){return An.reduce((function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}),{})}function Rn(e,t){if(e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===e.tagName.toLowerCase())return"html";var n={root:document.body,idName:function(e){return!0},className:function(e){return!0},tagName:function(e){return!0},attr:function(e,t){return!1},seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4};mn=Object.assign(Object.assign({},n),t),yn=function(e,t){return e.nodeType===Node.DOCUMENT_NODE?e:e===t.root?e.ownerDocument:e}(mn.root,n);var r=Nn(e,gn.All,(function(){return Nn(e,gn.Two,(function(){return Nn(e,gn.One)}))}));if(r){var i=qn(function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{counter:0,visited:new Map},i=[];if(t.length>2&&t.length>mn.optimizedMinLength)for(var o=1;omn.maxNumberOfTries)return i;r.counter+=1;var a=w(t);a.splice(o,1);var s=On(a);if(r.visited.has(s))return i;Mn(a)&&jn(a,n)&&(i.push(a),r.visited.set(s,!0),i=i.concat(e(a,n,r)))}return i}(r,e));return i.length>0&&(r=i[0]),On(r)}throw new Error("Selector was not found.")}function Nn(e,t,n){for(var r=null,i=[],o=e,a=0,s=function(){var e=Bn(function(e){var t=e.getAttribute("id");return t&&mn.idName(t)?{name:"#"+zn(t,{isIdentifier:!0}),penalty:0}:null}(o))||Bn.apply(void 0,w(function(e){return Array.from(e.attributes).filter((function(e){return mn.attr(e.name,e.value)})).map((function(e){return{name:"["+zn(e.name,{isIdentifier:!0})+'="'+zn(e.value)+'"]',penalty:.5}}))}(o)))||Bn.apply(void 0,w(function(e){return Array.from(e.classList).filter(mn.className).map((function(e){return{name:"."+zn(e,{isIdentifier:!0}),penalty:1}}))}(o)))||Bn(function(e){var t=e.tagName.toLowerCase();return mn.tagName(t)?{name:t,penalty:2}:null}(o))||[{name:"*",penalty:3}],s=function(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;for(var r=0;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}(o);if(t===gn.All)s&&(e=e.concat(e.filter(Fn).map((function(e){return Un(e,s)}))));else if(t===gn.Two)e=e.slice(0,1),s&&(e=e.concat(e.filter(Fn).map((function(e){return Un(e,s)}))));else if(t===gn.One){var c=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||T(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e=e.slice(0,1),1)[0];s&&Fn(c)&&(e=[Un(c,s)])}var u,l=b(e);try{for(l.s();!(u=l.n()).done;)u.value.level=a}catch(e){l.e(e)}finally{l.f()}if(i.push(e),i.length>=mn.seedMinLength&&(r=Pn(i,n)))return 1;o=o.parentElement,a++};o&&o!==mn.root.parentElement&&!s(););return r||(r=Pn(i,n)),r}function Pn(e,t){var n=qn(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t.length>0){var r,i=[],o=b(t[0]);try{for(o.s();!(r=o.n()).done;){var a=r.value;i=i.concat(e(t.slice(1,t.length),n.concat(a)))}}catch(t){o.e(t)}finally{o.f()}return i}return[n]}(e));if(n.length>mn.threshold)return t?t():null;var r,i=b(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(Mn(o))return o}}catch(e){i.e(e)}finally{i.f()}return null}function On(e){for(var t=e[0],n=t.name,r=1;r ").concat(n):"".concat(e[r].name," ").concat(n),t=e[r]}return n}function Dn(e){return e.map((function(e){return e.penalty})).reduce((function(e,t){return e+t}),0)}function Mn(e){switch(yn.querySelectorAll(On(e)).length){case 0:throw new Error("Can't select any node with this selector: ".concat(On(e)));case 1:return!0;default:return!1}}function Un(e,t){return{name:e.name+":nth-child(".concat(t,")"),penalty:e.penalty+1}}function Fn(e){return"html"!==e.name&&!e.name.startsWith("#")}function Bn(){for(var e=arguments.length,t=new Array(e),n=0;n0?r:null}function Hn(e){return null!=e}function qn(e){return Array.from(e).sort((function(e,t){return Dn(e)-Dn(t)}))}function jn(e,t){return yn.querySelector(On(e))===t}!function(e){e.HTTP0_9="HTTP0_9",e.HTTP1_0="HTTP1_0",e.HTTP1_1="HTTP1_1",e.HTTP2="HTTP2",e.UNKNOWN="UNKNOWN"}(fn||(fn={})),function(e){e.REDIRECT_START="REDIRECT_START",e.REDIRECT_END="REDIRECT_END",e.FETCH_START="FETCH_START",e.DOMAIN_LOOKUP_START="DOMAIN_LOOKUP_START",e.DOMAIN_LOOKUP_END="DOMAIN_LOOKUP_END",e.CONNECT_START="CONNECT_START",e.CONNECT_END="CONNECT_END",e.SECURE_CONNECTION_START="SECURE_CONNECTION_START",e.REQUEST_START="REQUEST_START",e.RESPONSE_START="RESPONSE_START",e.RESPONSE_END="RESPONSE_END",e.WORKER_START="WORKER_START"}(hn||(hn={})),function(e){e.redirectStart="redirectStart",e.redirectEnd="redirectEnd",e.fetchStart="fetchStart",e.domainLookupStart="domainLookupStart",e.domainLookupEnd="domainLookupEnd",e.connectStart="connectStart",e.connectEnd="connectEnd",e.secureConnectionStart="secureConnectionStart",e.requestStart="requestStart",e.responseStart="responseStart",e.responseEnd="responseEnd",e.workerStart="workerStart"}(pn||(pn={})),function(e){e.DEFAULT="DEFAULT",e.INITIAL="INITIAL",e.SUBSEQUENT="SUBSEQUENT",e.PAGINATED="PAGINATED"}(vn||(vn={})),function(e){e[e.All=0]="All",e[e.Two=1]="Two",e[e.One=2]="One"}(gn||(gn={}));var Kn=/[ -,\.\/:-@\[-\^`\{-~]/,Wn=/[ -,\.\/:-@\[\]\^`\{-~]/,Vn=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Gn={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};function zn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign({},Gn),t);"single"!=n.quotes&&"double"!=n.quotes&&(n.quotes="single");for(var r="double"==n.quotes?'"':"'",i=n.isIdentifier,o=e.charAt(0),a="",s=0,c=e.length;s126){if(l>=55296&&l<=56319&&s1&&void 0!==arguments[1]&&arguments[1];if(e&&"function"==typeof e.now&&(e.timeOrigin||e.timing)){var n,r=e.now();return n=!e.timing&&t?Math.floor(e.timeOrigin):e.timing.navigationStart,Math.round(r+n)}return Date.now()}function Yn(e){var t=e||performance;return Math.round(t.now())}function Zn(e){if(!e)return"null";if(e.nodeType===Node.ELEMENT_NODE)try{return Rn(e,{idName:function(e){return 0!==e.indexOf("ember")}})}catch(e){return"serialization_error"}var t=Zn(e.parentElement||void 0);return"".concat(t," > nodeType(").concat(e.nodeType,")")}function $n(e,t,n,r){var i=[];return e&&"function"==typeof e.getEntriesByType&&(t["user-timing-measure-enabled"]&&e.getEntriesByType("measure").forEach((function(e){var t=e.name,n=e.startTime,o=e.duration;i.push({entryType:"MEASURE",name:t,startTime:n,duration:o}),null==r||r({measurementName:t,measurementType:"MEASURE",measureProgressStates:[{measureProgressName:t,timestamp:n,duration:o}]})})),t["user-timing-mark-enabled"]&&e.getEntriesByType("mark").forEach((function(e){var t=e.name,n=e.startTime,o=e.duration;i.push({entryType:"MARK",name:t,startTime:n,duration:o}),null==r||r({measurementName:t,measurementType:"MARK",measureProgressStates:[{measureProgressName:t,timestamp:n}]})})),n&&(e.clearMeasures(),e.clearMarks())),i}function er(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}var tr,nr,rr=function(){function e(t){_(this,e),A(this,"hostApis",void 0),A(this,"hostnameProperties",void 0),A(this,"usedHostnames",void 0),A(this,"abortController",void 0),A(this,"pendingPromises",void 0),this.hostApis=t;var n=t.AbortController;this.hostnameProperties={},this.usedHostnames=new Set,this.abortController=new n,this.pendingPromises=new Set}return I(e,[{key:"clearUsedHostnames",value:function(){this.usedHostnames=new Set}},{key:"getPresentData",value:function(){var e=this;return _t(this.usedHostnames).map((function(t){return e.hostnameProperties[t]||{hostname:t,provider:"",ipVersion:"",httpVersion:""}}))}},{key:"getDataWhenReady",value:function(e){var t=this,n=this.hostApis,r=n.AbortController,i=n.Promise,o=kt(_t(this.pendingPromises),i),a=setTimeout((function(){t.abortController.abort(),t.abortController=new r}),e);return o.then((function(){return clearTimeout(a),t.getPresentData()}))}},{key:"inspectEntryForCdnData",value:function(e){var t=this;if(!(e.name.indexOf(".licdn.")<0)){var n,r,i=this.hostApis.assign,o=(n=e.name,r=this.hostApis.document,(Xn=Xn||r.createElement("a")).href=n,Xn.hostname);if(this.usedHostnames.add(o),!this.hostnameProperties[o]&&!this.isResourcePossiblyFromCache(e)){var a=this.fetchCdnFromUrl(e.name).then((function(e){var n=i({hostname:o},e);return t.hostnameProperties[o]||(t.hostnameProperties[o]=n),t.pendingPromises.delete(a),n}));this.pendingPromises.add(a)}}}},{key:"fetchCdnFromUrl",value:function(e){return(0,this.hostApis.fetch)(e,{method:"HEAD",signal:this.abortController.signal}).then((function(e){return{provider:e.headers.get("X-CDN")||"",ipVersion:e.headers.get("X-CDN-CLIENT-IP-VERSION")||"",httpVersion:e.headers.get("X-CDN-Proto")||""}}))}},{key:"isResourcePossiblyFromCache",value:function(e){return void 0!==e.transferSize?0===e.transferSize:e.domainLookupStart===e.domainLookupEnd&&e.connectEnd===e.connectStart&&0===e.secureConnectionStart}}]),e}(),ir=["VERTEX_SHADER","shaderSource","attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}","compileShader","createShader","FRAGMENT_SHADER","precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}","linkProgram","useProgram","vertexPosAttrib","attrVertex","offsetUniform","getUniformLocation","uniformOffset","enableVertexAttribArray","vertexPosArray","FLOAT","uniform2f","drawArrays","TRIANGLE_STRIP","webglHash","vendorAndRenderer","getWebglVendorAndRenderer","extensions","ALIASED_LINE_WIDTH_RANGE","getParameter","webgl alpha bits","webgl antialiasing","getContextAttributes","antialias","webgl blue bits","webgl depth bits","DEPTH_BITS","webgl green bits","webgl max anisotropy","EXT_texture_filter_anisotropic","getExtension","WEBKIT_EXT_texture_filter_anisotropic","MOZ_EXT_texture_filter_anisotropic","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_COMBINED_TEXTURE_IMAGE_UNITS","webgl max cube map texture size","MAX_CUBE_MAP_TEXTURE_SIZE","webgl max fragment uniform vectors","MAX_FRAGMENT_UNIFORM_VECTORS","webgl max render buffer size","MAX_RENDERBUFFER_SIZE","webgl max texture image units","MAX_TEXTURE_SIZE","webgl max varying vectors","MAX_VARYING_VECTORS","webgl max vertex attribs","MAX_VERTEX_ATTRIBS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","webgl max vertex uniform vectors","MAX_VERTEX_UNIFORM_VECTORS","webgl max viewport dims","webgl red bits","RED_BITS","RENDERER","webgl stencil bits","webgl vendor","UNMASKED_VENDOR_WEBGL","webgl unmasked renderer","HIGH","LOW","precision","getShaderPrecisionFormat","_SHADER","precision ","toLowerCase","WEBGL_debug_renderer_info","innerHTML"," ","className","adsbox","getHasLiedLanguages","languages","substr","windows phone","win","Windows","android","Android","cros","Linux","iphone","ipad","Other","Windows Phone","linux","mac","iOS","pike","ipod","firefox","opera","opr","chrome","trident","Internet Explorer","Opera","toSource","WebGLRenderingContext","Microsoft Internet Explorer","Netscape","swfobject","hasFlashPlayerVersion","addFlashDivNode","setAttribute","swfContainerId","___fp_swf_loaded","always","false","experimental-webgl","components","webrtc","enumerateDevices","tsSeed","location","platformKey","cpuClass","colorDepthKey","pixelRatio","screenOrientation","availableScreenResolution","indexedDb","addBehavior","canvas","canvasKey","webgl","signals","touchSupport","networkInfo","audioKey","automation","pluginsComponent","mimetyps","fontsFlash","flashFontsKey","function","excludes","key","alias","getData","shouldEnforceDataLimit","dataLimit","number","errors"," Data length for:"," was found to be:","data","latency","acq_time","allFeatures","allFeaturesCollectionAt","useRequestIdleCallBack","requestIdleCallback","querySelector","getElementById","parentNode","getElementsByClassName","apply","atob","str2ab","crypto","importKey","RSA-OAEP","importPk","spki","wrapKey","subtle","raw","wrapErrorResult","error","encryptWithKey","string","ec1","getRandomValues","encode","encrypt","resolve","encryptWithKeyIds","Error: ec2","isNaN","MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqyVTa3Pi5twlDxHc34nl3MlTHOweIenIid6hDqVlh5/wcHzIxvB9nZjObW3HWfwqejGM+n2ZGbo9x8R7ByS3/V4qRgAs1z4aB6F5+HcXsx8uVrQfwigK0+u7d3g1s7H8qUaguMPHxNnyj5EisTJBh2jf9ODp8TpWnhAQHCCSZcDM4JIoIlsVdGmv+dGlzZzmf1if26U4KJqFdrqS83r3nGWcEpXWiQB+mx/EX4brbrhOFCvfPovvsLEjMTm0UC68Bvki3UsB/vkkMPW9cxNiiJJdnDkOEEdQPuFmPug+sqhACl3IIHLVBFM7vO0ca14rcCNSbSDaaKOY6BQoW1A30wIDAQAB","MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtw/ArJ9dD6hi+jrX6ZpRqwk2Mm5v3EElQGhzSngYHAm7gvdcAEj6sbU4HhrXs3+TZamDV+RHwL+rDT+TtD8ZJBaVbA+wRDdIezECZT+WNZw2SMkjAsX0OynAT/wowGfE72zMhYc4byGfQmtAQrUL2iJ19KIJj0aZ4m41kvnBHMZbwO52+ceyQhqAzB7bn6U//QHJySHgjaOsgkpPnuxZUz6ly+FrKveQp+bNIfh8R5GO2ABRoeBL4c3jip/UjmmnfYE3xdzubni1a6WQ6YTTb6ZEJSgQTp/Rc+o/btcKkTIqDcXvGbO0iAxev8EXV7GtkRguqgfwaURAaps9Nes5NwIDAQAB","encryptWithKeyFromDifferentSources","publicKey","publicKeyVersion","uuidv4","generateSha256HashOrDefault","SHA-256","from","DNA","HUMAN","getCookieString","_cookieRegEx","cookie","bcookie","substring","getDomain","; path=","; secure=true","domain=","expires=","toUTCString","=([^;]*)","apfcDf","flash/compiled/FontList.swf","/platform-telemetry/li/apfcDf","n/a","err","excluded","enabled","globalIntegration","complete","readyState","checkConfigAndInitializeAllIntegration","addEventListener","load","settings-iframe","setting-headline","initialize","parse","stringify","isDfCollectionRequired","samplingTimeWindowInMillis","getItem","enableOnDemandMode","pauseApfc","checkConfigAndInitializeThirdPartyIntegration","deleteItem","li_apfcdc","deleteDfCookieIfRequired","checkConfigAndInitializeGlobalIntegration","addDfCookieIfRequired","includes","dnaIntegrationEnabled","dnaIntegrationCompleted","intializeGlobalIntegration","humanIntegrationEnabled","humanIntegrationCompleted","initializeHumanIntegration","fpDataCookie","apfcTypes","dfpIntegrationEnabled","dfpIntegrationCompleted","intializeDfpIntegration","df_ts","setTime","apfcDfPK","triggerApfc","reentry","placePonfBeacon","reqid","pageInstance","isProd","getFeatures","fullFeatureCollection","apfcDfPKV","https://www.linkedin.com","POST","Content-Type","application/json","send","telemetryCollectPath","populateFpDataCookie","getBcookie","fb6bbd47-fa7c-4264-b4e9-b25948407586","ee078acd-0704-4344-9e5b-6b84b480c30a","src","dfp","doFpt","head","Invalid session_id: ","treeId","PXdOjV695v","https://li.protechts.net/index.html?ts=","&app_id=","&d_id=","humanThirdPartyIframe","sandbox","allow-same-origin allow-scripts","aria-hidden","true","0px","scraping","reentryGlobalIntegration","triggerDnaApfcEvent","reentryGlobalIntegrationOnDemand","extractDataCookie",":::","trackingId","memberId","sessionUrn","collectionType","object","FPDataCookie",".linkedin.com","startsWith","pemberly","isEmpty","getUrlFromNoscriptBeacon","div_bc","noscript","text/html","display:none;","ponfUrl","searchParams","get","firstChild","nodeValue","charAt","bc_context",".linkedin-ei.com","img","undefined","triggerDnaApfcEventOnDemand","x64Add","x64Rotl","x64Xor","x64Fmix","x64Multiply","x64hash128","length","charCodeAt","x64LeftShift","00000000","slice","toString","each","forEach","prototype","map","getIPs","RTCPeerConnection","webkitRTCPeerConnection","msRTCPeerConnection","stun:stun.l.google.com:19302","exec","localDescription","sdp","split","indexOf","a=candidate:","c=IN","onicecandidate","candidate","onicegatheringstatechange","setLocalDescription","automationKey","getHasLiedBrowser","undetected, fake browser","getBrowserNameAndVersion","Chrome","webdriver","Firefox","documentElement","getAttribute","_Selenium_IDE_Recorder","__webdriver_script_fn","callPhantom","_phantom","webRtcKey","name","message","enumerateDevicesKey","isEnumerateDevicesSupported","NOT_AVAILABLE","deviceId","gid","groupId","kind","label","catch","mediaDevices","audio","excludeIOS11","userAgent","EXCLUDED","webkitOfflineAudioContext","type","frequency","currentTime","createDynamicsCompressor","threshold","knee","ratio","reduction","attack","release","setValueAtTime","connect","destination","start","startRendering","oncomplete","audioTimeout","timeout","renderedBuffer","getChannelData","reduce","abs","disconnect","UserAgent","languageKey","language","userLanguage","browserLanguage","systemLanguage","screen","colorDepth","deviceMemoryKey","deviceMemory"," GB","pixelDepthKey","pixelDepth","pixelRatioKey","devicePixelRatio","screenResolutionKey","getScreenResolution","screenOrientationKey","detectScreenOrientation","Enabled","Orientation","msOrientation","width","availableScreenResolutionKey","getAvailableScreenResolution","availWidth","availHeight","timezoneOffset","getTimezoneOffset","timezone","Intl","DateTimeFormat","resolvedOptions","sessionStorageKey","hasSessionStorage","localStorageKey","indexedDbKey","hasIndexedDB","addBehaviorKey","body","cpuClassKey","getNavigatorCpuClass","oscpuKey","oscpu","appNameKey","appName","appVersionKey","appVersion","appCodeNameKey","appCodeName","seedKey","now","getNavigatorPlatform","productKey","product","productSub","vendorKey","vendor","vendorSubKey","vendorSub","doNotTrackKey","getDoNotTrack","incognitoKey","RequestFileSystem","webkitRequestFileSystem","TEMPORARY","storage","estimate","then","quota","Safari","safariIncognito","openDatabase","localStorage","setItem","test","open","onerror","EDGE","indexedDB","PointerEvent","match","IE ","join","replace","OPR","splice","isCanvasSupported","getCanvasFp","webglKey","isWebGlSupported","javascriptsKey","scripts","locationKey","hash","host","hostname","href","origin","pathname","port","protocol","signalsKey","getSignals","getAdBlock","getHasLiedResolution","hasOwnProperty","hasSwfObjectLoaded","hasMinFlashInstalled","fonts","swfPath","loadSwfAndDetectFonts","missing options.fonts.swfPath","flash not installed","swf object not loaded","jsFontsKey","monospace","sans-serif","serif","Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria Math","Century Schoolbook","Comic Sans","Courier","Courier New","Geneva","Georgia","Helvetica","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI Light","Segoe UI Semibold","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 3","extendedJsFonts","userDefinedFonts","concat","filter","getElementsByTagName","createElement","div","span","style","position","absolute","-9999px","fontStyle","normal","letterSpacing","lineBreak","lineHeight","textTransform","none","left","textDecoration","textShadow","whiteSpace","textContent","mmmmmmmmmmlli","fontFamily","offsetHeight","appendChild","push","offsetWidth","removeChild","hashOnly","lists","mimetypesComponent","mimeTypes","suffixes","description","isIE","plugins","getRegularPlugins","pluginsShouldBeSorted","sort","getIEPlugins","getOwnPropertyDescriptor","ActiveXObject","AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","RealPlayer","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","Shell.UIHelper","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control.1","sortPluginsFor","batteryKey","getBattery","level","charging","chargingTime","dischargingTime","networkInfoKey","connection","downlink","downlinkMax","effectiveType","saveData","getTouchSupport","hardwareConcurrencyKey","sessionStorage","ERROR","getHardwareConcurrency","hardwareConcurrency","platform","doNotTrack","msDoNotTrack","maxTouchPoints","msMaxTouchPoints","TouchEvent","ontouchstart","height","inline","getContext","canvasWinding","isPointInPath","evenodd","yes","textBaseline","fillStyle","fillRect","#069","dontUseFakeFontInCanvas","font","11pt Arial","11pt no-real-font-123","fillText","Cwm fjordbank glyphs vext quiz, 😃","rgba(102, 204, 0, 0.2)","18pt Arial","multiply","rgb(255,0,255)","beginPath","arc","closePath","fill","rgb(0,255,255)","rgb(255,255,0)","toDataURL","canvasHash","getWebglFp","clearColor","DEPTH_TEST","depthFunc","LEQUAL","clear","DEPTH_BUFFER_BIT","getWebglCanvas","createBuffer","ARRAY_BUFFER","STATIC_DRAW","itemSize","numItems"];tr=ir,nr=319,function(e){for(;--e;)tr.push(tr.shift())}(++nr);var or=function(e,t){return ir[e-=0]};!function(){var e=function(e,t,n,r,i){function o(){_(this,o)}return I(o,null,[{key:or("0x0"),value:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}},{key:"x64Multiply",value:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}},{key:or("0x1"),value:function(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])}},{key:"x64LeftShift",value:function(e,t){return 0==(t%=64)?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=o[or("0x4")](e,[4283543511,3981806797]),e=o.x64Xor(e,[0,e[0]>>>1]),e=o.x64Multiply(e,[3301882366,444984403]),o.x64Xor(e,[0,e[0]>>>1])}},{key:or("0x5"),value:function(e,t){t=t||0;var n,r=(e=e||"").length%16,i=e[or("0x6")]-r,a=[0,t],s=[0,t],c=[0,0],u=[0,0],l=[2277735313,289559509],d=[1291169091,658871167];for(n=0;n>>0).toString(16))[or("0xa")](-8)+(or("0x9")+(a[1]>>>0)[or("0xb")](16))[or("0xa")](-8)+(or("0x9")+(s[0]>>>0)[or("0xb")](16))[or("0xa")](-8)+(or("0x9")+(s[1]>>>0)[or("0xb")](16)).slice(-8)}}]),o}(),t=function(t,n,r,i,o,a,s,c,u,l,d,f,h,p,v,g,m,y,x,E,b,w,T,S,C,A,L,R,N,P,O,D,M,U,F,B,H,q,j,K,W,V,G,z,X,Q,J,Y,Z,$,ee,te,ne,re,ie,oe,ae,se,ce,ue,le,de,fe,he){function pe(){_(this,pe),this[or("0x1f2")]=[{key:or("0x1f3"),getData:pe[or("0x2d")],shouldEnforceDataLimit:!0,dataLimit:1e3},{key:or("0x1f4"),getData:pe.enumerateDevicesKey,shouldEnforceDataLimit:!0,dataLimit:22e3},{key:or("0x83"),getData:pe[or("0x82")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1f5"),getData:pe[or("0x88")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x85"),getData:pe[or("0x84")],shouldEnforceDataLimit:!0,dataLimit:300},{key:or("0x87"),getData:pe[or("0x86")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1f6"),getData:pe[or("0xb3")],shouldEnforceDataLimit:!0,dataLimit:1500},{key:"javascripts",getData:pe[or("0xb1")],shouldEnforceDataLimit:!0,dataLimit:2200},{key:or("0x14e"),getData:pe[or("0x1f7")],shouldEnforceDataLimit:!0,dataLimit:100},{key:"product",getData:pe[or("0x8b")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x8d"),getData:pe.productSubKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1f8"),getData:pe[or("0x7e")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x81"),getData:pe[or("0x80")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x14d"),getData:pe[or("0x149")],alias:"numOfCores",shouldEnforceDataLimit:!0,dataLimit:100},{key:"deviceMemory",getData:pe.deviceMemoryKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x8f"),getData:pe[or("0x8e")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x91"),getData:pe[or("0x90")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x58"),getData:pe[or("0x57")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x71"),getData:pe[or("0x71")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x73"),getData:pe[or("0x73")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x3c"),getData:pe[or("0x56")],shouldEnforceDataLimit:!0,dataLimit:1500},{key:or("0x25"),getData:pe[or("0x25")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x14f"),getData:pe[or("0x92")],shouldEnforceDataLimit:!0,dataLimit:100},{key:"incognito",getData:pe[or("0x94")],shouldEnforceDataLimit:!0,dataLimit:100},{key:"colorDepth",getData:pe[or("0x1f9")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x62"),getData:pe[or("0x61")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1fa"),getData:pe[or("0x63")],shouldEnforceDataLimit:!0,dataLimit:100},{key:"screenResolution",getData:pe.screenResolutionKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1fb"),getData:pe.screenOrientationKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1fc"),getData:pe.availableScreenResolutionKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x14a"),getData:pe[or("0x77")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x9f"),getData:pe[or("0x79")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1fd"),getData:pe[or("0x7a")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1fe"),getData:pe[or("0x7c")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x9e"),getData:pe.openDatabaseKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x1ff"),getData:pe[or("0x200")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x201"),getData:pe[or("0xaf")],shouldEnforceDataLimit:!0,dataLimit:6e3},{key:or("0x202"),getData:pe[or("0xbc")],shouldEnforceDataLimit:!0,dataLimit:150},{key:or("0x203"),getData:pe.touchSupportKey,shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x204"),getData:pe.networkInfoKey,shouldEnforceDataLimit:!0,dataLimit:150},{key:"battery",getData:pe[or("0x13c")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x3a"),getData:pe[or("0x205")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x206"),getData:pe[or("0x20")],shouldEnforceDataLimit:!0,dataLimit:100},{key:or("0x124"),getData:pe[or("0x207")],shouldEnforceDataLimit:!0,dataLimit:17e3},{key:or("0x208"),getData:pe[or("0x11f")],shouldEnforceDataLimit:!0,dataLimit:27e3},{key:"fonts",getData:pe[or("0xc9")],shouldEnforceDataLimit:!0,dataLimit:1500},{key:or("0x209"),getData:pe[or("0x20a")],shouldEnforceDataLimit:!0,dataLimit:100}]}return I(pe,[{key:"getFeatures",value:function(e,t){if(or("0x20b")==k(e)){if(!t)return e({error:"Options not provided"});var n={data:{latency:{acq_time:{}},errors:{}}},r=Date[or("0x89")](),i={},o=0,a=0;this[or("0x1f2")][or("0xd")]((function(s){if(!t[or("0x20c")][s[or("0x20d")]]){var c=s.key;void 0!==s.alias&&null!==s[or("0x20e")]&&s[or("0x20e")].length>0&&(c=s[or("0x20e")]),o++;var u=function(){i[c]=Date.now();try{s[or("0x20f")]((function(t){if(!1!==s[or("0x210")]){var u=s[or("0xc0")](or("0x211"))&&or("0x212")==k(s[or("0x211")])?s[or("0x211")]:1e3,l=JSON.stringify(t)[or("0x6")];l>u&&(n.data[or("0x213")][c]="Exceeded current data limit:"+u+or("0x214")+c+or("0x215")+l,t={})}n[or("0x216")][c]=t,n.data[or("0x217")].acq_time[c]=Date.now()-i[c],++a>=o&&(n[or("0x216")][or("0x217")][or("0x218")][or("0x219")]=Date.now()-r,n.data[or("0x21a")]=Date[or("0x89")](),e(n[or("0x216")],!0))}),t)}catch(e){n.data[or("0x213")][c]=String(e)}};or("0x20b")==k(window.requestIdleCallback)&&!1!==t[or("0x21b")]?window[or("0x21c")](u):u()}})),n.data[or("0x217")].acq_time[or("0x219")]=Date[or("0x89")]()-r,e(n[or("0x216")],!1)}}}],[{key:t,value:function(e,t){if(Array.prototype.forEach&&e[or("0xd")]===Array[or("0xe")][or("0xd")])e[or("0xd")](t);else if(e[or("0x6")]===+e[or("0x6")])for(var n=0,r=e.length;n0&&pe[or("0x126")](e)&&(t=t[or("0x127")]((function(e,t){return e[or("0x2e")]>t[or("0x2e")]?1:e.name=0?"Windows Phone":t[or("0x19")](or("0x1cf"))>=0?or("0x1d0"):t[or("0x19")](or("0x1d1"))>=0?or("0x1d2"):t[or("0x19")]("linux")>=0||t[or("0x19")](or("0x1d3"))>=0?or("0x1d4"):t[or("0x19")](or("0x1d5"))>=0||t[or("0x19")](or("0x1d6"))>=0?"iOS":t[or("0x19")]("mac")>=0?"Mac":"Other",(or("0x154")in window||navigator[or("0x151")]>0||navigator.msMaxTouchPoints>0)&&"Windows Phone"!==e&&or("0x1d2")!==e&&"iOS"!==e&&or("0x1d7")!==e)return!0;if(void 0!==n){if((n=n[or("0x1c5")]())[or("0x19")](or("0x1cf"))>=0&&or("0x1d0")!==e&&or("0x1d8")!==e)return!0;if(n[or("0x19")](or("0x1d9"))>=0&&or("0x1d4")!==e&&"Android"!==e)return!0;if(n.indexOf(or("0x1da"))>=0&&"Mac"!==e&&or("0x1db")!==e)return!0;if((-1===n[or("0x19")](or("0x1cf"))&&-1===n[or("0x19")](or("0x1d9"))&&-1===n[or("0x19")](or("0x1da")))!=(or("0x1d7")===e))return!0}return r.indexOf("win")>=0&&or("0x1d0")!==e&&or("0x1d8")!==e||(r[or("0x19")](or("0x1d9"))>=0||r.indexOf(or("0x1d1"))>=0||r.indexOf(or("0x1dc"))>=0)&&or("0x1d4")!==e&&or("0x1d2")!==e||(r[or("0x19")](or("0x1da"))>=0||r.indexOf(or("0x1d6"))>=0||r[or("0x19")](or("0x1dd"))>=0||r[or("0x19")]("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||(r[or("0x19")](or("0x1cf"))<0&&r[or("0x19")](or("0x1d9"))<0&&r[or("0x19")](or("0x1da"))<0&&r[or("0x19")](or("0x1d5"))<0&&r.indexOf("ipad")<0)!=(or("0x1d7")===e)||void 0===navigator.plugins&&or("0x1d0")!==e&&"Windows Phone"!==e}},{key:or("0x21"),value:function(){var e,t=navigator[or("0x3c")].toLowerCase(),n=navigator[or("0x8d")];if(e=t[or("0x19")](or("0x1de"))>=0?or("0x26"):t.indexOf(or("0x1df"))>=0||t[or("0x19")](or("0x1e0"))>=0?"Opera":t.indexOf(or("0x1e1"))>=0?"Chrome":t.indexOf("safari")>=0?or("0x9c"):t[or("0x19")](or("0x1e2"))>=0?or("0x1e3"):or("0x1d7"),(or("0x24")===e||or("0x9c")===e||or("0x1e4")===e)&&"20030107"!==n)return!0;var r,i=eval.toString()[or("0x6")];if(37===i&&or("0x9c")!==e&&or("0x26")!==e&&or("0x1d7")!==e)return!0;if(39===i&&or("0x1e3")!==e&&or("0x1d7")!==e)return!0;if(33===i&&or("0x24")!==e&&"Opera"!==e&&or("0x1d7")!==e)return!0;try{throw"a"}catch(e){try{e[or("0x1e5")](),r=!0}catch(e){r=!1}}return r&&"Firefox"!==e&&"Other"!==e}},{key:or("0xad"),value:function(){var e=document[or("0x103")]("canvas");return!(!e[or("0x157")]||!e.getContext("2d"))}},{key:or("0xb0"),value:function(){if(!pe[or("0xad")]())return!1;var e=pe[or("0x179")]();return!!window[or("0x1e6")]&&!!e}},{key:or("0x123"),value:function(){return or("0x1e7")===navigator[or("0x83")]||!(or("0x1e8")!==navigator[or("0x83")]||!/Trident/[or("0xa1")](navigator[or("0x3c")]))}},{key:or("0xc1"),value:function(){return void 0!==window[or("0x1e9")]}},{key:or("0xc2"),value:function(){return window.swfobject[or("0x1ea")]("9.0.0")}},{key:or("0x1eb"),value:function(e){var t=document[or("0x103")]("div");t[or("0x1ec")]("id",e.fonts[or("0x1ed")]),document.body[or("0x119")](t)}},{key:"loadSwfAndDetectFonts",value:function(e,t){window.___fp_swf_loaded=function(t){e(t)};var n=t[or("0xc3")].swfContainerId;pe.addFlashDivNode();var r={onReady:or("0x1ee")};window[or("0x1e9")].embedSWF(t[or("0xc3")][or("0xc4")],n,"1","1","9.0.0",!1,r,{allowScriptAccess:or("0x1ef"),menu:or("0x1f0")},{})}},{key:or("0x179"),value:function(){var e=document[or("0x103")]("canvas"),t=null;try{t=e[or("0x157")]("webgl")||e.getContext(or("0x1f1"))}catch(e){}return t||(t=null),t}}]),pe}(or("0xc"),or("0xf"),or("0x10"),or("0x20"),or("0x2d"),or("0x30"),or("0x56"),or("0x25"),or("0x57"),or("0x5e"),or("0x61"),or("0x63"),or("0x65"),or("0x67"),or("0x66"),or("0x6d"),or("0x71"),or("0x73"),or("0x77"),or("0x79"),or("0x7a"),or("0x7c"),or("0x7e"),or("0x80"),or("0x82"),or("0x84"),or("0x86"),or("0x88"),or("0x8b"),or("0x8e"),or("0x90"),or("0x92"),or("0x94"),or("0xaf"),or("0xb1"),or("0xb3"),or("0xbc"),or("0xbd"),or("0xc9"),or("0x11f"),or("0x125"),or("0x128"),or("0x13c"),or("0x142"),or("0x149"),or("0x78"),or("0x7b"),or("0x14c"),or("0x7f"),or("0x8a"),or("0x93"),or("0x148"),or("0xae"));function n(e){var t=arguments[or("0x6")]>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],r=n?n[or("0x21d")]("#"+e):document[or("0x21e")](e);if(r){var i=r.firstChild.nodeValue;if(t&&r[or("0x21f")].removeChild(r),i)try{return JSON.parse(i)}catch(e){return}}}function r(e){var t=document[or("0x220")](e);return void 0!==t&&t[or("0x6")]>=1}var i=function(e,t,r,i,o,a){function s(){_(this,s)}return I(s,null,[{key:"str2ab",value:function(e){for(var t=new ArrayBuffer(e[or("0x6")]),n=new Uint8Array(t),r=0,i=e[or("0x6")];r>e/4)[or("0xb")](16)}))}},{key:or("0x23e"),value:function(e){var t=(new TextEncoder)[or("0x232")](e);return crypto[or("0x22a")].digest(or("0x23f"),t)[or("0x9a")]((function(e){return Array[or("0x240")](new Uint8Array(e))[or("0xf")]((function(e){return("00"+e[or("0xb")](16))[or("0xa")](-2)}))[or("0xa9")]("")}))[or("0x38")]((function(){return""}))}}]),s}(),o=or("0x241"),a=or("0x242"),s="DFP_WEB",c={getItem:function(e){var t=this[or("0x243")]()[or("0xa7")](this[or("0x244")](e));return t?t[1].replace(/^"(.*)"$/,"$1"):""},getBcookie:function(){try{for(var e=document[or("0x245")][or("0x18")](/\s*;\s*/),t=0;t1&&or("0x246")===n[0]){var r=n[n[or("0x6")]-1];return r[or("0x247")](2,r[or("0x6")]-1)}}}catch(e){return""}return""},setItem:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this[or("0x248")]();if(n){var i=[e+"="+t+or("0x249")+(arguments[or("0x6")]>4&&void 0!==arguments[4]?arguments[4]:"/")+or("0x24a")];or("0x22f")==k(r)&&r[or("0x6")]>0&&i[or("0x11a")](or("0x24b")+r),i[or("0x11a")](or("0x24c")+(n instanceof Date?n[or("0x24d")]():n)),document[or("0x245")]=i.join("; ")}},deleteItem:function(e){this[or("0xa0")](e,"",new Date(0))},_cookieRegEx:function(e){return new RegExp(e+or("0x24e"))},getCookieString:function(){return document[or("0x245")]},getDomain:function(){return window.location?window[or("0x1f6")][or("0xb6")]:""}},u={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:or("0x24f"),swfPath:or("0x250"),userDefinedFonts:[],extendedJsFonts:void 0,hashOnly:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},webgl:{hashOnly:!1},ponfUrl:"https://ponf.linkedin.com/pixel/tracking.png",telemetryCollectPath:or("0x251"),extraComponents:[],excludes:{pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},debug:!1,NOT_AVAILABLE:or("0x252"),ERROR:or("0x253"),EXCLUDED:or("0x254"),useRequestIdleCallBack:!0},l=function(e,l,d,f,h,p,v,g){function m(e,t,n){var i=this;if(_(this,m),void 0!==t&&void 0!==e&&or("0x255")===e[or("0x256")])or("0x257")===document[or("0x258")]?this[or("0x259")](t,n):window[or("0x25a")](or("0x25b"),(function(){i.checkConfigAndInitializeAllIntegration(t,n)}));else if(void 0!==e){var o=JSON.parse(JSON.stringify(u));r(or("0x25c"))||r(or("0x25d"))||(o[or("0x21b")]=!1),this[or("0x25e")](o,e)}else{var a=JSON[or("0x25f")](JSON[or("0x260")](u));r(or("0x25c"))||r(or("0x25d"))||(a[or("0x21b")]=!1),or("0x257")===document[or("0x258")]?this[or("0x25e")](a):window.addEventListener(or("0x25b"),(function(){i[or("0x25e")](a)}))}}return I(m,[{key:or("0x261"),value:function(e){return or("0x212")!=k(e[or("0x262")])||e[or("0x262")]<=0||""===c[or("0x263")]("df_ts")}},{key:or("0x259"),value:function(e,t){!0===t[or("0x264")]&&!0!==globalThis[or("0x265")]?(globalThis[or("0x265")]=!0,setTimeout((function(){globalThis[or("0x265")]=!1}),3e4),this.checkConfigAndInitializeGlobalIntegration(e,t),this[or("0x266")](e,t),c[or("0x267")](or("0x268"))):(this[or("0x269")](t),this.isDfCollectionRequired(t)&&(this[or("0x26a")](e,t),this[or("0x266")](e,t),this[or("0x26b")](t)))}},{key:or("0x26a"),value:function(e,t){(!0===t[or("0x264")]&&t.fpDataCookie.apfcTypes[or("0x26c")](o)||!0===t[or("0x26d")]&&!0!==globalThis[or("0x26e")])&&this[or("0x26f")](u,e,t)}},{key:or("0x266"),value:function(e,t){(!0===t.enableOnDemandMode&&t.fpDataCookie.apfcTypes[or("0x26c")](a)||!0===t[or("0x270")]&&!0!==globalThis[or("0x271")])&&this[or("0x272")](e,t),(!0===t[or("0x264")]&&t[or("0x273")][or("0x274")].includes(s)||!0===t[or("0x275")]&&!0!==globalThis[or("0x276")])&&this[or("0x277")](e,t)}},{key:or("0x269"),value:function(e){var t=or("0x212")!=k(e[or("0x262")])?0:e[or("0x262")];""!==c[or("0x263")](or("0x278"))&&Date.now()-Number(c[or("0x263")](or("0x278")))>t&&c[or("0x267")](or("0x278"))}},{key:or("0x26b"),value:function(e){if(or("0x212")==k(e[or("0x262")])&&e[or("0x262")]>0){var t=Date.now(),n=new Date;n[or("0x279")](t+e[or("0x262")]),c[or("0xa0")](or("0x278"),t,n)}}},{key:"initialize",value:function(e,r){if(null!=r||null!=n(or("0x27a"))){this[or("0x27d")](e,r);var o=this[or("0x27e")],a=this[or("0x27f")],s=this[or("0x280")]();return(new t)[or("0x281")]((function(t,n){t[or("0x27e")]=o,t[or("0x27f")]=a,t[or("0x282")]=n,i[or("0x23a")](JSON[or("0x260")](t),or("0x27a"),or("0x283"),r,s)[or("0x9a")]((function(t){globalThis.apfcDf=t,!0===n&&function(e,t,n){var r=new XMLHttpRequest,i=n?or("0x284"):"https://www.linkedin-ei.com";i+=String(t),r[or("0xa2")](or("0x285"),i),r.setRequestHeader(or("0x286"),or("0x287")),r[or("0x288")](e)}(JSON[or("0x260")](t),e[or("0x289")],s)}))}),e)}globalThis[or("0x27b")]=this[or("0x27c")]}},{key:or("0x26f"),value:function(e,n,r){return(new t).getFeatures((function(e,t){!0===t&&(m[or("0xe")][or("0x28a")](e,r),i[or("0x235")](JSON.stringify(e),or("0x27a"),or("0x283")).then((function(e){n(o,JSON.stringify(e))})),globalThis.dnaIntegrationCompleted=!0)}),e)}},{key:"intializeDfpIntegration",value:function(e,t){var n=c[or("0x28b")](),r=this[or("0x280")]()?or("0x28c"):or("0x28d");try{if(RegExp("^[\\w-]*$").test(n)){var i="https://merchantpool1.linkedin.com/mdt.js?session_id="+n+"&instanceId="+r,o=document[or("0x103")]("script");o.setAttribute(or("0x28e"),i),o[or("0x1ec")]("id","dfpIframeScript"),o.addEventListener("load",(function(){return window[or("0x28f")][or("0x290")](document)})),document.getElementsByTagName(or("0x291"))[0][or("0x119")](o);var a={sessionId:n,instanceId:r};m[or("0xe")][or("0x28a")](a,t),e(s,JSON.stringify(a))}else{var u={error:or("0x292")+n};e(s,JSON[or("0x260")](u))}}catch(t){var l={error:t};e(s,JSON[or("0x260")](l))}globalThis.dfpIntegrationCompleted=!0}},{key:or("0x272"),value:function(e,t){var n=t[or("0x293")],r=Date[or("0x89")](),o=this[or("0x280")]()?or("0x294"):"PXgoH0hfKu",s=c[or("0x28b")](),u=or("0x295")+r+"&r_id="+encodeURIComponent(n)+or("0x296")+o+"&uc=scraping";i[or("0x23e")](s)[or("0x9a")]((function(i){""!==(s=i)&&(u+=or("0x297")+s);try{var c=document[or("0x103")]("iframe");c[or("0x1ec")]("id",or("0x298")),c[or("0x1ec")]("src",u),c.setAttribute(or("0x299"),or("0x29a")),c[or("0x1ec")](or("0x29b"),or("0x29c")),c[or("0x106")].height=or("0x29d"),c[or("0x106")][or("0x6c")]="0px",c[or("0x106")].border=or("0x110"),c[or("0x106")][or("0x107")]=or("0x108"),c[or("0x106")].left=or("0x109"),document[or("0x7d")][or("0x119")](c);var l={app_id:o,ts:r,d_id:s,r_id:n,uc:or("0x29e")};m[or("0xe")][or("0x28a")](l,t),e(a,JSON[or("0x260")](l))}catch(t){var d={error:t};e(a,JSON[or("0x260")](d))}})),globalThis[or("0x271")]=!0}}]),m}();l[or("0xe")][or("0x27c")]=function(e){globalThis.triggerApfc=null,new l(e)},l[or("0xe")][or("0x29f")]=function(e,t){globalThis[or("0x2a0")]=null,new l({globalIntegration:or("0x255")},e,t)},l.prototype[or("0x2a1")]=function(e,t){if(void 0!==t&&void 0!==e){var n=l[or("0xe")][or("0x2a2")]();!0===t.onlyOnDemandFlow&&null===n||(t[or("0x273")]=n,null!==n&&(t.enableOnDemandMode=!0),l.prototype[or("0x29f")](e,t))}},l[or("0xe")][or("0x2a2")]=function(){var e=c[or("0x263")](or("0x268"));if(!e||""===e)return null;var t=(e=atob(e)).split(or("0x2a3"));if(t[or("0x6")]<5)return null;var n={};return n[or("0x2a4")]=t[0],n[or("0x2a5")]=t[1],n[or("0x2a6")]=t[2],n[or("0x2a7")]=t[3],n[or("0x274")]=t[4][or("0x18")](","),n},l[or("0xe")].populateFpDataCookie=function(e,t){"object"==k(e)&&or("0x2a8")==k(t)&&(e[or("0x2a9")]=t[or("0x273")])},l.prototype.isProd=function(){var e=location&&location.host;return e&&e[or("0x19")](or("0x2aa"))>-1&&!e[or("0x2ab")](or("0x2ac"))},l[or("0xe")][or("0x2ad")]=function(e){return e&&0===Object.keys(e)[or("0x6")]},l[or("0xe")][or("0x2ae")]=function(){var e=[];return w(document[or("0x220")](or("0x2af"))).forEach((function(t){w(t[or("0x102")](or("0x2b0"))).forEach((function(t){var n=t[or("0x1c7")];if(n){var r=(new DOMParser).parseFromString(n,or("0x2b1"));r&&w(r.getElementsByClassName("bc")).forEach((function(t){e.push({src:t[or("0x28")](or("0x28e")),style:t.getAttribute(or("0x106")),class:t[or("0x28")]("class"),width:t[or("0x28")](or("0x6c")),height:t.getAttribute(or("0x155"))})}))}}))})),0===e[or("0x6")]?null:e[0]},l[or("0xe")][or("0x27d")]=function(e,t){if(null!=e){var n,r,o="bc",a=or("0x2b2"),s="1",c="1",u=e[or("0x2b3")];if(this[or("0x27e")]=null,this[or("0x27f")]=null,null!==(n=this.getUrlFromNoscriptBeacon())){o=n.class,a=n[or("0x106")],s=n[or("0x6c")],c=n.height;var l=new URL(n.src);u=l[or("0xbb")]+"//"+l[or("0xb5")]+l.pathname,this.reqid=l[or("0x2b4")].get(or("0x27e")),this[or("0x27f")]=l[or("0x2b4")][or("0x2b5")](or("0x27f"))}else if(void 0!==(r=function(e){var t=arguments[or("0x6")]>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],r=n?n[or("0x21d")]("#"+e):document[or("0x21e")](e);if(r){var i=r[or("0x2b6")][or("0x2b7")];if(t&&r.parentNode.removeChild(r),i)try{var o=i;return"'"!==o[or("0x2b8")](0)&&'"'!==o.charAt(0)||(o=o.substring(1,o.length-1)),JSON[or("0x25f")](o)}catch(e){return}}}(or("0x2b9"))))this[or("0x27e")]=void 0===r[or("0x27e")]?null:r[or("0x27e")],this[or("0x27f")]=r[or("0x27f")];else{if(void 0===t)return;this.pageInstance=t.pageInstance}this[or("0x280")]()||(u=u.replace(/\.linkedin\.com/,or("0x2ba"))),null===this[or("0x27e")]&&(this.reqid=i[or("0x23d")]());var d=u+"?"+new URLSearchParams({reqid:this.reqid,pageInstance:this[or("0x27f")],js:or("0x255")})[or("0xb")](),f=document.getElementsByClassName(or("0x2af"))[0];null==f&&((f=document[or("0x103")](or("0x104")))[or("0x1ec")]("id",this[or("0x27e")]),document[or("0x7d")][or("0x119")](f));var h=document[or("0x103")](or("0x2bb"));h[or("0x28e")]=d,h.style=a,h[or("0x1c9")]=o,h[or("0x6c")]=s,h.height=c,f[or("0x119")](h)}},or("0x2bc")!=("undefined"==typeof globalThis?"undefined":k(globalThis))&&or("0x2bc")!=("undefined"==typeof document?"undefined":k(document))&&or("0x2bc")!=("undefined"==typeof window?"undefined":k(window))&&(globalThis.triggerDnaApfcEvent=l.prototype[or("0x29f")],globalThis[or("0x2bd")]=l.prototype[or("0x2a1")],new l)}();var ar=function(){function e(){_(this,e)}return I(e,null,[{key:"collectFeatures",value:function(e,t){try{"undefined"!=typeof globalThis&&"undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!==globalThis.triggerDnaApfcEventOnDemand&&globalThis.triggerDnaApfcEventOnDemand(t,e)}catch(e){}}}]),e}(),sr=function(){function e(t,n,r,i,o,a,s,c,u,l,d){_(this,e),A(this,"hostApis",void 0),A(this,"statics",void 0),A(this,"options",void 0),A(this,"allowTimingOrigin",void 0),A(this,"fireCustomMeasureEvent",void 0),A(this,"fireResourceLoadEvent",void 0),A(this,"isTracerEnabled",void 0),A(this,"responseRleCache",void 0),A(this,"fireApfcEvent",void 0),A(this,"abuseDeviceSignalCollectionConfig",void 0),A(this,"trackingEndpoint",void 0),A(this,"collectResourceTimings",void 0),A(this,"collectCdnData",void 0),A(this,"perfObserver",void 0),A(this,"renderTimings",new Map),A(this,"urlToTreeId",new Map),A(this,"cdnDataProvider",void 0),A(this,"observables",new In),A(this,"trackingEndpointPattern",void 0),this.hostApis=t,this.statics=n,this.options=r,this.allowTimingOrigin=i,this.fireCustomMeasureEvent=o,this.fireResourceLoadEvent=a,this.isTracerEnabled=s,this.responseRleCache=c,this.fireApfcEvent=u,this.abuseDeviceSignalCollectionConfig=l,this.trackingEndpoint=d,this.collectResourceTimings=r["enable-rs-timing"],this.collectCdnData=r["enable-cdn-tracking"],this.collectCdnData&&(this.cdnDataProvider=new rr(t)),this.trackingEndpointPattern=function(e){if(!e)return"/li/track";try{return new URL(e).pathname}catch(t){return e}}(this.trackingEndpoint)}return I(e,[{key:"recordTreeId",value:function(e,t){this.collectResourceTimings&&this.urlToTreeId.set(function(e,t){return(Xn=Xn||t.createElement("a")).href=e,Xn.href}(t,this.hostApis.document),e)}},{key:"recordRenderStart",value:function(e,t){this.renderTimings.has(e)||this.renderTimings.set(e,{renderName:t,viewId:e,renderStart:Jn(this.hostApis.performance,this.allowTimingOrigin)})}},{key:"recordRenderEnd",value:function(e,t,n){var r=this.renderTimings.get(e);if(r&&(r.renderEnd=r.renderEnd||Jn(this.hostApis.performance,this.allowTimingOrigin),t))return n?this.collectViewLoadEventData(r,n):void At("ViewLoadEvent",kn)}},{key:"collectViewLoadEventData",value:function(e,t){var n=e.renderName,r=e.renderEnd,i=void 0===r?-1:r,o=e.renderStart,a=void 0===o?-1:o,s=[];return s.push({viewProgressType:"RENDER_START",timestamp:a}),s.push({viewProgressType:"RENDER_END",timestamp:i}),{parentPageLoadId:t,viewHierarchy:[n],viewProgressStates:s}}},{key:"startObserving",value:function(){var e=this.hostApis,t=e.PerformanceObserver,n=e.performance;this.stopObserving(),t?this.setupPerformanceObserver(t,n.timeOrigin):this.collectResourceTimings&&this.emulateResourceTimingObserver(n),this.collectResourceTimings&&this.processNewResourceTimings()}},{key:"stopObserving",value:function(){var e;null===(e=this.perfObserver)||void 0===e||e.disconnect(),this.reset()}},{key:"collect",value:function(e){var t=this,n=e.isInitial,r=e.immediate,i=this.collectSynchronousData(n);if(r)return i;var o=this.collectAsynchronousData();return"then"in o?o.then((function(e){return(0,t.hostApis.assign)(i,e),i})):i}},{key:"collectPageLoadStartData",value:function(e){var t=e.isInitial,n=e.rumKey,r=Object.create(null);r.pageKey=n,r.pageLoadType=t?"INITIAL_LOAD":"SUBSEQUENT_LOAD",r.networkInformationMetrics=this.snapshot.networkInformationMetrics;var i=this.statics,o=i.webUIFramework,a=i.timeSource,s=i.isSinglePageApp,c=i.appRenderMode,u=i.isAppRenderFailed,l=i.isFromServiceWorker,d=i.treeId;return r.treeId=d,r.browserPageLoadStartContext={webUIFramework:o,timeSource:a,isSinglePageApp:s,appRenderMode:c,isAppRenderFailed:u,isFromServiceWorker:l},r}},{key:"collectPageLoadEndData",value:function(e){var t=Object.create(null),n=Object.create(null);t.cdnData=[],t.browserPageLoadEndContext={},t.navigationTiming=Object.create(null);var r=e.isInitial,i=e.immediate,o=this.hostApis.assign;if(r){var a=ur(this.hostApis.performance),s=a.htmlMetrics,c=a.redirectCount,u=a.navigationType,l=a.workerStart;s&&(t.browserPageLoadEndContext.htmlMetrics=Object.create(null),o(t.browserPageLoadEndContext.htmlMetrics,s)),Object.prototype.hasOwnProperty.call(a,"redirectCount")&&(n.redirectCount=c),Object.prototype.hasOwnProperty.call(a,"navigationType")&&(n.navigationType=u),n.workerStart=null!=l?l:0,wn.forEach((function(e){Object.prototype.hasOwnProperty.call(a,e)&&(n[e]=a[e])})),o(t.navigationTiming,n)}if(!i){var d=this.collectAsynchronousData();if("then"in d)return d.then((function(e){return o(t.cdnData,e.cdnData),t}))}var f=this.collectAsynchronousData(!0);return o(t.cdnData,f.cdnData),t}},{key:"collectResourceLoadEvent",value:function(e,t){var n=e.name,r=e.transferSize,i=e.initiatorType,o=e.nextHopProtocol,a=e.encodedBodySize,s=e.decodedBodySize,c=e.requestStart,u={};u.resourceKey=n,u.isNetwork=!!r&&0!==r,u.loadType=i||"unknown",u.timeOrigin=t;var l=[];Object.keys(Tn).forEach((function(t){var n;t in pn&&void 0!==e[t]&&l.push({resourceProgressType:Tn[t],duration:null!==(n=e[t])&&void 0!==n?n:-1})})),u.resourceProgressStates=l;var d={},f=Sn[o];d.nextHopProtocol=null!=f?f:"UNKNOWN",d.transferSize=r,d.encodedBodySize=a,d.decodedBodySize=s,u.resourceNetworkContext=d,u.requestStart=c;try{var h,p,v=new URL(n),g=v.pathname+v.search+v.hash;return null===(h=this.responseRleCache)||void 0===h||h.offerResourceLoadEvent(g,u),null===(p=this.responseRleCache)||void 0===p?void 0:p.flushCacheByUrl(g)}catch(e){var m,y="".concat("Invalid url from ResourceLoadEvent"," request url ").concat(n);return e instanceof Error?(e.message="".concat(y," ").concat(e.message),At("ResourceLoadEvent",e)):At("ResourceLoadEvent",y),null===(m=this.responseRleCache)||void 0===m?void 0:m.flushCacheByUrl()}}},{key:"reset",value:function(){var e;this.observables.reset(),null===(e=this.cdnDataProvider)||void 0===e||e.clearUsedHostnames()}},{key:"collectSynchronousData",value:function(e){var t=this.hostApis,n=t.assign,r=t.PerformanceObserver,i=Object.create(null);return this.statics.pageLoadMode=e?"INITIAL":"PARTIAL",r||(this.observables.userTimingEntries=$n(this.hostApis.performance,this.options,!0,this.fireCustomMeasureEvent),this.collectResourceTimings&&this.processNewResourceTimings()),this.observables.attachTreeIds(this.urlToTreeId),this.urlToTreeId.clear(),n(i,this.observables.getData(),this.snapshot,this.statics),e&&n(i,ur(this.hostApis.performance)),n(i,this.collectAsynchronousData(!0)),i}},{key:"collectAsynchronousData",value:function(e){var t=this,n={cdnData:[],usedCDN:this.extractUsedCDN([])};if(e){if(this.collectCdnData){var r=this.cdnDataProvider.getPresentData();n.cdnData=r,n.usedCDN=this.extractUsedCDN(r)}return n}var i=[];return this.collectCdnData&&i.push(this.cdnDataProvider.getDataWhenReady(this.options["async-plugins-timeout"]).then((function(e){n.cdnData=e,n.usedCDN=t.extractUsedCDN(e)}))),i.length>0?kt(i,Promise).then((function(){return n})):n}},{key:"triggerDeviceSignalCollection",value:function(e){var t=e.onlyTriggerOnDemandFlow;try{var n=this.abuseDeviceSignalCollectionConfig||{},r=n.isDnaIntegrationLixEnabled,i=n.isHumanIntegrationLixEnabled,o=n.isDfpIntegrationLixEnabled,a=n.samplingTimeWindowInMillis,s=n.isOnDemandFingerprintingEnabled;if(i||o||r){var c,u,l={treeId:null!==(c=null===(u=this.statics.treeId)||void 0===u?void 0:u.toString())&&void 0!==c?c:"",humanIntegrationEnabled:i,dfpIntegrationEnabled:o,dnaIntegrationEnabled:r,samplingTimeWindowInMillis:a,onlyOnDemand:t&&s};ar.collectFeatures(l,this.fireApfcEvent)}}catch(e){}}},{key:"setupPerformanceObserver",value:function(e,t){var n=this;this.perfObserver=new e((function(e){var r=(n.abuseDeviceSignalCollectionConfig||{}).disablePerfMarkerOptimization;r&&n.triggerDeviceSignalCollection({onlyTriggerOnDemandFlow:!1}),e.getEntries().forEach((function(e){var i=e.entryType,o=e.name,a=e.startTime,s=e.duration;"resource"===i?n.processSingleResourceTiming(e,t):"mark"===i?(n.observables.userTimingEntries.push({entryType:"MARK",name:o,startTime:a,duration:s}),n.fireCustomMeasureEvent({measurementName:o,measurementType:"MARK",measureProgressStates:[{measureProgressName:o,timestamp:a}]}),"mark_meaningful_paint_end"!==o||r||n.triggerDeviceSignalCollection({onlyTriggerOnDemandFlow:!1})):"measure"===i?(n.observables.userTimingEntries.push({entryType:"MEASURE",name:o,startTime:a,duration:s}),n.fireCustomMeasureEvent({measurementName:o,measurementType:"MEASURE",measureProgressStates:[{measureProgressName:o,timestamp:a,duration:s}]})):"longtask"===i&&(n.observables.longTasks.push({duration:s,name:o,startTime:a}),n.fireCustomMeasureEvent({measurementName:o,measurementType:"LONG_TASK",measureProgressStates:[{measureProgressName:o,timestamp:a,duration:s}]}))}))})),this.observables.userTimingEntries=$n(this.hostApis.performance,this.options,!1,this.fireCustomMeasureEvent);var r=["longtask"];(this.collectResourceTimings||this.collectCdnData)&&r.push("resource"),this.options["user-timing-mark-enabled"]&&r.push("mark"),this.options["user-timing-measure-enabled"]&&r.push("measure"),this.perfObserver.observe({entryTypes:r})}},{key:"emulateResourceTimingObserver",value:function(e){var t=this;e&&"function"==typeof e.setResourceTimingBufferSize&&"function"==typeof e.onresourcetimingbufferfull&&(e.setResourceTimingBufferSize(100),e.onresourcetimingbufferfull=function(){return t.processNewResourceTimings()})}},{key:"processNewResourceTimings",value:function(){var e=this,t=this.hostApis.performance;"function"==typeof t.getEntriesByType&&"function"==typeof t.clearResourceTimings&&(t.getEntriesByType("resource").forEach((function(n){return e.processSingleResourceTiming(n,t.timeOrigin)})),t.clearResourceTimings())}},{key:"processSingleResourceTiming",value:function(e,t){var n=this;if(this.collectResourceTimings)if(this.options["enable-otel"])lt.emit(cn.INTERNAL_OTEL_RESOURCE,{resourceTiming:e});else{this.observables.resourceTimingEntries.push(e);var r=-1!==e.name.indexOf(this.trackingEndpointPattern);if(this.isTracerEnabled&&!r&&!function(e){for(var t=0,n=Qn;t=0})),n=t.length>0?t[0]:{hostname:"",provider:"",httpVersion:"",ipVersion:""};return{static_domain:n.provider,http_version:n.httpVersion,ip_version:n.ipVersion}}},{key:"snapshot",get:function(){var e={detailedRenderTimingEntries:er(this.renderTimings),networkInformationMetrics:cr(this.hostApis.connection)};return this.renderTimings.clear(),e}}]),e}();function cr(e){return e?{connectionType:e.type&&e.type.toUpperCase()||"UNKNOWN",effectiveType:function(e){switch(e){case"2g":return"TWO_G";case"3g":return"THREE_G";case"4g":return"FOUR_G";default:return"SLOW_2G"}}(e.effectiveType),roundTripTime:e.rtt||-1,downlinkBandwidth:e.downlink||-1,downlinkMaxBandwidth:void 0===e.downlinkMax?-1:e.downlinkMax===1/0?0:e.downlinkMax}:void 0}function ur(e){if(!e)return{navigationTimingApi:!1};var t=Object.create({});if("function"==typeof e.getEntriesByType){var n=e.getEntriesByType("navigation")[0];n&&(["fetchStart","responseEnd","decodedBodySize","encodedBodySize","transferSize"].every((function(e){return"number"==typeof n[e]}))&&(t.htmlMetrics={htmlFetchStart:n.fetchStart,htmlResponseEnd:n.responseEnd,htmlDecodedBodySize:n.decodedBodySize,htmlEncodedBodySize:n.encodedBodySize,htmlTransferSize:n.transferSize}),t.workerStart=n.workerStart)}var r=e.timing,i=e.navigation;return r&&i?(t.navigationTimingApi=!0,wn.forEach((function(e){e in r&&(t[e]=r[e])})),t.navigationType=i.type,t.redirectCount=i.redirectCount):t.navigationTimingApi=!1,t}var lr=function(){function e(t,n,r){_(this,e),A(this,"featureName",void 0),A(this,"trackingCore",void 0),A(this,"rumConfig",void 0),A(this,"observing",!1),A(this,"basePageTreeId",void 0),A(this,"startPageInstance",void 0),A(this,"startMemory",void 0),A(this,"reportTimeouts",[]),this.featureName=t,this.trackingCore=n,this.rumConfig=r}return I(e,[{key:"startObserving",value:function(){var t,n=this,r=this.getMemory();r&&!this.observing&&(this.basePageTreeId=this.trackingCore.host.treeID||"",this.startPageInstance=(null===(t=this.trackingCore.getCurrentContext())||void 0===t?void 0:t.pageInstance)||Et(N),this.startMemory=r,this.reportTimeouts=e.checkpoints.map((function(e){return setTimeout((function(){return n.reportMemory(e)}),60*e*1e3)})))}},{key:"stopObserving",value:function(){this.reportTimeouts.forEach((function(e){return clearTimeout(e)})),this.observing=!1}},{key:"reportMemory",value:function(e){var t={name:this.featureName,basePageTreeId:this.basePageTreeId,startTime:Yn(this.trackingCore.host.api.performance),duration:0,startPageInstance:this.startPageInstance,marks:this.createMemoryMarks("-".concat(e,"min")),spans:[]};this.trackingCore.fireEvent({appId:this.rumConfig["app-id"],eventName:"FeaturePerformanceMeasurementEvent"},t)}},{key:"createMemoryMarks",value:function(e){var t=this.getMemory(),n=["jsHeapSizeLimit","totalJSHeapSize","usedJSHeapSize"].map((function(n){return{name:n+e,startTime:t[n]}})),r=t.usedJSHeapSize-this.startMemory.usedJSHeapSize;return n.push({name:(r<0?"usedJSHeapSizeDecrease":"usedJSHeapSizeIncrease")+e,startTime:Math.abs(r)},{name:"utilization"+e,startTime:Math.round(t.usedJSHeapSize/t.totalJSHeapSize*100)}),n}},{key:"getMemory",value:function(){return this.trackingCore.host.api.performance.memory}}]),e}();A(lr,"checkpoints",[1,3,10,30,90,180,300]);var dr,fr,hr,pr,vr,gr=I((function e(t,n,r){_(this,e),A(this,"webUIFramework",void 0),A(this,"timeSource",void 0),A(this,"isSinglePageApp",void 0),A(this,"appRenderMode",void 0),A(this,"isAppRenderFailed",void 0),A(this,"pageLoadMode","INITIAL"),A(this,"isSSL",void 0),A(this,"treeId",void 0),A(this,"isFromServiceWorker",void 0),this.webUIFramework=n["web-ui-framework"],this.timeSource=n["beacon-source"],this.isSinglePageApp=n["is-single-page-app"],this.appRenderMode=t["app-render-mode"],this.isAppRenderFailed=t["is-app-render-failed"],this.isSSL="https:"===r.api.location.protocol?1:0,this.treeId=r.treeID,this.isFromServiceWorker=r.isFromServiceWorker})),mr=function(){function e(t){_(this,e),A(this,"isPEMTracerEnabled",void 0),A(this,"responseContextMap",new Map),A(this,"resourceLoadEventsMap",new Map),this.isPEMTracerEnabled=t}return I(e,[{key:"offerResponseContext",value:function(e,t){if(this.isPEMTracerEnabled)if(this.responseContextMap.has(e)){var n;null===(n=this.responseContextMap.get(e))||void 0===n||n.heapPush(t)}else{var r=new Rt((function(e,t){return e.requestTime0&&n.heapsize()===t.heapsize()}},{key:"clear",value:function(){this.resourceLoadEventsMap.clear(),this.responseContextMap.clear()}},{key:"flushCache",value:function(){var e=this.responseContextMap.keys(),t=[];if(e){var n,r=b(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;t=[].concat(w(t),w(this.flushCacheByUrl(i)))}}catch(e){r.e(e)}finally{r.f()}}var o=this.resourceLoadEventsMap.keys();if(o){var a,c=b(o);try{for(c.s();!(a=c.n()).done;){var u,l=a.value,d=null===(u=this.resourceLoadEventsMap.get(l))||void 0===u?void 0:u.heapClear();d&&(t=[].concat(w(t),w(d.map((function(e){e.requestStart;var t=v(e,s);return Lt(t)})))))}}catch(e){c.e(e)}finally{c.f()}}return t}},{key:"flushCacheByUrl",value:function(e){var t,n=[];if(!e)return n;if(!this.isPEMTracerEnabled)return(null===(t=this.resourceLoadEventsMap)||void 0===t||null===(t=t.get(e))||void 0===t||null===(t=t.heapClear())||void 0===t?void 0:t.map((function(e){e.requestStart;var t=v(e,c);return Lt(t)})))||n;if(this.canFlush(e)){for(var r=this.responseContextMap.get(e);r&&r.heapsize()>0;){var i=this.mergeAndConsume(e);i&&n.push(i)}this.deleteEntryByRequestUrl(e)}return n}}]),e}(),yr=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},xr=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},Er=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},br=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},wr=function(e,t,n){var r;return function(i){t.value>=0&&(i||n)&&(t.delta=t.value-(r||0),(t.delta||void 0===r)&&(r=t.value,e(t)))}},Tr=-1,Sr=function(){return"hidden"===document.visibilityState?0:1/0},kr=function(){Er((function(e){var t=e.timeStamp;Tr=t}),!0)},_r=function(){return Tr<0&&(Tr=Sr(),kr(),br((function(){setTimeout((function(){Tr=Sr(),kr()}),0)}))),{get firstHiddenTime(){return Tr}}},Cr=!1,Ir=-1,Ar=function(e,t){Cr||(function(e,t){var n,r=_r(),i=yr("FCP"),o=function(e){"first-contentful-paint"===e.name&&(s&&s.disconnect(),e.startTime-1&&e(t)},i=yr("CLS",0),o=0,a=[],s=function(e){if(!e.hadRecentInput){var t=a[0],r=a[a.length-1];o&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,a.push(e)):(o=e.value,a=[e]),o>i.value&&(i.value=o,i.entries=a,n())}},c=xr("layout-shift",s);c&&(n=wr(r,i,t),Er((function(){c.takeRecords().map(s),n(!0)})),br((function(){o=0,Ir=-1,i=yr("CLS",0),n=wr(r,i,t)})))},Lr={passive:!0,capture:!0},Rr=new Date,Nr=function(e,t){dr||(dr=t,fr=e,hr=new Date,Dr(removeEventListener),Pr())},Pr=function(){if(fr>=0&&fr1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){Nr(e,t),i()},r=function(){i()},i=function(){removeEventListener("pointerup",n,Lr),removeEventListener("pointercancel",r,Lr)};addEventListener("pointerup",n,Lr),addEventListener("pointercancel",r,Lr)}(t,e):Nr(t,e)}},Dr=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,Or,Lr)}))},Mr=function(e,t){var n,r=_r(),i=yr("FID"),o=function(e){e.startTime0&&(n=i[0])}return(null===(e=n)||void 0===e?void 0:e.name)||window.location.href}(),Kr=!1,Wr=new Set,Vr={LCP:"largest-contentful-paint",FID:"first-input",CLS:"layout-shift"};function Gr(){var e=!0===window.__test__resetWebVitalsState;if(!Kr||e){e&&(Wr=new Set),Br.forEach(zr);var t=Symbol();vr=t,[Fr,Mr,Ar].forEach((function(e){return e(Xr.bind(null,t),!0)})),[Fr,Mr,Ar].forEach((function(e){return e(Qr.bind(null,t))})),Kr=!0}}function zr(e){qr[e]={name:e,value:En,updateHistory:[]};var t=Vr[e];"undefined"!=typeof PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&"string"==typeof t&&PerformanceObserver.supportedEntryTypes.indexOf(t)>-1||(qr[e].value=bn)}function Xr(e,t){if(e===vr){var n=qr[t.name],r=Yn();n&&(n.updateHistory.push({time:r,data:t}),n.value=t.value),Wr.forEach((function(e){return e(t,r,!1)}))}}function Qr(e,t){e===vr&&Wr.forEach((function(e){return e(t,Yn(),!0)}))}var Jr,Yr=function(){function e(t,n){var r=this;_(this,e),A(this,"basePageTreeId",void 0),A(this,"basePageKey",void 0),A(this,"observing",!1),A(this,"appContextMap",new Map),A(this,"rumConfig",void 0),A(this,"trackingCore",void 0),A(this,"onMetricUpdate",(function(e,t,n){var i;r.observing&&(n?r.reportMetric(e.name):r.appContextMap.set(t,{time:t,url:location.href,pageKey:null===(i=r.trackingCore.getCurrentContext())||void 0===i?void 0:i.pageKey}))})),this.trackingCore=t,this.rumConfig=n}return I(e,[{key:"startObserving",value:function(){var e,t,n=this;Gr(),this.observing||(this.observing=!0,this.basePageTreeId=this.trackingCore.host.treeID||"_unknown",this.basePageKey=(null===(e=this.trackingCore.getCurrentContext())||void 0===e?void 0:e.pageKey)||"_unknown",Br.forEach((function(e){var t;(null===(t=qr[e])||void 0===t?void 0:t.value)===bn&&n.reportMetric(e)})),t=this.onMetricUpdate,Wr.add(t))}},{key:"stopObserving",value:function(){var e;this.observing=!1,e=this.onMetricUpdate,Wr.delete(e)}},{key:"reportMetric",value:function(e){var t=qr[e],n={name:Hr[e]||e};"CLS"===e?n.doubleValue=t.value:n.longValue=Math.round(t.value);var r=qr[e];if(r){var i=function(e,t,n,r,i){var o={basePageTreeId:e,basePageKey:t,basePageUrl:jr},a=null;switch(n.name){case"LCP":a=function(e,t){var n;if(0===e.updateHistory.length)return null;var r=e.updateHistory[e.updateHistory.length-1],i=r.data.entries,o=i[i.length-1],a={pageKey:(null===(n=t.get(r.time))||void 0===n?void 0:n.pageKey)||"_unknown",element:Zn(o.element),renderTime:Math.round(o.renderTime),loadTime:Math.round(o.loadTime),size:Math.round(o.size)};return o.url&&(a.url=o.url),a}(n,r);break;case"FID":a=function(e,t){var n;if(0===e.updateHistory.length)return null;var r=e.updateHistory[e.updateHistory.length-1],i=r.data.entries,o=i[i.length-1];return{pageKey:(null===(n=t.get(r.time))||void 0===n?void 0:n.pageKey)||"_unknown",processingStart:Math.round(o.processingStart),processingEnd:Math.round(o.processingEnd),target:Zn(o.target)}}(n,r);break;case"CLS":a=function(e,t){if(0===e.updateHistory.length)return null;var n=e.updateHistory.map((function(e){return e.data.entries})).flat();if(0===n.length)return null;var r=n.reduce((function(e,t){return e&&e.value>t.value?e:t})),i=e.updateHistory.find((function(e){return e.data.entries.includes(r)})),o=null;r&&r.sources&&r.sources.length&&(o=r.sources.reduce((function(e,t){return e.node&&e.previousRect.width*e.previousRect.height>t.previousRect.width*t.previousRect.height?e:t})));var a,s=t.get(i.time);return o&&s?{shiftCount:n.length,"largestShift.value":r.value,"largestShift.hadRecentInput":r.hadRecentInput,"largestShift.largestSource.node":Zn(null===(a=o)||void 0===a?void 0:a.node),"largestShift.pageKey":s.pageKey||"_unknown","largestShift.url":s.url,"largestShift.startTime":Math.round(r.startTime)}:null}(n,r)}if(a){var s={};return i(s,o,a),s}return o}(this.basePageTreeId,this.basePageKey,r,this.appContextMap,this.trackingCore.host.api.assign);n.metadata=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];t[n]="string"==typeof r?r:JSON.stringify(r)})),t}(i)}var o={scope:{scopeType:"APPLICATION_INSTANCE",scopeKey:this.basePageTreeId},metrics:[n]};this.trackingCore.fireEvent({appId:this.rumConfig["app-id"],eventName:"ClientPerfMetricsEvent"},o)}}]),e}(),Zr="x-li-uuid",$r="x-li-pop",ei="x-msedge-ref",ti="x-li-fabric",ni="x-li-pem-resp-meta",ri="content-type",ii="x-cache",oi=function(){function e(t){_(this,e),A(this,"_callTreeId",void 0),A(this,"_fabric",void 0),A(this,"_msEdgeRef",void 0),A(this,"_pointOfPresenceId",void 0),A(this,"_responseMetadata",void 0),A(this,"_contentType",void 0),A(this,"_cdnCacheMetadata",void 0),A(this,"_downstreamAvailability",void 0);var n=new Map;null==t||t.forEach((function(e,t){n.set(t.toLowerCase(),e)})),this._callTreeId=n.get(Zr)||null,this._pointOfPresenceId=n.get($r)||null,this._msEdgeRef=n.get(ei)||null,this._fabric=n.get(ti)||null,this._responseMetadata=n.get(ni)||null,this._contentType=n.get(ri)||null,this._cdnCacheMetadata=n.get(ii)||null,this._downstreamAvailability=function(e){if(null==e)return 1;var t,n=b(e.split(","));try{for(n.s();!(t=n.n()).done;){var r=t.value.split("=",2);if(2===r.length&&"availability"===r[0]){var i=parseFloat(r[1]);if(i>=0&&i<=1)return i}}}catch(e){n.e(e)}finally{n.f()}return 1}(this._responseMetadata)}return I(e,[{key:"callTreeId",get:function(){return this._callTreeId}},{key:"pointOfPresenceId",get:function(){return this._pointOfPresenceId}},{key:"microsoftEdgeReference",get:function(){return this._msEdgeRef}},{key:"fabric",get:function(){return this._fabric}},{key:"contentType",get:function(){return this._contentType}},{key:"cdnCacheMetadata",get:function(){return this._cdnCacheMetadata}},{key:"responseMetadata",get:function(){return this._responseMetadata}},{key:"downstreamAvailability",get:function(){return this._downstreamAvailability}},{key:"hasAnyLinkedInHeaders",value:function(){return!!(this._fabric||this._pointOfPresenceId||this._msEdgeRef||this._callTreeId)}}]),e}();!function(e){e.CLIENT_TIMEOUT="CLIENT_TIMEOUT",e.CLIENT_ABORTED="CLIENT_ABORTED",e.SERVER_ERROR="SERVER_ERROR",e.NETWORK_ERROR="NETWORK_ERROR",e.UNCLASSIFIED="UNCLASSIFIED",e.TOO_MANY_REQUESTS="TOO_MANY_REQUESTS",e.CLIENT_ERROR="CLIENT_ERROR",e.GRAPHQL_FULL_FAILURE="GRAPHQL_FULL_FAILURE",e.BLOCKED_BY_CLIENT_PROXY="BLOCKED_BY_CLIENT_PROXY",e.DOWNSTREAM_GRACEFUL_DEGRADATION="DOWNSTREAM_GRACEFUL_DEGRADATION",e.TRAFFIC_AFD_TO_LI_POP_ERROR="TRAFFIC_AFD_TO_LI_POP_ERROR",e.TRAFFIC_LI_POP_TO_DC_ERROR="TRAFFIC_LI_POP_TO_DC_ERROR"}(Jr||(Jr={}));function ai(e,t,n,r,i){var o=new oi(r),a=function(e,t,n){if(t){if(429===t||999===t)return Jr.TOO_MANY_REQUESTS;if(e&&!e.hasAnyLinkedInHeaders()&&t&&t>=400&&t<600)return Jr.BLOCKED_BY_CLIENT_PROXY;if((r=t)>=400&&r<500)return Jr.CLIENT_ERROR;if(function(e){return e>=500&&e<600}(t))return function(e){if(e){if(e.fabric)return Jr.SERVER_ERROR;if(e.pointOfPresenceId)return Jr.TRAFFIC_LI_POP_TO_DC_ERROR;if(e.microsoftEdgeReference)return Jr.TRAFFIC_AFD_TO_LI_POP_ERROR}return Jr.SERVER_ERROR}(e);if(function(e,t){return!!(e>=200&&e<300&&t&&t.downstreamAvailability<1)}(t,e))return Jr.DOWNSTREAM_GRACEFUL_DEGRADATION;if(!n)return null}var r;if(n instanceof Error){if("AbortError"===n.name)return Jr.CLIENT_ABORTED;if(n instanceof TypeError&&(n.message.indexOf("Network request failed")>=0||n.message.indexOf("NetworkError when attempting to fetch resource")>=0||n.message.indexOf("Failed to fetch")>=0))return Jr.NETWORK_ERROR}else if(function(e){return!!e&&("string"==typeof e.statusText||"number"==typeof e.status||"number"==typeof e.readyState)}(n)){if("timeout"===n.statusText)return Jr.CLIENT_TIMEOUT;if(0===n.status&&"abort"===n.statusText)return Jr.CLIENT_ABORTED;if("readyState"in n&&0===n.readyState)return Jr.NETWORK_ERROR}return Jr.UNCLASSIFIED}(o,n,i),s=null;return a&&(s={errorType:a},a===Jr.UNCLASSIFIED&&i&&(s.errorMessage=i.message,function(e,t,n){var r=["tracer-unclassified-error"];null==n||n.forEach((function(e){return r.push("target-view-name-".concat(e))})),At("resource-load-tracer",e instanceof Error||"string"==typeof e?e:JSON.stringify(e),Object.fromEntries(t||[]),r)}(i,r,t))),{cdnCache:o.cdnCacheMetadata||void 0,contentType:o.contentType||void 0,fabric:o.fabric||void 0,msEdgeReference:o.microsoftEdgeReference||void 0,pointOfPresenceId:o.pointOfPresenceId||void 0,resourceTreeId:o.callTreeId?o.callTreeId:void 0,responseStatusCode:n||void 0,networkResourceError:s||void 0,viewNames:t||[],requestTime:e,responseMetadata:o.responseMetadata||void 0}}var si,ci=function(){function e(t,n,r){var i,o,a,s,c,u,l,d,f,h,p,v,g,m,y,x,E,b,w,T,S,k,C,I=this;_(this,e),A(this,"core",void 0),A(this,"config",void 0),A(this,"collector",void 0),A(this,"boomerangStart",-1),A(this,"webVitalsObserver",void 0),A(this,"appMemoryObserver",void 0),A(this,"pageMemoryObserver",void 0),A(this,"liveTokens",new Set),A(this,"stateWM",new WeakMap),A(this,"activeToken",void 0),A(this,"isInitial",void 0),A(this,"shouldTrackCustomMeasureEvent",void 0),A(this,"pageLoadId",void 0),A(this,"initialResourcesEvents",[]),A(this,"initialCustomMeasureEvents",[]),A(this,"responseRleCache",void 0),A(this,"beforeHideHandlerBound",this.beforeHideHandler.bind(this)),A(this,"fireApfcEventBound",this.fireApfcEvent.bind(this)),A(this,"isTracerEnabled",void 0),A(this,"isPEMTracerEnabled",void 0),this.core=r,this.config=function(e,t){for(var n in e)void 0!==t[n]&&(e[n]=t[n]);return e}(r.host.api.assign({},xn),n);var L="enabled"===(null===(i=(o=r.host).__getLixTreatment)||void 0===i?void 0:i.call(o,"pemberly.tracking.time-origin-epoch-time")),R={isDnaIntegrationLixEnabled:"enabled"===(null===(a=(s=r.host).__getLixTreatment)||void 0===a?void 0:a.call(s,"pemberly.tracking.fireApfcEvent"))||"enabled"===(null===(c=r.host.abuseDeviceSignalCollectionConfig)||void 0===c?void 0:c.webviewDnaMemberLixTreatment)||"enabled"===(null===(u=r.host.abuseDeviceSignalCollectionConfig)||void 0===u?void 0:u.dnaMemberLixTreatment),isHumanIntegrationLixEnabled:"enabled"===(null===(l=(d=r.host).__getLixTreatment)||void 0===l?void 0:l.call(d,"pemberly.tracking.human.integration"))||"enabled"===(null===(f=r.host.abuseDeviceSignalCollectionConfig)||void 0===f?void 0:f.webviewHumanMemberLixTreatment)||"enabled"===(null===(h=r.host.abuseDeviceSignalCollectionConfig)||void 0===h?void 0:h.humanMemberLixTreatment),isDfpIntegrationLixEnabled:"enabled"===(null===(p=(v=r.host).__getLixTreatment)||void 0===p?void 0:p.call(v,"pemberly.tracking.dfp.integration"))||"enabled"===(null===(g=r.host.abuseDeviceSignalCollectionConfig)||void 0===g?void 0:g.webviewDfpMemberLixTreatment)||"enabled"===(null===(m=r.host.abuseDeviceSignalCollectionConfig)||void 0===m?void 0:m.dfpMemberLixTreatment),disablePerfMarkerOptimization:r.host.abuseDeviceSignalCollectionConfig&&r.host.abuseDeviceSignalCollectionConfig.disablePerfMarkerOptimization||"enabled"===(null===(y=(x=r.host).__getLixTreatment)||void 0===y?void 0:y.call(x,"fingerprinting.collection.skip.performance.marker.check")),samplingTimeWindowInMillis:null===(E=r.host.abuseDeviceSignalCollectionConfig)||void 0===E?void 0:E.samplingTimeWindowInMillis,isOnDemandFingerprintingEnabled:"enabled"===(null===(b=(w=r.host).__getLixTreatment)||void 0===b?void 0:b.call(w,"pemberly.web.ondemand"))},N=null===(T=(S=r.host).__getLixTreatment)||void 0===T?void 0:T.call(S,"pemberly.tracking.generic-tracers"),P=!!N&&Cn.test(N);this.isTracerEnabled=P||this.config["enable-tracking-3"];var O="enabled"===(null===(k=(C=r.host).__getLixTreatment)||void 0===k?void 0:k.call(C,"pemberly.tracking.pem-tracers"));this.isPEMTracerEnabled=O||this.config["enable-pem-tracking-3"],this.responseRleCache=new mr(this.isPEMTracerEnabled),this.collector=new sr(r.host.api,new gr(t,this.config,r.host),this.config,L,(function(e){return I.fireCustomMeasureEvent(e)}),(function(e){return I.fireResourceLoadEvent(e,I.activeToken)}),this.isTracerEnabled,this.responseRleCache,this.fireApfcEventBound,R,r.host.endpoint),this.collector.startObserving(),lt.before(it,this.beforeHideHandlerBound)}return I(e,[{key:"pingCDN",value:function(){}},{key:"recordTreeId",value:function(e,t){e&&this.collector.recordTreeId(e,t)}},{key:"recordRenderStart",value:function(e,t){this.collector.recordRenderStart(e,t||e)}},{key:"recordRenderEnd",value:function(e){var t,n=null!==(t=this.getPageLoadIdFromState())&&void 0!==t?t:this.pageLoadId,r=this.collector.recordRenderEnd(e,this.isTracerEnabled,n);r&&this.isTracerEnabled&&this.core.fireEvent({appId:this.config["app-id"],eventName:"ViewLoadEvent"},r)}},{key:"provisionNetworkResponse",value:function(e,t){var n,r,i=this;null===(n=this.responseRleCache)||void 0===n||n.offerResponseContext(e,t);var o=null===(r=this.responseRleCache)||void 0===r?void 0:r.flushCacheByUrl(e);null==o||o.forEach((function(e){i.fireResourceLoadEvent(e,i.activeToken)}))}},{key:"start",value:function(e){var t,n;!this.isTracerEnabled&&this.activeToken&&this.abort(this.activeToken),this.flushEndedSessions(),this.isInitial=void 0===this.isInitial,this.isInitial||this.collector.reset();var r,i=Object.create(null),o="enabled"===(null===(t=(n=this.core.host).__getLixTreatment)||void 0===t?void 0:t.call(n,"pemberly.tracking.time-origin-epoch-time"));return this.activeToken=i,this.liveTokens.add(i),this.isTracerEnabled?(this.stateWM.set(i,{isInitial:this.isInitial,startTime:Jn(this.core.host.api.performance,o),pageKey:e}),this.firePageLoadStartEvent(i)):this.stateWM.set(i,{isInitial:this.isInitial,startTime:Jn(this.core.host.api.performance,o)}),this.config["enable-memory-measurement"]&&(null===(r=this.pageMemoryObserver)||void 0===r||r.stopObserving(),this.pageMemoryObserver=new lr("page-memory",this.core,this.config),this.pageMemoryObserver.startObserving(),void 0===this.appMemoryObserver&&(this.appMemoryObserver=new lr("application-memory",this.core,this.config),this.appMemoryObserver.startObserving())),i}},{key:"observeWebVitals",value:function(){void 0===this.webVitalsObserver&&(this.webVitalsObserver=new Yr(this.core,this.config),this.webVitalsObserver.startObserving())}},{key:"end",value:function(e){var t,n,r=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2?arguments[2]:void 0;if(e&&this.activeToken&&this.activeToken===e){var a=this.stateWM.get(e),s="enabled"===(null===(t=(n=this.core.host).__getLixTreatment)||void 0===t?void 0:t.call(n,"pemberly.tracking.time-origin-epoch-time")),c=Jn(this.core.host.api.performance,s);a.endProps={renderCompleteTime:c,isImpactedByHiddenWindow:i,rumKey:o},this.isTracerEnabled&&o&&(a.pageKey=o);var u=this.activeToken,l=this.isTracerEnabled?5e3:this.config["beacon-timeout"];a.fireRumEventTimeout=setTimeout((function(){if(r.isTracerEnabled){r.flushResourceLoadEvents(u);var e=r.collector.collectPageLoadEndData({isInitial:a.isInitial});"then"in e?e.then((function(e){r.firePageLoadEndEvent(e,u)})):r.firePageLoadEndEvent(e,u)}var t=r.collector.collect({isInitial:a.isInitial});"then"in t?t.then((function(e){r.fireRumEvent(e,u)})):r.fireRumEvent(t,u)}),l),this.activeToken=void 0}else At("rum-end",_n)}},{key:"onDataResponse",value:function(e,t,n,r,i,o,a){var s=ai(t,n,r,i,o);if(null!=a&&a.serverSideResponse){var c=this.generateResourceLoadEventFromResponseContext(e,p({nextHopProtocol:fn.UNKNOWN},s));this.fireResourceLoadEvent(c,this.activeToken)}else this.provisionNetworkResponse(e,s)}},{key:"onOopsPage",value:function(e,t){At("rum-oops",e,Object.fromEntries(t||[]),["oops-page"])}},{key:"firePageLoadStartEvent",value:function(e){if(e&&this.activeToken&&this.activeToken===e){this.shouldTrackCustomMeasureEvent=!0;var t=this.stateWM.get(e);this.pageLoadId=yt(),t.pageLoadId=this.pageLoadId;var n=this.collector.collectPageLoadStartData({isInitial:t.isInitial,rumKey:t.pageKey});n.pageLoadId=t.pageLoadId,this.core.fireEvent({appId:this.config["app-id"],eventName:"PageLoadStartEvent"},n)}else At("PageLoadStartEvent",_n)}},{key:"destroy",value:function(){var e,t,n;lt.offBefore(it,this.beforeHideHandlerBound),this.activeToken&&this.abort(this.activeToken),this.flushEndedSessions(),this.collector.stopObserving(),null===(e=this.webVitalsObserver)||void 0===e||e.stopObserving(),null===(t=this.appMemoryObserver)||void 0===t||t.stopObserving(),null===(n=this.pageMemoryObserver)||void 0===n||n.stopObserving(),this.responseRleCache=void 0,this.core.destroy()}},{key:"getPageLoadIdFromState",value:function(e){var t,n=null!=e?e:this.activeToken;return n&&(t=this.stateWM.get(n).pageLoadId),t}},{key:"abort",value:function(e){var t;if(!e||this.activeToken!==e)throw new Error("RUM abort: rum token passed is invalid");if(null!==(t=this.stateWM.get(e))&&void 0!==t&&t.endProps)throw new Error("RUM abort: Can't abort a session that was already ended");this.activeToken=void 0,this.stateWM.delete(e),this.liveTokens.delete(e)}},{key:"flushEndedSessions",value:function(){var e=this;this.liveTokens.forEach((function(t){var n=e.stateWM.get(t);if(n.endProps){if(e.isTracerEnabled){var r=e.collector.collectPageLoadEndData({isInitial:n.isInitial,immediate:!0});e.firePageLoadEndEvent(r,t),e.flushResourceLoadEvents(t)}var i=e.collector.collect({isInitial:n.isInitial,immediate:!0});e.fireRumEvent(i,t)}}))}},{key:"flushResourceLoadEvents",value:function(e){var t,n,r=this,i=null===(t=this.responseRleCache)||void 0===t?void 0:t.flushCache();null==i||i.map((function(t){r.fireResourceLoadEvent(t,e)})),null===(n=this.responseRleCache)||void 0===n||n.clear()}},{key:"firePageLoadEndEvent",value:function(e,t){if(this.stateWM.get(t)){var n=this.core.host.api.assign,r=this.stateWM.get(t),i=r.startTime,o=r.endProps,a=r.pageLoadId,s=r.pageKey;if(o){var c=o.renderCompleteTime,u=o.isImpactedByHiddenWindow;if(a?e.pageLoadId=a:At("PageLoadEndEvent",kn),e.browserPageLoadEndContext&&(e.browserPageLoadEndContext.isImpactedByHiddenWindow=u),e.navigationTiming){var l,d=null===(l=e.navigationTiming)||void 0===l?void 0:l.navigationStart,f=this.boomerangStart=d||this.boomerangStart,h=d||i,p=c-h;e.navigationTiming.boomerangStart=f,e.navigationTiming.timeDone=p,e.navigationTiming.navigationStart=h,void 0===e.navigationTiming.workerStart&&(e.navigationTiming.workerStart=0)}this.core.fireEvent({appId:this.config["app-id"],eventName:"PageLoadEndEvent"},(function(t){return n({pageKey:s||t.pageKey},e)})),this.shouldTrackCustomMeasureEvent=!1}else this.abort(t)}}},{key:"fireCustomMeasureEvent",value:function(e){var t=this;if(this.isTracerEnabled&&this.shouldTrackCustomMeasureEvent){var n,r=null!==(n=this.getPageLoadIdFromState())&&void 0!==n?n:this.pageLoadId;if(!r)return void this.initialCustomMeasureEvents.push(e);this.initialCustomMeasureEvents.length>0&&(this.initialCustomMeasureEvents.forEach((function(e){e.parentPageLoadId=r,t.core.fireEvent({appId:t.config["app-id"],eventName:"CustomMeasureEvent"},e)})),this.initialCustomMeasureEvents=[]),e.parentPageLoadId=r,this.core.fireEvent({appId:this.config["app-id"],eventName:"CustomMeasureEvent"},e)}}},{key:"fireResourceLoadEvent",value:function(e,t){var n=this;if(this.isTracerEnabled){var r,i=null!==(r=this.getPageLoadIdFromState(t))&&void 0!==r?r:this.pageLoadId;if(!i)return void this.initialResourcesEvents.push(e);this.initialResourcesEvents.length>0&&(this.initialResourcesEvents.forEach((function(e){e.parentPageLoadId=i,n.core.fireEvent({appId:n.config["app-id"],eventName:"ResourceLoadEvent"},e)})),this.initialResourcesEvents=[]),e.parentPageLoadId=i,this.core.fireEvent({appId:this.config["app-id"],eventName:"ResourceLoadEvent"},e)}}},{key:"fireRumEvent",value:function(e,t){if(this.stateWM.get(t)){var n=this.core.host.api.assign,r=this.stateWM.get(t),i=r.startTime,o=r.endProps;if(o){var a=o.renderCompleteTime,s=o.isImpactedByHiddenWindow,c=o.rumKey,u=this.boomerangStart=e.navigationStart||this.boomerangStart,l=e.navigationStart||i,d=a-l,f=this.config["app-version"];this.core.fireEvent({appId:this.config["app-id"],eventName:"RealUserMonitoringEvent"},(function(t){return n({pageKey:c||t.pageKey,isImpactedByHiddenWindow:s,appVersion:f,timeDone:d,navigationStart:l,boomerangStart:u,renderCompleteTime:a},e)})),r.fireRumEventTimeout&&clearTimeout(r.fireRumEventTimeout),this.liveTokens.delete(t),this.stateWM.delete(t)}else this.abort(t)}}},{key:"beforeHideHandler",value:function(){this.flushEndedSessions()}},{key:"fireApfcEvent",value:function(e,t){var n,r=null===(n=document)||void 0===n||null===(n=n.cookie)||void 0===n?void 0:n.split(";"),i={issueTime:0,browserId:""};try{i=function(e){var t,n={issueTime:0,browserId:""},r=b(e);try{for(r.s();!(t=r.n()).done;){var i=t.value.split("=");if(i.length>1&&"bscookie"===i[0]){var o=decodeURIComponent(i[1]),a=Number(o.substring(4,18)),s=isNaN(a)?0:a,c=o.substring(18,50);return n.browserId=c,n.issueTime=s,n}}}catch(e){r.e(e)}finally{r.f()}return n}(r)}catch(e){}var o={type:e,bsCookieInfo:i,payload:t};this.core.fireEvent({appId:this.config["app-id"],eventName:"ApfcEvent"},o)}},{key:"generateResourceLoadEventFromResponseContext",value:function(e,t){var n=t.requestTime,r=t.viewNames,i=t.requestType,o={resourceKey:e,isNetwork:!0,targetViewNames:r||[],loadType:"serversideresponse",resourceNetworkContext:p({},v(t,u)),resourceProgressStates:[],timeOrigin:n};return i&&(o.loadType=i),o}}]),e}(),ui="undefined"!=typeof window&&"undefined"!=typeof performance,li="undefined"!=typeof location&&-1!==location.search.indexOf("_LI_MEASURE_DEBUG");!function(){function e(t,n){_(this,e),A(this,"trackingCore",void 0),A(this,"endPageInstance",void 0),A(this,"startPageInstance",void 0),A(this,"featureIdentifier",void 0),A(this,"marks",[]),A(this,"spans",[]),A(this,"spanStarts",new Map),A(this,"started",!1),A(this,"ended",!1),A(this,"featureKey",void 0),A(this,"productName",void 0),A(this,"flushOnEnd",void 0),A(this,"basePageTreeId",void 0),A(this,"debounceFlush",void 0),A(this,"disableAutoFlush",void 0),A(this,"isCanceled",!1),A(this,"isClosed",!1),this.trackingCore=t;var r=n.featureKey,i=n.productName,o=n.flushDebounceMilliseconds,a=n.flushOnEnd;this.featureKey=r,this.productName=i,this.flushOnEnd=a;var s=i?"::".concat(i):"";this.featureIdentifier="".concat(r).concat(s);var c=void 0!==o?o:3e3;c>0&&(this.debounceFlush=function(e,t,n){var r,i,o;void 0===t&&(t=50),void 0===n&&(n={});var a=null!=(r=n.isImmediate)&&r,s=null!=(i=n.callback)&&i,c=n.maxWait,u=Date.now(),l=[];function d(){if(void 0!==c){var e=Date.now()-u;if(e+t>=c)return c-e}return t}var f=function(){var t=[].slice.call(arguments),n=this;return new Promise((function(r,i){var c=a&&void 0===o;if(void 0!==o&&clearTimeout(o),o=setTimeout((function(){if(o=void 0,u=Date.now(),!a){var r=e.apply(n,t);s&&s(r),l.forEach((function(e){return(0,e.resolve)(r)})),l=[]}}),d()),c){var f=e.apply(n,t);return s&&s(f),r(f)}l.push({resolve:r,reject:i})}))};return f.cancel=function(e){void 0!==o&&clearTimeout(o),l.forEach((function(t){return(0,t.reject)(e)})),l=[]},f}(this.flush.bind(this),c)),this.disableAutoFlush=c<0}I(e,[{key:"start",value:function(e){var t;if(ui){if(this.started)throw new Error("Same PerfMeasurement (".concat(this.featureIdentifier,") cannot be started twice"));this.startPageInstance=e||(null===(t=this.trackingCore.getCurrentContext())||void 0===t?void 0:t.pageInstance),this.spanStart("load"),this.started=!0}}},{key:"end",value:function(e){var t;if(!this.isClosed){if(this.isClosed=!0,this.isCanceled)throw new Error('[rum measurement] cannot end a canceled measurement "'.concat(this.featureIdentifier,'"'));if(ui){if(this.ended)throw new Error("Same PerfMeasurement (".concat(this.featureIdentifier,") should not be ended twice"));this.endPageInstance=e||(null===(t=this.trackingCore.getCurrentContext())||void 0===t?void 0:t.pageInstance),this.spanEnd("load"),this.ended=!0,this.flushOnEnd&&this.flush()}}}},{key:"mark",value:function(e){ui&&(this.marks.push({name:e,startTime:Yn()}),li&&(performance.mark("LI:".concat(this.featureIdentifier,"-mark-").concat(e)),performance.measure("LI:".concat(this.featureIdentifier,"-mark-").concat(e),"LI:".concat(this.featureIdentifier,"-start"),"LI:".concat(this.featureIdentifier,"-mark-").concat(e))),this.handleNewData())}},{key:"spanStart",value:function(e){ui&&(this.spanStarts.set(e,Yn()),li&&performance.mark("LI:".concat(this.featureIdentifier,"-span-").concat(e,"-start")))}},{key:"spanEnd",value:function(e,t){if(ui&&this.spanStarts.has(e)){var n=this.spanStarts.get(e),r=t||e;this.spans.push({name:r,startTime:n,duration:Yn()-n}),li&&(performance.mark("LI:".concat(this.featureIdentifier,"-span-").concat(e,"-end")),performance.measure("LI:".concat(this.featureIdentifier,"-span-").concat(t||e),"LI:".concat(this.featureIdentifier,"-span-").concat(e,"-start"),"LI:".concat(this.featureIdentifier,"-span-").concat(e,"-end"))),this.handleNewData()}}},{key:"clearSpan",value:function(e){ui&&this.spanStarts.has(e)&&this.spanStarts.delete(e)}},{key:"addSpan",value:function(e){this.spans.push(e),this.handleNewData()}},{key:"setBasePageTreeId",value:function(e){this.basePageTreeId=e}},{key:"getTimestamp",value:function(){return Yn()}},{key:"flush",value:function(){0===this.marks.length&&0===this.spans.length||(this.fireEvent(),this.marks=[],this.spans=[],this.debounceFlush&&this.debounceFlush.cancel())}},{key:"handleNewData",value:function(){this.debounceFlush?this.debounceFlush().catch((function(e){})):this.disableAutoFlush||this.flush()}},{key:"fireEvent",value:function(){var e=this,t=this.endPageInstance&&{header:{pageInstance:this.endPageInstance}};this.trackingCore.fireEvent("FeaturePerformanceMeasurementEvent",(function(t){var n=e.startPageInstance||t.pageInstance||Et(N),r={name:e.featureKey,startTime:-1,duration:-1,startPageInstance:n,marks:e.marks,spans:e.spans};return e.productName&&(r.productName=e.productName),e.basePageTreeId&&(r.basePageTreeId=e.basePageTreeId),r}),t)}},{key:"cancel",value:function(){this.isCanceled=!0}},{key:"check",value:function(){if(ui){if(this.isCanceled)throw new Error('[rum measurement] "'.concat(this.featureIdentifier,'" has been canceled'));if(!this.isClosed)throw new Error('[rum measurement] "'.concat(this.featureIdentifier,'" is still open'))}}}])}();!function(e){e[e.BATCH=0]="BATCH",e[e.FLUSH_ALL=1]="FLUSH_ALL"}(si||(si={}));var di,fi,hi="http.response.",pi="lifespan";!function(e){e._SPAN_TYPE="li.mo.spanType",e.HTTP_RESPONSE_STATUS_CODE="http.response.status_code"}(di||(di={})),function(e){e.DEFAULT="DEFAULT",e.APPLICATION="APPLICATION",e.PAGE="PAGE"}(fi||(fi={}));var vi,gi,mi,yi,xi=function(){function e(t,n){var r=this;_(this,e),A(this,"syncAttributes",void 0),A(this,"resourceType",fi.DEFAULT),A(this,"asyncAttributes",void 0),A(this,"asyncAttributesPending",void 0),A(this,"asyncAttributesResolvedPromise",void 0),A(this,"resolveAsyncAttributesPromise",void 0),this.syncAttributes=t,null!=n&&n.waitForAsyncAttributes?(this.asyncAttributesPending=!0,this.asyncAttributesResolvedPromise=new Promise((function(e){r.resolveAsyncAttributesPromise=e}))):(this.asyncAttributesPending=!1,this.resolveAsyncAttributesPromise=function(){})}var t,n;return I(e,[{key:"resolveAsyncAttributes",value:function(e){this.asyncAttributesPending&&(this.asyncAttributes=e,this.asyncAttributesPending=!1,this.resolveAsyncAttributesPromise())}},{key:"waitForAsyncAttributes",value:(t=d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.asyncAttributesPending){e.next=3;break}return e.next=3,this.asyncAttributesResolvedPromise;case 3:case"end":return e.stop()}}),e,this)})),n=function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){f(o,r,i,a,s,"next",e)}function s(e){f(o,r,i,a,s,"throw",e)}a(void 0)}))},function(){return n.apply(this,arguments)})},{key:"attributes",get:function(){if(this.asyncAttributesPending)throw new Error("Resource attributes are not ready yet - async attributes still pending.");var e={resourceType:this.resourceType};return Object.assign({},e,this.syncAttributes,this.asyncAttributes)}}]),e}(),Ei=I((function e(){_(this,e)})),bi={string:"stringValue",boolean:"boolValue",int:"intValue",double:"doubleValue"},wi=new(function(e){function t(){return _(this,t),g(this,t,arguments)}return x(t,Ei),I(t,[{key:"adapt",value:function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n],i=this.getFieldName(r);i?t.push({key:n,value:{value:A({},i,r)}}):console.warn("Attribute '".concat(n,"' of type '").concat(k(r),"' could not be converted to a proto attribute."))}return t}},{key:"getFieldName",value:function(e){var t=k(e);return"number"==typeof e&&(t=Number.isInteger(e)?"int":"double"),t in bi?bi[t]:void 0}}]),t}()),Ti=new(function(e){function t(){return _(this,t),g(this,t,arguments)}return x(t,Ei),I(t,[{key:"adapt",value:function(e){var t=1e3*(window.performance.timeOrigin+e);return Math.round(t)}}]),t}()),Si=new(function(e){function t(){return _(this,t),g(this,t,arguments)}return x(t,Ei),I(t,[{key:"adapt",value:function(e){return{timeUnixNano:Ti.adapt(e.time),name:e.name,attributes:wi.adapt(e.attributes)}}}]),t}()),ki=new(function(e){function t(){return _(this,t),g(this,t,arguments)}return x(t,Ei),I(t,[{key:"adapt",value:function(e){return{traceId:e.traceId,spanId:e.spanId,traceState:e.traceState,attributes:wi.adapt(e.attributes),flags:e.flags}}}]),t}()),_i=new(function(){function e(){_(this,e)}return I(e,[{key:"adapt",value:function(e){var t;return{traceId:e.spanContext.traceId,spanId:e.spanContext.spanId,traceState:e.spanContext.traceState,parentSpanId:null===(t=e.parentSpan)||void 0===t?void 0:t.spanContext.spanId,flags:e.spanContext.traceFlags,name:e.name,kind:e.kind,startTimeUnixNano:Ti.adapt(e.startTime),endTimeUnixNano:Ti.adapt(e.endTime),attributes:wi.adapt(e.attributes),events:e.events.map(Si.adapt),links:e.links.map(ki.adapt),status:e.status}}}]),e}()),Ci=function(){function e(t){_(this,e),A(this,"trackingCore",void 0),this.trackingCore=t}return I(e,[{key:"export",value:function(e){var t=_i.adapt(e),n={attributes:wi.adapt(e.parentTracer.parentTracerProvider.resource.attributes)},r={traceId:e.spanContext.traceId,resourceSpans:{resource:n,scopeSpans:[{scope:e.parentTracer.scope,spans:[t]}]}};this.trackingCore.fireEvent("OtelPilotClientTraceEvent",r)}}]),e}(),Ii=function(){function e(t){_(this,e),A(this,"DEBUG_QUERY_PARAM","__LI_OTEL_DEBUG"),A(this,"enabled",!1),A(this,"globalWindow",void 0),A(this,"exportedSpans",void 0);var n=t;if(void 0!==n.location){var r=new URLSearchParams(n.location.search);this.enabled=null!==r.get(this.DEBUG_QUERY_PARAM)}this.enabled&&(this.globalWindow="undefined"!=typeof window?window:{},this.exportedSpans=this.globalWindow.__li_otelSpans||[],this.globalWindow.__li_otelSpans=this.exportedSpans)}return I(e,[{key:"export",value:function(e){this.exportedSpans&&this.exportedSpans.push(e)}}]),e}(),Ai=new(function(e){function t(){return _(this,t),g(this,t,arguments)}return x(t,Ei),I(t,[{key:"adapt",value:function(e,t){var n={"pageInstance.pageUrn":e.pageInstance.pageUrn,"pageInstance.trackingId":e.pageInstance.trackingId,pageKey:e.pageKey};e.applicationInstance&&(n["applicationInstance.version"]=e.applicationInstance.version,n["applicationInstance.applicationUrn"]=e.applicationInstance.applicationUrn,n["applicationInstance.trackingId"]=JSON.stringify(e.applicationInstance.trackingId));var r=(null==t?void 0:t.prefix)||"";return Object.keys(n).reduce((function(e,t){return e[r+t]=n[t],e}),{})}}]),t}()),Li=function(){function e(t){_(this,e),A(this,"trackingCore",void 0),this.trackingCore=t}return I(e,[{key:"onStart",value:function(e){if(e.startTrackingContext){var t=e.startTrackingContext||this.trackingCore.getCurrentContext(),n=Ai.adapt(t,{prefix:"trackingCtx.start."});Object.assign(e.attributes,n)}}},{key:"onEnd",value:function(e){if(e.endTrackingContext){var t=e.endTrackingContext||this.trackingCore.getCurrentContext(),n=Ai.adapt(t,{prefix:"trackingCtx.end."});Object.assign(e.attributes,n)}}}]),e}(),Ri=function(){function e(){_(this,e)}return I(e,[{key:"onStart",value:function(e){}},{key:"onEnd",value:function(e){e.attributes[di._SPAN_TYPE]=e.spanType}}]),e}();function Ni(e){for(var t="",n=0;n=r?this.warn("Can't add event, because span event limit (".concat(r,") has been reached")):(this.events.push(n),this.state!==vi.STARTED&&this.warn("Added a span event to a span that either has not been started or has already ended."),n.time=r)this.warn("Can't add event, because span event limit (".concat(r,") has been reached"));else{l(y(t.prototype),"addEvent",this).call(this,e,n);var i={parentSpan:this};new Di(e,this.parentTracer,i,n)}}}]),t}(),Ui=function(){function e(t,n){_(this,e),A(this,"scope",void 0),A(this,"parentTracerProvider",void 0),this.scope=t,this.parentTracerProvider=n}return I(e,[{key:"createSpan",value:function(e,t,n){var r=null==t?void 0:t.parentSpan;if((null==r?void 0:r.spanType)!==yi.EVENT_WRAPPER)return((null==n?void 0:n.spanType)||yi.DEFAULT)===yi.INFINITE?new Mi(e,this,t):new Oi(e,this,t);this.parentTracerProvider.warn("Can't create span with parentSpan of type EventWrapperSpan.")}},{key:"handleSpanStart",value:function(e){this.parentTracerProvider.handleSpanStart(e)}},{key:"handleSpanEnd",value:function(e){this.parentTracerProvider.handleSpanEnd(e)}}]),e}(),Fi=function(){function e(){_(this,e),A(this,"endedSpanCount",0)}return I(e,[{key:"onStart",value:function(){}},{key:"onEnd",value:function(e){e.attributes["li.globalSequenceNumber"]=this.endedSpanCount,this.endedSpanCount++}}]),e}(),Bi={spanCountLimit:500,spanEventCountLimit:128},Hi=function(){function e(t,n){var r=this;_(this,e),A(this,"resource",void 0),A(this,"config",void 0),A(this,"tracers",{}),A(this,"spanExporters",[]),A(this,"spanProcessors",[]),A(this,"spanExportQueue",[]),A(this,"waitForResourceAsyncAttributes",!0),A(this,"spanCount",0),this.resource=t,this.config=Object.assign({},Bi,n),this.addSpanProcessor(new Fi),t.waitForAsyncAttributes().then((function(){r.waitForResourceAsyncAttributes=!1,r.flushSpanQueue()}))}return I(e,[{key:"getTracer",value:function(e){var t=this.getScopeKey(e);return void 0===this.tracers[t]&&(this.tracers[t]=new Ui(e,this)),this.tracers[t]}},{key:"addSpanExporter",value:function(e){this.spanExporters.push(e)}},{key:"addSpanProcessor",value:function(e){this.spanProcessors.push(e)}},{key:"handleSpanStart",value:function(e){this.spanProcessors.forEach((function(t){t.onStart(e)}))}},{key:"handleSpanEnd",value:function(e){this.spanProcessors.forEach((function(t){t.onEnd(e)})),this.spanExportQueue.push(e),this.waitForResourceAsyncAttributes||this.flushSpanQueue()}},{key:"warn",value:function(e){this.config.logger&&this.config.logger.warn(e)}},{key:"getScopeKey",value:function(e){return"".concat(e.name,"@").concat(e.version||"")}},{key:"flushSpanQueue",value:function(){var e=this;this.spanExportQueue.forEach((function(t){e.spanCount++,e.spanCount>e.config.spanCountLimit?e.spanCount===e.config.spanCountLimit+1&&e.warn("Resource reached span count limit (".concat(e.config.spanCountLimit,") and won't export any more spans.")):e.spanExporters.forEach((function(e){e.export(t)}))})),this.spanExportQueue=[]}}]),e}(),qi=function(e){function t(){var e;_(this,t);for(var n=arguments.length,r=new Array(n),i=0;i0&&i>r&&(t.addEvent("redirectStart",{time:r}),t.addEvent("redirectEnd",{time:i})),o>0&&t.addEvent("workerStart",{time:o}),t.addEvent("fetchStart",{time:a}),s>0&&c>s&&(t.addEvent("domainLookupStart",{time:s}),t.addEvent("domainLookupEnd",{time:c})),u>0&&d>u&&(t.addEvent("connectStart",{time:u}),l>0&&t.addEvent("secureConnectionStart",{time:l}),t.addEvent("connectEnd",{time:d})),function(e){return e.requestStart>0&&e.responseEnd>e.requestStart}(e)&&(t.addEvent("requestStart",{time:f}),t.addEvent("responseStart",{time:h}),t.addEvent("responseEnd",{time:p}));var S={decodedBodySize:v,encodedBodySize:g,initiatorType:m,nextHopProtocol:y,transferSize:x,deliveryType:E,firstInterimResponseStart:b,renderBlockingStatus:w,responseStatus:T},k=zi({entryType:n},"performance.entry."),_=zi(S,"performance.resource.timing.");Object.assign(t.attributes,k,_)}var Qi="X-Li-Traceparent",Ji="X-Li-Tracestate";function Yi(e){var t={};return e instanceof Headers?e.forEach((function(e,n){return t[n]=e})):Array.isArray(e)?e.forEach((function(e){if(Array.isArray(e)){var n=e.length>0?e[0]:String(void 0),r=e.length>1?e[1]:String(void 0);t[n]=r}})):"object"===k(e)&&(t=p({},e)),t}(function(){function e(t){_(this,e),A(this,"transporter",void 0),A(this,"handleResourceTimingBound",this.handleResourceTiming.bind(this)),A(this,"resourceInfoMap",new Map),A(this,"locationApi",void 0),A(this,"trackingEndpoint",void 0),this.transporter=t,this.transporter instanceof en?(this.trackingEndpoint=this.transporter.getTrackingEndpoint(),this.locationApi=this.transporter.host.api.location):this.trackingEndpoint=this.transporter.host.endpoint}I(e,[{key:"enable",value:function(){this.wrapFetch(),this.wrapXmlHttpRequest(),lt.on(cn.INTERNAL_OTEL_RESOURCE,this.handleResourceTimingBound)}},{key:"disable",value:function(){lt.off(cn.INTERNAL_OTEL_RESOURCE,this.handleResourceTimingBound)}},{key:"wrapFetch",value:function(){var e=this;!function(e,t,n){var r=void 0;try{r=e[t]}catch(e){}if("function"!=typeof r)throw new Error("Property ".concat(t," of the provided object is not a function"));var i=n(r);Gi(e,t,i),Gi(i,"__wrapped",!0),Gi(i,"__original",r)}(window,"fetch",(function(t){return e.fetchWrapper.bind(e,t)}))}},{key:"wrapXmlHttpRequest",value:function(){}},{key:"fetchWrapper",value:function(e,t,n){var r=this,i=function(e){var t="__default";if(e instanceof Request)t=e.url;else if(e instanceof URL)t=e.href;else if("string"==typeof e)try{t=new URL(e,location.origin).href}catch(e){}return t}(t);if(!this.shouldWrapFetch(i))return e.apply(window,[t,n]);var o=Wi.getInstance().getCurrentPageSpan(),a=Pi(),s=n,c=null==n?void 0:n.headers;try{c=function(e,t,n){var r,i=function(e,t){return"".concat("00","-").concat(e,"-").concat(t,"-").concat("00")}(t,n),o=function(e){return"".concat("LinkedIn","=").concat(e)}(n);if((e=null!==(r=e)&&void 0!==r?r:{})instanceof Headers){var a=new Headers(e);return a.append(Qi,i),a.append(Ji,o),a}return Array.isArray(e)?[].concat(w(e),[[Qi,i],[Ji,o]]):"object"===k(e)?p(p({},e),{},A(A({},Qi,i),Ji,o)):e}(null==n?void 0:n.headers,o.spanContext.traceId,a),s=p(p({},n),{},{headers:c})}catch(e){}var u={spanId:a,parentSpan:o,startTime:performance.now(),endTime:performance.now(),request:{url:i,headers:Yi(c)}};return e.apply(window,[t,s]).then((function(e){var t={headers:{},ok:e.ok,redirected:e.redirected,status:e.status,statusText:e.statusText,type:e.type,url:e.url};return e.headers.forEach((function(e,n){t.headers[n]=e})),u.response=t,e})).catch((function(e){throw u.error={name:e.name,message:e.message,stack:e.stack},e})).finally((function(){u.endTime=performance.now();var e=r.resourceInfoMap.get(i)||[];e.push(u),r.resourceInfoMap.set(i,e)}))}},{key:"handleResourceTiming",value:function(e){if(e&&this.shouldTraceResourceTiming(e.resourceTiming.name)){var t,n=this.resourceInfoMap.get(e.resourceTiming.name);n&&(t=n[0],n.length>1?(console.warn("Multiple wrapped request info objects found for URL '".concat(e.resourceTiming.name,"'.")),n.shift()):this.resourceInfoMap.delete(e.resourceTiming.name)),this.traceResource(e.resourceTiming,t)}}},{key:"traceResource",value:function(e,t){var n=e.name,r=e.startTime,i=r+e.duration,o=(null==t?void 0:t.parentSpan)||Wi.getInstance().getCurrentPageSpan(),a=o.parentTracer.parentTracerProvider.getTracer({name:"w3c-resource-instrumentation"}),s=void 0;t&&(s={traceId:t.parentSpan.spanContext.traceId,spanId:t.spanId,traceState:""});var c={parentSpan:o};s&&(c.spanContext=s);var u=a.createSpan(n,c).start({startTime:r});Xi(e,u),t&&this.addWrappedRequestInfoAttributes(u,t),u.end({endTime:i})}},{key:"addWrappedRequestInfoAttributes",value:function(e,t){var n=zi(Yi(t.request.headers),"http.request.header.");if(Object.assign(e.attributes,n),t.response){var r=zi(Yi(t.response.headers),"http.response.header."),i=zi({status:t.response.status,statusText:t.response.statusText,ok:t.response.ok,redirected:t.response.redirected,type:t.response.type,url:t.response.url},hi);Object.assign(e.attributes,r,i)}}},{key:"isTrackingEndpoint",value:function(e,t){return function(e,t,n){var r=new URL(e,n.href),i=new URL(t,n.href);return r.href===i.href}(e,this.trackingEndpoint,t)}},{key:"isRealtimeTelemetryRequest",value:function(e,t){return new URL(e,t.href).pathname.indexOf("/realtime/")>-1}},{key:"shouldWrapFetch",value:function(e){return!!this.locationApi&&!this.isTrackingEndpoint(e,this.locationApi)&&!this.isRealtimeTelemetryRequest(e,this.locationApi)}},{key:"shouldTraceResourceTiming",value:function(e){return!!this.locationApi&&!this.isTrackingEndpoint(e,this.locationApi)&&!this.isRealtimeTelemetryRequest(e,this.locationApi)}}])})(),function(){function e(t){_(this,e),A(this,"handleLoadEventBound",this.handleLoadEvent.bind(this)),A(this,"navigationSpanId",void 0),A(this,"globalWindow",void 0),this.navigationSpanId=null==t?void 0:t.navigationSpanId,"undefined"!=typeof window&&(this.globalWindow=window)}I(e,[{key:"enable",value:function(){var e;"complete"===document.readyState?this.handleLoadEventEnd():null===(e=this.globalWindow)||void 0===e||e.addEventListener("load",this.handleLoadEventBound)}},{key:"disable",value:function(){var e;null===(e=this.globalWindow)||void 0===e||e.removeEventListener("load",this.handleLoadEventBound)}},{key:"handleLoadEvent",value:function(){var e,t=this;setTimeout((function(){t.handleLoadEventEnd()}),0),null===(e=this.globalWindow)||void 0===e||e.removeEventListener("load",this.handleLoadEventBound)}},{key:"handleLoadEventEnd",value:function(){var e=performance.getEntriesByType("navigation");if(!(e.length<1)){var t=e[0],n=Wi.getInstance().getCurrentPageSpan();this.traceNavigation(t,n)}}},{key:"traceNavigation",value:function(e,t){var n=e.name,r=e.startTime,i=r+e.duration,o=t.parentTracer.parentTracerProvider.getTracer({name:"w3c-navigation-instrumentation"}),a=e.toJSON(),s=a.domComplete,c=a.domContentLoadedEventEnd,u=a.domContentLoadedEventStart,l=a.domInteractive,d=a.loadEventEnd,f=a.loadEventStart,h=a.redirectCount,p=a.type,v=a.unloadEventEnd,g=a.unloadEventStart,m={parentSpan:t,spanContext:this.navigationSpanId?{spanId:this.navigationSpanId}:void 0},y=o.createSpan(n,m).start({startTime:r});Xi(e,y),g>0&&v>g&&o.createSpan("unloadEvent",{parentSpan:y}).start({startTime:g}).end({endTime:v});var x=o.createSpan("dom-processing",{parentSpan:y}).start({startTime:l});o.createSpan("domContentLoadedEvent",{parentSpan:x}).start({startTime:u}).end({endTime:c}),x.end({endTime:s}),o.createSpan("loadEvent",{parentSpan:y}).start({startTime:f}).end({endTime:d});var E=zi({type:p,redirectCount:h},"performance.navigation.timing.");Object.assign(y.attributes,E),y.end({endTime:i})}}])}();var Zi=n(0);window.addEventListener("load",(function(e){var t=new en({appId:Object(Zi.g)(),endpoint:"/li/track",__getLixTreatment:function(e){var t=e.replace(/\./g,"_"),n="lix_".concat(t),r=Object(Zi.k)(n);return r||"control"},locale:navigator&&navigator.language||"en_US",api:{AbortController:AbortController,performance:window.performance,PerformanceObserver:window.PerformanceObserver,location:window.location,document:document,Promise:Promise,assign:Object.assign,fetch:fetch,sendBeacon:window.navigator.sendBeacon&&window.navigator.sendBeacon.bind(window.navigator),requestIdleCallback:window.requestIdleCallback}}),n=new un(t),r=Object(Zi.o)(),i=Object(Zi.n)(r);n.updateAppState({clientApplicationInstance:{applicationUrn:"urn:li:application:(checkpoint-frontend)",version:"0.0.0",trackingId:yt()}}),n.setCurrentContext({pageKey:r,pageInstance:i});var o=new ci({"app-render-mode":"SSR","is-app-render-failed":!1},{"is-single-page-app":!1,"enable-rs-timing":!0,"beacon-timeout":500,"request-sampling-rate":1,"enable-cdn-tracking":!0,"enable-pop-tracking":!0,"user-timing-mark-enabled":!0,"web-ui-framework":"GLIMMER"},n);o.end(o.start()),o.observeWebVitals(),window.performance.mark("mark_meaningful_paint_end")}));var $i=n(3);window.addEventListener("load",(function(e){var t=Object(Zi.o)(),n=Object(Zi.l)();Object(Zi.D)(t,{funCaptchaChallengeSource:n})&&Object($i.c)(t,$i.a.FULL)}))},12: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},2:function(e,t,n){e.exports=function(){"use strict";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"],r=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"]),i=[e,"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 o(){}function a(e,t){if(t=t||"log","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("&#?[a-zA-Z0-9]{1,10};");var s,c,u=(c=/[&<>"'\u0000\\=]/g,s={"&":"&","<":"<",">":">",'"':""","'":"'","\0":"�","\\":"\","=":"="},function(e){return null==e?null:e.toString().replace(c,(function(e){return s[e]}))}),l=function(){var e,n,r=/&(?:([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:'"'};return n="function"==typeof String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){return e<=65535?String.fromCharCode(e):"�"},function(o){return null==o?null:(o+"").replace(r,(function(r,o,a,s){return o?(c=o,i.hasOwnProperty(c)?i[c]:(e.innerHTML="&"+c+";",u=e[t],i[c]=u,u)):a||s?n(parseInt(a||s,a?16:10)||65533):"�";var c,u}))}}(),d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function f(e){return/[<&]/.test(e)}var h,p=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t)}:function(e,t){for(var n=0,r=e.length;n]*\\"+ ++a+")?",o&&(s+="|(?:href|src)=([\"'])(?:(?:https?|ftp|mailto|invalid)(?::|&#(?:58|x3a);)|(?:data:image/(?:gif|jpg|jpeg|png);base64,)|[/.#?]|&#(?:35|4[67]|63|x(?:2[3ef]|3f));)[^'\"<>]*\\"+ ++a),s+=")[ \t\r\n]*)+",s+=")"})),s+=")",s+="/?>)",new RegExp(s,"i")}function g(e){return v({tags:e=e||r,checkUrlAttrs:!0})}function m(e,t){var n=(t=t||{}).allowTags,r=!1!==t.hasCustomElementMarkup;return n?!g(n).test(e):r?!m.R_UNSAFE_CUSTOM_ELEMENT.test(e):!m.R_UNSAFE_HTML.test(e)}function y(e){return e.replace(/<[^>]*>|[<>'"&\\]/g,"")}function x(e,t,n){if(null==e)return null;e=e.toString();var r=t?function(e,t){var n={};return e.replace(/\{([^}]+)\}/g,(function(e,r){var i,a=e;if(n.hasOwnProperty(r))return n[r];if(t.hasOwnProperty(r)){if(!((i="string"==typeof(a=t[r]))||a instanceof o||"number"==typeof a))throw new Error("Only strings, numbers, and jSecure types are allowed as placeholder replacements.");a=i?u(a):a.toString()}return n[r]=a,a}))}(e,t):e,i=e;return f(r)&&!m(r,n)&&(r=y(r),a("Content contains tags or attributes that are not allowed:\nContent: "+i,"error")),r}function E(e,t){for(var n=+t.length,r=0,i=e.length;r',""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};b.optgroup=b.option,b.tbody=b.tfoot=b.colgroup=b.caption=b.thead,b.th=b.td;var w=/<([\w:]+)/;function T(e,t){var n,r,i,o,a,s,c,u=t.createDocumentFragment(),l=[];for(a=0,c=e.length;a1?t-1:0),r=1;r"]|%00/,N=/\\/,P=/([.]|%2e){2}/i,O=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 D(e){var t=void 0;if("string"!=typeof e)return a("jSecure Warning: url must be a string","error"),"invalid://";if((t=e.trim()).indexOf(" ")>-1&&(a("jSecure Warning: url should not contain spaces: "+e,"warn"),t=t.replace(L,"+")),!O.test(t))return a("jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. "+e,"error"),"invalid://";if(R.test(t))return a("jSecure Error: not valid url character found in url: "+e,"error"),"invalid://";var n=t.split("?")[0],r=void 0,i=!1;try{r=decodeURI(n)}catch(e){i=!0}return i?(a("jSecure Error: malformed url path detected: "+n),"invalid://"):N.test(n)||P.test(n)||P.test(r)?(a("jSecure Error: malicious data found in url path: "+n,"error"),"invalid://"):e}var M={redirect:function(e){window&&(window.location.href=e)}};return{ALLOWED_TAGS:r,FORMATTING_TAGS:n,htmlEncode:u,htmlUnencode:l,log:a,mk:A,parseHTML:S,parseSelector:function(e){return"string"==typeof e&&/^(?:\s*(<[\w\W]+>)[^>]*)$/.test(e)?[]:e},processTemplate:k,reEncode:function(e){return u(l(e))},_redirector:M,redirect:function(e){var t=D(e);t===e&&M.redirect(t)},sanitizeHTML:_,sanitizeUrl:D,setElementContent:C,text:function(e){return a("jSecure.text() is deprecated. Please use jSecure.htmlEncode().","warn"),u(e)},unsafe:function(e){return e},UnsafeString:I}}()},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"f",(function(){return f}));var r=n(9),i=n.n(r),o=n(0),a={APP_NAME:Object(o.g)("appName")||"checkpoint-frontend",URL:"/li/track",QUEUE_SIZE:10,QUEUE_TIMEOUT:1e3,APP_ID:"com.linkedin.checkpoint"},s={AJAX:"ajax",FULL:"full"};function c(e,t,n,r){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:document.referrer;if(!e||!t||!n)throw new Error("eventName, body and topicName are required.");var u=Object(o.n)(),l=t;l.header={pageInstance:u,time:Date.now()},l.requestHeader={pageKey:(r||Object(o.o)())+"_jsbeacon",path:window.location.href,referer:c},s&&(l.requestHeader.trackingCode=s);var d={eventName:e,topicName:n,appId:a.APP_ID,appName:a.APP_NAME};i.a.sendEvent(d,l)}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;c("PageViewEvent",{pageType:t||s.AJAX,trackingInfo:{},totalTime:1},"PageViewEvent",e,n)}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:document.referrer;c("PageViewEvent",{pageType:t||s.AJAX,trackingInfo:r,totalTime:1},"PageViewEvent",e,n,i)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(o.o)(),r={controlUrn:"urn:li:control:".concat(n,"-").concat(e),interactionType:"SHORT_PRESS"};c("ControlInteractionEvent",r,"ControlInteractionEvent",n,t)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(o.o)(),r={moduleNames:e};c("ViewModuleImpressionEvent",r,"ViewModuleImpressionEvent",n,t)}i.a.setProperty("globalTrackingUrl",a.URL),i.a.setProperty("globalTrackingAppId",a.APP_NAME),i.a.setProperty("maxQueueSize",a.QUEUE_SIZE),i.a.setProperty("queueTimeout",a.QUEUE_TIMEOUT)},57:function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function t(e){return(e=e||window).performance&&e.performance.timing&&"function"==typeof e.performance.now?Math.round(e.performance.now())+e.performance.timing.navigationStart:(new Date).getTime()}var n="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},r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},i=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},a=function(){function e(t){r(this,e),this._parent=t,this._config=t.getConfig(),this._complete=!1,this._window=t._window,this._doc=this._window.document,this.data={}}return e.prototype.isComplete=function(){return this._complete},e.prototype.markComplete=function(){this._complete=!0},e.prototype.done=function(){this._complete=!0,this.isAsync()&&this._parent.pluginDone()},e.prototype.resetState=function(){this._complete=!1,this.data={}},e.prototype.getData=function(){return this.data},e.prototype.collectData=function(){},e.prototype.isAsync=function(){return!1},e}(),s=function(e){function t(n){return r(this,t),o(this,e.call(this,n))}return i(t,e),t.prototype.collectData=function(){this._readLinkedinData()},t.prototype._readLinkedinData=function(){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()},t.prototype._getTreeId=function(){var e=this._doc.querySelector('meta[name="treeID"]');return e&&e.getAttribute("content")},t.prototype._getFromServiceWorker=function(){var e=this._doc.querySelector('meta[name="fromServiceWorker"]');return e&&"true"===e.getAttribute("content")},t}(a),c=function(e){function t(n){r(this,t);var i=o(this,e.call(this,n));return i._navigationTimingRead=!1,i._navigationTimingFields=["loadEventEnd","loadEventStart","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","responseEnd","responseStart","requestStart","secureConnectionStart","connectEnd","connectStart","domainLookupEnd","domainLookupStart","fetchStart","redirectEnd","redirectStart","unloadEventEnd","unloadEventStart","navigationStart"],i}return i(t,e),t.prototype.collectData=function(){this._readNavigationTiming(),this.done()},t.prototype._readNavigationTiming=function(){var e,t,n,r;if(!this._navigationTimingRead){if(this._window.performance&&this._window.performance.timing&&this._window.performance.navigation){for(this.data.navigationTimingApi=!0,e=this._window.performance.timing,t=0;t=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}},t.prototype._isResourceTimingSupported=function(){return this._window.performance&&"function"==typeof this._window.performance.getEntriesByType},t.prototype._setupResourceTiming=function(){var e={default:.001,xmlhttprequest:1};if(null!==this._config["rs-sample-rate"]&&"object"===n(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===this._window.performance.onresourcetimingbufferfull?this._window.performance.onresourcetimingbufferfull=this._readResourceTiming.bind(this):null===this._window.performance.onwebkitresourcetimingbufferfull&&(this._window.performance.onwebkitresourcetimingbufferfull=this._readResourceTiming.bind(this))),this._treeIdUrlParser=this._doc.createElement("a"),this._rsTimingUrlParser=this._doc.createElement("a")},t.prototype._clearBuffer=function(){this._isResourceTimingSupported()&&this._config["enable-rs-timing"]&&(this._window.performance.clearResourceTimings&&"function"==typeof this._window.performance.clearResourceTimings?this._window.performance.clearResourceTimings():this._window.performance.webkitClearResourceTimings&&"function"==typeof this._window.performance.webkitClearResourceTimings&&this._window.performance.webkitClearResourceTimings())},t.prototype._setBufferSize=function(e){this._isResourceTimingSupported()&&this._config["enable-rs-timing"]&&(this._window.performance.setResourceTimingBufferSize&&"function"==typeof this._window.performance.setResourceTimingBufferSize?this._window.performance.setResourceTimingBufferSize(e):this._window.performance.webkitSetResourceTimingBufferSize&&"function"==typeof this._window.performance.webkitSetResourceTimingBufferSize&&this._window.performance.webkitSetResourceTimingBufferSize(e))},t.prototype._readResourceTiming=function(){var e,t,n,r,i,o,a=!1,s=this.data&&this.data.resourceTimingEntries||[];if(this._isResourceTimingSupported()&&this._config["enable-rs-timing"]){for(e=this._window.performance.getEntriesByType("resource"),t=0;t0&&(this.data.resourceTimingEntries=s)}},t}(a),l=function(e){function t(n){return r(this,t),o(this,e.call(this,n))}return i(t,e),t.prototype.collectData=function(){this._readUserTimingEntries(),this.done()},t.prototype._clearUserTimings=function(){this._window.performance&&(this._window.performance.clearMarks&&this._window.performance.clearMarks(),this._window.performance.clearMeasures&&this._window.performance.clearMeasures())},t.prototype._getUserTimingEntries=function(e,t){var n,r,i,o=[];for(r=0;r=200&&e.status<400?(i.data.pointOfPresenceId=e.getResponseHeader("X-Li-Pop"),i.data.rawXLiFabricHeader=e.getResponseHeader("X-Li-Fabric"),i.data.httpVersion=e.getResponseHeader("X-Li-proto")):console.error("PoP request was not successful. Status: "+e.status),i.done())},r.open("get",n,!0),r.send()):this.done()},t}(a),h=function(e){function t(n){r(this,t);var i=o(this,e.call(this,n));i.data.longTasks=[],i._longTaskFields=["duration","name","startTime"],i._observer=new PerformanceObserver((function(e){e.getEntries().forEach((function(e){for(var t={},n=0;n-1)&&(this._config["beacon-service"]="tracking",this._config["beacon-url"]="https://tracking.corp.linkedin.com/li/track/")),this._onLoad=function(){setTimeout((function(){o._collectPluginData()}),500)},this._onUnload=function(){o._collectPluginData()},this._config["navigation-timing-only"]&&!this._config["non-spa-manual-send"]?"complete"===this._config.readyState?this._onLoad():this._window.addEventListener("load",this._onLoad):this._config["navigation-timing-only"]||(this._config["non-spa-manual-send"]?console.error("Manual send mode not supported for SPA apps"):this._window.addEventListener("unload",this._onUnload)))}return n.prototype.destroy=function(){this._config["navigation-timing-only"]&&!this._config["non-spa-manual-send"]?this._window.removeEventListener("load",this._onLoad):this._config["navigation-timing-only"]||(this._config["non-spa-manual-send"]?console.error("Manual send mode not supported for SPA apps"):(this._collectPluginData(),this._window.removeEventListener("unload",this._onUnload)))},n.prototype.setLixData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._lixData=e,this._applyLixData()},n.prototype._applyLixData=function(){isNaN(this._getTreatment("voyager-web.rum.beaconTimeout"))||(this._config["beacon-timeout"]=parseInt(this._getTreatment("voyager-web.rum.beaconTimeout")))},n.prototype._getTreatment=function(e){return this._lixData[e]||"control"},n.prototype.setPageKey=function(e){this._beaconData.pageKey=e},n.prototype.setCurrentUser=function(e){this._isInternalApp&&"string"==typeof e&&(this._beaconData.sessionID=e)},n.prototype.appTransitionStart=function(e){(e||this._renderCompleteCount>0)&&(this._collectPluginData(),this._beaconData.navigationStart=t(this._window),this._isInitialLoad=!1)},n.prototype.appRenderComplete=function(){var e=this;this._renderCompleteCount++,this._beaconData.renderCompleteTime=t(this._window),this._timeOutVal||(this._timeOutVal=setTimeout((function(){e._collectPluginData()}),this._config["beacon-timeout"]))},n.prototype.addTreeId=function(e,t){if(this._config.plugins&&this._config.plugins.length>2){var n=this._config.plugins[2];n&&n.addTreeId(e,t)}},n.prototype.appViewRenderStart=function(e,n){this._viewTimings[e]||(this._viewTimings[e]={renderName:n||e,viewId:e,renderStart:t(this._window)})},n.prototype.appViewRenderComplete=function(e,n){this._viewTimings[e]&&!this._viewTimings[e].renderEnd&&(this._viewTimings[e].renderEnd=t(this._window))},n.prototype.setDeepLinkTrackingId=function(e){this._shouldSendBeacon=!1},n.prototype.setWindowHiddenState=function(e){this._beaconData.isImpactedByHiddenWindow=e},n.prototype.setPageInstance=function(e){this._beaconData.pageInstance=e},n.prototype.setIsLazyRender=function(e){this._isLazyRender=e},n.prototype.getConfig=function(){return this._config},n.prototype.pluginDone=function(){for(var e,t=this,n=0;n0&&void 0!==this._allBeaconData[r-1].loadEventEnd&&(this._allBeaconData[r-1].loadEventEnd=e),this._checkAsyncPlugAndSend(n)},n.prototype._resetState=function(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((function(e){e.resetState()}))},n.prototype._readRenderTimingEntries=function(){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])},n.prototype._collectPluginData=function(){var e=this._collectPlugin();this._checkAsyncPlugAndSend(e)},n.prototype._collectPlugin=function(){var e=!0;if(this._config.enabled)return this._config.plugins.map((function(t){t.collectData(),t.isComplete()||(e=!1)})),this._pushCurrentBeaconData(),e},n.prototype._checkAsyncPlugAndSend=function(e){var t=this;e?this._sendAllData():setTimeout((function(){t._markAllAsyncPluginComplete()}),this._config["async-plugins-timeout"]),this._resetState(!0)},n.prototype._markAllAsyncPluginComplete=function(){this._config.plugins.map((function(e){e.isAsync()&&e.markComplete()})),this._sendAllData()},n.prototype._doesNotHaveLazyImageClass=function(e){var t,n=!0,r=this._config["lazy-image-class-names"];if(e&&e.className&&r)for(t=r.length-1;t>=0;t--)e.className.indexOf(r[t])>-1&&(n=!1);return n},n.prototype._doesElementOverlapWithViewport=function(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,this._window.innerHeight||this._doc.documentElement.clientHeight),right:Math.min(n.right,this._window.innerWidth||this._doc.documentElement.clientWidth)}).bottom<=t.top||t.right<=t.left)},n.prototype._getImgResourceEntries=function(){var e,t,n=[],r=this._beaconData.resourceTimingEntries;if(r)for(e=r.length-1;e>=0;e--)"img"===(t=r[e]).initiatorType&&n.push(t);return n},n.prototype._cleanUpResourceTimingEntries=function(){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])},n.prototype._readPageKey=function(){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:this._doc.querySelector('meta[name="pageKey"]')||(this._beaconData.pageKey=this._config["page-key-prefix"]+":",this._config["pathname-depth"]>-1?this._beaconData.pageKey+=this._window.location.pathname.split(/[/#]/).slice(0,this._config["pathname-depth"]+1).join("/"):this._beaconData.pageKey+=this._window.location.pathname))},n.prototype._getPageKey=function(){var e=this._doc.querySelector('meta[name="pageKey"]');return e?e.getAttribute("content"):this._doc.body.id?this._doc.body.id.substring("pagekey-".length):""},n.prototype._getRenderingMode=function(){var e,t=this._doc.querySelector('meta[name="renderingMode"]');return t&&"BIGPIPE"===(e=t.getAttribute("data-mode"))&&(e="BIG_PIPE"),e},n.prototype._doesRenderErrorCodeBlockExists=function(){return null!=this._doc.querySelector("code#renderError")},n.prototype._readSinglePageAppData=function(){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")},n.prototype._sendAllData=function(){var t,n,r,i={};for(t=0;t>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(t=arguments[1]),n=0;n1)for(var n=1;n1)&&x(this)}}}),De(o,j,{value:function(e){-1>0,M="__"+O+D,U="addEventListener",F="attached",B="Callback",H="detached",q="extends",j="attributeChanged"+B,K=F+B,W="connected"+B,V="disconnected"+B,G="created"+B,z=H+B,X="ADDITION",Q="REMOVAL",J="DOMAttrModified",Y="DOMContentLoaded",Z="DOMSubtreeModified",$="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],ie=[],oe="",ae=w.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ce=T.prototype,ue=ce.hasOwnProperty,le=ce.isPrototypeOf,de=T.defineProperty,fe=[],he=T.getOwnPropertyDescriptor,pe=T.getOwnPropertyNames,ve=T.getPrototypeOf,ge=T.setPrototypeOf,me=!!T.__proto__,ye="__dreCEv1",xe=e.customElements,Ee=!/^force/.test(t.type)&&!!(xe&&xe.define&&xe.get&&xe.whenDefined),be=T.create||T,we=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,i){(e=se.call(t,r))<0?n[t.push(r)-1]=i:n[e]=i}}},Te=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,i={catch:function(){return i},then:function(e){return n.push(e),r&&setTimeout(t,1),i}};return e(t),i},Se=!1,ke=be(null),_e=be(null),Ce=new we,Ie=function(e){return e.toLowerCase()},Ae=T.create||function e(t){return t?(e.prototype=t,new e):this},Le=ge||(me?function(e,t){return e.__proto__=t,e}:pe&&he?function(){function e(e,t){for(var n,r=pe(t),i=0,o=r.length;i
",new Re((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(P=he(Pe,"innerHTML"))&&P.set;n&&de(Pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),P=null})).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Ze||(ge||me?(R=function(e,t){le.call(t,e)||f(e,t)},N=f):N=R=function(e,t){e[M]||(e[M]=T(!0),f(e,t))},Oe?(tt=!1,function(){var e=he(Pe,U),t=e.value,n=function(e){var t=new CustomEvent(J,{bubbles:!0});t.attrName=e,t.prevValue=je.call(this,e),t.newValue=null,t[Q]=t.attrChange=2,We.call(this,e),qe.call(this,t)},r=function(e,t){var n=Ke.call(this,e),r=n&&je.call(this,e),i=new CustomEvent(J,{bubbles:!0});Ve.call(this,e,t),i.attrName=e,i.prevValue=n?r:null,i.newValue=t,n?i.MODIFICATION=i.attrChange=1:i[X]=i.attrChange=0,qe.call(this,i)},i=function(e){var t,n=e.currentTarget,r=n[M],i=e.propertyName;r.hasOwnProperty(i)&&(r=r[i],(t=new CustomEvent(J,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[i]||null,null==t.prevValue?t[X]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,qe.call(n,t))};e.value=function(e,o,a){e===J&&this[j]&&this.setAttribute!==r&&(this[M]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",i)),t.call(this,e,o,a)},de(Pe,U,e)}()):Re||(ae[U](J,Je),ae.setAttribute(M,1),ae.removeAttribute(M),tt&&(_=function(e){var t,n,r,i=this;if(i===e.target){for(r in t=i[M],i[M]=n=I(i),n){if(!(r in t))return C(0,i,r,t[r],n[r],X);if(n[r]!==t[r])return C(1,i,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return C(2,i,r,t[r],n[r],Q)}},C=function(e,t,n,r,i,o){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:i};a[o]=e,s(a)},I=function(e){for(var t,n,r={},i=e.attributes,o=0,a=i.length;o$");if(n[q]="a",(t.prototype=Ae(Ne.prototype)).constructor=t,e.customElements.define(r,t,n),!i.test(w.createElement("a",{is:r}).outerHTML)||!i.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ne,[],e)}),{},"document-register-element-a"+D)}catch(e){b()}if(!t.noBuiltIn)try{if(Ge.call(w,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){Ie=function(e){return{is:e.toLowerCase()}}}}(window)},77:function(e,t){var n,r;n=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0&&parseInt(e.substring(r+5,e.indexOf(".",r)),10)}(),r=document.querySelector("body"),n&&(r instanceof Element&&r.classList.add("browser-ie"),n<=10&&r instanceof Element&&r.classList.add("browser-ie--10"),n<=11&&r instanceof Element&&r.classList.add("browser-ie--11"))},78:function(e,t,n){"use strict";var r,i=n(57),o=n.n(i),a=n(0);(r=window).addEventListener("load",(function(e){if("function"==typeof o.a){r.rumTracking=new o.a({"web-ui-framework":"DUST","is-single-page-app":!1,"navigation-timing-only":!0,"enable-rs-timing":!0,"request-sampling-rate":1,"beacon-service":"tracking","beacon-url":"/li/track","event-name":"RealUserMonitoringEvent"});var t=Object(a.n)();r.rumTracking.setPageInstance(t)}}))},9:function(e,t,n){var r,i,o;i=[t,e],void 0===(o="function"==typeof(r=function(e,t){"use strict";var n="undefined"!=typeof window&&window&&"node"!==window.appEnvironment,r=n&&!!window.requestIdleCallback,i={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=this.maxQueueSize&&this.flush()},flush:function(){this.queue.length>0&&(this.ajax(JSON.stringify(this.queue),null,this.logError),this.queue=[]),r?cancelIdleCallback(this.timeoutId):clearTimeout(this.timeoutId),this.timeoutId=null,this.paused=!1},idleFlush:function(e){var t=this,n=Date.now();return requestIdleCallback((function(r){r.timeRemaining()>8||r.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;r&&!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(){this.setTrackingUrl(),this.setAppId(),this.onBeforeUnload=this.onBeforeUnload.bind(this),n&&window.addEventListener("beforeunload",this.onBeforeUnload)},destroy:function(){n&&window.removeEventListener("beforeunload",this.onBeforeUnload)},onBeforeUnload:function(){this.flush()}};i.init(),t.exports=i})?r.apply(t,i):r)||(e.exports=o)}});