(function(n){var i=!0;try{localStorage.setItem("test",0);localStorage.removeItem("test")}catch(f){i=!1}try{sessionStorage.setItem("test",0);sessionStorage.removeItem("test")}catch(f){i=!1}if(i||alert("If you are in private browsing mode, some features may be disabled. For the best experience, please exit private browsing mode."),Event.prototype.preventDefault||(Event.prototype.preventDefault=function(){this.returnValue=!1}),Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0}),!Element.prototype.addEventListener){var t=[],r=function(i,r){var o=this,f=function(n){n.target=n.srcElement;n.currentTarget=o;r.handleEvent?r.handleEvent(n):r.call(o,n)},u,e;i=="DOMContentLoaded"?(u=function(n){document.readyState=="complete"&&f(n)},document.attachEvent("onreadystatechange",u),t.push({object:this,type:i,listener:r,wrapper:u}),document.readyState=="complete"&&(e=new Event,e.srcElement=n,u(e))):(this.attachEvent("on"+i,f),t.push({object:this,type:i,listener:r,wrapper:f}))},u=function(n,i){for(var u=0,r;u<t.length;){if(r=t[u],r.object==this&&r.type==n&&r.listener==i){n=="DOMContentLoaded"?this.detachEvent("onreadystatechange",r.wrapper):this.detachEvent("on"+n,r.wrapper);break}++u}};Element.prototype.addEventListener=r;Element.prototype.removeEventListener=u;HTMLDocument&&(HTMLDocument.prototype.addEventListener=r,HTMLDocument.prototype.removeEventListener=u);Window&&(Window.prototype.addEventListener=r,Window.prototype.removeEventListener=u)}Function.prototype.bind||(Function.prototype.bind=function(n){if(typeof this!="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var r=Array.prototype.slice.call(arguments,1),u=this,t=function(){},i=function(){return u.apply(this instanceof t&&n?this:n,r.concat(Array.prototype.slice.call(arguments)))};return t.prototype=this.prototype,i.prototype=new t,i});n.location.origin||(n.location.origin=n.location.protocol+"//"+n.location.hostname+(n.location.port?":"+n.location.port:""));n.XMLHttpRequest=n.XMLHttpRequest||function(){return new n.ActiveXObject("Microsoft.XMLHTTP")};String.prototype.trim||function(){var n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(n,"")}}();Array.prototype.map||(Array.prototype.map=function(n,t){var e,u,i,r,f,o,s;if(this==null)throw new TypeError(" this is null or not defined");if(r=Object(this),f=r.length>>>0,typeof n!="function")throw new TypeError(n+" is not a function");for(arguments.length>1&&(e=t),u=new Array(f),i=0;i<f;)i in r&&(o=r[i],s=n.call(e,o,i,r),u[i]=s),i++;return u});String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=t||0,this.indexOf(n,t)===t})})(window)