cdn.pendo.io Open in urlscan Pro
2600:9000:223f:d400:1f:aa31:7740:93a1  Public Scan

URL: https://cdn.pendo.io/agent/static/d6c1d995-bc7e-4e53-77f1-2ea4ecbb9565/pendo.js
Submission: On August 13 via api from LU — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

// Pendo Agent Wrapper
// Copyright 2023 Pendo.io, Inc.
// Environment:    production
// Agent Version:  2.197.0
// Installed:      2023-08-10T18:09:20Z
(function (PendoConfig) {
/*
@license https://agent.pendo.io/licenses
*/
!function(iy,ry,oy){!function(){var s=Array.prototype.slice;try{s.call(ry.documentElement)}catch(Ut){Array.prototype.slice=function(e,t){if(t=void 0!==t?t:this.length,"[object Array]"===Object.prototype.toString.call(this))return s.call(this,e,t);var n,i=[],r=this.length,o=e||0,a=(t<0?r+t:t||r)-(o=0<=o?o:r+o);if(0<a)if(i=new Array(a),this.charAt)for(n=0;n<a;n++)i[n]=this.charAt(o+n);else for(n=0;n<a;n++)i[n]=this[o+n];return i}}String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var R=function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split("");return{uint8ToBase64:function(e){var t,n,i,r=e.length%3,o="";for(t=0,i=e.length-r;t<i;t+=3)n=(e[t]<<16)+(e[t+1]<<8)+e[t+2],o+=function(e){return a[e>>18&63]+a[e>>12&63]+a[e>>6&63]+a[63&e]}(n);switch(r){case 1:n=e[e.length-1],o=(o+=a[n>>2])+a[n<<4&63];break;case 2:n=(e[e.length-2]<<8)+e[e.length-1],o=(o=(o+=a[n>>10])+a[n>>4&63])+a[n<<2&63]}return o}}}(),Gt="undefined"!=typeof globalThis?globalThis:void 0!==iy?iy:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e={exports:{}},k=(!function(p){!function(){var s="object"==typeof iy?iy:{},i=!s.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node,e=(i&&(s=Gt),!s.JS_SHA1_NO_COMMON_JS&&p.exports),o="0123456789abcdef".split(""),n=[-2147483648,8388608,32768,128],u=[24,16,8,0],r=["hex","array","digest","arrayBuffer"],t=[],a=function(t){return function(e){return new l(!0).update(e)[t]()}},d=function(){var t=a("hex");(t=i?c(t):t).create=function(){return new l},t.update=function(e){return t.create().update(e)};for(var e=0;e<r.length;++e){var n=r[e];t[n]=a(n)}return t},c=function(t){var n=eval("require('crypto')"),i=eval("require('buffer').Buffer"),e=function(e){if("string"==typeof e)return n.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(e.length===oy)return t(e);return n.createHash("sha1").update(new i(e)).digest("hex")};return e};function l(e){e?(t[0]=t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0,this.blocks=t):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}l.prototype.update=function(e){if(!this.finalized){for(var t,n,i="string"!=typeof e,r=0,o=(e=i&&e.constructor===s.ArrayBuffer?new Uint8Array(e):e).length||0,a=this.blocks;r<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),i)for(n=this.start;r<o&&n<64;++r)a[n>>2]|=e[r]<<u[3&n++];else for(n=this.start;r<o&&n<64;++r)(t=e.charCodeAt(r))<128?a[n>>2]|=t<<u[3&n++]:(t<2048?a[n>>2]|=(192|t>>6)<<u[3&n++]:(t<55296||57344<=t?a[n>>2]|=(224|t>>12)<<u[3&n++]:(t=65536+((1023&t)<<10|1023&e.charCodeAt(++r)),a[n>>2]|=(240|t>>18)<<u[3&n++],a[n>>2]|=(128|t>>12&63)<<u[3&n++]),a[n>>2]|=(128|t>>6&63)<<u[3&n++]),a[n>>2]|=(128|63&t)<<u[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,64<=n?(this.block=a[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return 4294967295<this.bytes&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},l.prototype.finalize=function(){var e,t;this.finalized||(this.finalized=!0,e=this.blocks,t=this.lastByteIndex,e[16]=this.block,e[t>>2]|=n[3&t],this.block=e[16],56<=t&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash())},l.prototype.hash=function(){for(var e,t=this.h0,n=this.h1,i=this.h2,r=this.h3,o=this.h4,a=this.blocks,s=16;s<80;++s)e=a[s-3]^a[s-8]^a[s-14]^a[s-16],a[s]=e<<1|e>>>31;for(s=0;s<20;s+=5)t=(e=(n=(e=(i=(e=(r=(e=(o=(e=t<<5|t>>>27)+(n&i|~n&r)+o+1518500249+a[s]<<0)<<5|o>>>27)+(t&(n=n<<30|n>>>2)|~t&i)+r+1518500249+a[s+1]<<0)<<5|r>>>27)+(o&(t=t<<30|t>>>2)|~o&n)+i+1518500249+a[s+2]<<0)<<5|i>>>27)+(r&(o=o<<30|o>>>2)|~r&t)+n+1518500249+a[s+3]<<0)<<5|n>>>27)+(i&(r=r<<30|r>>>2)|~i&o)+t+1518500249+a[s+4]<<0,i=i<<30|i>>>2;for(;s<40;s+=5)t=(e=(n=(e=(i=(e=(r=(e=(o=(e=t<<5|t>>>27)+(n^i^r)+o+1859775393+a[s]<<0)<<5|o>>>27)+(t^(n=n<<30|n>>>2)^i)+r+1859775393+a[s+1]<<0)<<5|r>>>27)+(o^(t=t<<30|t>>>2)^n)+i+1859775393+a[s+2]<<0)<<5|i>>>27)+(r^(o=o<<30|o>>>2)^t)+n+1859775393+a[s+3]<<0)<<5|n>>>27)+(i^(r=r<<30|r>>>2)^o)+t+1859775393+a[s+4]<<0,i=i<<30|i>>>2;for(;s<60;s+=5)t=(e=(n=(e=(i=(e=(r=(e=(o=(e=t<<5|t>>>27)+(n&i|n&r|i&r)+o-1894007588+a[s]<<0)<<5|o>>>27)+(t&(n=n<<30|n>>>2)|t&i|n&i)+r-1894007588+a[s+1]<<0)<<5|r>>>27)+(o&(t=t<<30|t>>>2)|o&n|t&n)+i-1894007588+a[s+2]<<0)<<5|i>>>27)+(r&(o=o<<30|o>>>2)|r&t|o&t)+n-1894007588+a[s+3]<<0)<<5|n>>>27)+(i&(r=r<<30|r>>>2)|i&o|r&o)+t-1894007588+a[s+4]<<0,i=i<<30|i>>>2;for(;s<80;s+=5)t=(e=(n=(e=(i=(e=(r=(e=(o=(e=t<<5|t>>>27)+(n^i^r)+o-899497514+a[s]<<0)<<5|o>>>27)+(t^(n=n<<30|n>>>2)^i)+r-899497514+a[s+1]<<0)<<5|r>>>27)+(o^(t=t<<30|t>>>2)^n)+i-899497514+a[s+2]<<0)<<5|i>>>27)+(r^(o=o<<30|o>>>2)^t)+n-899497514+a[s+3]<<0)<<5|n>>>27)+(i^(r=r<<30|r>>>2)^o)+t-899497514+a[s+4]<<0,i=i<<30|i>>>2;this.h0=this.h0+t<<0,this.h1=this.h1+n<<0,this.h2=this.h2+i<<0,this.h3=this.h3+r<<0,this.h4=this.h4+o<<0},l.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4;return o[e>>28&15]+o[e>>24&15]+o[e>>20&15]+o[e>>16&15]+o[e>>12&15]+o[e>>8&15]+o[e>>4&15]+o[15&e]+o[t>>28&15]+o[t>>24&15]+o[t>>20&15]+o[t>>16&15]+o[t>>12&15]+o[t>>8&15]+o[t>>4&15]+o[15&t]+o[n>>28&15]+o[n>>24&15]+o[n>>20&15]+o[n>>16&15]+o[n>>12&15]+o[n>>8&15]+o[n>>4&15]+o[15&n]+o[i>>28&15]+o[i>>24&15]+o[i>>20&15]+o[i>>16&15]+o[i>>12&15]+o[i>>8&15]+o[i>>4&15]+o[15&i]+o[r>>28&15]+o[r>>24&15]+o[r>>20&15]+o[r>>16&15]+o[r>>12&15]+o[r>>8&15]+o[r>>4&15]+o[15&r]},l.prototype.toString=l.prototype.hex,l.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3,r=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r]},l.prototype.array=l.prototype.digest,l.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var f=d();e?p.exports=f:s.sha1=f}()}(e),e.exports),n,i={createScriptURL:function(e){return e},createHTML:function(e){return e}};function Ee(){return n=n||(iy.trustedTypes&&"function"==typeof iy.trustedTypes.createPolicy?iy.trustedTypes.createPolicy("pendo",i):i)}var L="stagingServerHashes",S,o={};function a(e){return e.loadAsModule}function O(e){e=a(e)?{}:iy;return S=e.pendo=e.pendo||{}}function N(e){return"staging"===e.environmentName}function M(e){return!e.unminified}function P(e){return"extension"===e.installType}function F(e){return!P(e)&&!N(e)&&G(e)}function D(e,t){return!P(e)&&M(e)&&t}function U(e,t,n){e=e.stagingAgentUrl;return n&&(n="unminified.js",t&&(n="staging-"+n),e=e&&e.replace(/staging\.js$/,n)),e}function G(e,t){if(N(e=e||ce()))return!0;if(t=t||iy.location,H(e))for(var n=B(t.host),i=0,r=e[L].length;i<r;++i)if(e[L][i]===n)return!0;if(z(e))for(var o=0,a=e.stagingServers.length;o<a;++o){var s=e.stagingServers[o];if((s="string"==typeof s?new RegExp("^"+s+"$"):s)instanceof RegExp&&s.test(t.host))return!0}return!1}function B(e){return R.uint8ToBase64(k.create().update(e).digest())}function H(e){return e&&e.stagingAgentUrl&&e[L]}function z(e){return e&&e.stagingAgentUrl&&e.stagingServers}var j=["initialize","identify","updateOptions","pageLoad","track","clearSession"];function ne(e,t,n){(e._q=e._q||[])["initialize"===t?"unshift":"push"]([].concat.apply([t],n))}function ie(e,t){t[e]=t[e]||function(){ne(t,e,arguments)}}function re(e){if(!e._q)for(var t=j,n=0,i=t.length;n<i;++n)ie(t[n],e)}function oe(e,t,n){if(F(e)){e=U(e,!0,n);if(e)return re(t),ue(e),!0}return!1}function ae(e,t,n){if(D(e,n)){e=U(e,!1,n);if(e)return re(t),ue(e),!0}return!1}function se(e,t,n){return oe(e,t,n)||ae(e,t,n)}function ue(e){var t=ry.createElement("script"),e=(t["async"]=!0,t.src=Ee().createScriptURL(e),ry.getElementsByTagName("script")[0]);e&&e.parentNode?e.parentNode.insertBefore(t,e):(ry.head||ry.body).appendChild(t)}function de(e){o=e}function ce(){return o}function le(){return"undefined"==typeof PendoConfig?{}:PendoConfig}function fe(e){return ce()[e]}var pe={exports:{}},W=(!function(){var e;e=function(){var e="object"==typeof self&&self.self===self&&self||"object"==typeof Gt&&Gt.global===Gt&&Gt||Function("return this")()||{},i=Array.prototype,F=Object.prototype,D="undefined"!=typeof Symbol?Symbol.prototype:null,U=i.push,u=i.slice,l=F.toString,G=F.hasOwnProperty,t="undefined"!=typeof ArrayBuffer,n="undefined"!=typeof DataView,B=Array.isArray,H=Object.keys,z=Object.create,j=t&&ArrayBuffer.isView,W=isNaN,q=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],V=Math.pow(2,53)-1;function c(r,o){return o=null==o?r.length-1:+o,function(){for(var e=Math.max(arguments.length-o,0),t=Array(e),n=0;n<e;n++)t[n]=arguments[n+o];switch(o){case 0:return r.call(this,t);case 1:return r.call(this,arguments[0],t);case 2:return r.call(this,arguments[0],arguments[1],t)}for(var i=Array(o+1),n=0;n<o;n++)i[n]=arguments[n];return i[o]=t,r.apply(this,i)}}function o(e){var t=typeof e;return"function"==t||"object"==t&&!!e}function $(e){return void 0===e}function Z(e){return!0===e||!1===e||"[object Boolean]"===l.call(e)}function r(e){var t="[object "+e+"]";return function(e){return l.call(e)===t}}var Y=r("String"),X=r("Number"),Q=r("Date"),ee=r("RegExp"),te=r("Error"),ne=r("Symbol"),ie=r("ArrayBuffer"),a=r("Function"),e=e.document&&e.document.childNodes,f=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof e?function(e){return"function"==typeof e||!1}:a,e=r("Object"),re=n&&e(new DataView(new ArrayBuffer(8))),a="undefined"!=typeof Map&&e(new Map),n=r("DataView");var p=re?function(e){return null!=e&&f(e.getInt8)&&ie(e.buffer)}:n,h=B||r("Array");function g(e,t){return null!=e&&G.call(e,t)}var oe=r("Arguments"),ae=(!function(){oe(arguments)||(oe=function(e){return g(e,"callee")})}(),oe);function se(e){return X(e)&&W(e)}function ue(e){return function(){return e}}function de(t){return function(e){e=t(e);return"number"==typeof e&&0<=e&&e<=V}}function ce(t){return function(e){return null==e?void 0:e[t]}}var m=ce("byteLength"),le=de(m),fe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var pe=t?function(e){return j?j(e)&&!p(e):le(e)&&fe.test(l.call(e))}:ue(!1),v=ce("length");function he(e,t){t=function(t){for(var n={},e=t.length,i=0;i<e;++i)n[t[i]]=!0;return{contains:function(e){return!0===n[e]},push:function(e){return n[e]=!0,t.push(e)}}}(t);var n=J.length,i=e.constructor,r=f(i)&&i.prototype||F,o="constructor";for(g(e,o)&&!t.contains(o)&&t.push(o);n--;)(o=J[n])in e&&e[o]!==r[o]&&!t.contains(o)&&t.push(o)}function y(e){if(!o(e))return[];if(H)return H(e);var t,n=[];for(t in e)g(e,t)&&n.push(t);return K&&he(e,n),n}function ge(e,t){var n=y(t),i=n.length;if(null==e)return!i;for(var r=Object(e),o=0;o<i;o++){var a=n[o];if(t[a]!==r[a]||!(a in r))return!1}return!0}function b(e){return e instanceof b?e:this instanceof b?void(this._wrapped=e):new b(e)}function me(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,m(e))}b.VERSION="1.13.6",b.prototype.valueOf=b.prototype.toJSON=b.prototype.value=function(){return this._wrapped},b.prototype.toString=function(){return String(this._wrapped)};var ve="[object DataView]";function ye(e,t,n,i){var r;return e===t?0!==e||1/e==1/t:null!=e&&null!=t&&(e!=e?t!=t:("function"==(r=typeof e)||"object"==r||"object"==typeof t)&&function c(e,t,n,i){e instanceof b&&(e=e._wrapped);t instanceof b&&(t=t._wrapped);var r=l.call(e);if(r!==l.call(t))return!1;if(re&&"[object Object]"==r&&p(e)){if(!p(t))return!1;r=ve}switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return D.valueOf.call(e)===D.valueOf.call(t);case"[object ArrayBuffer]":case ve:return c(me(e),me(t),n,i)}r="[object Array]"===r;if(!r&&pe(e)){var o=m(e);if(o!==m(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;r=!0}if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var o=e.constructor,a=t.constructor;if(o!==a&&!(f(o)&&o instanceof o&&f(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}n=n||[];i=i||[];var s=n.length;for(;s--;)if(n[s]===e)return i[s]===t;n.push(e);i.push(t);if(r){if((s=e.length)!==t.length)return!1;for(;s--;)if(!ye(e[s],t[s],n,i))return!1}else{var u,d=y(e);if(s=d.length,y(t).length!==s)return!1;for(;s--;)if(u=d[s],!g(t,u)||!ye(e[u],t[u],n,i))return!1}n.pop();i.pop();return!0}(e,t,n,i))}function d(e){if(!o(e))return[];var t,n=[];for(t in e)n.push(t);return K&&he(e,n),n}function be(i){var r=v(i);return function(e){if(null==e)return!1;var t=d(e);if(v(t))return!1;for(var n=0;n<r;n++)if(!f(e[i[n]]))return!1;return i!==Ie||!f(e[we])}}var we="forEach",e=["clear","delete"],n=["get","has","set"],B=e.concat(we,n),Ie=e.concat(n),t=["add"].concat(e,we,"has"),n=a?be(B):r("Map"),e=a?be(Ie):r("WeakMap"),B=a?be(t):r("Set"),a=r("WeakSet");function w(e){for(var t=y(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i}function Se(e){for(var t={},n=y(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t}function xe(e){var t,n=[];for(t in e)f(e[t])&&n.push(t);return n.sort()}function Ee(u,d){return function(e){var t=arguments.length;if(d&&(e=Object(e)),!(t<2||null==e))for(var n=1;n<t;n++)for(var i=arguments[n],r=u(i),o=r.length,a=0;a<o;a++){var s=r[a];d&&void 0!==e[s]||(e[s]=i[s])}return e}}var Ce=Ee(d),s=Ee(y),_e=Ee(d,!0);function Te(e){var t;return o(e)?z?z(e):((t=function(){}).prototype=e,e=new t,t.prototype=null,e):{}}function Ae(e){return h(e)?e:[e]}function I(e){return b.toPath(e)}function Re(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0}function ke(e,t,n){e=Re(e,I(t));return $(e)?n:e}function Le(e){return e}function S(t){return t=s({},t),function(e){return ge(e,t)}}function Oe(t){return t=I(t),function(e){return Re(e,t)}}function x(r,o,e){if(void 0===o)return r;switch(null==e?3:e){case 1:return function(e){return r.call(o,e)};case 3:return function(e,t,n){return r.call(o,e,t,n)};case 4:return function(e,t,n,i){return r.call(o,e,t,n,i)}}return function(){return r.apply(o,arguments)}}function Ne(e,t,n){return null==e?Le:f(e)?x(e,t,n):(o(e)&&!h(e)?S:Oe)(e)}function Me(e,t){return Ne(e,t,Infinity)}function E(e,t,n){return b.iteratee!==Me?b.iteratee(e,t):Ne(e,t,n)}function Pe(){}function Fe(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}b.toPath=Ae,b.iteratee=Me;var C=Date.now||function(){return(new Date).getTime()};function De(t){var n=function(e){return t[e]},e="(?:"+y(t).join("|")+")",i=RegExp(e),r=RegExp(e,"g");return function(e){return i.test(e=null==e?"":""+e)?e.replace(r,n):e}}var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Ue=De(t),t=De(Se(t)),Ge=b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Be=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ze=/\\|'|\r|\n|\u2028|\u2029/g;function je(e){return"\\"+He[e]}var We=/^\s*(\w|\$)+\s*$/;var qe=0;function Ke(e,t,n,i,r){return i instanceof t?(i=Te(e.prototype),o(t=e.apply(i,r))?t:i):e.apply(n,r)}var _=c(function(r,o){var a=_.placeholder,s=function(){for(var e=0,t=o.length,n=Array(t),i=0;i<t;i++)n[i]=o[i]===a?arguments[e++]:o[i];for(;e<arguments.length;)n.push(arguments[e++]);return Ke(r,s,this,this,n)};return s}),Je=(_.placeholder=b,c(function(t,n,i){var r;if(f(t))return r=c(function(e){return Ke(t,r,n,this,i.concat(e))});throw new TypeError("Bind must be called on a function")})),T=de(v);function A(e,t,n,i){if(i=i||[],t||0===t){if(t<=0)return i.concat(e)}else t=Infinity;for(var r=i.length,o=0,a=v(e);o<a;o++){var s=e[o];if(T(s)&&(h(s)||ae(s)))if(1<t)A(s,t-1,n,i),r=i.length;else for(var u=0,d=s.length;u<d;)i[r++]=s[u++];else n||(i[r++]=s)}return i}var Ve=c(function(e,t){var n=(t=A(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=Je(e[i],e)}return e});var $e=c(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),Ze=_($e,b,1);function Ye(e){return function(){return!e.apply(this,arguments)}}function Xe(e,t){var n;return function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Qe=_(Xe,2);function et(e,t,n){t=E(t,n);for(var i,r=y(e),o=0,a=r.length;o<a;o++)if(t(e[i=r[o]],i,e))return i}function tt(o){return function(e,t,n){t=E(t,n);for(var i=v(e),r=0<o?0:i-1;0<=r&&r<i;r+=o)if(t(e[r],r,e))return r;return-1}}var nt=tt(1),it=tt(-1);function rt(e,t,n,i){for(var r=(n=E(n,i,1))(t),o=0,a=v(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<r?o=s+1:a=s}return o}function ot(o,a,s){return function(e,t,n){var i=0,r=v(e);if("number"==typeof n)0<o?i=0<=n?n:Math.max(n+r,i):r=0<=n?Math.min(n+1,r):n+r+1;else if(s&&n&&r)return e[n=s(e,t)]===t?n:-1;if(t!=t)return 0<=(n=a(u.call(e,i,r),se))?n+i:-1;for(n=0<o?i:r-1;0<=n&&n<r;n+=o)if(e[n]===t)return n;return-1}}var at=ot(1,nt,rt),st=ot(-1,it);function ut(e,t,n){t=(T(e)?nt:et)(e,t,n);if(void 0!==t&&-1!==t)return e[t]}function R(e,t,n){if(t=x(t,n),T(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else for(var i=y(e),r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e);return e}function k(e,t,n){t=E(t,n);for(var i=!T(e)&&y(e),r=(i||e).length,o=Array(r),a=0;a<r;a++){var s=i?i[a]:a;o[a]=t(e[s],s,e)}return o}function dt(f){return function(e,t,n,i){var r=3<=arguments.length,o=e,a=x(t,i,4),s=n,u=!T(o)&&y(o),d=(u||o).length,c=0<f?0:d-1;for(r||(s=o[u?u[c]:c],c+=f);0<=c&&c<d;c+=f){var l=u?u[c]:c;s=a(s,o[l],l,o)}return s}}var ct=dt(1),lt=dt(-1);function L(e,i,t){var r=[];return i=E(i,t),R(e,function(e,t,n){i(e,t,n)&&r.push(e)}),r}function ft(e,t,n){t=E(t,n);for(var i=!T(e)&&y(e),r=(i||e).length,o=0;o<r;o++){var a=i?i[o]:o;if(!t(e[a],a,e))return!1}return!0}function pt(e,t,n){t=E(t,n);for(var i=!T(e)&&y(e),r=(i||e).length,o=0;o<r;o++){var a=i?i[o]:o;if(t(e[a],a,e))return!0}return!1}function O(e,t,n,i){return T(e)||(e=w(e)),0<=at(e,t,n="number"==typeof n&&!i?n:0)}var ht=c(function(e,n,i){var r,o;return f(n)?o=n:(n=I(n),r=n.slice(0,-1),n=n[n.length-1]),k(e,function(e){var t=o;if(!t){if(null==(e=r&&r.length?Re(e,r):e))return;t=e[n]}return null==t?t:t.apply(e,i)})});function gt(e,t){return k(e,Oe(t))}function mt(e,i,t){var n,r,o=-Infinity,a=-Infinity;if(null==i||"number"==typeof i&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=T(e)?e:w(e)).length;s<u;s++)null!=(n=e[s])&&o<n&&(o=n);else i=E(i,t),R(e,function(e,t,n){r=i(e,t,n),(a<r||r===-Infinity&&o===-Infinity)&&(o=e,a=r)});return o}var vt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function yt(e){return e?h(e)?u.call(e):Y(e)?e.match(vt):T(e)?k(e,Le):w(e):[]}function bt(e,t,n){if(null==t||n)return(e=T(e)?e:w(e))[Fe(e.length-1)];for(var i=yt(e),n=v(i),r=(t=Math.max(Math.min(t,n),0),n-1),o=0;o<t;o++){var a=Fe(o,r),s=i[o];i[o]=i[a],i[a]=s}return i.slice(0,t)}function N(o,t){return function(n,i,e){var r=t?[[],[]]:{};return i=E(i,e),R(n,function(e,t){t=i(e,t,n);o(r,e,t)}),r}}var wt=N(function(e,t,n){g(e,n)?e[n].push(t):e[n]=[t]}),It=N(function(e,t,n){e[n]=t}),St=N(function(e,t,n){g(e,n)?e[n]++:e[n]=1}),xt=N(function(e,t,n){e[n?0:1].push(t)},!0);function Et(e,t,n){return t in n}var Ct=c(function(e,t){var n={},i=t[0];if(null!=e){f(i)?(1<t.length&&(i=x(i,t[1])),t=d(e)):(i=Et,t=A(t,!1,!1),e=Object(e));for(var r=0,o=t.length;r<o;r++){var a=t[r],s=e[a];i(s,a,e)&&(n[a]=s)}}return n}),_t=c(function(e,n){var t,i=n[0];return f(i)?(i=Ye(i),1<n.length&&(t=n[1])):(n=k(A(n,!1,!1),String),i=function(e,t){return!O(n,t)}),Ct(e,i,t)});function Tt(e,t,n){return u.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function At(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Tt(e,e.length-t)}function M(e,t,n){return u.call(e,null==t||n?1:t)}var Rt=c(function(e,t){return t=A(t,!0,!0),L(e,function(e){return!O(t,e)})}),kt=c(function(e,t){return Rt(e,t)});function Lt(e,t,n,i){Z(t)||(i=n,n=t,t=!1),null!=n&&(n=E(n,i));for(var r=[],o=[],a=0,s=v(e);a<s;a++){var u=e[a],d=n?n(u,a,e):u;t&&!n?(a&&o===d||r.push(u),o=d):n?O(o,d)||(o.push(d),r.push(u)):O(r,u)||r.push(u)}return r}var Ot=c(function(e){return Lt(A(e,!0,!0))});function Nt(e){for(var t=e&&mt(e,v).length||0,n=Array(t),i=0;i<t;i++)n[i]=gt(e,i);return n}var Mt=c(Nt);function Pt(e,t){return e._chain?b(t).chain():t}function Ft(n){return R(xe(n),function(e){var t=b[e]=n[e];b.prototype[e]=function(){var e=[this._wrapped];return U.apply(e,arguments),Pt(this,t.apply(b,e))}}),b}R(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var n=i[t];b.prototype[t]=function(){var e=this._wrapped;return null!=e&&(n.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0]),Pt(this,e)}}),R(["concat","join","slice"],function(e){var t=i[e];b.prototype[e]=function(){var e=this._wrapped;return Pt(this,e=null!=e?t.apply(e,arguments):e)}});var P=Ft({__proto__:null,VERSION:"1.13.6",restArguments:c,isObject:o,isNull:function(e){return null===e},isUndefined:$,isBoolean:Z,isElement:function(e){return!(!e||1!==e.nodeType)},isString:Y,isNumber:X,isDate:Q,isRegExp:ee,isError:te,isSymbol:ne,isArrayBuffer:ie,isDataView:p,isArray:h,isFunction:f,isArguments:ae,isFinite:function(e){return!ne(e)&&q(e)&&!isNaN(parseFloat(e))},isNaN:se,isTypedArray:pe,isEmpty:function(e){var t;return null==e||("number"==typeof(t=v(e))&&(h(e)||Y(e)||ae(e))?0===t:0===v(y(e)))},isMatch:ge,isEqual:function(e,t){return ye(e,t)},isMap:n,isWeakMap:e,isSet:B,isWeakSet:a,keys:y,allKeys:d,values:w,pairs:function(e){for(var t=y(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i},invert:Se,functions:xe,methods:xe,extend:Ce,extendOwn:s,assign:s,defaults:_e,create:function(e,t){return e=Te(e),t&&s(e,t),e},clone:function(e){return o(e)?h(e)?e.slice():Ce({},e):e},tap:function(e,t){return t(e),e},get:ke,has:function(e,t){for(var n=(t=I(t)).length,i=0;i<n;i++){var r=t[i];if(!g(e,r))return!1;e=e[r]}return!!n},mapObject:function(e,t,n){t=E(t,n);for(var i=y(e),r=i.length,o={},a=0;a<r;a++){var s=i[a];o[s]=t(e[s],s,e)}return o},identity:Le,constant:ue,noop:Pe,toPath:Ae,property:Oe,propertyOf:function(t){return null==t?Pe:function(e){return ke(t,e)}},matcher:S,matches:S,times:function(e,t,n){var i=Array(Math.max(0,e));t=x(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i},random:Fe,now:C,escape:Ue,unescape:t,templateSettings:Ge,template:function(o,e,t){e=_e({},e=!e&&t?t:e,b.templateSettings);var n,t=RegExp([(e.escape||Be).source,(e.interpolate||Be).source,(e.evaluate||Be).source].join("|")+"|$","g"),a=0,s="__p+='";if(o.replace(t,function(e,t,n,i,r){return s+=o.slice(a,r).replace(ze,je),a=r+e.length,t?s+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":n?s+="'+\n((__t=("+n+"))==null?'':__t)+\n'":i&&(s+="';\n"+i+"\n__p+='"),e}),s+="';\n",t=e.variable){if(!We.test(t))throw new Error("variable is not a bare identifier: "+t)}else s="with(obj||{}){\n"+s+"}\n",t="obj";s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{n=new Function(t,"_",s)}catch(Ut){throw Ut.source=s,Ut}return(e=function(e){return n.call(this,e,b)}).source="function("+t+"){\n"+s+"}",e},result:function(e,t,n){var i=(t=I(t)).length;if(!i)return f(n)?n.call(e):n;for(var r=0;r<i;r++){var o=null==e?void 0:e[t[r]];void 0===o&&(o=n,r=i),e=f(o)?o.call(e):o}return e},uniqueId:function(e){var t=++qe+"";return e?e+t:t},chain:function(e){return(e=b(e))._chain=!0,e},iteratee:Me,partial:_,bind:Je,bindAll:Ve,memoize:function(i,r){var o=function(e){var t=o.cache,n=""+(r?r.apply(this,arguments):e);return g(t,n)||(t[n]=i.apply(this,arguments)),t[n]};return o.cache={},o},delay:$e,defer:Ze,throttle:function(n,i,r){var o,a,s,u,d=0,c=(r=r||{},function(){d=!1===r.leading?0:C(),o=null,u=n.apply(a,s),o||(a=s=null)}),e=function(){var e=C(),t=(d||!1!==r.leading||(d=e),i-(e-d));return a=this,s=arguments,t<=0||i<t?(o&&(clearTimeout(o),o=null),d=e,u=n.apply(a,s),o||(a=s=null)):o||!1===r.trailing||(o=setTimeout(c,t)),u};return e.cancel=function(){clearTimeout(o),d=0,o=a=s=null},e},debounce:function(t,n,i){var r,o,a,s,u,d=function(){var e=C()-o;e<n?r=setTimeout(d,n-e):(r=null,i||(s=t.apply(u,a)),r||(a=u=null))},e=c(function(e){return u=this,a=e,o=C(),r||(r=setTimeout(d,n),i&&(s=t.apply(u,a))),s});return e.cancel=function(){clearTimeout(r),r=a=u=null},e},wrap:function(e,t){return _(t,e)},negate:Ye,compose:function(){var n=arguments,i=n.length-1;return function(){for(var e=i,t=n[i].apply(this,arguments);e--;)t=n[e].call(this,t);return t}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:Xe,once:Qe,findKey:et,findIndex:nt,findLastIndex:it,sortedIndex:rt,indexOf:at,lastIndexOf:st,find:ut,detect:ut,findWhere:function(e,t){return ut(e,S(t))},each:R,forEach:R,map:k,collect:k,reduce:ct,foldl:ct,inject:ct,reduceRight:lt,foldr:lt,filter:L,select:L,reject:function(e,t,n){return L(e,Ye(E(t)),n)},every:ft,all:ft,some:pt,any:pt,contains:O,includes:O,include:O,invoke:ht,pluck:gt,where:function(e,t){return L(e,S(t))},max:mt,min:function(e,i,t){var n,r,o=Infinity,a=Infinity;if(null==i||"number"==typeof i&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=T(e)?e:w(e)).length;s<u;s++)null!=(n=e[s])&&n<o&&(o=n);else i=E(i,t),R(e,function(e,t,n){((r=i(e,t,n))<a||r===Infinity&&o===Infinity)&&(o=e,a=r)});return o},shuffle:function(e){return bt(e,Infinity)},sample:bt,sortBy:function(e,i,t){var r=0;return i=E(i,t),gt(k(e,function(e,t,n){return{value:e,index:r++,criteria:i(e,t,n)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(i<n||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index}),"value")},groupBy:wt,indexBy:It,countBy:St,partition:xt,toArray:yt,size:function(e){return null==e?0:(T(e)?e:y(e)).length},pick:Ct,omit:_t,first:At,head:At,take:At,initial:Tt,last:function(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:M(e,Math.max(0,e.length-t))},rest:M,tail:M,drop:M,compact:function(e){return L(e,Boolean)},flatten:function(e,t){return A(e,t,!1)},without:kt,uniq:Lt,unique:Lt,union:Ot,intersection:function(e){for(var t=[],n=arguments.length,i=0,r=v(e);i<r;i++){var o=e[i];if(!O(t,o)){for(var a=1;a<n&&O(arguments[a],o);a++);a===n&&t.push(o)}}return t},difference:Rt,unzip:Nt,transpose:Nt,zip:Mt,object:function(e,t){for(var n={},i=0,r=v(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},range:function(e,t,n){null==t&&(t=e||0,e=0),n=n||(t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),o=0;o<i;o++,e+=n)r[o]=e;return r},chunk:function(e,t){if(null==t||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(u.call(e,i,i+=t));return n},mixin:Ft,"default":b}),Dt=P.toPath;return P.mixin({toPath:function(e){return P.isString(e)?e.split("."):Dt(e)}}),P._=P},pe.exports=e()}(),pe.exports),he;function x(e){return!(null==e)}function ge(e){return W.isFunction(e)||W.isRegExp(e)?e:W.isArray(e)?W.map(e,ge):W.isObject(e)?W.reduce(e,function(e,t,n){return e[n]=ge(t),e},{}):e}var m=function(){var i=W.all,r=W.each,o=W.filter,a=W.first,s=W.find,n=W.map,u=W.pluck,d="snippet",c="pendoconfig",l="global",f="default",p={};function e(e,t,n,i){void 0===t&&(t=[c]),e&&!p[e]&&(n={name:e,defaultValue:n,supportedSources:t},null!=i&&(n.useAnySource=i),p[e]=n)}e("additionalApiKeys",[c,d]),e("allowedOriginServers"),e("annotateUrl",[d]),e("apiKey",[c,d]),e("autoFrameInstall",[d,c],!1),e("blockAgentMetadata",[c],!1),e("contentHost",[d,c]),e("cookieDomain",[d,c]),e("dataHost",[d,c]),e("disableAutoInitialize"),e("disableCookies",[d,c]),e("disablePendo",[d,c],!1),e("disablePersistence",[d,c]),e("enableSignedMetadata",[c],!1),e("frameIdentitySync",[d,c],!1),e("ignoreHashRouting",[d,c]),e("initializeImmediately",[d,c],!1),e("installType"),e("localStorageOnly",[d,c]),e("observeShadowRoots",[d,c],!1),e("pendoCore",[c],!0),e("preferBroadcastChannel",[d,c],!1),e("preferMutationObserver",[d,c],!1),e("preventUnloadListener",[d,c],!1),e("promotedAgentMetadataConfigurations",[c]),e("queryStringWhitelist",[d]),e("requireSignedMetadata",[c],!1),e("sanitizeUrl",[d]),e("selfHosted"),e("selfHostedAgentUrl",[d,c]),e("sendEventsWithPostOnly",[d,c],!1),e("siblingSelectors"),e("allowMixedApiKeyFrames",[d,c],!0),e("allowedText",[d,c],[]),e("analytics.excludeEvents",[d,c],[]),e("enableDebugEvents",[d,c]),e("freeNPSData"),e("eventPropertyConfigurations"),e("eventPropertyMatchParents",[d,c],!0),e("excludeAllText",[c,d],!1,!0),e("excludeNonGuideAnalytics",[c],!1),e("htmlAttributeBlacklist"),e("htmlAttributes"),e("interceptElementRemoval",[d,c],!1),e("syntheticClicks.elementRemoval",[d,c],!1),e("syntheticClicks.targetChanged",[d,c],!0),e("xhrTimings"),e("xhrWhitelist"),e("appAutoOrdering",[d,c]),e("delayGuides",[d]),e("disableDesignerKeyboardShortcut",[c],!1),e("disableGlobalCSS",[d,c],!1),e("disableGuidePseudoStyles",[d,c],!1),e("disableGuides",[d]),e("disablePrefetch",[d,c]),e("enableDesignerKeyboardShortcut",[d]),e("enableGuideTimeout",[c,d],!1),e("guideCssAssetPath"),e("guideSeenTimeoutLength",[c,d],1e4),e("guideTimeout",[d]),e("guideValidation",[d,c],!1),e("guides.attachPoint",[d]),e("guides.delay",[d]),e("guides.disabled",[d]),e("guides.globalScripts",[d,c],[]),e("guides.timeout",[d]),e("guides.tooltip.arrowSize",[d]),e("preventCodeInjection",[c,d,l],!1),e("previewModeAssetPath"),e("leaderKey",[d,c],[]),e("designerAgentPluginsLoader"),e("disableFeedback",[d]),e("disableFeedbackAutoInit"),e("feedbackSettings",[c],{}),e("pendoFeedback",[c],!1),e("adoptHost"),e("adoptPrioritizeAdoptGuides",[c],!1),e("trainingPartner"),e("forceParentDesigner",[d]);var h={};function g(e){return p[e]||{name:e}}function m(e,t){if(t)return t=t(),x(e=W.get(t.lookup,(t=e,W.get(t,"key")||W.get(t,"name"))))?e:oy}function v(e,t){var n=m(e,h[t]);return new w(e.name,n,t)}function y(e,t){return t=t||W.get(e,"supportedSources",[d,c,l]),o(n(t,W.partial(v,e)),function(e){return x(e.value)})}function b(e,t,n){var i=g(e),e=new w(e,t=t||W.get(i,"defaultValue",null),f),n=y(i,n);return i.useAnySource&&x(t)?s(n,function(e){return e.value!==t})||e:a(n)||e}function w(e,t,n){this.name=e,this.value=t,this.source=n}function I(){var n=[];return r(p,function(e){var t;n.push({name:e.name,active:b(e.name),conflicts:(e=g(e=e.name),(t=o(y(e),function(e){return e.source!==f})).length<2||i(u(t,"value"),function(e){return e===t[0].value})?[]:t)})}),n}return h[d]=function(){return{lookup:he||iy.pendo_options,name:d}},h[c]=function(){return{lookup:ce(),name:c}},h[l]=function(){return{lookup:S,name:l}},w.prototype.toString=function(){return"Config option `"+this.name+"` with value `"+this.value+"` from source `"+this.source+"`"},{audit:I,get:function(e,t){return b(e,t).value},getLocalConfig:function(e,t){return arguments.length?b(e,t,[d]).value:ge(he)},getHostedConfig:function(e,t){return b(e,t,[c]).value},addOption:e,setLocalConfig:function(e){he=e},options:function(){return u(p,"name")},sources:{SNIPPET_SRC:d,PENDO_CONFIG_SRC:c,GLOBAL_SRC:l,DEFAULT_SRC:f},validate:function(t){t.groupCollapsed("Validate Config options"),r(I(),function(e){t.log(String(e.active)),0<e.conflicts.length&&(t.warn("Multiple sources found with values for "+e.name),r(e.conflicts,function(e){t.warn(String(e))}))}),t.groupEnd()}}}(),me="prod",ve="extension",ye="native";function be(){return m.get("installType")||ye}function we(e){return e===me?"pendo-static":Ie(e)}function Ie(e){var t;return e===me?"pendo-io-static":"prod-jp"===e?"pendo-jp-prod-static":"pendo-"+((t=/^prod-(.+)$/.exec(e))&&1<t.length?t[1]:e)+"-static"}var Se=function(e,t){return e=e||10,(t=!isNaN(xe)&&(!t||xe<t))&&u<e},u,xe;function Ce(e){return parseInt(e,10)}var _e=function(e){return W.isString(e)?e.toLowerCase():e};function Te(e){return!(!isNaN(this.msie)&&null!=this.msie)||this.msie>=e}function Ae(){return(iy.navigator||{}).userAgent}var Re=function(e){var t=Ce((/msie (\d+)/.exec(_e(e))||[])[1]);return t=isNaN(t)?Ce((/trident\/.*; rv:(\d+)/.exec(_e(e))||[])[1]):t},u=Re(Ae()),ke=function(e,t){e=Ce((/trident\/(\d+)/.exec(_e(e))||[])[1]);return e=isNaN(e)&&7==t?3:e};function Le(e){return/native/.test(e)}var xe=ke(Ae(),u),Oe={},Ne=Ce((/android (\d+)/.exec(_e(Ae()))||[])[1]),Me=/Boxee/i.test(Ae()),Pe=iy.document||{},Fe=Pe.documentMode,De,Ue=/^(Moz|webkit|O|ms)(?=[A-Z])/,Ge=Pe.body&&Pe.body.style,Be=!1,He=!1,ze;if(Ge){for(var je in Ge)if(ze=Ue.exec(je),ze){De=ze[0],De=De.substr(0,1).toUpperCase()+De.substr(1);break}De=De||"WebkitOpacity"in Ge&&"webkit",Be=!!("transition"in Ge||De+"Transition"in Ge),He=!!("animation"in Ge||De+"Animation"in Ge),!Ne||Be&&He||(Be=W.isString(Pe.body.style.webkitTransition),He=W.isString(Pe.body.style.webkitAnimation))}var We=W.memoize(function We(){var e=iy.history&&iy.history.pushState&&iy.history.replaceState,t=iy.history&&W.isFunction(Object.isFrozen)&&Object.isFrozen(iy.history),n=iy.history&&W.isFunction(Object.getOwnPropertyDescriptors)&&Object.getOwnPropertyDescriptors(iy.history),n=n&&W.get(n,"pushState.writable",!0)&&W.get(n,"replaceState.writable",!0),i=!(Ne<4),r=be()===ve;return!(!e||t||!n||!i||Me||r)});function qe(){var e="onhashchange"in iy,t=!Fe||7<Fe,n=be()===ve;return!(!e||!t||n)}function Ke(){return/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Ae())}var b={supportsHistoryApi:We,supportsHashChange:qe,hasEvent:function(e){var t;return("input"!=e||9!=u)&&(W.isUndefined(Oe[e])&&(t=Pe.createElement("div"),Oe[e]="on"+e in t),Oe[e])},vendorPrefix:De,transitions:Be,animations:He,android:Ne,msie:u,msieDocumentMode:Fe,safari:/apple/i.test(navigator.vendor),sri:"integrity"in ry.createElement("script"),addEventListener:W.isFunction(iy.addEventListener),MutationObserver:Le(iy.MutationObserver),isMinimumIEVersion:Te,isMobileUserAgent:W.memoize(Ke)},Je=function(){return!isNaN(u)&&11!=u&&"CSS1Compat"!==ry.compatMode},Ve=function(e,t){var n,i=e.height,r=e.width;return"top"==e.arrowPosition||"bottom"==e.arrowPosition?(n=0,"top"==e.arrowPosition?(e.top=t.top+t.height,n=-1,e.arrow.top=3,u<=9&&(e.arrow.top=6)):"bottom"==e.arrowPosition&&(e.top=t.top-(i+S.TOOLTIP_ARROW_SIZE),e.arrow.top=i-S.TOOLTIP_ARROW_SIZE,10==u?e.arrow.top--:u<=9&&(e.arrow.top+=4),n=1),"left"==e.arrow.hbias?(e.left=t.left+t.width/2-(10+2*S.TOOLTIP_ARROW_SIZE),e.arrow.left=10+S.TOOLTIP_ARROW_SIZE):"right"==e.arrow.hbias?(e.left=t.left-r+t.width/2+(10+2*S.TOOLTIP_ARROW_SIZE),e.arrow.left=r-3*S.TOOLTIP_ARROW_SIZE-10):(e.left=t.left+t.width/2-r/2,e.arrow.left=r/2-S.TOOLTIP_ARROW_SIZE),e.arrow.border.top=e.arrow.top+n,e.arrow.border.left=e.arrow.left):("left"==e.arrow.hbias?(e.left=t.left+t.width,e.arrow.left=1,e.arrow.left+=5,e.arrow.border.left=e.arrow.left-1):"right"==e.arrow.hbias&&(e.left=Math.max(0,t.left-r-S.TOOLTIP_ARROW_SIZE),e.arrow.left=r-S.TOOLTIP_ARROW_SIZE-1,e.arrow.left+=5,e.arrow.border.left=e.arrow.left+1),e.top=t.top+t.height/2-i/2,e.arrow.top=i/2-S.TOOLTIP_ARROW_SIZE,e.arrow.border.top=e.arrow.top),e},$e="prod",Ze="https://app.pendo.io",Ye="cdn.pendo.io",Xe="agent/releases/2.197.0",Qe="prod",et="2.197.0_prod",tt="2.197.0",nt=function(){return Je()?et+"+quirksmode":et},it=function(){$e=fe("env")||$e,Ze=fe("server")||Ze,Ye=fe("assetHost")||Ye,Xe=fe("assetPath")||Xe,Qe=fe("designerEnv")||Qe;var e=fe("installType")===ve;et=tt+"_"+(e?$e+"_ext":$e)};function rt(){return-1!==$e.indexOf("prod")}function ot(e,t){return!/prod/.test(e)||G(t)}var y=iy.JSON,at=(y&&"function"==typeof y.stringify&&'{"props":{}}'===y.stringify({props:{}})||(y={}),!function(){function t(e){return e<10?"0"+e:e}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+t(this.getUTCMonth()+1)+"-"+t(this.getUTCDate())+"T"+t(this.getUTCHours())+":"+t(this.getUTCMinutes())+":"+t(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var n=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d,c,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;function f(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function p(e,t){var n,i,r,o,a,s=d,u=t[e];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(e)),typeof(u="function"==typeof l?l.call(t,e,u):u)){case"string":return f(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(d+=c,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,n=0;n<o;n+=1)a[n]=p(n,u)||"null";r=0===a.length?"[]":d?"[\n"+d+a.join(",\n"+d)+"\n"+s+"]":"["+a.join(",")+"]"}else{if(l&&"object"==typeof l)for(o=l.length,n=0;n<o;n+=1)"string"==typeof l[n]&&(r=p(i=l[n],u))&&a.push(f(i)+(d?": ":":")+r);else for(i in u)Object.prototype.hasOwnProperty.call(u,i)&&(r=p(i,u))&&a.push(f(i)+(d?": ":":")+r);r=0===a.length?"{}":d?"{\n"+d+a.join(",\n"+d)+"\n"+s+"}":"{"+a.join(",")+"}"}return d=s,r}}"function"!=typeof y.stringify&&(y.stringify=function(e,t,n){var i;if(c=d="","number"==typeof n)for(i=0;i<n;i+=1)c+=" ";else"string"==typeof n&&(c=n);if(!(l=t)||"function"==typeof t||"object"==typeof t&&"number"==typeof t.length)return p("",{"":e});throw new Error("JSON.stringify")}),"function"!=typeof y.parse&&(y.parse=function(e,o){var t;function a(e,t){var n,i,r=e[t];if(r&&"object"==typeof r)for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&((i=a(r,n))!==oy?r[n]=i:delete r[n]);return o.call(e,t,r)}if(e=String(e),n.lastIndex=0,n.test(e)&&(e=e.replace(n,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(e.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return t=eval("("+e+")"),"function"==typeof o?a({"":t},""):t;throw new SyntaxError("JSON.parse")})}(),/^\s+|\s+$/g),st=String.prototype.trim;function ut(e){for(var t=[],n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t.push(i):i<2048?t.push(192|i>>6,128|63&i):i<55296||57344<=i?t.push(224|i>>12,128|i>>6&63,128|63&i):(n++,i=65536+((1023&i)<<10|1023&e.charCodeAt(n)),t.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|63&i))}return t}var st=st||function(){return this.replace(at,"")},dt={exports:{}},ct=(!function(){var X=void 0,Q=!0,o=this;function e(e,t){var n,i=e.split("."),r=o;i[0]in r||!r.execScript||r.execScript("var "+i[0]);for(;i.length&&(n=i.shift());)i.length||t===X?r=r[n]||(r[n]={}):r[n]=t}var ee="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array;function te(e,t){if(this.index="number"==typeof t?t:0,this.e=0,this.buffer=e instanceof(ee?Uint8Array:Array)?e:new(ee?Uint8Array:Array)(32768),2*this.buffer.length<=this.index)throw Error("invalid index");this.buffer.length<=this.index&&u(this)}function u(e){var t,n=e.buffer,i=n.length,r=new(ee?Uint8Array:Array)(i<<1);if(ee)r.set(n);else for(t=0;t<i;++t)r[t]=n[t];return e.buffer=r}te.prototype.b=function(e,t,n){var i,r=this.buffer,o=this.index,a=this.e,s=r[o];if(n&&1<t&&(e=8<t?(d[255&e]<<24|d[e>>>8&255]<<16|d[e>>>16&255]<<8|d[e>>>24&255])>>32-t:d[e]>>8-t),t+a<8)s=s<<t|e,a+=t;else for(i=0;i<t;++i)s=s<<1|e>>t-i-1&1,8==++a&&(a=0,r[o++]=d[s],s=0,o===r.length)&&(r=u(this));r[o]=s,this.buffer=r,this.e=a,this.index=o},te.prototype.finish=function(){var e=this.buffer,t=this.index;return 0<this.e&&(e[t]<<=8-this.e,e[t]=d[e[t]],t++),ee?e.subarray(0,t):(e.length=t,e)};for(var t=new(ee?Uint8Array:Array)(256),n=0;n<256;++n){for(var i=a=n,r=7,a=a>>>1;a;a>>>=1)i=i<<1|1&a,--r;t[n]=(i<<r&255)>>>0}var d=t;function c(e){this.buffer=new(ee?Uint16Array:Array)(2*e),this.length=0}function s(e,t){this.d=ne,this.i=0,this.input=ee&&e instanceof Array?new Uint8Array(e):e,this.c=0,t&&(t.lazy&&(this.i=t.lazy),"number"==typeof t.compressionType&&(this.d=t.compressionType),t.outputBuffer&&(this.a=ee&&t.outputBuffer instanceof Array?new Uint8Array(t.outputBuffer):t.outputBuffer),"number"==typeof t.outputIndex)&&(this.c=t.outputIndex),this.a||(this.a=new(ee?Uint8Array:Array)(32768))}c.prototype.getParent=function(e){return 2*((e-2)/4|0)},c.prototype.push=function(e,t){var n,i,r=this.buffer,o=this.length;for(r[this.length++]=t,r[this.length++]=e;0<o&&(n=this.getParent(o),r[o]>r[n]);)i=r[o],r[o]=r[n],r[n]=i,i=r[o+1],r[o+1]=r[n+1],r[n+1]=i,o=n;return this.length},c.prototype.pop=function(){var e,t,n,i=this.buffer,r=i[0],o=i[1];for(this.length-=2,i[0]=i[this.length],i[1]=i[this.length+1],n=0;!((t=2*n+2)>=this.length)&&(t+2<this.length&&i[t+2]>i[t]&&(t+=2),i[t]>i[n]);)e=i[n],i[n]=i[t],i[t]=e,e=i[n+1],i[n+1]=i[t+1],i[t+1]=e,n=t;return{index:o,value:r,length:this.length}};for(var ne=2,l={NONE:0,h:1,g:ne,n:3},ie=[],f=0;f<288;f++)switch(Q){case f<=143:ie.push([f+48,8]);break;case f<=255:ie.push([f-144+400,9]);break;case f<=279:ie.push([f-256,7]);break;case f<=287:ie.push([f-280+192,8]);break;default:throw"invalid literal: "+f}function b(e,t){this.length=e,this.k=t}s.prototype.f=function(){var e,t,F,n=this.input;switch(this.d){case 0:for(t=0,F=n.length;t<F;){var D,U,i=r=ee?n.subarray(t,t+65535):n.slice(t,t+65535),r=(t+=r.length)===F,o=X,a=this.a,s=this.c;if(ee){for(a=new Uint8Array(this.a.buffer);a.length<=s+i.length+5;)a=new Uint8Array(a.length<<1);a.set(this.a)}if(a[s++]=0|(r?1:0),D=65536+~(r=i.length)&65535,a[s++]=255&r,a[s++]=r>>>8&255,a[s++]=255&D,a[s++]=D>>>8&255,ee)a.set(i,s),s+=i.length,a=a.subarray(0,s);else{for(o=0,U=i.length;o<U;++o)a[s++]=i[o];a.length=s}this.c=s,this.a=a}break;case 1:for(var u,d=new te(ee?new Uint8Array(this.a.buffer):this.a,this.c),c=(d.b(1,1,Q),d.b(1,2,Q),re(this,n)),l=0,G=c.length;l<G;l++)if(u=c[l],te.prototype.b.apply(d,ie[u]),256<u)d.b(c[++l],c[++l],Q),d.b(c[++l],5),d.b(c[++l],c[++l],Q);else if(256===u)break;this.a=d.finish(),this.c=this.a.length;break;case ne:var f,p,h,g,m,v,y,B,b,w,I,H,S=new te(ee?new Uint8Array(this.a.buffer):this.a,this.c),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],j=Array(19),x=ne;for(S.b(1,1,Q),S.b(x,2,Q),f=re(this,n),x=ae(m=oe(this.m,15)),M=ae(v=oe(this.l,7)),p=286;257<p&&0===m[p-1];p--);for(h=30;1<h&&0===v[h-1];h--);for(var E,C,_,T,A,W=p,q=h,R=new(ee?Uint32Array:Array)(W+q),k=new(ee?Uint32Array:Array)(316),L=new(ee?Uint8Array:Array)(19),O=E=0;O<W;O++)R[E++]=m[O];for(O=0;O<q;O++)R[E++]=v[O];if(!ee)for(O=0,_=L.length;O<_;++O)L[O]=0;for(O=T=0,_=R.length;O<_;O+=E){for(E=1;O+E<_&&R[O+E]===R[O];++E);if(C=E,0===R[O])if(C<3)for(;0<C--;)L[k[T++]=0]++;else for(;0<C;)(A=C-3<(A=C<138?C:138)&&A<C?C-3:A)<=10?(k[T++]=17,k[T++]=A-3,L[17]++):(k[T++]=18,k[T++]=A-11,L[18]++),C-=A;else if(k[T++]=R[O],L[R[O]]++,--C<3)for(;0<C--;)k[T++]=R[O],L[R[O]]++;else for(;0<C;)C-3<(A=C<6?C:6)&&A<C&&(A=C-3),k[T++]=16,k[T++]=A-3,L[16]++,C-=A}for(e=ee?k.subarray(0,T):k.slice(0,T),y=oe(L,7),I=0;I<19;I++)j[I]=y[z[I]];for(g=19;4<g&&0===j[g-1];g--);for(B=ae(y),S.b(p-257,5,Q),S.b(h-1,5,Q),S.b(g-4,4,Q),I=0;I<g;I++)S.b(j[I],3,Q);for(I=0,H=e.length;I<H;I++)if(b=e[I],S.b(B[b],y[b],Q),16<=b){switch(I++,b){case 16:w=2;break;case 17:w=3;break;case 18:w=7;break;default:throw"invalid code: "+b}S.b(e[I],w,Q)}for(var N,K,x=[x,m],M=[M,v],J=x[0],V=x[1],$=M[0],Z=M[1],P=0,Y=f.length;P<Y;++P)if(N=f[P],S.b(J[N],V[N],Q),256<N)S.b(f[++P],f[++P],Q),K=f[++P],S.b($[K],Z[K],Q),S.b(f[++P],f[++P],Q);else if(256===N)break;this.a=S.finish(),this.c=this.a.length;break;default:throw"invalid compression type"}return this.a};var p=function(){for(var e,t=[],n=3;n<=258;n++)e=function(e){switch(Q){case 3===e:return[257,e-3,0];case 4===e:return[258,e-4,0];case 5===e:return[259,e-5,0];case 6===e:return[260,e-6,0];case 7===e:return[261,e-7,0];case 8===e:return[262,e-8,0];case 9===e:return[263,e-9,0];case 10===e:return[264,e-10,0];case e<=12:return[265,e-11,1];case e<=14:return[266,e-13,1];case e<=16:return[267,e-15,1];case e<=18:return[268,e-17,1];case e<=22:return[269,e-19,2];case e<=26:return[270,e-23,2];case e<=30:return[271,e-27,2];case e<=34:return[272,e-31,2];case e<=42:return[273,e-35,3];case e<=50:return[274,e-43,3];case e<=58:return[275,e-51,3];case e<=66:return[276,e-59,3];case e<=82:return[277,e-67,4];case e<=98:return[278,e-83,4];case e<=114:return[279,e-99,4];case e<=130:return[280,e-115,4];case e<=162:return[281,e-131,5];case e<=194:return[282,e-163,5];case e<=226:return[283,e-195,5];case e<=257:return[284,e-227,5];case 258===e:return[285,e-258,0];default:throw"invalid length: "+e}}(n),t[n]=e[2]<<24|e[1]<<16|e[0];return t}(),w=ee?new Uint32Array(p):p;function re(e,t){function n(e,t){var n,i,r,o=e.k,a=[],s=0,u=w[e.length];switch(a[s++]=65535&u,a[s++]=u>>16&255,a[s++]=u>>24,Q){case 1===o:n=[0,o-1,0];break;case 2===o:n=[1,o-2,0];break;case 3===o:n=[2,o-3,0];break;case 4===o:n=[3,o-4,0];break;case o<=6:n=[4,o-5,1];break;case o<=8:n=[5,o-7,1];break;case o<=12:n=[6,o-9,2];break;case o<=16:n=[7,o-13,2];break;case o<=24:n=[8,o-17,3];break;case o<=32:n=[9,o-25,3];break;case o<=48:n=[10,o-33,4];break;case o<=64:n=[11,o-49,4];break;case o<=96:n=[12,o-65,5];break;case o<=128:n=[13,o-97,5];break;case o<=192:n=[14,o-129,6];break;case o<=256:n=[15,o-193,6];break;case o<=384:n=[16,o-257,7];break;case o<=512:n=[17,o-385,7];break;case o<=768:n=[18,o-513,8];break;case o<=1024:n=[19,o-769,8];break;case o<=1536:n=[20,o-1025,9];break;case o<=2048:n=[21,o-1537,9];break;case o<=3072:n=[22,o-2049,10];break;case o<=4096:n=[23,o-3073,10];break;case o<=6144:n=[24,o-4097,11];break;case o<=8192:n=[25,o-6145,11];break;case o<=12288:n=[26,o-8193,12];break;case o<=16384:n=[27,o-12289,12];break;case o<=24576:n=[28,o-16385,13];break;case o<=32768:n=[29,o-24577,13];break;default:throw"invalid distance"}for(u=n,a[s++]=u[0],a[+s]=u[1],a[5]=u[2],i=0,r=a.length;i<r;++i)p[h++]=a[i];m[a[0]]++,v[a[3]]++,g=e.length+t-1,c=null}var i,r,o,a,s,u,d,c,l,f={},p=ee?new Uint16Array(2*t.length):[],h=0,g=0,m=new(ee?Uint32Array:Array)(286),v=new(ee?Uint32Array:Array)(30),y=e.i;if(!ee){for(o=0;o<=285;)m[o++]=0;for(o=0;o<=29;)v[o++]=0}for(m[256]=1,i=0,r=t.length;i<r;++i){for(o=s=0,a=3;o<a&&i+o!==r;++o)s=s<<8|t[i+o];if(f[s]===X&&(f[s]=[]),u=f[s],!(0<g--)){for(;0<u.length&&32768<i-u[0];)u.shift();if(r<=i+3){for(c&&n(c,-1),o=0,a=r-i;o<a;++o)l=t[i+o],p[h++]=l,++m[l];break}0<u.length?(d=function(e,t,n){var i,r,o,a,s,u,d=0,c=e.length;a=0,u=n.length;e:for(;a<u;a++){if(i=n[u-a-1],(o=3)<d){for(s=d;3<s;s--)if(e[i+s-1]!==e[t+s-1])continue e;o=d}for(;o<258&&t+o<c&&e[i+o]===e[t+o];)++o;if(d<o&&(r=i,d=o),258===o)break}return new b(d,t-r)}(t,i,u),c?c.length<d.length?(l=t[i-1],p[h++]=l,++m[l],n(d,0)):n(c,-1):d.length<y?c=d:n(d,0)):c?n(c,-1):(l=t[i],p[h++]=l,++m[l])}u.push(i)}return p[h++]=256,m[256]++,e.m=m,e.l=v,ee?p.subarray(0,h):p}function oe(e,t){var n,i,r,o,a,s=e.length,u=new c(572),d=new(ee?Uint8Array:Array)(s);if(!ee)for(o=0;o<s;o++)d[o]=0;for(o=0;o<s;++o)0<e[o]&&u.push(o,e[o]);if(n=Array(u.length/2),i=new(ee?Uint32Array:Array)(u.length/2),1===n.length)d[u.pop().index]=1;else{for(o=0,a=u.length/2;o<a;++o)n[o]=u.pop(),i[o]=n[o].value;for(r=function(e,n,t){var i,r,o,a,s,u=new(ee?Uint16Array:Array)(t),d=new(ee?Uint8Array:Array)(t),c=new(ee?Uint8Array:Array)(n),l=Array(t),f=Array(t),p=Array(t),h=(1<<t)-n,g=1<<t-1;for(u[t-1]=n,r=0;r<t;++r)h<g?d[r]=0:(d[r]=1,h-=g),h<<=1,u[t-2-r]=(u[t-1-r]/2|0)+n;for(u[0]=d[0],l[0]=Array(u[0]),f[0]=Array(u[0]),r=1;r<t;++r)u[r]>2*u[r-1]+d[r]&&(u[r]=2*u[r-1]+d[r]),l[r]=Array(u[r]),f[r]=Array(u[r]);for(i=0;i<n;++i)c[i]=t;for(o=0;o<u[t-1];++o)l[t-1][o]=e[o],f[t-1][o]=o;for(i=0;i<t;++i)p[i]=0;for(1===d[t-1]&&(--c[0],++p[t-1]),r=t-2;0<=r;--r){for(a=i=0,s=p[r+1],o=0;o<u[r];o++)(a=l[r+1][s]+l[r+1][s+1])>e[i]?(l[r][o]=a,f[r][o]=n,s+=2):(l[r][o]=e[i],f[r][o]=i,++i);p[r]=0,1===d[r]&&function m(e){var t=f[e][p[e]];t===n?(m(e+1),m(e+1)):--c[t],++p[e]}(r)}return c}(i,i.length,t),o=0,a=n.length;o<a;++o)d[n[o].index]=r[o]}return d}function ae(e){for(var t,n,i=new(ee?Uint16Array:Array)(e.length),r=[],o=[],a=0,s=0,u=e.length;s<u;s++)r[e[s]]=1+(0|r[e[s]]);for(s=1,u=16;s<=u;s++)a=(o[s]=a)+(0|r[s])<<1;for(s=0,u=e.length;s<u;s++)for(a=o[e[s]],o[e[s]]+=1,t=i[s]=0,n=e[s];t<n;t++)i[s]=i[s]<<1|1&a,a>>>=1;return i}function h(e,t){this.input=e,this.a=new(ee?Uint8Array:Array)(32768),this.d=I.g;var n,i={};for(n in(t?"number"==typeof t.compressionType:(t={},0))&&(this.d=t.compressionType),t)i[n]=t[n];i.outputBuffer=this.a,this.j=new s(this.input,i)}var g,m,v,y,I=l,S=(h.prototype.f=function(){var e,t,n=0,i=this.a,r=Math.LOG2E*Math.log(32768)-8<<4|8;switch(i[n++]=r,8,this.d){case I.NONE:t=0;break;case I.h:t=1;break;case I.g:t=2;break;default:throw Error("unsupported compression type")}i[+n]=(e=t<<6|0)|31-(256*r+e)%31;var o=this.input;if("string"==typeof o){for(var a=o.split(""),s=0,u=a.length;s<u;s++)a[s]=(255&a[s].charCodeAt(0))>>>0;o=a}for(var d,c=1,l=0,f=o.length,p=0;0<f;){for(f-=d=1024<f?1024:f;l+=c+=o[p++],--d;);c%=65521,l%=65521}return r=(l<<16|c)>>>0,this.j.c=2,n=(i=this.j.f()).length,ee&&((i=new Uint8Array(i.buffer)).length<=n+4&&(this.a=new Uint8Array(i.length+4),this.a.set(i),i=this.a),i=i.subarray(0,n+4)),i[n++]=r>>24&255,i[n++]=r>>16&255,i[n++]=r>>8&255,i[+n]=255&r,i},e("Zlib.Deflate",h),e("Zlib.Deflate.compress",function(e,t){return new h(e,t).f()}),e("Zlib.Deflate.prototype.compress",h.prototype.f),{NONE:I.NONE,FIXED:I.h,DYNAMIC:I.g});if(Object.keys)g=Object.keys(S);else for(m in g=[],v=0,S)g[v++]=m;for(v=0,y=g.length;v<y;++v)e("Zlib.Deflate.CompressionType."+(m=g[v]),S[m])}.call(dt.exports),dt.exports),lt={Deflate:ct.Zlib.Deflate},ft={base64Url:"base64url",binary:"binary"};function pt(e,t){t=t||ft.base64Url;e=ut(y.stringify(e)),e=new lt.Deflate(e).compress();return t===ft.base64Url?R.uint8ToBase64(e):e}var ht={exports:{}},gt=(!function(){var o=this;function e(e,t){var n,i=e.split("."),r=o;i[0]in r||!r.execScript||r.execScript("var "+i[0]);for(;i.length&&(n=i.shift());)i.length||void 0===t?r=r[n]||(r[n]={}):r[n]=t}var a={c:function(e,t,n){return a.update(e,0,t,n)},update:function(e,t,n,i){var r=a.a,o="number"==typeof n?n:n=0,i="number"==typeof i?i:e.length;for(t^=4294967295,o=7&i;o--;++n)t=t>>>8^r[255&(t^e[n])];for(o=i>>3;o--;n+=8)t=(t=(t=(t=(t=(t=(t=(t=t>>>8^r[255&(t^e[n])])>>>8^r[255&(t^e[n+1])])>>>8^r[255&(t^e[n+2])])>>>8^r[255&(t^e[n+3])])>>>8^r[255&(t^e[n+4])])>>>8^r[255&(t^e[n+5])])>>>8^r[255&(t^e[n+6])])>>>8^r[255&(t^e[n+7])];return(4294967295^t)>>>0},d:function(e,t){return(a.a[255&(e^t)]^e>>>8)>>>0},b:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]};a.a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?new Uint32Array(a.b):a.b,e("Zlib.CRC32",a),e("Zlib.CRC32.calc",a.c),e("Zlib.CRC32.update",a.update)}.call(ht.exports),ht.exports),mt={CRC32:gt.Zlib.CRC32},vt=function(e,n){var i;return 200<=(n=n||0)?e:W.isArray(e)?W.map(e,function(e){return vt(e,n+1)}):!W.isObject(e)||W.isDate(e)||W.isRegExp(e)||W.isElement(e)?W.isString(e)?W.escape(e):e:(i={},W.each(e,function(e,t){i[t]=vt(e,n+1)}),i)},yt=function(e){e=ut(e);return R.uint8ToBase64(e)},bt=function(e){if(void 0!==e)return e=ut(e=W.isString(e)?e:y.stringify(e)),mt.CRC32.calc(e,0,e.length)};function wt(e){return e[Math.floor(Math.random()*e.length)]}function It(e){for(var t="abcdefghijklmnopqrstuvwxyz",n="",i=(t+t.toUpperCase()+"1234567890").split(""),r=0;r<e;r++)n+=wt(i);return n}var St=function(e,t,n){return!(!x(e)||!x(t))&&(n&&(e=e.toLowerCase(),t=t.toLowerCase()),-1<e.indexOf(t))};function v(){return(new Date).getTime()}function xt(){return"undefined"!=typeof $A&&W.isFunction($A.get)&&W.isString($A.get("$Browser.formFactor"))}function Et(e){var t="__symbol__";if("undefined"!=typeof Zone&&W.isFunction(Zone[t])){t=iy[Zone[t](e)];if(W.isFunction(t))return t}return iy[e]}function Ct(e){return W.isFunction(e.isFinite)?e.isFinite:e.Number&&W.isFunction(e.Number.isFinite)?e.Number.isFinite:function(e){return e!=Infinity&&e!=-Infinity&&!isNaN(e)}}var _t=Ct(iy);function Tt(e){return"number"==typeof e&&_t(e)&&Math.floor(e)===e}function At(e,t,n,i){(t=t||{}).maxRetries=Tt(t.maxRetries)?t.maxRetries:10,t.delay=Tt(t.delay)?t.delay:50,t.exponentialBackoff=t.exponentialBackoff||!1;var r=function(e){return e&&"[object Function]"==={}.toString.call(e)},o=r(n)?n:function(){},a=r(i)?i:function(){},n=e();n?o(n):0<t.maxRetries?setTimeout(function(){t.maxRetries=--t.maxRetries,t.delay=t.exponentialBackoff?2*t.delay:t.delay,At(e,t,o,a)},t.delay):(a||function(){})()}var Rt=function(e){e=e.match(/-?[\d,]+\.?([\d,]+)*/);return e?parseFloat(e[0].replace(/,/g,"")):null};function kt(e){return W.isObject(e)&&W.isFunction(e.then)}var Lt=W.isFunction(iy.decodeURIComponent)?iy.decodeURIComponent:W.identity,Ot=W.isFunction(iy.encodeURIComponent)?iy.encodeURIComponent:W.identity,Nt={},Mt,Pt=!0,Ft=function(){return m.get("localStorageOnly")},Dt=function(){return!!m.get("disableCookies")};function Bt(e){Pt=e}var Ht=function(e){var t=Dt()||Ft()?Nt[e]:ry.cookie;return(e=new RegExp("(^|; )"+e+"=([^;]*)").exec(t))?Lt(e[2]):null},zt=function(e,t,n,i){var r;Pt&&((r=new Date).setTime(r.getTime()+n),t=e+"="+Ot(t)+(n?";expires="+r.toUTCString():"")+"; path=/"+("https:"===ry.location.protocol||i?";secure":"")+"; SameSite=Strict",Mt&&(t+=";domain="+Mt),Dt()||Ft()?Nt[e]=t:ry.cookie=t)};function jt(e,t){var n,i;e?W.isString(e)&&(t=t.replace(/:\d+$/,""),e=e.replace(/^\./,""),n=new RegExp("\\."+e.replace(/\./g,"\\.")+"$"),i=new RegExp("^"+e.replace(/\./g,"\\.")+"$"),n.test(t)||i.test(t))&&(Mt="."+e):Mt=e}function Wt(){return Mt}function qt(e){Wt()?zt(e,""):ry.cookie=e+"=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT"}var Kt=function(e){return"_pendo_"+e+"."+S.apiKey},Jt=function(e){return Ht(Kt(e))},Vt=864e7,$t=function(e,t,n,i){n=n||Vt,zt(Kt(e),t,n,i)},d=function(){function u(){return!Dt()&&!Wt()&&d("localStorage")}var d=W.memoize(function(e){try{var t=iy[e],n="__storage_test__";return t.setItem(n,n),t.removeItem(n),!0}catch(Ut){return Ut instanceof DOMException&&(22===Ut.code||1014===Ut.code||"QuotaExceededError"===Ut.name||"NS_ERROR_DOM_QUOTA_REACHED"===Ut.name)&&t&&0!==t.length}});function c(e){e.cache&&(e.cache={})}function i(e,t){t=t?e:Kt(e);if(u())return localStorage.removeItem(t);qt(t)}return{read:function(e,t){var n;return u()?(n=t?e:Kt(e),null===(n=function(e){if(null===e)return null;try{var t=y.parse(e);return t.ttl?t.ttl<(new Date).getTime()?null:String(t.value||t):e}catch(Ut){return e}}(localStorage.getItem(n)))&&i(e),n):(t?Ht:Jt)(e)},write:function(e,t,n,i,r){if(c(d),u())try{var o=i?e:Kt(e);return localStorage.setItem(o,(a=t,(s=n)?(s=(new Date).getTime()+s,y.stringify({ttl:s,value:a})):a)),void c(d)}catch(Ut){}var a,s;if(!i)return $t(e,t,n,r);zt(e,t,n,r)},clear:i}}(),Zt="debug-enabled",Yt,Xt;function Qt(e){e=e||!1;var t="true"===d.read(Zt,!0);return e?t:t?"Yes":"No"}var en=100,tn=[],nn=[],rn=function(e){var t=d.read("log-enabled",!0);return null!==t?"true"==t:!W.contains(["prod","prod-eu","prod-us1","prod-jp","rc"],e)},on=function(){var e=d.read("active-contexts",!0);return e?e.split(","):[]},an=function(){return cn()?Xt?"logging already enabled":(d.write("log-enabled","true",null,!0),Xt=!0,"logging enabled"):"logging unavailable"},sn=function(){return Xt?(d.write("log-enabled","false",null,!0),Xt=!1,"logging disabled"):"logging already disabled"};function un(){Yt=on(),Xt=rn($e)}var dn=function(e,t){return W.compact([].concat(e,t))},cn=function(e){return e=e||"log","undefined"!=typeof console&&W.isFunction(console[e])},ln=function(e){return e=dn(e),0<Yt.length?0<W.intersection(Yt,e).length:!!Xt||!!Qt(!0)},q=function(e,t){t=dn(t,W.tail(arguments,2)),cn()&&ln(t)&&bn(e),hn(tn,e,t)};function fn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];cn("error")&&console.error.apply(console,e),hn(nn,e.join(" "))}function pn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];cn("warn")&&console.warn.apply(console,e)}var hn=function(e,t,n){W.contains(n,"debug")||(e.length==en&&e.shift(),e.push([t,n]))},gn=function(t){t=dn(t),W.each(W.map(W.filter(tn,function(e){return 0===t.length||0<W.intersection(t,e[1]).length}),function(e){return e[0]}),function(e){bn(e,"[Pendo-History] ")})},mn=function(){return W.union.apply(W,W.map(tn,function(e){return e[1]}))},vn=function(){return Yt},yn=function(e){Yt=dn(e),d.write("active-contexts",Yt.join(","),null,!0)},bn=function(e,t){var n;cn()&&(t=t||"[Agent] ",e&&e.length?((n=1e3<e.length?e.length-1e3:0)&&(t+="..."),console.log(t+e.substring(n))):console.log(t+e))};function r(e){q(e,"debug")}function wn(){return 0<nn.length}function In(){return[].concat(nn)}q.init=un,q.enableLogging=an,q.disableLogging=sn,q.getActiveContexts=vn,q.setActiveContexts=yn,q.showLogHistory=gn,q.getLoggedContexts=mn;var Sn=iy.Promise,Sn=function(e){var t=iy.Promise;return"function"==typeof t&&/native/.test(t)?t:e()}(function(){var t=setTimeout;function d(e){return Boolean(e&&"undefined"!=typeof e.length)}function i(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=oy,this._deferreds=[],l(e,this)}function r(n,i){for(;3===n._state;)n=n._value;0===n._state?n._deferreds.push(i):(n._handled=!0,o._immediateFn(function(){var e,t=1===n._state?i.onFulfilled:i.onRejected;if(null===t)(1===n._state?a:s)(i.promise,n._value);else{try{e=t(n._value)}catch(Ut){return void s(i.promise,Ut)}a(i.promise,e)}}))}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void l((i=n,r=t,function(){i.apply(r,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(Ut){s(e,Ut)}var i,r}function s(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)r(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,a(t,e))},function(e){n||(n=!0,s(t,e))})}catch(i){n||(n=!0,s(t,i))}}return o.prototype["catch"]=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(i);return r(this,new c(e,t,n)),n},o.prototype["finally"]=function(t){var n=this.constructor;return this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){return n.reject(e)})})},o.all=function(t){return new o(function(r,o){if(!d(t))return o(new TypeError("Promise.all accepts an array"));var a=Array.prototype.slice.call(t);if(0===a.length)return r([]);var s=a.length;function u(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void n.call(e,function(e){u(t,e)},o)}a[t]=e,0==--s&&r(a)}catch(i){o(i)}}for(var e=0;e<a.length;e++)u(e,a[e])})},o.allSettled=function(n){return new this(function(i,e){if(!n||"undefined"==typeof n.length)return e(new TypeError(typeof n+" "+n+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(n);if(0===r.length)return i([]);var o=r.length;for(var t=0;t<r.length;t++)!function a(t,e){if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void n.call(e,function(e){a(t,e)},function(e){r[t]={status:"rejected",reason:e},0==--o&&i(r)})}r[t]={status:"fulfilled",value:e},0==--o&&i(r)}(t,r[t])})},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o(function(e){e(t)})},o.reject=function(n){return new o(function(e,t){t(n)})},o.race=function(r){return new o(function(e,t){if(!d(r))return t(new TypeError("Promise.race accepts an array"));for(var n=0,i=r.length;n<i;n++)o.resolve(r[n]).then(e,t)})},o._immediateFn="function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){t(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},o}),xn=function(){var e={},d=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},c=function(n,i){var r=e.defer(),o=function(t,n){setTimeout(function(){var e;try{e=t(n)}catch(Ut){return void r.reject(Ut)}e===r.promise?r.reject(new TypeError("Cannot resolve promise with itself")):r.resolve(e)},1)};return{promise:r.promise,handle:function(e,t){e===l?(e=t,n&&n.call?o(n,e):r.resolve(e)):(e=t,i&&i.call?o(i,e):r.reject(e))}}},l=1;return e.defer=function(){var n,i=0,r=[],o=function(e,t){i=e,n=t,W.each(r,function(e){e.handle(i,n)}),r=null},a=function(e){o(2,e)},t=function(e,t){e=c(e,t);return 0===i?r.push(e):e.handle(i,n),e.promise},s=function(e){var t=d();try{e(t(u),t(a))}catch(Ut){t(a)(Ut)}},u=function(e){var t;try{t=function(e){var t=e&&e.then;if("object"==typeof e&&"function"==typeof t)return function(){return t.apply(e,arguments)}}(e)}catch(Ut){return void a(Ut)}t?s(t):o(l,e)},e=d();return{resolve:e(u),reject:e(a),promise:{then:t,"catch":function(e){return t(null,e)}}}},e}(),K;function En(e){var n,i=K.defer(),r=W.isArray(e)?[]:{},o=W.size(e);return o?(n=!1,W.each(e,function(e,t){K.resolve(e).then(function(e){r[t]=e,0!=--o||n||i.resolve(r)},function(e){n||(n=!0,i.reject(e))})}),i.promise):K.resolve(e)}function Cn(e,t){return function(){try{return t.apply(e,arguments)}catch(Ut){}}}function _n(e){return{getItem:Cn(e,e.getItem),setItem:Cn(e,e.setItem),removeItem:Cn(e,e.removeItem)}}function Tn(e){var t=W.noop,t={getItem:t,setItem:t,removeItem:t};try{var n=e();return n?_n(n):t}catch(Ut){return t}}ot($e,ce())&&b.isMinimumIEVersion(11)?K={all:function(e){return W.isArray(e)?Sn.all.apply(Sn,arguments):En(e)},reject:function(){return Sn.reject.apply(Sn,arguments)},resolve:function(){return Sn.resolve.apply(Sn,arguments)},defer:function(){var n={};return n.promise=new Sn(function(e,t){n.resolve=e,n.reject=t}),n}}:(K=xn,K.all=En,K.reject=function(e){var t=K.defer();return t.reject(e),t.promise},K.resolve=function(e){var t=K.defer();return t.resolve(e),t.promise});var An=Tn(function(){return iy.localStorage}),Rn=Tn(function(){return iy.sessionStorage});function kn(n){var e=W.partial,t=W.compose,i=W.extend,r=W.omit,o="pendo_sessionId",a="pendo_tabId",s="pendo_parentTabId",u="pendo_cd",d={data:{},getItem:function(e){return d.data[e]},setItem:function(e,t){d.data[e]=t},clear:function(e){d.data[e]=null,delete d.data[e]}},c=null,l=e(g,a,m),f=e(g,"pendo_frameId",d);function p(e,t){return(W.isFunction(t)?t():t).getItem(e)}function h(e,t,n){(W.isFunction(n)?n():n).setItem(e,t)}function g(e,t){var n=p(e,t);return n||h(e,n=It(16),t),n}function m(){return Rn}function v(){Rn.removeItem(u),c=null}function y(){c&&(clearTimeout(c),c=null)}e=t(e(g,o,d),e(function(e,t){t.clear(e)},o,d));return{addTracerIds:function(e){return r(i(e,{parentTabId:p(s,m),tabId:l(),frameId:f(),sessionId:d.getItem(o)}),function(e){return e===oy})},setParentTabId:function(e){h(s,e,m)},newTabId:function(){var e=It(16);return h(a,e,m),e},getTabId:l,detectClonedSession:function(e){var t=Rn.getItem(u)||"";-1===t.indexOf(e)&&(t+="-"+e),Rn.setItem(u,t)},isClonedSession:function(e){return y(),c=setTimeout(v,1e4),-1===(Rn.getItem(u)||"").indexOf(e)},stopCloneDetectionTimer:y,tabIdChanged:function(t){var e;if(b.addEventListener)return n.addEventListener("storage",e=function(e){e.key===a&&t()}),function(){n.removeEventListener("storage",e)}},changeSessionId:e}}var Ln=kn(iy);function On(){var i=this._handlers={};return this.on=function(e,t){var n;return(W.isString(e)||W.isFunction(t))&&(n=(n=i[e])||(i[e]=[]),W.indexOf(n,t)<0)&&n.push(t),this},this.one=function(e,t){var n=this,i=function(){n.off(e,i),t.apply(this,arguments)};return this.on(e,i)},this.once=this.one,this.off=function(e,t){var n,e=i[e];return W.isFunction(t)?(n=W.indexOf(e,t),e&&0<=n&&e.splice(n,1)):e&&t===oy&&(e.length=0),this},this.trigger=function(e){var t=i[e]?i[e].slice():[],n=W.toArray(arguments).slice(1);return W.map(t,function(e){return e.apply(S,n)})},this.triggerCancelable=function(e,t){e=i[e]?i[e].slice():[];return W.map(e,function(e){if(!t.cancel)return e.apply(S,[t])})},this.triggerAsync=function(){var e=W.map(this.trigger.apply(this,arguments),function(e){return!1===e?K.reject():e});return K.all(e)},this}var w=function(){function e(e,t){this.name=e,this.groups=t||[]}var t="debug",n="lifecycle",i="runtime",r={DEBUG:t,LIFECYCLE:n,RUNTIME:i},o=[new e("ready",[t,n]),new e("deliverablesLoaded",[t,n]),new e("guidesFailed",[t,n]),new e("guidesLoaded",[t,n]),new e("guideListChanged",[t,n]),new e("guideSeen",[t,n]),new e("guideNotSeen",[t,n]),new e("guideAdvanced",[t,n]),new e("guideDismissed",[t,n]),new e("guideSnoozed",[t,n]),new e("beforeGuideShow",[n]),new e("beforeAdvance",[i]),new e("beforePrevious",[i]),new e("beforeSnooze",[i]),new e("beforeDismiss",[i]),new e("beforeUnmount",[i]),new e("unmounted",[i]),new e("beforeUpdate",[i]),new e("updated",[i]),new e("guideSnoozeCancelled",[t,n]),new e("guideTimeout",[t,n]),new e("guideLoopStopped",[t,n]),new e("guideUpdateComplete",[n]),new e("designerLaunched",[t,n]),new e("debuggerLaunched",[t,n]),new e("identify",[t,n]),new e("metadata",[t,n]),new e("appUnloaded",[t,n]),new e("startPreview",[t]),new e("resourceFetchFail",[t]),new e("contentVerificationFail",[t]),new e("contentValidationFail",[t]),new e("renderFail",[t]),new e("appUsage",[n]),new e("eventCaptured",[t]),new e("error",[t,n]),new e("onClickCaptured",[t]),new e("urlChanged",[n]),new e("leaderChanged",[n]),new e("transmit:locked",[n]),new e("transmit:unlocked",[n])],a=On.call({});function s(e,t){e={type:e,ts:v()};return x(t)&&W.isObject(t)&&(e.data=t),e}var u={debug:function(){return Ln.addTracerIds(s.apply(null,arguments))},lifecycle:s,runtime:s};var d=a.trigger;function c(t){var e=W.findWhere(o,{name:t}),n=W.toArray(arguments).slice(1),i={};return W.each(e.groups,function(e){i.cancel||(i=u[e](t,n),d.apply(a,[e].concat(i)))}),i.cancel||(i=s(t,n),d.apply(a,[t].concat(i))),i}return a.trigger=c,W.each(W.values(r),function(e){a[e]={on:W.partial(a.on,e),one:W.partial(a.one,e),off:W.partial(a.off,e)}}),W.each(o,function(e){e=e.name,a[e]={on:W.partial(a.on,e),one:W.partial(a.one,e),off:W.partial(a.off,e),trigger:W.partial(c,e)}}),a}();function Nn(e){var i=[],r=[],o={},a={},s={state:{},commit:function(t,n){var e=o[t];if(!e)throw new Error("mutation "+t+" not found");e(n),W.each(i,function(e){e({type:t,payload:n},s.state)})},dispatch:function(t,n){var e=a[t];if(e)return e=e(n),W.each(r,function(e){e({type:t,payload:n},s.state)}),e;throw new Error("action "+t+" not found")},subscribe:W.partial(t,i),subscribeAction:W.partial(t,r),registerModule:function p(n,e){W.isString(n)&&(n=[n]);var t=d(s.state,e,n);W.extend(s.getters,f(e,t,s,n));W.extend(o,c(e,t,n));W.extend(a,l(e,t,s,n));W.each(e.modules,function(e,t){p(n.concat([t]),e)})},getters:{}};return e&&s.registerModule([],e),s;function t(e,t){return W.isFunction(t)?(e.push(t),n=e,i=t,function(){var e=n.indexOf(i);0<=e&&n.splice(e,1)}):W.noop;var n,i}function u(e,t){return(e=t?e.concat([t]):e).join("/")}function d(e,t,n){var i=e;return W.each(n,function(e){i[e]||(i[e]={}),i=i[e]}),W.extend(i,ge(t.state||{}))}function c(e,n,i){var r={};return W.each(e.mutations,function(e,t){r[u(i,t)]=W.partial(e,n)}),r}function l(e,t,i,r){var n={},o={state:t,rootState:i.state,commit:function(e,t,n){n=n&&n.root?e:u(r,e);i.commit(n,t)},dispatch:function(e,t,n){n=n&&n.root?e:u(r,e);return i.dispatch(n,t)},getters:function(e,t){var i=u(t);i&&(i+="/");return W.reduce(e,function(e,t,n){return 0===n.indexOf(i)&&(e[n.replace(i,"")]=t),e},{})}(i.getters,r),rootGetters:i.getters};return W.each(e.actions,function(e,t){n[u(r,t)]=W.partial(e,o)}),n}function f(e,n,i,r){var o={},a={};return W.each(e.getters,function(e,t){a[t]=o[u(r,t)]=function(){return e(n,a,i.state,i.getters)}}),o}}function Mn(){return Nn()}var J=Mn(),Pn=(J.subscribe(function(e,t){}),"_PENDO_T_"),Fn=11,Dn=function(e){return(e=void 0===e?"":e)+It(Fn)};function Un(e){return e&&"string"==typeof e&&0===st.call(e).length}var Gn=function(e){return x(e)&&""!==e&&e!==qn&&"boolean"!=typeof e&&"object"!=typeof e&&!Un(e)},Bn=function(e){return!(!(e=void 0===e?V():e)||"number"==typeof e)&&e.substring(0,Pn.length)===Pn},Hn=function(){return!m.get("disablePersistence")},zn=function(e){W.each(e=e||["visitorId","accountId"],function(e){qt(Kt(e)),d.clear(e)})},jn="VISITOR-UNIQUE-ID",Wn=function(e){return jn===e},qn="::",Kn=function(e){return new RegExp(qn).test(e)},Jn=function(e){return e.old_visitor_id!==e.visitor_id||e.old_account_id!==e.account_id},Vn=function(e,t){var n={old_visitor_id:V(),old_account_id:Zn()};Gn(e)?($n(e),Yn(t),n.visitor_id=V(),n.account_id=Zn(),Jn(n)&&w.identify.trigger(n)):q("Invalid visitor id "+e)},V=function(){var e,t=Dn(Pn);return Gn(S.visitorId)||(Hn()?(e=d.read("visitorId"),Gn(e)||d.write("visitorId",e=t)):e=t,S.visitorId=e),S.visitorId},$n=function(e){Gn(e)?(S.visitorId=""+e,Hn()&&d.write("visitorId",S.visitorId,Vt,!1,!0)):q("Invalid visitor id "+e)},Zn=function(){var e;return!Gn(S.accountId)&&Hn()&&(e=d.read("accountId"),S.accountId=e),S.accountId},Yn=function(e){W.isUndefined(e)?q("No account id provided"):Gn(e)?(S.accountId=""+e,Hn()&&d.write("accountId",S.accountId,null,!1,!0)):(Qn(),q("Invalid account id: "+e+". Account cleared"))},Xn;function Qn(){delete S.accountId;var e=m.getLocalConfig();delete e.account,m.setLocalConfig(e),J.commit("metadata/clearAccount"),Hn()&&d.clear("accountId")}function ei(){var e={old_visitor_id:V(),old_account_id:Zn(),wasCleared:!0};zn(),delete S.visitorId,delete S.accountId,V(),W.extend(e,{visitor_id:V(),account_id:Zn()}),w.identify.trigger(e)}function ti(e){e=e.data[0];return W.get(e,"wasCleared")}function I(e,t,n,i){var r;null!=e&&("string"==typeof t?r=t:void 0!==t&&(n=t),t=new ni(e,r,n,i),w.error.trigger(t))}!function(e){e[e.High=0]="High",e[e.Low=1]="Low",e[e.Warning=2]="Warning"}(Xn=Xn||{});var ni=function(){function e(e,t,n,i){this.logged=!1,this.priority=Xn.High,this.error="string"==typeof e?new Error(e):e,this.attributes=n,void 0!==i&&(this.priority=i)}return e.prototype.getStack=function(){return this.error.stack},e.prototype.toString=function(){var e=(this.message?"".concat(this.message,":"):"").concat(this.error.message);return this.attributes&&(e+=": ".concat(W.map(this.attributes,function(e,t){return"".concat(t,"=").concat(e)}))),e},e.prototype.hashCode=function(){return this.toString()},e}(),ii=function(e,t){return t=!!t,function(){try{return e.apply(this,arguments)}catch(Ut){t||I(Ut)}}};function ri(n){return function oi(e){var t=n.createElement("a");if(t.href=e,":"===t.protocol)throw new Error("Uncaught TypeError: Failed to construct 'URL': Invalid URL");if(t.href!==e&&t.href!==encodeURI(e))throw new Error("Uncaught TypeError: Failed to construct 'URL': Invalid URL");return t.toString||(t.toString=function(){return t.href}),null==t.origin&&(t.origin=t.protocol+"//"+t.hostname,"80"!==t.port)&&"443"!==t.port&&(t.origin+=":"+t.port),t}}var oi=function(e){var t=iy.URL;return"function"==typeof t&&/native/.test(t)?t:e(ry)}(ri);function ai(e){return e&&W.isFunction(e.composedPath)}function si(e){if(ai(e))try{return e.composedPath()}catch(Ut){return e.path}return null}function ui(e){return e.shadowRoot}function di(e,t){return"undefined"!=typeof(t=t||iy).ShadowRoot&&e instanceof t.ShadowRoot&&e.host}function ci(e,t){return di(e,t)?e.host:e.parentNode}var c=function(){function u(e){return!!e&&-1<e.indexOf(c.PSEUDO_ELEMENT)}function d(e){return W.reduce(e,function(e,t){return t.value===c.PSEUDO_SAFE?e+c.PSEUDO_ELEMENT:e+t.value},"")}return{PSEUDO_ELEMENT:"::shadow",PSEUDO_SAFE:":shadow",PSEUDO_REGEX:/::shadow/g,getComposedPath:si,getShadowRoot:ui,isElementShadowRoot:di,getParent:ci,isShadowSelector:u,wrapSizzle:function(i){i.intercept(function(a,e,t,n,i){var r,o;return u(e)?W.isFunction(ry.documentElement.attachShadow)?(o=a,r=(r=e).replace(c.PSEUDO_REGEX,c.PSEUDO_SAFE),r=W.map(o.tokenize(r),d),W.reduce(r,function(e,t){return e.concat(s(t))},[])):a(e.replace(c.PSEUDO_REGEX,""),t,n,i):a(e,t,n,i);function s(e,t,n,i){var r,o;return u(e)?(o=s((r={baseCss:(o=(o=e).split(c.PSEUDO_ELEMENT)).splice(0,1)[0],shadowCss:o.join(c.PSEUDO_ELEMENT)}).baseCss,t),W.reduce(o,function(e,t){return c.getShadowRoot(t)?e.concat(s(r.shadowCss,c.getShadowRoot(t),n,i)):e},[])):a(e,t,n,i)}}),i.intercept(function(e,t,n){return!c.isElementShadowRoot(t)&&(u(n)?0<i(n,ry,null,[t]).length:e(t,n))},"matchesSelector")}}}(),li={exports:{}},fi=(!function(F){var e,p,w,o,D,h,U,G,I,u,d,S,x,n,E,g,i,r,m,a=iy,C="sizzle"+ +new Date,c=a.document,_=0,B=0,H=L(),z=L(),j=L(),v=L(),W=function(e,t){return e===t&&(d=!0),0},q={}.hasOwnProperty,t=[],K=t.pop,J=t.push,T=t.push,V=t.slice,A=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},$="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s="[\\x20\\t\\r\\n\\f]",l="(?:\\\\[\\da-fA-F]{1,6}"+s+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Z="\\["+s+"*("+l+")(?:"+s+"*([*^$|!~]?=)"+s+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+l+"))|)"+s+"*\\]",Y=":("+l+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Z+")*)|.*)\\)|)",X=new RegExp(s+"+","g"),R=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),Q=new RegExp("^"+s+"*,"+s+"*"),ee=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),te=new RegExp(s+"|>"),ne=new RegExp(Y),ie=new RegExp("^"+l+"$"),f={ID:new RegExp("^#("+l+")"),CLASS:new RegExp("^\\.("+l+")"),TAG:new RegExp("^("+l+"|[*])"),ATTR:new RegExp("^"+Z),PSEUDO:new RegExp("^"+Y),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+$+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},re=/HTML$/i,oe=/^(?:input|select|textarea|button)$/i,ae=/^h\d$/i,se=/^[^{]+\{\s*\[native \w/,ue=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,de=/[+~]/,y=new RegExp("\\\\[\\da-fA-F]{1,6}"+s+"?|\\\\([^\\r\\n\\f])","g"),b=function(e,t){e="0x"+e.slice(1)-65536;return t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))},ce=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,le=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},fe=function(){S()},pe=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{T.apply(t=V.call(c.childNodes),c.childNodes),t[c.childNodes.length].nodeType}catch(Ut){T={apply:t.length?function(e,t){J.apply(e,V.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function k(e,t,n,i){var r,o,a,s,u,d,c=t&&t.ownerDocument,l=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==l&&9!==l&&11!==l)return n;if(!i&&(S(t),t=t||x,E)){if(11!==l&&(s=ue.exec(e)))if(r=s[1]){if(9===l){if(!(d=t.getElementById(r)))return n;if(d.id===r)return n.push(d),n}else if(c&&(d=c.getElementById(r))&&m(t,d)&&d.id===r)return n.push(d),n}else{if(s[2])return T.apply(n,t.getElementsByTagName(e)),n;if((r=s[3])&&p.getElementsByClassName&&t.getElementsByClassName)return T.apply(n,t.getElementsByClassName(r)),n}if(p.qsa&&!v[e+" "]&&(!g||!g.test(e))&&(1!==l||"object"!==t.nodeName.toLowerCase())){if(d=e,c=t,1===l&&(te.test(e)||ee.test(e))){for((c=de.test(e)&&ve(t.parentNode)||t)===t&&p.scope||((a=t.getAttribute("id"))?a=a.replace(ce,le):t.setAttribute("id",a=C)),o=(u=h(e)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+P(u[o]);d=u.join(",")}try{return T.apply(n,c.querySelectorAll(d)),n}catch(f){v(e,!0)}finally{a===C&&t.removeAttribute("id")}}}return G(e.replace(R,"$1"),t,n,i)}function L(){var n=[];function i(e,t){return n.push(e+" ")>w.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function O(e){return e[C]=!0,e}function N(e){var t=x.createElement("fieldset");try{return!!e(t)}catch(Ut){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function he(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function ge(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function me(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&pe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function M(a){return O(function(o){return o=+o,O(function(e,t){for(var n,i=a([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in p=k.support={},D=k.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!re.test(t||e&&e.nodeName||"HTML")},S=k.setDocument=function(e){var e=e?e.ownerDocument||e:c;return e!=x&&9===e.nodeType&&e.documentElement&&(n=(x=e).documentElement,E=!D(x),c!=x&&(e=x.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",fe,!1):e.attachEvent&&e.attachEvent("onunload",fe)),p.scope=N(function(e){return n.appendChild(e).appendChild(x.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.attributes=N(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=N(function(e){return e.appendChild(x.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=!!x.getElementsByClassName,p.getById=N(function(e){return n.appendChild(e).id=C,!x.getElementsByName||!x.getElementsByName(C).length}),p.getById?(w.filter.ID=function(e){var t=e.replace(y,b);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E)return(e=t.getElementById(e))?[e]:[]}):(w.filter.ID=function(e){var t=e.replace(y,b);return function(e){e="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=p.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=p.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},i=[],g=[],(p.qsa=!!x.querySelectorAll)&&(N(function(e){var t;n.appendChild(e).innerHTML=Ee().createHTML("<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>"),e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+s+"*(?:value|"+$+")"),e.querySelectorAll("[id~="+C+"-]").length||g.push("~="),(t=x.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+s+"*name"+s+"*="+s+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),N(function(e){e.innerHTML=Ee().createHTML("<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>");var t=x.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=se.test(r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&N(function(e){p.disconnectedMatch=r.call(e,"*"),r.call(e,"[s!='']:x"),i.push("!=",Y)}),g=g.length&&new RegExp(g.join("|")),i=i.length&&new RegExp(i.join("|")),e=!!n.compareDocumentPosition,m=e||n.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},W=e?function(e,t){var n;return e===t?(d=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==x||e.ownerDocument==c&&m(c,e)?-1:t==x||t.ownerDocument==c&&m(c,t)?1:u?A(u,e)-A(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==x?-1:t==x?1:r?-1:o?1:u?A(u,e)-A(u,t):0;if(r===o)return ge(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?ge(a[i],s[i]):a[i]==c?-1:s[i]==c?1:0}),x},k.matches=function(e,t){return k(e,null,null,t)},k.matchesSelector=function(e,t){if(S(e),p.matchesSelector&&E&&!v[t+" "]&&(!i||!i.test(t))&&(!g||!g.test(t)))try{var n=r.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ut){v(t,!0)}return 0<k(t,x,null,[e]).length},k.contains=function(e,t){return(e.ownerDocument||e)!=x&&S(e),m(e,t)},k.attr=function(e,t){(e.ownerDocument||e)!=x&&S(e);var n=w.attrHandle[t.toLowerCase()],n=n&&q.call(w.attrHandle,t.toLowerCase())?n(e,t,!E):oy;return n!==oy?n:p.attributes||!E?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},k.escape=function(e){return(e+"").replace(ce,le)},k.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,n=[],i=0,r=0;if(d=!p.detectDuplicates,u=!p.sortStable&&e.slice(0),e.sort(W),d){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return u=null,e},o=k.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(w=k.selectors={cacheLength:50,createPseudo:O,match:f,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(y,b),e[3]=(e[3]||e[4]||e[5]||"").replace(y,b),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||k.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&k.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return f.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ne.test(n)&&(t=(t=h(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(y,b).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=k.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(X," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,m){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,a,s,u,d=v!=y?"nextSibling":"previousSibling",c=e.parentNode,l=b&&e.nodeName.toLowerCase(),f=!n&&!b,p=!1;if(c){if(v){for(;d;){for(a=e;a=a[d];)if(b?a.nodeName.toLowerCase()===l:1===a.nodeType)return!1;u=d="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?c.firstChild:c.lastChild],y&&f){for(p=(s=(i=(r=(o=(a=c)[C]||(a[C]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===_&&i[1])&&i[2],a=s&&c.childNodes[s];a=++s&&a&&a[d]||(p=s=0,u.pop());)if(1===a.nodeType&&++p&&a===e){r[h]=[_,s,p];break}}else if(!1===(p=f?s=(i=(r=(o=(a=e)[C]||(a[C]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===_&&i[1]:p))for(;(a=++s&&a&&a[d]||(p=s=0,u.pop()))&&((b?a.nodeName.toLowerCase()!==l:1!==a.nodeType)||!++p||(f&&((r=(o=a[C]||(a[C]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[_,p]),a!==e)););return(p-=m)===g||p%g==0&&0<=p/g}}},PSEUDO:function(e,o){var t,a=w.pseudos[e]||w.setFilters[e.toLowerCase()]||k.error("unsupported pseudo: "+e);return a[C]?a(o):1<a.length?(t=[e,e,"",o],w.setFilters.hasOwnProperty(e.toLowerCase())?O(function(e,t){for(var n,i=a(e,o),r=i.length;r--;)e[n=A(e,i[r])]=!(t[n]=i[r])}):function(e){return a(e,0,t)}):a}},pseudos:{not:O(function(e){var i=[],r=[],s=U(e.replace(R,"$1"));return s[C]?O(function(e,t,n,i){for(var r,o=s(e,null,i,[]),a=e.length;a--;)(r=o[a])&&(e[a]=!(t[a]=r))}):function(e,t,n){return i[0]=e,s(i,null,n,r),i[0]=null,!r.pop()}}),has:O(function(t){return function(e){return 0<k(t,e).length}}),contains:O(function(t){return t=t.replace(y,b),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:O(function(n){return ie.test(n||"")||k.error("unsupported lang: "+n),n=n.replace(y,b).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=a.location&&a.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return ae.test(e.nodeName)},input:function(e){return oe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:M(function(){return[0]}),last:M(function(e,t){return[t-1]}),eq:M(function(e,t,n){return[n<0?n+t:n]}),even:M(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:M(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:M(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:M(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ye(){}function P(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function be(a,e,t){var s=e.dir,u=e.next,d=u||s,c=t&&"parentNode"===d,l=B++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var i,r,o=[_,l];if(n){for(;e=e[s];)if((1===e.nodeType||c)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||c)if(r=(r=e[C]||(e[C]={}))[e.uniqueID]||(r[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[s]||e;else{if((i=r[d])&&i[0]===_&&i[1]===l)return o[2]=i[2];if((r[d]=o)[2]=a(e,t,n))return!0}return!1}}function we(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function Ie(e,t,n,i,r){for(var o,a=[],s=0,u=e.length,d=null!=t;s<u;s++)!(o=e[s])||n&&!n(o,i,r)||(a.push(o),d&&t.push(s));return a}function Se(p,h,g,m,v,e){return m&&!m[C]&&(m=Se(m)),v&&!v[C]&&(v=Se(v,e)),O(function(e,t,n,i){var r,o,a,s=[],u=[],d=t.length,c=e||function(e,t,n){for(var i=0,r=t.length;i<r;i++)k(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),l=!p||!e&&h?c:Ie(c,s,p,n,i),f=g?v||(e?p:d||m)?[]:t:l;if(g&&g(l,f,n,i),m)for(r=Ie(f,u),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(f[u[o]]=!(l[u[o]]=a));if(e){if(v||p){if(v){for(r=[],o=f.length;o--;)(a=f[o])&&r.push(l[o]=a);v(null,f=[],r,i)}for(o=f.length;o--;)(a=f[o])&&-1<(r=v?A(e,a):s[o])&&(e[r]=!(t[r]=a))}}else f=Ie(f===t?f.splice(d,f.length):f),v?v(null,t,f,i):T.apply(t,f)})}ye.prototype=w.filters=w.pseudos,w.setFilters=new ye,h=k.tokenize=function(e,t){var n,i,r,o,a,s,u,d=z[e+" "];if(d)return t?0:d.slice(0);for(a=e,s=[],u=w.preFilter;a;){for(o in n&&!(i=Q.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=ee.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(R," ")}),a=a.slice(n.length)),w.filter)w.filter.hasOwnProperty(o)&&(i=f[o].exec(a))&&(!u[o]||(i=u[o](i)))&&(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?k.error(e):z(e,s).slice(0)},U=k.compile=function(e,t){var n,m,v,y,b,i,r=[],o=[],a=j[e+" "];if(!a){for(n=(t=t||h(e)).length;n--;)((a=function l(e){for(var i,t,n,r=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),d=be(function(e){return-1<A(i,e)},a,!0),c=[function(e,t,n){return e=!o&&(n||t!==I)||((i=t).nodeType?u:d)(e,t,n),i=null,e}];s<r;s++)if(t=w.relative[e[s].type])c=[be(we(c),t)];else{if((t=w.filter[e[s].type].apply(null,e[s].matches))[C]){for(n=++s;n<r&&!w.relative[e[n].type];n++);return Se(1<s&&we(c),1<s&&P(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(R,"$1"),t,s<n&&l(e.slice(s,n)),n<r&&l(e=e.slice(n)),n<r&&P(e))}c.push(t)}return we(c)}(t[n]))[C]?r:o).push(a);(a=j(e,(m=o,y=0<(v=r).length,b=0<m.length,i=function(e,t,n,i,r){var o,a,s,u=0,d="0",c=e&&[],l=[],f=I,p=e||b&&w.find.TAG("*",r),h=_+=null==f?1:Math.random()||.1,g=p.length;for(r&&(I=t==x||t||r);d!==g&&null!=(o=p[d]);d++){if(b&&o){for(a=0,t||o.ownerDocument==x||(S(o),n=!E);s=m[a++];)if(s(o,t||x,n)){i.push(o);break}r&&(_=h)}y&&((o=!s&&o)&&u--,e)&&c.push(o)}if(u+=d,y&&d!==u){for(a=0;s=v[a++];)s(c,l,t,n);if(e){if(0<u)for(;d--;)c[d]||l[d]||(l[d]=K.call(i));l=Ie(l)}T.apply(i,l),r&&!e&&0<l.length&&1<u+v.length&&k.uniqueSort(i)}return r&&(_=h,I=f),c},y?O(i):i))).selector=e}return a},G=k.select=function(e,t,n,i){var r,o,a,s,u,d="function"==typeof e&&e,c=!i&&h(e=d.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(y,b),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=f.needsContext.test(e)?0:o.length;r--&&(a=o[r],!w.relative[s=a.type]);)if((u=w.find[s])&&(i=u(a.matches[0].replace(y,b),de.test(o[0].type)&&ve(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&P(o))break;return T.apply(n,i),n}}return(d||U(e,c))(i,t,!E,n,!t||de.test(e)&&ve(t.parentNode)||t),n},p.sortStable=C.split("").sort(W).join("")===C,p.detectDuplicates=!!d,S(),p.sortDetached=N(function(e){return 1&e.compareDocumentPosition(x.createElement("fieldset"))}),N(function(e){return e.innerHTML=Ee().createHTML("<a href='#'></a>"),"#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&N(function(e){return e.innerHTML=Ee().createHTML("<input/>"),e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),N(function(e){return null==e.getAttribute("disabled")})||he($,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null});var xe=a.Sizzle;k.noConflict=function(){return a.Sizzle===k&&(a.Sizzle=xe),k},F.exports?F.exports=k:a.Sizzle=k}(li),li.exports);function pi(e){var n=W.extend(function(){return n.Sizzle.apply(this,arguments)},e);return n.reset=function(){n.Sizzle=e,n.matchesSelector=e.matchesSelector,n.matches=e.matches},n.intercept=function(e,t){n[t=void 0===t?"Sizzle":t]=W.wrap(n[t],e)},n.reset(),n}var l=pi(fi);function $(e,t){var n,i=this;if(e&&e instanceof $)return e;if(!(i instanceof $))return new $(e,t);if(e)if(e.nodeType)n=[e];else if(r=/^<(\w+)\/?>$/.exec(e))n=[ry.createElement(r[1])];else if(/^<[\w\W]+>$/.test(e)){var r=ry.createElement("div");r.innerHTML=e,n=W.toArray(r.childNodes)}else if(W.isString(e)){t instanceof $&&(t=0<t.length?t[0]:null);try{n=l(e,t)}catch(Ut){n=[]}}else n=[e];else n=[];return W.each(n,function(e,t){i[t]=e}),i.context=t,i.length=n.length,i}function hi(){this.ownerKey="_pendo_"+It(8)}W.extend(hi.prototype,{cache:function(e){var t;return W.isObject(e)?((t=e[this.ownerKey])||(e[this.ownerKey]=t={}),t):{}},set:function(e,t,n){e=this.cache(e);return e[t]=n,e},get:function(e,t){return t===oy?this.cache(e):e[this.ownerKey]&&e[this.ownerKey][t]},remove:function(e,t){var n=this.cache(e);delete n[t],t!==oy&&!W.isEmpty(n)||(e[this.ownerKey]=oy)}});var gi=new hi,mi=1,vi=2,yi=3;function bi(e){return W.isNumber(e.eventPhase)&&e.eventPhase===mi}function wi(e){return W.isNumber(e.eventPhase)&&e.eventPhase===vi}function Z(e,t,n,i){e&&t&&n&&(e===iy&&"error"===t||(i=i||!1,e.addEventListener?e.addEventListener(t,n,i):e.attachEvent("on"+t,n)))}function Ii(e,t,n,i){e&&t&&n&&(i=i||!1,e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent("on"+t,n))}var Si=function(e){var t=c.getComposedPath(e);return t&&0<t.length?t[0]:e.target||e.srcElement},xi={add:function(t,e){var n=gi.get(t),i=(n.handle||(n.handle=function(e){xi.dispatch(t,e)}),e.id=W.uniqueId(),e.capture?"captureEvents":"bubbleEvents"),i=n[i]=n[i]||{},i=i[e.type]=i[e.type]||[];i.length||Z(t,e.type,n.handle,e.capture),i.push(e)},dispatch:function(i,r){var e,t,o;i&&(e=(gi.get(i,"captureEvents")||{})[r.type]||[],t=(gi.get(i,"bubbleEvents")||{})[r.type]||[],(t=e.concat(t)).length)&&!(o=gi.get(r)).ignore&&(o.handled=o.handled||{},W.each(t.slice(),function(e){var t=!!e.capture===bi(r),n=wi(r),t=!t&&!n;if(!(Si(r)!==i&&t||o.handled[e.id])){o.handled[e.id]=!0;try{(!x(e.selector)||0<$(Si(r)).closest(e.selector).length)&&e.handler.call(i,r)}catch(Ut){I(Ut,"",null,Xn.Low)}}}))},remove:function(e,t,n,i){var r=gi.get(e);if(r){if(W.isFunction(n)){var o=i?r.captureEvents:r.bubbleEvents;if(!o)return;var a=o[t];if(!a)return;var s=W.findIndex(a,function(e){return e.handler===n});0<=s&&a.splice(s,1),a.length||(delete o[t],Ii(e,t,r.handle,i))}else n===oy&&(r.captureEvents&&r.captureEvents[t]&&(delete r.captureEvents[t],Ii(e,t,r.handle,!0)),r.bubbleEvents)&&r.bubbleEvents[t]&&(delete r.bubbleEvents[t],Ii(e,t,r.handle));W.isEmpty(r.captureEvents)&&W.isEmpty(r.bubbleEvents)&&(gi.remove(e,"captureEvents"),gi.remove(e,"bubbleEvents"),gi.remove(e,"handle"))}},trigger:function(e){var t=gi.get(e);if(!t.pendoStopped)if(e.bubbles){var n=Si(e);if(n){for(var i,r=n,o=[];r;)o.unshift(r),r=c.isElementShadowRoot(r)?r.host:r.parentNode;if(o.unshift(iy),bi(e)){for(i=0;i<o.length-1&&!t.pendoStopped;++i)xi.dispatch(o[i],e);(e=xi.clone(e)).eventPhase=vi}for(e.eventPhase!==vi||t.pendoStopped||(xi.dispatch(n,e),(e=xi.clone(e)).eventPhase=yi),i=o.length-(null==e.eventPhase?1:2);0<=i&&!t.pendoStopped;--i)xi.dispatch(o[i],e)}}else xi.dispatch(Si(e),e)},clone:function(e){var t=W.pick(e,["type","target","srcElement","altKey","ctrlKey","shiftKey","metaKey","button","which","eventPhase","bubbles",gi.ownerKey]),e=c.getComposedPath(e);return e&&(t.composedPath=W.constant(e)),t},$:{on:function(e,n,i,r){return W.isFunction(n)&&(r=i,i=n,n=null),e=e.split(" "),this.each(function(t){W.each(e,function(e){xi.add(t,{type:e,selector:n,handler:i,capture:r})})})}}},Ei=function(){function r(){return iy.XMLHttpRequest||ActiveXObject}function i(e){var t=K.defer(),n=new(r())("MSXML2.XMLHTTP.3.0");return n.open(e.method||"GET",e.url,!e.sync),W.each(e.headers,function(e,t){n.setRequestHeader(t.toLowerCase(),e)}),n.onreadystatechange=function(){var e;4===n.readyState&&(e=function(e){var t={status:e.status};try{t.data=y.parse(e.responseText)}catch(Ut){t.data=e.responseText}return t}(n),200<=n.status&&n.status<300?t.resolve(e):t.reject(e))},e.withCredentials&&(n.withCredentials=!0),e.data?n.send(e.data):n.send(),function i(e){var t=e.then;var n=e["catch"];e.then=function(){return i(t.apply(this,arguments))};e["catch"]=function(){return i(n.apply(this,arguments))};e.fail=e["catch"];return e}(t.promise)}function o(e,t,n){return i({method:"POST",url:e,data:t,headers:n})}return W.extend(i,{get:function(e,t){return i({method:"GET",url:e,headers:t})},post:o,postJSON:function(e,t,n){return(n=n||{})["content-type"]="application/json",o(e,t=y.stringify(t),n)},urlFor:function(e,t,n){if(W.isArray(t))i=t;else{if(!W.isObject(t))return e||"";i=W.keys(t)}var i=W.map(i,function(e){return W.isArray(t)?Ot(e):Ot(e)+"="+Ot(t[e])}).join("&"),r=(e=e.split("#",2))[0],o=W.contains(r,"?");return n=void 0!==n?n:e[1],[encodeURI(r),i?(o?"&":"?")+i:"",n?"#"+n:""].join("")},supported:function(){return void 0!==r()}})}(),Ci=function(){return iy&&iy.process&&iy.process.versions&&iy.process.versions.electron},_i=function(){return iy.process.resourcesPath||""},Ti=function(){return iy.process.env.PWD||""},Ai=function(){return iy.process.env.HOME||""},Ri=function(){return iy.process.env.npm_package_name||""},ki=function(){return m.get("annotateUrl")||Pi()||m.get("sanitizeUrl")||m.get(Ki)||m.get("xhrWhitelist")},Li=function(){return Pi()?{href:Mi(location.href),origin:location.origin}:J.getters["location/url"]()},Oi=function(){return new oi(iy.location.href)},Ni=function(){var e,t,n,i;return ki()?(e=Oi(),Pi()&&(e.href=Mi(e.href)),Ci()?(t=f.electronResourcesPath(),n=f.electronUserDirectory(),i=f.electronAppName(),("https://"+e.href.replace(t,i)).replace(e.origin+n,i).replace(f.electronUserHomeDirectory(),"").replace("file:///","")):Vi(e.href)):J.getters["location/href"]()},Mi=function(e){return e.match(/(.+?)(?:#|$)/)[1]},Pi=function(){return!0===m.get("ignoreHashRouting")},Fi,Di=500;function Ui(){W.isUndefined(Fi)&&!function e(){ji(),Fi=setTimeout(e,Di)}()}var Gi=function(e){var t;try{t=Ni()}catch(Ut){}return t},Bi=[],Hi=!1,zi=null;function ji(){var e=Gi();zi!=e&&(zi=e,W.map(Bi,function(e){e(Gi())}))}var Wi=function(e){var n;return q("Initializing Pendo URL Watcher"),Hi||(b.supportsHistoryApi()&&(n=iy.history,W.each(["pushState","replaceState"],function(e){n[e]=W.wrap(n[e],function(e){var t=e.apply(n,W.toArray(arguments).slice(1));return Et("setTimeout")(ji,0),t})}),Z(iy,"popstate",ji)),b.supportsHashChange()&&Z(iy,"hashchange",ji),b.supportsHistoryApi()&&b.supportsHashChange()||Ui(),Hi=!0),Bi.push(e),e},qi=function(){Bi=[]},Ki="queryStringWhitelist";function Ji(e){var t=m.get("sanitizeUrl");return W.isFunction(t)?t(e):e}function Vi(e){e=e||Li().href;var t=m.get("annotateUrl");if(t)if(W.isFunction(t))try{var n,i,r,o=t();return o&&(W.isObject(o)||W.isArray(o))?(n=o.exclude,i=o.include,r=o.fragment,delete o.fragment,(n&&W.isArray(n)||i&&(W.isArray(i)||W.isObject(i)))&&(n&&(e=Zi(e,null,n,!0)),o=i||{}),Ei.urlFor(e,o,r)):e}catch(Ut){I(Ut,"customer-provided `annotateUrl` function threw an exception",null,Xn.Low)}else I("customer-provided `annotateUrl` must be of type: function","",null,Xn.Low);return e}function $i(e){var t,n;return!e||(t=e.indexOf("?"))<0?"":(n=e.indexOf("#"))<0?e.substring(t):n<t?"":e.substring(t,n)}function Zi(e,t,n,i){e=e||Gi(),t=t||$i(e).substring(1),o=(r=e.indexOf(t))+t.length;var r=e.substring(0,r),o=e.substring(o);return(r=(t=W.isArray(n)?Xi(t,n,i):t).length||"?"!==r.charAt(r.length-1)?r:r.substr(0,r.length-1))+t+o}var Yi=function(e,t,n){n=n||m.get(Ki);return Ji(Zi(e,t,n=W.isFunction(n)?n():n,!1))},Xi=function(e,t,n){return n&&W.contains(t,"*")?"":(e=Qi(e),e=n?W.omit(e,t):W.pick(e,t),er(e))},Qi=function(e){e=e.split("&");return W.reduce(e,function(e,t){return e[(t=t.split("="))[0]]=t[1],e},{})},er=function(e){return W.reduce(e,function(e,t,n){return t&&(n+="="+t),e&&(e+="&"),e+n},"")},f={watch:Wi,get:Gi,externalizeURL:Yi,startPoller:Ui,getWindowLocation:Li,clear:qi,isElectron:Ci,electronUserDirectory:Ti,electronAppName:Ri,electronUserHomeDirectory:Ai,electronResourcesPath:_i},tr=[],nr=[],ir=12e4,rr=16,or=1900,ar=65536,sr=function(e){return!(!e||""===e)},ur=function(){return f.get()},dr=[],cr=[],lr={};function fr(e){lr=e}function p(){return dr}function pr(){return hr(p())}function hr(e){return W.filter(e,function(e){return!e.isFrameProxy})}function gr(e){W.isArray(e)?(dr=e,w.guideListChanged.trigger({guideIds:W.pluck(e,"id")})):q("bad guide array iput to `setActiveGuides`")}var mr=function(){var n=[];return{addGuide:function(e){n=n.concat(e);var e=p(),t=W.difference(e,n);t.length<e.length&&gr(t)}}}(),vr;function yr(t,n){return W.find(p(),function(e){return W.get(e,t)===n})||null}function E(e){return yr("id",e)}function br(e){return yr("name",e)}function wr(e,t){return e&&e.id?(e=E(e.id)).findStepById(t):null}function Ir(){var e=m.getLocalConfig("dataHost");return e||((e=m.getHostedConfig("dataHost"))?"https://"+e:Ze)}function Sr(){vr=Ir()}function xr(e){e.HOST=vr}function Er(){var e=m.getLocalConfig("contentHost");return e||((e=m.getHostedConfig("contentHost"))?"https://"+e:"https://"+Ye)}function Cr(e){return Er()+"/"+Xe+"/"+e}var _r=3,Tr=1,Ar=9,Rr=11,kr=4;function Lr(e){return e&&e.nodeType===Tr}function Y(e){if(Lr(e))try{return iy.getComputedStyle?getComputedStyle(e):e.currentStyle||void 0}catch(Ut){}}function Or(e,t){var n;return!(!e||!W.isFunction(e.getPropertyValue))&&(n=[e.getPropertyValue("transform")],void 0!==t&&W.isString(t)&&n.push(e.getPropertyValue("-"+t.toLowerCase()+"-transform")),W.any(n,function(e){return e&&"none"!==e}))}function Nr(e){var t=(e=e||iy).document.documentElement;return e.pageYOffset||t.scrollTop}function Mr(e){var t=(e=e||iy).document.documentElement;return e.pageXOffset||t.scrollLeft}function Pr(e){return W.isNumber(e)?e:0}function Fr(e,t){e=e.offsetParent;return t=t||iy,e=e&&e.parentElement===t.document.documentElement&&!Ur(e)?null:e}function Dr(e){return Or(Y(e),De)&&isNaN(u)}function Ur(e){if(e)return(e=Y(e))&&(W.contains(["relative","absolute","fixed"],e.position)||Or(e,De))}function Gr(e,t,n){if(!e)return{width:0,height:0};n=n||iy;var t=Ur(t)?t:Fr(t,n),i=t?Br(t):{top:0,left:0},e=Br(e),i={top:e.top-i.top,left:e.left-i.left,width:e.width,height:e.height};return t?(t!==n.document.scrollingElement&&(i.top+=Pr(t.scrollTop),i.left+=Pr(t.scrollLeft)),i.top-=Pr(t.clientTop),i.left-=Pr(t.clientLeft)):(i.top+=Nr(n),i.left+=Mr(n)),i.bottom=i.top+i.height,i.right=i.left+i.width,i}function Br(e){var t;return e?e.getBoundingClientRect?{top:(t=e.getBoundingClientRect()).top,left:t.left,bottom:t.bottom,right:t.right,width:t.width||Math.abs(t.right-t.left),height:t.height||Math.abs(t.bottom-t.top)}:{top:0,left:0,width:e.offsetWidth,height:e.offsetHeight,right:e.offsetWidth,bottom:e.offsetHeight}:{width:0,height:0}}function Hr(){var e=m.get("pendoCore");return void 0===e||e}var zr=Hr(),jr=function(e,t,n){e=vr+"/data/"+e+"/"+t,t=W.map(n,function(e,t){return t+"="+e});return 0<t.length&&(e+="?"+t.join("&")),e};function Wr(){return W.compact([S.apiKey].concat(S.additionalApiKeys))}var qr=function(e){return e+="v"+et,Jr(jr("log.gif",S.apiKey,{msg:e,version:et}))};function Kr(e){try{var t=vr+"/data/errorlog?apiKey="+S.apiKey,n={error:e,version:"v"+et,visitorId:V()},i=Vr.supported()?fetch(t,{method:"POST",keepalive:!0,body:y.stringify(n),headers:{"Content-Type":"application/json"}}):Ei.postJSON(t,n);return i.then(function(){q("successfully wrote error")},function(e){q("error writing error:"+e)})}catch(Ut){return q("Failed to write error to server using POST endpoint: "+Ut),qr("Failed to write error to server using POST endpoint: "+Ut)}}function Jr(e){var t,n;return Qr()?(t=K.defer(),Z(n=new Image,"load",t.resolve),Z(n,"error",t.reject),n.src=e,t.promise):K.resolve()}function Vr(e,t){t=W.extend({},{method:"GET",keepalive:!0},t=void 0===t?{}:t);return fetch(e,t)}function $r(e,t){return navigator.sendBeacon(e,t)}Vr.supported=function(){return W.isFunction(iy.fetch)&&"undefined"!=typeof Request&&"keepalive"in new Request("")},$r.supported=function(){return W.isFunction(navigator.sendBeacon)};var Zr=!1,Yr=function(){var e=Qr();return Zr=!0,e&&w["transmit:locked"].trigger(),"Pendo Agent locked.  No more events will be written."},Xr=function(){var e=!Qr();return Zr=!1,e&&w["transmit:unlocked"].trigger(),"Pendo Agent unlocked.  Events will be written."},Qr=function(){return!Zr&&zr},eo=function(e,t){try{return new RegExp("(\\s|^)"+t+"(\\s|$)").test(ro(e))}catch(Ut){return!1}},to=function(e,t){try{var n;eo(e,t)||(n=st.call(ro(e))+" "+t,io(e,n))}catch(Ut){}},no=function(e,t){try{var n,i;eo(e,t)&&(n=new RegExp("(\\s|^)"+t+"(\\s|$)"),i=ro(e).replace(n," "),io(e,i))}catch(Ut){}},io=function(e,t){W.isString(e.className)?e.className=t:e.setAttribute("class",t)},ro=function(e){try{var t=e.className;return(W.isString(t)||!x(t)?t:e.getAttribute("class"))||""}catch(Ut){return""}},oo=function(e){e=e.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});return e=e.substr(0,1).toLowerCase()+e.substr(1)},ao={columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},so=function(e,t){t=uo(t);co(e,t)},uo=function(e){if(W.isString(e)){var t,n,i,r=e.split(";");for(e={},n=0;n<r.length;n++)i=(t=r[n]).indexOf(":"),e[t.substring(0,i)]=t.substring(i+1)}return e},co=function(o,e){W.each(e,function(e,t){if(""!==(t=st.call(t))){var n=oo(t),i=(!W.isNumber(e)||isNaN(e)||ao[n]?W.isString(e)||(e=""+e):e+="px",e.indexOf("!important"));if(-1!==i)try{var r=st.call(r.substring(0,i));o.style.setProperty(t,r,"important")}catch(Ut){o.style.cssText+=";"+t+":"+e}else try{o.style[n]=st.call(e)}catch(Ut){q("failed to set style: "+t+" with value "+e)}}})},lo=function(){return Je()?{width:ry.documentElement.offsetWidth||0,height:ry.documentElement.offsetHeight||0}:{width:iy.innerWidth||ry.documentElement.clientWidth,height:iy.innerHeight||ry.documentElement.clientHeight}},fo=function(e){var t=lo(),n=Nr(),i=Mr();return e.top>=n&&e.left>=i&&e.top+e.height<=n+t.height&&e.left+e.width<=i+t.width};function po(t){return W.each(["left","top","width","height"],function(e){t[e]=Math.round(t[e])}),t}function X(e){var t;return Co(e)?((t=Br(e)).fixed=!0,po(t)):po(Gr(e,bo()))}var ho=function(e,t){var n;"string"==typeof e?(n=$(e),W.map(n,function(e){no(e,t)})):no(e,t)},go=function(e,t){var n;"string"==typeof e?(n=$(e),W.map(n,function(e){to(e,t)})):to(e,t)},mo=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},vo=W.compose(function(e){return Array.prototype.slice.call(e)},function(e,t){try{return l(e,t)}catch(Ut){return qr("error using sizzle: "+Ut),t.getElementsByTagName(e)}}),yo=function(e,t){try{return t.children.length+t.offsetHeight+t.offsetWidth-(e.children.length+e.offsetHeight+e.offsetWidth)}catch(Ut){return q("error interrogating body elements: "+Ut),qr("error picking best body:"+Ut),0}},bo=function(e){e=e||ry;try{var t=vo("body",e);return t&&1<t.length?(t.sort(yo),t[0]||e.body):e.body&&e.body.tagName&&"body"!==e.body.tagName.toLowerCase()?e.documentElement:e.body}catch(Ut){return qr("Error getting body element: "+Ut),e.body}};function wo(e,t){if(!e)return[];var n=[];if(e.childNodes)for(var i=0;i<e.childNodes.length;i++){var r=e.childNodes[i];1===r.nodeType&&r!==t&&n.push(r)}return n}function Io(e){return e&&e.parentNode?wo(e.parentNode,e):[]}function So(e){if(l.contains(ry,e))return!0;for(;e&&e.parentNode||c.isElementShadowRoot(e);)e=c.getParent(e);return e===ry}var Q=function(e){var t=bo();if(null!==e)return e===ry||e===iy?((t={left:iy.pageXOffset||t.scrollLeft,top:iy.pageYOffset||t.scrollTop,width:iy.innerWidth,height:iy.innerHeight}).right=t.left+t.width,t.bottom=t.top+t.height,t):((t=X(e)).right=t.left+t.width,t.bottom=t.top+t.height,t)},xo=function(e,t){return!(e.top>=t.bottom||e.bottom<=t.top||e.left>=t.right||e.right<=t.left)};function Eo(e){for(var t=e&&e.parentNode;t;){if(Or(Y(t),De))return 1;t=t.parentNode}}function Co(e){for(var t,n=e;n;){if(!(t=Y(n)))return;if("fixed"===t.position)return!isNaN(u)||!Eo(n);n=n.parentNode}}var _o=function(e,t,n){t=t||/(auto|scroll|hidden)/;var i,r=(n=n||iy).document.documentElement;if(So(e))for(i=e;i;)if(i.assignedSlot&&(i=i.assignedSlot),c.isElementShadowRoot(i))i=i.host;else{if(i===r)return null;if(!(o=Y(i)))return null;var o,a=o.position;if(i!==e&&t.test(o.overflow+o.overflowY+o.overflowX))return i.parentNode!==r||(o=Y(r))&&!W.contains([o.overflow,o.overflowY,o.overflowX],"visible")?i:null;if("absolute"===a||"fixed"===a&&Eo(i))i=Fr(i);else{if("fixed"===a)return null;i=i.parentNode}}return null};function To(e,t){e=Y(e);return t=t||/(auto|scroll|hidden)/,!e||"inline"===e.display?h.NONE:t.test(e.overflowY)&&t.test(e.overflowX)?h.BOTH:t.test(e.overflowY)?h.Y:t.test(e.overflowX)?h.X:t.test(e.overflow)?h.BOTH:h.NONE}var h={X:"x",Y:"y",BOTH:"both",NONE:"none"};function Ao(e){return e&&e.nodeName&&"body"===e.nodeName.toLowerCase()&&So(e)}function Ro(e){var t=ry.createElement("script"),n=ry.head||ry.getElementsByTagName("head")[0]||ry.body;t.type="text/javascript",e.src?t.src=e.src:t.text=e.text||e.textContent||e.innerHTML||"",n.appendChild(t),n.removeChild(t)}function ko(e){var e=Br(e),t=lo();return W.extend(t,{top:0,left:0,bottom:t.height,right:t.width}),xo(t,e)}function Lo(e){var t=W.contains(["A","INPUT","LABEL","SELECT","TEXTAREA","BUTTON","FIELDSET","LEGEND","DATALIST","OUTPUT","OPTION","OPTGROUP"],e.nodeName),n=!!e.tabIndex,i=!e.hidden,e=!e.disabled;return(t||n)&&i&&e}function Oo(e){if(e){if(W.isFunction(e.getRootNode))return e.getRootNode();if(null!=e.ownerDocument)return e.ownerDocument}return ry}function No(e,t,n){var i=Q(t),t=To(t,n);if(t!==h.BOTH||xo(e,i)){if(t===h.Y){if(e.top>=i.bottom)return;if(e.bottom<=i.top)return}if(t===h.X){if(e.left>=i.right)return;if(e.right<=i.left)return}return 1}}function Mo(e){if(e){if(Ao(e))return 1;var t=Q(e);if(0!==t.width&&0!==t.height){var n=Y(e);if(!n||"hidden"!==n.visibility){for(var i=e;i&&n;){if("none"===n.display)return;if(parseFloat(n.opacity)<=0)return;n=Y(i=i.parentNode)}return 1}}}}function Po(e,t){if(!Mo(e))return!1;if(!Ao(e)){for(var n=Q(e),i=_o(e,t=t||/hidden/),r=null;i&&i!==ry&&i!==r;){if(!No(n,i,t))return!1;i=_o(r=i,t)}if(e.getBoundingClientRect){var e=e.getBoundingClientRect(),o=e.right,e=e.bottom;if(n.fixed||(o+=Mr(),e+=Nr()),o<=0||e<=0)return!1}}return!0}function Fo(e){var t,n,i,r,o,a=/(auto|scroll)/,s=/(auto|scroll|hidden)/,u=Q(e),d=_o(e,s);if(!Mo(e))return!1;for(;d;){if(t=Q(d),(o=To(d,a))!==h.NONE&&(i=n=0,o!==h.Y&&o!==h.BOTH||(u.bottom>t.bottom&&(n+=u.bottom-t.bottom,u.top-=n,u.bottom-=n),u.top<t.top&&(n-=r=t.top-u.top,u.top+=r,u.bottom+=r)),o!==h.X&&o!==h.BOTH||(u.right>t.right&&(i+=u.right-t.right,u.left-=i,u.right-=i),u.left<t.left&&(i-=r=t.left-u.left,u.left+=r,u.right+=r))),!No(u,d,s))return!1;d=_o(d,s)}return!0}function Do(e){for(var t,n,i,r,o,a=/(auto|scroll)/,s=bo(),u=_o(e,a);u&&u!==s;)t=Q(e),n=Q(u),r=i=0,t.bottom>n.bottom&&(i+=t.bottom-n.bottom,t.top-=i,t.bottom-=i),t.top<n.top&&(i-=o=n.top-t.top,t.top+=o,t.bottom+=o),t.right>n.right&&(r+=t.right-n.right,t.left-=r,t.right-=r),t.left<n.left&&(r-=o=n.left-t.left,t.left+=o,t.right+=o),W.isFunction(u.scrollBy)?u.scrollBy(r,i):(u.scrollTop+=i,u.scrollLeft+=r),u=_o(u,a)}var Uo={};function Go(t){if(!t)return!1;if(t===iy.location.origin)return!0;if(t===Ir())return!0;if(t===Er())return!0;var e=[/^https:\/\/(app|via|adopt)(\.eu|\.us|\.jpn)?\.pendo\.io$/,/^https:\/\/((adopt\.)?us1\.)?(app|via|adopt)\.pendo\.io$/,/^https:\/\/([0-9]{8}t[0-9]{4}-dot-)pendo-(io|eu|us1|jp-prod)\.appspot\.com$/,/^https:\/\/hotfix-(ops|app)-([0-9]+-dot-)pendo-(io|eu|us1|jp-prod)\.appspot\.com$/,/^https:\/\/pendo-(io|eu|us1|jp-prod)-static\.storage\.googleapis\.com$/,/^https:\/\/(us1\.)?cdn(\.eu|\.jpn)?\.pendo\.io$/],n=(rt()||(e=e.concat([/^https:\/\/([a-zA-Z0-9-]+\.)*pendo-dev\.com$/,/^https:\/\/([a-zA-Z0-9-]+-dot-)?pendo-(dev|test|io|us1|jp-prod|batman|magic|atlas|wildlings|ionchef|mobile-guides|mobile-hummus|mobile-fbi|mobile-plat|eu|eu-dev|apollo|security|perfserf|freeze|armada|voc|mcfly|calypso|dap|scrum-ops|ml|helix)\.appspot\.com$/,/^https:\/\/via\.pendo\.local:\d{4}$/,/^https:\/\/adopt\.pendo\.local:\d{4}$/,/^https:\/\/local\.pendo\.io:\d{4}$/,new RegExp("^https://pendo-"+$e+"-static\\.storage\\.googleapis\\.com$")])),m.get("adoptHost"));if(n&&t==="https://"+n)return!0;return!!W.contains(m.get("allowedOriginServers",[]),t)||W.any(e,function(e){return e.test(t)})}function Bo(e){var t;if(W.isString(e))return t=(t=$i(e).substring(1))&&t.length?Qi(t):{},e=W.last(W.first(e.split("?")).split("/")).split("."),{filename:W.first(e),extension:e.slice(1).join("."),query:t}}function Ho(e){return W.isString?e.replace(/-/g,"+").replace(/_/g,"/"):e}function zo(e,t){var n;m.get("guideValidation")&&b.sri&&(n=Bo(t),t=W.find(["sha512","sha384","sha256"],function(e){return!!n.query[e]}))&&(e.integrity=t+"-"+Ho(n.query[t]),e.setAttribute("crossorigin","anonymous"))}Uo.$={findOrCreate:function(e){return 0<this.length?this:$(e)},find:function(e){var t=$();return t.context=this.context,this.each(function(){$(e,this).each(function(){t[t.length++]=this})}),t},each:function(e){for(var t=0,n=this.length;t<n;++t)e.call(this[t],this[t],t);return this},html:function(e){return e===oy?this.length?this[0].innerHTML:this:this.each(function(){this.innerHTML=e})},text:function(e){var t="innerText"in ry.body;return e===oy?t?this.length?this[0].innerText:this:this.length?this[0].textContent:this:this.each(function(){so(this,{"white-space":"pre-wrap"}),t?this.innerText=e:this.textContent=e})},addClass:function(e){return e=e.split(/\s+/),this.each(function(t){W.each(e,function(e){to(t,e)})})},removeClass:function(e){return e=e.split(/\s+/),this.each(function(t){W.each(e,function(e){no(t,e)})})},hasClass:function(e){e=e.split(/\s+/);var n=!0;return 0!==this.length&&(this.each(function(t){W.each(e,function(e){n=n&&eo(t,e)})}),n)},toggleClass:function(e){return e=e.split(/\s+/),this.each(function(t){W.each(e,function(e){(eo(t,e)?no:to)(t,e)})})},css:function(e){return this.each(function(){so(this,e)}),this},appendTo:function(e){return $(e).append(this),this},append:function(e){var t=this;return $(e).each(function(){t.length&&t[0].appendChild(this),So(this)&&W.each(l("script",this),Ro)}),t},prependTo:function(e){return $(e).prepend(this),this},prepend:function(e){var t,n;return this.length&&(t=this[0],n=t.childNodes[0],$(e).each(function(){n?$(this).insertBefore(n):$(this).appendTo(t)})),this},getParent:function(){var e=$(this)[0];if(e&&e.parentNode)return $(e.parentNode)},insertBefore:function(e){e=$(e)[0];e&&e.parentNode&&(e.parentNode.insertBefore(this[0],e),So(ry))&&W.each(l("script",this),Ro)},remove:function(){return this.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),this},attr:function(e,t){return W.isObject(e)?(this.each(function(){W.each(e,function(e,t){this.setAttribute(t,e)},this)}),this):t!==oy?(this.each(function(){this.setAttribute(e,t)}),this):0<this.length?this[0].getAttribute(e):void 0},closest:function(e,t){for(var n=this[0];n&&!l.matchesSelector(n,e);)if((n=n.parentNode)===ry||t&&l.matchesSelector(n,t))return $();return $(n)},eq:function(e){return $(this[e])},height:function(e){if(this.length)return e===oy?this[0].offsetHeight:(this[0].style.height=e+"px",this)},width:function(e){if(this.length)return e===oy?this[0].offsetWidth:(this[0].style.width=e+"px",this)},focus:function(){return this.each(function(){W.isFunction(this.focus)&&this.focus()})}},W.extend($,{data:gi,event:xi,removeNode:mo,getClass:ro,hasClass:eo,addClass:go,removeClass:ho,getBody:bo,getComputedStyle:Y,getClientRect:Q,intersectRect:xo,getScrollParent:_o,isElementVisible:Po,scrollIntoView:Do,getRootNode:Oo}),W.extend($.prototype,xi.$,Uo.$);var jo=function(e){return!(0!==m.get("allowedOriginServers",[]).length&&!m.get("trainingPartner",!1)&&ot($e,ce()))||Go(e)},Wo=function(e){return new oi(e).origin},qo=function(e,t){try{var n,i="text/css",r="text/javascript";if(W.isString(e)&&(e={url:e}),!jo(Wo(e.url)))throw new Error;e.type=e.type||/\.css/.test(e.url)?i:r;var o=null,a=ry.getElementsByTagName("head")[0]||ry.getElementsByTagName("body")[0];if(e.type===i){var s=ry.createElement("link");s.type=i,s.rel="stylesheet",s.href=e.url,zo(s,e.url),o=s}else{if(xt())return(n=ry.createElement("script")).addEventListener("load",function(){t(),mo(n)}),n.type=r,n.src=Ee().createScriptURL(e.url),zo(n,e.url),ry.body.appendChild(n),{};(n=ry.createElement("script")).type=r,n["async"]=!0,n.src=Ee().createScriptURL(e.url),zo(n,e.url),o=n,t=W.wrap(t,function(e,t){$.removeNode(n),t||e.apply(this,W.toArray(arguments).slice(1))})}return a.appendChild(o),Ko(o,e.url,t),o}catch(Ut){return{}}},Ko=function(e,t,n){var i=!1;x(n)&&(e.onload=function(){!0!==i&&(i=!0,n(null,t))},e.onerror=function(){!0!==i&&(i=!0,n(new Error("Failed to load script"),t))},e.onreadystatechange=function(){i||e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(i=!0,n(null,t))},"link"===e.tagName.toLowerCase())&&(setTimeout(function(){var e;i||((e=new Image).onload=e.onerror=function(){!0!==i&&(i=!0,n(null,t))},e.src=t)},500),setTimeout(function(){i||qr("Failed to load "+t+" within 10 seconds")},1e4))},Jo=function(e){var t=y.parse(e.data),n=e.origin;r(S.app_name+": Message: "+y.stringify(t)+" from "+n),pa(e.source,{status:"success",msg:"ack",originator:"messageLogger"},n)},Vo=function(e){Yo(ia)($o(e))},$o=function(e){if(e.data)try{var t="string"==typeof e.data?y.parse(e.data):e.data,n=e.origin,i=e.source;if(!t.action&&!t.mutation){if(t.type&&"string"==typeof t.type)return{data:t,origin:n,source:i};r("Invalid Message: Missing 'type' in data format")}}catch(Ut){r("Failed to parse message data",e.data)}else r("Invalid Message: Missing or empty 'data' in message")},Zo;function Yo(t){return function(e){if(e&&Go(e.origin))return t.apply(this,arguments)}}function Xo(e){Zo=e}var Qo=function(e){fa(e.moduleURL)},ea=function(e){va(Jo)},ta={disconnect:function(e){},module:Qo,debug:ea},na=function(e,t){ta[e]=t},ia=function(e){var t;e&&(t=e.data)&&x(ta[t.type])&&ta[t.type](t,e)},ra={},oa=function(e){if(ra[e]={},"undefined"!=typeof CKEDITOR)try{CKEDITOR.config.customConfig=""}catch(Ut){}},aa=function(e){return x(ra[e])},sa=function(e){if(ra)for(var t in ra)if(0<=t.indexOf(e))return t;return null},ua=[],da=function(){var e;ua.length<1||(e=ua.shift(),aa(e))||qo(e,function(){oa(e),da()})};function ca(e){var t={"/js/lib/ckeditor/ckeditor.js":1},n=(W.each(["depres.js","tether.js","sortable.js","selection.js","selection.css","html2canvas.js","ckeditor/ckeditor.js"],function(e){t["/modules/pendo.designer/plugins/"+e]=1,t["/engage-app-ui/assets/classic-designer/plugins/"+e]=1}),(e=e.replace(/^https:\/\//,"")).substring(0,e.indexOf("/"))),e=e.substring(e.indexOf("/"));return Go("https://"+n)&&t[e]}function la(e){return e.replace(/^[a-zA-Z-:]*\/\//,"https://")}var fa=function(e){ca(e=la(e))&&(ua.push(e),1<ua.length||da())},pa=function(e,t,n){var i,r=W.uniqueId("pendo-");try{void 0===t&&void 0===n&&(t=e,e=Zo||ga(),n="*"),t.guid=r,e&&W.isFunction(e.postMessage)&&(i=y.stringify(t),e.postMessage(i,n))}catch(Ut){t=Ut&&Ut.message||"";q("Failed to postMessage: "+t)}return r},ha=function(){return iy!=iy.top},ga=function(){var e=new RegExp("^"+vr.replace(/^https?:/,"https?:")),t=m.get("forceParentDesigner");return!rt()&&t||e.test(location.href)?iy.parent:iy.top},ma=function(){var e;ha()&&(e=ga(),pa(e,{type:"load",url:location.toString()},"*"))},va=function(e){var t;return x(iy.addEventListener)&&W.isFunction(iy.addEventListener)&&(t=Yo(e),iy.addEventListener("message",t,!1)),function(){x(iy.removeEventListener)&&W.isFunction(iy.removeEventListener)&&t&&iy.removeEventListener("message",t,!1)}},ya=W.memoize(function(){return m.get("restrictP1Access")}),ba={flush:W.noop,flushBy:W.noop,flushEvents:xa,flushTrackEvents:xa,flushSilos:xa,flushTrackEventSilos:xa,flushBeacons:xa,flushNow:xa,flushLater:Ea,flushEvery:Ca,flushStop:_a,beacons:[],silos:[],trackEventSilos:[],lock:Yr,unlock:Aa},wa=[];function Ia(e){wa.push(e)}function Sa(e,t){var n;return t=parseInt(t,10)||0,e[t]||(n=iy.setTimeout(function(){e(),e[t]()},t),e[t]=function(){iy.clearTimeout(n),delete e[t]})}function xa(e,t){try{W.each(wa,function(e){e.flush&&e.flush(t)})}catch(Ut){I(Ut,"unhandled error while flushing event cache")}}function Ea(e){return Sa(W.partial(xa,!0),e)}function Ca(e){var t;if(e=parseInt(e,10)||0,W.isObject(Ca.intervals)||(Ca.intervals={}),!Ca.intervals[e])return t=iy.setInterval(xa,e),Ca.intervals[e]=function(){clearInterval(t),delete Ca.intervals[e]}}function _a(){var e=W.values(Ca.intervals).concat([xa]);W.map(e,function(e){W.isFunction(e)&&e()})}function Ta(){W.each(wa,function(e){e.clear&&e.clear()}),_a()}function Aa(){if(!Qr())return Ta(),Xr()}var Ra=function(){var t=null;function i(e,t){return t=t?t+": ":"",e.jwt||e.signingKeyName?e.jwt&&!e.signingKeyName?(r(t+"The jwt is supplied but missing signingKeyName."),!1):e.signingKeyName&&!e.jwt?(r(t+"The signingKeyName is supplied but missing jwt."),!1):(e=e.jwt,!(!W.isString(e)||!/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/.test(e))||(r(t+"The jwt is invalid."),!1)):(r(t+"Missing jwt and signingKeyName."),!1)}return{set:function(e){t=y.parse(y.stringify(e||{}))},get:function(){return null!==t?t:{}},getJwtOptions:function(e,t){if(t=t||"",!m.get("enableSignedMetadata"))return!1;var n=i(e,t);if(m.get("requireSignedMetadata")&&!n)return r("Pendo will not "+t+"."),!1;if(n){t=e.jwt;try{return y.parse(atob(t.split(".")[1]))}catch(Ut){return null}}else r("JWT is enabled but not being used, falling back to unsigned metadata.")}}}(),ka="_PENDO_UNNAMED_",La=5;function Oa(e,t,n,i,r){n={type:e,browser_time:v(),visitor_id:V(),account_id:Zn(),url:f.externalizeURL(n),props:t||{},eventProperties:r},n=Ln.addTracerIds(n);return"track"===e&&(n.track_event_name=i||ka),w.eventCaptured.trigger(n),n}var Na=ba.events=tr,Ma=ba.trackEvents=nr,Pa=Es({cache:Na,silos:ba.silos,apiKey:Wr,beacon:"ptm",allowPost:!0}),Fa=Es({cache:Ma,silos:ba.trackEventSilos,apiKey:Wr,beacon:"ptm",allowPost:!0,params:{type:"track"}});function Da(e,t,n,i,r){zr&&(t=Oa(e,t,n,i,r),sr(t.url))&&Ba(t)&&("track"===e?Fa.push(t):Pa.push(Ua(J,t)))}function Ua(e,t){try{if(!e.getters["monitoring/shouldFlush"]())return t;var n=e.getters["monitoring/payload"]();e.dispatch("monitoring/flush"),W.isEmpty(n)||(t.ops=n)}catch(Ut){}return t}Ia(Pa),Ia(Fa);var Ga=["load","meta","identify"];function Ba(e){return!m.get("freeNPSData")||W.contains(Ga,e.type)}function Ha(){var r=W.toArray(arguments);return function(e,t){var n=r.concat([t]);!function i(t,e){t<n.length&&n[t](e,function(e){i(t+1,e)})}(0,e)}}function za(n,e){var i=e;return function(e,t){t(i=n(i,e))}}function ja(e){return za(function(e,t){return e.push(t),e},e)}function Wa(e,t){return m.get("trainingPartner")?qa("account_id")(e,t):t(e)}function qa(s){return function(e,t){if(!e.length)return t(e);for(var n=W.get(e[0],s),i=!0,r=1;r<e.length;r++)if(n!==W.get(e[r],s)){i=!1;break}if(i)return t(e);var o=e.slice(0,r),a=e.slice(r);t(o),t(a)}}function Ka(e){return null==e.bytes&&(e.bytes=y.stringify(e).length),e}function Ja(e,t,n){t=n[t-1]||W.last(n);return Math.ceil(e/t)}function Va(e,t){for(var n,i=0,r=(W.isFunction(t.overhead)?t.overhead:W.constant(0))(),o=0;o<e.length;++o){if(Ja(n=Ka(e[o]).bytes,1,t.compressionRatio)+r<=t.lower){if(0<o)return o;break}if(Ja(i+n,o+1,t.compressionRatio)+r>t.upper)return o;i+=n}if(!(0<o))for(o=i=0;o<e.length;++o){if(Ja(i+(n=Ka(e[o]).bytes),o+1,t.compressionRatio)+r>t.lower)return o;i+=n}return-1}function $a(){var e=Ra.get();return W.isEmpty(e)?0:e.jwt.length+e.signingKeyName.length}function Za(i){return function(e,t){for(var n=Va(e,i);0<=n;)t(e.splice(0,Math.max(n,1))),n=Va(e,i)}}function Ya(e,t){var n;e.length>rr&&(n=e.slice(),e.length=0,t(n))}var Xa=2e3;function Qa(t){return t=W.defaults(t||{},{fields:[],siloMaxLength:ar}),function(n,e){var i;1===n.length&&n.JZB.length>t.siloMaxLength&&(i=n[0],r("Max length exceeded for an event"),W.each(t.fields,function(e){var t=i[e];t&&t.length>Xa&&(r("shortening "+t+" and retrying"),i[e]=t.substring(0,Xa),delete n.JZB)})),e(n)}}function es(e,t){var n;if(0!==e.length)return e.JZB||(e.JZB=S.squeezeAndCompress(e.slice()),e.JZB.length<=ar)||1===e.length?t(e):(n=e.length/2,es(e.slice(0,n),t),void es(e.slice(n),t))}function ts(e,t){Qr()&&t(e)}function ns(n){return function(e,t){1===e.length&&e.JZB.length>or?(r("Couldn't write event"),qr("Single item is: "+e.JZB.length+". Dropping."),Kr(e.JZB)):J.commit("monitoring/incrementCounter",n.beacon+"GifFailures")}}function is(e){return W.isFunction(e.apiKey)?[].concat(e.apiKey()):[].concat(e.apiKey)}function rs(t){return W.map(t.apiKeys,function(e){return jr(t.beacon+".gif",e,W.extend({v:et,ct:v(),jzb:t.JZB},t.params,t.auth))})}function os(t){return W.map(t.apiKeys,function(e){return jr(t.beacon+".gif",e,W.extend({v:et,ct:v(),s:t.JZB.length},t.params))})}function as(i){return function(e,t){e.apiKeys=is(i),e.params=W.extend({},e.params,i.params),e.beacon=i.beacon,e.eventLength=e.JZB.length;var n=Ra.get();W.isEmpty(n)||(e.auth=n,e.eventLength+=n.jwt.length,e.eventLength+=n.signingKeyName.length),t(e)}}function ss(e,t){var n=m.get("trainingPartner"),i=W.first(e),i=W.get(i,"account_id");n&&i&&(e.params=W.extend({},e.params,{acc:yt(i)})),t(e)}function us(e,t){var n=W.first(e),n=W.get(n,"props.source");n&&(e.params=W.extend({},e.params,{source:n})),t(e)}function ds(e){return y.stringify(W.extend({events:e.JZB},e.auth))}function cs(t,n){return t.failed||t.eventLength>or?n(t):void(t.auth?n(t):W.each(rs(t),function(e){Jr(e)["catch"](ms(t,n))}))}function ls(t,n){return t.failed||t.eventLength>or?n(t):void(!t.auth&&Vr.supported()?W.each(rs(t),function(e){Vr(e)["catch"](ms(t,n))}):n(t))}function fs(t,n){return t.failed||t.eventLength>ar?n(t):void(Vr.supported()?W.each(os(t),function(e){fetch(e,{method:"POST",keepalive:!0,body:ds(t),headers:{"Content-Type":"application/json"}})["catch"](ms(t,n))}):n(t))}function ps(t,n){return t.failed||t.eventLength>ar?n(t):void($r.supported()?W.each(os(t),function(e){$r(e,ds(t))||ms(t,n)()}):n(t))}function hs(t,n){return t.failed||t.eventLength>or?n(t):void W.each(rs(t),function(e){Ei({method:"GET",url:e})["catch"](ms(t,n))})}function gs(t,n){return t.failed||t.eventLength>ar?n(t):void W.each(os(t),function(e){Ei({method:"POST",url:e,data:ds(t),headers:{"Content-Type":"application/json"}})["catch"](ms(t,n))})}function ms(e,t){return function(){e.failed=!0,t(e)}}function vs(t,n){return t.failed||t.eventLength>or?n(t):void(b.msie<=11?W.each(rs(t),function(e){Ei({method:"GET",url:e,sync:!0})["catch"](ms(t,n))}):n(t))}function ys(t,n){return t.failed||t.eventLength>ar?n(t):void(b.msie<=11?W.each(os(t),function(e){Ei({method:"POST",url:e,data:ds(t),sync:!0,headers:{"Content-Type":"application/json"}})["catch"](ms(t,n))}):n(t))}function bs(i){return function(e,t){var n;return!e.JZB||e.failed?t(e):(n=[as(i),ss,us],!i.sendWithGet&&m.get("sendEventsWithPostOnly")||(i.preferFetch&&n.push(ls),n.push(cs,hs)),i.allowPost&&(i.preferFetch&&n.push(fs),n.push(ps,gs)),void Ha.apply(null,n)(e,function(e){t(e)}))}}function ws(i){return function(e,t){var n;return!e.JZB||e.failed?t(e):(n=[as(i),ss,us],!i.sendWithGet&&m.get("sendEventsWithPostOnly",!1)||n.push(ls,vs),i.allowPost&&n.push(fs,ps,ys),void Ha.apply(null,n)(e,function(e){t(e)}))}}function Is(e,t){return Ha(ts,Wa,es,Qa(e.shorten),es,t(e),ns(e))}function Ss(i){return function(e,t){var n=m.get("excludeNonGuideAnalytics");"ptm"===i&&n||t(e)}}function xs(e,t){var n=m.get("analytics.excludeEvents");0<=W.indexOf(n,e.type)||t(e)}function Es(e){var i=e.cache,r=e.silos,o=Is(e,bs),a=Is(e,ws),t=Ha(Ss(e.beacon),xs,ja(i),Za({overhead:$a,lower:m.get("sendEventsWithPostOnly")?ar:or,upper:ar,compressionRatio:[.5*La,.75*La,La]}),function(e){r.push(e)});return{push:function(e){t(e,W.noop)},clear:function(){i.length=0,r.length=0},flush:function(e){var t,n;0===i.length&&0===r.length||(r.push(i.slice()),i.length=0,t=r.slice(),r.length=0,n=(e||{}).guaranteed?a:o,W.each(t,function(e){n(e,W.noop)}))}}}var Cs=ii(function(e){var t,n;if((e=e||f.get())&&e!==Cs.lastUrl)return Cs.lastUrl=e,t=-1,ya()||ma(),r("sending load event for url "+e),n={load_time:t="undefined"!=typeof performance&&W.isFunction(performance.getEntriesByType)&&!W.isEmpty(performance.getEntriesByType("navigation"))?(n=performance.getEntriesByType("navigation")[0]).loadEventStart-n.fetchStart:t},ha()&&(n.is_frame=!0),Da("load",n,e),Ea(),w.urlChanged.trigger(),!0}),_s=[],Ts=Rs({cache:_s,apiKey:function(){return S.apiKey},beacon:"xhr",sendWithGet:!0,shorten:{fields:["request_url","browser_url"],siloMaxLength:or}});function As(e,t){var n=vr.replace(/\./g,"\\.").replace(/\//g,"\\/"),n=new RegExp("^"+n+"\\/data\\/"),i=W.get(e,"request_url","");n.test(i)||t(e)}function Rs(e){var n=e.cache,i=Is(e,bs),r=Is(e,ws),t=Ha(As,ja(n),Ya,i);return{push:function(e){t(e,W.noop)},clear:function(){n.length=0},flush:function(e){var t;0!==n.length&&(t=n.slice(),n.length=0,((e||{}).guaranteed?r:i)(t,W.noop))}}}Ia(Ts);var ks=function(){var a;w.appUnloaded.on(function(){Ns({guaranteed:!0})}),a=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(t,n,e,i,r){var o={};this.addEventListener("readystatechange",function(){var e=arguments[0].target||arguments[0].srcElement||arguments[0].currentTarget;Ls(o,this.readyState,n,t,e)},!1),a.apply(this,arguments)}},Ls=function(e,t,n,i,r){var o;1===t?(o=V(),e.visitor_id=o,o=Zn(),e.account_id=o,e.browser_url=Os(Ni()),e.browser_time=(new Date).getTime(),e.request_method=i,e.type="xhr"):4===t&&(e.request_url=Os(r.responseURL),e.response_status=r.status,e.duration=(new Date).getTime()-e.browser_time,Ts.push(e))},Os=function(e){var t=e?e.indexOf("?"):-1,t=-1===t?"":e.slice(t+1,e.length);return Yi(e,t,m.get("xhrWhitelist"))},Ns=function(e){try{Ts.flush(e)}catch(Ut){I(Ut,"error while flushing xhr cache")}},Ms=function(){var n,i;return{flush:r,run:function(e){m.get("enableDebugEvents")&&!function(e,t){n=[],e.on(function(e){e=y.stringify(e),n.push(e)}),i=setInterval(r,t||5e3)}(w.debug,e)},stop:function(){clearInterval(i)}};function r(){var e;n&&0!==n.length&&(e=n,n=[],Kr("["+e.join(",")+"]"))}}(),Ps="visibilitychange",Fs="unload";function Ds(e,t){t?Z(ry,Ps,function(){"hidden"===ry.visibilityState&&e()}):Z(iy,Fs,e)}function Us(){this.serializers=W.toArray(arguments)}function Gs(e,t){return e.tag=c.isElementShadowRoot(t)?"#shadow-root":t.nodeName||"",e}function Bs(e){return x(e)?""+e:""}function Hs(e,t){return e.id=Bs(t.id),e}function zs(e,t){return e.cls=Bs($.getClass(t)),e}W.extend(Us.prototype,{add:function(e){this.serializers.push(e)},remove:function(e){e=W.indexOf(this.serializers,e);0<=e&&this.serializers.splice(e,1)},serialize:function(n,i){return n?(i=i||n,W.reduce(this.serializers,function(e,t){return t.call(this,e,n,i)},{},this)):{}}});var js=256,Ws=64,qs={a:{events:["click"],attr:["href"]},button:{events:["click"],attr:["value","name"]},img:{events:["click"],attr:["src","alt"]},select:{events:["mouseup"],attr:["name","type","selectedIndex"]},textarea:{events:["mouseup"],attr:["name"]},'input[type="submit"]':{events:["click"],attr:["name","type","value"]},'input[type="button"]':{events:["click"],attr:["name","type","value"]},'input[type="radio"]':{events:["click"],attr:["name","type"]},'input[type="checkbox"]':{events:["click"],attr:["name","type"]},'input[type="password"]':{events:["click"],attr:["name","type"]},'input[type="text"]':{events:["click"],attr:["name","type"]}},Ks=function(e){return e&&0===e.indexOf("data:")?(r("Embedded data provided in URI."),e.substring(0,e.indexOf(","))):e+""};function Js(e,t){return e.getAttribute?e.getAttribute(t):e[t]}var Vs=function(e,t,n){var i;return e&&e.nodeName?"img"==(i=e.nodeName.toLowerCase())&&"src"==t||"a"==i&&"href"==t?(i=e.getAttribute(t),Ji(Ks(i))):(i=Js(e,t),(!n||typeof i===n)&&i?W.isString(i)?st.call(i).substring(0,js):i:null):null};function $s(t){var e,n,i;return W.isRegExp(t)&&W.isFunction(t.test)?function(e){return t.test(e)}:W.isArray(t)?(e=W.map(W.filter(t,W.isObject),function(e){var t;return e.regexp?(t=(t=/\/([a-z]*)$/.exec(e.value))&&t[1]||"",new RegExp(e.value.replace(/^\//,"").replace(/\/[a-z]*$/,""),t)):new RegExp("^"+e.value+"$","i")}),function(t){return W.any(e,function(e){return e.test(t)})}):W.isObject(t)&&t.regexp?(n=(n=/\/([a-z]*)$/.exec(t.value))&&n[1]||"",i=new RegExp(t.value.replace(/^\//,"").replace(/\/[a-z]*$/,""),n),function(e){return i.test(e)}):W.constant(!1)}function Zs(e,t,n,i){var r=W.indexBy(t),t=W.filter(W.filter(e,function(e){return n(e.nodeName)||r[e.nodeName]}),function(e){return!i(e.nodeName)});return t.length<=Ws?W.pluck(t,"nodeName"):(t=W.groupBy(e,function(e){return r[e.nodeName]?"defaults":W.isString(e.value)&&e.value.length>js?"large":"small"}),W.pluck([].concat(W.sortBy(t.defaults,"nodeName")).concat(W.sortBy(t.small,"nodeName")).concat(W.sortBy(t.large,"nodeName")).slice(0,Ws),"nodeName"))}function Ys(t,n){var e=$s(m.get("htmlAttributes")),i=$s(m.get("htmlAttributeBlacklist")),r=(i("title")||(t.title=Vs(n,"title","string")),(t.tag||"").toLowerCase()),r=("input"===r&&(r+='[type="'+n.type+'"]'),t.attrs={},Zs(n.attributes,qs[r]&&qs[r].attr,e,i));return W.each(r,function(e){t.attrs[e.toLowerCase()]=Vs(n,e)}),t}function Xs(e,t){var n;return t.parentNode&&t.parentNode.childNodes&&(n=W.chain(t.parentNode.childNodes),e.myIndex=n.indexOf(t).value(),e.childIndex=n.filter(function(e){return e.nodeType==Tr}).indexOf(t).value()),e}function Qs(i,e){var r;return m.get("siblingSelectors")&&e.previousElementSibling&&(r="_pendo_sibling_",this.remove(Qs),e=this.serialize(e.previousElementSibling),this.add(Qs),i.attrs=i.attrs||{},W.each(e,function(e,t){var n={cls:"class",txt:"pendo_text"}[t]||t;W.isEmpty(e)||(W.isObject(e)?W.each(e,function(e,t){e&&!W.isEmpty(e)&&(i.attrs[r+n+"_"+t]=e)}):i.attrs[r+n]=e)})),i}function eu(){return new Us(Gs,Hs,zs,Ys,Xs,Qs)}var tu=eu(),nu=function(e){return"BODY"===e.nodeName||null===e.parentNode&&!c.isElementShadowRoot(e)},iu="pendo-ignore",ru=function(e){var t={},n=t,i=e,r=!1;if(!e)return t;do{var o=i,a=tu.serialize(o,e)}while(!r&&St(a.cls,iu)&&(r=!0),n.parentElem=a,n=a,(i=c.getParent(o))&&!nu(o));return r&&(t.parentElem.ignore=!0),t.parentElem},ou=["","left","right","middle"],au=function(e,t){return ou[t]},su=function(){return!0},uu=function(e){return e.which||e.button},du=function(e){return e},cu=function(e,t){return e[t]},lu=[["button",uu,su,au],["altKey",cu,du,du],["ctrlKey",cu,du,du],["metaKey",cu,du,du],["shiftKey",cu,du,du]],fu=function(e,t){for(var n=[],i=0;i<lu.length;i++){var r=lu[i],o=r[0],a=r[1],s=r[2],r=r[3],a=a(e,o);s(a)&&n.push(r(o,a))}return t.flags=n,t},pu={click:fu},hu=function(e){return e.nodeType===_r?e.parentNode:e.nodeType===kr?null:e.correspondingUseElement||e},gu=function(e){try{var t,n,i,r,o,a;$.data.get(e,"counted")||($.data.set(e,"counted",!0),t=Si(e),n=e.type,i={},(r=pu[n])&&(i=r(e,i)),$.data.get(e,"stopped")&&(i.stopped=!0),e.from&&W.isString(e.from)&&(i.from=e.from),(t=hu(t))?(o=ru(t),W.extend(o,i),Cs()&&f.startPoller(),o.ignore||("click"===n?(a=mu(t),Da(n,{target:o},oy,oy,a)):Da(n,{target:o}),w.trigger("appUsage",o,e))):q("Invalid HTML target","event","dom","processing"))}catch(Ut){I(Ut,"pendo.io while handling event")}};function mu(e){e=vu(e),w.onClickCaptured.trigger(e),e=e.getEventProperties();if(!W.isEmpty(e))return e}function vu(e){var n={};return{getEventProperties:function(){return n},addEventProperty:function(e,t){W.isString(e)&&!W.isUndefined(t)?n[e]=t:I("Failed to add click event property","",null,Xn.Low)},target:e}}var yu=function(e){W.each(e,function(e){g(ry,e,gu,!0)})},bu=5e3,wu=W.debounce(gu,bu,!0),Iu=function(e){W.contains(e=e||["click","focus","submit","change"],"change")&&(e=W.without(e,"change"),Z(ry,"change",wu,!0));var t=m.get("interceptElementRemoval")||m.get("syntheticClicks.elementRemoval"),n=m.get("syntheticClicks.targetChanged");Su($.event.trigger,b.addEventListener,t,n),yu(e),m.get("xhrTimings")&&ks(),Ds(function(){xa(!0,{guaranteed:!0}),w.appUnloaded.trigger(),Ms.flush()},m.get("preventUnloadListener")),Cu(iy.Event,e),_u(iy.Event,["touchend"])};function Su(t,e,n,i){var r,o,a=[],s=b.hasEvent("pointerdown"),u=s?"pointerdown":"mousedown",s=s?"pointerup":"mouseup",d={cloneEvent:function(e){e=$.event.clone(e);return e.type="click",e.from=u,e.bubbles=!0,e},down:function(e){o=!1,e&&(r=d.cloneEvent(e),n)&&d.intercept(e)},up:function(e){o=!1,e&&r&&i&&Si(r)!==Si(e)&&(o=!0,t(r))},click:function(e){r=null,o&&$.data.set(e,"ignore",!0),o=!1,n&&d.unwrap()},intercept:function(e){e=xu(Si(e));W.each(e,function(e){e=Eu(e,d.remove);a.push(e)})},remove:function(){r&&(t(r),r=null),d.unwrap()},unwrap:function(){0<a.length&&(W.each(a,function(e){e()}),a=[])}};e&&(Z(ry,u,d.down,!0),Z(ry,s,d.up,!0),Z(ry,"click",d.click,!0))}function xu(e){for(var t=[];e&&!nu(e);)t.push(e),e=e.parentNode;return t}function Eu(n,i){var e=["remove","removeChild"];try{if(!n)return W.noop;W.each(e,function(e){var t=n[e];if(!t)return W.noop;n[e]=W.wrap(t,function(e){return i&&i(),e.apply(this,W.toArray(arguments).slice(1))}),n[e]._pendoUnwrap=function(){if(!n)return W.noop;n[e]=t,delete n[e]._pendoUnwrap}})}catch(Ut){I(Ut,"ERROR in interceptRemove")}return function(){W.each(e,function(e){if(!n[e])return W.noop;e=n[e]._pendoUnwrap;W.isFunction(e)&&e()})}}function Cu(n,e){var t=["stopPropagation","stopImmediatePropagation"];try{if(!n||!n.prototype)return W.noop;var i=W.indexBy(e);W.each(t,function(e){var t=n.prototype[e];t&&(n.prototype[e]=W.wrap(t,function(e){var t=e.apply(this,arguments);return i[this.type]&&($.data.set(this,"stopped",!0),$.event.trigger(this)),t}),n.prototype[e]._pendoUnwrap=function(){n.prototype[e]=t,delete n.prototype[e]._pendoUnwrap})})}catch(Ut){I(Ut,"ERROR in interceptStopPropagation")}}function _u(e,t){try{if(!e||!e.prototype)return W.noop;var i=W.indexBy(t),n=e.prototype.preventDefault;if(!n)return W.noop;e.prototype.preventDefault=W.wrap(n,function(e){var t,n=e.apply(this,arguments);return i[this.type]&&((t=$.event.clone(this)).type="click",t.from=this.type,t.bubbles=!0,t.eventPhase=mi,$.event.trigger(t)),n}),e.prototype.preventDefault._pendoUnwrap=function(){e.prototype.preventDefault=n,delete e.prototype.preventDefault._pendoUnwrap}}catch(Ut){I(Ut,"ERROR in interceptPreventDefault")}}function g(e,t,n,i){e&&t&&n&&(e===iy&&"error"===t||(i&&!b.addEventListener&&(i=!1),$.event.add(e,{type:t,handler:n,capture:i})))}function C(e,t,n,i){e&&t&&n&&(i&&!b.addEventListener&&(i=!1),$.event.remove(e,t,n,i))}var Tu=function(e){$.data.set(e,"pendoStopped",!0),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1},Au=function(e,t){"complete"===(t=t||iy).document.readyState?e():Z(t,"load",e)},Ru="_pendo-guide-tt_",ku="_pendo-guide-mobile-tt_",Lu=function(e){return e&&e.launchMethod&&0<=e.launchMethod.indexOf("badge")},Ou=function(e){return e&&e.isMultiStep&&!(e.attributes&&"group"===e.attributes.type)};function Nu(){return"undefined"!=typeof selmo&&selmo.isPreviewing}function Mu(){return!!(Nu()&&lo().width<=320)||b.isMobileUserAgent()}function Pu(){var e=Pu.attachPoint;if(null==e){var t=m.get("guides.attachPoint");if(W.isString(t)){try{e=l(t)[0]}catch(Ut){q('Error finding guide attach point "'+t+'"')}e=e||ry.createElement("div")}else e=!!W.isFunction(t)&&t();Pu.attachPoint=e}return e||bo()}var Fu=function(e){var t=lr[e.guideId];if(t){t=t.element();if(So(t)&&t.id==="_pendo-badge_"+e.id)return t}},Du=function(e){var t;return e?(t=e.getGuide(),t="building-block"===W.get(t,"attributes.type")||!Ou(t),!e.overrideElement&&t&&(e.overrideElement=Fu(e)),e.targetElement=Uu(e),e.overrideElement||e.targetElement):(q("Can't get element for null step"),null)},Uu=function(e){e=e.elementPathRule||null,e=e?l(e):[bo()];return 0===e.length?null:W.first(e)};function Gu(e){var t=W.get(e,"attributes.activation.selector");return t||e.steps[0].elementPathRule}function Bu(e,t,n){var i,r,o,e=X(e),t=X(t),a=(e=e,a=t,i=Math.min(e.top,a.top),r=Math.min(e.left,a.left),o=Math.max(e.top+e.height,a.top+a.height),e=Math.max(e.left+e.width,a.left+a.width),{height:Math.abs(o-i),width:Math.abs(e-r),top:i,left:r});!1!==fo(a)||t.fixed||(o=Hu(a,lo(),n,To(bo(),/hidden/)),iy.scrollTo(o.x,o.y))}function Hu(e,t,n,i){var r={x:e.left+e.width-t.width,y:0};return r.y="top"===n?e.top:e.top+e.height-t.height,r.y=Math.max(r.y,0),r.x=Math.max(r.x,0),W.contains([h.X,h.BOTH],i)&&(r.x=0),W.contains([h.Y,h.BOTH],i)&&(r.y=0),r}function zu(e,t,n,i,r){var o,a=W.toArray(arguments).slice(1),s=e.apply(this,a);return n||Oo(o=Pu())!==ry&&(a[1]=o,s=s.concat(e.apply(this,a))),s}function ju(){return J.getters["frames/isLeader"]()}function Wu(){return J.getters["frames/leaderExists"]()}function qu(e){return J.dispatch("frames/updateFrameVisibility",{visibility:e})}var Ku=function(){var n=On.call({}),i={validateGuide:1,validateLauncher:1,validateGlobalScript:1},e={ready:1,deliverablesLoaded:1,guidesFailed:1,guidesLoaded:1,onClickCaptured:1};return W.each(["ready","onClickCaptured","deliverablesLoaded","guidesFailed","guidesLoaded","validateGuide","validateLauncher","validateGlobalScript"],function(t){e[t]&&w[t].on(function(e){return Ku[t].apply(Ku[t],e.data)}),n[t]=function(e){return W.isFunction(e)?n.on(t,e):n[i[t]?"triggerAsync":"trigger"].apply(n,[t].concat(W.toArray(arguments)))}}),n}();function Ju(e,t,n){return Ei.postJSON(e.replace(/\/guides\.js\//,"/guides.json/"),t).then(function(e){S.guidesPayload(e.data),n()})}var Vu={post:Ju,load:function(e,t){return K.resolve(S.loadResource(e,t))},endpoint:function(){return"guide.js"},usesXhr:function(){return!1}};function $u(e){e=Bo(e);if(e){e=e.filename;if(e)return 54<e.length?e.substring(28,55):e}}var Zu=function(){var t,n,e,i,r,o={failed:{},verified:{}};return n=o,i=Kr,r=function(e){try{var t=[];return!Vu.usesXhr()&&e.domJsonpUrl?t.push(s(e,"domJsonpUrl")):Vu.usesXhr()&&e.domUrl&&t.push(a(e,"domUrl")),e.contentUrlJs?t.push(s(e,"contentUrlJs")):e.contentUrl&&t.push(s(e,"contentUrl")),K.all(t)}catch(Ut){throw w.contentVerificatonFail.trigger(e,Ut),Ut}},e=function(e){return r(e).then(W.noop,function(e){return/verify/.test(e)&&i(e),K.reject(e)})},t=function(t){return n.failed[t.id]?K.reject():n.verified[t.id]?K.resolve():e(t).then(function(){n.verified[t.id]=!0},function(e){return n.failed[t.id]=!0,K.reject(e)})},{verify:function(e){return m.get("guideValidation")?t(e):K.resolve()},reset:function(){o.failed={},o.verified={}}};function a(e,t){var n,i=e[t];return W.isString(i)?(n=(e=e)[{domUrl:"domHash",domJsonpUrl:"domJsonpHash"}[t=t]]||$u(e[t]),Ei.get(i).then(function(e){var t;if("object"==typeof(e=e.data)&&(e=y.stringify(e)),(t=k.create()).update(e),R.uint8ToBase64(t.digest())!==n)return K.reject('Unable to verify content at "'+i+'"')})):K.reject('unable to parse "'+i+'"')}function s(e,t){var n=e[t];return b.sri&&/[?&]sha(256|384|512)=/.test(n)?K.resolve():a(e,t)}}(),Yu=function(){var o="allow",a="deny",s="pending",u={},i=function(){return 0<W.size(Ku._handlers.validateGuide)};function r(i){var r=u[i.id];return r||(r={},u[i.id]=r),r.contentPromise||(r.contentPromise=i.fetchContent()),r.contentPromise.then(function(){var e=y.stringify(i.signature()),t=i.id+"-"+bt(e),n=(r[t]||(r[t]={status:s},r.status=s),r[t].promise);return n||(n=Ku.validateGuide(e,i).then(function(){r[t].status=o,r.status=o},function(e){return r[t].status=a,r.status=a,K.reject(e)}),r[t].promise=n),n})}var d=function(e,n){var i=[];return W.each(e,function(e,t){n&&(t=n+"."+t),W.isObject(e)?W.each(d(e,t),function(e){i.push(e)}):i.push([t,e])}),i};return{state:u,Step:function(e){var n=this;function i(e){return W.filter([["content",$u(e.contentUrl)],["contentCss",$u(e.contentUrlCss)],["contentJs",$u(e.contentUrlJs)],["dom",$u(e.domUrl)],["domJsonp",$u(e.domJsonpUrl)]],function(e){return e[1]})}return this.signature=function(){var e,t;return this.domUrl?this.guide.authoredLanguage===this.language?i(this):i({contentUrl:n.contentUrl,contentUrlCss:n.contentUrlCss,contentUrlJs:n.contentUrlJs,domUrl:n.domUrl,domJsonpUrl:n.domJsonpUrl}):(e=[["content",this.content]],(t=this.attributes&&this.attributes.variables)&&(t=d(t)).length&&(t=W.sortBy(t,function(e){return e[0]}),e.push(["variables",t])),e)},n},Guide:function(){return this.signature=function(){return W.map(this.steps,function(e){return e.signature()})},this},Launcher:function(){var n=this,i=!1,r=function(){return 0<W.size(Ku._handlers.validateLauncher)&&n.data.template};return n.before("update",function(){if(r()&&i)return!1}),n.before("render",function(){var e,t;if(r())return!i&&(t="launcher-"+bt(n.signature()),(t=u[t])!==a)&&(t!==o?(i=!0,t=y.stringify(n.signature()),e="launcher-"+bt(t),Ku.validateLauncher(t).then(function(){u[e]=o},function(){u[e]=a}).then(function(){i=!1,n.render(),n.update(p())},function(){i=!1}),!1):void 0)}),n.signature=function(){var e=[],t=d(this.data);return t.length&&(t=W.chain(t).filter(function(e){return!/^contentUrl/.test(e[0])}).sortBy(function(e){return e[0]}).value(),e.push(["variables",t])),e},n},validate:function(e){if(!i())return K.resolve();try{return W.get(e,"attributes.resourceCenter.isTopLevel",!1)?(t=e,n=te.findResourceCenterModules(t,p()),t=[t].concat(n),K.all(W.map(t,r))):r(e)}catch(Ut){throw w.contentValidationFail.trigger(e,Ut),Ut}var t,n},valid:function(e){return!i()||!!(e=u[e.guideId])&&e.status===o},invalid:function(e){return!!i()&&!!(e=u[e.guideId])&&e.status===a},reset:function(){u={}}}}(),Xu=function(){return(Xu=Object.assign||function Xu(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Qu(e,t){var n=W.toArray(arguments).slice(2);return W.reduce(e,function(e,t){return t.apply(e,n)},t)}function ed(e){return Qu(ed.behaviors,e)}function td(e,t){return Qu(td.behaviors,e,t)}function nd(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",n=e.length,i=0,r=0,o="",a=0;a<n;a++)for(r=r<<8|e[a],i+=8;5<=i;)o+=t[r>>>i-5&31],i-=5;return 0<i&&(o+=t[r<<5-i&31]),o}function id(e){var t,n,i=m.getLocalConfig("contentHost");return i&&e?(t=new RegExp("(https:)?\\/\\/"+we($e)+"-\\d+\\.storage\\.googleapis\\.com","g"),n=new RegExp("(https:)?\\/\\/"+Ie($e)+"\\.storage\\.googleapis\\.com","g"),e.replace(t,i).replace(n,i).replace(new RegExp("(https:)?\\/\\/"+ad(Ye),"g"),i)):e}function rd(e){return m.getLocalConfig("contentHost")?y.parse(id(y.stringify(e))):e}function od(){var e=ad(m.getHostedConfig("contentHost"));if(e)return e+"*"}function ad(e){if(e)return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function sd(e){return!!(W.isObject(e)&&e.hasOwnProperty("type")&&e.hasOwnProperty("children")&&e.hasOwnProperty("props"))}ed.behaviors=[],td.behaviors=[];var ud=function(){var u={},d=W.compose(function(e){var t=od();return t&&!new RegExp(t).test(e)&&r("Failed to verify URL: "+e+" vs "+t),e},id);return{load:function(e){try{var t=u[e.id];if(t&&t.language!==e.language&&delete u[e.id],!u[e.id]){var n,i=[],r={deferred:{},language:e.language},o=!1;if(u[e.id]=r,Vu.usesXhr()&&e.domUrl?(r.deferred.domJson=K.defer(),Ei.get(d(e.domUrl)).then(function(e){r.domJson=rd(e.data),sd(e.data)?r.deferred.domJson.resolve():(I(new Error("Response from the guide was not in proper JSON format")),r.deferred.domJson.reject())}),i.push(r.deferred.domJson.promise),o=!0):e.domJsonpUrl&&(r.deferred.domJson=K.defer(),n=qo(d(e.domJsonpUrl),function(){$.removeNode(n)}),i.push(r.deferred.domJson.promise),o=!0),e.contentUrlJs&&!m.get("preventCodeInjection")){r.deferred.content=K.defer();var a=qo(d(function(e){if(xt()){var t=e.replace(/^https?:\/\/[^/]+\/guide-content\//,"").split("/"),n=t[0],n=$A.get("$Resource.pendoGuide"+nd(ut(n)));if(W.isString(n))return n+"/"+t.join("/")}return e}(e.contentUrlJs)),function(){$.removeNode(a)});i.push(r.deferred.content.promise),e.contentUrlCss&&(r.deferred.css=K.defer(),qo({url:d(e.contentUrlCss),type:"text/css"},function(){r.deferred.css.resolve()}),i.push(r.deferred.css.promise))}else if(e.contentUrl&&!m.get("preventCodeInjection")){r.deferred.content=K.defer();var s=qo(function(e,t){if(!W.isString(e))return e;var n=W.indexOf(e,"?");return n<0?e+t:e.substring(0,n)+t+e.substring(n)}(d(e.contentUrl),".js"),function(){$.removeNode(s)});i.push(r.deferred.content.promise)}else if(!o)return K.reject();r.deferred.promise=K.all(i).then(function(){return W.omit(r,"deferred")})}return u[e.id].deferred.promise}catch(Ut){throw w.resourceFetchFail.trigger(e,Ut),Ut}},reset:function(){u={}},guideContent:function(e,t,n,i,r){var o;W.isString(n)&&(W.isFunction(i)||(i=/<%/.test(o=n)&&/%>/.test(o)?W.template(n):W.constant(n)),o=u[e+t])&&o.deferred.content&&(o.content=n,o.template=i,o.script=r,o.deferred.content.resolve())},receiveDomStructureJson:function(e,t,n){(e=u[e+t])&&e.deferred.domJson&&(e.domJson=rd(n),e.deferred.domJson.resolve())}}}(),dd=function(){function a(n){var i=this,t=1;return(i.contentUrl||i.domJsonpUrl)&&(W.extend(i,{fetchContent:function(e){void 0===e&&(e=!1);return e?a.prefetch(i):a.fetchContent(i)}}),i.after("render",function(e){!function(e){var t=W.indexOf(n.steps,i);W.chain(n.steps).rest(t+1).first(e).each(function(e){e.fetchContent()}).value()}(t)})),i}function s(e){var t=e.getGuide(),t=t&&t.language?t.language:"default";return e.id+"."+t}return a.state={},a.queue=[],a.pending=function(){return W.reduce(a.state,function(e,t){return e+(t.loaded?0:1)},0)},a.reset=function(){ud.reset(),a.state={},a.queue=[]},a.prefetch=function(e){var t;return(a.hasContent(e)?a.state[s(e)]:(t=K.defer(),a.queue.push([t,e]),t)).promise},a.processPrefetch=function(e){return void 0===e&&(e=10),a.queue.length?(e=a.queue.splice(0,Math.max(e-a.pending(),0)),K.all(W.map(e,function(t){return a.fetchContent(t[1]).then(function(e){t[0].resolve(e)})["catch"](function(e){t[0].reject(e)})}))):K.resolve()},a.fetchContent=function(t){var e=s(t);if(!(i=a.state[e])){var n,i={},r=t.getGuide();if(r.control)return K.resolve();r&&r.language&&(n=r.language);var r=t.guideId+t.id,o=W.extend({id:r,language:n},W.pick(t,"contentUrl","contentUrlCss","contentUrlJs","domJsonpUrl","domUrl"));i.promise=Zu.verify(o).then(function(){return i.verified=!0,ud.load(o)}).then(function(e){return i.loaded=!0,e}),a.state[e]=i}return i.promise.then(function(e){W.extend(t,e)})},a.hasContent=function(e){return x(e.content)||x(e.domJson)},a}(),cd=function(){var e=w.runtime,a=[];function s(e,t,n){return W.filter(e,function(e){if(W.isFunction(e.script)){if(W.isFunction(e.test))try{return e.test(t,n)}catch(Ut){return I(Ut,"Error in global script test code block"),!1}return W.isRegExp(e.regex)?e.regex.test(n.name)||e.regex.test(t.name):!0}})}var i=On.call({}),r={beforeUnmount:{type:"trigger",fromUnmount:!1},beforeUpdate:{type:"trigger",fromUnmount:!1},updated:{type:"trigger",fromUnmount:!1},unmounted:{type:"trigger",fromUnmount:!0},advanced:{type:"trigger",fromUnmount:!0},dismissed:{type:"trigger",fromUnmount:!0},snoozed:{type:"trigger",fromUnmount:!0},hidden:{type:"trigger",fromUnmount:!0},beforeAdvance:{type:"triggerCancelable",fromUnmount:!1},beforePrevious:{type:"triggerCancelable",fromUnmount:!1},beforeDismiss:{type:"triggerCancelable",fromUnmount:!1},beforeSnooze:{type:"triggerCancelable",fromUnmount:!1}};function n(e){return r[e]}function t(n){this.step=n,W.each(["read","write","clear"],function(t){this[t]=d[t],this[t+"ByGuide"]=function(){var e=W.first(arguments)+":"+W.get(n,"guide.id");return d[t].apply(this,[e].concat(W.rest(arguments)))}},this);var e=W.bind(function(){this.purge()},this);this.purge=W.partial(i.off,"afterUnmounted",e),i.on("afterUnmounted",e)}return e.on(function(e){var t=e.data[0];if(e.step=t,delete e.data,n(e.type))return-1<["beforeUnmount","unmounted"].indexOf(e.type)&&(t="active"===(t=t).seenState?"hidden":t.seenState,e.reason=t,"unmounted"===e.type)&&i.trigger(t,e),t=r[e.type].type,i[t](e.type,e),"unmounted"===e.type&&i.trigger("afterUnmounted"),"triggerCancelable"!==t&&e.cancel&&delete e.cancel,e}),t.prototype.on=function(e,t){var n;r[e]?(t=ii(t),n="on",r[e].fromUnmount&&(n="one"),i[n](e,t),this.purge=W.compose(this.purge,W.partial(i.off,e,t))):q("GUIDE-RUNTIME: Warning! Unregisterable event type "+e)},{addGlobalScript:function(e){var t;t=e,!W.isFunction(t.script)||t.test&&!W.isFunction(t.test)||t.regex&&!W.isRegExp(t.regex)?I("Error adding invalid GlobalScript via API"):a.push(e)},getContext:function(e){return new t(e)},runCustomScripts:function(i,r){var t,n,o,e;W.each((t=i,n=r,o=[],W.isFunction(t.script)&&o.push(t.script),e=m.get("guides.globalScripts"),W.forEach([e,a],function(e){W.size(e)&&(e=s(e,t,n),W.each(e,function(e){o.push(e.script)}))}),o),function(e){try{var t=cd.getContext(i);e.call(t,i,r)}catch(n){I(n,"Exception thrown running code block for: "+y.stringify({guideId:r.id,stepId:i.id}))}})}}}();function ld(e){return e.props&&e.props.id&&0===e.props.id.indexOf("pendo-g-")?e:e.children?W.find(e.children,function(e){return ld(e)}):void 0}function fd(e,t){if(t(e))return e;if(e.children)for(var n=0;n<e.children.length;n++){var i=fd(e.children[n],t);if(i)return i}return!1}function pd(e,t){if(t.props&&t.props.id===e)return t;if(t.children)for(var n=0;n<t.children.length;n++){var i=pd(e,t.children[n]);if(i)return i}}var hd=function(){return{buildNodesFromTemplate:function(e,t,n,i,r){var o=i||p(),a=r||S.BuildingBlockGuides.buildNodeFromJSON;switch(e){case"pendo_resource_center_module_list_item":return function(l,f,p,h){var e=l.templateChildren;return W.reduce(e,function(e,t,n){var i=te.findResourceCenterHomeView(p),r=W.find(p,function(e){return e.id===t.id});if(S.designer)r=t,i=W.find(p,function(e){return W.get(e,"attributes.resourceCenter.isTopLevel")});else{if(!r)return e;if(!r.hasResourceCenterContent)return W.each(r.children,function(e){e=E(e);e&&e.control&&e.steps[0].onControlGuide("control")}),e}var o,a,s,u,d=y.parse(y.stringify(l)),n=(delete d.templateChildren,d.props.id=d.props.id+"-"+n,d.props["data-pendo-module-guide-id"]=r.id,d.actions||(d.actions=[]),{action:"renderResourceCenterModule",source:d.props.id,destination:"EventRouter",parameters:[{name:"guideId",type:"string",value:r.id}],uiMetadata:{},eventType:"click"}),n=(d.props["data-localization-direction"]&&n.parameters.push({name:"transitionDirection",type:"string",value:d.props["data-localization-direction"]}),S.designer||d.actions.push(n),W.get(i,"attributes.notificationBubble")),c=W.get(i,"attributes.notifications");return n&&c&&("AnnouncementsModule"===W.get(r,"attributes.resourceCenter.moduleId")&&(o=r.id),o="chat"===W.get(r,"attributes.resourceCenter.integrationName")?"chat":o)&&(d.props["data-pendo-notification-id"]=o,c=d,r=n,n=o,o=(i=i).attributes.notifications.individualCounts[o],c=fd(c,function(e){return e&&e.props&&e.props.id&&-1!==e.props.id.indexOf("pendo-row")}))&&(u=W.find(c.children,function(e){return e&&e.props&&e.props.id&&-1!==e.props.id.indexOf("pendo-text")}))&&u.props&&u.props.style&&(s=parseInt(u.props.style.width,10))&&!isNaN(s)&&(a=c.children.indexOf(u),s=s-40+"px","100%"!==u.props.style.width&&(u.props.style.width=s),(s="rtl"===u.props.dir)?u.props.style["padding-left"]="40px":u.props.style["padding-right"]="40px",u.props.style["box-sizing"]="content-box",u={type:"div",children:[{type:"div",content:String(i.attributes.notifications.individualCounts[n]),props:{style:{position:"relative",top:"50%","font-weight":r["font-weight"],"font-family":r["font-family"],color:r.color}}}],props:{"class":"_pendo-home-view-bubble",style:Xu(Xu(Xu({position:"absolute","border-radius":"20px",height:"26px","line-height":"0px",padding:"0px 10px"},!s&&{right:"20px"}),s&&{left:"20px"}),{top:"50%","margin-top":"-14px","box-sizing":"content-box","background-color":r["background-color"],display:o?"block":"none"})}},c.children.splice(a+1,0,u)),d=g(d,t,d.props.id),e.concat(h(d,f,p))},[])}(t,n,o,a);case"pendo_resource_center_guide_list_item":return function(o,a,s,u){var e=o.templateChildren;return W.reduce(e,function(e,t,n){var i,r=h(s,t);return r?(i=y.parse(y.stringify(o)),t.keywords&&(i.props["data-_pendo-text-list-item-1"]=t.keywords),delete i.templateChildren,i.props.id=i.props.id+"-"+n,i.actions||(i.actions=[]),n={action:"showGuide",source:i.props.id,destination:"EventRouter",parameters:[{name:"guideId",type:"string",value:r.id},{name:"reason",type:"string",value:"launcher"}],uiMetadata:{},eventType:"click"},S.designer||i.actions.push(n),i=g(i,t),e.concat(u(i,a,s))):e},[])}(t,n,o,a);case"pendo_resource_center_onboarding_item":return function(a,s,u,d){var e=a.templateChildren;return W.reduce(e,function(e,t,n){var i,r,o=h(u,t);return o?(delete(i=y.parse(y.stringify(a))).templateChildren,i.props.id=i.props.id+"-"+n,i.actions||(i.actions=[]),n={action:"showGuide",source:i.props.id,destination:"EventRouter",parameters:[{name:"guideId",type:"string",value:o.id},{name:"reason",type:"string",value:"launcher"}],uiMetadata:{},eventType:"click"},S.designer||i.actions.push(n),n=o.getTotalSteps(),r=o.getSeenSteps(),o.isComplete()&&(r=n),o=parseInt(r/n*100,10),fd(i,function(e){return e.svgWidgetId}).svgAttributes.fillCircle.percentComplete=o,t.hasOwnProperty("subtitle")?t.stepProgress=c(t.subtitle,{currentStep:r,totalSteps:n}):t.stepProgress="Step "+r+" of "+n,i=g(i,t),e.concat(d(i,s,u))):e},[])}(t,n,o,a);case"pendo_resource_center_onboarding_progress_bar":return function(e,t,n,i){var r=t.getGuide().attributes.resourceCenter.children,o=0,a=0,r=(W.forEach(r,function(e){e=h(n,e);e&&(e.isComplete()?(o+=e.getTotalSteps(),a+=e.getTotalSteps()):(o+=e.getTotalSteps(),a+=e.getSeenSteps()))}),parseInt(a/o*100,10));isNaN(r)&&(r=0);r={totalPercentComplete:r+"%"};return fd(e=g(e=y.parse(y.stringify(e)),r),function(e){return e.props&&e.props.id&&-1!==e.props.id.indexOf("pendo-progress-bar-fill")}).props.style.width=r.totalPercentComplete,[i(e,t,n)]}(t,n,o,a);case"pendo_resource_center_announcement_item":return function(l,e,n,f){e=e.getGuide().attributes.resourceCenter.children,e=W.reduce(e,function(e,t){t=h(n,t);return t&&t.steps&&t.steps.length?e.concat(t):e},[]);if(!W.every(e,function(e){e=e.steps[0];return!!dd.hasContent(e)}))return[];var t=te.getResourceCenter(),p=W.get(t,"attributes.notificationBubble");p&&(delete p.dir,"rtl"===l.props["data-localization-direction"])&&(p.dir="rtl");return W.map(e,function(e,t){var n,i,r,o,a,s,u,d="whatsnew"===W.get(e,"attributes.type"),c=y.parse(y.stringify(l));return c.props.id=c.props.id+"-"+t,c.props["data-pendo-announcement-guide-id"]=e.id,d?(t=c,d=p,s=f,n=ed(r=e),(u=n.steps[0]).render(),cd.runCustomScripts(u,n),i="#"+(n=u.guideElement)[0].id+" h1::after { display:none; }",n[0].appendChild(ry.createElement("style")).innerHTML=i,d&&((o=m(d)).props.style.top="20px"),!te.hasAnnouncementBeenSeen(r)&&o&&(t.props["class"]+=" pendo-unseen-announcement",t.children=[o]),i=s(t,u),n.appendTo(i),i):(d=c,r=p,o=f,u=ed(t=e),s=t.steps[0],cd.runCustomScripts(s,u),u=s.domJson,d.children=[u],r&&(a=m(r),u=fd(d,function(e){return"pendo-guide-container"===e.props.id}),r=parseInt(d.props.style["padding-top"],10),u=parseInt(u.props.style["padding-top"],10),a.props.style.top=u+r+5+"px"),!te.hasAnnouncementBeenSeen(t)&&a&&(d.props["class"]+=" pendo-unseen-announcement",d.children.unshift(a)),delete d.templateName,o(d,s))})}(t,n,o,a);case"pendo_guide_data_text_block":return function(e,t,n,i){var r=t.getGuide?t.getGuide():W.find(n,function(e){return e.id===t.guideId}),o=W.get(r,"attributes.dates."+r.language,!1);o=o?{showsAfter:o}:(o=W.get(r,"showsAfter")||W.get(r,"publishedAt"),o=o?new Date(o):new Date,r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][o.getMonth()]+" "+o.getDate()+", "+o.getFullYear(),{showsAfter:r});return r=g(r=y.parse(y.stringify(e)),o),[i(r,t,n)]}(t,n,o,a);default:return[]}},generateUnreadAnnouncementMiniBubble:m,getGuidesInResourceCenterModule:function(e,i){e=e.attributes.resourceCenter.children;return W.reduce(e,function(e,t,n){t=h(i,t);return t&&e.push(t),e},[])}};function c(e,n){return e.replace(/<%=\s*([A-Za-z_0-9$]+)\s*%>/gi,function(e,t){return W.isNull(n[t])||W.isUndefined(n[t])?e:n[t]})}function g(e,t,n){if(e.content&&(e.content=c(e.content,t)),e.props&&e.props.id&&0<=e.props.id.indexOf("pendo-right-caret")&&(e.props["aria-labelledby"]=n),e.children)for(var i=0;i<e.children.length;i++)g(e.children[i],t,n);return e}function h(e,t){e=W.find(e,function(e){return e.id===(t.id||t)});if(S.designer)return t;if(e){if(!e.ineligibleForRC)return e;e.control&&e.steps[0].onControlGuide("control")}}function m(e){var t={left:"0px"};return"rtl"===e.dir&&(t={right:"0px"}),{type:"div",children:[],props:{"class":"pendo-unread-announcement-mini-bubble",style:Xu(Xu({position:"absolute","border-radius":"5px",height:"10px",width:"10px","line-height":"0px"},t),{top:"30px","box-sizing":"content-box","background-color":e["background-color"],"z-index":"10"})}}}}(),gd=function(){return{buildSvgNode:function(e,t){if("onboardingProgressCircle"===e)return n(t)},createProgressCircleSvg:n};function n(e){var t,n,i,r,o,a,s;return Se(9)?(n=(t=(t=e).svgAttributes).fillCircle.stroke,i=t.backgroundCircle.stroke,t=100<=(t.fillCircle.percentComplete||0),r=$(Ee().createHTML('<div aria-hidden="true" focusable="false" class="pendo-progress-circle-ie"><div class="pendo-progress-circle-fill"></div></div>')),o=r.find(".pendo-progress-circle-fill"),t?o.css({border:"3px solid "+n,height:"10px",width:"10px"}):o.css({border:"3px solid "+i,height:"10px",width:"10px"}),r):100<=((t=e.svgAttributes).fillCircle.percentComplete||0)?(n=(n=t).fillCircle.stroke,(i=$(Ee().createHTML('<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" class="pendo-progress-circle-fill" viewBox="0 0 24 24" fill="none" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>')))[0].setAttributeNS(null,"stroke",n),i):(r=(o=t).fillCircle.stroke,e=o.backgroundCircle.stroke,o=o.fillCircle.percentComplete||0,a='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" version="1.1" viewBox="0 0 40 40" preserveAspectRatio="xMidYMid"><circle class="pendo-progress-circle-background" cx="20" cy="20" r="'+(a=100/(2*Math.PI))+'" stroke-width="6px" stroke-linecap="round" fill="none"></circle><circle class="pendo-progress-circle-fill" cx="20" cy="20" r="'+a+'" stroke-width="6px" stroke-linecap="round" transform="rotate(-90 20 20)" fill="none"></circle></svg>',s=(a=$(Ee().createHTML(a))).find(".pendo-progress-circle-fill")[0],a.find(".pendo-progress-circle-background")[0].setAttributeNS(null,"stroke",e),o<=0?s.setAttributeNS(null,"stroke-width","0px"):(s.setAttributeNS(null,"stroke",r),s.setAttributeNS(null,"stroke-dasharray",o+", 100")),a)}}(),md=function(e,t){return e<t},vd=W.negate(md);function yd(e){return{top:0,left:0,right:e.width,bottom:e.height,width:0,height:0}}function bd(){var e=bo();return Dr(e)?Q(e):((e=lo()).left=0,e.top=0,e.right=e.width,e.bottom=e.height,e)}function wd(e,t,n){var i={},r=t.top-e.top,e=t.left-e.left;return i.top=r-n.top,i.left=e-n.left,i.height=t.height+n.top+n.bottom,i.width=t.width+n.left+n.right,i.bottom=i.top+i.height,i.right=i.left+i.width,{top:{top:0,height:Math.max(i.top,0),left:i.left,width:i.width},left:{top:0,bottom:0,left:0,width:i.left},bottom:{top:i.bottom,width:i.width,bottom:0,left:i.left},right:{top:0,bottom:0,left:i.right,right:0}}}function Id(e){var t;if(e&&e.length)return t=Dr(bo())?Q:Br,(e=W.reduce(e,function(n,e){var i;return Po(e)?(i=t(e))?(W.each([["top",md],["right",vd],["bottom",vd],["left",md]],function(e){var t=e[0],e=e[1];n[t]&&!e(i[t],n[t])||(n[t]=i[t])}),n):void 0:n},{})).height=e.bottom-e.top,e.width=e.right-e.left,e}function Sd(e,t){var n=bd(),e=Id(e)||yd(n);return{viewport:n,box:e,overlays:wd(n,e,t)}}function xd(e){var t=[],n=W.get(e,"attributes.blockOutUI",{});if(n.additionalElements=n.additionalElements||"",n.enabled&&e.element!==bo()){t.push(e.element);for(var i=n.additionalElements.replace(/\s/g,"").split(","),r=0;r<n.additionalElements.length;r++)try{var o=$(i[r]);o&&W.each(o,function(e){t.push(e)})}catch(Ut){q("Additional element for blockOutUI is invalid selector","error")}}return t}var Ed=null,Cd=function(e){var t=!W.isEqual(e,Ed);return Ed=e,t},_d=null,Td=function(e){var t=!W.isEqual(e,_d);return _d=e,t},Ad=null,Rd=function(e){var t=!W.isEqual(e,Ad);return Ad=e,t};function kd(e){try{var t=Sd(xd(e),W.get(e,"attributes.blockOutUI.padding",{left:0,right:0,top:0,bottom:0}));(Td(t.viewport)||Cd(t.box)||Rd(t.overlays))&&W.each(e.backdrop.children,function(n){var e=n.getAttribute("pendo-region"),e=t.overlays[e];W.each(e,function(e,t){n.style[t]=e+"px"})})}catch(Ut){q("Failed to update BlockOut ui","error")}}function Ld(e){try{var t,n,i,r;if(!Nd())return t=Sd(xd(e),W.get(e,"attributes.blockOutUI.padding",{left:0,right:0,top:0,bottom:0})),n={"z-index":1e4,position:"fixed"},i=[],W.each(t.overlays,function(e,t){t=Od(t,W.extend({},e,n));i.push(t)}),r=Md(i,e),e.backdrop=r[0],r}catch(Ut){q("Failed to add BlockOut ui","error")}}function Od(e,t){var n=$("div.pendo-backdrop-region-"+e);return n.length||(n=$(ry.createElement("div")).addClass("pendo-backdrop-region-"+e)),$(n).css(t).attr("pendo-region",e),n}function Nd(){return 0<$("._pendo-guide-backdrop_").length}function Md(e,t){var r=pd("pendo-backdrop",t.domJson),o=(W.each(["left","right","width","height","bottom","top"],function(e){delete r.props.style[e]}),$(ry.createElement("div")).attr("id","pendo-backdrop").addClass("_pendo-guide-backdrop_"));return W.each(r.props,function(n,i){W.each(e,function(e,t){"style"===i?e.css(r.props.style):"class"===i?e.addClass(n):"id"===i?e.attr(i,n+"-"+t):e.attr(i,n),o.append(e)})}),o}var Pd="top",Fd="bottom",Dd="left",Ud="right",Gd="center";function Bd(e,t,n){return n===Ud||n===Dd?n:(n=e.left,(t=(e=t.width)/3)<n&&n<2*t?Gd:n<e/2?Ud:Dd)}function Hd(e,t,n){return n===Pd||n===Fd?n:(n=e.top,(t=(e=t.height)/3)<n&&n<2*t?Gd:n<e/2?Fd:Pd)}var zd=function(){return{createBBTooltip:i,getBBTooltipDimensions:f,determineBBHorizontalBias:Bd,determineTooltipPosition:a,positionBBTooltipWithBias:s,calculateToolTipPositionForTopBottom:r,calculateToolTipPositionForLeftRight:o,buildTooltipCaret:p,styleTopOrBottomCaret:d,styleLeftOrRightCaret:h,buildBorderCaret:g,determineBorderCaretColor:v,placeBBTooltip:function(e,t){var n,i,r,o,a,t=t||function(e){var t,n;if(e.guideElement)return t="pendo-resource-center-container"===e.guideElement.attr("id"),n=ld(e.domJson),(t?e.guideElement:e.guideElement.find("#"+n.props.id))[0]}(e);t&&(i=e.element||Du(e),n=X(i),"none"!==Y(e.elements[0]).display)&&(i=Br(i),a=e.attributes.layoutDir,e=e.guideElement,r=$(t).find("#pendo-guide-container"),o=r[0].style,t=Y(t),t={height:parseInt(t.height,10),width:parseInt(t.width,10)},r={height:parseInt(r[0].getAttribute("data-caret-height"),10)||0,width:parseInt(r[0].getAttribute("data-caret-width"),10)||0,backgroundColor:r[0].style["background-color"],offset:10,borderColor:o.borderColor,borderWidth:parseInt(o.borderWidth,10)},o=this.getBBTooltipDimensions(n,t,r,a,i),r.height&&r.width&&(t=e.find(".pendo-tooltip-caret")[0],a=e.find(".pendo-tooltip-caret-border")[0],t&&u(t,o,r),a)&&m(a,r,o.layoutDir,t),e.css({top:o.top,left:o.left,position:n.fixed?"fixed":"absolute"}))},attachBBAdvanceActions:l,attachScrollHandlers:c,isBuildingBlockGuideRelativeToElement:function(e){return!(!e.domJson||!W.isObject(e.domJson)||!(e=ld(e.domJson))||"Relative to Element"!==e.props["data-vertical-alignment"])},positionStepForTooltip:function(e,t,n){i(t,e.element,e,n),e.hasBeenScrolledTo||(Do(e.element),Bu(e.element,n,e.attributes.layoutDir),e.hasBeenScrolledTo=!0)}};function i(e,t,n,i){var r,o,a,s,u,d;if(n.guideElement)return(r=n.guideElement).addClass(Mu()?ku:Ru),0===(o=X(t)).height&&0===o.width?null:(t=Br(t),(e=fd(e,function(e){return"pendo-guide-container"===e.props.id}))?(d=n.attributes.layoutDir,u={height:i.offsetHeight,width:i.offsetWidth},a={height:parseInt(e.props["data-caret-height"],10)||0,width:parseInt(e.props["data-caret-width"],10)||0,backgroundColor:e.props.style["background-color"],offset:10},l(n),e.props.style.border&&(e=e.props.style.border.split(" "),a.borderColor=e[2],a.borderWidth=parseInt(e[0],10)),e=f(o,u,a,d,t),n&&(n.dim=e),n&&W.isFunction(n.getGuide)&&(s=n.getGuide()),u=W.get(s,"attributes.resourceCenter"),o.fixed?(r.css({position:"fixed"}),i.style.position="absolute"):n&&u||(i.style.position="absolute"),a.height&&a.width&&p(r,e,a),d="300000",i&&i.style&&i.style["z-index"]&&(d=i.style["z-index"]),r.css({"z-index":d}),u||r.css({height:"auto",width:"auto",overflow:"visible"}),n.elementPathRule&&r.css({left:e.left,top:e.top,position:o.fixed?"fixed":"absolute"}),"top"===e.layoutDir&&e.hbias===Dd&&r.find("#pendo-watermark").css({top:"auto",bottom:"100%"}),c(n,y),r[0]):void 0)}function c(e,t){e&&W.isFunction(e.attachEvent)&&(Nu()&&e.element===$.getBody()||e.attachEvent(iy,"scroll",W.throttle(W.bind(t,e,e),10),!0))}function t(t,n){var e=$(n.elementPathRule)[0];n.attachEvent(e,t,function(e){$.data.set(e,"advanced",!0),mp(t,n)})}function l(e){e.attributes&&e.attributes.advanceActions&&e.elementPathRule&&(e.attributes.advanceActions.elementHover?t("mouseover",e):e.attributes.advanceActions.elementClick&&t("click",e))}function f(e,t,n,i,r){var o=lo(),i=i||"auto",t={width:Math.min(t.width,o.width),height:t.height},r=(t.layoutDir=i,t.hbias=Bd(e,o,i),t.vbias=Hd(e,o,i),t.layoutDir=a(t,o,r,i),s(t,e,o));return t.top=r.top,t.left=r.left,"top"===t.layoutDir?t.top-=n.height:"bottom"===t.layoutDir?t.top+=n.height:"right"===t.layoutDir?t.left+=n.height:"left"===t.layoutDir&&(t.left-=n.height),t}function a(e,t,n,i){var r,o,a,s,u,d,c;return i&&"auto"!==i?i:(i=n.top,o=(r=n.left)+n.width,a=n.top-e.height<0,s=n.top+n.height+e.height>t.height,u=n.left-e.width<0,d=n.left+n.width+e.width>t.width,!(s&&a&&u&&d)&&(i<t.height/3&&(c="bottom"),(i>2*t.height/3||e.hbias===Gd)&&(c="top"),"top"===(c=r<e.width&&t.width-o<e.width?"bottom":c)&&n.top-e.height<0&&(c="bottom"),s&&a&&(e.hbias!==Gd&&(c=e.hbias),u&&d||(d||(c="right"),u)||(c="left")),(c=c&&"bottom"!==c||!s||a?c:"top")||e.hbias)||"bottom")}function s(e,t,n){return"top"===e.layoutDir||"bottom"===e.layoutDir?r(e,n,t,e.layoutDir,e.hbias):o(e,n,t,e.vbias)}function r(e,t,n,i,r){var o=e.height,a=e.width,s={top:null,left:null};return"bottom"===i?s.top=n.top+n.height:"top"===i&&(s.top=n.top-o),"right"===r?((i=n.left+n.width/2)+e.width>t.width&&(i-=i+e.width-t.width),s.left=i):s.left="left"===r?n.left-a+n.width/2:n.left+n.width/2-a/2,s}function o(e,t,n,i){var r=e.height,o=e.width,a={top:null,left:null};return"right"===e.layoutDir?a.left=n.left+n.width:"left"===e.layoutDir&&(a.left=Math.max(0,n.left-o)),"bottom"===i?((o=n.top+n.height/2)+e.height>t.height&&(o-=o+e.height-t.height),a.top=o):a.top="top"===i?n.top-r+n.height/2:n.top-r/2+n.height/2,a}function p(e,t,n){var i=ry.createElement("div"),e=(i.setAttribute("class","pendo-tooltip-caret pendo-tooltip-caret--"+t.layoutDir),i.style.position="absolute",i.style.zIndex=11,u(i,t,n),e.find("#pendo-guide-container")[0].parentNode);e.appendChild(i),n.borderWidth&&(i=g(i,n,t.layoutDir),e.appendChild(i))}function u(e,t,n){"top"!==t.layoutDir&&"bottom"!==t.layoutDir||d(e,t,n),"left"!==t.layoutDir&&"right"!==t.layoutDir||h(e,t,n)}function d(e,t,n){var i,r=lo();return e.style["border-left"]=n.width+"px solid transparent",e.style["border-right"]=n.width+"px solid transparent",e.style.right="",t.hbias===Dd?(i=t.width-2*n.width-n.offset-n.borderWidth,e.style.left=i+"px",t.left+=n.offset+n.width+n.borderWidth):t.hbias===Ud?(e.style.left=n.offset+n.borderWidth+"px",t.left-=n.offset+n.width+n.borderWidth,t.left+t.width>r.width&&(t.left=t.left-(t.left+t.width-r.width)),t.left=Math.max(0,t.left)):e.style.left=t.width/2-n.width+"px","bottom"===t.layoutDir&&(e.style["border-bottom"]=n.height+"px solid "+n.backgroundColor,e.style["border-top"]="",i=-1*n.height,n.borderWidth&&(i+=n.borderWidth),e.style.top=i+"px",e.style.bottom=""),"top"===t.layoutDir&&(e.style["border-top"]=n.height+"px solid "+n.backgroundColor,e.style["border-bottom"]="",r=-1*n.height,n.borderWidth&&(r+=n.borderWidth),e.style.bottom=r+"px",e.style.top=""),e}function h(e,t,n){var i,r=lo();return e.style["border-top"]=n.width+"px solid transparent",e.style["border-bottom"]=n.width+"px solid transparent",e.style.bottom="",t.vbias===Pd?(i=t.height-2*n.width-n.offset-n.borderWidth,e.style.top=i+"px",t.top+=n.offset+n.width+n.borderWidth):t.vbias===Fd?(e.style.top=n.offset+n.borderWidth+"px",t.top-=n.offset+n.width+n.borderWidth,t.top+t.height>r.height&&(t.top=t.top-(t.top+t.height-r.height)),t.top=Math.max(0,t.top)):e.style.top=t.height/2-n.width+"px","left"===t.layoutDir&&(e.style["border-left"]=n.height+"px solid "+n.backgroundColor,e.style["border-right"]="",i=-1*n.height,n.borderWidth&&(i+=n.borderWidth),e.style.right=i+"px",e.style.left=""),"right"===t.layoutDir&&(e.style["border-right"]=n.height+"px solid "+n.backgroundColor,e.style["border-left"]="",r=-1*n.height,n.borderWidth&&(r+=n.borderWidth),e.style.left=r+"px",e.style.right=""),e}function g(e,t,n){var i=e.cloneNode();return i.setAttribute("class","pendo-tooltip-caret-border"),i.style.zIndex=10,m(i,t,n,e),i}function m(e,t,n,i){for(var r={top:"",right:"",bottom:"",left:""},o=["Top","Right","Bottom","Left"],a=0;a<o.length;a++){var s="border"+o[a]+"Width",u="border"+o[a]+"Color",d="border"+o[a]+"Style";i.style[s]?(r[s]=parseInt(i.style[s],10)+t.borderWidth+"px",r[u]=v(i.style[u],t.borderColor),r[d]="solid"):(r[s]="",r[u]="",r[d]="")}"top"===n&&(r.left=parseInt(i.style.left,10)-t.borderWidth+"px",r.bottom=parseInt(i.style.bottom,10)-t.borderWidth+"px"),"bottom"===n&&(r.left=parseInt(i.style.left,10)-t.borderWidth+"px",r.top=parseInt(i.style.top,10)-t.borderWidth+"px"),"right"===n&&(r.top=parseInt(i.style.top,10)-t.borderWidth+"px",r.left=parseInt(i.style.left,10)-t.borderWidth+"px"),"left"===n&&(r.top=parseInt(i.style.top,10)-t.borderWidth+"px",r.right=parseInt(i.style.right,10)-t.borderWidth+"px"),W.extend(e.style,r)}function v(e,t){return"transparent"===e?e:t}function y(e){Po(e.element)?(zd.placeBBTooltip(e),$(e.elements[0]).css({display:"block"})):$(e.elements[0]).css({display:"none"})}}();function jd(e,t){for(var n=e.parentNode.children,i=0,r=0;r<n.length;r++)n[r]!==e&&(i+=n[r].offsetHeight);t=t.offsetHeight,t=Math.max(t-i,0);e.style.height=t+"px"}function Wd(e){var t,n,i,r,o,a,s,u,d,e=$("#"+e)[0];e&&(t=$(e),n=$(t.find("#pendo-guide-container")[0]),i=e.style.height,r=parseInt(i,10),o=e.getAttribute("data-pendo-static-height"),t.css({height:"auto"}),o||n.css({"max-height":"none"}),a=parseInt(Y(e).height,10),s=lo().height,u=parseInt(e.style.top,10),u=isNaN(u)?0:u,d=parseInt(e.style.bottom,10),(s=s-u-(d=isNaN(d)?0:d))<a&&(n.css({"max-height":s+"px",overflow:"auto"}),a=s),a!==r?(t.css({height:(u=o&&r?r:a)+"px"}),"Centered"!==(d=e.getAttribute("data-vertical-alignment"))&&"Left Aligned"!==d&&"Right Aligned"!==d||t.css({"margin-top":"-"+(s<a?s:u)/2+"px"})):t.css({height:i}))}function qd(e){e=$("#"+e)[0];if(e){var t=e.getAttribute("data-pendo-mobile-layout");if(!t){var n=$(e),t=$(n.find("#pendo-guide-container")[0]),i=parseInt(e.style.width,10),r=(t.css({"max-width":"none"}),n.css({"margin-right":"0px"}),parseInt(Y(e).width,10)),o=lo().width-parseInt(e.style.left||0,10)-parseInt(e.style.right||0,10);if(o<r&&(t.css({"max-width":o+"px"}),r=o),!isNaN(i))switch(e.getAttribute("data-vertical-alignment")){case"Centered":case"Top Aligned":case"Bottom Aligned":var a=r/2;parseInt(n.css("margin-left"),10)!==a&&n.css({"margin-left":"-"+a+"px"});break;case"Right Aligned":case"Top Right Aligned":case"Bottom Right Aligned":a=i-r;parseInt(n.css("margin-right"),10)!==a&&n.css({"margin-right":"-"+a+"px"})}}}}function Kd(e){var e=$("#"+e)[0];e&&!e.getAttribute("data-pendo-mobile-layout")&&(Jd(e=$(e).find("#pendo-guide-container")[0]),Vd(e),$d(e))}function Jd(e){e=$(['[class*="_pendo-text-"]:not([class*="_pendo-resource-center-"])','.pendo-mock-flexbox-element > [class*="_pendo-button-"]',"._pendo-multi-choice-poll-select"].join(","),e);e&&e.length&&W.each(e,function(e){var t,e=$(e),n=Qd(e[0]),n=n.marginLeft+n.marginRight,i=Xd(e);i&&(t=i.paddingLeft+i.paddingRight,Zd(e,i.width-n-t))})}function Vd(e){e=$("._pendo-open-text-poll-input",e);e&&e.length&&W.each(e,function(e){var t,n=$(e),i=n.attr("data-_pendo-open-text-poll-resize-base-width"),e=(i||(i=e.style.width,n.attr("data-_pendo-open-text-poll-resize-base-width",i)),Qd(n[0])),r=e.marginLeft+e.marginRight,o=Xd(n);o&&(t=o.paddingLeft+o.paddingRight,o=o.width-r-t,-1!==i.indexOf("%")&&Yd(n,e.width,i,o),-1===i.indexOf("%")&&(i=parseInt(i,10))<o&&n.css({width:i}),Zd(n,o))})}function $d(e){e=$(["._pendo-video","._pendo-image"].join(","),e);e&&e.length&&W.each(e,function(e){var t=$(e),n=Qd(t[0]),i=n.width,n=n.marginLeft+n.marginRight,r=t.attr("data-_pendo-media-resize-base-width"),e=(r||(r=e.style.width,t.attr("data-_pendo-media-resize-base-width",r)),-1!==r.indexOf("%"));if(t.hasClass("_pendo-image")){var o=e&&100<parseInt(r,10),a=t.attr("data-pendo-accessible-element");if(o||!a)return void t.css({width:i});t.css({height:"auto"})}o=Xd(t);o&&(a=o.width-(o.paddingLeft+o.paddingRight)-n,e&&Yd(t,i,r,a),Zd(t,a))})}function Zd(e,t){e.css({"max-width":"none"}),t<=Qd(e[0]).width&&e.css({"max-width":t})}function Yd(e,t,n,i){var r=-1!==e[0].style.width.indexOf("%"),i=i*(parseInt(n,10)/100);(r||t<i)&&e.css({width:i<0?0:i})}function Xd(e){e=e.closest("._pendo-row");if(e){e=Y(e[0]);if(e)return{width:parseFloat(e.width),paddingLeft:parseInt(e.paddingLeft,10),paddingRight:parseInt(e.paddingRight,10)}}}function Qd(e){e=Y(e);return{width:parseFloat(e.width),marginLeft:parseInt(e.marginLeft||0,10),marginRight:parseInt(e.marginRight||0,10)}}var ee=function(){return{calculateTotalOffsetWidth:s,center:function(e,t){for(var n=t/2,t=e[0],i=e[e.length-1],r=1;r<e.length-1;r++){var o=s(e,r);e[r].style.left=n+o+"px"}1<e.length&&(i.style.right=n+"px");t.style.left=n+"px"},createFlexContainer:function(e){var t=ry.createElement("div");t.style.display="inline-block",e||(t.style.position="absolute");return t.style["vertical-align"]="top",t.setAttribute("class","pendo-mock-flexbox-element"),t},createFlexRow:function(){var e=ry.createElement("div");return e.setAttribute("class","pendo-mock-flexbox-row"),e.style.display="block",e.style.position="relative",e.style.width="100%",e},findMaxChildHeight:function(e,t){for(var n=[],i=0;i<e.length;i++){var r;t&&-1!==(e[i].children[0].children[0].getAttribute("class")||"").indexOf("pendo-block-wrapper")&&(r=e[i].children[0].offsetHeight+"px",e[i].style.height=r),n.push(e[i].offsetHeight)}return W.reduce(n,function(e,t){return Math.max(e,t)},20)},flexEnd:function(e,t){for(var n=t,t=e[0],i=e[e.length-1],r=1;r<e.length-1;r++){var o=s(e,r);e[r].style.left=n+o+"px"}1<e.length&&(t.style.left=n+"px");i.style.right="0px"},flexStart:function(e){e[0].style.left="0px";for(var t=1;t<e.length;t++){var n=s(e,t);e[t].style.left=n+"px"}},getPendoInlineUIElements:function(e){return W.filter(e,t)},getPendoVisualElements:function(e){return W.filter(e,function(e){return!t(e)})},initializeFlexElements:function(e){var t=e.cloneNode(),n=a(e),i=ee.getPendoInlineUIElements(e.children);if(1===n.length&&0===n[0].id.indexOf("pendo-text"))return e;for(;t.childNodes.length;)t.removeChild(t.childNodes[0]);for(var r=0;r<n.length;r++)u(n[r])?t.appendChild(n[r]):t.appendChild(ee.wrapElementInMockFlexboxContainer(n[r],e,t));for(var o=0;o<i.length;o++)t.appendChild(i[o]);return e.parentNode.replaceChild(t,e),t},isPendoInlineUIElement:t,setElementHorizontalAlignment:function(e,t,n){if(!(e.length<1))switch(n){case"space-between":ee.spaceBetween(e,t);break;case"space-around":ee.spaceAround(e,t);break;case"space-evenly":ee.spaceEvenly(e,t);break;case"center":ee.center(e,t);break;case"flex-start":ee.flexStart(e);break;case"flex-end":ee.flexEnd(e,t)}},setElementVerticalAlignment:function(e,t,n){switch(n){case"top":ee.topAlignment(e);break;case"center":ee.centerAlignment(e,t);break;case"bottom":ee.bottomAlignment(e)}},spaceAround:function(e,t){for(var n=t/(2*e.length),t=e[0],i=e[e.length-1],r=1;r<e.length-1;r++){var o=s(e,r);e[r].style.left=2*n+o+"px"}t.style.left=n+"px",i.style.right=n+"px"},spaceBetween:function(e,t){for(var n=t/Math.max(e.length-1,1),t=e[0],i=e[e.length-1],r=1;r<e.length-1;r++){var o=s(e,r);e[r].style.left=r*n+o+"px"}t.style.left="0px",i.style.right="0px"},spaceEvenly:function(e,t){for(var n=t/(e.length+1),t=e[0],i=e[e.length-1],r=1;r<e.length-1;r++){var o=s(e,r);e[r].style.left=n+o+"px"}t.style.left=n+"px",i.style.right=n+"px"},topAlignment:function(e){for(var t=0;t<e.length;t++)e[t].style.top="0px"},centerAlignment:function(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=i.offsetHeight,o=t/2,o=Math.round(o-r/2);i.style.top=o+"px"}},bottomAlignment:function(e){for(var t=0;t<e.length;t++)e[t].style.bottom="0px"},wrapElementInMockFlexboxContainer:function(e,t,n){var i=e.getAttribute("class")||"",r=-1!==i.indexOf("pendo-block-wrapper"),o=e.style&&"absolute"===e.style.position,a=W.get(e.style,"width",""),s=Y(e).width,u=-1!==i.indexOf("_pendo-open-text-poll-wrapper")||-1!==i.indexOf("_pendo-image-wrapper")||-1!==i.indexOf("pendo-video-wrapper")||-1!==i.indexOf("_pendo-number-scale-poll-wrapper");r&&!u&&(a=(a?s:null)||Y(e.children[0]).width);i&&0<=i.indexOf("_pendo-resource-center-onboarding-module-guide-complete-circle-container")&&(s=parseInt(Y(t).width,10),d=parseInt(Y(e).width,10)+parseInt(e.style.marginRight||0,10)+parseInt(e.style.marginLeft||0,10),t=($(t).find("._pendo-simple-text").getParent()||$(n).find("._pendo-simple-text").getParent())[0],n=s-d,"border-box"!==W.get(t,"style.boxSizing")&&(n=n-parseInt(t.style.paddingLeft||0,10)-parseInt(t.style.paddingRight||0,10)),t.style.width=n.toString()+"px",t.style.maxWidth=n.toString()+"px");{var d;if(!i||i.indexOf("pendo-mock-flexbox-element")<0)return(s=ee.createFlexContainer(o)).appendChild(e),-1<e.id.indexOf("pendo-text")&&"rtl"===e.dir&&(s.style.right="0px"),d=W.get(e,"children")[0],r&&d&&-1!==(d.getAttribute("class")||"").indexOf("image-preview-placeholder")&&(s.children[0].style.width=a),!r||u||e.style.width||(s.children[0].children[0].style.width=a),s}return e},getVisualElementsWrappedInFlexElements:a,initializeFlexRows:function(e,t,n){var i,r=function(e){return W.filter(e,function(e){e=e.getAttribute("class")||"";return e&&-1<e.indexOf("pendo-mock-flexbox-element")})}(e.children);0!==r.length&&(i=ee.getRowWidth(e),r=ee.wrapFlexElementsInFlexRows(r,e,i),ee.formatFlexRows(r,e,t,n,i))},getRowWidth:c,wrapFlexElementsInFlexRows:function(e,t,n){for(var i=n||c(t),r=ee.createFlexRow(),o={row:r,rowWidthUsed:0},a=[o],s=0;s<e.length;s++){var u=e[s],d=parseInt(Y(u).width,10);o.rowWidthUsed+=d,o.rowWidthUsed>i&&0!==W.indexOf(e,u)&&(o.rowWidthUsed-=d,(r=ee.createFlexRow()).appendChild(u),a.push(o={row:r,rowWidthUsed:d})),o.row.appendChild(u)}return a},formatFlexRows:function(e,t,n,i,r){for(var o=r||c(t),a=0;a<e.length;a++){var s=e[a],u=(t.appendChild(s.row),ee.findMaxChildHeight(s.row.children,!1)),d=(s.row.style["min-height"]=u+"px",o-parseInt(s.rowWidthUsed,10));ee.setElementHorizontalAlignment(s.row.children,d,n),ee.setElementVerticalAlignment(s.row.children,u,i)}},isElementHiddenInGuide:u,flexAllThings:function(e){e=$("#"+e)[0];e&&(n(e),ee.flexElement(e))},flexElement:function(e){e=$("[data-pendo-display-flex]",e);W.each(e,function(e){var t=ee.initializeFlexElements(e),n=e.getAttribute("data-pendo-justify-content"),e=e.getAttribute("data-row-vertical-alignment");ee.initializeFlexRows(t,n,e)})},maintainAspectRatios:n};function a(e){return $(["._pendo-button",".pendo-block-wrapper","._pendo-multi-choice-poll-select-border","._pendo-text-subTitle","._pendo-text-paragraph","._pendo-text-title","._pendo-text-custom","._pendo-close-guide","> ._pendo-simple-text","div._pendo-resource-center-module-list-item-text-container","._pendo-resource-center-right-caret",'[id^="pendo-onboarding-guide-progress-circle"]',"button#pendo-a11y-list-item-button-block","._pendo-resource-center-onboarding-module-listed-guide-link","._pendo-home-view-bubble"].join(","),e)}function t(e){e=e.getAttribute("class");return!!(e&&-1<e.indexOf("pendo-inline-ui"))}function s(e,t){for(var n=(e=Array.prototype.slice.call(e)).slice(0,t),i=0,r=0;r<n.length;r++)i+=n[r].offsetWidth;return i}function c(e){e=Y(e);return parseInt(e.width,10)-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10)}function u(e){o(e);var t=Q(e);if(0===t.width||0===t.height)return!0;if(!e.style||"visible"!==e.style.visibility)for(var n=e,i=e.id||"",r=0;0!==i.indexOf("pendo-g-")&&(o(n),i=(n=n.parentNode).id||"",!(10<++r)););return!1}function o(e){e.style&&"none"===e.style.display||e.style&&"0"===e.style.opacity||e.style&&e.style.visibility}function n(e){var n="data-aspect-ratio",e=$("["+n+"]",e);W.each(e,function(e){var t=e.getAttribute(n).split(":"),t=1<t.length?parseInt(t[0],10)/parseInt(t[1],10):parseFloat(t[0]);isNaN(t)||(e.style.height=e.offsetWidth/t+"px")})}}(),ec;function tc(){return!S.designer&&m.get("disableGuidePseudoStyles")}function nc(e,t,n){return e&&e.templateName?hd.buildNodesFromTemplate(e.templateName,e,t,n,oc):"style"===e.type&&tc()?[]:[oc(e,t,n)]}function ic(e,t,n,i){e='illegal building block key "'+e+'" found on guide "'+t+'" step "'+n+'"';throw i&&(e+=' for node type "'+i+'"'),q(e),new Error(e)}function rc(n,i,r,o){var a={allow:!0,allowfullscreen:!0,alt:!0,"alt-text":!0,autofocus:!0,"class":!0,cols:!0,contenteditable:!0,dir:!0,"for":!0,frameborder:!0,href:!0,id:!0,name:!0,placeholder:!0,placement:!0,rows:!0,role:!0,sandbox:!0,scoped:!0,src:!0,start:!0,style:!0,tabindex:!0,target:!0,title:!0,type:!0,value:!0},s={embed:{src:!0}},u=/^data-/,d=/^aria-/,e=W.keys(n);return W.reduce(e,function(e,t){return s[o]&&s[o][t]&&ic(t,r,i,o),a[t]||u.test(t)||d.test(t)||ic(t,r,i),e[t]=n[t],e},{})}function oc(n,i,e){i=i||{id:"unknown",guideId:"unknown"},n.props=rc(n.props,i.id,i.guideId,n.type);var t,r=$(ry.createElement(n.type));if(ry.createElement("div").appendChild(r[0]),"script"===r[0].tagName.toLowerCase())return $(ry.createElement("noscript"));if("pendo-backdrop"===(n.props&&n.props.id))return i.attributes&&i.attributes.blockOutUI&&i.attributes.blockOutUI.enabled&&(t=W.throttle(W.partial(kd,i),10),i.attachEvent(iy,"scroll",t,!0)),Ld(i);if(W.each(n.props,function(e,t){"style"===t?r.css(n.props.style):"data-pendo-code-block"!==t||!0!==e||m.get("preventCodeInjection")?r.attr(t,e):r.addClass("pendo-code-block").html(i.getContent())}),n.content&&r.text(n.content),"style"===n.type&&(S.designer||(n.css=dc(n.css)),r.styleSheet?r.styleSheet.cssText=cc(n.css):r.text(cc(n.css))),n.svgWidgetId&&gd.buildSvgNode(n.svgWidgetId,n).appendTo(r),n.actions&&n.actions.length)for(var o,a=0;a<n.actions.length;a++)uc(r,n.actions[a],i),"renderGuidesListItem"===n.actions[a].action&&((o=E(n.actions[a].parameters[0]))?r.text(o.name):r.attr("style","display: none;"));if(W.find(n.actions,function(e){return"dismissGuide"===e.action})&&!i.hasEscapeListener&&(i.hasEscapeListener=!0,i.attachEvent(iy,"keyup",function(e){27===e.keyCode&&i.eventRouter.eventable.trigger("pendoEvent",{step:i,action:"dismissGuide"})},!0)),n.children)for(var s=0;s<n.children.length;s++){var u=nc(n.children[s],i,e);W.each(u,function(e){e&&e.appendTo(r)})}return r.hasClass("pendo-code-block")?r.find("img").each(function(e){ac(e,i)}):ac(r[0],i),r}function ac(e,t){var n=e.id&&-1!==e.id.indexOf("badge"),i=!!e.getAttribute("src"),r=e.className&&0<=e.className.indexOf("bb-control"),o=e.tagName&&e.tagName.toLowerCase();("img"===o&&i&&!n&&!r||"iframe"===o&&t)&&"lazy"!==e.getAttribute("loading")&&(t.attributes&&!t.attributes.imgCount?t.attributes.imgCount=1:t.attributes&&t.attributes.imgCount&&t.attributes.imgCount++,sc($(e),t))}function sc(e,i){e.on("load",function(){var e,t={},t=(!i.containerId&&i.domJson&&(t=ld(i.domJson)),i.containerId||t.props&&t.props.id||""),n=t&&$("#"+t)[0];i&&i.attributes&&i.attributes.imgCount&&(i.attributes.imgCount--,n)&&i.attributes.imgCount<=0&&(qd(t),Kd(t),ee.flexAllThings(t),e=i.getGuide(),W.get(e,"attributes.isAnnouncement")||"AnnouncementsModule"===W.get(e,"attributes.resourceCenter.moduleId")||(Wd(t),(e=n.children.item("pendo-guide-container"))&&e.style&&"auto"===e.style.overflow&&(Kd(t),ee.flexAllThings(i.containerId))),"tooltip"===i.attributes.calculatedType&&zd.positionStepForTooltip(i,i.domJson,n),n.style.visibility="visible",n.parentNode.style.visibility="visible",$.event.dispatch(n,{type:"imagesLoaded"}))}),e.on("error",function(){var e=$("#"+i.containerId)[0];e?("tooltip"===i.attributes.calculatedType&&zd.positionStepForTooltip(i,i.domJson,e),e.style.visibility="visible",e.parentNode.style.visibility="visible"):q("Failed to find guideContainer for id: "+i.containerId)})}function uc(n,i,r){n.on(i.eventType,function(e){var t;i.designerAction?S.designerv2&&S.designerv2.designerActions&&S.designerv2.designerActions[i.action](n,i.parameters):(t={action:i.action,params:i.parameters,step:r,ignore:!!i.ignore,srcElement:e.srcElement},("showElements"!==i.action&&"hideElements"!==i.action||e.srcElement&&e.srcElement.getAttribute("id")===i.source||e.target&&e.target.getAttribute("id")===i.source)&&r.eventRouter.eventable.trigger("pendoEvent",t))})}function dc(e){for(var t=["button:focus"],n=[],i=0;i<e.length;i++)W.contains(t,e[i].selector)||n.push(e[i]);return n}function cc(e){for(var n="",t=0;t<e.length;t++)n+=e[t].selector+"{",W.each(e[t].styles,function(e,t){n=n+(t+":")+e+"!important;"}),n+="}";return n}var lc=function(){var e=iy.navigator;return((W.isArray(e.languages)?e.languages[0]:e.language||e.browserLanguage||e.systemLanguage||e.userLanguage)||"").split("-").join("_")},fc="meta",pc=function(e){return void 0!==(e="object"==typeof e?bt(e):e)&&e.toString&&(e=e.toString()),""+(W.isNumber(ec)?ec:d.read(fc))!==e},hc=W.compose(y.parse,y.stringify),gc=function(e){return W.isObject(e)||(e={}),W.isObject(e.visitor)||(e.visitor={}),W.isObject(e.account)||(e.account={}),W.isObject(e.parentAccount)||(e.parentAccount={}),e.visitor.id===jn&&(q("Missing visitor id."),delete e.visitor.id),Gn(e.account.id)&&Gn(e.parentAccount.id)&&(Kn(e.account.id)?e.parentAccount.id=e.account.id.split(qn)[0]:e.account.id=""+e.parentAccount.id+qn+e.account.id),Gn(e.account.id)&&(e.account.id=""+e.account.id),Gn(e.visitor.id)?e.visitor.id=""+e.visitor.id:e.visitor.id=V(),e.visitor.language=lc(),{visitor:hc(e.visitor),account:hc(e.account),parentAccount:hc(e.parentAccount),date:mc(),version:S.VERSION}},mc=function(){var e=new Date,t=e.getDate(),n=e.getMonth()+1;return e=(t=t<10?"0"+t:t)+"/"+(n=n<10?"0"+n:n)+"/"+e.getFullYear()},vc=function(e){return e&&0<W.keys(e).length},yc=function(e){var t,n,i,r;return vc(e)?(e.jwt&&e.signingKeyName&&(t=Ra.getJwtOptions(e,"updateOptions"))&&(Ra.set(W.pick(e,"jwt","signingKeyName")),e=t),e=gc(e),J.getters["metadata/selfHosted"]()&&(e.selfHosted=!0),t=W.clone(Ec()),m.setLocalConfig(W.extend({},m.getLocalConfig(),e)),J.commit("metadata/setMetadata",e),n=Ec(),Gn(e.visitor.id)&&(S.identify(e.visitor.id,e.account.id),e.visitor.id=V(),e.account.id=Zn()),i=bt(e),r=pc(i),ec=i,r&&d.write(fc,i),{options:e,hashChanged:r,storeChanged:!W.isEqual(t,n)}):{}},bc=ii(function(e){e=yc(e);w.metadata.trigger(e)}),wc=ii(function(e,t){W.isObject(e)?bc(e):Vn(e,t)}),Ic=function(){var e=$("script");return Sc(e)&&"extension"!==be()},Sc=function(e){var t=new RegExp("/agent/static/"+S.apiKey+"/pendo\\.js$");return!W.any(e,function(e){return t.test(e.src)})},xc=function(){var e=m.get("blockAgentMetadata");return e!==oy&&e};function Ec(){return J.getters["metadata/metadata"]()}function Cc(){return y.parse(y.stringify(Ec()))}function _c(e){var t=e.data[0],n=m.getLocalConfig();ti(e)?(zn([fc]),J.commit("metadata/reset",t)):(n.visitor=W.extend({},n.visitor,{id:t.visitor_id}),n.account=W.extend({},n.account,{id:t.account_id}),m.setLocalConfig(n),J.commit("metadata/setMetadata",n))}w.identify.on(_c);var Tc={Launcher:{addBehavior:W.noop},Metadata:{getMetadata:Ec},Util:{documentScrollTop:Nr,documentScrollLeft:Mr,getOffsetPosition:X},Events:w,JWT:{getJWT:Ra.get}};function Ac(e,t){var n=Tc[e]||{};W.extend(n,t),Tc[e]=n}var Rc={},kc=function(n){var t=[],i=[],r={};function o(t){var e;return!!W.every(["name","version","use","type","uri"],W.partial(W.has,t))&&(e=t.use,e=r[e]?r[e].validators:[],W.every(W.map(e,function(e){return e(t)})))}function a(e){var t;return"behavior"===e.use?!!e.uri(n,Tc)&&(i.push(e),!0):(t=e.use,!!(t=r[t]?r[t].handler||W.identity:null)&&((e=t(e))&&i.push(e),!!e))}return n.tagExtension=function(e,t){e=n.findExtensionByName(e);e.tags=[].concat(e.tags||[],t)},n.findExtensionByTag=function(t){return W.find(i,function(e){return W.contains(e.tags,t)})},n.findExtensionByName=function(e){return W.findWhere(i,{name:e})},n.filterExtensionsByUse=function(t){return W.filter(i,function(e){return e.use===t})},n.findExtensionByNameAndProvider=function(t,n){return W.find(i,function(e){e=e.data;return!!e&&e.name===t&&e.provider&&e.provider.name===n})},n.registerExtensionsByUse=function(e,t,n){n=n?[].concat(n):[],r[e]={handler:t,validators:n}},n.getExtensionFrames=function(){return W.reduce(i,function(e,t){return t.frame&&t.frame[0]&&e.push(t.frame[0]),e},[])},function(e){e=[].concat(e),(e=W.filter(e,o)).length&&(t=function n(e){if(!e.length)return e;var t=W.filter(e,a);if(t.length)return n(W.difference(e,t));return e}(t.concat(e)))}}(Rc),te=function(){return{initializeResourceCenter:function(r){if(!(p=d(r)))return K.resolve();if(J.getters["frames/isShownInAnotherFrame"]()(p.steps[0]))return K.resolve();if(te.isFullyCustom(p))return p.hasResourceCenterContent=!0,K.resolve();var e=c(p,r),t=W.reduce(e,function(e,t){return u(t)?e.concat(t.steps[0].fetchContent()):e},[]);return t.push(Yu.validate(p).then(W.noop,function(){p.launchMethod="api"})),p.attributes.notifications={totalUnseenCount:0,individualCounts:{chat:0}},W.forEach(i(),function(e){var t=Rc.findExtensionByNameAndProvider("chat",e),t=(t&&w(e,t),Rc.findExtensionByNameAndProvider("helpcenter",e));t&&w(e,t)}),W.forEach(e,function(t){var e=t.attributes.resourceCenter,n=e.children,i=e.moduleId,e=("IframeModule"===i&&(t.hasResourceCenterContent=!0),"SandboxModule"===i&&(t.hasResourceCenterContent=!0),"IntegrationModule"===i&&(t.integrationConfig=f(e.integrationName,e.integrationProvider),t.hasResourceCenterContent=!!t.integrationConfig,t.integrationConfig)&&"chat"===t.integrationConfig.name&&m(e.integrationName,e.integrationProvider),W.reduce(n,function(e,t){var n=W.find(r,function(e){return e.id===t});return n?e.concat(n):e},[]));"AnnouncementsModule"===i&&(p.attributes.notifications.individualCounts[t.id]=0,W.forEach(e,function(e){P(e)||e.isControlGroup()||p.attributes.notifications.individualCounts[t.id]++}));-1<W.indexOf(["GuideListModule","OnboardingModule","AnnouncementsModule"],i)&&W.filter(e,function(e){return e.shouldBeAddedToResourceCenter()?!(e.ineligibleForRC=!1):!(e.ineligibleForRC=!0)}).length&&(t.hasResourceCenterContent=!0),t.guidesInModule=e}),p.modules=e,p.badgeHidden=!0,K.all(t)},findResourceCenterHomeView:d,findResourceCenterModules:c,replaceResourceCenterContent:n,renderResourceCenterModule:function(e,t){n(e.id,oy,!0,t)},showHomeViewOrEmptyState:function(e){$("#pendo-resource-center-container._pendo-guide-walkthrough_").remove(),delete e.activeModule,e.hasResourceCenterContent&&e.skipResourceCenterHomeView?te.replaceResourceCenterContent(e.moduleIdToReplaceHomeViewWith,[{value:"none"},{value:"left"}]):e.showEmptyState&&(te.showResourceCenterEmptyState(),W.each(e.controlGuidesInAllModules,function(e){e.hasGuideBeenControlled()||e.steps[0].onControlGuide("control")}))},showResourceCenterEmptyState:function(){var e=$("#pendo-resource-center-empty-state-container");e&&e.length&&$(e[0]).css({display:"block"})},launchIntegrationByNameAndProvider:function(e,t,n){var e=Rc.findExtensionByNameAndProvider(e,t);return e?(n=$(n))?((e=e.getFrame()).appendTo(n),void e.css({display:"block"})):q("could not find target element for "+t+" integration"):q(t+" integration has not been loaded into the agent")},appendIntegrationToBodyByNameAndProvider:m,attemptToPreserveIntegrationIframes:function(e){e.step&&(e=e.step.getGuide()).attributes&&e.attributes.resourceCenter&&(e=te.getResourceCenterContainer())&&(e=$(e).find('iframe[id^="_pendo-launcher-ext-frame-chat"]'))&&e.length&&e.each(function(e){e=$(e);e.css({display:"none"}),e.appendTo(Pu())})},getResourceCenter:t,getResourceCenterContainer:_,getResourceCenterBadge:r,addNotificationBubbleToResourceCenterBadge:U,addNotificationBubbleToTargetElement:G,updateNotificationBubbles:function(){var e=p,t=W.get(e,"attributes.notifications");if(t){var n=k(t.individualCounts);if(n<=0)n!==t.totalUnseenCount&&z(),t.totalUnseenCount=n;else{L();var i=n!==t.totalUnseenCount;if(i||!A(s)){if("badge"===e.launchMethod){i=r();if(!i)return;U(i.element(),e.attributes.notificationBubble,n)}if("dom"===e.launchMethod&&W.get(e,"attributes.activation.selector")){i=$(e.attributes.activation.selector);if(!i.length)return;G(i[0],e.attributes.notificationBubble,n),Z(iy,"resize",W.debounce(R,50))}t.totalUnseenCount=n}}}},removeNotificationBubble:z,updateNotificationBubbleCount:M,updateNotificationBubbleOnHomeView:D,updateOrCreateNotificationBubble:O,hexToRgb:T,doesIntegrationExist:f,calculateTotalNotificationCount:k,updateNotificationBubblesOnHomeView:L,createNotification:B,appendNotificationBubble:H,hasAnnouncementBeenSeen:P,clearAnnouncementUnseenInterval:l,createAnnouncementUnseenInterval:g,findShownResourceCenterModule:function(){var e=te.getResourceCenterContainer();if(e){e=$(e).find('[id^="pendo-g-"]');if(e){var t=e.attr("data-pendo-guide-id"),e=W.find(pr(),function(e){return e.id===t});if(W.get(e,"attributes.resourceCenter.isModule",!1))return e}}},dismissResourceCenter:j,repositionResourceCenter:function(){var e=te.getResourceCenterContainer(),t=te.getResourceCenterBadge();{var n;e&&t&&(t=te.findResourceCenterHomeView(pr()).steps[0],n=W.get(t,"domJson.props.style.height"),n=parseInt(n,10),n=isNaN(n)?0:n,i=parseInt(W.get(t,"domJson.props.style.bottom",0),10),t=parseInt(W.get(t,"domJson.props.style.top",0),10),i=isNaN(i)?0:i,t=isNaN(t)?0:t,(i=lo().height-i-t)<=n&&(e.style.height=(i-10).toString()+"px"),t=parseInt(e.style.height,10),t=isNaN(t)?0:t,n<i)&&n!==t&&(e.style.height=n.toString()+"px")}var i=$(e).find('[data-pendo-grow-height="true"]')[0];i&&jd(i,e)},repositionDoubleResourceCenterBadge:function(){var e,t,n;J.getters["frames/isLeader"]()&&1<(e=W.unique(W.compact([].concat(W.toArray($("._pendo-resource-center-badge-container"))).concat(W.toArray($("._pendo-resource-center-badge-container")))))).length&&function(e){var t=Q(e[0]),e=Q(e[1]);return xo(t,e)}(e)&&(t=X(e[0]).width+5,n=X(e[1]).left-t<0?"":"-",e[1].style.transform="translateX("+n+t+"px)")},resourceCenterIgnoreRtl:function(){return W.get(this.getResourceCenterBadge(),"ignoreRTL",!1)},adjustResourceCenterWidth:function(e){var t=_();if(t){r=lo().width,o=$(t),e=$(e||o.find('[id^="pendo-g-"]')[0]),o.css({"max-width":"none"}),e.css({"max-width":"none"}),i=parseInt(Y(o[0]).width,10),r<i&&(i=parseInt(t.style.left,10),i=isNaN(i)?0:i,t=parseInt(t.style.right,10),t=isNaN(t)?0:t,r=r-t-i,o.css({"max-width":r+"px"}),e.css({"max-width":r+"px"}));var t=o,n=$("button#pendo-a11y-list-item-button-block");if(n&&n.length)for(var i=$("ol._pendo-text-list-ordered")[0],r=0,e=0,i=(i&&(i=Y(i),e=parseInt(i.paddingLeft,10),r=parseInt(i.paddingRight,10)),$('[id^="pendo-onboarding-guide-progress-circle"]')[0]),o=0,a=0,s=0,u=(i&&(i=Y(i),o=parseInt(i.width,10),a=parseInt(i.marginRight,10),s=parseInt(i.marginLeft,10)),e+r+o+s+a),d=parseInt(Y(t[0]).width,10),c=0;c<n.length;c++){var l=n[c],f=$(l),l=(f.css({"max-width":"none"}),Y(l)),p=parseInt(l.width,10),l=d-u-(parseInt(l.paddingLeft,10)+parseInt(l.paddingRight,10));l<=p&&f.css({"max-width":l})}}},setNativeIntegrationDefaults:w,renderNativeIntegration:C,isSupportedNativeIntegration:v,handleNativeIntegrationContinuation:function(e){e&&!e.isTopLevel&&(C(W.get(e,"attributes.resourceCenter.integrationProvider")),p.activeModule||(p.activeModule=e),e.steps[0].onShown("continue"),e.attributes.doNotResume=!0)},isProviderInstalled:y,adjustNotificationBubbleForResize:R,getNotificationBubbleDefaultCss:N,getModuleId:F,isIframeModule:function(e){return"IframeModule"===F(e)&&e.hasResourceCenterContent},isSandboxModule:function(e){return"SandboxModule"===F(e)&&e.hasResourceCenterContent},isIntegrationModule:function(e){return"IntegrationModule"===F(e)&&e.hasResourceCenterContent},isFullyCustom:function(e){return"FullyCustomModule"===F(e)},integrationModuleHasContent:function(e){e=e.attributes.resourceCenter;return!te.isSupportedNativeIntegration(e.integrationProvider)||te.isProviderInstalled(e.integrationProvider)},fetchAnnouncementGuidesContent:function(e,t){var n=d(e);if(!n)return K.resolve();if(t.getters["frames/isShownInAnotherFrame"]()(n.steps[0]))return K.resolve();if(te.isFullyCustom(n))return K.resolve();var t=c(n,e),i=[],r=W.indexBy(e,"id");return W.each(t,function(e){var e=e.attributes.resourceCenter;"AnnouncementsModule"===e.moduleId&&(e=e.children,e=W.reduce(e,function(e,t){t=r[t];return t?e.concat(t):e},[]),W.each(e,function(e){u(e)&&i.push(e.steps[0].fetchContent(!0))}))}),K.all(i)},setFocusForResoureCenterModule:function(e,t){var n;"HomeViewModule"===e[0].getAttribute("data-layout")?t&&(e=$('[data-pendo-module-guide-id="'+t+'"]'),n=e.find('button[id^="pendo-right-caret-"]')[0]):(t=$('[id="pendo-resource-center-module-title-container"]'),n=t.find('button[id^="pendo-left-caret-"')[0]);n&&n.focus()},revertRtlChanges:function(e,t){var n="rtl"===W.get(t,"data-localization-direction",!1),e=W.get(e,"attributes.badge.ignoreRTL",!1);n&&e&&!t["data-direction-changed"]&&(n=W.get(t,"style.left",!1),e=W.get(t,"style.right",!1),n)&&e&&(t.style.left=e,t.style.right=n,t["data-direction-changed"]=!0)}};var p,e,h,s,o,a;function u(e){return e.steps&&e.steps.length&&W.isFunction(e.steps[0].fetchContent)}function d(e){var e=W.filter(e,function(e){return W.get(e,"attributes.resourceCenter.isTopLevel")&&!e.isFrameProxy}),t=W.find(e,function(e){return"staged"===e.state});return t||e[0]}function c(t,e){return W.filter(e,function(e){return e&&!e.isFrameProxy&&W.get(e,"attributes.resourceCenter.isModule",!1)&&e.state===t.state})}function n(t,e,n,i){if(void 0===i&&(i=!0),!h){var r="left 200ms",o="left",e=(e&&2<=e.length&&(r=e[0].value,o=e[1].value),_());if(e){var a=$(e).find('[id^="pendo-g-"]')[0];if(a){var s,u=a.getAttribute("data-pendo-guide-id"),d=W.find(pr(),function(e){return e.id===t}),c=(t!==p.id?p.activeModule=d:(s=p.activeModule,delete p.activeModule),W.get(d,"attributes.resourceCenter.integrationProvider")),c=(v(c)&&C(c),d.steps[0]),l=c.domJson,l=(l.props["data-pendo-guide-id"]=d.id,oc(l,c)),f=l[0],r=(-1===f.id.indexOf("pendo-g-")&&(f=l.find('[id^="pendo-g-"]')[0]),n||(f.style.transition=r,a.style.transition=r,"left"===o?f.style.left=e.offsetWidth+"px":"right"===o&&(f.style.left=-1*e.offsetWidth+"px")),n&&($(a).remove(),s)&&s.steps&&s.steps.length&&(s.steps[0].elements.length=0),$(f).appendTo(e),c.guideElement=$(e),c.elements.push(c.guideElement[0]),te.adjustResourceCenterWidth(f),"AnnouncementsModule"===F(d)&&c.guide.guidesInModule?W.forEach(c.guide.guidesInModule,function(e){var t;W.isUndefined(e.steps[0].attributes.imgCount)&&(t=e.steps[0].id,Kd("pendo-g-"+(t=$(f).find("#pendo-g-"+t)[0]?t:e.id)),ee.flexAllThings("pendo-g-"+t))}):ee.flexAllThings("pendo-resource-center-container"),$(f).find('[data-pendo-grow-height="true"]')[0]);if(r&&jd(r,e),f.style.left="0px",!n){h=!0;try{"left"===o?a.style.left=-1*e.offsetWidth+"px":"right"===o&&(a.style.left=e.offsetWidth+"px"),iy.setTimeout(function(){$(a).remove(),s&&s.steps&&s.steps.length&&(s.steps[0].elements.length=0),h=!1},200)}catch(Ut){throw h=!1,Ut}}return"AnnouncementsModule"===F(d)&&(g(),r=hd.getGuidesInResourceCenterModule(d,pr()),(n=W.reduce(r,function(e,t){return t.steps&&t.steps.length&&dd.hasContent(t.steps[0])||e.push(t.fetchContent()),e},[])).length)&&((o=function(){var i,e,t;if(W.isFunction(ry.createElementNS))return i="http://www.w3.org/2000/svg",e=function(e,t){var n=$(ry.createElementNS(i,"circle")).attr({cx:e,cy:t,fill:"#9a9ca5",r:5});return W.each(W.toArray(arguments).slice(2),function(e){n.append(e)}),n},t=function(e){return $(ry.createElementNS(i,"animate")).attr({attributeName:"fill-opacity",values:"0;1;0;0",keyTimes:"0;0.4;0.8;1",dur:"1.4s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0 0 0.58 1; 0 0 0.58 1; 0 0 0.58 1",begin:e})},t=$(ry.createElementNS(i,"svg")).attr({viewBox:"0 0 70 20",xmlns:"http://www.w3.org/2000/svg",width:"70",height:"20"}).append(e(21,10,t("-0.32s"))).append(e(35,10,t("-0.16s"))).append(e(49,10,t("0s"))),$(ry.createElement("li")).css({padding:"5px 20px","list-style-type":"none","list-style-position":"inside",position:"relative","margin-left":"0em","border-width":"0px","border-style":"solid","border-color":"rgb(255, 255, 255)","float":"none","vertical-align":"baseline","text-align":"center"}).append(t)}())&&l.find("ol").append(o),K.all(n).then(function(){var e=K.defer();return setTimeout(e.resolve,500),e.promise}).then(function(){p.activeModule===d&&te.renderResourceCenterModule(d,i)})),te.setFocusForResoureCenterModule(l,u),i&&c.onShown("launcher"),l}}}}function l(){iy.clearInterval(e),e=null}function g(){e=e||iy.setInterval(function(){var e=_();if(!e)return l();e=$(e).find('[data-layout="AnnouncementsModule"]');if(!e.length)return l();var t=$(e).find('ol[id^="pendo-list"]');if(!t.length)return l();var n=Q(t[0]),i=$(t).find("li.pendo-unseen-announcement");if(!i.length)return l();for(var t=e.attr("data-pendo-guide-id"),r=p.attributes.notifications.individualCounts[t],o=n.height/3,a=Q(i[i.length-1]).bottom-30<n.top+n.height,s=0;s<i.length;s++){var u=i[s];if(Q(u).top-n.top>n.height-o&&!a)break;$(u).removeClass("pendo-unseen-announcement");var d=$(u).find(".pendo-unread-announcement-mini-bubble"),c=(Se(10)?$(u).find(".pendo-unread-announcement-mini-bubble").remove():(d[0].style.visibility="hidden",d[0].style.opacity="0",d[0].style.transition="visibility 0s 2s, opacity 2s linear"),$(u).attr("data-pendo-announcement-guide-id")),d=W.find(pr(),function(e){return e.id===c});if(!d)break;P(d)||r--,d.steps[0].seenState="advanced",Op(d.id,d.steps[0].id,V(),"whatsnew",d.language,{last_updated_at:d.steps[0].lastUpdatedAt}),Pp(d.id,d.steps[0].id,V(),"advanced",d.language)}M(r,t)},500)}function f(e,t){return Rc.findExtensionByNameAndProvider(e,t)}function m(e,t){e=Rc.findExtensionByNameAndProvider(e,t);if(!e)return q(t+" integration has not been loaded into the agent");v(t)&&y(t)?p.hasEligibleNativeIntegrationModule=!0:(So((t=e.getFrame())[0])||t.appendTo(Pu()),t.css({display:"none"}))}function i(){return["drift-native-chat","intercom-chat","zendesk-chat","zendesk-native-kb","zendesk-messaging"]}function v(e){return!!e&&0<=i().indexOf(e)}function y(e){return!!e&&null!==(e=b(e))&&W.isFunction(iy[e])}function b(e){if(!e)return null;switch(e){case"zendesk-chat":case"zendesk-messaging":case"zendesk-native-kb":return"zE";case"intercom-chat":return"Intercom";case"drift-native-chat":return"drift";default:return null}}function w(e,t){var n,i,r;e&&(y(e)?I(e,t):(e=e,t=t,"function"==typeof Object.defineProperty&&null!==(i=b(e))&&(o&&o[i]?o[i][e]||(o[i][e]={installed:!1,integrationObj:t}):((o=o||{})[i]=((n={})[e]={installed:!1,integrationObj:t},n),Object.defineProperty(iy,i,{get:function(){return r},set:function(e){r=e,W.forEach(o[i],function(e,t){var n=e.integrationObj;!e.installed&&y(t)&&(e.installed=!0,I(t,n),m(n.name,t),W.forEach(p.modules,function(e){e.integrationConfig&&e.integrationConfig.data.name===n.name&&e.integrationConfig.data.provider.name===t&&(e.hasResourceCenterContent=!0)}))})},configurable:!0,enumerable:!0})))))}function I(e,t){switch(e){case"zendesk-chat":case"zendesk-native-kb":r=(i=t).data.provider.name,i=x(i),S(r,"webWidget","hide"),S(r,"webWidget","updateSettings",{webWidget:{navigation:{popoutButton:{enabled:!1}},position:{vertical:i?i[0]:"bottom",horizontal:i?i[1]:"right"}}}),S(r,"webWidget:on","close",function(){S(r,"webWidget","hide"),E()}),S(r,"webWidget:on","chat:unreadMessages",function(e){M(e,"chat")});break;case"zendesk-messaging":i=t;S(i=i.data.provider.name,"messenger","hide"),S(i,"messenger:on","close",function(){E()}),S(i,"messenger:on","unreadMessages",function(e){M(e,"chat")});break;case"intercom-chat":var n=t;n=x(n),iy.intercomSettings||(iy.intercomSettings={}),iy.intercomSettings.hide_default_launcher=!0,iy.intercomSettings.alignment=n?n[1]:"right",iy.Intercom("update",{hide_default_launcher:!0,alignment:n?n[1]:"right"}),iy.Intercom("onHide",function(){E()});break;case"drift-native-chat":iy.drift.on("ready",function(e){iy.drift.hide();var t=Ec();iy.drift.identify(t.visitor.id,function o(e){var t={};for(var n in e)if("object"!=typeof e[n]||Array.isArray(e[n]))t[n]=e[n];else{var i,r=o(e[n]);for(i in r)r[i]&&(t[n+"."+i]=r[i])}return t}(t)),iy.drift.on("message",function(e){if(!p.isNativeModuleActive)return M(1,"chat")})}),iy.drift.on("chatClose",function(e){M(0,"chat"),iy.drift.hide(),E()})}var i,r}function S(e){for(var t,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];try{a&&a[e]||iy.zE.apply(null,n)}catch(r){a?a[e]=!0:((t={})[e]=!0,a=t)}}function x(e){e=W.get(e,"data.options.labels.position");return e=e&&e.split("-")}function E(){j(p.activeModule),delete p.activeModule,p.continueToNativeModule=!1}function C(e,t){if(e){var n=Ec();if(p.isShown()&&p.hide(),a&&a[e])q(e+" integration failed to communicate with API, closing"),te.replaceResourceCenterContent(p.id,oy,!0),E();else{var i=r();switch(i&&i.hide(),e){case"zendesk-messaging":S(e,"messenger","show"),S(e,"messenger","open");break;case"zendesk-native-kb":S(e,"webWidget","updateSettings",{webWidget:{helpCenter:{suppress:!1},chat:{suppress:!0}}}),S(e,"webWidget","show"),S(e,"webWidget","open");break;case"zendesk-chat":S(e,"webWidget","updateSettings",{webWidget:{chat:{suppress:!1},helpCenter:{suppress:!0}}}),iy.$zopim.livechat.window.show(),n&&n.visitor&&n.visitor.email&&S(e,"webWidget","prefill",{email:{value:n.visitor.email}});break;case"intercom-chat":iy.Intercom("show"),n&&n.visitor&&n.visitor.email&&iy.Intercom("update",{email:n.visitor.email});break;case"drift-native-chat":iy.drift.api.openChat(),n&&n.visitor&&n.visitor.email&&iy.drift.config({email:n.visitor.email})}M(0,"chat"),!p.activeModule&&t&&(p.activeModule=t).steps[0].onShown("launcher")}}}function t(){return p}function _(){return W.get(p,"steps.0.guideElement.0")}function r(){if(p&&p.id)return lr[p.id]}function T(e){e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function A(e){return e&&W.all(e,function(e){return So(e&&e.length?e[0]:e)})}function R(){var e,t=te.getResourceCenter(),n=W.get(t,"attributes.notifications");n&&(n=te.calculateTotalNotificationCount(n.individualCounts),"dom"===t.launchMethod)&&W.get(t,"attributes.activation.selector")&&(e=$(t.attributes.activation.selector)).length&&te.addNotificationBubbleToTargetElement(e[0],t.attributes.notificationBubble,n)}function k(e){return W.reduce(e,function(e,t){return e+t},0)}function L(){var e,t=p;t&&(t=W.get(t,"attributes.notifications"))&&(e=_())&&$(e).find("._pendo-resource-center-home-list").length&&W.each(t.individualCounts,function(e,t){D(e,t)})}function D(e,t){var n=te.getResourceCenterContainer();n&&(n=$(n).find('[data-pendo-notification-id="'+t+'"]')).length&&(t=$(n[0]).find("._pendo-home-view-bubble"),n=$(t[0].children[0]),e!==parseInt(n.text(),10))&&(0<e?(n.text(e),$(t[0]).css({display:"block","margin-right":"0"})):$(t[0]).css({display:"none"}))}function U(e,t,n){var i=W.get(t,"position","top-left"),r=Y(e),r=(parseInt(r.width,10)||56)/2,o=r/Math.sqrt(2),r=Math.round(r-o)-10,a=r-10,o=Math.round(2*o),r={"top-left":{top:r+"px",left:a+"px",padding:"0px 10px","margin-left":"0px","margin-top":"0px"},"top-right":{top:r+"px",left:a+o+10+"px",padding:"0px 10px","margin-left":"0px","margin-top":"0px"},"bottom-left":{top:r+o,left:a+"px",padding:"0px 10px","margin-left":"0px","margin-top":"0px"},"bottom-right":{top:r+o,left:a+o+10+"px",padding:"0px 10px","margin-left":"0px","margin-top":"0px"}},a=e.attributes["data-localization-direction"]||!1,o=te.resourceCenterIgnoreRtl();O(e,t,n,r[i=a&&!o?{"top-left":"top-right","top-right":"top-left","bottom-left":"bottom-right","bottom-right":"bottom-left"}[i]:i])}function G(e,t,n){var i=Gr(e,e),r=Gr(e,bo());O(e,t,n,{width:"28px",top:i.top-Math.min(r.top,14)+"px",left:i.left-Math.min(r.left,14)+"px",position:"absolute"},{width:"28px","font-size":"16px","text-align":"center",position:"absolute",right:"0px"})}function O(e,t,n,i,r){var o,a;A(s)?(a=(o=N(t)).defaultBubbleCss,o=o.defaultUnseenCountCss,a=W.extend(a,i),o=W.extend(o,r),s.bubbleEle.css(a),s.unseenCountEle.css(o),s.unseenCountEle.text()!=""+n&&s.unseenCountEle.text(n)):(a=$(e).find(".pendo-resource-center-badge-notification-bubble")).length?a[0].getElementsByClassName("pendo-notification-bubble-unread-count")[0].textContent=n:n&&H(s=B(t,n,i,r),e)}function N(e){return{defaultBubbleCss:{position:"absolute","border-radius":"20px","line-height":"0px",height:"26px","box-sizing":"content-box","background-color":e["background-color"]},defaultUnseenCountCss:{"font-weight":e["font-weight"],"font-family":e["font-family"],height:"100%",position:"relative",top:"50%",color:e.color}}}function B(e,t,n,i){var r,o=N(e),a=o.defaultBubbleCss,o=o.defaultUnseenCountCss,s=(t=t||0,$(ry.createElement("div")).addClass("pendo-resource-center-badge-notification-bubble")),u=$(ry.createElement("div")).addClass("pendo-notification-bubble-unread-count"),a=W.extend(a,n),n=W.extend(o,i);return s.css(a),u.css(n),Se(10)||tc()||(r=$(ry.createElement("style")).attr("id","pendo-resource-center-bubble-animation"),i="@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6) } } "+('.pendo-resource-center-badge-notification-bubble::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: '+("rgb("+(o=T(e["background-color"])).r+", "+o.g+", "+o.b+")")+"; border-radius: 100%; z-index: -1; animation: pulse 2s infinite; will-change: transform; }"),r.styleSheet?r.styleSheet.cssText=i:r[0].innerHTML=i),u.text(t),{bubbleEle:s,unseenCountEle:u,styleEle:r}}function H(e,t){e.styleEle&&e.styleEle.appendTo(t),e.unseenCountEle.appendTo(e.bubbleEle),e.bubbleEle.appendTo(t)}function z(){var n=s?s.bubbleEle:$(".pendo-resource-center-badge-notification-bubble"),i=s?s.styleEle:$("#pendo-resource-center-bubble-animation");n&&W.each(n,function(e,t){n[t]&&(t=n[t])&&t.parentNode&&t.parentNode.removeChild(t)}),i&&W.each(i,function(e,t){i[t]&&(t=i[t])&&t.parentNode&&t.parentNode.removeChild(t)}),s=null}function M(e,t){var n=p;n&&(n=W.get(n,"attributes.notifications"))&&n.individualCounts[t]!==e&&(n.individualCounts[t]=e,te.updateNotificationBubbles())}function P(e){return!(!W.isFunction(e.hasBeenSeen)||!e.hasBeenSeen())||"active"===e.steps[0].seenState}function j(e){var t=W.get(e,"attributes.resourceCenter.isModule",!1)?e:te.findShownResourceCenterModule();t&&(t=W.first(t.steps),fp(t));t=(W.get(e,"attributes.resourceCenter.isTopLevel",!1)?e:te.findResourceCenterHomeView(pr())).steps[0];return fp(t)}function F(e){return W.get(e,"attributes.resourceCenter.moduleId")}}(),Lc=1e4,Oc="lastStepAdvanced";function Nc(e){J.dispatch("guideState/updateLastGuideStepSeen",e),J.dispatch("guideState/write"),J.dispatch("frames/changeLastGuideStepSeen",e)}function Mc(){J.dispatch("guideState/init"),Z(iy,"focus",Pc),b.addEventListener&&iy.addEventListener("storage",function(e){J.dispatch("guideState/storageChanged",e)})}function Pc(){J.dispatch("guideState/regainFocus")}function Fc(){return J.state.guideState.lastGuideStepSeen}var Dc={actions:{init:function(e){e.commit("setScopedStorageKey",Kt(e.state.storageKey)),w.identify.on(function(e){ti(e)&&zn([Oc])})},load:function(t,e){if(e){var n;try{n=y.parse(e)}catch(Ut){}n&&W.each([].concat(n),function(e){t.commit("setStepState",e)})}},forceExpire:function(n){W.each(n.state.steps,function(e,t){n.commit("expireStepState",t)})},expire:function(n){var i=n.getters.now();W.each(n.state.steps,function(e,t){i-e.time>n.state.ttl&&n.commit("expireStepState",t)})},apply:function(o){var a,s=W.indexBy(o.getters.guideList(),"id");o.dispatch("expire"),W.each(o.state.steps,function(e){var t,n,i=e.guideId,r=e.guideStepId;e.visitorId&&e.visitorId!==o.getters.visitorId()||((!a||e.time>a.time)&&(a=e),(i=s[i])&&(t=W.findWhere(i.steps,{id:r}))&&(n=o.state.storageKey,t.seenState!=e.state&&(q("making sure that seenState = '"+e.state+"' for "+n+": "+r),t.seenState=e.state),t.snoozeEndTime!=e.snoozeEndTime&&(q("making sure that snoozeEndTime = '"+e.snoozeEndTime+"' for "+n+": "+r),t.snoozeEndTime=e.snoozeEndTime),t.seenReason!=e.seenReason&&(q("making sure that seenReason = '"+e.reason+"' for "+n+": "+r),t.seenReason=e.seenReason),e.dismissCount!==oy&&t.dismissCount!=e.dismissCount&&(t.dismissCount===oy?t.dismissCount=e.dismissCount:t.dismissCount=Math.max(e.dismissCount,t.dismissCount),q("making sure that dismissCount = '"+t.dismissCount+"' for "+n+": "+r)),e=W.indexOf(i.steps,t),W.each(i.steps.slice(0,e),function(e){W.contains(["advanced","dismissed"],e.seenState)||(e.seenState="advanced")})))}),a&&o.dispatch("updateLastGuideStepSeen",W.extend({},o.state.lastGuideStepSeen,a))},receiveLastGuideStepSeen:function(e,t){e.commit("setReceivedLastGuideStepSeen",t),e.commit("setLastGuideStepSeen",t)},updateLastGuideStepSeen:function(e,t){t.visitorId&&t.visitorId!==e.getters.visitorId()||(t.guideStepId&&e.commit("setStepState",t),e.commit("setLastGuideStepSeen",t),S.lastGuideStepSeen=t)},write:function(e){e.dispatch("expire");var t=e.rootState.frames.tabId,n=e.state.storageKey,i=e.state.ttl,r=e.getters.storage(),o=y.stringify(W.map(e.state.steps,function(e){return W.extend({tabId:t},e)}));q("writing "+o+" to a cookie named "+n+" for "+i),r.write(n,o,i),e.dispatch("preview/update",e.state.lastGuideStepSeen,{root:!0})},storageChanged:function(e,t){if(t.key===e.state.scopedStorageKey){try{var n=e.getters.storage().read(e.state.storageKey),i=[].concat(y.parse(n))}catch(Ut){}e.getters.storageChangedInOtherTab()(i)&&(Kc(),e.dispatch("load",n),e.dispatch("apply"),e.state.receivedStateChangeAt||e.commit("setReceivedStateChange",e.getters.now()))}},regainFocus:function(e){var t=e.getters.tabLostFocus(),n=e.getters.isGuideRequestStale();t&&(e.commit("setReceivedStateChange",null),n||(Jc(),Vc())),n&&zh()}},mutations:{expireStepState:function(e,t){e.expired[t]=e.steps[t],delete e.steps[t]},setStepState:function(e,t){e.steps[t.guideStepId]=t},setScopedStorageKey:function(e,t){e.scopedStorageKey=t},setLastGuideStepSeen:function(e,t){e.lastGuideStepSeen=t},setReceivedLastGuideStepSeen:function(e,t){e.receivedLastGuideStepSeen=t},setReceivedStateChange:function(e,t){e.receivedStateChangeAt=t},setLastGuideRequestAt:function(e,t){e.lastGuideRequestAt=t}},state:{steps:{},expired:{},ttl:Lc,storageKey:Oc,guideRequestExpiration:36e5,scopedStorageKey:null,receivedStateChangeAt:null,receivedLastGuideStepSeen:null,lastGuideStepSeen:null,lastGuideRequestAt:null},getters:{now:function(){return v()},storage:function(){return d},guideList:function(){return p()},tabLostFocus:function(e){return!!e.receivedStateChangeAt},isGuideRequestStale:function(e,t){return null!=e.lastGuideRequestAt&&t.now()-e.lastGuideRequestAt>e.guideRequestExpiration},storageChangedInOtherTab:function(n,e,i){return function(e){var t=W.get(i,"frames.tabId");return!!e&&!!((e=W.max(W.compact(e),"time"))&&e.tabId&&t&&e.tabId!==t)&&(!n.lastGuideStepSeen||!n.lastGuideStepSeen.time||e.time>n.lastGuideStepSeen.time)}},visitorId:function(){return V()}}},Uc=function(){return{canDisplay:function(e,t,n){if(n&&n.enabled&&W.isFinite(t)){t=i(t,n);if(W.isNumber(t)&&!isNaN(t))return t<=e}return!0},lastDismissedTime:function(e){return Math.max(e.latestDismissedAutoAt||-Infinity,e.finalAdvancedAutoAt||-Infinity,e.latestSnoozedAutoAt||-Infinity)},sortAndFilter:function(e,t){var n=m.get("appAutoOrdering")||[].concat(m.get("leaderKey"));{var i;n.length&&(i=J.getters["frames/autoOrdering"](),n=W.reduce(n,function(e,t){return e.concat(i[t]||[])},[]),t=W.uniq(n.concat(t)))}var r,o,n=function(e){e=W.defaults(W.groupBy(e,function(e){return s(e)?"override":"auto"}),{override:[],auto:[]});return e.override.concat(e.auto)}(function(e,t){var n;return W.isArray(t)&&t.length?(n=W.indexBy(e,"id"),t=W.reduce(t,i,[]),W.chain(e).pluck("id").reduce(i,t).value()):e;function i(e,t){return n[t]&&(e.push(n[t]),delete n[t]),e}}(W.filter(e,a),t));return W.find(e,function(e){return e.isTraining})?(t=m.get("adoptPrioritizeAdoptGuides"),e=t,r=[],o=[],W.each(n,function(e){(e.isTraining?r:o).push(e)}),e?r.concat(o):o.concat(r)):n},tryDisplayGuide:function(e,t){var n=Uc.lastDismissedTime(t),n=Uc.canDisplay(v(),n,t.throttling);if((s(e)||n)&&e.shouldAutoDisplay())return e.autoDisplay()},getNextAutoDisplayTime:i};function a(e){return e&&/auto/.test(e.launchMethod)}function s(e){return(t=e).attributes&&t.attributes.overrideAutoThrottling||W.isFunction(e.shouldShowSnoozedGuide)&&e.shouldShowSnoozedGuide();var t}function i(e,t){var n=t.interval,t=(t.unit||"").toLowerCase();return W.isNumber(n)&&_t(e)?"minute"===t?6e4*n+e+1:"hour"===t?36e5*n+e+1:"day"===t?(t=e,e=n,(t=new Date(Math.max(t,0))).setHours(0,0,0,0),t.setDate(t.getDate()+e),t.getTime()):void 0:W.isNumber(n)?(new Date).getTime():void 0}}();function Gc(i){return w.guideSeen.on(function(e){var e=e.data[0].props||{};"permalink"===e.reason&&(e=i(e.guide_id))&&(e.shownFromPermalink=!0)}),{tryDisplay:function(){var e=this.getGuideFromUrl();if(e&&this.shouldShowPermalinkGuide(e))return this.showPermalinkGuide(e)},getGuideFromUrl:function(){var e=f.get(),t=$i(e).substring(1),t=Qi(t),n=e.indexOf("#");!t.pendo&&0<=n&&(n=$i(e.substring(n+1)).substring(1),W.extend(t,Qi(n)));e=t.pendo||t.c__pendo;return e?i(e):null},showPermalinkGuide:function(e){return e.show("permalink")},shouldShowPermalinkGuide:function(e){return!e.shownFromPermalink}}}var Bc=W.memoize(function(){return Gc(E)});function Hc(e,t){var e=W.find(e,function(e){return e.isContinuation(t)}),n=e&&e.attributes&&e.attributes.doNotResume;if(e&&!n)return e}var zc=function(){function e(){this.name="autoDisplay",this.queue=[]}return e.prototype.markDirty=function(){var e;ju()&&(this.queue.push("permalink","continuation"),(e=this.queue).push.apply(e,Uc.sortAndFilter(p(),S.autoOrdering)))},e.prototype.process=function(e){if(ep())this.cancel();else{var t=this.queue.shift();if("permalink"===t)return Bc().tryDisplay(S);if("continuation"===t){var n=Hc(p(),Fc());if(n)return e.saveContext(n),n.show("continue")}else if(t){if(!Hc(p(),Fc()))return e.saveContext(t),Uc.tryDisplayGuide(t,S);this.cancel()}}},e.prototype.handleProcessTimeExceeded=function(e){e=e.getContext();e&&I("Auto display ("+e.id+") timeout exceeded","",null,Xn.Low)},e.prototype.cancel=function(){this.queue.length=0},e.prototype.isComplete=function(){return!this.queue.length},e}(),jc=null,Wc=500,qc=function(e){jc=W.delay(function(){jc=null,Vc()},e=e||Wc),S.guidesProcessingThreadHandle=jc},Kc=function(){jc&&(clearTimeout(jc),jc=null,S.guidesProcessingThreadHandle=jc),J.dispatch("guideUpdate/stopScheduledUpdate")},Jc=function(){op(),ul.cancel();for(var e=0;e<cr.length;e++){var t=cr[e];t.parentNode.removeChild(t)}cr.length=0,J.dispatch("guideUpdate/stopObserver"),w.guideLoopStopped.trigger()},Vc=function(){if(Kc(),Th())q("guides are disabled.","guides","disabled");else if(Ah())q("guides are delayed.","guides","delayed");else if(!J.getters["guideState/tabLostFocus"]())try{var e=p();e&&0!==e.length&&(J.dispatch("guideUpdate/startObserverIfNeeded"),ul.isComplete()&&ul.markDirty(),Wu())&&ul.process()}catch(Ut){ul.cancel(),I(Ut,"ERROR in guide-loop")}finally{ul.paused||$c()}};function $c(){ul.isComplete()?(J.state.guideUpdate.useObserver&&!J.state.guideUpdate.needsUpdate||qc(),w.guideUpdateComplete.trigger()):qc(50)}var Zc=function(){var e=m.getLocalConfig();m.get("delayGuides")&&(delete e.delayGuides,m.setLocalConfig(e)),m.get("guides.delay")&&(delete e.guides.delay,m.setLocalConfig(e)),Vc()},Yc=function(){Th()||kh(!0),Jc(),Xp()},Xc=function(){function e(e,t){this.dirty=!1,this.name=e,this.processFn=W.isFunction(t)?t:W.noop}return e.prototype.markDirty=function(){this.dirty=!0},e.prototype.process=function(){this.processFn(),this.dirty=!1},e.prototype.cancel=function(){this.dirty=!1},e.prototype.isComplete=function(){return!this.dirty},e}();function Qc(){var t=jh();t&&(W.each(t.steps,function(e){el(t.guide,e)}),t.guide.checkForHiddenGroupSteps())}function el(e,t){var n,i,r,o,a;t.isLocked()||J.getters["frames/isShownInAnotherFrame"]()(t)||(n=t.element,i=t.targetElement,o=t.guideElement,r=$("."+$f),(o=o.find("#pendo-guide-container")[0])&&o.textContent&&(o=Y(o).fontSize,t.attributes.currentTextZoomFontSize!==o)&&(t.attributes.currentTextZoomFontSize&&t.redraw(),t.attributes.currentTextZoomFontSize=o),t.elementPathRule&&i&&!l.matchesSelector(i,t.elementPathRule)?t.hide():(o=Po(n),a=!0,i&&o&&t.elementContainsRulesList&&(o=a=xp(i,t.elementContainsRulesList)),n&&(o||r.hasClass("mouseover"))?t.checkPlacement():("tooltip"===t.type||"tooltip"===t.attributes.calculatedType)&&Fo(n)&&a||t.hide()))}var tl=function(){function e(){this.name="badge",this.queue=[]}return e.prototype.markDirty=function(){this.queue.push.apply(this.queue,W.filter(hr(p()),Lu))},e.prototype.process=function(e){var t=this.queue.shift();e.saveContext(t),t&&t.placeBadge()},e.prototype.handleProcessTimeExceeded=function(e){I("Badge ("+e.getContext().id+") timeout exceeded","",null,Xn.Low)},e.prototype.cancel=function(){this.queue.length=0},e.prototype.isComplete=function(){return!this.queue.length},e}();function nl(i,e){var r,o,t,n,a;te.isFullyCustom(i)||(r=!1,o=[],t=W.filter(i.modules,function(e){var t,n;return!!e&&(!!te.isIframeModule(e)||!!te.isSandboxModule(e)||(te.isIntegrationModule(e)?!!te.integrationModuleHasContent(e)||(e.hasResourceCenterContent=!1):(t=(n=W.filter(e.guidesInModule,function(e){return e.shouldBeAddedToResourceCenter()?!(e.ineligibleForRC=!1):(e.ineligibleForRC=!0,e.control&&o.push(e),!1)})).length,e.hasResourceCenterContent=!!t,i.activeModule&&e.id===i.activeModule.id&&(n=bt(W.map(n,function(e){var t=e.isAnnouncement()||e.isWhatsNew()?null:W.pluck(e.steps,"seenState");return{id:e.id,seenState:t}})),e.eligibleGuidesInModuleHash&&n!==e.eligibleGuidesInModuleHash&&(r=!0),e.eligibleGuidesInModuleHash=n),t)))}),n=!1,i.activeModule||(a=bt(W.map(t,function(e){return{id:e.id}})),i.eligibleModulesHash&&i.eligibleModulesHash!==a&&te.replaceResourceCenterContent(i.id,oy,n=!0),i.eligibleModulesHash=a),e(i,t,o),1===t.length&&(i.skipResourceCenterHomeView=!0,i.moduleIdToReplaceHomeViewWith=t[0].id,a=!i.activeModule&&n,e=i.activeModule&&i.activeModule.id!==t[0].id,a||e||r)&&te.replaceResourceCenterContent(i.moduleIdToReplaceHomeViewWith,oy,!0),t&&(n=W.find(t,function(e){return e.isContinuation(Fc())}),a=W.get(n,"attributes.doNotResume"),e=W.get(n,"attributes.resourceCenter.integrationProvider"),te.isSupportedNativeIntegration(e))&&!a&&i&&(i.continueToNativeModule=!0,n.continueToNativeModule=!0),i.activeModule&&((e=W.find(t,function(e){return e.id===i.activeModule.id}))&&r&&te.replaceResourceCenterContent(i.activeModule.id,oy,!0),e||te.replaceResourceCenterContent(i.id)),te.repositionResourceCenter())}function il(e,t){var n,i,r,o;te.isFullyCustom(e)||(n=[],o=[],(r=W.find(e.modules,function(e){return!!te.isIframeModule(e)||!!te.isSandboxModule(e)||!!te.isIntegrationModule(e)&&(!!te.integrationModuleHasContent(e)||(e.hasResourceCenterContent=!1))}))&&n.push(r),r=W.flatten(W.pluck(e.modules,"guidesInModule")),o=W.filter(W.compact(r),function(e){return e.control}),!n.length&&(i=W.reduce(e.modules,function(t,n){return W.each(n.guidesInModule,function(e){t[e.id]=n}),t},{}),r=W.filter(r,function(e){return e&&e.steps&&e.steps.length}),r=W.sortBy(r,function(e){return e.steps[0].elementPathRule?1:0}),r=i[(r=W.find(r,function(e){return e.shouldBeAddedToResourceCenter()}))&&r.id])&&n.push(r),t(e,n,o))}function rl(e,t,n){var i,r,o=lr[e.id];t&&t.length||(t=-1!==e.launchMethod.indexOf("badge"),i=-1!==e.launchMethod.indexOf("dom"),r=-1!==e.launchMethod.indexOf("extensionIcon"),e.hasResourceCenterContent=!1,t?(e.isShown()&&e.hide(),o&&o.hide(),W.each(n,function(e){e.hasGuideBeenControlled()||e.steps[0].onControlGuide("control")}),e.badgeHidden=!0,delete e.activeModule):(i||r)&&(e.showEmptyState=!0,e.controlGuidesInAllModules=n)),e.badgeHidden&&e.hasResourceCenterContent&&!e.isNativeModuleActive&&(o||(W.isFunction(e.placeBadge)&&e.placeBadge(),o=lr[e.id]),o&&o.show(),e.badgeHidden=!1)}function ol(e){var t,n;e&&e.launchMethod&&(e.skipResourceCenterHomeView=!1,e.hasResourceCenterContent=!0,delete e.moduleIdToReplaceHomeViewWith,n=e.activeModule,t=W.get(n,"attributes.resourceCenter.integrationProvider"),e.isNativeModuleActive=n&&te.isSupportedNativeIntegration(t),te.isFullyCustom(e)?e.hasResourceCenterContent=!0:((e.isShown()||!J.getters["frames/isLeader"]()?nl:il)(e,rl),e.isNativeModuleActive&&(e.isShown()&&e.hide(),n=lr[e.id])&&n.hide(),"dom"===e.launchMethod&&(te.updateNotificationBubbles(),te.adjustNotificationBubbleForResize())))}var al=function(){function e(e){void 0===e&&(e=50),this.startTime=-1,this.timeLimit=e,this.context=null}return e.prototype.start=function(){this.context=null,this.startTime=v()},e.prototype.isTimeExceeded=function(){return v()-this.startTime>this.timeLimit},e.prototype.saveContext=function(e){this.context=e},e.prototype.getContext=function(){return this.context},e}(),sl=function(){function e(e){this.phases=e,this.queue=[],this.paused=!1}return e.prototype.markDirty=function(){for(var e=0,t=this.phases;e<t.length;e++)t[e].markDirty();this.queue=this.phases.slice()},e.prototype.runGuidePhase=function(){for(var e,t,n,i=this.queue[0],r=new al(50);!this.timedOut()&&!i.isComplete()&&!e;)r.start(),!(e=i.process(r))&&r.isTimeExceeded()&&i.handleProcessTimeExceeded&&i.handleProcessTimeExceeded(r);kt(e)?(t=this.updateId,n=W.bind(function(){this.updateId===t&&(this.paused=!1,Vc())},this),this.paused=!0,e.then(n)["catch"](n)):i.isComplete()&&this.queue.shift()},e.prototype.addPhase=function(e,t){t=t||e.name||this.phases.length,W.isFunction(e)&&(e=new Xc(t,e)),this.phases.push(e)},e.prototype.removePhase=function(t){var e=W.findIndex(this.phases,function(e){return e.name===t});0<=e&&this.phases.splice(e,1)},e.prototype.timedOut=function(){return!!this.iterationStartTime&&v()-this.iterationStartTime>J.state.guideUpdate.iterationTimeLimit},e.prototype.process=function(){var e=v();for(this.updateId||(this.updateId=e,this.updateTotalTime=0,J.commit("guideUpdate/startUpdate",e)),this.iterationStartTime=e;!this.paused&&this.queue.length&&!this.timedOut();)this.runGuidePhase();e=v(),this.updateTotalTime+=e-this.iterationStartTime,this.isComplete()&&this.complete(e)},e.prototype.complete=function(e){J.commit("guideUpdate/completeUpdate",e),this.cancel()},e.prototype.cancel=function(){this.updateId=null,this.paused=!1;for(var e=this.queue.length=0,t=this.phases;e<t.length;e++){var n=t[e];W.isFunction(n.cancel)&&n.cancel()}},e.prototype.isComplete=function(){return!this.queue.length},e}(),ul=new sl([new tl,new Xc("resourceCenter",function(){ol(te.getResourceCenter())}),new Xc("frameVisibility",function(){J.dispatch("frames/checkFrameVisibility")}),new Xc("guideShowing",Qc),new zc]);function dl(){ul.addPhase.apply(ul,arguments)}function cl(){ul.removePhase.apply(ul,arguments)}function ll(){var s={};return W.each(["after","before"],function(i){this[i]=function(e,t){var n,r,o,a;this[e]&&((n=s[e])||(n=s[e]={before:[],after:[]},this[e]=(r=this[e],o=n.before,a=n.after,function(){for(var e=W.toArray(arguments),t=0,n=o.length;t<n;++t)if(!1===o[t].apply(this,e))return;var i=r.apply(this,e);for(t=0,n=a.length;t<n&&!1!==a[t].apply(this,e);++t);return i})),n[i].push(t))}},this),this}var fl="_pendo-badge_";function pl(e,t){var n;m.get("disablePrefetch")||(t=W.keys(t)).length&&(n=W.indexBy(e,"id"),W.each(t,function(e){var e=n[e];e&&(e=W.first(e.steps))&&W.isFunction(e.fetchContent)&&e.fetchContent(!0)}))}function hl(e){var t;return e&&((t=(t=e.props=e.props||{}).style=t.style||{}).cursor=t.cursor||"pointer"),e}function gl(i){return function(e){var t,n;return W.get(e,"props.data-localization-direction",!1)&&!i&&(t=W.get(e,"props.style.left","auto"),n=W.get(e,"props.style.right","auto"),t)&&n&&(e.props.style.left=n,e.props.style.right=t),e}}function ml(e,t){var n=e?["he","ar"]:[];return function(e){return n.includes(t)&&(e.props["data-localization-direction"]=!0),e}}function vl(e,n){var t,i,r=Uu(n),o=!(null==(o=null==e?void 0:e.attributes)||!o.resourceCenter),a=!1;return o&&(a=null==(t=null==(t=null==e?void 0:e.attributes)?void 0:t.badge)?void 0:t.ignoreRTL),"building-block"===e.attributes.type?(t=[ml(o,e.language),gl(a),hl,rd,oc].reduce(function(e,t){return t(e)},this.domJson)[0],i=t,$.removeNode(t),-1===i.className.indexOf("_pendo-badge_")&&(i.className+=" _pendo-badge_"),this.isP2Badge=!0):((i=ry.createElement("img")).src=id(this.imageUrl),i.className="_pendo-badge "+fl,o=this.width||13,a=this.height||13,so(i,"width:"+o+"px;height:"+a+"px;")),i.id="_pendo-badge_"+n.id,this.activate=function(){var e=W.isFunction(n.getGuide)&&n.getGuide(),t=Ap(e);!e.isShown()||J.getters["frames/isShownInAnotherFrame"]()(n)?Rp(n,"badge"):t?n.eventRouter.eventable.trigger("pendoEvent",{step:n,action:"dismissGuide"}):(t=W.find(e.steps,function(e){return e.isShown()}),fp(t))},this.show=function(){},this.hide=function(){$.removeNode(i)},Ap(e)&&(this.toggleAriaExpanded=function(){var e=!!$("#pendo-resource-center-container")[0],t=$("button._pendo-resource-center-badge-container")[0]||$('._pendo-resource-center-badge-container [id^="pendo-image-badge-"]')[0];t&&t.setAttribute("aria-expanded",e)},i.checkAriaExpanded=this.toggleAriaExpanded),this.step=W.constant(n),this.target=W.constant(r),this.element=W.constant(i),this}function yl(){return"inline"!==this.position&&"inline-right"!==this.position&&"inline-left"!==this.position||this.before("show",function(){var e,t=this.target(),n=this.element();this.isP2Badge&&so(n,"display:inline-block;vertical-align:text-bottom;"),this.css&&so(n,this.css),t&&t.tagName&&(e=t.tagName.toLowerCase(),/br|input|img|select|textarea/.test(e)?n.parentNode!==t.parentNode&&t.parentNode.insertBefore(n,t.nextSibling):n.parentNode!==t&&("inline"===this.position||"inline-right"===this.position?t.appendChild(n):"inline-left"===this.position&&t.prepend(n)))}),this}function bl(a){return this.position&&"top-right"!==this.position&&"top-left"!==this.position||this.before("show",function(){var e=this.element(),t=X(this.target()),n=0,i=0,r=0;if(this.offsets&&(n=this.offsets.top||0,i=this.offsets.right||0,r=this.offsets.left||0),!W.get(a,"attributes.resourceCenter",!1)){var o="position:"+(t.fixed?"fixed":"absolute")+";top:"+(t.top+n)+"px;";switch(this.position){case"top-right":o+="left:"+(t.left+t.width-i)+"px";break;case"top-left":o+="left:"+(t.left+r)+"px"}so(e,o)}e.parentNode||Pu().appendChild(e)}),this}function wl(){return"over"===this.position&&this.before("show",function(){var e=this.element(),t=X(this.target()),n="position:absolute;top:"+t.top+"px;left:"+t.left+"px;";n+="height:"+t.height+"px;width:"+t.width+"px;",so(e,n+="background-color:transparent;"),e.parentNode||Pu().appendChild(e)}),this}function Il(){var t=this,e=t.element(),n=!1,i=function(e){t.activate(),t.toggleAriaExpanded&&t.toggleAriaExpanded(),Tu(e)};return t.after("show",function(){n||(g(e,"click",i),n=!0)}),t.after("hide",function(){C(e,"click",i),n=!1}),t}function Sl(){var t,e,n,i=this.element(),r=this.step(),o=!1;return"yes"!==this.useHover&&!this.showGuideOnBadgeHover||(t=W.throttle(function(e){Si(e)===i||function(e){for(;e;){if(/_pendo-guide_|_pendo-guide-tt_|_pendo-backdrop|_pendo-badge_/.test(e.className))return!0;if(/pendo-guide-container/.test(e.id))return!0;e=e.parentNode}return!1}(Si(e))||n()},50,{trailing:!1}),e=function(e){r.isShown()||Rp(r,"badge"),g(ry,"mousemove",t),Tu(e)},n=function(e){C(ry,"mousemove",t),Nu()||fp(r)},this.after("show",function(){o||(g(i,"mouseover",e),o=!0)}),this.after("hide",function(){C(i,"mouseover",e),C(ry,"mousemove",t),o=!1})),this}function xl(){var e,t,n,i,s,u=this.element(),d=this.target(),r=!1;return(this.showBadgeOnlyOnElementHover||/hover/.test(this.showOnEvent))&&!Nu()&&(e="inline"===this.position?"visibility:visible;":"display:inline;",t="inline"===this.position?"visibility:hidden;":"display:none;",n=W.throttle(function(e){var t,n,i,r,o,a;Si(e)===d||Si(e)===u||eo(u,"triggered")||(t=e.clientX,e=e.clientY,n=Q(d),i=Q(u),r=Math.min(n.left,i.left),o=Math.min(n.top,i.top),a=Math.max(n.right,i.right),n=Math.max(n.bottom,i.bottom),i=e+ry.documentElement.scrollTop,r<=t&&t<=a&&o<=i&&i<=n)||s()},50,{trailing:!1}),i=function(){so(u,e),g(ry,"mousemove",n)},s=function(){C(ry,"mousemove",n),so(u,t)},this.after("show",function(){r||(g(d,"mouseover",i),r=!0,s())}),this.after("hide",function(){r&&(C(d,"mouseover",i),r=!1),s()})),this}vl.create=function(n){var i=vl.findStep(n);if(i)return W.reduce(vl.behaviors,function(e,t){return t.call(e,n,i)},n.attributes.badge)},vl.findStep=function(e){var t=W.find(e.steps,function(e){return!!e.elementPathRule});if(t&&e.attributes&&e.attributes.badge)return t},vl.behaviors=[ll,vl,yl,bl,wl,Il,Sl,xl];var El=function(e,t){var n,i,r=(t=t||lr)[e.id],o=r?r.step():vl.findStep(e);o&&(n=r?r.target():Uu(o),(i=W.get(e,"attributes.resourceCenter"))&&!J.getters["frames/canShowRCBadge"]()?r&&W.isFunction(r.hide)&&(o.overrideElement=oy,t[e.id]=oy,r.hide()):i&&!e.hasResourceCenterContent||(te.updateNotificationBubbles(),i=!0,o.elementContainsRulesList&&(i=n&&xp(n,o.elementContainsRulesList)),o.elementPathRule&&Po(n)&&l.matchesSelector(n,o.elementPathRule)&&i?((r=r||vl.create(e)).show(),t[e.id]=r):r&&!o.isShown()&&(o.overrideElement=oy,t[e.id]=oy,r.hide()),te.repositionDoubleResourceCenterBadge()))},Cl=function(){W.map(lr,_l),fr({})},_l=function(e){e&&W.isFunction(e.hide)&&e.hide()},Tl=function(e){e=lr[e.id];e&&_l(e)},Al=function(){W.map(lr,function(e){e&&e.show()})},Rl="pendo-preview",kl="current-guide-preview",_;function Ll(e){return J.dispatch("preview/load"),Ol(e)}function Ol(e){var t=nf();if(t)return Ml(e),J.dispatch("preview/start",W.extend(t)),d.clear(Oc),Bt(!1),ba.lock(),ih(sf),w.startPreview.trigger(),w.leaderChanged.on(function(e){J.dispatch("preview/write"),e.oldLeaderId||zh(),J.getters["frames/isLeader"]()||$(_).remove()}),dl(Nl),!0}function Nl(){return J.getters["frames/isFollower"]()||Zl(ry,p(),Fc()),!0}function Ml(e){if(J.getters["frames/leaderExists"]()){if(!J.getters["frames/isFollower"]()){if(_)return!0;W.isFunction(e.addEventListener)&&e.addEventListener("message",Dl),_=zl(),bo().appendChild(_)}}else w.one("leaderChanged",W.partial(Ml,e))}function Pl(e,t,n){op(),J.commit("healthCheck/resetStepStatus",null,{root:!0}),dd.reset(),zh();var i=e[0],i=(i&&W.each(i.steps,function(e){e.seenState=null}),d.clear(Oc),Hl(null),nf());return i&&(i=W.findWhere(e,{id:i.guideId}))&&(i={stepId:i.steps[0].id},n&&(i.language=n),J.dispatch("preview/restart",i)),Vl(e,t)}function Fl(e){_&&_.style&&(_.style.height=e)}function Dl(e){var t,n;e.origin===location.origin&&(t=e.data.type,n=!!e.data.preventWindowClose,t===Rl+"::exit"?(Ql({preventWindowClose:n}),J.dispatch("frames/stopPreview",{preventWindowClose:n})):t===Rl+"::restart"?(n=Pl(p(),Fc(),e.data.language),J.dispatch("guideState/forceExpire"),J.dispatch("guideState/updateLastGuideStepSeen",n),J.dispatch("frames/restartPreview")):t===Rl+"::resize"?Fl(e.data.height):t===Rl+"::request-preview-mode-type"&&(n=rf(),_)&&_.contentWindow&&n&&_.contentWindow.postMessage({mutation:"preview/setPreviewModeType",payload:{previewModeType:n.previewModeType||"NEW_TAB"}},location.origin))}function Ul(){return J.getters["preview/isInPreviewMode"]()}function Gl(){var e,t=rf();return t?Bl()?(e=["domJsonpUrl","domUrl"],W.each(t.guide.steps,function(t){W.each(e,function(e){delete t[e]})}),t.guide.showsAfter=null,t.guide.expiresAfter=null,[t.guide]):void 0:[]}function Bl(){return J.getters["preview/isInDesignerPreviewMode"]()}function Hl(e){J.dispatch("preview/update",e)}function zl(){var t=ry.createElement("iframe");t.id=Rl,t.src="about:blank";return co(t,{border:"none",display:"block !important",height:"70px","min-height":"70px",left:0,position:"fixed",right:0,top:0,visibility:"visible !important",width:"100%","z-index":4e5}),t.onload=function(){var e=ry.createElement("script");e.src=Vf(),t.contentDocument.body.appendChild(e),t.contentWindow.ignoreIframeMonitor=!0},t}function jl(e){var t=nf();return t?(t.isResourceCenter?Wl:Kl)(e,t):e}function Wl(e,t){var n=te.findResourceCenterHomeView(e),e=W.filter(e,function(e){return e.id!==n.id}),t=(Jl(n,t.stepId),W.map(e,function(e){return e.launchMethod="launcher",e}));return[n].concat(t)}function ql(e){"launcher"===e.launchMethod?e.launchMethod="auto-launcher":"api"===e.launchMethod&&(e.launchMethod="auto")}function Kl(e,t){e=W.find(e,function(e){return e.id===t.guideId});return ql(e),e.showsAfter=null,e.expiresAfter=null,Jl(e,t.stepId),[e]}function Jl(e,t){for(var n=W.find(e.steps,function(e){return e.id===t}),i=n?e.steps.indexOf(n):0,r=0;r<e.steps.length;r++)r<i?(e.steps[r].seenState="advanced",e.steps[r].seenReason="continue"):(e.steps[r].seenState=null,e.steps[r].seenReason=null)}function Vl(e,t){null==t&&(t={});var n=nf();if(!n)return t;e=W.findWhere(e,{id:n.guideId});if(!e)return t;if(n.state)return n.state;ql(e);t=-1<e.launchMethod.indexOf("auto");return n.stepId!==e.steps[0].id||t?{guideId:n.guideId,guideStepId:n.stepId,state:"active"}:{}}function $l(e,t){_&&_.contentWindow&&_.contentWindow.postMessage({mutation:"preview/setGuideLoadError",payload:{guideLoadError:t}},location.origin)}function Zl(e,t,n){var i,r,o,a,s,u;Ul()&&(i=nf())&&_&&_.contentWindow&&(t&&t.length?(_.contentWindow.postMessage({mutation:"preview/setGuideLoaded",payload:{guideLoaded:!0}},location.origin),r=W.find(t,function(e){return e.id===i.guideId}),o=0,a=r.steps.length,s=n||{},W.find(r.steps,function(e,t){return s.guideStepId===e.id&&("dismissed"===s.state||"active"===s.state?o=t:"advanced"===s.state&&s.destinationStepId?o=W.indexOf(r.steps,W.find(r.steps,function(e){return e.id===s.destinationStepId})):"advanced"===s.state&&t===a-1&&(o=a),!0)}),t="dismissed"===s.state,n=a-1<=o,t=t||n,n=n?a-1:o,u=r.steps[n],_.contentWindow.postMessage({mutation:"preview/setHostname",payload:{hostname:Ze}},location.origin),_.contentWindow.postMessage({mutation:"preview/setGuidePages",payload:{guidePages:r.previewPages}},location.origin),_.contentWindow.postMessage({mutation:"preview/setGuideProgress",payload:{guideName:r.name,guideAttributes:y.stringify(r.attributes),guideLaunchMethod:r.launchMethod,guideActivationSelector:Gu(r),isAdoptGuide:r.isTraining,isResourceCenter:i.isResourceCenter,stepId:u&&u.id,currentStepIndex:n,stepCount:a,elementPathRule:u.elementPathRule,elementContainsRulesList:u.elementContainsRulesList,pageId:u.pageId,completed:t,languageOptions:W.get(i,"languageOptions",[]),currentLanguage:i.language}},location.origin),Xl(u,n,_)):$l(e,{status:404,data:"Guide not found"}))}function Yl(e){var t,n;_&&_.style&&(t=W.first($('#pendo-resource-center-container, [id^="pendo-g-"]')))&&(t=Y(t))&&(n={mutation:"preview/setIsPreviewBarTop",payload:{isPreviewBarTop:!1}},"0px"===t.top?(_.style.top="auto",_.style.bottom="0px",_.contentWindow.postMessage(n,location.origin)):"0px"!==t.bottom&&_.style.top||(_.style.top="0px",_.style.bottom="auto",n.payload.isPreviewBarTop=!0,_.contentWindow.postMessage(n,location.origin)))}function Xl(a,t,s){var n,e;a&&(n=a.getGuide().id,(e=W.filter(J.state.frames.frames,function(e){return"hidden"!==e.visibility&&e.guides&&e.guides[n]})).length)&&(e=W.map(e,function(e){return T.postMessageOrTimeout({action:"frames/checkGuideEligibility",targetFrame:e.id,stepId:a.id,guideId:n,currentStepIndex:t})}),K.all(e).then(function(e){for(var t={},n=-1,i=0;i<e.length;i++){var r=e[i].errors;if(!r.GUIDE){var o=W.keys(r).length;if(!o){t={};break}a.regexUrlRule?!r.PAGE&&(o<=n||-1===n)&&(t=r,n=o):(o<n||-1===n)&&(t=r,n=o)}}s.contentWindow.postMessage({mutation:"preview/setErrors",payload:{errors:t}},location.origin)}))}function Ql(e){var t=rf(),n=!1,i=(t&&(n="SAME_TAB"===t.previewModeType),An.getItem("pendo-navigation-state"));if(J.dispatch("preview/exit"),d.clear(Oc),ba.unlock(),$(_).remove(),rh(),zh(),cl(Nl),Bt(!0),n&&i){An.setItem(kl,y.stringify(W.extend(t,{isExitBackToDesigner:!0})));try{var r=y.parse(i),o={target:r.baseUrl,gcsBucket:r.gcsBucket,preloader:!0,DADesigner:r.isDADesigner,host:r.host,forceNativeDesigner:"web"===t.guide.appPlatform};J.dispatch("preview/launchInAppDesigner",o)}catch(a){J.dispatch("preview/exitDesignerPreview")}}else e&&!e.preventWindowClose&&iy.close()}function ef(e,t){e=W.get(e(),t);if(e)return y.parse(y.stringify(e))}function tf(){return J}var nf=W.partial(ef,tf,"state.preview.preview"),rf=W.partial(ef,tf,"state.preview.designerPreview");function of(e){var t;if(e.subscriptionId&&e.guideId)return t=e.isResourceCenter?"/resourcecenter/":"/guide/","/api/s/"+Ot(e.subscriptionId)+t+Ot(e.guideId)+"/preview"}var af=function(e){var t;return Go(e.origin)?(t=of(e))?(t={url:e.origin+t+"?url="+Ot(f.get())+"&apiKey="+S.apiKey,withCredentials:!0},e.headers&&(t.headers=e.headers),Ei(t).then(function(e){return e.data.guide})):(q("Invalid guide url, exiting preview"),K.reject("invalid guide url")):(q("Invalid origin, exiting preview"),K.reject("invalid origin"))},sf={load:function(e,t){return df(e,t)},post:function(e,t,n){return df(e,n)},endpoint:function(){return""},usesXhr:function(){return!1}};function uf(n,t){var e,i,r;return Go(n.origin)?(e=of(n))?J.getters["frames/leaderExists"]()&&n.apiKey===S.apiKey?Bl()?(i=Gl(),S.guidesPayload({id:t,lastGuideStepSeen:Vl(i,S.lastGuideStepSeen),guides:i}),K.resolve()):(i={url:n.origin+e+"?url="+Ot(f.get())+"&apiKey="+S.apiKey,withCredentials:!0},n.headers&&(i.headers=n.headers),r=[],Ei(i).then(function(e){e=e.data;return Bl()||(r=n.isResourceCenter?e.guide:(e.guide.previewPages=e.pages,[e.guide])),n.language&&n.language!==W.get(r,"[0].authoredLanguage")&&cf(r,n.language.value),n.watermarkConfig&&(e.guide.isTraining=!0),S.guideWidget={enabled:!1,data:{guideCssUrl:e.guideCssUrl}},S.guideCssUrl=e.guideCssUrl,S.normalizedUrl=e.normalizedUrl,S.throttling=oy,e.guide}).then(function(e){var t;return n.watermarkConfig?(t=y.parse(y.stringify(n)),t=Object.assign(t,n.watermarkConfig),af(t)):e}).then(function(e){e.attributes&&e.attributes.isWatermark&&r.push(e),Bl()||S.guidesPayload({id:t,lastGuideStepSeen:Vl(r,S.lastGuideStepSeen),guides:jl(r)})})["catch"](function(e){return $l(ry,e),K.reject(e)})):(S.guidesPayload({id:t,lastGuideStepSeen:{},guides:[]}),K.resolve()):(q("Invalid guide url, exiting preview"),K.reject("invalid guide url")):(q("Invalid origin, exiting preview"),K.reject("invalid origin"))}function df(e,t){var n=nf();return!n||!of(n)||!(e=/[?&]id=(\d+)/.exec(e))||e.length<1?K.reject():uf(n,e[1]).then(t)}function cf(e,o){W.forEach(e,function(r){W.forEach(r.steps,function(e){var t=W.get(r,"translationStates."+o+".stepTranslations."+e.id+".domHash"),n=W.get(r,"translationStates."+o+".stepTranslations."+e.id+".domJsonpHash"),i=W.get(r,"translationStates."+o+".stepTranslations."+e.id+".translationHash");t&&n&&i&&(e.domUrl=e.domUrl.replace(".dom.json","-"+t+"-"+o+".dom.json"),e.domJsonpUrl=e.domJsonpUrl.replace(".dom.jsonp","-"+n+"-"+o+".dom.jsonp"),e.buildingBlocksUrl=e.buildingBlocksUrl.replace(".buildingBlocks.json","-"+i+"-"+o+".buildingBlocks.json"))})})}var lf=function(){var n=null,i=[],r=function(e){S.apiKey=e+="",n=e};return{getApiKey:function(){return S.apiKey},discoverKeys:function(e){var t=e.apiKey,e=e.additionalApiKeys,e=void 0===e?[]:e;n=null,i=[],t=t,(t=m.get("apiKey",t))&&r(t),t=e,t=m.get("additionalApiKeys",t),i=W.reduce(t,function(e,t){return t&&e.push(t+""),e},[]),i=[].concat(t),S.additionalApiKeys=i,!n&&i&&i.length&&r(i[0])},getAdditionalApiKeys:function(){return S.additionalApiKeys},tamperedWith:function(){return S.apiKey!==n||S.additionalApiKeys!==i}}}(),ff=function(){var a=Ze,n="in-app-designer",i="latest";function e(e){if(!e.ignoreLocalStorageNavigation){var t,e=An.getItem("pendo-navigation-state");if(e&&J.getters["frames/isLeader"]()){try{t=y.parse(e)}catch(n){return}if(!t.apiKey||t.apiKey===lf.getApiKey())if(t.apiKey||!t.agentInstallType||t.agentInstallType===be())return e=t.isDADesigner?"da-designer":"in-app-designer",e={target:t.baseUrl,preloader:!0,host:t.host,gcsBucket:t.gcsBucket||e,DADesigner:t.isDADesigner,forceNativeDesigner:!!t.forceNativeDesigner,sidebarDesigner:!!t.sidebarDesigner},ff.launchInAppDesigner(e),!0}}}return"local"===Qe&&(a="https://local.pendo.io:8080"),w.leaderChanged.on(function(){e({ignoreLocalStorageNavigation:/pendo-/.test(iy.name)||Bl()})}),{launchDesigner:function(e){var t,n="latest",i="designer";p("designer-styles","@keyframes pendoExtensionSlideIn{from{transform:translate3d(-300px,0,0)}to{transform:translate3d(0,0,0);}}#pendo-draggable-handle{z-index:11;line-height: 15px;text-align:center;font-size:20px;letter-spacing:1.5px;position:absolute;width:100%;height:65px;font-size:16px;background-color:transparent;color:#ABE7DB;user-select:none;cursor: move;cursor: grab;cursor: -moz-grab;cursor: -webkit-grab;}#pendo-draggable-handle:active{cursor: grabbing;cursor: -moz-grabbing;cursor: -webkit-grabbing !important;}#pendo-draggable-handle.hidden{display:none;}#pendo-draggable-handle:hover{color:#2EA2A0;}#pendo-designer-container{animation-duration:375ms;animation-name:pendoExtensionSlideIn;animation-timing-function:cubic-bezier(0.4,0.0,0.2,1); box-shadow: 0px 2px 10px rgba(0,0,0,0.15);height:100vh;width:400px;position:fixed;top:0;left:0;overflow:hidden;border-radius:3px;z-index:1000000;}#pendo-mousemove-cover{position:absolute;height:100%;width:100%;top:0;left:0;z-index:9999999999;display:none;}#pendo-designer-container.fullscreen{width:100%;opacity:0.98;}#pendo-designer-container.closed{left:-400px;}#pendo-designer-iframe{background:#3a3c45;border:0px;height:100%;left:0;z-index:10;top:0;width:100%;}"),h("designer-shims",a+"/"+i+"/"+n+"/plugin.js"),S.DESIGNER_VERSION?l(n,i):t=iy.setInterval(function(){S.DESIGNER_VERSION&&(l(n,i),clearInterval(t))},100)},launchInAppDesigner:s,localStorageNavigation:e,launchOnToken:function(e){if(!g(iy.name)){var t=/pendo-designer=([A-Za-z0-9-]+)/;if(t.test(e)){var e=t.exec(e);if(e)return t=function(e){try{return y.parse(atob(Lt(e)))||{}}catch(Ut){return{}}}(e[1]),e=u(t),t=c(t),iy.localStorage.removeItem("pendo-navigation-state"),iy.localStorage.removeItem("pendo-designer-mode"),s({target:t,host:e,preloader:!1}),!0}}},sendMessageToLocalStorage:function(e){var t=ry.getElementById("pendo-designer-communication-iframe");t&&t.contentWindow.postMessage(e.data,ff.hostConfig.host)},isValidDesignerHost:r,isValidTarget:o,addCommunicationIframe:function(e,t){e=e||{};W.isFunction(t)||(t=W.noop);var n=c(e),e=d(e),i=(new Date).getTime(),r=(ff.windowCommunicationId=i,"pendo-designer-communication-iframe");if(ry.getElementById(r))return t(),ry.getElementById(r);var o="pendo-designer-communication-embedded";o+="__"+i;i=f(r,a+"/"+e+"/"+n+"/communication.html","border-width:0;height:0;width:0;");return i.setAttribute("name",o),i.onload=t,ry.body.appendChild(i),i},addStylesToPage:p,hostConfig:{host:a},isDesignerFrame:g,addScriptToPage:h};function r(e){return!!e&&Go(e)}function u(e){var e=(e=e||{}).host||a,t=r(e),e=t?e:Ze;return t||q("Invalid host, falling back to "+Ze),e}function d(e){var e=(e=e||{}).gcsBucket||n,t="in-app-designer"===(t=e)||"da-designer"===t||"adopt-studio"===t,e=t?e:n;return t||q("Invalid bucket, falling back to "+n),e}function o(e){return"latest"===e||"beta"===e||"via"===e||"mobile"===e||new RegExp("^[0-9]+.[0-9]+.[0-9]+(-[a-z0-9-]+[a-z0-9]+)?$").test(e)}function c(e){var e=(e=e||{}).target||e.baseFolder||i,t=o(e),e=t?e:i;return t||q("Invalid target, falling back to "+i),e}function s(e){if(!g(iy.name)&&!S.designerLaunched){var t,n,i,r,o,a=!1;try{a=!!iy.top.pendo}catch(s){}ff.crossFrameChannel===oy&&(ff.crossFrameChannel=T,ff.useCrossFrameChannel=!0),ha()&&a&&!e.allowChildFrame&&!e.selectionOnly?q("skipping designer launch from a child frame. pass `allowChildFrame: true` to override"):S.isReady()?(S.designerLaunchTime=(new Date).getTime(),a=u(e=e||{}),i=d(e),r=c(e),n=e.preloader?"preloader.js":"plugin.js",t=e.preloader?"preloader-shims":"designer-shims",n=a+"/"+i+"/"+r+"/"+n,ff.hostConfig={gcsBucket:i,baseFolder:r,uniqueWindowId:e.uniqueWindowId,host:a,adoptv2:e.adoptv2,DADesigner:e.DADesigner,agentInstallType:be(),forceNativeDesigner:!!e.forceNativeDesigner,sidebarDesigner:!!e.sidebarDesigner,apiKey:lf.getApiKey()},i={},e.selectionOnly&&(i["selection-only"]=!0),r=m.get("designerAgentPluginsLoader"),a=iy.__pendoExtensions&&e.forceNativeDesigner,o=!iy.__pendoExtensions&&!W.isFunction(r),(a||o)&&(ff.addScriptToPage(t,n,i),S.designerLaunched=!0),!e.forceNativeDesigner&&W.isFunction(r)&&(r(t,n,i),S.designerLaunched=!0)):I("Unable to launch the designer, the agent has not been initialized. Please use `pendo.initialize` prior to launching the designer","",null,Xn.Low)}}function l(e,t){iy.postMessage({type:"connect",source:"pendo-designer-content-script",destination:"pendo-designer-agent"},location.origin);var n;ry.getElementById("pendo-designer-container")||(n="pendo-designer-embedded",n+="__"+ff.windowCommunicationId,(t=f("pendo-designer-iframe",a+"/"+t+"/"+e+"/designer.html")).setAttribute("name",n),e=function(e){var t=ry.createElement("div");return t.setAttribute("id","pendo-designer-container"),t.appendChild(e),t}(t),ry.body.appendChild(e))}function f(e,t,n){var i=ry.createElement("iframe");return i.setAttribute("id",e),n&&so(i,n),i.setAttribute("sandbox","allow-scripts allow-same-origin allow-top-navigation allow-forms allow-pointer-lock allow-popups"),i.src=t,i}function p(e,t){var n;ry.getElementById(e)||((n=ry.createElement("style")).setAttribute("id",e),n.type="text/css",e=ry.createTextNode(t),n.appendChild(e),ry.getElementsByTagName("head")[0].appendChild(n))}function h(e,t,n){var i;ry.getElementById(e)||((i=ry.createElement("script")).setAttribute("charset","utf-8"),i.setAttribute("id",e),i.src=Ee().createScriptURL(t),n&&W.forEach(n,function(e,t){i.setAttribute(t,e)}),ry.body.appendChild(i))}function g(e){try{var t=y.parse(e);return/^pendo-/.test(t.frameName)||/^pendo-/.test(t.frame)}catch(Ut){return!1}}}(),pf=function(){var a={body:"pendo-launch-modal-body",closeButton:"pendo-launch-modal-close-button",container:"pendo-launch-modal",footer:"pendo-launch-modal-footer",header:"pendo-launch-modal-header",launchButton:"pendo-launch-modal-launch-button",title:"pendo-launch-modal-title",logoContainer:"pendo-launch-modal-logo-container",style:"pendo-launch-modal-style",commIframeId:"pendo-designer-communication-iframe"},s={GRAY_LIGHTER_6:"#EAECF1",GRAY_PRIMARY:"#2A2C35",PENDO_PINK:"#FF4876",TEAL_DARKER:"#036463",TEAL_PRIMARY:"#008180",WHITE:"#FFFFFF"},u={BUTTON_HEIGHT:35,HEADER_HEIGHT:60,MODAL_HEIGHT:235,MODAL_TOP_OFFSET:150,MODAL_WIDTH:370},d=(u.FOOTER_HEIGHT=1.25*u.HEADER_HEIGHT,u.BODY_HEIGHT="calc(100% - "+u.HEADER_HEIGHT+"px - "+u.FOOTER_HEIGHT+"px)",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 164.12 164.12"><defs><style>.cls-1{fill:#fff;}</style></defs><title>chevron</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><polygon class="cls-1" points="82.06 0 0 82.06 82.06 82.06 82.06 164.13 164.13 82.06 164.13 0 82.06 0"/></g></g></svg>'),c={},l=(c["#"+a.closeButton+":hover"]={"background-color":s.GRAY_LIGHTER_6},c["#"+a.launchButton+":hover"]={"background-color":s.TEAL_DARKER+" !important"},{PRIMARY_FONT:"Helvetica Neue"});return{listen:function(){W.isFunction(ry.addEventListener)&&ry.addEventListener("keyup",function(e){e.shiftKey&&e.altKey&&"Digit7"===e.code&&t(!0),e.shiftKey&&e.altKey&&"Digit8"===e.code&&t(!1,!0)},!1)},launchOnLocalStorageToken:v,ids:a,removeElement:h,attemptToLaunch:t,loadPluginJs:function(){var t;S.designerLaunched||(t=W.once(function(e){v(e,!0)}),va(function(e){"pendo-designer-launch-modal"===e.data.destination&&e.data.token&&t(e.data.token)}))}};function f(e,t){var n,i,r,o={"background-color":s.WHITE,height:u.MODAL_HEIGHT+"px","min-height":u.MODAL_HEIGHT+"px",width:u.MODAL_WIDTH+"px",position:"fixed",top:u.MODAL_TOP_OFFSET+"px",left:"50%","margin-left":-u.MODAL_WIDTH/2+"px","border-radius":"4px","box-shadow":"0px 13px 28px rgba(0, 0, 0, 0.17)",overflow:"hidden","z-index":"300000","box-sizing":"border-box"},o=p("div",a.container,o);o.appendChild(((i=ry.createElement("style")).setAttribute("id",a.style),i.type="text/css",r=ry.createTextNode(function(e){return W.reduce(W.pairs(e),function(e,t){var n=t[0],t=t[1];return e+n+"{"+W.reduce(W.pairs(t),function(e,t){return e+t[0]+":"+t[1]+";"},"")+"} "},"")}(c)),i.appendChild(r),i)),o.appendChild((r=t,i=p("div",a.header,{"background-color":s.GRAY_PRIMARY,height:u.HEADER_HEIGHT+"px","min-height":u.HEADER_HEIGHT+"px",width:"100%",padding:"10px 20px",display:"flex","align-items":"center","box-sizing":"border-box"}),(t=p("div",a.logoContainer,{height:"38px",width:"44px","background-color":s.PENDO_PINK,padding:"8px","border-radius":"3px","box-sizing":"border-box"})).innerHTML=Ee().createHTML(d),i.appendChild(t),(t=p("div",a.title,{width:"100%",display:"flex","align-items":"center","font-family":l.PRIMARY_FONT,"font-size":"18px",color:s.WHITE,"margin-left":"10px","box-sizing":"border-box"})).innerText=r?"VIA Designer":"Pendo Designer",i.appendChild(t),i)),o.appendChild(((r=p("div",a.body,{height:u.BODY_HEIGHT,"min-height":u.BODY_HEIGHT,width:"100%",display:"flex",padding:"32px 20px","font-family":l.PRIMARY_FONT,"font-size":"14px","box-sizing":"border-box"})).innerText="Thanks for letting us know you're here. We're ready to try this again. Launch Designer below to begin.",r)),o.appendChild((n=e,t=p("div",a.footer,{"align-items":"center","border-top":"1px solid"+s.GRAY_LIGHTER_6,display:"flex",height:u.FOOTER_HEIGHT+"px","justify-content":"flex-end","min-height":u.FOOTER_HEIGHT+"px",padding:"10px",width:"100%","box-sizing":"border-box"}),(i=p("button",a.closeButton,{"border-radius":"3px",border:"none",height:u.BUTTON_HEIGHT+"px","padding-right":"10px","padding-left":"10px","font-family":l.PRIMARY_FONT,"font-size":"14px",display:"flex","line-height":"120%","margin-right":"10px","min-width":"90px","justify-content":"center","box-sizing":"border-box"})).textContent="Close",i.onclick=function(){h(a.container),h(a.commIframeId)},(r=p("button",a.launchButton,{"background-color":s.TEAL_PRIMARY,"border-radius":"3px",color:s.WHITE,border:"none",height:u.BUTTON_HEIGHT+"px","padding-right":"10px","padding-left":"10px","font-family":l.PRIMARY_FONT,"font-size":"14px",display:"flex","line-height":"120%","min-width":"90px","justify-content":"center","box-sizing":"border-box"})).textContent="Launch Designer",r.onclick=function(){v(n)},t.appendChild(i),t.appendChild(r),t)),ry.body.appendChild(o)}function p(e,t,n){e=ry.createElement(e);return e.setAttribute("id",t),W.extend(e.style,n),e}function t(t,n){var i,r,o;S.designerLaunched||(o=W.once(function(e){t||!n?v(e):f(e,t),g()}),va(function(e){"pendo-designer-launch-modal"===e.data.destination&&(clearInterval(i),e.data.viaconfirmed?clearInterval(r):e.data.token?(o(e.data.token),e=y.parse(e.data.token),W.contains(e.host,"via")&&!e.visitorId&&(r=r||setInterval(function(){ry.getElementById(a.commIframeId)&&m()},100))):g())}),ff.addCommunicationIframe({defaultBucket:"in-app-designer"},function(){m(),i=iy.setInterval(m,50)}))}function h(e){ry.getElementById(e)&&ry.getElementById(e).remove()}function g(){var e=ry.querySelector("#"+a.commIframeId+'[src*="pendo"]');e&&e.remove()}function m(){var e=ry.getElementById(a.commIframeId);e&&e.contentWindow&&W.isFunction(e.contentWindow.postMessage)&&e.contentWindow.postMessage({destination:"pendo-designer-ls",source:"pendo-designer-launch-modal",visitorId:S.visitorId},W.get(S,"designerv2.hostConfig.host",Ze))}function v(e,t){var n={},e=y.parse(e);n.target=e.target||"latest",e.host&&(n.host=e.host),e.lookaside&&(n.lookaside=e.lookaside),t&&(n.selectionOnly=t),e.forceNativeDesigner&&(n.forceNativeDesigner=e.forceNativeDesigner),e.sidebarDesigner&&(n.sidebarDesigner=e.sidebarDesigner),h(a.container),ff.launchInAppDesigner(n)}}();function hf(e){var t=K.defer();return qo(e,function(){t.resolve()}),t.promise}function gf(e,t){return 0<W.size(Ku._handlers.validateGlobalScript)?Ei.get(t).then(function(e){return Ku.validateGlobalScript(e.data)}).then(function(){return e(t)}):e(t)}function mf(e,t){return t?e(t):K.resolve()}var vf=W.wrap(W.once(W.wrap(hf,gf)),mf),yf={initializeWatermark:function(e){e=W.filter(e,function(e){return e&&e.attributes&&e.attributes.isWatermark}),yf.watermarkGuides=e,e=W.map(e,function(e){return e.fetchContent()});return K.all(e)},buildWatermark:function(e,t){if((e=e||{}).isTraining){var n=e.targetAccount?function(t){return W.find(yf.watermarkGuides,function(e){return t===e.targetAccount})}(e.targetAccount):function(t){return W.find(yf.watermarkGuides,function(e){return t===e.appId})}(e.appId);if(n&&n.steps){var i,n=n.steps[0];if(n&&n.domJson)return i=n.domJson,(i=t(i,n)).css({position:"absolute",left:"auto",top:e.isBottomAligned?"auto":"100%",bottom:e.isBottomAligned?"100%":"auto",right:"0"}),i}}}},bf=1e4;function wf(n,i){var r=!1,o=[];return n.addEventListener("message",function(e){u(e.data),i.state.guideUpdate.useObserver&&i.dispatch("guideUpdate/documentChanged")}),{postMessage:a,postMessageAsPromise:s,postMessageOrTimeout:function(e,t){void 0===t&&(t=bf);var n=K.defer(),i=It(32),r=(e=W.extend(e,{promiseId:i}),setTimeout(function(){n.reject({message:"request timed out",originalMessage:e}),delete o[i]},t));return s(e).then(function(e){clearTimeout(r),n.resolve(e)}),n.promise},close:function(){r=!0,W.isFunction(n.close)&&n.close()}};function a(e){var t;r||(t=W.extend({apiKey:S.apiKey,allowMixedApiKeyFrames:m.get("allowMixedApiKeyFrames"),agentInstallType:be()},e),n.postMessage(t),setTimeout(function(){u(t)},0))}function s(e){e.promiseId||(t=It(32),e=W.extend(e,{promiseId:t}));var t=K.defer();return o[e.promiseId]=t,a(W.extend(e,{sourceFrame:i.state.frames.frameId})),t.promise}function u(e){try{var t;r||e.apiKey!==S.apiKey&&(!1===e.allowMixedApiKeyFrames||!1===m.get("allowMixedApiKeyFrames"))||e.targetFrame&&e.targetFrame!==i.state.frames.frameId||(e.resolveId?(t=o[e.resolveId])&&(t.resolve(e),delete o[e.resolveId]):/^frames\//.test(e.action)&&i.dispatch(e.action,e))}catch(Ut){I(Ut,"ERROR in cross frame channel")}}}var If="frames/removeFrame";function Sf(e){if(!W.isString(e))return e;try{return y.parse(e)}catch(Ut){return e}}function xf(e,t){return new(W.isFunction(e.MessageChannel)?Af:Rf)(e,t)}function Ef(e,t,n){return new Cf(e,t,n,xf(t,n))}function Cf(e,t,n,i){this.init(e,t,n,i)}W.extend(Cf.prototype,{init:function(e,t,n,i){this._store=e,this._window=t,this._singletonMessageHandler=n,this._listeners=[],this._targetOrigin=n.targetOrigin(),this._impl=i,this._impl.onconnect=W.bind(this._frameConnectHandler,this),this._impl.onmessage=W.bind(this._fireMessageListeners,this),this._impl.onrelay=W.bind(this._topMessageHandler,this),this._connectToTop(10,0,function(){this._addControlMessageHandler(),this._connectToTop(250,21,function(){this.close(),this._store.commit("frames/setConnectFailed")})})},_fireMessageListeners:function(t){W.each(this._listeners,function(e){e(t)})},_controlMessageHandler:function(e){e=this._impl._parseMessage(e);e.data&&("pendo::connect"===e.data.action&&this._impl.frameConnect(e),e.data.action===If)&&this._topMessageHandler(e)},_topMessageHandler:function(e){!e.data||/^pendo::/.test(e.data.action)||this._closed||(e.data.action===If&&this._impl.frameDisconnect(e),this._impl.broadcast(e))},_connectToTop:function(e,t,n){this._impl.connectToTop({action:"pendo::connect",frameId:this._store.state.frames.frameId},this._targetOrigin),setTimeout(W.bind(function(){this._connected||(0===t?W.isFunction(n)&&n.call(this):0<t&&this._connectToTop(Math.min(2*e,1e4),t-1,n))},this),e)},_addControlMessageHandler:function(){this._singletonMessageHandler.addEventListener(W.bind(this._controlMessageHandler,this))},_frameConnectHandler:function(e){e.data&&"pendo::connectSuccess"===e.data.action&&(this._connected=!0,this._impl.connectSuccess(e),this._store.dispatch("frames/join"))},addEventListener:function(e,t){"message"===e&&this._listeners.push(t)},postMessage:function(e){this._closed||this._impl.postMessage(e)},close:function(){this._closed=!0,this._listeners.length=0,this._impl.close()}});var _f={_frameConnectHandler:function(e){W.isFunction(this.onconnect)&&this.onconnect(this._parseMessage(e))},_messageReceived:function(e){W.isFunction(this.onmessage)&&this.onmessage(this._parseMessage(e))},_relayMessage:function(e){W.isFunction(this.onrelay)&&this.onrelay(this._parseMessage(e))},_parseMessage:function(e){var t;return W.isString(e.data)?((t=W.pick(e,"type","origin","source","ports","lastEventId","target")).data=Sf(e.data),t):e}};function Tf(t){return t&&W.all(["addEventListener","start"],function(e){return W.isFunction(t[e])})}function Af(e,t){this._window=e,this._ports={},this._singletonMessageHandler=t,this._targetOrigin=t.targetOrigin()}function Rf(e,t){this._window=e,this._frames={},this._isTop=e==e.top,this._singletonMessageHandler=t,this._boundMessageReceived=W.bind(this._messageReceived,this),this._isTop||(this._boundFrameConnectHandler=W.bind(this._frameConnectHandler,this),t.addEventListener(this._boundFrameConnectHandler))}function kf(t,e){var n=[],i=!1;return{targetOrigin:function(){return i?location.origin:"*"},secure:function(e){i=e},addEventListener:function(e){0===n.length&&t.addEventListener("message",r),n.push(e)},removeEventListener:function(e){e=n.indexOf(e);0<=e&&n.splice(e,1),0===n.length&&t.removeEventListener("message",r)}};function r(t){i&&!e(t.origin)||W.each(n,function(e){W.isFunction(e)&&e(t)})}}W.extend(Af.prototype,_f,{connectToTop:function(e,t){this._closeChannel(),this._openChannel();var n=[];this._channel.port2&&n.push(this._channel.port2),this._window.top.postMessage(e,t,n)},frameConnect:function(e){var t=e.ports[0];Tf(t)&&((this._ports[e.data.frameId]=t).addEventListener("message",W.bind(this._relayMessage,this)),t.start(),t.postMessage({action:"pendo::connectSuccess"}),t.postMessage({action:"frames/receiveFrame",frame:J.state.frames.frames[J.state.frames.frameId],"pendo-preview":J.state.preview.preview}))},frameDisconnect:function(e){delete this._ports[e.data.frameId]},connectSuccess:function(){this._port.removeEventListener("message",this._boundFrameConnectHandler),this._port.addEventListener("message",W.bind(this._messageReceived,this))},broadcast:function(t){W.each(this._ports,function(e){t.target!==e&&e.postMessage(t.data)})},postMessage:function(e){this._port&&this._port.postMessage(e),e.action===If&&this._window.top.postMessage(e,this._targetOrigin)},close:function(){W.each(this._ports,function(e){e.close()}),this._ports={},this._closeChannel()},_openChannel:function(){this._channel=new this._window.MessageChannel,this._port=this._channel.port1,this._boundFrameConnectHandler=W.bind(this._frameConnectHandler,this),this._port.addEventListener("message",this._boundFrameConnectHandler),this._port.start()},_closeChannel:function(){this._port&&W.isFunction(this._port.close)&&(this._port.close(),this._port=null,this._channel=null)}}),W.extend(Rf.prototype,_f,{connectToTop:function(e,t){this._isTop||this._window.top.postMessage(y.stringify(e),t)},frameConnect:function(e){this._frames[e.data.frameId]=e.source,this._relayHandlerAdded||(this._relayHandlerAdded=!0,this._boundRelayMessage=W.bind(this._relayMessage,this),this._singletonMessageHandler.addEventListener(this._boundRelayMessage)),e.source.postMessage(y.stringify({action:"pendo::connectSuccess"}))},frameDisconnect:function(e){delete this._frames[e.data.frameId]},connectSuccess:function(){this._singletonMessageHandler.removeEventListener(this._boundFrameConnectHandler),this._singletonMessageHandler.addEventListener(this._boundMessageReceived)},broadcast:function(t){var n=this._singletonMessageHandler.targetOrigin();W.each(this._frames,function(e){t.source!=e&&e.postMessage(y.stringify(t.data),n)}),t.source!=this._window&&this._messageReceived(t)},postMessage:function(e){this._isTop?this._relayMessage({data:e,source:this._window}):this._window.top.postMessage(y.stringify(e),this._singletonMessageHandler.targetOrigin())},close:function(){var e=this._singletonMessageHandler;e.removeEventListener(this._boundFrameConnectHandler),e.removeEventListener(this._boundMessageReceived),e.removeEventListener(this._boundRelayMessage)}});var Lf=kf(iy,Go);function Of(e,r){return e.removeEventListener=W.wrap(e.removeEventListener,function(){throw new Error("Needs implementation")}),e.addEventListener=W.wrap(e.addEventListener,function(e,t,n){var i=W.toArray(arguments).slice(1);return"message"===t&&(i[1]=function(e){if(e.data.tabId===r.getTabId())return n.apply(this,arguments)}),e.apply(this,i)}),e.postMessage=W.wrap(e.postMessage,function(e,t){return t.tabId=r.getTabId(),e.apply(this,W.toArray(arguments).slice(1))}),e}function Nf(e){if(!b.addEventListener)return{addEventListener:W.noop,postMessage:W.noop,close:W.noop};var t=!!iy.__pendoExtensions;if(m.get("preferBroadcastChannel")&&!t&&W.isFunction(iy.BroadcastChannel)){e.commit("frames/setChannelType","BroadcastChannel");t=Of(new BroadcastChannel("pendo"),Ln);if(t&&W.isFunction(t.postMessage))return t}return e.commit("frames/setChannelType","TopFrameRelay"),Ef(e,iy,Lf)}function Mf(e,t){if("undefined"!=typeof Turbolinks){var n=Turbolinks&&Turbolinks.EVENTS&&Turbolinks.EVENTS.LOAD;if(n)return void Z(e,n,t)}}var Pf="eJwFwIEIAAAAwDDQd3-N1QABFQC5",Ff="guides_blocked",Df=18e5,Uf=144e5,Gf="1",Bf="0",Hf="Guides disabled: unreachable endpoint guide.gif";function zf(){return d.read(Ff)===Gf}function jf(e,t){var n=d.read(Ff);return n===Gf?(q(Hf),K.reject()):n===Bf?K.resolve():(n=jr("guide.gif",t,{jzb:Pf,ct:v(),v:et}),(e.usesXhr()?Ei.get(n):Jr(n)).then(function(){d.write(Ff,Bf,Uf)},function(e){return q(Hf),d.write(Ff,Gf,Df),K.reject(e)}))}var Wf=[],qf="Guide was not shown because this visitor is in a control group of an active experiment for the guide";function Kf(){var e=m.get("guideCssAssetPath");return e||Cr("guide.css")}function Jf(){return Cr("pendo.debugger.min.js")}function Vf(){var e=m.get("previewModeAssetPath");return e||Cr("pendo.preview.min.js")}var $f="_pendo-guide_",Zf="_pendo_g_",Yf=0;function Xf(e){Yf=e}function Qf(){return Yf}var ep=function(){return W.any(p(),function(e){return e.isShown()})},tp=function(e,t){var n=$("._pendo-close-guide_",e);return n.length||(n=$(ry.createElement("button")).attr("id","_pendo-close-guide_").attr("aria-label","close").addClass("_pendo-close-guide_").text("×"),Je()?9<u&&n.css({top:3}):8===u?n.css({top:9,right:2}):9===u?n.css({right:2,top:3}):9<u&&n.css({top:3}),e=$("._pendo-guide-container_",e)[0]||e,n.appendTo(e),n[0].onclick=function(){t()}),n[0]},np=function(n){return W.reduce(p(),function(e,t){return n(t)&&e.push(t),e},[])},ip=function(e,t,n,i,r){e=wr(E(e),t);e&&(e.seenState=n,e.lastSeenAt=i,r!==oy)&&(e.dismissCount=r)},rp=function(e){for(var t=new RegExp("^"+Zf);e;){if(W.isString(e.id)&&t.test(e.id))return e.id.replace(t,"");e=e.parentNode}return null};function op(t){W.each(p(),function(e){W.isFunction(e.isShown)&&e.isShown()&&e.hide(t)})}var ap=function(e){return e&&e.guideId};function sp(e){return e&&W.isFunction(e.render)}var up=function(e,t){var n,i;return ap(e)&&(t=e,e=null),sp(t)?t:t?(n=E(t.guideId))&&n.findStepById(t.id):(n=W.find(p(),function(e){return e.isShown()}))?((i=e?rp(e.target||e.srcElement||e):i)?(t=n.findStepById(i))||qr("findStepForGuideEvent: step with id "+i):(t=W.find(n.steps,function(e){return e.isShown()}))||qr("findStepForGuideEvent: no step shown"),t):void 0},dp=function(e){var t="element"===e.advanceMethod?"click":"mouseover",n=Du(e);"tooltip"===e.type&&W.isFunction(e.teardownElementEvent)?e.teardownElementEvent(n,t):C(n,t,mp,!0)};function cp(e){return e.isLocked()&&(!e.elements||!e.elements.length||void Kr('guide "'+e.guideId+'", step "'+e.id+'" locked and rendered'))}var lp=function(e){if(!S.designer&&e&&"building-block"===W.get(e,"attributes.type","")){var t=e.steps[0],n=W.get(e,"launchMethod","").split("-"),i=W.contains(n,"dom"),n=W.contains(n,"badge");if("badge"===t.seenReason&&n){var n=$("#_pendo-badge_"+t.id),r=n.find("input"),r=0<r.length?r:n;if(r.length<1)return;r[0].focus()}"dom"===t.seenReason&&i&&(n=W.get(e,"attributes.activation.selector",""),(r=l(n)).length<1||r[0].focus())}},fp=function(e,t){var n,i,r,o,a=null;e&&e instanceof Object&&e.until&&(a=e.until),(t=up(e,t))&&t.id?cp(t)||("dismissed"===t.seenState?q("step already dismissed.  can't dismiss again",["guides","error"]):(q("onGuideDismissed called","guides"),w.beforeDismiss.trigger(t).cancel?q("Guide dismiss canceled during runtime in step: "+t.id):a?t.hide({stayHidden:!0}):(dp(t),e=t.id,r=E(a=t.guideId),n=(n=W.first(r&&r.steps))&&n.seenReason,r=r&&r.language,i=W.get(t,"dismissCount",0)+1,Np(a,e,V(),n,r),r=v(),ip(a,e,"dismissed",r,i),(o=W.isFunction(t.getGuide)&&t.getGuide())&&o.attributes&&o.attributes.doNotResume||Nc({guideId:a,guideStepId:e,time:r,state:"dismissed",seenReason:n,visitorId:V(),dismissCount:i}),"auto"!==n&&"repeatGuide"!==n||Gp(r,Up.DISMISSED),t.hide(),lp(o),ep()||(Jc(),Vc())))):Jc()},pp=function(e,t,n){var i,r,o,a,s,u,d;q("onGuideSnoozed called","guides"),(t=up(e,t))?"snoozed"===t.seenState?q("step already snoozed.  can't snooze again",["guides","error"]):w.beforeSnooze.trigger(t).cancel?q("Guide snooze canceled during runtime in step: "+t.id):(n||(n=864e5,q("no snooze duration provided, defaulting to 1 day")),cp(t)||(dp(t),e=t.id,i=t.guideId,r=V(),a=(o=E(i))&&o.language,s=(s=W.first(o&&o.steps))&&s.seenReason,u=v(),q("snoozing guide for "+n+" ms"),t.snoozeEndTime=d=u+n,Mp(i,e,r,s,a,n),ip(i,e,"snoozed",u),o&&o.attributes&&o.attributes.doNotResume||Nc({guideId:i,guideStepId:e,time:u,state:"snoozed",seenReason:s,visitorId:V(),snoozeEndTime:d}),"auto"!==s&&"repeatGuide"!==s||Gp(u,Up.SNOOZED),t.hide(),lp(o),ep())||(Jc(),Vc())):(q("missing step.  can't snooze",["guides","error"]),Jc(),qr("onGuideSnoozed: missing step"))},hp=function(){var e=jh();e&&W.each(e.steps,function(e){var t="element"==e.advanceMethod?"click":"mouseover",n=Du(e);"tooltip"===e.type&&W.isFunction(e.teardownElementEvent)?e.teardownElementEvent(n,t):C(n,t,mp,!0)})},gp=function(e){var t,n,i,r=(r=e&&e.step)||up(e);r?(i=e&&e.params,i=W.find(i,function(e){return"goToStepId"===e.name}),t=i&&i.value,(t=e&&e.destinationStepId?e.destinationStepId:t)?t===r.id?q("[goToStep] step id matches the current step",["guides","error"]):(i=E(r.guideId),(n=W.find(i.steps,function(e){return e.id===t}))?(n=W.indexOf(i.steps,n),i=W.indexOf(i.steps,r),e.steps=Math.abs(n-i),e.action=e.action||"goToStep",e.destinationStepId=t,i<n?mp(e,r,!1):vp(e,r)):q("[goToStep] guide has no step matching the step id",["guides","error"])):q("[goToStep] missing step id to go to",["guides","error"])):q("[goToStep] missing current step",["guides","error"])},mp=function(e,t,n){if(hp(),1===arguments.length&&ap(e)&&(s=yr(e.guideId),i=up(),s)&&i&&W.first(s.steps).id===i.id&&W.last(s.steps).id===e.id&&(q("Cannot skip to last step from first step"),e=null),q("onGuideAdvanced called","guides"),(t=up(e,t))===e&&(e=null),t){if(!cp(t))if("advanced"!==t.seenState||n)if(w.beforeAdvance.trigger(t).cancel)q("Guide advance canceled during runtime in step: "+t.id);else{var i=e&&e.action&&"goToStep"===e.action||!1,r=E(t.guideId),o=r&&r.language,a=r&&r.steps&&W.findIndex(r.steps,function(e){return t.id==e.id});if(e&&W.isNumber(e.steps)&&1<e.steps&&!i){var s=a+(e.steps-1),u=s=s>=r.steps.length?r.steps.length-1:s;!0===e.skip&&(u=a+1);for(var d=a;d<u;++d){t=r.steps[d],Pp(r.id,t.id,V(),t.seenReason,o,d!==a);var c=v();Nc({guideId:t.guideId,guideStepId:t.id,time:c,state:"advanced",seenReason:t.seenReason,visitorId:V()}),ip(r.id,t.id,"advanced",c)}return mp(r.steps[s],t,!0)}var l,i=t.id,s=t.guideId,f=W.first(r&&r.steps),p=f&&f.seenReason,h=e&&e.destinationStepId,g=(h||(g=e&&W.isNumber(e.steps)&&1<e.steps?e.steps:1,h=(g=W.isNumber(a)&&r&&r.steps&&r.steps[a+g])&&g.id||null),h||q("missing destination step id"),q("advancing guide"),Pp(s,i,V(),p,o,n,h),q("update guide status"),r&&W.last(r.steps).id===i&&(l=W.get(t,"dismissCount",0)+1),(new Date).getTime()),m=(ip(s,i,"advanced",g,l),W.isFunction(t.getGuide)&&t.getGuide());m&&m.attributes&&m.attributes.doNotResume||Nc({guideId:s,guideStepId:i,time:g,state:"advanced",seenReason:p,visitorId:V(),destinationStepId:h,dismissCount:l}),!f||"auto"!==f.seenReason&&"repeatGuide"!==f.seenReason||Gp(g,Up.ADVANCED),q("stop guide"),Jc(),q("start guides"),Vc()}else q("step already advanced.  can't advance again",["guides","error"])}else q("missing step.  can't advance",["guides","error"]),Jc(),qr("onGuideAdvanced: missing step")},vp=function(e,t){var n,i,r,o,a,s;q("onGuidePrevious called","guides"),(t=up(e,t))?"advanced"===t.seenState?q("step already advanced.  can't go to previous again",["guides","error"]):w.beforePrevious.trigger(t).cancel?q("Guide previous canceled during runtime in step: "+t.id):(o=E(n=t.guideId),s=e&&e.action&&"goToStep"===e.action||!1,0!==(i=W.indexOf(o.steps,t))&&(r="element"==t.advanceMethod?"click":"mouseover",a=Du(t),"tooltip"===t.type&&W.isFunction(t.teardownElementEvent)?t.teardownElementEvent(a,r):C(a,r,mp,!0),a=e&&W.isNumber(e.steps)?e.steps:1,r=W.first(o&&o.steps),a=0<=(i=i-a)?o.steps[i]:r,i=r&&r.seenReason,r=o&&o.language,o=a.id,(o=s&&e&&e.destinationStepId?e.destinationStepId:o)||q("missing destination step id"),q("advancing guide"),Pp(n,t.id,V(),i,r,!1,o),q("update guide status"),a=(new Date).getTime(),ip(t.guideId,t.id,"advanced",a),(s=W.isFunction(t.getGuide)&&t.getGuide())&&s.attributes&&s.attributes.doNotResume||Nc({guideId:t.guideId,guideStepId:t.id,time:a,state:"advanced",seenReason:i,visitorId:V(),destinationStepId:o}),Jc(),Vc())):(Jc(),qr("onGuidePrevious: missing step"))},yp=function(e){var t;$("._pendo-credits_",e).length||((t=ry.createElement("img")).setAttribute("src",Er()+"/img/tiny-logo.png"),t=$(ry.createElement("div")).addClass("_pendo-credits_").css({bottom:0,right:S.TOOLTIP_ARROW_SIZE}).append(t),cr.push(t[0]),t.appendTo(e))};function bp(e){return e&&e.attributes&&e.attributes.stayHidden}function wp(e){return l(e.triggerElementPathRule)[0]}var Ip=function(e){var t,n;return!bp(e)&&(!(e.elementPathRule||"lightbox"!==e.type&&"whatsnew"!==e.type)||!(e.triggerElementPathRule&&!Po(wp(e))||(t=Du(e),(n=e.targetElement)&&e.elementContainsRulesList&&!xp(n,e.elementContainsRulesList)))&&(n="tooltip"===e.type||zd.isBuildingBlockGuideRelativeToElement(e),e=Po(t),n?e||Fo(t):e))};function Sp(e){var t=($(e).text()||"").trim().toLowerCase(),e=e.value;return t||e}function xp(e,t){for(var n=Sp(e),i=0;i<t.length;i++)if(!Ep(n,t[i]))return!1;return!0}function Ep(e,t){var n=t.matchType,i=t.matchValue,t=t.dataType,e=e||"";if("number"===t){var r=Rt(e);if(null==r)return!1;e=parseFloat(r),i=parseFloat(i);if(isNaN(e)||isNaN(i))return!1}else"string"===t&&(e=e.toLowerCase(),i=i.toLowerCase());return"equal"===n?e===i:"notEqual"===n?e!==i:"contains"===n?-1<String(e).indexOf(i):"notContains"===n?-1===String(e).indexOf(i):"greaterThan"===n?i<e:"lessThan"===n&&e<i}var Cp=function(e){return Zf+e.id},_p=function(e){var t=e.element,n=W.first($("#"+Cp(e)));t&&n?Po(t)||$.hasClass(n,"mouseover")?setTimeout(function(){_p(e)},Wc):e.hide&&(e.hide(),ep())||(Jc(),Vc()):t||!n||e.hide&&(e.hide(),ep())||(Jc(),Vc())},Tp=function(){return!1},Ap=W.partial(W.get,W,"attributes.resourceCenter"),Rp=function(e,t){var n;return!(!e||!e.guideId||!(n=E(e.guideId)))&&(ep()&&(e=up(),dp(e),Ap(n)?(e=np(Ap),(e=W.filter(e,function(e){return e.id!==n.id})).length&&J.dispatch("frames/hideGuides",W.pluck(e,"id"))):(op(),J.dispatch("frames/hideGuides"))),n.launch(t),n.isShown())},kp=function(e,t,n,i,r,o){e=Hp({type:"guideNotSeen",guideId:e,stepId:t,visitorId:n,reason:i,language:r});o&&W.extend(e.props,{step_poll_types:o}),Wp(e),w.guideNotSeen.trigger(e)};function Lp(e){var t="auto";return e&&(e=(e.launchMethod||t).split("-"),!W.contains(e,t))&&e.length?W.first(e):t}var Op=function(e,t,n,i,r,o){i||(I(new Error("seenGuide called without seen reason"),"pendo.io guideSeen exception",{guideId:e,stepId:t}),i=Lp(E(e)));n=Hp({type:"guideSeen",guideId:e,stepId:t,visitorId:n,reason:i,language:r});W.extend(n.props,o),Wp(n),Nc({guideId:e,guideStepId:t,time:v(),state:"active",seenReason:i,visitorId:V()}),w.guideSeen.trigger(n)};function Np(e,t,n,i,r){e=Hp({type:"guideDismissed",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r});Wp(e),w.guideDismissed.trigger(e)}function Mp(e,t,n,i,r,o){e=Hp({type:"guideSnoozed",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r,snooze_duration:o});Wp(e),w.guideSnoozed.trigger(e)}function Pp(e,t,n,i,r,o,a){e={type:"guideAdvanced",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r},a&&(e.destination_step_id=a),t=Hp(e);Wp(t,null,o),w.guideAdvanced.trigger(t)}function Fp(e,t,n,i,r,o){e=Hp({type:"guideTimeout",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r,guideSeenTimeoutLength:o});Wp(e),w.guideTimeout.trigger(e)}function Dp(e,t,n,i,r){e=Hp({type:"guideSnoozeCanceled",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r});Wp(e,null,!0),w.guideSnoozeCancelled.trigger(e)}var Up={DISMISSED:"latestDismissedAutoAt",SNOOZED:"latestSnoozedAutoAt",ADVANCED:"finalAdvancedAutoAt"};function Gp(e,t){Bp(e,t);var n={};n[t]=e,J.dispatch("frames/changeThrottlingState",n)}function Bp(e,t){W.contains(W.values(Up),t)&&(W.isFunction(e.getTime)&&(e=e.getTime()),S[t]=e,d.write(t,e,Lc))}function Hp(e,t,n,i,r,o){var a=e,e=("object"!=typeof a&&(a={type:e,guideId:t,stepId:n,visitorId:i,language:o}),r&&(a.reason=r),W.isString(a.language)||delete a.language,W.extend({guide_id:a.guideId,guide_step_id:a.stepId},W.omit(a,"type","guideId","stepId","visitorId"))),t=Ln.addTracerIds({type:a.type,visitor_id:a.visitorId,account_id:Zn(),browser_time:(new Date).getTime(),url:f.externalizeURL(),props:e});return w.eventCaptured.trigger(t),t}var zp=null,jp=function(e){iy.clearTimeout(zp),zp=iy.setTimeout(bh,e)},Wp=function(e,t,n){t=t||500,e.props.duration=n?0:(new Date).getTime()-Qf(),Sh.push(e),jp(t)},qp=function(e,t){return"dismissed"===e.state?null:E(e.guideId).nextStep(e,t||Kp())},Kp=function(){return S.normalizedUrl||Jp(f.externalizeURL())},Jp=function(e){try{var t=new oi(e),n=W.tail(t.search).join("").split("&");return t.search=n.sort().join("&"),t.href}catch(Ut){return I("Invalid URL provided to normalize","",null,Xn.Low),e}},Vp=function(e,t){return!x(e)||new RegExp(e).test(t)},$p=function(e,t){e=br(e);return!!e&&(!(t=Rp(W.first(e.steps),t||"api"))&&e.control&&q(qf),t)},Zp=function(e,t){e=E(e);return!!e&&(!(t=Rp(W.first(e.steps),t||"api"))&&e.control&&q(qf),t)};function Yp(e,t){return t=parseInt(t,10),isNaN(t)||!W.isNumber(t)||!(W.isNumber(e)&&e<t)&&W.isNumber(e)?e:t}var Xp=function(){Jc(),Kc(),te.removeNotificationBubble(),Cl(),Ea()},Qp;function eh(e){!Qp||W.isString(e.id)&&e.id!==Qp.id||(W.extend(S,e),Qp.deferred&&Qp.deferred.resolve(),Qp=null)}var th=function(e,t){var n=m.get("trainingPartner"),i=W.uniqueId(),r=K.defer(),o=(Qp={id:i,deferred:r},xc()||((o=Ec())?(q("sending metadata: "+y.stringify(o),["guides","metadata"]),t.metadata=o):q("no metadata to send",["guides","metadata"])),pt(t)),i={id:i,jzb:o,v:et,ct:(new Date).getTime()},n=(n&&t.accountId&&"ACCOUNT-UNIQUE-ID"!==t.accountId&&(i.acc=yt(t.accountId)),Qt(!0)&&(i.debug=!0),jr(nh.endpoint(),e,i)),t=Ra.get();return o=n.length>Xa||!W.isEmpty(t)?(delete i.jzb,n=jr("guide.json",e,i),i=W.extend({events:o},t),nh.post(n,i,W.noop)):nh.load(n,W.noop),K.all([o["catch"](function(e){return 451===e.status&&(Jc(),Yr(),S.segmentFlags=[],S.doNotProcess=!0,q("not tracking visitor due to 451 response")),K.reject(e)}),r.promise,jf(nh,e)])},nh=Vu;function ih(e){nh=e}function rh(){nh=Vu}function oh(e){return W.each(e,function(e,t){e.attributes||(e.attributes={}),!isNaN(e.attributes.priority)&&W.isNumber(e.attributes.priority)||(e.attributes.priority=t)}),e.sort(function(e,t){return t.attributes.priority-e.attributes.priority}),e}function ah(e){var n,t=W.find(e,function(e){return W.isFunction(e.isShown)&&e.isShown()&&!e.isTopLevel});return t?(n=W.chain(t.steps).filter(function(e){return e.isShown()}).indexBy("id").value(),function(e){e=W.findWhere(e,{id:t.id});e&&!W.get(e,"attributes.doNotResume")&&W.each(e.steps,function(e){var t=n[e.id];!t||e.seenState&&"active"!==e.seenState||e.show(t.seenReason)})}):function(){}}var sh=function(){return!m.get("disableGlobalCSS")},uh,dh=function(e,t,n,i){var r,o,a,s=K.defer(),u=!1;return zf()?(q("guide events are blocked, load guides cancelled"),W.isFunction(i)&&i("error: guides are blocked"),s.reject()):(q("loading guides for "+n+"...","guides"),e=e||S.apiKey,t=t||V(),n=f.externalizeURL(n),r=dh.lastVisitorId===t?ah(p()):W.noop,dh.lastVisitorId=t,Kc(),J.commit("guideState/setLastGuideRequestAt",v()),sr(ur())?(o={visitorId:t,accountId:Zn(),url:n},a=W.uniqueId(),dh.reqId=a,th(e,o).then(function(){var e;u||S.designer||(w.deliverablesLoaded.trigger(),q("successfully loaded guides for "+n,"guides"),S.designerEnabled&&"true"!==An.getItem("pendo-designer-mode")&&pf.loadPluginJs(),Xp(),(e=S.lastGuideStepSeen)?(J.dispatch("guideState/receiveLastGuideStepSeen",e),e.visitorId=t,J.dispatch("guideState/updateLastGuideStepSeen",e),J.commit("guideState/setLastGuideRequestAt",v()),gr(e=oh(W.map(S.guides,ed))),J.dispatch("guideState/load",d.read(Oc)),J.dispatch("guideState/apply"),S.latestDismissedAutoAt=Yp(S.latestDismissedAutoAt,d.read("latestDismissedAutoAt")),S.finalAdvancedAutoAt=Yp(S.finalAdvancedAutoAt,d.read("finalAdvancedAutoAt")),S.latestSnoozedAutoAt=Yp(S.latestSnoozedAutoAt,d.read("latestSnoozedAutoAt")),J.dispatch("healthCheck/init",e),J.dispatch("frames/changeGuideList",e),S.eventProperties=Lh(S.features),e.length?K.all([yh(),vf(id(S.globalJsUrl)),Eh(e),yf.initializeWatermark(e),gh(5e3)].concat(fh(e))).then(function(){dh.reqId===a&&(J.getters["frames/isLeader"]()&&r(p()),w.guidesLoaded.trigger(),Vc(),clearTimeout(uh)),W.isFunction(i)&&i(),s.resolve()},function(){w.guidesFailed.trigger(),s.reject()}):(w.guidesLoaded.trigger(),s.resolve())):q("lastGuideStepSeen is not set, shutting down guides"))}),e=m.get("guideTimeout")||m.get("guides.timeout"),W.isNumber(e)&&(clearTimeout(uh),uh=setTimeout(function(){ch(s),u=!0},e))):(q("bad url:  probably local file system","guides","error"),W.isFunction(i)&&i("error: invalid url"),s.reject())),s.promise};function ch(e){Xp(),e.reject()}var lh=[];function fh(t){return W.map(lh,function(e){return e(t)})}function ph(e){lh.push(e)}function hh(e,t){var n,i=ry.getElementById(e);return i&&i.href&&0<=i.href.indexOf(t)?K.resolve():(n=K.defer(),$(i).remove(),S.loadResource(t,function(){n.resolve()}).id=e,n.promise)}var gh=W.memoize(mh);function mh(t,n,e){if(!sh()||!vh(p()))return K.resolve();n=n||v,e=e||"_pendo-hidden_";var i=$(ry.createElement("div")).addClass(e).css({position:"absolute",bottom:"0px",right:"0px",width:"0px",height:"0px",visibility:"hidden"}).appendTo($.getBody()),r=n(),o=K.defer();return function s(e){setTimeout(function(){a(i[0])?(i.remove(),o.resolve()):n()-r>t?(i.remove(),o.reject()):s(100)},e)}(0),o.promise;function a(e){e=Y(e);if(e)return"none"===e.display}}function vh(e,t){return t&&t.designer||W.any(e,function(e){return W.any(e.steps,function(e){return!(e.domUrl||e.domJsonpUrl||e.domJson)})})}function yh(){var e=[];if(!sh())return K.resolve();vh(p(),S)&&e.push(hh("_pendo-default-css_",Kf()));var t=((S.guideWidget||{}).data||{}).guideCssUrl,n="_pendo-css_";return t?e.push(hh(n,id(t))):$("#"+n).remove(),K.all(e)}var bh=function(e){Sh.flush(e)},wh=function(){return Wf};function Ih(e){var n=e.cache,i=o(e,bs),r=o(e,ws),t=ja(n);return{push:function(e){t(e,W.noop)},clear:function(){n.length=0},flush:function(e){var t;0!==n.length&&(t=n.slice(),n.length=0,((e||{}).guaranteed?r:i)(t,W.noop))}};function o(e,t){return Ha(ts,qa("visitor_id"),qa("props.guide_id"),qa("props.source"),es,t(e),ns(e))}}var Sh=Ih({cache:Wf,apiKey:function(){return S.apiKey},beacon:"guide",allowPost:!0,preferFetch:b.safari}),xh=Ih({cache:[],apiKey:function(){return S.apiKey},beacon:"poll",allowPost:!0,preferFetch:b.safari}),Eh=function(e){return te.initializeResourceCenter(e)},T={postMessage:W.noop,close:W.noop},Ch=function(){var e=W.filter(p(),function(e){return W.isFunction(e.outsideTimebox)&&e.outsideTimebox()});mr.addGuide(e)},_h=function(){Sh.clear(),w.appUnloaded.on(function(){bh({guaranteed:!0}),J.dispatch("frames/leave")}),w.metadata.on(function(e){e.data[0].storeChanged&&!xc()&&Bh()}),w.identify.on(function(){Bh()}),w.urlChanged.on(function(){Bh(f.get())}),w.guideUpdateComplete.on(function(){Ch(),dd.processPrefetch()}),w.guidesLoaded.on(function(){pl(p(),lr),te.fetchAnnouncementGuidesContent(p(),J)}),Mf(ry,function(){f.get()===Gh.lastUrl&&zh()});var e=m.get("guides.tooltip.arrowSize");W.isNumber(e)&&(S.TOOLTIP_ARROW_SIZE=e),T=wf(Nf(J),J),J.dispatch("frames/init"),J.dispatch("frames/join"),Mc(),Z(iy,"resize",W.debounce(Ph,50)),Z(iy,"scroll",W.throttle(Al,10),!0),Fh(),m.get("preferMutationObserver")&&b.MutationObserver&&(g(iy,"animationend",e=function(){J.dispatch("guideUpdate/documentChanged")}),g(iy,"transitionend",e),g(iy,"mouseover",W.debounce(e,50)),J.commit("guideUpdate/setUseObserver"),m.get("observeShadowRoots"))&&J.commit("guideUpdate/setObserveShadowRoots")},Th=function(){return m.get("guides.disabled",!1)||m.get("disableGuides",!1)||!zr},Ah=function(){return m.get("guides.delay",!1)||m.get("delayGuides",!1)},Rh=function(e){var t=m.getLocalConfig();t.disableGuides=e,m.setLocalConfig(t)},kh=function(e){var t=m.getLocalConfig();t.delayGuides=e,m.setLocalConfig(t)},Lh=ii(function(e){if(e&&e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n].featureRule,r=W.map(e[n].eventProperties,function(e){return e.selector?e:y&&y.parse&&e.rule?y.parse(e.rule):void 0});t.push({featureRules:i,eventPropertyRules:r,featureId:e[n].featureId})}return t}}),Oh=function(){return ry.fullscreenElement||ry.webkitFullscreenElement||ry.msFullscreenElement},Nh=function(){r("adjustActiveGuideOnResize firing");var e=jh();e&&e.step&&!S.ignoreResize&&e.step.redraw()},Mh=function(){var e;-1<W.get(ry,"activeElement.id","").indexOf("pendo-video-")?(!(e=Oh())||e.id.indexOf("pendo-video-")<0)&&setTimeout(function(){Nh()},150):Nh()},Ph=function(){Mh(),Al()},Fh=function(){for(var e=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],t=0;t<e.length;t++)Z(ry,e[t],Dh)},Dh=function(){-1<W.get(ry,"activeElement.id","").indexOf("pendo-video-")&&(Oh()?S.ignoreResize=!0:setTimeout(function(){S.ignoreResize=!1},1e3))};function Uh(e,t,n,i){return!(!e||!S.apiKey||Th()&&"true"!==An.getItem("pendo-designer-mode")||e===Gh.lastUrl&&t===Gh.lastVisitorId&&n===Gh.lastAccountId&&i===Gh.lastMetadataHash)}function Gh(e){var t=V(),n=Zn();Uh(e=e||f.get(),t,n,ec)&&(Gh.lastUrl=e,Gh.lastVisitorId=t,Gh.lastAccountId=n,Gh.lastMetadataHash=ec,dh(S.apiKey,t,e)["catch"](W.noop))}var Bh=function(e){zr&&(Bh.pending&&clearTimeout(Bh.pending),Bh.pending=setTimeout(function(){delete Bh.pending,Gh(e)},0))},Hh;function zh(){Gh.lastUrl=null,Bh()}function jh(){var e,n,t=W.find(p(),function(e){return e.isShown()});return!t||W.get(t,"attributes.resourceCenter.isModule")&&!(t=te.getResourceCenter())?null:(e=W.find(t.steps,function(e,t){return n=t,e.isShown()}),{guide:t,steps:W.filter(t.steps,function(e,t){return e.isShown()}),step:e,stepIndex:n})}function Wh(){return{store:J,ConfigReader:m,getState:function(){return y.stringify(J.state)},getEventCache:function(){return[].concat(tr)},getAllGuides:function(){return[].concat(p())},getAutoGuides:function(){return Uc.sortAndFilter(p(),S.autoOrdering)},getBadgeGuides:function(){return W.filter(p(),Lu)},getLauncherGuides:function(){return[]},getEventHistory:function(){return[]},getAllFrames:function(){return J.getters["frames/allFrames"]()},getChannelType:function(){return J.getters["frames/channelType"]()},isStepShownInFrame:function(e,t){return J.getters["frames/isShownInFrame"]()(e,t)},setActiveGuides:gr,getBody:$.getBody,isMobileUserAgent:b.isMobileUserAgent,areGuidesDelayed:Ah,doesElementMatchContainsRules:xp,getMetadata:Ec,isStagingServer:G,AutoDisplay:Uc,isLeader:ju,Events:w}}function qh(){var e;Qt(!0)&&(Kh(),$("#pendo-client-debugger").length||(e=!rt()&&m.get("forceParentDesigner"),ha()&&!e)||qo(Jf(),function(){w.debuggerLaunched.trigger(),q("Debug module loaded")}))}function Kh(){Hh=Hh||Wh(),S.debugging=Hh}function Jh(e){return Qt(!0)?e?Hh:"debugging already enabled":(d.write(Zt,"true",null,!0),qh(),e?Hh:"debugging enabled")}function Vh(){return Qt(!0)?(d.write(Zt,"false",null,!0),S.debugging=null,delete S.debugging,"debugging disabled"):"debugging already disabled"}function $h(e){W.find([W.partial(ff.launchOnToken,iy.location),W.partial(Ll,iy),W.partial(ff.localStorageNavigation,e)],function(e){return e()}),!e.enableDesignerKeyboardShortcut&&m.get("disableDesignerKeyboardShortcut")||pf.listen()}function Zh(e){var t,n=W.get(e,"value","");-1!==W.get(e,"parentElement.className","").indexOf("_pendo-nps-poll-"+n+"-wrapper")&&(e=$("._pendo-nps-open-text-poll-question"),t=$("._pendo-nps-open-text-poll-input")[0],W.forEach(e,function(e){"none"!==W.get(e,"style.display","none")&&t&&t.setAttribute("aria-labelledby",e.id)}))}function Yh(e){if(e.confirmationElementPathRule)return l(e.confirmationElementPathRule)[0]}W.extend(r,Hh);var Xh=function(){var n=this,o=(this.eventable=On.call({}),this.eventable.on("pendoEvent",function(e){try{n.eventHandler(e)}catch(t){I(t,"Error in Action "+(e&&e.action||"NO ACTION DEFINED"))}}),this.eventHandler=function(e){if(!e.ignore){switch(e.action){case o.advanceGuide:mp(e,e.step);break;case o.previousStep:vp(e,e.step);break;case o.goToStep:gp(e);break;case o.submitPoll:this.submitPoll(e);break;case o.guideSnoozed:var t=e&&e.params&&e.params[0]&&e.params[0].value;pp(e,e.step,t);break;case o.dismissGuide:te.attemptToPreserveIntegrationIframes(e),!function(e){if(!e||!e.step)return fp();var t=e.step.getGuide();if(t&&t.attributes&&t.attributes.resourceCenter)return te.dismissResourceCenter(t);fp(e,e.step)}(e);break;case o.showElements:this.setElementDisplay(e,"block"),e.srcElement&&Zh(e.srcElement),qd((n=ld(e.step.domJson)).props.id),Kd(n.props.id),ee.flexAllThings(n.props.id),Wd(n.props.id);break;case o.hideElements:this.setElementDisplay(e,"none"),qd((n=ld(e.step.domJson)).props.id),Kd(n.props.id),ee.flexAllThings(n.props.id),Wd(n.props.id);break;case o.slideElement:this.setElementAnimation(e);break;case o.showGuide:t=W.find(e.params,function(e){return"reason"===e.name});Zp(e.params[0].value,t&&t.value);break;case o.launchGuide:S.designer||(fp(e,e.step),e&&e.params&&e.params[0]&&e.params[0].value&&Zp(e.params[0].value));break;case o.renderResourceCenterModule:var n=r(e);te.replaceResourceCenterContent(e.params[0].value,n);break;case o.returnToResourceCenterHome:t=te.findResourceCenterHomeView(pr());if(!t)return;te.attemptToPreserveIntegrationIframes(e),te.replaceResourceCenterContent(t.id,e.params);break;case o.openLink:S.designer||this.openLink(e);break;case o.searchGuides:this.searchGuides(e);break;case o.submitPollAndGoToStep:this.submitPoll(e),gp(e);break;case o.confirmation:this.confirmGuide(e)}var i=Xh.prototype.registeredActions[e.action];"function"==typeof i&&i(e)}},this.submitPoll=function(e){var t=e&&e.action,i=e.step,n=[];e.srcElement&&e.srcElement.getAttribute("data-pendo-poll-type")&&"yesNo"===e.srcElement.getAttribute("data-pendo-poll-type")&&(r=e.srcElement.getAttribute("data-pendo-poll-id"),e=e.srcElement.value,n.push({pollId:r,value:parseInt(e,10)}));var r=$("[data-pendo-poll-id]",i.guideElement[0]);n=n.concat(W.map(r,function(e){var t,n=$("textarea,input:text,select,input:radio:checked",e);if(n&&n.length&&n[0].value)return t=e.getAttribute("data-pendo-poll-id"),e=W.find(i.guide.polls,function(e){return e.id===t}),n=n[0].value,e&&e.numericResponses&&(n=parseInt(n,10)),{pollId:t,value:n}})),i.response&&n?i.response(W.compact(n)):q("[Agent] Error! Trying to submit a poll response but step does not have response function!");t!==o.submitPollAndGoToStep&&i.advance()},this.setElementDisplay=function(e,t){var n=e.step,e=$(W.find(e.params,function(e){return"selectors"===e.name}).value,n.guideElement[0]);W.each(e,function(e){e.style.display=t})},this.setElementAnimation=function(e){var t=$(W.find(e.params,function(e){return"selector"===e.name}).value,e.step.guideElement[0])[0],n=W.find(e.params,function(e){return"transition"===e.name}).value,e=W.find(e.params,function(e){return"left"===e.name}).value;t.style.transition=n,t.style.left=e},this.openLink=function(e){var t=W.find(e.params,function(e){return"url"===e.name}).value,e=W.find(e.params,function(e){return"target"===e.name}).value;"_self"===e&&ha()&&(e="_top");iy.open(t,e)},this.goToStep=gp,this.searchGuides=function(e){var t="",n=e.srcElement.value,i=$("#pendo-resource-center-container")[0],r=$(i).find('[id^="pendo-list-item-"]'),i=$(i).find('[id^="pendo-no-matches-container"]'),o=[],e=W.find(e.params,function(e){return"searchTextInfo"===e.name}),a=($(i[0].childNodes[0]).text(e.value),!0);if(r)for(var s in r)s&&r[s]&&($(r[s]).text()&&(-1!==$(r[s]).text().toLowerCase().indexOf(n.toLowerCase())?($(r[s]).css({display:"list-item"}),a=!1):$(r[s]).css({display:"none"})),W.isFunction(r[s].getAttribute)&&(t=r[s].getAttribute("data-_pendo-text-list-item-1").split(","),W.forEach(t,function(e){W.contains(o,e)||o.push(e)})),this.searchAllTerms(o,t,n)&&r[s]&&($(r[s]).css({display:"list-item"}),a=!1),t="");a?$(i[0]).css({display:"block"}):$(i[0]).css({display:"none"})},this.searchAllTerms=function(t,e,n){return!!e&&e.some(function(e){return W.contains(t,e)&&e===n})},this.confirmGuide=function(e){var e=e.step,t=Yh(e);e.advance(),t?t.click():I(new Error("confirmation action called but confirmationElement was not found"),"pendo.io confirmationElement exception",{stepId:e.id,confirmationElementPathRule:e.confirmationElementPathRule})},this.getTransitionParams=r,{advanceGuide:"advanceGuide",previousStep:"previousStep",goToStep:"goToStep",submitPoll:"submitPoll",guideSnoozed:"guideSnoozed",dismissGuide:"dismissGuide",showElements:"showElements",hideElements:"hideElements",slideElement:"slideElement",showGuide:"showGuide",launchGuide:"launchGuide",renderResourceCenterModule:"renderResourceCenterModule",returnToResourceCenterHome:"returnToResourceCenterHome",openLink:"openLink",searchGuides:"searchGuides",submitPollAndGoToStep:"submitPollAndGoToStep",confirmation:"confirmation"});function r(e){return e.params.find(function(e){return"transitionDirection"===e.name})?[{name:"transitionCss",type:"string",value:"left 200ms"},{name:"transitionDirection",type:"string",value:"right"}]:[]}return this};function Qh(){function e(e){this._object=e}return e.prototype.deref=function(){return this._object},e}Object.defineProperty(Xh.prototype,"registeredActions",{value:{}}),Xh.registerAction=function(e,t){var n;e&&"string"==typeof e&&t&&"function"==typeof t&&((n=Xh.prototype.registeredActions)[e]=t,Object.defineProperty(Xh.prototype,"registeredActions",{value:n}))};var eg=function(e){var t=iy.WeakRef;return"function"==typeof t&&/native/.test(t)?t:e()}(Qh),A={renderGuideFromJSON:function(e,n,t,i){var r=n.getGuide(),o=ld(e),a=W.get(r,"attributes.resourceCenter");a&&te.revertRtlChanges(r,e.props);var s=a&&te.isFullyCustom(r),u="AnnouncementsModule"===W.get(r,"attributes.resourceCenter.moduleId"),o=(n.hasEscapeListener=!1,n.containerId=o&&o.props&&o.props.id,n.element=Du(n),A.buildNodeFromJSON(e,n,t)),t=(n.guideElement=o).find("#"+n.containerId),d="data-vertical-alignment",c="Relative to Element"===t.attr(d);c&&!a&&$(n.guideElement).css({overflow:"hidden",height:"0",width:"0"});t.css({visibility:"hidden"}),o.css({visibility:"hidden"});d=yf.buildWatermark({appId:r.appId,targetAccount:r.targetAccount,isTraining:r.isTraining,isBottomAligned:"Bottom Aligned"===t.attr(d)},A.buildNodeFromJSON);d&&t.append(d);var d=n&&n.attributes&&n.attributes.imgCount,l=(o.appendTo(Pu()),t.find('[data-pendo-grow-height="true"]')[0]);l&&jd(l,o[0]);s||u||(A.recalculateGuideWidth(n.containerId),A.adjustGuideContentWidth(n.containerId));d||a||A.flexAllThings(n.containerId);s||A.recalculateGuideHeight(n.containerId);c?n.attributes.calculatedType="tooltip":zd.attachBBAdvanceActions(n);c&&!d&&zd.positionStepForTooltip(n,e,t[0]);a&&(te.showHomeViewOrEmptyState(r),l=[],u?l=[r.attributes.resourceCenter]:A.flexAllThings(n.containerId),l.length)&&W.forEach(l,function(e){e=W.get(e,"children",[]);W.forEach(e,function(e){var t;e&&(t=e.steps[0],W.isUndefined(t.attributes.imgCount))&&(t=W.get(t,"id",n.id),e=W.get(e,"id",r.id),t=$("#pendo-g-"+t).length?t:e,A.flexAllThings("pendo-g-"+t))})});{var f;d?(f=K.defer(),o.rendered=f.promise,t.on("imagesLoaded",function(){f.resolve()})):(t.css({visibility:"visible"}),o.css({visibility:"visible"}),o.rendered=K.resolve())}n.elements.push(n.guideElement[0]),!S.designer&&W.get(n,"attributes.isAutoFocus")&&(A.autofocusStep(n,t),A.trapFocusStep(n,t),n.hiddenElements=A.addAriaHiddenOutsideGuide(o[0]));return o},autofocusStep:function(e,t){var n="autofocus for guide id: "+e.getGuide().id+" step id: "+e.id+" ",i={maxRetries:100,delay:50,exponentialBackoff:!1};At(function(){var e=$(t).find("#pendo-guide-container");return(e=e[0]||e)&&Po(e)&&ko(e)&&Lo(e)?e:null},i,function(t){At(function(){return!!(e=t)&&(e.focus(),e===$.getRootNode(e).activeElement);var e},i,function(){},function(){Kr(n+"#pendo-guide-container is available on page but could not capture focus")})},function(){Kr(n+"#pendo-guide-container did not render or become visible in time to focus")})},trapFocusStep:function(e,t){!function(e){var o,a,t,s,u,n,d=e[0];d&&(t=["a[href]:not([disabled])","button:not([disabled])","textarea:not([disabled])",'input[type="text"]:not([disabled])','input[type="radio"]:not([disabled])','input[type="checkbox"]:not([disabled])',"select:not([disabled])","[tabindex]","iframe"].join(", "),(t=e.find(t)).length)&&(o=t[0],a=t[t.length-1],t=function(e){var t={margin:0,padding:0,outline:"none",border:"none","box-shadow":"none",shadow:"none"},t={type:"style",props:{type:"text/css",scoped:"scoped",id:"pendo-focus-bumper-styles"+Date.now()},css:[{selector:".pendo-start-focus-bumper",styles:W.extend({},t,{tabIndex:0})},{selector:".pendo-start-focus-bumper:hover",styles:t},{selector:".pendo-start-focus-bumper:focus",styles:t},{selector:".pendo-end-focus-bumper",styles:W.extend({},t,{tabIndex:0})},{selector:".pendo-end-focus-bumper:hover",styles:t},{selector:".pendo-end-focus-bumper:focus",styles:t}]},t=A.buildNodeFromJSON(t),t=(e.prepend(t),ry.createElement("div")),n=(t.setAttribute("id","pendo-start-focus-bumper-"+Date.now()),t.setAttribute("class","pendo-start-focus-bumper"),t.setAttribute("tabIndex",0),e.prepend(t),ry.createElement("div"));return n.setAttribute("id","pendo-end-focus-bumper-"+Date.now()),n.setAttribute("class","pendo-end-focus-bumper"),n.setAttribute("tabIndex",0),e.append(n),[t,n]}(e),s=t[0],u=t[1],g(ry,"keyup",n=function(e){var t,n,i="Tab"===e.key||9===e.keyCode,r=e.shiftKey;i&&(t=(i=$.getRootNode(d).activeElement)===d,n=ry.activeElement===ry.body,r?(i===s||t||n)&&(a.focus(),e.preventDefault()):(t||i===u||n)&&(o.focus(),e.preventDefault()))}),g(ry,"keydown",n),w.one("unmounted",function(){C(ry,"keyup",n),C(ry,"keydown",n)}))}(t.find("#pendo-guide-container"))},addAriaHiddenOutsideGuide:function ny(e,n){void 0===n&&(n=[]);if(!e||e===bo())return n;var t=Io(e);W.each(t,function(e){var t;-1===n.indexOf(e)&&"true"!==e.getAttribute("aria-hidden")&&"script"!==(t=e.tagName.toLowerCase())&&"style"!==t&&(e.setAttribute("aria-hidden","true"),n.push(new eg(e)))});e.parentNode&&ny(e.parentNode,n);return n},renderResourceCenterModule:te.renderResourceCenterModule,buildNodeFromJSON:oc,attachImgLoadHandlers:ac,recalculateGuideHeightOnImgLoad:sc,buildStyleString:function(e){var n="";return W.each(e,function(e,t){n=n+t+":"+e+";"}),n},buildStyleTagContent:cc,bindActionToNode:uc,recalculateGuideHeight:Wd,recalculateGuideWidth:qd,adjustGuideContentWidth:Kd,findDomBlockInDomJson:fd,isElementHiddenInGuide:ee.isElementHiddenInGuide,positionStepForTooltip:zd.positionStepForTooltip,flexAllThings:ee.flexAllThings,flexElement:ee.flexElement,findTopLevelContainer:function(t){for(var e=["pendo-base","pendo-resource-center-container"],n=0;n<20;n++){if(W.find(e,function(e){return t.id===e}))return t;if(t===ry.body)return ry.body;t.parentNode&&(t=t.parentNode)}return ry.body},updateBackdrop:kd,buildNodesFromJSON:nc,findGuideContainerJSON:ld,maintainAspectRatios:ee.maintainAspectRatios,sizeElement:jd,getAllowedAttributes:rc,repositionFlexElementsInFullWidthGuides:function(){},isBuildingBlockGuideRelativeToElement:zd.isBuildingBlockGuideRelativeToElement,updateAriaLabelledbyForActiveFollowupQuestion:Zh},tg={BuildingBlockGuides:A,BuildingBlockResourceCenter:te,BuildingBlockTemplates:hd,BuildingBlockTooltips:zd,BuildingBlockSvgs:gd},ng=[],ig=!1,rg={agent:{getJwtInfoCopy:Ra.get},agentStorage:d,attachEvent:g,BuildingBlocks:tg,ConfigReader:m,Events:w,EventTracer:Ln,EventRouter:Xh,Extensions:{API:{addTopic:Ac}},getAssetUrl:Cr,GlobalRuntime:{addGlobalScript:cd.addGlobalScript},GuideLoop:{addUpdatePhase:dl,removeUpdatePhase:cl},NodeSerializer:tu,q:K,store:J,transmit:{fetchKeepalive:Vr,sendBeacon:$r},unhandledError:I,unhandledErrorPriority:Xn,util:{trim:st}};function og(e){ng.push(e),ig&&e.initialize(S,rg)}function ag(){W.each(ng,function(e){e.initialize(S,rg)}),ig=!0}function sg(t){W.each(ng,function(e){t("log",e.name),e.validate&&e.validate(S,rg,t)})}function ug(e){return W.extend(e.uri,W.pick(e,"name")),og(e.uri),e}function dg(e){return!!e.uri.initialize}Rc.registerExtensionsByUse("plugin",ug,dg);var cg=!1,lg=function(e){var t=e.old_visitor_id,e=e.visitor_id;return Bn(t)?Gn(e)?Bn(e)?(q("Visitor is anonymous: "+e),!1):Wn(e)?(q("Visitor id is the default: "+e),!1):(q("Re-mapping visitor identity from "+t+" to "+e),!0):(q("Not valid visitor id: "+e),!1):(q("Visitor is already identified: "+t),!1)},fg=function(e){var t=e.old_account_id,e=e.account_id;return Gn(e)?t!==e&&(q("Re-mapping account identity from "+t+" to "+e),!0):(q("Not valid account id: "+e),!1)};function pg(){cg||(w.identify.on(function(e){e=e.data[0];(lg(e)||fg(e))&&(Da("identify",e),Ea())}),w.metadata.on(function(e){var t;xc()||(t=(e=e.data[0]).options,e.hashChanged&&(Da("meta",t),Ea()))}),cg=!0)}function hg(){return m.get("guideSeenTimeoutLength")}var gg=function(){var i=[];return w.beforeGuideShow.on(function(e){var t=e.data[0],e=e.data[1],n=t.guide;m.get("enableGuideTimeout")&&(e=-1<W.indexOf(["dom","launcher","badge","api"],e),"active"===t.seenState||t.hasBeenControlled()||t.isTimedOut()||(n=n&&n.steps)&&(0!==W.indexOf(n,t)||e)&&gg.start(t))}),w.guideSeen.on(function(){gg.stop()}),w.guideNotSeen.on(function(){gg.stop()}),{start:function(e){var o,t,n=i[0];n&&n!==e.id&&(n=i[1],W.isFunction(n))&&n(),e.shouldStartTimer()&&(o=hg(),n=W.partial(function(e,t){var n,i,r=E(t);r&&(n=r.findStepById(e))&&!r.isShown()&&(i=n.canShowOnPage(Kp())?Ip(n)?"other":"element":"page",Fp(t,e,V(),i,r.language,o),q("Guide",t,"timed out showing Step",e),n.timeout()),gg.stop()},e.id,e.guide.id),t=setTimeout(n,o),i=[e.id,n,t])},stop:function(){var e=i[2];e&&clearTimeout(e),i=[]},getGuideSeenTimeoutLength:hg}}();function mg(e){e=e.events;W.each(void 0===e?[]:e,function(e,t){Ku[t]&&Ku[t](e)})}var vg=0,yg="initializeImmediately",bg=ii(function(e){if("complete"===ry.readyState||W.get(e,yg)||m.get(yg))if(q("pendo.initialize called with "+y.stringify(e)),S.apiKey)1==vg++&&q(["pendo.initialize only needs to be called once",xt()?" per namespace":"",". Use pendo.updateOptions to update metadata after the agent has initialized."].join(""));else{if(e=e||{},W.isEmpty(Ra.get())&&(t=Ra.getJwtOptions(e,"initialize"))&&(Ra.set(W.pick(e,"jwt","signingKeyName")),W.extend(e,t)),W.isString(e))return Ei.get(e).then(function(e){return bg(PendoConfig=e.data)});Ms.run(),J.dispatch("location/init",e.location||{}),m.setLocalConfig(e),Sr(),xr(S);var t=m.get("cookieDomain");t&&jt(t,location.host),lf.discoverKeys(e),lf.getApiKey()?(J.commit("metadata/setMetadata",{selfHosted:Ic()}),e.logStackTraces&&(S.logStackTraces=e.logStackTraces),m.get("preferBroadcastChannel")&&Lf.secure(!0),zr&&(S.disableGuideCenterContentSearch=e.disableGuideCenterContentSearch,mg(e),_h(),pg(),Iu(),ag(),qh(),$h(e)),Hn()||zn(),!0!==e.usePendoAgentAPI&&S.updateOptions(e),e.visitorId&&e.visitorId!=jn?S.identify(e.visitorId):e.visitor&&e.visitor.id&&e.visitor.id!=jn&&(t=null,e.account&&e.account.id&&(t=e.account.id),S.identify(e.visitor.id,t)),f.watch(S.pageLoad),Cs(f.get()),zr&&w.ready.trigger(),vg++,wg(),xg()):r("API key is not set, Pendo will not initialize.")}else ne(S,"initialize",arguments)});function wg(){iy.parent&&iy.parent.postMessage&&"function"==typeof iy.parent.postMessage&&iy.parent.postMessage({type:"announce-frame-initialized",destination:"pendo-designer-agent",source:"pendo-designer-agent",localStorageRouter:!0},Lf.targetOrigin())}function Ig(e){return!W.isArray(e)||W.isEmpty(e)}function Sg(e){if(!Ig(e))return W.find(e,function(e){return"initialize"===e[0]})}function xg(i){var e;return!Ig((i=i||S)._q)&&(e=!!Sg(i._q),Eg(i)||e)?(e=i._q.splice(0,i._q.length),W.reduce(e,function(e,t){var n;return W.isArray(t)&&(n=i[t.shift()],W.isFunction(n))?e.then(function(){return n.apply(i,t)}):e},K.resolve()).then(xg)):K.resolve()}var Eg=function(e){return(e=e||S).doesExist(e.apiKey)};function Cg(){Eg()?q("already running"):(iy.pendo_options&&bg(iy.pendo_options),xg(),Ca(ir))}function _g(e,t,n){m.get("disableAutoInitialize")||(e=(e=Sg(e))&&1<e.length?e[1]:{},W.get(e,yg)||m.get(yg)?t():n(t))}var Tg=function(e){var t,n=jh();n&&(t=n.guide.steps[n.stepIndex+1],e=e||0,setTimeout(function(){var e=l(t.elementPathRule);0!==e.length&&W.some(e,Po)?mp(n.step):mp(t)},e))},Ag=function(e,t){var n=jh(),i=$(t=t||n.step.elementPathRule)[0],r=function(){mp(),C(i,e,r,!0)};g(i,e,r,!0)},Rg=function(){$("._pendo-guide_").css("display:none;");var t=Kp(),e=jh().guide.steps,n=W.filter(W.rest(e),function(e){return!!e.pageId}),n=W.indexOf(e,W.find(n,function(e){return Vp(e.regexUrlRule,t)}));q("startingPoint is "+n),-1==n?$("._pendo-guide_").css("display:block;"):(n=e[Math.max(0,n-1)],q("found starting step to be "+n.id),mp(n))},kg=function(e,t,n){if(t)n||(i=[].concat(t.steps).reverse(),n=W.findWhere(i,{seenState:"active"}));else{var i=jh();if(!i)return;t=i.guide,n=i.step}return(e=W.template(e=e||"Step <%= currPos %> of <%= total %>"))({currPos:t.getPositionOfStep(n),total:t.getTotalSteps()})},Lg={getActiveGuide:jh,smartNextStep:Tg,smartFirstStep:Rg,advanceOn:Ag,renderStepPosition:kg};function Og(e,t){var n="",i=e.nodeType;if(t=t||128,i===_r||i===kr)return e.nodeValue;if(!Ng(e)&&(i===Tr||i===Ar||i===Rr)){if(!e.childNodes)return n;for(var r,o=0;o<e.childNodes.length;++o){if(t<=(n+(r=Og(e.childNodes[o],t-n.length))).length)return n+Fg(r.substring(0,t-n.length));n+=r}}return n}function Ng(e){return!e.tagName||"textarea"==e.tagName.toLowerCase()}function Mg(e){return 55296<=e&&e<=56319}function Pg(e){return 56320<=e&&e<=57343}function Fg(e){if(!(e.length<1)){var t=e.slice(-1).charCodeAt(0);if(Mg(t)||Pg(t)){if(1===e.length)return e.slice(0,-1);if(Mg(t))return e.slice(0,-1);if(Pg(t))if(!Mg(e.slice(-2).charCodeAt(0)))return e.slice(0,-1)}}return e}function Dg(e,t){var n;e&&W.isString(e)?(W.isObject(n=t)||(n={__err__:t}),t=f.get(),Da("track",n,t,e)):I("Must provide valid name string for event tracking","",null,Xn.Low)}var Ug=function Ug(r){var o=[];function a(e,t,n,i){r?o.push({type:n,message:t,value:i}):x(i)?console[e](t,i):console[e](t)}if("undefined"==typeof console||!console.group)return"Please run this test in the latest version of Chrome, Firefox, Safari, or Internet Explorer";r||console.group("Pendo Install Validation"),S.apiKey||a("error","No Pendo API key configured. Make sure to call pendo.initialize() with a valid Pendo API key.","apiKey");var e=V(),e=(Bn(e)&&a("warn",'The current visitor is not identified and will be treated as "anonymous". Is this expected? (You might have used "VISITOR-UNIQUE-ID" as the visitor ID)',"isAnonymousVisitor"),Wn(e)&&a("error","The current visitor ID matches the example visitor ID from the Pendo installation instructions.","isDefaultVisitor"),Zn()),t=(e||a("warn","The current visitor is not associated with an account. Is this expected?","noVisitorInAccount"),"ACCOUNT-UNIQUE-ID"===e&&a("error","The current account ID matches the example account ID from the Pendo installation instructions.","exampleAccountId"),m.get("disableCookies")&&a("warn","Cookies are disabled in Pendo config. Is this expected?","disableCookies"),Ec());if(W.each(["visitor","account","parentAccount"],function(n){var i=t&&t[n],e=W.chain(i).keys().value();0<e.length?(r||console.group(n+" metadata (does this look right?):"),0<(e=W.chain(e).map(function(e){return e.toLowerCase()}).countBy().pick(function(e){return 1<e}).keys().value()).length&&W.each(e,function(e){a("warn","Keys will be lowercased and any duplicates overwritten. Please choose unique key names for:",n+"MetadataConflict",e)}),W.each(W.keys(i),function(e){var t=i[e];W.isObject(t)&&!W.isArray(t)?a("warn",e+" is an object and will be ignored.",n+"Metadata",t):W.isArray(t)&&W.any(t,W.isObject)?a("warn",e+" contains object values. The objects will be ignored.",n+"Metadata",t):a("log",e+":",n+"Metadata",t)}),r||console.groupEnd()):"parentAccount"!==n&&a("warn","No "+n+" metadata found. Learn more about metadata here: http://help.pendo.io/resources/support-library/installation/metadata.html",n+"MetaData")}),r)return o;console.groupEnd()},Gg=function(n){var e=[{nativeType:Object.prototype,displayName:"Object | Prototype "},{nativeType:Object,displayName:"Object  ",propsToCheck:["create"]},{nativeType:Number.prototype,displayName:"Number  "},{nativeType:String.prototype,displayName:"String  "},{nativeType:Function.prototype,displayName:"Function"},{nativeType:Boolean.prototype,displayName:"Boolean "},{nativeType:Array.prototype,displayName:"Array   "},{nativeType:Date.prototype,displayName:"Date    "},{nativeType:RegExp.prototype,displayName:"RegExp  "},{nativeType:y,displayName:"JSON    ",propsToCheck:["parse","stringify"]},{nativeType:Math,displayName:"Math    "},{nativeType:Sn.prototype,displayName:"Promise "},{nativeType:iy,displayName:"Window ",propsToCheck:["alert","asap","atob","btoa","cancelAnimationFrame","clearImmediate","clearInterval","clearTimeout","close","confirm","getComputedStyle","getSelection","open","postMessage","prompt","requestAnimationFrame","scroll","scrollBy","scrollTo","setImmediate","setInterval","setTimeout","stop","XMLHttpRequest","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent"]}],r=!1,i=(W.each(e,function(e){var t=e.nativeType,n=[],i=e.propsToCheck||Object.getOwnPropertyNames(t);W.each(i,function(e){try{e&&t[e]&&"function"==typeof t[e]&&(t[e].toString().includes("[native code]")||n.push(e))}catch(Ut){}}),n.length&&(e.nonNativeImplementations=n,r=!0)}),{hasNonNativeMethods:r,implementations:[]});return n||console.group("Native javascript method check:"),r?(n||console.warn("Pendo has detected that your application may be changing native javascript functionality. We suggest consulting an engineer or your CSM to better understand if these changes will negatively impact Pendo's ability to function properly"),W.each(e,function(e){var t;e.nonNativeImplementations&&(t=e.displayName.trim(),n?i.implementations.push({nativeType:t,nonNativeImplementations:e.nonNativeImplementations}):console.warn(t+" | Contains the following non-native implementations:",e.nonNativeImplementations.sort().join(", ")))}),n?i:void console.groupEnd()):n?i:(console.log("Environment uses native javascript implementations"),console.groupEnd())},Bg=function(e){var t=[];if(W.isNumber(iy.frames.length)&&W.isFinite(iy.frames.length)&&$("iframe").length+$("frame").length===iy.frames.length||t.push("Pendo has detected that window.frames.length has been modified"),iy.Event&&iy.Event.prototype||t.push("Pendo has detected that window.Event has been modified"),t.length){if(e)return t;console.group("Global variables:"),W.each(t,function(e){console.warn(e)}),console.groupEnd()}},Hg=function(e){var t,n=iy.location.href,i=[];try{(t=Ni())!==n&&i.push({type:"customizedUrl",msg:"URL has been customized. This will affect data collection, guide requests, and reload tests.",value:t})}catch(Ut){i.push({method:"error",msg:"Error getting Custom URL",value:Ut})}try{var r=f.externalizeURL();r!==t&&i.push({type:"sanitizedUrl",msg:"URL has been sanitized. This will affect sending data and guides requests.",value:r})}catch(Ut){i.push({method:"error",msg:"Error getting Externalized URL",value:Ut})}if(e)return i;console.group("URL Validation"),console.log("Browser URL:",n),W.each(i,function(e){e.method?console[e.method](e.msg+"\n"+e.value):console.warn(e.msg+"\n"+e.value)}),console.groupEnd()},zg=function(){wn()&&(console.group("Agent Error History"),W.each(In(),function(e,t){console.log("Error History ",t,e)}),console.groupEnd())},jg=function(){console.group("Active Plugins"),sg(function(e,t){console[e](t)}),console.groupEnd()},Wg=function(){Ug(),jg(),Gg(),Bg(),Hg(),m.validate(console),zg()};function qg(e,t){this.state={duration:e,isStopped:!0,handle:null,cb:t,hasRun:!1,errors:[],options:{}},this.shouldJobRun=function(){return!(!this.state.hasRun&&this.state.options.skipFirstRun||this.state.isStopped)},this.doJob=function(e){if(e)try{this.state.cb(this)}catch(Ut){this.state.errors.push(Ut)}},this.afterJobRun=function(){this.state.hasRun=!0,this.state.handle=setTimeout(this.run,this.state.duration)},this.run=W.compose(W.bind(this.afterJobRun,this),W.bind(this.doJob,this),W.bind(this.shouldJobRun,this))}qg.prototype.start=function(e){this.state.isStopped&&(this.state.isStopped=!1,this.state.options.skipFirstRun=e,this.run())},qg.prototype.stop=function(){clearTimeout(this.state.handle),this.state.isStopped=!0,this.state.hasRun=!1};var Kg=Ei.urlFor;function Jg(e,t,n){var i={search:["AllowOnlyKeys","ExcludeKeys","AddTo","Replace","Clear"],hash:["Replace","Clear"],pathname:["Replace"],hostname:["Replace"],href:["Replace","ForceSecure"],protocol:["ForceSecure"]};if(W.isObject(e)&&(t=e.action,n=e.data,e=e.attr),!i[e])throw new Error("Invalid URL attribute type: "+e);if(!W.contains(i[e],t))throw new Error("Invalid transform ("+t+") for attribute ("+e+")");this.attr=e,this.action=t,this.data=n}function Vg(e){return e instanceof oi||e instanceof HTMLAnchorElement}Jg.prototype.applyToURL=function(e){return{AllowOnlyKeys:function(e,t,n){W.isFunction(n)&&(n=n(e[t],e));t=e.href;return new oi(Zi(t,null,n,!1))},ExcludeKeys:function(e,t,n){W.isFunction(n)&&(n=n(e[t],e));t=e.href;return new oi(Zi(t,null,n,!0))},AddTo:function(e,t,n){W.isFunction(n)&&(n=n(e[t],e));t=e.href;return new oi(Kg(t,n))},Clear:function(e,t){return e[t]="",e},Replace:function(e,t,n){return W.isFunction(n)&&(n=n(e[t],e)),"href"===t?new oi(n):(e[t]=n,e)},ForceSecure:function(e,t){return"protocol"===t?e.protocol="https":e.href=e.href.replace(/^(.*:\/\/\/)/,"https://"),e}}[this.action](e,this.attr,this.data)},Jg.prototype.toString=function(){return this.attr+" - "+this.action+" - "+y.stringify(this.data)},Jg.fromJSON=function(e){return new Jg(e.attr,e.action,e.data)};var $g=function(){var i=function(){var t,n,i,r,e=Oi(),o=f.isElectron()?(t=f.electronAppName(),n=f.electronResourcesPath(),i=f.electronUserDirectory(),r=f.electronUserHomeDirectory(),[new Jg("pathname","Replace",function(e){e=e.replace(n,t);return e=(e=e.replace(i,t)).replace(r,"")}),new Jg("href","ForceSecure")]):[];return a([].concat(o),e)},e={transforms:[],internalTransforms:[],electronTransforms:[],currentSrcFn:i},r=new qg(500,function(e){Eg()&&Cs()}),o=function(e){if("string"==typeof e)return new oi(e);if(Vg(e))return e;throw new Error("Invalid type from custom URL source. Must be either an URL or a String of a valid url.")},a=function(e,t){return W.reduce(e,function(e,t){return t.applyToURL(e)},t)},t=function(e){try{var t=function(e){return n=e},n=W.reduce([e.currentSrcFn,o,t,W.partial(a,e.transforms),o,t,W.partial(a,e.internalTransforms),o],function(e,t){return t(e)},null)}catch(Ut){I(Ut),n=n||iy.location}return n};return{state:e,actions:{init:function(e,t){e.commit("clearTransforms"),e.commit("clearInternalTransforms"),e.commit("changeUrlSource"),t.transforms&&e.dispatch("addTransforms",t.transforms),t.setUrl&&e.commit("changeUrlSource",t.setUrl)},addTransforms:function(t,e){W.each(e,function(e){t.commit("addTransform",Jg.fromJSON(e))})},addInternalTransforms:function(t,e){W.each(e,function(e){t.commit("addInternalTransform",Jg.fromJSON(e))})}},mutations:{addTransform:function(e,t){e.transforms.push(t)},addInternalTransform:function(e,t){e.internalTransforms.push(t)},clearTransforms:function(e){e.transforms=[]},clearInternalTransforms:function(e){e.internalTransforms=[]},changeUrlSource:function(e,t){if(t){if("string"==typeof t)var n=new oi(t),n=W.partial(W.identity,n);else if(Vg(t))n=W.partial(W.identity,t);else{if("function"!=typeof t)throw new Error("URL Source must be either a Function that returns a URL or String that is a valid URL. Or, it may be a static URL or String.");n=t}e.currentSrcFn=n,r.start(!Eg())}else e.currentSrcFn=i,!(t=m.get("eventPropertyConfigurations"))||W.isEmpty(t)?r.stop():r.start(!Eg())}},getters:{url:t,href:function(e){return t(e).href}}}}();function Zg(e){var t;if("function"==typeof Zg[e])return t=W.toArray(arguments).slice(1),Zg[e].apply(Zg,t)}function Yg(){console.warn("This functionality is not supported by your subscription.")}function t(e){return zr?e:Yg}function Xg(e){e.getVersion=nt,e.isReady=Eg,e.pageLoad=Cs,e.getVisitorId=V,e.getAccountId=Zn,e.clearSession=ei,e.VERSION=et,e.flushNow=t(function(){return xa()}),e.initGuides=t(_h),e.loadGuides=t(dh),e.findGuideByName=t(br),e.hideGuides=t(op),e.onGuideDismissed=t(fp),e.goToStep=gp,e.onGuideAdvanced=t(mp),e.onGuidePrevious=t(vp),e.onGuideSnoozed=pp,e.startGuides=t(Zc),e.stopGuides=t(Yc),e.defaultCssUrl=t(Kf()),e.getActiveGuides=p,e.getActiveGuide=jh,e.guideSeenTimeoutLength=gg.getGuideSeenTimeoutLength(),e.guidesPayload=eh,e.areGuidesDisabled=t(Th),e.setGuidesDisabled=t(Rh),e.buildNodeFromJSON=A.buildNodeFromJSON,e.flexElement=t(A.flexElement),e.GuideFactory=t(ed),e.dom=$,e.getText=Og,e.attachEvent=t(g),e.detactEvent=t(C),e.frames={setFrameVisibility:qu},e.log=q,e.enableLogging=an,e.disableLogging=sn,e.setActiveContexts=yn,e.showLogHistory=gn,e.getLoggedContexts=mn,e.isDebuggingEnabled=Qt,e.enableDebugging=Jh,e.disableDebugging=Vh,e.addDebuggingFunctions=Kh,e.stopSendingEvents=t(ba.lock),e.startSendingEvents=t(ba.unlock),e.isSendingEvents=t(Qr),e.fromByteArray=R.uint8ToBase64,e.events=t(Ku),e.track=t(Dg),e.validateInstall=Ug,e.validateNativeMethods=Gg,e.validateBuiltInGlobals=Bg,e.validateUrl=Hg,e.validateEnvironment=Wg,e.doesExist=x,e.generate_unique_id=Dn,e.TEMP_PREFIX=Pn,e.SIZE_UNIQUE_ID=Fn,e.defaultLauncher=W.noop,e.toggleLauncher=W.noop,e.showLauncher=W.noop,e.hideLauncher=W.noop,e.removeLauncher=W.noop,e.identify=wc,e.get_visitor_id=V,e.set_visitor_id=function(e){wc(e)},e.get_account_id=Zn,e.set_account_id=function(e){wc(V(),e)},e.getSerializedMetadata=Cc,e.compress=pt,e.squeezeAndCompress=pt,e.randomElement=wt,e.randomString=It,e.toUTF8Array=ut,e.getNumberFromText=Rt,e._addCredits=t(yp),e.getCurrentUrl=Kp,e.getNormalizedUrl=Kp,e.testUrlForStep=t(Vp),e.showGuideByName=t($p),e.showGuideById=t(Zp),e.designerv2=ff,e.P2AutoLaunch=t(pf),e.BuildingBlocks=t(tg),e.buffers=ba,e.guideDev=t(Lg),e.badgesShown=t(lr),e.get_pendo_cookie=Jt,e.DEFAULT_EXPIRE_LEN=Vt,e.set_pendo_cookie=$t,e.loadResource=qo,e.loadWatcher=Ko,e.messageLogger=Jo,e.messageReceiver=Vo,e.messageValidator=$o,e.MESSAGE_TYPES=ta,e.messageDispatcher=ia,e.moduleRegistry=ra,e.addModule=oa,e.hasModule=t(aa),e.findModuleByName=t(sa),e.modulesWaiting=ua,e.loadModules=da,e.moduleLoader=fa,e.TOOLTIP_DEFAULT_WIDTH=430,e.TOOLTIP_DEFAULT_HEIGHT=200,e.TOOLTIP_ARROW_SIZE=15,e.LB_DEFAULT_WIDTH=500,e.LB_DEFAULT_HEIGHT=500,e.sniffer=b,e.url=f,e.location=Zg,e.Sizzle=l,e._=W,e.ajax=Ei,e.Zlib=mt,e.guideContent=t(ud.guideContent),e.receiveDomStructureJson=t(ud.receiveDomStructureJson),e.addExtension=kc}W.extend(Zg,{getHref:function(){return J.getters["location/href"]()},clearTransforms:function(){J.commit("location/clearTransforms")},addTransforms:function(e){J.dispatch("location/addTransforms",e)},setUrl:function(e){J.commit("location/changeUrlSource",e)},useBrowserUrl:function(){J.commit("location/changeUrlSource"),Cs()}});var Qg="is going away",em="is gone",tm=W.memoize(function(e,t){e=(e=e||"Function")+" deprecated"+(t=t?" and "+t:"");return q(e),e});function nm(e,t,n){return function(){return tm("pendo."+t,n),(e||W.noop).apply(null,arguments)}}function im(e){e.SHADOW_STYLE="",W.extend(e,{_showElementGuide:W.noop,flushEventCache:nm(null,"flushEventCache",em),HOST:vr,MAX_LENGTH:or,MAX_NUM_EVENTS:rr,_createToolTip:W.noop,_get_tooltip_dimensions:W.noop,_isOldIE:t(nm(Se,"_isOldIE",Qg)),_logMessage:nm(qr,"_logMessage",Qg),_sendEvent:nm(null,"_sendEvent",em),_sendGuideEvent:nm(null,"_sendGuideEvent",em),_stopEvents:!1,_storeInCache:nm(null,"_storeInCache",em),_writeEventImgTag:nm(null,"_writeEventImgTag",em),_writeImgTag:t(nm(Jr,"_writeImgTag",Qg)),getUA:nm(Ae,"getUA",Qg),ifDebugThen:nm(null,"ifDebugThen",em),send_event:t(nm(Da,"send_event","has changed to pendo.cache.createEvent")),wire_page:nm(Iu,"wire_page",Qg),messageOriginTester:nm(null,"messageOriginTester",em),findGuideBy:t(yr),findGuideById:t(E),findStepInGuide:t(wr),_updateGuideStepStatus:t(ip),_addCloseButton:t(tp),initialize:bg,getEventCache:t(wh),processEventCache:t(bh),isGuideShown:t(ep),_getNextStepInMultistep:t(qp),attachEvent:g,detachEvent:C,updateOptions:bc,createLauncher:W.constant({}),initLauncher:W.noop,_addGuideToLauncher:W.noop,launcherToolTipDiv:null,isAnonymousVisitor:Bn,DEFAULT_VISITOR_ID:jn,shouldIdentityChange:W.constant(!1),read:d.read,write:d.write,_delete_cookie:d.clear,_set_cookie:zt,_get_cookie:Ht,get_cookie_key:Kt,ENV:$e,eventCache:t(tr),_getOpacityStyles:nm(null,"_getOpacityStyles",Qg),setStyle:so,_createGuideEvent:t(Hp),seenGuide:t(Op),dismissedGuide:t(Np),advancedGuide:t(Pp),seenTime:0,placeBadge:t(El),isBadge:t(Lu),showPreview:t(nm(Tp,"showPreview",Qg)),removeAllBadges:t(Cl),tellMaster:pa,DEFAULT_TIMER_LENGTH:Wc,registerMessageHandler:na,_get_offset:t(X),_shouldAutoDisplayGuide:W.constant(!1),removeBadge:_l,_showLightboxGuide:W.noop,_showGuide:t(Rp),getElementForGuideStep:t(Du),isElementVisible:Po,getTooltipDivId:t(Cp),setupWatchOnTooltip:t(_p),letters:"",charset:"",detectMaster:ha,listenToMaster:nm(null,"listenToMaster",em),start:Au,SEND_INTERVAL:ir,stageGuideEvent:t(Wp),startStagedTimer:jp,isURLValid:sr,getURL:ur,_get_screen_dim:t(lo),_isInViewport:t(fo),_getCss3Prop:oo,waitThenStartGuides:t(qc),guidesProcessingThreadHandle:jc,getMode:W.constant("default")})}function rm(e){return e&&1===e.length?e[0]:W.any(e,kt)?K.all(e).then(function(e){return W.any(e)}):void 0}function om(){var e,t=this,n=(this.elements=[],this.attributes=this.attributes||{},this.attributes.device&&this.attributes.device.type?"all"==this.attributes.device.type?this.attributes.device={desktop:!0,mobile:!0}:(e=this.attributes.device.type,this.attributes.device={mobile:!1,desktop:!1},this.attributes.device[e]=!0):this.attributes.device=this.attributes.device||{},W.each(this.steps,function(e){"mobile-lightbox"===e.type&&(this.attributes.device.desktop=!1,this.attributes.device.mobile=!0),td(e,this)},this),this.isActivatedByEvent=function(e){return!!(this.hasLaunchMethod("dom")&&this.attributes&&this.attributes.activation&&W.contains(this.attributes.activation.event,e)&&this.canEventActivatedGuideBeShown())},this.isContinuation=function(e){return!1},this.isGuideWidget=function(){return this.attributes&&"launcher"===this.attributes.type},this.isOnboarding=function(){return this.attributes&&!!this.attributes.isOnboarding},this.isWhatsNew=function(){var e=W.first(this.steps);return e&&"whatsnew"===e.type},this.isAnnouncement=function(){return W.get(this,"attributes.isAnnouncement")},this.isHelpGuide=function(){return!this.isOnboarding()&&!this.isWhatsNew()&&!this.isGuideWidget()},this.nextStep=function(e){return null},this.hasLaunchMethod=function(e){return this.launchMethod&&0<=this.launchMethod.indexOf(e)},this.shouldAutoDisplay=function(){return!this.outsideTimebox()&&this.hasLaunchMethod("auto")&&W.any(this.steps,function(e){return e.shouldAutoDisplay()})},this.autoDisplay=function(){if(this.shouldAutoDisplay())return rm(W.map(this.steps,function(e){return e.autoDisplay()}))},this.isShown=function(){return W.any(this.steps,function(e){return e.isShown()})},this.canShowOnDevice=function(){if(!Nu()){var e=Mu(),t=this.attributes&&this.attributes.device||{};if(!e&&!1===t.desktop)return!1;if(e&&!0!==t.mobile)return!1}return!0},this.canShow=function(){return this.canShowOnDevice()&&W.any(this.steps,function(e){return e.canShow()})},this.launch=function(e){var t;return this.hasGuideBeenControlled()||(t=this.show(e)),this.isShown()?W.each(this.steps,function(e){e.seenState="active"}):!this.isShown()&&this.isControlGroup()&&W.each(this.steps,function(e){e.seenState="notSeen"}),t},this.show=function(t){return rm(W.map(this.steps,function(e){return e.show(t)}))},this.checkForHiddenGroupSteps=function(){},this.hide=function(t){W.each(this.steps,function(e){e.hide(t)})},this.hasBeenSeen=function(){return W.all(this.steps,function(e){return e.hasBeenSeen()})},this.canBadgeBeShown=function(){var e=this.attributes.badge;return!(e&&e.isOnlyShowOnce&&this.steps[0].hasBeenSeen())},this.placeBadge=function(){var e;this.canShowOnDevice()&&this.hasLaunchMethod("badge")&&this.canBadgeBeShown()&&!this.outsideTimebox()?(e=W.get(this,"attributes.resourceCenter"),this.isControlGroup()&&!e?this.hasGuideBeenControlled()||this.steps[0].onControlGuide("control"):(e=W.first(this.steps))&&W.isFunction(e.canShowOnPage)&&e.canShowOnPage(Kp())&&El(this)):Tl(this)},this.findStepById=function(t){return W.find(this.steps,function(e){return e.id===t})},this.isPoweredByEnabled=function(){return!!W.find(this.steps,function(e){return e.isPoweredByEnabled()})},this.searchFor=function(t){var e,n,i=null;return St(this.name,t,!0)?i="name":(e=!(n=[]),(e=0<(n=this.attributes&&this.attributes.launcher&&this.attributes.launcher.keywords?this.attributes.launcher.keywords:n).length?W.find(n,function(e){return St(e.text,t,!0)}):e)?i="tag":(n=W.map(this.steps,function(e){return e.searchFor(t)}),0<W.compact(n).length&&(i="content"))),!!i&&{guide:this,field:i}},this.shouldBeAddedToResourceCenter=function(){var e,t=this;return!(!t.steps||!t.steps.length||t.control||!t.eligibleInFrame&&(!t.steps[0].content&&!W.isFunction(t.steps[0].fetchContent)||(e=t.steps[0],!t.hasLaunchMethod("launcher")&&!t.isWhatsNew())||!e.canShowOnPage(Kp())||!t.canShowOnDevice()||!Ip(e)||t.outsideTimebox()))},this.shouldBeAddedToLauncher=function(){var e;return!(!this.steps||!this.steps.length||(e=this.steps[0],!this.hasLaunchMethod("launcher")&&!this.isWhatsNew())||!e.canShowOnPage(Kp())||!this.canShowOnDevice()||!Ip(e)||this.outsideTimebox())},"PENDO_HELPER_STEP");return this.getPositionOfStep=function(e){var t=W.reject(this.steps,function(e){return St(e.content,n)});return W.indexOf(t,e)+1},this.getTotalSteps=function(){return W.reject(this.steps,function(e){return St(e.content,n)}).length},this.getSeenSteps=function(){return W.size(W.filter(this.steps,function(e){return e.hasBeenSeen()}))},this.isComplete=function(){var t=["advanced","dismissed"];return W.all(this.steps,function(e){return W.contains(t,e.seenState)})},this.isInProgress=function(){var t=["active","advanced","dismissed"];return!this.isComplete()&&W.any(this.steps,function(e){return W.contains(t,e.seenState)})},this.isNotStarted=function(){return!this.isInProgress()&&!this.isComplete()},this.fetchContent=function(){return K.all(W.map(this.steps,function(e){if(W.isFunction(e.fetchContent))return e.fetchContent()}))},this.canEventActivatedGuideBeShown=function(){return!(this.attributes.dom&&this.attributes.dom.isOnlyShowOnce&&this.steps[0].hasBeenSeen())},this.isGuideSnoozed=function(){return W.any(this.steps,function(e){return e.isSnoozed()})},this.hasGuideBeenControlled=function(){return W.any(this.steps,function(e){return e.hasBeenControlled()})},this.isControlGroup=function(){return this.control},this.shouldShowSnoozedGuide=function(){var t=!1;return!this.outsideTimebox()&&W.any(this.steps,function(e){return!(t="dismissed"===e.seenState?!0:t)&&"snoozed"===e.seenState&&e.snoozeEndTime&&(new Date).getTime()>e.snoozeEndTime})},this.shouldRepeatGuide=function(){var t;return!(!this.redisplay||this.outsideTimebox()||this.isGuideSnoozed()||this.hasReachedMaxDismissals()||(t=0,W.forEach(this.steps,function(e){t=Math.max(t,e.lastSeenAt||0)}),!t))&&v()-t>=this.redisplay.interval},this.isExpired=function(){return!!this.expiresAfter&&v()>this.expiresAfter},this.isBeforeStartTime=function(){return!!t.showsAfter&&v()<t.showsAfter},this.outsideTimebox=function(){return t.isExpired()||t.isBeforeStartTime()},this.calculateDismissCountFromSteps=function(){var t=0;return W.forEach(this.steps,function(e){e.dismissCount&&(t+=e.dismissCount)}),t},this.hasReachedMaxDismissals=function(){return this.redisplay&&0!==this.redisplay.maxDismissals&&this.calculateDismissCountFromSteps()>=this.redisplay.maxDismissals},this}function am(){var e=this;return e.attributes&&"group"==e.attributes.type&&(e.checkForHiddenGroupSteps=function(){W.each(e.steps,function(e){e.isShown()||e.autoDisplay()})}),e}var sm=function(e){return e&&e.attributes&&!!e.attributes.isOnboarding};function um(){var r,o=!1;return(this.isMultiStep||this.isModule||this.isTopLevel)&&(W.each(this.steps,function(e){e.after("render",function(){W.each(e.elements,function(e){$(e).addClass("_pendo-guide-walkthrough_")})})}),r=null,this.sections=W.reduce(this.steps,function(e,t){var n,i;return i=t,!(n=r)||(n=W.last(n)).attributes.isRequired!=i.attributes.isRequired&&n.attributes.isRequired?(e.push(r),r=[t]):r.push(t),e},[]),this.sections=W.compact(this.sections.concat([r])),this.findSectionForStep=function(t){return W.find(this.sections,function(e){return W.contains(e,t)})},this.getSubSection=function(e,t){t=W.indexOf(e,t);return e.slice(t+1)},this.isContinuation=function(e){var t=this.isTopLevel||this.isModule,n=this.hasResourceCenterContent;return(!t||n)&&!!this.nextStep(e)},this.nextStep=function(t){var e=null;if(this.isGuideSnoozed())return null;t=t||{};for(var n,i,r=0;r<this.steps.length;r++)if(this.steps[r].id===t.guideStepId){if("dismissed"===t.state)break;if("active"===t.state||"snoozed"===t.state){e=this.steps[r];break}if("advanced"===t.state&&t.destinationStepId){e=W.find(this.steps,function(e){return e.id===t.destinationStepId});break}if(r+1<this.steps.length){e=this.steps[r+1];break}}return e?(n=(new Date).getTime(),(i=t.time)&&432e5<n-i&&!sm(this)?(o||(q("Multi-step continuation has expired","guides","info"),o=!0),null):e):null},this.shouldAutoDisplay=function(){return this.hasLaunchMethod("auto")&&(this.shouldShowSnoozedGuide()||this.shouldRepeatGuide()||W.all(this.steps,function(e){return e.shouldAutoDisplay()}))},this.autoDisplay=function(){var e,t,n;if(this.shouldAutoDisplay())return e=this.shouldRepeatGuide(),t=W.first(this.steps),n=this.nextStep(Fc())||t,this.shouldShowSnoozedGuide()||e?n.show(e?"repeatGuide":"auto"):t.autoDisplay()},this.launch=function(e){return W.first(this.steps).show(e)},this.show=function(e){var t=Fc(),n=W.first(this.steps),t=this.nextStep(t)||n;return t.show("continue"===e&&t===n&&"auto"===n.seenReason?"auto":e)},this.isComplete=function(){var e=W.last(this.steps);return!!e&&W.contains(["advanced","dismissed"],e.seenState)},this.activeStep=function(){var e=[].concat(this.steps).reverse();return W.findWhere(e,{seenState:"active"})}),this}function dm(){var o=this;function t(i){var r=[];return function(e){try{return e.apply(o,W.toArray(arguments).slice(1))}catch(Ut){var t,n="ERROR in guide "+i+' (ID="'+o.id+'")';throw r.push(v()),5<=r.length&&((0<(t=W.last(r)-W.first(r))?(r.length-1)/(t/6e4):Infinity)>=dm.MAX_ERRORS_PER_MINUTE&&(n="Exceeded error rate limit, dropping guide.\n"+n,mr.addGuide(o),w.trigger("renderFail",o)),r.shift()),I(Ut,n),Ut}}}return W.each(["canShow","placeBadge","show"],function(e){o[e]=W.wrap(o[e],t(e))}),o}function cm(){return W.isFunction(this.isAnnouncement)&&this.isAnnouncement()||(this.shouldBeAddedToLauncher=W.wrap(this.shouldBeAddedToLauncher,function(e){return J.getters["frames/hasFrames"]()?!(!J.getters["frames/isGuideInThisFrame"]()(this)||!e.apply(this,arguments))||!!J.getters["frames/isGuideInDifferentFrame"]()(this)&&J.getters["frames/shouldBeAddedToLauncher"]()(this):e.apply(this,arguments)}),this.shouldBeAddedToResourceCenter=W.wrap(this.shouldBeAddedToResourceCenter,function(e){return J.getters["frames/hasFrames"]()?!(!J.getters["frames/isGuideInThisFrame"]()(this)||!e.apply(this,arguments))||!!J.getters["frames/isGuideInDifferentFrame"]()(this)&&J.getters["frames/shouldBeAddedToResourceCenter"]()(this):e.apply(this,arguments)})),this}function lm(e){var t=this;return"whatsnew"===t.type||W.isFunction(e.isAnnouncement)&&e.isAnnouncement()||(t.isShown=W.wrap(t.isShown,function(e){return e.apply(this,arguments)||J.getters["frames/isShownInAnotherFrame"]()(t)})),t}function fm(o){var a,t,i,s,r,n,u,d=this;return d.pollIds&&d.pollIds.length&&(a="_pendo-poll-selected_",t=W.indexBy(o.polls,"id"),i=W.map(d.pollIds,function(e){return t[e]}),r=function(e,t){if(e&&t!==oy)return e.numericResponses?parseInt(t,10):t},n=function(){var e=o.id,t=d.id,n=v();Pp(e,t,V(),d.seenReason,o.language),ip(e,t,"advanced",n),Nc({guideId:e,guideStepId:t,time:n,state:"advanced"})},u=function(){var e=$("._pendo-poll_"),t=$("._pendo-poll-message_");t.length?(e.addClass("_pendo-poll-submitted_"),t.css("margin-top:-"+t.height()/2+"px"),n()):d.advance()},d.after("render",function(){var n=$("._pendo-poll_")[0],e=$("._pendo-poll-submit_",n)[0];e?d.attachEvent(e,"click",function(e){var t=$("._pendo-poll-question_",n),t=W.map(t,function(e,t){e=$("textarea,input:text,select,input:radio:checked",e);if(e&&e.length&&e[0].value)return{pollId:(t=i[t]).id,value:r(t,e[0].value)}});d.response(W.compact(t)),u()}):d.attachEvent(n,"click",function(e){var t,e=$(Si(e)).closest("._pendo-poll-question_ :button,._pendo-poll-question_ :radio");e.length&&(t=i[0],e=r(t,e.attr("data-pendo-poll-value")||e.attr("value")),d.response([{pollId:t.id,value:e}]),u())})}),d.after("render",function(){var i=$("._pendo-poll_ ._pendo-poll-npsrating_")[0],r=$("._pendo-poll_ ._pendo-poll-submit_"),o="_pendo-poll-npsrating-selected_";i&&(r.css({display:"none"}),d.attachEvent(i,"click",function(e){var t=$(":radio:checked",i)[0],n=$("._pendo-poll_");$("label",i).removeClass(a),n.removeClass(o),t&&($('label[for="'+t.id+'"]').addClass(a),n.addClass(o),r.css({display:""})),W.isFunction(d.resize)&&d.resize()}))}),d.after("show",function(){s=(new Date).getTime()}),d.response=function(e,r){e&&e.length&&(W.each(e,function(e,t){var n=function(t,e){if(e&&e.polls&&e.polls.length)return W.find(e.polls,function(e){return e.id===t})}(e.pollId,o),i=Hp("pollResponse",d.guideId,d.id,V(),oy,o.language);W.extend(i.props,{poll_id:e.pollId,poll_response:e.value,duration:(new Date).getTime()-s},r),n&&n.attributes&&n.attributes.type&&W.extend(i.props,{poll_type:n.attributes.type}),xh.push(i)}),xh.flush())}),d}dm.MAX_ERRORS_PER_MINUTE=30;var pm=function(){return{show:function(t,n){if(Nu()&&W.isFunction(t._show))return t._show(n),t.isShown();var e=t.getGuide();if("whatsnew"===t.type)return i(t,n);if(!J.getters["frames/hasFrames"]()||J.getters["frames/isGuideInThisFrame"]()(e)){e=function(e,t){if(e.getGuide().isModule){e=te.getResourceCenter();if(e)return i(e.steps[0],t)}}(t,n);if(kt(e))return e.then(function(){return i(t,n)}).then(function(e){return!!e||r(t,n)});e=i(t,n);if(kt(e))return e.then(function(e){return!!e||r(t,n)});if(e)return!0}return r(t,n)},showLocal:i};function i(e,t){return dd.hasContent(e)&&Yu.valid(e)?(e._show(t),e.isShown()):!(dd.hasContent(e)&&Yu.invalid(e)||!e.getGuide().canShowOnDevice()||!e.canShowOnPage(Kp()))&&(e.lock(),dd.fetchContent(e).then(function(){return!("whatsnew"!==e.type&&!e.isShown())&&Yu.validate(e.getGuide())}).then(function(){return!("whatsnew"!==e.type&&!e.isShown())&&(e.unlock(),e._show(t),e.isShown())}))}function r(t,e){var n=t.getGuide();return!(!J.getters["frames/hasFrames"]()||!J.getters["frames/isGuideInDifferentFrame"]()(n))&&(t.lock(),J.dispatch("frames/showGuideStep",{guideId:t.guideId,stepId:t.id,reason:e}).then(function(e){return t.unlock(),e.isShown},function(){return t.unlock(),!1}).then(function(e){return e&&(clearInterval(t.timeoutTimer),delete t.timeoutTimer),e}))}}();function hm(u){var e=!1,t=!1;return this.guide=u,this.elements=[],this.handlers=[],this.attributes=this.attributes||{},(this.domUrl||this.domJson)&&(this.eventRouter=new Xh),this.getGuide=function(){return this.guide},this.getContent=function(){var e=this.getGuide(),t=e&&e.steps||[],n=W.indexOf(t,this),i=Ec();try{var r=this.attributes.variables||{},o={step:{id:this.id,isFirst:0===n,isLast:n===t.length-1,index:n,number:n+1},guide:{id:e.id,name:e.name,publishedAt:e.publishedAt,showsAfter:e.showsAfter,percentComplete:t.length?Math.round((n+1)/t.length*100):0,stepCount:t.length},metadata:vt(i),template:r};return this.template||(this.template=W.template(this.content||"")),id(this.template(o).replace(/#_pendo_g_undefined/g,"#_pendo_g_"+this.id).replace(/pendo-src="([^"]+)"/g,function(e,t){return/<%=[^>]+>/.test(t)?e:'src="'+t+'"'}))}catch(Ut){return this.content}},this.isLocked=function(){return e},this.lock=function(){e=!0},this.unlock=function(){e=!1},this.isTimedOut=function(){return t},this.timeout=function(){t=!0},this.isRendered=function(){return this.elements&&0<this.elements.length},this.isShown=function(){return this.isRendered()||this.isLocked()},this.canShow=function(){return!W.get(this,"guide.attributes.isAnnouncement")&&!!u.canShowOnDevice()&&!this.isShown()&&!W.get(this,"stepIneligibleForApp")&&this.canShowOnPage(Kp())&&Ip(this)},this.canShowOnPage=function(e){return Vp(this.regexUrlRule,e)},this.shouldAutoDisplay=function(){return this.shouldRepeat()||!this.hasBeenControlled()&&!this.isSnoozed()&&!W.contains(["dismissed","advanced"],this.seenState)},this.autoDisplay=function(){var e;if(this.shouldAutoDisplay())return e=this.shouldRepeat()?"repeatGuide":"auto",this.show(e)},this._preRenderHealthCheck=function(){var e,t;return!(!(S.designer||Nu()||Ul())&&(e=Kp(),t={guideId:this.guideId,stepId:this.id},this.regexUrlRule&&!Vp(this.regexUrlRule,e)?(mr.addGuide(u),I(new Error('attempted display on page "'+e+'"'),"pendo.io page rule exception",t),1):J.getters["healthCheck/isMissingPageRule"]()(this)?(mr.addGuide(u),I(new Error('missing regexUrlRule"'),"pendo.io page rule exception",t),1):this.pageId&&!this.regexUrlRule&&(mr.addGuide(u),I(new Error("missing regexUrlRule for page "+this.pageId+'"'),"pendo.io page rule exception",t),1)))},this.render=function(){var e=this;if(this._preRenderHealthCheck()){if(e.domJson)return u.skipResourceCenterHomeView&&u.moduleIdToReplaceHomeViewWith&&u.hasEligibleNativeIntegrationModule?(t=W.find(pr(),function(e){return e.id===u.moduleIdToReplaceHomeViewWith}),n=W.get(t,"attributes.resourceCenter.integrationProvider"),te.renderNativeIntegration(n,t)):u.continueToNativeModule?te.handleNativeIntegrationContinuation(u):(W.get(u,"attributes.resourceCenter")&&nl(te.getResourceCenter(),rl),u.isModule?A.renderResourceCenterModule(u,!1):(n=A.renderGuideFromJSON(e.domJson,e),W.get(u,"attributes.resourceCenter")&&te.adjustResourceCenterWidth(),n));var t=e.attributes.width,n=e.attributes.height,i=S.TOOLTIP_ARROW_SIZE,r="_pendo-group-id-"+u.id+"_",r=$(ry.createElement("div")).attr("id",Cp(e)).addClass($f+" "+r),o=$(ry.createElement("div")).addClass("_pendo-guide-content_").html(e.getContent()),a=$(ry.createElement("div")).addClass("_pendo-guide-container_"),s=$(ry.createElement("div")).addClass("_pendo-backdrop_");r.width(t),r.height(n),a.css({left:i,top:i}),e.isEditable&&o.attr("contenteditable","true"),o.appendTo(a),a.appendTo(r),u&&W.isFunction(u.isOnboarding)&&u.isOnboarding()&&r.addClass("_pendo-onboarding_"),e.overlayDiv=s,e.guideElement=r}},this.teardown=function(){q("guide step teardown","guide","render"),W.each(this.handlers,function(e){C(e.element,e.type,e.fn,!0)}),this.hasBeenScrolledTo=!1,this.handlers.length=0,this.attributes.imgCount=0,this.hiddenElements&&(W.each(this.hiddenElements,function(e){e=e.deref();e&&e.removeAttribute("aria-hidden")}),this.hiddenElements.length=0,this.hiddenElements=null)},this.show=function(e){var t;if(!W.contains(["auto","continue"],e)||!J.getters["healthCheck/isRedisplay"]()(this))return(t=pm.show(this,e))&&t["catch"]&&t["catch"](W.noop),t;J.dispatch("healthCheck/fixSeenStateAndLogError",{step:this,reason:e})},this.redraw=function(){var e,t,n,i,r;this.guideElement&&!S.designer&&(t=(e=W.get(u,"attributes.resourceCenter"))&&te.isFullyCustom(u),n=u.activeModule?u.activeModule.activeStep().domJson.props.id:this.containerId,i=this.guideElement.find("#"+n),r=u.activeModule&&"AnnouncementsModule"===W.get(u.activeModule,"attributes.resourceCenter.moduleId"),w.beforeUpdate.trigger(this),t||r||(A.recalculateGuideWidth(n),A.adjustGuideContentWidth(n)),e?(te.adjustResourceCenterWidth(),r&&u.activeModule.guidesInModule?W.forEach(u.activeModule.guidesInModule,function(e){var t;!W.isUndefined(e.steps[0].attributes.imgCount)&&0!==W.get(e.steps[0],"attributes.imgCount")||(t=e.steps[0].id,t=$(i).find("#pendo-g-"+t)[0]?t:e.id,A.adjustGuideContentWidth("pendo-g-"+t),A.flexAllThings("pendo-g-"+t))}):A.flexAllThings("pendo-resource-center-container")):A.flexAllThings(n),t||A.recalculateGuideHeight(n),w.updated.trigger(this))},this._show=function(e){w.beforeGuideShow.trigger(this,e),this.canShow()&&(!Nu()&&u.control?this.hasBeenControlled()||this.onControlGuide("control"):(this.render(),this.isShown()&&this.onShown(e)))},this.shouldStartTimer=function(){return u.canShowOnDevice()&&!u.attributes.isAnnouncement&&!bp(this)},this.getStepPollTypes=function(n,e){var i;if(e.pollIds&&e.pollIds.length)return i=[],W.forEach(e.pollIds,function(t){var e=W.find(n.polls,function(e){return e.id===t});e&&e.attributes&&e.attributes.type&&i.push(e.attributes.type)}),i},this.onControlGuide=function(e){var t;Nu()||(this.seenReason=e,Xf(v()),t=this.getStepPollTypes(u,this),this.hasBeenControlled())||(kp(this.guideId,this.id,V(),e,u.language,t),W.each(u.steps,function(e){e.seenState="notSeen"}))},this.onShown=function(t){var e,n,i=this;i.overrideElement&&($.addClass(i.overrideElement,"triggered"),i.overrideElement.checkAriaExpanded)&&i.overrideElement.checkAriaExpanded(),Nu()||(i.seenReason=t,i.seenState="active",Xf(v()),e={last_updated_at:i.lastUpdatedAt},(n=this.getStepPollTypes(u,i))&&(e.step_poll_types=n),Op(i.guideId,i.id,V(),t,u.language,e),J.dispatch("guideState/updateLastGuideStepSeen",{guideId:u.id,guideStepId:i.id,time:Qf(),state:i.seenState,seenReason:t,visitorId:V()}),W.each(u.steps,function(e){"snoozed"===e.seenState&&(e.snoozeEndTime=0,Dp(u.id,e.id,V(),t,u.language))}),cd.runCustomScripts(i,u)),J.dispatch("frames/guideStepShownInFrame",{guideId:u.id,stepId:i.id,isShown:i.isShown()}),i.guideElement&&i.guideElement[0]&&i.attachEvent(i.guideElement[0],"focusin",function(e){"TEXTAREA"!==e.target.tagName&&"INPUT"!==e.target.tagName||(S.ignoreResize=!0,setTimeout(function(){S.ignoreResize=!1},1e3))})},this.hide=function(e){var t=this;t.unlock(),w.beforeUnmount.trigger(t),t.teardown(),W.each(t.elements,function(e){mo(e)}),w.unmounted.trigger(t),t.attributes&&e&&e.stayHidden&&(t.attributes.stayHidden=e.stayHidden),t.elements.length=0,t.element=null,t.guideElement=null,t.overrideElement&&($.removeClass(t.overrideElement,"triggered"),t.overrideElement.checkAriaExpanded)&&t.overrideElement.checkAriaExpanded(),J.dispatch("frames/guideStepHiddenInFrame",{guideId:u.id,stepId:t.id})},this.advance=function(){"advanced"===this.seenState&&!this.isRendered()||mp(this)},this.dismiss=function(){"dismissed"===this.seenState&&!this.isRendered()||fp(this)},this.isPoweredByEnabled=function(){return!0!==this.hideCredits},this.isSnoozed=function(){var e="snoozed"===this.seenState,t=!this.snoozeEndTime||(new Date).getTime()>this.snoozeEndTime;return e&&!t},this.shouldRepeat=function(){return!!this.lastSeenAt&&u.redisplay&&!u.outsideTimebox()&&!this.isSnoozed()&&v()-this.lastSeenAt>=u.redisplay.interval&&!u.hasReachedMaxDismissals()},this.hasBeenControlled=function(){return u.isControlGroup()&&"notSeen"===this.seenState},this.attachEvent=function(e,t,n){var i={element:e,type:t,fn:n};g(e,t,n,!0),this.handlers.push(i)},this.searchFor=function(e){return!(e.length<3)&&St(this.content,e,!0)},this.hasBeenSeen=function(){return"advanced"==this.seenState||"dismissed"==this.seenState},this.reposition=function(){},this.checkPlacement=function(){"tooltip"===this.getType()&&zd.placeBBTooltip(this),this.attributes.blockOutUI&&this.attributes.blockOutUI.enabled&&kd(this)},this.getType=function(){return this.domJson?W.get(this,"attributes.calculatedType"):this.type},this}function gm(){return this.after("render",function(){Yl()}),this}function mm(){ed.behaviors=[ll,om,Yu.Guide,am,um,dm,cm],td.behaviors=[ll,hm,lm,dd,Yu.Step,fm,gm]}hm.isGuideStep=function(e){return!!e&&W.isFunction(e.render)};var vm={state:{errorCount:0,errors:{}},actions:{write:function(e,t){t=t.data[0];if(t&&!t.logged){var n=e.getters.hasLogged()(t);if(e.dispatch("update",t),!n){try{t.logged=!0}catch(i){}e="[".concat(t,"]");(t.priority===Xn.Warning?pn:fn)(e),t.priority===Xn.High&&(n=iy.pendo_options||{},!1!==S.logStackTraces&&!1!==n.logStackTraces?Kr("".concat(e,"\n").concat(t.getStack())):qr(e))}}},update:function(e,t){t&&(e.getters.hasLogged()(t)||e.commit("addError",t),e.commit("incrementError",t))}},mutations:{addError:function(e,t){e.errors[t.hashCode()]={count:0,stack:t.getStack()}},incrementError:function(e,t){e.errors[t.hashCode()].count++,e.errorCount++}},getters:{hasLogged:function(t){return function(e){return!!t.errors[e.hashCode()]}}}};function ym(){Ln.tabIdChanged(function(){var e=Ln.getTabId();J.commit("frames/setTabId",e),J.dispatch("frames/join")})}function bm(e){var e=e.data[0];e&&(e=wm(e=e.options?e.options:e),J.dispatch("frames/updateMetadata",e))}function wm(e){var n;if(e=e||m.getLocalConfig())return n={visitorId:W.get(e,"visitor.id")||e.visitor_id,accountId:W.get(e,"account.id")||e.account_id,parentAccountId:W.get(e,"parentAccount.id")},W.each(W.keys(n),function(e){var t=n[e];x(t)&&(n[e]=""+t)}),n}var Im=["unknown","hidden","visible"];function Sm(e){return"visible"===e.visibility||"unknown"===e.visibility}var xm=function(){var r={};return{actions:{init:function(e){var t,n,i=e.state;i.initialized||(t=Ln.addTracerIds({}),n=be(),e.commit("setFrameId",t.frameId),e.commit("setTabId",t.tabId),e.commit("setAgentInstallType",n),e.commit("setLeadershipMode",n),ym(),w.metadata.on(bm),w.identify.on(bm),w.urlChanged.on(function(){Qt(!0)&&T.postMessage({action:"frames/receiveUrlChange",frameId:i.frameId,href:Ni(),browserUrl:iy.location.href})}),w.guideSeen.on(function(e){e=e.data[0];e&&e.frameId===i.frameId&&T.postMessage({action:"frames/receiveGuideSeen",frameId:i.frameId,guideSeen:e})}),e.commit("setInitialized",!0))},changeGuideList:function(e,t){e=e.state,t=s(t);T.postMessage({action:"frames/receiveGuideList",frameId:e.frameId,guides:t,autoOrdering:S.autoOrdering||[]})},receiveGuideList:function(e,t){e.commit("setGuideList",t),t.frameId===e.state.frameId&&e.commit("setGuidesLoaded"),Em(e.state)},join:function(e){var t,n,i,r,o,a;!e.state.disabled&&(Jc(),t=e.state,n=iy.top==iy,i=t.frames[t.frameId],e.commit("removeFrame",t.frameId),e.commit("setGuideList",{frameId:t.frameId,guides:s(p())}),r=t.frameId,Ln.detectClonedSession(r),o=wm())&&((a=[].concat(m.get("leaderKey"))).length||t.agentInstallType!==ve||(a=[S.apiKey]),e.dispatch("receiveFrame",{cd:r,frame:W.extend({agentInstallType:t.agentInstallType,id:t.frameId,joinedAt:v(),isTop:n,visibility:n?"visible":"unknown",debugMetadata:o,apiKey:S.apiKey,leaderKey:a,href:Ni(),browserUrl:iy.location.href},i)}))},receiveFrame:function(e,t){var n,i=e.state;if(e.getters.isBroadcastChannel()&&t.cd&&Ln.isClonedSession(t.cd))T.postMessage({action:"frames/changeTabId",cd:t.cd});else if(S.designerv2.launched&&(n=Object.assign({},ff.hostConfig,{selectionOnly:!0}),T.postMessage({action:"frames/addSelectionModeToFrames",options:n})),!i.frames[t.frame.id]||!i.frames[t.frame.id].id){if(e.commit("addFrame",t.frame),e.commit("setGuideList",{frameId:t.frame.id,guides:W.toArray(W.get(t,"frame.guides",[]))}),t.frame.isTop){for(var r=e.getters.leaderKeyPreference(),o=W.filter(i.frames,function(e){return e.isTop});r.length;){var a=r.shift(),s=W.filter(o,function(e){return e.apiKey===a});if(s.length){o=s;break}}e.commit("setTopId",o[0].id)}e.commit("setLeadershipMode",t.frame.agentInstallType),t[Rl]&&e.dispatch("receiveStartPreview",t),T.postMessage({action:"frames/receiveFrame",frame:i.frames[i.frameId],cd:t.cd,"pendo-preview":e.rootState.preview.preview}),e.dispatch("waitThenElectLeader")}},changeTabId:function(e,t){t.cd===e.state.frameId&&((t=e.state.tabId)===Ln.getTabId()&&(Ln.setParentTabId(t),Ln.newTabId()),e.commit("setTabId",Ln.getTabId()))},leave:function(t){var e=t.state;T.postMessage({action:"frames/removeFrame",frameId:e.frameId}),W.each(e.frames,function(e){t.commit("removeFrame",e.id)}),T.close()},removeFrame:function(e,n){e.getters.hasFrame()(n.frameId)&&(e.commit("removeFrame",n.frameId),W.each(r,function(e,t){0===t.indexOf(n.frameId+"/")&&(e.reject(),delete r[t])}),e.dispatch("electLeader"))},waitThenElectLeader:W.debounce(function(e){e.dispatch("electLeader")},50),electLeader:function(e){var t=e.state,n=t.frames,i=e.getters.leaderKeyPreference();if(i.length)for(;i.length;){var r=i.shift(),o=W.filter(t.frames,function(e){return e.apiKey===r});if(o.length){n=o;break}}var a=W.find(n,function(e){return e.isTop});a?e.dispatch("followLeader",{leaderId:a.id}):(a=W.min(n,"joinedAt"),e.dispatch("followLeader",{leaderId:a.id})),Em(e.state)},followLeader:function(e,t){var n=e.state,i=n.leaderId,r=t.leaderId;e.commit("setLeaderId",t.leaderId),i!==r&&w.leaderChanged.trigger({frameId:n.frameId,oldLeaderId:i,newLeaderId:r}),r!==n.frameId&&Ln.stopCloneDetectionTimer()},showGuideStep:function(t,n){var i=W.filter(t.state.frames,function(e){return e.id!==t.state.frameId&&"hidden"!==e.visibility&&e.guides&&e.guides[n.guideId]});return function r(){var e=i.shift();return e?t.dispatch("requestShowGuideStepInFrame",W.extend({frameId:e.id},n)).then(function(e){return e.error?K.reject(e.error):e.isShown?e:r()}):K.resolve({isShown:!1})}()},requestShowGuideStepInFrame:function(e,t){var n=t.frameId+"/"+It(32),i=K.defer();return r[n]=i,T.postMessage(W.extend({action:"frames/showGuideStepInFrame",requestId:n},t)),i.promise},showGuideStepInFrame:function(t,n){var e;function i(e){t.dispatch("guideStepShownInFrame",{action:"frames/receiveGuideStepShownInFrame",requestId:n.requestId,guideId:n.guideId,stepId:n.stepId,isShown:e})}t.state.frameId===n.frameId&&((e=(e=E(n.guideId))&&e.findStepById(n.stepId))?kt(e=pm.showLocal(e,n.reason))?e.then(i)["catch"](W.noop):i(e):t.dispatch("guideStepShownInFrame",{action:"frames/receiveGuideStepShownInFrame",requestId:n.requestId,guideId:n.guideId,stepId:n.stepId,isShown:!1}))},guideStepShownInFrame:function(e,t){e.commit("setStepShown",{frameId:e.state.frameId,stepId:t.stepId,shown:t.isShown}),T.postMessage(W.extend({action:"frames/receiveGuideStepShownInFrame",frameId:e.state.frameId},t))},receiveGuideStepShownInFrame:function(e,t){var n=r[t.requestId];n&&(n.resolve(t),delete r[t.requestId]),e.getters.isShownInFrame()(t.frameId,{id:t.stepId})!==t.isShown&&e.commit("setStepShown",{frameId:t.frameId,stepId:t.stepId,shown:t.isShown})},hideGuides:function(e,t){t=W.isArray(t)?t:[],T.postMessage({action:"frames/receiveHideGuides",frameId:e.state.frameId,guideIds:t}),e.commit("hideGuides")},receiveHideGuides:function(e,t){e.state.frameId!==t.frameId&&(t.guideIds.length?W.each(W.compact(W.map(t.guideIds,E)),function(e){e.hide()}):op(),e.commit("hideGuides"))},guideStepHiddenInFrame:function(e,t){var n=e.getters.isShownInFrame()(e.state.frameId,{id:t.stepId});e.commit("setStepShown",{frameId:e.state.frameId,stepId:t.stepId,shown:!1}),T.postMessage(W.extend({action:"frames/receiveGuideStepHiddenInFrame",frameId:e.state.frameId},t)),n&&e.dispatch("fixDoubleDisplay",t)},receiveGuideStepHiddenInFrame:function(e,t){e.state.frameId!==t.frameId&&e.getters.isShownInFrame()(t.frameId,{id:t.stepId})&&e.commit("setStepShown",{frameId:t.frameId,stepId:t.stepId,shown:!1})},fixDoubleDisplay:function(n,i){W.each(n.state.frames,function(e,t){t!==n.state.frameId&&n.getters.isShownInFrame()(t,{id:i.stepId})&&T.postMessage(W.extend({action:"frames/receiveHideGuideInFrame",frameId:t,guideId:i.guideId,stepId:i.stepId},i))})},receiveHideGuideInFrame:function(e,t){e.state.frameId===t.frameId&&(t=(e=E(t.guideId))&&e.findStepById(t.stepId))&&t.hide()},changeLastGuideStepSeen:function(e,t){T.postMessage({action:"frames/receiveLastGuideStepSeen",frameId:e.state.frameId,lastGuideStepSeen:t}),e.commit("updateLastGuideStepSeen",t),e.commit("healthCheck/updateStepState",{id:t.guideStepId,seenState:t.state},{root:!0})},receiveLastGuideStepSeen:function(e,t){var n;t.frameId!==e.state.frameId&&(n=e.state.frames[t.frameId],(n=W.get(n,"agentInstallType"))&&n!==e.state.agentInstallType&&delete t.lastGuideStepSeen.visitorId,e.dispatch("guideState/updateLastGuideStepSeen",t.lastGuideStepSeen,{root:!0}),e.dispatch("guideState/write",null,{root:!0}),t=(t=E((n=e.rootState.guideState.lastGuideStepSeen).guideId))&&t.findStepById(n.guideStepId))&&(t.seenState=n.state,t.seenReason=n.seenReason,t.lastSeenAt=n.time,n.dismissCount&&(t.dismissCount=n.dismissCount),n.snoozeEndTime&&(t.snoozeEndTime=n.snoozeEndTime),e.commit("updateLastGuideStepSeen",n),e.commit("healthCheck/updateStepState",t,{root:!0}))},changeThrottlingState:function(e,t){T.postMessage(W.extend({action:"frames/receiveThrottlingState",frameId:e.state.frameId},t))},receiveThrottlingState:function(e,t){t.frameId!==e.state.frameId&&W.each(Up,function(e){t[e]&&Bp(t[e],e)})},startPreview:function(e){T.postMessage({action:"frames/receiveStartPreview","pendo-preview":e.rootState.preview.preview})},restartPreview:function(e){T.postMessage({action:"frames/receiveRestartPreview","pendo-preview":e.rootState.preview.preview})},stopPreview:function(e,t){T.postMessage(W.extend({action:"frames/receiveStopPreview"},t))},receiveStartPreview:function(e,t){e.dispatch("preview/start",t[Rl],{root:!0}),Ol(iy),zh()},receiveRestartPreview:function(e){var t=Pl(p(),Fc());e.dispatch("guideState/updateLastGuideStepSeen",t,{root:!0})},receiveStopPreview:function(e,t){Ql({preventWindowClose:!!t.preventWindowClose})},checkFrameVisibility:function(e,t){if(!e.getters.isTop()&&!e.state.disableFrameVisibilityCheck)try{var n="unknown",i=(t=null==t?iy:t).frameElement;i?(n=Po(i)?"visible":"hidden",e.dispatch("updateFrameVisibility",{visibility:n})):e.commit("disableFrameVisibilityCheck")}catch(Ut){e.commit("disableFrameVisibilityCheck")}},updateFrameVisibility:function(e,t){var n;!W.find(Im,function(e){return e===t.visibility})||(n=t.visibility,e.getters.frameVisibility()===n)||(e.commit("setFrameVisibility",{frameId:e.state.frameId,visibility:n}),T.postMessage({action:"frames/receiveFrameVisibility",frameId:e.state.frameId,visibility:n}))},receiveFrameVisibility:function(e,t){e.commit("setFrameVisibility",t)},addSelectionModeToFrames:function(e,t){t=t.options;ff.launchInAppDesigner(t)},syncOptions:function(e,t){t.options&&T.postMessage({action:"frames/receiveOptions",options:t.options})},receiveOptions:function(e,t){e.getters.getMyApiKey()===t.apiKey&&t.options&&yc(t.options)},syncIdentity:function(e,t){(t.visitorId||t.accountId)&&T.postMessage({action:"frames/receiveIdentity",visitorId:t.visitorId,accountId:t.accountId})},receiveIdentity:function(e,t){e.getters.getMyApiKey()===t.apiKey&&(t.visitorId||t.accountId)&&Vn(t.visitorId,t.accountId)},updateMetadata:function(e,t){t&&Qt(!0)&&(t.frameId=e.state.frameId,T.postMessage({action:"frames/receiveMetadata",debugMetadata:t}))},receiveMetadata:function(e,t){e.commit("setMetadata",t.debugMetadata)},receiveUrlChange:function(e,t){e.commit("setUrl",t)},receiveGuideSeen:function(e,t){t.frameId!==e.state.frameId&&w.guideSeen.trigger(t.guideSeen)},checkGuideEligibility:function(e,t){var n=t.guideId,i=t.stepId,r=t.currentStepIndex,o=t.sourceFrame,t=t.promiseId,n=E(n),i=n&&n.findStepById(i),a={};return n&&i?(0===r&&(r=Gu(n))&&((n=W.first(l(r)))?Po(n)||(a.ACTIVATION="notVisible"):a.ACTIVATION="notFound"),W.isFunction(i.canShowOnPage)&&!i.canShowOnPage(Kp())&&(a.PAGE="mismatch"),i.elementPathRule&&((r=W.first(l(i.elementPathRule)))?Po(r)?i.elementContainsRulesList&&!xp(r,i.elementContainsRulesList)&&(a.ELEMENT="containsRuleMismatch"):a.ELEMENT="notVisible":a.ELEMENT="notFound")):a.GUIDE="notFound",t&&o&&T.postMessage({errors:a,action:"frameEligibilityResponse",targetFrame:o,resolveId:t}),a}},mutations:{addFrame:function(e,t){var n=t.id;e.frames[n]=W.extend({},e.frames[n],t)},removeFrame:function(e,t){delete e.frames[t]},setGuideList:function(e,t){var n=t.frameId;e.frames[n]=W.extend({},e.frames[n],{guides:W.indexBy(s(t.guides),"id"),autoOrdering:t.autoOrdering})},setStepShown:function(e,t){var n=t.frameId,n=e.frames[n]=W.extend({},e.frames[n]);n.shown=W.extend({},n.shown),n.shown[t.stepId]=t.shown},setInitialized:function(e,t){e.initialized=t},setLeaderId:function(e,t){e.leaderId=t},setFrameId:function(e,t){e.frameId=t},setTabId:function(e,t){e.tabId=t},setTopId:function(e,t){e.topId=t},setAgentInstallType:function(e,t){e.agentInstallType=t},setLeadershipMode:function(e,t){e.leadershipMode!==ve&&(e.leadershipMode=t)},setFrameVisibility:function(e,t){var n=t.frameId;e.frames[n]=W.extend({},e.frames[n],{visibility:t.visibility})},disableFrameVisibilityCheck:function(e){e.disableFrameVisibilityCheck=!0},hideGuides:function(e){W.each(e.frames,function(n){W.each(n.shown,function(e,t){n.shown[t]=!1})})},setChannelType:function(e,t){e.channelType=t},setGuidesLoaded:function(e){e.guidesLoaded=!0},setConnectFailed:function(e){e.connectFailed=!0},updateLastGuideStepSeen:function(e,t){t&&W.each(e.frames,function(e){e.guides&&(e=e.guides[t.guideId])&&(e=W.findWhere(e.steps,{id:t.guideStepId}))&&(e.seenState=t.state,e.lastSeenAt=t.time,e.seenReason=t.seenReason,t.dismissCount&&(e.dismissCount=t.dismissCount),t.snoozeEndTime)&&(e.snoozeEndTime=t.snoozeEndTime)})},setMetadata:function(e,t){var n=t.frameId;delete t.frameId,e.frames[n].debugMetadata=W.extend({},e.frames[n].debugMetadata,t)},setUrl:function(e,t){var n=e.frames[t.frameId];W.each(["href","browserUrl"],function(e){n[e]=t[e]})}},getters:{allFrames:function(e){return e.frames},autoOrdering:function(e){return W.reduce(e.frames,function(e,t){return e[t.apiKey]=t.autoOrdering,e},{})},leaderExists:function(e){return!!e.leaderId},isLeader:function(e){return e.leaderId===e.frameId},leaderKey:function(e,t){if(t.leaderExists()){t=e.frames[e.leaderId];if(t)return t.apiKey}},isFollower:function(e){return!!e.leaderId&&e.leaderId!==e.frameId},isTop:function(e){return e.topId===e.frameId||iy==iy.top},frameVisibility:function(e){return(e.frames?e.frames[e.frameId]:{}).visibility||"unknown"},isGuideInThisFrame:function(n){return function(e){var t=n.frames&&n.frames[n.frameId];return!!(t&&t.guides||{})[e.id]}},isGuideInDifferentFrame:function(i){return function(n){return W.any(i.frames,function(e,t){return t!==i.frameId&&e.guides&&e.guides[n.id]})}},isShownInAnotherFrame:function(i){return function(n){return W.any(i.frames,function(e,t){return t!==i.frameId&&e.shown&&e.shown[n.id]})}},isShownInFrame:function(n){return function(e,t){e=n.frames&&n.frames[e],e=e&&e.shown||{};return!(!e||!e[t.id])}},hasFrame:function(t){return function(e){return t.frames&&t.frames[e]}},hasFrames:function(e){return 1<W.size(e.frames)},shouldBeAddedToLauncher:function(i,e){return function(n){return e.canShowRCBadge()&&W.any(i.frames,function(e,t){return t!==i.frameId&&!!Sm(e)&&(t=e.guides&&e.guides[n.id])&&t._shouldBeAddedToLauncher})}},shouldBeAddedToResourceCenter:function(i,e){return function(n){return e.canShowRCBadge()&&W.any(i.frames,function(e,t){return t!==i.frameId&&e.apiKey===S.apiKey&&!!Sm(e)&&(t=e.guides&&e.guides[n.id])&&t._shouldBeAddedToResourceCenter})}},isBroadcastChannel:function(e){return"BroadcastChannel"===e.channelType},channelType:function(e){return e.channelType},canShowRCBadge:function(e,t){var n;return t.leaderKey()!==S.apiKey?(n=W.filter(e.frames,function(e){return e.apiKey===S.apiKey}),n=W.min(n,function(e){return e.joinedAt}),e.frameId===n.id):W.any(e.frames,function(e){return e.isTop})?t.isTop():t.isLeader()},leaderKeyPreference:function(e){e=W.filter(e.frames,function(e){return e.leaderKey&&e.leaderKey.length});return 1===W.unique(W.map(e,function(e){return e.leaderKey.join(",")})).length?[].concat(e[0].leaderKey):[]},getMyApiKey:function(e,t){return t.getMyFrame().apiKey},getMyFrame:function(e){return e.frames[e.frameId]}},state:{initialized:!1,frameId:null,leaderId:null,tabId:null,agentInstallType:null,leadershipMode:null,topId:null,frames:{},guidesLoaded:!1,channelType:null},requests:r};function t(e){var t=W.pick(e,"id","name","launchMethod","isMultiStep","steps","control","lastUpdatedAt","language","state","polls");return t.attributes=W.pick(e.attributes,"overrideAutoThrottling","priority","isAnnouncement","resourceCenter","device"),t._shouldBeAddedToLauncher=W.isFunction(e.shouldBeAddedToLauncher)?e.shouldBeAddedToLauncher():e._shouldBeAddedToLauncher||!1,t._shouldBeAddedToResourceCenter=W.isFunction(e.shouldBeAddedToResourceCenter)?e.shouldBeAddedToResourceCenter():e._shouldBeAddedToResourceCenter||!1,t.steps=W.map(e.steps,function(e){return W.pick(e,"id","guideId","type","seenReason","seenState","lastSeenAt","dismissCount","snoozeEndTime","regexUrlRule","elementPathRule")}),t}function s(e){return W.map(e,t)}}();function Em(t){var n=W.indexBy(W.filter(p(),function(e){return!e.isFrameProxy}),"id"),e=W.chain(t.frames).filter(function(e){return e.id!==t.frameId}).map(function(e){return W.toArray(W.get(e,"guides",[]))}).flatten(!0).unique("id").filter(function(e){return!n[e.id]}).map(function(e){return W.extend(y.parse(y.stringify(e)),{isFrameProxy:!0})}).map(ed).value(),e=W.toArray(n).concat(e);oh(e),Eh(e),gr(e),t.guidesLoaded&&0===W.size(W.get(t,"frames."+t.frameId+".guides",[]))&&Vc()}function Cm(e,t){new(Et("MutationObserver"))(t).observe(e,{subtree:!0,attributes:!0,childList:!0,characterData:!0})}function _m(t){var n=Element.prototype.attachShadow;Element.prototype.attachShadow=function(e){e=n.call(this,e);return this.shadowRoot&&Cm(this.shadowRoot,t),e}}function Tm(t){var n,i,r;_m(t),W.isFunction(ry.createNodeIterator)&&(n=0,i=[bo()],function o(e){do{if(!(e=e||ry.createNodeIterator(i.pop(),NodeFilter.SHOW_ELEMENT))||!e.nextNode)break;for(;(r=e.nextNode())&&(n++,r&&r.shadowRoot&&(Cm(r.shadowRoot,t),i.push(r.shadowRoot),Am.foundShadowRoots=!0),n%5e3!=0););}while(!r&&(e=null,i.length));r&&Am.foundShadowRoots&&setTimeout(function(){o(e)},50),5e3!==n||Am.foundShadowRoots||(Am.stoppedSearchEarly=!0)}())}var Am={startObserver:Tm,foundShadowRoots:!1,stoppedSearchEarly:!1},Rm=function(){var i;function r(){J.dispatch("guideUpdate/documentChanged")}function n(){J.dispatch("guideUpdate/handleScheduledUpdate")}return{actions:{documentChanged:function(e){var t;e.state.updateId?e.commit("setNeedsUpdate"):e.state.scheduledUpdate||(t=e.getters.now()-e.state.updateCompleteTime,t=Math.min(Math.max(0,Wc-t),Wc),t=setTimeout(n,t),e.commit("setScheduledUpdate",t))},handleScheduledUpdate:function(e){e.dispatch("stopScheduledUpdate"),Vc()},stopScheduledUpdate:function(e){e.state.scheduledUpdate&&(clearTimeout(e.state.scheduledUpdate),e.commit("setScheduledUpdate",null))},startObserverIfNeeded:function(e,t){var n;e.state.useObserver&&((n=e.getters.observer())||(n=new(t||Et("MutationObserver"))(r),i=n),e.state.observing||(n.observe(ry.documentElement,{subtree:!0,attributes:!0,childList:!0,characterData:!0}),e.state.observeShadowRoots&&Am.startObserver(r),e.commit("setObserving",!0)))},stopObserver:function(e){var t=e.getters.observer();t&&W.isFunction(t.disconnect)&&t.disconnect(),e.commit("setObserving",!1),e.dispatch("stopScheduledUpdate")}},mutations:{setUseObserver:function(e){e.useObserver=!0},setObserveShadowRoots:function(e){e.observeShadowRoots=!0},setObserving:function(e,t){e.observing=t},setNeedsUpdate:function(e){e.needsUpdate=!0},setScheduledUpdate:function(e,t){e.scheduledUpdate=t},startUpdate:function(e,t){e.needsUpdate=!1,e.updateId=t},completeUpdate:function(e,t){e.updateId=null,e.updateCompleteTime=t}},getters:{now:function(){return v()},observer:function(){return i}},state:{useObserver:!1,observeShadowRoots:!1,observing:!1,needsUpdate:!1,scheduledUpdate:null,updateId:null,updateCompleteTime:0,iterationTimeLimit:50}}}(),km=function(){var i=["advanced","dismissed","snoozed"];return{actions:{init:function(t,e){W.each(e,function(e){W.each(e.steps,function(e){t.commit("updateStepState",e)})})},fixSeenStateAndLogError:function(e,t){var n,i,r=t.step,t=t.reason;e.state.exceptions[r.id]||(n=r.seenState,(i=e.state.steps[r.id])&&i.seenState&&(r.seenState=i.seenState),e.state.exceptions[r.id]=!0,e.dispatch("logRedisplayError",{id:r.id,guideId:r.guideId,reason:t,seenState:i.seenState,previousSeenState:n}))},logRedisplayError:function(e,t){Kr(['Attempted redisplay of guide="',t.guideId,'" step="',t.id,'" reason="',t.reason,'" seenState="',t.seenState,'" previousSeenState="',t.previousSeenState,'"'].join())}},mutations:{updateStepState:function(e,t){var n=v();e.steps[t.id]=W.extend({},e.steps[t.id],{pageId:t.pageId,regexUrlRule:t.regexUrlRule,seenState:t.seenState,updatedAt:n,allowedAt:n+6e4})},resetStepStatus:function(e){e.steps={}}},getters:{isRedisplay:function(n){return function(e){var t=n.steps[e.id];return!!t&&!(e.resetAt>t.updatedAt)&&!(v()>=t.allowedAt)&&W.contains(i,t.seenState)&&!W.contains(i,e.seenState)}},isMissingPageRule:function(n){return function(e){var t=n.steps[e.id];return!!t&&!(!t.regexUrlRule||e.regexUrlRule)}}},state:{steps:{},exceptions:{}}}}(),Lm={state:{lastFlush:v(),flushInterval:3e5,counters:{ptmGifFailures:0,guideGifFailures:0}},actions:{flush:function(n){W.each(n.state.counters,function(e,t){n.commit("resetCounter",t)}),n.commit("setLastFlush",n.getters.now())}},mutations:{setLastFlush:function(e,t){e.lastFlush=t},incrementCounter:function(e,t){e.counters[t]!==oy&&e.counters[t]++},resetCounter:function(e,t){e.counters[t]!==oy&&(e.counters[t]=0)}},getters:{shouldFlush:function(e,t){return t.now()-e.lastFlush>=e.flushInterval},payload:function(e){e=W.reduce(e.counters,function(e,t,n){return 0<t&&(e[n]=t),e},{});return W.extend({},e)},now:function(){return v()}}},Om={state:{visitor:{},account:{},parentAccount:{},date:null,version:null,selfHosted:null},actions:{},mutations:{setMetadata:function(e,t){t&&(t.visitor&&(e.visitor=t.visitor),t.account&&(e.account=t.account),t.parentAccount&&(e.parentAccount=t.parentAccount),t.date&&(e.date=t.date),t.version&&(e.version=t.version),null!==t.selfHosted)&&(e.selfHosted=t.selfHosted)},clearAccount:function(e){e.account={}},reset:function(e,t){e.visitor={id:t.visitor_id},e.account={},e.parentAccount={},e.date=null,e.version=null,e.selfHosted=null}},getters:{metadata:function(e){return e},selfHosted:function(e){return e.selfHosted}}},Nm="pendo-preview",Mm="current-guide-preview",Pm={state:{preview:null,designerPreview:null},actions:{start:function(e,t){e.commit("setPreview",t),e.dispatch("write")},restart:function(e,t){e.commit("updatePreview",{state:null}),e.commit("updatePreview",t)},update:function(e,t){e.commit("updatePreview",{state:t}),e.dispatch("write")},load:function(e){try{var t=e.getters.storage(),n=y.parse(t.getItem(Nm)),i=(n.apiKey===S.apiKey&&e.commit("setPreview",n),t.getItem(Mm));i&&e.commit("setDesignerPreview",y.parse(i))}catch(Ut){}},write:function(e){try{var t=e.getters.storage();e.state.preview?t.setItem(Nm,y.stringify(e.state.preview)):t.removeItem(Nm)}catch(Ut){}},exit:function(e){e.commit("setPreview",null),e.dispatch("write")},exitDesignerPreview:function(e){e.commit("setDesignerPreview",null),e.getters.storage().removeItem(Mm)},launchInAppDesigner:function(e,t){ff.launchInAppDesigner(t)}},mutations:{updatePreview:function(e,t){e.preview&&W.extend(e.preview,t)},setPreview:function(e,t){e.preview=t},setDesignerPreview:function(e,t){e.designerPreview=t}},getters:{isInPreviewMode:function(e){return!!e.preview},isInDesignerPreviewMode:function(e,t){return!!e.designerPreview&&t.isInPreviewMode()},storage:function(){return An}}};function Fm(e){e.registerModule("errorLog",vm),e.registerModule("frames",xm),e.registerModule("guideUpdate",Rm),e.registerModule("guideState",Dc),e.registerModule("healthCheck",km),e.registerModule("location",$g),e.registerModule("monitoring",Lm),e.registerModule("metadata",Om),e.registerModule("preview",Pm)}var Dm=function(){var o="guideActivity",r=W.isObject,a=W.findWhere;return{type:o,handler:function(e){var t,n=e.data[0],e=e.data[1];e=e,r(t=n)&&function(e){return e&&"click"===e.type}(e)&&function i(e){if("pendo-base"==e.id)return!0;if(r(e.parentElem))return i(e.parentElem);return!1}(t)&&(function(e){return s(e)}(t)||function(e){return u(e)}(t))&&(e=function(e){var t=jh();if(t&&(!function(e){e=e.guide.activeModule;return e&&e.attributes&&e.attributes.resourceCenter&&"AnnouncementsModule"===e.attributes.resourceCenter.moduleId}(t)||(t=function(e){var t=$("#"+e).closest("[data-pendo-announcement-guide-id]").attr("data-pendo-announcement-guide-id"),e=W.find(pr(),function(e){return e.id===t});return e?{guide:e,step:e.steps[0]}:oy}(e.id)))&&t.step&&t.step.domJson){var e=u(e)||s(e)||{type:e.tag,id:e.id},n=function r(e,t){if(t.props&&t.props.id&&t.props.id===e)return t;if(t.children!==oy)for(var n=0;n<t.children.length;n++){var i=r(e,t.children[n]);if(i!==oy)return i}return oy}(e.id,t.step.domJson);if(n)return n=function(e){if(e!==oy){if("a"===e.type)return[{action:"openLink",url:Ji(e.props.href),target:e.props.target}];if(e.actions!==oy)return W.map(e.actions,function(e){switch(e.action){case"automation":var t=a(e.parameters,{name:"automationIds"});return{action:e.action,automationIds:t};case"openLink":var t=a(e.parameters,{name:"url"}),n=a(e.parameters,{name:"target"});return{action:e.action,url:Ji(t.value),target:n.value};case"submitPollAndGoToStep":case"goToStep":t=a(e.parameters,{name:"goToStepId"});return{action:e.action,guideStepId:t.value};case"guideSnoozed":n=a(e.parameters,{name:"snooze_duration"}),t=a(e.parameters,{name:"time_unit"});return{action:e.action,duration:n.value,timeUnit:t.value};case"showGuide":case"launchGuide":n=e.parameters[0];return{action:e.action,guideId:n.value};case"advanceGuide":case"previousStep":case"submitPoll":case"dismissGuide":case"confirmation":return{action:e.action};default:return{}}})}return[]}(n),Hp({type:o,visitorId:V(),ui_element_id:e.id,ui_element_type:e.type,ui_element_actions:n,guideId:t.guide.id,stepId:t.step.id,duration:(new Date).getTime()-Qf(),language:t.guide.language})}}(n))&&Wp(e)}};function s(e){return"BUTTON"===e.tag&&(/^pendo-close-guide/.test(e.id)||/^pendo-button/.test(e.id))?{type:e.tag,id:e.id}:"pendo-guide-container"!==e.id&&r(e.parentElem)?s(e.parentElem):null}function u(e){return"A"===e.tag?{type:e.tag,id:e.id}:"pendo-guide-container"!==e.id&&r(e.parentElem)?u(e.parentElem):null}}(),Um=function(){var r="guideActivity",o=W.isObject;return{type:r,handler:function(e){var t,n=e.data[0],e=e.data[1];e=e,o(t=n)&&function(e){return e&&"click"===e.type}(e)&&function i(e){if("pendo-resource-center-container"==e.id)return!0;if(o(e.parentElem))return i(e.parentElem);return!1}(t)&&(function(e){return u(e)}(t)||function(e){return a(e)}(t)||function(e){return s(e)}(t))&&(e=function(e){var t=jh();if(t){var n=t.guide.activeModule,i=u(e);if(i?(i={elementId:i.id},/^pendo-close-guide/.test(i.id)?i.actions=[{action:"dismissGuide"}]:/^pendo-left-caret/.test(i.id)&&(i.actions=[{action:"showGuide",guideId:t.guide.id}])):i=a(e)||s(e),i)return i.guideId||(i.guideId=(n||t.guide).id),i.stepId||(i.stepId=(n?n.steps[0]:t.step).id),i.actions||(i.actions=[{action:"showGuide",guideId:i.elementId}]),i.language||(i.language=(n||t.guide).language),Hp({type:r,visitorId:V(),ui_element_id:i.elementId,ui_element_type:i.type,ui_element_actions:i.actions,guideId:i.guideId,stepId:i.stepId,duration:(new Date).getTime()-Qf(),language:i.language})}}(n))&&Wp(e)}};function a(e){return-1!==e.cls.split(" ").indexOf("_pendo-resource-center-module-list-item")?{type:"BUTTON",elementId:$("#"+e.id).closest("[data-pendo-module-guide-id]").attr("data-pendo-module-guide-id")}:"pendo-resource-center-container"!==e.id&&o(e.parentElem)?a(e.parentElem):null}function s(e){var t=e.cls.split(" ");if(-1===t.indexOf("_pendo-resource-center-guidelist-module-listed-guide")&&-1===t.indexOf("_pendo-resource-center-onboarding-module-listed-guide"))return"pendo-resource-center-container"!==e.id&&o(e.parentElem)?s(e.parentElem):null;t=jh();if(t){e=e.id.split("-").pop(),t=t.guide.activeModule;if(t&&t.attributes&&t.attributes.resourceCenter)return{type:"BUTTON",elementId:t.attributes.resourceCenter.children[e]}}return null}function u(e){return"BUTTON"===e.tag&&(/^pendo-close-guide/.test(e.id)||/^pendo-left-caret/.test(e.id))?{type:e.tag,id:e.id}:"pendo-guide-container"!==e.id&&o(e.parentElem)?u(e.parentElem):null}}(),Gm=function(){var i,r,n=250,o="pendo-loader";return{name:"IFrameMonitor",initialize:function(e,t){i=e,r=t,function(){r.ConfigReader.get("autoFrameInstall")&&r.Events.ready.on(function(){d()});r.ConfigReader.get("frameIdentitySync")&&(r.Events.metadata.on(function(e){e=null==(e=e.data)?void 0:e[0];e.storeChanged&&r.store.dispatch("frames/syncOptions",{options:e.options})}),r.Events.identify.on(function(e){var t;r.store.dispatch("frames/syncIdentity",{visitorId:null==(t=e.data)?void 0:t[0].visitor_id,accountId:null==(t=e.data)?void 0:t[0].account_id})}))}()}};function a(e){return e.ignoreIframeMonitor||e.pendo&&(e.pendo.initialize||e.pendo.iframeWaiting)||!!e.document.getElementById(o)}function s(e,t){var n;a(e)||((n=r.ConfigReader.getLocalConfig()).apiKey||(n.apiKey=i.apiKey),e.pendo={_q:[["initialize",n]]},(n=e.document.createElement("script")).src=t,n["async"]=!0,n.id=o,(t=e.document.getElementsByTagName("script")[0])&&t.parentNode?t.parentNode.insertBefore(n,t):(e.document.head||e.document.body).appendChild(n))}function u(e){try{if(a(e))return}catch(Ut){return}var t,n=(n=r.ConfigReader.get("selfHostedAgentUrl"))||(n=i.dom("script"),t=/\/pendo(\.\w+)?\.js$/,(n=i._.find(n,function(e){return t.test(e.src)}))&&n.src);n?"complete"===e.document.readyState?s(e,n):(e.pendo={iframeWaiting:!0},e.document.addEventListener("DOMContentLoaded",i._.partial(s,e,n))):i.log("Unable to find agent url to install agent in frames","debug")}function d(){for(var e=i.dom("iframe").length,t=0;t<e;t++)u(iy.frames[t]);setTimeout(d,n)}}();function Bm(e,n){return e.length==n.length&&W.all(e,function(e,t){return e===n[t]})}var Hm=function(){function e(e){this.maxTargets=50,this.domActivation=e,this.name="dom",this.queue=[]}return e.prototype.markDirty=function(){this.queue.push.apply(this.queue,this.domActivation.guides)},e.prototype.process=function(e){var t,n=this.queue.shift();if(n){e.saveContext(n);try{t=l(n.selector)}catch(Ut){t=[]}t.length>this.maxTargets&&(t.length=this.maxTargets),Bm(t,n.targets)||(n.targets=t,this.domActivation.detach(n,this.domActivation.targets),W.each(t,function(e){this.domActivation.attach(e,n,this.domActivation.targets)},this))}},e.prototype.handleProcessTimeExceeded=function(e){e=e.getContext();e&&I("Element activated guide ("+e.id+") timeout exceeded","",null,Xn.Low)},e.prototype.cancel=function(){this.queue.length=0},e.prototype.isComplete=function(){return!this.queue.length},e}(),zm=function(){var a="pendoTargetId",t=[],n={};return{name:"DOMActivation",key:a,guides:t,targets:n,reset:r,init:u,attach:function(n,i,e){var t=n[a],r=t?e[t]:null;r||(t=t||"target"+W.uniqueId(),r={target:n,events:{}},e[t]=r,n[a]=t);var o=e[i.id]||[];o.push(t),e[i.id]=o,W.each(i.events,function(e){var t=r.events[e];t||((t={guideIds:{}}).fn=W.partial(s,W,t.guideIds),g(n,e="mouseover"===e?"mouseenter":e,t.fn),r.events[e]=t),t.guideIds[i.id]=1})},detach:i,handler:s,activates:o,prefetch:d,initialize:function(e,t){t.Events.on("deliverablesLoaded",r),t.Events.on("guideListChanged",function(){r(),u(pr())}),t.Events.on("guidesLoaded",function(){d(pr())}),dl(new Hm(zm))}};function i(i,t){W.each(t[i.id],function(e){var n=e?t[e]:null;n&&(W.each(n.events,function(e,t){e&&e.guideIds&&(delete e.guideIds[i.id],W.size(e.guideIds)<=0)&&(C(n.target,t="mouseover"===t?"mouseenter":t,e.fn),delete n.events[t])}),W.size(n.events)<=0)&&(delete n.target[a],n.target=null,delete t[e])}),delete t[i.id]}function s(e,t){var n;!e.pendoActivatedGuide&&!$.data.get(e,"advanced")&&(n=m.get("adoptPrioritizeAdoptGuides"),t=W.compact(W.map(W.keys(t),function(e){return E(e)})),t=W.filter(t,function(e){return!(!e.steps||!e.steps.length||W.get(e,"attributes.dom.isOnlyShowOnce")&&e.steps[0].hasBeenSeen())}),t=W(t).chain().sortBy(function(e){return"staged"===e.state?0:1}).sortBy(function(e){e=e.isTraining;return n?e?0:1:e?1:0}).value(),t=W.find(t,function(e){var t=W.first(e.steps);return W.get(e,"attributes.resourceCenter",!1)&&e.isShown()?te.dismissResourceCenter():!!t.canShow()&&(!!e.isShown()||Rp(t,"dom"))}))&&(e.pendoActivatedGuide=t.id)}function r(){W.each(t,function(e){i(e,n),e.targets=[]}),t.length=0}function o(e){if(e.id&&e.steps&&e.steps.length&&e.hasLaunchMethod("dom")&&e.steps[0].canShowOnPage(Kp())){var t=W.get(e,"attributes.activation.event",[]);if(t&&t.length){var n=Gu(e);if(n)return{id:e.id,events:t,selector:n,targets:[]}}}}function u(e){W.each(e,function(e){e=o(e);e&&t.push(e)})}function d(e){m.get("disablePrefetch")||W.each(e,function(e){W.isFunction(e.hasLaunchMethod)&&e.hasLaunchMethod("dom")&&e.steps&&e.steps.length&&W.isFunction(e.steps[0].fetchContent)&&e.steps[0].fetchContent(!0)})}}(),jm;function Wm(){return{dom:$,placeBadge:El,showPreview:Tp,stopGuides:Jc,removeAllBadges:Cl,_:W,sizzle:l,tellMaster:pa,tell:pa,log:q,attachEvent:g,createLauncher:W.constant({}),removeLauncher:W.noop,addGuideToLauncher:W.noop,updateLauncherContent:W.noop,DEFAULT_TIMER_LENGTH:Wc,getOffsetPosition:X,getScreenDimensions:lo,registerMessageHandler:na,whenLoadedCall:Au,loadResource:qo,loadGuideCss:yh,GuideFactory:ed,GuideStep:td,extractElementTreeContext:ru,previewGuideFromJSON:A.previewGuideFromJSON,hidePreviewedGuide:A.hidePreviewedGuide,shadowAPI:c,getTarget:Si,pullContentsFromTargetElement:Sp,doesElementMatchContainsRules:xp,doesElementContentMatchRule:Ep,getGuideAttachPoint:Pu}}var qm=function(){(jm=jm||Wm()).areGuidesEnabled=!Th(),S.designer||(S.designer=jm)},Km=function(){S.designer&&(S.designer=null,delete S.designer)},Jm=function(){var r,o,i;return{name:"DesignerConnect",initialize:function(e,t){r=e,o=t,ya()||na("connect",n);na("pendo-designer-launch::launch",u),na("pendo-preview::launch",d),e.app_name=ry.title,(ha()||iy.opener)&&iy.addEventListener&&(r.log(e.app_name+": listening to messages"),iy.addEventListener("message",Vo,!1));iy.opener&&r._.isFunction(iy.opener.postMessage)&&iy.opener.postMessage({type:"pendo::ready"},"*");r.onConnectMessage=n,o.Events.appUnloaded.on(c)},onConnectMessage:n,disconnectDesigner:a,launchDesignerListener:u,launchPreviewListener:d,sendToken:s};function n(e,t){var n,i;r.isSendingEvents()&&(n=t.origin,r.stopGuides(),r.buffers.lock(),r.designerv2.hostConfig||o.store.dispatch("frames/leave"),Xo(i=t.source),o.Events.appUnloaded.on(r._.partial(a,i,n)),qm(),pa(t.source,{status:"success",type:"connect"},n),sa("selection.js")&&(r.log("Designer Modules already loaded."),pa({type:"ready"},n)),o.Events.designerLaunched.trigger())}function a(e,t){r.buffers.unlock(),Km(),e&&pa(e,{type:"unload"},t)}function s(e,t){var n;i&&(n={token:i,type:"pendo-designer-launch::set-token"},t.source.postMessage(n,t.origin),i=oy)}function u(e,t){var n,t=t.data.token;t&&(i=t,na("pendo-designer-launch::get-token",s),n=t.DADesigner?"da-designer":"in-app-designer",n={lookaside:t.baseUrl,host:t.host,target:t.target||"latest",DADesigner:!!t.DADesigner,gcsBucket:t.gcsBucket||n,forceNativeDesigner:!!t.forceNativeDesigner,sidebarDesigner:!!t.sidebarDesigner},r.designerv2.launchInAppDesigner(n))}function d(e,t){t.data.config.apiKey===r.apiKey&&(o.store.dispatch("preview/exitDesignerPreview"),o.store.dispatch("preview/start",r._.extend({},t.data.config,{origin:t.origin})),Ol(iy))&&(t.source.postMessage({type:"pendo-preview::ready",apiKey:r.apiKey,accountId:r.accountId},t.origin),zh(),o.store.dispatch("frames/startPreview"))}function c(){iy.removeEventListener&&iy.removeEventListener("message",Vo,!1)}}(),Vm=function(){var a=[],s={},n={};return{name:"PromoteMetadata",initialize:function(e,t){if(a=t.ConfigReader.get("promotedAgentMetadataConfigurations"),n={},Hn())try{s=y.parse(d.read("__sg__"))||{}}catch(Ut){s={}}a&&a.length&&(t.Events.on("metadata",i),t.Events.on("eventCaptured",o),t.Events.on("identify",r))},getPromotedMetadata:function(){return a},hasPromotedMetadataKind:u,setSchemaGroup:i,getSchemaGroup:e,resetSchemaGroup:t};function u(t){return W.some(a,function(e){return e.kind===t})}function e(){return n}function i(e){var t;e?(e=e.data[0].options)&&(t=e):t=Ec(),n=function(r){Hn()&&(s=y.parse(d.read("__sg__"))||{});var o=n;W.each(["visitor","account","parentAccount"],function(e){var t=u(e),n=!W.isEmpty(r[e]),i=e.toLowerCase()+"metadata";W.isEmpty(s)||(o[i]=s[i]),n&&t&&(n=function(e,i){var r={};e&&W.each(e,function(e,t){var n=t.toLowerCase();Boolean(W.find(a,function(e){return e.fieldName===n&&e.kind===i}))&&(r["agent__"+n]=e)});return r}(r[e],e),W.isEmpty(n)||(o[i]=Xu(Xu({},o[i]),n)))}),Hn()&&d.write("__sg__",y.stringify(o),null,!1,!0);return o}(t)}function r(e){e=e.data[0];W.get(e,"wasCleared")&&(d.clear("__sg__"),t())}function t(){n={}}function o(e){e=e.data[0];W.isEmpty(n)&&i(),W.isEmpty(n)||("track"===e.type?e.props.__sg__=n:(e.hasOwnProperty("eventProperties")||(e.eventProperties={}),e.eventProperties.__sg__=n))}}();function $m(e,t,n){this.element=e,this.method="element"==t?"click":"hover"==t?"mouseover":t,this.step=n,this.guide=n.getGuide()}$m.prototype.add=function(){0===W.indexOf(this.guide.steps,this.step)&&!$m.shouldAttachHandler(this.guide,this.method)||Lu(this.guide)&&!Ou(this.guide)||this.setupElementEvent(this.element,this.method)},$m.prototype.remove=function(){this.teardownElementEvent(this.element,this.method)},$m.prototype.setupElementEvent=function(e,t){this.advanceFn||(this.advanceFn=W.compose(W.bind(this.teardownElementEvent,this,e,t),W.bind(this.step.advance,this.step))),$m.attach(this.step,e,t,this.advanceFn)},$m.prototype.teardownElementEvent=function(e,t){q("detach onGuideAdvanced","guide"),C(e,t,this.advanceFn,!0),this.step.removeTrigger(this)},$m.shouldAttachHandler=function(e,t){return!e.isActivatedByEvent(t)||zm.activates(e)||e.attributes.activation.selector!==e.steps[0].elementPathRule&&!!e.attributes.activation.selector},$m.attach=function(e,t,n,i){if(e){for(var r=$m.handlers=$m.handlers||{},o=r[e.id]=r[e.id]||[],a=0;a<o.length;++a){var s=o[a];t===s[0]&&n===s[1]&&(C(t,n,s[2],!0),o.splice(W.indexOf(o,s),1),a--)}o.push([t,n,i]),C(t,n,i,!0),g(t,n,i,!0)}};var Zm=430,Ym=200,Xm=15,Qm=null,ev=function(){return Mu()?ku:Ru},tv=function(e){return"#_pendo_g_"+e.id},nv=function(e,t){Qm=null;var n,i,r,o,e=X(e);return 0===e.height&&0===e.width?null:(n=t.guideElement,o=t.attributes.height,i=t.attributes.width,r=t.attributes.layoutDir,n.addClass(ev()),o=yv(e,o,i,r),t&&(t.dim=o),n.css({width:o.width,height:o.height,left:o.left,top:o.top}),e.fixed&&n.css({position:"fixed"}),$("._pendo-guide-container_",n).addClass(o.arrowPosition).css({top:o.content.top,left:o.content.left,width:o.content.width,height:o.content.height}),iv(n[0],o),n[0])},iv=function(e,t){var n=["top","right","bottom","left"],i="_pendo-guide-arrow-",r=i+"border-",o=t.arrowPosition,a=W.chain(n).filter(function(e){return e!==o}).map(function(e){return"border-"+e+"-width:"+S.TOOLTIP_ARROW_SIZE+"px;"}).value().join(""),s=$("div._pendo-guide-arrow_",e).remove().findOrCreate("<div class='_pendo-guide-arrow_'></div>"),u=$("div._pendo-guide-arrow-border_ ",e).remove().findOrCreate("<div class='_pendo-guide-arrow-border_'></div>");W.each(n,function(e){s.removeClass(i+e+"_").removeClass(e),u.removeClass(r+e+"_").removeClass(e)}),s.addClass(i+o+"_").addClass(o).css(a+"top:"+t.arrow.top+"px;left:"+t.arrow.left+"px;"),u.addClass(r+o+"_").addClass(o).css(a+"top:"+t.arrow.border.top+"px;left:"+t.arrow.border.left+"px;"),$(e).append(s).append(u)},rv=function(e,t){t===oy&&(t=cr),e.element=Du(e);var n=e.element;if(!n)return q("No element found for step: "+e.id),null;Do(n);var i=nv(n,e);return null===i?null:(i.id=S.getTooltipDivId(e),$(i).appendTo(Pu()),t.push(i),g(i,"mouseover",W.partial($.addClass,i,"mouseover")),g(i,"mouseout",W.partial($.removeClass,i,"mouseover")),Bu(n,i),pv(e),n)},ov=null,av=function(e){var t=!W.isEqual(e,ov);return ov=e,t},sv=null,uv=function(e){var t=!W.isEqual(e,sv);return sv=e,t};function dv(){cv=sv=ov=null}var cv=null,lv=function(e){var t=!W.isEqual(e,cv);return cv=e,t},fv={top:"north",left:"east",bottom:"south",right:"west"},pv=function(e){try{var t,n,i,r,o,a,s,u;e.attributes&&e.attributes.blockOutUI&&e.attributes.blockOutUI.enabled&&(t=e.attributes.blockOutUI,(n=[]).push(e.element),i=Id(n=n.concat(W.compact(W.flatten(W.map(t.additionalElements,function(e){return W.toArray($(e))}))))),o={top:r=t.padding||0,left:r,bottom:r,right:r},s=wd(a=bd(),i,o),av(i)||uv(a)||lv(s))&&(u={"z-index":t.zindex||1e4,position:"fixed"},t.bgColor&&(u["background-color"]=t.bgColor),t.opacity&&(u.opacity=t.opacity),W.each(s,function(e,t){hv(fv[t],W.extend({},e,u))}))}catch(Ut){q("Failed to add BlockOut ui","error")}},hv=function(e,t){e=$("div._pendo-guide-tt-region-block_._pendo-region-"+e+"_")[0]||gv(e);$(e).css(t)},gv=function(e){e=$(ry.createElement("div")).addClass("_pendo-guide-tt-region-block_").addClass("_pendo-region-"+e+"_");$("body").append(e)},mv=function(e){var t=W.isEqual(e,Qm);return Qm=e,!t},vv=function(e){var t,n,i,r=X(e.element||Du(e));pv(e),mv(r)&&(n=e.attributes.height,i=e.attributes.width,t=e.attributes.layoutDir,n=yv(r,n,i,t),(i=$(tv(e))).css({top:n.top,left:n.left,position:r.fixed?"fixed":""}),iv(i,n))},yv=function(e,t,n,i){var r=S.TOOLTIP_ARROW_SIZE,o={arrow:{border:{}},content:{top:r,left:r}},a=lo();return o.width=Math.min(n,a.width),o.height=t,o.content.width=o.width-2*r,o.content.height=o.height-2*r,o=bv(o,e,a,i=i||"auto"),o=wv(o,e,a,i),o=Iv(o,e,a)},bv=function(e,t,n,i){return e.arrow.hbias=Bd(t,n,i),e},wv=function(e,t,n,i){var r;return i&&"DEFAULT"!=i&&"auto"!=i&&(e.arrowPosition=i),e.arrowPosition||(i=t.top-Nr(),t=(r=t.left-Mr())+t.width,i<n.height/3?e.arrowPosition="top":i>2*n.height/3||"center"==e.arrow.hbias?e.arrowPosition="bottom":r<e.width&&n.width-t<e.width?e.arrowPosition="top":e.arrowPosition=e.arrow.hbias),e},Iv=function(e,t,n){var i,r,o,a=e.height,s=e.width;return Je()?Ve(e,t):("top"==e.arrowPosition||"bottom"==e.arrowPosition?(i=0,"top"==e.arrowPosition?(e.top=t.top+t.height,e.arrow.top=Se(9,6)?6:2,i=-1):"bottom"==e.arrowPosition&&(e.top=t.top-a,e.arrow.top=a-S.TOOLTIP_ARROW_SIZE-1,e.arrow.top+=Se(9,6)?6:0,e.arrow.top+=8==u?-1:0,i=1),r=10+S.TOOLTIP_ARROW_SIZE,o=s-3*S.TOOLTIP_ARROW_SIZE-10,e.arrow.hbias==Dd?(e.left=t.left+t.width/2-(10+2*S.TOOLTIP_ARROW_SIZE),e.arrow.left=r):e.arrow.hbias==Ud?(e.left=t.left-s+t.width/2+(10+2*S.TOOLTIP_ARROW_SIZE),e.arrow.left=o):(e.left=t.left+t.width/2-s/2,e.arrow.left=s/2-S.TOOLTIP_ARROW_SIZE),!1!==e.arrow.floating&&(n=e.left+s-n.width,0<(n-=Math.max(0,e.arrow.left+n-o))&&(e.left-=n,e.arrow.left+=n),o=-e.left,0<(o-=Math.max(0,r-(e.arrow.left-o))))&&(e.left+=o,e.arrow.left-=o),e.arrow.border.top=e.arrow.top+i,e.arrow.border.left=e.arrow.left):(e.arrow.hbias==Dd?(e.left=t.left+t.width,e.arrow.left=1,e.arrow.left+=Se(10,6)?5:0,e.arrow.border.left=e.arrow.left-1):e.arrow.hbias==Ud&&(e.left=Math.max(0,t.left-s),e.arrow.left=s-S.TOOLTIP_ARROW_SIZE-1,e.arrow.left+=Se(10,6)?5:0,e.arrow.left+=7==u&&6<=xe?1:0,e.arrow.border.left=e.arrow.left+1),e.top=t.top-a/2+t.height/2,e.arrow.top=a/2-S.TOOLTIP_ARROW_SIZE,e.arrow.border.top=e.arrow.top),e)},Sv=function(){return S.TOOLTIP_ARROW_SIZE},xv={width:Zm,height:Ym,arrowSize:Xm};function Ev(e){var t;return"tooltip"===this.type&&((t=this).attributes.height=t.attributes.height||S.TOOLTIP_DEFAULT_HEIGHT,t.attributes.width=t.attributes.width||S.TOOLTIP_DEFAULT_WIDTH,t.attributes.layoutDir=t.attributes.layoutDir||"DEFAULT",this.getTriggers=function(e){var t=this,n=t.element||Du(t);return!n&&e?[]:(e=(t.advanceMethod||"").split(","),this.triggers=W.map(e,function(e){return new $m(n,e,t)}),this.triggers)},this.removeTrigger=function(e){this.triggers=W.without(this.triggers,e),0===this.triggers.length&&(this.triggers=null)},this.canShow=function(){return!bp(t)&&!!e.canShowOnDevice()&&!t.isShown()&&t.canShowOnPage(Kp())&&Ip(t)},this.after("render",function(){rv(this,this.elements)&&(W.each(this.getTriggers(),function(e){e.add()}),zd.attachScrollHandlers(this,this.onscroll))}),this.reposition=function(){var e=this.attributes.width,t=this.attributes.height,n=this.attributes.layoutDir,i=this.guideElement,r=$("._pendo-guide-container_",i),o=X(this.element),t=yv(o,t,e,n);r.removeClass("top right bottom left").removeClass("_pendo-guide-container-top_ _pendo-guide-container-right_ _pendo-guide-container-bottom_ _pendo-guide-container-left_").addClass(t.arrowPosition).addClass("_pendo-guide-container-"+t.arrowPosition+"_"),$("._pendo-guide-arrow_,._pendo-guide-arrow-border_",i).remove(),iv(i,t),i.css({top:t.top,left:t.left,height:t.height,width:t.width,position:o.fixed?"fixed":""}),this.dim=t,pv(this)},this.onscroll=function(e){Po(e.element)?(e.reposition(),so(e.elements[0],"display:block")):so(e.elements[0],"display:none")},this.teardownElementEvent=function(){W.each(this.triggers,function(e){e.remove()})},this.after("hide",function(){$("._pendo-guide-tt-region-block_").remove(),dv()})),this}var Cv=500,_v=500,Tv="_pendo-guide-lb_",Av=function(e,t){var n=!!$("._pendo-backdrop_")[0];return W.get(t,"overlayDiv[0]")||(t.overlayDiv=$(ry.createElement("div")).addClass("_pendo-backdrop_")),!1==n&&(t.elements.push(t.overlayDiv[0]),t.overlayDiv.appendTo(Pu())),Je()&&t.overlayDiv.css({height:"100%",width:"100%",position:"absolute"}),e&&$(t.overlayDiv).addClass("_pendo-onboarding_"),t.overlayDiv},Rv=function(e){var t=e.guideElement,n=S.TOOLTIP_ARROW_SIZE,i=e.attributes.height,e=e.attributes.width,e=Math.floor(e/2),i=Math.floor(i/2);t.addClass(Tv).css({top:"50%",left:"50%","margin-top":-i,"margin-left":-e}),$("._pendo-guide-container_",t).css({bottom:n,right:n}),Je()&&t.css({position:"absolute"})},kv=function(e,t){t===oy&&(t=cr),e.element=Du(e),Rv(e);var n=!!e.getGuide()&&e.getGuide().isOnboarding(),n=(Av(n,e),e.guideElement);t.push(n[0]),n.appendTo(Pu())},Lv="_pendo-guide-mobile-lb_",Ov=function(e){e.guideElement.addClass(Lv)},Nv=function(e,t){t===oy&&(t=cr),e.element=Du(e),Ov(e);var n=!!e.getGuide()&&e.getGuide().isOnboarding(),n=Av(n,e),e=e.guideElement,i=S.TOOLTIP_ARROW_SIZE,i=(e.css({width:"",height:""}),$("._pendo-guide-container_",e).css({bottom:i,right:i}));function r(e){e.preventDefault()}$("._pendo-close-guide_",e).remove().prependTo(i),e.appendTo(Pu()),t.push(e[0]),g(n[0],"touchmove",r),g(e[0],"touchmove",r)};function Mv(){var e=this;return/lightbox/i.test(e.type)&&(e.attributes.height=e.attributes.height||S.LB_DEFAULT_HEIGHT,e.attributes.width=e.attributes.width||S.LB_DEFAULT_WIDTH,e.after("render",function(){(Mu()?Nv:kv)(e,e.elements)}),e.reposition=function(){Mu()||e.guideElement.css({"margin-left":-Math.floor(e.attributes.width/2),"margin-top":-Math.floor(e.attributes.height/2)})}),e}var Pv=500,Fv="_pendo-guide-banner_";function Dv(){var n=this;return"banner"===n.type&&(n.attributes.height=n.attributes.height||Pv,n.attributes.position=n.attributes.position||"top",n.after("render",function(){var e=n.guideElement,t=S.TOOLTIP_ARROW_SIZE;e.css({width:""}).addClass(Fv).addClass("_pendo-guide-banner-"+n.attributes.position+"_"),Nu()||e.addClass("_pendo-in_"),$("._pendo-guide-container_",e).css({bottom:t,right:t}),n.element=Du(n),n.elements.push(e[0]),e.appendTo(Pu())})),n}function Uv(t){var n=this,e="whatsnew",i="_pendo-guide-whatsnew-seen_",r="active",o=1e3;return n.type===e&&(W.extend(n,{isShown:W.constant(!1),launch:u,onShown:u,render:function(){var e=n.guideElement,t=n.attributes.height;e&&e.html()||(e=$(ry.createElement("div")).attr("id",Cp(n)).addClass("_pendo-guide-whatsnew_").html(n.getContent()),W.isNumber(t)&&!n.attributes.autoHeight&&e.height(t),n.seenState===r&&e.addClass(i),n.guideElement=e)},seen:s}),W.extend(t,{addToLauncher:function(){var e=n.guideElement;e&&!So(e[0])&&($("._pendo-launcher_ #launcher-"+n.guideId).html("").append(e),cd.runCustomScripts(n,t))},isReady:a}),n.after("show",s)),n;function a(){return!!n.guideElement}function s(){Nu()||a()&&n.seenState!==r&&function(e){{var t,n;if(Po(e,/(auto|scroll|hidden)/))return(t=_o(e))?(t=Q(t),e=Q(e),n=t.top+Math.floor(t.height/3),e.bottom<=t.bottom||e.top<=n):1}}(n.guideElement[0])&&(Op(n.guideId,n.id,V(),e,t.language,{last_updated_at:n.lastUpdatedAt}),n.seenState=r,W.delay(function(){n.guideElement.addClass(i+" out")},W.isNumber(n.attributes.seenDelay)?n.attributes.seenDelay:o))}function u(){}}var Gv="_pendo-launcher-searching_",Bv="._pendo-launcher-search-box_ input";function Hv(){var t={text:"",highlight:function(e){return t.text?(e||"").replace(new RegExp(t.text,"gi"),"<strong>$&</strong>"):e},clear:function(){$(Bv).each(function(){this.value=""})}};return this.data&&this.data.enableSearch&&this.data.enableSearch&&(this.data.search=t,S.disableGuideCenterContentSearch||this.before("update",Jv),this.before("update",function(){t.text=Kv().join(" ");var e=$("._pendo-launcher_");t.text?e.addClass(Gv):e.removeClass(Gv)})),this}function zv(){var e;if(S.guideWidget)return(e=S.guideWidget.data)&&e.enableSearch}var jv=function(e){return e&&W.isFunction(e.shouldBeAddedToLauncher)?e.shouldBeAddedToLauncher():e&&e.launchMethod&&0<=e.launchMethod.indexOf("launcher")},Wv;function qv(){return 0<Kv().length}function Kv(){var e;return zv()&&(e=$(Bv)[0])&&0<(e=e.value).length?(e=st.call(e),[].concat(W.compact(e.split(" ")))):[]}function Jv(e){if(!m.get("disablePrefetch"))return K.all(W.map(e,function(e){return e.fetchContent()}))}function Vv(e){var t=Kv();return 0===t.length?e:(t=W.map(t,W.partial($v,e)),W.union.apply(W,t))}function $v(e,t){return q("doing search on "+t,"launcher","search","guides"),e=e||p(),t&&0!==t.length?W.chain(e).filter(jv).map(function(e){return e.searchFor(t)}).compact().sortBy(function(e){return W.indexOf(["tag","name","content"],e.field)}).pluck("guide").value():e}var Zv=function(){var e,t=p();ju()?S.guideWidget&&S.guideWidget.enabled&&(e=a0(t),x0(e,!0)):(I0(),(t=s0(a0(e=hr(t))))!==Wv&&J.dispatch("frames/changeGuideList",e),Wv=t)},Yv=330,Xv=310,Qv=null,e0=null,t0=!1,n0="_pendo-launcher-active_",i0=null,r0=function(){return""};function o0(e,t){r0=t}function a0(e){return Vv(W.filter(e||p(),jv))}function s0(e){return bt(W.map(e,function(e){var t=e.isWhatsNew()?[]:W.pluck(e.steps,"seenState");return{id:e.id,seenState:t}}))}function u0(e){var n=this,t=e.launchType||"badge",i=(W.extend(n,{show:function(){"badge"===t&&$(n.element).css("display: ;")},hide:function(){$(n.element).css("display: none;")},wrap:function(){var e=n.element;{var t;e&&/^img$/i.test(e.nodeName)&&(t=$(ry.createElement("div")).addClass(e.className).append(e).appendTo(Pu()),e.className="",n.element=t[0])}},dispose:function(){$.removeNode(n.element)},setActive:function(e){e?$(n.element).addClass(n0):$(n.element).removeClass(n0)}}),e),e=i.position||"bottom-right",r=ry.createElement("img");$(n.element=r).addClass("_pendo-launcher-badge_").addClass("_pendo-launcher-badge-"+e+"_"),i.launcherBadgeUrl&&(r.src=id(i.launcherBadgeUrl)),r.onerror=function(e){q("[Agent] Error! Unable to load guide center image "+i.launcherBadgeUrl),I("ERROR in when attempting to render guide center badge image",{imgSrc:i.launcherBadgeUrl})},Je()&&(g(r,"mouseover",function(e){$(r).addClass("_pendo-launcher-badge-active_")}),g(r,"mouseout",function(e){$(r).removeClass("_pendo-launcher-badge-active_")}),$(r).css({position:"absolute"})),Pu().appendChild(r)}function d0(e){function n(){return"element"===e.launchType&&e.launchElement?e.launchElement:"._pendo-launcher-badge_"}function t(e){var e=Si(e),t=n();$(e).closest(t).length&&(R0()?d.write("launcher-closed","yes",864e6):S.guideWidget.position(e),N0())}S.guideWidget.removeCountBadge=function(){$("._pendo-launcher-whatsnew-count_").remove()},e&&e.elementMatch&&(e.launchElement=e.elementMatch.selection),W.extend(this,{getLauncherTarget:function(){return $(n())[0]},dispose:function(){C(ry,"click",t),e&&e.whatsnew&&e.whatsnew.enabled&&M0()}}),g(ry,"click",t)}function c0(){var n,s="bottom-right",u="bottom-left";return this.update=function(e,t){t=t?e:a0(e),e=s0(t)+bt(Kv());return e!==n&&(n=e,this.updateLauncherContent(t)),b0(),0<t.length},this.updateLauncherContent=C0,this.guideStatus=function(e){return e.isComplete()?"complete":e.isInProgress()?"in-progress":"not-started"},this.render=function(){var e=this.data||{},t=(Qv=new u0(e),e.height||Xv),n=(e.enableSearch&&(t+=Je()?50:39),this&&!this.hidePoweredBy&&(t+=40),e.addHeight&&(t+=e.addHeight),this.height=t,e.width||Yv),i=(e.addWidth&&(n+=e.addWidth),this.width=n,$(ry.createElement("div")).addClass("_pendo-launcher_")),r=(e0=i[0],X(Qv.element)),r=yv(r,t,n),o=(i.css({width:n,height:t}),S.TOOLTIP_ARROW_SIZE),n=$(ry.createElement("div")).addClass("_pendo-guide-container_ "+r.arrowPosition).addClass("_pendo-guide-container-"+r.arrowPosition+"_").css({top:o,left:o,width:n-2*o,height:t-2*o}).appendTo(i),t=E0(),o=id(p0(this.template(t))),t=$(ry.createElement("div")).addClass("_pendo-guide-content_").html(o).appendTo(n);e.addUISection&&e.addUISection(i[0]),tp(i[0],function(){L0(),d.write("launcher-closed","yes",288e5)}),t.on("click",function(e){var t=$(Si(e)).closest("._pendo-launcher-item_");t&&t.length&&(t=E((t=/^launcher-(.+)$/.exec(st.call(t.attr("id"))))&&t[1]))&&!t.isWhatsNew()&&(Rp(t.steps[0],"launcher"),L0(),Tu(e))}),Je()&&($("._pendo-launcher-header_",i).css({padding:"10px","margin-right":"10px","margin-left":"10px"}),$("._pendo-launcher-footer_",i).css({"border-top":"1px solid #bbb"}),i.css({position:"absolute"})),i.find("[pendo-style]").each(function(){var e=this.getAttribute("pendo-style");$(this).css(e)}),i.appendTo(Pu()),W.isFunction(this.script)&&this.script(this),e.autoHeight&&e.autoHeight.enabled&&!Se(9,6)&&(o=e.autoHeight.offset||100,i.css({height:"calc(100% - "+o+"px)",maxHeight:e.height,minHeight:e.height/2}),$("._pendo-guide-container_."+r.arrowPosition).css({maxHeight:e.height-30,minHeight:e.height/2-30,height:"calc(100% - 30px)"}))},this.position=function(e){var t,n,i,r,o,a;e&&(t=this.data,e=X(e),n=yv(e,this.height,this.width),i=$(e0),"badge"===(r=t.launchType||"badge")?(o=t.position,W.indexOf(a=[s,u,"top-left","top-right"],t.position)<0&&(o=s),W.each(a,function(e){i.removeClass("_pendo-launcher-"+e+"_")}),i.addClass("_pendo-launcher-"+o+"_"),n.arrow=n.arrow||{},n.arrowPosition=W.contains([s,u],o)?"bottom":"top",n.arrow.hbias=W.contains([u,"top-left"],o)?"left":"right",n.arrow.floating=!1):"element"===r&&i.css({top:n.top,left:n.left,height:n.height,width:n.width,position:e.fixed?"fixed":"absolute"}),$("._pendo-guide-arrow_,._pendo-guide-arrow-border_",i).remove(),Iv(n,e,{width:Infinity,height:Infinity}),iv(i[0],n),i.find("._pendo-guide-container_").removeClass("top left bottom right").addClass(n.arrowPosition))},this.toggle=N0,this}function l0(){var n,i=this;return i.data&&i.data.onboarding&&(n=i.onboarding=i.onboarding||{},i.before("update",function(e){var e=W.filter(e,sm),t=W.filter(e,function(e){return"complete"==i.guideStatus(e)}),e=n.total=e.length,t=(n.percentComplete=0<e?Math.round(t.length/e*100):0,$("._pendo-launcher_,._pendo-launcher-badge_"));e?(t.addClass("onboarding"),t.addClass("_pendo-launcher-onboarding_")):(t.removeClass("onboarding"),t.removeClass("_pendo-launcher-onboarding_"))}),i.getOnboardingState=function(e){return e.isComplete()?"complete":e.isInProgress()?"in-progress":e.isNotStarted()?"not-started":null}),i}function f0(){var n=this,i=$(ry.createElement("div")).addClass("_pendo-launcher-whatsnew-count_");return n.data&&n.data.whatsnew&&n.data.whatsnew.enabled&&(n.before("updateLauncherContent",function(e){e=W.filter(e,function(e){return e.isWhatsNew()});e.sort(t),n.data.whatsnew.total=e.length,n.data.whatsnew.guides=e}),n.after("update",function(e){var t=n.data.whatsnew.guides,t=(W.each(t,function(e){e.show()}),W.find(t,function(e){if(!e.isReady())return!0;e.addToLauncher()}),W.filter(t,function(e){return"active"!==e.steps[0].seenState}).length);t!==n.data.whatsnew.unseenCount&&(i.html(t).css({display:t?"":"none"}),n.data.whatsnew.unseenCount=t,$("span._pendo-launcher-whatsnew-count_").text(n.data.whatsnew.unseenCount))}),n.after("render",function(){S0()?i.appendTo(this.data.launchElement):(Qv.wrap(),i.appendTo(Qv.element))})),n;function t(e,t){var n=function(e,t){e=e.showsAfter||e.publishedAt||0;return(t.showsAfter||t.publishedAt||0)-e}(e,t);return 0===n?(t=t,e=(e=e).name.toLowerCase(),(t=t.name.toLowerCase())<e?1:e<t?-1:0):n}}function p0(e){return e=W.isString(e)?e.replace(/\s+(style)=/gi," pendo-style="):e}function h0(e,t){var n=e&&e.data,t=W.filter(t,function(e){e=W.first(e.steps);return e&&"launcher"===e.type}),t=W.first(W.sortBy(t,function(e){return-e.lastUpdatedAt}));return t&&n&&(t=W.first(t.steps),W.extend(n,W.pick(t,"contentUrl","contentUrlCss","contentUrlJs"),t.attributes),W.defaults(n,{whatsnew:{},knowledgebase:{}}),n.id=t.guideId+t.id),e}function g0(t){var n=t&&t.data||{};return!0!==m.get("preventCodeInjection")&&(n.contentUrlJs||n.contentUrl)?Zu.verify(n).then(function(){return ud.load(n)}).then(function(e){return n.template=e.content,W.extend(t,e)}):K.resolve()}function m0(e,t){var n=m.getLocalConfig("contentHost");return n&&(e=(e=e.replace(/^pendo-static-\d+\.storage\.googleapis\.com$/,n).replace(/^pendo-\w+-static\.storage\.googleapis\.com$/,n).replace(/^cdn\.pendo\.io$/,n)).replace(/^https?:/,"").replace(/^\/\//,""),!/\./.test(e))&&!/^localhost/.test(e)&&/^\//.test(e)?t.host+e:e}function v0(e,t){e.contentHostUrl&&(e.contentHostUrl=m0(e.contentHostUrl,location)),i0=new d0(e);var n=c0.create(S.guideWidget);return W.isFunction(n.template)||(n.template=e.template?W.template(e.template):r0),n.render(),n.position(i0.getLauncherTarget()),t&&n.toggle(),n}c0.create=function(e){return W.reduce(c0.behaviors,function(e,t){return t.call(e)},e)},c0.behaviors=[ll,c0,Yu.Launcher,Hv,l0,f0];var y0=function(){e0&&($.removeNode(e0),e0=null),i0&&(i0.dispose(),i0=null),Qv&&(Qv.dispose(),Qv=null)},b0=function(){(S0()||!k0()&&!qv()?I0:w0)()},w0=function(){Qv&&Qv.show()},I0=function(){S0()||L0(),Qv&&Qv.hide()},S0=function(){return!(!S.guideWidget||!S.guideWidget.data||"element"!==S.guideWidget.data.launchType)},x0=function(e,t){if(S.guideWidget&&W.isFunction(S.guideWidget.update))return S.guideWidget.update(e,t)},E0=function(e){var t=Ec(),t=W.extend({hidePoweredBy:!1,guides:[],guide:{},step:{},metadata:vt(t)},S.guideWidget);return t.data=W.extend({},t.data),e&&(t.guides=e),t};function C0(e){var t=S.guideWidget.template||r0,e=E0(e),e=$(ry.createElement("div")).html(p0(t(e))),n=e.find("._pendo-launcher-guide-listing_"),t=e.find("._pendo-launcher-footer_").html(),e=e.find("._pendo-launcher-search-results_").html();$("._pendo-launcher_ ._pendo-launcher-guide-listing_").each(function(e,t){$(e).html(n.eq(t).html())}),$("._pendo-launcher_ ._pendo-launcher-footer_").html(t),$("._pendo-launcher_ ._pendo-launcher-search-results_").html(e)}var _0=function(e){var t=ry.createElement("div"),n=($(t).addClass("_pendo-launcher-item_"),$(t).attr("id","launcher-"+e.id),ry.createElement("a"));return n.href="#",n.innerHTML=e.name,t.appendChild(n),t},T0=W.compose(b0,function(e,t){var n,i;jv(e)&&(n=$("._pendo-launcher_ ._pendo-launcher-guide-listing_")[0])&&(e=(i=$("#launcher-"+e.id)).length?i[0]:_0(e),i=0<i.length,W.isNumber(t)&&(i=$("._pendo-launcher-item_"))[t]?e.id!=i[t].id&&n.insertBefore(e,i[t]):n.appendChild(e))}),A0=function(){return!!e0&&!t0},R0=function(){return $(e0).hasClass(n0)},k0=function(){return 0<$("._pendo-launcher-item_").length},L0=function(){var e;e0&&(e=$(e0))&&e.hasClass(n0)&&(e.removeClass(n0),Qv)&&Qv.setActive(!1)},O0=function(){var e;e0&&(e=$(e0))&&!e.hasClass(n0)&&(e.addClass(n0),Qv)&&Qv.setActive(!0)},N0=function(){A0()&&(R0()?L0:O0)()};function M0(){$("._pendo-launcher-whatsnew-count_").remove()}var P0=function(){try{var e=S.guideWidget||{},t=e.data||{},n=t.device||{desktop:!0,mobile:!1,iframe:!1};y0(),!Mu()&&!n.desktop||Mu()&&!n.mobile||ha()&&!n.iframe||e.enabled&&(v0(t),I0())}catch(Ut){I(Ut,"ERROR while initializing launcher")}},F0=function(e){e.defaultLauncher=o0,e.toggleLauncher=N0,e.showLauncher=O0,e.hideLauncher=L0,e.removeLauncher=y0,e.initLauncher=P0,e.createLauncher=v0,e._addGuideToLauncher=T0,e.launcherToolTipDiv=e0},D0=function(e){e.designer&&(e.designer.createLauncher=v0,e.designer.removeLauncher=y0,e.designer.addGuideToLauncher=T0,e.designer.updateLauncherContent=C0)},U0=function(e){e.debugging&&(e.debugging.getLauncherGuides=a0)},G0=function(t,e){F0(t),e.Events.on("guidesLoaded",function(){P0()}),e.Events.on("designerLaunched",function(){D0(t)}),e.Events.on("debuggerLaunched",function(){U0(t)}),e.GuideLoop.addUpdatePhase(Zv),ph(function(e){return g0(h0(t.guideWidget,e))})};function B0(){return-1<W.indexOf(td.behaviors,Ev)}var H0=function(){var r;return rg.Extensions.API.addTopic("Launcher",{addBehavior:function(e){c0.behaviors.push(e)}}),{name:"P1Guides",initialize:function(e,t){r=e.dom;var n,i=[Ev,Mv,Dv,Uv,s,u,a,o];B0()||(n=W.indexOf(td.behaviors,fm),td.behaviors.splice.apply(td.behaviors,[n,0].concat(i)),t.Events.guideLoopStopped.on(I0),e.TOOLTIP_DEFAULT_WIDTH=xv.width,e.TOOLTIP_DEFAULT_HEIGHT=xv.height,e.TOOLTIP_ARROW_SIZE=xv.arrowSize,e._showElementGuide=rv,e._createTooltip=nv,e._get_tooltip_dimensions=yv,e.LB_DEFAULT_WIDTH=Cv,e.LB_DEFAULT_HEIGHT=_v,e._showLightboxGuide=kv,G0(e,t))}};function o(){var e=this;return"tooltip"!==e.type||e.domJson||(e.checkPlacement=function(){vv(e)}),e}function a(){var i=this;return i.attributes&&i.attributes.autoHeight&&(i.after("render",function(){i.guideElement&&i.guideElement.length&&(i.resize(),i.attachEvent(i.guideElement[0],"load",function(){i.resize()}))}),i.resize=function(){var e,t=Sv(),n=i.guideElement;n&&(e=r("._pendo-guide-container_",n),"tooltip"==i.type||Je()&&"lightbox"==i.type?e.css({width:i.attributes.width-2*t,height:""}):e.css({right:t,bottom:""}),i.attributes.height=e.height()+2*t,n.height(i.attributes.height),i.reposition())}),i}function s(e){var t=this;return t.domJson||t.domJsonpUrl||t.after("render",function(){t.guideElement&&t.guideElement.length&&tp(t.guideElement[0],function(){e.isOnboarding()&&!confirm("Are you sure you want to stop this tutorial?")||fp(t)})}),t}function u(){var e=this;return e.hideCredits||e.domJson||e.domJsonpUrl||e.after("render",function(){yp(e.guideElement[0])}),e}}(),z0=function(){return{name:"Branding",initialize:function(t,e){e.ConfigReader.get("isPendoFree")&&e.Events.on("guideSeen",function(e){n(t,e)})},addBranding:n};function n(e,t){var n,i,r,t=t.data[0].props;t.step_poll_types&&-1<t.step_poll_types.indexOf("NPSRating")&&(e=-1<(t=e.findGuideById(t.guide_id).steps[0].guideElement[0].lastElementChild).dataset.verticalAlignment.indexOf("Bottom"),n=""!==t.style.width,(i=ry.createElement("a")).href="https://www.pendo.io/pendo-free/nps?utm_source=pendo_app&utm_medium=branded-nps&utm_campaign=free-branded-nps",i.target="_blank",(r=ry.createElement("img")).setAttribute("src",Er()+"/img/nps-branding.png"),i.appendChild(r),i.style.display="inline-block",(r=ry.createElement("div")).style.lineHeight=0,r.style.padding="8px",e&&(r.style.position="absolute",r.style.bottom="100%"),n&&(r.style.paddingLeft=0),r.append(i),t.append(r))}}(),j0=function(){var r,i;return{name:"ActionAutomation",automationQueue:void 0,initialize:function(e,t){r=e;this.automationQueue=[],t.EventRouter.registerAction("automation",n.bind(this))},guideActivity:n,getAutomationFromGuide:function(i,e){return e.reduce(function(e,t){var n=r._.find(i,function(e){return e.id===t});return n?e.push(n):r.log("could not find automation for "+t,"debug"),e},[])},getAutomationConfigs:function(e){if(!e||e.length<=0)return[];if(!i)return[];var t=i.guide,n=i.step;if(!t||!n)return[];n=t.automations;if(!n||!n.length)return[];n=this.getAutomationFromGuide(n,e),e=n[n.length-1];if(this.isAutomationInQueue(e))return r.log("Automation is already in queue autoId: "+e.id+", guideId: "+t.id,"debug"),[];return n},getTarget:function(e){e=e.target.elementPathRules,e=r.Sizzle(e,ry);return e&&e[0]},getElement:function(n,i){void 0===i&&(i=10);return new Sn(function(t){return setTimeout(function(){var e=this.getTarget(n);e&&!e.disabled||i<1?t(e):this.getElement(n,i-1).then(function(e){t(e)})}.bind(this),250)}.bind(this))},getValue:function(e){return e.value},injectText:function(e,t){e.value=t;t=new InputEvent("input",{bubbles:!0,data:t[t.length-1]}),e.dispatchEvent(t),t=new InputEvent("change",{bubbles:!0});e.dispatchEvent(t)},isAutomationInQueue:function(t){return!!r._.find(this.automationQueue,function(e){return t.id===e.id})},popQueue:function(){var e=0,n=this.automationQueue[0];"autoclick"===n.type&&(e=500);return setTimeout(function(){return this.getElement(n,10).then(function(e){if(e)if(e.disabled)this.automationQueue=[],r.log("automation target found but disabled. id: "+n.id+", pathRule: "+n.target.elementPathRules,"debug");else{switch(n.type){case"autofill":var t=this.getValue(n);this.injectText(e,t);break;case"autoclick":e.click()}this.automationQueue.shift(),this.automationQueue.length&&this.popQueue()}else this.automationQueue=[],r.log("automation target element not found. id: "+n.id+", pathRule: "+n.target.elementPathRules,"debug")}.bind(this))}.bind(this),e)},validateReqs:function(){return!!(i=r.getActiveGuide())&&!!i.step}};function n(e){var t;this.validateReqs()&&e.params&&((e=r._.find(e.params,function(e){return"automationIds"===e.name&&r._.isArray(e.value)&&e.value.length}))?(e=this.getAutomationConfigs(e.value),t=!this.automationQueue.length,this.automationQueue=this.automationQueue.concat(e),t&&this.popQueue()):r.log("no automation ids were found","debug"))}}();function W0(e,i){return"undefined"!=typeof Proxy&&W.isFunction(i)?new Proxy(e,{get:function(e,t){if("textContent"===t)return i(e);if("parentNode"===t){var n=e[t];if(e.ownerDocument!==n)return W0(e[t],i)}return W.isFunction(e[t])?function(){return e[t].apply(e,arguments)}:e[t]}}):e}var q0=function(){var n,l,f,p,t=ii(function(n){{var e;f.eventProperties&&f.eventProperties.length&&(e=function c(i){var r=p.ConfigReader.get("eventPropertyMatchParents");var e=v();var t={};var n;for(var o=0;o<f.eventProperties.length&&v()-e<50;o++){n=f.eventProperties[o];var a=f._.any(n.featureRules,function(e){try{var t=h(r,l);return t(i,e)}catch(n){return!1}});if(a)for(var s=0;s<n.eventPropertyRules.length&&v()-e<50;s++){var u=n.eventPropertyRules[s];if(!u.name)return;t[u.name]=m(u,i)}}var d=v()-e;if(50<d){if(r&&l===f._.identity&&f._.isFunction(f.getText))return f.log("switching event property collection to fast text implementation"),l=function(e){return W0(e,function(e){return f.getText(e,128)})},c(i);g(50,n)}return t}(n.target),Object.entries(e).forEach(function(e){var t=e[0],e=e[1];n.addEventProperty(t,e)}))}}),i=ii(function(){var e={};if(n)return{};var t=p.ConfigReader.get("eventPropertyConfigurations");if(!t||f._.isEmpty(t))return{};if(e=function(e){for(var t,n=v(),i={},r=0;r<e.length&&v()-n<50;r++){if(!(t=e[r]).name)return;var o=m(t);o&&(i["_pendo_"+t.name]=o)}50<v()-n&&g(50,t);return i}(t),f._.isEmpty(e))return{};return e});return{name:"EventProperties",initialize:function(e,t){p=t,l=(f=e)._.identity,n=!1,f.getEventPropertyTarget=a,f.previewEventProperty=m,p.Events.onClickCaptured.off(r),p.Events.onClickCaptured.on(r),o()},collectClickEventProperties:t,collectEventProperty:m,collectPageEventProperties:i,getEventPropertyTarget:a,addPageEventProperties:o};function h(e,n){return e?function(e,t){return 0<f.dom(n(e)).closest(t).length}:function(e,t){return f.Sizzle.matchesSelector(e,t)}}function r(e){t(e.data[0])}function o(){var e;p.store.dispatch("location/addInternalTransforms",(e=p.ConfigReader.get("eventPropertyConfigurations"))&&!f._.isEmpty(e)?[new Jg("search","AddTo",function(){return i()})]:[])}function g(e,t){f.log("event property collection disabled; collection took greater than "+e+" milliseconds.");e="ERROR event property collection exceeded time limit.";t.featureId?e+="\n For feature with id: "+t.featureId:e+="\n For page event with name: "+t.name,I(e),t.featureId?f.eventProperties=[]:n=!0}function m(e,t){if(e.path)return t=a(e,t),f._.get(t,e.path,oy)}function a(e,t){e=e.source||e.selector;if(e&&t){for(var n,i=e,r=t;!n&&r;){try{if((n=f.Sizzle(i,r)[0])&&("password"===n.type||"hidden"===n.type))return}catch(o){return}r=c.getParent(r)}return n}return e?!(t=f.Sizzle(e)[0])||"password"!==t.type&&"hidden"!==t.type?t:void 0:iy}}(),K0={name:"DebuggerLauncher",initialize:function(e,t){var n=e.enableDebugging;e.enableDebugging=function(e){2===(e=void 0===e?{}:e).version?((e=ry.createElement("script")).src=t.getAssetUrl("debugger-plugin.min.js"),bo().appendChild(e)):n()}}};function J0(){og(Gm),og(zm),og(Jm),og(Vm),og(H0),og(z0),og(j0),og(q0),og(K0)}function V0(n){Xg(n),im(n),W.each(["identify","updateOptions","pageLoad","track"],function(e){var t=n[e];n[e]=function(){try{Eg()?t.apply(this,arguments):ne(n,e,arguments)}catch(Ut){I(Ut)}}})}function $0(t){W.each(["initialize","identify","updateOptions","pageLoad","track"],function(e){t[e]=function(){console.log("Pendo is currently disabled.")}})}function Z0(e,t){if(de(t),it(),(a(t)||!se(t,e,Qt(!0)))&&(!e||!e.VERSION)){if(!m.get("disablePendo"))return Fm(J),Sr(),mm(),dd.reset(),J.dispatch("frames/init"),q.init(),c.wrapSizzle(l),l.intercept(zu),V0(e),w.appUsage.on(Dm.handler),w.appUsage.on(Um.handler),w.error.on(W.partial(J.dispatch,"errorLog/write")),w.guideListChanged.on(Ln.changeSessionId),J0(),_g(e._q,Cg,Au),1;$0(e)}}function Y0(){var r=y.stringify;y.stringify=function(e,t,n){var i=Array.prototype.toJSON,e=(delete Array.prototype.toJSON,r(e,t,n));return Array.prototype.toJSON=i,e}}function X0(e){return"undefined"!=typeof Prototype&&parseFloat(Prototype.Version.substr(0,3))<e&&"undefined"!=typeof Array.prototype.toJSON}function Q0(){X0(1.7)&&Y0()}var ey=le(),ty=O(ey);Z0(ty,ey)&&Q0()}()}(window,document),pendo.defaultLauncher&&pendo.defaultLauncher('<div class="_pendo-launcher-content_" style="border-color:<%= data.color %>">\n    <div class="_pendo-launcher-header_">\n        <img src="<%= data.launcherBadgeUrl %>"/>\n        <div class="_pendo-launcher-title_"><%= data.title %></div>\n        <% if (data.enableSearch) { %>\n        <div class="_pendo-launcher-search-box_">\n        <input type="text" placeholder="Type here to start looking..." />\n        </div>\n        <% } %>\n    </div>\n    <div class="_pendo-launcher-guide-listing_">\n    <% _.each(guides, function(guide) { %>\n        <div class="_pendo-launcher-item_" id="launcher-<%= guide.id %>">\n            <a href="javascript:void(0);"><%= guide.name %></a>\n        </div>\n    <% }) %>\n    </div>\n    <% if (hidePoweredBy) { %>\n    <div class="_pendo-launcher-footer_"></div>\n    <% } else { %>\n    <div class="_pendo-launcher-footer_ _pendo-launcher-footer-credits_">\n        <span>powered by pendo</span>\n    </div>\n    <% } %>\n</div>\n',function(e){e=e||{};var t,n="",i=Array.prototype.join;function r(){n+=i.call(arguments,"")}with(e)n+='<div class="_pendo-launcher-content_" style="border-color:'+(null==(t=data.color)?"":t)+'">\n    <div class="_pendo-launcher-header_">\n        <img src="'+(null==(t=data.launcherBadgeUrl)?"":t)+'"/>\n        <div class="_pendo-launcher-title_">'+(null==(t=data.title)?"":t)+"</div>\n        ",data.enableSearch&&(n+='\n        <div class="_pendo-launcher-search-box_">\n        <input type="text" placeholder="Type here to start looking..." />\n        </div>\n        '),n+='\n    </div>\n    <div class="_pendo-launcher-guide-listing_">\n    ',_.each(guides,function(e){n+='\n        <div class="_pendo-launcher-item_" id="launcher-'+(null==(t=e.id)?"":t)+'">\n            <a href="javascript:void(0);">'+(null==(t=e.name)?"":t)+"</a>\n        </div>\n    "}),n+="\n    </div>\n    ",hidePoweredBy?n+='\n    <div class="_pendo-launcher-footer_"></div>\n    ':n+='\n    <div class="_pendo-launcher-footer_ _pendo-launcher-footer-credits_">\n        <span>powered by pendo</span>\n    </div>\n    ',n+="\n</div>\n";return n});
})({
  environmentName: "production",
  blockAgentMetadata: false,

  blockLogRemoteAddress: true,


  dataHost: "data.pendo.io",


  stagingServers: ["localhost:5044",/localhost/,/www\.dev\.sciencedirect\.com/,/www\.qa\.sciencedirect\.com/,/www\.qa\.sdfe\.sciencedirect\.com/],
  stagingAgentUrl: "https://pendo-io-static.storage.googleapis.com/agent/static/d6c1d995-bc7e-4e53-77f1-2ea4ecbb9565/pendo-staging.js",

  allowedOriginServers: ["https://pendo-static-5661679399600128.storage.googleapis.com"],


  adoptPrioritizeAdoptGuides: false,
  allowCrossOriginFrames: false,
  disableCookies: false,
  disableDesignerKeyboardShortcut: false,
  disableFeedbackAutoInit: false,
  disableGlobalCSS: false,
  disableGuidePseudoStyles: false,
  disablePendo: false,
  disablePersistence: false,
  enableDebugEvents: false,
  enableGuideTimeout: true,
  enableSignedMetadata: false,
  eventPropertyConfigurations: [],
  excludeAllText: false,
  extensionPersistLocalStorage: false,
  frameIdentitySync: false,
  freeNPSData: false,
  guideMarkdown: false,
  guideValidation: false,
  interceptElementRemoval: false,
  isPendoFree: false,
  localStorageOnly: true,
  observeShadowRoots: false,
  pendoCore: true,
  pendoFeedback: false,
  preferBroadcastChannel: false,
  preferMutationObserver: false,
  preventCodeInjection: false,
  promotedAgentMetadataConfigurations: [],
  recording: {"enabled":false},
  requireHTTPS: true,
  requireSignedMetadata: false,
  restrictP1Access: false,
  sendEventsWithPostOnly: false,
  siblingSelectors: false,
  trainingPartner: false,
  guideSeenTimeoutLength: 0,
  xhrTimings: false,
  xhrWhitelist: null,
  htmlAttributeBlacklist: null,
  htmlAttributes: /^(tabindex)$/i,
  apiKey: "d6c1d995-bc7e-4e53-77f1-2ea4ecbb9565"
});
!function(){"use strict";var e=function(){var t,i,n={};return{name:"TextCapture",initialize:function(e,a){t=e,i=a,e.excludeAllText=i.ConfigReader.get("excludeAllText");var l=i.ConfigReader.get("allowedText");n=t._.reduce(l,(function(e,i){return t._.isString(i)?(e[i]=!0,e):e}),{}),i.NodeSerializer.add(r),i.Events.on("eventCaptured",t._.partial(u,e))},isEnabled:a,isTextCapturable:function(e){var r=i.util.trim.call(e);return a()||t._.has(n,r)||t._.has(n,e)},hasWhitelist:function(){return t._.size(n)>0},serializer:r};function r(n,r,u){if(r!==u)return n;if(e.isEnabled()||!e.isEnabled()&&e.hasWhitelist()){var a=t.getText(u,128);e.isTextCapturable(a)&&(n.txt=e.hasWhitelist()?i.util.trim.call(a):a)}return n}function u(e,t){if(a()){var i=t.data[0];if(i&&"guideActivity"===i.type){var n=e.getActiveGuide();if(!n)return;var r=(0,e.BuildingBlocks.BuildingBlockGuides.findDomBlockInDomJson)(n.step.domJson,(function(e){return e.props&&e.props.id&&e.props.id===i.props.ui_element_id}));if(!r)return;i.props.ui_element_text=r.content}}}function a(){return!t.excludeAllText}}();pendo.addExtension&&pendo.addExtension({name:"TextCapture",version:"1.0.0",type:"agent",use:"plugin",uri:e})}();
;