stp-ui-kit 0.0.1 → 0.0.3

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.
@@ -3,24 +3,35 @@ export interface EmptyProps {
3
3
  children: ReactNode;
4
4
  className?: string;
5
5
  }
6
- export declare const Empty: ({ children, className }: EmptyProps) => import("react/jsx-runtime").JSX.Element;
7
- export interface EmptyImageProps {
8
- src: string;
9
- className?: string;
10
- }
11
- export declare const EmptyImage: ({ src, className }: EmptyImageProps) => import("react/jsx-runtime").JSX.Element;
12
6
  export interface EmptyTextProps {
13
7
  children: ReactNode;
14
8
  className?: string;
15
9
  }
16
- export declare const EmptyTitle: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
17
- export declare const EmptyContext: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
18
- export declare const EmptyContent: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
19
- export declare const EmptyButtonContent: ({ children, className, }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const EmptyTitle: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const EmptyContext: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const EmptyContent: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const EmptyButtonContent: ({ children, className }: EmptyTextProps) => import("react/jsx-runtime").JSX.Element;
20
14
  export interface EmptyButtonProps {
21
15
  children: ReactNode;
22
16
  onClick?: () => void;
23
17
  className?: string;
24
18
  }
25
- export declare const EmptyPrimaryButton: ({ children, onClick, className, }: EmptyButtonProps) => import("react/jsx-runtime").JSX.Element;
26
- export declare const EmptySecondaryButton: ({ children, onClick, className, }: EmptyButtonProps) => import("react/jsx-runtime").JSX.Element;
19
+ declare const EmptyPrimaryButton: ({ children, onClick, className, }: EmptyButtonProps) => import("react/jsx-runtime").JSX.Element;
20
+ declare const EmptySecondaryButton: ({ children, onClick, className, }: EmptyButtonProps) => import("react/jsx-runtime").JSX.Element;
21
+ interface EmptyImageProps {
22
+ src: string;
23
+ className?: string;
24
+ alt?: string;
25
+ }
26
+ declare const EmptyImage: ({ src, className, alt, }: EmptyImageProps) => import("react/jsx-runtime").JSX.Element;
27
+ interface EmptyType extends React.FC<EmptyProps> {
28
+ Title: typeof EmptyTitle;
29
+ Context: typeof EmptyContext;
30
+ Content: typeof EmptyContent;
31
+ ButtonContent: typeof EmptyButtonContent;
32
+ PrimaryButton: typeof EmptyPrimaryButton;
33
+ SecondaryButton: typeof EmptySecondaryButton;
34
+ Image: typeof EmptyImage;
35
+ }
36
+ declare const Empty: EmptyType;
37
+ export { Empty };
@@ -1,26 +1,17 @@
1
1
  import { default as React, ReactNode } from 'react';
2
2
  export interface FormItemProps {
3
+ label?: ReactNode;
3
4
  children: ReactNode;
4
- error?: boolean;
5
- disabled?: boolean;
6
- readOnly?: boolean;
5
+ className?: string;
6
+ error?: ReactNode;
7
7
  }
8
- export declare const FormItem: {
9
- ({ children, error, disabled, readOnly, }: FormItemProps): import("react/jsx-runtime").JSX.Element;
10
- Label: ({ children }: LabelProps) => import("react/jsx-runtime").JSX.Element;
11
- Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLElement>>;
12
- Message: ({ children }: MessageProps) => import("react/jsx-runtime").JSX.Element | null;
13
- };
14
- export interface LabelProps {
8
+ export interface FormItemHelperTextProps {
15
9
  children: ReactNode;
16
- }
17
- export declare const Label: ({ children }: LabelProps) => import("react/jsx-runtime").JSX.Element;
18
- export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
19
- as?: React.ElementType;
20
10
  className?: string;
21
11
  }
22
- export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLElement>>;
23
- export interface MessageProps {
24
- children?: ReactNode;
12
+ declare const HelperText: ({ children, className }: FormItemHelperTextProps) => import("react/jsx-runtime").JSX.Element;
13
+ interface FormItemType extends React.FC<FormItemProps> {
14
+ HelperText: typeof HelperText;
25
15
  }
26
- export declare const Message: ({ children }: MessageProps) => import("react/jsx-runtime").JSX.Element | null;
16
+ declare const FormItem: FormItemType;
17
+ export { FormItem };
@@ -4,19 +4,20 @@ export interface ModalProps {
4
4
  onClose: () => void;
5
5
  children: React.ReactNode;
6
6
  }
7
- export declare const Modal: {
8
- ({ open, onClose, children }: ModalProps): import("react/jsx-runtime").JSX.Element | null;
9
- Header: ({ children, onClose }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
10
- Content: ({ children }: ContentProps) => import("react/jsx-runtime").JSX.Element;
11
- Footer: ({ children }: ContentProps) => import("react/jsx-runtime").JSX.Element;
12
- };
13
7
  export interface HeaderProps {
14
8
  children: React.ReactNode;
15
9
  onClose: () => void;
16
10
  }
17
- export declare const Header: ({ children, onClose }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Header: ({ children, onClose }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
18
12
  export interface ContentProps {
19
13
  children: React.ReactNode;
20
14
  }
21
- export declare const Content: ({ children }: ContentProps) => import("react/jsx-runtime").JSX.Element;
22
- export declare const Footer: ({ children }: ContentProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Content: ({ children }: ContentProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const Footer: ({ children }: ContentProps) => import("react/jsx-runtime").JSX.Element;
17
+ interface ModalType extends React.FC<ModalProps> {
18
+ Header: typeof Header;
19
+ Content: typeof Content;
20
+ Footer: typeof Footer;
21
+ }
22
+ declare const Modal: ModalType;
23
+ export { Modal };
@@ -1,71 +1,45 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react");var Ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function je(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ye={exports:{}},te={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var we;function De(){if(we)return te;we=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(d,u,l){var p=null;if(l!==void 0&&(p=""+l),u.key!==void 0&&(p=""+u.key),"key"in u){l={};for(var g in u)g!=="key"&&(l[g]=u[g])}else l=u;return u=l.ref,{$$typeof:t,type:d,key:p,ref:u!==void 0?u:null,props:l}}return te.Fragment=i,te.jsx=s,te.jsxs=s,te}var ne={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var xe;function Ie(){return xe||(xe=1,process.env.NODE_ENV!=="production"&&function(){function t(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===C?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case H:return"Fragment";case V:return"Profiler";case R:return"StrictMode";case W:return"Suspense";case Y:return"SuspenseList";case Z:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case I:return"Portal";case K:return(e.displayName||"Context")+".Provider";case fe:return(e._context.displayName||"Context")+".Consumer";case he:var c=e.render;return e=e.displayName,e||(e=c.displayName||c.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oe:return c=e.displayName||null,c!==null?c:t(e.type)||"Memo";case J:c=e._payload,e=e._init;try{return t(e(c))}catch{}}return null}function i(e){return""+e}function s(e){try{i(e);var c=!1}catch{c=!0}if(c){c=console;var h=c.error,v=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return h.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",v),i(e)}}function d(e){if(e===H)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===J)return"<...>";try{var c=t(e);return c?"<"+c+">":"<...>"}catch{return"<...>"}}function u(){var e=w.A;return e===null?null:e.getOwner()}function l(){return Error("react-stack-top-frame")}function p(e){if(U.call(e,"key")){var c=Object.getOwnPropertyDescriptor(e,"key").get;if(c&&c.isReactWarning)return!1}return e.key!==void 0}function g(e,c){function h(){o||(o=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",c))}h.isReactWarning=!0,Object.defineProperty(e,"key",{get:h,configurable:!0})}function $(){var e=t(this.type);return n[e]||(n[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function y(e,c,h,v,x,b,z,P){return h=b.ref,e={$$typeof:S,type:e,key:c,props:b,_owner:x},(h!==void 0?h:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:$}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:z}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:P}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function N(e,c,h,v,x,b,z,P){var j=c.children;if(j!==void 0)if(v)if(ie(j)){for(v=0;v<j.length;v++)k(j[v]);Object.freeze&&Object.freeze(j)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else k(j);if(U.call(c,"key")){j=t(e);var T=Object.keys(c).filter(function(L){return L!=="key"});v=0<T.length?"{key: someKey, "+T.join(": ..., ")+": ...}":"{key: someKey}",m[j+v]||(T=0<T.length?"{"+T.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
- let props = %s;
19
- <%s {...props} />
20
- React keys must be passed directly to JSX without using spread:
21
- let props = %s;
22
- <%s key={someKey} {...props} />`,v,j,T,j),m[j+v]=!0)}if(j=null,h!==void 0&&(s(h),j=""+h),p(c)&&(s(c.key),j=""+c.key),"key"in c){h={};for(var O in c)O!=="key"&&(h[O]=c[O])}else h=c;return j&&g(h,typeof e=="function"?e.displayName||e.name||"Unknown":e),y(e,j,b,x,u(),h,z,P)}function k(e){typeof e=="object"&&e!==null&&e.$$typeof===S&&e._store&&(e._store.validated=1)}var D=M,S=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),fe=Symbol.for("react.consumer"),K=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),C=Symbol.for("react.client.reference"),w=D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,ie=Array.isArray,f=console.createTask?console.createTask:function(){return null};D={"react-stack-bottom-frame":function(e){return e()}};var o,n={},_=D["react-stack-bottom-frame"].bind(D,l)(),a=f(d(l)),m={};ne.Fragment=H,ne.jsx=function(e,c,h,v,x){var b=1e4>w.recentlyCreatedOwnerStacks++;return N(e,c,h,!1,v,x,b?Error("react-stack-top-frame"):_,b?f(d(e)):a)},ne.jsxs=function(e,c,h,v,x){var b=1e4>w.recentlyCreatedOwnerStacks++;return N(e,c,h,!0,v,x,b?Error("react-stack-top-frame"):_,b?f(d(e)):a)}}()),ne}process.env.NODE_ENV==="production"?ye.exports=De():ye.exports=Ie();var r=ye.exports,Ce={exports:{}};/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),z=require("react");var ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ve={exports:{}};/*!
23
2
  Copyright (c) 2018 Jed Watson.
24
3
  Licensed under the MIT License (MIT), see
25
4
  http://jedwatson.github.io/classnames
26
- */(function(t){(function(){var i={}.hasOwnProperty;function s(){for(var l="",p=0;p<arguments.length;p++){var g=arguments[p];g&&(l=u(l,d(g)))}return l}function d(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return s.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var p="";for(var g in l)i.call(l,g)&&l[g]&&(p=u(p,g));return p}function u(l,p){return p?l?l+" "+p:l+p:l}t.exports?(s.default=s,t.exports=s):window.classNames=s})()})(Ce);var Pe=Ce.exports;const A=je(Pe),Re="_typography_18a99_29",be={"shadow-0":"_shadow-0_18a99_1","shadow-100":"_shadow-100_18a99_5","shadow-200":"_shadow-200_18a99_9","shadow-300":"_shadow-300_18a99_13","shadow-400":"_shadow-400_18a99_17","shadow-500":"_shadow-500_18a99_21","shadow-600":"_shadow-600_18a99_25",typography:Re,"heading-xl":"_heading-xl_18a99_34","heading-lg":"_heading-lg_18a99_43","heading-md":"_heading-md_18a99_52","heading-sm":"_heading-sm_18a99_61","heading-xs":"_heading-xs_18a99_70","body-lg":"_body-lg_18a99_79","body-md":"_body-md_18a99_88","body-sm":"_body-sm_18a99_97"},E=({variant:t="body-md",className:i="",children:s})=>{const d=be[t]||"";return r.jsx("div",{className:A(be.typography,d,i),children:s})},ze="_container_cgftc_29",Le="_content_cgftc_40",qe="_title_cgftc_57",Ye="_timer_cgftc_68",Fe="_timerCell_cgftc_80",He="_timerCount_cgftc_87",Be="_pattern_cgftc_102",We="_button_cgftc_129",B={container:ze,content:Le,title:qe,timer:Ye,timerCell:Fe,timerCount:He,pattern:Be,button:We};var ke={exports:{}};(function(t,i){(function(s,d){t.exports=d()})(Ae,function(){var s=1e3,d=6e4,u=36e5,l="millisecond",p="second",g="minute",$="hour",y="day",N="week",k="month",D="quarter",S="year",I="date",H="Invalid Date",R=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,fe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(f){var o=["th","st","nd","rd"],n=f%100;return"["+f+(o[(n-20)%10]||o[n]||o[0])+"]"}},K=function(f,o,n){var _=String(f);return!_||_.length>=o?f:""+Array(o+1-_.length).join(n)+f},he={s:K,z:function(f){var o=-f.utcOffset(),n=Math.abs(o),_=Math.floor(n/60),a=n%60;return(o<=0?"+":"-")+K(_,2,"0")+":"+K(a,2,"0")},m:function f(o,n){if(o.date()<n.date())return-f(n,o);var _=12*(n.year()-o.year())+(n.month()-o.month()),a=o.clone().add(_,k),m=n-a<0,e=o.clone().add(_+(m?-1:1),k);return+(-(_+(n-a)/(m?a-e:e-a))||0)},a:function(f){return f<0?Math.ceil(f)||0:Math.floor(f)},p:function(f){return{M:k,y:S,w:N,d:y,D:I,h:$,m:g,s:p,ms:l,Q:D}[f]||String(f||"").toLowerCase().replace(/s$/,"")},u:function(f){return f===void 0}},W="en",Y={};Y[W]=fe;var oe="$isDayjsObject",J=function(f){return f instanceof U||!(!f||!f[oe])},Z=function f(o,n,_){var a;if(!o)return W;if(typeof o=="string"){var m=o.toLowerCase();Y[m]&&(a=m),n&&(Y[m]=n,a=m);var e=o.split("-");if(!a&&e.length>1)return f(e[0])}else{var c=o.name;Y[c]=o,a=c}return!_&&a&&(W=a),a||!_&&W},C=function(f,o){if(J(f))return f.clone();var n=typeof o=="object"?o:{};return n.date=f,n.args=arguments,new U(n)},w=he;w.l=Z,w.i=J,w.w=function(f,o){return C(f,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var U=function(){function f(n){this.$L=Z(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[oe]=!0}var o=f.prototype;return o.parse=function(n){this.$d=function(_){var a=_.date,m=_.utc;if(a===null)return new Date(NaN);if(w.u(a))return new Date;if(a instanceof Date)return new Date(a);if(typeof a=="string"&&!/Z$/i.test(a)){var e=a.match(R);if(e){var c=e[2]-1||0,h=(e[7]||"0").substring(0,3);return m?new Date(Date.UTC(e[1],c,e[3]||1,e[4]||0,e[5]||0,e[6]||0,h)):new Date(e[1],c,e[3]||1,e[4]||0,e[5]||0,e[6]||0,h)}}return new Date(a)}(n),this.init()},o.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},o.$utils=function(){return w},o.isValid=function(){return this.$d.toString()!==H},o.isSame=function(n,_){var a=C(n);return this.startOf(_)<=a&&a<=this.endOf(_)},o.isAfter=function(n,_){return C(n)<this.startOf(_)},o.isBefore=function(n,_){return this.endOf(_)<C(n)},o.$g=function(n,_,a){return w.u(n)?this[_]:this.set(a,n)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(n,_){var a=this,m=!!w.u(_)||_,e=w.p(n),c=function(T,O){var L=w.w(a.$u?Date.UTC(a.$y,O,T):new Date(a.$y,O,T),a);return m?L:L.endOf(y)},h=function(T,O){return w.w(a.toDate()[T].apply(a.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(O)),a)},v=this.$W,x=this.$M,b=this.$D,z="set"+(this.$u?"UTC":"");switch(e){case S:return m?c(1,0):c(31,11);case k:return m?c(1,x):c(0,x+1);case N:var P=this.$locale().weekStart||0,j=(v<P?v+7:v)-P;return c(m?b-j:b+(6-j),x);case y:case I:return h(z+"Hours",0);case $:return h(z+"Minutes",1);case g:return h(z+"Seconds",2);case p:return h(z+"Milliseconds",3);default:return this.clone()}},o.endOf=function(n){return this.startOf(n,!1)},o.$set=function(n,_){var a,m=w.p(n),e="set"+(this.$u?"UTC":""),c=(a={},a[y]=e+"Date",a[I]=e+"Date",a[k]=e+"Month",a[S]=e+"FullYear",a[$]=e+"Hours",a[g]=e+"Minutes",a[p]=e+"Seconds",a[l]=e+"Milliseconds",a)[m],h=m===y?this.$D+(_-this.$W):_;if(m===k||m===S){var v=this.clone().set(I,1);v.$d[c](h),v.init(),this.$d=v.set(I,Math.min(this.$D,v.daysInMonth())).$d}else c&&this.$d[c](h);return this.init(),this},o.set=function(n,_){return this.clone().$set(n,_)},o.get=function(n){return this[w.p(n)]()},o.add=function(n,_){var a,m=this;n=Number(n);var e=w.p(_),c=function(x){var b=C(m);return w.w(b.date(b.date()+Math.round(x*n)),m)};if(e===k)return this.set(k,this.$M+n);if(e===S)return this.set(S,this.$y+n);if(e===y)return c(1);if(e===N)return c(7);var h=(a={},a[g]=d,a[$]=u,a[p]=s,a)[e]||1,v=this.$d.getTime()+n*h;return w.w(v,this)},o.subtract=function(n,_){return this.add(-1*n,_)},o.format=function(n){var _=this,a=this.$locale();if(!this.isValid())return a.invalidDate||H;var m=n||"YYYY-MM-DDTHH:mm:ssZ",e=w.z(this),c=this.$H,h=this.$m,v=this.$M,x=a.weekdays,b=a.months,z=a.meridiem,P=function(O,L,ee,ce){return O&&(O[L]||O(_,m))||ee[L].slice(0,ce)},j=function(O){return w.s(c%12||12,O,"0")},T=z||function(O,L,ee){var ce=O<12?"AM":"PM";return ee?ce.toLowerCase():ce};return m.replace(V,function(O,L){return L||function(ee){switch(ee){case"YY":return String(_.$y).slice(-2);case"YYYY":return w.s(_.$y,4,"0");case"M":return v+1;case"MM":return w.s(v+1,2,"0");case"MMM":return P(a.monthsShort,v,b,3);case"MMMM":return P(b,v);case"D":return _.$D;case"DD":return w.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return P(a.weekdaysMin,_.$W,x,2);case"ddd":return P(a.weekdaysShort,_.$W,x,3);case"dddd":return x[_.$W];case"H":return String(c);case"HH":return w.s(c,2,"0");case"h":return j(1);case"hh":return j(2);case"a":return T(c,h,!0);case"A":return T(c,h,!1);case"m":return String(h);case"mm":return w.s(h,2,"0");case"s":return String(_.$s);case"ss":return w.s(_.$s,2,"0");case"SSS":return w.s(_.$ms,3,"0");case"Z":return e}return null}(O)||e.replace(":","")})},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(n,_,a){var m,e=this,c=w.p(_),h=C(n),v=(h.utcOffset()-this.utcOffset())*d,x=this-h,b=function(){return w.m(e,h)};switch(c){case S:m=b()/12;break;case k:m=b();break;case D:m=b()/3;break;case N:m=(x-v)/6048e5;break;case y:m=(x-v)/864e5;break;case $:m=x/u;break;case g:m=x/d;break;case p:m=x/s;break;default:m=x}return a?m:w.a(m)},o.daysInMonth=function(){return this.endOf(k).$D},o.$locale=function(){return Y[this.$L]},o.locale=function(n,_){if(!n)return this.$L;var a=this.clone(),m=Z(n,_,!0);return m&&(a.$L=m),a},o.clone=function(){return w.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},f}(),ie=U.prototype;return C.prototype=ie,[["$ms",l],["$s",p],["$m",g],["$H",$],["$W",y],["$M",k],["$y",S],["$D",I]].forEach(function(f){ie[f[1]]=function(o){return this.$g(o,f[0],f[1])}}),C.extend=function(f,o){return f.$i||(f(o,U,C),f.$i=!0),C},C.locale=Z,C.isDayjs=J,C.unix=function(f){return C(1e3*f)},C.en=Y[W],C.Ls=Y,C.p={},C})})(ke);var Ue=ke.exports;const Ve=je(Ue),Je=t=>{const i=Ve(t),s=i.date(),d=s===1||s===21||s===31?"st":s===2||s===22?"nd":s===3||s===23?"rd":"th";return`${i.format("MMMM D, HH:mm").replace(s.toString(),`${s}${d}`)} (UTC +5)`},Ze=({color:t,title:i,bgPattern:s,deadline:d,bgPatternFinished:u,buttonColor:l,onClick:p})=>{const[g,$]=M.useState(!1),[y,N]=M.useState({days:0,hours:0,minutes:0,seconds:0});M.useEffect(()=>{const D=new Date(d),S=R=>({days:Math.floor(R/(1e3*60*60*24)),hours:Math.floor(R/(1e3*60*60)%24),minutes:Math.floor(R/(1e3*60)%60),seconds:Math.floor(R/1e3%60)}),I=()=>{const R=Date.now(),V=D.getTime()-R;V<=0?($(!0),N({days:0,hours:0,minutes:0,seconds:0})):N(S(V))};I();const H=setInterval(I,1e3);return()=>clearInterval(H)},[d]);const k=(D,S)=>r.jsxs("div",{className:B.timerCell,children:[r.jsx(E,{variant:"heading-lg",className:B.timerCount,children:D}),S]});return r.jsxs("div",{className:B.container,style:{backgroundColor:t},children:[r.jsxs("div",{className:B.content,children:[r.jsxs("div",{className:B.title,children:[r.jsx(E,{variant:"heading-md",children:i}),r.jsx(E,{variant:"body-md",children:Je(d)})]}),r.jsxs("div",{className:B.timer,children:[k(y.days,"Days"),k(y.hours,"Hours"),k(y.minutes,"Minutes"),k(y.seconds,"Seconds")]})]}),r.jsx("div",{className:B.pattern,style:{"--pattern-color":t,"--pattern-url":`url(${g?u??s:s})`},children:g&&r.jsx("button",{className:B.button,style:{backgroundColor:l},onClick:p,children:r.jsx(E,{variant:"heading-md",children:"Start"})})})]})},Ge="_btn_12gio_29",Xe="_small_12gio_44",Qe="_medium_12gio_47",Ke="_large_12gio_50",et="_primary_12gio_71",tt="_tertiary_12gio_87",nt="_plain_12gio_102",le={"shadow-0":"_shadow-0_12gio_1","shadow-100":"_shadow-100_12gio_5","shadow-200":"_shadow-200_12gio_9","shadow-300":"_shadow-300_12gio_13","shadow-400":"_shadow-400_12gio_17","shadow-500":"_shadow-500_12gio_21","shadow-600":"_shadow-600_12gio_25",btn:Ge,small:Xe,medium:Qe,large:Ke,default:"_default_12gio_53","default-selected":"_default-selected_12gio_64",primary:et,"primary-selected":"_primary-selected_12gio_81",tertiary:tt,"tertiary-selected":"_tertiary-selected_12gio_96",plain:nt,"plain-selected":"_plain-selected_12gio_113"},rt=({state:t="default",size:i="medium",selected:s=!1,disabled:d=!1,children:u,onClick:l=()=>{},className:p="",...g})=>{const $=A(le.btn,le[t],le[i],{[le[`${t}-selected`]]:s},p);return r.jsx("button",{className:$,onClick:l,disabled:d,...g,children:u})};/**
27
- * @license lucide-react v0.511.0 - ISC
28
- *
29
- * This source code is licensed under the ISC license.
30
- * See the LICENSE file in the root directory of this source tree.
31
- */const st=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),at=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,d)=>d?d.toUpperCase():s.toLowerCase()),$e=t=>{const i=at(t);return i.charAt(0).toUpperCase()+i.slice(1)},Ne=(...t)=>t.filter((i,s,d)=>!!i&&i.trim()!==""&&d.indexOf(i)===s).join(" ").trim(),ot=t=>{for(const i in t)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
5
+ */(function(e){(function(){var s={}.hasOwnProperty;function r(){for(var i="",f=0;f<arguments.length;f++){var p=arguments[f];p&&(i=h(i,l(p)))}return i}function l(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var f="";for(var p in i)s.call(i,p)&&i[p]&&(f=h(f,p));return f}function h(i,f){return f?i?i+" "+f:i+f:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(ve);var Se=ve.exports;const C=ye(Se),De="_typography_18a99_29",pe={"shadow-0":"_shadow-0_18a99_1","shadow-100":"_shadow-100_18a99_5","shadow-200":"_shadow-200_18a99_9","shadow-300":"_shadow-300_18a99_13","shadow-400":"_shadow-400_18a99_17","shadow-500":"_shadow-500_18a99_21","shadow-600":"_shadow-600_18a99_25",typography:De,"heading-xl":"_heading-xl_18a99_34","heading-lg":"_heading-lg_18a99_43","heading-md":"_heading-md_18a99_52","heading-sm":"_heading-sm_18a99_61","heading-xs":"_heading-xs_18a99_70","body-lg":"_body-lg_18a99_79","body-md":"_body-md_18a99_88","body-sm":"_body-sm_18a99_97"},j=({variant:e="body-md",className:s="",children:r})=>{const l=pe[e]||"";return t.jsx("div",{className:C(pe.typography,l,s),children:r})},ze="_container_cgftc_29",Oe="_content_cgftc_40",Ie="_title_cgftc_57",Be="_timer_cgftc_68",Le="_timerCell_cgftc_80",Ae="_timerCount_cgftc_87",Te="_pattern_cgftc_102",qe="_button_cgftc_129",A={container:ze,content:Oe,title:Ie,timer:Be,timerCell:Le,timerCount:Ae,pattern:Te,button:qe};var $e={exports:{}};(function(e,s){(function(r,l){e.exports=l()})(ke,function(){var r=1e3,l=6e4,h=36e5,i="millisecond",f="second",p="minute",$="hour",m="day",M="week",b="month",F="quarter",S="year",O="date",R="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Ne={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(d){var o=["th","st","nd","rd"],n=d%100;return"["+d+(o[(n-20)%10]||o[n]||o[0])+"]"}},ce=function(d,o,n){var c=String(d);return!c||c.length>=o?d:""+Array(o+1-c.length).join(n)+d},Me={s:ce,z:function(d){var o=-d.utcOffset(),n=Math.abs(o),c=Math.floor(n/60),a=n%60;return(o<=0?"+":"-")+ce(c,2,"0")+":"+ce(a,2,"0")},m:function d(o,n){if(o.date()<n.date())return-d(n,o);var c=12*(n.year()-o.year())+(n.month()-o.month()),a=o.clone().add(c,b),_=n-a<0,u=o.clone().add(c+(_?-1:1),b);return+(-(c+(n-a)/(_?a-u:u-a))||0)},a:function(d){return d<0?Math.ceil(d)||0:Math.floor(d)},p:function(d){return{M:b,y:S,w:M,d:m,D:O,h:$,m:p,s:f,ms:i,Q:F}[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(d){return d===void 0}},J="en",H={};H[J]=Ne;var me="$isDayjsObject",le=function(d){return d instanceof ne||!(!d||!d[me])},te=function d(o,n,c){var a;if(!o)return J;if(typeof o=="string"){var _=o.toLowerCase();H[_]&&(a=_),n&&(H[_]=n,a=_);var u=o.split("-");if(!a&&u.length>1)return d(u[0])}else{var y=o.name;H[y]=o,a=y}return!c&&a&&(J=a),a||!c&&J},x=function(d,o){if(le(d))return d.clone();var n=typeof o=="object"?o:{};return n.date=d,n.args=arguments,new ne(n)},g=Me;g.l=te,g.i=le,g.w=function(d,o){return x(d,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var ne=function(){function d(n){this.$L=te(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[me]=!0}var o=d.prototype;return o.parse=function(n){this.$d=function(c){var a=c.date,_=c.utc;if(a===null)return new Date(NaN);if(g.u(a))return new Date;if(a instanceof Date)return new Date(a);if(typeof a=="string"&&!/Z$/i.test(a)){var u=a.match(B);if(u){var y=u[2]-1||0,v=(u[7]||"0").substring(0,3);return _?new Date(Date.UTC(u[1],y,u[3]||1,u[4]||0,u[5]||0,u[6]||0,v)):new Date(u[1],y,u[3]||1,u[4]||0,u[5]||0,u[6]||0,v)}}return new Date(a)}(n),this.init()},o.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},o.$utils=function(){return g},o.isValid=function(){return this.$d.toString()!==R},o.isSame=function(n,c){var a=x(n);return this.startOf(c)<=a&&a<=this.endOf(c)},o.isAfter=function(n,c){return x(n)<this.startOf(c)},o.isBefore=function(n,c){return this.endOf(c)<x(n)},o.$g=function(n,c,a){return g.u(n)?this[c]:this.set(a,n)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(n,c){var a=this,_=!!g.u(c)||c,u=g.p(n),y=function(P,k){var L=g.w(a.$u?Date.UTC(a.$y,k,P):new Date(a.$y,k,P),a);return _?L:L.endOf(m)},v=function(P,k){return g.w(a.toDate()[P].apply(a.toDate("s"),(_?[0,0,0,0]:[23,59,59,999]).slice(k)),a)},w=this.$W,N=this.$M,D=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case S:return _?y(1,0):y(31,11);case b:return _?y(1,N):y(0,N+1);case M:var E=this.$locale().weekStart||0,V=(w<E?w+7:w)-E;return y(_?D-V:D+(6-V),N);case m:case O:return v(Y+"Hours",0);case $:return v(Y+"Minutes",1);case p:return v(Y+"Seconds",2);case f:return v(Y+"Milliseconds",3);default:return this.clone()}},o.endOf=function(n){return this.startOf(n,!1)},o.$set=function(n,c){var a,_=g.p(n),u="set"+(this.$u?"UTC":""),y=(a={},a[m]=u+"Date",a[O]=u+"Date",a[b]=u+"Month",a[S]=u+"FullYear",a[$]=u+"Hours",a[p]=u+"Minutes",a[f]=u+"Seconds",a[i]=u+"Milliseconds",a)[_],v=_===m?this.$D+(c-this.$W):c;if(_===b||_===S){var w=this.clone().set(O,1);w.$d[y](v),w.init(),this.$d=w.set(O,Math.min(this.$D,w.daysInMonth())).$d}else y&&this.$d[y](v);return this.init(),this},o.set=function(n,c){return this.clone().$set(n,c)},o.get=function(n){return this[g.p(n)]()},o.add=function(n,c){var a,_=this;n=Number(n);var u=g.p(c),y=function(N){var D=x(_);return g.w(D.date(D.date()+Math.round(N*n)),_)};if(u===b)return this.set(b,this.$M+n);if(u===S)return this.set(S,this.$y+n);if(u===m)return y(1);if(u===M)return y(7);var v=(a={},a[p]=l,a[$]=h,a[f]=r,a)[u]||1,w=this.$d.getTime()+n*v;return g.w(w,this)},o.subtract=function(n,c){return this.add(-1*n,c)},o.format=function(n){var c=this,a=this.$locale();if(!this.isValid())return a.invalidDate||R;var _=n||"YYYY-MM-DDTHH:mm:ssZ",u=g.z(this),y=this.$H,v=this.$m,w=this.$M,N=a.weekdays,D=a.months,Y=a.meridiem,E=function(k,L,G,se){return k&&(k[L]||k(c,_))||G[L].slice(0,se)},V=function(k){return g.s(y%12||12,k,"0")},P=Y||function(k,L,G){var se=k<12?"AM":"PM";return G?se.toLowerCase():se};return _.replace(ee,function(k,L){return L||function(G){switch(G){case"YY":return String(c.$y).slice(-2);case"YYYY":return g.s(c.$y,4,"0");case"M":return w+1;case"MM":return g.s(w+1,2,"0");case"MMM":return E(a.monthsShort,w,D,3);case"MMMM":return E(D,w);case"D":return c.$D;case"DD":return g.s(c.$D,2,"0");case"d":return String(c.$W);case"dd":return E(a.weekdaysMin,c.$W,N,2);case"ddd":return E(a.weekdaysShort,c.$W,N,3);case"dddd":return N[c.$W];case"H":return String(y);case"HH":return g.s(y,2,"0");case"h":return V(1);case"hh":return V(2);case"a":return P(y,v,!0);case"A":return P(y,v,!1);case"m":return String(v);case"mm":return g.s(v,2,"0");case"s":return String(c.$s);case"ss":return g.s(c.$s,2,"0");case"SSS":return g.s(c.$ms,3,"0");case"Z":return u}return null}(k)||u.replace(":","")})},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(n,c,a){var _,u=this,y=g.p(c),v=x(n),w=(v.utcOffset()-this.utcOffset())*l,N=this-v,D=function(){return g.m(u,v)};switch(y){case S:_=D()/12;break;case b:_=D();break;case F:_=D()/3;break;case M:_=(N-w)/6048e5;break;case m:_=(N-w)/864e5;break;case $:_=N/h;break;case p:_=N/l;break;case f:_=N/r;break;default:_=N}return a?_:g.a(_)},o.daysInMonth=function(){return this.endOf(b).$D},o.$locale=function(){return H[this.$L]},o.locale=function(n,c){if(!n)return this.$L;var a=this.clone(),_=te(n,c,!0);return _&&(a.$L=_),a},o.clone=function(){return g.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},d}(),fe=ne.prototype;return x.prototype=fe,[["$ms",i],["$s",f],["$m",p],["$H",$],["$W",m],["$M",b],["$y",S],["$D",O]].forEach(function(d){fe[d[1]]=function(o){return this.$g(o,d[0],d[1])}}),x.extend=function(d,o){return d.$i||(d(o,ne,x),d.$i=!0),x},x.locale=te,x.isDayjs=le,x.unix=function(d){return x(1e3*d)},x.en=H[J],x.Ls=H,x.p={},x})})($e);var He=$e.exports;const Ee=ye(He),Pe=e=>{const s=Ee(e),r=s.date(),l=r===1||r===21||r===31?"st":r===2||r===22?"nd":r===3||r===23?"rd":"th";return`${s.format("MMMM D, HH:mm").replace(r.toString(),`${r}${l}`)} (UTC +5)`},Fe=({color:e,title:s,bgPattern:r,deadline:l,bgPatternFinished:h,buttonColor:i,onClick:f})=>{const[p,$]=z.useState(!1),[m,M]=z.useState({days:0,hours:0,minutes:0,seconds:0});z.useEffect(()=>{const F=new Date(l),S=B=>({days:Math.floor(B/(1e3*60*60*24)),hours:Math.floor(B/(1e3*60*60)%24),minutes:Math.floor(B/(1e3*60)%60),seconds:Math.floor(B/1e3%60)}),O=()=>{const B=Date.now(),ee=F.getTime()-B;ee<=0?($(!0),M({days:0,hours:0,minutes:0,seconds:0})):M(S(ee))};O();const R=setInterval(O,1e3);return()=>clearInterval(R)},[l]);const b=(F,S)=>t.jsxs("div",{className:A.timerCell,children:[t.jsx(j,{variant:"heading-lg",className:A.timerCount,children:F}),S]});return t.jsxs("div",{className:A.container,style:{backgroundColor:e},children:[t.jsxs("div",{className:A.content,children:[t.jsxs("div",{className:A.title,children:[t.jsx(j,{variant:"heading-md",children:s}),t.jsx(j,{variant:"body-md",children:Pe(l)})]}),t.jsxs("div",{className:A.timer,children:[b(m.days,"Days"),b(m.hours,"Hours"),b(m.minutes,"Minutes"),b(m.seconds,"Seconds")]})]}),t.jsx("div",{className:A.pattern,style:{"--pattern-color":e,"--pattern-url":`url(${p?h??r:r})`},children:p&&t.jsx("button",{className:A.button,style:{backgroundColor:i},onClick:f,children:t.jsx(j,{variant:"heading-md",children:"Start"})})})]})},Ye="_btn_12gio_29",We="_small_12gio_44",Ue="_medium_12gio_47",Ze="_large_12gio_50",Je="_primary_12gio_71",Ve="_tertiary_12gio_87",Ge="_plain_12gio_102",re={"shadow-0":"_shadow-0_12gio_1","shadow-100":"_shadow-100_12gio_5","shadow-200":"_shadow-200_12gio_9","shadow-300":"_shadow-300_12gio_13","shadow-400":"_shadow-400_12gio_17","shadow-500":"_shadow-500_12gio_21","shadow-600":"_shadow-600_12gio_25",btn:Ye,small:We,medium:Ue,large:Ze,default:"_default_12gio_53","default-selected":"_default-selected_12gio_64",primary:Je,"primary-selected":"_primary-selected_12gio_81",tertiary:Ve,"tertiary-selected":"_tertiary-selected_12gio_96",plain:Ge,"plain-selected":"_plain-selected_12gio_113"},he=({state:e="default",size:s="medium",selected:r=!1,disabled:l=!1,children:h,onClick:i=()=>{},className:f="",...p})=>{const $=C(re.btn,re[e],re[s],{[re[`${e}-selected`]]:r},f);return t.jsx("button",{className:$,onClick:i,disabled:l,...p,children:h})};/**
32
6
  * @license lucide-react v0.511.0 - ISC
33
7
  *
34
8
  * This source code is licensed under the ISC license.
35
9
  * See the LICENSE file in the root directory of this source tree.
36
- */var it={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
10
+ */const Ke=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Qe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,r,l)=>l?l.toUpperCase():r.toLowerCase()),ge=e=>{const s=Qe(e);return s.charAt(0).toUpperCase()+s.slice(1)},xe=(...e)=>e.filter((s,r,l)=>!!s&&s.trim()!==""&&l.indexOf(s)===r).join(" ").trim(),Xe=e=>{for(const s in e)if(s.startsWith("aria-")||s==="role"||s==="title")return!0};/**
37
11
  * @license lucide-react v0.511.0 - ISC
38
12
  *
39
13
  * This source code is licensed under the ISC license.
40
14
  * See the LICENSE file in the root directory of this source tree.
41
- */const ct=M.forwardRef(({color:t="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:d,className:u="",children:l,iconNode:p,...g},$)=>M.createElement("svg",{ref:$,...it,width:i,height:i,stroke:t,strokeWidth:d?Number(s)*24/Number(i):s,className:Ne("lucide",u),...!l&&!ot(g)&&{"aria-hidden":"true"},...g},[...p.map(([y,N])=>M.createElement(y,N)),...Array.isArray(l)?l:[l]]));/**
15
+ */var Re={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
42
16
  * @license lucide-react v0.511.0 - ISC
43
17
  *
44
18
  * This source code is licensed under the ISC license.
45
19
  * See the LICENSE file in the root directory of this source tree.
46
- */const ae=(t,i)=>{const s=M.forwardRef(({className:d,...u},l)=>M.createElement(ct,{ref:l,iconNode:i,className:Ne(`lucide-${st($e(t))}`,`lucide-${t}`,d),...u}));return s.displayName=$e(t),s};/**
20
+ */const et=z.forwardRef(({color:e="currentColor",size:s=24,strokeWidth:r=2,absoluteStrokeWidth:l,className:h="",children:i,iconNode:f,...p},$)=>z.createElement("svg",{ref:$,...Re,width:s,height:s,stroke:e,strokeWidth:l?Number(r)*24/Number(s):r,className:xe("lucide",h),...!i&&!Xe(p)&&{"aria-hidden":"true"},...p},[...f.map(([m,M])=>z.createElement(m,M)),...Array.isArray(i)?i:[i]]));/**
47
21
  * @license lucide-react v0.511.0 - ISC
48
22
  *
49
23
  * This source code is licensed under the ISC license.
50
24
  * See the LICENSE file in the root directory of this source tree.
51
- */const lt=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],dt=ae("check-check",lt);/**
25
+ */const oe=(e,s)=>{const r=z.forwardRef(({className:l,...h},i)=>z.createElement(et,{ref:i,iconNode:s,className:xe(`lucide-${Ke(ge(e))}`,`lucide-${e}`,l),...h}));return r.displayName=ge(e),r};/**
52
26
  * @license lucide-react v0.511.0 - ISC
53
27
  *
54
28
  * This source code is licensed under the ISC license.
55
29
  * See the LICENSE file in the root directory of this source tree.
56
- */const ut=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Oe=ae("chevron-down",ut);/**
30
+ */const tt=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],nt=oe("check-check",tt);/**
57
31
  * @license lucide-react v0.511.0 - ISC
58
32
  *
59
33
  * This source code is licensed under the ISC license.
60
34
  * See the LICENSE file in the root directory of this source tree.
61
- */const _t=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Se=ae("chevron-up",_t);/**
35
+ */const st=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],we=oe("chevron-down",st);/**
62
36
  * @license lucide-react v0.511.0 - ISC
63
37
  *
64
38
  * This source code is licensed under the ISC license.
65
39
  * See the LICENSE file in the root directory of this source tree.
66
- */const ft=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],ht=ae("circle-alert",ft);/**
40
+ */const rt=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],je=oe("chevron-up",rt);/**
67
41
  * @license lucide-react v0.511.0 - ISC
68
42
  *
69
43
  * This source code is licensed under the ISC license.
70
44
  * See the LICENSE file in the root directory of this source tree.
71
- */const mt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],pt=ae("x",mt),gt="_navigationItem_1uz1o_29",yt="_container_1uz1o_45",vt="_IconContainer_1uz1o_51",wt="_ParentLine_1uz1o_57",xt="_secondaryIcon_1uz1o_69",bt="_active_1uz1o_80",$t="_collapsed_1uz1o_88",jt="_label_1uz1o_92",F={navigationItem:gt,container:yt,IconContainer:vt,ParentLine:wt,secondaryIcon:xt,active:bt,collapsed:$t,label:jt},se=({icon:t,label:i,secondaryIcon:s,collapsed:d=!1,active:u=!1,isParentNode:l=!1,onClick:p,className:g})=>r.jsxs("div",{className:A(F.navigationItem,u&&F.active,g),onClick:p,children:[r.jsxs("div",{className:F.container,children:[r.jsxs("div",{className:F.IconContainer,children:[t,l&&r.jsx("img",{src:"/assets/icons/ParentLine.svg",alt:"Arrow Indicator",className:F.ParentLine})]}),r.jsx(E,{variant:"body-md",className:A(d&&F.collapsed,F.label),children:i})]}),s&&r.jsx("div",{className:A(F.secondaryIcon,d&&F.collapsed),children:s})]}),Ct="_ArrowContainer_i9cnp_29",kt="_active_i9cnp_44",Nt="_arrowBlock_i9cnp_54",Ot="_isOpen_i9cnp_58",re={ArrowContainer:Ct,active:kt,arrowBlock:Nt,isOpen:Ot},St=({activeItemId:t,onChange:i,item:s})=>{var g,$;const d=(g=s.children)==null?void 0:g.findIndex(y=>y.id===t),[u,l]=M.useState(d!==-1),p=()=>{s.children&&l(!u),i(s)};return r.jsxs("div",{children:[r.jsx(se,{icon:s.icon,label:s.name,secondaryIcon:u?r.jsx(Se,{size:20}):r.jsx(Oe,{size:20}),onClick:p,isParentNode:u&&d!==-1,active:d!==-1&&!u,className:A(u&&d===-1&&re.isOpen)}),r.jsx("div",{className:re.childContainer,children:u&&(($=s.children)==null?void 0:$.map((y,N)=>r.jsxs("div",{className:A(re.ArrowContainer,t===y.id?re.active:""),onClick:()=>i(y),children:[r.jsxs("div",{className:re.arrowBlock,children:[d===N&&r.jsx("img",{src:"/assets/icons/ArrowLine.svg",alt:"Arrow Indicator"}),N<(d??-1)&&r.jsx("img",{src:"/assets/icons/SideLine.svg",alt:"Side Indicator"})]}),r.jsx(se,{icon:y.icon,label:y.name,active:y.id===t})]},y.id)))})]})},Et="_ArrowContainer_17ds0_29",Tt="_iconCheck_17ds0_37",Mt="_active_17ds0_47",At="_arrowBlock_17ds0_57",Dt="_isOpen_17ds0_61",G={ArrowContainer:Et,iconCheck:Tt,active:Mt,arrowBlock:At,isOpen:Dt},It=({activeItemId:t,onChange:i,item:s})=>{var g,$;const d=(g=s.children)==null?void 0:g.findIndex(y=>y.id===t),[u,l]=M.useState(d!==-1),p=()=>{s.children&&l(!u),i(s)};return r.jsxs("div",{children:[r.jsx(se,{icon:s.icon,label:s.name,secondaryIcon:u?r.jsx(Se,{size:20}):r.jsx(Oe,{size:20}),onClick:p,isParentNode:u&&d!==-1,active:d!==-1&&!u,className:A(u&&d===-1&&G.isOpen)}),r.jsx("div",{className:G.childContainer,children:u&&(($=s.children)==null?void 0:$.map((y,N)=>r.jsxs("div",{className:A(G.ArrowContainer,t===y.id?G.active:""),onClick:()=>i(y),children:[r.jsxs("div",{className:G.arrowBlock,children:[d===N&&r.jsx("img",{src:"/assets/icons/ArrowLine.svg",alt:"Arrow Indicator"}),N<(d??-1)&&r.jsx("img",{src:"/assets/icons/SideLine.svg",alt:"Side Indicator"})]}),r.jsx(se,{icon:y.icon,label:y.name,active:y.id===t,secondaryIcon:y.completed&&r.jsx(dt,{size:20,className:G.iconCheck})},y.id)]},y.id)))})]})},Pt="_emptyContainer_tmvlz_29",Rt={emptyContainer:Pt},zt=({children:t,className:i=""})=>r.jsx("div",{className:`${Rt.emptyContainer} ${i}`,children:t}),Lt="_formItem_96xeh_29",qt="_critical_96xeh_36",Yt="_message_96xeh_40",Ft="_error_96xeh_46",Ht="_label_96xeh_50",Bt="_disabled_96xeh_53",Wt="_readOnly_96xeh_56",Ut="_input_96xeh_60",q={"shadow-0":"_shadow-0_96xeh_1","shadow-100":"_shadow-100_96xeh_5","shadow-200":"_shadow-200_96xeh_9","shadow-300":"_shadow-300_96xeh_13","shadow-400":"_shadow-400_96xeh_17","shadow-500":"_shadow-500_96xeh_21","shadow-600":"_shadow-600_96xeh_25",formItem:Lt,critical:qt,message:Yt,error:Ft,label:Ht,disabled:Bt,readOnly:Wt,input:Ut},Ee=M.createContext({state:"default"}),ve=()=>M.useContext(Ee),ue=({children:t,error:i,disabled:s,readOnly:d})=>{let u="default";return i?u="error":s?u="disabled":d&&(u="readOnly"),r.jsx(Ee.Provider,{value:{state:u},children:r.jsx("div",{className:q.formItem,children:t})})},Vt=({children:t})=>{const{state:i}=ve();return r.jsx("label",{className:A(q.label,i==="disabled"&&q.disabled,i==="readOnly"&&q.readOnly),children:t})},Te=M.forwardRef(({as:t="input",className:i,...s},d)=>{const{state:u}=ve();return r.jsx(t,{ref:d,className:A(q.input,q[u],i),disabled:u==="disabled",readOnly:u==="readOnly",...s})});Te.displayName="FormItem.Input";const Jt=({children:t})=>{const{state:i}=ve();return t?r.jsxs("div",{className:A(q.message,i==="error"?q.error:q.default),children:[i==="error"&&r.jsx(ht,{className:q.critical}),t]}):null};ue.Label=Vt;ue.Input=Te;ue.Message=Jt;const Zt="_btn_z8qng_29",Gt="_small_z8qng_42",Xt="_medium_z8qng_45",Qt="_large_z8qng_48",Kt="_primary_z8qng_69",en="_tertiary_z8qng_85",tn="_plain_z8qng_100",de={"shadow-0":"_shadow-0_z8qng_1","shadow-100":"_shadow-100_z8qng_5","shadow-200":"_shadow-200_z8qng_9","shadow-300":"_shadow-300_z8qng_13","shadow-400":"_shadow-400_z8qng_17","shadow-500":"_shadow-500_z8qng_21","shadow-600":"_shadow-600_z8qng_25",btn:Zt,small:Gt,medium:Xt,large:Qt,default:"_default_z8qng_51","default-selected":"_default-selected_z8qng_62",primary:Kt,"primary-selected":"_primary-selected_z8qng_79",tertiary:en,"tertiary-selected":"_tertiary-selected_z8qng_94",plain:tn,"plain-selected":"_plain-selected_z8qng_111"},Me=({state:t="default",size:i="medium",selected:s=!1,disabled:d=!1,children:u,onClick:l=()=>{},className:p="",...g})=>{const $=A(de.btn,de[t],de[i],{[de[`${t}-selected`]]:s},p);return r.jsx("button",{className:$,onClick:l,disabled:d,...g,children:u})},nn="_modalLayout_1jmpu_29",rn="_modalContainer_1jmpu_40",sn="_header_1jmpu_64",an="_close_1jmpu_73",on="_content_1jmpu_83",cn="_footer_1jmpu_91",Q={modalLayout:nn,modalContainer:rn,header:sn,close:an,content:on,footer:cn},_e=({open:t,onClose:i,children:s})=>t?r.jsx("div",{className:Q.modalLayout,onClick:i,children:r.jsx("div",{className:Q.modalContainer,onClick:d=>d.stopPropagation(),children:s})}):null,ln=({children:t,onClose:i})=>r.jsxs("div",{className:Q.header,children:[r.jsx(E,{variant:"heading-sm",children:t}),r.jsx(Me,{size:"small",state:"default",className:Q.close,onClick:i,children:r.jsx(pt,{})})]}),dn=({children:t})=>r.jsx(E,{variant:"body-md",className:Q.content,children:t}),un=({children:t})=>r.jsx("div",{className:Q.footer,children:t});_e.Header=ln;_e.Content=dn;_e.Footer=un;const _n="_pageHeader_1lrq1_29",fn="_mg_1lrq1_38",hn="_lg_1lrq1_39",me={pageHeader:_n,mg:fn,lg:hn},mn=({children:t})=>r.jsxs("header",{className:me.pageHeader,children:[r.jsx(E,{variant:"heading-xl",className:me.lg,children:t}),r.jsx(E,{variant:"heading-md",className:me.mg,children:t})]}),pn="_container_1g19z_29",gn="_line_1g19z_35",yn="_progress_1g19z_41",pe={container:pn,line:gn,progress:yn},vn=({percent:t})=>r.jsx("div",{className:pe.container,children:r.jsx("div",{className:pe.line,children:r.jsx("div",{className:pe.progress,style:{width:`${t}%`}})})}),wn="_container_1gn8d_29",xn="_notMobile_1gn8d_38",bn="_mobile_1gn8d_47",ge={container:wn,notMobile:xn,mobile:bn},$n=({title:t,extra:i})=>r.jsxs("div",{className:ge.container,children:[r.jsx(E,{variant:"heading-md",className:ge.notMobile,children:t}),r.jsx(E,{variant:"heading-sm",className:ge.mobile,children:t}),i]}),jn="_topBar_xnlee_29",Cn="_section_xnlee_66",kn="_scretched_xnlee_73",Nn="_active_xnlee_90",On="_sm_xnlee_99",Sn="_md_xnlee_100",X={topBar:jn,section:Cn,scretched:kn,active:Nn,sm:On,md:Sn},En=({sections:t,activeTab:i,onTabSelect:s,isStretched:d=!0})=>{var u;return r.jsxs("div",{children:[r.jsx("div",{className:X.topBar,children:t.map(l=>r.jsxs("div",{className:A(X.section,d&&X.scretched,i===l.id&&X.active),onClick:()=>s(l.id),children:[r.jsx(E,{variant:"heading-xs",className:X.sm,children:l.title}),r.jsx(E,{variant:"heading-md",className:X.md,children:l.title})]},l.id))}),((u=t.find(l=>l.id===i))==null?void 0:u.component)??r.jsx(E,{variant:"body-lg",children:"Not Found"})]})};exports.Banner=Ze;exports.Button=rt;exports.Collapse=St;exports.CourseCollapse=It;exports.Empty=zt;exports.FormItem=ue;exports.IconButton=Me;exports.Modal=_e;exports.NavigationItem=se;exports.PageHeader=mn;exports.ProgressLine=vn;exports.SectionHeader=$n;exports.TopBar=En;exports.Typography=E;
45
+ */const at=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ot=oe("x",at),it="_navigationItem_1uz1o_29",ct="_container_1uz1o_45",lt="_IconContainer_1uz1o_51",dt="_ParentLine_1uz1o_57",_t="_secondaryIcon_1uz1o_69",ut="_active_1uz1o_80",ht="_collapsed_1uz1o_88",mt="_label_1uz1o_92",I={navigationItem:it,container:ct,IconContainer:lt,ParentLine:dt,secondaryIcon:_t,active:ut,collapsed:ht,label:mt},X=({icon:e,label:s,secondaryIcon:r,collapsed:l=!1,active:h=!1,isParentNode:i=!1,onClick:f,className:p})=>t.jsxs("div",{className:C(I.navigationItem,h&&I.active,p),onClick:f,children:[t.jsxs("div",{className:I.container,children:[t.jsxs("div",{className:I.IconContainer,children:[e,i&&t.jsx("img",{src:"/assets/icons/ParentLine.svg",alt:"Arrow Indicator",className:I.ParentLine})]}),t.jsx(j,{variant:"body-md",className:C(l&&I.collapsed,I.label),children:s})]}),r&&t.jsx("div",{className:C(I.secondaryIcon,l&&I.collapsed),children:r})]}),ft="_ArrowContainer_i9cnp_29",pt="_active_i9cnp_44",gt="_arrowBlock_i9cnp_54",yt="_isOpen_i9cnp_58",K={ArrowContainer:ft,active:pt,arrowBlock:gt,isOpen:yt},vt=({activeItemId:e,onChange:s,item:r})=>{var p,$;const l=(p=r.children)==null?void 0:p.findIndex(m=>m.id===e),[h,i]=z.useState(l!==-1),f=()=>{r.children&&i(!h),s(r)};return t.jsxs("div",{children:[t.jsx(X,{icon:r.icon,label:r.name,secondaryIcon:h?t.jsx(je,{size:20}):t.jsx(we,{size:20}),onClick:f,isParentNode:h&&l!==-1,active:l!==-1&&!h,className:C(h&&l===-1&&K.isOpen)}),t.jsx("div",{className:K.childContainer,children:h&&(($=r.children)==null?void 0:$.map((m,M)=>t.jsxs("div",{className:C(K.ArrowContainer,e===m.id?K.active:""),onClick:()=>s(m),children:[t.jsxs("div",{className:K.arrowBlock,children:[l===M&&t.jsx("img",{src:"/assets/icons/ArrowLine.svg",alt:"Arrow Indicator"}),M<(l??-1)&&t.jsx("img",{src:"/assets/icons/SideLine.svg",alt:"Side Indicator"})]}),t.jsx(X,{icon:m.icon,label:m.name,active:m.id===e})]},m.id)))})]})},$t="_ArrowContainer_17ds0_29",xt="_iconCheck_17ds0_37",wt="_active_17ds0_47",jt="_arrowBlock_17ds0_57",Ct="_isOpen_17ds0_61",W={ArrowContainer:$t,iconCheck:xt,active:wt,arrowBlock:jt,isOpen:Ct},bt=({activeItemId:e,onChange:s,item:r})=>{var p,$;const l=(p=r.children)==null?void 0:p.findIndex(m=>m.id===e),[h,i]=z.useState(l!==-1),f=()=>{r.children&&i(!h),s(r)};return t.jsxs("div",{children:[t.jsx(X,{icon:r.icon,label:r.name,secondaryIcon:h?t.jsx(je,{size:20}):t.jsx(we,{size:20}),onClick:f,isParentNode:h&&l!==-1,active:l!==-1&&!h,className:C(h&&l===-1&&W.isOpen)}),t.jsx("div",{className:W.childContainer,children:h&&(($=r.children)==null?void 0:$.map((m,M)=>t.jsxs("div",{className:C(W.ArrowContainer,e===m.id?W.active:""),onClick:()=>s(m),children:[t.jsxs("div",{className:W.arrowBlock,children:[l===M&&t.jsx("img",{src:"/assets/icons/ArrowLine.svg",alt:"Arrow Indicator"}),M<(l??-1)&&t.jsx("img",{src:"/assets/icons/SideLine.svg",alt:"Side Indicator"})]}),t.jsx(X,{icon:m.icon,label:m.name,active:m.id===e,secondaryIcon:m.completed&&t.jsx(nt,{size:20,className:W.iconCheck})},m.id)]},m.id)))})]})},Nt="_emptyContainer_tmvlz_29",Mt="_imageContent_tmvlz_55",kt="_content_tmvlz_62",St="_buttonContent_tmvlz_69",Dt="_mobile_tmvlz_85",zt="_desktop_tmvlz_86",T={emptyContainer:Nt,imageContent:Mt,content:kt,buttonContent:St,mobile:Dt,desktop:zt},Ot=({children:e,className:s=""})=>t.jsx("div",{className:`${T.emptyContainer} ${s}`,children:e}),It=({children:e,className:s=""})=>t.jsxs(t.Fragment,{children:[t.jsx(j,{className:C(s,T.desktop),variant:"heading-md",children:e}),t.jsx(j,{className:C(s,T.mobile),variant:"heading-sm",children:e})]}),Bt=({children:e,className:s=""})=>t.jsx("div",{className:C(s),children:e}),Lt=({children:e,className:s=""})=>t.jsx("div",{className:`${T.content} ${s}`,children:e}),At=({children:e,className:s=""})=>t.jsx("div",{className:`${T.buttonContent} ${s}`,children:e}),Tt=({children:e,onClick:s,className:r=""})=>t.jsx(he,{state:"primary",size:"medium",className:`${T.buttons} ${r}`,onClick:s,children:e}),qt=({children:e,onClick:s,className:r=""})=>t.jsx(he,{size:"medium",className:`${T.buttons} ${r}`,onClick:s,children:e}),Ht=({src:e,className:s="",alt:r="Empty state image"})=>t.jsx("img",{className:C(T.imageContent,s),src:e,alt:r}),q=Ot;q.Title=It;q.Context=Bt;q.Content=Lt;q.ButtonContent=At;q.PrimaryButton=Tt;q.SecondaryButton=qt;q.Image=Ht;const Et="_formItem_96xeh_29",Pt="_error_96xeh_46",Ft="_label_96xeh_50",Q={formItem:Et,error:Pt,label:Ft},Yt=({label:e,children:s,className:r="",error:l})=>t.jsxs("div",{className:C(Q.formItem,r),children:[e&&t.jsx("label",{className:Q.label,children:e}),t.jsx("div",{className:Q.inputContainer,children:s}),l&&t.jsx("div",{className:Q.error,children:l})]}),Wt=({children:e,className:s=""})=>t.jsx("div",{className:C(Q.helperText,s),children:e}),Ce=Yt;Ce.HelperText=Wt;const Ut="_btn_z8qng_29",Zt="_small_z8qng_42",Jt="_medium_z8qng_45",Vt="_large_z8qng_48",Gt="_primary_z8qng_69",Kt="_tertiary_z8qng_85",Qt="_plain_z8qng_100",ae={"shadow-0":"_shadow-0_z8qng_1","shadow-100":"_shadow-100_z8qng_5","shadow-200":"_shadow-200_z8qng_9","shadow-300":"_shadow-300_z8qng_13","shadow-400":"_shadow-400_z8qng_17","shadow-500":"_shadow-500_z8qng_21","shadow-600":"_shadow-600_z8qng_25",btn:Ut,small:Zt,medium:Jt,large:Vt,default:"_default_z8qng_51","default-selected":"_default-selected_z8qng_62",primary:Gt,"primary-selected":"_primary-selected_z8qng_79",tertiary:Kt,"tertiary-selected":"_tertiary-selected_z8qng_94",plain:Qt,"plain-selected":"_plain-selected_z8qng_111"},be=({state:e="default",size:s="medium",selected:r=!1,disabled:l=!1,children:h,onClick:i=()=>{},className:f="",...p})=>{const $=C(ae.btn,ae[e],ae[s],{[ae[`${e}-selected`]]:r},f);return t.jsx("button",{className:$,onClick:i,disabled:l,...p,children:h})},Xt="_modalLayout_1jmpu_29",Rt="_modalContainer_1jmpu_40",en="_header_1jmpu_64",tn="_close_1jmpu_73",nn="_content_1jmpu_83",sn="_footer_1jmpu_91",Z={modalLayout:Xt,modalContainer:Rt,header:en,close:tn,content:nn,footer:sn},rn=({open:e,onClose:s,children:r})=>e?t.jsx("div",{className:Z.modalLayout,onClick:s,children:t.jsx("div",{className:Z.modalContainer,onClick:l=>l.stopPropagation(),children:r})}):null,an=({children:e,onClose:s})=>t.jsxs("div",{className:Z.header,children:[t.jsx(j,{variant:"heading-sm",children:e}),t.jsx(be,{size:"small",state:"default",className:Z.close,onClick:s,children:t.jsx(ot,{})})]}),on=({children:e})=>t.jsx(j,{variant:"body-md",className:Z.content,children:e}),cn=({children:e})=>t.jsx("div",{className:Z.footer,children:e}),ie=rn;ie.Header=an;ie.Content=on;ie.Footer=cn;const ln="_pageHeader_1lrq1_29",dn="_mg_1lrq1_38",_n="_lg_1lrq1_39",de={pageHeader:ln,mg:dn,lg:_n},un=({children:e})=>t.jsxs("header",{className:de.pageHeader,children:[t.jsx(j,{variant:"heading-xl",className:de.lg,children:e}),t.jsx(j,{variant:"heading-md",className:de.mg,children:e})]}),hn="_container_1g19z_29",mn="_line_1g19z_35",fn="_progress_1g19z_41",_e={container:hn,line:mn,progress:fn},pn=({percent:e})=>t.jsx("div",{className:_e.container,children:t.jsx("div",{className:_e.line,children:t.jsx("div",{className:_e.progress,style:{width:`${e}%`}})})}),gn="_container_1gn8d_29",yn="_notMobile_1gn8d_38",vn="_mobile_1gn8d_47",ue={container:gn,notMobile:yn,mobile:vn},$n=({title:e,extra:s})=>t.jsxs("div",{className:ue.container,children:[t.jsx(j,{variant:"heading-md",className:ue.notMobile,children:e}),t.jsx(j,{variant:"heading-sm",className:ue.mobile,children:e}),s]}),xn="_topBar_xnlee_29",wn="_section_xnlee_66",jn="_scretched_xnlee_73",Cn="_active_xnlee_90",bn="_sm_xnlee_99",Nn="_md_xnlee_100",U={topBar:xn,section:wn,scretched:jn,active:Cn,sm:bn,md:Nn},Mn=({sections:e,activeTab:s,onTabSelect:r,isStretched:l=!0})=>{var h;return t.jsxs("div",{children:[t.jsx("div",{className:U.topBar,children:e.map(i=>t.jsxs("div",{className:C(U.section,l&&U.scretched,s===i.id&&U.active),onClick:()=>r(i.id),children:[t.jsx(j,{variant:"heading-xs",className:U.sm,children:i.title}),t.jsx(j,{variant:"heading-md",className:U.md,children:i.title})]},i.id))}),((h=e.find(i=>i.id===s))==null?void 0:h.component)??t.jsx(j,{variant:"body-lg",children:"Not Found"})]})};exports.Banner=Fe;exports.Button=he;exports.Collapse=vt;exports.CourseCollapse=bt;exports.Empty=q;exports.FormItem=Ce;exports.IconButton=be;exports.Modal=ie;exports.NavigationItem=X;exports.PageHeader=un;exports.ProgressLine=pn;exports.SectionHeader=$n;exports.TopBar=Mn;exports.Typography=j;