function getWebSettingsParam(n){if(typeof WebSettings!="undefined"){var t=WebSettings.getApplication()[n];return t.toLowerCase()}return""}function getLogglyTags(){var n=getWebSettingsParam("environment"),t=getWebSettingsParam("applicationName");return["environment-"+n,"application-"+t,"application-"+t+"-"+n,"source-client"]}(function(n,t){function p(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var t=Math.random()*16|0,i=n=="x"?t:t&3|8;return i.toString(16)})}function f(){this.key=!1,this.sendConsoleErrors=!1,this.tag="jslogger",this.useDomainProxy=!1}function w(n,t){n.key=t,n.setSession(),h(n)}function b(n,t){n.tag=t}function k(n,t){n.useDomainProxy=t,h(n)}function d(t,i){function u(n,t){return typeof $!="undefined"&&$&&typeof $.extend=="function"?$.extend(n,t):f(n,t)}function f(n,t){var i,r;try{for(i in t)r=t[i],r&&Object.prototype.toString.call(r)==="[object Object]"?(n[i]=n[i]||{},f(n[i],r)):n[i]=r}catch(u){}return n}if(t.sendConsoleErrors=i,t.sendConsoleErrors===!0){var r=n.onerror;n.onerror=function(i,f,e,o){var l="BrowserJsException",h={category:l,exception:{message:i,url:f,lineno:e,colno:o}},c;try{typeof Logger!="undefined"&&Logger&&typeof u=="function"&&Logger.formatLog&&(c=Logger.formatLog(Logger.LogLevel.ERROR,i),c.category=l,h=u(h,c))}catch(a){}s<y&&(t.push(h),s++),r&&typeof r=="function"&&r.apply(n,arguments)}}}function h(t){t.inputUrl=t.useDomainProxy==!0?o+n.location.host+"/"+v+"/inputs/"+t.key+"/tag/"+t.tag:o+(t.logglyCollectorDomain||l)+"/inputs/"+t.key+"/tag/"+t.tag}var o="http"+("https:"===t.location.protocol?"s":"")+"://",l="logs-01.loggly.com",u="logglytrackingsession",a=u.length+1,v="loggly",s=0,y=200,i,e,r,c;if(f.prototype={setSession:function(n){n?(this.session_id=n,this.setCookie(this.session_id)):this.session_id||(this.session_id=this.readCookie(),this.session_id||(this.session_id=p(),this.setCookie(this.session_id)))},push:function(n){var i=typeof n,t;if(n&&(i==="object"||i==="string")){if(t=this,i==="string")n={text:n};else{if(n.logglyCollectorDomain){t.logglyCollectorDomain=n.logglyCollectorDomain;return}if(n.sendConsoleErrors!==undefined&&d(t,n.sendConsoleErrors),n.tag&&b(t,n.tag),n.useDomainProxy&&k(t,n.useDomainProxy),n.logglyKey){w(t,n.logglyKey);return}if(n.session_id){t.setSession(n.session_id);return}}t.key&&t.track(n)}},track:function(t){t.sessionId=this.session_id;try{var i=new XMLHttpRequest;i.open("POST",this.inputUrl,!0),i.setRequestHeader("Content-Type","text/plain"),i.send(JSON.stringify(t))}catch(r){n&&n.console&&typeof n.console.log=="function"&&(console.log("Failed to log to loggly because of this exception:\n"+r),console.log("Failed log data:",t))}},readCookie:function(){var i=t.cookie,r=i.indexOf(u),n;return r<0?!1:(n=i.indexOf(";",r+1),n=n<0?i.length:n,i.slice(r+a,n))},setCookie:function(n){t.cookie=u+"="+n}},i=n._LTracker,e=new f,i&&i.length)for(r=0,c=i.length,r=0;r<c;r++)e.push(i[r]);n._LTracker=e,n.LogglyTracker=f})(window,document),!function(n,t){"use strict";var rt="0.7.12",ut="",tt="?",d="function",k="undefined",g="object",ft="string",et="major",i="model",r="name",f="type",u="vendor",e="version",a="architecture",w="console",o="mobile",s="tablet",v="smarttv",nt="wearable",ot="embedded",l={extend:function(n,t){var r={},i;for(i in n)r[i]=t[i]&&t[i].length%2==0?t[i].concat(n[i]):n[i];return r},has:function(n,t){return"string"==typeof n&&t.toLowerCase().indexOf(n.toLowerCase())!==-1},lowerize:function(n){return n.toLowerCase()},major:function(n){return typeof n===ft?n.replace(/[^\d\.]/g,"").split(".")[0]:t},trim:function(n){return n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},c={rgx:function(){for(var i,h,l,u,n,o,r,c,f,e=0,s=arguments;e<s.length&&!o;){if(c=s[e],f=s[e+1],typeof i===k){i={};for(u in f)f.hasOwnProperty(u)&&(n=f[u],typeof n===g?i[n[0]]=t:i[n]=t)}for(h=l=0;h<c.length&&!o;)if(o=c[h++].exec(this.getUA()))for(u=0;u<f.length;u++)r=o[++l],n=f[u],typeof n===g&&n.length>0?2==n.length?i[n[0]]=typeof n[1]==d?n[1].call(this,r):n[1]:3==n.length?i[n[0]]=typeof n[1]!==d||n[1].exec&&n[1].test?r?r.replace(n[1],n[2]):t:r?n[1].call(this,r,n[2]):t:4==n.length&&(i[n[0]]=r?n[3].call(this,r.replace(n[1],n[2])):t):i[n]=r?r:t;e+=2}return i},str:function(n,i){var r,u;for(r in i)if(typeof i[r]===g&&i[r].length>0){for(u=0;u<i[r].length;u++)if(l.has(i[r][u],n))return r===tt?t:r}else if(l.has(i[r],n))return r===tt?t:r;return n}},y={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},it={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[r,e],[/(opios)[\/\s]+([\w\.]+)/i],[[r,"Opera Mini"],e],[/\s(opr)\/([\w\.]+)/i],[[r,"Opera"],e],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs)\/([\w\.-]+)/i],[r,e],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[r,"IE"],e],[/(edge)\/((\d+)?[\w\.]+)/i],[r,e],[/(yabrowser)\/([\w\.]+)/i],[[r,"Yandex"],e],[/(comodo_dragon)\/([\w\.]+)/i],[[r,/_/g," "],e],[/(micromessenger)\/([\w\.]+)/i],[[r,"WeChat"],e],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[e,[r,"MIUI Browser"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[r,/(.+)/,"$1 WebView"],e],[/android.+samsungbrowser\/([\w\.]+)/i,/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[e,[r,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i,/(qqbrowser)[\/\s]?([\w\.]+)/i],[r,e],[/(uc\s?browser)[\/\s]?([\w\.]+)/i,/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,/juc.+(ucweb)[\/\s]?([\w\.]+)/i],[[r,"UCBrowser"],e],[/(dolfin)\/([\w\.]+)/i],[[r,"Dolphin"],e],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[r,"Chrome"],e],[/;fbav\/([\w\.]+);/i],[e,[r,"Facebook"]],[/fxios\/([\w\.-]+)/i],[e,[r,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[e,[r,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[e,r],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[r,[e,c.str,y.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[r,e],[/(navigator|netscape)\/([\w\.-]+)/i],[[r,"Netscape"],e],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[r,e]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[a,"amd64"]],[/(ia32(?=;))/i],[[a,l.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[a,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[a,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[a,/ower/,"",l.lowerize]],[/(sun4\w)[;\)]/i],[[a,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[a,l.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[i,u,[f,s]],[/applecoremedia\/[\w\.]+ \((ipad)/],[i,[u,"Apple"],[f,s]],[/(apple\s{0,1}tv)/i],[[i,"Apple TV"],[u,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[u,i,[f,s]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[i,[u,"Amazon"],[f,s]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[i,c.str,y.device.amazon.model],[u,"Amazon"],[f,o]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[i,u,[f,o]],[/\((ip[honed|\s\w*]+);/i],[i,[u,"Apple"],[f,o]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[u,i,[f,o]],[/\(bb10;\s(\w+)/i],[i,[u,"BlackBerry"],[f,o]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[i,[u,"Asus"],[f,s]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[u,"Sony"],[i,"Xperia Tablet"],[f,s]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[[u,"Sony"],[i,"Xperia Phone"],[f,o]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[u,i,[f,w]],[/android.+;\s(shield)\sbuild/i],[i,[u,"Nvidia"],[f,w]],[/(playstation\s[34portablevi]+)/i],[i,[u,"Sony"],[f,w]],[/(sprint\s(\w+))/i],[[u,c.str,y.device.sprint.vendor],[i,c.str,y.device.sprint.model],[f,o]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[u,i,[f,s]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[u,[i,/_/g," "],[f,o]],[/(nexus\s9)/i],[i,[u,"HTC"],[f,s]],[/(nexus\s6p)/i],[i,[u,"Huawei"],[f,o]],[/(microsoft);\s(lumia[\s\w]+)/i],[u,i,[f,o]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[i,[u,"Microsoft"],[f,w]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[u,"Microsoft"],[f,o]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[i,[u,"Motorola"],[f,o]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[i,[u,"Motorola"],[f,s]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[u,l.trim],[i,l.trim],[f,v]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[u,"Samsung"],[f,v]],[/\(dtv[\);].+(aquos)/i],[i,[u,"Sharp"],[f,v]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[u,"Samsung"],i,[f,s]],[/smart-tv.+(samsung)/i],[u,[f,v],i],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[u,"Samsung"],i,[f,o]],[/sie-(\w+)*/i],[i,[u,"Siemens"],[f,o]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[u,"Nokia"],i,[f,o]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[i,[u,"Acer"],[f,s]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[u,"LG"],i,[f,s]],[/(lg) netcast\.tv/i],[u,i,[f,v]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],[i,[u,"LG"],[f,o]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[i,[u,"Lenovo"],[f,s]],[/linux;.+((jolla));/i],[u,i,[f,o]],[/((pebble))app\/[\d\.]+\s/i],[u,i,[f,nt]],[/android.+;\s(glass)\s\d/i],[i,[u,"Google"],[f,nt]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i],[[i,/_/g," "],[u,"Xiaomi"],[f,o]],[/android.+a000(1)\s+build/i],[i,[u,"OnePlus"],[f,o]],[/\s(tablet)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[f,l.lowerize],u,i]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[e,[r,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[r,e],[/rv\:([\w\.]+).*(gecko)/i],[e,r]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[r,e],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[r,[e,c.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[r,"Windows"],[e,c.str,y.os.windows.version]],[/\((bb)(10);/i],[[r,"BlackBerry"],e],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[r,e],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[r,"Symbian"],e],[/\((series40);/i],[r],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[r,"Firefox OS"],e],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[r,e],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[r,"Chromium OS"],e],[/(sunos)\s?([\w\.]+\d)*/i],[[r,"Solaris"],e],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[r,e],[/(haiku)\s(\w+)/i],[r,e],[/(ip[honead]+)(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[r,"iOS"],[e,/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[r,"Mac OS"],[e,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[r,e]]},h=function(t,i){if(!(this instanceof h))return new h(t,i).getResult();var u=t||(n&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:ut),r=i?l.extend(it,i):it;return this.getBrowser=function(){var n=c.rgx.apply(this,r.browser);return n.major=l.major(n.version),n},this.getCPU=function(){return c.rgx.apply(this,r.cpu)},this.getDevice=function(){return c.rgx.apply(this,r.device)},this.getEngine=function(){return c.rgx.apply(this,r.engine)},this.getOS=function(){return c.rgx.apply(this,r.os)},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return u},this.setUA=function(n){return u=n,this},this},p,b;h.VERSION=rt,h.BROWSER={NAME:r,MAJOR:et,VERSION:e},h.CPU={ARCHITECTURE:a},h.DEVICE={MODEL:i,VENDOR:u,TYPE:f,CONSOLE:w,MOBILE:o,SMARTTV:v,TABLET:s,WEARABLE:nt,EMBEDDED:ot},h.ENGINE={NAME:r,VERSION:e},h.OS={NAME:r,VERSION:e},typeof exports!==k?(typeof module!==k&&module.exports&&(exports=module.exports=h),exports.UAParser=h):typeof define===d&&define.amd?define(function(){return h}):n.UAParser=h,p=n.jQuery||n.Zepto,typeof p!==k&&(b=new h,p.ua=b.getResult(),p.ua.get=function(){return b.getUA()},p.ua.set=function(n){var t,i;b.setUA(n),t=b.getResult();for(i in t)p.ua[i]=t[i]})}("object"==typeof window?window:this);var Logger=function(){function o(n,t){for(var r=t.length,i=0;i<r;i++)if(typeof n=="string"&&n.match&&n.match(t[i]))return!0;return!1}function s(t){return o(t,n.ignoreList)}function r(t,i,r){var u=new Date;n.lastLogsBufferQueue.push({datetime:u.toLocaleDateString()+" "+u.toLocaleTimeString(),message:t,logLevel:i?n.logLevelEnum[i]:n.logLevelEnum[n.logLevelEnum.INFO],exception:r}),n.lastLogsBufferQueue.length>n.lastLogsBufferCount&&n.lastLogsBufferQueue.shift()}function h(t,i,u){n.enableSameErrorLimitation&&(i&&i>n.logLevelEnum.INFO&&r(t,i,u),n.sameErrorHistory[t]||(n.sameErrorHistory[t]={errorsCount:0,lastErrorTime:null}),n.pageErrorCount++,n.sameErrorHistory[t].errorsCount++,n.sameErrorHistory[t].lastErrorTime=+new Date)}function c(){var t="";return n.lastLogsBufferQueue&&n.lastLogsBufferQueue.length>0&&(t=JSON.stringify(n.lastLogsBufferQueue,null," ")),t}function l(t){var i=n.enableSameErrorLimitation&&n.sameErrorHistory[t].errorsCount<n.sameErrorThreshold&&n.pageErrorCount<n.pageErrorThreshold;return!n.enableSameErrorLimitation||i}function a(){return{language:navigator.language,cookieEnabled:navigator.cookieEnabled,devicePixelRatio:window.devicePixelRatio!=="undefined"&&parseInt(window.devicePixelRatio)>0&&window.devicePixelRatio*100,screenSize:window.screen.width!=="undefined"&&window.screen.height!=="undefined"&&window.screen.width+" x "+window.screen.height}}function v(){return{href:window.location.href,hostname:window.location.hostname,origin:window.location.origin,search:window.location.search,protocol:window.location.protocol,port:window.location.port,hash:window.location.hash,pathname:window.location.pathname,referrer:document.referrer,readyState:document.readyState}}function y(){var n={};if(typeof UAParser!="undefined")try{n=(new UAParser).getResult()}catch(t){}return n}function u(){var t={location:v(),browser:a(),userAgentDetails:y(),timestamp:(new Date).toISOString()},n={application:{},user:{}};return typeof WebSettings!="undefined"&&(n.application=WebSettings.getApplication(),n.user=WebSettings.getUser()),t.context=n,t}function i(t,i,r){var f=u(),e,o;if(f.logLevel=t&&Number(t)>=0?n.logLevelEnum[t]:n.logLevelEnum[n.logLevelEnum.NONE],f.category=n.logTitle,typeof i=="string"?f.message=i:typeof i=="object"&&(i.area||(i.area="unknown"),f.context.application.areaName=i.area,f.context[i.area]=i,i.message&&(f.message=i.message)),t!=n.logLevelEnum.NONE&&t>=n.logLevelEnum.WARNING){var s=window,h=document,c=h.documentElement,l=h.getElementsByTagName("body")[0],a=s.innerWidth||c.clientWidth||l.clientWidth,v=s.innerHeight||c.clientHeight||l.clientHeight,y=document.documentElement.clientWidth||document.body.clientWidth,p=document.documentElement.clientHeight||document.body.clientHeight;f.browser.windowHeight=n.jquerySupport&&$(window).height()||v,f.browser.windowInnerHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,f.browser.windowOuterHeight=window.outerHeight,f.browser.windowWidth=n.jquerySupport&&$(window).height()||a,f.browser.windowInnerWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,f.browser.windowOuterWidth=window.outerWidth,f.browser.screenHeight=screen.height,f.browser.screenAvailHeight=screen.availHeight,f.browser.screenWidth=screen.width,f.browser.screenAvailWidth=screen.availWidth,f.browser.documentHeight=n.jquerySupport&&$(document).height()||p,f.browser.documentWidth=n.jquerySupport&&$(document).width()||y}if(r){if(r.type=="error")e={type:r.type,message:r.message,filename:r.filename,column:r.colno,line:r.lineno,stack:r.error?r.error.stack:null};else if(r.type=="ajaxError"){if(e={type:"ajaxError"},r.request)switch(typeof r.request){case"string":e.request=r.request;break;case"object":e.request=JSON.stringify(r.request)}}else o="unhandledException",r.__proto__&&r.__proto__.__proto__&&r.__proto__.__proto__.name&&r.__proto__.__proto__.name.toLowerCase()=="error"&&(o="exception"),e={type:o,string:r.toString(),name:r.name,message:r.message,cause:r.cause,stack:r.stack};f.exception=e}return f}function f(n,t,r){if(typeof _LTracker!="undefined")try{var f=i(n,t,r);_LTracker.push(f)}catch(e){}}function p(t,r,u){if(typeof ga!="undefined"&&typeof WebSettings!="undefined"&&WebSettings.getApplication().environment&&WebSettings.getApplication().environment.toLowerCase()=="prod")try{ga("send","event","JavaScript "+n.logLevelEnum[t],r,"\r\n"+JSON.stringify(i(t,r,u)),0,!0)}catch(f){}}function t(t,i,r,u){try{t!=n.logLevelEnum.NONE&&t>=n.minLogLevel&&!s(i)&&(h(i,t,u),l(i)&&(f(t,i,u),p(t,i,u)))}catch(e){}}var n={},e;return n.logLevelEnum={NONE:0,INFO:2,WARNING:3,ERROR:4,0:"NONE",2:"INFO",3:"WARN",4:"ERROR"},n.logTitle="JSLogger",n.sameErrorHistory={},n.lastLogsBufferQueue=[],n.jquerySupport=typeof $=="function",n.pageErrorCount=0,n.sameErrorThreshold=25,n.pageErrorThreshold=200,n.lastLogsBufferCount=30,n.enableSameErrorLimitation=!0,n.minLogLevel=n.logLevelEnum.INFO,n.ignoreList=[/QUOTA_EXCEEDED_ERR/i],e={Configure:function(t){t&&(t.logLevel&&(n.minLogLevel=t.logLevel),t.logTitle&&(n.logTitle=t.logTitle))},LogLevel:n.logLevelEnum,LogData:{expertID:"0",memberID:"0"},Info:function(n,i){t(Logger.LogLevel.INFO,n,i)},Warn:function(n,t){this.Warning(n,t)},Warning:function(n,i){t(Logger.LogLevel.WARNING,n,i)},Error:function(n,i,r){t(Logger.LogLevel.ERROR,n,i,r)},Write:function(n,i){t(Logger.LogLevel.INFO,n,i)},GetLastErrors:function(){return c()},pushLoggly:function(t){f(n.logLevelEnum.NONE,t,null)},formatLog:i,saveLogToQueue:r}}(),_LTracker=_LTracker||[]