var customEvents,__assign,__spreadArray,fflate,fallbackMm,EventLoggingModule;_w.EventsToDuplicate=[];_w.useSharedLocalStorage=!1;define("shared",["require","exports"],function(n,t){function s(n,t){for(var r=n.length,i=0;i=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.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 y(n,t){return t.length&&typeof n=="function"?function(){return n.apply(null,t)}:n}function p(n,t){var o=[].slice.apply(arguments).slice(2),i,s=y(n,o);return o.length===1&&typeof o[0]=="string"&&o[0]==="ASInternal"?(u(h),i=f(s,t),h=i,i):(typeof s=="function"&&(i=window.setImmediate&&!window.setImmediate.Override&&(!t||t<=16)?"i"+setImmediate(s):f(s,t),r[e]=i,e=(e+1)%v),i)}function w(n,t){var r=[].slice.apply(arguments).slice(2),i=a(y(n,r),t);return s[o]=i,o=(o+1)%v,i}function b(){c.forEach(r,u);c.forEach(s,window.clearInterval);u(h);e=o=s.length=r.length=0;r=[]}function u(n){if(n!=null&&(typeof n=="string"&&n.indexOf("i")===0?window.clearImmediate(parseInt(n.substr(1),10)):l(n),typeof _G!="undefined"&&_G.ClearTimersOpt===!0)){var t=r.indexOf(n);t!==-1&&r.splice(t,1)}}var c=i,r=[],s=[],h,f,l,a,v=1024,e=0,o=0;f=window.setTimeout;t.setTimeout=p;a=window.setInterval;t.setInterval=w;t.clear=b;l=window.clearTimeout;t.clearTimeout=u;window.sb_rst=f;window.setTimeout=window.sb_st=p;window.setInterval=window.sb_si=w;window.clearTimeout=window.sb_ct=u});define("event.custom",["require","exports","shared","env"],function(n,t,i,r){function f(n){return u[n]||(u[n]=[])}function e(n,t){n.d?l.setTimeout(c.wrap(n,t),n.d):n(t)}function v(n,t,i){var r,f;for(r in u)f=i?t&&r.indexOf(t)===0:!(r.indexOf(a)===0)&&!(t&&r.indexOf(t)===0)&&!(n!=null&&n[r]!=null),f&&delete u[r]}function o(n){for(var t=f(n),u=t.e=arguments,i,r=0;r0&&r*6e4<33696e6?r*6e4:33696e6,c=new Date((new Date).getTime()+Math.min(h,33696e6)),f="",e;w()&&(e=p(),f=e+(u?";SameSite="+u:";SameSite=None"));document.cookie=n+s+(t?";expires="+c.toGMTString():"")+(i?";path="+i:"")+f}function h(n,t,r,u,f){if(!i){var e=n+"="+t;s(e,r,u,f)}}function c(){return!i}function r(n,t){var r,f;return i||!u(n,t)?(window.Log&&window.Log.Log?Log.Log("CookieGetBlocked",n,t):window.directLog(JSON.stringify([{T:"CI.CookieGetBlocked",FID:n,Name:t}]),0),null):(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 l(n,t,f,e,o,h){var a,c,l,v;if(!i)try{window.cookieGetAccess=!0;c=t+"="+f;l=r(n);l?(v=r(n,t),a=v!==null?l.replace(t+"="+v,c):l+"&"+c):a=n+"="+c;u(n,t)?s(a,e,o,h):window.Log&&window.Log.Log?Log.Log("CookieSetBlocked",n,t):window.directLog(JSON.stringify([{T:"CI.CookieSetBlocked",FID:n,Name:t}]),0)}finally{window.cookieGetAccess=!1}}function a(n,t){if(!i){var r=n+"=",u=o();document.cookie=r+u+";expires="+y+(t?";path="+t:"")}}var e;t.__esModule=!0;t.clear=t.set=t.get=t.areCookiesAccessible=t.setNoCrumbs=t.isCookieAccessAllowed=void 0;var v=["dsc","__RequestVerificationToken","_C_Auth","_C_ETH","_DPC","_EDGE_E","_EDGE_S","_EDGE_V","_FP","_IDET","_NTPC","_RwBf","_Rwho","_SS","_uetmsclkid","_uetsid","3PAdsOptOut","ACL","ACLUSR","ak_bmsc","BFB","BCP","BN","bngps","btstkn","cct","CortanaAppUID","EDGSRVC","EDGSRVCPERSIST","ENSEARCH","fbar","GC","imganim","imgv","ipv6","mapc","MMCASM","msau","msedgmig","MSPTC","MUID","MUIDB","NAP","OIDI","OIDJSO","OIDR","OIDST","OIDT","OPLCLNTUA","OptanonConsent","PPLState","sbi","SMHV","SNRHOP","SnrOvr","SRCHCNT","SRCHD","SRCHHPGUSR","SRCHUID","SRCHUSR","SUID","TRBDG","TTRSL","UCB","videoanim",],i=!1,f=!0,y=new Date(0).toGMTString();window.cookieGetAccess=!1;try{e=document.cookie}catch(k){i=!0}t.isCookieAccessAllowed=u;t.setNoCrumbs=h;t.areCookiesAccessible=c;t.get=r;t.set=l;t.clear=a;window.sj_cook={get:r,set:l,setNoCrumbs:h,clear:a,areCookiesAccessible:c}});define("rmsajax",["require","exports"],function(n,t){function b(){for(var i,n=[],t=0;t=n.length)&&(!u()||!i)){var r=_G.EnableRMSINPOpt&&t%10==0&&!document.hidden;r?ai(function(){at(n,t);d(n,t+1)}):(at(n,t),d(n,t+1))}}function at(n,t){if(!u()||!i){var r=n[t];r.run=o;vi(r,function(t){return function(){yi(t,n)}}(r))}}function vt(){var t=arguments,n,r;if(t.length===0||u()&&i)return!1;if(n=f[wt(t[0])],t.length>1)r=di.apply(null,t),d(r,0);else{if(it(n))return!0;n.run=o;bt(n,function(){yt(n)})}return!0}function vi(n,t){var f,o,e;if(n.state){n.state===h&&n.callbacks.length>0&&g(n);return}if(!u()||!i){if(n.state=oi,ri(n)){t();return}typeof XMLHttpRequest!="undefined"&&XMLHttpRequest?(f=new XMLHttpRequest,f.open("GET",n.url,!0),f.onreadystatechange=function(){f.readyState==4&&(!ct&&(f.status<200||f.status>=400)&&(fi(n.url,"2",{resourceUrl:n.url,pageUrl:window.location.href,status:f.status,response:f.responseText}),ct=!0),t())},f.send()):window.ActiveXObject!==undefined||ci.test(navigator.userAgent)?(o=new Image,o.onload=t,o.onerror=t,o.src=n.url):(e=r.createElement("object"),e.setAttribute("width","0"),e.setAttribute("height","0"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),e.onload=t,e.onerror=t,e.setAttribute("data",n.url),r.body.appendChild(e))}}function yi(n,t){n.run!=o||u()&&i||(n.state=ut,pt(t))}function pi(n,t){n.run!=o||u()&&i||bt(n,function(n){return function(){yt(n,t)}}(n))}function yt(n,t){n.run!=o||u()&&i||(n.state=h,g(n),n.ro&&!p[n.key]&&(p[n.key]=!0),t)&&pt(t)}function pt(n){for(var i,t=0;t0){var t=n.callbacks.shift();t.dec()}}function bt(n,t){var l,f,p,s,w,o,c,a,e;if(n.state==ft||n.state==h){n.state===h&&n.callbacks.length>0&&g(n);return}if(!u()||!i)if(n.state=ft,f=r.createElement("SCRIPT"),p=n.ct!==undefined?n.ct:"text/javascript",f.type=p,f.setAttribute("data-rms","1"),n.key!==undefined&&n.key==="rms:answers:AutoSuggest:AutoSug"&&(f.onerror=function(){n.state=si}),f.onreadystatechange=f.onload=function(){var i=f.readyState;if(!i||/loaded|complete/.test(i))try{kt(t)}catch(r){throw new TypeError("processCallback threw error for script:"+n.key+" script Url:"+n.url+" error stack:"+(r?r.stack:""));}},ri(n)){if(s=_w.jsDefer,s)s.length>n.pos&&(f.text=s[n.pos],r.body.appendChild(f));else if(w=n.app?ot:et,a=y("tempscripttag"),(o=r.getElementById(w))&&(c=a?(l=o===null||o===void 0?void 0:o.content)===null||l===void 0?void 0:l.childNodes:o===null||o===void 0?void 0:o.childNodes)&&c[n.pos]&&(e=c[n.pos].innerHTML,bi(c,n.pos),e&&(e===null||e===void 0?void 0:e.length))){if(!a){var b=4,k=3,v=e.length,d=e.substring(0,b),nt=e.substring(v-k,v);d==""&&(e=e.substring(b,v-k))}f.text=typeof DefaultTrustedTypesPolicy!="undefined"&&DefaultTrustedTypesPolicy.getOpaqueScript?DefaultTrustedTypesPolicy.getOpaqueScript(e):e;r.body.appendChild(f)}kt(t)}else f.src=n.url,(!ui()||ui()&&gi(f.src))&&f.setAttribute("crossorigin","anonymous"),ht||(fi(f.src,"1",{resourceUrl:f.src}),ht=!0),r.body.appendChild(f)}function bi(n,t){var i,r,u=(i=n[t])===null||i===void 0?void 0:i.getAttribute("rkey"),f=(r=n[t+1])===null||r===void 0?void 0:r.getAttribute("rkey");_w.lirab=u;_w.liraa=f}function kt(n){n.done||(n.done=!0,n())}function dt(n){return st.call(n)=="[object Function]"}function gt(n){return st.call(n)=="[object Array]"}function ni(n,t,i){for(var u,f=new nt(i),r=0;r=0}function u(){return y("rmsstop")}function it(n){return n&&n.ro&&n.key&&p[n.key]}function y(n){return _G!==undefined&&_G.EF!==undefined&&_G.EF[n]===1}function tr(n){if(v&&v.length>0)for(var t=0;ti[er]&&(f.errorType="Overload",i[s]=!1),h={impressionGuid:r,timestamp:o,data:{eventType:kt,eventData:f}},ci([h])):tt(kt,f,null))}function uu(){ru();sr();try{w=_w.localStorage;u.initialize()}catch(n){}}function p(n){u.append(n);l()}function hi(n){return JSON.stringify(n).replace(/]]>/g,"]]]\]>")}function r(n,t,i){n.push("<",t,">",i,"<\/",t,">")}function fu(n,t,i){var s,e=n.data,o=e.eventData,h,u,f;o||(o=e.eventData={});t.push("");r(t,"T","Event."+e.eventType);r(t,"IG",o.OvrIG||n[ft]);n[ui]&&(r(t,"PrevIG",n[ui]),n[fi]&&r(t,"DominantIG",n[fi]));h=e.dataSources;h&&r(t,"DS","");u=e.pageLayout;u&&(t.push(""),f=!1,"Name"in u&&(r(t,"Name",u.Name),f=!0),"Number"in u&&(r(t,"Num",u.Number),f=!0),"IID"in u&&(r(t,"IID",u.IID),f=!0),"SFX"in u&&(r(t,"SFX",u.SFX),f=!0),f&&(u=(s=u.L)!==null&&s!==void 0?s:[]),r(t,"L",""),t.push("<\/Page>"));o.UTS=i;r(t,"D","");r(t,"TS",n[nr]);t.push("<\/E>")}function ht(n){var t=_w.location.href,i;return ut&&t.indexOf(ut)===0||(i=t.indexOf("?"),i<0&&(i=t.indexOf("#")),ut=i<0?t:t.substring(0,i)),n.CurUrl=ut,n}function hr(n){var i={isCompressed:!1,stringValue:""},t=[""],l=(new Date).getTime(),a=_G.CID||sj_cook.get(vi,vi),s,u,v,f,h,c,e,y,o;if(a&&r(t,"CID",a),n.length>0){for(s=n[0].data,s.eventType==dt&&(u=s.pageLayout,u&&u.IID&&u.SFX&&(v=u.IID+"_"+u.SFX,r(t,"AppNS",v))),f=0,h=nu;f0){for(t.push(""),e=0;e")}}if(t.push("<\/ClientInstRequest>"),o=t.join(""),_G.EnableCompression&&_w.fflate){var w=_w.fflate.strToU8(o),k=_w.fflate.deflateSync(w),p=btoa(String.fromCharCode.apply(String,k));if(p.lengthi[d]||r&&r.forceFlushNoSB)e[f].abort(),e[f]=null,y("TimedOut",1,_G.IG);else return;if(a=br(r),v=u.getBatch(n),v.length!=0){if(p=v.map(function(n){return n.log}),a&<(p,"SB"),h=hr(p),w=cr(h),a&&ou(w,h.stringValue)){e[f]&&t&&(e[f].abort(),e[f]=null);u.clearSentItems(n,!0)&&!n&&l(!1);l(!0);return}o=sj_gx();o.open("POST",w,!0);i[d]>=1e3&&(o.timeout=i[d]);o.onload=function(){return eu(o,e,n)};o.setRequestHeader("Content-type","text/xml");e[f]=o;e[tr]=(new Date).getTime();o.send(h.stringValue)}}}function lt(n,t,i){n.forEach(function(n){var r,u;(r=(u=n.data.eventData)[bt])!==null&&r!==void 0?r:u[bt]={};n.data.eventData[bt][t]=i!==null&&i!==void 0?i:"1"})}function eu(n,t,i){if(n.readyState===4){t[f]=null;var r=Math.floor(n.status/100);r===2?(u.clearSentItems(i)&&!i&&l(!1),l(!0)):r===4?(u.markFailedItems(!0,i),l(!0)):u.markFailedItems(!1,i);i&&u.recordRetryAttempt()}}function at(n,t,i,r,u,f,e,o,s){for(var d,h,a,v,l,y,g,c,p,w,b,k=0,nt=gr;k=0?h.T=i:(i.substring(0,3)==="CI."&&(i=i.substring(3)),h.T="CI."+i)),v=s||(new Date).getTime(),h.TS=v,h.RTS=v-pi,h.SEQ=gt++,l=(c={},c[ft]=f||h.ImpressionGuid||_G.IG,c[ui]=e,c[nr]=v,c.data={eventType:n||rt,eventData:h,dataSources:r,pageLayout:u},c[fi]=o,c),_G.XLSThrottle&&iu.indexOf(h.T)===-1){if(y=[l[ft],n!==null&&n!==void 0?n:rt,(p=h.T)!==null&&p!==void 0?p:"",(w=h.FID)!==null&&w!==void 0?w:"",(b=h.Name)!==null&&b!==void 0?b:""].join(","),ei.hasOwnProperty(y)||(ei[y]=0),g=++ei[y],g>_G.XLSThrottle)return null;g===_G.XLSThrottle&<([l],"TT")}return h.T==="CI.Click"||h.T==="CI.PredictionShown"||n===dt?(ci([l]),null):l}function ci(n){var i=hr(n),r=cr(i),u=i.stringValue,t;navigator&&navigator.sendBeacon?navigator.sendBeacon(r,u):(t=sj_gx(),t.open("POST",r),t.setRequestHeader("Content-type","text/xml"),t.send(u))}function lr(n,t){var r=[];for(var i in n)n.hasOwnProperty(i)&&(typeof n[i]=="string"&&(n[i]=decodeURIComponent(n[i])),r.push(i,n[i]));a(n.T,n.FID,n.Name,t,r,"DL")}function li(n,t){(new Image).src=_G.lsUrl+"&dl=2&Type=Event.ClientInst&DATA="+n;a("Info","XLS","DLFallback",!1,["DATA",n,"SRC",t],"DLF")}function ai(n,t,i){var r,u,f,e;if(_G.DirectLogFlight!=null&&t<=_G.DirectLogFlight)try{r=null;try{r=JSON.parse(n)}catch(o){r=JSON.parse(decodeURIComponent(n).replace(/[\u0000-\u001F]+/g,""))}if(Array.isArray(r))for(u=0,f=r;u0&&tt(yi,(t={queryTags:i.join(",")},t[e]="F",t),yi)}function yr(n,t,r,u,f,o){var h,l,c;if(i[s]){if(!n||!t||!r||!u)return console.error("LogCustomData: Missing one or more required identifier fields in data object");(l=__assign((h={T:n,FID:t,Name:r,Namespace:u,CustomDataKeys:Object.keys(f).join(",")},h[e]=v+"CD",h),f),c=at(rt,l,n,null,null,o),c)&&p(c)}}function ou(n,t){var i="sendBeacon",r=!1;if(navigator&&navigator[i])try{r=navigator[i](n,t)}catch(u){y("SBFail",1,_G.IG)}return r}function br(n){return _w[o]&&_w[o][di]?_w[o][di](n):n&&n.useSendBeacon}function kr(n,t){n===void 0&&(n=!0);(br(t)||t&&t.forceFlushNoSB)&&(u.dumpToStorage(),nt(!1,!0,t))}function vt(){u.dumpToStorage();nt(!1,!1)}function yt(){u.dumpToStorage();ti=!0;nt(!1,!0,{useSendBeacon:!0})}function dr(n,t,i){n!==null&&n!==void 0?n:n={};n[e]=v+"LP";tt(dt,n,"ClientSidePartialImpression",t,i)}var it,pt,wt,or,u,c,pr,wr,a;t.__esModule=!0;t.LogPartialImpression=t.FlushMainQueueDontForce=t.ForceFlush=t.Log2=t.Log=t.LogCustomData=t.LogFilterFlare=t.LogEvent=t.LogPerf=t.DirectLog=t.modifyRoute=t.collectCommonEventProperties=t.enqueue=void 0;var v="XLS-",e="SDK",bt="XLSF",vi="MUID",kt="CIQueueError",dt="PartialDynamicContent.FrontDoor",rt="ClientInst",yi="FilterFlare",i,gt,pi,w,ut,wi=0,bi="ClientInstConfig",ni="XLS_PreProcessor",gr=["ChatPrivacy","WSB"],b="XLS_PostProcessor",nu=["WSB"],o="XLS_Plugin_Function_Overrides",ki="determineRoute",di="useSendBeacon",gi="forceFlushNoSendBeacon",ti=!1,ii=!1,h="inProgress",ri="retried",ft="impressionGuid",ui="previousImpressionGuid",fi="dominantImpressionGuid",nr="timestamp",f="currentRequest",tr="requestSentTimestamp",et="mainQueue",k="retryQueue",ot="flushTimeoutHandle",d="flushInterval",ir="retryInterval",rr="maxStorageUse",ur="maxBatchSize",fr="queueDumpInterval",s="isInstrumentationEnabled",er="maxDirectErrors",tu="pageInfoTimeout",ei={},iu=["CI.Click","CI.BoxModel","CI.FilterFlare"],oi={},g="sj_evt",st="sj_be",si;(function(n){n[n.EVENT=0]="EVENT";n[n.MASTER_PAGE_IMPRESSION=1]="MASTER_PAGE_IMPRESSION"})(si||(si={}));or=["IsCI","VDPChapterTimestampClick"],function(n){function p(n){var t=["proactive","search","zinc"].some(function(t){return n.indexOf(t)==1});return"eventLogQueue"+(t?"_Online":"_Offline")}function a(){return f&&i[s]}function u(){var n,t;if(a()){n=rt();try{t=o;w[t]=n}catch(i){if(i.name.toLowerCase().indexOf("quota")>=0)f=!1;else throw i;}}}function c(){a()&&(e&&clearTimeout(e),e=setTimeout(u,i[fr]))}function k(){var n,e,i,u,r;if(w){if(n=w[o],t=[],typeof n=="string"||n&&n.length!==0)try{if(t=JSON.parse(n),t.some(function(n){return!n.log}))y("LSItemErr",t.length,_G.IG),t=[];else if(e=t.length,e>0){for(i=0,u=t;i0}function tt(n,i){for(var f=[],s=i?r[0]:t,e=0,u,o,l;e0&&(l=o/2,r.push(f.slice(0,l)),r.push(f.slice(l)));c()}function it(){var n,t,i;if(r.length>0){for(n=r[0],t=0;t0)for(r=0,n=0;n=u){t.splice(0,n+1);y("QueueTrim",n+1,_G.IG,!0);break}return JSON.stringify(t)}function ut(n){var i,r=(i={log:n,retried:!1},i[h]=!1,i.size=0,i),f=JSON.stringify(r).length+3;r.size=f;t.push(r);ti?u():c()}var t=[],f=!1,e=null,r=[],v=_w.location.pathname,o=p(v);n.dumpToStorage=u;n.initialize=k;n.getBatch=d;n.clearSentItems=g;n.markFailedItems=tt;n.recordRetryAttempt=it;n.append=ut}(u||(u={}));t.enqueue=p;t.collectCommonEventProperties=ht;t.modifyRoute=ct;c=(it={},it[et]={getInterval:function(){return i[d]}},it[k]={getInterval:function(){return i[ir]}},it);t.DirectLog=ai;t.LogPerf=ar;t.LogEvent=tt;t.LogFilterFlare=vr;t.LogCustomData=yr;pr=function(n,t,i,r){for(var f=[],u=4;u0&&f.length%2==0)for(c=0;c>1)),o=0,f=function(n){e[o++]=n};for(u=0;ue.length&&(h=new i(o+8+(c-u<<1)),h.set(e),e=h),r=n.charCodeAt(u),r<128||t?f(r):r<2048?(f(192|r>>6),f(128|r&63)):r>55295&&r<57344?(r=65536+(r&1047552)|n.charCodeAt(++u)&1023,f(240|r>>18),f(128|r>>12&63),f(128|r>>6&63),f(128|r&63)):(f(224|r>>12),f(128|r>>6&63),f(128|r&63));return it(e,0,o)}var i=Uint8Array,r=Uint16Array,l=Int32Array,a=new i([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),v=new i([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),k=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=function(n,t){for(var e,f,u=new r(31),i=0;i<31;++i)u[i]=t+=1<>1|(t&21845)<<1,u=(u&52428)>>2|(u&13107)<<2,u=(u&61680)>>4|(u&3855)<<4,p[t]=((u&65280)>>8|(u&255)<<8)>>1;for(o=function(n,t,i){for(var o=n.length,u=0,h=new r(t),f,e,c,a;u>c]=v}}else for(e=new r(o),u=0;u>15-n[u]);return e},e=new i(288),t=0;t<144;++t)e[t]=8;for(t=144;t<256;++t)e[t]=9;for(t=256;t<280;++t)e[t]=7;for(t=280;t<288;++t)e[t]=8;for(s=new i(32),t=0;t<32;++t)s[t]=5;var ct=o(e,9,0),lt=o(s,5,0),tt=function(n){return(n+7)/8|0},it=function(n,t,r){return(t==null||t<0)&&(t=0),(r==null||r>n.length)&&(r=n.length),new i(n.subarray(t,r))},f=function(n,t,i){i<<=t&7;var r=t/8|0;n[r]|=i;n[r+1]|=i>>8},h=function(n,t,i){i<<=t&7;var r=t/8|0;n[r]|=i;n[r+1]|=i>>8;n[r+2]|=i>>16},w=function(n,t){for(var s,o,d,w,e,h,k,g,nt,u=[],f=0;fw&&(w=o[f].s);if(e=new r(w+1),h=b(u[y-1],e,0),h>t){var f=0,c=0,tt=h-t,it=1<t)c+=it-(1<>=tt;c>0;)g=o[f].s,e[g]=0&&c;--f)nt=o[f].s,e[nt]==t&&(--e[nt],++c);h=t}return{t:new i(e),l:h}},b=function(n,t,i){return n.s==-1?Math.max(b(n.l,t,i+1),b(n.r,t,i+1)):t[n.s]=i},rt=function(n){for(var i=n.length,f;i&&!n[--i];);var o=new r(++i),s=0,e=n[0],t=1,u=function(n){o[s++]=n};for(f=1;f<=i;++f)if(n[f]==e&&f!=i)++t;else{if(!e&&t>2){for(;t>138;t-=138)u(32754);t>2&&(u(t>10?t-11<<5|28690:t-3<<5|12305),t=0)}else if(t>3){for(u(e),--t;t>6;t-=6)u(8304);t>2&&(u(t-3<<5|8208),t=0)}while(t--)u(e);t=1;e=n[f]}return{c:o.subarray(0,s),n:i}},c=function(n,t){for(var r=0,i=0;i>8,n[r+2]=n[r]^255,n[r+3]=n[r+1]^255,u=0;u4&&!st[k[ot-1]];--ot);var si=g+5<<3,gt=c(l,e)+c(y,s)+p,ni=c(l,pt)+c(y,wt)+p+14+3*ot+c(et,st)+2*et[16]+3*et[17]+7*et[18];if(d>=0&&si<=gt&&si<=ni)return ut(t,nt,n.subarray(d,d+g));if(f(t,nt,1+(ni15&&(f(t,nt,vt[tt]>>5&127),nt+=vt[tt]>>12)}else ht=ct,at=e,ti=lt,ii=s;for(tt=0;tt255?(it=ft>>18&31,h(t,nt,ht[it+257]),nt+=at[it+257],it>7&&(f(t,nt,ft>>23&31),nt+=a[it]),yt=ft&31,h(t,nt,ti[yt]),nt+=ii[yt],yt>3&&(h(t,nt,ft>>5&8191),nt+=v[yt])):(h(t,nt,ht[ft]),nt+=at[ft]);return h(t,nt,ht[256]),nt+at[256]},at=new l([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),et=new i(0),vt=function(n,t,u,f,e,o){var p=o.z||n.length,dt=new i(f+p+5*(1+Math.ceil(p/7e3))+e),et=dt.subarray(f,dt.length-e),st=o.l,h=(o.r||0)&7,lt,w,ci,ii,c,ui,fi,s,kt;if(t){h&&(et[0]=o.r>>3);for(var ei=at[t-1],ai=ei>>13,vi=ei&8191,oi=(1<7e3||k>24576)&&(lt>423||!st)){for(h=ft(n,et,0,ht,ot,yt,pt,k,ct,s-ct,h),k=ni=pt=0,ct=s,c=0;c<286;++c)ot[c]=0;for(c=0;c<30;++c)yt[c]=0}var rt=2,bt=0,pi=vi,b=d-g&32767;if(lt>2&&ti==hi(s-b))for(var wi=Math.min(ai,lt)-1,bi=Math.min(32767,s),ki=Math.min(258,lt);b<=bi&&--pi&&d!=g;){if(n[s+rt]==n[s+rt-b]){for(w=0;wrt){if(rt=w,bt=b,w>wi)break;for(ci=Math.min(b,w-2),ii=0,c=0;cii&&(ii=li,g=ri)}}}d=g;g=vt[d];b+=d-g&32767}bt?(ht[k++]=268435456|y[rt]<<18|nt[bt],ui=y[rt]&31,fi=nt[bt]&31,pt+=a[ui]+v[fi],++ot[257+ui],++yt[fi],wt=s+rt,++ni):(ht[k++]=n[s],++ot[n[s]])}}for(s=Math.max(s,wt);s=p&&(et[h/8|0]=st,kt=p),h=ut(et,h+1,n.subarray(s,kt));o.i=p}return it(dt,0,f+tt(h)+e)},yt=function(n,t,r,u,f){if(!f&&(f={l:1},t.dictionary)){var e=t.dictionary.subarray(-32768),o=new i(e.length+n.length);o.set(e);o.set(n,e.length);n=o;f.w=e.length}return vt(n,t.level==null?6:t.level,t.mem==null?f.l?Math.ceil(Math.max(8,Math.min(13,Math.log(n.length)))*1.5):20:12+t.mem,r,u,f)};var ot=typeof TextEncoder!="undefined"&&new TextEncoder,wt=typeof TextDecoder!="undefined"&&new TextDecoder,bt=0;try{wt.decode(et,{stream:!0});bt=1}catch(dt){}return n.deflateSync=pt,n.strToU8=kt,Object.defineProperty(n,"__esModule",{value:!0}),n}({});fallbackMm=require("fallback.mm");fallbackMm.replay();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(n){function i(n,t){return typeof n[t]!="undefined"}function t(){_d.addEventListener("visibilitychange",function(){_d.visibilityState==="visible"&&(i(window,"Log2")&&Log2.LogEvent?(Log2.LogEvent("TabFocusChanged",{Name:_d.visibilityState,FID:"TabFocused"},"TabFocusChanged",!1),Log.Log("TabFocusChanged","CI","TabFocused",!1,"Text","Triggered"),Log.LogFilterFlare(["tabFocusChanged"])):Log&&Log.LogCustomEvent?(Log.LogCustomEvent("TabFocusChanged","TabFocused",_d.visibilityState,!0),Log.Log("TabFocusChanged","CI","TabFocused",!1,"Text","Triggered"),Log.LogFilterFlare(["tabFocusChanged"])):Log.Log("CI.TabFocusChanged","TabFocused","Triggered"))})}n.LogEventOnTabVisibilityChange=t;sj_evt.bind("onP1",function(){t()},1)}(EventLoggingModule||(EventLoggingModule={}))