-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloud-global-async.js
2 lines (2 loc) · 40.5 KB
/
cloud-global-async.js
1
2
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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=0)}([function(e,t,n){window.cloudGlobalAsync=!0,window.inGlobalContext&&window.inGlobalContext.frame&&window.inGlobalContext.frame.isFeatureFrame||(n(1),n(2)),window.addEventListener("load",(function(){if(window.inGlobalContext&&window.inGlobalContext.appShell)return;const e=window.inGlobalContext&&window.inGlobalContext.appMetaData&&window.inGlobalContext.appMetaData.appName;if(-1===["docviewer","prototype-share-web"].indexOf(e))return;const t="/ui-gateway/service-worker/global-service-worker-loader.js",n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=t,n.onerror=function(){console.error("Failed to load "+t)};(document.head||document.getElementsByTagName("head")[0]).appendChild(n)}))},function(e,t){!function(){"use strict";function e(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 t(t){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?e(Object(a),!0).forEach((function(e){n(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}}(e,t)||a(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.")}()}function a(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(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,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}var s;Array.prototype.includes||(Array.prototype.includes=function(e){if(null==this)throw new TypeError("Array.prototype.includes called on null or undefined");var t=Object(this),n=parseInt(t.length,10)||0;if(0===n)return!1;var r,a,i=parseInt(arguments[1],10)||0;for(0<=i?r=i:(r=n+i)<0&&(r=0);r<n;){if(e===(a=t[r])||e!=e&&a!=a)return!0;r++}return!1}),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)});var u,c="network",l="asset-load",d="csp-violation",m="error",p="custom-event",f="web-socket-event",g="SPALoadTiming",v="AppTransitionTiming",h="SubfeatureLoadTiming",y="AssetLoadTimings",w="ViolationRecorded",P="ErrorRecorded",T="CustomEventRecorded",b="SocketEvent",k=(n(s={},g,"App.RUM.SPALoadTimingRecorded"),n(s,v,"App.RUM.AppTransitionTimingRecorded"),n(s,h,"App.RUM.SubfeatureLoadTimingRecorded"),s),A="spaInitialRender",S="spaDataFullyLoaded",C="presentationInitialRender",E="SPAInitialRenderFirstLCP",I="subfeatureStarted",L="subfeatureDataFullyLoaded",R="subfeatureInitialRender",O=["confluence-integration-ui","jira-integration-ui","trello-integration-ui"],N="_rum-hc",D="_rum-tab-counter",M=Object.prototype.hasOwnProperty;function x(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)M.call(n,r)&&(e[r]=n[r])}return e}function F(e){var t=r(location.href.split("/"),3),n=t[0],a=t[2],i="".concat(n,"//").concat(a),o=e;return 0!==e.indexOf("http://")&&0!==e.indexOf("https://")&&0!==e.indexOf("wss://")&&0!==e.indexOf("ws://")&&(o="".concat(i).concat(0===e.indexOf("/")?"":"/").concat(e)),o}function q(e){return e&&("//"===e.slice(-2)?e=e.slice(0,-2):"/"===e.slice(-1)&&(e=e.slice(0,-1))),e}function j(e){return q("/".concat(F(e).split("/").slice(3).join("/")))||"/"}function B(e){return q(j(e).split("?")[0])||"/"}function _(e){var t=B(e).split("#")[0];return t?"/".concat(t.split("/")[1]):null}function G(e){var t=function(e){var t=r(F(e).split("/"),3);return r(t[2].split(":"),1)[0].split(".").slice(-2).join(".")}(e);return!(["invisionapp.com","invisionbeta.com","invisionapp-cdn.com"].indexOf(t)>-1||t.match(/invision\.works(:\d{0,5})?$/))}var W=!0;try{(u=window.localStorage).setItem("sess-test",1),u.removeItem("sess-test")}catch(e){W=!1,u={setItem:function(){},getItem:function(){},removeItem:function(){}}}var V=u,U=W,z=new function(){var e=this;this.updateInterval=1e4,this.tabId=Math.random().toString(36).substring(7),this.tabsCounter=0,this.onTabCountUpdate=[],this.updateActiveInterval=0,this.tabsCount=function(t){void 0===t&&(t=!0);var n=e.getData(),r=Object.keys(n.list),a=Date.now(),i=0;return r.forEach((function(t){n.list[t].lastActive+1.2*e.updateInterval>a&&i++})),t||e.tabsCounter===i||e.onTabCountUpdate.forEach((function(e){e(i)})),e.tabsCounter=i},this.updateActive=function(){var t=e.getData(),n=Date.now();void 0===t.list[e.tabId]&&(t.list[e.tabId]={TabOpenedTimeStamp:n}),t.list[e.tabId].url=window.location.href,t.list[e.tabId].lastActive=n,(void 0===t.lastCleaned||+t.lastCleaned+2e4<n)&&(t=e.clearList(t)),e.updateData(t),e.tabsCount(!1)},this.clearList=function(t){var n=Object.keys(t.list),r=Date.now();return n.forEach((function(n){t.list[n].lastActive+Math.max(8e3,1.5*e.updateInterval)<r&&delete t.list[n]})),t.lastCleaned=r,t},this.onTabChange=function(t,n){void 0===n&&(n=!1),"function"==typeof t&&(e.onTabCountUpdate.push(t),n&&t(e.tabsCount()))},this.updateData=function(t){try{V.setItem(D,"string"==typeof t?t:JSON.stringify(t))}catch(t){console.error("tab-counter cant use storage so we are pausing the counting here"),e.pause(),console.error(t)}},this.getData=function(){var e=V.getItem(D);return null==e?{list:{},lastCleaned:0}:JSON.parse(e)},this.getUrls=function(t){void 0===t&&(t=!1);var n=e.getData(),r=[];return Object.keys(n.list).forEach((function(e){t&&-1!==r.indexOf(n.list[e].url)||r.push(n.list[e].url)})),r},this.setUpdateInterval=function(t){void 0===t&&(t=e.updateInterval),null!==e.updateActiveInterval&&e.pause(),e.start(t)},this.pause=function(){clearInterval(e.updateActiveInterval),e.updateActiveInterval=0},this.start=function(t){void 0===t&&(t=e.updateInterval),e.updateActiveInterval=setInterval((function(){e.updateActive()}),e.updateInterval=t)},this.updateActive(),this.start(),window.onbeforeunload=function(t){var n=e.getData();delete n.list[e.tabId],e.updateData(n)}},H={isInitialEntrySPA:"unknown",initialEntrySPAName:"unknown",isFirstVisitToCurrentSPA:"unknown",timeSinceLastVisitToSPA:-1},J=function(e){return x({},JSON.parse(JSON.stringify(H)),e||{})},K=J(),Y={firstEntrySPA:null,lastVisitsToSPAs:{}},$=function(e){return x({},JSON.parse(JSON.stringify(Y)),e||{})},Q=$();function Z(e){var t=e.config(),n=t.appName,r=t.featureName,a=Date.now();if((n||r)&&U){var i=V.getItem(N),o={};try{i&&(o=JSON.parse(i))}catch(t){e.__logError(t)}var s=r&&"unknown"!==r?r:n,u=(Q=$(o)).lastVisitsToSPAs[s],c=isNaN(u),l=c?-1:a-u;K=J({isInitialEntrySPA:!Q.firstEntrySPA,initialEntrySPAName:Q.firstEntrySPA||s,isFirstVisitToCurrentSPA:c,timeSinceLastVisitToSPA:l}),Q.lastVisitsToSPAs[s]=a,Q.firstEntrySPA=K.initialEntrySPAName,V.setItem(N,JSON.stringify(Q))}}var X=window.self&&window.top&&window.self!==window.top;function ee(e){var t,n,a=e.name,i=e.payload;if(a&&i)try{var o=window.rum.config(),s=navigator.connection||navigator.mozConnection||navigator.webkitConnection,u=K,c=u.isInitialEntrySPA,l=u.initialEntrySPAName,d=u.isFirstVisitToCurrentSPA,m=u.timeSinceLastVisitToSPA,p=(window.inGlobalContext||{}).appShell,f={},h={};p&&p._internal&&p._internal.getRuntimeContext&&(p._internal.getRuntimeContext&&(f=p._internal.getRuntimeContext()),p._internal.getManifestCollection&&(h=p._internal.getManifestCollection()));var y=x({appShellVersion:o.appShellVersion||"unknown",tier:o.tier||"unknown",rumPageId:window.rum.__pageId,uiGatewayRequestId:f.requestID,uiGatewayDataCenter:f.dataCenter,countryCode:f.countryCode,manifestCollectionStorageKey:h.storageKey||"unknown",manifestCollectionStorageSrc:h.storageSrc||"unknown",connectionEffectiveType:s&&s.effectiveType||"unknown",connectionDownlink:s&&s.downlink||"unknown",rootIsInIFrame:X,pageVisible:void 0===document.hidden?"unknown":!document.hidden,domain:(t=window.location.href,n=r(F(t).split("/"),3),r(n[2].split(":"),1)[0]||"unknown"),pagePathname:window.location.pathname||"unknown",pagePathWithSearch:j(window.location.href)||"unknown",pageServiceRoute:_(window.location.href)||"unknown",isInitialEntrySPA:c,initialEntrySPAName:l,isFirstVisitToCurrentSPA:d,timeSinceLastVisitToSPA:m,tabCount:z.tabsCount()},i,{featureName:i.featureName||o.appName||o.featureName||"unknown",featureVersion:i.featureVersion||o.featureVersion||"unknown",featureIsStandalone:void 0!==i.featureIsStandalone?i.featureIsStandalone:void 0!==o.featureIsStandalone?o.featureIsStandalone:"unknown",isEntryApp:!!(void 0!==i.isEntryApp?i.isEntryApp:p&&p.currentApp&&p.currentApp.isEntryApp())});window.rum.markTime("rum-send-data-".concat(a.toLowerCase()),y);var w=function(e){var t={datadog:!0,amplitude:!1,segment:!1},n=window.rum.config().appName;return e!==g&&e!==v||(t.segment=!0),e!==g&&e!==v||-1!==O.indexOf(n)||X||(t.amplitude=!0),t}(a);if(a===P){var T=i.errorRef;T&&w.datadog&&window.DD_RUM&&window.DD_RUM.addError&&window.DD_RUM.addError(T,y)}else w.datadog&&window.DD_RUM&&window.DD_RUM.addAction&&window.DD_RUM.addAction(a,y),(w.segment||w.amplitude)&&window.measure&&window.measure.collect&&window.measure.collect(k[a]||a,y,{integrations:{All:!1,Amplitude:!!w.amplitude,"Segment.io":!!w.segment}})}catch(e){window.rum.__logError("failed to send data",e)}}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;"complete"===document.readyState?setTimeout((function(){e()}),t):window.addEventListener("load",(function(){setTimeout((function(){e()}),t)}))}var ne={loc:"serverTimingLocationAPI",srtt:"serverTimingServerRTT",erpl:"serverTimingEdgeRequestProcessLatency",e2sttfb:"serverTimingEdgeToServiceTTFB",trtt:"serverTimingTransmissionRTT",uigttfb:"serverTimingPrimaryWorkerToUIGatewayTTFB","uig-spt":"serverTimingUIGatewayServerRTT","uig-blc":"serverTimingUIGatewayBuildLoadContext","uig-gmc":"serverTimingUIGatewayLoadManifestCollection","coll-load-mem-store":"serverTimingUIGatewayCollMemStore","coll-load-cf-cache":"serverTimingUIGatewayCollCFCache","coll-load-cf-kv":"serverTimingUIGatewayCollCFKV","coll-load-individual":"serverTimingUIGatewayCollIndividual"};function re(){var e=-1,t=-1;try{(performance.getEntriesByType("paint")||[]).forEach((function(n){"first-paint"===n.name?e=n.startTime:"first-contentful-paint"===n.name&&(t=n.startTime)}))}catch(e){}return{firstPaint:e,firstContentfulPaint:t}}function ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.sort((function(e,t){return e-t})),i=[];return n.forEach((function(e){return i.push((n=e,s=(r=((t=a).length-1)*n)-(o=Math.floor(r)),void 0!==t[o+1]?t[o]+s*(t[o+1]-t[o]):t[o]));var t,n,r,o,s})),i}function ie(e){return e.reduce((function(e,t){return e+t}),0)/e.length}function oe(e,t){if(!e)return{};var n=performance.now(),a=0,i=0,o=0,s=0,u=0,c=0,l=0,d=0,m=0,p=0,f=0,g=0,v=0,h=0,y=0,w=0,P=0,T=0,b=0,k=0,A=0,S=0,C=0,E=0,I=0,L=0,R=0,O=0,N=0,D=0,M=0,x=0,F=0,q=0,j=[],_=[],W=[],V=[],U=[];try{var z=e.domContentLoadedEventStart,H=e.loadEventStart;if(performance.getEntriesByType("resource").forEach((function(e){var n=e.responseEnd-e.fetchStart,r=n<=20,k=e.fetchStart<z,A=e.fetchStart<H,S=e.fetchStart<t;if(k||A||S){var C,E=G(e.name),I=(C=e.name,/\.html|\.js|\.css|\.png|\.jpg|\.jpeg|\.svg|\.ico|\.gif|\.eot|\.ttf|\.woff|\.woff2|\.map$/gi.test(B(C))),L=function(e){var t=B(e);return/^\/assets\//gi.test(t)&&-1===t.indexOf("rum-not-an-asset")}(e.name);k&&(a++,r&&g++,E?s++:I&&(l++,j.push(n),r&&y++)),A&&(i++,r&&v++,E?u++:I?(d++,_.push(n),r&&w++):L&&(p++,V.push(n),r&&T++)),S&&(o++,r&&h++,E?c++:I?(m++,W.push(n),r&&P++):L&&(f++,U.push(n),r&&b++))}})),l){k=j.reduce((function(e,t){return e+t}),0)/j.length;var J=r(ae(j,.9,1),2),K=J[0],Y=J[1];I=K,D=Y}if(d){A=_.reduce((function(e,t){return e+t}),0)/_.length;var $=r(ae(_,.9,1),2),Q=$[0],Z=$[1];L=Q,M=Z}if(m){S=W.reduce((function(e,t){return e+t}),0)/W.length;var X=r(ae(W,.9,1),2),ee=X[0],te=X[1];R=ee,x=te}if(p){C=V.reduce((function(e,t){return e+t}),0)/V.length;var ne=r(ae(V,.9,1),2),re=ne[0],ie=ne[1];O=re,F=ie}if(f){E=U.reduce((function(e,t){return e+t}),0)/U.length;var oe=r(ae(U,.9,1),2),se=oe[0],ue=oe[1];N=se,q=ue}}catch(e){rum.__logError(e)}return{reqsPreDOMCLTotal:a,reqsPrePageLoadTotal:i,reqsPreSPAReadyTotal:o,reqsPreDOMCL3rdParty:s,reqsPrePageLoad3rdParty:u,reqsPreSPAReady3rdParty:c,reqsPreDOMCLAppAssets:l,reqsPrePageLoadAppAssets:d,reqsPreSPAReadyAppAssets:m,reqsPrePageLoadDesignAssets:p,reqsPreSPAReadyDesignAssets:f,reqsPreDOMCLTotalFromCache:g,reqsPrePageLoadTotalFromCache:v,reqsPreSPAReadyTotalFromCache:h,reqsPreDOMCLAppAssetsFromCache:y,reqsPrePageLoadAppAssetsFromCache:w,reqsPreSPAReadyAppAssetsFromCache:P,reqsPrePageLoadDesignAssetsFromCache:T,reqsPreSPAReadyDesignAssetsFromCache:b,reqsPreDOMCLAppAssetsAvgLoad:k,reqsPrePageLoadAppAssetsAvgLoad:A,reqsPreSPAReadyAppAssetsAvgLoad:S,reqsPrePageLoadDesignAssetsAvgLoad:C,reqsPreSPAReadyDesignAssetsAvgLoad:E,reqsPreDOMCLAppAssetsP90Load:I,reqsPrePageLoadAppAssetsP90Load:L,reqsPreSPAReadyAppAssetsP90Load:R,reqsPrePageLoadDesignAssetsP90Load:O,reqsPreSPAReadyDesignAssetsP90Load:N,reqsPreDOMCLAppAssetsP100Load:D,reqsPrePageLoadAppAssetsP100Load:M,reqsPreSPAReadyAppAssetsP100Load:x,reqsPrePageLoadDesignAssetsP100Load:F,reqsPreSPAReadyDesignAssetsP100Load:q,networkUtilizationCalcTime:performance.now()-n}}function se(e){return"global-resource-".concat(e.split("/").pop().split(".")[0]).replace(/-./g,(function(e){return e[1].toUpperCase()}))}function ue(){var e,t=document.querySelectorAll('script[src*="static.invisionapp-cdn.com/global"]'),n=document.querySelectorAll('link[href*="static.invisionapp-cdn.com/global"][rel="stylesheet"'),a={},i=0,s=o(t.entries());try{for(s.s();!(e=s.n()).done;){var u=r(e.value,2)[1],c=performance.getEntriesByName(u.src)[0];c&&(a["".concat(se(u.src),"StartTime")]=c.startTime,a["".concat(se(u.src),"Duration")]=c.duration,i+=c.duration)}}catch(e){s.e(e)}finally{s.f()}var l,d=o(n.entries());try{for(d.s();!(l=d.n()).done;){var m=r(l.value,2)[1],p=performance.getEntriesByName(m.href)[0];p&&(a["".concat(se(m.href),"StartTime")]=p.startTime,a["".concat(se(m.href),"Duration")]=p.duration,i+=p.duration)}}catch(e){d.e(e)}finally{d.f()}return a.globalResourcesTotalDuration=i,a}var ce={pageWasInitiallyVisible:"unknown",pageWasNeverVisible:"unknown"},le=function(){return ce},de=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v1-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},me=!1,pe=function(e,t){me||"undefined"!=typeof InstallTrigger||(addEventListener("beforeunload",(function(){})),me=!0),addEventListener("visibilitychange",(function n(r){"hidden"===document.visibilityState&&(e(r),t&&removeEventListener("visibilitychange",n,!0))}),!0)},fe=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},ge="function"==typeof WeakSet?new WeakSet:new Set,ve=function(e,t,n){var r;return function(){t.value>=0&&(n||ge.has(t)||"hidden"===document.visibilityState)&&(t.delta=t.value-(r||0),(t.delta||void 0===r)&&(r=t.value,e(t)))}},he=-1,ye=function(){return"hidden"===document.visibilityState?0:1/0},we=function(){pe((function(e){var t=e.timeStamp;he=t}),!0)},Pe=-1,Te=-1,be=!1;try{!function(e,t){var n,r=(he<0&&(he=ye(),we(),fe((function(){setTimeout((function(){he=ye(),we()}),0)}))),{get timeStamp(){return he}}),a=de("LCP"),i=function(e){var t=e.startTime;t<r.timeStamp&&(a.value=t,a.entries.push(e)),n()},o=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}}("largest-contentful-paint",i);if(o){n=ve(e,a,!0);var s=function(){ge.has(a)||(o.takeRecords().map(i),o.disconnect(),ge.add(a),n())};["keydown","click"].forEach((function(e){addEventListener(e,s,{once:!0,capture:!0})})),pe(s,!0),fe((function(t){a=de("LCP"),n=ve(e,a,!0),requestAnimationFrame((function(){requestAnimationFrame((function(){a.value=performance.now()-t.timeStamp,ge.add(a),n()}))}))}))}}((function(e){var t=e.value;if(!be){var n=-1===Pe;Pe=t,n&&(Te=t,window.rum.markTime(E))}}))}catch(e){window.rum.__logError(e)}var ke=function(){};function Ae(e){var t=e.markProps,n=t.method,a=t.url,i=t.statusCode,o=t.requestType,s=t.requestIdentifier,u=t.requestIndex,c=t.requestHeaders,l=t.responseHeaders,d=t.requestSentMark,m=t.responseProcessedMark;if(function(e){var t=e.indexOf("/lightstep/api/")>=0||e.indexOf(".com/assets/")>=0||e.indexOf(".works/assets/")>=0;return!G(e)&&!t}(a)){var p=j(a),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={featureName:null,featureVersion:null},r=window.inGlobalContext&&window.inGlobalContext.appShell;return t&&(t.startsWith("/conversations")?n.featureName="conversations":t.startsWith("/mentions/")?n.featureName="mentions":t.startsWith("/analytics-api/")||t.startsWith("/measure")?n.featureName="analytics-ui":t.startsWith("/inbox-bff/")||t.startsWith("/spa/inbox")?(n.featureName="inbox",r&&(n.featureVersion=(r.getFeatureContext("inbox")||{}).version)):t.startsWith("/global-navigation-web/")?n.featureName="global-nav":t.startsWith("/paywall")?n.featureName="paywall-web":t.startsWith("/share-dialog-web-v7/")||t.startsWith("/spa/share-")?(n.featureName="share-dialog",r&&(n.featureVersion=(r.getFeatureContext("share")||{}).version)):t.startsWith("/tours/")?n.featureName="onboarding-tours":t.startsWith("/copywriting")?n.featureName="copywriting":t.startsWith("/comment-kit")&&(n.featureName="comment-kit-ui"),n.featureName)?n:e}(d.markEnvironment||{},p),g=f.featureName,v=f.featureVersion,h=f.featureIsStandalone,y=f.isEntryApp,w=d.timeMarked,P=m?m.timeMarked:-1,T={featureName:g,featureVersion:v,featureIsStandalone:h,isEntryApp:y,url:a,absoluteUrl:F(a)||"unknown",pathname:p||"unknown",requestServiceRoute:_(a)||"unknown",method:n,statusCode:i,requestType:o,requestIdentifier:s,requestIndex:u,timeRequested:w,timeResponseProcessed:P,requestRTT:P-w,reqHeaderCallingService:"unset",reqHeaderRequestSource:"unset",respHeaderRequestId:"unset",respHeaderServerTiming:"unset",serverTimingLocationAPI:-1,serverTimingLocationAPIDesc:null,serverTimingServerRTT:-1,serverTimingEdgeRequestProcessLatency:-1,serverTimingEdgeToServiceTTFB:-1,serverTimingTransmissionRTT:-1,requestLocationHref:d.markEnvironment&&d.markEnvironment.href};Array.isArray(c)&&c.forEach((function(e){var t=e.header,n=e.value,r=t.trim().toLowerCase();"calling-service"===r&&n&&(T.reqHeaderCallingService=n),"request-source"===r&&n&&(T.reqHeaderRequestSource=n)})),Array.isArray(l)&&l.forEach((function(e){var t,n=e.header,a=e.value,i=n.trim().toLowerCase();if("request-id"===i&&a&&(T.respHeaderRequestId=a),"server-timing"===i&&a){T.respHeaderServerTiming=a;var o=(t={},(a||"").split(",").forEach((function(e){var n=r(e.split(";"),3),a=n[0],i=void 0===a?"":a,o=n[1],s=void 0===o?"":o,u=n[2],c=void 0===u?"":u,l=0===s.indexOf("dur=")?s:0===c.indexOf("dur=")?c:null,d=0===s.indexOf("desc=")?s:0===c.indexOf("desc=")?c:null;i&&l&&(t[ne[i]||"name-not-mapped"]=parseInt(l.replace("dur=",""),10)),i&&d&&(t["".concat(ne[i]||"name-not-mapped","Desc")]=(d||"").replace("desc=","")||null)})),t);Object.keys(o||{}).forEach((function(e){return T[e]=o[e]}))}})),ke&&ke({name:"AsyncNetworkRequest",payload:T})}}!function(){if(window.rum&&!window.rum.clientLoaded){window.rum.clientLoaded=!0;var e=window.rum;e.config().appName||e.__logError('window.rum has not been given an appName in rum.config({ appName: "your-app-name" })'),ce.pageWasInitiallyVisible=void 0===document.hidden?"unknown":!document.hidden,ce.pageWasNeverVisible=!1===ce.pageWasInitiallyVisible,ce.pageWasNeverVisible&&document.addEventListener("visibilitychange",(function e(){!1===document.hidden&&(ce.pageWasNeverVisible=!1,document.removeEventListener("visibilitychange",e))})),performance.setResourceTimingBufferSize&&performance.setResourceTimingBufferSize(200),window.inGlobalContext&&window.inGlobalContext.appShell?window.inGlobalContext.appShell.on("before:mount",(function(){Z(e)})):Z(e),function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a.afterPageLoadWait,o=a.onAggregationComplete;te((function(){var a=[A];e.config().noRequiredData||a.push(S),e.config().buildsPresentation&&a.push(C),function(){try{return PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")}catch(e){}return!1}()&&a.push(E),e.whenAllMarksMade(a,(function(a){var i,s,u=r(a,3),c=u[0],l=u[1],d=u[2];try{if(window.inGlobalContext&&window.inGlobalContext.appShell&&!window.inGlobalContext.appShell.currentApp.isEntryApp())return void(o?o():console.log("rum attempted to capture SPALoadTiming metrics for this app incorrectly because the previous app never called all of the required marks"));var m=window.performance||{getEntriesByType:function(){},timing:{}};l&&e.config().noRequiredData&&e.config().buildsPresentation&&(d=l,l=null);var p=c.markEnvironment||{},f=p.featureName,v=p.featureVersion,h=p.featureIsStandalone,y=p.isEntryApp,w=c.markEnvironment.href,P=c.timeMarked,T=c.markProps||{},b=l&&l.markName===S&&l.timeMarked||-1,k=b>-1&&l.markProps||{},A=d&&d.markName===C&&d.timeMarked||-1,E=A>-1&&d.markProps||{},I=b>-1?e.timeBetweenMarks(c,l):-1,L=A>-1?e.timeBetweenMarks(c,d):-1,R=Math.max(P,b,A),O=re(),N=O.firstPaint,D=O.firstContentfulPaint,M={},F={};try{if(m.getEntriesByType){var q=m.getEntriesByType("navigation")[0];if(q){var j=JSON.parse(JSON.stringify(q));if(q.fetchStart&&void 0===j.fetchStart){var B={};Object.keys(Object.getPrototypeOf(q)).forEach((function(e){B[e]=q[e]})),void 0!==B.fetchStart&&(M=B)}else M=j;F=oe(M,R)}}if(!M&&m.timing){var _=JSON.parse(JSON.stringify(m.timing));M=Object.keys(_).reduce((function(e,t){var n=_[t];if(-1===["navigationStart","domLoading"].indexOf(t)){var r=parseInt(n,10)&&n-_.navigationStart;e[t]=r}return e}),{startTime:0,decodedBodySize:-1,encodedBodySize:-1,entryType:"navigation",initiatorType:"unknown",name:window.location&&window.location.href||"",nextHopProtocol:"",serverTiming:[],type:"unknown",transferSize:-1,workerStart:0,redirectCount:-1,duration:_.loadEventEnd-_.navigationStart})}if(M){M.navigationStart=M.startTime||0;var G=M.serverTiming?(i=M.serverTiming,s={},(i||[]).forEach((function(e){var t=e.name,n=e.duration,r=e.description;t&&void 0!==n&&(s[ne[t]||"name-not-mapped"]=n),t&&r&&(s["".concat(ne[t]||"name-not-mapped","Desc")]=r)})),s):{respHeaderServerTiming:"unset",serverTimingLocationAPI:-1,serverTimingLocationAPIDesc:null,serverTimingServerRTT:-1,serverTimingEdgeRequestProcessLatency:-1,serverTimingEdgeToServiceTTFB:-1,serverTimingTransmissionRTT:-1,serverTimingPrimaryWorkerToUIGatewayTTFB:-1,serverTimingUIGatewayServerRTT:-1,serverTimingUIGatewayServerRTTDesc:null,serverTimingUIGatewayBuildLoadContext:-1,serverTimingUIGatewayLoadManifestCollection:-1,serverTimingUIGatewayLoadManifestCollectionDesc:null,serverTimingUIGatewayCollMemStore:-1,serverTimingUIGatewayCollCFCache:-1,serverTimingUIGatewayCollCFKV:-1,serverTimingUIGatewayCollIndividual:-1};Object.keys(G||{}).forEach((function(e){return M[e]=G[e]})),["workerStart","name","serverTiming","startTime"].forEach((function(e){return delete M[e]}))}}catch(t){e.__logError(t)}var W=le(),V=W.pageWasInitiallyVisible,U=W.pageWasNeverVisible,z=(be=!0,Pe),H=z>P?z:P,J=x(t(t(t(t({},T),k),E),{},{spaInitialRender:H,spaInitialRenderOriginalMarkedTime:P,spaDataFullyLoaded:b,initialRenderToDataFetched:I,presentationInitialRender:A,initialRenderToPresentationRender:L,timeToFirstByte:M&&M.responseStart?M.responseStart-M.navigationStart:-1,firstPaint:N,firstContentfulPaint:D,latestLargestContentfulPaint:z,firstLargestContentfulPaint:Te,initialRenderHref:w,featureName:f,featureVersion:v,featureIsStandalone:h,isEntryApp:y,navContext:c.markEnvironment.navContext||"not-set",pageWasInitiallyVisible:V,pageWasNeverVisible:U},ue()),M||{},F||{});e.timing=e.timing||{},e.timing.spaInitialLoadTimes=J,n({name:g,payload:J}),o&&o()}catch(e){console.error(e)}}))}),void 0!==i?i:200)}(e,ee),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ke=t;var r=n.afterPageLoadWait,a=n.onSetupComplete;te((function(){try{e.getMarksByType(c).forEach(Ae),e.onMarkAdded((function(e){e.markType===c&&Ae(e)})),a&&a()}catch(e){console.error(e)}}),void 0!==r?r:200)}(e,ee),function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a.afterPageLoadWait,o=a.onAggregationComplete;te((function(){try{var a=e.getMarksByType(l);if(!a.length)return void(o&&o());var i=[],s=[],u={},c=[],d={},m=[],p={},f=[],g={cached:0,notCached:0};a.forEach((function(e){var t=e.markProps,n=t.serverRTT,r=t.originImgFetchTime,a=t.originImgFetchDesc,o=t.imgOptTTFB,l=t.imgOptTTFBDesc,v=t.imgOptResizeTime,h=t.imgOptResizeDesc,y=t.duration;if(t.browserCached)g.cached++;else{if(g.notCached++,f.push(y),n>-1&&i.push(n),a){var w="totalOriginFetchDesc-".concat(a);u[w]=u[w]?++u[w]:1}if(r>-1&&s.push(r),o>-1&&c.push(o),l){var P="totalImgOptTTFBDesc-".concat(l);d[P]=d[P]?++d[P]:1}if(v>-1&&m.push(v),h){var T="totalImgOptResizeDesc-".concat(h);p[T]=p[T]?++p[T]:1}}}));var v=a[a.length-1].markEnvironment||{},h=v.featureName,w=v.featureVersion,P=v.featureIsStandalone,T=v.isEntryApp,b=r(i.length>0?ae(i,.5,.9,1):[-1,-1,-1],3),k=b[0],A=b[1],S=b[2],C=r(s.length>0?ae(s,.5,.9,1):[-1,-1,-1],3),E=C[0],I=C[1],L=C[2],R=r(c.length>0?ae(c,.5,.9,1):[-1,-1,-1],3),O=R[0],N=R[1],D=R[2],M=r(m.length>0?ae(m,.5,.9,1):[-1,-1,-1],3),x=M[0],F=M[1],q=M[2],j=r(f.length>0?ae(f,.5,.9,1):[-1,-1,-1],3),B=j[0],_=j[1],G=j[2],W=t(t(t({featureName:h,featureVersion:w,featureIsStandalone:P,isEntryApp:T,totalMeasuredImgs:a.length,totalCached:g.cached,totalNotCached:g.notCached,cachePercentage:a.length>0?g.cached/a.length:-1,serverRTTP50:k,serverRTTP90:A,serverRTTP100:S,serverRTTAvg:ie(i)||-1,totalOriginImgFetches:s.length,originImgFetchP50:E,originImgFetchP90:I,originImgFetchP100:L,originImgFetchAvg:ie(s)||-1,totalOriginImgTTFBs:c.length,imgOptTTFBP50:O,imgOptTTFBP90:N,imgOptTTFBP100:D,imgOptTTFBAvg:ie(c)||-1,totalImgOptResizeTimes:m.length,imgOptResizeTimeP50:x,imgOptResizeTimeP90:F,imgOptResizeTimeP100:q,imgOptResizeTimeAvg:ie(m)||-1,durationP50:B,durationP90:_,durationP100:G,durationAvg:ie(f)||-1},u),d),p);e.timing=e.timing||{},e.timing.assetLoadTimes=W,n({name:y,payload:W}),o&&o()}catch(t){e.__logError(t)}}),void 0!==i?i:5500)}(e,ee),function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a.afterPageLoadWait,o=a.onAggregationComplete,s=(window.inGlobalContext||{}).appShell;if(s){var u,c,l=function(a){var i=a.markProps;if(i&&i.mountStart&&i.mountingApp){if(u===i.mountingApp)return;u=i.mountingApp,c=a;var l=e.getAllMarks().indexOf(c),d=[A,"end-mounting-app-".concat(i.mountingApp),"time-to-injectCritialPathFiles-".concat(i.mountingApp),"time-to-loadRuntimeProvidedResources-".concat(i.mountingApp)],m=s.getFeatureContext(i.mountingApp),p=!(m.supportsComposition&&m.supportsComposition()||m.shouldRunAsStandaloneApp());p&&d.push("end-initialize-feature-frame-".concat(i.mountingApp)),e.config().noRequiredData||d.push(S),e.config().buildsPresentation&&d.push(C),e.whenAllMarksMade(d,(function(a){var i=r(a,7),s=i[0],u=i[1],l=i[2],d=i[3],m=i[4],f=i[5],g=i[6];try{var h=window.inGlobalContext.appShell.currentApp.getFeatureContext().featureName;if(!u||u.markName!=="end-mounting-app-".concat(h))return;p||(g=f,f=m,m=null),f&&e.config().noRequiredData&&e.config().buildsPresentation&&(g=f,f=null);var y=s.markEnvironment||{},w=y.featureName,P=y.featureVersion,T=y.featureIsStandalone,b=y.isEntryApp,k=s.markEnvironment.href,A=e.timeBetweenMarks(c,s),S=s.markProps||{},C=f&&e.timeBetweenMarks(c,f)||-1,E=f&&f.markProps||{},I=g&&e.timeBetweenMarks(c,g)||-1,L=g&&g.markProps||{},R=e.timeBetweenMarks(c,u),O=m&&e.timeBetweenMarks(c,m)||-1,N=C>-1?e.timeBetweenMarks(s,f):-1,D=I>-1?e.timeBetweenMarks(s,g):-1,M=u.markProps&&u.markProps.sidebarMountTime||-1,x=u.markProps&&u.markProps.appTransitionDepth||-1,F=u.markProps&&u.markProps.appVisitsForPageLoad||-1,q=l&&l.markProps&&l.markProps.measurement||-1,j=Object.assign({},l&&l.markProps&&l.markProps.extraProps||{}),B=d&&d.markProps&&d.markProps.measurement||-1,_=Object.assign({},d&&d.markProps&&d.markProps.extraProps||{}),G=le(),W=G.pageWasInitiallyVisible,V=G.pageWasNeverVisible,U=t(t(t(t(t(t(t({},j),_),S),E),L),{},{spaInitialRender:A,spaDataFullyLoaded:C,presentationInitialRender:I,transitionTime:R,transitionStartTime:c.timeMarked,iframeInitTime:O,sidebarMountTime:M,initialRenderToDataFetched:N,initialRenderToPresentationRender:D,criticalPathFilesLoadedTime:q,runtimeProvidedResourcesLoadedTime:B},b?ue():{}),{},{appTransitionDepth:x,appVisitsForPageLoad:F,initialRenderHref:k,featureName:w,featureVersion:P,featureIsStandalone:T,isEntryApp:b,previousApp:c.markProps.previousApp||"not-set",pageWasInitiallyVisible:W,pageWasNeverVisible:V,navContext:s.markEnvironment.navContext||"not-set"});e.timing=e.timing||{},e.timing.appTransitionTimings=e.timing.appTransitionTimings||[],e.timing.appTransitionTimings.push(U),n({name:v,payload:U}),o&&o()}catch(e){console.error(e)}}),l,(function(e){if(!e||!e.markName||!e.markProps)return!0;var t=e.markProps.featureName;return!t||t===u}))}};te((function(){e.getAllMarks().forEach(l),e.onMarkAdded(l)}),void 0!==i?i:200)}}(e,ee),function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a.afterPageLoadWait,o=a.onAggregationComplete;if((window.inGlobalContext||{}).appShell){var s=function(a){var i=a.markProps;if(i&&i.subfeatureLoadRequest&&i.subfeatureName&&i.subfeatureRelease){var s=i.subfeatureName,u=i.subfeatureRelease,c=i.isSubfeatureFirstLoad||!1,l=a,d=e.getAllMarks().indexOf(l),m=["time-to-loadRuntimeProvidedResources-".concat(s),I],p=((window.inGlobalContext.appShell.getFeatureContext(s)||{}).featureConfig||{}).rum||{};p.noRequiredData||m.push(L),p.noInitialRender||m.push(R),e.whenAllMarksMade(m,(function(a){var i=r(a,4),d=i[0],m=i[1],f=i[2],g=i[3];try{f&&p.noRequiredData&&!p.noInitialRender&&(g=f,f=null);var v=-1,y={};if(c){var w=e.getMarksByName("time-to-injectCritialPathFiles-".concat(s)).find((function(e){return e.markProps&&e.markProps.subfeatureName===s&&e.markProps.subfeatureRelease===u}));w&&(v=w.markProps.measurement,y=Object.assign({},w.markProps.extraProps||{}))}var P=d&&d.markProps&&d.markProps.measurement||-1,T=Object.assign({},d&&d.markProps&&d.markProps.extraProps||{}),b=d&&m&&e.timeBetweenMarks(d,m)||0,k=g&&e.timeBetweenMarks(l,g)-b||-1,A=g&&g.markProps||{},S=f&&e.timeBetweenMarks(l,f)-b||-1,C=f&&f.markProps||{},E=S>-1&&k>-1?e.timeBetweenMarks(f,g):-1,I=t(t(t(t(t({},y),T),A),C),{},{subfeatureName:s,subfeatureRelease:u,isSubfeatureFirstLoad:c,subfeatureRegisteredTime:P,subfeatureRegisteredToStarted:b,subfeatureInitialRender:k,subfeatureDataFullyLoaded:S,subfeatureInitialRenderToDataFetched:E,criticalPathFilesLoadedTime:v});e.timing=e.timing||{},e.timing.subfeatureLoadTimings=e.timing.subfeatureLoadTimings||[],e.timing.subfeatureLoadTimings.push(I),n({name:h,payload:I}),o&&o()}catch(e){console.error(e)}}),d,(function(e){if(!e||!e.markName||!e.markProps)return!1;if([I,R,L].includes(e.markName)&&(e.markProps.subfeatureName&&e.markProps.subfeatureRelease||console.error('RUM: Invoked rum.markTime("'.concat(e.markName,'", payload) with an invalid payload. Please make sure to set a valid "subfeatureName" and "subfeatureRelease" in the payload.'))),[A,S].includes(e.markName)&&(e.markProps.subfeatureName||e.markProps.featureName===s)&&console.error('RUM: Invoked rum.markTime("'.concat(e.markName,'", payload) with an invalid payload. Please make sure to specify a valid "featureName" in the payload. If you\'re trying to mark the timing of a subfeature RPR, use the ').concat(e.markName===A?R:L," mark name instead of ").concat(e.markName,".")),!e.markProps.subfeatureName||!e.markProps.subfeatureRelease)return!1;var t=e.markProps.subfeatureName,n=e.markProps.subfeatureRelease;return t&&t===s&&n&&n===u}))}};te((function(){e.getAllMarks().forEach(s),e.onMarkAdded(s)}),void 0!==i?i:200)}}(e,ee),function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.afterPageLoadWait,i=r.onAggregationComplete;te((function(){try{var r=e.getMarksByType(d),a=function(e){n({name:w,payload:t({violationType:e.markName},e.markProps)})};r.forEach(a),e.onMarkAdded((function(e){e.markType===d&&a(e)})),i&&i()}catch(t){e.__logError(t)}}),void 0!==a?a:4e3)}(e,ee),function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.afterPageLoadWait,i=r.onAggregationComplete;te((function(){try{var r=e.getMarksByType(m),a=function(e){e&&e.markProps&&!e.markProps.captureFrom&&n({name:P,payload:t({},e.markProps)})};r.forEach(a),e.onMarkAdded((function(e){e.markType===m&&a(e)})),i&&i()}catch(t){e.__logError(t)}}),void 0!==a?a:4e3)}(e,ee),function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.afterPageLoadWait,i=r.onAggregationComplete;te((function(){try{var r=e.getMarksByType(p),a=function(e){if(e&&e.markName){var r=T;e.markProps&&e.markProps.useEventNameAsRoot&&(r=e.markName),n({name:r,payload:t({eventName:e.markName},e.markProps||{})})}};r.forEach(a),e.onMarkAdded((function(e){e.markType===p&&a(e)})),i&&i()}catch(t){e.__logError(t)}}),void 0!==a?a:4e3)}(e,ee),function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.afterPageLoadWait,i=r.onAggregationComplete;te((function(){try{var r=e.getMarksByType(f),a=function(r){var a=t({connectionEvent:r.markName},r.markProps);e.timing=e.timing||{},e.timing.webSocketEvents=e.timing.webSocketEvents||[],e.timing.webSocketEvents.push(a),n({name:b,payload:a})};r.forEach(a),e.onMarkAdded((function(e){e.markType===f&&a(e)})),i&&i()}catch(t){e.__logError(t)}}),void 0!==a?a:4e3)}(e,ee)}}()}()},function(e,t){!function(){function e(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).error.apply(e,["ThirdPartyManager Error:"].concat(n))}var t="load complete";function n(n){return function(r,a){e("".concat(n," was attempted to be loaded but its implementation has not been added to third-party manager")),a(t)}}var r=[{key:"LINKEDIN",consentDomains:["linkedin.com","bizographics.com"],consentCategory:3,load:function(e,n){var r=e=e||{},a=r.testingLoader,i=r.mountWindow,o=void 0===i?window:i;if(a)n(t);else{o._bizo_data_partner_id="8262";var s=o.document.getElementsByTagName("script")[0],u=o.document.createElement("script");u.type="text/javascript",u.async=!0,u.src=("https:"===o.location.protocol?"https://sjs":"http://js")+".bizographics.com/inspect.min.js",u.onload=function(){n(t)},s.parentNode.insertBefore(u,s)}}},{key:"GOOGLE_ANALYTICS",consentDomains:["google-analytics.com"],consentCategory:3,load:function(e,n){var r,a,i,o,s,u=e=e||{},c=u.testingLoader,l=u.mountWindow,d=void 0===l?window:l;c||(r=d,a=d.document,i="script","ga",r.GoogleAnalyticsObject="ga",r.ga=r.ga||function(){(r.ga.q=r.ga.q||[]).push(arguments)},r.ga.l=1*new Date,o=a.createElement(i),s=a.getElementsByTagName(i)[0],o.async=1,o.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(o,s)),n(t)}},{key:"HOTJAR",consentDomains:["hotjar.com"],consentCategory:2,load:function(e,n){var r,a,i,o,s=e=e||{},u=s.hotJarSiteId,c=void 0===u?170538:u,l=s.testingLoader,d=s.mountWindow,m=void 0===d?window:d,p=s.mountDocument,f=void 0===p?window.document:p;l||(a=f,(r=m).hj=r.hj||function(){(r.hj.q=r.hj.q||[]).push(arguments)},r._hjSettings={hjid:c,hjsv:6},i=a.getElementsByTagName("head")[0],(o=a.createElement("script")).async=1,o.src="https://static.hotjar.com/c/hotjar-"+r._hjSettings.hjid+".js?sv="+r._hjSettings.hjsv,i.appendChild(o)),n(t)}},{key:"BIZIBLE",consentDomains:["bizible.com"],consentCategory:2,notImplemented:!0,load:function(e,n){var r=e=e||{},a=r.testingLoader,i=r.mountWindow,o=void 0===i?window:i;if(a)n(t);else{var s=o.document.getElementsByTagName("script")[0],u=o.document.createElement("script");u.type="text/javascript",u.async=!0,u.src="https://cdn.bizible.com/scripts/bizible.js",u.onload=function(){n(t)},s.parentNode.insertBefore(u,s)}}},{key:"MARKETO",consentDomains:["marketo.com"],consentCategory:2,notImplemented:!0,load:function(e,n){var r=e=e||{},a=r.testingLoader,i=r.marketoSubdomain,o=r.mountWindow,s=void 0===o?window:o;if(a)n(t);else{var u=s.document.getElementsByTagName("script")[0],c=s.document.createElement("script"),l=i?i+".marketo.com":"pages.invisionapp.com";c.type="text/javascript",c.async=!0,c.src=("https:"===s.location.protocol?"https://":"http://")+l+"/js/forms2/js/forms2.min.js",c.onload=function(){n(t)},u.parentNode.insertBefore(c,u)}}},{key:"ZENDESK",consentDomains:["zendesk.com"],consentCategory:2,load:function(e,n){var r=e=e||{},a=r.zendeskKey,i=void 0===a?"267730a6-d54d-4e69-8f99-bb2f37d96733":a,o=r.testingLoader,s=r.mountWindow,u=void 0===s?window:s,c=r.labels;if(o)n(t);else{u.zESettings={webWidget:{color:{theme:"#1D1D1F",launcher:"#1D1D1F",launcherText:"#FFFFFF",button:"#353CEE",resultLists:"#1D1D1F",header:"#1D1D1F",articleLinks:"#353CEE"},zIndex:20}};var l=u.document.getElementsByTagName("script")[0],d=u.document.createElement("script");d.type="text/javascript",d.id="ze-snippet",d.async=!0,d.src="https://static.zdassets.com/ekr/snippet.js?key="+i,d.onload=function(){u.zE&&c&&u.zE("webWidget","helpCenter:setSuggestions",{labels:c}),n(t)},l.parentNode.insertBefore(d,l)}}},{key:"LAUNCHDARKLY",consentDomains:["launchdarkly.com"],consentCategory:1,allowedForRestrictedEnvironments:!0,notImplemented:!0,load:n("LAUNCHDARKLY")},{key:"ROLLWORKS",consentDomains:["adroll.com"],consentCategory:3,load:function(e,n){var r=e=e||{},a=r.testingLoader,i=r.mountWindow,o=void 0===i?window:i,s=r.mountDocument,u=void 0===s?window.document:s;a||(adroll_adv_id="DAJLGFUXBRBIHF43O3E5QT",adroll_pix_id="HN5N7P2SS5CGBOAQKFE6PU",adroll_version="2.0",function(e,t,n,r,a){e.__adroll_loaded=!0,e.adroll=e.adroll||[],e.adroll.f=["setProperties","identify","track"];var i="https://s.adroll.com/j/"+adroll_adv_id+"/roundtrip.js";for(a=0;a<e.adroll.f.length;a++)e.adroll[e.adroll.f[a]]=e.adroll[e.adroll.f[a]]||function(t){return function(){e.adroll.push([t,arguments])}}(e.adroll.f[a]);n=t.createElement("script"),r=t.getElementsByTagName("script")[0],n.async=1,n.src=i,r.parentNode.insertBefore(n,r)}(o,u)),n(t)}},{key:"PUSHER",consentDomains:["pusher.com","pusherapp.com"],consentCategory:1,allowedForRestrictedEnvironments:!0,notImplemented:!0,load:n("PUSHER")},{key:"LOGGLY",consentDomains:["loggly.com"],consentCategory:1,notImplemented:!0,load:n("LOGGLY")},{key:"PENDO",consentDomains:["pendo.io"],consentCategory:2,notImplemented:!0,load:n("PENDO")},{key:"FACEBOOK",consentDomains:["facebook.com","atdmt.com"],consentCategory:3,notImplemented:!0,load:n("FACEBOOK")}];!function(e){window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1e4}):"complete"===document.readyState?setTimeout(e,2e3):document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&setTimeout(e,2e3)}))}((function(){window.inGlobalContext&&window.inGlobalContext.thirdPartyManager?window.inGlobalContext.thirdPartyManager._onAsyncLoadersReady(r):e("async modules are attempted to be added to the page but the synchronous pieces of thirdPartyManager are not available.")}))}()}]);
//# sourceMappingURL=cloud-global-async.js.map