C WINDOWS SystemApps Microsoft - Windows.search Cw5n1h2txyewy Cache Desktop 6

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 15

var

__spreadArray,CoreUtilities,LoggerModule,VisibilityChangeHelperModule,HitHighlighti
ngParserImpl,DataSourceLayoutManager,ThresholdDiagnosticsProd,FailedPromise,Thresho
ldUtilitiesM2;_w.EventsToDuplicate=[];_w.useSharedLocalStorage=!1;define("shared",
["require","exports"],function(n,t){function s(n,t){for(var r=n.length,i=0;i<r;i+
+)t(n[i])}function r(n){for(var i=[],t=1;t<arguments.length;t++)i[t-
1]=arguments[t];return function(){n.apply(null,i)}}function u(n)
{i&&event&&(event.returnValue=!1);n&&typeof
n.preventDefault=="function"&&n.preventDefault()}function f(n)
{i&&event&&(event.cancelBubble=!0);n&&typeof
n.stopPropagation=="function"&&n.stopPropagation()}function e(n,t,i){for(var
r=0;n&&n.offsetParent&&n!=(i||
document.body);)r+=n["offset"+t],n=n.offsetParent;return r}function o(){return(new
Date).getTime()}function h(n){return i?event:n}function c(n){return i?event?
event.srcElement:null:n.target}function l(n){return i?event?
event.fromElement:null:n.relatedTarget}function a(n){return i?event?
event.toElement:null:n.relatedTarget}function v(n,t,i){while(n&&n!=(i||
document.body)){if(n==t)return!0;n=n.parentNode}return!1}function y(n)
{window.location.href=n}function p(n,t)
{n&&(n.style.filter=t>=100?"":"alpha(opacity="+t+")",n.style.opacity=t/
100)}t.__esModule=!
0;t.getTime=t.getOffset=t.stopPropagation=t.preventDefault=t.wrap=t.forEach=void
0;var
i=sb_ie;t.forEach=s;t.wrap=r;t.preventDefault=u;t.stopPropagation=f;t.getOffset=e;t
.getTime=o;window.sj_b=document.body;window.sb_de=document.documentElement;window.s
j_wf=r;window.sj_pd=u;window.sj_sp=f;window.sj_go=e;window.sj_ev=h;window.sj_et=c;w
indow.sj_mi=l;window.sj_mo=a;window.sj_we=v;window.sb_gt=o;window.sj_so=p;window.sj
_lc=y});define("env",["require","exports","shared"],function(n,t,i){function v(n,t)
{return t.length&&typeof n=="function"?function(){return
n.apply(null,t)}:n}function y(n,t){var
e=[].slice.apply(arguments).slice(2),i=v(n,e),u;return typeof
i=="function"&&(u=window.setImmediate&&!window.setImmediate.Override&&(!t||
t<=16)?"i"+setImmediate(i):o(i,t),f[r]=u,r=(r+1)%a),u}function p(n,t){var
r=[].slice.apply(arguments).slice(2),i=l(v(n,r),t);return
e[u]=i,u=(u+1)%a,i}function w()
{h.forEach(f,s);h.forEach(e,window.clearInterval);r=u=e.length=f.length=0}function
s(n){n!=null&&(typeof n=="string"&&n.indexOf("i")===0?
window.clearImmediate(parseInt(n.substr(1),10)):c(n))}var
h=i,f=[],e=[],o,c,l,a=1024,r=0,u=0;o=window.setTimeout;t.setTimeout=y;l=window.setI
nterval;t.setInterval=p;t.clear=w;c=window.clearTimeout;t.clearTimeout=s;window.sb_
rst=o;window.setTimeout=window.sb_st=y;window.setInterval=window.sb_si=p;window.cle
arTimeout=window.sb_ct=s});
/*!DisableJavascriptProfiler*/
define("event.custom",["require","exports"],function(n,t){function o(n){return
i[n]||(i[n]=[])}function s(n,t){n.d?setTimeout(function()
{n.apply(null,t)},n.d):n(t)}function l(){for(var t,n=0;n<u.length;n+
+)try{f.apply(null,u[n])}catch(i){t||(t=i)}return u=[],t}function a(n,t,r){var
u,f;for(u in i)f=r?t&&u.indexOf(t)===0:!(u.indexOf(c)===0)&&!
(t&&u.indexOf(t)===0)&&!(n!=null&&n[u]!=null),f&&delete i[u]}function f(n){for(var
f,h,v=[],e=1;e<arguments.length;e++)v[e-1]=arguments[e];if(n){n==="onPP"?r=!0:r||
window.fb_is!=null||(r=!0);var t=o(n),y=t.e=arguments,c=!1,i;for(f=0;f<t.length;f+
+)if(t[f].alive)if(t[f].beforeOnPP||r)try{s(t[f].func,y)}catch(a){i||(i=a)}else c||
(u.push(arguments),c=!0);if(n==="onPP"&&(h=l(),h&&!i&&(i=h)),i)throw i;}}function
e(n,t,i,u,f){if(n){var e=o(n);t&&(t.d=u,e.push({func:t,alive:!
0,beforeOnPP:f}),i&&e.e&&(f||r)&&s(t,e.e))}}function h(n,t){for(var
r=i[n],u=0;r&&u<r.length;u++)if(r[u].func==t&&r[u].alive){r[u].alive=!
1;break}}t.__esModule=!0;t.unbind=t.bind=t.fire=t.reset=void 0;var i={},r=!
1,u=[],c="ajax.";t.reset=a;t.fire=f;t.bind=e;t.unbind=h;window.sj_evt={bind:e,unbin
d:h,fire:f};e("onPP",function(){window.fb_is&&window.fb_is()},!
0)});define("event.native",["require","exports"],function(n,t){function r(n,t,r,u)
{var f=n===window||n===document||n===document.body;n&&(f&&t=="load"?
i.bind("onP1",r,!0):f&&t=="unload"?i.bind("unload",r,!0):n.addEventListener?
n.addEventListener(t,r,u):n.attachEvent?
n.attachEvent("on"+t,r):n["on"+t]=r)}function u(n,t,r,u){var f=n===window||
n===document||n===document.body;n&&(f&&t=="load"?i.unbind("onP1",r):f&&t=="unload"?
i.unbind("unload",r):n.removeEventListener?
n.removeEventListener(t,r,u):n.detachEvent?
n.detachEvent("on"+t,r):n["on"+t]=null)}t.__esModule=!0;t.unbind=t.bind=void 0;var
i=n("event.custom");t.bind=r;t.unbind=u;window.sj_be=r;window.sj_ue=u});define("dom
",["require","exports"],function(n,t){function f(n,t){function s(n,t,r,f)
{r&&u.unbind(r,f,s);c.bind("onP1",function(){if(!n.l){n.l=1;var
r=i("script");r.setAttribute("data-rms","1");r.src=(t?"/fd/sa/"+_G.Ver:"/
sa/"+_G.AppVer)+"/"+n.n+".js";_d.body.appendChild(r)}},!0,5)}for(var
f=arguments,e,o,r=2,l={n:n};r<f.length;r+=2)e=f[r],o=f[r+1],u.bind(e,o,h.wrap(s,l,t
,e,o));r<3&&s(l,t)}function e(){var n=_d.getElementById("ajaxStyles");return n||
(n=_d.createElement("div"),n.id="ajaxStyles",_d.body.insertBefore(n,_d.body.firstCh
ild)),n}function l(n){var
t=i("script");t.type="text/javascript";t.text=n;t.setAttribute("data-bing-
script","1");document.body.appendChild(t);r.setTimeout(function()
{document.body.removeChild(t)},0)}function a(n){var
t=i("script");t.type="text/javascript";t.src=n;t.setAttribute("crossorigin","anonym
ous");t.onload=r.setTimeout(function()
{document.body.removeChild(t)},0);document.body.appendChild(t)}function o(n){var
t=s("ajaxStyle");t||(t=i("style"),t.setAttribute("data-
rms","1"),t.id="ajaxStyle",e().appendChild(t));t.textContent!==undefined?
t.textContent+=n:t.styleSheet.cssText+=n}function v(n,t){for(var
i=Element.prototype,r=i.matches||i.msMatchesSelector;n!=null;)
{if(r.call(n,t))return n;n=n.parentElement}return null}function s(n){return
_d.getElementById(n)}function i(n,t,i){var r=_d.createElement(n);return
t&&(r.id=t),i&&(r.className=i),r}t.__esModule=!
0;t.includeCss=t.includeScriptReference=t.includeScript=t.getCssHolder=t.loadJS=voi
d 0;var
r=n("env"),h=n("shared"),u=n("event.native"),c=n("event.custom");t.loadJS=f;t.getCs
sHolder=e;t.includeScript=l;t.includeScriptReference=a;t.includeCss=o;_w._ge=s;_w.s
j_ce=i;_w.sj_jb=f;_w.sj_ic=o;_w.sj_fa=v});define("cookies",
["require","exports"],function(n,t){function u(n,t){var i=a[n];return i&&(!t||
i.length==0||i.indexOf(t)>=0)}function b(){var
n=location.protocol==="https:";return n?";secure":""}function k(){return typeof _G!
="undefined"&&_G.EF!==undefined&&_G.EF.cookss!
==undefined&&_G.EF.cookss===1}function f(){var n=location.hostname.match(/([^.]+\.
[^.]*)$/);return n?";domain="+n[0]:""}function e(n,t,i,r,u){var
s=f(),h=r&&r>0&&r*6e4<33696e6?r*6e4:33696e6,c=new Date((new Date).getTime()
+Math.min(h,33696e6)),e="",o;k()&&(o=b(),e=o+
(u?";SameSite="+u:";SameSite=None"));document.cookie=n+s+
(t?";expires="+c.toGMTString():"")+(i?";path="+i:"")+e}function o(){return!
i}function r(n,t){var r,f;if(i||!u(n,t))throw new Error("get cookie
unauthorized");return(r=document.cookie.match(new RegExp("\\b"+n+"=[^;]+")),t&&r)?
(f=r[0].match(new RegExp("\\b"+t+"=([^&]*)")),f?f[1]:null):r?r[0]:null}function
s(n,t,f,o,s,h){var a,c,l,v;if(i||!u(n,t))throw new Error("set cookie
unauthorized");c=t+"="+f;l=r(n);l?(v=r(n,t),a=v?
l.replace(t+"="+v,c):l+"&"+c):a=n+"="+c;e(a,o,s,h)}function h(n,t,r,f,o){if(i||!
u(n))throw new Error("set cookie unauthorized");var s=n+"="+t;e(s,r,f,o)}function
c(n,t){if(!i){var r=n+"=",u=f();document.cookie=r+u+";expires="+v+
(t?";path="+t:"")}}function l(){var r=null,e,n,u,t,f;if(!
i)for(r={},e=document.cookie;n=y.exec(e);){for(t={},f=!1;u=p.exec(n[2]);)f=!
0,t[u[1]]=u[2];f||(t=n[2]);r[n[1]]=t}return r}var w;t.__esModule=!
0;t.parse=t.clear=t.setNoCrumbs=t.set=t.get=t.areCookiesAccessible=void 0;var
a={MUID:[],_SS:["SID","CPID","AC","CPH","CBV"],SRCHHPGUSR:
["LUT","IAC","IPMH","HV","SRCHLANG"],RMS:[]},i=!1,v=new Date(0).toGMTString(),y=new
RegExp("([^=]+)=([^;]*)(; )?","g"),p=new RegExp("([^=]
+)=([^&]*)&?","g");try{w=document.cookie}catch(d){i=!
0}t.areCookiesAccessible=o;t.get=r;t.set=s;t.setNoCrumbs=h;t.clear=c;t.parse=l;wind
ow.sj_cook={get:r,set:s,setNoCrumbs:h,clear:c,parse:l,areCookiesAccessible:o}});def
ine("rmsajax",["require","exports"],function(n,t){function l(){for(var
i,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];if(n.length!=0)
{if(i=n[n.length-1],n.length==1)ct(i)&&f.push(i);else if(n.length==3){var
o=n[0],s=n[1],u=n[2];lt(o)&&lt(s)&&ct(u)&&(at(r,o,u),at(e,s,u))}return
window.rms}}function rt(){var i=arguments,t,n;for(o.push(i),t=0;t<i.length;t+
+)n=i[t],vt(n,r,n.ct),n.d&&ut.call(null,n);return window.rms}function ii(){var
t=arguments,n;for(s.push(t),n=0;n<t.length;n++)vt(t[n],e);return
window.rms}function a(){var t,i,n;for(si(),t=!1,n=0;n<o.length;n+
+)t=ut.apply(null,w.call(o[n],0))||t;for(i=0;i<s.length;i+
+)t=ei.apply(null,w.call(s[i],0))||t;if(!t)for(n=0;n<f.length;n++)f[n]()}function
ut(){var n=arguments,t,i,f,e;if(n.length===0)return!
1;if(t=r[ot(n[0])],n.length>1)for(i=hi.apply(null,n),f=0;f<i.length;f+
+)e=i[f],e.run=u,ri(e,function(n){return function(){ui(n,i)}}(e));else
t.run=u,st(t,function(){ft(t)});return!0}function ri(n,t){var f,r,u;if(!n.state)
{if(n.state=dt,pt(n)){t();return}window.ActiveXObject!==undefined||
ti.test(navigator.userAgent)?(f=new
Image,f.onload=t,f.onerror=t,f.src=n.url):typeof XMLHttpRequest!
="undefined"&&XMLHttpRequest?(r=new XMLHttpRequest,r.open("GET",n.url,!
0),r.onreadystatechange=function(){r.readyState==4&&(!it&&(r.status<200||
r.status>=400)&&(bt(n.url,"2",
{resourceUrl:n.url,pageUrl:window.location.href,status:r.status,response:r.response
Text}),it=!0),t())},r.send()):
(u=i.createElement("object"),u.setAttribute("width","0"),u.setAttribute("height","0
"),u.setAttribute("tabindex","-1"),u.setAttribute("aria-
hidden","true"),u.onload=t,u.onerror=t,u.setAttribute("data",n.url),i.body.appendCh
ild(u))}}function ui(n,t){n.run==u&&(n.state=b,et(t))}function fi(n,t)
{n.run==u&&st(n,function(n){return function(){ft(n,t)}}(n))}function ft(n,t)
{n.run==u&&(n.state=c,oi(n),t)&&et(t)}function et(n){for(var i,t=0;t<n.length;t++)
{i=n[t];switch(i.state){case b:fi(i,n);return;case c:continue}return}}function
ot(n){for(var t in n)return t}function ei(){return!1}function oi(n){for(var
t=0;t<n.callbacks.length;t++)n.callbacks[t].dec()}function st(n,t){var
r,s,f,h,l,e,u;if(n.state!=k&&n.state!
=c)if(n.state=k,r=i.createElement("SCRIPT"),s=n.ct!==undefined?n.ct:"text/
javascript",r.type=s,r.setAttribute("data-rms","1"),n.key!
==undefined&&n.key==="rms:answers:AutoSuggest:AutoSug"&&(r.onerror=function()
{n.state=gt}),r.onreadystatechange=r.onload=function(){var
i=r.readyState;if(!i||/loaded|complete/.test(i))try{ht(t)}catch(u){throw new
TypeError("processCallback threw error for script:"+n.key+" script Url:"+n.url+"
error stack:"+(u?u.stack:""));}},pt(n))
{if(f=_w.jsDefer,f)f.length>n.pos&&(r.text=f[n.pos],i.body.appendChild(r));else
if(h=n.app?g:d,
(l=i.getElementById(h))&&(e=l.childNodes)&&e[n.pos]&&(u=e[n.pos].innerHTML,u&&(u===
null||u===void 0?void 0:u.length))){var
a=4,v=3,o=u.length,y=u.substring(0,a),p=u.substring(o-v,o);y=="<!--"&&p=="--
>"&&(u=u.substring(a,o-v));r.text=typeof DefaultTrustedTypesPolicy!
="undefined"&&DefaultTrustedTypesPolicy.getOpaqueScript?
DefaultTrustedTypesPolicy.getOpaqueScript(u):u;i.body.appendChild(r)}ht(t)}else
r.src=n.url,(!wt()||
wt()&&ci(r.src))&&r.setAttribute("crossorigin","anonymous"),tt||(bt(r.src,"1",
{resourceUrl:r.src}),tt=!0),i.body.appendChild(r)}function ht(n){n.done||(n.done=!
0,n())}function ct(n){return nt.call(n)=="[object Function]"}function lt(n){return
nt.call(n)=="[object Array]"}function at(n,t,i){for(var u,f=new
v(i),r=0;r<t.length;r++)u=n[t[r]],u||(u=yt(n,t[r])),y(u,f)}function si(){for(var
t,i,u,n=0;n<f.length;n++){t=new v(f[n]);for(i in r)y(r[i],t);for(u in
e)y(e[u],t)}}function y(n,t){n.callbacks.push(t);t.inc()}function vt(n,t,i){for(var
r in n)if(typeof n[r]!=undefined)return yt(t,r,n[r],i)}function yt(n,t,i,r){return
n[t]||(n[t]={callbacks:[],onPrefetch:[]},n[t].key=t),t.indexOf(ni)==0&&(n[t].app=!
0),isNaN(i)?n[t].url=i:n[t].pos=i,r&&(n[t].ct=r),n[t]}function hi(){for(var
i,t=[],n=0;n<arguments.length;n++)i=ot(arguments[n]),t.push(r[i]);return t}function
pt(n){return!n.url}function ci(n){var
t="https://"+i.location.host,r="http://"+i.location.host;return!(n.indexOf(t)===0||
n.indexOf(r)===0)}function wt(){return _G!==undefined&&_G.EF!
==undefined&&_G.EF.crossdomainfix===1}function li(n){return _G!==undefined&&_G.EF!
==undefined&&_G.EF.crossoriginlogging===1&&n.indexOf("/rp/")>=0}function ai(n)
{if(h&&h.length>0)for(var t=0;t<h.length;t++)if(n.indexOf(h[t])===0)return!
0;return!1}function
bt(n,t,i){if(typeof sj_log2=="function"&&li(n)){var
r=ai(n)?"rms_co":"rms_noco";sj_log2("Request",r,t,"rmsajax_xhrprefetch",null,null,i
)}}function vi(n){var
t,i;r={};e={};f=[];o=[];s=[];u+=1;t=document.getElementById(d);t&&t.parentNode.remo
veChild(t);i=document.getElementById(g);i&&i.parentNode.removeChild(i);n||
kt()}function kt(){p.bind("onP1Lazy",function(){l(function()
{p.fire("onP1")});a()},!0)}var v;t.__esModule=!
0;t.reset=t.start=t.css=t.js=t.onload=void 0;var
p=n("event.custom"),w=[].slice,dt=1,b=2,k=3,c=4,gt=5,u=0,ni="A:",d="fRmsDefer",g="a
RmsDefer",r={},e={},f=[],o=[],s=[],nt=Object.prototype.toString,i=document,ti=/
edge/i,tt=!1,it=!1,h=["https://raka.","https://rafd.","https://r.","https://
rcf."];t.onload=l;t.js=rt;t.css=ii;t.start=a;v=function(n){var t=0,i=!
1;this.inc=function(){i||t++};this.dec=function(){i||(t--,t==0&&(i=!
0,n()))}};t.reset=vi;kt();window.rms={onload:l,js:rt,start:a}});_w.LogUploadCapFeat
ureEnabled=!1;_w.InstLogQueueKeyFetcher={Get:function(n){var
t="eventLogQueue";return n.indexOf("AS/API")===1?
t+"_Online":t+"_Offline"},GetSharedLocation:function()
{return"eventLogQueue_Shared"},CanUploadSharedMessages:function(n){return
_w.useSharedLocalStorage&&n.indexOf("AS/API")===1?!0:!
1}};__spreadArray=this&&this.__spreadArray||function(n,t,i){if(i||
arguments.length===2)for(var r=0,f=t.length,u;r<f;r++)!u&&r in t||(u||
(u=Array.prototype.slice.call(t,0,r)),u[r]=t[r]);return n.concat(u||
Array.prototype.slice.call(t))};define("clientinst_xls",
["require","exports"],function(n,t){function vi(){function n(n,t){typeof
i[n]=="undefined"&&(i[n]=t)}_w.ClientInstConfig||
(_w.ClientInstConfig={});i=ClientInstConfig;n("flushInterval",5e3);n("retryInterval
",1e3);n("maxStorageUse",5e5);n("maxBatchSize",1e5);n("queueDumpInterval",500);n("w
aitForPageInfo",!
1);n("pageInfoTimeout",5e3);n("logUploadCapSizeInChar",15728640*.5);n("logUploadCap
IntervalInDays",30);n("isInstrumentationEnabled",!
0);n("maxDirectErrors",3);n("optimizeFlush",!1);n("enableBatSizeError",!
1);n("enableCetoTreatment",!1)}function wt(){ft=0;b=_G.ST?
_G.ST.getTime():0}function f(n,t,u,e){var
o,l,h,c;if(i.isInstrumentationEnabled)if(o={errorType:n,failCount:t},y(o),e){pt+
+;pt>i.maxDirectErrors&&(o.errorType="Overloaded",i.optimizeFlush?
(r.queue=[],r.retryList=[],f("CleanQueue",1,_G.IG,!0)):i.isInstrumentationEnabled=!
1);l={impressionGuid:u,previousImpressionGuid:null,timestamp:(new
Date).getTime(),type:s.EVENT,data:{eventType:ut,eventData:o}};h=st([l],
[]);try{at(h)||(c=sj_gx(),c.open("POST",_G.XLS,!0),c.send(h))}catch(a){throw
a;}}else lt(ut,o,null,null,null,u,null,null)}function yi(){function t(){u||
(u=function(){});bt();f("PageInfoTimedOut",0,_G.IG)}vi();wt();typeof h!
="undefined"&&h.bind&&h.bind("ajax.unload",wt);try{e=_w.localStorage;r.initialize()
}catch(o){}var
n=null;i.waitForPageInfo&&(n=sb_st(t,i.pageInfoTimeout));sj_evt.bind("ClientInst.Pa
geInstInfo",function(t){n&&(sb_ct(n),n=null);u=t[1];u&&bt()})}function bt(){for(var
t=0,n,i;et.length>0;){try{i=et.shift();n=JSON.parse(i)}catch(r){t+
+;continue}u&&u(n.data);k(n)}while(ot.length>0)
{try{i=ot.shift();n=JSON.parse(i)}catch(r){t+
+;continue}u&&u(n.data);ni(n)}t>0&&f("InvalidIncompleteImpressions",t,_G.IG)}functi
on k(n){r.append(n);l()}function a(n){return
JSON.stringify(n).replace(/]]>/g,"]]]\]><![CDATA[>")}function pi(n,t,i){var
f,u,r;t.push("<E>","<T>Event.",n.data.eventType,"<\/T>","<IG>",n.impressionGuid,"<\
/IG>");n.previousImpressionGuid&&t.push("<PrevIG>",n.previousImpressionGuid,"<\/
PrevIG>");n.dominantImpressionGuid&&n.previousImpressionGuid&&t.push("<DominantIG>"
,n.dominantImpressionGuid,"<\/DominantIG>");f=n.data.dataSources;f&&t.push("<DS><!
[CDATA[",a(f),"]\]><\/DS>");u=n.data.pageLayout;u&&d(u)&&t.push("<Page><L><!
[CDATA[",a(u),"]\]><\/L><\/Page>");r=n.data.eventData;r||
(r=n.data.eventData={});r.UTS=i;t.push("<D><![CDATA[",a(r),"]\]><\/
D>","<TS>",n.timestamp,"<\/TS>","<\/E>")}function d(n){var t=!1,i;try{n instanceof
Array?t=n.every(d):(t=!!n.T,i=n.L,t&&i&&(t=d(i)))}catch(r){return
SharedLogHelper.LogWarning("PageLayoutValidationException",null,r),!1}return t||
SharedLogHelper.LogWarning("PageLayoutValidationException",JSON?
JSON.stringify(n):n,null),t}function g(n,t,i){n.push('<requestInfo key="',t,'"
value="',i,'"/>')}function kt(n,t,i){function f(n){return
n?n.replace(/&/g,"&amp;").replace(/"/g,"&quot;"):""}var
r=n.data,e,u,c,o,s,h;t.push("<Group>","<M>","<IG>",n.impressionGuid,"<\/
IG>","<DS><![CDATA[",a(r.dataSources),"]\]><\/DS>");e=r.enrichedClientInfo;e||
(e={});e.ImpressionUrl=r.impressionUrl;_G.AppVer&&(e.ResourcesVersion=_G.AppVer);u=
n.data.eventData;u||
(u=n.data.eventData={});u.EnrichedClientInfo=e;u.TS=r.clientTimestamp;u.UTS=i;c=r.u
xClassification;c&&(u.UxClassification=c);_w.sj_cook&&sj_cook.parse&&(u.Cookies=sj_
cook.parse());t.push("<D><![CDATA[",a(u),"]\]><\/
D>");t.push("<Page>","<Name>",r.pageName,"<\/
Name>");o=r.layoutNodes;o&&d(o)&&t.push("<L><![CDATA[",a(o),"]\]><\/
L>");t.push("<\/Page>","<TS>",n.timestamp,"<\/
TS>","<Ovr>");g(t,"RawQuery",f(r.rawQuery));g(t,"IsQuery",f(r.isQuery.toString()));
g(t,"Form",f(r.form));s=r.userInfoOverrides;for(h in
s)s.hasOwnProperty(h)&&g(t,f(h),f(s[h]));t.push('<userInfo key="AppName"
value="',f(r.appName),'"/>',"<\/Ovr>","<\/M>","<\/Group>")}function y(n){var
t=window.location.href,i,r,u;return v&&t.indexOf(v)===0||
(i=t.indexOf("?"),i<0&&(i=t.indexOf("#")),v=i<0?
t:t.substring(0,i),r=_w.ThresholdUtilities,r&&(u=r.getUrlParameter(t,"FORM"),u&&(v+
="?FORM="+u))),n.CurUrl=v,n.Pivot=_G.PN,typeof ThresholdUtilities!
="undefined"&&_w.SearchAppWrapper&&_w.SearchAppWrapper.CortanaApp&&ThresholdUtiliti
es.getCortanaHeaders(function(t){if(t){var i;(i=t["X-BM-
ClientFeatures"])&&(n.CF=i);(i=t["X-BM-FlightedFeatures"])&&(n.FF=i)}}),n}function
st(n,t){var r=["<ClientInstRequest>"],u=(new Date).getTime(),f=_G.CID||
sj_cook.get(p,p),e,i,o;if(f&&r.push("<CID>",f,"<\/CID>"),n.length>0)
{for(r.push("<Events>"),i=0;i<n.length;i++)e=n[i],pi(e,r,u);r.push("<\/
Events>")}if(t.length>0)for(i=0;i<t.length;i++)o=t[i],kt(o,r,u);return
r.push("<\/ClientInstRequest>"),r.join("")}function l(n,t){if(n===void 0&&(n=!
1),t===void 0&&(t=!0),i.isInstrumentationEnabled){var r=n?
c.retryQueue:c.mainQueue;!r.flushTimeoutHandle&&typeof it!
="undefined"&&it.setTimeout&&(r.flushTimeoutHandle=it.setTimeout(function(){return
dt(n,r,!1,t)},r.getInterval()))}}function dt(n,t,u,e,s){var
it,v,h,p,g,w,b,nt,k,y,d,rt,a,tt;if((e===void 0&&(e=!
0),i.isInstrumentationEnabled)&&(sb_ct(t.flushTimeoutHandle),t.flushTimeoutHandle=n
ull,!n||!c.mainQueue.inProgressUpload)){if(!
n&&c.retryQueue.inProgressUpload&&c.retryQueue.inProgressUpload.abort(),t.inProgres
sUpload)if(it=(new Date).getTime()-t.requestSentTimestamp,u||
it>i.flushInterval)t.inProgressUpload.abort(),u?
f("SendAbortedForceFlush",1,_G.IG):f("SendTimedOut",1,_G.IG);else
return;if(v=r.getBatch(n),v.length!=0){for(h={},p=0;p<v.events.length;p+
+)g=v.events[p],w=g.flights,h[w]||(h[w]={events:[],mpis:
[]}),h[w].events.push(g.log);for(b=0;b<v.masterPageImpressions.length;b+
+)nt=v.masterPageImpressions[b],k=nt.flights,h[k]||(h[k]={events:[],mpis:
[]}),h[k].mpis.push(nt.log);for(y in h)
{if(d=st(h[y].events,h[y].mpis),rt=s&&s.useSendBeacon||!1,(rt||oi())&&si(_G.XLS,d))
{r.clearSentItems(n)&&!n&&l(!1,s);l(!
0,s);continue}a=sj_gx();a.open("POST",_G.XLS,e);tt=sj_df(wi,a,t,n);e&&(i.flushInter
val>=1e3&&(a.timeout=i.flushInterval),a.onload=tt);a.setRequestHeader("Content-
type","text/xml");y!==""&&(a.setRequestHeader("X-MSEdge-
ExternalExpType","JointCoord"),a.setRequestHeader("X-MSEdge-
ExternalExp",y));t.inProgressUpload=a;t.requestSentTimestamp=(new
Date).getTime();a.send(d);e||tt(null)}}}}function wi(n,t,i,u){if(t.readyState===4)
{i.inProgressUpload=null;var f=Math.floor(t.status/100);f===2?
(r.clearSentItems(u)&&!u&&l(!1),l(!0)):f===4?(r.markFailedItems(!0,u),l(!
0)):r.markFailedItems(!1,u);u&&r.recordRetryAttempt()}if((!r.queue||
r.queue.length==0)&&(!r.retryList||
r.retryList.length==0)&&r.OnInstrumentDone)try{r.OnInstrumentDone()}catch(e)
{}}function ht(n,t,i){n===void 0&&(n=!1);t===void 0&&(t=!0);dt(!
1,c.mainQueue,n,t,i)}function ct(n,t,i,r,u,f,e,o,h){var
c={},l,a;if(y(c),t)if(typeof t=="string")c.Text=t;else for(l in
t)t.hasOwnProperty(l)&&(c[l]=t[l]);return i&&(c.T="CI."+i),a=h||(new
Date).getTime(),c.TS=a,c.RTS=a-b,c.SEQ=ft++,{type:s.EVENT,impressionGuid:f!=null?
f:_G.IG,previousImpressionGuid:e,timestamp:a,data:
{eventType:n,eventData:c,dataSources:r,pageLayout:u},dominantImpressionGuid:o}}func
tion gt(n){var i=st(n,[]),t;at(i)||
(t=sj_gx(),t.open("POST",_G.XLS),t.setRequestHeader("Content-type","text/
xml"),t.send(i))}function ni(n){var r=sj_gx();r.open("POST",i.enableCetoTreatment?
_G.XLS:_G.XLSM,!0);r.setRequestHeader("Content-type","text/xml");var
t=["<ClientInstRequest>"],f=(new Date).getTime(),u=_G.CID||
sj_cook.get(p,p);u&&t.push("<CID>",u,"<\/CID>");kt(n,t,f);t.push("<\/
ClientInstRequest>");r.send(t.join(""))}function ti(n)
{r.OnInstrumentDone=n}function lt(n,t,r,u,f,e,o,s,h){var c,l,a;if(typeof
EventsToDuplicate!
="undefined"&&EventsToDuplicate&&n==="Click"&&EventsToDuplicate.indexOf("duplicateC
lickOnLs")>=0&&(c=_G.gpUrl+"IG="+_G.IG+"&ID="+t.AppNS+","+t.K,at("",c)||
(_G.GPImg=new Image,_G.GPImg.src=c),n="XlsDelayedClick"),!_G.XLS)throw new
Error("_G.XLS is necessary for clientinst_xls, but it is not
defined");i.isInstrumentationEnabled&&(l=ct(n,t,r,u,f,e,o,s,h),typeof
EventsToDuplicate!
="undefined"&&EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||
EventsToDuplicate.indexOf(n)>=0)&&(a=ct("Immediate"+n,t,r,u,f,e,o,s,h),gt([a])),k(l
))}function ii(n){var
t,r,f;i.isInstrumentationEnabled&&(u&&u(n),n.clientTimestamp||
(n.clientTimestamp=(new Date).getTime()),t=n.eventData,t||
(t=n.eventData={}),y(t),r={type:s.MASTER_PAGE_IMPRESSION,impressionGuid:n.impressio
nGuid?
n.impressionGuid:_G.IG,previousImpressionGuid:null,timestamp:n.clientTimestamp,data
:n},typeof EventsToDuplicate!
="undefined"&&EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||
EventsToDuplicate.indexOf("masterPageImpression")>=0)&&(f=ct("ImmediateMaster",t,n.
impressionUrl,n.dataSources,n.la
youtNodes,n.impressionGuid,null,null),gt([f])),u||!i.waitForPageInfo?
k(r):et.push(JSON.stringify(r)))}function ri(n){var
t,r;i.isInstrumentationEnabled&&(u&&u(n),n.clientTimestamp||(n.clientTimestamp=(new
Date).getTime()),t=n.eventData,t||
(t=n.eventData={}),y(t),r={type:s.MASTER_PAGE_IMPRESSION,impressionGuid:n.impressio
nGuid?
n.impressionGuid:_G.IG,previousImpressionGuid:null,timestamp:n.clientTimestamp,data
:n},u||!i.waitForPageInfo?ni(r):ot.push(JSON.stringify(r)))}function oi(){return
_G!==undefined&&_G.EF!==undefined&&_G.EF.logsb!
==undefined&&_G.EF.logsb===1}function at(n,t){return(t===void 0&&(t=_G.XLS),!
oi())?!1:si(t,n)}function si(n,t){var i="sendBeacon",r=!
1;if(navigator&&navigator[i])try{r=navigator[i](n,t)}catch(u){}return r}function
hi(n,t){n===void 0&&(n=!0);r.dumpToStorage();ht(!0,n,t)}function tt()
{r.dumpToStorage();ht(!1)}function ci(){r.dumpToStorage(!0)}function vt()
{r.dumpToStorage()}function li(){w=null;_CachedFlights=undefined}var
r,c,ui,fi,ei,nt;t.__esModule=!
0;t.ResetState=t.SaveLogsToLocalStorage=t.SaveLogsToSharedStorage=t.FlushMainQueueD
ontForce=t.ForceFlush=t.Log2=t.LogInstrumented=t.Log=t.LogMasterPageImpressionWSB=t
.LogMasterPageImpression=t.LogEvent=t.SetOnInstrumentDone=void 0;var
it=n("env"),rt=n("event.native"),h=n("event.custom"),o="Shared",s;(function(n)
{n[n.EVENT=0]="EVENT";n[n.MASTER_PAGE_IMPRESSION=1]="MASTER_PAGE_IMPRESSION"})(s||
(s={}));var
p="MUID",w=null,ut="CIQueueError",i,ai=864e5,ft,b,e,et=[],ot=[],u,v,yt,pt=0;
(function(n){function p(){return o&&i.isInstrumentationEnabled}function b(n){var
f,i;if(n===void 0&&(n=!1),p()){f=st(n);try{i=n?
c:u;e[i]=f;e[i+"_logUploadIntervalStartDate"]=r;e[i+"_uploadedLogSizeInInterval"]=t
}catch(s){if(s.name.toLowerCase().indexOf("quota")>=0)o=!1;else throw s;}}}function
a(){p()&&(h&&sb_ct(h),h=sb_st(b,i.queueDumpInterval))}function g(n,t){var
i=JSON.stringify(n),r=i.length+3;return n.size=r,t?
i.replace('"size":0','"size":'+r):i}function nt(n){return w===null&&typeof
_CachedFlights!
="undefined"&&_CachedFlights.sort&&(w=_CachedFlights.sort().join(",")),
{log:n,lastSendErrorTimeStamp:0,inProgress:!1,size:0,flights:w}}function tt(){var
t,s,r;if(e){if(lt(),t=e[u],n.queue=[],typeof t=="string"||t&&t.length!
==0)try{if(n.queue=JSON.parse(t),n.queue.some(function(n){return!
n.log}))f("PrimaryQueueRestoreInvalidItems",n.queue.length,_G.IG),n.queue=[];else
if(s=n.queue.length,s>0){for(r=0;r<s;r++)n.queue[r].inProgress=!
1;i.wsbOptimizeFlush?ht(!0):l()}}catch(h)
{f("PrimaryQueueRestoreFailed",0,_G.IG)}e[u]="[]";o=!0}}function it(t){var
a=[],v=[],u=t?n.retryList[0]:n.queue,h,o,y,p,l,r,w;if(d){if(h=e[c],typeof
h=="string"&&h.length!==0)try{o=JSON.parse(h);o.some(function(n){return!n.log})?
f("SharedQueueRestoreInvalidItems",o.length,_G.IG):u?
Array.prototype.push.apply(u,o):u=o}catch(b)
{f("SharedQueueRestoreFailed",0,_G.IG)}e[c]="[]"}if(u)for(y=0,p=u.length,l=0;l<p;l+
+)if(r=u[l],t||!
r.lastSendErrorTimeStamp)if(ClientInstConfig.enableBatSizeError&&r.size>i.maxBatchS
ize&&f("ElemBatchSizeLimitReached",r.size,_G.IG),y+=r.size,y<=i.maxBatchSize)r.inPr
ogress=!0,w=r.log,w.type==s.MASTER_PAGE_IMPRESSION?v.push(r):a.push(r);else
break;return{events:a,masterPageImpressions:v,length:a.length+v.length,isRetryBatch
:t}}function rt(t){return n.queue=n.queue.filter(function(n){return!
n.inProgress&&(!t||!!n.lastSendErrorTimeStamp)}),a(),n.queue.length>0}function
ft(n){return n.log.type===s.EVENT&&n.log.data&&n.log.data.eventType===ut}function
et(t,i){for(var u=[],s=i?
n.retryList[0]:n.queue,e=0,r,o,h;e<s.length;)r=s[e],r.inProgress?t?
(s.splice(e,1),ft(r)||(r.lastSendErrorTimeStamp=(new Date).getTime(),u.push(r))):
(r.inProgress=!1,e++):e++;o=u.length;o==1?
f("InvalidLogMessage",1,u[0].log.impressionGuid):o>0&&(h=o/
2,n.retryList.push(u.slice(0,h)),n.retryList.push(u.slice(h)));a()}function ot()
{var t,i,r;if(n.retryList.length>0)
{for(t=n.retryList[0],i=0;i<t.length;)r=t[i],r.inProgress?t.splice(i,1):i+
+;t.length==0&&n.retryList.shift()}}function st(t){var
c=JSON.stringify(n.queue),e=c.length-
i.maxStorageUse,o=n.queue.length,u,r,s,h;if(e>0)for(u=0,r=0;r<o;r+
+)if(s=n.queue[r].size,u+=s+1,u>=e)
{n.queue.splice(0,r+1);f("QueueOverflow",r+1,_G.IG,!0);break}return
h=JSON.stringify(n.queue),t&&n.queue.splice(0,o),h}function ct(t){var r=nt(t);g(r,!
1);ClientInstConfig.enableBatSizeError&&r.size>i.maxBatchSize&&f("EnvelopeBatchSize
LimitReached:"+t.type,r.size,_G.IG);i.wsbOptimizeFlush&&r.size>i.maxBatchSize||
at(r.size)&&n.queue.push(r);a()}function lt(){var
f=u+"_logUploadIntervalStartDate",o=u+"_uploadedLogSizeInInterval",n;r=e[f];t=e[o];
n=sb_gt();r==undefined||t==undefined?
v(n):k(r,n)>=i.logUploadCapIntervalInDays&&v(n)}function v(n){r=n;t=0}function
k(n,t){var i=t-n;return i/ai}function at(n){var u,e;return
i.isInstrumentationEnabled?LogUploadCapFeatureEnabled?
(u=sb_gt(),k(r,u)>=i.logUploadCapIntervalInDays&&v(u),t>=i.logUploadCapSizeInChar)?
!1:(e=t+n,e>=i.logUploadCapSizeInChar)?(f("LogUploadSizeLimitReached",1,_G.IG,!
0),t=i.logUploadCapSizeInChar,!1):(t=e,!0):!0:!1}var r,t,o,h;n.queue=[];o=!
1;h=null;n.retryList=[];var
y=_w.location.pathname,u=InstLogQueueKeyFetcher.Get(y),c=InstLogQueueKeyFetcher.Get
SharedLocation(),d=InstLogQueueKeyFetcher.CanUploadSharedMessages(y);n.dumpToStorag
e=b;n.initialize=tt;n.getBatch=it;n.clearSentItems=rt;n.markFailedItems=et;n.record
RetryAttempt=ot;n.append=ct})(r||(r={}));c={mainQueue:{getInterval:function()
{return i.flushInterval}},retryQueue:{getInterval:function(){return
i.retryInterval}}};t.SetOnInstrumentDone=ti;t.LogEvent=lt;t.LogMasterPageImpression
=ii;t.LogMasterPageImpressionWSB=ri;ui=function(n,t,r,u){for(var
e=[],f=4;f<arguments.length;f++)e[f-
4]=arguments[f];i.isInstrumentationEnabled&&(yt||(nt("Init","CI","Base"),yt=!
0),nt(n,t,r,u,e))};t.Log=ui;fi=function(n,i,r,u,f,e,o){t.Log2(n,i!==null&&i!==void
0?i:r,null,null,u,f,o)};t.LogInstrumented=fi;ei=function(n,t,i,r,u,f,e){var
o=Object.keys(e).reduce(function(n,t){return __spreadArray(__spreadArray([],n,!0),
[t,e[t]],!1)},
[]);i&&o.push("service",i);r&&o.push("scenario",r);u&&o.push("appNS",u);f&&o.push("
kValue",f);nt(n,null,t,!1,o)};t.Log2=ei;nt=function(n,t,r,u,f){var
a,e,c,l,o,h,v;if(i.isInstrumentationEnabled)
{if(a=_G.IG,e={},f&&f.length>0&&f.length%2==0)for(c=0;c<f.length;c+=2)
(l=f[c],l)&&(o=l.toLowerCase(),h=f[c+1],o==="impressionguid"?a=h:o==="service"?
e.Service=h:o==="scenario"?e.Scenario=h:o==="appns"?e.AppNS=h:o==="k"||
o==="kvalue"?e.K=h:o==="pos"?e.Pos=h:e[l]=h);v=(new
Date).getTime();e.T="CI.".concat(n);e.TS=v;e.RTS=v-b;e.SEQ=ft++;e.Name=r!==null&&r!
==void 0?r:"";e.FID=typeof t!="number"?t!==null&&t!==void 0?
t:"":"";e.hasOwnProperty("K")||typeof t!="number"||
(e.K=t);y(e);k({type:s.EVENT,impressionGuid:a,previousImpressionGuid:null,timestamp
:b,data:
{eventType:"ClientInst",eventData:e}})}};t.ForceFlush=hi;yi();t.FlushMainQueueDontF
orce=tt;t.SaveLogsToSharedStorage=ci;t.SaveLogsToLocalStorage=vt;t.ResetState=li;ty
peof h!="undefined"&&h.bind&&(h.bind("onP1",tt,!0),h.bind("ajax.postload",tt,!
0));typeof rt!="undefined"&&rt.bind&&rt.bind(_w,"beforeunload",vt,!
1);_w.Log={Log:t.Log};_w.Log2={LogEvent:lt,LogMasterPageImpression:ii,LogMasterPage
ImpressionWSB:ri,ForceFlush:hi,FlushMainQueueDontForce:tt,SaveLogsToSharedStorage:c
i,ResetState:li,SaveLogsToLocalStorage:vt,SetOnInstrumentDone:ti};_w.Shared2=_w.Sha
red2||
{};_w.Shared2.Log={Log:t.Log,LogInstrumented:t.LogInstrumented};_w.sj_log2=t.Log2})
,function(n){function i(n){for(var r=[],i=1;i<arguments.length;i++)r[i-
1]=arguments[i];return t.apply(null,[null,n].concat(r))}function t(n,t){for(var
i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return function(){for(var
f,r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];if(r&&r.length!==0)for(f in
i)i.hasOwnProperty(f)&&r.push(i[f]);else r=i;return t.apply(n,r)}}function r()
{for(var n,r,t=[],i=0;i<arguments.length;i+
+)t[i]=arguments[i];for(n=t[0],r=1;r<t.length;r++)if(n)n=n[t[r]];else return
null;return
n}n.deferFunction=i;n.deferMethod=t;n.getProperty=r;window.sj_df=i;window.sj_dm=t;w
indow.sj_gp=r}(CoreUtilities||(CoreUtilities={})),function(n){function v(n,i,r,o,s)
{(new
Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.Error","FID":"CI","Name"
:"JSError","Text":'+n+"}]";u(t.Error,f,e,n,i,r,o,s)}function y(n,i,r,o,s)
{u(t.Error,f,e,n,i,r,o,s)}function p(n,i,r){u(t.Warning,l,a,n,i,r)}function w(n)
{r=n}function u(n,u,f,e,o,h,c,l){var w="Error",d=n+e,v=u[d],g,a,p,y;(typeof v!
="number"&&(v=0),r(h,e))||(g=e.substr(0,7)=="http://"||
e.substr(0,8)=="https://"?"":e,!
h&&o&&(h=o,o=undefined),a={Text:null,Stack:null,Meta:_w.location.href,Line:c,Char:l
,Name:"JSError"},Object.defineProperty(a,"Text",
{get:sj_df(b,a,g,o,n,h)}),Object.defineProperty(a,"Stack",
{get:sj_df(k,a,o,n,h)}),v<f&&(p=JSON.stringify(a),y=!1,n===t.Error?
(console.error(p),y=!0):n===t.Warning&&(console.warn(p),w="Warning",y=!
0),Log2.LogEvent(s,a,w,null,null,null,null,null),u[d]=v+1,y&&i(a,"c",1)),sj_evt&&sj
_evt.fire("ErrorInstrumentation",null,a,n,h))}function o(n,r,u){var
f=n.errorLines,e;return f||(e=r===t.Error&&u?u.stack||u.message:null,f=(u?(e||u)
+"":"").replace(h,"").replace(c,"\n").replace(location.href,"self").split("\
n"),f.length>1&&f[0]===f[1]&&(f=f.slice(1)),i(n,"errorLines",f)),f}function
b(n,t,r,u,f){var e=n.logTextCache,s,h;return e||(s=f?
f.number:null,h=o(n,u,f),e=(t?"["+t+"] ":"")+(s?s+" ":"")+h[0],r=="Uncaught
"+e&&(e=r),i(n,"logTextCache",e)),e}function k(n,t,r,u){var
f=n.logStackCache,e;return f||(e=o(n,r,u),f=n.Text+(t&&t!=n.Text?"\n"+t:"")+
(e.length>1?"\n"+e.slice(1).join("\n"):""),i(n,"logStackCache",f)),f}function
i(n,t,i){Object.defineProperty(n,t,{value:i})}var t,r;(function(n)
{n[n.None=0]="None";n[n.Error=1]="Error";n[n.Warning=2]="Warning"})(t||(t={}));var
s="ClientInst",h=/\r/g,c=/\n\n/g,f={},e=1,l={},a=1;n.LogFatalError=v;n.LogError=y;n
.LogWarning=p;r=function(){return!1};n.RegisterErrorFilter=w}(LoggerModule||
(LoggerModule={}));_w.SharedLogHelper={LogError:LoggerModule.LogError,LogWarning:Lo
ggerModule.LogWarning,RegisterErrorFilter:LoggerModule.RegisterErrorFilter},functio
n(n){function
u(n,u,f){i||
(n&&u&&(n.addEventListener("statechanged",r),sj_be(u,"visibilitychange",r,!1)),i=!
0);t.indexOf(f)===-1&&t.push(f)}function f(){return t}function r(n){var u=!
1,f,e,i,o,s,r;if(_w.clickFlushedTime&&sb_gt()-_w.clickFlushedTime<100&&(u=!
0),n.synthetic!==!0)try{if(i=n.newState,typeof i!="undefined"?(e=i!
==0,f=i===0?"hidden":"visible"):(e=!document.hidden,f=document.visibilityState),u||
sj_evt.fire("visibility",e,i),f!=="visible"){for(o in
t)s=t[o],s();_w.useSharedLocalStorage?Log2.SaveLogsToSharedStorage():u?
Log2.FlushMainQueueDontForce():Log2.ForceFlush()}r=document.createEvent("event");r.
initEvent("visibilitychange",!0,!0);r.synthetic=!
0;document.dispatchEvent(r)}catch(h)
{SharedLogHelper.LogFatalError("SharedLogVisibilityFailure",null,h)}}var t=[],i=!
1;n.Register=u;n.GetHandlers=f}(VisibilityChangeHelperModule||
(VisibilityChangeHelperModule={}));_w.VisibilityChangeEventHelper={Register:Visibil
ityChangeHelperModule.Register,GetHandlers:VisibilityChangeHelperModule.GetHandlers
};var sj_anim=function(n){var
s=25,t=this,c,u,h,f,e,o,l,i,r;t.init=function(n,s,a,v,y)
{if(c=n,e=s,o=a,l=v,r=y,v==0){f=h;r&&r();return}i||(i=e);u||
t.start()};t.start=function(){h=sb_gt();f=Math.abs(o-i)/
l*s;u=setInterval(t.next,s)};t.stop=function()
{clearInterval(u);u=0};t.next=function(){var
u=sb_gt()-h,s=u>=f;i=e+(o-e)*u/f;s&&(t.stop(),i=o);n(c,i);s&&r&&r()};t.getInterval=
function(){return s}},sj_fader=function(){return new sj_anim(function(n,t)
{sj_so(n,t)})},customEvents=require("event.custom");customEvents.bind("onPP",functi
on(){customEvents.fire("onP1Lazy")},!0);
/*!DisableJavascriptProfiler*/
0;
/*!DisableJavascriptProfiler*/
(function(n){function e(n){return n?n.replace(u,"").replace(f,""):n}function h(t,i)
{var r,o;if(!t)return[];var h=[],c=!1,s=0;for(r=0;r<=t.length;++r)c?
t[r]==n.endMarker&&(o={text:t.substring(s,r).replace(u,""),highlighted:!
0},o.text.length>0&&h.push(o),c=!
1,s=r+1):t[r]==n.startMarker&&(o={text:t.substring(s,r).replace(f,""),highlighted:!
1},o.text.length>0&&h.push(o),c=!0,s=r+1);return s!
=t.length&&(o={text:e(t.substring(s)),highlighted:c},h.push(o)),i&&h.forEach(functi
on(n){return n.highlighted=!n.highlighted}),h}function c(r,u){var u;if(!r)return
r;if(!u||(u=i(u.toLocaleLowerCase()),r.toLocaleLowerCase()==u))return
n.startMarker+r+n.endMarker;var f=o(r),h=[],l=o(u),a=[],e=-1,c=!1;return
l.forEach(function(r,u){var v,o,s,l,y;if(r.length>0&&(v=!r.match(t),c||v))
{for(o=0,s=++e;s<f.length+e;++s){if(o=s%f.length,!h[o]&&(l=f[o],y=!l.match(t),(c||
y)&&i(l.toLocaleLowerCase())==r)){f[o]=n.startMarker+l+n.endMarker;h[o]=!0;a[u]=!
0;c=!0;break}c=!1}e=o}}),e=-1,l.forEach(function(r,u){var o,c,s,l,v;if(!
a[u]&&r.length>0){for(o=0,c=++e;c<f.length+e;++c)if(o=c%f.length,!h[o]&&(s=f[o],l=!
s.match(t),l&&(v=i(s.toLocaleLowerCase()).indexOf(r),v==0)))
{f[o]=n.startMarker+s.substr(0,r.length)+n.endMarker+s.substr(r.length);h[o]=!
0;break}e=o}}),"".concat.apply("",f).replace(s,"")}function o(n){var
r=[],i=0;return n.replace(t,function(t,u,f,e){return e>i&&r.push(n.substr(i,e-
i)),r.push(t),i=e+t.length,t}),i<n.length&&r.push(n.substr(i,n.length-
i)),r}function i(n){for(var u,f=!1,t=n.split(""),i=t.length-1;i>=0;--
i)u=t[i],r.hasOwnProperty(u)&&(t[i]=r[u],f=!0);return f&&(n=t.join("")),n}var
r;n.startMarker=String.fromCharCode(57344);n.endMarker=String.fromCharCode(57345);v
ar u=new RegExp(n.startMarker,"g"),f=new RegExp(n.endMarker,"g"),s=new
RegExp(n.endMarker+n.startMarker,"g"),t=new RegExp("([\\s.。?!,،\"':;¿¡/\\-()
+_@=&"+String.fromCharCode(160)+"\\\\]|%(20|23|24|26|2b|2c|2f|3a|3d|3f|40))
+","gi");n.removeMarkers=e;n.split=h;n.addMarkers=c;n.removeDiacritics=i;r={"ⓐ":"a"
,"a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","
ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":
"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a"
,"ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ"
:"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ
":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":
"c","ↄ":"c","ⓓ ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"
d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":
"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e"
,"ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę
":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":
"f","ⓖ ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"
g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h"
,"ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i",
"i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ
":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":
"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k
","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l",
"ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":
"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"
n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n"
,"ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o",
"ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ"
:"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o
","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","
ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ ":"o","ɵ":"o","œ":"oe","ɶ":"oe","ƣ":"oi",
"ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p"
,"ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r"
,"ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ
":"r","ꞃ":"r","ⓢ":"s","s":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ"
:"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ſ":"s","ẛ":"s","ß":"ss","ⓣ":
"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t
","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u
","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","
ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":
"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v
","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w
","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y",
"y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ
":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ"
:"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","0":"0","₀":"0","⓪":"0","⁰":
"0","¹":"1","⑴":"1","₁":"1","❶":"1","⓵":"1","⒈":"1","①":"1","1":"1","²":"2","❷
":"2","⑵":"2","2":"2","₂":"2","⓶":"2","②":"2","⒉":"2","³":"3","3":"3","⒊":"3",
"⑶":"3","₃":"3","❸":"3","⓷":"3","③":"3","⓸":"4","④":"4","⒋":"4","4":"4","⁴":"
4","₄":"4","❹":"4","⑷":"4","⒌":"5","₅":"5","⓹":"5","⑸":"5","❺":"5","⑤":"5","5
":"5","⁵":"5","⑹":"6","⁶":"6","6":"6","❻":"6","₆":"6","⑥":"6","⓺":"6","⒍":"6","
7":"7","⁷":"7","❼":"7","⓻":"7","⒎":"7","₇":"7","⑺":"7","⑦":"7","⑧":"8","⒏":"8
","⓼":"8","⑻":"8","⁸":"8","8":"8","❽":"8","₈":"8","⓽":"9","9":"9","⒐":"9","❾"
:"9","⑼":"9","₉":"9","⑨":"9","⁹":"9"}})(HitHighlightingParserImpl||
(HitHighlightingParserImpl={}));HitHighlightingParser=HitHighlightingParserImpl,fun
ction(n){function b(){return st++}function wt(n,i,r,f){var h=g(n,i,!0,f,!
1),v=[],c,l,y,s,a,w,o,nt;if(h&&h.length>0)for(c=0;c<h.length;c+
+)l=h[c],v.push({T:"L.MI",Action:"Update",AppNS:l.AppNS,K:l.K,L:l.L});if(y=_G.IG,r&
&(y=r),s=[],a=t[y],a)for(w in a)if(o=a[w].tree,o.IsInstrumented())d(o,s);else{var
b=o.GetValue(),p=o.GetChildren(),k=[];if(p.length>0){for(nt in
p)k.push(e(p[nt]));b.DS=k}s.push(b);u(o)}return v.length>0||s.length>0?
(Log2.LogEvent("ClientInst",null,null,s,v,null,null,null),!0):!1}function
r(n,i,u,f,e,o,s){var a=_G.IG,c,y,l,h,v;if(o&&(a=o),t[a]||
(t[a]=[]),c={AppNS:n,K:b(),T:"D.Item"},Object.defineProperty(c,"RefCount",
{writable:!0,value:1}),i&&(c.Url=i,c.T="D.Url"),u&&(c.N=u),s&&(c.T=s),e?
y=gt(c,e,a):t[a].push(new ot(new ft(c))),f)for(l in
f)if(f.hasOwnProperty(l))if(h=f[l],h===null||h===undefined||h.length===0||
ct.test(h))console.warn("Skipping logging datasource field key: "+l+" because it
has no value.");else if(ht[l]===!0)if(typeof h!="string"&&h.length)for(v in
h)h.hasOwnProperty(v)&&r(n,null,l,
{childElementIndex:v,childElementValue:h[v]},c,null,"constructedChildNode");else
c[l]=h;else console.warn("Unknown datasource field key: "+l+". skipping logging
value: "+h);return c}function bt(n,t,i,u,f,e){var
o={},s;u&&(o.Service=u);o.Scenario=i;for(s in e)o[s]=e[s];return
r(n,null,null,o,null,f,t)}function kt(n,t,i,u){return k(r(n,t,i,null,u))}function
k(n){return new et(n)}function gt(n,i,r){var u=[],e=t[r],o,f,s,h,c;for(o in
e)for(u.push(e[o].tree);u.length>0;)
{if(f=u.pop(),s=f.GetValue(),s.K===i.K&&s.AppNS===i.AppNS)return
f.AddChild(n),e[o].addKValue(n.K.toString()),!0;h=f.GetChildren();for(c in
h)u.push(h[c])}return!1}function e(n){var
u=n.GetValue(),i=n.GetChildren(),r,t;if(i.length>0){for(r=[],t=0;t<i.length;t+
+)r.push(e(i[t]));u.DS=r}return u}function d(n,t){var
i=n.GetChildren(),o=n.GetValue(),r,c;for(r in
i)if(i[r].IsInstrumented())d(i[r],t);else{var
s=i[r].GetValue(),f=i[r].GetChildren(),h=[];if(f.length>0){for(c in
f)h.push(e(f[c]));s.DS=h}t.push({T:"D.MI",Action:"Append",AppNS:o.AppNS,K:o.K,DS:
[s]});u(i[r])}}function u(n){var
i,t;for(n.SetIsInstrumented(),i=n.GetChildren(),t=0;t<i.length;t++)u(i[t])}function
ni(n){var
f,r,h,i,a;if(_w.logInstPerf&&_w.ThresholdUtilities&&ThresholdUtilities.recordApiTim
e("DSL"+o+"S"),f=[],r=t[n],r)for(h in r)if(i=r[h].tree,!i.IsInstrumented()){var
c=i.GetValue(),s=i.GetChildren(),l=[];if(s.length>0){for(a in
s)l.push(e(s[a]));c.DS=l}f.push(c);u(i)}return
_w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("DSL"+o+"C
"),o++),f}function g(n,t,r,u,f,e){var
a,l,h,c,v,y,o;if(_w.logInstPerf&&_w.ThresholdUtilities&&ThresholdUtilities.recordAp
iTime("LL"+i+"S"),n.parentElement&&(n=n.parentElement),a=n.querySelectorAll(lt),l=a
.length,l==0)return
_w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("LL"+i+"A"
),i++),[];for(h=[],o=0;o<l;o++)if(c=tt(a,o,l,null,t,u,f),c)
{if(o=c.lastProcessedIndex,e&&c.isHidden)continue;h.push(c)}if(r)
{for(y=[],o=0;o<h.length;++o)ut(y,nt(h[o]));v=y.map(s)}else v=h.map(s);return
_w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("LL"+i+"C"
),i++),v}function nt(n){var i=[],u=n.layout.AppNS,r,t;for(r in
n.children)if(t=n.children[r],t.isLogged)t.layout.AppNS||
(t.layout.AppNS=u),ut(i,nt(t));else{i.push(n);break}return i}function
tt(n,t,i,r,u,e,o){var g,b=[],a=n[t],it=a.hasAttribute(v)||
a.hasAttribute(f),rt=a.getAttribute(y)==="1",ft=((g=a.className)===null||g===void
0?void 0:g.indexOf(pt))>-1,k,w,nt,p,ut,d;if(o&&rt&&!it)return
null;if(k=ti(a,r,u,null),w={isContainer:it,lastProcessedIndex:t,layout:k,isLogged:r
t,children:b,isHidden:ft},(a.hasAttribute(c)||a.hasAttribute(h)||
a.hasAttribute(l))&&a.setAttribute(y,"1"),!w.isContainer)return
w;for(nt=k.AppNS,p=t+1;p<i;p++)if(ut=n[p],a.contains(ut))d=tt(n,p,i,nt?
nt:r,u,e,o),d&&(p=d.lastProcessedIndex,b.push(d));else
break;if(b.length>0)k.L=b.map(s);else
if(e)return null;return w.lastProcessedIndex=p-1,w}function s(n){return
n.layout}function ti(n,i,r,u){var s=null,y=null,k=!n.hasAttribute(v)&&!
n.hasAttribute(f),d=n.getAttribute(h),b,o,g,e,tt;if(d&&(o=rt(d),o&&(s=o.K,y=o.AppNS
)),b=n.getAttribute(c),b&&(o=rt(b),o&&(s=o.K,y=o.AppNS)),s||
(s=n.getAttribute(l)),g=k?yt:at,e={T:g},s){var it=s.split(".",1)[0],nt=u?
u:_G.IG,ut=!1;for(tt in t[nt])if(t[nt][tt].kValueExists(it)){ut=!
0;break}e.K=s}return y&&y!==i?e.AppNS=y:y||i||(e.AppNS=r),k||
(n.hasAttribute(f)&&(e.Region=n.getAttribute(f)),n.hasAttribute(a)&&(e.Results=n.ge
tAttribute(a)),n.hasAttribute(p)&&(e.Role=n.getAttribute(p)),n.hasAttribute(w)&&(e.
T=vt,e.InsertId=n.getAttribute(w)),e.L=[]),e}function rt(n){if(!n)return null;var
t=it.exec(n);return t&&t.length==3?{AppNS:t[1],K:t[2]}:null}function ut(n,t)
{if(n&&t)for(var i in t)n.push(t[i])}var ft=function(){function n(n)
{this.children=[];this.instrumented=!1;this.value=n}return
n.prototype.AddChild=function(t){this.children.push(new
n(t))},n.prototype.GetValue=function(){return
this.value},n.prototype.GetChildren=function(){return
this.children},n.prototype.IsInstrumented=function(){return
this.instrumented},n.prototype.SetIsInstrumented=function(){this.instrumented=!
0},n}(),et=function(){function n(n)
{this.hValue="ID="+n.AppNS+","+n.K;this.dsItem=n;this.dsRefCount=n.RefCount+
+}return n.prototype.GetNamespacedKValue=function(){return
this.hValue+"."+this.dsRefCount},n.prototype.GetKValue=function(){return
this.dsItem.K.toString()+"."+this.dsRefCount},n.prototype.GetDataSource=function()
{return this.dsItem},n.prototype.GetUrlWithFormCode=function(){return this.dsItem?
this.dsItem.Url:null},n}(),ot=function(){function n(n)
{this.kValuesContained={};this.tree=n;this.kValuesContained[n.GetValue().K.toString
()]=!0}return n.prototype.addKValue=function(n){this.kValuesContained[n]=!
0},n.prototype.kValueExists=function(n){return this.kValuesContained[n]},n}
(),st=1,o=0,i=0,ht={T:!0,Service:!0,Scenario:!0,AppNS:!0,K:!0,AppID:!0,AppName:!
0,Url:!0,CDT:!0,LMD:!0,EXT:!0,PHits:!0,Rank:!0,SettingID:!0,DS:!0,SPDisplay:!
0,PPMiss:!0,order:!0,indexed:!0,count:!0,alterationState:!0,childElementIndex:!
0,childElementValue:!0,added:!0,promoted:!0,suppresssedBy:!0},ct=new
RegExp("/^s*$/"),t={},h="h",c="data-h",l="data-k",f="data-region",a="data-
results",v="data-isregion",y="data-logged",p="data-role",w="data-
insertionpoint",lt="[data-k], [data-isregion], [h], [data-h], [data-
region]",at="L.Box",vt="L.Box.Dynamic",yt="L.Url",pt="b_hide",it;n.CreateKValue=b;n
.LogUpdatedLayoutCentralizedDataSources=wt;n.CreateDataSourceItem=r;n.CreateDataSou
rcesRoot=bt;n.CreateInstrumentedItem=kt;n.CreateInstrumentedItemFromDs=k;n.GetNewDa
taSources=ni;n.CreateLayoutNode=g;it=/ID=(\w+),(\d+(?:\.\d+)*)/i}
(DataSourceLayoutManager||
(DataSourceLayoutManager={}));_w.DsLManager=DataSourceLayoutManager;ThresholdDiagno
sticsProd=function(){function n()
{this.debugStrings=[];sj_evt.bind("ajax.feedback.initialized",sj_dm(this,this.regis
terFeedbackDebugCallback),!
0);sj_evt.bind("ajax.threshold.pageStart",sj_dm(this,this.clearDebugStrings))}retur
n n.prototype.recordApiString=function(n)
{console.log(n);this.debugStrings.push(n)},n.prototype.clearDebugStrings=function()
{this.debugStrings.length=0},n.prototype.collectDebugInfo=function(n){var
t={};return
n&&(t.apiDebug=this.debugStrings.toString()),t},n.prototype.registerFeedbackDebugCa
llback=function(n){var
t=n[1].debugCollector;t.registerCollectionCallback(sj_dm(this,this.collectDebugInfo
))},n}();_w.ThresholdDiagnostics=new
ThresholdDiagnosticsProd;FailedPromise=function(){function n(){this.isActive=!
0;this.operation=null}return n.prototype.then=function(n,t){return
this.handleError(t),this},n.prototype.done=function(n,t)
{this.handleError(t)},n.prototype.handleError=function(n)
{this.isActive&&n&&_w.setImmediate(function(){return
n(null)})},n.prototype.cancel=function(){this.isActive=!1},n}
();ThresholdUtilitiesM2=function(){function
n(){this.regExes={};this.guidCleaner=/[-{}]/g;this.isFirstPageStart=!
0;this.startTime=_w.performance?
_w.performance.timing.navigationStart:si_ST;this.apiSequenceNumber=0;this.headersAs
yncPromise=null;this.headersCallComplete=!
1;this.cortanaHeaders=null;this.themeColor=null;this.isDarkTheme=null;this.headersC
allTimeout=3e3;this.headersCallbacks=[];this.rtlLangs=["ar","dv","fa","he","ku-
arab","pa-arab","prs","ps","sd-arab","syr","ug","ur","qps-
plocm"];sj_evt.bind("ajax.threshold.authChanged",sj_dm(this,this.clearLocalCache),1
);sj_evt.bind("ajax.threshold.pageStart",sj_dm(this,this.onPageStart),1)}return
n.prototype.getUrlParameter=function(n,t){for(var
r=null,f=this.getParameterRegex(t),u,i;u=f.exec(n);)i=u;return i&&i.length>=2?
r=i[1]:t==="mock"&&(r=this.getMockParameter(n)),r},n.prototype.setUrlParameter=func
tion(n,t,i){var r=n,u=this.getParameterRegex(t).exec(n),f="&",e,o,s;return u?
(f=u[0].substring(0,1),e=u.index,o=u.index+u[0].length,r=n.substring(0,e),i&&(r+=f+
t+"="+i),r+=n.substring(o)):i&&(s=this.getRegex("devicecontent"),s.test(n)?
n.indexOf("#")<0&&(f="#"):n.indexOf("?")<0&&(f="?"),r=n+f+t+"="+i),r},n.prototype.g
etDecodedQuery=function(n){var i=n,t;return i||
(i=_w.location.href),t=this.getUrlParameter(i,"q"),t&&(t=decodeURIComponent(t.repla
ce(this.getRegex("\\+")," ")).trim()),t},n.prototype.getUrlReadyQuery=function(n)
{return
encodeURIComponent(n).replace(this.getRegex("%20"),"+")},n.prototype.recordApiTimeD
etail=function(n,t,i){var u=new Date,f,r,e,o;if(n&&(_G.ApiTimes=_G.ApiTimes||
{},_G.ApiTimes[n]=u.getTime()-this.startTime),i){f={};for(r in
i)i.hasOwnProperty(r)&&(f[r]=i[r]);i=f;i.time=u}else i={time:u,label:n||
t,sequence:this.apiSequenceNumber++};return
e=_w.msWriteProfilerMark,o=i.sequence+","+(n||
i.label),e&&e(o),_w.performance&&performance.mark&&performance.mark(o),i},n.prototy
pe.recordApiTime=function(n){return
this.recordApiTimeDetail(n),null},n.prototype.uploadApiTimes=function(n){var
t=_G.ApiTimes;this.recordApiTime(n);t&&typeof Log2!
="undefined"&&Log2&&(Log2.LogEvent("CPT2",
{wt:t},null,null,null,null,null,null),_G.ApiTimes={})},n.prototype.wrapSynchronousA
piCall=function(n,t,i,r){for(var e,o,s,h=this,f=[],u=4;u<arguments.length;u++)f[u-
4]=arguments[u];e=this.recordApiTimeDetail(i?i+"S":null,t);s=function(n,u){var
o=h.recordApiTimeDetail(i?i+n:null,t,e),s=u?" exception:
"+u.stack:"";h.recordApiString("ApiEnd "+n+' \t"'+(r?r:"")+'"\t'+t+"("+f.join(", ")
+")\t"+(o.time.getTime()-e.time.getTime())+"ms
elapsed"+s)};try{o=n[t].apply(n,f);s("C")}catch(c)
{s("E",c);SharedLogHelper.LogError("Exception","Failed while calling
overrideMethod: "+t,c);o=null}return o},n.prototype.wrapApiCall=function(){for(var
i,n=[],t=4;t<arguments.length;t++)n[t-
4]=arguments[t];for(n=[],i=0;i<arguments.length;i++)n.push(arguments[i]);return
n.splice(4,0,0,null),this.wrapApiCallWithTimeout.apply(this,n)},n.prototype.wrapApi
CallWithTimeout=function(n,t,i,r,u,f){for(var y,s=[],h=6;h<arguments.length;h+
+)s[h-6]=arguments[h];if(_w.SearchAppWrapperLogging)return n[t].apply(n,s);var
l=this,a=this.recordApiTimeDetail(i?i+"S":null,t),e,o,c=function(n,u){var
e="stack",o=l.recordApiTimeDetail(i?i+n:null,t,a),f=u&&u[e]?" exception:
"+u[e]:"";u&&f===""&&(f=" Windows error: "+u.message);l.recordApiString("ApiEnd
"+n+' \t"'+(r?r:"")+'"\t'+t+"("+s.join(", ")+")\t"+(o.time.getTime()-
a.time.getTime())+"ms
elapsed"+f)};try{o=n[t].apply(n,s);this.recordApiTimeDetail(i?
i+"P":null,t);u&&u>0&&(e=sb_st(function()
{o&&o.cancel&&o.cancel();c("T");f&&f(null)},u));o.then(function(n){return
e&&sb_ct(e),c("C"),n},function(n)
{e&&sb_ct(e);c("E",n);SharedLogHelper.LogError("Exception","Failed in
overrideMethod callback: "+t,n);f&&f(null)})}catch(v)
{e&&sb_ct(e);c("E",v);SharedLogHelper.LogError("Exception","Failed while calling
overrideMethod: "+t,v);y=new FailedPromise;o=y.then(null,f)}return
o},n.prototype.cleanGuid=function(n){var t=n;return
t&&(t=t.replace(this.guidCleaner,"")),t},n.prototype.parseJSON=function(n){var
t,i=null;if(n)try{t=JSON.parse(n)}catch(r){i=r}return t||console.log("Unable to
parse JSON input: "+n+(i?". Exception:
"+i:"")),t},n.prototype.getCortanaHeaders=function(n){var
f=this,t=this;if(this.headersCallComplete)
{n(this.cortanaHeaders);return}if(this.headersCallbacks.push(n),!
this.headersAsyncPromise){var i=null,e=!1,u=function()
{i&&(sb_ct(i),i=null);t.headersCallComplete=!0},r=function(){var i,r,n;if(!
e)for(t.cortanaHeaders||(t.cortanaHeadersTimedOut?
SharedLogHelper.LogWarning("getCortanaHeaders",null,"Timeout"):SharedLogHelper.LogE
rror("getCortanaHeaders",null,t.cortanaHeadersError||new Error("Missing
headers"))),i=t.headersCallbacks,r=i.length,n=0;n<r;n++)i[n]
(t.cortanaHeaders)},s=function(n){u();var
i={};try{Object.keys(n).forEach(function(t){n[t]&&(i[t]=n[t].toString())})}catch(e)
{SharedLogHelper.LogError("getCortanaHeaders","copy headers failed.
".concat(e))}f.headerOverrides(i);t.cortanaHeaders=i;t.cortanaHeadersError=null;t.c
ortanaHeadersTimedOut=!1;r()},h=function(n)
{try{u();f.headerOverrides(n);t.cortanaHeaders=n;t.cortanaHeadersError=null;t.corta
naHeadersTimedOut=!1;r()}catch(i)
{SharedLogHelper.LogError("getCortanaHeaders","getQueryHeadersJsonStringAsync
response not valid ".concat(i))}},o=function(n)
{u();t.cortanaHeaders=null;t.cortanaHeadersError=n;t.cortanaHeadersTimedOut=!
1;r()};i=sb_st(function()
{t.cortanaHeaders=null;t.cortanaHeadersError=null;t.cortanaHeadersTimedOut=!
0;r();e=!0},this.headersCallTimeout);this.headersAsyncPromise=_w.WSB&&!!
WSB.config&&WSB.config.wsbWebView2&&SearchAppWrapper.CortanaApp.webRequestHelper?
this.wrapApiCall(SearchAppWrapper.CortanaApp.webRequestHelper,"getQueryHeadersJsonS
tringAsync","GQH_","getQueryHeadersJsonString").then(function(n){return
h(JSON.parse(n))},o):this.wrapApiCall(SearchAppWrapper.CortanaApp,"getQueryHeadersA
sync","GQH_","getQueryHeaders").then(s,o)}},n.prototype.headerOverrides=function(n)
{var
t=SearchAppWrapper.CortanaApp.width,i=SearchAppWrapper.CortanaApp.height,r;t&&i&&(n
["X-BM-
DeviceDimensionsLogical"]=t+"x"+i,r=SearchAppWrapper.CortanaApp.deviceScale,r!
=100&&(t=t*r/100,i=i*r/100),n["X-BM-DeviceDim
ensions"]=t+"x"+i);_w.WSB&&!!WSB.config&&(delete n["X-Search-RPSToken"],delete
n.Authorization)},n.prototype.getThemeColor=function(n){function u(n){var
t,r;i.themeColor===null&&n&&(t=n.split(";"),t.length==2&&(i.isDarkTheme=t[0]=="0000
00",r=t[1],r&&(i.themeColor="#"+r)))}var t=this,i=this,r;this.themeColor===null?
(r=SearchAppWrapper.CortanaApp.theme,typeof r!="undefined"?
(u(r),n(this.themeColor,this.isDarkTheme)):this.getCortanaHeaders(function(i)
{t.themeColor===null&&i&&(u(i["X-BM-
Theme"]),n(t.themeColor,t.isDarkTheme))})):n(this.themeColor,this.isDarkTheme)},n.p
rototype.getOsSKU=function(n){var t="X-Device-
OSSKU";this.getCortanaHeaders(function(i){i&&i[t]?
n(i[t]):n("unknown")})},n.prototype.isRightToLeftLanguage=function(n){return
this.rtlLangs.some(function(t){return n=n.toLocaleLowerCase(),n==t||
n.indexOf(t+"-")==0})},n.prototype.setBodyLangAttributes=function(n)
{_d.body.setAttribute("dir",this.isRightToLeftLanguage(n)?"rtl":"ltr");_d.body.setA
ttribute("lang",n)},n.prototype.recordApiString=function(n)
{ThresholdDiagnostics.recordApiString(n)},n.prototype.pushOntoArray=function(n,t)
{if(n&&t)for(var i in t)n.push(t[i])},n.prototype.navigateTo=function(n,t){var
i=sj_ce("a","b_hide");i.href=n;i.setAttribute("data-
h",t.GetNamespacedKValue());_d.body.appendChild(i);i.click()},n.prototype.createPro
mise=function(n){return Promise.promise?Promise.promise(n):new
Promise(n)},n.prototype.getParameterRegex=function(n){return this.getRegex("[?
&#]"+n.toLowerCase()+"=([^&#]*)")},n.prototype.getRegex=function(n,t,i){var
r=this.regExes[n];return r||(r=new RegExp(n,(i?"":"g")+
(t?"":"i")),this.regExes[n]=r),r.lastIndex=0,r},n.prototype.getMockParameter=functi
on(n){var r=null,t=n.indexOf("#"),u,i;return t>0&&t<n.length-
1&&(u=n.substr(t+1).split("&"),i=u.filter(this.unlabeledParameterFilter),i.length>0
&&(r=i[0])),r},n.prototype.unlabeledParameterFilter=function(n){return
n.indexOf("=")<0},n.prototype.clearLocalCache=function()
{this.cortanaHeaders=null;this.cortanaHeadersError=null;this.cortanaHeadersTimedOut
=!1;this.themeColor=null;this.headersAsyncPromise=null;this.headersCallComplete=!
1;this.headersCallbacks=[]},n.prototype.onPageStart=function(n){!
this.isFirstPageStart&&n[1]&&(this.startTime=n[1],this.clearLocalCache());this.isFi
rstPageStart=!1;sj_evt.fire("ajax.postload")},n}();_w.ThresholdUtilities=new
ThresholdUtilitiesM2;sj_evt.bind("threshold.pageUnload",function()
{sj_evt.fire("unload")},0);_w.ClientInstConfig||
(_w.ClientInstConfig={});ClientInstConfig.wsbOptimizeFlush=!0;_w.ClientInstConfig||
(_w.ClientInstConfig={});ClientInstConfig.maxBatchSize=24e4

You might also like