function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)} /*! Raven.js 3.26.4 (409f3b4) | github.com/getsentry/raven-js */!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Raven=e()}}((function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){var n=t[a][1][e];return i(n||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;athis.k.maxBreadcrumbs&&this.u.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this.r.push([e,t]),this.n&&this.F(),this},setUserContext:function(e){return this.j.user=e,this},setExtraContext:function(e){return this.Z("extra",e),this},setTagsContext:function(e){return this.Z("tags",e),this},clearContext:function(){return this.j={},this},getContext:function(){return JSON.parse(s(this.j))},setEnvironment:function(e){return this.k.environment=e,this},setRelease:function(e){return this.k.release=e,this},setDataCallback:function(e){var t=this.k.dataCallback;return this.k.dataCallback=i(t,e),this},setBreadcrumbCallback:function(e){var t=this.k.breadcrumbCallback;return this.k.breadcrumbCallback=i(t,e),this},setShouldSendCallback:function(e){var t=this.k.shouldSendCallback;return this.k.shouldSendCallback=i(t,e),this},setTransport:function(e){return this.k.transport=e,this},lastException:function(){return this.d},lastEventId:function(){return this.f},isSetup:function(){return!(!this.a||!this.g&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this.z("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var e=B.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if($){if(!(e=Object.assign({eventId:this.lastEventId(),dsn:this.H,user:this.j.user||{}},e)).eventId)throw new c("Missing eventId");if(!e.dsn)throw new c("Missing DSN");var t=encodeURIComponent,n=[];for(var r in e)if("user"===r){var i=e.user;i.name&&n.push("name="+t(i.name)),i.email&&n.push("email="+t(i.email))}else n.push(t(r)+"="+t(e[r]));var o=this.J(this.G(e.dsn)),a=$.createElement("script");a.async=!0,a.src=o+"/api/embed/error-page/?"+n.join("&"),($.head||$.body).appendChild(a)}},L:function(){var e=this;this.m+=1,setTimeout((function(){e.m-=1}))},$:function(e,t){var n,r;if(this.b){for(r in t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),$.createEvent?(n=$.createEvent("HTMLEvents")).initEvent(e,!0,!0):(n=$.createEventObject()).eventType=e,t)R(t,r)&&(n[r]=t[r]);if($.createEvent)$.dispatchEvent(n);else try{$.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(i){}}},_:function(e){var t=this;return function(n){if(t.aa=null,t.v!==n){var r;t.v=n;try{r=M(n.target)}catch(i){r=""}t.captureBreadcrumb({category:"ui."+e,message:r})}}},ba:function(){var e=this;return function(t){var n;try{n=t.target}catch(i){return}var r=n&&n.tagName;if(r&&("INPUT"===r||"TEXTAREA"===r||n.isContentEditable)){var o=e.aa;o||e._("input")(t),clearTimeout(o),e.aa=setTimeout((function(){e.aa=null}),1e3)}}},ca:function(e,t){var n=F(this.w.href),r=F(t),i=F(e);this.x=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===i.protocol&&n.host===i.host&&(e=i.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},C:function(){var e=this;e.da=Function.prototype.toString,Function.prototype.toString=function(){return"function"==typeof this&&this.M?e.da.apply(this.O,arguments):e.da.apply(this,arguments)}},Q:function(){this.da&&(Function.prototype.toString=this.da)},D:function(){function e(e){return function(t,r){for(var i=new Array(arguments.length),o=0;o"}}},a)),e.apply?e.apply(this,i):e(i[0],i[1])}}function t(e){var t=B[e]&&B[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(q(t,"addEventListener",(function(t){return function(r,o,a,s){try{o&&o.handleEvent&&(o.handleEvent=n.wrap({mechanism:{type:"instrument",data:{target:e,function:"handleEvent",handler:o&&o.name||""}}},o.handleEvent))}catch(u){}var c,l,f;return i&&i.dom&&("EventTarget"===e||"Node"===e)&&(l=n._("click"),f=n.ba(),c=function(e){if(e){var t;try{t=e.type}catch(n){return}return"click"===t?l(e):"keypress"===t?f(e):void 0}}),t.call(this,r,n.wrap({mechanism:{type:"instrument",data:{target:e,function:"addEventListener",handler:o&&o.name||""}}},o,c),a,s)}}),r),q(t,"removeEventListener",(function(e){return function(t,n,r,i){try{n=n&&(n.N?n.N:n)}catch(o){}return e.call(this,t,n,r,i)}}),r))}var n=this,r=n.t,i=this.k.autoBreadcrumbs;q(B,"setTimeout",e,r),q(B,"setInterval",e,r),B.requestAnimationFrame&&q(B,"requestAnimationFrame",(function(e){return function(t){return e(n.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:e&&e.name||""}}},t))}}),r);for(var o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],a=0;a"}}},n)}))}var t=this,n=this.k.autoBreadcrumbs,r=t.t;if(n.xhr&&"XMLHttpRequest"in B){var i=B.XMLHttpRequest&&B.XMLHttpRequest.prototype;q(i,"open",(function(e){return function(n,r){return b(r)&&-1===r.indexOf(t.h)&&(this.ea={method:n,url:r,status_code:null}),e.apply(this,arguments)}}),r),q(i,"send",(function(n){return function(){function r(){if(i.ea&&4===i.readyState){try{i.ea.status_code=i.status}catch(e){}t.captureBreadcrumb({type:"http",category:"xhr",data:i.ea})}}for(var i=this,o=["onload","onerror","onprogress"],a=0;a"}}},e,r)})):i.onreadystatechange=r,n.apply(this,arguments)}}),r)}n.xhr&&A()&&q(B,"fetch",(function(e){return function(){for(var n=new Array(arguments.length),r=0;r2?arguments[2]:void 0;return n&&t.ca(t.x,n+""),e.apply(this,arguments)}};q(B.history,"pushState",u,r),q(B.history,"replaceState",u,r)}if(n.console&&"console"in B&&console.log){var c=function(e,n){t.captureBreadcrumb({message:e,level:n.level,category:"console"})};x(["debug","info","warn","error","log"],(function(e,t){I(console,t,c)}))}},R:function(){for(var e;this.t.length;){var t=(e=this.t.shift())[0],n=e[1],r=e[2];t[n]=r}},S:function(){for(var e in this.q)this.p[e]=this.q[e]},F:function(){var e=this;x(this.r,(function(t,n){var r=n[0],i=n[1];r.apply(e,[e].concat(i))}))},G:function(e){var t=z.exec(e),n={},r=7;try{for(;r--;)n[H[r]]=t[r]||""}catch(i){throw new c("Invalid DSN: "+e)}if(n.pass&&!this.k.allowSecretKey)throw new c("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},J:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},A:function(e,t){(t=t||{}).mechanism=t.mechanism||{type:"onerror",handled:!1},this.m||this.V(e,t)},V:function(e,t){var n=this.X(e,t);this.$("handle",{stackInfo:e,options:t}),this.fa(e.name,e.message,e.url,e.lineno,n,t)},X:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(x(e.stack,(function(t,i){var o=n.ga(i,e.url);o&&r.push(o)})),t&&t.trimHeadFrames))for(var i=0;i0&&(e.breadcrumbs={values:[].slice.call(this.u,0)}),this.j.user&&(e.user=this.j.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),e=this.pa(e),Object.keys(e).forEach((function(t){(null==e[t]||""===e[t]||E(e[t]))&&delete e[t]})),y(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!E(e)&&(!y(t.shouldSendCallback)||t.shouldSendCallback(e)))return this.ma()?void this.z("warn","Raven dropped error due to backoff: ",e):void("number"==typeof t.sampleRate?Math.random() ".length;e&&r++<5&&!("html"===(t=h(e))||r>1&&i+n.length*o+t.length>=80);)n.push(t),i+=t.length,e=e.parentNode;return n.reverse().join(" > ")},htmlElementAsString:h,isSameException:function(e,t){return!p(e,t)&&(e=e.values[0],t=t.values[0],e.type===t.type&&e.value===t.value&&!function(e,t){return r(e)&&r(t)}(e.stacktrace,t.stacktrace)&&d(e.stacktrace,t.stacktrace))},isSameStacktrace:d,parseUrl:function(e){if("string"!=typeof e)return{};var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}},fill:function(e,t,n,r){if(null!=e){var i=e[t];e[t]=n(i),e[t].M=!0,e[t].O=i,r&&r.push([e,t,i])}},safeJoin:function(e,t){if(!a(e))return"";for(var n=[],r=0;rr?e(t,n-1):o},serializeKeysForMessage:function(e,t){if("number"==typeof e||"string"==typeof e)return e.toString();if(!Array.isArray(e))return"";if(0===(e=e.filter((function(e){return"string"==typeof e}))).length)return"[object has no keys]";if(t="number"!=typeof t?x:t,e[0].length>=t)return e[0];for(var n=e.length;n>0;n--){var r=e.slice(0,n).join(", ");if(!(r.length>t))return n===e.length?r:r+"…"}return""},sanitize:function(e,t){if(!a(t)||a(t)&&0===t.length)return e;var n,r=f(t),o="********";try{n=JSON.parse(y(e))}catch(s){return e}return function e(t){return a(t)?t.map((function(t){return e(t)})):i(t)?Object.keys(t).reduce((function(n,i){return n[i]=r.test(i)?o:e(t[i]),n}),{}):t}(n)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{7:7}],6:[function(e,t,n){(function(n){function r(){return"undefined"==typeof document||null==document.location?"":document.location.href}var i=e(5),o={collectWindowErrors:!0,debug:!1},a="undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:{},s=[].slice,u="?",c=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;o.report=function(){function e(t,n){var r=null;if(!n||o.collectWindowErrors){for(var i in p)if(p.hasOwnProperty(i))try{p[i].apply(null,[t].concat(s.call(arguments,2)))}catch(e){r=e}if(r)throw r}}function t(t,a,s,l,h){var p=i.isErrorEvent(h)?h.error:h,d=i.isErrorEvent(t)?t.message:t;if(v)o.computeStackTrace.augmentStackTraceWithInitialElement(v,a,s,d),n();else if(p&&i.isError(p))e(o.computeStackTrace(p),!0);else{var m,g={url:a,line:s,column:l},y=void 0;if("[object String]"==={}.toString.call(d))(m=d.match(c))&&(y=m[1],d=m[2]);g.func=u,e({name:y,message:d,url:r(),stack:[g]},!0)}return!!f&&f.apply(this,arguments)}function n(){var t=v,n=d;d=null,v=null,m=null,e.apply(null,[t,!1].concat(n))}function l(e,t){var r=s.call(arguments,1);if(v){if(m===e)return;n()}var i=o.computeStackTrace(e);if(v=i,m=e,d=r,setTimeout((function(){m===e&&n()}),i.incomplete?2e3:0),!1!==t)throw e}var f,h,p=[],d=null,m=null,v=null;return l.subscribe=function(e){h||(f=a.onerror,a.onerror=t,h=!0),p.push(e)},l.unsubscribe=function(e){for(var t=p.length-1;t>=0;--t)p[t]===e&&p.splice(t,1)},l.uninstall=function(){h&&(a.onerror=f,h=!1,f=void 0),p=[]},l}(),o.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,n,i,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack||[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/\((\S*)(?::(\d+))(?::(\d+))\)/,f=e.stack.split("\n"),h=[],p=(/^(.*) is undefined$/.exec(e.message),0),d=f.length;p eval")>-1&&(t=c.exec(n[3]))?(n[3]=t[1],n[4]=t[2],n[5]=null):0!==p||n[5]||void 0===e.columnNumber||(h[0].column=e.columnNumber+1),i={url:n[3],func:n[1]||u,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func=u),i.url&&"blob:"===i.url.substr(0,5)){var v=new XMLHttpRequest;if(v.open("GET",i.url,!1),v.send(null),200===v.status){var g=v.responseText||"",y=(g=g.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(y){var b=y[1];"~"===b.charAt(0)&&(b=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+b.slice(1)),i.url=b.slice(0,-4)}}}h.push(i)}return h.length?{name:e.name,message:e.message,url:r(),stack:h}:null}}function t(e,t,n,r){var i={url:t,line:n};if(i.url&&i.line){if(e.incomplete=!1,i.func||(i.func=u),e.stack.length>0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function n(e,a){for(var s,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],h={},p=!1,d=n.caller;d&&!p;d=d.caller)if(d!==i&&d!==o.report){if(c={url:null,func:u,line:null,column:null},d.name?c.func=d.name:(s=l.exec(d.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(v){}h[""+d]?p=!0:h[""+d]=!0,f.push(c)}a&&f.splice(0,a);var m={name:e.name,message:e.message,url:r(),stack:f};return t(m,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),m}function i(t,i){var s=null;i=null==i?0:+i;try{if(s=e(t))return s}catch(a){if(o.debug)throw a}try{if(s=n(t,i+1))return s}catch(a){if(o.debug)throw a}return{name:t.name,message:t.message,url:r()}}return i.augmentStackTraceWithInitialElement=t,i.computeStackTraceFromStackProp=e,i}(),t.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{5:5}],7:[function(e,t,n){function r(e,t){for(var n=0;n0){var s=r(n,this);~s?n.splice(s+1):n.push(this),~s?i.splice(s,1/0,o):i.push(o),~r(n,a)&&(a=t.call(this,o,a))}else n.push(a);return null==e?a instanceof Error?function(e){var t={stack:e.stack,message:e.message,name:e.name};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}(a):a:e.call(this,o,a)}}n=t.exports=function(e,t,n,r){return JSON.stringify(e,i(t,r),n)},n.getSerialize=i},{}],8:[function(e,t,n){function r(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,o,a){return r(function(e,t){return e<>>32-t}(r(r(t,e),r(i,a)),o),n)}function o(e,t,n,r,o,a,s){return i(t&n|~t&r,e,t,o,a,s)}function a(e,t,n,r,o,a,s){return i(t&r|n&~r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}function c(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,i,c,l,f,h=1732584193,p=-271733879,d=-1732584194,m=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+r.charAt(15&t);return i}function p(e){return unescape(encodeURIComponent(e))}function d(e){return function(e){return l(c(f(e),8*e.length))}(p(e))}function m(e,t){return function(e,t){var n,r,i=f(e),o=[],a=[];for(o[15]=a[15]=void 0,i.length>16&&(i=c(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=c(o.concat(f(t)),512+8*t.length),l(c(a.concat(r),640))}(p(e),p(t))}t.exports=function(e,t,n){return t?n?m(t,e):function(e,t){return h(m(e,t))}(t,e):n?d(e):function(e){return h(d(e))}(e)}},{}]},{},[4])(4)})); ;function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}AoPS.ErrorUtil={PRODUCTION_ONLY:!0,IGNORE_ERRORS:["top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage",/\bUET\b/,/\(raven\)/i,"Cannot read property 'offsetParent' of null","Cannot read property 'DOMNodeInsertedByJs' of undefined","SymBrowser_Modify","Can't find variable: __opera","Can't find variable: didEnterViewPort","Can't find variable: GetHTMLElementsAtPoint","Can't find variable: GetImageTagSrcFromPoint","Can't find variable: require","Can't find variable: MyAppGetLinkTitleNameAtPoint","Can't find variable: MyAppGetLinkSRCAtPoint","Can't find variable: MyAppGetLinkHREFAtPoint","Can't find variable: MyAppGetHTMLElementsAtPoint","Can't find variable: UC_NEWS_PAUSE_ALL_VIDEOS","document.getElementsByTagName('video')[0].webkitExitFullScreen",'document.getElementsByName("screen-orientation")[0].content','document.getElementsByName("full-screen")',"window.biliInject.postMessage","undefined is not an object (evaluating 'window.webkit.messageHandlers')","Invalid character: '\\0'","Can't find variable: removeAllHighlights",/ss_post_message_to_iframe_injection/i,"$UCBrowser","WeixinJSBridge","__tb_js_bridge","ZhihuiOS","x5onSkinSwitch is not defined",/ServerLocationCb\d+ is not defined/,"Cannot read property 'content' of undefined","hwbrNotifyScreenConfigChanged is not defined.","Cannot redefine property: BetterJsPop","__gCrWeb.form.wasEditedByUser.set","vid_mate_check","__firefox__","Cannot redefine property: googletag","w2zo.data.indexOf","extAbbr is not defined",/Invalid regular expression: \/function\(/i,"Access is denied.","a.LegacyGlobal.LP_explicit_ignored",/Permission denied to access property/i,"ResizeObserver loop limit exceeded","Argument 1 ('target') to MutationObserver.observe must be an instance of Node","Cannot read property 'checkDomStatus' of undefined","document.getElementsByClassName.ToString is not a function","Cannot read property 'updateBookMallStatus' of undefined","Can't find variable: pktAnnotationHighlighter","Failed to execute 'postMessage' on 'Window': function (","Unspecified error.","null is not an object (evaluating 'a.title')","Failed to read the 'cookie' property from 'Document': Access is denied for this document.",/Failed to load 'https:\/\/.+\.ru\/adb_rotate\?/i],IGNORE_URLS:[/graph\.facebook\.com/i,/connect\.facebook\.net\//i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/^chrome-extension:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i],vitals:{"/js/jquery.min.js":function(){return"undefined"==typeof $},"/vendor/common-combined-2.js":function(){return"undefined"==typeof Backbone||"undefined"==typeof _||"undefined"==typeof Handlebars}},consoleErrors:!0,consoleSentryObjects:!1,blockSentry:!1,criticalFailure:!1,scriptLoadError:!1,mFolder:null},AoPS.ErrorUtil._init=function(){if(this.mFolder=this._getMFolder(),this._canCloudLog(!1)){var e={},t=this;e.release=AoPS.sentry.assetVersion,e.environment="acad"===AoPS.repo?AoPS.sentry.acadEnvironment:AoPS.sentry.aopsEnvironment,e.ignoreErrors=AoPS.ErrorUtil.IGNORE_ERRORS,e.ignoreUrls=AoPS.ErrorUtil.IGNORE_URLS,e.dataCallback=function(e){(Raven.setTagsContext({scriptLoadError:t.scriptLoadError,mFolder:t.mFolder}),Raven.setExtraContext(),e.transaction)&&(e.tags||(e.tags={scriptLoadError:t.scriptLoadError,mFolder:t.mFolder}),t._checkVitals(e.transaction)&&(e.tags.type="E_CRITICAL_DEPENDENCY_FAILURE"));return e},e.shouldSendCallback=function(e){var o=!0;return t.criticalFailure?(o=!1,t.consoleSentryObjects&&console.log("Error log cancelled by ErrorUtil.criticalFailure")):e.tags&&"E_CRITICAL_DEPENDENCY_FAILURE"===e.tags.type?t.criticalFailure=!0:t.scriptLoadError&&(o=!1,console.log("Error log cancelled by ErrorUtil.scriptLoadError")),o&&t.blockSentry&&(o=!1,t.consoleSentryObjects&&console.log("Error log cancelled by ErrorUtil.blockSentry")),t.consoleSentryObjects&&console.log(o?"Sending: ":"Not sending: ",e),o},Raven.config("acad"===AoPS.repo?"https://1a1e07bb9c0b4ea982520ea420a8d5ce@sentry.io/1294162":"https://6b4d51ae86274a829b38a3d93186b59a@sentry.io/1285919",e).install(),AoPS.session&&AoPS.session.logged_in&&Raven.setUserContext({id:AoPS.session.user_id,username:AoPS.session.username}),this._listenFailingScripts()}},AoPS.ErrorUtil._canCloudLog=function(e){return!this.criticalFailure&&(e=void 0===e||e,("production"===("acad"===AoPS.repo?AoPS.sentry.acadEnvironment:AoPS.sentry.aopsEnvironment)||!this.PRODUCTION_ONLY)&&(!e||!(!Raven||!Raven.isSetup())))},AoPS.ErrorUtil._getMFolder=function(){var e=window.location.pathname.match(/\/([^/]+)\/?/);return e?e[1]:null},AoPS.ErrorUtil._consoleError=function(e){console.error?console.error(e):console.log(e)},AoPS.ErrorUtil._listenFailingScripts=function(){var e=this;window.addEventListener("error",(function(t){var o;t.target&&((o=t.target)&&o.tagName&&"script"===o.tagName.toLowerCase())&&(e.scriptLoadError=!0,e._isVital(t.target.src)?e.log("E_CRITICAL_DEPENDENCY_FAILURE","