@eclass/ui-kit 1.9.1 → 1.9.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
|
`},mL=function(e){var t=w.useState(LS(e.gapMode)),r=t[0],n=t[1];w.useEffect(function(){n(LS(e.gapMode))},[e.gapMode]);var i=e.noRelative,a=e.noImportant,o=e.gapMode,l=o===void 0?"margin":o;return w.createElement(vL,{styles:hL(r,!i,l,a?"":"!important")})},gL=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},yL=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},zS=function(e,t){var r=t;do{var n=BS(e,r);if(n){var i=DS(e,r),a=i[1],o=i[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},bL=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},SL=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},BS=function(e,t){return e==="v"?gL(t):yL(t)},DS=function(e,t){return e==="v"?bL(t):SL(t)},xL=function(e,t,r,n,i){var a=n,o=r.target,l=t.contains(o),s=!1,u=a>0,c=0,d=0;do{var f=DS(e,o),p=f[0],m=f[1],y=f[2],v=m-y-p;(p||v)&&BS(e,o)&&(c+=v,d+=p),o=o.parentNode}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(u&&(i&&c===0||!i&&a>c)||!u&&(i&&d===0||!i&&-a>d))&&(s=!0),s},ev=!1;if(typeof window!="undefined")try{var su=Object.defineProperty({},"passive",{get:function(){return ev=!0,!0}});window.addEventListener("test",su,su),window.removeEventListener("test",su,su)}catch{ev=!1}var Oi=ev?{passive:!1}:!1,uu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$S=function(e){return[e.deltaX,e.deltaY]},NS=function(e){return e&&"current"in e?e.current:e},wL=function(e,t){return e[0]===t[0]&&e[1]===t[1]},CL=function(e){return`
|
|
409
409
|
.block-interactivity-`+e+` {pointer-events: none;}
|
|
410
410
|
.allow-interactivity-`+e+` {pointer-events: all;}
|
|
411
|
-
`},EL=0,Mi=[];function kL(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(EL++)[0],a=w.useState(function(){return RS()})[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(NS)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!o.current.allowPinchZoom;var h=uu(y),g=r.current,S="deltaX"in y?y.deltaX:g[0]-h[0],x="deltaY"in y?y.deltaY:g[1]-h[1],k,_=y.target,T=Math.abs(S)>Math.abs(x)?"h":"v",F=zS(T,_);if(!F)return!0;if(F?k=T:(k=T==="v"?"h":"v",F=zS(T,_)),!F)return!1;if(!n.current&&"changedTouches"in y&&(S||x)&&(n.current=k),!k)return!0;var A=n.current||k;return xL(A,v,y,A==="h"?S:x,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!Mi.length||Mi[Mi.length-1]!==a)){var h="deltaY"in v?$S(v):uu(v),g=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&wL(k.delta,h)})[0];if(g&&g.should){v.preventDefault();return}if(!g){var S=(o.current.shards||[]).map(NS).filter(Boolean).filter(function(k){return k.contains(v.target)}),x=S.length>0?l(v,S[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,h,g){var S={name:y,delta:v,target:h,should:g};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(x){return x!==S})},1)},[]),c=w.useCallback(function(y){r.current=uu(y),n.current=void 0},[]),d=w.useCallback(function(y){u(y.type,$S(y),y.target,l(y,e.lockRef.current))},[]),f=w.useCallback(function(y){u(y.type,uu(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return Mi.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Oi),document.addEventListener("touchmove",s,Oi),document.addEventListener("touchstart",c,Oi),function(){Mi=Mi.filter(function(y){return y!==a}),document.removeEventListener("wheel",s,Oi),document.removeEventListener("touchmove",s,Oi),document.removeEventListener("touchstart",c,Oi)}},[]);var p=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(a,{styles:CL(i)}):null,p?w.createElement(mL,{gapMode:"margin"}):null)}var TL=c6(IS,kL),VS=w.forwardRef(function(e,t){return w.createElement(lu,Fi({},e,{ref:t,sideCar:TL}))});VS.classNames=lu.classNames;var _L=VS,PL=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ii=new WeakMap,cu=new WeakMap,fu={},tv=0,AL=function(e,t,r){t===void 0&&(t=PL(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];fu[r]||(fu[r]=new WeakMap);var i=fu[r],a=[],o=new Set,l=function(u){!u||o.has(u)||(o.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(o.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(Ii.get(c)||0)+1,m=(i.get(c)||0)+1;Ii.set(c,p),i.set(c,m),a.push(c),p===1&&f&&cu.set(c,!0),m===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),o.clear(),tv++,function(){a.forEach(function(u){var c=Ii.get(u)-1,d=i.get(u)-1;Ii.set(u,c),i.set(u,d),c||(cu.has(u)||u.removeAttribute("aria-hidden"),cu.delete(u)),d||u.removeAttribute(r)}),tv--,tv||(Ii=new WeakMap,Ii=new WeakMap,cu=new WeakMap,fu={})}};function Pn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Fe(){return Fe=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},Fe.apply(this,arguments)}var FL=["preset"],OL={slideInBottom:Fe({},Kb,{custom:{offsetY:16,reverse:!0}}),slideInRight:Fe({},Kb,{custom:{offsetX:16,reverse:!0}}),scale:Fe({},uR,{custom:{initialScale:.95,reverse:!0}}),none:{}},ML=ee(Pp.section),IL=w.forwardRef(function(e,t){var r=e.preset,n=Pn(e,FL),i=OL[r];return w.createElement(ML,Fe({ref:t},i,n))}),RL=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}(),rv=new RL;function LL(e,t){O.useEffect(function(){return t&&rv.add(e),function(){rv.remove(e)}},[t,e])}function zL(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=O.useRef(null),p=O.useRef(null),m=d2(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],h=m[2];BL(f,t&&u),LL(f,t);var g=O.useRef(null),S=O.useCallback(function(Z){g.current=Z.target},[]),x=O.useCallback(function(Z){Z.key==="Escape"&&(Z.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),k=O.useState(!1),_=k[0],T=k[1],F=O.useState(!1),A=F[0],W=F[1],J=O.useCallback(function(Z,re){return Z===void 0&&(Z={}),re===void 0&&(re=null),Fe({role:"dialog"},Z,{ref:ih(re,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":A?h:void 0,onClick:Dn(Z.onClick,function(Re){return Re.stopPropagation()})})},[h,A,y,v,_]),K=O.useCallback(function(Z){Z.stopPropagation(),g.current===Z.target&&(!rv.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),X=O.useCallback(function(Z,re){return Z===void 0&&(Z={}),re===void 0&&(re=null),Fe({},Z,{ref:ih(re,p),onClick:Dn(Z.onClick,K),onKeyDown:Dn(Z.onKeyDown,x),onMouseDown:Dn(Z.onMouseDown,S)})},[x,S,K]);return{isOpen:t,onClose:r,headerId:v,bodyId:h,setBodyMounted:W,setHeaderMounted:T,dialogRef:f,overlayRef:p,getDialogProps:J,getDialogContainerProps:X}}function BL(e,t){var r=e.current;O.useEffect(function(){if(!(!e.current||!t))return AL(e.current)},[t,e,r])}var DL=["className","children","containerProps"],$L=["className","transition"],NL=["className"],VL=["className"],jL=["className"],WL=["onClick","className"],jS=en({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),HL=jS[0],An=jS[1],nv=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=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,y=Rg("Modal",t),v=zL(t),h=Fe({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(HL,{value:h},w.createElement(lT,{value:y},w.createElement(Gb,{onExitComplete:m},h.isOpen&&w.createElement(as,r,n))))};nv.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var UL=ee(Pp.div),GL=Pe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Pn(e,DL),o=An(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=Be("chakra-modal__content",r),f=vi(),p=Fe({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Fe({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=An(),v=y.motionPreset;return w.createElement(YL,null,w.createElement(ee.div,Fe({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(IL,Fe({preset:v,className:d},u,{__css:p}),n)))});function YL(e){var t=An(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=bp(),p=f[0],m=f[1];return w.useEffect(function(){!p&&m&&setTimeout(m)},[p,m]),w.createElement(rL,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(_L,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var KL=Pe(function(e,t){var r=e.className;e.transition;var n=Pn(e,$L),i=Be("chakra-modal__overlay",r),a=vi(),o=Fe({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=An(),s=l.motionPreset,u=s==="none"?{}:lR;return w.createElement(UL,Fe({},u,{__css:o,ref:t,className:i},n))}),XL=Pe(function(e,t){var r=e.className,n=Pn(e,NL),i=An(),a=i.headerId,o=i.setHeaderMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Be("chakra-modal__header",r),s=vi(),u=Fe({flex:0},s.header);return w.createElement(ee.header,Fe({ref:t,className:l,id:a},n,{__css:u}))}),ZL=Pe(function(e,t){var r=e.className,n=Pn(e,VL),i=An(),a=i.bodyId,o=i.setBodyMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Be("chakra-modal__body",r),s=vi();return w.createElement(ee.div,Fe({ref:t,className:l,id:a},n,{__css:s.body}))}),qL=Pe(function(e,t){var r=e.className,n=Pn(e,jL),i=Be("chakra-modal__footer",r),a=vi(),o=Fe({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return w.createElement(ee.footer,Fe({ref:t},n,{__css:o,className:i}))}),QL=Pe(function(e,t){var r=e.onClick,n=e.className,i=Pn(e,WL),a=An(),o=a.onClose,l=Be("chakra-modal__close-btn",n),s=vi();return w.createElement(IR,Fe({ref:t,__css:s.closeButton,className:l,onClick:Dn(r,function(u){u.stopPropagation(),o()})},i))});en(),ee(dR);function WS(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ri(){return Ri=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},Ri.apply(this,arguments)}var JL=zn({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),ez=zn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});zn({"0%":{left:"-40%"},"100%":{left:"100%"}}),zn({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function tz(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=o2(r,n,i),u=function(){if(r!=null)return Sr(o)?o(r,s):a};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 rz=["size","isIndeterminate"],nz=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],HS=function(t){return w.createElement(ee.circle,Ri({cx:50,cy:50,r:42,fill:"transparent"},t))},iz=function(t){var r=t.size,n=t.isIndeterminate,i=WS(t,rz);return w.createElement(ee.svg,Ri({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?ez+" 2s linear infinite":void 0}},i))},az=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,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,y=m===void 0?"10px":m,v=t.color,h=v===void 0?"#0078d4":v,g=t.trackColor,S=g===void 0?"#edebe9":g,x=t.isIndeterminate,k=WS(t,nz),_=tz({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=_.percent)!=null?r:0)*2.64,F=Mw(T)?void 0:T+" "+(264-T),A=x?{css:{animation:JL+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:F,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},W={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(ee.div,Ri({className:"chakra-progress"},_.bind,k,{__css:W}),w.createElement(iz,{size:i,isIndeterminate:x},w.createElement(HS,{stroke:S,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(HS,Ri({stroke:h,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:_.value===0&&!x?0:void 0},A))),p)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});var oz=yT;oz.defaultProps={theme:fy};function lz(){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 d4(i)&&n.length>1?n=n.slice(0,n.length-1):i=fy,t2.apply(void 0,n.map(function(a){return function(o){return Sr(a)?a(o):sz(o,a)}}))(i)}function sz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wt.apply(void 0,[{}].concat(t,[US]))}function US(e,t,r,n){if((Sr(e)||Sr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Sr(e)?e.apply(void 0,arguments):e,a=Sr(t)?t.apply(void 0,arguments):t;return wt({},i,a,US)}}const du={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Li={main:du,secondary:{pumpkin:"#FF7A14"},alert:{deepSkyBlue:du.deepSkyBlue,veryLightBlue:du.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:du.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"}},uz={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"}})},To="solid 1px",cz={borders:{normal:`${To} ${Li.neutral.silverSand}`,light:`${To} ${Li.neutral.platinum}`,active:`${To} ${Li.main.deepSkyBlue}`,success:`${To} ${Li.alert.jadeGreen}`,error:`${To} ${Li.alert.red}`},radii:{small:".25rem",big:".5rem",rounded:"50%"}};var UB="",GB="",YB="",KB="",XB="";const fz={fonts:{body:"Roboto",outstanding:"Lora"}},dz=lz(L(R(R({colors:Li},cz),fz),{styles:uz})),Q=e=>`var(--chakra-${e})`;function _o({children:e,bg:t=Q("colors-icon-ripeMango"),color:r=Q("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return I(gt,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}_o.displayName="Label";function iv({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),I(az,{size:"1rem",value:t,thickness:"1rem",color:Q("colors-main-deepSkyBlue"),trackColor:Q("colors-neutral-platinum")})}iv.displayName="Progress";var pz=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 a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},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)}}(),zi=globalThis&&globalThis.__assign||function(){return zi=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},zi.apply(this,arguments)},vz=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},hz={position:"relative",display:"inline-flex",overflow:"hidden"},mz=function(e){e===void 0&&(e={});var t;return t=function(r){pz(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,m=p.getBoundingClientRect(),y=d-(m.left+window.scrollX),v=f-(m.top+window.scrollY),h=Math.max(m.width,m.height);a.setState(function(g){return{rippleStyle:zi({},g.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(g){return{rippleStyle:zi({},g.rippleStyle,{opacity:0,transform:"scale("+h/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=vz(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return br.default.createElement("div",zi({},l,{className:("react-ripples "+o).trim(),style:hz,onClick:this.onClick}),a,br.default.createElement("s",{style:s}))},n}(br.default.PureComponent),t.displayName="Ripples",t.propTypes={during:tu.number,color:tu.string,onClick:tu.func,className:tu.string},t.defaultProps=zi({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},av=globalThis&&globalThis.__assign||function(){return av=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},av.apply(this,arguments)},gz=function(e){return function(t){return br.default.createElement(e,av({},t))}},yz=gz(mz());function ov({children:e,color:t="rgba(204,204,204,0.2)"}){return I(yz,{during:1e3,color:t,children:I(gt,{children:e})})}ov.displayName="Ripples";function Nt({w:e="1rem",h:t="1rem",color:r=Q("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a}){return I(py,{w:e,h:t,viewBox:i,color:r,m:n,children:a})}function GS(e){return I(Nt,L(R({},e),{children:ce("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[I("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"}),I("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"}),I("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"}),I("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"}),I("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"}),I("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"})]})}))}GS.displayName="ArrowRight";function YS(e){return ce(Nt,L(R({},e),{children:[ce("g",{clipPath:"url(#clip0)",children:[I("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:I("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),I("g",{mask:"url(#mask0)",children:I("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),I("defs",{children:I("clipPath",{id:"clip0",children:I("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}YS.displayName="ArrowRight";function KS(e){return ce(Nt,L(R({},e),{children:[I("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),I("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"})]}))}KS.displayName="Certificate";function XS(e){return I(Nt,L(R({},e),{children:I("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"})}))}XS.displayName="CircularCheck";function lv(e){return I(Nt,L(R({},e),{children:I("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"})}))}lv.displayName="CircularInformation";function ZS(e){return I(Nt,L(R({},e),{viewBox:"0 0 12 12",w:".625rem",h:".75rem",children:I("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"})}))}ZS.displayName="Profile";function qS(e){return ce(Nt,L(R({},e),{children:[I("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"}),I("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),I("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),I("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),I("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),I("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),I("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}qS.displayName="Schedule";function QS(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),I("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),I("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"})]}))}QS.displayName="TinyAlertInfo";function JS(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ce("g",{clipPath:"url(#clip0_2165_6683)",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),I("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"})]}),I("defs",{children:I("clipPath",{id:"clip0_2165_6683",children:I("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}JS.displayName="TinyAlertError";function ex(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),I("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),I("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"})]}))}ex.displayName="TinyAlertWarning";function tx(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ce("g",{clipPath:"url(#clip0_2191_1138)",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),I("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"})]}),I("defs",{children:I("clipPath",{id:"clip0_2191_1138",children:I("rect",{width:"12",height:"12",fill:"white"})})})]}))}tx.displayName="TinyAlertSuccess";function rx({status:e,text:t,margin:r="0"}){const n={success:{icon:I(tx,{}),text:"Success",bg:Q("colors-alert-ice"),color:Q("colors-neutral-darkCharcoal")},error:{icon:I(JS,{}),text:"Error",bg:Q("colors-alert-veryLightPinkThree"),color:Q("colors-neutral-darkCharcoal")},info:{icon:I(QS,{}),text:"Info",bg:Q("colors-alert-veryLightBlue"),color:Q("colors-neutral-darkCharcoal")},warning:{icon:I(ex,{}),text:"Warning",bg:Q("colors-alert-pale"),color:Q("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:Q("colors-main-blueGrey"),color:Q("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:Q("colors-main-ziggurat"),color:Q("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:Q("colors-neutral-cultured"),color:Q("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:Q("colors-neutral-white")}};return n[e]?ce(gt,{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",children:[n[e].icon&&I(gt,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),I(gt,{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}rx.displayName="TinyAlert";const bz=4;function nx(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(pu);return ce(gt,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:Q("borders-light"),pos:"relative",children:[ce(gt,{p:"1rem",children:[(i==null?void 0:i.id)!==bz&&I(_o,{bg:Q("colors-neutral-white"),m:"0 0 .625rem 0",children:ce(eu,{children:[I(ZS,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&I(nS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>I(_o,{bg:a.id==="NEW"?Q("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&I(tS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:Q("borders-light"),bg:Q("colors-neutral-white"),overflow:"hidden",borderRadius:Q("radii-small"),w:"6.25rem",children:I(gR,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}nx.displayName="Header";function sv({date:e}){return e==null||e.length===0?null:I(Ti,{fontSize:".75rem",color:Q("colors-neutral-darkCharcoal"),m:"0",children:e})}sv.displayName="DateStatus";function ix({type:e,progressValue:t=0}){switch(e){case"schedule":return I(qS,{});case"certificate":return I(KS,{});case"circularCheck":return I(XS,{});case"progress":return I(iv,{value:t});case"circularInformation":return I(lv,{});case"info":return I(lv,{});default:return null}}const Sz=7;function ax(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(pu);return n==null?null:ce(gt,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&ce(KR,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?I(gt,{h:".5rem",w:"1px",bg:Q("colors-neutral-silverSand"),alignSelf:"center"}):I(Yf,{}),children:[I(sv,{date:t.init}),I(sv,{date:t.end})]}),I(zR,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),ce(eu,{mt:"1rem",justify:"space-between",children:[ce(eu,{children:[I(ix,{type:n.icon,progressValue:n.progress}),I(Ti,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:n==null?void 0:n.label})]}),(i==null?void 0:i.id)===Sz&&(n==null?void 0:n.finalGrade)&&(n==null?void 0:n.finalGrade.length)>0&&I(_o,{size:"sm",bg:n.isApproved?Q("colors-alert-jadeGreen"):Q("colors-alert-red"),color:Q("colors-neutral-white"),children:n==null?void 0:n.finalGrade})]}),r!=null&&(r==null?void 0:r.length)>0&&I(jR,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:Q("borders-light"),children:r.map((a,o)=>{var l;return ce(WR,{display:"flex",children:[I(ix,{type:a.icon}),I(gt,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?I(DR,{isExternal:!0,href:a.href,color:Q("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):I(Ti,{m:"0",color:Q("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}ax.displayName="Section";const D={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"}]},ox={noHabilitado:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:L(R({},D),{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({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:L(R({},D),{id:3,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:L(R({},D),{id:5,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!0}),information:[],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:L(R({},D),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.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({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:L(R({},D),{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({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.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({},D.action),{enabled:!1}),labels:[]}),noDisponible3:L(R({},D),{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({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.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({},D.action),{enabled:!1}),labels:[]}),activado:L(R({},D),{id:8,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:5,name:"disponible"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:L(R({},D),{id:9,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:L(R({},D),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:L(R({},D),{id:11,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:L(R({},D),{id:13,hasFinanzeFreezed:!0,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:L(R({},D),{id:14,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:8,name:"pendiente"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado:L(R({},D),{id:16,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:L(R({},D),{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({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:L(R({},D),{id:18,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:9,name:"terminado"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]})},xz=Object.keys(ox).map(e=>ox[e]),lx=4,uv=(e,t=lx)=>e||t!==lx;function wz(e=4){const t=e*fx+cx*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function Cz({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return I(KL,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(I(o,{}));return w.useEffect(()=>{n&&s(I(o,{}))},[n]),ce(nv,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,ce(GL,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[ce(XL,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[I(GS,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),I(QL,{size:"md",color:Q("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),I(ZL,{p:"1rem 2rem 2rem 2rem",children:I(Ti,{align:"center",children:i.body})}),I(qL,{justifyContent:"center",borderTop:"1px solid",borderTopColor:Q("colors-neutral-platinum"),p:"1rem",children:I(AR,{onClick:r,color:Q("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}nv.displayName="Modal";function sx({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(pu),{isOpen:i,onOpen:a,onClose:o}=p2(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:ce(tS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:Q("colors-neutral-platinum"),children:[uv(t.enabled,r==null?void 0:r.id)?ce(Yf,{children:[n?I(gt,{color:Q("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(),children:t.text}):I(Ti,{color:Q("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&I(YS,{color:Q("colors-main-deepSkyBlue")})]}):I(Ti,{fontWeight:"500",lineHeight:"1.172rem",color:Q("colors-neutral-spanishGrey"),m:"0",children:t.text}),I(Cz,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}sx.displayName="Footer";const pu=w.createContext({});function Ez({enabled:e,children:t}){return e?I(ov,{children:t}):I(Yf,{children:t})}function ux({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${Q("colors-neutral-silverSand")}`};return I(pu.Provider,{value:e,children:I(JR,{as:"article",border:Q("borders-light"),borderRadius:Q("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:I(Ez,{enabled:uv((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:ce(eu,{direction:"column",justify:"space-between",h:"100%",children:[ce(gt,{children:[!e.hasFinanzeFreezed&&uv((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&I(QR,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),I(nx,{}),I(ax,{})]}),I(sx,{modalPaymentText:t})]})})})})}ux.displayName="CourseBox";const cx=1.25,fx=17.8125;function dx({courses:e,modalPaymentText:t,m:r="0 auto"}){return e===void 0?null:I(gt,{display:"grid",gridColumnGap:`${cx}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${fx}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(n=>I(ux,{data:n,modalPaymentText:t},n.id))})}dx.displayName="CourseList",he.CourseList=dx,he.Label=_o,he.Progress=iv,he.Ripples=ov,he.TinyAlert=rx,he.dataFake=xz,he.maxWidthCoursesList=wz,he.theme=dz,he.vars=Q,Object.defineProperties(he,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
411
|
+
`},EL=0,Mi=[];function kL(e){var t=w.useRef([]),r=w.useRef([0,0]),n=w.useRef(),i=w.useState(EL++)[0],a=w.useState(function(){return RS()})[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(NS)).filter(Boolean);return y.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),y.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=w.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!o.current.allowPinchZoom;var h=uu(y),g=r.current,S="deltaX"in y?y.deltaX:g[0]-h[0],x="deltaY"in y?y.deltaY:g[1]-h[1],k,_=y.target,T=Math.abs(S)>Math.abs(x)?"h":"v",F=zS(T,_);if(!F)return!0;if(F?k=T:(k=T==="v"?"h":"v",F=zS(T,_)),!F)return!1;if(!n.current&&"changedTouches"in y&&(S||x)&&(n.current=k),!k)return!0;var A=n.current||k;return xL(A,v,y,A==="h"?S:x,!0)},[]),s=w.useCallback(function(y){var v=y;if(!(!Mi.length||Mi[Mi.length-1]!==a)){var h="deltaY"in v?$S(v):uu(v),g=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&wL(k.delta,h)})[0];if(g&&g.should){v.preventDefault();return}if(!g){var S=(o.current.shards||[]).map(NS).filter(Boolean).filter(function(k){return k.contains(v.target)}),x=S.length>0?l(v,S[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=w.useCallback(function(y,v,h,g){var S={name:y,delta:v,target:h,should:g};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(x){return x!==S})},1)},[]),c=w.useCallback(function(y){r.current=uu(y),n.current=void 0},[]),d=w.useCallback(function(y){u(y.type,$S(y),y.target,l(y,e.lockRef.current))},[]),f=w.useCallback(function(y){u(y.type,uu(y),y.target,l(y,e.lockRef.current))},[]);w.useEffect(function(){return Mi.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Oi),document.addEventListener("touchmove",s,Oi),document.addEventListener("touchstart",c,Oi),function(){Mi=Mi.filter(function(y){return y!==a}),document.removeEventListener("wheel",s,Oi),document.removeEventListener("touchmove",s,Oi),document.removeEventListener("touchstart",c,Oi)}},[]);var p=e.removeScrollBar,m=e.inert;return w.createElement(w.Fragment,null,m?w.createElement(a,{styles:CL(i)}):null,p?w.createElement(mL,{gapMode:"margin"}):null)}var TL=c6(IS,kL),VS=w.forwardRef(function(e,t){return w.createElement(lu,Fi({},e,{ref:t,sideCar:TL}))});VS.classNames=lu.classNames;var _L=VS,PL=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ii=new WeakMap,cu=new WeakMap,fu={},tv=0,AL=function(e,t,r){t===void 0&&(t=PL(e)),r===void 0&&(r="data-aria-hidden");var n=Array.isArray(e)?e:[e];fu[r]||(fu[r]=new WeakMap);var i=fu[r],a=[],o=new Set,l=function(u){!u||o.has(u)||(o.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(o.has(c))s(c);else{var d=c.getAttribute("aria-hidden"),f=d!==null&&d!=="false",p=(Ii.get(c)||0)+1,m=(i.get(c)||0)+1;Ii.set(c,p),i.set(c,m),a.push(c),p===1&&f&&cu.set(c,!0),m===1&&c.setAttribute(r,"true"),f||c.setAttribute("aria-hidden","true")}})};return s(t),o.clear(),tv++,function(){a.forEach(function(u){var c=Ii.get(u)-1,d=i.get(u)-1;Ii.set(u,c),i.set(u,d),c||(cu.has(u)||u.removeAttribute("aria-hidden"),cu.delete(u)),d||u.removeAttribute(r)}),tv--,tv||(Ii=new WeakMap,Ii=new WeakMap,cu=new WeakMap,fu={})}};function Pn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Fe(){return Fe=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},Fe.apply(this,arguments)}var FL=["preset"],OL={slideInBottom:Fe({},Kb,{custom:{offsetY:16,reverse:!0}}),slideInRight:Fe({},Kb,{custom:{offsetX:16,reverse:!0}}),scale:Fe({},uR,{custom:{initialScale:.95,reverse:!0}}),none:{}},ML=ee(Pp.section),IL=w.forwardRef(function(e,t){var r=e.preset,n=Pn(e,FL),i=OL[r];return w.createElement(ML,Fe({ref:t},i,n))}),RL=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}(),rv=new RL;function LL(e,t){O.useEffect(function(){return t&&rv.add(e),function(){rv.remove(e)}},[t,e])}function zL(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=O.useRef(null),p=O.useRef(null),m=d2(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],h=m[2];BL(f,t&&u),LL(f,t);var g=O.useRef(null),S=O.useCallback(function(Z){g.current=Z.target},[]),x=O.useCallback(function(Z){Z.key==="Escape"&&(Z.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),k=O.useState(!1),_=k[0],T=k[1],F=O.useState(!1),A=F[0],W=F[1],J=O.useCallback(function(Z,re){return Z===void 0&&(Z={}),re===void 0&&(re=null),Fe({role:"dialog"},Z,{ref:ih(re,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":A?h:void 0,onClick:Dn(Z.onClick,function(Re){return Re.stopPropagation()})})},[h,A,y,v,_]),K=O.useCallback(function(Z){Z.stopPropagation(),g.current===Z.target&&(!rv.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),X=O.useCallback(function(Z,re){return Z===void 0&&(Z={}),re===void 0&&(re=null),Fe({},Z,{ref:ih(re,p),onClick:Dn(Z.onClick,K),onKeyDown:Dn(Z.onKeyDown,x),onMouseDown:Dn(Z.onMouseDown,S)})},[x,S,K]);return{isOpen:t,onClose:r,headerId:v,bodyId:h,setBodyMounted:W,setHeaderMounted:T,dialogRef:f,overlayRef:p,getDialogProps:J,getDialogContainerProps:X}}function BL(e,t){var r=e.current;O.useEffect(function(){if(!(!e.current||!t))return AL(e.current)},[t,e,r])}var DL=["className","children","containerProps"],$L=["className","transition"],NL=["className"],VL=["className"],jL=["className"],WL=["onClick","className"],jS=en({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),HL=jS[0],An=jS[1],nv=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=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,y=Rg("Modal",t),v=zL(t),h=Fe({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return w.createElement(HL,{value:h},w.createElement(lT,{value:y},w.createElement(Gb,{onExitComplete:m},h.isOpen&&w.createElement(as,r,n))))};nv.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"};var UL=ee(Pp.div),GL=Pe(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Pn(e,DL),o=An(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=Be("chakra-modal__content",r),f=vi(),p=Fe({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Fe({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=An(),v=y.motionPreset;return w.createElement(YL,null,w.createElement(ee.div,Fe({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),w.createElement(IL,Fe({preset:v,className:d},u,{__css:p}),n)))});function YL(e){var t=An(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=bp(),p=f[0],m=f[1];return w.useEffect(function(){!p&&m&&setTimeout(m)},[p,m]),w.createElement(rL,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},w.createElement(_L,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var KL=Pe(function(e,t){var r=e.className;e.transition;var n=Pn(e,$L),i=Be("chakra-modal__overlay",r),a=vi(),o=Fe({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=An(),s=l.motionPreset,u=s==="none"?{}:lR;return w.createElement(UL,Fe({},u,{__css:o,ref:t,className:i},n))}),XL=Pe(function(e,t){var r=e.className,n=Pn(e,NL),i=An(),a=i.headerId,o=i.setHeaderMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Be("chakra-modal__header",r),s=vi(),u=Fe({flex:0},s.header);return w.createElement(ee.header,Fe({ref:t,className:l,id:a},n,{__css:u}))}),ZL=Pe(function(e,t){var r=e.className,n=Pn(e,VL),i=An(),a=i.bodyId,o=i.setBodyMounted;w.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Be("chakra-modal__body",r),s=vi();return w.createElement(ee.div,Fe({ref:t,className:l,id:a},n,{__css:s.body}))}),qL=Pe(function(e,t){var r=e.className,n=Pn(e,jL),i=Be("chakra-modal__footer",r),a=vi(),o=Fe({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return w.createElement(ee.footer,Fe({ref:t},n,{__css:o,className:i}))}),QL=Pe(function(e,t){var r=e.onClick,n=e.className,i=Pn(e,WL),a=An(),o=a.onClose,l=Be("chakra-modal__close-btn",n),s=vi();return w.createElement(IR,Fe({ref:t,__css:s.closeButton,className:l,onClick:Dn(r,function(u){u.stopPropagation(),o()})},i))});en(),ee(dR);function WS(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ri(){return Ri=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},Ri.apply(this,arguments)}var JL=zn({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),ez=zn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});zn({"0%":{left:"-40%"},"100%":{left:"100%"}}),zn({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function tz(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=o2(r,n,i),u=function(){if(r!=null)return Sr(o)?o(r,s):a};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 rz=["size","isIndeterminate"],nz=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],HS=function(t){return w.createElement(ee.circle,Ri({cx:50,cy:50,r:42,fill:"transparent"},t))},iz=function(t){var r=t.size,n=t.isIndeterminate,i=WS(t,rz);return w.createElement(ee.svg,Ri({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?ez+" 2s linear infinite":void 0}},i))},az=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,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,y=m===void 0?"10px":m,v=t.color,h=v===void 0?"#0078d4":v,g=t.trackColor,S=g===void 0?"#edebe9":g,x=t.isIndeterminate,k=WS(t,nz),_=tz({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=_.percent)!=null?r:0)*2.64,F=Mw(T)?void 0:T+" "+(264-T),A=x?{css:{animation:JL+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:F,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},W={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return w.createElement(ee.div,Ri({className:"chakra-progress"},_.bind,k,{__css:W}),w.createElement(iz,{size:i,isIndeterminate:x},w.createElement(HS,{stroke:S,strokeWidth:y,className:"chakra-progress__track"}),w.createElement(HS,Ri({stroke:h,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:_.value===0&&!x?0:void 0},A))),p)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});var oz=yT;oz.defaultProps={theme:fy};function lz(){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 d4(i)&&n.length>1?n=n.slice(0,n.length-1):i=fy,t2.apply(void 0,n.map(function(a){return function(o){return Sr(a)?a(o):sz(o,a)}}))(i)}function sz(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wt.apply(void 0,[{}].concat(t,[US]))}function US(e,t,r,n){if((Sr(e)||Sr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Sr(e)?e.apply(void 0,arguments):e,a=Sr(t)?t.apply(void 0,arguments):t;return wt({},i,a,US)}}const du={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Li={main:du,secondary:{pumpkin:"#FF7A14"},alert:{deepSkyBlue:du.deepSkyBlue,veryLightBlue:du.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:du.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"}},uz={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"}})},To="solid 1px",cz={borders:{normal:`${To} ${Li.neutral.silverSand}`,light:`${To} ${Li.neutral.platinum}`,active:`${To} ${Li.main.deepSkyBlue}`,success:`${To} ${Li.alert.jadeGreen}`,error:`${To} ${Li.alert.red}`},radii:{small:".25rem",big:".5rem",rounded:"50%"}};var UB="",GB="",YB="",KB="",XB="";const fz={fonts:{body:"Roboto",outstanding:"Lora"}},dz=lz(L(R(R({colors:Li},cz),fz),{styles:uz})),Q=e=>`var(--chakra-${e})`;function _o({children:e,bg:t=Q("colors-icon-ripeMango"),color:r=Q("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return I(gt,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}_o.displayName="Label";function iv({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),I(az,{size:"1rem",value:t,thickness:"1rem",color:Q("colors-main-deepSkyBlue"),trackColor:Q("colors-neutral-platinum")})}iv.displayName="Progress";var pz=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 a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},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)}}(),zi=globalThis&&globalThis.__assign||function(){return zi=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},zi.apply(this,arguments)},vz=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},hz={position:"relative",display:"inline-flex",overflow:"hidden"},mz=function(e){e===void 0&&(e={});var t;return t=function(r){pz(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,m=p.getBoundingClientRect(),y=d-(m.left+window.scrollX),v=f-(m.top+window.scrollY),h=Math.max(m.width,m.height);a.setState(function(g){return{rippleStyle:zi({},g.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(g){return{rippleStyle:zi({},g.rippleStyle,{opacity:0,transform:"scale("+h/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=vz(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return br.default.createElement("div",zi({},l,{className:("react-ripples "+o).trim(),style:hz,onClick:this.onClick}),a,br.default.createElement("s",{style:s}))},n}(br.default.PureComponent),t.displayName="Ripples",t.propTypes={during:tu.number,color:tu.string,onClick:tu.func,className:tu.string},t.defaultProps=zi({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},av=globalThis&&globalThis.__assign||function(){return av=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},av.apply(this,arguments)},gz=function(e){return function(t){return br.default.createElement(e,av({},t))}},yz=gz(mz());function ov({children:e,color:t="rgba(204,204,204,0.2)"}){return I(yz,{during:1e3,color:t,children:I(gt,{children:e})})}ov.displayName="Ripples";function Nt({w:e="1rem",h:t="1rem",color:r=Q("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a}){return I(py,{w:e,h:t,viewBox:i,color:r,m:n,children:a})}function GS(e){return I(Nt,L(R({},e),{children:ce("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[I("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"}),I("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"}),I("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"}),I("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"}),I("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"}),I("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"})]})}))}GS.displayName="ArrowRight";function YS(e){return ce(Nt,L(R({},e),{children:[ce("g",{clipPath:"url(#clip0)",children:[I("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:I("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),I("g",{mask:"url(#mask0)",children:I("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),I("defs",{children:I("clipPath",{id:"clip0",children:I("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]}))}YS.displayName="ArrowRight";function KS(e){return ce(Nt,L(R({},e),{children:[I("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),I("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"})]}))}KS.displayName="Certificate";function XS(e){return I(Nt,L(R({},e),{children:I("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"})}))}XS.displayName="CircularCheck";function lv(e){return I(Nt,L(R({},e),{children:I("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"})}))}lv.displayName="CircularInformation";function ZS(e){return I(Nt,L(R({},e),{viewBox:"0 0 12 12",w:".625rem",h:".75rem",children:I("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"})}))}ZS.displayName="Profile";function qS(e){return ce(Nt,L(R({},e),{children:[I("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"}),I("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),I("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),I("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),I("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),I("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),I("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]}))}qS.displayName="Schedule";function QS(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),I("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),I("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"})]}))}QS.displayName="TinyAlertInfo";function JS(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ce("g",{clipPath:"url(#clip0_2165_6683)",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),I("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"})]}),I("defs",{children:I("clipPath",{id:"clip0_2165_6683",children:I("rect",{width:"12px",height:"12px",fill:"white"})})})]}))}JS.displayName="TinyAlertError";function ex(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),I("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),I("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"})]}))}ex.displayName="TinyAlertWarning";function tx(e){return ce(Nt,L(R({},e),{w:"12px",h:"12px",viewBox:"0 0 12 12",children:[ce("g",{clipPath:"url(#clip0_2191_1138)",children:[I("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),I("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"})]}),I("defs",{children:I("clipPath",{id:"clip0_2191_1138",children:I("rect",{width:"12",height:"12",fill:"white"})})})]}))}tx.displayName="TinyAlertSuccess";function rx({status:e,text:t,margin:r="0"}){const n={success:{icon:I(tx,{}),text:"Success",bg:Q("colors-alert-ice"),color:Q("colors-neutral-darkCharcoal")},error:{icon:I(JS,{}),text:"Error",bg:Q("colors-alert-veryLightPinkThree"),color:Q("colors-neutral-darkCharcoal")},info:{icon:I(QS,{}),text:"Info",bg:Q("colors-alert-veryLightBlue"),color:Q("colors-neutral-darkCharcoal")},warning:{icon:I(ex,{}),text:"Warning",bg:Q("colors-alert-pale"),color:Q("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:Q("colors-main-blueGrey"),color:Q("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:Q("colors-main-ziggurat"),color:Q("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:Q("colors-neutral-cultured"),color:Q("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:Q("colors-neutral-white")}};return n[e]?ce(gt,{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",children:[n[e].icon&&I(gt,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),I(gt,{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}rx.displayName="TinyAlert";const bz=4;function nx(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=w.useContext(pu);return ce(gt,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:Q("borders-light"),pos:"relative",children:[ce(gt,{p:"1rem",children:[(i==null?void 0:i.id)!==bz&&I(_o,{bg:Q("colors-neutral-white"),m:"0 0 .625rem 0",children:ce(eu,{children:[I(ZS,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&I(nS,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>I(_o,{bg:a.id==="NEW"?Q("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&I(tS,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:Q("borders-light"),bg:Q("colors-neutral-white"),overflow:"hidden",borderRadius:Q("radii-small"),w:"6.25rem",children:I(gR,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}nx.displayName="Header";function sv({date:e}){return e==null||e.length===0?null:I(Ti,{fontSize:".75rem",color:Q("colors-neutral-darkCharcoal"),m:"0",children:e})}sv.displayName="DateStatus";function ix({type:e,progressValue:t=0}){switch(e){case"schedule":return I(qS,{});case"certificate":return I(KS,{});case"circularCheck":return I(XS,{});case"progress":return I(iv,{value:t});case"circularInformation":return I(lv,{});case"info":return I(lv,{});default:return null}}const Sz=7;function ax(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=w.useContext(pu);return n==null?null:ce(gt,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&ce(KR,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?I(gt,{h:".5rem",w:"1px",bg:Q("colors-neutral-silverSand"),alignSelf:"center"}):I(Yf,{}),children:[I(sv,{date:t.init}),I(sv,{date:t.end})]}),I(zR,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),ce(eu,{mt:"1rem",justify:"space-between",children:[ce(eu,{children:[I(ix,{type:n.icon,progressValue:n.progress}),I(Ti,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:n==null?void 0:n.label})]}),(i==null?void 0:i.id)===Sz&&(n==null?void 0:n.finalGrade)&&(n==null?void 0:n.finalGrade.length)>0&&I(_o,{size:"sm",bg:n.isApproved?Q("colors-alert-jadeGreen"):Q("colors-alert-red"),color:Q("colors-neutral-white"),children:n==null?void 0:n.finalGrade})]}),r!=null&&(r==null?void 0:r.length)>0&&I(jR,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:Q("borders-light"),children:r.map((a,o)=>{var l;return ce(WR,{display:"flex",children:[I(ix,{type:a.icon}),I(gt,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?I(DR,{isExternal:!0,href:a.href,color:Q("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):I(Ti,{m:"0",color:Q("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}ax.displayName="Section";const D={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"}]},ox={noHabilitado:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Inscripci\xF3n no habilitada",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[]}),inscripcionFutura:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),inscripcionFinalizo:L(R({},D),{id:1,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:1,name:"noHabilitado"}),progress:L(R({},D.progress),{label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:null,action:L(R({},D.action),{href:"#",text:"Ver informaci\xF3n del curso"}),labels:[{id:"NEW",text:"Nuevo"}]}),preInscripcion:L(R({},D),{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({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Solicitar inscripci\xF3n",targetBlank:!0}),labels:[]}),preInscripcion2:L(R({},D),{id:3,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:2,name:"preInscripcion"}),progress:L(R({},D.progress),{label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),inscripcion:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!1}),information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0})}),inscripcion2:L(R({},D),{id:5,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:3,name:"inscripcion"}),progress:L(R({},D.progress),{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"}),dateStatus:L(R({},D.dateStatus),{hasDates:!0}),information:[],action:L(R({},D.action),{text:"Inscr\xEDbete",targetBlank:!0}),labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]}),noDisponible:L(R({},D),{id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.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({},D.action),{text:"Ver informaci\xF3n del curso",targetBlank:!0}),labels:[]}),noDisponible2:L(R({},D),{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({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.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({},D.action),{enabled:!1}),labels:[]}),noDisponible3:L(R({},D),{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({},D.status),{id:4,name:"no disponible"}),progress:L(R({},D.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({},D.action),{enabled:!1}),labels:[]}),activado:L(R({},D),{id:8,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:5,name:"disponible"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar:L(R({},D),{id:9,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar2:L(R({},D),{id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar3:L(R({},D),{id:11,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),sinEstudiar4:L(R({},D),{logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:6,name:"sinEstudiar"}),progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"}),labels:[]}),continuar:L(R({},D),{id:13,hasFinanzeFreezed:!0,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:L(R({},D.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({},D.action),{targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"}),labels:[]}),continuar2:L(R({},D),{id:14,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"continuar"}),logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),pendiente:L(R({},D),{background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:8,name:"pendiente"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado:L(R({},D),{id:16,hasFinanzeFreezed:!1,status:L(R({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado2:L(R({},D),{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({},D.status),{id:7,name:"QUALIFIED"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]}),terminado3:L(R({},D),{id:18,hasFinanzeFreezed:!1,logo:"",status:L(R({},D.status),{id:9,name:"terminado"}),progress:L(R({},D.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({},D.action),{text:"Ir a mi curso"}),labels:[]})},xz=Object.keys(ox).map(e=>ox[e]),lx=4,uv=(e,t=lx)=>e||t!==lx;function wz(e=4){const t=e*fx+cx*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function Cz({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return I(KL,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=w.useState(I(o,{}));return w.useEffect(()=>{n&&s(I(o,{}))},[n]),ce(nv,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,ce(GL,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[ce(XL,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[I(GS,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),I(QL,{size:"md",color:Q("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),I(ZL,{p:"1rem 2rem 2rem 2rem",children:I(Ti,{align:"center",children:i.body})}),I(qL,{justifyContent:"center",borderTop:"1px solid",borderTopColor:Q("colors-neutral-platinum"),p:"1rem",children:I(AR,{onClick:r,color:Q("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}nv.displayName="Modal";function sx({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=w.useContext(pu),{isOpen:i,onOpen:a,onClose:o}=p2(),[l,s]=w.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:ce(tS,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:Q("colors-neutral-platinum"),children:[uv(t.enabled,r==null?void 0:r.id)?ce(Yf,{children:[n?I(gt,{color:Q("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}):I(Ti,{color:Q("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&I(YS,{color:Q("colors-main-deepSkyBlue")})]}):I(Ti,{fontWeight:"500",lineHeight:"1.172rem",color:Q("colors-neutral-spanishGrey"),m:"0",children:t.text}),I(Cz,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}sx.displayName="Footer";const pu=w.createContext({});function Ez({enabled:e,children:t}){return e?I(ov,{children:t}):I(Yf,{children:t})}function ux({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${Q("colors-neutral-silverSand")}`};return I(pu.Provider,{value:e,children:I(JR,{as:"article",border:Q("borders-light"),borderRadius:Q("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:I(Ez,{enabled:uv((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:ce(eu,{direction:"column",justify:"space-between",h:"100%",children:[ce(gt,{children:[!e.hasFinanzeFreezed&&uv((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&I(QR,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),I(nx,{}),I(ax,{})]}),I(sx,{modalPaymentText:t})]})})})})}ux.displayName="CourseBox";const cx=1.25,fx=17.8125;function dx({courses:e,modalPaymentText:t,m:r="0 auto"}){return e===void 0?null:I(gt,{display:"grid",gridColumnGap:`${cx}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${fx}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(n=>I(ux,{data:n,modalPaymentText:t},n.id))})}dx.displayName="CourseList",he.CourseList=dx,he.Label=_o,he.Progress=iv,he.Ripples=ov,he.TinyAlert=rx,he.dataFake=xz,he.maxWidthCoursesList=wz,he.theme=dz,he.vars=Q,Object.defineProperties(he,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
412
412
|
//# sourceMappingURL=eclass-ui-kit.umd.js.map
|