"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2870],{96224:function(e,t,n){var a=n(64836);t.Z=void 0;var c=a(n(64938)),i=n(85893),r=(0,c.default)([(0,i.jsx)("path",{d:"m16 7.58-5.5-2.4L5 7.58v3.6c0 3.5 2.33 6.74 5.5 7.74.25-.08.49-.2.73-.3-.15-.51-.23-1.06-.23-1.62 0-2.97 2.16-5.43 5-5.91V7.58z",opacity:".3"},"0"),(0,i.jsx)("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17z",opacity:".3"},"1"),(0,i.jsx)("circle",{cx:"17",cy:"15.5",r:"1.12"},"2"),(0,i.jsx)("path",{d:"M18 11.09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55C13.18 21.99 14.97 23 17 23c3.31 0 6-2.69 6-6 0-2.97-2.16-5.43-5-5.91zM11 17c0 .56.08 1.11.23 1.62-.24.11-.48.22-.73.3-3.17-1-5.5-4.24-5.5-7.74v-3.6l5.5-2.4 5.5 2.4v3.51c-2.84.48-5 2.94-5 5.91zm6 4c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"},"3"),(0,i.jsx)("path",{d:"M17 17.5c-.73 0-2.19.36-2.24 1.08.5.71 1.32 1.17 2.24 1.17s1.74-.46 2.24-1.17c-.05-.72-1.51-1.08-2.24-1.08z"},"4")],"AdminPanelSettingsTwoTone");t.Z=r},42065:function(e,t,n){var a=n(64836);t.Z=void 0;var c=a(n(64938)),i=n(85893),r=(0,c.default)((0,i.jsx)("path",{d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76z"}),"ArrowBackIosRounded");t.Z=r},88518:function(e,t,n){var a=n(64836);t.Z=void 0;var c=a(n(64938)),i=n(85893),r=(0,c.default)([(0,i.jsx)("path",{d:"M22 15c0-1.66-1.34-3-3-3h-1.5v-.5C17.5 8.46 15.04 6 12 6c-.77 0-1.49.17-2.16.46L20.79 17.4c.73-.55 1.21-1.41 1.21-2.4zM2 14c0 2.21 1.79 4 4 4h9.73l-8-8H6c-2.21 0-4 1.79-4 4z",opacity:".3"},"0"),(0,i.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.33 0-2.57.36-3.65.97l1.49 1.49C10.51 6.17 11.23 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 .99-.48 1.85-1.21 2.4l1.41 1.41c1.09-.92 1.8-2.27 1.8-3.81 0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.77 2.77h-.42C2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h11.73l2 2 1.41-1.41L4.41 3.86 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"},"1")],"CloudOffTwoTone");t.Z=r},57150:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},33587:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},3848:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},4844:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},68599:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},78107:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},62888:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},49525:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},41352:function(e,t,n){n.d(t,{Z:function(){return a}});const a=(0,n(45711).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},72733:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(47568),c=n(97582),i=n(85893),r=n(67294),l=n(36718);n(25472);function o(e){e.user;var t=e.userImage,n=e.setUserImage,o=(e.database,e.className),s=r.useRef();return(0,i.jsxs)("div",{className:"card no-hover col"+(o?" "+o:""),children:[(0,i.jsx)("div",{className:"bg-white rounded-full overflow-hidden w-24 h-24",children:(0,i.jsx)("img",{src:t?"string"===typeof t?t:t.imageBase64Full:"/images/user-preset.png",alt:"Database Image",width:100,className:"w-full h-full object-cover",ref:s,"data-imagepreview":"image"})}),(0,i.jsxs)("div",{className:"w-full flex-col image-selector-wrapper",children:[(0,i.jsx)("div",{className:"button outlined secondary w-full whitespace-normal",onClick:function(e){e.target.closest(".image-selector-wrapper").querySelector("input").click()},children:"Upload Image"}),(0,i.jsx)("input",{type:"file",accept:".png,.jpg,.jpeg,.webp",placeholder:"Choose Database Image",className:"hidden",onChange:function(){var e=(0,a.Z)((function(e){var t;return(0,c.__generator)(this,(function(a){switch(a.label){case 0:return[4,(0,l.Z)({imageInputFile:e.target.files[0],maxWidth:400})];case 1:return t=a.sent(),n(t),[2]}}))}));return function(t){return e.apply(this,arguments)}}()})]})]})}},25472:function(e,t,n){n.d(t,{Mw:function(){return l},ZP:function(){return r},j4:function(){return o}});var a=n(85893),c=n(41352),i=n(67294);function r(e){var t=e.children,n=e.title,r=e.data,l=e.fullPage,s=e.wrapperClasses,u=e.closePopupDispatch,d=e.wrapperStyle,p=e.noContainer;return l?(0,a.jsxs)("div",{className:"popup-bg overflow-hidden "+(s||""),"data-popupid":n||null,style:d,children:[p?(0,a.jsx)(i.Fragment,{children:t}):(0,a.jsx)("div",{className:"relative w-full h-full z-50","data-data":r?JSON.stringify(r):"",children:t}),(0,a.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:function(e){o(),u&&u()},children:(0,a.jsx)(c.Z,{color:"white",size:20})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:function(e){o(),u&&u()}})]}):(0,a.jsxs)("div",{className:"popup-bg","data-popupid":n||null,children:[p?(0,a.jsx)(i.Fragment,{children:t}):(0,a.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":r?JSON.stringify(r):"",children:[t,(0,a.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:function(e){o(),u&&u()},children:(0,a.jsx)("span",{className:"font-normal",children:"\u2716"})})]}),p&&(0,a.jsx)("button",{className:"gray popup-cancel-button",onClick:function(e){o(),u&&u()},children:(0,a.jsx)("span",{className:"font-normal",children:"\u2716"})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:function(e){o(),u&&u()}})]})}function l(e,t){var n=document.querySelector("[data-popupid='".concat(e,"']"));n&&(n.style.display="flex",t&&t(n))}function o(e){document.querySelectorAll("[data-popupid]").forEach((function(e){e.style.display="none"})),e&&e()}},36718:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(47568),c=n(97582);function i(e){return r.apply(this,arguments)}function r(){return(r=(0,a.Z)((function(e){var t,n,a,i,r,l,o,s,u,d,p,h,f;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return t=e.imageInputFile,n=e.maxWidth,a=document.querySelector("[data-imagepreview='image']"),i=t.name.replace(/\..*/,""),o=document.createElement("canvas"),s=t.type,u=.95,d=n||null,null,p=t,h=URL.createObjectURL(p),(f=new Image).src=h,[4,new Promise((function(e,t){f.onerror=function(){URL.revokeObjectURL(this.src),console.log("Cannot load image")},f.onload=function(){if(URL.revokeObjectURL(this.src),d){var t=d/f.naturalWidth;o.width=f.naturalWidth