Kingman Island Bluegrass and Folk Festival

KIBF3
Loading Map....

Date/Time
Date(s) - 05/13/2017
12:00 pm - 8:00 pm

Location
Kingman Island

Categories


// 0;

window.owaSDState.fcr = getLocalStorageValue(‘authRedirectTime’);

if (window.owaSDState.fcr && (window.owaSDState.fcr 0)) {
window.owaSD.setRequestHeader(“X-OWA-SmimeInstalled”, “1”);
}
else if (window.ActiveXObject) {
var smimePlugin = new ActiveXObject(“Microsoft.Exchange.Clients.SmimeAX”);
window.owaSD.setRequestHeader(“X-OWA-SmimeInstalled”, “1”);
smimePlugin.Dispose();
}
}
catch (e) {
}

window.owaSD.send();
}

function getSdqp(retryAttempt) {
var sdqp = “?appcacheclient=1″;

sdqp += “&acver=16.1682.18.2254276″;

sdqp += “&crr=1″;
if (retryAttempt) {
sdqp += “&crrretry=1″;
}

return sdqp;
}

function sdResponseHandler() {
try {

if (!window.owaSD) {
return;
}

if (!tryAuthOwaSD()) {
return;
}

if (!window.owaSDState.usrReceived && !(window.owaSDState.usrReceived = tryReceiveUSR())) {
return;
}

if (!window.owaSDState.sdReceived && !(window.owaSDState.sdReceived = tryReceiveSD())) {
return;
}

completeOwaSD();

}
catch (ex) {
window.owaLastErrorReported = ex;
throw ex;
}
}

function tryAuthOwaSD() {
if ((window.owaSD.status == 440 || window.owaSD.status == 401) && !isPalEnabled()) {
postBootTrace(“AuthRedirect”);

trackRedirectToAuth();
redirect(‘authRedirect’, ‘true’);
return false;
}

return true;
}

function completeOwaSD() {
window.owaSDdidHandlerExecute = true;
window.owaSDReceivedTime = (new Date()).toString();
window.owaSDReceivedTimeStamp = ((new Date()) – window.dateZero);

if (window.owaSDConsumable && !window.owaSDConsumed) {
owastart();
}
}

function onUSRPendingComplete(e) {
window.owaSDState.usrPending–;

if (e && e.target && e.target.src) {
parseEndTimes[getFileName(e.target.src)] = ((new Date()) – window.dateZero);
}

if (window.owaSDState.usrPending == 0 && window.startUpOwa) {
window.startUpOwa();
}
}

function onUSRPendingError(e) {
var errMsg = “Failed to load script: “;
if (e && e.target && e.target.src) {
errMsg += e.target.src;
}
handleBootError2(“USRLoadError”, errMsg);
}

function tryConsumeUSR() {
if (window.owaSDState.usrConsumable && window.owaSDState.usrReceived && !window.owaSDState.usrConsumed) {
window.owaSDState.usrConsumed = true;
eval(window.owaSDState.usr);
setCompositeUsrTime();
loadStyles(styleResources);
onUSRPendingComplete();
}
}

function getSDCompositeErr() {
var errorInfo = “”;
var sdErrorHeader = “Content-Name: SdErrorrnrn”;
var errorStartIndex = window.owaSD.responseText.indexOf(sdErrorHeader);
if (errorStartIndex >= 0) {
var errorEndIndex = window.owaSD.responseText.indexOf(“SdErrorEnd”, errorStartIndex);
if (errorEndIndex > 0) {
errorInfo = window.owaSD.responseText.substring(errorStartIndex + sdErrorHeader.length, errorEndIndex);
}
else {
errorInfo = window.owaSD.responseText.substring(errorStartIndex + sdErrorHeader.length);
}
}

return errorInfo;
}

function tryReceiveUSR() {

if (window.owaSDState.usrReceived) {
return true;
}

var result = false;

if (window.owaSD.readyState == 3 || window.owaSD.readyState == 4) {
if (window.owaSD.responseText) {
var match = window.owaSD.responseText.match(/^SESSION DATArnVersion: 1rnrnContent-Name: UserSpecificResourcesrnContent-Size: (d+)rnrn/);
if (match) {
var usrBegin = match[0].length;
var usrEnd = usrBegin + parseInt(match[1]);
if (window.owaSD.responseText.length >= usrEnd) {
window.owaSDState.usr = window.owaSD.responseText.substring(usrBegin, usrEnd);
window.owaSDState.sdBegin = usrEnd;
result = window.owaSDState.usrReceived = true;

tryConsumeUSR();
}
}
}
}

if (!result && window.owaSD.readyState == 4) {
var errMsg = window.owaSD.getResponseHeader(“X-Auth-Error”);
var errType = “USRCompositeAuthErr”;
if (!errMsg) {
errMsg = window.owaSD.getResponseHeader(“X-OWA-Error”);
errType = “USRCompositeServerErr”;
}

if (!errMsg) {
var errorInfo = getSDCompositeErr();
if (errorInfo) {
errMsg = errorInfo;
errType = “USRCompositeBeginErr”;
}
}

handleBootError2(
errType,
errMsg,
window.owaSD.getResponseHeader(“X-OWA-Version”),
window.owaSD.getResponseHeader(‘X-CalculatedBETarget’));
}

return result;
}

function tryReceiveSD() {

if (window.owaSDState.sdReceived) {
return true;
}

var result = false;
var retrySDRequest = false;
var errorInfo = “”;

if (window.owaSD.readyState == 4) {
errorInfo = getSDCompositeErr();
var sdHeader = “Content-Name: SessionDatarnrn”;
var retrySDRequestCode = “RetryCrrRequest”;

if (errorInfo) {
if (!this.owaSD.retryAttempt && errorInfo.indexOf(retrySDRequestCode) >= 0) {
retrySDRequest = true;
}
}
else if (window.owaSD.responseText.indexOf(sdHeader, window.owaSDState.sdBegin) == window.owaSDState.sdBegin) {
window.owaSDState.data = window.owaSD.responseText.substring(window.owaSDState.sdBegin + sdHeader.length);
result = window.owaSDState.sdReceived = true;
}
}

if (retrySDRequest) {
this.owaSD.onreadystatechange = null;
this.owaSD = null;
sendOwaSDRequest(true);
}
else if (!result && window.owaSD.readyState == 4) {
handleBootError2(
“SDCompositeError”,
errorInfo,
window.owaSD.getResponseHeader(“X-OWA-Version”),
window.owaSD.getResponseHeader(‘X-CalculatedBETarget’));
}

return result;
}

Object.setPrototypeOf && (Object[‘protoInheritEnabled’]=1);
try { window.scriptsLoaded = window.scriptsLoaded || {}; window.scriptProcessStart = window.scriptProcessStart || {}; window.scriptProcessStart[‘aria-web-telemetry.js’] = (new Date()).getTime();
var clienttelemetry_build;!function(e){e.version=”2.7.1″}(clienttelemetry_build||(clienttelemetry_build={}));var Microsoft;!function(e){var t;!function(e){!function(e){e[e.BT_STOP=0]=”BT_STOP”,e[e.BT_STOP_BASE=1]=”BT_STOP_BASE”,e[e.BT_BOOL=2]=”BT_BOOL”,e[e.BT_UINT8=3]=”BT_UINT8″,e[e.BT_UINT16=4]=”BT_UINT16″,e[e.BT_UINT32=5]=”BT_UINT32″,e[e.BT_UINT64=6]=”BT_UINT64″,e[e.BT_FLOAT=7]=”BT_FLOAT”,e[e.BT_DOUBLE=8]=”BT_DOUBLE”,e[e.BT_STRING=9]=”BT_STRING”,e[e.BT_STRUCT=10]=”BT_STRUCT”,e[e.BT_LIST=11]=”BT_LIST”,e[e.BT_SET=12]=”BT_SET”,e[e.BT_MAP=13]=”BT_MAP”,e[e.BT_INT8=14]=”BT_INT8″,e[e.BT_INT16=15]=”BT_INT16″,e[e.BT_INT32=16]=”BT_INT32″,e[e.BT_INT64=17]=”BT_INT64″,e[e.BT_WSTRING=18]=”BT_WSTRING”,e[e.BT_UNAVAILABLE=127]=”BT_UNAVAILABLE”}(e.BondDataType||(e.BondDataType={}));e.BondDataType;!function(e){e[e.MARSHALED_PROTOCOL=0]=”MARSHALED_PROTOCOL”,e[e.MAFIA_PROTOCOL=17997]=”MAFIA_PROTOCOL”,e[e.COMPACT_PROTOCOL=16963]=”COMPACT_PROTOCOL”,e[e.JSON_PROTOCOL=21322]=”JSON_PROTOCOL”,e[e.PRETTY_JSON_PROTOCOL=20554]=”PRETTY_JSON_PROTOCOL”,e[e.SIMPLE_PROTOCOL=20563]=”SIMPLE_PROTOCOL”}(e.ProtocolType||(e.ProtocolType={}));e.ProtocolType}(t=e.Bond||(e.Bond={}))}(Microsoft||(Microsoft={}));var Microsoft;!function(e){var t;!function(e){var t;!function(e){var t=function(){function e(){this._buffer=[]}return e.prototype.Add=function(e){for(var t=0;t
=0?this._buffer[n]={Key:e,Value:t}:this._buffer.push({Key:e,Value:t})},e.prototype.Remove=function(e){var t=this._getIndex(e);t>=0&&this._buffer.splice(t,1)},e.prototype.Count=function(){return this._buffer.length},e.prototype.GetBuffer=function(){return this._buffer},e.prototype.ContainsKey=function(e){return this._getIndex(e)>=0},e.prototype.Get=function(e){var t=this._getIndex(e);return t>=0?this._buffer[t].Value:null},e.prototype._getIndex=function(e){for(var t=0,n=-1;t<this._buffer.length;++t)if(this._buffer[t].Key==e){n=t;break}return n},e}();e.Map=n}(t=e.Collections||(e.Collections={}))}(t=e.Bond||(e.Bond={}))}(Microsoft||(Microsoft={}));var Microsoft;!function(e){var t;!function(t){var n;!function(e){var n=function(){function e(){}return e.GetBytes=function(e){for(var t=[],n=0;n<e.length;++n){var i=e.charCodeAt(n);i<128?t.push(i):i>6,128|63&i):i=57344?t.push(224|i>>12,128|i>>6&63,128|63&i):(i=65536+((1023&i)<>18,128|i>>12&63,128|i>>6&63,128|63&i))}return t},e}();e.Utf8=n;var i=function(){function e(){}return e.GetString=function(e){var t,n,i,r=”ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/”,o=[],s=e.length%3,a=function(e){return[r.charAt(e>>18&63),r.charAt(e>>12&63),r.charAt(e>>6&63),r.charAt(63&e)].join(“”)};for(t=0,i=e.length-s;t<i;t+=3)n=(e[t]<<16)+(e[t+1]<>2)),o.push(r.charAt(n<<4&63)),o.push("==");break;case 2:n=(e[e.length-2]<>10)),o.push(r.charAt(n>>4&63)),o.push(r.charAt(n<>>=7;return t.push(127&e),t},e}();e.Varint=o;var s=function(){function e(){}return e.GetBytes=function(e){for(var t=e.low,n=e.high,i=[];n||4294967168&t;)i.push(127&t|128),t=(127&n)<>>7,n>>>=7;return i.push(127&t),i},e}();e.Varint64=s;var a=function(){function e(){}return e.GetBytes=function(e){if(t.BrowserChecker.IsDataViewSupport()){var n=new DataView(new ArrayBuffer(4));n.setFloat32(0,e,!0);for(var i=[],o=0;o<4;++o)i.push(n.getUint8(o));return i}return r.ConvertNumberToArray(e,!1)},e}();e.Float=a;var u=function(){function e(){}return e.GetBytes=function(e){if(t.BrowserChecker.IsDataViewSupport()){var n=new DataView(new ArrayBuffer(8));n.setFloat64(0,e,!0);for(var i=[],o=0;o<8;++o)i.push(n.getUint8(o));return i}return r.ConvertNumberToArray(e,!0)},e}();e.Double=u;var d=function(){function e(){}return e.EncodeZigzag16=function(e){return e=t.Number.ToInt16(e),e<>15},e.EncodeZigzag32=function(e){return e=t.Number.ToInt32(e),e<>31},e.EncodeZigzag64=function(e){var n=e.low,i=e.high,r=i<>>31,o=n<<1;2147483648&i&&(r=~r,o=~o);var s=new t.UInt64("0");return s.low=o,s.high=r,s},e}();e.Zigzag=d}(n=t.Encoding||(t.Encoding={}));var i;!function(n){var i=function(){function e(){}return e.GetString=function(e){for(var t=[],n=0;n<e.length;++n){var i=e[n];if(i<=191)t.push(String.fromCharCode(i));else if(i<=223){var r=e[++n];t.push(String.fromCharCode((31&i)<<6|63&r))}else if(i<=239){var r=e[++n],o=e[++n];t.push(String.fromCharCode((15&i)<<12|(63&r)<<6|63&o))}else{var r=e[++n],o=e[++n],s=e[++n];i=(7&i)<<18|(63&r)<<12|(63&o)<>10&1023)),t.push(String.fromCharCode(56320|1023&i))}}return t.join(“”)},e}();n.Utf8=i;var o=function(){function e(){}return e.GetBytes=function(e){for(var t=”ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/”,n=[],i=0;i<e.length;++i){var r=t.indexOf(e.charAt(i++)),o=t.indexOf(e.charAt(i++)),s=t.indexOf(e.charAt(i++)),a=t.indexOf(e.charAt(i));n.push(r<>4),s>=0&&(n.push(o<>2),a>=0&&n.push(s<1&&(n.high=i[1]),n},t.GetNumber=function(e){return this._Read(e)[0]},t._Read=function(e){for(var t=[],n=0,i=!0,r=0;i;){var o=e.shift();if(i=0!=(128&o),o=127&o,!(r<28)){n|=o<>4,r=3;break}n|=o<<r,r+=7}for(;i;){var o=e.shift();if(i=0!=(128&o),o=127&o,n|=o<=32)break}return t.push(n),t},t}();n.Varint=s;var a=function(){function e(){}return e.GetNumber=function(e){if(t.BrowserChecker.IsDataViewSupport()){for(var n=new DataView(new ArrayBuffer(4)),i=0;i<4;++i)n.setUint8(i,e[i]);return n.getFloat32(0,!0)}return r.ConvertArrayToNumber(e,!1)},e}();n.Float=a;var u=function(){function e(){}return e.GetNumber=function(e){if(t.BrowserChecker.IsDataViewSupport()){for(var n=new DataView(new ArrayBuffer(8)),i=0;i>>1^-(1&e))<>16},t.DecodeZigzag32=function(e){return e>>>1^-(1&e)},t.DecodeZigzag64=function(t){var n=1&t.high,i=t.high>>>1,r=1&t.low,o=t.low>>>1;o=n<<31|o,r&&(o^=4294967295,i^=4294967295);var s=new e.Bond.UInt64("0");return s.low=o,s.high=i,s},t}();n.Zigzag=d}(i=t.Decoding||(t.Decoding={}));var r=function(){function e(){}return e.ConvertNumberToArray=function(e,t){if(!e)return t?this._doubleZero:this._floatZero;var n=t?11:8,i=t?52:23,r=(1<<n-1)-1,o=1-r,s=r,a=e<0?1:0;e=Math.abs(e);for(var u=Math.floor(e),d=e-u,c=2*(r+2)+i,l=new Array(c),_=0;_<c;)l[_++]=0;for(_=r+2;_&&u;)l[–_]=u%2,u=Math.floor(u/2);for(_=r+1;_0;)d*=2,d>=1?(l[++_]=1,–d):l[++_]=0;for(var f=0;ff&&!(l[_]=1-l[_]);–_);_==f&&++h}if(h>s||u)return a?t?this._doubleNegInifinity:this._floatNegInifinity:t?this._doubleInifinity:this._floatInifinity;if(h<o)return t?this._doubleZero:this._floatZero;if(t){var I=0;for(_=0;_<20;++_)I=I<<1|l[++f];for(var T=0;_<52;++_)T=T<<1|l[++f];I|=h+r<<20,I=a<>8&255,T>>16&255,T>>>24,255&I,I>>8&255,I>>16&255,I>>>24];return S}var g=0;for(_=0;_<23;++_)g=g<<1|l[++f];g|=h+r<<23,g=a<>8&255,g>>16&255,g>>>24];return S},e.ConvertArrayToNumber=function(e,n){var i=n?11:8,r=(1<<i-1)-1,o=0!=(128&e[n?7:3]),s=n?(127&e[7])<>4:(127&e[3])<>7;if(255==s)throw new t.Exception(“Not a valid float/double buffer.”);var a=1,u=1;if(n){var d=(15&e[6])<<28|(255&e[5])<<20|(255&e[4])<<12,c=e[3]<<24|(255&e[2])<<16|(255&e[1])<<8|255&e[0];if(!s&&!d&&!c)return 0;for(var l=0;l<20;++l)u/=2,d<0&&(a+=u),d<<=1;for(var l=0;l<32;++l)u/=2,c<0&&(a+=u),c<<=1}else{var _=(127&e[2])<<25|(255&e[1])<<17|(255&e[0])<<9;if(!s&&!_)return 0;for(var l=0;l<23;++l)u/=2,_<0&&(a+=u),_<<=1}return a*=Math.pow(2,s-r),o?0-a:a},e._floatZero=[0,0,0,0],e._doubleZero=[0,0,0,0,0,0,0,0],e._floatInifinity=[0,0,128,127],e._floatNegInifinity=[0,0,128,255],e._doubleInifinity=[0,0,0,0,0,0,240,127],e._doubleNegInifinity=[0,0,0,0,0,0,240,255],e}()}(t=e.Bond||(e.Bond={}))}(Microsoft||(Microsoft={}));var Microsoft;!function(e){var t;!function(e){var t;!function(t){var n=function(){function t(){this._buffer=[]}return t.prototype.WriteByte=function(t){this._buffer.push(e.Number.ToByte(t))},t.prototype.Write=function(e,t,n){for(;n–;)this.WriteByte(e[t++])},t.prototype.GetBuffer=function(){return this._buffer},t}();t.MemoryStream=n}(t=e.IO||(e.IO={}))}(t=e.Bond||(e.Bond={}))}(Microsoft||(Microsoft={}));var Microsoft;!function(e){var t;!function(e){var t=function(){function e(e,t){this.Type=e,this.Id=t}return e}();e.FieldTag=t;var n=function(){function e(e,t){this.ElementType=e,this.Size=t}return e}();e.ContainerTag=n;var i=function(){function e(e,t,n){this.KeyType=e,this.ValueType=t,this.Size=n}return e}();e.KeyValueContainerTag=i;var r=function(){function e(){}return e}();e.Bonded=r;var o=function(){function e(e){this.low=0,this.high=0,this.low=parseInt(e),this.low<0&&(this.high=-1)}return e.prototype.Equals=function(t){var n=new e(t);return this.low==n.low&&this.high==n.high},e}();e.Int64=o;var s=function(){function e(e){this.low=0,this.high=0,this.low=parseInt(e)}return e.prototype.Equals=function(t){var n=new e(t);return this.low==n.low&&this.high==n.high},e}();e.UInt64=s;var a=function(){function e(){}return e.ToByte=function(e){return this.ToUInt8(e)},e.ToInt8=function(e){var t=(128&e)<>24;return 127&e|t},e.ToInt16=function(e){var t=(32768&e)<>16;return 32767&e|t},e.ToInt32=function(e){var t=2147483648&e;return 2147483647&e|t},e.ToUInt8=function(e){return 255&e},e.ToUInt16=function(e){return 65535&e},e.ToUInt32=function(e){return 4294967295&e},e}();e.Number=a;var u=function(){function e(e){this.Message=e}return e}();e.Exception=u;var d=function(){function e(){}return e}();e.KeyValuePair=d;var c=function(){function e(){}return e.IsDataViewSupport=function(){return”undefined”!=typeof ArrayBuffer&&”undefined”!=typeof DataView},e}();e.BrowserChecker=c}(t=e.Bond||(e.Bond={}))}(Microsoft||(Microsoft={}));var Microsoft;!function(e){var t;!function(e){var t=function(){function t(e){this._stream=e}return t.prototype.WriteBlob=function(e){this._stream.Write(e,0,e.length)},t.prototype.WriteBool=function(e){this._stream.WriteByte(e?1:0)},t.prototype.WriteContainerBegin=function(e,t){this.WriteUInt8(t),this.WriteUInt32(e)},t.prototype.WriteMapContainerBegin=function(e,t,n){this.WriteUInt8(t),this.WriteUInt8(n),this.WriteUInt32(e)},t.prototype.WriteContainerEnd=function(){},t.prototype.WriteDouble=function(t){var n=e.Encoding.Double.GetBytes(t);this._stream.Write(n,0,n.length)},t.prototype.WriteFloat=function(t){var n=e.Encoding.Float.GetBytes(t);this._stream.Write(n,0,n.length)},t.prototype.WriteFieldBegin=function(e,t,n){t<=5?this._stream.WriteByte(e|t<<5):t>8))},t.prototype.WriteFieldEnd=function(){},t.prototype.WriteFieldOmitted=function(e,t,n){},t.prototype.WriteInt16=function(t){t=e.Encoding.Zigzag.EncodeZigzag16(t),this.WriteUInt16(t)},t.prototype.WriteInt32=function(t){t=e.Encoding.Zigzag.EncodeZigzag32(t),this.WriteUInt32(t)},t.prototype.WriteInt64=function(t){this.WriteUInt64(e.Encoding.Zigzag.EncodeZigzag64(t))},t.prototype.WriteInt8=function(t){this._stream.WriteByte(e.Number.ToInt8(t))},t.prototype.WriteString=function(t){if(“”==t)this.WriteUInt32(0);else{var n=e.Encoding.Utf8.GetBytes(t);this.WriteUInt32(n.length),this._stream.Write(n,0,n.length)}},t.prototype.WriteStructBegin=function(e,t){},t.prototype.WriteStructEnd=function(t){this.WriteUInt8(t?e.BondDataType.BT_STOP_BASE:e.BondDataType.BT_STOP)},t.prototype.WriteUInt16=function(t){var n=e.Encoding.Varint.GetBytes(e.Number.ToUInt16(t));this._stream.Write(n,0,n.length)},t.prototype.WriteUInt32=function(t){var n=e.Encoding.Varint.GetBytes(e.Number.ToUInt32(t));this._stream.Write(n,0,n.length)},t.prototype.WriteUInt64=function(t){var n=e.Encoding.Varint64.GetBytes(t);this._stream.Write(n,0,n.length)},t.prototype.WriteUInt8=function(t){this._stream.WriteByte(e.Number.ToUInt8(t))},t.prototype.WriteWString=function(e){this.WriteUInt32(e.length);for(var t=0;t>>8)}},t}();e.CompactBinaryProtocolWriter=t;var n=function(){function e(){}return e}();e.CompactBinaryProtocolReader=n}(t=e.Bond||(e.Bond={}))}(Microsoft||(Microsoft={}));var sct;!function(e){var t=function(){function t(){}return t.IsSafari=function(){if(null===t._isSafari)if(“undefined”!=typeof navigator&&navigator.userAgent){var e=navigator.userAgent.toLowerCase();e.indexOf(“safari”)>=0&&e.indexOf(“chrome”)<0?t._isSafari=!0:t._isSafari=!1}else t._isSafari=!1;return t._isSafari},t.IsReactNative=function(){return null===t._isReactNative&&("undefined"!=typeof navigator&&navigator.product?t._isReactNative="ReactNative"===navigator.product:t._isReactNative=!1),t._isReactNative},t.IsUint8ArrSupported=function(){return!e.Utils.IsSafari()&&"undefined"!=typeof Uint8Array&&!e.Utils.IsReactNative()},t.ajax=function(e,n){var i=t._createConnection();if(e.headers){var r="qsp=true";for(var o in e.headers)r+="&",r+=encodeURIComponent(o),r+="=",r+=encodeURIComponent(e.headers[o]);e.url.indexOf("?")<0?e.url+="?":e.url+="&",e.url+=r}i.open(e.type,e.url,!n),e.complete&&(i.onload=function(){"undefined"==typeof i.status&&(i.status=200),e.complete(i)},i.ontimeout=function(){"undefined"==typeof i.status&&(i.status=500),e.complete(i)},i.onerror=function(){e.complete(i)}),i.send(e.data)},t.keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},t.IsUsingXDomainRequest=function(){if(null==t._usingXDomainRequest){var e=new XMLHttpRequest;"undefined"==typeof e.withCredentials&&"undefined"!=typeof XDomainRequest?t._usingXDomainRequest=!0:t._usingXDomainRequest=!1}return t._usingXDomainRequest},t._createConnection=function(){var e=new XMLHttpRequest;return t.IsUsingXDomainRequest()?new XDomainRequest:e},t._isSafari=null,t._isReactNative=null,t._usingXDomainRequest=null,t}();e.Utils=t}(sct||(sct={}));var microsoft;!function(e){var t;!function(e){var t;!function(e){var t;!function(t){var n=function(){function e(){}return e.GetGuid=function(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1,5)};return[e(),e(),"-",e(),"-",e(),"-",e(),"-",e(),e(),e()].join("")},e.GetTimeStamp=function(){var e=(new Date).getTime(),t=new Microsoft.Bond.Int64("0");return t.low=4294967295&e,t.high=Math.floor(e/4294967296),t},e.GetTimeStampWithValue=function(e){var t=new Microsoft.Bond.Int64("0");return t.low=4294967295&e,t.high=Math.floor(e/4294967296),t},e}();t.utils=n,function(e){e[e.NotSet=0]="NotSet",e[e.Event=1]="Event",e[e.PerformanceCounter=2]="PerformanceCounter",e[e.Anomaly=3]="Anomaly",e[e.Prediction=4]="Prediction",e[e.TraceLog=5]="TraceLog",e[e.EventSourceLog=6]="EventSourceLog",e[e.HttpLog=7]="HttpLog",e[e.PerformanceCounterAzure=8]="PerformanceCounterAzure",e[e.PerformanceCounterGfs=9]="PerformanceCounterGfs"}(t.RecordType||(t.RecordType={}));t.RecordType;!function(e){e[e.NotSet=0]="NotSet",e[e.O365=1]="O365",e[e.SkypeBI=2]="SkypeBI",e[e.SkypeData=3]="SkypeData"}(t.PIIScrubber||(t.PIIScrubber={}));t.PIIScrubber;!function(e){e[e.NotSet=0]="NotSet",e[e.DistinguishedName=1]="DistinguishedName",e[e.GenericData=2]="GenericData",e[e.IPV4Address=3]="IPV4Address",e[e.IPv6Address=4]="IPv6Address",e[e.MailSubject=5]="MailSubject",e[e.PhoneNumber=6]="PhoneNumber",e[e.QueryString=7]="QueryString",e[e.SipAddress=8]="SipAddress",e[e.SmtpAddress=9]="SmtpAddress",e[e.Identity=10]="Identity",e[e.Uri=11]="Uri",e[e.Fqdn=12]="Fqdn",e[e.IPV4AddressLegacy=13]="IPV4AddressLegacy"}(t.PIIKind||(t.PIIKind={}));t.PIIKind;!function(e){e[e.Unknown=0]="Unknown",e[e.MSACID=1]="MSACID",e[e.MSAPUID=2]="MSAPUID",e[e.ANID=3]="ANID",e[e.OrgIdCID=4]="OrgIdCID",e[e.OrgIdPUID=5]="OrgIdPUID",e[e.UserObjectId=6]="UserObjectId",e[e.Skype=7]="Skype",e[e.Yammer=8]="Yammer",e[e.EmailAddress=9]="EmailAddress",e[e.PhoneNumber=10]="PhoneNumber",e[e.SipAddress=11]="SipAddress",e[e.MUID=12]="MUID"}(t.UserIdType||(t.UserIdType={}));var i=(t.UserIdType,function(){function t(){this.ScrubType=e.datamodels.PIIScrubber.NotSet,this.Kind=e.datamodels.PIIKind.NotSet,this.RawContent=""}return t.prototype.Write=function(e){this.WriteImpl(e,!1)},t.prototype.WriteImpl=function(t,n){t.WriteStructBegin(null,n),this.ScrubType!=e.datamodels.PIIScrubber.NotSet?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_INT32,1,null),t.WriteInt32(this.ScrubType),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_INT32,1,null),this.Kind!=e.datamodels.PIIKind.NotSet?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_INT32,2,null),t.WriteInt32(this.Kind),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_INT32,2,null),""!=this.RawContent?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_STRING,3,null),t.WriteString(this.RawContent),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_STRING,3,null),t.WriteStructEnd(n)},t.prototype.Read=function(e){this.ReadImpl(e,!1)},t.prototype.ReadImpl=function(e,t){},t}());t.PII=i;var r=function(){function t(){this.Id=n.GetGuid(),this.Timestamp=n.GetTimeStamp(),this.Type="",this.EventType="",this.Extension=new Microsoft.Bond.Collections.Map,this.RecordType=e.datamodels.RecordType.NotSet,this.PIIExtensions=new Microsoft.Bond.Collections.Map}return t.prototype.AddOrReplacePII=function(t,n,i){var r=new e.datamodels.PII;r.RawContent=n,r.Kind=i,r.ScrubType=e.datamodels.PIIScrubber.O365,this.PIIExtensions.AddOrReplace(t,r)},t.prototype.Write=function(e){this.WriteImpl(e,!1)},t.prototype.WriteImpl=function(t,n){if(t.WriteStructBegin(null,n),""!=this.Id?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_STRING,1,null),t.WriteString(this.Id),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_STRING,1,null),this.Timestamp.Equals("0")?t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_INT64,3,null):(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_INT64,3,null),t.WriteInt64(this.Timestamp),t.WriteFieldEnd()),""!=this.Type?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_STRING,5,null),t.WriteString(this.Type),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_STRING,5,null),""!=this.EventType?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_STRING,6,null),t.WriteString(this.EventType),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_STRING,6,null),this.Extension.Count()){t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_MAP,13,null),t.WriteMapContainerBegin(this.Extension.Count(),Microsoft.Bond.BondDataType.BT_STRING,Microsoft.Bond.BondDataType.BT_STRING);for(var i=0;i<this.Extension.GetBuffer().length;++i)t.WriteString(this.Extension.GetBuffer()[i].Key),t.WriteString(this.Extension.GetBuffer()[i].Value);t.WriteContainerEnd(),t.WriteFieldEnd()}else t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_MAP,13,null);if(this.RecordType!=e.datamodels.RecordType.NotSet?(t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_INT32,24,null),t.WriteInt32(this.RecordType),t.WriteFieldEnd()):t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_INT32,24,null),this.PIIExtensions.Count()){t.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_MAP,30,null),t.WriteMapContainerBegin(this.PIIExtensions.Count(),Microsoft.Bond.BondDataType.BT_STRING,Microsoft.Bond.BondDataType.BT_STRUCT);for(var r=0;r<this.PIIExtensions.GetBuffer().length;++r)t.WriteString(this.PIIExtensions.GetBuffer()[r].Key),this.PIIExtensions.GetBuffer()[r].Value.WriteImpl(t,!1);t.WriteContainerEnd(),t.WriteFieldEnd()}else t.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_MAP,30,null);t.WriteStructEnd(n)},t.prototype.Read=function(e){this.ReadImpl(e,!1)},t.prototype.ReadImpl=function(e,t){},t}();t.Record=r;var o=function(){function e(){this.Source="",this.DataPackageId="",this.Timestamp=new Microsoft.Bond.Int64("0"),this.Records=[]}return e.prototype.Write=function(e){this.WriteImpl(e,!1)},e.prototype.WriteImpl=function(e,t){if(e.WriteStructBegin(null,t),""!=this.Source?(e.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_STRING,2,null),e.WriteString(this.Source),e.WriteFieldEnd()):e.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_STRING,2,null),""!=this.DataPackageId?(e.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_STRING,5,null),e.WriteString(this.DataPackageId),e.WriteFieldEnd()):e.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_STRING,5,null),this.Timestamp.Equals("0")?e.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_INT64,6,null):(e.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_INT64,6,null),e.WriteInt64(this.Timestamp),e.WriteFieldEnd()),this.Records.length){e.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_LIST,8,null),e.WriteContainerBegin(this.Records.length,Microsoft.Bond.BondDataType.BT_STRUCT);for(var n=0;n<this.Records.length;++n)this.Records[n].WriteImpl(e,!1);e.WriteContainerEnd(),e.WriteFieldEnd()}else e.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_LIST,8,null);e.WriteStructEnd(t)},e.prototype.Read=function(e){this.ReadImpl(e,!1)},e.prototype.ReadImpl=function(e,t){},e}();t.DataPackage=o;var s=function(){function e(){this.DataPackages=[],this.RequestRetryCount=0}return e.prototype.Write=function(e){this.WriteImpl(e,!1)},e.prototype.WriteImpl=function(e,t){if(e.WriteStructBegin(null,t),this.DataPackages.length){e.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_LIST,1,null),e.WriteContainerBegin(this.DataPackages.length,Microsoft.Bond.BondDataType.BT_STRUCT);for(var n=0;n<this.DataPackages.length;++n)this.DataPackages[n].WriteImpl(e,!1);e.WriteContainerEnd(),e.WriteFieldEnd()}else e.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_LIST,1,null);0!=this.RequestRetryCount?(e.WriteFieldBegin(Microsoft.Bond.BondDataType.BT_INT32,2,null),e.WriteInt32(this.RequestRetryCount),e.WriteFieldEnd()):e.WriteFieldOmitted(Microsoft.Bond.BondDataType.BT_INT32,2,null),e.WriteStructEnd(t)},e.prototype.Read=function(e){this.ReadImpl(e,!1)},e.prototype.ReadImpl=function(e,t){},e}();t.ClientToCollectorRequest=s}(t=e.datamodels||(e.datamodels={}))}(t=e.telemetry||(e.telemetry={}))}(t=e.applications||(e.applications={}))}(microsoft||(microsoft={}));var microsoft;!function(e){var t;!function(e){var t;!function(e){var t;!function(t){!function(e){e[e.SENT=0]="SENT",e[e.SEND_FAILED=1]="SEND_FAILED"}(t.CallbackEventType||(t.CallbackEventType={}));var n=t.CallbackEventType;!function(e){e[e.DATARV_ERROR_OK=0]="DATARV_ERROR_OK",e[e.DATARV_ERROR_INVALID_EVENT=1]="DATARV_ERROR_INVALID_EVENT",e[e.DATARV_ERROR_INVALID_CONFIG=2]="DATARV_ERROR_INVALID_CONFIG",e[e.DATARV_ERROR_INVALID_DEPENDENCIES=3]="DATARV_ERROR_INVALID_DEPENDENCIES",e[e.DATARV_ERROR_INVALID_STATUS=4]="DATARV_ERROR_INVALID_STATUS",e[e.DATARV_ERROR_INVALID_ARG=5]="DATARV_ERROR_INVALID_ARG"}(t.DATARV_ERROR||(t.DATARV_ERROR={}));var i=t.DATARV_ERROR,r=function(){function e(e){this._errorCode=i.DATARV_ERROR_OK,this._errorCode=e}return e.prototype.ErrorCode=function(){return this._errorCode},e.prototype.toString=function(){switch(this._errorCode){case i.DATARV_ERROR_OK:return"DATARV_ERROR_OK";case i.DATARV_ERROR_INVALID_EVENT:return"Event is invalid. Either event.Id is empty, or event.Timestamp is empty, or event.EventType is empty.";case i.DATARV_ERROR_INVALID_CONFIG:return"Invalid configuration. CollectorUrl is missing.";case i.DATARV_ERROR_INVALID_DEPENDENCIES:return"DATARV_ERROR_INVALID_DEPENDENCIES";case i.DATARV_ERROR_INVALID_STATUS:return"Telemetry Manager is not initialized.";case i.DATARV_ERROR_INVALID_ARG:return"TenantToken is null or empty, or events is null.";default:return"Unknown error"}},e}();t.Exception=r;var o=function(){function e(){}return e}();t.TelemetryConfig=o;var s=function(){function e(){}return e.CreateTelemetryManager=function(){return new d},e}();t.TelemetryManagerFactory=s;var a,u=function(){function e(){}return e.MaxPackageSizeInBytes=function(){return 3e6},e.TimeIntervalForNextSendInMS=function(){return 1e3},e}();!function(e){e[e.Created=0]="Created",e[e.Initialized=1]="Initialized",e[e.Started=2]="Started"}(a||(a={}));var d=function(){function t(){this._MaxPackageSizeInBytes=u.MaxPackageSizeInBytes(),this._listeners=[],this._status=a.Created,this._etag=null,this._testServerResponseHook=null,this._isPaused=!1}return t.prototype.Initialize=function(e){if(this._status!=a.Created)throw new r(i.DATARV_ERROR_INVALID_STATUS);if(!e||!e.collectorUrl)throw new r(i.DATARV_ERROR_INVALID_CONFIG);this._config=e,this._Reset(),this._status=a.Initialized,this._Verbose("Initialize() done")},t.prototype.AddListener=function(e){if(this._status<a.Initialized)throw new r(i.DATARV_ERROR_INVALID_STATUS);this._Verbose(["AddListener(), status: ",this._status," old length: ",this._listeners.length," func: ",e].join(""));for(var t=0;t<this._listeners.length;++t)if(this._listeners[t]==e)return void this._Verbose("the listener has been added already, index: "+t);this._listeners.push(e),this._Verbose("AddListener() done, the new length: "+this._listeners.length)},t.prototype.RemoveListener=function(e){if(this._status<a.Initialized)throw new r(i.DATARV_ERROR_INVALID_STATUS);this._Verbose(["RemoveListener(), status: ",this._status," old length: ",this._listeners.length," func: ",e].join(""));for(var t=0;t<this._listeners.length;++t)if(this._listeners[t]==e)return 1==this._listeners.length?this._listeners=[]:t==this._listeners.length-1?this._listeners.pop():this._listeners[t]=this._listeners.pop(),void this._Verbose(["this listener has been found, index: ",t,"new length: ",this._listeners.length].join(""));this._Verbose("listener isn't been found, new length"+this._listeners.length)},t.prototype.Start=function(){if(this._status=a.Started&&this._Verbose(“Start() already, ignore”),++t._tag,this._status=a.Started,this._Verbose([“Start() done, status: “,this._status,”tag: “,t._tag].join(“”))},t.prototype.Stop=function(){if(this._status<a.Initialized)throw new r(i.DATARV_ERROR_INVALID_STATUS);return this._Verbose("Stop(), status: "+this._status),this._status==a.Initialized?void this._Verbose("Stop() already, ignore"):(this._Reset(),this._status=a.Initialized,void this._Verbose("Stop() done, status: "+this._status))},t.prototype.Pause=function(){this._isPaused=!0,this._CleanTimer()},t.prototype.Resume=function(){this._isPaused=!1,this._eventsCache.IsEmpty()||this._timer||this._ScheduleTimer(!1)},t.prototype.Flush=function(e){this._eventsCache.IsEmpty()||this._WorkThread(e,!0)},t.prototype.SendAsync=function(e,n){if(this._status<a.Initialized)throw new r(i.DATARV_ERROR_INVALID_STATUS);if(this._Verbose(["SendAsync(), status:",this._status,"tenantToken:",e,"count:",n.length].join(" ")),this._status<a.Started)return this._Info("SendAsync(), not started, ignore, return false"),!1;if(!e||!n)throw this._Error("SendAsync(), tenantToken or events is null or empty"),new r(i.DATARV_ERROR_INVALID_ARG);for(var o=0;o<n.length;++o)if(!n[o].Id||!t._eventTypeRegex.test(n[o].EventType)||n[o].Timestamp.Equals("0"))throw this._Error(["eventId:",n[o].Id,"eventType:",n[o].EventType,"timestamp high:",n[o].Timestamp.high,"timestamp low:",n[o].Timestamp.low].join("")),new r(i.DATARV_ERROR_INVALID_EVENT);return this._eventsCache.AddEvents(e,n),this._Verbose(["SendAsync(), currentTimer: ",this._timer,"eventsCacheIsEmpty",this._eventsCache.IsEmpty()].join(" ")),this._eventsCache.IsEmpty()||this._timer||this._ScheduleTimer(!1),this._Verbose("SendAsync() done"),!0},t.prototype._WorkThread=function(e,n){var i=this;try{if(this._Verbose("_WorkThread, status: "+this._status),this._status<a.Started)return void this._Verbose("_WorkThread, status is not started, return");var r=this._eventsCache.DequeuEvents();if(null==r)return this._Verbose("_WorkThread, No events found, return"),void this._CleanTimer();var o=this._PackEvents(r.tenantToken,r.events);if(this._eventsCache.AddEvents(r.tenantToken,o.remainedEvents),null==o.buffer||0==o.buffer.length)return void(this._eventsCache.IsEmpty()?(this._Verbose("eventsCache is empty, stop schedule"),this._CleanTimer()):(this._Verbose("eventsCache is not empty, schedule for next run"),this._ScheduleTimer(!1)));if(this._testServerResponseHook){var s=this._testServerResponseHook();return void setTimeout(this._SendCallback(d,r.tenantToken,o.sendEvents,s,!1,null),100)}var u={type:"POST",url:this._config.collectorUrl,processData:!1,headers:{"content-type":"application/bond-compact-binary","client-id":"NO_AUTH","sdk-version":"ACT-Web-JS-"+clienttelemetry_build.version},complete:function(t){return i._SendCallback(d,r.tenantToken,o.sendEvents,t,n,e)}};sct.Utils.IsUint8ArrSupported()?(this._Verbose("Uint8Array is defined, send with binary format directly."),u.data=new Uint8Array(o.buffer)):(this._Verbose("Uint8Array is undefined, send with base64 encode."),u.data=Microsoft.Bond.Encoding.Base64.GetString(o.buffer),u.headers["content-encoding"]="base64"),r.tenantToken&&(u.headers["x-apikey"]=r.tenantToken);var d=t._tag;this._lastActiveTime=(new Date).getTime(),sct.Utils.ajax(u,n),this._Verbose("_Workthread, send via jquery, tag: "+d)}catch(e){this._Error("_WorkThread, exception: "+e)}},t.prototype._PackEvents=function(t,n){this._Verbose("_PackageEvents, total Count: "+n.length);var i=new e.datamodels.ClientToCollectorRequest,r=new e.datamodels.DataPackage;r.Source="JS_default_source",r.DataPackageId=e.datamodels.utils.GetGuid(),r.Timestamp=e.datamodels.utils.GetTimeStamp();var o,s=n;for(n=[];;){if(r.Records=[],r.Records.push.apply(r.Records,s),i.DataPackages=[],i.DataPackages.push(r),o=this._Serialize(i),this._Verbose(["_PackageEvents, sendEvents.length:",s.length,"buffer.length:",o.length,"MaxPackageSize:",this._MaxPackageSizeInBytes].join("")),o.length=200&&o.status<300;if(this._status<a.Started||e<t._tag)return void this._Verbose("_SendCallback, is not started, or tag is not the same, return");if(!d&&(!o||o.status&&400!=o.status))return this._Verbose("retry statusCode: "+(o?o.status:0)),this._eventsCache.AddEvents(i,r),void this._ScheduleTimer(!0);for(var c=0;c<this._listeners.length;++c)this._listeners[c](d?n.SENT:n.SEND_FAILED,o?o.status:0,i,r);this._eventsCache.IsEmpty()?(this._Verbose("eventsCache is empty, stop schedule"),this._CleanTimer()):(this._Verbose("eventsCache is not empty, schedule for next run"),this._ScheduleTimer(!1))}},t.prototype._CleanTimer=function(){
this._Verbose("_CleanTimer(), timer: "+this._timer),this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._ScheduleTimer=function(e){var t=this;if(!this._isPaused)if(this._Verbose("_ScheduleTimer: isRetry: "+e),this._CleanTimer(),e){this._Verbose("_ScheduleTimer, current factor: "+this._rescheduleFactor);var n=Math.floor(5*this._rescheduleFactor*(1+Math.random()));this._timer=setTimeout(function(){return t._WorkThread(null,!1)},1e3*n),this._Verbose("_ScheduleTimer, next try (s): "+n),this._rescheduleFactor<64&&(this._rescheduleFactor=1)}else{var n=0,i=(new Date).getTime(),r=i-this._lastActiveTime;n=r>u.TimeIntervalForNextSendInMS()?0:u.TimeIntervalForNextSendInMS()-r,this._timer=setTimeout(function(){return t._WorkThread(null,!1)},n),this._Verbose(“_ScheduleTimer, next try: “+n),this._rescheduleFactor=1}},t.prototype._Verbose=function(e){this._config.log&&this._config.log.Verbose(“[TelemetryManagerImpl]: “+e)},t.prototype._Info=function(e){this._config.log&&this._config.log.Info(“[TelemetryManagerImpl]: “+e)},t.prototype._Error=function(e){this._config.log&&this._config.log.Error(“[TelemetryManagerImpl]: “+e)},t.prototype._Reset=function(){this._Verbose(“Reset()”),this._CleanTimer(),this._lastActiveTime=0,this._rescheduleFactor=1,this._sendingEvents=[],this._eventsCache=new c},t.prototype.__GetListenerArray=function(){return this._listeners},t.prototype.__GetTotalEventsCount=function(){return this._eventsCache.GetTotalEventsCount()},t.prototype.__IsScheduled=function(){return null!=this._timer},t.prototype.__ChageMaxPackageSizeInKB=function(e){this._MaxPackageSizeInBytes=1024*e},t.prototype.__SetTestServerResponseHook=function(e){this._testServerResponseHook=e},t._eventTypeRegex=/^[a-zA-Z0-9]([a-zA-Z0-9]|_){2,98}[a-zA-Z0-9]$/,t._tag=0,t}(),c=function(){function e(){this._events={},this._tokens=[]}return e.prototype.AddEvents=function(e,t){t.length&&(this._events[e]||(this._events[e]=[],this._tokens.push(e)),this._events[e].push.apply(this._events[e],t))},e.prototype.IsEmpty=function(){return 0==this._tokens.length},e.prototype.DequeuEvents=function(){if(0==this._tokens.length)return null;var e=this._tokens.shift(),t=this._events[e];return delete this._events[e],{tenantToken:e,events:t}},e.prototype.GetTotalEventsCount=function(){var e=0;for(var t in this._events)e+=this._events[t].length;return e},e}()}(t=e._sender||(e._sender={}))}(t=e.telemetry||(e.telemetry={}))}(t=e.applications||(e.applications={}))}(microsoft||(microsoft={}));var microsoft;!function(e){var t;!function(t){var n;!function(t){var n=t._sender.TelemetryManagerFactory.CreateTelemetryManager(),i=function(){function e(){this.collectorUrl=null,this.enableAutoUserSession=!1,this.browserOverrides=new r}return e}();t.LogConfiguration=i;var r=function(){function e(){this.onSaveData=null,this.onGetData=null}return e}();t.LogConfigurationBrowserOverrides=r;var o=function(){function e(){this.value=null,this.pii=null}return e._isPii=function(e){return null!==e&&void 0!==e&&e!==t.datamodels.PIIKind.NotSet&&!isNaN(e)&&void 0!==t.datamodels.PIIKind[e]},e}(),s=function(){function e(){this.name=null,this.timestamp=null,this.properties={},this.eventType=null}return e.prototype.setProperty=function(n,i,r){if(!n||!e._propertyNameRegex.test(n))throw new u(a.INVALID_PROPERTY_NAME);r?this.properties[n]={value:i,pii:r!=t.datamodels.PIIKind.NotSet?r:null}:this.properties[n]={value:i,pii:null}},e._propertyNameRegex=/^[a-zA-Z0-9](([a-zA-Z0-9|_|.]){0,98}[a-zA-Z0-9])?$/,e}();t.EventProperties=s,function(e){e[e.INVALID_TENANT_TOKEN=1]=”INVALID_TENANT_TOKEN”,e[e.MISSING_EVENT_PROPERTIES_NAME=2]=”MISSING_EVENT_PROPERTIES_NAME”,e[e.INVALID_PROPERTY_NAME=3]=”INVALID_PROPERTY_NAME”,e[e.MISSING_FAILURE_SIGNATURE=5]=”MISSING_FAILURE_SIGNATURE”,e[e.MISSING_FAILURE_DETAIL=6]=”MISSING_FAILURE_DETAIL”,e[e.MISSING_PAGEVIEW_ID=7]=”MISSING_PAGEVIEW_ID”,e[e.MISSING_PAGEVIEW_NAME=8]=”MISSING_PAGEVIEW_NAME”,e[e.INVALID_SESSION_STATE=9]=”INVALID_SESSION_STATE”,e[e.INVALID_CONFIGURATION_USE_CUSTOM_GET_SET=10]=”INVALID_CONFIGURATION_USE_CUSTOM_GET_SET”}(t.TelemetryError||(t.TelemetryError={}));var a=t.TelemetryError,u=function(){function e(e){this.errorCode=null,this.errorCode=e}return e.prototype.ErrorCode=function(){return this.errorCode},e.prototype.toString=function(){switch(this.errorCode){case a.INVALID_TENANT_TOKEN:return”Invalid tenant token”;case a.MISSING_EVENT_PROPERTIES_NAME:return”Eventproperties.name can not be null or empty”;case a.INVALID_PROPERTY_NAME:return”Invalid Key. Key does not conform to regular expression ^[a-zA-Z0-9](([a-zA-Z0-9|_|.]){0,98}[a-zA-Z0-9])?$”;case a.MISSING_FAILURE_SIGNATURE:return”Failure signature can’t be null or empty.”;case a.MISSING_FAILURE_DETAIL:return”Failure detail can’t be null or empty.”;case a.MISSING_PAGEVIEW_ID:return”Pageview id can’t be null or empty.”;case a.MISSING_PAGEVIEW_NAME:return”Pageview name can’t be null or empty.”;case a.INVALID_SESSION_STATE:return”Session state has to be a value from the SessionState enum.”;case a.INVALID_CONFIGURATION_USE_CUSTOM_GET_SET:return”Invalid configuration provided during initialization. Both onGetConfigData and onSaveConfigData must be provided together. These are manditory when running in a non-brower enviornment”;default:return”Unknown error”}},e}();t.Exception=u;var d=function(){function n(e){this.contextMap={},this.piiKind=t.datamodels.PIIKind.NotSet,this._allowDeviceInfoFields=!1,this._allowDeviceInfoFields=e}return n.prototype.setAppId=function(e){e&&(this.contextMap[“AppInfo.Id”]=e)},n.prototype.setAppVersion=function(e){e&&(this.contextMap[“AppInfo.Version”]=e)},n.prototype.setAppLanguage=function(e){e&&(this.contextMap[“AppInfo.Language”]=e)},n.prototype.setDeviceId=function(e){e&&this._allowDeviceInfoFields&&(this.contextMap[“DeviceInfo.Id”]=e,c.checkAndUpdateDeviceId(e))},n.prototype.setDeviceOsName=function(e){e&&this._allowDeviceInfoFields&&(this.contextMap[“DeviceInfo.OsName”]=e)},n.prototype.setDeviceOsVersion=function(e){e&&this._allowDeviceInfoFields&&(this.contextMap[“DeviceInfo.OsVersion”]=e)},n.prototype.setDeviceBrowserName=function(e){e&&this._allowDeviceInfoFields&&(this.contextMap[“DeviceInfo.BrowserName”]=e)},n.prototype.setDeviceBrowserVersion=function(e){e&&this._allowDeviceInfoFields&&(this.contextMap[“DeviceInfo.BrowserVersion”]=e)},n.prototype.setUserId=function(t,n,i){if(t&&(this.contextMap[“UserInfo.Id”]=t),i)this.contextMap[“UserInfo.IdType”]=i;else{var r;switch(n){case e.applications.telemetry.datamodels.PIIKind.SipAddress:r=e.applications.telemetry.datamodels.UserIdType.SipAddress;break;case e.applications.telemetry.datamodels.PIIKind.PhoneNumber:r=e.applications.telemetry.datamodels.UserIdType.PhoneNumber;break;case e.applications.telemetry.datamodels.PIIKind.SmtpAddress:r=e.applications.telemetry.datamodels.UserIdType.EmailAddress;break;default:r=e.applications.telemetry.datamodels.UserIdType.Unknown}this.contextMap[“UserInfo.IdType”]=r}if(n)o._isPii(n)&&(this.piiKind=n);else{var s;switch(i){case e.applications.telemetry.datamodels.UserIdType.Skype:s=e.applications.telemetry.datamodels.PIIKind.Identity;break;case e.applications.telemetry.datamodels.UserIdType.EmailAddress:s=e.applications.telemetry.datamodels.PIIKind.SmtpAddress;break;case e.applications.telemetry.datamodels.UserIdType.PhoneNumber:s=e.applications.telemetry.datamodels.PIIKind.PhoneNumber;break;case e.applications.telemetry.datamodels.UserIdType.SipAddress:s=e.applications.telemetry.datamodels.PIIKind.SipAddress;break;default:s=e.applications.telemetry.datamodels.PIIKind.NotSet}o._isPii(s)&&(this.piiKind=s)}},n.prototype.setUserMsaId=function(e){e&&(this.contextMap[“UserInfo.MsaId”]=e)},n.prototype.setUserANID=function(e){e&&(this.contextMap[“UserInfo.ANID”]=e)},n.prototype.setUserAdvertisingId=function(e){e&&(this.contextMap[“UserInfo.AdvertisingId”]=e)},n.prototype.setUserTimeZone=function(e){e&&(this.contextMap[“UserInfo.TimeZone”]=e)},n.prototype.setUserLanguage=function(e){e&&(this.contextMap[“UserInfo.Language”]=e)},n}();t.SemanticContext=d;var c=function(){function e(){}return e.initialize=function(n){this._overrides=n;var i=e._getAppLanguage();i&&e.semanticContext.setAppLanguage(i);var r=e._getUserLanguage();r&&e.semanticContext.setUserLanguage(r);var o=(new Date).getTimezoneOffset(),s=o%60,a=(o-s)/60,u=”+”;a>0&&(u=”-“),a=Math.abs(a),s=Math.abs(s),e.semanticContext.setUserTimeZone(u+(a<10?"0"+a:a.toString())+":"+(s<10?"0"+s:s.toString()));var d=e._getUserAgent();d&&(e.semanticContext.setDeviceBrowserName(e._getBrowserName()),e.semanticContext.setDeviceBrowserVersion(e._getBrowserVersion()),e.semanticContext.setDeviceOsName(e._getOsName()),e.semanticContext.setDeviceOsVersion(e._getOsVersion()));var c=e._getData(e.DEVICE_ID_COOKIE);c&&""!=c||(c=t.datamodels.utils.GetGuid()),e.semanticContext.setDeviceId(c)},e.checkAndUpdateDeviceId=function(t){var n=e._getData(e.DEVICE_ID_COOKIE);n!=t&&(e._saveData(e.DEVICE_ID_COOKIE,t),e._saveData(e.FIRST_LAUNCH_TIME_COOKIE,(new Date).getTime().toString()));var i=e._getData(e.FIRST_LAUNCH_TIME_COOKIE);e.firstLaunchTime=parseInt(i)},e._saveData=function(e,t){if(this._overrides.onSaveData)this._overrides.onSaveData(e,t);else if("undefined"!=typeof document&&document.cookie){var n="expires=Mon, 31 Dec 2029 23:59:59 GMT";document.cookie=e+"="+t+"; "+n}},e._getData=function(e){if(this._overrides.onGetData)return this._overrides.onGetData(e)||"";if("undefined"!=typeof document&&document.cookie)for(var t=e+"=",n=document.cookie.split(";"),i=0;i-1},e._isIe=function(){return e._userAgentContainsString(“Trident”)},e._isEdge=function(){return e._userAgentContainsString(e.BROWSERS.EDGE)},e._isOpera=function(){return e._userAgentContainsString(“OPR/”)},e._getBrowserName=function(){return e._isOpera()?e.BROWSERS.UNKNOWN:e._userAgentContainsString(e.BROWSERS.PHANTOMJS)?e.BROWSERS.PHANTOMJS:e._isEdge()?e.BROWSERS.EDGE:e._userAgentContainsString(e.BROWSERS.ELECTRON)?e.BROWSERS.ELECTRON:e._userAgentContainsString(e.BROWSERS.CHROME)?e.BROWSERS.CHROME:e._userAgentContainsString(e.BROWSERS.FIREFOX)?e.BROWSERS.FIREFOX:e._userAgentContainsString(e.BROWSERS.SAFARI)?e.BROWSERS.SAFARI:e._userAgentContainsString(e.BROWSERS.SKYPE_SHELL)?e.BROWSERS.SKYPE_SHELL:e._isIe()?e.BROWSERS.MSIE:e.BROWSERS.UNKNOWN},e._getBrowserVersion=function(){function t(){var t,n=e._getUserAgent(),i=n.match(new RegExp(e.BROWSERS.MSIE+” “+e.REGEX_VERSION));return i?i[1]:(t=n.match(new RegExp(“rv:”+e.REGEX_VERSION)))?t[1]:void 0}function n(t){var n;return t===e.BROWSERS.SAFARI&&(t=”Version”),n=e._getUserAgent().match(new RegExp(t+”/”+e.REGEX_VERSION)),n?n[1]:e.UNKNOWN_VERSION}return e._isIe()?t():n(e._getBrowserName())},e._getOsName=function(){var t=/(windows|win32)/i,n=/ arm;/i,i=/windowssphonesd+.d+/i,r=/(macintosh|mac os x)/i,o=/(iPad|iPhone|iPod)(?=.*like Mac OS X)/i,s=/(linux|joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk)/i,a=/android/i;return e._getUserAgent().match(i)?e.OPERATING_SYSTEMS.WINDOWS_PHONE:e._getUserAgent().match(n)?e.OPERATING_SYSTEMS.WINDOWS_RT:e._getUserAgent().match(o)?e.OPERATING_SYSTEMS.IOS:e._getUserAgent().match(a)?e.OPERATING_SYSTEMS.ANDROID:e._getUserAgent().match(s)?e.OPERATING_SYSTEMS.LINUX:e._getUserAgent().match(r)?e.OPERATING_SYSTEMS.MACOSX:e._getUserAgent().match(t)?e.OPERATING_SYSTEMS.WINDOWS:e.OPERATING_SYSTEMS.UNKNOWN},e._getOsVersion=function(){function t(){var t=e._getUserAgent().match(new RegExp(“Windows NT “+e.REGEX_VERSION));return t&&e.VERSION_MAPPINGS[t[1]]?e.VERSION_MAPPINGS[t[1]]:e.UNKNOWN_VERSION}function n(){var t=e._getUserAgent().match(new RegExp(e.OPERATING_SYSTEMS.MACOSX+” “+e.REGEX_VERSION_MAC));if(t){var n=t[1].replace(/_/g,”.”),r=[];if(n){var o=i(n);return o?(r=n.split(o),r[0]):n}}return e.UNKNOWN_VERSION}function i(e){return e.indexOf(“.”)>-1?”.”:e.indexOf(“_”)>-1?”_”:null}return e._getOsName()===e.OPERATING_SYSTEMS.WINDOWS?t():e._getOsName()===e.OPERATING_SYSTEMS.MACOSX?n():e.UNKNOWN_VERSION},e.semanticContext=new d((!0)),e.firstLaunchTime=-1,e.BROWSERS={MSIE:”MSIE”,CHROME:”Chrome”,FIREFOX:”Firefox”,SAFARI:”Safari”,EDGE:”Edge”,ELECTRON:”Electron”,SKYPE_SHELL:”SkypeShell”,PHANTOMJS:”PhantomJS”,UNKNOWN:”Unknown”},e.OPERATING_SYSTEMS={WINDOWS:”Windows”,MACOSX:”Mac OS X”,WINDOWS_PHONE:”Windows Phone”,WINDOWS_RT:”Windows RT”,IOS:”iOS”,ANDROID:”Android”,LINUX:”Linux”,UNKNOWN:”Unknown”},e.VERSION_MAPPINGS={5.1:”XP”,”6.0″:”Vista”,6.1:”7″,6.2:”8″,6.3:”8.1″,”10.0″:”10″},e.REGEX_VERSION=”([\d,.]+)”,e.REGEX_VERSION_MAC=”([\d,_,.]+)”,e.UNKNOWN_VERSION=”Unknown”,e.DEVICE_ID_COOKIE=”MicrosoftApplicationsTelemetryDeviceId”,e.FIRST_LAUNCH_TIME_COOKIE=”MicrosoftApplicationsTelemetryFirstLaunchTime”,e}();!function(e){e[e.STARTED=0]=”STARTED”,e[e.ENDED=1]=”ENDED”}(t.SessionState||(t.SessionState={}));var l=t.SessionState,_=function(){function e(){}return e.initialize=function(t,i){if(!e._initialized){if(!t)throw new u(a.INVALID_TENANT_TOKEN);if(e._defaultToken=t,e._tmConfig.collectorUrl=”https://browser.pipe.aria.microsoft.com/Collector/3.0/”,e._configuration=i,!(“undefined”!=typeof window||i&&i.browserOverrides&&i.browserOverrides.onGetData))throw new u(a.INVALID_CONFIGURATION_USE_CUSTOM_GET_SET);var o=new r;if(i&&(i.collectorUrl&&(e._tmConfig.collectorUrl=i.collectorUrl),i.browserOverrides)){if(i.browserOverrides.onGetData?!i.browserOverrides.onSaveData:!!i.browserOverrides.onSaveData)throw new u(a.INVALID_CONFIGURATION_USE_CUSTOM_GET_SET);o.onGetData=i.browserOverrides.onGetData,o.onSaveData=i.browserOverrides.onSaveData}n.Initialize(e._tmConfig),n.Start(),c.initialize(o),e._initialized=!0,”undefined”!=typeof window&&window.addEventListener&&(i&&i.enableAutoUserSession&&(e._logger=new f,e._logger.logSession(l.STARTED)),window.addEventListener(“beforeunload”,e._teardown))}},e.pauseTransmission=function(){n.Pause()},e.resumeTransmission=function(){n.Resume()},e.flush=function(e){n.Flush(e)},e.addCallbackListener=function(t){e._initialized&&n.AddListener(t)},e.setContext=function(t,n,i){e._contextProperties.setProperty(t,n,i)},e.isInitialized=function(){return e._initialized},e.getDefaultToken=function(){return e._defaultToken},e.getSemanticContext=function(){return e._semanticContext},e._getInitIdForToken=function(n){return e._initIdMap[n]||(e._initIdMap[n]=t.datamodels.utils.GetGuid()),e._initIdMap[n]},e._getSequenceForToken=function(t){return e._sequenceMap[t]||(e._sequenceMap[t]=0),e._sequenceMap[t]++,e._sequenceMap[t]},e._teardown=function(){e._logger&&e._logger.logSession(l.ENDED),e.flush()},e.__backToUninitialized=function(){e._tmConfig=new t._sender.TelemetryConfig,e._semanticContext=new d((!0)),e._contextProperties=new s,e._configuration=null,n=t._sender.TelemetryManagerFactory.CreateTelemetryManager(),e._initialized=!1,e._initIdMap={},e._sequenceMap={}},e._initialized=!1,e._defaultToken=null,e._tmConfig=new t._sender.TelemetryConfig,e._logger=null,e._initIdMap={},e._sequenceMap={},e._configuration=null,e._contextProperties=new s,e._semanticContext=new d((!0)),e}();t.LogManager=_;var f=function(){function e(e){this._initId=null,this._tenantToken=null,this._contextProperties=new s,this._semanticContext=new d((!1)),this._sessionStartTime=0,this._sessionId=null,e?this._tenantToken=e:this._tenantToken=_.getDefaultToken(),this._initId=_._getInitIdForToken(this._tenantToken)}return e.prototype.logEvent=function(e){if(!e.name)throw new u(a.MISSING_EVENT_PROPERTIES_NAME);var t=this._createEventRecord(e.name,e.eventType);this._addPropertiesAndSendEvent(t,e)},e.prototype.logFailure=function(e,t,n,i,r){if(!e)throw new u(a.MISSING_FAILURE_SIGNATURE);if(!t)throw new u(a.MISSING_FAILURE_DETAIL);var o=this._createEventRecord(“failure”,”failure”);o.Extension.Add(“Failure.Signature”,e),o.Extension.Add(“Failure.Detail”,t),n&&o.Extension.Add(“Failure.Category”,n),i&&o.Extension.Add(“Failure.Id”,i),this._addPropertiesAndSendEvent(o,r)},e.prototype.logPageView=function(e,t,n,i,r,o){if(!e)throw new u(a.MISSING_PAGEVIEW_ID);if(!t)throw new u(a.MISSING_PAGEVIEW_NAME);var s=this._createEventRecord(“pageview”,”pageview”);s.Extension.Add(“PageView.Id”,e),s.Extension.Add(“PageView.Name”,t),n&&s.Extension.Add(“PageView.Category”,n),i&&s.Extension.Add(“PageView.Uri”,i),r&&s.Extension.Add(“PageView.ReferrerUri”,r),this._addPropertiesAndSendEvent(s,o)},e.prototype.logSession=function(e,n){if(e!==l.STARTED&&e!==l.ENDED)throw new u(a.INVALID_SESSION_STATE);var i=this._createEventRecord(“session”,”session”);if(e===l.STARTED){if(this._sessionStartTime>0)return;this._sessionStartTime=(new Date).getTime(),this._sessionId=t.datamodels.utils.GetGuid(),i.Extension.Add(“Session.Id”,this._sessionId),i.Extension.Add(“Session.State”,”Started”)}else if(e===l.ENDED){if(0==this._sessionStartTime)return;var r=Math.floor(((new Date).getTime()-this._sessionStartTime)/1e3);i.Extension.Add(“Session.Duration”,r.toString()),i.Extension.Add(“Session.DurationBucket”,this._getSessionDurationFromTime(r)),i.Extension.Add(“Session.Id”,this._sessionId),i.Extension.Add(“Session.State”,”Ended”),this._sessionId=null,this._sessionStartTime=0}i.Extension.Add(“Session.FirstLaunchTime”,this._getISOString(new Date(c.firstLaunchTime))),this._addPropertiesAndSendEvent(i,n)},e.prototype.getSessionId=function(){return this._sessionId},e.prototype.setContext=function(e,t,n){this._contextProperties.setProperty(e,t,n)},e.prototype.getSemanticContext=function(){return this._semanticContext},e.prototype._getSessionDurationFromTime=function(e){return e<0?"Undefined":e<=3?"UpTo3Sec":e<=10?"UpTo10Sec":e<=30?"UpTo30Sec":e<=60?"UpTo60Sec":e<=180?"UpTo3Min":e<=600?"UpTo10Min":e<=1800?"UpTo30Min":"Above30Min"},e.prototype._createEventRecord=function(e,n){var i=new t.datamodels.Record;n||(n="custom"),i.EventType=e.toLowerCase(),i.Type=n.toLowerCase(),i.Extension.Add("EventInfo.Source","JS_default_source"),i.Extension.Add("EventInfo.InitId",this._initId),i.Extension.Add("EventInfo.Sequence",_._getSequenceForToken(this._tenantToken).toString()),i.Extension.Add("EventInfo.Name",e.toLowerCase());var r=new Date;return i.Timestamp=t.datamodels.utils.GetTimeStampWithValue(r.getTime()),i.Extension.Add("EventInfo.Time",this._getISOString(r)),i.Extension.Add("EventInfo.SdkVersion","ACT-Web-JS-"+clienttelemetry_build.version),i},e.prototype._getISOString=function(e){function t(e){return e<10?"0"+e:e.toString()}function n(e){return e<10?"00"+e:e=new Date(“1/1/2000″).getTime()&&(e.Timestamp=t.datamodels.utils.GetTimeStampWithValue(n.timestamp),e.Extension.AddOrReplace(“EventInfo.Time”,this._getISOString(new Date(n.timestamp)))),n.name&&(e.EventType=n.name.toLowerCase(),e.Extension.AddOrReplace(“EventInfo.Name”,n.name.toLowerCase()));var i=n.properties;if(i)for(var r in i)r&&(i[r].value||i[r].value===!1||0==i[r].value||””==i[r].value)&&(o._isPii(i[r].pii)?(e.AddOrReplacePII(r,i[r].value.toString(),i[r].pii),e.Extension.Remove(r)):(e.Extension.AddOrReplace(r,i[r].value.toString()),e.PIIExtensions.Remove(r)))}},e.prototype._addPropertiesAndSendEvent=function(e,t){this._addCustomPropertiesToEvent(e,t),_.isInitialized()&&(this._sanitizeName(e),n.SendAsync(this._tenantToken,[e]))},e.prototype._sanitizeName=function(e){var t=e.EventType.replace(/./g,”_”);e.EventType=t,e.Extension.AddOrReplace(“EventInfo.Name”,t)},e}();t.Logger=f}(n=t.telemetry||(t.telemetry={}))}(t=e.applications||(e.applications={}))}(microsoft||(microsoft={})),”undefined”!=typeof module&&(module.exports=microsoft.applications.telemetry);
window.scriptsLoaded[‘aria-web-telemetry.js’] = 1; window.scriptProcessEnd = window.scriptProcessEnd || {}; window.scriptProcessEnd[‘aria-web-telemetry.js’] = (new Date()).getTime(); } catch(e) { window.owaLastErrorReported = e; throw e; }

var LT_ANY=”Any”;var LT_MOUSE=”Mouse”;var LT_TNARROW=”TNarrow”;var LT_TWIDE=”TWide”;var layout,bootTraceTimerId,cdnEndPointName,lcver,readingPaneOn,parseEndTimes={},owaRedirecting;function getQueryStr(){return window.location.search?window.location.search:””}function isPalEnabled(){var n=getQueryStr();return document.cookie.indexOf(“PALEnabled”)!=-1||n.indexOf(“palenabled=1″)!=-1}function validateLocalStorage(){if(isLocalStorageEnabled==undefined)try{if(window.localStorage!=null){window.localStorage.dummy=”dummy”;window.localStorage.removeItem(“dummy”);isLocalStorageEnabled=!0}else isLocalStorageEnabled=!1}catch(n){isLocalStorageEnabled=!1}return isLocalStorageEnabled}var isLocalStorageEnabled=validateLocalStorage();function getLocalStorageValue(n){return validateLocalStorage()?window.localStorage[n]:undefined}function setLocalStorageValue(n,t){if(!validateLocalStorage())return undefined;var i=window.localStorage[n];window.localStorage[n]=t;return i}function deleteLocalStorageValue(n){if(!validateLocalStorage())return undefined;var t=window.localStorage[n];t&&delete window.localStorage[n];return t}function getCookie(n){var t=new RegExp(“(?:^|; )”+encodeURIComponent(n)+”=([^;]*)”).exec(document.cookie);return t?decodeURIComponent(t[1]):null}function eraseCookie(n,t){document.cookie=n+”=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain=”+t+”; path=/”}function loadSlabSources(n,t,i){n!==””&&n[n.length-1]!=”/”&&(n+=”/”);for(var r=0;r<t.length;r++){var f=t[r];var u=n+f.name;document.write("”)}}function userEnabledOffline(){if(isPalEnabled())return!0;else if(isLocalStorageEnabled){var n=window.localStorage.userEnabledOffline||””;return n!==”false”&&n!=null&&n!=””}}function updateStatusText(n,t){if(!isPopOut){var i=document.getElementById(“statusText”);if(i){i.className=n;window.setTimeout(function(){i.className==n&&(i.className=n+”Delay”)},t*1e3)}}}function appendQueryWhenBootError(n){var t=getQueryStr();(t.indexOf(“aC=1″)>=0||t.indexOf(“bFS=1″)>=0)&&n.indexOf(“?”)==-1&&(n=n+”?bO=1″);return n}function includeScripts(n,t,i,r,u,f){for(var s=0;s<t.length;s++){var l=t[s];var h=l.fileName;var e=n+h;e=appendQueryWhenBootError(e);var c=document.getElementsByTagName("head")[0];if(!c.querySelector("script[src='"+e+"']"))if(r){var o=document.createElement("script");o.type="text/javascript";o.src=e;o.onload=u;o.onerror=f;c.appendChild(o)}else{document.write("”);document.write(“parseEndTimes[‘”+getFileName(h)+”‘] = ((new Date()) – window.dateZero);”)}}}function addCssLink(n){if(document.createStyleSheet)document.createStyleSheet(n);else{var i=document.getElementsByTagName(“head”)[0];var t=document.createElement(“link”);t.setAttribute(“href”,n);t.setAttribute(“rel”,”stylesheet”);t.setAttribute(“type”,”text/css”);i.appendChild(t)}}function includeStyles(n,t,i){var s=window.matchMedia&&window.matchMedia(“screen and (-webkit-min-device-pixel-ratio: 2)”)&&window.matchMedia(“screen and (-webkit-min-device-pixel-ratio: 2)”).matches;n!==””&&n[n.length-1]!=”/”&&(n+=”/”);for(var o=i.length,f=0;f1024&&(t=t.substring(0,1024))}var f;var c;var l;var h;var e;var o;var s;try{f=window.owaSD.getResponseHeader(“X-OWAErrorMessageID”);c=window.owaSD.getResponseHeader(“request-id”);l=window.owaSD.getResponseHeader(“X-InnerException”);e=window.owaSD.getResponseHeader(“X-OWA-CorrelationId”);o=window.owaSD.getResponseHeader(“X-FEServer”);h=window.owaSD.clientRequestId;s=window.traceMguid}catch(y){}f||(f=n);suppressErrorRedirect()||redirectToUrl(“/owa/auth/errorfe.aspx?owaError=”+n+”;”+t+”&owaVer=”+i+”&be=”+r+”&msg=”+f+”&reqid=”+c+”&inex=”+l+”&creqid=”+h+”&fe=”+o+”&cid=”+e+”&MDB=”+s)}}else{postBootTrace(n,t);trackRebootReason(“9″);redirect(“bFS”,”1″)}else{postBootTrace(n,t);trackRebootReason(“8″);redirect(“bO”,”1″)}else{postBootTrace(n,t);trackRebootReason(“1″);redirect(“bO”,”1″)}}catch(y){if(!suppressErrorRedirect()){var a=y.message+”;”+y.stack;redirectToUrl(“/owa/auth/errorfe.aspx?owaError=Unknown;handle boot error failed;”+a+”&owaVer=”+i+”&be=”+r)}}}function onScriptLoadError2(n){var t=”Failed to load script: “;n&&(t+=n.src);handleBootError2(“ScriptLoadError”,t,null)}function htmlDec(n){var t=document.createElement(“div”);t.innerHTML=n;return t.innerText||t.textContent}function loadScripts(n,t,i,r,u){for(var f=0;f=0)return n;n=r[0].indexOf(“?”)>=0?r[0]+”&”+u+f:r[0]+”?”+u+f;return n}function isMajorVersionChanged(n,t){if(n==null||t==null)return!0;var r=n.split(“.”);var u=t.split(“.”);if(r.length<3||u.length<3)return n!=t;for(var i=0;i0){for(var w=””,s=0;s0&&(e=”&”+perfData[1]+e);perfData[2].length>0&&(e=perfData[2]+e);c.send(e);if(b){r=r+(u?”&refUrl=”+u:””)+(f?”&edgeRef=”+f:””)+(t?”&Err=”+encodeURIComponent(t):””);r.length>4096&&(r=r.substring(0,4096));var h=new XMLHttpRequest;h.open(“GET”,b+r);h.timeout=5e3;h.send()}if(window.ariaLoggingEnabled){microsoft.applications.telemetry.LogManager.initialize(window.ariaTenantToken);defaultLogger=new microsoft.applications.telemetry.Logger;var i=new microsoft.applications.telemetry.EventProperties;var it=g==”0″?”OwaBootError”:”OwaBootFatalError”;var rt=r+”&perfData=”+perfData[0];var y=!1;if(n.indexOf(“success”)<0&&n!="AuthRedirect"){y=!0;i.name=it}else i.name=n=="AuthRedirect"?"AuthRedirect":"OwaBootSuccess";window.owaSD&&i.setProperty("HttpStatusCode",window.owaSD.status);i.setProperty("Source","client");i.setProperty("ClientId",window.clientId);i.setProperty("RequestId",window.corrId);i.setProperty("NetId",window.owaUserNetId);i.setProperty("MDB",window.traceMguid);i.setProperty("MachineName",l);i.setProperty("Forest",p);i.setProperty("DAG",o);i.setProperty("FEServer",a);i.setProperty("Edge",v);i.setProperty("Message",n);i.setProperty("MiscData",rt);if(y)if(t!=null&&(n=="SDServerErr"||n=="SDCompositeError"||n=="USRCompositeServerErr"||n=="USRCompositeAuthErr"||n=="USRCompositeBeginErr"||n=="SDAuthErr"))i.setProperty("Exception",encodeURIComponent(t));else{i.setProperty("Exception",n);i.setProperty("StackTrace",encodeURIComponent(t))}defaultLogger.logEvent(i)}}catch(kt){}}function getPerformanceNumbers(n){var t=window.performance;typeof t!="undefined"&&typeof window.webkitPerformance!="undefined"&&(t=window.webkitPerformance);var r=[];var o=new Date-window.dateZero;r.push((n?"ALT=":"PLT=")+getPerformanceTimings(t?t.timing:null,o));r.push("nowTS="+o);if(t&&t.navigation){t.navigation.type!=null&&r.push("navtp="+t.navigation.type);t.navigation.redirectCount&&r.push("rdct="+t.navigation.redirectCount)}var s=getCookie("wlidperf");if(s){var u=s.split("&");for(i=0;i=0&&u[i].length==16){var h=u[i].substring(3,u[i].length);r.push(“authTS=”+h)}}eraseCookie(“wlidperf”,”.live.com”);var e=[];getResourceEntries(t,e);var f=””;isLocalStorageEnabled&&(f=window.localStorage.OwaStartupPerfTrace?window.localStorage.OwaStartupPerfTrace:””);return[r.join(“&”),e.join(“&”),f]}var renderStartTime=0;function setStartRenderTime(){renderStartTime=new Date-window.dateZero}var compositeUsrTime=0;function setCompositeUsrTime(){compositeUsrTime=new Date-window.dateZero}function getPerformanceTimings(n,t){var i=[],r=window.scriptStart;if(n){r=n.navigationStart;if(n.unloadEventStart){i.push(“uES”);i.push(n.unloadEventStart-r|0)}if(n.unloadEventEnd){i.push(“uEE”);i.push(n.unloadEventEnd-r|0)}r=fillTimingValues(n,r,i);if(window.owaSDReceivedTimeStamp){i.push(“sdR”);i.push(window.owaSDReceivedTimeStamp-r|0)}if(parseEndTimes.allBootScripts){i.push(“pEab”);i.push(parseEndTimes.allBootScripts-r|0)}if(parseEndTimes.allDone){i.push(“pE”);i.push(parseEndTimes.allDone-r|0)}if(renderStartTime){i.push(“rSt”);i.push(renderStartTime-r|0)}if(compositeUsrTime){i.push(“cUsr”);i.push(compositeUsrTime-r|0)}i.push(“now”);i.push(t-r)}if(window.scriptStart){i.push(“nowNoTim”);i.push(t-window.scriptStart|0);if(renderStartTime){i.push(“rStNoTim”);i.push(renderStartTime-window.scriptStart|0)}}return i.join(“,”)}function getResourceEntries(n,t){if(!n||!n.getEntries&&!n.webkitGetEntries)return null;for(var e=n.getEntries?n.getEntries():n.webkitGetEntries(),r=0;r0||i.name.lastIndexOf(“.ashx”)>0||i.name.lastIndexOf(“.png”)>0||i.name.lastIndexOf(“.gif”)>0||i.name.lastIndexOf(“.css”)>0||i.name.lastIndexOf(“.eot”)>0||i.name.lastIndexOf(“.ttf”)>0||i.name.lastIndexOf(“.htm”)>0||i.name.lastIndexOf(“.woff”)>0){var f=”Res=”+getFileName(i.name)+”,tim=”+getResourceTiming(i);var u=getFileName(i.name);parseEndTimes[u]&&(f+=”,pE,”+(parseEndTimes[u]-n.timing.fetchStart));t.push(f)}}}function getResourceTiming(n){var t=[];var i=n.startTime|0;t.push(“st”);t.push(i);fillTimingValues(n,i,t);return t.join(“,”)}function getFileName(n){var u=Math.max(n.lastIndexOf(“/”),n.lastIndexOf(“\”));var i=n.indexOf(“?”);var r=n.indexOf(“#”);var t=-1;t=i==-1||r==-1?Math.max(i,r):Math.min(i,r);t=t==-1?n.length:t;return n.substring(u+1,t)}function fillTimingValues(n,t,i){if(n.workerStart){i.push(“wktS”);i.push(n.workerStart-t|0)}if(n.redirectStart){i.push(“reds”);i.push(n.redirectStart-t|0)}if(n.redirectEnd){i.push(“redE”);i.push(n.redirectEnd-t|0)}if(n.fetchStart){i.push(“fS”);i.push(n.fetchStart-t|0);t=n.fetchStart}if(n.domainLookupStart){i.push(“dLS”);i.push(n.domainLookupStart-t|0)}if(n.domainLookupEnd){i.push(“dLE”);i.push(n.domainLookupEnd-t|0)}if(n.connectStart){i.push(“cS”);i.push(n.connectStart-t|0)}if(n.connectEnd){i.push(“cE”);i.push(n.connectEnd-t|0)}if(n.secureConnectionStart){i.push(“sCS”);i.push(n.secureConnectionStart-t|0)}if(n.requestStart){i.push(“reqS”);i.push(n.requestStart-t|0)}if(n.responseStart){i.push(“resS”);i.push(n.responseStart-t|0)}if(n.responseEnd){i.push(“resE”);i.push(n.responseEnd-t|0)}if(n.domLoading){i.push(“domL”);i.push(n.domLoading-t|0)}if(n.domContentLoadedEventStart){i.push(“domCLES”);i.push(n.domContentLoadedEventStart-t|0)}if(n.domContentLoadedEventEnd){i.push(“domCLEE”);i.push(n.domContentLoadedEventEnd-t|0)}if(n.domComplete){i.push(“domC”);i.push(n.domComplete-t|0)}if(n.loadEventStart){i.push(“lES”);i.push(n.loadEventStart-t|0)}if(n.loadEventEnd){i.push(“lEE”);i.push(n.loadEventEnd-t|0)}return t}function callPopOutErrorCallback(n){try{if(window.opener&&window.opener.popOutErrorCallbacks){var t=getParameterByName(“wid”);window.opener.popOutErrorCallbacks[t](n)}cleanupErrorCallback()}catch(i){}}function cleanupErrorCallback(){try{detachUnloadEvent();if(window.opener&&window.opener.popOutErrorCallbacks){var n=getParameterByName(“wid”);window.opener.popOutErrorCallbacks[n]=null}}catch(t){}}function getParameterByName(n){var i=new RegExp(“[\#&]”+n+”=([^&#]*)”);var t=i.exec(location.hash);return t==null?null:decodeURIComponent(t[1])}function detachUnloadEvent(){try{onunloadbeforeboot&&(window.detachEvent?window.detachEvent(“onunload”,onunloadbeforeboot):window.removeEventListener(“unload”,onunloadbeforeboot,!1))}catch(n){}}var pbar={};pbar.startTime=Date.now();pbar.s={plt:6500,maxTime:2e4,sLoad:.05,pltLSKey:”AvgPLT”};pbar.caculatecubic=function(n){var t=n/pbar.s.maxTime;t>1&&(t=1);return”cubic-bezier(“+t+”,.9,”+t+”,.9)”};pbar.startScriptLoad=function(){try{var i=getLocalStorageValue(pbar.s.pltLSKey);i&&(pbar.s.plt=parseInt(i));var n=document.getElementById(“progressBar”);if(n){var t=pbar.caculatecubic(pbar.s.plt);n.style.WebkitAnimationTimingFunction=t;n.style.animationTimingFunction=t}}catch(r){}};pbar.scriptLoadCompleted=function(){try{var n=document.getElementById(“progressBar”);var i=(Date.now()-pbar.startTime)/pbar.s.sLoad;if(i// // //