(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3651],{98771:function(e,t,r){"use strict";var n=r(61682);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 u(e){for(var t=1;t=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 u,i=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,u=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw u}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return y=!0,t()};g(b,e).then(r,r)}))},window.__NEXT_PRELOADREADY=_.preloadReady;var O=_;t.default=O},5888:function(e,t,r){"use strict";var n,o,u=r(95823),i=r(6029),a=r(36181),l=r(67294),s=r(73935),c=r(12788),d=r(85893),f=c.ZP.div.withConfig({componentId:"DRAUNA__sc-1d8jblm-0"})(["position:fixed;min-width:360px;width:100%;height:100%;top:0;left:0;background-color:white;opacity:0.65;z-index:",";"],null===(n=i.rS.modal)||void 0===n?void 0:n.zIndex),p=c.ZP.div.withConfig({componentId:"DRAUNA__sc-1d8jblm-1"})(["position:fixed;top:0;left:0;z-index:",";width:inherit;height:inherit;outline:0;"],null===(o=i.rS.modalWrapper)||void 0===o?void 0:o.zIndex);t.ZP=function(e){var t=e.isShown,r=e.label,n=(0,l.useState)(!1),o=n[0],i=n[1];if((0,l.useEffect)((function(){i((0,a.jU)())}),[]),o){var c=document.getElementById("loader-root");return t&&c?(0,s.createPortal)((0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f,{}),(0,d.jsx)(p,{tabIndex:-1,role:"dialog",children:(0,d.jsx)(u.Yt,{size:"full",labelShow:!!r,label:r})})]}),c):null}return null}},23150:function(e,t,r){"use strict";r.d(t,{g:function(){return a}});var n=r(5888),o=r(56938),u=r(67294),i=r(85893),a=function(e){var t=e.children,r=(0,o.SE)().user,a=(0,u.useState)(!1),l=a[0],s=a[1];return(0,u.useEffect)((function(){localStorage.getItem("token")&&s(!0)}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.ZP,{isShown:!l||!r.documentNumber}),t]})}},10042:function(e,t,r){"use strict";r.r(t);var n=r(23150),o=r(5152),u=r(85893),i=(0,o.default)((function(){return Promise.all([r.e(3268),r.e(2939),r.e(8881),r.e(3527)]).then(r.bind(r,73527))}),{ssr:!1,loadableGenerated:{webpack:function(){return[73527]},modules:["dashboard/home.tsx -> @modules/dashboard/Home"]}}),a=(0,o.default)((function(){return r.e(4262).then(r.bind(r,24262))}),{ssr:!1,loadableGenerated:{webpack:function(){return[24262]},modules:["dashboard/home.tsx -> @layouts/header"]}});t.default=function(){return(0,u.jsx)(n.g,{children:(0,u.jsx)(a,{responsive:"both",showUserMenu:!0,children:(0,u.jsx)(i,{})})})}},96086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},98998:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/home",function(){return r(10042)}])},5152:function(e,t,r){e.exports=r(98771)}},function(e){e.O(0,[9774,2888,179],(function(){return t=98998,e(e.s=t);var t}));var t=e.O();_N_E=t}]);