(self["webpackJsonp@lyrio/ui"]=self["webpackJsonp@lyrio/ui"]||[]).push([[83],{1719:function(e,r,t){"use strict";t.r(r);var n=t(29),u=t(10),s=t.n(u),a=t(15),c=t(14),i=t(183),o=t(46),b=t(37),l=t(181),f=Object(i.c)(function(){var e=Object(a.a)(s.a.mark((function e(r){var t,n,u,a,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Number(r.params.userId)){e.next=3;break}throw new i.a(Object(b.c)("user_edit.errors.NO_SUCH_USER"));case 3:return e.next=5,l.c.user.getUserMeta({userId:t});case 5:if(n=e.sent,u=n.requestError,a=n.response,!u){e.next=12;break}throw new i.a(u,{showRefresh:!0,showBack:!0});case 12:if(!a.error){e.next=14;break}throw new i.a(Object(b.c)("user_edit.errors.".concat(a.error)));case 14:return(o=r.originalUrl.split("/"))[1]="u",o[2]=a.meta.username,e.abrupt("return",Object(c.i)(o.join("/")));case 18:case"end":return e.stop()}}),e)})));return function(r){return e.apply(this,arguments)}}());r.default={groups:Object(c.e)((function(){return Promise.all([t.e(33),t.e(40),t.e(138),t.e(0),t.e(1),t.e(2),t.e(3),t.e(4),t.e(5),t.e(6),t.e(10),t.e(15),t.e(17),t.e(38),t.e(87),t.e(9),t.e(23),t.e(20),t.e(19),t.e(35),t.e(42),t.e(172)]).then(t.bind(null,1552))})),user:Object(c.h)({"/:userId":Object(c.h)(Object(n.a)(Object(n.a)({},Object(i.d)({edit:Object(c.i)((function(e){return"/user/".concat(e.params.userId,"/edit/profile")}))})),{},{"/edit/:type":f,"/":f}))}),u:Object(c.h)({"/:username":Object(o.a)((function(){return Promise.all([t.e(12),t.e(22),t.e(139),t.e(0),t.e(5),t.e(6),t.e(7),t.e(10),t.e(14),t.e(15),t.e(17),t.e(16),t.e(21),t.e(32),t.e(52),t.e(178),t.e(13),t.e(23),t.e(19),t.e(24),t.e(84),t.e(173)]).then(t.bind(null,1554))}),"byUsername"),"/:username/edit/:type":Object(c.e)((function(){return Promise.all([t.e(137),t.e(7),t.e(15),t.e(19),t.e(171)]).then(t.bind(null,1557))})),"/":Object(c.e)((function(){return Promise.all([t.e(12),t.e(26),t.e(22),t.e(33),t.e(40),t.e(140),t.e(1),t.e(2),t.e(5),t.e(7),t.e(10),t.e(14),t.e(25),t.e(16),t.e(21),t.e(38),t.e(9),t.e(13),t.e(23),t.e(20),t.e(28),t.e(24),t.e(35),t.e(42),t.e(174)]).then(t.bind(null,1558))}))})}}}]);
//# sourceMappingURL=83.06d3fab1.chunk.js.map