webpackJsonp([30],{1030:function(e,t,n){"use strict";var a=n(0),r=n.n(a),l=n(788),i=n(785),s=n(731),o={away_message:s.a.maybe(s.a.Str),away_no_bots:s.a.Bool,away_idle_time:s.a.Positive},c=r.a.createClass({displayName:"AwayPage",mixins:[n.i(i.a)("form")],render:function(){return r.a.createElement("div",null,r.a.createElement(l.a,{ref:"form",formItems:o}))}});t["default"]=c},1031:function(e,t,n){"use strict";var a=n(0),r=n.n(a),l=n(327),i=n(304),s=n(118),o=n(180),c=n(119),u=function(e){var t=e.ignoreInfo;return r.a.createElement("tr",null,r.a.createElement("td",null,r.a.createElement(o.d,{ids:["unignore"],userIcon:"simple",user:t.user,contextGetter:function(e){return"#setting-scroll-context"}})),r.a.createElement("td",null,t.ignored_messages))},m=r.a.createClass({displayName:"IgnorePage",mixins:[c.c],getRow:function(e){return r.a.createElement(u,{key:e.user.cid,ignoreInfo:e})},render:function(){var e=this.props.ignores;return 0===e.length?r.a.createElement(s.a,{title:"No ignored users"}):r.a.createElement("div",null,r.a.createElement("table",{className:"ui striped table"},r.a.createElement("thead",null,r.a.createElement("tr",null,r.a.createElement("th",null,"User"),r.a.createElement("th",null,"Messages ignored"))),r.a.createElement("tbody",null,e.map(this.getRow))))}});t["default"]=n.i(i.a)(m,{urls:{ignores:l.a.IGNORES_URL},onSocketConnected:function(e,t){var n=t.refetchData;e(l.a.MODULE_URL,l.a.IGNORE_ADDED,n),e(l.a.MODULE_URL,l.a.IGNORE_REMOVED,n)}})},1032:function(e,t,n){"use strict";var a=n(0),r=n.n(a),l=n(788),i=n(785),s=n(27),o=n(731),c=n(1344),u=(n.n(c),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}),m={auto_follow_redirects:o.a.Bool,disconnect_offline_users:o.a.Bool,disconnect_hubs_noreg:o.a.Bool},f=r.a.createClass({displayName:"MiscPage",mixins:[n.i(i.a)("form")],onFieldSetting:function(e,t,n){"nmdc_encoding"===e&&(t.help=r.a.createElement("div",null,"Encoding setting is only used in NMDC hub. ADC hubs will always use UTF-8 encoding.",r.a.createElement("br",null),r.a.createElement("br",null),r.a.createElement("div",null,"Commonly used values:",r.a.createElement("ul",null,r.a.createElement("li",null,"Central Europe: cp1250"),r.a.createElement("li",null,"Cyrillic: cp1251"),r.a.createElement("li",null,"Western_Europe: cp1252"),r.a.createElement("li",null,"Greek: cp1253"),r.a.createElement("li",null,"Turkish: cp1254"),r.a.createElement("li",null,"Hebrew: cp1256")))))},render:function(){var e=m;return"windows"!==s.a.systemInfo.platform&&(e=u({},e,{nmdc_encoding:o.a.Str})),r.a.createElement("div",null,r.a.createElement(l.a,{ref:"form",formItems:e,onFieldSetting:this.onFieldSetting}))}});t["default"]=f},1033:function(e,t,n){"use strict";var a=n(0),r=n.n(a),l=n(305),i=n(788),s=n(785),o=n(731),c={nick:o.a.maybe(o.a.Str),description:o.a.maybe(o.a.Str),email:o.a.maybe(o.a.Str),setting_profile:o.a.Num},u=r.a.createClass({displayName:"UserPage",mixins:[n.i(s.a)("form")],onFieldSetting:function(e,t,n){if("setting_profile"===e)switch(n[e]){case l.b.NORMAL:t.help="The client is used in normal private/public hubs for transferring files via internet. Use this profile if unsure.";break;case l.b.RAR:t.help="The client is used for transferring files that are split in RAR archives (or in other small-sized formats)";break;case l.b.LAN:t.help="The client is used for transferring files in local network (e.g. LAN parties) or in another closed network (e.g. university network)"}},render:function(){return r.a.createElement("div",null,r.a.createElement(i.a,{ref:"form",formItems:c,onFieldSetting:this.onFieldSetting}))}});t["default"]=u},1166:function(e,t,n){t=e.exports=n(2)(),t.push([e.i,".settings-layout .profile.miscellaneous .field-nmdc_encoding li{margin-bottom:5px}",""])},1344:function(e,t,n){var a=n(1166);"string"==typeof a&&(a=[[e.i,a,""]]);n(3)(a,{});a.locals&&(e.exports=a.locals)}});
//# sourceMappingURL=settings-profile-children.chunk.js.map