@eclass/ui-kit 1.19.0 → 1.19.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.
|
@@ -408,5 +408,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
408
408
|
`},yD=function(e){var t=w.useState(kw(e.gapMode)),r=t[0],n=t[1];w.useEffect(function(){n(kw(e.gapMode))},[e.gapMode]);var i=e.noRelative,o=e.noImportant,a=e.gapMode,l=a===void 0?"margin":a;return w.createElement(hD,{styles:gD(r,!i,l,o?"":"!important")})},bD=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},xD=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Tw=function(e,t){var r=t;do{var n=Pw(e,r);if(n){var i=_w(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},SD=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},wD=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Pw=function(e,t){return e==="v"?bD(t):xD(t)},_w=function(e,t){return e==="v"?SD(t):wD(t)},CD=function(e,t,r,n,i){var o=n,a=r.target,l=t.contains(a),s=!1,u=o>0,c=0,d=0;do{var f=_w(e,a),p=f[0],m=f[1],g=f[2],v=m-g-p;(p||v)&&Pw(e,a)&&(c+=v,d+=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&&d===0||!i&&-o>d))&&(s=!0),s},rm=!1;if(typeof window!="undefined")try{var Qu=Object.defineProperty({},"passive",{get:function(){return rm=!0,!0}});window.addEventListener("test",Qu,Qu),window.removeEventListener("test",Qu,Qu)}catch{rm=!1}var ro=rm?{passive:!1}:!1,Ju=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ow=function(e){return[e.deltaX,e.deltaY]},Aw=function(e){return e&&"current"in e?e.current:e},ED=function(e,t){return e[0]===t[0]&&e[1]===t[1]},kD=function(e){return`
|
|
409
409
|
.block-interactivity-`+e+` {pointer-events: none;}
|
|
410
410
|
.allow-interactivity-`+e+` {pointer-events: all;}
|
|
411
|
-
`},TD=0,no=[];function PD(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(TD++)[0],o=w.useState(function(){return Ew()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var g=[e.lockRef.current].concat((e.shards||[]).map(Aw)).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=w.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var h=Ju(g),y=r.current,b="deltaX"in g?g.deltaX:y[0]-h[0],x="deltaY"in g?g.deltaY:y[1]-h[1],C,P=g.target,E=Math.abs(b)>Math.abs(x)?"h":"v",A=Tw(E,P);if(!A)return!0;if(A?C=E:(C=E==="v"?"h":"v",A=Tw(E,P)),!A)return!1;if(!n.current&&"changedTouches"in g&&(b||x)&&(n.current=C),!C)return!0;var O=n.current||C;return CD(O,v,g,O==="h"?b:x,!0)},[]),s=w.useCallback(function(g){var v=g;if(!(!no.length||no[no.length-1]!==o)){var h="deltaY"in v?Ow(v):Ju(v),y=t.current.filter(function(C){return C.name===v.type&&C.target===v.target&&ED(C.delta,h)})[0];if(y&&y.should){v.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(Aw).filter(Boolean).filter(function(C){return C.contains(v.target)}),x=b.length>0?l(v,b[0]):!a.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(g,v,h,y){var b={name:g,delta:v,target:h,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=w.useCallback(function(g){r.current=Ju(g),n.current=void 0},[]),d=w.useCallback(function(g){u(g.type,Ow(g),g.target,l(g,e.lockRef.current))},[]),f=w.useCallback(function(g){u(g.type,Ju(g),g.target,l(g,e.lockRef.current))},[]);w.useEffect(function(){return no.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,ro),document.addEventListener("touchmove",s,ro),document.addEventListener("touchstart",c,ro),function(){no=no.filter(function(g){return g!==o}),document.removeEventListener("wheel",s,ro),document.removeEventListener("touchmove",s,ro),document.removeEventListener("touchstart",c,ro)}},[]);var p=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(o,{styles:kD(i)}):null,p?w.createElement(yD,{gapMode:"margin"}):null)}var _D=dB(Cw,PD),Fw=w.forwardRef(function(e,t){return w.createElement(qu,to({},e,{ref:t,sideCar:_D}))});Fw.classNames=qu.classNames;var OD=Fw,AD=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},io=new WeakMap,ec=new WeakMap,tc={},nm=0,FD=function(e,t,r){t===void 0&&(t=AD(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];tc[r]||(tc[r]=new WeakMap);var i=tc[r],o=[],a=new Set,l=function(u){!u||a.has(u)||(a.add(u),l(u.parentNode))};n.forEach(l);var s=function(u){!u||n.indexOf(u)>=0||Array.prototype.forEach.call(u.children,function(c){if(a.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(io.get(c)||0)+1,m=(i.get(c)||0)+1;io.set(c,p),i.set(c,m),o.push(c),p===1&&f&&ec.set(c,!0),m===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),a.clear(),nm++,function(){o.forEach(function(u){var c=io.get(u)-1,d=i.get(u)-1;io.set(u,c),i.set(u,d),c||(ec.has(u)||u.removeAttribute("aria-hidden"),ec.delete(u)),d||u.removeAttribute(r)}),nm--,nm||(io=new WeakMap,io=new WeakMap,ec=new WeakMap,tc={})}};function Xn(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 De(){return De=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},De.apply(this,arguments)}var MD=["preset"],RD={slideInBottom:De({},mS,{custom:{offsetY:16,reverse:!0}}),slideInRight:De({},mS,{custom:{offsetX:16,reverse:!0}}),scale:De({},GI,{custom:{initialScale:.95,reverse:!0}}),none:{}},ID=re(Du.section),LD=w.forwardRef(function(e,t){var r=e.preset,n=Xn(e,MD),i=RD[r];return w.createElement(ID,De({ref:t},i,n))}),BD=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}(),im=new BD;function DD(e,t){M.useEffect(function(){return t&&im.add(e),function(){im.remove(e)}},[t,e])}function zD(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,d=e.onEsc,f=M.useRef(null),p=M.useRef(null),m=qC(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),g=m[0],v=m[1],h=m[2];$D(f,t&&u),DD(f,t);var y=M.useRef(null),b=M.useCallback(function(q){y.current=q.target},[]),x=M.useCallback(function(q){q.key==="Escape"&&(q.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),C=M.useState(!1),P=C[0],E=C[1],A=M.useState(!1),O=A[0],$=A[1],Y=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({role:"dialog"},q,{ref:yo(J,f),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":P?v:void 0,"aria-describedby":O?h:void 0,onClick:Ut(q.onClick,function(ue){return ue.stopPropagation()})})},[h,O,g,v,P]),X=M.useCallback(function(q){q.stopPropagation(),y.current===q.target&&(!im.isTopModal(f)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),G=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({},q,{ref:yo(J,p),onClick:Ut(q.onClick,X),onKeyDown:Ut(q.onKeyDown,x),onMouseDown:Ut(q.onMouseDown,b)})},[x,b,X]);return{isOpen:t,onClose:r,headerId:v,bodyId:h,setBodyMounted:$,setHeaderMounted:E,dialogRef:f,overlayRef:p,getDialogProps:Y,getDialogContainerProps:G}}function $D(e,t){var r=e.current;M.useEffect(function(){if(!(!e.current||!t))return FD(e.current)},[t,e,r])}var ND=["className","children","containerProps"],VD=["className","transition"],jD=["className"],HD=["className"],WD=["className"],UD=["onClick","className"],Mw=wn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),GD=Mw[0],Kn=Mw[1],om=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,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,m=t.onCloseComplete,g=r1("Modal",t),v=zD(t),h=De({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(GD,{value:h},w.createElement(WT,{value:g},w.createElement(Cv,{onExitComplete:m},h.isOpen&&w.createElement(va,r,n))))};om.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var YD=re(Du.div),XD=Fe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=Xn(e,ND),a=Kn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),d=Ge("chakra-modal__content",r),f=Li(),p=De({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=De({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),g=Kn(),v=g.motionPreset;return w.createElement(KD,null,w.createElement(re.div,De({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(LD,De({preset:v,className:d},u,{__css:p}),n)))});function KD(e){var t=Kn(),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,d=t.lockFocusAcrossFrames,f=pv(),p=f[0],m=f[1];return w.useEffect(function(){!p&&m&&setTimeout(m)},[p,m]),w.createElement(iD,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(OD,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var ZD=Fe(function(e,t){var r=e.className;e.transition;var n=Xn(e,VD),i=Ge("chakra-modal__overlay",r),o=Li(),a=De({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=Kn(),s=l.motionPreset,u=s==="none"?{}:WI;return w.createElement(YD,De({},u,{__css:a,ref:t,className:i},n))}),qD=Fe(function(e,t){var r=e.className,n=Xn(e,jD),i=Kn(),o=i.headerId,a=i.setHeaderMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ge("chakra-modal__header",r),s=Li(),u=De({flex:0},s.header);return w.createElement(re.header,De({ref:t,className:l,id:o},n,{__css:u}))}),QD=Fe(function(e,t){var r=e.className,n=Xn(e,HD),i=Kn(),o=i.bodyId,a=i.setBodyMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ge("chakra-modal__body",r),s=Li();return w.createElement(re.div,De({ref:t,className:l,id:o},n,{__css:s.body}))}),JD=Fe(function(e,t){var r=e.className,n=Xn(e,WD),i=Ge("chakra-modal__footer",r),o=Li(),a=De({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return w.createElement(re.footer,De({ref:t},n,{__css:a,className:i}))}),ez=Fe(function(e,t){var r=e.onClick,n=e.className,i=Xn(e,UD),o=Kn(),a=o.onClose,l=Ge("chakra-modal__close-btn",n),s=Li();return w.createElement(v8,De({ref:t,__css:s.closeButton,className:l,onClick:Ut(r,function(u){u.stopPropagation(),a()})},i))});wn(),re(KI);function Rw(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 oo(){return oo=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},oo.apply(this,arguments)}var tz=ii({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),rz=ii({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});ii({"0%":{left:"-40%"},"100%":{left:"100%"}}),ii({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function nz(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=UC(r,n,i),u=function(){if(r!=null)return Br(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 iz=["size","isIndeterminate"],oz=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],Iw=function(t){return w.createElement(re.circle,oo({cx:50,cy:50,r:42,fill:"transparent"},t))},az=function(t){var r=t.size,n=t.isIndeterminate,i=Rw(t,iz);return w.createElement(re.svg,oo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?rz+" 2s linear infinite":void 0}},i))},lz=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,d=t.value,f=t.capIsRound,p=t.children,m=t.thickness,g=m===void 0?"10px":m,v=t.color,h=v===void 0?"#0078d4":v,y=t.trackColor,b=y===void 0?"#edebe9":y,x=t.isIndeterminate,C=Rw(t,oz),P=nz({min:s,max:a,value:d,valueText:u,getValueText:c,isIndeterminate:x}),E=x?void 0:((r=P.percent)!=null?r:0)*2.64,A=gC(E)?void 0:E+" "+(264-E),O=x?{css:{animation:tz+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},$={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(re.div,oo({className:"chakra-progress"},P.bind,C,{__css:$}),w.createElement(az,{size:i,isIndeterminate:x},w.createElement(Iw,{stroke:b,strokeWidth:g,className:"chakra-progress__track"}),w.createElement(Iw,oo({stroke:h,strokeWidth:g,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:P.value===0&&!x?0:void 0},O))),p)};re("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 Lw(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 sz={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]}}}},uz=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function cz(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,d=t.onOpen,f=t.onClose,p=t.placement,m=t.id,g=t.isOpen,v=t.defaultIsOpen,h=t.arrowSize,y=h===void 0?10:h,b=t.arrowShadowColor,x=t.arrowPadding,C=t.modifiers,P=t.isDisabled,E=t.gutter,A=t.offset,O=t.direction,$=Lw(t,uz),Y=Oh({isOpen:g,defaultIsOpen:v,onOpen:d,onClose:f}),X=Y.isOpen,G=Y.onOpen,q=Y.onClose,J=eB({enabled:X,placement:p,arrowPadding:x,modifiers:C,gutter:E,offset:A,direction:O}),ue=J.referenceRef,ce=J.getPopperProps,$e=J.getArrowInnerProps,Ce=J.getArrowProps,Ie=Dc(m,"tooltip"),I=w.useRef(null),N=w.useRef(),D=w.useRef(),z=w.useCallback(function(){P||(N.current=window.setTimeout(G,n))},[P,G,n]),V=w.useCallback(function(){N.current&&clearTimeout(N.current),D.current=window.setTimeout(q,o)},[o,q]),te=w.useCallback(function(){l&&V()},[l,V]),ye=w.useCallback(function(){s&&V()},[s,V]),Ee=w.useCallback(function(be){X&&be.key==="Escape"&&V()},[X,V]);Ph("keydown",c?Ee:void 0),w.useEffect(function(){return function(){clearTimeout(N.current),clearTimeout(D.current)}},[]),Ph("mouseleave",V,function(){return I.current});var We=w.useCallback(function(be,lt){be===void 0&&(be={}),lt===void 0&&(lt=null);var Ht=tr({},be,{ref:yo(I,lt,ue),onMouseEnter:Ut(be.onMouseEnter,z),onClick:Ut(be.onClick,te),onMouseDown:Ut(be.onMouseDown,ye),onFocus:Ut(be.onFocus,z),onBlur:Ut(be.onBlur,V),"aria-describedby":X?Ie:void 0});return Ht},[z,V,ye,X,Ie,te,ue]),bn=w.useCallback(function(be,lt){var Ht;return be===void 0&&(be={}),lt===void 0&&(lt=null),ce(tr({},be,{style:tr({},be.style,(Ht={},Ht[et.arrowSize.var]=y?Bl(y):void 0,Ht[et.arrowShadowColor.var]=b,Ht))}),lt)},[ce,y,b]),qn=w.useCallback(function(be,lt){be===void 0&&(be={}),lt===void 0&&(lt=null);var Ht=tr({ref:lt},$,be,{id:Ie,role:"tooltip",style:tr({},be.style,{position:"relative",transformOrigin:et.transformOrigin.varRef})});return Ht},[$,Ie]);return{isOpen:X,show:z,hide:V,getTriggerProps:We,getTooltipProps:qn,getTooltipPositionerProps:bn,getArrowProps:Ce,getArrowInnerProps:$e}}var fz=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],dz=re(Du.div),pz=Fe(function(e,t){var r,n,i=an("Tooltip",e),o=on(e),a=e1(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],d=o.hasArrow,f=o.bg,p=o.portalProps,m=o.background,g=o.backgroundColor,v=o.bgColor,h=Lw(o,fz),y=(r=(n=m!=null?m:g)!=null?n:f)!=null?r:v;y&&(i.bg=y,i[et.arrowBg.var]=wC(a,"colors",y));var b=cz(tr({},h,{direction:a.direction})),x=Ml(l)||u,C;if(x)C=w.createElement(re.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var P=w.Children.only(l);C=w.cloneElement(P,b.getTriggerProps(P.props,P.ref))}var E=!!c,A=b.getTooltipProps({},t),O=E?Rl(A,["role","id"]):A,$=mh(A,["role","id"]);return s?w.createElement(w.Fragment,null,C,w.createElement(Cv,null,b.isOpen&&w.createElement(va,p,w.createElement(re.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),w.createElement(dz,tr({variants:sz},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,E&&w.createElement(bS,$,c),d&&w.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},w.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):w.createElement(w.Fragment,null,l)}),vz=tP;vz.defaultProps={theme:R1};function mz(){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 KA(i)&&n.length>1?n=n.slice(0,n.length-1):i=R1,NC.apply(void 0,n.map(function(o){return function(a){return Br(o)?o(a):hz(a,o)}}))(i)}function hz(){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,[Bw]))}function Bw(e,t,r,n){if((Br(e)||Br(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Br(e)?e.apply(void 0,arguments):e,o=Br(t)?t.apply(void 0,arguments):t;return Ot({},i,o,Bw)}}const rc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Zn={main:rc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:rc.deepSkyBlue,veryLightBlue:rc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:rc.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"}},gz={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"}})},ll="solid .063rem",yz={borders:{normal:`${ll} ${Zn.neutral.darkCharcoal}`,light:`${ll} ${Zn.neutral.platinum}`,active:`${ll} ${Zn.main.deepSkyBlue}`,success:`${ll} ${Zn.alert.jadeGreen}`,error:`${ll} ${Zn.alert.red}`,white:`solid .125rem ${Zn.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 q$="",Q$="",J$="",e9="",t9="";const bz={fonts:{body:"Roboto",outstanding:"Lora"}},xz=mz(L(R(R({colors:Zn},yz),bz),{styles:gz})),U=e=>`var(--chakra-${e})`;function sl({children:e,bg:t=U("colors-icon-ripeMango"),color:r=U("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 _(He,{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})}sl.displayName="Label";function am({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),_(lz,{size:"1rem",value:t,thickness:"1rem",color:U("colors-main-deepSkyBlue"),trackColor:U("colors-neutral-platinum")})}am.displayName="Progress";var Sz=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)}}(),ao=globalThis&&globalThis.__assign||function(){return ao=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},ao.apply(this,arguments)},wz=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},Cz={position:"relative",display:"inline-flex",overflow:"hidden"},Ez=function(e){e===void 0&&(e={});var t;return t=function(r){Sz(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 d=a.pageX,f=a.pageY,p=a.currentTarget,m=p.getBoundingClientRect(),g=d-(m.left+window.scrollX),v=f-(m.top+window.scrollY),h=Math.max(m.width,m.height);o.setState(function(y){return{rippleStyle:ao({},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:ao({},y.rippleStyle,{opacity:0,transform:"scale("+h/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=wz(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Lr.default.createElement("div",ao({},l,{className:("react-ripples "+a).trim(),style:Cz,onClick:this.onClick}),o,Lr.default.createElement("s",{style:s}))},n}(Lr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:Uu.number,color:Uu.string,onClick:Uu.func,className:Uu.string},t.defaultProps=ao({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},lm=globalThis&&globalThis.__assign||function(){return lm=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},lm.apply(this,arguments)},kz=function(e){return function(t){return Lr.default.createElement(e,lm({},t))}},Dw=kz(Ez());function nc({children:e,color:t="rgba(204,204,204,0.2)"}){return _(Dw,{during:1e3,color:t,children:_(He,{children:e})})}nc.displayName="Ripples";function ze({w:e="1rem",h:t="1rem",color:r=U("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return ne(L1,{w:e,h:t,viewBox:i,color:r,m:n,children:[ne("title",{children:["icon",a&&`-${a}`]}),o]})}function sm(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[_("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"}),_("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),_("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}sm.displayName="AcademicRecord";function um(e){return _(ze,L(R({},e),{children:ne("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("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"}),_("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"}),_("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"}),_("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"}),_("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"}),_("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"})]})}))}um.displayName="ArrowRight";function cm(e){return ne(ze,L(R({},e),{children:[ne("g",{clipPath:"url(#clip0)",children:[_("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:_("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),_("g",{mask:"url(#mask0)",children:_("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),_("defs",{children:_("clipPath",{id:"clip0",children:_("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}cm.displayName="ArrowRight";function fm(e){return ne(ze,L(R({},e),{children:[_("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),_("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"})]}))}fm.displayName="Certificate";function dm(e){return _(ze,L(R({},e),{children:_("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"})}))}dm.displayName="CircularCheck";function ic(e){return _(ze,L(R({},e),{children:_("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"})}))}ic.displayName="CircularInformation";function pm(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",children:[_("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"}),_("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}pm.displayName="Download";function vm(e){return _(ze,L(R({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:_("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"})}))}vm.displayName="GoAhead";function mm(e){return _(ze,L(R({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:_("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})}))}mm.displayName="GoBack";function hm(e){return ne(ze,L(R({},e),{w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[_("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"}),_("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"}),_("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"}),_("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"})]}))}hm.displayName="Multimedia";function zw({fill:e="#fff"}){return _("div",{className:"loaderAsync","data-testid":"loaderAsync",children:ne("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:[_("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}}"}}),_("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),_("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),_("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 gm(e){return _(ze,L(R({},e),{viewBox:"0 0 12 12",w:"12px",title:"profile",children:_("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"})}))}gm.displayName="Profile";function ym(e){return ne(ze,L(R({},e),{children:[_("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"}),_("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),_("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),_("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),_("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),_("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),_("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}ym.displayName="Schedule";function bm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),_("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),_("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"})]}))}bm.displayName="TinyAlertInfo";function xm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2165_6683)",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),_("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"})]}),_("defs",{children:_("clipPath",{id:"clip0_2165_6683",children:_("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}xm.displayName="TinyAlertError";function Sm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),_("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),_("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"})]}))}Sm.displayName="TinyAlertWarning";function wm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2191_1138)",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),_("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"})]}),_("defs",{children:_("clipPath",{id:"clip0_2191_1138",children:_("rect",{width:"12",height:"12",fill:"white"})})})]}))}wm.displayName="TinyAlertSuccess";function Cm(e){return _(ze,L(R({},e),{w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:_("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"})}))}Cm.displayName="Password";function Em(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[_("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"}),_("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"})]}))}Em.displayName="Pen";function km(e){return _(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:_("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"})}))}km.displayName="PlusSign";function Tm(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[_("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),_("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]}))}Tm.displayName="TrashCan";function Pm(e){return _(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:_("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"})}))}Pm.displayName="TextBubble";var Tz=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:sm,AlertInfo:um,ArrowRight:cm,Certificate:fm,CircularCheck:dm,CircularInformation:ic,Download:pm,GoAhead:vm,GoBack:mm,Multimedia:hm,Loader:zw,Profile:gm,Schedule:ym,TinyAlertInfo:bm,TinyAlertError:xm,TinyAlertWarning:Sm,TinyAlertSuccess:wm,Password:Cm,Pen:Em,PlusSign:km,TrashCan:Tm,TextBubble:Pm},Symbol.toStringTag,{value:"Module"}));function $w({status:e,text:t,margin:r="0"}){const n={success:{icon:_(wm,{}),text:"Success",bg:U("colors-alert-ice"),color:U("colors-neutral-darkCharcoal")},error:{icon:_(xm,{}),text:"Error",bg:U("colors-alert-veryLightPinkThree"),color:U("colors-neutral-darkCharcoal")},info:{icon:_(bm,{}),text:"Info",bg:U("colors-alert-veryLightBlue"),color:U("colors-neutral-darkCharcoal")},warning:{icon:_(Sm,{}),text:"Warning",bg:U("colors-alert-pale"),color:U("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:U("colors-main-blueGrey"),color:U("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:U("colors-main-ziggurat"),color:U("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:U("colors-neutral-cultured"),color:U("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:U("colors-neutral-white")}};return n[e]?ne(He,{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&&_(He,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),_(He,{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}$w.displayName="TinyAlert";function oc({bg:e,borderColorActive:t=[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],children:r,color:n=U("colors-neutral-white"),disabled:i=!1,fillLoader:o=U("colors-neutral-white"),isFullWidth:a=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:m=!1,type:g="button",tabIndex:v,id:h}){var A,O,$;let y=r!=null?r:null;!r&&!d&&!l&&(y="Button");const b=".75rem",x=f?"12px":U("radii-small"),C=(A=e==null?void 0:e.main)!=null?A:U("colors-main-deepSkyBlue"),P=m?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",E=!r&&(d!=null?d:l)?"onlyIcon":"";return _(He,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${a?"grid":"inline-flex!important"}`}},children:_(Dw,{color:P,children:_(Pv,{id:h,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:C,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:E,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:U("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:Y=>{!u&&!i&&(c==null||c(Y))},type:g,tabIndex:v,paddingTop:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingLeft:U(p==="regular"?"space-s":"space-xs"),paddingRight:U(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:a,rightIcon:d,spinner:_(zw,{fill:o}),_active:{bg:(O=e==null?void 0:e.main)!=null?O:U("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:($=e==null?void 0:e.hover)!=null?$:U("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:y})})})}oc.displayName="Btn";function Nw({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:d}){return _(oc,{id:d,disabled:t,isFullWidth:r,isLoading:o,leftIcon:n,m:i,onClick:a,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}Nw.displayName="BtnPrimary";function Vw({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:d}){return _(oc,{id:d,bg:{main:U("colors-main-veryLightBlue"),hover:U("colors-main-linkWater")},fillLoader:U("colors-main-deepSkyBlue"),borderColorActive:[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],color:U("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})}Vw.displayName="BtnSecondary";function jw({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:o="button",tabIndex:a,id:l,onClick:s}){var h;const u=U("colors-neutral-gray"),c=U("colors-main-deepSkyBlue"),d=U("colors-neutral-white"),f=n?U("colors-main-blueGrey"):c,p={ahead:_(vm,{color:f}),answer:_(Pm,{color:f}),back:_(mm,{color:f}),delete:_(Tm,{color:f}),download:_(pm,{color:f}),edit:_(Em,{color:f}),more:_(km,{color:f}),multimedia:_(hm,{color:f}),password:_(Cm,{color:f}),record:_(sm,{color:f}),noIcon:_(Dn,{})},m=(h=p[t])!=null?h:p.multimedia,g=r?m:void 0,v=r?void 0:m;return _(Pv,{id:l,type:o,tabIndex:a,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:U("space-xxs"),paddingBottom:U("space-xxs"),paddingLeft:U("space-xs"),paddingRight:U("space-xs"),color:u,rightIcon:g,leftIcon:v,m:i,onClick:s,_hover:{color:`${c}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},_focus:{boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${c}`},"@media (hover: none)":{color:`${u}`,"svg path":{fill:f}}}},children:e})}jw.displayName="BtnTertiary";function Hw({children:e,m:t="0",onClick:r,id:n}){return _(He,{as:"button",id:n,backgroundColor:"transparent",borderStyle:"none",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:U("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:U("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}Hw.displayName="BtnLink";const Pz=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom"})=>_(pz,{sx:{bg:U("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${U("colors-neutral-darkCharcoal")} !important`}},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:_("span",{children:e})}),_z=4;function Ww(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(ac);return ne(He,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:U("borders-light"),pos:"relative",children:[ne(He,{p:"1rem",children:[(i==null?void 0:i.id)!==_z&&_(sl,{bg:U("colors-neutral-white"),m:"0 0 .625rem 0",children:ne($u,{children:[_(gm,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&_(kS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((o,a)=>_(sl,{bg:o.id==="NEW"?U("colors-secondary-pumpkin"):void 0,children:o.text},a))})]}),r!==void 0&&r.length>0&&_(CS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:U("borders-light"),bg:U("colors-neutral-white"),overflow:"hidden",borderRadius:U("radii-small"),w:"6.25rem",children:_(e8,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Ww.displayName="Header";function _m({date:e}){return e==null||e.length===0?null:_(Yi,{fontSize:".75rem",color:U("colors-neutral-darkCharcoal"),m:"0",children:e})}_m.displayName="DateStatus";function Uw({type:e,progressValue:t=0}){switch(e){case"schedule":return _(ym,{});case"certificate":return _(fm,{});case"circularCheck":return _(dm,{});case"progress":return _(am,{value:t});case"circularInformation":return _(ic,{});case"info":return _(ic,{});default:return null}}const Oz=7;function Gw({progress:e,status:t}){return ne(Dn,{children:[ne($u,{children:[_(Uw,{type:e.icon,progressValue:e.progress}),_(Yi,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===Oz&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&_(sl,{size:"sm",bg:e.isApproved?U("colors-alert-jadeGreen"):U("colors-alert-red"),color:U("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Yw(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(ac);return n==null?null:ne(He,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&ne(O8,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?_(He,{h:".5rem",w:"1px",bg:U("colors-neutral-silverSand"),alignSelf:"center"}):_(Dn,{}),children:[_(_m,{date:t.init}),_(_m,{date:t.end})]}),_(g8,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),_($u,{mt:"1rem",justify:"space-between",children:_(Gw,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&_(C8,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:U("borders-light"),children:r.map((o,a)=>{var l;return ne(E8,{display:"flex",children:[_(Uw,{type:o.icon}),_(He,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?_(b8,{isExternal:!0,href:o.href,color:U("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):_(Yi,{m:"0",color:U("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}Yw.displayName="Section";const j={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"}]},Xw={noHabilitado:L(R({},j),{id:1,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:1,name:"noHabilitado"}),progress:L(R({},j.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:null,action:L(R({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:L(R({},j),{id:1,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:1,name:"noHabilitado"}),progress:L(R({},j.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:null,action:L(R({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:L(R({},j),{id:1,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:1,name:"noHabilitado"}),progress:L(R({},j.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:null,action:L(R({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:L(R({},j),{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:L(R({},j.status),{id:2,name:"preInscripcion"}),progress:L(R({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},j.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:L(R({},j),{id:3,hasFinanzeFreezed:!1,logo:"",status:L(R({},j.status),{id:2,name:"preInscripcion"}),progress:L(R({},j.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:L(R({},j),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:3,name:"inscripcion"}),progress:L(R({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},j.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:L(R({},j),{id:5,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:3,name:"inscripcion"}),progress:L(R({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},j.dateStatus),{hasDates:!0}),information:[],action:L(R({},j.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:L(R({},j),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},j.status),{id:4,name:"no disponible"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:L(R({},j),{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:L(R({},j.status),{id:4,name:"no disponible"}),progress:L(R({},j.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:L(R({},j.action),{enabled:!1}),labels:[]}),noDisponible3:L(R({},j),{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:L(R({},j.status),{id:4,name:"no disponible"}),progress:L(R({},j.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:L(R({},j.action),{enabled:!1}),labels:[]}),activado:L(R({},j),{id:8,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:5,name:"disponible"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:L(R({},j),{id:9,hasFinanzeFreezed:!1,logo:"",status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:L(R({},j),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:L(R({},j),{id:11,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:L(R({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:L(R({},j),{id:13,hasFinanzeFreezed:!0,status:L(R({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:L(R({},j),{id:14,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:L(R({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:8,name:"pendiente"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado:L(R({},j),{id:16,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:7,name:"QUALIFIED"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:L(R({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:L(R({},j.status),{id:7,name:"QUALIFIED"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:L(R({},j),{id:18,hasFinanzeFreezed:!1,logo:"",status:L(R({},j.status),{id:9,name:"terminado"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]})},Az=Object.keys(Xw).map(e=>Xw[e]),Kw=4,ul=(e,t=Kw)=>e||t!==Kw;function Fz(e=4){const t=e*Qw+qw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function Mz({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return _(ZD,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(_(a,{}));return w.useEffect(()=>{n&&s(_(a,{}))},[n]),ne(om,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,ne(XD,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[ne(qD,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[_(um,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),_(ez,{size:"md",color:U("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),_(QD,{p:"1rem 2rem 2rem 2rem",children:_(Yi,{align:"center",children:i.body})}),_(JD,{justifyContent:"center",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),p:"1rem",children:_(Pv,{onClick:r,color:U("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}om.displayName="Modal";function Zw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(ac),{isOpen:i,onOpen:o,onClose:a}=Oh(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:ne(CS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),children:[ul(t.enabled,r==null?void 0:r.id)?ne(Dn,{children:[n&&e?_(He,{color:U("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}):_(Yi,{color:U("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&_(cm,{color:U("colors-main-deepSkyBlue")})]}):_(Yi,{fontWeight:"500",lineHeight:"1.172rem",color:U("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&_(Mz,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}Zw.displayName="Footer";const ac=w.createContext({});function Rz({enabled:e,children:t}){return e?_(nc,{children:t}):_(Dn,{children:t})}function Om({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${U("colors-neutral-silverSand")}`};return _(ac.Provider,{value:e,children:_(R8,{as:"article",border:U("borders-light"),borderRadius:U("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:_(Rz,{enabled:ul((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:ne($u,{direction:"column",justify:"space-between",h:"100%",children:[ne(He,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&ul((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&_(TS,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),_(Ww,{}),_(Yw,{})]}),_(Zw,{modalPaymentText:t})]})})})})}Om.displayName="BoxTraditional";function Iz({enabled:e,children:t}){return e?_(nc,{children:t}):_(Dn,{children:t})}function Am({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,d,f,p,m;const o={large:"286px",small:"197px"};return _(Iz,{enabled:ul((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:ne(He,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:U("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)&&ul((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(d=r==null?void 0:r.Profile)==null?void 0:d.id)&&_(TS,{href:(f=r==null?void 0:r.action)==null?void 0:f.href,isExternal:(p=r==null?void 0:r.action)==null?void 0:p.targetBlank}),ne(He,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[_(He,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((g,v)=>g.icon==="certificate"?_(He,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",children:g.text},v):_(Dn,{}))]})]})})}Am.displayName="BoxImage";const Lz=({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:_(Om,R({},n)),TRADITIONAL_LANDSCAPE:_(Om,R({},n)),IMAGE_LARGE:_(Am,R({},i)),IMAGE_SMALL:_(Am,L(R({},i),{size:"small"}))}[e]},qw=1.25,Qw=17.8125;function Jw({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:_(He,{display:"grid",gridColumnGap:`${qw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Qw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>_(Lz,{data:i,type:n,modalPaymentText:t},i.id))})}Jw.displayName="CourseList",ae.Btn=oc,ae.BtnLink=Hw,ae.BtnPrimary=Nw,ae.BtnSecondary=Vw,ae.BtnTertiary=jw,ae.CourseList=Jw,ae.CourseStatus=Gw,ae.Icons=Tz,ae.Label=sl,ae.NewTooltip=Pz,ae.Progress=am,ae.Ripples=nc,ae.TinyAlert=$w,ae.dataFake=Az,ae.maxWidthCoursesList=Fz,ae.theme=xz,ae.vars=U,Object.defineProperties(ae,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
411
|
+
`},TD=0,no=[];function PD(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(TD++)[0],o=w.useState(function(){return Ew()})[0],a=w.useRef(e);w.useEffect(function(){a.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var g=[e.lockRef.current].concat((e.shards||[]).map(Aw)).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=w.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!a.current.allowPinchZoom;var h=Ju(g),y=r.current,b="deltaX"in g?g.deltaX:y[0]-h[0],x="deltaY"in g?g.deltaY:y[1]-h[1],C,P=g.target,E=Math.abs(b)>Math.abs(x)?"h":"v",A=Tw(E,P);if(!A)return!0;if(A?C=E:(C=E==="v"?"h":"v",A=Tw(E,P)),!A)return!1;if(!n.current&&"changedTouches"in g&&(b||x)&&(n.current=C),!C)return!0;var O=n.current||C;return CD(O,v,g,O==="h"?b:x,!0)},[]),s=w.useCallback(function(g){var v=g;if(!(!no.length||no[no.length-1]!==o)){var h="deltaY"in v?Ow(v):Ju(v),y=t.current.filter(function(C){return C.name===v.type&&C.target===v.target&&ED(C.delta,h)})[0];if(y&&y.should){v.preventDefault();return}if(!y){var b=(a.current.shards||[]).map(Aw).filter(Boolean).filter(function(C){return C.contains(v.target)}),x=b.length>0?l(v,b[0]):!a.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(g,v,h,y){var b={name:g,delta:v,target:h,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=w.useCallback(function(g){r.current=Ju(g),n.current=void 0},[]),d=w.useCallback(function(g){u(g.type,Ow(g),g.target,l(g,e.lockRef.current))},[]),f=w.useCallback(function(g){u(g.type,Ju(g),g.target,l(g,e.lockRef.current))},[]);w.useEffect(function(){return no.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,ro),document.addEventListener("touchmove",s,ro),document.addEventListener("touchstart",c,ro),function(){no=no.filter(function(g){return g!==o}),document.removeEventListener("wheel",s,ro),document.removeEventListener("touchmove",s,ro),document.removeEventListener("touchstart",c,ro)}},[]);var p=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(o,{styles:kD(i)}):null,p?w.createElement(yD,{gapMode:"margin"}):null)}var _D=dB(Cw,PD),Fw=w.forwardRef(function(e,t){return w.createElement(qu,to({},e,{ref:t,sideCar:_D}))});Fw.classNames=qu.classNames;var OD=Fw,AD=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},io=new WeakMap,ec=new WeakMap,tc={},nm=0,FD=function(e,t,r){t===void 0&&(t=AD(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];tc[r]||(tc[r]=new WeakMap);var i=tc[r],o=[],a=new Set,l=function(u){!u||a.has(u)||(a.add(u),l(u.parentNode))};n.forEach(l);var s=function(u){!u||n.indexOf(u)>=0||Array.prototype.forEach.call(u.children,function(c){if(a.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(io.get(c)||0)+1,m=(i.get(c)||0)+1;io.set(c,p),i.set(c,m),o.push(c),p===1&&f&&ec.set(c,!0),m===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),a.clear(),nm++,function(){o.forEach(function(u){var c=io.get(u)-1,d=i.get(u)-1;io.set(u,c),i.set(u,d),c||(ec.has(u)||u.removeAttribute("aria-hidden"),ec.delete(u)),d||u.removeAttribute(r)}),nm--,nm||(io=new WeakMap,io=new WeakMap,ec=new WeakMap,tc={})}};function Xn(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 De(){return De=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},De.apply(this,arguments)}var MD=["preset"],RD={slideInBottom:De({},mS,{custom:{offsetY:16,reverse:!0}}),slideInRight:De({},mS,{custom:{offsetX:16,reverse:!0}}),scale:De({},GI,{custom:{initialScale:.95,reverse:!0}}),none:{}},ID=re(Du.section),LD=w.forwardRef(function(e,t){var r=e.preset,n=Xn(e,MD),i=RD[r];return w.createElement(ID,De({ref:t},i,n))}),BD=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}(),im=new BD;function DD(e,t){M.useEffect(function(){return t&&im.add(e),function(){im.remove(e)}},[t,e])}function zD(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,d=e.onEsc,f=M.useRef(null),p=M.useRef(null),m=qC(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),g=m[0],v=m[1],h=m[2];$D(f,t&&u),DD(f,t);var y=M.useRef(null),b=M.useCallback(function(q){y.current=q.target},[]),x=M.useCallback(function(q){q.key==="Escape"&&(q.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),C=M.useState(!1),P=C[0],E=C[1],A=M.useState(!1),O=A[0],$=A[1],Y=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({role:"dialog"},q,{ref:yo(J,f),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":P?v:void 0,"aria-describedby":O?h:void 0,onClick:Ut(q.onClick,function(ue){return ue.stopPropagation()})})},[h,O,g,v,P]),X=M.useCallback(function(q){q.stopPropagation(),y.current===q.target&&(!im.isTopModal(f)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),G=M.useCallback(function(q,J){return q===void 0&&(q={}),J===void 0&&(J=null),De({},q,{ref:yo(J,p),onClick:Ut(q.onClick,X),onKeyDown:Ut(q.onKeyDown,x),onMouseDown:Ut(q.onMouseDown,b)})},[x,b,X]);return{isOpen:t,onClose:r,headerId:v,bodyId:h,setBodyMounted:$,setHeaderMounted:E,dialogRef:f,overlayRef:p,getDialogProps:Y,getDialogContainerProps:G}}function $D(e,t){var r=e.current;M.useEffect(function(){if(!(!e.current||!t))return FD(e.current)},[t,e,r])}var ND=["className","children","containerProps"],VD=["className","transition"],jD=["className"],HD=["className"],WD=["className"],UD=["onClick","className"],Mw=wn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),GD=Mw[0],Kn=Mw[1],om=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,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,m=t.onCloseComplete,g=r1("Modal",t),v=zD(t),h=De({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(GD,{value:h},w.createElement(WT,{value:g},w.createElement(Cv,{onExitComplete:m},h.isOpen&&w.createElement(va,r,n))))};om.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var YD=re(Du.div),XD=Fe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=Xn(e,ND),a=Kn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),d=Ge("chakra-modal__content",r),f=Li(),p=De({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=De({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),g=Kn(),v=g.motionPreset;return w.createElement(KD,null,w.createElement(re.div,De({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(LD,De({preset:v,className:d},u,{__css:p}),n)))});function KD(e){var t=Kn(),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,d=t.lockFocusAcrossFrames,f=pv(),p=f[0],m=f[1];return w.useEffect(function(){!p&&m&&setTimeout(m)},[p,m]),w.createElement(iD,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(OD,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var ZD=Fe(function(e,t){var r=e.className;e.transition;var n=Xn(e,VD),i=Ge("chakra-modal__overlay",r),o=Li(),a=De({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=Kn(),s=l.motionPreset,u=s==="none"?{}:WI;return w.createElement(YD,De({},u,{__css:a,ref:t,className:i},n))}),qD=Fe(function(e,t){var r=e.className,n=Xn(e,jD),i=Kn(),o=i.headerId,a=i.setHeaderMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ge("chakra-modal__header",r),s=Li(),u=De({flex:0},s.header);return w.createElement(re.header,De({ref:t,className:l,id:o},n,{__css:u}))}),QD=Fe(function(e,t){var r=e.className,n=Xn(e,HD),i=Kn(),o=i.bodyId,a=i.setBodyMounted;w.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ge("chakra-modal__body",r),s=Li();return w.createElement(re.div,De({ref:t,className:l,id:o},n,{__css:s.body}))}),JD=Fe(function(e,t){var r=e.className,n=Xn(e,WD),i=Ge("chakra-modal__footer",r),o=Li(),a=De({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return w.createElement(re.footer,De({ref:t},n,{__css:a,className:i}))}),ez=Fe(function(e,t){var r=e.onClick,n=e.className,i=Xn(e,UD),o=Kn(),a=o.onClose,l=Ge("chakra-modal__close-btn",n),s=Li();return w.createElement(v8,De({ref:t,__css:s.closeButton,className:l,onClick:Ut(r,function(u){u.stopPropagation(),a()})},i))});wn(),re(KI);function Rw(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 oo(){return oo=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},oo.apply(this,arguments)}var tz=ii({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),rz=ii({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});ii({"0%":{left:"-40%"},"100%":{left:"100%"}}),ii({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function nz(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=UC(r,n,i),u=function(){if(r!=null)return Br(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 iz=["size","isIndeterminate"],oz=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],Iw=function(t){return w.createElement(re.circle,oo({cx:50,cy:50,r:42,fill:"transparent"},t))},az=function(t){var r=t.size,n=t.isIndeterminate,i=Rw(t,iz);return w.createElement(re.svg,oo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?rz+" 2s linear infinite":void 0}},i))},lz=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,d=t.value,f=t.capIsRound,p=t.children,m=t.thickness,g=m===void 0?"10px":m,v=t.color,h=v===void 0?"#0078d4":v,y=t.trackColor,b=y===void 0?"#edebe9":y,x=t.isIndeterminate,C=Rw(t,oz),P=nz({min:s,max:a,value:d,valueText:u,getValueText:c,isIndeterminate:x}),E=x?void 0:((r=P.percent)!=null?r:0)*2.64,A=gC(E)?void 0:E+" "+(264-E),O=x?{css:{animation:tz+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},$={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(re.div,oo({className:"chakra-progress"},P.bind,C,{__css:$}),w.createElement(az,{size:i,isIndeterminate:x},w.createElement(Iw,{stroke:b,strokeWidth:g,className:"chakra-progress__track"}),w.createElement(Iw,oo({stroke:h,strokeWidth:g,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:P.value===0&&!x?0:void 0},O))),p)};re("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 Lw(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 sz={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]}}}},uz=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function cz(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,d=t.onOpen,f=t.onClose,p=t.placement,m=t.id,g=t.isOpen,v=t.defaultIsOpen,h=t.arrowSize,y=h===void 0?10:h,b=t.arrowShadowColor,x=t.arrowPadding,C=t.modifiers,P=t.isDisabled,E=t.gutter,A=t.offset,O=t.direction,$=Lw(t,uz),Y=Oh({isOpen:g,defaultIsOpen:v,onOpen:d,onClose:f}),X=Y.isOpen,G=Y.onOpen,q=Y.onClose,J=eB({enabled:X,placement:p,arrowPadding:x,modifiers:C,gutter:E,offset:A,direction:O}),ue=J.referenceRef,ce=J.getPopperProps,$e=J.getArrowInnerProps,Ce=J.getArrowProps,Ie=Dc(m,"tooltip"),I=w.useRef(null),N=w.useRef(),D=w.useRef(),z=w.useCallback(function(){P||(N.current=window.setTimeout(G,n))},[P,G,n]),V=w.useCallback(function(){N.current&&clearTimeout(N.current),D.current=window.setTimeout(q,o)},[o,q]),te=w.useCallback(function(){l&&V()},[l,V]),ye=w.useCallback(function(){s&&V()},[s,V]),Ee=w.useCallback(function(be){X&&be.key==="Escape"&&V()},[X,V]);Ph("keydown",c?Ee:void 0),w.useEffect(function(){return function(){clearTimeout(N.current),clearTimeout(D.current)}},[]),Ph("mouseleave",V,function(){return I.current});var We=w.useCallback(function(be,lt){be===void 0&&(be={}),lt===void 0&&(lt=null);var Ht=tr({},be,{ref:yo(I,lt,ue),onMouseEnter:Ut(be.onMouseEnter,z),onClick:Ut(be.onClick,te),onMouseDown:Ut(be.onMouseDown,ye),onFocus:Ut(be.onFocus,z),onBlur:Ut(be.onBlur,V),"aria-describedby":X?Ie:void 0});return Ht},[z,V,ye,X,Ie,te,ue]),bn=w.useCallback(function(be,lt){var Ht;return be===void 0&&(be={}),lt===void 0&&(lt=null),ce(tr({},be,{style:tr({},be.style,(Ht={},Ht[et.arrowSize.var]=y?Bl(y):void 0,Ht[et.arrowShadowColor.var]=b,Ht))}),lt)},[ce,y,b]),qn=w.useCallback(function(be,lt){be===void 0&&(be={}),lt===void 0&&(lt=null);var Ht=tr({ref:lt},$,be,{id:Ie,role:"tooltip",style:tr({},be.style,{position:"relative",transformOrigin:et.transformOrigin.varRef})});return Ht},[$,Ie]);return{isOpen:X,show:z,hide:V,getTriggerProps:We,getTooltipProps:qn,getTooltipPositionerProps:bn,getArrowProps:Ce,getArrowInnerProps:$e}}var fz=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],dz=re(Du.div),pz=Fe(function(e,t){var r,n,i=an("Tooltip",e),o=on(e),a=e1(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],d=o.hasArrow,f=o.bg,p=o.portalProps,m=o.background,g=o.backgroundColor,v=o.bgColor,h=Lw(o,fz),y=(r=(n=m!=null?m:g)!=null?n:f)!=null?r:v;y&&(i.bg=y,i[et.arrowBg.var]=wC(a,"colors",y));var b=cz(tr({},h,{direction:a.direction})),x=Ml(l)||u,C;if(x)C=w.createElement(re.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var P=w.Children.only(l);C=w.cloneElement(P,b.getTriggerProps(P.props,P.ref))}var E=!!c,A=b.getTooltipProps({},t),O=E?Rl(A,["role","id"]):A,$=mh(A,["role","id"]);return s?w.createElement(w.Fragment,null,C,w.createElement(Cv,null,b.isOpen&&w.createElement(va,p,w.createElement(re.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),w.createElement(dz,tr({variants:sz},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,E&&w.createElement(bS,$,c),d&&w.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},w.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):w.createElement(w.Fragment,null,l)}),vz=tP;vz.defaultProps={theme:R1};function mz(){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 KA(i)&&n.length>1?n=n.slice(0,n.length-1):i=R1,NC.apply(void 0,n.map(function(o){return function(a){return Br(o)?o(a):hz(a,o)}}))(i)}function hz(){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,[Bw]))}function Bw(e,t,r,n){if((Br(e)||Br(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Br(e)?e.apply(void 0,arguments):e,o=Br(t)?t.apply(void 0,arguments):t;return Ot({},i,o,Bw)}}const rc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Zn={main:rc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:rc.deepSkyBlue,veryLightBlue:rc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:rc.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"}},gz={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"}})},ll="solid .063rem",yz={borders:{normal:`${ll} ${Zn.neutral.darkCharcoal}`,light:`${ll} ${Zn.neutral.platinum}`,active:`${ll} ${Zn.main.deepSkyBlue}`,success:`${ll} ${Zn.alert.jadeGreen}`,error:`${ll} ${Zn.alert.red}`,white:`solid .125rem ${Zn.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 q$="",Q$="",J$="",e9="",t9="";const bz={fonts:{body:"Roboto",outstanding:"Lora"}},xz=mz(L(R(R({colors:Zn},yz),bz),{styles:gz})),U=e=>`var(--chakra-${e})`;function sl({children:e,bg:t=U("colors-icon-ripeMango"),color:r=U("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 _(He,{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})}sl.displayName="Label";function am({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),_(lz,{size:"1rem",value:t,thickness:"1rem",color:U("colors-main-deepSkyBlue"),trackColor:U("colors-neutral-platinum")})}am.displayName="Progress";var Sz=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)}}(),ao=globalThis&&globalThis.__assign||function(){return ao=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},ao.apply(this,arguments)},wz=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},Cz={position:"relative",display:"inline-flex",overflow:"hidden"},Ez=function(e){e===void 0&&(e={});var t;return t=function(r){Sz(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 d=a.pageX,f=a.pageY,p=a.currentTarget,m=p.getBoundingClientRect(),g=d-(m.left+window.scrollX),v=f-(m.top+window.scrollY),h=Math.max(m.width,m.height);o.setState(function(y){return{rippleStyle:ao({},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:ao({},y.rippleStyle,{opacity:0,transform:"scale("+h/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=wz(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Lr.default.createElement("div",ao({},l,{className:("react-ripples "+a).trim(),style:Cz,onClick:this.onClick}),o,Lr.default.createElement("s",{style:s}))},n}(Lr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:Uu.number,color:Uu.string,onClick:Uu.func,className:Uu.string},t.defaultProps=ao({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},lm=globalThis&&globalThis.__assign||function(){return lm=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},lm.apply(this,arguments)},kz=function(e){return function(t){return Lr.default.createElement(e,lm({},t))}},Dw=kz(Ez());function nc({children:e,color:t="rgba(204,204,204,0.2)"}){return _(Dw,{during:1e3,color:t,children:_(He,{children:e})})}nc.displayName="Ripples";function ze({w:e="1rem",h:t="1rem",color:r=U("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return ne(L1,{w:e,h:t,viewBox:i,color:r,m:n,children:[ne("title",{children:["icon",a&&`-${a}`]}),o]})}function sm(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[_("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"}),_("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),_("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}sm.displayName="AcademicRecord";function um(e){return _(ze,L(R({},e),{children:ne("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("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"}),_("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"}),_("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"}),_("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"}),_("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"}),_("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"})]})}))}um.displayName="ArrowRight";function cm(e){return ne(ze,L(R({},e),{children:[ne("g",{clipPath:"url(#clip0)",children:[_("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:_("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),_("g",{mask:"url(#mask0)",children:_("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),_("defs",{children:_("clipPath",{id:"clip0",children:_("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}cm.displayName="ArrowRight";function fm(e){return ne(ze,L(R({},e),{children:[_("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),_("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"})]}))}fm.displayName="Certificate";function dm(e){return _(ze,L(R({},e),{children:_("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"})}))}dm.displayName="CircularCheck";function ic(e){return _(ze,L(R({},e),{children:_("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"})}))}ic.displayName="CircularInformation";function pm(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",children:[_("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"}),_("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]}))}pm.displayName="Download";function vm(e){return _(ze,L(R({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:_("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"})}))}vm.displayName="GoAhead";function mm(e){return _(ze,L(R({},e),{w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:_("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})}))}mm.displayName="GoBack";function hm(e){return ne(ze,L(R({},e),{w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[_("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"}),_("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"}),_("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"}),_("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"})]}))}hm.displayName="Multimedia";function zw({fill:e="#fff"}){return _("div",{className:"loaderAsync","data-testid":"loaderAsync",children:ne("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:[_("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}}"}}),_("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),_("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),_("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 gm(e){return _(ze,L(R({},e),{viewBox:"0 0 12 12",w:"12px",title:"profile",children:_("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"})}))}gm.displayName="Profile";function ym(e){return ne(ze,L(R({},e),{children:[_("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"}),_("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),_("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),_("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),_("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),_("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),_("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}ym.displayName="Schedule";function bm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),_("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),_("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"})]}))}bm.displayName="TinyAlertInfo";function xm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2165_6683)",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),_("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"})]}),_("defs",{children:_("clipPath",{id:"clip0_2165_6683",children:_("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}xm.displayName="TinyAlertError";function Sm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),_("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),_("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"})]}))}Sm.displayName="TinyAlertWarning";function wm(e){return ne(ze,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ne("g",{clipPath:"url(#clip0_2191_1138)",children:[_("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),_("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"})]}),_("defs",{children:_("clipPath",{id:"clip0_2191_1138",children:_("rect",{width:"12",height:"12",fill:"white"})})})]}))}wm.displayName="TinyAlertSuccess";function Cm(e){return _(ze,L(R({},e),{w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:_("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"})}))}Cm.displayName="Password";function Em(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[_("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"}),_("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"})]}))}Em.displayName="Pen";function km(e){return _(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:_("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"})}))}km.displayName="PlusSign";function Tm(e){return ne(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[_("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),_("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]}))}Tm.displayName="TrashCan";function Pm(e){return _(ze,L(R({},e),{w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:_("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"})}))}Pm.displayName="TextBubble";var Tz=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:sm,AlertInfo:um,ArrowRight:cm,Certificate:fm,CircularCheck:dm,CircularInformation:ic,Download:pm,GoAhead:vm,GoBack:mm,Multimedia:hm,Loader:zw,Profile:gm,Schedule:ym,TinyAlertInfo:bm,TinyAlertError:xm,TinyAlertWarning:Sm,TinyAlertSuccess:wm,Password:Cm,Pen:Em,PlusSign:km,TrashCan:Tm,TextBubble:Pm},Symbol.toStringTag,{value:"Module"}));function $w({status:e,text:t,margin:r="0"}){const n={success:{icon:_(wm,{}),text:"Success",bg:U("colors-alert-ice"),color:U("colors-neutral-darkCharcoal")},error:{icon:_(xm,{}),text:"Error",bg:U("colors-alert-veryLightPinkThree"),color:U("colors-neutral-darkCharcoal")},info:{icon:_(bm,{}),text:"Info",bg:U("colors-alert-veryLightBlue"),color:U("colors-neutral-darkCharcoal")},warning:{icon:_(Sm,{}),text:"Warning",bg:U("colors-alert-pale"),color:U("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:U("colors-main-blueGrey"),color:U("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:U("colors-main-ziggurat"),color:U("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:U("colors-neutral-cultured"),color:U("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:U("colors-neutral-white")}};return n[e]?ne(He,{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&&_(He,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),_(He,{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}$w.displayName="TinyAlert";function oc({bg:e,borderColorActive:t=[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],children:r,color:n=U("colors-neutral-white"),disabled:i=!1,fillLoader:o=U("colors-neutral-white"),isFullWidth:a=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:m=!1,type:g="button",tabIndex:v,id:h}){var A,O,$;let y=r!=null?r:null;!r&&!d&&!l&&(y="Button");const b=".75rem",x=f?"12px":U("radii-small"),C=(A=e==null?void 0:e.main)!=null?A:U("colors-main-deepSkyBlue"),P=m?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",E=!r&&(d!=null?d:l)?"onlyIcon":"";return _(He,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${a?"grid":"inline-flex!important"}`}},children:_(Dw,{color:P,children:_(Pv,{id:h,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:C,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:E,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:U("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:Y=>{!u&&!i&&(c==null||c(Y))},type:g,tabIndex:v,paddingTop:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:U(E?"space-xs":"space-xxs"),paddingLeft:U(p==="regular"?"space-s":"space-xs"),paddingRight:U(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:a,rightIcon:d,spinner:_(zw,{fill:o}),_active:{bg:(O=e==null?void 0:e.main)!=null?O:U("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:($=e==null?void 0:e.hover)!=null?$:U("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:y})})})}oc.displayName="Btn";function Nw({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:d}){return _(oc,{id:d,disabled:t,isFullWidth:r,isLoading:o,leftIcon:n,m:i,onClick:a,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}Nw.displayName="BtnPrimary";function Vw({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:d}){return _(oc,{id:d,bg:{main:U("colors-main-veryLightBlue"),hover:U("colors-main-linkWater")},fillLoader:U("colors-main-deepSkyBlue"),borderColorActive:[U("colors-main-deepSkyBlue"),U("colors-neutral-white")],color:U("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})}Vw.displayName="BtnSecondary";function jw({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:o="button",tabIndex:a,id:l,onClick:s}){var h;const u=U("colors-neutral-gray"),c=U("colors-main-deepSkyBlue"),d=U("colors-neutral-white"),f=n?U("colors-main-blueGrey"):c,p={ahead:_(vm,{color:f}),answer:_(Pm,{color:f}),back:_(mm,{color:f}),delete:_(Tm,{color:f}),download:_(pm,{color:f}),edit:_(Em,{color:f}),more:_(km,{color:f}),multimedia:_(hm,{color:f}),password:_(Cm,{color:f}),record:_(sm,{color:f}),noIcon:_(Dn,{})},m=(h=p[t])!=null?h:p.multimedia,g=r?m:void 0,v=r?void 0:m;return _(Pv,{id:l,type:o,tabIndex:a,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:U("space-xxs"),paddingBottom:U("space-xxs"),paddingLeft:U("space-xs"),paddingRight:U("space-xs"),color:u,rightIcon:g,leftIcon:v,m:i,onClick:s,_hover:{color:`${c}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},_focus:{boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${c}`},"@media (hover: none)":{color:`${u}`,"svg path":{fill:f}}}},children:e})}jw.displayName="BtnTertiary";function Hw({children:e,m:t="0",onClick:r,id:n}){return _(He,{as:"button",id:n,backgroundColor:"transparent",borderStyle:"none",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:U("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:U("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}Hw.displayName="BtnLink";const Pz=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom"})=>_(pz,{sx:{bg:U("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${U("colors-neutral-darkCharcoal")} !important`}},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:_("span",{children:e})}),_z=4;function Ww(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(ac);return ne(He,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:U("borders-light"),pos:"relative",children:[ne(He,{p:"1rem",children:[(i==null?void 0:i.id)!==_z&&_(sl,{bg:U("colors-neutral-white"),m:"0 0 .625rem 0",children:ne($u,{children:[_(gm,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&_(kS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((o,a)=>_(sl,{bg:o.id==="NEW"?U("colors-secondary-pumpkin"):void 0,children:o.text},a))})]}),r!==void 0&&r.length>0&&_(CS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:U("borders-light"),bg:U("colors-neutral-white"),overflow:"hidden",borderRadius:U("radii-small"),w:"6.25rem",children:_(e8,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Ww.displayName="Header";function _m({date:e}){return e==null||e.length===0?null:_(Yi,{fontSize:".75rem",color:U("colors-neutral-darkCharcoal"),m:"0",children:e})}_m.displayName="DateStatus";function Uw({type:e,progressValue:t=0}){switch(e){case"schedule":return _(ym,{});case"certificate":return _(fm,{});case"circularCheck":return _(dm,{});case"progress":return _(am,{value:t});case"circularInformation":return _(ic,{});case"info":return _(ic,{});default:return null}}const Oz=7;function Gw({progress:e,status:t}){return ne(Dn,{children:[ne($u,{children:[_(Uw,{type:e.icon,progressValue:e.progress}),_(Yi,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===Oz&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&_(sl,{size:"sm",bg:e.isApproved?U("colors-alert-jadeGreen"):U("colors-alert-red"),color:U("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Yw(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(ac);return n==null?null:ne(He,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&ne(O8,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?_(He,{h:".5rem",w:"1px",bg:U("colors-neutral-silverSand"),alignSelf:"center"}):_(Dn,{}),children:[_(_m,{date:t.init}),_(_m,{date:t.end})]}),_(g8,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),_($u,{mt:"1rem",justify:"space-between",children:_(Gw,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&_(C8,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:U("borders-light"),children:r.map((o,a)=>{var l;return ne(E8,{display:"flex",children:[_(Uw,{type:o.icon}),_(He,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?_(b8,{isExternal:!0,href:o.href,color:U("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):_(Yi,{m:"0",color:U("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}Yw.displayName="Section";const j={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"}]},Xw={noHabilitado:L(R({},j),{id:1,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:1,name:"noHabilitado"}),progress:L(R({},j.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:null,action:L(R({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:L(R({},j),{id:1,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:1,name:"noHabilitado"}),progress:L(R({},j.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:null,action:L(R({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:L(R({},j),{id:1,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:1,name:"noHabilitado"}),progress:L(R({},j.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:null,action:L(R({},j.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:L(R({},j),{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:L(R({},j.status),{id:2,name:"preInscripcion"}),progress:L(R({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},j.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:L(R({},j),{id:3,hasFinanzeFreezed:!1,logo:"",status:L(R({},j.status),{id:2,name:"preInscripcion"}),progress:L(R({},j.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:L(R({},j),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:3,name:"inscripcion"}),progress:L(R({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},j.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},j.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:L(R({},j),{id:5,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:3,name:"inscripcion"}),progress:L(R({},j.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},j.dateStatus),{hasDates:!0}),information:[],action:L(R({},j.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:L(R({},j),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},j.status),{id:4,name:"no disponible"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:L(R({},j),{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:L(R({},j.status),{id:4,name:"no disponible"}),progress:L(R({},j.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:L(R({},j.action),{enabled:!1}),labels:[]}),noDisponible3:L(R({},j),{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:L(R({},j.status),{id:4,name:"no disponible"}),progress:L(R({},j.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:L(R({},j.action),{enabled:!1}),labels:[]}),activado:L(R({},j),{id:8,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:5,name:"disponible"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:L(R({},j),{id:9,hasFinanzeFreezed:!1,logo:"",status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:L(R({},j),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:L(R({},j),{id:11,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:L(R({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:6,name:"sinEstudiar"}),progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:L(R({},j),{id:13,hasFinanzeFreezed:!0,status:L(R({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:L(R({},j.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:L(R({},j.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:L(R({},j),{id:14,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:L(R({},j),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:8,name:"pendiente"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado:L(R({},j),{id:16,hasFinanzeFreezed:!1,status:L(R({},j.status),{id:7,name:"QUALIFIED"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:L(R({},j),{logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:L(R({},j.status),{id:7,name:"QUALIFIED"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:L(R({},j),{id:18,hasFinanzeFreezed:!1,logo:"",status:L(R({},j.status),{id:9,name:"terminado"}),progress:L(R({},j.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:L(R({},j.action),{text:"Ir a mi curso"}),labels:[]})},Az=Object.keys(Xw).map(e=>Xw[e]),Kw=4,ul=(e,t=Kw)=>e||t!==Kw;function Fz(e=4){const t=e*Qw+qw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function Mz({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return _(ZD,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(_(a,{}));return w.useEffect(()=>{n&&s(_(a,{}))},[n]),ne(om,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,ne(XD,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[ne(qD,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[_(um,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),_(ez,{size:"md",color:U("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),_(QD,{p:"1rem 2rem 2rem 2rem",children:_(Yi,{align:"center",children:i.body})}),_(JD,{justifyContent:"center",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),p:"1rem",children:_(Pv,{onClick:r,color:U("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}om.displayName="Modal";function Zw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(ac),{isOpen:i,onOpen:o,onClose:a}=Oh(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:ne(CS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:U("colors-neutral-platinum"),children:[ul(t.enabled,r==null?void 0:r.id)?ne(Dn,{children:[n&&e?_(He,{color:U("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}):_(Yi,{color:U("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&_(cm,{color:U("colors-main-deepSkyBlue")})]}):_(Yi,{fontWeight:"500",lineHeight:"1.172rem",color:U("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&_(Mz,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}Zw.displayName="Footer";const ac=w.createContext({});function Rz({enabled:e,children:t}){return e?_(nc,{children:t}):_(Dn,{children:t})}function Om({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${U("colors-neutral-silverSand")}`};return _(ac.Provider,{value:e,children:_(R8,{as:"article",border:U("borders-light"),borderRadius:U("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:_(Rz,{enabled:ul((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:ne($u,{direction:"column",justify:"space-between",h:"100%",children:[ne(He,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&ul((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&_(TS,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),_(Ww,{}),_(Yw,{})]}),_(Zw,{modalPaymentText:t})]})})})})}Om.displayName="BoxTraditional";function Iz({enabled:e,children:t}){return e?_(nc,{children:t}):_(Dn,{children:t})}function Am({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,d,f,p,m;const o={large:"286px",small:"197px"};return _(Iz,{enabled:ul((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:ne(He,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:U("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)&&ul((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(d=r==null?void 0:r.Profile)==null?void 0:d.id)&&_(TS,{href:(f=r==null?void 0:r.action)==null?void 0:f.href,isExternal:(p=r==null?void 0:r.action)==null?void 0:p.targetBlank}),ne(He,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[_(He,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((g,v)=>g.icon==="certificate"?_(He,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:g.text},v):_(Dn,{}))]})]})})}Am.displayName="BoxImage";const Lz=({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:_(Om,R({},n)),TRADITIONAL_LANDSCAPE:_(Om,R({},n)),IMAGE_LARGE:_(Am,R({},i)),IMAGE_SMALL:_(Am,L(R({},i),{size:"small"}))}[e]},qw=1.25,Qw=17.8125;function Jw({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:_(He,{display:"grid",gridColumnGap:`${qw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Qw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>_(Lz,{data:i,type:n,modalPaymentText:t},i.id))})}Jw.displayName="CourseList",ae.Btn=oc,ae.BtnLink=Hw,ae.BtnPrimary=Nw,ae.BtnSecondary=Vw,ae.BtnTertiary=jw,ae.CourseList=Jw,ae.CourseStatus=Gw,ae.Icons=Tz,ae.Label=sl,ae.NewTooltip=Pz,ae.Progress=am,ae.Ripples=nc,ae.TinyAlert=$w,ae.dataFake=Az,ae.maxWidthCoursesList=Fz,ae.theme=xz,ae.vars=U,Object.defineProperties(ae,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
412
412
|
//# sourceMappingURL=eclass-ui-kit.umd.js.map
|