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.
 
 
 
 

1 lines
846 KiB

!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.i=function(e){return e},o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="//imgcache.qq.com/qcloud/developer/scripts/",o(o.s=8)}({"+2cF":function(e,t,n){"use strict";t.a=function(e){return r.d.isMac?e.metaKey&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&e.keyCode===o:!e.metaKey&&!e.shiftKey&&e.ctrlKey&&!e.altKey&&e.keyCode===o};var r=n("nfin"),o=83},"+6Bu":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},"+AS+":function(e,t,n){"use strict"},"+E39":function(e,t,n){e.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+EOg":function(e,t,n){"use strict";var r=n("YS+a");n.d(t,"a",function(){return r.a})},"+OOR":function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-2-section-hd-extra"},t)};var r=n(0),o=n.n(r)},"+SIq":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),u=n.n(a),i=n("KSGD"),c=n.n(i),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),p(t,[{key:"render",value:function(){var e=this.props,a=e.activeCategoryId,i=e.onCategoryClick,t=e.categoryList,c=e.hotrep;return u.a.createElement("ul",{className:"com-tab-subctrl com-layout-panel-subtab"},t.map(function(e,t){var n=e.id,r=e.name,o=n===a;return u.a.createElement("li",{key:n,className:l()({actived:o})},u.a.createElement(f.Link,{onClick:function(e){e.preventDefault(),o||i({id:n})},hotrep:c+"."+t},r))}))}}]),t}(),r.propTypes={categoryList:c.a.arrayOf(c.a.shape({id:c.a.oneOfType([c.a.number,c.a.string]).isRequired,name:c.a.string.isRequired})).isRequired,activeCategoryId:c.a.oneOfType([c.a.number,c.a.string]).isRequired,onCategoryClick:c.a.func,hotrep:c.a.string},o)},"+UAl":function(e,t,n){"use strict";t.a=function(e){return o.a.Children.toArray(e.children)[0]||null};var r=n(0),o=n.n(r)},"+YMs":function(e,t,n){"use strict";var r=n("lvtL");n.n(r);n.o(r,"QRCode")&&n.d(t,"QRCode",function(){return r.QRCode})},"+ZMJ":function(e,t,n){var a=n("lOnJ");e.exports=function(r,o,e){if(a(r),void 0===o)return r;switch(e){case 1:return function(e){return r.call(o,e)};case 2:return function(e,t){return r.call(o,e,t)};case 3:return function(e,t,n){return r.call(o,e,t,n)}}return function(){return r.apply(o,arguments)}}},"+c6E":function(e,t,n){"use strict";t.a=function(n,e){return n<e?Array(e-n+1).fill(0).map(function(e,t){return t+n}):Array(n-e+1).fill(0).map(function(e,t){return n-t})}},"+kzo":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={CONNECT_ABORTED:"CONNECT_ABORTED",CONNECT_ERROR:"CONNECT_ERROR",CONNECT_TIMEOUT:"CONNECT_TIMEOUT",SESSION_INVALID:"SESSION_INVALID",LOGIN_REQUIRED:"LOGIN_REQUIRED",COMPLETE_ACCOUNT_INFO_REQUIRED:"COMPLETE_ACCOUNT_INFO_REQUIRED"}},"+moQ":function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="book",i="peripheral",c="keyboard",u="mystery";o(r={},"voucher",{label:function(e){var t=e.amount,n=void 0===t?0:t,r=e.count,o=void 0===r?1:r;return n/100+" \u5143\u4ee3\u91d1\u5238"+(1<o?" "+o+" \u5f20":"")},brief:function(e){var t=e.amount,n=void 0===t?0:t,r=e.count,o=void 0===r?1:r;return'<p class="price"><span class="num">'+n/100+"</span> \u5143</p>\u817e\u8baf\u4e91\u4ee3\u91d1\u5238"+(1<o?" "+o+" \u5f20":"")},render:function(e){var t=e.amount,n=void 0===t?0:t,r=e.count,o=void 0===r?1:r;return"\u817e\u8baf\u4e91 "+n/100+" \u5143\u4ee3\u91d1\u5238"+(1<o?" "+o+" \u5f20":"")}}),o(r,a,{label:function(){return"\u6280\u672f\u4e66\u7c4d"},brief:function(){return"\u6280\u672f\u4e66\u7c4d"},render:function(){return"\u6280\u672f\u4e66\u7c4d"},awardDetail:{name:"\u6280\u672f\u4e66\u7c4d",picture:""}}),o(r,i,{label:function(){return"\u817e\u8baf\u4e91\u5468\u8fb9"},brief:function(){return"\u817e\u8baf\u4e91\u5468\u8fb9"},render:function(){return"\u817e\u8baf\u4e91\u5468\u8fb9\uff08\u516c\u4ed4\u3001\u676f\u5b50\u3001\u62b1\u6795\u3001T \u6064 4 \u9009 1\uff0c\u9650 5000 \u540d\uff09"},awardList:[{id:1,name:"\u817e\u8baf\u4e91\u516c\u4ed4",picture:""},{id:2,name:"\u817e\u8baf\u4e91\u676f\u5b50",picture:""},{id:3,name:"\u817e\u8baf\u4e91\u62b1\u6795",picture:""},{id:4,name:"\u817e\u8baf\u4e91 T \u6064",picture:""}]}),o(r,c,{label:function(){return"\u673a\u68b0\u952e\u76d8"},brief:function(){return"\u673a\u68b0\u952e\u76d8"},render:function(){return"\u6a31\u6843\u673a\u68b0\u952e\u76d8\uff08\u4ef7\u503c 800 \u5143\uff0c\u9650 1000 \u540d\uff09"},awardDetail:{name:"\u6a31\u6843\u673a\u68b0\u952e\u76d8",picture:""}}),o(r,u,{label:function(){return"\u795e\u79d8\u793c\u54c1"},brief:function(){return"\u795e\u79d8\u793c\u54c1"},render:function(){return"\u795e\u79d8\u793c\u54c1\uff08\u9650 1000 \u540d\uff09"},awardDetail:{name:"\u795e\u79d8\u793c\u54c1",picture:""}})},"+tPU":function(e,t,n){n("xGkn");for(var r=n("7KvD"),o=n("hJx8"),a=n("/bQp"),i=n("dSzd")("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<c.length;u++){var s=c[u],l=r[s],f=l&&l.prototype;f&&!f[i]&&o(f,i,s),a[s]=a.Array}},"/1wQ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Y5he");n.d(t,"applyTranslation",function(){return r.a}),n.d(t,"acceptTranslationTask",function(){return r.b}),n.d(t,"saveTranslationDraft",function(){return r.c}),n.d(t,"getTranslationDraft",function(){return r.d}),n.d(t,"submitTranslationArticle",function(){return r.e}),n.d(t,"getTasksByActivityId",function(){return r.f}),n.d(t,"getUserTasksByActivityId",function(){return r.g}),n.d(t,"getActivityList",function(){return r.h}),n.d(t,"getUserTranslationInfo",function(){return r.i})},"/2El":function(e,t,m){"use strict";m.d(t,"a",function(){return w}),m.d(t,"b",function(){return p});var n,r,o,i=m(0),f=m.n(i),a=m("KSGD"),c=m.n(a),u=m("xt0B"),h=m("PNJI"),v=m(4),y=(m.n(v),m("pwtL")),b=m("Mn5R"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var w={PENDING:"Pending",ANSWERED:"Answered",EDITING:"Editing",UNANSWERED:"Unanswered",DELETED:"Deleted",ERRORED:"Errored"},p=m.i(u.connectSession)({withRef:!0})((o=r=function(e){function a(){var e,t,p,d=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=p=g(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={commiting:!1,answerState:w.PENDING,myAnswerId:0,myAnswer:null},p.richEditor=null,p.checkStick=function(){var e=p,t=e.bottomElement,n=e.element;if(t&&n){var r=n.getBoundingClientRect(),o=r.top,a=(r.left,r.width,r.height),i=o+a,c=window.innerHeight;c<i?t.style.top=Math.max(76-a,c-i)+"px":t.style.top&&(t.style.top=null)}},p.checkAnswerState=l(regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=p.props,n=t.session,r=t.answer,o=t.question,a=t.onReady,n.isLogined){e.next=4;break}return p.setState({answerState:w.UNANSWERED}),e.abrupt("return");case 4:if(r)return p.setState({answerState:w.EDITING}),e.abrupt("return");e.next=7;break;case 7:return p.setState({answerState:w.PENDING}),e.prev=8,e.next=11,m.i(b.checkAnswerState)({questionId:o.id});case 11:if(i=e.sent,c=i.answerState,u=i.answerId,s=i.myAnswer,p.isUnmounted)return e.abrupt("return");e.next=17;break;case 17:p.setState({answerState:c,myAnswerId:u,myAnswer:s}),"function"==typeof a&&a({answerState:c}),e.next=25;break;case 21:e.prev=21,e.t0=e.catch(8),console.error("[\u52a0\u8f7d\u56de\u7b54\u72b6\u6001\u5931\u8d25]",e.t0),p.setState({answerState:w.ERRORED});case 25:case"end":return e.stop()}},e,d,[[8,21]])})),p.commit=l(regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s,l,f;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(p.richEditor){e.next=2;break}return e.abrupt("return");case 2:if(t=p.richEditor.getDraftPlain(),n=p.richEditor.getDraftRaw(),r=m.i(v.raw2packed)(n),/\S/.test(t)){e.next=9;break}return y.MessageTip.error("\u7b54\u6848\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a"),p.richEditor.focus(),e.abrupt("return");case 9:return p.setState({commiting:!0}),e.prev=10,o=p.props,a=o.question,i=o.answer,c=o.onUpdate,u=i?b.updateAnswer:b.writeAnswer,e.next=15,u({questionId:a.id,answerId:i?i.id:void 0,plain:t,content:r});case 15:if(s=e.sent,l=s.questionId,f=s.answerId,!i){e.next=22;break}if("function"==typeof c)return c({plain:t,content:r,updateTime:Date.now()}),e.abrupt("return");e.next=22;break;case 22:h.router.navigate("/ask/"+l+"/answer/"+f),e.next=28;break;case 25:e.prev=25,e.t0=e.catch(10),"string"!=typeof e.t0.code&&(30005===e.t0.code?y.Dialog.alert({title:"\u64cd\u4f5c\u5931\u8d25",content:e.t0.msg||e.t0.message||"\u56de\u7b54\u63d0\u4ea4\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5",warning:!0}):y.MessageTip.error(e.t0.msg||e.t0.message));case 28:return e.prev=28,p.isUnmounted||p.setState({commiting:!1}),e.finish(28);case 31:case"end":return e.stop()}},e,d,[[10,25,28,31]])})),p.recoverAnswer=l(regeneratorRuntime.mark(function e(){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=p.props.question.id,n=p.state.myAnswer,r=n.id,o=n.content,a=m.i(u.unpackRawContent)(o)){e.next=5;break}return e.abrupt("return",y.MessageTip.error("Oops\uff01\u6570\u636e\u5f02\u5e38\u4e86\u54ce~"));case 5:return e.prev=5,i=a.blocks.reduce(function(e,t){return e+t.text},""),e.next=9,m.i(b.updateAnswer)({questionId:t,answerId:r,plain:i,content:o});case 9:h.router.navigate("/ask/"+t+"/answer/"+r),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),y.MessageTip.error(e.t0.msg||e.t0.message);case 15:case"end":return e.stop()}},e,d,[[5,12]])})),g(p,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i["Component"]),s(a,[{key:"render",value:function(){var t=this,e=this.props,n=e.question,r=e.answer,o=e.session,a=this.state,i=a.commiting,c=a.answerState,u=a.myAnswerId;if(c===w.PENDING)return f.a.createElement(y.LoadingBar,{medium:!0});if(c===w.ERRORED)return f.a.createElement("div",null,"\u670d\u52a1\u5668\u63d0\u51fa\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u4f60\u6682\u65f6\u65e0\u6cd5\u56de\u7b54\uff0c\u8bf7\u7a0d\u540e",f.a.createElement(y.Link,{onClick:this.checkAnswerState},"\u91cd\u8bd5"));if(c===w.ANSWERED){var s="/ask/"+n.id+"/answer/"+u;return f.a.createElement("div",{className:"qa-answer-edit"},"\u4f60\u5df2\u7ecf\u56de\u7b54\u4e86\u8be5\u95ee\u9898\uff0c\u4f60\u53ef\u4ee5\u5bf9",f.a.createElement(y.Link,{to:s},"\u5f53\u524d\u56de\u7b54"),"\u8fdb\u884c\u4fee\u6539")}if(c===w.DELETED)return f.a.createElement("div",{className:"qa-answer-edit"},"\u4f60\u5df2\u7ecf\u5220\u9664\u4e86\u8be5\u95ee\u9898\u7684\u56de\u7b54\uff0c\u5982\u679c\u9700\u8981\u4fee\u6539\uff0c\u8bf7\u5148",f.a.createElement(y.Link,{onClick:this.recoverAnswer},"\u6062\u590d\u56de\u7b54"));var l=c==w.EDITING;return f.a.createElement("div",{className:"qa-answer-edit",ref:function(e){return t.element=e}},f.a.createElement("div",{className:"qa-quickask-form-cnt"},!o.isLogined&&f.a.createElement("p",{style:{textAlign:"center",height:"100px",lineHeight:"100px"}},f.a.createElement(y.Link,{onClick:h.login.show},"\u767b\u5f55")," \u540e\u53ef\u56de\u7b54\u95ee\u9898"),o.isLogined&&f.a.createElement(y.QAEditor,{onRef:function(e){return t.richEditor=e},packed:r&&r.content,stickTop:63,scrollFinder:function(){return window},onChange:this.checkStick})),o.isLogined&&f.a.createElement("div",{className:"edit-btns",ref:function(e){return t.bottomElement=e}},l&&f.a.createElement(y.Button,{weak:!0,onClick:this.props.onExit},"\u53d6\u6d88"),f.a.createElement(y.Button,{disabled:i,loading:i,onClick:this.commit},l?"\u4fdd\u5b58":"\u63d0\u4ea4\u7b54\u6848")))}},{key:"componentDidMount",value:function(){this.checkAnswerState(),window.addEventListener("scroll",this.checkStick),window.addEventListener("resize",this.checkStick)}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0,window.removeEventListener("scroll",this.checkStick),window.removeEventListener("resize",this.checkStick)}}]),a}(),r.propTypes={question:c.a.object.isRequired,answer:c.a.object,onReady:c.a.func,onExit:c.a.func,onUpdate:c.a.func},n=o))||n},"/IbN":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),o=n.n(r),i=n("pwtL"),c=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=u=s(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={height:0,width:600,fwd2corp:!1,loaded:!1},u.handleMessage=function(e){e.source,e.origin;var t=e.data,n=void 0;try{n=JSON.parse(t)||{}}catch(e){n={}}var r=n,o=r.type,a=r.payload;switch(o){case"resize":var i=a.height;u.setState({height:i});break;case"fwd2corp":u.setState({fwd2corp:!0,width:400});break;case"success":var c=u.props.handleSuccess;"function"==typeof c&&c()}},s(u,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r["Component"]),c(a,[{key:"render",value:function(){var n=this,e=(this.props.handleCancel,this.state),t=(e.fwd2corp,e.height,e.width,e.loaded),r="https://cloud.tencent.com/verify/identity/inline?s_url="+encodeURIComponent(location.href);return o.a.createElement(i.Dialog,{style:{width:600,minHeight:200},onClose:i.Dialog.hide},!t&&o.a.createElement("div",{style:{textAlign:"center",padding:30}},"\u8bf7\u7a0d\u5019..."),o.a.createElement("iframe",{frameBorder:"0",scrolling:"no",width:"100%",height:this.state.height,src:r,ref:function(e){return n.receiver=e},onLoad:function(){if(n.receiver){var e=n.receiver.contentWindow,t=JSON.stringify({type:"hello"});e.postMessage(t,"https://cloud.tencent.com"),n.setState({loaded:!0})}}}))}},{key:"componentDidMount",value:function(){window.addEventListener("message",this.handleMessage)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessage),i.Dialog.hide()}}]),a}()},"/Lra":function(e,t,n){"use strict";var r=n("EgxL");n.d(t,"a",function(){return r.a})},"/bQp":function(e,t){e.exports={}},"/bhx":function(e,t,n){"use strict";t.a=function(e){var t=e.layout,n=void 0!==t&&t,r=e.className,o=e.children,a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["layout","className","children"]),i=u()("c-grid",r);if(n)return c.a.createElement("div",s({className:i},a),c.a.createElement("div",{className:"c-grid-layout"},c.a.createElement("div",{className:"c-g-24"},o)));return c.a.createElement("div",s({className:i},a),c.a.createElement("div",{className:"c-g-24"},o))};var r=n(0),c=n.n(r),o=n("HW6M"),u=n.n(o),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},"/cMK":function(e,t,c){"use strict";c.d(t,"a",function(){return i});var n=c(0),o=c.n(n),u=c("pwtL"),s=c("LuWy"),r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a={textArea:{display:"block",boxSizing:"border-box",padding:"10px",width:"100%",height:"150px",borderColor:"#e5e5e5",resize:"none",color:"#444",fontSize:"13px"}},i=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=l(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={operating:!1,error:null},n.handlePostClick=function(){var e=n.textarea.value;e&&""!==e.trim()?(n.setState({operating:!0}),c.i(s.e)({content:e}).then(function(e){u.MessageTip.show({type:"info",message:"\u7533\u8bc9\u5df2\u63d0\u4ea4",duration:3e3}),n.setState({operating:!1}),n.finish()}).catch(function(e){n.setState({operating:!1,error:{msg:20301==e.code?"\u4f60\u5df2\u7ecf\u63d0\u4ea4\u8fc7\u7533\u8bc9\uff0c\u8bf7\u7b49\u5f85\u5ba1\u6838\u7ed3\u679c":e.msg||e.message||"\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5"}})})):n.setState({error:{msg:"\u7533\u8bc9\u7406\u7531\u4e0d\u80fd\u4e3a\u7a7a"}})},l(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n["Component"]),r(i,[{key:"render",value:function(){var t=this,e=this.state,n=e.operating,r=e.error;return o.a.createElement(u.Dialog,{caption:"\u7528\u6237\u7533\u8bc9",onClose:this.cancel},o.a.createElement(u.DialogBody,null,o.a.createElement("textarea",{ref:function(e){return t.textarea=e},autoFocus:!0,placeholder:"\u5728\u6b64\u5199\u4e0b\u4f60\u7684\u7533\u8bc9\u7406\u7531",style:a.textArea}),r&&o.a.createElement("p",{style:{color:"red"}},r.msg||r.message)),o.a.createElement(u.DialogFooter,null,o.a.createElement(u.Button,{disabled:n,loading:n,onClick:this.handlePostClick},"\u63d0\u4ea4"),o.a.createElement(u.Button,{weak:!0,onClick:this.cancel},"\u53d6\u6d88")))}},{key:"finish",value:function(){u.Dialog.hide();var e=this.props.onFinish;e&&e(),location.reload()}},{key:"cancel",value:function(){u.Dialog.hide()}}],[{key:"show",value:function(e){var t=e.onFinish;u.Dialog.show(o.a.createElement(i,{onFinish:t}))}},{key:"hide",value:function(){u.Dialog.hide()}}]),i}()},"/fND":function(e,t,n){"use strict";t.a=function(){return r.call("FetchMyFollowingInfo")},t.b=function(){return r.call("CheckHasUnreadFollowingTagQuestions")},t.c=function(){return r.call("MarkFollowingTagQuestionsAsRead")};var r=new(n("PNJI").Service)("ask/scenes/home")},"/i71":function(e,t,n){"use strict";var r=n("fSzf");n.d(t,"a",function(){return r.a});var o=n("NVip");n.d(t,"c",function(){return o.a}),n.d(t,"e",function(){return o.b}),n.d(t,"f",function(){return o.c});var a=n("Y/Q1");n.d(t,"d",function(){return a.a}),n.d(t,"g",function(){return a.b});var i=n("yQUO");n.d(t,"b",function(){return i.a})},"/ijZ":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(o=r=function(e){function i(){var e,t,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=o=f(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(r)))).handleKeyDown=function(e){var t=o.props,n=t.onEnter,r=t.onEscape;switch(e.keyCode){case 27:r&&r();break;case 13:n&&n()}},f(o,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),l(i,[{key:"render",value:function(){var t=this,e=this.props,n=(e.onEnter,e.onEscape,function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["onEnter","onEscape"]));return c.a.createElement("textarea",s({ref:function(e){return e&&(t.focus=function(){return e.focus()})}},n,{onKeyDown:this.handleKeyDown}))}}]),i}(),r.propTypes={onEnter:u.a.func,onEscape:u.a.func},o)},"/jtI":function(e,t,n){"use strict";t.a=function(e){var t=e.title,n=e.children;return o.a.createElement("h1",{className:"header-main-title"},t||n)};var r=n(0),o=n.n(r)},"/n6Q":function(e,t,n){n("zQR9"),n("+tPU"),e.exports=n("Kh4W").f("iterator")},"/wF1":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n.n(r),c=n("pwtL"),u=n("/IbN"),o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=u=s(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).handleMessage=function(e){e.source,e.origin;var t=e.data,n=void 0;try{n=JSON.parse(t)||{}}catch(e){n={}}var r=n,o=r.type,a=r.payload;switch(o){case"resize":var i=a.height;u.setState({height:i});break;case"fwd2corp":u.setState({fwd2corp:!0,width:400});break;case"success":var c=u.props.handleSuccess;"function"==typeof c&&c()}},s(u,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r["Component"]),o(a,[{key:"render",value:function(){var e=this.props,t=e.inline,n=e.tip,r=e.errorTip,o=e.message;return i.a.createElement(c.Dialog,{caption:"\u63d0\u793a",disableCloseButton:!0},i.a.createElement(c.Dialog.Body,null,t?i.a.createElement(u.a,null):i.a.createElement("div",{className:"center"},i.a.createElement("div",{className:"icon-verify"}),n&&i.a.createElement("p",{className:"tip"},n),r&&i.a.createElement("p",{className:"tip danger"},r),i.a.createElement("p",{className:"text-des"},o))),i.a.createElement(c.Dialog.Footer,null,!t&&i.a.createElement(c.Dialog.Button,{primary:!0,onClick:function(e){window.open("https://console.cloud.tencent.com/developer/auth")}},"\u524d\u5f80\u5b9e\u540d\u8ba4\u8bc1"),i.a.createElement(c.Dialog.Button,{onClick:c.Dialog.hide},"\u8fd4\u56de")))}},{key:"componentDidMount",value:function(){window.addEventListener("message",this.handleMessage)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessage),c.Dialog.hide()}}]),a}()},0:function(e,t){e.exports=React},"06OY":function(e,t,n){var r=n("3Eo+")("meta"),o=n("EqjI"),a=n("D2L2"),i=n("evD5").f,c=0,u=Object.isExtensible||function(){return!0},s=!n("S82l")(function(){return u(Object.preventExtensions({}))}),l=function(e){i(e,r,{value:{i:"O"+ ++c,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return s&&f.NEED&&u(e)&&!a(e,r)&&l(e),e}}},"0JH0":function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r,o,a=n(0),l=n.n(a),i=n("KSGD"),c=n.n(i),u=n("HW6M"),f=n.n(u),p=n("fVzJ"),s=n("434l"),d=n("9Z3M"),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var v=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),h(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.innerClassName,r=e.includeInner,o=e.striped,a=e.isSection,i=e.modClassName,c=e.children,u=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","innerClassName","includeInner","striped","isSection","modClassName","children"]);if(!a)return l.a.createElement("div",{className:f()("c-grid",{"bg-color":o},t)},l.a.createElement("div",{className:"c-grid-layout"},l.a.createElement("div",{className:"c-g-24"},l.a.createElement("div",{className:f()("c-mod com-e-mod",i)},c))));var s=c;return r&&(s=l.a.createElement(p.a,{className:n},c)),l.a.createElement("section",m({className:f()("c-section c-p-y-tall",{"bg-color":o},t)},u),s)}}]),t}(),r.propTypes={className:c.a.string,innerClassName:c.a.string,includeInner:c.a.bool,striped:c.a.bool,isSection:c.a.bool,modClassName:c.a.string},r.defaultProps={includeInner:!0,striped:!1,isSection:!0},o);v.Inner=p.a,v.Header=s.a,v.Body=d.a},"0OLH":function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-ask-action-bd"},t)};var r=n(0),o=n.n(r)},"0S2U":function(e,t,n){"use strict";var r=n("albf");n.d(t,"a",function(){return r.a})},"0aTp":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r,o,a=n(0),E=n.n(a),i=n("KSGD"),c=n.n(i),O=n("yXIJ"),k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=s(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={disabled:!1,loading:!1,error:null},n.toggleDisabled=function(e){return n.setState({disabled:e})},n.showLoading=function(){return n.setState({loading:!0})},n.hideLoading=function(){return n.setState({loading:!1})},n.showError=function(e){return n.setState({error:e})},n.hideError=function(){return n.setState({error:null})},s(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),u(i,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.title,a=r.content,i=r.showClose,c=r.showCancel,u=r.confirmText,s=r.cancelText,l=r.onConfirm,f=r.onCancel,p=r.success,d=r.warning,m=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(r,["title","content","showClose","showCancel","confirmText","cancelText","onConfirm","onCancel","success","warning"]),h=this.state,v=h.disabled,y=h.loading,b=h.error,g=(e=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=l({toggleDisabled:n.toggleDisabled,showLoading:n.showLoading,hideLoading:n.hideLoading,showError:n.showError,hideError:n.hideError}))&&t.then)return e.prev=2,n.showLoading(),n.hideError(),e.next=7,t;e.next=15;break;case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),n.showError(e.t0);case 12:return e.prev=12,n.hideLoading(),e.finish(12);case 15:case"end":return e.stop()}},e,n,[[2,9,12,15]])}),t=function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return t.apply(this,arguments)}),w=function(){return f()};return E.a.createElement(O.e,k({},m,{caption:!1,disableCloseButton:!i,onClose:w}),E.a.createElement(O.b,null,E.a.createElement("div",{className:"c-dialog-confirm"},E.a.createElement("strong",{className:"c-dialog-confirm-title"},p&&E.a.createElement("span",{className:"c-dialog-icon-confirm-success"}),d&&E.a.createElement("span",{className:"c-dialog-icon-confirm-error"}),o),E.a.createElement("div",{className:"c-dialog-confirm-desc"},a))),E.a.createElement(O.c,null,E.a.createElement(O.d,{primary:!0,disabled:v||y,loading:y,onClick:g},u),c&&E.a.createElement(O.d,{onClick:w},s),b&&E.a.createElement("p",{className:"c-dialog-ft-validate"},b.msg||b.message)))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}}],[{key:"show",value:function(e){O.e.show(E.a.createElement(i,e))}},{key:"hide",value:function(){O.e.hide()}}]),i}(),r.propTypes={title:c.a.string,content:c.a.node.isRequired,showClose:c.a.bool.isRequired,showCancel:c.a.bool.isRequired,confirmText:c.a.string.isRequired,cancelText:c.a.string.isRequired,onConfirm:c.a.func.isRequired,onCancel:c.a.func.isRequired,success:c.a.bool,warning:c.a.bool},r.defaultProps={title:"\u6e29\u99a8\u63d0\u793a",showClose:!0,showCancel:!0,confirmText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",onCancel:function(){return O.e.hide()},success:!1,warning:!1},o)},"0yF6":function(e,t,n){"use strict";var r=n("Q3sd");n.d(t,"a",function(){return r.a});var o=n("mmml");n.d(t,"b",function(){return o.a});var a=n("jIlB");n.d(t,"c",function(){return a.a});var i=n("uy90");n.d(t,"d",function(){return i.a});var c=n("TMJg");n.d(t,"e",function(){return c.a})},1:function(e,t){e.exports=ReactDOM},"1J3r":function(e,t,n){"use strict";t.a=function(e){var t=e.wrapImage,n=void 0!==t&&t;return o.a.createElement(r.Fragment,null,n&&o.a.createElement("div",{className:"qr-img"},o.a.createElement("img",{src:a.k,alt:""})),!n&&o.a.createElement("img",{src:a.k,className:"qr-img",alt:""}),o.a.createElement("p",{className:"qr-txt"},"\u626b\u7801\u5173\u6ce8\u4e91+\u793e\u533a"),o.a.createElement("p",{className:"qr-txt"},"\u9886\u53d6\u817e\u8baf\u4e91\u4ee3\u91d1\u5238"))};var r=n(0),o=n.n(r),a=n("nfin")},"1LyI":function(e,t,l){"use strict";l.d(t,"a",function(){return h});var n,r,o,a=l(0),f=l.n(a),i=l("HW6M"),p=l.n(i),c=l("KSGD"),u=l.n(c),d=l("pwtL"),m=l("xt0B"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var h=l.i(m.connectSession)()((o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),s(t,[{key:"render",value:function(){var e=this.props,t=e.column,n=e.showPicture,r=e.showFollowButton,o=e.session,a=e.currentUserId,i=e.hotrep,c=e.writeHotrep,u=o.uid,s=o.isLogined&&u===a;return f.a.createElement("div",{className:p()("com-column-panel",{"has-btns":r})},f.a.createElement(d.Link,{to:"/column/"+t.id,target:"_blank",className:"com-column-panel-link",hotrep:i}),f.a.createElement("div",{className:"com-column-panel-inner"},n&&t.icon&&f.a.createElement("div",{className:"com-column-panel-object"},f.a.createElement("span",{className:"com-2-avatar com-column-panel-avatar"},f.a.createElement("span",{className:"com-2-avatar-inner",style:{backgroundImage:"url("+t.icon+")"}}))),f.a.createElement("div",{className:"com-column-panel-body"},f.a.createElement("h3",{className:"com-column-panel-title"},t.name,s&&u===t.creatorId&&f.a.createElement("span",{className:"com-column-panel-mark"},"\u6211\u521b\u5efa\u7684"),!s&&a===t.creatorId&&f.a.createElement("span",{className:"com-column-panel-mark"},"TA\u521b\u5efa\u7684")),t.desc&&f.a.createElement("p",{className:"com-column-panel-desc"},t.desc),f.a.createElement("div",{className:"com-column-panel-infos"},f.a.createElement("div",{className:"com-datas"},f.a.createElement("span",{className:"com-data"},l.i(m.abbrNum)(t.articleCount)+" \u6587\u7ae0"),f.a.createElement("span",{className:"com-data"},l.i(m.abbrNum)(t.followCount)+" \u5173\u6ce8\u8005"))),r&&f.a.createElement("div",{className:"com-column-panel-btns"},s?f.a.createElement(d.Link,{className:"c-btn c-btn-hole",to:"/column/"+t.id,hotrep:c},"\u5199\u6587\u7ae0"):f.a.createElement(d.FollowColumnButton,{columnId:t.id,whenUndetermined:"loading"})))))}}]),t}(),r.propTypes={column:u.a.object.isRequired,showPicture:u.a.bool,showFollowButton:u.a.bool,currentUserId:u.a.number,hotrep:u.a.string,writeHotrep:u.a.string},r.defaultProps={showPicture:!0,showFollowButton:!1},n=o))||n},"1R/j":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={NOT_STARTED:1,ONGOING:2,ENDED:3}},"1RX5":function(e,t,n){"use strict";var r=n("F+6q");n.d(t,"a",function(){return r.a});n("u+iz"),n("hZ5a");var o=n("2xrq");n.d(t,"d",function(){return o.a});var a=n("lb7m");n.d(t,"b",function(){return a.a});n("vNXE");var i=n("58YO");n.d(t,"c",function(){return i.a});n("T9D+"),n("oHy7"),n("mWAh")},"1TiW":function(e,t,n){"use strict";var r=n("lpOM");n.d(t,"b",function(){return r.a}),n.d(t,"c",function(){return r.b}),n.d(t,"d",function(){return r.c}),n.d(t,"e",function(){return r.d});var o=n("v3Lw");n.d(t,"a",function(){return o.a});n("9tGT")},"1h7I":function(e,t,n){"use strict";var r=n("7Ulx");n.d(t,"a",function(){return r.a})},"1kS7":function(e,t){t.f=Object.getOwnPropertySymbols},"1olO":function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t},t.mergeChildMappings=function(t,n){function e(e){return n.hasOwnProperty(e)?n[e]:t[e]}t=t||{},n=n||{};var r={},o=[];for(var a in t)n.hasOwnProperty(a)?o.length&&(r[a]=o,o=[]):o.push(a);var i=void 0,c={};for(var u in n){if(r.hasOwnProperty(u))for(i=0;i<r[u].length;i++){var s=r[u][i];c[r[u][i]]=e(s)}c[u]=e(u)}for(i=0;i<o.length;i++)c[o[i]]=e(o[i]);return c};var r=n(0)},"1sB0":function(e,t,f){"use strict";t.a=function(e){var t=f.i(p.unpackRawContent)(e);if(!t)return"";var n=t.blocks,r=(void 0===n?[]:n).filter(function(e){return"unstyled"===e.type});if(r.length<=0)return"";var o=!0,a=!1,i=void 0;try{for(var c,u=r[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var s=c.value,l=s.text;if(40<l.length)return l}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}return""};var p=f("xt0B")},"1ymi":function(e,t,n){"use strict";var r=n("Oox7");n.d(t,"a",function(){return r})},2:function(e,t){e.exports=jQuery},"21It":function(e,t,n){"use strict";var o=n("FtD3");e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"23Fl":function(e,t,r){"use strict";r.d(t,"a",function(){return q});var n,o,a,i,c=r("rdLu"),s=r.n(c),u=r(2),l=r.n(u),d=r(0),m=r.n(d),f=r(3),p=(r.n(f),r("KSGD")),h=r.n(p),v=r("HW6M"),y=r.n(v),b=r("qFNz"),g=r("nfin"),w=r("qct8"),E=r("TeJT"),O=r("PNJI"),k=r("zhX3"),_=r("pwtL"),C=r("T88j"),N=r("0yF6"),T=r("T4uT"),S=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function P(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}var R=g.l.NONE,I=g.l.LOADING,j=g.l.LOADED,x=g.l.FAILED,A=w.a.ARTICLE,L=w.a.COLUMN,D=w.a.ASK,M=w.a.SALON,B=w.a.USER,U=w.a.DEVDOC,q=r.i(f.connect)(function(e){return{searchData:e.searchData,route:e.route}},null,null,{withRef:!0})(n=r.i(b.a)((a=o=function(e){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));i.call(t);var n=e.searchData,r=n&&n.q||"";return t.state={q:r,showDropdown:!1,isFocus:Boolean(r&&0<r.length),fetchResultStatus:R,resultList:[],selectedItemIndex:-1},t}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,d["Component"]),S(o,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,o=n.hotrep,a=this.state,i=a.q,c=a.showDropdown,u=a.isFocus,s=a.fetchResultStatus,l=a.resultList,f=a.selectedItemIndex,p=String(i).trim();return m.a.createElement("div",{className:y()("com-search-bar",r,{focus:u,show:c})},m.a.createElement("label",{className:"com-search"},m.a.createElement("input",{ref:this.inputElement,type:"text",className:"search-input",value:i,onChange:this.onChange,onFocus:this.onFocus,onKeyDown:this.handleInputKeydown,placeholder:"\u627e\u6587\u7ae0 / \u627e\u7b54\u6848 / \u627e\u6280\u672f\u5927\u725b",autoComplete:"off"}),m.a.createElement("button",{type:"submit",className:"search-btn",onClick:this.onSubmit,hotrep:o?o+".search_btn":""},"\u641c\u7d22"),m.a.createElement("button",{type:"button",className:"close-btn",hotrep:o?o+".close_btn":"",onClick:this.handleClose},"\u5173\u95ed")),c&&(e=t.currentSearchTab,m.a.createElement(d.Fragment,null,0<p.length&&m.a.createElement("section",{className:"com-search-dropdown"},s===I&&m.a.createElement(_.LoadingBar,{small:!0}),s===x&&m.a.createElement(_.RetryBar,{onRetry:t.debounceFetch,tip:!0}),s===j&&(l.length?m.a.createElement(d.Fragment,null,m.a.createElement("div",{className:"com-search-dropdown-bd"},m.a.createElement("ul",{ref:t.searchResultRef,className:"com-search-result"},l.map(function(e,t){return m.a.createElement("li",{key:t},e.type===A&&m.a.createElement(N.a,{item:e.data,hover:t===f}),e.type===L&&m.a.createElement(N.b,{item:e.data,hover:t===f}),e.type===D&&m.a.createElement(N.c,{item:e.data,hover:t===f}),e.type===M&&m.a.createElement(N.d,{item:e.data,hover:t===f}),e.type===B&&m.a.createElement(N.e,{item:e.data,hover:t===f}))}))),m.a.createElement("footer",{className:"com-search-dropdown-ft"},m.a.createElement(_.Link,{to:"/search/"+e+"-"+encodeURIComponent(p.replace(/~+$/,"")),className:"link-more"},"\u67e5\u770b\u66f4\u591a"))):m.a.createElement(_.Empty,{content:"\u6ca1\u6709\u641c\u7d22\u5230\u548c\u201c"+i+"\u201d\u76f8\u5173\u7684\u7ed3\u679c"}))),!p.length&&m.a.createElement(C.a,{currentSearchTab:e}))))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"focusInput",value:(n=P(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.inputElement.current&&this.inputElement.current.focus();case 1:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"fetchSearchList",value:(t=P(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.setState({fetchResultStatus:I}),e.next=4,r.i(k.quickSearchKeyword)({keyword:this.state.q});case 4:t=e.sent,this.setState({fetchResultStatus:j,resultList:t}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),this.setState({fetchResultStatus:x});case 11:case"end":return e.stop()}},e,this,[[0,8]])})),function(){return t.apply(this,arguments)})},{key:"currentSearchTab",get:function(){var n=this,e=this.props.searchData,t=e&&e.searchTab||"";return t||(t=function(){var e=n.props.route,t=String(e.pathname).replace(g.b,"");switch(!0){case/^\/ask(?:$|\/)/.test(t):return D;case/^\/columns?(?:$|\/)/.test(t):return L;case/^\/articles?(?:$|\/)/.test(t):return A;case/^\/salon(?:$|\/)/.test(t):return M;case/^\/user(?:$|\/)/.test(t):return B;case/^\/(?:devdocs|doc|chapter|section)(?:$|\/)/.test(t):return U;default:return w.b}}()),t}}]),o}(),o.propTypes={className:h.a.string,onClose:h.a.func,clearInputOnDismiss:h.a.bool,hotrep:h.a.string},o.defaultProps={clearInputOnDismiss:!0},i=function(){var t,u=this;this.inputElement=m.a.createRef(),this.searchResultRef=m.a.createRef(),this.handleClose=(t=P(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,r.i(E.a)(100);case 3:u.dismiss();case 4:case"end":return e.stop()}},e,u)})),function(e){return t.apply(this,arguments)}),this.onFocus=function(){u.setState({isFocus:!0,showDropdown:!0})},this.dismiss=function(){var e={isFocus:!1,showDropdown:!1};u.props.clearInputOnDismiss&&(e.q=""),u.setState(e,function(){var e=u.props.onClose;e&&e()})},this.onChange=function(e){e.persist();var t=u.state.q,n=e.target.value,r={q:n},o=t.trim()!==n.trim();o&&(r.selectedItemIndex=-1,r.fetchResultStatus=I,r.resultList=[]);u.setState(r,function(){o&&u.debounceFetch()})},this.handleInputKeydown=function(e){var t=u.state,n=t.fetchResultStatus,r=t.resultList,o=t.selectedItemIndex,a=e.keyCode;if(27===a&&(0<=o?u.setState({selectedItemIndex:-1}):u.handleClose(e)),13===a)if(0<=o){var i=l()(u.searchResultRef.current).find("a:eq("+o+")").attr("href");location.href=i}else u.onSubmit(e);if(n===j&&0<r.length&&[38,40].includes(a)){var c=(o+(40===a?1:-1)+r.length)%r.length;u.setState({selectedItemIndex:c})}},this.onSubmit=function(e){e.preventDefault();var t=u.state.q.trim();if(t){t=t.replace(/~+$/,""),T.a.add({title:t});var n="/search/"+u.currentSearchTab+"-"+encodeURIComponent(t);O.router.navigate(n)}else u.focusInput()},this.debounceFetch=s.a.debounce(function(){var e=u.state.q;e&&0<e.length&&u.fetchSearchList()},400),this.handleClickOutside=function(){return u.dismiss()}},n=a))||n)||n},"23nZ":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("/Lra"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={visible:!1},n.onVisibleChange=function(e){n.setVisible(e)},p(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),f(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.trigger,r=e.placement,o=e.content,a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","trigger","placement","content"]);return c.a.createElement(s.a,l({},a,{className:t,trigger:n,placement:r,content:o,visible:this.state.visible,onVisibleChange:this.onVisibleChange}))}},{key:"componentWillReceiveProps",value:function(e){"visible"in e&&this.setState({visible:e.visible})}},{key:"setVisible",value:function(e){var t=this.props;"visible"in t||this.setState({visible:e});var n=t.onVisibleChange;n&&n(e)}}]),i}(),r.propTypes={className:u.a.string,trigger:u.a.oneOfType([u.a.string,u.a.array]),placement:u.a.string,content:u.a.node},r.defaultProps={trigger:"hover"},o)},"25+t":function(e,t,l){"use strict";var n=l("pFYg"),f=l.n(n),r=l("Zrlr"),o=l.n(r),a=l("wxAW"),i=l.n(a),c=l("zwoO"),u=l.n(c),s=l("Pf15"),p=l.n(s),d=l(0),m=l.n(d),h=l(1),v=l.n(h),y=l("KSGD"),b=l.n(y),g=l("Mqyb"),w=l("YWHS"),E={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},O=function(e){function t(){return o()(this,t),u()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p()(t,e),i()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){w.a.isEnterSupported(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){w.a.isAppearSupported(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){w.a.isLeaveSupported(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var n=this,r=v.a.findDOMNode(this),o=this.props,a=o.transitionName,i="object"===(void 0===a?"undefined":f()(a));this.stop();var c=function(){n.stopper=null,t()};if((g.a||!o.animation[e])&&a&&o[E[e]]){var u=i?a[e]:a+"-"+e,s=u+"-active";i&&a[e+"Active"]&&(s=a[e+"Active"]),this.stopper=l.i(g.b)(r,{name:u,active:s},c)}else this.stopper=o.animation[e](r,c)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(m.a.Component);O.propTypes={children:b.a.any},t.a=O},"2JRn":function(e,t,n){"use strict";var r=n("SkUX");n.d(t,"a",function(){return r.a});var o=n("rQFb");n.d(t,"b",function(){return o.a});var a=n("fsyz");n.d(t,"c",function(){return a.a})},"2Nyt":function(e,t,r){"use strict";t.a=function(e){var t=e.people,n=void 0===t?[]:t;return o.a.createElement("ul",{className:"com-side-user-panels"},n.map(function(e,t){return o.a.createElement("li",{key:t},o.a.createElement("div",{className:"com-side-user-panel"},o.a.createElement(u.Link,{to:"/user/"+e.id,target:"_blank",className:"panel-link"}),o.a.createElement("div",{className:"com-media com-side-user-panel-main"},o.a.createElement("div",{className:"com-media-object"},o.a.createElement("span",{className:"com-2-avatar"},o.a.createElement("span",{className:"com-2-avatar-inner",style:{backgroundImage:"url("+r.i(c.getThumbnailUrl)(e.avatar,38)+")"}}))),o.a.createElement("div",{className:"com-media-body"},o.a.createElement("header",{className:"com-side-user-panel-hd"},o.a.createElement("h3",{className:i()("com-side-user-panel-title",{"with-verify":e.isProfessionVerified})},o.a.createElement("div",{className:"com-side-user-panel-title-inner"},e.name),o.a.createElement(u.ProfessionVerifiedBadge,{user:e}))),o.a.createElement("div",{className:"com-datas com-side-user-panel-datas"},o.a.createElement("span",{className:"com-data"},o.a.createElement("em",null,r.i(c.abbrNum)(e.followerCount))," \u7c89\u4e1d"),o.a.createElement("span",{className:"com-data"},o.a.createElement("em",null,r.i(c.abbrNum)(e.questionCount))," \u63d0\u95ee"),o.a.createElement("span",{className:"com-data"},o.a.createElement("em",null,r.i(c.abbrNum)(e.answerCount))," \u56de\u7b54"))))))}))};var n=r(0),o=r.n(n),a=r("HW6M"),i=r.n(a),c=r("xt0B"),u=r("pwtL")},"2TOr":function(e,t,d){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.enterPosition,n=void 0===t?"top":t,r=e.leavePosition,o=void 0===r?n:r,a=e.enterTimeout,i=void 0===a?v.a:a,c=e.leaveTimeout,u=void 0===c?v.b:c;"string"==typeof n&&(n=g[n]||g.bottom);"string"==typeof o&&(o=g[o]||g.bottom);var s=v.c+"slide",l=d.i(m.a)({name:s,enterPosition:n,leavePosition:o,enterTimeout:i,leaveTimeout:u});if(!b[l]){var f=b[l]={transitionName:s+l,transitionEnterTimeout:i,transitionLeaveTimeout:u},p=y(f,n,o);d.i(h.a)(s+l,p)}return b[l]};var m=d("euci"),h=d("YwWk"),v=d("Izmz"),y=function(e,t,n){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n\ttransform: translate3d("+t.x+"px, "+t.y+"px, 0);\n}\n."+e.transitionName+"-enter-active {\n\topacity: 1 !important;\n\ttransform: translate3d(0, 0, 0);\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease, transform "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: 1 !important;\n\ttransform: translate3d(0, 0, 0);\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransform: translate3d("+n.x+"px, "+n.y+"px, 0);\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease, transform "+e.transitionLeaveTimeout+"ms ease;\n}\n"},b={},g={left:{x:-30,y:0},right:{x:30,y:0},top:{x:0,y:-30},bottom:{x:0,y:30}}},"2WJi":function(e,t,c){"use strict";c.d(t,"a",function(){return a});var n,r=c(0),u=c.n(r),s=c("UVf0"),l=(c.n(s),c("xt0B")),f=c("PNJI"),p=c("pwtL"),d=c("MCil"),m=c("WsEJ"),h=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=c.i(l.connectSession)()(n=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=y(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={showDropdown:!1,translationTaskLink:null},n.dropdownTimer=null,n.handleLogout=function(e){e.preventDefault(),f.login.logout()},n.handleHover=function(t){return function(e){e.preventDefault(),n.dropdownTimer&&(clearTimeout(n.dropdownTimer),n.dropdownTimer=null),n.dropdownTimer=setTimeout(function(){n.setState({showDropdown:"enter"===t})},300)}},y(n,t)}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r["Component"]),o(i,[{key:"render",value:function(){var e=this.props.session,t=this.state,n=t.showDropdown,r=t.translationTaskLink,o=e.isLogined,a=e.uid,i=e.profile.avatar;return o?u.a.createElement("div",{className:"c-nav-dropdown-btn",onMouseEnter:this.handleHover("enter"),onMouseLeave:this.handleHover("leave")},u.a.createElement(p.Link,{to:"/user/"+a,className:"c-nav-dropdown-btn-inner","aria-expanded":"false","aria-haspopup":"true",hotrep:"community.header.user_btn"},u.a.createElement("span",{className:"nav-dropdown-btn-txt"},u.a.createElement("i",{className:"c-nav-img-user",style:{backgroundImage:"url("+c.i(l.getThumbnailUrl)(i,36)+")"}})),u.a.createElement("i",{className:"nav-status-dot",tabIndex:"-1"})),u.a.createElement(s.CSSTransitionGroup,v({component:p.FirstChild},f.transition.slide()),n&&u.a.createElement("div",{className:"c-bubble c-bubble-top nav-user-bubble-l nav-user-bubble"},u.a.createElement("div",{className:"c-bubble-inner"},u.a.createElement("div",{className:"nav-dropdown-mini"},u.a.createElement("div",{className:"dropdown-mini-inner dropdown-mini-data"},u.a.createElement("div",{className:"dropdown-mini-list"},u.a.createElement("ul",{className:"nav-drop-action"},u.a.createElement("li",{className:"dropdown-mini-item"},u.a.createElement(p.Link,{to:"/user/"+a,hotrep:"community.header.msg_dropdown.drop_action.user_center"},"\u4e2a\u4eba\u4e2d\u5fc3")),u.a.createElement("li",{className:"dropdown-mini-item"},u.a.createElement(p.Link,{to:"/user/settings/profession-verification",hotrep:"community.header.msg_dropdown.drop_action.verification"},"\u804c\u4e1a\u8ba4\u8bc1")),u.a.createElement("li",{className:"dropdown-mini-item"},u.a.createElement(p.Link,{to:"/user/settings",hotrep:"community.header.msg_dropdown.drop_action.settings"},"\u901a\u7528\u8bbe\u7f6e")),r&&u.a.createElement("li",{className:"dropdown-mini-item"},u.a.createElement(p.Link,{to:r,hotrep:"community.header.msg_dropdown.drop_action.translation-box"},"\u7ffb\u8bd1\u4efb\u52a1\u7bb1")),u.a.createElement("li",{className:"dropdown-mini-item",onClick:this.handleLogout},u.a.createElement(p.Link,{hotrep:"community.header.msg_dropdown.drop_action.logout"},"\u9000\u51fa\u767b\u5f55")))))))))):null}},{key:"componentDidMount",value:function(){}},{key:"initTranslationTaskLink",value:(t=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,(t=this.props.session).isLogined){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,Promise.all([d.f.getActivityList(),d.f.getUserTranslationInfo()]);case 6:if(n=e.sent,r=h(n,2),o=r[0].list,r[1].list[t.uid].status!==m.a.PASS){e.next=38;break}i=!(a=!0),c=void 0,e.prev=14,u=o[Symbol.iterator]();case 16:if(a=(s=u.next()).done){e.next=24;break}if((l=s.value).status===m.b.ONGOING)return this.setState({translationTaskLink:"/translation/activity-"+l.id}),e.abrupt("break",24);e.next=21;break;case 21:a=!0,e.next=16;break;case 24:e.next=30;break;case 26:e.prev=26,e.t0=e.catch(14),i=!0,c=e.t0;case 30:e.prev=30,e.prev=31,!a&&u.return&&u.return();case 33:if(e.prev=33,i)throw c;e.next=36;break;case 36:return e.finish(33);case 37:return e.finish(30);case 38:e.next=42;break;case 40:e.prev=40,e.t1=e.catch(0);case 42:case"end":return e.stop()}},e,this,[[0,40],[14,26,30,38],[31,,33,37]])}),n=function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return n.apply(this,arguments)})}]),i}())||n},"2exW":function(e,t,n){"use strict";t.a=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:8088;return(parseInt(String(e),36)+t).toString(16)}},"2h0h":function(e,t,n){"use strict";var r=n("nPs6");n.d(t,"a",function(){return r.a})},"2j/4":function(e,t,n){"use strict";n("xt0B"),n("1ymi")},"2l/l":function(e,t,n){"use strict";var r=n("5XtM");n.d(t,"a",function(){return r.a})},"2q4p":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),u=n.n(a),i=n("KSGD"),c=n.n(i),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.title,r=e.children,o=e.isLoading,a=e.showChangeButton,i=e.onChange,c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","title","children","isLoading","showChangeButton","onChange"]);return u.a.createElement("section",p({className:l()("com-rec-section",t)},c),n&&u.a.createElement("header",{className:"com-rec-section-hd"},u.a.createElement("h3",{className:"com-rec-section-title"},n)),u.a.createElement("div",{className:"com-rec-section-bd"},r,a&&u.a.createElement("footer",{className:"com-rec-section-ft"},u.a.createElement(f.Button,{width:"auto",iconclass:"refresh",className:"c-btn-weak auto-width com-ico-btn",onClick:i,disabled:o},u.a.createElement("span",{className:"text"},u.a.createElement("i",{className:"icon refresh"}),"\u6362\u4e00\u6279")))))}}]),t}(),r.propTypes={className:c.a.string,title:c.a.string.isRequired,onChange:c.a.func.isRequired,isLoading:c.a.bool.isRequired,showChangeButton:c.a.bool},r.defaultProps={showChangeButton:!1},o)},"2qt7":function(e,t,n){"use strict";var r=n("nDmZ");n.d(t,"a",function(){return r.a})},"2xpJ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("31QT");n.d(t,"updateUserProfile",function(){return r.a}),n.d(t,"getUserProfile",function(){return r.b}),n.d(t,"batchFetchUserDetailInfo",function(){return r.c}),n.d(t,"fetchDeliveryAddress",function(){return r.d}),n.d(t,"updateDeliveryAddress",function(){return r.e}),n.d(t,"fetchUserProfessonVerifyInfo",function(){return r.f}),n.d(t,"submitUserProfessionVerifyInfo",function(){return r.g}),n.d(t,"fetchUploadWorkCardCredentials",function(){return r.h}),n.d(t,"searchUsers",function(){return r.i}),n.d(t,"handleFollow",function(){return r.j}),n.d(t,"setNotifyType",function(){return r.k}),n.d(t,"getUserInfo",function(){return r.l}),n.d(t,"getQcloudUserInfo",function(){return r.m}),n.d(t,"fetchProfessionVerifyJobTitles",function(){return r.n})},"2xrq":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=1e9},"2z2P":function(e,t,n){"use strict"},3:function(e,t){e.exports=ReactRedux},"3+MR":function(e,t,n){"use strict";var r=n("yXIJ");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c}),n.d(t,"d",function(){return r.d}),n.d(t,"e",function(){return r.e});var o=n("O0A+");n.d(t,"f",function(){return o.a})},"31QT":function(e,t,n){"use strict";t.a=function(e){var t=e.name,n=e.label,r=e.avatar,o=e.province,a=e.city,i=e.company,c=e.title,u=e.school,s=e.major,l=e.homePage,f=e.specialityIds,p=e.jobType,d=e.graduationDate,m=e.region,h=e.education,v={name:t,label:n,avatar:r,province:o,city:a,company:i,title:c,school:u,major:s,homePage:l,specialityIds:f,jobType:p,graduationDate:d,region:m,education:h};return y.call("UpdateUserProfile",v)},t.b=function(e){var t={uid:e.uid};return y.cache("GetUserProfile",t)},t.c=function(e){var t={uids:e.uids};return y.call("BatchFetchUserDetailInfo",t)},t.d=function(){return y.call("FetchDeliveryAddress")},t.e=function(e){var t=e.name,n=e.provinceId,r=e.cityId,o=e.addressDetail,a={name:t,provinceId:n,cityId:r,addressDetail:o};return y.call("UpdateDeliveryAddress",a)},t.f=function(){return y.call("FetchUserProfessonVerifyInfo")},t.g=function(e){var t=e.verifyType,n=e.realname,r=e.company,o=e.title,a=e.province,i=e.city,c=e.cardUrl,u={verifyType:t,realname:n,company:r,title:o,province:a,city:i,cardUrl:c};return y.call("SubmitUserProfessionVerifyInfo",u)},t.h=function(){return y.call("FetchUploadWorkCardCredentials")},t.i=function(e){var t=e.pageNumber,n=e.pageSize,r=e.keyword;return y.call("SearchUsers",{pageNumber:t,pageSize:n,keyword:r})},t.j=function(e){var t=e.uid,n=e.action;return y.call("HandleFollow",{followedUid:t,action:n})},t.k=function(e){var t=e.notifyType,n=e.notifyAction;return y.call("SetNotifyType",{notifyType:t,notifyAction:n})},t.l=function(){return y.call("GetUserInfo")},t.m=function(){return y.call("GetQcloudUserInfo")},t.n=function(){return y.call("FetchProfessionVerifyJobTitles")};var y=new(n("PNJI").Service)("user")},"3Eo+":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"3IYT":function(e,t,n){"use strict";var r=n("JG3i");n.d(t,"a",function(){return r.a});var o=n("xeIk");n.d(t,"b",function(){return o.a});var a=n("mHmK");n.d(t,"c",function(){return a.a})},"3a5x":function(e,t,r){"use strict";r.d(t,"a",function(){return m}),r.d(t,"b",function(){return y});var n,o,a=r(2),i=r.n(a),c=r(0),u=r.n(c),s=r("KSGD"),l=r.n(s),f=r("xt0B"),p=r("pwtL"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m={AUTO:"auto",CLICK:"click"},h=m.AUTO,v=m.CLICK,y=(o=n=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));o.state={isLoading:o.props.isLoading},o.pollCheckScroll=function(){clearInterval(o.scrollTimer),o.props.trigger===h&&(o.scrollTimer=setInterval(o.checkScroll,200))},o.checkScroll=function(){o.props.trigger!==v?o.lowEnough()?(clearInterval(o.scrollTimer),o.loadMore()):o.pollCheckScroll():clearInterval(o.scrollTimer)},o.loadMore=function(){var e=o.props,t=e.hasError,n=e.loadMore,r=o.state.isLoading;t||r||n&&n()},o.createLowEnough=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).threshold,t=void 0===e?0:e;return function(){var e=i()(o.props.containerSelector);return e.prop("scrollHeight")-e.outerHeight()-e.scrollTop()<=t}};var t=e.autoTriggerThreshold;return e.containerSelector?o.lowEnough=o.createLowEnough({threshold:t}):o.lowEnough=r.i(f.createLowEnough)({threshold:t}),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,c["Component"]),d(n,[{key:"render",value:function(){var e=this.props,t=e.trigger,n=e.hasError,r=e.loadMore,o=e.loadMoreText,a=this.state.isLoading;return n?(clearInterval(this.scrollTimer),u.a.createElement(p.RetryBar,{onRetry:r,tip:!0})):t===h?u.a.createElement(p.LoadingBar,{medium:!0}):a?u.a.createElement(p.LoadingBar,{medium:!0}):u.a.createElement(p.LoadMore,{onClick:r},o)}},{key:"componentDidMount",value:function(){this.props.trigger===h&&this.pollCheckScroll()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.trigger;t===h&&e.trigger===v?this.setState({isLoading:!1}):this.setState({isLoading:e.isLoading}),t===v&&e.trigger===h&&setTimeout(this.pollCheckScroll)}},{key:"componentWillUpdate",value:function(){this.pollCheckScroll()}},{key:"componentWillUnmount",value:function(){clearInterval(this.scrollTimer)}}]),n}(),n.propTypes={trigger:l.a.oneOf([h,v]),autoTriggerThreshold:l.a.number,containerSelector:l.a.string,isLoading:l.a.bool.isRequired,hasError:l.a.bool.isRequired,loadMore:l.a.func.isRequired,loadMoreText:l.a.string},n.defaultProps={trigger:h,autoTriggerThreshold:300,hasError:!1,loadMoreText:"\u70b9\u51fb\u52a0\u8f7d\u66f4\u591a"},o)},"3pql":function(e,t,n){"use strict";t.a=c;var r=n(0),u=n.n(r),o=n("KSGD"),a=n.n(o),i=n("HW6M"),s=n.n(i),l=n("pwtL");function c(e){var t=e.active,n=void 0!==t&&t,r=e.value,o=e.onClick,a=void 0===o?function(){}:o,i=e.children,c=a.bind(null,{value:r});return u.a.createElement("li",null,u.a.createElement(l.Link,{className:s()("menu-link",{actived:n}),value:r,onClick:c},i))}c.propTypes={active:a.a.bool,value:a.a.any,onClick:a.a.func}},4:function(e,t){e.exports=DraftMaster},"4+C7":function(e,t,n){"use strict";var r=n("jyMr");n.d(t,"a",function(){return r.a})},"419r":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("pwtL"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var f=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),l(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.list;return i.a.createElement("div",{className:"com-2-footer-recommend-cell"},i.a.createElement("h3",{className:"com-2-footer-recommend-tit"},t),i.a.createElement("div",{className:"com-2-footer-recommend-list-wrap"},i.a.createElement("ul",{className:"com-2-footer-recommend-list"},n.map(function(e,t){return i.a.createElement("li",{key:t,className:"com-2-footer-recommend-item"},i.a.createElement(s.Link,{className:"com-2-footer-recommend-link",to:e.link,target:"_blank",hotrep:e.hotrep},e.title))}))))}}]),t}(),r.propTypes={title:u.a.string.isRequired,list:u.a.arrayOf(u.a.shape({title:u.a.string.isRequired,link:u.a.string,hotrep:u.a.string})).isRequired},o)},"434l":function(e,t,n){"use strict";t.a=function(e){var t=e.isSection,n=void 0===t||t,r=e.children,o=e.title;return n?a.a.createElement("div",{className:"c-section-hd"},r):a.a.createElement("h2",{className:"com-e-mod-tit"},o)};var r=n(0),a=n.n(r)},"4Dyh":function(e,t,n){"use strict";n("w0uY")},"4GeK":function(e,t,n){"use strict"},"4NU2":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),s=n.n(a),i=n("KSGD"),c=n.n(i),u=n("HW6M"),l=n.n(u),f=n("kbml"),p=n("pwtL"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.noBubble,r=e.large,o=e.linkable,a=e.bubblePosition,i=t.isProfessionVerified,c=t.company,u=t.title;return i||o?s.a.createElement("div",{className:l()("c-bubble-trigger com-verification",{large:r,disabled:!i})},o&&s.a.createElement(p.Link,{to:"/user/settings"+f.e.PROFESSION_VERIFICATION,onClick:function(e){return e.stopPropagation()}},s.a.createElement("i",{className:"verified"})),!o&&s.a.createElement("i",{className:"verified"}),!n&&s.a.createElement("div",{className:"c-bubble c-bubble-"+a},s.a.createElement("div",{className:"c-bubble-inner",style:{padding:"8px 10px"}},i&&s.a.createElement("p",null,[c,u].join(" \xb7 ")+" (\u5df2\u8ba4\u8bc1)"),!i&&s.a.createElement("p",null,"\u9a6c\u4e0a\u8fdb\u884c\u804c\u4e1a\u8ba4\u8bc1")))):null}}]),t}(),r.propTypes={user:c.a.shape({isProfessionVerified:c.a.bool.isRequired,company:c.a.string.isRequired,title:c.a.string.isRequired}).isRequired,noBubble:c.a.bool,large:c.a.bool,linkable:c.a.bool,bubblePosition:c.a.oneOf(["top","bottom","left","right"])},r.defaultProps={noBubble:!1,large:!1,linkable:!1,bubblePosition:"bottom"},o)},"4be7":function(e,t,n){"use strict";var r=n("WXFP");n.d(t,"a",function(){return r.a})},"4cYY":function(e,t,c){"use strict";c.d(t,"a",function(){return d});var n,r,o=c(0),i=c.n(o),a=c("KSGD"),u=c.n(a),s=c("xt0B"),l=c("pwtL"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=(r=n=function(e){function a(){var e,t,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=i=p(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).share=function(){var e=i.props.shareOptions,t=e.url,n=e.title,r=e.summary,o=void 0===r?"":r,a="https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?"+c.i(s.serializeUrlParams)({url:t,title:n,summary:o});c.i(s.openWindow)({url:a,name:"share-window",width:640,height:500})},p(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,o["Component"]),f(a,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.bubblePlacement;return i.a.createElement(l.SimpleBubble,{content:i.a.createElement("span",null,t),placement:n},i.a.createElement(l.Link,{onClick:this.share,className:"opt-item"},i.a.createElement("i",{className:"opt-icon qzone"})))}}]),a}(),n.propTypes={title:u.a.string.isRequired,shareOptions:u.a.shape({url:u.a.string.isRequired,title:u.a.string.isRequired,summary:u.a.string}).isRequired,bubblePlacement:u.a.string},n.defaultProps={bubblePlacement:"bottom"},r)},"4g09":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5idK");n.d(t,"sendVerifyCode",function(){return r.a});var o=n("iimR");n.d(t,"fetchConfiguredModuleData",function(){return o.a}),n.d(t,"fetchPickedTechNews",function(){return o.b}),n.d(t,"fetchPickedTeamBlogs",function(){return o.c}),n.d(t,"fetchPickedTeamArticles",function(){return o.d}),n.d(t,"fetchPickedDevdocs",function(){return o.e}),n.d(t,"fetchPickedDevdocContributors",function(){return o.f});var a=n("v413");n.d(t,"reportInformationOperation",function(){return a.a});var i=n("r+5c");n.d(t,"fetchPastSpecials",function(){return i.a});var c=n("vAnb");n.d(t,"getWeixinQRCode",function(){return c.a}),n.d(t,"fetchRandomAvatar",function(){return c.b}),n.d(t,"uploadCustomAvatar",function(){return c.c})},"4jRL":function(e,t,n){"use strict";var r,o,a,s=n(0),l=n.n(s),i=n(3),c=(n.n(i),n("KSGD")),u=n.n(c),f=n("HW6M"),p=n.n(f),d=n("nfin"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();n.i(i.connect)(function(e){return{cssDomain:e.cssDomain}},null)((a=o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s["Component"]),m(t,[{key:"render",value:function(){var e=this.props,t=e.cssDomain,n=e.className,r=e.naked,o=e.imageOnly,a=e.injectImage,i=p()({"com-wechat-panel":!r},n),c=function(e){return"//"+t+"/open_proj/proj_qcloud_v2/community/portal/css/img/wechat-qr-full"+("number"==typeof e?"@"+e+"x":"")+".png"},u=l.a.createElement("div",{className:"qr-img-full"},l.a.createElement("picture",null,l.a.createElement("source",{media:"(-webkit-min-device-pixel-ratio: 2)",srcSet:c(2)}),l.a.createElement("source",{media:"(-webkit-min-device-pixel-ratio: 3)",srcSet:c(3)}),l.a.createElement("img",{src:c(),alt:"\u4e91+\u793e\u533a\u516c\u4f17\u53f7"})));return l.a.createElement("div",{className:i},o&&u,!o&&l.a.createElement(s.Fragment,null,l.a.createElement("div",{className:"qr-img"},l.a.createElement("img",{src:d.k,title:"\u4e91+\u793e\u533a\u516c\u4f17\u53f7",alt:""}),a&&u),l.a.createElement("div",{className:"qr-cnt"},l.a.createElement("h4",{className:"qr-title"},"\u626b\u7801\u5173\u6ce8\u201c\u4e91\u52a0\u793e\u533a\u201d\u516c\u4f17\u53f7"),l.a.createElement("p",{className:"qr-desc"},"\u5b9e\u65f6\u83b7\u53d6\u6280\u672f\u5e72\u8d27"))))}}]),t}(),o.propTypes={className:u.a.string,naked:u.a.bool,imageOnly:u.a.bool,injectImage:u.a.bool},o.defaultProps={naked:!1,imageOnly:!1,injectImage:!1},r=a))},"4jUm":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r={adjustX:1,adjustY:1},o=[0,0],a={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},"4mcu":function(e,t){e.exports=function(){}},"4rJG":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("V6IP"),l=n("1J3r"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.bubblePlacement;return i.a.createElement(s.a,{placement:n,content:i.a.createElement(l.a,{wrapImage:!0}),className:t},i.a.createElement("button",{className:"scan-btn",hotrep:"community.edge-widget.follow-oa"},"\u626b\u63cf\u4e8c\u7ef4\u7801"))}}]),t}(),r.propTypes={className:u.a.string,bubblePlacement:u.a.oneOf(["top","bottom","left","right"])},r.defaultProps={bubblePlacement:"left"},o)},"4wiV":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("nfin"),l=n("pwtL"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props.rootRef;return i.a.createElement("div",{ref:e,id:"qcTopNavFstLevel",className:"J-headerTop c-nav-top","data-nosearch":"1","data-nolang":"1"},i.a.createElement(l.Link,{id:"qcLeftNavSwitcher",className:"c-nav-all-trigger",role:"button",hotrep:"community.header.trigger"},i.a.createElement("i",{className:"c-nav-all-trigger-icon"}),i.a.createElement("span",{className:"c-nav-all-trigger-text",role:"button"},"\u83dc\u5355")),i.a.createElement("i",{className:"c-nav-top-divider"}),i.a.createElement(l.Link,{to:"~/",className:"c-nav-bg-logo",hotrep:"community.header.cloud_portal"},i.a.createElement("i",null,"\u817e\u8baf\u4e91")),i.a.createElement("div",{className:"c-nav-top-operation"},i.a.createElement("div",{className:"c-nav-top-ctrl"},i.a.createElement("div",{className:"c-nav-top-links"},i.a.createElement(l.Link,{to:"~/product/ba",className:"link-item",hotrep:"community.header.ba"},"\u5907\u6848"),i.a.createElement(l.Link,{to:"https://"+s.h,className:"link-item",role:"button",hotrep:"community.header.console"},"\u63a7\u5236\u53f0")))))}}]),t}(),r.propTypes={rootRef:u.a.shape({current:u.a.any})},o)},5:function(e,t){e.exports=Redux},"52gC":function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"53YN":function(e,t,n){"use strict";t.a=i;var r=n(0),c=n.n(r),o=n("KSGD"),a=n.n(o),u=n("MiDW"),s=n("pwtL");function i(e){var t=e.tags,a=void 0===t?[]:t,n=e.type,r=void 0===n?"mini":n,i=e.hotrep;return"mini"===r?a.length?c.a.createElement("div",{className:"com-tag-links"},c.a.createElement("i",{className:"com-i-tag tag-icon"}),a.reduce(function(e,t,n){var r=t.id,o=t.name;return e.push(c.a.createElement(s.Link,{key:r,to:"/tag/"+r+"?entry="+u.a.ASK,hotrep:i?i+".tags."+r:""},o)),n!==a.length-1&&e.push("\u3001"),e},[])):c.a.createElement("div",{className:"com-tag-links"},c.a.createElement("i",{className:"com-i-tag tag-icon"}),"\u6682\u65e0\u6807\u7b7e"):"medium"===r&&a.length?c.a.createElement("div",{className:"com-tag-list"},a.map(function(e){var t=e.id,n=e.name;return c.a.createElement(s.Link,{key:t,to:"/tag/"+t+"?entry="+u.a.ASK,className:"com-tag",hotrep:i?i+".tags."+t:""},n)})):null}i.propTypes={tags:a.a.array.isRequired,type:a.a.oneOf(["mini","medium"])}},"58YO":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={PENDING_APPROVAL:0,NORMAL:2,REJECTED:3,DELETED:5}},"5D+V":function(e,t,n){"use strict";t.a=function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"5FkW":function(e,t,n){"use strict";t.a=function(r){return new Promise(function(e,t){var n=document.createElement("script");n.async=!0,n.src=r,n.onload=function(){return e()},n.onerror=function(){t(new Error("Failed to load `"+r+"`."))},document.getElementsByTagName("head")[0].appendChild(n)})}},"5QVw":function(e,t,n){e.exports={default:n("BwfY"),__esModule:!0}},"5Uzs":function(e,t,n){"use strict";t.a=function(e){var t=e.docs,n=void 0===t?[]:t;return n.length?o.a.createElement(i.a,{className:"side"},o.a.createElement(i.a.Header,null,o.a.createElement(i.a.Title,{title:o.a.createElement("span",null,o.a.createElement("em",null,"\u76f8\u5173"),"\u6587\u6863")})),o.a.createElement(i.a.Body,null,o.a.createElement("ul",{className:"com-side-disorder-list"},n.map(function(e,t){var n=e.title,r=e.url;return o.a.createElement("li",{key:t},o.a.createElement(a.Link,{to:"~"+r,target:"_blank",rel:"nofollow"},o.a.createElement("span",{className:"com-side-disorder-text"},n)))})))):null};var r=n(0),o=n.n(r),a=n("pwtL"),i=n("8lDF")},"5VQ+":function(e,t,n){"use strict";var o=n("cGG2");e.exports=function(n,r){o.forEach(n,function(e,t){t!==r&&t.toUpperCase()===r.toUpperCase()&&(n[r]=e,delete n[t])})}},"5XtM":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("pwtL"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.questionId,n=e.answerId,r=e.title,o=e.children,a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["questionId","answerId","title","children"]),i="/ask/"+t;return n&&(i+="/answer/"+n),c.a.createElement(s.Link,l({to:i},a),o||r)}}]),t}(),r.propTypes={questionId:u.a.number.isRequired,answerId:u.a.number,title:u.a.string,hotrep:u.a.string},o)},"5eOQ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n("KSGD")),a=n.n(o),i=n("Mn5R"),c=n("ypWF"),u=n("TxQ3"),s=n.i(c.a)({targetId:"tagId",handleCheck:i.checkTagFollow,handleToggle:i.toggleTagFollow,defaultProps:{followClassName:"c-btn c-btn-hole",unfollowClassName:"c-btn c-btn-weak",whenUndetermined:"hidden",buttonStyle:{},disabled:!1}})(u.a);s.propTypes={tagId:a.a.number.isRequired,followClassName:a.a.string,unfollowClassName:a.a.string,whenUndetermined:a.a.string,buttonStyle:a.a.object,disabled:a.a.bool}},"5idK":function(e,t,n){"use strict";t.a=function(e){var t=e.businessId,n=e.channel,r=e.objectId,o={businessId:t,channel:n,objectId:r};return a.call("SendVerifyCode",o)};var a=new(n("cT2K").a)("developer/common")},"5l3A":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var r=function c(){for(var e=arguments.length,u=Array(e),t=0;t<e;t++)u[t]=arguments[t];return function(e,t){if(0===u.length)return s({},e,t);var n,r,o,a=u[0],i=u.slice(1);return s({},e,(n={},o=s({},e[r=a],c.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(i))(e[a],t)),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n))}}},"5oT9":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var f=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),l(t,[{key:"render",value:function(){var e=this.props,t=e.html,n=e.className,r=e.component,o=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["html","className","component"]);return i.a.createElement(r,s({},o,{dangerouslySetInnerHTML:{__html:t},className:n}))}}]),t}(),r.propTypes={html:u.a.string.isRequired,component:u.a.oneOfType([u.a.string,u.a.func]),className:u.a.string},r.defaultProps={component:"span"},o)},"5yQj":function(e,t,c){"use strict";c.d(t,"a",function(){return m});var n,r,o=c(0),a=c.n(o),i=c("KSGD"),u=c.n(i),s=c("nfin"),l=c("xt0B"),f=c("pwtL"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=(r=n=function(e){function i(){var e,t,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=o=d(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(r)))).share=function(){var e=o.props.shareOptions,t=e.url,n=e.title,r="https://service.weibo.com/share/share.php?"+c.i(l.serializeUrlParams)({url:t,title:n,pic:s.j});c.i(l.openWindow)({url:r,name:"share-window",width:640,height:500})},d(o,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),p(i,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.bubblePlacement;return a.a.createElement(f.SimpleBubble,{content:a.a.createElement("span",null,t),placement:n},a.a.createElement(f.Link,{onClick:this.share,className:"opt-item"},a.a.createElement("i",{className:"opt-icon weibo"})))}}]),i}(),n.propTypes={title:u.a.string.isRequired,shareOptions:u.a.shape({url:u.a.string.isRequired,title:u.a.string.isRequired}).isRequired,bubblePlacement:u.a.string},n.defaultProps={bubblePlacement:"bottom"},r)},6:function(e,t){e.exports=ReduxSaga},"6/9J":function(e,t,n){"use strict";t.a=function(e){for(var t=0,n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t+=0<=r&&r<=255?1:2}return t}},"6BNL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var p=r(n("Dd8w"));t.default=function(e){var t=e.autoMount,n=void 0===t||t,r=e.autoDestroy,o=void 0===r||r,a=e.isVisible,i=e.getComponent,c=e.getContainer,u=void 0===c?m:c,s=void 0;function l(e,t,n){if(!a||e._component||a(e)){e._container||(e._container=u(e));var r=void 0;r=e.getComponent?e.getComponent(t):i(e,t),d.default.unstable_renderSubtreeIntoContainer(e,r,e._container,function(){e._component=this,n&&n.call(this)})}}n&&(s=(0,p.default)({},s,{componentDidMount:function(){l(this)},componentDidUpdate:function(){l(this)}}));n&&o||(s=(0,p.default)({},s,{renderComponent:function(e,t){l(this,e,t)}}));function f(e){if(e._container){var t=e._container;d.default.unmountComponentAtNode(t),t.parentNode.removeChild(t),e._container=null}}s=o?(0,p.default)({},s,{componentWillUnmount:function(){f(this)}}):(0,p.default)({},s,{removeContainer:function(){f(this)}});return s};var d=r(n(1));function r(e){return e&&e.__esModule?e:{default:e}}function m(){var e=document.createElement("div");return document.body.appendChild(e),e}e.exports=t.default},"6FH6":function(e,t,n){"use strict";var r=n("m6F6");n.d(t,"a",function(){return r.a})},"6Rdn":function(e,t,n){"use strict"},"6bVe":function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r,o,a=n(0),l=n.n(a),i=n("KSGD"),c=n.n(i),u=n("HW6M"),f=n.n(u),p=n("pwtL"),s=n("MCil"),d=n("q/EH"),m=n("O2kb"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b={placement:"bottomLeft",mouseEnterDelay:.2,mouseLeaveDelay:.1,align:{offset:[0,5]}},g=(o=r=function(e){function u(){var e,t,n,r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var a=arguments.length,i=Array(a),c=0;c<a;c++)i[c]=arguments[c];return(t=n=y(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(i)))).state={loading:!1,profile:null},n.onVisibleChange=function(e){e&&n.loadUserDetails()},n.loadUserDetails=(r=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.setState({loading:!0}),e.prev=1,e.next=4,s.b.getUserProfile({uid:n.props.userId});case 4:t=e.sent,n.setState({loading:!1,profile:t}),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),n.setState({loading:!0,profile:null}),p.MessageTip.error(e.t0.msg||"\u83b7\u53d6\u7528\u6237\u4fe1\u606f\u5931\u8d25");case 12:case"end":return e.stop()}},e,o,[[1,8]])}),function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),y(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,a["Component"]),v(u,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var e=this.props,t=e.userId,n=e.className,r=e.children,o=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["userId","className","children"]),a=this.state,i=a.loading,c=a.profile,u=Object.assign({},b,h({},o)),s=i||!c?l.a.createElement(d.a,null):l.a.createElement(m.a,h({uid:t,profile:c},o));return l.a.createElement(p.Popover,h({className:f()("com-author-bubble v2",n),content:s,onVisibleChange:this.onVisibleChange},u),r)}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}}]),u}(),r.propTypes={userId:c.a.number.isRequired},o)},"6dV3":function(e,t,n){"use strict";var r=n("ieWh");n.d(t,"a",function(){return r.a})},"6i5o":function(e,t,l){"use strict";l.d(t,"a",function(){return u});var n,r,o=l(0),f=l.n(o),a=l("KSGD"),i=l.n(a),p=l("xt0B"),d=l("1RX5"),m=l("pwtL"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var u=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),c(t,[{key:"render",value:function(){var a,e=this.props,t=e.article,n=e.index,r=e.hotrep,o=e.type,i=e.coverImageWith,c=e.showRecommendButton,u=e.source,s=t.coverImageUrl||t.picture;return f.a.createElement("div",{className:"com-3-article-panel"},f.a.createElement(m.Link,{target:"_blank",to:"/"+o+"/"+t.articleId,className:"panel-link",hotrep:r?r+".article_panels."+(n+1)+".article_panel.link":""}),f.a.createElement("div",{className:"com-3-article-panel-media"},f.a.createElement("div",{className:"com-3-article-panel-body"},f.a.createElement("h3",{className:"com-3-article-panel-title"},Boolean(t.isTop||"timl"===u&&t.weight>d.d)&&f.a.createElement("span",{className:"com-3-article-panel-mark sticky"},"\u7f6e\u9876"),t.title),t.abstract&&f.a.createElement("p",{className:"com-3-article-panel-desc"},t.abstract),f.a.createElement("div",{className:"com-3-article-panel-infos"},f.a.createElement("div",{className:"com-3-article-panel-source"},t.author&&t.author.name&&f.a.createElement(m.Link,{target:"_blank",to:"/user/"+t.author.id,className:"item author"},t.author.name),(t.updateTime||t.writeTime)&&f.a.createElement("span",{className:t.author?"item time":"time"},f.a.createElement(m.TimeAgo,{time:t.updateTime||t.writeTime}))),t.tags&&0<t.tags.length&&f.a.createElement("div",{className:"com-tag-links com-3-article-panel-tags"},f.a.createElement("i",{className:"com-i-tag tag-icon"}),(a=t.tags).length?a.reduce(function(e,t,n){var r=t.tagId,o=t.tagName;return e.push(f.a.createElement(m.Link,{key:r,to:"/tag/"+r,target:"_blank"},o)),n!==a.length-1&&e.push(f.a.createElement("span",{key:n,className:"split"},"\uff0c")),e},[]):null),c&&f.a.createElement(m.ArticleRecommendButton,{className:"com-opt-link",cssStyle:{position:"absolute",right:0,bottom:-1},article:h({},t,{isRecommended:t.weight>d.d}),onRecommendArticle:this.props.onRecommend,btnText:"\u7f6e\u9876",btnCancelText:"\u53d6\u6d88\u7f6e\u9876",recommendText:"\u786e\u5b9a\u8981\u7f6e\u9876\u8be5\u6587\u7ae0\u5417\uff1f",cancelRecommendText:"\u786e\u5b9a\u8981\u53d6\u6d88\u7f6e\u9876\u8be5\u6587\u7ae0\u5417\uff1f",isBtn:!1,onSucceed:function(){return window.location.reload()}}))),s&&f.a.createElement("div",{className:"com-3-article-panel-object"},f.a.createElement("span",{className:"com-thumbnail com-3-article-panel-thumbnail",style:{backgroundImage:"url("+l.i(p.getThumbnailUrl)(s,i)+")"}}))))}}]),t}(),n.propTypes={article:i.a.shape({articleId:i.a.number.isRequired,title:i.a.string.isRequired,abstract:i.a.string,author:i.a.shape({id:i.a.number,name:i.a.string}),writeTime:i.a.number,updateTime:i.a.number,tags:i.a.arrayOf(i.a.shape({tagId:i.a.number,tagName:i.a.string})),coverImageUrl:i.a.string,picture:i.a.string,isTop:i.a.bool}).isRequired,index:i.a.number,hotrep:i.a.string,type:i.a.string,coverImageWith:i.a.number,showRecommendButton:i.a.bool,source:i.a.string},n.defaultProps={type:"article",coverImageWith:150,showRecommendButton:!1},r)},7:function(e,t){e.exports=ReduxSaga.effects},"77Pl":function(e,t,n){var r=n("EqjI");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"78hh":function(e,t,c){"use strict";c.d(t,"a",function(){return b});var n,r,o,a=c(0),u=c.n(a),i=c("KSGD"),s=c.n(i),l=c("xt0B"),f=c("PNJI"),p=c("MCil"),d=c("pwtL"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=p.d.checkArticleLike,y=p.d.toggleArticleLike,b=c.i(l.connectSession)()((o=r=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=h(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).checkCanLike=function(){var e=r.props,t=e.session,n=e.articleId;return!!t.isLogined||(f.login.show({s_url:c.i(l.getAbsoluteRouteUrl)("/article/"+n)}),!1)},r.checkLike=function(){return v({articleId:r.props.articleId})},r.toggleLike=function(e){return y({articleId:r.props.articleId,like:e})},h(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),m(i,[{key:"render",value:function(){var e=this.props,t=e.likeCount,n=e.className,r=e.hotrep;return u.a.createElement(d.LikeButton,{currentLikeCount:t,onCheck:this.checkLike,onBeforeToggle:this.checkCanLike,onToggle:this.toggleLike,className:n,hotrep:r})}}]),i}(),r.propTypes={className:s.a.string,articleId:s.a.number.isRequired,likeCount:s.a.number.isRequired,hotrep:s.a.string},n=o))||n},"7GwW":function(e,t,p){"use strict";var d=p("cGG2"),m=p("21It"),h=p("DQCr"),v=p("oJlt"),y=p("GHBc"),b=p("FtD3"),g="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||p("thJu");e.exports=function(f){return new Promise(function(n,r){var o=f.data,a=f.headers;d.isFormData(o)&&delete a["Content-Type"];var i=new XMLHttpRequest,e="onreadystatechange",c=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in i||y(f.url)||(i=new window.XDomainRequest,e="onload",c=!0,i.onprogress=function(){},i.ontimeout=function(){}),f.auth){var t=f.auth.username||"",u=f.auth.password||"";a.Authorization="Basic "+g(t+":"+u)}if(i.open(f.method.toUpperCase(),h(f.url,f.params,f.paramsSerializer),!0),i.timeout=f.timeout,i[e]=function(){if(i&&(4===i.readyState||c)&&(0!==i.status||i.responseURL&&0===i.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in i?v(i.getAllResponseHeaders()):null,t={data:f.responseType&&"text"!==f.responseType?i.response:i.responseText,status:1223===i.status?204:i.status,statusText:1223===i.status?"No Content":i.statusText,headers:e,config:f,request:i};m(n,r,t),i=null}},i.onerror=function(){r(b("Network Error",f,null,i)),i=null},i.ontimeout=function(){r(b("timeout of "+f.timeout+"ms exceeded",f,"ECONNABORTED",i)),i=null},d.isStandardBrowserEnv()){var s=p("p1b6"),l=(f.withCredentials||y(f.url))&&f.xsrfCookieName?s.read(f.xsrfCookieName):void 0;l&&(a[f.xsrfHeaderName]=l)}if("setRequestHeader"in i&&d.forEach(a,function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete a[t]:i.setRequestHeader(t,e)}),f.withCredentials&&(i.withCredentials=!0),f.responseType)try{i.responseType=f.responseType}catch(e){if("json"!==f.responseType)throw e}"function"==typeof f.onDownloadProgress&&i.addEventListener("progress",f.onDownloadProgress),"function"==typeof f.onUploadProgress&&i.upload&&i.upload.addEventListener("progress",f.onUploadProgress),f.cancelToken&&f.cancelToken.promise.then(function(e){i&&(i.abort(),r(e),i=null)}),void 0===o&&(o=null),i.send(o)})}},"7Hzm":function(e,t,n){"use strict";var r=n("Umth");n.d(t,"a",function(){return r.a})},"7KvD":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7MKE":function(e,t,n){"use strict";var r=n("4NU2");n.d(t,"a",function(){return r.a})},"7RQh":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={get:function(e){try{return JSON.parse(sessionStorage.getItem(e))}catch(e){return}},set:function(e,t){if(!this.isSupport())return!1;try{return sessionStorage.setItem(e,JSON.stringify(t)),!0}catch(e){return!1}},del:function(e){if(!this.isSupport())return!1;try{return sessionStorage.removeItem(e),!0}catch(e){return!1}},isSupport:function(){try{var e="whatever";return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}}},"7UMu":function(e,t,n){var r=n("R9M2");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"7Ulx":function(e,t,c){"use strict";c.d(t,"a",function(){return a});var n=c(0),f=c.n(n),p=c(4),r=(c.n(p),c("vUHS")),u=c("xrIa"),s=c("l46l"),o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=l(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).plugins=c.i(p.createAllPlugins)((n.props.extendOptions||function(e){return e})({image:{handleUpload:u.uploadDraftImage,checkAllowAccessOrigin:function(e){return"https://ask.qcloudimg.com"===e}},focus:{findScrollParent:function(){return null}},stickToolbar:{enable:!0,findScrollElement:function(){return window},getStickTop:function(){return 64}},fileImport:{enable:!0,createImportTask:s.a}})),l(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n["Component"]),o(i,[{key:"render",value:function(){var t=this,e=this.props,n=e.className,r=e.style,o=e.containerClassName,a=e.plugins,i=e.addonPlugins,c=void 0===i?[]:i,u=e.raw,s=e.packed,l=e.onChange;return f.a.createElement(p.DraftEditor,{className:n,style:r,containerClassName:o,ref:function(e){return t.draftEditor=e},raw:u,packed:s,plugins:(a||this.plugins).concat(c),onChange:l})}},{key:"focus",value:function(){this.draftEditor.focus()}},{key:"getDraftRaw",value:function(){return this.draftEditor.getRaw()}},{key:"getDraftPlain",value:function(){return this.draftEditor.getPlainText()}},{key:"getDraftContent",value:function(){return this.draftEditor.getContent()}},{key:"setDraftRaw",value:function(e){if(!c.i(r.a)(e))return console.warn("[RichEditor.setDraftRaw]: \u4f20\u5165\u4e86\u4e0d\u5408\u6cd5\u7684 raw =>",e),void this.draftEditor.setRaw({blocks:[],entityMap:{}});this.draftEditor.setRaw(e)}}]),i}()},"7Xlb":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("pwtL"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var f=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),l(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.list;return i.a.createElement("div",{className:"com-2-footer-website-box"},i.a.createElement("h3",{className:"com-2-footer-website-title"},t),i.a.createElement("ul",{className:"com-2-footer-website-list"},n.map(function(e,t){return i.a.createElement("li",{key:t,className:"com-2-footer-website-item"},i.a.createElement(s.Link,{to:e.link,target:e.target,hotrep:e.hotrep},e.title))})))}}]),t}(),r.propTypes={title:u.a.string.isRequired,list:u.a.arrayOf(u.a.shape({title:u.a.string.isRequired,link:u.a.string,target:u.a.string,hotrep:u.a.string})).isRequired},o)},"7lPT":function(e,t,c){"use strict";c.d(t,"a",function(){return o});var n=c(0),a=c.n(n),u=c("pwtL"),s=c("vn+0"),r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var o=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=l(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={handling:!1,handleResult:null},l(n,t)}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a.a.Component),r(i,[{key:"render",value:function(){return[this.renderHandleButton("accept"),this.renderHandleButton("reject")]}},{key:"renderHandleButton",value:function(e){var t=this,n=this.props.handleResult||this.state.handleResult,r=this.state.handling,o=null!==n;return o&&n!==e?null:a.a.createElement(u.Button,{key:e,className:"c-btn-hole smaller",type:"button",style:{marginLeft:5},loading:r===e,disabled:o||r,onClick:function(){return t.handle(e)}},"accept"===e&&(o?"\u5df2\u52a0\u5165":"\u5141\u8bb8\u52a0\u5165"),"reject"===e&&(o?"\u5df2\u62d2\u7edd":"\u62d2\u7edd"))}},{key:"handle",value:(t=regeneratorRuntime.mark(function e(t){var n,r,o,a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.msgId,o=n.columnId,this.setState({handling:t}),e.prev=2,e.next=5,c.i(s.handleColumnJoinApply)({messageId:r,columnId:o,action:t,rejectMessage:t});case 5:this.setState({handleResult:t}),e.next=22;break;case 8:e.prev=8,e.t0=e.catch(2),a=e.t0&&+e.t0.code,i=e.t0.msg||"\u5904\u7406\u7533\u8bf7\u5931\u8d25"+(e.t0.code||""),e.t1=a,e.next=70002===e.t1?15:70027===e.t1?17:70028===e.t1?19:21;break;case 15:return i="\u4e13\u680f\u4e0d\u5b58\u5728",e.abrupt("break",21);case 17:return i="\u4e13\u680f\u7684\u6210\u5458\u6570\u5df2\u7ecf\u8fbe\u5230\u4e0a\u9650\uff0c\u8bf7\u79fb\u9664\u73b0\u6709\u6210\u5458\u540e\u91cd\u8bd5",e.abrupt("break",21);case 19:return i="\u7528\u6237\u52a0\u5165\u7684\u4e13\u680f\u6570\u5df2\u7ecf\u8fbe\u5230\u4e0a\u9650\uff0c\u65e0\u6cd5\u518d\u52a0\u5165\u65b0\u7684\u4e13\u680f",e.abrupt("break",21);case 21:u.MessageTip.error(i);case 22:return e.prev=22,this.setState({handling:null}),e.finish(22);case 25:case"end":return e.stop()}},e,this,[[2,8,22,25]])}),n=function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return n.apply(this,arguments)})}]),i}()},"7oZE":function(e,t,r){"use strict";t.a=function(t,e){if("object"===(void 0===t?"undefined":i(t))&&t.blocks)return t;c&&(e=e||r.i(a.hashString)(String(t)));if(c&&void 0!==u[e])return u[e];var n=t;try{return n=o.unpack(t),c&&(n.sourceHash=e),u[e]=n||null}catch(e){return console.warn("JSON Packed \u683c\u5f0f\u89e3\u7801\u5931\u8d25\uff0c\u5185\u5bb9\u4e3a\uff1a"+t.substr(0,100)+"..."),n={blocks:[{type:"unstyled",text:String(n)}],entityMap:{}}}};var o=r("Masn"),a=(r.n(o),r("xt0B")),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c="undefined"!=typeof window,u={}},"7pe4":function(e,t,n){"use strict";t.a=i;var r=n(0),u=n.n(r),o=n("KSGD"),a=n.n(o),s=n("GZPB");function i(e){var t=e.event,n=e.className,r=t.type,o=t.time,a=t.showVerb,i=void 0===a||a,c={asked:"\u63d0\u95ee\u4e8e",answered:"\u56de\u7b54\u4e8e",updated:"\u4fee\u6539\u4e8e",commented:"\u8bc4\u8bba\u4e8e",editing:"\u6b63\u5728\u7f16\u8f91"}[r];return c?u.a.createElement("span",{className:n},i&&c,"editing"!==r&&u.a.createElement(s.a,{time:o})):null}i.propTypes={event:a.a.shape({type:a.a.string.isRequired,time:a.a.number.isRequired,showVerb:a.a.bool}).isRequired,className:a.a.string}},"7qAH":function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"qa-filter-toolbar with-btns"},t)};var r=n(0),o=n.n(r)},"7swH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!=e&&e==e.window},e.exports=t.default},8:function(e,t,n){e.exports=n("Dhkr")},"8+5l":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.classList?e.classList.add(t):(0,a.default)(e)||(e.className=e.className+" "+t)};var r,o=n("Hgtn"),a=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},"821W":function(e,t,y){"use strict";y.d(t,"a",function(){return o});var b=y("xt0B");var n,r,o=(n=regeneratorRuntime.mark(function e(t){var n,r,o,a,i,c,u,s,l,f,p,d,m,h,v;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(n=t.raw,r=(void 0===n?{}:n).entityMap,o=void 0===r?{}:r,a=Object.values(o),i=a.filter(function(e){return"IMAGE"===e.type}),c=i.map(function(e){return e.data&&e.data.imageUrl}),u=[],l=!(s=!0),f=void 0,e.prev=9,p=c[Symbol.iterator]();!(s=(d=p.next()).done);s=!0)m=d.value,h=y.i(b.preloadImage)(m),u.push(h);e.next=17;break;case 13:e.prev=13,e.t0=e.catch(9),l=!0,f=e.t0;case 17:e.prev=17,e.prev=18,!s&&p.return&&p.return();case 20:if(e.prev=20,l)throw f;e.next=23;break;case 23:return e.finish(20);case 24:return e.finish(17);case 25:return e.next=27,Promise.all(u);case 27:return v=e.sent,e.abrupt("return",v);case 29:case"end":return e.stop()}},e,this,[[9,13,17,25],[18,,20,24]])}),r=function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return r.apply(this,arguments)})},"82By":function(e,t,n){"use strict";var r=n("i8gs");n.d(t,"a",function(){return r.a})},"880/":function(e,t,n){e.exports=n("hJx8")},"8DXD":function(e,t,n){"use strict";var r=n("1ymi");n.d(t,"a",function(){return r.a});n("2j/4")},"8LgU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),c=a(r),o=a(n("KSGD")),u=a(n(1)),s=a(n("AswU")),l=a(n("SQfk")),f=a(n("7swH"));function a(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],a=Object.getOwnPropertyDescriptor(t,o);a&&a.configurable&&void 0===e[o]&&Object.defineProperty(e,o,a)}}(e,t))}var i=function(a){function i(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n=p(this,a.call.apply(a,[this].concat(r)))).forceAlign=function(){var e=n.props;if(!e.disabled){var t=u.default.findDOMNode(n);e.onAlign(t,(0,s.default)(t,e.target(),e.align))}},p(n,e)}return d(i,a),i.prototype.componentDidMount=function(){var e=this.props;this.forceAlign(),!e.disabled&&e.monitorWindowResize&&this.startMonitorWindowResize()},i.prototype.componentDidUpdate=function(e){var t=!1,n=this.props;if(!n.disabled)if(e.disabled||e.align!==n.align)t=!0;else{var r=e.target(),o=n.target();(0,f.default)(r)&&(0,f.default)(o)?t=!1:r!==o&&(t=!0)}t&&this.forceAlign(),n.monitorWindowResize&&!n.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()},i.prototype.componentWillUnmount=function(){this.stopMonitorWindowResize()},i.prototype.startMonitorWindowResize=function(){this.resizeHandler||(this.bufferMonitor=function(e,t){var n=void 0;function r(){n&&(clearTimeout(n),n=null)}function o(){r(),n=setTimeout(e,t)}return o.clear=r,o}(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=(0,l.default)(window,"resize",this.bufferMonitor))},i.prototype.stopMonitorWindowResize=function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)},i.prototype.render=function(){var e=this.props,t=e.childrenProps,n=e.children,r=c.default.Children.only(n);if(t){var o={};for(var a in t)t.hasOwnProperty(a)&&(o[a]=this.props[t[a]]);return c.default.cloneElement(r,o)}return r},i}(r.Component);i.propTypes={childrenProps:o.default.object,align:o.default.object.isRequired,target:o.default.func,onAlign:o.default.func,monitorBufferTime:o.default.number,monitorWindowResize:o.default.bool,disabled:o.default.bool,children:o.default.any},i.defaultProps={target:function(){return window},onAlign:function(){},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1},t.default=i,e.exports=t.default},"8MjU":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=n.n(r),a=n("HW6M"),c=(n.n(a),n("PxFE")),u=n("MCil"),s=n("pwtL"),l=n("T4uT"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d="SEARCH_HOT_KEY_WORDS",i=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={hotKeywords:[]},p(n,t)}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r["Component"]),f(i,[{key:"render",value:function(){var n=this,r=this.props.currentSearchTab,e=this.state.hotKeywords;return o.a.createElement("dl",{className:"com-search-dropdown-group"},o.a.createElement("dt",null,"\u641c\u7d22\u70ed\u8bcd"),o.a.createElement("dd",null,0<e.length&&o.a.createElement("nav",{className:"com-search-dropdown-keywords"},e.map(function(e,t){return o.a.createElement(s.Link,{key:t,to:"/search/"+r+"-"+encodeURIComponent(e.keyword),onClick:function(){n.addHistoryWord(e.keyword)},hotrep:"community.search.hot_keywords."+t},e.keyword)})),!e.length&&o.a.createElement(s.Empty,{content:"\u6682\u65e0\u641c\u7d22\u70ed\u8bcd",style:{fontSize:"12px"}})))}},{key:"componentDidMount",value:function(){this.getHotKeywords()}},{key:"addHistoryWord",value:function(e){l.a.add({title:e})}},{key:"getHotKeywords",value:(t=regeneratorRuntime.mark(function e(){var t,n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=c.a.get(d))){e.next=5;break}this.setState({hotKeywords:t}),e.next=17;break;case 5:return e.prev=5,e.next=8,u.e.fetchHotKeywords();case 8:n=e.sent,r=n.list,c.a.set(d,r,{expires:432e5}),this.setState({hotKeywords:r}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(5),console.error(e.t0);case 17:case"end":return e.stop()}},e,this,[[5,14]])}),n=function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return n.apply(this,arguments)})}]),i}()},"8SnZ":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r,o,a=n(0),w=n.n(a),i=n("KSGD"),c=n.n(i),u=n("HW6M"),E=n.n(u),O=n("2JRn"),k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),s(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.type,r=e.naked,o=void 0!==r&&r,a=e.loading,i=void 0!==a&&a,c=e.tinyLoading,u=void 0!==c&&c,s=e.disabled,l=void 0!==s&&s,f=e.weak,p=void 0!==f&&f,d=e.hole,m=void 0!==d&&d,h=e.onClick,v=void 0===h?null:h,y=e.children,b=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","type","naked","loading","tinyLoading","disabled","weak","hole","onClick","children"]),g=E()(t,{"c-btn":!o,"c-btn-weak":p,"c-btn-hole":m,"c-btn-disabled":l,loading:i});return w.a.createElement("button",k({type:n,className:g,disabled:l,onClick:v},b),i?w.a.createElement(O.a,{tiny:u}):y)}}]),t}(),r.propTypes={type:c.a.oneOf(["button","submit","reset"])},r.defaultProps={type:"button"},o)},"8aSS":function(e,t,s){"use strict";var n=s("Dd8w"),i=s.n(n),r=s("bOdI"),l=s.n(r),o=s("Zrlr"),a=s.n(o),c=s("wxAW"),u=s.n(c),f=s("zwoO"),p=s.n(f),d=s("Pf15"),m=s.n(d),h=s(0),v=s.n(h),y=s("KSGD"),b=s.n(y),g=s("lkNp"),w=s("25+t"),E=s("YWHS"),O="rc_animate_"+Date.now();function k(e){var t=e.children;return v.a.isValidElement(t)&&!t.key?v.a.cloneElement(t,{key:O}):t}function _(){}var C=function(e){function n(e){a()(this,n);var t=p()(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return N.call(t),t.currentlyAnimatingKeys={},t.keysToEnter=[],t.keysToLeave=[],t.state={children:s.i(g.a)(k(t.props))},t.childrenRefs={},t}return m()(n,e),u()(n,[{key:"componentDidMount",value:function(){var t=this,n=this.props.showProp,e=this.state.children;n&&(e=e.filter(function(e){return!!e.props[n]})),e.forEach(function(e){e&&t.performAppear(e.key)})}},{key:"componentWillReceiveProps",value:function(e){var o=this;this.nextProps=e;var a=s.i(g.a)(k(e)),t=this.props;t.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(e){o.stop(e)});var i=t.showProp,c=this.currentlyAnimatingKeys,u=t.exclusive?s.i(g.a)(k(t)):this.state.children,r=[];i?(u.forEach(function(e){var t=e&&s.i(g.b)(a,e.key),n=void 0;(n=t&&t.props[i]||!e.props[i]?t:v.a.cloneElement(t||e,l()({},i,!0)))&&r.push(n)}),a.forEach(function(e){e&&s.i(g.b)(u,e.key)||r.push(e)})):r=s.i(g.c)(u,a),this.setState({children:r}),a.forEach(function(e){var t=e&&e.key;if(!e||!c[t]){var n=e&&s.i(g.b)(u,t);if(i){var r=e.props[i];if(n)!s.i(g.d)(u,t,i)&&r&&o.keysToEnter.push(t);else r&&o.keysToEnter.push(t)}else n||o.keysToEnter.push(t)}}),u.forEach(function(e){var t=e&&e.key;if(!e||!c[t]){var n=e&&s.i(g.b)(a,t);if(i){var r=e.props[i];if(n)!s.i(g.d)(a,t,i)&&r&&o.keysToLeave.push(t);else r&&o.keysToLeave.push(t)}else n||o.keysToLeave.push(t)}})}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var n=this.props.showProp;return n?s.i(g.d)(e,t,n):s.i(g.b)(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var n=this,e=this.props;this.nextProps=e;var t=this.state.children,r=null;t&&(r=t.map(function(t){if(null==t)return t;if(!t.key)throw new Error("must set key for <rc-animate> children");return v.a.createElement(w.a,{key:t.key,ref:function(e){return n.childrenRefs[t.key]=e},animation:e.animation,transitionName:e.transitionName,transitionEnter:e.transitionEnter,transitionAppear:e.transitionAppear,transitionLeave:e.transitionLeave},t)}));var o=e.component;if(o){var a=e;return"string"==typeof o&&(a=i()({className:e.className,style:e.style},e.componentProps)),v.a.createElement(o,a,r)}return r[0]||null}}]),n}(v.a.Component);C.propTypes={component:b.a.any,componentProps:b.a.object,animation:b.a.object,transitionName:b.a.oneOfType([b.a.string,b.a.object]),transitionEnter:b.a.bool,transitionAppear:b.a.bool,exclusive:b.a.bool,transitionLeave:b.a.bool,onEnd:b.a.func,onEnter:b.a.func,onLeave:b.a.func,onAppear:b.a.func,showProp:b.a.string},C.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:_,onEnter:_,onLeave:_,onAppear:_};var N=function(){var o=this;this.performEnter=function(e){o.childrenRefs[e]&&(o.currentlyAnimatingKeys[e]=!0,o.childrenRefs[e].componentWillEnter(o.handleDoneAdding.bind(o,e,"enter")))},this.performAppear=function(e){o.childrenRefs[e]&&(o.currentlyAnimatingKeys[e]=!0,o.childrenRefs[e].componentWillAppear(o.handleDoneAdding.bind(o,e,"appear")))},this.handleDoneAdding=function(e,t){var n=o.props;if(delete o.currentlyAnimatingKeys[e],!n.exclusive||n===o.nextProps){var r=s.i(g.a)(k(n));o.isValidChildByKey(r,e)?"appear"===t?E.a.allowAppearCallback(n)&&(n.onAppear(e),n.onEnd(e,!0)):E.a.allowEnterCallback(n)&&(n.onEnter(e),n.onEnd(e,!0)):o.performLeave(e)}},this.performLeave=function(e){o.childrenRefs[e]&&(o.currentlyAnimatingKeys[e]=!0,o.childrenRefs[e].componentWillLeave(o.handleDoneLeaving.bind(o,e)))},this.handleDoneLeaving=function(e){var t=o.props;if(delete o.currentlyAnimatingKeys[e],!t.exclusive||t===o.nextProps){var n=s.i(g.a)(k(t));if(o.isValidChildByKey(n,e))o.performEnter(e);else{var r=function(){E.a.allowLeaveCallback(t)&&(t.onLeave(e),t.onEnd(e,!1))};s.i(g.e)(o.state.children,n,t.showProp)?r():o.setState({children:n},r)}}}};t.a=C},"8gt0":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(0),a=n.n(r),o=n(5),i=(n.n(o),n(3)),c=(n.n(i),n("8DXD")),u=n("MCil"),s=n("pwtL"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var f=function(e){function o(e){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t,c=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return c.handleNameChange=function(e){c.setState({name:e.target.value})},c.handleCommit=(t=regeneratorRuntime.mark(function e(){var t,n,r,o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t=c.props,n=t.profile,r=t.actions,(o=(o=c.state.name).trim())===n.name)return p.hide(),e.abrupt("return");e.next=7;break;case 7:return c.setState({committing:!0,error:null}),a={name:o},e.next=11,u.b.updateUserProfile(a);case 11:p.hide(),s.MessageTip.info("\u793e\u533a\u6635\u79f0\u4fee\u6539\u6210\u529f"),r.updateSessionProfile({updatedFields:{name:o}}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(0),c.setState({error:e.t0});case 19:return e.prev=19,c.setState({committing:!1}),e.finish(19);case 22:case"end":return e.stop()}},e,i,[[0,16,19,22]])}),function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),c.state={committing:!1,name:e.profile.name,error:null},c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r["Component"]),l(o,null,[{key:"show",value:function(){s.Dialog.show(a.a.createElement(p,null))}},{key:"hide",value:function(){s.Dialog.hide()}}]),l(o,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var e=this.state,t=e.committing,n=e.name,r=e.error;return a.a.createElement(s.Dialog,{caption:"\u4fee\u6539\u793e\u533a\u6635\u79f0",onClose:p.hide,style:{width:"350px"}},a.a.createElement(s.Dialog.Body,null,a.a.createElement("ul",{className:"com-form"},a.a.createElement("li",{className:"com-form-item"},a.a.createElement("label",{className:"com-form-title"},a.a.createElement("span",null,"\u793e\u533a\u6635\u79f0"),a.a.createElement("em",null,"*")),a.a.createElement("div",{className:"com-form-cnt"},a.a.createElement("input",{type:"text",className:"c-input-text small",placeholder:"\u8bf7\u8f93\u5165\u793e\u533a\u6635\u79f0",maxLength:28,value:n,onChange:this.handleNameChange}))))),a.a.createElement(s.Dialog.Footer,null,a.a.createElement(s.DialogButton,{primary:!0,disabled:t||!n,loading:t,onClick:this.handleCommit},r?"\u91cd\u8bd5":"\u786e\u5b9a"),a.a.createElement(s.DialogButton,{onClick:p.hide},"\u53d6\u6d88"),r&&a.a.createElement("p",{className:"c-dialog-ft-validate"},r.msg||r.message)))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}}]),o}(),p=n.i(i.connect)(function(e){return{profile:e.session.profile}},function(e){return{actions:n.i(o.bindActionCreators)(c.a.actions,e)}})(f)},"8lDF":function(e,t,n){"use strict";var r=n("iyBe");n.d(t,"a",function(){return r.a})},"8leD":function(e,t,n){"use strict";t.a=function(e){var t=e.name,n=e.desc,r={name:t,desc:n};return i.call("CreateColumn",r)},t.b=function(e){var t=e.columnId,n=e.name,r=e.desc,o=e.background,a={columnId:t,name:n,desc:r,background:o};return i.call("UpdateColumn",a)},t.c=function(e){var t=e.columnId,n=e.icon,r={columnId:t,icon:n};return i.call("UpdateColumnIcon",r)},t.d=function(e){var t=e.columnId,n=e.tagId,r=void 0===n?0:n,o={columnId:t,tagId:r};return i.call("FetchColumnInfo",o)},t.e=function(e){var t={columnIds:e.columnIds};return i.call("BatchFetchColumnDetail",t)},t.f=function(e){var t=e.columnId,n=e.follow,r={columnId:t,action:n};return i.call("FollowColumn",r)},n.d(t,"g",function(){return a}),t.h=function(e){var t=e.categoryId,n=e.pageSize,r=e.pageNumber,o={categoryId:t,pageSize:n,pageNumber:r};return i.call("FetchColumnsByCategoryId",o)},t.i=function(e){var t={columnId:e.columnId};return i.call("FetchColumnMembers",t)},t.j=function(e){var t={columnId:e.columnId};return i.call("FetchColumnMembersInfo",t)},t.k=function(){var e={uid:(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).uid};return i.call("FetchJoinedColumns",e)},t.l=function(e){var t=e.columnId,n=e.invitedUid,r={columnId:t,invitedUid:n};return i.call("InviteMember",r)},t.m=function(e){var t=e.columnId,n=e.uid,r={columnId:t,uid:n};return i.call("RemoveMember",r)},t.n=function(e){var t={inviteCode:e.inviteCode};return i.call("AcceptMemberInvite",t)},t.o=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.pageSize,n=e.categoryId,r={pageSize:t,categoryId:n};return i.call("FetchRecommendedColumnList",r)},t.p=function(){var e={pageSize:(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).pageSize};return i.call("FetchJoinedColumnList",e)},t.q=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.pageSize,n=e.categoryId,r={pageSize:t,categoryId:n};return i.call("FetchCategoryColumns",r)},t.r=function(e){var t=e.pageNumber,n=e.pageSize,r={pageNumber:t,pageSize:n};return i.call("FetchSPUserInviteRecord",r)},t.s=function(e){var t={inviteId:e.inviteId};return i.call("ReceiveSPInviteAward",t)},t.t=function(e){var t={columnName:e.columnName};return i.lazy("CheckColumnNameUsed",t,{thresholdDuration:300})},t.u=function(e){return i.lazy("ApplySupportPlan",e,{thresholdDuration:300})},t.v=function(e){var t=e.columnId;return i.call("CheckColumnJoinApplyStatus",{columnId:t})},t.w=function(e){var t=e.columnId,n=e.applyMessage;return i.call("SubmitColumnJoinApply",{columnId:t,applyMessage:n})},t.x=function(e){var t=e.messageId,n=e.columnId,r=e.action,o=e.rejectMessage;return i.call("HandleColumnJoinApply",{messageId:t,columnId:n,action:r,rejectMessage:o})},t.y=function(e){var t=e.code;return i.call("AcceptColumnInvite",{code:t})},t.z=function(e){var t=e.pageNumber,n=e.pageSize,r={pageNumber:t,pageSize:n};return i.call("FetchColumnSpecialList",r)},t.A=function(e){var t=e.pageNumber,n=e.pageSize,r={pageNumber:t,pageSize:n};return i.call("FetchForeignOpinionList",r)},t.B=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=e.limit,r=void 0===n?10:n,o={type:t,limit:r};return i.call("FetchArticleRankingList",o)},t.C=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).limit,t={limit:void 0===e?10:e};return i.call("FetchColumnRankingList",t)},t.D=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).limit,t={limit:void 0===e?10:e};return i.call("FetchUserRankingList",t)},t.E=function(e){var t={columnId:e.columnId};return i.call("FetchColumnTags",t)},t.F=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.num,n=void 0===t?4:t,r=e.exclude,o={num:n,exclude:r};return i.call("FetchRecommColumnList",o)},t.G=function(e){var t=e.num,n=void 0===t?4:t,r=e.exclude,o={num:n,exclude:r};return i.call("FetchRecommUserList",o)},t.H=function(){var e={preview:(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).preview};return i.call("FetchConfiguredModuleData",e)},t.I=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.nickName,n=e.alias,r={nickName:t,alias:n};return i.call("UpdateWeChat",r)},t.J=function(){return i.call("CheckUserUpdateWeChatRight")},t.K=function(e){var t={articleId:e.articleId};return i.call("CheckHasSelfRecommended",t)};var i=new(n("cT2K").a)("column/column");var r,o,a=(r=regeneratorRuntime.mark(function e(t){var n,r,o=t.columnId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={columnIds:o},e.next=3,i.accumulate("CheckColumnsFollow",n);case 3:return r=e.sent,e.abrupt("return",!!Array.isArray(r)&&r.includes(o));case 5:case"end":return e.stop()}},e,this)}),o=function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return o.apply(this,arguments)})},"8szr":function(e,t,n){"use strict";var r=n("ApRw");n.d(t,"a",function(){return r.a})},"91lK":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("xt0B"),l=n("pwtL"),f=n("Tfb9"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),p(t,[{key:"render",value:function(){var e=this.props.list;return e.length?i.a.createElement(f.a,null,i.a.createElement(f.a.Header,null,i.a.createElement(f.a.Title,{title:i.a.createElement("span",null,i.a.createElement("em",null,"\u4e13\u9898"),"\u5185\u5bb9")})),i.a.createElement(f.a.Body,null,i.a.createElement("ul",{className:"com-side-activities"},e.map(function(e){return i.a.createElement("li",{key:e.url},i.a.createElement(l.Link,{target:"_blank",to:e.url,className:"com-media com-side-activity special",title:e.title+" "+e.subTitle},e.coverImageUrl&&i.a.createElement("div",{className:"com-media-object"},i.a.createElement("span",{className:"com-thumbnail",style:{backgroundImage:"url("+n.i(s.getThumbnailUrl)(e.coverImageUrl,120)+")"}})),i.a.createElement("div",{className:"com-media-body"},i.a.createElement("h3",{className:"com-side-activity-title"},i.a.createElement("p",{className:"com-side-activity-title-main"},e.title),e.subTitle&&i.a.createElement("p",{className:"com-side-activity-title-special"},e.subTitle)))))})))):null}}]),t}(),r.propTypes={list:u.a.arrayOf(u.a.shape({url:u.a.string.isRequired,title:u.a.string.isRequired,subTitle:u.a.string,coverImageUrl:u.a.string}).isRequired)},o)},"94VQ":function(e,t,n){"use strict";var r=n("Yobk"),o=n("X8DO"),a=n("e6n0"),i={};n("hJx8")(i,n("dSzd")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},"9B9/":function(e,t,n){"use strict";var r=n("U7Ff");n.d(t,"a",function(){return r.a})},"9C8i":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"SharePlatform",function(){return u}),n.d(t,"QuestionCommentType",function(){return s}),n.d(t,"ShowSubCommentCountInit",function(){return l});var r=n("9uWT");n.d(t,"AnswerListSorts",function(){return r.a}),n.d(t,"DEFAULT_ANSWER_LIST_SORT",function(){return r.b}),n.d(t,"AnswerListSortCollection",function(){return r.c});var o=n("iBgB");n.d(t,"BannedStatus",function(){return o.a}),n.d(t,"BanOperations",function(){return o.b}),n.d(t,"BanSubjects",function(){return o.c});var a=n("zBe+");n.d(t,"QuestionFeedQueryTypes",function(){return a.a});var i=n("AuSE");n.d(t,"QuestionSource",function(){return i.a});var c=n("jjgi");n.d(t,"SinkOperations",function(){return c.a}),n.d(t,"SinkedStatus",function(){return c.b});var u={QZONE:1,QQ:2,WECHAT:3,WEIBO:4},s={NORMAL:2,DELETED:5},l=2},"9HVm":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={ready:function(){return new Promise(function(r,o){var e=window.QuickAsk;if(e)return r(e);var a=0;!function e(){var t=window.loadQuickAsk;if(t)t(function(e,t){e?o(e):r(t)});else{if(10<++a){var n=new Error("May `loadQuickAsk` install failed.");return o(n)}setTimeout(e,100)}}()})}}},"9S64":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("pwtL"),l=n("ai60"),f=n("MCil"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=d(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={showAd:!0},d(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),p(i,[{key:"render",value:function(){var e=this;if(!this.state.showAd)return null;var t=this.props,n=t.item,r=t.isMobile,o=c.a.createElement("div",{className:"com-event-panel-sign-wrap"},c.a.createElement("span",{className:"com-event-panel-sign"},"\u5e7f\u544a"),c.a.createElement(s.Link,{className:"com-event-panel-close",onClick:function(){return e.setState({showAd:!1})}},"\u5173\u95ed"));return c.a.createElement("div",{className:"com-event-panel"},c.a.createElement("div",{className:"com-event-panel-inner"},c.a.createElement("div",{className:"com-event-panel-object"},c.a.createElement(s.Link,{to:n.spreadUrl,target:"_blank",onClick:function(){return e.reportInformationOperation({event:l.a.CLICK})}},c.a.createElement("img",{className:"com-event-panel-img",src:(r?n.mImgUrl:n.imageUrl)||n.imageUrl,alt:""})),!r&&o),c.a.createElement("div",{className:"com-event-panel-body"},c.a.createElement(s.Link,{to:n.spreadUrl,target:"_blank",onClick:function(){return e.reportInformationOperation({event:l.a.CLICK})}},c.a.createElement("p",{className:"com-event-panel-title"},n.title),n.desc&&c.a.createElement("p",{className:"com-event-panel-desc"},n.desc),n.buttonText&&c.a.createElement("div",{className:"com-event-panel-act"},r?c.a.createElement("i",{className:"com-icon-arrow"}):c.a.createElement("button",{type:"hole",className:"c-btn c-btn-hole"},c.a.createElement("span",{className:"text"},n.buttonText)))),r&&o)))}},{key:"componentDidMount",value:function(){this.reportInformationOperation({event:l.a.VIEW})}},{key:"reportInformationOperation",value:function(e){var t=e.event,n=this.props.item.id;n&&+n&&f.g.reportInformationOperation({id:+n,event:t})}}]),i}(),r.propTypes={item:u.a.shape({imageUrl:u.a.string.isRequired,mImgUrl:u.a.string,title:u.a.string.isRequired,desc:u.a.string,buttonText:u.a.string,spreadUrl:u.a.string.isRequired,id:u.a.number.isRequired}).isRequired,isMobile:u.a.bool},r.defaultProps={isMobile:!1,title:"",imageUrl:"",mImgUrl:"",spreadUrl:""},o)},"9UuZ":function(e,t,h){"use strict";var v=h("ms5p"),n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y=function(e){return null!=e&&"object"===(void 0===e?"undefined":n(e))&&(1===e.nodeType||11===e.nodeType)},b=function(e,t){return"X"===t?e.clientWidth<e.scrollWidth:e.clientHeight<e.scrollHeight},P=function(e,t,n){var r=getComputedStyle(e,null)["overflow"+t];return(!n||"hidden"!==r)&&("visible"!==r&&"clip"!==r)},R=function(e,t,n,r,o,a,i,c){return a<e&&t<i||e<a&&i<t?0:a<e&&c<n||t<i&&n<c?a-e-r:t<i&&c<n||a<e&&n<c?i-t+o:0};t.a=function(e,t){void 0===t&&(t={});var n=t,r=n.scrollMode,o=void 0===r?"always":r,a=n.block,g=void 0===a?"center":a,i=n.inline,w=void 0===i?"nearest":i,c=n.boundary,u=n.skipOverflowHiddenElements,s=void 0!==u&&u,l="function"==typeof c?c:function(e){return e!==c};if(!y(e))throw new Error("Element is required in scrollIntoView");for(var f,p,d,E=e.getBoundingClientRect(),m=[];y(f=e.parentNode||e.host)&&l(e);)d=s,((p=f)===h.i(v.a)()||b(p,"Y")&&P(p,"Y",d)||b(p,"X")&&P(p,"X",d))&&m.push(f),e=f;var O,k,_=h.i(v.a)(),C=window.visualViewport?window.visualViewport.width:Math.min(_.clientWidth,window.innerWidth),N=window.visualViewport?window.visualViewport.height:Math.min(_.clientHeight,window.innerHeight),T=window.scrollX||window.pageXOffset,S=window.scrollY||window.pageYOffset;if("if-needed"===o&&m.every(function(e){var t=e.getBoundingClientRect();if(E.top<t.top)return!1;if(E.bottom>t.bottom)return!1;if(e===_){if(E.bottom>N||E.top<0)return!1;if(E.left>C||E.right<0)return!1}return!0}))return[];return m.map(function(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e),r=parseInt(n.borderLeftWidth,10),o=parseInt(n.borderTopWidth,10),a=parseInt(n.borderRightWidth,10),i=parseInt(n.borderBottomWidth,10),c=0,u=0;if("start"===g)if(O||(O=E.top),_===e)c=S+O;else{var s=Math.min(O-t.top,e.scrollHeight-e.clientHeight-e.scrollTop);c=e.scrollTop+s-o}if("center"===g)if(O||(O=E.top+E.height/2),_===e)c=S+O-N/2;else{var l=0-Math.min(t.top+t.height/2-O,e.scrollTop);c=e.scrollTop+l}if("end"===g)if(O||(O=E.bottom),_===e)c=S+O-N;else{var f=0-Math.min(t.bottom-O,e.scrollTop);c=e.scrollTop+f+i}if("nearest"===g)if(O||(O=E.top),_===e){var p=R(S,S+N,N,o,i,S+O,S+O+E.height,E.height);c=S+p}else{var d=R(t.top,t.bottom,t.height,o,i,O,O+E.height,E.height);c=e.scrollTop+d}if("start"===w)if(k||(k=E.left),_===e)u=T+k;else{var m=Math.min(k-t.left,e.scrollHeight-e.clientLeft-e.scrollLeft);u=e.scrollLeft+m-r}if("center"===w)if(k||(k=E.left+E.width/2),_===e)u=T+k-C/2;else{var h=0-Math.min(t.left+t.width/2-k,e.scrollLeft);u=e.scrollLeft+h}if("end"===w)if(k||(k=E.right),_===e)u=T+k-C;else{var v=0-Math.min(t.right-k,e.scrollLeft);u=e.scrollLeft+v+a}if("nearest"===w)if(k||(k=E.left),_===e){var y=R(T,T+C,C,r,a,T+k,T+k+E.width,E.width);u=T+y}else{var b=R(t.left,t.right,t.width,r,a,k,k+E.width,E.width);u=e.scrollLeft+b}return O+=e.scrollTop-c,k+=e.scrollLeft-u,{el:e,top:c,left:u}})}},"9Z3M":function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=void 0===t?"c-section-bd":t,r=e.children;return o.a.createElement("div",{className:n},r)};var r=n(0),o=n.n(r)},"9bBU":function(e,t,n){n("mClu");var r=n("FeBl").Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},"9eg/":function(e,t,n){"use strict";var r,o,a=n(2),i=n.n(a),u=n(0),s=n.n(u),c=n("KSGD"),l=n.n(c),f=n(1),p=(n.n(f),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=void 0,v=1,y=.2,b={containerStyle:{position:"fixed",width:"100%",height:"100%",left:0,top:0,opacity:1,transition:"opacity 300ms ease-in-out",zIndex:99999},backgroundStyle:function(e){return{cursor:"zoom-out",position:"relative",overflow:"scroll",width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, "+e+")",transition:"background-color 300ms ease-in-out"}},imageStyle:{position:"absolute",backgroundSize:"100% 100%",pointerEvents:"none",opacity:1,left:0,top:0,backfaceVisibility:"hidden",transformOrigin:"50% 50%",transition:"transform 300ms ease-in-out, opacity 300ms ease-in 300ms",zIndex:99999},imageInitComputedStyle:{width:0,height:0}},g=(o=r=function(e){function c(e){m(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));t.handleImageClick=function(e){t.handleBackgroundClick(e)},t.handleBackgroundClick=function(e){e.preventDefault(),e.stopPropagation(),t.state.isViewing&&(document.body.style.height="",document.body.style.overflow="",document.body.ontouchmove=function(){return!0},t.setState({isViewing:!1,imageComputedStyle:b.imageInitComputedStyle})),setTimeout(function(){h&&h.hide()},300)};var n=t.getInitAttributes(),r=n.left,o=n.top,a=n.width,i=n.height;return b.imageInitComputedStyle={width:a,height:i,transform:"translate3d("+r+"px, "+o+"px, 0) scale3d(1, 1, 1)"},t.zoomIn=!1,t.state={isLoaded:!1,isViewing:!1,imageComputedStyle:b.imageInitComputedStyle},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,u["Component"]),d(c,[{key:"componentDidMount",value:function(){var e=this;this.$preload.addEventListener("load",function(){e.setState({isLoaded:!0}),e.computeImagePosition(),!e.state.isViewing&&e.state.isLoaded&&(document.body.style.height="100%",document.body.style.overflow="hidden",document.body.ontouchmove=function(e){return e.preventDefault()},e.setState({isViewing:!0}))})}},{key:"componentWillUnmount",value:function(){document.body.ontouchmove=function(){return!0}}},{key:"getInitAttributes",value:function(){var e=this.props.imageTarget;return{top:i()(e).offset().top-i()(document).scrollTop(),left:i()(e).offset().left,width:i()(e).width(),height:i()(e).height()}}},{key:"getStyle",value:function(e){return this.$container.ownerDocument.defaultView.getComputedStyle(this.$container,null)[e]}},{key:"getSize",value:function(){var e=document.createElement("img");return e.src=this.imageUrl,{width:e.hasOwnProperty("naturalWidth")?e.naturalWidth:e.width,height:e.hasOwnProperty("naturalHeight")?e.naturalHeight:e.height}}},{key:"computeImagePosition",value:function(){parseFloat(this.getStyle("width")),parseFloat(this.getStyle("height"));var e,t,n=this.getSize(),r=this.screenSize={width:window.innerWidth,height:window.innerHeight},o=this.imageAspectRatio=n.width/n.height;r.width/r.height<o?t=(e=r.width*v)/o:b.imageInitComputedStyle.height>r.height?t=(e=Math.min(1.6*n.width,r.width))/o:e=(t=r.height*v)*o;var a=.92*e/b.imageInitComputedStyle.width,i=.92*t/b.imageInitComputedStyle.height,c=(this.screenSize.width-b.imageInitComputedStyle.width)/2,u=(this.screenSize.height-b.imageInitComputedStyle.height)/2;b.imageInitComputedStyle.height>r.height&&(u=(.92*t-b.imageInitComputedStyle.height)/2),this.setState({imageComputedStyle:p({},this.state.imageComputedStyle,{transform:"translate3d("+c+"px, "+u+"px, 0) scale3d("+a+", "+i+", 1)"})})}},{key:"render",value:function(){var t=this,e=this.imageUrl,n=(this.props.imageTarget,this.state),r=n.isViewing,o=n.imageComputedStyle,a=(n.translateX,n.translateY,n.heightScale,n.widthScale,p({},b.imageStyle,{backgroundImage:'url("'+e+'")'},o));return s.a.createElement("div",{style:b.containerStyle,ref:function(e){return t.$container=e}},s.a.createElement("div",{style:b.backgroundStyle(r?y:0),onClick:this.handleBackgroundClick},s.a.createElement("div",{style:a,ref:function(e){return t.$image=e},onClick:this.handleImageClick})),s.a.createElement("img",{src:e,style:{display:"none"},alt:"preload",ref:function(e){return t.$preload=e}}))}},{key:"imageUrl",get:function(){var e=String(this.props.imageUrl);return e.endsWith(".webp")?e+"?imageView2/format/jpg":e}}]),c}(),r.propTypes={imageUrl:l.a.string.isRequired,imageTarget:l.a.object.isRequired},o),w=function(){function t(e){m(this,t),this.dom=null,this.component=e,this.instance=null,h=this}return d(t,[{key:"show",value:function(e){this.dom||(this.dom=document.createElement("div"),document.body.appendChild(this.dom)),this.instance=n.i(f.render)(s.a.createElement(this.component,e),this.dom)}},{key:"hide",value:function(){this.instance&&n.i(f.unmountComponentAtNode)(this.dom),this.instance=null}},{key:"isShow",value:function(){return null!=this.instance}}]),t}();t.a=new w(g)},"9tGT":function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="mod-banner",i="mod-recent-activities",c="mod-golden-banner",u="mod-handpicked-clips",s="mod-pop-speakers",l="mod-hot-topics",f="mod-activity-partners",p="mod-image-gallery";r={},o(r,a,{id:a,label:"Banner \u5934\u56fe",storedKey:"SALON_HOME_banner"}),o(r,i,{id:i,label:"\u8fd1\u671f\u6d3b\u52a8",storedKey:"SALON_HOME_recent_activities"}),o(r,c,{id:c,label:"\u4e3b\u63a8 Banner",storedKey:"SALON_HOME_golden_banner"}),o(r,u,{id:u,label:"\u4f18\u9009\u89c6\u9891",storedKey:"SALON_HOME_handpicked_clips"}),o(r,s,{id:s,label:"\u4eba\u6c14\u8bb2\u5e08",storedKey:"SALON_HOME_pop_speakers"}),o(r,l,{id:l,label:"\u70ed\u95e8\u4e3b\u9898",storedKey:"SALON_HOME_hot_topics"}),o(r,f,{id:f,label:"\u6d3b\u52a8\u5408\u4f5c\u4f19\u4f34",storedKey:"HOME_activity_partners"}),o(r,p,{id:p,label:"\u56fe\u7247\u753b\u5eca",storedKey:"SALON_HOME_image_gallery"})},"9uWT":function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return s});var a={HOT:"default",TIMELINE:"created"},i=a.HOT,c=a.TIMELINE,u=i,s={list:[i,c],entities:(r={},o(r,i,{id:i,name:"\u70ed\u95e8\u6392\u5e8f"}),o(r,c,{id:c,name:"\u65f6\u95f4\u6392\u5e8f"}),r)}},"9wpL":function(e,t,n){"use strict";var r=n("OH64");n.d(t,"a",function(){return r.a})},"9y8R":function(e,t,n){"use strict";var r=n("lQKY");n.d(t,"a",function(){return r.a})},"9zzJ":function(e,t,n){"use strict";n("sefv")},A4of:function(e,t,n){"use strict";e.exports=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}},A7gK:function(e,t,n){"use strict";var r=n("23Fl");n.d(t,"a",function(){return r.a})},"AD/F":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={get:function(e){try{return JSON.parse(localStorage.getItem(e))}catch(e){return}},set:function(e,t){if(!this.isSupport())return!1;try{return localStorage.setItem(e,JSON.stringify(t)),!0}catch(e){return!1}},del:function(e){if(!this.isSupport())return!1;try{return localStorage.removeItem(e),!0}catch(e){return!1}},isSupport:function(){try{var e="whatever";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}}},AGmQ:function(e,t,n){"use strict";var r=n("D3/M");n.d(t,"a",function(){return r.a})},ANM9:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),a=n.n(r),o=n("rdLu"),i=n.n(o),c=n("pwtL"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.question,n=e.answer,r=e.message;if(!n||i.a.isEmpty(n)||!t||!r)return null;var o=n.brief?n.brief.length<80?n.brief:n.brief.substring(0,80)+"...":n.content.length<80?n.content:n.content.substring(0,80)+"...";return a.a.createElement(c.AskLink,{questionId:t.id,answerId:n.id,title:o})}}]),t}()},Afcq:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("Dj2J"),o=[],a={},i={};function c(e){return(i[e]||{}).name||""}function u(e){return(i[e]||{}).name||""}r.a.forEach(function(e){var t=e.id,n=e.name,r=e.children;o.push({id:t,name:n}),a[t]=r||[],i[t]={id:t,name:n},Array.isArray(r)&&r.forEach(function(e){var t=e.id,n=e.name;i[t]={id:t,name:n}})});var s={provinceList:o,cityMap:a,dataMap:i,getProvinceName:u,getCityName:c,getProvinceInfo:function(e){return{id:e||-1,name:u(e)}},getCityInfo:function(e){var t=c(e);return t&&!String(t).endsWith("\u5e02")&&(t+="\u5e02"),{id:e||-1,name:t}}}},AgdZ:function(e,t,n){"use strict";t.a=function(e){return/^[1-9]{1}[0-9]{4,10}$/.test(String(e))}},AixO:function(e,t,n){"use strict";t.a=function(e){var t=e.page,n=e.pageSize,r={pageNumber:t,pageSize:n};return o.call("FetchCategory",r)},t.b=function(e){var t=e.pageNumber,n=e.pageSize,r={pageNumber:t,pageSize:n};return o.call("FetchCategoiesWithMap",r)};var o=new(n("cT2K").a)("column/category")},ApRw:function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n,r,o=a(0),i=a.n(o),c=a("KSGD"),u=a.n(c),s=a("xt0B"),l=a("pwtL"),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),p(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.style,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["user","style"]),o=t.avatar;return i.a.createElement(l.UserLink,f({user:t,className:"com-media-object"},r),i.a.createElement("span",{className:"com-media-img",style:f({backgroundImage:"url("+a.i(s.getThumbnailUrl)(o,36)+")"},n)}))}}]),t}(),n.propTypes={user:u.a.object.isRequired,style:u.a.object},r)},AswU:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var L=A("YYEd"),n=A("I7S0"),D=A("PDeP"),M=A("tnkD"),B=A("rTSy"),U=A("qzIt");function q(e,t,n){return e.left<n.left||e.left+t.width>n.right}function F(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function H(e,t,n){var r=[];return L.a.each(e,function(e){r.push(e.replace(t,function(e){return n[e]}))}),r}function W(e,t){return e[t]=-e[t],e}function r(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function G(e,t){e[0]=r(e[0],t.width),e[1]=r(e[1],t.height)}function o(e,t,n){var r=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],i=n.overflow,c=n.target||t,u=n.source||e;o=[].concat(o),a=[].concat(a),i=i||{};var s={},l=0,f=A.i(D.a)(u),p=A.i(B.a)(u),d=A.i(B.a)(c);G(o,p),G(a,d);var m,h,v,y,b,g,w,E,O,k=A.i(U.a)(p,d,r,o,a),_=L.a.merge(p,k),C=(m=c,h=A.i(D.a)(m),v=A.i(B.a)(m),!(!h||v.left+v.width<=h.left||v.top+v.height<=h.top||v.left>=h.right||v.top>=h.bottom));if(f&&(i.adjustX||i.adjustY)&&C){if(i.adjustX&&q(k,p,f)){var N=H(r,/[lr]/gi,{l:"r",r:"l"}),T=W(o,0),S=W(a,0),P=A.i(U.a)(p,d,N,T,S);E=p,O=f,(w=P).left>O.right||w.left+E.width<O.left||(l=1,r=N,o=T,a=S)}if(i.adjustY&&F(k,p,f)){var R=H(r,/[tb]/gi,{t:"b",b:"t"}),I=W(o,1),j=W(a,1),x=A.i(U.a)(p,d,R,I,j);b=p,g=f,(y=x).top>g.bottom||y.top+b.height<g.top||(l=1,r=R,o=I,a=j)}l&&(k=A.i(U.a)(p,d,r,o,a),L.a.mix(_,k)),s.adjustX=i.adjustX&&q(k,p,f),s.adjustY=i.adjustY&&F(k,p,f),(s.adjustX||s.adjustY)&&(_=A.i(M.a)(k,p,f,s))}return _.width!==p.width&&L.a.css(u,"width",L.a.width(u)+_.width-p.width),_.height!==p.height&&L.a.css(u,"height",L.a.height(u)+_.height-p.height),L.a.offset(u,{left:_.left,top:_.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform}),{points:r,offset:o,targetOffset:a,overflow:s}}o.__getOffsetParent=n.a,o.__getVisibleRectForElement=D.a,t.default=o},AuSE:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={DEFAULT:"default",STACKOVERFLOW:"stackoverflow"}},B0y3:function(e,t,n){"use strict";var r=n("cT2K");n("u8nw");var a=new r.a("team/post");var o,i;o=regeneratorRuntime.mark(function e(t){var n,r,o=t.postId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={postIds:o},e.next=4,a.accumulate("BatchCheckPostsLike",n);case 4:return r=e.sent,e.abrupt("return",r.includes(o));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}},e,this,[[0,8]])}),i=function(){var c=o.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}},B6mO:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a,c=n(0),u=n.n(c),i=n("KSGD"),s=n.n(i),l=n("HW6M"),f=n.n(l),p=n("qFNz"),d=n("pwtL"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v="hover",y=n.i(p.a)((a=o=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=h(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={open:!1},n.toggleOpen=function(){return n.setState(function(e){return{open:!e.open}})},n.handleClickOutside=function(){return n.setState({open:!1})},h(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,c["Component"]),m(i,[{key:"render",value:function(){var e=this.props,t=e.triggerType,n=e.label,r=e.children,o=this.state.open,a=t===v;return u.a.createElement("div",{className:a?"c-bubble-trigger":f()("c-bubble-trigger disable-hover",{"show-bubble":o}),onClick:a?null:this.toggleOpen},u.a.createElement(d.Link,{className:"c-bubble-trigger-btn"},n),u.a.createElement("div",{className:"c-bubble c-bubble-top"},u.a.createElement("div",{className:"c-bubble-inner"},u.a.createElement("ul",{className:"qa-dropdown-menu"},r))))}}]),i}(),o.propTypes={label:s.a.string},o.defaultProps={triggerType:v,label:""},r=a))||r},BCap:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-3-section-hd-extra"},t)};var r=n(0),o=n.n(r)},BEIP:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("+YMs"),l=n("pwtL"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var t=this,e=this.props,n=e.title,r=e.bubblePlacement,o=[i.a.createElement("div",{key:"qrcode",ref:function(e){return t.qrcodeElement=e},className:"qr-img"}),i.a.createElement("p",{key:"title",className:"qr-txt"},n)];return i.a.createElement(l.SimpleBubble,{content:o,placement:r},i.a.createElement(l.Link,{className:"opt-item"},i.a.createElement("i",{className:"opt-icon wechat"})))}},{key:"componentDidMount",value:function(){var e=this.props,t=e.shareOptions,n=void 0===t?{}:t,r=e.qrCodeSize,o=this.qrcodeElement;o&&new s.QRCode(o,{text:n.url,width:r,height:r})}}]),t}(),r.propTypes={title:u.a.string.isRequired,shareOptions:u.a.shape({url:u.a.string.isRequired}).isRequired,qrCodeSize:u.a.number,bubblePlacement:u.a.string},r.defaultProps={qrCodeSize:100,bubblePlacement:"bottom"},o)},BEQ0:function(e,t,n){"use strict";var u=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))s.call(n,i)&&(o[i]=n[i]);if(u){r=u(n);for(var c=0;c<r.length;c++)l.call(n,r[c])&&(o[r[c]]=n[r[c]])}}return o}},BIub:function(e,t,n){"use strict";t.a=function(e){var t=e.content,n=void 0===t?"\u6ca1\u6709\u66f4\u591a\u5185\u5bb9":t;return o.a.createElement("div",{className:"c-loading c-loading-tip m"},o.a.createElement("span",{className:"com-weak-text"},n))};var r=n(0),o=n.n(r)},"Bj/7":function(e,t,n){var p=n("iDEd"),d=n("ZE5A");e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!p.string(t))throw new TypeError("Second argument must be a String");if(!p.fn(n))throw new TypeError("Third argument must be a Function");if(p.node(e))return l=t,f=n,(s=e).addEventListener(l,f),{destroy:function(){s.removeEventListener(l,f)}};if(p.nodeList(e))return i=e,c=t,u=n,Array.prototype.forEach.call(i,function(e){e.addEventListener(c,u)}),{destroy:function(){Array.prototype.forEach.call(i,function(e){e.removeEventListener(c,u)})}};if(p.string(e))return r=e,o=t,a=n,d(document.body,r,o,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var r,o,a,i,c,u,s,l,f}},Bob8:function(e,t,n){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n=void 0===t?"about:_blank":t,r=e.name,o=e.width,a=void 0===o?800:o,i=e.height,c=void 0===i?600:i,u=window.screen,s=u.width,l=u.height,f=(s-a)/2,p=(l-c)/2;return window.open(n,r,"left="+f+",top="+p+",width="+a+",height="+c)}},BwfY:function(e,t,n){n("fWfb"),n("M6a0"),n("OYls"),n("QWe/"),e.exports=n("FeBl").Symbol},C4MV:function(e,t,n){e.exports={default:n("9bBU"),__esModule:!0}},Clx7:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("Vgyu"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=(o=r=function(e){function i(){var e,t,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=o=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(r)))).handleKeyDown=function(e){var t=o.props,n=t.onEnter,r=t.onEscape;switch(e.keyCode){case 27:r&&r(e);break;case 13:n&&n(e)}},p(o,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),f(i,[{key:"render",value:function(){var t=this,e=this.props,n=(e.onEnter,e.onEscape,function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["onEnter","onEscape"]));return c.a.createElement(s.a,l({ref:function(e){return e&&(t.focus=function(){return e.focus()})}},n,{onKeyDown:this.handleKeyDown}))}}]),i}(),r.propTypes={onEnter:u.a.func,onEscape:u.a.func},o)},CpS2:function(e,t,n){"use strict";var r=n("O+r0");n.d(t,"a",function(){return r.a})},CqLJ:function(t,n,r){var o;!function(e){"use strict";var w,E,O,k=(w=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,E=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,O=/[^-+\dA-Z]/g,function(e,t,n,r){if(1!==arguments.length||"string"!==(null===(o=e)?"null":void 0===o?"undefined":"object"!=typeof o?typeof o:Array.isArray(o)?"array":{}.toString.call(o).slice(8,-1).toLowerCase())||/\d/.test(e)||(t=e,e=void 0),(e=e||new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var o,a=(t=String(k.masks[t]||t||k.masks.default)).slice(0,4);"UTC:"!==a&&"GMT:"!==a||(t=t.slice(4),n=!0,"GMT:"===a&&(r=!0));var i,c=n?"getUTC":"get",u=e[c+"Date"](),s=e[c+"Day"](),l=e[c+"Month"](),f=e[c+"FullYear"](),p=e[c+"Hours"](),d=e[c+"Minutes"](),m=e[c+"Seconds"](),h=e[c+"Milliseconds"](),v=n?0:e.getTimezoneOffset(),y=function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);var o=(t-n)/6048e5;return 1+Math.floor(o)}(e),b=(0===(i=e.getDay())&&(i=7),i),g={d:u,dd:_(u),ddd:k.i18n.dayNames[s],dddd:k.i18n.dayNames[s+7],m:l+1,mm:_(l+1),mmm:k.i18n.monthNames[l],mmmm:k.i18n.monthNames[l+12],yy:String(f).slice(2),yyyy:f,h:p%12||12,hh:_(p%12||12),H:p,HH:_(p),M:d,MM:_(d),s:m,ss:_(m),l:_(h,3),L:_(Math.round(h/10)),t:p<12?"a":"p",tt:p<12?"am":"pm",T:p<12?"A":"P",TT:p<12?"AM":"PM",Z:r?"GMT":n?"UTC":(String(e).match(E)||[""]).pop().replace(O,""),o:(0<v?"-":"+")+_(100*Math.floor(Math.abs(v)/60)+Math.abs(v)%60,4),S:["th","st","nd","rd"][3<u%10?0:(u%100-u%10!=10)*u%10],W:y,N:b};return t.replace(w,function(e){return e in g?g[e]:e.slice(1,e.length-1)})});function _(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}k.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},k.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},void 0===(o=function(){return k}.call(n,r,n,t))||(t.exports=o)}()},Cwth:function(e,t,n){"use strict";t.a=function(e){var t=e.blocks||[],n=!0,r=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value,u=c.type,s=c.text;if("atomic"===u){var l=c.entityRanges||[];if(0<l.length){var f=l[0],p=f.length;c.text=s.substr(0,p)}}}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return e}},D2L2:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"D3/M":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),u=n.n(a),i=n("KSGD"),c=n.n(i),s=n("HW6M"),l=n.n(s),f=n("2h0h"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=(o=r=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=d(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).onCategoryClick=function(n){return function(e){e.preventDefault();var t=r.props.onCategoryClick;"function"==typeof t&&t({id:n})}},d(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),p(i,[{key:"render",value:function(){var a=this,e=this.props,t=e.categoryList,i=e.activeCategoryId,n=e.className,r=e.titleClassName,o=e.children,c=e.hotrep;return u.a.createElement("div",{className:l()("com-tab",n)},u.a.createElement("div",{className:l()("com-tab-hd",r)},u.a.createElement("ul",{className:"com-tab-ctrl"},t.map(function(e,t){var n=e.id,r=e.name,o=n===i;return u.a.createElement("li",{key:n,className:l()("com-tab-item",{actived:o}),onClick:a.onCategoryClick(n)},u.a.createElement(f.a,{"data-state":n.slice(1),"data-route":n,hotrep:c+"."+t},r))}))),o&&u.a.createElement("div",{className:"com-tab-bd"},u.a.createElement("div",{className:"com-tab-panel"},o)))}}]),i}(),r.propTypes={categoryList:c.a.arrayOf(c.a.shape({id:c.a.oneOfType([c.a.number,c.a.string]).isRequired,name:c.a.string.isRequired})).isRequired,activeCategoryId:c.a.oneOfType([c.a.number,c.a.string]).isRequired,onCategoryClick:c.a.func,className:c.a.string,titleClassName:c.a.string,children:c.a.any,hotrep:c.a.string},o)},DACe:function(e,t,n){"use strict";var r=n("Zrlr"),o=n.n(r),a=n("wxAW"),i=n.n(a),c=n("zwoO"),u=n.n(c),s=n("Pf15"),l=n.n(s),f=n(0),p=n.n(f),d=n("KSGD"),m=n.n(d),h=n("u+bl"),v=function(e){function t(){return o()(this,t),u()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l()(t,e),i()(t,[{key:"render",value:function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),p.a.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,style:e.style},p.a.createElement(h.a,{className:e.prefixCls+"-content",visible:e.visible},e.children))}}]),t}(f.Component);v.propTypes={hiddenClassName:m.a.string,className:m.a.string,prefixCls:m.a.string,onMouseEnter:m.a.func,onMouseLeave:m.a.func,children:m.a.any},t.a=v},DHb2:function(e,t,n){"use strict";t.b=function(e){var t=e.msgId,n=e.isAll;return r.call("MarkNotifierAsReaded",{msgId:t,isAll:n})},t.c=function(){return r.call("FetchNotifierBox")},t.d=function(){return r.call("FetchNotifierUnreadNumber")},t.a=function(e){var t=e.msgId,n=e.inviteCode;return r.call("MarkNotifierAccepted",{msgId:t,inviteCode:n})},t.e=function(e){var t=e.content;return r.call("AppealUserBanned",{content:t})};var r=new(n("cT2K").a)("inbox")},DOvb:function(e,t,n){"use strict";var r=n("rdLu");n.n(r),n("5D+V")},DQCr:function(e,t,n){"use strict";var a=n("cGG2");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(a.isURLSearchParams(t))r=t.toString();else{var o=[];a.forEach(t,function(e,t){null!=e&&(a.isArray(e)&&(t+="[]"),a.isArray(e)||(e=[e]),a.forEach(e,function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),o.push(i(t)+"="+i(e))}))}),r=o.join("&")}return r&&(e+=(-1===e.indexOf("?")?"?":"&")+r),e}},"DT0+":function(e,t,n){"use strict";var r=n(0),o=n("wqO5");if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},Dc8r:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o=n(2),s=n.n(o),l=n("rdLu"),a=(n.n(l),n(0)),c=n.n(a),i=n(3),u=(n.n(i),n("HW6M")),f=n.n(u),p=n("nfin"),d=n("pwtL"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=[{key:"column",name:"\u4e13\u680f",path:"/column",pattern:/^\/(?:column|article)s?\/?/},{key:"ask",name:"\u95ee\u7b54",path:"/ask",pattern:/^\/ask\//},{key:"salon",name:"\u6c99\u9f99",path:"/salon",pattern:/^\/salon\//},{key:"news",name:"\u5feb\u8baf",path:"/news",pattern:/^\/(news|topics)\//},{key:"teams",name:"\u56e2\u961f\u4e3b\u9875",path:"/teams",pattern:/^\/(?:teams?|post)\//},{key:"devdocs",name:"\u5f00\u53d1\u8005\u624b\u518c",path:"/devdocs",pattern:/^\/(?:devdocs|doc|chapter|section)\/?/},{key:"timl",name:"\u667a\u80fd\u949bAI",path:"/timl",pattern:/^\/timl\//},{key:"edu",name:"\u5728\u7ebf\u5b66\u4e60\u4e2d\u5fc3",path:"~/edu/learning?ADTAG=sq.bar",linkTarget:"_blank",prependDivider:!0},{key:"tvp",name:"TVP",path:"~/tvp",linkTarget:"_blank"}],y=n.i(i.connect)(function(e){return{currentPath:e.route.pathname.replace(p.b,"")||"/"}},null)(r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=h(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={expandedNavList:v,collapsedNavList:[],showMore:!1},n.rootRef=c.a.createRef(),h(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),m(i,[{key:"render",value:function(){var t=this,e=this.state,n=e.expandedNavList,r=e.collapsedNavList,o=e.showMore;return c.a.createElement("div",{ref:this.rootRef,className:"c-nav-bm-categories"},c.a.createElement("ul",{className:"c-nav-list"},n.map(function(e){return c.a.createElement(a.Fragment,{key:e.key},e.prependDivider&&c.a.createElement("li",{className:"presentation split-item"}),c.a.createElement("li",{className:f()("presentation",{curr:t.shouldHighlight(e)})},c.a.createElement(b,{item:e})))}),0<r.length&&c.a.createElement("li",{className:"presentation more",onMouseEnter:function(){return t.setState({showMore:!0})},onMouseLeave:function(){return t.setState({showMore:!1})}},c.a.createElement("div",{className:"c-nav-dropdown-btn"},c.a.createElement(d.Link,{className:"c-nav-dropdown-btn-inner"},c.a.createElement("span",{className:"nav-dropdown-btn-txt"},"\u66f4\u591a")),o&&c.a.createElement("div",{className:"c-bubble c-bubble-top"},c.a.createElement("div",{className:"c-bubble-inner"},c.a.createElement("div",{className:"nav-dropdown-mini"},c.a.createElement("div",{className:"dropdown-mini-inner"},c.a.createElement("div",{className:"dropdown-mini-list"},c.a.createElement("ul",null,r.map(function(e){return c.a.createElement("li",{key:e.key,className:f()("dropdown-mini-item",{curr:t.shouldHighlight(e)})},c.a.createElement(b,{item:e}))})))))))))))}},{key:"componentDidMount",value:function(){this.run()}},{key:"shouldComponentUpdate",value:function(e,t){var n=this.state,r=n.expandedNavList,o=n.showMore;return t.expandedNavList.length!==r.length||t.showMore!==o}},{key:"run",value:function(){var a=this,e=s()(window),i=s()(this.rootRef.current),c=s()(".J-headerBottomRight"),u=i.width(),t=n.i(l.throttle)(function(){var e=i.width();if(e){u||(u=e);var t=Math.round(u/v.length),n=i.offset().left+u-c.offset().left;if(n<=0)a.setState({expandedNavList:v,collapsedNavList:[]});else{var r=Math.ceil(n/t)+1,o=Math.max(1,v.length-r);a.setState({expandedNavList:v.slice(0,o),collapsedNavList:v.slice(o)})}}else a.setState({expandedNavList:v,collapsedNavList:[]})},40,{leading:!0,trailing:!0});t(),e.on("resize.header-navbar",t)}},{key:"shouldHighlight",value:function(e){var t=e.path,n=e.pattern,r=this.props.currentPath;return t===r||n&&n.test(r)}}]),i}())||r;function b(e){var t=e.item,n=t.key,r=t.name,o=t.path,a=t.linkTarget;return c.a.createElement(d.Link,{to:o,target:a||null,role:"button",hotrep:"community.header.nav."+n},r)}},Dd8w:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("woOf"),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},Dhkr:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t=o("pwtL"),n=o("xt0B"),r=o("PNJI");e.Commons={components:t,helpers:n,lib:r}}.call(t,o("DuR2"))},Dj2J:function(e,t,n){"use strict";t.a=[{id:1001,name:"\u5317\u4eac"},{id:1003,name:"\u5929\u6d25"},{id:1005,name:"\u6cb3\u5317\u7701",children:[{id:1006,name:"\u77f3\u5bb6\u5e84\u5e02"},{id:1007,name:"\u5510\u5c71\u5e02"},{id:1008,name:"\u79e6\u7687\u5c9b\u5e02"},{id:1009,name:"\u90af\u90f8\u5e02"},{id:1010,name:"\u90a2\u53f0\u5e02"},{id:1011,name:"\u4fdd\u5b9a\u5e02"},{id:1012,name:"\u5f20\u5bb6\u53e3\u5e02"},{id:1013,name:"\u627f\u5fb7\u5e02"},{id:1014,name:"\u6ca7\u5dde\u5e02"},{id:1015,name:"\u5eca\u574a\u5e02"},{id:1016,name:"\u8861\u6c34\u5e02"}]},{id:1017,name:"\u5c71\u897f\u7701",children:[{id:1018,name:"\u592a\u539f\u5e02"},{id:1019,name:"\u5927\u540c\u5e02"},{id:1020,name:"\u9633\u6cc9\u5e02"},{id:1021,name:"\u957f\u6cbb\u5e02"},{id:1022,name:"\u664b\u57ce\u5e02"},{id:1023,name:"\u6714\u5dde\u5e02"},{id:1024,name:"\u664b\u4e2d\u5e02"},{id:1025,name:"\u8fd0\u57ce\u5e02"},{id:1026,name:"\u5ffb\u5dde\u5e02"},{id:1027,name:"\u4e34\u6c7e\u5e02"},{id:1028,name:"\u5415\u6881\u5e02"}]},{id:1029,name:"\u5185\u8499\u53e4\u81ea\u6cbb\u533a",children:[{id:1030,name:"\u547c\u548c\u6d69\u7279\u5e02"},{id:1031,name:"\u5305\u5934\u5e02"},{id:1032,name:"\u4e4c\u6d77\u5e02"},{id:1033,name:"\u8d64\u5cf0\u5e02"},{id:1034,name:"\u901a\u8fbd\u5e02"},{id:1035,name:"\u9102\u5c14\u591a\u65af\u5e02"},{id:1036,name:"\u547c\u4f26\u8d1d\u5c14\u5e02"},{id:1037,name:"\u5df4\u5f66\u6dd6\u5c14\u5e02"},{id:1038,name:"\u4e4c\u5170\u5bdf\u5e03\u5e02"},{id:1039,name:"\u5174\u5b89\u76df"},{id:1040,name:"\u9521\u6797\u90ed\u52d2\u76df"},{id:1041,name:"\u963f\u62c9\u5584\u76df"}]},{id:1042,name:"\u8fbd\u5b81\u7701",children:[{id:1043,name:"\u6c88\u9633\u5e02"},{id:1044,name:"\u5927\u8fde\u5e02"},{id:1045,name:"\u978d\u5c71\u5e02"},{id:1046,name:"\u629a\u987a\u5e02"},{id:1047,name:"\u672c\u6eaa\u5e02"},{id:1048,name:"\u4e39\u4e1c\u5e02"},{id:1049,name:"\u9526\u5dde\u5e02"},{id:1050,name:"\u8425\u53e3\u5e02"},{id:1051,name:"\u961c\u65b0\u5e02"},{id:1052,name:"\u8fbd\u9633\u5e02"},{id:1053,name:"\u76d8\u9526\u5e02"},{id:1054,name:"\u94c1\u5cad\u5e02"},{id:1055,name:"\u671d\u9633\u5e02"},{id:1056,name:"\u846b\u82a6\u5c9b\u5e02"}]},{id:1057,name:"\u5409\u6797\u7701",children:[{id:1058,name:"\u957f\u6625\u5e02"},{id:1059,name:"\u5409\u6797\u5e02"},{id:1060,name:"\u56db\u5e73\u5e02"},{id:1061,name:"\u8fbd\u6e90\u5e02"},{id:1062,name:"\u901a\u5316\u5e02"},{id:1063,name:"\u767d\u5c71\u5e02"},{id:1064,name:"\u677e\u539f\u5e02"},{id:1065,name:"\u767d\u57ce\u5e02"},{id:1066,name:"\u5ef6\u8fb9\u671d\u9c9c\u65cf\u81ea\u6cbb\u5dde"}]},{id:1067,name:"\u9ed1\u9f99\u6c5f\u7701",children:[{id:1068,name:"\u54c8\u5c14\u6ee8\u5e02"},{id:1069,name:"\u9f50\u9f50\u54c8\u5c14\u5e02"},{id:1070,name:"\u9e21\u897f\u5e02"},{id:1071,name:"\u9e64\u5c97\u5e02"},{id:1072,name:"\u53cc\u9e2d\u5c71\u5e02"},{id:1073,name:"\u5927\u5e86\u5e02"},{id:1074,name:"\u4f0a\u6625\u5e02"},{id:1075,name:"\u4f73\u6728\u65af\u5e02"},{id:1076,name:"\u4e03\u53f0\u6cb3\u5e02"},{id:1077,name:"\u7261\u4e39\u6c5f\u5e02"},{id:1078,name:"\u9ed1\u6cb3\u5e02"},{id:1079,name:"\u7ee5\u5316\u5e02"},{id:1080,name:"\u5927\u5174\u5b89\u5cad\u5730\u533a"}]},{id:1081,name:"\u4e0a\u6d77"},{id:1083,name:"\u6c5f\u82cf\u7701",children:[{id:1084,name:"\u5357\u4eac\u5e02"},{id:1085,name:"\u65e0\u9521\u5e02"},{id:1086,name:"\u5f90\u5dde\u5e02"},{id:1087,name:"\u5e38\u5dde\u5e02"},{id:1088,name:"\u82cf\u5dde\u5e02"},{id:1089,name:"\u5357\u901a\u5e02"},{id:1090,name:"\u8fde\u4e91\u6e2f\u5e02"},{id:1091,name:"\u6dee\u5b89\u5e02"},{id:1092,name:"\u76d0\u57ce\u5e02"},{id:1093,name:"\u626c\u5dde\u5e02"},{id:1094,name:"\u9547\u6c5f\u5e02"},{id:1095,name:"\u6cf0\u5dde\u5e02"},{id:1096,name:"\u5bbf\u8fc1\u5e02"}]},{id:1097,name:"\u6d59\u6c5f\u7701",children:[{id:1098,name:"\u676d\u5dde\u5e02"},{id:1099,name:"\u5b81\u6ce2\u5e02"},{id:1100,name:"\u6e29\u5dde\u5e02"},{id:1101,name:"\u5609\u5174\u5e02"},{id:1102,name:"\u6e56\u5dde\u5e02"},{id:1103,name:"\u7ecd\u5174\u5e02"},{id:1104,name:"\u91d1\u534e\u5e02"},{id:1105,name:"\u8862\u5dde\u5e02"},{id:1106,name:"\u821f\u5c71\u5e02"},{id:1107,name:"\u53f0\u5dde\u5e02"},{id:1108,name:"\u4e3d\u6c34\u5e02"}]},{id:1109,name:"\u5b89\u5fbd\u7701",children:[{id:1110,name:"\u5408\u80a5\u5e02"},{id:1111,name:"\u829c\u6e56\u5e02"},{id:1112,name:"\u868c\u57e0\u5e02"},{id:1113,name:"\u6dee\u5357\u5e02"},{id:1114,name:"\u9a6c\u978d\u5c71\u5e02"},{id:1115,name:"\u6dee\u5317\u5e02"},{id:1116,name:"\u94dc\u9675\u5e02"},{id:1117,name:"\u5b89\u5e86\u5e02"},{id:1118,name:"\u9ec4\u5c71\u5e02"},{id:1119,name:"\u6ec1\u5dde\u5e02"},{id:1120,name:"\u961c\u9633\u5e02"},{id:1121,name:"\u5bbf\u5dde\u5e02"},{id:1122,name:"\u516d\u5b89\u5e02"},{id:1123,name:"\u4eb3\u5dde\u5e02"},{id:1124,name:"\u6c60\u5dde\u5e02"},{id:1125,name:"\u5ba3\u57ce\u5e02"}]},{id:1126,name:"\u798f\u5efa\u7701",children:[{id:1127,name:"\u798f\u5dde\u5e02"},{id:1128,name:"\u53a6\u95e8\u5e02"},{id:1129,name:"\u8386\u7530\u5e02"},{id:1130,name:"\u4e09\u660e\u5e02"},{id:1131,name:"\u6cc9\u5dde\u5e02"},{id:1132,name:"\u6f33\u5dde\u5e02"},{id:1133,name:"\u5357\u5e73\u5e02"},{id:1134,name:"\u9f99\u5ca9\u5e02"},{id:1135,name:"\u5b81\u5fb7\u5e02"}]},{id:1136,name:"\u6c5f\u897f\u7701",children:[{id:1137,name:"\u5357\u660c\u5e02"},{id:1138,name:"\u666f\u5fb7\u9547\u5e02"},{id:1139,name:"\u840d\u4e61\u5e02"},{id:1140,name:"\u4e5d\u6c5f\u5e02"},{id:1141,name:"\u65b0\u4f59\u5e02"},{id:1142,name:"\u9e70\u6f6d\u5e02"},{id:1143,name:"\u8d63\u5dde\u5e02"},{id:1144,name:"\u5409\u5b89\u5e02"},{id:1145,name:"\u5b9c\u6625\u5e02"},{id:1146,name:"\u629a\u5dde\u5e02"},{id:1147,name:"\u4e0a\u9976\u5e02"}]},{id:1148,name:"\u5c71\u4e1c\u7701",children:[{id:1149,name:"\u6d4e\u5357\u5e02"},{id:1150,name:"\u9752\u5c9b\u5e02"},{id:1151,name:"\u6dc4\u535a\u5e02"},{id:1152,name:"\u67a3\u5e84\u5e02"},{id:1153,name:"\u4e1c\u8425\u5e02"},{id:1154,name:"\u70df\u53f0\u5e02"},{id:1155,name:"\u6f4d\u574a\u5e02"},{id:1156,name:"\u6d4e\u5b81\u5e02"},{id:1157,name:"\u6cf0\u5b89\u5e02"},{id:1158,name:"\u5a01\u6d77\u5e02"},{id:1159,name:"\u65e5\u7167\u5e02"},{id:1160,name:"\u83b1\u829c\u5e02"},{id:1161,name:"\u4e34\u6c82\u5e02"},{id:1162,name:"\u5fb7\u5dde\u5e02"},{id:1163,name:"\u804a\u57ce\u5e02"},{id:1164,name:"\u6ee8\u5dde\u5e02"},{id:1165,name:"\u83cf\u6cfd\u5e02"}]},{id:1166,name:"\u6cb3\u5357\u7701",children:[{id:1167,name:"\u90d1\u5dde\u5e02"},{id:1168,name:"\u5f00\u5c01\u5e02"},{id:1169,name:"\u6d1b\u9633\u5e02"},{id:1170,name:"\u5e73\u9876\u5c71\u5e02"},{id:1171,name:"\u5b89\u9633\u5e02"},{id:1172,name:"\u9e64\u58c1\u5e02"},{id:1173,name:"\u65b0\u4e61\u5e02"},{id:1174,name:"\u7126\u4f5c\u5e02"},{id:1175,name:"\u6fee\u9633\u5e02"},{id:1176,name:"\u8bb8\u660c\u5e02"},{id:1177,name:"\u6f2f\u6cb3\u5e02"},{id:1178,name:"\u4e09\u95e8\u5ce1\u5e02"},{id:1179,name:"\u5357\u9633\u5e02"},{id:1180,name:"\u5546\u4e18\u5e02"},{id:1181,name:"\u4fe1\u9633\u5e02"},{id:1182,name:"\u5468\u53e3\u5e02"},{id:1183,name:"\u9a7b\u9a6c\u5e97\u5e02"}]},{id:1184,name:"\u6e56\u5317\u7701",children:[{id:1185,name:"\u6b66\u6c49\u5e02"},{id:1186,name:"\u9ec4\u77f3\u5e02"},{id:1187,name:"\u5341\u5830\u5e02"},{id:1188,name:"\u5b9c\u660c\u5e02"},{id:1189,name:"\u8944\u9633\u5e02"},{id:1190,name:"\u9102\u5dde\u5e02"},{id:1191,name:"\u8346\u95e8\u5e02"},{id:1192,name:"\u5b5d\u611f\u5e02"},{id:1193,name:"\u8346\u5dde\u5e02"},{id:1194,name:"\u9ec4\u5188\u5e02"},{id:1195,name:"\u54b8\u5b81\u5e02"},{id:1196,name:"\u968f\u5dde\u5e02"},{id:1197,name:"\u6069\u65bd\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"}]},{id:1198,name:"\u6e56\u5357\u7701",children:[{id:1199,name:"\u957f\u6c99\u5e02"},{id:1200,name:"\u682a\u6d32\u5e02"},{id:1201,name:"\u6e58\u6f6d\u5e02"},{id:1202,name:"\u8861\u9633\u5e02"},{id:1203,name:"\u90b5\u9633\u5e02"},{id:1204,name:"\u5cb3\u9633\u5e02"},{id:1205,name:"\u5e38\u5fb7\u5e02"},{id:1206,name:"\u5f20\u5bb6\u754c\u5e02"},{id:1207,name:"\u76ca\u9633\u5e02"},{id:1208,name:"\u90f4\u5dde\u5e02"},{id:1209,name:"\u6c38\u5dde\u5e02"},{id:1210,name:"\u6000\u5316\u5e02"},{id:1211,name:"\u5a04\u5e95\u5e02"},{id:1212,name:"\u6e58\u897f\u571f\u5bb6\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"}]},{id:1213,name:"\u5e7f\u4e1c\u7701",children:[{id:1214,name:"\u5e7f\u5dde\u5e02"},{id:1215,name:"\u97f6\u5173\u5e02"},{id:1216,name:"\u6df1\u5733\u5e02"},{id:1217,name:"\u73e0\u6d77\u5e02"},{id:1218,name:"\u6c55\u5934\u5e02"},{id:1219,name:"\u4f5b\u5c71\u5e02"},{id:1220,name:"\u6c5f\u95e8\u5e02"},{id:1221,name:"\u6e5b\u6c5f\u5e02"},{id:1222,name:"\u8302\u540d\u5e02"},{id:1223,name:"\u8087\u5e86\u5e02"},{id:1224,name:"\u60e0\u5dde\u5e02"},{id:1225,name:"\u6885\u5dde\u5e02"},{id:1226,name:"\u6c55\u5c3e\u5e02"},{id:1227,name:"\u6cb3\u6e90\u5e02"},{id:1228,name:"\u9633\u6c5f\u5e02"},{id:1229,name:"\u6e05\u8fdc\u5e02"},{id:1230,name:"\u4e1c\u839e\u5e02"},{id:1231,name:"\u4e2d\u5c71\u5e02"},{id:1232,name:"\u6f6e\u5dde\u5e02"},{id:1233,name:"\u63ed\u9633\u5e02"},{id:1234,name:"\u4e91\u6d6e\u5e02"}]},{id:1235,name:"\u5e7f\u897f\u58ee\u65cf\u81ea\u6cbb\u533a",children:[{id:1236,name:"\u5357\u5b81\u5e02"},{id:1237,name:"\u67f3\u5dde\u5e02"},{id:1238,name:"\u6842\u6797\u5e02"},{id:1239,name:"\u68a7\u5dde\u5e02"},{id:1240,name:"\u5317\u6d77\u5e02"},{id:1241,name:"\u9632\u57ce\u6e2f\u5e02"},{id:1242,name:"\u94a6\u5dde\u5e02"},{id:1243,name:"\u8d35\u6e2f\u5e02"},{id:1244,name:"\u7389\u6797\u5e02"},{id:1245,name:"\u767e\u8272\u5e02"},{id:1246,name:"\u8d3a\u5dde\u5e02"},{id:1247,name:"\u6cb3\u6c60\u5e02"},{id:1248,name:"\u6765\u5bbe\u5e02"},{id:1249,name:"\u5d07\u5de6\u5e02"}]},{id:1250,name:"\u6d77\u5357\u7701",children:[{id:1251,name:"\u6d77\u53e3\u5e02"},{id:1252,name:"\u4e09\u4e9a\u5e02"},{id:1253,name:"\u4e09\u6c99\u5e02"},{id:1254,name:"\u510b\u5dde\u5e02"}]},{id:1255,name:"\u91cd\u5e86"},{id:1257,name:"\u56db\u5ddd\u7701",children:[{id:1258,name:"\u6210\u90fd\u5e02"},{id:1259,name:"\u81ea\u8d21\u5e02"},{id:1260,name:"\u6500\u679d\u82b1\u5e02"},{id:1261,name:"\u6cf8\u5dde\u5e02"},{id:1262,name:"\u5fb7\u9633\u5e02"},{id:1263,name:"\u7ef5\u9633\u5e02"},{id:1264,name:"\u5e7f\u5143\u5e02"},{id:1265,name:"\u9042\u5b81\u5e02"},{id:1266,name:"\u5185\u6c5f\u5e02"},{id:1267,name:"\u4e50\u5c71\u5e02"},{id:1268,name:"\u5357\u5145\u5e02"},{id:1269,name:"\u7709\u5c71\u5e02"},{id:1270,name:"\u5b9c\u5bbe\u5e02"},{id:1271,name:"\u5e7f\u5b89\u5e02"},{id:1272,name:"\u8fbe\u5dde\u5e02"},{id:1273,name:"\u96c5\u5b89\u5e02"},{id:1274,name:"\u5df4\u4e2d\u5e02"},{id:1275,name:"\u8d44\u9633\u5e02"},{id:1276,name:"\u963f\u575d\u85cf\u65cf\u7f8c\u65cf\u81ea\u6cbb\u5dde"},{id:1277,name:"\u7518\u5b5c\u85cf\u65cf\u81ea\u6cbb\u5dde"},{id:1278,name:"\u51c9\u5c71\u5f5d\u65cf\u81ea\u6cbb\u5dde"}]},{id:1279,name:"\u8d35\u5dde\u7701",children:[{id:1280,name:"\u8d35\u9633\u5e02"},{id:1281,name:"\u516d\u76d8\u6c34\u5e02"},{id:1282,name:"\u9075\u4e49\u5e02"},{id:1283,name:"\u5b89\u987a\u5e02"},{id:1284,name:"\u6bd5\u8282\u5e02"},{id:1285,name:"\u94dc\u4ec1\u5e02"},{id:1286,name:"\u9ed4\u897f\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"},{id:1287,name:"\u9ed4\u4e1c\u5357\u82d7\u65cf\u4f97\u65cf\u81ea\u6cbb\u5dde"},{id:1288,name:"\u9ed4\u5357\u5e03\u4f9d\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"}]},{id:1289,name:"\u4e91\u5357\u7701",children:[{id:1290,name:"\u6606\u660e\u5e02"},{id:1291,name:"\u66f2\u9756\u5e02"},{id:1292,name:"\u7389\u6eaa\u5e02"},{id:1293,name:"\u4fdd\u5c71\u5e02"},{id:1294,name:"\u662d\u901a\u5e02"},{id:1295,name:"\u4e3d\u6c5f\u5e02"},{id:1296,name:"\u666e\u6d31\u5e02"},{id:1297,name:"\u4e34\u6ca7\u5e02"},{id:1298,name:"\u695a\u96c4\u5f5d\u65cf\u81ea\u6cbb\u5dde"},{id:1299,name:"\u7ea2\u6cb3\u54c8\u5c3c\u65cf\u5f5d\u65cf\u81ea\u6cbb\u5dde"},{id:1300,name:"\u6587\u5c71\u58ee\u65cf\u82d7\u65cf\u81ea\u6cbb\u5dde"},{id:1301,name:"\u897f\u53cc\u7248\u7eb3\u50a3\u65cf\u81ea\u6cbb\u5dde"},{id:1302,name:"\u5927\u7406\u767d\u65cf\u81ea\u6cbb\u5dde"},{id:1303,name:"\u5fb7\u5b8f\u50a3\u65cf\u666f\u9887\u65cf\u81ea\u6cbb\u5dde"},{id:1304,name:"\u6012\u6c5f\u5088\u50f3\u65cf\u81ea\u6cbb\u5dde"},{id:1305,name:"\u8fea\u5e86\u85cf\u65cf\u81ea\u6cbb\u5dde"}]},{id:1306,name:"\u897f\u85cf\u81ea\u6cbb\u533a",children:[{id:1307,name:"\u62c9\u8428\u5e02"},{id:1308,name:"\u65e5\u5580\u5219\u5e02"},{id:1309,name:"\u660c\u90fd\u5e02"},{id:1310,name:"\u6797\u829d\u5e02"},{id:1311,name:"\u5c71\u5357\u5e02"},{id:1312,name:"\u90a3\u66f2\u5730\u533a"},{id:1313,name:"\u963f\u91cc\u5730\u533a"}]},{id:1314,name:"\u9655\u897f\u7701",children:[{id:1315,name:"\u897f\u5b89\u5e02"},{id:1316,name:"\u94dc\u5ddd\u5e02"},{id:1317,name:"\u5b9d\u9e21\u5e02"},{id:1318,name:"\u54b8\u9633\u5e02"},{id:1319,name:"\u6e2d\u5357\u5e02"},{id:1320,name:"\u5ef6\u5b89\u5e02"},{id:1321,name:"\u6c49\u4e2d\u5e02"},{id:1322,name:"\u6986\u6797\u5e02"},{id:1323,name:"\u5b89\u5eb7\u5e02"},{id:1324,name:"\u5546\u6d1b\u5e02"}]},{id:1325,name:"\u7518\u8083\u7701",children:[{id:1326,name:"\u5170\u5dde\u5e02"},{id:1327,name:"\u5609\u5cea\u5173\u5e02"},{id:1328,name:"\u91d1\u660c\u5e02"},{id:1329,name:"\u767d\u94f6\u5e02"},{id:1330,name:"\u5929\u6c34\u5e02"},{id:1331,name:"\u6b66\u5a01\u5e02"},{id:1332,name:"\u5f20\u6396\u5e02"},{id:1333,name:"\u5e73\u51c9\u5e02"},{id:1334,name:"\u9152\u6cc9\u5e02"},{id:1335,name:"\u5e86\u9633\u5e02"},{id:1336,name:"\u5b9a\u897f\u5e02"},{id:1337,name:"\u9647\u5357\u5e02"},{id:1338,name:"\u4e34\u590f\u56de\u65cf\u81ea\u6cbb\u5dde"},{id:1339,name:"\u7518\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde"}]},{id:1340,name:"\u9752\u6d77\u7701",children:[{id:1341,name:"\u897f\u5b81\u5e02"},{id:1342,name:"\u6d77\u4e1c\u5e02"},{id:1343,name:"\u6d77\u5317\u85cf\u65cf\u81ea\u6cbb\u5dde"},{id:1344,name:"\u9ec4\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde"},{id:1345,name:"\u6d77\u5357\u85cf\u65cf\u81ea\u6cbb\u5dde"},{id:1346,name:"\u679c\u6d1b\u85cf\u65cf\u81ea\u6cbb\u5dde"},{id:1347,name:"\u7389\u6811\u85cf\u65cf\u81ea\u6cbb\u5dde"},{id:1348,name:"\u6d77\u897f\u8499\u53e4\u65cf\u85cf\u65cf\u81ea\u6cbb\u5dde"}]},{id:1349,name:"\u5b81\u590f\u56de\u65cf\u81ea\u6cbb\u533a",children:[{id:1350,name:"\u94f6\u5ddd\u5e02"},{id:1351,name:"\u77f3\u5634\u5c71\u5e02"},{id:1352,name:"\u5434\u5fe0\u5e02"},{id:1353,name:"\u56fa\u539f\u5e02"},{id:1354,name:"\u4e2d\u536b\u5e02"}]},{id:1355,name:"\u65b0\u7586\u7ef4\u543e\u5c14\u81ea\u6cbb\u533a",children:[{id:1356,name:"\u4e4c\u9c81\u6728\u9f50\u5e02"},{id:1357,name:"\u514b\u62c9\u739b\u4f9d\u5e02"},{id:1358,name:"\u5410\u9c81\u756a\u5e02"},{id:1359,name:"\u54c8\u5bc6\u5e02"},{id:1360,name:"\u660c\u5409\u56de\u65cf\u81ea\u6cbb\u5dde"},{id:1361,name:"\u535a\u5c14\u5854\u62c9\u8499\u53e4\u81ea\u6cbb\u5dde"},{id:1362,name:"\u5df4\u97f3\u90ed\u695e\u8499\u53e4\u81ea\u6cbb\u5dde"},{id:1363,name:"\u963f\u514b\u82cf\u5730\u533a"},{id:1364,name:"\u514b\u5b5c\u52d2\u82cf\u67ef\u5c14\u514b\u5b5c\u81ea\u6cbb\u5dde"},{id:1365,name:"\u5580\u4ec0\u5730\u533a"},{id:1366,name:"\u548c\u7530\u5730\u533a"},{id:1367,name:"\u4f0a\u7281\u54c8\u8428\u514b\u81ea\u6cbb\u5dde"},{id:1368,name:"\u5854\u57ce\u5730\u533a"},{id:1369,name:"\u963f\u52d2\u6cf0\u5730\u533a"}]},{id:1370,name:"\u4e2d\u56fd\u53f0\u6e7e"},{id:1372,name:"\u4e2d\u56fd\u9999\u6e2f"},{id:1374,name:"\u4e2d\u56fd\u6fb3\u95e8"},{id:1375,name:"\u5176\u4ed6"}]},DjDL:function(e,t,n){"use strict";t.a=function(e){var t=e.pageSize,n=void 0===t?3:t,r=e.keyword;return o.call("GetHottestSearchItems",{pageSize:n,keyword:r})};var o=new(n("cT2K").a)("ask/search")},DnI8:function(e,t,y){"use strict";y.d(t,"a",function(){return l});var n,r,o,a=y(0),b=y.n(a),i=y("KSGD"),c=y.n(i),u=y("HW6M"),g=y.n(u),w=y("kbml"),E=y("xt0B"),O=y("pwtL"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=y.i(E.connectSession)()((o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),s(t,[{key:"render",value:function(){var e=this.props,p=e.session,t=e.badge,n=e.inline,d=e.bubblePosition,m=e.showBadgeIds,h=e.hotrep,r=t||{},o=r.list,a=void 0===o?[]:o,i=r.entities,v=void 0===i?{}:i;return a.length?b.a.createElement("ul",{className:g()("com-emblem-list",{inline:n})},a.map(function(e,t){if(!m.includes(e))return null;var n=v[e],r=n.uid,o=n.status,a=n.level,i=w.b[e],c=i.iconClass,u=i.desc,s=i.link,l=0<a?u+": LV "+a:u;if(e===w.c.ORIGINAL_SHARING){var f=y.i(E.getOriginalSharingBadgeDesc)({status:o,level:a,isOwner:p.isLogined&&p.uid===r});c=f.iconClass,l=f.badgeDesc}return b.a.createElement("li",{key:e,className:g()("c-bubble-trigger com-emblem",{disabled:o===w.a.ACHIEVED})},s&&b.a.createElement(O.Link,{to:s,target:"_blank",hotrep:h+"."+t},b.a.createElement("i",{className:g()("com-emblem-icon",c)})),!s&&b.a.createElement("i",{className:g()("com-emblem-icon",c)}),b.a.createElement("div",{className:"c-bubble c-bubble-"+d},b.a.createElement("div",{className:"c-bubble-inner",style:{padding:"8px 10px"}},b.a.createElement("p",null,l))))})):null}}]),t}(),r.propTypes={badge:c.a.shape({list:c.a.array,entities:c.a.object}).isRequired,inline:c.a.bool,bubblePosition:c.a.oneOf(["top","bottom"]),showBadgeIds:c.a.arrayOf(c.a.number),hotrep:c.a.string},r.defaultProps={inline:!1,bubblePosition:"bottom",showBadgeIds:w.d},n=o))||n},DoXO:function(e,t,n){"use strict";var r=n("1LyI");n.d(t,"a",function(){return r.a})},DuR2:function(Bya,Cya){var Dya;Dya=function(){return this}();try{Dya=Dya||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(Dya=window)}Bya.exports=Dya},DvKu:function(e,t,u){"use strict";t.a=function(e){var t=e.className,n=e.content,r=e.transformRaw,o=e.findScrollParent,a=e.from,i=e.source,c=s.a.compose.apply(s.a,function(e){{if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}}([f.unpackRawContent,p.a,p.b,p.c,r||s.a.identity].reverse()))(n);return l.a.createElement(m.a,{className:t,raw:c,onImageClick:function(e,t){d.a.show({imageUrl:t,imageTarget:e.target})},enableImageLazyLoad:!!o,findScrollParent:o,handleImageThumbnail:function(e){return u.i(f.getThumbnailUrl)(e,810)},from:a,source:i})};var n=u("rdLu"),s=u.n(n),r=u(0),l=u.n(r),f=u("xt0B"),p=u("gAWP"),d=u("h8T7"),m=u("ZI17")},E2SJ:function(e,t,n){"use strict";t.a=function(e){return(1<arguments.length&&void 0!==arguments[1]&&arguments[1]?o:r).test(e)},t.b=function(e){var t=a.exec(e);return t&&t[0]};var r=/^(https?:\/\/)(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=,]*)$/,o=/^(?:(https?:\/\/)(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=,]*))?(?:#[^\s"]*)?$/,a=/^(https?:\/\/)(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=,]*)/},EGZi:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},EKta:function(e,t,n){"use strict";t.byteLength=function(e){return 3*e.length/4-f(e)},t.toByteArray=function(e){var t,n,r,o,a,i=e.length;o=f(e),a=new l(3*i/4-o),n=0<o?i-4:i;var c=0;for(t=0;t<n;t+=4)r=s[e.charCodeAt(t)]<<18|s[e.charCodeAt(t+1)]<<12|s[e.charCodeAt(t+2)]<<6|s[e.charCodeAt(t+3)],a[c++]=r>>16&255,a[c++]=r>>8&255,a[c++]=255&r;2===o?(r=s[e.charCodeAt(t)]<<2|s[e.charCodeAt(t+1)]>>4,a[c++]=255&r):1===o&&(r=s[e.charCodeAt(t)]<<10|s[e.charCodeAt(t+1)]<<4|s[e.charCodeAt(t+2)]>>2,a[c++]=r>>8&255,a[c++]=255&r);return a},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o="",a=[],i=0,c=n-r;i<c;i+=16383)a.push(p(e,i,c<i+16383?c:i+16383));1===r?(t=e[n-1],o+=u[t>>2],o+=u[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=u[t>>10],o+=u[t>>4&63],o+=u[t<<2&63],o+="=");return a.push(o),a.join("")};for(var u=[],s=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=r.length;o<a;++o)u[o]=r[o],s[r.charCodeAt(o)]=o;function f(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function p(e,t,n){for(var r,o,a=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],a.push(u[(o=r)>>18&63]+u[o>>12&63]+u[o>>6&63]+u[63&o]);return a.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},EQLI:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=0,i=1,c=2,u=3;o(r={},a,{id:a,title:"\u5168\u90e8"}),o(r,i,{id:i,title:"\u4e13\u680f"}),o(r,c,{id:c,title:"\u95ee\u7b54"}),o(r,u,{id:u,title:"\u5f00\u53d1\u8005\u624b\u518c"})},EaKe:function(e,t,r){"use strict";t.a=function(e){var t=o.b+"/services/ajax/ask/people?"+r.i(i.a)({action:"UploadAvatar",uin:c.a.getUin(),csrfCode:c.a.getCsrfCode()});return r.i(a.a)(t,e,"avatar")},t.b=function(e){var t=o.b+"/services/ajax/image?"+r.i(i.a)({action:"UploadImage",uin:c.a.getUin(),csrfCode:c.a.getCsrfCode()});return r.i(a.a)(t,e,"image")},t.c=function(e,t){var n=o.b+"/services/ajax/image?"+r.i(i.a)({action:"UploadAttachment",uin:c.a.getUin(),csrfCode:c.a.getCsrfCode()});return r.i(a.a)(n,e,"attachment",t)},t.d=function(e){return u.call("SaveHttpImage",{url:e})};var o=r("nfin"),a=r("gv2m"),i=r("bA4d"),n=r("cT2K"),c=r("QNU9"),u=new n.a("image")},Ecpc:function(e,t,n){"use strict";t.a=function(e){return"simple"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"simple")&&/^1\d{10}$/.test(String(e))}},Ed5x:function(e,t,n){"use strict";var r=n("CqLJ"),o=n.n(r);n.d(t,"a",function(){return o.a}),o.a.i18n={dayNames:["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d","\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","\u4e0a\u5348","\u4e0b\u5348","A","P","AM","PM"]}},EgxL:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),u=n.n(a),i=n("KSGD"),c=n.n(i),s=n("hPME"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.trigger,n=e.placement,r=e.content,o=e.destroyTooltipOnHide,a=e.className,i=e.children,c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["trigger","placement","content","destroyTooltipOnHide","className","children"]);return u.a.createElement(s.a,l({},c,{prefixCls:"com-tooltip",trigger:t,placement:n,overlay:r,destroyTooltipOnHide:o,overlayClassName:a}),i)}}]),t}(),r.propTypes={trigger:c.a.oneOf(["hover","click","focus"]),placement:c.a.oneOf(["left","right","top","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]).isRequired,content:c.a.node.isRequired,destroyTooltipOnHide:c.a.bool,className:c.a.string},r.defaultProps={trigger:"hover",destroyTooltipOnHide:!1},o)},Ek5d:function(e,t,n){"use strict";t.a=function(e){var r,o,a,i,t,c,n,u,s,l,f,p,d,m,h;if(e=e||"",(r=$(e)).length<1)return;function v(){var e;if(u=o.width(),l=s=0,p=c.outerWidth(),m=d=1,h=[0],!(u<f))return r.removeClass("scrolling"),void a.css({"-webkit-transform":"",transform:""});r.addClass("scrolling");for(var t=0;t<i.length;t++)if(s+=i.eq(t).outerWidth(!0),l+=i.eq(t).outerWidth(!0),1!=d)if(u-p<s){e=s;for(var n=t;0<n;n--)if((e-=i.eq(n).outerWidth(!0))<=u-2*p){s-=e,h.push(-1*(l-s)),d++;break}}else;else if(u<s){e=s;for(var n=t;0<n;n--)if((e-=i.eq(n).outerWidth(!0))<=u-p){s-=e,h.push(-1*(l-s)),d++;break}}1<d&&(h[h.length-1]=-1*(l-u+p)),y()}function y(){var e=h[m-1];1==m?c.hide():(c.show(),e+=p-parseFloat(o.css("padding-left"))),m==d?n.hide():n.show(),a.css({"-webkit-transform":"translate3d("+e+"px, 0, 0)",transform:"translate3d("+e+"px, 0, 0)"})}o=r.find("> .c-tab-hd"),a=o.find(".c-tab-ctrl"),i=a.children(),t=o.find(".c-tab-btns"),c=t.find(".prev"),n=t.find(".next"),f=function(){for(var e=0,t=0;t<i.length;t++)e+=i.eq(t).outerWidth(!0);return e}(),v(),$(window).on("resize",v),c.on("click",function(e){e.preventDefault(),m--,y()}),n.on("click",function(e){e.preventDefault(),m++,y()})}},EnvB:function(e,t,n){"use strict";t.a=function(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,a=e.height,i=e.left,c=e.top;return"c"===n?c+=a/2:"b"===n&&(c+=a),"c"===r?i+=o/2:"r"===r&&(i+=o),{left:i,top:c}}},EqjI:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},Et7b:function(e,t,n){"use strict";t.a=function(){return Math.random().toString(36).slice(2,12).toLowerCase()}},EuP9:function(e,B,t){"use strict";(function(e){var r=t("EKta"),a=t("ujcs"),i=t("sOR5");function n(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=f.prototype:(null===e&&(e=new f(t)),e.length=t),e}function f(e,t,n){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(e,t,n);if("number"!=typeof e)return o(this,e,t,n);if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return s(this,e)}function o(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);f.TYPED_ARRAY_SUPPORT?(e=t).__proto__=f.prototype:e=l(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!f.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|d(t,n),o=(e=c(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(f.isBuffer(t)){var n=0|p(t.length);return 0===(e=c(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?c(e,0):l(e,t);if("Buffer"===t.type&&i(t.data))return l(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t){if(u(t),e=c(e,t<0?0:0|p(t)),!f.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function l(e,t){var n=t.length<0?0:0|p(t.length);e=c(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function d(e,t){if(f.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return D(e).length;default:if(r)return L(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function h(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var a,i=1,c=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;c/=i=2,u/=2,n/=2}function s(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var l=-1;for(a=n;a<c;a++)if(s(e,a)===s(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===u)return l*i}else-1!==l&&(a-=a-l),l=-1}else for(c<n+u&&(n=c-u),a=n;0<=a;a--){for(var f=!0,p=0;p<u;p++)if(s(e,a+p)!==s(t,p)){f=!1;break}if(f)return a}return-1}function y(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?o<(r=Number(r))&&(r=o):r=o;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");a/2<r&&(r=a/2);for(var i=0;i<r;++i){var c=parseInt(t.substr(2*i,2),16);if(isNaN(c))return i;e[n+i]=c}return i}function b(e,t,n,r){return M(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function g(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function w(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var a,i,c,u,s=e[o],l=null,f=239<s?4:223<s?3:191<s?2:1;if(o+f<=n)switch(f){case 1:s<128&&(l=s);break;case 2:128==(192&(a=e[o+1]))&&127<(u=(31&s)<<6|63&a)&&(l=u);break;case 3:a=e[o+1],i=e[o+2],128==(192&a)&&128==(192&i)&&2047<(u=(15&s)<<12|(63&a)<<6|63&i)&&(u<55296||57343<u)&&(l=u);break;case 4:a=e[o+1],i=e[o+2],c=e[o+3],128==(192&a)&&128==(192&i)&&128==(192&c)&&65535<(u=(15&s)<<18|(63&a)<<12|(63&i)<<6|63&c)&&u<1114112&&(l=u)}null===l?(l=65533,f=1):65535<l&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=E));return n}(r)}B.Buffer=f,B.SlowBuffer=function(e){+e!=e&&(e=0);return f.alloc(+e)},B.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),B.kMaxLength=n(),f.poolSize=8192,f._augment=function(e){return e.__proto__=f.prototype,e},f.from=function(e,t,n){return o(null,e,t,n)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(e,t,n){return r=null,a=t,i=n,u(o=e),o<=0?c(r,o):void 0!==a?"string"==typeof i?c(r,o).fill(a,i):c(r,o).fill(a):c(r,o);var r,o,a,i},f.allocUnsafe=function(e){return s(null,e)},f.allocUnsafeSlow=function(e){return s(null,e)},f.isBuffer=function(e){return!(null==e||!e._isBuffer)},f.compare=function(e,t){if(!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);var n;if(void 0===t)for(n=t=0;n<e.length;++n)t+=e[n].length;var r=f.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!f.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},f.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?w(this,0,e):function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,n);case"utf8":case"utf-8":return w(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return g(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},f.prototype.equals=function(e){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===f.compare(this,e)},f.prototype.inspect=function(){var e="",t=B.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},f.prototype.compare=function(e,t,n,r,o){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(o<=r&&n<=t)return 0;if(o<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),c=Math.min(a,i),u=this.slice(r,o),s=e.slice(t,n),l=0;l<c;++l)if(u[l]!==s[l]){a=u[l],i=s[l];break}return a<i?-1:i<a?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return h(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return h(this,e,t,n,!1)},f.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||o<n)&&(n=o),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a,i,c,u,s,l,f,p,d,m=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return p=t,d=n,M(L(e,(f=this).length-p),f,p,d);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return u=this,s=t,l=n,M(D(e),u,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i=t,c=n,M(function(e,t){for(var n,r,o,a=[],i=0;i<e.length&&!((t-=2)<0);++i)n=e.charCodeAt(i),r=n>>8,o=n%256,a.push(o),a.push(r);return a}(e,(a=this).length-i),a,i,c);default:if(m)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),m=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function k(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function _(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var o="",a=t;a<n;++a)o+=A(e[a]);return o}function C(e,t,n){for(var r=e.slice(t,n),o="",a=0;a<r.length;a+=2)o+=String.fromCharCode(r[a]+256*r[a+1]);return o}function N(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function T(e,t,n,r,o,a){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<t||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function S(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-n,2);o<a;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function P(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-n,4);o<a;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function R(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,o){return o||R(e,0,n,4),a.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,o){return o||R(e,0,n,8),a.write(e,t,n,r,52,8),n+8}f.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),t<e&&(t=e),f.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=f.prototype;else{var o=t-e;n=new f(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},f.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return r},f.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e+--t],o=1;0<t&&(o*=256);)r+=this[e+--t]*o;return r},f.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return(o*=128)<=r&&(r-=Math.pow(2,8*t)),r},f.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=t,o=1,a=this[e+--r];0<r&&(o*=256);)a+=this[e+--r]*o;return(o*=128)<=a&&(a-=Math.pow(2,8*t)),a},f.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),a.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),a.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),a.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),a.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||T(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},f.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||T(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,a=1;for(this[t+o]=255&e;0<=--o&&(a*=256);)this[t+o]=e/a&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,1,255,0),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):S(this,e,t,!0),t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):S(this,e,t,!1),t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):P(this,e,t,!0),t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},f.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var a=0,i=1,c=0;for(this[t]=255&e;++a<n&&(i*=256);)e<0&&0===c&&0!==this[t+a-1]&&(c=1),this[t+a]=(e/i>>0)-c&255;return t+n},f.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var a=n-1,i=1,c=0;for(this[t+a]=255&e;0<=--a&&(i*=256);)e<0&&0===c&&0!==this[t+a+1]&&(c=1),this[t+a]=(e/i>>0)-c&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,1,127,-128),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):S(this,e,t,!0),t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):S(this,e,t,!1),t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):P(this,e,t,!0),t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||T(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},f.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),0<r&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,a=r-n;if(this===e&&n<t&&t<r)for(o=a-1;0<=o;--o)e[o+t]=this[o+n];else if(a<1e3||!f.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},f.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var i=f.isBuffer(e)?e:L(new f(e,r).toString()),c=i.length;for(a=0;a<n-t;++a)this[a+t]=i[a%c]}return this};var x=/[^+\/0-9A-Za-z-_]/g;function A(e){return e<16?"0"+e.toString(16):e.toString(16)}function L(e,t){var n;t=t||1/0;for(var r=e.length,o=null,a=[],i=0;i<r;++i){if(55295<(n=e.charCodeAt(i))&&n<57344){if(!o){if(56319<n){-1<(t-=3)&&a.push(239,191,189);continue}if(i+1===r){-1<(t-=3)&&a.push(239,191,189);continue}o=n;continue}if(n<56320){-1<(t-=3)&&a.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&-1<(t-=3)&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function D(e){return r.toByteArray(function(e){var t;if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(x,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(B,t("DuR2"))},"F+6q":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={ALL:{id:0,name:"\u5168\u90e8"},SUBSCRIPTIONS:{id:"subscriptions",name:"\u8ba2\u9605"},QUALITY:{id:"top",name:"\u63a8\u8350"}}},"F/mi":function(e,t,n){"use strict";t.a=function(e){var t=e.split("."),n=s(t,2),o=n[0],a=n[1];function r(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement(o,u({className:c()(a,t)},r),n)}return r.displayName="Wrapper("+e+")",r};var r=n(0),i=n.n(r),o=n("HW6M"),c=n.n(o),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},F69h:function(e,t,n){"use strict";t.a=function(e){var t=e.title,n=e.icon,r=void 0===n?"":n,o=e.children;return a.a.createElement("h2",{className:i()("com-2-section-title",{"without-icon":!r})},Boolean(r)&&a.a.createElement("i",{className:"com-2-section-title-icon "+r}),t||o)};var r=n(0),a=n.n(r),o=n("HW6M"),i=n.n(o)},FE5V:function(e,t,n){"use strict";t.a=function(){return o.a.createElement("span",{className:"c-pages-dot"},"...")};var r=n(0),o=n.n(r)},Fb6T:function(e,t,n){"use strict";t.a=function(e){var t=e.msg,n=void 0===t?"\u6682\u65e0\u6d88\u606f":t;return o.a.createElement("div",{className:"qa-none"},o.a.createElement("p",null,n))};var r=n(0),o=n.n(r)},FeBl:function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},Flrs:function(e,t,n){"use strict";var r=n("UFEn");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c}),n.d(t,"d",function(){return r.d}),n.d(t,"e",function(){return r.e}),n.d(t,"f",function(){return r.f}),n.d(t,"g",function(){return r.g})},Fq8T:function(e,t,n){"use strict";var r=n("HAPR");n.d(t,"a",function(){return r.a});var o=n("VtT6");n.d(t,"b",function(){return o.a})},FtD3:function(e,t,n){"use strict";var i=n("t8qj");e.exports=function(e,t,n,r,o){var a=new Error(e);return i(a,t,n,r,o)}},GHBc:function(e,t,n){"use strict";var i=n("cGG2");e.exports=i.isStandardBrowserEnv()?function(){var n,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");function a(e){var t=e;return r&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}return n=a(window.location.href),function(e){var t=i.isString(e)?a(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0}},GNY4:function(e,t,n){"use strict";t.a=function(e){if(!Array.isArray((e||{}).blocks))return null;var t=e.blocks,i=["header-one","header-two","header-three","header-four"],c=i.reduce(function(e,t){return e[t]=0,e},{}),u=i.length,n=t.reduce(function(e,t){var n=t.type,r=t.text;if(!i.includes(n))return e;var o=c[n]+=1;if(r=String(r).trim()){var a=i.indexOf(n)+1;a<u&&(u=a),e.push({key:a+"."+o,level:a,text:r})}return e},[]),r=[],o=null,a=!0,s=!1,l=void 0;try{for(var f,p=n.entries()[Symbol.iterator]();!(a=(f=p.next()).done);a=!0){var d=f.value,m=E(d,2),h=(m[0],m[1]),v=h.key,y=h.level,b=h.text;if(!(u+1<y)){var g={},w={key:v,level:y-u+1,text:b};y===u&&(Object.assign(g,w),g.children=[],r.push(g),o=g),y===u+1&&(o||(o={children:[]},r.push(o)),o.children.push(w))}}}catch(e){s=!0,l=e}finally{try{!a&&p.return&&p.return()}finally{if(s)throw l}}return r};var E=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},GOkv:function(e,t,n){"use strict";var r=n("u0vT");n.d(t,"a",function(){return r.a})},GZPB:function(e,t,n){"use strict";var r=n("g9WF");n.d(t,"a",function(){return r.a})},Gsca:function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},GvBW:function(e,t,n){"use strict";var r=function(){};e.exports=r},GwRG:function(e,t,r){"use strict";r.d(t,"a",function(){return p});var n,o,a=r(0),c=r.n(a),i=r("KSGD"),u=r.n(i),s=r("Lvne"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(o=n=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=f(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).containerRef=c.a.createRef(),r.onTagClick=function(n){return function(e){var t=r.props.onTagClick;"function"==typeof t&&t({tag:n})}},f(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),l(i,[{key:"render",value:function(){var n=this,e=this.props,t=e.tags,r=e.focusedTagId;return c.a.createElement("ul",{ref:this.containerRef,className:"com-2-tagsinput-dropdown-menu"},t.map(function(e,t){return c.a.createElement("li",{key:t,"data-id":e.id,className:e.id===r?"hover":void 0,onClick:n.onTagClick(e)},e.name)}))}},{key:"componentDidUpdate",value:function(){this.scrollFocusedTagItemIntoView()}},{key:"scrollFocusedTagItemIntoView",value:function(){var e=this.containerRef.current,t=this.props.focusedTagId,n=e.querySelector('[data-id="'+t+'"]');n&&r.i(s.a)(n,{block:"nearest",inline:"nearest",behavior:function(e){var t=e[0];if(t){var n=t.el,r=t.top;n.scrollTop=r}}})}}]),i}(),n.propTypes={tags:u.a.arrayOf(u.a.shape({id:u.a.number.isRequired,name:u.a.string.isRequired})).isRequired,focusedTagId:u.a.number,onTagClick:u.a.func},o)},Gy3k:function(e,t,n){"use strict";t.a=function(e){r||(r=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);return r.test(String(e).toLowerCase())};var r=void 0},H4mP:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).threshold,t=void 0===e?0:e;return function(){return Math.max(document.body.scrollHeight,document.body.offsetHeight)-(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0)-(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0)<=t}}},HAPR:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return o.a.createElement("div",c({className:i()("com-operations",t)},r),n)};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},HMk2:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("JLcE"),o=n("mLxh"),a=n("h1LS"),i=n("2TOr"),c={collapse:r.a,fade:o.a,scale:a.a,slide:i.a}},HTMr:function(e,t,n){"use strict";var r=n("+SIq");n.d(t,"a",function(){return r.a})},HW6M:function(e,t,n){var r;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n))e.push(i.apply(null,n));else if("object"===r)for(var o in n)a.call(n,o)&&n[o]&&e.push(o)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=i:void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},HX4C:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("header",{className:"com-3-section-hd"},t)};var r=n(0),o=n.n(r)},Hcn5:function(e,t,l){"use strict";l.d(t,"a",function(){return o});var f=l("xt0B");var n,r,o=(n=regeneratorRuntime.mark(function e(t){var n,r,o,a,i,c,u,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.i(f.resolveArticleImages)(t);case 3:if(n=e.sent,(r=n.filter(function(e){return e.width/e.height<2})).length<=0)return e.abrupt("return","");e.next=9;break;case 9:if(1==r.length)return e.abrupt("return",r[0].src);e.next=13;break;case 13:for(o=r[0],a=Math.abs(o.width/o.height-4/3),i=0,c=1;c<r.length;c++)u=r[c],(s=Math.abs(u.width/u.height-4/3))<a&&(a=s,i=c);return e.abrupt("return",r[i].src);case 16:e.next=22;break;case 18:return e.prev=18,e.t0=e.catch(0),console.warn("error in resolveArticleCoverImage",e.t0),e.abrupt("return","");case 22:case"end":return e.stop()}},e,this,[[0,18]])}),r=function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return r.apply(this,arguments)})},Hgtn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+e.className+" ").indexOf(" "+t+" ")},e.exports=t.default},HiY3:function(e,t,n){"use strict";var r=n("wZA5");n.d(t,"a",function(){return r.a})},Hovz:function(e,t,l){"use strict";l.d(t,"a",function(){return u});var n,r,o,a=l(0),f=l.n(a),i=l("KSGD"),c=l.n(i),p=l("xt0B"),m=l("PNJI"),h=l("MCil"),v=l("pwtL"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=function(e){return"comment-draft/"+l.i(p.hashObject)(e)},u=l.i(p.connectSession)()((o=r=function(e){function u(){var e,t,p,n,r,o,d=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var a=arguments.length,i=Array(a),c=0;c<a;c++)i[c]=arguments[c];return(t=p=y(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(i)))).state={committing:!1,content:(o=p.draftContext,m.localStore.get(b(o))||"")},p.textarea=null,p.updateContent=function(n){n=n.replace(/\r?\n/g,""),p.setState({content:n},function(){var e,t;e=p.draftContext,t=n,m.localStore.set(b(e),t)})},p.handleCommit=(n=regeneratorRuntime.mark(function e(t){var n,r,o,a,i,c,u,s,l,f;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.state.content.trim(),/\S/.test(n)){e.next=4;break}return v.MessageTip.error("\u8bf7\u5199\u4e0b\u4f60\u7684\u8bc4\u8bba"),e.abrupt("return");case 4:return p.setState({committing:!0}),r=p.props,o=r.question,a=r.answer,i=r.parentComment,c=r.onReply,u=r.session,s={questionId:o.id,answerId:a.id,parentCommentId:i?i.id:void 0,content:n},e.prev=7,e.next=10,h.h.commentAnswer(s);case 10:l=e.sent,f=l.commentId,p.isUnmounted||(i&&(s.parentCommentAuthor=i.author),s.author=u.profile,s.id=f,s.writeTime=+new Date,s.upvoteCount=0,s.replyCount=0,c(s)),p.updateContent(""),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(7),"string"!=typeof e.t0.code&&(30005===e.t0.code?v.Dialog.alert({title:"\u64cd\u4f5c\u5931\u8d25",content:e.t0.msg||e.t0.message||"\u8bc4\u8bba\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5",warning:!0}):v.MessageTip.show({message:e.t0.msg||e.t0.message}));case 19:return e.prev=19,p.isUnmounted||p.setState({committing:!1}),e.finish(19);case 22:case"end":return e.stop()}},e,d,[[7,16,19,22]])}),r=function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return r.apply(this,arguments)}),y(p,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,a["Component"]),s(u,[{key:"render",value:function(){var n=this,e=this.props,t=e.session,r=(e.question,e.answer,e.parentComment),o=this.state,a=o.committing,i=o.content;if(!t.isLogined)return this.renderLoginRequired();var c=t.profile.avatar,u=void 0===c?"":c,s=r?"\u56de\u590d"+r.author.name+"\uff0c\u6309 ESC \u53d6\u6d88":"\u5199\u4e0b\u4f60\u7684\u8bc4\u8bba...";return f.a.createElement("div",{className:"com-comment-edit"},f.a.createElement("div",{className:"edit-body"},f.a.createElement(v.Link,{to:"/user/"+t.uid,className:"com-avatar",style:{backgroundImage:"url("+l.i(p.getThumbnailUrl)(u,24)+")"}}),f.a.createElement(v.AutosizedTextArea,{inputRef:function(e){return n.textarea=e},className:"edit-textarea",placeholder:s,maxLength:"300",value:i,onChange:function(e){return n.updateContent(e.target.value)},onEnter:this.handleCommit,onEscape:function(e){var t;n.setState({content:""},function(){n.textarea.blur();var e=n.props.onCancel;e&&e()}),t=n.draftContext,m.localStore.del(b(t))},disabled:a})),f.a.createElement("div",{className:"edit-btns"},f.a.createElement(v.Button,{loading:a,disabled:a||!/\S/.test(i),onClick:this.handleCommit},"\u8bc4\u8bba")))}},{key:"renderLoginRequired",value:function(){return f.a.createElement("div",{className:"com-comment-edit hide-avatar"},f.a.createElement("div",{className:"edit-body"},f.a.createElement("p",{className:"edit-text"},f.a.createElement(v.Link,{onClick:m.login.show,className:"com-link"},"\u767b\u5f55"),"\u540e\u53ef\u53c2\u4e0e\u8bc4\u8bba")))}},{key:"componentDidMount",value:function(){this.textarea&&this.props.autoFocus&&this.textarea.focus()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"draftContext",get:function(){var e=this.props,t=e.session,n=e.question,r=e.answer,o=e.parentComment;return{uid:t.uid,questionId:n.id,answerId:r.id,parentCommentId:o&&o.id}}}]),u}(),r.propTypes={question:c.a.object.isRequired,answer:c.a.object.isRequired,parentComment:c.a.object,onReply:c.a.func,onCancel:c.a.func,autoFocus:c.a.bool},r.defaultProps={autoFocus:!1},n=o))||n},Hv5l:function(e,t,n){"use strict";t.a=function(e){var t=e.column;if(!t||!t.name)return null;var n=t.name.length<i?t.name:t.name.substring(0,i)+"...";return o.a.createElement(a.Link,{target:"_blank",to:"/column/"+t.id},n)};var r=n(0),o=n.n(r),a=n("pwtL"),i=80},HvuZ:function(e,t,n){"use strict";var r=n("RfqJ");n.d(t,"a",function(){return r.a})},I4QB:function(e,t,n){"use strict";var r=n("bNB4");n.d(t,"a",function(){return r.a});var o=n("RuM9");n.d(t,"b",function(){return o.a})},I7S0:function(e,t,n){"use strict";var o=n("YYEd");t.a=function(e){if(o.a.isWindow(e)||9===e.nodeType)return null;var t=o.a.getDocument(e).body,n=void 0,r=o.a.css(e,"position");if("fixed"!==r&&"absolute"!==r)return"html"===e.nodeName.toLowerCase()?null:e.parentNode;for(n=e.parentNode;n&&n!==t;n=n.parentNode)if("static"!==(r=o.a.css(n,"position")))return n;return null}},IFX7:function(e,t,n){"use strict";var r=n("/cMK");n.d(t,"a",function(){return r.a})},IH4Z:function(e,t,n){"use strict";t.a=function(){return o.a.createElement(i.a,{href:a.b+"/search",className:"header-extra-icon search-entry",hotrep:"community.header.search_btn"})};var r=n(0),o=n.n(r),a=n("nfin"),i=n("2h0h")},Ibhu:function(e,t,n){var i=n("D2L2"),c=n("TcQ7"),u=n("vFc/")(!1),s=n("ax3d")("IE_PROTO");e.exports=function(e,t){var n,r=c(e),o=0,a=[];for(n in r)n!=s&&i(r,n)&&a.push(n);for(;t.length>o;)i(r,n=t[o++])&&(~u(a,n)||a.push(n));return a}},Ivgd:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.content,r=e.withBg,o=e.children,a=e.style;return i.a.createElement("div",{className:l()("com-none",{"with-bg":r},t),style:a},i.a.createElement("p",{className:"com-none-cnt"},i.a.createElement("i",{className:"com-i-warn-circle"}),n||o))}}]),t}(),r.propTypes={className:u.a.string,content:u.a.string,withBg:u.a.bool,style:u.a.object},r.defaultProps={withBg:!1,style:{}},o)},Izmz:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r="transition-",o=300,a=300},JFXi:function(e,t,n){"use strict";t.a=function(e){var t=e.people,n=void 0===t?[]:t;return n.length?o.a.createElement(a.a,{className:"side"},o.a.createElement(a.a.Header,null,o.a.createElement(a.a.Title,{title:o.a.createElement("span",null,o.a.createElement("em",null,"\u53ef\u80fd"),"\u56de\u7b54\u95ee\u9898\u7684\u4eba")})),o.a.createElement(a.a.Body,null,o.a.createElement(i.a,{people:n}))):null};var r=n(0),o=n.n(r),a=n("8lDF"),i=n("2Nyt")},JG3i:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=(n.n(r),n("TGOg")),a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),a(t,[{key:"render",value:function(){throw new Error("`MediaSharing` can not be used directly.")}}]),t}();i.CopyShareLink=o.a,i.ShareToQQ=o.b,i.ShareToQZone=o.c,i.ShareToWechat=o.d,i.ShareToWeibo=o.e},JLcE:function(e,t,l){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.targetHeight,n=e.enterTimeout,r=void 0===n?d.a:n,o=e.leaveTimeout,a=void 0===o?d.b:o,i=d.c+"collapse",c=l.i(f.a)({name:i,targetHeight:t,enterTimeout:r,leaveTimeout:a});if(!h[c]){var u=h[c]={transitionName:i+c,transitionEnterTimeout:r,transitionLeaveTimeout:a},s=m(u,t);l.i(p.a)(i+c,s)}return h[c]};var f=l("euci"),p=l("YwWk"),d=l("Izmz"),m=function(e,t){return"\n."+e.transitionName+"-enter {\n\tmax-height: 0;\n}\n."+e.transitionName+"-enter-active {\n\tmax-height: "+t+"px;\n\ttransition: max-height "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\tmax-height: "+t+"px;\n}\n."+e.transitionName+"-leave-active {\n\tmax-height: 0;\n\ttransition: max-height "+e.transitionLeaveTimeout+"ms ease;\n}\n"},h={}},"JP+z":function(e,t,n){"use strict";e.exports=function(n,r){return function(){for(var e=new Array(arguments.length),t=0;t<e.length;t++)e[t]=arguments[t];return n.apply(r,e)}}},"JT/b":function(e,t,n){"use strict";n("adbu")},JVIK:function(e,t,n){"use strict";var r=n("updF");n.d(t,"a",function(){return r.a})},JlNQ:function(e,t,y){"use strict";t.a=function(e){var t=y.i(b.unpackRawContent)(e);if(!t)return null;var n=t.blocks,r=t.entityMap;if(!r||!Array.isArray(n))return null;var o=!0,a=!1,i=void 0;try{for(var c,u=n[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var s=c.value;if(s.entityRanges){var l=!0,f=!1,p=void 0;try{for(var d,m=s.entityRanges[Symbol.iterator]();!(l=(d=m.next()).done);l=!0){var h=d.value,v=r[h.key];if(v&&"IMAGE"===v.type&&v.data)return v.data}}catch(e){f=!0,p=e}finally{try{!l&&m.return&&m.return()}finally{if(f)throw p}}}}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}return null};var n=y("Masn"),b=(y.n(n),y("xt0B"))},JqJj:function(e,t,n){var r;r=function(n,r,o){return function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),a=c(o(1)),i=c(o(2));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),r(t,[{key:"propsWith",value:function(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o={};return Object.keys(this.props).forEach(function(e){if(-1!==e.search(n)){var t=r?e.replace(n,""):e;o[t]=this.props[e]}},this),o}},{key:"componentWillUnmount",value:function(){this.clipboard&&this.clipboard.destroy()}},{key:"componentDidMount",value:function(){var e=this.props.options||this.propsWith(/^option-/,!0),t=a.default.version.match(/0\.13(.*)/)?this.refs.element.getDOMNode():this.element,n=o(3);this.clipboard=new n(t,e);var r=this.propsWith(/^on/,!0);Object.keys(r).forEach(function(e){this.clipboard.on(e.toLowerCase(),this.props["on"+e])},this)}},{key:"render",value:function(){var t=this,e=n({type:this.getType(),className:this.props.className||"",style:this.props.style||{},ref:function(e){t.element=e},onClick:this.props.onClick},this.propsWith(/^data-/),this.propsWith(/^button-/,!0));return a.default.createElement(this.getComponent(),e,this.props.children)}},{key:"getType",value:function(){return"button"===this.getComponent()||"input"===this.getComponent()?this.props.type||"button":void 0}},{key:"getComponent",value:function(){return this.props.component||"button"}}]),t}();u.propTypes={options:i.default.object,type:i.default.string,className:i.default.string,style:i.default.object,component:i.default.string,children:i.default.oneOfType([i.default.element,i.default.string,i.default.number,i.default.object])},u.defaultProps={onClick:function(){}},t.default=u},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t){e.exports=o}])},e.exports=r(n(0),n("KSGD"),n("V33R"))},Jssu:function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},JzMV:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var s=n("mtWM"),r=(n.n(s),n("nfin")),l=n("QNU9"),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o=r.a.CONNECT_ABORTED,a=r.a.CONNECT_ERROR,i=r.a.CONNECT_TIMEOUT,c=r.a.SESSION_INVALID,u={post:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=f({},n,{method:"post",url:e,data:t});return this._send(r)},_send:function(e){var n=this,t=Function.prototype;if(l.a.sessionChanged()){var r=Promise.reject(this._invalidateSession());return r.cancel=t,r}var o=f({params:{uin:l.a.getUin()||void 0,csrfCode:l.a.getCsrfCode()||void 0},timeout:2e4,withCredentials:!0,cancelToken:new s.CancelToken(function(e){return t=e})},e),a=o.splitFlowByCode,i=void 0===a||a,c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["splitFlowByCode"]),u=s.request(c).then(function(e){var t=e.data;if(t&&"code"in t||(t={code:"oops",msg:"invalid response"}),!i)return t;var n=t,r=n.code,o=n.data;return 0===r?o:Promise.reject(t)},function(e){var t=void 0;return t=s.isCancel(e)?n._aborted():"ECONNABORTED"===e.code?n._timeout():n._error(),Promise.reject(t)});return u.cancel=t,u},_invalidateSession:function(){return{code:c,msg:"\u4f1a\u8bdd\u5df2\u53d1\u751f\u6539\u53d8\uff0c\u9875\u9762\u5373\u5c06\u5237\u65b0..."}},_aborted:function(){return{code:o,msg:"\u8fde\u63a5\u53d6\u6d88\uff0c\u8bf7\u6c42\u88ab\u4e2d\u65ad"}},_error:function(){return{code:a,msg:"\u8fde\u63a5\u670d\u52a1\u5668\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5"}},_timeout:function(){return{code:i,msg:"\u8fde\u63a5\u670d\u52a1\u5668\u8d85\u65f6\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5"}}}},K8Ma:function(e,t,n){"use strict"},KCLY:function(c,e,u){"use strict";(function(e){var n=u("cGG2"),r=u("5VQ+"),t={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,i={adapter:("undefined"!=typeof XMLHttpRequest?a=u("7GwW"):void 0!==e&&(a=u("7GwW")),a),transformRequest:[function(e,t){return r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&e<300}};i.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],function(e){i.headers[e]={}}),n.forEach(["post","put","patch"],function(e){i.headers[e]=n.merge(t)}),c.exports=i}).call(e,u("W2nU"))},KFM2:function(e,t,n){"use strict"},KKMo:function(e,t,n){"use strict";var r=n("rzyb");n.d(t,"a",function(){return r.a})},KO42:function(e,t,n){"use strict";var r=n("y8Gt");n.d(t,"a",function(){return r.a})},KSBz:function(e,t,n){"use strict";var r=n("Clx7");n.d(t,"a",function(){return r.a});var o=n("nU2o");n.d(t,"b",function(){return o.a});var a=n("/ijZ");n.d(t,"c",function(){return a.a})},KSGD:function(e,t,n){e.exports=n("Q4WQ")()},KcLa:function(e,t,n){"use strict";var r=n("hr0a");n.d(t,"a",function(){return r.a})},Kh4W:function(e,t,n){t.f=n("dSzd")},"Kx+S":function(e,t,n){"use strict";var r=n("XCBz");n.d(t,"a",function(){return r.a})},KxpP:function(e,t,n){"use strict";t.a=function(e){var t=e.style,n=e.onRef,r=e.packed,o=e.scrollFinder,a=e.stickTop,i=e.onChange;return c.a.createElement(u.a,{className:"style-small",style:t,ref:n,packed:r,onChange:i,extendOptions:function(e){return e.fileImport.buttons=["spliter","ppt","attachment"],e.blockStyle=s({},e.blockStyle,{buttons:["h3","blockquote","codeblock","ul","ol"]}),e.stickToolbar={enable:!0,findScrollElement:o,getStickTop:function(){return a},fixStickBox:function(e){var t=e.left,n=e.top,r=e.width,o=e.height;return{left:t+1,top:n,width:r-2,height:o}}},e.focus.findScrollParent=o,e}})};var r=n(0),c=n.n(r),u=n("1h7I"),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},"L+y6":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(t){return function(e){return[t,e].join("/")}}},L1qk:function(e,t,n){"use strict";var r=n("O9jH");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},"LF/X":function(e,t,n){var r,o,a,i;i=function(e,t){"use strict";var n,r=(n=t)&&n.__esModule?n:{default:n};var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return a(t,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),t}();e.exports=i},o=[e,n("SPM9")],void 0===(a="function"==typeof(r=i)?r.apply(t,o):r)||(e.exports=a)},LGuY:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},LKZe:function(e,t,n){var r=n("NpIQ"),o=n("X8DO"),a=n("TcQ7"),i=n("MmMw"),c=n("D2L2"),u=n("SfB7"),s=Object.getOwnPropertyDescriptor;t.f=n("+E39")?s:function(e,t){if(e=a(e),t=i(t,!0),u)try{return s(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},Lg7O:function(e,t,n){"use strict"},Lh6t:function(e,t,n){"use strict";var r=n("BIub");n.d(t,"a",function(){return r.a})},LjBl:function(e,t,n){"use strict";var r=n("B6mO");n.d(t,"a",function(){return r.a});var o=n("3pql");n.d(t,"b",function(){return o.a})},Lngh:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("pwtL"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.team,n=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["team"]);return i.a.createElement(s.Link,l({to:"/team/"+t.name,target:"_blank"},n),t.cnName)}}]),t}(),r.propTypes={team:u.a.shape({name:u.a.string.isRequired,cnName:u.a.string.isRequired}).isRequired},o)},LtjF:function(e,t,n){"use strict";t.a=function(t){return new Promise(function(a,e){var i=new FileReader;i.onload=function(){for(var e=new Uint8ClampedArray(i.result),t=e.length<=2048?1:e.length>>10,n=0,r=0,o=0;r<e.length;r+=t)n^=e[r]<<o%4,o++;a(n)},i.readAsArrayBuffer(t)})}},LuWy:function(e,t,n){"use strict";var r=n("DHb2");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c}),n.d(t,"d",function(){return r.d}),n.d(t,"e",function(){return r.e})},Lvne:function(e,t,r){"use strict";r.d(t,"a",function(){return s});var o=r("9UuZ"),n=r("ms5p"),a=function(e){return"function"==typeof e},i=function(e){return e===Object(e)&&0!==Object.keys(e).length},c=function(e,o){void 0===o&&(o="auto");var a=r.i(n.a)(),i="scrollBehavior"in a.style;e.forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scroll&&i?t.scroll({top:n,left:r,behavior:o}):t===a?window.scrollTo(r,n):(t.scrollTop=n,t.scrollLeft=r)})},u=function(e){return void 0===e&&(e=!0),!0===e||null===e?{block:"start",inline:"nearest"}:!1===e?{block:"end",inline:"nearest"}:i(e)?e:{block:"start",inline:"nearest"}};function s(e,t){if(void 0===t&&(t=!0),i(t)&&a(t.behavior))return t.behavior(r.i(o.a)(e,t));var n=u(t);return c(r.i(o.a)(e,n),n.behavior)}},M6a0:function(e,t){},MCil:function(e,t,n){"use strict";var r=n("Mn5R"),o=n("vn+0"),a=(n("hV2o"),n("4g09")),i=n("xrIa"),c=(n("LuWy"),n("JT/b"),n("4Dyh"),n("NrQd")),u=(n("utCt"),n("zhX3")),s=(n("kcTp"),n("GOkv"),n("ojaj"),n("wa6R"),n("/1wQ")),l=(n("9zzJ"),n("2xpJ"));n.d(t,"h",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"g",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return l})},MDMZ:function(e,t,n){"use strict";var r=n("kF4f");n.d(t,"a",function(){return r.a});var o=n("UFB4");n.d(t,"b",function(){return o.a});var a=n("a/fz");n.d(t,"c",function(){return a.a});var i=n("sBqP");n.d(t,"d",function(){return i.a});var c=n("78hh");n.d(t,"e",function(){return c.a});var u=n("g68T");n.d(t,"f",function(){return u.a});var s=n("z5Sk");n.d(t,"g",function(){return s.a});var l=n("ONWS");n.d(t,"h",function(){return l.a})},MI6L:function(e,t,n){"use strict";var r=n("zLJM");n.d(t,"a",function(){return r.a})},MIUs:function(e,t,n){"use strict";t.a=o,t.b=E,t.c=function(e){var t=e.selector,n=e.offsetTop,r=void 0===n?60:n,o=e.offsetLeft,a=void 0===o?0:o,i=e.duration,c=void 0===i?400:i,u=w()(t),s=Promise.resolve();if(!u.length)return s;var l=w()(window),f=[l.scrollTop(),l.scrollLeft()],p=f[0],d=f[1],m=[l.height(),l.width()],h=m[0],v=m[1],y=u.offset(),b=y.top,g=y.left;if(b-r<p||g-a<d||p+h<b+r||d+v<g+a)return E({left:g-a,top:b-r,duration:c});return s};var r=n(2),w=n.n(r);function o(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o=e.selector,a=e.left,i=e.top,t=e.duration,c=void 0===t?400:t;return new Promise(function(e,t){var n=w()(o),r={};null!=a&&(r.scrollLeft=a),null!=i&&(r.scrollTop=i),n.stop(!0,!0).animate(r,c,e)})}function E(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.left,n=e.top,r=e.duration;return o({selector:"html, body",left:t,top:n,duration:void 0===r?400:r})}},MIn9:function(e,t,n){"use strict";var r=n("Sxdk");n.d(t,"a",function(){return r.a})},MMjW:function(e,t,n){"use strict";t.a=function(e){var t=e.title,n=e.icon,r=void 0===n?"":n,o=e.children;return a.a.createElement("h2",{className:i()("com-2-section-title",{"without-icon":!r})},Boolean(r)&&a.a.createElement("i",{className:"com-2-section-title-icon "+r}),t||o)};var r=n(0),a=n.n(r),o=n("HW6M"),i=n.n(o)},MU5D:function(e,t,n){var r=n("R9M2");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},Masn:function(e,t,n){var r;n("LGuY"),void 0===(r=function(){var l=function(e){return"string"!=typeof e?e:e.replace(/[\+ \|\^\%]/g,function(e){return{" ":"+","+":"%2B","|":"%7C","^":"%5E","%":"%25"}[e]})},d=function(e){return"string"!=typeof e?e:e.replace(/\+|%2B|%7C|%5E|%25/g,function(e){return{"+":" ","%2B":"+","%7C":"|","%5E":"^","%25":"%"}[e]})},f=function(e){return Number.prototype.toString.call(e,36).toUpperCase()},m=function(e){return parseInt(e,36)},p=Array.prototype.indexOf||function(e,t){for(var n=t||0,r=this.length;n<r;n++)if(this[n]===e)return n;return-1};return{JSON:JSON,pack:function(e,t){var c=(t=t||{}).verbose||!1;c&&console.log("Normalize the JSON Object"),e="string"==typeof e?this.JSON.parse(e):e,c&&console.log("Creating a empty dictionary");var u={strings:[],integers:[],floats:[]};c&&console.log("Creating the AST");var n=function e(t){c&&console.log("Calling recursiveAstBuilder with "+this.JSON.stringify(t));var n,r=typeof t;if(null===t)return{type:"null",index:-3};if(void 0===t)return{type:"undefined",index:-5};if(t instanceof Array){var o=["@"];for(var a in t)t.hasOwnProperty(a)&&o.push(e(t[a]));return o}if("object"===r){for(var i in o=["$"],t)t.hasOwnProperty(i)&&(o.push(e(i)),o.push(e(t[i])));return o}if(""===t)return{type:"empty",index:-4};if("string"===r)return-1==(n=p.call(u.strings,t))&&(u.strings.push(l(t)),n=u.strings.length-1),{type:"strings",index:n};if("number"===r&&t%1==0)return-1==(n=p.call(u.integers,t))&&(u.integers.push(f(t)),n=u.integers.length-1),{type:"integers",index:n};if("number"===r)return-1==(n=p.call(u.floats,t))&&(u.floats.push(t),n=u.floats.length-1),{type:"floats",index:n};if("boolean"===r)return{type:"boolean",index:t?-1:-2};throw new Error("Unexpected argument of type "+typeof t)}(e),i=u.strings.length,s=u.integers.length;u.floats.length,c&&console.log("Parsing the dictionary");var r=u.strings.join("|");return r+="^"+u.integers.join("|"),r+="^"+u.floats.join("|"),c&&console.log("Parsing the structure"),r+="^"+function e(t){if(c&&console.log("Calling a recursiveParser with "+this.JSON.stringify(t)),t instanceof Array){var n=t.shift();for(var r in t)t.hasOwnProperty(r)&&(n+=e(t[r])+"|");return("|"===n[n.length-1]?n.slice(0,-1):n)+"]"}var o=t.type,a=t.index;if("strings"===o)return f(a);if("integers"===o)return f(i+a);if("floats"===o)return f(i+s+a);if("boolean"===o)return t.index;if("null"===o)return-3;if("undefined"===o)return-5;if("empty"===o)return-4;throw new TypeError("The item is alien!")}(n),c&&console.log("Ending parser"),t.debug?{dictionary:u,ast:n,packed:r}:r},unpack:function(e,a){a=a||{};var t=e.split("^");a.verbose&&console.log("Building dictionary");var i=[],n=t[0];if(""!==n){n=n.split("|"),a.verbose&&console.log("Parse the strings dictionary");for(var r=0,o=n.length;r<o;r++)i.push(d(n[r]))}if(""!==(n=t[1]))for(n=n.split("|"),a.verbose&&console.log("Parse the integers dictionary"),r=0,o=n.length;r<o;r++)i.push(m(n[r]));if(""!==(n=t[2]))for(n=n.split("|"),a.verbose&&console.log("Parse the floats dictionary"),r=0,o=n.length;r<o;r++)i.push(parseFloat(n[r]));n=null,a.verbose&&console.log("Tokenizing the structure");var c="",u=[],s=t[3].length;for(r=0;r<s;r++){var l=t[3].charAt(r);"|"===l||"$"===l||"@"===l||"]"===l?(c&&(u.push(m(c)),c=""),"|"!==l&&u.push(l)):c+=l}var f=u.length,p=0;return a.verbose&&console.log("Starting recursive parser"),function e(){var t=u[p++];if(a.verbose&&console.log("Reading collection type "+("$"===t?"object":"Array")),"@"===t){for(var n=[];p<f;p++){var r=u[p];if(a.verbose&&console.log("Read "+r+" symbol"),"]"===r)return n;if("@"===r||"$"===r)n.push(e());else switch(r){case-1:n.push(!0);break;case-2:n.push(!1);break;case-3:n.push(null);break;case-5:n.push(void 0);break;case-4:n.push("");break;default:n.push(i[r])}}return a.verbose&&console.log("Parsed "+this.JSON.stringify(n)),n}if("$"!==t)throw new TypeError("Bad token "+t+" isn't a type");for(n={};p<f;p++){var o=u[p];if("]"===o)return n;if(o=-4===o?"":i[o],"@"===(r=u[++p])||"$"===r)n[o]=e();else switch(r){case-1:n[o]=!0;break;case-2:n[o]=!1;break;case-3:n[o]=null;break;case-5:n[o]=void 0;break;case-4:n[o]="";break;default:n[o]=i[r]}}return a.verbose&&console.log("Parsed "+this.JSON.stringify(n)),n}()}}}.apply(t,[]))||(e.exports=r)},MiDW:function(e,t,n){"use strict";var r=n("PyKb");n.d(t,"b",function(){return r.a}),n.d(t,"c",function(){return r.b});n("e/rV");var o=n("h9oW");n.d(t,"a",function(){return o.a})},MmMw:function(e,t,n){var o=n("EqjI");e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},Mn5R:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("s7MI");n.d(t,"fetchAnswerById",function(){return r.e}),n.d(t,"fetchAnswerList",function(){return r.f}),n.d(t,"checkAnswerVote",function(){return r.g}),n.d(t,"toggleAnswerVote",function(){return r.h}),n.d(t,"voteAnswer",function(){return r.i}),n.d(t,"toggleAnswerHandpick",function(){return r.j}),n.d(t,"handpickAnswer",function(){return r.k}),n.d(t,"readAnswerComments",function(){return r.l}),n.d(t,"readMobileAnswerComments",function(){return r.m}),n.d(t,"checkCommentVote",function(){return r.n}),n.d(t,"toggleCommentVote",function(){return r.o}),n.d(t,"voteComment",function(){return r.p}),n.d(t,"commentAnswer",function(){return r.q}),n.d(t,"writeAnswer",function(){return r.c}),n.d(t,"updateAnswer",function(){return r.b}),n.d(t,"checkAnswerState",function(){return r.a}),n.d(t,"fetchMyAnswer",function(){return r.r}),n.d(t,"deleteAnswer",function(){return r.s}),n.d(t,"deleteComment",function(){return r.t}),n.d(t,"reportShare",function(){return r.u}),n.d(t,"checkAnswerFavor",function(){return r.v}),n.d(t,"favoriteAnswer",function(){return r.w}),n.d(t,"favorAnswer",function(){return r.x}),n.d(t,"adoptAnswer",function(){return r.d});var o=n("dWZv");n.d(t,"toggleQuestionBanStatus",function(){return o.b}),n.d(t,"toggleAnswerBanStatus",function(){return o.c}),n.d(t,"getBanReasonList",function(){return o.a});var a=n("nHvv");n.d(t,"convertDoc",function(){return a.b}),n.d(t,"previewDoc",function(){return a.a});var i=n("N9S7");n.d(t,"invitePeopleToAnswer",function(){return i.a}),n.d(t,"fetchInvitationHistory",function(){return i.b}),n.d(t,"fetchInvitees",function(){return i.c});var c=n("jBnt");n.d(t,"checkUserFollow",function(){return c.a}),n.d(t,"toggleUserFollow",function(){return c.b}),n.d(t,"getNotificationVerifyCode",function(){return c.c}),n.d(t,"bindNotify",function(){return c.d}),n.d(t,"setNotifyMethod",function(){return c.e});var u=n("Sa9u");n.d(t,"fetchQuestionById",function(){return u.f}),n.d(t,"batchFetchQuestionDetail",function(){return u.g}),n.d(t,"fetchQuestionFeeds",function(){return u.h}),n.d(t,"fetchQuestionsByTagId",function(){return u.i}),n.d(t,"fetchRelatedQuestionsByQuestionId",function(){return u.j}),n.d(t,"reportViewCount",function(){return u.k}),n.d(t,"checkQuestionFollow",function(){return u.a}),n.d(t,"checkQuestionsFollow",function(){return u.l}),n.d(t,"toggleQuestionFollow",function(){return u.b}),n.d(t,"askQuestion",function(){return u.e}),n.d(t,"updateQuestion",function(){return u.d}),n.d(t,"deleteQuestion",function(){return u.m}),n.d(t,"checkRepeatQuestion",function(){return u.c}),n.d(t,"fetchRelatedQuestionsByTagIds",function(){return u.n}),n.d(t,"fetchQAPairList",function(){return u.o}),n.d(t,"fetchSpreadBanner",function(){return u.p}),n.d(t,"fetchConfiguredQuestionData",function(){return u.q});var s=n("DjDL");n.d(t,"getHottestSearchItems",function(){return s.a});var l=n("WmqB");n.d(t,"toggleQuestionSinkStatus",function(){return l.a});var f=n("vUpg");n.d(t,"checkTagFollow",function(){return f.a}),n.d(t,"checkTagsFollow",function(){return f.c}),n.d(t,"toggleTagFollow",function(){return f.b});var p=n("/fND");n.d(t,"fetchMyFollowingInfo",function(){return p.a}),n.d(t,"checkHasUnreadFollowingTagQuestions",function(){return p.b}),n.d(t,"markFollowingTagQuestionsAsRead",function(){return p.c})},Mqyb:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("pFYg"),l=n.n(r),f=n("d0Rp"),o=n("onlG"),p=n.n(o),i=0!==f.a.endEvents.length,a=["Webkit","Moz","O","ms"],c=["-webkit-","-moz-","-o-","ms-",""];function u(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o<c.length&&!(r=n.getPropertyValue(c[o]+t));o++);return r}function d(e){if(i){var t=parseFloat(u(e,"transition-delay"))||0,n=parseFloat(u(e,"transition-duration"))||0,r=parseFloat(u(e,"animation-delay"))||0,o=parseFloat(u(e,"animation-duration"))||0,a=Math.max(n+t,o+r);e.rcEndAnimTimeout=setTimeout(function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()},1e3*a+200)}}function m(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}var s=function(t,e,n){var r="object"===(void 0===e?"undefined":l()(e)),o=r?e.name:e,a=r?e.active:e+"-active",i=n,c=void 0,u=void 0,s=p()(t);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(i=n.end,c=n.start,u=n.active),t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),m(t),s.remove(o),s.remove(a),f.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,i&&i())},f.a.addEndEventListener(t,t.rcEndListener),c&&c(),s.add(o),t.rcAnimTimeout=setTimeout(function(){t.rcAnimTimeout=null,s.add(a),u&&setTimeout(u,0),d(t)},30),{stop:function(){t.rcEndListener&&t.rcEndListener()}}};s.style=function(t,n,r){t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),m(t),f.a.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,r&&r())},f.a.addEndEventListener(t,t.rcEndListener),t.rcAnimTimeout=setTimeout(function(){for(var e in n)n.hasOwnProperty(e)&&(t.style[e]=n[e]);t.rcAnimTimeout=null,d(t)},0)},s.setTransition=function(t,e,n){var r=e,o=n;void 0===n&&(o=r,r=""),r=r||"",a.forEach(function(e){t.style[e+"Transition"+r]=o})},s.isCssAnimationSupported=i,t.b=s},N9S7:function(e,t,n){"use strict";t.a=function(e){var t=e.invitedUid,n=e.questionId,r={invitedUid:t,questionId:n},o={thresholdBy:{invitedUid:t,questionId:n},thresholdDuration:200};return i.lazy("InvitePeopleToAnswer",r,o)},t.b=function(e){var t={questionId:e.questionId};return i.call("FetchInvitationHistory",t)},t.c=function(e){var t=e.questionId,n=e.keywords,r=e.pageNumber,o=e.pageSize,a={questionId:t,keywords:n,pageNumber:r,pageSize:o};return i.call("FetchInvitees",a)};var i=new(n("cT2K").a)("ask/invitation")},NMl1:function(e,t,n){"use strict";n.d(t,"a",function(){return m}),n.d(t,"b",function(){return g});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m={PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",DANGER:"danger"},h=m.PRIMARY,v=m.SUCCESS,y=m.WARNING,b=m.DANGER,g=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=d(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={visible:!0},n.dismiss=function(){n.setState({visible:!1})},d(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),p(i,[{key:"render",value:function(){var e=this.props,t=e.type,n=e.dismissible,r=e.className,o=e.children;return this.state.visible?c.a.createElement("div",{className:l()("c-msg",{"c-msg-success":t===v,"c-msg-warning":t===y,"c-msg-error":t===b,"c-msg-with-close":n},r),style:{overflow:"hidden"}},c.a.createElement("div",{className:"c-msg-info"},o),n&&c.a.createElement(f.Link,{onClick:this.dismiss,className:"c-msg-close"},"\u5173\u95ed")):null}}]),i}(),r.propTypes={type:u.a.oneOf([h,v,y,b]),dismissible:u.a.bool,className:u.a.string},r.defaultProps={type:h,dismissible:!1},o)},NREP:function(e,t,s){"use strict";t.a=function(e){var t=[],n=!0,r=!1,o=void 0;try{for(var a,i=Object.values(e.entityMap)[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value;if("IMAGE"===c.type&&c.data){var u=c.data.imageUrl;s.i(l.a)(u)&&!t.includes(u)&&t.push(u)}}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return t};var l=s("b4uM")},NVip:function(e,t,n){"use strict";var r=n("xm4Y");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c})},NpIQ:function(e,t){t.f={}.propertyIsEnumerable},NrQd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("imFM");n.d(t,"reportCommon",function(){return r.a}),n.d(t,"reportContent",function(){return r.b})},Nxko:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("nkf5"),p=n("MMjW"),d=n("+OOR"),m=n("pO1d"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var y=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),v(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("section",h({className:l()("com-2-section",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);y.Header=f.a,y.Title=p.a,y.Extra=d.a,y.Body=m.a},"O+r0":function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a,c=n(0),u=n.n(c),i=n("KSGD"),s=n.n(i),l=n("HW6M"),f=n.n(l),p=n("qFNz"),d=n("t5+9"),m=n("WIb2"),h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var y=n.i(p.a)((a=o=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=v(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).handleClickOutside=function(){return n.props.onClickOutside()},v(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,c["Component"]),h(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.open,r=e.children;return u.a.createElement("div",{className:f()("c-dropdown",t,{"c-menu-active":n})},r)}}]),i}(),o.propTypes={className:s.a.string,open:s.a.bool.isRequired,onClickOutside:s.a.func.isRequired},o.defaultProps={open:!1,onClickOutside:function(){}},r=a))||r;y.Title=d.a,y.Menu=m.a},"O0A+":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n(0),a=n.n(r),o=n("HW6M"),i=(n.n(o),n("UVf0")),c=(n.n(i),n("HMk2")),u=n("h9SP"),s=(n("yXIJ"),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var f=void 0,p=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return o.state={holder:null,dialog:null,visible:!1},o.escape=function(){var e=o.state.dialog;if(e){var t=e.props,n=t.disableEscape,r=t.onClose;!n&&r&&r()}},o.replace=function(e){o.setState({dialog:e,visible:!!e})},o.hold=function(e){return o.setState({holder:e})},o.onModalClick=function(e){var t=document.querySelector("#dialog-root .c-dialog");!$.contains(t,e.target)&&o.handleMaskClick()},o.handleMaskClick=function(){var e=o.state.dialog;if(e){var t=e.props,n=t.maskClosable,r=t.onClose;n&&r&&r()}},!f&&isClientContext&&(f=o,window.addEventListener("keydown",function(e){27===e.keyCode&&f&&f.escape()})),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),l(t,null,[{key:"replace",value:function(e){isClientContext&&f&&f.replace(e)}},{key:"hold",value:function(e){isClientContext&&f&&f.hold(e)}}]),l(t,[{key:"render",value:function(){var e=this.state,t=e.visible,n=e.dialog,r=e.holder,o=n&&n.props&&n.props.containerClassName||"";return a.a.createElement("div",{id:"dialog-root"},a.a.createElement(i.CSSTransitionGroup,s({component:u.a},c.a.fade({visibleOpacity:.7})),t&&a.a.createElement("div",{key:"mask",className:"c-modal-mask",style:{opacity:.7}})),a.a.createElement(i.CSSTransitionGroup,s({component:u.a},c.a.slide()),t&&a.a.createElement("div",{key:"container",className:"c-modal c-modal-visible "+o,onClick:this.onModalClick},a.a.createElement("div",{className:"c-modal-inner"},n))),r)}}]),t}()},O2kb:function(e,t,g){"use strict";g.d(t,"a",function(){return s});var n,r,o,w=g(0),E=g.n(w),a=g("KSGD"),i=g.n(a),c=g("HW6M"),O=(g.n(c),g("xt0B")),k=g("pwtL"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=g.i(O.connectSession)()((o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,w["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.uid,n=e.profile,r=e.session,o=e.showFollowUserButton,a=e.showRemoveColumnMemberButton,i=e.columnId,c=e.onRemoveColumnMember,u=n.id,s=n.avatar,l=n.name,f=n.label,p=(n.title,n.company,n.growthLevel),d=n.followerCount,m=n.articleCount,h=n.answerCount,v=n.badgeInfo,y=void 0===v?{}:v,b=t===r.uid;return E.a.createElement(w.Fragment,null,E.a.createElement("header",{className:"com-author-bubble-hd"},E.a.createElement("div",{className:"author-avatar-cell"},E.a.createElement(k.UserLink,{user:{id:u},className:"author-avatar"},E.a.createElement("span",{className:"img",style:s?{backgroundImage:"url("+g.i(O.getThumbnailUrl)(s,60)+")"}:{}}),E.a.createElement("span",{className:"author-level"},"LV"+p))),E.a.createElement("div",{className:"author-main-cell"},E.a.createElement("h3",{className:"author-name"},E.a.createElement(k.UserLink,{user:{id:u},className:"text"},l)),E.a.createElement("div",{className:"author-identity"},""+[n.company,n.title].join(" "),E.a.createElement(k.ProfessionVerifiedBadge,{user:n,large:!0})),E.a.createElement(k.UserBadges,{badge:y})),E.a.createElement("div",{className:"author-btns"},Boolean(o&&!b&&!a)&&E.a.createElement(k.FollowUserButton,{userId:u,whenUndetermined:"loading",followClassName:"author-btn",unfollowClassName:"author-btn c-btn-hole"}),Boolean(a)&&E.a.createElement(k.RemoveMemberButton,{uid:u,columnId:i,onRemove:c}))),E.a.createElement("div",{className:"com-author-bubble-bd"},Boolean(f)&&E.a.createElement("div",{className:"author-intro"},f),E.a.createElement("ul",{className:"author-times-list"},E.a.createElement("li",null,E.a.createElement(k.UserLink,{user:{id:u},to:"/user/"+u+"/articles"},E.a.createElement("span",{className:"title"},"\u6587\u7ae0"),E.a.createElement("span",{className:"num"},g.i(O.abbrNum)(m)))),E.a.createElement("li",null,E.a.createElement(k.UserLink,{user:{id:u},to:"/user/"+u+"/answers"},E.a.createElement("span",{className:"title"},"\u56de\u7b54"),E.a.createElement("span",{className:"num"},g.i(O.abbrNum)(h)))),E.a.createElement("li",null,E.a.createElement(k.UserLink,{user:{id:u},to:"/user/"+u+"/followers"},E.a.createElement("span",{className:"title"},"\u5173\u6ce8\u8005"),E.a.createElement("span",{className:"num"},g.i(O.abbrNum)(d)))))))}}]),t}(),r.propTypes={profile:i.a.object.isRequired},r.defaultProps={showFollowUserButton:!1,showRemoveColumnMemberButton:!1},n=o))||n},O4g8:function(e,t){e.exports=!0},O9jH:function(e,t,f){"use strict";f.d(t,"a",function(){return u}),f.d(t,"b",function(){return w});var n,r,o=f(0),p=f.n(o),a=f("KSGD"),i=f.n(a),c=f("HW6M"),d=f.n(c),m=f("xt0B"),h=f("pwtL"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=[[0,0,0],[1,0,1],[-1,-1,0]],u={UNKNOWN:0,LIKED:1,UNLIKED:2},y=u.UNKNOWN,b=u.LIKED,g=u.UNLIKED,w=(r=n=function(e){function u(){var e,t,i,n,r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var o=arguments.length,a=Array(o),c=0;c<o;c++)a[c]=arguments[c];return(t=i=l(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(a)))).state={like:y,actionLike:y},i.handleCheck=(n=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.props.onCheck();case 2:t=e.sent,i.isUnmounted||i.setState({like:t?b:g});case 4:case"end":return e.stop()}},e,r)}),function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),i.handleToggle=function(){var e=i.props,t=e.onBeforeToggle,n=e.onToggle;if(!1!==t()){var r=i.state,o=r.like,a=(r.actionLike||o)===b?g:b;i.setState({actionLike:a}),n(a)}},l(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,o["Component"]),s(u,[{key:"render",value:function(){var e=this.props,t=e.currentLikeCount,n=(e.onToggle,e.className),r=e.hotrep,o=e.icon,a=this.state,i=a.like,c=a.actionLike,u=(c||i)===b,s=v[c][i],l=Math.max(u?1:0,t+s);return p.a.createElement(h.Link,{onClick:this.handleToggle,hotrep:r,className:d()("com-opt-link",n,{actived:u})},p.a.createElement("i",{className:o}),p.a.createElement("span",{className:"text"},f.i(m.abbrNum)(l)))}},{key:"componentDidMount",value:function(){this.handleCheck()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}}]),u}(),n.propTypes={className:i.a.string,currentLikeCount:i.a.number.isRequired,onCheck:i.a.func.isRequired,onBeforeToggle:i.a.func.isRequired,onToggle:i.a.func.isRequired,hotrep:i.a.string,icon:i.a.string},n.defaultProps={currentLikeCount:0,icon:"com-i-like",onCheck:function(){return Promise.resolve(!1)},onBeforeToggle:function(){},onToggle:function(){}},r)},OAAM:function(e,t,n){"use strict";var r=n("23nZ");n.d(t,"a",function(){return r.a})},OBh5:function(e,t,u){"use strict";u.d(t,"a",function(){return m});var n,r,o,i=u(0),E=u.n(i),a=u("KSGD"),c=u.n(a),s=u("HW6M"),O=(u.n(s),u("UVf0")),l=(u.n(O),u("xt0B")),k=u("PNJI"),f=u("MCil"),_=u("pwtL"),C=u("9C8i"),N=u("Hovz"),T=u("pVr6"),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=u.i(l.connectSession)()((o=r=function(e){function a(){var e,t,i,c=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=i=d(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={replyOpen:!1},i.onReply=function(e){i.setState({replyOpen:!1}),i.props.onReply(e)},i.toggleReply=function(){i.checkCanParticipate()&&i.setState(function(e){return{replyOpen:!e.replyOpen}})},i.deleteComment=function(){var e,t;i.checkCanParticipate()&&_.Dialog.confirm({content:"\u786e\u8ba4\u5220\u9664\u8be5\u8bc4\u8bba\u5417\uff1f",confirmText:"\u786e\u5b9a\u5220\u9664",onConfirm:(e=regeneratorRuntime.mark(function e(){var t,n,r,o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.props,n=t.question,r=t.answer,o=t.comment,a=t.onDelete,e.next=3,f.h.deleteComment({questionId:n.id,answerId:r.id,commentId:o.id});case 3:setTimeout(function(){_.Dialog.hide(),_.MessageTip.show({type:"info",message:"\u8bc4\u8bba\u5220\u9664\u6210\u529f"}),a({commentId:o.id})},0);case 4:case"end":return e.stop()}},e,c)}),t=function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return t.apply(this,arguments)})})},i.checkCanParticipate=function(){var e=i.props,t=e.session,n=e.question,r=e.answer;if(t.isLogined)return!0;var o=u.i(l.getAbsoluteRouteUrl)("/ask/"+n.id+"/answer/"+r.id);return k.login.show({s_url:o}),!1},i.checkVote=function(){return f.h.checkCommentVote({questionId:i.props.question.id,commentId:i.props.comment.id})},i.toggleVote=function(e){return f.h.toggleCommentVote({questionId:i.props.question.id,answerId:i.props.answer.id,commentId:i.props.comment.id,vote:e})},d(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i["Component"]),p(a,[{key:"render",value:function(){var e=this.props,t=e.session,n=e.question,r=e.answer,o=e.comment,a=e.style,i=this.state,c=i.replyOpen,u=(i.subCommentList,t.profile),s=u.id,l=u.hasBanPrivilege,f=o.author,p=o.content,d=o.writeTime,m=o.upvoteCount,h=o.parentCommentAuthor,v=(o.parentCommentId,o.status),y=f.id===s,b=!y,g=Boolean(y||l),w=Boolean(v===C.QuestionCommentType.DELETED&&!p);return E.a.createElement("section",{className:"com-comment-panel editting is-reply",style:a},E.a.createElement(O.CSSTransitionGroup,S({component:"div",className:"com-comment-panel-bd"},k.transition.slide()),E.a.createElement("div",{className:"c-markdown style-small com-comment-panel-markdown"},E.a.createElement("p",null,E.a.createElement("span",{className:"com-comment-panel-names"},E.a.createElement(_.Link,{to:"/user/"+f.id,className:"name"},f.name),E.a.createElement("span",{className:"weak-text"},"\u56de\u590d"),E.a.createElement(_.Link,{to:"/user/"+h.id,className:"name"},h.name),"\uff1a"),w?E.a.createElement("span",{className:"com-comment-panel-deleted-text"},"\u8bc4\u8bba\u5df2\u5220\u9664"):p)),w?E.a.createElement("span",{className:"com-comment-panel-time"},E.a.createElement(_.EventDisplay,{event:{type:"commented",time:d},className:"com-opt-link"})):E.a.createElement(_.OperationBar,null,E.a.createElement(T.a,{currentVoteCount:m,onCheck:this.checkVote,onBeforeToggle:this.checkCanParticipate,onToggle:this.toggleVote}),b&&E.a.createElement(_.Link,{onClick:this.toggleReply,className:"com-opt-link link-comment"},E.a.createElement("i",{className:"com-i-dialog"}),E.a.createElement("span",{className:"name"},"\u56de\u590d")),g&&E.a.createElement(_.Link,{onClick:this.deleteComment,className:"com-opt-link link-delete"},E.a.createElement("i",{className:"com-i-delete"}),E.a.createElement("span",{className:"name"},"\u5220\u9664")),E.a.createElement("div",{className:"extra-part"},E.a.createElement(_.EventDisplay,{event:{type:"commented",time:d},className:"com-opt-link"}))),c&&E.a.createElement(N.a,{question:n,answer:r,parentComment:o,onReply:this.onReply,onCancel:this.toggleReply,autoFocus:!0})))}}]),a}(),r.propTypes={question:c.a.object.isRequired,answer:c.a.object.isRequired,comment:c.a.object.isRequired,onReply:c.a.func,onDelete:c.a.func.isRequired},n=o))||n},OH64:function(e,t,h){"use strict";h.d(t,"a",function(){return s});var n,r,o=h(0),v=h.n(o),a=h("HW6M"),y=h.n(a),i=h("KSGD"),c=h.n(i),b=h("pwtL"),g=h("xt0B"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.team,n=e.showFollowButton,r=e.hotrep,o=t.id,a=t.members,i=t.name,c=t.cnName,u=t.intro,s=t.desc,l=t.articleCount,f=t.questionCount,p=t.followCount,d=t.coverInfo,m=void 0===d?{}:d;return v.a.createElement("div",{className:y()("com-3-team-panel",{"has-btns":n})},v.a.createElement(b.Link,{to:"/team/"+i,target:"_blank",className:"com-3-team-panel-link",hotrep:r}),v.a.createElement("div",{className:"com-3-team-panel-inner"},v.a.createElement("div",{className:"com-3-team-panel-object"},a&&a.length?v.a.createElement("div",{className:"com-3-team-panel-members"},v.a.createElement("ul",{className:"com-3-team-panel-members-inner"},a.slice(0,4).map(function(e){var t=e.basicInfo,n=e.uid;return v.a.createElement("li",{key:n,className:"com-3-team-panel-member",style:{backgroundImage:"url("+(t&&t.avatar)+")"}})}))):v.a.createElement("div",{className:"com-3-team-panel-img",style:{backgroundImage:"url("+m.coverImageUrl+")"}})),v.a.createElement("div",{className:"com-3-team-panel-body"},v.a.createElement("h3",{className:"com-3-team-panel-title"},c||i),(u||s)&&v.a.createElement("p",{className:"com-3-team-panel-desc"},u||s),v.a.createElement("div",{className:"com-3-team-panel-infos"},v.a.createElement("div",{className:"com-datas"},v.a.createElement("span",{className:"com-data"},h.i(g.abbrNum)(l)+" \u6587\u7ae0"),v.a.createElement("span",{className:"com-data"},h.i(g.abbrNum)(f)+" \u95ee\u7b54"),v.a.createElement("span",{className:"com-data"},h.i(g.abbrNum)(p)+" \u5173\u6ce8\u8005"))),n&&v.a.createElement("div",{className:"com-3-team-panel-btns"},v.a.createElement(b.FollowTeamButton,{teamId:o,unfollowClassName:"c-btn-weak",followClassName:"c-btn-hole",whenUndetermined:"loading"})))))}}]),t}(),n.propTypes={team:c.a.object.isRequired,showFollowButton:c.a.bool,hotrep:c.a.string},n.defaultProps={showFollowButton:!1},r)},OM81:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("pwtL"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=f(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).handleClick=function(e){e.preventDefault(),n.props.onClick()},f(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),l(i,[{key:"render",value:function(){return c.a.createElement(a.Fragment,null,c.a.createElement(s.Link,{onClick:this.handleClick,className:"c-nav-bm-search-btn",role:"button",hotrep:"community.header.opensearch.search_icon"},c.a.createElement("i",{className:"nav-search-icon"})," \u641c\u7d22"),c.a.createElement("div",{onClick:this.handleClick,className:"c-nav-bm-search search-icon-rt",role:"button",hotrep:"community.header.opensearch.search_bar"},c.a.createElement("input",{type:"text",placeholder:"\u627e\u6587\u7ae0 / \u627e\u7b54\u6848 / \u627e\u6280\u672f\u5927\u725b",readOnly:!0,style:{cursor:"pointer"}}),c.a.createElement("i",{className:"nav-search-icon"})))}}]),i}(),r.propTypes={onClick:u.a.func.isRequired},o)},ON07:function(e,t,n){var r=n("EqjI"),o=n("7KvD").document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},ONWS:function(e,t,c){"use strict";c.d(t,"a",function(){return b});var n,r,o,a=c(0),u=c.n(a),i=c("KSGD"),s=c.n(i),l=c("xt0B"),f=c("PNJI"),p=c("MCil"),d=c("pwtL"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=p.d.checkArticleFavor,y=p.d.toggleArticleFavor,b=c.i(l.connectSession)()((o=r=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=h(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).checkCanFavor=function(){var e=r.props,t=e.session,n=e.articleId;return!!t.isLogined||(f.login.show({s_url:c.i(l.getAbsoluteRouteUrl)("/article/"+n)}),!1)},r.checkFavor=function(){return v({articleId:r.props.articleId})},r.toggleFavor=function(e){return y({articleId:r.props.articleId,action:e})},h(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),m(i,[{key:"render",value:function(){var e=this.props,t=e.favorCount,n=e.className,r=e.hotrep;return u.a.createElement(d.LikeButton,{currentFavorCount:t,onCheck:this.checkFavor,onBeforeToggle:this.checkCanFavor,onToggle:this.toggleFavor,className:n,hotrep:r,icon:"com-i-bookmark"})}}]),i}(),r.propTypes={className:s.a.string,articleId:s.a.number.isRequired,favorCount:s.a.number.isRequired,hotrep:s.a.string},n=o))||n},OYls:function(e,t,n){n("crlp")("asyncIterator")},OhSS:function(e,t,n){"use strict";t.a=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:160,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"w";if("string"!=typeof t)return t;if(!t.startsWith("https://"+a.e)||["/custom-avatar/","/random-avatar/","/avatar/male/","/avatar/female/"].some(function(e){return t.includes(e)}))return t;var r="?imageView2";t.includes(r)&&(t=t.split(r)[0]);if([".jpg",".jpeg",".png",".webp"].every(function(e){return!t.endsWith(e)}))return t;var o=""+t+r+"/2/"+n+"/"+2*e;t.endsWith(".webp")&&(o+="/format/jpg");return o};var a=n("nfin")},Oox7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reducer=function(e,t){var n=t.type,r=t.payload;switch(n){case i.UPDATE_SESSION_PROFILE:var o=r.updatedFields;return a({},e,{session:a({},e.session,{profile:a({},e.session.profile,o)})});default:return e}},n.d(t,"actionTypes",function(){return i}),n.d(t,"actions",function(){return o});var r=n("xt0B"),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var i={UPDATE_SESSION_PROFILE:n.i(r.actionTypeCreator)("shared/_common")("UPDATE_SESSION_PROFILE")},o={updateSessionProfile:function(e){var t=e.updatedFields;return{type:i.UPDATE_SESSION_PROFILE,payload:{updatedFields:t}}}}},Otc0:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"c",function(){return a}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u});var a={TRANSLATION:1,PROPAGANDIST:2,MICROAPPEXPERT:3,ORIGINAL_SHARING:4,TVP_MEMBER:5},i=[a.TRANSLATION,a.PROPAGANDIST,a.MICROAPPEXPERT,a.ORIGINAL_SHARING,a.TVP_MEMBER],c=(o(r={},a.TRANSLATION,{iconClass:"translate",desc:"\u4e91+\u793e\u533a\u7ffb\u8bd1\u793e\u52cb\u7ae0",link:"/translation"}),o(r,a.PROPAGANDIST,{iconClass:"propagandist",desc:"\u4e91+\u793e\u533a\u5ba3\u4f20\u5458\u4e13\u5c5e\u52cb\u7ae0",link:"/support-plan-invitation"}),o(r,a.MICROAPPEXPERT,{iconClass:"microapp",desc:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u8fbe\u4eba\u52cb\u7ae0",link:"/article/1149965"}),o(r,a.ORIGINAL_SHARING,{iconClass:"medal-1",desc:"\u539f\u521b\u5206\u4eab\u4f5c\u8005\u52cb\u7ae0",link:"/original-sharing"}),o(r,a.TVP_MEMBER,{iconClass:"tvp",desc:"\u817e\u8baf\u4e91 TVP \u6210\u5458",link:"~/tvp"}),r),u={ACHIEVED:1,ACTIVATED:2}},OvRC:function(e,t,n){e.exports={default:n("oM7Q"),__esModule:!0}},PDeP:function(e,t,y){"use strict";var b=y("YYEd"),g=y("I7S0"),w=y("UfQ5");t.a=function(e){for(var t={left:0,right:1/0,top:0,bottom:1/0},n=y.i(g.a)(e),r=b.a.getDocument(e),o=r.defaultView||r.parentWindow,a=r.body,i=r.documentElement;n;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===n.clientWidth||n===a||n===i||"visible"===b.a.css(n,"overflow")){if(n===a||n===i)break}else{var c=b.a.offset(n);c.left+=n.clientLeft,c.top+=n.clientTop,t.top=Math.max(t.top,c.top),t.right=Math.min(t.right,c.left+n.clientWidth),t.bottom=Math.min(t.bottom,c.top+n.clientHeight),t.left=Math.max(t.left,c.left)}n=y.i(g.a)(n)}var u=null;b.a.isWindow(e)||9===e.nodeType||(u=e.style.position,"absolute"===b.a.css(e,"position")&&(e.style.position="fixed"));var s=b.a.getWindowScrollLeft(o),l=b.a.getWindowScrollTop(o),f=b.a.viewportWidth(o),p=b.a.viewportHeight(o),d=i.scrollWidth,m=i.scrollHeight;if(e.style&&(e.style.position=u),y.i(w.a)(e))t.left=Math.max(t.left,s),t.top=Math.max(t.top,l),t.right=Math.min(t.right,s+f),t.bottom=Math.min(t.bottom,l+p);else{var h=Math.max(d,s+f);t.right=Math.min(t.right,h);var v=Math.max(m,l+p);t.bottom=Math.min(t.bottom,v)}return 0<=t.top&&0<=t.left&&t.bottom>t.top&&t.right>t.left?t:null}},PNCo:function(e,t,n){"use strict";t.a=function(e){var t=e.articleId,n=e.pageNumber,r=e.pageSize,o={articleId:t,pageNumber:n,pageSize:r};return a.call("FetchArticleComments",o)},t.b=function(e){var t=e.articleId,n=e.pageNumber,r=e.pageSize,o={articleId:t,pageNumber:n,pageSize:r};return a.call("FetchMobileArticleComments",o)},t.c=function(e){var t=e.articleId,n=e.parentCommentId,r=e.content,o={articleId:t,parentCommentId:n,content:r};return a.call("AddComment",o)},t.d=function(e){var t={commentId:e.commentId};return a.call("DeleteComment",t)};var a=new(n("cT2K").a)("column/comment")},PNJI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("nd2e");n.d(t,"citydata",function(){return r.a});var o=n("jgwl");n.d(t,"cookie",function(){return o.a});var a=n("AD/F");n.d(t,"localStore",function(){return a.a});var i=n("QNU9");n.d(t,"login",function(){return i.a});var c=n("JzMV");n.d(t,"net",function(){return c.a});var u=n("YmwH");n.d(t,"router",function(){return u.a});var s=n("cT2K");n.d(t,"Service",function(){return s.a});var l=n("7RQh");n.d(t,"sessionStore",function(){return l.a});var f=n("PxFE");n.d(t,"Storage",function(){return f.a});var p=n("HMk2");n.d(t,"transition",function(){return p.a});var d=n("VRT1");n.d(t,"ualib",function(){return d.a});var m=n("Y7Mk");n.d(t,"wechatShare",function(){return m.a})},PU2c:function(e,t,n){"use strict";t.a=function(i){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:3,n=i.length,o=[],a=[],c=i.map(function(){return new Promise(function(e,t){a.push({resolve:e,reject:t})})}),u=0,s=0,l=0;function f(){for(var e=function(){var r=s++;i[r]().then(function(e){return t=r,n=e,u-=1,o.push({index:t,result:n}),function(){o.sort(function(e,t){return e.index-t.index});for(var e=l;o[0]&&e===o[0].index;)a[e].resolve(o.shift().result),e+=1;l=e}(),void f();var t,n},function(e){return t=e,void a[r].reject(t);var t}),u+=1};u<t&&s<n;)e()}var p=0;return{run:(e=regeneratorRuntime.mark(function e(){var t,n,r,o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:f(),n=!(t=!0),r=void 0,e.prev=4,o=i[Symbol.iterator]();case 6:if(t=(a=o.next()).done){e.next=13;break}return a.value,e.next=10,c[p++];case 10:t=!0,e.next=6;break;case 13:e.next=19;break;case 15:e.prev=15,e.t0=e.catch(4),n=!0,r=e.t0;case 19:e.prev=19,e.prev=20,!t&&o.return&&o.return();case 22:if(e.prev=22,n)throw r;e.next=25;break;case 25:return e.finish(22);case 26:return e.finish(19);case 27:case"end":return e.stop()}},e,this,[[4,15,19,27],[20,,22,26]])}),r=function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return r.apply(this,arguments)})};var e,r}},Pc1i:function(e,t,n){"use strict";(t.a=r)();function r(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).interval,n=void 0===e?1e3:e,r=[],o=0,t=Date.now(),a=function(){t=Date.now(),r.forEach(function(e){return e({timestamp:t})})};return{current:function(){return t},subscribe:function(t){r.push(t),o||(setTimeout(a),o=setInterval(a,n));return function(){var e=r.findIndex(function(e){return e===t});0<=e&&r.splice(e,1),r.length||(clearInterval(o),o=0)}}}}},"Pca+":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),s=n.n(a),i=n("KSGD"),c=n.n(i),l=n("pwtL"),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.to,r=e.className,o=e.children,a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["user","to","className","children"]),i=t.id,c=t.name,u=n||"/user/"+i;return s.a.createElement(l.Link,f({rel:"nofollow",to:u,className:r},a),o||c||i)}}]),t}(),r.propTypes={user:c.a.shape({id:c.a.number,name:c.a.string}).isRequired,to:c.a.string,hotrep:c.a.string},r.defaultProps={to:""},o)},Pf15:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n("kiBT")),o=i(n("OvRC")),a=i(n("pFYg"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,a.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},PxFE:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={set:function(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).expires,r=void 0===n?0:n;if(this.isSupport&&"string"==typeof e)try{0<r&&/^\d+$/.test(r)&&(r=Date.now()+Number(r)),window.localStorage.setItem(e,JSON.stringify({data:t,expires:r}))}catch(e){console.error("storage.set error: ",e)}},get:function(e){if(!this.isSupport||"string"!=typeof e)return null;try{var t=Date.now(),n=window.localStorage[e];if(!n)return null;var r=JSON.parse(n),o=r.data,a=r.expires;return void 0===a||void 0===o?(console.warn("please use `helper/storeage` to set/get storage data"),null):0===a||t<a?o:null}catch(e){return null}},remove:function(e){if("string"==typeof e)try{window.localStorage.removeItem(e)}catch(e){console.error("storage.remove error: ",e)}},get isSupport(){if(!window.localStorage)return!1;try{return!(window.localStorage.isPrivate=!1)}catch(e){return!1}}}},PyKb:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p});var a="product",i="service",c="tech",u="activity",s="solution",l="other",f=[a,s,i,c],p=(o(r={},a,{id:1,name:"\u4e91\u4ea7\u54c1"}),o(r,i,{id:2,name:"\u5e73\u53f0\u670d\u52a1"}),o(r,c,{id:3,name:"\u901a\u7528\u6280\u672f"}),o(r,u,{id:4,name:"\u6d3b\u52a8\u6807\u7b7e"}),o(r,s,{id:5,name:"\u89e3\u51b3\u65b9\u6848"}),o(r,l,{id:99,name:"\u5176\u4ed6"}),r)},PzxK:function(e,t,n){var r=n("D2L2"),o=n("sB3e"),a=n("ax3d")("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},Q3sd:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=n("5oT9"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.hover;return i.a.createElement(f.Link,{to:"/article/"+t.id,className:l()("com-search-result-item",{hover:n})},i.a.createElement("i",{className:"com-search-result-icon article"}),i.a.createElement("span",{className:"com-search-result-type"},"\u6587\u7ae0"),i.a.createElement(p.a,{html:t.title,className:"com-search-result-text"}))}}]),t}(),r.propTypes={item:u.a.shape({id:u.a.number.isRequired,title:u.a.string.isRequired}).isRequired,hover:u.a.bool.isRequired},o)},Q4WQ:function(e,t,n){"use strict";var r=n("e6+Q"),i=n("cxPT"),c=n("gt/O");e.exports=function(){function e(e,t,n,r,o,a){a!==c&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n}},Q5Sj:function(e,t,n){"use strict";var r=n("6bVe");n.d(t,"a",function(){return r.a})},QCzX:function(e,t,n){"use strict";var r=n("Z0JH");n.d(t,"a",function(){return r.a})},QNU9:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var r=n("lbHh"),o={_uin:"",_skey:"",_csrfCode:"",init:function(){return this.updateUin(),this.updateSkey(),this.updateCsrfCode(),this},sessionChanged:function(){return this.getSkey()!==this._takeSkeyFromCookie()},getSkey:function(){return this._skey},getUin:function(){return this._uin},getCsrfCode:function(){return this._csrfCode},updateUin:function(){var e=r.get("uin")||"";this._uin=e.replace(/^o0*/,"")},updateSkey:function(){this._skey=this._takeSkeyFromCookie()},updateCsrfCode:function(){var e=this.getSkey();if(e){for(var t=5381,n=0,r=e.length;n<r;n+=1)t+=(t<<5)+e.charCodeAt(n);this._csrfCode=2147483647&t}else this._csrfCode=""},_takeSkeyFromCookie:function(){return r.get("skey")||r.get("p_skey")},show:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.showClose,n=void 0===t||t,r=e.defaultLoginType,o=void 0===r?"wx":r,a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["showClose","defaultLoginType"]);QCLogin.showLoginBox(i({hide_close_icon:!n,defaultLoginType:o,skipRegisterCompletion:!0,skipLoginProtect:!1,skipOwnerSelection:!1,language:"zh"},a))},logout:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).reload,t=void 0===e||e;QCLogin.logout(),t&&location.reload(!0)},gotoRegisterCompletionPage:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).backUrl,t=void 0===e?encodeURIComponent(location.href):e;location.href="/register/completion?s_url="+t}};o.init()},QRG4:function(e,t,n){var r=n("UuGF"),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},"QWe/":function(e,t,n){n("crlp")("observable")},QZm5:function(e,t,n){"use strict"},QfQq:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.children;return o.a.createElement("div",{className:i()("qa-sidebar",t)},n)};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a)},Qo5h:function(e,t,n){"use strict"},QzNM:function(e,t,n){"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};o(n(0));var r=o(n("KSGD"));function o(e){return e&&e.__esModule?e:{default:e}}t.nameShape=r.default.oneOfType([r.default.string,r.default.shape({enter:r.default.string,leave:r.default.string,active:r.default.string}),r.default.shape({enter:r.default.string,enterActive:r.default.string,leave:r.default.string,leaveActive:r.default.string,appear:r.default.string,appearActive:r.default.string})])},R00A:function(e,t,n){"use strict";t.a=function(e){return e%4==0&&e%100!=0||e%400==0}},R2lC:function(e,t,n){"use strict";var r=n("qFcR");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},R4wc:function(e,t,n){var r=n("kM2E");r(r.S+r.F,"Object",{assign:n("To3L")})},R9M2:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},RAzy:function(e,t,n){"use strict";var r=n("tczJ");n.d(t,"a",function(){return r.a})},RMeI:function(e,t,n){"use strict";var r=n("oBl5");n.d(t,"a",function(){return r.a})},RPLV:function(e,t,n){var r=n("7KvD").document;e.exports=r&&r.documentElement},RTMK:function(e,t,n){"use strict";t.a=function(e){return n.i(r.connect)(o.a,{},null,e)};var r=n(3),o=(n.n(r),n("wCCX"))},"RYm+":function(e,t,n){"use strict";t.a=function(e){var t=e.component,n=e.createStore,r=e.container,o=void 0===r?"#react-root":r,a=void 0,i=function(e){return!isServerContext&&a||(a=n(e)),c.a.createElement(s.Provider,{store:a},c.a.createElement(t,null))};isClientContext&&(o=document.querySelector(o),window.$render=function(e){return u.a.hydrate(i(e),o)},i.render=function(e){return u.a.render(i(e),o)});return i};var r=n(0),c=n.n(r),o=n(1),u=n.n(o),s=n(3);n.n(s)},Re3r:function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))||!!e._isBuffer);var t}},RfqJ:function(e,t,n){"use strict";t.a=i;var r=n(0),u=n.n(r),o=n("KSGD"),a=n.n(o),s=n("pwtL");function i(e){var t=e.className,n=e.user,r=e.showEvent,o=void 0===r||r,a=e.showUserLabel,i=void 0===a||a,c=e.event;return u.a.createElement(s.MediaLayout,{className:t},u.a.createElement(s.UserCard,{userId:n.id,showFollowUserButton:!0},u.a.createElement(s.UserAvatar,{user:n,target:"_blank"})),u.a.createElement(s.MediaBody,null,u.a.createElement(s.Link,{rel:"nofollow",to:"/user/"+n.id,target:"_blank",className:"author-info name",title:n.name},n.name),u.a.createElement(s.ProfessionVerifiedBadge,{user:n}),Boolean(i&&n.label)&&u.a.createElement("span",{className:"author-info identity",title:n.label},n.label),o&&u.a.createElement("span",{className:"author-info time"},u.a.createElement(s.EventDisplay,{event:c}))))}i.propTypes={className:a.a.string,user:a.a.object.isRequired,showEvent:a.a.bool,showUserLabel:a.a.bool,event:a.a.object.isRequired}},Rjzc:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"layout-side"},t)};var r=n(0),o=n.n(r)},Rrel:function(e,t,n){var r=n("TcQ7"),o=n("n0T6").f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(r(e))}},RuM9:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.question,r=e.answers;return o.a.createElement("div",{className:t},r.map(function(e){return o.a.createElement(a.a,{key:e.id,question:n,answer:e,showAnswerEvent:!0,showPublishTime:!0,showDropdownOperations:!0,noBackground:!0})}))};var r=n(0),o=n.n(r),a=n("bNB4")},S0Qc:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}o(r={},0,"\u7b49\u5f85\u7ba1\u7406\u5458\u786e\u8ba4"),o(r,1,"\u5df2\u91c7\u7eb3"),o(r,2,"\u672a\u88ab\u91c7\u7eb3")},S82l:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},S9RG:function(e,t,n){"use strict";var r=n("kEZw");n.d(t,"a",function(){return r.a});var o=n("ZJWu");n.d(t,"b",function(){return o.a});var a=n("5eOQ");n.d(t,"c",function(){return a.a});var i=n("TIx8");n.d(t,"d",function(){return i.a});var c=n("Wfll");n.d(t,"e",function(){return c.a})},S9Yq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var r,o=n("cFFW");var a="transform",i=void 0,c=void 0,u=void 0,s=void 0,l=void 0,f=void 0,p=void 0,d=void 0,m=void 0,h=void 0,v=void 0;if(((r=o)&&r.__esModule?r:{default:r}).default){var y=function(){for(var e=document.createElement("div").style,t={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},n=Object.keys(t),r=void 0,o=void 0,a="",i=0;i<n.length;i++){var c=n[i];if(c+"TransitionProperty"in e){a="-"+c.toLowerCase(),r=t[c]("TransitionEnd"),o=t[c]("AnimationEnd");break}}!r&&"transitionProperty"in e&&(r="transitionend");!o&&"animationName"in e&&(o="animationend");return e=null,{animationEnd:o,transitionEnd:r,prefix:a}}();i=y.prefix,t.transitionEnd=c=y.transitionEnd,t.animationEnd=u=y.animationEnd,t.transform=a=i+"-"+a,t.transitionProperty=s=i+"-transition-property",t.transitionDuration=l=i+"-transition-duration",t.transitionDelay=p=i+"-transition-delay",t.transitionTiming=f=i+"-transition-timing-function",t.animationName=d=i+"-animation-name",t.animationDuration=m=i+"-animation-duration",t.animationTiming=h=i+"-animation-delay",t.animationDelay=v=i+"-animation-timing-function"}t.transform=a,t.transitionProperty=s,t.transitionTiming=f,t.transitionDelay=p,t.transitionDuration=l,t.transitionEnd=c,t.animationName=d,t.animationDuration=m,t.animationTiming=h,t.animationDelay=v,t.animationEnd=u,t.default={transform:a,end:c,property:s,timing:f,delay:p,duration:l}},SKaU:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r,o,a=n(0),s=n.n(a),i=n("KSGD"),c=n.n(i),u=n("HW6M"),l=n.n(u),f=n("JqJj"),p=n.n(f),d=n("pwtL"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=h(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={success:!1},n.onMouseLeave=function(){setTimeout(function(){n.setState({success:!1})},300)},n.onCopySuccess=function(){n.setState({success:!0})},h(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),m(i,[{key:"render",value:function(){var e=this.props,t=e.shareLink,n=e.className,r=e.buttonOptions,o=e.defaultText,a=e.successText,i=e.component,c=e.bubblePlacement,u=this.state.success;return s.a.createElement(d.SimpleBubble,{className:l()({"disable-hover":!u&&!o},n),content:u?s.a.createElement("span",null,s.a.createElement("i",{className:"icon"}),a):s.a.createElement("span",null,o),onMouseLeave:this.onMouseLeave,component:i,placement:c},s.a.createElement(p.a,{"option-text":function(){return t},onSuccess:this.onCopySuccess,component:r.component,className:r.className,"button-href":r.buttonHref},r.children))}}]),i}(),r.propTypes={className:c.a.string,shareLink:c.a.string.isRequired,defaultText:c.a.string,successText:c.a.string,component:c.a.string,bubblePlacement:c.a.string,buttonOptions:c.a.shape({component:c.a.string.isRequired,className:c.a.string.isRequired,buttonHref:c.a.string,children:c.a.node})},r.defaultProps={defaultText:"\u590d\u5236\u94fe\u63a5\u5230\u526a\u8d34\u677f",successText:"\u94fe\u63a5\u590d\u5236\u6210\u529f",bubblePlacement:"bottom",buttonOptions:{component:"a",className:"opt-item",buttonHref:"javascript:;",children:s.a.createElement("i",{className:"opt-icon copy"})}},o)},SPM9:function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},SQfk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=a.default.unstable_batchedUpdates?function(e){a.default.unstable_batchedUpdates(n,e)}:n;return(0,o.default)(e,t,r)};var o=r(n("ds30")),a=r(n(1));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},SQhc:function(e,t,n){"use strict";var r=n("0JH0");n.d(t,"a",function(){return r.a})},Sa9u:function(e,t,u){"use strict";t.f=function(e){var t=e.questionId;return l.call("FetchQuestionById",{questionId:t})},t.g=function(e){var t=e.questionIds;return l.call("BatchFetchQuestionDetail",{questionIds:t})},t.h=function(e){var t=e.queryType,n=e.pageNumber,r=e.pageSize;return l.call("FetchQuestionFeeds",{queryType:t,pageNumber:n,pageSize:r})},t.i=function(e){var t=e.tagId,n=e.type,r=e.fingerprint,o=e.pageNumber,a=e.pageSize;return l.call("FetchQuestionsByTagId",{tagId:t,type:n,fingerprint:r,pageNumber:o,pageSize:a})},t.j=function(e){var t=e.questionId;return l.call("FetchRelatedQuestionsByQuestionId",{questionId:t})},t.k=function(e){var t=e.questionId;return l.lazy("ReportViewCount",{questionId:t},{thresholdDuration:3e3})},t.a=function(){return a.apply(void 0,arguments)},u.d(t,"l",function(){return a}),t.b=function(e){var t=e.questionId,n=e.follow;return l.lazy("ToggleQuestionFollow",{questionId:t,follow:n},{thresholdDuration:200})},t.e=function(e){var t=e.title,n=e.plain,r=e.content,o=e.tagId,a=e.fingerprint,i=e.fingerprintTitle,c=e.tagIds;return n=u.i(s.a)(n),r=u.i(s.a)(r),l.call("AskQuestion",{title:t,plain:n,content:r,tagId:o,fingerprint:a,fingerprintTitle:i,tagIds:c})},t.d=function(e){var t=e.questionId,n=e.title,r=e.plain,o=e.content;return r=u.i(s.a)(r),o=u.i(s.a)(o),l.call("UpdateQuestion",{questionId:t,title:n,plain:r,content:o})},t.m=function(e){var t=e.questionId;return l.call("DeleteQuestion",{questionId:t})},t.c=function(e){var t=e.questionTitle;return l.call("CheckRepeatQuestion",{questionTitle:t})},t.n=function(e){var t=e.tagIds,n=e.pageSize;return l.call("FetchRelatedQuestionsByTagIds",{tagIds:t,pageSize:n})},t.o=function(e){var t={pairs:e.pairs};return l.call("FetchQAPairList",t)},t.p=function(e){var t=e.id,n=e.category,r={id:t,category:n};return l.call("FetchDeveloperSpreadBanner",r)},t.q=function(){return l.call("FetchConfiguredQuestionData")};var n=u("cT2K"),s=u("u8nw");var l=new n.a("ask/question");var r,o,a=(r=regeneratorRuntime.mark(function e(t){var n,r=t.questionId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.accumulate("CheckQuestionsFollow",{questionIds:r});case 3:return n=e.sent,e.abrupt("return",n.includes(r));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,this,[[0,7]])}),o=function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return o.apply(this,arguments)})},SfB7:function(e,t,n){e.exports=!n("+E39")&&!n("S82l")(function(){return 7!=Object.defineProperty(n("ON07")("div"),"a",{get:function(){return 7}}).a})},SkUX:function(e,t,n){"use strict";t.a=function(e){var t=e.medium,n=void 0!==t&&t,r=e.small,o=void 0!==r&&r,a=e.tiny,i=void 0!==a&&a,c=e.className,u=e.style;return s.a.createElement("div",{className:l()("c-loading",{"c-loading-tip":n,"c-loading-tip m":o,m:i},c),style:u},s.a.createElement("div",{className:"c-loading-inner"},s.a.createElement("div",{className:"one"}),s.a.createElement("div",{className:"two"}),s.a.createElement("div",{className:"three"})))};var r=n(0),s=n.n(r),o=n("HW6M"),l=n.n(o)},Sxdk:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i="MarkdownEditor from 'shared/components' is deprecated. Please usefrom package '@tencent/draft-master';",c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.a.Component),a(t,[{key:"render",value:function(){return o.a.createElement("div",null,i)}},{key:"componentDidMount",value:function(){console.warn(i)}}]),t}()},SzII:function(e,t,n){"use strict";var r=n("ZI17");n.d(t,"a",function(){return r.a});var o=n("DvKu");n.d(t,"b",function(){return o.a})},T1GB:function(e,t,n){"use strict";var r=n("5Uzs");n.d(t,"a",function(){return r.a})},T4uT:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("rdLu"),o=n.n(r),a=n("PNJI"),i="DEVELOPER_SEARCH_HISTORY",c={add:function(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{title:""},t=this.list,n=0;n<t.length;n++){if(t[n].title===e.title)return t.splice(n,1),t.unshift(e),void a.Storage.set(i,t)}6<=t.length&&t.pop(),t.unshift(e),a.Storage.set(i,t)},remove:function(e){var t=this.list;t.splice(e,1),a.Storage.set(i,t)},get list(){var e=a.Storage.get(i);return o.a.isArray(e)?e:[]},clear:function(){a.Storage.remove(i)}}},T88j:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=n.n(r),a=n("HW6M"),i=(n.n(a),n("8MjU")),c=n("v12x"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),u(t,[{key:"render",value:function(){var e=this.props.currentSearchTab;return o.a.createElement("section",{className:"com-search-dropdown col2"},o.a.createElement("div",{className:"com-search-dropdown-bd"},o.a.createElement(i.a,{currentSearchTab:e}),o.a.createElement(c.a,{currentSearchTab:e})))}}]),t}()},"T9D+":function(e,t,n){"use strict"},TGOg:function(e,t,n){"use strict";var r=n("SKaU");n.d(t,"a",function(){return r.a});var o=n("U8+I");n.d(t,"b",function(){return o.a});var a=n("4cYY");n.d(t,"c",function(){return a.a});var i=n("BEIP");n.d(t,"d",function(){return i.a});var c=n("5yQj");n.d(t,"e",function(){return c.a})},TIx8:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n("KSGD")),a=n.n(o),i=n("wa6R"),c=n("ypWF"),u=n("TxQ3"),s=n.i(c.a)({targetId:"teamId",handleCheck:i.a,handleToggle:i.b,defaultProps:{followClassName:"c-btn",unfollowClassName:"c-btn c-btn-hole",whenUndetermined:"hidden",buttonStyle:{},disabled:!1}})(u.a);s.propTypes={teamId:a.a.number.isRequired,followClassName:a.a.string,unfollowClassName:a.a.string,whenUndetermined:a.a.string,buttonStyle:a.a.object,disabled:a.a.bool}},TJez:function(e,t,n){"use strict";var r={};e.exports=r},TMJg:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=n("5oT9"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.hover;return i.a.createElement(f.Link,{to:"/user/"+t.id,className:l()("com-search-result-item",{hover:n})},i.a.createElement("i",{className:"com-search-result-icon user"}),i.a.createElement("span",{className:"com-search-result-type"},"\u7528\u6237"),i.a.createElement(p.a,{html:t.name,className:"com-search-result-text"}))}}]),t}(),r.propTypes={item:u.a.shape({id:u.a.number.isRequired,name:u.a.string.isRequired}).isRequired,hover:u.a.bool.isRequired},o)},TNV1:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},TTo2:function(e,t,n){"use strict";var r=n("KxpP");n.d(t,"a",function(){return r.a})},TcQ7:function(e,t,n){var r=n("MU5D"),o=n("52gC");e.exports=function(e){return r(o(e))}},TeJT:function(e,t,n){"use strict";t.a=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1e3;return new Promise(function(e){return setTimeout(e,t)})}},Tfb9:function(e,t,n){"use strict";var r=n("Nxko");n.d(t,"a",function(){return r.a})},"Tk/L":function(e,t,m){"use strict";m.d(t,"a",function(){return C});var n,r,o=m(0),f=m.n(o),a=m("KSGD"),i=m.n(a),p=m("UVf0"),c=(m.n(p),m("nfin")),l=m("9C8i"),h=m("xt0B"),d=m("PNJI"),v=m("MCil"),y=m("pwtL"),b=m("qzhA"),g=m("Hovz"),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var E=c.l.NONE,O=c.l.LOADING,k=c.l.LOADED,_=c.l.FAILED,C=(r=n=function(e){function a(){var e,t,p,d=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=p=s(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={loading:E,pageNumber:1,pageSize:5,total:0,comments:[]},p.element=f.a.createRef(),p.fetchComments=function(){var e,f=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return e=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=p.props,n=t.question,r=t.answer,o=t.onUpdateCommentCount,a=p.state,i=a.pageNumber,c=a.pageSize,p.setState({loading:O}),e.next=6,v.h.readAnswerComments({questionId:n.id,answerId:r.id,pageNumber:i,pageSize:c});case 6:u=e.sent,s=u.total,l=u.list,p.setState({loading:k,total:s,comments:l},function(){o({commentCount:r.commentCount||p.state.total}),f&&setTimeout(function(){p.element.current&&m.i(h.scrollIntoView)({selector:p.element.current,duration:600,offsetTop:100})},300)}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),p.setState({loading:_});case 15:case"end":return e.stop()}},e,d,[[0,12]])}),function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}},p.changePage=function(e){var t=e.pageNumber;p.setState({pageNumber:t},p.fetchComments(!0))},p.deleteComment=function(e){var t=e.commentId,n=p.props,r=n.onUpdateCommentCount,o=n.answer,a=p.state,i=a.total,c=a.comments,u=c.findIndex(function(e){return e.id===t}),s=c;~u&&(s[u]=w({},c[u],{status:l.QuestionCommentType.DELETED,content:""}),p.setState({total:i-1,comments:s},function(){r({commentCount:o.commentCount-1})}))},s(p,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,o["Component"]),u(a,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var n=this,e=this.props,t=e.opened,r=e.question,o=e.answer,a=this.state,i=a.loading,c=a.pageSize,u=a.pageNumber,s=a.total,l=a.comments;return f.a.createElement(p.CSSTransitionGroup,w({component:"div"},d.transition.slide()),t&&f.a.createElement("section",{ref:this.element,className:"com-comment-popup v2"},f.a.createElement(g.a,{question:r,answer:o,onReply:function(e){return n.comment(e)}}),i===O&&f.a.createElement("div",{className:"com-load-more"},f.a.createElement(y.LoadingBar,{small:!0})),i===k&&!l.length&&f.a.createElement("div",{className:"com-none"},f.a.createElement("p",{className:"com-none-cnt"},"\u6682\u65e0\u8bc4\u8bba")),f.a.createElement(p.CSSTransitionGroup,w({component:"div",className:"popup-bd"},d.transition.slide({enterPosition:{x:20,y:0}}),{transitionLeave:!1}),i===_&&f.a.createElement(y.RetryBar,{onRetry:this.fetchComments(!0),tip:!0}),l.map(function(e,t){return f.a.createElement(b.a,{key:e.id,question:r,answer:o,comment:e,onDelete:n.deleteComment,onUpdateCommentCount:n.props.onUpdateCommentCount})})),c<s&&f.a.createElement(y.Pagination,{type:"mini",pageNumber:u,pageCount:Math.ceil(s/c),onPageChange:this.changePage})))}},{key:"componentWillReceiveProps",value:function(e){!this.props.opened&&e.opened&&this.setState({total:0,comments:[]},this.fetchComments(!1))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!1}},{key:"comment",value:function(e){var t=this.props,n=t.onUpdateCommentCount,r=t.answer,o=this.state,a=o.total,i=o.comments;this.setState({total:a+1,comments:[e].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(i))},function(){n({commentCount:r.commentCount+1})})}}]),a}(),n.propTypes={opened:i.a.bool.isRequired,question:i.a.object.isRequired,answer:i.a.object.isRequired,onUpdateCommentCount:i.a.func.isRequired},n.defaultProps={opened:!1,onUpdateCommentCount:function(e){e.commentCount}},r)},To3L:function(e,t,n){"use strict";var p=n("lktj"),d=n("1kS7"),m=n("NpIQ"),h=n("sB3e"),v=n("MU5D"),o=Object.assign;e.exports=!o||n("S82l")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=o({},e)[n]||Object.keys(o({},t)).join("")!=r})?function(e,t){for(var n=h(e),r=arguments.length,o=1,a=d.f,i=m.f;o<r;)for(var c,u=v(arguments[o++]),s=a?p(u).concat(a(u)):p(u),l=s.length,f=0;f<l;)i.call(u,c=s[f++])&&(n[c]=u[c]);return n}:o},Tpeq:function(e,t,n){"use strict";t.b=o,t.a=function(e){var t=o(e);if(isClientContext)return location.protocol+"//"+location.host+t;return t};var r=n("nfin");function o(e){return"~"===e.charAt(0)?e.slice(1):(r.b&&("/"===e||/^\/(?=[?#])/.test(e))&&(e=e.slice(1)),r.b+e)}},Trf7:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a,i=n(0),c=n.n(i),u=n("HW6M"),s=n.n(u),l=n("KSGD"),f=n.n(l),p=n("xt0B"),d=n("PNJI"),m=n("MCil"),h=n("pwtL"),v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var y=n.i(p.connectSession)()((a=o=function(e){function n(e){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t,c=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return c.checkFavor=(t=regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=c.props,n=t.session,r=t.answerId,n.isLogined){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,m.h.checkAnswerFavor({answerId:r});case 5:o=e.sent,!c.isUnmounted&&o&&c.setState({checked:!0});case 7:case"end":return e.stop()}},e,a)}),function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),c.toggleFavor=function(){var e=c.props,t=e.session,n=e.questionId,r=e.answerId;if(t.isLogined){var o=c.state,a=o.checked,i=o.favorCount;c.setState({checked:!a,favorCount:a?i-1:i+1}),m.h.favorAnswer({questionId:n,answerId:r,action:a?2:1})}else d.login.show()},c.state={checked:!1,favorCount:e.favorCount||0},c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i["Component"]),v(n,[{key:"render",value:function(){var e=this.state,t=e.checked,n=e.favorCount,r=this.props,o=r.showText,a=r.hotrep;return c.a.createElement(h.Link,{className:s()("com-opt-link link-bookmark",{actived:t}),onClick:this.toggleFavor,hotrep:a},c.a.createElement("i",{className:"com-i-bookmark"}),o&&c.a.createElement("span",{className:"name",style:{display:"inline"}},"\u6536\u85cf"),n||0)}},{key:"componentDidMount",value:function(){this.checkFavor()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}}]),n}(),o.propTypes={questionId:f.a.number.isRequired,answerId:f.a.number.isRequired,favorCount:f.a.number.isRequired,showText:f.a.bool,hotrep:f.a.string},o.defaultProps={showText:!0},r=a))||r},TsVu:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-3-section-bd"},t)};var r=n(0),o=n.n(r)},TvrK:function(e,t,n){"use strict"},TxQ3:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),g=n.n(r),w=n("pwtL"),E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var O={backgroundColor:"#f5f5f5",color:"#b5b5b5",border:"none",cursor:"no-drop"},a=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleMouseOver=function(){t.setState({isHover:!0})},t.onMouseOut=function(){t.setState({isHover:!1})},t.state={isHover:!1},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,r["Component"]),o(n,[{key:"render",value:function(){var e=this.state.isHover,t=this.props,n=t.isFollowing,r=t.loading,o=t.tinyLoading,a=t.followClassName,i=t.unfollowClassName,c=t.disabled,u=void 0!==c&&c,s=t.buttonStyle,l=void 0===s?{}:s,f=t.onClick,p=void 0===f?function(){}:f,d=t.followedText,m=t.unfollowedText,h=t.followedHoverText,v=t.unfollowedHoverText,y=t.withIcon,b=t.hotrep;return g.a.createElement(w.Button,{loading:r,tinyLoading:o,onClick:u?null:p,onMouseOver:this.handleMouseOver,onMouseOut:this.onMouseOut,className:n?i:a,style:u?E({},O,l):E({},l),hotrep:b},y&&!n&&g.a.createElement("i",{className:"icon"}),e&&n&&(h||"\u5df2\u5173\u6ce8"),e&&!n&&(v||"\u5173\u6ce8"),!e&&n&&(d||"\u5df2\u5173\u6ce8"),!e&&!n&&(m||"\u5173\u6ce8"))}}]),n}()},U7Ff:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),p(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.title,r=e.children,o=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","title","children"]);return i.a.createElement("section",f({className:l()("com-third-section-hd",t)},o),n&&i.a.createElement("header",{className:"com-third-section-hd"},i.a.createElement("h3",{className:"com-third-section-title"},n)),i.a.createElement("div",{className:"com-third-section-bd"},r))}}]),t}(),r.propTypes={className:u.a.string,title:u.a.string},o)},"U8+I":function(e,t,c){"use strict";c.d(t,"a",function(){return d});var n,r,o=c(0),i=c.n(o),a=c("KSGD"),u=c.n(a),s=c("xt0B"),l=c("pwtL"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=(r=n=function(e){function a(){var e,t,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=i=p(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).share=function(){var e=i.props.shareOptions,t=e.url,n=e.title,r=e.summary,o=void 0===r?"":r,a="https://connect.qq.com/widget/shareqq/index.html?"+c.i(s.serializeUrlParams)({url:t,title:n,summary:o,style:101,width:96,height:24});c.i(s.openWindow)({url:a,name:"share-window",width:800,height:600})},p(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,o["Component"]),f(a,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.bubblePlacement;return i.a.createElement(l.SimpleBubble,{content:i.a.createElement("span",null,t),placement:n},i.a.createElement(l.Link,{onClick:this.share,className:"opt-item"},i.a.createElement("i",{className:"opt-icon qq"})))}}]),a}(),n.propTypes={title:u.a.string.isRequired,shareOptions:u.a.shape({url:u.a.string.isRequired,title:u.a.string.isRequired,summary:u.a.string}).isRequired,bubblePlacement:u.a.string},n.defaultProps={bubblePlacement:"bottom"},r)},UBMG:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),o=n.n(r),a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),a(t,[{key:"render",value:function(){var e=(new Date).getFullYear();return o.a.createElement("footer",{className:"J-miniFooter com-2-simple-footer layout",style:{position:"fixed",width:"100%",bottom:0,visibility:"hidden"}},o.a.createElement("div",{className:"com-2-simple-footer-inner"},o.a.createElement("div",{className:"com-2-simple-footer-copyright"},o.a.createElement("p",null,"Copyright \xa9 2013-"+e+" Tencent Cloud. All Rights Reserved. ",o.a.createElement("span",null,"\u817e\u8baf\u4e91\xa0\u7248\u6743\u6240\u6709")),o.a.createElement("p",null,o.a.createElement("a",{href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802020287",target:"_blank",className:"footer-link",hotrep:"community.mini_footer.link.beian"},"\u4eac\u516c\u7f51\u5b89\u5907 11010802020287"),o.a.createElement("a",{href:"http://www.beian.miit.gov.cn",target:"_blank",className:"footer-link",hotrep:"community.mini_footer.link.miitbeian"},"\u4eacICP\u590711018762\u53f7")))))}}]),t}()},UCgB:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(0),i=n.n(r),c=n("pwtL"),o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),o(t,[{key:"render",value:function(){var e=this.props,t=e.users,n=void 0===t?[]:t,r=e.totalCount,o=void 0===r?0:r,a=e.message;if(!n.length||!a)return null;return o<=5?i.a.createElement("span",null,n.map(function(e,t){return i.a.createElement(c.UserLink,{key:t,user:{id:e.id,name:e.name+(t<n.length-1?"\u3001 ":" ")},target:"_blank"})})):i.a.createElement("span",null,n.slice(0,5).map(function(e,t){return i.a.createElement(c.UserLink,{key:t,user:{id:e.id,name:e.name+(t<4?"\u3001 ":" ")},target:"_blank"})}),"\u7b49",o,"\u4eba")}}]),t}()},UE8d:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=u(n("8+5l")),p=u(n("A4of")),o=u(n("lSD1")),d=n("S9Yq"),c=u(n(0)),a=u(n("KSGD")),m=n(1),i=n("QzNM");function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=[];d.transitionEnd&&h.push(d.transitionEnd),d.animationEnd&&h.push(d.animationEnd);a.default.node,i.nameShape.isRequired,a.default.bool,a.default.bool,a.default.bool,a.default.number,a.default.number,a.default.number;var l=function(a){function i(){var e,t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t=s(this,a.call.apply(a,[this].concat(r)))).componentWillAppear=function(e){t.props.appear?t.transition("appear",e,t.props.appearTimeout):e()},t.componentWillEnter=function(e){t.props.enter?t.transition("enter",e,t.props.enterTimeout):e()},t.componentWillLeave=function(e){t.props.leave?t.transition("leave",e,t.props.leaveTimeout):e()},s(t,e)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a),i.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},i.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(e){clearTimeout(e)}),this.classNameAndNodeQueue.length=0},i.prototype.transition=function(e,t,n){var r=(0,m.findDOMNode)(this);if(r){var o=this.props.name[e]||this.props.name+"-"+e,a=this.props.name[e+"Active"]||o+"-active",i=null,c=void 0;(0,f.default)(r,o),this.queueClassAndNode(a,r);var u,s,l=function(e){e&&e.target!==r||(clearTimeout(i),c&&c(),(0,p.default)(r,o),(0,p.default)(r,a),c&&c(),t&&t())};n?(i=setTimeout(l,n),this.transitionTimeouts.push(i)):d.transitionEnd&&(u=r,s=l,h.length?h.forEach(function(e){return u.addEventListener(e,s,!1)}):setTimeout(s,0),c=function(){h.length&&h.forEach(function(e){return u.removeEventListener(e,s,!1)})})}else t&&t()},i.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,o.default)(function(){return n.flushClassNameAndNodeQueue()}))},i.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach(function(e){e.node.scrollTop,(0,f.default)(e.node,e.className)}),this.classNameAndNodeQueue.length=0,this.rafHandle=null},i.prototype.render=function(){var e=r({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,c.default.cloneElement(c.default.Children.only(this.props.children),e)},i}(c.default.Component);l.displayName="CSSTransitionGroupChild",l.propTypes={},t.default=l,e.exports=t.default},UFB4:function(e,t,r){"use strict";r.d(t,"a",function(){return d});var n,o,a=r(0),i=r.n(a),c=r("KSGD"),u=r.n(c),s=r("xt0B"),l=r("pwtL"),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),p(t,[{key:"render",value:function(){var e=this.props,t=e.shareTitle,n=e.shareUrl,r=e.qrCodeSize,o=e.bubblePlacement,a=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["shareTitle","shareUrl","qrCodeSize","bubblePlacement"]);return i.a.createElement(l.MediaSharingGroup,f({subject:"\u6587\u7ae0",shareTitle:t,shareUrl:n,qrCodeSize:r,bubblePlacement:o,withCopy:!0},a))}},{key:"componentDidMount",value:function(){var e=this.props,t=e.containerSelector,n=e.qrCodeSize;t&&r.i(s.insertCSS)("article-sharing!"+t,t+" .com-share-options .qr-img img {\n\t\t\t\t\twidth: "+n+"px;\n\t\t\t\t\theight: "+n+"px;\n\t\t\t\t}")}}]),t}(),n.propTypes={shareTitle:u.a.string.isRequired,shareUrl:u.a.string.isRequired,containerSelector:u.a.string,qrCodeSize:u.a.number,bubblePlacement:u.a.string},n.defaultProps={qrCodeSize:120,bubblePlacement:"bottom"},o)},UFEn:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return p}),t.f=function(e){var t=e.url,n=e.to,r=(e.alt,c(e,["url","to","alt"]));return t?o.a.createElement("a",i({href:n,className:"com-media-object"},r),o.a.createElement("span",{className:"com-media-img",style:{backgroundImage:"url("+t+")"}})):null},t.g=function(e){var t=e.url,n=(e.alt,c(e,["url","alt"]));return t?o.a.createElement("div",i({className:"com-media-object"},n),o.a.createElement("span",{className:"com-media-img",style:{backgroundImage:"url("+t+")"}})):null};var r=n(0),o=n.n(r),a=n("xt0B"),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function c(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var u=n.i(a.createWrapper)("div.com-media"),s=n.i(a.createWrapper)("div.com-media-body"),l=n.i(a.createWrapper)("h3.com-media-title"),f=n.i(a.createWrapper)("div.com-media-desc"),p=n.i(a.createWrapper)("div.c-markdown")},UKP7:function(e,t,n){"use strict";var r=n("NMl1");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},UOu3:function(e,t,n){"use strict";n("4GeK")},UROC:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,o=n(0),a=n.n(o),i=n("xt0B"),c=n("PNJI"),u=n("pwtL"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=n.i(i.connectSession)()(r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=l(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).gotoLogin=function(){return c.login.show()},l(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),s(i,[{key:"render",value:function(){var e=this.props.session;if(e.isLogined){e.uid;var t=e.profile;return a.a.createElement(u.Link,{to:"/user",className:"header-user",hotrep:"community.header.user"},a.a.createElement("span",{className:"header-user-avatar",style:{backgroundImage:"url("+t.avatar+")"}}),a.a.createElement("span",{className:"header-user-name"},t.name))}return a.a.createElement(u.Link,{onClick:this.gotoLogin,hotrep:"community.header.login"},"\u767b\u5f55")}}]),i}())||r},UVcW:function(e,t,n){"use strict";t.a=function(e){if(!/^\d{17}[\dxX]$/.test(e))return!1;for(var t=String(e),n=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],r=0,o=0;o<n.length;o+=1)r+=n[o]*t[o];return t.slice(-1).toUpperCase()===["1","0","X","9","8","7","6","5","4","3","2"][r%11]}},UVf0:function(e,t,n){"use strict";var r=a(n("cnnw")),o=a(n("tW2u"));function a(e){return e&&e.__esModule?e:{default:e}}e.exports={TransitionGroup:o.default,CSSTransitionGroup:r.default}},UfQ5:function(e,t,n){"use strict";t.a=function(e){if(o.a.isWindow(e)||9===e.nodeType)return!1;var t=o.a.getDocument(e).body,n=null;for(n=e.parentNode;n&&n!==t;n=n.parentNode){var r=o.a.css(n,"position");if("fixed"===r)return!0}return!1};var o=n("YYEd")},UkLw:function(e,t,n){"use strict";t.a=function(e){var t=e.onClick;return o.a.createElement(a.Link,{className:"com-panel-back",onClick:t},"\u8fd4\u56de")};var r=n(0),o=n.n(r),a=n("pwtL")},Umth:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("HX4C"),p=n("heL+"),d=n("BCap"),m=n("TsVu"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var y=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),v(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("section",h({className:l()("com-3-section",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);y.Header=f.a,y.Title=p.a,y.Extra=d.a,y.Body=m.a},UuGF:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},V33R:function(e,t,n){var r,o,a,i;i=function(e,t,n,r){"use strict";var o=c(t),a=c(n),i=c(r);function c(e){return e&&e.__esModule?e:{default:e}}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=function(e){function r(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.resolveOptions(t),n.listenClick(e),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,a.default),s(r,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===u(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,i.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return f("action",e)}},{key:"defaultTarget",value:function(e){var t=f("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return f("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),r}();function f(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},o=[e,n("LF/X"),n("WreF"),n("Bj/7")],void 0===(a="function"==typeof(r=i)?r.apply(t,o):r)||(e.exports=a)},V3tA:function(e,t,n){n("R4wc"),e.exports=n("FeBl").Object.assign},V6IP:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),s=n.n(a),i=n("KSGD"),c=n.n(i),u=n("HW6M"),l=n.n(u),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),p(t,[{key:"render",value:function(){var e=this.props,t=e.content,n=e.className,r=e.component,o=e.placement,a=e.bubbleClassName,i=e.bubbleInnerStyle,c=e.children,u=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["content","className","component","placement","bubbleClassName","bubbleInnerStyle","children"]);return s.a.createElement(r,f({className:l()("c-bubble-trigger",n)},u),c,s.a.createElement("div",{className:"c-bubble c-bubble-"+o+" "+a},s.a.createElement("div",{className:"c-bubble-inner",style:i},t)))}}]),t}(),r.propTypes={content:c.a.node.isRequired,className:c.a.string,component:c.a.string,placement:c.a.oneOf(["top","bottom","left","right"]),bubbleClassName:c.a.string,bubbleInnerStyle:c.a.object},r.defaultProps={component:"div",placement:"bottom",bubbleClassName:""},o)},VNVP:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=n.n(r),a=n("rdLu"),i=n.n(a),c=n("pwtL"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),u(t,[{key:"render",value:function(){var e=this.props.task;if(!e||i.a.isEmpty(e))return null;var t=e.taskId,n=e.title,r=n.length<80?n:n.substring(0,80)+"...";return o.a.createElement(c.Link,{target:"_blank",to:"/translation/translate-"+t},"\u300a"+r+"\u300b")}}]),t}()},VO7W:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-weak-section-bd"},t)};var r=n(0),o=n.n(r)},VRT1:function(e,o,a){"use strict";(function(e){a.d(o,"a",function(){return r});var t=a("aliT"),n=a("jgwl"),r={get userAgent(){return this.$ua.ua||""},get os(){return this.$ua.os||{}},get browser(){return this.$ua.browser||{}},get engine(){return this.$ua.engine||{}},get device(){return this.$ua.device||{}},get model(){return this.device.model||""},get vendor(){return this.device.vendor||""},get isMobileEnv(){return Boolean(["mobile","tablet"].includes(this.device.type)||this.isWechat||this.isXiaoMIPhone)},get isMobile(){return Boolean("mobile"===this.device.type||this.isWechat&&"tablet"!==this.device.type||this.isXiaoMIPhone)},get isWechat(){return"WeChat"===this.browser.name},get isMiniProgram(){try{return isClientContext?Boolean("miniprogram"===window.__wxjs_environment||n.a.get("miniprogram")):this.$ua.ua.toLowerCase().includes("miniprogram")}catch(e){return!1}},get isXiaoMIPhone(){return this.model.toUpperCase().includes("MI")||this.vendor.toUpperCase().includes("XIAOMI")},get isIphoneX(){var e=window.screen||{},t=e.width,n=e.height;return"iPhone"===this.device.model&&375===t&&812===n},get $ua(){return isServerContext?t.a.get(e.domain,"req.$ua",{}):window.$ua||{}}}}).call(o,a("W2nU"))},VSxT:function(e,t,n){"use strict";t.a=function(e){var t=c.a.negate(function(e){return Boolean("unstyled"===e.type&&!String(e.text).trim())}),n=e.blocks,r=void 0===n?[]:n,o=c.a.findIndex(r,t),a=c.a.findLastIndex(r,t);if(0<o||a<r.length-1){var i=r.slice(~o?o:0,~a?a+1:r.length);0<i.length&&0<i[0].depth&&i.unshift({type:"unstyled",text:"",depth:0,inlineStyleRanges:[],entityRanges:[],data:{}}),e.blocks=i}return e};var r=n("rdLu"),c=n.n(r)},Vgyu:function(e,t,n){"use strict";var r=n(0),a=n.n(r),o=n("KSGD"),i=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u="undefined"!=typeof window&&"undefined"!=typeof document,m=!!u&&!!document.documentElement.currentStyle,h=u&&document.createElement("textarea"),v={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},y=["letter-spacing","line-height","font-family","font-weight","font-size","font-style","text-rendering","text-transform","width","text-indent","padding-top","padding-right","padding-bottom","padding-left","border-top-width","border-right-width","border-bottom-width","border-left-width","box-sizing"],b={};function s(e,t,n,r,o){void 0===n&&(n=!1),void 0===r&&(r=null),void 0===o&&(o=null),null===h.parentNode&&document.body.appendChild(h);var a=function(e,t,n){void 0===n&&(n=!1);if(n&&b[t])return b[t];var r=window.getComputedStyle(e);if(null===r)return null;var o=y.reduce(function(e,t){return e[t]=r.getPropertyValue(t),e},{}),a=o["box-sizing"];m&&"border-box"===a&&(o.width=parseFloat(o.width)+parseFloat(r["border-right-width"])+parseFloat(r["border-left-width"])+parseFloat(r["padding-right"])+parseFloat(r["padding-left"])+"px");var i=parseFloat(o["padding-bottom"])+parseFloat(o["padding-top"]),c=parseFloat(o["border-bottom-width"])+parseFloat(o["border-top-width"]),u={sizingStyle:o,paddingSize:i,borderSize:c,boxSizing:a};n&&(b[t]=u);return u}(e,t,n);if(null===a)return null;var i=a.paddingSize,c=a.borderSize,u=a.boxSizing,s=a.sizingStyle;Object.keys(s).forEach(function(e){h.style[e]=s[e]}),Object.keys(v).forEach(function(e){h.style.setProperty(e,v[e],"important")}),h.value=e.value||e.placeholder||"x";var l=-1/0,f=1/0,p=h.scrollHeight;"border-box"===u?p+=c:"content-box"===u&&(p-=i),h.value="x";var d=h.scrollHeight-i;return null===r&&null===o||(null!==r&&(l=d*r,"border-box"===u&&(l=l+i+c),p=Math.max(l,p)),null!==o&&(f=d*o,"border-box"===u&&(f=f+i+c),p=Math.min(f,p))),{height:p,minHeight:l,maxHeight:f,rowCount:Math.floor(p/d)}}var l,f=(void 0===l&&(l=0),function(){return++l}),p=function(){},d=u&&window.requestAnimationFrame?[window.requestAnimationFrame,window.cancelAnimationFrame]:[setTimeout,clearTimeout],g=d[0],w=d[1],E=function(t){var e,n;function r(e){var i;return(i=t.call(this,e)||this)._resizeLock=!1,i._onRootDOMNode=function(e){i._rootDOMNode=e,i.props.inputRef&&i.props.inputRef(e)},i._onChange=function(e){i._controlled||i._resizeComponent(),i.props.onChange(e)},i._resizeComponent=function(e){if(void 0===e&&(e=p),void 0!==i._rootDOMNode){var t=s(i._rootDOMNode,i._uid,i.props.useCacheForDOMMeasurements,i.props.minRows,i.props.maxRows);if(null!==t){var n=t.height,r=t.minHeight,o=t.maxHeight,a=t.rowCount;i.rowCount=a,i.state.height===n&&i.state.minHeight===r&&i.state.maxHeight===o?e():i.setState({height:n,minHeight:r,maxHeight:o},e)}else e()}else e()},i.state={height:e.style&&e.style.height||0,minHeight:-1/0,maxHeight:1/0},i._uid=f(),i._controlled="string"==typeof e.value,i}n=t,(e=r).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=r.prototype;return o.render=function(){var e=this.props,t=(e.minRows,e.maxRows,e.onHeightChange,e.useCacheForDOMMeasurements,e.inputRef,function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["minRows","maxRows","onHeightChange","useCacheForDOMMeasurements","inputRef"]));return t.style=c({},t.style,{height:this.state.height}),Math.max(t.style.maxHeight||1/0,this.state.maxHeight)<this.state.height&&(t.style.overflow="hidden"),a.a.createElement("textarea",c({},t,{onChange:this._onChange,ref:this._onRootDOMNode}))},o.componentDidMount=function(){var e=this;this._resizeComponent(),this._resizeListener=function(){e._resizeLock||(e._resizeLock=!0,e._resizeComponent(function(){return e._resizeLock=!1}))},window.addEventListener("resize",this._resizeListener)},o.componentWillReceiveProps=function(){var e=this;this._clearNextFrame(),this._onNextFrameActionId=g(function(){return e._resizeComponent()})},o.componentDidUpdate=function(e,t){this.state.height!==t.height&&this.props.onHeightChange(this.state.height,this)},o.componentWillUnmount=function(){var e;this._clearNextFrame(),window.removeEventListener("resize",this._resizeListener),e=this._uid,delete b[e]},o._clearNextFrame=function(){w(this._onNextFrameActionId)},r}(a.a.Component);E.propTypes={value:i.a.string,onChange:i.a.func,onHeightChange:i.a.func,useCacheForDOMMeasurements:i.a.bool,minRows:i.a.number,maxRows:i.a.number,inputRef:i.a.func},E.defaultProps={onChange:p,onHeightChange:p,useCacheForDOMMeasurements:!1},t.a=E},VtT6:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,a=n(2),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("HW6M"),l=n.n(s),f=n(0),p=n.n(f),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=m(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={rootTop:null},n.rootRef=p.a.createRef(),m(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,f["PureComponent"]),d(i,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=this.state.rootTop;return p.a.createElement("div",{ref:this.rootRef,className:l()("com-widget-operations",t),style:{visibility:"hidden",top:r}},n)}},{key:"componentDidMount",value:function(){this.setupAffixEffect()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0,c()(window).off("scroll.widget-operation-bar-affix")}},{key:"setupAffixEffect",value:function(){var t=this,n=c()(window),e=c()(this.rootRef.current).css("visibility",""),r=parseFloat(e.css("top"))||0,o=this.props.getDeltaHeight(),a=function(){var e=r-Math.min(n.scrollTop(),o);t.setState({rootTop:e})};n.on({"scroll.widget-operation-bar-affix":a}),a()}}]),i}(),r.propTypes={getDeltaHeight:u.a.func},r.defaultProps={getDeltaHeight:function(){return c()(".J-headerTop").height()}},o)},"W/gl":function(e,t,n){"use strict";t.a=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"yyyy.mm.dd";if(e instanceof Date)return n.i(r.a)(e,t);if(e=parseInt(e,10),isNaN(e))return"Unknown Date";10===String(e).length&&(e*=1e3);return n.i(r.a)(e,t)};var r=n("Ed5x")},W2nU:function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},WIb2:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"c-dropdown-menu"},t)};var r=n(0),o=n.n(r)},WTSI:function(e,t,n){"use strict";t.a=function(e){var t,n,a=e.stateName,v=e.withEntity,y=e.fetchApi,b=e.saveApi,r=e.buildFetchQuery,g=void 0===r?R:r,o=e.buildFetchResult,w=void 0===o?R:o,i=e.buildFetchError,E=void 0===i?R:i,c=e.buildSaveData,O=void 0===c?R:c,u=e.buildSaveResult,k=void 0===u?R:u,s=e.buildSaveError,_=void 0===s?R:s,l=a?(m=a,m[0].toUpperCase()+m.substr(1)):"",f="fetch"+l,C=f+"Success",N=f+"Fail",p="save"+l,T=p+"Success",S=p+"Fail",d=function(e,t,n){var r=e;if(a&&(e=e[a]),v){var o=t.key;e=h({},e,P({},o,h({},e[o]||I(),n)))}else e=h({},e,n);return a?h({},r,P({},a,e)):e};var m;return{state:I(a,v),reducers:(t={},P(t,f,function(e,t){var n=t.payload;return d(e,n,{fetching:!0,fetched:!1,fetchError:null})}),P(t,C,function(e,t){var n=t.payload;return d(e,n,{fetching:!1,fetched:!0,result:n.result})}),P(t,N,function(e,t){var n=t.payload;return d(e,n,{fetching:!1,fetched:!0,fetchError:n.error})}),P(t,p,function(e,t){var n=t.payload;return d(e,n,{saving:!0,saveError:null})}),P(t,T,function(e,t){var n=t.payload;return d(e,n,{saving:!1,result:n.result})}),P(t,S,function(e,t){var n=t.payload;return d(e,n,{saving:!1,saveError:n.error})}),t),effects:(n={},P(n,f,regeneratorRuntime.mark(function e(t,n){var r,o,a,i,c,u,s=t.payload,l=t.onSuccess,f=t.onError,p=n.put,d=n.call,m=n.getState,h=n.select;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=v?s.key:"default",l=l||s.onSuccess,f=f||s.onError,e.prev=3,o=m(),e.next=7,h();case 7:return a=e.sent,i=g(s.query,{key:r,state:o,rootState:a}),e.t0=w,e.next=12,d(y,i);case 12:return e.t1=e.sent,e.t2={key:r,query:i,state:o,rootState:a},c=(0,e.t0)(e.t1,e.t2),e.next=17,p({type:C,payload:{key:r,result:c}});case 17:return"function"==typeof l&&l(c),e.abrupt("return",c);case 21:return e.prev=21,e.t3=e.catch(3),u=E(e.t3),e.next=26,p({type:N,payload:{key:r,error:u}});case 26:"function"==typeof f&&f(u);case 27:case"end":return e.stop()}},e,this,[[3,21]])})),P(n,p,regeneratorRuntime.mark(function e(t,n){var r,o,a,i,c,u,s=t.payload,l=t.onSuccess,f=t.onError,p=n.put,d=n.call,m=n.getState,h=n.select;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=v?s.key:"default",l=l||s.onSuccess,f=f||s.onError,e.prev=3,o=m(),e.next=7,h();case 7:return a=e.sent,i=O(s.data,{key:r,state:o,rootState:a}),e.t0=k,e.t1=i,e.next=13,d(b,i);case 13:return e.t2=e.sent,e.t3={key:r,state:o,rootState:a},c=(0,e.t0)(e.t1,e.t2,e.t3),e.next=18,p({type:T,payload:{key:r,result:c}});case 18:"function"==typeof l&&l(c),e.next=27;break;case 21:return e.prev=21,e.t4=e.catch(3),u=_(e.t4),e.next=26,p({type:S,payload:{key:r,error:u}});case 26:"function"==typeof f?f(u):console.error(u);case 27:case"end":return e.stop()}},e,this,[[3,21]])})),n),ACTION_FETCH:f,ACTION_FETCH_SUCCESS:C,ACTION_FETCH_FAIL:N,ACTION_SAVE:p,ACTION_SAVE_SUCCESS:T,ACTION_SAVE_FAIL:S}},t.b=I;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(e){return e};function I(e,t){var n=t?{}:{result:null,fetching:!1,fetched:!1,fetchError:null,saving:!1,saveError:null};return e?P({},e,n):n}},WVx1:function(e,t,n){"use strict";t.a=function(e){var t=0,n=void 0,r=void 0,o=void 0;if(0===e.length)return t;for(n=0,o=e.length;n<o;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t|=0;return t}},WXFP:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a,i=n(0),B=n.n(i),c=n("KSGD"),u=n.n(c),s=n("HW6M"),U=n.n(s),q=n("nfin"),l=n("xt0B"),F=n("pwtL"),H=n("5oT9"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var W=q.g.BannedStatus,G=q.g.BanSubjects,p=n.i(l.connectSession)()((a=o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.session,n=e.question,r=e.className,o=e.showAskBadge,a=e.showAnswerCount,i=e.showAnswerCountAfterTitle,c=e.showTags,u=e.showAskEvent,s=e.showAnswer,l=e.showAnswerEvent,f=e.showAnswerUserLabel,p=e.showAnswerEventVerb,d=e.showAnswerEventTime,m=e.showAnswerOperationText,h=e.noEscapeQuestionTitle,v=e.questionDeletedRenderer,y=e.answerDeletedRenderer,b=e.questionBannedRenderer,g=e.answerBannedRenderer,w=e.questionToBeAuditRenderer,E=e.answerToBeAuditRenderer,O=e.hotrep,k=e.showRecommendButton,_=n.id,C=n.title,N=n.tags,T=void 0===N?[]:N,S=n.author,P=n.answerCount,R=n.bannedStatus,I=n.bannedReasonId,j=n.writeTime,x=n.updateTime,A=n.currentAnswer;if(n.isDeleted)return"function"==typeof v?v({question:n}):B.a.createElement(V,{className:r},B.a.createElement("div",{className:"com-forbidden"},B.a.createElement("div",{className:"com-forbidden-cnt"},B.a.createElement("i",{className:"forbidden-icon"}),B.a.createElement("span",null,"\u8be5\u95ee\u9898\u5df2\u88ab\u5220\u9664"))));var L=Boolean(R===W.TEMPORARY||R===W.PERMANENT),D=R===W.TO_BE_AUDIT,M=(n.authorId||S&&S.id)===t.uid;return L?M||"function"!=typeof b?B.a.createElement(V,{className:U()("without-operations",r)},B.a.createElement(F.ForbiddenTip,{isMyContent:M,subject:G.QUESTION,reasonId:I}),M&&B.a.createElement("header",{className:"com-ask-panel-hd without-panel-infos",style:{marginTop:"10px",opacity:.3}},B.a.createElement("h3",{className:"ask-title"},B.a.createElement(F.AskLink,{questionId:_,target:"_blank",title:C})))):v({question:n}):D?"function"==typeof w?w({question:n}):B.a.createElement(V,{className:U()("without-operations",r)},B.a.createElement(F.AuditTip,{tip:"\u95ee\u9898\u6b63\u5728\u5ba1\u6838\u4e2d\uff0c\u5ba1\u6838\u901a\u8fc7\u540e\u5c06\u81ea\u52a8\u53d1\u5e03",desc:B.a.createElement("p",null,"\uff08\u82e5\u6709\u8f83\u7d27\u6025\u7684\u817e\u8baf\u4e91\u4ea7\u54c1\u95ee\u9898\uff0c\u8bf7",B.a.createElement(F.Link,{to:"https://"+q.h+"/workorder/category",target:"_blank"},"\u63d0\u4ea4\u5de5\u5355"),"\u6216\u62e8\u6253\u817e\u8baf\u4e91\u5b98\u65b9\u5ba2\u670d\u70ed\u7ebf ",q.i,"\uff09")}),M&&B.a.createElement("header",{className:"com-ask-panel-hd without-panel-infos",style:{marginTop:"10px",opacity:.3}},B.a.createElement("h3",{className:"ask-title"},B.a.createElement(F.AskLink,{questionId:_,target:"_blank",title:C})))):B.a.createElement(V,{className:r},B.a.createElement("header",{className:U()("com-ask-panel-hd",{"without-panel-infos":!(o||c&&T.length)})},o&&B.a.createElement("span",{className:"action-tag"},"\u95ee\u7b54"),B.a.createElement("h3",{className:"ask-title"},h&&B.a.createElement(F.AskLink,{questionId:_,target:"_blank",title:C,hotrep:O?O+".title":""},B.a.createElement(H.a,{html:C})),!h&&B.a.createElement(F.AskLink,{questionId:_,target:"_blank",hotrep:O?O+".title":""},C,Boolean(a&&i&&0<P)&&B.a.createElement("span",{className:"ask-title-num"},P+" \u56de\u7b54")),k&&B.a.createElement(F.ArticleRecommendButton,{className:"ask-title-num",cssStyle:{position:"absolute",right:0,top:0,fontSize:12,color:"#999"},article:n,onRecommendArticle:this.props.onRecommend,btnText:"\u7f6e\u9876",btnCancelText:"\u53d6\u6d88\u7f6e\u9876",recommendText:"\u786e\u5b9a\u8981\u7f6e\u9876\u8be5\u95ee\u9898\u5417\uff1f",cancelRecommendText:"\u786e\u5b9a\u8981\u53d6\u6d88\u7f6e\u9876\u8be5\u95ee\u9898\u5417\uff1f",isBtn:!1,onSucceed:function(){return window.location.reload()}})),Boolean(a&&!i)&&B.a.createElement("div",{className:"ask-operations"},B.a.createElement(F.AskLink,{questionId:_,className:U()("answer-btn",{"none-answer":0===P}),target:"_blank",title:C,hotrep:O?O+".count":""},B.a.createElement("span",{className:"num"},P),B.a.createElement("span",{className:"name"},"\u56de\u7b54"))),c&&0<T.length&&B.a.createElement("div",{className:"com-ask-panel-infos"},B.a.createElement(F.AskTags,{tags:T,type:"mini",hotrep:O}))),Boolean(u&&S)&&B.a.createElement(F.UserEventLine,{className:"com-ask-panel-author",user:S,event:{type:x&&x!==j?"updated":"asked",time:x||j}}),Boolean(s&&A)&&B.a.createElement(F.Answer,{question:n,answer:A,showAnswerEvent:l,showAnswerUserLabel:f,showAnswerEventVerb:p,showPublishTime:d,showOperationText:m,collapsed:!0,answerDeletedRenderer:y,answerBannedRenderer:g,answerToBeAuditRenderer:E,hotrep:O}))}}]),t}(),o.propTypes={question:u.a.object.isRequired,className:u.a.string,hotrep:u.a.string,showAskBadge:u.a.bool,showAnswerCount:u.a.bool,showAnswerCountAfterTitle:u.a.bool,showTags:u.a.bool,showAskEvent:u.a.bool,showAnswer:u.a.bool,showAnswerEvent:u.a.bool,showAnswerUserLabel:u.a.bool,showAnswerEventVerb:u.a.bool,showAnswerEventTime:u.a.bool,showAnswerOperationText:u.a.bool,noEscapeQuestionTitle:u.a.bool,questionDeletedRenderer:u.a.func,answerDeletedRenderer:u.a.func,questionBannedRenderer:u.a.func,answerBannedRenderer:u.a.func,questionToBeAuditRenderer:u.a.func,answerToBeAuditRenderer:u.a.func,showRecommendButton:u.a.bool},o.defaultProps={showAskBadge:!1,showAnswerCount:!1,showAnswerCountAfterTitle:!1,showTags:!1,showAskEvent:!1,showAnswer:!1,showAnswerEvent:!1,showAnswerUserLabel:!0,showAnswerEventVerb:!0,showAnswerEventTime:!1,showAnswerOperationText:!0,noEscapeQuestionTitle:!1,showRecommendButton:!1},r=a))||r;function V(e){var t=e.className,n=e.children;return B.a.createElement("section",{className:U()("com-ask-panel",t)},n)}},WbGF:function(e,t,n){"use strict";t.a=function(e){var t=e.title;return o.a.createElement("header",{className:"com-ask-action-hd"},o.a.createElement("span",{className:"com-ask-action-action"},t))};var r=n(0),o=n.n(r)},Wfll:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n("KSGD")),a=n.n(o),i=n("Mn5R"),c=n("ypWF"),u=n("TxQ3"),s=n.i(c.a)({targetId:"userId",handleCheck:i.checkUserFollow,handleToggle:i.toggleUserFollow,defaultProps:{followClassName:"c-btn c-btn-hole",unfollowClassName:"c-btn c-btn-weak",whenUndetermined:"hidden",buttonStyle:{},disabled:!1,withIcon:!1,followedHoverText:"\u53d6\u6d88\u5173\u6ce8",unfollowedHoverText:"\u5173\u6ce8"}})(u.a);s.propTypes={userId:a.a.number.isRequired,followClassName:a.a.string,unfollowClassName:a.a.string,whenUndetermined:a.a.string,buttonStyle:a.a.object,disabled:a.a.bool,isFollowing:a.a.bool,withIcon:a.a.bool,followedText:a.a.node,unfollowedText:a.a.node,followedHoverText:a.a.node,unfollowedHoverText:a.a.node,hotrep:a.a.string}},Wiuw:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("pwtL"),l=n("5oT9"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={dropdownOpen:!1},n.toggleDropdownOpen=function(){var e=n.state.dropdownOpen;n.setState({dropdownOpen:!e})},p(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),f(i,[{key:"render",value:function(){this.state.dropdownOpen;var e=this.props,t=e.column,n=e.showPicture,r=e.showFollowButton,o=(e.showActionDropdown,e.noEscapeColumnTitle);return c.a.createElement("section",{className:"com-media com-column-media2 "},n&&c.a.createElement(s.Link,{to:"/column/"+t.id,className:"com-media-object"},c.a.createElement("span",{className:"com-media-img",style:{backgroundImage:"url("+t.icon+")"}})),c.a.createElement("div",{className:"com-media-body"},c.a.createElement("h3",{className:"com-column-media-title"},o&&c.a.createElement(l.a,{component:s.Link,html:t.name,to:"/column/"+t.id}),!o&&c.a.createElement(s.Link,{to:"/column/"+t.id},t.name)),c.a.createElement("p",{className:"com-column-media-desc"},c.a.createElement("span",{className:"data"},t.articleCount+" \u7bc7\u6587\u7ae0"),c.a.createElement("span",{className:"com-split dot"}),c.a.createElement("span",{className:"data"},t.followCount+" \u4eba\u8ba2\u9605")),c.a.createElement("div",{className:"com-column-media-opt"},r&&c.a.createElement(s.FollowColumnButton,{columnId:t.id,followedText:"\u5df2\u8ba2\u9605",unfollowedText:"\u8ba2\u9605"}))))}}]),i}(),r.propTypes={column:u.a.object.isRequired,showPicture:u.a.bool.isRequired,showFollowButton:u.a.bool.isRequired,showActionDropdown:u.a.bool.isRequired,noEscapeColumnTitle:u.a.bool.isRequired},r.defaultProps={showPicture:!1,showFollowButton:!1,showActionDropdown:!1,noEscapeColumnTitle:!1},o)},WmqB:function(e,t,n){"use strict";t.a=function(e){var t=e.questionId,n=e.sink;return r.call("ToggleQuestionSinkStatus",{questionId:t,sink:n})};var r=new(n("cT2K").a)("ask/sink")},WreF:function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var a=0,i=r.length;a<i;a++)r[a].fn!==t&&r[a].fn._!==t&&o.push(r[a]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},WsEJ:function(e,t,n){"use strict";var r=n("1R/j");n.d(t,"b",function(){return r.a});n("QZm5");var o=n("qT94");n.d(t,"a",function(){return o.a});n("d9C8"),n("wstg"),n("kE9c"),n("ti61"),n("Lg7O")},WtI4:function(e,t,n){"use strict";t.a=function(o){var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).error,a=void 0===e?new Error("\u56fe\u7247\u9884\u52a0\u8f7d\u5931\u8d25"):e;return new Promise(function(t,n){var r=new Image,e=function(e){return function(){r.onload=null,r.onerror=null,e?t(r):n(a)}};r.onload=e(!0),r.onerror=e(!1),r.src=o})}},Wzhn:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return function(e){return e}}},"X/Tb":function(e,t,n){"use strict";n("nfin"),n("m0AM"),n("gv2m");var r=n("cT2K");n("QNU9"),new r.a("summit")},X5sz:function(e,t,l){"use strict";l.d(t,"a",function(){return h});var n,r,o=l(0),c=l.n(o),a=l("KSGD"),i=l.n(a),u=l("9C8i"),f=l("Mn5R"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=u.BanSubjects.QUESTION,m=u.BanSubjects.ANSWER,h=(r=n=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={reasonMap:{}},p(n,t)}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),s(i,[{key:"render",value:function(){var e=this.props,t=e.isMyContent,n=e.subject,r=e.reasonId,o=this.state.reasonMap[r],a=t&&o||"\u5185\u5bb9\u8fdd\u89c4",i=(t?"\u4f60\u7684":"\u8be5")+(n===d?"\u63d0\u95ee":n===m?"\u56de\u7b54":"");return c.a.createElement("div",{className:"com-forbidden"},c.a.createElement("div",{className:"com-forbidden-cnt"},c.a.createElement("i",{className:"forbidden-icon"}),"\u62b1\u6b49\uff0c",i,a,"\uff0c\u5df2\u88ab\u7ba1\u7406\u5458\u5c01\u7981",t&&"\uff0c\u5efa\u8bae\u4fee\u6539\u540e\u91cd\u65b0\u53d1\u5e03"))}},{key:"componentDidMount",value:(t=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.i(f.getBanReasonList)();case 2:for(t=e.sent,n=t.reasons,r={},a=!(o=!0),i=void 0,e.prev=8,c=n[Symbol.iterator]();!(o=(u=c.next()).done);o=!0)s=u.value,r[s.id]=s.reason;e.next=16;break;case 12:e.prev=12,e.t0=e.catch(8),a=!0,i=e.t0;case 16:e.prev=16,e.prev=17,!o&&c.return&&c.return();case 19:if(e.prev=19,a)throw i;e.next=22;break;case 22:return e.finish(19);case 23:return e.finish(16);case 24:this.isUnmounted||this.setState({reasonMap:r});case 25:case"end":return e.stop()}},e,this,[[8,12,16,24],[17,,19,23]])}),n=function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return n.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}}]),i}(),n.propTypes={isMyContent:i.a.bool.isRequired,subject:i.a.oneOf([d,m]).isRequired,reasonId:i.a.number},n.defaultProps={isMyContent:!1},r)},X8DO:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},XCBz:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("pwtL"),l=n("MCil"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=(o=r=function(e){function c(){var e,t,a,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=a=d(this,(e=c.__proto__||Object.getPrototypeOf(c)).call.apply(e,[this].concat(r)))).handleRemoveMember=p(regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=a.props,n=t.uid,r=t.columnId,o=t.onRemove,s.Dialog.confirm({content:"\u786e\u5b9a\u5c06\u8be5\u6210\u5458\u79fb\u51fa\u4e13\u680f\u5417?",onConfirm:function(){var e=p(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.d.removeMember({columnId:r,uid:n});case 3:s.Dialog.hide(),s.MessageTip.info("\u5df2\u6210\u529f\u5c06\u8be5\u6210\u5458\u79fb\u51fa\u4e13\u680f"),setTimeout(function(){o&&o({uid:n})}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),s.MessageTip.error(e.t0.message||e.t0.msg);case 11:case"end":return e.stop()}},e,i,[[0,8]])}));return function(){return e.apply(this,arguments)}}()});case 2:case"end":return e.stop()}},e,i)})),d(a,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,i.a.Component),f(c,[{key:"render",value:function(){return i.a.createElement(s.Button,{className:"author-btn",onClick:this.handleRemoveMember},"\u79fb\u51fa\u4e13\u680f")}}]),c}(),r.propTypes={uid:u.a.number.isRequired,columnId:u.a.number.isRequired,onRemove:u.a.func},o)},XCnP:function(e,t,n){"use strict";t.e=c,t.b=function(e,t){var n=i();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))},t.a=function(e){return e.style.transitionProperty||e.style[i()]},t.c=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(c());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}},t.d=function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(c());if(r&&"none"!==r){var o=void 0,a=r.match(s);if(a)a=a[1],(o=a.split(",").map(function(e){return parseFloat(e,10)}))[4]=t.x,o[5]=t.y,u(e,"matrix("+o.join(",")+")");else{var i=r.match(l)[1];(o=i.split(",").map(function(e){return parseFloat(e,10)}))[12]=t.x,o[13]=t.y,u(e,"matrix3d("+o.join(",")+")")}}else u(e,"translateX("+t.x+"px) translateY("+t.y+"px) translateZ(0)")};var r=void 0,o={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function a(){if(void 0!==r)return r;r="";var e=document.createElement("p").style;for(var t in o)t+"Transform"in e&&(r=t);return r}function i(){return a()?a()+"TransitionProperty":"transitionProperty"}function c(){return a()?a()+"Transform":"transform"}function u(e,t){var n=c();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var s=/matrix\((.*)\)/,l=/matrix3d\((.*)\)/},XEMB:function(e,t,n){"use strict";var r=n("Ivgd");n.d(t,"a",function(){return r.a});var o=n("pmu0");n.d(t,"b",function(){return o.a})},XMXV:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),a=n("pwtL"),i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),i(t,[{key:"render",value:function(){var e=this.props,t=e.question,n=e.message;if(!t||!n)return null;var r=t.title.length<80?t.title:t.title.substring(0,80)+"...";return o.a.createElement(a.AskLink,{questionId:t.id,title:r,target:"_blank"})}}]),t}()},XT00:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function e(){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.promise=new Promise(function(e,t){n.resolve=e,n.reject=t})}},Xc4G:function(e,t,n){var c=n("lktj"),u=n("1kS7"),s=n("NpIQ");e.exports=function(e){var t=c(e),n=u.f;if(n)for(var r,o=n(e),a=s.f,i=0;o.length>i;)a.call(e,r=o[i++])&&t.push(r);return t}},Xchr:function(e,t,n){"use strict";t.a=function e(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:8088;if(!t||"string"!=typeof t)throw new TypeError("["+e.name+"] Can only hash non-empty string.");for(var r=0,o=t.length;r<o;r+=1)n+=(n<<5)+t.charCodeAt(r);return 2147483647&n}},XmWM:function(e,t,n){"use strict";var r=n("KCLY"),o=n("cGG2"),a=n("fuGk"),i=n("xLtR"),c=n("dIwP"),u=n("qRfI");function s(e){this.defaults=e,this.interceptors={request:new a,response:new a}}s.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,this.defaults,{method:"get"},e)).method=e.method.toLowerCase(),e.baseURL&&!c(e.url)&&(e.url=u(e.baseURL,e.url));var t=[i,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(n){s.prototype[n]=function(e,t){return this.request(o.merge(t||{},{method:n,url:e}))}}),o.forEach(["post","put","patch"],function(r){s.prototype[r]=function(e,t,n){return this.request(o.merge(n||{},{method:r,url:e,data:t}))}}),e.exports=s},"Y+Xi":function(e,t,n){"use strict";var r=n("2q4p");n.d(t,"a",function(){return r.a})},"Y/Q1":function(e,t,n){"use strict";var r=n("vERR");n.d(t,"a",function(){return r.a});var o=n("A7gK");n.d(t,"b",function(){return o.a})},Y5he:function(e,t,u){"use strict";t.a=function(e){var t=e.sampleId,n=e.interestCatId,r=e.sampleUserContent,o=e.realName,a=e.tel,i=e.qq,c=e.address,u=e.inviteCode,s={sampleId:t,interestCatId:n,sampleUserContent:r,realName:o,tel:a,qq:i,address:c,inviteCode:u};return l.call("ApplyTranslation",s)},t.b=function(e){var t={taskId:e.taskId};return l.call("AcceptTranslationTask",t)},t.c=function(e){var t=e.activityId,n=e.taskId,r=e.title,o=e.content,a=e.plain,i=e.picture;o=u.i(s.a)(o),a=u.i(s.a)(a);var c={activityId:t,taskId:n,title:r,content:o,plain:a,picture:i};return l.call("SaveTranslationDraft",c)},t.d=function(e){var t={taskId:e.taskId};return l.call("GetTranslationDraft",t)},t.e=function(e){var t=e.activityId,n=e.taskId,r=e.title,o=e.content,a=e.plain,i=e.picture;o=u.i(s.a)(o),a=u.i(s.a)(a);var c={activityId:t,taskId:n,title:r,content:o,plain:a,picture:i};return l.call("SubmitTranslationArticle",c)},t.f=function(e){var t=e.activityId,n=e.pageNumber,r=e.pageSize,o=e.tasksType,a=e.sortType,i={activityId:t,pageNumber:n,pageSize:r,tasksType:o,sortType:a};return l.call("GetTasksByActivityId",i)},t.g=function(e){var t=e.activityId,n=e.pageNumber,r=e.pageSize,o={activityId:t,pageNumber:n,pageSize:r};return l.call("GetUserTasksByActivityId",o)},t.h=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=e.pageNumber,r=e.pageSize,o={type:t,pageNumber:n,pageSize:r};return l.call("GetActivityList",o)},t.i=function(){return l.call("GetUserTranslationInfo")};var n=u("PNJI"),s=u("u8nw"),l=new n.Service("translation")},Y7Mk:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={ready:function(){return new Promise(function(r,o){var a=0;!function e(){var t=window.wechatJsSdk;if(t)return r(t);if(10<++a){var n=new Error("May `wechatJsSdk` install failed.");return o(n)}setTimeout(e,100)}()})}}},YIbL:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),s(t,[{key:"render",value:function(){var e=this.props,t=e.tip,n=e.desc;return i.a.createElement("div",{className:"com-forbidden"},i.a.createElement("div",{className:"com-forbidden-cnt"},i.a.createElement("i",{className:"forbidden-icon"}),t),n)}}]),t}(),r.propTypes={tip:u.a.string.isRequired,desc:u.a.node},o)},"YS+a":function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("WbGF"),p=n("0OLH"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var h=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),m(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("div",d({className:l()("com-ask-action",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);h.Header=f.a,h.Body=p.a},YWHS:function(e,t,n){"use strict";t.a={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}}},YYEd:function(e,t,E){"use strict";var O=E("XCnP"),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=void 0;function k(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":a(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):l(e,t);for(var o in t)t.hasOwnProperty(o)&&k(e,o,t[o])}function n(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function f(e){return n(e)}function p(e){return n(e,!0)}function _(e){var t,n,r,o,a,i,c,u=(o=r=void 0,a=(t=e).ownerDocument,i=a.body,c=a&&a.documentElement,r=(n=t.getBoundingClientRect()).left,o=n.top,{left:r-=c.clientLeft||i.clientLeft||0,top:o-=c.clientTop||i.clientTop||0}),s=e.ownerDocument,l=s.defaultView||s.parentWindow;return u.left+=f(l),u.top+=p(l),u}function d(e){return null!=e&&e==e.window}function i(e){return d(e)?e.document:9===e.nodeType?e:e.ownerDocument}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,s="currentStyle",m="runtimeStyle";function C(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function N(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function h(e,t,n){"static"===k(e,"position")&&(e.style.position="relative");var r=-999,o=-999,a=C("left",n),i=C("top",n),c=N(a),u=N(i);"left"!==a&&(r=999),"top"!==i&&(o=999);var s="",l=_(e);("left"in t||"top"in t)&&(s=E.i(O.a)(e)||"",E.i(O.b)(e,"none")),"left"in t&&(e.style[c]="",e.style[a]=r+"px"),"top"in t&&(e.style[u]="",e.style[i]=o+"px");var f=_(e),p={};for(var d in t)if(t.hasOwnProperty(d)){var m=C(d,n),h="left"===d?r:o,v=l[d]-f[d];p[m]=m===d?h+v:h-v}k(e,p),e.offsetTop,e.offsetLeft,("left"in t||"top"in t)&&E.i(O.b)(e,s);var y={};for(var b in t)if(t.hasOwnProperty(b)){var g=C(b,n),w=t[b]-l[b];y[g]=b===g?p[g]+w:p[g]-w}k(e,y)}function r(e,t,n){var r,o,a,i,c;n.useCssRight||n.useCssBottom?h(e,t,n):n.useCssTransform&&E.i(O.e)()in document.body.style?(o=t,a=_(r=e),i=E.i(O.c)(r),c={x:i.x,y:i.y},"left"in o&&(c.x=i.x+o.left-a.left),"top"in o&&(c.y=i.y+o.top-a.top),E.i(O.d)(r,c)):h(e,t,n)}function o(e,t){for(var n=0;n<e.length;n++)t(e[n])}function v(e){return"border-box"===l(e,"boxSizing")}"undefined"!=typeof window&&(l=window.getComputedStyle?function(e,t,n){var r=n,o="",a=i(e);return(r=r||a.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e[s]&&e[s][t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r.left,a=e[m].left;e[m].left=e[s].left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=o,e[m].left=a}return""===n?"auto":n});var y=["margin","border","padding"],b=-1,g=2,w=1;function T(e,t,n){var r=0,o=void 0,a=void 0,i=void 0;for(a=0;a<t.length;a++)if(o=t[a])for(i=0;i<n.length;i++){var c=void 0;c="border"===o?""+o+n[i]+"Width":o+n[i],r+=parseFloat(l(e,c))||0}return r}var S={};function P(e,t,n){var r=n;if(d(e))return"width"===t?S.viewportWidth(e):S.viewportHeight(e);if(9===e.nodeType)return"width"===t?S.docWidth(e):S.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],a="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,i=(l(e),v(e)),c=0;(null==a||a<=0)&&(a=void 0,(null==(c=l(e,t))||Number(c)<0)&&(c=e.style[t]||0),c=parseFloat(c)||0),void 0===r&&(r=i?w:b);var u=void 0!==a||i,s=a||c;return r===b?u?s-T(e,["border","padding"],o):c:u?r===w?s:s+(r===g?-T(e,["border"],o):T(e,["margin"],o)):c+T(e,y.slice(r),o)}o(["Width","Height"],function(a){S["doc"+a]=function(e){var t=e.document;return Math.max(t.documentElement["scroll"+a],t.body["scroll"+a],S["viewport"+a](t))},S["viewport"+a]=function(e){var t="client"+a,n=e.document,r=n.body,o=n.documentElement[t];return"CSS1Compat"===n.compatMode&&o||r&&r[t]||o}});var R={position:"absolute",visibility:"hidden",display:"block"};function I(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=void 0,o=t[0];return 0!==o.offsetWidth?r=P.apply(void 0,t):function(e,t,n){var r={},o=e.style,a=void 0;for(a in t)t.hasOwnProperty(a)&&(r[a]=o[a],o[a]=t[a]);for(a in n.call(e),t)t.hasOwnProperty(a)&&(o[a]=r[a])}(o,R,function(){r=P.apply(void 0,t)}),r}function j(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}o(["width","height"],function(r){var e=r.charAt(0).toUpperCase()+r.slice(1);S["outer"+e]=function(e,t){return e&&I(e,r,t?0:w)};var o="width"===r?["Left","Right"]:["Top","Bottom"];S[r]=function(e,t){var n=t;if(void 0===n)return e&&I(e,r,b);if(e){l(e);return v(e)&&(n+=T(e,["padding","border"],o)),k(e,r,n)}}});var x={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:i,offset:function(e,t,n){if(void 0===t)return _(e);r(e,t,n||{})},isWindow:d,each:o,css:k,clone:function(e){var t=void 0,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:j,getWindowScrollLeft:function(e){return f(e)},getWindowScrollTop:function(e){return p(e)},merge:function(){for(var e={},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o=0;o<n.length;o++)x.mix(e,n[o]);return e},viewportWidth:0,viewportHeight:0};j(x,S),t.a=x},YZSN:function(e,t,n){"use strict";var r=n("bz/Z");n.d(t,"a",function(){return r.a})},YdLL:function(e,t,n){"use strict";var r=n("X5sz");n.d(t,"a",function(){return r.a})},Ydfj:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-2-section-hd-extra"},t)};var r=n(0),o=n.n(r)},Ydyq:function(e,t,n){"use strict";var r=n("uBBh");n.d(t,"a",function(){return r.a})},YmwH:function(e,t,c){"use strict";c.d(t,"a",function(){return n});var u=c("Tpeq"),n={navigate:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.target,r=void 0===n?"_self":n,o=t.replace,a=void 0!==o&&o;if(isClientContext){var i=c.i(u.a)(e);switch(!0){case"_blank"===r:window.open(i);break;case a:location.replace(i);break;default:location.href=i}}}}},"YoH/":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var r={ARTICLE:"article",COLUMN:"column",ASK:"ask",LAB:"lab",USER:"user",DEVDOC:"devdoc",SALON:"salon"},o=r.ARTICLE;r.ARTICLE,r.COLUMN,r.ASK,r.DEVDOC,r.SALON,r.USER},Yobk:function(e,t,r){var o=r("77Pl"),a=r("qio6"),i=r("xnc9"),c=r("ax3d")("IE_PROTO"),u=function(){},s="prototype",l=function(){var e,t=r("ON07")("iframe"),n=i.length;for(t.style.display="none",r("RPLV").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l[s][i[n]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(u[s]=o(e),n=new u,u[s]=null,n[c]=e):n=l(),void 0===t?n:a(n,t)}},YwWk:function(e,t,n){"use strict";t.a=function(e,t){if(!isClientContext)return;var n=document.getElementById(r+e);n||((n=document.createElement("style")).id=r+e,document.querySelector("head").appendChild(n));n.textContent!=t&&(n.textContent=t);return n};var r="dynamic-inserted-css-"},Z0JH:function(e,t,D){"use strict";D.d(t,"a",function(){return s});var n,r,o,M=D(0),B=D.n(M),a=D("KSGD"),i=D.n(a),c=D("HW6M"),U=D.n(c),q=D("1RX5"),F=D("xt0B"),H=D("pwtL"),W=D("5oT9"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=D.i(F.connectSession)()((o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,M["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.session,n=e.className,r=e.article,o=e.verb,a=e.showAuthor,i=e.showColumn,c=e.showBrief,u=e.showStatisticalData,s=e.showOperations,l=e.isHotArticle,f=e.showPicture,p=e.escapeArticleTitle,d=e.onArticleDeleted,m=e.hotrep,h=e.showRecommendButton,v=t.profile.id,y=r.id,b=r.title,g=r.author,w=r.column,E=r.summary,O=r.brief,k=r.viewCount,_=r.likeCount,C=r.favorCount,N=r.picture,T=r.status,S=r.isTop,P=r.weight,R=E||O,I=g.id===v,j=I&&T===q.c.PENDING_APPROVAL,x=function(){if(!w)return!1;var e=w.creatorId||(w.creator||{}).id;return Boolean(e&&e===v)}(),A=I,L=I||x;return B.a.createElement("section",{className:U()("com-article-panel",n)},B.a.createElement("div",{className:"com-article-panel-body"},B.a.createElement("div",{className:"com-article-panel-author"},a&&B.a.createElement(M.Fragment,null,B.a.createElement(H.Link,{to:"/user/"+g.id,target:"_blank",rel:"nofollow",hotrep:m?m+".author":""},g.name),B.a.createElement(H.ProfessionVerifiedBadge,{user:g})),Boolean(i&&w)&&B.a.createElement("span",null,o),B.a.createElement("span",{className:"column-wrap"},Boolean(i&&w)&&B.a.createElement(H.Link,{className:"column-name",to:"/column/"+w.id,target:"_blank",hotrep:m?m+".column":""},w.name),Boolean(i&&w)&&B.a.createElement(H.FollowColumnButton,{columnId:Number(w.id),unfollowClassName:"c-btn c-btn-hole smaller subscibe-btn",followClassName:"c-btn c-btn-hole smaller subscibe-btn",tinyLoading:!0,hotrep:m?m+".follow_btn":""}))),B.a.createElement("h3",{className:U()("com-article-panel-title",{"with-tag":j}),style:{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},title:b},Boolean(S||h&&P>q.d)&&B.a.createElement("span",{className:"com-3-article-panel-mark sticky"},"\u7f6e\u9876"),p&&B.a.createElement(W.a,{component:H.Link,html:b,to:"/article/"+y,target:"_blank",hotrep:m?m+".title":""}),!p&&B.a.createElement(H.Link,{to:"/article/"+y,target:"_blank",hotrep:m?m+".title":"",style:{display:"inline"}},b),j&&B.a.createElement(H.SimpleBubble,{className:"com-article-tag-bubble",content:"\u6587\u7ae0\u6b63\u5728\u5ba1\u6838\u4e2d\uff0c\u5ba1\u6838\u901a\u8fc7\u540e\u5c06\u5f00\u653e\u9605\u8bfb"},B.a.createElement("span",{className:"com-article-tag"},"\u5ba1\u6838\u4e2d"))),c&&B.a.createElement("p",{className:"com-article-panel-desc"},p&&B.a.createElement(W.a,{component:H.Link,html:R,to:"/article/"+y,target:"_blank",hotrep:m?m+".desc":""}),!p&&B.a.createElement(H.Link,{to:"/article/"+y,target:"_blank",hotrep:m?m+".desc":""},R)),u&&B.a.createElement("div",{className:"com-operations com-article-panel-operations"},B.a.createElement("span",{className:"com-opt-link"},B.a.createElement("i",{className:"com-i-view"}),B.a.createElement("span",{className:"text"},D.i(F.abbrNum)(k))),B.a.createElement(H.ArticleLikeButton,{articleId:y,likeCount:_||0,hotrep:m?m+".like":""}),T===q.c.NORMAL&&B.a.createElement(H.ArticleFavorButton,{articleId:y,favorCount:C||0,hotrep:m?m+".favor":""}),s&&B.a.createElement("div",{className:"extra-part"},A&&B.a.createElement(H.ArticleEditButton,{article:r}),L&&B.a.createElement(H.ArticleDeleteButton,{article:r,onDeleted:d,hotrep:m?m+".delete":""}),x&&h&&B.a.createElement(H.ArticleRecommendButton,{className:"com-opt-link",article:r,onRecommendArticle:this.props.onRecommend,btnText:"\u7f6e\u9876",btnCancelText:"\u53d6\u6d88\u7f6e\u9876",recommendText:"\u786e\u5b9a\u8981\u7f6e\u9876\u8be5\u6587\u7ae0\u5417\uff1f",cancelRecommendText:"\u786e\u5b9a\u8981\u53d6\u6d88\u7f6e\u9876\u8be5\u6587\u7ae0\u5417\uff1f",isBtn:!1,onSucceed:function(){return window.location.reload()}})))),Boolean((l||f)&&N)&&B.a.createElement("div",{className:"com-article-panel-object"},B.a.createElement(H.Link,{to:"/article/"+y,target:"_blank",className:"com-media-img",hotrep:m?m+".object":"",style:{backgroundImage:"url("+D.i(F.getThumbnailUrl)(N,160)+")"}})))}}]),t}(),r.propTypes={className:i.a.string,article:i.a.object.isRequired,showAuthor:i.a.bool,showColumn:i.a.bool,showBrief:i.a.bool,showStatisticalData:i.a.bool,showOperations:i.a.bool,isHotArticle:i.a.bool,showPicture:i.a.bool,escapeArticleTitle:i.a.bool,onArticleDeleted:i.a.func,verb:i.a.string,hotrep:i.a.string,showRecommendButton:i.a.bool},r.defaultProps={showAuthor:!0,showColumn:!0,showBrief:!0,showStatisticalData:!0,showOperations:!1,isHotArticle:!1,showPicture:!1,escapeArticleTitle:!1,onArticleDeleted:function(e){e.article},verb:"\u53d1\u8868\u4e8e",showRecommendButton:!1},n=o))||n},Z2OA:function(e,t,n){"use strict";var r=n("/bhx");n.d(t,"a",function(){return r.a})},ZE2u:function(e,t,n){"use strict";var r=n("b4PP");n.d(t,"a",function(){return r.a})},ZE5A:function(e,t,n){var i=n("Jssu");e.exports=function(e,t,n,r,o){var a=function(t,n,e,r){return function(e){e.delegateTarget=i(e.target,n),e.delegateTarget&&r.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}},ZI17:function(e,t,n){"use strict";t.a=function(e){var l=e.from,r=e.source,t=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["from","source"]);return f.a.createElement(o.DraftViewer,a({},t,{rendererDecorator:function(e){var t=e.entities,n=e.blocks;return t.LINK=function(e,t,n){var r=n.key,o=t.url,a=["http","https"].map(function(e){return e+"://"+p.c}).some(function(e){return String(o).startsWith(e)}),i=/([\?|&]from=)(.*?)(&|$)/,c=String(o).split("#"),u=c[0];if(a){var s=u.match(i);s?u=String(o).replace(i,"$1"+(l||p.f)+"$3"):u+=(/\?.+=[^&]+/.test(u)?"&":"?")+"from="+(l||p.f)}return 1<c.length&&(c[0]=u,u=c.join("#")),f.a.createElement("a",{key:r,"data-text-link":t.textLinkMark||null,"data-from":l||p.f,href:u,target:u.startsWith("#")?"_self":"_blank",rel:a?null:"nofollow noopener noreferrer"},e)},"article-detail"===r&&(n["header-one"]=function(r,e){var t=e.data;if(t&&t.length&&r&&r.length)return t.map(function(e,t){if(e){var n=e.text;return f.a.createElement("h1",{id:n,name:n,key:"1-"+t+"-"+n},r[t])}})},n["header-two"]=function(r,e){var t=e.data;if(t&&t.length&&r&&r.length)return t.map(function(e,t){if(e){var n=e.text;return f.a.createElement("h2",{id:n,name:n,key:"2-"+t+"-"+n},r[t])}})},n["header-three"]=function(r,e){var t=e.data;if(t&&t.length&&r&&r.length)return t.map(function(e,t){if(e){var n=e.text;return f.a.createElement("h3",{id:n,name:n,key:"3-"+t+"-"+n},r[t])}})},n["header-four"]=function(r,e){var t=e.data;if(t&&t.length&&r&&r.length)return t.map(function(e,t){if(e){var n=e.text;return f.a.createElement("h4",{id:n,name:n,key:"4-"+t+"-"+n},r[t])}})},n["header-five"]=function(r,e){var t=e.data;if(t&&t.length&&r&&r.length)return t.map(function(e,t){if(e){var n=e.text;return f.a.createElement("h5",{id:n,name:n,key:"5-"+t+"-"+n},r[t])}})},n["header-six"]=function(r,e){var t=e.data;if(t&&t.length&&r&&r.length)return t.map(function(e,t){if(e){var n=e.text;return f.a.createElement("h6",{id:n,name:n,key:"6-"+t+"-"+n},r[t])}})}),e}}))};var r=n(0),f=n.n(r),o=n(4),p=(n.n(o),n("nfin")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},ZJWu:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n("KSGD")),a=n.n(o),i=n("Mn5R"),c=n("ypWF"),u=n("TxQ3"),s=n.i(c.a)({targetId:"questionId",handleCheck:i.checkQuestionFollow,handleToggle:i.toggleQuestionFollow,defaultProps:{followClassName:"c-btn c-btn-hole",unfollowClassName:"c-btn c-btn-weak",whenUndetermined:"hidden",buttonStyle:{},disabled:!1}})(u.a);s.propTypes={questionId:a.a.number.isRequired,followClassName:a.a.string,unfollowClassName:a.a.string,whenUndetermined:a.a.string,buttonStyle:a.a.object,disabled:a.a.bool}},"ZT/R":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),a=n("2h0h"),i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),i(t,[{key:"render",value:function(){return o.a.createElement("div",{className:"header-logo-wrap"},o.a.createElement(a.a,{to:"/",className:"header-logo",hotrep:"community.header.drawer.home"},o.a.createElement("i",{className:"logo-icon logo-community"}),o.a.createElement("h1",{className:"header-title"},"\u4e91+\u793e\u533a")))}}]),t}()},ZWm2:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("k3xs"),p=n("VO7W"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var h=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),m(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("section",d({className:l()("com-weak-section",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);h.Header=f.a,h.Body=p.a},ZaQb:function(e,t,o){var n=o("EqjI"),r=o("77Pl"),a=function(e,t){if(r(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,n,r){try{(r=o("+ZMJ")(Function.call,o("LKZe").f(Object.prototype,"__proto__").set,2))(e,[]),n=!(e instanceof Array)}catch(e){n=!0}return function(e,t){return a(e,t),n?e.__proto__=t:r(e,t),e}}({},!1):void 0),check:a}},Zagk:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"layout-main"},t)};var r=n(0),o=n.n(r)},Zrlr:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},Zzip:function(e,t,n){e.exports={default:n("/n6Q"),__esModule:!0}},"a/fz":function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("MCil"),p=n("pwtL"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=(o=r=function(e){function c(){var e,t,a,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=a=m(this,(e=c.__proto__||Object.getPrototypeOf(c)).call.apply(e,[this].concat(r)))).deleteArticle=function(){var e,t;p.Dialog.confirm({content:"\u786e\u8ba4\u5220\u9664\u8fd9\u7bc7\u6587\u7ae0\u5417\uff1f",confirmText:"\u786e\u5b9a\u5220\u9664",onConfirm:(e=regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.props,n=t.article,r=t.onDeleted,o=n.id,e.next=4,f.d.deleteArticle({articleId:o});case 4:setTimeout(function(){p.Dialog.hide(),r({article:n})},0);case 5:case"end":return e.stop()}},e,i)}),t=function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return t.apply(this,arguments)})})},m(a,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a["Component"]),d(c,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=e.hotrep;return i.a.createElement(p.Link,{onClick:this.deleteArticle,className:l()("com-opt-link",t),hotrep:r},n||"\u5220\u9664")}}]),c}(),r.propTypes={className:u.a.string,article:u.a.object.isRequired,onDeleted:u.a.func.isRequired,hotrep:u.a.string},r.defaultProps={onDeleted:function(e){e.article}},o)},aLn1:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=(n.n(r),n("PNJI")),a=n("pwtL"),i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),i(t,[{key:"render",value:function(){return null}},{key:"componentDidMount",value:function(){this.hookId=o.Service.registerServiceHook({onSessionInvalid:function(e){var t=e.error;a.MessageTip.error(t.msg,3e3),setTimeout(function(){return location.reload()},3e3)},onLoginRequired:function(){o.login.show()},onCompleteAccountInfoRequired:function(e){var t=e.error;a.Dialog.confirm({content:t.msg||"\u4f60\u5c1a\u672a\u5b8c\u5584\u4fe1\u606f\uff0c\u662f\u5426\u7acb\u5373\u524d\u5f80\u5b8c\u5584\u4fe1\u606f\uff1f",onConfirm:function(){o.login.gotoRegisterCompletionPage()}})}})}},{key:"componentWillUnmount",value:function(){o.Service.unregisterServiceHook(this.hookId)}}]),t}()},ac0z:function(e,t,v){"use strict";v.d(t,"a",function(){return p});var n,r,o,a=v(0),y=v.n(a),i=v("KSGD"),c=v.n(i),u=v("qFNz"),b=v("UVf0"),g=(v.n(b),v("xt0B")),w=v("PNJI"),E=v("2h0h"),s=v("3IYT"),O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var k=s.a.CopyShareLink,_=(s.a.ShareToQZone,s.a.ShareToWechat),C=s.a.ShareToWeibo,p=(s.a.ShareToQQ,v.i(g.connectSession)()(n=v.i(u.a)((o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=f(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={open:!1},n.toggleOpen=function(){return n.setState(function(e){return{open:!e.open}})},n.handleClickOutside=function(){return n.setState({open:!1})},f(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),l(i,[{key:"render",value:function(){var e=this.props,t=e.session,n=e.question,r=e.answer,o=e.showTriggerText,a=e.hotrep,i=this.state.open,c=v.i(g.getAbsoluteRouteUrl)("/ask/"+n.id+"/answer/"+r.id),u=n.title,s=r.brief,l="bottom",f=function(){return 150*p+++"ms"},p=0,d=[y.a.createElement("li",{key:"wechat",style:{transitionDelay:f()}},y.a.createElement(_,{title:"\u5206\u4eab\u56de\u7b54\u5230\u670b\u53cb\u5708",shareOptions:{url:c+"?rs_by="+t.uid+"&rs_to=wechat"},qrCodeSize:100,bubblePlacement:l})),y.a.createElement("li",{key:"weibo",style:{transitionDelay:f()}},y.a.createElement(C,{title:"\u5206\u4eab\u56de\u7b54\u5230\u5fae\u535a",shareOptions:{url:c+"?rs_by="+t.uid+"&rs_to=weibo",title:"\u3010\u817e\u8baf\u4e91+\u793e\u533a - \u95ee\u7b54\u3011"+u+" - "+s},bubblePlacement:l})),y.a.createElement("li",{key:"copy",style:{transitionDelay:f()}},y.a.createElement(k,{shareLink:c,defaultText:"\u590d\u5236\u56de\u7b54\u94fe\u63a5\u5230\u526a\u8d34\u677f",successText:"\u94fe\u63a5\u590d\u5236\u6210\u529f",bubblePlacement:l}))],m=d.length,h=(0+150*(m-1))*m/2+150;return y.a.createElement("span",null,y.a.createElement(E.a,{onClick:this.toggleOpen,className:"com-opt-link link-share",hotrep:a?a+".share":""},y.a.createElement("i",{className:"com-i-share"}),o&&y.a.createElement("span",{className:"name"},"\u5206\u4eab")),y.a.createElement(b.CSSTransitionGroup,O({component:"ul",className:"com-share-options"},w.transition.slide({enterPosition:{x:-50,y:0}}),{transitionEnterTimeout:h,transitionLeaveTimeout:h}),i&&d))}}]),i}(),r.propTypes={question:c.a.object.isRequired,answer:c.a.object.isRequired,showTriggerText:c.a.bool,hotrep:c.a.string},r.defaultProps={showTriggerText:!0},n=o))||n)||n)},adbu:function(e,t,n){"use strict";new(n("PNJI").Service)("news")},afmD:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),t.b=function(e){var t=e.teamId,n=e.follow,r={teamId:t,follow:n};return a.lazy("ToggleTeamFollow",r,{thresholdDuration:200})};var r=n(2);n.n(r);var a=new(n("cT2K").a)("team/team");var o,i,c=(o=regeneratorRuntime.mark(function e(t){var n,r,o=t.teamId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={teamIds:o},e.next=4,a.accumulate("CheckTeamsFollow",n);case 4:return r=e.sent,e.abrupt("return",r.includes(o));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}},e,this,[[0,8]])}),i=function(){var c=o.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return i.apply(this,arguments)})},ai60:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={VIEW:"view",CLICK:"click"}},albf:function(e,t,a){"use strict";a.d(t,"a",function(){return r});var o=a(0),u=a.n(o),n=a("9C8i"),s=a("pwtL"),c=a("Mn5R"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=n.BannedStatus.NORMAL,m=n.BannedStatus.TEMPORARY,h=n.BanOperations.BAN,r=(n.BanOperations.UNBAN,function(e){function i(){var e,t,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=a=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(r)))).state={reasonId:0,reasons:null,operating:!1,error:null},a.doBanOperation=function(){var e=a.props,t=e.type,n=e.ban,r=e.question,o=e.answer;return"question"===t?a.doBanQuestion(n,r):"answer"===t?a.doBanAnswer(n,r,o):void 0},p(a,t)}var r,n,t;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),l(i,[{key:"render",value:function(){var n=this,e=this.props,t=(e.type,e.ban),r=(e.subject,this.state),o=r.reasonId,a=r.reasons,i=r.operating,c=r.error;return u.a.createElement(s.Dialog,{caption:t===h?"\u9009\u62e9\u5c01\u7981\u539f\u56e0":"\u89e3\u5c01\u786e\u8ba4",onClose:this.cancel,style:{width:"560px"}},t==h?u.a.createElement(s.Dialog.Body,null,a?a.map(function(e,t){return u.a.createElement("p",{key:e.id,style:{marginBottom:t!==a.length-1?"5px":0}},u.a.createElement("label",null,u.a.createElement("input",{type:"radio",value:e.id,checked:o===e.id,onChange:function(){return n.setState({reasonId:e.id})}})," "+e.reason))}):u.a.createElement(s.LoadingBar,null),c&&u.a.createElement("p",{style:{color:"red"}},"\u64cd\u4f5c\u5931\u8d25\uff1a",c.msg||c.message)):u.a.createElement(s.Dialog.Body,null,u.a.createElement("p",null,"\u8bf7\u786e\u8ba4\u8be5\u5185\u5bb9\u662f\u5426\u5df2\u7ecf\u7b26\u5408\u793e\u533a\u7684\u76f8\u5173\u89c4\u5b9a\uff0c\u786e\u8ba4\u65e0\u8bef\u540e\u624d\u53ef\u89e3\u5c01")),u.a.createElement(s.Dialog.Footer,null,u.a.createElement(s.Dialog.Button,{primary:!0,disabled:t===h&&!o||i,loading:i,onClick:this.doBanOperation},c?"\u91cd\u8bd5":t===h?"\u786e\u8ba4\u5c01\u7981":"\u786e\u8ba4\u89e3\u5c01"),u.a.createElement(s.Dialog.Button,{weak:!0,onClick:this.cancel},"\u53d6\u6d88")))}},{key:"componentDidMount",value:function(){this.loadReasons()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"loadReasons",value:(t=f(regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.i(c.getBanReasonList)();case 2:t=e.sent,n=t.reasons,this.isUnmounted||this.setState({reasons:n});case 5:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"doBanQuestion",value:(n=f(regeneratorRuntime.mark(function e(t,n){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({operating:!0}),e.prev=1,r=this.state.reasonId,e.next=5,a.i(c.toggleQuestionBanStatus)({questionId:n.id,ban:t,reasonId:r});case 5:this.finish({bannedStatus:t===h?m:d,bannedReasonId:r}),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),this.setState({error:e.t0}),this.isUnmounted||this.setState({operating:!1});case 12:case"end":return e.stop()}},e,this,[[1,8]])})),function(e,t){return n.apply(this,arguments)})},{key:"doBanAnswer",value:(r=f(regeneratorRuntime.mark(function e(t,n,r){var o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({operating:!0}),e.prev=1,o=this.state.reasonId,e.next=5,a.i(c.toggleAnswerBanStatus)({questionId:n.id,answerId:r.id,ban:t,reasonId:o});case 5:this.finish({bannedStatus:t===h?m:d,bannedReasonId:o}),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),this.setState({error:e.t0}),this.isUnmounted||this.setState({operating:!1});case 12:case"end":return e.stop()}},e,this,[[1,8]])})),function(e,t,n){return r.apply(this,arguments)})},{key:"finish",value:function(e){var t=e.bannedStatus,n=e.bannedReasonId;s.Dialog.hide();var r=this.props.onFinish;"function"!=typeof r?location.reload():r({bannedStatus:t,bannedReasonId:n})}},{key:"cancel",value:function(){s.Dialog.hide()}}],[{key:"show",value:function(e){var t=e.type,n=e.ban,r=e.question,o=e.answer,a=e.onFinish;s.Dialog.show(u.a.createElement(i,{type:t,ban:n,question:r,answer:o,onFinish:a}))}},{key:"hide",value:function(){s.Dialog.hide()}}]),i}())},aliT:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=Object.prototype.toString;function a(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function f(e){if(!e)return!0;if(d(e)&&0===e.length)return!0;if("string"==typeof e)return!1;for(var t in e)if(a(e,t))return!1;return!0}function p(e){return r.call(e)}var d=Array.isArray||function(e){return"[object Array]"===r.call(e)};function m(e){var t=parseInt(e);return t.toString()===e?t:e}function o(o){o=o||{};var i=function n(r){return Object.keys(n).reduce(function(e,t){return"create"===t||"function"==typeof n[t]&&(e[t]=n[t].bind(n,r)),e},{})};function c(e,t){return o.includeInheritedProps||"number"==typeof t&&Array.isArray(e)||a(e,t)}function u(e,t){if(c(e,t))return e[t]}function s(e,t,n,r){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if("string"==typeof t)return s(e,t.split(".").map(m),n,r);var o=t[0],a=u(e,o);return 1===t.length?(void 0!==a&&r||(e[o]=n),a):(void 0===a&&("number"==typeof t[1]?e[o]=[]:e[o]={}),s(e[o],t.slice(1),n,r))}return i.has=function(e,t){if("number"==typeof t?t=[t]:"string"==typeof t&&(t=t.split(".")),!t||0===t.length)return!!e;for(var n=0;n<t.length;n++){var r=m(t[n]);if(!("number"==typeof r&&d(e)&&r<e.length||(o.includeInheritedProps?r in Object(e):a(e,r))))return!1;e=e[r]}return!0},i.ensureExists=function(e,t,n){return s(e,t,n,!0)},i.set=function(e,t,n,r){return s(e,t,n,r)},i.insert=function(e,t,n,r){var o=i.get(e,t);r=~~r,d(o)||i.set(e,t,o=[]),o.splice(r,0,n)},i.empty=function(e,t){var n,r;if(!f(t)&&(null!=e&&(n=i.get(e,t)))){if("string"==typeof n)return i.set(e,t,"");if("boolean"==typeof(a=n)||"[object Boolean]"===p(a))return i.set(e,t,!1);if("number"==typeof n)return i.set(e,t,0);if(d(n))n.length=0;else{if("object"!==(void 0===(o=n)?"undefined":l(o))||"[object Object]"!==p(o))return i.set(e,t,null);for(r in n)c(n,r)&&delete n[r]}var o,a}},i.push=function(e,t){var n=i.get(e,t);d(n)||i.set(e,t,n=[]),n.push.apply(n,Array.prototype.slice.call(arguments,2))},i.coalesce=function(e,t,n){for(var r,o=0,a=t.length;o<a;o++)if(void 0!==(r=i.get(e,t[o])))return r;return n},i.get=function(e,t,n){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if(null==e)return n;if("string"==typeof t)return i.get(e,t.split("."),n);var r=m(t[0]),o=u(e,r);return void 0===o?n:1===t.length?o:i.get(e[r],t.slice(1),n)},i.del=function(e,t){if("number"==typeof t&&(t=[t]),null==e)return e;if(f(t))return e;if("string"==typeof t)return i.del(e,t.split("."));var n=m(t[0]);return c(e,n)?1!==t.length?i.del(e[n],t.slice(1)):(d(e)?e.splice(n,1):delete e[n],e):e},i}var i=o();i.create=o,i.withInheritedProps=o({includeInheritedProps:!0});var c=i},ax3d:function(e,t,n){var r=n("e8AB")("keys"),o=n("3Eo+");e.exports=function(e){return r[e]||(r[e]=o(e))}},b4PP:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,l=n(0),f=n.n(l),a=n("KSGD"),i=n.n(a),c=n("HW6M"),p=n.n(c),d=n("/Lra"),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=s(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={visible:!1},n.onConfirm=function(e){n.setVisible(!1);var t=n.props.onConfirm;t&&t.call(n,e)},n.onCancel=function(e){n.setVisible(!1);var t=n.props.onCancel;t&&t.call(n,e)},n.onVisibleChange=function(e){n.setVisible(e)},s(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,l["Component"]),u(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.trigger,r=e.placement,o=e.title,a=e.confirmText,i=e.cancelText,c=e.buttonStyle,u=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","trigger","placement","title","confirmText","cancelText","buttonStyle"]),s=f.a.createElement(l.Fragment,null,f.a.createElement("h3",{className:"confirm-title"},o),f.a.createElement("div",{className:"confirm-btns"},f.a.createElement("button",{onClick:this.onCancel,className:"confirm-btn weak",style:c||{minWidth:"40px"}},i),f.a.createElement("button",{onClick:this.onConfirm,className:"confirm-btn",style:c||{minWidth:"40px"}},a)));return f.a.createElement(d.a,m({},u,{className:p()("com-tooltip-confirm",t),trigger:n,placement:r,content:s,visible:this.state.visible,onVisibleChange:this.onVisibleChange}))}},{key:"componentWillReceiveProps",value:function(e){"visible"in e&&this.setState({visible:e.visible})}},{key:"setVisible",value:function(e){var t=this.props;"visible"in t||this.setState({visible:e});var n=t.onVisibleChange;n&&n(e)}}]),i}(),r.propTypes={className:i.a.string,trigger:i.a.oneOfType([i.a.string,i.a.array]),placement:i.a.string,title:i.a.node.isRequired,confirmText:i.a.string,cancelText:i.a.string,onConfirm:i.a.func,onCancel:i.a.func,buttonStyle:i.a.object},r.defaultProps={trigger:"click",placement:"bottom",confirmText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88"},o)},b4uM:function(e,t,n){"use strict";t.a=function(e){return!/^(https:)?\/\/[\w\.\-]+\.(qcloudimg\.com|file\.myqcloud\.com)\//.test(e)}},b72s:function(e,t,n){"use strict";var r=n("QfQq");n.d(t,"a",function(){return r.a})},bA4d:function(e,t,n){"use strict";t.a=function(e){return e?Object.entries(e).map(function(e){var t=o(e,2),n=t[0],r=t[1];return n+"="+encodeURIComponent(r)}).join("&"):""};var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},bEon:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("pwtL"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["post"]);return i.a.createElement(s.Link,l({to:"/post/"+t.id,target:"_blank"},n),t.title)}}]),t}(),r.propTypes={post:u.a.shape({id:u.a.number.isRequired,title:u.a.string.isRequired}).isRequired},o)},bFpM:function(e,t,n){"use strict";t.a=function(e,t){var n=new Date(e,t,1);return new Date(n-1e3).getDate()}},bNB4:function(e,t,x){"use strict";x.d(t,"a",function(){return C});var n,r,o,a=x(2),c=x.n(a),i=x(0),A=x.n(i),u=x("KSGD"),s=x.n(u),l=x("HW6M"),f=x.n(l),p=x("nfin"),m=x("9C8i"),L=x("xt0B"),d=x("TeJT"),h=x("PNJI"),v=x("MCil"),D=x("pwtL"),y=x("Tk/L"),b=x("pVr6"),g=x("Trf7"),M=x("ac0z"),w=x("iCyA"),E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function k(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}var B=p.g.BannedStatus,_=p.g.BanOperations,U=p.g.BanSubjects,C=x.i(L.connectSession)()((o=r=function(e){function t(e){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.getRef=function(e){return i.dom=e},i.expandContent=function(){return i.setState({contentExpanded:!0})},i.collapseContent=function(){var n=c()(i.dom).height();i.setState({contentExpanded:!1},function(){if(i.dom.getBoundingClientRect().top<100){var e=c()(i.dom).height(),t=n-e;c()("html body").scrollTop(Math.max(0,c()("html body").scrollTop()-t))}})},i.checkCanVote=function(){var e=i.props,t=e.session,n=e.question,r=e.answer;if(t.isLogined)return!0;var o=x.i(L.getAbsoluteRouteUrl)("/ask/"+n.id+"/answer/"+r.id);return h.login.show({s_url:o}),!1},i.checkVote=function(){return v.h.checkAnswerVote({answerId:i.props.answer.id})},i.toggleVote=function(e){return v.h.toggleAnswerVote({questionId:i.props.question.id,answerId:i.props.answer.id,vote:e})},i.toggleCommentPanel=function(){i.setState({commentOpened:!i.state.commentOpened})},i.editAnswer=function(){return i.setState({editing:!0,commentOpened:!1})},i.cancelEdit=function(){return i.setState({editing:!1})},i.deleteAnswer=function(){var e,t=i.props.question.id,n=i.state.answer.id;D.Dialog.confirm({title:"\u786e\u8ba4\u5220\u9664\u8be5\u56de\u7b54\u5417\uff1f",content:"\u56de\u7b54\u4e0b\u7684\u8bc4\u8bba\u4e5f\u5c06\u4e00\u5e76\u88ab\u5220\u9664, \u5e76\u65e0\u6cd5\u6062\u590d\u6570\u636e",confirmText:"\u786e\u5b9a\u5220\u9664",onConfirm:(e=k(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.h.deleteAnswer({questionId:t,answerId:n});case 2:setTimeout(k(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return D.Dialog.hide(),3e3,D.MessageTip.info("\u56de\u7b54\u5220\u9664\u6210\u529f\uff0c3 \u79d2\u540e\u5c06\u81ea\u52a8\u8df3\u8f6c\u5230\u95ee\u9898\u9875",3e3),e.next=5,x.i(d.a)(3e3);case 5:h.router.navigate("/ask/"+t,{replace:!0});case 6:case"end":return e.stop()}},e,a)})),0);case 3:case"end":return e.stop()}},e,a)})),function(){return e.apply(this,arguments)})})},i.toggleHandpick=k(regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.props.question,n=i.state.answer,1,2,r=n.handpicked?2:1,e.prev=5,e.next=8,v.h.toggleAnswerHandpick({questionId:t.id,answerId:n.id,handpick:r});case 8:o=1-n.handpicked,i.setState({answer:E({},n,{handpicked:o})},function(){var e=void 0;e=o?"\u8be5\u56de\u7b54\u5df2\u6210\u529f\u8bbe\u4e3a\u63a8\u8350":"\u8be5\u56de\u7b54\u7684\u63a8\u8350\u5df2\u53d6\u6d88",D.MessageTip.info(e)}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),D.MessageTip.error(e.t0.msg||e.t0.message);case 15:case"end":return e.stop()}},e,a,[[5,12]])})),i.toggleBan=function(){var e=i.props.question,r=i.state.answer,t=_.BAN,n=_.UNBAN,o=r.bannedStatus==B.NORMAL?t:n;D.BanDialog.show({type:"answer",ban:o,question:e,answer:r,onFinish:function(e){var t=e.bannedStatus,n=e.bannedReasonId;i.setState({answer:E({},r,{bannedStatus:t,bannedReasonId:n})})}})},i.updateCommentCount=function(e){var t=e.commentCount,n=i.state.answer;i.setState({answer:E({},n,{commentCount:t})})},i.state={answer:i.props.answer,editing:!1,contentExpanded:!1,commentOpened:!1},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["Component"]),O(t,[{key:"componentDidMount",value:function(){var e=this.props.openCommentPanel,t=this.state.answer.bannedStatus===B.NORMAL;e&&t&&this.setState({commentOpened:!0})}},{key:"render",value:function(){var e=this,t=this.props,n=t.session,r=t.question,o=t.showAnswerEvent,a=t.showOperationText,i=t.showDropdownOperations,c=t.collapsed,u=t.noBackground,s=t.noBorder,l=t.answerDeletedRenderer,f=t.answerBannedRenderer,p=t.answerToBeAuditRenderer,d=t.hotrep,m=this.state,h=m.answer,v=m.editing,y=m.contentExpanded,b=n.profile,g=(h.id,h.author),w=h.brief,E=h.content,O=h.bannedStatus,k=h.bannedReasonId;Boolean(r.author&&r.author.id===n.uid);if(h.isDeleted)return"function"==typeof l?l({question:r,answer:h}):A.a.createElement(q,{getRef:this.getRef,noBackground:u,noBorder:s},A.a.createElement("div",{className:"com-forbidden"},A.a.createElement("div",{className:"com-forbidden-cnt"},A.a.createElement("i",{className:"forbidden-icon"}),A.a.createElement("span",null,"\u8be5\u56de\u7b54\u5df2\u88ab\u5220\u9664"))));var _=Boolean(O===B.TEMPORARY||O===B.PERMANENT),C=O===B.TO_BE_AUDIT,N=b.hasBanPrivilege,T=g.id===b.id,S=O===B.NORMAL||T||N||C&&(T||N);if(C&&!T&&!N)return"function"==typeof p?p({question:r,answer:h}):null;if(_&&!T&&"function"==typeof questionBannedRenderer)return f({question:r,answer:h});var P=x.i(L.unpackRawContent)(E),R=x.i(L.resolveFirstImage)(E),I=Boolean(!R&&P&&P.blocks&&P.blocks.length<=3&&w&&w.length<140),j=O===B.NORMAL&&A.a.createElement(D.OperationBar,{key:"operations",className:"com-answer-panel-operations"},this.renderVoteButton(),this.renderFavorButton(),this.renderCommentButton(),this.renderAdoptButton(),A.a.createElement(M.a,{question:r,answer:h,showTriggerText:a,hotrep:d}),c&&y&&!I&&A.a.createElement("div",{className:"extra-part"},A.a.createElement(D.Link,{onClick:this.collapseContent,className:"link-trigger"},"\u6536\u8d77")));return A.a.createElement(q,{getRef:this.getRef,noBackground:u,noBorder:s},i&&!v&&this.renderDropdownOperations(),o&&this.renderAnswerEvent(),_&&A.a.createElement(D.ForbiddenTip,{isMyContent:T,subject:U.ANSWER,reasonId:k}),C&&A.a.createElement(D.AuditTip,{tip:"\u56de\u7b54\u6b63\u5728\u5ba1\u6838\u4e2d\uff0c\u5ba1\u6838\u901a\u8fc7\u540e\u5c06\u81ea\u52a8\u53d1\u5e03"}),S&&A.a.createElement("div",{style:_||C?{opacity:v?1:.3,marginTop:20}:null},A.a.createElement("div",{className:"com-answer-panel-bd",style:{display:v?"none":null}},!c||y||I?A.a.createElement(D.RichContent,{className:"style-small com-answer-panel-markdown",content:E}):A.a.createElement("div",{className:"c-markdown style-small com-answer-panel-markdown"},w+"... ",A.a.createElement(D.Link,{onClick:e.expandContent,hotrep:d?d+".markdown_collapse":""},"\u5c55\u5f00\u8be6\u8bf7")),j),!v&&this.renderCommentPopup(),v&&A.a.createElement("div",{className:"edit-container",ref:function(e){return e&&x.i(L.scrollIntoView)({selector:e})}},this.renderAnswerWrite()),A.a.createElement("div",{className:"com-v-box"},A.a.createElement(D.Link,{to:"/ask/"+r.id+"/answer/"+h.id},w))))}},{key:"renderAnswerWrite",value:function(){var o=this,e=this.props.question,a=this.state.answer;return A.a.createElement(D.AnswerWrite,{question:e,answer:a,onExit:this.cancelEdit,onUpdate:function(e){var t=e.plain,n=e.content,r=e.updateTime;o.setState({editing:!1,answer:E({},a,{plain:t,content:n,updateTime:r})},function(){D.MessageTip.info("\u56de\u7b54\u4fee\u6539\u6210\u529f")})}})}},{key:"renderDropdownOperations",value:function(){var e,t=this,n=this.props.session.profile,r=this.state.answer,o=r.author,a=r.handpicked,i=r.bannedStatus,c=Boolean(i===B.TEMPORARY||i===B.PERMANENT),u=i===B.TO_BE_AUDIT,s=o.id===n.id,l=n.hasHandpickAnswerPrivilege,f=n.hasBanPrivilege,p=(e=[],s&&(e.push(A.a.createElement("li",{key:"edit"},A.a.createElement(D.Link,{onClick:t.editAnswer,className:"menu-link"},"\u4fee\u6539"))),e.push(A.a.createElement("li",{key:"delete"},A.a.createElement(D.Link,{onClick:t.deleteAnswer,className:"menu-link"},"\u5220\u9664")))),l&&!u&&e.push(A.a.createElement("li",{key:"handpick"},A.a.createElement(D.Link,{onClick:t.toggleHandpick,className:"menu-link"},a?"\u53d6\u6d88\u63a8\u8350":"\u8bbe\u4e3a\u63a8\u8350"))),f&&e.push(A.a.createElement("li",{key:"ban"},A.a.createElement(D.Link,{onClick:t.toggleBan,className:"menu-link"},c?"\u89e3\u5c01":"\u5c01\u7981"))),e);return p.length?A.a.createElement("div",{className:"com-operations com-answer-panel-top-ope"},A.a.createElement("div",{className:"c-bubble-trigger com-operations-dropdown"},A.a.createElement(D.Link,{className:"c-bubble-trigger-btn"},"\u64cd\u4f5c"),A.a.createElement("div",{className:"c-bubble c-bubble-top"},A.a.createElement("div",{className:"c-bubble-inner"},A.a.createElement("ul",{className:"qa-dropdown-menu"},p))))):null}},{key:"renderAnswerEvent",value:function(){var e=this.props,t=e.session,n=e.question,r=e.showPublishTime,o=e.showAnswerUserLabel,a=e.showAnswerEventVerb,i=this.state.answer,c=i.author,u=i.handpicked,s=i.isAdopt,l=i.updateTime,f=i.writeTime,p={type:l&&l!==f?"updated":"answered",time:l||f,showVerb:a};if(n.source!==m.QuestionSource.DEFAULT)return A.a.createElement("div",{className:"clearfix"},A.a.createElement("div",{className:"com-media com-answer-panel-author"},A.a.createElement("span",{className:"com-media-object"},A.a.createElement("span",{className:"com-media-img",style:{backgroundImage:"url("+x.i(L.getThumbnailUrl)(c.avatar,24)+")"}})),A.a.createElement("span",{className:"com-media-body"},A.a.createElement("span",{className:"author-info name"},"\u7528\u6237\u56de\u7b54"),A.a.createElement("span",{className:"author-info time"},A.a.createElement(D.EventDisplay,{event:p})))));var d=Boolean(n.author&&n.author.id===t.uid);return A.a.createElement("div",{className:"clearfix"},A.a.createElement(D.UserEventLine,{className:"com-answer-panel-author",user:c,showEvent:r,showUserLabel:o,event:p}),Boolean(u)&&A.a.createElement("span",{className:"answer-tag"},"\u63a8\u8350"),Boolean(!d&&s)&&A.a.createElement("span",{className:"answer-tag adopt"},"\u5df2\u91c7\u7eb3"))}},{key:"renderVoteButton",value:function(){var e=this.props,t=e.showOperationText,n=e.hotrep,r=this.state.answer;return A.a.createElement(b.a,{currentVoteCount:r.upvoteCount,onCheck:this.checkVote,onBeforeToggle:this.checkCanVote,onToggle:this.toggleVote,showText:t,hotrep:n?n+".vote":""})}},{key:"renderCommentButton",value:function(){var e=this.props,t=e.showOperationText,n=e.hotrep,r=this.state,o=r.answer.commentCount,a=r.commentOpened;return A.a.createElement(D.Link,{className:"com-opt-link link-comment",onClick:this.toggleCommentPanel,hotrep:n?n+".comment":""},A.a.createElement("i",{className:"com-i-dialog"}),Boolean(t&&!a)&&A.a.createElement("span",{className:"name"},"\u8bc4\u8bba"),a&&A.a.createElement("span",{className:"name"},"\u6536\u8d77\u8bc4\u8bba"),!a&&o)}},{key:"renderFavorButton",value:function(){var e=this.props,t=e.session,n=e.question,r=e.showOperationText,o=e.hotrep,a=this.state.answer;if(t.uid===a.authorId)return null;var i=n.id,c=a.id,u=a.favorCount;return A.a.createElement(g.a,{questionId:i,answerId:c,favorCount:u,showText:r,hotrep:o?o+".favor_button":""})}},{key:"renderAdoptButton",value:function(){var e=this.props,t=e.session,n=e.question,r=e.hotrep,o=this.state.answer,a=Boolean(n.author&&n.author.id===t.uid),i=t.uid===o.authorId;return a&&!i?A.a.createElement(w.a,{questionId:n.id,answerId:o.id,isAdopt:o.isAdopt||0,hotrep:r?r+".adopt_button":""}):null}},{key:"renderCommentPopup",value:function(){var e=this.props,t=e.answer,n=e.question,r=this.state.commentOpened;return A.a.createElement(y.a,{opened:r,question:n,answer:t,onUpdateCommentCount:this.updateCommentCount})}}]),t}(),r.propTypes={question:s.a.object.isRequired,answer:s.a.object.isRequired,hotrep:s.a.string,showAnswerEvent:s.a.bool,showAnswerUserLabel:s.a.bool,showAnswerEventVerb:s.a.bool,showPublishTime:s.a.bool,showOperationText:s.a.bool,showDropdownOperations:s.a.bool,collapsed:s.a.bool,noBackground:s.a.bool,noBorder:s.a.bool,answerDeletedRenderer:s.a.func,answerBannedRenderer:s.a.func,answerToBeAuditRenderer:s.a.func,openCommentPanel:s.a.bool},r.defaultProps={showAnswerEvent:!1,showAnswerUserLabel:!0,showAnswerEventVerb:!0,showPublishTime:!1,showOperationText:!0,showDropdownOperations:!1,collapsed:!1,noBackground:!1,noBorder:!1,openCommentPanel:!1},n=o))||n;function q(e){var t=e.getRef,n=e.noBackground,r=e.noBorder,o=e.children;return A.a.createElement("div",{ref:t,className:f()("com-answer-panel",{"with-bg":!n,"without-border":r})},o)}},bOdI:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("C4MV"),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,a.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},bdVh:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),a=n.n(r),o=n("rdLu"),i=n.n(o),c=n("pwtL"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),u(t,[{key:"render",value:function(){var e=this.props.activity,t=void 0===e?{}:e;if(!t||i.a.isEmpty(t))return null;var n=t.activityId,r=t.activityName,o=r.length<80?r:r.substring(0,80)+"...";return a.a.createElement(c.Link,{target:"_blank",to:"/translation/activity-"+n},"\u300a"+o+"\u300b")}}]),t}()},"bz/Z":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("pwtL"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=f(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={reasonId:3,detail:"",error:null},n.handleDetailChange=function(e){n.setState({detail:e.target.value})},n.handleCommit=function(){var e=n.props.rejectFunc,t=n.state;e({reason:t.reasonId+t.detail}),i.hide()},f(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),l(i,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var r=this,e=this.state,o=e.reasonId,t=e.detail,n=e.error,a=this.props.committing;return c.a.createElement(s.Dialog,{caption:"\u8bf7\u586b\u5199\u5220\u9664\u539f\u56e0",onClose:i.hide},c.a.createElement(s.DialogBody,null,c.a.createElement("ul",{className:"c-dialog-form"},c.a.createElement("li",{className:"c-dialog-form-row c-dialog-form-row-puretext"},c.a.createElement("div",{className:"c-dialog-form-control"},c.a.createElement("div",{className:"col-lables"},this.rejectReasons.map(function(e){var t=e.id,n=e.title;return c.a.createElement("label",{key:t,className:"c-form-ctrl-label"},c.a.createElement("input",{type:"radio",className:"c-radio",value:t,checked:t===o,onChange:function(){return r.setState({reasonId:t})}}),c.a.createElement("span",{className:"c-form-ctrl-txt"},n))})))),c.a.createElement("li",{className:"c-dialog-form-row c-dialog-form-row-puretext"},c.a.createElement("div",{className:"c-dialog-form-control"},c.a.createElement("textarea",{rows:"2",className:"c-textarea block",placeholder:"\u8be6\u7ec6\u4fe1\u606f\uff08\u9009\u586b\uff09",maxLength:200,value:t,onChange:this.handleDetailChange}))))),c.a.createElement(s.DialogFooter,null,c.a.createElement(s.DialogButton,{primary:!0,disabled:a||!o,loading:a,onClick:this.handleCommit},n?"\u91cd\u8bd5":"\u63d0\u4ea4"),c.a.createElement(s.DialogButton,{onClick:i.hide},"\u53d6\u6d88"),n&&c.a.createElement("p",{className:"c-dialog-ft-validate"},n.msg||n.message)))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"rejectReasons",get:function(){return[{id:1,title:"\u9ec4\u8d4c\u6bd2\u8d37"},{id:2,title:"\u5e7f\u544a"},{id:3,title:"\u6280\u672f\u65e0\u5173\uff08\u8bd7\u6b4c\u3001\u751f\u6d3b\u611f\u609f\u3001\u5176\u4ed6\u5782\u7c7b\u7684\u8d44\u8baf\uff09"},{id:4,title:"\u7ffb\u5899\u76f8\u5173"},{id:5,title:"\u7ade\u54c1\u76f8\u5173"},{id:6,title:"\u4fb5\u6743\u6295\u8bc9"},{id:7,title:"\u5176\u4ed6"}]}}],[{key:"show",value:function(e){var t=e.rejectFunc,n=e.committing;s.Dialog.show(c.a.createElement(i,{rejectFunc:t,committing:n}))}},{key:"hide",value:function(){s.Dialog.hide()}}]),i}(),r.propTypes={rejectFunc:u.a.func.isRequired,committing:u.a.bool.isRequired},o)},cFFW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},cGG2:function(e,t,n){"use strict";var o=n("JP+z"),r=n("Re3r"),a=Object.prototype.toString;function i(e){return"[object Array]"===a.call(e)}function c(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===a.call(e)}function s(e,t){if(null!=e)if("object"==typeof e||i(e)||(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===a.call(e)},isBuffer:r,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===a.call(e)},isFile:function(e){return"[object File]"===a.call(e)},isBlob:function(e){return"[object Blob]"===a.call(e)},isFunction:u,isStream:function(e){return c(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:s,merge:function n(){var r={};function e(e,t){"object"==typeof r[t]&&"object"==typeof e?r[t]=n(r[t],e):r[t]=e}for(var t=0,o=arguments.length;t<o;t++)s(arguments[t],e);return r},extend:function(n,e,r){return s(e,function(e,t){n[t]=r&&"function"==typeof e?o(e,r):e}),n},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},cT2K:function(e,S,P){"use strict";(function(a,i){P.d(S,"a",function(){return n});var e=P("mtWM"),t=(P.n(e),P("nfin")),s=P("XT00"),r=P("Tpeq"),c=P("euci"),l=P("JzMV"),o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),f=this,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function p(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}var d,m,h,v,y,b=t.a.CONNECT_ABORTED,g=t.a.CONNECT_ERROR,w=t.a.CONNECT_TIMEOUT,E=t.a.SESSION_INVALID,O=t.a.LOGIN_REQUIRED,k=t.a.COMPLETE_ACCOUNT_INFO_REQUIRED,_=(d=0,u({},m={networkErrorHandles:[],networkTimeoutHandles:[],sessionInvalidHandles:[],loginRequiredHandles:[],completeAccountInfoRequiredHandles:[],serviceSuccessHandles:[],serviceErrorHandles:[]},{register:function(e){var n=++d;return e(function(e,t){"function"==typeof t&&(t.serviceHookId=n,e.push(t))}),n},unregister:function(t){var e=!0,n=!1,r=void 0;try{for(var o,a=Object.keys(m)[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var i=o.value;Array.isArray(m[i])&&(m[i]=m[i].filter(function(e){return e.serviceHookId!=t}))}}catch(e){n=!0,r=e}finally{try{!e&&a.return&&a.return()}finally{if(n)throw r}}},call:function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value;try{c(t)}catch(e){console.error("Service hook execute error: "+c.name+"(hookId="+c.serviceHookId+")",c)}}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}}})),C=(h={},function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=P.i(c.a)(n);if(!h[o]){var a=e.apply(void 0,n);h[o]=a.catch(function(e){throw h[o]=null,e})}return h[o]}),N=(v={},{call:function(o,e){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1e3,i=v[o];if(i)clearTimeout(i.timer),i.timer=setTimeout(i.schedule,a);else{var t=new Promise(function(t,n){var e,r=(e=p(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,delete v[o],e.t0=t,e.next=5,i.fn();case 5:e.t1=e.sent,(0,e.t0)(e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(0),n(e.t2);case 12:case"end":return e.stop()}},e,f,[[0,9]])})),function(){return e.apply(this,arguments)});i={timer:setTimeout(r,a),schedule:r}});i.promise=t,v[o]=i}return i.fn=e,i.promise}}),T=(y={},function(c,n,e){var t=3<arguments.length&&void 0!==arguments[3]?arguments[3]:100,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:50,u=y[c];u||(y[c]=u={accumulatedPayload:{},defers:[],invoke:e,timer:null,count:0}),u.accumulatedPayload=Object.keys(n).reduce(function(e,t){return e[t]||(e[t]=[]),e[t].includes(n[t])||e[t].push(n[t]),e},u.accumulatedPayload);var o,a=(o=p(regeneratorRuntime.mark(function e(){var n,r,o,a,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=(n=u).accumulatedPayload,o=n.defers,a=n.invoke,delete y[c],t.prev=2,t.next=5,a(r);case 5:i=t.sent,o.forEach(function(e){return(0,e.resolve)(i)}),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(2),o.forEach(function(e){return(0,e.reject)(t.t0)});case 12:case"end":return t.stop()}},e,f,[[2,9]])})),function(){return o.apply(this,arguments)});return u.timer&&(clearTimeout(u.timer),u.timer=null),u.count+=1,u.count>=r?a():u.timer=setTimeout(a,t),new Promise(function(e,t){u.defers.push({resolve:e,reject:t})})}),n=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.prefix=t,this.namespace=e}return o(n,null,[{key:"registerServiceHook",value:function(e){var t=e.onNetworkError,n=e.onNetworkTimeout,r=e.onSessionInvalid,o=e.onLoginRequired,a=e.onCompleteAccountInfoRequired,i=e.onServiceSuccess,c=e.onServiceError;return _.register(function(e){e(_.networkErrorHandles,t),e(_.networkTimeoutHandles,n),e(_.sessionInvalidHandles,r),e(_.loginRequiredHandles,o),e(_.completeAccountInfoRequiredHandles,a),e(_.serviceSuccessHandles,i),e(_.serviceErrorHandles,c)})}},{key:"unregisterServiceHook",value:function(e){return _.unregister(e)}}]),o(n,[{key:"getServiceUrl",value:function(e){var t=this.prefix,n=this.namespace;return P.i(r.a)(t+"/services/ajax/"+n+"?action="+e)}},{key:"call",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(isServerContext)return this.callAtServer(e,t);var r=this.prefix,o=this.namespace,a=this.getServiceUrl(e),i={prefix:r,namespace:o,action:e,payload:t,meta:n},c=l.a.post(a,{action:e,payload:t}),u=new s.a;return u.promise.cancel=c.cancel,c.then(function(e){i.result=e,setTimeout(function(){_.call(_.serviceSuccessHandles,i)},0),u.resolve(e)}).catch(function(e){if(e||(e={code:-9999,msg:"\u672a\u77e5\u9519\u8bef"}),e.code!==b){switch((i.error=e).code){case g:_.call(_.networkErrorHandles,i);break;case w:_.call(_.networkTimeoutHandles,i);break;case E:_.call(_.sessionInvalidHandles,i);break;case O:_.call(_.loginRequiredHandles,i);break;case k:_.call(_.completeAccountInfoRequiredHandles,i);break;default:_.call(_.serviceErrorHandles,i)}"string"!=typeof e.code||[E,O,k].includes(e.code)||(e.code=-9999),u.reject(e)}}),u.promise}},{key:"callAtServer",value:function(e,t){var n=a.domain.page,r=i.dataModelMap[this.namespace];if(r){var o=e[0].toLowerCase()+e.substr(1);if(r[o])return r[o](u({uid:n.uid,uin:n.uin},t))}throw new Error('Can not find "'+e+'" method or "'+this.namespace+'" model')}},{key:"cache",value:function(e,t,n){var r=this;return C(function(e,t,n){return r.call(e,t,n)},e,t,n)}},{key:"lazy",value:function(e,t){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{thresholdBy:null,thresholdDuration:1e3},o=r.thresholdBy,a=r.thresholdDuration,i=o?P.i(c.a)({action:e,thresholdBy:o}):e;return N.call(this.namespace+"/"+i,function(){return n.call(e,t)},a)}},{key:"accumulate",value:function(t,e,n,r,o){var a=this,i=[this.namespace,t,P.i(c.a)(n||{})].join("/");return T(i,e,function(e){return a.call(t,u({},n,e))},r,o)}}]),n}()}).call(S,P("W2nU"),P("DuR2"))},cWxy:function(e,t,n){"use strict";var r=n("dVOP");function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},e.exports=o},cYUU:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r,o=n(0),a=n.n(o),i=n("xt0B"),c=n("PNJI"),u=n("pwtL"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=n.i(i.connectSession)()(r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),s(t,[{key:"render",value:function(){return this.props.session.isLogined?null:a.a.createElement("div",{className:"c-nav-bm-text-btns"},a.a.createElement(u.Link,{onClick:function(){return c.login.show()},className:"c-nav-bm-text-btn",hotrep:"community.header.login"},"\u767b\u5f55"),a.a.createElement("i",{className:"c-nav-divider-dot"}),a.a.createElement(u.Link,{to:"~/register",target:"_blank",className:"c-nav-bm-text-btn",hotrep:"community.header.register"},"\u6ce8\u518c"))}}]),t}())||r},ccWO:function(e,t,n){"use strict";t.a=function(e){var t=e.status,n=e.level,r=e.isOwner,o=void 0,a=void 0;t===i.a.ACTIVATED?(3===n&&(o="medal-gold",a="\u539f\u521b\u5206\u4eab\u7279\u7ea6\u4f5c\u8005"),2===n&&(o="medal-silver",a="\u539f\u521b\u5206\u4eab\u8d44\u6df1\u4f5c\u8005"),1===n&&(o="medal-bronze",a="\u539f\u521b\u5206\u4eab\u7b7e\u7ea6\u4f5c\u8005")):(o="medal-silver",a=r?"\u4f60\u7684\u4f5c\u8005\u52cb\u7ae0\u5df2\u7184\u706d\uff0c\u9996\u53d1 2 \u7bc7\u4ee5\u4e0a\u5f53\u6708\u65b0\u589e\u9605\u8bfb\u6570 \u2265100 \u7684\u539f\u521b\u6280\u672f\u6587\u7ae0\u5373\u53ef\u70b9\u4eae\u52cb\u7ae0":"\u539f\u521b\u5206\u4eab\u4f5c\u8005");return{iconClass:o,badgeDesc:a}};var i=n("kbml")},ckT3:function(e,t,n){"use strict";var r=n("7pe4");n.d(t,"a",function(){return r.a})},cnnw:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=i(n(0)),o=i(n("KSGD")),u=i(n("tW2u")),s=i(n("UE8d")),a=n("QzNM");function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}a.nameShape.isRequired,o.default.bool,o.default.bool,o.default.bool,(0,a.transitionTimeout)("Appear"),(0,a.transitionTimeout)("Enter"),(0,a.transitionTimeout)("Leave");var f=function(a){function i(){var e,t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t=l(this,a.call.apply(a,[this].concat(r))))._wrapChild=function(e){return c.default.createElement(s.default,{name:t.props.transitionName,appear:t.props.transitionAppear,enter:t.props.transitionEnter,leave:t.props.transitionLeave,appearTimeout:t.props.transitionAppearTimeout,enterTimeout:t.props.transitionEnterTimeout,leaveTimeout:t.props.transitionLeaveTimeout},e)},l(t,e)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a),i.prototype.render=function(){return c.default.createElement(u.default,r({},this.props,{childFactory:this._wrapChild}))},i}(c.default.Component);f.displayName="CSSTransitionGroup",f.propTypes={},f.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},t.default=f,e.exports=t.default},crlp:function(e,t,n){var r=n("7KvD"),o=n("FeBl"),a=n("O4g8"),i=n("Kh4W"),c=n("evD5").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:i.f(e)})}},cuKs:function(e,t,n){"use strict";t.a=function(){return o.a.createElement(a.Link,{to:"/",className:"c-nav-project-logo",hotrep:"community.header.logo.community"},o.a.createElement("i",{className:"c-nav-project-bg-logo"},"\u4e91+\u793e\u533a"))};var r=n(0),o=n.n(r),a=n("pwtL")},cxPT:function(e,t,n){"use strict";var f=function(e){};e.exports=function(e,t,n,r,o,a,i,c){if(f(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,c],l=0;(u=new Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},d0Rp:function(e,t,n){"use strict";var o={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},a=[];"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;for(var t in"AnimationEvent"in window||delete o.animationend.animation,"TransitionEvent"in window||delete o.transitionend.transition,o)if(o.hasOwnProperty(t)){var n=o[t];for(var r in n)if(r in e){a.push(n[r]);break}}}();var r={addEndEventListener:function(r,o){0!==a.length?a.forEach(function(e){var t,n;t=e,n=o,r.addEventListener(t,n,!1)}):window.setTimeout(o,0)},endEvents:a,removeEndEventListener:function(r,o){0!==a.length&&a.forEach(function(e){var t,n;t=e,n=o,r.removeEventListener(t,n,!1)})}};t.a=r},d8c9:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={USER_MSG_ASK_BE_CONCERN:1,USER_MSG_ASK_BE_REPLY:2,USER_MSG_ASK_BE_FAVOR:3,USER_MSG_ASK_BE_EDIT:4,USER_MSG_ANSWER_BE_LIKE:11,USER_MSG_ANSWER_BE_REPLY:12,USER_MSG_ANSWER_BE_FAVOR:13,USER_MSG_REPLY_BE_LIKE:21,USER_MSG_REPLY_BE_REPLY:22,USER_MSG_BE_USER_CONCERN:26,USER_MSG_QUESTION_BE_BANNED:5,USER_MSG_ANSWER_BE_BANNED:14,USER_MSG_COMMENT_BE_DELETED:23,USER_MSG_ANSWER_BE_SET_FEATURED:15,USER_MSG_USER_BE_BANNED:27,USER_MSG_USER_APPEAL_SUCCEED:28,USER_MSG_USER_APPEAL_FAILED:29,USER_MSG_USER_NUMBER_BE_BANNED:30,USER_MSG_USER_NUMBER_BE_UNBANNED:31,USER_MSG_USER_BE_INVITED_TO_ANSWER:32,COLUMN_NEW_ARTICLE:41,COLUMN_ARTICLE_LIKED:42,COLUMN_INVITED:43,COLUMN_JOIN:44,COLUMN_CONCERN:45,COLUMN_ARTICLE_COMMENT:46,COLUMN_COMMENT_REPLY:47,COLUMN_ARTICLE_REJECTED:48,COLUMN_BANNED:49,GROWTH_VOUCHER_GRANTED:50,GROWTH_GIFT_APPLY_FAIL:51,GROWTH_ARTICLE_FIRST_BLOOD:52,GROWTH_AWARD_VOUCHER_APPLY_PASS:60,GROWTH_AWARD_MATERIAL_APPLY_PASS:61,GROWTH_AWARD_APPLY_NOT_PASS:62,TRANSLATION_APPLY_PASS:70,TRANSLATION_APPLY_REJECTED:71,TRANSLATION_APPLY_DISMISS:72,TRANSLATION_PASSED:73,TRANSLATION_ADOPTED:74,TRANSLATION_HAS_NEW_TASKS:75,TRANSLATION_ACTIVITY_RESULT_PUBLISHED:76,TRANSLATION_BE_REJECTED:77,TRANSLATION_BE_REJECTED_PERMANENTLY:78,TRANSLATION_BE_DEDUCTED_MARKS:79,TRANSLATION_INVITATION_ACCEPTED:90,TRANSLATION_INVITED_USER_ARTICLE_BE_ACCEPTED:91,TRANSLATION_INVITED_USER_ARTICLE_BE_ADOPTED:92,SUPPORT_PLAN_APPLY_PASS:80,SUPPORT_PLAN_APPLY_REJECT:81,UPDATE_WECHAT_MP_APPLY_PASS:142,UPDATE_WECHAT_MP_APPLY_REJECT:141,DEVDOC_AUDIT_ACCEPT:100,DEVDOC_AUDIT_REJECT:101,PROFESSION_VERIFICATION_PASS:82,PROFESSION_VERIFICATION_REJECT:83,COLUMN_JOIN_APPLY:105,COLUMN_JOIN_APPLY_REJECT:106,SALON_ENROLL_ACTIVITY_REMIND:110,SALON_SUBSCRIBED_LIVE_BEGIN:111,SALON_USER_COMMENT_ACTIVITY:112,ORIGINAL_SHARING_JOIN_APPLY_PASS:120,ORIGINAL_SHARING_JOIN_APPLY_REJECT:121,ORIGINAL_SHARING_ARTICLE_BE_REJECTED:130,ORIGINAL_SHARING_USER_INVITATION:140,TEAM_PUBLISH_POST:122,TEAM_POST_REPLY_COMMENT:123,USER_INFO_AUDIT_REJECTED:150,COLUMN_INFO_AUDIT_REJECTED:152,ARTICLE_INFO_AUDIT_REJECTED:154,SELF_RECOMMENDATION_ARTICLE_REJECT:156}},d9C8:function(e,t,n){"use strict"},dIwP:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},dSzd:function(e,t,n){var r=n("e8AB")("wks"),o=n("3Eo+"),a=n("7KvD").Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},dVOP:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},dWZv:function(e,t,n){"use strict";t.b=function(e){var t=e.questionId,n=e.ban,r=e.reasonId;return a.call("ToggleQuestionBanStatus",{questionId:t,ban:n,reasonId:r})},t.c=function(e){var t=e.questionId,n=e.answerId,r=e.ban,o=e.reasonId;return a.call("ToggleAnswerBanStatus",{questionId:t,answerId:n,ban:r,reasonId:o})},t.a=function(){return a.cache("GetReasonList")};var a=new(n("cT2K").a)("ask/ban")},dhAI:function(e,t,n){"use strict";var r=n("DnI8");n.d(t,"a",function(){return r.a})},dp5j:function(e,t,n){"use strict";t.b=function(){return c.call("FetchHotKeywords")},t.a=function(e){var t={keyword:e.keyword};return c.call("QuickSearchKeyword",t)},t.c=function(e){var t=e.pageNumber,n=e.pageSize,r=e.q,o=e.searchTab,a=e.isOnlyTotal,i={pageNumber:t,q:r,pageSize:n,searchTab:o,isOnlyTotal:a};return c.lazy("SearchList",i,{thresholdDuration:300})},t.d=function(e){var t=e.q,n=e.searchTab,r=e.isOnlyTotal,o={pageNumber:1,pageSize:1,q:t,searchTab:n,isOnlyTotal:r};return c.call("SearchList",o)},t.e=function(e){var t=e.pageNumber,n=(e.pageSize,e.q),r=e.searchTab,o=e.isOnlyTotal,a={pageNumber:t,q:n,searchTab:r,isOnlyTotal:o};return c.call("GetSearchHotWords",a)};var c=new(n("PNJI").Service)("search")},ds30:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,e,r){function t(e){var t=new a.default(e);r.call(n,t)}{if(n.addEventListener)return n.addEventListener(e,t,!1),{remove:function(){n.removeEventListener(e,t,!1)}};if(n.attachEvent)return n.attachEvent("on"+e,t),{remove:function(){n.detachEvent("on"+e,t)}}}};var r,o=n("mmAL"),a=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},dz0z:function(e,t,n){"use strict";var r=n("Dd8w"),f=n.n(r),o=n("Zrlr"),a=n.n(o),i=n("wxAW"),c=n.n(i),u=n("zwoO"),s=n.n(u),l=n("Pf15"),p=n.n(l),d=n(0),m=n.n(d),h=n("KSGD"),v=n.n(h),y=n(1),b=n.n(y),g=n("fJc4"),w=n.n(g),E=n("8aSS"),O=n("DACe"),k=n("u+bl"),_=n("i5+K"),C=function(e){function n(e){a()(this,n);var t=s()(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return N.call(t),t.savePopupRef=_.c.bind(t,"popupInstance"),t.saveAlignRef=_.c.bind(t,"alignInstance"),t}return p()(n,e),c()(n,[{key:"componentDidMount",value:function(){this.rootNode=this.getPopupDomNode()}},{key:"getPopupDomNode",value:function(){return b.a.findDOMNode(this.popupInstance)}},{key:"getMaskTransitionName",value:function(){var e=this.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t}},{key:"getTransitionName",value:function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t}},{key:"getClassName",value:function(e){return this.props.prefixCls+" "+this.props.className+" "+e}},{key:"getPopupElement",value:function(){var e=this.savePopupRef,t=this.props,n=t.align,r=t.style,o=t.visible,a=t.prefixCls,i=t.destroyPopupOnHide,c=this.getClassName(this.currentAlignClassName||t.getClassNameFromAlign(n)),u=a+"-hidden";o||(this.currentAlignClassName=null);var s=f()({},r,this.getZIndexStyle()),l={className:c,prefixCls:a,ref:e,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,style:s};return i?m.a.createElement(E.a,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},o?m.a.createElement(w.a,{target:this.getTarget,key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:n,onAlign:this.onAlign},m.a.createElement(O.a,f()({visible:!0},l),t.children)):null):m.a.createElement(E.a,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},m.a.createElement(w.a,{target:this.getTarget,key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:o,childrenProps:{visible:"xVisible"},disabled:!o,align:n,onAlign:this.onAlign},m.a.createElement(O.a,f()({hiddenClassName:u},l),t.children)))}},{key:"getZIndexStyle",value:function(){var e={},t=this.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e}},{key:"getMaskElement",value:function(){var e=this.props,t=void 0;if(e.mask){var n=this.getMaskTransitionName();t=m.a.createElement(k.a,{style:this.getZIndexStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible}),n&&(t=m.a.createElement(E.a,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t}},{key:"render",value:function(){return m.a.createElement("div",null,this.getMaskElement(),this.getPopupElement())}}]),n}(d.Component);C.propTypes={visible:v.a.bool,style:v.a.object,getClassNameFromAlign:v.a.func,onAlign:v.a.func,getRootDomNode:v.a.func,onMouseEnter:v.a.func,align:v.a.any,destroyPopupOnHide:v.a.bool,className:v.a.string,prefixCls:v.a.string,onMouseLeave:v.a.func};var N=function(){var o=this;this.onAlign=function(e,t){var n=o.props,r=n.getClassNameFromAlign(t);o.currentAlignClassName!==r&&(o.currentAlignClassName=r,e.className=o.getClassName(r)),n.onAlign(e,t)},this.getTarget=function(){return o.props.getRootDomNode()}};t.a=C},"e/rV":function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="common",i="all",c="following";o(r={},a,{name:"\u5e38\u7528\u6807\u7b7e",value:a,target:"/"}),o(r,i,{name:"\u5168\u90e8\u6807\u7b7e",value:i,target:"/all"}),o(r,c,{name:"\u5df2\u5173\u6ce8\u6807\u7b7e",value:c,target:"/following"})},e2nb:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){for(var e=arguments.length,o=Array(e),t=0;t<e;t++)o[t]=arguments[t];return function(e){if(0===o.length)return e;for(var t=o.slice(),n=void 0,r=e;n=t.shift();)r=r[n];return r}}},"e6+Q":function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},e6n0:function(e,t,n){var r=n("evD5").f,o=n("D2L2"),a=n("dSzd")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},e8AB:function(e,t,n){var r=n("7KvD"),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},eOzl:function(e,t,n){"use strict"},euci:function(e,t,n){"use strict";t.a=function(e){if(e.prototype)throw new RangeError("Can only hash a plain object");return n.i(r.a)(JSON.stringify(e))};var r=n("WVx1")},evD5:function(e,t,n){var r=n("77Pl"),o=n("SfB7"),a=n("MmMw"),i=Object.defineProperty;t.f=n("+E39")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},exh5:function(e,t,n){var r=n("kM2E");r(r.S,"Object",{setPrototypeOf:n("ZaQb").set})},fJc4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("8LgU"),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default,e.exports=t.default},fSzf:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.style,r=e.children;return o.a.createElement("div",{style:n,className:i()("J-body",t)},r)};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a)},fVzJ:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.children;return o.a.createElement("div",{className:i()("c-section-inner",t)},n)};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a)},fWfb:function(e,t,n){"use strict";var r=n("7KvD"),i=n("D2L2"),o=n("+E39"),a=n("kM2E"),c=n("880/"),u=n("06OY").KEY,s=n("S82l"),l=n("e8AB"),f=n("e6n0"),p=n("3Eo+"),d=n("dSzd"),m=n("Kh4W"),h=n("crlp"),v=n("Xc4G"),y=n("7UMu"),b=n("77Pl"),g=n("TcQ7"),w=n("MmMw"),E=n("X8DO"),O=n("Yobk"),k=n("Rrel"),_=n("LKZe"),C=n("evD5"),N=n("lktj"),T=_.f,S=C.f,P=k.f,R=r.Symbol,I=r.JSON,j=I&&I.stringify,x="prototype",A=d("_hidden"),L=d("toPrimitive"),D={}.propertyIsEnumerable,M=l("symbol-registry"),B=l("symbols"),U=l("op-symbols"),q=Object[x],F="function"==typeof R,H=r.QObject,W=!H||!H[x]||!H[x].findChild,G=o&&s(function(){return 7!=O(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(q,t);r&&delete q[t],S(e,t,n),r&&e!==q&&S(q,t,r)}:S,V=function(e){var t=B[e]=O(R[x]);return t._k=e,t},K=F&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},z=function(e,t,n){return e===q&&z(U,t,n),b(e),t=w(t,!0),b(n),i(B,t)?(n.enumerable?(i(e,A)&&e[A][t]&&(e[A][t]=!1),n=O(n,{enumerable:E(0,!1)})):(i(e,A)||S(e,A,E(1,{})),e[A][t]=!0),G(e,t,n)):S(e,t,n)},Q=function(e,t){b(e);for(var n,r=v(t=g(t)),o=0,a=r.length;o<a;)z(e,n=r[o++],t[n]);return e},Y=function(e){var t=D.call(this,e=w(e,!0));return!(this===q&&i(B,e)&&!i(U,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,A)&&this[A][e])||t)},J=function(e,t){if(e=g(e),t=w(t,!0),e!==q||!i(B,t)||i(U,t)){var n=T(e,t);return!n||!i(B,t)||i(e,A)&&e[A][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=P(g(e)),r=[],o=0;n.length>o;)i(B,t=n[o++])||t==A||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===q,r=P(n?U:g(e)),o=[],a=0;r.length>a;)!i(B,t=r[a++])||n&&!i(q,t)||o.push(B[t]);return o};F||(c((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=p(0<arguments.length?arguments[0]:void 0),n=function(e){this===q&&n.call(U,e),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),G(this,t,E(1,e))};return o&&W&&G(q,t,{configurable:!0,set:n}),V(t)})[x],"toString",function(){return this._k}),_.f=J,C.f=z,n("n0T6").f=k.f=X,n("NpIQ").f=Y,n("1kS7").f=Z,o&&!n("O4g8")&&c(q,"propertyIsEnumerable",Y,!0),m.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!F,{Symbol:R});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)d($[ee++]);for(var te=N(d.store),ne=0;te.length>ne;)h(te[ne++]);a(a.S+a.F*!F,"Symbol",{for:function(e){return i(M,e+="")?M[e]:M[e]=R(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in M)if(M[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!F,"Object",{create:function(e,t){return void 0===t?O(e):Q(O(e),t)},defineProperty:z,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),I&&a(a.S+a.F*(!F||s(function(){var e=R();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!K(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(t=r[1])&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,j.apply(I,r)}}}),R[x][L]||n("hJx8")(R[x],L,R[x].valueOf),f(R,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},fkB2:function(e,t,n){var r=n("UuGF"),o=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):a(e,t)}},fsyz:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.tip,r=void 0!==n&&n,o=e.onRetry,a=e.msg,i=void 0===a?"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u70b9\u51fb":a;return c.a.createElement("div",{className:u()("c-loading",{"c-loading-tip":r},t)},i," ",c.a.createElement(s.a,{onClick:o},"\u91cd\u8bd5"))};var r=n(0),c=n.n(r),o=n("HW6M"),u=n.n(o),s=n("2h0h")},fuGk:function(e,t,n){"use strict";var r=n("cGG2");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=o},fwo6:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r,o,a,i=n(0),c=n.n(i),u=n("KSGD"),s=n.n(u),l=n("xt0B"),f=n("PNJI"),p=n("pwtL"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=n.i(l.connectSession)()((a=o=function(e){function u(){var e,t,n,r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var a=arguments.length,i=Array(a),c=0;c<a;c++)i[c]=arguments[c];return(t=n=h(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(i)))).handleOnClick=(r=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=n.props.session).isLogined){e.next=3;break}return e.abrupt("return",f.login.show());case 3:if(t.accountInfoCompleted){e.next=6;break}return"\u4f60\u5c1a\u672a\u5b8c\u5584\u4fe1\u606f\uff0c\u65e0\u6cd5\u8fdb\u884c\u63d0\u95ee\uff0c\u662f\u5426\u7acb\u5373\u524d\u5f80\u5b8c\u5584\u4fe1\u606f\uff1f",e.abrupt("return",p.Dialog.confirm({content:"\u4f60\u5c1a\u672a\u5b8c\u5584\u4fe1\u606f\uff0c\u65e0\u6cd5\u8fdb\u884c\u63d0\u95ee\uff0c\u662f\u5426\u7acb\u5373\u524d\u5f80\u5b8c\u5584\u4fe1\u606f\uff1f",onConfirm:function(){f.login.gotoRegisterCompletionPage()}}));case 6:p.AskDialog.show();case 7:case"end":return e.stop()}},e,o)}),function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),h(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,i["Component"]),m(u,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.component,r=e.children,o=(e.session,function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","component","children","session"]));return c.a.createElement(n,d({className:t,onClick:this.handleOnClick},o),r)}}]),u}(),o.propTypes={className:s.a.string,component:s.a.oneOfType([s.a.string,s.a.func])},o.defaultProps={component:function(e){return c.a.createElement(p.Link,e)}},r=a))||r},g68T:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r,o,a,c=n(0),u=n.n(c),i=n("KSGD"),s=n.n(i),l=n("HW6M"),f=n.n(l),p=n("xt0B"),d=n("PNJI"),m=n("NrQd"),h=n("pwtL"),v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=n.i(p.connectSession)()((a=o=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=y(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).reportArticle=function(){var e=r.props,t=e.session,n=e.article;if(!t.isLogined)return d.login.show();h.ReportDialog.show({resource:{type:"article",id:n.id},reportFunc:m.reportContent})},y(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,c["Component"]),v(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return u.a.createElement(h.Link,{onClick:this.reportArticle,className:f()("com-opt-link",t)},n||"\u4e3e\u62a5")}}]),i}(),o.propTypes={className:s.a.string,article:s.a.object.isRequired},r=a))||r},g9WF:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r,o,a=n(0),u=n.n(a),i=n("CqLJ"),s=n.n(i),c=n("KSGD"),l=n.n(c),f=n("Pc1i"),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=n.i(f.a)({interval:1e4}),v=function(){return isClientContext?window.$clientTime:Date.now()},y=v()-(isClientContext?window.$serverTime:Date.now()),b=function(e,t){return Math.floor(e/t)},g=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=m(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={clientTimeElapsed:0},m(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),d(i,[{key:"render",value:function(){var e=this.props,t=e.time,r=e.style,o=e.className,n=this.state.clientTimeElapsed;if("number"!=typeof t)return u.a.createElement("span",null,t);if(isNaN(t))return u.a.createElement("span",null,"\u672a\u77e5\u65f6\u95f4");10===String(t).length&&(t*=1e3);var a=s()(new Date(t),"yyyy-mm-dd HH:MM:ss"),i=v()-t+n,c=function(e){var t=e.unit,n=e.noDuration;return u.a.createElement(w,{dateTime:a,className:o},!n&&" ",!n&&u.a.createElement("span",{style:r},i)," "+t,u.a.createElement("span",{className:"com-v-box"},a))};return(i=b(i,1e3))<60?u.a.createElement(c,{unit:"\u521a\u521a",noDuration:!0}):(i=b(i,60))<60?u.a.createElement(c,{unit:"\u5206\u949f\u524d"}):(i=b(i,60))<24?u.a.createElement(c,{unit:"\u5c0f\u65f6\u524d"}):(i=b(i,24))<31?u.a.createElement(c,{unit:"\u5929\u524d"}):u.a.createElement(w,{dateTime:a,style:r,className:o}," "+a.split(" ")[0],u.a.createElement("span",{className:"com-v-box"},a))}},{key:"componentDidMount",value:function(){var e=this;this.unsubscribe=h.subscribe(function(){e.setState({clientTimeElapsed:Date.now()-v()-y})})}},{key:"componentWillUnmount",value:function(){this.unsubscribe()}}]),i}(),r.propTypes={time:l.a.number.isRequired,style:l.a.object,className:l.a.string},r.defaultProps={style:{}},o);function w(e){var t=e.dateTime,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["dateTime","children"]);return u.a.createElement("time",p({dateTime:t,title:t},r),n)}},gAWP:function(e,t,n){"use strict";var r=n("lKVm");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c})},gFeq:function(e,t,n){"use strict";function r(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var o,a,c=[1,.98,.96,.94,.9,.8,.7,.5,.3,.1,.05],i=(o=r(regeneratorRuntime.mark(function e(t){var n,r,o,a,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1048576;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=c.slice(),r="image/png",o=1;case 2:return e.next=5,u(t,r,o);case 5:if((a=e.sent).size<i)return e.abrupt("return",{type:r,blob:a,quality:o});e.next=9;break;case 9:if(0===n.length)throw new Error("\u65e0\u6cd5\u538b\u7f29\u56fe\u7247\u5230\u5c11\u4e8e\u6307\u5b9a\u7684\u5927\u5c0f\uff1a"+i);e.next=11;break;case 11:0,r="image/jpeg",o=n.shift(),e.next=2;break;case 17:return e.abrupt("return",null);case 18:case"end":return e.stop()}},e,this)})),function(e){return o.apply(this,arguments)}),u=(a=r(regeneratorRuntime.mark(function e(n,r,o){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e,t){n.toBlob(e,r,o)}));case 1:case"end":return e.stop()}},e,this)})),function(e,t,n){return a.apply(this,arguments)});isClientContext&&!HTMLCanvasElement.prototype.toBlob&&Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,t,n){for(var r=atob(this.toDataURL(t,n).split(",")[1]),o=r.length,a=new Uint8Array(o),i=0;i<o;i++)a[i]=r.charCodeAt(i);e(new Blob([a],{type:t||"image/png"}))}})},gMOm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("Zrlr")),o=l(n("wxAW")),a=l(n("zwoO")),i=l(n("Pf15")),c=l(n(0)),u=l(n("KSGD")),s=n(1);function l(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){return(0,r.default)(this,t),(0,a.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,i.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?(0,s.createPortal)(this.props.children,this._container):null}}]),t}(c.default.Component);f.propTypes={getContainer:u.default.func.isRequired,children:u.default.node.isRequired,didUpdate:u.default.func},t.default=f,e.exports=t.default},gPRx:function(e,t,n){"use strict";t.a=function(){if(isServerContext)return!1;return Boolean(window.history&&window.history.pushState)}},gUHC:function(e,t,n){"use strict";t.a=function(e){var t=e.title,n=e.back,r=e.extra;return o.a.createElement("header",{className:"com-panel-hd"},n,o.a.createElement("h3",{className:"com-panel-title"},t),r&&o.a.createElement("div",{className:"com-panel-extra"},r))};var r=n(0),o=n.n(r)},gm1a:function(e,t,n){"use strict"},gooK:function(e,t,n){"use strict";t.a=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;if("number"!=typeof(e=Number(e))||e!=e)return 0;t=Math.pow(10,t);for(var n=["K","M","B","T"],r=n.length-1;0<=r;r-=1){var o=Math.pow(10,3*(r+1));if(o<=e){1e3==(e=Math.round(e*t/o)/t)&&r<n.length-1&&(e=1,r++),e+=n[r];break}}return e}},"gt/O":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},guFQ:function(e,t,n){"use strict"},gv2m:function(e,t,n){"use strict";t.a=function(o,a){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"file",c=arguments[3];return new Promise(function(t,n){var e=new FormData;e.append(i,a,a.name),e.append("filename",a.name);var r=new XMLHttpRequest;r.withCredentials=!0,r.onreadystatechange=function(){if(r.readyState===r.DONE)try{var e=JSON.parse(r.responseText);0!==e.code&&n(new Error(e.msg)),t(e.data)}catch(e){e instanceof SyntaxError&&(e.message="\u670d\u52a1\u5668\u54cd\u5e94\u683c\u5f0f\u9519\u8bef"),n(e)}},c&&(r.upload.onprogress=function(e){e.lengthComputable&&e.total&&c(e.loaded,e.total)}),r.onerror=n,r.open("POST",o),r.send(e)})}},h1LS:function(e,t,d){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.enterScale,n=void 0===t?{sx:.1,sy:.1}:t,r=e.leaveScale,o=void 0===r?n:r,a=e.enterTimeout,i=void 0===a?v.a:a,c=e.leaveTimeout,u=void 0===c?v.b:c,s=v.c+"scale",l=d.i(m.a)({name:s,enterScale:n,leaveScale:o,enterTimeout:i,leaveTimeout:u});if(!b[l]){var f=b[l]={transitionName:s+l,transitionEnterTimeout:i,transitionLeaveTimeout:u},p=y(f,n,o);d.i(h.a)(s+l,p)}return b[l]};var m=d("euci"),h=d("YwWk"),v=d("Izmz"),y=function(e,t,n){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n\ttransform: scale3d("+t.sx+", "+t.sy+", 1);\n}\n."+e.transitionName+"-enter-active {\n\topacity: 1 !important;\n\ttransform: scale3d(1, 1, 1);\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease, transform "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: 1 !important;\n\ttransform: scale3d(1, 1, 1);\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransform: scale3d("+n.sx+", "+n.sy+", 1);\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease, transform "+e.transitionLeaveTimeout+"ms ease;\n}\n"},b={}},h65t:function(e,t,n){var u=n("UuGF"),s=n("52gC");e.exports=function(c){return function(e,t){var n,r,o=String(s(e)),a=u(t),i=o.length;return a<0||i<=a?c?"":void 0:(n=o.charCodeAt(a))<55296||56319<n||a+1===i||(r=o.charCodeAt(a+1))<56320||57343<r?c?o.charAt(a):n:c?o.slice(a,a+2):r-56320+(n-55296<<10)+65536}}},h8T7:function(e,t,n){"use strict";var r=n("9eg/");n.d(t,"a",function(){return r.a})},h9SP:function(e,t,n){"use strict";var r=n("+UAl");n.d(t,"a",function(){return r.a})},h9oW:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return a});var a={ARTICLE:"article",ASK:"ask",SALON:"salon",USER:"user",DEVDOC:"devdoc",LAB:"lab"},i=a.ARTICLE,c=a.ASK,u=a.SALON,s=a.USER,l=a.DEVDOC,f=a.LAB;o(r={},i,{id:1,name:"\u4e13\u680f\u6587\u7ae0"}),o(r,c,{id:2,name:"\u4e92\u52a8\u95ee\u7b54"}),o(r,u,{id:3,name:"\u6d3b\u52a8\u6c99\u9f99"}),o(r,s,{id:4,name:"\u4e13\u5bb6\u7528\u6237"}),o(r,l,{id:5,name:"\u5f00\u53d1\u8005\u624b\u518c"}),o(r,f,{id:6,name:"\u5b9e\u9a8c\u5ba4"})},hDCR:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];return t.reduce(function(e,t){return t(e,n)},e)}}},hJx8:function(e,t,n){var r=n("evD5"),o=n("X8DO");e.exports=n("+E39")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},hMG2:function(e,t,n){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?null:t,r=e.seconds,o=void 0===r?0:r,a=e.progress,i=void 0===a?f:a,c=e.done,u=void 0===c?f:c,s=setInterval(l,1e3);function l(){0<o?(i.call(n,o),o-=1):(clearInterval(s),u.call(n))}return l(),{abort:function(){clearInterval(s)},getRemainingTime:function(){return o}}};var f=Function.prototype},hPME:function(e,t,n){"use strict";var r=n("leB1");t.a=r.a},hPqH:function(e,t,n){"use strict";t.a=function(e){var t=e.selected,n=e.page,r=e.pageUrl,o=e.onClick;if(t)return a.a.createElement("span",{className:"c-pages-item c-pages-item-actived"},n);return a.a.createElement(i.a,{to:r,className:"c-pages-item",onClick:o},n)};var r=n(0),a=n.n(r),i=n("2h0h")},hV2o:function(e,t,n){"use strict";n("q7kW")},hXRd:function(e,t,n){"use strict";var r=n("8SnZ");n.d(t,"a",function(){return r.a})},hZ5a:function(e,t,n){"use strict"},"heL+":function(e,t,n){"use strict";t.a=function(e){var t=e.title,n=e.icon,r=void 0===n?"":n,o=e.children;return a.a.createElement("h2",{className:"com-3-section-title"},Boolean(r)&&a.a.createElement("i",{className:i()("com-3-section-title-icon",r)}),t||o)};var r=n(0),a=n.n(r),o=n("HW6M"),i=n.n(o)},"hm/m":function(e,t,n){"use strict";t.a=function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=Object.values(e.entityMap)[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value;if("IMAGE"===c.type&&c.data){var u=c.data;t[u.imageUrl]&&(u.imageUrl=t[u.imageUrl])}}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}}},hr0a:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,i=n(0),c=n.n(i),a=n("KSGD"),u=n.n(a),s=n("HW6M"),l=n.n(s),f=n("2h0h"),p=n("hPqH"),d=n("FE5V"),m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var y=(o=r=function(e){function a(){var e,t,d;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=d=v(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).onPrevPageClicked=function(e){d.onPageSelected(d.props.pageNumber-1,e)},d.onNextPageClicked=function(e){d.onPageSelected(d.props.pageNumber+1,e)},d.onPageSelected=function(e,t){var n=d.props.onPageChange;"function"==typeof n&&(t.preventDefault(),n({pageNumber:e}))},d.pagination=function(){var e=d.props,t=e.pageCount,n=e.pageNumber,r=e.margin,o=e.range,a=n-1,i=[];if(t<o)for(var c=0;c<t;c+=1)i.push(c+1);else{var u=o/2,s=o-u;t-o/2<a?u=o-(s=t-a):a<o/2&&(s=o-(u=a));for(var l=void 0,f=0;f<t;f+=1){var p=f+1;p<=r?i.push(p):t-r<p?i.push(p):a-u<=f&&f<=a+s?i.push(p):i[i.length-1]!==l&&(l={},i.push(l))}}return i.forEach(function(e,t){"object"===(void 0===e?"undefined":m(e))&&i[t+1]-i[t-1]==2&&(i[t]=i[t+1]-1)}),i},v(d,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i["Component"]),h(a,[{key:"render",value:function(){var n=this,e=this.props,t=e.pageCount,r=e.pageNumber,o=e.type,a=e.getPageUrl;return t<=1?null:c.a.createElement("div",{className:l()("c-pages-wrap",{"c-pages-mini":"mini"===o})},c.a.createElement("div",{className:"c-pages"},1<r&&c.a.createElement(f.a,{to:a({pageNumber:r-1}),onClick:this.onPrevPageClicked,className:"c-pages-item c-pages-item-prev"},"\u4e0a\u4e00\u9875"),this.pagination().map(function(e,t){return"object"===(void 0===e?"undefined":m(e))?c.a.createElement(d.a,{key:t}):c.a.createElement(p.a,{key:t,selected:e===r,page:e,pageUrl:a({pageNumber:e}),onClick:n.onPageSelected.bind(null,e)})}),r<t&&c.a.createElement(f.a,{to:a({pageNumber:r+1}),onClick:this.onNextPageClicked,className:"c-pages-item c-pages-item-next"},"\u4e0b\u4e00\u9875")))}}]),a}(),r.propTypes={pageNumber:u.a.number.isRequired,pageCount:u.a.number.isRequired,onPageChange:u.a.func,getPageUrl:u.a.func},r.defaultProps={pageNumber:1,pageCount:10,type:"medium",margin:1,range:7,onPageChange:function(e){e.pageNumber},getPageUrl:function(e){e.pageNumber}},o)},humj:function(e,t,n){"use strict";t.a=function(t){return new Promise(function(u,e){var s=new FileReader;s.onload=function(){for(var e=new Uint8ClampedArray(s.result),t=e.length,n=function(e,t){var n=e[t++];return n=(n=(n=n<<8|e[t++])<<8|e[t++])<<8|e[t++]},r=0,o=0;o<t;){var a=n(e,o);if(a===l)break;o++}var i=n(e,o+4),c=n(e,o+8);e[o+8];if(i&&c&&i===c)switch(i){case 5669:r=144;break;case 3779:r=96}u(r)},s.readAsArrayBuffer(t)})};var l=1883789683},"i+Gu":function(e,t,n){"use strict";var r=n("/wF1");n.d(t,"a",function(){return r.a})},"i/C/":function(e,t,n){n("exh5"),e.exports=n("FeBl").Object.setPrototypeOf},"i5+K":function(e,t,n){"use strict";t.b=function(e,t,n){var r=e[t]||{};return o()({},r,n)},t.a=function(e,t,n){var r=n.points;for(var o in e)if(e.hasOwnProperty(o)&&(a=e[o].points,i=r,a[0]===i[0]&&a[1]===i[1]))return t+"-placement-"+o;var a,i;return""},t.c=function(e,t){this[e]=t};var r=n("Dd8w"),o=n.n(r)},i8gs:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r,o,a,i,c=n("rdLu"),u=n.n(c),s=n(0),f=n.n(s),l=n("KSGD"),p=n.n(l),d=n("HW6M"),m=n.n(d),h=n("qFNz"),v=n("Mn5R"),y=n("sILW"),b=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var g=n.i(h.a)((a=o=function(e){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));i.call(t);var n=e.title,r=e.autoFocus;return t.state={title:t.props.title||"",focus:void 0===r?!n:r,showRelatedQuestionsDropdown:!1,relatedQuestions:{}},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,s["Component"]),b(o,[{key:"render",value:function(){var t=this,e=this.props,n=e.className,r=e.hasError,o=void 0!==r&&r,a=e.autoFocus,i=this.state,c=i.title,u=i.focus,s=i.showRelatedQuestionsDropdown,l=i.relatedQuestions;return f.a.createElement("div",{className:m()("qa-search-bar",n,{focus:u}),style:{width:"100%"}},f.a.createElement("label",{className:"qa-search"},f.a.createElement("input",{type:"text",ref:function(e){return t.titleElement=e},autoFocus:void 0===a?u:a,placeholder:"\u95ee\u9898\u6807\u9898\uff1a\u4e00\u53e5\u8bdd\u63cf\u8ff0\u95ee\u9898\uff0c\u8bf7\u4ee5\u95ee\u53f7\u7ed3\u5c3e\u3002",className:m()("qa-quickask-input",{error:o}),maxLength:80,value:c,onChange:this.onChange,onKeyUp:this.onKeyUp,onFocus:this.onFocus,onBlur:this.onBlur})),s&&f.a.createElement(y.a,{search:c,items:l}))}},{key:"handleClickOutside",value:function(){this.setState({focus:!1,showRelatedQuestionsDropdown:!1})}},{key:"focus",value:function(){this.titleElement&&(this.titleElement.focus(),this.titleElement.scrollIntoView())}}]),o}(),o.propTypes={title:p.a.string.isRequired,onInputChange:p.a.func.isRequired,hasError:p.a.bool},i=function(){var a=this;this.onKeyUp=u.a.throttle(function(){var e=a.state.title;e&&0<e.trim().length?(a.setState({showRelatedQuestionsDropdown:!0}),a.loadFrequentSearchQuestions(e)):a.setState({showRelatedQuestionsDropdown:!1})},300),this.onChange=function(e){a.setState({title:e.target.value});var t=a.props.onInputChange;t&&t(e.target.value)},this.loadFrequentSearchQuestions=function(e){n.i(v.getHottestSearchItems)({keyword:e,pagesize:5}).then(function(e){var t=e[0].datalist,n=[],r=[];if(t.length||n.length||r.length){var o={questions:t,tags:n,users:r};a.setState({showRelatedQuestionsDropdown:!0,relatedQuestions:o})}else a.setState({showRelatedQuestionsDropdown:!1,relatedQuestions:{questions:[],tags:[],users:[]}})})},this.onFocus=function(e){a.setState({focus:!0}),a.props.onFocus&&a.props.onFocus(e),e.target.value.length<=0&&a.setState({showRelatedQuestionsDropdown:!1})},this.onBlur=function(e){a.props.onBlur&&a.props.onBlur(e),a.setState({focus:!1})}},r=a))||r},iBgB:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a});var r={TO_BE_AUDIT:0,NORMAL:2,TEMPORARY:3,PERMANENT:4,DELETED:5},o={BAN:1,UNBAN:2},a={QUESTION:"question",ANSWER:"answer"}},iByR:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,a=n(0),u=n.n(a),i=n("KSGD"),c=n.n(i),s=n("HW6M"),l=n.n(s),f=n("MiDW"),p=n("2h0h"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=(o=r=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=m(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).onCategoryClick=function(n){return function(e){e.preventDefault();var t=r.props.onCategoryClick;"function"==typeof t&&t({category:n})}},r.onTagClick=function(n){return function(e){e.preventDefault();var t=r.props.onTagClick;"function"==typeof t&&t({tag:n})}},m(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),d(i,[{key:"render",value:function(){var o=this,e=this.props,r=e.categoriedTags,t=e.tagMap,a=e.activeCategory,i=e.selectedTagIds,c=e.canSelectMoreTag,n=(e.onCategoryClick,e.onTagClick,r[a].map(function(e){return t[e]}));return u.a.createElement("div",{className:"com-tab com-2-tagsinput-tab"},u.a.createElement("div",{className:"com-tab-hd"},u.a.createElement("ul",{className:"com-tab-ctrl"},f.b.map(function(e,t){var n=e===a;return r[e]?u.a.createElement("li",{key:t,className:l()("com-tab-item",{actived:n})},u.a.createElement(p.a,{onClick:o.onCategoryClick(e)},f.c[e].name)):null}))),u.a.createElement("div",{className:"com-tab-bd"},u.a.createElement("div",{className:"com-tab-panel"},u.a.createElement("ul",{className:"com-tag-v2-list large gray"},n.map(function(e,t){var n=i.includes(e.id),r=!n&&!c;return u.a.createElement("li",{key:t},u.a.createElement(p.a,{className:l()("com-tag-v2",{actived:n,disabled:r}),onClick:r?void 0:o.onTagClick(e)},e.name))})))))}}]),i}(),r.propTypes={categoriedTags:c.a.objectOf(c.a.arrayOf(c.a.number)).isRequired,tagMap:c.a.objectOf(c.a.shape({id:c.a.number.isRequired,name:c.a.string.isRequired})).isRequired,activeCategory:c.a.oneOf(f.b).isRequired,selectedTagIds:c.a.arrayOf(c.a.number).isRequired,canSelectMoreTag:c.a.bool.isRequired,onCategoryClick:c.a.func,onTagClick:c.a.func},o)},iCyA:function(e,t,c){"use strict";c.d(t,"a",function(){return y});var n,r,o,a=c(0),i=c.n(a),u=c("KSGD"),s=c.n(u),l=c("HW6M"),f=c.n(l),p=c("PNJI"),d=c("xt0B"),m=c("pwtL"),h=c("Mn5R"),v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var y=c.i(d.connectSession)()((o=r=function(e){function n(e){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t,i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return i.toggleAdoptAnswer=(t=regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.props,n=t.session,r=t.questionId,o=t.answerId,n.isLogined){e.next=3;break}return e.abrupt("return",p.login.show());case 3:i.setState(function(e){return{checked:!e.checked}},function(){var e=i.state.checked;c.i(h.adoptAnswer)({askId:r,answerId:o,action:e?1:2}),i.constructor.instanceMap[r].forEach(function(e){e!==i&&e.setState({checked:!1})})});case 4:case"end":return e.stop()}},e,a)}),function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),i.state={checked:1===e.isAdopt},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,a["Component"]),v(n,[{key:"render",value:function(){var e=this.state.checked,t=this.props.hotrep;return i.a.createElement(m.Link,{className:f()("com-opt-link link-adopt",{actived:e}),onClick:this.toggleAdoptAnswer,hotrep:t},i.a.createElement("i",{className:"com-i-adopt"}),e?"\u5df2\u91c7\u7eb3":"\u91c7\u7eb3")}},{key:"componentDidMount",value:function(){this.constructor.track(this)}},{key:"componentWillUnmount",value:function(){this.constructor.untrack(this)}}],[{key:"track",value:function(e){var t=e.props.questionId,n=this.instanceMap[t]||[];n.push(e),this.instanceMap[t]=n}},{key:"untrack",value:function(e){var t=e.props.questionId,n=this.instanceMap[t],r=n.indexOf(e);~r&&n.splice(r,1),this.instanceMap[t]=n}},{key:"instanceMap",get:function(){return this._instanceMap||(this._instanceMap={})}}]),n}(),r.propTypes={questionId:s.a.number.isRequired,answerId:s.a.number.isRequired,isAdopt:s.a.number.isRequired},n=o))||n},iDEd:function(e,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},iQ0z:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-panel-bd"},t)};var r=n(0),o=n.n(r)},iW2w:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=1,i=2;o(r={},a,{id:a,title:"\u516c\u53f8\u90ae\u7bb1\u8ba4\u8bc1",icon:"email"}),o(r,i,{id:i,title:"\u5de5\u5361/\u540d\u7247\u8ba4\u8bc1",icon:"card"})},ieWh:function(e,t,O){"use strict";O.d(t,"a",function(){return l});var n,r,o=O(0),w=O.n(o),a=O("KSGD"),i=O.n(a),c=O("HW6M"),E=O.n(c),k=O(4),_=(O.n(k),O("Tpeq")),C=O("YmwH"),N=O("Mn5R"),T=O("3+MR"),S=(O("hXRd"),O("1h7I"),O("2h0h")),P=O("TTo2"),R=O("k+QU"),I=O("82By"),j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=(r=n=function(e){function i(){var e,t,w,n,E=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=w=s(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={title:"",titleError:null,warn:null,commiting:!1,collapsed:w.props.defaultCollapsed,error:null,tagIds:[]},w.titleComponent=null,w.askTagSelect=null,w.richEditor=null,w.updateTitle=function(e){var t=null,n=null,r=e.length-50;0<r?t="\u95ee\u9898\u5df2\u8d85\u51fa "+r+" \u4e2a\u5b57":-10<r&&(n="\u4f60\u8fd8\u53ef\u4ee5\u8f93\u5165 "+-r+" \u4e2a\u5b57"),w.setState({title:e,titleError:t,warn:n,repeatedQuestionId:0})},w.updateTagIds=function(e){var t=e.tagIds;w.setState({tagIds:t})},w.commitQuestion=(n=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s,l,f,p,d,m,h,v,y,b,g;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t=w.props,n=t.question,r=t.onUpdate,o=t.onFinish,n&&(n.title=n.title.replace(/\?/g,"\uff1f")),a=w.state,i=a.title,c=a.titleError,u=a.tagIds,i=(i=i.trim()).replace(/\?/g,"\uff1f"),c)return w.focusTitle(),e.abrupt("return");e.next=9;break;case 9:if(i){e.next=13;break}return w.focusTitle(),w.setState({titleError:"\u8bf7\u5199\u4e0b\u4f60\u7684\u95ee\u9898"}),e.abrupt("return");case 13:if(i.length<5)return w.focusTitle(),w.setState({titleError:"\u95ee\u9898\u4e0d\u80fd\u5c11\u4e8e5\u4e2a\u5b57"}),e.abrupt("return");e.next=17;break;case 17:if(/(\?|\uff1f)$/.test(i)){e.next=21;break}return w.focusTitle(),w.setState({titleError:"\u95ee\u9898\u8bf7\u4ee5\u95ee\u53f7\u7ed3\u5c3e"}),e.abrupt("return");case 21:if(w.setState({commiting:!0,error:null}),!n||n&&n.title!==i)return e.next=25,O.i(N.checkRepeatQuestion)({questionTitle:i});e.next=31;break;case 25:if(s=e.sent,l=s.askId,f=void 0===l?0:l,0!==Number(f))return w.focusTitle(),w.setState({commiting:!1,repeatedQuestionId:f}),e.abrupt("return");e.next=31;break;case 31:return p=w.richEditor.getDraftPlain(),d=O.i(k.raw2packed)(w.richEditor.getDraftRaw()),m=Boolean(n&&n.template),h=Boolean(n&&!m),v=h?N.updateQuestion:N.askQuestion,y={title:i,plain:p,content:d},h&&(y.questionId=n.id),m&&(y.tagId=n.tagId,y.fingerprint=n.fingerprint,y.fingerprintTitle=n.fingerprintTitle),!n&&0<u.length&&(y.tagId&&!u.includes(y.tagId)&&(u.push(y.tagId),delete y.tagId),y.tagIds=u),e.next=42,v(y);case 42:if(b=e.sent,g=b.questionId,!h){e.next=48;break}if("function"==typeof r)return r({title:i,plain:p,content:d,updateTime:Date.now()}),e.abrupt("return");e.next=48;break;case 48:"function"==typeof o?o({url:O.i(_.a)("/ask/"+g),questionId:g}):C.a.navigate("/ask/"+g,w.props.target),e.next=55;break;case 51:e.prev=51,e.t0=e.catch(0),w.setState({commiting:!1}),"string"!=typeof e.t0.code&&w.setState({error:new Error(e.t0.msg||e.t0.message)});case 55:case"end":return e.stop()}},e,E,[[0,51]])}),function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),w.focusContent=function(){w.richEditor&&w.richEditor.focus()},s(w,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),u(i,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var t=this,e=this.props,n=e.question,r=e.nested,o=e.disableTagSelect,a=(e.tip,e.defaultCollapsed,e.autoFocus),i=this.state,c=i.titleError,u=i.warn,s=(i.title,i.content,i.commiting),l=i.repeatedQuestionId,f=i.error,p=Boolean(n&&!n.template),d=this.props.title;d||(d=p?"\u4fee\u6539\u95ee\u9898":"\u63d0\u95ee\u9898");var m=w.a.createElement("span",null,d),h=!!c||0<l,v=T.e,y=T.e.Body,b=T.e.Footer;r&&(b=y=v="div");var g=v===T.e?{containerClassName:"qa-quickask-dialog-container",caption:m,onClose:T.e.hide,disableEscape:!0,maskClosable:!1}:{};return w.a.createElement(v,j({style:{maxWidth:"100%"},name:"ask",className:"qa-quickask-dialog"},g),w.a.createElement(y,null,w.a.createElement("div",{className:E()("qa-quickask-form-item",{error:h})},w.a.createElement(I.a,{ref:function(e){return t.titleComponent=e},title:n&&n.title||"",autoFocus:a,onInputChange:this.updateTitle,onFocus:function(){return t.setState({collapsed:!1})},hasError:h}),u&&w.a.createElement("p",{className:"qa-quickask-validate qa-quickask-count-validate",style:{color:"gray"}},u),c&&w.a.createElement("p",{className:"qa-quickask-validate qa-quickask-count-validate"},c),!!l&&w.a.createElement("p",{className:"qa-quickask-validate qa-quickask-count-validate"},"\u6b64\u95ee\u9898\u5df2\u5b58\u5728\uff0c",w.a.createElement(S.a,{to:"/ask/"+l},"\u70b9\u6b64\u67e5\u770b"))),!o&&!p&&w.a.createElement("div",{className:"qa-quickask-form-item tag-item"},w.a.createElement(R.a,{ref:function(e){return t.askTagSelect=e},placeholder:"\u6dfb\u52a0\u6807\u7b7e\uff0c\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u5feb\u83b7\u5f97\u56de\u7b54",onSelectedTagIdsChange:this.updateTagIds,onTabPressed:function(e){e.shiftKey||t.focusContent()}})),!this.state.collapsed&&w.a.createElement("div",{className:"qa-quickask-form-item"},w.a.createElement("label",{className:"qa-quickask-form-title"},"\u95ee\u9898\u63cf\u8ff0\uff08\u53ef\u9009\uff09"),w.a.createElement("div",{className:"qa-quickask-form-cnt",onKeyDown:function(e){9===e.keyCode&&e.shiftKey&&setTimeout(function(){t.askTagSelect&&t.askTagSelect.getInstance().focusInputIfPossible()},0)}},w.a.createElement(P.a,{onRef:function(e){return t.richEditor=e},packed:n&&n.content,stickTop:-1,scrollFinder:function(){return document.querySelector(".qa-quickask-dialog-container")}})))),!this.state.collapsed&&w.a.createElement(b,{className:"qa-quickask-footer"},w.a.createElement(T.e.Button,{primary:!0,disabled:s,loading:s,onClick:this.commitQuestion},n&&!n.template?"\u4fdd\u5b58\u4fee\u6539":"\u63d0\u4ea4\u95ee\u9898"),f&&w.a.createElement("p",{className:"c-dialog-ft-validate"},f.msg||f.message)))}},{key:"componentDidMount",value:function(){var e=this.props.question;e&&this.setState({title:e.title})}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"focusTitle",value:function(){this.titleComponent&&this.titleComponent.getInstance().focus()}}],[{key:"show",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.question,n=e.onUpdate,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["question","onUpdate"]);T.e.show(w.a.createElement(i,j({question:t,onUpdate:n},r)))}},{key:"hide",value:function(){T.e.hide()}}]),i}(),n.propTypes={question:i.a.object,title:i.a.string,nested:i.a.bool,disableTagSelect:i.a.bool,onFinish:i.a.func,onUpdate:i.a.func},n.defaultProps={disableTagSelect:!1},r)},iimR:function(e,t,n){"use strict";t.a=function(){var e={preview:(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).preview};return r.call("FetchConfiguredModuleData",e)},t.b=function(e){var t={pageSize:e.pageSize};return r.call("FetchPickedTechNews",t)},t.c=function(e){var t={teamNames:e.teamNames};return r.call("FetchPickedTeamBlogs",t)},t.d=function(e){var t={articleIds:e.articleIds};return r.call("FetchPickedTeamArticles",t)},t.e=function(e){var t={documentIds:e.documentIds};return r.call("FetchPickedDevdocs",t)},t.f=function(e){var t={uids:e.uids};return r.call("FetchPickedDevdocContributors",t)};var r=new(n("cT2K").a)("developer/home")},il13:function(e,t,p){"use strict";t.a=function(e){var f=Object.entries(e),m={},h={},t=function(e,p){if(p.namespace&&(m[e]=v.getIn.apply(void 0,function(e){{if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}}(p.namespace.split("/")))),p.actions){var d=Object.entries(p.actions);h[e]=function(o){var t={},e=function(e,r){p.hasEffect(e)?t[e]=function(n){return new Promise(function(e,t){return o({type:r,payload:n,promise:{resolve:e,reject:t}})})}:t[e]=function(t){return new Promise(function(e){return e(o({type:r,payload:t}))})}},n=!0,r=!1,a=void 0;try{for(var i,c=d[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var u=i.value,s=y(u,2),l=s[0],f=s[1];e(l,f)}}catch(e){r=!0,a=e}finally{try{!n&&c.return&&c.return()}finally{if(r)throw a}}return t}}},n=!0,r=!1,o=void 0;try{for(var a,i=f[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value,u=y(c,2),s=u[0],l=u[1];t(s,l)}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return p.i(d.connect)(function(e){var t={},n=!0,r=!1,o=void 0;try{for(var a,i=f[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value,u=y(c,2),s=u[0],l=(u[1],m[s]);l&&(t[s]=l(e))}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return t},function(e){var t={},n=!0,r=!1,o=void 0;try{for(var a,i=f[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value,u=y(c,2),s=u[0],l=(u[1],h[s]);l&&(t[s+"Actions"]=l(e))}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return t})};var n=p(5),d=(p.n(n),p(3)),v=(p.n(d),p("xt0B")),y=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},imFM:function(e,t,n){"use strict";t.a=function(e){var t=e.resourceType,n=e.resourceId,r=e.reasonId,o=e.detail,a={resourceType:t,resourceId:n,reasonId:r,detail:o};return i.call("ReportCommon",a)},t.b=function(e){var t=e.resourceType,n=e.resourceId,r=e.reasonId,o=e.detail,a={resourceType:t,resourceId:n,reasonId:r,detail:o};return i.call("ReportContent",a)};var i=new(n("PNJI").Service)("report")},imvr:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),a=n("pwtL"),i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),i(t,[{key:"render",value:function(){return o.a.createElement(a.AskButton,{className:"c-btn c-nav-bm-btn-hole",hotrep:"community.header.bm_btns.ask"},"\u63d0\u95ee")}}]),t}()},isWq:function(e,t,i){"use strict";var n=i("Dd8w"),r=i.n(n),o=i(0),c=i.n(o),a=i("KSGD"),u=i.n(a),s=i(1),l=(i.n(s),i("DT0+")),f=i.n(l),p=i("rPPc"),d=i("SQfk"),m=i.n(d),h=i("dz0z"),v=i("i5+K"),y=i("6BNL"),b=i.n(y),g=i("gMOm"),w=i.n(g);function E(){}function O(){return""}function k(){return window.document}var _=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],C=!!s.createPortal,N="undefined"!=typeof navigator&&!!navigator.userAgent.match(/(Android|iPhone|iPad|iPod|iOS|UCWEB)/i),T=[];C||T.push(b()({autoMount:!1,isVisible:function(e){return e.state.popupVisible},getContainer:function(e){return e.getContainer()}}));var S=f()({displayName:"Trigger",propTypes:{children:u.a.any,action:u.a.oneOfType([u.a.string,u.a.arrayOf(u.a.string)]),showAction:u.a.any,hideAction:u.a.any,getPopupClassNameFromAlign:u.a.any,onPopupVisibleChange:u.a.func,afterPopupVisibleChange:u.a.func,popup:u.a.oneOfType([u.a.node,u.a.func]).isRequired,popupStyle:u.a.object,prefixCls:u.a.string,popupClassName:u.a.string,popupPlacement:u.a.string,builtinPlacements:u.a.object,popupTransitionName:u.a.oneOfType([u.a.string,u.a.object]),popupAnimation:u.a.any,mouseEnterDelay:u.a.number,mouseLeaveDelay:u.a.number,zIndex:u.a.number,focusDelay:u.a.number,blurDelay:u.a.number,getPopupContainer:u.a.func,getDocument:u.a.func,destroyPopupOnHide:u.a.bool,mask:u.a.bool,maskClosable:u.a.bool,onPopupAlign:u.a.func,popupAlign:u.a.object,popupVisible:u.a.bool,maskTransitionName:u.a.oneOfType([u.a.string,u.a.object]),maskAnimation:u.a.string},mixins:T,getDefaultProps:function(){return{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:O,getDocument:k,onPopupVisibleChange:E,afterPopupVisibleChange:E,onPopupAlign:E,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]}},getInitialState:function(){var e=this.props,t=void 0;return t="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,{popupVisible:this.prevPopupVisible=t}},componentWillMount:function(){var n=this;_.forEach(function(t){n["fire"+t]=function(e){n.fireEvents(t,e)}})},componentDidMount:function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},componentWillReceiveProps:function(e){var t=e.popupVisible;void 0!==t&&this.setState({popupVisible:t})},componentDidUpdate:function(e,t){var n=this.props,r=this.state;if(C||this.renderComponent(null,function(){t.popupVisible!==r.popupVisible&&n.afterPopupVisibleChange(r.popupVisible)}),this.prevPopupVisible=t.popupVisible,r.popupVisible){var o=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(o=n.getDocument(),this.clickOutsideHandler=m()(o,"mousedown",this.onDocumentClick)),!this.touchOutsideHandler&&N&&(o=o||n.getDocument(),this.touchOutsideHandler=m()(o,"click",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(o=o||n.getDocument(),this.contextMenuOutsideHandler1=m()(o,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=m()(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},componentWillUnmount:function(){this.clearDelayTimer(),this.clearOutsideHandler()},onMouseEnter:function(e){this.fireEvents("onMouseEnter",e),this.delaySetPopupVisible(!0,this.props.mouseEnterDelay)},onMouseLeave:function(e){this.fireEvents("onMouseLeave",e),this.delaySetPopupVisible(!1,this.props.mouseLeaveDelay)},onPopupMouseEnter:function(){this.clearDelayTimer()},onPopupMouseLeave:function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&this._component&&this._component.getPopupDomNode&&i.i(p.a)(this._component.getPopupDomNode(),e.relatedTarget)||this.delaySetPopupVisible(!1,this.props.mouseLeaveDelay)},onFocus:function(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.props.focusDelay))},onMouseDown:function(e){this.fireEvents("onMouseDown",e),this.preClickTime=Date.now()},onTouchStart:function(e){this.fireEvents("onTouchStart",e),this.preTouchTime=Date.now()},onBlur:function(e){this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.props.blurDelay)},onContextMenu:function(e){e.preventDefault(),this.fireEvents("onContextMenu",e),this.setPopupVisible(!0)},onContextMenuClose:function(){this.isContextMenuToShow()&&this.close()},onClick:function(e){if(this.fireEvents("onClick",e),this.focusTime){var t=void 0;if(this.preClickTime&&this.preTouchTime?t=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?t=this.preClickTime:this.preTouchTime&&(t=this.preTouchTime),Math.abs(t-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,e.preventDefault();var n=!this.state.popupVisible;(this.isClickToHide()&&!n||n&&this.isClickToShow())&&this.setPopupVisible(!this.state.popupVisible)},onDocumentClick:function(e){if(!this.props.mask||this.props.maskClosable){var t=e.target,n=i.i(s.findDOMNode)(this),r=this.getPopupDomNode();i.i(p.a)(n,t)||i.i(p.a)(r,t)||this.close()}},handlePortalUpdate:function(){this.prevPopupVisible!==this.state.popupVisible&&this.props.afterPopupVisibleChange(this.state.popupVisible)},getPopupDomNode:function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},getRootDomNode:function(){return i.i(s.findDOMNode)(this)},getPopupClassNameFromAlign:function(e){var t=[],n=this.props,r=n.popupPlacement,o=n.builtinPlacements,a=n.prefixCls;return r&&o&&t.push(i.i(v.a)(o,a,e)),n.getPopupClassNameFromAlign&&t.push(n.getPopupClassNameFromAlign(e)),t.join(" ")},getPopupAlign:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?i.i(v.b)(r,t,n):n},getComponent:function(){var e=this.props,t=this.state,n={};return this.isMouseEnterToShow()&&(n.onMouseEnter=this.onPopupMouseEnter),this.isMouseLeaveToHide()&&(n.onMouseLeave=this.onPopupMouseLeave),c.a.createElement(h.a,r()({prefixCls:e.prefixCls,destroyPopupOnHide:e.destroyPopupOnHide,visible:t.popupVisible,className:e.popupClassName,action:e.action,align:this.getPopupAlign(),onAlign:e.onPopupAlign,animation:e.popupAnimation,getClassNameFromAlign:this.getPopupClassNameFromAlign},n,{getRootDomNode:this.getRootDomNode,style:e.popupStyle,mask:e.mask,zIndex:e.zIndex,transitionName:e.popupTransitionName,maskAnimation:e.maskAnimation,maskTransitionName:e.maskTransitionName,ref:this.savePopup}),"function"==typeof e.popup?e.popup():e.popup)},getContainer:function(){var e=this.props,t=document.createElement("div");return t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="100%",(e.getPopupContainer?e.getPopupContainer(i.i(s.findDOMNode)(this)):e.getDocument().body).appendChild(t),t},setPopupVisible:function(e){this.clearDelayTimer(),this.state.popupVisible!==e&&("popupVisible"in this.props||this.setState({popupVisible:e}),this.props.onPopupVisibleChange(e))},delaySetPopupVisible:function(e,t){var n=this,r=1e3*t;this.clearDelayTimer(),r?this.delayTimer=setTimeout(function(){n.setPopupVisible(e),n.clearDelayTimer()},r):this.setPopupVisible(e)},clearDelayTimer:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire"+e]:t[e]||n[e]},isClickToShow:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},isContextMenuToShow:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")},isClickToHide:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},isMouseEnterToShow:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")},isMouseLeaveToHide:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")},isFocusToShow:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")},isBlurToHide:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")},forcePopupAlign:function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},fireEvents:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)},close:function(){this.setPopupVisible(!1)},savePopup:function(e){C&&(this._component=e)},render:function(){var e=this.state.popupVisible,t=this.props.children,n=c.a.Children.only(t),r={key:"trigger"};this.isContextMenuToShow()?r.onContextMenu=this.onContextMenu:r.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(r.onClick=this.onClick,r.onMouseDown=this.onMouseDown,r.onTouchStart=this.onTouchStart):(r.onClick=this.createTwoChains("onClick"),r.onMouseDown=this.createTwoChains("onMouseDown"),r.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?r.onMouseEnter=this.onMouseEnter:r.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?r.onMouseLeave=this.onMouseLeave:r.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(r.onFocus=this.onFocus,r.onBlur=this.onBlur):(r.onFocus=this.createTwoChains("onFocus"),r.onBlur=this.createTwoChains("onBlur"));var o=c.a.cloneElement(n,r);if(!C)return o;var a=void 0;return(e||this._component)&&(a=c.a.createElement(w.a,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[o,a]}});t.a=S},iyBe:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("zDml"),p=n("F69h"),d=n("Ydfj"),m=n("y9pi"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var y=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),v(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("div",h({className:l()("com-2-section",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);y.Header=f.a,y.Title=p.a,y.Extra=d.a,y.Body=m.a},jBnt:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),t.b=function(e){var t=e.userId,n=e.follow,r={peopleId:t,follow:n};return a.lazy("TogglePeopleFollow",r,{thresholdDuration:200})},t.c=function(e){var t=e.type,n=void 0===t?"mail":t,r=e.data;return a.call("SendValidateCode",{type:n,data:r})},t.d=function(e){var t=e.type,n=void 0===t?"mail":t,r=e.data,o=e.code;return a.call("BindNotify",{type:n,data:r,code:o})},t.e=function(e){var t=e.notifyType;return a.call("SetNotifyMethod",{notifyType:t})};var r,o,a=new(n("cT2K").a)("ask/people"),i=(r=regeneratorRuntime.mark(function e(t){var n,r,o=t.userId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={peopleIds:o},e.next=4,a.accumulate("CheckPeopleFollow",n);case 4:return r=e.sent,e.abrupt("return",r.includes(o));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}},e,this,[[0,8]])}),o=function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return o.apply(this,arguments)})},jIlB:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=n("5oT9"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.hover;return i.a.createElement(f.Link,{to:"/ask/"+t.id,className:l()("com-search-result-item",{hover:n})},i.a.createElement("i",{className:"com-search-result-icon ask"}),i.a.createElement("span",{className:"com-search-result-type"},"\u95ee\u7b54"),i.a.createElement(p.a,{html:t.title,className:"com-search-result-text"}))}}]),t}(),r.propTypes={item:u.a.shape({id:u.a.number.isRequired,title:u.a.string.isRequired}).isRequired,hover:u.a.bool.isRequired},o)},jgwl:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("lbHh"),o=(n.n(r),n("nfin")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i={get:function(e){return r.get(e)},set:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};r.set(e,t,this._mergeOptions(n))},remove:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};r.remove(e,this._mergeOptions(t))},_mergeOptions:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return a({domain:"."+o.c,path:"/"},e)}}},jjgi:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var r={SINK:1,UNSINK:2},o={SINKED:-1,UNSINKED:0}},jyMr:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r,o,a=n(0),f=n.n(a),i=n("KSGD"),c=n.n(i),p=n("pwtL"),d=n("5oT9"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.showFollowButton,r=e.noEscapeUserName,o=t.id,a=t.name,i=t.avatar,c=t.label,u=t.followerCount,s=t.articleCount,l=t.answerCount;return f.a.createElement("section",{className:"com-media com-user-media"},f.a.createElement(p.Link,{to:"/user/"+t.id,className:"com-media-object"},f.a.createElement("span",{className:"com-media-img",style:{backgroundImage:"url("+i+")"}})),f.a.createElement("div",{className:"com-media-body"},f.a.createElement("h3",{className:"com-media-title"},r&&f.a.createElement(d.a,{component:p.Link,html:a,to:"/user/"+o}),!r&&f.a.createElement(p.Link,{to:"/user/"+o},a),f.a.createElement(p.ProfessionVerifiedBadge,{user:t,large:!0})),f.a.createElement("p",{className:"com-media-desc"},c||"\u6682\u65e0\u4e2a\u4eba\u7b80\u4ecb"),f.a.createElement("div",{className:"com-datas"},f.a.createElement("span",{className:"com-data"},"\u7c89\u4e1d ",u),f.a.createElement("span",{className:"com-split dot"}),f.a.createElement("span",{className:"com-data"},"\u6587\u7ae0 ",s),f.a.createElement("span",{className:"com-split dot"}),f.a.createElement("span",{className:"com-data"},"\u56de\u7b54 ",l)),f.a.createElement("div",{className:"com-user-media-opts"},n&&f.a.createElement(p.FollowUserButton,{userId:o}))))}}]),t}(),r.propTyes={user:c.a.object.isRequired,showFollowButton:c.a.bool.isRequired,noEscapeUserName:c.a.bool.isRequired},r.defaultProps={showFollowButton:!1,noEscapeUserName:!1},o)},"k+QU":function(e,t,n){"use strict";var r=n("lPKT");n.d(t,"a",function(){return r.a})},k3xs:function(e,t,n){"use strict";t.a=function(e){var t=e.title;return o.a.createElement("header",{className:"com-weak-section-hd"},o.a.createElement("h3",{className:"com-weak-section-title"},t))};var r=n(0),o=n.n(r)},k52p:function(e,t,n){"use strict";var r=n("JFXi");n.d(t,"a",function(){return r.a})},kE9c:function(e,t,n){"use strict"},kEXF:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=n.n(r),a=n("rdLu"),i=n.n(a),c=n("pwtL"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),u(t,[{key:"render",value:function(){var e=this.props.article;if(!e||i.a.isEmpty(e))return null;var t=e.title.length<80?e.title:e.title.substring(0,80)+"...";return o.a.createElement(c.Link,{to:"/article/"+e.id,target:"_blank"},t)}}]),t}()},kEZw:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),o=(n.n(r),n("KSGD")),a=n.n(o),i=n("vn+0"),c=n("ypWF"),u=n("TxQ3"),s=n.i(c.a)({targetId:"columnId",handleCheck:i.checkColumnFollow,handleToggle:i.toggleColumnFollow,defaultProps:{followClassName:"c-btn btn-follow c-btn-hole",unfollowClassName:"c-btn c-btn-weak btn-follow",whenUndetermined:"hidden",buttonStyle:{},disabled:!1,followedText:"\u5df2\u8ba2\u9605",unfollowedText:"\u8ba2\u9605",followedHoverText:"\u53d6\u6d88\u8ba2\u9605",unfollowedHoverText:"\u8ba2\u9605",tinyLoading:!1}})(u.a);s.propTypes={columnId:a.a.number.isRequired,followClassName:a.a.string,unfollowClassName:a.a.string,whenUndetermined:a.a.string,buttonStyle:a.a.object,disabled:a.a.bool,followedText:a.a.string,unfollowedText:a.a.string,followedHoverText:a.a.string,unfollowedHoverText:a.a.string,tinyLoading:a.a.bool}},kF4f:function(e,t,s){"use strict";s.d(t,"a",function(){return h});var n,r,o=s(0),a=s.n(o),i=s("HW6M"),c=s.n(i),u=s("KSGD"),l=s.n(u),f=s("pwtL"),p=s("vn+0"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=(r=n=function(e){function u(){var e,t,i,n,c=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=i=m(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).state={loading:!1},i.handleClick=function(){var e="\u786e\u5b9a\u8981"+("pass"===i.props.action?"\u5ba1\u6838\u901a\u8fc7":"\u9a73\u56de")+"\u8be5\u6587\u7ae0?";f.Dialog.confirm({title:"\u63d0\u793a",content:e,onConfirm:function(){return i.handleAuditArticle()}})},i.handleAuditArticle=(n=regeneratorRuntime.mark(function e(){var t,n,r,o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=i.props,n=t.article,r=t.action,o=t.onSuccess,a=n.id,i.setState({loading:!0}),e.next=6,s.i(p.auditArticle)({articleId:a,action:"pass"===r?1:2});case 6:i.setState({loading:!1}),o(),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),i.setState({loading:!1}),f.MessageTip.error(e.t0.msg||e.t0.message||"\u5ba1\u6838\u6587\u7ae0\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5");case 14:case"end":return e.stop()}},e,c,[[0,10]])}),function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),m(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,o["Component"]),d(u,[{key:"render",value:function(){var e=this.props,t=(e.article,e.action),n=e.className;return a.a.createElement(f.Button,{className:c()("smaller",n,{"c-btn":"pass"===t,"c-btn-hole":"reject"===t}),style:{minWidth:"80px"},tinyLoading:!0,loading:this.state.loading,onClick:this.handleClick},"pass"===t?"\u5ba1\u6838\u901a\u8fc7":"\u5ba1\u6838\u9a73\u56de")}}]),u}(),n.propTypes={article:l.a.object.isRequired,action:l.a.oneOf(["pass","reject"]).isRequired,className:l.a.string,onSuccess:l.a.func},n.defaultProps={onSuccess:function(){}},r)},kM2E:function(e,t,n){var h=n("7KvD"),v=n("FeBl"),y=n("+ZMJ"),b=n("hJx8"),g="prototype",w=function(e,t,n){var r,o,a,i=e&w.F,c=e&w.G,u=e&w.S,s=e&w.P,l=e&w.B,f=e&w.W,p=c?v:v[t]||(v[t]={}),d=p[g],m=c?h:u?h[t]:(h[t]||{})[g];for(r in c&&(n=t),n)(o=!i&&m&&void 0!==m[r])&&r in p||(a=o?m[r]:n[r],p[r]=c&&"function"!=typeof m[r]?n[r]:l&&o?y(a,h):f&&m[r]==a?function(r){var e=function(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)};return e[g]=r[g],e}(a):s&&"function"==typeof a?y(Function.call,a):a,s&&((p.virtual||(p.virtual={}))[r]=a,e&w.R&&d&&!d[r]&&b(d,r,a)))};w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,e.exports=w},kbml:function(e,t,n){"use strict";n("TvrK");var r=n("Otc0");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b}),n.d(t,"c",function(){return r.c}),n.d(t,"d",function(){return r.d});n("eOzl"),n("gm1a"),n("peyt"),n("+moQ"),n("EQLI"),n("qzI/"),n("K8Ma"),n("iW2w");var o=n("tCQC");n.d(t,"e",function(){return o.a});n("kkt6"),n("2z2P"),n("sIoV")},kcTp:function(e,t,n){"use strict";n("X/Tb")},kiBT:function(e,t,n){e.exports={default:n("i/C/"),__esModule:!0}},kkt6:function(e,t,n){"use strict";var r=n("rdLu"),o=n.n(r),a={MAIN:{namespace:"main",route:""},ACTIVITIES:{namespace:"activities",route:"/activities"},ARTICLES:{namespace:"articles",route:"/articles"},QUESTIONS:{namespace:"questions",route:"/questions"},SALONS:{namespace:"salons",route:"/salons"},FOLLOWING:{namespace:"following",route:"/following"},FOLLOWING_USERS:{namespace:"followingUsers",route:"/following/users"},FOLLOWERS:{namespace:"followers",route:"/followers"},FOLLOWING_COLUMNS:{namespace:"followingColumns",route:"/following/columns"},FOLLOWING_TAGS:{namespace:"followingTags",route:"/following/tags"},FOLLOWING_QUESTIONS:{namespace:"followingQuestions",route:"/following/questions"},FOLLOWING_TEAMS:{namespace:"followingTeams",route:"/following/teams"},FAVOR_ANSWERS:{namespace:"favorAnswers",route:"/favor/answers"},FAVOR_ARTICLES:{namespace:"favorArticles",route:"/favor/articles"},LEVEL:{namespace:"level",route:"/level"},LEVEL_DETAIL:{namespace:"levelDetail",route:"/level/detail"},PROFILE:{namespace:"profile",route:"/profile"}};o.a.mapObject(a,o.a.property("namespace")),o.a.mapObject(a,o.a.property("route"))},l46l:function(e,t,a){"use strict";t.a=function(e,t){switch(t){case"word":case"ppt":return s(e);case"zip":case"pdf":return n=e,r=null,o=function(e,t){r&&(e?r.reject(e):r.resolve(t))},a.i(u.uploadDraftAttachment)(n,function(e,t){return o(null,{progress:Math.min(e/t,.999)})}).then(function(e){return o(null,{progress:1,url:e.url})}),{paged:!1,query:function(){return r={},new Promise(function(e,t){r.resolve=e,r.reject=t})}}}var n,r,o};var n,r,i=a("mdKn"),c=a("Mn5R"),u=a("xrIa"),s=(n=regeneratorRuntime.mark(function e(t){var n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(n){return function(e){var t=e.page;return a.i(i.a)(c.previewDoc,3)({target:n,page:t})}},e.next=3,a.i(c.convertDoc)(t);case 3:return r=e.sent,o=r.target,e.abrupt("return",{paged:!0,query:n(o)});case 6:case"end":return e.stop()}},e,this)}),r=function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return r.apply(this,arguments)})},l8Db:function(e,t,n){"use strict";var r=n("7qAH");n.d(t,"a",function(){return r.a})},lH7L:function(e,t,n){"use strict";t.a=function(e){var t=e.blocks||[],n=!0,r=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value,u=c.type,s=c.text;if(["header-one","header-two","header-three","header-four","header-five","header-six"].includes(u)&&s){var l=new RegExp(" ","g"),f=s.trim().replace(l,"-");c.data=p({},c.data,{text:encodeURI(f)})}}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return e};var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},lKVm:function(e,t,n){"use strict";n("DOvb");var r=n("Cwth");n.d(t,"b",function(){return r.a});var o=n("VSxT");n.d(t,"a",function(){return o.a});var a=n("lH7L");n.d(t,"c",function(){return a.a})},lOnJ:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},lPKT:function(e,t,u){"use strict";u.d(t,"a",function(){return P});var n,r,o,b=u(0),g=u.n(b),a=u("KSGD"),i=u.n(a),c=u("HW6M"),w=u.n(c),s=u("qFNz"),l=u("nfin"),p=u("MiDW"),d=u("TeJT"),m=u("GOkv"),E=u("2h0h"),O=u("2JRn"),k=u("ow6W"),_=u("iByR"),C=u("GwRG"),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var y=l.l.NONE,N=l.l.LOADING,T=l.l.LOADED,S=l.l.FAILED,P=u.i(s.a)((o=r=function(e){function a(){var e,t,f,c=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=f=v(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={initializedState:y,tagDataState:y,categoriedTags:{},tagMap:{},searchValue:"",selectedTagIds:[],showTagSelector:!1,activeCategory:null,searchedTagIds:[],focusedTagId:null},f.inputRef=g.a.createRef(),f.initialize=h(regeneratorRuntime.mark(function e(){var t,n,r,o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=f.props,n=t.initialTagIds,r=t.maxTagCount,e.prev=1,n.length){e.next=5;break}return f.setState({initializedState:T}),e.abrupt("return");case 5:return f.setState({initializedState:N}),e.next=8,f.fetchTagData();case 8:return e.next=10,u.i(d.a)(40);case 10:if(f.state.tagDataState===S)return f.setState({initializedState:S}),e.abrupt("return");e.next=13;break;case 13:o=f.state.tagMap,a=n.filter(function(e){return o[e]}).slice(0,r),f.setState({initializedState:T,selectedTagIds:a},function(){a.length!==n.length&&f.props.onSelectedTagIdsChange({tagIds:a})}),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(1),f.setState({initializedState:S});case 21:case"end":return e.stop()}},e,c,[[1,18]])})),f.handleClickOutside=function(){f.setState({searchValue:"",showTagSelector:!1})},f.retryFetchData=function(e){e.preventDefault(),f.fetchTagData(),f.focusInputIfPossible()},f.fetchTagData=h(regeneratorRuntime.mark(function e(){var t,a,i,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,f.setState({tagDataState:N}),t=p.b.map(function(e){return p.c[e].id}),f._tagDataFetcher=u.i(m.a)({categoryIds:t}),e.next=6,f._tagDataFetcher;case 6:a=e.sent,i=null,n=p.b.reduce(function(e,t){var n=a[p.c[t].id],r=e.categoriedTags,o=e.tagMap;return Array.isArray(n)&&0<n.length&&(i||(i=t),r[t]=n.map(function(e){return(o[e.id]=e).id})),e},{categoriedTags:{},tagMap:{}}),r=n.categoriedTags,o=n.tagMap,f.setState({tagDataState:T,categoriedTags:r,tagMap:o,activeCategory:i}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),f.setState({tagDataState:S});case 15:return e.prev=15,f._tagDataFetcher=null,e.finish(15);case 18:case"end":return e.stop()}},e,c,[[0,12,15,18]])})),f.handleTagRemove=function(e){var t=e.tag;f.removeTagById(t.id)},f.removeTagById=function(t){var e=f.state.selectedTagIds.filter(function(e){return e!==t});f.setState({selectedTagIds:e},function(){f.props.onSelectedTagIdsChange({tagIds:e}),f.focusInputIfPossible()})},f.focusInputIfPossible=function(){var e=f.inputRef.current;e&&e.focus()},f.blurInputIfPossible=function(){var e=f.inputRef.current;e&&e.blur()},f.handleInputChange=function(e){f.setState({searchValue:e.target.value})},f.handleInputFocus=function(){f.state.tagDataState===y&&f.fetchTagData(),f.setState({showTagSelector:!0})},f.handleInputKeydown=function(e){var t=f.state,n=t.tagMap,r=t.searchValue,o=t.selectedTagIds,a=t.searchedTagIds,i=t.focusedTagId,c=e.keyCode;8===c&&(!e.target.value&&0<o.length&&f.removeTagById(o[o.length-1]));if(9===c){var u=e.shiftKey;f.setState({searchValue:"",showTagSelector:!1},function(){var e=f.props.onTabPressed;"function"==typeof e&&setTimeout(function(){return e({shiftKey:u})},0)})}if(27===c&&(r?f.setState({searchValue:""}):f.setState({showTagSelector:!1},f.blurInputIfPossible)),13===c&&(r?i?f.handleSearchedTagClick({tag:n[i]}):f.setState({searchValue:""}):f.setState({showTagSelector:!1},f.blurInputIfPossible)),[38,40].includes(c)&&r&&i){e.preventDefault();var s=a.findIndex(function(e){return e===i}),l=a[(0+s+a.length+(38===c?-1:1))%a.length];f.setState({focusedTagId:l})}},f.handleTagCategoryClick=function(e){var t=e.category;f.setState({activeCategory:t},function(){f.focusInputIfPossible()})},f.handleCategoriedTagClick=function(e){var t=e.tag,n=f.props.maxTagCount,r=f.state.selectedTagIds,o=void 0;o=r.includes(t.id)?r.filter(function(e){return e!==t.id}):[].concat(r,t.id),f.setState({selectedTagIds:o,showTagSelector:o.length<n},function(){f.props.onSelectedTagIdsChange({tagIds:o}),f.focusInputIfPossible()})},f.handleSearchedTagClick=function(e){var t=e.tag,n=f.props.maxTagCount,r=f.state,o=r.selectedTagIds,a=r.searchedTagIds,i=[].concat(o,t.id),c={selectedTagIds:i,focusedTagId:null};(i.length>=n||a.length<=1)&&(c.searchValue=""),f.setState(c,function(){f.props.onSelectedTagIdsChange({tagIds:i}),f.focusInputIfPossible()})},v(f,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,b["Component"]),f(a,[{key:"render",value:function(){var e,t,n,r=this,o=this.props,a=o.maxTagCount,i=o.placeholder,c=this.state,u=c.initializedState,s=c.tagDataState,l=c.categoriedTags,f=c.tagMap,p=c.searchValue,d=c.selectedTagIds,m=c.showTagSelector,h=c.activeCategory,v=c.searchedTagIds,y=c.focusedTagId;return g.a.createElement("div",{className:"com-2-tagsinput"},u===N&&g.a.createElement(O.a,{medium:!0}),u===S&&g.a.createElement(O.c,{onRetry:this.initialize}),u===T&&(e=a-d.length,t=0<v.length,n=null,n=p?t?g.a.createElement("span",null,"\u8fd8\u53ef\u4ee5\u6dfb\u52a0",g.a.createElement("em",null,e),"\u4e2a\u6807\u7b7e"):g.a.createElement("span",null,"\u6ca1\u6709\u641c\u7d22\u5230\u548c\u201c",p,"\u201d\u76f8\u5173\u7684\u6807\u7b7e"):g.a.createElement("span",null,"\u8fd8\u53ef\u4ee5\u6dfb\u52a0",g.a.createElement("em",null,e),"\u4e2a\u6807\u7b7e"),g.a.createElement("div",{className:"com-2-tagsinput-bar"},g.a.createElement("div",{className:"com-2-tag-cont"},g.a.createElement(k.a,{tags:d.map(function(e){return f[e]}),onTagRemove:r.handleTagRemove}),g.a.createElement("input",{ref:r.inputRef,className:"com-2-tag-input",style:{width:0<e?null:0},maxLength:20,readOnly:!e,value:p,onChange:r.handleInputChange,onFocus:r.handleInputFocus,onKeyDown:r.handleInputKeydown,onKeyUp:r.handleInputKeyup}),g.a.createElement("label",{className:"com-2-text",style:{cursor:0<e?"text":"default"},onClick:r.focusInputIfPossible},Boolean(0<d.length||p)?"":i)),g.a.createElement("div",{className:w()("com-2-tagsinput-dropdown",{show:m&&0<e,"is-loading":s===N,"is-err":s===S})},s===N&&g.a.createElement("div",{className:"com-2-tagsinput-dropdown-loading"},g.a.createElement("i",{className:"icon-loading"}),g.a.createElement("span",null,"\u6b63\u5728\u52a0\u8f7d\u6807\u7b7e\u6570\u636e\uff0c\u8bf7\u7a0d\u7b49...")),s===S&&g.a.createElement("div",{className:"com-2-tagsinput-dropdown-tip"},g.a.createElement("span",null,"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u70b9\u51fb",g.a.createElement(E.a,{onClick:r.retryFetchData},"\u91cd\u8bd5"))),s===T&&g.a.createElement(b.Fragment,null,g.a.createElement("div",{className:"com-2-tagsinput-dropdown-tit"},n),!p&&h&&g.a.createElement(_.a,{categoriedTags:l,tagMap:f,activeCategory:h,selectedTagIds:d,canSelectMoreTag:0<e,onCategoryClick:r.handleTagCategoryClick,onTagClick:r.handleCategoriedTagClick}),p&&t&&g.a.createElement(C.a,{tags:v.map(function(e){return f[e]}),focusedTagId:y,onTagClick:r.handleSearchedTagClick}))))))}},{key:"componentDidMount",value:function(){this.initialize()}},{key:"componentWillUnmount",value:function(){this._tagDataFetcher&&this._tagDataFetcher.cancel()}},{key:"componentDidUpdate",value:function(e,t){var n=this.state,r=n.tagDataState,o=n.searchValue,a=n.selectedTagIds;if(r!==t.tagDataState||o!==t.searchValue||a!==t.selectedTagIds){var i=this.searchedTagIds,c=i[0]||null;this.setState({searchedTagIds:i,focusedTagId:c})}}},{key:"searchedTagIds",get:function(){var e=this.state,r=e.tagMap,t=e.searchValue,o=e.selectedTagIds,a=[];if(t){var i=String(t).trim().toLowerCase();Object.keys(r).map(function(e){var t=r[e],n=t.id;t.name.toLowerCase().includes(i)&&!o.includes(n)&&a.push(n)})}return a}}]),a}(),r.propTypes={onSelectedTagIdsChange:i.a.func.isRequired,onTabPressed:i.a.func,initialTagIds:i.a.arrayOf(i.a.number),maxTagCount:i.a.number,placeholder:i.a.string},r.defaultProps={initialTagIds:[],maxTagCount:5},n=o))||n},lQKY:function(e,t,o){"use strict";o.d(t,"a",function(){return m});var n,r,a=o(0),i=o.n(a),c=o("HW6M"),u=o.n(c),s=o("KSGD"),l=o.n(s),f=o("pwtL"),p=o("xt0B"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.tag,n=e.showFollowButton,r=e.hotrep;return i.a.createElement("div",{className:u()("com-3-tag-panel",{"has-btns":n})},i.a.createElement(f.Link,{to:"/tag/"+t.id,className:"com-3-tag-panel-link",hotrep:r}),i.a.createElement("div",{className:"com-3-tag-panel-inner"},i.a.createElement("h3",{className:"com-3-tag-panel-title"},(t.icon||t.defaultIcon)&&i.a.createElement("span",{className:"com-3-tag-panel-img",style:{backgroundImage:"url("+(t.icon||t.defaultIcon)+")"}}),t.name),t.desc&&i.a.createElement("p",{className:"com-3-tag-panel-desc"},t.desc),i.a.createElement("div",{className:"com-3-tag-panel-infos"},i.a.createElement("div",{className:"com-datas"},i.a.createElement("span",{className:"com-data"},o.i(p.abbrNum)(t.articleCount)+" \u6587\u7ae0"),i.a.createElement("span",{className:"com-data"},o.i(p.abbrNum)(t.questionCount)+" \u95ee\u9898"),i.a.createElement("span",{className:"com-data"},o.i(p.abbrNum)(t.followCount)+" \u5173\u6ce8"))),n&&i.a.createElement("div",{className:"com-3-tag-panel-btns"},i.a.createElement(f.FollowTagButton,{tagId:t.id,whenUndetermined:"loading"}))))}}]),t}(),n.propTypes={tag:l.a.object.isRequired,showFollowButton:l.a.bool,hotrep:l.a.string},n.defaultProps={showFollowButton:!1},r)},lSD1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("cFFW"),a=(r=o)&&r.__esModule?r:{default:r};var i,c="clearTimeout",u=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-l)),r=setTimeout(e,n);return l=t,r},s=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&["","webkit","moz","o","ms"].some(function(e){var t=s(e,"request");if(t in window)return c=s(e,"cancel"),u=function(e){return window[t](e)}});var l=(new Date).getTime();(i=function(e){return u(e)}).cancel=function(e){window[c]&&"function"==typeof window[c]&&window[c](e)},t.default=i,e.exports=t.default},lV5i:function(e,t,n){"use strict";t.a=function(){return n.i(r.connect)(o.selectRoute,{})};var r=n(3),o=(n.n(r),n("xt0B"))},lb7m:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={10:"\u5185\u5bb9\u53ef\u80fd\u8fdd\u53cd\u56fd\u5bb6\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4",11:"\u5185\u5bb9\u5305\u542b\u8272\u60c5\u3001\u66b4\u529b\u3001\u8840\u8165\u3001\u653f\u6cbb\u654f\u611f\u8bcd",12:"\u5185\u5bb9\u5305\u542b\u8c29\u9a82\u3001\u4fae\u8fb1\u7b49\u8bcd\u6c47",13:"\u5185\u5bb9\u6076\u610f\u6284\u88ad\uff0c\u4fb5\u72af\u5176\u4ed6\u4e2a\u4eba\u6216\u4f01\u4e1a\u6743\u76ca",14:"\u5783\u573e\u5185\u5bb9\u6216\u5e7f\u544a\u4fe1\u606f"}},lbHh:function(r,o,a){var i,c;!function(e){if(void 0===(c="function"==typeof(i=e)?i.call(o,a,o,r):i)||(r.exports=c),!0,r.exports=e(),!!0){var t=window.Cookies,n=window.Cookies=e();n.noConflict=function(){return window.Cookies=t,n}}}(function(){function h(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}return function e(d){function m(e,t,n){var r;if("undefined"!=typeof document){if(1<arguments.length){if("number"==typeof(n=h({path:"/"},m.defaults,n)).expires){var o=new Date;o.setMilliseconds(o.getMilliseconds()+864e5*n.expires),n.expires=o}n.expires=n.expires?n.expires.toUTCString():"";try{r=JSON.stringify(t),/^[\{\[]/.test(r)&&(t=r)}catch(e){}t=d.write?d.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var a="";for(var i in n)n[i]&&(a+="; "+i,!0!==n[i]&&(a+="="+n[i]));return document.cookie=e+"="+t+a}e||(r={});for(var c=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,s=0;s<c.length;s++){var l=c[s].split("="),f=l.slice(1).join("=");this.json||'"'!==f.charAt(0)||(f=f.slice(1,-1));try{var p=l[0].replace(u,decodeURIComponent);if(f=d.read?d.read(f,p):d(f,p)||f.replace(u,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(e){}if(e===p){r=f;break}e||(r[p]=f)}catch(e){}}return r}}return(m.set=m).get=function(e){return m.call(m,e)},m.getJSON=function(){return m.apply({json:!0},[].slice.call(arguments))},m.defaults={},m.remove=function(e,t){m(e,"",h(t,{expires:-1}))},m.withConverter=e,m}(function(){})})},lcLU:function(e,t,n){"use strict";var r=n("Fb6T");n.d(t,"a",function(){return r.a})},leB1:function(e,t,n){"use strict";var r=n("Dd8w"),g=n.n(r),o=n("+6Bu"),w=n.n(o),a=n("Zrlr"),u=n.n(a),i=n("zwoO"),s=n.n(i),c=n("Pf15"),l=n.n(c),f=n(0),E=n.n(f),p=n("KSGD"),d=n.n(p),O=n("isWq"),k=n("4jUm"),m=function(i){function c(){var e,a,t;u()(this,c);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=a=s()(this,i.call.apply(i,[this].concat(r)))).getPopupElement=function(){var e=a.props,t=e.arrowContent,n=e.overlay,r=e.prefixCls,o=e.id;return[E.a.createElement("div",{className:r+"-arrow",key:"arrow"},t),E.a.createElement("div",{className:r+"-inner",key:"content",id:o},"function"==typeof n?n():n)]},a.saveTrigger=function(e){a.trigger=e},t=e,s()(a,t)}return l()(c,i),c.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},c.prototype.render=function(){var e=this.props,t=e.overlayClassName,n=e.trigger,r=e.mouseEnterDelay,o=e.mouseLeaveDelay,a=e.overlayStyle,i=e.prefixCls,c=e.children,u=e.onVisibleChange,s=e.afterVisibleChange,l=e.transitionName,f=e.animation,p=e.placement,d=e.align,m=e.destroyTooltipOnHide,h=e.defaultVisible,v=e.getTooltipContainer,y=w()(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),b=g()({},y);return"visible"in this.props&&(b.popupVisible=this.props.visible),E.a.createElement(O.a,g()({popupClassName:t,ref:this.saveTrigger,prefixCls:i,popup:this.getPopupElement,action:n,builtinPlacements:k.a,popupPlacement:p,popupAlign:d,getPopupContainer:v,onPopupVisibleChange:u,afterPopupVisibleChange:s,popupTransitionName:l,popupAnimation:f,defaultPopupVisible:h,destroyPopupOnHide:m,mouseLeaveDelay:o,popupStyle:a,mouseEnterDelay:r},b),c)},c}(f.Component);m.propTypes={trigger:d.a.any,children:d.a.any,defaultVisible:d.a.bool,visible:d.a.bool,placement:d.a.string,transitionName:d.a.oneOfType([d.a.string,d.a.object]),animation:d.a.any,onVisibleChange:d.a.func,afterVisibleChange:d.a.func,overlay:d.a.oneOfType([d.a.node,d.a.func]).isRequired,overlayStyle:d.a.object,overlayClassName:d.a.string,prefixCls:d.a.string,mouseEnterDelay:d.a.number,mouseLeaveDelay:d.a.number,getTooltipContainer:d.a.func,destroyTooltipOnHide:d.a.bool,align:d.a.object,arrowContent:d.a.any,id:d.a.string},m.defaultProps={prefixCls:"rc-tooltip",mouseEnterDelay:0,destroyTooltipOnHide:!1,mouseLeaveDelay:.1,align:{},placement:"right",trigger:["hover"],arrowContent:null},t.a=m},lkNp:function(e,t,n){"use strict";t.a=function(e){var t=[];return o.a.Children.forEach(e,function(e){t.push(e)}),t},t.b=a,t.d=function(e,t,n){var r=null;e&&e.forEach(function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for <rc-animate> children");r=e}});return r},t.e=function(e,r,o){var a=e.length===r.length;a&&e.forEach(function(e,t){var n=r[t];e&&n&&(e&&!n||!e&&n?a=!1:e.key!==n.key?a=!1:o&&e.props[o]!==n.props[o]&&(a=!1))});return a},t.c=function(e,t){var n=[],r={},o=[];return e.forEach(function(e){e&&a(t,e.key)?o.length&&(r[e.key]=o,o=[]):o.push(e)}),t.forEach(function(e){e&&r.hasOwnProperty(e.key)&&(n=n.concat(r[e.key])),n.push(e)}),n=n.concat(o)};var r=n(0),o=n.n(r);function a(e,t){var n=null;return e&&e.forEach(function(e){n||e&&e.key===t&&(n=e)}),n}},lktj:function(e,t,n){var r=n("Ibhu"),o=n("xnc9");e.exports=Object.keys||function(e){return r(e,o)}},lma3:function(e,t,n){"use strict";var r=n("9S64");n.d(t,"a",function(){return r.a})},lpOM:function(e,t,n){"use strict";var r,o,a,i;function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"d",function(){return u}),n.d(t,"c",function(){return h}),n.d(t,"a",function(){return v}),n.d(t,"b",function(){return y});var u={CREATED:0,SIGN_UP:10,SIGN_UP_END:11,LIVING:20,LIVE_END:21,ACTIVITY_END:30},s=u.CREATED,l=u.SIGN_UP,f=u.SIGN_UP_END,p=u.LIVING,d=u.LIVE_END,m=u.ACTIVITY_END,h=(c(r={},l,"\u62a5\u540d\u53c2\u52a0"),c(r,f,"\u67e5\u770b\u8be6\u60c5"),c(r,p,"\u89c2\u770b\u76f4\u64ad"),c(r,d,"\u67e5\u770b\u8be6\u60c5"),c(r,m,"\u524d\u5f80\u56de\u987e"),c(o={},l,"apply"),c(o,f,"end"),c(o,p,"starting"),c(o,d,"end"),c(o,m,"end"),o),v=(c(a={},s,{id:s,name:"\u672a\u4e0a\u7ebf"}),c(a,l,{id:l,name:"\u62a5\u540d\u4e2d"}),c(a,f,{id:f,name:"\u62a5\u540d\u622a\u6b62"}),c(a,p,{id:p,name:"\u76f4\u64ad\u4e2d"}),c(a,d,{id:d,name:"\u76f4\u64ad\u7ed3\u675f"}),c(a,m,{id:m,name:"\u56de\u987e\u4e2d"}),a),y=(c(i={},s,{id:s,name:"\u672a\u4e0a\u7ebf"}),c(i,l,{id:l,name:"\u9884\u7ea6\u76f4\u64ad\u4e2d"}),c(i,f,{id:f,name:"\u9884\u7ea6\u76f4\u64ad\u622a\u6b62"}),c(i,p,{id:p,name:"\u76f4\u64ad\u4e2d"}),c(i,d,{id:d,name:"\u76f4\u64ad\u7ed3\u675f"}),c(i,m,{id:m,name:"\u56de\u987e\u4e2d"}),i)},lvtL:function(e,C){var N;!function(){if(isClientContext){b.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},g.prototype={addData:function(e){var t=new b(e);this.dataList.push(t),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),7<=this.typeNumber&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=g.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=y.getLostPoint(this);(0==n||r<e)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var o=0;o<this.modules.length;o++)for(var a=1*o,i=0;i<this.modules[o].length;i++){var c=1*i;this.modules[o][i]&&(r.beginFill(0,100),r.moveTo(c,a),r.lineTo(c+1,a),r.lineTo(c+1,a+1),r.lineTo(c,a+1),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=y.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],o=e[n];if(null==this.modules[r][o])for(var a=-2;a<=2;a++)for(var i=-2;i<=2;i++)this.modules[r+a][o+i]=-2==a||2==a||-2==i||2==i||0==a&&0==i}},setupTypeNumber:function(e){for(var t=y.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=y.getBCHTypeInfo(n),o=0;o<15;o++){var a=!e&&1==(r>>o&1);o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a}for(o=0;o<15;o++){a=!e&&1==(r>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,o=7,a=0,i=this.moduleCount-1;0<i;i-=2)for(6==i&&i--;;){for(var c=0;c<2;c++)if(null==this.modules[r][i-c]){var u=!1;a<e.length&&(u=1==(e[a]>>>o&1)),y.getMask(t,r,i-c)&&(u=!u),this.modules[r][i-c]=u,-1==--o&&(a++,o=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},g.PAD0=236,g.PAD1=17,g.createData=function(e,t,n){for(var r=E.getRSBlocks(e,t),o=new O,a=0;a<n.length;a++){var i=n[a];o.put(i.mode,4),o.put(i.getLength(),y.getLengthInBits(i.mode,e)),i.write(o)}var c=0;for(a=0;a<r.length;a++)c+=r[a].dataCount;if(o.getLengthInBits()>8*c)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*c+")");for(o.getLengthInBits()+4<=8*c&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*c||(o.put(g.PAD0,8),o.getLengthInBits()>=8*c));)o.put(g.PAD1,8);return g.createBytes(o,r)},g.createBytes=function(e,t){for(var n=0,r=0,o=0,a=new Array(t.length),i=new Array(t.length),c=0;c<t.length;c++){var u=t[c].dataCount,s=t[c].totalCount-u;r=Math.max(r,u),o=Math.max(o,s),a[c]=new Array(u);for(var l=0;l<a[c].length;l++)a[c][l]=255&e.buffer[l+n];n+=u;var f=y.getErrorCorrectPolynomial(s),p=new w(a[c],f.getLength()-1).mod(f);i[c]=new Array(f.getLength()-1);for(l=0;l<i[c].length;l++){var d=l+p.getLength()-i[c].length;i[c][l]=0<=d?p.get(d):0}}var m=0;for(l=0;l<t.length;l++)m+=t[l].totalCount;var h=new Array(m),v=0;for(l=0;l<r;l++)for(c=0;c<t.length;c++)l<a[c].length&&(h[v++]=a[c][l]);for(l=0;l<o;l++)for(c=0;c<t.length;c++)l<i[c].length&&(h[v++]=i[c][l]);return h};for(var a={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},s={L:1,M:0,Q:3,H:2},r=0,o=1,i=2,c=3,u=4,l=5,f=6,p=7,y={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;0<=y.getBCHDigit(t)-y.getBCHDigit(y.G15);)t^=y.G15<<y.getBCHDigit(t)-y.getBCHDigit(y.G15);return(e<<10|t)^y.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;0<=y.getBCHDigit(t)-y.getBCHDigit(y.G18);)t^=y.G18<<y.getBCHDigit(t)-y.getBCHDigit(y.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return y.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case r:return(t+n)%2==0;case o:return t%2==0;case i:return n%3==0;case c:return(t+n)%3==0;case u:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case l:return t*n%2+t*n%3==0;case f:return(t*n%2+t*n%3)%2==0;case p:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new w([1],0),n=0;n<e;n++)t=t.multiply(new w([1,d.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case a.MODE_NUMBER:return 10;case a.MODE_ALPHA_NUM:return 9;case a.MODE_8BIT_BYTE:case a.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case a.MODE_NUMBER:return 12;case a.MODE_ALPHA_NUM:return 11;case a.MODE_8BIT_BYTE:return 16;case a.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case a.MODE_NUMBER:return 14;case a.MODE_ALPHA_NUM:return 13;case a.MODE_8BIT_BYTE:return 16;case a.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var o=0;o<t;o++){for(var a=0,i=e.isDark(r,o),c=-1;c<=1;c++)if(!(r+c<0||t<=r+c))for(var u=-1;u<=1;u++)o+u<0||t<=o+u||0==c&&0==u||i==e.isDark(r+c,o+u)&&a++;5<a&&(n+=3+a-5)}for(r=0;r<t-1;r++)for(o=0;o<t-1;o++){var s=0;e.isDark(r,o)&&s++,e.isDark(r+1,o)&&s++,e.isDark(r,o+1)&&s++,e.isDark(r+1,o+1)&&s++,0!=s&&4!=s||(n+=3)}for(r=0;r<t;r++)for(o=0;o<t-6;o++)e.isDark(r,o)&&!e.isDark(r,o+1)&&e.isDark(r,o+2)&&e.isDark(r,o+3)&&e.isDark(r,o+4)&&!e.isDark(r,o+5)&&e.isDark(r,o+6)&&(n+=40);for(o=0;o<t;o++)for(r=0;r<t-6;r++)e.isDark(r,o)&&!e.isDark(r+1,o)&&e.isDark(r+2,o)&&e.isDark(r+3,o)&&e.isDark(r+4,o)&&!e.isDark(r+5,o)&&e.isDark(r+6,o)&&(n+=40);var l=0;for(o=0;o<t;o++)for(r=0;r<t;r++)e.isDark(r,o)&&l++;return n+=10*(Math.abs(100*l/t/t-50)/5)}},d={glog:function(e){if(e<1)throw new Error("glog("+e+")");return d.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;256<=e;)e-=255;return d.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},e=0;e<8;e++)d.EXP_TABLE[e]=1<<e;for(e=8;e<256;e++)d.EXP_TABLE[e]=d.EXP_TABLE[e-4]^d.EXP_TABLE[e-5]^d.EXP_TABLE[e-6]^d.EXP_TABLE[e-8];for(e=0;e<255;e++)d.LOG_TABLE[d.EXP_TABLE[e]]=e;w.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=d.gexp(d.glog(this.get(n))+d.glog(e.get(r)));return new w(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=d.glog(this.get(0))-d.glog(e.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=d.gexp(d.glog(e.get(r))+t);return new w(n,0).mod(e)}},E.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],E.getRSBlocks=function(e,t){var n=E.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=[],a=0;a<r;a++)for(var i=n[3*a+0],c=n[3*a+1],u=n[3*a+2],s=0;s<i;s++)o.push(new E(c,u));return o},E.getRsBlockTable=function(e,t){switch(t){case s.L:return E.RS_BLOCK_TABLE[4*(e-1)+0];case s.M:return E.RS_BLOCK_TABLE[4*(e-1)+1];case s.Q:return E.RS_BLOCK_TABLE[4*(e-1)+2];case s.H:return E.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},O.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var t,n,m=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],h=((t=function(e,t){this._el=e,this._htOption=t}).prototype.draw=function(e){var t=this._htOption,n=this._el,r=e.getModuleCount();function o(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}Math.floor(t.width/r),Math.floor(t.height/r),this.clear();var a=o("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:t.colorLight});a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(a),a.appendChild(o("rect",{fill:t.colorLight,width:"100%",height:"100%"})),a.appendChild(o("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var i=0;i<r;i++)for(var c=0;c<r;c++)if(e.isDark(i,c)){var u=o("use",{x:String(c),y:String(i)});u.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),a.appendChild(u)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t),v="svg"===document.documentElement.tagName.toLowerCase()?h:"undefined"==typeof CanvasRenderingContext2D?((n=function(e,t){this._el=e,this._htOption=t}).prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),o=Math.floor(t.width/r),a=Math.floor(t.height/r),i=['<table style="border:0;border-collapse:collapse;">'],c=0;c<r;c++){i.push("<tr>");for(var u=0;u<r;u++)i.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+a+"px;background-color:"+(e.isDark(c,u)?t.colorDark:t.colorLight)+';"></td>');i.push("</tr>")}i.push("</table>"),n.innerHTML=i.join("");var s=n.childNodes[0],l=(t.width-s.offsetWidth)/2,f=(t.height-s.offsetHeight)/2;0<l&&0<f&&(s.style.margin=f+"px "+l+"px")},n.prototype.clear=function(){this._el.innerHTML=""},n):function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var l=1/window.devicePixelRatio,f=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,t,n,r,o,a,i,c,u){if("nodeName"in e&&/img/i.test(e.nodeName))for(var s=arguments.length-1;1<=s;s--)arguments[s]=arguments[s]*l;else void 0===c&&(t*=l,n*=l,r*=l,o*=l);f.apply(this,arguments)}}var t=function(e,t){this._bIsPainted=!1,this._android=k(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return t.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,o=e.getModuleCount(),a=r.width/o,i=r.height/o,c=Math.round(a),u=Math.round(i);t.style.display="none",this.clear();for(var s=0;s<o;s++)for(var l=0;l<o;l++){var f=e.isDark(s,l),p=l*a,d=s*i;n.strokeStyle=f?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=f?r.colorDark:r.colorLight,n.fillRect(p,d,a,i),n.strokeRect(Math.floor(p)+.5,Math.floor(d)+.5,c,u),n.strokeRect(Math.ceil(p)-.5,Math.ceil(d)-.5,c,u)}this._bIsPainted=!0},t.prototype.makeImage=function(){this._bIsPainted&&function(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),o=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)};return r.onabort=o,r.onerror=o,r.onload=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)},void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}.call(this,e)},t.prototype.isPainted=function(){return this._bIsPainted},t.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},t.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},t}();(N=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:s.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(v=h),this._android=k(),this._el=e,this._oQRCode=null,this._oDrawing=new v(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(e){this._oQRCode=new g(_(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},N.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()},N.prototype.clear=function(){this._oDrawing.clear()},N.CorrectLevel=s,C.QRCode=N}else C.QRCode=function(){};function b(e){this.mode=a.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t<n;t++){var r=[],o=this.data.charCodeAt(t);65536<o?(r[0]=240|(1835008&o)>>>18,r[1]=128|(258048&o)>>>12,r[2]=128|(4032&o)>>>6,r[3]=128|63&o):2048<o?(r[0]=224|(61440&o)>>>12,r[1]=128|(4032&o)>>>6,r[2]=128|63&o):128<o?(r[0]=192|(1984&o)>>>6,r[1]=128|63&o):r[0]=o,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function g(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function w(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function E(e,t){this.totalCount=e,this.dataCount=t}function O(){this.buffer=[],this.length=0}function k(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=8;var n=t.toString().match(/android ([0-9]+(\.[0-9]+)?)/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}function _(e,t){for(var n,r,o=1,a=(n=e,(r=encodeURI(n).toString().replace(/\%[0-9a-fA-F]{2}/g,"a")).length+(r.length!=n?3:0)),i=0,c=m.length;i<=c;i++){var u=0;switch(t){case s.L:u=m[i][0];break;case s.M:u=m[i][1];break;case s.Q:u=m[i][2];break;case s.H:u=m[i][3]}if(a<=u)break;o++}if(m.length<o)throw new Error("Too long data");return o}}()},m0AM:function(e,t,n){"use strict";t.a=function e(t){if(!t||"object"!==(void 0===t?"undefined":r(t))||"prototype"in t)throw new TypeError("["+e.name+"] Can only serialize a plain object");var n=encodeURIComponent;return Object.keys(t).map(function(e){return n(e)+"="+n(t[e])}).join("&")};var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}},m6F6:function(e,t,c){"use strict";c.d(t,"a",function(){return i});var n,r=c(0),u=c.n(r),o=c("qFNz"),s=c("UVf0"),a=(c.n(s),c("xt0B")),l=c("PNJI"),f=c("pwtL"),p=c("LuWy"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function h(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=c.i(a.connectSession)()(n=c.i(o.a)(n=function(e){function i(){var e,t,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=a=v(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(r)))).state={showDropdown:!1,loading:!1,list:[],unreadNumber:0},a.dropdownTimer=null,a.handleMouseEnter=function(e){e.preventDefault(),clearTimeout(a.dropdownTimer)},a.handleMouseLeave=function(e){e.preventDefault(),a.dropdownTimer&&(clearTimeout(a.dropdownTimer),a.dropdownTimer=null),a.dropdownTimer=setTimeout(function(){a.setState({showDropdown:!1})},500)},a.handleClick=function(e){e.preventDefault(),a.setState(function(e){return{showDropdown:!e.showDropdown,loading:!e.showDropdown}},function(){a.state.showDropdown&&a.fetchList()})},a.onMarkNotifierAsRead=function(e){var t=e.msgId,n=void 0===t?-1:t,r=(e.isAll,a.state.list),o=r.findIndex(function(e){return e.msgId===n});r[o].isRead=1,a.setState({list:r}),a.updateUnreadNumber(),c.i(p.b)({msgId:n})},v(a,t)}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r["Component"]),m(i,[{key:"render",value:function(){var n=this,e=this.props.session,t=this.state,r=t.showDropdown,o=t.loading,a=t.list,i=t.unreadNumber;return e.isLogined?u.a.createElement("div",{className:"c-nav-dropdown-btn nav-dropdown-msg",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},u.a.createElement(f.Link,{className:"c-nav-dropdown-btn-inner",onClick:this.handleClick,"aria-expanded":"false","aria-haspopup":"true",hotrep:"community.header.msg_btn"},u.a.createElement("span",{className:"nav-dropdown-btn-txt"},u.a.createElement("i",{className:"c-nav-icon-msg"}),u.a.createElement(s.CSSTransitionGroup,d({component:f.FirstChild},l.transition.scale()),0<i&&u.a.createElement("span",{className:"badge"},i)))),u.a.createElement(s.CSSTransitionGroup,d({component:f.FirstChild},l.transition.slide()),r&&u.a.createElement("section",{className:"com-msg-popup"},u.a.createElement("div",{className:"com-msg-popup-inner"},u.a.createElement("div",{className:"com-msg-popup-bd"},o&&u.a.createElement(f.LoadingBar,{small:!0}),Boolean(!o&&0<a.length)&&u.a.createElement("ul",{className:"com-msg-popup-links"},a.map(function(e,t){return u.a.createElement(f.NotifierListItem,{key:t,data:e,className:"com-msg-popup-item",onMarkNotifierRead:n.onMarkNotifierAsRead})})),Boolean(!o&&!a.length)&&u.a.createElement(f.Empty,{content:"\u6682\u65e0\u6d88\u606f"})),u.a.createElement("footer",{className:"com-msg-popup-ft"},u.a.createElement(f.Link,{to:"/inbox/notification",className:"link-more"},"\u5168\u90e8\u6d88\u606f")))))):null}},{key:"componentDidMount",value:function(){var e=this;this.props.session.isLogined&&(this.fetchUnreadNumber(),setInterval(function(){e.fetchUnreadNumber()},12e4))}},{key:"handleClickOutside",value:function(){this.setState({showDropdown:!1,loading:!1})}},{key:"fetchList",value:(n=h(regeneratorRuntime.mark(function e(){var t,n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={pageNumber:1,pageSize:5},e.next=4,c.i(p.c)(t);case 4:n=e.sent,r=n.list,this.setState({list:r,loading:!1}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),this.setState({list:[],loading:!1});case 12:case"end":return e.stop()}},e,this,[[0,9]])})),function(){return n.apply(this,arguments)})},{key:"fetchUnreadNumber",value:(t=h(regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.i(p.d)();case 3:t=e.sent,n=t.total,this.setState({unreadNumber:n}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}},e,this,[[0,8]])})),function(){return t.apply(this,arguments)})},{key:"updateUnreadNumber",value:function(){var e=this.state.unreadNumber;0<(e-=1)&&this.setState({unreadNumber:e})}}]),i}())||n)||n},mClu:function(e,t,n){var r=n("kM2E");r(r.S+r.F*!n("+E39"),"Object",{defineProperty:n("evD5").f})},mDIe:function(e,t,n){"use strict";t.a=function(e){var t=[],n=0;for(;n<e.length;){var r=e[n];o.test(r)?n+=2:(t.push(r),n+=1)}return t.join("")};var o=/[\uD800-\uDBFF]/},mHmK:function(e,t,f){"use strict";f.d(t,"a",function(){return l});var n,r,o,a=f(0),i=(f.n(a),f(3)),c=(f.n(i),f("KSGD")),u=f.n(c),p=f("nfin"),d=f("xt0B"),m=f("PNJI"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=f.i(i.connect)(function(e){return{route:e.route,documentBaseTitle:e.documentBaseTitle}},null)((o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),s(t,[{key:"render",value:function(){return null}},{key:"componentDidMount",value:function(){(this.props.debug||m.ualib.isWechat)&&this.setupWechatSharing()}},{key:"setupWechatSharing",value:(n=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.wechatShare.ready();case 2:t=this.props,n=t.documentBaseTitle,r=t.route,o=t.title,a=t.desc,i=t.shareIcon,c=t.shareLink,u=t.debug,s=r.pathname,l={title:o+" - "+n,desc:a,link:c||f.i(d.getAbsoluteRouteUrl)(s.replace(p.b,"")),imgUrl:i},u&&console.info("[shareOptions] =>",JSON.stringify(l,null,2)),wechatJsSdk.share({default:l});case 7:case"end":return e.stop()}},e,this)}),r=function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return r.apply(this,arguments)})}]),t}(),r.propTypes={title:u.a.string.isRequired,desc:u.a.string,shareIcon:u.a.string,shareLink:u.a.string,debug:u.a.bool},r.defaultProps={desc:"",shareIcon:p.j,debug:!1},n=o))||n},mLxh:function(e,t,f){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.visibleOpacity,n=void 0===t?1:t,r=e.enterTimeout,o=void 0===r?m.a:r,a=e.leaveTimeout,i=void 0===a?m.b:a,c=m.c+"fade",u=f.i(p.a)({name:c,visibleOpacity:n,enterTimeout:o,leaveTimeout:i});if(!v[u]){var s=v[u]={transitionName:c+u,transitionEnterTimeout:o,transitionLeaveTimeout:i+1e-4},l=h(s,n);f.i(d.a)(c+u,l)}return v[u]};var p=f("euci"),d=f("YwWk"),m=f("Izmz"),h=function(e,t){return"\n."+e.transitionName+"-enter {\n\topacity: 0 !important;\n}\n."+e.transitionName+"-enter-active {\n\topacity: "+t+" !important;\n\ttransition: opacity "+e.transitionEnterTimeout+"ms ease;\n}\n."+e.transitionName+"-leave {\n\topacity: "+t+" !important;\n}\n."+e.transitionName+"-leave-active {\n\topacity: 0 !important;\n\ttransition: opacity "+e.transitionLeaveTimeout+"ms ease;\n}\n"},v={}},mQAv:function(e,t,n){"use strict";function i(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}n.d(t,"a",function(){return o});var r,c=function(t){return new Promise(function(e){return setTimeout(e,t)})},o=(r=i(regeneratorRuntime.mark(function e(o){var t,a=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o){e.next=2;break}return e.abrupt("return",console.warn("[blinkElement] `element` not exists"));case 2:return t=function(){var r=i(regeneratorRuntime.mark(function e(t,n,r){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o.style.transition="transform "+r+"ms ease, box-shadow "+r+"ms ease",o.style.transform="scale("+t+")",o.style.boxShadow="0 0 "+n+"px #2277da",e.next=5,c(r);case 5:case"end":return e.stop()}},e,a)}));return function(e,t,n){return r.apply(this,arguments)}}(),e.next=5,t(.95,0,100);case 5:return e.next=7,t(1.03,20,100);case 7:return e.next=9,t(1,0,600);case 9:o.style.transition="",o.style.transform="",o.style.boxShadow="";case 12:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},mWAh:function(e,t,n){"use strict"},mdKn:function(e,t,n){"use strict";t.a=function(r){var o=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2,i=(e=regeneratorRuntime.mark(function e(){var t,n=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.apply(void 0,n);case 3:return t=e.sent,e.abrupt("return",t);case 7:if(e.prev=7,e.t0=e.catch(0),0<a--)return e.next=12,i.apply(void 0,n);e.next=13;break;case 12:return e.abrupt("return",e.sent);case 13:throw e.t0;case 14:case"end":return e.stop()}},e,o,[[0,7]])}),t=function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return t.apply(this,arguments)});var e,t;return i}},mmAL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(n("xSJG")),r=o(n("BEQ0"));function o(e){return e&&e.__esModule?e:{default:e}}var a=!0,s=!1,l=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function c(e){return null==e}var f=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){c(e.which)&&(e.which=c(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,a=t.wheelDelta,i=t.axis,c=t.wheelDeltaY,u=t.wheelDeltaX,s=t.detail;a&&(o=a/120),s&&(o=0-(s%3==0?s/3:s)),void 0!==i&&(i===e.HORIZONTAL_AXIS?n=(r=0)-o:i===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==c&&(r=c/120),void 0!==u&&(n=-1*u/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,a=e.target,i=t.button;return a&&c(e.pageX)&&!c(t.clientX)&&(r=(n=a.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===a?e.toElement:e.fromElement),e}}];function p(){return a}function d(){return s}function i(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;u.default.call(this);var r=d;"defaultPrevented"in(this.nativeEvent=e)?r=e.defaultPrevented?p:d:"getPreventDefault"in e?r=e.getPreventDefault()?p:d:"returnValue"in e&&(r=e.returnValue===s?p:d),this.isDefaultPrevented=r;var o=[],a=void 0,i=void 0,c=l.concat();for(f.forEach(function(e){t.match(e.reg)&&(c=c.concat(e.props),e.fix&&o.push(e.fix))}),a=c.length;a;)this[i=c[--a]]=e[i];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),a=o.length;a;)(0,o[--a])(this,e);this.timeStamp=e.timeStamp||Date.now()}var m=u.default.prototype;(0,r.default)(i.prototype,m,{constructor:i,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=s,m.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=a,m.stopPropagation.call(this)}}),t.default=i,e.exports=t.default},mmml:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("pwtL"),p=n("5oT9"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.hover;return i.a.createElement(f.Link,{to:"/column/"+t.id,className:l()("com-search-result-item",{hover:n})},i.a.createElement("i",{className:"com-search-result-icon column"}),i.a.createElement("span",{className:"com-search-result-type"},"\u4e13\u680f"),i.a.createElement(p.a,{html:t.name,className:"com-search-result-text"}))}}]),t}(),r.propTypes={item:u.a.shape({id:u.a.number.isRequired,name:u.a.string.isRequired}).isRequired,hover:u.a.bool.isRequired},o)},ms5p:function(e,t,n){"use strict";var r;t.a=function(){return r||(r="CSS1Compat"===document.compatMode?document.documentElement:document.scrollingElement||document.documentElement),r}},msD5:function(e,t,n){"use strict";new(n("cT2K").a)("tvp")},mtWM:function(e,t,n){e.exports=n("tIFN")},"n/nj":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r,o,a=n(0),d=n.n(a),i=n("KSGD"),c=n.n(i),m=n("pwtL"),h=n("1TiW"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var v=h.a.OFFLINE_SALON,s=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),u(t,[{key:"render",value:function(){var e=this.props,t=e.salon,n=e.hotrep,r=t.id,o=t.type,a=t.status,i=t.basicInfo,c=i.title,u=i.seriesName,s=i.coverImageUrl,l=i.cityName,f=i.beginTime,p=((o===v?h.b:h.c)[a]||{}).name;return d.a.createElement("div",{className:"com-3-salon-panel"},d.a.createElement(m.Link,{to:"/salon/salon-"+r,target:"_blank",className:"com-3-salon-panel-link",hotrep:n}),d.a.createElement("div",{className:"com-3-salon-panel-inner"},s&&d.a.createElement("div",{className:"com-3-salon-panel-object"},d.a.createElement("div",{className:"com-3-salon-panel-img",style:{backgroundImage:"url("+s+")"}})),d.a.createElement("div",{className:"com-3-salon-panel-body"},d.a.createElement("h3",{className:"com-3-salon-panel-title"},[u,c].filter(Boolean).join("--")),d.a.createElement("div",{className:"com-3-salon-panel-infos"},d.a.createElement("span",{className:"com-3-salon-panel-info"},d.a.createElement(m.TimeAgo,{time:f})),l&&d.a.createElement("span",{className:"com-3-salon-panel-info"},l),d.a.createElement("span",{className:"com-mark-text com-3-salon-panel-info "+h.d[a]},d.a.createElement("span",{className:"mark-cnt"},p))))))}}]),t}(),r.propTypes={salon:c.a.object.isRequired,hotrep:c.a.string},o)},n0T6:function(e,t,n){var r=n("Ibhu"),o=n("xnc9").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},nDmZ:function(e,t,a){"use strict";a.d(t,"a",function(){return v});var n,r,i=a(0),c=a.n(i),o=a("KSGD"),u=a.n(o),s=a("HW6M"),l=a.n(s),f=a("xt0B"),p=a("pwtL"),d=a("/Lra"),m=a("8lDF"),h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var v=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["Component"]),h(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.tags,r=e.showMore,o=e.className;return n.length?c.a.createElement(m.a,{className:l()("side",o)},c.a.createElement(m.a.Header,null,c.a.createElement(m.a.Title,{title:t}),r&&c.a.createElement(m.a.Extra,null,c.a.createElement(p.Link,{to:"/tags",className:"com-2-arrow-link"},"\u66f4\u591a\u6807\u7b7e",c.a.createElement("i",{className:"com-i-arrow-circle"})))),c.a.createElement(m.a.Body,null,c.a.createElement("ul",{className:"com-tag-v2-list large"},n.map(function(e,t){return c.a.createElement("li",{key:t},c.a.createElement(d.a,{trigger:"hover",placement:"left",mouseEnterDelay:.2,mouseLeaveDelay:.1,content:c.a.createElement(i.Fragment,null,c.a.createElement("h3",{className:"com-tag-bubble-title"},e.name),c.a.createElement("p",{className:"com-tag-bubble-desc"},e.desc),c.a.createElement("div",{className:"com-datas dark"},c.a.createElement("span",{className:"com-data"},a.i(f.abbrNum)(e.followCount)+" \u5173\u6ce8"),c.a.createElement("span",{className:"com-data"},a.i(f.abbrNum)(e.articleCount)+" \u6587\u7ae0"),c.a.createElement("span",{className:"com-data"},a.i(f.abbrNum)(e.questionCount)+" \u95ee\u9898")),c.a.createElement("div",{className:"com-tag-bubble-btns"},c.a.createElement(p.FollowTagButton,{tagId:e.id,followClassName:"",unfollowClassName:"c-btn-hole",followedText:"\u5df2\u5173\u6ce8",followedHoverText:"\u53d6\u6d88\u5173\u6ce8",unfollowedText:"\u5173\u6ce8",unfollowedHoverText:"\u5173\u6ce8",whenUndetermined:"loading"}))),className:"com-tag-bubble"},c.a.createElement(p.Link,{to:"/tag/"+e.id,className:"com-tag-v2"},Boolean(e.icon)&&c.a.createElement("img",{src:e.icon,alt:"",className:"com-tag-v2-icon"}),e.name)))})))):null}}]),t}(),n.propTypes={title:u.a.node.isRequired,tags:u.a.arrayOf(u.a.shape({id:u.a.number.isRequired,name:u.a.string.isRequired,icon:u.a.string.isRequired,followCount:u.a.number.isRequired,articleCount:u.a.number.isRequired,questionCount:u.a.number.isRequired})).isRequired,showMore:u.a.bool,className:u.a.string},n.defaultProps={showMore:!1},r)},nEKH:function(e,t,n){"use strict"},nHvv:function(e,t,n){"use strict";t.b=function(e){var t=c.getServiceUrl("Convert")+"&"+n.i(i.a)({uin:o.a.getUin(),csrfCode:o.a.getCsrfCode()});return n.i(a.a)(t,e)},t.a=function(e){var t=e.target,n=e.page;return c.call("Preview",{target:t,page:n})};var r=n("cT2K"),o=n("QNU9"),a=n("gv2m"),i=n("bA4d"),c=new r.a("doc")},nPs6:function(e,t,a){"use strict";t.a=function(e){var t=e.to,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","children"]),o=t?/^https?:\/\//.test(t)?t:a.i(c.b)(t):"javascript:;";return i.a.createElement("a",u({href:o},r),n)};var n=a(0),i=a.n(n),c=a("Tpeq"),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},nU2o:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p=(o=r=function(e){function i(){var e,t,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=o=f(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(r)))).inputRef=c.a.createRef(),o.handleKeyDown=function(e){var t=o.props,n=t.onEnter,r=t.onEscape;switch(e.keyCode){case 27:r&&r(e);break;case 13:n&&n(e)}},f(o,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),l(i,[{key:"render",value:function(){var e=this.props,t=(e.onEnter,e.onEscape,function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["onEnter","onEscape"]));return c.a.createElement("input",s({ref:this.inputRef},t,{onKeyDown:this.handleKeyDown}))}},{key:"focus",value:function(){this.inputRef.current.focus()}}]),i}(),r.propTypes={onEnter:u.a.func,onEscape:u.a.func},o)},nd2e:function(e,t,n){"use strict";var r=n("Afcq");n.d(t,"a",function(){return r.a})},nfin:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"m",function(){return u}),n.d(t,"k",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"f",function(){return f}),n.d(t,"h",function(){return p}),n.d(t,"e",function(){return d}),n.d(t,"j",function(){return m}),n.d(t,"i",function(){return h});n("+AS+");var r=n("ytzh");n.d(t,"l",function(){return r.a});var o=n("+kzo");n.d(t,"a",function(){return o.a});n("nEKH");var a=n("xJnl"),i=n("9C8i");n("1RX5"),n("UOu3"),n("6Rdn"),n("Qo5h"),n("qct8"),n("kbml"),n("S0Qc"),n("KFM2");n.d(t,"d",function(){return a}),n.d(t,"g",function(){return i});var c="/developer",u="yunjia_community@tencent.com",s="//imgcache.qq.com/open_proj/proj_qcloud_v2/community/portal/css/img/wechat-qr.jpg",l="cloud.tencent.com",f="10680",p="console."+l,d="ask.qcloudimg.com",m="https://imgcache.qq.com/qcloud/developer/images/release/share-icon-white.png",h="95716"},nkf5:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("header",{className:"com-2-section-hd"},t)};var r=n(0),o=n.n(r)},nlLg:function(e,t,n){"use strict";var r=n("qssP");n.d(t,"a",function(){return r.a})},nmGv:function(e,t,n){"use strict";var r=n("4rJG");n.d(t,"a",function(){return r.a});n("1J3r"),n("4jRL")},o3Pe:function(e,t,n){"use strict";t.a=function(e){var t=[],n=!0,r=!1,o=void 0;try{for(var a,i=Object.values(e.entityMap)[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var c=a.value;if("IMAGE"===c.type&&c.data){var u=c.data.imageUrl;t.includes(u)||t.push(u)}}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return t}},oBl5:function(e,t,i){"use strict";i.d(t,"a",function(){return k});var n,r,o=i(0),c=i.n(o),a=i("KSGD"),u=i.n(a),s=i("HW6M"),l=i.n(s),f=i("1TiW"),p=i("xt0B"),d=i("pwtL"),m=i("5oT9"),h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var v=f.a.OFFLINE_SALON,y=f.a.ONLINE_LIVE,b=f.e.SIGN_UP,g=f.e.SIGN_UP_END,w=f.e.LIVING,E=f.e.LIVE_END,O=f.e.ACTIVITY_END,k=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),h(t,[{key:"render",value:function(){var e=this.props.activity,t=(e.id,e.type),n=e.basicInfo,r=e.status,o=f.d[r]||"",a=t===v?f.b[r].name:f.c[r].name;return c.a.createElement(d.Link,{to:"/salon/"+(t===v?"salon":"live")+"-"+e.id,className:"com-2-activity-panel activity"},c.a.createElement("div",{className:"com-2-activity-panel-object"},c.a.createElement("div",{className:"com-2-activity-panel-img",style:{backgroundImage:"url("+i.i(p.getThumbnailUrl)(n.coverImageUrl,146,"h")+")"}})),c.a.createElement("div",{className:"com-2-activity-panel-main"},c.a.createElement("div",{className:"com-2-activity-panel-bd"},Boolean(n.seriesName)&&c.a.createElement("p",{className:"com-2-activity-panel-pretitle without-order"},c.a.createElement(m.a,{html:n.seriesName,className:"pretitle-inner"})),c.a.createElement(m.a,{component:"h3",html:n.title,className:"com-2-activity-panel-title"})),c.a.createElement("footer",{className:"com-2-activity-panel-infos"},c.a.createElement("span",{className:"com-2-activity-panel-info"},i.i(p.formatDate)(n.beginTime,"yyyy-mm-dd")),t===v&&c.a.createElement("span",{className:"com-2-activity-panel-info"},n.cityName.replace("\u5e02","")),c.a.createElement("span",{className:l()("com-mark-text com-2-activity-panel-info",o)},c.a.createElement("span",{className:"mark-cnt"},a)))))}}]),t}(),n.propTypes={activity:u.a.shape({id:u.a.number.isRequired,type:u.a.oneOf([v,y]).isRequired,basicInfo:u.a.shape({title:u.a.string.isRequired,seriesName:u.a.string,beginTime:u.a.number.isRequired,endTime:u.a.number.isRequired,cityName:u.a.string,coverImageUrl:u.a.string.isRequired}).isRequired,status:u.a.oneOf([b,g,w,E,O]).isRequired}).isRequired},r)},oHt4:function(e,t,U){"use strict";t.a=function(e){var n=regeneratorRuntime.mark(B),c=e.namespace,u=e.root,r=e.state,t=e.reducers,d=void 0===t?{}:t,o=e.effects,m=void 0===o?{}:o,a=e.logics,i="/"+c+"::",h=function(e){return/^@|\//.test(e)?e:""+i+e},s=function(e){return e.split(i).pop()};if(a){if(!Array.isArray(a))throw new Error("logics should be array");var l=!0,f=!1,p=void 0;try{for(var v,y=a[Symbol.iterator]();!(l=(v=y.next()).done);l=!0){var b=v.value;if(b.state){if("object"!==G(b.state))throw new Error("logic state must be object");r=W({},r,b.state)}if(b.reducers){var g=!0,w=!1,E=void 0;try{for(var O,k=Object.entries(b.reducers)[Symbol.iterator]();!(g=(O=k.next()).done);g=!0){var _=O.value,C=H(_,2),N=C[0],T=C[1];d=W({},d,K({},N,T))}}catch(e){w=!0,E=e}finally{try{!g&&k.return&&k.return()}finally{if(w)throw E}}}if(b.effects){var S=!0,P=!1,R=void 0;try{for(var I,j=Object.entries(b.effects)[Symbol.iterator]();!(S=(I=j.next()).done);S=!0){var x=I.value,A=H(x,2),L=A[0],D=A[1];m=W({},m,K({},L,D))}}catch(e){P=!0,R=e}finally{try{!S&&j.return&&j.return()}finally{if(P)throw R}}}}}catch(e){f=!0,p=e}finally{try{!l&&y.return&&y.return()}finally{if(f)throw p}}}function M(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:r,t=arguments[1],n=s(t.type);if(n)return d[n]?d[n](e,W({},t,{type:n})):e}function B(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){return!!s(e.type)},e.next=3,U.i(F.takeEvery)(t,regeneratorRuntime.mark(function e(t){var n,r,o,a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s(t.type),r=m[n])return e.next=5,U.i(F.select)(u);e.next=17;break;case 5:return o=e.sent,a={put:function(e){var t=e.type,n=V(e,["type"]);return U.i(F.put)(W({type:h(t)},n))},getState:function(){return o},call:F.call,select:F.select,all:F.all,delay:q.delay,root:u},e.prev=7,e.next=10,r(W({},t,{type:n}),a);case 10:i=e.sent,t.promise&&t.promise.resolve(i),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),t.promise?t.promise.reject(e.t0):console.error("Error ["+(e.t0.message||e.t0.msg)+'] occur running effect "'+n+'" in model "'+c+'"',e.t0);case 17:case"end":return e.stop()}},e,this,[[7,14]])}));case 3:case"end":return e.stop()}},n,this)}return{namespace:c,getReducer:function(){return M},getSaga:function(){return B},hasEffect:function(e){return!!m[e]},mapStateToModelProps:function(e){return{modelState:u(e),rootState:e}},actions:function(){var e={},t=!0,n=!1,r=void 0;try{for(var o,a=Object.keys(d)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;e[i]=h(i)}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}var c=!0,u=!1,s=void 0;try{for(var l,f=Object.keys(m)[Symbol.iterator]();!(c=(l=f.next()).done);c=!0){var p=l.value;e[p]=h(p)}}catch(e){u=!0,s=e}finally{try{!c&&f.return&&f.return()}finally{if(u)throw s}}return e}()}};var q=U(6),F=(U.n(q),U(7)),H=(U.n(F),function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function V(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},oHy7:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="mod-handpicked-activity",i="mod-handpicked-special-topic";r={},o(r,a,{id:a,label:"\u63a8\u8350\u6587\u7ae0",storedKey:"COLUMN_home_handpicked_activity"}),o(r,i,{id:i,label:"\u4e13\u9898\u5185\u5bb9",storedKey:"COLUMN_home_handpicked_special_topic"})},oJlt:function(e,t,n){"use strict";var a=n("cGG2");e.exports=function(e){var t,n,r,o={};return e&&a.forEach(e.split("\n"),function(e){r=e.indexOf(":"),t=a.trim(e.substr(0,r)).toLowerCase(),n=a.trim(e.substr(r+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o}},oM7Q:function(e,t,n){n("sF+V");var r=n("FeBl").Object;e.exports=function(e,t){return r.create(e,t)}},ogC3:function(e,t,n){"use strict";var r=n("n/nj");n.d(t,"a",function(){return r.a})},ojaj:function(e,t,n){"use strict";n("msD5")},okkh:function(e,t,n){"use strict";var r=n("fwo6");n.d(t,"a",function(){return r.a})},onlG:function(e,t,n){try{var r=n("Gsca")}catch(e){r=n("Gsca")}var o=/\s+/,a=Object.prototype.toString;function i(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new i(e)},i.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~r(t,e)||t.push(e),this.el.className=t.join(" "),this},i.prototype.remove=function(e){if("[object RegExp]"==a.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=r(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},i.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},i.prototype.toggle=function(e,t){return this.list?void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e):void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this},i.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(o);return""===e[0]&&e.shift(),e},i.prototype.has=i.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)}},ow6W:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=(o=r=function(e){function i(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=r=l(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).handleClick=function(n){return function(e){e.preventDefault();var t=r.props.onTagRemove;"function"==typeof t&&t({tag:n})}},l(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),s(i,[{key:"render",value:function(){var r=this,e=this.props.tags;return c.a.createElement(a.Fragment,null,e.map(function(e,t){e.id;var n=e.name;return c.a.createElement("span",{key:t,className:"com-2-tag-txt"},c.a.createElement("span",{title:n},n),c.a.createElement("i",{className:"com-2-btn-close",onClick:r.handleClick(e)}))}))}}]),i}(),r.propTypes={tags:u.a.arrayOf(u.a.shape({id:u.a.number.isRequired,name:u.a.string.isRequired})).isRequired,onTagRemove:u.a.func},o)},p1b6:function(e,t,n){"use strict";var c=n("cGG2");e.exports=c.isStandardBrowserEnv()?{write:function(e,t,n,r,o,a){var i=[];i.push(e+"="+encodeURIComponent(t)),c.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),c.isString(r)&&i.push("path="+r),c.isString(o)&&i.push("domain="+o),!0===a&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},pBDx:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("HW6M"),l=n.n(s),f=n("2h0h"),p=n("ZT/R"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.menuList,n=e.visible,i=e.activeMenu,r=e.onClose,o=!n;return c.a.createElement(a.Fragment,null,c.a.createElement("div",{className:l()("com-m-side-mask",{hidden:o}),onClick:r}),c.a.createElement("section",{className:l()("com-m-side com-2-m-side",{hidden:o})},c.a.createElement("header",{className:"com-m-side-hd"},c.a.createElement(p.a,null),c.a.createElement("div",{className:"com-m-side-hd-extra"},c.a.createElement(f.a,{className:"com-m-side-link only-icon",onClick:r},c.a.createElement("div",{className:"icon-back"})))),c.a.createElement("div",{className:"com-m-side-bd"},c.a.createElement("ul",{className:"com-m-side-nav"},t.map(function(e,t){var n=e.key,r=e.name,o=e.icon,a=e.path;e.href;return"divider"===n?c.a.createElement("li",{key:n+"-"+t,className:"com-m-side-nav-item split"}):n===i?c.a.createElement("li",{key:n,className:"com-m-side-nav-item actived"},c.a.createElement("span",{className:"com-m-side-nav-link"},Boolean(o)&&c.a.createElement("i",{className:o}),r)):c.a.createElement("li",{key:n,className:"com-m-side-nav-item"},c.a.createElement(f.a,{to:a,className:"com-m-side-nav-link"},Boolean(o)&&c.a.createElement("i",{className:o}),r))})),c.a.createElement("div",{className:"com-m-side-idx-link-wrap"},c.a.createElement(f.a,{to:"~/",className:"com-m-side-idx-link"},"\u8fd4\u56de\u817e\u8baf\u4e91\u5b98\u7f51")))))}}]),t}(),r.propTypes={visible:u.a.bool.isRequired,activeMenu:u.a.string,onClose:u.a.func.isRequired},r.defaultProps={menuList:[{key:"home",name:"\u9996\u9875",icon:"icon-home",path:"/"},{key:"column",name:"\u4e13\u680f",icon:"icon-column",path:"/column"},{key:"ask",name:"\u95ee\u7b54",icon:"icon-ask",path:"/ask"},{key:"salon",name:"\u6c99\u9f99",icon:"icon-salon",path:"/salon"},{key:"news",name:"\u5feb\u8baf",icon:"icon-news",path:"/news"},{key:"teams",name:"\u56e2\u961f\u4e3b\u9875",icon:"icon-nonstop",path:"/teams"},{key:"devdocs",name:"\u5f00\u53d1\u8005\u624b\u518c",icon:"icon-devdoc",path:"/devdocs"},{key:"timl",name:"\u667a\u80fd\u949bAI",icon:"icon-ai",path:"/timl"},{key:"divider"},{key:"edu",name:"\u5728\u7ebf\u5b66\u4e60\u4e2d\u5fc3",icon:"icon-college",path:"~/edu/learning?ADTAG=sq.sidebar"},{key:"tvp",name:"TVP",icon:"icon-tvp",path:"~/tvp"}]},o)},pBtG:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},pE6h:function(e,t,n){"use strict";var r=n("3a5x");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},pFYg:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n("Zzip")),o=i(n("5QVw")),a="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function i(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===a(r.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":a(e)}},pIW5:function(e,t,a){"use strict";t.a=function(i){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=e.src,n=void 0===t?"":t,r=e.maxRetryCount,c=void 0===r?10:r,o=e.retryInterval,u=void 0===o?100:o;!window[i]&&n&&a.i(s.a)(n);return new Promise(function(r,o){var a=0;!function e(){var t=window[i];if(t)return r(t);if(++a>c){var n=new ReferenceError("Oops, variable `"+i+"` not exists!");return o(n)}setTimeout(e,u)}()})};var s=a("5FkW")},pO1d:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-2-section-bd"},t)};var r=n(0),o=n.n(r)},pVr6:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(0),f=n.n(r),o=n("HW6M"),p=n.n(o),d=n("pwtL"),a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=0,m=1,h=2,v=[[0,0,0],[1,0,1],[-1,-1,0]],i=function(e){function u(){var e,t,c,n,r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return(t=c=s(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(a)))).state={vote:l,actionVote:l},c.check=(n=regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.props.onCheck,e.next=3,t();case 3:n=e.sent,c.isUnmouted||c.setState({vote:n?m:h});case 5:case"end":return e.stop()}},e,r)}),function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),c.toggle=function(){var e=c.props,t=e.onToggle,n=e.onBeforeToggle;if("function"!=typeof n||!1!==n()){var r=c.state,o=r.actionVote,a=r.vote,i=(o||a)==m?h:m;c.setState({actionVote:i}),t(i)}},s(c,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,r["Component"]),a(u,[{key:"render",value:function(){var e=this.props,t=e.currentVoteCount,n=e.className,r=(e.onToggle,e.showText),o=void 0===r||r,a=e.hotrep,i=this.state,c=i.vote,u=i.actionVote,s=(u||c)===m,l=v[u][c];return f.a.createElement(d.Link,{className:p()("com-opt-link link-like",n,{actived:s}),hotrep:a,onClick:this.toggle},f.a.createElement("i",{className:"com-i-like"}),o&&f.a.createElement("span",{className:"name"},"\u8d5e"),t+l)}},{key:"componentDidMount",value:function(){this.check()}},{key:"componentWillUnmount",value:function(){this.isUnmouted=!0}}]),u}()},paB3:function(e,t,n){"use strict";t.a=function(e){return{route:e.route}}},pdYg:function(e,t,n){"use strict";var r=n("8gt0");n.d(t,"a",function(){return r.a})},peyt:function(e,t,n){"use strict"},pmu0:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("Ivgd"),p=n("UkLw"),d=n("gUHC"),m=n("iQ0z"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var y=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),v(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("section",h({className:l()("com-panel",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);y.Empty=f.a,y.Back=p.a,y.Header=d.a,y.Body=m.a},pwtL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("RMeI");n.d(t,"ActivityItem",function(){return r.a});var o=n("UKP7");n.d(t,"AlertTypes",function(){return o.a}),n.d(t,"Alert",function(){return o.b});var a=n("pdYg");n.d(t,"AlterNicknameDialog",function(){return a.a});var i=n("I4QB");n.d(t,"Answer",function(){return i.a}),n.d(t,"AnswerList",function(){return i.b});var c=n("k52p");n.d(t,"AnswerPeople",function(){return c.a});var u=n("s6SF");n.d(t,"AnswerWriteState",function(){return u.a}),n.d(t,"AnswerWrite",function(){return u.b});var s=n("IFX7");n.d(t,"UserAppealDialog",function(){return s.a});var l=n("uews");n.d(t,"ArticleCard",function(){return l.a});var f=n("tDy2");n.d(t,"ArticleItem",function(){return f.a});var p=n("MDMZ");n.d(t,"ArticleAuditButton",function(){return p.a}),n.d(t,"ArticleSharing",function(){return p.b}),n.d(t,"ArticleDeleteButton",function(){return p.c}),n.d(t,"ArticleEditButton",function(){return p.d}),n.d(t,"ArticleLikeButton",function(){return p.e}),n.d(t,"ArticleReportButton",function(){return p.f}),n.d(t,"ArticleRecommendButton",function(){return p.g}),n.d(t,"ArticleFavorButton",function(){return p.h});var d=n("QCzX");n.d(t,"ArticlePanel",function(){return d.a});var m=n("+EOg");n.d(t,"AskAction",function(){return m.a});var h=n("l8Db");n.d(t,"AskActionPanel",function(){return h.a});var v=n("b72s");n.d(t,"AskAside",function(){return v.a});var y=n("okkh");n.d(t,"AskButton",function(){return y.a});var b=n("6dV3");n.d(t,"AskDialog",function(){return b.a});var g=n("LjBl");n.d(t,"AskDropdownSelect",function(){return g.a}),n.d(t,"AskDropdownOption",function(){return g.b});var w=n("lcLU");n.d(t,"AskEmpty",function(){return w.a});var E=n("2l/l");n.d(t,"AskLink",function(){return E.a});var O=n("T1GB");n.d(t,"AskRelatedDocs",function(){return O.a});var k=n("KKMo");n.d(t,"AskTagBox",function(){return k.a});var _=n("yb2Z");n.d(t,"AskTags",function(){return _.a});var C=n("2qt7");n.d(t,"AskTagSideBarPanel",function(){return C.a});var N=n("vAFp");n.d(t,"AuditTip",function(){return N.a});var T=n("zMWZ");n.d(t,"BackToTop",function(){return T.a});var S=n("0S2U");n.d(t,"BanDialog",function(){return S.a});var P=n("pE6h");n.d(t,"BottomLoadingTriggerTypes",function(){return P.a}),n.d(t,"BottomLoading",function(){return P.b});var R=n("yQtq");n.d(t,"SimpleBubble",function(){return R.a});var I=n("hXRd");n.d(t,"Button",function(){return I.a});var j=n("DoXO");n.d(t,"ColumnItem",function(){return j.a});var x=n("vpIZ");n.d(t,"ColumnPanel",function(){return x.a});var A=n("lma3");n.d(t,"DeveloperSpreadBanner",function(){return A.a});var L=n("3+MR");n.d(t,"DialogHead",function(){return L.a}),n.d(t,"DialogBody",function(){return L.b}),n.d(t,"DialogFooter",function(){return L.c}),n.d(t,"DialogButton",function(){return L.d}),n.d(t,"Dialog",function(){return L.e}),n.d(t,"DialogManager",function(){return L.f});var D=n("CpS2");n.d(t,"Dropdown",function(){return D.a});var M=n("ckT3");n.d(t,"EventDisplay",function(){return M.a});var B=n("HTMr");n.d(t,"FilterBar",function(){return B.a});var U=n("h9SP");n.d(t,"FirstChild",function(){return U.a});var q=n("S9RG");n.d(t,"FollowColumnButton",function(){return q.a}),n.d(t,"FollowQuestionButton",function(){return q.b}),n.d(t,"FollowTagButton",function(){return q.c}),n.d(t,"FollowTeamButton",function(){return q.d}),n.d(t,"FollowUserButton",function(){return q.e});var F=n("YdLL");n.d(t,"ForbiddenTip",function(){return F.a});var H=n("Z2OA");n.d(t,"Grid",function(){return H.a});var W=n("h8T7");n.d(t,"ImageViewer",function(){return W.a});var G=n("KSBz");n.d(t,"AutosizedTextArea",function(){return G.a}),n.d(t,"Input",function(){return G.b}),n.d(t,"TextArea",function(){return G.c});var V=n("/i71");n.d(t,"Body",function(){return V.a}),n.d(t,"Layout",function(){return V.b}),n.d(t,"productData",function(){return V.c}),n.d(t,"Header",function(){return V.d}),n.d(t,"Footer",function(){return V.e}),n.d(t,"MiniFooter",function(){return V.f}),n.d(t,"SearchBar",function(){return V.g});var K=n("L1qk");n.d(t,"LikeState",function(){return K.a}),n.d(t,"LikeButton",function(){return K.b});var z=n("2h0h");n.d(t,"Link",function(){return z.a});var Q=n("2JRn");n.d(t,"LoadingBar",function(){return Q.a}),n.d(t,"LoadMore",function(){return Q.b}),n.d(t,"RetryBar",function(){return Q.c});var Y=n("MIn9");n.d(t,"MarkdownEditor",function(){return Y.a});var J=n("Flrs");n.d(t,"MediaLayout",function(){return J.a}),n.d(t,"MediaBody",function(){return J.b}),n.d(t,"MediaTitle",function(){return J.c}),n.d(t,"MediaDescription",function(){return J.d}),n.d(t,"MediaContent",function(){return J.e}),n.d(t,"MediaImage",function(){return J.f}),n.d(t,"MediaPlainImage",function(){return J.g});var X=n("3IYT");n.d(t,"MediaSharing",function(){return X.a}),n.d(t,"MediaSharingGroup",function(){return X.b}),n.d(t,"WechatSharing",function(){return X.c});var Z=n("R2lC");n.d(t,"MessageTipTypes",function(){return Z.a}),n.d(t,"MessageTip",function(){return Z.b});var $=n("KO42");n.d(t,"ModuleLayout",function(){return $.a});var ee=n("YZSN");n.d(t,"NewsRejectDialog",function(){return ee.a});var te=n("Lh6t");n.d(t,"NoMoreContent",function(){return te.a});var ne=n("wWUc");n.d(t,"NotifierListItem",function(){return ne.a});var re=n("Fq8T");n.d(t,"OperationBar",function(){return re.a}),n.d(t,"WidgetOperationBar",function(){return re.b});var oe=n("MI6L");n.d(t,"PageViewReporter",function(){return oe.a});var ae=n("KcLa");n.d(t,"Pagination",function(){return ae.a});var ie=n("XEMB");n.d(t,"Empty",function(){return ie.a}),n.d(t,"Panel",function(){return ie.b});var ce=n("ZE2u");n.d(t,"Popconfirm",function(){return ce.a});var ue=n("OAAM");n.d(t,"Popover",function(){return ue.a});var se=n("7MKE");n.d(t,"ProfessionVerifiedBadge",function(){return se.a});var le=n("TTo2");n.d(t,"QAEditor",function(){return le.a});var fe=n("4be7");n.d(t,"Question",function(){return fe.a});var pe=n("Y+Xi");n.d(t,"RecSection",function(){return pe.a});var de=n("Kx+S");n.d(t,"RemoveMemberButton",function(){return de.a});var me=n("JVIK");n.d(t,"ReportDialog",function(){return me.a});var he=n("SzII");n.d(t,"DraftViewer",function(){return he.a}),n.d(t,"RichContent",function(){return he.b});var ve=n("1h7I");n.d(t,"RichEditor",function(){return ve.a});var ye=n("ogC3");n.d(t,"SalonItem",function(){return ye.a});var be=n("SQhc");n.d(t,"Section",function(){return be.a});var ge=n("Tfb9");n.d(t,"SectionPanel",function(){return ge.a});var we=n("7Hzm");n.d(t,"SectionV3",function(){return we.a});var Ee=n("t2L5");n.d(t,"ServiceMonitor",function(){return Ee.a});var Oe=n("zWuG");n.d(t,"SpecialTopic",function(){return Oe.a});var ke=n("nlLg");n.d(t,"SubSection",function(){return ke.a});var _e=n("AGmQ");n.d(t,"Tab",function(){return _e.a});var Ce=n("9y8R");n.d(t,"TagItem",function(){return Ce.a});var Ne=n("9wpL");n.d(t,"TeamItem",function(){return Ne.a});var Te=n("9B9/");n.d(t,"ThirdSection",function(){return Te.a});var Se=n("GZPB");n.d(t,"TimeAgo",function(){return Se.a});var Pe=n("Ydyq");n.d(t,"TimeLeft",function(){return Pe.a});var Re=n("/Lra");n.d(t,"Tooltip",function(){return Re.a});var Ie=n("8szr");n.d(t,"UserAvatar",function(){return Ie.a});var je=n("dhAI");n.d(t,"UserBadges",function(){return je.a});var xe=n("Q5Sj");n.d(t,"UserCard",function(){return xe.a});var Ae=n("HvuZ");n.d(t,"UserEventLine",function(){return Ae.a});var Le=n("HiY3");n.d(t,"UserItem",function(){return Le.a});var De=n("qhgf");n.d(t,"UserLink",function(){return De.a});var Me=n("4+C7");n.d(t,"UserPanel",function(){return Me.a});var Be=n("i+Gu");n.d(t,"VerifyIdentityDialog",function(){return Be.a});var Ue=n("vO3M");n.d(t,"WeakSection",function(){return Ue.a})},pxG4:function(e,t,n){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}},"q+qH":function(e,t,n){"use strict";t.a=function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,n=[],r=Math.ceil(e.length/t),o=0,a=0;o<r;o+=1,a+=t)n[o]=e.slice(a,a+t);return n}},"q/EH":function(e,t,n){"use strict";t.a=function(){return o.a.createElement("div",{className:"com-load-more"},o.a.createElement("div",{className:"com-line-loading"},o.a.createElement("i",{className:"loading-avatar"}),o.a.createElement("div",{className:"loading-line"}),o.a.createElement("div",{className:"loading-line"}),o.a.createElement("div",{className:"loading-line"}),o.a.createElement("div",{className:"loading-line"}),o.a.createElement("div",{className:"loading-line"}),o.a.createElement("div",{className:"loading-line"})))};var r=n(0),o=n.n(r)},q7kW:function(e,t,n){"use strict";new(n("cT2K").a)("contest")},qDlB:function(e,t,n){"use strict";t.a=function(e){return e.displayName||e.name||"Component"}},qFNz:function(e,t,a){"use strict";t.a=function(r,o){var e,t;return t=e=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,t.call(this,e));return r.__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!d[r._uid]){void 0===f&&(f=a.i(s.a)()),d[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),p[r._uid]=function(e){if(!r.props.disableOnClickOutside&&null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),!r.props.excludeScrollbar||!u.a(e))){var t=e.target;u.b(t,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e)}},e.forEach(function(e){var t=null,n=-1!==m.indexOf(e);n&&f&&(t={passive:!r.props.preventDefault}),document.addEventListener(e,p[r._uid],t)})}},r.disableOnClickOutside=function(){delete d[r._uid];var t=p[r._uid];if(t&&"undefined"!=typeof document){var e=r.props.eventTypes;e.forEach||(e=[e]),e.forEach(function(e){return document.removeEventListener(e,t)}),delete p[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=a.i(l.a)(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.getInstance=function(){if(!r.prototype.isReactComponent)return this;var e=this.instanceRef;return e.getInstance?e.getInstance():e},n.prototype.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(o&&"function"==typeof o.handleClickOutside&&(this.__clickOutsideHandlerProp=o.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=a.i(c.findDOMNode)(this.getInstance()),this.enableOnClickOutside()}},n.prototype.componentDidUpdate=function(){this.componentNode=a.i(c.findDOMNode)(this.getInstance())},n.prototype.componentWillUnmount=function(){this.disableOnClickOutside()},n.prototype.render=function(){var n=this,e=Object.keys(this.props).filter(function(e){return"excludeScrollbar"!==e}).reduce(function(e,t){return e[t]=n.props[t],e},{});return r.prototype.isReactComponent?e.ref=this.getRef:e.wrappedRef=this.getRef,e.disableOnClickOutside=this.disableOnClickOutside,e.enableOnClickOutside=this.enableOnClickOutside,a.i(i.createElement)(r,e)},n}(i.Component),e.displayName="OnClickOutside("+(r.displayName||r.name||"Component")+")",e.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:o&&o.excludeScrollbar||!1,outsideClickIgnoreClass:n,preventDefault:!1,stopPropagation:!1},e.getClass=function(){return r.getClass?r.getClass():r},t};var i=a(0),c=(a.n(i),a(1)),u=(a.n(c),a("xOTX")),s=a("v+/k"),l=a("rf8D");var f=void 0,p={},d={},m=["touchstart","touchmove"],n="ignore-react-onclickoutside"},qFcR:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return v});var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a),u=n("UVf0"),s=(n.n(u),n("HMk2")),l=n("h9SP"),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=void 0,c={INFO:"info",ERROR:"error"},m=c.INFO,h=c.ERROR,v=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.state={visible:!1,type:h,message:"",eventId:null},isClientContext&&(d=t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,r["Component"]),p(c,[{key:"render",value:function(){var e=this.state,t=e.visible,n=e.type,r=e.message;return o.a.createElement(u.CSSTransitionGroup,f({component:l.a},s.a.slide()),t&&o.a.createElement("div",{key:"messagetip",className:"c-msg-fixed-wrap"},o.a.createElement("div",{className:i()("c-msg",{"c-msg-error":n===h,"c-msg-success":n===m})},o.a.createElement("div",{className:"c-msg-info"},r))))}}],[{key:"info",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this._show(m,e,t)}},{key:"error",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this._show(h,e,t)}},{key:"_show",value:function(e,t,n){"number"==typeof n&&(n={duration:n}),this.show(f({},n,{type:e,message:t}))}},{key:"show",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=void 0===t?h:t,r=e.message,o=e.duration,a=void 0===o?2e3:o;if(d&&isClientContext){var i=d.state.eventId;i&&clearTimeout(i),d.setState({visible:!0,type:n,message:r}),c.delayDestroyMessage({duration:a})}}},{key:"hide",value:function(){this.delayDestroyMessage({duration:0})}},{key:"delayDestroyMessage",value:function(e){var t=e.duration,n=setTimeout(function(){d.setState({visible:!1,message:""})},t);d.setState({eventId:n})}}]),c}()},qKt9:function(e,t,ne){"use strict";ne.d(t,"a",function(){return k});var n,r,o,a=ne("rdLu"),i=(ne.n(a),ne(0)),re=ne.n(i),c=ne("KSGD"),u=ne.n(c),oe=ne("kbml"),ae=ne("1RX5"),ie=ne("vAl0"),s=ne("1TiW"),ce=ne("xt0B"),ue=ne("pwtL"),l=ne("xYAz"),f=ne("XMXV"),p=ne("UCgB"),d=ne("ANM9"),m=ne("Hv5l"),h=ne("xF/Z"),v=ne("7lPT"),se=ne("kEXF"),y=ne("bdVh"),b=ne("VNVP"),g=ne("Lngh"),w=ne("bEon"),E=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function O(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var le=s.a.OFFLINE_SALON,k=ne.i(ce.connectSession)()((o=r=function(e){function a(){var e,t,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=s=O(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).renderVoucherAwards=function(){var e=s.props.data.detail,t=e.level,n=e.awardInfo.awardInfo.detail;return" \u606d\u559c\u4f60\u83b7\u5f97 \u4e91+\u793e\u533a LV"+t+" \u76f8\u5e94\u7684\u5956\u52b1 \u2014\u2014 "+n.count+" \u5f20\u4ef7\u503c "+n.amount/100+" \u5143\u7684\u817e\u8baf\u4e91\u4ee3\u91d1\u5238 "},s.renderMaterialAwards=function(){var e=s.props.data.detail,t=e.level,n=e.awardInfo,r=e.awardId,o=n.awardInfo,a=o.type,i=o.selectList,c=" \u606d\u559c\u4f60\u83b7\u5f97 \u4e91+\u793e\u533a LV"+t+" \u76f8\u5e94\u7684\u5956\u52b1 \u2014\u2014 ";switch(a){case"book":c+="\u4e91+\u793e\u533a\u6280\u672f\u4e66\u7c4d 1 \u672c";break;case"peripheral":var u=2===r?"\u4ef6":"\u4e2a";c+="\u4e91+\u793e\u533a"+i.filter(function(e){return e.id===r})[0].name+" 1 "+u;break;case"keyboard":c+="\u4e91+\u793e\u533a\u6a31\u6843\u673a\u68b0\u952e\u76d8 1 \u4e2a";break;case"mystery":c+="\u4e91+\u793e\u533a\u795e\u79d8\u793c\u54c1"}return c},s.renderUsers=function(){var e=s.props.data,t=e.users,n=e.count;return re.a.createElement(p.a,{message:e,users:t,totalCount:n})},s.renderQuestion=function(){var e=s.props.data,t=e.questionDetails;return re.a.createElement(f.a,{question:t,message:e})},s.renderAnswer=function(){var e=s.props.data,t=e.questionDetails,n=e.answerDetails;return re.a.createElement(d.a,{question:t,answer:n,message:e})},s.renderAnswerComment=function(){var e=s.props.data,t=e.questionDetails,n=e.answerDetails,r=e.commentDetails;return re.a.createElement(l.a,{message:e,question:t,answer:n,comment:r})},s.renderColumnLink=function(){return re.a.createElement(m.a,{key:"link",column:s.props.data.columnDetails})},s.renderColumnInvite=function(){s.props.data;var e=s.props.data,t=e.columnDetails,n=e.msgId,r=e.detail,o=r.invitedCode,a=r.hasAccept;return[re.a.createElement(m.a,{key:"link",column:t}),re.a.createElement(h.a,{key:"invitation",column:t,msgId:n,invitedCode:o,hasAccept:a})]},s.renderColumnApply=function(){var e=s.props.data,t=e.msgId,n=e.columnDetails,r=e.detail.applyMsg,o=e.detail.handleResult;return[re.a.createElement(m.a,{key:"link",column:n}),"\uff0c\u7533\u8bf7\u7406\u7531\uff1a",r,re.a.createElement(v.a,{key:"application",msgId:t,columnId:n.id,handleResult:o})]},s.renderArticle=function(){var e=s.props.data.articleDetails;return re.a.createElement(se.a,{article:e})},s.renderActivity=function(){var e=s.props.data.activityDetails;return re.a.createElement(y.a,{activity:e})},s.renderTask=function(){var e=s.props.data.taskDetails;return re.a.createElement(b.a,{task:e})},s.appealUserBan=function(){ue.UserAppealDialog.show({onFinish:function(){}})},s.renderUnreadMark=function(){var e=s.props,t=e.data;e.actions;return 1==t.isRead?null:re.a.createElement("button",{className:"unread-icon"})},s.markNotifierRead=function(){var e=s.props,t=e.data,n=e.onMarkNotifierRead;1==t.isRead||n({msgId:t.msgId,isAll:0})},s.renderDevdocLink=function(){var e=s.props.data.detail.sectionId;return re.a.createElement(ue.Link,{to:"/section/"+e},"\u67e5\u770b\u624b\u518c")},O(s,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i["Component"]),E(a,[{key:"render",value:function(){var e=this.props,t=e.data,n=e.className;switch(Number(t.type)){case ie.a.USER_MSG_ASK_BE_CONCERN:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u5173\u6ce8\u4e86\u4f60\u7684\u95ee\u9898 ",this.renderQuestion());case ie.a.USER_MSG_ASK_BE_REPLY:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u56de\u7b54\u4e86\u4f60\u7684\u95ee\u9898 ",this.renderQuestion());case ie.a.USER_MSG_ASK_BE_FAVOR:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u6536\u85cf\u4e86\u4f60\u7684\u95ee\u9898 ",this.renderQuestion());case ie.a.USER_MSG_ASK_BE_EDIT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u7f16\u8f91\u4e86\u4f60\u7684\u95ee\u9898 ",this.renderQuestion());case ie.a.USER_MSG_ANSWER_BE_LIKE:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8d5e\u4e86\u4f60\u7684\u56de\u7b54 ",this.renderAnswer());case ie.a.USER_MSG_ANSWER_BE_FAVOR:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u6536\u85cf\u4e86\u4f60\u7684\u56de\u7b54 ",this.renderAnswer());case ie.a.USER_MSG_REPLY_BE_LIKE:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8d5e\u4e86\u4f60\u7684\u8bc4\u8bba ",this.renderAnswerComment());case ie.a.USER_MSG_ANSWER_BE_REPLY:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8bc4\u8bba\u4e86\u4f60\u7684\u56de\u7b54 ",this.renderAnswer());case ie.a.USER_MSG_REPLY_BE_REPLY:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u56de\u590d\u4e86\u4f60\u5728 ",this.renderAnswer()," \u7684\u8bc4\u8bba");case ie.a.USER_MSG_BE_USER_CONCERN:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u5173\u6ce8\u4e86\u4f60");case ie.a.USER_MSG_QUESTION_BE_BANNED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u7531\u4e8e\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\uff0c\u4f60\u7684\u95ee\u9898 ",this.renderQuestion()," \u5df2\u88ab\u5c01\u7981\uff0c\u8bf7\u4fee\u6539\u540e\u91cd\u65b0\u53d1\u8868");case ie.a.USER_MSG_ANSWER_BE_BANNED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u7531\u4e8e\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\uff0c\u4f60\u7684\u56de\u7b54 ",this.renderAnswer()," \u5df2\u88ab\u5c01\u7981\uff0c\u8bf7\u4fee\u6539\u540e\u91cd\u65b0\u53d1\u8868 ");case ie.a.USER_MSG_COMMENT_BE_DELETED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u7531\u4e8e\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\uff0c\u4f60\u7684\u8bc4\u8bba ",this.renderAnswerComment()," \u5df2\u88ab\u7ba1\u7406\u5458\u5220\u9664");case ie.a.USER_MSG_ANSWER_BE_SET_FEATURED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u7684\u56de\u7b54 ",this.renderAnswer()," \u88ab\u8bbe\u7f6e\u4e3a\u63a8\u8350 ");case ie.a.USER_MSG_USER_BE_BANNED:var r=t.detail.bannedType,o="\u7531\u4e8e\u4f60\u53ef\u80fd\u53d1\u8868\u4e86\u4e0d\u6b63\u5f53\u7684\u8a00\u8bba\uff0c\u4f60\u5df2\u88ab\u7ba1\u7406\u5458\u7981\u8a00\u3002\u5982\u6709\u5f02\u8bae\uff0c\u8bf7\u53d1\u8d77 ";if(0===r){var a=t.detail,i=a.bannedStartTime,c=a.bannedEndTime;o="\u7531\u4e8e\u4f60\u53ef\u80fd\u53d1\u8868\u4e86\u4e0d\u6b63\u5f53\u7684\u8a00\u8bba\uff0c\u4f60\u5df2\u88ab\u7ba1\u7406\u5458\u7981\u8a00 "+Math.ceil((c-i)/3600)+" \u5c0f\u65f6\u3002\u5982\u6709\u5f02\u8bae\uff0c\u8bf7\u53d1\u8d77 "}else 1===r&&(o="\u7531\u4e8e\u4f60\u53ef\u80fd\u53d1\u8868\u4e86\u4e0d\u6b63\u5f53\u7684\u8a00\u8bba\uff0c\u4f60\u5df2\u88ab\u7ba1\u7406\u5458\u6c38\u4e45\u7981\u8a00\u3002\u5982\u6709\u5f02\u8bae\uff0c\u8bf7\u53d1\u8d77 ");return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),o,re.a.createElement(ue.Link,{onClick:this.appealUserBan},"\u7533\u8bc9"));case ie.a.USER_MSG_USER_APPEAL_SUCCEED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u53d1\u8d77\u7684\u7981\u8a00\u7533\u8bc9\u5df2\u901a\u8fc7");case ie.a.USER_MSG_USER_APPEAL_FAILED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u53d1\u8d77\u7684\u7981\u8a00\u7533\u8bc9\u88ab\u7ba1\u7406\u5458\u9a73\u56de\uff0c\u4f60\u53ef\u4ee5 ",re.a.createElement(ue.Link,{onClick:this.appealUserBan},"\u91cd\u65b0\u7533\u8bc9"));case ie.a.USER_MSG_USER_NUMBER_BE_BANNED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u7531\u4e8e\u4f60\u53ef\u80fd\u53d1\u8868\u4e86\u4e0d\u6b63\u5f53\u7684\u8a00\u8bba\uff0c\u4f60\u5df2\u88ab\u7ba1\u7406\u5458\u5c01\u53f7");case ie.a.USER_MSG_USER_NUMBER_BE_UNBANNED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u7684\u8d26\u53f7\u5df2\u88ab\u7ba1\u7406\u5458\u89e3\u5c01\uff0c\u73b0\u5728\u4f60\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u672c\u7ad9");case ie.a.USER_MSG_USER_BE_INVITED_TO_ANSWER:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u9080\u8bf7\u4f60\u56de\u7b54\u95ee\u9898 ",this.renderQuestion());case ie.a.COLUMN_NEW_ARTICLE:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u5173\u6ce8\u7684\u4e13\u680f ",this.renderColumnLink(),"\u6709\u4e86\u65b0\u6587\u7ae0");case ie.a.COLUMN_ARTICLE_LIKED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8d5e\u4e86\u4f60\u7684\u6587\u7ae0 ",this.renderArticle());case ie.a.COLUMN_INVITED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u9080\u8bf7\u4f60\u52a0\u5165\u4e13\u680f ",this.renderColumnInvite());case ie.a.COLUMN_JOIN:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u52a0\u5165\u4e86\u4f60\u7684\u4e13\u680f ",this.renderColumnLink());case ie.a.COLUMN_CONCERN:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8ba2\u9605\u4e86\u4f60\u7684\u4e13\u680f ",this.renderColumnLink());case ie.a.COLUMN_ARTICLE_COMMENT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8bc4\u8bba\u4e86\u4f60\u7684\u6587\u7ae0 ",this.renderArticle());case ie.a.COLUMN_COMMENT_REPLY:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u56de\u590d\u4e86\u4f60\u5728\u6587\u7ae0 ",this.renderArticle()," \u7684\u8bc4\u8bba");case ie.a.COLUMN_ARTICLE_REJECTED:var u=(t.detail||{}).reasonId;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u7684\u6587\u7ae0 ",this.renderArticle()," \u88ab\u9a73\u56de\uff0c",Boolean(u&&ae.b[u])&&"\u9a73\u56de\u539f\u56e0\uff1a"+ae.b[u]+"\u3002","\u8bf7\u4fee\u6539\u540e\u91cd\u65b0\u63d0\u4ea4");case ie.a.COLUMN_BANNED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u7684\u4e13\u680f ",this.renderColumnLink()," \u88ab\u5c01\u7981");case ie.a.GROWTH_ARTICLE_FIRST_BLOOD:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u606d\u559c\uff0c\u4f60\u7684\u6587\u7ae0 ",this.renderArticle()," \u5df2\u88ab\u793e\u533a\u8fd0\u8425\u540c\u5b66\u786e\u5b9a\u4e3a\u539f\u521b\u9996\u53d1\uff0c\u6210\u957f\u503c+4");case ie.a.GROWTH_AWARD_VOUCHER_APPLY_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderVoucherAwards());case ie.a.GROWTH_AWARD_MATERIAL_APPLY_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderMaterialAwards());case ie.a.GROWTH_AWARD_APPLY_NOT_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u7684\u9886\u53d6\u7533\u8bf7\u6ca1\u6709\u901a\u8fc7\u5b98\u65b9\u5ba1\u6838 ");case ie.a.SUPPORT_PLAN_APPLY_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u7684\u81ea\u5a92\u4f53\u5206\u4eab\u8ba1\u5212\u6d3b\u52a8\u7533\u8bf7\u5df2\u901a\u8fc7\u5b98\u65b9\u5ba1\u6838\u3002 ",re.a.createElement(ue.Link,{to:"/support-plan-passed",target:"_blank"},"\u9a6c\u4e0a\u9886\u53d6"));case ie.a.SUPPORT_PLAN_APPLY_REJECT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u7684\u81ea\u5a92\u4f53\u5206\u4eab\u8ba1\u5212\u6d3b\u52a8\u7533\u8bf7\u6ca1\u6709\u901a\u8fc7\u5b98\u65b9\u5ba1\u6838\uff0c",re.a.createElement(ue.Link,{to:"/support-plan-apply",target:"_blank"},"\u67e5\u770b\u539f\u56e0"));case ie.a.UPDATE_WECHAT_MP_APPLY_PASS:var s=this.props.session,l=t.detail.nickName,f=s.uid;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u606d\u559c\uff01\u4f60\u7684\u5fae\u4fe1\u516c\u4f17\u53f7\u66f4\u540d\u4e3a "+l+" \u7684\u7533\u8bf7\u5df2\u901a\u8fc7\uff0c",re.a.createElement(ue.Link,{to:"/user/"+f+"/articles",target:"_blank"},"\u70b9\u51fb\u67e5\u770b")," \u4f60\u7684\u6587\u7ae0");case ie.a.UPDATE_WECHAT_MP_APPLY_REJECT:var p=t.detail,d=p.nickName,m=p.reason;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u7684\u5fae\u4fe1\u516c\u4f17\u53f7\u66f4\u540d\u4e3a "+d+" \u7684\u7533\u8bf7\u672a\u901a\u8fc7",m?"\uff08\u9a73\u56de\u539f\u56e0\uff1a"+m+"\uff09":"","\u3002\u5982\u6709\u9700\u8981\uff0c\u8bf7 24 \u5c0f\u65f6\u540e\u518d\u6b21\u5c1d\u8bd5\u3002");case ie.a.TRANSLATION_APPLY_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u606d\u559c\uff01\u4f60\u5df2\u7ecf\u6210\u529f\u52a0\u5165\u4e91+\u793e\u533a\u7ffb\u8bd1\u793e\uff0c\u7cfb\u7edf\u5956\u52b1\u4f60 10 \u4e2a\u6210\u957f\u503c\u3002\u8bf7\u52a0\u5165\u5b98\u65b9QQ\u7fa4\u4e0e\u5927\u5bb6\u5171\u540c\u4ea4\u6d41\u5427\uff1a577670611\u3002 ");case ie.a.TRANSLATION_APPLY_REJECTED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u63d0\u4ea4\u7684\u52a0\u5165\u7ffb\u8bd1\u793e\u7684\u7533\u8bf7\u672a\u80fd\u901a\u8fc7\u5b98\u65b9\u5ba1\u6838 ",re.a.createElement(ue.Link,{to:"/translation/apply"},"\u91cd\u65b0\u7533\u8bf7"));case ie.a.TRANSLATION_APPLY_DISMISS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u5df2\u7ecf\u88ab\u7ffb\u8bd1\u793e\u8f9e\u9000 ");case ie.a.TRANSLATION_PASSED:var h=t.detail.changeGrowth,v=Number(void 0===h?0:h);return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderArticle()," \u5df2\u88ab\u5b98\u65b9\u5ba1\u6838\u901a\u8fc7\uff0c"+(0!==v?"\u5e76\u83b7\u5f97\u5b98\u65b9\u5956\u52b1\u7684 "+v+" \u4e2a\u6210\u957f\u503c\u3002":"")+"\u53ef\u4ee5\u67e5\u770b\u4e2a\u4eba\u4e2d\u5fc3\u627e\u5230\u8be5\u6587\u7ae0\u3002\u611f\u8c22\u4f60\u5bf9\u4e91+\u793e\u533a\u7684\u559c\u7231\u548c\u652f\u6301\uff01");case ie.a.TRANSLATION_ADOPTED:var y=t.detail.changeGrowth,b=Number(void 0===y?0:y);return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u606d\u559c\uff01\u4f60\u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderArticle()," \u5df2\u88ab\u5b98\u65b9\u91c7\u7eb3\uff0c"+(0!==b?"\u4f60\u7531\u6b64\u83b7\u5f97\u4e86 "+b+" \u4e2a\u6210\u957f\u503c\uff0c":"")+"\u611f\u8c22\u4f60\u5bf9\u4e91+\u793e\u533a\u7684\u559c\u7231\u4e0e\u652f\u6301\u54e6\uff01");case ie.a.TRANSLATION_HAS_NEW_TASKS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u7ffb\u8bd1\u793e\u6d3b\u52a8 ",this.renderActivity()," \u706b\u70ed\u51fa\u7089\u4e86\uff0c\u8bd1\u5458\u4eec\u5feb\u53bb\u770b\u770b\u6709\u54ea\u4e9b\u65b0\u4efb\u52a1\u7b49\u5f85\u7740\u4f60\u4eec\u5427\u3002");case ie.a.TRANSLATION_ACTIVITY_RESULT_PUBLISHED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u7ffb\u8bd1\u793e\u6d3b\u52a8 ",this.renderActivity()," \u516c\u5e03\u7ed3\u679c\u4e86\uff0c\u5feb\u53bb\u770b\u770b\u5427\u3002");case ie.a.TRANSLATION_BE_REJECTED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderTask()," \u7ecf\u8fc7\u5b98\u65b9\u8ba4\u771f\u5ba1\u6838\u8bc4\u4f30\u540e\uff0c\u5df2\u88ab\u5b98\u65b9\u9a73\u56de\uff0c\u8bf7\u91cd\u65b0\u4f18\u5316\u7f16\u8f91\u540e\u518d\u63d0\u4ea4\u5b98\u65b9\u5ba1\u6838\u3002\u8c22\u8c22\uff01");case ie.a.TRANSLATION_BE_REJECTED_PERMANENTLY:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderTask()," \u7ecf\u8fc7\u5b98\u65b9\u8ba4\u771f\u5ba1\u6838\u8bc4\u4f30\u540e\uff0c\u5df2\u88ab\u5b98\u65b9\u6c38\u4e45\u9a73\u56de\u3002");case ie.a.TRANSLATION_BE_DEDUCTED_MARKS:var g=t.detail.changeGrowth,w=void 0===g?0:g,E=Math.abs(w);return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u7531\u4e8e\u4f60\u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderArticle()," \u6d89\u5acc\u6284\u88ad\u6216\u8005\u5305\u542b\u4e0d\u5229\u4e8e\u793e\u533a\u548c\u8c10\u7684\u654f\u611f\u4fe1\u606f\uff0c\u5bf9\u793e\u533a\u7528\u6237\u9020\u6210\u4e86\u4e0d\u826f\u5f71\u54cd\uff0c\u6240\u4ee5\u5b98\u65b9\u5df2\u7ecf\u5c06\u5176\u5220\u9664"+(0!==E?"\uff0c\u5e76\u6263\u9664\u4f60 "+E+" \u4e2a\u6210\u957f\u503c\u3002":""));case ie.a.TRANSLATION_INVITATION_ACCEPTED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u9080\u8bf7\u7684\u597d\u53cb ",re.a.createElement(ue.UserLink,{user:t.invitedUserDetail||{}})," \u6210\u529f\u52a0\u5165\u7ffb\u8bd1\u793e\u4e86\uff0c\u611f\u8c22\u4f60\u5bf9\u7ffb\u8bd1\u793e\u7684\u652f\u6301\uff01");case ie.a.TRANSLATION_INVITED_USER_ARTICLE_BE_ACCEPTED:var O=t.detail.changeGrowth,k=void 0===O?10:O;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u9080\u8bf7\u7684\u597d\u53cb ",re.a.createElement(ue.UserLink,{user:t.invitedUserDetail||{}})," \u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderArticle()," \u5df2\u88ab\u5b98\u65b9\u901a\u8fc7\u3002\u7cfb\u7edf\u5956\u52b1\u4f60 "+k+" \u4e2a\u6210\u957f\u503c\u3002");case ie.a.TRANSLATION_INVITED_USER_ARTICLE_BE_ADOPTED:var _=t.detail.changeGrowth,C=void 0===_?10:_;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4f60\u9080\u8bf7\u7684\u597d\u53cb ",re.a.createElement(ue.UserLink,{user:t.invitedUserDetail||{}})," \u7ffb\u8bd1\u7684\u6587\u7ae0 ",this.renderArticle()," \u5df2\u88ab\u5b98\u65b9\u91c7\u7eb3\u3002\u7cfb\u7edf\u5956\u52b1\u4f60 "+C+" \u4e2a\u6210\u957f\u503c\u3002");case ie.a.DEVDOC_AUDIT_ACCEPT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},"\u4f60\u63d0\u4ea4\u7684\u5f00\u53d1\u8005\u624b\u518c\u7ea0\u9519\u5df2\u88ab\u91c7\u7528 ",this.renderDevdocLink());case ie.a.DEVDOC_AUDIT_REJECT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},"\u4f60\u63d0\u4ea4\u7684\u5f00\u53d1\u8005\u624b\u518c\u7ea0\u9519\u6ca1\u6709\u901a\u8fc7\u5ba1\u6838 ",this.renderDevdocLink());case ie.a.PROFESSION_VERIFICATION_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u606d\u559c\uff01\u4f60\u63d0\u4ea4\u7684\u804c\u4e1a\u8ba4\u8bc1\u7533\u8bf7\u5df2\u901a\u8fc7",re.a.createElement("br",null),re.a.createElement(ue.Link,{to:"/user/settings"+oe.e.PROFESSION_VERIFICATION},"\u70b9\u51fb\u67e5\u770b"));case ie.a.PROFESSION_VERIFICATION_REJECT:var N=t.detail.message;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u62b1\u6b49\uff01\u4f60\u63d0\u4ea4\u7684\u804c\u4e1a\u8ba4\u8bc1\u7533\u8bf7\u672a\u901a\u8fc7",0<String(N).length&&"\uff08\u9a73\u56de\u539f\u56e0\uff1a"+N+"\uff09",re.a.createElement("br",null),re.a.createElement(ue.Link,{to:"/user/settings"+oe.e.PROFESSION_VERIFICATION},"\u70b9\u51fb\u91cd\u65b0\u7533\u8bf7"));case ie.a.COLUMN_JOIN_APPLY:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u7533\u8bf7\u52a0\u5165\u4f60\u7684\u4e13\u680f ",this.renderColumnApply());case ie.a.COLUMN_JOIN_APPLY_REJECT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u62d2\u7edd\u4e86\u4f60\u52a0\u5165\u4e13\u680f ",this.renderColumnLink()," \u7684\u7533\u8bf7");case ie.a.SALON_ENROLL_ACTIVITY_REMIND:var T=t.salonDetail,S=T.id,P=T.basicInfo,R=P.title,I=P.seriesName,j=P.beginTime,x=P.address,A=P.place,L="/salon/salon-"+S;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u62a5\u540d\u53c2\u52a0\u7684\u6c99\u9f99\u6d3b\u52a8",re.a.createElement(ue.Link,{to:L},"\u300a"+[I,R].filter(Boolean).join("--")+"\u300b"),"\u5c06\u4e8e "+ne.i(ce.formatDate)(j,"yyyy-mm-dd HH:MM")+" \u5728 ",re.a.createElement("b",null,x+(A?"\uff08"+A+"\uff09":""))," \u4e3e\u529e\uff0c\u671f\u5f85\u4f60\u7684\u5149\u4e34\uff01");case ie.a.SALON_SUBSCRIBED_LIVE_BEGIN:var D=t.salonDetail,M=D.id,B=D.type,U=D.basicInfo,q=U.title,F=U.seriesName,H="/salon/"+(B===le?"salon":"live")+"-"+M;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u9884\u7ea6\u7684\u6c99\u9f99\u6d3b\u52a8\u300a"+[F,q].filter(Boolean).join("--")+"\u300b\u6b63\u5728\u76f4\u64ad\u4e2d\uff0c",re.a.createElement(ue.Link,{to:H},"\u70b9\u51fb\u89c2\u770b"));case ie.a.SALON_USER_COMMENT_ACTIVITY:var W=t.salonDetail,G=W.id,V=W.type,K=W.basicInfo,z=K.title,Q=K.seriesName,Y="/salon/"+(V===le?"salon":"live")+"-"+G+"/comments";return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u8bc4\u8bba\u4e86\u4f60\u4e3b\u529e\u7684\u6c99\u9f99\u6d3b\u52a8\u300a"+[Q,z].filter(Boolean).join("--")+"\u300b\uff0c",re.a.createElement(ue.Link,{to:Y},"\u70b9\u51fb\u67e5\u770b"));case ie.a.ORIGINAL_SHARING_JOIN_APPLY_PASS:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u606d\u559c\uff01\u4f60\u7533\u8bf7\u7684\u817e\u8baf\u4e91\u539f\u521b\u5206\u4eab\u8ba1\u5212\u5df2\u5ba1\u6838\u901a\u8fc7\uff0c\u4f60\u53ef\u4ee5\u5728\u4e91+\u793e\u533a\u53d1\u5e03\u53ca\u5206\u4eab\u539f\u521b\u6587\u7ae0\uff0c",re.a.createElement("br",null),re.a.createElement(ue.Link,{to:"/original-sharing/articles"},"\u70b9\u51fb\u67e5\u770b")," \u4f60\u7684\u6587\u7ae0 ");case ie.a.ORIGINAL_SHARING_JOIN_APPLY_REJECT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u7684\u817e\u8baf\u4e91\u539f\u521b\u5206\u4eab\u8ba1\u5212\u6d3b\u52a8\u7533\u8bf7\u6ca1\u6709\u901a\u8fc7\u5b98\u65b9\u5ba1\u6838\uff0c",re.a.createElement(ue.Link,{to:"/original-sharing",target:"_blank"},"\u67e5\u770b\u539f\u56e0"));case ie.a.ORIGINAL_SHARING_ARTICLE_BE_REJECTED:var J=t.detail,X=void 0===J?{}:J,Z=t.articleDetails,$=void 0===Z?{}:Z,ee=X.message,te=void 0===ee?"":ee;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u53c2\u52a0\u539f\u521b\u5206\u4eab\u8ba1\u5212\u7684\u6587\u7ae0 ",re.a.createElement(se.a,{article:$}),te?" \u88ab\u9a73\u56de\uff0c\u9a73\u56de\u539f\u56e0\uff1a"+te:" \u88ab\u9a73\u56de\u3002");case ie.a.ORIGINAL_SHARING_USER_INVITATION:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u4eb2\u7231\u7684\u4f5c\u8005\u4f60\u597d\uff0c\u4f60\u8fc7\u53bb\u53d1\u8868\u4e8e\u817e\u8baf\u4e91+\u793e\u533a\u7684\u6587\u7ae0\u4f53\u73b0\u51fa\u4e86\u8d85\u5353\u4e2a\u4eba\u80fd\u529b\u548c\u4e13\u4e1a\u6c34\u51c6\uff0c\u817e\u8baf\u4e91+\u793e\u533a\u73b0\u8bda\u9080\u4f60\u52a0\u5165\u539f\u521b\u5206\u4eab\u8ba1\u5212\uff0c\u6210\u4e3a\u9996\u6279\u8fdb\u5165\u8363\u8a89\u4f53\u7cfb\u7684\u4f5c\u8005\u3002\u6211\u4eec\u4e3a\u4f60\u51c6\u5907\u4e86 10 \u5927\u4e13\u5c5e\u798f\u5229\uff0c\u671f\u5f85\u4f60\u7684\u52a0\u5165\u3002",re.a.createElement(ue.Link,{to:"/original-sharing"}," \u70b9\u51fb\u8fd9\u91cc "),"\u4e86\u89e3\u8be6\u60c5");case ie.a.TEAM_PUBLISH_POST:t.teamDetail,t.postDetail;return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u5173\u6ce8\u7684\u56e2\u961f ",this.renderTeamLink()," \u53d1\u5e03\u4e86\u65b0\u7684\u4ea7\u54c1\u52a8\u6001 ",this.renderPostLink());case ie.a.TEAM_POST_REPLY_COMMENT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),this.renderUsers()," \u56de\u590d\u4e86\u4f60\u5728 ",this.renderTeamLink()," \u4e2d\u4ea7\u54c1\u52a8\u6001 ",this.renderPostLink()," \u7684\u8bc4\u8bba");case ie.a.USER_INFO_AUDIT_REJECTED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u63d0\u4ea4\u7684\u4e2a\u4eba\u8d44\u6599\u4fee\u6539\u672a\u901a\u8fc7\u5ba1\u6838",re.a.createElement("br",null),re.a.createElement(ue.Link,{to:"/user/"+t.detail.receiverUid},"\u70b9\u51fb\u67e5\u770b"));case ie.a.COLUMN_INFO_AUDIT_REJECTED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u63d0\u4ea4\u7684\u4e13\u680f\u4fe1\u606f\u4fee\u6539\u672a\u901a\u8fc7\u5ba1\u6838\uff0c",t.detail.message?"\u9a73\u56de\u539f\u56e0\uff1a"+t.detail.message+" ":"",re.a.createElement(ue.Link,{to:"/column/"+t.detail.columnId},"\u70b9\u51fb\u67e5\u770b"));case ie.a.ARTICLE_INFO_AUDIT_REJECTED:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark(),"\u4f60\u63d0\u4ea4\u7684\u6587\u7ae0\u4fe1\u606f\u4fee\u6539\u672a\u901a\u8fc7\u5ba1\u6838",re.a.createElement("br",null),re.a.createElement(ue.Link,{to:"/article/"+t.detail.articleId},"\u70b9\u51fb\u67e5\u770b"));case ie.a.SELF_RECOMMENDATION_ARTICLE_REJECT:return re.a.createElement("li",{className:n,onClick:this.markNotifierRead},this.renderUnreadMark()," \u62b1\u6b49\uff01\u4f60\u81ea\u8350\u7684\u6587\u7ae0 ",this.renderArticle(),t.detail.reason?" \u88ab\u9a73\u56de\uff0c\u9a73\u56de\u539f\u56e0\uff1a"+t.detail.reason+"\u3002\u67e5\u770b":" \u88ab\u9a73\u56de\u3002\u67e5\u770b",re.a.createElement(ue.Link,{to:"/article/1442615",target:"_blank"}," \u9ad8\u5206\u6587\u7ae0\u653b\u7565"));default:return null}}},{key:"renderTeamLink",value:function(){var e=this.props.data;return e.teamDetail?re.a.createElement(g.a,{team:e.teamDetail}):null}},{key:"renderPostLink",value:function(){var e=this.props.data;return e.postDetail?re.a.createElement(w.a,{post:e.postDetail}):null}}]),a}(),r.propTypes={data:u.a.object.isRequired},n=o))||n},qRfI:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},qT94:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={TO_BE_VERIFIED:0,REJECTED:1,PASS:2,DISMISSED:3}},qcG4:function(e,t,c){"use strict";c.d(t,"a",function(){return w});var n,r,o=c(0),a=c.n(o),i=c("KSGD"),u=c.n(i),s=c(2),l=c.n(s),f=c("rdLu"),p=c.n(f),d=c("UVf0"),m=(c.n(d),c("PNJI")),h=c("xt0B"),v=c("pwtL"),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var w=(r=n=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=g(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={visible:!1},n.toggleVisible=p.a.throttle(function(){var e=n.props.visibilityThreshold,t=l()(window).scrollTop();n.setState({visible:e<t})},200),n.scrollToTop=function(){return c.i(h.scrollDocument)({left:0,top:0})},g(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),b(i,[{key:"render",value:function(){var e=this.props.transitionType;return a.a.createElement(d.CSSTransitionGroup,y({component:v.FirstChild},"slide"===e?m.transition.slide({enterPosition:{x:0,y:-44}}):m.transition.scale()),this.renderContent())}},{key:"renderContent",value:function(){return this.state.visible?a.a.createElement("button",{className:this.props.className,title:"\u8fd4\u56de\u9876\u90e8",onClick:this.scrollToTop,style:{outline:"none"},hotrep:"community.edge-widget.back2top"},"\u8fd4\u56de\u9876\u90e8"):null}},{key:"componentDidMount",value:function(){l()(window).on("scroll",this.toggleVisible)}},{key:"componentWillUnmount",value:function(){l()(window).off("scroll",this.toggleVisible)}}]),i}(),n.propTypes={className:u.a.string,visibilityThreshold:u.a.number.isRequired,transitionType:u.a.oneOf(["slide","scale"])},n.defaultProps={className:"widget-btn widget-back2top",visibilityThreshold:200,transitionType:"slide"},r)},qct8:function(e,t,n){"use strict";var r=n("YoH/");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},qhgf:function(e,t,n){"use strict";var r=n("Pca+");n.d(t,"a",function(){return r.a})},qio6:function(e,t,n){var i=n("evD5"),c=n("77Pl"),u=n("lktj");e.exports=n("+E39")?Object.defineProperties:function(e,t){c(e);for(var n,r=u(t),o=r.length,a=0;a<o;)i.f(e,n=r[a++],t[n]);return e}},qssP:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),p(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.title,r=e.children,o=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","title","children"]);return i.a.createElement("section",f({className:l()("com-3-sub-section",t)},o),n&&i.a.createElement("div",{className:"com-3-sub-section-hd"},i.a.createElement("h2",{className:"com-3-sub-section-title"},n)),i.a.createElement("div",{className:"com-3-sub-section-bd"},r))}}]),t}(),r.propTypes={className:u.a.string,title:u.a.string},o)},"qzI/":function(e,t,n){"use strict"},qzIt:function(e,t,u){"use strict";var s=u("EnvB");t.a=function(e,t,n,r,o){var a=u.i(s.a)(t,n[1]),i=u.i(s.a)(e,n[0]),c=[i.left-a.left,i.top-a.top];return{left:e.left-c[0]+r[0]-o[0],top:e.top-c[1]+r[1]-o[1]}}},qzhA:function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n,r,o,i,c=a(0),T=a.n(c),u=a("KSGD"),s=a.n(u),l=a("HW6M"),S=a.n(l),P=a("UVf0"),f=(a.n(P),a("xt0B")),R=a("PNJI"),p=a("MCil"),I=a("pwtL"),j=a("9C8i"),x=a("Hovz"),A=a("pVr6"),L=a("OBh5"),D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=a.i(f.connectSession)()((o=r=function(e){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));i.call(t);var n=e.comment.subCommentList||[],r=n.slice(0,j.ShowSubCommentCountInit);return t.state={replyOpen:!1,showTotalReply:!1,subCommentList:r||[],total:n&&n.length||0},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,c["Component"]),d(o,[{key:"render",value:function(){var t=this,e=this.props,n=e.session,r=e.question,o=e.answer,a=e.comment,i=e.style,c=this.state,u=c.replyOpen,s=c.showTotalReply,l=c.subCommentList,f=(c.total,n.profile),p=f.id,d=f.hasBanPrivilege,m=a.author,h=a.content,v=a.writeTime,y=a.upvoteCount,b=a.parentCommentAuthor,g=a.parentCommentId,w=a.status,E=m.id===p,O=!(!g||!b),k=!E,_=Boolean(E||d),C=Boolean(w===j.QuestionCommentType.DELETED&&!h),N=a.subCommentList?a.subCommentList.length-j.ShowSubCommentCountInit:0;return T.a.createElement("section",{className:S()("com-comment-panel editting",{"is-reply":O}),style:i},!O&&T.a.createElement(I.MediaLayout,{className:"com-comment-panel-author"},T.a.createElement(I.UserCard,{userId:m.id,showFollowUserButton:!0},T.a.createElement(I.UserAvatar,{user:m}))),T.a.createElement(P.CSSTransitionGroup,D({component:"div",className:"com-comment-panel-bd"},R.transition.slide()),T.a.createElement("div",{className:"c-markdown style-small com-comment-panel-markdown"},T.a.createElement("p",null,T.a.createElement("span",{className:"com-comment-panel-names"},T.a.createElement(I.Link,{to:"/user/"+m.id,className:"name"},m.name),O&&T.a.createElement("span",{className:"weak-text"},"\u56de\u590d"),O&&T.a.createElement(I.Link,{to:"/user/"+b.id,className:"name"},b.name),"\uff1a"),C?T.a.createElement("span",{className:"com-comment-panel-deleted-text"},"\u8bc4\u8bba\u5df2\u5220\u9664"):h)),C?T.a.createElement("span",{className:"com-comment-panel-time"},T.a.createElement(I.EventDisplay,{event:{type:"commented",time:v},className:"com-opt-link"})):T.a.createElement(I.OperationBar,null,T.a.createElement(A.a,{currentVoteCount:y,onCheck:this.checkVote,onBeforeToggle:this.checkCanParticipate,onToggle:this.toggleVote}),k&&T.a.createElement(I.Link,{onClick:this.toggleReply,className:"com-opt-link link-comment"},T.a.createElement("i",{className:"com-i-dialog"}),T.a.createElement("span",{className:"name"},"\u56de\u590d")),_&&T.a.createElement(I.Link,{onClick:this.deleteComment,className:"com-opt-link link-delete"},T.a.createElement("i",{className:"com-i-delete"}),T.a.createElement("span",{className:"name"},"\u5220\u9664")),T.a.createElement("div",{className:"extra-part"},T.a.createElement(I.EventDisplay,{event:{type:"commented",time:v},className:"com-opt-link"}))),u&&T.a.createElement(x.a,{question:r,answer:o,parentComment:a,onReply:this.onReply,onCancel:this.toggleReply,autoFocus:!0})),l.length?T.a.createElement(P.CSSTransitionGroup,D({component:"div",className:"com-comment-panel-replies"},R.transition.slide()),l.map(function(e){return T.a.createElement(L.a,{key:e.id,session:n,question:r,answer:o,comment:e,onReply:function(e){t.insertReply(e)},onDelete:t.deleteReplyComment,onUpdateCommentCount:t.props.onUpdateCommentCount,isSecondReply:!0})})):null,Boolean(0<N&&!s)?T.a.createElement("div",{className:"popup-ft"},T.a.createElement(I.Link,{href:"javascript:;",onClick:function(){return t.setState({showTotalReply:!0,subCommentList:l.concat(a.subCommentList.slice(j.ShowSubCommentCountInit))||[]})}},"\u5c55\u5f00\u5269\u4f59 "+N+" \u6761\u8bc4\u8bba")):null)}},{key:"insertReply",value:function(e){var t=this.props,n=t.onUpdateCommentCount,r=t.answer,o=this.state,a=o.total,i=o.subCommentList;i=i.concat(e),this.setState({total:a+1,subCommentList:i},function(){n({commentCount:r.commentCount+1})})}}]),o}(),r.propTypes={question:s.a.object.isRequired,answer:s.a.object.isRequired,comment:s.a.object.isRequired,onReply:s.a.func,onDelete:s.a.func.isRequired},i=function(){var l=this;this.onReply=function(e){var t=l.props.isSecondReply;l.setState({replyOpen:!1}),setTimeout(function(){t?l.props.onReply(e):l.insertReply(e)},300)},this.deleteReplyComment=function(e){var t=e.commentId,n=l.props,r=n.onUpdateCommentCount,o=n.answer,a=l.state,i=a.total,c=a.subCommentList,u=c.findIndex(function(e){return e.id===t}),s=c;~u&&(s[u]=D({},c[u],{status:j.QuestionCommentType.DELETED,content:""}),l.setState({total:i-1,subCommentList:s},function(){r({commentCount:o.commentCount-1})}))},this.toggleReply=function(){l.checkCanParticipate()&&l.setState(function(e){return{replyOpen:!e.replyOpen}})},this.deleteComment=function(){var e,t;l.checkCanParticipate()&&I.Dialog.confirm({content:"\u786e\u8ba4\u5220\u9664\u8be5\u8bc4\u8bba\u5417\uff1f",confirmText:"\u786e\u5b9a\u5220\u9664",onConfirm:(e=regeneratorRuntime.mark(function e(){var t,n,r,o,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=l.props,n=t.question,r=t.answer,o=t.comment,a=t.onDelete,e.next=3,p.h.deleteComment({questionId:n.id,answerId:r.id,commentId:o.id});case 3:setTimeout(function(){I.Dialog.hide(),I.MessageTip.show({type:"info",message:"\u8bc4\u8bba\u5220\u9664\u6210\u529f"}),a({commentId:o.id})},0);case 4:case"end":return e.stop()}},e,l)}),t=function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(){return t.apply(this,arguments)})})},this.checkCanParticipate=function(){var e=l.props,t=e.session,n=e.question,r=e.answer;if(t.isLogined)return!0;var o=a.i(f.getAbsoluteRouteUrl)("/ask/"+n.id+"/answer/"+r.id);return R.login.show({s_url:o}),!1},this.checkVote=function(){return p.h.checkCommentVote({questionId:l.props.question.id,commentId:l.props.comment.id})},this.toggleVote=function(e){return p.h.toggleCommentVote({questionId:l.props.question.id,answerId:l.props.answer.id,commentId:l.props.comment.id,vote:e})}},n=o))||n},"r+5c":function(e,t,n){"use strict";t.a=function(e){var t=e.pageNumber,n=e.pageSize;return r.call("FetchPastSpecials",{pageNumber:t,pageSize:n})};var r=new(n("cT2K").a)("developer/special")},"r5n/":function(e,t,n){"use strict";t.a=function(e){var t=e||{},n=t.blocks,r=t.entityMap;return r&&Array.isArray(n)&&(n=n.filter(function(e){if("atomic"===e.type){var t=o(e.entityRanges,1)[0];if(t){var n=r[t.key];if(n&&"IMAGE"===n.type&&!a(n.data.imageUrl))return delete r[t.key],!1}}return!0}),Object.assign(e,{blocks:n})),e};var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=n("xt0B").isValidUrl},rPPc:function(e,t,n){"use strict";t.a=function(e,t){var n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}},rQFb:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.onClick,r=e.children;return o.a.createElement("div",{className:i()("c-loading","c-loading-tip",t),style:{cursor:"pointer"},onClick:n},o.a.createElement(c.a,{className:"loading-more"},r))};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a),c=n("2h0h")},rTSy:function(e,t,n){"use strict";var a=n("YYEd");t.a=function(e){var t=void 0,n=void 0,r=void 0;if(a.a.isWindow(e)||9===e.nodeType){var o=a.a.getWindow(e);t={left:a.a.getWindowScrollLeft(o),top:a.a.getWindowScrollTop(o)},n=a.a.viewportWidth(o),r=a.a.viewportHeight(o)}else t=a.a.offset(e),n=a.a.outerWidth(e),r=a.a.outerHeight(e);return t.width=n,t.height=r,t}},rdLu:function(H,W,e){var G;(function(){var e=this,t=e._,r=Array.prototype,i=Object.prototype,n=Function.prototype,o=r.push,u=r.slice,f=i.toString,a=i.hasOwnProperty,c=Array.isArray,s=Object.keys,l=n.bind,p=Object.create,d=function(){},m=function(e){return e instanceof m?e:this instanceof m?void(this._wrapped=e):new m(e)};void 0!==H&&H.exports&&(W=H.exports=m),(W._=m).VERSION="1.8.3";var h=function(o,a,e){if(void 0===a)return o;switch(null==e?3:e){case 1:return function(e){return o.call(a,e)};case 2:return function(e,t){return o.call(a,e,t)};case 3:return function(e,t,n){return o.call(a,e,t,n)};case 4:return function(e,t,n,r){return o.call(a,e,t,n,r)}}return function(){return o.apply(a,arguments)}},v=function(e,t,n){return null==e?m.identity:m.isFunction(e)?h(e,t,n):m.isObject(e)?m.matcher(e):m.property(e)};m.iteratee=function(e,t){return v(e,t,1/0)};var y=function(u,s){return function(e){var t=arguments.length;if(t<2||null==e)return e;for(var n=1;n<t;n++)for(var r=arguments[n],o=u(r),a=o.length,i=0;i<a;i++){var c=o[i];s&&void 0!==e[c]||(e[c]=r[c])}return e}},b=function(e){if(!m.isObject(e))return{};if(p)return p(e);d.prototype=e;var t=new d;return d.prototype=null,t},g=function(t){return function(e){return null==e?void 0:e[t]}},w=Math.pow(2,53)-1,E=g("length"),O=function(e){var t=E(e);return"number"==typeof t&&0<=t&&t<=w};function k(c){return function(e,t,n,r){t=h(t,r,4);var o=!O(e)&&m.keys(e),a=(o||e).length,i=0<c?0:a-1;return arguments.length<3&&(n=e[o?o[i]:i],i+=c),function(e,t,n,r,o,a){for(;0<=o&&o<a;o+=c){var i=r?r[o]:o;n=t(n,e[i],i,e)}return n}(e,t,n,o,i,a)}}m.each=m.forEach=function(e,t,n){var r,o;if(t=h(t,n),O(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var a=m.keys(e);for(r=0,o=a.length;r<o;r++)t(e[a[r]],a[r],e)}return e},m.map=m.collect=function(e,t,n){t=v(t,n);for(var r=!O(e)&&m.keys(e),o=(r||e).length,a=Array(o),i=0;i<o;i++){var c=r?r[i]:i;a[i]=t(e[c],c,e)}return a},m.reduce=m.foldl=m.inject=k(1),m.reduceRight=m.foldr=k(-1),m.find=m.detect=function(e,t,n){var r;if(void 0!==(r=O(e)?m.findIndex(e,t,n):m.findKey(e,t,n))&&-1!==r)return e[r]},m.filter=m.select=function(e,r,t){var o=[];return r=v(r,t),m.each(e,function(e,t,n){r(e,t,n)&&o.push(e)}),o},m.reject=function(e,t,n){return m.filter(e,m.negate(v(t)),n)},m.every=m.all=function(e,t,n){t=v(t,n);for(var r=!O(e)&&m.keys(e),o=(r||e).length,a=0;a<o;a++){var i=r?r[a]:a;if(!t(e[i],i,e))return!1}return!0},m.some=m.any=function(e,t,n){t=v(t,n);for(var r=!O(e)&&m.keys(e),o=(r||e).length,a=0;a<o;a++){var i=r?r[a]:a;if(t(e[i],i,e))return!0}return!1},m.contains=m.includes=m.include=function(e,t,n,r){return O(e)||(e=m.values(e)),("number"!=typeof n||r)&&(n=0),0<=m.indexOf(e,t,n)},m.invoke=function(e,n){var r=u.call(arguments,2),o=m.isFunction(n);return m.map(e,function(e){var t=o?n:e[n];return null==t?t:t.apply(e,r)})},m.pluck=function(e,t){return m.map(e,m.property(t))},m.where=function(e,t){return m.filter(e,m.matcher(t))},m.findWhere=function(e,t){return m.find(e,m.matcher(t))},m.max=function(e,r,t){var n,o,a=-1/0,i=-1/0;if(null==r&&null!=e)for(var c=0,u=(e=O(e)?e:m.values(e)).length;c<u;c++)n=e[c],a<n&&(a=n);else r=v(r,t),m.each(e,function(e,t,n){o=r(e,t,n),(i<o||o===-1/0&&a===-1/0)&&(a=e,i=o)});return a},m.min=function(e,r,t){var n,o,a=1/0,i=1/0;if(null==r&&null!=e)for(var c=0,u=(e=O(e)?e:m.values(e)).length;c<u;c++)(n=e[c])<a&&(a=n);else r=v(r,t),m.each(e,function(e,t,n){((o=r(e,t,n))<i||o===1/0&&a===1/0)&&(a=e,i=o)});return a},m.shuffle=function(e){for(var t,n=O(e)?e:m.values(e),r=n.length,o=Array(r),a=0;a<r;a++)(t=m.random(0,a))!==a&&(o[a]=o[t]),o[t]=n[a];return o},m.sample=function(e,t,n){return null==t||n?(O(e)||(e=m.values(e)),e[m.random(e.length-1)]):m.shuffle(e).slice(0,Math.max(0,t))},m.sortBy=function(e,r,t){return r=v(r,t),m.pluck(m.map(e,function(e,t,n){return{value:e,index:t,criteria:r(e,t,n)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(r<n||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var _=function(i){return function(r,o,e){var a={};return o=v(o,e),m.each(r,function(e,t){var n=o(e,t,r);i(a,e,n)}),a}};m.groupBy=_(function(e,t,n){m.has(e,n)?e[n].push(t):e[n]=[t]}),m.indexBy=_(function(e,t,n){e[n]=t}),m.countBy=_(function(e,t,n){m.has(e,n)?e[n]++:e[n]=1}),m.toArray=function(e){return e?m.isArray(e)?u.call(e):O(e)?m.map(e,m.identity):m.values(e):[]},m.size=function(e){return null==e?0:O(e)?e.length:m.keys(e).length},m.partition=function(e,r,t){r=v(r,t);var o=[],a=[];return m.each(e,function(e,t,n){(r(e,t,n)?o:a).push(e)}),[o,a]},m.first=m.head=m.take=function(e,t,n){if(null!=e)return null==t||n?e[0]:m.initial(e,e.length-t)},m.initial=function(e,t,n){return u.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},m.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:m.rest(e,Math.max(0,e.length-t))},m.rest=m.tail=m.drop=function(e,t,n){return u.call(e,null==t||n?1:t)},m.compact=function(e){return m.filter(e,m.identity)};var C=function(e,t,n,r){for(var o=[],a=0,i=r||0,c=E(e);i<c;i++){var u=e[i];if(O(u)&&(m.isArray(u)||m.isArguments(u))){t||(u=C(u,t,n));var s=0,l=u.length;for(o.length+=l;s<l;)o[a++]=u[s++]}else n||(o[a++]=u)}return o};function N(a){return function(e,t,n){t=v(t,n);for(var r=E(e),o=0<a?0:r-1;0<=o&&o<r;o+=a)if(t(e[o],o,e))return o;return-1}}function T(a,i,c){return function(e,t,n){var r=0,o=E(e);if("number"==typeof n)0<a?r=0<=n?n:Math.max(n+o,r):o=0<=n?Math.min(n+1,o):n+o+1;else if(c&&n&&o)return e[n=c(e,t)]===t?n:-1;if(t!=t)return 0<=(n=i(u.call(e,r,o),m.isNaN))?n+r:-1;for(n=0<a?r:o-1;0<=n&&n<o;n+=a)if(e[n]===t)return n;return-1}}m.flatten=function(e,t){return C(e,t,!1)},m.without=function(e){return m.difference(e,u.call(arguments,1))},m.uniq=m.unique=function(e,t,n,r){m.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=v(n,r));for(var o=[],a=[],i=0,c=E(e);i<c;i++){var u=e[i],s=n?n(u,i,e):u;t?(i&&a===s||o.push(u),a=s):n?m.contains(a,s)||(a.push(s),o.push(u)):m.contains(o,u)||o.push(u)}return o},m.union=function(){return m.uniq(C(arguments,!0,!0))},m.intersection=function(e){for(var t=[],n=arguments.length,r=0,o=E(e);r<o;r++){var a=e[r];if(!m.contains(t,a)){for(var i=1;i<n&&m.contains(arguments[i],a);i++);i===n&&t.push(a)}}return t},m.difference=function(e){var t=C(arguments,!0,!0,1);return m.filter(e,function(e){return!m.contains(t,e)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(e){for(var t=e&&m.max(e,E).length||0,n=Array(t),r=0;r<t;r++)n[r]=m.pluck(e,r);return n},m.object=function(e,t){for(var n={},r=0,o=E(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},m.findIndex=N(1),m.findLastIndex=N(-1),m.sortedIndex=function(e,t,n,r){for(var o=(n=v(n,r,1))(t),a=0,i=E(e);a<i;){var c=Math.floor((a+i)/2);n(e[c])<o?a=c+1:i=c}return a},m.indexOf=T(1,m.findIndex,m.sortedIndex),m.lastIndexOf=T(-1,m.findLastIndex),m.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),a=0;a<r;a++,e+=n)o[a]=e;return o};var S=function(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var a=b(e.prototype),i=e.apply(a,o);return m.isObject(i)?i:a};m.bind=function(e,t){if(l&&e.bind===l)return l.apply(e,u.call(arguments,1));if(!m.isFunction(e))throw new TypeError("Bind must be called on a function");var n=u.call(arguments,2),r=function(){return S(e,r,t,this,n.concat(u.call(arguments)))};return r},m.partial=function(o){var a=u.call(arguments,1),i=function(){for(var e=0,t=a.length,n=Array(t),r=0;r<t;r++)n[r]=a[r]===m?arguments[e++]:a[r];for(;e<arguments.length;)n.push(arguments[e++]);return S(o,i,this,this,n)};return i},m.bindAll=function(e){var t,n,r=arguments.length;if(r<=1)throw new Error("bindAll must be passed function names");for(t=1;t<r;t++)e[n=arguments[t]]=m.bind(e[n],e);return e},m.memoize=function(r,o){var a=function(e){var t=a.cache,n=""+(o?o.apply(this,arguments):e);return m.has(t,n)||(t[n]=r.apply(this,arguments)),t[n]};return a.cache={},a},m.delay=function(e,t){var n=u.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,r,o){var a,i,c,u=null,s=0;o||(o={});var l=function(){s=!1===o.leading?0:m.now(),u=null,c=n.apply(a,i),u||(a=i=null)};return function(){var e=m.now();s||!1!==o.leading||(s=e);var t=r-(e-s);return a=this,i=arguments,t<=0||r<t?(u&&(clearTimeout(u),u=null),s=e,c=n.apply(a,i),u||(a=i=null)):u||!1===o.trailing||(u=setTimeout(l,t)),c}},m.debounce=function(t,n,r){var o,a,i,c,u,s=function(){var e=m.now()-c;e<n&&0<=e?o=setTimeout(s,n-e):(o=null,r||(u=t.apply(i,a),o||(i=a=null)))};return function(){i=this,a=arguments,c=m.now();var e=r&&!o;return o||(o=setTimeout(s,n)),e&&(u=t.apply(i,a),i=a=null),u}},m.wrap=function(e,t){return m.partial(t,e)},m.negate=function(e){return function(){return!e.apply(this,arguments)}},m.compose=function(){var n=arguments,r=n.length-1;return function(){for(var e=r,t=n[r].apply(this,arguments);e--;)t=n[e].call(this,t);return t}},m.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},m.before=function(e,t){var n;return function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},m.once=m.partial(m.before,2);var P=!{toString:null}.propertyIsEnumerable("toString"),R=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function I(e,t){var n=R.length,r=e.constructor,o=m.isFunction(r)&&r.prototype||i,a="constructor";for(m.has(e,a)&&!m.contains(t,a)&&t.push(a);n--;)(a=R[n])in e&&e[a]!==o[a]&&!m.contains(t,a)&&t.push(a)}m.keys=function(e){if(!m.isObject(e))return[];if(s)return s(e);var t=[];for(var n in e)m.has(e,n)&&t.push(n);return P&&I(e,t),t},m.allKeys=function(e){if(!m.isObject(e))return[];var t=[];for(var n in e)t.push(n);return P&&I(e,t),t},m.values=function(e){for(var t=m.keys(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r},m.mapObject=function(e,t,n){t=v(t,n);for(var r,o=m.keys(e),a=o.length,i={},c=0;c<a;c++)i[r=o[c]]=t(e[r],r,e);return i},m.pairs=function(e){for(var t=m.keys(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r},m.invert=function(e){for(var t={},n=m.keys(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t},m.functions=m.methods=function(e){var t=[];for(var n in e)m.isFunction(e[n])&&t.push(n);return t.sort()},m.extend=y(m.allKeys),m.extendOwn=m.assign=y(m.keys),m.findKey=function(e,t,n){t=v(t,n);for(var r,o=m.keys(e),a=0,i=o.length;a<i;a++)if(t(e[r=o[a]],r,e))return r},m.pick=function(e,t,n){var r,o,a={},i=e;if(null==i)return a;m.isFunction(t)?(o=m.allKeys(i),r=h(t,n)):(o=C(arguments,!1,!1,1),r=function(e,t,n){return t in n},i=Object(i));for(var c=0,u=o.length;c<u;c++){var s=o[c],l=i[s];r(l,s,i)&&(a[s]=l)}return a},m.omit=function(e,t,n){if(m.isFunction(t))t=m.negate(t);else{var r=m.map(C(arguments,!1,!1,1),String);t=function(e,t){return!m.contains(r,t)}}return m.pick(e,t,n)},m.defaults=y(m.allKeys,!0),m.create=function(e,t){var n=b(e);return t&&m.extendOwn(n,t),n},m.clone=function(e){return m.isObject(e)?m.isArray(e)?e.slice():m.extend({},e):e},m.tap=function(e,t){return t(e),e},m.isMatch=function(e,t){var n=m.keys(t),r=n.length;if(null==e)return!r;for(var o=Object(e),a=0;a<r;a++){var i=n[a];if(t[i]!==o[i]||!(i in o))return!1}return!0};var j=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof m&&(e=e._wrapped),t instanceof m&&(t=t._wrapped);var o=f.call(e);if(o!==f.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}var a="[object Array]"===o;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var i=e.constructor,c=t.constructor;if(i!==c&&!(m.isFunction(i)&&i instanceof i&&m.isFunction(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var u=(n=n||[]).length;u--;)if(n[u]===e)return r[u]===t;if(n.push(e),r.push(t),a){if((u=e.length)!==t.length)return!1;for(;u--;)if(!j(e[u],t[u],n,r))return!1}else{var s,l=m.keys(e);if(u=l.length,m.keys(t).length!==u)return!1;for(;u--;)if(s=l[u],!m.has(t,s)||!j(e[s],t[s],n,r))return!1}return n.pop(),r.pop(),!0};m.isEqual=function(e,t){return j(e,t)},m.isEmpty=function(e){return null==e||(O(e)&&(m.isArray(e)||m.isString(e)||m.isArguments(e))?0===e.length:0===m.keys(e).length)},m.isElement=function(e){return!(!e||1!==e.nodeType)},m.isArray=c||function(e){return"[object Array]"===f.call(e)},m.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){m["is"+t]=function(e){return f.call(e)==="[object "+t+"]"}}),m.isArguments(arguments)||(m.isArguments=function(e){return m.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(e){return"function"==typeof e||!1}),m.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},m.isNaN=function(e){return m.isNumber(e)&&e!==+e},m.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)},m.isNull=function(e){return null===e},m.isUndefined=function(e){return void 0===e},m.has=function(e,t){return null!=e&&a.call(e,t)},m.noConflict=function(){return e._=t,this},m.identity=function(e){return e},m.constant=function(e){return function(){return e}},m.noop=function(){},m.property=g,m.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},m.matcher=m.matches=function(t){return t=m.extendOwn({},t),function(e){return m.isMatch(e,t)}},m.times=function(e,t,n){var r=Array(Math.max(0,e));t=h(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r},m.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},m.now=Date.now||function(){return(new Date).getTime()};var x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},A=m.invert(x),L=function(t){var n=function(e){return t[e]},e="(?:"+m.keys(t).join("|")+")",r=RegExp(e),o=RegExp(e,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,n):e}};m.escape=L(x),m.unescape=L(A),m.result=function(e,t,n){var r=null==e?void 0:e[t];return void 0===r&&(r=n),m.isFunction(r)?r.call(e):r};var D=0;m.uniqueId=function(e){var t=++D+"";return e?e+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var M=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},U=/\\|'|\r|\n|\u2028|\u2029/g,q=function(e){return"\\"+B[e]};m.template=function(a,e,t){!e&&t&&(e=t),e=m.defaults({},e,m.templateSettings);var n=RegExp([(e.escape||M).source,(e.interpolate||M).source,(e.evaluate||M).source].join("|")+"|$","g"),i=0,c="__p+='";a.replace(n,function(e,t,n,r,o){return c+=a.slice(i,o).replace(U,q),i=o+e.length,t?c+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":n?c+="'+\n((__t=("+n+"))==null?'':__t)+\n'":r&&(c+="';\n"+r+"\n__p+='"),e}),c+="';\n",e.variable||(c="with(obj||{}){\n"+c+"}\n"),c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{var r=new Function(e.variable||"obj","_",c)}catch(e){throw e.source=c,e}var o=function(e){return r.call(this,e,m)},u=e.variable||"obj";return o.source="function("+u+"){\n"+c+"}",o},m.chain=function(e){var t=m(e);return t._chain=!0,t};var F=function(e,t){return e._chain?m(t).chain():t};m.mixin=function(n){m.each(m.functions(n),function(e){var t=m[e]=n[e];m.prototype[e]=function(){var e=[this._wrapped];return o.apply(e,arguments),F(this,t.apply(m,e))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var n=r[t];m.prototype[t]=function(){var e=this._wrapped;return n.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0],F(this,e)}}),m.each(["concat","join","slice"],function(e){var t=r[e];m.prototype[e]=function(){return F(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},void 0===(G=function(){return m}.apply(W,[]))||(H.exports=G)}).call(this)},rf8D:function(e,t,n){"use strict";t.a=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}()},rqIs:function(e,t,n){"use strict";var r=n("il13");n.d(t,"a",function(){return r.a});var o=n("WTSI");n.d(t,"b",function(){return o.a}),n.d(t,"c",function(){return o.b});var a=n("oHt4");n.d(t,"d",function(){return a.a})},rzyb:function(e,t,s){"use strict";s.d(t,"a",function(){return i});var n,r,o=s(0),l=s.n(o),f=s("xt0B"),p=s("pwtL"),a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=(r=n=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.handleClickEvent=function(e){var t=e.isFollowing,n=o.state.followers,r=t?n+1:n-1;0<r&&o.setState({followers:r})},o.state=o.props,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),a(t,[{key:"render",value:function(){var n=this,e=this.state,t=e.tagId,r=e.icon,o=e.tagName,a=e.desc,i=e.followers,c=e.questions,u=e.answers;return l.a.createElement("div",{className:"qa-theme-intro"},l.a.createElement("div",{className:"intro-btns"},l.a.createElement(p.FollowTagButton,{tagId:t,followClassName:"c-btn c-btn-hole intro-btn",unfollowClassName:"c-btn c-btn-weak intro-btn",onClick:function(e){var t=e.isFollowing;n.handleClickEvent({isFollowing:t})}})),l.a.createElement("h1",{className:"intro-title"},l.a.createElement("img",{src:r,className:"intro-icon"}),o),l.a.createElement("p",{className:"intro-desc"},a),l.a.createElement("div",{className:"intro-times"},l.a.createElement("span",{className:"item"},"\u95ee\u9898",l.a.createElement("span",{className:"qa-num-txt"},s.i(f.numberFormat)(c))),l.a.createElement("span",{className:"item"},"\u56de\u7b54",l.a.createElement("span",{className:"qa-num-txt"},s.i(f.numberFormat)(u))),l.a.createElement("span",{className:"item"},"\u5173\u6ce8",l.a.createElement("span",{className:"qa-num-txt"},s.i(f.numberFormat)(i)))))}}]),t}(),n.defaultProps={followers:0,questions:0,answers:0},r)},s6SF:function(e,t,n){"use strict";var r=n("/2El");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},s7MI:function(e,t,a){"use strict";t.e=function(e){var t=e.answerId;return c.call("FetchAnswerById",{answerId:t})},t.f=function(e){var t=e.questionId,n=e.pageNumber,r=e.pageSize,o=e.orderBy;return c.call("FetchAnswerList",{questionId:t,pageNumber:n,pageSize:r,orderBy:o})},a.d(t,"g",function(){return o}),t.h=function(){return u.apply(void 0,arguments)},t.i=u,t.j=function(){return s.apply(void 0,arguments)},t.k=s,t.l=function(e){var t=e.questionId,n=e.answerId,r=e.pageNumber,o=e.pageSize;return c.call("ReadAnswerComments",{questionId:t,answerId:n,pageNumber:r,pageSize:o})},t.m=function(e){var t=e.questionId,n=e.answerId,r=e.pageNumber,o=e.pageSize;return c.call("ReadMobileAnswerComments",{questionId:t,answerId:n,pageNumber:r,pageSize:o})},a.d(t,"n",function(){return f}),t.o=function(){return p.apply(void 0,arguments)},t.p=p,t.q=function(e){var t=e.questionId,n=e.answerId,r=e.parentCommentId,o=e.content;return c.call("CommentAnswer",{questionId:t,answerId:n,parentCommentId:r,content:o})},t.c=function(e){var t=e.questionId,n=e.plain,r=e.content;return n=a.i(i.a)(n),r=a.i(i.a)(r),c.call("WriteAnswer",{questionId:t,plain:n,content:r})},t.b=function(e){var t=e.questionId,n=e.answerId,r=e.plain,o=e.content;return r=a.i(i.a)(r),o=a.i(i.a)(o),c.call("UpdateAnswer",{questionId:t,answerId:n,plain:r,content:o})},t.a=function(e){var t=e.questionId;return c.call("CheckAnswerState",{questionId:t})},t.r=function(e){var t=e.questionId;return c.call("FetchMyAnswer",{questionId:t})},t.s=function(e){var t=e.questionId,n=e.answerId;return c.call("DeleteAnswer",{questionId:t,answerId:n})},t.t=function(e){var t=e.questionId,n=e.answerId,r=e.commentId;return c.call("DeleteComment",{questionId:t,answerId:n,commentId:r})},t.u=function(e){var t=e.questionId,n=e.answerId,r=e.platform,o=e.shareUid,a=e.visitUid,i={questionId:t,answerId:n,platform:r,shareUid:o,visitUid:a};return c.lazy("ReportShare",i,{thresholdDuration:3e3})},a.d(t,"v",function(){return m}),t.w=function(e){var t=e.askId,n=e.answerId,r=e.action,o={askId:t,answerId:n,action:r};return c.call("FavorAnswer",o)},t.x=function(e){var t=e.questionId,n=e.answerId,r=e.action,o={askId:t,answerId:n,action:r},a={questionId:t,answerId:n};return c.lazy("FavorAnswer",o,{thresholdBy:a})},t.d=function(e){var t=e.askId,n=e.answerId,r=e.action,o={askId:t,answerId:n,action:r};return c.call("AdoptAnswer",o)};a("euci");var i=a("u8nw");function n(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}var c=new(a("cT2K").a)("ask/answer");var r,o=(r=n(regeneratorRuntime.mark(function e(t){var n,r=t.answerId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.accumulate("CheckAnswerVote",{answerIds:r});case 3:return n=e.sent,e.abrupt("return",-1<n.indexOf(r));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,this,[[0,7]])})),function(e){return r.apply(this,arguments)});function u(e){var t=e.questionId,n=e.answerId,r={questionId:t,answerId:n,vote:e.vote},o={questionId:t,answerId:n};return c.lazy("VoteAnswer",r,{thresholdBy:o})}function s(e){var t={questionId:e.questionId,answerId:e.answerId,handpick:e.handpick};return c.call("HandpickAnswer",t)}var l,f=(l=n(regeneratorRuntime.mark(function e(t){var n,r=t.questionId,o=t.commentId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.accumulate("CheckCommentVote",{commentId:o},{questionId:r});case 3:return n=e.sent,e.abrupt("return",-1<n.indexOf(o));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,this,[[0,7]])})),function(e){return l.apply(this,arguments)});function p(e){var t=e.questionId,n=e.answerId,r=e.commentId,o={questionId:t,answerId:n,commentId:r,vote:e.vote},a={questionId:t,answerId:n,commentId:r};return c.lazy("VoteComment",o,{thresholdBy:a})}var d,m=(d=n(regeneratorRuntime.mark(function e(t){var n,r=t.answerId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c.accumulate("CheckAnswerFavor",{answerId:r});case 3:return n=e.sent,e.abrupt("return",-1<n.indexOf(r));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,this,[[0,7]])})),function(e){return d.apply(this,arguments)})},sB3e:function(e,t,n){var r=n("52gC");e.exports=function(e){return Object(r(e))}},sBqP:function(e,t,n){"use strict";t.a=function(e){var t=e.article,n=e.className,r=e.children,o=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["article","className","children"]),a=t.id;return i.a.createElement(u.Link,s({},o,{to:"/article/write/"+a,className:c()("com-opt-link",n)}),r||"\u7f16\u8f91")};var r=n(0),i=n.n(r),o=n("HW6M"),c=n.n(o),u=n("pwtL"),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},"sF+V":function(e,t,n){var r=n("kM2E");r(r.S,"Object",{create:n("Yobk")})},sILW:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a),c=n("YmwH"),u=(n("RTMK"),n("2h0h")),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.handleKeyupEvent=function(e){e.preventDefault();var t=+i.state.focusedItemId,n=i.props.items.questions,r=(void 0===n?[]:n).map(function(e){return+e.id});if(13==e.keyCode){if(-1e4==t)return!1;if(!r.includes(t))return!1;c.a.navigate("/ask/"+t)}},i.handleKeydownEvent=function(e){var t=i,n=i.props.items.questions,r=(void 0===n?[]:n).map(function(e){return+e.id}),o=r.findIndex(function(e){return+e==+i.state.focusedItemId});if(r.length){var a=r[0];38==e.keyCode?((o-=1)<0&&(o=r.length-1),a=r[o],t.setState({focusedItemId:a})):40==e.keyCode&&((o+=1)>r.length-1&&(o=0),a=r[o],t.setState({focusedItemId:a}))}},i.state={focusedItemId:-1e4},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),s(t,[{key:"render",value:function(){var e=this.props.items.questions,t=void 0===e?[]:e,n=(this.props.search,this.state.focusedItemId);return t.length<=0?null:o.a.createElement("div",null,o.a.createElement("section",{className:"qa-search-dropdown",style:{display:"block"}},o.a.createElement("div",{className:"qa-search-dropdown-bd"},0<t.length?o.a.createElement("dl",{className:"J-ask-list-dropdown qa-search-dropdown-group"},o.a.createElement("dt",null,"\u4f60\u7684\u95ee\u9898\u53ef\u80fd\u5df2\u6709\u7b54\u6848"),o.a.createElement("dd",null,t.map(function(e,t){return o.a.createElement(u.a,{key:t,to:"/ask/"+e.id,className:i()("link",{hover:n==e.id})},e.name,o.a.createElement("span",{style:{display:"inline-block",marginLeft:"10px",color:"#c0c0c0"}},e.detail.answerCount+"\u4e2a\u56de\u7b54"))}))):null)))}},{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.handleKeydownEvent),window.addEventListener("keyup",this.handleKeyupEvent)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeydownEvent),window.removeEventListener("keyup",this.handleKeyupEvent)}}]),t}()},sIoV:function(e,t,n){"use strict"},sOR5:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},sT6O:function(e,t,g){"use strict";g.d(t,"a",function(){return u});var n,r,o=g(0),w=g.n(o),a=g("KSGD"),i=g.n(a),E=g("xt0B"),O=g("pwtL"),c=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var u=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),c(t,[{key:"render",value:function(){var e=this.props,t=e.article,n=e.thumbnailWidth,r=e.hotrep,o=t.detail,a=t.showReadNum,i=o.articleId,c=o.picture,u=o.title,s=o.brief,l=o.avater,f=o.fakeId,p=o.nickName,d=o.author,m=void 0===d?{}:d,h=o.authorBadgeInfo,v=void 0===h?{}:h,y=o.columnId,b=o.columnName;return w.a.createElement("li",{className:"c-g-12"},w.a.createElement("section",{className:"com-media com-article-media"},c&&w.a.createElement(O.Link,{to:"/article/"+i,className:"com-media-object com-article-media-object",target:"_blank",hotrep:r?r+".object":""},w.a.createElement("span",{className:"com-media-img",style:{backgroundImage:"url("+g.i(E.getThumbnailUrl)(c,n)+")"}})),w.a.createElement("div",{className:"com-media-body com-article-media-body"},w.a.createElement("h3",{className:"com-media-title"},w.a.createElement(O.Link,{to:"/article/"+i,target:"_blank",hotrep:r?r+".title":""},u)),w.a.createElement("p",{className:"com-media-desc"},w.a.createElement(O.Link,{to:"/article/"+i,target:"_blank",hotrep:r?r+".desc":""},s)),w.a.createElement("div",{className:"com-article-media-source"},w.a.createElement(O.UserCard,{userId:Number(f),showFollowUserButton:!0},w.a.createElement(O.Link,{to:"/user/"+f,className:"com-avatar",style:{backgroundImage:"url("+g.i(E.getThumbnailUrl)(l,36)+")"},target:"_blank",hotrep:r?r+".avatar":""})),w.a.createElement("div",{className:"source-content"},w.a.createElement(O.Link,{to:"/user/"+f,className:"author-name",target:"_blank",rel:"nofollow",hotrep:r?r+".author_name":""},p||m.name||f),w.a.createElement(O.ProfessionVerifiedBadge,{user:m}),w.a.createElement(O.UserBadges,{badge:v,inline:!0}),w.a.createElement("p",null,"\u53d1\u8868\u4e8e ",w.a.createElement(O.Link,{to:"/column/"+y,className:"column-name",target:"_blank",hotrep:r?r+".column_name":""},b||y))),w.a.createElement("div",{className:"com-operations"},w.a.createElement("span",{className:"com-opt-link"},w.a.createElement("i",{className:"com-i-view"}),w.a.createElement("span",{className:"text"},g.i(E.abbrNum)(a))))))))}}]),t}(),n.propTypes={article:i.a.object.isRequired,thumbnailWidth:i.a.number,hotrep:i.a.string},n.defaultProps={thumbnailWidth:170},r)},sefv:function(e,t,n){"use strict";new(n("PNJI").Service)("user-center")},t2L5:function(e,t,n){"use strict";var r=n("aLn1");n.d(t,"a",function(){return r.a})},"t5+9":function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.onClick,r=e.children;return o.a.createElement(c.Link,{onClick:n,className:i()("c-dropdown-link",t)},r)};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a),c=n("pwtL")},t8qj:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},tCQC:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("rdLu"),o=n.n(r),a={NOTIFICATION:{namespace:"notification",route:"/notification"},ADDRESS:{namespace:"address",route:"/address"},PROFESSION_VERIFICATION:{namespace:"professionVerification",route:"/profession-verification"}},i=(o.a.mapObject(a,o.a.property("namespace")),o.a.mapObject(a,o.a.property("route")))},"tCr+":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o=n(0),a=n.n(o),c=n("nfin"),i=n("xt0B"),u=n("HW6M"),s=n.n(u),l=n("PNJI"),f=n("pwtL"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=n.i(i.connectSession)()(r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=d(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).handleArticleWrite=function(){var e=n.props.session;if(!e.isLogined)return l.login.show();if(!e.accountInfoCompleted){return f.Dialog.confirm({content:"\u4f60\u5c1a\u672a\u5b8c\u5584\u4fe1\u606f\uff0c\u65e0\u6cd5\u5199\u6587\u7ae0\uff0c\u662f\u5426\u7acb\u5373\u524d\u5f80\u5b8c\u5584\u4fe1\u606f\uff1f",onConfirm:function(){l.login.gotoRegisterCompletionPage()}})}location.href=c.b+"/article/write"},d(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,o["Component"]),p(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.hotrep;return a.a.createElement(f.Link,{onClick:this.handleArticleWrite,className:s()("c-btn",t),hotrep:n},"\u5199\u6587\u7ae0")}}]),i}())||r},tDy2:function(e,t,n){"use strict";var r=n("6i5o");n.d(t,"a",function(){return r.a})},tIFN:function(e,t,n){"use strict";var r=n("cGG2"),o=n("JP+z"),a=n("XmWM"),i=n("KCLY");function c(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n}var u=c(i);u.Axios=a,u.create=function(e){return c(r.merge(i,e))},u.Cancel=n("dVOP"),u.CancelToken=n("cWxy"),u.isCancel=n("pBtG"),u.all=function(e){return Promise.all(e)},u.spread=n("pxG4"),e.exports=u,e.exports.default=u},tS9w:function(e,t,n){"use strict";t.a=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:".",r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:",";if(isNaN(e)||null==e)return"";var o=Number(e).toFixed(~~t).split("."),a=o[0],i=o[1]?n+o[1]:"";return a.replace(/(\d)(?=(?:\d{3})+$)/g,"$1"+r)+i}},tW2u:function(e,t,n){"use strict";t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=o(n("zcFO")),s=o(n(0)),r=o(n("KSGD")),l=(o(n("GvBW")),n("1olO"));function o(e){return e&&e.__esModule?e:{default:e}}r.default.any,r.default.func,r.default.node;var a=function(n){function o(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,n.call(this,e,t));return r.performAppear=function(e,t){r.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(r._handleDoneAppearing.bind(r,e,t)):r._handleDoneAppearing(e,t)},r._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete r.currentlyTransitioningKeys[e];var n=(0,l.getChildMapping)(r.props.children);n&&n.hasOwnProperty(e)||r.performLeave(e,t)},r.performEnter=function(e,t){r.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(r._handleDoneEntering.bind(r,e,t)):r._handleDoneEntering(e,t)},r._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete r.currentlyTransitioningKeys[e];var n=(0,l.getChildMapping)(r.props.children);n&&n.hasOwnProperty(e)||r.performLeave(e,t)},r.performLeave=function(e,t){r.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(r._handleDoneLeaving.bind(r,e,t)):r._handleDoneLeaving(e,t)},r._handleDoneLeaving=function(n,e){e.componentDidLeave&&e.componentDidLeave(),delete r.currentlyTransitioningKeys[n];var t=(0,l.getChildMapping)(r.props.children);t&&t.hasOwnProperty(n)?r.keysToEnter.push(n):r.setState(function(e){var t=c({},e.children);return delete t[n],{children:t}})},r.childRefs=Object.create(null),r.state={children:(0,l.getChildMapping)(e.children)},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,n),o.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},o.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},o.prototype.componentWillReceiveProps=function(e){var t=(0,l.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,l.mergeChildMappings)(n,t)}),t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var a in n){var i=t&&t.hasOwnProperty(a);!n[a]||i||this.currentlyTransitioningKeys[a]||this.keysToLeave.push(a)}},o.prototype.componentDidUpdate=function(){var t=this,e=this.keysToEnter;this.keysToEnter=[],e.forEach(function(e){return t.performEnter(e,t.childRefs[e])});var n=this.keysToLeave;this.keysToLeave=[],n.forEach(function(e){return t.performLeave(e,t.childRefs[e])})},o.prototype.render=function(){var a=this,i=[],e=function(t){var e=a.state.children[t];if(e){var n="string"!=typeof e.ref,r=a.props.childFactory(e),o=function(e){a.childRefs[t]=e};r===e&&n&&(o=(0,u.default)(e.ref,o)),i.push(s.default.cloneElement(r,{key:t,ref:o}))}};for(var t in this.state.children)e(t);var n=c({},this.props);return delete n.transitionLeave,delete n.transitionName,delete n.transitionAppear,delete n.transitionEnter,delete n.childFactory,delete n.transitionLeaveTimeout,delete n.transitionEnterTimeout,delete n.transitionAppearTimeout,delete n.component,s.default.createElement(this.props.component,n,i)},o}(s.default.Component);a.displayName="TransitionGroup",a.propTypes={},a.defaultProps={component:"span",childFactory:function(e){return e}},t.default=a,e.exports=t.default},tczJ:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=(n("xt0B"),n("2h0h")),l=n("pBDx"),f=n("/jtI"),p=n("ZT/R"),d=n("IH4Z"),m=n("UROC"),h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var y=(o=r=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=v(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={drawerVisible:!1},v(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,a["Component"]),h(i,[{key:"render",value:function(){var e=this,t=this.props,n=t.activeMenu,r=t.children,o=this.state.drawerVisible;return c.a.createElement(a.Fragment,null,c.a.createElement("div",{className:"com-header subsite"},c.a.createElement("div",{className:"header-main"},c.a.createElement(s.a,{onClick:function(){return e.setState({drawerVisible:!0})},className:"header-menu-trigger",hotrep:"community.header.menu_trigger"},o?"\u6536\u8d77":"\u5c55\u5f00"),r),c.a.createElement("div",{className:"header-logo-wrap"},c.a.createElement("div",{className:"header-logo"},c.a.createElement("i",{className:"logo-icon logo-community"}),c.a.createElement("h1",{className:"header-title"},"\u817e\u8baf\u4e91\xb7\u793e\u533a"))),c.a.createElement("nav",{className:"header-extra"},c.a.createElement(d.a,null),c.a.createElement(m.a,null))),c.a.createElement(l.a,{visible:o,activeMenu:n,onClose:function(){return e.setState({drawerVisible:!1})}}))}}]),i}(),r.propTypes={activeMenu:u.a.string},o);y.Title=f.a,y.Logo=p.a,y.Search=d.a,y.User=m.a},thJu:function(e,t,n){"use strict";function c(){this.message="String contains an invalid character"}(c.prototype=new Error).code=5,c.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,r=String(e),o="",a=0,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.charAt(0|a)||(i="=",a%1);o+=i.charAt(63&t>>8-a%1*8)){if(255<(n=r.charCodeAt(a+=.75)))throw new c;t=t<<8|n}return o}},ti61:function(e,t,n){"use strict"},tnkD:function(e,t,n){"use strict";var i=n("YYEd");t.a=function(e,t,n,r){var o=i.a.clone(e),a={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+a.width>n.right&&(a.width-=o.left+a.width-n.right),r.adjustX&&o.left+a.width>n.right&&(o.left=Math.max(n.right-a.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+a.height>n.bottom&&(a.height-=o.top+a.height-n.bottom),r.adjustY&&o.top+a.height>n.bottom&&(o.top=Math.max(n.bottom-a.height,n.top)),i.a.mix(o,a)}},txXy:function(e,t,n){"use strict";new(n("cT2K").a)("team/post-comment")},"u+bl":function(e,t,n){"use strict";var r=n("+6Bu"),o=n.n(r),a=n("Zrlr"),i=n.n(a),c=n("wxAW"),u=n.n(c),s=n("zwoO"),l=n.n(s),f=n("Pf15"),p=n.n(f),d=n(0),m=n.n(d),h=n("KSGD"),v=n.n(h),y=function(e){function t(){return i()(this,t),l()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p()(t,e),u()(t,[{key:"shouldComponentUpdate",value:function(e){return e.hiddenClassName||e.visible}},{key:"render",value:function(){var e=this.props,t=e.hiddenClassName,n=e.visible,r=o()(e,["hiddenClassName","visible"]);return t||1<m.a.Children.count(r.children)?(!n&&t&&(r.className+=" "+t),m.a.createElement("div",r)):m.a.Children.only(r.children)}}]),t}(d.Component);y.propTypes={children:v.a.any,className:v.a.string,visible:v.a.bool,hiddenClassName:v.a.string},t.a=y},"u+iz":function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=0,i=1,c=2,u=3,s=4;o(r={},a,{id:a,title:"\u4e13\u680f"}),o(r,i,{id:i,title:"\u7ffb\u8bd1\u793e"}),o(r,c,{id:c,title:"\u535a\u5ba2\u642c\u5bb6"}),o(r,u,{id:u,title:"\u4f01\u9e45\u53f7"}),o(r,s,{id:s,title:"\u535a\u5ba2\u642c\u5bb6\uff08\u5fae\u4fe1\u516c\u4f17\u53f7\uff09"})},u0vT:function(e,t,n){"use strict";t.a=function(e){var t={categoryIds:e.categoryIds};return r.call("BatchFetchTagListByCategoryIds",t)};var r=new(n("cT2K").a)("tag")},u74s:function(e,t,n){"use strict";t.a=function(){return n.i(r.connect)(function(e){var t=e.fromMiniProgram;return{fromMiniProgram:t}},{},null)};var r=n(3);n.n(r)},u8nw:function(e,n,t){"use strict";(function(t){n.a=function(e){return btoa(encodeURIComponent(JSON.stringify(e)))},n.b=function(e){try{return JSON.parse(decodeURIComponent(atob(e)))}catch(e){throw new Error("\u5185\u5bb9\u89e3\u7801\u5931\u8d25: "+e.message)}},"undefined"==typeof atob&&(atob=function(e){return new t(e,"base64").toString("binary")})}).call(n,t("EuP9").Buffer)},uBBh:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r,o,a=n(0),i=n.n(a),c=n("CqLJ"),u=n.n(c),s=n("KSGD"),l=n.n(s),f=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var p=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),f(t,[{key:"render",value:function(){var e=this.props.deadline;if("number"!=typeof e)return i.a.createElement("span",null,e);if(isNaN(e))return i.a.createElement("span",null,"\u672a\u77e5\u65f6\u95f4");if(0===Number(e))return i.a.createElement("span",null,"\u5269\u4f590\u5929");10===String(e).length&&(e*=1e3);var t,n,r=e-(isClientContext?window.$clientTime:Date.now());t=r,n=1e3,r=Math.floor(t/n);var o=u()(new Date(e),"yyyy-mm-dd HH:MM:ss"),a=this.calculateLeftTime(r);return i.a.createElement("span",{title:"\u622a\u6b62\u65f6\u95f4: "+o},a)}},{key:"calculateLeftTime",value:function(e){var t=Math.floor(e/86400);e%=86400;var n=Math.floor(e/3600);e%=3600;var r=Math.floor(e/60);e%=60;return"\u5269\u4f59"+(0<t?t+"\u5929"+(0<n?n+"\u5c0f\u65f6":""):0<n?n+"\u5c0f\u65f6":0<r?r+"\u5206\u949f":e+"\u79d2")}}]),t}(),r.propTypes={deadline:l.a.number.isRequired},o)},uews:function(e,t,n){"use strict";var r=n("sT6O");n.d(t,"a",function(){return r.a})},ujcs:function(e,t){t.read=function(e,t,n,r,o){var a,i,c=8*o-r-1,u=(1<<c)-1,s=u>>1,l=-7,f=n?o-1:0,p=n?-1:1,d=e[t+f];for(f+=p,a=d&(1<<-l)-1,d>>=-l,l+=c;0<l;a=256*a+e[t+f],f+=p,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=r;0<l;i=256*i+e[t+f],f+=p,l-=8);if(0===a)a=1-s;else{if(a===u)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,r),a-=s}return(d?-1:1)*i*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var i,c,u,s=8*a-o-1,l=(1<<s)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:a-1,m=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),2<=(t+=1<=i+f?p/u:p*Math.pow(2,1-f))*u&&(i++,u/=2),l<=i+f?(c=0,i=l):1<=i+f?(c=(t*u-1)*Math.pow(2,o),i+=f):(c=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));8<=o;e[n+d]=255&c,d+=m,c/=256,o-=8);for(i=i<<o|c,s+=o;0<s;e[n+d]=255&i,d+=m,i/=256,s-=8);e[n+d-m]|=128*h}},updF:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("MCil"),d=n("pwtL"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=(o=r=function(e){function p(){var e,t,l,n,f=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=l=m(this,(e=p.__proto__||Object.getPrototypeOf(p)).call.apply(e,[this].concat(o)))).state={committing:!1,reasonId:0,detail:"",error:null},l.handleDetailChange=function(e){l.setState({detail:e.target.value})},l.handleCommit=(n=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c,u,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,l.setState({committing:!0,error:null}),t=l.props,n=t.resource,r=n.type,o=n.id,a=t.reportFunc,i=l.state,c=i.reasonId,u=i.detail,s={resourceType:r,resourceId:o,reasonId:c,detail:u},e.next=7,a(s);case 7:p.hide(),d.MessageTip.info("\u4e3e\u62a5\u63d0\u4ea4\u6210\u529f\uff0c\u611f\u8c22\u4f60\u7684\u53cd\u9988"),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),l.setState({error:e.t0});case 14:return e.prev=14,l.setState({committing:!1}),e.finish(14);case 17:case"end":return e.stop()}},e,f,[[0,11,14,17]])}),function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),m(l,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(p,a["Component"]),l(p,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0}(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){var r=this,e=this.state,t=e.committing,o=e.reasonId,n=e.detail,a=e.error;return i.a.createElement(d.Dialog,{caption:"\u8bf7\u586b\u5199\u4e3e\u62a5\u539f\u56e0",onClose:p.hide},i.a.createElement(d.DialogBody,null,i.a.createElement("ul",{className:"c-dialog-form"},i.a.createElement("li",{className:"c-dialog-form-row c-dialog-form-row-puretext"},i.a.createElement("div",{className:"c-dialog-form-control"},i.a.createElement("div",{className:"col-lables"},this.reportReasons.map(function(e){var t=e.id,n=e.title;return i.a.createElement("label",{key:t,className:"c-form-ctrl-label"},i.a.createElement("input",{type:"radio",className:"c-radio",value:t,checked:t===o,onChange:function(){return r.setState({reasonId:t})}}),i.a.createElement("span",{className:"c-form-ctrl-txt"},n))})))),i.a.createElement("li",{className:"c-dialog-form-row c-dialog-form-row-puretext"},i.a.createElement("div",{className:"c-dialog-form-control"},i.a.createElement("textarea",{rows:"2",className:"c-textarea block",placeholder:"\u4e3e\u62a5\u7684\u8be6\u7ec6\u4fe1\u606f\uff08\u9009\u586b\uff09",maxLength:200,value:n,onChange:this.handleDetailChange}))))),i.a.createElement(d.DialogFooter,null,i.a.createElement(d.DialogButton,{primary:!0,disabled:t||!o,loading:t,onClick:this.handleCommit},a?"\u91cd\u8bd5":"\u63d0\u4ea4"),i.a.createElement(d.DialogButton,{onClick:p.hide},"\u53d6\u6d88"),a&&i.a.createElement("p",{className:"c-dialog-ft-validate"},a.msg||a.message)))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"reportReasons",get:function(){return[{id:1,title:"\u5783\u573e\u5e7f\u544a\u6216\u865a\u5047\u4fe1\u606f"},{id:2,title:"\u9a9a\u6270\u8c29\u9a82"},{id:3,title:"\u8272\u60c5\u66b4\u529b"},{id:4,title:"\u75c5\u6bd2\u6728\u9a6c"},{id:5,title:"\u53cd\u52a8\u653f\u6cbb"},{id:6,title:"\u5176\u4ed6"}]}}],[{key:"show",value:function(e){var t=e.resource,n=e.reportFunc;d.Dialog.show(i.a.createElement(p,{resource:t,reportFunc:n}))}},{key:"hide",value:function(){d.Dialog.hide()}}]),p}(),r.propTypes={resource:u.a.shape({type:u.a.oneOf(["article","comment"]).isRequired,id:u.a.number.isRequired}).isRequired,reportFunc:u.a.func},r.defaultProps={reportFunc:s.c.reportCommon},o)},utCt:function(e,t,n){"use strict";n("wt/o")},uy90:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("1TiW"),p=n("pwtL"),d=n("5oT9"),m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var h=f.a.OFFLINE_SALON,v=f.a.ONLINE_LIVE,y=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),m(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.hover;return i.a.createElement(p.Link,{to:"/salon/"+(t.type===h?"salon":"live")+"-"+t.id,className:l()("com-search-result-item",{hover:n})},i.a.createElement("i",{className:"com-search-result-icon salon"}),i.a.createElement("span",{className:"com-search-result-type"},"\u6c99\u9f99"),i.a.createElement(d.a,{html:[t.seriesName,t.title].filter(Boolean).join("--"),className:"com-search-result-text"}))}}]),t}(),r.propTypes={item:u.a.shape({id:u.a.number.isRequired,type:u.a.oneOf([h,v]).isRequired,title:u.a.string.isRequired,seriesName:u.a.string.isRequired}).isRequired,hover:u.a.bool.isRequired},o)},"v+/k":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}},v12x:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(0),o=n.n(r),a=n("HW6M"),i=(n.n(a),n("nfin")),c=(n("MCil"),n("pwtL")),u=n("T4uT"),s=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}i.b;var f=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=l(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={list:[]},n.deleteHistoryItem=function(t){return function(e){e.preventDefault(),e.stopPropagation(),u.a.remove(t),n.setState({list:u.a.list})}},n.deleteHistoryList=function(){u.a.clear(),n.setState({list:u.a.list})},l(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,r["Component"]),s(i,[{key:"render",value:function(){var n=this,r=this.props.currentSearchTab,e=this.state.list;return o.a.createElement("dl",{className:"com-search-dropdown-group com-search-dropdown-history"},o.a.createElement("dt",null,"\u641c\u7d22\u5386\u53f2",0<e.length&&o.a.createElement(c.Link,{className:"link-clear",onClick:this.deleteHistoryList},o.a.createElement("i",{className:"com-i-delete"}))),o.a.createElement("dd",null,e.map(function(e,t){return o.a.createElement(c.Link,{key:t,className:"link",to:"/search/"+r+"-"+encodeURIComponent(e.title),onClick:function(){n.addRecord(e.title)}},e.title,o.a.createElement("button",{type:"button",className:"link-btn",onClick:n.deleteHistoryItem(t)},o.a.createElement("i",{className:"com-i-close"})))}),!e.length&&o.a.createElement(c.Empty,{content:"\u6682\u65e0\u641c\u7d22\u5386\u53f2",style:{fontSize:"12px"}})))}},{key:"componentDidMount",value:function(){this.queryHistoryList()}},{key:"addRecord",value:function(e){u.a.add({title:e})}},{key:"queryHistoryList",value:function(){this.setState({list:u.a.list})}}]),i}()},v3Lw:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={OFFLINE_SALON:1,ONLINE_LIVE:2}},v413:function(e,t,n){"use strict";t.a=function(e){var t=e.id,n=e.event,r={id:t,event:n};return o.call("ReportInformationOperation",r)};var o=new(n("cT2K").a)("developer/information")},vAFp:function(e,t,n){"use strict";var r=n("YIbL");n.d(t,"a",function(){return r.a})},vAl0:function(e,t,n){"use strict";n("guFQ");var r=n("d8c9");n.d(t,"a",function(){return r.a})},vAnb:function(e,t,n){"use strict";t.a=function(){return c.call("GetWeixinQRCode",{})},t.b=function(e){var t={gender:e.gender};return c.call("FetchRandomAvatar",t)},t.c=function(e){var t=r.b+"/services/ajax/developer/user?"+n.i(o.a)({action:"UploadCustomAvatar",uin:i.a.getUin(),csrfCode:i.a.getCsrfCode()});return n.i(a.a)(t,e,"avatar")};var r=n("nfin"),o=n("m0AM"),a=n("gv2m"),i=n("QNU9"),c=new(n("cT2K").a)("developer/user")},vERR:function(e,t,l){"use strict";l.d(t,"a",function(){return s});var n,r,f=l(0),p=l.n(f),o=l("KSGD"),a=l.n(o),i=l("HW6M"),d=l.n(i),m=l("TeJT"),h=l("RAzy"),v=l("4wiV"),y=l("cuKs"),b=l("Dc8r"),g=l("OM81"),w=l("tCr+"),E=l("imvr"),O=l("cYUU"),k=l("yX5L"),_=l("A7gK"),C=l("6FH6"),c=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var N="default",T="dark",S="air",s=(r=n=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=u(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={affixNav:!1,searchBarVisible:!1,headerBottomWidth:null,headerBottomLeft:null},n.headerRef=p.a.createRef(),n.headerTopRef=p.a.createRef(),n.searchBarRef=p.a.createRef(),u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,f["PureComponent"]),c(i,[{key:"render",value:function(){var t=this,e=this.props,n=e.type,r=e.headerTitle,o=e.activeMenu,a=this.state,i=a.affixNav,c=a.searchBarVisible,u=a.headerBottomWidth,s=a.headerBottomLeft;return p.a.createElement(f.Fragment,null,p.a.createElement("div",{ref:this.headerRef,className:d()("J-header c-nav-wrap c-nav com-2-nav",{fixed:i,"c-nav-air-sub":n===S,"c-nav-wrap-dark":n===T})},p.a.createElement("div",{className:d()("c-nav-mod c-nav-mod-pc",{"c-nav-white":n===N,"c-nav-dark":n===T||n===S&&i})},p.a.createElement(v.a,{rootRef:this.headerTopRef}),p.a.createElement("div",{className:"J-headerBottom c-nav-bottom responsive",style:{width:u,left:s}},p.a.createElement(y.a,null),p.a.createElement(b.a,null),p.a.createElement("div",{className:"J-headerBottomRight c-nav-bm-right"},p.a.createElement("div",{className:"c-nav-bm-search-wrap"},p.a.createElement(g.a,{onClick:function(){var e;t.setState({searchBarVisible:!0},(e=regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.searchBarRef.current)return e.next=3,l.i(m.a)(40);e.next=4;break;case 3:t.searchBarRef.current.getWrappedInstance().getInstance().focusInput();case 4:case"end":return e.stop()}},e,t)}),function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}))}}),p.a.createElement("div",{className:d()("com-3-nav-search-wrap",{"show-search":c})},p.a.createElement(_.a,{ref:this.searchBarRef,hotrep:"community.header.search",onClose:function(){t.setState({searchBarVisible:!1})}}))),p.a.createElement("div",{className:"c-nav-bm-btns"},p.a.createElement(w.a,{className:"c-nav-bm-btn",hotrep:"community.header.bm_btns.write_article"}),p.a.createElement(E.a,null)),p.a.createElement(O.a,null),p.a.createElement(C.a,null),p.a.createElement(k.a,null)),p.a.createElement("div",{className:"c-nav-pro-mask",style:{display:c?"block":"none"}})))),p.a.createElement(h.a,{activeMenu:o},p.a.createElement(h.a.Title,{title:r})))}},{key:"componentDidMount",value:function(){this.props.enableAutoAffix&&this.setupAffixEffect()}},{key:"setupAffixEffect",value:function(){var t=this,n=$(window),r=$(this.headerRef.current),o=$(this.headerTopRef.current).height(),e=function(){var e=n.scrollTop()>=o;t.setState({affixNav:e,headerBottomWidth:e?r.width():null,headerBottomLeft:e?-n.scrollLeft():null})};n.on({"scroll.header-affix":e,"resize.header-affix":e}),e()}}]),i}(),n.propTypes={type:a.a.oneOf([N,T,S]),enableAutoAffix:a.a.bool,headerTitle:a.a.node,activeMenu:a.a.string},n.defaultProps={type:N,enableAutoAffix:!0},r);s.T_DEFAULT=N,s.T_DARK=T,s.T_AIR=S},"vFc/":function(e,t,n){var u=n("TcQ7"),s=n("QRG4"),l=n("fkB2");e.exports=function(c){return function(e,t,n){var r,o=u(e),a=s(o.length),i=l(n,a);if(c&&t!=t){for(;i<a;)if((r=o[i++])!=r)return!0}else for(;i<a;i++)if((c||i in o)&&o[i]===t)return c||i||0;return!c&&-1}}},"vIB/":function(e,t,n){"use strict";var g=n("O4g8"),w=n("kM2E"),E=n("880/"),O=n("hJx8"),k=n("D2L2"),_=n("/bQp"),C=n("94VQ"),N=n("e6n0"),T=n("PzxK"),S=n("dSzd")("iterator"),P=!([].keys&&"next"in[].keys()),R="values",I=function(){return this};e.exports=function(e,t,n,r,o,a,i){C(n,t,r);var c,u,s,l=function(e){if(!P&&e in m)return m[e];switch(e){case"keys":case R:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",p=o==R,d=!1,m=e.prototype,h=m[S]||m["@@iterator"]||o&&m[o],v=h||l(o),y=o?p?l("entries"):v:void 0,b="Array"==t&&m.entries||h;if(b&&(s=T(b.call(new e)))!==Object.prototype&&s.next&&(N(s,f,!0),g||k(s,S)||O(s,S,I)),p&&h&&h.name!==R&&(d=!0,v=function(){return h.call(this)}),g&&!i||!P&&!d&&m[S]||O(m,S,v),_[t]=v,_[f]=I,o)if(c={values:p?v:l(R),keys:a?v:l("keys"),entries:y},i)for(u in c)u in m||E(m,u,c[u]);else w(w.P+w.F*(P||d),t,c);return c}},vNXE:function(e,t,n){"use strict";var r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=1,i=2,c=3;o(r={},a,{id:a,title:"\u539f\u521b"}),o(r,i,{id:i,title:"\u8f6c\u8f7d"}),o(r,c,{id:c,title:"\u7ffb\u8bd1\u5916\u6587"})},vO3M:function(e,t,n){"use strict";var r=n("ZWm2");n.d(t,"a",function(){return r.a})},vUHS:function(e,t,n){"use strict";t.a=function(e){return"object"===(void 0===e?"undefined":r(e))&&e&&Array.isArray(e.blocks)&&"object"===r(e.entityMap)&&e.entityMap};var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}},vUpg:function(e,t,n){"use strict";t.a=function(){return i.apply(void 0,arguments)},n.d(t,"c",function(){return i}),t.b=function(e){var t=e.tagId,n=e.follow;return o.lazy("ToggleTagFollow",{tagId:t,follow:n},{thresholdDuration:200})};var o=new(n("cT2K").a)("ask/tag");var r,a,i=(r=regeneratorRuntime.mark(function e(t){var n,r=t.tagId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.accumulate("CheckTagsFollow",{tagIds:r});case 3:return n=e.sent,e.abrupt("return",n.includes(r));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,this,[[0,7]])}),a=function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return a.apply(this,arguments)})},"vn+0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("wBMS");n.d(t,"fetchArticleDetail",function(){return r.a}),n.d(t,"batchFetchArticleDetail",function(){return r.b}),n.d(t,"fetchRelatedArticles",function(){return r.c}),n.d(t,"fetchArticleDrafts",function(){return r.d}),n.d(t,"createArticleDraft",function(){return r.e}),n.d(t,"readArticleDraft",function(){return r.f}),n.d(t,"updateArticleDraft",function(){return r.g}),n.d(t,"deleteArticleDraft",function(){return r.h}),n.d(t,"createArticle",function(){return r.i}),n.d(t,"updateArticle",function(){return r.j}),n.d(t,"deleteArticle",function(){return r.k}),n.d(t,"checkArticleLike",function(){return r.l}),n.d(t,"toggleArticleLike",function(){return r.m}),n.d(t,"reportViewCount",function(){return r.n}),n.d(t,"fetchColumnArticles",function(){return r.o}),n.d(t,"fetchArticlesByColumnIds",function(){return r.p}),n.d(t,"fetchArticlesByCategory",function(){return r.q}),n.d(t,"fetchSubscribedArticleUnreadCount",function(){return r.r}),n.d(t,"resetSubscribedArticleUnreadCount",function(){return r.s}),n.d(t,"fetchQualityArticleList",function(){return r.t}),n.d(t,"fetchHotArticleList",function(){return r.u}),n.d(t,"fetchCategoiesAndQualityArticles",function(){return r.v}),n.d(t,"fetchColumnHomeArticleList",function(){return r.w}),n.d(t,"auditArticle",function(){return r.x}),n.d(t,"recommendArticle",function(){return r.y}),n.d(t,"selfRecommendArticle",function(){return r.z}),n.d(t,"recommendColumnArticle",function(){return r.A}),n.d(t,"updateUnauditedSupportPlanArticleDetail",function(){return r.B}),n.d(t,"auditSupportPlanArticle",function(){return r.C}),n.d(t,"reportTextLinksView",function(){return r.D}),n.d(t,"reportTextLinksClick",function(){return r.E}),n.d(t,"batchFetchUnauditedSupportPlanArticleDetail",function(){return r.F}),n.d(t,"markSimilarArticle",function(){return r.G}),n.d(t,"banComment",function(){return r.H}),n.d(t,"checkArticleFavor",function(){return r.I}),n.d(t,"toggleArticleFavor",function(){return r.J});var o=n("AixO");n.d(t,"fetchCategory",function(){return o.a}),n.d(t,"fetchCategoiesWithMap",function(){return o.b});var a=n("8leD");n.d(t,"createColumn",function(){return a.a}),n.d(t,"updateColumn",function(){return a.b}),n.d(t,"updateColumnIcon",function(){return a.c}),n.d(t,"fetchColumnInfo",function(){return a.d}),n.d(t,"batchFetchColumnDetail",function(){return a.e}),n.d(t,"toggleColumnFollow",function(){return a.f}),n.d(t,"checkColumnFollow",function(){return a.g}),n.d(t,"fetchColumnsByCategoryId",function(){return a.h}),n.d(t,"fetchColumnMembers",function(){return a.i}),n.d(t,"fetchColumnMembersInfo",function(){return a.j}),n.d(t,"fetchJoinedColumns",function(){return a.k}),n.d(t,"inviteMember",function(){return a.l}),n.d(t,"removeMember",function(){return a.m}),n.d(t,"acceptInvite",function(){return a.n}),n.d(t,"fetchRecommendedColumnList",function(){return a.o}),n.d(t,"fetchJoinedColumnList",function(){return a.p}),n.d(t,"fetchCategoryColumns",function(){return a.q}),n.d(t,"fetchSPUserInviteRecord",function(){return a.r}),n.d(t,"receiveSPInviteAward",function(){return a.s}),n.d(t,"checkColumnNameUsed",function(){return a.t}),n.d(t,"applySupportPlan",function(){return a.u}),n.d(t,"checkColumnJoinApplyStatus",function(){return a.v}),n.d(t,"submitColumnJoinApply",function(){return a.w}),n.d(t,"handleColumnJoinApply",function(){return a.x}),n.d(t,"acceptColumnInvite",function(){return a.y}),n.d(t,"fetchColumnSpecialList",function(){return a.z}),n.d(t,"fetchForeignOpinionList",function(){return a.A}),n.d(t,"fetchArticleRankingList",function(){return a.B}),n.d(t,"fetchColumnRankingList",function(){return a.C}),n.d(t,"fetchUserRankingList",function(){return a.D}),n.d(t,"fetchColumnTags",function(){return a.E}),n.d(t,"fetchRecommColumnList",function(){return a.F}),n.d(t,"fetchRecommUserList",function(){return a.G}),n.d(t,"fetchConfiguredModuleData",function(){return a.H}),n.d(t,"updateWeChat",function(){return a.I}),n.d(t,"checkUserUpdateWeChatRight",function(){return a.J}),n.d(t,"checkHasSelfRecommended",function(){return a.K});var i=n("PNCo");n.d(t,"fetchArticleComments",function(){return i.a}),n.d(t,"fetchMobileArticleComments",function(){return i.b}),n.d(t,"addComment",function(){return i.c}),n.d(t,"deleteComment",function(){return i.d})},vpIZ:function(e,t,n){"use strict";var r=n("Wiuw");n.d(t,"a",function(){return r.a})},w0uY:function(e,t,n){"use strict";new(n("PNJI").Service)("original-sharing")},wBMS:function(e,t,f){"use strict";t.a=function(e){var t={articleId:e.articleId};return d.call("FetchArticleDetail",t)},t.b=function(e){var t={articleIds:e.articleIds};return d.call("BatchFetchArticleDetail",t)},t.c=function(e){var t=e.articleId,n=e.pageSize,r={articleId:t,pageSize:n};return d.call("FetchRelatedArticles",r)},t.d=function(){return d.call("FetchArticleDrafts")},t.e=function(e){var t=e.articleId,n=e.title,r=e.content,o=e.plain,a=e.columnId,i=e.tagIds;r=f.i(p.a)(r),o=f.i(p.a)(o);var c={articleId:t,title:n,content:r,plain:o,columnId:a,tagIds:i};return d.lazy("CreateArticleDraft",c,{thresholdDuration:500})},t.f=function(e){var t={draftId:e.draftId};return d.call("ReadArticleDraft",t)},t.g=function(e){var t=e.articleId,n=e.draftId,r=e.title,o=e.content,a=e.plain,i=e.columnId,c=e.tagIds;o=f.i(p.a)(o),a=f.i(p.a)(a);var u={articleId:t,draftId:n,title:r,content:o,plain:a,columnId:i,tagIds:c};return d.lazy("UpdateArticleDraft",u,{thresholdDuration:500})},t.h=function(e){var t={draftId:e.draftId};return d.call("DeleteArticleDraft",t)},t.i=function(e){var t=e.columnId,n=e.draftId,r=e.title,o=e.content,a=e.plain,i=e.sourceType,c=e.sourceDetail,u=e.tagIds,s=e.picture;o=f.i(p.a)(o),a=f.i(p.a)(a);var l={columnId:t,draftId:n,title:r,content:o,plain:a,sourceType:i,sourceDetail:c,tagIds:u,picture:s};return d.call("CreateArticle",l)},t.j=function(e){var t=e.columnId,n=e.articleId,r=e.draftId,o=e.title,a=e.content,i=e.plain,c=e.tagIds,u=e.picture;a=f.i(p.a)(a),i=f.i(p.a)(i);var s={columnId:t,articleId:n,draftId:r,title:o,content:a,plain:i,tagIds:c,picture:u};return d.call("UpdateArticle",s)},t.k=function(e){var t={articleId:e.articleId};return d.call("DeleteArticle",t)},f.d(t,"l",function(){return a}),t.m=function(e){var t=e.articleId,n=e.like,r={articleId:t,like:n},o={thresholdBy:{articleId:t},thresholdDuration:500};return d.lazy("ToggleArticleLike",r,o)},t.n=function(e){var t=e.articleId,n=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).delay,r=void 0===n?3e3:n,o={articleId:t},a={thresholdDuration:r};return d.lazy("ReportViewCount",o,a).catch(function(e){return e})},t.o=function(e){var t=e.columnId,n=e.tagId,r=e.pageNumber,o=e.page,a=e.pageSize,i=e.pagesize,c={columnId:t,tagId:n,pageNumber:r||o,pageSize:a||i};return d.call("FetchColumnArticles",c)},t.p=function(e){var t=e.columnIds,n=e.tagIds,r=e.pageNumber,o=e.pageSize,a={columnIds:t,tagIds:n,pageNumber:r,pageSize:o};return d.call("FetchArticlesByColumnIds",a)},t.q=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.categoryId,n=e.pageNumber,r=e.pageSize,o=e.sortType,a=e.isMatchAuthor,i=e.isMatchColumn,c=void 0,u={thresholdDuration:300};return t==s.a.QUALITY.id?(c={pageNumber:n,pageSize:r},d.lazy("FetchColumnHomeArticleList",c,u)):t===s.a.SUBSCRIPTIONS.id?(c={pageNumber:n,pageSize:r},d.lazy("FetchSubscribedArticles",c,u)):(c={categoryId:t,pageNumber:n,pageSize:r,sortType:o,isMatchAuthor:a,isMatchColumn:i},d.lazy("FetchCategoryArticles",c,u))},t.r=function(){return d.call("FetchSubscribedArticleUnreadCount")},t.s=function(){return d.call("ResetSubscribedArticleUnreadCount")},t.t=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.pageNumber,n=e.pageSize,r={pageNumber:t,pageSize:n};return d.lazy("FetchQualityArticleList",r,{thresholdDuration:300})},t.u=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.pageNumber,n=e.pageSize,r={pageNumber:t,pageSize:n};return d.lazy("FetchHotArticleList",r,{thresholdDuration:300})},t.v=function(){return d.lazy("FetchCategoiesAndQualityArticles",{},{thresholdDuration:300})},t.w=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.pageNumber,n=e.pageSize,r=e.version,o={pageNumber:t,pageSize:n,version:r};return d.lazy("FetchColumnHomeArticleList",o,{thresholdDuration:300})},t.x=function(e){var t=e.articleId,n=e.action,r={articleId:t,action:n};return d.call("AuditArticle",r)},t.y=function(e){var t=e.articleId,n=e.action,r={articleId:t,action:n};return d.call("RecommendArticle",r)},t.z=function(e){var t={articleId:e.articleId};return d.call("SelfRecommendArticle",t)},t.A=function(e){var t=e.articleId,n=e.action,r={articleId:t,action:n};return d.call("RecommenColumnArticle",r)},t.B=function(e){var t=e.taskId,n=e.title,r=e.content,o=e.plain,a=e.picture,i=e.originalTime,c=e.source;r=f.i(p.a)(r),o=f.i(p.a)(o);var u={taskId:t,title:n,content:r,plain:o,picture:a,originalTime:i,source:c};return d.call("UpdateUnauditedSupportPlanArticleDetail",u)},t.C=function(e){var t=e.taskId,n=e.action,r={taskId:t,action:n};return d.call("AuditSupportPlanArticle",r)},t.D=function(e){var t={event:"view",marks:e.marks};return d.call("ReportArticleTextLinks",t)},t.E=function(e){var t={event:"click",marks:e.marks};return d.call("ReportArticleTextLinks",t)},t.F=function(e){var t={taskIds:e.taskIds};return d.call("BatchFetchUnauditedSupportPlanArticleDetail",t)},t.G=function(e){var t=e.id,n=e.action,r=e.similarArticleId,o=e.similarArticleType,a={id:t,action:n,similarArticleId:r,similarArticleType:o};return d.call("MarkSimilarArticle",a)},t.H=function(e){var t=e.articleId,n=e.action,r={articleId:t,action:n};return d.call("BanComment",r)},f.d(t,"I",function(){return c}),t.J=function(e){var t=e.articleId,n=e.action,r={articleId:t,action:n},o={thresholdBy:{articleId:t},thresholdDuration:500};return d.lazy("ToggleArticleFavor",r,o)};var n=f("cT2K"),p=f("u8nw"),s=f("1RX5");function r(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}var d=new n.a("column/article");var o,a=(o=r(regeneratorRuntime.mark(function e(t){var n,r,o=t.articleId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={articleIds:o},e.next=4,d.accumulate("BatchCheckArticlesLike",n);case 4:return r=e.sent,e.abrupt("return",r.includes(o));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}},e,this,[[0,8]])})),function(e){return o.apply(this,arguments)});var i,c=(i=r(regeneratorRuntime.mark(function e(t){var n,r,o=t.articleId;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n={articleIds:o},e.next=4,d.accumulate("BatchCheckArticlesFavor",n);case 4:return r=e.sent,e.abrupt("return",r.includes(o));case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}},e,this,[[0,8]])})),function(e){return i.apply(this,arguments)})},wCCX:function(e,t,n){"use strict";t.a=function(e){return{session:e.session}}},wWUc:function(e,t,n){"use strict";var r=n("qKt9");n.d(t,"a",function(){return r.a})},wZA5:function(e,t,o){"use strict";o.d(t,"a",function(){return m});var n,r,a=o(0),i=o.n(a),c=o("HW6M"),u=o.n(c),s=o("KSGD"),l=o.n(s),f=o("pwtL"),p=o("xt0B"),d=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var m=(r=n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.showFollowButton,r=e.hotrep;return i.a.createElement("div",{className:u()("coml-2-user-panel",{"has-btns":n})},i.a.createElement(f.Link,{to:"/user/"+t.id,target:"_blank",className:"coml-2-user-panel-link",hotrep:r}),i.a.createElement("div",{className:"coml-2-user-panel-inner"},t.avatar&&i.a.createElement("div",{className:"coml-2-user-panel-object"},i.a.createElement("span",{className:"com-2-avatar coml-2-user-panel-avatar"},i.a.createElement("span",{className:"com-2-avatar-inner",style:{backgroundImage:"url("+t.avatar+")"}}))),i.a.createElement("div",{className:"coml-2-user-panel-body"},i.a.createElement("h3",{className:"coml-2-user-panel-title"},i.a.createElement("span",{className:"name"},t.name),i.a.createElement(f.ProfessionVerifiedBadge,{user:t})),t.label&&i.a.createElement("p",{className:"coml-2-user-panel-desc"},t.label),i.a.createElement("div",{className:"coml-2-user-panel-infos"},i.a.createElement("div",{className:"com-datas"},i.a.createElement("span",{className:"com-data"},o.i(p.abbrNum)(t.articleCount)+" \u6587\u7ae0"),i.a.createElement("span",{className:"com-data"},o.i(p.abbrNum)(t.answerCount)+" \u56de\u7b54"),i.a.createElement("span",{className:"com-data"},o.i(p.abbrNum)(t.followerCount)+" \u5173\u6ce8\u8005"))),n&&i.a.createElement("div",{className:"coml-2-user-panel-btns"},i.a.createElement(f.FollowUserButton,{userId:t.id,whenUndetermined:"loading"})))))}}]),t}(),n.propTypes={user:l.a.object.isRequired,showFollowButton:l.a.bool,hotrep:l.a.string},n.defaultProps={showFollowButton:!1},r)},wa6R:function(e,t,n){"use strict";n("txXy"),n("B0y3");var r=n("afmD");n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b})},woOf:function(e,t,n){e.exports={default:n("V3tA"),__esModule:!0}},wqO5:function(e,t,n){"use strict";var o=n("BEQ0"),l=n("TJez"),b=n("cxPT");e.exports=function(e,p,a){var n=[],d={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},m={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)r(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=o({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=o({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=h(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=o({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in m;b(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in e;b(!a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}(e,t)},autobind:function(){}};function r(e,t){if(t){b("function"!=typeof t,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),b(!p(t),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n,r,o,a=e.prototype,i=a.__reactAutoBindPairs;for(var c in t.hasOwnProperty("mixins")&&m.mixins(e,t.mixins),t)if(t.hasOwnProperty(c)&&"mixins"!==c){var u=t[c],s=a.hasOwnProperty(c);if(n=s,r=c,o=d.hasOwnProperty(r)?d[r]:null,y.hasOwnProperty(r)&&b("OVERRIDE_BASE"===o,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",r),n&&b("DEFINE_MANY"===o||"DEFINE_MANY_MERGED"===o,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r),m.hasOwnProperty(c))m[c](e,u);else{var l=d.hasOwnProperty(c);if("function"!=typeof u||l||s||!1===t.autobind)if(s){var f=d[c];b(l&&("DEFINE_MANY_MERGED"===f||"DEFINE_MANY"===f),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",f,c),"DEFINE_MANY_MERGED"===f?a[c]=h(a[c],u):"DEFINE_MANY"===f&&(a[c]=v(a[c],u))}else a[c]=u;else i.push(c,u),a[c]=u}}}}function i(e,t){for(var n in b(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(b(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function h(r,o){return function(){var e=r.apply(this,arguments),t=o.apply(this,arguments);if(null==e)return t;if(null==t)return e;var n={};return i(n,e),i(n,t),n}}function v(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}var c={componentDidMount:function(){this.__isMounted=!0}},u={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},s=function(){};return o(s.prototype,e.prototype,y),function(e){var o=function(e,t,n){this.__reactAutoBindPairs.length&&function(e){for(var t,n=e.__reactAutoBindPairs,r=0;r<n.length;r+=2){var o=n[r],a=n[r+1];e[o]=(t=e,a.bind(t))}}(this),this.props=e,this.context=t,this.refs=l,this.updater=n||a,this.state=null;var r=this.getInitialState?this.getInitialState():null;b("object"==typeof r&&!Array.isArray(r),"%s.getInitialState(): must return an object or null",o.displayName||"ReactCompositeComponent"),this.state=r};for(var t in o.prototype=new s,(o.prototype.constructor=o).prototype.__reactAutoBindPairs=[],n.forEach(r.bind(null,o)),r(o,c),r(o,e),r(o,u),o.getDefaultProps&&(o.defaultProps=o.getDefaultProps()),b(o.prototype.render,"createClass(...): Class specification must implement a `render` method."),d)o.prototype[t]||(o.prototype[t]=null);return o}}},wstg:function(e,t,n){"use strict"},"wt/o":function(e,t,n){"use strict";new(n("PNJI").Service)("salon")},wxAW:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("C4MV"),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}()},"xF/Z":function(e,t,s){"use strict";s.d(t,"a",function(){return o});var n=s(0),c=s.n(n),l=s("pwtL"),f=s("LuWy"),r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var o=function(e){function i(){var e,t,c,n,u=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=c=p(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={loading:!1,disabled:!1,text:"\u63a5\u53d7\u9080\u8bf7"},c.handleAccept=(n=regeneratorRuntime.mark(function e(){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=c.state,n=t.loading,r=t.disabled,n||r)return e.abrupt("return");e.next=3;break;case 3:return o=c.props,a=o.invitedCode,i=o.msgId,o.column.id,e.prev=4,c.setState({loading:!0}),e.next=8,s.i(f.a)({msgId:i,inviteCode:a});case 8:c.setState({loading:!1,disabled:!0,text:"\u5df2\u52a0\u5165"}),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(4),l.MessageTip.error(e.t0.msg||"\u52a0\u5165\u4e13\u680f\u5931\u8d25"+(e.t0.code||"")),c.setState({loading:!1});case 15:case"end":return e.stop()}},e,u,[[4,11]])}),function(){var c=n.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}),p(c,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,c.a.Component),r(i,[{key:"render",value:function(){var e=this.props,t=e.invitedCode,n=e.hasAccept,r=this.state,o=r.loading,a=r.disabled,i=r.text;return!t||n?null:c.a.createElement(l.Button,{className:"c-btn-hole smaller",type:"button",loading:o,disabled:a,onClick:this.handleAccept},i)}}]),i}()},xGkn:function(e,t,n){"use strict";var r=n("4mcu"),o=n("EGZi"),a=n("/bQp"),i=n("TcQ7");e.exports=n("vIB/")(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},xJnl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isMac",function(){return r}),n.d(t,"metaKeyDisplay",function(){return o});var r=isClientContext&&/Mac/.test(navigator.userAgent),o=r?"\u2318":"Ctrl"},xLtR:function(e,t,n){"use strict";var r=n("cGG2"),o=n("TNV1"),a=n("pBtG"),i=n("KCLY");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||i.adapter)(t).then(function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},xOTX:function(e,t,n){"use strict";function r(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}t.b=function(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(r(e,t,n))return!0;e=e.parentNode}return e},t.a=function(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}},xSJG:function(e,t,n){"use strict";function r(){return!1}function o(){return!0}function a(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),a.prototype={isEventObject:1,constructor:a,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=o},stopPropagation:function(){this.isPropagationStopped=o},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=a,e.exports=t.default},xYAz:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(0),i=n.n(r),o=n("rdLu"),c=n.n(o),u=n("pwtL"),a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),a(t,[{key:"render",value:function(){var e=this.props,t=e.question,n=e.answer,r=e.comment,o=e.message;if(!n||c.a.isEmpty(n)||!t||!r||!o)return null;var a=r.content?r.content.length<35?r.content:r.content.substring(0,35)+"...":"";return i.a.createElement(u.AskLink,{target:"_blank",questionId:t.id,answerId:n.id,title:a},a)}}]),t}()},xeIk:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r,o,a,c=n(0),O=n.n(c),i=n("KSGD"),u=n.n(i),s=n("HW6M"),k=n.n(s),l=n("qFNz"),_=n("UVf0"),C=(n.n(_),n("PNJI")),N=n("2h0h"),f=(n("h9SP"),n("JG3i")),T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var S=f.a.CopyShareLink,P=(f.a.ShareToQZone,f.a.ShareToWechat),R=f.a.ShareToWeibo,I=f.a.ShareToQQ,m=n.i(l.a)((a=o=function(e){function i(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=d(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o)))).state={open:!1},n.toggleOpen=function(){n.setState(function(e){return{open:!e.open}})},d(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,c["Component"]),p(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.subject,r=e.shareTitle,o=e.shareSummary,a=e.shareUrl,i=e.qrCodeSize,c=e.bubblePlacement,u=e.withQQ,s=e.withCopy,l=e.withTrigger,f=e.triggerClassName,p=e.triggerFrom,d=e.triggerContent,m=e.triggerHotrep,h=this.state.open,v=k()("com-share-options",t),y=function(){return l?100*b+++"ms":null},b=0,g=[O.a.createElement("li",{key:"wechat",style:{transitionDelay:y()}},O.a.createElement(P,{title:"\u5206\u4eab"+n+"\u5230\u670b\u53cb\u5708",shareOptions:{url:a},qrCodeSize:i,bubblePlacement:c})),u&&O.a.createElement("li",{key:"qq",style:{transitionDelay:y()}},O.a.createElement(I,{title:"\u5206\u4eab"+n+"\u5230 QQ",shareOptions:{url:a,title:r,summary:o},bubblePlacement:c})),O.a.createElement("li",{key:"weibo",style:{transitionDelay:y()}},O.a.createElement(R,{title:"\u5206\u4eab"+n+"\u5230\u5fae\u535a",shareOptions:{url:a,title:o?[r,o].join("\uff0c"):r},bubblePlacement:c})),s&&O.a.createElement("li",{key:"copy",style:{transitionDelay:y()}},O.a.createElement(S,{key:a,shareLink:a,defaultText:"\u590d\u5236"+n+"\u94fe\u63a5\u5230\u526a\u8d34\u677f",successText:"\u94fe\u63a5\u590d\u5236\u6210\u529f",bubblePlacement:c}))];if(l){var w=g.length,E=(0+100*(w-1))*w/2;return O.a.createElement("span",null,O.a.createElement(N.a,{onClick:this.toggleOpen,className:k()("com-opt-link link-share",f),hotrep:m},O.a.createElement("i",{className:"com-i-share"}),d),O.a.createElement(_.CSSTransitionGroup,T({component:"ul",className:v},C.transition.slide({enterPosition:"left"===p?{x:-50,y:0}:{x:0,y:-50}}),{transitionEnterTimeout:E,transitionLeaveTimeout:E}),h&&g))}return O.a.createElement("ul",{className:v},g)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.withTrigger,n=e.disableOnClickOutside;t||n()}},{key:"handleClickOutside",value:function(){this.setState({open:!1})}}]),i}(),o.propTypes={className:u.a.string,subject:u.a.string,shareTitle:u.a.string.isRequired,shareSummary:u.a.string,shareUrl:u.a.string,qrCodeSize:u.a.number,bubblePlacement:u.a.string,withQQ:u.a.bool,withCopy:u.a.bool,withTrigger:u.a.bool,triggerClassName:u.a.string,triggerFrom:u.a.oneOf(["left","top"]),triggerContent:u.a.node,triggerHotrep:u.a.string},o.defaultProps={subject:"",shareSummary:"",bubblePlacement:"bottom",withQQ:!0,withCopy:!0,withTrigger:!1,triggerFrom:"left"},r=a))||r},xm4Y:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("zqlw");n.d(t,"b",function(){return r.a});var o=n("UBMG");n.d(t,"c",function(){return o.a});var a=[{title:"\u70ed\u95e8\u4ea7\u54c1",list:[{title:"\u57df\u540d\u6ce8\u518c",link:"https://dnspod.cloud.tencent.com",hotrep:"community.footer.rmcp.ymzc"},{title:"\u4e91\u670d\u52a1\u5668",link:"~/product/cvm",hotrep:"community.footer.rmcp.cvm"},{title:"\u533a\u5757\u94fe\u6280\u672f",link:"~/product/tbaas",hotrep:"community.footer.rmcp.tbaas"},{title:"\u6d88\u606f\u961f\u5217",link:"~/product/mq",hotrep:"community.footer.rmcp.mq"},{title:" \u7f51\u7edc\u52a0\u901f",link:"~/product/dsa",hotrep:"community.footer.rmcp.dsa"},{title:"\u5173\u7cfb\u578b\u6570\u636e\u5e93",link:"~/product/cdb-overview",hotrep:"community.footer.rmcp.cdb-overview"},{title:"\u57df\u540d\u89e3\u6790",link:"~/product/cns",hotrep:"community.footer.rmcp.rmjx"},{title:"\u4e91\u5b58\u50a8",link:"~/product/cos",hotrep:"community.footer.rmcp.cos"},{title:"\u5bbf\u4e3b\u673a",link:"~/product/cdh",hotrep:"community.footer.rmcp.cdh"}]},{title:"\u70ed\u95e8\u63a8\u8350",list:[{title:"\u4eba\u8138\u8bc6\u522b",link:"~/product/facerecognition",hotrep:"community.footer.rmtj.facerecognition"},{title:"\u7f51\u7ad9\u5907\u6848",link:"~/product/ba",hotrep:"community.footer.rmtj.ba"},{title:"\u6570\u636e\u53ef\u89c6\u5316",link:"~/product/yuntu",hotrep:"community.footer.rmtj.yuntu"},{title:"CDN \u52a0\u901f",link:"~/product/cdn-scd",hotrep:"community.footer.rmtj.cdn-scd"},{title:"\u89c6\u9891\u8f6c\u7801",link:"~/product/vts",hotrep:"community.footer.rmtj.vts"},{title:"\u56fe\u7247\u6587\u5b57\u8bc6\u522b",link:"~/product/ocr",hotrep:"community.footer.rmtj.ocr"},{title:"MySQL \u6570\u636e\u5e93",link:"~/product/cdb",hotrep:"community.footer.rmtj.cdb"},{title:"SSL \u8bc1\u4e66",link:"~/product/symantecssl",hotrep:"community.footer.rmtj.symantecssl"},{title:"\u8bed\u97f3\u8bc6\u522b",link:"~/product/asr",hotrep:"community.footer.rmtj.asr"}]},{title:"\u66f4\u591a\u63a8\u8350",list:[{title:"\u6570\u636e\u5b89\u5168",link:"~/solution/data_protection",hotrep:"community.footer.gdtj.data_protection"},{title:"\u5b66\u751f\u673a",link:"~/act/campus",hotrep:"community.footer.gdtj.campus"},{title:"\u77ed\u4fe1\u7fa4\u53d1\u5e73\u53f0",link:"~/product/sms",hotrep:"community.footer.gdtj.sms"},{title:"\u6587\u5b57\u8bc6\u522b",link:"~/product/ocr",hotrep:"community.footer.gdtj.ocr"},{title:"\u89c6\u9891\u70b9\u64ad",link:"~/product/vod",hotrep:"community.footer.gdtj.vod"},{title:"\u6570\u636e\u5b89\u5168\u5ba1\u8ba1",link:"~/product/cds-audit",hotrep:"community.footer.gdtj.cds-audit"},{title:"\u5c0f\u7a0b\u5e8f\u5f00\u53d1",link:"~/solution/la",hotrep:"community.footer.gdtj.la"},{title:"\u7f51\u7ad9\u76d1\u63a7",link:"~/product/cat",hotrep:"community.footer.gdtj.cat"},{title:"\u57df\u540d\u5907\u6848",link:"~/product/ba",hotrep:"community.footer.gdtj.ba"}]}]},xnc9:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},xrIa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("EaKe");n.d(t,"uploadAvatarImage",function(){return r.a}),n.d(t,"uploadDraftImage",function(){return r.b}),n.d(t,"uploadDraftAttachment",function(){return r.c}),n.d(t,"saveHttpImage",function(){return r.d})},xt0B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("gooK");n.d(t,"abbrNum",function(){return r.a});var o=n("L+y6");n.d(t,"actionTypeCreator",function(){return o.a});var a=n("mQAv");n.d(t,"blinkElement",function(){return a.a});var i=n("zZD1");n.d(t,"buildSEOPages",function(){return i.a});var c=n("q+qH");n.d(t,"chunkArray",function(){return c.a});var u=n("PU2c");n.d(t,"concurrentTasks",function(){return u.a});var s=n("lV5i");n.d(t,"connectRoute",function(){return s.a});var l=n("RTMK");n.d(t,"connectSession",function(){return l.a});var f=n("u8nw");n.d(t,"encodeContent",function(){return f.a}),n.d(t,"decodeContent",function(){return f.b});var p=n("hMG2");n.d(t,"countdown",function(){return p.a});var d=n("Wzhn");n.d(t,"createDevTools",function(){return d.a});var m=n("RYm+");n.d(t,"createEntry",function(){return m.a});var h=n("H4mP");n.d(t,"createLowEnough",function(){return h.a});var v=n("F/mi");n.d(t,"createWrapper",function(){return v.a});var y=n("Ed5x");n.d(t,"dateFormat",function(){return y.a});var b=n("pIW5");n.d(t,"ensureExists",function(){return b.a});var g=n("5D+V");n.d(t,"escapeRegExp",function(){return g.a});var w=n("gFeq");n.d(t,"exportCanvasImage",function(){return w.a}),n.d(t,"toBlob",function(){return w.b});var E=n("GNY4");n.d(t,"extractTOCFromRaw",function(){return E.a});var O=n("W/gl");n.d(t,"formatDate",function(){return O.a});var k=n("Xchr");n.d(t,"genSimpleHashCode",function(){return k.a});var _=n("bFpM");n.d(t,"getDaysOfMonth",function(){return _.a});var C=n("qDlB");n.d(t,"getDisplayName",function(){return C.a});var N=n("e2nb");n.d(t,"getIn",function(){return N.a});var T=n("ccWO");n.d(t,"getOriginalSharingBadgeDesc",function(){return T.a});var S=n("Tpeq");n.d(t,"getRouteUrl",function(){return S.b}),n.d(t,"getAbsoluteRouteUrl",function(){return S.a});var P=n("OhSS");n.d(t,"getThumbnailUrl",function(){return P.a});var R=n("LtjF");n.d(t,"hashFile",function(){return R.a});var I=n("euci");n.d(t,"hashObject",function(){return I.a});var j=n("WVx1");n.d(t,"hashString",function(){return j.a});var x=n("YwWk");n.d(t,"insertCSS",function(){return x.a});var A=n("b4uM");n.d(t,"isForeignImage",function(){return A.a});var L=n("R00A");n.d(t,"isLeapYear",function(){return L.a});var D=n("+2cF");n.d(t,"isSaveAction",function(){return D.a});var M=n("E2SJ");n.d(t,"isValidUrl",function(){return M.a}),n.d(t,"findUrl",function(){return M.b});var B=n("6/9J");n.d(t,"mb_strlen",function(){return B.a});var U=n("5l3A");n.d(t,"mergeIn",function(){return U.a});var q=n("tS9w");n.d(t,"numberFormat",function(){return q.a});var F=n("2exW");n.d(t,"obscureNum",function(){return F.a});var H=n("Bob8");n.d(t,"openWindow",function(){return H.a});var W=n("bA4d");n.d(t,"paramToQuery",function(){return W.a});var G=n("NREP");n.d(t,"pluckForeignImages",function(){return G.a});var V=n("o3Pe");n.d(t,"pluckImagesFromRaw",function(){return V.a});var K=n("WtI4");n.d(t,"preloadImage",function(){return K.a});var z=n("9HVm");n.d(t,"quickAsk",function(){return z.a});var Q=n("Et7b");n.d(t,"rand",function(){return Q.a});var Y=n("+c6E");n.d(t,"rangeArray",function(){return Y.a});var J=n("humj");n.d(t,"readPNGDensity",function(){return J.a});var X=n("hDCR");n.d(t,"reduceReducers",function(){return X.a});var Z=n("rqIs");n.d(t,"connectModel",function(){return Z.a}),n.d(t,"createAjaxLogic",function(){return Z.b}),n.d(t,"getDefaultAjaxState",function(){return Z.c}),n.d(t,"createModel",function(){return Z.d});var $=n("r5n/");n.d(t,"removeInvalidImageBlocks",function(){return $.a});var ee=n("yXNU");n.d(t,"resaveForeignImage",function(){return ee.a});var te=n("Hcn5");n.d(t,"resolveArticleCoverImage",function(){return te.a});var ne=n("821W");n.d(t,"resolveArticleImages",function(){return ne.a});var re=n("1sB0");n.d(t,"resolveArticleSummary",function(){return re.a});var oe=n("JlNQ");n.d(t,"resolveFirstImage",function(){return oe.a});var ae=n("mdKn");n.d(t,"retry",function(){return ae.a});var ie=n("MIUs");n.d(t,"scrollElement",function(){return ie.a}),n.d(t,"scrollDocument",function(){return ie.b}),n.d(t,"scrollIntoView",function(){return ie.c});var ce=n("paB3");n.d(t,"selectRoute",function(){return ce.a});var ue=n("wCCX");n.d(t,"selectSession",function(){return ue.a});var se=n("m0AM");n.d(t,"serializeUrlParams",function(){return se.a});var le=n("mDIe");n.d(t,"stripSpecialChars",function(){return le.a});var fe=n("gPRx");n.d(t,"supportH5History",function(){return fe.a});var pe=n("Ek5d");n.d(t,"initTabCross",function(){return pe.a});var de=n("7oZE");n.d(t,"unpackRawContent",function(){return de.a});var me=n("hm/m");n.d(t,"updateRawImageUrls",function(){return me.a});var he=n("gv2m");n.d(t,"uploadFile",function(){return he.a});var ve=n("Gy3k");n.d(t,"validateEmailAddress",function(){return ve.a});var ye=n("UVcW");n.d(t,"validateIDCard",function(){return ye.a});var be=n("Ecpc");n.d(t,"validatePhoneNumber",function(){return be.a});var ge=n("AgdZ");n.d(t,"validateQQNumber",function(){return ge.a})},y8Gt:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r,o,a=n(0),i=n.n(a),c=n("KSGD"),u=n.n(c),s=n("HW6M"),l=n.n(s),f=n("Zagk"),p=n("Rjzc"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var h=(o=r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),m(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return i.a.createElement("div",d({className:l()("com-2-layout",t)},r),n)}}]),t}(),r.propTypes={className:u.a.string},o);h.Main=f.a,h.Aside=p.a},y9pi:function(e,t,n){"use strict";t.a=function(e){var t=e.children;return o.a.createElement("div",{className:"com-2-section-bd"},t)};var r=n(0),o=n.n(r)},yQUO:function(e,t,n){"use strict";n.d(t,"a",function(){return O});var r,o,a,i=n(2),c=n.n(i),u=n("rdLu"),s=n.n(u),l=n(0),f=n.n(l),p=n("KSGD"),d=n.n(p),m=n("HW6M"),h=n.n(m),v=n("u74s"),y=n("PNJI"),b=n("pwtL"),g=n("nmGv"),w=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function E(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var O=n.i(v.a)()((a=o=function(e){function a(){var e,t,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=i=E(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={setSafeArea:!1,miniprogram:i.props.fromMiniProgram},i.resizeLayout=function(){i.$window=c()(window),i.$header=c()(".J-header"),i.$body=c()(".J-body"),i.$footer=c()(".J-footer"),i.$window.on("resize",i.fitLayout),i.$footer.css({position:"",width:"",bottom:"",visibility:""}),i.fitLayout()},i.fitLayout=s.a.throttle(function(){var e=i,t=e.$window,n=e.$header,r=e.$body,o=e.$footer,a=t.height()-n.height()-(o.height()||0);a-=parseInt(r.css("margin-top"),10),a-=parseInt(r.css("margin-bottom"),10),r.css("min-height",Math.max(0,a))},40),E(i,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,l["Component"]),w(a,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=e.renderEdgeWidget,o=e.widgetAddons,a=this.state,i=a.setSafeArea,c=a.miniprogram,u=h()(t,{"set-safe-area":i,miniprogram:c});return f.a.createElement(l.Fragment,null,f.a.createElement("div",{className:u},n),r&&f.a.createElement("div",{className:"com-widget-global"},o,f.a.createElement("div",{style:{position:"relative",zIndex:8088}},f.a.createElement(g.a,{className:"com-widget-qr",bubblePlacement:"right"})),f.a.createElement(b.BackToTop,null)),f.a.createElement(b.ServiceMonitor,null),f.a.createElement(b.DialogManager,null),f.a.createElement(b.MessageTip,null),f.a.createElement(b.PageViewReporter,null))}},{key:"componentDidMount",value:function(){y.ualib.isMobileEnv||this.resizeLayout(),this.adapt4IphoneX(),this.adaptMiniProgram()}},{key:"componentWillUnmount",value:function(){y.ualib.isMobileEnv||this.$window.off("resize",this.fitLayout)}},{key:"adapt4IphoneX",value:function(){var e=y.ualib.isIphoneX,t=y.ualib.isWechat,n=window.innerHeight;e&&(t||768<=n)&&this.setState({setSafeArea:!0})}},{key:"adaptMiniProgram",value:function(){this.props.fromMiniProgram||this.setState({miniprogram:y.ualib.isMiniProgram})}}]),a}(),o.propTypes={className:d.a.string,renderEdgeWidget:d.a.bool,widgetAddons:d.a.node},o.defaultProps={renderEdgeWidget:!0,widgetAddons:null},r=a))||r},yQtq:function(e,t,n){"use strict";var r=n("V6IP");n.d(t,"a",function(){return r.a})},yX5L:function(e,t,n){"use strict";var r=n("2WJi");n.d(t,"a",function(){return r.a})},yXIJ:function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return _}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return N}),n.d(t,"e",function(){return T});var r,o,a=n(0),c=n.n(a),i=n("KSGD"),u=n.n(i),s=n("HW6M"),l=n.n(s),f=n("2h0h"),p=n("hXRd"),d=n("O0A+"),m=n("0aTp"),h=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function w(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var E=function(e){var t=e.className,n=e.style,r=e.children;return c.a.createElement("div",{className:l()("c-dialog",t),style:n},r)},O=function(e){var t=e.children;return c.a.createElement("div",{className:"c-dialog-hd"},t)},k=O,_=function(e){var t=e.className,n=e.children,r=w(e,["className","children"]);return c.a.createElement("div",v({className:l()("c-dialog-bd",t)},r),n)},C=function(e){var t=e.children;return c.a.createElement("div",{className:"c-dialog-ft"},t)},N=function(e){var t=e.primary,n=void 0!==t&&t,r=e.children,o=w(e,["primary","children"]);return c.a.createElement(p.a,v({},o,{naked:!0,className:l()("c-btn",{"c-btn-hole":!n})}),r)},T=function(e){function t(){return y(this,t),b(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return g(t,a["Component"]),h(t,[{key:"render",value:function(){return null}},{key:"componentDidUpdate",value:function(){t._renderToManager(this.props)}},{key:"componentDidMount",value:function(){t._renderToManager(this.props)}},{key:"componentWillUnmount",value:function(){d.a.replace(null)}}],[{key:"_renderToManager",value:function(e){var t=e.children,n=w(e,["children"]);d.a.replace(c.a.createElement(S,n,t))}},{key:"show",value:function(e){d.a.hold(e)}},{key:"hide",value:function(){d.a.hold(null),d.a.replace(null)}},{key:"alert",value:function(e){var t=this;m.a.show(v({},e,{showCancel:!1,onConfirm:function(){return t.hide()}}))}},{key:"confirm",value:function(e){m.a.show(e)}}]),t}();T.Head=k,T.Body=_,T.Footer=C,T.Button=N;var S=(o=r=function(e){function i(){var e,t,n;y(this,i);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n=b(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(o))))._close=function(){"function"==typeof n.props.onClose&&n.props.onClose()},b(n,t)}return g(i,a["Component"]),h(i,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.style,r=e.caption,o=e.disableCloseButton,a=e.children;return c.a.createElement(E,{className:t,style:n},c.a.createElement(O,null,r&&c.a.createElement("strong",{className:"c-dialog-hd-title"},r),!0!==o&&c.a.createElement(f.a,{className:"c-dialog-hd-close",title:"\u5173\u95ed",onClick:this._close},c.a.createElement("span",null,"\u5173\u95ed"))),a)}}]),i}(),r.propTypes={className:u.a.string,containerClassName:u.a.string,style:u.a.object,caption:u.a.node,onClose:u.a.func,disableCloseButton:u.a.bool,disableEscape:u.a.bool,maskClosable:u.a.bool},r.defaultProps={disableCloseButton:!1,disableEscape:!1,maskClosable:!0},o)},yXNU:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var a=n("MCil");var r,o,i=(r=regeneratorRuntime.mark(function e(t){var n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",null);case 2:if(n=function(e){return!/^(https:)?\/\/[\w\.\-]+\.(qcloudimg\.com|file.myqcloud.com)\//.test(e)},e.prev=3,n(t))return e.next=7,a.a.saveHttpImage(t);e.next=10;break;case 7:return r=e.sent,o=r.url,e.abrupt("return",o);case 10:return e.abrupt("return",t);case 13:return e.prev=13,e.t0=e.catch(3),e.abrupt("return",null);case 16:case"end":return e.stop()}},e,this,[[3,13]])}),o=function(){var c=r.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})},function(e){return o.apply(this,arguments)})},yb2Z:function(e,t,n){"use strict";var r=n("53YN");n.d(t,"a",function(){return r.a})},ypWF:function(e,t,o){"use strict";t.a=function(e){var u=e.targetId,i=e.handleCheck,s=e.handleToggle,t=e.defaultProps,f=void 0===t?{}:t;return function(l){var e,t,n,a,r=o.i(h.connectSession)()((n=t=function(e){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t=function(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));a.call(t);var n=e.isFollowing,r=void 0===n?null:n;return t.state={isFollowing:r,loading:!1},t}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,e),b(o,null,[{key:"track",value:function(e){this.instances.push(e)}},{key:"untrack",value:function(e){var t=this.instances.indexOf(e);~t&&this.instances.splice(t,1)}},{key:"findBySameTargetIdValue",value:function(t){return this.instances.filter(function(e){return e!==t&&e.props[u]===t.props[u]})}},{key:"instances",get:function(){return this._instances||(this._instances=[])}}]),b(o,[{key:"setState",value:function(){if(!this.isUnmounted){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=y(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"setState",this)).call.apply(e,[this].concat(n))}}},{key:"render",value:function(){return this.renderContent()}},{key:"renderContent",value:function(){var e=this.props,t=e.session,n=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["session"]),r=n.whenUndetermined,o=void 0===r?"hidden":r,a=Boolean(n.userId),i=a&&t.uid===n.userId,c=this.state,u=c.isFollowing,s=c.loading;return null===u?"loading"===o?p.a.createElement(l,v({},f,n,{loading:!i,disabled:!0})):null:p.a.createElement(l,v({},f,n,{loading:s,isFollowing:u,onClick:this.handleButtonClick}))}},{key:"componentDidMount",value:function(){this.constructor.track(this),this.initFollowingState()}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0,this.constructor.untrack(this)}},{key:"initFollowingState",value:(n=w(regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props[u],e.next=3,i(g({},u,t));case 3:n=e.sent,this.setState({isFollowing:n});case 5:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"toggleFollowingState",value:(t=w(regeneratorRuntime.mark(function e(){var t,n,r,o,a,i,c=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t[u],r=t.onClick,o=this.state.isFollowing,a=o?O:E,this.setState({loading:!0}),e.prev=4,e.next=7,s((g(i={},u,n),g(i,"follow",a),i));case 7:r({isFollowing:!o}),this.setState(function(e){var t=!e.isFollowing,n=c.constructor.findBySameTargetIdValue(c);return n.forEach(function(e){return e.setState({isFollowing:t})}),{isFollowing:t}}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(4),m.MessageTip.error(e.t0.msg||e.t0.message);case 14:return e.prev=14,this.setState({loading:!1}),e.finish(14);case 17:case"end":return e.stop()}},e,this,[[4,11,14,17]])})),function(){return t.apply(this,arguments)})}]),o}(c.Component),t.displayName="ConnectFollowing("+o.i(h.getDisplayName)(l)+")",t.defaultProps={onClick:function(e){e.isFollowing}},a=function(){var t=this;this.handleButtonClick=function(e){if(e.preventDefault(),e.stopPropagation(),!t.props.session.isLogined)return d.login.show();t.toggleFollowingState()}},e=n))||e;return r}};var c=o(0),p=o.n(c),n=o("UVf0"),d=(o.n(n),o("PNJI")),m=o("pwtL"),h=o("xt0B"),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;return void 0!==i?i.call(r):void 0},b=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){return function(){var c=e.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})}}var E=1,O=2},ytzh:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={NONE:"none",LOADING:"loading",LOADED:"loaded",FAILED:"failed"}},z5Sk:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,a=n(0),s=n.n(a),i=n("HW6M"),l=n.n(i),c=n("KSGD"),u=n.n(c),f=n("pwtL"),p=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var d=(o=r=function(e){function o(e){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t,i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));i.handleClick=function(){var e=i.props,t=e.recommendText,n=e.cancelRecommendText,r=i.state.isRecommended?n:t;f.Dialog.confirm({title:"\u63d0\u793a",content:r,onConfirm:function(){return i.handleRecommendArticle()}})},i.handleRecommendArticle=(t=regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.props,n=t.onRecommendArticle,r=t.onSucceed,o=i.state.isRecommended,e.prev=2,i.setState({loading:!0}),e.next=6,n(!o);case 6:i.setState({isRecommended:!o}),f.Dialog.hide(),f.MessageTip.info("\u64cd\u4f5c\u6210\u529f\uff01"),r(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),f.MessageTip.error(e.t0.msg||e.t0.message||"\u6587\u7ae0\u63a8\u8350\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5");case 15:return e.prev=15,i.setState({loading:!1}),e.finish(15);case 18:case"end":return e.stop()}},e,a,[[2,12,15,18]])}),function(){var c=t.apply(this,arguments);return new Promise(function(a,i){return function t(e,n){try{var r=c[e](n),o=r.value}catch(e){return void i(e)}if(!r.done)return Promise.resolve(o).then(function(e){t("next",e)},function(e){t("throw",e)});a(o)}("next")})});var n=e.article,r=void 0===n?{}:n;return i.state={loading:!1,isRecommended:r.isRecommended||!1},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,a["Component"]),p(o,[{key:"render",value:function(){var e=this.state,t=e.loading,n=e.isRecommended,r=this.props,o=r.btnText,a=r.btnCancelText,i=r.isBtn,c=r.cssStyle,u=r.className;return i?s.a.createElement(f.Button,{className:l()("smaller",u,{"c-btn-hole":n}),style:{minWidth:"80px"},tinyLoading:!0,loading:t,onClick:this.handleClick},n?a:o):s.a.createElement(f.Link,{onClick:this.handleClick,className:u,style:c},n?a:o)}}]),o}(),r.propTypes={article:u.a.object.isRequired,onRecommendArticle:u.a.func.isRequired,onSucceed:u.a.func,btnText:u.a.string,btnCancelText:u.a.string,recommendText:u.a.string,cancelRecommendText:u.a.string,isBtn:u.a.bool,className:u.a.string},r.defaultProps={onRecommendArticle:function(){},onSucceed:function(){},btnText:"\u63a8\u8350",btnCancelText:"\u53d6\u6d88\u63a8\u8350",recommendText:"\u786e\u5b9a\u8981\u5c06\u8be5\u6587\u7ae0\u63a8\u8350\u5230\u4e13\u680f\u9996\u9875\u5417\uff1f",cancelRecommendText:"\u786e\u5b9a\u8981\u53d6\u6d88\u63a8\u8350\u8be5\u6587\u7ae0\u5417\uff1f",isBtn:!0},o)},"zBe+":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={HOT:"hot",TIMELINE:"timeline",FOLLOWINGS:"followings"}},zDml:function(e,t,n){"use strict";t.a=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return o.a.createElement("header",c({},r,{className:i()("com-2-section-hd",t)}),n)};var r=n(0),o=n.n(r),a=n("HW6M"),i=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},zLJM:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(2),o=n.n(r),a=n(0),i=(n.n(a),n("PNJI")),c=n("nfin"),u=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a["Component"]),u(t,[{key:"render",value:function(){return null}},{key:"componentDidMount",value:function(){this.reportCommunityPageView()}},{key:"reportCommunityPageView",value:function(){(new Image).src=c.b+"/services/ajax/pageview-report?"+o.a.param({action:"ReportCommunityPageView",t:Date.now(),referer:encodeURIComponent(document.referrer),uin:i.login.getUin(),csrfCode:i.login.getCsrfCode()})}}]),t}()},zMWZ:function(e,t,n){"use strict";var r=n("qcG4");n.d(t,"a",function(){return r.a})},zQR9:function(e,t,n){"use strict";var r=n("h65t")(!0);n("vIB/")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},zWuG:function(e,t,n){"use strict";var r=n("91lK");n.d(t,"a",function(){return r.a})},zZD1:function(e,t,n){"use strict";t.a=function(e){var t=e.currentPage,n=e.pageCount,r=e.range,o=void 0===r?10:r,a=[],i=Math.min(o,n-1);t=Math.max(1,Math.min(t,n));var c=1;for(;;){var u=t+c;if(1<=u&&u<=n&&a[0<c?"push":"unshift"](u),0<c?c*=-1:c=Math.abs(c)+1,a.length>=i)break}return a}},zcFO:function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter(function(e){return null!=e})).length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},zhX3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("dp5j");n.d(t,"fetchHotKeywords",function(){return r.b}),n.d(t,"quickSearchKeyword",function(){return r.a}),n.d(t,"searchList",function(){return r.c}),n.d(t,"fetchSearchListTotals",function(){return r.d}),n.d(t,"getSearchHotWords",function(){return r.e})},zqlw:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(0),o=n.n(r),a=n("nfin"),i=n("pwtL"),c=n("7Xlb"),u=n("419r"),s=n("NVip"),l=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["Component"]),l(t,[{key:"render",value:function(){return o.a.createElement("div",{className:"J-footer com-2-footer",style:{position:"fixed",width:"100%",bottom:0,visibility:"hidden"}},o.a.createElement("div",{className:"com-2-footer-inner"},o.a.createElement("div",{className:"com-2-footer-main"},o.a.createElement("div",{className:"com-2-footer-main-ctn"},o.a.createElement("div",{className:"com-2-footer-main-inner"},this.renderWebsiteGroups(),this.renderQrCode())))),this.renderProductGroup(),this.renderCopyright())}},{key:"renderWebsiteGroups",value:function(){return o.a.createElement("div",{className:"com-2-footer-website"},o.a.createElement("ul",{className:"com-2-footer-website-group"},o.a.createElement("li",{className:"com-2-footer-website-column"},o.a.createElement(c.a,{title:"\u793e\u533a",list:[{title:"\u4e13\u680f\u6587\u7ae0",link:"/column",hotrep:"community.footer.community.article"},{title:"\u4e92\u52a8\u95ee\u7b54",link:"/ask",hotrep:"community.footer.community.ask"},{title:"\u6280\u672f\u6c99\u9f99",link:"/salon",hotrep:"community.footer.community.salon"},{title:"\u6280\u672f\u5feb\u8baf",link:"/news",hotrep:"community.footer.community.news"},{title:"\u56e2\u961f\u4e3b\u9875",link:"/teams",hotrep:"community.footer.community.teams"},{title:"\u5f00\u53d1\u8005\u624b\u518c",link:"/devdocs",hotrep:"community.footer.community.devdocs"},{title:"\u667a\u80fd\u949bAI",link:"/timl",hotrep:"community.footer.community.timl"}]})),o.a.createElement("li",{className:"com-2-footer-website-column"},o.a.createElement(c.a,{title:"\u6d3b\u52a8",list:[{title:"\u539f\u521b\u5206\u4eab\u8ba1\u5212",link:"/original-sharing",hotrep:"community.footer.activity.original-sharing"},{title:"\u81ea\u5a92\u4f53\u5206\u4eab\u8ba1\u5212",link:"/support-plan",hotrep:"community.footer.activity.support-plan"}]})),o.a.createElement("li",{className:"com-2-footer-website-column"},o.a.createElement(c.a,{title:"\u8d44\u6e90",list:[{title:"\u5728\u7ebf\u5b66\u4e60\u4e2d\u5fc3",link:"~/edu/learning?ADTAG=sq.bott",target:"_blank",hotrep:"community.footer.resource.edu"},{title:"\u6280\u672f\u5468\u520a",link:"/specials",hotrep:"community.footer.resource.specials"},{title:"\u793e\u533a\u6807\u7b7e",link:"/tags",hotrep:"community.footer.resource.tags"},{title:"\u5f00\u53d1\u8005\u5b9e\u9a8c\u5ba4",link:"/labs",target:"_blank",hotrep:"community.footer.resource.labs"}]})),o.a.createElement("li",{className:"com-2-footer-website-column"},o.a.createElement(c.a,{title:"\u5173\u4e8e",list:[{title:"\u793e\u533a\u89c4\u8303",link:"https://"+a.c+a.b+"/article/1006434",hotrep:"community.footer.about.spec"},{title:"\u514d\u8d23\u58f0\u660e",link:"https://"+a.c+a.b+"/article/1006435",hotrep:"community.footer.about.disclaimer"},{title:"\u8054\u7cfb\u6211\u4eec",link:"~mailto:"+a.m,hotrep:"community.footer.about.contact"}]})),o.a.createElement("li",{className:"com-2-footer-website-column com-v-box"},o.a.createElement(c.a,{title:"\u5f52\u6863",list:[{title:"\u95ee\u9898\u5f52\u6863",link:"/ask/archives.html"},{title:"\u4e13\u680f\u6587\u7ae0\u5f52\u6863",link:"/column/archives.html"},{title:"\u5feb\u8baf\u6587\u7ae0\u5f52\u6863",link:"/news/archives.html"},{title:"\u5173\u952e\u8bcd\u5f52\u6863",link:"/information/all.html"},{title:"\u5f00\u53d1\u8005\u624b\u518c\u5f52\u6863",link:"/devdocs/archives.html"},{title:"\u5f00\u53d1\u8005\u624b\u518c Section \u5f52\u6863",link:"/devdocs/sections_p1.html"}]}))))}},{key:"renderProductGroup",value:function(){return o.a.createElement("div",{className:"com-2-footer-recommend"},o.a.createElement("div",{className:"com-2-footer-inner"},o.a.createElement("div",{className:"com-2-footer-recommend-rows"},s.a.map(function(e,t){var n=e.title,r=e.list;return o.a.createElement(u.a,{key:t,title:n,list:r})}))))}},{key:"renderQrCode",value:function(){return o.a.createElement("div",{className:"com-2-footer-copyright"},o.a.createElement("h3",{className:"com-2-footer-copyright-title"},"\u4e91+\u793e\u533a"),o.a.createElement("div",{className:"com-2-footer-qr"},o.a.createElement("div",{className:"com-2-footer-qr-object"},o.a.createElement("img",{className:"com-2-footer-qr-image",src:a.k,alt:""})),o.a.createElement("p",{className:"com-2-footer-qr-info"},o.a.createElement("span",{className:"com-2-footer-qr-text"},"\u626b\u7801\u5173\u6ce8\u4e91+\u793e\u533a")),o.a.createElement("p",{className:"com-2-footer-qr-info"},o.a.createElement("span",{className:"com-2-footer-qr-text"},"\u9886\u53d6\u817e\u8baf\u4e91\u4ee3\u91d1\u5238"))))}},{key:"renderCopyright",value:function(){var e=(new Date).getFullYear();return o.a.createElement("div",{className:"com-2-footer-copyright-cnt"},o.a.createElement("div",{className:"com-2-footer-inner"},o.a.createElement("p",null,"Copyright \xa9 2013 - "+e+" Tencent Cloud. All Rights Reserved. \u817e\u8baf\u4e91 \u7248\u6743\u6240\u6709 ",o.a.createElement(i.Link,{to:"http://www.beian.miit.gov.cn",target:"_blank",hotrep:"community.footer.link.miitbeian"},"\u4eacICP\u590711018762\u53f7"),o.a.createElement(i.Link,{to:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802020287",hotrep:"community.footer.link.beian",target:"_blank"},"\u4eac\u516c\u7f51\u5b89\u5907 11010802020287"))))}}]),t}()},zwoO:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("pFYg"),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}}});