You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
108 KiB
2 lines
108 KiB
(this.webpackJsonpwebhole=this.webpackJsonpwebhole||[]).push([[0],{137:function(e,t){},156:function(e,t,n){},434:function(e,t,n){},436:function(e,t,n){},437:function(e,t,n){},446:function(e,t,n){},447:function(e,t,n){},448:function(e,t,n){},449:function(e,t,n){},450:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n.n(a),r=n(10),i=n.n(r),s=(n(91),n(1)),c=n(2),l=n(5),u=n(4),h=n(3),d=n(12),p=n(24),m=n(15),f=n(7),g=n.n(f),b=n(9),v=n(25),E=n.n(v),_=function(){function e(){Object(s.a)(this,e),this.names={},this.current_h=Math.random()}return Object(c.a)(e,[{key:"get",value:function(e){return"\u6d1e\u4e3b"===(e=e.toLowerCase())?["hsl(0,0%,97%)","hsl(0,0%,16%)"]:(this.names[e]||(this.current_h+=.618033988749895,this.current_h%=1,this.names[e]=["hsl(".concat(360*this.current_h,", 50%, 90%)"),"hsl(".concat(360*this.current_h,", 60%, 20%)")]),this.names[e])}}]),e}(),w=/(^|[^\d\u20e3\ufe0e\ufe0f])(#\d{1,7})(?![\d\u20e3\ufe0e\ufe0f])/g,k=/((?:https?:\/\/)?thuhole\.com\/?#(?:#|%23)(\d{1,7}))(?!\d|\u20e3|\ufe0e|\ufe0f)/g,A=/(^|[^A-Za-z])((?:(?:Angry|Baby|Crazy|Diligent|Excited|Fat|Greedy|Hungry|Interesting|Jolly|Kind|Little|Magic|Na\xefve|Old|PKU|Quiet|Rich|Superman|Tough|Undefined|Valuable|Wifeless|Xiangbuchulai|Young|Zombie)\s)?(?:Alice|Bob|Carol|Dave|Eve|Francis|Grace|Hans|Isabella|Jason|Kate|Louis|Margaret|Nathan|Olivia|Paul|Queen|Richard|Susan|Thomas|Uma|Vivian|Winnie|Xander|Yasmine|Zach)|You Win(?: \d+)?|\u6d1e\u4e3b)(?![A-Za-z])/gi,y=/(^|[^.@a-zA-Z0-9_])((?:https?:\/\/)?(?:(?:[\w-]+\.)+[a-zA-Z]{2,3}|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?::\d{1,5})?(?:\/[\w~!@#$%^&*()\-_=+[\]{};:,./?|]*)?)(?![a-zA-Z0-9])/gi;function O(e,t){return e=[[null,e]],t.forEach((function(t){var n=Object(d.a)(t,2),a=n[0],o=n[1];e=[].concat.apply([],e.map((function(e){var t=Object(d.a)(e,2),n=t[0],r=t[1];return n?[e]:r.split(o).map((function(e){return o.test(e)?[a,e]:[null,e]})).filter((function(e){var t=Object(d.a)(e,2),n=t[0],a=t[1];return null!==n||a}))})))})),e}var x=n(71),N=n.n(x),C=n(72),j=n.n(C),S=n(73),I=n.n(S),D=(n(96),n(97),n(74)),U=n.n(D),R=n(75),H=n.n(R),T=n(76),L=n.n(T),Q=n(77),M=n.n(Q),P=n(78),G=n.n(P),X=n(79),F=n.n(X),V=(n(98),n(99),n(80)),W=n.n(V);function B(e){if(!e.ok)throw Error("\u7f51\u7edc\u9519\u8bef ".concat(e.status," ").concat(e.statusText));return e.text().then((function(e){try{return JSON.parse(e)}catch(t){throw console.error("json parse error"),console.trace(t),console.log(e),new SyntaxError("JSON Parse Error "+e.substr(0,50))}}))}function Y(){return"&PKUHelperAPI=3.0&jsapiver="+encodeURIComponent("v0.3.1.131-"+2*Math.floor(+new Date/72e5))}var K=n(38);function z(e){return e<10?"0"+e:""+e}function q(e){return"".concat(e.getMonth()+1,"-").concat(z(e.getDate())," ").concat(e.getHours(),":").concat(z(e.getMinutes()),":").concat(z(e.getSeconds()))}var Z=I()(j.a);function J(e){var t=new Date(1e3*e.stamp);return o.a.createElement("span",{className:"time-str"},o.a.createElement(N.a,{date:t,formatter:Z,title:t.toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1})}),"\xa0",e.short?null:q(t))}function $(e){return o.a.createElement("p",{className:"centered-line title-line aux-margin"},o.a.createElement("span",{className:"black-outline"},e.text))}U.a,H.a,L.a,M.a,G.a,F.a,W.a;var ee=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={loading_status:"idle",recaptcha_verified:!1},a.username_ref=o.a.createRef(),a.password_ref=o.a.createRef(),a.input_token_ref=o.a.createRef(),a.popup_anchor=document.getElementById("pkuhelper_login_popup_anchor"),a.popup_anchor||(a.popup_anchor=document.createElement("div"),a.popup_anchor.id="pkuhelper_login_popup_anchor",document.body.appendChild(a.popup_anchor)),a}return Object(c.a)(n,[{key:"do_sendcode",value:function(e){var t=this;this.state.recaptcha_verified?"loading"!==this.state.loading_status&&this.setState({loading_status:"loading"},(function(){fetch("https://thuhole.com/api_xmcp/login/send_code?user="+encodeURIComponent(t.username_ref.current.value)+"&code_type="+encodeURIComponent(e)+"&recaptcha_token="+localStorage.recaptcha+Y(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({excluded_scopes:[]})}).then(B).then((function(e){if(console.log(e),!e.success)throw new Error(JSON.stringify(e));alert(e.msg),t.setState({loading_status:"done"})})).catch((function(e){console.error(e),alert("\u53d1\u9001\u5931\u8d25\n"+e),t.setState({loading_status:"done"})}))})):alert("reCAPTCHA\u98ce\u63a7\u7cfb\u7edf\u6b63\u5728\u8bc4\u4f30\u60a8\u7684\u6d4f\u89c8\u5668\u5b89\u5168\u72b6\u6001\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5\u3002")}},{key:"do_login",value:function(e){var t=this;"loading"!==this.state.loading_status&&this.setState({loading_status:"loading"},(function(){fetch("https://thuhole.com/api_xmcp/login/login?user="+encodeURIComponent(t.username_ref.current.value)+"&valid_code="+encodeURIComponent(t.password_ref.current.value)+Y(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({excluded_scopes:[]})}).then(B).then((function(n){if(0!==n.code){if(n.msg)throw new Error(n.msg);throw new Error(JSON.stringify(n))}e(n.user_token),alert("\u767b\u5f55\u6210\u529f"),t.setState({loading_status:"done"}),t.props.on_close()})).catch((function(e){console.error(e),alert("\u767b\u5f55\u5931\u8d25\n"+e),t.setState({loading_status:"done"})}))}))}},{key:"do_input_token",value:function(e){var t=this;if("loading"!==this.state.loading_status){var n=this.input_token_ref.current.value;this.setState({loading_status:"loading"},(function(){fetch("https://thuhole.com/api_xmcp/hole/system_msg?user_token="+encodeURIComponent(n)+Y()).then((function(e){return e.json()})).then((function(a){if(a.error)throw new Error(a.error);if(0===a.result.length)throw new Error("result check failed");t.setState({loading_status:"done"}),e(n),t.props.on_close()})).catch((function(e){alert("Token\u68c0\u9a8c\u5931\u8d25\n"+e),t.setState({loading_status:"done"}),console.error(e)}))}))}}},{key:"render",value:function(){var e=this;return i.a.createPortal(o.a.createElement(K.b,{reCaptchaKey:"6Leq0a0ZAAAAAHEStocsqtJfKEs9APB0LdgzTNfZ",useRecaptchaNet:!0},o.a.createElement(K.a,{onVerify:function(t){e.setState({recaptcha_verified:!0}),localStorage.recaptcha=t}}),o.a.createElement("div",null,o.a.createElement("div",{className:"thuhole-login-popup-shadow"}),o.a.createElement("div",{className:"thuhole-login-popup"},o.a.createElement("p",null,o.a.createElement("b",null,"\u63a5\u6536\u9a8c\u8bc1\u7801\u6765\u767b\u5f55 T\u5927\u6811\u6d1e")),o.a.createElement("p",null,o.a.createElement("label",null,"\u3000\u90ae\u7bb1\xa0",o.a.createElement("input",{ref:this.username_ref,type:"email",autoFocus:!0,defaultValue:"@mails.tsinghua.edu.cn"})),o.a.createElement("span",{className:"thuhole-login-type"},o.a.createElement("a",{onClick:function(t){return e.do_sendcode("mail")}},"\xa0\u53d1\u9001\u90ae\u4ef6\xa0"))),o.a.createElement("p",null,o.a.createElement("label",null,"\u9a8c\u8bc1\u7801\xa0",o.a.createElement("input",{ref:this.password_ref,type:"tel"})),o.a.createElement("button",{type:"button",disabled:"loading"===this.state.loading_status,onClick:function(t){return e.do_login(e.props.token_callback)}},"\u767b\u5f55")),o.a.createElement("hr",null),o.a.createElement("p",null,o.a.createElement("b",null,"\u4ece\u5176\u4ed6\u8bbe\u5907\u5bfc\u5165\u767b\u5f55\u72b6\u6001")),o.a.createElement("p",null,o.a.createElement("input",{ref:this.input_token_ref,placeholder:"User Token"}),o.a.createElement("button",{type:"button",disabled:"loading"===this.state.loading_status,onClick:function(t){return e.do_input_token(e.props.token_callback)}},"\u5bfc\u5165")),o.a.createElement("hr",null),o.a.createElement("p",{style:{fontSize:11}},"This site is protected by reCAPTCHA and the Google ",o.a.createElement("a",{href:"https://policies.google.com/privacy"},"Privacy Policy")," and ",o.a.createElement("a",{href:"https://policies.google.com/terms"},"Terms of Service")," apply."),o.a.createElement("p",null,o.a.createElement("button",{onClick:this.props.on_close},"\u53d6\u6d88"))))),this.popup_anchor)}}]),n}(a.Component),te=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={popup_show:!1},a.on_popup_bound=a.on_popup.bind(Object(l.a)(a)),a.on_close_bound=a.on_close.bind(Object(l.a)(a)),a}return Object(c.a)(n,[{key:"on_popup",value:function(){this.setState({popup_show:!0})}},{key:"on_close",value:function(){this.setState({popup_show:!1})}},{key:"render",value:function(){return o.a.createElement(o.a.Fragment,null,this.props.children(this.on_popup_bound),this.state.popup_show&&o.a.createElement(ee,{token_callback:this.props.token_callback,on_close:this.on_close_bound}))}}]),n}(a.Component),ne=function(){function e(){var t=this;Object(s.a)(this,e),this.db=null,this.added_items_since_maintenance=0,this.encrypt=this.encrypt.bind(this),this.decrypt=this.decrypt.bind(this);var n=indexedDB.open("hole_cache_db",1);n.onerror=console.error.bind(console),n.onupgradeneeded=function(e){console.log("comment cache db upgrade"),e.target.result.createObjectStore("comment",{keyPath:"pid"}).createIndex("last_access","last_access",{unique:!1})},n.onsuccess=function(e){console.log("comment cache db loaded"),t.db=e.target.result,setTimeout(t.maintenance.bind(t),1)}}return Object(c.a)(e,[{key:"encrypt",value:function(e,t){for(var n=JSON.stringify(t),a="",o=0,r=(42^e)%128;o<n.length;o++){var i=(r^n.charCodeAt(o)/2)%128;a+=String.fromCharCode(r^n.charCodeAt(o)),r=i}return a}},{key:"decrypt",value:function(e,t){var n="";if("string"!==typeof t)return null;for(var a=0,o=(42^e)%128;a<t.length;a++){var r=o^t.charCodeAt(a);n+=String.fromCharCode(r),o=(o^r/2)%128}try{return JSON.parse(n)}catch(i){return console.error("decrypt failed"),console.trace(i),null}}},{key:"get",value:function(e,t){var n=this;return e=parseInt(e),new Promise((function(a,o){if(!n.db)return a(null);var r=n.db.transaction(["comment"],"readwrite").objectStore("comment"),i=r.get(e);i.onsuccess=function(){var o=i.result;if(o&&o.data_str)if(t===o.version){console.log("comment cache hit",e),o.last_access=+new Date,r.put(o);var s=n.decrypt(e,o.data_str);a(s)}else console.log("comment cache expired",e,": ver",o.version,"target",t),r.delete(e),a(null);else a(null)},i.onerror=function(e){console.warn("comment cache indexeddb open failed"),console.error(e),a(null)}}))}},{key:"put",value:function(e,t,n){var a=this;return e=parseInt(e),new Promise((function(o,r){if(!a.db)return o();a.db.transaction(["comment"],"readwrite").objectStore("comment").put({pid:e,version:t,data_str:a.encrypt(e,n),last_access:+new Date}),console.log("comment cache put",e),150===++a.added_items_since_maintenance&&setTimeout(a.maintenance.bind(a),1)}))}},{key:"delete",value:function(e){var t=this;return e=parseInt(e),new Promise((function(n,a){if(!t.db)return n();var o=t.db.transaction(["comment"],"readwrite").objectStore("comment").delete(e);console.log("comment cache delete",e),o.onerror=function(){return console.warn("comment cache delete failed ",e),n()},o.onsuccess=function(){return n()}}))}},{key:"maintenance",value:function(){var e=this;if(this.db){var t=this.db.transaction(["comment"],"readwrite").objectStore("comment"),n=t.count();n.onsuccess=function(){var a=n.result;a>1e3?(console.log("comment cache db maintenance",a),t.index("last_access").openKeyCursor().onsuccess=function(e){var n=e.target.result;n&&(t.delete(n.primaryKey),--a>1e3&&n.continue())}):console.log("comment cache db no need to maintenance",a),e.added_items_since_maintenance=0},n.onerror=console.error.bind(console)}}},{key:"clear",value:function(){this.db&&(indexedDB.deleteDatabase("hole_cache_db"),console.log("delete comment cache db"))}}]),e}();function ae(){return window.hole_cache||(window.hole_cache=new ne),window.hole_cache}function oe(e){return Y()+(e?"&user_token="+e:"")}var re=function(){var e=Object(b.a)(g.a.mark((function e(t){var n,a,o=arguments;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]&&o[1],e.next=3,B(t);case 3:if(0===(a=e.sent).code){e.next=14;break}if(!a.msg){e.next=13;break}if(!n){e.next=10;break}alert(a.msg),e.next=11;break;case 10:throw new Error(a.msg);case 11:e.next=14;break;case 13:throw new Error(JSON.stringify(a));case 14:return e.abrupt("return",a);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ie=function(e,t){return e.sort((function(e,t){return parseInt(e.cid,10)-parseInt(t.cid,10)})).map((function(e){return e._display_color=t.get(e.name),e.variant={},e}))},se={load_replies:function(){var e=Object(b.a)(g.a.mark((function e(t,n,a,o){var r,i;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=parseInt(t),e.next=3,fetch(ve+"/api.php?action=getcomment&pid="+t+oe(n));case 3:return r=e.sent,e.next=6,re(r);case 6:return i=e.sent,ae().put(t,o,i),i.data=ie(i.data,a),e.abrupt("return",i);case 10:case"end":return e.stop()}}),e)})));return function(t,n,a,o){return e.apply(this,arguments)}}(),load_replies_with_cache:function(){var e=Object(b.a)(g.a.mark((function e(t,n,a,o){var r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=parseInt(t),e.next=3,ae().get(t,o);case 3:if(!(r=e.sent)){e.next=9;break}return r.data=ie(r.data,a),e.abrupt("return",{data:r,cached:!0});case 9:return e.next=11,se.load_replies(t,n,a,o);case 11:return r=e.sent,e.abrupt("return",{data:r,cached:!r});case 13:case"end":return e.stop()}}),e)})));return function(t,n,a,o){return e.apply(this,arguments)}}(),set_attention:function(){var e=Object(b.a)(g.a.mark((function e(t,n,a){var o,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(o=new URLSearchParams).append("user_token",a),o.append("pid",t),o.append("switch",n?"1":"0"),e.next=6,fetch(ve+"/api.php?action=attention"+oe(a),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:o});case 6:return r=e.sent,ae().delete(t),e.abrupt("return",re(r,!0));case 9:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),report:function(){var e=Object(b.a)(g.a.mark((function e(t,n,a){var o,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(o=new URLSearchParams).append("user_token",a),o.append("pid",t),o.append("reason",n),e.next=6,fetch(ve+"/api.php?action=report"+oe(a),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:o});case 6:return r=e.sent,e.abrupt("return",re(r,!0));case 8:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),get_list:function(){var e=Object(b.a)(g.a.mark((function e(t,n){var a;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(ve+"/api.php?action=getlist&p="+t+oe(n));case 2:return a=e.sent,e.abrupt("return",re(a));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),get_search:function(){var e=Object(b.a)(g.a.mark((function e(t,n,a){var o;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(ve+"/api.php?action=search&pagesize=50&page="+t+"&keywords="+encodeURIComponent(n)+oe(a));case 2:return o=e.sent,e.abrupt("return",re(o));case 4:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),get_single:function(){var e=Object(b.a)(g.a.mark((function e(t,n){var a;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(ve+"/api.php?action=getone&pid="+t+oe(n));case 2:return a=e.sent,e.abrupt("return",re(a));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),get_attention:function(){var e=Object(b.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(ve+"/api.php?action=getattention"+oe(t));case 2:return n=e.sent,e.abrupt("return",re(n));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},ce=n(39),le=n.n(ce),ue=(n(156),n(81)),he=n.n(ue),de=n(82),pe=n.n(de),me=n(40),fe=n.n(me),ge=(n(433),n(434),n(435),new he.a({html:!1,linkify:!1,breaks:!0,inline:!0,highlight:function(e,t){if(t&&fe.a.getLanguage(t))try{return'<pre class="hljs"><code>'+fe.a.highlight(t,e,!0).value+"</code></pre>"}catch(n){}return'<pre class="hljs"><code>'+ge.utils.escapeHtml(e)+"</code></pre>"}}).use(pe.a,{throwOnError:!1,errorColor:"#aa0000"})),be=function(e){return ge.render(e)},ve="https://thuhole.com/services/thuhole";function Ee(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"g",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!a)return e?new RegExp("(".concat(e.split(t).filter((function(e){return!!e})).map(Ee).join("|"),")"),n):/^$/g;try{return new RegExp("("+e.slice(1,-1)+")",n)}catch(o){return/^$/g}}function we(e){return o.a.createElement("span",{className:"colored-span",style:{"--coloredspan-bgcolor-light":e.colors[0],"--coloredspan-bgcolor-dark":e.colors[1]}},e.children)}function ke(e){return/^https?:\/\//.test(e)?e:"http://"+e}a.PureComponent;var Ae=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(){return Object(s.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"render",value:function(){var e=this.props,t=[{shouldProcessNode:function(e){return"img"===e.name},processNode:function(e,t,n){return o.a.createElement("div",{key:n},"[\u56fe\u7247]")}},{shouldProcessNode:function(e){return/^h[123456]$/.test(e.name)},processNode:function(e,t,n){var a=+e.name[1];a<3&&(a=3);var r="h".concat(a);return o.a.createElement(r,{key:n},t)}},{shouldProcessNode:function(e){return"a"===e.name},processNode:function(e,t,n){return o.a.createElement("a",{href:ke(e.attribs.href),target:"_blank",rel:"noopenner noreferrer",className:"ext-link",key:n},t,o.a.createElement("span",{className:"icon icon-new-tab"}))}},{shouldProcessNode:function(e){return"text"===e.type&&(!e.parent||!e.parent.attribs||"application/x-tex"!==e.parent.attribs.encoding)},processNode:function(t,n,a){var r=O(t.data,[["url_pid",k],["url",y],["pid",w],["nickname",A]]);return o.a.createElement(o.a.Fragment,{key:a},r.map((function(t,n){var a=Object(d.a)(t,2),r=a[0],i=a[1];return o.a.createElement("span",{key:n},"url_pid"===r?o.a.createElement("span",{className:"url-pid-link",title:i},"/##"):"url"===r?o.a.createElement("a",{href:ke(i),className:"ext-link",target:"_blank",rel:"noopener noreferrer"},i,o.a.createElement("span",{className:"icon icon-new-tab"})):"pid"===r?o.a.createElement("a",{href:"#"+i,onClick:function(t){t.preventDefault(),e.show_pid(i.substring(1))}},i):"nickname"===r?o.a.createElement(we,{colors:e.color_picker.get(i)},i):"search"===r?o.a.createElement("span",{className:"search-query-highlight"},i):i)})))}},{shouldProcessNode:function(){return!0},processNode:new le.a.ProcessNodeDefinitions(o.a).processDefaultNode}],n=new le.a.Parser;if(e.author&&e.text.match(/^(?:#+ |>|```|\t|\s*-|\s*\d+\.)/)){var a=be(e.text);return o.a.createElement(o.a.Fragment,null,e.author,n.parseWithInstructions(a,(function(e){return"script"!==e.type}),t)||"")}var r=e.text;e.author&&(r=e.author+" "+r);var i=be(r);return n.parseWithInstructions(i,(function(e){return"script"!==e.type}),t)||null}}]),n}(a.Component);window.TEXTAREA_BACKUP={};var ye=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={text:""},a.on_change_bound=a.on_change.bind(Object(l.a)(a)),a.on_keydown_bound=a.on_keydown.bind(Object(l.a)(a)),a.clear=a.clear.bind(Object(l.a)(a)),a.area_ref=o.a.createRef(),a.change_callback=e.on_change||function(){},a.submit_callback=e.on_submit||function(){},a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.setState({text:window.TEXTAREA_BACKUP[this.props.id]||""},(function(){e.change_callback(e.state.text)}))}},{key:"componentWillUnmount",value:function(){window.TEXTAREA_BACKUP[this.props.id]=this.state.text,this.change_callback(this.state.text)}},{key:"on_change",value:function(e){this.setState({text:e.target.value}),this.change_callback(e.target.value)}},{key:"on_keydown",value:function(e){"Enter"===e.key&&e.ctrlKey&&!e.altKey&&(e.preventDefault(),this.submit_callback())}},{key:"clear",value:function(){this.setState({text:""})}},{key:"set",value:function(e){this.change_callback(e),this.setState({text:e})}},{key:"get",value:function(){return this.state.text}},{key:"focus",value:function(){this.area_ref.current.focus()}},{key:"render",value:function(){return o.a.createElement("textarea",{ref:this.area_ref,onChange:this.on_change_bound,value:this.state.text,onKeyDown:this.on_keydown_bound})}}]),n}(a.Component),Oe=null;function xe(e){var t=/iPhone|iPad|iPod/i.test(window.navigator.userAgent);return window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone?null:t?navigator.standalone?null:o.a.createElement("div",{className:"box promotion-bar"},o.a.createElement("span",{className:"icon icon-about"}),"\xa0 \u7528 Safari \u628a\u6811\u6d1e ",o.a.createElement("b",null,"\u6dfb\u52a0\u5230\u4e3b\u5c4f\u5e55")," \u66f4\u597d\u7528"):Oe?o.a.createElement("div",{className:"box promotion-bar"},o.a.createElement("span",{className:"icon icon-about"}),"\xa0 \u628a\u7f51\u9875\u7248\u6811\u6d1e"," ",o.a.createElement("b",null,o.a.createElement("a",{onClick:function(){Oe&&Oe.prompt()}},"\u5b89\u88c5\u5230\u684c\u9762"))," ","\u66f4\u597d\u7528"):null}window.addEventListener("beforeinstallprompt",(function(e){console.log("pwa: received before install prompt"),Oe=e}));var Ne=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={moved:!0,init_y:0,init_x:0},a.on_begin_bound=a.on_begin.bind(Object(l.a)(a)),a.on_move_bound=a.on_move.bind(Object(l.a)(a)),a.on_end_bound=a.on_end.bind(Object(l.a)(a)),a.MOVE_THRESHOLD=3,a.last_fire=0,a}return Object(c.a)(n,[{key:"on_begin",value:function(e){this.setState({moved:!1,init_y:(e.touches?e.touches[0]:e).screenY,init_x:(e.touches?e.touches[0]:e).screenX})}},{key:"on_move",value:function(e){this.state.moved||Math.abs((e.touches?e.touches[0]:e).screenY-this.state.init_y)+Math.abs((e.touches?e.touches[0]:e).screenX-this.state.init_x)>this.MOVE_THRESHOLD&&this.setState({moved:!0})}},{key:"on_end",value:function(e){this.state.moved||this.do_callback(e),this.setState({moved:!0})}},{key:"do_callback",value:function(e){this.last_fire+100>+new Date||(this.last_fire=+new Date,this.props.callback(e))}},{key:"render",value:function(){return o.a.createElement("div",{onTouchStart:this.on_begin_bound,onMouseDown:this.on_begin_bound,onTouchMove:this.on_move_bound,onMouseMove:this.on_move_bound,onClick:this.on_end_bound},this.props.children)}}]),n}(a.PureComponent);n(436);function Ce(e,t,n,a){a=a||!1,e.addEventListener?e.addEventListener(t,n,a):e.attachEvent&&e.attachEvent("on".concat(t),(function(t){n.call(e,t||window.event)}))}function je(e,t,n,a){a=a||!1,e.removeEventListener?e.removeEventListener(t,n,a):e.detachEvent&&e.detachEvent("on".concat(t),n)}var Se=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,a=e;a;){if(!a.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(a),r=o.position,i=o.overflow,s=o["overflow-x"],c=o["overflow-y"];if("static"===r&&t)a=a.parentNode;else{if(n.test(i)&&n.test(s)&&n.test(c))return a;a=a.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement};var Ie=0,De=0,Ue="data-lazyload-listened",Re=[],He=[],Te=!1;try{var Le=Object.defineProperty({},"passive",{get:function(){Te=!0}});window.addEventListener("test",null,Le)}catch(Rt){}var Qe,Me=!!Te&&{capture:!1,passive:!0},Pe=function(e){var t=i.a.findDOMNode(e);if(t instanceof HTMLElement){var n=Se(t);(e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?function(e,t){var n,a,o=i.a.findDOMNode(e);try{var r=t.getBoundingClientRect();n=r.top,a=r.height}catch(Rt){n=Ie,a=De}var s,c,l=window.innerHeight||document.documentElement.clientHeight,u=Math.max(n,0),h=Math.min(l,n+a)-u;try{var d=o.getBoundingClientRect();s=d.top,c=d.height}catch(Rt){s=Ie,c=De}var p=s-u,m=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return p-m[0]<=h&&p+c+m[1]>=0}(e,n):function(e){var t,n,a=i.a.findDOMNode(e);if(!(a.offsetWidth||a.offsetHeight||a.getClientRects().length))return!1;try{var o=a.getBoundingClientRect();t=o.top,n=o.height}catch(Rt){t=Ie,n=De}var r=window.innerHeight||document.documentElement.clientHeight,s=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return t-s[0]<=r&&t+n+s[1]>=0}(e))?e.state.visible&&!e.state.hidden||(e.props.once&&He.push(e),e.setState({visible:!0,hidden:!1})):e.props.once||(e.props.unmountIfInvisible?!0===e.visible&&e.setState({visible:!1}):e.props.hiddenIfInvisible&&!1===e.state.hidden&&e.setState({hidden:!0}))}},Ge=function(){for(var e=0;e<Re.length;++e){var t=Re[e];Pe(t)}He.forEach((function(e){var t=Re.indexOf(e);-1!==t&&Re.splice(t,1)})),He=[]},Xe=null,Fe=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={visible:!1,hidden:!1},a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){var e=window,t=this.props.scrollContainer;t&&"string"===typeof t&&(e=e.document.querySelector(t));var n=void 0!==this.props.debounce&&"throttle"===Qe||"debounce"===Qe&&void 0===this.props.debounce;if(n&&(je(e,"scroll",Xe,Me),je(window,"resize",Xe,Me),Xe=null),Xe||(void 0!==this.props.debounce?(Xe=function(e,t,n){var a,o,r,i,s,c=function c(){var l=+new Date-i;l<t&&l>=0?a=setTimeout(c,t-l):(a=null,n||(s=e.apply(r,o),a||(r=null,o=null)))};return function(){r=this,o=arguments,i=+new Date;var l=n&&!a;return a||(a=setTimeout(c,t)),l&&(s=e.apply(r,o),r=null,o=null),s}}(Ge,"number"===typeof this.props.debounce?this.props.debounce:300),Qe="debounce"):void 0!==this.props.throttle?(Xe=function(e,t,n){var a,o;return t||(t=250),function(){var r=n||this,i=+new Date,s=arguments;a&&i<a+t?(clearTimeout(o),o=setTimeout((function(){a=i,e.apply(r,s)}),t)):(a=i,e.apply(r,s))}}(Ge,"number"===typeof this.props.throttle?this.props.throttle:300),Qe="throttle"):Xe=Ge),this.props.overflow){var a=Se(i.a.findDOMNode(this));if(a&&"function"===typeof a.getAttribute){var o=+a.getAttribute(Ue)+1;1===o&&a.addEventListener("scroll",Xe,Me),a.setAttribute(Ue,o)}}else if(0===Re.length||n){var r=this.props,s=r.scroll,c=r.resize;s&&Ce(e,"scroll",Xe,Me),c&&Ce(window,"resize",Xe,Me)}Re.push(this),Pe(this)}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=Se(i.a.findDOMNode(this));if(e&&"function"===typeof e.getAttribute){var t=+e.getAttribute(Ue)-1;0===t?(e.removeEventListener("scroll",Xe,Me),e.removeAttribute(Ue)):e.setAttribute(Ue,t)}}var n=Re.indexOf(this);-1!==n&&Re.splice(n,1),0===Re.length&&"undefined"!==typeof window&&(je(window,"resize",Xe,Me),je(window,"scroll",Xe,Me))}},{key:"render",value:function(){return this.state.visible?this.props.hiddenIfInvisible?this.state.hidden?o.a.createElement("div",{style:{visibility:"hidden"}},this.props.children):o.a.createElement("div",null,this.props.children):this.props.children:this.props.placeholder?this.props.placeholder:o.a.createElement("div",{style:{height:this.props.height},className:"lazyload-placeholder"})}}]),n}(a.PureComponent);Fe.defaultProps={once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1,hiddenIfInvisible:!1};var Ve=Fe,We=n(83),Be=n.n(We);window.audio_cache={};a.Component;var Ye=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={loading_status:"idle",msg:[]},a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){this.load()}},{key:"load",value:function(){var e=this;"loading"!==this.state.loading_status&&this.setState({loading_status:"loading"},(function(){fetch("https://thuhole.com/api_xmcp/hole/system_msg?user_token="+encodeURIComponent(e.props.token)+Y()).then(B).then((function(t){if(t.error)throw new Error(t.error);e.setState({loading_status:"done",msg:t.result})})).catch((function(t){console.error(t),alert(""+t),e.setState({loading_status:"failed"})}))}))}},{key:"render",value:function(){var e=this;return"loading"===this.state.loading_status?o.a.createElement("p",{className:"box box-tip"},"\u52a0\u8f7d\u4e2d\u2026\u2026"):"failed"===this.state.loading_status?o.a.createElement("div",{className:"box box-tip"},o.a.createElement("a",{onClick:function(){e.load()}},"\u91cd\u65b0\u52a0\u8f7d")):"done"===this.state.loading_status?this.state.msg.map((function(e){return o.a.createElement("div",{className:"box",key:e.timestamp},o.a.createElement("div",{className:"box-header"},o.a.createElement(J,{stamp:e.timestamp,short:!1}),o.a.createElement("b",null,e.title)),o.a.createElement("div",{className:"box-content"},o.a.createElement("pre",null,e.content)))})):null}}]),n}(a.PureComponent),Ke=(n(437),{"https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/gbp.jpg":"\u5bfb\u89c5\u7e41\u661f\uff08\u9ed8\u8ba4\uff09","https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/eriri.jpg":"\u5e73\u6210\u8457\u540d\u753b\u5e08","https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/yurucamp.jpg":"\u9732\u8425\u5929\u4e0b\u7b2c\u4e00","https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/minecraft.jpg":"\u9ea6\u6069\xb7\u5e93\u62c9\u592b\u7279","https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/cyberpunk.jpg":"\u8d5b\u535a\u57ce\u5e02","https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/bj.jpg":"\u57ce\u5e02\u7684\u661f\u5149","https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/sif.jpg":"\u68a6\u5f00\u59cb\u7684\u5730\u65b9"}),ze={background_img:"https://cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/static/bg/gbp.jpg",background_color:"#113366",pressure:!1,easter_egg:!0,color_scheme:"default",fold:!0,block_words:[]};function qe(){var e,t=Object.assign({},ze);try{e=JSON.parse(localStorage.hole_config||"{}")}catch(Rt){alert("\u8bbe\u7f6e\u52a0\u8f7d\u5931\u8d25\uff0c\u5c06\u91cd\u7f6e\u4e3a\u9ed8\u8ba4\u8bbe\u7f6e\uff01\n"+Rt),delete localStorage.hole_config,e={}}Object.keys(e).forEach((function(n){void 0!==t[n]&&(t[n]=e[n])})),console.log("config loaded",t),window.config=t}function Ze(){localStorage.hole_config=JSON.stringify(window.config),qe()}function Je(e,t){return void 0===e&&(e=window.config.background_img),void 0===t&&(t=window.config.background_color),{background:"transparent center center",backgroundImage:null===e?"unset":'url("'+encodeURI(e)+'")',backgroundColor:t,backgroundSize:"cover"}}var $e=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={img:window.config.background_img,color:window.config.background_color},a}return Object(c.a)(n,[{key:"save_changes",value:function(){this.props.callback({background_img:this.state.img,background_color:this.state.color})}},{key:"on_select",value:function(e){var t=e.target.value;this.setState({img:"##other"===t?"":"##color"===t?null:t},this.save_changes.bind(this))}},{key:"on_change_img",value:function(e){this.setState({img:e.target.value},this.save_changes.bind(this))}},{key:"on_change_color",value:function(e){this.setState({color:e.target.value},this.save_changes.bind(this))}},{key:"render",value:function(){var e=null===this.state.img?"##color":-1===Object.keys(Ke).indexOf(this.state.img)?"##other":this.state.img;return o.a.createElement("div",null,o.a.createElement("p",null,o.a.createElement("b",null,"\u80cc\u666f\u56fe\u7247\uff1a"),o.a.createElement("select",{className:"config-select",value:e,onChange:this.on_select.bind(this)},Object.keys(Ke).map((function(e){return o.a.createElement("option",{key:e,value:e},Ke[e])})),o.a.createElement("option",{value:"##other"},"\u8f93\u5165\u56fe\u7247\u7f51\u5740\u2026\u2026"),o.a.createElement("option",{value:"##color"},"\u7eaf\u8272\u80cc\u666f\u2026\u2026")),"\xa0",o.a.createElement("small",null,"#background_img"),"\xa0","##other"===e&&o.a.createElement("input",{type:"url",placeholder:"\u56fe\u7247\u7f51\u5740",value:this.state.img,onChange:this.on_change_img.bind(this)}),"##color"===e&&o.a.createElement("input",{type:"color",value:this.state.color,onChange:this.on_change_color.bind(this)})),o.a.createElement("div",{className:"bg-preview",style:Je(this.state.img,this.state.color)}))}}]),n}(a.PureComponent),et=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={color_scheme:window.config.color_scheme},a}return Object(c.a)(n,[{key:"save_changes",value:function(){this.props.callback({color_scheme:this.state.color_scheme})}},{key:"on_select",value:function(e){var t=e.target.value;this.setState({color_scheme:t},this.save_changes.bind(this))}},{key:"render",value:function(){return o.a.createElement("div",null,o.a.createElement("p",null,o.a.createElement("b",null,"\u591c\u95f4\u6a21\u5f0f\uff1a"),o.a.createElement("select",{className:"config-select",value:this.state.color_scheme,onChange:this.on_select.bind(this)},o.a.createElement("option",{value:"default"},"\u8ddf\u968f\u7cfb\u7edf"),o.a.createElement("option",{value:"light"},"\u59cb\u7ec8\u6d45\u8272\u6a21\u5f0f"),o.a.createElement("option",{value:"dark"},"\u59cb\u7ec8\u6df1\u8272\u6a21\u5f0f")),"\xa0",o.a.createElement("small",null,"#color_scheme")),o.a.createElement("p",{className:"config-description"},"\u9009\u62e9\u6d45\u8272\u6216\u6df1\u8272\u6a21\u5f0f\uff0c\u6df1\u8272\u6a21\u5f0f\u4e0b\u5c06\u4f1a\u8c03\u6697\u56fe\u7247\u4eae\u5ea6"))}}]),n}(a.PureComponent),tt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state=Object(m.a)({},e.id,window.config[e.id]),a}return Object(c.a)(n,[{key:"save_changes",value:function(){this.props.callback(Object(m.a)({},this.props.id,this.props.sift(this.state[this.props.id])))}},{key:"on_change",value:function(e){var t=this.props.parse(e.target.value);this.setState(Object(m.a)({},this.props.id,t),this.save_changes.bind(this))}},{key:"render",value:function(){return o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("p",null,o.a.createElement("b",null,this.props.name),"\xa0",o.a.createElement("small",null,"#",this.props.id)),o.a.createElement("p",{className:"config-description"},this.props.description),o.a.createElement("textarea",{name:"config-"+this.props.id,id:"config-textarea-".concat(this.props.id),className:"config-textarea",value:this.props.display(this.state[this.props.id]),onChange:this.on_change.bind(this)})))}}]),n}(a.PureComponent),nt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={switch:window.config[a.props.id]},a}return Object(c.a)(n,[{key:"on_change",value:function(e){var t=this,n=e.target.checked;this.setState({switch:n},(function(){t.props.callback(Object(m.a)({},t.props.id,n))}))}},{key:"render",value:function(){return o.a.createElement("div",null,o.a.createElement("p",null,o.a.createElement("label",null,o.a.createElement("input",{name:"config-"+this.props.id,type:"checkbox",checked:this.state.switch,onChange:this.on_change.bind(this)}),"\xa0",o.a.createElement("b",null,this.props.name),"\xa0",o.a.createElement("small",null,"#",this.props.id))),o.a.createElement("p",{className:"config-description"},this.props.description))}}]),n}(a.PureComponent),at=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).save_changes_bound=a.save_changes.bind(Object(l.a)(a)),a}return Object(c.a)(n,[{key:"save_changes",value:function(e){console.log(e),Object.keys(e).forEach((function(t){window.config[t]=e[t]})),Ze()}},{key:"reset_settings",value:function(){window.confirm("\u91cd\u7f6e\u6240\u6709\u8bbe\u7f6e\uff1f")&&(window.config={},Ze(),window.location.reload())}},{key:"render",value:function(){return o.a.createElement("div",null,o.a.createElement("div",{className:"box config-ui-header"},o.a.createElement("p",null,"\u8fd9\u4e9b\u529f\u80fd\u4ecd\u5728\u6d4b\u8bd5\uff0c\u53ef\u80fd\u4e0d\u7a33\u5b9a\uff08",o.a.createElement("a",{onClick:this.reset_settings.bind(this)},"\u5168\u90e8\u91cd\u7f6e"),"\uff09"),o.a.createElement("p",null,o.a.createElement("b",null,"\u4fee\u6539\u8bbe\u7f6e\u540e"," ",o.a.createElement("a",{onClick:function(){window.location.reload()}},"\u5237\u65b0\u9875\u9762")," ","\u65b9\u53ef\u751f\u6548"))),o.a.createElement("div",{className:"box"},o.a.createElement($e,{id:"background",callback:this.save_changes_bound}),o.a.createElement("hr",null),o.a.createElement(et,{id:"color-scheme",callback:this.save_changes_bound}),o.a.createElement("hr",null),o.a.createElement(tt,{id:"block_words",callback:this.save_changes_bound,name:"\u8bbe\u7f6e\u5c4f\u853d\u8bcd",description:"\u5305\u542b\u5c4f\u853d\u8bcd\u7684\u6811\u6d1e\u4f1a\u88ab\u6298\u53e0\uff0c\u6bcf\u884c\u5199\u4e00\u4e2a\u5c4f\u853d\u8bcd",display:function(e){return e.join("\n")},sift:function(e){return e.filter((function(e){return e}))},parse:function(e){return e.split("\n")}}),o.a.createElement("hr",null),o.a.createElement(nt,{callback:this.save_changes_bound,id:"pressure",name:"\u5feb\u901f\u8fd4\u56de",description:"\u77ed\u6682\u6309\u4f4f Esc \u952e\u6216\u91cd\u538b\u5c4f\u5e55\uff083D Touch\uff09\u53ef\u4ee5\u5feb\u901f\u8fd4\u56de\u6216\u8005\u5237\u65b0\u6811\u6d1e"}),o.a.createElement("hr",null),o.a.createElement(nt,{callback:this.save_changes_bound,id:"easter_egg",name:"\u5141\u8bb8\u5f69\u86cb",description:"\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u663e\u793a\u5f69\u86cb"}),o.a.createElement("hr",null),o.a.createElement(nt,{callback:this.save_changes_bound,id:"fold",name:"\u6298\u53e0\u6811\u6d1e",description:"\u5728\u65f6\u95f4\u7ebf\u4e2d\u6298\u53e0\u53ef\u80fd\u5f15\u8d77\u4e0d\u9002\u7684\u6811\u6d1e"}),o.a.createElement("hr",null),o.a.createElement("p",null,"\u65b0\u529f\u80fd\u5efa\u8bae\u6216\u95ee\u9898\u53cd\u9988\u8bf7\u5728\xa0",o.a.createElement("a",{href:"https://github.com/thuhole/thuhole-go-backend/issues",target:"_blank"},"GitHub ",o.a.createElement("span",{className:"icon icon-github"})),"\xa0\u63d0\u51fa\u3002")))}}]),n}(a.PureComponent),ot=n(84),rt=n.n(ot),it=(n(446),o.a.createContext({value:null,set_value:function(){}}));function st(e){return o.a.createElement("div",null,o.a.createElement(xe,null),o.a.createElement(ct,{show_sidebar:e.show_sidebar}),o.a.createElement("div",{className:"box list-menu"},o.a.createElement("a",{onClick:function(){e.show_sidebar("\u8bbe\u7f6e",o.a.createElement(at,null))}},o.a.createElement("span",{className:"icon icon-settings"}),o.a.createElement("label",null,"\u8bbe\u7f6e")),"\xa0\xa0",o.a.createElement("a",{href:"https://thuhole.com/policy.html",target:"_blank"},o.a.createElement("span",{className:"icon icon-textfile"}),o.a.createElement("label",null,"\u6811\u6d1e\u89c4\u8303\uff08\u8bd5\u884c\uff09")),"\xa0\xa0",o.a.createElement("a",{href:"https://github.com/thuhole/thuhole-go-backend/issues",target:"_blank"},o.a.createElement("span",{className:"icon icon-github"}),o.a.createElement("label",null,"\u610f\u89c1\u53cd\u9988"))),o.a.createElement("div",{className:"box help-desc-box"},o.a.createElement("p",null,o.a.createElement("a",{onClick:function(){"serviceWorker"in navigator&&navigator.serviceWorker.getRegistrations().then((function(e){var t,n=Object(p.a)(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;console.log("unregister",a),a.unregister()}}catch(o){n.e(o)}finally{n.f()}})),ae().clear(),setTimeout((function(){window.location.reload(!0)}),200)}},"\u5f3a\u5236\u68c0\u67e5\u66f4\u65b0"),"\uff08\u5f53\u524d\u7248\u672c\uff1a\u3010","v0.3.1.131"," ","production","\u3011 \u4f1a\u81ea\u52a8\u5728\u540e\u53f0\u68c0\u67e5\u66f4\u65b0\u5e76\u5728\u4e0b\u6b21\u8bbf\u95ee\u65f6\u66f4\u65b0\uff09")),o.a.createElement("div",{className:"box help-desc-box"},o.a.createElement("p",null,"\u8054\u7cfb\u6211\u4eec\uff1athuhole at protonmail dot com")),o.a.createElement("div",{className:"box help-desc-box"},o.a.createElement("p",null,"T\u5927\u6811\u6d1e \u7f51\u9875\u7248 by @thuhole\uff0c \u57fa\u4e8e\xa0",o.a.createElement("a",{href:"https://www.gnu.org/licenses/gpl-3.0.zh-cn.html",target:"_blank"},"GPLv3"),"\xa0\u534f\u8bae\u5728"," ",o.a.createElement("a",{href:"https://github.com/thuhole/webhole",target:"_blank"},"GitHub")," ","\u5f00\u6e90"),o.a.createElement("p",null,"T\u5927\u6811\u6d1e \u7f51\u9875\u7248\u7684\u8bde\u751f\u79bb\u4e0d\u5f00\xa0",o.a.createElement("a",{href:"https://github.com/pkuhelper-web/webhole",target:"_blank",rel:"noopener"},"P\u5927\u6811\u6d1e\u7f51\u9875\u7248 by @xmcp"),"\u3001",o.a.createElement("a",{href:"https://reactjs.org/",target:"_blank",rel:"noopener"},"React"),"\u3001",o.a.createElement("a",{href:"https://icomoon.io/#icons",target:"_blank",rel:"noopener"},"IcoMoon"),"\xa0\u7b49\u5f00\u6e90\u9879\u76ee"),o.a.createElement("p",null,"This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version."),o.a.createElement("p",null,"This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\xa0",o.a.createElement("a",{href:"https://www.gnu.org/licenses/gpl-3.0.zh-cn.html",target:"_blank"},"GNU General Public License"),"\xa0for more details.")))}a.Component;var ct=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(){return Object(s.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"copy_token",value:function(e){E()(e)&&alert("\u590d\u5236\u6210\u529f\uff01\n\u8bf7\u4e00\u5b9a\u4e0d\u8981\u6cc4\u9732\u54e6")}},{key:"render",value:function(){var e=this;return o.a.createElement(it.Consumer,null,(function(t){return o.a.createElement("div",null,o.a.createElement("div",{className:"login-form box"},t.value?o.a.createElement("div",null,o.a.createElement("p",null,o.a.createElement("b",null,"\u60a8\u5df2\u767b\u5f55\u3002"),o.a.createElement("button",{type:"button",onClick:function(){t.set_value(null)}},o.a.createElement("span",{className:"icon icon-logout"})," \u6ce8\u9500"),o.a.createElement("br",null)),o.a.createElement("p",null,o.a.createElement("a",{onClick:function(){e.props.show_sidebar("\u7cfb\u7edf\u6d88\u606f",o.a.createElement(Ye,{token:t.value}))}},"\u67e5\u770b\u7cfb\u7edf\u6d88\u606f"),o.a.createElement("br",null),"\u5f53\u60a8\u53d1\u9001\u7684\u5185\u5bb9\u8fdd\u89c4\u65f6\uff0c\u6211\u4eec\u5c06\u7528\u7cfb\u7edf\u6d88\u606f\u63d0\u793a\u60a8"),o.a.createElement("p",null,o.a.createElement("a",{onClick:e.copy_token.bind(e,t.value)},"\u590d\u5236 User Token"),o.a.createElement("br",null),"\u590d\u5236 User Token \u53ef\u4ee5\u5728\u65b0\u8bbe\u5907\u767b\u5f55\uff0c\u5207\u52ff\u544a\u77e5\u4ed6\u4eba\u3002\u82e5\u6000\u7591\u88ab\u76d7\u53f7\u8bf7\u91cd\u65b0\u90ae\u7bb1\u9a8c\u8bc1\u7801\u767b\u5f55\u4ee5\u91cd\u7f6eToken\u3002")):o.a.createElement(te,{token_callback:t.set_value},(function(e){return o.a.createElement("div",null,o.a.createElement("p",null,o.a.createElement("button",{type:"button",onClick:e},o.a.createElement("span",{className:"icon icon-login"}),"\xa0\u767b\u5f55")),o.a.createElement("p",null,o.a.createElement("small",null,"T\u5927\u6811\u6d1e \u9762\u5411T\u5927\u5b66\u751f\uff0c\u901a\u8fc7T\u5927\u90ae\u7bb1\u9a8c\u8bc1\u60a8\u7684\u8eab\u4efd\u5e76\u63d0\u4f9b\u670d\u52a1\u3002")))}))))}))}}]),n}(a.Component),lt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={text:"",loading_status:"done",preview:!1},a.on_change_bound=a.on_change.bind(Object(l.a)(a)),a.area_ref=a.props.area_ref||o.a.createRef(),a.global_keypress_handler_bound=a.global_keypress_handler.bind(Object(l.a)(a)),a.color_picker=new _,a}return Object(c.a)(n,[{key:"global_keypress_handler",value:function(e){"Enter"!==e.code||e.ctrlKey||e.altKey||-1!==["input","textarea"].indexOf(e.target.tagName.toLowerCase())||this.area_ref.current&&(e.preventDefault(),this.area_ref.current.focus())}},{key:"componentDidMount",value:function(){document.addEventListener("keypress",this.global_keypress_handler_bound)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keypress",this.global_keypress_handler_bound)}},{key:"on_change",value:function(e){this.setState({text:e})}},{key:"on_submit",value:function(e){var t=this;if(e&&e.preventDefault(),"loading"!==this.state.loading_status){this.setState({loading_status:"loading"});var n=new URLSearchParams;n.append("pid",this.props.pid),n.append("text",this.state.text),n.append("user_token",this.props.token),fetch(ve+"/api.php?action=docomment"+oe(this.props.token),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n}).then(B).then((function(e){if(0!==e.code)throw e.msg&&alert(e.msg),new Error(JSON.stringify(e));t.setState({loading_status:"done",text:"",preview:!1}),t.area_ref.current.clear(),t.props.on_complete()})).catch((function(e){console.error(e),alert("\u56de\u590d\u5931\u8d25"),t.setState({loading_status:"done"})}))}}},{key:"toggle_preview",value:function(){this.setState({preview:!this.state.preview})}},{key:"render",value:function(){var e=this;return o.a.createElement("form",{onSubmit:this.on_submit.bind(this),className:"reply-form box"+(this.state.text?" reply-sticky":"")},this.state.preview?o.a.createElement("div",{className:"reply-preview"},o.a.createElement(Ae,{text:this.state.text,color_picker:this.color_picker,show_pid:function(){}})):o.a.createElement(ye,{ref:this.area_ref,id:this.props.pid,on_change:this.on_change_bound,on_submit:this.on_submit.bind(this)}),o.a.createElement("button",{type:"button",onClick:function(){e.toggle_preview()}},this.state.preview?o.a.createElement("span",{className:"icon icon-eye-blocked"}):o.a.createElement("span",{className:"icon icon-eye"})),"loading"===this.state.loading_status?o.a.createElement("button",{disabled:"disabled"},o.a.createElement("span",{className:"icon icon-loading"})):o.a.createElement("button",{type:"submit"},o.a.createElement("span",{className:"icon icon-send"})))}}]),n}(a.Component),ut=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={text:"",loading_status:"done",img_tip:null,preview:!1},a.img_ref=o.a.createRef(),a.area_ref=o.a.createRef(),a.on_change_bound=a.on_change.bind(Object(l.a)(a)),a.on_img_change_bound=a.on_img_change.bind(Object(l.a)(a)),a.color_picker=new _,a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){this.area_ref.current&&this.area_ref.current.focus()}},{key:"on_change",value:function(e){this.setState({text:e})}},{key:"do_post",value:function(e,t){var n=this,a=new URLSearchParams;a.append("text",this.state.text),a.append("type",t?"image":"text"),a.append("user_token",this.props.token),t&&a.append("data",t),fetch(ve+"/api.php?action=dopost"+oe(this.props.token),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a}).then(B).then((function(e){if(0!==e.code)throw e.msg&&alert(e.msg),new Error(JSON.stringify(e));n.setState({loading_status:"done",text:"",preview:!1}),n.area_ref.current.clear(),n.props.on_complete()})).catch((function(e){console.error(e),alert("\u53d1\u8868\u5931\u8d25"),n.setState({loading_status:"done"})}))}},{key:"proc_img",value:function(e){return new Promise((function(t,n){function a(e){var t=e.indexOf(";base64,");if(-1===t)throw new Error("img not base64 encoded");return e.substr(t+8)}var o=new FileReader;o.onload=function(e){rt()(e.target.result,{},(function(e){!function(e){var o=new Image;o.onload=function(){var e=o.width,r=o.height,i=!1;if(e>8e3&&(r=8e3*r/e,e=8e3,i=!0),r>8e3&&(e=8e3*e/r,r=8e3,i=!0),r*e>5e6){var s=Math.sqrt(r*e/5e6);r/=s,e/=s,i=!0}console.log("chosen img size",e,r);var c=document.createElement("canvas"),l=c.getContext("2d");c.width=e,c.height=r,l.drawImage(o,0,0,e,r);for(var u,h,d=.1,p=.9;p-d>=.03;)u=(p+d)/2,h=c.toDataURL("image/jpeg",u),console.log(d,p,"trying quality",u,"size",h.length),h.length<=6e5?d=u:p=u;d>=.101?(console.log("chosen img quality",u),t({img:a(h),quality:u,width:Math.round(e),height:Math.round(r),compressed:i})):n("\u56fe\u7247\u8fc7\u5927\uff0c\u65e0\u6cd5\u4e0a\u4f20")},o.src=e}(e)}))},o.readAsDataURL(e)}))}},{key:"on_img_change",value:function(){var e=this;this.img_ref.current&&this.img_ref.current.files.length?this.setState({img_tip:"\uff08\u6b63\u5728\u5904\u7406\u56fe\u7247\u2026\u2026\uff09"},(function(){e.proc_img(e.img_ref.current.files[0]).then((function(t){e.setState({img_tip:"\uff08".concat(t.compressed?"\u538b\u7f29\u5230":"\u5c3a\u5bf8"," ").concat(t.width,"*").concat(t.height," / ")+"\u8d28\u91cf ".concat(Math.floor(100*t.quality),"% / ").concat(Math.floor(t.img.length/(4/3)/1e3),"KB\uff09")})})).catch((function(t){e.setState({img_tip:"\u56fe\u7247\u65e0\u6548\uff1a".concat(t)})}))})):this.setState({img_tip:null})}},{key:"on_submit",value:function(e){var t=this;e&&e.preventDefault(),"loading"!==this.state.loading_status&&(this.img_ref.current.files.length?(this.setState({loading_status:"processing"}),this.proc_img(this.img_ref.current.files[0]).then((function(e){t.setState({loading_status:"loading"}),t.do_post(t.state.text,e.img)})).catch((function(e){alert(e)}))):(this.setState({loading_status:"loading"}),this.do_post(this.state.text,null)))}},{key:"toggle_preview",value:function(){this.setState({preview:!this.state.preview})}},{key:"render",value:function(){var e=this;return o.a.createElement("form",{onSubmit:this.on_submit.bind(this),className:"post-form box"},o.a.createElement("div",{className:"post-form-bar"},o.a.createElement("label",null,"\u56fe\u7247",o.a.createElement("input",{ref:this.img_ref,type:"file",accept:"image/*",disabled:"done"!==this.state.loading_status,onChange:this.on_img_change_bound})),this.state.preview?o.a.createElement("button",{type:"button",onClick:function(){e.toggle_preview()}},o.a.createElement("span",{className:"icon icon-eye-blocked"}),"\xa0\u7f16\u8f91"):o.a.createElement("button",{type:"button",onClick:function(){e.toggle_preview()}},o.a.createElement("span",{className:"icon icon-eye"}),"\xa0\u9884\u89c8"),"done"!==this.state.loading_status?o.a.createElement("button",{disabled:"disabled"},o.a.createElement("span",{className:"icon icon-loading"}),"\xa0","processing"===this.state.loading_status?"\u5904\u7406":"\u4e0a\u4f20"):o.a.createElement("button",{type:"submit"},o.a.createElement("span",{className:"icon icon-send"}),"\xa0\u53d1\u8868")),!!this.state.img_tip&&o.a.createElement("p",{className:"post-form-img-tip"},o.a.createElement("a",{onClick:function(){e.img_ref.current.value="",e.on_img_change()}},"\u5220\u9664\u56fe\u7247"),this.state.img_tip),this.state.preview?o.a.createElement("div",{className:"post-preview"},o.a.createElement(Ae,{text:this.state.text,color_picker:this.color_picker,show_pid:function(){}})):o.a.createElement(ye,{ref:this.area_ref,id:"new_post",on_change:this.on_change_bound,on_submit:this.on_submit.bind(this)}),o.a.createElement("p",null,o.a.createElement("small",null,"\u8bf7\u9075\u5b88",o.a.createElement("a",{href:"https://thuhole.com/policy.html",target:"_blank"},"\u6811\u6d1e\u7ba1\u7406\u89c4\u8303\uff08\u8bd5\u884c\uff09"),"\uff0c\u6587\u660e\u53d1\u8a00")))}}]),n}(a.Component),ht="https://img.thuhole.com/",dt={a:!0,audio:!0},pt=[],mt=["\u6027\u76f8\u5173","\u653f\u6cbb\u76f8\u5173","\u6027\u8bdd\u9898","\u653f\u6cbb\u8bdd\u9898","\u6298\u53e0","NSFW","\u5237\u5c4f","\u771f\u5b9e\u6027\u53ef\u7591","\u7528\u6237\u4e3e\u62a5\u8f83\u591a","\u4e3e\u62a5\u8f83\u591a","\u91cd\u590d\u5185\u5bb9"];window.LATEST_POST_ID=parseInt(localStorage._LATEST_POST_ID,10)||0;function ft(e,t){return function(){var n=Object(b.a)(g.a.mark((function n(a){var r,i,s,c,l,u,h=arguments;return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=h.length>1&&void 0!==h[1]&&h[1],i=new _,e(s="\u6811\u6d1e #"+a,o.a.createElement("div",{className:"box box-tip"},"\u6b63\u5728\u52a0\u8f7d #",a),r?"replace":"push"),n.prev=4,n.next=7,se.get_single(a,t);case 7:return(c=n.sent).data.variant={},n.next=11,se.load_replies_with_cache(a,t,i,parseInt(c.data.reply));case 11:l=n.sent,u=l.data,e(s,o.a.createElement(vt,{key:+new Date,info:c.data,replies:u.data,attention:u.attention,token:t,show_sidebar:e,color_picker:i,deletion_detect:"on"===localStorage.DELETION_DETECT}),"replace"),n.next=20;break;case 16:n.prev=16,n.t0=n.catch(4),console.error(n.t0),e(s,o.a.createElement("div",{className:"box box-tip"},o.a.createElement("p",null,o.a.createElement("a",{onClick:function(){return ft(e,t)(a,!0)}},"\u91cd\u65b0\u52a0\u8f7d")),o.a.createElement("p",null,""+n.t0)),"replace");case 20:case"end":return n.stop()}}),n,null,[[4,16]])})));return function(e){return n.apply(this,arguments)}}()}var gt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){return Object(s.a)(this,n),t.call(this,e)}return Object(c.a)(n,[{key:"render",value:function(){var e=this,t=this.props.info.text,n=t.indexOf("]"),a=t.substr(0,n+1),r=t.substr(n+2);return o.a.createElement("div",{className:"flow-reply box",style:this.props.info._display_color?{"--box-bgcolor-light":this.props.info._display_color[0],"--box-bgcolor-dark":this.props.info._display_color[1]}:null},o.a.createElement("div",{className:"box-header"},o.a.createElement("code",{className:"box-id"},"#",this.props.info.cid),!!this.props.do_filter_name&&o.a.createElement("span",{className:"reply-header-badge clickable",onClick:function(){e.props.do_filter_name(e.props.info.name)}},o.a.createElement("span",{className:"icon icon-locate"})),"\xa0",null!==this.props.info.tag&&o.a.createElement("span",{className:"box-header-tag"},this.props.info.tag),o.a.createElement(J,{stamp:this.props.info.timestamp,short:!1})),o.a.createElement("div",{className:"box-content"},o.a.createElement(Ae,{author:a,text:r,color_picker:this.props.color_picker,show_pid:this.props.show_pid})))}}]),n}(a.PureComponent),bt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){return Object(s.a)(this,n),t.call(this,e)}return Object(c.a)(n,[{key:"copy_link",value:function(e){e.preventDefault(),E()("".concat(e.target.href).concat(this.props.info.tag?" \u3010"+this.props.info.tag+"\u3011":"","\n")+"".concat(this.props.info.text).concat("image"===this.props.info.type?" [\u56fe\u7247]":"audio"===this.props.info.type?" [\u8bed\u97f3]":"","\n")+"\uff08".concat(q(new Date(1e3*this.props.info.timestamp))," ").concat(this.props.info.likenum,"\u5173\u6ce8 ").concat(this.props.info.reply,"\u56de\u590d\uff09\n")+this.props.replies.map((function(e){return(e.tag?"\u3010"+e.tag+"\u3011":"")+e.text})).join("\n"))}},{key:"render",value:function(){var e=this,t=this.props;return o.a.createElement("div",{className:"flow-item"+(t.is_quote?" flow-item-quote":"")},!!t.is_quote&&o.a.createElement("div",{className:"quote-tip black-outline"},o.a.createElement("div",null,o.a.createElement("span",{className:"icon icon-quote"}))),o.a.createElement("div",{className:"box"},!!window.LATEST_POST_ID&&parseInt(t.info.pid,10)>window.LATEST_POST_ID&&o.a.createElement("div",{className:"flow-item-dot"}),!!this.props.attention&&!this.props.cached&&o.a.createElement("div",{className:"flow-item-dot"}),o.a.createElement("div",{className:"box-header"},!!this.props.do_filter_name&&o.a.createElement("span",{className:"reply-header-badge clickable",onClick:function(){e.props.do_filter_name("\u6d1e\u4e3b")}},o.a.createElement("span",{className:"icon icon-locate"})),!!parseInt(t.info.likenum,10)&&o.a.createElement("span",{className:"box-header-badge"},t.info.likenum,"\xa0",o.a.createElement("span",{className:"icon icon-"+(t.attention?"star-ok":"star")})),!!parseInt(t.info.reply,10)&&o.a.createElement("span",{className:"box-header-badge"},t.info.reply,"\xa0",o.a.createElement("span",{className:"icon icon-reply"})),o.a.createElement("code",{className:"box-id"},o.a.createElement("a",{href:"##"+t.info.pid,onClick:this.copy_link.bind(this)},"#",t.info.pid)),"\xa0",null!==t.info.tag&&"\u6298\u53e0"!==t.info.tag&&o.a.createElement("span",{className:"box-header-tag"},t.info.tag),o.a.createElement(J,{stamp:t.info.timestamp,short:!t.img_clickable})),o.a.createElement("div",{className:"box-content"},o.a.createElement(Ae,{text:t.info.text,color_picker:t.color_picker,show_pid:t.show_pid}),"image"===t.info.type&&o.a.createElement("p",{className:"img"},t.img_clickable?o.a.createElement("a",{className:"no-underline",href:ht+t.info.url,target:"_blank"},o.a.createElement("img",{src:ht+t.info.url,onError:function(e){e.target.src===ht+t.info.url&&(e.target.src="https://img2.thuhole.com/"+t.info.url)},alt:ht+t.info.url})):o.a.createElement("img",{src:ht+t.info.url,onError:function(e){e.target.src===ht+t.info.url&&(e.target.src="https://img2.thuhole.com/"+t.info.url)},alt:ht+t.info.url}))),!(!t.attention||!t.info.variant.latest_reply)&&o.a.createElement("p",{className:"box-footer"},"\u6700\u65b0\u56de\u590d"," ",o.a.createElement(J,{stamp:t.info.variant.latest_reply,short:!1}))))}}]),n}(a.PureComponent),vt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={attention:e.attention,info:e.info,replies:e.replies,loading_status:"done",error_msg:null,filter_name:null,rev:!1},a.color_picker=e.color_picker,a.syncState=e.sync_state||function(){},a.reply_ref=o.a.createRef(),a}return Object(c.a)(n,[{key:"set_variant",value:function(e,t){this.setState((function(n){return e?{replies:n.replies.map((function(n){return n.cid===e?Object.assign({},n,{variant:Object.assign({},n.variant,t)}):n}))}:{info:Object.assign({},n.info,{variant:Object.assign({},n.info.variant,t)})}}),(function(){this.syncState({info:this.state.info,replies:this.state.replies})}))}},{key:"load_replies",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState({loading_status:"loading",error_msg:null}),se.load_replies(this.state.info.pid,this.props.token,this.color_picker,null).then((function(n){e.setState((function(e,a){return{replies:n.data,info:t?Object.assign({},e.info,{reply:""+n.data.length}):e.info,attention:!!n.attention,loading_status:"done",error_msg:null}}),(function(){e.syncState({replies:e.state.replies,attention:e.state.attention,info:e.state.info}),e.state.replies.length&&e.set_variant(null,{latest_reply:Math.max.apply(null,e.state.replies.map((function(e){return parseInt(e.timestamp)})))})}))})).catch((function(t){console.error(t),e.setState({replies:[],loading_status:"done",error_msg:""+t})}))}},{key:"toggle_attention",value:function(){var e=this;this.setState({loading_status:"loading"});var t=!this.state.attention;se.set_attention(this.state.info.pid,t,this.props.token).then((function(n){e.setState({loading_status:"done",attention:t}),e.syncState({attention:t})})).catch((function(t){e.setState({loading_status:"done"}),alert("\u8bbe\u7f6e\u5173\u6ce8\u5931\u8d25"),console.error(t)}))}},{key:"report",value:function(){var e=prompt("\u4e3e\u62a5 #".concat(this.state.info.pid," \u7684\u7406\u7531\uff1a"));null!==e&&se.report(this.state.info.pid,e,this.props.token).then((function(e){alert("\u4e3e\u62a5\u6210\u529f")})).catch((function(e){alert("\u4e3e\u62a5\u5931\u8d25"),console.error(e)}))}},{key:"set_filter_name",value:function(e){this.setState((function(t){return{filter_name:e===t.filter_name?null:e}}))}},{key:"toggle_rev",value:function(){this.setState((function(e){return{rev:!e.rev}}),Ge)}},{key:"show_reply_bar",value:function(e,t){if(this.reply_ref.current&&!t.target.closest("a, .clickable")){var n=this.reply_ref.current.get();if(/^\s*(?:Re (?:|\u6d1e\u4e3b|(?:[A-Z][a-z]+ )?(?:[A-Z][a-z]+)|You Win(?: \d+)?):)?\s*$/.test(n)){var a="Re "+e+": ";a===this.reply_ref.current.get()?this.reply_ref.current.set(""):this.reply_ref.current.set(a)}}}},{key:"render",value:function(){var e=this;if("loading"===this.state.loading_status)return o.a.createElement("p",{className:"box box-tip"},"\u52a0\u8f7d\u4e2d\u2026\u2026");var t=ft(this.props.show_sidebar,this.props.token),n=this.state.filter_name?this.state.replies.filter((function(t){return t.name===e.state.filter_name})):this.state.replies.slice();this.state.rev&&n.reverse();var a=Object(m.a)({},"\u6d1e\u4e3b",1);n.forEach((function(e){void 0===a[e.name]&&(a[e.name]=0),a[e.name]++}));var r=this.state.filter_name&&"\u6d1e\u4e3b"!==this.state.filter_name?null:o.a.createElement(Ne,{callback:function(t){e.show_reply_bar("",t)}},o.a.createElement(bt,{info:this.state.info,attention:this.state.attention,img_clickable:!0,color_picker:this.color_picker,show_pid:t,replies:this.state.replies,set_variant:function(t){e.set_variant(null,t)},do_filter_name:a["\u6d1e\u4e3b"]>1?this.set_filter_name.bind(this):null}));return o.a.createElement("div",{className:"flow-item-row sidebar-flow-item"},o.a.createElement("div",{className:"box box-tip"},!!this.props.token&&o.a.createElement("span",null,o.a.createElement("a",{onClick:this.report.bind(this)},o.a.createElement("span",{className:"icon icon-flag"}),o.a.createElement("label",null,"\u4e3e\u62a5")),"\xa0\xa0"),o.a.createElement("a",{onClick:this.load_replies.bind(this)},o.a.createElement("span",{className:"icon icon-refresh"}),o.a.createElement("label",null,"\u5237\u65b0")),(this.state.replies.length>=1||this.state.rev)&&o.a.createElement("span",null,"\xa0\xa0",o.a.createElement("a",{onClick:this.toggle_rev.bind(this)},o.a.createElement("span",{className:"icon icon-order-rev"}),o.a.createElement("label",null,this.state.rev?"\u8fd8\u539f":"\u9006\u5e8f"))),!!this.props.token&&o.a.createElement("span",null,"\xa0\xa0",o.a.createElement("a",{onClick:function(){e.toggle_attention()}},this.state.attention?o.a.createElement("span",null,o.a.createElement("span",{className:"icon icon-star-ok"}),o.a.createElement("label",null,"\u5df2\u5173\u6ce8")):o.a.createElement("span",null,o.a.createElement("span",{className:"icon icon-star"}),o.a.createElement("label",null,"\u672a\u5173\u6ce8"))))),!!this.state.filter_name&&o.a.createElement("div",{className:"box box-tip flow-item filter-name-bar"},o.a.createElement("p",null,o.a.createElement("span",{style:{float:"left"}},o.a.createElement("a",{onClick:function(){e.set_filter_name(null)}},"\u8fd8\u539f")),o.a.createElement("span",{className:"icon icon-locate"}),"\xa0\u5f53\u524d\u53ea\u770b\xa0",o.a.createElement(we,{colors:this.color_picker.get(this.state.filter_name)},this.state.filter_name))),!this.state.rev&&r,!!this.state.error_msg&&o.a.createElement("div",{className:"box box-tip flow-item"},o.a.createElement("p",null,"\u56de\u590d\u52a0\u8f7d\u5931\u8d25"),o.a.createElement("p",null,this.state.error_msg)),this.props.deletion_detect&&parseInt(this.state.info.reply)>this.state.replies.length&&!!this.state.replies.length&&o.a.createElement("div",{className:"box box-tip flow-item box-danger"},parseInt(this.state.info.reply)-this.state.replies.length," ","\u6761\u56de\u590d\u88ab\u5220\u9664"),n.map((function(n,r){return o.a.createElement(Ve,{key:r,offset:1500,height:"5em",overflow:!0,once:!0},o.a.createElement(Ne,{callback:function(t){e.show_reply_bar(n.name,t)}},o.a.createElement(gt,{info:n,color_picker:e.color_picker,show_pid:t,set_variant:function(t){e.set_variant(n.cid,t)},do_filter_name:a[n.name]>1?e.set_filter_name.bind(e):null})))})),this.state.rev&&r,this.props.token?o.a.createElement(lt,{pid:this.state.info.pid,token:this.props.token,area_ref:this.reply_ref,on_complete:this.load_replies.bind(this)}):o.a.createElement("div",{className:"box box-tip flow-item"},"\u767b\u5f55\u540e\u53ef\u4ee5\u56de\u590d\u6811\u6d1e"))}}]),n}(a.PureComponent),Et=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).needFold=mt.indexOf(e.info.tag)>-1&&("\u70ed\u699c"===e.search_param||!e.search_param)&&window.config.fold&&"attention"!==e.mode&&"attention_finished"!==e.mode,a.state={replies:[],reply_status:"done",reply_error:null,info:Object.assign({},e.info,{variant:{}}),hidden:window.config.block_words.some((function(t){return e.info.text.includes(t)}))||a.needFold,attention:null!==e.attention_override&&e.attention_override,cached:!0},a.color_picker=new _,a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){parseInt(this.state.info.reply,10)&&this.load_replies(null,!1)}},{key:"load_replies",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];console.log("fetching reply",this.state.info.pid),this.setState({reply_status:"loading",reply_error:null}),se.load_replies_with_cache(this.state.info.pid,this.props.token,this.color_picker,parseInt(this.state.info.reply)).then((function(a){var o=a.data,r=a.cached;t.setState((function(e,t){return{replies:o.data,info:Object.assign({},e.info,{reply:n?""+o.data.length:e.info.reply,variant:o.data.length?{latest_reply:Math.max.apply(null,o.data.map((function(e){return parseInt(e.timestamp)})))}:{}}),attention:!!o.attention,reply_status:"done",reply_error:null,cached:r}}),e)})).catch((function(n){console.error(n),t.setState({replies:[],reply_status:"failed",reply_error:""+n},e)}))}},{key:"show_sidebar",value:function(){this.props.show_sidebar("\u6811\u6d1e #"+this.state.info.pid,o.a.createElement(vt,{key:+new Date,info:this.state.info,replies:this.state.replies,attention:this.state.attention,sync_state:this.setState.bind(this),token:this.props.token,show_sidebar:this.props.show_sidebar,color_picker:this.color_picker,deletion_detect:this.props.deletion_detect}))}},{key:"render",value:function(){var e=this,t=ft(this.props.show_sidebar,this.props.token,this.state.info.pid),n=[["url_pid",k],["url",y],["pid",w],["nickname",A]];this.props.search_param&&n.push(["search",this.props.search_param.match(/\/.+\//)?_e(this.props.search_param," ","gi",!0):_e(this.props.search_param," ","gi")]);var a=O(this.state.info.text,n),r=null;if(!this.props.is_quote){var i,s=Object(p.a)(a);try{for(s.s();!(i=s.n()).done;){var c=Object(d.a)(i.value,2),l=c[0],u=c[1];if(u=u.length>0?u.substring(1):u,"pid"===l&&-1===pt.indexOf(u)&&parseInt(u)<parseInt(this.state.info.pid)){if(null!==r){r=null;break}r=parseInt(u)}}}catch(m){s.e(m)}finally{s.f()}}var h=o.a.createElement("div",{className:"flow-item-row flow-item-row-with-prompt"+(this.props.is_quote?" flow-item-row-quote":""),onClick:function(t){dt[t.target.tagName.toLowerCase()]||e.show_sidebar()}},o.a.createElement(bt,{parts:a,info:this.state.info,attention:this.state.attention,img_clickable:!1,is_quote:this.props.is_quote,color_picker:this.color_picker,show_pid:t,replies:this.state.replies,cached:this.state.cached}),o.a.createElement("div",{className:"flow-reply-row"},"loading"===this.state.reply_status&&o.a.createElement("div",{className:"box box-tip"},"\u52a0\u8f7d\u4e2d"),"failed"===this.state.reply_status&&o.a.createElement("div",{className:"box box-tip"},o.a.createElement("p",null,o.a.createElement("a",{onClick:function(){e.load_replies()}},"\u91cd\u65b0\u52a0\u8f7d\u8bc4\u8bba")),o.a.createElement("p",null,this.state.reply_error)),this.state.replies.slice(0,10).map((function(n){return o.a.createElement(gt,{key:n.cid,info:n,color_picker:e.color_picker,show_pid:t})})),this.state.replies.length>10&&o.a.createElement("div",{className:"box box-tip"},"\u8fd8\u6709 ",this.state.replies.length-10," \u6761")));return this.state.hidden?o.a.createElement("div",{className:"flow-item-row flow-item-row-with-prompt",onClick:function(t){dt[t.target.tagName.toLowerCase()]||e.show_sidebar()}},o.a.createElement("div",{className:"flow-item"+(this.props.is_quote?" flow-item-quote":"")},!!this.props.is_quote&&o.a.createElement("div",{className:"quote-tip black-outline"},o.a.createElement("div",null,o.a.createElement("span",{className:"icon icon-quote"}))),o.a.createElement("div",{className:"box"},o.a.createElement("div",{className:"box-header"},!!this.props.do_filter_name&&o.a.createElement("span",{className:"reply-header-badge clickable",onClick:function(){e.props.do_filter_name("\u6d1e\u4e3b")}},o.a.createElement("span",{className:"icon icon-locate"})),o.a.createElement("code",{className:"box-id"},"#",this.props.info.pid),"\xa0",null!==this.props.info.tag&&"\u6298\u53e0"!==this.props.info.tag&&o.a.createElement("span",{className:"box-header-tag"},this.props.info.tag),o.a.createElement(J,{stamp:this.props.info.timestamp,short:!0}),o.a.createElement("span",{className:"box-header-badge"},this.needFold?"\u5df2\u9690\u85cf":"\u5df2\u5c4f\u853d"),o.a.createElement("div",{style:{clear:"both"}}))))):r?o.a.createElement("div",null,h,o.a.createElement(_t,{pid:r,show_sidebar:this.props.show_sidebar,token:this.props.token,deletion_detect:this.props.deletion_detect})):h}}]),n}(a.PureComponent),_t=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={loading_status:"empty",error_msg:null,info:null},a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){this.load()}},{key:"load",value:function(){var e=this;this.setState({loading_status:"loading"},(function(){se.get_single(e.props.pid,e.props.token).then((function(t){e.setState({loading_status:"done",info:t.data})})).catch((function(t){-1!==(""+t).indexOf("\u6ca1\u6709\u8fd9\u6761\u6811\u6d1e")?e.setState({loading_status:"empty"}):e.setState({loading_status:"error",error_msg:""+t})}))}))}},{key:"render",value:function(){return"empty"===this.state.loading_status?null:"loading"===this.state.loading_status?o.a.createElement("div",{className:"aux-margin"},o.a.createElement("div",{className:"box box-tip"},o.a.createElement("span",{className:"icon icon-loading"}),"\u63d0\u5230\u4e86 #",this.props.pid)):"error"===this.state.loading_status?o.a.createElement("div",{className:"aux-margin"},o.a.createElement("div",{className:"box box-tip"},o.a.createElement("p",null,o.a.createElement("a",{onClick:this.load.bind(this)},"\u91cd\u65b0\u52a0\u8f7d")),o.a.createElement("p",null,this.state.error_msg))):o.a.createElement(Et,{info:this.state.info,mode:this.props.mode,show_sidebar:this.props.show_sidebar,token:this.props.token,is_quote:!0,deletion_detect:this.props.deletion_detect})}}]),n}(a.PureComponent);function wt(e){return o.a.createElement(it.Consumer,null,(function(t){var n=t.value;return o.a.createElement("div",{className:"flow-chunk"},!!e.title&&o.a.createElement($,{text:e.title}),e.list.map((function(t,a){return o.a.createElement(Ve,{key:t.pid,offset:500,height:"15em",hiddenIfInvisible:!1},o.a.createElement("div",null,!!(e.deletion_detect&&"list"===e.mode&&a&&e.list[a-1].pid-t.pid>1)&&o.a.createElement("div",{className:"flow-item-row"},o.a.createElement("div",{className:"box box-tip flow-item box-danger"},e.list[a-1].pid-t.pid-1," \u6761\u88ab\u5220\u9664")),o.a.createElement(Et,{info:t,mode:e.mode,show_sidebar:e.show_sidebar,token:n,attention_override:"attention_finished"===e.mode||null,deletion_detect:e.deletion_detect,search_param:e.search_param})))})))}))}var kt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={mode:e.mode,search_param:e.search_text,loaded_pages:0,chunks:{title:"",data:[]},loading_status:"done",error_msg:null},a.on_scroll_bound=a.on_scroll.bind(Object(l.a)(a)),window.LATEST_POST_ID=parseInt(localStorage._LATEST_POST_ID,10)||0,a}return Object(c.a)(n,[{key:"load_page",value:function(e){var t=this,n=function(e){console.error(e),t.setState((function(t,n){return{loaded_pages:t.loaded_pages-1,loading_status:"failed",error_msg:""+e}}))};if(e>this.state.loaded_pages+1)throw new Error("bad page");if(e===this.state.loaded_pages+1){if(console.log("fetching page",e),"list"===this.state.mode)se.get_list(e,this.props.token).then((function(n){if(1===e&&n.data.length){var a=-1;n.data.forEach((function(e){parseInt(e.pid,10)>a&&(a=parseInt(e.pid,10))})),localStorage._LATEST_POST_ID=""+a}t.setState((function(e,t){return{chunks:{title:"News Feed",data:e.chunks.data.concat(n.data.filter((function(t){return 0===e.chunks.data.length||!e.chunks.data.slice(-100).some((function(e){return e.pid===t.pid}))})))},loading_status:"done"}}))})).catch(n);else if("search"===this.state.mode)se.get_search(e,this.state.search_param,this.props.token).then((function(e){var n=0===e.data.length;t.setState((function(a,o){return{chunks:{title:'Result for "'+t.state.search_param+'"',data:a.chunks.data.concat(e.data.filter((function(e){return 0===a.chunks.data.length||!a.chunks.data.slice(-100).some((function(t){return t.pid===e.pid}))})))},mode:n?"search_finished":"search",loading_status:"done"}}))})).catch(n);else if("single"===this.state.mode){var a=parseInt(this.state.search_param.substr(1),10);se.get_single(a,this.props.token).then((function(e){t.setState({chunks:{title:"PID = "+a,data:[e.data]},mode:"single_finished",loading_status:"done"})})).catch(n)}else{if("attention"!==this.state.mode)return void console.log("nothing to load");var o=!!this.state.search_param,r=o&&!!this.state.search_param.match(/\/.+\//),i=/.+/;if(r)try{i=new RegExp(this.state.search_param.slice(1,-1))}catch(Rt){alert("\u8bf7\u68c0\u67e5\u6b63\u5219\u8868\u8fbe\u5f0f\u5408\u6cd5\u6027\uff01\n".concat(Rt)),i=/.+/}console.log(o,r),se.get_attention(this.props.token).then((function(e){t.setState({chunks:{title:"".concat(o?r?"Result for RegEx ".concat(i.toString()," in "):'Result for "'.concat(t.state.search_param,'" in '):"","Attention List"),data:o?r?e.data.filter((function(e){return!!e.text.match(i)})):e.data.filter((function(e){return t.state.search_param.split(" ").every((function(t){return e.text.includes(t)}))})):e.data},mode:"attention_finished",loading_status:"done"})})).catch(n)}this.setState((function(e,t){return{loaded_pages:e.loaded_pages+1,loading_status:"loading",error_msg:null}}))}}},{key:"on_scroll",value:function(e){e.target===document&&(document.body.scrollHeight-window.scrollY-window.innerHeight<window.innerHeight&&"done"===this.state.loading_status&&this.load_page(this.state.loaded_pages+1))}},{key:"componentDidMount",value:function(){this.load_page(1),window.addEventListener("scroll",this.on_scroll_bound),window.addEventListener("resize",this.on_scroll_bound)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.on_scroll_bound),window.removeEventListener("resize",this.on_scroll_bound)}},{key:"render",value:function(){var e=this,t="on"===localStorage.DELETION_DETECT;return o.a.createElement("div",{className:"flow-container"},o.a.createElement(wt,{title:this.state.chunks.title,list:this.state.chunks.data,mode:this.state.mode,search_param:this.state.search_param||null,show_sidebar:this.props.show_sidebar,deletion_detect:t}),"failed"===this.state.loading_status&&o.a.createElement("div",{className:"aux-margin"},o.a.createElement("div",{className:"box box-tip"},o.a.createElement("p",null,o.a.createElement("a",{onClick:function(){e.load_page(e.state.loaded_pages+1)}},"\u91cd\u65b0\u52a0\u8f7d")),o.a.createElement("p",null,this.state.error_msg))),o.a.createElement($,{text:"loading"===this.state.loading_status?o.a.createElement("span",null,o.a.createElement("span",{className:"icon icon-loading"}),"\xa0Loading..."):"\xa9 thuhole"}))}}]),n}(a.PureComponent),At=(n(447),/^\/\/setflag ([a-zA-Z0-9_]+)=(.*)$/),yt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={search_text:""},a.set_mode=e.set_mode,a.on_change_bound=a.on_change.bind(Object(l.a)(a)),a.on_keypress_bound=a.on_keypress.bind(Object(l.a)(a)),a.do_refresh_bound=a.do_refresh.bind(Object(l.a)(a)),a.do_attention_bound=a.do_attention.bind(Object(l.a)(a)),a}return Object(c.a)(n,[{key:"componentDidMount",value:function(){var e=this;if(window.location.hash){var t=decodeURIComponent(window.location.hash).substr(1);-1!==t.lastIndexOf("?")&&(t=t.substr(0,t.lastIndexOf("?"))),this.setState({search_text:t},(function(){e.on_keypress({key:"Enter"})}))}}},{key:"on_change",value:function(e){this.setState({search_text:e.target.value})}},{key:"on_keypress",value:function(e){if("Enter"===e.key){var t=At.exec(this.state.search_text);if(t)return void(t[2]?(localStorage[t[1]]=t[2],alert("Set Flag "+t[1]+"="+t[2]+"\nYou may need to refresh this webpage.")):(delete localStorage[t[1]],alert("Clear Flag "+t[1]+"\nYou may need to refresh this webpage.")));var n=this.state.search_text.startsWith("#")?"single":"attention"!==this.props.mode?"search":"attention";this.set_mode(n,this.state.search_text||"")}}},{key:"do_refresh",value:function(){window.scrollTo(0,0),this.setState({search_text:""}),this.set_mode("list",null)}},{key:"do_attention",value:function(){window.scrollTo(0,0),this.setState({search_text:""}),this.set_mode("attention",null)}},{key:"render",value:function(){var e=this;return o.a.createElement(it.Consumer,null,(function(t){var n=t.value;return o.a.createElement("div",{className:"control-bar"},o.a.createElement("a",{className:"no-underline control-btn",onClick:e.do_refresh_bound},o.a.createElement("span",{className:"icon icon-refresh"}),o.a.createElement("span",{className:"control-btn-label"},"\u6700\u65b0")),!!n&&o.a.createElement("a",{className:"no-underline control-btn",onClick:e.do_attention_bound},o.a.createElement("span",{className:"icon icon-attention"}),o.a.createElement("span",{className:"control-btn-label"},"\u5173\u6ce8")),o.a.createElement("input",{className:"control-search",value:e.state.search_text,placeholder:"".concat("attention"===e.props.mode?"\u5728\u5173\u6ce8\u5217\u8868\u4e2d":"","\u641c\u7d22 \u6216 #\u6811\u6d1e\u53f7"),onChange:e.on_change_bound,onKeyPress:e.on_keypress_bound}),o.a.createElement("a",{className:"no-underline control-btn",onClick:function(){e.props.show_sidebar("T\u5927\u6811\u6d1e",o.a.createElement(st,{show_sidebar:e.props.show_sidebar}))}},o.a.createElement("span",{className:"icon icon-"+(n?"about":"login")}),o.a.createElement("span",{className:"control-btn-label"},n?"\u8d26\u6237":"\u767b\u5f55")),!!n&&o.a.createElement("a",{className:"no-underline control-btn",onClick:function(){e.props.show_sidebar("\u53d1\u8868\u6811\u6d1e",o.a.createElement(ut,{token:n,on_complete:function(){e.props.show_sidebar(null,null,"clear"),e.do_refresh()}}))}},o.a.createElement("span",{className:"icon icon-plus"}),o.a.createElement("span",{className:"control-btn-label"},"\u53d1\u8868")))}))}}]),n}(a.PureComponent);function Ot(e){return o.a.createElement("div",{className:"title-bar"},o.a.createElement("div",{className:"aux-margin"},o.a.createElement("div",{className:"title"},o.a.createElement("p",{className:"centered-line"},o.a.createElement("span",{onClick:function(){return e.show_sidebar("T\u5927\u6811\u6d1e",o.a.createElement(st,{show_sidebar:e.show_sidebar}))}},"T\u5927\u6811\u6d1e"))),o.a.createElement(yt,{show_sidebar:e.show_sidebar,set_mode:e.set_mode,mode:e.mode})))}n(448);var xt=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).do_close_bound=a.do_close.bind(Object(l.a)(a)),a.do_back_bound=a.do_back.bind(Object(l.a)(a)),a}return Object(c.a)(n,[{key:"do_close",value:function(){this.props.show_sidebar(null,null,"clear")}},{key:"do_back",value:function(){this.props.show_sidebar(null,null,"pop")}},{key:"render",value:function(){var e=this,t=this.props.stack.map((function(t,n){var a=t[1];return a&&o.a.createElement("div",{key:n,className:"sidebar-content "+(n===e.props.stack.length-1?"sidebar-content-show":"sidebar-content-hide")},a)})),n=this.props.stack[this.props.stack.length-1][0];return o.a.createElement("div",{className:"sidebar-container "+(null!==n?"sidebar-on":"sidebar-off")},o.a.createElement("div",{className:"sidebar-shadow",onClick:this.do_back_bound,onTouchEnd:function(e){e.preventDefault(),e.target.click()}}),o.a.createElement("div",{className:"sidebar"},t),o.a.createElement("div",{className:"sidebar-title"},o.a.createElement("a",{className:"no-underline",onClick:this.do_close_bound},"\xa0",o.a.createElement("span",{className:"icon icon-close"}),"\xa0"),this.props.stack.length>2&&o.a.createElement("a",{className:"no-underline",onClick:this.do_back_bound},"\xa0",o.a.createElement("span",{className:"icon icon-back"}),"\xa0"),n))}}]),n}(a.PureComponent),Nt=n(85),Ct=n.n(Nt),jt=(n(449),function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),(a=t.call(this,e)).state={level:0,fired:!1},a.callback=e.callback,a.esc_interval=null,a}return Object(c.a)(n,[{key:"do_fire",value:function(){var e=this;this.esc_interval&&(clearInterval(this.esc_interval),this.esc_interval=null),this.setState({level:1,fired:!0}),this.callback(),window.setTimeout((function(){e.setState({level:0,fired:!1})}),300)}},{key:"componentDidMount",value:function(){var e=this;window.config.pressure&&(Ct.a.set(document.body,{change:function(t){e.state.fired||(t>=.999?e.do_fire():e.setState({level:t}))},end:function(){e.setState({level:0,fired:!1})}},{polyfill:!1,only:"touch",preventSelect:!1}),document.addEventListener("keydown",(function(t){t.repeat||"Escape"!==t.key||(e.esc_interval&&clearInterval(e.esc_interval),e.setState({level:.2},(function(){e.esc_interval=setInterval((function(){var t=e.state.level+.1;t>=.999?e.do_fire():e.setState({level:t})}),30)})))})),document.addEventListener("keyup",(function(t){"Escape"===t.key&&(e.esc_interval&&(clearInterval(e.esc_interval),e.esc_interval=null),e.setState({level:0}))})))}},{key:"render",value:function(){var e=25*(this.state.level-.4)-500;return o.a.createElement("div",{className:"pressure-box"+(this.state.fired?" pressure-box-fired":"")+(this.state.level<=1e-4?" pressure-box-empty":""),style:{left:e,right:e,top:e,bottom:e}})}}]),n}(a.Component));function St(e){return o.a.createElement("div",{id:"global-hint-container",style:{display:"none"}})}var It=function(e){Object(u.a)(n,e);var t=Object(h.a)(n);function n(e){var a;return Object(s.a)(this,n),a=t.call(this,e),qe(),function(e){function t(){(void 0===e?window.matchMedia("(prefers-color-scheme: dark)").matches:e)?document.body.classList.add("root-dark-mode"):document.body.classList.remove("root-dark-mode")}t(),window.matchMedia("(prefers-color-scheme: dark)").addListener((function(){t()}))}({default:void 0,light:!1,dark:!0}[window.config.color_scheme]),a.state={sidebar_stack:[[null,null]],mode:"list",search_text:null,flow_render_key:+new Date,token:localStorage.TOKEN||null},a.show_sidebar_bound=a.show_sidebar.bind(Object(l.a)(a)),a.set_mode_bound=a.set_mode.bind(Object(l.a)(a)),a.on_pressure_bound=a.on_pressure.bind(Object(l.a)(a)),a.inthu_flag=-1!==window[atob("ZG9jdW1lbnQ")][atob("Y29va2ll")].indexOf(atob("dGh1X2lwX2ZsYWc9eWVz")),a}return Object(c.a)(n,[{key:"on_pressure",value:function(){this.state.sidebar_stack.length>1?this.show_sidebar(null,null,"clear"):this.set_mode("list",null)}},{key:"show_sidebar",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"push";this.setState((function(a){var o=a.sidebar_stack.slice();if("push"===n)1===o.length&&(document.body.style.top="-".concat(window.scrollY,"px"),document.body.style.position="fixed",document.body.style.width="100vw"),o.length>10&&o.splice(1,1),o=o.concat([[e,t]]);else if("pop"===n){if(1===o.length)return;if(2===o.length){var r=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,-1*parseInt(r||"0"))}o.pop()}else if("replace"===n)o.pop(),o=o.concat([[e,t]]);else{if("clear"!==n)throw new Error("bad show_sidebar mode");var i=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,-1*parseInt(i||"0")),o=[[null,null]]}return{sidebar_stack:o}}))}},{key:"set_mode",value:function(e,t){this.setState({mode:e,search_text:t,flow_render_key:+new Date})}},{key:"render",value:function(){var e=this;return o.a.createElement(it.Provider,{value:{value:this.state.token,set_value:function(t){localStorage.TOKEN=t||"",e.setState({token:t})}}},o.a.createElement(jt,{callback:this.on_pressure_bound}),o.a.createElement("div",{className:"bg-img",style:Je()}),o.a.createElement(Ot,{show_sidebar:this.show_sidebar_bound,set_mode:this.set_mode_bound,mode:this.state.mode}),o.a.createElement(it.Consumer,null,(function(t){return o.a.createElement("div",{className:"left-container"},o.a.createElement(St,{token:t.value}),!t.value&&o.a.createElement("div",{className:"flow-item-row aux-margin"},o.a.createElement("div",{className:"box box-tip"},o.a.createElement("p",null,o.a.createElement(te,{token_callback:t.set_value},(function(e){return o.a.createElement("a",{onClick:e},o.a.createElement("span",{className:"icon icon-login"}),"\xa0\u767b\u5f55\u5230 T\u5927\u6811\u6d1e")}))))),e.inthu_flag||t.value?o.a.createElement(kt,{key:e.state.flow_render_key,show_sidebar:e.show_sidebar_bound,mode:e.state.mode,search_text:e.state.search_text,token:t.value}):o.a.createElement($,{text:"\u8bf7\u767b\u5f55\u540e\u67e5\u770b\u5185\u5bb9"}),o.a.createElement("br",null))})),o.a.createElement(xt,{show_sidebar:this.show_sidebar_bound,stack:this.state.sidebar_stack}))}}],[{key:"is_darkmode",value:function(){return"dark"===window.config.color_scheme||"light"!==window.config.color_scheme&&window.matchMedia("(prefers-color-scheme: dark)").matches}}]),n}(a.Component),Dt=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function Ut(e){navigator.serviceWorker.register(e).then((function(e){e.onupdatefound=function(){var t=e.installing;t.onstatechange=function(){"installed"===t.state&&(navigator.serviceWorker.controller?console.log("New content is available; please refresh."):console.log("Content is cached for offline use."))}}})).catch((function(e){console.error("Error during service worker registration:",e)}))}i.a.render(o.a.createElement(It,null),document.getElementById("root")),"serviceWorker"in navigator&&window.addEventListener("load",(function(){var e="".concat(".","/service-worker.js");Dt?(function(e){fetch(e).then((function(t){404===t.status||-1===t.headers.get("content-type").indexOf("javascript")?navigator.serviceWorker.ready.then((function(e){e.unregister().then((function(){window.location.reload()}))})):Ut(e)})).catch((function(){console.log("No internet connection found. App is running in offline mode.")}))}(e),navigator.serviceWorker.ready.then((function(){console.log("This web app is being served cache-first by a service worker. To learn more, visit https://goo.gl/SC7cgQ")}))):Ut(e)}))},74:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAC4jAAAuIwF4pT92AAAIoElEQVR42rVWaWwU5xn+dqGHVPCPQhMRsGXjIAKp1ASp0KhJo6qlTQq2fDYipN7d0ewcHV8CO8gHbh2wfGp3vTOZmTUWBArFXHUjFGiROewa0kNqkiJRUkUkMQ2lXD4SQ/DOfG/f75u1GwjmUNMfr2a11/O8z/s87/cR0zTJfZdhEAOLPeOWSU7XN8w+Lfxydudtnz3Ifz4YOD4tXScdlk1ONm2aSQPCIZol/26wbPPMji2Wj31mpL77xRPASnXoj5oWuV5RKkNABMhUYHxZ5c+jCQ7sN/4vCqTktQzDF7Es39831j8CkvBPGpIcd7HqwEPyhTOBhvkRroLhe5BR3D9blDdmWf6eSIRQSYyDIgISSNJFSpLOV4EuVF7taY6SmG362Xe/UAVS3fs7bJucr3l5BYjCDapKLgTDLn1Udd1MzYWH5Rt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urZw/2arhJdhNkuckkjAcz+usk6gk7rsfVuDg47eO0iEkSCjHtNmcC/FLgB5oe026gpJkSpm98GJ6uTzhXaY7ygREjhuOeHQgEMG+ieUv/3JmWWsadULwMvSnValqhDW5zuxvMHqR5L7qjN48pbhvSxpqx2a0FsZK8tOUpPVtK+WmWvnv2HkzX7VWPrGK/qSWRO1z2ZO0BfMSNezM17Us6BafrR6nrmTx/Y3N9JmQY2dq6yTsEw8Go5DkJggGcJrxO9OpNHBSJecoE1sReCD6cZSSkM3to0oKpFBIrKlWDI1H7Jp01GbNh+z6bWrLp32op7XllojH9fe5gr8EqmarD70u0sZ1yr+c6YYy1rJWuIbywQg7k0whtXvh1FsvzeONZ+w6ReZ+m4YXj6cnq5/AmSyQbm5ue8a668LtUQOwO5pgkkK5seHWs2Je1azbhiKeHsVx6xahBivGM5YN6oi94xld4NfLVFFnUiDw12we7VVhP0iJEqxkZaijpmbZeR9kW18v/Fz8+Der63SC/l2be0h+0pdIQ6Yhfa1sl1WTfkuq4HnwV8pddZ3jdUDNitCx4XhRExa0WIwDEphC+L008vSyeCgQ4bCeJ0aCihPhlwyDLZa95U5bCJCtS653ohegYqU+cb331FJzJ+Fc4wNsPYtWFOihAKWVP06SENELJ5rj7/svzW4H1dr3dYV5pHyn+2aRjYTVnnZ3WoWvORVv4rDdjhvkfnTkIHqZNwd0fjriiTUUAkXibSTekIskuqAheg2abDooqskITaGDL2vlzIaXtkmJSWqryX316bCXPha0v3qy3d0VdJ0gwxAr0003BHtmP53Q9EgTFRFDI4CAWmeixYzIp638TnTt0YA7++IiMZzpv999M9exVWJnI6LWz612ktq+REjxVsQFa9lyh/6q3mOr9bMWwAAAABJRU5ErkJggg=="},79:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAC4jAAAuIwF4pT92AAAHvElEQVR42o1Xa3MTVRgOzDgKjl9U1PFfqDgy47/QEZzRn6D4AQWkNJcWCm2ap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QGMM7RHUt2aYn7OowpzYWPki6NfOHxIfMcZGjr7E450TV9EcFaY7wbOG4SN3iKsHLDkaZ1/cUALxIFS7riqG7Dggm1LE2jX+KUPiT2eOX/h/I/e3P7mS3xS7Vu+e/duihj+aauVXAkjW4zVpCWHDadqS9whn4++0wG1A6aTgrodq7tPMm3rXYoyoKBm0h45O3r25T179jh9/X3LnMHBd5z+/v7lvb19zrFjx52r1yZWR7EZJ7mm7cYKCJaQJ/VDU14LeMGBvBYQ03JJQ6Qjk1y+OnHtl0ePH3W63+p2evt6l8nj+f8B6abRC75wAHoAAAAASUVORK5CYII="},86:function(e,t,n){e.exports=n(450)},91:function(e,t,n){},96:function(e,t,n){},97:function(e,t,n){},98:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAC4jAAAuIwF4pT92AAAG2klEQVR42pVXaUxVRxSee+8DRNlEEA1qBGVLS8XIFllKqiBqUcQispgWLKgFFRsMmxuCiGgA/dM2VdvfJjbpkjRpUrv8aRrTdE2Tpqtt05q0tZVa68aj3zc583J98Cz8+N69983MmbN858wZdeTIEeXG4cOHNfh+4MAB59ChQ8FDQ0Pq+PHjqqKiInTRokV1juO8ppT6FrgGjALf479LGHtm8+bNsZw7MjKijh49GtTd3e0x8szTjQmbm+fBgwedY8eO6W9svCw+Pv5UUFDQZ5Zl/WXb9i3gHjAGeOX9NsZGg4ODv8LcF4qLi/M7Ozu14jDCCaTEpJtjgX3ixAm1ffv2OAh7DhbeAManiTtRUVEXysvLk/v7+1VPT48NuROUuO8PTuBELigoKNgAIT9RGCwzQn+NjIy8sHz58qb8/PziLVu2ZACP5OXlPZaTk/NUbGzsecz5wU+R66mpqTsRTtXb26v8lZiwOWKmUlJS9vht/GNycvKehoaGGI7TrfTQwMCABt8JymhqagrLzs6u9Xg8n3MtuKFlLFy48CTCSl5YbiXuczstT0pK2i0L7/EJq85i4zkcE07QlQ6E8WkJ9H8c6+vr00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wIL2rj2MWDgzkSW6OofH8srm5OQiFhAstFhQQKhoVrB+Kvgycw8FzPgDOYfwlYAShSKAHyH42IKwlqP9vGvLB0G3kim6d2b3OmjXrotEejWgP4wftPQwFlSARp3ocE1IDNKHpZZymtYZ8CPknOB2DMM/DpsDDCWDnEsZFmoZxLKhkMwEhjtQFe4qwpG2zsM5DK1evXp0Fmf+a1gwVt0gaEo/voKASYGijdC6sCzfRyVTQElhvuWvDZP29353CNt017ge5sPoX3h0oG0f/SZln+5pS0xGzAUFannI3komJiR1wl84GOd0caUItyRTlbkw5h9Yx5qwrNERyfnzmzJmv7N27l7zy3RHua8vZMpM07F65wPSHiNkHcNs6nufkBjODCpm23LzTW0w1uHwlGw4xxGx+EeQOlWZnYltulKC76QlcJloZN3dqQZHLuP/14WQsqq2tTdq6dWs0MBsnXCI4tBJrOmbMmPGe1HjfOmTQSViu/Def9Grmvh2hSGVA87cC5Do3+YMHi+T2hDkoOpcLCwuLKds0qZNezQL09w7dyu41Nze3LCIi4lW5DfMyqrtbPl3vXsnxUSj9NrLoSaYawyO8efDl1F8JgncG1gl2Q/zeuHHj3JiYmGZs8rH0B3cFfP8GY52Ys4QymH5s6//vev4fhVL/4/SeszAAAAAASUVORK5CYII="},99:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAC4jAAAuIwF4pT92AAAFfklEQVR42qWXWWicVRiG/39mUim4NRq88MZWXIpLe+FS6lYKtZsW0UrRUmyllUIXpQiN3hXBC1sxdyom6q2lVRGhUqvFClURUVFUsu+ZmD2TTDKTycTn/fudcPzNJJMaeDOTnHO+7z3ffoLm5uagFFpaWpJ8LmloaAgaGxuD3t7epePj49unpqbeLhQKn4EvwQVwjv+dYm1fOp2u0t76+vqgqampAhmp+XTMqxwB0XcUr8pmsydQ8jPK0oYe0G3f+8AgGGDPn+x9t7+//8HW1taIODKSiyWQ0MGurq4bEKbbjoEZUATTYApMgglDrnDp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