You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
41 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250"><title>LP Secure Storage</title><meta http-equiv="X-UA-Compatible" content="IE=100"><script type="text/javascript">function injectLpTag(e,t){function n(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}var a=e.domain&&"string"==typeof e.domain?!1:!0;e=e||{},window.lpTag=window.lpTag||{},"undefined"==typeof window.lpTag._tagCount&&e.site?(n(lpTag,{wl:e.whiteList||"",site:e.site||"",section:e.section||"",tagletSection:e.tagletSection||"",autoStart:e.autoStart===!1?!1:!0,ovr:{domain:e.domain,tagjs:e.domain},_v:"1.5.2",_tagCount:1,protocol:"https:",events:{bind:function(e,t,n){lpTag.defer(function(){lpTag.events.bind(e,t,n)},0)},trigger:function(e,t,n){lpTag.defer(function(){lpTag.events.trigger(e,t,n)},1)}},defer:function(e,t){0===t?(this._defB=this._defB||[],this._defB.push(e)):1===t?(this._defT=this._defT||[],this._defT.push(e)):(this._defL=this._defL||[],this._defL.push(e))},load:function(t,n,a){var r=this;t=t||e.tagJSURL||"",setTimeout(function(){r._load(t,n,a)},0)},_load:function(e,t,n){if(!a){var r=e;e||(r=this.protocol+"//"+(this.ovr&&this.ovr.domain?this.ovr.domain:"lptag.liveperson.net")+"/tag/tag.js?site="+this.site);var o=document.createElement("script");o.setAttribute("charset",t?t:"UTF-8"),n&&o.setAttribute("id",n),o.setAttribute("src",r),document.getElementsByTagName("head").item(0).appendChild(o)}},init:function(){this._timing=this._timing||{},this._timing.start=(new Date).getTime();var e=this;window.attachEvent?window.attachEvent("onload",function(){e._domReady("domReady")}):(window.addEventListener("DOMContentLoaded",function(){e._domReady("contReady")},!1),window.addEventListener("load",function(){e._domReady("domReady")},!1)),a?lpTagStatic.init(t):this.autoStart===!0&&this.load()},start:function(){this.autoStart=!0},_domReady:function(e){this.isDom||(this.isDom=!0,this.events.trigger("LPT","DOM_READY",{t:e})),this._timing[e]=(new Date).getTime()},vars:lpTag.vars||[],dbs:lpTag.dbs||[],ctn:lpTag.ctn||[],sdes:lpTag.sdes||[],ev:lpTag.ev||[]}),lpTag.init()):window.lpTag._tagCount+=1}function SessionCookieWrapper(){function e(e,t,n){r.writeSessionCookie(e.replace(s,l),t,null,"/",null,!0),utils.runCallback(n,e||null)}function t(e,t){var n=null;"string"==typeof e&&(n=r.readCookie(e.replace(s,l))),utils.runCallback(t,n||null)}function n(e,t){r.clearCookie(e.replace(s,l),"/"),utils.runCallback(t,null)}function a(){return o}var r=lpTag.cookieMethods,o=r.isCookieEnabled(),i="secureSessionCookie",s=/[\-\.\+\*]/g,l="\\@@SessionCookieWrapper";return{set:e,get:t,remove:n,isActive:a,name:i}}function IndexDBWrapper(e,t){function n(){if(E){var e;try{e=E.open(d,v)}catch(t){return void c(D,!1)}null!==e?(e.onupgradeneeded=function(e){p=e&&e.target&&e.target.result,p&&(p.objectStoreNames.contains(m)||p.createObjectStore(m))},e.onsuccess=function(t){p=t.target.result,e.onerror=function(){},clearTimeout(f),setTimeout(l,h)},e.onerror=function(e){p=null,c(D,!1)},f=setTimeout(function(){c(D,!1)},80)):c(D,!1)}else c(D,!1)}function a(e){s()||("function"==typeof e&&(D=e),n())}function r(e,t,n){o(e,function(a){var r=S.ADD;"undefined"!=typeof a&&null!==a&&(r=S.PUT),u(r,e,t,n)})}function o(e,t){u(S.GET,e,null,t)}function i(e,t){u(S.DELETE,e,null,t)}function s(){return!!p}function l(){try{u(S.ADD,y,b,function(e){e&&e.error?c(D,!1):setTimeout(function(){o(y,function(e){e===b?(c(D,!0),i(y)):c(D,!1)})},h)})}catch(e){c(D,!1)}}function c(e,t){clearTimeout(f),t||(p=null),"function"==typeof e&&e(g)}function u(e,t,n,a){var r;if(p){var o=e===S.GET?w.READONLY:w.READWRITE;r=null!==n?p.transaction(m,o).objectStore(m)[e](""+n,t):p.transaction(m,o).objectStore(m)[e](t),r.onsuccess=function(e){var t=e&&e.target&&e.target.result;"undefined"==typeof t&&(t=null),"function"==typeof a&&a(t),r=null},r.onerror=function(e){"function"==typeof a&&a({error:e.target.result||"Error making IDB request for "+t}),r=null}}else"function"==typeof a&&a({error:"IndexedDB not active"})}var g,f,p,d=t||"LPSecureStorage",m="lpSS",v=1,T="indexedDB",y="tk"+(new Date).getTime(),b="1",h=10,w={READWRITE:"readwrite",READONLY:"readonly",VERSIONCHANGE:"versionchange"},S={ADD:"add",PUT:"put",GET:"get",DELETE:"delete"},E=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,D=e;return n(),g={retry:a,set:r,get:o,remove:i,isActive:s,name:T}}function DomStorageWrapper(e){function t(e,t,n){var a={error:"Unable to perform SET on "+e};r()&&(a=i?o.setSessionData(e,t):o.setPersistentData(e,t)),utils.runCallback(n,a||null)}function n(e,t){var n={error:"Unable to perform SET on "+e};r()&&(n=i?o.getSessionData(e):o.getPersistentData(e)),utils.runCallback(t,n||null)}function a(e,t){var n={error:"Unable to perform SET on "+e};r()&&(n=i?o.removeSessionData(e):o.removePersistentData(e)),utils.runCallback(t,n||null)}function r(){return i?o.isSessionStorageEnabled():o.isLocalStorageEnabled()}var o=lpTag.storageMethods,i=e===!0||"true"===e||!1,s=e?"sessionStorage":"localStorage";return{get:n,set:t,remove:a,isActive:r,name:s}}function CrossDomainResolver(e){function t(e,t,n){s(e,t,null,function(e){e===storageConstants.EMPTY_WHITE_LIST&&(w=!1),utils.runCallback(n,{isCrsossDomain:w,isValid:e})})}function n(e,t,n){t&&e?Array.isArray(t.locations)&&t.hasOwnProperty("value")?r(e,t,n):o(e,t,n):utils.runCallback(n,null)}function a(e,t,n,a){s(e,t,n,a)}function r(e,t,n){s(e.site,e.origin,t.locations,function(e){utils.runCallback(n,e?t.value:null)})}function o(e,t,n){var a,r=Object.keys(t).length;for(var o in t)t.hasOwnProperty(o)&&(a=t[o]||{},s(e.site,e.origin,a.locations,i.bind(this,t,o,r,n)))}function i(e,t,n,a,r){n--,r?e[t]=e[t].value:delete e[t],0===n&&utils.runCallback(a,e)}function s(e,t,n,a){e&&"string"==typeof e&&t&&"string"==typeof t?w?l(e,t,a):Array.isArray(n)?g(e,n,t,a):utils.runCallback(a,!1):utils.runCallback(a,!1)}function l(e,t,n){var a=T(e,t);"boolean"==typeof a?utils.runCallback(n,a):c(e,t,n)}function c(e,t,n){p(e,function(a){var r=storageConstants.EMPTY_WHITE_LIST;a.length>0&&(r=u(t,a),v(e,t,r)),utils.runCallback(n,r)})}function u(e,t){var n,a=f(e);if(!a)for(var r=0;r<t.length&&(n=t[r],b.lastIndex=null,!(a=b.test(n)?m(e,n):lpTag.domainUtil.getParentDomain(e)===lpTag.domainUtil.getParentDomain(n)));r++);return a}function g(e,t,n,a){var r,o,i=f(n);if(!i)for(var s=0;s<t.length;s++)if(r=utils.runCallback(lpTag.domainUtil.getParentDomain,n,lpTag.domainUtil),o=utils.runCallback(lpTag.domainUtil.getParentDomain,t[s],lpTag.domainUtil),r===o){i=!0;break}v(e,n,i),utils.runCallback(a,i)}function f(e){for(var t=!1,n=0;n<h.length;n++)if(e.indexOf(h[n])>-1){t=!0;break}return t}function p(e,t){lpTag.taglets.jsonp.issueCall({url:"https://"+lpTag.csds.getDomain("acCdnDomain")+"/api/account/"+e+"/configuration/domainprotection/refererrestrictions",timeout:7e3,retries:3,success:d(t),error:d(t),context:this})}function d(e){return function(t){var n=Array.isArray(t)&&t.length?t[0]:null,a=n&&Array.isArray(n.whiteList)?n.whiteList:[];a=a.filter(function(e){return"string"==typeof e}),utils.runCallback(e,a)}}function m(e,t){var n=t.substring(2),a=e.lastIndexOf(n);return a>=0&&e.length===a+n.length}function v(e,t,n){y[e]=y[e]||{},y[e][t]=n}function T(e,t){return y[e]=y[e]||{},y[e][t]}var y=(utils.log.log,{}),b=/^\*\.([^\.]+\.)*([^\.\s])+$/gi,h=["liveperson.net","liveperson.com","lprnd.net","lpsnmedia.net"],w="boolean"==typeof e?e:"true"===e;return{initCrossDomain:t,canWriteValue:a,readValue:n}}function StorageSelector(e){function t(){n(function(e){e&&(S.indexedDB.storage=e),a(),r()})}function n(e){var t;new window[S.indexedDB.wrapperName](function(n){n?(t=n.isActive(),t?(h=0,utils.runCallback(e,n)):h>=m?utils.runCallback(e,null):(h++,utils.runCallback(n.retry,null,n))):utils.runCallback(e,null)})}function a(){0!==e.browser&&2!==e.browser&&e.localStorageEnabled===!0&&(S.localStorage.storage=new window[S.localStorage.wrapperName]),e.cookiesEnabled===!0&&(S.secureSessionCookie.storage=new window[S.secureSessionCookie.wrapperName]),e.sessionStorageEnabled===!0&&(S.sessionStorage.storage=new window[S.sessionStorage.wrapperName](!0))}function r(){S[T]?o(d):i()}function o(e){v("_selectInitialStorage"),g(e?S[T].storage:S[T].storage||c(D))}function i(){v("_selectStorageByTimestampOrPriority");var e=!1,t=s();w=t.length,t.forEach(function(t){e=!0,t.get(b,l(t))}),e||g(null)}function s(){var e=[];for(var t in S)S.hasOwnProperty(t)&&S[t].storage&&e.push(S[t].storage);return e}function l(e){return function(t){w--,S[e.name][k]=u(t),0===w&&g(c(k)||c(D))}}function c(e){var t;for(var n in S)S.hasOwnProperty(n)&&S[n].storage&&"number"==typeof S[n][e]&&S[n][e]>=0&&(t?S[n][e]>t[e]&&(t=S[n]):t=S[n]);return t&&t.storage||null}function u(e){var t=utils.parseInteger(e);return"number"==typeof t&&t>(new Date).getTime()?t:-1}function g(e){e&&"function"==typeof e.isActive&&e.isActive()?(f=e,v("Chosen Storage: "+f.name),utils.runCallback(y,f),f.set(b,(new Date).getTime()+E)):utils.runCallback(y,null)}var f,p=e.site,d=e.force||!1,m="number"==typeof e.asyncStorageMaxRetry&&e.asyncStorageMaxRetry>0&&e.asyncStorageMaxRetry<10?e.asyncStorageMaxRetry:3,v=utils.log.log,T=e.initialStorageType,y=e.callback,b="storage_expiration-"+p,h=0,w=0,S={indexedDB:{name:"indexedDB",priority:3,wrapperName:"IndexDBWrapper"},localStorage:{name:"localStorage",priority:2,wrapperName:"DomStorageWrapper"},secureSessionCookie:{name:"secureSessionCookie",priority:1,wrapperName:"SessionCookieWrapper"},sessionStorage:{name:"sessionStorage",priority:0,wrapperName:"DomStorageWrapper"}},E=864e5,D="priority",k="timestamp";t()}function SecureStorageManager(e){function t(e,t,n){o()?(e=encodeURIComponent(e),v(e,function(e){e?(e=u(e,t.appName,t.domain),P.readValue(t,e,function(e){utils.runCallback(n,e)})):(utils.runCallback(n,null),N("No value"))})):(utils.runCallback(n,null),N("No storage selected"))}function n(e,t,n){o()?(e=encodeURIComponent(e),e?v(e,function(r){a(e,r,t,n)}):utils.runCallback(n,{error:"No key specified."})):utils.runCallback(n,{error:"no storage can be used on this browser"})}function a(e,t,n,a){var o=r(t,n);P.canWriteValue(n.site,n.origin,o,function(r){r?"undefined"!=typeof e&&"undefined"!=typeof n.value?l(e,n,a,t):t&&t[n.appName]?s(e,n,a,t):utils.runCallback(a,{error:"Object not found."}):utils.runCallback(a,{error:"This domain does not have permission to modify this object."})})}function r(e,t){var n,a=t&&t.appName;return a&&"string"==typeof a&&"object"==typeof e&&null!==e&&(n=e[a]&&e[a].locations),n||(n=t&&t.locations),n}function o(){return x&&utils.runCallback(x.isActive)}function i(){o()&&window.setTimeout(function(){h(S)},200)}function s(e,t,n,a){var r=c(a,t.appName);utils.hasProperties(r)?m(e,r,function(e){utils.runCallback(n,e&&e.error?e:null)}):T(e,function(t){utils.runCallback(n,t),t&&t.error||y(e)})}function l(e,t,n,a){var r=p(t.expires),o=d(t.appName,t.value,r,t.locations,a);o?m(e,o,function(t){utils.runCallback(n,t),t&&t.error||b(e)}):utils.runCallback(n,{error:"This domain can't set this item."})}function c(e,t){return e&&"undefined"!=typeof e[t]&&(e[t]=null,delete e[t]),e}function u(e,t,n){var a,r;if(e&&t)if("*"!==t)r=e[t],a=g(r);else for(var o in e)a={},e.hasOwnProperty(o)&&(a[o]=g(e[o]));return a}function g(e){var t,n=(new Date).getTime();return"object"==typeof e&&null!==e&&e.expires>n&&(t={value:e.value,locations:e.locations}),t}function f(e){var t,n=(new Date).getTime(),a={};if("object"==typeof e&&null!==e)for(var r in e)e.hasOwnProperty(r)&&(t=e[r],t.expires>n&&(a[r]=e[r]));return utils.hasProperties(a)?a:null}function p(e){return e=e?"string"==typeof e?parseInt(e,10):e:R,e=(new Date).getTime()+e}function d(e,t,n,a,r){var o=r;return o&&"object"==typeof o||(o={}),o[e]&&o[e].locations&&(a=o[e].locations),o[e]={value:t,expires:n,locations:a,ts:(new Date).getTime()},o}function m(e,t,n){"undefined"!=typeof t&&""!==t&&null!==t?x.set(e,utils.encodeItem(t),n):x.remove(e,n)}function v(e,t){x.get(e,function(e){utils.runCallback(t,utils.decodeItem(e))})}function T(e,t){x.remove(e,t)}function y(e){(!_||_.hasOwnProperty(e))&&h(function(){_&&_.hasOwnProperty(e)&&(_[e]=null,delete _[e],w(_))})}function b(e){_?_.hasOwnProperty(e)||(_[e]=1,w(_),O("Adding key to map: "+e)):h(function(){_.hasOwnProperty(e)||(_[e]=1,w(_),O("Got Map, adding key to map: "+e))})}function h(e){v(C,function(t){_=t&&!t.error?t:{},("object"!=typeof _||null===_)&&(_={}),utils.runCallback(e,t),O("Got map: "+JSON.stringify(_))})}function w(e){m(C,e,function(t){_=t&&!t.error?e:{},O("Setting map: "+JSON.stringify(e))})}function S(e){_="object"==typeof _?_:null,e=e||_;for(var t in e)O("Got key in map: "+t),e.hasOwnProperty(t)&&E(t)}function E(e){v(e,function(t){O("Got item "+e),D(t,e)})}function D(e,t){var n=f(e);null===n?(O("removing item "+t),T(t,function(e){(!e||e&&!e.error)&&(_[t]=null,delete _[t],w(_))})):n&&!utils.isSameValue(n,e)&&(O("Modifying item "+t),m(t,n))}function k(){return o()?x:void 0}var _,C="lpStrMap",R=864e5,A={name:"NONE",isActive:function(){return!1}},O=utils.log.log,N=utils.log.error,P=e.crossDomainResolver,x=e.storage||A;return this===window?null:(i(),{setItem:n,getItem:t,getStorage:k})}function SecureStorageClient(e,t){function n(e,t){var n;g=t,n=g&&g.getStorage(),a(e||n&&n.name||v)}function a(e){e&&(c({key:m,appName:"secureStorage",value:e,url:d,src:null}),p("Notify Key: "+m+" Value: "+e))}function r(e){var t;e&&e.data&&(t=o(e.data)),"object"==typeof t&&null!==t&&t.key&&(t.origin=e.origin,t.source=e.source,t.domain=lpTag.domainUtil.getDomain(e.origin,!1),t.key!==m&&(t.site&&(t.value||t.expires)?s(t):i(t)))}function o(e){var t;try{t=decodeURIComponent(e),t=JSON.parse(t)}catch(n){}return t}function i(e){f[""+e.site]=e.site,g&&g.getItem(""+e.site+e.key,e,function(t){c({key:e.key,appName:e.appName,value:t,url:e.origin,src:e.source,id:e.id})})}function s(e){f[""+e.site]=e.site,g&&g.setItem(""+e.site+e.key,e,function(t){c({key:e.key,appName:e.appName,value:t&&t.error?t:e.value,url:e.origin,src:e.source,id:e.id})})}function l(e,t,n,a){var r,o={key:e,appName:t,value:n};return a&&(o.id=a),r=JSON.stringify(o),r=encodeURIComponent(r)}function c(e){var t=l(e.key,e.appName,e.value,e.id);u(t,e.url,e.src)}function u(e,t,n){if("undefined"!=typeof e)try{var a=n||window.parent;a.postMessage(e,t||lpTag.domainUtil.getDomain(t,!0))}catch(r){}}var g,f={},p=utils.log.log,d=t,m="SecureStorageClient/storageType",v="NONE";return f[""+e]=e,{init:n,receiveMessage:r}}!function(e){function t(e){var t;try{t=JSON.stringify(e),t=encodeURIComponent(t)}catch(n){}return t}function n(e){var t;if("undefined"!=typeof e)try{e=decodeURIComponent(e),t=e&&!a(e)?g(e):e}catch(n){}return t}function a(e){return"string"==typeof e?0===e.replace(/\s/gi,"").length:!1}function r(e,t){var n=!1;return n="object"==typeof e&&"object"==typeof t?JSON.stringify(e)===JSON.stringify(t):e===t}function o(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){t=!0;break}return t}function i(t,n,a){e.lpTag&&lpTag.log&&t&&(a=a||"SecureStorageFrame",lpTag.log(t,n,a))}function s(t,n,a){e.addEventListener?t.addEventListener(n,a,!1):t.attachEvent("on"+n,a)}function l(t,n,a){e.removeEventListener?t.removeEventListener(n,a,!1):t.detachEvent("on"+n,a)}function c(e,t,n){if("function"==typeof e)try{return e.call(n||null,t)}catch(a){}}function u(e){e=e||location.search;for(var t,n=e.substr(1).split("&"),a={},r=0;r<n.length;++r)t=n[r].split("="),t.length<2||(a[decodeURIComponent(t[0])]=decodeURIComponent(t[1].replace(/\+/g," ")));return a}function g(e){var t=e;if("string"==typeof e)try{t=JSON.parse(e)}catch(n){}return t}function f(e){var t;return e+="",t=parseInt(e,10),""+t!="NaN"?t:null}e.utils={log:{error:function(e,t){i(e,"error",t)},log:function(e,t){i(e,"log",t)}},getUrlParameters:u,JSONParse:g,runCallback:c,bindEvent:s,unBindEvent:l,hasProperties:o,decodeItem:n,encodeItem:t,isEmptyString:a,isSameValue:r,parseInteger:f}}(window),function(e){e.storageConstants={EMPTY_WHITE_LIST:"emptyWhiteList"}}(window),window.lpTag=window.lpTag||{},lpTag.domainUtil=lpTag.domainUtil||function(){function e(e){e=""+e;var t,o,i=null,s={top:null,country:null};if(e=n(e),t=e.split("."),t.length<3)return e;for(var l=t.length-1,c=l;c>-1&&(r(t[c],s,c),null===s.country||null===s.top);c--);return null!==s.top||null!==s.country?(i=s.top,(null===i||null!==s.country&&s.country<i&&i-1===s.country)&&(i=s.country),o=i>0?i-1:i,a(t.slice(o))):e}function t(e){var t=n(e),a=new RegExp(/^[a-z]{1}[a-z+|\d+|_+|\-|.]+[a-z]{1}$/gi);return a.test(t)}function n(e,t){var n=new RegExp(/((?:http|ftp|ws){1}s{0,1}?:\/\/){0,1}([^\/\?\/:]+)(\/?)/gi),a=n.exec(e),r=null;return a&&a.length>=3&&""!==a[2]&&(r=a[2].toLowerCase(),t&&(r=a[1]+r)),r}function a(e){return e.join(".")}function r(e,t,n){e=""+e,null===t.top&&(s.topLevelDomain[e]||s.customTopLevelDomain[e])?t.top=n:null===t.country&&s.countryTopLevelDomain[e]&&(t.country=n)}var o="1.1",i="domainUtil",s={customTopLevelDomain:{aero:"aero",asia:"asia",bike:"bike",biz:"biz",camera:"camera",cat:"cat",clothing:"clothing",coop:"coop",equipment:"equipment",estate:"estate",eus:"eus",gallery:"gallery",graphics:"graphics",guru:"guru",info:"info","int":"int",holdings:"holdings",jobs:"jobs",lighting:"lighting",mobi:"mobi",museum:"museum",name:"name",photography:"photography",plumbing:"plumbing",post:"post",pro:"pro",singles:"singles",tel:"tel",travel:"travel",ventures:"ventures",xxx:"xxx"},topLevelDomain:{ac:"ac",co:"co",com:"com",edu:"edu",gov:"gov",mil:"mil",net:"net",org:"org"},countryTopLevelDomain:{ac:"ac",ad:"ad",ae:"ae",af:"af",ag:"ag",ai:"ai",al:"al",am:"am",an:"an",ao:"ao",aq:"aq",ar:"ar",as:"as",at:"at",au:"au",aw:"aw",ax:"ax",az:"az",ba:"ba",bb:"bb",bd:"bd",be:"be",bf:"bf",bg:"bg",bh:"bh",bi:"bi",bj:"bj",bm:"bm",bn:"bn",bo:"bo",bq:"bq",br:"br",bs:"bs",bt:"bt",bv:"bv",bw:"bw",by:"by",bz:"bz",bzh:"bzh",ca:"ca",cc:"cc",cd:"cd",cf:"cf",cg:"cg",ch:"ch",ci:"ci",ck:"ck",cl:"cl",cm:"cm",cn:"cn",co:"co",cr:"cr",cs:"cs",cu:"cu",cv:"cv",cw:"cw",cx:"cx",cy:"cy",cz:"cz",dd:"dd",de:"de",dj:"dj",dk:"dk",dm:"dm","do":"do",dz:"dz",ec:"ec",ee:"ee",eg:"eg",eh:"eh",er:"er",es:"es",et:"et",eu:"eu",fi:"fi",fj:"fj",fk:"fk",fm:"fm",fo:"fo",fr:"fr",ga:"ga",gb:"gb",gd:"gd",ge:"ge",gf:"gf",gg:"gg",gh:"gh",gi:"gi",gl:"gl",gm:"gm",gn:"gn",gp:"gp",gq:"gq",gr:"gr",gs:"gs",gt:"gt",gu:"gu",gw:"gw",gy:"gy",hk:"hk",hm:"hm",hn:"hn",hr:"hr",ht:"ht",hu:"hu",id:"id",ie:"ie",il:"il",im:"im","in":"in",io:"io",iq:"iq",ir:"ir",is:"is",it:"it",je:"je",jm:"jm",jo:"jo",jp:"jp",ke:"ke",kg:"kg",kh:"kh",ki:"ki",km:"km",kn:"kn",kp:"kp",kr:"kr","krd:":"krd",kw:"kw",ky:"ky",kz:"kz",la:"la",lb:"lb",lc:"lc",li:"li",lk:"lk",lr:"lr",ls:"ls",lt:"lt",lu:"lu",lv:"lv",ly:"ly",ma:"ma",mc:"mc",md:"md",me:"me",mg:"mg",mh:"mh",mk:"mk",ml:"ml",mm:"mm",mn:"mn",mo:"mo",mp:"mp",mq:"mq",mr:"mr",ms:"ms",mt:"mt",mu:"mu",mv:"mv",mw:"mw",mx:"mx",my:"my",mz:"mz",na:"na",nc:"nc",ne:"ne",nf:"nf",ng:"ng",ni:"ni",nl:"nl",no:"no",np:"np",nr:"nr",nu:"nu",nz:"nz",om:"om",pa:"pa",pe:"pe",pf:"pf",pg:"pg",ph:"ph",pk:"pk",pl:"pl",pm:"pm",pn:"pn",pr:"pr",ps:"ps",pt:"pt",pw:"pw",py:"py",qa:"qa",re:"re",ro:"ro",rs:"rs",ru:"ru",rw:"rw",sa:"sa",sb:"sb",sc:"sc",sd:"sd",se:"se",sg:"sg",sh:"sh",si:"si",sj:"sj",sk:"sk",sl:"sl",sm:"sm",sn:"sn",so:"so",sr:"sr",ss:"ss",st:"st",su:"su",sv:"sv",sx:"sx",sy:"sy",sz:"sz",tc:"tc",td:"td",tf:"tf",tg:"tg",th:"th",tj:"tj",tk:"tk",tl:"tl",tm:"tm",tn:"tn",to:"to",tp:"tp",tr:"tr",tt:"tt",tv:"tv",tw:"tw",tz:"tz",ua:"ua",ug:"ug",uk:"uk",us:"us",uy:"uy",uz:"uz",va:"va",vc:"vc",ve:"ve",vg:"vg",vi:"vi",vn:"vn",vu:"vu",wf:"wf",ws:"ws",ye:"ye",yt:"yt",yu:"yu",za:"za",zm:"zm",zr:"zr"}};return{v:o,name:i,getParentDomain:e,getDomain:n,isValidDomain:t}}(),function(window){function init(e){loadStaticLPTag();try{"function"==typeof e&&e()}catch(t){}}function loadStaticLPTag(){window.lpTag=window.lpTag||{},lpTag.taglets=lpTag.taglets||{},lpTag._tagv="2.24.0",function(window,lpTag){function log(e,t,n){if(lpTag._logcnt=lpTag._logcnt||0,_lpMTagDebug(e,t,n,lpTag._logcnt),"undefined"!=typeof window.lpTaglogListeners&&window.lpTaglogListeners.constructor===Array)for(var a=0;a<lpTaglogListeners.length;a++)try{lpTaglogListeners[a](e,t,n,lpTag._logcnt)}catch(r){_lpMTagDebug("Exception="+r.message+" msg="+e,t,n,lpTag._logcnt)}lpTag._logcnt++}function setDomains(e){if(e)for(var t=0;t<e.length;t++)srvMap[e[t].service]=e[t].baseURI}function getDomain(e){var t=srvMap[e],n="ALL";return t?t:srvMap[n]}function getCSDSMap(){return srvMap}function getFeature(e){return _getItem(features,e)}function getSetting(e){return _getItem(settings,e)}function _setItems(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function _getItem(e,t){var n;return n="undefined"!=typeof t?"undefined"!=typeof e[t]?e[t]:null:_shallowClone(e)}function eventsFactory(){var e=new lpTag.Events,t=e.trigger,n=!1;return e.trigger=function(e,a,r){var o=e;if("string"==typeof e&&(o={eventName:a,appName:e,data:r}),"LPT"===o.appName&&"DOM_READY"===o.eventName){if(n)return;n=!0}return"undefined"==typeof lpTag._deferExecuted?void lpTag.defer(function(){t(o)},1):void t(o)},e}function runTaglets(e){newPageOptions.taglets=newPageOptions.taglets||{},e&&(_createTaglets(e),_stopTaglets(e,newPageOptions.taglets),_initTaglets(e,newPageOptions.taglets)),_mergeSdes(newPageOptions),_execDefers(),eventsInstance.trigger("LPTAG","ON_READY"),e&&_startTaglets(e,newPageOptions.taglets),eventsInstance.trigger("LPTAG","ON_STARTED")}function runTaglet(e){e&&(_createTaglets(e),_initTaglets(e,{},!0),_startTaglets(e,{},!0))}function family(){return deviceFamily}function os(){return deviceOS}function osName(){return osTypeString[deviceOS]}function familyName(){return familyTypeString[deviceFamily]}function browser(){return identifiedBrowser}function browserName(){return browserTypesString[identifiedBrowser]}function start(){lpTag.started||(lpTag.started=!0,_reload())}function newPage(e,t){return e?(lpTag.url=e,t=t||{},t.taglets=t.taglets||{},lpTag.section=t.section||lpTag.section,lpTag.tagletSection=t.tagletSection||lpTag.tagletSection,newPageOptions=t,_onBeforeNavigation(t.taglets),newPageInProcess=!0,_reload(),!0):!1}function loadTaglet(e){var t;e=e||{},lpTag.taglets&&lpTag.taglets.jsonp&&e.name&&(e.excludeWhitelist=!0,t={url:_buildJsonpUrl(e),success:_createTagletloadedCallback(e),error:_createTagletloadedErrorCallback(e)},lpTag.taglets.jsonp.issueCall(t))}function run(){if(window.location&&window.location.search){var e=window.location.search.match(/lpDebug=(?=(\d))/);e&&e[1]&&(lpTag.debug=e[1])}lpTag.isDom||"interactive"!==document.readyState&&"complete"!==document.readyState||(lpTag.isDom=!0,eventsInstance.trigger("LPT","DOM_READY")),"undefined"!=typeof window._lptTagStop||"undefined"!=typeof lpTag.autoStart&&!lpTag.autoStart||start()}function callback(e){try{if(e){var t=cfg.retry;e.retry?_handleRetry(t,e.retry,!0,_reload):(!lpTag.loaded||newPageInProcess)&&(newPageInProcess=!1,lpTag.loaded=!0,t.count=0,lpTag.site=e.site||lpTag.site,setDomains(e.serviceMap),_setItems(features,e.features),_setItems(settings,e.settings),lpTag.debug?setTimeout(function(){runTaglets(e.taglets)},0):runTaglets(e.taglets)),e.error&&log("callback error ,Error:"+JSON.stringify(e.error),"ERROR","LPTAG")}else log("callback error, no response","ERROR","LPTAG")}catch(n){log("callback has failed "+n.message,"ERROR","LPTAG")}}function _buildJsonpUrl(e){e=e||{};var t="?df="+lpTag.device.family(),n=e.lpDebug||lpTag.debug,a=e.whitelist||lpTag.wl,r=_getKeys(tagletsState),o=_getSection(),i=lpTag.protocol+"//"+(lpTag.ovr&&lpTag.ovr.domain?lpTag.ovr.domain:"lptag.liveperson.net")+"/lptag/api/account/"+lpTag.site+"/configuration/applications/taglets/.jsonp";return!e.excludeWhitelist&&a&&(a=a.constructor===Array?a:[a],t+="&wl="+encodeURIComponent(a.join(","))),e.name&&(e.name=e.name.constructor===Array?e.name:[e.name],t+="&byName="+encodeURIComponent(e.name.join(","))),(1==n||2==n)&&(t+="&lpDebug="+n),r.length&&(t+="&ct="+encodeURIComponent(r.join(","))),o&&(t+="&s="+encodeURIComponent(o)),browserType&&(t+="&b="+identifiedBrowser),i+t}function _getSection(){var e;return lpTag.tagletSection?e=lpTag.tagletSection:"object"!=typeof lpTag.section&&lpTag.section?e=lpTag.section:lpTag.section&&lpTag.section.constructor===Array&&1===lpTag.section.length&&"object"!=typeof lpTag.section[0]&&lpTag.section[0]&&(e=lpTag.section[0]),e}function _matchUserAgent(e){return userAgent.match(e)?!0:!1}function _lpMTagDebug(e,t,n,a){"undefined"!=typeof window.lpMTagDebug&&"function"==typeof lpMTagDebug.Display&&window.lpMTagDebug.Display(e,t,n,a)}function _createTagletloadedCallback(e){return function(t){if(t){var n=cfg.retry;t.retry?_handleRetry(n,t.retry,!1,function(){loadTaglet(e)}):t.taglets&&(n.count=0,t.taglets.constructor!==Array&&(t.taglets=[t.taglets]),lpTag.debug?setTimeout(function(){runTaglet(t.taglets),_runCallback(e.success,e.context)},0):(runTaglet(t.taglets),_runCallback(e.success,e.context))),t.error&&log("callback error ,Error:"+JSON.stringify(t.error),"ERROR","LPTAG")}else log("callback error, no data "+(t&&t.error?" ,Error:"+JSON.stringify(t.error):""),"ERROR","LPTAG")}}function _createTagletloadedErrorCallback(e){return function(t){_runCallback(e.error,e.context,t)}}function _runCallback(e,t){if(t=t||window,"function"==typeof e){var n=Array.prototype.slice.call(arguments,2);try{return e.apply(t,n)}catch(a){log("Failed to execute callback exc= "+a.message,"ERROR","LPTAG")}}}function _createTaglets(taglets){for(var i=0;i<taglets.length;i++)try{log("Processing taglet: "+taglets[i].name,"DEBUG","LPTAG"),eval(taglets[i].code)}catch(ex){log("Error creating taglet:"+taglets[i].name+" ex="+ex.message,"ERROR","LPTAG")}}function _onBeforeNavigation(e){for(var t in tagletsState)if(tagletsState.hasOwnProperty(t)&&tagletsState[t]!==states.STOPPED){var n=lpTag.taglets[t];try{"function"==typeof n.onBeforeNavigation&&(log("onBeforeNavigation taglet: "+t,"DEBUG","LPTAG"),n.onBeforeNavigation(e[t]))}catch(a){log("Error onBeforeNavigation taglet :"+t+"ex= "+a.message,"ERROR","LPTAG")}}}function _stopTaglets(e,t){for(var n in tagletsState)if(tagletsState.hasOwnProperty(n)&&tagletsState[n]!==states.STOPPED&&_shouldStopTaglet(e,n)){var a=lpTag.taglets[n];try{"function"==typeof a.stop&&(log("Stop taglet: "+n,"DEBUG","LPTAG"),a.stop(t[n])),tagletsState[n]=states.STOPPED,eventsInstance.trigger("LPTAG","TAGLET_STOPPED",{name:n})}catch(r){log("Error stop taglet :"+n+"ex= "+r.message,"ERROR","LPTAG")}}}function _shouldStopTaglet(e,t){for(var n=!0,a=0;a<e.length;a++)if(e[a].name===t){n=!1;break}return n}function _mergeSdes(e){e.sdes&&e.sdes.length&&lpTag.sdes.push(e.sdes)}function _initTaglets(e,t,n){for(var a=0;a<e.length;a++){var r=lpTag.taglets[e[a].name];if(tagletsState[e[a].name]){if(!n)try{"function"==typeof r.reinit&&(log("Reinit taglet: "+e[a].name,"DEBUG","LPTAG"),r.reinit(e[a].parameters,t[e[a].name]),eventsInstance.trigger("LPTAG","TAGLET_REINITIALIZED",{name:e[a].name}))}catch(o){log("Error reinit taglet :"+e[a].name+"ex= "+o.message,"ERROR","LPTAG")}}else try{log("Init taglet: "+e[a].name,"DEBUG","LPTAG"),r.init(e[a].parameters),eventsInstance.trigger("LPTAG","TAGLET_INITIALIZED",{name:e[a].name})}catch(o){log("Error init taglet:"+e[a].name+" ex="+o.message,"ERROR","LPTAG")}}}function _execDefers(){lpTag._deferExecuted=!0,lpTag.defer=function(e){try{e()}catch(t){log("Error executing defer fn:"+t.message,"ERROR","LPTAG")}},_execDeferArr(lpTag._defB),_execDeferArr(lpTag._defT),_execDeferArr(lpTag._defL)}function _execDeferArr(e){if("undefined"!=typeof e){for(var t=0;t<e.length;t++)try{e[t]()}catch(n){log("Error executing defer fn:"+n.message,"ERROR","LPTAG")}e.length=0}}function _startTaglets(e,t,n){for(var a=0;a<e.length;a++){var r=lpTag.taglets[e[a].name];if(tagletsState[e[a].name]){if(!n)try{"function"==typeof r.restart&&(log("Restart taglet: "+e[a].name,"DEBUG","LPTAG"),r.restart(t[e[a].name])),eventsInstance.trigger("LPTAG","TAGLET_RESTARTED",{name:e[a].name})}catch(o){log("Error restart taglet :"+e[a].name+"ex= "+o.message,"ERROR","LPTAG")}}else try{"function"==typeof r.start&&(log("Start taglet: "+e[a].name,"DEBUG","LPTAG"),r.start()),eventsInstance.trigger("LPTAG","TAGLET_STARTED",{name:e[a].name})}catch(o){log("Error start taglet :"+e[a].name+"ex= "+o.message,"ERROR","LPTAG")}tagletsState[e[a].name]=states.STARTED}}function _getDeviceFamily(){var e=familyType.desktop;return mobileAgent&&!tabletAgent?e=familyType.mobile:!tabletAgent&&!android||_isIE()?tabletAgent&&_isIE()&&touchAgent&&(e=familyType.tablet):e=familyType.tablet,e}function _getDeviceOS(){var e=osType.windows;return macOSX&&!mobileAgent?e=osType.mac:android?e=osType.android:iOS?e=osType.iOS:linux&&(e=osType.linux),e}function _getBrowserFamily(){var e=browserType.unknown;return ancientBrowser?e=browserType.oldie:_matchUserAgent(/MSIE|Trident|IEMobile/)?e=browserType.ie:_matchUserAgent(/Line/)?e=browserType.line:_matchUserAgent(/CriOS/)?e=browserType.chromeios:_matchUserAgent(/Opera|OPR/)?e=browserType.opera:_matchUserAgent(/Chrome/)?e=browserType.chrome:_matchUserAgent(/ BlackBerry /)?e=browserType.blackberry:_matchUserAgent(/Firefox/)?e=browserType.firefox:_matchUserAgent(/Safari/)&&(macOSX||iOS||deviceOS===osType.windows)?e=browserType.safari:android&&(e=browserType.android),e}function _isIE(){var e,t=!1,n=document.documentMode;return e=t,e||(_setDocumentMode(""),e="number"==typeof document.documentMode,_setDocumentMode(n)),!e&&navigator&&navigator.userAgent&&(e="Netscape"===navigator.appName&&/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/.test(navigator.userAgent)),e}function _setDocumentMode(e){try{document.documentMode=e}catch(t){}}function _shallowClone(e){var t={};for(var n in e)t[n]=e[n];return t}function _getKeys(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function _reload(){lpTag.load(_buildJsonpUrl(),"UTF-8",cfg.scriptPrefix+cfg.count),cfg.count++}function _handleRetry(e,t,n,a){if(n){var r=cfg.count-1;_removeScript(cfg.scriptPrefix+r)}isNaN(t.maxRetries)||(e.max=parseInt(t.maxRetries,10)),isNaN(t.timeout)||(e.timeout=parseInt(t.timeout,10)),e.count<e.max?(log("retrying count="+e.count+" max="+e.max,"DEBUG","LPTAG"),e.count++,setTimeout(function(){a()},e.timeout)):log("exceeded max retries: "+e.max+", stopping","ERROR","LPTAG")}function _removeScript(e){var t=document.getElementById(e);if(t)try{t.parentNode.removeChild(t);for(var n in t)t.hasOwnProperty(n)&&delete t[n]}catch(a){log("error removing script: "+e,"ERROR","LPTAG")}}var cfg={retry:{count:0,max:3,timeout:1e3},scriptPrefix:"_lpTagScriptId_",count:0},srvMap=[],features={},settings={},tagletsState={},newPageOptions={},newPageInProcess=!1,states={STARTED:1,STOPPED:2},eventsInstance,familyType={desktop:0,tablet:1,mobile:2},familyTypeString=["Desktop","Tablet","Mobile"],osType={windows:0,mac:1,linux:2,iOS:3,android:4},osTypeString=["Windows","Mac OSX","Linux","iOS","Android"],browserType={ie:0,chrome:1,safari:2,firefox:3,line:4,chromeios:5,oldie:6,blackberry:7,opera:8,android:9,unknown:10},browserTypesString=["MSIE","Chrome","Safari","Firefox","Line","ChromeIOS","IE<9","BlackBerry","Opera","Android","Unknown"],ancientBrowser=!window.addEventListener,userAgent=navigator.userAgent,mobileAgent=_matchUserAgent(/(Windows Phone|iPhone|iPod|mobile|Mobile|IEMobile)/g),tabletAgent=_matchUserAgent(/(Tablet PC|iPad|Tablet|tablet)/g),touchAgent=_matchUserAgent(/(Touch)/g),macOSX=_matchUserAgent(/(Mac OS)/g),linux=_matchUserAgent(/(Linux)/g),iOS=_matchUserAgent(/(iPhone|iPod|iPad)/g),android=_matchUserAgent(/(android|Android)/g),deviceFamily=_getDeviceFamily(),deviceOS=_getDeviceOS(),identifiedBrowser=_getBrowserFamily();!function(e,t){"use strict";"object"==typeof exports?t(e,exports):(e.Chronos=e.Chronos||{},t(e,e.Chronos))}("undefined"==typeof window.lpTag?this:window.lpTag,function(e,t){"use strict";function n(e,t,n){var a=[];if(e[t]&&e[t].length)for(var r=0;r<e[t].length;r++)n&&"*"!==e[t][r].appName&&e[t][r].appName!==n||a.push(e[t][r]);if(e["*"])for(var o=0;o<e["*"].length;o++)n&&"*"!==e["*"][o].appName&&e["*"][o].appName!==n||a.push(e["*"][o]);return a}function a(t,n,a){e&&"function"==typeof e.log&&e.log(t,n,a)}function r(e){var t,n=e.unbindObj[e.attrName],r=!1;if(!e.unbindObj)return a("CMD listen id not spec for unbind","ERROR",e.loggerName),null;if("string"==typeof e.unbindObj)return l(e.lstnrs,e.unbindObj);if(!e.unbindObj.func&&!e.unbindObj.context&&!e.unbindObj.appName)return!1;
var o=e.lstnrs;n&&(o={},o[n]=e.lstnrs[n]);for(var i in o)o.hasOwnProperty(i)&&o[i]&&o[i].length&&(t=c(o[i],e.unbindObj.func,e.unbindObj.context,e.unbindObj.appName),t.length!==o[i].length&&(e.lstnrs[i]=t,r=!0));return r}function o(e){var t={};if(e.constructor===Object)for(var n in e)e.hasOwnProperty(n)&&null!==e[n]&&void 0!==e[n]&&("object"==typeof e[n]&&e[n].constructor!==Array?t[n]=o(e[n]):e[n].constructor===Array?t[n]=e[n].slice(0)||[]:"function"!=typeof e[n]&&(t[n]=null!==e[n]&&void 0!==e[n]?e[n]:""));else e.constructor===Array?t=e.slice(0)||[]:"function"!=typeof e&&(t=e);return t}function i(e,t,n){if(("undefined"==typeof n||"*"===n)&&"*"===t)return e;for(var a=[],r=0;r<e.length;r++)(e[r].eventName===n||"*"===n)&&(t&&t===e[r].appName||!e[r].appName||"*"===e[r].appName||"*"===t)&&a.push(e[r]);return a}function s(e){if(0===e.eventBufferLimit||e.triggerData.data&&e.triggerData.data.doNotStore)return void(e=null);var t={eventName:e.triggerData[e.attrName],appName:e.triggerData.appName};t.data=e.triggerData.passDataByRef?e.triggerData.data:o(e.triggerData.data),e.eventBufferLimit>0?(e.index>=e.eventBufferLimit&&(e.index=0),e.fired[e.index]=t,e.index++):e.fired.push(t),e=null}function l(e,t){var n=!1;if(!t)return a("Ev listen id not spec for unregister","ERROR","Events"),null;for(var r in e)if(e.hasOwnProperty(r))for(var o=0;o<e[r].length;o++)if(e[r][o].id==t){e[r].splice(o,1),a("Ev listen="+t+" and name="+r+" unregister","DEBUG","Events"),n=!0;break}return n||a("Ev listen not found "+t+" unregister","DEBUG","Events"),n}function c(e,t,n,r){var o=[];if(e&&e.length)for(var i=0;i<e.length;i++)try{var s=!n&&e[i].func===t,l=!t&&n&&e[i].context===n,c=t&&n&&e[i].func===t&&e[i].context===n,u=r&&r===e[i].appName,g="*"===e[i].appName;if(s||l||c){if(u||g)continue;if(l)continue}else if(!t&&!n&&u)continue;o.push(e[i])}catch(f){a("Error in unbind e="+f.message,"ERROR","Events")}return o}t.EventsUtil=t.EventsUtil||{getListeners:n,log:a,unbind:r,hasFired:i,cloneEventData:o,storeEventData:s}}),function(e,t){"use strict";"object"==typeof exports?t(e,exports,require("util/EventsUtil")):(e.Chronos=e.Chronos||{},t(e,e.Chronos,e.Chronos.EventsUtil))}("undefined"==typeof window.lpTag?this:window.lpTag,function(e,t,n){"use strict";function a(e){function t(e){return e?(e.triggerOnce=!0,a(e)):null}function a(e,t,r){var o=e;if("string"==typeof e&&(o={appName:e,eventName:t,func:r}),!o.eventName||!o.func||"function"!=typeof o.func&&o.func.constructor!==Array)return n.log("Ev listen has invalid params: evName=["+o.eventName+"]","ERROR","Events"),null;if(o.func.constructor===Array){for(var i,s,l=[],c=0;c<o.func.length;c++)i=n.cloneEventData(o),i.func=o.func[c],s=a(i),l.push(s);return l}var u=v+p++,g={id:u,func:o.func,context:o.context||null,aSync:o.aSync?!0:!1,appName:o.appName||"*",triggerOnce:o.triggerOnce||!1};return d[o.eventName]=d[o.eventName]||[],d[o.eventName].push(g),n.log("Ev listen rgstr: evName=["+o.eventName+"] aSync="+g.aSync+" appName="+g.name,"DEBUG","Events"),o=null,e=null,u}function r(e){return n.unbind({unbindObj:e,attrName:f,loggerName:g,lstnrs:d})}function o(e,t){return n.hasFired(m,e,t)}function i(e,t,a){var r=e;if("string"==typeof e&&(r={eventName:t,appName:e,data:a}),!r||"undefined"==typeof r.eventName)return n.log("Ev name not spec for publish","ERROR","Events"),r=null,null;r.passDataByRef=r.passDataByRef||!c,l(r);var o=n.getListeners(d,r.eventName,r.appName);if(o.length>0)for(var i=0;i<o.length;i++){var u=r.passDataByRef?r.data:n.cloneEventData(r.data),g={appName:r.appName,eventName:r.eventName},f=o[i];f.aSync||u&&u.aSync?setTimeout(s(f,u,g),0):s(f,u,g)()}return r=null,o.length>0}function s(e,t,a){return function(){try{e.func.call(e.context,t,a),t=null,e.triggerOnce&&r(e),e=null}catch(o){n.log("Error executing "+a.eventName+" eventId: "+e.id+"e="+o.message,"ERROR","Events")}}}function l(e){n.storeEventData({triggerData:e,eventBufferLimit:u,attrName:f,fired:m,index:T})}var c,u,g="Events",f="eventName",p=0,d={},m=[],v="evId_",T=0;c=e&&"boolean"==typeof e.cloneEventData?e.cloneEventData:!1,u=e&&!isNaN(e.eventBufferLimit)?e.eventBufferLimit:-1,this.once=t,this.hasFired=o,this.trigger=i,this.publish=i,this.bind=a,this.register=a,this.unbind=r,this.unregister=r}t.Events=t.Events||a}),lpTag.Events=lpTag.Events||lpTag.Chronos.Events,window.lpTag=window.lpTag||{},lpTag.storageMethods=lpTag.storageMethods||function(){"use strict";function e(){return g&&f}function t(){return g}function n(){return f}function a(e,n){return t()?(sessionStorage.setItem(e,n),!0):void 0}function r(e){return t()?sessionStorage.getItem(e)||"":void 0}function o(e){return t()&&r(e)?(sessionStorage.removeItem(e),!0):!1}function i(e,t){return n()?(localStorage.setItem(e,t),!0):void 0}function s(e){return n()?localStorage.getItem(e)||"":void 0}function l(e){return n()&&s(e)?(localStorage.removeItem(e),!0):!1}function c(){try{g=u(sessionStorage),f=u(localStorage)}catch(e){}}function u(e){var t=!1,n="lpTestCase",a="abc";try{"undefined"!=typeof Storage&&(e.setItem(n,a),t=e.getItem(n)===a,e.removeItem(n))}catch(r){}return t}var g=!1,f=!1;return c(),{isStorageEnabled:e,isSessionStorageEnabled:t,isLocalStorageEnabled:n,setSessionData:a,getSessionData:r,removeSessionData:o,setPersistentData:i,getPersistentData:s,removePersistentData:l}}(),window.lpTag=window.lpTag||{},lpTag.cookieMethods=lpTag.cookieMethods||function(){"use strict";function e(){var e="lpTestCookie"+(new Date).getTime(),t="testValue";return o({name:e,value:t}),s=t===n(e),i(e),l=!1,s}function t(){return s}function n(e){var t,n,a="; ",r="";if(l||s){if("string"!=typeof e)return"";e=encodeURIComponent(e);try{n=a+document.cookie}catch(o){}t=n.split(a+e+"="),r=1==t.length?"":decodeURIComponent(t[1].split(";")[0])}return r}function a(e,t,n){return n="number"==typeof n?n:2592e3,"object"==typeof e&&(e.seconds=n),r(e,t,n)}function r(e,t,n,a,r,i){return o("object"==typeof e?e:{name:e,value:t,seconds:n,path:a,domain:r,secure:i})}function o(e){var t,n,a=!1;if(l||s){if("string"!=typeof e.name||""===e.name)return!1;(null===e.value||"undefined"==typeof e.value)&&(e.seconds=-1),"number"==typeof e.seconds&&(n=(new Date).getTime(),t=new Date(n+1e3*e.seconds)),e.value=e.value?encodeURIComponent(e.value):"";try{document.cookie=[encodeURIComponent(e.name),"=",e.value,t?"; expires="+t.toUTCString():"",e.path?"; path="+e.path:"",e.domain?"; domain="+e.domain:"",e.secure?"; secure":""].join(""),a=!0}catch(r){}}return a}function i(e,t,n){return o({name:e,path:t,domain:n})}var s=!1,l=!0;return e(),{clearCookie:i,writeSessionCookie:r,writePersistentCookie:a,readCookie:n,isCookieEnabled:t}}(),lpTag.cfg=cfg,lpTag.log=log,lpTag.csds={getDomain:getDomain,setDomains:setDomains,getCSDSMap:getCSDSMap},lpTag.features={getFeature:getFeature},lpTag.siteSettings={getSetting:getSetting},lpTag.getDomain=getDomain,lpTag.eventsFactory=eventsFactory,lpTag.tglMng={run:runTaglets,runtTaglet:runTaglet},lpTag.device={os:os,osEnum:_shallowClone(osType),osName:osName,family:family,familyEnum:_shallowClone(familyType),familyName:familyName,browser:browser,browserName:browserName,browserEnum:_shallowClone(browserType)},lpTag.start=start,lpTag._reload=_reload,lpTag.newPage=newPage,lpTag.loadTaglet=loadTaglet,lpTag.callback=callback,lpTag.run=run,eventsInstance=eventsFactory(),lpTag.events=eventsInstance,run()}(window,lpTag)}window.lpTagStatic={init:init}}(window),StorageInitiator=function(e){function t(){d=!1,injectLpTag({site:m.site,domain:l(m.env),whiteList:["lpTransporter"]},n),lpTag.events.bind("LPTAG","ON_STARTED",n)}function n(e){d||(d=!0,lpTag.events.unbind("LPTAG","ON_STARTED",n),c=e||s(),new StorageSelector({site:c.site,browser:lpTag.device.browser(),isCrossDomain:c.isCrossDomain,force:c.force,initialStorageType:c.ist,asyncStorageMaxRetry:c.asmr,cookiesEnabled:c.cookiesEnabled,localStorageEnabled:c.localStorageEnabled,sessionStorageEnabled:c.sessionStorageEnabled,callback:function(e){a(e)}}))}function a(e){u=new SecureStorageClient(c.site,c.loc),e?r(e):i(T.STORAGE)}function r(e){g=new CrossDomainResolver(c.isCrossDomain),c.isCrossDomain?g.initCrossDomain(c.site,c.loc,function(t){t.isCrsossDomain&&t.isValid===!0||t.isCrsossDomain===!1&&t.isValid===storageConstants.EMPTY_WHITE_LIST?o(e):i(T.CROSS_DOMAIN)}):o(e)}function o(e){utils.log.log("Initiated successfully with "+e.name);var t=new SecureStorageManager({storage:e,crossDomainResolver:g});u.init(null,t),f.forEach(function(e){u.receiveMessage(e)}),p=!0}function i(e){utils.log.log("Error on secure storage initiation"),u.init({error:e},null)}function s(){var e=m;return e.cookiesEnabled=lpTag.cookieMethods.isCookieEnabled(),e.localStorageEnabled=lpTag.storageMethods.isLocalStorageEnabled(),e.sessionStorageEnabled=lpTag.storageMethods.isSessionStorageEnabled(),e.debug=v,e.isCrossDomain=lpTag.features&&"function"==typeof lpTag.features.getFeature?lpTag.features.getFeature("Common.LiveEngage_2_CrossDomainStorage"):!1,e}function l(e){var t={dev:"tlv_plankton3.dev.lprnd.net",qa:"tlv_plankton3.dev.lprnd.net",alpha:"lptag-a.liveperson.net",prod:"lptag.liveperson.net"};return t[e]}var c,u,g,f=[],p=!1,d=!1,m=utils.getUrlParameters(location.search),v=e.location.href.indexOf("storage.html")>-1,T={STORAGE:"storage_error",CROSS_DOMAIN:"cross_domain_error"};return t(),utils.bindEvent(e,"message",function(e){p?u.receiveMessage(e):f.push(e)}),{init:t,errorTypes:T}}(window);</script><script src="tag.js" charset="UTF-8"></script><script src="storage_data/a" id="_lpTagScriptId_0" charset="UTF-8"></script></head><body></body></html>