Raw Source
memset0 / oi-helper

// ==UserScript==
// @name oi-helper
// @author memset0
// @description memset0 写的 OI 小助手~
// @version 0.4.1
// @license GPL-3.0-only
// @namespace oi-helper
// @match https://github.com/memset0/oi-helper
// @match http://www.luogu.org
// @match https://www.luogu.org
// @match http://www.luogu.org/*
// @match https://www.luogu.org/*
// @match http://www.luogu.com.cn
// @match https://www.luogu.com.cn
// @match http://www.luogu.com.cn/*
// @match https://www.luogu.com.cn/*
// @match http://loj.ac
// @match https://loj.ac
// @match http://loj.ac/*
// @match https://loj.ac/*
// @match http://uoj.ac
// @match https://uoj.ac
// @match http://uoj.ac/*
// @match https://uoj.ac/*
// @match http://vjudge.net
// @match https://vjudge.net
// @match http://vjudge.net/*
// @match https://vjudge.net/*
// @match http://cn.vjudge.net
// @match https://cn.vjudge.net
// @match http://cn.vjudge.net/*
// @match https://cn.vjudge.net/*
// @match http://vjudge.z180.cn
// @match https://vjudge.z180.cn
// @match http://vjudge.z180.cn/*
// @match https://vjudge.z180.cn/*
// @match http://szkopul.edu.pl
// @match https://szkopul.edu.pl
// @match http://szkopul.edu.pl/*
// @match https://szkopul.edu.pl/*
// @match http://codeforces.com
// @match https://codeforces.com
// @match http://codeforces.com/*
// @match https://codeforces.com/*
// @match http://codeforces.ml
// @match https://codeforces.ml
// @match http://codeforces.ml/*
// @match https://codeforces.ml/*
// @match http://codeforc.es
// @match https://codeforc.es
// @match http://codeforc.es/*
// @match https://codeforc.es/*
// @match http://atcoder.jp
// @match https://atcoder.jp
// @match http://atcoder.jp/*
// @match https://atcoder.jp/*
// @match http://www.acmicpc.net
// @match https://www.acmicpc.net
// @match http://www.acmicpc.net/*
// @match https://www.acmicpc.net/*
// @match http://ioihw20.duck-ac.cn
// @match https://ioihw20.duck-ac.cn
// @match http://ioihw20.duck-ac.cn/*
// @match https://ioihw20.duck-ac.cn/*
// @updateURL https://cdn.jsdelivr.net/gh/memset0/oi-helper@dist/userscript.js
// @downloadURL https://cdn.jsdelivr.net/gh/memset0/oi-helper@dist/userscript.js
// @grant unsafeWindow
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_listValue
// @grant GM_deleteValue
// @grant GM_addStyle
// @grant GM_getResourceText
// ==/UserScript==
// ==Notes==
// 该文件是打包后的代码,源代码请见 https://github.com/memset0/oi-helper qwq~
// ==/Notes==
(()=>{var t={8583:(t,r,e)=>{"use strict";var o=e(7418);function n(t,r){if(t===r)return 0;for(var e=t.length,o=r.length,n=0,a=Math.min(e,o);n<a;++n)if(t[n]!==r[n]){e=t[n],o=r[n];break}return e<o?-1:o<e?1:0}function a(t){return e.g.Buffer&&"function"==typeof e.g.Buffer.isBuffer?e.g.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var i=e(69),p=Object.prototype.hasOwnProperty,s=Array.prototype.slice,c="foo"===function(){}.name;function l(t){return Object.prototype.toString.call(t)}function d(t){return!a(t)&&"function"==typeof e.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}var u=t.exports=f,x=/\s*function\s+([^\(\s]*)\s*/;function m(t){if(i.isFunction(t)){if(c)return t.name;var r=t.toString().match(x);return r&&r[1]}}function b(t,r){return"string"==typeof t?t.length<r?t:t.slice(0,r):t}function g(t){if(c||!i.isFunction(t))return i.inspect(t);var r=m(t);return"[Function"+(r?": "+r:"")+"]"}function h(t,r,e,o,n){throw new u.AssertionError({message:e,actual:t,expected:r,operator:o,stackStartFunction:n})}function f(t,r){t||h(t,!0,r,"==",u.ok)}function w(t,r,e,o){if(t===r)return!0;if(a(t)&&a(r))return 0===n(t,r);if(i.isDate(t)&&i.isDate(r))return t.getTime()===r.getTime();if(i.isRegExp(t)&&i.isRegExp(r))return t.source===r.source&&t.global===r.global&&t.multiline===r.multiline&&t.lastIndex===r.lastIndex&&t.ignoreCase===r.ignoreCase;if(null!==t&&"object"==typeof t||null!==r&&"object"==typeof r){if(d(t)&&d(r)&&l(t)===l(r)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===n(new Uint8Array(t.buffer),new Uint8Array(r.buffer));if(a(t)!==a(r))return!1;var p=(o=o||{actual:[],expected:[]}).actual.indexOf(t);return-1!==p&&p===o.expected.indexOf(r)||(o.actual.push(t),o.expected.push(r),function(t,r,e,o){if(null==t||null==r)return!1;if(i.isPrimitive(t)||i.isPrimitive(r))return t===r;if(e&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(r))return!1;var n=v(t),a=v(r);if(n&&!a||!n&&a)return!1;if(n)return w(t=s.call(t),r=s.call(r),e);var p,c,l=S(t),d=S(r);if(l.length!==d.length)return!1;for(l.sort(),d.sort(),c=l.length-1;c>=0;c--)if(l[c]!==d[c])return!1;for(c=l.length-1;c>=0;c--)if(!w(t[p=l[c]],r[p],e,o))return!1;return!0}(t,r,e,o))}return e?t===r:t==r}function v(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function y(t,r){if(!t||!r)return!1;if("[object RegExp]"==Object.prototype.toString.call(r))return r.test(t);try{if(t instanceof r)return!0}catch(t){}return!Error.isPrototypeOf(r)&&!0===r.call({},t)}function C(t,r,e,o){var n;if("function"!=typeof r)throw new TypeError('"block" argument must be a function');"string"==typeof e&&(o=e,e=null),n=function(t){var r;try{t()}catch(t){r=t}return r}(r),o=(e&&e.name?" ("+e.name+").":".")+(o?" "+o:"."),t&&!n&&h(n,e,"Missing expected exception"+o);var a="string"==typeof o,p=!t&&n&&!e;if((!t&&i.isError(n)&&a&&y(n,e)||p)&&h(n,e,"Got unwanted exception"+o),t&&n&&e&&!y(n,e)||!t&&n)throw n}u.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=b(g(this.actual),128)+" "+this.operator+" "+b(g(this.expected),128),this.generatedMessage=!0);var r=t.stackStartFunction||h;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var e=new Error;if(e.stack){var o=e.stack,n=m(r),a=o.indexOf("\n"+n);if(a>=0){var i=o.indexOf("\n",a+1);o=o.substring(i+1)}this.stack=o}}},i.inherits(u.AssertionError,Error),u.fail=h,u.ok=f,u.equal=function(t,r,e){t!=r&&h(t,r,e,"==",u.equal)},u.notEqual=function(t,r,e){t==r&&h(t,r,e,"!=",u.notEqual)},u.deepEqual=function(t,r,e){w(t,r,!1)||h(t,r,e,"deepEqual",u.deepEqual)},u.deepStrictEqual=function(t,r,e){w(t,r,!0)||h(t,r,e,"deepStrictEqual",u.deepStrictEqual)},u.notDeepEqual=function(t,r,e){w(t,r,!1)&&h(t,r,e,"notDeepEqual",u.notDeepEqual)},u.notDeepStrictEqual=function t(r,e,o){w(r,e,!0)&&h(r,e,o,"notDeepStrictEqual",t)},u.strictEqual=function(t,r,e){t!==r&&h(t,r,e,"===",u.strictEqual)},u.notStrictEqual=function(t,r,e){t===r&&h(t,r,e,"!==",u.notStrictEqual)},u.throws=function(t,r,e){C(!0,t,r,e)},u.doesNotThrow=function(t,r,e){C(!1,t,r,e)},u.ifError=function(t){if(t)throw t},u.strict=o((function t(r,e){r||h(r,!0,e,"==",t)}),u,{equal:u.strictEqual,deepEqual:u.deepStrictEqual,notEqual:u.notStrictEqual,notDeepEqual:u.notDeepStrictEqual}),u.strict.strict=u.strict;var S=Object.keys||function(t){var r=[];for(var e in t)p.call(t,e)&&r.push(e);return r}},6076:t=>{"function"==typeof Object.create?t.exports=function(t,r){t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,r){t.super_=r;var e=function(){};e.prototype=r.prototype,t.prototype=new e,t.prototype.constructor=t}},2014:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},69:(t,r,e)=>{var o=/%[sdj%]/g;r.format=function(t){if(!g(t)){for(var r=[],e=0;e<arguments.length;e++)r.push(i(arguments[e]));return r.join(" ")}e=1;for(var n=arguments,a=n.length,p=String(t).replace(o,(function(t){if("%%"===t)return"%";if(e>=a)return t;switch(t){case"%s":return String(n[e++]);case"%d":return Number(n[e++]);case"%j":try{return JSON.stringify(n[e++])}catch(t){return"[Circular]"}default:return t}})),s=n[e];e<a;s=n[++e])m(s)||!w(s)?p+=" "+s:p+=" "+i(s);return p},r.deprecate=function(t,o){if(h(e.g.process))return function(){return r.deprecate(t,o).apply(this,arguments)};if(!0===process.noDeprecation)return t;var n=!1;return function(){if(!n){if(process.throwDeprecation)throw new Error(o);process.traceDeprecation?console.trace(o):console.error(o),n=!0}return t.apply(this,arguments)}};var n,a={};function i(t,e){var o={seen:[],stylize:s};return arguments.length>=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),x(e)?o.showHidden=e:e&&r._extend(o,e),h(o.showHidden)&&(o.showHidden=!1),h(o.depth)&&(o.depth=2),h(o.colors)&&(o.colors=!1),h(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=p),c(o,t,o.depth)}function p(t,r){var e=i.styles[r];return e?"["+i.colors[e][0]+"m"+t+"["+i.colors[e][1]+"m":t}function s(t,r){return t}function c(t,e,o){if(t.customInspect&&e&&C(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(o,t);return g(n)||(n=c(t,n,o)),n}var a=function(t,r){if(h(r))return t.stylize("undefined","undefined");if(g(r)){var e="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(e,"string")}return b(r)?t.stylize(""+r,"number"):x(r)?t.stylize(""+r,"boolean"):m(r)?t.stylize("null","null"):void 0}(t,e);if(a)return a;var i=Object.keys(e),p=function(t){var r={};return t.forEach((function(t,e){r[t]=!0})),r}(i);if(t.showHidden&&(i=Object.getOwnPropertyNames(e)),y(e)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return l(e);if(0===i.length){if(C(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(f(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(v(e))return t.stylize(Date.prototype.toString.call(e),"date");if(y(e))return l(e)}var w,S="",k=!1,_=["{","}"];return u(e)&&(k=!0,_=["[","]"]),C(e)&&(S=" [Function"+(e.name?": "+e.name:"")+"]"),f(e)&&(S=" "+RegExp.prototype.toString.call(e)),v(e)&&(S=" "+Date.prototype.toUTCString.call(e)),y(e)&&(S=" "+l(e)),0!==i.length||k&&0!=e.length?o<0?f(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),w=k?function(t,r,e,o,n){for(var a=[],i=0,p=r.length;i<p;++i)$(r,String(i))?a.push(d(t,r,e,o,String(i),!0)):a.push("");return n.forEach((function(n){n.match(/^\d+$/)||a.push(d(t,r,e,o,n,!0))})),a}(t,e,o,p,i):i.map((function(r){return d(t,e,o,p,r,k)})),t.seen.pop(),function(t,r,e){return t.reduce((function(t,r){return r.indexOf("\n"),t+r.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?e[0]+(""===r?"":r+"\n ")+" "+t.join(",\n  ")+" "+e[1]:e[0]+r+" "+t.join(", ")+" "+e[1]}(w,S,_)):_[0]+S+_[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,r,e,o,n,a){var i,p,s;if((s=Object.getOwnPropertyDescriptor(r,n)||{value:r[n]}).get?p=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(p=t.stylize("[Setter]","special")),$(o,n)||(i="["+n+"]"),p||(t.seen.indexOf(s.value)<0?(p=m(e)?c(t,s.value,null):c(t,s.value,e-1)).indexOf("\n")>-1&&(p=a?p.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+p.split("\n").map((function(t){return"   "+t})).join("\n")):p=t.stylize("[Circular]","special")),h(i)){if(a&&n.match(/^\d+$/))return p;(i=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=t.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=t.stylize(i,"string"))}return i+": "+p}function u(t){return Array.isArray(t)}function x(t){return"boolean"==typeof t}function m(t){return null===t}function b(t){return"number"==typeof t}function g(t){return"string"==typeof t}function h(t){return void 0===t}function f(t){return w(t)&&"[object RegExp]"===S(t)}function w(t){return"object"==typeof t&&null!==t}function v(t){return w(t)&&"[object Date]"===S(t)}function y(t){return w(t)&&("[object Error]"===S(t)||t instanceof Error)}function C(t){return"function"==typeof t}function S(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}r.debuglog=function(t){if(h(n)&&(n=process.env.NODE_DEBUG||""),t=t.toUpperCase(),!a[t])if(new RegExp("\\b"+t+"\\b","i").test(n)){var e=process.pid;a[t]=function(){var o=r.format.apply(r,arguments);console.error("%s %d: %s",t,e,o)}}else a[t]=function(){};return a[t]},r.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=u,r.isBoolean=x,r.isNull=m,r.isNullOrUndefined=function(t){return null==t},r.isNumber=b,r.isString=g,r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=h,r.isRegExp=f,r.isObject=w,r.isDate=v,r.isError=y,r.isFunction=C,r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=e(2014);var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var t=new Date,r=[k(t.getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":");return[t.getDate(),_[t.getMonth()],r].join(" ")}function $(t,r){return Object.prototype.hasOwnProperty.call(t,r)}r.log=function(){console.log("%s - %s",j(),r.format.apply(r,arguments))},r.inherits=e(6076),r._extend=function(t,r){if(!r||!w(r))return t;for(var e=Object.keys(r),o=e.length;o--;)t[e[o]]=r[e[o]];return t}},9669:(t,r,e)=>{t.exports=e(1609)},5448:(t,r,e)=>{"use strict";var o=e(4867),n=e(6026),a=e(4372),i=e(5327),p=e(4097),s=e(4109),c=e(7985),l=e(5061);t.exports=function(t){return new Promise((function(r,e){var d=t.data,u=t.headers;o.isFormData(d)&&delete u["Content-Type"],(o.isBlob(d)||o.isFile(d))&&d.type&&delete u["Content-Type"];var x=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",b=unescape(encodeURIComponent(t.auth.password))||"";u.Authorization="Basic "+btoa(m+":"+b)}var g=p(t.baseURL,t.url);if(x.open(t.method.toUpperCase(),i(g,t.params,t.paramsSerializer),!0),x.timeout=t.timeout,x.onreadystatechange=function(){if(x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))){var o="getAllResponseHeaders"in x?s(x.getAllResponseHeaders()):null,a={data:t.responseType&&"text"!==t.responseType?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:o,config:t,request:x};n(r,e,a),x=null}},x.onabort=function(){x&&(e(l("Request aborted",t,"ECONNABORTED",x)),x=null)},x.onerror=function(){e(l("Network Error",t,null,x)),x=null},x.ontimeout=function(){var r="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(r=t.timeoutErrorMessage),e(l(r,t,"ECONNABORTED",x)),x=null},o.isStandardBrowserEnv()){var h=(t.withCredentials||c(g))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;h&&(u[t.xsrfHeaderName]=h)}if("setRequestHeader"in x&&o.forEach(u,(function(t,r){void 0===d&&"content-type"===r.toLowerCase()?delete u[r]:x.setRequestHeader(r,t)})),o.isUndefined(t.withCredentials)||(x.withCredentials=!!t.withCredentials),t.responseType)try{x.responseType=t.responseType}catch(r){if("json"!==t.responseType)throw r}"function"==typeof t.onDownloadProgress&&x.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){x&&(x.abort(),e(t),x=null)})),d||(d=null),x.send(d)}))}},1609:(t,r,e)=>{"use strict";var o=e(4867),n=e(1849),a=e(321),i=e(7185);function p(t){var r=new a(t),e=n(a.prototype.request,r);return o.extend(e,a.prototype,r),o.extend(e,r),e}var s=p(e(5655));s.Axios=a,s.create=function(t){return p(i(s.defaults,t))},s.Cancel=e(5263),s.CancelToken=e(4972),s.isCancel=e(6502),s.all=function(t){return Promise.all(t)},s.spread=e(8713),t.exports=s,t.exports.default=s},5263:t=>{"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},4972:(t,r,e)=>{"use strict";var o=e(5263);function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(t){r=t}));var e=this;t((function(t){e.reason||(e.reason=new o(t),r(e.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n((function(r){t=r})),cancel:t}},t.exports=n},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,r,e)=>{"use strict";var o=e(4867),n=e(5327),a=e(782),i=e(3572),p=e(7185);function s(t){this.defaults=t,this.interceptors={request:new a,response:new a}}s.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=p(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=[i,void 0],e=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){r.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){r.push(t.fulfilled,t.rejected)}));r.length;)e=e.then(r.shift(),r.shift());return e},s.prototype.getUri=function(t){return t=p(this.defaults,t),n(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(t){s.prototype[t]=function(r,e){return this.request(p(e||{},{method:t,url:r}))}})),o.forEach(["post","put","patch"],(function(t){s.prototype[t]=function(r,e,o){return this.request(p(o||{},{method:t,url:r,data:e}))}})),t.exports=s},782:(t,r,e)=>{"use strict";var o=e(4867);function n(){this.handlers=[]}n.prototype.use=function(t,r){return this.handlers.push({fulfilled:t,rejected:r}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,(function(r){null!==r&&t(r)}))},t.exports=n},4097:(t,r,e)=>{"use strict";var o=e(1793),n=e(7303);t.exports=function(t,r){return t&&!o(r)?n(t,r):r}},5061:(t,r,e)=>{"use strict";var o=e(481);t.exports=function(t,r,e,n,a){var i=new Error(t);return o(i,r,e,n,a)}},3572:(t,r,e)=>{"use strict";var o=e(4867),n=e(8527),a=e(6502),i=e(5655);function p(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return p(t),t.headers=t.headers||{},t.data=n(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(r){delete t.headers[r]})),(t.adapter||i.adapter)(t).then((function(r){return p(t),r.data=n(r.data,r.headers,t.transformResponse),r}),(function(r){return a(r)||(p(t),r&&r.response&&(r.response.data=n(r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)}))}},481:t=>{"use strict";t.exports=function(t,r,e,o,n){return t.config=r,e&&(t.code=e),t.request=o,t.response=n,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:(t,r,e)=>{"use strict";var o=e(4867);t.exports=function(t,r){r=r||{};var e={},n=["url","method","data"],a=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],p=["validateStatus"];function s(t,r){return o.isPlainObject(t)&&o.isPlainObject(r)?o.merge(t,r):o.isPlainObject(r)?o.merge({},r):o.isArray(r)?r.slice():r}function c(n){o.isUndefined(r[n])?o.isUndefined(t[n])||(e[n]=s(void 0,t[n])):e[n]=s(t[n],r[n])}o.forEach(n,(function(t){o.isUndefined(r[t])||(e[t]=s(void 0,r[t]))})),o.forEach(a,c),o.forEach(i,(function(n){o.isUndefined(r[n])?o.isUndefined(t[n])||(e[n]=s(void 0,t[n])):e[n]=s(void 0,r[n])})),o.forEach(p,(function(o){o in r?e[o]=s(t[o],r[o]):o in t&&(e[o]=s(void 0,t[o]))}));var l=n.concat(a).concat(i).concat(p),d=Object.keys(t).concat(Object.keys(r)).filter((function(t){return-1===l.indexOf(t)}));return o.forEach(d,c),e}},6026:(t,r,e)=>{"use strict";var o=e(5061);t.exports=function(t,r,e){var n=e.config.validateStatus;e.status&&n&&!n(e.status)?r(o("Request failed with status code "+e.status,e.config,null,e.request,e)):t(e)}},8527:(t,r,e)=>{"use strict";var o=e(4867);t.exports=function(t,r,e){return o.forEach(e,(function(e){t=e(t,r)})),t}},5655:(t,r,e)=>{"use strict";var o=e(4867),n=e(6016),a={"Content-Type":"application/x-www-form-urlencoded"};function i(t,r){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=r)}var p,s={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(p=e(5448)),p),transformRequest:[function(t,r){return n(r,"Accept"),n(r,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(i(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(i(r,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){s.headers[t]=o.merge(a)})),t.exports=s},1849:t=>{"use strict";t.exports=function(t,r){return function(){for(var e=new Array(arguments.length),o=0;o<e.length;o++)e[o]=arguments[o];return t.apply(r,e)}}},5327:(t,r,e)=>{"use strict";var o=e(4867);function n(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,r,e){if(!r)return t;var a;if(e)a=e(r);else if(o.isURLSearchParams(r))a=r.toString();else{var i=[];o.forEach(r,(function(t,r){null!=t&&(o.isArray(t)?r+="[]":t=[t],o.forEach(t,(function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),i.push(n(r)+"="+n(t))})))})),a=i.join("&")}if(a){var p=t.indexOf("#");-1!==p&&(t=t.slice(0,p)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},7303:t=>{"use strict";t.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}},4372:(t,r,e)=>{"use strict";var o=e(4867);t.exports=o.isStandardBrowserEnv()?{write:function(t,r,e,n,a,i){var p=[];p.push(t+"="+encodeURIComponent(r)),o.isNumber(e)&&p.push("expires="+new Date(e).toGMTString()),o.isString(n)&&p.push("path="+n),o.isString(a)&&p.push("domain="+a),!0===i&&p.push("secure"),document.cookie=p.join("; ")},read:function(t){var r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},7985:(t,r,e)=>{"use strict";var o=e(4867);t.exports=o.isStandardBrowserEnv()?function(){var t,r=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");function n(t){var o=t;return r&&(e.setAttribute("href",o),o=e.href),e.setAttribute("href",o),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return t=n(window.location.href),function(r){var e=o.isString(r)?n(r):r;return e.protocol===t.protocol&&e.host===t.host}}():function(){return!0}},6016:(t,r,e)=>{"use strict";var o=e(4867);t.exports=function(t,r){o.forEach(t,(function(e,o){o!==r&&o.toUpperCase()===r.toUpperCase()&&(t[r]=e,delete t[o])}))}},4109:(t,r,e)=>{"use strict";var o=e(4867),n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var r,e,a,i={};return t?(o.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),r=o.trim(t.substr(0,a)).toLowerCase(),e=o.trim(t.substr(a+1)),r){if(i[r]&&n.indexOf(r)>=0)return;i[r]="set-cookie"===r?(i[r]?i[r]:[]).concat([e]):i[r]?i[r]+", "+e:e}})),i):i}},8713:t=>{"use strict";t.exports=function(t){return function(r){return t.apply(null,r)}}},4867:(t,r,e)=>{"use strict";var o=e(1849),n=Object.prototype.toString;function a(t){return"[object Array]"===n.call(t)}function i(t){return void 0===t}function p(t){return null!==t&&"object"==typeof t}function s(t){if("[object Object]"!==n.call(t))return!1;var r=Object.getPrototypeOf(t);return null===r||r===Object.prototype}function c(t){return"[object Function]"===n.call(t)}function l(t,r){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var e=0,o=t.length;e<o;e++)r.call(null,t[e],e,t);else for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.call(null,t[n],n,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===n.call(t)},isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:p,isPlainObject:s,isUndefined:i,isDate:function(t){return"[object Date]"===n.call(t)},isFile:function(t){return"[object File]"===n.call(t)},isBlob:function(t){return"[object Blob]"===n.call(t)},isFunction:c,isStream:function(t){return p(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function t(){var r={};function e(e,o){s(r[o])&&s(e)?r[o]=t(r[o],e):s(e)?r[o]=t({},e):a(e)?r[o]=e.slice():r[o]=e}for(var o=0,n=arguments.length;o<n;o++)l(arguments[o],e);return r},extend:function(t,r,e){return l(r,(function(r,n){t[n]=e&&"function"==typeof r?o(r,e):r})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},487:t=>{var r={utf8:{stringToBytes:function(t){return r.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(r.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var r=[],e=0;e<t.length;e++)r.push(255&t.charCodeAt(e));return r},bytesToString:function(t){for(var r=[],e=0;e<t.length;e++)r.push(String.fromCharCode(t[e]));return r.join("")}}};t.exports=r},1012:t=>{var r,e;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(t,r){return t<<r|t>>>32-r},rotr:function(t,r){return t<<32-r|t>>>r},endian:function(t){if(t.constructor==Number)return 16711935&e.rotl(t,8)|4278255360&e.rotl(t,24);for(var r=0;r<t.length;r++)t[r]=e.endian(t[r]);return t},randomBytes:function(t){for(var r=[];t>0;t--)r.push(Math.floor(256*Math.random()));return r},bytesToWords:function(t){for(var r=[],e=0,o=0;e<t.length;e++,o+=8)r[o>>>5]|=t[e]<<24-o%32;return r},wordsToBytes:function(t){for(var r=[],e=0;e<32*t.length;e+=8)r.push(t[e>>>5]>>>24-e%32&255);return r},bytesToHex:function(t){for(var r=[],e=0;e<t.length;e++)r.push((t[e]>>>4).toString(16)),r.push((15&t[e]).toString(16));return r.join("")},hexToBytes:function(t){for(var r=[],e=0;e<t.length;e+=2)r.push(parseInt(t.substr(e,2),16));return r},bytesToBase64:function(t){for(var e=[],o=0;o<t.length;o+=3)for(var n=t[o]<<16|t[o+1]<<8|t[o+2],a=0;a<4;a++)8*o+6*a<=8*t.length?e.push(r.charAt(n>>>6*(3-a)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],o=0,n=0;o<t.length;n=++o%4)0!=n&&e.push((r.indexOf(t.charAt(o-1))&Math.pow(2,-2*n+8)-1)<<2*n|r.indexOf(t.charAt(o))>>>6-2*n);return e}},t.exports=e},4577:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".oi-shadow-0{box-shadow:none!important}.oi-shadow-1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)!important}.oi-shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.oi-shadow-3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)!important}.oi-shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important}.oi-shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.oi-shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)!important}.oi-shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)!important}.oi-shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.oi-shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)!important}.oi-shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)!important}.oi-shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)!important}.oi-shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)!important}.oi-shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)!important}.oi-shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)!important}.oi-shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)!important}.oi-shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}#oi-helper-config{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important;padding:20px}#oi-helper-config h2{font-size:15px;line-height:18px;border:none;color:#222;display:block;margin-top:0;margin-bottom:0}#oi-helper-config p{font-size:14px;line-height:15px;color:#666;display:block}#oi-helper-config .oi-helper-config-depth-0{margin-bottom:12px}#oi-helper-config .oi-helper-config-depth-0:last-child{margin-bottom:0!important}",""]);const a=n},1457:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".oi-clean-shadow,.oi-shadow-0{box-shadow:none!important}.oi-default-font{font-family:Lato,-apple-system,'PingFang SC','Source Han Sans SC','Noto Sans CJK SC','Microsoft Yahei','Lantinghei SC','Hiragino Sans GB','Microsoft Sans Serif','WenQuanYi Micro Hei',sans-serif}.oi-clean-padding{padding:0!important}.oi-clean-margin{margin:0!important}.oi-clean-border{border:none!important;border-spacing:0!important}.oi-clean-radius{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.oi-clean-link-underline a:active,.oi-clean-link-underline a:hover,.oi-clean-link-underline a:link,.oi-clean-link-underline a:visited{text-decoration:none!important}.oi-shadow-1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)!important}.oi-shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.oi-shadow-3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)!important}.oi-shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important}.oi-shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.oi-shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)!important}.oi-shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)!important}.oi-shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.oi-shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)!important}.oi-shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)!important}.oi-shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)!important}.oi-shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)!important}.oi-shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)!important}.oi-shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)!important}.oi-shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)!important}.oi-shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}.oi-button,.oi-button-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;height:36px;line-height:36px}.oi-button{font-size:15px}.oi-button-group .oi-button{box-shadow:none!important}.oi-radius-2{border-radius:2px!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important}.oi-radius,.oi-radius-4{border-radius:4px!important;-moz-border-radius:4px!important;-webkit-border-radius:4px!important}.navbar{height:64px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.navbar .navbar-header a.navbar-brand{height:44px!important;margin-top:10px;margin-bottom:10px}.navbar .navbar-collapse .nav li a{height:64px!important;line-height:34px!important}#main-container{padding-top:80px}",""]);const a=n},4762:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".spoiler .spoiler-translate{display:none}.spoiler.spoiler-open .spoiler-translate{display:block!important;width:100%;text-align:center}",""]);const a=n},1446:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".oi-clean-shadow,.oi-shadow-0{box-shadow:none!important}.oi-default-font{font-family:Lato,-apple-system,'PingFang SC','Source Han Sans SC','Noto Sans CJK SC','Microsoft Yahei','Lantinghei SC','Hiragino Sans GB','Microsoft Sans Serif','WenQuanYi Micro Hei',sans-serif}.oi-clean-padding{padding:0!important}.oi-clean-margin{margin:0!important}.oi-clean-border{border:none!important;border-spacing:0!important}.oi-clean-radius{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.oi-clean-link-underline a:active,.oi-clean-link-underline a:hover,.oi-clean-link-underline a:link,.oi-clean-link-underline a:visited{text-decoration:none!important}.oi-shadow-1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)!important}.oi-shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.oi-shadow-3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)!important}.oi-shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important}.oi-shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.oi-shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)!important}.oi-shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)!important}.oi-shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.oi-shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)!important}.oi-shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)!important}.oi-shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)!important}.oi-shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)!important}.oi-shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)!important}.oi-shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)!important}.oi-shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)!important}.oi-shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}.oi-button,.oi-button-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;height:36px;line-height:36px}.oi-button{font-size:15px}.oi-button-group .oi-button{box-shadow:none!important}.oi-radius-2{border-radius:2px!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important}.oi-radius,.oi-radius-4{border-radius:4px!important;-moz-border-radius:4px!important;-webkit-border-radius:4px!important}.card{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}",""]);const a=n},6393:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".oi-clean-shadow,.oi-shadow-0{box-shadow:none!important}.oi-default-font{font-family:Lato,-apple-system,'PingFang SC','Source Han Sans SC','Noto Sans CJK SC','Microsoft Yahei','Lantinghei SC','Hiragino Sans GB','Microsoft Sans Serif','WenQuanYi Micro Hei',sans-serif}.oi-clean-padding{padding:0!important}.oi-clean-margin{margin:0!important}.oi-clean-border{border:none!important;border-spacing:0!important}.oi-clean-radius{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.oi-clean-link-underline a:active,.oi-clean-link-underline a:hover,.oi-clean-link-underline a:link,.oi-clean-link-underline a:visited{text-decoration:none!important}.oi-shadow-1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)!important}.oi-shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.oi-shadow-3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)!important}.oi-shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important}.oi-shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.oi-shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)!important}.oi-shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)!important}.oi-shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.oi-shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)!important}.oi-shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)!important}.oi-shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)!important}.oi-shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)!important}.oi-shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)!important}.oi-shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)!important}.oi-shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)!important}.oi-shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}.oi-button,.oi-button-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;height:36px;line-height:36px}.oi-button{font-size:15px}.oi-button-group .oi-button{box-shadow:none!important}.oi-radius-2{border-radius:2px!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important}.oi-radius,.oi-radius-4{border-radius:4px!important;-moz-border-radius:4px!important;-webkit-border-radius:4px!important}#oioioi-navbar{height:64px}body{padding-top:84px}",""]);const a=n},577:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".card,.oi-clean-border{border:none!important;border-spacing:0!important}.list-group a:active,.list-group a:hover,.list-group a:link,.list-group a:visited,.oi-clean-link-underline a:active,.oi-clean-link-underline a:hover,.oi-clean-link-underline a:link,.oi-clean-link-underline a:visited,.pagination a:active,.pagination a:hover,.pagination a:link,.pagination a:visited{text-decoration:none!important}.oi-clean-shadow,.oi-shadow-0{box-shadow:none!important}#contest-rank-table,#description-container dd,#description-container dt,.oi-default-font,body,html,table.table{font-family:Lato,-apple-system,'PingFang SC','Source Han Sans SC','Noto Sans CJK SC','Microsoft Yahei','Lantinghei SC','Hiragino Sans GB','Microsoft Sans Serif','WenQuanYi Micro Hei',sans-serif}.oi-clean-padding{padding:0!important}.navbar,.navbar .nav-link,.navbar .navbar-brand{padding-top:0;padding-bottom:0}.oi-clean-margin{margin:0!important}.oi-clean-radius{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.oi-shadow-1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)!important}.oi-shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.oi-shadow-3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)!important}.oi-shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important}.oi-shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.oi-shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)!important}.oi-shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)!important}.oi-shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.oi-shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)!important}.oi-shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)!important}.oi-shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)!important}.oi-shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)!important}.oi-shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)!important}.oi-shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)!important}.oi-shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)!important}.oi-shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}.oi-button,.oi-button-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;height:36px;line-height:36px}.oi-button{font-size:15px}.oi-button-group .oi-button{box-shadow:none!important}.oi-radius-2{border-radius:2px!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important}.oi-radius,.oi-radius-4{border-radius:4px!important;-moz-border-radius:4px!important;-webkit-border-radius:4px!important}body{margin:0;background:#EFEFEF!important}body>.container,body>.container-fluid{margin-top:64px}body>._oi_modified_container{margin-top:94px!important}body>#description-container.container{margin-top:0}.navbar{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important;position:fixed;width:100%;left:0;top:0;height:64px;line-height:64px;z-index:1000}#contest-rank-table,.table{font-size:13.5px!important;line-height:20px!important;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.card{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.list-group,.list-group .list-group-item{border:none!important;border-spacing:0!important}.list-group{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.list-group .list-group-item{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}#contest-rank-table,.btn,.custom-select,.form-control,.pagination,.table td,.table th,.table tr{border:none!important;border-spacing:0!important}.custom-select,.form-control{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}#img-support,#img_go_top,.body-footer>div:nth-child(1),.fb-like.fb_iframe_widget{display:none}.table{background:#fff;border-spacing:0!important}.table th{padding:8px 4px!important}.table td{padding:6px 4px!important}.table tr td:first-child,.table tr th:first-child{padding-left:6px!important}.table tr td:last-child,.table tr th:last-child{padding-right:6px!important}.table-striped tbody tr:nth-of-type(odd){background:rgba(0,0,0,.05)}#contest-problems th{padding-top:16px!important;padding-bottom:16px!important}#contest-problems td{padding-top:8px!important;padding-bottom:8px!important}#contest-rank-table{background:#fff;width:100%!important;overflow:scroll}#contest-rank-table tr td.prob div,#contest-rank-table tr th.prob div{min-width:20px!important}#contest-rank-table td,#contest-rank-table tr,#contest-rank-table tr.this.myself a{font-weight:400!important}#contest-rank-table tr.this.myself a,#contest-rank-table tr.this.myself td.meta{color:#373a3c!important}#contest-rank-table tr.this.myself td.meta{background:#CFD8DC!important}#contest-rank-table td.prob.fb{background:#388E3C!important}#contest-rank-table td.prob,#contest-rank-table td.prob div,#contest-rank-table th.prob,#contest-rank-table th.prob div{width:auto!important;min-width:80px!important}#contest_status>div:nth-child(1),#listComment_wrapper>div:nth-child(1),#listContest_wrapper>div:nth-child(1),#listProblem_wrapper>div:nth-child(1),#listStatus_wrapper>div:nth-child(1),#listUser_wrapper>div:nth-child(1){height:36px}#contest_status #buttonContainer,#contest_status #buttonContainer_l,#contest_status #buttonContainer_r,#listComment_wrapper #buttonContainer,#listComment_wrapper #buttonContainer_l,#listComment_wrapper #buttonContainer_r,#listContest_wrapper #buttonContainer,#listContest_wrapper #buttonContainer_l,#listContest_wrapper #buttonContainer_r,#listProblem_wrapper #buttonContainer,#listProblem_wrapper #buttonContainer_l,#listProblem_wrapper #buttonContainer_r,#listStatus_wrapper #buttonContainer,#listStatus_wrapper #buttonContainer_l,#listStatus_wrapper #buttonContainer_r,#listUser_wrapper #buttonContainer,#listUser_wrapper #buttonContainer_l,#listUser_wrapper #buttonContainer_r{padding:0!important;margin:0!important;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}#contest_status #buttonContainer,#contest_status #buttonContainer_l,#listComment_wrapper #buttonContainer,#listComment_wrapper #buttonContainer_l,#listContest_wrapper #buttonContainer,#listContest_wrapper #buttonContainer_l,#listProblem_wrapper #buttonContainer,#listProblem_wrapper #buttonContainer_l,#listStatus_wrapper #buttonContainer,#listStatus_wrapper #buttonContainer_l,#listUser_wrapper #buttonContainer,#listUser_wrapper #buttonContainer_l{margin-left:16px!important}#contest_status #buttonContainer,#contest_status #buttonContainer_r,#listComment_wrapper #buttonContainer,#listComment_wrapper #buttonContainer_r,#listContest_wrapper #buttonContainer,#listContest_wrapper #buttonContainer_r,#listProblem_wrapper #buttonContainer,#listProblem_wrapper #buttonContainer_r,#listStatus_wrapper #buttonContainer,#listStatus_wrapper #buttonContainer_r,#listUser_wrapper #buttonContainer,#listUser_wrapper #buttonContainer_r{line-height:inherit}#contest_status #buttonContainer .btn,#contest_status #buttonContainer_r .btn,#listComment_wrapper #buttonContainer .btn,#listComment_wrapper #buttonContainer_r .btn,#listContest_wrapper #buttonContainer .btn,#listContest_wrapper #buttonContainer_r .btn,#listProblem_wrapper #buttonContainer .btn,#listProblem_wrapper #buttonContainer_r .btn,#listStatus_wrapper #buttonContainer .btn,#listStatus_wrapper #buttonContainer_r .btn,#listUser_wrapper #buttonContainer .btn,#listUser_wrapper #buttonContainer_r .btn{box-shadow:none!important}.btn,.btn-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}#contest_status #listComment,#contest_status #listContest,#contest_status #listProblem,#contest_status #listStatus,#contest_status #listUser,#listComment_wrapper #listComment,#listComment_wrapper #listContest,#listComment_wrapper #listProblem,#listComment_wrapper #listStatus,#listComment_wrapper #listUser,#listContest_wrapper #listComment,#listContest_wrapper #listContest,#listContest_wrapper #listProblem,#listContest_wrapper #listStatus,#listContest_wrapper #listUser,#listProblem_wrapper #listComment,#listProblem_wrapper #listContest,#listProblem_wrapper #listProblem,#listProblem_wrapper #listStatus,#listProblem_wrapper #listUser,#listStatus_wrapper #listComment,#listStatus_wrapper #listContest,#listStatus_wrapper #listProblem,#listStatus_wrapper #listStatus,#listStatus_wrapper #listUser,#listUser_wrapper #listComment,#listUser_wrapper #listContest,#listUser_wrapper #listProblem,#listUser_wrapper #listStatus,#listUser_wrapper #listUser{margin-top:16px!important}#listContest td.contestants,#listContest th.contestants{width:40px!important}#probRecords{font-size:12px!important;line-height:19px!important}.btn,.btn-group,.nav.nav-tabs .nav-item .nav-link{height:36px;line-height:36px;font-size:14px!important}.btn{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;padding-top:0;padding-bottom:0;outline:0!important}.btn-group .btn,.btn-group .oi-button{box-shadow:none!important}.pagination{margin:0!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;font-size:14px!important;height:36px}.pagination .page-link{margin:0!important;border:none!important;border-spacing:0!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;height:36px;outline:0!important}.modal-dialog{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}#contest-time-slider-container .slider .slider-handle,#description-container dd,.article-content table,.comment-posts-container .comment-edit,.nav .nav-item .dropdown-menu.user-dropdown,.nav.nav-tabs .nav-item .nav-link{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.modal-dialog .modal-content{border:none!important;border-spacing:0!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.nav.nav-tabs,.nav.nav-tabs .nav-item .nav-link{border:none!important;border-spacing:0!important}.modal-dialog #navbar-edit-contest{display:none}.modal-dialog .btn-group.col-xs-10{padding:0!important;margin-left:15px;margin-right:15px;width:calc(83.333333% - 30px)}.nav.nav-tabs{margin-bottom:16px}.nav.nav-tabs .nav-item{margin:0 8px 0 0!important}.nav.nav-tabs .nav-item .nav-link{margin:0!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;padding-top:0;padding-bottom:0;outline:0!important;color:#0275d8!important;background:#fff}.nav.nav-tabs .nav-item .nav-link.active{color:#fff!important;background:#0275d8!important}.nav .nav-item .dropdown-menu.user-dropdown{margin:8px -32px 0 0!important;padding:0!important;border:none!important;border-spacing:0!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.nav .nav-item .dropdown-menu.user-dropdown .dropdown-item{padding-top:0!important;padding-bottom:0!important;font-size:14px;line-height:60px!important}.group-card{padding:0!important;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important;margin-left:15px;margin-right:15px;margin-bottom:24px!important;width:calc(33.333333% - 30px);background:#fff}.group-card .card{border:none!important;border-spacing:0!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;box-shadow:none!important;margin-bottom:0}.group-card table{margin-right:-1px}.group-card table td{padding:0!important}.group-card table td:nth-child(1){width:95px!important}.group-card .logo img,.group-card div.name{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.group-panels #explore-groups.tab-pane>div{margin-top:0!important}.group-panels #explore-groups.tab-pane>.row:first-child{margin-bottom:16px!important}.group-panels #explore-groups.tab-pane>.row:first-child>.col-md-4{width:100%!important}#group-left-panel{font-size:14px}#group-left-panel .list-group .list-group-item:last-child{display:none}#group-left-panel .card-block,#group-left-panel .list-group-item{padding:8px 16px!important}#group-left-panel .card-block{padding-top:16px!important}#group-left-panel .list-group{box-shadow:none!important;padding-bottom:8px!important}#group-right-panel .row:nth-child(1) h4{font-size:30px}#group-right-panel .row:nth-child(1) span{font-size:24px}#group-right-panel .row:nth-child(1) .col-md-4{width:calc(100% - 450px)}#group-right-panel .row:nth-child(1) .col-md-8{width:450px}#group-right-panel #group-contests-card,#group-right-panel #group-members-card{border:none!important;border-spacing:0!important;box-shadow:none!important;background:0 0;margin-top:24px;margin-bottom:0}#group-right-panel #group-contests-card .card-block,#group-right-panel #group-members-card .card-block{padding:0!important}#group-right-panel #group-contests-card .card-block:after,#group-right-panel #group-members-card .card-block:after{display:none}#group-right-panel #group-contests-card .card-title,#group-right-panel #group-members-card .card-title{font-size:24px!important;line-height:32px!important}.article-title{font-size:26px;display:block}.article-info{font-size:14px;display:block;margin-left:0!important}.article-oprt{margin-top:-26px;height:24px!important;line-height:24px!important}.article-oprt hr{display:none}.article-oprt i.fa{font-size:14px!important}.article-oprt i.fa:before{padding-right:4px}.article-content h1{margin-top:50px;margin-bottom:25px}.article-content h2{margin-top:30px;margin-bottom:20px}.article-content h3{margin-top:25px;margin-bottom:15px}.article-content h4,.article-content h5,.article-content h6{margin-top:15px;margin-bottom:10px}.article-content table{background:#fff;display:table;width:100%;font-size:13.5px;line-height:24px}.article-content table tr th{padding:12px 8px}.article-content table tr td{padding:6px 8px}.article-content table tbody tr:nth-of-type(odd){background:rgba(0,0,0,.05)}.article-content table tr td>a>span.tag{font-size:13px;font-weight:400}.article_discuss{margin-left:0!important;margin-right:0!important}#problem-nav{margin-bottom:16px!important}#prob-operation .row>div,#prob-operation button{padding-left:0!important;padding-right:0!important}#prob-operation .row>.col-xs-6:first-child{padding-right:2px!important}#prob-operation .row>.col-xs-6:last-child{padding-left:2px!important}#prob-properties,#prob-properties .container{padding:0!important}#prob-properties{margin-top:20px!important}#prob-properties .container .card{margin:0!important;padding:4px!important}#prob-properties .container .card .col-sm-8{text-align:right}#prob-descriptions,#prob-my-sols{margin-top:20px!important}#prob-descriptions>span:nth-child(1){display:none}#prob-my-sols table{margin-bottom:0!important}#description-container dt{margin-left:8px;margin-top:24px;margin-bottom:4px;font-size:18px;font-weight:400}#description-container dd{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;background:#fff;display:block;padding:16px!important}#contest_problem{margin-top:-16px}#prob-title-contest{margin-bottom:24px!important}#problem-nav a.nav-link{font-family:Consolas,Menlo,\"Ubuntu Mono\",\"Courier New\",Courier,sans-serif}#contest_overview #contest-manager{margin-top:8px}#time-info{margin-bottom:16px!important;font-size:14px;padding:16px}#contest-description{font-size:14px;padding:12px!important}#contest-description p{margin-bottom:5px!important}#contest-description p:last-child{margin-bottom:0!important}#time-info .text-xs-center>h3{font-size:1.5rem}#time-info .row:nth-child(2){margin-top:6px;margin-bottom:6px}#contest-time-slider-container .slider{height:12px}#contest-time-slider-container .slider .slider-track{height:6px;margin-top:-3px}#contest-time-slider-container .slider .slider-handle{height:12px;width:12px;background:#0275d8}#contest-time-slider-container .slider .slider-selection{background:#0275d8}.comment-posts-container{margin-left:0}.comment-posts-container .comment-edit{margin-bottom:20px}.comment-posts-container .comment-edit .form-control{box-shadow:none!important}.comment-posts-container .comment-edit .preview{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;background:#f0f0f0!important}.comment-posts-container .comment-edit .buttons{margin-right:-10px}.comment-posts-container .comment-edit .buttons .btn{margin-left:10px}.comment-posts-container .comment-post{margin-top:15px}.comment-posts-container .comment-post .author{margin-left:5px}.comment-posts-container .comment-post .content{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;margin-top:5px;background:#fff!important}#problem_discuss{padding-left:40px}",""]);const a=n},4464:(t,r,e)=>{"use strict";e.d(r,{Z:()=>a});var o=e(3645),n=e.n(o)()(!1);n.push([t.id,".oi-clean-shadow,.oi-shadow-0{box-shadow:none!important}.oi-default-font{font-family:Lato,-apple-system,'PingFang SC','Source Han Sans SC','Noto Sans CJK SC','Microsoft Yahei','Lantinghei SC','Hiragino Sans GB','Microsoft Sans Serif','WenQuanYi Micro Hei',sans-serif}.oi-clean-padding{padding:0!important}.oi-clean-margin{margin:0!important}.oi-clean-border{border:none!important;border-spacing:0!important}.oi-clean-radius{border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important}.oi-clean-link-underline a:active,.oi-clean-link-underline a:hover,.oi-clean-link-underline a:link,.oi-clean-link-underline a:visited{text-decoration:none!important}.oi-shadow-1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)!important}.oi-shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important}.oi-shadow-3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)!important}.oi-shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important}.oi-shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important}.oi-shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)!important}.oi-shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)!important}.oi-shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)!important}.oi-shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)!important}.oi-shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)!important}.oi-shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)!important}.oi-shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)!important}.oi-shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)!important}.oi-shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)!important}.oi-shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)!important}.oi-shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}.oi-button,.oi-button-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;height:36px;line-height:36px}.oi-button{font-size:15px}.oi-button-group .oi-button{box-shadow:none!important}.oi-radius-2{border-radius:2px!important;-moz-border-radius:2px!important;-webkit-border-radius:2px!important}.oi-radius,.oi-radius-4{border-radius:4px!important;-moz-border-radius:4px!important;-webkit-border-radius:4px!important}.container .row:nth-child(1){height:68px;position:relative}.container .row:nth-child(1) div:nth-child(1){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)!important;border-radius:34px!important;margin-right:6px}.container .row:nth-child(1) div:nth-child(1) img{width:68px!important;height:68px!important;border-radius:34px!important}.container .row:nth-child(1) div:nth-child(2) h3{margin-top:6px;margin-bottom:2px;font-size:1.5rem}.container .row:nth-child(3),.container .row:nth-child(4){margin-bottom:20px!important}.container .row:nth-child(1) div:nth-child(2) h3 a{font-size:18px;color:#BDBDBD}.container .row:nth-child(1) div:nth-child(2) span{font-size:.8rem}.container .row:nth-child(1) div:nth-child(3){position:absolute;right:0}.container .row:nth-child(3) .card-block{padding:16px!important}.container .row:nth-child(4) .card{margin-bottom:0!important}",""]);const a=n},3645:t=>{"use strict";t.exports=function(t){var r=[];return r.toString=function(){return this.map((function(r){var e=function(t,r){var e,o,n,a=t[1]||"",i=t[3];if(!i)return a;if(r&&"function"==typeof btoa){var p=(e=i,o=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),"/*# ".concat(n," */")),s=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(s).concat([p]).join("\n")}return[a].join("\n")}(r,t);return r[2]?"@media ".concat(r[2]," {").concat(e,"}"):e})).join("")},r.i=function(t,e,o){"string"==typeof t&&(t=[[null,t,""]]);var n={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(n[i]=!0)}for(var p=0;p<t.length;p++){var s=[].concat(t[p]);o&&n[s[0]]||(e&&(s[2]?s[2]="".concat(e," and ").concat(s[2]):s[2]=e),r.push(s))}},r}},8738:t=>{function r(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(r(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&r(t.slice(0,0))}(t)||!!t._isBuffer)}},2568:(t,r,e)=>{var o,n,a,i,p;o=e(1012),n=e(487).utf8,a=e(8738),i=e(487).bin,(p=function(t,r){t.constructor==String?t=r&&"binary"===r.encoding?i.stringToBytes(t):n.stringToBytes(t):a(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var e=o.bytesToWords(t),s=8*t.length,c=1732584193,l=-271733879,d=-1732584194,u=271733878,x=0;x<e.length;x++)e[x]=16711935&(e[x]<<8|e[x]>>>24)|4278255360&(e[x]<<24|e[x]>>>8);e[s>>>5]|=128<<s%32,e[14+(s+64>>>9<<4)]=s;var m=p._ff,b=p._gg,g=p._hh,h=p._ii;for(x=0;x<e.length;x+=16){var f=c,w=l,v=d,y=u;c=m(c,l,d,u,e[x+0],7,-680876936),u=m(u,c,l,d,e[x+1],12,-389564586),d=m(d,u,c,l,e[x+2],17,606105819),l=m(l,d,u,c,e[x+3],22,-1044525330),c=m(c,l,d,u,e[x+4],7,-176418897),u=m(u,c,l,d,e[x+5],12,1200080426),d=m(d,u,c,l,e[x+6],17,-1473231341),l=m(l,d,u,c,e[x+7],22,-45705983),c=m(c,l,d,u,e[x+8],7,1770035416),u=m(u,c,l,d,e[x+9],12,-1958414417),d=m(d,u,c,l,e[x+10],17,-42063),l=m(l,d,u,c,e[x+11],22,-1990404162),c=m(c,l,d,u,e[x+12],7,1804603682),u=m(u,c,l,d,e[x+13],12,-40341101),d=m(d,u,c,l,e[x+14],17,-1502002290),c=b(c,l=m(l,d,u,c,e[x+15],22,1236535329),d,u,e[x+1],5,-165796510),u=b(u,c,l,d,e[x+6],9,-1069501632),d=b(d,u,c,l,e[x+11],14,643717713),l=b(l,d,u,c,e[x+0],20,-373897302),c=b(c,l,d,u,e[x+5],5,-701558691),u=b(u,c,l,d,e[x+10],9,38016083),d=b(d,u,c,l,e[x+15],14,-660478335),l=b(l,d,u,c,e[x+4],20,-405537848),c=b(c,l,d,u,e[x+9],5,568446438),u=b(u,c,l,d,e[x+14],9,-1019803690),d=b(d,u,c,l,e[x+3],14,-187363961),l=b(l,d,u,c,e[x+8],20,1163531501),c=b(c,l,d,u,e[x+13],5,-1444681467),u=b(u,c,l,d,e[x+2],9,-51403784),d=b(d,u,c,l,e[x+7],14,1735328473),c=g(c,l=b(l,d,u,c,e[x+12],20,-1926607734),d,u,e[x+5],4,-378558),u=g(u,c,l,d,e[x+8],11,-2022574463),d=g(d,u,c,l,e[x+11],16,1839030562),l=g(l,d,u,c,e[x+14],23,-35309556),c=g(c,l,d,u,e[x+1],4,-1530992060),u=g(u,c,l,d,e[x+4],11,1272893353),d=g(d,u,c,l,e[x+7],16,-155497632),l=g(l,d,u,c,e[x+10],23,-1094730640),c=g(c,l,d,u,e[x+13],4,681279174),u=g(u,c,l,d,e[x+0],11,-358537222),d=g(d,u,c,l,e[x+3],16,-722521979),l=g(l,d,u,c,e[x+6],23,76029189),c=g(c,l,d,u,e[x+9],4,-640364487),u=g(u,c,l,d,e[x+12],11,-421815835),d=g(d,u,c,l,e[x+15],16,530742520),c=h(c,l=g(l,d,u,c,e[x+2],23,-995338651),d,u,e[x+0],6,-198630844),u=h(u,c,l,d,e[x+7],10,1126891415),d=h(d,u,c,l,e[x+14],15,-1416354905),l=h(l,d,u,c,e[x+5],21,-57434055),c=h(c,l,d,u,e[x+12],6,1700485571),u=h(u,c,l,d,e[x+3],10,-1894986606),d=h(d,u,c,l,e[x+10],15,-1051523),l=h(l,d,u,c,e[x+1],21,-2054922799),c=h(c,l,d,u,e[x+8],6,1873313359),u=h(u,c,l,d,e[x+15],10,-30611744),d=h(d,u,c,l,e[x+6],15,-1560198380),l=h(l,d,u,c,e[x+13],21,1309151649),c=h(c,l,d,u,e[x+4],6,-145523070),u=h(u,c,l,d,e[x+11],10,-1120210379),d=h(d,u,c,l,e[x+2],15,718787259),l=h(l,d,u,c,e[x+9],21,-343485551),c=c+f>>>0,l=l+w>>>0,d=d+v>>>0,u=u+y>>>0}return o.endian([c,l,d,u])})._ff=function(t,r,e,o,n,a,i){var p=t+(r&e|~r&o)+(n>>>0)+i;return(p<<a|p>>>32-a)+r},p._gg=function(t,r,e,o,n,a,i){var p=t+(r&o|e&~o)+(n>>>0)+i;return(p<<a|p>>>32-a)+r},p._hh=function(t,r,e,o,n,a,i){var p=t+(r^e^o)+(n>>>0)+i;return(p<<a|p>>>32-a)+r},p._ii=function(t,r,e,o,n,a,i){var p=t+(e^(r|~o))+(n>>>0)+i;return(p<<a|p>>>32-a)+r},p._blocksize=16,p._digestsize=16,t.exports=function(t,r){if(null==t)throw new Error("Illegal argument "+t);var e=o.wordsToBytes(p(t,r));return r&&r.asBytes?e:r&&r.asString?i.bytesToString(e):o.bytesToHex(e)}},7418:t=>{"use strict";var r=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function n(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var r={},e=0;e<10;e++)r["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(t){return r[t]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(t){o[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}()?Object.assign:function(t,a){for(var i,p,s=n(t),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))e.call(i,l)&&(s[l]=i[l]);if(r){p=r(i);for(var d=0;d<p.length;d++)o.call(i,p[d])&&(s[p[d]]=i[p[d]])}}return s}},4996:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(4577);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},2449:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(1457);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},6906:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(4762);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},1657:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(1446);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},5870:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(6393);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},130:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(577);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},3158:(t,r,e)=>{"use strict";e.r(r),e.d(r,{default:()=>i});var o=e(3379),n=e.n(o),a=e(4464);n()(a.Z,{insert:"head",singleton:!1});const i=a.Z.locals||{}},3379:(t,r,e)=>{"use strict";var o,n=function(){var t={};return function(r){if(void 0===t[r]){var e=document.querySelector(r);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}t[r]=e}return t[r]}}(),a=[];function i(t){for(var r=-1,e=0;e<a.length;e++)if(a[e].identifier===t){r=e;break}return r}function p(t,r){for(var e={},o=[],n=0;n<t.length;n++){var p=t[n],s=r.base?p[0]+r.base:p[0],c=e[s]||0,l="".concat(s," ").concat(c);e[s]=c+1;var d=i(l),u={css:p[1],media:p[2],sourceMap:p[3]};-1!==d?(a[d].references++,a[d].updater(u)):a.push({identifier:l,updater:b(u,r),references:1}),o.push(l)}return o}function s(t){var r=document.createElement("style"),o=t.attributes||{};if(void 0===o.nonce){var a=e.nc;a&&(o.nonce=a)}if(Object.keys(o).forEach((function(t){r.setAttribute(t,o[t])})),"function"==typeof t.insert)t.insert(r);else{var i=n(t.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(r)}return r}var c,l=(c=[],function(t,r){return c[t]=r,c.filter(Boolean).join("\n")});function d(t,r,e,o){var n=e?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(t.styleSheet)t.styleSheet.cssText=l(r,n);else{var a=document.createTextNode(n),i=t.childNodes;i[r]&&t.removeChild(i[r]),i.length?t.insertBefore(a,i[r]):t.appendChild(a)}}function u(t,r,e){var o=e.css,n=e.media,a=e.sourceMap;if(n?t.setAttribute("media",n):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var x=null,m=0;function b(t,r){var e,o,n;if(r.singleton){var a=m++;e=x||(x=s(r)),o=d.bind(null,e,a,!1),n=d.bind(null,e,a,!0)}else e=s(r),o=u.bind(null,e,r),n=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)};return o(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;o(t=r)}else n()}}t.exports=function(t,r){(r=r||{}).singleton||"boolean"==typeof r.singleton||(r.singleton=(void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o));var e=p(t=t||[],r);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var o=0;o<e.length;o++){var n=i(e[o]);a[n].references--}for(var s=p(t,r),c=0;c<e.length;c++){var l=i(e[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}e=s}}}},6672:(t,r,e)=>{const o=e(9182);function n(t){const r=new RegExp("^"+t.replace("*",".*")+"$");return!!location.pathname.match(r)}let a=[];const i={at(t,r){n(t)&&r()},when(t,r){a.push({format:"route",route:t,callback:r})},register(t,r){a.push({format:"module",name:t,callback:r})},load(){for(const t of a)switch(t.format){case"route":n(t.route)&&t.callback();break;case"module":o.query("module."+t.name,!0)&&t.callback();break;default:throw new Error("No such format!")}}};t.exports=i},9182:(t,r,e)=>{const o=e(3555),{css:n}=e(4996);let a=o.getValue("config");a||(a={});const i=[{name:"oj",description:"对于每个 Online Judge 配置是否启用",children:[{name:"atcoder",value:!0},{name:"baekjoon",value:!0},{name:"codeforces",value:!0},{name:"ioihw20",value:!0},{name:"loj",value:!0},{name:"luogu",value:!0},{name:"szkopul",value:!0},{name:"uoj",value:!0},{name:"vjudge",value:!0}]},{name:"module",description:"对于每个功能模块配置是否启用",children:[{name:"baekjoon-ui-translate",description:"baekjoon 部分 UI 翻译",value:!0},{name:"codeforces-translator",description:"codeforces 题面/题解翻译器",value:!0},{name:"codeforces-fast-submit",description:"codeforces 快速提交插件(支持在题面页面直接提交代码)",value:!0},{name:"vjudge-custom-style",description:"vjudge 自定义样式",value:!0},{name:"vjudge-accepted-counter",description:"vjudge 用户资料页面通过题目数分 OJ 统计",value:!0},{name:"vjudge-problemlist-generater",description:"vjudge 题单生成器(命令行功能)",value:!0},{name:"vjudge-remote-submission-link",description:"vjudge 提交记录添加跳转到原 OJ 提交记录页链接(仅对部分 OJ 有效)",value:!0}]}],p={query(t,r){const e=t.split(".");let o=a;for(let t=0;t<e.length;t++){if(!Object.keys(o).includes(e[t]))return r;o=o[e[t]]}return o},modify(t,r){const e=t.split(".");let n=a;for(let t=0;t+1<e.length;t++)Object.keys(n).includes(e[t])||(n[e[t]]={}),n=n[e[t]];n[e[e.length-1]]=r,o.setValue("config",a),o.log("[config]","current =",a)},renderHTML(t){const r=(t,e,n,a)=>{for(const i of e){const e=document.createElement("div");if(e.classList.add("oi-helper-config-depth-"+a),e.innerHTML+="<h2>"+i.name+"</h2>",i.description&&(e.innerHTML+="<p>"+i.description+"</p>"),i.children){const t=document.createElement("div");t.style["padding-left"]="20px",e.appendChild(t),r(t,i.children,n.concat([i.name]),a+1)}if(i.value){const t=n.concat([i.name]).join("."),r=p.query(t,i.value);if(!0===r||!1===r){const n=document.createElement("input");n.type="checkbox",n.checked=!!r,n.onchange=()=>{o.log("on change",n.checked),p.modify(t,!!n.checked)};const a=e.getElementsByTagName("h2")[0];a.innerHTML+="&nbsp;",a.appendChild(n)}}t.appendChild(e)}},e=document.createElement("div");e.id="oi-helper-config",t.appendChild(e),r(e,i,[],0)}};t.exports={source:a,...p}},1163:(t,r,e)=>{const{css:o}=e(2449)},8268:(t,r,e)=>{e(6672).register("baekjoon-ui-translate",e(194))},3990:t=>{t.exports=function(t){for(let r in t){let e=t[r];$(r).each((function(){const t=$(this);for(let r in e){let o=e[r];if(r.startsWith("replace::"))r=r.slice(9),t.text().match(r)&&t.text(t.text().replace(r,o));else if(r.startsWith("replaceHTML::"))r=r.slice(13),console.log(r,this.innerHTML),this.innerHTML.match(r)&&(this.innerHTML=this.innerHTML.replace(r,o));else if(t.text().trim()==r){t.text(o);break}}}))}}},194:(t,r,e)=>{const o=e(3990);t.exports=()=>{$(document).ready((function(){o({".topbar .loginbar li a":{설정:"Settings",로그아웃:"Log out",로그인:"Login",회원가입:"Register","replace::코인":"Coins"},".nav.nav-pills li a":{문제:"Problem",출처:"Category",단계:"Step",분류:"Classification","추가된 문제":"Added Problems","추가된 영어 문제":"Added English Problems"},".table-responsive .table.table-bordered thead tr th":{출처:"Source",제목:"Title","문제 번호":"ID",정보:"Tags","맞은 사람":"AC",제출:"Submit","정답 비율":"AC Ratio"},"#problem-info tr th":{"시간 제한":"Time Limit","메모리 제한":"Memory Limit",제출:"Submit",정답:"AC","맞은 사람":"AC User","정답 비율":"AC Ratio"},"#problem-info tr td":{"replace::초":"s"},".content .headline h2":{문제:"Description",입력:"Input",출력:"Output",출처:"Source","알고리즘 분류":"Problem Tags",메모:"Problem Memo","replaceHTML::예제 입력":"Sample Input","replaceHTML::예제 출력":"Sample Output","replaceHTML::복사":"COPY"},".problem-memo-write":{"메모 작성하기":"Write Memo"},".problem-label":{"스페셜 저지":"Special Judge"},".problem-menu li a":{"replace::번":"",제출:"Submit","맞은 사람":"Statistics (Fastest)",숏코딩:"Statistics (Shortest)","채점 현황":"Submissions","내 제출":"My Submissions"},".submit-form label, .submit-form label input, .submit-form button":{언어:"Language","소스 코드 공개":"Visibility","소스 코드":"Source Code",제출:"Submit","replaceHTML::맞았을 때만 공개":"Only Accepted","replaceHTML::비공개":"Private","replaceHTML::공개":"Open"},"#status-table tr th":{"제출 번호":"Submission ID",아이디:"User",문제:"Problem",결과:"Result",메모리:"Memory",시간:"Time",언어:"Language","코드 길이":"Solution Size","제출한 시간":"Submit Time"},"#status-table tr td .result-text span":{"맞았습니다!!":"Accepted"},"form.form-inline":{"replaceHTML::아이디":"User ID","replaceHTML::모든 언어":"Language","replaceHTML::모든 결과":"Result","replaceHTML::검색":"Search"}})}))}},5114:(t,r,e)=>{const o=e(6672);o.register("codeforces-translator",e(7438)),o.register("codeforces-fast-submit",e(3590))},3030:(t,r,e)=>{const o=e(2568),n=e(3555),a="p, ul>li";function i(){let t="";for(let r=0;r<6;r++)t+=String(Math.floor(9*Math.random())+1);return t}t.exports=async function(t){const r=$(t);if(r.hasClass("translated"))return;r.addClass("translated");let e=[],p=[],s={};r.find(a).each(((t,r)=>{const e=$(r);e.find("script, span.MathJax_Preview").remove();let n=e.html();e.children("*").each(((t,r)=>{const e=r.outerHTML,{id:a}=function(t){let r,e=o(t);return Object.keys(s).includes(e)?r=s[e].id:(r=i(),s[e]={id:r,html:t}),{id:r,hash:e}}(e);n=n.replace(e,`{${a}}`)})),p.push(n)}));const c=i(),l=`\n\n{{${c}}}\n\n`;let d=[];for(let t of p)t=t.replace(/&nbsp;/g,""),d.length&&d[d.length-1].length+t.length<1e3?d[d.length-1]+=l+t:d.push(t);let u=(await Promise.all(d.map((t=>n.translate(t,!0))))).join(l);for(const t in s){const{id:r,html:e}=s[t];u=u.replace(RegExp(`\\{\\s*${r}\\s*\\}`,"g")," "+e+" ")}p=u.split(RegExp(`\\{\\{\\s*${c}\\s*\\}\\}`)),r.find(a).each(((t,r)=>{let o=$(r),n=p[t];for(let t=0;t<e.length;t++){let r=p.length-e.length+t;~e[t].indexOf("tex-font-style-bf")&&(p[r]='<span class="tex-font-style-bf">'+p[r]+"</span>"),n=n.replaceAll(e[t],p[r])}o.html(n)}))}},3590:(t,r,e)=>{const o=e(3555);(location.pathname.match(/^\/contest\/.*\/problem\/.*$/)||location.pathname.match(/^\/gym\/.*\/problem\/.*$/)||location.pathname.match(/^\/problemset\/problem\/.*$/)||location.pathname.match(/^\/group\/.*\/contest\/.*\/problem\/.*$/))&&(o.log("loading module `cf-fast-submit`..."),async function(){const t=location.origin,r=location.pathname,e=ace.require("ace/ext/modelist"),n=!!$("a").filter(((t,r)=>"Logout"===$(r).text())).length,a=["A","A1"],i=/(contest|gym)\/(.*)\/problem\/([^/]*)\/?$/,p=/problemset\/problem\/([^/]*)\/([^/]*)\/?$/,s=/group\/([^/]+)\/contest\/([^/]*)\/problem\/([^/]*)\/?$/;let c,l,d,u,x,m,b,g,h,f,w;const v={2:"program.cpp",3:"program.dpr",4:"program.pas",6:"program.php",7:"program.py",8:"program.rb",9:"program.cs",12:"program.hs",13:"program.pl",19:"program.ml",20:"[^{}]*objects+(w+).*|$1.scala",28:"program.d",31:"a.py",32:"program.go",34:"program.js",36:"[^{}]*publics+(final)?s*classs+(w+).*|$2.java",40:"a.py",41:"a.py",42:"program.cpp",43:"program.c",48:"program.kt",49:"program.rs",50:"program.cpp",51:"program.pas",52:"program.cpp",54:"program.cpp",55:"program.js",59:"program.cpp",60:"[^{}]*publics+(final)?s*classs+(w+).*|$2.java",61:"program.cpp"};let y=!1;function C(t){return new Promise(((r,e)=>{setTimeout(r,t)}))}async function S(t=!0,r=!1){let e,o="";const n=await $.ajax(b,{method:"get"}),i=$(n).find("form.submit-form");if(!i.length)return!1;if(t||(o=$("#sourceCodeTextarea").val()||"",e=c.find("[name=sourceFile]"),E()),c=i,$(".problemindexholder").append(c),c.css("border","1px"),m=ace.edit("editor"),c.attr("action",b+c.attr("action")),l=c.find("select[name=programTypeId]"),d=c.find("#toggleEditorCheckbox"),u=c.find("#tabSizeInput"),x=c.find("[name=submittedProblemIndex]"),m.setTheme("ace/theme/chrome"),m.setShowPrintMargin(!1),m.setOptions({enableBasicAutocompletion:!0}),"contest"===w||"gym"===w||"group"===w){const t=t=>x.find("option").filter(((r,e)=>$(e).val()===t)).length;let r=t(g);if(!r&&"0"===g)for(const e of a)if(t(e)){g=e,r=!0;break}if(!r)return!1;x.val(g);const e=$(x.prop("outerHTML"));e.prop("disabled",!0),e.removeAttr("name"),e.val(g),e.attr("id","submitted_problem_index_fake_display"),x.after(e),x.prop("hidden",!0)}var p;return"problemset"===w&&"0"===g&&c.find("[name=submittedProblemCode]").val(h+"A"),"contest"!==w&&"problemset"!==w||(h=(n.match(/contestId\s*=\s*(\d+)/)||{1:0})[1],f=(n.match(/participantId\s*:\s*(\d+)/)||{1:0})[1]),n.match("updateProblemLockInfo")&&(p=$("select[name=submittedProblemIndex]").val(),j(),""!=p?$.post("/data/problemLock",{action:"checkProblemLock",contestId:h,participantId:f,problemIndex:p},(function(t){"true"==t.problemLocked?(Codeforces.setAjaxFormErrors("form table",{error__submittedProblemIndex:"Problem was locked for submission, it is impossible to resubmit it"}),$(".submit-form :submit").attr("disabled","disabled"),$("#submittedProblemFiles").text(""),$("#submittedProblemLimits").text("")):(Codeforces.clearAjaxFormErrors("form table"),$(".submit-form :submit").removeAttr("disabled"))}),"json"):(Codeforces.clearAjaxFormErrors("form table"),$(".submit-form :submit").attr("disabled","disabled"))),n.match("updateSubmitButtonState")&&function(){var t=$("select[name=submittedProblemIndex]").val();j(),""==t?$(".submit-form :submit").attr("disabled","disabled"):$(".submit-form :submit").removeAttr("disabled")}(),_(),k(),j(),d.on("change",(()=>{_();const t=!d.is(":checked");return $.post("/data/customtest",{communityCode:"",action:"setEditorEnabled",editorEnabled:t},(function(t){})),!1})),u.on("change",(()=>{const t=u.val();m.setOptions({tabSize:t}),$.post("/data/customtest",{communityCode:"",action:"setTabSize",tabSize:t},(function(t){}))})),l.on("change",(()=>{k()})),m.getSession().on("change",(function(){$("#sourceCodeTextarea").val(m.getValue())})),$("#sourceCodeTextarea").on("change",(function(){m.setValue($(this).val(),1)})),c.on("submit",O),t||(o&&function(t){const r=$("#sourceCodeTextarea");r.val(t),r.trigger("change")}(o),e&&c.find("[name=sourceFile]").replaceWith(e)),y=!1,r||C(18e5).then((()=>{y=!0})),!0}function k(){var t=v[l.val()];const r=e.getModeForPath(t).mode;m&&m.session.setMode(r)}function _(){$("#toggleEditorCheckbox").is(":checked")?($("#editor").hide(),$("#sourceCodeTextarea").show(),$(".tabSizeDiv").hide()):($("#editor").show(),m.setValue(m.getValue()),$("#sourceCodeTextarea").hide(),$(".tabSizeDiv").show())}function j(){var t=$("#submittedProblemFiles"),r=$("#submittedProblemLimits"),e=$("select[name=submittedProblemIndex]").val(),o=$("select[name=submittedProblemIndex] option:selected"),n=o.attr("data-time-limit"),a=o.attr("data-memory-limit"),i=o.attr("data-input-file"),p=o.attr("data-output-file");if(""===e)t.text(""),r.text("");else{var s="float: left; font-weight: bold";""===i?""===p?(s="float: left;",t.text("standard input/output")):t.text("standard input / "+p):""===p?t.text(i+" / standard output"):t.text(i+" / "+p),t.attr("style",s),r.text(n+" s, "+a+" MB")}}function E(){$(".submit-form").remove()}function O(){if(y)return S(!1,!0).then((()=>{c.trigger("submit")})),!1;const t=c.find("input.submit"),r=c.find("img.ajax-loading-gif");if($(this).hasAttr("data-submitting"))return!0;if(t.prop("disabled"))return!1;var e=T.call(this);return e&&(r.show(),t.prop("disabled",!0),setTimeout((function(){r.hide(),t.prop("disabled",!1)}),1e4)),e}function T(){var t=$(this),r=t.find("input[name='ftaa']"),e=t.find("input[name='bfaa']");if(window._ftaa&&window._bfaa&&(r.val(window._ftaa),e.val(window._bfaa)),"multipart/form-data"===t.attr("enctype")){var o=t.find(".table-form input[name=sourceFile]");1===o.length&&o[0].files&&0===o[0].files.length&&t.removeAttr("enctype")}return!0}(n?$?ace||(o.error("[cf-fast-submit] not found ace."),0):(o.error("[cf-fast-submit] not found jQuery."),0):(o.error("[cf-fast-submit] not logged in."),0))&&function(){if(r.match(/^\/problemset\//)){w="problemset",b=t+"/problemset/submit";const e=r.match(p);h=e[1],g=e[2]}else if(r.match(/^\/group\//)){w="group";const e=r.match(s),o=e[1];h=e[2],g=e[3],b=`${t}/group/${o}/contest/${h}/submit`}else{r.match(i);const e=r.match(i);if(!e)return!1;w=e[1],b=t+"/"+w+"/"+e[2]+"/submit",g=e[3]}return!0}()&&await async function(t){for(let t=0;t<20;t++){try{if(await S(true,!1))return}catch(t){throw E(),o.error("[cf-fast-submit] unexpected error has been occured."),t}E(),await C(1e3)}o.error("[cf-fast-submit] tried some times but failed.")}()}().then((()=>{$(".submit-form .table-form .subscription-row").remove(),$(".submit-form .table-form tr").filter(((t,r)=>"Problem:"==$(r).children(".field-name").text().trim())).remove(),$("#sidebar .sidebox").filter(((t,r)=>"→ Submit?"==$(r).children(".titled").text().trim())).remove(),o.log("successful loaded module `cf-fast-submit`")})).catch((t=>{o.error("crash on loading module `cf-fast-submit`:",t)})))},7438:(t,r,e)=>{const o=e(3030),{css:n}=e(6906),a=unsafeWindow.location;if(console.log("location:",a),a.pathname.match(/^\/problemset\/problem\/\d+\/[A-Za-z]\d*$/)||a.pathname.match(/^\/contest\/\d+\/problem\/[A-Za-z]\d*$/)||a.pathname.match(/^\/contest\/\d+\/problem\/0$/)||a.pathname.match(/^\/gym\/\d+\/problem\/[A-Za-z]\d*$/)){let t=$("<li><a>translate</a></li>");t.children("a").click((function(){$(".problem-statement > div:not(.translated):not(.header):not(.sample-tests)").each(((t,r)=>{o(r)}))})),$("#pageContent .second-level-menu-list").append(t)}a.pathname.match(/^\/blog\/entry\/\d+$/)&&$(".spoiler").each(((t,r)=>{const e=$(r);if("Tutorial"==e.children(".spoiler-title").text().trim()){const t=$('<a class="spoiler-translate">TRANSLATE</a>');t.click((function(){console.log(e.children(".spoiler-content"),e.children(".spoiler-content")[0]),o(e.children(".spoiler-content")[0])})),e.children(".spoiler-content").prepend(t)}}))},3755:(t,r,e)=>{const o=e(9182),n={luogu:{match:["www.luogu.org","www.luogu.com.cn"]},loj:{match:["loj.ac"]},uoj:{match:["uoj.ac"]},vjudge:{match:["vjudge.net","cn.vjudge.net","vjudge.z180.cn"]},szkopul:{match:["szkopul.edu.pl"]},codeforces:{match:["codeforces.com","codeforces.ml","codeforc.es"]},atcoder:{match:["atcoder.jp"]},ioihw20:{match:["ioihw20.duck-ac.cn"]},baekjoon:{match:["www.acmicpc.net"]}},a={load:function(t){Object.keys(n).forEach((r=>{o.query("oj."+r,!0)&&n[r].match.forEach((o=>{(t.startsWith("http://"+o)||t.startsWith("https://"+o))&&e(6313)("./"+r+"/index.js")}))}))}};t.exports=a},2803:()=>{const t="https://www.codeforces.com",r=["虞皓翔","马耀华","彭博","屠学畅","黄子宽","彭思进","胡昊","邓明扬","周欣","陈雨昕","叶卓睿","魏衍芃","林昊翰","李白天","代晨昕","张隽恺","徐哲安","郭城志","徐舟子","周镇东","张好风","袁浩天","魏辰轩","邱天异","张博为","陈峻宇","孙诺舟","蒋凌宇","潘佳奇","钱易","张庭川","丁晓漫","左骏驰","万天航","施良致","刘宇豪","李泽清","林立","戴傅聪","王泽远","陈胤戬","陆宏","吕秋实","欧阳宇鹏","张记僖","吴孟周","曹原","陈亮舟","卢宸昊","曾庆之","万成章","张景行","戴江齐","郑路明","周航锐","曹越","冯施源","罗恺","冷滟泽","杨珖","陶立宇","陈于思","王相文","孙嘉伟","孙若凡","宣毅鸣","谢濡键","孙从博","许庭强","周子衡","苏焜","管晏如","陈永志","蔡欣然","韩豫葳","张湫阳","丁其安","翁伟捷","吴家庆","潘逸飞","谢琳涵"],e=["UC","DG","RB","HC","IB","FJ","GK","UH","QH","EE","DJ","IH","HL","MI","EJ","MB","UI","ED","AA","BG","ML","CF","TE","QG","PH","UJ","BB","CI","SD","NG","DK","LD","IJ","NC","BJ","FK","CH","NJ","RH","QF","BE","KI","AC","PG","HM","PJ","ID","EG","SI","KC","GI","OG","CK","DB","QE","GH","NI","OL","KA","MG","SG","NL","KH","QJ","KG","AB","KD","IL","NF","CM","NE","HD","DH","EC","BM","LC","CD","JI","DL","ME","PE","LI","AI","RJ","SF","II","HG","RE","LL","OA","FB","QD","DA","TC","AE","CB","GF","AG","JC","PA","TH","EH","AJ","TK","EI","UL","AF","SK","BH","RD","OK","FC","JD","OE","TF","FF","DD","CJ","HK","MJ","FG","GL","AL","FI","IC","QC","MD","OJ","HI","KK","JH","OB","BK","GJ","KE","CA","IK","LE","RI","LK","PD","JE","LB","HB","BL","RG","AH","AK","GG","JG"],o=[101221,101239,101242,101471,102482,102511,101630,101190,100851,100553,100307,101620,101173,101480,100543,100299,101612,101142,100801,100531,100269],n=["black","green","yellow","red"],a={load:()=>JSON.parse(localStorage.getItem("hw")||"[]"),dump(t){localStorage.setItem("hw",JSON.stringify(t||[]))},update(t,r){let e=a.load();e[t]=r,a.dump(e)},query:t=>a.load()[t]||0},i={update(t){localStorage.setItem("hw-winner",String(t))},query(){let t=localStorage.getItem("hw-winner");return isNaN(parseInt(t))?-1:parseInt(t)}};function p(t){let r,n,a,i,p,s=1==t?"测试题":t<300&&t%4?"作业题":"自选题";return t>=101&&(n=t-101-(t-101>>2),r=e[n],a="作业题"==s?o[r.charCodeAt(0)-65]:-1),1==t?p="root":(i=t-101>>2,p="ioi2021_"+(t<300?(i<10?"0":"")+String(i):t-300+49)),{problemType:s,authorId:i,authorName:p,shortcut:r,shortcutId:n,contestId:a}}function s(t){return t=t<10?"0"+String(t):String(t),$.get({url:"https://ioihw20.duck-ac.cn/user/profile/ioi2021_"+t}).then((r=>{let e,o=function(t,r,e){let o=t.match(/<h4 class="list-group-item-heading">格言<\/h4>\s+<p class="list-group-item-text">(.*?)<\/p>/s);return o?o[1]:(console.log("[Warning] string doesn't match!"),"<error>")}(r),n=/"\/problem\/(\d+)"/g,a=0;for(;e=n.exec(r);){let t=parseInt(e[1]),{problemType:r}=p(t);a+="作业题"==r}return{id:t,motto:o,count:a}}))}async function c(){$("*").each((function(){if(this.innerHTML.match(/^ioi2021_[0-9]+$/g)){let t=parseInt(this.innerHTML.match(/ioi2021_[0-9]+/g)[0].slice(8)),e=r[t];t==i.query()&&(e+='<sup><span style="color: red">卷王</span></sup>'),e&&(console.log(t,e),this.innerHTML='<span style="font-weight: normal">'+e+"</span>")}})),location.pathname.startsWith("/problems")&&$(".table tr td:first-child").each((function(){let t=this.innerHTML.slice(1),r=a.query(t);this.style.color=n[r],this.style["font-weight"]=r?"bold":"normal",console.log(t,r)}))}location.pathname.startsWith("/problems")&&$(".table tr td:first-child").click((function(){let t=this.innerHTML.slice(1),r=a.query(t);r=(r+1)%n.length,a.update(t,r),c()})),async function(){if($(".navbar .navbar-nav").append('<li><a href="/ranklist">排行榜</a></li>'),"/ranklist"==location.pathname){document.title=document.title.replace("比赛排行榜","排行榜");let t=[];$(".pagination").remove(),$(".table tbody tr").remove();for(let r=0;r<81;r++)t.push(s(r));let r=await Promise.all(t);r.sort(((t,r)=>(console.log(t,r),t.count==r.count?parseInt(t.id)-parseInt(r.id):r.count-t.count))),r.length&&i.update(r[0].id),console.log(r),$(".table thead tr th:last-child").text("通过数");for(let t of r){console.log(t);let r=$("<tr></tr>");r.append(`<td>${t.id}</td>`),r.append(`<td><a class="uoj-username" href="https://ioihw20.duck-ac.cn/user/profile/ioi2021_${t.id}" style="color:rgb(75,175,178)">ioi2021_${t.id}</a></td>`),r.append(`<td>${t.motto}</td>`),r.append(`<td>${t.count}</td>`),$(".table tbody").append(r)}}if(("/problems"==location.pathname||location.pathname.startsWith("/problems/"))&&($(".table thead tr th:last-child").css("width","170px"),$(".table thead tr").eq(0).append('<th class="text-center" style="width: 110px;">来源</th>'),$(".table tbody tr").each((function(r,e){let o=$(e),n=o.children("td").eq(0).text().slice(1),{problemType:a,shortcut:i,contestId:s}=p(n),c="";"作业题"==a&&(c=`\n          <a target="_blank" rel="noopener noreferrer" href="${t}/gym/${s}/problem/${i[1]}">\n            ${i}\n          </a>\n          <a target="_blank" rel="noopener noreferrer" href="${t}/gym/${s}">\n            (${s})\n          </a>\n        `),o.append("<td>"+c+"</td>")}))),location.pathname.startsWith("/problem/")){let r=parseInt(location.href.substr(location.href.lastIndexOf("problem/")+8,3),10),{problemType:e,authorName:o,shortcut:n,shortcutId:a,contestId:i}=p(r);$(".nav-tabs").eq(0).append(`<li>\n      <span style="display:block;padding:10px 15px;font-weight:bold;">\n        ${e}\n        <span style="font-weight:normal">by</span>\n        <a class="uoj-username" target="_blank" href="https://ioihw20.duck-ac.cn/user/profile/${o}" style="color:rgb(75,175,178)">\n          <span style="font-weight: normal">${o}</span>\n        </a>\n      </span>\n    </li>`),"作业题"==e&&$(".nav-tabs").eq(0).append(`<li>\n        <span style="display:block;padding:10px 15px;">\n          Source:&nbsp;&nbsp;\n          <a target="_blank" rel="noopener noreferrer" href="${t}/gym/${i}/problem/${n[1]}">\n            ${n}\n          </a>\n          <a target="_blank" rel="noopener noreferrer" href="${t}/gym/${i}">\n            (${i})\n          </a>\n        </span>\n      </li>`)}c()}()},2516:()=>{},2444:(t,r,e)=>{const{css:o}=e(1657)},8975:(t,r,e)=>{const{css:o}=e(5870)},2343:()=>{},7611:(t,r,e)=>{const o=e(6672);o.register("vjudge-custom-style",e(4940)),o.register("vjudge-accepted-counter",e(9950)),o.register("vjudge-problemlist-generater",e(9961)),o.register("vjudge-remote-submission-link",e(5822)),$("#prob-title a, a#prob-title").attr("rel","noreferrer"),$("#problem-origin a, a#problem-origin").attr("rel","noreferrer"),$("#description-container > dd").each((function(){let t=$.clone(this);if($(t).find("style, script").remove(),!$(t).text().trim()){let t=$(this).html();$("#description-container").append("<div>"+t+"</div>"),$(this).prev().remove(),$(this).remove()}})),$("#description-container > dt").each((function(){["","Statement","Problem Statement","题目描述","题目大意","题目背景"].includes($(this).text().trim())&&$(this).remove()}))},2393:(t,r,e)=>{async function o(t,r){t=String(t),r=String(r);const e=await $.get(`/problem/${encodeURIComponent(t)}-${encodeURIComponent(r)}`),o=e.match(/<title>(.+)<\/title>/)[1],n=JSON.parse(e.match(/<textarea style="display: none" name="dataJson">(.+)<\/textarea>/)[1]);let a={oj:t,id:r,title:o.split(` - ${t} ${r}`)[0],hidden_id:n.problemId};for(let t of n.properties)"Time limit"==t.title&&(a.time_limit=t.content),"Memory limit"==t.title&&(a.memory_limit=t.content);return a}e(3555).register("vjudge.getProblemInfo",(async(t,r)=>{const e=await o(t,r);return console.log(e),e})),t.exports={getProblemInfo:o}},9950:t=>{t.exports=()=>{location.pathname.startsWith("/user/")&&$(document).on("click",".toggle-detail",(function(){$("#probRecords tbody tr:not(#templ)").each((function(){let t=$(this).children("td").eq(0).text().trim(),r=$(this).children("td").eq(1).children("a").length,e=$(this).children("td").eq(2).children("a").length;$(this).children("td").eq(0).html(`\n\t\t\t\t\t${t}\n\t\t\t\t\t<br>\n\t\t\t\t\t<span style="color: #999">\n\t\t\t\t\t\t${r} / ${r+e}\n\t\t\t\t\t</span>\n\t\t\t\t`)}))}))}},4940:(t,r,e)=>{t.exports=()=>{const{css:t}=e(130);if(location.pathname.startsWith("/user/")){const{css:t}=e(3158)}"/user"==location.pathname&&$("body>.container-fluid").addClass("container"),"/group"==location.pathname&&($("#active-groups-panel").remove(),$("#explore-groups>.row>.col-md-12>h4:first-child").remove(),$("#explore-groups>.row>.col-md-12>hr:first-child").remove()),"30px"==$("body > .container, body > .container-fluid").css("margin-top")&&$("body > .container, body > .container-fluid").addClass("_oi_modified_container"),$(".navbar .navbar-brand").text("Virtual Judge")}},9961:(t,r,e)=>{const o=e(3555),n=e(2393);t.exports=()=>{o.register("vjudge.problemlistGenerater",(async function(t){if("string"==typeof t){let r=t;t=[];for(let e of r.split(",")){console.log(e);let r=e.split(":")[0],o=e.split(":")[1];if(~o.indexOf("-")){let e=parseInt(o.slice(0,o.indexOf("-"))),n=parseInt(o.slice(o.indexOf("-")+1,o.length));for(let o=e;o<=n;o++)t.push({oj:r,id:o})}else t.push({oj:r,id:o})}}return"| Problem | Title | ID | Time Limit | Memory Limit |\n|---|---|---|---|---|\n"+(t=await Promise.all(t.map((t=>n.getProblemInfo(t.oj,t.id))))).map((t=>`| [problem:${t.oj}-${t.id}] | [${t.title}](/problem/${t.oj}-${t.id}/origin) | ${t.hidden_id} | ${t.time_limit} | ${t.memory_limit} |`)).join("\n")+"\n"}))}},5822:(t,r,e)=>{const o=e(3555);t.exports=()=>{const t={LibreOJ:"https://loj.ac/submission/<id>",UniversalOJ:"https://uoj.ac/submission/<id>",HDU:"http://acm.hdu.edu.cn/viewcode.php?rid=<id>",黑暗爆炸:"https://darkbzoj.tk/submission/<id>","51Nod":"https://www.51nod.com/Challenge/ProblemSubmitDetail.html#judgeId=<id>"};$(document).on("click",".modal-dialog td.RemoteRunId",(function(){let r=$("#solutionModalLabel a:nth-child(3)").text().slice(1,-1),e=r.split("-")[1],n=r.split("-")[0],a=$(this).text();if(Object.keys(t).includes(n)){let r=t[n].replace("<id>",a).replace("<prob>",e);o.openInNewTab(r)}}))}},6313:(t,r,e)=>{var o={"./atcoder/index.js":1163,"./baekjoon/index.js":8268,"./codeforces/index.js":5114,"./ioihw20/index.js":2803,"./loj/index.js":2516,"./luogu/index.js":2444,"./szkopul/index.js":8975,"./uoj/index.js":2343,"./vjudge/index.js":7611};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(o,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return o[t]}n.keys=function(){return Object.keys(o)},n.resolve=a,t.exports=n,n.id=6313},3555:(t,r,e)=>{const o=e(9669),n=(e(8583),{log(){console.log("[oi-helper]",...arguments)},warn(){console.warn("[oi-helper]",...arguments)},error(){console.error("[oi-helper]",...arguments)},getValue:t=>(n.log("getValue",t,GM_getValue(t)),GM_getValue(t)),setValue:(t,r)=>(n.log("setValue",t,r),GM_setValue(t,r)),register(t,r){unsafeWindow.mem=unsafeWindow.mem||{};let e=unsafeWindow.mem,o=t.split(".");for(let t=0;t+1<o.length;t++)e[o[t]]=e[o[t]]||{},e=e[o[t]];e[o[o.length-1]]=r},openInNewTab(t){let r=document.createElement("a");r.setAttribute("href",encodeURI(t)),r.setAttribute("target","_blank"),r.click()},async translate(t,r=!1){let e=await o.get("https://translate.memset0.cn?text="+encodeURIComponent(t)+"&to=zh-cn");return r&&console.log(e),e.data.text}});t.exports=n}},r={};function e(o){if(r[o])return r[o].exports;var n=r[o]={id:o,exports:{}};return t[o](n,n.exports,e),n.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{const t=e(3755),r=e(6672),o=e(3555),n=e(9182);"https://github.com/memset0/oi-helper"==window.location.href?n.renderHTML(document.querySelector("article.markdown-body")):t.load(window.location.href),r.load(),o.log("Hello, World!")})()})();