cdn.pendo.io
Open in
urlscan Pro
2600:9000:223f:e200:1f:aa31:7740:93a1
Public Scan
URL:
https://cdn.pendo.io/agent/static/d6c1d995-bc7e-4e53-77f1-2ea4ecbb9565/pendo.js
Submission: On October 05 via api from LU — Scanned from DE
Submission: On October 05 via api from LU — Scanned from DE
Form analysis
0 forms found in the DOMText Content
// Pendo Agent Wrapper // Copyright 2023 Pendo.io, Inc. // Environment: production // Agent Version: 2.204.1 // Installed: 2023-10-05T18:12:28Z (function (PendoConfig) { /* @license https://agent.pendo.io/licenses */ !function(Ay,Ry,Ly){!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 A=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!==Ay?Ay:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}var n={exports:{}},i=(!function(p){!function(){var s="object"==typeof Ay?Ay:{},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===Ly)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}()}(n),n.exports),R=e(i),r,o={createScriptURL:function(e){return e},createHTML:function(e){return e}};function Ee(){return r=r||(Ay.trustedTypes&&"function"==typeof Ay.trustedTypes.createPolicy?Ay.trustedTypes.createPolicy("pendo",o):o)}var L="stagingServerHashes",I,a={};function O(e){return e.loadAsModule}function k(e){e=O(e)?{}:Ay;return I=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||fe()))return!0;if(t=t||Ay.location,z(e))for(var n=B(t.host),i=0,r=e[L].length;i<r;++i)if(e[L][i]===n)return!0;if(H(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 A.uint8ToBase64(R.create().update(e).digest())}function z(e){return e&&e.stagingAgentUrl&&e[L]}function H(e){return e&&e.stagingAgentUrl&&e.stagingServers}var j=["initialize","identify","updateOptions","pageLoad","track","clearSession"];function W(e,t,n){(e._q=e._q||[])["initialize"===t?"unshift":"push"]([].concat.apply([t],n))}function K(e,t){t[e]=t[e]||function(){W(t,e,arguments)}}function q(e){if(!e._q)for(var t=j,n=0,i=t.length;n<i;++n)K(t[n],e)}function se(e,t,n){if(F(e)){e=U(e,!0,n);if(e)return q(t),ce(e),!0}return!1}function ue(e,t,n){if(D(e,n)){e=U(e,!1,n);if(e)return q(t),ce(e),!0}return!1}function de(e,t,n){return se(e,t,n)||ue(e,t,n)}function ce(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 le(e){a=e}function fe(){return a}function pe(){return"undefined"==typeof PendoConfig?{}:PendoConfig}function he(e){return fe()[e]}var ge={exports:{}},me=(!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&&/\[native code\]/.test(String(DataView)),B=Array.isArray,z=Object.keys,H=Object.create,j=t&&ArrayBuffer.isView,W=isNaN,K=isFinite,q=!{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(z)return z(e);var t,n=[];for(t in e)g(e,t)&&n.push(t);return q&&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 q&&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!==Se||!f(e[we])}}var we="forEach",e=["clear","delete"],n=["get","has","set"],B=e.concat(we,n),Se=e.concat(n),t=["add"].concat(e,we,"has"),n=a?be(B):r("Map"),e=a?be(Se):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 Ie(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)?H?H(e):((t=function(){}).prototype=e,e=new t,t.prototype=null,e):{}}function Ae(e){return h(e)?e:[e]}function S(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 Le(e,t,n){e=Re(e,S(t));return $(e)?n:e}function Oe(e){return e}function I(t){return t=s({},t),function(e){return ge(e,t)}}function ke(t){return t=S(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?Oe:f(e)?x(e,t,n):(o(e)&&!h(e)?I:ke)(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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ue=De(t),t=De(Ie(t)),Ge=b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Be=/(.)^/,ze={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},He=/\\|'|\r|\n|\u2028|\u2029/g;function je(e){return"\\"+ze[e]}var We=/^\s*(\w|\$)+\s*$/;var Ke=0;function qe(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 qe(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 qe(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 L(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 O(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 k(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=S(n),r=n.slice(0,-1),n=n[n.length-1]),L(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 L(e,ke(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)?L(e,Oe):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]}),St=N(function(e,t,n){e[n]=t}),It=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=L(A(n,!1,!1),String),i=function(e,t){return!k(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),O(e,function(e){return!k(t,e)})}),Lt=c(function(e,t){return Rt(e,t)});function Ot(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?k(o,d)||(o.push(d),r.push(u)):k(r,u)||r.push(u)}return r}var kt=c(function(e){return Ot(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)&&K(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:Ie,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:Le,has:function(e,t){for(var n=(t=S(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:Oe,constant:ue,noop:Pe,toPath:Ae,property:ke,propertyOf:function(t){return null==t?Pe:function(e){return Le(t,e)}},matcher:I,matches:I,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(He,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=S(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=++Ke+"";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,I(t))},each:R,forEach:R,map:L,collect:L,reduce:ct,foldl:ct,inject:ct,reduceRight:lt,foldr:lt,filter:O,select:O,reject:function(e,t,n){return O(e,Ye(E(t)),n)},every:ft,all:ft,some:pt,any:pt,contains:k,includes:k,include:k,invoke:ht,pluck:gt,where:function(e,t){return O(e,I(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(L(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:St,countBy:It,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 O(e,Boolean)},flatten:function(e,t){return A(e,t,!1)},without:Lt,uniq:Ot,unique:Ot,union:kt,intersection:function(e){for(var t=[],n=arguments.length,i=0,r=v(e);i<r;i++){var o=e[i];if(!k(t,o)){for(var a=1;a<n&&k(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},ge.exports=e()}(),ge.exports),J=e(me),ve;function x(e){return!(null==e)}function ye(e){return J.isFunction(e)||J.isRegExp(e)?e:J.isArray(e)?J.map(e,ye):J.isObject(e)?J.reduce(e,function(e,t,n){return e[n]=ye(t),e},{}):e}var m=function(){var i=J.all,r=J.each,o=J.filter,a=J.first,s=J.find,n=J.map,u=J.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=J.get(t.lookup,(t=e,J.get(t,"key")||J.get(t,"name"))))?e:Ly}function v(e,t){var n=m(e,h[t]);return new w(e.name,n,t)}function y(e,t){return t=t||J.get(e,"supportedSources",[d,c,l]),o(n(t,J.partial(v,e)),function(e){return x(e.value)})}function b(e,t,n){var i=g(e),e=new w(e,t=t||J.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 S(){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:ve||Ay.pendo_options,name:d}},h[c]=function(){return{lookup:fe(),name:c}},h[l]=function(){return{lookup:I,name:l}},w.prototype.toString=function(){return"Config option `"+this.name+"` with value `"+this.value+"` from source `"+this.source+"`"},{audit:S,get:function(e,t){return b(e,t).value},getLocalConfig:function(e,t){return arguments.length?b(e,t,[d]).value:ye(ve)},getHostedConfig:function(e,t){return b(e,t,[c]).value},addOption:e,setLocalConfig:function(e){ve=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(S(),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()}}}(),be="prod",we="extension",Se="native";function Ie(){return m.get("installType")||Se}function xe(e){return e===be?"pendo-static":Ce(e)}function Ce(e){var t;return e===be?"pendo-io-static":"prod-jp"===e?"pendo-jp-prod-static":"pendo-"+((t=/^prod-(.+)$/.exec(e))&&1<t.length?t[1]:e)+"-static"}var _e=function(e,t){return e=e||10,(t=!isNaN(Te)&&(!t||Te<t))&&u<e},u,Te;function Ae(e){return parseInt(e,10)}var Re=function(e){return J.isString(e)?e.toLowerCase():e};function Le(e){return!(!isNaN(this.msie)&&null!=this.msie)||this.msie>=e}function Oe(){return(Ay.navigator||{}).userAgent}var ke=function(e){var t=Ae((/msie (\d+)/.exec(Re(e))||[])[1]);return t=isNaN(t)?Ae((/trident\/.*; rv:(\d+)/.exec(Re(e))||[])[1]):t},u=ke(Oe()),Ne=function(e,t){e=Ae((/trident\/(\d+)/.exec(Re(e))||[])[1]);return e=isNaN(e)&&7==t?3:e};function Me(e){return/native/.test(e)}var Te=Ne(Oe(),u),Pe={},Fe=Ae((/android (\d+)/.exec(Re(Oe()))||[])[1]),De=/Boxee/i.test(Oe()),Ue=Ay.document||{},Ge=Ue.documentMode,Be,ze=/^(Moz|webkit|O|ms)(?=[A-Z])/,He=Ue.body&&Ue.body.style,je=!1,We=!1,Ke;if(He){for(var qe in He)if(Ke=ze.exec(qe),Ke){Be=Ke[0],Be=Be.substr(0,1).toUpperCase()+Be.substr(1);break}Be=Be||"WebkitOpacity"in He&&"webkit",je=!!("transition"in He||Be+"Transition"in He),We=!!("animation"in He||Be+"Animation"in He),!Fe||je&&We||(je=J.isString(Ue.body.style.webkitTransition),We=J.isString(Ue.body.style.webkitAnimation))}var Je=J.memoize(function Je(){var e=Ay.history&&Ay.history.pushState&&Ay.history.replaceState,t=Ay.history&&J.isFunction(Object.isFrozen)&&Object.isFrozen(Ay.history),n=Ay.history&&J.isFunction(Object.getOwnPropertyDescriptors)&&Object.getOwnPropertyDescriptors(Ay.history),n=n&&J.get(n,"pushState.writable",!0)&&J.get(n,"replaceState.writable",!0),i=!(Fe<4),r=Ie()===we;return!(!e||t||!n||!i||De||r)});function Ve(){var e="onhashchange"in Ay,t=!Ge||7<Ge,n=Ie()===we;return!(!e||!t||n)}function $e(){return/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Oe())}var b={supportsHistoryApi:Je,supportsHashChange:Ve,hasEvent:function(e){var t;return("input"!=e||9!=u)&&(J.isUndefined(Pe[e])&&(t=Ue.createElement("div"),Pe[e]="on"+e in t),Pe[e])},vendorPrefix:Be,transitions:je,animations:We,android:Fe,msie:u,msieDocumentMode:Ge,safari:/apple/i.test(navigator.vendor),sri:"integrity"in Ry.createElement("script"),addEventListener:J.isFunction(Ay.addEventListener),MutationObserver:Me(Ay.MutationObserver),isMinimumIEVersion:Le,isMobileUserAgent:J.memoize($e)},Ze=function(){return!isNaN(u)&&11!=u&&"CSS1Compat"!==Ry.compatMode},Ye=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+I.TOOLTIP_ARROW_SIZE),e.arrow.top=i-I.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*I.TOOLTIP_ARROW_SIZE),e.arrow.left=10+I.TOOLTIP_ARROW_SIZE):"right"==e.arrow.hbias?(e.left=t.left-r+t.width/2+(10+2*I.TOOLTIP_ARROW_SIZE),e.arrow.left=r-3*I.TOOLTIP_ARROW_SIZE-10):(e.left=t.left+t.width/2-r/2,e.arrow.left=r/2-I.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-I.TOOLTIP_ARROW_SIZE),e.arrow.left=r-I.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-I.TOOLTIP_ARROW_SIZE,e.arrow.border.top=e.arrow.top),e},Xe="prod",Qe="https://app.pendo.io",et="cdn.pendo.io",tt="agent/releases/2.204.1",nt="prod",it="2.204.1_prod",rt="2.204.1",ot=function(){return Ze()?it+"+quirksmode":it},at=function(){Xe=he("env")||Xe,Qe=he("server")||Qe,et=he("assetHost")||et,tt=he("assetPath")||tt,nt=he("designerEnv")||nt;var e=he("installType")===we;it=rt+"_"+(e?Xe+"_ext":Xe)};function st(){return-1!==Xe.indexOf("prod")}function ut(e,t){return!/prod/.test(e)||G(t)}var V=Ay.JSON,dt=(V&&"function"==typeof V.stringify&&'{"props":{}}'===V.stringify({props:{}})||(V={}),!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 V.stringify&&(V.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 V.parse&&(V.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))!==Ly?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),ct=String.prototype.trim;function lt(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 ct=ct||function(){return this.replace(dt,"")},ft={exports:{}},pt=(!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,S,z,I=new te(ee?new Uint8Array(this.a.buffer):this.a,this.c),H=[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(I.b(1,1,Q),I.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,K=h,R=new(ee?Uint32Array:Array)(W+K),L=new(ee?Uint32Array:Array)(316),O=new(ee?Uint8Array:Array)(19),k=E=0;k<W;k++)R[E++]=m[k];for(k=0;k<K;k++)R[E++]=v[k];if(!ee)for(k=0,_=O.length;k<_;++k)O[k]=0;for(k=T=0,_=R.length;k<_;k+=E){for(E=1;k+E<_&&R[k+E]===R[k];++E);if(C=E,0===R[k])if(C<3)for(;0<C--;)O[L[T++]=0]++;else for(;0<C;)(A=C-3<(A=C<138?C:138)&&A<C?C-3:A)<=10?(L[T++]=17,L[T++]=A-3,O[17]++):(L[T++]=18,L[T++]=A-11,O[18]++),C-=A;else if(L[T++]=R[k],O[R[k]]++,--C<3)for(;0<C--;)L[T++]=R[k],O[R[k]]++;else for(;0<C;)C-3<(A=C<6?C:6)&&A<C&&(A=C-3),L[T++]=16,L[T++]=A-3,O[16]++,C-=A}for(e=ee?L.subarray(0,T):L.slice(0,T),y=oe(O,7),S=0;S<19;S++)j[S]=y[H[S]];for(g=19;4<g&&0===j[g-1];g--);for(B=ae(y),I.b(p-257,5,Q),I.b(h-1,5,Q),I.b(g-4,4,Q),S=0;S<g;S++)I.b(j[S],3,Q);for(S=0,z=e.length;S<z;S++)if(b=e[S],I.b(B[b],y[b],Q),16<=b){switch(S++,b){case 16:w=2;break;case 17:w=3;break;case 18:w=7;break;default:throw"invalid code: "+b}I.b(e[S],w,Q)}for(var N,q,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],I.b(J[N],V[N],Q),256<N)I.b(f[++P],f[++P],Q),q=f[++P],I.b($[q],Z[q],Q),I.b(f[++P],f[++P],Q);else if(256===N)break;this.a=I.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=S.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,S=l,I=(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 S.NONE:t=0;break;case S.h:t=1;break;case S.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:S.NONE,FIXED:S.h,DYNAMIC:S.g});if(Object.keys)g=Object.keys(I);else for(m in g=[],v=0,I)g[v++]=m;for(v=0,y=g.length;v<y;++v)e("Zlib.Deflate.CompressionType."+(m=g[v]),I[m])}.call(ft.exports),ft.exports),ht=e(pt),gt={Deflate:ht.Zlib.Deflate},mt={base64Url:"base64url",binary:"binary"};function vt(e,t){t=t||mt.base64Url;e=lt(V.stringify(e)),e=new gt.Deflate(e).compress();return t===mt.base64Url?A.uint8ToBase64(e):e}var yt={exports:{}},bt=(!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(yt.exports),yt.exports),wt=e(bt),St={CRC32:wt.Zlib.CRC32},It=function(e,n){var i;return 200<=(n=n||0)?e:J.isArray(e)?J.map(e,function(e){return It(e,n+1)}):!J.isObject(e)||J.isDate(e)||J.isRegExp(e)||J.isElement(e)?J.isString(e)?J.escape(e):e:(i={},J.each(e,function(e,t){i[t]=It(e,n+1)}),i)},xt=function(e){e=lt(e);return A.uint8ToBase64(e)},Et=function(e){if(void 0!==e)return e=lt(e=J.isString(e)?e:V.stringify(e)),St.CRC32.calc(e,0,e.length)};function Ct(e){return e[Math.floor(Math.random()*e.length)]}function _t(e){for(var t="abcdefghijklmnopqrstuvwxyz",n="",i=(t+t.toUpperCase()+"1234567890").split(""),r=0;r<e;r++)n+=Ct(i);return n}var Tt=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 At(){return"undefined"!=typeof $A&&J.isFunction($A.get)&&J.isString($A.get("$Browser.formFactor"))}function Rt(e){var t="__symbol__";if("undefined"!=typeof Zone&&J.isFunction(Zone[t])){t=Ay[Zone[t](e)];if(J.isFunction(t))return t}return Ay[e]}function Lt(e){return J.isFunction(e.isFinite)?e.isFinite:e.Number&&J.isFunction(e.Number.isFinite)?e.Number.isFinite:function(e){return e!=Infinity&&e!=-Infinity&&!isNaN(e)}}var Ot=Lt(Ay);function kt(e){return"number"==typeof e&&Ot(e)&&Math.floor(e)===e}function Nt(e,t,n,i){(t=t||{}).maxRetries=kt(t.maxRetries)?t.maxRetries:10,t.delay=kt(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,Nt(e,t,o,a)},t.delay):(a||function(){})()}var Mt=function(e){e=e.match(/-?[\d,]+\.?([\d,]+)*/);return e?parseFloat(e[0].replace(/,/g,"")):null};function Pt(e){return J.isObject(e)&&J.isFunction(e.then)}var Ft=J.isFunction(Ay.decodeURIComponent)?Ay.decodeURIComponent:J.identity,Dt=J.isFunction(Ay.encodeURIComponent)?Ay.encodeURIComponent:J.identity,Bt={},zt,Ht=!0,jt=function(){return m.get("localStorageOnly")},Wt=function(){return!!m.get("disableCookies")};function Kt(e){Ht=e}var qt=function(e){var t=Wt()||jt()?Bt[e]:Ry.cookie;return(e=new RegExp("(^|; )"+e+"=([^;]*)").exec(t))?Ft(e[2]):null},Jt=function(e,t,n,i){var r;Ht&&((r=new Date).setTime(r.getTime()+n),t=e+"="+Dt(t)+(n?";expires="+r.toUTCString():"")+"; path=/"+("https:"===Ry.location.protocol||i?";secure":"")+"; SameSite=Strict",zt&&(t+=";domain="+zt),Wt()||jt()?Bt[e]=t:Ry.cookie=t)};function Vt(e,t){var n,i;e?J.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))&&(zt="."+e):zt=e}function $t(){return zt}function Zt(e){$t()?Jt(e,""):Ry.cookie=e+"=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT"}var Yt=function(e){return"_pendo_"+e+"."+I.apiKey},Xt=function(e){return qt(Yt(e))},Qt=864e7,en=function(e,t,n,i){n=n||Qt,Jt(Yt(e),t,n,i)},c=function(){function u(){return!Wt()&&!$t()&&d("localStorage")}var d=J.memoize(function(e){try{var t=Ay[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:Yt(e);if(u())return localStorage.removeItem(t);Zt(t)}return{read:function(e,t){var n;return u()?(n=t?e:Yt(e),null===(n=function(e){if(null===e)return null;try{var t=V.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?qt:Xt)(e)},write:function(e,t,n,i,r){if(c(d),u())try{var o=i?e:Yt(e);return localStorage.setItem(o,(a=t,(s=n)?(s=(new Date).getTime()+s,V.stringify({ttl:s,value:a})):a)),void c(d)}catch(Ut){}var a,s;if(!i)return en(e,t,n,r);Jt(e,t,n,r)},clear:i}}(),tn=Ay.Promise,tn=function(e){var t=Ay.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=Ly,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}),nn=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,J.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}(),$;function rn(e){var n,i=$.defer(),r=J.isArray(e)?[]:{},o=J.size(e);return o?(n=!1,J.each(e,function(e,t){$.resolve(e).then(function(e){r[t]=e,0!=--o||n||i.resolve(r)},function(e){n||(n=!0,i.reject(e))})}),i.promise):$.resolve(e)}function on(e,t){return function(){try{return t.apply(e,arguments)}catch(Ut){}}}function an(e){return{getItem:on(e,e.getItem),setItem:on(e,e.setItem),removeItem:on(e,e.removeItem)}}function sn(e){var t=J.noop,t={getItem:t,setItem:t,removeItem:t};try{var n=e();return n?an(n):t}catch(Ut){return t}}ut(Xe,fe())&&b.isMinimumIEVersion(11)?$={all:function(e){return J.isArray(e)?tn.all.apply(tn,arguments):rn(e)},reject:function(){return tn.reject.apply(tn,arguments)},resolve:function(){return tn.resolve.apply(tn,arguments)},defer:function(){var n={};return n.promise=new tn(function(e,t){n.resolve=e,n.reject=t}),n}}:($=nn,$.all=rn,$.reject=function(e){var t=$.defer();return t.reject(e),t.promise},$.resolve=function(e){var t=$.defer();return t.resolve(e),t.promise});var un=sn(function(){return Ay.localStorage}),dn=sn(function(){return Ay.sessionStorage});function cn(n){var e=J.partial,t=J.compose,i=J.extend,r=J.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(J.isFunction(t)?t():t).getItem(e)}function h(e,t,n){(J.isFunction(n)?n():n).setItem(e,t)}function g(e,t){var n=p(e,t);return n||h(e,n=_t(16),t),n}function m(){return dn}function v(){dn.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===Ly})},setParentTabId:function(e){h(s,e,m)},newTabId:function(){var e=_t(16);return h(a,e,m),e},getTabId:l,detectClonedSession:function(e){var t=dn.getItem(u)||"";-1===t.indexOf(e)&&(t+="-"+e),dn.setItem(u,t)},isClonedSession:function(e){return y(),c=setTimeout(v,1e4),-1===(dn.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=cn(Ay);function fn(){var i=this._handlers={};return this.on=function(e,t){var n;return(J.isString(e)||J.isFunction(t))&&(n=(n=i[e])||(i[e]=[]),J.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 J.isFunction(t)?(n=J.indexOf(e,t),e&&0<=n&&e.splice(n,1)):e&&t===Ly&&(e.length=0),this},this.trigger=function(e){var t=i[e]?i[e].slice():[],n=J.toArray(arguments).slice(1);return J.map(t,function(e){return e.apply(I,n)})},this.triggerCancelable=function(e,t){e=i[e]?i[e].slice():[];return J.map(e,function(e){if(!t.cancel)return e.apply(I,[t])})},this.triggerAsync=function(){var e=J.map(this.trigger.apply(this,arguments),function(e){return!1===e?$.reject():e});return $.all(e)},this}fn.clear=function(t){t&&J.each(J.keys(t._handlers),function(e){t.off(e),delete t._handlers[e]})};var y=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=fn.call({});function s(e,t){e={type:e,ts:v()};return x(t)&&J.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=J.findWhere(o,{name:t}),n=J.toArray(arguments).slice(1),i={};return J.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,J.each(J.values(r),function(e){a[e]={on:J.partial(a.on,e),one:J.partial(a.one,e),off:J.partial(a.off,e)}}),J.each(o,function(e){e=e.name,a[e]={on:J.partial(a.on,e),one:J.partial(a.one,e),off:J.partial(a.off,e),trigger:J.partial(c,e)}}),a}();function pn(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),J.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),J.each(r,function(e){e({type:t,payload:n},s.state)}),e;throw new Error("action "+t+" not found")},subscribe:J.partial(t,i),subscribeAction:J.partial(t,r),registerModule:function p(n,e){J.isString(n)&&(n=[n]);var t=d(s.state,e,n);J.extend(s.getters,f(e,t,s,n));J.extend(o,c(e,t,n));J.extend(a,l(e,t,s,n));J.each(e.modules,function(e,t){p(n.concat([t]),e)})},getters:{}};return e&&s.registerModule([],e),s;function t(e,t){return J.isFunction(t)?(e.push(t),n=e,i=t,function(){var e=n.indexOf(i);0<=e&&n.splice(e,1)}):J.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 J.each(n,function(e){i[e]||(i[e]={}),i=i[e]}),J.extend(i,ye(t.state||{}))}function c(e,n,i){var r={};return J.each(e.mutations,function(e,t){r[u(i,t)]=J.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 J.reduce(e,function(e,t,n){return 0===n.indexOf(i)&&(e[n.replace(i,"")]=t),e},{})}(i.getters,r),rootGetters:i.getters};return J.each(e.actions,function(e,t){n[u(r,t)]=J.partial(e,o)}),n}function f(e,n,i,r){var o={},a={};return J.each(e.getters,function(e,t){a[t]=o[u(r,t)]=function(){return e(n,a,i.state,i.getters)}}),o}}function hn(){return pn()}var Z=hn(),gn=(Z.subscribe(function(e,t){}),function(e,t){return(gn=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)});function mn(e,t){function n(){this.constructor=e}gn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var vn=function(){return(vn=Object.assign||function vn(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)},yn=function(){function e(){this.listeners={}}return e.prototype.addEventListener=function(e,t){var n=this.listeners[e];n||(this.listeners[e]=n=[]),J.findIndex(n,function(e){return t===e})<0&&n.push(t)},e.prototype.removeEventListener=function(e,t){var n,i=this.listeners[e];i&&0<=(n=J.findIndex(i,function(e){return t===e}))&&(i.splice(n,1),i.length||delete this.listeners[e])},e.prototype.dispatchEvent=function(t){var e=this.listeners[t.type];e&&J.each(e,function(e){e(t)})},e}(),bn=function(){function e(e,t,n){this.type="log",this.logged=!1,this.level=e,this.message=t,this.attributes=n}return e.prototype.toString=function(){var e=this.message;return this.error&&e!==this.error.message&&(e="".concat(e,":").concat(this.error.message)),this.attributes&&(e+=": ".concat(J.map(this.attributes,function(e,t){return"".concat(t,"=").concat(e)}))),e},e.prototype.hashCode=function(){return this.toString()},e}(),wn,Sn=(!function(e){e.Debug="debug",e.Info="info",e.Warn="warn",e.Error="error",e.Critical="critical"}(wn=wn||{}),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mn(t,e),t.prototype.write=function(e,t,n){this.dispatchEvent(new bn(t,e,n))},t.prototype.writeError=function(e,t,n){J.isString(e)?r={message:i=e}:i=(r=e).message,n&&n.error&&(r=n.error,delete n.error);var i,r,e=new bn(t,i,n);e.error=r,this.dispatchEvent(e)},t.prototype.debug=function(e,t){this.write(e,wn.Debug,t)},t.prototype.info=function(e,t){this.write(e,wn.Info,t)},t.prototype.warn=function(e,t){this.writeError(e,wn.Warn,t)},t.prototype.error=function(e,t){this.writeError(e,wn.Error,t)},t.prototype.critical=function(e,t){this.writeError(e,wn.Critical,t)},t}(yn)),Y=new Sn,In="_PENDO_T_",xn=11,En=function(e){return(e=void 0===e?"":e)+_t(xn)};function Cn(e){return e&&"string"==typeof e&&0===ct.call(e).length}var _n=function(e){return x(e)&&""!==e&&e!==kn&&"boolean"!=typeof e&&"object"!=typeof e&&!Cn(e)},Tn=function(e){return!(!(e=void 0===e?X():e)||"number"==typeof e)&&e.substring(0,In.length)===In},An=function(){return!m.get("disablePersistence")},Rn=function(e){J.each(e=e||["visitorId","accountId"],function(e){Zt(Yt(e)),c.clear(e)})},Ln="VISITOR-UNIQUE-ID",On=function(e){return Ln===e},kn="::",Nn=function(e){return new RegExp(kn).test(e)},Mn=function(e){return e.old_visitor_id!==e.visitor_id||e.old_account_id!==e.account_id},Pn=function(e,t){var n={old_visitor_id:X(),old_account_id:Dn()};_n(e)?(Fn(e),Un(t),n.visitor_id=X(),n.account_id=Dn(),Mn(n)&&y.identify.trigger(n)):Y.info("Invalid visitor id "+e)},X=function(){var e,t=En(In);return _n(I.visitorId)||(An()?(e=c.read("visitorId"),_n(e)||c.write("visitorId",e=t)):e=t,I.visitorId=e),I.visitorId},Fn=function(e){_n(e)?(I.visitorId=""+e,An()&&c.write("visitorId",I.visitorId,Qt,!1,!0)):Y.info("Invalid visitor id "+e)},Dn=function(){var e;return!_n(I.accountId)&&An()&&(e=c.read("accountId"),I.accountId=e),I.accountId},Un=function(e){J.isUndefined(e)?Y.info("No account id provided"):_n(e)?(I.accountId=""+e,An()&&c.write("accountId",I.accountId,null,!1,!0)):(Gn(),Y.info("Invalid account id: "+e+". Account cleared"))};function Gn(){delete I.accountId;var e=m.getLocalConfig();delete e.account,m.setLocalConfig(e),Z.commit("metadata/clearAccount"),An()&&c.clear("accountId")}function Bn(){var e={old_visitor_id:X(),old_account_id:Dn(),wasCleared:!0};Rn(),delete I.visitorId,delete I.accountId,X(),J.extend(e,{visitor_id:X(),account_id:Dn()}),y.identify.trigger(e)}function zn(e){e=e.data[0];return J.get(e,"wasCleared")}var Hn=function(e,t){return t=!!t,function(){try{return e.apply(this,arguments)}catch(Ut){t||Y.critical(Ut)}}};function jn(n){return function Wn(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 Wn=function(e){var t=Ay.URL;return"function"==typeof t&&/native/.test(t)?t:e(Ry)}(jn);function Kn(e){return e&&J.isFunction(e.composedPath)}function qn(e){if(Kn(e))try{return e.composedPath()}catch(Ut){return e.path}return null}function Jn(e){return e.shadowRoot}function Vn(e,t){return"undefined"!=typeof(t=t||Ay).ShadowRoot&&e instanceof t.ShadowRoot&&e.host}function $n(e,t){return Vn(e,t)?e.host:e.parentNode}var w=function(){function u(e){return!!e&&-1<e.indexOf(w.PSEUDO_ELEMENT)}function d(e){return J.reduce(e,function(e,t){return t.value===w.PSEUDO_SAFE?e+w.PSEUDO_ELEMENT:e+t.value},"")}return{PSEUDO_ELEMENT:"::shadow",PSEUDO_SAFE:":shadow",PSEUDO_REGEX:/::shadow/g,getComposedPath:qn,getShadowRoot:Jn,isElementShadowRoot:Vn,getParent:$n,isShadowSelector:u,wrapSizzle:function(i){i.intercept(function(a,e,t,n,i){var r,o;return u(e)?J.isFunction(Ry.documentElement.attachShadow)?(o=a,r=(r=e).replace(w.PSEUDO_REGEX,w.PSEUDO_SAFE),r=J.map(o.tokenize(r),d),J.reduce(r,function(e,t){return e.concat(s(t))},[])):a(e.replace(w.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(w.PSEUDO_ELEMENT)).splice(0,1)[0],shadowCss:o.join(w.PSEUDO_ELEMENT)}).baseCss,t),J.reduce(o,function(e,t){return w.getShadowRoot(t)?e.concat(s(r.shadowCss,w.getShadowRoot(t),n,i)):e},[])):a(e,t,n,i)}}),i.intercept(function(e,t,n){return!w.isElementShadowRoot(t)&&(u(n)?0<i(n,Ry,null,[t]).length:e(t,n))},"matchesSelector")}}}(),Zn={exports:{}},Yn=(!function(F){var e,p,w,o,D,h,U,G,S,u,d,I,x,n,E,g,i,r,m,a=Ay,C="sizzle"+ +new Date,c=a.document,_=0,B=0,z=O(),H=O(),j=O(),v=O(),W=function(e,t){return e===t&&(d=!0),0},K={}.hasOwnProperty,t=[],q=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(){I()},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 L(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&&(I(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 O(){var n=[];function i(e,t){return n.push(e+" ")>w.cacheLength&&delete i[n.shift()],i[e+" "]=t}return i}function k(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 k(function(o){return o=+o,k(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=L.support={},D=L.isXML=function(e){var t=e.namespaceURI,e=(e.ownerDocument||e).documentElement;return!re.test(t||e&&e.nodeName||"HTML")},I=L.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},L.matches=function(e,t){return L(e,null,null,t)},L.matchesSelector=function(e,t){if(I(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<L(t,x,null,[e]).length},L.contains=function(e,t){return(e.ownerDocument||e)!=x&&I(e),m(e,t)},L.attr=function(e,t){(e.ownerDocument||e)!=x&&I(e);var n=w.attrHandle[t.toLowerCase()],n=n&&K.call(w.attrHandle,t.toLowerCase())?n(e,t,!E):Ly;return n!==Ly?n:p.attributes||!E?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},L.escape=function(e){return(e+"").replace(ce,le)},L.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},L.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=L.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=L.selectors={cacheLength:50,createPseudo:k,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]||L.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]&&L.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=z[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&z(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=L.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()]||L.error("unsupported pseudo: "+e);return a[C]?a(o):1<a.length?(t=[e,e,"",o],w.setFilters.hasOwnProperty(e.toLowerCase())?k(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:k(function(e){var i=[],r=[],s=U(e.replace(R,"$1"));return s[C]?k(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:k(function(t){return function(e){return 0<L(t,e).length}}),contains:k(function(t){return t=t.replace(y,b),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:k(function(n){return ie.test(n||"")||L.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 Se(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 Ie(p,h,g,m,v,e){return m&&!m[C]&&(m=Ie(m)),v&&!v[C]&&(v=Ie(v,e)),k(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++)L(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),l=!p||!e&&h?c:Se(c,s,p,n,i),f=g?v||(e?p:d||m)?[]:t:l;if(g&&g(l,f,n,i),m)for(r=Se(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=Se(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=L.tokenize=function(e,t){var n,i,r,o,a,s,u,d=H[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?L.error(e):H(e,s).slice(0)},U=L.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!==S)||((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 Ie(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=S,p=e||b&&w.find.TAG("*",r),h=_+=null==f?1:Math.random()||.1,g=p.length;for(r&&(S=t==x||t||r);d!==g&&null!=(o=p[d]);d++){if(b&&o){for(a=0,t||o.ownerDocument==x||(I(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]=q.call(i));l=Se(l)}T.apply(i,l),r&&!e&&0<l.length&&1<u+v.length&&L.uniqueSort(i)}return r&&(_=h,S=f),c},y?k(i):i))).selector=e}return a},G=L.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,I(),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;L.noConflict=function(){return a.Sizzle===L&&(a.Sizzle=xe),L},F.exports?F.exports=L:a.Sizzle=L}(Zn),Zn.exports),Xn=e(Yn);function Qn(e){var n=J.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]=J.wrap(n[t],e)},n.reset(),n}var d=Qn(Xn);function Q(e,t){var n,i=this;if(e&&e instanceof Q)return e;if(!(i instanceof Q))return new Q(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=J.toArray(r.childNodes)}else if(J.isString(e)){t instanceof Q&&(t=0<t.length?t[0]:null);try{n=d(e,t)}catch(Ut){n=[]}}else n=[e];else n=[];return J.each(n,function(e,t){i[t]=e}),i.context=t,i.length=n.length,i}function ei(){this.ownerKey="_pendo_"+_t(8)}J.extend(ei.prototype,{cache:function(e){var t;return J.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===Ly?this.cache(e):e[this.ownerKey]&&e[this.ownerKey][t]},remove:function(e,t){var n=this.cache(e);delete n[t],t!==Ly&&!J.isEmpty(n)||(e[this.ownerKey]=Ly)}});var ti=new ei,ni=1,ii=2,ri=3;function oi(e){return J.isNumber(e.eventPhase)&&e.eventPhase===ni}function ai(e){return J.isNumber(e.eventPhase)&&e.eventPhase===ii}function ee(e,t,n,i){return!(e&&t&&n)||e===Ay&&"error"===t?J.noop:(i=i||!1,e.addEventListener?e.addEventListener(t,n,i):e.attachEvent("on"+t,n),function(){si(e,t,n,i)})}function si(e,t,n,i){e&&t&&n&&(i=i||!1,e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent("on"+t,n))}var ui=function(e){var t=w.getComposedPath(e);return t&&0<t.length?t[0]:e.target||e.srcElement},di={add:function(t,e){var n=ti.get(t),i=J.noop,r=(n.handle||(n.handle=function(e){di.dispatch(t,e)}),e.id=J.uniqueId(),e.capture?"captureEvents":"bubbleEvents"),r=n[r]=n[r]||{},r=r[e.type]=r[e.type]||[];return r.length||(i=ee(t,e.type,n.handle,e.capture)),r.push(e),i},dispatch:function(i,r){var e,t,o;i&&(e=(ti.get(i,"captureEvents")||{})[r.type]||[],t=(ti.get(i,"bubbleEvents")||{})[r.type]||[],(t=e.concat(t)).length)&&!(o=ti.get(r)).ignore&&(o.handled=o.handled||{},J.each(t.slice(),function(e){var t=!!e.capture===oi(r),n=ai(r),t=!t&&!n;if(!(ui(r)!==i&&t||o.handled[e.id])){o.handled[e.id]=!0;try{(!x(e.selector)||0<Q(ui(r)).closest(e.selector).length)&&e.handler.call(i,r)}catch(Ut){Y.error(Ut)}}}))},remove:function(e,t,n,i){var r=ti.get(e);if(r){if(J.isFunction(n)){var o=i?r.captureEvents:r.bubbleEvents;if(!o)return;var a=o[t];if(!a)return;var s=J.findIndex(a,function(e){return e.handler===n});0<=s&&a.splice(s,1),a.length||(delete o[t],si(e,t,r.handle,i))}else n===Ly&&(r.captureEvents&&r.captureEvents[t]&&(delete r.captureEvents[t],si(e,t,r.handle,!0)),r.bubbleEvents)&&r.bubbleEvents[t]&&(delete r.bubbleEvents[t],si(e,t,r.handle));J.isEmpty(r.captureEvents)&&J.isEmpty(r.bubbleEvents)&&(ti.remove(e,"captureEvents"),ti.remove(e,"bubbleEvents"),ti.remove(e,"handle"))}},trigger:function(e){var t=ti.get(e);if(!t.pendoStopped)if(e.bubbles){var n=ui(e);if(n){for(var i,r=n,o=[];r;)o.unshift(r),r=w.isElementShadowRoot(r)?r.host:r.parentNode;if(o.unshift(Ay),oi(e)){for(i=0;i<o.length-1&&!t.pendoStopped;++i)di.dispatch(o[i],e);(e=di.clone(e)).eventPhase=ii}for(e.eventPhase!==ii||t.pendoStopped||(di.dispatch(n,e),(e=di.clone(e)).eventPhase=ri),i=o.length-(null==e.eventPhase?1:2);0<=i&&!t.pendoStopped;--i)di.dispatch(o[i],e)}}else di.dispatch(ui(e),e)},clone:function(e){var t=J.pick(e,["type","target","srcElement","altKey","ctrlKey","shiftKey","metaKey","button","which","eventPhase","bubbles",ti.ownerKey]),e=w.getComposedPath(e);return e&&(t.composedPath=J.constant(e)),t},$:{on:function(e,n,i,r){return J.isFunction(n)&&(r=i,i=n,n=null),e=e.split(" "),this.each(function(t){J.each(e,function(e){di.add(t,{type:e,selector:n,handler:i,capture:r})})})}}},ci=function(){function r(){return Ay.XMLHttpRequest||ActiveXObject}function i(e){var t=$.defer(),n=new(r())("MSXML2.XMLHTTP.3.0");return n.open(e.method||"GET",e.url,!e.sync),J.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=V.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 J.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=V.stringify(t),n)},urlFor:function(e,t,n){if(J.isArray(t))i=t;else{if(!J.isObject(t))return e||"";i=J.keys(t)}var i=J.map(i,function(e){return J.isArray(t)?Dt(e):Dt(e)+"="+Dt(t[e])}).join("&"),r=(e=e.split("#",2))[0],o=J.contains(r,"?");return n=void 0!==n?n:e[1],[encodeURI(r),i?(o?"&":"?")+i:"",n?"#"+n:""].join("")},supported:function(){return void 0!==r()}})}(),li=function(){return Ay&&Ay.process&&Ay.process.versions&&Ay.process.versions.electron},fi=function(){return Ay.process.resourcesPath||""},pi=function(){return Ay.process.env.PWD||""},hi=function(){return Ay.process.env.HOME||""},gi=function(){return Ay.process.env.npm_package_name||""},mi=function(){return m.get("annotateUrl")||Si()||m.get("sanitizeUrl")||m.get(ki)||m.get("xhrWhitelist")},vi=function(){return Si()?{href:wi(location.href),origin:location.origin}:Z.getters["location/url"]()},yi=function(){return new Wn(Ay.location.href)},bi=function(){var e,t,n,i;return mi()?(e=yi(),Si()&&(e.href=wi(e.href)),li()?(t=l.electronResourcesPath(),n=l.electronUserDirectory(),i=l.electronAppName(),("https://"+e.href.replace(t,i)).replace(e.origin+n,i).replace(l.electronUserHomeDirectory(),"").replace("file:///","")):Mi(e.href)):Z.getters["location/href"]()},wi=function(e){return e.match(/(.+?)(?:#|$)/)[1]},Si=function(){return!0===m.get("ignoreHashRouting")},Ii,xi=500;function Ei(){return J.isUndefined(Ii)&&function e(){Ri(),Ii=setTimeout(e,xi)}(),function(){clearTimeout(Ii)}}var Ci=function(e){var t;try{t=bi()}catch(Ut){}return t},_i=[],Ti=!1,Ai=null;function Ri(){var e=Ci();Ai!=e&&(Ai=e,J.map(_i,function(e){e(Ci())}))}var Li=function(e){var n,i=[];return Y.info("Initializing Pendo URL Watcher"),Ti||(b.supportsHistoryApi()&&(n=Ay.history,J.each(["pushState","replaceState"],function(e){var t=n[e];n[e]=J.wrap(n[e],function(e){var t=e.apply(n,J.toArray(arguments).slice(1));return Rt("setTimeout")(Ri,0),t}),i.push(function(){n[e]=t})}),i.push(ee(Ay,"popstate",Ri))),b.supportsHashChange()&&i.push(ee(Ay,"hashchange",Ri)),b.supportsHistoryApi()&&b.supportsHashChange()||i.push(Ei()),Ti=!0),_i.push(e),function(){J.each(i,function(e){e()}),_i.length=0,Ti=!1}},Oi=function(){_i=[]},ki="queryStringWhitelist";function Ni(e){var t=m.get("sanitizeUrl");return J.isFunction(t)?t(e):e}function Mi(e){e=e||vi().href;var t=m.get("annotateUrl");if(t)if(J.isFunction(t))try{var n,i,r,o=t();return o&&(J.isObject(o)||J.isArray(o))?(n=o.exclude,i=o.include,r=o.fragment,delete o.fragment,(n&&J.isArray(n)||i&&(J.isArray(i)||J.isObject(i)))&&(n&&(e=Fi(e,null,n,!0)),o=i||{}),ci.urlFor(e,o,r)):e}catch(Ut){Y.error("customer-provided `annotateUrl` function threw an exception",{error:Ut})}else Y.error("customer-provided `annotateUrl` must be of type: function");return e}function Pi(e){var t,n;return!e||(t=e.indexOf("?"))<0?"":(n=e.indexOf("#"))<0?e.substring(t):n<t?"":e.substring(t,n)}function Fi(e,t,n,i){e=e||Ci(),t=t||Pi(e).substring(1),o=(r=e.indexOf(t))+t.length;var r=e.substring(0,r),o=e.substring(o);return(r=(t=J.isArray(n)?Ui(t,n,i):t).length||"?"!==r.charAt(r.length-1)?r:r.substr(0,r.length-1))+t+o}var Di=function(e,t,n){n=n||m.get(ki);return Ni(Fi(e,t,n=J.isFunction(n)?n():n,!1))},Ui=function(e,t,n){return n&&J.contains(t,"*")?"":(e=Gi(e),e=n?J.omit(e,t):J.pick(e,t),Bi(e))},Gi=function(e){e=e.split("&");return J.reduce(e,function(e,t){return e[(t=t.split("="))[0]]=t[1],e},{})},Bi=function(e){return J.reduce(e,function(e,t,n){return t&&(n+="="+t),e&&(e+="&"),e+n},"")},l={watch:Li,get:Ci,externalizeURL:Di,startPoller:Ei,getWindowLocation:vi,clear:Oi,isElectron:li,electronUserDirectory:pi,electronAppName:gi,electronUserHomeDirectory:hi,electronResourcesPath:fi},zi;function Hi(){var e=m.getLocalConfig("dataHost");return e||((e=m.getHostedConfig("dataHost"))?"https://"+e:Qe)}function ji(){zi=Hi()}function Wi(e){e.HOST=zi}function Ki(){var e=m.getLocalConfig("contentHost");return e||((e=m.getHostedConfig("contentHost"))?"https://"+e:"https://"+et)}function qi(e){return Ki()+"/"+tt+"/"+e}var Ji=3,Vi=1,$i=9,Zi=11,Yi=4;function Xi(e){return e&&e.nodeType===Vi}function te(e){if(Xi(e))try{return Ay.getComputedStyle?getComputedStyle(e):e.currentStyle||void 0}catch(Ut){}}function Qi(e,t){var n;return!(!e||!J.isFunction(e.getPropertyValue))&&(n=[e.getPropertyValue("transform")],void 0!==t&&J.isString(t)&&n.push(e.getPropertyValue("-"+t.toLowerCase()+"-transform")),J.any(n,function(e){return e&&"none"!==e}))}function er(e){var t=(e=e||Ay).document.documentElement;return e.pageYOffset||t.scrollTop}function tr(e){var t=(e=e||Ay).document.documentElement;return e.pageXOffset||t.scrollLeft}function nr(e){return J.isNumber(e)?e:0}function ir(e,t){e=e.offsetParent;return t=t||Ay,e=e&&e.parentElement===t.document.documentElement&&!or(e)?null:e}function rr(e){return Qi(te(e),Be)&&isNaN(u)}function or(e){if(e)return(e=te(e))&&(J.contains(["relative","absolute","fixed"],e.position)||Qi(e,Be))}function ar(e,t,n){if(!e)return{width:0,height:0};n=n||Ay;var t=or(t)?t:ir(t,n),i=t?sr(t):{top:0,left:0},e=sr(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+=nr(t.scrollTop),i.left+=nr(t.scrollLeft)),i.top-=nr(t.clientTop),i.left-=nr(t.clientLeft)):(i.top+=er(n),i.left+=tr(n)),i.bottom=i.top+i.height,i.right=i.left+i.width,i}function sr(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 ur(){var e=m.get("pendoCore");return void 0===e||e}var dr=ur(),cr=function(e,t,n){e=zi+"/data/"+e+"/"+t,t=J.map(n,function(e,t){return t+"="+e});return 0<t.length&&(e+="?"+t.join("&")),e};function lr(){return J.compact([I.apiKey].concat(I.additionalApiKeys))}var fr=function(e){return e+="v"+it,hr(cr("log.gif",I.apiKey,{msg:e,version:it}))};function pr(e){try{var t=zi+"/data/errorlog?apiKey="+I.apiKey,n={error:e,version:"v"+it,visitorId:X()},i=gr.supported()?fetch(t,{method:"POST",keepalive:!0,body:V.stringify(n),headers:{"Content-Type":"application/json"}}):ci.postJSON(t,n);return i.then(function(){Y.info("successfully wrote error")},function(e){Y.info("error writing error:"+e)})}catch(Ut){return Y.info("Failed to write error to server using POST endpoint: "+Ut),fr("Failed to write error to server using POST endpoint: "+Ut)}}function hr(e){var t,n;return wr()?(t=$.defer(),ee(n=new Image,"load",t.resolve),ee(n,"error",t.reject),n.src=e,t.promise):$.resolve()}function gr(e,t){t=J.extend({},{method:"GET",keepalive:!0},t=void 0===t?{}:t);return fetch(e,t)}function mr(e,t){return navigator.sendBeacon(e,t)}gr.supported=function(){return J.isFunction(Ay.fetch)&&"undefined"!=typeof Request&&"keepalive"in new Request("")},mr.supported=function(){return J.isFunction(navigator.sendBeacon)};var vr=!1,yr=function(){var e=wr();return vr=!0,e&&y["transmit:locked"].trigger(),"Pendo Agent locked. No more events will be written."},br=function(){var e=!wr();return vr=!1,e&&y["transmit:unlocked"].trigger(),"Pendo Agent unlocked. Events will be written."},wr=function(){return!vr&&dr},Sr=function(e,t){try{return new RegExp("(\\s|^)"+t+"(\\s|$)").test(Cr(e))}catch(Ut){return!1}},Ir=function(e,t){try{var n;Sr(e,t)||(n=ct.call(Cr(e))+" "+t,Er(e,n))}catch(Ut){}},xr=function(e,t){try{var n,i;Sr(e,t)&&(n=new RegExp("(\\s|^)"+t+"(\\s|$)"),i=Cr(e).replace(n," "),Er(e,i))}catch(Ut){}},Er=function(e,t){J.isString(e.className)?e.className=t:e.setAttribute("class",t)},Cr=function(e){try{var t=e.className;return(J.isString(t)||!x(t)?t:e.getAttribute("class"))||""}catch(Ut){return""}},_r=function(e){e=e.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});return e=e.substr(0,1).toLowerCase()+e.substr(1)},Tr={columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},Ar=function(e,t){t=Rr(t);Lr(e,t)},Rr=function(e){if(J.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},Lr=function(o,e){J.each(e,function(e,t){if(""!==(t=ct.call(t))){var n=_r(t),i=(!J.isNumber(e)||isNaN(e)||Tr[n]?J.isString(e)||(e=""+e):e+="px",e.indexOf("!important"));if(-1!==i)try{var r=ct.call(r.substring(0,i));o.style.setProperty(t,r,"important")}catch(Ut){o.style.cssText+=";"+t+":"+e}else try{o.style[n]=ct.call(e)}catch(Ut){Y.info("failed to set style: "+t+" with value "+e)}}})},Or=function(){return Ze()?{width:Ry.documentElement.offsetWidth||0,height:Ry.documentElement.offsetHeight||0}:{width:Ay.innerWidth||Ry.documentElement.clientWidth,height:Ay.innerHeight||Ry.documentElement.clientHeight}},kr=function(e){var t=Or(),n=er(),i=tr();return e.top>=n&&e.left>=i&&e.top+e.height<=n+t.height&&e.left+e.width<=i+t.width};function Nr(t){return J.each(["left","top","width","height"],function(e){t[e]=Math.round(t[e])}),t}function ne(e){var t;return Kr(e)?((t=sr(e)).fixed=!0,Nr(t)):Nr(ar(e,Gr()))}var Mr=function(e,t){var n;"string"==typeof e?(n=Q(e),J.map(n,function(e){xr(e,t)})):xr(e,t)},Pr=function(e,t){var n;"string"==typeof e?(n=Q(e),J.map(n,function(e){Ir(e,t)})):Ir(e,t)},Fr=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},Dr=J.compose(function(e){return Array.prototype.slice.call(e)},function(e,t){try{return d(e,t)}catch(Ut){return fr("error using sizzle: "+Ut),t.getElementsByTagName(e)}}),Ur=function(e,t){try{return t.children.length+t.offsetHeight+t.offsetWidth-(e.children.length+e.offsetHeight+e.offsetWidth)}catch(Ut){return Y.info("error interrogating body elements: "+Ut),fr("error picking best body:"+Ut),0}},Gr=function(e){e=e||Ry;try{var t=Dr("body",e);return t&&1<t.length?(t.sort(Ur),t[0]||e.body):e.body&&e.body.tagName&&"body"!==e.body.tagName.toLowerCase()?e.documentElement:e.body}catch(Ut){return fr("Error getting body element: "+Ut),e.body}};function Br(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 zr(e){return e&&e.parentNode?Br(e.parentNode,e):[]}function Hr(e){if(d.contains(Ry,e))return!0;for(;e&&e.parentNode||w.isElementShadowRoot(e);)e=w.getParent(e);return e===Ry}var ie=function(e){var t=Gr();if(null!==e)return e===Ry||e===Ay?((t={left:Ay.pageXOffset||t.scrollLeft,top:Ay.pageYOffset||t.scrollTop,width:Ay.innerWidth,height:Ay.innerHeight}).right=t.left+t.width,t.bottom=t.top+t.height,t):((t=ne(e)).right=t.left+t.width,t.bottom=t.top+t.height,t)},jr=function(e,t){return!(e.top>=t.bottom||e.bottom<=t.top||e.left>=t.right||e.right<=t.left)};function Wr(e){for(var t=e&&e.parentNode;t;){if(Qi(te(t),Be))return 1;t=t.parentNode}}function Kr(e){for(var t,n=e;n;){if(!(t=te(n)))return;if("fixed"===t.position)return!isNaN(u)||!Wr(n);n=n.parentNode}}var qr=function(e,t,n){t=t||/(auto|scroll|hidden)/;var i,r=(n=n||Ay).document.documentElement;if(Hr(e))for(i=e;i;)if(i.assignedSlot&&(i=i.assignedSlot),w.isElementShadowRoot(i))i=i.host;else{if(i===r)return null;if(!(o=te(i)))return null;var o,a=o.position;if(i!==e&&t.test(o.overflow+o.overflowY+o.overflowX))return i.parentNode!==r||(o=te(r))&&!J.contains([o.overflow,o.overflowY,o.overflowX],"visible")?i:null;if("absolute"===a||"fixed"===a&&Wr(i))i=ir(i);else{if("fixed"===a)return null;i=i.parentNode}}return null};function Jr(e,t){e=te(e);return t=t||/(auto|scroll|hidden)/,!e||"inline"===e.display?f.NONE:t.test(e.overflowY)&&t.test(e.overflowX)?f.BOTH:t.test(e.overflowY)?f.Y:t.test(e.overflowX)?f.X:t.test(e.overflow)?f.BOTH:f.NONE}var f={X:"x",Y:"y",BOTH:"both",NONE:"none"};function Vr(e){return e&&e.nodeName&&"body"===e.nodeName.toLowerCase()&&Hr(e)}function $r(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 Zr(e){var e=sr(e),t=Or();return J.extend(t,{top:0,left:0,bottom:t.height,right:t.width}),jr(t,e)}function Yr(e){var t=J.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 Xr(e){if(e){if(J.isFunction(e.getRootNode))return e.getRootNode();if(null!=e.ownerDocument)return e.ownerDocument}return Ry}function Qr(e,t,n){var i=ie(t),t=Jr(t,n);if(t!==f.BOTH||jr(e,i)){if(t===f.Y){if(e.top>=i.bottom)return;if(e.bottom<=i.top)return}if(t===f.X){if(e.left>=i.right)return;if(e.right<=i.left)return}return 1}}function eo(e){if(e){if(Vr(e))return 1;var t=ie(e);if(0!==t.width&&0!==t.height){var n=te(e);if(!n||"hidden"!==n.visibility){for(var i=e;i&&n;){if("none"===n.display)return;if(parseFloat(n.opacity)<=0)return;n=te(i=i.parentNode)}return 1}}}}function to(e,t){if(!eo(e))return!1;if(!Vr(e)){for(var n=ie(e),i=qr(e,t=t||/hidden/),r=null;i&&i!==Ry&&i!==r;){if(!Qr(n,i,t))return!1;i=qr(r=i,t)}if(e.getBoundingClientRect){var e=e.getBoundingClientRect(),o=e.right,e=e.bottom;if(n.fixed||(o+=tr(),e+=er()),o<=0||e<=0)return!1}}return!0}function no(e){var t,n,i,r,o,a=/(auto|scroll)/,s=/(auto|scroll|hidden)/,u=ie(e),d=qr(e,s);if(!eo(e))return!1;for(;d;){if(t=ie(d),(o=Jr(d,a))!==f.NONE&&(i=n=0,o!==f.Y&&o!==f.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!==f.X&&o!==f.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))),!Qr(u,d,s))return!1;d=qr(d,s)}return!0}function io(e){for(var t,n,i,r,o,a=/(auto|scroll)/,s=Gr(),u=qr(e,a);u&&u!==s;)t=ie(e),n=ie(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),J.isFunction(u.scrollBy)?u.scrollBy(r,i):(u.scrollTop+=i,u.scrollLeft+=r),u=qr(u,a)}var ro={};function oo(t){if(!t)return!1;if(t===Ay.location.origin)return!0;if(t===Hi())return!0;if(t===Ki())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=(st()||(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|uat)\.appspot\.com$/,/^https:\/\/via\.pendo\.local:\d{4}$/,/^https:\/\/adopt\.pendo\.local:\d{4}$/,/^https:\/\/local\.pendo\.io:\d{4}$/,new RegExp("^https://pendo-"+Xe+"-static\\.storage\\.googleapis\\.com$")])),m.get("adoptHost"));if(n&&t==="https://"+n)return!0;return!!J.contains(m.get("allowedOriginServers",[]),t)||J.any(e,function(e){return e.test(t)})}function ao(e){var t;if(J.isString(e))return t=(t=Pi(e).substring(1))&&t.length?Gi(t):{},e=J.last(J.first(e.split("?")).split("/")).split("."),{filename:J.first(e),extension:e.slice(1).join("."),query:t}}function so(e){return J.isString?e.replace(/-/g,"+").replace(/_/g,"/"):e}function uo(e,t){var n;m.get("guideValidation")&&b.sri&&(n=ao(t),t=J.find(["sha512","sha384","sha256"],function(e){return!!n.query[e]}))&&(e.integrity=t+"-"+so(n.query[t]),e.setAttribute("crossorigin","anonymous"))}ro.$={findOrCreate:function(e){return 0<this.length?this:Q(e)},find:function(e){var t=Q();return t.context=this.context,this.each(function(){Q(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===Ly?this.length?this[0].innerHTML:this:this.each(function(){this.innerHTML=e})},text:function(e){var t="innerText"in Ry.body;return e===Ly?t?this.length?this[0].innerText:this:this.length?this[0].textContent:this:this.each(function(){Ar(this,{"white-space":"pre-wrap"}),t?this.innerText=e:this.textContent=e})},addClass:function(e){return e=e.split(/\s+/),this.each(function(t){J.each(e,function(e){Ir(t,e)})})},removeClass:function(e){return e=e.split(/\s+/),this.each(function(t){J.each(e,function(e){xr(t,e)})})},hasClass:function(e){e=e.split(/\s+/);var n=!0;return 0!==this.length&&(this.each(function(t){J.each(e,function(e){n=n&&Sr(t,e)})}),n)},toggleClass:function(e){return e=e.split(/\s+/),this.each(function(t){J.each(e,function(e){(Sr(t,e)?xr:Ir)(t,e)})})},css:function(e){return this.each(function(){Ar(this,e)}),this},appendTo:function(e){return Q(e).append(this),this},append:function(e){var t=this;return Q(e).each(function(){t.length&&t[0].appendChild(this),Hr(this)&&J.each(d("script",this),$r)}),t},prependTo:function(e){return Q(e).prepend(this),this},prepend:function(e){var t,n;return this.length&&(t=this[0],n=t.childNodes[0],Q(e).each(function(){n?Q(this).insertBefore(n):Q(this).appendTo(t)})),this},getParent:function(){var e=Q(this)[0];if(e&&e.parentNode)return Q(e.parentNode)},insertBefore:function(e){e=Q(e)[0];e&&e.parentNode&&(e.parentNode.insertBefore(this[0],e),Hr(Ry))&&J.each(d("script",this),$r)},remove:function(){return this.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),this},attr:function(e,t){return J.isObject(e)?(this.each(function(){J.each(e,function(e,t){this.setAttribute(t,e)},this)}),this):t!==Ly?(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&&!d.matchesSelector(n,e);)if((n=n.parentNode)===Ry||t&&d.matchesSelector(n,t))return Q();return Q(n)},eq:function(e){return Q(this[e])},height:function(e){if(this.length)return e===Ly?this[0].offsetHeight:(this[0].style.height=e+"px",this)},width:function(e){if(this.length)return e===Ly?this[0].offsetWidth:(this[0].style.width=e+"px",this)},focus:function(){return this.each(function(){J.isFunction(this.focus)&&this.focus()})}},J.extend(Q,{data:ti,event:di,removeNode:Fr,getClass:Cr,hasClass:Sr,addClass:Pr,removeClass:Mr,getBody:Gr,getComputedStyle:te,getClientRect:ie,intersectRect:jr,getScrollParent:qr,isElementVisible:to,scrollIntoView:io,getRootNode:Xr}),J.extend(Q.prototype,di.$,ro.$);var co=function(e){return!(0!==m.get("allowedOriginServers",[]).length&&!m.get("trainingPartner",!1)&&ut(Xe,fe()))||oo(e)},lo=function(e){return new Wn(e).origin},fo=function(e,t){try{var n,i="text/css",r="text/javascript";if(J.isString(e)&&(e={url:e}),!co(lo(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,uo(s,e.url),o=s}else{if(At())return(n=Ry.createElement("script")).addEventListener("load",function(){t(),Fr(n)}),n.type=r,n.src=Ee().createScriptURL(e.url),uo(n,e.url),Ry.body.appendChild(n),{};(n=Ry.createElement("script")).type=r,n["async"]=!0,n.src=Ee().createScriptURL(e.url),uo(n,e.url),o=n,t=J.wrap(t,function(e,t){Q.removeNode(n),t||e.apply(this,J.toArray(arguments).slice(1))})}return a.appendChild(o),po(o,e.url,t),o}catch(Ut){return{}}},po=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||fr("Failed to load "+t+" within 10 seconds")},1e4))},ho=function(e){var t=V.parse(e.data),n=e.origin;Y.debug(I.app_name+": Message: "+V.stringify(t)+" from "+n),Po(e.source,{status:"success",msg:"ack",originator:"messageLogger"},n)},go=function(e){yo(Co)(mo(e))},mo=function(e){if(e.data)try{var t="string"==typeof e.data?V.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};Y.debug("Invalid Message: Missing 'type' in data format")}}catch(Ut){Y.debug("Failed to parse message data: "+V.stringify(e.data))}else Y.debug("Invalid Message: Missing or empty 'data' in message")},vo;function yo(t){return function(e){if(e&&oo(e.origin))return t.apply(this,arguments)}}function bo(e){vo=e}var wo=function(e){Mo(e.moduleURL)},So=function(e){Go(ho)},Io={disconnect:function(e){},module:wo,debug:So},xo=function(e,t){Io[e]=t},Eo=function(e){delete Io[e]},Co=function(e){var t;e&&(t=e.data)&&x(Io[t.type])&&Io[t.type](t,e)},_o={},To=function(e){if(_o[e]={},"undefined"!=typeof CKEDITOR)try{CKEDITOR.config.customConfig=""}catch(Ut){}},Ao=function(e){return x(_o[e])},Ro=function(e){if(_o)for(var t in _o)if(0<=t.indexOf(e))return t;return null},Lo=[],Oo=function(){var e;Lo.length<1||(e=Lo.shift(),Ao(e))||fo(e,function(){To(e),Oo()})};function ko(e){var t={"/js/lib/ckeditor/ckeditor.js":1},n=(J.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 oo("https://"+n)&&t[e]}function No(e){return e.replace(/^[a-zA-Z-:]*\/\//,"https://")}var Mo=function(e){ko(e=No(e))&&(Lo.push(e),1<Lo.length||Oo())},Po=function(e,t,n){var i,r=J.uniqueId("pendo-");try{void 0===t&&void 0===n&&(t=e,e=vo||Do(),n="*"),t.guid=r,e&&J.isFunction(e.postMessage)&&(i=V.stringify(t),e.postMessage(i,n))}catch(Ut){t=Ut&&Ut.message||"";Y.info("Failed to postMessage: "+t)}return r},Fo=function(){return Ay!=Ay.top},Do=function(){var e=new RegExp("^"+zi.replace(/^https?:/,"https?:")),t=m.get("forceParentDesigner");return!st()&&t||e.test(location.href)?Ay.parent:Ay.top},Uo=function(){var e;Fo()&&(e=Do(),Po(e,{type:"load",url:location.toString()},"*"))},Go=function(e){var t;return x(Ay.addEventListener)&&J.isFunction(Ay.addEventListener)&&(t=yo(e),Ay.addEventListener("message",t,!1)),function(){x(Ay.removeEventListener)&&J.isFunction(Ay.removeEventListener)&&t&&Ay.removeEventListener("message",t,!1)}},Bo=J.memoize(function(){return m.get("restrictP1Access")}),zo=[],Ho=[],jo=12e4,Wo=16,Ko=1900,qo=65536,Jo=function(e){return!(!e||""===e)},Vo=function(){return l.get()},$o={flush:J.noop,flushBy:J.noop,flushEvents:Qo,flushTrackEvents:Qo,flushSilos:Qo,flushTrackEventSilos:Qo,flushBeacons:Qo,flushNow:Qo,flushLater:ea,flushEvery:ta,flushStop:na,beacons:[],silos:[],trackEventSilos:[],lock:yr,unlock:ra},Zo=[];function Yo(e){Zo.push(e)}function Xo(e,t){var n;return t=parseInt(t,10)||0,e[t]||(n=Ay.setTimeout(function(){e(),e[t]()},t),e[t]=function(){Ay.clearTimeout(n),delete e[t]})}function Qo(e,t){try{J.each(Zo,function(e){e.flush&&e.flush(t)})}catch(Ut){Y.critical("unhandled error while flushing event cache",{error:Ut})}}function ea(e){return Xo(J.partial(Qo,!0),e)}function ta(e){var t;if(e=parseInt(e,10)||0,J.isObject(ta.intervals)||(ta.intervals={}),!ta.intervals[e])return t=Ay.setInterval(Qo,e),ta.intervals[e]=function(){clearInterval(t),delete ta.intervals[e]}}function na(){var e=J.values(ta.intervals).concat([Qo]);J.map(e,function(e){J.isFunction(e)&&e()})}function ia(){J.each(Zo,function(e){e.clear&&e.clear()}),na()}function ra(){if(!wr())return ia(),br()}var oa=function(){var t=null;function i(e,t){return t=t?t+": ":"",e.jwt||e.signingKeyName?e.jwt&&!e.signingKeyName?(Y.debug(t+"The jwt is supplied but missing signingKeyName."),!1):e.signingKeyName&&!e.jwt?(Y.debug(t+"The signingKeyName is supplied but missing jwt."),!1):(e=e.jwt,!(!J.isString(e)||!/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/.test(e))||(Y.debug(t+"The jwt is invalid."),!1)):(Y.debug(t+"Missing jwt and signingKeyName."),!1)}return{set:function(e){t=V.parse(V.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 Y.debug("Pendo will not "+t+"."),!1;if(n){t=e.jwt;try{return V.parse(atob(t.split(".")[1]))}catch(Ut){return null}}else Y.debug("JWT is enabled but not being used, falling back to unsigned metadata.")}}}(),aa="_PENDO_UNNAMED_",sa=5;function ua(e,t,n,i,r){n={type:e,browser_time:v(),visitor_id:X(),account_id:Dn(),url:l.externalizeURL(n),props:t||{},eventProperties:r},n=ln.addTracerIds(n);return"track"===e&&(n.track_event_name=i||aa),y.eventCaptured.trigger(n),n}var da=$o.events=zo,ca=$o.trackEvents=Ho,la=es({cache:da,silos:$o.silos,apiKey:lr,beacon:"ptm",allowPost:!0}),fa=es({cache:ca,silos:$o.trackEventSilos,apiKey:lr,beacon:"ptm",allowPost:!0,params:{type:"track"}});function pa(e,t,n,i,r){dr&&(t=ua(e,t,n,i,r),Jo(t.url))&&ma(t)&&("track"===e?fa.push(t):la.push(ha(Z,t)))}function ha(e,t){try{if(!e.getters["monitoring/shouldFlush"]())return t;var n=e.getters["monitoring/payload"]();e.dispatch("monitoring/flush"),J.isEmpty(n)||(t.ops=n)}catch(Ut){}return t}Yo(la),Yo(fa);var ga=["load","meta","identify"];function ma(e){return!m.get("freeNPSData")||J.contains(ga,e.type)}function va(){var r=J.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 ya(n,e){var i=e;return function(e,t){t(i=n(i,e))}}function ba(e){return ya(function(e,t){return e.push(t),e},e)}function wa(e,t){return m.get("trainingPartner")?Sa("account_id")(e,t):t(e)}function Sa(s){return function(e,t){if(!e.length)return t(e);for(var n=J.get(e[0],s),i=!0,r=1;r<e.length;r++)if(n!==J.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 Ia(e){return null==e.bytes&&(e.bytes=V.stringify(e).length),e}function xa(e,t,n){t=n[t-1]||J.last(n);return Math.ceil(e/t)}function Ea(e,t){for(var n,i=0,r=(J.isFunction(t.overhead)?t.overhead:J.constant(0))(),o=0;o<e.length;++o){if(xa(n=Ia(e[o]).bytes,1,t.compressionRatio)+r<=t.lower){if(0<o)return o;break}if(xa(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(xa(i+(n=Ia(e[o]).bytes),o+1,t.compressionRatio)+r>t.lower)return o;i+=n}return-1}function Ca(){var e=oa.get();return J.isEmpty(e)?0:e.jwt.length+e.signingKeyName.length}function _a(i){return function(e,t){for(var n=Ea(e,i);0<=n;)t(e.splice(0,Math.max(n,1))),n=Ea(e,i)}}function Ta(e,t){var n;e.length>Wo&&(n=e.slice(),e.length=0,t(n))}var Aa=2e3;function Ra(t){return t=J.defaults(t||{},{fields:[],siloMaxLength:qo}),function(n,e){var i;1===n.length&&n.JZB.length>t.siloMaxLength&&(i=n[0],Y.debug("Max length exceeded for an event"),J.each(t.fields,function(e){var t=i[e];t&&t.length>Aa&&(Y.debug("shortening "+t+" and retrying"),i[e]=t.substring(0,Aa),delete n.JZB)})),e(n)}}function La(e,t){var n;if(0!==e.length)return e.JZB||(e.JZB=I.squeezeAndCompress(e.slice()),e.JZB.length<=qo)||1===e.length?t(e):(n=e.length/2,La(e.slice(0,n),t),void La(e.slice(n),t))}function Oa(e,t){wr()&&t(e)}function ka(n){return function(e,t){1===e.length&&e.JZB.length>Ko?(Y.debug("Couldn't write event"),fr("Single item is: "+e.JZB.length+". Dropping."),pr(e.JZB)):Z.commit("monitoring/incrementCounter",n.beacon+"GifFailures")}}function Na(e){return J.isFunction(e.apiKey)?[].concat(e.apiKey()):[].concat(e.apiKey)}function Ma(t){return J.map(t.apiKeys,function(e){return cr(t.beacon+".gif",e,J.extend({v:it,ct:v(),jzb:t.JZB},t.params,t.auth))})}function Pa(t){return J.map(t.apiKeys,function(e){return cr(t.beacon+".gif",e,J.extend({v:it,ct:v(),s:t.JZB.length},t.params))})}function Fa(i){return function(e,t){e.apiKeys=Na(i),e.params=J.extend({},e.params,i.params),e.beacon=i.beacon,e.eventLength=e.JZB.length;var n=oa.get();J.isEmpty(n)||(e.auth=n,e.eventLength+=n.jwt.length,e.eventLength+=n.signingKeyName.length),t(e)}}function Da(e,t){var n=m.get("trainingPartner"),i=J.first(e),i=J.get(i,"account_id");n&&i&&(e.params=J.extend({},e.params,{acc:xt(i)})),t(e)}function Ua(e,t){var n=J.first(e),n=J.get(n,"props.source");n&&(e.params=J.extend({},e.params,{source:n})),t(e)}function Ga(e){return V.stringify(J.extend({events:e.JZB},e.auth))}function Ba(t,n){return t.failed||t.eventLength>Ko?n(t):void(t.auth?n(t):J.each(Ma(t),function(e){hr(e)["catch"](qa(t,n))}))}function za(t,n){return t.failed||t.eventLength>Ko?n(t):void(!t.auth&&gr.supported()?J.each(Ma(t),function(e){gr(e)["catch"](qa(t,n))}):n(t))}function Ha(t,n){return t.failed||t.eventLength>qo?n(t):void(gr.supported()?J.each(Pa(t),function(e){fetch(e,{method:"POST",keepalive:!0,body:Ga(t),headers:{"Content-Type":"application/json"}})["catch"](qa(t,n))}):n(t))}function ja(t,n){return t.failed||t.eventLength>qo?n(t):void(mr.supported()?J.each(Pa(t),function(e){mr(e,Ga(t))||qa(t,n)()}):n(t))}function Wa(t,n){return t.failed||t.eventLength>Ko?n(t):void J.each(Ma(t),function(e){ci({method:"GET",url:e})["catch"](qa(t,n))})}function Ka(t,n){return t.failed||t.eventLength>qo?n(t):void J.each(Pa(t),function(e){ci({method:"POST",url:e,data:Ga(t),headers:{"Content-Type":"application/json"}})["catch"](qa(t,n))})}function qa(e,t){return function(){e.failed=!0,t(e)}}function Ja(t,n){return t.failed||t.eventLength>Ko?n(t):void(b.msie<=11?J.each(Ma(t),function(e){ci({method:"GET",url:e,sync:!0})["catch"](qa(t,n))}):n(t))}function Va(t,n){return t.failed||t.eventLength>qo?n(t):void(b.msie<=11?J.each(Pa(t),function(e){ci({method:"POST",url:e,data:Ga(t),sync:!0,headers:{"Content-Type":"application/json"}})["catch"](qa(t,n))}):n(t))}function $a(i){return function(e,t){var n;return!e.JZB||e.failed?t(e):(n=[Fa(i),Da,Ua],!i.sendWithGet&&m.get("sendEventsWithPostOnly")||(i.preferFetch&&n.push(za),n.push(Ba,Wa)),i.allowPost&&(i.preferFetch&&n.push(Ha),n.push(ja,Ka)),void va.apply(null,n)(e,function(e){t(e)}))}}function Za(i){return function(e,t){var n;return!e.JZB||e.failed?t(e):(n=[Fa(i),Da,Ua],!i.sendWithGet&&m.get("sendEventsWithPostOnly",!1)||n.push(za,Ja),i.allowPost&&n.push(Ha,ja,Va),void va.apply(null,n)(e,function(e){t(e)}))}}function Ya(e,t){return va(Oa,wa,La,Ra(e.shorten),La,t(e),ka(e))}function Xa(i){return function(e,t){var n=m.get("excludeNonGuideAnalytics");"ptm"===i&&n||t(e)}}function Qa(e,t){var n=m.get("analytics.excludeEvents");0<=J.indexOf(n,e.type)||t(e)}function es(e){var i=e.cache,r=e.silos,o=Ya(e,$a),a=Ya(e,Za),s={},t=va(Xa(e.beacon),Qa,ba(i),_a({overhead:Ca,lower:m.get("sendEventsWithPostOnly")?qo:Ko,upper:qo,compressionRatio:[.5*sa,.75*sa,sa]}),function(e){r.push(e)});return{pause:function(e){var t=this,n=(void 0===e&&(e=1e4),J.uniqueId()),i=(s[n]=1,function(){s[n]&&(clearTimeout(r),delete s[n],t.flush())}),r=setTimeout(i,e);return i},push:function(e){t(e,J.noop)},clear:function(){i.length=0,r.length=0},flush:function(e){var t,n;0===i.length&&0===r.length||J.isEmpty(s)&&(r.push(i.slice()),i.length=0,t=r.slice(),r.length=0,n=(e||{}).guaranteed?a:o,J.each(t,function(e){n(e,J.noop)}))}}}var ts=Hn(function(e){var t,n;if((e=e||l.get())&&e!==ts.lastUrl)return ts.lastUrl=e,t=-1,Bo()||Uo(),Y.debug("sending load event for url "+e),n={load_time:t="undefined"!=typeof performance&&J.isFunction(performance.getEntriesByType)&&!J.isEmpty(performance.getEntriesByType("navigation"))?(n=performance.getEntriesByType("navigation")[0]).loadEventStart-n.fetchStart:t},Fo()&&(n.is_frame=!0),pa("load",n,e),ea(),y.urlChanged.trigger(),!0}),ns=[],is=os({cache:ns,apiKey:function(){return I.apiKey},beacon:"xhr",sendWithGet:!0,shorten:{fields:["request_url","browser_url"],siloMaxLength:Ko}});function rs(e,t){var n=zi.replace(/\./g,"\\.").replace(/\//g,"\\/"),n=new RegExp("^"+n+"\\/data\\/"),i=J.get(e,"request_url","");n.test(i)||t(e)}function os(e){var n=e.cache,i=Ya(e,$a),r=Ya(e,Za),t=va(rs,ba(n),Ta,i);return{push:function(e){t(e,J.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,J.noop))}}}Yo(is);var as=function(){y.appUnloaded.on(function(){ds({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;ss(o,this.readyState,n,t,e)},!1),a.apply(this,arguments)};var a,e=a;return function(){XMLHttpRequest.prototype.open=e}},ss=function(e,t,n,i,r){var o;1===t?(o=X(),e.visitor_id=o,o=Dn(),e.account_id=o,e.browser_url=us(bi()),e.browser_time=(new Date).getTime(),e.request_method=i,e.type="xhr"):4===t&&(e.request_url=us(r.responseURL),e.response_status=r.status,e.duration=(new Date).getTime()-e.browser_time,is.push(e))},us=function(e){var t=e?e.indexOf("?"):-1,t=-1===t?"":e.slice(t+1,e.length);return Di(e,t,m.get("xhrWhitelist"))},ds=function(e){try{is.flush(e)}catch(Ut){Y.critical("error while flushing xhr cache",{error:Ut})}},cs="visibilitychange",ls="unload";function fs(e,t){return t?ee(Ry,cs,function(){"hidden"===Ry.visibilityState&&e()}):ee(Ay,ls,e)}function ps(){this.serializers=J.toArray(arguments)}function hs(e,t){return e.tag=w.isElementShadowRoot(t)?"#shadow-root":t.nodeName||"",e}function gs(e){return x(e)?""+e:""}function ms(e,t){return e.id=gs(t.id),e}function vs(e,t){return e.cls=gs(Q.getClass(t)),e}J.extend(ps.prototype,{add:function(e){this.serializers.push(e)},remove:function(e){e=J.indexOf(this.serializers,e);0<=e&&this.serializers.splice(e,1)},serialize:function(n,i){return n?(i=i||n,J.reduce(this.serializers,function(e,t){return t.call(this,e,n,i)},{},this)):{}}});var ys=256,bs=64,ws={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"]}},Ss=function(e){return e&&0===e.indexOf("data:")?(Y.debug("Embedded data provided in URI."),e.substring(0,e.indexOf(","))):e+""};function Is(e,t){return e.getAttribute?e.getAttribute(t):e[t]}var xs=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),Ni(Ss(i))):(i=Is(e,t),(!n||typeof i===n)&&i?J.isString(i)?ct.call(i).substring(0,ys):i:null):null};function Es(t){var e,n,i;return J.isRegExp(t)&&J.isFunction(t.test)?function(e){return t.test(e)}:J.isArray(t)?(e=J.map(J.filter(t,J.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 J.any(e,function(e){return e.test(t)})}):J.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)}):J.constant(!1)}function Cs(e,t,n,i){var r=J.indexBy(t),t=J.filter(J.filter(e,function(e){return n(e.nodeName)||r[e.nodeName]}),function(e){return!i(e.nodeName)});return t.length<=bs?J.pluck(t,"nodeName"):(t=J.groupBy(e,function(e){return r[e.nodeName]?"defaults":J.isString(e.value)&&e.value.length>ys?"large":"small"}),J.pluck([].concat(J.sortBy(t.defaults,"nodeName")).concat(J.sortBy(t.small,"nodeName")).concat(J.sortBy(t.large,"nodeName")).slice(0,bs),"nodeName"))}function _s(t,n){var e=Es(m.get("htmlAttributes")),i=Es(m.get("htmlAttributeBlacklist")),r=(i("title")||(t.title=xs(n,"title","string")),(t.tag||"").toLowerCase()),r=("input"===r&&(r+='[type="'+n.type+'"]'),t.attrs={},Cs(n.attributes,ws[r]&&ws[r].attr,e,i));return J.each(r,function(e){t.attrs[e.toLowerCase()]=xs(n,e)}),t}function Ts(e,t){var n;return t.parentNode&&t.parentNode.childNodes&&(n=J.chain(t.parentNode.childNodes),e.myIndex=n.indexOf(t).value(),e.childIndex=n.filter(function(e){return e.nodeType==Vi}).indexOf(t).value()),e}function As(i,e){var r;return m.get("siblingSelectors")&&e.previousElementSibling&&(r="_pendo_sibling_",this.remove(As),e=this.serialize(e.previousElementSibling),this.add(As),i.attrs=i.attrs||{},J.each(e,function(e,t){var n={cls:"class",txt:"pendo_text"}[t]||t;J.isEmpty(e)||(J.isObject(e)?J.each(e,function(e,t){e&&!J.isEmpty(e)&&(i.attrs[r+n+"_"+t]=e)}):i.attrs[r+n]=e)})),i}function Rs(){return new ps(hs,ms,vs,_s,Ts,As)}var Ls=Rs(),Os=function(e){return"BODY"===e.nodeName||null===e.parentNode&&!w.isElementShadowRoot(e)},ks="pendo-ignore",Ns=function(e){var t={},n=t,i=e,r=!1;if(!e)return t;do{var o=i,a=Ls.serialize(o,e)}while(!r&&Tt(a.cls,ks)&&(r=!0),n.parentElem=a,n=a,(i=w.getParent(o))&&!Os(o));return r&&(t.parentElem.ignore=!0),t.parentElem},Ms=["","left","right","middle"],Ps=function(e,t){return Ms[t]},Fs=function(){return!0},Ds=function(e){return e.which||e.button},Us=function(e){return e},Gs=function(e,t){return e[t]},Bs=[["button",Ds,Fs,Ps],["altKey",Gs,Us,Us],["ctrlKey",Gs,Us,Us],["metaKey",Gs,Us,Us],["shiftKey",Gs,Us,Us]],zs=function(e,t){for(var n=[],i=0;i<Bs.length;i++){var r=Bs[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},Hs={click:zs},js=function(e){return e.nodeType===Ji?e.parentNode:e.nodeType===Yi?null:e.correspondingUseElement||e},Ws=function(e){try{var t,n,i,r,o,a;Q.data.get(e,"counted")||(Q.data.set(e,"counted",!0),t=ui(e),n=e.type,i={},(r=Hs[n])&&(i=r(e,i)),Q.data.get(e,"stopped")&&(i.stopped=!0),e.from&&J.isString(e.from)&&(i.from=e.from),(t=js(t))?(o=Ns(t),J.extend(o,i),ts()&&l.startPoller(),o.ignore||("click"===n?(a=Ks(t),pa(n,{target:o},Ly,Ly,a)):pa(n,{target:o}),y.trigger("appUsage",o,e))):Y.info("Invalid HTML target",{contexts:["event","dom","processing"]}))}catch(Ut){Y.critical("pendo.io while handling event",{error:Ut})}};function Ks(e){e=qs(e),y.onClickCaptured.trigger(e),e=e.getEventProperties();if(!J.isEmpty(e))return e}function qs(e){var n={};return{getEventProperties:function(){return n},addEventProperty:function(e,t){J.isString(e)&&!J.isUndefined(t)?n[e]=t:Y.error("Failed to add click event property")},target:e}}var Js=function(e){var t=J.map(e,function(e){return p(Ry,e,Ws,!0)});return function(){J.each(t,function(e){e()})}},Vs=5e3,$s=J.debounce(Ws,Vs,!0),Zs=function(e){var t=[],n=(J.contains(e=e||["click","focus","submit","change"],"change")&&(e=J.without(e,"change"),t.push(ee(Ry,"change",$s,!0))),m.get("interceptElementRemoval")||m.get("syntheticClicks.elementRemoval")),i=m.get("syntheticClicks.targetChanged");return t.push(Ys(Q.event.trigger,b.addEventListener,n,i).teardown),t.push(Js(e)),m.get("xhrTimings")&&t.push(as()),t.push(fs(function(){Qo(!0,{guaranteed:!0}),y.appUnloaded.trigger()},m.get("preventUnloadListener"))),t.push(eu(Ay.Event,e)),t.push(tu(Ay.Event,["touchend"])),function(){J.each(t,function(e){e()})}};function Ys(t,e,n,i){var r,o,a=[],s=b.hasEvent("pointerdown"),u=s?"pointerdown":"mousedown",s=s?"pointerup":"mouseup",d=[],c={cloneEvent:function(e){e=Q.event.clone(e);return e.type="click",e.from=u,e.bubbles=!0,e},down:function(e){o=!1,e&&(r=c.cloneEvent(e),n)&&c.intercept(e)},up:function(e){o=!1,e&&r&&i&&ui(r)!==ui(e)&&(o=!0,t(r))},click:function(e){r=null,o&&Q.data.set(e,"ignore",!0),o=!1,n&&c.unwrap()},intercept:function(e){e=Xs(ui(e));J.each(e,function(e){e=Qs(e,c.remove);a.push(e)})},remove:function(){r&&(t(r),r=null),c.unwrap()},unwrap:function(){0<a.length&&(J.each(a,function(e){e()}),a=[])},teardown:function hg(){c.unwrap(),J.each(d,function(e){e()})}};return e&&(d.push(ee(Ry,u,c.down,!0)),d.push(ee(Ry,s,c.up,!0)),d.push(ee(Ry,"click",c.click,!0))),c}function Xs(e){for(var t=[];e&&!Os(e);)t.push(e),e=e.parentNode;return t}function Qs(n,i){var e=["remove","removeChild"];try{if(!n)return J.noop;J.each(e,function(e){var t=n[e];if(!t)return J.noop;n[e]=J.wrap(t,function(e){return i&&i(),e.apply(this,J.toArray(arguments).slice(1))}),n[e]._pendoUnwrap=function(){if(!n)return J.noop;n[e]=t,delete n[e]._pendoUnwrap}})}catch(Ut){Y.critical("ERROR in interceptRemove",{error:Ut})}return function(){J.each(e,function(e){if(!n[e])return J.noop;e=n[e]._pendoUnwrap;J.isFunction(e)&&e()})}}function eu(n,e){var t=["stopPropagation","stopImmediatePropagation"];try{if(!n||!n.prototype)return J.noop;var i=J.indexBy(e);J.each(t,function(e){var t=n.prototype[e];t&&(n.prototype[e]=J.wrap(t,function(e){var t=e.apply(this,arguments);return i[this.type]&&(Q.data.set(this,"stopped",!0),Q.event.trigger(this)),t}),n.prototype[e]._pendoUnwrap=function(){n.prototype[e]=t,delete n.prototype[e]._pendoUnwrap})})}catch(Ut){Y.critical("ERROR in interceptStopPropagation",{error:Ut})}return function(){J.each(t,function(e){e=n.prototype[e]._pendoUnwrap;J.isFunction(e)&&e()})}}function tu(t,e){try{if(!t||!t.prototype)return J.noop;var i=J.indexBy(e),n=t.prototype.preventDefault;if(!n)return J.noop;t.prototype.preventDefault=J.wrap(n,function(e){var t,n=e.apply(this,arguments);return i[this.type]&&((t=Q.event.clone(this)).type="click",t.from=this.type,t.bubbles=!0,t.eventPhase=ni,Q.event.trigger(t)),n}),t.prototype.preventDefault._pendoUnwrap=function(){t.prototype.preventDefault=n,delete t.prototype.preventDefault._pendoUnwrap}}catch(Ut){Y.critical("ERROR in interceptPreventDefault",{error:Ut})}return function(){var e=t.prototype.preventDefault._pendoUnwrap;J.isFunction(e)&&e()}}function p(e,t,n,i){return!(e&&t&&n)||e===Ay&&"error"===t?J.noop:(i&&!b.addEventListener&&(i=!1),Q.event.add(e,{type:t,handler:n,capture:i}))}function h(e,t,n,i){e&&t&&n&&(i&&!b.addEventListener&&(i=!1),Q.event.remove(e,t,n,i))}var nu=function(e){Q.data.set(e,"pendoStopped",!0),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1},iu=function(e,t){return"complete"!==(t=t||Ay).document.readyState?ee(t,"load",e):(e(),J.noop)},ru=[],ou=[],au={};function su(e){au=e}function S(){return ru}function uu(){return du(S())}function du(e){return J.filter(e,function(e){return!e.isFrameProxy})}function cu(e){J.isArray(e)?(ru=e,y.guideListChanged.trigger({guideIds:J.pluck(e,"id")})):Y.info("bad guide array iput to `setActiveGuides`")}var lu=function(){var n=[];return{addGuide:function(e){n=n.concat(e);var e=S(),t=J.difference(e,n);t.length<e.length&&cu(t)}}}();function fu(t,n){return J.find(S(),function(e){return J.get(e,t)===n})||null}function E(e){return fu("id",e)}function pu(e){return fu("name",e)}function hu(e,t){return e&&e.id?(e=E(e.id)).findStepById(t):null}var gu="_pendo-guide-tt_",mu="_pendo-guide-mobile-tt_",vu=function(e){return e&&e.launchMethod&&0<=e.launchMethod.indexOf("badge")},yu=function(e){return e&&e.isMultiStep&&!(e.attributes&&"group"===e.attributes.type)};function bu(){return"undefined"!=typeof selmo&&selmo.isPreviewing}function wu(){return!!(bu()&&Or().width<=320)||b.isMobileUserAgent()}function re(){var e=re.attachPoint;if(null==e){var t=m.get("guides.attachPoint");if(J.isString(t)){try{e=d(t)[0]}catch(Ut){Y.info('Error finding guide attach point "'+t+'"')}e=e||Ry.createElement("div")}else e=!!J.isFunction(t)&&t();re.attachPoint=e}return e||Gr()}var Su=function(e){var t=au[e.guideId];if(t){t=t.element();if(Hr(t)&&t.id==="_pendo-badge_"+e.id)return t}},Iu=function(e){var t;return e?(t=e.getGuide(),t="building-block"===J.get(t,"attributes.type")||!yu(t),!e.overrideElement&&t&&(e.overrideElement=Su(e)),e.targetElement=xu(e),e.overrideElement||e.targetElement):(Y.info("Can't get element for null step"),null)},xu=function(e){e=e.elementPathRule||null,e=e?d(e):[Gr()];return 0===e.length?null:J.first(e)};function Eu(e){var t=J.get(e,"attributes.activation.selector");return t||e.steps[0].elementPathRule}function Cu(e,t,n){var i,r,o,e=ne(e),t=ne(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!==kr(a)||t.fixed||(o=_u(a,Or(),n,Jr(Gr(),/hidden/)),Ay.scrollTo(o.x,o.y))}function _u(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),J.contains([f.X,f.BOTH],i)&&(r.x=0),J.contains([f.Y,f.BOTH],i)&&(r.y=0),r}function Tu(e,t,n,i,r){var o,a=J.toArray(arguments).slice(1),s=e.apply(this,a);return n||Xr(o=re())!==Ry&&(a[1]=o,s=s.concat(e.apply(this,a))),s}function Au(){return Z.getters["frames/isLeader"]()}function Ru(){return Z.getters["frames/leaderExists"]()}function Lu(e){return Z.dispatch("frames/updateFrameVisibility",{visibility:e})}var Ou=function(){var n=fn.call({}),i={validateGuide:1,validateLauncher:1,validateGlobalScript:1},e={ready:1,deliverablesLoaded:1,guidesFailed:1,guidesLoaded:1,onClickCaptured:1};return J.each(["ready","onClickCaptured","deliverablesLoaded","guidesFailed","guidesLoaded","validateGuide","validateLauncher","validateGlobalScript"],function(t){e[t]&&y[t].on(function(e){return Ou[t].apply(Ou[t],e.data)}),n[t]=function(e){return J.isFunction(e)?n.on(t,e):n[i[t]?"triggerAsync":"trigger"].apply(n,[t].concat(J.toArray(arguments)))}}),n}();function ku(e,t,n){return ci.postJSON(e.replace(/\/guides\.js\//,"/guides.json/"),t).then(function(e){I.guidesPayload(e.data),n()})}var Nu={post:ku,load:function(e,t){return $.resolve(I.loadResource(e,t))},endpoint:function(){return"guide.js"},usesXhr:function(){return!1}};function Mu(e){e=ao(e);if(e){e=e.filename;if(e)return 54<e.length?e.substring(28,55):e}}var Pu=function(){var t,n,e,i,r,o={failed:{},verified:{}};return n=o,i=pr,r=function(e){try{var t=[];return!Nu.usesXhr()&&e.domJsonpUrl?t.push(s(e,"domJsonpUrl")):Nu.usesXhr()&&e.domUrl&&t.push(a(e,"domUrl")),e.contentUrlJs?t.push(s(e,"contentUrlJs")):e.contentUrl&&t.push(s(e,"contentUrl")),$.all(t)}catch(Ut){throw y.contentVerificatonFail.trigger(e,Ut),Ut}},e=function(e){return r(e).then(J.noop,function(e){return/verify/.test(e)&&i(e),$.reject(e)})},t=function(t){return n.failed[t.id]?$.reject():n.verified[t.id]?$.resolve():e(t).then(function(){n.verified[t.id]=!0},function(e){return n.failed[t.id]=!0,$.reject(e)})},{verify:function(e){return m.get("guideValidation")?t(e):$.resolve()},reset:function(){o.failed={},o.verified={}}};function a(e,t){var n,i=e[t];return J.isString(i)?(n=(e=e)[{domUrl:"domHash",domJsonpUrl:"domJsonpHash"}[t=t]]||Mu(e[t]),ci.get(i).then(function(e){var t;if("object"==typeof(e=e.data)&&(e=V.stringify(e)),(t=R.create()).update(e),A.uint8ToBase64(t.digest())!==n)return $.reject('Unable to verify content at "'+i+'"')})):$.reject('unable to parse "'+i+'"')}function s(e,t){var n=e[t];return b.sri&&/[?&]sha(256|384|512)=/.test(n)?$.resolve():a(e,t)}}(),Fu=function(){var o="allow",a="deny",s="pending",u={},i=function(){return 0<J.size(Ou._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=V.stringify(i.signature()),t=i.id+"-"+Et(e),n=(r[t]||(r[t]={status:s},r.status=s),r[t].promise);return n||(n=Ou.validateGuide(e,i).then(function(){r[t].status=o,r.status=o},function(e){return r[t].status=a,r.status=a,$.reject(e)}),r[t].promise=n),n})}var d=function(e,n){var i=[];return J.each(e,function(e,t){n&&(t=n+"."+t),J.isObject(e)?J.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 J.filter([["content",Mu(e.contentUrl)],["contentCss",Mu(e.contentUrlCss)],["contentJs",Mu(e.contentUrlJs)],["dom",Mu(e.domUrl)],["domJsonp",Mu(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=J.sortBy(t,function(e){return e[0]}),e.push(["variables",t])),e)},n},Guide:function(){return this.signature=function(){return J.map(this.steps,function(e){return e.signature()})},this},Launcher:function(){var n=this,i=!1,r=function(){return 0<J.size(Ou._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-"+Et(n.signature()),(t=u[t])!==a)&&(t!==o?(i=!0,t=V.stringify(n.signature()),e="launcher-"+Et(t),Ou.validateLauncher(t).then(function(){u[e]=o},function(){u[e]=a}).then(function(){i=!1,n.render(),n.update(S())},function(){i=!1}),!1):void 0)}),n.signature=function(){var e=[],t=d(this.data);return t.length&&(t=J.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 $.resolve();try{return J.get(e,"attributes.resourceCenter.isTopLevel",!1)?(t=e,n=ae.findResourceCenterModules(t,S()),t=[t].concat(n),$.all(J.map(t,r))):r(e)}catch(Ut){throw y.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={}}}}();function Du(e,t){var n=J.toArray(arguments).slice(2);return J.reduce(e,function(e,t){return t.apply(e,n)},t)}function Uu(e){return Du(Uu.behaviors,e)}function Gu(e,t){return Du(Gu.behaviors,e,t)}function Bu(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 zu(e){var t,n,i=m.getLocalConfig("contentHost");return i&&e?(t=new RegExp("(https:)?\\/\\/"+xe(Xe)+"-\\d+\\.storage\\.googleapis\\.com","g"),n=new RegExp("(https:)?\\/\\/"+Ce(Xe)+"\\.storage\\.googleapis\\.com","g"),e.replace(t,i).replace(n,i).replace(new RegExp("(https:)?\\/\\/"+Wu(et),"g"),i)):e}function Hu(e){return m.getLocalConfig("contentHost")?V.parse(zu(V.stringify(e))):e}function ju(){var e=Wu(m.getHostedConfig("contentHost"));if(e)return e+"*"}function Wu(e){if(e)return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ku(e){return!!(J.isObject(e)&&e.hasOwnProperty("type")&&e.hasOwnProperty("children")&&e.hasOwnProperty("props"))}Uu.behaviors=[],Gu.behaviors=[];var qu=function(){var u={},d=J.compose(function(e){var t=ju();return t&&!new RegExp(t).test(e)&&Y.debug("Failed to verify URL: "+e+" vs "+t),e},zu);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,Nu.usesXhr()&&e.domUrl?(r.deferred.domJson=$.defer(),ci.get(d(e.domUrl)).then(function(e){r.domJson=Hu(e.data),Ku(e.data)?r.deferred.domJson.resolve():(Y.critical(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=$.defer(),n=fo(d(e.domJsonpUrl),function(){Q.removeNode(n)}),i.push(r.deferred.domJson.promise),o=!0),e.contentUrlJs&&!m.get("preventCodeInjection")){r.deferred.content=$.defer();var a=fo(d(function(e){if(At()){var t=e.replace(/^https?:\/\/[^/]+\/guide-content\//,"").split("/"),n=t[0],n=$A.get("$Resource.pendoGuide"+Bu(lt(n)));if(J.isString(n))return n+"/"+t.join("/")}return e}(e.contentUrlJs)),function(){Q.removeNode(a)});i.push(r.deferred.content.promise),e.contentUrlCss&&(r.deferred.css=$.defer(),fo({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=$.defer();var s=fo(function(e,t){if(!J.isString(e))return e;var n=J.indexOf(e,"?");return n<0?e+t:e.substring(0,n)+t+e.substring(n)}(d(e.contentUrl),".js"),function(){Q.removeNode(s)});i.push(r.deferred.content.promise)}else if(!o)return $.reject();r.deferred.promise=$.all(i).then(function(){return J.omit(r,"deferred")})}return u[e.id].deferred.promise}catch(Ut){throw y.resourceFetchFail.trigger(e,Ut),Ut}},reset:function(){u={}},guideContent:function(e,t,n,i,r){var o;J.isString(n)&&(J.isFunction(i)||(i=/<%/.test(o=n)&&/%>/.test(o)?J.template(n):J.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=Hu(n),e.deferred.domJson.resolve())}}}(),Ju=function(){function a(n){var i=this,t=1;return(i.contentUrl||i.domJsonpUrl)&&(J.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=J.indexOf(n.steps,i);J.chain(n.steps).rest(t+1).first(e).each(function(e){J.isFunction(e.fetchContent)&&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 J.reduce(a.state,function(e,t){return e+(t.loaded?0:1)},0)},a.reset=function(){qu.reset(),a.state={},a.queue=[]},a.prefetch=function(e){var t;return(a.hasContent(e)?a.state[s(e)]:(t=$.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)),$.all(J.map(e,function(t){return a.fetchContent(t[1]).then(function(e){t[0].resolve(e)})["catch"](function(e){t[0].reject(e)})}))):$.resolve()},a.fetchContent=function(t){var e=s(t);if(!(i=a.state[e])){var n,i={},r=t.getGuide();if(r.control)return $.resolve();r&&r.language&&(n=r.language);var r=t.guideId+t.id,o=J.extend({id:r,language:n},J.pick(t,"contentUrl","contentUrlCss","contentUrlJs","domJsonpUrl","domUrl"));i.promise=Pu.verify(o).then(function(){return i.verified=!0,qu.load(o)}).then(function(e){return i.loaded=!0,e}),a.state[e]=i}return i.promise.then(function(e){J.extend(t,e)})},a.hasContent=function(e){return x(e.content)||x(e.domJson)},a}(),Vu=function(){var e=y.runtime,a=[];function s(e,t,n){return J.filter(e,function(e){if(J.isFunction(e.script)){if(J.isFunction(e.test))try{return e.test(t,n)}catch(Ut){return Y.critical("Error in global script test code block",{error:Ut}),!1}return J.isRegExp(e.regex)?e.regex.test(n.name)||e.regex.test(t.name):!0}})}var i=fn.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,J.each(["read","write","clear"],function(t){this[t]=c[t],this[t+"ByGuide"]=function(){var e=J.first(arguments)+":"+J.get(n,"guide.id");return c[t].apply(this,[e].concat(J.rest(arguments)))}},this);var e=J.bind(function(){this.purge()},this);this.purge=J.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=Hn(t),n="on",r[e].fromUnmount&&(n="one"),i[n](e,t),this.purge=J.compose(this.purge,J.partial(i.off,e,t))):Y.info("GUIDE-RUNTIME: Warning! Unregisterable event type "+e)},{addGlobalScript:function(e){var t;t=e,!J.isFunction(t.script)||t.test&&!J.isFunction(t.test)||t.regex&&!J.isRegExp(t.regex)?Y.critical("Error adding invalid GlobalScript via API"):a.push(e)},removeGlobalScript:function(e){0<=(e=J.indexOf(a,e))&&a.splice(e,1)},getContext:function(e){return new t(e)},runCustomScripts:function(i,r){var t,n,o,e;J.each((t=i,n=r,o=[],J.isFunction(t.script)&&o.push(t.script),e=m.get("guides.globalScripts"),J.forEach([e,a],function(e){J.size(e)&&(e=s(e,t,n),J.each(e,function(e){o.push(e.script)}))}),o),function(e){try{var t=Vu.getContext(i);e.call(t,i,r)}catch(n){Y.critical("Exception thrown running code block for: "+V.stringify({guideId:r.id,stepId:i.id}),{error:n})}})}}}();function $u(e){return e.props&&e.props.id&&0===e.props.id.indexOf("pendo-g-")?e:e.children?J.find(e.children,function(e){return $u(e)}):void 0}function Zu(e,t){if(t(e))return e;if(e.children)for(var n=0;n<e.children.length;n++){var i=Zu(e.children[n],t);if(i)return i}return!1}function Yu(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=Yu(e,t.children[n]);if(i)return i}}var Xu=function(){return{buildNodesFromTemplate:function(e,t,n,i,r){var o=i||S(),a=r||I.BuildingBlockGuides.buildNodeFromJSON;switch(e){case"pendo_resource_center_module_list_item":return function(f,p,h,g){var e=f.templateChildren;return J.reduce(e,function(e,t,n){var i=ae.findResourceCenterHomeView(h),r=J.find(h,function(e){return e.id===t.id});if(I.designer)r=t,i=J.find(h,function(e){return J.get(e,"attributes.resourceCenter.isTopLevel")});else{if(!r)return e;if(!r.hasResourceCenterContent)return J.each(r.children,function(e){e=E(e);e&&e.control&&e.steps[0].onControlGuide("control")}),e}var o,a,s,u,d=V.parse(V.stringify(f)),c=(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"}),c=(d.props["data-localization-direction"]&&c.parameters.push({name:"transitionDirection",type:"string",value:d.props["data-localization-direction"]}),I.designer||d.actions.push(c),J.get(i,"attributes.notificationBubble")),l=J.get(i,"attributes.notifications");return c&&l&&("AnnouncementsModule"===J.get(r,"attributes.resourceCenter.moduleId")&&(o=r.id),o="chat"===J.get(r,"attributes.resourceCenter.integrationName")?"chat":o)&&(d.props["data-pendo-notification-id"]=o,l=d,r=c,c=o,o=(i=i).attributes.notifications.individualCounts[o],l=Zu(l,function(e){return e&&e.props&&e.props.id&&-1!==e.props.id.indexOf("pendo-row")}))&&(u=J.find(l.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=l.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[c]),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:vn(vn(vn({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"})}},l.children.splice(a+1,0,u)),d=m(d,t,d.props.id,n),e.concat(g(d,p,h))},[])}(t,n,o,a);case"pendo_resource_center_guide_list_item":return function(o,a,s,u){var e=o.templateChildren;return J.reduce(e,function(e,t,n){var i,r=h(s,t);return r?(i=V.parse(V.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=[]),r={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"},I.designer||i.actions.push(r),i=m(i,t,i.props.id,n),e.concat(u(i,a,s))):e},[])}(t,n,o,a);case"pendo_resource_center_onboarding_item":return function(s,u,d,c){var e=s.templateChildren;return J.reduce(e,function(e,t,n){var i,r,o,a=h(d,t);return a?(delete(i=V.parse(V.stringify(s))).templateChildren,i.props.id=i.props.id+"-"+n,i.actions||(i.actions=[]),r={action:"showGuide",source:i.props.id,destination:"EventRouter",parameters:[{name:"guideId",type:"string",value:a.id},{name:"reason",type:"string",value:"launcher"}],uiMetadata:{},eventType:"click"},I.designer||i.actions.push(r),r=a.getTotalSteps(),o=a.getSeenSteps(),a.isComplete()&&(o=r),a=parseInt(o/r*100,10),Zu(i,function(e){return e.svgWidgetId}).svgAttributes.fillCircle.percentComplete=a,t.hasOwnProperty("subtitle")?t.stepProgress=l(t.subtitle,{currentStep:o,totalSteps:r}):t.stepProgress="Step "+o+" of "+r,i=m(i,t,i.props.id,n),e.concat(c(i,u,d))):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=(J.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 Zu(e=m(e=V.parse(V.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=J.reduce(e,function(e,t){t=h(n,t);return t&&t.steps&&t.steps.length?e.concat(t):e},[]);if(!J.every(e,function(e){e=e.steps[0];return!!Ju.hasContent(e)}))return[];var t=ae.getResourceCenter(),p=J.get(t,"attributes.notificationBubble");p&&(delete p.dir,"rtl"===l.props["data-localization-direction"])&&(p.dir="rtl");return J.map(e,function(e,t){var n,i,r,o,a,s,u,d="whatsnew"===J.get(e,"attributes.type"),c=V.parse(V.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=Uu(r=e),(u=n.steps[0]).render(),Vu.runCustomScripts(u,n),i="#"+(n=u.guideElement)[0].id+" h1::after { display:none; }",n[0].appendChild(Ry.createElement("style")).innerHTML=i,d&&((o=g(d)).props.style.top="20px"),!ae.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=Uu(t=e),s=t.steps[0],Vu.runCustomScripts(s,u),u=V.parse(V.stringify(s.domJson)),d.children=[u],r&&(a=g(r),u=Zu(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"),!ae.hasAnnouncementBeenSeen(t)&&a&&(d.props["class"]+=" pendo-unseen-announcement",d.children.unshift(a)),delete d.templateName,(u=Yu("pendo-guide-container",d))&&(u.props.id=u.props.id+"-"+s.id),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():J.find(n,function(e){return e.id===t.guideId}),o=J.get(r,"attributes.dates."+r.language,!1);o=o?{showsAfter:o}:(o=J.get(r,"showsAfter")||J.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=m(r=V.parse(V.stringify(e)),o),[i(r,t,n)]}(t,n,o,a);default:return[]}},generateUnreadAnnouncementMiniBubble:g,getGuidesInResourceCenterModule:function(e,i){e=e.attributes.resourceCenter.children;return J.reduce(e,function(e,t,n){t=h(i,t);return t&&e.push(t),e},[])}};function l(e,n){return e.replace(/<%=\s*([A-Za-z_0-9$]+)\s*%>/gi,function(e,t){return J.isNull(n[t])||J.isUndefined(n[t])?e:n[t]})}function m(e,t,n,i){if(e.content&&(e.content=l(e.content,t)),e.props&&e.props.id&&(0<=e.props.id.indexOf("pendo-right-caret")&&(e.props["aria-labelledby"]=n),i!==Ly)&&e.props.id!==n&&(e.props.id=e.props.id+"-"+i),e.children)for(var r=0;r<e.children.length;r++)m(e.children[r],t,n,i);return e}function h(e,t){e=J.find(e,function(e){return e.id===(t.id||t)});if(I.designer)return t;if(e){if(!e.ineligibleForRC)return e;e.control&&e.steps[0].onControlGuide("control")}}function g(e){var t={left:"0px"};return"rtl"===e.dir&&(t={right:"0px"}),{type:"div",children:[],props:{"class":"pendo-unread-announcement-mini-bubble",style:vn(vn({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"})}}}}(),Qu=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 _e(9)?(n=(t=(t=e).svgAttributes).fillCircle.stroke,i=t.backgroundCircle.stroke,t=100<=(t.fillCircle.percentComplete||0),r=Q(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=Q(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=Q(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)}}(),ed=function(e,t){return e<t},td=J.negate(ed);function nd(e){return{top:0,left:0,right:e.width,bottom:e.height,width:0,height:0}}function id(){var e=Gr();return rr(e)?ie(e):((e=Or()).left=0,e.top=0,e.right=e.width,e.bottom=e.height,e)}function rd(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 od(e){var t;if(e&&e.length)return t=rr(Gr())?ie:sr,(e=J.reduce(e,function(n,e){var i;return to(e)?(i=t(e))?(J.each([["top",ed],["right",td],["bottom",td],["left",ed]],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 ad(e,t){var n=id(),e=od(e)||nd(n);return{viewport:n,box:e,overlays:rd(n,e,t)}}function sd(e){var t=[],n=J.get(e,"attributes.blockOutUI",{});if(n.additionalElements=n.additionalElements||"",n.enabled&&e.element!==Gr()){t.push(e.element);for(var i=n.additionalElements.replace(/\s/g,"").split(","),r=0;r<n.additionalElements.length;r++)try{var o=Q(i[r]);o&&J.each(o,function(e){t.push(e)})}catch(Ut){Y.info("Additional element for blockOutUI is invalid selector",{contexts:["error"]})}}return t}var ud=null,dd=function(e){var t=!J.isEqual(e,ud);return ud=e,t},cd=null,ld=function(e){var t=!J.isEqual(e,cd);return cd=e,t},fd=null,pd=function(e){var t=!J.isEqual(e,fd);return fd=e,t};function hd(e){try{var t=ad(sd(e),J.get(e,"attributes.blockOutUI.padding",{left:0,right:0,top:0,bottom:0}));(ld(t.viewport)||dd(t.box)||pd(t.overlays))&&J.each(e.backdrop.children,function(n){var e=n.getAttribute("pendo-region"),e=t.overlays[e];J.each(e,function(e,t){n.style[t]=e+"px"})})}catch(Ut){Y.info("Failed to update BlockOut ui",{contexts:["error"]})}}function gd(e){try{var t,n,i,r;if(!vd())return t=ad(sd(e),J.get(e,"attributes.blockOutUI.padding",{left:0,right:0,top:0,bottom:0})),n={"z-index":1e4,position:"fixed"},i=[],J.each(t.overlays,function(e,t){t=md(t,J.extend({},e,n));i.push(t)}),r=yd(i,e),e.backdrop=r[0],r}catch(Ut){Y.info("Failed to add BlockOut ui",{contexts:["error"]})}}function md(e,t){var n=Q("div.pendo-backdrop-region-"+e);return n.length||(n=Q(Ry.createElement("div")).addClass("pendo-backdrop-region-"+e)),Q(n).css(t).attr("pendo-region",e),n}function vd(){return 0<Q("._pendo-guide-backdrop_").length}function yd(e,t){var r=Yu("pendo-backdrop",t.domJson),o=(J.each(["left","right","width","height","bottom","top"],function(e){delete r.props.style[e]}),Q(Ry.createElement("div")).attr("id","pendo-backdrop").addClass("_pendo-guide-backdrop_"));return J.each(r.props,function(n,i){J.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 bd="top",wd="bottom",Sd="left",Id="right",xd="center";function Ed(e,t,n){return n===Id||n===Sd?n:(n=e.left,(t=(e=t.width)/3)<n&&n<2*t?xd:n<e/2?Id:Sd)}function Cd(e,t,n){return n===bd||n===wd?n:(n=e.top,(t=(e=t.height)/3)<n&&n<2*t?xd:n<e/2?wd:bd)}var _d=function(){return{createBBTooltip:i,getBBTooltipDimensions:f,determineBBHorizontalBias:Ed,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=$u(e.domJson),(t?e.guideElement:e.guideElement.find("#"+n.props.id))[0]}(e);t&&(i=e.element||Iu(e),n=ne(i),"none"!==te(e.elements[0]).display)&&(i=sr(i),a=e.attributes.layoutDir,e=e.guideElement,r=Q(t).find("#pendo-guide-container"),o=r[0].style,t=te(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||!J.isObject(e.domJson)||!(e=$u(e.domJson))||"Relative to Element"!==e.props["data-vertical-alignment"])},positionStepForTooltip:function(e,t,n){i(t,e.element,e,n),e.hasBeenScrolledTo||(io(e.element),Cu(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(wu()?mu:gu),0===(o=ne(t)).height&&0===o.width?null:(t=sr(t),(e=Zu(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&&J.isFunction(n.getGuide)&&(s=n.getGuide()),u=J.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===Sd&&r.find("#pendo-watermark").css({top:"auto",bottom:"100%"}),c(n,y),r[0]):void 0)}function c(e,t){e&&J.isFunction(e.attachEvent)&&(bu()&&e.element===Q.getBody()||e.attachEvent(Ay,"scroll",J.throttle(J.bind(t,e,e),10),!0))}function t(t,n){var e=Q(n.elementPathRule)[0];n.attachEvent(e,t,function(e){Q.data.set(e,"advanced",!0),np(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=Or(),i=i||"auto",t={width:Math.min(t.width,o.width),height:t.height},r=(t.layoutDir=i,t.hbias=Ed(e,o,i),t.vbias=Cd(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===xd)&&(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!==xd&&(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=Or();return e.style["border-left"]=n.width+"px solid transparent",e.style["border-right"]=n.width+"px solid transparent",e.style.right="",t.hbias===Sd?(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===Id?(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=Or();return e.style["border-top"]=n.width+"px solid transparent",e.style["border-bottom"]=n.width+"px solid transparent",e.style.bottom="",t.vbias===bd?(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===wd?(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"),J.extend(e.style,r)}function v(e,t){return"transparent"===e?e:t}function y(e){to(e.element)?(_d.placeBBTooltip(e),Q(e.elements[0]).css({display:"block"})):Q(e.elements[0]).css({display:"none"})}}();function Td(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 Ad(e){var t,n,i,r,o,a,s,u,d,e=Q("#"+e)[0];e&&(t=Q(e),n=Q(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(te(e).height,10),s=Or().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 Rd(e){e=Q("#"+e)[0];if(e){var t=e.getAttribute("data-pendo-mobile-layout");if(!t){var n=Q(e),t=Q(n.find("#pendo-guide-container")[0]),i=parseInt(e.style.width,10),r=(t.css({"max-width":"none"}),n.css({"margin-right":"0px"}),parseInt(te(e).width,10)),o=Or().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 Ld(e){var e=Q("#"+e)[0];e&&!e.getAttribute("data-pendo-mobile-layout")&&(Od(e=Q(e).find("#pendo-guide-container")[0]),kd(e),Nd(e))}function Od(e){e=Q(['[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&&J.each(e,function(e){var t,e=Q(e),n=Dd(e[0]),n=n.marginLeft+n.marginRight,i=Fd(e);i&&(t=i.paddingLeft+i.paddingRight,Md(e,i.width-n-t))})}function kd(e){e=Q("._pendo-open-text-poll-input",e);e&&e.length&&J.each(e,function(e){var t,n=Q(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)),Dd(n[0])),r=e.marginLeft+e.marginRight,o=Fd(n);o&&(t=o.paddingLeft+o.paddingRight,o=o.width-r-t,-1!==i.indexOf("%")&&Pd(n,e.width,i,o),-1===i.indexOf("%")&&(i=parseInt(i,10))<o&&n.css({width:i}),Md(n,o))})}function Nd(e){e=Q(["._pendo-video","._pendo-image"].join(","),e);e&&e.length&&J.each(e,function(e){var t=Q(e),n=Dd(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=Fd(t);o&&(a=o.width-(o.paddingLeft+o.paddingRight)-n,e&&Pd(t,i,r,a),Md(t,a))})}function Md(e,t){e.css({"max-width":"none"}),t<=Dd(e[0]).width&&e.css({"max-width":t})}function Pd(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 Fd(e){e=e.closest("._pendo-row");if(e){e=te(e[0]);if(e)return{width:parseFloat(e.width),paddingLeft:parseInt(e.paddingLeft,10),paddingRight:parseInt(e.paddingRight,10)}}}function Dd(e){e=te(e);return{width:parseFloat(e.width),marginLeft:parseInt(e.marginLeft||0,10),marginRight:parseInt(e.marginRight||0,10)}}var oe=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 J.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 J.filter(e,t)},getPendoVisualElements:function(e){return J.filter(e,function(e){return!t(e)})},initializeFlexElements:function(e){var t=e.cloneNode(),n=a(e),i=oe.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(oe.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":oe.spaceBetween(e,t);break;case"space-around":oe.spaceAround(e,t);break;case"space-evenly":oe.spaceEvenly(e,t);break;case"center":oe.center(e,t);break;case"flex-start":oe.flexStart(e);break;case"flex-end":oe.flexEnd(e,t)}},setElementVerticalAlignment:function(e,t,n){switch(n){case"top":oe.topAlignment(e);break;case"center":oe.centerAlignment(e,t);break;case"bottom":oe.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=J.get(e.style,"width",""),s=te(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)||te(e.children[0]).width);i&&0<=i.indexOf("_pendo-resource-center-onboarding-module-guide-complete-circle-container")&&(s=parseInt(te(t).width,10),d=parseInt(te(e).width,10)+parseInt(e.style.marginRight||0,10)+parseInt(e.style.marginLeft||0,10),t=(Q(t).find("._pendo-simple-text").getParent()||Q(n).find("._pendo-simple-text").getParent())[0],n=s-d,"border-box"!==J.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=oe.createFlexContainer(o)).appendChild(e),-1<e.id.indexOf("pendo-text")&&"rtl"===e.dir&&(s.style.right="0px"),d=J.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 J.filter(e,function(e){e=e.getAttribute("class")||"";return e&&-1<e.indexOf("pendo-mock-flexbox-element")})}(e.children);0!==r.length&&(i=oe.getRowWidth(e),r=oe.wrapFlexElementsInFlexRows(r,e,i),oe.formatFlexRows(r,e,t,n,i))},getRowWidth:c,wrapFlexElementsInFlexRows:function(e,t,n){for(var i=n||c(t),r=oe.createFlexRow(),o={row:r,rowWidthUsed:0},a=[o],s=0;s<e.length;s++){var u=e[s],d=parseInt(te(u).width,10);o.rowWidthUsed+=d,o.rowWidthUsed>i&&0!==J.indexOf(e,u)&&(o.rowWidthUsed-=d,(r=oe.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),oe.findMaxChildHeight(s.row.children,!1)),d=(s.row.style["min-height"]=u+"px",o-parseInt(s.rowWidthUsed,10));oe.setElementHorizontalAlignment(s.row.children,d,n),oe.setElementVerticalAlignment(s.row.children,u,i)}},isElementHiddenInGuide:u,flexAllThings:function(e){e=Q("#"+e)[0];e&&(n(e),oe.flexElement(e))},flexElement:function(e){e=Q("[data-pendo-display-flex]",e);J.each(e,function(e){var t=oe.initializeFlexElements(e),n=e.getAttribute("data-pendo-justify-content"),e=e.getAttribute("data-row-vertical-alignment");oe.initializeFlexRows(t,n,e)})},maintainAspectRatios:n};function a(e){return Q(["._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"]','[id^="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=te(e);return parseInt(e.width,10)-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10)}function u(e){o(e);var t=ie(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=Q("["+n+"]",e);J.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")})}}(),Ud;function Gd(){return!I.designer&&m.get("disableGuidePseudoStyles")}function Bd(e,t,n){return e&&e.templateName?Xu.buildNodesFromTemplate(e.templateName,e,t,n,jd):"style"===e.type&&Gd()?[]:[jd(e,t,n)]}function zd(e,t,n,i){e='illegal building block key "'+e+'" found on guide "'+t+'" step "'+n+'"';throw i&&(e+=' for node type "'+i+'"'),Y.info(e),new Error(e)}function Hd(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,loading:!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=J.keys(n);return J.reduce(e,function(e,t){return s[o]&&s[o][t]&&zd(t,r,i,o),a[t]||u.test(t)||d.test(t)||zd(t,r,i),e[t]=n[t],e},{})}function jd(n,i,e){i=i||{id:"unknown",guideId:"unknown"},n.props=Hd(n.props,i.id,i.guideId,n.type);var t,r=Q(Ry.createElement(n.type));if(Ry.createElement("div").appendChild(r[0]),"script"===r[0].tagName.toLowerCase())return Q(Ry.createElement("noscript"));if("pendo-backdrop"===(n.props&&n.props.id))return i.attributes&&i.attributes.blockOutUI&&i.attributes.blockOutUI.enabled&&(t=J.throttle(J.partial(hd,i),10),i.attachEvent(Ay,"scroll",t,!0)),gd(i);if(J.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&&(I.designer||(n.css=Jd(n.css)),r.styleSheet?r.styleSheet.cssText=Vd(n.css):r.text(Vd(n.css))),n.svgWidgetId&&Qu.buildSvgNode(n.svgWidgetId,n).appendTo(r),n.actions&&n.actions.length)for(var o,a=0;a<n.actions.length;a++)qd(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(J.find(n.actions,function(e){return"dismissGuide"===e.action})&&!i.hasEscapeListener&&(i.hasEscapeListener=!0,i.attachEvent(Ay,"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=Bd(n.children[s],i,e);J.each(u,function(e){e&&"STYLE"===e[0].tagName?(Q.addClass(e[0],"pendo-style-".concat(i.isBadge?i.guideId:i.id)),e.appendTo(Ry.head)):e&&e.appendTo(r)})}return r.hasClass("pendo-code-block")?r.find("img").each(function(e){Wd(e,i)}):Wd(r[0],i),r}function Wd(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(),a=e.className&&0<=e.className.indexOf("_pendo-video");("img"===o&&i&&!n&&!r||"iframe"===o&&t&&!a)&&"lazy"!==e.getAttribute("loading")&&(t.attributes&&!t.attributes.imgCount?t.attributes.imgCount=1:t.attributes&&t.attributes.imgCount&&t.attributes.imgCount++,Kd(Q(e),t))}function Kd(e,i){e.on("load",function(){var e,t={},t=(!i.containerId&&i.domJson&&(t=$u(i.domJson)),i.containerId||t.props&&t.props.id||""),n=t&&Q("#"+t)[0];i&&i.attributes&&i.attributes.imgCount&&(i.attributes.imgCount--,n)&&i.attributes.imgCount<=0&&(Rd(t),Ld(t),oe.flexAllThings(t),e=i.getGuide(),J.get(e,"attributes.isAnnouncement")||"AnnouncementsModule"===J.get(e,"attributes.resourceCenter.moduleId")||(Ad(t),(e=n.children.item("pendo-guide-container"))&&e.style&&"auto"===e.style.overflow&&(Ld(t),oe.flexAllThings(i.containerId))),"tooltip"===i.attributes.calculatedType&&_d.positionStepForTooltip(i,i.domJson,n),n.style.visibility="visible",n.parentNode.style.visibility="visible",Q.event.dispatch(n,{type:"imagesLoaded"}))}),e.on("error",function(){var e=Q("#"+i.containerId)[0];e?("tooltip"===i.attributes.calculatedType&&_d.positionStepForTooltip(i,i.domJson,e),e.style.visibility="visible",e.parentNode.style.visibility="visible"):Y.info("Failed to find guideContainer for id: "+i.containerId)})}function qd(n,i,r){n.on(i.eventType,function(e){var t;i.designerAction?I.designerv2&&I.designerv2.designerActions&&I.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 Jd(e){for(var t=["button:focus"],n=[],i=0;i<e.length;i++)J.contains(t,e[i].selector)||n.push(e[i]);return n}function Vd(n){for(var i="",r=0;r<n.length;r++)i+=n[r].selector+"{",n[r].styles instanceof Array?i+=Vd(n[r].styles):J.each(n[r].styles,function(e,t){i+=t+":"+e,n[r].selector.match(/\d+%/)||(i+="!important;")}),i+="}";return i}function $d(t){J.each(Ry.head.childNodes,function(e){e&&Q.hasClass(e,"pendo-style-".concat(t))&&Fr(e)})}var Zd=function(){var e=Ay.navigator;return((J.isArray(e.languages)?e.languages[0]:e.language||e.browserLanguage||e.systemLanguage||e.userLanguage)||"").split("-").join("_")},Yd="meta",Xd=function(e){return void 0!==(e="object"==typeof e?Et(e):e)&&e.toString&&(e=e.toString()),""+(J.isNumber(Ud)?Ud:c.read(Yd))!==e},Qd=J.compose(V.parse,V.stringify),ec=function(e){var t=J.extend({},e.visitor),n=J.extend({},e.account),e=J.extend({},e.parentAccount);return t.id===Ln&&(Y.info("Missing visitor id."),delete t.id),_n(n.id)&&_n(e.id)&&(Nn(n.id)?e.id=n.id.split(kn)[0]:n.id=""+e.id+kn+n.id),_n(n.id)&&(n.id=""+n.id),_n(t.id)?t.id=""+t.id:t.id=X(),t.language=Zd(),{visitor:Qd(t),account:Qd(n),parentAccount:Qd(e),date:tc(),version:I.VERSION}},tc=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()},nc=function(e){return e&&0<J.keys(e).length},ic=function(e){var t,n,i,r;return nc(e)?(e.jwt&&e.signingKeyName&&(t=oa.getJwtOptions(e,"updateOptions"))&&(oa.set(J.pick(e,"jwt","signingKeyName")),e=t),e=ec(e),Z.getters["metadata/selfHosted"]()&&(e.selfHosted=!0),t=J.clone(dc()),m.setLocalConfig(J.extend({},m.getLocalConfig(),e)),Z.commit("metadata/setMetadata",e),n=dc(),_n(e.visitor.id)&&(I.identify(e.visitor.id,e.account.id),e.visitor.id=X(),e.account.id=Dn()),i=Et(e),r=Xd(i),Ud=i,r&&c.write(Yd,i),{options:e,hashChanged:r,storeChanged:!J.isEqual(t,n)}):{}},rc=Hn(function(e){e=ic(e);y.metadata.trigger(e)}),oc=Hn(function(e,t){J.isObject(e)?rc(e):Pn(e,t)}),ac=function(){var e=Q("script");return sc(e)&&"extension"!==Ie()},sc=function(e){var t=new RegExp("/agent/static/"+I.apiKey+"/pendo\\.js$");return!J.any(e,function(e){return t.test(e.src)})},uc=function(){var e=m.get("blockAgentMetadata");return e!==Ly&&e};function dc(){return Z.getters["metadata/metadata"]()}function cc(){return V.parse(V.stringify(dc()))}function lc(e){var t=e.data[0],n=m.getLocalConfig();zn(e)?(Rn([Yd]),Z.commit("metadata/reset",t)):(n.visitor=J.extend({},n.visitor,{id:t.visitor_id}),n.account=J.extend({},n.account,{id:t.account_id}),m.setLocalConfig(n),Z.commit("metadata/setMetadata",n))}y.identify.on(lc);var fc={Launcher:{addBehavior:J.noop},Metadata:{getMetadata:dc},Util:{documentScrollTop:er,documentScrollLeft:tr,getOffsetPosition:ne},Events:y,JWT:{getJWT:oa.get}};function pc(e,t){var n=fc[e]||{};J.extend(n,t),fc[e]=n}var hc={},gc=function(n){var t=[],i=[],r={};function o(t){var e;return!!J.every(["name","version","use","type","uri"],J.partial(J.has,t))&&(e=t.use,e=r[e]?r[e].validators:[],J.every(J.map(e,function(e){return e(t)})))}function a(e){var t;return"behavior"===e.use?!!e.uri(n,fc)&&(i.push(e),!0):(t=e.use,!!(t=r[t]?r[t].handler||J.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 J.find(i,function(e){return J.contains(e.tags,t)})},n.findExtensionByName=function(e){return J.findWhere(i,{name:e})},n.filterExtensionsByUse=function(t){return J.filter(i,function(e){return e.use===t})},n.findExtensionByNameAndProvider=function(t,n){return J.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 J.reduce(i,function(e,t){return t.frame&&t.frame[0]&&e.push(t.frame[0]),e},[])},function(e){e=[].concat(e),(e=J.filter(e,o)).length&&(t=function n(e){if(!e.length)return e;var t=J.filter(e,a);if(t.length)return n(J.difference(e,t));return e}(t.concat(e)))}}(hc),ae=function(){return{initializeResourceCenter:function(r){if(!(p=d(r)))return $.resolve();if(Z.getters["frames/isShownInAnotherFrame"]()(p.steps[0]))return $.resolve();if(ae.isFullyCustom(p))return p.hasResourceCenterContent=!0,$.resolve();var e=c(p,r),t=J.reduce(e,function(e,t){return u(t)?e.concat(t.steps[0].fetchContent()):e},[]);return t.push(Fu.validate(p).then(J.noop,function(){p.launchMethod="api"})),p.attributes.notifications={totalUnseenCount:0,individualCounts:{chat:0}},J.forEach(i(),function(e){var t=hc.findExtensionByNameAndProvider("chat",e),t=(t&&w(e,t),hc.findExtensionByNameAndProvider("helpcenter",e));t&&w(e,t)}),J.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),J.reduce(n,function(e,t){var n=J.find(r,function(e){return e.id===t});return n?e.concat(n):e},[]));"AnnouncementsModule"===i&&(p.attributes.notifications.individualCounts[t.id]=0,J.forEach(e,function(e){P(e)||e.isControlGroup()||p.attributes.notifications.individualCounts[t.id]++}));-1<J.indexOf(["GuideListModule","OnboardingModule","AnnouncementsModule"],i)&&J.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,$.all(t)},findResourceCenterHomeView:d,findResourceCenterModules:c,replaceResourceCenterContent:n,renderResourceCenterModule:function(e,t){n(e.id,Ly,!0,t)},showHomeViewOrEmptyState:function(e){Q("#pendo-resource-center-container._pendo-guide-walkthrough_").remove(),delete e.activeModule,e.hasResourceCenterContent&&e.skipResourceCenterHomeView?ae.replaceResourceCenterContent(e.moduleIdToReplaceHomeViewWith,[{value:"none"},{value:"left"}]):e.showEmptyState&&(ae.showResourceCenterEmptyState(),J.each(e.controlGuidesInAllModules,function(e){e.hasGuideBeenControlled()||e.steps[0].onControlGuide("control")}))},showResourceCenterEmptyState:function(){var e=Q("#pendo-resource-center-empty-state-container");e&&e.length&&Q(e[0]).css({display:"block"})},launchIntegrationByNameAndProvider:function(e,t,n){var e=hc.findExtensionByNameAndProvider(e,t);return e?(n=Q(n))?((e=e.getFrame()).appendTo(n),void e.css({display:"block"})):Y.info("could not find target element for "+t+" integration"):Y.info(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=ae.getResourceCenterContainer())&&(e=Q(e).find('iframe[id^="_pendo-launcher-ext-frame-chat"]'))&&e.length&&e.each(function(e){e=Q(e);e.css({display:"none"}),e.appendTo(re())})},getResourceCenter:t,getResourceCenterContainer:_,getResourceCenterBadge:r,addNotificationBubbleToResourceCenterBadge:B,addNotificationBubbleToTargetElement:z,updateNotificationBubbles:function(){var e=p,t=J.get(e,"attributes.notifications");if(t){var n=L(t.individualCounts);if(n<=0)n!==t.totalUnseenCount&&W(),t.totalUnseenCount=n;else{O();var i=n!==t.totalUnseenCount;if(i||!A(s)){if("badge"===e.launchMethod){i=r();if(!i)return;B(i.element(),e.attributes.notificationBubble,n)}if("dom"===e.launchMethod&&J.get(e,"attributes.activation.selector")){i=Q(e.attributes.activation.selector);if(!i.length)return;z(i[0],e.attributes.notificationBubble,n),ee(Ay,"resize",J.debounce(R,50))}t.totalUnseenCount=n}}}},removeNotificationBubble:W,updateNotificationBubbleCount:M,updateNotificationBubbleOnHomeView:D,updateOrCreateNotificationBubble:k,hexToRgb:T,doesIntegrationExist:f,calculateTotalNotificationCount:L,updateNotificationBubblesOnHomeView:O,createNotification:H,appendNotificationBubble:j,hasAnnouncementBeenSeen:P,clearAnnouncementUnseenInterval:l,createAnnouncementUnseenInterval:g,findShownResourceCenterModule:function(){var e=ae.getResourceCenterContainer();if(e){e=Q(e).find('[id^="pendo-g-"]');if(e){var t=e.attr("data-pendo-guide-id"),e=J.find(uu(),function(e){return e.id===t});if(J.get(e,"attributes.resourceCenter.isModule",!1))return e}}},dismissResourceCenter:K,repositionResourceCenter:function(){var e=ae.getResourceCenterContainer(),t=ae.getResourceCenterBadge();{var n;e&&t&&(t=ae.findResourceCenterHomeView(uu()).steps[0],n=J.get(t,"domJson.props.style.height"),n=parseInt(n,10),n=isNaN(n)?0:n,i=parseInt(J.get(t,"domJson.props.style.bottom",0),10),t=parseInt(J.get(t,"domJson.props.style.top",0),10),i=isNaN(i)?0:i,t=isNaN(t)?0:t,(i=Or().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=Q(e).find('[data-pendo-grow-height="true"]')[0];i&&Td(i,e)},repositionDoubleResourceCenterBadge:function(){var e,t,n;Z.getters["frames/isLeader"]()&&1<(e=J.unique(J.compact([].concat(J.toArray(Q("._pendo-resource-center-badge-container"))).concat(J.toArray(Q("._pendo-resource-center-badge-container")))))).length&&function(e){var t=ie(e[0]),e=ie(e[1]);return jr(t,e)}(e)&&(t=ne(e[0]).width+5,n=ne(e[1]).left-t<0?"":"-",e[1].style.transform="translateX("+n+t+"px)")},resourceCenterIgnoreRtl:function(){return J.get(this.getResourceCenterBadge(),"ignoreRTL",!1)},adjustResourceCenterWidth:function(e){var t=_();if(t){r=Or().width,o=Q(t),e=Q(e||o.find('[id^="pendo-g-"]')[0]),o.css({"max-width":"none"}),e.css({"max-width":"none"}),i=parseInt(te(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=Q('button[id^="pendo-a11y-list-item-button-block"]');if(n&&n.length)for(var i=Q("ol._pendo-text-list-ordered")[0],r=0,e=0,i=(i&&(i=te(i),e=parseInt(i.paddingLeft,10),r=parseInt(i.paddingRight,10)),Q('[id^="pendo-onboarding-guide-progress-circle"]')[0]),o=0,a=0,s=0,u=(i&&(i=te(i),o=parseInt(i.width,10),a=parseInt(i.marginRight,10),s=parseInt(i.marginLeft,10)),e+r+o+s+a),d=parseInt(te(t[0]).width,10),c=0;c<n.length;c++){var l=n[c],f=Q(l),l=(f.css({"max-width":"none"}),te(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(J.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!ae.isSupportedNativeIntegration(e.integrationProvider)||ae.isProviderInstalled(e.integrationProvider)},fetchAnnouncementGuidesContent:function(e,t){var n=d(e);if(!n)return $.resolve();if(t.getters["frames/isShownInAnotherFrame"]()(n.steps[0]))return $.resolve();if(ae.isFullyCustom(n))return $.resolve();var t=c(n,e),i=[],r=J.indexBy(e,"id");return J.each(t,function(e){var e=e.attributes.resourceCenter;"AnnouncementsModule"===e.moduleId&&(e=e.children,e=J.reduce(e,function(e,t){t=r[t];return t?e.concat(t):e},[]),J.each(e,function(e){u(e)&&i.push(e.steps[0].fetchContent(!0))}))}),$.all(i)},setFocusForResourceCenterModule:function(e,t){var n;"HomeViewModule"===e[0].getAttribute("data-layout")?t&&(e=Q('[data-pendo-module-guide-id="'+t+'"]'),n=e.find('button[id^="pendo-right-caret-"]')[0]):(t=Q('[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"===J.get(t,"data-localization-direction",!1),e=J.get(e,"attributes.badge.ignoreRTL",!1);n&&e&&!t["data-direction-changed"]&&(n=J.get(t,"style.left",!1),e=J.get(t,"style.right",!1),n)&&e&&(t.style.left=e,t.style.right=n,t["data-direction-changed"]=!0)},stashBadgeAriaLabel:U,resetBadgeAriaLabel:function(){var e=ae.getResourceCenterBadge();{var t;e&&(e=e.element(),t=e.getAttribute("data-pendo-stashed-aria-label"))&&e.setAttribute("aria-label",t)}},getNotificationBubbleAriaLabelAttribute:G,updatePseudoStyleSelectors:q};var p,e,h,s,o,a;function u(e){return e.steps&&e.steps.length&&J.isFunction(e.steps[0].fetchContent)}function d(e){var e=J.filter(e,function(e){return J.get(e,"attributes.resourceCenter.isTopLevel")&&!e.isFrameProxy}),t=J.find(e,function(e){return"staged"===e.state});return t||e[0]}function c(t,e){return J.filter(e,function(e){return e&&!e.isFrameProxy&&J.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=Q(e).find('[id^="pendo-g-"]')[0];if(a){var s,u=a.getAttribute("data-pendo-guide-id"),d=J.find(uu(),function(e){return e.id===t}),c=(t!==p.id?($d(J.get(p.activeModule||p,"steps.0.id")),p.activeModule=d):(s=p.activeModule,$d(J.get(s,"steps.0.id")),delete p.activeModule),J.get(d,"attributes.resourceCenter.integrationProvider")),c=(v(c)&&C(c),d.steps[0]),l=q(c,c.domJson),l=(l.props["data-pendo-guide-id"]=d.id,jd(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&&(Q(a).remove(),s)&&s.steps&&s.steps.length&&(s.steps[0].elements.length=0),Q(f).appendTo(e),c.guideElement=Q(e),c.elements.push(c.guideElement[0]),ae.adjustResourceCenterWidth(f),"AnnouncementsModule"===F(d)&&c.guide.guidesInModule?J.forEach(c.guide.guidesInModule,function(e){var t;J.isUndefined(e.steps[0].attributes.imgCount)&&(t=e.steps[0].id,Ld("pendo-g-"+(t=Q(f).find("#pendo-g-"+t)[0]?t:e.id)),oe.flexAllThings("pendo-g-"+t))}):oe.flexAllThings("pendo-resource-center-container"),Q(f).find('[data-pendo-grow-height="true"]')[0]);if(r&&Td(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"),Ay.setTimeout(function(){Q(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=Xu.getGuidesInResourceCenterModule(d,uu()),(n=J.reduce(r,function(e,t){return t.steps&&t.steps.length&&Ju.hasContent(t.steps[0])||e.push(t.fetchContent()),e},[])).length)&&((o=function(){var i,e,t;if(J.isFunction(Ry.createElementNS))return i="http://www.w3.org/2000/svg",e=function(e,t){var n=Q(Ry.createElementNS(i,"circle")).attr({cx:e,cy:t,fill:"#9a9ca5",r:5});return J.each(J.toArray(arguments).slice(2),function(e){n.append(e)}),n},t=function(e){return Q(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=Q(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"))),Q(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),$.all(n).then(function(){var e=$.defer();return setTimeout(e.resolve,500),e.promise}).then(function(){p.activeModule===d&&ae.renderResourceCenterModule(d,i)})),ae.setFocusForResourceCenterModule(l,u),i&&c.onShown("launcher"),l}}}}function l(){Ay.clearInterval(e),e=null}function g(){e=e||Ay.setInterval(function(){var e=_();if(!e)return l();e=Q(e).find('[data-layout="AnnouncementsModule"]');if(!e.length)return l();var t=Q(e).find('ol[id^="pendo-list"]');if(!t.length)return l();var n=ie(t[0]),i=Q(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=ie(i[i.length-1]).bottom-30<n.top+n.height,s=0;s<i.length;s++){var u=i[s];if(ie(u).top-n.top>n.height-o&&!a)break;Q(u).removeClass("pendo-unseen-announcement");var d=Q(u).find(".pendo-unread-announcement-mini-bubble"),c=(_e(10)?Q(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"),Q(u).attr("data-pendo-announcement-guide-id")),d=J.find(uu(),function(e){return e.id===c});if(!d)break;P(d)||r--,d.steps[0].seenState="advanced",yp(d.id,d.steps[0].id,X(),"whatsnew",d.language,{last_updated_at:d.steps[0].lastUpdatedAt}),Sp(d.id,d.steps[0].id,X(),"advanced",d.language)}M(r,t)},500)}function f(e,t){return hc.findExtensionByNameAndProvider(e,t)}function m(e,t){e=hc.findExtensionByNameAndProvider(e,t);if(!e)return Y.info(t+" integration has not been loaded into the agent");v(t)&&y(t)?p.hasEligibleNativeIntegrationModule=!0:(Hr((t=e.getFrame())[0])||t.appendTo(re()),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))&&J.isFunction(Ay[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)?S(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(Ay,i,{get:function(){return r},set:function(e){r=e,J.forEach(o[i],function(e,t){var n=e.integrationObj;!e.installed&&y(t)&&(e.installed=!0,S(t,n),m(n.name,t),J.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 S(e,t){switch(e){case"zendesk-chat":case"zendesk-native-kb":r=(i=t).data.provider.name,i=x(i),I(r,"webWidget","hide"),I(r,"webWidget","updateSettings",{webWidget:{navigation:{popoutButton:{enabled:!1}},position:{vertical:i?i[0]:"bottom",horizontal:i?i[1]:"right"}}}),I(r,"webWidget:on","close",function(){I(r,"webWidget","hide"),E()}),I(r,"webWidget:on","chat:unreadMessages",function(e){M(e,"chat")});break;case"zendesk-messaging":i=t;I(i=i.data.provider.name,"messenger","hide"),I(i,"messenger:on","close",function(){E()}),I(i,"messenger:on","unreadMessages",function(e){M(e,"chat")});break;case"intercom-chat":var n=t;n=x(n),Ay.intercomSettings||(Ay.intercomSettings={}),Ay.intercomSettings.hide_default_launcher=!0,Ay.intercomSettings.alignment=n?n[1]:"right",Ay.Intercom("update",{hide_default_launcher:!0,alignment:n?n[1]:"right"}),Ay.Intercom("onHide",function(){E()});break;case"drift-native-chat":Ay.drift.on("ready",function(e){Ay.drift.hide();var t=dc();Ay.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)),Ay.drift.on("message",function(e){if(!p.isNativeModuleActive)return M(1,"chat")})}),Ay.drift.on("chatClose",function(e){M(0,"chat"),Ay.drift.hide(),E()})}var i,r}function I(e){for(var t,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];try{a&&a[e]||Ay.zE.apply(null,n)}catch(r){a?a[e]=!0:((t={})[e]=!0,a=t)}}function x(e){e=J.get(e,"data.options.labels.position");return e=e&&e.split("-")}function E(){K(p.activeModule),delete p.activeModule,p.continueToNativeModule=!1}function C(e,t){if(e){var n=dc();if(p.isShown()&&p.hide(),a&&a[e])Y.info(e+" integration failed to communicate with API, closing"),ae.replaceResourceCenterContent(p.id,Ly,!0),E();else{var i=r();switch(i&&i.hide(),e){case"zendesk-messaging":I(e,"messenger","show"),I(e,"messenger","open");break;case"zendesk-native-kb":I(e,"webWidget","updateSettings",{webWidget:{helpCenter:{suppress:!1},chat:{suppress:!0}}}),I(e,"webWidget","show"),I(e,"webWidget","open");break;case"zendesk-chat":I(e,"webWidget","updateSettings",{webWidget:{chat:{suppress:!1},helpCenter:{suppress:!0}}}),Ay.$zopim.livechat.window.show(),n&&n.visitor&&n.visitor.email&&I(e,"webWidget","prefill",{email:{value:n.visitor.email}});break;case"intercom-chat":Ay.Intercom("show"),n&&n.visitor&&n.visitor.email&&Ay.Intercom("update",{email:n.visitor.email});break;case"drift-native-chat":Ay.drift.api.openChat(),n&&n.visitor&&n.visitor.email&&Ay.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 J.get(p,"steps.0.guideElement.0")}function r(){if(p&&p.id)return au[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&&J.all(e,function(e){return Hr(e&&e.length?e[0]:e)})}function R(){var e,t=ae.getResourceCenter(),n=J.get(t,"attributes.notifications");n&&(n=ae.calculateTotalNotificationCount(n.individualCounts),"dom"===t.launchMethod)&&J.get(t,"attributes.activation.selector")&&(e=Q(t.attributes.activation.selector)).length&&ae.addNotificationBubbleToTargetElement(e[0],t.attributes.notificationBubble,n)}function L(e){return J.reduce(e,function(e,t){return e+t},0)}function O(){var e,t=p;t&&(t=J.get(t,"attributes.notifications"))&&(e=_())&&Q(e).find("._pendo-resource-center-home-list").length&&J.each(t.individualCounts,function(e,t){D(e,t)})}function D(e,t){var n=ae.getResourceCenterContainer();n&&(n=Q(n).find('[data-pendo-notification-id="'+t+'"]')).length&&(t=Q(n[0]).find("._pendo-home-view-bubble"),n=Q(t[0].children[0]),e!==parseInt(n.text(),10))&&(0<e?(n.text(e),Q(t[0]).css({display:"block","margin-right":"0"})):Q(t[0]).css({display:"none"}))}function U(e){var t;e.getAttribute("data-pendo-stashed-aria-label")||(t=e.getAttribute("aria-label"),e.setAttribute("data-pendo-stashed-aria-label",t))}function G(e){return 1<e?"data-pendo-aria-label-alert-plural":"data-pendo-aria-label-alert-singular"}function B(e,t,n){var i=G(n),i=e.getAttribute(i),i=(i&&(U(e),i=i.replace("{UNSEEN_COUNT}",n),e.setAttribute("aria-label",i)),J.get(t,"position","top-left")),r=te(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=ae.resourceCenterIgnoreRtl();k(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 z(e,t,n){var i=ar(e,e),r=ar(e,Gr());k(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 k(e,t,n,i,r){var o,a;A(s)?(a=(o=N(t)).defaultBubbleCss,o=o.defaultUnseenCountCss,a=J.extend(a,i),o=J.extend(o,r),s.bubbleEle.css(a),s.unseenCountEle.css(o),s.unseenCountEle.text()!=""+n&&s.unseenCountEle.text(n)):(a=Q(e).find(".pendo-resource-center-badge-notification-bubble")).length?a[0].getElementsByClassName("pendo-notification-bubble-unread-count")[0].textContent=n:n&&j(s=H(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 H(e,t,n,i){var r,o=N(e),a=o.defaultBubbleCss,o=o.defaultUnseenCountCss,s=(t=t||0,Q(Ry.createElement("div")).addClass("pendo-resource-center-badge-notification-bubble")),u=Q(Ry.createElement("div")).addClass("pendo-notification-bubble-unread-count"),a=J.extend(a,n),n=J.extend(o,i);return s.css(a),u.css(n),_e(10)||Gd()||(r=Q(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 j(e,t){e.styleEle&&e.styleEle.appendTo(t),e.unseenCountEle.appendTo(e.bubbleEle),e.bubbleEle.appendTo(t)}function W(){var n=s?s.bubbleEle:Q(".pendo-resource-center-badge-notification-bubble"),i=s?s.styleEle:Q("#pendo-resource-center-bubble-animation");n&&J.each(n,function(e,t){n[t]&&(t=n[t])&&t.parentNode&&t.parentNode.removeChild(t)}),i&&J.each(i,function(e,t){i[t]&&(t=i[t])&&t.parentNode&&t.parentNode.removeChild(t)}),s=null,ae.resetBadgeAriaLabel()}function M(e,t){var n=p;n&&(n=J.get(n,"attributes.notifications"))&&n.individualCounts[t]!==e&&(n.individualCounts[t]=e,ae.updateNotificationBubbles())}function P(e){return!(!J.isFunction(e.hasBeenSeen)||!e.hasBeenSeen())||"active"===e.steps[0].seenState}function K(e){var t=J.get(e,"attributes.resourceCenter.isModule",!1)?e:ae.findShownResourceCenterModule();t&&(t=J.first(t.steps),Xf(t));t=(J.get(e,"attributes.resourceCenter.isTopLevel",!1)?e:ae.findResourceCenterHomeView(uu())).steps[0];return Xf(t)}function F(e){return J.get(e,"attributes.resourceCenter.moduleId")}function q(r,e){function o(e,t,n){return e.props&&e.props.id&&-1!==e.props.id.indexOf(t)&&!n.includes(e.props.id)}var a=V.stringify(e);J.forEach(["pendo-a11y-list-item-button-block","pendo-link-","pendo-right-caret-","pendo-row-","pendo-text-"],function(t){for(var n=[],e=Zu(r.domJson,function(e){return o(e,t,n)});e;){n.push(e.props.id);var i=new RegExp("#".concat(e.props.id),"g");a=a.replace(i,"[id^='".concat(e.props.id,"']")),e=Zu(r.domJson,function(e){return o(e,t,n)})}});try{return V.parse(a)}catch(Ut){return e}}}(),mc=1e4,vc="lastStepAdvanced";function yc(e){Z.dispatch("guideState/updateLastGuideStepSeen",e),Z.dispatch("guideState/write"),Z.dispatch("frames/changeLastGuideStepSeen",e)}function bc(){var e=[];return Z.dispatch("guideState/init"),e.push(ee(Ay,"focus",wc)),e.push(ee(Ay,"storage",function(e){Z.dispatch("guideState/storageChanged",e)})),function(){return J.each(e,function(e){e()})}}function wc(){Z.dispatch("guideState/regainFocus")}function Sc(){return Z.state.guideState.lastGuideStepSeen}var Ic={actions:{init:function(e){e.commit("setScopedStorageKey",Yt(e.state.storageKey)),y.identify.on(function(e){zn(e)&&Rn([vc])})},load:function(t,e){if(e){var n;try{n=V.parse(e)}catch(Ut){}n&&J.each([].concat(n),function(e){t.commit("setStepState",e)})}},forceExpire:function(n){J.each(n.state.steps,function(e,t){n.commit("expireStepState",t)})},expire:function(n){var i=n.getters.now();J.each(n.state.steps,function(e,t){i-e.time>n.state.ttl&&n.commit("expireStepState",t)})},apply:function(o){var a,s=J.indexBy(o.getters.guideList(),"id");o.dispatch("expire"),J.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=J.findWhere(i.steps,{id:r}))&&(n=o.state.storageKey,t.seenState!=e.state&&(Y.info("making sure that seenState = '"+e.state+"' for "+n+": "+r),t.seenState=e.state),t.snoozeEndTime!=e.snoozeEndTime&&(Y.info("making sure that snoozeEndTime = '"+e.snoozeEndTime+"' for "+n+": "+r),t.snoozeEndTime=e.snoozeEndTime),t.seenReason!=e.seenReason&&(Y.info("making sure that seenReason = '"+e.reason+"' for "+n+": "+r),t.seenReason=e.seenReason),e.dismissCount!==Ly&&t.dismissCount!=e.dismissCount&&(t.dismissCount===Ly?t.dismissCount=e.dismissCount:t.dismissCount=Math.max(e.dismissCount,t.dismissCount),Y.info("making sure that dismissCount = '"+t.dismissCount+"' for "+n+": "+r)),e=J.indexOf(i.steps,t),J.each(i.steps.slice(0,e),function(e){J.contains(["advanced","dismissed"],e.seenState)||(e.seenState="advanced")})))}),a&&o.dispatch("updateLastGuideStepSeen",J.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),I.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=V.stringify(J.map(e.state.steps,function(e){return J.extend({tabId:t},e)}));Y.info("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(V.parse(n))}catch(Ut){}e.getters.storageChangedInOtherTab()(i)&&(Oc(),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||(kc(),Nc())),n&&kh()}},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:mc,storageKey:vc,guideRequestExpiration:36e5,scopedStorageKey:null,receivedStateChangeAt:null,receivedLastGuideStepSeen:null,lastGuideStepSeen:null,lastGuideRequestAt:null},getters:{now:function(){return v()},storage:function(){return c},guideList:function(){return S()},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=J.get(i,"frames.tabId");return!!e&&!!((e=J.max(J.compact(e),"time"))&&e.tabId&&t&&e.tabId!==t)&&(!n.lastGuideStepSeen||!n.lastGuideStepSeen.time||e.time>n.lastGuideStepSeen.time)}},visitorId:function(){return X()}}},xc=function(){return{canDisplay:function(e,t,n){if(n&&n.enabled&&J.isFinite(t)){t=i(t,n);if(J.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=Z.getters["frames/autoOrdering"](),n=J.reduce(n,function(e,t){return e.concat(i[t]||[])},[]),t=J.uniq(n.concat(t)))}var r,o,n=function(e){e=J.defaults(J.groupBy(e,function(e){return s(e)?"override":"auto"}),{override:[],auto:[]});return e.override.concat(e.auto)}(function(e,t){var n;return J.isArray(t)&&t.length?(n=J.indexBy(e,"id"),t=J.reduce(t,i,[]),J.chain(e).pluck("id").reduce(i,t).value()):e;function i(e,t){return n[t]&&(e.push(n[t]),delete n[t]),e}}(J.filter(e,a),t));return J.find(e,function(e){return e.isTraining})?(t=m.get("adoptPrioritizeAdoptGuides"),e=t,r=[],o=[],J.each(n,function(e){(e.isTraining?r:o).push(e)}),e?r.concat(o):o.concat(r)):n},tryDisplayGuide:function(e,t){var n=xc.lastDismissedTime(t),n=xc.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||J.isFunction(e.shouldShowSnoozedGuide)&&e.shouldShowSnoozedGuide();var t}function i(e,t){var n=t.interval,t=(t.unit||"").toLowerCase();return J.isNumber(n)&&Ot(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:J.isNumber(n)?(new Date).getTime():void 0}}();function Ec(i){return y.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=l.get(),t=Pi(e).substring(1),t=Gi(t),n=e.indexOf("#");!t.pendo&&0<=n&&(n=Pi(e.substring(n+1)).substring(1),J.extend(t,Gi(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 Cc=J.memoize(function(){return Ec(E)});function _c(e,t){var e=J.find(e,function(e){return e.isContinuation(t)}),n=e&&e.attributes&&e.attributes.doNotResume;if(e&&!n)return e}var Tc=function(){function e(){this.name="autoDisplay",this.queue=[]}return e.prototype.markDirty=function(){var e;Au()&&(this.queue.push("permalink","continuation"),(e=this.queue).push.apply(e,xc.sortAndFilter(S(),I.autoOrdering)))},e.prototype.process=function(e){if(Bf())this.cancel();else{var t=this.queue.shift();if("permalink"===t)return Cc().tryDisplay(I);if("continuation"===t){var n=_c(S(),Sc());if(n)return e.saveContext(n),n.show("continue")}else if(t){if(!_c(S(),Sc()))return e.saveContext(t),xc.tryDisplayGuide(t,I);this.cancel()}}},e.prototype.handleProcessTimeExceeded=function(e){e=e.getContext();e&&Y.warn("Auto display ("+e.id+") timeout exceeded")},e.prototype.cancel=function(){this.queue.length=0},e.prototype.isComplete=function(){return!this.queue.length},e}(),Ac=null,Rc=500,Lc=function(e){Ac=J.delay(function(){Ac=null,Nc()},e=e||Rc),I.guidesProcessingThreadHandle=Ac},Oc=function(){Ac&&(clearTimeout(Ac),Ac=null,I.guidesProcessingThreadHandle=Ac),Z.dispatch("guideUpdate/stopScheduledUpdate")},kc=function(){Kf(),Jc.cancel();for(var e=0;e<ou.length;e++){var t=ou[e];t.parentNode.removeChild(t)}ou.length=0,Z.dispatch("guideUpdate/stopObserver"),y.guideLoopStopped.trigger()},Nc=function(){if(Oc(),zp())Y.info("guides are loading.",{contexts:["guides","loading"]});else if(yh())Y.info("guides are disabled.",{contexts:["guides","disabled"]});else if(bh())Y.info("guides are delayed.",{contexts:["guides","delayed"]});else if(!Z.getters["guideState/tabLostFocus"]())try{var e=S();e&&0!==e.length&&(Z.dispatch("guideUpdate/startObserverIfNeeded"),Jc.isComplete()&&Jc.markDirty(),Ru())&&Jc.process()}catch(Ut){Jc.cancel(),Y.critical("ERROR in guide-loop",{error:Ut})}finally{Jc.paused||Mc()}};function Mc(){Jc.isComplete()?(Z.state.guideUpdate.useObserver&&!Z.state.guideUpdate.needsUpdate||Lc(),y.guideUpdateComplete.trigger()):Lc(50)}var Pc=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)),Nc()},Fc=function(){yh()||Sh(!0),kc(),Up()},Dc=function(){function e(e,t){this.dirty=!1,this.name=e,this.processFn=J.isFunction(t)?t:J.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 Uc(){var t=Nh();t&&(J.each(t.steps,function(e){Gc(t.guide,e)}),t.guide.checkForHiddenGroupSteps())}function Gc(e,t){var n,i,r,o,a;t.isLocked()||Z.getters["frames/isShownInAnotherFrame"]()(t)||(n=t.element,i=t.targetElement,o=t.guideElement,r=Q("."+Pf),(o=o.find("#pendo-guide-container")[0])&&o.textContent&&(o=te(o).fontSize,t.attributes.currentTextZoomFontSize!==o)&&(t.attributes.currentTextZoomFontSize&&t.redraw(),t.attributes.currentTextZoomFontSize=o),t.elementPathRule&&i&&!d.matchesSelector(i,t.elementPathRule)?t.hide():(o=to(n),a=!0,i&&o&&t.elementContainsRulesList&&(o=a=dp(i,t.elementContainsRulesList)),n&&(o||r.hasClass("mouseover"))?t.checkPlacement():("tooltip"===t.type||"tooltip"===t.attributes.calculatedType)&&no(n)&&a||t.hide()))}var Bc=function(){function e(){this.name="badge",this.queue=[]}return e.prototype.markDirty=function(){this.queue.push.apply(this.queue,J.filter(du(S()),vu))},e.prototype.process=function(e){var t=this.queue.shift();e.saveContext(t),t&&t.placeBadge()},e.prototype.handleProcessTimeExceeded=function(e){e=e.getContext();Y.warn("Badge ("+e.id+") timeout exceeded")},e.prototype.cancel=function(){this.queue.length=0},e.prototype.isComplete=function(){return!this.queue.length},e}();function zc(i,e){var r,o,t,n,a;ae.isFullyCustom(i)||(r=!1,o=[],t=J.filter(i.modules,function(e){var t,n;return!!e&&(!!ae.isIframeModule(e)||!!ae.isSandboxModule(e)||(ae.isIntegrationModule(e)?!!ae.integrationModuleHasContent(e)||(e.hasResourceCenterContent=!1):(t=(n=J.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=Et(J.map(n,function(e){var t=e.isAnnouncement()||e.isWhatsNew()?null:J.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=Et(J.map(t,function(e){return{id:e.id}})),i.eligibleModulesHash&&i.eligibleModulesHash!==a&&ae.replaceResourceCenterContent(i.id,Ly,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)&&ae.replaceResourceCenterContent(i.moduleIdToReplaceHomeViewWith,Ly,!0),t&&(n=J.find(t,function(e){return e.isContinuation(Sc())}),a=J.get(n,"attributes.doNotResume"),e=J.get(n,"attributes.resourceCenter.integrationProvider"),ae.isSupportedNativeIntegration(e))&&!a&&i&&(i.continueToNativeModule=!0,n.continueToNativeModule=!0),i.activeModule&&((e=J.find(t,function(e){return e.id===i.activeModule.id}))&&r&&ae.replaceResourceCenterContent(i.activeModule.id,Ly,!0),e||ae.replaceResourceCenterContent(i.id)),ae.repositionResourceCenter())}function Hc(e,t){var n,i,r,o;ae.isFullyCustom(e)||(n=[],o=[],(r=J.find(e.modules,function(e){return!!ae.isIframeModule(e)||!!ae.isSandboxModule(e)||!!ae.isIntegrationModule(e)&&(!!ae.integrationModuleHasContent(e)||(e.hasResourceCenterContent=!1))}))&&n.push(r),r=J.flatten(J.pluck(e.modules,"guidesInModule")),o=J.filter(J.compact(r),function(e){return e.control}),!n.length&&(i=J.reduce(e.modules,function(t,n){return J.each(n.guidesInModule,function(e){t[e.id]=n}),t},{}),r=J.filter(r,function(e){return e&&e.steps&&e.steps.length}),r=J.sortBy(r,function(e){return e.steps[0].elementPathRule?1:0}),r=i[(r=J.find(r,function(e){return e.shouldBeAddedToResourceCenter()}))&&r.id])&&n.push(r),t(e,n,o))}function jc(e,t,n){var i,r,o=au[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(),J.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||(J.isFunction(e.placeBadge)&&e.placeBadge(),o=au[e.id]),o&&o.show(),e.badgeHidden=!1)}function Wc(e){var t,n;e&&e.launchMethod&&(e.skipResourceCenterHomeView=!1,e.hasResourceCenterContent=!0,delete e.moduleIdToReplaceHomeViewWith,n=e.activeModule,t=J.get(n,"attributes.resourceCenter.integrationProvider"),e.isNativeModuleActive=n&&ae.isSupportedNativeIntegration(t),ae.isFullyCustom(e)?e.hasResourceCenterContent=!0:((e.isShown()||!Z.getters["frames/isLeader"]()?zc:Hc)(e,jc),e.isNativeModuleActive&&(e.isShown()&&e.hide(),n=au[e.id])&&n.hide(),"dom"===e.launchMethod&&(ae.updateNotificationBubbles(),ae.adjustNotificationBubbleForResize())))}var Kc=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}(),qc=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 Kc(50);!this.timedOut()&&!i.isComplete()&&!e;)r.start(),!(e=i.process(r))&&r.isTimeExceeded()&&i.handleProcessTimeExceeded&&i.handleProcessTimeExceeded(r);Pt(e)?(t=this.updateId,n=J.bind(function(){this.updateId===t&&(this.paused=!1,Nc())},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,J.isFunction(e)&&(e=new Dc(t,e)),this.phases.push(e)},e.prototype.removePhase=function(t){var e=J.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>Z.state.guideUpdate.iterationTimeLimit},e.prototype.process=function(){var e=v();for(this.updateId||(this.updateId=e,this.updateTotalTime=0,Z.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){Z.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];J.isFunction(n.cancel)&&n.cancel()}},e.prototype.isComplete=function(){return!this.queue.length},e}(),Jc=new qc([new Bc,new Dc("resourceCenter",function(){Wc(ae.getResourceCenter())}),new Dc("frameVisibility",function(){Z.dispatch("frames/checkFrameVisibility")}),new Dc("guideShowing",Uc),new Tc]);function Vc(){Jc.addPhase.apply(Jc,arguments)}function $c(){Jc.removePhase.apply(Jc,arguments)}function Zc(){var s={};return J.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=J.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 Yc="_pendo-badge_";function Xc(e,t){var n;m.get("disablePrefetch")||(t=J.keys(t)).length&&(n=J.indexBy(e,"id"),J.each(t,function(e){var e=n[e];e&&(e=J.first(e.steps))&&J.isFunction(e.fetchContent)&&e.fetchContent(!0)}))}function Qc(e){var t;return e&&((t=(t=e.props=e.props||{}).style=t.style||{}).cursor=t.cursor||"pointer"),e}function el(i){return function(e){var t,n;return J.get(e,"props.data-localization-direction",!1)&&!i&&(t=J.get(e,"props.style.left","auto"),n=J.get(e,"props.style.right","auto"),t)&&n&&(e.props.style.left=n,e.props.style.right=t),e}}function tl(e,t){var n=e?["he","ar"]:[];return function(e){return n.includes(t)&&(e.props["data-localization-direction"]=!0),e}}function nl(t,n){var e,i,r=xu(n),o=!(null==(o=null==t?void 0:t.attributes)||!o.resourceCenter),a=!1;return o&&(a=null==(e=null==(e=null==t?void 0:t.attributes)?void 0:e.badge)?void 0:e.ignoreRTL),"building-block"===t.attributes.type?(e=[tl(o,t.language),el(a),Qc,Hu,function(e){return jd(e,{id:n.id,guideId:t.id,isBadge:!0})}].reduce(function(e,t){return t(e)},this.domJson)[0],i=e,Q.removeNode(e),-1===i.className.indexOf("_pendo-badge_")&&(i.className+=" _pendo-badge_"),this.isP2Badge=!0):((i=Ry.createElement("img")).src=zu(this.imageUrl),i.className="_pendo-badge "+Yc,o=this.width||13,a=this.height||13,Ar(i,"width:"+o+"px;height:"+a+"px;")),i.id="_pendo-badge_"+n.id,this.activate=function(){var e=J.isFunction(n.getGuide)&&n.getGuide(),t=hp(e);!e.isShown()||Z.getters["frames/isShownInAnotherFrame"]()(n)?gp(n,"badge"):t?n.eventRouter.eventable.trigger("pendoEvent",{step:n,action:"dismissGuide"}):(t=J.find(e.steps,function(e){return e.isShown()}),Xf(t))},this.shouldShow=function(){return t.canBadgeBeShown()||!1},this.show=function(){if(J.isFunction(this.shouldShow))return this.shouldShow()},this.hide=function(){Q.removeNode(i),$d(t.id)},hp(t)&&(this.toggleAriaExpanded=function(){var e=!!Q("#pendo-resource-center-container")[0],t=Q("button._pendo-resource-center-badge-container")[0]||Q('._pendo-resource-center-badge-container [id^="pendo-image-badge-"]')[0];t&&t.setAttribute("aria-expanded",e)},i.checkAriaExpanded=this.toggleAriaExpanded),this.step=J.constant(n),this.target=J.constant(r),this.element=J.constant(i),this}function il(){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&&Ar(n,"display:inline-block;vertical-align:text-bottom;"),this.css&&Ar(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 rl(a){return this.position&&"top-right"!==this.position&&"top-left"!==this.position||this.before("show",function(){var e=this.element(),t=ne(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),!J.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"}Ar(e,o)}e.parentNode||re().appendChild(e)}),this}function ol(){return"over"===this.position&&this.before("show",function(){var e=this.element(),t=ne(this.target()),n="position:absolute;top:"+t.top+"px;left:"+t.left+"px;";n+="height:"+t.height+"px;width:"+t.width+"px;",Ar(e,n+="background-color:transparent;"),e.parentNode||re().appendChild(e)}),this}function al(){var t=this,e=t.element(),n=!1,i=function(e){t.activate(),t.toggleAriaExpanded&&t.toggleAriaExpanded(),nu(e)};return t.after("show",function(){n||(p(e,"click",i),n=!0)}),t.after("hide",function(){h(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=J.throttle(function(e){ui(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}(ui(e))||n()},50,{trailing:!1}),e=function(e){r.isShown()||gp(r,"badge"),p(Ry,"mousemove",t),nu(e)},n=function(e){h(Ry,"mousemove",t),bu()||Xf(r)},this.after("show",function(){o||(p(i,"mouseover",e),o=!0)}),this.after("hide",function(){h(i,"mouseover",e),h(Ry,"mousemove",t),o=!1})),this}function ul(){var e,t,n,i,s,u=this.element(),d=this.target(),r=!1;return(this.showBadgeOnlyOnElementHover||/hover/.test(this.showOnEvent))&&!bu()&&(e="inline"===this.position?"visibility:visible;":"display:inline;",t="inline"===this.position?"visibility:hidden;":"display:none;",n=J.throttle(function(e){var t,n,i,r,o,a;ui(e)===d||ui(e)===u||Sr(u,"triggered")||(t=e.clientX,e=e.clientY,n=ie(d),i=ie(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(){Ar(u,e),p(Ry,"mousemove",n)},s=function(){h(Ry,"mousemove",n),Ar(u,t)},this.after("show",function(){r||(p(d,"mouseover",i),r=!0,s())}),this.after("hide",function(){r&&(h(d,"mouseover",i),r=!1),s()})),this}nl.create=function(n){var i=nl.findStep(n);if(i)return J.reduce(nl.behaviors,function(e,t){return t.call(e,n,i)},n.attributes.badge)},nl.findStep=function(e){var t=J.find(e.steps,function(e){return!!e.elementPathRule});if(t&&e.attributes&&e.attributes.badge)return t},nl.behaviors=[Zc,nl,il,rl,ol,al,sl,ul];var dl=function(e,t){var n,i,r=(t=t||au)[e.id],o=r?r.step():nl.findStep(e);o&&(n=r?r.target():xu(o),(i=J.get(e,"attributes.resourceCenter"))&&!Z.getters["frames/canShowRCBadge"]()?r&&J.isFunction(r.hide)&&(o.overrideElement=Ly,t[e.id]=Ly,r.hide()):i&&!e.hasResourceCenterContent||(ae.updateNotificationBubbles(),i=!0,o.elementContainsRulesList&&(i=n&&dp(n,o.elementContainsRulesList)),o.elementPathRule&&to(n)&&d.matchesSelector(n,o.elementPathRule)&&i?((r=r||nl.create(e)).show(),t[e.id]=r):r&&!o.isShown()&&(o.overrideElement=Ly,t[e.id]=Ly,r.hide()),ae.repositionDoubleResourceCenterBadge()))},cl=function(){J.map(au,ll),su({})},ll=function(e,t){e&&(J.isFunction(e.hide)&&e.hide(),J.isFunction(e.shouldShow))&&!e.shouldShow()&&t&&delete au[t.id]},fl=function(e){var t=au[e.id];t&&ll(t,e)},pl=function(){J.map(au,function(e){e&&e.show&&e.show()})},hl="debug-enabled";function gl(){var e;try{e=V.parse(c.read(hl,!0))}catch(Ut){return{}}return"boolean"==typeof e?{version:1,enabled:e}:e||{}}function ml(e){void 0===e&&(e=!1);var t=!0===gl().enabled;return e?t:t?"Yes":"No"}var vl="pendo-preview",yl="current-guide-preview",g;function bl(e){return Z.dispatch("preview/load"),wl(e)}function wl(e){var t=Wl();if(t)return Il(e),Z.dispatch("preview/start",J.extend(t)),c.clear(vc),Kt(!1),$o.lock(),Wp(Vl),y.startPreview.trigger(),y.leaderChanged.on(function(e){Z.dispatch("preview/write"),e.oldLeaderId||kh(),Z.getters["frames/isLeader"]()||Q(g).remove()}),Vc(Sl),!0}function Sl(){return Z.getters["frames/isFollower"]()||Ul(Ry,S(),Sc()),!0}function Il(e){if(Z.getters["frames/leaderExists"]()){if(!Z.getters["frames/isFollower"]()){if(g)return!0;J.isFunction(e.addEventListener)&&e.addEventListener("message",Cl),g=Rl(),Gr().appendChild(g)}}else y.one("leaderChanged",J.partial(Il,e))}function xl(e,t,n){Kf(),Z.commit("healthCheck/resetStepStatus",null,{root:!0}),Ju.reset(),kh();var i=e[0],i=(i&&J.each(i.steps,function(e){e.seenState=null}),c.clear(vc),Al(null),Wl());return i&&(i=J.findWhere(e,{id:i.guideId}))&&(i={stepId:i.steps[0].id},n&&(i.language=n),Z.dispatch("preview/restart",i)),Fl(e,t)}function El(e){g&&g.style&&(g.style.height=e)}function Cl(e){var t,n;e.origin===location.origin&&(t=e.data.type,n=!!e.data.preventWindowClose,t===vl+"::exit"?(zl({preventWindowClose:n}),Z.dispatch("frames/stopPreview",{preventWindowClose:n})):t===vl+"::restart"?(n=xl(S(),Sc(),e.data.language),Z.dispatch("guideState/forceExpire"),Z.dispatch("guideState/updateLastGuideStepSeen",n),Z.dispatch("frames/restartPreview")):t===vl+"::resize"?El(e.data.height):t===vl+"::request-preview-mode-type"&&(n=Kl(),g)&&g.contentWindow&&n&&g.contentWindow.postMessage({mutation:"preview/setPreviewModeType",payload:{previewModeType:n.previewModeType||"NEW_TAB"}},location.origin))}function _l(){return Z.getters["preview/isInPreviewMode"]()}function Tl(){return Z.getters["preview/isInDesignerPreviewMode"]()}function Al(e){Z.dispatch("preview/update",e)}function Rl(){var t=Ry.createElement("iframe");t.id=vl,t.src="about:blank";return Lr(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=Mf(),t.contentDocument.body.appendChild(e),t.contentWindow.ignoreIframeMonitor=!0},t}function Ll(){var e=Kl();return e?Tl()?(J.each(e.guide.steps,function(t){var e=["domJsonpUrl","domUrl"];t.domUrl&&0===t.domUrl.indexOf("data:")&&(e=["domJson","concentJs","contentCss","content"]),J.each(e,function(e){delete t[e]})}),e.guide.showsAfter=null,e.guide.expiresAfter=null,[e.guide]):void 0:[]}function Ol(e){var t=Wl();return t?(t.isResourceCenter?kl:Ml)(e,t):e}function kl(e,t){var n=ae.findResourceCenterHomeView(e),e=J.filter(e,function(e){return e.id!==n.id}),t=(Pl(n,t.stepId),J.map(e,function(e){return e.launchMethod="launcher",e}));return[n].concat(t)}function Nl(e){"launcher"===e.launchMethod?e.launchMethod="auto-launcher":"api"===e.launchMethod&&(e.launchMethod="auto")}function Ml(e,t){e=J.find(e,function(e){return e.id===t.guideId});return Nl(e),e.showsAfter=null,e.expiresAfter=null,Pl(e,t.stepId),[e]}function Pl(e,t){for(var n=J.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 Fl(e,t){null==t&&(t={});var n=Wl();if(!n)return t;e=J.findWhere(e,{id:n.guideId});if(!e)return t;if(n.state)return n.state;Nl(e);t=-1<e.launchMethod.indexOf("auto");return n.stepId!==e.steps[0].id||t?{guideId:n.guideId,guideStepId:n.stepId,state:"active"}:{}}function Dl(e,t){g&&g.contentWindow&&g.contentWindow.postMessage({mutation:"preview/setGuideLoadError",payload:{guideLoadError:t}},location.origin)}function Ul(e,t,n){var i,r,o,a,s,u;_l()&&(i=Wl())&&g&&g.contentWindow&&(t&&t.length?(g.contentWindow.postMessage({mutation:"preview/setGuideLoaded",payload:{guideLoaded:!0}},location.origin),r=J.find(t,function(e){return e.id===i.guideId}),o=0,a=r.steps.length,s=n||{},J.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=J.indexOf(r.steps,J.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],g.contentWindow.postMessage({mutation:"preview/setHostname",payload:{hostname:Qe}},location.origin),g.contentWindow.postMessage({mutation:"preview/setGuidePages",payload:{guidePages:r.previewPages}},location.origin),g.contentWindow.postMessage({mutation:"preview/setGuideProgress",payload:{guideName:r.name,guideAttributes:V.stringify(r.attributes),guideLaunchMethod:r.launchMethod,guideActivationSelector:Eu(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:J.get(i,"languageOptions",[]),currentLanguage:i.language}},location.origin),Bl(u,n,g)):Dl(e,{status:404,data:"Guide not found"}))}function Gl(e){var t,n;g&&g.style&&(t=J.first(Q('#pendo-resource-center-container, [id^="pendo-g-"]')))&&(t=te(t))&&(n={mutation:"preview/setIsPreviewBarTop",payload:{isPreviewBarTop:!1}},"0px"===t.top?(g.style.top="auto",g.style.bottom="0px",g.contentWindow.postMessage(n,location.origin)):"0px"!==t.bottom&&g.style.top||(g.style.top="0px",g.style.bottom="auto",n.payload.isPreviewBarTop=!0,g.contentWindow.postMessage(n,location.origin)))}function Bl(a,t,s){var n,e;a&&(n=a.getGuide().id,(e=J.filter(Z.state.frames.frames,function(e){return"hidden"!==e.visibility&&e.guides&&e.guides[n]})).length)&&(e=J.map(e,function(e){return _.postMessageOrTimeout({action:"frames/checkGuideEligibility",targetFrame:e.id,stepId:a.id,guideId:n,currentStepIndex:t})}),$.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=J.keys(r).length;if(!o){t={};break}-1===n?(t=r,n=o):a.regexUrlRule?!r.PAGE&&o<=n&&(t=r,n=o):o<n&&(t=r,n=o)}}s.contentWindow.postMessage({mutation:"preview/setErrors",payload:{errors:t}},location.origin)}))}function zl(e){var t=Kl(),n=!1,i=(t&&(n="SAME_TAB"===t.previewModeType),un.getItem("pendo-navigation-state"));if(Z.dispatch("preview/exit"),c.clear(vc),$o.unlock(),Q(g).remove(),Kp(),kh(),$c(Sl),Kt(!0),n&&i){un.setItem(yl,V.stringify(J.extend(t,{isExitBackToDesigner:!0})));try{var r=V.parse(i),o={target:r.baseUrl,gcsBucket:r.gcsBucket,preloader:!0,DADesigner:r.isDADesigner,host:r.host,forceNativeDesigner:"web"===t.guide.appPlatform};Z.dispatch("preview/launchInAppDesigner",o)}catch(a){Z.dispatch("preview/exitDesignerPreview")}}else e&&!e.preventWindowClose&&Ay.close()}function Hl(e,t){e=J.get(e(),t);if(e)return V.parse(V.stringify(e))}function jl(){return Z}var Wl=J.partial(Hl,jl,"state.preview.preview"),Kl=J.partial(Hl,jl,"state.preview.designerPreview");function ql(e){var t;if(e.subscriptionId&&e.guideId)return t=e.isResourceCenter?"/resourcecenter/":"/guide/","/api/s/"+Dt(e.subscriptionId)+t+Dt(e.guideId)+"/preview"}var Jl=function(e){var t;return oo(e.origin)?(t=ql(e))?(t={url:e.origin+t+"?url="+Dt(l.externalizeURL())+"&apiKey="+I.apiKey,withCredentials:!0},e.headers&&(t.headers=e.headers),ci(t).then(function(e){return e.data.guide})):(Y.info("Invalid guide url, exiting preview"),$.reject("invalid guide url")):(Y.info("Invalid origin, exiting preview"),$.reject("invalid origin"))},Vl={load:function(e,t){return Zl(e,t)},post:function(e,t,n){return Zl(e,n)},endpoint:function(){return""},usesXhr:function(){return!0}};function $l(n,t){var e,i;return oo(n.origin)?(e=ql(n))?Z.getters["frames/leaderExists"]()&&n.apiKey===I.apiKey?(e="".concat(n.origin).concat(e,"?url=").concat(Dt(l.externalizeURL()),"&apiKey=").concat(I.apiKey),Tl()&&(e+="&ignoreGuide=true"),e={url:e,withCredentials:!0},n.headers&&(e.headers=n.headers),i=[],ci(e).then(function(e){e=e.data;return Tl()?(i=Ll(),e.guide=i[0]):i=n.isResourceCenter?e.guide:(e.guide.previewPages=e.pages,[e.guide]),n.language&&n.language!==J.get(i,"[0].authoredLanguage")&&Yl(i,n.language.value),n.watermarkConfig&&(e.guide.isTraining=!0),I.guideWidget={enabled:!1,data:{guideCssUrl:e.guideCssUrl}},I.guideCssUrl=e.guideCssUrl,I.normalizedUrl=e.normalizedUrl,I.throttling=Ly,e.guide}).then(function(e){var t;return n.watermarkConfig?(t=V.parse(V.stringify(n)),t=Object.assign(t,n.watermarkConfig),Jl(t)):e}).then(function(e){e.attributes&&e.attributes.isWatermark&&i.push(e),I.guidesPayload({id:t,lastGuideStepSeen:Fl(i,I.lastGuideStepSeen),guides:Ol(i)})})["catch"](function(e){return Dl(Ry,e),$.reject(e)})):(I.guidesPayload({id:t,lastGuideStepSeen:{},guides:[]}),$.resolve()):(Y.info("Invalid guide url, exiting preview"),$.reject("invalid guide url")):(Y.info("Invalid origin, exiting preview"),$.reject("invalid origin"))}function Zl(e,t){var n=Wl();return!n||!ql(n)||!(e=/[?&]id=(\d+)/.exec(e))||e.length<1?$.reject():$l(n,e[1]).then(t)}function Yl(e,o){J.forEach(e,function(r){J.forEach(r.steps,function(e){var t=J.get(r,"translationStates."+o+".stepTranslations."+e.id+".domHash"),n=J.get(r,"translationStates."+o+".stepTranslations."+e.id+".domJsonpHash"),i=J.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 Xl=function(){var n=null,i=[],r=function(e){I.apiKey=e+="",n=e};return{getApiKey:function(){return I.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=J.reduce(t,function(e,t){return t&&e.push(t+""),e},[]),i=[].concat(t),I.additionalApiKeys=i,!n&&i&&i.length&&r(i[0])},getAdditionalApiKeys:function(){return I.additionalApiKeys},tamperedWith:function(){return I.apiKey!==n||I.additionalApiKeys!==i}}}(),C=function(){var a=Qe,n="in-app-designer",i="latest";function e(e){if(!e.ignoreLocalStorageNavigation){var t,e=un.getItem("pendo-navigation-state");if(e&&Z.getters["frames/isLeader"]()){try{t=V.parse(e)}catch(n){return}if(!t.apiKey||t.apiKey===Xl.getApiKey())if(t.apiKey||!t.agentInstallType||t.agentInstallType===Ie())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},C.launchInAppDesigner(e),!0}}}return"local"===nt&&(a="https://local.pendo.io:8080"),y.leaderChanged.on(function(){e({ignoreLocalStorageNavigation:/pendo-/.test(Ay.name)||Tl()})}),{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"),I.DESIGNER_VERSION?l(n,i):t=Ay.setInterval(function(){I.DESIGNER_VERSION&&(l(n,i),clearInterval(t))},100)},launchInAppDesigner:s,localStorageNavigation:e,launchOnToken:function(e){if(!g(Ay.name)){var t=/pendo-designer=([A-Za-z0-9-]+)/;if(t.test(e)){var n,e=t.exec(e);if(e)return t=function(e){try{return V.parse(atob(Ft(e)))||{}}catch(Ut){return{}}}(e[1]),e=u(t),n=c(t),Ay.localStorage.removeItem("pendo-navigation-state"),Ay.localStorage.removeItem("pendo-designer-mode"),s({target:n,host:e,preloader:!1,sidebarDesigner:!!t.sidebarDesigner}),!0}}},sendMessageToLocalStorage:function(e){var t=Ry.getElementById("pendo-designer-communication-iframe");t&&t.contentWindow.postMessage(e.data,C.hostConfig.host)},isValidDesignerHost:r,isValidTarget:o,addCommunicationIframe:function(e,t){e=e||{};J.isFunction(t)||(t=J.noop);var n=c(e),e=d(e),i=(new Date).getTime(),r=(C.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&&oo(e)}function u(e){var e=(e=e||{}).host||a,t=r(e),e=t?e:Qe;return t||Y.info("Invalid host, falling back to "+Qe),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||Y.info("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||Y.info("Invalid target, falling back to "+i),e}function s(e){if(!g(Ay.name)&&!I.designerLaunched){var t,n,i,r,o,a=!1;try{a=!!Ay.top.pendo}catch(s){}C.crossFrameChannel===Ly&&(C.crossFrameChannel=_,C.useCrossFrameChannel=!0),Fo()&&a&&!e.allowChildFrame&&!e.selectionOnly?Y.info("skipping designer launch from a child frame. pass `allowChildFrame: true` to override"):I.isReady()?(I.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,C.hostConfig={gcsBucket:i,baseFolder:r,uniqueWindowId:e.uniqueWindowId,host:a,adoptv2:e.adoptv2,DADesigner:e.DADesigner,agentInstallType:Ie(),forceNativeDesigner:!!e.forceNativeDesigner,sidebarDesigner:!!e.sidebarDesigner,apiKey:Xl.getApiKey()},i={},e.selectionOnly&&(i["selection-only"]=!0),r=m.get("designerAgentPluginsLoader"),a=Ay.__pendoExtensions&&e.forceNativeDesigner,o=!Ay.__pendoExtensions&&!J.isFunction(r),(a||o)&&(C.addScriptToPage(t,n,i),I.designerLaunched=!0),!e.forceNativeDesigner&&J.isFunction(r)&&(r(t,n,i),I.designerLaunched=!0)):Y.error("Unable to launch the designer, the agent has not been initialized. Please use `pendo.initialize` prior to launching the designer")}}function l(e,t){Ay.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+="__"+C.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&&Ar(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&&J.forEach(n,function(e,t){i.setAttribute(t,e)}),Ry.body.appendChild(i))}function g(e){try{var t=V.parse(e);return/^pendo-/.test(t.frameName)||/^pendo-/.test(t.frame)}catch(Ut){return!1}}}(),Ql=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(){return J.isFunction(Ry.addEventListener)?(Ry.addEventListener("keyup",e,!1),function(){Ry.removeEventListener("keyup",e,!1)}):function(){}},launchOnLocalStorageToken:v,ids:a,removeElement:h,attemptToLaunch:t,loadPluginJs:function(){var t;I.designerLaunched||(t=J.once(function(e){v(e,!0)}),Go(function(e){"pendo-designer-launch-modal"===e.data.destination&&e.data.token&&t(e.data.token)}))}};function e(e){e.shiftKey&&e.altKey&&"Digit7"===e.code&&t(!0),e.shiftKey&&e.altKey&&"Digit8"===e.code&&t(!1,!0)}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 J.reduce(J.pairs(e),function(e,t){var n=t[0],t=t[1];return e+n+"{"+J.reduce(J.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),J.extend(e.style,n),e}function t(t,n){var i,r,o;I.designerLaunched||(o=J.once(function(e){t||!n?v(e):f(e,t),g()}),Go(function(e){"pendo-designer-launch-modal"===e.data.destination&&(clearInterval(i),e.data.viaconfirmed?clearInterval(r):e.data.token?(o(e.data.token),e=V.parse(e.data.token),J.contains(e.host,"via")&&!e.visitorId&&(r=r||setInterval(function(){Ry.getElementById(a.commIframeId)&&m()},100))):g())}),C.addCommunicationIframe({defaultBucket:"in-app-designer"},function(){m(),i=Ay.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&&J.isFunction(e.contentWindow.postMessage)&&e.contentWindow.postMessage({destination:"pendo-designer-ls",source:"pendo-designer-launch-modal",visitorId:I.visitorId},J.get(I,"designerv2.hostConfig.host",Qe))}function v(e,t){var n={},e=V.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),C.launchInAppDesigner(n)}}();function ef(e){var t=$.defer();return fo(e,function(){t.resolve()}),t.promise}function tf(e,t){return 0<J.size(Ou._handlers.validateGlobalScript)?ci.get(t).then(function(e){return Ou.validateGlobalScript(e.data)}).then(function(){return e(t)}):e(t)}function nf(e,t){return t?e(t):$.resolve()}var rf=J.wrap(J.once(J.wrap(ef,tf)),nf),of={initializeWatermark:function(e){e=J.filter(e,function(e){return e&&e.attributes&&e.attributes.isWatermark}),of.watermarkGuides=e,e=J.map(e,function(e){return e.fetchContent()});return $.all(e)},buildWatermark:function(e,t){if((e=e||{}).isTraining){var n=e.targetAccount?function(t){return J.find(of.watermarkGuides,function(e){return t===e.targetAccount})}(e.targetAccount):function(t){return J.find(of.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}}}},af=1e4;function sf(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=af);var n=$.defer(),i=_t(32),r=(e=J.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,J.isFunction(n.close)&&n.close()}};function a(e){var t;r||(t=J.extend({apiKey:I.apiKey,allowMixedApiKeyFrames:m.get("allowMixedApiKeyFrames"),agentInstallType:Ie()},e),n.postMessage(t),setTimeout(function(){u(t)},0))}function s(e){e.promiseId||(t=_t(32),e=J.extend(e,{promiseId:t}));var t=$.defer();return o[e.promiseId]=t,a(J.extend(e,{sourceFrame:i.state.frames.frameId})),t.promise}function u(e){try{var t;r||e.apiKey!==I.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){Y.critical("ERROR in cross frame channel",{error:Ut})}}}var uf="frames/removeFrame";function df(e){if(!J.isString(e))return e;try{return V.parse(e)}catch(Ut){return e}}function cf(e,t){return new(J.isFunction(e.MessageChannel)?gf:mf)(e,t)}function lf(e,t,n){return new ff(e,t,n,cf(t,n))}function ff(e,t,n,i){this.init(e,t,n,i)}J.extend(ff.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=J.bind(this._frameConnectHandler,this),this._impl.onmessage=J.bind(this._fireMessageListeners,this),this._impl.onrelay=J.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){J.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===uf)&&this._topMessageHandler(e)},_topMessageHandler:function(e){!e.data||/^pendo::/.test(e.data.action)||this._closed||(e.data.action===uf&&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(J.bind(function(){this._connected||(0===t?J.isFunction(n)&&n.call(this):0<t&&this._connectToTop(Math.min(2*e,1e4),t-1,n))},this),e)},_addControlMessageHandler:function(){this._singletonMessageHandler.addEventListener(J.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 pf={_frameConnectHandler:function(e){J.isFunction(this.onconnect)&&this.onconnect(this._parseMessage(e))},_messageReceived:function(e){J.isFunction(this.onmessage)&&this.onmessage(this._parseMessage(e))},_relayMessage:function(e){J.isFunction(this.onrelay)&&this.onrelay(this._parseMessage(e))},_parseMessage:function(e){var t;return J.isString(e.data)?((t=J.pick(e,"type","origin","source","ports","lastEventId","target")).data=df(e.data),t):e}};function hf(t){return t&&J.all(["addEventListener","start"],function(e){return J.isFunction(t[e])})}function gf(e,t){this._window=e,this._ports={},this._singletonMessageHandler=t,this._targetOrigin=t.targetOrigin()}function mf(e,t){this._window=e,this._frames={},this._isTop=e==e.top,this._singletonMessageHandler=t,this._boundMessageReceived=J.bind(this._messageReceived,this),this._isTop||(this._boundFrameConnectHandler=J.bind(this._frameConnectHandler,this),t.addEventListener(this._boundFrameConnectHandler))}function vf(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)},close:function(){t.removeEventListener("message",r),n.length=0}};function r(t){i&&!e(t.origin)||J.each(n,function(e){J.isFunction(e)&&e(t)})}}J.extend(gf.prototype,pf,{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];hf(t)&&((this._ports[e.data.frameId]=t).addEventListener("message",J.bind(this._relayMessage,this)),t.start(),t.postMessage({action:"pendo::connectSuccess"}),t.postMessage({action:"frames/receiveFrame",frame:Z.state.frames.frames[Z.state.frames.frameId],"pendo-preview":Z.state.preview.preview}))},frameDisconnect:function(e){delete this._ports[e.data.frameId]},connectSuccess:function(){this._port.removeEventListener("message",this._boundFrameConnectHandler),this._port.addEventListener("message",J.bind(this._messageReceived,this))},broadcast:function(t){J.each(this._ports,function(e){t.target!==e&&e.postMessage(t.data)})},postMessage:function(e){this._port&&this._port.postMessage(e),e.action===uf&&this._window.top.postMessage(e,this._targetOrigin)},close:function(){J.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=J.bind(this._frameConnectHandler,this),this._port.addEventListener("message",this._boundFrameConnectHandler),this._port.start()},_closeChannel:function(){this._port&&J.isFunction(this._port.close)&&(this._port.close(),this._port=null,this._channel=null)}}),J.extend(mf.prototype,pf,{connectToTop:function(e,t){this._isTop||this._window.top.postMessage(V.stringify(e),t)},frameConnect:function(e){this._frames[e.data.frameId]=e.source,this._relayHandlerAdded||(this._relayHandlerAdded=!0,this._boundRelayMessage=J.bind(this._relayMessage,this),this._singletonMessageHandler.addEventListener(this._boundRelayMessage)),e.source.postMessage(V.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();J.each(this._frames,function(e){t.source!=e&&e.postMessage(V.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(V.stringify(e),this._singletonMessageHandler.targetOrigin())},close:function(){var e=this._singletonMessageHandler;e.removeEventListener(this._boundFrameConnectHandler),e.removeEventListener(this._boundMessageReceived),e.removeEventListener(this._boundRelayMessage)}});var yf=vf(Ay,oo);function bf(e,r){return e.removeEventListener=J.wrap(e.removeEventListener,function(){throw new Error("Needs implementation")}),e.addEventListener=J.wrap(e.addEventListener,function(e,t,n){var i=J.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=J.wrap(e.postMessage,function(e,t){return t.tabId=r.getTabId(),e.apply(this,J.toArray(arguments).slice(1))}),e}function wf(e){if(!b.addEventListener)return{addEventListener:J.noop,postMessage:J.noop,close:J.noop};var t=!!Ay.__pendoExtensions;if(m.get("preferBroadcastChannel")&&!t&&J.isFunction(Ay.BroadcastChannel)){e.commit("frames/setChannelType","BroadcastChannel");t=bf(new BroadcastChannel("pendo"),ln);if(t&&J.isFunction(t.postMessage))return t}return e.commit("frames/setChannelType","TopFrameRelay"),lf(e,Ay,yf)}function Sf(e,t){if("undefined"!=typeof Turbolinks){var n=Turbolinks&&Turbolinks.EVENTS&&Turbolinks.EVENTS.LOAD;if(n)return ee(e,n,t)}return function(){}}var If="eJwFwIEIAAAAwDDQd3-N1QABFQC5",xf="guides_blocked",Ef=18e5,Cf=144e5,_f="1",Tf="0",Af="Guides disabled: unreachable endpoint guide.gif";function Rf(){return c.read(xf)===_f}function Lf(e,t){var n=c.read(xf);return n===_f?(Y.info(Af),$.reject()):n===Tf?$.resolve():(n=cr("guide.gif",t,{jzb:If,ct:v(),v:it}),(e.usesXhr()?ci.get(n):hr(n)).then(function(){c.write(xf,Tf,Cf)},function(e){return Y.info(Af),c.write(xf,_f,Ef),$.reject(e)}))}var Of=[],kf="Guide was not shown because this visitor is in a control group of an active experiment for the guide";function Nf(){var e=m.get("guideCssAssetPath");return e||qi("guide.css")}function Mf(){var e=m.get("previewModeAssetPath");return e||qi("pendo.preview.min.js")}var Pf="_pendo-guide_",Ff="_pendo_g_",Df=0;function Uf(e){Df=e}function Gf(){return Df}var Bf=function(){return J.any(S(),function(e){return e.isShown()})},zf=function(e,t){var n=Q("._pendo-close-guide_",e);return n.length||(n=Q(Ry.createElement("button")).attr("id","_pendo-close-guide_").attr("aria-label","close").addClass("_pendo-close-guide_").text("×"),Ze()?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=Q("._pendo-guide-container_",e)[0]||e,n.appendTo(e),n[0].onclick=function(){t()}),n[0]},Hf=function(n){return J.reduce(S(),function(e,t){return n(t)&&e.push(t),e},[])},jf=function(e,t,n,i,r){e=hu(E(e),t);e&&(e.seenState=n,e.lastSeenAt=i,r!==Ly)&&(e.dismissCount=r)},Wf=function(e){for(var t=new RegExp("^"+Ff);e;){if(J.isString(e.id)&&t.test(e.id))return e.id.replace(t,"");e=e.parentNode}return null};function Kf(t){J.each(S(),function(e){J.isFunction(e.isShown)&&e.isShown()&&e.hide(t)})}var qf=function(e){return e&&e.guideId};function Jf(e){return e&&J.isFunction(e.render)}var Vf=function(e,t){var n,i;return qf(e)&&(t=e,e=null),Jf(t)?t:t?(n=E(t.guideId))&&n.findStepById(t.id):(n=J.find(S(),function(e){return e.isShown()}))?((i=e?Wf(e.target||e.srcElement||e):i)?(t=n.findStepById(i))||fr("findStepForGuideEvent: step with id "+i):(t=J.find(n.steps,function(e){return e.isShown()}))||fr("findStepForGuideEvent: no step shown"),t):void 0},$f=function(e){var t="element"===e.advanceMethod?"click":"mouseover",n=Iu(e);"tooltip"===e.type&&J.isFunction(e.teardownElementEvent)?e.teardownElementEvent(n,t):h(n,t,np,!0)};function Zf(e){return e.isLocked()&&(!e.elements||!e.elements.length||void pr('guide "'+e.guideId+'", step "'+e.id+'" locked and rendered'))}var Yf=function(e){if(!I.designer&&e&&"building-block"===J.get(e,"attributes.type","")){var t=e.steps[0],n=J.get(e,"launchMethod","").split("-"),i=J.contains(n,"dom"),n=J.contains(n,"badge");if("badge"===t.seenReason&&n){var n=Q("#_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=J.get(e,"attributes.activation.selector",""),(r=d(n)).length<1||r[0].focus())}},Xf=function(e,t){var n,i,r,o,a=null;e&&e instanceof Object&&e.until&&(a=e.until),(t=Vf(e,t))&&t.id?Zf(t)||("dismissed"===t.seenState?Y.info("step already dismissed. can't dismiss again",{contexts:["guides","error"]}):(Y.info("onGuideDismissed called",{contexts:["guides"]}),y.beforeDismiss.trigger(t).cancel?Y.info("Guide dismiss canceled during runtime in step: "+t.id):a?t.hide({stayHidden:!0}):($f(t),e=t.id,r=E(a=t.guideId),n=(n=J.first(r&&r.steps))&&n.seenReason,r=r&&r.language,i=J.get(t,"dismissCount",0)+1,bp(a,e,X(),n,r),r=v(),jf(a,e,"dismissed",r,i),(o=J.isFunction(t.getGuide)&&t.getGuide())&&o.attributes&&o.attributes.doNotResume||yc({guideId:a,guideStepId:e,time:r,state:"dismissed",seenReason:n,visitorId:X(),dismissCount:i}),"auto"!==n&&"repeatGuide"!==n||Cp(r,Ep.DISMISSED),t.hide(),Yf(o),Bf()||(kc(),Nc())))):kc()},Qf=function(e,t,n){var i,r,o,a,s,u,d;Y.info("onGuideSnoozed called",{contexts:["guides"]}),(t=Vf(e,t))?"snoozed"===t.seenState?Y.info("step already snoozed. can't snooze again",{contexts:["guides","error"]}):y.beforeSnooze.trigger(t).cancel?Y.info("Guide snooze canceled during runtime in step: "+t.id):(n||(n=864e5,Y.info("no snooze duration provided, defaulting to 1 day")),Zf(t)||($f(t),e=t.id,i=t.guideId,r=X(),a=(o=E(i))&&o.language,s=(s=J.first(o&&o.steps))&&s.seenReason,u=v(),Y.info("snoozing guide for "+n+" ms"),t.snoozeEndTime=d=u+n,wp(i,e,r,s,a,n),jf(i,e,"snoozed",u),o&&o.attributes&&o.attributes.doNotResume||yc({guideId:i,guideStepId:e,time:u,state:"snoozed",seenReason:s,visitorId:X(),snoozeEndTime:d}),"auto"!==s&&"repeatGuide"!==s||Cp(u,Ep.SNOOZED),t.hide(),Yf(o),Bf())||(kc(),Nc())):(Y.info("missing step. can't snooze",{contexts:["guides","error"]}),kc(),fr("onGuideSnoozed: missing step"))},ep=function(){var e=Nh();e&&J.each(e.steps,function(e){var t="element"==e.advanceMethod?"click":"mouseover",n=Iu(e);"tooltip"===e.type&&J.isFunction(e.teardownElementEvent)?e.teardownElementEvent(n,t):h(n,t,np,!0)})},tp=function(e){var t,n,i,r=(r=e&&e.step)||Vf(e);r?(i=e&&e.params,i=J.find(i,function(e){return"goToStepId"===e.name}),t=i&&i.value,(t=e&&e.destinationStepId?e.destinationStepId:t)?t===r.id?Y.info("[goToStep] step id matches the current step",{contexts:["guides","error"]}):(i=E(r.guideId),(n=J.find(i.steps,function(e){return e.id===t}))?(n=J.indexOf(i.steps,n),i=J.indexOf(i.steps,r),e.steps=Math.abs(n-i),e.action=e.action||"goToStep",e.destinationStepId=t,i<n?np(e,r,!1):ip(e,r)):Y.info("[goToStep] guide has no step matching the step id",{contexts:["guides","error"]})):Y.info("[goToStep] missing step id to go to",{contexts:["guides","error"]})):Y.info("[goToStep] missing current step",{contexts:["guides","error"]})},np=function(e,t,n){if(ep(),1===arguments.length&&qf(e)&&(s=fu(e.guideId),i=Vf(),s)&&i&&J.first(s.steps).id===i.id&&J.last(s.steps).id===e.id&&(Y.info("Cannot skip to last step from first step"),e=null),Y.info("onGuideAdvanced called",{contexts:["guides"]}),(t=Vf(e,t))===e&&(e=null),t){if(!Zf(t))if("advanced"!==t.seenState||n)if(y.beforeAdvance.trigger(t).cancel)Y.info("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&&J.findIndex(r.steps,function(e){return t.id==e.id});if(e&&J.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],Sp(r.id,t.id,X(),t.seenReason,o,d!==a);var c=v();yc({guideId:t.guideId,guideStepId:t.id,time:c,state:"advanced",seenReason:t.seenReason,visitorId:X()}),jf(r.id,t.id,"advanced",c)}return np(r.steps[s],t,!0)}var l,i=t.id,s=t.guideId,f=J.first(r&&r.steps),p=f&&f.seenReason,h=e&&e.destinationStepId,g=(h||(g=e&&J.isNumber(e.steps)&&1<e.steps?e.steps:1,h=(g=J.isNumber(a)&&r&&r.steps&&r.steps[a+g])&&g.id||null),h||Y.info("missing destination step id"),Y.info("advancing guide"),Sp(s,i,X(),p,o,n,h),Y.info("update guide status"),r&&J.last(r.steps).id===i&&(l=J.get(t,"dismissCount",0)+1),(new Date).getTime()),m=(jf(s,i,"advanced",g,l),J.isFunction(t.getGuide)&&t.getGuide());m&&m.attributes&&m.attributes.doNotResume||yc({guideId:s,guideStepId:i,time:g,state:"advanced",seenReason:p,visitorId:X(),destinationStepId:h,dismissCount:l}),!f||"auto"!==f.seenReason&&"repeatGuide"!==f.seenReason||Cp(g,Ep.ADVANCED),Y.info("stop guide"),kc(),Y.info("start guides"),Nc()}else Y.info("step already advanced. can't advance again",{contexts:["guides","error"]})}else Y.info("missing step. can't advance",{contexts:["guides","error"]}),kc(),fr("onGuideAdvanced: missing step")},ip=function(e,t){var n,i,r,o,a,s;Y.info("onGuidePrevious called",{contexts:["guides"]}),(t=Vf(e,t))?"advanced"===t.seenState?Y.info("step already advanced. can't go to previous again",{contexts:["guides","error"]}):y.beforePrevious.trigger(t).cancel?Y.info("Guide previous canceled during runtime in step: "+t.id):(o=E(n=t.guideId),s=e&&e.action&&"goToStep"===e.action||!1,0!==(i=J.indexOf(o.steps,t))&&(r="element"==t.advanceMethod?"click":"mouseover",a=Iu(t),"tooltip"===t.type&&J.isFunction(t.teardownElementEvent)?t.teardownElementEvent(a,r):h(a,r,np,!0),a=e&&J.isNumber(e.steps)?e.steps:1,r=J.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)||Y.info("missing destination step id"),Y.info("advancing guide"),Sp(n,t.id,X(),i,r,!1,o),Y.info("update guide status"),a=(new Date).getTime(),jf(t.guideId,t.id,"advanced",a),(s=J.isFunction(t.getGuide)&&t.getGuide())&&s.attributes&&s.attributes.doNotResume||yc({guideId:t.guideId,guideStepId:t.id,time:a,state:"advanced",seenReason:i,visitorId:X(),destinationStepId:o}),kc(),Nc())):(kc(),fr("onGuidePrevious: missing step"))},rp=function(e){var t;Q("._pendo-credits_",e).length||((t=Ry.createElement("img")).setAttribute("src",Ki()+"/img/tiny-logo.png"),t=Q(Ry.createElement("div")).addClass("_pendo-credits_").css({bottom:0,right:I.TOOLTIP_ARROW_SIZE}).append(t),ou.push(t[0]),t.appendTo(e))};function op(e){return e&&e.attributes&&e.attributes.stayHidden}function ap(e){return d(e.triggerElementPathRule)[0]}var sp=function(e){var t,n;return!op(e)&&(!(e.elementPathRule||"lightbox"!==e.type&&"whatsnew"!==e.type)||!(e.triggerElementPathRule&&!to(ap(e))||(t=Iu(e),(n=e.targetElement)&&e.elementContainsRulesList&&!dp(n,e.elementContainsRulesList)))&&(n="tooltip"===e.type||_d.isBuildingBlockGuideRelativeToElement(e),e=to(t),n?e||no(t):e))};function up(e){var t=(Q(e).text()||"").trim().toLowerCase(),e=e.value;return t||e}function dp(e,t){for(var n=up(e),i=0;i<t.length;i++)if(!cp(n,t[i]))return!1;return!0}function cp(e,t){var n=t.matchType,i=t.matchValue,t=t.dataType,e=e||"";if("number"===t){var r=Mt(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 lp=function(e){return Ff+e.id},fp=function(e){var t=e.element,n=J.first(Q("#"+lp(e)));t&&n?to(t)||Q.hasClass(n,"mouseover")?setTimeout(function(){fp(e)},Rc):e.hide&&(e.hide(),Bf())||(kc(),Nc()):t||!n||e.hide&&(e.hide(),Bf())||(kc(),Nc())},pp=function(){return!1},hp=J.partial(J.get,J,"attributes.resourceCenter"),gp=function(e,t){var n;return!(!e||!e.guideId||!(n=E(e.guideId)))&&(Bf()&&(e=Vf(),$f(e),hp(n)?(e=Hf(hp),(e=J.filter(e,function(e){return e.id!==n.id})).length&&Z.dispatch("frames/hideGuides",J.pluck(e,"id"))):(Kf(),Z.dispatch("frames/hideGuides"))),n.launch(t),n.isShown())},mp=function(e,t,n,i,r,o){e=Tp({type:"guideNotSeen",guideId:e,stepId:t,visitorId:n,reason:i,language:r});o&&J.extend(e.props,{step_poll_types:o}),Lp(e),y.guideNotSeen.trigger(e)};function vp(e){var t="auto";return e&&(e=(e.launchMethod||t).split("-"),!J.contains(e,t))&&e.length?J.first(e):t}var yp=function(e,t,n,i,r,o){i||(Y.critical("pendo.io guideSeen exception",{guideId:e,stepId:t,error:new Error("seenGuide called without seen reason")}),i=vp(E(e)));n=Tp({type:"guideSeen",guideId:e,stepId:t,visitorId:n,reason:i,language:r});J.extend(n.props,o),Lp(n),yc({guideId:e,guideStepId:t,time:v(),state:"active",seenReason:i,visitorId:X()}),y.guideSeen.trigger(n)};function bp(e,t,n,i,r){e=Tp({type:"guideDismissed",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r});Lp(e),y.guideDismissed.trigger(e)}function wp(e,t,n,i,r,o){e=Tp({type:"guideSnoozed",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r,snooze_duration:o});Lp(e),y.guideSnoozed.trigger(e)}function Sp(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=Tp(e);Lp(t,null,o),y.guideAdvanced.trigger(t)}function Ip(e,t,n,i,r,o){e=Tp({type:"guideTimeout",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r,guideSeenTimeoutLength:o});Lp(e),y.guideTimeout.trigger(e)}function xp(e,t,n,i,r){e=Tp({type:"guideSnoozeCanceled",guideId:e,stepId:t,visitorId:n,seen_reason:i,language:r});Lp(e,null,!0),y.guideSnoozeCancelled.trigger(e)}var Ep={DISMISSED:"latestDismissedAutoAt",SNOOZED:"latestSnoozedAutoAt",ADVANCED:"finalAdvancedAutoAt"};function Cp(e,t){_p(e,t);var n={};n[t]=e,Z.dispatch("frames/changeThrottlingState",n)}function _p(e,t){J.contains(J.values(Ep),t)&&(J.isFunction(e.getTime)&&(e=e.getTime()),I[t]=e,c.write(t,e,mc))}function Tp(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),J.isString(a.language)||delete a.language,J.extend({guide_id:a.guideId,guide_step_id:a.stepId},J.omit(a,"type","guideId","stepId","visitorId"))),t=ln.addTracerIds({type:a.type,visitor_id:a.visitorId,account_id:Dn(),browser_time:(new Date).getTime(),url:l.externalizeURL(),props:e});return y.eventCaptured.trigger(t),t}var Ap=null,Rp=function(e){Ay.clearTimeout(Ap),Ap=Ay.setTimeout(dh,e)},Lp=function(e,t,n){t=t||500,e.props.duration=n?0:(new Date).getTime()-Gf(),fh.push(e),Rp(t)},Op=function(e,t){return"dismissed"===e.state?null:E(e.guideId).nextStep(e,t||kp())},kp=function(){return I.normalizedUrl||Np(l.externalizeURL())},Np=function(e){try{var t=new Wn(e),n=J.tail(t.search).join("").split("&");return t.search=n.sort().join("&"),t.href}catch(Ut){return Y.error("Invalid URL provided to normalize"),e}},Mp=function(e,t){return!x(e)||new RegExp(e).test(t)},Pp=function(e,t){e=pu(e);return!!e&&(!(t=gp(J.first(e.steps),t||"api"))&&e.control&&Y.info(kf),t)},Fp=function(e,t){e=E(e);return!!e&&(!(t=gp(J.first(e.steps),t||"api"))&&e.control&&Y.info(kf),t)};function Dp(e,t){return t=parseInt(t,10),isNaN(t)||!J.isNumber(t)||!(J.isNumber(e)&&e<t)&&J.isNumber(e)?e:t}var Up=function(){kc(),Oc(),ae.removeNotificationBubble(),cl(),ea()},Gp;function Bp(e){!Gp||J.isString(e.id)&&e.id!==Gp.id||(J.extend(I,e),Gp.deferred&&Gp.deferred.resolve(),Gp=null)}function zp(){return Oh.pending||!(!Gp||!I.id||I.id===Gp.id)}var Hp=function(e,t){var n=m.get("trainingPartner"),i=J.uniqueId(),r=$.defer(),o=(Gp={id:i,deferred:r},uc()||((o=dc())?(Y.info("sending metadata: "+V.stringify(o),{contexts:["guides","metadata"]}),t.metadata=o):Y.info("no metadata to send",{contexts:["guides","metadata"]})),vt(t)),i={id:i,jzb:o,v:it,ct:(new Date).getTime()},n=(n&&t.accountId&&"ACCOUNT-UNIQUE-ID"!==t.accountId&&(i.acc=xt(t.accountId)),ml(!0)&&(i.debug=!0),cr(jp.endpoint(),e,i)),t=oa.get();return o=n.length>Aa||!J.isEmpty(t)?(delete i.jzb,n=cr("guide.json",e,i),i=J.extend({events:o},t),jp.post(n,i,J.noop)):jp.load(n,J.noop),$.all([o["catch"](function(e){return 451===e.status&&(kc(),yr(),I.segmentFlags=[],I.doNotProcess=!0,Y.info("not tracking visitor due to 451 response")),$.reject(e)}),r.promise,Lf(jp,e)])},jp=Nu;function Wp(e){jp=e}function Kp(){jp=Nu}function qp(e){return J.each(e,function(e,t){e.attributes||(e.attributes={}),!isNaN(e.attributes.priority)&&J.isNumber(e.attributes.priority)||(e.attributes.priority=t)}),e.sort(function(e,t){return t.attributes.priority-e.attributes.priority}),e}function Jp(e){var n,t=J.find(e,function(e){return J.isFunction(e.isShown)&&e.isShown()&&!e.isTopLevel});return t?(n=J.chain(t.steps).filter(function(e){return e.isShown()}).indexBy("id").value(),function(e){e=J.findWhere(e,{id:t.id});e&&!J.get(e,"attributes.doNotResume")&&J.each(e.steps,function(e){var t=n[e.id];!t||e.seenState&&"active"!==e.seenState||e.show(t.seenReason)})}):function(){}}var Vp=function(){return!m.get("disableGlobalCSS")},$p,Zp=function(e,t,n,i){var r,o,a,s=$.defer(),u=!1;return Rf()?(Y.info("guide events are blocked, load guides cancelled"),J.isFunction(i)&&i("error: guides are blocked"),s.reject()):(Y.info("loading guides for "+n+"...",{context:["guides"]}),e=e||I.apiKey,t=t||X(),n=l.externalizeURL(n),r=Zp.lastVisitorId===t?Jp(S()):J.noop,Zp.lastVisitorId=t,Oc(),Z.commit("guideState/setLastGuideRequestAt",v()),Jo(Vo())?(o={visitorId:t,accountId:Dn(),url:n},a=J.uniqueId(),Zp.reqId=a,Hp(e,o).then(function(){var e;u||I.designer||(y.deliverablesLoaded.trigger(),Y.info("successfully loaded guides for "+n,{contexts:["guides"]}),I.designerEnabled&&"true"!==un.getItem("pendo-designer-mode")&&Ql.loadPluginJs(),Up(),(e=I.lastGuideStepSeen)?(Z.dispatch("guideState/receiveLastGuideStepSeen",e),e.visitorId=t,Z.dispatch("guideState/updateLastGuideStepSeen",e),Z.commit("guideState/setLastGuideRequestAt",v()),cu(e=qp(J.map(I.guides,Uu))),Z.dispatch("guideState/load",c.read(vc)),Z.dispatch("guideState/apply"),I.latestDismissedAutoAt=Dp(I.latestDismissedAutoAt,c.read("latestDismissedAutoAt")),I.finalAdvancedAutoAt=Dp(I.finalAdvancedAutoAt,c.read("finalAdvancedAutoAt")),I.latestSnoozedAutoAt=Dp(I.latestSnoozedAutoAt,c.read("latestSnoozedAutoAt")),Z.dispatch("healthCheck/init",e),Z.dispatch("frames/changeGuideList",e),I.eventProperties=Ih(I.features),e.length?$.all([uh(),rf(zu(I.globalJsUrl)),hh(e),of.initializeWatermark(e),ih(5e3)].concat(Qp(e))).then(function(){Zp.reqId===a&&(Z.getters["frames/isLeader"]()&&r(S()),y.guidesLoaded.trigger(),Nc(),clearTimeout($p)),J.isFunction(i)&&i(),s.resolve()},function(){y.guidesFailed.trigger(),s.reject()}):(y.guidesLoaded.trigger(),s.resolve())):Y.info("lastGuideStepSeen is not set, shutting down guides"))})["catch"](function(e){y.guidesFailed.trigger(),s.reject(e)}),e=m.get("guideTimeout")||m.get("guides.timeout"),J.isNumber(e)&&(clearTimeout($p),$p=setTimeout(function(){Yp(s),u=!0},e))):(Y.info("bad url: probably local file system",{contexts:["guides","error"]}),J.isFunction(i)&&i("error: invalid url"),s.reject())),s.promise};function Yp(e){Up(),e.reject()}var Xp=[];function Qp(t){return J.map(Xp,function(e){return e(t)})}function eh(e){Xp.push(e)}function th(e){e=J.indexOf(Xp,e);0<=e&&Xp.splice(e,1)}function nh(e,t){var n,i=Ry.getElementById(e);return i&&i.href&&0<=i.href.indexOf(t)?$.resolve():(n=$.defer(),Q(i).remove(),I.loadResource(t,function(){n.resolve()}).id=e,n.promise)}var ih=J.memoize(rh);function rh(t,n,e){if(!Vp()||!oh(S()))return $.resolve();n=n||v,e=e||"_pendo-hidden_";var i=Q(Ry.createElement("div")).addClass(e).css({position:"absolute",bottom:"0px",right:"0px",width:"0px",height:"0px",visibility:"hidden"}).appendTo(Q.getBody()),r=n(),o=$.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=te(e);if(e)return"none"===e.display}}function oh(e,t){return t&&t.designer||J.any(e,function(e){return J.any(e.steps,function(e){return!(e.domUrl||e.domJsonpUrl||e.domJson)})})}var ah="_pendo-default-css_",sh="_pendo-css_";function uh(){var e=[];if(!Vp())return $.resolve();oh(S(),I)&&e.push(nh(ah,Nf()));var t=((I.guideWidget||{}).data||{}).guideCssUrl;return t?e.push(nh(sh,zu(t))):Q("#"+sh).remove(),$.all(e)}var dh=function(e){fh.flush(e)},ch=function(){return Of};function lh(e){var n=e.cache,i=o(e,$a),r=o(e,Za),t=ba(n);return{push:function(e){t(e,J.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,J.noop))}};function o(e,t){return va(Oa,Sa("visitor_id"),Sa("props.guide_id"),Sa("props.source"),La,t(e),ka(e))}}var fh=lh({cache:Of,apiKey:function(){return I.apiKey},beacon:"guide",allowPost:!0,preferFetch:b.safari}),ph=lh({cache:[],apiKey:function(){return I.apiKey},beacon:"poll",allowPost:!0,preferFetch:b.safari}),hh=function(e){return ae.initializeResourceCenter(e)},_={postMessage:J.noop,close:J.noop},gh=function(){var e=J.filter(S(),function(e){return J.isFunction(e.outsideTimebox)&&e.outsideTimebox()});lu.addGuide(e)};function mh(){return ln.tabIdChanged(function(){var e=ln.getTabId();Z.commit("frames/setTabId",e),Z.dispatch("frames/join")})}var vh=function(){var e=[],t=(fh.clear(),y.appUnloaded.on(function(){dh({guaranteed:!0}),Z.dispatch("frames/leave")}),y.metadata.on(function(e){e.data[0].storeChanged&&!uc()&&Oh()}),y.identify.on(function(){Oh()}),y.urlChanged.on(function(){Oh(l.get())}),y.guideUpdateComplete.on(function(){gh(),Ju.processPrefetch()}),y.guidesLoaded.on(function(){Xc(S(),au),ae.fetchAnnouncementGuidesContent(S(),Z)}),e.push(Sf(Ry,function(){l.get()===Lh.lastUrl&&kh()})),m.get("guides.tooltip.arrowSize"));return J.isNumber(t)&&(I.TOOLTIP_ARROW_SIZE=t),_=sf(wf(Z),Z),e.push(function(){return _.close()}),e.push(mh()),Z.dispatch("frames/init"),Z.dispatch("frames/join"),e.push(bc()),e.push(ee(Ay,"resize",J.debounce(_h,50))),e.push(ee(Ay,"scroll",J.throttle(pl,10),!0)),e.push(Th()),m.get("preferMutationObserver")&&b.MutationObserver&&(e.push(p(Ay,"animationend",t=function(){Z.dispatch("guideUpdate/documentChanged")})),e.push(p(Ay,"transitionend",t)),e.push(p(Ay,"mouseover",J.debounce(t,50))),Z.commit("guideUpdate/setUseObserver"),m.get("observeShadowRoots")&&Z.commit("guideUpdate/setObserveShadowRoots"),e.push(function(){return Z.dispatch("guideUpdate/stopObserver")})),function(){Up(),J.each(e,function(e){e()}),Q("#"+ah).remove(),Q("#"+sh).remove()}},yh=function(){return m.get("guides.disabled",!1)||m.get("disableGuides",!1)||!dr},bh=function(){return m.get("guides.delay",!1)||m.get("delayGuides",!1)},wh=function(e){var t=m.getLocalConfig();t.disableGuides=e,m.setLocalConfig(t)},Sh=function(e){var t=m.getLocalConfig();t.delayGuides=e,m.setLocalConfig(t)},Ih=Hn(function(e){if(e&&e.length){for(var t=[],n=0;n<e.length;n++){var i=e[n].featureRule,r=J.map(e[n].eventProperties,function(e){return e.selector?e:V&&V.parse&&e.rule?V.parse(e.rule):void 0});t.push({featureRules:i,eventPropertyRules:r,featureId:e[n].featureId})}return t}}),xh=function(){return Ry.fullscreenElement||Ry.webkitFullscreenElement||Ry.msFullscreenElement},Eh=function(){Y.debug("adjustActiveGuideOnResize firing");var e=Nh();e&&e.step&&!I.ignoreResize&&e.step.redraw()},Ch=function(){var e;-1<J.get(Ry,"activeElement.id","").indexOf("pendo-video-")?(!(e=xh())||e.id.indexOf("pendo-video-")<0)&&setTimeout(function(){Eh()},150):Eh()},_h=function(){Ch(),pl()},Th=function(){for(var e=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],t=[],n=0;n<e.length;n++)t.push(ee(Ry,e[n],Ah));return function(){J.each(t,function(e){e()})}},Ah=function(){-1<J.get(Ry,"activeElement.id","").indexOf("pendo-video-")&&(xh()?I.ignoreResize=!0:setTimeout(function(){I.ignoreResize=!1},1e3))};function Rh(e,t,n,i){return!(!e||!I.apiKey||yh()&&"true"!==un.getItem("pendo-designer-mode")||e===Lh.lastUrl&&t===Lh.lastVisitorId&&n===Lh.lastAccountId&&i===Lh.lastMetadataHash)}function Lh(e){var t=X(),n=Dn();Rh(e=e||l.get(),t,n,Ud)&&(Lh.lastUrl=e,Lh.lastVisitorId=t,Lh.lastAccountId=n,Lh.lastMetadataHash=Ud,Zp(I.apiKey,t,e)["catch"](J.noop))}var Oh=function(e){dr&&(Oh.pending&&clearTimeout(Oh.pending),Oh.pending=setTimeout(function(){delete Oh.pending,Lh(e)},0))};function kh(){Lh.lastUrl=null,Oh()}function Nh(){var e,n,t=J.find(S(),function(e){return e.isShown()});return!t||J.get(t,"attributes.resourceCenter.isModule")&&!(t=ae.getResourceCenter())?null:(e=J.find(t.steps,function(e,t){return n=t,e.isShown()}),{guide:t,steps:J.filter(t.steps,function(e,t){return e.isShown()}),step:e,stepIndex:n})}function Mh(e){return J.find([J.partial(C.launchOnToken,Ay.location),J.partial(bl,Ay),J.partial(C.localStorageNavigation,e)],function(e){return e()}),e.enableDesignerKeyboardShortcut||!m.get("disableDesignerKeyboardShortcut")?Ql.listen():function(){}}function Ph(e){var t,n=J.get(e,"value","");-1!==J.get(e,"parentElement.className","").indexOf("_pendo-nps-poll-"+n+"-wrapper")&&(e=Q("._pendo-nps-open-text-poll-question"),t=Q("._pendo-nps-open-text-poll-input")[0],J.forEach(e,function(e){"none"!==J.get(e,"style.display","none")&&t&&t.setAttribute("aria-labelledby",e.id)}))}function Fh(e){if(e.confirmationElementPathRule)return d(e.confirmationElementPathRule)[0]}var Dh=function(){var n=this,o=(this.eventable=fn.call({}),this.eventable.on("pendoEvent",function(e){try{n.eventHandler(e)}catch(t){e=e&&e.action||"NO ACTION DEFINED";Y.critical("Error in Action "+e,{error:t})}}),this.eventHandler=function(e){if(!e.ignore){switch(e.action){case o.advanceGuide:np(e,e.step);break;case o.previousStep:ip(e,e.step);break;case o.goToStep:tp(e);break;case o.submitPoll:this.submitPoll(e);break;case o.guideSnoozed:var t=e&&e.params&&e.params[0]&&e.params[0].value;Qf(e,e.step,t);break;case o.dismissGuide:ae.attemptToPreserveIntegrationIframes(e),!function(e){if(!e||!e.step)return Xf();var t=e.step.getGuide();if(t&&t.attributes&&t.attributes.resourceCenter)return ae.dismissResourceCenter(t);Xf(e,e.step)}(e);break;case o.showElements:this.setElementDisplay(e,"block"),e.srcElement&&Ph(e.srcElement),Rd((n=$u(e.step.domJson)).props.id),Ld(n.props.id),oe.flexAllThings(n.props.id),Ad(n.props.id);break;case o.hideElements:this.setElementDisplay(e,"none"),Rd((n=$u(e.step.domJson)).props.id),Ld(n.props.id),oe.flexAllThings(n.props.id),Ad(n.props.id);break;case o.slideElement:this.setElementAnimation(e);break;case o.showGuide:t=J.find(e.params,function(e){return"reason"===e.name});Fp(e.params[0].value,t&&t.value);break;case o.launchGuide:I.designer||(Xf(e,e.step),e&&e.params&&e.params[0]&&e.params[0].value&&Fp(e.params[0].value));break;case o.renderResourceCenterModule:var n=r(e);ae.replaceResourceCenterContent(e.params[0].value,n);break;case o.returnToResourceCenterHome:t=ae.findResourceCenterHomeView(uu());if(!t)return;ae.attemptToPreserveIntegrationIframes(e),ae.replaceResourceCenterContent(t.id,e.params);break;case o.openLink:I.designer||this.openLink(e);break;case o.searchGuides:this.searchGuides(e);break;case o.submitPollAndGoToStep:this.submitPoll(e),tp(e);break;case o.confirmation:this.confirmGuide(e)}var i=Dh.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=Q("[data-pendo-poll-id]",i.guideElement[0]);n=n.concat(J.map(r,function(e){var t,n=Q("textarea,input:text,select,input:radio:checked",e);if(n&&n.length&&n[0].value)return t=e.getAttribute("data-pendo-poll-id"),e=J.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(J.compact(n)):Y.info("[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=Q(J.find(e.params,function(e){return"selectors"===e.name}).value,n.guideElement[0]);J.each(e,function(e){e.style.display=t})},this.setElementAnimation=function(e){var t=Q(J.find(e.params,function(e){return"selector"===e.name}).value,e.step.guideElement[0])[0],n=J.find(e.params,function(e){return"transition"===e.name}).value,e=J.find(e.params,function(e){return"left"===e.name}).value;t.style.transition=n,t.style.left=e},this.openLink=function(e){var t=J.find(e.params,function(e){return"url"===e.name}).value,e=J.find(e.params,function(e){return"target"===e.name}).value;"_self"===e&&Fo()&&(e="_top");Ay.open(t,e)},this.goToStep=tp,this.searchGuides=function(e){var t="",n=e.srcElement.value,e=Q("#pendo-resource-center-container")[0],i=Q(e).find('[id^="pendo-list-item-"]'),e=Q(e).find('[id^="pendo-no-matches-container"]'),r=[],o=!0;if(i)for(var a in i)a&&i[a]&&(Q(i[a]).text()&&(-1!==Q(i[a]).text().toLowerCase().indexOf(n.toLowerCase())?(Q(i[a]).css({display:"list-item"}),o=!1):Q(i[a]).css({display:"none"})),J.isFunction(i[a].getAttribute)&&(t=i[a].getAttribute("data-_pendo-text-list-item-1").split(","),J.forEach(t,function(e){J.contains(r,e)||r.push(e)})),this.searchAllTerms(r,t,n)&&i[a]&&(Q(i[a]).css({display:"list-item"}),o=!1),t="");o?Q(e[0]).css({display:"block"}):Q(e[0]).css({display:"none"})},this.searchAllTerms=function(t,e,n){return!!e&&e.some(function(e){return J.contains(t,e)&&e===n})},this.confirmGuide=function(e){var e=e.step,t=Fh(e);e.advance(),t?t.click():Y.critical("pendo.io confirmationElement exception",{stepId:e.id,confirmationElementPathRule:e.confirmationElementPathRule,error:new Error("confirmation action called but confirmationElement was not found")})},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 Uh(){function e(e){this._object=e}return e.prototype.deref=function(){return this._object},e}Object.defineProperty(Dh.prototype,"registeredActions",{value:{}}),Dh.registerAction=function(e,t){var n;e&&"string"==typeof e&&t&&"function"==typeof t&&((n=Dh.prototype.registeredActions)[e]=t,Object.defineProperty(Dh.prototype,"registeredActions",{value:n}))},Dh.deregisterAction=function(e){var t;e&&"string"==typeof e&&(delete(t=Dh.prototype.registeredActions)[e],Object.defineProperty(Dh.prototype,"registeredActions",{value:t}))};var Gh=function(e){var t=Ay.WeakRef;return"function"==typeof t&&/native/.test(t)?t:e()}(Uh),T={renderGuideFromJSON:function(e,n,t,i){var r=n.getGuide(),o=$u(e),a=J.get(r,"attributes.resourceCenter");a&&(ae.revertRtlChanges(r,e.props),e=ae.updatePseudoStyleSelectors(n,e));var s=a&&ae.isFullyCustom(r),u="AnnouncementsModule"===J.get(r,"attributes.resourceCenter.moduleId"),o=(n.hasEscapeListener=!1,n.containerId=o&&o.props&&o.props.id,n.element=Iu(n),T.buildNodeFromJSON(e,n,t)),t=(n.guideElement=o).find("#"+n.containerId),d="data-vertical-alignment",c="Relative to Element"===t.attr(d);c&&!a&&Q(n.guideElement).css({overflow:"hidden",height:"0",width:"0"});t.css({visibility:"hidden"}),o.css({visibility:"hidden"});d=of.buildWatermark({appId:r.appId,targetAccount:r.targetAccount,isTraining:r.isTraining,isBottomAligned:"Bottom Aligned"===t.attr(d)},T.buildNodeFromJSON);d&&t.append(d);var d=n&&n.attributes&&n.attributes.imgCount,l=(o.appendTo(re()),t.find('[data-pendo-grow-height="true"]')[0]);l&&Td(l,o[0]);s||u||(T.recalculateGuideWidth(n.containerId),T.adjustGuideContentWidth(n.containerId));d||a||T.flexAllThings(n.containerId);s||T.recalculateGuideHeight(n.containerId);c?n.attributes.calculatedType="tooltip":_d.attachBBAdvanceActions(n);c&&!d&&_d.positionStepForTooltip(n,e,t[0]);a&&(ae.showHomeViewOrEmptyState(r),l=[],u?l=[r.attributes.resourceCenter]:T.flexAllThings(n.containerId),l.length)&&J.forEach(l,function(e){e=J.get(e,"children",[]);J.forEach(e,function(e){var t;e&&(t=e.steps[0],J.isUndefined(t.attributes.imgCount))&&(t=J.get(t,"id",n.id),e=J.get(e,"id",r.id),t=Q("#pendo-g-"+t).length?t:e,T.flexAllThings("pendo-g-"+t))})});{var f;d?(f=$.defer(),o.rendered=f.promise,t.on("imagesLoaded",function(){f.resolve()})):(t.css({visibility:"visible"}),o.css({visibility:"visible"}),o.rendered=$.resolve())}n.elements.push(n.guideElement[0]),!I.designer&&J.get(n,"attributes.isAutoFocus")&&(T.autofocusStep(n,t),T.trapFocusStep(n,t),n.hiddenElements=T.addAriaHiddenOutsideGuide(o[0]));return Q(".pendo-video-wrapper",o).each(function(t){Q("iframe",t).each(function(e){t.setAttribute("data-pendo-video-loading",""),T.addVideoLoadListener(t,e)})}),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};Nt(function(){var e=Q(t).find("#pendo-guide-container");return(e=e[0]||e)&&to(e)&&Zr(e)&&Yr(e)?e:null},i,function(t){Nt(function(){return!!(e=t)&&(e.focus(),e===Q.getRootNode(e).activeElement);var e},i,function(){},function(){Y.warn(n+"#pendo-guide-container is available on page but could not capture focus")})},function(){Y.warn(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:J.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:J.extend({},t,{tabIndex:0})},{selector:".pendo-end-focus-bumper:hover",styles:t},{selector:".pendo-end-focus-bumper:focus",styles:t}]},t=T.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],p(Ry,"keyup",n=function(e){var t,n,i="Tab"===e.key||9===e.keyCode,r=e.shiftKey;i&&(t=(i=Q.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()))}),p(Ry,"keydown",n),y.one("unmounted",function(){h(Ry,"keyup",n),h(Ry,"keydown",n)}))}(t.find("#pendo-guide-container"))},addAriaHiddenOutsideGuide:function Ty(e,n){void 0===n&&(n=[]);if(!e||e===Gr())return n;var t=zr(e);J.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 Gh(e)))});e.parentNode&&Ty(e.parentNode,n);return n},renderResourceCenterModule:ae.renderResourceCenterModule,buildNodeFromJSON:jd,attachImgLoadHandlers:Wd,recalculateGuideHeightOnImgLoad:Kd,buildStyleString:function(e){var n="";return J.each(e,function(e,t){n=n+t+":"+e+";"}),n},buildStyleTagContent:Vd,bindActionToNode:qd,recalculateGuideHeight:Ad,recalculateGuideWidth:Rd,adjustGuideContentWidth:Ld,findDomBlockInDomJson:Zu,isElementHiddenInGuide:oe.isElementHiddenInGuide,positionStepForTooltip:_d.positionStepForTooltip,flexAllThings:oe.flexAllThings,flexElement:oe.flexElement,findTopLevelContainer:function(t){for(var e=["pendo-base","pendo-resource-center-container"],n=0;n<20;n++){if(J.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:hd,buildNodesFromJSON:Bd,findGuideContainerJSON:$u,maintainAspectRatios:oe.maintainAspectRatios,sizeElement:Td,getAllowedAttributes:Hd,repositionFlexElementsInFullWidthGuides:function(){},isBuildingBlockGuideRelativeToElement:_d.isBuildingBlockGuideRelativeToElement,updateAriaLabelledbyForActiveFollowupQuestion:Ph,addVideoLoadListener:function(e,t){p(t,"load",function(){e.removeAttribute("data-pendo-video-loading")})}},Bh={BuildingBlockGuides:T,BuildingBlockResourceCenter:ae,BuildingBlockTemplates:Xu,BuildingBlockTooltips:_d,BuildingBlockSvgs:Qu},zh=[],Hh=!1,jh={agent:{getJwtInfoCopy:oa.get},agentStorage:c,analytics:{ptm:la},attachEvent:p,BuildingBlocks:Bh,ConfigReader:m,Events:y,EventTracer:ln,EventRouter:Dh,Extensions:{API:{addTopic:pc}},getAssetUrl:qi,GlobalRuntime:{addGlobalScript:Vu.addGlobalScript,removeGlobalScript:Vu.removeGlobalScript},GuideLoop:{addUpdatePhase:Vc,removeUpdatePhase:$c},NodeSerializer:Ls,q:$,sessionStorage:dn,store:Z,transmit:{fetchKeepalive:gr,sendBeacon:mr},log:Y,util:{trim:ct}};function Wh(e){zh.push(e),Hh&&e.initialize(I,jh)}function Kh(){return J.each(zh,function(e){e.initialize(I,jh)}),Hh=!0,qh}function qh(){J.each(zh,function(e){J.isFunction(e.teardown)&&e.teardown(I,jh)}),Hh=!1}function Jh(t){J.each(zh,function(e){t("log",e.name),e.validate&&e.validate(I,jh,t)})}function Vh(e){return J.extend(e.uri,J.pick(e,"name")),Wh(e.uri),e}function $h(e){return!!e.uri.initialize&&!!e.uri.teardown}hc.registerExtensionsByUse("plugin",Vh,$h);var Zh=!1,Yh=function(e){var t=e.old_visitor_id,e=e.visitor_id;return Tn(t)?_n(e)?Tn(e)?(Y.info("Visitor is anonymous: "+e),!1):On(e)?(Y.info("Visitor id is the default: "+e),!1):(Y.info("Re-mapping visitor identity from "+t+" to "+e),!0):(Y.info("Not valid visitor id: "+e),!1):(Y.info("Visitor is already identified: "+t),!1)},Xh=function(e){var t=e.old_account_id,e=e.account_id;return _n(e)?t!==e&&(Y.info("Re-mapping account identity from "+t+" to "+e),!0):(Y.info("Not valid account id: "+e),!1)};function Qh(){Zh||(y.identify.on(function(e){e=e.data[0];(Yh(e)||Xh(e))&&(pa("identify",e),ea())}),y.metadata.on(function(e){var t;uc()||(t=(e=e.data[0]).options,e.hashChanged&&(pa("meta",t),ea()))}),Zh=!0)}var eg=function(){var o="guideActivity",r=J.isObject,a=J.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=Nh();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=Q("#"+e).closest("[data-pendo-announcement-guide-id]").attr("data-pendo-announcement-guide-id"),e=J.find(uu(),function(e){return e.id===t});return e?{guide:e,step:e.steps[0]}:Ly}(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!==Ly)for(var n=0;n<t.children.length;n++){var i=r(e,t.children[n]);if(i!==Ly)return i}return Ly}(e.id,t.step.domJson);if(n)return n=function(e){if(e!==Ly){if("a"===e.type)return[{action:"openLink",url:Ni(e.props.href),target:e.props.target}];if(e.actions!==Ly)return J.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:Ni(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),Tp({type:o,visitorId:X(),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()-Gf(),language:t.guide.language})}}(n))&&Lp(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}}(),tg=function(){var r="guideActivity",o=J.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=Nh();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),Tp({type:r,visitorId:X(),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()-Gf(),language:i.language})}}(n))&&Lp(e)}};function a(e){return-1!==e.cls.split(" ").indexOf("_pendo-resource-center-module-list-item")?{type:"BUTTON",elementId:Q("#"+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=Nh();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}}();function ng(e){e=e.events;J.each(void 0===e?[]:e,function(e,t){Ou[t]&&Ou[t](e)})}var ig=0,rg="initializeImmediately",og=[],ag=Hn(function(e){if("complete"===Ry.readyState||J.get(e,rg)||m.get(rg))if(Y.info("pendo.initialize called with "+V.stringify(e)),I.apiKey)1==ig++&&Y.info(["pendo.initialize only needs to be called once",At()?" per namespace":"",". Use pendo.updateOptions to update metadata after the agent has initialized."].join(""));else{if(e=e||{},J.isEmpty(oa.get())&&(t=oa.getJwtOptions(e,"initialize"))&&(oa.set(J.pick(e,"jwt","signingKeyName")),J.extend(e,t)),J.isString(e))return ci.get(e).then(function(e){return ag(PendoConfig=e.data)});Z.dispatch("location/init",e.location||{}),m.setLocalConfig(e),ji(),Wi(I);var t=m.get("cookieDomain");t&&Vt(t,location.host),Xl.discoverKeys(e),Xl.getApiKey()?(Z.commit("metadata/setMetadata",{selfHosted:ac()}),e.logStackTraces&&(I.logStackTraces=e.logStackTraces),m.get("preferBroadcastChannel")&&yf.secure(!0),dr&&(I.disableGuideCenterContentSearch=e.disableGuideCenterContentSearch,ng(e),og.push(vh()),Qh(),og.push(Zs()),og.push(Kh()),og.push(Mh(e)),y.appUsage.on(eg.handler),y.appUsage.on(tg.handler),y.guideListChanged.on(ln.changeSessionId)),An()||Rn(),I.updateOptions(e),e.visitorId&&e.visitorId!=Ln&&I.identify(e.visitorId),og.push(l.watch(I.pageLoad)),ts(l.get()),dr&&y.ready.trigger(),ig++,sg(),cg()):Y.debug("API key is not set, Pendo will not initialize.")}else W(I,"initialize",arguments)});function sg(){Ay.parent&&Ay.parent.postMessage&&"function"==typeof Ay.parent.postMessage&&Ay.parent.postMessage({type:"announce-frame-initialized",destination:"pendo-designer-agent",source:"pendo-designer-agent",localStorageRouter:!0},yf.targetOrigin())}function ug(e){return!J.isArray(e)||J.isEmpty(e)}function dg(e){if(!ug(e))return J.find(e,function(e){return"initialize"===e[0]})}function cg(i){var e;return!ug((i=i||I)._q)&&(e=!!dg(i._q),lg(i)||e)?(e=i._q.splice(0,i._q.length),J.reduce(e,function(e,t){var n;return J.isArray(t)&&(n=i[t.shift()],J.isFunction(n))?e.then(function(){return n.apply(i,t)}):e},$.resolve()).then(cg)):$.resolve()}var lg=function(e){return(e=e||I).doesExist(e.apiKey)};function fg(){lg()?Y.info("already running"):(Ay.pendo_options&&ag(Ay.pendo_options),cg(),ta(jo))}function pg(e,t,n){m.get("disableAutoInitialize")||(e=(e=dg(e))&&1<e.length?e[1]:{},J.get(e,rg)||m.get(rg)?t():og.push(n(t)))}function hg(){y.appUnloaded.trigger(),J.each(og,function(e){e()}),og.length=0,ia(),yf.close(),fn.clear(y),fn.clear(Ou),delete I.apiKey,ig=0}var gg=function(e){var t,n=Nh();n&&(t=n.guide.steps[n.stepIndex+1],e=e||0,setTimeout(function(){var e=d(t.elementPathRule);0!==e.length&&J.some(e,to)?np(n.step):np(t)},e))},mg=function(e,t){var n=Nh(),i=Q(t=t||n.step.elementPathRule)[0],r=function(){np(),h(i,e,r,!0)};p(i,e,r,!0)},vg=function(){Q("._pendo-guide_").css("display:none;");var t=kp(),e=Nh().guide.steps,n=J.filter(J.rest(e),function(e){return!!e.pageId}),n=J.indexOf(e,J.find(n,function(e){return Mp(e.regexUrlRule,t)}));Y.info("startingPoint is "+n),-1==n?Q("._pendo-guide_").css("display:block;"):(n=e[Math.max(0,n-1)],Y.info("found starting step to be "+n.id),np(n))},yg=function(e,t,n){if(t)n||(i=[].concat(t.steps).reverse(),n=J.findWhere(i,{seenState:"active"}));else{var i=Nh();if(!i)return;t=i.guide,n=i.step}return(e=J.template(e=e||"Step <%= currPos %> of <%= total %>"))({currPos:t.getPositionOfStep(n),total:t.getTotalSteps()})},bg={getActiveGuide:Nh,smartNextStep:gg,smartFirstStep:vg,advanceOn:mg,renderStepPosition:yg},wg,Sg;function Ig(e,t){var n="",i=e.nodeType;if(t=t||128,i===Ji||i===Yi)return e.nodeValue;if(!xg(e)&&(i===Vi||i===$i||i===Zi)){if(!e.childNodes)return n;for(var r,o=0;o<e.childNodes.length;++o){if(t<=(n+(r=Ig(e.childNodes[o],t-n.length))).length)return n+_g(r.substring(0,t-n.length));n+=r}}return n}function xg(e){return!e.tagName||"textarea"==e.tagName.toLowerCase()}function Eg(e){return 55296<=e&&e<=56319}function Cg(e){return 56320<=e&&e<=57343}function _g(e){if(!(e.length<1)){var t=e.slice(-1).charCodeAt(0);if(Eg(t)||Cg(t)){if(1===e.length)return e.slice(0,-1);if(Eg(t))return e.slice(0,-1);if(Cg(t))if(!Eg(e.slice(-2).charCodeAt(0)))return e.slice(0,-1)}}return e}var Tg=100,Ag=[],Rg=[],Lg=function(e){var t=c.read("log-enabled",!0);return null!==t?"true"==t:!J.contains(["prod","prod-eu","prod-us1","prod-jp","rc"],e)},Og=function(){var e=c.read("active-contexts",!0);return e?e.split(","):[]},kg=function(){return Fg()?Sg?"logging already enabled":(c.write("log-enabled","true",null,!0),Sg=!0,"logging enabled"):"logging unavailable"},Ng=function(){return Sg?(c.write("log-enabled","false",null,!0),Sg=!1,"logging disabled"):"logging already disabled"};function Mg(){wg=Og(),Sg=Lg(Xe),Y.addEventListener("log",Gg)}var Pg=function(e,t){return J.compact([].concat(e,t))},Fg=function(e){return e=e||"log","undefined"!=typeof console&&J.isFunction(console[e])},Dg=function(e){return e=Pg(e),0<wg.length?0<J.intersection(wg,e).length:!!Sg||!!ml(!0)},Ug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Y.info(e,{contexts:t})};function Gg(e){var t;e.level!==wn.Debug&&e.level!==wn.Info||(t=e.attributes?Pg(e.attributes.contexts):[],Fg()&&Dg(t)&&Jg(e.message),Hg(Ag,e.message,t))}function Bg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Fg("error")&&console.error.apply(console,e),Hg(Rg,e.join(" "))}function zg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Fg("warn")&&console.warn.apply(console,e)}var Hg=function(e,t,n){J.contains(n,"debug")||(e.length==Tg&&e.shift(),e.push([t,n]))},jg=function(t){t=Pg(t),J.each(J.map(J.filter(Ag,function(e){return 0===t.length||0<J.intersection(t,e[1]).length}),function(e){return e[0]}),function(e){Jg(e,"[Pendo-History] ")})},Wg=function(){return J.union.apply(J,J.map(Ag,function(e){return e[1]}))},Kg=function(){return wg},qg=function(e){wg=Pg(e),c.write("active-contexts",wg.join(","),null,!0)},Jg=function(e,t){var n;Fg()&&(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 Vg(e){Y.debug(e,{contexts:["debug"]})}function $g(){return 0<Rg.length}function Zg(){return[].concat(Rg)}function Yg(e,t){var n;e&&J.isString(e)?(J.isObject(n=t)||(n={__err__:t}),t=l.get(),pa("track",n,t,e)):Y.error("Must provide valid name string for event tracking")}Ug.init=Mg,Ug.enableLogging=kg,Ug.disableLogging=Ng,Ug.getActiveContexts=Kg,Ug.setActiveContexts=qg,Ug.showLogHistory=jg,Ug.getLoggedContexts=Wg;var Xg=function Xg(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"),I.apiKey||a("error","No Pendo API key configured. Make sure to call pendo.initialize() with a valid Pendo API key.","apiKey");var e=X(),e=(Tn(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"),On(e)&&a("error","The current visitor ID matches the example visitor ID from the Pendo installation instructions.","isDefaultVisitor"),Dn()),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"),dc());if(J.each(["visitor","account","parentAccount"],function(n){var i=t&&t[n],e=J.chain(i).keys().value();0<e.length?(r||console.group(n+" metadata (does this look right?):"),0<(e=J.chain(e).map(function(e){return e.toLowerCase()}).countBy().pick(function(e){return 1<e}).keys().value()).length&&J.each(e,function(e){a("warn","Keys will be lowercased and any duplicates overwritten. Please choose unique key names for:",n+"MetadataConflict",e)}),J.each(J.keys(i),function(e){var t=i[e];J.isObject(t)&&!J.isArray(t)?a("warn",e+" is an object and will be ignored.",n+"Metadata",t):J.isArray(t)&&J.any(t,J.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()},Qg=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:V,displayName:"JSON ",propsToCheck:["parse","stringify"]},{nativeType:Math,displayName:"Math "},{nativeType:tn.prototype,displayName:"Promise "},{nativeType:Ay,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=(J.each(e,function(e){var t=e.nativeType,n=[],i=e.propsToCheck||Object.getOwnPropertyNames(t);J.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"),J.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())},em=function(e){var t=[];if(J.isNumber(Ay.frames.length)&&J.isFinite(Ay.frames.length)&&Q("iframe").length+Q("frame").length===Ay.frames.length||t.push("Pendo has detected that window.frames.length has been modified"),Ay.Event&&Ay.Event.prototype||t.push("Pendo has detected that window.Event has been modified"),t.length){if(e)return t;console.group("Global variables:"),J.each(t,function(e){console.warn(e)}),console.groupEnd()}},tm=function(e){var t,n=Ay.location.href,i=[];try{(t=bi())!==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=l.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),J.each(i,function(e){e.method?console[e.method](e.msg+"\n"+e.value):console.warn(e.msg+"\n"+e.value)}),console.groupEnd()},nm=function(){$g()&&(console.group("Agent Error History"),J.each(Zg(),function(e,t){console.log("Error History ",t,e)}),console.groupEnd())},im=function(){console.group("Active Plugins"),Jh(function(e,t){console[e](t)}),console.groupEnd()},rm=function(){Xg(),im(),Qg(),em(),tm(),m.validate(console),nm()};function om(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=J.compose(J.bind(this.afterJobRun,this),J.bind(this.doJob,this),J.bind(this.shouldJobRun,this))}om.prototype.start=function(e){this.state.isStopped&&(this.state.isStopped=!1,this.state.options.skipFirstRun=e,this.run())},om.prototype.stop=function(){clearTimeout(this.state.handle),this.state.isStopped=!0,this.state.hasRun=!1};var am=ci.urlFor;function sm(e,t,n){var i={search:["AllowOnlyKeys","ExcludeKeys","AddTo","Replace","Clear"],hash:["Replace","Clear"],pathname:["Replace"],hostname:["Replace"],href:["Replace","ForceSecure"],protocol:["ForceSecure"]};if(J.isObject(e)&&(t=e.action,n=e.data,e=e.attr),!i[e])throw new Error("Invalid URL attribute type: "+e);if(!J.contains(i[e],t))throw new Error("Invalid transform ("+t+") for attribute ("+e+")");this.attr=e,this.action=t,this.data=n}function um(e){return e instanceof Wn||e instanceof HTMLAnchorElement}sm.prototype.applyToURL=function(e){return{AllowOnlyKeys:function(e,t,n){J.isFunction(n)&&(n=n(e[t],e));t=e.href;return new Wn(Fi(t,null,n,!1))},ExcludeKeys:function(e,t,n){J.isFunction(n)&&(n=n(e[t],e));t=e.href;return new Wn(Fi(t,null,n,!0))},AddTo:function(e,t,n){J.isFunction(n)&&(n=n(e[t],e));t=e.href;return new Wn(am(t,n))},Clear:function(e,t){return e[t]="",e},Replace:function(e,t,n){return J.isFunction(n)&&(n=n(e[t],e)),"href"===t?new Wn(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)},sm.prototype.toString=function(){return this.attr+" - "+this.action+" - "+V.stringify(this.data)},sm.fromJSON=function(e){return e instanceof sm?e:new sm(e.attr,e.action,e.data)};var dm=function(){var i=function(){var t,n,i,r,e=yi(),o=l.isElectron()?(t=l.electronAppName(),n=l.electronResourcesPath(),i=l.electronUserDirectory(),r=l.electronUserHomeDirectory(),[new sm("pathname","Replace",function(e){e=e.replace(n,t);return e=(e=e.replace(i,t)).replace(r,"")}),new sm("href","ForceSecure")]):[];return a([].concat(o),e)},e={transforms:[],internalTransforms:[],electronTransforms:[],currentSrcFn:i},r=new om(500,function(e){lg()&&ts()}),o=function(e){if("string"==typeof e)return new Wn(e);if(um(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 J.reduce(e,function(e,t){return t.applyToURL(e)},t)},t=function(e){try{var t=function(e){return n=e},n=J.reduce([e.currentSrcFn,o,t,J.partial(a,e.transforms),o,t,J.partial(a,e.internalTransforms),o],function(e,t){return t(e)},null)}catch(Ut){Y.critical(Ut),n=n||Ay.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){J.each(e,function(e){t.commit("addTransform",sm.fromJSON(e))})},addInternalTransforms:function(t,e){J.each(e,function(e){t.commit("addInternalTransform",sm.fromJSON(e))})},removeInternalTransforms:function(t,e){J.each(e,function(e){t.commit("removeInternalTransform",sm.fromJSON(e))})}},mutations:{addTransform:function(e,t){e.transforms.push(t)},addInternalTransform:function(e,t){e.internalTransforms.push(t)},removeInternalTransform:function(e,t){t=J.indexOf(e.internalTransforms,t);0<=t&&e.internalTransforms.splice(t,1)},clearTransforms:function(e){e.transforms=[]},clearInternalTransforms:function(e){e.internalTransforms=[]},changeUrlSource:function(e,t){if(t){if("string"==typeof t)var n=new Wn(t),n=J.partial(J.identity,n);else if(um(t))n=J.partial(J.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(!lg())}else e.currentSrcFn=i,!(t=m.get("eventPropertyConfigurations"))||J.isEmpty(t)?r.stop():r.start(!lg())}},getters:{url:t,href:function(e){return t(e).href}}}}();function cm(e){var t;if("function"==typeof cm[e])return t=J.toArray(arguments).slice(1),cm[e].apply(cm,t)}J.extend(cm,{getHref:function(){return Z.getters["location/href"]()},clearTransforms:function(){Z.commit("location/clearTransforms")},addTransforms:function(e){Z.dispatch("location/addTransforms",e)},setUrl:function(e){Z.commit("location/changeUrlSource",e)},useBrowserUrl:function(){Z.commit("location/changeUrlSource"),ts()}});var lm=1e4;function fm(){return m.get("guideSeenTimeoutLength")||lm}var pm=function(){var i=[];return{name:"StepTimeoutMonitor",initialize:function(){this._beforeGuideShow=J.bind(pm.beforeGuideShow,pm),this._stop=J.bind(pm.stop,pm),y.beforeGuideShow.on(this._beforeGuideShow),y.guideSeen.on(this._stop),y.guideNotSeen.on(this._stop)},teardown:function(){pm.stop(),y.beforeGuideShow.off(this._beforeGuideShow),y.guideSeen.off(this._stop),y.guideNotSeen.off(this._stop)},beforeGuideShow:function(e){var t=e.data[0],e=e.data[1],n=t.guide;m.get("enableGuideTimeout")&&(e=-1<J.indexOf(["dom","launcher","badge","api"],e),"active"===t.seenState||t.hasBeenControlled()||t.isTimedOut()||(n=n&&n.steps)&&(0!==J.indexOf(n,t)||e)&&pm.start(t))},start:function(e){var o,t,n=i[0];n&&n!==e.id&&(n=i[1],J.isFunction(n))&&n(),e.shouldStartTimer()&&(o=fm(),n=J.partial(function(e,t){var n,i,r=E(t);r&&(n=r.findStepById(e))&&!r.isShown()&&(i=n.canShowOnPage(kp())?sp(n)?"other":"element":"page",Ip(t,e,X(),i,r.language,o),Y.info("Guide "+t+" timed out showing Step "+e),n.timeout()),pm.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:fm}}();function hm(){console.warn("This functionality is not supported by your subscription.")}function t(e){return dr?e:hm}function gm(e){e.getVersion=ot,e.isReady=lg,e.pageLoad=ts,e.getVisitorId=X,e.getAccountId=Dn,e.clearSession=Bn,e.VERSION=it,e.flushNow=t(function(){return Qo()}),e.teardown=hg,e.initGuides=t(vh),e.loadGuides=t(Zp),e.findGuideByName=t(pu),e.hideGuides=t(Kf),e.onGuideDismissed=t(Xf),e.goToStep=tp,e.onGuideAdvanced=t(np),e.onGuidePrevious=t(ip),e.onGuideSnoozed=Qf,e.startGuides=t(Pc),e.stopGuides=t(Fc),e.defaultCssUrl=t(Nf()),e.getActiveGuides=S,e.getActiveGuide=Nh,e.guideSeenTimeoutLength=pm.getGuideSeenTimeoutLength(),e.guidesPayload=Bp,e.areGuidesDisabled=t(yh),e.setGuidesDisabled=t(wh),e.buildNodeFromJSON=T.buildNodeFromJSON,e.flexElement=t(T.flexElement),e.GuideFactory=t(Uu),e.dom=Q,e.getText=Ig,e.attachEvent=t(p),e.detactEvent=t(h),e.frames={setFrameVisibility:Lu},e.log=Ug,e.enableLogging=kg,e.disableLogging=Ng,e.setActiveContexts=qg,e.showLogHistory=jg,e.getLoggedContexts=Wg,e.isDebuggingEnabled=J.noop,e.enableDebugging=J.noop,e.disableDebugging=J.noop,e.addDebuggingFunctions=J.noop,e.stopSendingEvents=t($o.lock),e.startSendingEvents=t($o.unlock),e.isSendingEvents=t(wr),e.fromByteArray=A.uint8ToBase64,e.events=t(Ou),e.track=t(Yg),e.validateInstall=Xg,e.validateNativeMethods=Qg,e.validateBuiltInGlobals=em,e.validateUrl=tm,e.validateEnvironment=rm,e.doesExist=x,e.generate_unique_id=En,e.TEMP_PREFIX=In,e.SIZE_UNIQUE_ID=xn,e.defaultLauncher=J.noop,e.toggleLauncher=J.noop,e.showLauncher=J.noop,e.hideLauncher=J.noop,e.removeLauncher=J.noop,e.identify=oc,e.get_visitor_id=X,e.set_visitor_id=function(e){oc(e)},e.get_account_id=Dn,e.set_account_id=function(e){oc(X(),e)},e.getSerializedMetadata=cc,e.compress=vt,e.squeezeAndCompress=vt,e.randomElement=Ct,e.randomString=_t,e.toUTF8Array=lt,e.getNumberFromText=Mt,e._addCredits=t(rp),e.getCurrentUrl=kp,e.getNormalizedUrl=kp,e.testUrlForStep=t(Mp),e.showGuideByName=t(Pp),e.showGuideById=t(Fp),e.designerv2=C,e.P2AutoLaunch=t(Ql),e.BuildingBlocks=t(Bh),e.onConnectMessage=J.noop,e.buffers=$o,e.guideDev=t(bg),e.badgesShown=t(au),e.get_pendo_cookie=Xt,e.DEFAULT_EXPIRE_LEN=Qt,e.set_pendo_cookie=en,e.loadResource=fo,e.loadWatcher=po,e.messageLogger=ho,e.messageReceiver=go,e.messageValidator=mo,e.MESSAGE_TYPES=Io,e.messageDispatcher=Co,e.moduleRegistry=_o,e.addModule=To,e.hasModule=t(Ao),e.findModuleByName=t(Ro),e.modulesWaiting=Lo,e.loadModules=Oo,e.moduleLoader=Mo,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=l,e.location=cm,e.Sizzle=d,e._=J,e.ajax=ci,e.Zlib=St,e.guideContent=t(qu.guideContent),e.receiveDomStructureJson=t(qu.receiveDomStructureJson),e.addExtension=gc}var mm="is going away",vm="is gone",ym=J.memoize(function(e,t){e=(e=e||"Function")+" deprecated"+(t=t?" and "+t:"");return Y.info(e),e});function bm(e,t,n){return function(){return ym("pendo."+t,n),(e||J.noop).apply(null,arguments)}}function wm(e){e.SHADOW_STYLE="",J.extend(e,{_showElementGuide:J.noop,flushEventCache:bm(null,"flushEventCache",vm),HOST:zi,MAX_LENGTH:Ko,MAX_NUM_EVENTS:Wo,_createToolTip:J.noop,_get_tooltip_dimensions:J.noop,_isOldIE:t(bm(_e,"_isOldIE",mm)),_logMessage:bm(fr,"_logMessage",mm),_sendEvent:bm(null,"_sendEvent",vm),_sendGuideEvent:bm(null,"_sendGuideEvent",vm),_stopEvents:!1,_storeInCache:bm(null,"_storeInCache",vm),_writeEventImgTag:bm(null,"_writeEventImgTag",vm),_writeImgTag:t(bm(hr,"_writeImgTag",mm)),getUA:bm(Oe,"getUA",mm),ifDebugThen:bm(null,"ifDebugThen",vm),send_event:t(bm(pa,"send_event","has changed to pendo.cache.createEvent")),wire_page:bm(Zs,"wire_page",mm),messageOriginTester:bm(null,"messageOriginTester",vm),findGuideBy:t(fu),findGuideById:t(E),findStepInGuide:t(hu),_updateGuideStepStatus:t(jf),_addCloseButton:t(zf),initialize:ag,getEventCache:t(ch),processEventCache:t(dh),isGuideShown:t(Bf),_getNextStepInMultistep:t(Op),attachEvent:p,detachEvent:h,updateOptions:rc,createLauncher:J.constant({}),initLauncher:J.noop,_addGuideToLauncher:J.noop,launcherToolTipDiv:null,isAnonymousVisitor:Tn,DEFAULT_VISITOR_ID:Ln,shouldIdentityChange:J.constant(!1),read:c.read,write:c.write,_delete_cookie:c.clear,_set_cookie:Jt,_get_cookie:qt,get_cookie_key:Yt,ENV:Xe,eventCache:t(zo),_getOpacityStyles:bm(null,"_getOpacityStyles",mm),setStyle:Ar,_createGuideEvent:t(Tp),seenGuide:t(yp),dismissedGuide:t(bp),advancedGuide:t(Sp),seenTime:0,placeBadge:t(dl),isBadge:t(vu),showPreview:t(bm(pp,"showPreview",mm)),removeAllBadges:t(cl),tellMaster:Po,DEFAULT_TIMER_LENGTH:Rc,registerMessageHandler:xo,_get_offset:t(ne),_shouldAutoDisplayGuide:J.constant(!1),removeBadge:ll,_showLightboxGuide:J.noop,_showGuide:t(gp),getElementForGuideStep:t(Iu),isElementVisible:to,getTooltipDivId:t(lp),setupWatchOnTooltip:t(fp),letters:"",charset:"",detectMaster:Fo,listenToMaster:bm(null,"listenToMaster",vm),start:iu,SEND_INTERVAL:jo,stageGuideEvent:t(Lp),startStagedTimer:Rp,isURLValid:Jo,getURL:Vo,_get_screen_dim:t(Or),_isInViewport:t(kr),_getCss3Prop:_r,waitThenStartGuides:t(Lc),guidesProcessingThreadHandle:Ac,getMode:J.constant("default")})}function Sm(e){return e&&1===e.length?e[0]:J.any(e,Pt)?$.all(e).then(function(e){return J.any(e)}):void 0}function Im(){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||{},J.each(this.steps,function(e){"mobile-lightbox"===e.type&&(this.attributes.device.desktop=!1,this.attributes.device.mobile=!0),Gu(e,this)},this),this.isActivatedByEvent=function(e){return!!(this.hasLaunchMethod("dom")&&this.attributes&&this.attributes.activation&&J.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=J.first(this.steps);return e&&"whatsnew"===e.type},this.isAnnouncement=function(){return J.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")&&J.any(this.steps,function(e){return e.shouldAutoDisplay()})},this.autoDisplay=function(){if(this.shouldAutoDisplay())return Sm(J.map(this.steps,function(e){return e.autoDisplay()}))},this.isShown=function(){return J.any(this.steps,function(e){return e.isShown()})},this.canShowOnDevice=function(){if(!bu()){var e=wu(),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()&&J.any(this.steps,function(e){return e.canShow()})},this.launch=function(e){var t;return this.hasGuideBeenControlled()||(t=this.show(e)),this.isShown()?J.each(this.steps,function(e){e.seenState="active"}):!this.isShown()&&this.isControlGroup()&&J.each(this.steps,function(e){e.seenState="notSeen"}),t},this.show=function(t){return Sm(J.map(this.steps,function(e){return e.show(t)}))},this.checkForHiddenGroupSteps=function(){},this.hide=function(t){J.each(this.steps,function(e){e.hide(t)})},this.hasBeenSeen=function(){return J.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=J.get(this,"attributes.resourceCenter"),this.isControlGroup()&&!e?this.hasGuideBeenControlled()||this.steps[0].onControlGuide("control"):(e=J.first(this.steps))&&J.isFunction(e.canShowOnPage)&&e.canShowOnPage(kp())&&dl(this)):fl(this)},this.findStepById=function(t){return J.find(this.steps,function(e){return e.id===t})},this.isPoweredByEnabled=function(){return!!J.find(this.steps,function(e){return e.isPoweredByEnabled()})},this.searchFor=function(t){var e,n,i=null;return Tt(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?J.find(n,function(e){return Tt(e.text,t,!0)}):e)?i="tag":(n=J.map(this.steps,function(e){return e.searchFor(t)}),0<J.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&&!J.isFunction(t.steps[0].fetchContent)||(e=t.steps[0],!t.hasLaunchMethod("launcher")&&!t.isWhatsNew())||!e.canShowOnPage(kp())||!t.canShowOnDevice()||!sp(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()||!sp(e)||this.outsideTimebox())},"PENDO_HELPER_STEP");return this.getPositionOfStep=function(e){var t=J.reject(this.steps,function(e){return Tt(e.content,n)});return J.indexOf(t,e)+1},this.getTotalSteps=function(){return J.reject(this.steps,function(e){return Tt(e.content,n)}).length},this.getSeenSteps=function(){return J.size(J.filter(this.steps,function(e){return e.hasBeenSeen()}))},this.isComplete=function(){var t=["advanced","dismissed"];return J.all(this.steps,function(e){return J.contains(t,e.seenState)})},this.isInProgress=function(){var t=["active","advanced","dismissed"];return!this.isComplete()&&J.any(this.steps,function(e){return J.contains(t,e.seenState)})},this.isNotStarted=function(){return!this.isInProgress()&&!this.isComplete()},this.fetchContent=function(){return $.all(J.map(this.steps,function(e){if(J.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 J.any(this.steps,function(e){return e.isSnoozed()})},this.hasGuideBeenControlled=function(){return J.any(this.steps,function(e){return e.hasBeenControlled()})},this.isControlGroup=function(){return this.control},this.shouldShowSnoozedGuide=function(){var t=!1;return!this.outsideTimebox()&&J.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,J.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 J.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 xm(){var e=this;return e.attributes&&"group"==e.attributes.type&&(e.checkForHiddenGroupSteps=function(){J.each(e.steps,function(e){e.isShown()||e.autoDisplay()})}),e}var Em=function(e){return e&&e.attributes&&!!e.attributes.isOnboarding};function Cm(){var r,o=!1;return(this.isMultiStep||this.isModule||this.isTopLevel)&&(J.each(this.steps,function(e){e.after("render",function(){J.each(e.elements,function(e){Q(e).addClass("_pendo-guide-walkthrough_")})})}),r=null,this.sections=J.reduce(this.steps,function(e,t){var n,i;return i=t,!(n=r)||(n=J.last(n)).attributes.isRequired!=i.attributes.isRequired&&n.attributes.isRequired?(e.push(r),r=[t]):r.push(t),e},[]),this.sections=J.compact(this.sections.concat([r])),this.findSectionForStep=function(t){return J.find(this.sections,function(e){return J.contains(e,t)})},this.getSubSection=function(e,t){t=J.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=J.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&&!Em(this)?(o||(Y.info("Multi-step continuation has expired",{contexts:["guides","info"]}),o=!0),null):e):null},this.shouldAutoDisplay=function(){return this.hasLaunchMethod("auto")&&(this.shouldShowSnoozedGuide()||this.shouldRepeatGuide()||J.all(this.steps,function(e){return e.shouldAutoDisplay()}))},this.autoDisplay=function(){var e,t,n;if(this.shouldAutoDisplay())return e=this.shouldRepeatGuide(),t=J.first(this.steps),n=this.nextStep(Sc())||t,this.shouldShowSnoozedGuide()||e?n.show(e?"repeatGuide":"auto"):t.autoDisplay()},this.launch=function(e){return J.first(this.steps).show(e)},this.show=function(e){var t=Sc(),n=J.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=J.last(this.steps);return!!e&&J.contains(["advanced","dismissed"],e.seenState)},this.activeStep=function(){var e=[].concat(this.steps).reverse();return J.findWhere(e,{seenState:"active"})}),this}function _m(){var o=this;function t(i){var r=[];return function(e){try{return e.apply(o,J.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=J.last(r)-J.first(r))?(r.length-1)/(t/6e4):Infinity)>=_m.MAX_ERRORS_PER_MINUTE&&(n="Exceeded error rate limit, dropping guide.\n"+n,lu.addGuide(o),y.trigger("renderFail",o)),r.shift()),Y.critical(n,{error:Ut}),Ut}}}return J.each(["canShow","placeBadge","show"],function(e){o[e]=J.wrap(o[e],t(e))}),o}function Tm(){return J.isFunction(this.isAnnouncement)&&this.isAnnouncement()||(this.shouldBeAddedToLauncher=J.wrap(this.shouldBeAddedToLauncher,function(e){return Z.getters["frames/hasFrames"]()?!(!Z.getters["frames/isGuideInThisFrame"]()(this)||!e.apply(this,arguments))||!!Z.getters["frames/isGuideInDifferentFrame"]()(this)&&Z.getters["frames/shouldBeAddedToLauncher"]()(this):e.apply(this,arguments)}),this.shouldBeAddedToResourceCenter=J.wrap(this.shouldBeAddedToResourceCenter,function(e){return Z.getters["frames/hasFrames"]()?!(!Z.getters["frames/isGuideInThisFrame"]()(this)||!e.apply(this,arguments))||!!Z.getters["frames/isGuideInDifferentFrame"]()(this)&&Z.getters["frames/shouldBeAddedToResourceCenter"]()(this):e.apply(this,arguments)})),this}function Am(e){var t=this;return"whatsnew"===t.type||J.isFunction(e.isAnnouncement)&&e.isAnnouncement()||(t.isShown=J.wrap(t.isShown,function(e){return e.apply(this,arguments)||Z.getters["frames/isShownInAnotherFrame"]()(t)})),t}function Rm(o){var a,t,i,s,r,n,u,d=this;return d.pollIds&&d.pollIds.length&&(a="_pendo-poll-selected_",t=J.indexBy(o.polls,"id"),i=J.map(d.pollIds,function(e){return t[e]}),r=function(e,t){if(e&&t!==Ly)return e.numericResponses?parseInt(t,10):t},n=function(){var e=o.id,t=d.id,n=v();Sp(e,t,X(),d.seenReason,o.language),jf(e,t,"advanced",n),yc({guideId:e,guideStepId:t,time:n,state:"advanced"})},u=function(){var e=Q("._pendo-poll_"),t=Q("._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=Q("._pendo-poll_")[0],e=Q("._pendo-poll-submit_",n)[0];e?d.attachEvent(e,"click",function(e){var t=Q("._pendo-poll-question_",n),t=J.map(t,function(e,t){e=Q("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(J.compact(t)),u()}):d.attachEvent(n,"click",function(e){var t,e=Q(ui(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=Q("._pendo-poll_ ._pendo-poll-npsrating_")[0],r=Q("._pendo-poll_ ._pendo-poll-submit_"),o="_pendo-poll-npsrating-selected_";i&&(r.css({display:"none"}),d.attachEvent(i,"click",function(e){var t=Q(":radio:checked",i)[0],n=Q("._pendo-poll_");Q("label",i).removeClass(a),n.removeClass(o),t&&(Q('label[for="'+t.id+'"]').addClass(a),n.addClass(o),r.css({display:""})),J.isFunction(d.resize)&&d.resize()}))}),d.after("show",function(){s=(new Date).getTime()}),d.response=function(e,r){e&&e.length&&(J.each(e,function(e,t){var n=function(t,e){if(e&&e.polls&&e.polls.length)return J.find(e.polls,function(e){return e.id===t})}(e.pollId,o),i=Tp("pollResponse",d.guideId,d.id,X(),Ly,o.language);J.extend(i.props,{poll_id:e.pollId,poll_response:e.value,duration:(new Date).getTime()-s},r),n&&n.attributes&&n.attributes.type&&J.extend(i.props,{poll_type:n.attributes.type}),ph.push(i)}),ph.flush())}),d}_m.MAX_ERRORS_PER_MINUTE=30;var Lm=function(){return{show:function(t,n){if(bu()&&J.isFunction(t._show))return t._show(n),t.isShown();var e=t.getGuide();if("whatsnew"===t.type)return i(t,n);if(!Z.getters["frames/hasFrames"]()||Z.getters["frames/isGuideInThisFrame"]()(e)){e=function(e,t){if(e.getGuide().isModule){e=ae.getResourceCenter();if(e)return i(e.steps[0],t)}}(t,n);if(Pt(e))return e.then(function(){return i(t,n)}).then(function(e){return!!e||r(t,n)});e=i(t,n);if(Pt(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 Ju.hasContent(e)&&Fu.valid(e)?(e._show(t),e.isShown()):!(Ju.hasContent(e)&&Fu.invalid(e)||!e.getGuide().canShowOnDevice()||!e.canShowOnPage(kp()))&&(e.lock(),Ju.fetchContent(e).then(function(){return!("whatsnew"!==e.type&&!e.isShown())&&Fu.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!(!Z.getters["frames/hasFrames"]()||!Z.getters["frames/isGuideInDifferentFrame"]()(n))&&(t.lock(),Z.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 Om(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 Dh),this.getGuide=function(){return this.guide},this.getContent=function(){var e=this.getGuide(),t=e&&e.steps||[],n=J.indexOf(t,this),i=dc();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:It(i),template:r};return this.template||(this.template=J.template(this.content||"")),zu(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!J.get(this,"guide.attributes.isAnnouncement")&&!!u.canShowOnDevice()&&!this.isShown()&&!J.get(this,"stepIneligibleForApp")&&this.canShowOnPage(kp())&&sp(this)},this.canShowOnPage=function(e){return Mp(this.regexUrlRule,e)},this.shouldAutoDisplay=function(){return this.shouldRepeat()||!this.hasBeenControlled()&&!this.isSnoozed()&&!J.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!(!(I.designer||bu()||_l())&&(e=kp(),t={guideId:this.guideId,stepId:this.id},this.regexUrlRule&&!Mp(this.regexUrlRule,e)?(lu.addGuide(u),t.error=new Error('attempted display on page "'+e+'"'),Y.critical("pendo.io page rule exception",t),1):Z.getters["healthCheck/isMissingPageRule"]()(this)?(lu.addGuide(u),t.error=new Error('missing regexUrlRule"'),Y.critical("pendo.io page rule exception",t),1):this.pageId&&!this.regexUrlRule&&(lu.addGuide(u),t.error=new Error("missing regexUrlRule for page "+this.pageId+'"'),Y.critical("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=J.find(uu(),function(e){return e.id===u.moduleIdToReplaceHomeViewWith}),n=J.get(t,"attributes.resourceCenter.integrationProvider"),ae.renderNativeIntegration(n,t)):u.continueToNativeModule?ae.handleNativeIntegrationContinuation(u):(J.get(u,"attributes.resourceCenter")&&zc(ae.getResourceCenter(),jc),u.isModule?T.renderResourceCenterModule(u,!1):(n=T.renderGuideFromJSON(e.domJson,e),J.get(u,"attributes.resourceCenter")&&ae.adjustResourceCenterWidth(),n));var t=e.attributes.width,n=e.attributes.height,i=I.TOOLTIP_ARROW_SIZE,r="_pendo-group-id-"+u.id+"_",r=Q(Ry.createElement("div")).attr("id",lp(e)).addClass(Pf+" "+r),o=Q(Ry.createElement("div")).addClass("_pendo-guide-content_").html(e.getContent()),a=Q(Ry.createElement("div")).addClass("_pendo-guide-container_"),s=Q(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&&J.isFunction(u.isOnboarding)&&u.isOnboarding()&&r.addClass("_pendo-onboarding_"),e.overlayDiv=s,e.guideElement=r}},this.teardown=function(){Y.info("guide step teardown",{contexts:["guide","render"]}),J.each(this.handlers,function(e){h(e.element,e.type,e.fn,!0)}),this.hasBeenScrolledTo=!1,this.handlers.length=0,this.attributes.imgCount=0,this.hiddenElements&&(J.each(this.hiddenElements,function(e){e=e.deref();e&&e.removeAttribute("aria-hidden")}),this.hiddenElements.length=0,this.hiddenElements=null),$d(this.id)},this.show=function(e){var t;if(!J.contains(["auto","continue"],e)||!Z.getters["healthCheck/isRedisplay"]()(this))return(t=Lm.show(this,e))&&t["catch"]&&t["catch"](J.noop),t;Z.dispatch("healthCheck/fixSeenStateAndLogError",{step:this,reason:e})},this.redraw=function(){var e,t,n,i,r;this.guideElement&&!I.designer&&(t=(e=J.get(u,"attributes.resourceCenter"))&&ae.isFullyCustom(u),n=u.activeModule?u.activeModule.activeStep().domJson.props.id:this.containerId,i=this.guideElement.find("#"+n),r=u.activeModule&&"AnnouncementsModule"===J.get(u.activeModule,"attributes.resourceCenter.moduleId"),y.beforeUpdate.trigger(this),t||r||(T.recalculateGuideWidth(n),T.adjustGuideContentWidth(n)),e?(ae.adjustResourceCenterWidth(),r&&u.activeModule.guidesInModule?J.forEach(u.activeModule.guidesInModule,function(e){var t;!J.isUndefined(e.steps[0].attributes.imgCount)&&0!==J.get(e.steps[0],"attributes.imgCount")||(t=e.steps[0].id,t=Q(i).find("#pendo-g-"+t)[0]?t:e.id,T.adjustGuideContentWidth("pendo-g-"+t),T.flexAllThings("pendo-g-"+t))}):T.flexAllThings("pendo-resource-center-container")):T.flexAllThings(n),t||T.recalculateGuideHeight(n),y.updated.trigger(this))},this._show=function(e){y.beforeGuideShow.trigger(this,e),this.canShow()&&(!bu()&&u.control?this.hasBeenControlled()||this.onControlGuide("control"):(this.render(),this.isShown()&&this.onShown(e)))},this.shouldStartTimer=function(){return u.canShowOnDevice()&&!u.attributes.isAnnouncement&&!op(this)},this.getStepPollTypes=function(n,e){var i;if(e.pollIds&&e.pollIds.length)return i=[],J.forEach(e.pollIds,function(t){var e=J.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;bu()||(this.seenReason=e,Uf(v()),t=this.getStepPollTypes(u,this),this.hasBeenControlled())||(mp(this.guideId,this.id,X(),e,u.language,t),J.each(u.steps,function(e){e.seenState="notSeen"}))},this.onShown=function(t){var e,n,i=this;i.overrideElement&&(Q.addClass(i.overrideElement,"triggered"),i.overrideElement.checkAriaExpanded)&&i.overrideElement.checkAriaExpanded(),bu()||(i.seenReason=t,i.seenState="active",Uf(v()),e={last_updated_at:i.lastUpdatedAt},(n=this.getStepPollTypes(u,i))&&(e.step_poll_types=n),yp(i.guideId,i.id,X(),t,u.language,e),Z.dispatch("guideState/updateLastGuideStepSeen",{guideId:u.id,guideStepId:i.id,time:Gf(),state:i.seenState,seenReason:t,visitorId:X()}),J.each(u.steps,function(e){"snoozed"===e.seenState&&(e.snoozeEndTime=0,xp(u.id,e.id,X(),t,u.language))}),Vu.runCustomScripts(i,u)),Z.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||(I.ignoreResize=!0,setTimeout(function(){I.ignoreResize=!1},1e3))})},this.hide=function(e){var t=this;t.unlock(),y.beforeUnmount.trigger(t),t.teardown(),J.each(t.elements,function(e){Fr(e)}),y.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&&(Q.removeClass(t.overrideElement,"triggered"),t.overrideElement.checkAriaExpanded)&&t.overrideElement.checkAriaExpanded(),Z.dispatch("frames/guideStepHiddenInFrame",{guideId:u.id,stepId:t.id})},this.advance=function(){"advanced"===this.seenState&&!this.isRendered()||np(this)},this.dismiss=function(){"dismissed"===this.seenState&&!this.isRendered()||Xf(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};p(e,t,n,!0),this.handlers.push(i)},this.searchFor=function(e){return!(e.length<3)&&Tt(this.content,e,!0)},this.hasBeenSeen=function(){return"advanced"==this.seenState||"dismissed"==this.seenState},this.reposition=function(){},this.checkPlacement=function(){"tooltip"===this.getType()&&_d.placeBBTooltip(this),this.attributes.blockOutUI&&this.attributes.blockOutUI.enabled&&hd(this)},this.getType=function(){return this.domJson?J.get(this,"attributes.calculatedType"):this.type},this}function km(){return this.after("render",function(){Gl()}),this}function Nm(){Uu.behaviors=[Zc,Im,Fu.Guide,xm,Cm,_m,Tm],Gu.behaviors=[Zc,Om,Am,Ju,Fu.Step,Rm,km]}Om.isGuideStep=function(e){return!!e&&J.isFunction(e.render)};var Mm={state:{errorCount:0,errors:{}},actions:{write:function(e,t){var n=t.error;if(n&&!t.logged){var i=e.getters.hasLogged()(t);if(e.dispatch("update",t),!i){try{t.logged=!0}catch(r){}e="[".concat(t,"]");t.level===wn.Critical?(i=Ay.pendo_options||{},Bg(e),!1!==I.logStackTraces&&!1!==i.logStackTraces&&n.stack?pr("".concat(e,"\n").concat(n.stack)):fr(e)):t.level===wn.Error?Bg(e):t.level===wn.Warning&&zg(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.error.stack}},incrementError:function(e,t){e.errors[t.hashCode()].count++,e.errorCount++}},getters:{hasLogged:function(t){return function(e){return!!t.errors[e.hashCode()]}}}};function Pm(e){var e=e.data[0];e&&(e=Fm(e=e.options?e.options:e),Z.dispatch("frames/updateMetadata",e))}function Fm(e){var n;if(e=e||m.getLocalConfig())return n={visitorId:J.get(e,"visitor.id")||e.visitor_id,accountId:J.get(e,"account.id")||e.account_id,parentAccountId:J.get(e,"parentAccount.id")},J.each(J.keys(n),function(e){var t=n[e];x(t)&&(n[e]=""+t)}),n}var Dm=["unknown","hidden","visible"];function Um(e){return"visible"===e.visibility||"unknown"===e.visibility}var Gm=function(){var r={};return{actions:{init:function(e){var t,n,i=e.state;i.initialized||(t=ln.addTracerIds({}),n=Ie(),e.commit("setFrameId",t.frameId),e.commit("setTabId",t.tabId),e.commit("setAgentInstallType",n),e.commit("setLeadershipMode",n),y.metadata.on(Pm),y.identify.on(Pm),y.urlChanged.on(function(){ml(!0)&&_.postMessage({action:"frames/receiveUrlChange",frameId:i.frameId,href:bi(),browserUrl:Ay.location.href})}),y.guideSeen.on(function(e){e=e.data[0];e&&e.frameId===i.frameId&&_.postMessage({action:"frames/receiveGuideSeen",frameId:i.frameId,guideSeen:e})}),e.commit("setInitialized",!0))},changeGuideList:function(e,t){e=e.state,t=s(t);_.postMessage({action:"frames/receiveGuideList",frameId:e.frameId,guides:t,autoOrdering:I.autoOrdering||[]})},receiveGuideList:function(e,t){e.commit("setGuideList",t),t.frameId===e.state.frameId&&e.commit("setGuidesLoaded"),Bm(e.state)},join:function(e){var t,n,i,r,o,a;!e.state.disabled&&(kc(),t=e.state,n=Ay.top==Ay,i=t.frames[t.frameId],e.commit("removeFrame",t.frameId),e.commit("setGuideList",{frameId:t.frameId,guides:s(S())}),r=t.frameId,ln.detectClonedSession(r),o=Fm())&&((a=[].concat(m.get("leaderKey"))).length||t.agentInstallType!==we||(a=[I.apiKey]),e.dispatch("receiveFrame",{cd:r,frame:J.extend({agentInstallType:t.agentInstallType,id:t.frameId,joinedAt:v(),isTop:n,visibility:n?"visible":"unknown",debugMetadata:o,apiKey:I.apiKey,leaderKey:a,href:bi(),browserUrl:Ay.location.href},i)}))},receiveFrame:function(e,t){var n,i=e.state;if(e.getters.isBroadcastChannel()&&t.cd&&ln.isClonedSession(t.cd))_.postMessage({action:"frames/changeTabId",cd:t.cd});else if(I.designerv2.launched&&(n=Object.assign({},C.hostConfig,{selectionOnly:!0}),_.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:J.toArray(J.get(t,"frame.guides",[]))}),t.frame.isTop){for(var r=e.getters.leaderKeyPreference(),o=J.filter(i.frames,function(e){return e.isTop});r.length;){var a=r.shift(),s=J.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[vl]&&e.dispatch("receiveStartPreview",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;_.postMessage({action:"frames/removeFrame",frameId:e.frameId}),J.each(e.frames,function(e){t.commit("removeFrame",e.id)}),_.close()},removeFrame:function(e,n){e.getters.hasFrame()(n.frameId)&&(e.commit("removeFrame",n.frameId),J.each(r,function(e,t){0===t.indexOf(n.frameId+"/")&&(e.reject(),delete r[t])}),e.dispatch("electLeader"))},waitThenElectLeader:J.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=J.filter(t.frames,function(e){return e.apiKey===r});if(o.length){n=o;break}}var a=J.find(n,function(e){return e.isTop});a?e.dispatch("followLeader",{leaderId:a.id}):(a=J.min(n,"joinedAt"),e.dispatch("followLeader",{leaderId:a.id})),Bm(e.state)},followLeader:function(e,t){var n=e.state,i=n.leaderId,r=t.leaderId;e.commit("setLeaderId",t.leaderId),i!==r&&y.leaderChanged.trigger({frameId:n.frameId,oldLeaderId:i,newLeaderId:r}),r!==n.frameId&&ln.stopCloneDetectionTimer()},showGuideStep:function(t,n){var i=J.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",J.extend({frameId:e.id},n)).then(function(e){return e.error?$.reject(e.error):e.isShown?e:r()}):$.resolve({isShown:!1})}()},requestShowGuideStepInFrame:function(e,t){var n=t.frameId+"/"+_t(32),i=$.defer();return r[n]=i,_.postMessage(J.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))?Pt(e=Lm.showLocal(e,n.reason))?e.then(i)["catch"](J.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}),_.postMessage(J.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=J.isArray(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?J.each(J.compact(J.map(t.guideIds,E)),function(e){e.hide()}):Kf(),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}),_.postMessage(J.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){J.each(n.state.frames,function(e,t){t!==n.state.frameId&&n.getters.isShownInFrame()(t,{id:i.stepId})&&_.postMessage(J.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){_.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=J.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){_.postMessage(J.extend({action:"frames/receiveThrottlingState",frameId:e.state.frameId},t))},receiveThrottlingState:function(e,t){t.frameId!==e.state.frameId&&J.each(Ep,function(e){t[e]&&_p(t[e],e)})},startPreview:function(e){_.postMessage({action:"frames/receiveStartPreview","pendo-preview":e.rootState.preview.preview})},restartPreview:function(e){_.postMessage({action:"frames/receiveRestartPreview","pendo-preview":e.rootState.preview.preview})},stopPreview:function(e,t){_.postMessage(J.extend({action:"frames/receiveStopPreview"},t))},receiveStartPreview:function(e,t){e.dispatch("preview/start",t[vl],{root:!0}),wl(Ay),kh()},receiveRestartPreview:function(e){var t=xl(S(),Sc());e.dispatch("guideState/updateLastGuideStepSeen",t,{root:!0})},receiveStopPreview:function(e,t){zl({preventWindowClose:!!t.preventWindowClose})},checkFrameVisibility:function(e,t){if(!e.getters.isTop()&&!e.state.disableFrameVisibilityCheck)try{var n="unknown",i=(t=null==t?Ay:t).frameElement;i?(n=to(i)?"visible":"hidden",e.dispatch("updateFrameVisibility",{visibility:n})):e.commit("disableFrameVisibilityCheck")}catch(Ut){e.commit("disableFrameVisibilityCheck")}},updateFrameVisibility:function(e,t){var n;!J.find(Dm,function(e){return e===t.visibility})||(n=t.visibility,e.getters.frameVisibility()===n)||(e.commit("setFrameVisibility",{frameId:e.state.frameId,visibility:n}),_.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;C.launchInAppDesigner(t)},syncOptions:function(e,t){t.options&&_.postMessage({action:"frames/receiveOptions",options:t.options})},receiveOptions:function(e,t){e.getters.getMyApiKey()===t.apiKey&&t.options&&ic(t.options)},syncIdentity:function(e,t){(t.visitorId||t.accountId)&&_.postMessage({action:"frames/receiveIdentity",visitorId:t.visitorId,accountId:t.accountId})},receiveIdentity:function(e,t){e.getters.getMyApiKey()===t.apiKey&&(t.visitorId||t.accountId)&&Pn(t.visitorId,t.accountId)},updateMetadata:function(e,t){t&&ml(!0)&&(t.frameId=e.state.frameId,_.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&&y.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=Eu(n))&&((n=J.first(d(r)))?to(n)||(a.ACTIVATION="notVisible"):a.ACTIVATION="notFound"),J.isFunction(i.canShowOnPage)&&!i.canShowOnPage(kp())&&(a.PAGE="mismatch"),i.elementPathRule&&((r=J.first(d(i.elementPathRule)))?to(r)?i.elementContainsRulesList&&!dp(r,i.elementContainsRulesList)&&(a.ELEMENT="containsRuleMismatch"):a.ELEMENT="notVisible":a.ELEMENT="notFound")):a.GUIDE="notFound",t&&o&&_.postMessage({errors:a,action:"frameEligibilityResponse",targetFrame:o,resolveId:t}),a}},mutations:{addFrame:function(e,t){var n=t.id;e.frames[n]=J.extend({},e.frames[n],t)},removeFrame:function(e,t){delete e.frames[t]},setGuideList:function(e,t){var n=t.frameId;e.frames[n]=J.extend({},e.frames[n],{guides:J.indexBy(s(t.guides),"id"),autoOrdering:t.autoOrdering})},setStepShown:function(e,t){var n=t.frameId,n=e.frames[n]=J.extend({},e.frames[n]);n.shown=J.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!==we&&(e.leadershipMode=t)},setFrameVisibility:function(e,t){var n=t.frameId;e.frames[n]=J.extend({},e.frames[n],{visibility:t.visibility})},disableFrameVisibilityCheck:function(e){e.disableFrameVisibilityCheck=!0},hideGuides:function(e){J.each(e.frames,function(n){J.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&&J.each(e.frames,function(e){e.guides&&(e=e.guides[t.guideId])&&(e=J.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=J.extend({},e.frames[n].debugMetadata,t)},setUrl:function(e,t){var n=e.frames[t.frameId];J.each(["href","browserUrl"],function(e){n[e]=t[e]})}},getters:{allFrames:function(e){return e.frames},autoOrdering:function(e){return J.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||Ay==Ay.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 J.any(i.frames,function(e,t){return t!==i.frameId&&e.guides&&e.guides[n.id]})}},isShownInAnotherFrame:function(i){return function(n){return J.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<J.size(e.frames)},shouldBeAddedToLauncher:function(i,e){return function(n){return e.canShowRCBadge()&&J.any(i.frames,function(e,t){return t!==i.frameId&&!!Um(e)&&(t=e.guides&&e.guides[n.id])&&t._shouldBeAddedToLauncher})}},shouldBeAddedToResourceCenter:function(i,e){return function(n){return e.canShowRCBadge()&&J.any(i.frames,function(e,t){return t!==i.frameId&&e.apiKey===I.apiKey&&!!Um(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()!==I.apiKey?(n=J.filter(e.frames,function(e){return e.apiKey===I.apiKey}),n=J.min(n,function(e){return e.joinedAt}),e.frameId===n.id):J.any(e.frames,function(e){return e.isTop})?t.isTop():t.isLeader()},leaderKeyPreference:function(e){e=J.filter(e.frames,function(e){return e.leaderKey&&e.leaderKey.length});return 1===J.unique(J.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=J.pick(e,"id","name","launchMethod","isMultiStep","steps","control","lastUpdatedAt","language","state","polls");return t.attributes=J.pick(e.attributes,"overrideAutoThrottling","priority","isAnnouncement","resourceCenter","device"),t._shouldBeAddedToLauncher=J.isFunction(e.shouldBeAddedToLauncher)?e.shouldBeAddedToLauncher():e._shouldBeAddedToLauncher||!1,t._shouldBeAddedToResourceCenter=J.isFunction(e.shouldBeAddedToResourceCenter)?e.shouldBeAddedToResourceCenter():e._shouldBeAddedToResourceCenter||!1,t.steps=J.map(e.steps,function(e){return J.pick(e,"id","guideId","type","seenReason","seenState","lastSeenAt","dismissCount","snoozeEndTime","regexUrlRule","elementPathRule")}),t}function s(e){return J.map(e,t)}}();function Bm(t){var n=J.indexBy(J.filter(S(),function(e){return!e.isFrameProxy}),"id"),e=J.chain(t.frames).filter(function(e){return e.id!==t.frameId}).map(function(e){return J.toArray(J.get(e,"guides",[]))}).flatten(!0).unique("id").filter(function(e){return!n[e.id]}).map(function(e){return J.extend(V.parse(V.stringify(e)),{isFrameProxy:!0})}).map(Uu).value(),e=J.toArray(n).concat(e);qp(e),hh(e),cu(e),t.guidesLoaded&&0===J.size(J.get(t,"frames."+t.frameId+".guides",[]))&&Nc()}function zm(e,t){new(Rt("MutationObserver"))(t).observe(e,{subtree:!0,attributes:!0,childList:!0,characterData:!0})}function Hm(t){var n=Element.prototype.attachShadow;Element.prototype.attachShadow=function(e){e=n.call(this,e);return this.shadowRoot&&zm(this.shadowRoot,t),e}}function jm(t){var n,i,r;Hm(t),J.isFunction(Ry.createNodeIterator)&&(n=0,i=[Gr()],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&&(zm(r.shadowRoot,t),i.push(r.shadowRoot),Wm.foundShadowRoots=!0),n%5e3!=0););}while(!r&&(e=null,i.length));r&&Wm.foundShadowRoots&&setTimeout(function(){o(e)},50),5e3!==n||Wm.foundShadowRoots||(Wm.stoppedSearchEarly=!0)}())}var Wm={startObserver:jm,foundShadowRoots:!1,stoppedSearchEarly:!1},Km=function(){var i;function r(){Z.dispatch("guideUpdate/documentChanged")}function n(){Z.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,Rc-t),Rc),t=setTimeout(n,t),e.commit("setScheduledUpdate",t))},handleScheduledUpdate:function(e){e.dispatch("stopScheduledUpdate"),Nc()},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||Rt("MutationObserver"))(r),i=n),e.state.observing||(n.observe(Ry.documentElement,{subtree:!0,attributes:!0,childList:!0,characterData:!0}),e.state.observeShadowRoots&&Wm.startObserver(r),e.commit("setObserving",!0)))},stopObserver:function(e){var t=e.getters.observer();t&&J.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}}}(),qm=function(){var i=["advanced","dismissed","snoozed"];return{actions:{init:function(t,e){J.each(e,function(e){J.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){pr(['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]=J.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)&&J.contains(i,t.seenState)&&!J.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:{}}}}(),Jm={state:{lastFlush:v(),flushInterval:3e5,counters:{ptmGifFailures:0,guideGifFailures:0}},actions:{flush:function(n){J.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]!==Ly&&e.counters[t]++},resetCounter:function(e,t){e.counters[t]!==Ly&&(e.counters[t]=0)}},getters:{shouldFlush:function(e,t){return t.now()-e.lastFlush>=e.flushInterval},payload:function(e){e=J.reduce(e.counters,function(e,t,n){return 0<t&&(e[n]=t),e},{});return J.extend({},e)},now:function(){return v()}}},Vm={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}}},$m="pendo-preview",Zm="current-guide-preview",Ym={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=V.parse(t.getItem($m)),i=(n.apiKey===I.apiKey&&e.commit("setPreview",n),t.getItem(Zm));i&&e.commit("setDesignerPreview",V.parse(i))}catch(Ut){}},write:function(e){try{var t=e.getters.storage();e.state.preview?t.setItem($m,V.stringify(e.state.preview)):t.removeItem($m)}catch(Ut){}},exit:function(e){e.commit("setPreview",null),e.dispatch("write")},exitDesignerPreview:function(e){e.commit("setDesignerPreview",null),e.getters.storage().removeItem(Zm)},launchInAppDesigner:function(e,t){C.launchInAppDesigner(t)}},mutations:{updatePreview:function(e,t){e.preview&&J.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 un}}};function Xm(e){e.registerModule("errorLog",Mm),e.registerModule("frames",Gm),e.registerModule("guideUpdate",Km),e.registerModule("guideState",Ic),e.registerModule("healthCheck",qm),e.registerModule("location",dm),e.registerModule("monitoring",Jm),e.registerModule("metadata",Vm),e.registerModule("preview",Ym)}var Qm=function(){var i,r,o="pendo-loader";return{name:"IFrameMonitor",initialize:function(e,t){i=e,r=t,function(){r.ConfigReader.get("autoFrameInstall")&&r.Events.ready.on(d);r.ConfigReader.get("frameIdentitySync")&&(r.Events.metadata.on(c),r.Events.identify.on(l))}()},teardown:function(){r.Events.ready.off(d),r.Events.metadata.off(c),r.Events.identify.off(l)}};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 n(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 u(){for(var e=i.dom("iframe").length,t=0;t<e;t++)n(Ay.frames[t]);setTimeout(u,250)}function d(){u()}function c(e){e=null==(e=e.data)?void 0:e[0];e.storeChanged&&r.store.dispatch("frames/syncOptions",{options:e.options})}function l(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 ev(e,n){return e.length==n.length&&J.all(e,function(e,t){return e===n[t]})}var tv=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=d(n.selector)}catch(Ut){t=[]}t.length>this.maxTargets&&(t.length=this.maxTargets),ev(t,n.targets)||(n.targets=t,this.domActivation.detach(n,this.domActivation.targets),J.each(t,function(e){this.domActivation.attach(e,n,this.domActivation.targets)},this))}},e.prototype.handleProcessTimeExceeded=function(e){e=e.getContext();e&&Y.warn("Element activated guide ("+e.id+") timeout exceeded")},e.prototype.cancel=function(){this.queue.length=0},e.prototype.isComplete=function(){return!this.queue.length},e}(),nv=function(){var n,i,a="pendoTargetId",t=[],r={};return{name:"DOMActivation",key:a,guides:t,targets:r,reset:c,init:e,attach:function(n,i,e){var t=n[a],r=t?e[t]:null;r||(t=t||"target"+J.uniqueId(),r={target:n,events:{}},e[t]=r,n[a]=t);var o=e[i.id]||[];o.push(t),e[i.id]=o,J.each(i.events,function(e){var t=r.events[e];t||((t={guideIds:{}}).fn=J.partial(d,J,t.guideIds),p(n,e="mouseover"===e?"mouseenter":e,t.fn),r.events[e]=t),t.guideIds[i.id]=1})},detach:u,handler:d,activates:l,prefetch:f,initialize:function(e,t){(n=t).Events.on("deliverablesLoaded",c),t.Events.on("guideListChanged",o),t.Events.on("guidesLoaded",s),Vc(i=new tv(nv))},teardown:function(){$c(i),n.Events.off("deliverablesLoaded",c),n.Events.off("guideListChanged",o),n.Events.off("guidesLoaded",s)}};function o(){c(),e(uu())}function s(){f(uu())}function u(i,t){J.each(t[i.id],function(e){var n=e?t[e]:null;n&&(J.each(n.events,function(e,t){e&&e.guideIds&&(delete e.guideIds[i.id],J.size(e.guideIds)<=0)&&(h(n.target,t="mouseover"===t?"mouseenter":t,e.fn),delete n.events[t])}),J.size(n.events)<=0)&&(delete n.target[a],n.target=null,delete t[e])}),delete t[i.id]}function d(e,t){var n;!e.pendoActivatedGuide&&!Q.data.get(e,"advanced")&&(n=m.get("adoptPrioritizeAdoptGuides"),t=J.compact(J.map(J.keys(t),function(e){return E(e)})),t=J.filter(t,function(e){return!(!e.steps||!e.steps.length||J.get(e,"attributes.dom.isOnlyShowOnce")&&e.steps[0].hasBeenSeen())}),t=J(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=J.find(t,function(e){var t=J.first(e.steps);return J.get(e,"attributes.resourceCenter",!1)&&e.isShown()?ae.dismissResourceCenter():!!t.canShow()&&(!!e.isShown()||gp(t,"dom"))}))&&(e.pendoActivatedGuide=t.id)}function c(){J.each(t,function(e){u(e,r),e.targets=[]}),t.length=0}function l(e){if(e.id&&e.steps&&e.steps.length&&e.hasLaunchMethod("dom")&&e.steps[0].canShowOnPage(kp())){var t=J.get(e,"attributes.activation.event",[]);if(t&&t.length){var n=Eu(e);if(n)return{id:e.id,events:t,selector:n,targets:[]}}}}function e(e){J.each(e,function(e){e=l(e);e&&t.push(e)})}function f(e){m.get("disablePrefetch")||J.each(e,function(e){J.isFunction(e.hasLaunchMethod)&&e.hasLaunchMethod("dom")&&e.steps&&e.steps.length&&J.isFunction(e.steps[0].fetchContent)&&e.steps[0].fetchContent(!0)})}}(),iv;function rv(){return{dom:Q,placeBadge:dl,showPreview:pp,stopGuides:kc,removeAllBadges:cl,_:J,sizzle:d,tellMaster:Po,tell:Po,log:Ug,attachEvent:p,createLauncher:J.constant({}),removeLauncher:J.noop,addGuideToLauncher:J.noop,updateLauncherContent:J.noop,DEFAULT_TIMER_LENGTH:Rc,getOffsetPosition:ne,getScreenDimensions:Or,registerMessageHandler:xo,whenLoadedCall:iu,loadResource:fo,loadGuideCss:uh,GuideFactory:Uu,GuideStep:Gu,extractElementTreeContext:Ns,previewGuideFromJSON:T.previewGuideFromJSON,hidePreviewedGuide:T.hidePreviewedGuide,shadowAPI:w,getTarget:ui,pullContentsFromTargetElement:up,doesElementMatchContainsRules:dp,doesElementContentMatchRule:cp,getGuideAttachPoint:re}}var ov=function(){(iv=iv||rv()).areGuidesEnabled=!yh(),I.designer||(I.designer=iv)},av=function(){I.designer&&(I.designer=null,delete I.designer)},sv=function(){var r,o,i;return{name:"DesignerConnect",initialize:function(e,t){r=e,o=t,Bo()||xo("connect",n);xo("pendo-designer-launch::launch",u),xo("pendo-preview::launch",d),e.app_name=Ry.title,(Fo()||Ay.opener)&&Ay.addEventListener&&(r.log(e.app_name+": listening to messages"),Ay.addEventListener("message",go,!1));Ay.opener&&r._.isFunction(Ay.opener.postMessage)&&Ay.opener.postMessage({type:"pendo::ready"},"*");r.onConnectMessage=n,o.Events.appUnloaded.on(c)},teardown:function(){c(),o.Events.appUnloaded.off(c),Eo("connect"),Eo("pendo-designer-launch::launch"),Eo("pendo-preview::launch")},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"),bo(i=t.source),o.Events.appUnloaded.on(r._.partial(a,i,n)),ov(),Po(t.source,{status:"success",type:"connect"},n),Ro("selection.js")&&(r.log("Designer Modules already loaded."),Po({type:"ready"},n)),o.Events.designerLaunched.trigger())}function a(e,t){r.buffers.unlock(),av(),e&&Po(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=Ly)}function u(e,t){var n,t=t.data.token;t&&(i=t,xo("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})),wl(Ay))&&(t.source.postMessage({type:"pendo-preview::ready",apiKey:r.apiKey,accountId:r.accountId},t.origin),kh(),o.store.dispatch("frames/startPreview"))}function c(){Ay.removeEventListener&&Ay.removeEventListener("message",go,!1)}}(),uv=function(){var n,a=[],s={},i={};return{name:"PromoteMetadata",initialize:function(e,t){if(a=(n=t).ConfigReader.get("promotedAgentMetadataConfigurations"),i={},An())try{s=V.parse(c.read("__sg__"))||{}}catch(Ut){s={}}a&&a.length&&(n.Events.on("metadata",r),n.Events.on("eventCaptured",d),n.Events.on("identify",o))},teardown:function(){n.Events.off("metadata",r),n.Events.off("eventCaptured",d),n.Events.off("identify",o)},getPromotedMetadata:function(){return a},hasPromotedMetadataKind:u,setSchemaGroup:r,getSchemaGroup:e,resetSchemaGroup:t};function u(t){return J.some(a,function(e){return e.kind===t})}function e(){return i}function r(e){var t;e?(e=e.data[0].options)&&(t=e):t=dc(),i=function(r){An()&&(s=V.parse(c.read("__sg__"))||{});var o=i;J.each(["visitor","account","parentAccount"],function(e){var t=u(e),n=!J.isEmpty(r[e]),i=e.toLowerCase()+"metadata";J.isEmpty(s)||(o[i]=s[i]),n&&t&&(n=function(e,i){var r={};e&&J.each(e,function(e,t){var n=t.toLowerCase();Boolean(J.find(a,function(e){return e.fieldName===n&&e.kind===i}))&&(r["agent__"+n]=e)});return r}(r[e],e),J.isEmpty(n)||(o[i]=vn(vn({},o[i]),n)))}),An()&&c.write("__sg__",V.stringify(o),null,!1,!0);return o}(t)}function o(e){e=e.data[0];J.get(e,"wasCleared")&&(c.clear("__sg__"),t())}function t(){i={}}function d(e){e=e.data[0];e&&(J.isEmpty(i)&&r(),J.isEmpty(i)||("track"===e.type?e.props.__sg__=i:(e.hasOwnProperty("eventProperties")||(e.eventProperties={}),e.eventProperties.__sg__=i)))}}();function dv(e,t,n){this.element=e,this.method="element"==t?"click":"hover"==t?"mouseover":t,this.step=n,this.guide=n.getGuide()}dv.prototype.add=function(){0===J.indexOf(this.guide.steps,this.step)&&!dv.shouldAttachHandler(this.guide,this.method)||vu(this.guide)&&!yu(this.guide)||this.setupElementEvent(this.element,this.method)},dv.prototype.remove=function(){this.teardownElementEvent(this.element,this.method)},dv.prototype.setupElementEvent=function(e,t){this.advanceFn||(this.advanceFn=J.compose(J.bind(this.teardownElementEvent,this,e,t),J.bind(this.step.advance,this.step))),dv.attach(this.step,e,t,this.advanceFn)},dv.prototype.teardownElementEvent=function(e,t){Y.info("detach onGuideAdvanced",{contexts:["guide"]}),h(e,t,this.advanceFn,!0),this.step.removeTrigger(this)},dv.shouldAttachHandler=function(e,t){return!e.isActivatedByEvent(t)||nv.activates(e)||e.attributes.activation.selector!==e.steps[0].elementPathRule&&!!e.attributes.activation.selector},dv.attach=function(e,t,n,i){if(e){for(var r=dv.handlers=dv.handlers||{},o=r[e.id]=r[e.id]||[],a=0;a<o.length;++a){var s=o[a];t===s[0]&&n===s[1]&&(h(t,n,s[2],!0),o.splice(J.indexOf(o,s),1),a--)}o.push([t,n,i]),h(t,n,i,!0),p(t,n,i,!0)}};var cv=430,lv=200,fv=15,pv=null,hv=function(){return wu()?mu:gu},gv=function(e){return"#_pendo_g_"+e.id},mv=function(e,t){pv=null;var n,i,r,o,e=ne(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(hv()),o=kv(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"}),Q("._pendo-guide-container_",n).addClass(o.arrowPosition).css({top:o.content.top,left:o.content.left,width:o.content.width,height:o.content.height}),vv(n[0],o),n[0])},vv=function(e,t){var n=["top","right","bottom","left"],i="_pendo-guide-arrow-",r=i+"border-",o=t.arrowPosition,a=J.chain(n).filter(function(e){return e!==o}).map(function(e){return"border-"+e+"-width:"+I.TOOLTIP_ARROW_SIZE+"px;"}).value().join(""),s=Q("div._pendo-guide-arrow_",e).remove().findOrCreate("<div class='_pendo-guide-arrow_'></div>"),u=Q("div._pendo-guide-arrow-border_ ",e).remove().findOrCreate("<div class='_pendo-guide-arrow-border_'></div>");J.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;"),Q(e).append(s).append(u)},yv=function(e,t){t===Ly&&(t=ou),e.element=Iu(e);var n=e.element;if(!n)return Y.info("No element found for step: "+e.id),null;io(n);var i=mv(n,e);return null===i?null:(i.id=I.getTooltipDivId(e),Q(i).appendTo(re()),t.push(i),p(i,"mouseover",J.partial(Q.addClass,i,"mouseover")),p(i,"mouseout",J.partial(Q.removeClass,i,"mouseover")),Cu(n,i),Tv(e),n)},bv=null,wv=function(e){var t=!J.isEqual(e,bv);return bv=e,t},Sv=null,Iv=function(e){var t=!J.isEqual(e,Sv);return Sv=e,t};function xv(){Ev=Sv=bv=null}var Ev=null,Cv=function(e){var t=!J.isEqual(e,Ev);return Ev=e,t},_v={top:"north",left:"east",bottom:"south",right:"west"},Tv=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=od(n=n.concat(J.compact(J.flatten(J.map(t.additionalElements,function(e){return J.toArray(Q(e))}))))),o={top:r=t.padding||0,left:r,bottom:r,right:r},s=rd(a=id(),i,o),wv(i)||Iv(a)||Cv(s))&&(u={"z-index":t.zindex||1e4,position:"fixed"},t.bgColor&&(u["background-color"]=t.bgColor),t.opacity&&(u.opacity=t.opacity),J.each(s,function(e,t){Av(_v[t],J.extend({},e,u))}))}catch(Ut){Y.info("Failed to add BlockOut ui",{contexts:["error"]})}},Av=function(e,t){e=Q("div._pendo-guide-tt-region-block_._pendo-region-"+e+"_")[0]||Rv(e);Q(e).css(t)},Rv=function(e){e=Q(Ry.createElement("div")).addClass("_pendo-guide-tt-region-block_").addClass("_pendo-region-"+e+"_");Q("body").append(e)},Lv=function(e){var t=J.isEqual(e,pv);return pv=e,!t},Ov=function(e){var t,n,i,r=ne(e.element||Iu(e));Tv(e),Lv(r)&&(n=e.attributes.height,i=e.attributes.width,t=e.attributes.layoutDir,n=kv(r,n,i,t),(i=Q(gv(e))).css({top:n.top,left:n.left,position:r.fixed?"fixed":""}),vv(i,n))},kv=function(e,t,n,i){var r=I.TOOLTIP_ARROW_SIZE,o={arrow:{border:{}},content:{top:r,left:r}},a=Or();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=Nv(o,e,a,i=i||"auto"),o=Mv(o,e,a,i),o=Pv(o,e,a)},Nv=function(e,t,n,i){return e.arrow.hbias=Ed(t,n,i),e},Mv=function(e,t,n,i){var r;return i&&"DEFAULT"!=i&&"auto"!=i&&(e.arrowPosition=i),e.arrowPosition||(i=t.top-er(),t=(r=t.left-tr())+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},Pv=function(e,t,n){var i,r,o,a=e.height,s=e.width;return Ze()?Ye(e,t):("top"==e.arrowPosition||"bottom"==e.arrowPosition?(i=0,"top"==e.arrowPosition?(e.top=t.top+t.height,e.arrow.top=_e(9,6)?6:2,i=-1):"bottom"==e.arrowPosition&&(e.top=t.top-a,e.arrow.top=a-I.TOOLTIP_ARROW_SIZE-1,e.arrow.top+=_e(9,6)?6:0,e.arrow.top+=8==u?-1:0,i=1),r=10+I.TOOLTIP_ARROW_SIZE,o=s-3*I.TOOLTIP_ARROW_SIZE-10,e.arrow.hbias==Sd?(e.left=t.left+t.width/2-(10+2*I.TOOLTIP_ARROW_SIZE),e.arrow.left=r):e.arrow.hbias==Id?(e.left=t.left-s+t.width/2+(10+2*I.TOOLTIP_ARROW_SIZE),e.arrow.left=o):(e.left=t.left+t.width/2-s/2,e.arrow.left=s/2-I.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==Sd?(e.left=t.left+t.width,e.arrow.left=1,e.arrow.left+=_e(10,6)?5:0,e.arrow.border.left=e.arrow.left-1):e.arrow.hbias==Id&&(e.left=Math.max(0,t.left-s),e.arrow.left=s-I.TOOLTIP_ARROW_SIZE-1,e.arrow.left+=_e(10,6)?5:0,e.arrow.left+=7==u&&6<=Te?1:0,e.arrow.border.left=e.arrow.left+1),e.top=t.top-a/2+t.height/2,e.arrow.top=a/2-I.TOOLTIP_ARROW_SIZE,e.arrow.border.top=e.arrow.top),e)},Fv=function(){return I.TOOLTIP_ARROW_SIZE},Dv={width:cv,height:lv,arrowSize:fv};function Uv(e){var t;return"tooltip"===this.type&&((t=this).attributes.height=t.attributes.height||I.TOOLTIP_DEFAULT_HEIGHT,t.attributes.width=t.attributes.width||I.TOOLTIP_DEFAULT_WIDTH,t.attributes.layoutDir=t.attributes.layoutDir||"DEFAULT",this.getTriggers=function(e){var t=this,n=t.element||Iu(t);return!n&&e?[]:(e=(t.advanceMethod||"").split(","),this.triggers=J.map(e,function(e){return new dv(n,e,t)}),this.triggers)},this.removeTrigger=function(e){this.triggers=J.without(this.triggers,e),0===this.triggers.length&&(this.triggers=null)},this.canShow=function(){return!op(t)&&!!e.canShowOnDevice()&&!t.isShown()&&t.canShowOnPage(kp())&&sp(t)},this.after("render",function(){yv(this,this.elements)&&(J.each(this.getTriggers(),function(e){e.add()}),_d.attachScrollHandlers(this,this.onscroll))}),this.reposition=function(){var e=this.attributes.width,t=this.attributes.height,n=this.attributes.layoutDir,i=this.guideElement,r=Q("._pendo-guide-container_",i),o=ne(this.element),t=kv(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+"_"),Q("._pendo-guide-arrow_,._pendo-guide-arrow-border_",i).remove(),vv(i,t),i.css({top:t.top,left:t.left,height:t.height,width:t.width,position:o.fixed?"fixed":""}),this.dim=t,Tv(this)},this.onscroll=function(e){to(e.element)?(e.reposition(),Ar(e.elements[0],"display:block")):Ar(e.elements[0],"display:none")},this.teardownElementEvent=function(){J.each(this.triggers,function(e){e.remove()})},this.after("hide",function(){Q("._pendo-guide-tt-region-block_").remove(),xv()})),this}var Gv=500,Bv=500,zv="_pendo-guide-lb_",Hv=function(e,t){var n=!!Q("._pendo-backdrop_")[0];return J.get(t,"overlayDiv[0]")||(t.overlayDiv=Q(Ry.createElement("div")).addClass("_pendo-backdrop_")),!1==n&&(t.elements.push(t.overlayDiv[0]),t.overlayDiv.appendTo(re())),Ze()&&t.overlayDiv.css({height:"100%",width:"100%",position:"absolute"}),e&&Q(t.overlayDiv).addClass("_pendo-onboarding_"),t.overlayDiv},jv=function(e){var t=e.guideElement,n=I.TOOLTIP_ARROW_SIZE,i=e.attributes.height,e=e.attributes.width,e=Math.floor(e/2),i=Math.floor(i/2);t.addClass(zv).css({top:"50%",left:"50%","margin-top":-i,"margin-left":-e}),Q("._pendo-guide-container_",t).css({bottom:n,right:n}),Ze()&&t.css({position:"absolute"})},Wv=function(e,t){t===Ly&&(t=ou),e.element=Iu(e),jv(e);var n=!!e.getGuide()&&e.getGuide().isOnboarding(),n=(Hv(n,e),e.guideElement);t.push(n[0]),n.appendTo(re())},Kv="_pendo-guide-mobile-lb_",qv=function(e){e.guideElement.addClass(Kv)},Jv=function(e,t){t===Ly&&(t=ou),e.element=Iu(e),qv(e);var n=!!e.getGuide()&&e.getGuide().isOnboarding(),n=Hv(n,e),e=e.guideElement,i=I.TOOLTIP_ARROW_SIZE,i=(e.css({width:"",height:""}),Q("._pendo-guide-container_",e).css({bottom:i,right:i}));function r(e){e.preventDefault()}Q("._pendo-close-guide_",e).remove().prependTo(i),e.appendTo(re()),t.push(e[0]),p(n[0],"touchmove",r),p(e[0],"touchmove",r)};function Vv(){var e=this;return/lightbox/i.test(e.type)&&(e.attributes.height=e.attributes.height||I.LB_DEFAULT_HEIGHT,e.attributes.width=e.attributes.width||I.LB_DEFAULT_WIDTH,e.after("render",function(){(wu()?Jv:Wv)(e,e.elements)}),e.reposition=function(){wu()||e.guideElement.css({"margin-left":-Math.floor(e.attributes.width/2),"margin-top":-Math.floor(e.attributes.height/2)})}),e}var $v=500,Zv="_pendo-guide-banner_";function Yv(){var n=this;return"banner"===n.type&&(n.attributes.height=n.attributes.height||$v,n.attributes.position=n.attributes.position||"top",n.after("render",function(){var e=n.guideElement,t=I.TOOLTIP_ARROW_SIZE;e.css({width:""}).addClass(Zv).addClass("_pendo-guide-banner-"+n.attributes.position+"_"),bu()||e.addClass("_pendo-in_"),Q("._pendo-guide-container_",e).css({bottom:t,right:t}),n.element=Iu(n),n.elements.push(e[0]),e.appendTo(re())})),n}function Xv(t){var n=this,e="whatsnew",i="_pendo-guide-whatsnew-seen_",r="active",o=1e3;return n.type===e&&(J.extend(n,{isShown:J.constant(!1),launch:u,onShown:u,render:function(){var e=n.guideElement,t=n.attributes.height;e&&e.html()||(e=Q(Ry.createElement("div")).attr("id",lp(n)).addClass("_pendo-guide-whatsnew_").html(n.getContent()),J.isNumber(t)&&!n.attributes.autoHeight&&e.height(t),n.seenState===r&&e.addClass(i),n.guideElement=e)},seen:s}),J.extend(t,{addToLauncher:function(){var e=n.guideElement;e&&!Hr(e[0])&&(Q("._pendo-launcher_ #launcher-"+n.guideId).html("").append(e),Vu.runCustomScripts(n,t))},isReady:a}),n.after("show",s)),n;function a(){return!!n.guideElement}function s(){bu()||a()&&n.seenState!==r&&function(e){{var t,n;if(to(e,/(auto|scroll|hidden)/))return(t=qr(e))?(t=ie(t),e=ie(e),n=t.top+Math.floor(t.height/3),e.bottom<=t.bottom||e.top<=n):1}}(n.guideElement[0])&&(yp(n.guideId,n.id,X(),e,t.language,{last_updated_at:n.lastUpdatedAt}),n.seenState=r,J.delay(function(){n.guideElement.addClass(i+" out")},J.isNumber(n.attributes.seenDelay)?n.attributes.seenDelay:o))}function u(){}}var Qv="_pendo-launcher-searching_",e0="._pendo-launcher-search-box_ input";function t0(){var t={text:"",highlight:function(e){return t.text?(e||"").replace(new RegExp(t.text,"gi"),"<strong>$&</strong>"):e},clear:function(){Q(e0).each(function(){this.value=""})}};return this.data&&this.data.enableSearch&&this.data.enableSearch&&(this.data.search=t,I.disableGuideCenterContentSearch||this.before("update",s0),this.before("update",function(){t.text=a0().join(" ");var e=Q("._pendo-launcher_");t.text?e.addClass(Qv):e.removeClass(Qv)})),this}function n0(){var e;if(I.guideWidget)return(e=I.guideWidget.data)&&e.enableSearch}var i0=function(e){return e&&J.isFunction(e.shouldBeAddedToLauncher)?e.shouldBeAddedToLauncher():e&&e.launchMethod&&0<=e.launchMethod.indexOf("launcher")},r0;function o0(){return 0<a0().length}function a0(){var e;return n0()&&(e=Q(e0)[0])&&0<(e=e.value).length?(e=ct.call(e),[].concat(J.compact(e.split(" ")))):[]}function s0(e){if(!m.get("disablePrefetch"))return $.all(J.map(e,function(e){return e.fetchContent()}))}function u0(e){var t=a0();return 0===t.length?e:(t=J.map(t,J.partial(d0,e)),J.union.apply(J,t))}function d0(e,t){return Y.info("doing search on "+t,{contexts:["launcher","search","guides"]}),e=e||S(),t&&0!==t.length?J.chain(e).filter(i0).map(function(e){return e.searchFor(t)}).compact().sortBy(function(e){return J.indexOf(["tag","name","content"],e.field)}).pluck("guide").value():e}var c0=function(){var e,t=S();Au()?I.guideWidget&&I.guideWidget.enabled&&(e=w0(t),D0(e,!0)):(P0(),(t=S0(w0(e=du(t))))!==r0&&Z.dispatch("frames/changeGuideList",e),r0=t)},l0=330,f0=310,p0=null,h0=null,g0=!1,m0="_pendo-launcher-active_",v0=null,y0=function(){return""};function b0(e,t){y0=t}function w0(e){return u0(J.filter(e||S(),i0))}function S0(e){return Et(J.map(e,function(e){var t=e.isWhatsNew()?[]:J.pluck(e.steps,"seenState");return{id:e.id,seenState:t}}))}function I0(e){var n=this,t=e.launchType||"badge",i=(J.extend(n,{show:function(){"badge"===t&&Q(n.element).css("display: ;")},hide:function(){Q(n.element).css("display: none;")},wrap:function(){var e=n.element;{var t;e&&/^img$/i.test(e.nodeName)&&(t=Q(Ry.createElement("div")).addClass(e.className).append(e).appendTo(re()),e.className="",n.element=t[0])}},dispose:function(){Q.removeNode(n.element)},setActive:function(e){e?Q(n.element).addClass(m0):Q(n.element).removeClass(m0)}}),e),e=i.position||"bottom-right",r=Ry.createElement("img");Q(n.element=r).addClass("_pendo-launcher-badge_").addClass("_pendo-launcher-badge-"+e+"_"),i.launcherBadgeUrl&&(r.src=zu(i.launcherBadgeUrl)),r.onerror=function(e){Y.info("[Agent] Error! Unable to load guide center image "+i.launcherBadgeUrl),Y.critical("ERROR in when attempting to render guide center badge image",{imgSrc:i.launcherBadgeUrl})},Ze()&&(p(r,"mouseover",function(e){Q(r).addClass("_pendo-launcher-badge-active_")}),p(r,"mouseout",function(e){Q(r).removeClass("_pendo-launcher-badge-active_")}),Q(r).css({position:"absolute"})),re().appendChild(r)}function x0(e){function n(){return"element"===e.launchType&&e.launchElement?e.launchElement:"._pendo-launcher-badge_"}function t(e){var e=ui(e),t=n();Q(e).closest(t).length&&(j0()?c.write("launcher-closed","yes",864e6):I.guideWidget.position(e),J0())}I.guideWidget.removeCountBadge=function(){Q("._pendo-launcher-whatsnew-count_").remove()},e&&e.elementMatch&&(e.launchElement=e.elementMatch.selection),J.extend(this,{getLauncherTarget:function(){return Q(n())[0]},dispose:function(){h(Ry,"click",t),e&&e.whatsnew&&e.whatsnew.enabled&&V0()}}),p(Ry,"click",t)}function E0(){var n,s="bottom-right",u="bottom-left";return this.update=function(e,t){t=t?e:w0(e),e=S0(t)+Et(a0());return e!==n&&(n=e,this.updateLauncherContent(t)),N0(),0<t.length},this.updateLauncherContent=G0,this.guideStatus=function(e){return e.isComplete()?"complete":e.isInProgress()?"in-progress":"not-started"},this.render=function(){var e=this.data||{},t=(p0=new I0(e),e.height||f0),n=(e.enableSearch&&(t+=Ze()?50:39),this&&!this.hidePoweredBy&&(t+=40),e.addHeight&&(t+=e.addHeight),this.height=t,e.width||l0),i=(e.addWidth&&(n+=e.addWidth),this.width=n,Q(Ry.createElement("div")).addClass("_pendo-launcher_")),r=(h0=i[0],ne(p0.element)),r=kv(r,t,n),o=(i.css({width:n,height:t}),I.TOOLTIP_ARROW_SIZE),n=Q(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=U0(),o=zu(T0(this.template(t))),t=Q(Ry.createElement("div")).addClass("_pendo-guide-content_").html(o).appendTo(n);e.addUISection&&e.addUISection(i[0]),zf(i[0],function(){K0(),c.write("launcher-closed","yes",288e5)}),t.on("click",function(e){var t=Q(ui(e)).closest("._pendo-launcher-item_");t&&t.length&&(t=E((t=/^launcher-(.+)$/.exec(ct.call(t.attr("id"))))&&t[1]))&&!t.isWhatsNew()&&(gp(t.steps[0],"launcher"),K0(),nu(e))}),Ze()&&(Q("._pendo-launcher-header_",i).css({padding:"10px","margin-right":"10px","margin-left":"10px"}),Q("._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");Q(this).css(e)}),i.appendTo(re()),J.isFunction(this.script)&&this.script(this),e.autoHeight&&e.autoHeight.enabled&&!_e(9,6)&&(o=e.autoHeight.offset||100,i.css({height:"calc(100% - "+o+"px)",maxHeight:e.height,minHeight:e.height/2}),Q("._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=ne(e),n=kv(e,this.height,this.width),i=Q(h0),"badge"===(r=t.launchType||"badge")?(o=t.position,J.indexOf(a=[s,u,"top-left","top-right"],t.position)<0&&(o=s),J.each(a,function(e){i.removeClass("_pendo-launcher-"+e+"_")}),i.addClass("_pendo-launcher-"+o+"_"),n.arrow=n.arrow||{},n.arrowPosition=J.contains([s,u],o)?"bottom":"top",n.arrow.hbias=J.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"}),Q("._pendo-guide-arrow_,._pendo-guide-arrow-border_",i).remove(),Pv(n,e,{width:Infinity,height:Infinity}),vv(i[0],n),i.find("._pendo-guide-container_").removeClass("top left bottom right").addClass(n.arrowPosition))},this.toggle=J0,this}function C0(){var n,i=this;return i.data&&i.data.onboarding&&(n=i.onboarding=i.onboarding||{},i.before("update",function(e){var e=J.filter(e,Em),t=J.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,Q("._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 _0(){var n=this,i=Q(Ry.createElement("div")).addClass("_pendo-launcher-whatsnew-count_");return n.data&&n.data.whatsnew&&n.data.whatsnew.enabled&&(n.before("updateLauncherContent",function(e){e=J.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=(J.each(t,function(e){e.show()}),J.find(t,function(e){if(!e.isReady())return!0;e.addToLauncher()}),J.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,Q("span._pendo-launcher-whatsnew-count_").text(n.data.whatsnew.unseenCount))}),n.after("render",function(){F0()?i.appendTo(this.data.launchElement):(p0.wrap(),i.appendTo(p0.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 T0(e){return e=J.isString(e)?e.replace(/\s+(style)=/gi," pendo-style="):e}function A0(e,t){var n=e&&e.data,t=J.filter(t,function(e){e=J.first(e.steps);return e&&"launcher"===e.type}),t=J.first(J.sortBy(t,function(e){return-e.lastUpdatedAt}));return t&&n&&(t=J.first(t.steps),J.extend(n,J.pick(t,"contentUrl","contentUrlCss","contentUrlJs"),t.attributes),J.defaults(n,{whatsnew:{},knowledgebase:{}}),n.id=t.guideId+t.id),e}function R0(t){var n=t&&t.data||{};return!0!==m.get("preventCodeInjection")&&(n.contentUrlJs||n.contentUrl)?Pu.verify(n).then(function(){return qu.load(n)}).then(function(e){return n.template=e.content,J.extend(t,e)}):$.resolve()}function L0(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 O0(e,t){e.contentHostUrl&&(e.contentHostUrl=L0(e.contentHostUrl,location)),v0=new x0(e);var n=E0.create(I.guideWidget);return J.isFunction(n.template)||(n.template=e.template?J.template(e.template):y0),n.render(),n.position(v0.getLauncherTarget()),t&&n.toggle(),n}E0.create=function(e){return J.reduce(E0.behaviors,function(e,t){return t.call(e)},e)},E0.behaviors=[Zc,E0,Fu.Launcher,t0,C0,_0];var k0=function(){h0&&(Q.removeNode(h0),h0=null),v0&&(v0.dispose(),v0=null),p0&&(p0.dispose(),p0=null)},N0=function(){(F0()||!W0()&&!o0()?P0:M0)()},M0=function(){p0&&p0.show()},P0=function(){F0()||K0(),p0&&p0.hide()},F0=function(){return!(!I.guideWidget||!I.guideWidget.data||"element"!==I.guideWidget.data.launchType)},D0=function(e,t){if(I.guideWidget&&J.isFunction(I.guideWidget.update))return I.guideWidget.update(e,t)},U0=function(e){var t=dc(),t=J.extend({hidePoweredBy:!1,guides:[],guide:{},step:{},metadata:It(t)},I.guideWidget);return t.data=J.extend({},t.data),e&&(t.guides=e),t};function G0(e){var t=I.guideWidget.template||y0,e=U0(e),e=Q(Ry.createElement("div")).html(T0(t(e))),n=e.find("._pendo-launcher-guide-listing_"),t=e.find("._pendo-launcher-footer_").html(),e=e.find("._pendo-launcher-search-results_").html();Q("._pendo-launcher_ ._pendo-launcher-guide-listing_").each(function(e,t){Q(e).html(n.eq(t).html())}),Q("._pendo-launcher_ ._pendo-launcher-footer_").html(t),Q("._pendo-launcher_ ._pendo-launcher-search-results_").html(e)}var B0=function(e){var t=Ry.createElement("div"),n=(Q(t).addClass("_pendo-launcher-item_"),Q(t).attr("id","launcher-"+e.id),Ry.createElement("a"));return n.href="#",n.innerHTML=e.name,t.appendChild(n),t},z0=J.compose(N0,function(e,t){var n,i;i0(e)&&(n=Q("._pendo-launcher_ ._pendo-launcher-guide-listing_")[0])&&(e=(i=Q("#launcher-"+e.id)).length?i[0]:B0(e),i=0<i.length,J.isNumber(t)&&(i=Q("._pendo-launcher-item_"))[t]?e.id!=i[t].id&&n.insertBefore(e,i[t]):n.appendChild(e))}),H0=function(){return!!h0&&!g0},j0=function(){return Q(h0).hasClass(m0)},W0=function(){return 0<Q("._pendo-launcher-item_").length},K0=function(){var e;h0&&(e=Q(h0))&&e.hasClass(m0)&&(e.removeClass(m0),p0)&&p0.setActive(!1)},q0=function(){var e;h0&&(e=Q(h0))&&!e.hasClass(m0)&&(e.addClass(m0),p0)&&p0.setActive(!0)},J0=function(){H0()&&(j0()?K0:q0)()};function V0(){Q("._pendo-launcher-whatsnew-count_").remove()}var $0=function(){try{var e=I.guideWidget||{},t=e.data||{},n=t.device||{desktop:!0,mobile:!1,iframe:!1};k0(),!wu()&&!n.desktop||wu()&&!n.mobile||Fo()&&!n.iframe||e.enabled&&(O0(t),P0())}catch(Ut){Y.critical("ERROR while initializing launcher",{error:Ut})}},Z0=function(e){e.defaultLauncher=b0,e.toggleLauncher=J0,e.showLauncher=q0,e.hideLauncher=K0,e.removeLauncher=k0,e.initLauncher=$0,e.createLauncher=O0,e._addGuideToLauncher=z0,e.launcherToolTipDiv=h0},Y0=function(e){e.designer&&(e.designer.createLauncher=O0,e.designer.removeLauncher=k0,e.designer.addGuideToLauncher=z0,e.designer.updateLauncherContent=G0)},X0=function(e){e.debugging&&(e.debugging.getLauncherGuides=w0)},Q0=function(){$0()},ey=function(){Y0(I)},ty=function(){X0(I)},ny=function(e){return R0(A0(I.guideWidget,e))},iy=function(e,t){Z0(e),t.Events.on("guidesLoaded",Q0),t.Events.on("designerLaunched",ey),t.Events.on("debuggerLaunched",ty),t.GuideLoop.addUpdatePhase(c0),eh(ny)},ry=function(e,t){th(ny),t.GuideLoop.removeUpdatePhase(c0),t.Events.off("guidesLoaded",Q0),t.Events.off("designerLaunched",ey),t.Events.off("debuggerLaunched",ty)};function oy(){return-1<J.indexOf(Gu.behaviors,Uv)}var ay=function(){var r,i,o,a;return jh.Extensions.API.addTopic("Launcher",{addBehavior:function(e){E0.behaviors.push(e)}}),{name:"P1Guides",initialize:function(e,t){var n;o=t,r=(i=e).dom,a=[Uv,Vv,Yv,Xv,d,c,u,s],oy()||(n=J.indexOf(Gu.behaviors,Rm),Gu.behaviors.splice.apply(Gu.behaviors,[n,0].concat(a)),t.Events.guideLoopStopped.on(P0),e.TOOLTIP_DEFAULT_WIDTH=Dv.width,e.TOOLTIP_DEFAULT_HEIGHT=Dv.height,e.TOOLTIP_ARROW_SIZE=Dv.arrowSize,e._showElementGuide=yv,e._createTooltip=mv,e._get_tooltip_dimensions=kv,e.LB_DEFAULT_WIDTH=Gv,e.LB_DEFAULT_HEIGHT=Bv,e._showLightboxGuide=Wv,iy(e,t))},teardown:function(){ry(i,o),o.Events.guideLoopStopped.off(P0),a.forEach(function(e){e=J.indexOf(Gu.behaviors,e);0<=e&&Gu.behaviors.splice(e,1)}),a=[]}};function s(){var e=this;return"tooltip"!==e.type||e.domJson||(e.checkPlacement=function(){Ov(e)}),e}function u(){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=Fv(),n=i.guideElement;n&&(e=r("._pendo-guide-container_",n),"tooltip"==i.type||Ze()&&"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 d(e){var t=this;return t.domJson||t.domJsonpUrl||t.after("render",function(){t.guideElement&&t.guideElement.length&&zf(t.guideElement[0],function(){e.isOnboarding()&&!confirm("Are you sure you want to stop this tutorial?")||Xf(t)})}),t}function c(){var e=this;return e.hideCredits||e.domJson||e.domJsonpUrl||e.after("render",function(){rp(e.guideElement[0])}),e}}(),sy=function(){var n,i;return{name:"Branding",initialize:function(e,t){n=e,(i=t).ConfigReader.get("isPendoFree")&&i.Events.on("guideSeen",r)},teardown:function(){i.Events.off("guideSeen",r)},addBranding:t};function r(e){t(n,e)}function t(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",Ki()+"/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))}}(),uy=function(){var r,n,i,o="automation";return{name:"ActionAutomation",automationQueue:void 0,initialize:function(e,t){r=e,n=t,this.automationQueue=[],t.EventRouter.registerAction(o,a.bind(this))},teardown:function(){n.EventRouter.deregisterAction(o),this.automationQueue=[]},guideActivity:a,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 tn(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 a(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 dy(e,i){return"undefined"!=typeof Proxy&&J.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 dy(e[t],i)}return J.isFunction(e[t])?function(){return e[t].apply(e,arguments)}:e[t]}}):e}var cy=function(){var n,l,f,p,t,i=Hn(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 dy(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)}))}}),r=Hn(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=s,f.previewEventProperty=m,p.Events.onClickCaptured.off(o),p.Events.onClickCaptured.on(o),a()},teardown:function(){p.Events.onClickCaptured.off(o),p.store.dispatch("location/removeInternalTransforms",t),t=[]},collectClickEventProperties:i,collectEventProperty:m,collectPageEventProperties:r,getEventPropertyTarget:s,addPageEventProperties:a};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 o(e){i(e.data[0])}function a(){var e;e=p.ConfigReader.get("eventPropertyConfigurations"),t=e&&!f._.isEmpty(e)?[new sm("search","AddTo",function(){return r()})]:[],p.store.dispatch("location/addInternalTransforms",t)}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,Y.critical(e),t.featureId?f.eventProperties=[]:n=!0}function m(e,t){if(e.path)return t=s(e,t),f._.get(t,e.path,Ly)}function s(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=w.getParent(r)}return n}return e?!(t=f.Sizzle(e)[0])||"password"!==t.type&&"hidden"!==t.type?t:void 0:Ay}}(),ly;function fy(){return{store:Z,ConfigReader:m,getState:function(){return V.stringify(Z.state)},getEventCache:function(){return[].concat(zo)},getAllGuides:function(){return[].concat(S())},getAutoGuides:function(){return xc.sortAndFilter(S(),I.autoOrdering)},getBadgeGuides:function(){return J.filter(S(),vu)},getLauncherGuides:function(){return[]},getEventHistory:function(){return[]},getAllFrames:function(){return Z.getters["frames/allFrames"]()},getChannelType:function(){return Z.getters["frames/channelType"]()},isStepShownInFrame:function(e,t){return Z.getters["frames/isShownInFrame"]()(e,t)},setActiveGuides:cu,getBody:Q.getBody,isMobileUserAgent:b.isMobileUserAgent,areGuidesDelayed:bh,doesElementMatchContainsRules:dp,getMetadata:dc,isStagingServer:G,AutoDisplay:xc,isLeader:Au,Events:y}}function py(){var e,t=gl();t.enabled&&(hy(),Q("#pendo-client-debugger").length||(1===t.version&&(e=!st()&&m.get("forceParentDesigner"),Fo()&&!e||fo(qi("pendo.debugger.min.js"),function(){y.debuggerLaunched.trigger(),Y.info("Debug module loaded")})),2===t.version&&((e=Ry.createElement("script")).src=qi("debugger-plugin.min.js"),Q.getBody().appendChild(e))))}function hy(){ly=ly||fy(),I.debugging=ly}function gy(e,t){return void 0===t&&(t=1),ml(!0)?e?ly:"debugging already enabled":(2===t?((t=gl()).enabled=!0,t.version=2,c.write(hl,V.stringify(t),null,!0)):c.write(hl,"true",null,!0),py(),e?ly:"debugging enabled")}function my(){var e;return ml(!0)?(2===(e=gl()).version?(e.enabled=!1,c.write(hl,V.stringify(e),null,!0)):c.write(hl,"false",null,!0),I.debugging=null,delete I.debugging,Q("#pendo-client-debugger").remove(),"debugging disabled"):"debugging already disabled"}J.extend(Vg,ly);var vy={name:"DebuggerLauncher",initialize:function(n,e){n.isDebuggingEnabled=ml,n.enableDebugging=gy,n.disableDebugging=my,n.addDebuggingFunctions=hy,py(),xo("pendo-debugger::launch",function(e,t){e.config.apiKey===n.apiKey&&(my(),gy(!1,2),t.source.postMessage({type:"pendo-debugger::ready",apiKey:n.apiKey},t.origin))})},teardown:function(){Eo("pendo-debugger::launch"),my()}};function yy(){Wh(Qm),Wh(nv),Wh(sv),Wh(uv),Wh(ay),Wh(sy),Wh(uy),Wh(cy),Wh(pm),Wh(vy)}function by(n){gm(n),wm(n),J.each(["identify","updateOptions","pageLoad","track"],function(e){var t=n[e];n[e]=function(){try{lg()?t.apply(this,arguments):W(n,e,arguments)}catch(Ut){Y.critical(Ut)}}})}function wy(t){J.each(["initialize","identify","updateOptions","pageLoad","track"],function(e){t[e]=function(){console.log("Pendo is currently disabled.")}})}function Sy(e,t){if(le(t),at(),(O(t)||!de(t,e,ml(!0)))&&(!e||!e.VERSION)){if(!m.get("disablePendo"))return Xm(Z),ji(),Nm(),Ju.reset(),Z.dispatch("frames/init"),Ug.init(),w.wrapSizzle(d),d.intercept(Tu),by(e),Y.addEventListener("log",J.partial(Z.dispatch,"errorLog/write")),yy(),pg(e._q,fg,iu),1;wy(e)}}function Iy(){var r=V.stringify;V.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 xy(e){return"undefined"!=typeof Prototype&&parseFloat(Prototype.Version.substr(0,3))<e&&"undefined"!=typeof Array.prototype.toJSON}function Ey(){xy(1.7)&&Iy()}var Cy=pe(),_y=k(Cy);Sy(_y,Cy)&&Ey()}()}(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, preventUnloadListener: 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,r={};return{name:"TextCapture",initialize:function(e,o){t=e,i=o,e.excludeAllText=i.ConfigReader.get("excludeAllText");var l=i.ConfigReader.get("allowedText");r=t._.reduce(l,(function(e,i){return t._.isString(i)?(e[i]=!0,e):e}),{}),i.NodeSerializer.add(a),n=t._.partial(u,e),i.Events.on("eventCaptured",n)},teardown:function(){i.NodeSerializer.remove(a),i.Events.off("eventCaptured",n)},isEnabled:o,isTextCapturable:function(e){var n=i.util.trim.call(e);return o()||t._.has(r,n)||t._.has(r,e)},hasWhitelist:function(){return t._.size(r)>0},serializer:a};function a(n,r,a){if(r!==a)return n;if(e.isEnabled()||!e.isEnabled()&&e.hasWhitelist()){var u=t.getText(a,128);e.isTextCapturable(u)&&(n.txt=e.hasWhitelist()?i.util.trim.call(u):u)}return n}function u(e,t){if(o()){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 o(){return!t.excludeAllText}}();pendo.addExtension&&pendo.addExtension({name:"TextCapture",version:"1.0.0",type:"agent",use:"plugin",uri:e})}(); ;