PURECLOUD_COBROWSE_DEPLOYMENT_TOKEN = "AQIDAHiptSjiMy1kbZzaF29iJhRltHHfvzrNMvSh6GFk2SuvgwGXaIRGqz0avix6Z8w0wEPYAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMccuXKjOHToPHBCQlAgEQgDsn75CSVe7w7L0dsYmVapI2Vox0x3dIJEUMFiqfe6FtUEBv0OMObDKjY4s1JvHDeQTufuugCMjelsdesw.eyJzZWxmVXJpIjoiL2FwaS92Mi9jb2Jyb3dzZS9kZXBsb3ltZW50cyIsImtleSI6IjZmWTlaT3d2VXoyajB0WkNQUzRXTnBObkxjcDNPQ2NTIiwibmFtZSI6IkxpbmRlIiwiZGVzY3JpcHRpb24iOiJVSyBDb2Jyb3dzZSB0ZXN0IGltcGxlbWVudGF0aW9uIGZvciBvbmxpbmVzaG9wIGFuZCIsImhvc3RzIjpbIioubGluZGUuY29tIiwiKi5ib2NvbmxpbmVzaG9wLmNvLnVrIiwiKi5ib2NvbmxpbmUuY28udWsiLCIqLmJvYy5jb20iLCIqLmxvY2FsaG9zdC5jb206NTUwMCIsIiouc3RhZ2luZzMubGluZGUuZ3JwIiwiYm9jbGlua3MuY28udWsiXSwiaWQiOiJkMjY1NDA2NS0yOGRhLTRiNDEtYmE0Ni03MjQwYWNkYjA2NTEiLCJhdXRvSm9pbiI6dHJ1ZSwidmlld2VyQ29udHJvbEFsbG93ZWQiOnRydWUsIm1hc2tlZENzc0NsYXNzZXMiOltdfQ.77-977-977-977-977-977-9du-_ve-_vVV3byVJx7vvv71AazJtbu-_ve-_vRgsF--_ve-_vRdo77-9"; PURECLOUD_COBROWSE_DEFAULT_CONFIG = {"cobrowseServiceHost":"cobrowse.euw2.pure.cloud"}; !function(){function r(r,n){var t=new Error('Cannot find module "'+r+'"'+(n?' from "'+n+'"':""));return t.code="MODULE_NOT_FOUND",t}function n(r){this.id=this.filename=r,this.loaded=!1,this.exports=void 0}function t(r,n,t){var i=t&&t.globals;if(_[r]=n,i)for(var e=b||global,o=0;o<i.length;o++){var a=i[o],u=E[r]=d(r);e[a]=u.exports}}function i(r,n){$[r]=n}function e(r,n){j[r]=n}function o(r,n){M[r]=n}function a(r,n,t){I[r+"/"+n]=t}function u(r){var n,t=0,i=r.length;for(n=0;n<i;n++){var e=r[n];"."===e||(".."===e?t--:(r[t]=e,t++))}return 1===t?"/":(t>2&&0===r[t-1].length&&t--,r.length=t,r.join("/"))}function f(r,n){var t=n.split("/");return u(("/"==r?[""]:r.split("/")).concat(t))}function s(r){var n,t=r.lastIndexOf(".");return-1===t||-1!==(n=r.lastIndexOf("/"))&&n>t?null:r.substring(0,t)}function c(r){r=r.substring(1);var n=r.indexOf("/");"@"===r.charAt(1)&&(n=r.indexOf("/",n+1));var t=-1===n?r.length:n;return[r.substring(0,t),r.substring(t)]}function l(r,n){"/"===r.charAt(r.length-1)&&(r=r.slice(0,-1));var t=M[r];if(t)return t;var i,e,o=c(n),a=o[0],u=r.indexOf("/");u<0?(i=r,e=""):("@"===r.charAt(0)&&(u=r.indexOf("/",u+1)),i=r.substring(0,u),e=r.substring(u));var f=I[a+"/"+i];if(f){var s="/"+i+"$"+f;return e&&(s+=e),s}}function v(r,n){var t;if("."===r.charAt(0))t=f(n,r);else if("/"===r.charAt(0))t=u(r.split("/"));else{for(var i=O.length,e=0;e<i;e++){var o=O[e]+r,a=v(o,n);if(a)return a}t=l(r,n)}if(t){var c;void 0!==(c=$[t])&&(c||(c="index"),t=f(t,c));var d=j[t];d&&(t=d);var h=_[t];if(void 0===h){var p;if(null===(p=s(t))||void 0===(h=_[p]))return;t=p}return[t,h]}}function d(t,i){if(!t)throw r("");var e=v(t,i);if(!e)throw r(t,i);var o=e[0],a=y[o];if(void 0!==a)return a;if(E.hasOwnProperty(o))return E[o];var u=e[1];return a=new n(o),y[o]=a,a.load(u),a}function h(r,n){return d(r,n).exports}function p(r,n){if(!(n&&!1===n.wait||m))return A.push([r,n]);h(r,"/")}function g(){m=!0;for(var r;r=A.length;){var n=A;A=[];for(var t=0;t<r;t++){var i=n[t];p(i[0],i[1])}if(!m)break}}function x(r){O.push(r)}var b;if("undefined"!=typeof window){if(b=window,b.$_mod_cobrowse_api)return;b.global=b}var w,_={},O=[],m=!1,A=[],y={},I={},M={},$={},j={},D={},E={};n.cache=y;var F=n.prototype;F.load=function(n){var t=this.id;if(n&&n.constructor===Function){var i=t.lastIndexOf("/"),e=t.substring(0,i),o=D[e]||(D[e]={}),a=function(r){return(o[r]||(o[r]=d(r,e))).exports};a.resolve=function(n){if(!n)throw r("");var t=v(n,e);if(!t)throw r(n,e);return t[0]},a.cache=y,a.runtime=w,this.exports={},n.call(this,a,this.exports,this,t,e)}else this.exports=n;this.loaded=!0};var N=0,P=function(){--N||g()};F.__runtime=w={def:t,installed:a,run:p,main:i,remap:e,builtin:o,require:h,resolve:v,join:f,ready:g,searchPath:x,loaderMetadata:function(r){F.__loaderMetadata=r},pending:function(){return m=!1,N++,{done:P}}},b?b.$_mod_cobrowse_api=w:module.exports=w}(); $_mod_cobrowse_api.searchPath("/purecloud-cobrowse-web$2.1.0/"); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/sharer/local-storage",function(o,e,t,r,a){e.setCobrowseParticipantToken=function(o){localStorage.setItem("cobrowseParticipantToken",o)},e.getCobrowseParticipantToken=function(){return localStorage.getItem("cobrowseParticipantToken")},e.invalidateCobrowseParticipantToken=function(){localStorage.removeItem("cobrowseParticipantToken")}}); $_mod_cobrowse_api.builtin("buffer","/buffer$5.2.1/index"); $_mod_cobrowse_api.installed("buffer$5.2.1","base64-js","1.3.0"); $_mod_cobrowse_api.main("/base64-js$1.3.0",""); $_mod_cobrowse_api.def("/base64-js$1.3.0/index",function(r,t,e,n,o){"use strict";function a(r){var t=r.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=r.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}function u(r){var t=a(r),e=t[0],n=t[1];return 3*(e+n)/4-n}function c(r,t,e){return 3*(t+e)/4-e}function h(r){for(var t,e=a(r),n=e[0],o=e[1],u=new s(c(r,n,o)),h=0,i=o>0?n-4:n,d=0;d<i;d+=4)t=C[r.charCodeAt(d)]<<18|C[r.charCodeAt(d+1)]<<12|C[r.charCodeAt(d+2)]<<6|C[r.charCodeAt(d+3)],u[h++]=t>>16&255,u[h++]=t>>8&255,u[h++]=255&t;return 2===o&&(t=C[r.charCodeAt(d)]<<2|C[r.charCodeAt(d+1)]>>4,u[h++]=255&t),1===o&&(t=C[r.charCodeAt(d)]<<10|C[r.charCodeAt(d+1)]<<4|C[r.charCodeAt(d+2)]>>2,u[h++]=t>>8&255,u[h++]=255&t),u}function i(r){return A[r>>18&63]+A[r>>12&63]+A[r>>6&63]+A[63&r]}function d(r,t,e){for(var n,o=[],a=t;a<e;a+=3)n=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(255&r[a+2]),o.push(i(n));return o.join("")}function f(r){for(var t,e=r.length,n=e%3,o=[],a=0,u=e-n;a<u;a+=16383)o.push(d(r,a,a+16383>u?u:a+16383));return 1===n?(t=r[e-1],o.push(A[t>>2]+A[t<<4&63]+"==")):2===n&&(t=(r[e-2]<<8)+r[e-1],o.push(A[t>>10]+A[t>>4&63]+A[t<<2&63]+"=")),o.join("")}t.byteLength=u,t.toByteArray=h,t.fromByteArray=f;for(var A=[],C=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,p=y.length;v<p;++v)A[v]=y[v],C[y.charCodeAt(v)]=v;C["-".charCodeAt(0)]=62,C["_".charCodeAt(0)]=63}); $_mod_cobrowse_api.installed("buffer$5.2.1","ieee754","1.1.13"); $_mod_cobrowse_api.main("/ieee754$1.1.13",""); $_mod_cobrowse_api.def("/ieee754$1.1.13/index",function(o,a,t,r,h){a.read=function(o,a,t,r,h){var M,e,f=8*h-r-1,i=(1<<f)-1,w=i>>1,p=-7,n=t?h-1:0,N=t?-1:1,s=o[a+n];for(n+=N,M=s&(1<<-p)-1,s>>=-p,p+=f;p>0;M=256*M+o[a+n],n+=N,p-=8);for(e=M&(1<<-p)-1,M>>=-p,p+=r;p>0;e=256*e+o[a+n],n+=N,p-=8);if(0===M)M=1-w;else{if(M===i)return e?NaN:1/0*(s?-1:1);e+=Math.pow(2,r),M-=w}return(s?-1:1)*e*Math.pow(2,M-r)},a.write=function(o,a,t,r,h,M){var e,f,i,w=8*M-h-1,p=(1<<w)-1,n=p>>1,N=23===h?Math.pow(2,-24)-Math.pow(2,-77):0,s=r?0:M-1,u=r?1:-1,c=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(f=isNaN(a)?1:0,e=p):(e=Math.floor(Math.log(a)/Math.LN2),a*(i=Math.pow(2,-e))<1&&(e--,i*=2),a+=e+n>=1?N/i:N*Math.pow(2,1-n),a*i>=2&&(e++,i/=2),e+n>=p?(f=0,e=p):e+n>=1?(f=(a*i-1)*Math.pow(2,h),e+=n):(f=a*Math.pow(2,n-1)*Math.pow(2,h),e=0));h>=8;o[t+s]=255&f,s+=u,f/=256,h-=8);for(e=e<<h|f,w+=h;w>0;o[t+s]=255&e,s+=u,e/=256,w-=8);o[t+s-u]|=128*c}}); $_mod_cobrowse_api.def("/buffer$5.2.1/index",function(t,r,e,n,i){"use strict";function o(t){if(t>K)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return r.__proto__=f.prototype,r}function f(t,r,e){if("number"==typeof t){if("string"==typeof r)throw new TypeError('The "string" argument must be of type string. Received type number');return a(t)}return u(t,r,e)}function u(t,r,e){if("string"==typeof t)return p(t,r);if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===t?"undefined":Z(t)));if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return c(t,r,e);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return f.from(n,r,e);var i=y(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(void 0===t?"undefined":Z(t)))}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function h(t,r,e){return s(t),t<=0?o(t):void 0!==r?"string"==typeof e?o(t).fill(r,e):o(t).fill(r):o(t)}function a(t){return s(t),o(t<0?0:0|g(t))}function p(t,r){if("string"==typeof r&&""!==r||(r="utf8"),!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=0|d(t,r),n=o(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function l(t){for(var r=t.length<0?0:0|g(t.length),e=o(r),n=0;n<r;n+=1)e[n]=255&t[n];return e}function c(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===r&&void 0===e?new Uint8Array(t):void 0===e?new Uint8Array(t,r):new Uint8Array(t,r,e),n.__proto__=f.prototype,n}function y(t){if(f.isBuffer(t)){var r=0|g(t.length),e=o(r);return 0===e.length?e:(t.copy(e,0,0,r),e)}return void 0!==t.length?"number"!=typeof t.length||J(t.length)?o(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}function g(t){if(t>=K)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K.toString(16)+" bytes");return 0|t}function w(t){return+t!=t&&(t=0),f.alloc(+t)}function d(t,r){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(void 0===t?"undefined":Z(t)));var e=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===e)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return N(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return V(t).length;default:if(i)return n?-1:N(t).length;r=(""+r).toLowerCase(),i=!0}}function v(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if(e>>>=0,r>>>=0,e<=r)return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,r,e);case"utf8":case"utf-8":return R(this,r,e);case"ascii":return x(this,r,e);case"latin1":case"binary":return C(this,r,e);case"base64":return I(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function m(t,r,e,n,i){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,J(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof r&&(r=f.from(r,n)),f.isBuffer(r))return 0===r.length?-1:E(t,r,e,n,i);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):E(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function E(t,r,e,n,i){function o(t,r){return 1===f?t[r]:t.readUInt16BE(r*f)}var f=1,u=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;f=2,u/=2,s/=2,e/=2}var h;if(i){var a=-1;for(h=e;h<u;h++)if(o(t,h)===o(r,-1===a?0:h-a)){if(-1===a&&(a=h),h-a+1===s)return a*f}else-1!==a&&(h-=h-a),a=-1}else for(e+s>u&&(e=u-s),h=e;h>=0;h--){for(var p=!0,l=0;l<s;l++)if(o(t,h+l)!==o(r,l)){p=!1;break}if(p)return h}return-1}function B(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n))>i&&(n=i):n=i;var o=r.length;n>o/2&&(n=o/2);for(var f=0;f<n;++f){var u=parseInt(r.substr(2*f,2),16);if(J(u))return f;t[e+f]=u}return f}function A(t,r,e,n){return W(N(r,t.length-e),t,e,n)}function U(t,r,e,n){return W($(r),t,e,n)}function _(t,r,e,n){return U(t,r,e,n)}function S(t,r,e,n){return W(V(r),t,e,n)}function T(t,r,e,n){return W(q(r,t.length-e),t,e,n)}function I(t,r,e){return 0===r&&e===t.length?G.fromByteArray(t):G.fromByteArray(t.slice(r,e))}function R(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],f=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var s,h,a,p;switch(u){case 1:o<128&&(f=o);break;case 2:s=t[i+1],128==(192&s)&&(p=(31&o)<<6|63&s)>127&&(f=p);break;case 3:s=t[i+1],h=t[i+2],128==(192&s)&&128==(192&h)&&(p=(15&o)<<12|(63&s)<<6|63&h)>2047&&(p<55296||p>57343)&&(f=p);break;case 4:s=t[i+1],h=t[i+2],a=t[i+3],128==(192&s)&&128==(192&h)&&128==(192&a)&&(p=(15&o)<<18|(63&s)<<12|(63&h)<<6|63&a)>65535&&p<1114112&&(f=p)}}null===f?(f=65533,u=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=u}return L(n)}function L(t){var r=t.length;if(r<=Q)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Q));return e}function x(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(127&t[i]);return n}function C(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function k(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Y(t[o]);return i}function O(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function M(t,r,e){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}function P(t,r,e,n,i,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}function z(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function j(t,r,e,n,i){return r=+r,e>>>=0,i||z(t,r,e,4,3.4028234663852886e38,-3.4028234663852886e38),H.write(t,r,e,n,23,4),e+4}function D(t,r,e,n,i){return r=+r,e>>>=0,i||z(t,r,e,8,1.7976931348623157e308,-1.7976931348623157e308),H.write(t,r,e,n,52,8),e+8}function F(t){if(t=t.split("=")[0],t=t.trim().replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function Y(t){return t<16?"0"+t.toString(16):t.toString(16)}function N(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],f=0;f<n;++f){if((e=t.charCodeAt(f))>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}if(f+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return o}function $(t){for(var r=[],e=0;e<t.length;++e)r.push(255&t.charCodeAt(e));return r}function q(t,r){for(var e,n,i,o=[],f=0;f<t.length&&!((r-=2)<0);++f)e=t.charCodeAt(f),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function V(t){return G.toByteArray(F(t))}function W(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function X(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function J(t){return t!==t}var Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G=t("/base64-js$1.3.0/index"),H=t("/ieee754$1.1.13/index");r.Buffer=f,r.SlowBuffer=w,r.INSPECT_MAX_BYTES=50;var K=2147483647;r.kMaxLength=K,f.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),f.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),f.poolSize=8192,f.from=function(t,r,e){return u(t,r,e)},f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,f.alloc=function(t,r,e){return h(t,r,e)},f.allocUnsafe=function(t){return a(t)},f.allocUnsafeSlow=function(t){return a(t)},f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,r){if(X(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),X(r,Uint8Array)&&(r=f.from(r,r.offset,r.byteLength)),!f.isBuffer(t)||!f.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var e=t.length,n=r.length,i=0,o=Math.min(e,n);i<o;++i)if(t[i]!==r[i]){e=t[i],n=r[i];break}return e<n?-1:n<e?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var e;if(void 0===r)for(r=0,e=0;e<t.length;++e)r+=t[e].length;var n=f.allocUnsafe(r),i=0;for(e=0;e<t.length;++e){var o=t[e];if(X(o,Uint8Array)&&(o=f.from(o)),!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)b(this,r,r+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)b(this,r,r+3),b(this,r+1,r+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)b(this,r,r+7),b(this,r+1,r+6),b(this,r+2,r+5),b(this,r+3,r+4);return this},f.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?R(this,0,t):v.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},f.prototype.compare=function(t,r,e,n,i){if(X(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(void 0===t?"undefined":Z(t)));if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),r<0||e>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&r>=e)return 0;if(n>=i)return-1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,u=e-r,s=Math.min(o,u),h=this.slice(n,i),a=t.slice(r,e),p=0;p<s;++p)if(h[p]!==a[p]){o=h[p],u=a[p];break}return o<u?-1:u<o?1:0},f.prototype.includes=function(t,r,e){return-1!==this.indexOf(t,r,e)},f.prototype.indexOf=function(t,r,e){return m(this,t,r,e,!0)},f.prototype.lastIndexOf=function(t,r,e){return m(this,t,r,e,!1)},f.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r>>>=0,isFinite(e)?(e>>>=0,void 0===n&&(n="utf8")):(n=e,e=void 0)}var i=this.length-r;if((void 0===e||e>i)&&(e=i),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return B(this,t,r,e);case"utf8":case"utf-8":return A(this,t,r,e);case"ascii":return U(this,t,r,e);case"latin1":case"binary":return _(this,t,r,e);case"base64":return S(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r,e);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;f.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,t<0?(t+=e)<0&&(t=0):t>e&&(t=e),r<0?(r+=e)<0&&(r=0):r>e&&(r=e),r<t&&(r=t);var n=this.subarray(t,r);return n.__proto__=f.prototype,n},f.prototype.readUIntLE=function(t,r,e){t>>>=0,r>>>=0,e||M(t,r,this.length);for(var n=this[t],i=1,o=0;++o<r&&(i*=256);)n+=this[t+o]*i;return n},f.prototype.readUIntBE=function(t,r,e){t>>>=0,r>>>=0,e||M(t,r,this.length);for(var n=this[t+--r],i=1;r>0&&(i*=256);)n+=this[t+--r]*i;return n},f.prototype.readUInt8=function(t,r){return t>>>=0,r||M(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,r){return t>>>=0,r||M(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,r){return t>>>=0,r||M(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,r){return t>>>=0,r||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,r){return t>>>=0,r||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,r,e){t>>>=0,r>>>=0,e||M(t,r,this.length);for(var n=this[t],i=1,o=0;++o<r&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*r)),n},f.prototype.readIntBE=function(t,r,e){t>>>=0,r>>>=0,e||M(t,r,this.length);for(var n=r,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o},f.prototype.readInt8=function(t,r){return t>>>=0,r||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,r){t>>>=0,r||M(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},f.prototype.readInt16BE=function(t,r){t>>>=0,r||M(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},f.prototype.readInt32LE=function(t,r){return t>>>=0,r||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,r){return t>>>=0,r||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,r){return t>>>=0,r||M(t,4,this.length),H.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,r){return t>>>=0,r||M(t,4,this.length),H.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,r){return t>>>=0,r||M(t,8,this.length),H.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,r){return t>>>=0,r||M(t,8,this.length),H.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,r,e,n){if(t=+t,r>>>=0,e>>>=0,!n){P(this,t,r,e,Math.pow(2,8*e)-1,0)}var i=1,o=0;for(this[r]=255&t;++o<e&&(i*=256);)this[r+o]=t/i&255;return r+e},f.prototype.writeUIntBE=function(t,r,e,n){if(t=+t,r>>>=0,e>>>=0,!n){P(this,t,r,e,Math.pow(2,8*e)-1,0)}var i=e-1,o=1;for(this[r+i]=255&t;--i>=0&&(o*=256);)this[r+i]=t/o&255;return r+e},f.prototype.writeUInt8=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,1,255,0),this[r]=255&t,r+1},f.prototype.writeUInt16LE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},f.prototype.writeUInt16BE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},f.prototype.writeUInt32LE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},f.prototype.writeUInt32BE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},f.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r>>>=0,!n){var i=Math.pow(2,8*e-1);P(this,t,r,e,i-1,-i)}var o=0,f=1,u=0;for(this[r]=255&t;++o<e&&(f*=256);)t<0&&0===u&&0!==this[r+o-1]&&(u=1),this[r+o]=(t/f>>0)-u&255;return r+e},f.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r>>>=0,!n){var i=Math.pow(2,8*e-1);P(this,t,r,e,i-1,-i)}var o=e-1,f=1,u=0;for(this[r+o]=255&t;--o>=0&&(f*=256);)t<0&&0===u&&0!==this[r+o+1]&&(u=1),this[r+o]=(t/f>>0)-u&255;return r+e},f.prototype.writeInt8=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},f.prototype.writeInt16LE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},f.prototype.writeInt16BE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},f.prototype.writeInt32LE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},f.prototype.writeInt32BE=function(t,r,e){return t=+t,r>>>=0,e||P(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},f.prototype.writeFloatLE=function(t,r,e){return j(this,t,r,!0,e)},f.prototype.writeFloatBE=function(t,r,e){return j(this,t,r,!1,e)},f.prototype.writeDoubleLE=function(t,r,e){return D(this,t,r,!0,e)},f.prototype.writeDoubleBE=function(t,r,e){return D(this,t,r,!1,e)},f.prototype.copy=function(t,r,e,n){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<e&&(n=e),n===e)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var i=n-e;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,e,n);else if(this===t&&e<r&&r<n)for(var o=i-1;o>=0;--o)t[o+r]=this[o+e];else Uint8Array.prototype.set.call(t,this.subarray(e,n),r);return i},f.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<e)throw new RangeError("Out of range index");if(e<=r)return this;r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0);var o;if("number"==typeof t)for(o=r;o<e;++o)this[o]=t;else{var u=f.isBuffer(t)?t:f.from(t,n),s=u.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<e-r;++o)this[o+r]=u[o%s]}return this};var tt=/[^+/0-9A-Za-z-_]/g}); $_mod_cobrowse_api.main("/purecloud-cobrowse-web$2.1.0/src/util/shared-dict",""); $_mod_cobrowse_api.main("/purecloud-cobrowse-web$2.1.0/src/i18n",""); $_mod_cobrowse_api.installed("purecloud-cobrowse-web$2.1.0","lasso-i18n","4.0.0"); $_mod_cobrowse_api.main("/lasso-i18n$4.0.0",""); $_mod_cobrowse_api.remap("/lasso-i18n$4.0.0/index","/lasso-i18n$4.0.0/index_browser"); $_mod_cobrowse_api.def("/lasso-i18n$4.0.0/util",function(r,e,n,o,i){var a=e;a.normalizeLocaleCode=function(r){return r.replace("_","-").toLowerCase()},a.findBestLocale=function(r,e){if(!r)return"";if(!e||0===e.length)return"";for(var n={},o=0;o<e.length;o++)n[a.normalizeLocaleCode(e[o])]=!0;var i;i=Array.isArray(r)?r:-1===r.indexOf(",")?[r]:r.split(",");for(var t=0;t<i.length;t++){r=i[t];var l=r.indexOf(";");if(-1!==l&&(r=r.substring(0,l)),r=a.normalizeLocaleCode(r),n[r])return r;if("-"===r.charAt(2)&&(r=r.substring(0,2),n[r]))return r}return""}}); $_mod_cobrowse_api.builtin("lasso-loader","/lasso-loader$3.0.2/src/index"); $_mod_cobrowse_api.loaderMetadata({_be25e1:{css:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-startSharing-343ff57b.css"],js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-startSharing-b4873b61.js"]},_9c1c74:{css:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-promptForCode-6d66313b.css"],js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-promptForCode-19deb8a0.js"]},_c29b40:{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-autoJoin-ffdd9f28.js"]},"i18n-ar":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-ar--jsapi-v1.min.js-async-862d34f3.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-cs":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-cs--jsapi-v1.min.js-async-879e2e05.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-da":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-da--jsapi-v1.min.js-async-11bc8da9.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-de":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-de--jsapi-v1.min.js-async-a726be84.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-en":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-en--jsapi-v1.min.js-async-6a4dedd1.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-es":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-es--jsapi-v1.min.js-async-4b3bd287.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-fi":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-fi--jsapi-v1.min.js-async-0ef70a97.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-fr":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-fr--jsapi-v1.min.js-async-7df18b99.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-he":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-he--jsapi-v1.min.js-async-64704de9.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-it":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-it--jsapi-v1.min.js-async-5b2084aa.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-ja":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-ja--jsapi-v1.min.js-async-2c21770b.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-ko":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-ko--jsapi-v1.min.js-async-f0baa8a7.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-nl":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-nl--jsapi-v1.min.js-async-d1bfd36c.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-no":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-no--jsapi-v1.min.js-async-ec525e04.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-pl":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-pl--jsapi-v1.min.js-async-0c4fb4f2.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-pt-br":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-pt-br--jsapi-v1.min.js-async-2be28af5.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-pt-pt":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-pt-pt--jsapi-v1.min.js-async-de7a9a68.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-ru":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-ru--jsapi-v1.min.js-async-cc62b8a4.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-sv":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-sv--jsapi-v1.min.js-async-cdb17b98.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-tr":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-tr--jsapi-v1.min.js-async-2c15a1b8.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-zh-cn":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n-zh-cn--jsapi-v1.min.js-async-8bb9d044.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},"i18n-":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/i18n---jsapi-v1.min.js-async-900eff61.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]},_c38494:{},_4d0eea:{},_9f2691:{},_c1e231:{},_00adb8:{},"sharer-polyfills-promises":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/polyfills-promises-96440ddc.js"]},"sharer-polyfills-es6":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/polyfills-es6-9b3f63f6.js","https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-common-d46f602d.js"]},"sharer-polyfills-text-encoding":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/polyfills-text-encoding-07e6f51b.js"]},"sharer-polyfills-MutationObserver":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/polyfills-MutationObserver-4347d4dc.js"]},"sharer-polyfills-MouseEvent":{js:["https://dhqbrvplips7x.cloudfront.net/cobrowse/40-40/jsapi-v1.min.js-async-8dff80eb.js"]}}); $_mod_cobrowse_api.installed("lasso-loader$3.0.2","raptor-util","1.1.2"); $_mod_cobrowse_api.def("/raptor-util$1.1.2/extend",function(r,o,n,t,e){n.exports=function(r,o){if(r||(r={}),o)for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);return r}}); $_mod_cobrowse_api.def("/lasso-loader$3.0.2/src/resource-loader",function(e,n,t,r,o){function a(e,n){var t=document.createElement(e);return n&&u(t,n),t}function c(e){null==i&&(i=document.getElementsByTagName("head")[0]),i.appendChild(e)}var i,u=e("/raptor-util$1.1.2/extend");n.js=function(e,n,t){function r(){!1===d&&(d=!0,n())}function o(e){!1===d&&(d=!0,n(e||"unknown error"))}t=t||{};var i,d=!1;if(u(t,{type:"text/javascript",src:e,onreadystatechange:function(){"complete"!=i.readyState&&"loaded"!=i.readyState||r()},onload:r,onerror:o}),i=a("script",t),i.addEventListener)try{i.addEventListener("load",function(){r()})}catch(e){}c(i)},n.css=function(e,n,t){function r(){p.onload=null,p.onreadystatechange=null,p.onerror=null}function o(){for(var n=document.styleSheets,t=0,r=n.length;t<r;t++)if(n[t].href===e)return!0;return!1}function i(){!1===f&&(f=!0,r(),n())}function d(){if(!1===f){if(!o()&&s--)return window.setTimeout(d,10);i()}}function l(e){!1===f&&(f=!0,r(),n(e||"unknown error"))}var s=20,f=!1,p=a("link");u(p,{type:"text/css",rel:"stylesheet",href:e}),t&&u(p,t),"Microsoft Internet Explorer"===navigator.appName?(p.onload=i,p.onreadystatechange=function(){var e=this.readyState;"loaded"!==e&&"complete"!==e||i()}):d(),p.onerror=l,c(p)}}); $_mod_cobrowse_api.installed("lasso-loader$3.0.2","events","1.1.1"); $_mod_cobrowse_api.main("/events$1.1.1","events"); $_mod_cobrowse_api.def("/events$1.1.1/events",function(e,t,s,n,i){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function h(e){return"number"==typeof e}function v(e){return"object"===(void 0===e?"undefined":f(e))&&null!==e}function l(e){return void 0===e}var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};s.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!h(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,s,n,i,r,h;if(this._events||(this._events={}),"error"===e&&(!this._events.error||v(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var f=new Error('Uncaught, unspecified "error" event. ('+t+")");throw f.context=t,f}if(s=this._events[e],l(s))return!1;if(o(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),s.apply(this,i)}else if(v(s))for(i=Array.prototype.slice.call(arguments,1),h=s.slice(),n=h.length,r=0;r<n;r++)h[r].apply(this,i);return!0},r.prototype.addListener=function(e,t){var s;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?v(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,v(this._events[e])&&!this._events[e].warned&&(s=l(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function s(){this.removeListener(e,s),n||(n=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var n=!1;return s.listener=t,this.on(e,s),this},r.prototype.removeListener=function(e,t){var s,n,i,r;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=this._events[e],i=s.length,n=-1,s===t||o(s.listener)&&s.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(v(s)){for(r=i;r-- >0;)if(s[r]===t||s[r].listener&&s[r].listener===t){n=r;break}if(n<0)return this;1===s.length?(s.length=0,delete this._events[e]):s.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,s;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(s=this._events[e],o(s))this.removeListener(e,s);else if(s)for(;s.length;)this.removeListener(e,s[s.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}}); $_mod_cobrowse_api.def("/lasso-loader$3.0.2/src/index",function(n,e,o,r,t){function a(n,e){if(!v[e]){v[e]=!0;var o,r=setTimeout(function(){o("Timeout after "+l+"ms")},l);o=function(n){v[e]&&(clearTimeout(r),delete v[e],n?h[e]=n:m[e]=!0,_.emit(e,n,e))},u[n](e,o)}}function i(n,e){function o(){i.length?e("Failed: "+i.join(", ")):e()}function r(n,e){n&&i.push(e+" ("+n+")"),0==--c&&s&&o()}function t(e){var o=n[e];if(o)for(var t=0,s=o.length;t<s;t++){var f=o[t];h[f]?i.push(f+" ("+h[f]+")"):m[f]||(c++,_.once(f,r),a(e,f))}}var i=[],c=0,s=!1;t("css"),t("js"),s=!0,0===c&&o()}function c(n){if("_"!==n.charAt(0))throw new Error("No loader metadata for "+n)}function s(n,e){var r,t=o.__loaderMetadata;if(!t)return e();if(Array.isArray(n))r={js:[],css:[]},n.forEach(function(n){var e=t[n];e?["js","css"].forEach(function(n){var o=e[n];o&&(r[n]=r[n].concat(o))}):c(n)});else if(!(r=t[n]))return c(n),e();var a=f.pending();i(r,function(n,o){a.done(n),e(n,o)})}var f=o.__runtime,u=n("/lasso-loader$3.0.2/src/resource-loader"),d=n("/events$1.1.1/events").EventEmitter,l=3e3,v={},m={},h={},_=new d;e.setTimeout=function(n){l=n},e.load=i,e.async=s}); $_mod_cobrowse_api.def("/lasso-i18n$4.0.0/index_browser",function(o,n,e,i,s){var t=o("/lasso-i18n$4.0.0/util"),a=o("/lasso-i18n/config");e.exports={getSupportedLocales:function(){return a.locales},findBestLocale:function(o){return t.findBestLocale(o,this.getSupportedLocales())},loadLocale:function(n,e){n=this.findBestLocale(n),o("/lasso-loader$3.0.2/src/index").async("i18n-"+(n||""),e)},getDictionary:function(n,e){return o("/i18n/"+(e||"_")+"/"+n)}}}); $_mod_cobrowse_api.def("/lasso-i18n/config",function(o,e,n,s,r){n.exports={locales:["ar","cs","da","de","en","es","fi","fr","he","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","tr","zh-cn","","","","","","","","","","","","","","",""]}}); $_mod_cobrowse_api.def("/lasso-i18n$4.0.0/Dictionary",function(t,i,o,n,r){function c(t,i,o){this._name=t,this._dictionary=i,this._localeCode=o}c.prototype={raw:function(){return this._dictionary},getLocaleCode:function(){return this._localeCode},getIfExists:function(t,i){var o=this._dictionary[t];if(void 0!==o)return o.constructor===String?o:o.constructor===Function?o.call(this,i):o},get:function(t,i){var o=this.getIfExists(t,i);return void 0===o?"$$$"+t+"$$$":o},set:function(t,i){this._dictionary[t]=i}},o.exports=c}); $_mod_cobrowse_api.builtin("path","/path-browserify$1.0.0/index"); $_mod_cobrowse_api.builtin("process","/process$0.11.10/browser"); $_mod_cobrowse_api.def("/process$0.11.10/browser",function(e,t,r,n,o){function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(m===setTimeout)return setTimeout(e,0);if((m===i||!m)&&setTimeout)return m=setTimeout,setTimeout(e,0);try{return m(e,0)}catch(t){try{return m.call(null,e,0)}catch(t){return m.call(this,e,0)}}}function s(e){if(p===clearTimeout)return clearTimeout(e);if((p===u||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){y&&T&&(y=!1,T.length?w=T.concat(w):v=-1,w.length&&f())}function f(){if(!y){var e=c(a);y=!0;for(var t=w.length;t;){for(T=w,w=[];++v<t;)T&&T[v].run();v=-1,t=w.length}T=null,y=!1,s(e)}}function l(e,t){this.fun=e,this.array=t}function h(){}var m,p,d=r.exports={};!function(){try{m="function"==typeof setTimeout?setTimeout:i}catch(e){m=i}try{p="function"==typeof clearTimeout?clearTimeout:u}catch(e){p=u}}();var T,w=[],y=!1,v=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];w.push(new l(e,t)),1!==w.length||y||c(f)},l.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=h,d.addListener=h,d.once=h,d.off=h,d.removeListener=h,d.removeAllListeners=h,d.emit=h,d.prependListener=h,d.prependOnceListener=h,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}}); $_mod_cobrowse_api.def("/path-browserify$1.0.0/index",function(e,t,r,n,o){"use strict";function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function l(e,t){for(var r,n="",o=0,i=-1,l=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(i===a-1||1===l);else if(i!==a-1&&2===l){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var f=n.lastIndexOf("/");if(f!==n.length-1){-1===f?(n="",o=0):(n=n.slice(0,f),o=n.length-1-n.lastIndexOf("/")),i=a,l=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=a,l=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),o=a-i-1;i=a,l=0}else 46===r&&-1!==l?++l:l=-1}return n}function a(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var f=e("process"),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h={resolve:function(){for(var e,t="",r=!1,n=arguments.length-1;n>=-1&&!r;n--){var o;n>=0?o=arguments[n]:(void 0===e&&(e=f.cwd()),o=e),i(o),0!==o.length&&(t=o+"/"+t,r=47===o.charCodeAt(0))}return t=l(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return e=l(e,!t),0!==e.length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":h.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t)return"";if(e=h.resolve(e),t=h.resolve(t),e===t)return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,o=n-r,l=1;l<t.length&&47===t.charCodeAt(l);++l);for(var a=t.length,f=a-l,c=o<f?o:f,s=-1,u=0;u<=c;++u){if(u===c){if(f>c){if(47===t.charCodeAt(l+u))return t.slice(l+u+1);if(0===u)return t.slice(l+u)}else o>c&&(47===e.charCodeAt(r+u)?s=u:0===u&&(s=0));break}var g=e.charCodeAt(r+u);if(g!==t.charCodeAt(l+u))break;47===g&&(s=u)}var d="";for(u=r+s+1;u<=n;++u)u!==n&&47!==e.charCodeAt(u)||(0===d.length?d+="..":d+="/..");return d.length>0?d+t.slice(l+s):(l+=s,47===t.charCodeAt(l)&&++l,t.slice(l))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,l=e.length-1;l>=1;--l)if(47===(t=e.charCodeAt(l))){if(!o){n=l;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');i(e);var r,n=0,o=-1,l=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,f=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!l){n=r+1;break}}else-1===f&&(l=!1,f=r+1),a>=0&&(c===t.charCodeAt(a)?-1==--a&&(o=r):(a=-1,o=f))}return n===o?o=f:-1===o&&(o=e.length),e.slice(n,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!l){n=r+1;break}}else-1===o&&(l=!1,o=r+1);return-1===o?"":e.slice(n,o)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,o=!0,l=0,a=e.length-1;a>=0;--a){var f=e.charCodeAt(a);if(47!==f)-1===n&&(o=!1,n=a+1),46===f?-1===t?t=a:1!==l&&(l=1):-1!==t&&(l=-1);else if(!o){r=a+1;break}}return-1===t||-1===n||0===l||1===l&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!==(void 0===e?"undefined":c(e)))throw new TypeError('The "pathObject" argument must be of type Object. Received type '+(void 0===e?"undefined":c(e)));return a("/",e)},parse:function(e){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),o=47===n;o?(t.root="/",r=1):r=0;for(var l=-1,a=0,f=-1,c=!0,h=e.length-1,s=0;h>=r;--h)if(47!==(n=e.charCodeAt(h)))-1===f&&(c=!1,f=h+1),46===n?-1===l?l=h:1!==s&&(s=1):-1!==l&&(s=-1);else if(!c){a=h+1;break}return-1===l||-1===f||0===s||1===s&&l===f-1&&l===a+1?-1!==f&&(t.base=t.name=0===a&&o?e.slice(1,f):e.slice(a,f)):(0===a&&o?(t.name=e.slice(1,l),t.base=e.slice(1,f)):(t.name=e.slice(a,l),t.base=e.slice(a,f)),t.ext=e.slice(l,f)),a>0?t.dir=e.slice(0,a-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};h.posix=h,r.exports=h}); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/i18n/index",function(r,n,e,o,i){function t(r,n){var e=r(n);try{return decodeURI(e)}catch(r){if(r instanceof URIError)return e;throw r}}function c(r){return Object.keys(r).reduce(function(n,e){return"string"==typeof r[e]?n[e]=decodeURI(r[e]):n[e]=function(n){return t(r[e],n)},n},{})}function a(r,n){var e=r.id,o=0,i=e.indexOf($);-1!==i&&(o=i+$.length);var t=e.lastIndexOf("/");return e=e.substring(o,t+1),s.normalize(s.join(e,n))}var u=r("/lasso-i18n$4.0.0/index_browser"),f=r("/lasso-i18n$4.0.0/Dictionary"),s=r("/path-browserify$1.0.0/index"),d=window.cobrowse_i18n=n,l=void 0,w=void 0,v={},$="/src/";d.loadLocale=function(r){return w&&r===l?w:"$$"===r?(l=r,v={},w=Promise.resolve()):w=new Promise(function(n,e){l=u.findBestLocale(r),u.loadLocale(l,function(r){if(r)return e(r);v={},n()})})},d.getDictionary=function(r,n){if("."===r.charAt(0)){if(!n)throw new Error("getDictionary function requires relativeToModule when resolving relative path");r=a(n,r)}var e=v[r];if(!e){var o="$$"===l?{}:u.getDictionary(r,l);v[r]=e=new f(r,c(o),l)}return e}}); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/util/shared-dict/index",function(e,o,c,i,r){c.exports=e("/purecloud-cobrowse-web$2.1.0/src/i18n/index").getDictionary("./i18n.json",c)}); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/util/getParticipantName",function(e,r,t,o,c){var d=e("/purecloud-cobrowse-web$2.1.0/src/util/shared-dict/index");t.exports=function(e){var r=e.getEncodedDisplayName();return r||(r=e.getGuest()?d.get("sharer"):d.get("viewer")),decodeURI(r)}}); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/util/decodeToken",function(e,r,o,a,n){function t(e){var r=e.replace(/-/g,"+");r=r.replace(/_/g,"/");var o=r.length%4;if(2===o)r+="==";else if(3===o)r+="=";else if(1===o)throw new Error("Illegal base64 string");return f.from(r,"base64").toString("utf8")}var f=e("buffer").Buffer;o.exports=function(e){var r=/^[a-zA-Z0-9\-_]+\.([a-zA-Z0-9\-_]+)\.[a-zA-Z0-9\-_]+$/,o=/^[a-zA-Z0-9+/=]+\.([a-zA-Z0-9+/=]+)\.[a-zA-Z0-9+/=]+$/,a=r.exec(e),n=o.exec(e);if(!a&&!n)throw new Error("Invalid token");return n?window.atob(n[1]):t(a[1])}}); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/util/getDeployment",function(e,o,r,t,c){"use strict";var n=e("/purecloud-cobrowse-web$2.1.0/src/util/decodeToken"),i=void 0;r.exports=function(){if(void 0===i){var e=window.PURECLOUD_COBROWSE_DEPLOYMENT_TOKEN;if(e)try{i=JSON.parse(n(e)),i.token=e}catch(e){console.error("Error reading deployment token",e),i=null}}return i}}); $_mod_cobrowse_api.def("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/v1",function(o,r,e,n,i){"use strict";function s(){this.cobrowse=void 0,this.sharerSession=void 0}function t(){return!!document.addEventListener&&Array.prototype.forEach}function c(o,r){return r&&o.then(function(o){r(null,o)}).catch(r),o}var u=window.PureCloud=window.PureCloud||{},a=o("/purecloud-cobrowse-web$2.1.0/src/sharer/local-storage"),d=o("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/util/getDeployment"),l=o("/lasso-loader$3.0.2/src/index");l.setTimeout(1e4);var f=void 0;[window.PURECLOUD_COBROWSE_CONFIG,window.PURECLOUD_COBROWSE_DEFAULT_CONFIG].forEach(function(o){o&&null==f&&(f=o.autoJoin)});var p=new s,w=p.deployment=d(),v=void 0,b=!1;e.exports=u.cobrowse=p.cobrowse=v={isSupported:t,isSharing:function(){var o=v.getSharerSession();return o&&o.getSharer()},getSharerSession:function(){return p.sharerSession},startSharing:function(r,e){function n(){l.async("_be25e1",function(e){if(e)return c(e);o("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/startSharing")(p,r,c)})}if(1===arguments.length&&"function"==typeof r?(e=r,r=void 0):e&&"function"!=typeof e&&(console.error("Provided a non-function callback"),e=void 0),!t()){var i=new Error("Co-browse not supported");return void(e?e(i):console.error("Error starting co-browse.",i))}if(b||v.isSharing())return e&&e();b=!0;var s=0,c=function(o,r){if(b=!1,o&&s<3)return b=!0,s++,void n();o?console.error("Error starting co-browse session.",o):console.log("Page is being shared."),e&&e(o,r)};n()},stopSharing:function(o){var r=void 0;return(r=p.sharerSession)?(p.sharerSession=null,c(r.stop(),o)):o()},promptForCode:function(r,e){o("/lasso-loader$3.0.2/src/index").async("_9c1c74",function(n){if(n)return e(n);o("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/promptForCode")(p,r,e)})},deployment:w},function(){if(null!=f){if(!1===f)return}else if(w&&!1===w.autoJoin)return;var r=a.getCobrowseParticipantToken();r&&o("/lasso-loader$3.0.2/src/index").async("_c29b40",function(e){if(e)return void console.error("Error loading auto-join module",e);var n=o("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/autoJoin");u.cobrowse.autoJoinPromise=n(p,r)})}()}); $_mod_cobrowse_api.run("/purecloud-cobrowse-web$2.1.0/src/jsapi/v1/v1",{wait:!1});