(self["webpackJsonp@lyrio/ui"]=self["webpackJsonp@lyrio/ui"]||[]).push([[34],{988:function(e,t,n){"use strict";var r=n(29),c=n(10),u=n.n(c),a=n(15),f=n(19),s=n(1),o=n(0);t.a=function(e){var t=Object(o.useState)(),c=Object(f.a)(t,2),p=c[0],i=c[1],O=Object(o.useState)(!1),b=Object(f.a)(O,2),l=b[0],j=b[1],v=Object(o.useRef)(),h=Object(o.useRef)();return Object(o.useEffect)((function(){if(!v.current){var t=function(){var e=Object(a.a)(u.a.mark((function e(){var t;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=2;break}return e.abrupt("return");case 2:return j(!0),t=new Promise((function(e){return h.current=e})),e.prev=4,e.t0=i,e.next=8,Promise.all([n.e(122),n.e(36),n.e(23),n.e(141)]).then(n.bind(null,1702));case 8:e.t1=e.sent.default,(0,e.t0)(e.t1),e.next=15;break;case 12:e.prev=12,e.t2=e.catch(4),console.log(e.t2);case 15:return j(!1),e.next=18,t;case 18:return e.abrupt("return",e.sent);case 19:case"end":return e.stop()}}),e,null,[[4,12]])})));return function(){return e.apply(this,arguments)}}();"function"===typeof e.refOpen?e.refOpen(t):e.refOpen.current=t}}),[e.refOpen]),p?Object(s.jsx)(p,Object(r.a)(Object(r.a)({},e),{},{refOpen:function(t){"function"===typeof e.refOpen?e.refOpen(t):e.refOpen.current=t,v.current||(v.current=!0,t().then(h.current))}})):null}}}]);
//# sourceMappingURL=34.b9390f04.chunk.js.map