@eclass/ui-kit 1.39.0 → 1.39.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -383,7 +383,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
383
383
  `)},dB=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n,o=S.useMemo(function(){return uB(i)},[i]);return S.createElement(cB,{styles:fB(o,!t,i,r?"":"!important")})},pB=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},vB=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},lw=function(e,t){var r=t;do{var n=sw(e,r);if(n){var i=uw(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},hB=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},mB=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},sw=function(e,t){return e==="v"?pB(t):vB(t)},uw=function(e,t){return e==="v"?hB(t):mB(t)},gB=function(e,t,r,n,i){var o=n,a=r.target,l=t.contains(a),s=!1,u=o>0,c=0,f=0;do{var d=uw(e,a),p=d[0],h=d[1],g=d[2],v=h-g-p;(p||v)&&sw(e,a)&&(c+=v,f+=p),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(i&&c===0||!i&&o>c)||!u&&(i&&f===0||!i&&-o>f))&&(s=!0),s},Sh=!1;if(typeof window!="undefined")try{var cc=Object.defineProperty({},"passive",{get:function(){return Sh=!0,!0}});window.addEventListener("test",cc,cc),window.removeEventListener("test",cc,cc)}catch{Sh=!1}var po=Sh?{passive:!1}:!1,fc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},cw=function(e){return[e.deltaX,e.deltaY]},fw=function(e){return e&&"current"in e?e.current:e},yB=function(e,t){return e[0]===t[0]&&e[1]===t[1]},bB=function(e){return`
384
384
  .block-interactivity-`+e+` {pointer-events: none;}
385
385
  .allow-interactivity-`+e+` {pointer-events: all;}
386
- `},xB=0,vo=[];function SB(e){var t=S.useRef([]),r=S.useRef([0,0]),n=S.useRef(),i=S.useState(xB++)[0],o=S.useState(function(){return aw()})[0],a=S.useRef(e);S.useEffect(function(){a.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var g=[e.lockRef.current].concat((e.shards||[]).map(fw)).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),g.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=S.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var m=fc(g),y=r.current,b="deltaX"in g?g.deltaX:y[0]-m[0],x="deltaY"in g?g.deltaY:y[1]-m[1],E,k=g.target,T=Math.abs(b)>Math.abs(x)?"h":"v",A=lw(T,k);if(!A)return!0;if(A?E=T:(E=T==="v"?"h":"v",A=lw(T,k)),!A)return!1;if(!n.current&&"changedTouches"in g&&(b||x)&&(n.current=E),!E)return!0;var O=n.current||E;return gB(O,v,g,O==="h"?b:x,!0)},[]),s=S.useCallback(function(g){var v=g;if(!(!vo.length||vo[vo.length-1]!==o)){var m="deltaY"in v?cw(v):fc(v),y=t.current.filter(function(E){return E.name===v.type&&E.target===v.target&&yB(E.delta,m)})[0];if(y&&y.should){v.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(fw).filter(Boolean).filter(function(E){return E.contains(v.target)}),x=b.length>0?l(v,b[0]):!a.current.noIsolation;x&&v.preventDefault()}}},[]),u=S.useCallback(function(g,v,m,y){var b={name:g,delta:v,target:m,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=S.useCallback(function(g){r.current=fc(g),n.current=void 0},[]),f=S.useCallback(function(g){u(g.type,cw(g),g.target,l(g,e.lockRef.current))},[]),d=S.useCallback(function(g){u(g.type,fc(g),g.target,l(g,e.lockRef.current))},[]);S.useEffect(function(){return vo.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,po),document.addEventListener("touchmove",s,po),document.addEventListener("touchstart",c,po),function(){vo=vo.filter(function(g){return g!==o}),document.removeEventListener("wheel",s,po),document.removeEventListener("touchmove",s,po),document.removeEventListener("touchstart",c,po)}},[]);var p=e.removeScrollBar,h=e.inert;return S.createElement(S.Fragment,null,h?S.createElement(o,{styles:bB(i)}):null,p?S.createElement(dB,{gapMode:"margin"}):null)}var wB=nL(ow,SB),dw=S.forwardRef(function(e,t){return S.createElement(uc,fo({},e,{ref:t,sideCar:wB}))});dw.classNames=uc.classNames;var CB=dw,EB=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ho=new WeakMap,dc=new WeakMap,pc={},wh=0,pw=function(e){return e&&(e.host||pw(e.parentNode))},kB=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=pw(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},TB=function(e,t,r,n){var i=kB(t,Array.isArray(e)?e:[e]);pc[r]||(pc[r]=new WeakMap);var o=pc[r],a=[],l=new Set,s=new Set(i),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(d){if(l.has(d))c(d);else{var p=d.getAttribute(n),h=p!==null&&p!=="false",g=(ho.get(d)||0)+1,v=(o.get(d)||0)+1;ho.set(d,g),o.set(d,v),a.push(d),g===1&&h&&dc.set(d,!0),v===1&&d.setAttribute(r,"true"),h||d.setAttribute(n,"true")}})};return c(t),l.clear(),wh++,function(){a.forEach(function(f){var d=ho.get(f)-1,p=o.get(f)-1;ho.set(f,d),o.set(f,p),d||(dc.has(f)||f.removeAttribute(n),dc.delete(f)),p||f.removeAttribute(r)}),wh--,wh||(ho=new WeakMap,ho=new WeakMap,dc=new WeakMap,pc={})}},PB=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||EB(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),TB(n,i,r,"aria-hidden")):function(){return null}};function Sn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ee(){return Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var _B=["preset"],OB={slideInBottom:Ee({},Zx,{custom:{offsetY:16,reverse:!0}}),slideInRight:Ee({},Zx,{custom:{offsetX:16,reverse:!0}}),scale:Ee({},IF,{custom:{initialScale:.95,reverse:!0}}),none:{}},AB=ee(qu.section),MB=S.forwardRef(function(e,t){var r=e.preset,n=Sn(e,_B),i=OB[r];return S.createElement(AB,Ee({ref:t},i,n))}),FB=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),Ch=new FB;function RB(e,t){F.useEffect(function(){return t&&Ch.add(e),function(){Ch.remove(e)}},[t,e])}function IB(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,f=e.onEsc,d=F.useRef(null),p=F.useRef(null),h=z5(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),g=h[0],v=h[1],m=h[2];LB(d,t&&u),RB(d,t);var y=F.useRef(null),b=F.useCallback(function(Z){y.current=Z.target},[]),x=F.useCallback(function(Z){Z.key==="Escape"&&(Z.stopPropagation(),l&&(r==null||r()),f==null||f())},[l,r,f]),E=F.useState(!1),k=E[0],T=E[1],A=F.useState(!1),O=A[0],B=A[1],H=F.useCallback(function(Z,K){return Z===void 0&&(Z={}),K===void 0&&(K=null),Ee({role:"dialog"},Z,{ref:_o(K,d),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":k?v:void 0,"aria-describedby":O?m:void 0,onClick:Gt(Z.onClick,function(re){return re.stopPropagation()})})},[m,O,g,v,k]),G=F.useCallback(function(Z){Z.stopPropagation(),y.current===Z.target&&(!Ch.isTopModal(d)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),U=F.useCallback(function(Z,K){return Z===void 0&&(Z={}),K===void 0&&(K=null),Ee({},Z,{ref:_o(K,p),onClick:Gt(Z.onClick,G),onKeyDown:Gt(Z.onKeyDown,x),onMouseDown:Gt(Z.onMouseDown,b)})},[x,b,G]);return{isOpen:t,onClose:r,headerId:v,bodyId:m,setBodyMounted:B,setHeaderMounted:T,dialogRef:d,overlayRef:p,getDialogProps:H,getDialogContainerProps:U}}function LB(e,t){var r=e.current;F.useEffect(function(){if(!(!e.current||!t))return PB(e.current)},[t,e,r])}var BB=["className","children","containerProps"],$B=["className","transition"],DB=["className"],zB=["className"],NB=["className"],VB=["onClick","className"],vw=On({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),jB=vw[0],wn=vw[1],gl=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,f=t.preserveScrollBarGap,d=t.motionPreset,p=t.lockFocusAcrossFrames,h=t.onCloseComplete,g=B1("Modal",t),v=IB(t),m=Ee({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:f,motionPreset:d,lockFocusAcrossFrames:p});return S.createElement(jB,{value:m},S.createElement(Mk,{value:g},S.createElement(zv,{onExitComplete:h},m.isOpen&&S.createElement(Ea,r,n))))};gl.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},br&&(gl.displayName="Modal");var WB=ee(qu.div),Eh=Pe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=Sn(e,BB),a=wn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),f=Ne("chakra-modal__content",r),d=Un(),p=Ee({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),h=Ee({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},d.dialogContainer),g=wn(),v=g.motionPreset;return S.createElement(hw,null,S.createElement(ee.div,Ee({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),S.createElement(MB,Ee({preset:v,className:f},u,{__css:p}),n)))});br&&(Eh.displayName="ModalContent");function hw(e){var t=wn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,f=t.lockFocusAcrossFrames,d=Ov(),p=d[0],h=d[1];return S.useEffect(function(){!p&&h&&setTimeout(h)},[p,h]),S.createElement(qL,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:f},S.createElement(CB,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var kh=Pe(function(e,t){var r=e.className;e.transition;var n=Sn(e,$B),i=Ne("chakra-modal__overlay",r),o=Un(),a=Ee({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=wn(),s=l.motionPreset,u=s==="none"?{}:FF;return S.createElement(WB,Ee({},u,{__css:a,ref:t,className:i},n))});br&&(kh.displayName="ModalOverlay");var Th=Pe(function(e,t){var r=e.className,n=Sn(e,DB),i=wn(),o=i.headerId,a=i.setHeaderMounted;S.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ne("chakra-modal__header",r),s=Un(),u=Ee({flex:0},s.header);return S.createElement(ee.header,Ee({ref:t,className:l,id:o},n,{__css:u}))});br&&(Th.displayName="ModalHeader");var Ph=Pe(function(e,t){var r=e.className,n=Sn(e,zB),i=wn(),o=i.bodyId,a=i.setBodyMounted;S.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ne("chakra-modal__body",r),s=Un();return S.createElement(ee.div,Ee({ref:t,className:l,id:o},n,{__css:s.body}))});br&&(Ph.displayName="ModalBody");var _h=Pe(function(e,t){var r=e.className,n=Sn(e,NB),i=Ne("chakra-modal__footer",r),o=Un(),a=Ee({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return S.createElement(ee.footer,Ee({ref:t},n,{__css:a,className:i}))});br&&(_h.displayName="ModalFooter");var mw=Pe(function(e,t){var r=e.onClick,n=e.className,i=Sn(e,VB),o=wn(),a=o.onClose,l=Ne("chakra-modal__close-btn",n),s=Un();return S.createElement(rR,Ee({ref:t,__css:s.closeButton,className:l,onClick:Gt(r,function(u){u.stopPropagation(),a()})},i))});br&&(mw.displayName="ModalCloseButton");var HB=["className","children"],UB=On(),GB=UB[1],YB=ee($F),XB=Pe(function(e,t){var r=e.className,n=e.children,i=Sn(e,HB),o=wn(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),f=Ne("chakra-modal__content",r),d=Un(),p=Ee({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),h=Ee({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},d.dialogContainer),g=GB(),v=g.placement;return S.createElement(ee.div,Ee({},c,{className:"chakra-modal__content-container",__css:h}),S.createElement(hw,null,S.createElement(YB,Ee({direction:v,in:s,className:f},u,{__css:p}),n)))});br&&(XB.displayName="DrawerContent");function gw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function mo(){return mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mo.apply(this,arguments)}var ZB=vi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),KB=vi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});vi({"0%":{left:"-40%"},"100%":{left:"100%"}}),vi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function qB(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=R5(r,n,i),u=function(){if(r!=null)return Vr(a)?a(r,s):o};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var QB=["size","isIndeterminate"],JB=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],yw=function(t){return S.createElement(ee.circle,mo({cx:50,cy:50,r:42,fill:"transparent"},t))},e$=function(t){var r=t.size,n=t.isIndeterminate,i=gw(t,QB);return S.createElement(ee.svg,mo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?KB+" 2s linear infinite":void 0}},i))},t$=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,f=t.value,d=t.capIsRound,p=t.children,h=t.thickness,g=h===void 0?"10px":h,v=t.color,m=v===void 0?"#0078d4":v,y=t.trackColor,b=y===void 0?"#edebe9":y,x=t.isIndeterminate,E=gw(t,JB),k=qB({min:s,max:a,value:f,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=k.percent)!=null?r:0)*2.64,A=a5(T)?void 0:T+" "+(264-T),O=x?{css:{animation:ZB+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},B={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return S.createElement(ee.div,mo({className:"chakra-progress"},k.bind,E,{__css:B}),S.createElement(e$,{size:i,isIndeterminate:x},S.createElement(yw,{stroke:b,strokeWidth:g,className:"chakra-progress__track"}),S.createElement(yw,mo({stroke:m,strokeWidth:g,className:"chakra-progress__indicator",strokeLinecap:d?"round":void 0,opacity:k.value===0&&!x?0:void 0},O))),p)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tr.apply(this,arguments)}function bw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var r$={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},n$=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function i$(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,f=t.onOpen,d=t.onClose,p=t.placement,h=t.id,g=t.isOpen,v=t.defaultIsOpen,m=t.arrowSize,y=m===void 0?10:m,b=t.arrowShadowColor,x=t.arrowPadding,E=t.modifiers,k=t.isDisabled,T=t.gutter,A=t.offset,O=t.direction,B=bw(t,n$),H=s0({isOpen:g,defaultIsOpen:v,onOpen:f,onClose:d}),G=H.isOpen,U=H.onOpen,Z=H.onClose,K=YI({enabled:G,placement:p,arrowPadding:x,modifiers:E,gutter:T,offset:A,direction:O}),re=K.referenceRef,ne=K.getPopperProps,Le=K.getArrowInnerProps,be=K.getArrowProps,Be=ef(h,"tooltip"),R=S.useRef(null),D=S.useRef(),L=S.useRef(),$=S.useCallback(function(){k||(D.current=window.setTimeout(U,n))},[k,U,n]),z=S.useCallback(function(){D.current&&clearTimeout(D.current),L.current=window.setTimeout(Z,o)},[o,Z]),te=S.useCallback(function(){l&&z()},[l,z]),ve=S.useCallback(function(){s&&z()},[s,z]),xe=S.useCallback(function(ke){G&&ke.key==="Escape"&&z()},[G,z]);a0("keydown",c?xe:void 0),S.useEffect(function(){return function(){clearTimeout(D.current),clearTimeout(L.current)}},[]),a0("mouseleave",z,function(){return R.current});var We=S.useCallback(function(ke,lt){ke===void 0&&(ke={}),lt===void 0&&(lt=null);var jt=tr({},ke,{ref:_o(R,lt,re),onMouseEnter:Gt(ke.onMouseEnter,$),onClick:Gt(ke.onClick,te),onMouseDown:Gt(ke.onMouseDown,ve),onFocus:Gt(ke.onFocus,$),onBlur:Gt(ke.onBlur,z),"aria-describedby":G?Be:void 0});return jt},[$,z,ve,G,Be,te,re]),oi=S.useCallback(function(ke,lt){var jt;return ke===void 0&&(ke={}),lt===void 0&&(lt=null),ne(tr({},ke,{style:tr({},ke.style,(jt={},jt[et.arrowSize.var]=y?Zl(y):void 0,jt[et.arrowShadowColor.var]=b,jt))}),lt)},[ne,y,b]),kn=S.useCallback(function(ke,lt){ke===void 0&&(ke={}),lt===void 0&&(lt=null);var jt=tr({ref:lt},B,ke,{id:Be,role:"tooltip",style:tr({},ke.style,{position:"relative",transformOrigin:et.transformOrigin.varRef})});return jt},[B,Be]);return{isOpen:G,show:$,hide:z,getTriggerProps:We,getTooltipProps:kn,getTooltipPositionerProps:oi,getArrowProps:be,getArrowInnerProps:Le}}var o$=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],a$=ee(qu.div),l$=Pe(function(e,t){var r,n,i=_r("Tooltip",e),o=Pr(e),a=I1(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],f=o.hasArrow,d=o.bg,p=o.portalProps,h=o.background,g=o.backgroundColor,v=o.bgColor,m=bw(o,o$),y=(r=(n=h!=null?h:g)!=null?n:d)!=null?r:v;y&&(i.bg=y,i[et.arrowBg.var]=c5(a,"colors",y));var b=i$(tr({},m,{direction:a.direction})),x=Ul(l)||u,E;if(x)E=S.createElement(ee.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var k=S.Children.only(l);E=S.cloneElement(k,b.getTriggerProps(k.props,k.ref))}var T=!!c,A=b.getTooltipProps({},t),O=T?Gl(A,["role","id"]):A,B=Xm(A,["role","id"]);return s?S.createElement(S.Fragment,null,E,S.createElement(zv,null,b.isOpen&&S.createElement(Ea,p,S.createElement(ee.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),S.createElement(a$,tr({variants:r$},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,T&&S.createElement(Jx,B,c),f&&S.createElement(ee.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},S.createElement(ee.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):S.createElement(S.Fragment,null,l)}),s$=jk;s$.defaultProps={theme:pb};function u$(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return $9(i)&&n.length>1?n=n.slice(0,n.length-1):i=pb,_5.apply(void 0,n.map(function(o){return function(a){return Vr(o)?o(a):c$(a,o)}}))(i)}function c$(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[{}].concat(t,[xw]))}function xw(e,t,r,n){if((Vr(e)||Vr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Vr(e)?e.apply(void 0,arguments):e,o=Vr(t)?t.apply(void 0,arguments):t;return Ot({},i,o,xw)}}const vc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},ni={main:vc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:vc.deepSkyBlue,veryLightBlue:vc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:vc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},f$={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},yl="solid .063rem",d$={borders:{normal:`${yl} ${ni.neutral.darkCharcoal}`,light:`${yl} ${ni.neutral.platinum}`,active:`${yl} ${ni.main.deepSkyBlue}`,success:`${yl} ${ni.alert.jadeGreen}`,error:`${yl} ${ni.alert.red}`,white:`solid .125rem ${ni.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var Az="",Mz="",Fz="",Rz="",Iz="";const p$=u$({colors:ni,...d$,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:f$}),W=e=>`var(--chakra-${e})`;function hc({children:e,bg:t=W("colors-icon-ripeMango"),color:r=W("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return C(fe,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function Sw({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),C(t$,{size:"1rem",value:t,thickness:"1rem",color:W("colors-main-deepSkyBlue"),trackColor:W("colors-neutral-platinum")})}var v$=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),go=globalThis&&globalThis.__assign||function(){return go=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},go.apply(this,arguments)},h$=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},m$={position:"relative",display:"inline-flex",overflow:"hidden"},g$=function(e){e===void 0&&(e={});var t;return t=function(r){v$(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var f=a.pageX,d=a.pageY,p=a.currentTarget,h=p.getBoundingClientRect(),g=f-(h.left+window.scrollX),v=d-(h.top+window.scrollY),m=Math.max(h.width,h.height);o.setState(function(y){return{rippleStyle:go({},y.rippleStyle,{left:g,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(y){return{rippleStyle:go({},y.rippleStyle,{opacity:0,transform:"scale("+m/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=h$(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Nr.default.createElement("div",go({},l,{className:("react-ripples "+a).trim(),style:m$,onClick:this.onClick}),o,Nr.default.createElement("s",{style:s}))},n}(Nr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:ic.number,color:ic.string,onClick:ic.func,className:ic.string},t.defaultProps=go({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},Oh=globalThis&&globalThis.__assign||function(){return Oh=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Oh.apply(this,arguments)},y$=function(e){return function(t){return Nr.default.createElement(e,Oh({},t))}},ww=y$(g$());function Ah({children:e,color:t="rgba(204,204,204,0.2)"}){return C(ww,{during:1e3,color:t,children:C(fe,{children:e})})}function ye({w:e="1rem",h:t="1rem",color:r=W("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return q(hb,{w:e,h:t,viewBox:i,color:r,m:n,children:[q("title",{children:["icon",a&&`-${a}`]}),o]})}function Mh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[C("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),C("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),C("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Mh.displayName="AcademicRecord";function Fh(e){return C(ye,{...e,children:q("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),C("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}Fh.displayName="ArrowRight";function Rh(e){return q(ye,{...e,children:[q("g",{clipPath:"url(#clip0)",children:[C("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:C("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),C("g",{mask:"url(#mask0)",children:C("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),C("defs",{children:C("clipPath",{id:"clip0",children:C("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}Rh.displayName="ArrowRight";function Ih(e){return q(ye,{...e,children:[C("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),C("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}Ih.displayName="Certificate";function Lh(e){return C(ye,{...e,children:C("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}Lh.displayName="CircularCheck";function mc(e){return C(ye,{...e,children:C("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}mc.displayName="CircularInformation";function Bh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[C("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),C("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Bh.displayName="Download";function $h(e){return C(ye,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:C("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}$h.displayName="GoAhead";function Dh(e){return C(ye,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:C("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}Dh.displayName="GoBack";function zh(e){return q(ye,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[C("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),C("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),C("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),C("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}zh.displayName="Multimedia";function Cw({fill:e="#fff"}){return C("div",{className:"loaderAsync","data-testid":"loaderAsync",children:q("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[C("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),C("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),C("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),C("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function Nh(e){return C(ye,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:C("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}Nh.displayName="Profile";function Vh(e){return q(ye,{...e,children:[C("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),C("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),C("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),C("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),C("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),C("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),C("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}Vh.displayName="Schedule";function jh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),C("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),C("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}jh.displayName="TinyAlertInfo";function Wh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[q("g",{clipPath:"url(#clip0_2165_6683)",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),C("defs",{children:C("clipPath",{id:"clip0_2165_6683",children:C("rect",{width:"12px",height:"12px",fill:"white"})})})]})}Wh.displayName="TinyAlertError";function Hh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),C("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),C("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}Hh.displayName="TinyAlertWarning";function Uh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[q("g",{clipPath:"url(#clip0_2191_1138)",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),C("defs",{children:C("clipPath",{id:"clip0_2191_1138",children:C("rect",{width:"12",height:"12",fill:"white"})})})]})}Uh.displayName="TinyAlertSuccess";function Gh(e){return C(ye,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Gh.displayName="Password";function Yh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[C("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),C("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}Yh.displayName="Pen";function Xh(e){return C(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}Xh.displayName="PlusSign";function Zh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[C("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),C("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}Zh.displayName="TrashCan";function Kh(e){return C(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:C("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}Kh.displayName="TextBubble";function qh(e){return C(ye,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),C("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}qh.displayName="ErrorWhite";function Qh(e){return C(ye,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),C("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),C("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),C("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),C("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),C("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Qh.displayName="InfoWhite";function Jh(e){return C(ye,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),C("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),C("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),C("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),C("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}Jh.displayName="SuccessWhite";function em(e){return C(ye,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),C("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}em.displayName="WarningWhite";function tm(e){return C(ye,{...e,title:"close",children:C("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:C("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}tm.displayName="Close";var b$=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:Mh,AlertInfo:Fh,ArrowRight:Rh,Certificate:Ih,CircularCheck:Lh,CircularInformation:mc,Download:Bh,GoAhead:$h,GoBack:Dh,Multimedia:zh,Loader:Cw,Profile:Nh,Schedule:Vh,TinyAlertInfo:jh,TinyAlertError:Wh,TinyAlertWarning:Hh,TinyAlertSuccess:Uh,Password:Gh,Pen:Yh,PlusSign:Xh,TrashCan:Zh,TextBubble:Kh,ErrorWhite:qh,InfoWhite:Qh,SuccessWhite:Jh,WarningWhite:em,Close:tm},Symbol.toStringTag,{value:"Module"}));function Ew({status:e,text:t,margin:r="0"}){const n={success:{icon:C(Uh,{}),text:"Success",bg:W("colors-alert-ice"),color:W("colors-neutral-darkCharcoal")},error:{icon:C(Wh,{}),text:"Error",bg:W("colors-alert-veryLightPinkThree"),color:W("colors-neutral-darkCharcoal")},info:{icon:C(jh,{}),text:"Info",bg:W("colors-alert-veryLightBlue"),color:W("colors-neutral-darkCharcoal")},warning:{icon:C(Hh,{}),text:"Warning",bg:W("colors-alert-pale"),color:W("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:W("colors-main-blueGrey"),color:W("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:W("colors-main-ziggurat"),color:W("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:W("colors-neutral-cultured"),color:W("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:W("colors-neutral-white")}};return n[e]?q(fe,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&C(fe,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),C(fe,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}Ew.displayName="TinyAlert";function gc({bg:e,borderColorActive:t=[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],children:r,color:n=W("colors-neutral-white"),disabled:i=!1,fillLoader:o=W("colors-neutral-white"),isFullWidth:a=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:f,rounded:d=!1,size:p="regular",touchDark:h=!1,type:g="button",tabIndex:v,id:m}){var A,O,B;let y=r!=null?r:null;!r&&!f&&!l&&(y="Button");const b=".75rem",x=d?"12px":W("radii-small"),E=(A=e==null?void 0:e.main)!=null?A:W("colors-main-deepSkyBlue"),k=h?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",T=!r&&(f!=null?f:l)?"onlyIcon":"";return C(fe,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${a?"grid":"inline-flex!important"}`}},children:C(ww,{color:k,children:C(Wv,{id:m,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:E,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:T,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:W("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:H=>{!u&&!i&&(c==null||c(H))},type:g,tabIndex:v,paddingTop:p==="regular"?b:W(T?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:W(T?"space-xs":"space-xxs"),paddingLeft:W(p==="regular"?"space-s":"space-xs"),paddingRight:W(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:a,rightIcon:f,spinner:C(Cw,{fill:o}),_active:{bg:(O=e==null?void 0:e.main)!=null?O:W("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:(B=e==null?void 0:e.hover)!=null?B:W("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:y})})})}gc.displayName="Btn";function rm({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:o=!1,onClick:a,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:f}){return C(gc,{id:f,disabled:t,isFullWidth:r,isLoading:o,leftIcon:n,m:i,onClick:a,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}rm.displayName="BtnPrimary";function kw({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:o=!1,onClick:a,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:f}){return C(gc,{id:f,bg:{main:W("colors-main-veryLightBlue"),hover:W("colors-main-linkWater")},fillLoader:W("colors-main-deepSkyBlue"),borderColorActive:[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],color:W("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:o,leftIcon:n,m:i,onClick:a,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}kw.displayName="BtnSecondary";function Tw({children:e,iconStatus:t="multimedia",iconCustom:r,rightIcon:n,withoutColor:i=!1,m:o="0",type:a="button",tabIndex:l,id:s,activeWhenPress:u=!1,onClick:c,onMouseEnter:f,onMouseLeave:d}){var E;const p=W("colors-neutral-gray"),h=W("colors-main-deepSkyBlue"),g=W("colors-neutral-white"),v=i?W("colors-main-blueGrey"):h,m={ahead:C($h,{color:v}),answer:C(Kh,{color:v}),back:C(Dh,{color:v}),delete:C(Zh,{color:v}),download:C(Bh,{color:v}),edit:C(Yh,{color:v}),more:C(Xh,{color:v}),multimedia:C(zh,{color:v}),password:C(Gh,{color:v}),record:C(Mh,{color:v}),noIcon:C(Wi,{})};let y=(E=m[t])!=null?E:m.multimedia;r&&(y=r);const b=n?y:void 0,x=n?void 0:y;return C(Wv,{id:s,type:a,tabIndex:l,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:W("space-xxs"),paddingBottom:W("space-xxs"),paddingLeft:W("space-xs"),paddingRight:W("space-xs"),color:p,rightIcon:b,leftIcon:x,m:o,onClick:c,onMouseEnter:f,onMouseLeave:d,_hover:{color:`${h}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${h}, inset 0 0 0 4px ${g}`},_focus:{color:u?`${h} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${h}`},"@media (hover: none)":{color:`${p}`,"svg path":{fill:v}}},"&:focus":{"svg path":{fill:u?`${h}`:""}}},children:e})}Tw.displayName="BtnTertiary";function bl({children:e,m:t="0",onClick:r,id:n,as:i="button",href:o="",textDecorationLine:a=!0,fontSize:l="0.875rem"}){const s={button:{onClick:r},a:{href:o,target:"_blank"}};return C(fe,{as:i,id:n,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:l,lineHeight:"1rem",textDecorationLine:a?"underline":"none",color:W("colors-main-deepSkyBlue"),m:t,_hover:{color:W("colors-neutral-darkCharcoal"),cursor:"pointer"},...s[i],children:e})}bl.displayName="BtnLink";const x$=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l})=>C(l$,{isOpen:l,sx:{bg:W("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${W("colors-neutral-darkCharcoal")} !important`}},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:C("span",{children:e})}),S$=4;function Pw(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=S.useContext(yc);return q(fe,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:W("borders-light"),pos:"relative",children:[q(fe,{p:"1rem",children:[(i==null?void 0:i.id)!==S$&&C(hc,{bg:W("colors-neutral-white"),m:"0 0 .625rem 0",children:q(Ju,{children:[C(Nh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&C(oS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((o,a)=>C(hc,{bg:o.id==="NEW"?W("colors-secondary-pumpkin"):void 0,children:o.text},a))})]}),r!==void 0&&r.length>0&&C(nS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:W("borders-light"),bg:W("colors-neutral-white"),overflow:"hidden",borderRadius:W("radii-small"),w:"6.25rem",children:C(jF,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Pw.displayName="Header";function nm({date:e}){return e==null||e.length===0?null:C(ro,{fontSize:".75rem",color:W("colors-neutral-darkCharcoal"),m:"0",children:e})}nm.displayName="DateStatus";function _w({type:e,progressValue:t=0}){switch(e){case"schedule":return C(Vh,{});case"certificate":return C(Ih,{});case"circularCheck":return C(Lh,{});case"progress":return C(Sw,{value:t});case"circularInformation":return C(mc,{});case"info":return C(mc,{});default:return null}}const w$=7;function Ow({progress:e,status:t}){return q(Wi,{children:[q(Ju,{children:[C(_w,{type:e.icon,progressValue:e.progress}),C(ro,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===w$&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&C(hc,{size:"sm",bg:e.isApproved?W("colors-alert-jadeGreen"):W("colors-alert-red"),color:W("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Aw(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=S.useContext(yc);return n==null?null:q(fe,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&q(xR,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?C(fe,{h:".5rem",w:"1px",bg:W("colors-neutral-silverSand"),alignSelf:"center"}):C(Wi,{}),children:[C(nm,{date:t.init}),C(nm,{date:t.end})]}),C(sR,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),C(Ju,{mt:"1rem",justify:"space-between",children:C(Ow,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&C(vR,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:W("borders-light"),children:r.map((o,a)=>{var l;return q(hR,{display:"flex",children:[C(_w,{type:o.icon}),C(fe,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?C(cR,{isExternal:!0,href:o.href,color:W("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):C(ro,{m:"0",color:W("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}Aw.displayName="Section";const V={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},Mw={noHabilitado:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:{...V.status,id:2,name:"preInscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...V,id:3,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:2,name:"preInscripcion"},progress:{...V.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...V,background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:{...V.status,id:3,name:"inscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...V,id:5,hasFinanzeFreezed:!1,status:{...V.status,id:3,name:"inscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!0},information:[],action:{...V.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...V,id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,enabled:!1},labels:[]},noDisponible3:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,enabled:!1},labels:[]},activado:{...V,id:8,hasFinanzeFreezed:!1,status:{...V.status,id:5,name:"disponible"},progress:{...V.progress,label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...V,id:9,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...V,id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...V,id:11,hasFinanzeFreezed:!1,status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...V,id:13,hasFinanzeFreezed:!0,status:{...V.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...V.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...V,id:14,hasFinanzeFreezed:!1,status:{...V.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...V.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},pendiente:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:{...V.status,id:8,name:"pendiente"},progress:{...V.progress,label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado:{...V,id:16,hasFinanzeFreezed:!1,status:{...V.status,id:7,name:"QUALIFIED"},progress:{...V.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado2:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...V.status,id:7,name:"QUALIFIED"},progress:{...V.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado3:{...V,id:18,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:9,name:"terminado"},progress:{...V.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]}},C$=Object.keys(Mw).map(e=>Mw[e]),Fw=4,xl=(e,t=Fw)=>e||t!==Fw;function E$(e=4){const t=e*Lw+Iw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function k$({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return C(kh,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=S.useState(C(a,{}));return S.useEffect(()=>{n&&s(C(a,{}))},[n]),q(gl,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,q(Eh,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[q(Th,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[C(Fh,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),C(mw,{size:"md",color:W("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),C(Ph,{p:"1rem 2rem 2rem 2rem",children:C(ro,{align:"center",children:i.body})}),C(_h,{justifyContent:"center",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),p:"1rem",children:C(Wv,{onClick:r,color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}gl.displayName="Modal";function Rw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=S.useContext(yc),{isOpen:i,onOpen:o,onClose:a}=s0(),[l,s]=S.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:q(nS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),children:[xl(t.enabled,r==null?void 0:r.id)?q(Wi,{children:[n&&e?C(fe,{color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):C(ro,{color:W("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&C(Rh,{color:W("colors-main-deepSkyBlue")})]}):C(ro,{fontWeight:"500",lineHeight:"1.172rem",color:W("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&C(k$,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}Rw.displayName="Footer";const yc=S.createContext({});function T$({enabled:e,children:t}){return e?C(Ah,{children:t}):C(Wi,{children:t})}function im({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${W("colors-neutral-silverSand")}`};return C(yc.Provider,{value:e,children:C(ER,{as:"article",border:W("borders-light"),borderRadius:W("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:C(T$,{enabled:xl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:q(Ju,{direction:"column",justify:"space-between",h:"100%",children:[q(fe,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&xl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&C(aS,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),C(Pw,{}),C(Aw,{})]}),C(Rw,{modalPaymentText:t})]})})})})}im.displayName="BoxTraditional";function P$({enabled:e,children:t}){return e?C(Ah,{children:t}):C(Wi,{children:t})}function om({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,f,d,p,h;const o={large:"286px",small:"197px"};return C(P$,{enabled:xl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:q(fe,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:W("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&xl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(f=r==null?void 0:r.Profile)==null?void 0:f.id)&&C(aS,{href:(d=r==null?void 0:r.action)==null?void 0:d.href,isExternal:(p=r==null?void 0:r.action)==null?void 0:p.targetBlank}),q(fe,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[C(fe,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(h=r==null?void 0:r.information)==null?void 0:h.map((g,v)=>g.icon==="certificate"&&C(fe,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:g.text},v))]})]})})}om.displayName="BoxImage";const _$=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:C(im,{...n}),TRADITIONAL_LANDSCAPE:C(im,{...n}),IMAGE_LARGE:C(om,{...i}),IMAGE_SMALL:C(om,{...i,size:"small"})}[e]},Iw=1.25,Lw=17.8125;function Bw({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:C(fe,{display:"grid",gridColumnGap:`${Iw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Lw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>C(_$,{data:i,type:n,modalPaymentText:t},i.id))})}Bw.displayName="CourseList";const bc={success:{icon:C(Jh,{}),bg:W("colors-alert-ice"),id:"success"},error:{icon:C(qh,{}),bg:W("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:C(Qh,{}),bg:W("colors-alert-veryLightBlue"),id:"info"},warning:{icon:C(em,{}),bg:W("colors-alert-pale"),id:"warning"}};function $w({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:f}){const[d]=lS("(max-width: 425px)"),p=()=>{l&&l()};let h;return r&&(h=i?"link":"normal"),q(fe,{className:a?"flashNotification":"e_alert",alignItems:d?"unset":"center",backgroundColor:bc[s].bg,borderRadius:"8px",display:"flex",flexFlow:d?"column":"row",gap:a?"":"16px",justifyContent:d?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[q(fe,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"}},children:[C(fe,{className:"iconContainer",sx:{svg:{width:"auto"}},children:bc[s].icon}),q(fe,{display:"flex",alignItems:"center",children:[C(fe,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:W("colors-neutral-darkCharcoal"),children:q("p",{children:[e,c&&f&&C(bl,{onClick:f,children:c})]})}),h==="link"&&C(bl,{onClick:p,children:r})]})]}),h==="normal"&&C(rm,{isFullWidth:!!d,leftIcon:n,onClick:p,children:r}),t&&C(fe,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:C(tm,{})})]})}let O$={data:""},A$=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||O$,M$=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,F$=/\/\*[^]*?\*\/| +/g,Dw=/\n+/g,Cn=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?Cn(a,o):o+"{"+Cn(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=Cn(a,t?t.replace(/([^,])+/g,l=>o.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Cn.p?Cn.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},$r={},zw=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+zw(e[r]);return t}return e},R$=(e,t,r,n,i)=>{let o=zw(e),a=$r[o]||($r[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!$r[a]){let s=o!==e?e:(u=>{let c,f,d=[{}];for(;c=M$.exec(u.replace(F$,""));)c[4]?d.shift():c[3]?(f=c[3].replace(Dw," ").trim(),d.unshift(d[0][f]=d[0][f]||{})):d[0][c[1]]=c[2].replace(Dw," ").trim();return d[0]})(e);$r[a]=Cn(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&$r.g?$r.g:null;return r&&($r.g=$r[a]),((s,u,c,f)=>{f?u.data=u.data.replace(f,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})($r[a],t,n,l),a},I$=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":Cn(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function xc(e){let t=this||{},r=e.call?e(t.p):e;return R$(r.unshift?r.raw?I$(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,A$(t.target),t.g,t.o,t.k)}let Nw,am,lm;xc.bind({g:1});let Dr=xc.bind({k:1});function L$(e,t,r,n){Cn.p=t,Nw=e,am=r,lm=n}function En(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:am&&am()},l),r.o=/ *go\d+/.test(s),l.className=xc.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),lm&&u[0]&&lm(l),Nw(u,l)}return t?t(i):i}}var B$=e=>typeof e=="function",Sc=(e,t)=>B$(e)?e(t):e,$$=(()=>{let e=0;return()=>(++e).toString()})(),Vw=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),D$=20,wc=new Map,z$=1e3,jw=e=>{if(wc.has(e))return;let t=setTimeout(()=>{wc.delete(e),ii({type:4,toastId:e})},z$);wc.set(e,t)},N$=e=>{let t=wc.get(e);t&&clearTimeout(t)},sm=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,D$)};case 1:return t.toast.id&&N$(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?sm(e,{type:1,toast:r}):sm(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?jw(n):e.toasts.forEach(o=>{jw(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},Cc=[],Ec={toasts:[],pausedAt:void 0},ii=e=>{Ec=sm(Ec,e),Cc.forEach(t=>{t(Ec)})},V$={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},j$=(e={})=>{let[t,r]=F.useState(Ec);F.useEffect(()=>(Cc.push(r),()=>{let i=Cc.indexOf(r);i>-1&&Cc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||V$[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},W$=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||$$()}),Sl=e=>(t,r)=>{let n=W$(t,e,r);return ii({type:2,toast:n}),n.id},bt=(e,t)=>Sl("blank")(e,t);bt.error=Sl("error"),bt.success=Sl("success"),bt.loading=Sl("loading"),bt.custom=Sl("custom"),bt.dismiss=e=>{ii({type:3,toastId:e})},bt.remove=e=>ii({type:4,toastId:e}),bt.promise=(e,t,r)=>{let n=bt.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(bt.success(Sc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{bt.error(Sc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var H$=(e,t)=>{ii({type:1,toast:{id:e,height:t}})},U$=()=>{ii({type:5,time:Date.now()})},G$=e=>{let{toasts:t,pausedAt:r}=j$(e);F.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&bt.dismiss(l.id);return}return setTimeout(()=>bt.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=F.useCallback(()=>{r&&ii({type:6,time:Date.now()})},[r]),i=F.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(p=>(p.position||u)===(o.position||u)&&p.height),f=c.findIndex(p=>p.id===o.id),d=c.filter((p,h)=>h<f&&p.visible).length;return c.filter(p=>p.visible).slice(...l?[d+1]:[0,d]).reduce((p,h)=>p+(h.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:H$,startPause:U$,endPause:n,calculateOffset:i}}},Y$=Dr`
386
+ `},xB=0,vo=[];function SB(e){var t=S.useRef([]),r=S.useRef([0,0]),n=S.useRef(),i=S.useState(xB++)[0],o=S.useState(function(){return aw()})[0],a=S.useRef(e);S.useEffect(function(){a.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var g=[e.lockRef.current].concat((e.shards||[]).map(fw)).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),g.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=S.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var m=fc(g),y=r.current,b="deltaX"in g?g.deltaX:y[0]-m[0],x="deltaY"in g?g.deltaY:y[1]-m[1],E,k=g.target,T=Math.abs(b)>Math.abs(x)?"h":"v",A=lw(T,k);if(!A)return!0;if(A?E=T:(E=T==="v"?"h":"v",A=lw(T,k)),!A)return!1;if(!n.current&&"changedTouches"in g&&(b||x)&&(n.current=E),!E)return!0;var O=n.current||E;return gB(O,v,g,O==="h"?b:x,!0)},[]),s=S.useCallback(function(g){var v=g;if(!(!vo.length||vo[vo.length-1]!==o)){var m="deltaY"in v?cw(v):fc(v),y=t.current.filter(function(E){return E.name===v.type&&E.target===v.target&&yB(E.delta,m)})[0];if(y&&y.should){v.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(fw).filter(Boolean).filter(function(E){return E.contains(v.target)}),x=b.length>0?l(v,b[0]):!a.current.noIsolation;x&&v.preventDefault()}}},[]),u=S.useCallback(function(g,v,m,y){var b={name:g,delta:v,target:m,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=S.useCallback(function(g){r.current=fc(g),n.current=void 0},[]),f=S.useCallback(function(g){u(g.type,cw(g),g.target,l(g,e.lockRef.current))},[]),d=S.useCallback(function(g){u(g.type,fc(g),g.target,l(g,e.lockRef.current))},[]);S.useEffect(function(){return vo.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,po),document.addEventListener("touchmove",s,po),document.addEventListener("touchstart",c,po),function(){vo=vo.filter(function(g){return g!==o}),document.removeEventListener("wheel",s,po),document.removeEventListener("touchmove",s,po),document.removeEventListener("touchstart",c,po)}},[]);var p=e.removeScrollBar,h=e.inert;return S.createElement(S.Fragment,null,h?S.createElement(o,{styles:bB(i)}):null,p?S.createElement(dB,{gapMode:"margin"}):null)}var wB=nL(ow,SB),dw=S.forwardRef(function(e,t){return S.createElement(uc,fo({},e,{ref:t,sideCar:wB}))});dw.classNames=uc.classNames;var CB=dw,EB=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ho=new WeakMap,dc=new WeakMap,pc={},wh=0,pw=function(e){return e&&(e.host||pw(e.parentNode))},kB=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=pw(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},TB=function(e,t,r,n){var i=kB(t,Array.isArray(e)?e:[e]);pc[r]||(pc[r]=new WeakMap);var o=pc[r],a=[],l=new Set,s=new Set(i),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(d){if(l.has(d))c(d);else{var p=d.getAttribute(n),h=p!==null&&p!=="false",g=(ho.get(d)||0)+1,v=(o.get(d)||0)+1;ho.set(d,g),o.set(d,v),a.push(d),g===1&&h&&dc.set(d,!0),v===1&&d.setAttribute(r,"true"),h||d.setAttribute(n,"true")}})};return c(t),l.clear(),wh++,function(){a.forEach(function(f){var d=ho.get(f)-1,p=o.get(f)-1;ho.set(f,d),o.set(f,p),d||(dc.has(f)||f.removeAttribute(n),dc.delete(f)),p||f.removeAttribute(r)}),wh--,wh||(ho=new WeakMap,ho=new WeakMap,dc=new WeakMap,pc={})}},PB=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||EB(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),TB(n,i,r,"aria-hidden")):function(){return null}};function Sn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ee(){return Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var _B=["preset"],OB={slideInBottom:Ee({},Zx,{custom:{offsetY:16,reverse:!0}}),slideInRight:Ee({},Zx,{custom:{offsetX:16,reverse:!0}}),scale:Ee({},IF,{custom:{initialScale:.95,reverse:!0}}),none:{}},AB=ee(qu.section),MB=S.forwardRef(function(e,t){var r=e.preset,n=Sn(e,_B),i=OB[r];return S.createElement(AB,Ee({ref:t},i,n))}),FB=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),Ch=new FB;function RB(e,t){F.useEffect(function(){return t&&Ch.add(e),function(){Ch.remove(e)}},[t,e])}function IB(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,f=e.onEsc,d=F.useRef(null),p=F.useRef(null),h=z5(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),g=h[0],v=h[1],m=h[2];LB(d,t&&u),RB(d,t);var y=F.useRef(null),b=F.useCallback(function(Z){y.current=Z.target},[]),x=F.useCallback(function(Z){Z.key==="Escape"&&(Z.stopPropagation(),l&&(r==null||r()),f==null||f())},[l,r,f]),E=F.useState(!1),k=E[0],T=E[1],A=F.useState(!1),O=A[0],B=A[1],H=F.useCallback(function(Z,K){return Z===void 0&&(Z={}),K===void 0&&(K=null),Ee({role:"dialog"},Z,{ref:_o(K,d),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":k?v:void 0,"aria-describedby":O?m:void 0,onClick:Gt(Z.onClick,function(re){return re.stopPropagation()})})},[m,O,g,v,k]),G=F.useCallback(function(Z){Z.stopPropagation(),y.current===Z.target&&(!Ch.isTopModal(d)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),U=F.useCallback(function(Z,K){return Z===void 0&&(Z={}),K===void 0&&(K=null),Ee({},Z,{ref:_o(K,p),onClick:Gt(Z.onClick,G),onKeyDown:Gt(Z.onKeyDown,x),onMouseDown:Gt(Z.onMouseDown,b)})},[x,b,G]);return{isOpen:t,onClose:r,headerId:v,bodyId:m,setBodyMounted:B,setHeaderMounted:T,dialogRef:d,overlayRef:p,getDialogProps:H,getDialogContainerProps:U}}function LB(e,t){var r=e.current;F.useEffect(function(){if(!(!e.current||!t))return PB(e.current)},[t,e,r])}var BB=["className","children","containerProps"],$B=["className","transition"],DB=["className"],zB=["className"],NB=["className"],VB=["onClick","className"],vw=On({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),jB=vw[0],wn=vw[1],gl=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,f=t.preserveScrollBarGap,d=t.motionPreset,p=t.lockFocusAcrossFrames,h=t.onCloseComplete,g=B1("Modal",t),v=IB(t),m=Ee({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:f,motionPreset:d,lockFocusAcrossFrames:p});return S.createElement(jB,{value:m},S.createElement(Mk,{value:g},S.createElement(zv,{onExitComplete:h},m.isOpen&&S.createElement(Ea,r,n))))};gl.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},br&&(gl.displayName="Modal");var WB=ee(qu.div),Eh=Pe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=Sn(e,BB),a=wn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),f=Ne("chakra-modal__content",r),d=Un(),p=Ee({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),h=Ee({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},d.dialogContainer),g=wn(),v=g.motionPreset;return S.createElement(hw,null,S.createElement(ee.div,Ee({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),S.createElement(MB,Ee({preset:v,className:f},u,{__css:p}),n)))});br&&(Eh.displayName="ModalContent");function hw(e){var t=wn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,f=t.lockFocusAcrossFrames,d=Ov(),p=d[0],h=d[1];return S.useEffect(function(){!p&&h&&setTimeout(h)},[p,h]),S.createElement(qL,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:f},S.createElement(CB,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var kh=Pe(function(e,t){var r=e.className;e.transition;var n=Sn(e,$B),i=Ne("chakra-modal__overlay",r),o=Un(),a=Ee({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=wn(),s=l.motionPreset,u=s==="none"?{}:FF;return S.createElement(WB,Ee({},u,{__css:a,ref:t,className:i},n))});br&&(kh.displayName="ModalOverlay");var Th=Pe(function(e,t){var r=e.className,n=Sn(e,DB),i=wn(),o=i.headerId,a=i.setHeaderMounted;S.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ne("chakra-modal__header",r),s=Un(),u=Ee({flex:0},s.header);return S.createElement(ee.header,Ee({ref:t,className:l,id:o},n,{__css:u}))});br&&(Th.displayName="ModalHeader");var Ph=Pe(function(e,t){var r=e.className,n=Sn(e,zB),i=wn(),o=i.bodyId,a=i.setBodyMounted;S.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ne("chakra-modal__body",r),s=Un();return S.createElement(ee.div,Ee({ref:t,className:l,id:o},n,{__css:s.body}))});br&&(Ph.displayName="ModalBody");var _h=Pe(function(e,t){var r=e.className,n=Sn(e,NB),i=Ne("chakra-modal__footer",r),o=Un(),a=Ee({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return S.createElement(ee.footer,Ee({ref:t},n,{__css:a,className:i}))});br&&(_h.displayName="ModalFooter");var mw=Pe(function(e,t){var r=e.onClick,n=e.className,i=Sn(e,VB),o=wn(),a=o.onClose,l=Ne("chakra-modal__close-btn",n),s=Un();return S.createElement(rR,Ee({ref:t,__css:s.closeButton,className:l,onClick:Gt(r,function(u){u.stopPropagation(),a()})},i))});br&&(mw.displayName="ModalCloseButton");var HB=["className","children"],UB=On(),GB=UB[1],YB=ee($F),XB=Pe(function(e,t){var r=e.className,n=e.children,i=Sn(e,HB),o=wn(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),f=Ne("chakra-modal__content",r),d=Un(),p=Ee({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},d.dialog),h=Ee({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},d.dialogContainer),g=GB(),v=g.placement;return S.createElement(ee.div,Ee({},c,{className:"chakra-modal__content-container",__css:h}),S.createElement(hw,null,S.createElement(YB,Ee({direction:v,in:s,className:f},u,{__css:p}),n)))});br&&(XB.displayName="DrawerContent");function gw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function mo(){return mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mo.apply(this,arguments)}var ZB=vi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),KB=vi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});vi({"0%":{left:"-40%"},"100%":{left:"100%"}}),vi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function qB(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=R5(r,n,i),u=function(){if(r!=null)return Vr(a)?a(r,s):o};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var QB=["size","isIndeterminate"],JB=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],yw=function(t){return S.createElement(ee.circle,mo({cx:50,cy:50,r:42,fill:"transparent"},t))},e$=function(t){var r=t.size,n=t.isIndeterminate,i=gw(t,QB);return S.createElement(ee.svg,mo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?KB+" 2s linear infinite":void 0}},i))},t$=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,f=t.value,d=t.capIsRound,p=t.children,h=t.thickness,g=h===void 0?"10px":h,v=t.color,m=v===void 0?"#0078d4":v,y=t.trackColor,b=y===void 0?"#edebe9":y,x=t.isIndeterminate,E=gw(t,JB),k=qB({min:s,max:a,value:f,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=k.percent)!=null?r:0)*2.64,A=a5(T)?void 0:T+" "+(264-T),O=x?{css:{animation:ZB+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},B={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return S.createElement(ee.div,mo({className:"chakra-progress"},k.bind,E,{__css:B}),S.createElement(e$,{size:i,isIndeterminate:x},S.createElement(yw,{stroke:b,strokeWidth:g,className:"chakra-progress__track"}),S.createElement(yw,mo({stroke:m,strokeWidth:g,className:"chakra-progress__indicator",strokeLinecap:d?"round":void 0,opacity:k.value===0&&!x?0:void 0},O))),p)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tr.apply(this,arguments)}function bw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var r$={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},n$=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function i$(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,f=t.onOpen,d=t.onClose,p=t.placement,h=t.id,g=t.isOpen,v=t.defaultIsOpen,m=t.arrowSize,y=m===void 0?10:m,b=t.arrowShadowColor,x=t.arrowPadding,E=t.modifiers,k=t.isDisabled,T=t.gutter,A=t.offset,O=t.direction,B=bw(t,n$),H=s0({isOpen:g,defaultIsOpen:v,onOpen:f,onClose:d}),G=H.isOpen,U=H.onOpen,Z=H.onClose,K=YI({enabled:G,placement:p,arrowPadding:x,modifiers:E,gutter:T,offset:A,direction:O}),re=K.referenceRef,ne=K.getPopperProps,Le=K.getArrowInnerProps,be=K.getArrowProps,Be=ef(h,"tooltip"),R=S.useRef(null),D=S.useRef(),L=S.useRef(),$=S.useCallback(function(){k||(D.current=window.setTimeout(U,n))},[k,U,n]),z=S.useCallback(function(){D.current&&clearTimeout(D.current),L.current=window.setTimeout(Z,o)},[o,Z]),te=S.useCallback(function(){l&&z()},[l,z]),ve=S.useCallback(function(){s&&z()},[s,z]),xe=S.useCallback(function(ke){G&&ke.key==="Escape"&&z()},[G,z]);a0("keydown",c?xe:void 0),S.useEffect(function(){return function(){clearTimeout(D.current),clearTimeout(L.current)}},[]),a0("mouseleave",z,function(){return R.current});var We=S.useCallback(function(ke,lt){ke===void 0&&(ke={}),lt===void 0&&(lt=null);var jt=tr({},ke,{ref:_o(R,lt,re),onMouseEnter:Gt(ke.onMouseEnter,$),onClick:Gt(ke.onClick,te),onMouseDown:Gt(ke.onMouseDown,ve),onFocus:Gt(ke.onFocus,$),onBlur:Gt(ke.onBlur,z),"aria-describedby":G?Be:void 0});return jt},[$,z,ve,G,Be,te,re]),oi=S.useCallback(function(ke,lt){var jt;return ke===void 0&&(ke={}),lt===void 0&&(lt=null),ne(tr({},ke,{style:tr({},ke.style,(jt={},jt[et.arrowSize.var]=y?Zl(y):void 0,jt[et.arrowShadowColor.var]=b,jt))}),lt)},[ne,y,b]),kn=S.useCallback(function(ke,lt){ke===void 0&&(ke={}),lt===void 0&&(lt=null);var jt=tr({ref:lt},B,ke,{id:Be,role:"tooltip",style:tr({},ke.style,{position:"relative",transformOrigin:et.transformOrigin.varRef})});return jt},[B,Be]);return{isOpen:G,show:$,hide:z,getTriggerProps:We,getTooltipProps:kn,getTooltipPositionerProps:oi,getArrowProps:be,getArrowInnerProps:Le}}var o$=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],a$=ee(qu.div),l$=Pe(function(e,t){var r,n,i=_r("Tooltip",e),o=Pr(e),a=I1(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],f=o.hasArrow,d=o.bg,p=o.portalProps,h=o.background,g=o.backgroundColor,v=o.bgColor,m=bw(o,o$),y=(r=(n=h!=null?h:g)!=null?n:d)!=null?r:v;y&&(i.bg=y,i[et.arrowBg.var]=c5(a,"colors",y));var b=i$(tr({},m,{direction:a.direction})),x=Ul(l)||u,E;if(x)E=S.createElement(ee.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var k=S.Children.only(l);E=S.cloneElement(k,b.getTriggerProps(k.props,k.ref))}var T=!!c,A=b.getTooltipProps({},t),O=T?Gl(A,["role","id"]):A,B=Xm(A,["role","id"]);return s?S.createElement(S.Fragment,null,E,S.createElement(zv,null,b.isOpen&&S.createElement(Ea,p,S.createElement(ee.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),S.createElement(a$,tr({variants:r$},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,T&&S.createElement(Jx,B,c),f&&S.createElement(ee.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},S.createElement(ee.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):S.createElement(S.Fragment,null,l)}),s$=jk;s$.defaultProps={theme:pb};function u$(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return $9(i)&&n.length>1?n=n.slice(0,n.length-1):i=pb,_5.apply(void 0,n.map(function(o){return function(a){return Vr(o)?o(a):c$(a,o)}}))(i)}function c$(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[{}].concat(t,[xw]))}function xw(e,t,r,n){if((Vr(e)||Vr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Vr(e)?e.apply(void 0,arguments):e,o=Vr(t)?t.apply(void 0,arguments):t;return Ot({},i,o,xw)}}const vc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},ni={main:vc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:vc.deepSkyBlue,veryLightBlue:vc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:vc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},f$={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},yl="solid .063rem",d$={borders:{normal:`${yl} ${ni.neutral.darkCharcoal}`,light:`${yl} ${ni.neutral.platinum}`,active:`${yl} ${ni.main.deepSkyBlue}`,success:`${yl} ${ni.alert.jadeGreen}`,error:`${yl} ${ni.alert.red}`,white:`solid .125rem ${ni.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var Az="",Mz="",Fz="",Rz="",Iz="";const p$=u$({colors:ni,...d$,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:f$}),W=e=>`var(--chakra-${e})`;function hc({children:e,bg:t=W("colors-icon-ripeMango"),color:r=W("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return C(fe,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function Sw({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),C(t$,{size:"1rem",value:t,thickness:"1rem",color:W("colors-main-deepSkyBlue"),trackColor:W("colors-neutral-platinum")})}var v$=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),go=globalThis&&globalThis.__assign||function(){return go=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},go.apply(this,arguments)},h$=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},m$={position:"relative",display:"inline-flex",overflow:"hidden"},g$=function(e){e===void 0&&(e={});var t;return t=function(r){v$(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var f=a.pageX,d=a.pageY,p=a.currentTarget,h=p.getBoundingClientRect(),g=f-(h.left+window.scrollX),v=d-(h.top+window.scrollY),m=Math.max(h.width,h.height);o.setState(function(y){return{rippleStyle:go({},y.rippleStyle,{left:g,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(y){return{rippleStyle:go({},y.rippleStyle,{opacity:0,transform:"scale("+m/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=h$(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Nr.default.createElement("div",go({},l,{className:("react-ripples "+a).trim(),style:m$,onClick:this.onClick}),o,Nr.default.createElement("s",{style:s}))},n}(Nr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:ic.number,color:ic.string,onClick:ic.func,className:ic.string},t.defaultProps=go({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},Oh=globalThis&&globalThis.__assign||function(){return Oh=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Oh.apply(this,arguments)},y$=function(e){return function(t){return Nr.default.createElement(e,Oh({},t))}},ww=y$(g$());function Ah({children:e,color:t="rgba(204,204,204,0.2)"}){return C(ww,{during:1e3,color:t,children:C(fe,{children:e})})}function ye({w:e="1rem",h:t="1rem",color:r=W("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return q(hb,{w:e,h:t,viewBox:i,color:r,m:n,children:[q("title",{children:["icon",a&&`-${a}`]}),o]})}function Mh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[C("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),C("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),C("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Mh.displayName="AcademicRecord";function Fh(e){return C(ye,{...e,children:q("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),C("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}Fh.displayName="ArrowRight";function Rh(e){return q(ye,{...e,children:[q("g",{clipPath:"url(#clip0)",children:[C("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:C("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),C("g",{mask:"url(#mask0)",children:C("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),C("defs",{children:C("clipPath",{id:"clip0",children:C("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}Rh.displayName="ArrowRight";function Ih(e){return q(ye,{...e,children:[C("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),C("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}Ih.displayName="Certificate";function Lh(e){return C(ye,{...e,children:C("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}Lh.displayName="CircularCheck";function mc(e){return C(ye,{...e,children:C("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}mc.displayName="CircularInformation";function Bh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[C("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),C("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Bh.displayName="Download";function $h(e){return C(ye,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:C("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}$h.displayName="GoAhead";function Dh(e){return C(ye,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:C("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}Dh.displayName="GoBack";function zh(e){return q(ye,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[C("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),C("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),C("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),C("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}zh.displayName="Multimedia";function Cw({fill:e="#fff"}){return C("div",{className:"loaderAsync","data-testid":"loaderAsync",children:q("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[C("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),C("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),C("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),C("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function Nh(e){return C(ye,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:C("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}Nh.displayName="Profile";function Vh(e){return q(ye,{...e,children:[C("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),C("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),C("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),C("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),C("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),C("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),C("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}Vh.displayName="Schedule";function jh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),C("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),C("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}jh.displayName="TinyAlertInfo";function Wh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[q("g",{clipPath:"url(#clip0_2165_6683)",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),C("defs",{children:C("clipPath",{id:"clip0_2165_6683",children:C("rect",{width:"12px",height:"12px",fill:"white"})})})]})}Wh.displayName="TinyAlertError";function Hh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),C("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),C("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}Hh.displayName="TinyAlertWarning";function Uh(e){return q(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[q("g",{clipPath:"url(#clip0_2191_1138)",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),C("defs",{children:C("clipPath",{id:"clip0_2191_1138",children:C("rect",{width:"12",height:"12",fill:"white"})})})]})}Uh.displayName="TinyAlertSuccess";function Gh(e){return C(ye,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Gh.displayName="Password";function Yh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[C("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),C("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}Yh.displayName="Pen";function Xh(e){return C(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}Xh.displayName="PlusSign";function Zh(e){return q(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[C("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),C("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}Zh.displayName="TrashCan";function Kh(e){return C(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:C("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}Kh.displayName="TextBubble";function qh(e){return C(ye,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),C("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}qh.displayName="ErrorWhite";function Qh(e){return C(ye,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),C("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),C("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),C("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),C("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),C("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Qh.displayName="InfoWhite";function Jh(e){return C(ye,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),C("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),C("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),C("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),C("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}Jh.displayName="SuccessWhite";function em(e){return C(ye,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:q("svg",{fill:"none",children:[C("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),C("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}em.displayName="WarningWhite";function tm(e){return C(ye,{...e,title:"close",children:C("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:C("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}tm.displayName="Close";var b$=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:Mh,AlertInfo:Fh,ArrowRight:Rh,Certificate:Ih,CircularCheck:Lh,CircularInformation:mc,Download:Bh,GoAhead:$h,GoBack:Dh,Multimedia:zh,Loader:Cw,Profile:Nh,Schedule:Vh,TinyAlertInfo:jh,TinyAlertError:Wh,TinyAlertWarning:Hh,TinyAlertSuccess:Uh,Password:Gh,Pen:Yh,PlusSign:Xh,TrashCan:Zh,TextBubble:Kh,ErrorWhite:qh,InfoWhite:Qh,SuccessWhite:Jh,WarningWhite:em,Close:tm},Symbol.toStringTag,{value:"Module"}));function Ew({status:e,text:t,margin:r="0"}){const n={success:{icon:C(Uh,{}),text:"Success",bg:W("colors-alert-ice"),color:W("colors-neutral-darkCharcoal")},error:{icon:C(Wh,{}),text:"Error",bg:W("colors-alert-veryLightPinkThree"),color:W("colors-neutral-darkCharcoal")},info:{icon:C(jh,{}),text:"Info",bg:W("colors-alert-veryLightBlue"),color:W("colors-neutral-darkCharcoal")},warning:{icon:C(Hh,{}),text:"Warning",bg:W("colors-alert-pale"),color:W("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:W("colors-main-blueGrey"),color:W("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:W("colors-main-ziggurat"),color:W("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:W("colors-neutral-cultured"),color:W("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:W("colors-neutral-white")}};return n[e]?q(fe,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&C(fe,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),C(fe,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}Ew.displayName="TinyAlert";function gc({bg:e,borderColorActive:t=[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],children:r,color:n=W("colors-neutral-white"),disabled:i=!1,fillLoader:o=W("colors-neutral-white"),isFullWidth:a=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:f,rounded:d=!1,size:p="regular",touchDark:h=!1,type:g="button",tabIndex:v,id:m}){var A,O,B;let y=r!=null?r:null;!r&&!f&&!l&&(y="Button");const b=".75rem",x=d?"12px":W("radii-small"),E=(A=e==null?void 0:e.main)!=null?A:W("colors-main-deepSkyBlue"),k=h?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",T=!r&&(f!=null?f:l)?"onlyIcon":"";return C(fe,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${a?"grid":"inline-flex!important"}`}},children:C(ww,{color:k,children:C(Wv,{id:m,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:E,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:T,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:W("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:H=>{!u&&!i&&(c==null||c(H))},type:g,tabIndex:v,paddingTop:p==="regular"?b:W(T?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:W(T?"space-xs":"space-xxs"),paddingLeft:W(p==="regular"?"space-s":"space-xs"),paddingRight:W(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:a,rightIcon:f,spinner:C(Cw,{fill:o}),_active:{bg:(O=e==null?void 0:e.main)!=null?O:W("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:(B=e==null?void 0:e.hover)!=null?B:W("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:y})})})}gc.displayName="Btn";function rm({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:o=!1,onClick:a,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:f}){return C(gc,{id:f,disabled:t,isFullWidth:r,isLoading:o,leftIcon:n,m:i,onClick:a,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}rm.displayName="BtnPrimary";function kw({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:o=!1,onClick:a,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:f}){return C(gc,{id:f,bg:{main:W("colors-main-veryLightBlue"),hover:W("colors-main-linkWater")},fillLoader:W("colors-main-deepSkyBlue"),borderColorActive:[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],color:W("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:o,leftIcon:n,m:i,onClick:a,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}kw.displayName="BtnSecondary";function Tw({children:e,iconStatus:t="multimedia",iconCustom:r,rightIcon:n,withoutColor:i=!1,m:o="0",type:a="button",tabIndex:l,id:s,activeWhenPress:u=!1,onClick:c,onMouseEnter:f,onMouseLeave:d}){var E;const p=W("colors-neutral-gray"),h=W("colors-main-deepSkyBlue"),g=W("colors-neutral-white"),v=i?W("colors-main-blueGrey"):h,m={ahead:C($h,{color:v}),answer:C(Kh,{color:v}),back:C(Dh,{color:v}),delete:C(Zh,{color:v}),download:C(Bh,{color:v}),edit:C(Yh,{color:v}),more:C(Xh,{color:v}),multimedia:C(zh,{color:v}),password:C(Gh,{color:v}),record:C(Mh,{color:v}),noIcon:C(Wi,{})};let y=(E=m[t])!=null?E:m.multimedia;r&&(y=r);const b=n?y:void 0,x=n?void 0:y;return C(Wv,{id:s,type:a,tabIndex:l,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:W("space-xxs"),paddingBottom:W("space-xxs"),paddingLeft:W("space-xs"),paddingRight:W("space-xs"),color:p,rightIcon:b,leftIcon:x,m:o,onClick:c,onMouseEnter:f,onMouseLeave:d,_hover:{color:`${h}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${h}, inset 0 0 0 4px ${g}`},_focus:{color:u?`${h} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${h}`},"@media (hover: none)":{color:`${p}`,"svg path":{fill:v}}},"&:focus":{"svg path":{fill:u?`${h}`:""}}},children:e})}Tw.displayName="BtnTertiary";function bl({children:e,m:t="0",onClick:r,id:n,as:i="button",href:o="",textDecorationLine:a=!0,fontSize:l="0.875rem"}){const s={button:{onClick:r},a:{href:o,target:"_blank"}};return C(fe,{as:i,id:n,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:l,lineHeight:"1rem",textDecorationLine:a?"underline":"none",color:W("colors-main-deepSkyBlue"),m:t,_hover:{color:W("colors-neutral-darkCharcoal"),cursor:"pointer"},...s[i],children:e})}bl.displayName="BtnLink";const x$=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l})=>C(l$,{isOpen:l,sx:{bg:W("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${W("colors-neutral-darkCharcoal")} !important`}},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:C("span",{children:e})}),S$=4;function Pw(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=S.useContext(yc);return q(fe,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:W("borders-light"),pos:"relative",children:[q(fe,{p:"1rem",children:[(i==null?void 0:i.id)!==S$&&C(hc,{bg:W("colors-neutral-white"),m:"0 0 .625rem 0",children:q(Ju,{children:[C(Nh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&C(oS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((o,a)=>C(hc,{bg:o.id==="NEW"?W("colors-secondary-pumpkin"):void 0,children:o.text},a))})]}),r!==void 0&&r.length>0&&C(nS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:W("borders-light"),bg:W("colors-neutral-white"),overflow:"hidden",borderRadius:W("radii-small"),w:"6.25rem",children:C(jF,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Pw.displayName="Header";function nm({date:e}){return e==null||e.length===0?null:C(ro,{fontSize:".75rem",color:W("colors-neutral-darkCharcoal"),m:"0",children:e})}nm.displayName="DateStatus";function _w({type:e,progressValue:t=0}){switch(e){case"schedule":return C(Vh,{});case"certificate":return C(Ih,{});case"circularCheck":return C(Lh,{});case"progress":return C(Sw,{value:t});case"circularInformation":return C(mc,{});case"info":return C(mc,{});default:return null}}const w$=7;function Ow({progress:e,status:t}){return q(Wi,{children:[q(Ju,{children:[C(_w,{type:e.icon,progressValue:e.progress}),C(ro,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===w$&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&C(hc,{size:"sm",bg:e.isApproved?W("colors-alert-jadeGreen"):W("colors-alert-red"),color:W("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Aw(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=S.useContext(yc);return n==null?null:q(fe,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&q(xR,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?C(fe,{h:".5rem",w:"1px",bg:W("colors-neutral-silverSand"),alignSelf:"center"}):C(Wi,{}),children:[C(nm,{date:t.init}),C(nm,{date:t.end})]}),C(sR,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),C(Ju,{mt:"1rem",justify:"space-between",children:C(Ow,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&C(vR,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:W("borders-light"),children:r.map((o,a)=>{var l;return q(hR,{display:"flex",children:[C(_w,{type:o.icon}),C(fe,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?C(cR,{isExternal:!0,href:o.href,color:W("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):C(ro,{m:"0",color:W("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}Aw.displayName="Section";const V={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},Mw={noHabilitado:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:{...V.status,id:2,name:"preInscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...V,id:3,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:2,name:"preInscripcion"},progress:{...V.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...V,background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:{...V.status,id:3,name:"inscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...V,id:5,hasFinanzeFreezed:!1,status:{...V.status,id:3,name:"inscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!0},information:[],action:{...V.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...V,id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,enabled:!1},labels:[]},noDisponible3:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,enabled:!1},labels:[]},activado:{...V,id:8,hasFinanzeFreezed:!1,status:{...V.status,id:5,name:"disponible"},progress:{...V.progress,label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...V,id:9,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...V,id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...V,id:11,hasFinanzeFreezed:!1,status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...V,id:13,hasFinanzeFreezed:!0,status:{...V.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...V.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...V,id:14,hasFinanzeFreezed:!1,status:{...V.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...V.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},pendiente:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:{...V.status,id:8,name:"pendiente"},progress:{...V.progress,label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado:{...V,id:16,hasFinanzeFreezed:!1,status:{...V.status,id:7,name:"QUALIFIED"},progress:{...V.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado2:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...V.status,id:7,name:"QUALIFIED"},progress:{...V.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado3:{...V,id:18,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:9,name:"terminado"},progress:{...V.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]}},C$=Object.keys(Mw).map(e=>Mw[e]),Fw=4,xl=(e,t=Fw)=>e||t!==Fw;function E$(e=4){const t=e*Lw+Iw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function k$({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return C(kh,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=S.useState(C(a,{}));return S.useEffect(()=>{n&&s(C(a,{}))},[n]),q(gl,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,q(Eh,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[q(Th,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[C(Fh,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),C(mw,{size:"md",color:W("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),C(Ph,{p:"1rem 2rem 2rem 2rem",children:C(ro,{align:"center",children:i.body})}),C(_h,{justifyContent:"center",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),p:"1rem",children:C(Wv,{onClick:r,color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}gl.displayName="Modal";function Rw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=S.useContext(yc),{isOpen:i,onOpen:o,onClose:a}=s0(),[l,s]=S.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:q(nS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),children:[xl(t.enabled,r==null?void 0:r.id)?q(Wi,{children:[n&&e?C(fe,{color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):C(ro,{color:W("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&C(Rh,{color:W("colors-main-deepSkyBlue")})]}):C(ro,{fontWeight:"500",lineHeight:"1.172rem",color:W("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&C(k$,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}Rw.displayName="Footer";const yc=S.createContext({});function T$({enabled:e,children:t}){return e?C(Ah,{children:t}):C(Wi,{children:t})}function im({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${W("colors-neutral-silverSand")}`};return C(yc.Provider,{value:e,children:C(ER,{as:"article",border:W("borders-light"),borderRadius:W("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:C(T$,{enabled:xl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:q(Ju,{direction:"column",justify:"space-between",h:"100%",children:[q(fe,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&xl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&C(aS,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),C(Pw,{}),C(Aw,{})]}),C(Rw,{modalPaymentText:t})]})})})})}im.displayName="BoxTraditional";function P$({enabled:e,children:t}){return e?C(Ah,{children:t}):C(Wi,{children:t})}function om({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,f,d,p,h;const o={large:"286px",small:"197px"};return C(P$,{enabled:xl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:q(fe,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:W("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&xl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(f=r==null?void 0:r.Profile)==null?void 0:f.id)&&C(aS,{href:(d=r==null?void 0:r.action)==null?void 0:d.href,isExternal:(p=r==null?void 0:r.action)==null?void 0:p.targetBlank}),q(fe,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[C(fe,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(h=r==null?void 0:r.information)==null?void 0:h.map((g,v)=>g.icon==="certificate"&&C(fe,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:g.text},v))]})]})})}om.displayName="BoxImage";const _$=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:C(im,{...n}),TRADITIONAL_LANDSCAPE:C(im,{...n}),IMAGE_LARGE:C(om,{...i}),IMAGE_SMALL:C(om,{...i,size:"small"})}[e]},Iw=1.25,Lw=17.8125;function Bw({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:C(fe,{display:"grid",gridColumnGap:`${Iw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Lw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>C(_$,{data:i,type:n,modalPaymentText:t},i.id))})}Bw.displayName="CourseList";const bc={success:{icon:C(Jh,{}),bg:W("colors-alert-ice"),id:"success"},error:{icon:C(qh,{}),bg:W("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:C(Qh,{}),bg:W("colors-alert-veryLightBlue"),id:"info"},warning:{icon:C(em,{}),bg:W("colors-alert-pale"),id:"warning"}};function $w({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:f}){const[d]=lS("(max-width: 425px)"),p=()=>{l&&l()};let h;return r&&(h=i?"link":"normal"),q(fe,{className:a?"flashNotification":"e_alert",alignItems:d?"unset":"center",backgroundColor:bc[s].bg,borderRadius:"8px",display:"flex",flexFlow:d?"column":"row",gap:a?"":"16px",justifyContent:d?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[q(fe,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"}},children:[C(fe,{className:"iconContainer",sx:{svg:{width:"auto"}},children:bc[s].icon}),q(fe,{display:"flex",alignItems:"center",children:[q(fe,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:W("colors-neutral-darkCharcoal"),children:[e,c&&f&&C(bl,{onClick:f,children:c})]}),h==="link"&&C(bl,{onClick:p,children:r})]})]}),h==="normal"&&C(rm,{isFullWidth:!!d,leftIcon:n,onClick:p,children:r}),t&&C(fe,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:C(tm,{})})]})}let O$={data:""},A$=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||O$,M$=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,F$=/\/\*[^]*?\*\/| +/g,Dw=/\n+/g,Cn=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?Cn(a,o):o+"{"+Cn(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=Cn(a,t?t.replace(/([^,])+/g,l=>o.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Cn.p?Cn.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},$r={},zw=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+zw(e[r]);return t}return e},R$=(e,t,r,n,i)=>{let o=zw(e),a=$r[o]||($r[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!$r[a]){let s=o!==e?e:(u=>{let c,f,d=[{}];for(;c=M$.exec(u.replace(F$,""));)c[4]?d.shift():c[3]?(f=c[3].replace(Dw," ").trim(),d.unshift(d[0][f]=d[0][f]||{})):d[0][c[1]]=c[2].replace(Dw," ").trim();return d[0]})(e);$r[a]=Cn(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&$r.g?$r.g:null;return r&&($r.g=$r[a]),((s,u,c,f)=>{f?u.data=u.data.replace(f,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})($r[a],t,n,l),a},I$=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":Cn(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function xc(e){let t=this||{},r=e.call?e(t.p):e;return R$(r.unshift?r.raw?I$(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,A$(t.target),t.g,t.o,t.k)}let Nw,am,lm;xc.bind({g:1});let Dr=xc.bind({k:1});function L$(e,t,r,n){Cn.p=t,Nw=e,am=r,lm=n}function En(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:am&&am()},l),r.o=/ *go\d+/.test(s),l.className=xc.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),lm&&u[0]&&lm(l),Nw(u,l)}return t?t(i):i}}var B$=e=>typeof e=="function",Sc=(e,t)=>B$(e)?e(t):e,$$=(()=>{let e=0;return()=>(++e).toString()})(),Vw=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),D$=20,wc=new Map,z$=1e3,jw=e=>{if(wc.has(e))return;let t=setTimeout(()=>{wc.delete(e),ii({type:4,toastId:e})},z$);wc.set(e,t)},N$=e=>{let t=wc.get(e);t&&clearTimeout(t)},sm=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,D$)};case 1:return t.toast.id&&N$(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?sm(e,{type:1,toast:r}):sm(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?jw(n):e.toasts.forEach(o=>{jw(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},Cc=[],Ec={toasts:[],pausedAt:void 0},ii=e=>{Ec=sm(Ec,e),Cc.forEach(t=>{t(Ec)})},V$={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},j$=(e={})=>{let[t,r]=F.useState(Ec);F.useEffect(()=>(Cc.push(r),()=>{let i=Cc.indexOf(r);i>-1&&Cc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||V$[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},W$=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||$$()}),Sl=e=>(t,r)=>{let n=W$(t,e,r);return ii({type:2,toast:n}),n.id},bt=(e,t)=>Sl("blank")(e,t);bt.error=Sl("error"),bt.success=Sl("success"),bt.loading=Sl("loading"),bt.custom=Sl("custom"),bt.dismiss=e=>{ii({type:3,toastId:e})},bt.remove=e=>ii({type:4,toastId:e}),bt.promise=(e,t,r)=>{let n=bt.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(bt.success(Sc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{bt.error(Sc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var H$=(e,t)=>{ii({type:1,toast:{id:e,height:t}})},U$=()=>{ii({type:5,time:Date.now()})},G$=e=>{let{toasts:t,pausedAt:r}=j$(e);F.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&bt.dismiss(l.id);return}return setTimeout(()=>bt.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=F.useCallback(()=>{r&&ii({type:6,time:Date.now()})},[r]),i=F.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(p=>(p.position||u)===(o.position||u)&&p.height),f=c.findIndex(p=>p.id===o.id),d=c.filter((p,h)=>h<f&&p.visible).length;return c.filter(p=>p.visible).slice(...l?[d+1]:[0,d]).reduce((p,h)=>p+(h.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:H$,startPause:U$,endPause:n,calculateOffset:i}}},Y$=Dr`
387
387
  from {
388
388
  transform: scale(0) rotate(45deg);
389
389
  opacity: 0;
@@ -559,5 +559,5 @@ to {
559
559
  > * {
560
560
  pointer-events: auto;
561
561
  }
562
- `,kc=16,yD=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=G$(r);return S.createElement("div",{style:{position:"fixed",zIndex:9999,top:kc,left:kc,right:kc,bottom:kc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,f=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),d=mD(c,f);return S.createElement(hD,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?gD:"",style:d},u.type==="custom"?Sc(u.message,u):i?i(u):S.createElement(vD,{toast:u,position:c}))}))};const Ww=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function bD({message:e,state:t,show:r,m:n}){const i=F.useCallback(()=>{bt(o=>C($w,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>bt.dismiss(o.id),children:e}),{duration:Ww(e),id:bc[t].id})},[e,t]);return F.useEffect(()=>{r&&i()},[r,i]),C(fe,{children:C(yD,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const xD=({state:e,message:t})=>{const[r,n]=F.useState(!1);return F.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},Ww(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function Hw({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i}){const[o]=lS("(min-width: 650px)"),a=i.length>1;return q(gl,{isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:o?"xl":"sm",children:[C(kh,{}),q(Eh,{children:[q(fe,{alignItems:"center",justifyContent:"center",textAlign:"center",py:8,children:[C(fe,{display:"flex",justifyContent:"center",children:bc[t].icon}),C(Th,{children:r}),C(Ph,{children:n})]}),C(oR,{colorScheme:"E6E6E6",size:"2",opacity:"1"}),C(_h,{justifyContent:"center",padding:"0",children:i.map((l,s)=>C(fe,{width:"99%",textAlign:"center",padding:"4",borderLeftWidth:a&&l.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",children:C(bl,{textDecorationLine:!1,fontSize:"1rem",onClick:()=>l.action(),children:l.label})},s))})]})]})}Hw.displayName="ModalAlert",de.Alert=$w,de.Btn=gc,de.BtnLink=bl,de.BtnPrimary=rm,de.BtnSecondary=kw,de.BtnTertiary=Tw,de.CourseList=Bw,de.CourseStatus=Ow,de.FlashNotification=bD,de.Icons=b$,de.Label=hc,de.ModalAlert=Hw,de.NewTooltip=x$,de.Progress=Sw,de.Ripples=Ah,de.TinyAlert=Ew,de.dataFake=C$,de.maxWidthCoursesList=E$,de.theme=p$,de.useFlashNotification=xD,de.vars=W,Object.defineProperties(de,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
562
+ `,kc=16,yD=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=G$(r);return S.createElement("div",{style:{position:"fixed",zIndex:9999,top:kc,left:kc,right:kc,bottom:kc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,f=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),d=mD(c,f);return S.createElement(hD,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?gD:"",style:d},u.type==="custom"?Sc(u.message,u):i?i(u):S.createElement(vD,{toast:u,position:c}))}))};const Ww=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function bD({message:e,state:t,show:r,m:n}){const i=F.useCallback(()=>{bt(o=>C($w,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>bt.dismiss(o.id),children:e}),{duration:Ww(e),id:bc[t].id})},[e,t]);return F.useEffect(()=>{r&&i()},[r,i]),C(fe,{children:C(yD,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const xD=({state:e,message:t})=>{const[r,n]=F.useState(!1);return F.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},Ww(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function Hw({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i}){const[o]=lS("(min-width: 650px)"),a=i.length>1;return q(gl,{isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:o?"xl":"sm",children:[C(kh,{}),q(Eh,{children:[q(fe,{alignItems:"center",justifyContent:"center",textAlign:"center",py:"2rem",children:[C(fe,{display:"flex",justifyContent:"center",children:bc[t].icon}),C(Th,{py:"1rem",children:r}),C(Ph,{py:"0.5rem",px:"2rem",children:n})]}),C(oR,{colorScheme:"#E6E6E6",size:"2",opacity:"1"}),C(_h,{justifyContent:"center",padding:"0",children:i.map((l,s)=>C(fe,{width:"99%",textAlign:"center",padding:"1rem",borderLeftWidth:a&&l.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",children:C(bl,{textDecorationLine:!1,fontSize:"1rem",onClick:()=>l.action(),children:l.label})},s))})]})]})}Hw.displayName="ModalAlert",de.Alert=$w,de.Btn=gc,de.BtnLink=bl,de.BtnPrimary=rm,de.BtnSecondary=kw,de.BtnTertiary=Tw,de.CourseList=Bw,de.CourseStatus=Ow,de.FlashNotification=bD,de.Icons=b$,de.Label=hc,de.ModalAlert=Hw,de.NewTooltip=x$,de.Progress=Sw,de.Ripples=Ah,de.TinyAlert=Ew,de.dataFake=C$,de.maxWidthCoursesList=E$,de.theme=p$,de.useFlashNotification=xD,de.vars=W,Object.defineProperties(de,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
563
563
  //# sourceMappingURL=eclass-ui-kit.umd.js.map