Buscar

Manipulação do DOM e Eventos

Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original

var CoreUtilities,LoggerModule,VisibilityChangeHelperModule,ShowWebView,HitHighlightingParserImpl,DataSourceLayoutManager,ThresholdDiagnosticsProd,FailedPromise,ThresholdUtilitiesM2;_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.style.filter=t>=100?"":"alpha(opacity="+t+")";n.style.opacity=t/100}t.__esModule=!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.sj_wf=r;window.sj_pd=u;window.sj_sp=f;window.sj_go=e;window.sj_ev=h;window.sj_et=c;window.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),u=v(n,e),i;return i=window.setImmediate&&!window.setImmediate.Override&&(!t||t<=16)?"i"+setImmediate(u):o(u,t),f[r]=i,r=(r+1)%a,i}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.setInterval;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.clearTimeout=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){for(var t in i)t.indexOf(c)===0||n!=null&&n[t]!=null||delete i[t]}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;var i={},r=!1,u=[],c="ajax.";t.reset=a;t.fire=f;t.bind=e;t.unbind=h;window.sj_evt={bind:e,unbind: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;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.firstChild)),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.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;var r=n("env"),h=n("shared"),u=n("event.native"),c=n("event.custom");t.loadJS=f;t.getCssHolder=e;t.includeScript=l;t.includeScriptReference=a;t.includeCss=o;_w._ge=s;_w.sj_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 f(){var n=location.hostname.match(/([^.]+\.[^.]*)$/);return n?";domain="+n[0]:""}function e(n,t,i,r){var u=f(),e=r&&r>0&&r*6e4<33696e6?r*6e4:33696e6,o=new Date((new Date).getTime()+Math.min(e,33696e6));_d.cookie=n+u+(t?";expires="+o.toGMTString():"")+(i?";path="+i:"")}function o(){return!i}function r(n,t){var r,f;if(i||!u(n,t))throw new Error("get cookie unauthorized");return(r=_d.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();_d.cookie=r+u+";expires="+v+(t?";path="+t:"")}}function l(){var r=null,e,n,u,t,f;if(!i)for(r={},e=_d.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;var a={MUID:[],_SS:["SID","CPID","AC","CPH","HV"],SRCHHPGUSR:["LUT","IAC","IPMH"],RMS:[]},i=!1,v=new Date(0).toGMTString(),y=new RegExp("([^=]+)=([^;]*)(; )?","g"),p=new RegExp("([^=]+)=([^&]*)&?","g");try{w=_d.cookie}catch(b){i=!0}t.areCookiesAccessible=o;t.get=r;t.set=s;t.setNoCrumbs=h;t.clear=c;t.parse=l;_w.sj_cook={get:r,set:s,setNoCrumbs:h,clear:c,parse:l,areCookiesAccessible:o}});define("rmsajax",["require","exports"],function(n,t){function c(){for(var r,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];if(n.length!=0){if(r=n[n.length-1],n.length==1)ot(r)&&u.push(r);else if(n.length==3){var o=n[0],s=n[1],e=n[2];st(o)&&st(s)&&ot(e)&&(ht(i,o,e),ht(f,s,e))}return window.rms}}function nt(){var r=arguments,n,t;for(e.push(r),n=0;n<r.length;n++)t=r[n],ct(t,i),t.d&&tt.call(null,t);return window.rms}function bt(){var t=arguments,n;for(o.push(t),n=0;n<t.length;n++)ct(t[n],f);return window.rms}function l(){var t,i,n;for(ii(),t=!1,n=0;n<e.length;n++)t=tt.apply(null,p.call(e[n],0))||t;for(i=0;i<o.length;i++)t=ni.apply(null,p.call(o[i],0))||t;if(!t)for(n=0;n<u.length;n++)u[n]()}function
tt(){var n=arguments,t,u,f,e;if(n.length===0)return!1;if(t=i[ut(n[0])],n.length>1)for(u=ri.apply(null,n),f=0;f<u.length;f++)e=u[f],e.run=r,kt(e,function(n){return function(){dt(n,u)}}(e));else t.run=r,ft(t,function(){it(t)});return!0}function kt(n,t){var r,i;if(!n.state){if(n.state=yt,at(n)){t();return}window.ActiveXObject!==undefined||wt.test(navigator.userAgent)?(r=new Image,r.onload=t,r.onerror=t,r.src=n.url):(i=new XMLHttpRequest,i.open("GET",n.url,!0),i.onreadystatechange=function(){i.readyState==4&&t()},i.send())}}function dt(n,t){n.run==r&&(n.state=w,rt(t))}function gt(n,t){n.run==r&&ft(n,function(n){return function(){it(n,t)}}(n))}function it(n,t){n.run==r&&(n.state=h,ti(n),t)&&rt(t)}function rt(n){for(var i,t=0;t<n.length;t++){i=n[t];switch(i.state){case w:gt(i,n);return;case h:continue}return}}function ut(n){for(var t in n)return t}function ni(){return!1}function ti(n){for(var t=0;t<n.callbacks.length;t++)n.callbacks[t].dec()}function ft(n,t){var i,e,o,u,r;if(n.state!=b&&n.state!=h)if(n.state=b,i=s.createElement("SCRIPT"),i.type="text/javascript",i.setAttribute("data-rms","1"),i.onreadystatechange=i.onload=function(){var n=i.readyState;(!n||/loaded|complete/.test(n))&&et(t)},at(n)){if(e=n.app?d:k,(o=s.getElementById(e))&&(u=o.childNodes)&&u[n.pos]&&(r=u[n.pos].innerHTML,r!=="")){var c=4,l=3,f=r.length,a=r.substring(0,c),v=r.substring(f-l,f);a=="<!--"&&v=="-->"&&(r=r.substring(c,f-l));i.text=r;s.body.appendChild(i)}et(t)}else i.src=n.url,s.body.appendChild(i)}function et(n){n.done||(n.done=!0,n())}function ot(n){return g.call(n)=="[object Function]"}function st(n){return g.call(n)=="[object Array]"}function ht(n,t,i){for(var u,f=new a(i),r=0;r<t.length;r++)u=n[t[r]],u||(u=lt(n,t[r])),v(u,f)}function ii(){for(var t,r,e,n=0;n<u.length;n++){t=new a(u[n]);for(r in i)v(i[r],t);for(e in f)v(f[e],t)}}function v(n,t){n.callbacks.push(t);t.inc()}function ct(n,t){for(var i in n)if(typeof n[i]!=undefined)return lt(t,i,n[i])}function lt(n,t,i){return n[t]||(n[t]={callbacks:[],onPrefetch:[]},n[t].key=t),t.indexOf(pt)==0&&(n[t].app=!0),isNaN(i)?n[t].url=i:n[t].pos=i,n[t]}function ri(){for(var r,t=[],n=0;n<arguments.length;n++)r=ut(arguments[n]),t.push(i[r]);return t}function at(n){return!n.url}function ui(n){var t,s;i={};f={};u=[];e=[];o=[];r+=1;t=document.getElementById(k);t&&t.parentNode.removeChild(t);s=document.getElementById(d);s&&s.parentNode.removeChild(s);n||vt()}function vt(){y.bind("onP1Lazy",function(){c(function(){y.fire("onP1")});l()},!0)}var a;t.__esModule=!0;var y=n("event.custom"),p=[].slice,yt=1,w=2,b=3,h=4,r=0,pt="A:",k="fRmsDefer",d="aRmsDefer",i={},f={},u=[],e=[],o=[],g=Object.prototype.toString,s=document,wt=/edge/i;t.onload=c;t.js=nt;t.css=bt;t.start=l;a=function(n){var t=0,i=!1;this.inc=function(){i||t++};this.dec=function(){i||(t--,t==0&&(i=!0,n()))}};t.reset=ui;vt();window.rms={onload:c,js:nt,start:l}});_w.LogUploadCapFeatureEnabled=!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}};define("clientinst_xls",["require","exports"],function(n,t){function ii(){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("waitForPageInfo",!1);n("pageInfoTimeout",5e3);n("logUploadCapSizeInChar",15728640*.5);n("logUploadCapIntervalInDays",30);n("isInstrumentationEnabled",!0)}function ht(){tt=0;y=_G.ST?_G.ST.getTime():0}function f(n,t,i,r){var u={errorType:n,failCount:t},e,h,f;if(k(u),r){e={impressionGuid:i,previousImpressionGuid:null,timestamp:o.getTime(),type:s.EVENT,data:{eventType:nt,eventData:u}};h=rt([e],[]);try{f=sj_gx();f.open("POST",_G.XLS,!0);f.send(h)}catch(c){throw c;}}else ft(nt,u,null,null,null,i,null,null)}function ri(){function t(){e||(e=function(){});ct();f("PageInfoTimedOut",0,_G.IG)}ii();ht();g.bind("ajax.unload",ht);try{u=_w.localStorage;r.initialize()}catch(o){}var n=null;i.waitForPageInfo&&(n=sb_st(t,i.pageInfoTimeout));sj_evt.bind("ClientInst.PageInstInfo",function(t){n&&(sb_ct(n),n=null);e=t[1];e&&ct()})}function ct(){for(var n=0,t,i;it.length>0;){try{i=it.shift();t=JSON.parse(i)}catch(r){n++;continue}e&&e(t.data);p(t)}n>0&&f("InvalidIncompleteImpressions",n,_G.IG)}function p(n){r.append(n);a()}function c(n){return JSON.stringify(n).replace(/]]>/g,"]]]\]><![CDATA[>")}function ui(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[",c(f),"]\]><\/DS>");u=n.data.pageLayout;u&&w(u)&&t.push("<Page><L><![CDATA[",c(u),"]\]><\/L><\/Page>");r=n.data.eventData;r||(r=n.data.eventData={});r.UTS=i;_w.LogOffline===!0&&(r.isOffline=navigator.onLine?0:1);t.push("<D><![CDATA[",c(r),"]\]><\/D>","<TS>",n.timestamp,"<\/TS>","<\/E>")}function w(n){var t=!1,i;try{n instanceof Array?t=n.every(w):(t=!!n.T,i=n.L,t&&i&&(t=w(i)))}catch(r){return SharedLogHelper.LogWarning("PageLayoutValidationException",null,r),!1}return t||SharedLogHelper.LogWarning("PageLayoutValidationException",JSON?JSON.stringify(n):n,null),t}function b(n,t,i){n.push('<requestInfo key="',t,'" value="',i,'"/>')}function fi(n,t,i){function f(n){return n?n.replace(/&/g,"&amp;").replace(/"/g,"&quot;"):""}var r=n.data,e,u,l,o,s,h;t.push("<Group>","<M>","<IG>",n.impressionGuid,"<\/IG>","<DS><![CDATA[",c(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;l=r.uxClassification;l&&(u.UxClassification=l);_w.sj_cook&&sj_cook.parse&&(u.Cookies=sj_cook.parse());t.push("<D><![CDATA[",c(u),"]\]><\/D>");t.push("<Page>","<Name>",r.pageName,"<\/Name>");o=r.layoutNodes;o&&w(o)&&t.push("<L><![CDATA[",c(o),"]\]><\/L>");t.push("<\/Page>","<TS>",n.timestamp,"<\/TS>","<Ovr>");b(t,"RawQuery",f(r.rawQuery));b(t,"IsQuery",f(r.isQuery.toString()));b(t,"Form",f(r.form));s=r.userInfoOverrides;for(h in s)s.hasOwnProperty(h)&&b(t,f(h),f(s[h]));t.push('<userInfo key="AppName" value="',f(r.appName),'"/>',"<\/Ovr>","<\/M>","<\/Group>")}function k(n){var t=window.location.href,i,r,u;return l&&t.indexOf(l)===0||(i=t.indexOf("?"),i<0&&(i=t.indexOf("#")),l=i<0?t:t.substring(0,i),r=_w.ThresholdUtilities,r&&(u=r.getUrlParameter(t,"FORM"),u&&(l+="?FORM="+u))),n.CurUrl=l,n.Pivot=_G.PN,typeof ThresholdUtilities!="undefined"&&_w.SearchAppWrapper&&_w.SearchAppWrapper.CortanaApp&&ThresholdUtilities.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 rt(n,t){var r=["<ClientInstRequest>"],u=o.getTime(),f=_G.CID||sj_cook.get(ot,ot),e,i,s;if(f&&r.push("<CID>",f,"<\/CID>"),n.length>0){for(r.push("<Events>"),i=0;i<n.length;i++)e=n[i],ui(e,r,u);r.push("<\/Events>")}if(t.length>0)for(i=0;i<t.length;i++)s=t[i],fi(s,r,u);return r.push("<\/ClientInstRequest>"),r.join("")}function a(n,t){if(n===void 0&&(n=!1),t===void 0&&(t=!0),i.isInstrumentationEnabled){var r=n?h.retryQueue:h.mainQueue;r.flushTimeoutHandle||(r.flushTimeoutHandle=gt.setTimeout(function(){return lt(n,r,!1,t)},r.getInterval()))}}function lt(n,t,u,e){var k,l,s,d,p,v,g,w,y,a,c,b;if(e===void 0&&(e=!0),sb_ct(t.flushTimeoutHandle),t.flushTimeoutHandle=null,!n||!h.mainQueue.inProgressUpload){if(!n&&h.retryQueue.inProgressUpload&&h.retryQueue.inProgressUpload.abort(),t.inProgressUpload)if(k=o.getTime()-t.requestSentTimestamp,u||k>i.flushInterval)t.inProgressUpload.abort(),u?f("SendAbortedForceFlush",1,_G.IG):f("SendTimedOut",1,_G.IG);else return;if(l=r.getBatch(n),l.length!=0){s={};for(d
in l.events)p=l.events[d],v=p.flights,s[v]||(s[v]={events:[],mpis:[]}),s[v].events.push(p.log);for(g in l.masterPageImpressions)w=l.masterPageImpressions[g],y=w.flights,s[y]||(s[y]={events:[],mpis:[]}),s[y].mpis.push(w.log);for(a in s)c=sj_gx(),c.open("POST",_G.XLS,e),b=sj_df(ei,c,t,n),e&&(i.flushInterval>=1e3&&(c.timeout=i.flushInterval),c.onload=b),c.setRequestHeader("Content-type","text/xml"),a!==""&&(c.setRequestHeader("X-MSEdge-ExternalExpType","JointCoord"),c.setRequestHeader("X-MSEdge-ExternalExp",a)),t.inProgressUpload=c,t.requestSentTimestamp=o.getTime(),c.send(rt(s[a].events,s[a].mpis)),e||b(null)}}}function ei(n,t,i,u){if(t.readyState===4){i.inProgressUpload=null;var f=Math.floor(t.status/100);f===2?(r.clearSentItems(u)&&!u&&a(!1),a(!0)):f===4?(r.markFailedItems(!0,u),a(!0)):r.markFailedItems(!1,u);u&&r.recordRetryAttempt()}}function at(n,t){n===void 0&&(n=!1);t===void 0&&(t=!0);lt(!1,h.mainQueue,n,t)}function ut(n,t,i,r,u,f,e,h,c){var l={},a,v;if(k(l),t)if(typeof t=="string")l.Text=t;else for(a in t)t.hasOwnProperty(a)&&(l[a]=t[a]);return i&&(l.T="CI."+i),v=c||o.getTime(),l.TS=v,l.RTS=v-y,l.SEQ=tt++,{type:s.EVENT,impressionGuid:f!=null?f:_G.IG,previousImpressionGuid:e,timestamp:v,data:{eventType:n,eventData:l,dataSources:r,pageLayout:u},dominantImpressionGuid:h}}function vt(n){var t=sj_gx();t.open("POST",_G.XLS);t.setRequestHeader("Content-type","text/xml");t.send(rt(n,[]))}function ft(n,t,r,u,f,e,o,s,h){var c,l;if(EventsToDuplicate&&n==="Click"&&EventsToDuplicate.indexOf("duplicateClickOnLs")>=0&&(_G.GPImg=new Image,_G.GPImg.src=_G.gpUrl+"IG="+_G.IG+"&ID="+t.AppNS+","+t.K,n="XlsDelayedClick"),!_G.XLS)throw new Error("_G.XLS is necessary for clientinst_xls, but it is not defined");i.isInstrumentationEnabled&&(c=ut(n,t,r,u,f,e,o,s,h),EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf(n)>=0)&&(l=ut("Immediate"+n,t,r,u,f,e,o,s,h),vt([l])),p(c))}function yt(n){var t,r,u;i.isInstrumentationEnabled&&(e&&e(n),n.clientTimestamp||(n.clientTimestamp=o.getTime()),t=n.eventData,t||(t=n.eventData={}),k(t),r={type:s.MASTER_PAGE_IMPRESSION,impressionGuid:n.impressionGuid?n.impressionGuid:_G.IG,previousImpressionGuid:null,timestamp:n.clientTimestamp,data:n},EventsToDuplicate&&(EventsToDuplicate.indexOf("ALL")>=0||EventsToDuplicate.indexOf("masterPageImpression")>=0)&&(u=ut("ImmediateMaster",t,n.impressionUrl,n.dataSources,n.layoutNodes,n.impressionGuid,null,null),vt([u])),e||!i.waitForPageInfo?p(r):it.push(JSON.stringify(r)))}function pt(n,t,r,u){for(var e=[],f=4;f<arguments.length;f++)e[f-4]=arguments[f];i.isInstrumentationEnabled&&(st||(wt("Init","CI","Base"),st=!0),wt(n,t,r,u,e))}function wt(n,t,i,r,u){var f={},c=_G.IG,e,h;if(u)for(e=0;e<u.length;e+=2)u[e]=="ImpressionGuid"?c=u[e+1]:f[u[e]]=u[e+1];h=o.getTime();f.T="CI."+n;f.TS=h;f.RTS=h-y;f.SEQ=tt++;f.Name=i;f[typeof t=="number"?"K":"FID"]=t;k(f);p({type:s.EVENT,impressionGuid:c,previousImpressionGuid:null,timestamp:y,data:{eventType:"ClientInst",eventData:f}})}function bt(n){n===void 0&&(n=!0);r.dumpToStorage();at(!0,n)}function d(){r.dumpToStorage();at(!1)}function kt(){r.dumpToStorage(!0)}function et(){r.dumpToStorage()}function dt(){v=null;_CachedFlights=undefined}var r,h;t.__esModule=!0;var gt=n("env"),ni=n("event.native"),g=n("event.custom"),o=n("shared"),s;(function(n){n[n.EVENT=0]="EVENT";n[n.MASTER_PAGE_IMPRESSION=1]="MASTER_PAGE_IMPRESSION"})(s||(s={}));var ot="MUID",v=null,nt="CIQueueError",i,ti=864e5,tt,y,u,it=[],e,l,st;(function(n){function d(){return l&&i.isInstrumentationEnabled}function g(n){var i,t;if(n===void 0&&(n=!1),d()){i=lt(n);try{t=n?p:c;u[t]=i;u[t+"_logUploadIntervalStartDate"]=h;u[t+"_uploadedLogSizeInInterval"]=r}catch(f){if(f.name.toLowerCase().indexOf("quota")>=0)l=!1;else throw f;}}}function w(){d()&&(y&&sb_ct(y),y=sb_st(g,i.queueDumpInterval))}function rt(n,t){var i=JSON.stringify(n),r=i.length+3;return n.size=r,t?i.replace('"size":0','"size":'+r):i}function ut(n){return v===null&&typeof _CachedFlights!="undefined"&&_CachedFlights.sort&&(v=_CachedFlights.sort().join(",")),{log:n,lastSendErrorTimeStamp:0,inProgress:!1,size:0,flights:v}}function ft(){var n,r,i;if(u){if(vt(),n=u[c],t=[],typeof n=="string"||n&&n.length!==0)try{if(t=JSON.parse(n),t.some(function(n){return!n.log}))f("PrimaryQueueRestoreInvalidItems",t.length,_G.IG),t=[];else if(r=t.length,r>0){for(i=0;i<r;i++)t[i].inProgress=!1;a()}}catch(e){f("PrimaryQueueRestoreFailed",0,_G.IG)}u[c]="[]";l=!0}}function et(n){var a=[],v=[],o=n?e[0]:t,c,h,y,w,l,r,b;if(it){if(c=u[p],typeof c=="string"&&c.length!==0)try{h=JSON.parse(c);h.some(function(n){return!n.log})?f("SharedQueueRestoreInvalidItems",h.length,_G.IG):o?Array.prototype.push.apply(o,h):o=h}catch(k){f("SharedQueueRestoreFailed",0,_G.IG)}u[p]="[]"}if(o)for(y=0,w=o.length,l=0;l<w;l++)if(r=o[l],n||!r.lastSendErrorTimeStamp)if(y+=r.size,y<=i.maxBatchSize)r.inProgress=!0,b=r.log,b.type==s.MASTER_PAGE_IMPRESSION?v.push(r):a.push(r);else break;return{events:a,masterPageImpressions:v,length:a.length+v.length,isRetryBatch:n}}function ot(n){return t=t.filter(function(t){return!t.inProgress&&(!n||!!t.lastSendErrorTimeStamp)}),w(),t.length>0}function st(n){return n.log.type===s.EVENT&&n.log.data&&n.log.data.eventType===nt}function ht(n,i){for(var u=[],c=i?e[0]:t,s=0,r,h,l;s<c.length;)r=c[s],r.inProgress?n?(c.splice(s,1),st(r)||(r.lastSendErrorTimeStamp=o.getTime(),u.push(r))):(r.inProgress=!1,s++):s++;h=u.length;h==1?f("InvalidLogMessage",1,u[0].log.impressionGuid):h>0&&(l=h/2,e.push(u.slice(0,l)),e.push(u.slice(l)));w()}function ct(){var n,t,i;if(e.length>0){for(n=e[0],t=0;t<n.length;)i=n[t],i.inProgress?n.splice(t,1):t++;n.length==0&&e.shift()}}function lt(n){var c=JSON.stringify(t),e=c.length-i.maxStorageUse,o=t.length,u,r,s,h;if(e>0)for(u=0,r=0;r<o;r++)if(s=t[r].size,u+=s+1,u>=e){t.splice(0,r+1);f("QueueOverflow",r+1,_G.IG,!0);break}return h=JSON.stringify(t),n&&t.splice(0,o),h}function at(n){var i=ut(n);rt(i,!1);yt(i.size)&&t.push(i);w()}function vt(){var t=c+"_logUploadIntervalStartDate",f=c+"_uploadedLogSizeInInterval",n;h=u[t];r=u[f];n=sb_gt();h==undefined||r==undefined?b(n):tt(h,n)>=i.logUploadCapIntervalInDays&&b(n)}function b(n){h=n;r=0}function tt(n,t){var i=t-n;return i/ti}function yt(n){var t,u;return i.isInstrumentationEnabled?LogUploadCapFeatureEnabled?(t=sb_gt(),tt(h,t)>=i.logUploadCapIntervalInDays&&b(t),r>=i.logUploadCapSizeInChar)?!1:(u=r+n,u>=i.logUploadCapSizeInChar)?(f("LogUploadSizeLimitReached",1,_G.IG,!0),r=i.logUploadCapSizeInChar,!1):(r=u,!0):!0:!1}var t=[],h,r,l=!1,y=null,e=[],k=_w.location.pathname,c=InstLogQueueKeyFetcher.Get(k),p=InstLogQueueKeyFetcher.GetSharedLocation(),it=InstLogQueueKeyFetcher.CanUploadSharedMessages(k);n.dumpToStorage=g;n.initialize=ft;n.getBatch=et;n.clearSentItems=ot;n.markFailedItems=ht;n.recordRetryAttempt=ct;n.append=at})(r||(r={}));h={mainQueue:{getInterval:function(){return i.flushInterval}},retryQueue:{getInterval:function(){return i.retryInterval}}};t.LogEvent=ft;t.LogMasterPageImpression=yt;t.Log=pt;t.ForceFlush=bt;ri();t.FlushMainQueueDontForce=d;t.SaveLogsToSharedStorage=kt;t.SaveLogsToLocalStorage=et;t.ResetState=dt;g.bind("onP1",d,!0);g.bind("ajax.postload",d,!0);ni.bind(_w,"beforeunload",et,!1);_w.Log={Log:pt};_w.Log2={LogEvent:ft,LogMasterPageImpression:yt,ForceFlush:bt,FlushMainQueueDontForce:d,SaveLogsToSharedStorage:kt,ResetState:dt,SaveLogsToLocalStorage:et}}),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;window.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:LoggerModule.LogWarning,RegisterErrorFilter:LoggerModule.RegisterErrorFilter},function(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:VisibilityChangeHelperModule.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",function(){customEvents.fire("onP1Lazy")},!0),function(){var n=!1;sj_evt.bind("ErrorInstrumentation",function(t,i){return n=i==1},!0);sj_be(_w,"load",function(){var t,r,i;typeof SearchAppWrapper!="undefined"&&(t=SearchAppWrapper.CortanaApp,r=_ge("b_pg_dlyd"),r||(sj_evt.fire("BeforeShowWebView"),n||(i="showWebViewAsync",t&&t[i]&&ThresholdUtilities.wrapApiCallWithTimeout(t,i,"SWV",null,500,null))))})}(ShowWebView||(ShowWebView={}));_w.LogOffline=!1;
/*!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(function(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);var 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,function(n){function
b(){return st++}function pt(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=dt(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 wt(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 bt(n,t,i,u){return k(r(n,t,i,null,u))}function k(n){return new et(n)}function dt(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 gt(n){var f,r,h,i,a;if(_w.logInstPerf&&_w.ThresholdUtilities&&ThresholdUtilities.recordApiTime("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){var l,h,o,c,a,v,e;if(_w.logInstPerf&&_w.ThresholdUtilities&&ThresholdUtilities.recordApiTime("LL"+i+"S"),n.parentElement&&(n=n.parentElement),l=n.querySelectorAll(lt),h=l.length,h==0)return _w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("LL"+i+"A"),i++),[];for(o=[],e=0;e<h;e++)c=tt(l,e,h,null,t,u,f),c&&(e=c.lastProcessedIndex,o.push(c));if(r){for(v=[],e=0;e<o.length;++e)ut(v,nt(o[e]));a=v.map(s)}else a=o.map(s);return _w.logInstPerf&&_w.ThresholdUtilities&&(ThresholdUtilities.recordApiTime("LL"+i+"C"),i++),a}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 b=[],a=n[t],nt=a.hasAttribute(v)||a.hasAttribute(f),it=a.getAttribute(y)==="1",k,w,g,p,rt,d;if(o&&it&&!nt)return null;if(k=ni(a,r,u,null),w={isContainer:nt,lastProcessedIndex:t,layout:k,isLogged:it,children:b},(a.hasAttribute(c)||a.hasAttribute(h)||a.hasAttribute(l))&&a.setAttribute(y,"1"),!w.isContainer)return w;for(g=k.AppNS,p=t+1;p<i;p++)if(rt=n[p],a.contains(rt))d=tt(n,p,i,g?g: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 ni(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.getAttribute(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",it;n.CreateKValue=b;n.LogUpdatedLayoutCentralizedDataSources=pt;n.CreateDataSourceItem=r;n.CreateDataSourcesRoot=wt;n.CreateInstrumentedItem=bt;n.CreateInstrumentedItemFromDs=k;n.GetNewDataSources=gt;n.CreateLayoutNode=g;it=/ID=(\w+),(\d+(?:\.\d+)*)/i}(DataSourceLayoutManager||(DataSourceLayoutManager={}));_w.DsLManager=DataSourceLayoutManager;ThresholdDiagnosticsProd=function(){function n(){this.debugStrings=[];sj_evt.bind("ajax.feedback.initialized",sj_dm(this,this.registerFeedbackDebugCallback),!0);sj_evt.bind("ajax.threshold.pageStart",sj_dm(this,this.clearDebugStrings))}return 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.registerFeedbackDebugCallback=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.ampersandSanitizer=/&+$|((\?|&|#)&+)/g;this.isFirstPageStart=!0;this.startTime=_w.performance?_w.performance.timing.navigationStart:si_ST;this.apiSequenceNumber=0;this.headersAsyncPromise=null;this.headersCallComplete=!1;this.cortanaHeaders=null;this.themeColor=null;this.isDarkTheme=null;this.headersCallTimeout=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=function(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.getDecodedQuery=function(n){var i=n,t;return i||(i=_w.location.href),t=this.getUrlParameter(i,"q"),t&&(t=decodeURIComponent(t.replace(this.getRegex("\\+")," ")).trim()),t},n.prototype.getUrlReadyQuery=function(n){return encodeURIComponent(n).replace(this.getRegex("%20"),"+")},n.prototype.recordApiTimeDetail=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.prototype.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.wrapSynchronousApiCall=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.wrapApiCallWithTimeout=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 e=this,t=this;if(this.headersCallComplete){n(this.cortanaHeaders);return}if(this.headersCallbacks.push(n),!this.headersAsyncPromise){var i=null,u=!1,f=function(){i&&(sb_ct(i),i=null);t.headersCallComplete=!0},r=function(){var i,r,n;if(!u)for(t.cortanaHeaders||(t.cortanaHeadersTimedOut?SharedLogHelper.LogWarning("getCortanaHeaders",null,"Timeout"):SharedLogHelper.LogError("getCortanaHeaders",null,t.cortanaHeadersError||new Error("Missing headers"))),i=t.headersCallbacks,r=i.length,n=0;n<r;n++)i[n](t.cortanaHeaders)},o=function(n){f();e.headerOverrides(n);t.cortanaHeaders=n;t.cortanaHeadersError=null;t.cortanaHeadersTimedOut=!1;r()},s=function(n){f();t.cortanaHeaders=null;t.cortanaHeadersError=n;t.cortanaHeadersTimedOut=!1;r()};i=sb_st(function(){t.cortanaHeaders=null;t.cortanaHeadersError=null;t.cortanaHeadersTimedOut=!0;r();u=!0},this.headersCallTimeout);this.headersAsyncPromise=this.wrapApiCall(SearchAppWrapper.CortanaApp,"getQueryHeadersAsync","GQH_","getQueryHeaders").then(o,s)}},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-DeviceDimensions"]=t+"x"+i)},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]=="000000",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.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.setAttribute("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.createPromise=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=function(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.isFirstPageStart=!1;sj_evt.fire("ajax.postload")},n}();_w.ThresholdUtilities=new ThresholdUtilitiesM2;sj_evt.bind("threshold.pageUnload",function(){sj_evt.fire("unload")},0)

Teste o Premium para desbloquear

Aproveite todos os benefícios por 3 dias sem pagar! 😉
Já tem cadastro?

Outros materiais