text: _N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[63],{"2qu3":function(e,t,r){"use strict";var n=r("lSNA"),o=r("lwsE"),i=r("W8MJ");function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.__esModule=!0,t.default=void 0;var s,f=(s=r("q1tI"))&&s.__esModule?s:{default:s},d=r("8L3h"),p=r("jwwS");var y=[],b=[],h=!1;function m(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((function(e){return r.loading=!1,r.loaded=e,e})).catch((function(e){throw r.loading=!1,r.error=e,e})),r}function O(e){var t={loading:!1,loaded:{},error:null},r=[];try{Object.keys(e).forEach((function(n){var o=m(e[n]);o.loading?t.loading=!0:(t.loaded[n]=o.loaded,t.error=o.error),r.push(o.promise),o.promise.then((function(e){t.loaded[n]=e})).catch((function(e){t.error=e}))}))}catch(n){t.error=n}return t.promise=Promise.all(r).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function j(e,t){return f.default.createElement(function(e){return e&&e.__esModule?e.default:e}(e),t)}function v(e,t){var r=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:j,webpack:null,modules:null},t),n=null;function o(){if(!n){var t=new g(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!h&&"function"===typeof r.webpack){var i=r.webpack();b.push((function(e){var t,r=l(i);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(-1!==e.indexOf(n))return o()}}catch(a){r.e(a)}finally{r.f()}}))}var a=function(e,t){o();var i=f.default.useContext(p.LoadableContext),a=(0,d.useSubscription)(n);return f.default.useImperativeHandle(t,(function(){return{retry:n.retry}}),[]),i&&Array.isArray(r.modules)&&r.modules.forEach((function(e){i(e)})),f.default.useMemo((function(){return a.loading||a.error?f.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:n.retry}):a.loaded?r.render(a.loaded,e):null}),[e,a])};return a.preload=function(){return o()},a.displayName="LoadableComponent",f.default.forwardRef(a)}var g=function(){function e(t,r){o(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return i(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"===typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),r.delay)),"number"===typeof r.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),r.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=u(u({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function w(e){return v(m,e)}function _(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then((function(){if(e.length)return _(e,t)}))}w.Map=function(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return v(O,e)},w.preloadAll=function(){return new Promise((function(e,t){_(y).then(e,t)}))},w.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return h=!0,t()};_(b,e).then(r,r)}))},window.__NEXT_PRELOADREADY=w.preloadReady;var P=w;t.default=P},"716T":function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/profil",function(){return r("T1Jy")}])},T1Jy:function(e,t,r){"use strict";r.r(t);var n=r("nKUr"),o=(r("q1tI"),r("ZfMW")),i=r("ok1R"),a=r("rhny"),u=r("Vvt1"),l=r.n(u),c=l()((function(){return Promise.all([r.e(5),r.e(10),r.e(12),r.e(14),r.e(4),r.e(75)]).then(r.bind(null,"7e2u"))}),{loadableGenerated:{webpack:function(){return["7e2u"]},modules:["user/profil.js -> ../../components/Headers/ProfilHeader"]}}),s=l()((function(){return Promise.all([r.e(4),r.e(85)]).then(r.bind(null,"XfM+"))}),{loadableGenerated:{webpack:function(){return["XfM+"]},modules:["user/profil.js -> ../../components/inspirnaute/whoAmI"]}}),f=l()((function(){return Promise.all([r.e(26),r.e(5),r.e(10),r.e(12),r.e(4),r.e(67)]).then(r.bind(null,"UCiR"))}),{loadableGenerated:{webpack:function(){return["UCiR"]},modules:["user/profil.js -> ../../components/inspirnaute/videoBlock"]}});function d(){return Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)(c,{}),Object(n.jsxs)(i.a,{children:[Object(n.jsx)(a.a,{className:"col-lg-6 col-md-12 col-sm-12",children:Object(n.jsx)(s,{})}),Object(n.jsx)(a.a,{className:"col-lg-6 col-md-12 col-sm-12",children:Object(n.jsx)(f,{})})]})]})}d.layout=o.a,t.default=d},Vvt1:function(e,t,r){e.exports=r("a6RD")},ZfMW:function(e,t,r){"use strict";var n=r("nKUr"),o=r("rePB"),i=r("q1tI"),a=r.n(i),u=r("20a2"),l=r("1Yj4"),c=r("jnuQ"),s=r("RG8o"),f=[{path:"/dashboard",name:"Dashboard",icon:"ni ni-tv-2 text-primary",layout:"/user"},{path:"/profil",name:"Profil",icon:"ni ni-single-02 text-yellow",layout:"/user"},{path:"/profil",name:"Constellation",icon:"ni ni-single-02 text-yellow",layout:"/user"},{path:"/profil",name:"Quiz",icon:"ni ni-single-02 text-yellow",layout:"/user"},{path:"/profil",name:"Missions",icon:"ni ni-single-02 text-yellow",layout:"/user"},{path:"/interviews",name:"Interviews",icon:"ni ni-single-02 text-yellow",layout:"/user"},{path:"/profil",name:"Help",icon:"ni ni-single-02 text-yellow",layout:"/user"},{path:"/profil",name:"Ask",icon:"ni ni-single-02 text-yellow",layout:"/user"}];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){Object(o.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){var t=Object(u.useRouter)(),o=a.a.createRef();return a.a.useEffect((function(){document.documentElement.scrollTop=0,document.scrollingElement.scrollTop=0,o.current.scrollTop=0}),[]),Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)(s.default,p(p({},e),{},{routes:f,logo:{innerLink:"/admin/index",imgSrc:r("QD3G"),imgAlt:"..."},style:{width:"10%"}})),Object(n.jsxs)("div",{className:"main-content",ref:o,children:[Object(n.jsx)(c.default,p(p({},e),{},{brandText:function(){for(var e=0;e<f.length;e++)if(-1!==t.route.indexOf(f[e].layout+f[e].path))return f[e].name;return"Brand"}()})),e.children,Object(n.jsx)(l.a,{fluid:!0})]})]})}},a6RD:function(e,t,r){"use strict";var n=r("lSNA");function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.__esModule=!0,t.noSSR=l,t.default=function(e,t){var r=a.default,n={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?n.loader=function(){return e}:"function"===typeof e?n.loader=e:"object"===typeof e&&(n=i(i({},n),e));if(n=i(i({},n),t),"object"===typeof e&&!(e instanceof Promise)&&(e.render&&(n.render=function(t,r){return e.render(r,t)}),e.modules)){r=a.default.Map;var o={},u=e.modules();Object.keys(u).forEach((function(e){var t=u[e];"function"!==typeof t.then?o[e]=t:o[e]=function(){return t.then((function(e){return e.default||e}))}})),n.loader=o}n.loadableGenerated&&delete(n=i(i({},n),n.loadableGenerated)).loadableGenerated;if("boolean"===typeof n.ssr){if(!n.ssr)return delete n.ssr,l(r,n);delete n.ssr}return r(n)};u(r("q1tI"));var a=u(r("2qu3"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}},jwwS:function(e,t,r){"use strict";var n;t.__esModule=!0,t.LoadableContext=void 0;var o=((n=r("q1tI"))&&n.__esModule?n:{default:n}).default.createContext(null);t.LoadableContext=o}},[["716T",3,0,2,1,6,7,8,9,11]]]);