@likelion-design/ui 1.0.7 → 1.0.8
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.
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -1
- package/dist/bootcamp-black-HQ5XAYV3.svg +0 -12
- package/dist/bootcamp-primary-H6NGWAZO.svg +0 -12
- package/dist/bootcamp-white-XZIU3P5F.svg +0 -12
- package/dist/favicon-black-J4BEQLLU.svg +0 -16
- package/dist/favicon-primary-CFPI57CU.svg +0 -8
- package/dist/likelion-eng-black-4SX2R7NN.svg +0 -5
- package/dist/likelion-eng-primary-CJG3E2VB.svg +0 -5
- package/dist/likelion-eng-white-Y5UFQG4I.svg +0 -5
- package/dist/likelion-kr-black-ZEA5772C.svg +0 -12
- package/dist/likelion-kr-primary-62X7DUP7.svg +0 -12
- package/dist/likelion-kr-white-ST7I4FW3.svg +0 -12
- package/dist/symbol-black-2T7FXCLT.svg +0 -12
- package/dist/symbol-primary-ZRQGWUW5.svg +0 -12
- package/dist/symbol-white-B3EDKUWQ.svg +0 -12
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var Ct=Object.create;var Fe=Object.defineProperty,Ht=Object.defineProperties,St=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyDescriptors,Tt=Object.getOwnPropertyNames,Qe=Object.getOwnPropertySymbols,Rt=Object.getPrototypeOf,po=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable;var Lo=(e,t,o)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,x=(e,t)=>{for(var o in t||(t={}))po.call(t,o)&&Lo(e,o,t[o]);if(Qe)for(var o of Qe(t))Mo.call(t,o)&&Lo(e,o,t[o]);return e},k=(e,t)=>Ht(e,Vt(t));var _=(e,t)=>{var o={};for(var a in e)po.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&Qe)for(var a of Qe(e))t.indexOf(a)<0&&Mo.call(e,a)&&(o[a]=e[a]);return o};var Bt=(e,t)=>{for(var o in t)Fe(e,o,{get:t[o],enumerable:!0})},Po=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Tt(t))!po.call(e,l)&&l!==o&&Fe(e,l,{get:()=>t[l],enumerable:!(a=St(t,l))||a.enumerable});return e};var E=(e,t,o)=>(o=e!=null?Ct(Rt(e)):{},Po(t||!e||!e.__esModule?Fe(o,"default",{value:e,enumerable:!0}):o,e)),Lt=e=>Po(Fe({},"__esModule",{value:!0}),e);var _a={};Bt(_a,{ActionButton:()=>Ue,BREAKPOINTS:()=>ba,Badge:()=>Ke,BreakpointProvider:()=>zo,Button:()=>Ue,Checkbox:()=>je,CheckboxGroup:()=>to,Chip:()=>ho,ChipGroup:()=>oo,Dialog:()=>Wo,DialogProvider:()=>Xo,IconButton:()=>Do,LAYOUT_SYSTEM:()=>Ia,Logo:()=>vt,MEDIA_QUERIES:()=>ya,Pagination:()=>ko,RadioButton:()=>Xe,RadioButtonGroup:()=>co,SelectBox:()=>no,SelectHeader:()=>Pe,SelectMenu:()=>We,SelectMenuOverlay:()=>Me,TAILWIND_SCREENS:()=>va,Tab:()=>Je,TabGroup:()=>eo,Tag:()=>et,Text:()=>V,TextInput:()=>Qo,Toast:()=>Co,ToastProvider:()=>rt,Toggle:()=>vo,Tooltip:()=>ot,useBreakpoint:()=>Y,useCheckboxGroup:()=>Ko,useDialog:()=>Yo,useMediaQuery:()=>Se,useToast:()=>nt});module.exports=Lt(_a);var Ao=E(require("react"));var V=d=>{var i=d,{variant:e,decoration:t="none",as:o,children:a,className:l=""}=i,r=_(i,["variant","decoration","as","children","className"]);let n=(()=>{if(e.startsWith("heading-")){let p=e.split("-")[1];return p.startsWith("d")?"h1":p}return e.startsWith("subtitle-")?"h3":"p"})(),s=o||n,v=["typography",`typography--${e}`,t!=="none"&&`typography--decoration-${t}`,l].filter(Boolean).join(" ");return Ao.default.createElement(s,x({className:v},r),a)};var J=require("react/jsx-runtime"),Ue=m=>{var g=m,{size:e="medium",color:t="primary",type:o="solid",htmlType:a="button",state:l="enabled",label:r,prefixIcon:d,suffixIcon:i,loading:n=!1,className:s="",disabled:v}=g,p=_(g,["size","color","type","htmlType","state","label","prefixIcon","suffixIcon","loading","className","disabled"]);let c=v||l==="disabled",f=l;o==="ghost"?(l==="hovered"||l==="loading"||n)&&(f="enabled"):f=n?"loading":l;let h=["action-button",`action-button--${e}`,`action-button--${t}`,`action-button--${o}`,`action-button--${f}`,s].filter(Boolean).join(" "),b=e==="xlarge"?"heading-h6":e==="large"||e==="medium"?"subtitle-p2":"subtitle-p3";return(0,J.jsxs)("button",k(x({type:a,className:h,disabled:c},p),{children:[(0,J.jsxs)("span",{className:"action-button__content",children:[d&&(0,J.jsx)("span",{className:"action-button__prefix-icon",children:d}),(0,J.jsx)("p",{className:"action-button__label",children:(0,J.jsx)(V,{variant:b,children:r})}),i&&(0,J.jsx)("span",{className:"action-button__suffix-icon",children:i})]}),n&&o!=="ghost"&&(0,J.jsx)("span",{className:"action-button__spinner","aria-hidden":"true",children:(0,J.jsx)("svg",{className:"action-button__spinner-svg",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsxs)("circle",{className:"action-button__spinner-circle",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"32",children:[(0,J.jsx)("animate",{attributeName:"stroke-dasharray",dur:"2s",values:"0 40;40 40;0 40",repeatCount:"indefinite"}),(0,J.jsx)("animate",{attributeName:"stroke-dashoffset",dur:"2s",values:"0;-40;-80",repeatCount:"indefinite"})]})})})]}))};var fo=require("react/jsx-runtime"),Do=p=>{var m=p,{size:e="large",color:t="primary",type:o="solid",state:a="enabled",icon:l,className:r="",disabled:d,htmlType:i="button",style:n,customColor:s}=m,v=_(m,["size","color","type","state","icon","className","disabled","htmlType","style","customColor"]);let g=d||a==="disabled",c=o==="weak",f=c&&g?"enabled":a,h=s?"":c?`icon-button--weak-${t}`:`icon-button--${t}`,b=c?"icon-button--weak":`icon-button--${o}`,C=["icon-button",`icon-button--${e}`,h,b,`icon-button--${f}`,r].filter(Boolean).join(" "),y=c&&g,u=x(x({},(s==null?void 0:s.background)&&{backgroundColor:s.background}),(s==null?void 0:s.color)&&{color:s.color});return(0,fo.jsx)("button",k(x({type:i,className:C,disabled:g,style:x(x(x({},n),u),y?{opacity:0,pointerEvents:"none"}:{})},v),{children:(0,fo.jsx)("span",{className:"icon-button__icon",children:l})}))};var ge=E(require("react"));var uo=require("react/jsx-runtime"),Ke=d=>{var i=d,{type:e="number",variant:t="primary",value:o,maxValue:a=99,className:l=""}=i,r=_(i,["type","variant","value","maxValue","className"]);let n=["badge",`badge--${t}`,`badge--${e}`,l].filter(Boolean).join(" "),s=e==="number"&&o!==void 0?typeof o=="number"&&o>a?`${a}+`:String(o):null;return(0,uo.jsx)("span",k(x({className:n},r),{children:e==="number"&&s&&(0,uo.jsx)(V,{variant:"subtitle-p3",as:"span",children:s})}))};var we=require("react/jsx-runtime"),Je=v=>{var p=v,{type:e="round",size:t="large",badge:o=!1,label:a,mode:l=!1,className:r="",selected:d,disabled:i=!1,onClick:n}=p,s=_(p,["type","size","badge","label","mode","className","selected","disabled","onClick"]);let[m,g]=(0,ge.useState)(!1),c=d!==void 0,f=c?d:m,h=y=>{i||(c||g(u=>!u),n==null||n(y))},b=i?"disabled":f?"pressed":"enabled",C=["tab",`tab--${e}`,`tab--${t}`,`tab--${b}`,l&&"tab--dark",r].filter(Boolean).join(" ");return(0,we.jsxs)("button",k(x({type:"button",className:C,"aria-pressed":f,disabled:i,onClick:h},s),{children:[(0,we.jsx)("span",{className:"tab__label",children:a}),o&&(0,we.jsx)(Ke,{type:"dot",variant:"primary",className:"tab__badge","aria-label":"\uC54C\uB9BC"})]}))},eo=({value:e,defaultValue:t,onChange:o,type:a="round",size:l="large",mode:r=!1,disabled:d=!1,children:i,className:n=""})=>{let[s,v]=ge.default.useState(t),p=e!==void 0,m=p?e:s,g=["tab-group",`tab-group--${a}`,`tab-group--${l}`,r&&"tab-group--dark",d&&"tab-group--disabled",n].filter(Boolean).join(" "),c=ge.default.Children.map(i,f=>{var h,b,C;if(ge.default.isValidElement(f)&&f.type===Je){let y=f.props.value;if(y===void 0)return console.warn("Tab.Group \uB0B4\uBD80\uC758 Tab\uC740 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),f;let u=m===y;return ge.default.cloneElement(f,{type:(h=f.props.type)!=null?h:a,size:(b=f.props.size)!=null?b:l,mode:(C=f.props.mode)!=null?C:r,selected:u,disabled:d||f.props.disabled,role:"tab","aria-selected":u,onClick:B=>{var L,I;p||v(y),o==null||o(y),(I=(L=f.props).onClick)==null||I.call(L,B)}})}return f});return(0,we.jsx)("div",{className:g,role:"tablist",children:c})};eo.displayName="TabGroup";Je.Group=eo;var xe=E(require("react"));var ke=E(require("react"),1);function Mt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?ke.createElement("title",{id:t},e):null,ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}var Pt=ke.forwardRef(Mt),mo=Pt;var Ce=E(require("react"),1);function At(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ce.createElement("title",{id:t},e):null,Ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}var Dt=Ce.forwardRef(At),go=Dt;var He=E(require("react"),1);function Nt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return He.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?He.createElement("title",{id:t},e):null,He.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}var Et=He.forwardRef(Nt),xo=Et;var re=require("react/jsx-runtime"),No=y=>{var u=y,{type:e="solid",size:t="medium",variant:o="primary",value:a,onChange:l,checked:r,defaultChecked:d=!1,selectedValue:i,selectedValues:n,label:s,prefixIcon:v,suffixIcon:p,showCheck:m,showClose:g=!1,onClose:c,className:f="",disabled:h,onClick:b}=u,C=_(u,["type","size","variant","value","onChange","checked","defaultChecked","selectedValue","selectedValues","label","prefixIcon","suffixIcon","showCheck","showClose","onClose","className","disabled","onClick"]);let[B,L]=xe.default.useState(d),I=r!==void 0,T=xe.default.useMemo(()=>I?r:i!=null?i===a:n!==void 0?n.includes(a):B,[I,r,i,n,a,B]),w=!1;T&&(m===!0?w=!0:m===!1?w=!1:w=e==="outline"&&!v);let H=v||(w?(0,re.jsx)(mo,{className:"chip__check-icon",style:{width:t==="small"?"14px":"16px",height:t==="small"?"14px":"16px"}}):null),S=!!H,R=!!(p||g),P=S&&R?"chip--has-prefix-suffix":S?"chip--has-prefix":R?"chip--has-suffix":"chip--no-icon",N=["chip",`chip--${e}`,`chip--${t}`,`chip--${o}`,P,T&&"chip--checked",h&&"chip--disabled",f].filter(Boolean).join(" "),G=Z=>{h||(!I&&i===void 0&&n===void 0&&L(ae=>!ae),l&&l(a),b==null||b(Z))},A=Z=>{Z.stopPropagation(),c&&!h&&c(Z)};return(0,re.jsxs)("button",k(x({type:"button",className:N,disabled:h,onClick:G,"aria-pressed":T},C),{children:[H&&(0,re.jsx)("span",{className:"chip__prefix-icon",children:H}),(0,re.jsx)(V,{variant:t==="small"?"body-p3":"body-p2",children:s}),p&&!g&&(0,re.jsx)("span",{className:"chip__suffix-icon",children:p}),g&&(0,re.jsx)("button",{type:"button",className:"chip__close-button",onClick:A,disabled:h,"aria-label":"Close",children:(0,re.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,re.jsx)("path",{d:"M8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1ZM10.7803 5.21973C10.4874 4.92683 10.0126 4.92683 9.71973 5.21973L8 6.93945L6.28027 5.21973C5.98738 4.92683 5.51262 4.92683 5.21973 5.21973C4.92683 5.51262 4.92683 5.98738 5.21973 6.28027L6.93945 8L5.21973 9.71973C4.92683 10.0126 4.92683 10.4874 5.21973 10.7803C5.51262 11.0732 5.98738 11.0732 6.28027 10.7803L8 9.06055L9.71973 10.7803C10.0126 11.0732 10.4874 11.0732 10.7803 10.7803C11.0732 10.4874 11.0732 10.0126 10.7803 9.71973L9.06055 8L10.7803 6.28027C11.0732 5.98738 11.0732 5.51262 10.7803 5.21973Z",fill:"currentColor",fillOpacity:"0.56"})})})]}))},oo=m=>{var g=m,{value:e,defaultValue:t,onChange:o,multiple:a=!1,type:l="solid",size:r="medium",variant:d="primary",showCheck:i,disabled:n=!1,children:s,className:v=""}=g,p=_(g,["value","defaultValue","onChange","multiple","type","size","variant","showCheck","disabled","children","className"]);let[c,f]=xe.default.useState(()=>t!=null?t:a?[]:""),h=e!==void 0,b=h?e:c,C=I=>{if(a){let T=Array.isArray(b)?b:[],w=T.includes(I)?T.filter(M=>M!==I):[...T,I];h||f(w),o==null||o(I)}else h||f(I),o==null||o(I)},y=a?void 0:b,u=a?b:void 0,B=["chip-group",v].filter(Boolean).join(" "),L=xe.default.Children.map(s,I=>{var T,w,M,H;return xe.default.isValidElement(I)&&I.type===ho?I.props.value===void 0?(console.warn("Chip.Group \uB0B4\uBD80\uC758 Chip\uC740 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),I):xe.default.cloneElement(I,{type:(T=I.props.type)!=null?T:l,size:(w=I.props.size)!=null?w:r,variant:(M=I.props.variant)!=null?M:d,showCheck:(H=I.props.showCheck)!=null?H:i,selectedValue:y,selectedValues:u,onChange:R=>{var P,N;C(R),(N=(P=I.props).onChange)==null||N.call(P,R)},disabled:n||I.props.disabled}):I});return(0,re.jsx)("div",k(x({className:B},p),{children:L}))};oo.displayName="ChipGroup";No.displayName="Chip";var ho=Object.assign(No,{Group:oo});var Q=E(require("react")),Oo=require("react-dom");var Ve=require("react"),Eo=(0,Ve.createContext)(null),zo=Eo.Provider;function Se(e){return(0,Ve.useSyncExternalStore)(l=>{let r=window.matchMedia(e);return r.addEventListener("change",l),()=>r.removeEventListener("change",l)},()=>window.matchMedia(e).matches,()=>!1)}function Y(){var r,d,i,n;let e=(0,Ve.useContext)(Eo),t=Se("(min-width: 375px) and (max-width: 743px)"),o=Se("(min-width: 744px) and (max-width: 1279px)"),a=Se("(min-width: 1280px)"),l=Se("(max-width: 743px)");return{isMobile:(r=e==null?void 0:e.isMobile)!=null?r:t,isTablet:(d=e==null?void 0:e.isTablet)!=null?d:o,isDesktop:(i=e==null?void 0:e.isDesktop)!=null?i:a,isUnderTablet:(n=e==null?void 0:e.isUnderTablet)!=null?n:l}}var z=require("react/jsx-runtime"),Zo=Q.default.createContext(null),Fo=f=>{var h=f,{open:e=!1,onClose:t,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,variant:l="confirm",align:r,title:d,description:i,icon:n,actionItems:s,footerLayout:v="horizontal",content:p,className:m="",children:g}=h,c=_(h,["open","onClose","closeOnOverlayClick","closeOnEsc","variant","align","title","description","icon","actionItems","footerLayout","content","className","children"]);let{isUnderTablet:b}=Y(),[C,y]=Q.default.useState(!1);if(Q.default.useEffect(()=>(y(!0),()=>y(!1)),[]),Q.default.useEffect(()=>{if(!e)return;let w=window.getComputedStyle(document.body).overflow;if(document.body.style.overflow="hidden",a){let M=H=>{H.key==="Escape"&&(t==null||t())};return window.addEventListener("keydown",M),()=>{window.removeEventListener("keydown",M),document.body.style.overflow=w}}return()=>{document.body.style.overflow=w}},[e,a,t]),!e)return null;let u=r!=null?r:l==="alert"?"left":"center",B=["dialog",`dialog--${l}`,`dialog--${u}`,b?"is-mobile":"",m].filter(Boolean).join(" "),L=w=>{w.target===w.currentTarget&&o&&(t==null||t())},I;p?I=p:g?I=g:I=(0,z.jsxs)(z.Fragment,{children:[(d||n)&&(0,z.jsx)(Uo,{title:d,icon:n}),i&&(0,z.jsx)(Go,{children:i}),s&&s.length>0&&(0,z.jsx)($o,{layout:v,children:s.map((w,M)=>{var H;return(0,z.jsx)(jo,{label:w.label,color:w.color,type:w.type,size:w.size,prefixIcon:w.prefixIcon,suffixIcon:w.suffixIcon,loading:w.loading,disabled:w.disabled,onClick:w.onClick,closeOnClick:(H=w.closeOnClick)!=null?H:!0},`${w.label}-${M}`)})})]});let T=(0,z.jsx)("div",{className:"dialog-overlay",role:"presentation",onClick:L,children:(0,z.jsx)("div",k(x({className:B,role:"dialog","aria-modal":"true"},c),{children:(0,z.jsx)(Zo.Provider,{value:{onClose:t,variant:l},children:I})}))});return C?(0,Oo.createPortal)(T,document.body):null},Uo=r=>{var d=r,{title:e,icon:t,className:o="",children:a}=d,l=_(d,["title","icon","className","children"]);let{isUnderTablet:i}=Y();return(0,z.jsxs)("div",k(x({className:`dialog__header ${o}`},l),{children:[t&&(0,z.jsx)("span",{className:"dialog__icon",children:t}),e&&(0,z.jsx)(V,{variant:i?"subtitle-p1":"heading-h6",children:e}),a]}))},Go=a=>{var l=a,{className:e="",children:t}=l,o=_(l,["className","children"]);return(0,z.jsx)("div",k(x({className:`dialog__body ${e}`},o),{children:(0,z.jsx)("div",{className:"body-p2",children:t})}))},$o=l=>{var r=l,{layout:e="horizontal",className:t="",children:o}=r,a=_(r,["layout","className","children"]);let d=e==="vertical"?"dialog__actions--vertical":"dialog__actions--horizontal";return(0,z.jsx)("div",k(x({className:`dialog__footer dialog__footer--${e} ${t}`},a),{children:(0,z.jsx)("div",{className:`dialog__actions ${d}`,children:o})}))},jo=m=>{var g=m,{label:e,color:t,type:o,size:a,prefixIcon:l,suffixIcon:r,loading:d,disabled:i,onClick:n,closeOnClick:s=!1,style:v}=g,p=_(g,["label","color","type","size","prefixIcon","suffixIcon","loading","disabled","onClick","closeOnClick","style"]);var L;let c=Q.default.useContext(Zo),{isUnderTablet:f}=Y(),h=(L=c==null?void 0:c.variant)!=null?L:"confirm",b=h==="confirm"?"100%":"auto",C=h==="alert"?f?"small":"medium":"large",y=h==="alert"?"outline":"solid",u="neutral",B=I=>{var T;n==null||n(I),s&&((T=c==null?void 0:c.onClose)==null||T.call(c))};return(0,z.jsx)(Ue,x({label:e,size:a!=null?a:C,color:t!=null?t:u,type:o!=null?o:y,prefixIcon:l,suffixIcon:r,loading:d,disabled:i,onClick:B,style:x({width:b},v)},p))},Wo=Object.assign(Fo,{Header:Uo,Body:Go,Footer:$o,Button:jo}),qo=Q.default.createContext(void 0),Xo=({children:e})=>{let[t,o]=Q.default.useState([]),a=Q.default.useCallback(n=>{o(s=>s.filter(v=>v.id!==n))},[]),l=Q.default.useCallback(()=>{o([])},[]),r=Q.default.useCallback(n=>{let s=n.id||`dialog-${Date.now()}-${Math.random()}`;return o(v=>[...v,k(x({},n),{id:s})]),s},[]),d=Q.default.useCallback(n=>new Promise(s=>{var p,m;let v=`alert-${Date.now()}`;r(k(x({},n),{id:v,variant:(p=n.variant)!=null?p:"alert",buttons:[{label:(m=n.confirmLabel)!=null?m:"\uD655\uC778",color:"primary",type:"solid",closeOnClick:!0,onClick:async()=>{var g;await((g=n.onConfirm)==null?void 0:g.call(n)),s()}}],onClose:()=>{s(),a(v)}}))}),[r,a]),i=Q.default.useCallback(n=>new Promise(s=>{var p,m,g;let v=`confirm-${Date.now()}`;r(k(x({},n),{id:v,variant:(p=n.variant)!=null?p:"confirm",buttons:[{label:(m=n.cancelLabel)!=null?m:"\uCDE8\uC18C",color:"neutral",type:"outline",closeOnClick:!0,onClick:async()=>{var c;await((c=n.onCancel)==null?void 0:c.call(n)),s(!1)}},{label:(g=n.confirmLabel)!=null?g:"\uD655\uC778",color:"primary",type:"solid",closeOnClick:!0,onClick:async()=>{var c;await((c=n.onConfirm)==null?void 0:c.call(n)),s(!0)}}],onClose:()=>{s(!1),a(v)}}))}),[r,a]);return(0,z.jsxs)(qo.Provider,{value:{open:r,close:a,closeAll:l,alert:d,confirm:i},children:[e,t.map(n=>(0,z.jsx)(Fo,{open:!0,onClose:()=>{var s;(s=n.onClose)==null||s.call(n),a(n.id)},variant:n.variant,align:n.align,closeOnOverlayClick:n.closeOnOverlayClick,closeOnEsc:n.closeOnEsc,title:n.title,description:n.description,icon:n.icon,actionItems:n.buttons,content:n.content,children:n.content},n.id))]})};function Yo(){let e=Q.default.useContext(qo);if(!e)throw new Error("useDialog must be used within a DialogProvider");return e}var $e=require("react");var Te=E(require("react"),1);function zt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Te.createElement("title",{id:t},e):null,Te.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}))}var Ot=Te.forwardRef(zt),Ge=Ot;var Re=E(require("react"),1);function Zt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Re.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Re.createElement("title",{id:t},e):null,Re.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z",clipRule:"evenodd"}))}var Ft=Re.forwardRef(Zt),bo=Ft;var D=require("react/jsx-runtime"),Qo=y=>{var u=y,{required:e=!1,size:t,error:o=!1,description:a,maxLength:l,prefixIcon:r,suffixIcon:d,suffixUnit:i,title:n,accentIcon:s=!0,className:v="",id:p,value:m,defaultValue:g,readOnly:c,onChange:f,onFocus:h,onBlur:b}=u,C=_(u,["required","size","error","description","maxLength","prefixIcon","suffixIcon","suffixUnit","title","accentIcon","className","id","value","defaultValue","readOnly","onChange","onFocus","onBlur"]);let{isUnderTablet:B}=Y(),L=(0,$e.useId)(),I=p||`textinput-${L}`,[T,w]=(0,$e.useState)(!1),H=(($,K)=>$==="medium"?"pc":$==="small"?"mo":$!=null?$:K?"mo":"pc")(t,B),S=m!==void 0,[R,P]=(0,$e.useState)(g!=null?g:""),N=S?m:R,G=o?"error":"default",A=l?`${String(N).length}/${l}`:void 0,Z=!!A,[ae,be]=typeof A=="string"&&A.includes("/")?A.split("/"):[A,void 0],ve=typeof s=="boolean"?s?(0,D.jsx)(Ge,{className:"help-text__icon-svg"}):null:s,ye=o?"error":"inform",ee=$=>{w(!0),h==null||h($)},Ie=$=>{w(!1),b==null||b($)},pe=$=>{let K=$.target.value;l!=null&&K.length>l&&(K=K.slice(0,l),$.target.value=K),S||P(K),f==null||f($)},_e=["text-input",`text-input--${H}`,`text-input--${G}`,T&&"text-input--focused",v].filter(Boolean).join(" ");return(0,D.jsxs)("div",{className:"text-input-wrapper",children:[n&&(0,D.jsxs)("label",{htmlFor:I,className:"flex items-center gap-1",children:[(0,D.jsx)(V,{variant:"body-p3",children:n}),e&&(0,D.jsx)("span",{className:"text-input__required",children:" *"})]}),(0,D.jsx)("div",{className:`text-input-shell text-input-shell--${G} text-input-shell--${H}${c?" text-input-shell--readonly":""}`,children:(0,D.jsxs)("div",{className:`text-input-container text-input-container--${H}`,children:[r&&(0,D.jsx)("span",{className:"text-input__left-section",children:r}),(0,D.jsx)("input",k(x({},C),{id:I,readOnly:c,className:_e,value:N,onChange:pe,onFocus:ee,onBlur:Ie,maxLength:l,"aria-invalid":o,"aria-describedby":a||A?`${I}-description`:void 0})),(d||i)&&(0,D.jsxs)("div",{className:"text-input__right-section",children:[d&&(0,D.jsx)(D.Fragment,{children:d}),i&&(0,D.jsx)(D.Fragment,{children:i})]})]})}),(a||Z)&&(0,D.jsx)("div",{id:`${I}-description`,className:"text-input__footer",children:(0,D.jsxs)("div",{className:`help-text-wrapper ${a&&Z?"help-text-wrapper--between":a?"help-text-wrapper--start":"help-text-wrapper--end"}`,children:[a&&(0,D.jsxs)("span",{className:`help-text help-text--${ye}`,children:[ve&&(0,D.jsx)("span",{className:"help-text__icon",children:ve}),typeof a=="string"||typeof a=="number"?(0,D.jsx)(V,{variant:"body-p3",className:"help-text__content",children:a}):(0,D.jsx)("span",{className:"help-text__content",children:a})]}),Z&&(0,D.jsxs)("span",{className:`help-text__count help-text__count--${ye}`,children:[ae&&(0,D.jsx)(V,{variant:"body-p3",className:"help-text__count-number",children:ae}),be&&(0,D.jsxs)(V,{variant:"body-p3",className:"help-text__count-total",children:["/",be]})]})]})})]})};var Be=E(require("react"));var ne=require("react/jsx-runtime"),vo=Be.default.forwardRef((m,p)=>{var g=m,{size:e="medium",label:t,labelPosition:o="end",description:a,checked:l,defaultChecked:r=!1,onChange:d,disabled:i,className:n="",id:s}=g,v=_(g,["size","label","labelPosition","description","checked","defaultChecked","onChange","disabled","className","id"]);let c=Be.default.useRef(null),f=Be.default.useMemo(()=>typeof p=="function"?w=>{c.current=w,p(w)}:p?w=>{c.current=w,p&&(p.current=w)}:w=>{c.current=w},[p]),[h,b]=Be.default.useState(r),C=l!==void 0,y=C?l:h,u=w=>{i||(C||b(w.target.checked),d==null||d(w))},B=Be.default.useId(),L=s||B,I=a?`${L}-description`:void 0,T=["toggle",`toggle--${e}`,o==="start"&&"toggle--label-start",i&&"toggle--disabled",n].filter(Boolean).join(" ");return(0,ne.jsxs)("div",{className:T,children:[(0,ne.jsxs)("div",{className:"toggle__wrapper",children:[(0,ne.jsx)("input",x({ref:f,type:"checkbox",id:L,checked:y,defaultChecked:r,onChange:u,disabled:i,"aria-describedby":I,className:"toggle__input",role:"switch","aria-checked":y},v)),(0,ne.jsxs)("label",{htmlFor:L,className:"toggle__label-wrapper",children:[o==="start"&&t&&(0,ne.jsx)(V,{variant:e==="medium"?"body-p2":"body-p3",as:"span",children:t}),(0,ne.jsx)("span",{className:"toggle__switch",children:(0,ne.jsx)("span",{className:"toggle__thumb"})}),o==="end"&&t&&(0,ne.jsx)(V,{variant:e==="medium"?"body-p2":"body-p3",as:"span",children:t})]})]}),a&&(0,ne.jsx)("div",{id:I,className:"toggle__description",children:a})]})});vo.displayName="Toggle";var oe=E(require("react"));var Le=require("@remixicon/react");var W=require("react/jsx-runtime"),je=oe.default.forwardRef((g,m)=>{var c=g,{label:e,labelProps:t,description:o,value:a,checked:l,defaultChecked:r=!1,onChange:d,disabled:i,indeterminate:n=!1,className:s="",id:v}=c,p=_(c,["label","labelProps","description","value","checked","defaultChecked","onChange","disabled","indeterminate","className","id"]);var S,R;let f=oe.default.useRef(null),h=oe.default.useMemo(()=>typeof m=="function"?P=>{f.current=P,m(P)}:m?P=>{f.current=P,m&&(m.current=P)}:P=>{f.current=P},[m]);oe.default.useEffect(()=>{f.current&&(f.current.indeterminate=n)},[n]);let[b,C]=oe.default.useState(r),y=l!==void 0,u=y?l:b,B=P=>{i||(y||C(P.target.checked),d==null||d(P))},L=oe.default.useId(),I=v||L,T=o?`${I}-description`:void 0,w=["checkbox",i&&"checkbox--disabled",s].filter(Boolean).join(" "),M=t!=null?t:{},H=["checkbox__label-text",M.className].filter(Boolean).join(" ");return(0,W.jsxs)("div",{className:w,children:[(0,W.jsxs)("div",{className:"checkbox__wrapper",children:[(0,W.jsx)("input",x({ref:h,type:"checkbox",id:I,checked:u,defaultChecked:r,onChange:B,disabled:i,value:a,"aria-describedby":T||void 0,className:"checkbox__input"},p)),(0,W.jsxs)("label",{htmlFor:I,className:"checkbox__label-wrapper",children:[(0,W.jsx)("span",{className:"checkbox__icon-wrapper","aria-hidden":"true",children:n?(0,W.jsx)(Le.RiCheckboxIndeterminateFill,{className:"checkbox__icon"}):u?(0,W.jsx)(Le.RiCheckboxFill,{className:"checkbox__icon"}):(0,W.jsx)(Le.RiCheckboxBlankLine,{className:"checkbox__icon"})}),e&&(0,W.jsx)(V,k(x({variant:(S=M.variant)!=null?S:"body-p2",as:(R=M.as)!=null?R:"span"},M),{className:H,children:e}))]})]}),o&&(0,W.jsx)("div",{id:T,className:"checkbox__description",children:o})]})});je.displayName="Checkbox";var to=({label:e,labelProps:t,description:o,descriptionProps:a,multiple:l=!0,value:r,defaultValue:d=[],onChange:i,disabled:n,children:s,className:v=""})=>{var T,w,M,H;let[p,m]=oe.default.useState(d),g=r!==void 0,c=g?r:p,f=(S,R)=>{let P=l?R?[...c,S]:c.filter(N=>N!==S):R?[S]:[];g||m(P),i==null||i(P)},h=oe.default.useId(),b=o?`${h}-description`:void 0,C=t!=null?t:{},y=a!=null?a:{},u=["checkbox-group__label",C.className].filter(Boolean).join(" "),B=["checkbox-group__description",y.className].filter(Boolean).join(" "),L=["checkbox-group",n&&"checkbox-group--disabled",v].filter(Boolean).join(" "),I=oe.default.Children.map(s,S=>{if(oe.default.isValidElement(S)&&S.type===je){let R=S.props.value;if(R===void 0)return console.warn("Checkbox.Group \uB0B4\uBD80\uC758 Checkbox\uB294 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),S;let P=c.includes(R);return oe.default.cloneElement(S,{checked:P,onChange:N=>{var G,A;f(R,N.target.checked),(A=(G=S.props).onChange)==null||A.call(G,N)},disabled:n||S.props.disabled})}return S});return(0,W.jsxs)("div",{className:L,children:[e&&(0,W.jsx)(V,k(x({variant:(T=C.variant)!=null?T:"subtitle-p2",as:(w=C.as)!=null?w:"div"},C),{className:u,children:e})),o&&(0,W.jsx)(V,k(x({id:b,variant:(M=y.variant)!=null?M:"body-p3",as:(H=y.as)!=null?H:"div"},y),{className:B,children:o})),(0,W.jsx)("div",{className:"checkbox-group__content",children:I})]})};to.displayName="CheckboxGroup";je.Group=to;var ao=E(require("react"));function Ko(e){let{options:t,defaultValue:o=[],value:a,onChange:l}=e,[r,d]=ao.default.useState(o),i=a!==void 0,n=i?a:r,s=ao.default.useCallback(f=>{i||d(f),l==null||l(f)},[i,l]),v=n.length===t.length,p=n.length>0,m=v,g=p&&!v,c=ao.default.useCallback(f=>{s(f.target.checked?[...t]:[])},[t,s]);return{value:n,onChange:s,selectAllChecked:m,selectAllIndeterminate:g,handleSelectAll:c,selectAllProps:{checked:m,indeterminate:g,onChange:c}}}var ro=E(require("react"));var se=E(require("react"));var Jo=require("@remixicon/react");var ie=require("react/jsx-runtime"),We=se.default.forwardRef((e,t)=>{let M=e,{items:o,size:a,value:l,defaultValue:r,onChange:d,multiple:i,itemTextProps:n,suffixIcon:s,className:v="",id:p}=M,m=_(M,["items","size","value","defaultValue","onChange","multiple","itemTextProps","suffixIcon","className","id"]),g=Object.prototype.hasOwnProperty.call(e,"value"),[c,f]=se.default.useState(r),h=g?l:c,b=!!i,{isUnderTablet:C}=Y(),y=a!=null?a:C?"small":"medium",u=se.default.useId(),B=p||`select-menu-${u}`,L=H=>{let S;if(b){let R=Array.isArray(h)?h:h?[h]:[];S=R.includes(H)?R.filter(P=>P!==H):[...R,H]}else S=h===H?void 0:H;g||f(S),d==null||d(S)},I=["select-menu",`select-menu--${y}`,v].filter(Boolean).join(" "),T=n!=null?n:{},w=y==="medium"?"body-p2":"body-p3";return(0,ie.jsx)("div",k(x({ref:t,id:B,className:I,role:"listbox"},m),{children:o.map((H,S)=>{var A,Z;let R=Array.isArray(h)?h.includes(H.value):h===H.value,P=`${B}-option-${H.value}`,N=(0,ie.jsx)(Jo.RiCheckboxCircleFill,{className:"select-menu__suffix-icon"}),G=typeof s=="function"?s(H):s!=null?s:N;return(0,ie.jsxs)("button",{id:P,type:"button",role:"option","aria-selected":R,disabled:H.disabled,className:"select-menu__item",onClick:()=>!H.disabled&&L(H.value),children:[(0,ie.jsx)(V,k(x({variant:(A=T.variant)!=null?A:w,as:(Z=T.as)!=null?Z:"span"},T),{className:["select-menu__item-text",T.className].filter(Boolean).join(" "),children:H.label})),R&&(0,ie.jsx)("span",{className:"select-menu__suffix",children:G})]},H.value)})}))});We.displayName="SelectMenu";var Me=d=>{var i=d,{children:e,open:t,defaultOpen:o=!1,onOpenChange:a,menuContainerStyle:l}=i,r=_(i,["children","open","defaultOpen","onOpenChange","menuContainerStyle"]);let[n,s]=se.default.useState(o),v=t!==void 0,p=v?t:n,m=se.default.useRef(null),g=h=>{v||s(h),a==null||a(h)};se.default.useEffect(()=>{if(!p)return;let h=b=>{m.current&&(m.current.contains(b.target)||g(!1))};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[p,g]);let c=()=>{g(!p)},f=e;if(se.default.isValidElement(e)){let h=e.props.onClick;f=se.default.cloneElement(e,k(x({},e.props),{onClick:b=>{h==null||h(b),c()},"aria-haspopup":"listbox","aria-expanded":p}))}else f=(0,ie.jsx)("button",{type:"button",onClick:c,"aria-haspopup":"listbox","aria-expanded":p,children:e});return(0,ie.jsxs)("div",{ref:m,style:{position:"relative",display:"inline-flex"},children:[f,p&&(0,ie.jsx)("div",{style:x({position:"absolute",top:"100%",left:0,marginTop:4,zIndex:1e3},l),children:(0,ie.jsx)(We,k(x({},r),{style:k(x({},r.style),{width:"100%",minWidth:0})}))})]})};Me.displayName="SelectMenuOverlay";var O=require("react/jsx-runtime"),Pe=ro.default.forwardRef((P,R)=>{var N=P,{type:e="outlined",title:t,required:o=!1,value:a,placeholder:l="\uC120\uD0DD\uD558\uC138\uC694",disabled:r=!1,error:d=!1,description:i,accentIcon:n=!0,onClick:s,onClear:v,icon:p,className:m="",id:g,items:c,defaultValue:f,onChange:h,multiple:b,showClear:C,wrapperClassName:y="",wrapperStyle:u,width:B,size:L,menuItemTextProps:I,menuSuffixIcon:T,menuGap:w=8,menuClassName:M,menuStyle:H}=N,S=_(N,["type","title","required","value","placeholder","disabled","error","description","accentIcon","onClick","onClear","icon","className","id","items","defaultValue","onChange","multiple","showClear","wrapperClassName","wrapperStyle","width","size","menuItemTextProps","menuSuffixIcon","menuGap","menuClassName","menuStyle"]);let{isUnderTablet:G}=Y(),A=ro.default.useId(),Z=g||`select-header-${A}`,ae=i?`${Z}-description`:void 0,be=L==="medium"?"web-tab":L==="small"||G?"mo":"web-tab",[ve,ye]=ro.default.useState(f),ee=c!=null&&c.length>0,Ie=a!==void 0,pe;ee&&(pe=Ie?a===null?void 0:a:ve);let _e=de=>{Ie||ye(de),h==null||h(de)},$=(()=>{var de;if(ee){let me=pe;if(me==null||Array.isArray(me)&&me.length===0)return null;if(Array.isArray(me))return me.map(Ye=>{var Ro,Bo;return(Bo=(Ro=c.find(kt=>kt.value===Ye))==null?void 0:Ro.label)!=null?Bo:Ye}).filter(Boolean).join(", ");let To=(de=c.find(Ye=>Ye.value===me))==null?void 0:de.label;return To!=null?String(To):me}return a==null?null:Array.isArray(a)?a.join(", "):typeof a=="string"?a:null})(),K=!!$,yt=C!==void 0?C:K&&!r&&(ee?!!h:!!v),So=typeof n=="boolean"?n?d?(0,O.jsx)(Ge,{className:"help-text__icon-svg"}):(0,O.jsx)(bo,{className:"help-text__icon-svg"}):null:n,It=d?"error":"inform",_t=["select-header",`select-header--${be}`,`select-header--${e}`,r&&"select-header--disabled",d&&"select-header--error",K&&"select-header--has-value",B&&"select-header--full",m].filter(Boolean).join(" "),wt=de=>{de.stopPropagation(),ee?_e(void 0):v==null||v(de)},Vo=(0,O.jsxs)("button",k(x({ref:R,type:"button",id:Z,className:_t,disabled:r,onClick:s,"aria-haspopup":"listbox","aria-describedby":ae},S),{children:[(0,O.jsx)("span",{className:"select-header__content",children:K?(0,O.jsx)(V,{as:"span",variant:"body-p2",children:$}):(0,O.jsx)(V,{as:"span",variant:"body-p2",children:l})}),(0,O.jsxs)("span",{className:"select-header__actions",children:[yt&&(0,O.jsx)("button",{type:"button",className:"select-header__clear",onClick:wt,"aria-label":"\uAC12 \uC9C0\uC6B0\uAE30",children:(0,O.jsx)(xo,{className:"select-header__clear-icon"})}),(0,O.jsx)("span",{className:"select-header__icon",children:p||(0,O.jsx)(go,{className:"select-header__chevron"})})]})]}));return(0,O.jsxs)("div",{className:`select-header-wrapper ${y}`,style:x(x({},u),B?{width:B}:{}),children:[(t||o)&&(0,O.jsxs)("label",{htmlFor:Z,className:"select-header__label",children:[t&&(0,O.jsx)(V,{as:"span",variant:"subtitle-p3",children:t}),o&&(0,O.jsx)(V,{as:"span",variant:"subtitle-p3",className:"text-info-negative",children:"*"})]}),ee?(0,O.jsx)(Me,{items:c,value:pe,multiple:b,onChange:_e,menuContainerStyle:{width:"100%",marginTop:w},itemTextProps:I,suffixIcon:T,className:M,style:H,children:Vo}):Vo,i&&(0,O.jsx)("div",{id:ae,className:"select-header__footer",children:(0,O.jsxs)("span",{className:`help-text help-text--${It}`,children:[So&&(0,O.jsx)("span",{className:"help-text__icon",children:So}),(0,O.jsx)(V,{as:"span",variant:"body-p3",children:i})]})})]})});Pe.displayName="SelectHeader";var Ae=E(require("react"),1);function Ut(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ae.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ae.createElement("title",{id:t},e):null,Ae.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}var Gt=Ae.forwardRef(Ut),qe=Gt;var De=E(require("react"),1);function $t(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return De.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?De.createElement("title",{id:t},e):null,De.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}var jt=De.forwardRef($t),yo=jt;var Ne=E(require("react"),1);function Wt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ne.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ne.createElement("title",{id:t},e):null,Ne.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}var qt=Ne.forwardRef(Wt),Io=qt;var Ee=E(require("react"),1);function Xt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ee.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ee.createElement("title",{id:t},e):null,Ee.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}var Yt=Ee.forwardRef(Xt),_o=Yt;var ze=E(require("react"),1);function Qt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return ze.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?ze.createElement("title",{id:t},e):null,ze.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))}var Kt=ze.forwardRef(Qt),wo=Kt;var j=require("react/jsx-runtime"),Jt=()=>(0,j.jsx)("span",{className:"select-box__spinner","aria-hidden":"true",children:(0,j.jsx)("svg",{className:"select-box__spinner-svg",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsxs)("circle",{className:"select-box__spinner-circle",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"32",children:[(0,j.jsx)("animate",{attributeName:"stroke-dasharray",dur:"2s",values:"0 40;40 40;0 40",repeatCount:"indefinite"}),(0,j.jsx)("animate",{attributeName:"stroke-dashoffset",dur:"2s",values:"0;-40;-80",repeatCount:"indefinite"})]})})}),no=T=>{var w=T,{type:e="label",size:t="medium",state:o="default",label:a,required:l=!1,placeholder:r="\uC120\uD0DD\uD558\uC138\uC694",items:d,value:i,defaultValue:n,onChange:s,multiple:v,helperText:p,className:m,style:g,width:c,headerType:f="outlined",onClear:h,showClear:b,wrapperStyle:C,onClick:y,id:u,itemTextProps:B,suffixIcon:L}=w,I=_(w,["type","size","state","label","required","placeholder","items","value","defaultValue","onChange","multiple","helperText","className","style","width","headerType","onClear","showClear","wrapperStyle","onClick","id","itemTextProps","suffixIcon"]);let M=o==="disabled"||o==="loading",H=o==="error",S=o==="success",R=e==="label"||e==="placeholder",N=e==="placeholder"||e==="default"?r:"\uC120\uD0DD\uD558\uC138\uC694",G=t==="full"?"100%":c!==void 0?typeof c=="number"?`${c}px`:c:void 0,A=o==="loading"?(0,j.jsx)(Jt,{}):void 0,Z=typeof m=="object"&&m!==null&&("root"in m||"header"in m||"menu"in m),ae=typeof g=="object"&&g!==null&&!Array.isArray(g)&&("root"in g||"header"in g||"menu"in g),be=Z?m.root:m,ve=Z?m.header:void 0,ye=Z?m.menu:void 0,ee=g,Ie=ae?ee.root:ee,pe=ae?ee.header:void 0,_e=ae?ee.menu:void 0,$=["select-box",`select-box--${t}`,`select-box--${o}`,H&&"select-box--error",S&&"select-box--success",be].filter(Boolean).join(" "),K=p&&(H||S)?(0,j.jsx)("div",{className:"select-box__footer",children:(0,j.jsxs)("span",{className:`help-text help-text--${H?"error":"success"}`,children:[H?(0,j.jsx)("span",{className:"help-text__icon",children:(0,j.jsx)(yo,{className:"help-text__icon-svg"})}):(0,j.jsx)("span",{className:"help-text__icon",children:(0,j.jsx)(qe,{className:"help-text__icon-svg"})}),(0,j.jsx)(V,{as:"span",variant:"body-p3",children:p})]})}):null;return(0,j.jsxs)("div",{className:$,style:Ie,children:[(0,j.jsx)(Pe,x({type:f,size:t==="small"?"small":"medium",title:R?a:void 0,required:l,placeholder:N,items:d,value:i,defaultValue:n,onChange:s,multiple:v,disabled:M,error:H,accentIcon:!1,icon:A,onClear:h,showClear:b,wrapperStyle:pe||C?x(x({},C),pe):void 0,wrapperClassName:["select-box__header-wrapper",ve].filter(Boolean).join(" "),menuClassName:ye,menuStyle:_e,onClick:y,id:u,menuItemTextProps:B,menuSuffixIcon:L,width:G},I)),K]})};no.displayName="SelectBox";var io=E(require("react"));var le=require("@remixicon/react");var F=require("react/jsx-runtime"),Oe=(e,t)=>{let o=t-e+1;return Array.from({length:o},(a,l)=>e+l)},ea=({totalPages:e,currentPage:t,siblingCount:o,showEdgeButtons:a,showPrevNext:l})=>{if(e<=0)return[];let r=Math.min(Math.max(t,1),e),d=[],i=p=>d.push(p),n=r===1,s=r===e;a&&i({type:"first",page:1,key:"first",disabled:n}),l&&i({type:"prev",page:Math.max(1,r-1),key:"prev",disabled:n});let v=o*2+5;if(e<=v)Oe(1,e).forEach(p=>i({type:"page",page:p,key:`page-${p}`,selected:p===r}));else{let p=Math.max(r-o,2),m=Math.min(r+o,e-1),g=p>2,c=m<e-1;if(i({type:"page",page:1,key:"page-1",selected:r===1}),!g&&c){let f=3+2*o;Oe(2,f).forEach(b=>i({type:"page",page:b,key:`page-dynamic-${b}-${r}`,selected:b===r})),i({type:"ellipsis",key:`ellipsis-right-${m}`}),i({type:"page",page:e,key:`page-${e}`,selected:r===e})}else if(g&&!c){i({type:"ellipsis",key:`ellipsis-left-${p}`});let f=3+2*o;Oe(e-f+1,e-1).forEach(b=>i({type:"page",page:b,key:`page-dynamic-${b}-${r}`,selected:b===r})),i({type:"page",page:e,key:`page-${e}`,selected:r===e})}else g&&c?(i({type:"ellipsis",key:`ellipsis-left-${p}`}),Oe(p,m).forEach(f=>i({type:"page",page:f,key:`page-dynamic-${f}-${r}`,selected:f===r})),i({type:"ellipsis",key:`ellipsis-right-${m}`}),i({type:"page",page:e,key:`page-${e}`,selected:r===e})):Oe(1,e).forEach(f=>i({type:"page",page:f,key:`page-dynamic-${f}-${r}`,selected:f===r}))}return l&&i({type:"next",page:Math.min(e,r+1),key:"next",disabled:s}),a&&i({type:"last",page:e,key:"last",disabled:s}),d},oa=({totalPages:e,currentPage:t})=>{if(e<=0)return[];let o=Math.min(Math.max(t,1),e),a=[],l=i=>a.push(i),r=o===1,d=o===e;return l({type:"prev",page:Math.max(1,o-1),key:"prev",disabled:r}),Oe(1,e).forEach(i=>l({type:"page",page:i,key:`page-${i}`,selected:i===o})),l({type:"next",page:Math.min(e,o+1),key:"next",disabled:d}),a},ko=d=>{var i=d,{totalPages:e,currentPage:t,onChange:o,type:a="basic",className:l=""}=i,r=_(i,["totalPages","currentPage","onChange","type","className"]);let n="web-tab",s=a!=null?a:"basic",v=io.default.useMemo(()=>s==="basic"?oa({totalPages:e,currentPage:t}):ea({totalPages:e,currentPage:t,siblingCount:1,showEdgeButtons:!1,showPrevNext:!0}),[e,t,s]),p=io.default.useCallback(c=>{c.disabled||c.page&&(o==null||o(c.page))},[o]),m=io.default.useCallback(c=>{c==="ellipsis-left"?o==null||o(1):c==="ellipsis-right"&&(o==null||o(e))},[o,e]),g=["pagination",`pagination--${n}`,l].filter(Boolean).join(" ");return(0,F.jsx)("nav",k(x({className:g,"aria-label":"\uD398\uC774\uC9C0\uB124\uC774\uC158"},r),{children:(0,F.jsx)("ul",{className:"pagination__list",children:v.map(c=>{let f=c.type==="page",h=!!c.selected,b=!!c.disabled,C=["pagination__button",`pagination__button--${c.type}`,f&&"pagination__button--page",h&&"pagination__button--selected",b&&"pagination__button--disabled"].filter(Boolean).join(" "),y=c.type==="page"?String(c.page):c.type==="prev"?"\uC774\uC804 \uD398\uC774\uC9C0":c.type==="next"?"\uB2E4\uC74C \uD398\uC774\uC9C0":c.type==="first"?"\uCCAB \uD398\uC774\uC9C0":c.type==="last"?"\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0":"",u=c.type==="page"?`${c.page}\uD398\uC774\uC9C0`:y;return c.type==="ellipsis"?(0,F.jsx)("li",{className:"pagination__item pagination__item--ellipsis",children:(0,F.jsx)("button",{type:"button",className:"pagination__button pagination__button--ellipsis",onClick:()=>m(c.key),"aria-label":c.key==="ellipsis-left"?"\uCCAB \uD398\uC774\uC9C0\uB85C \uC774\uB3D9":"\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:(0,F.jsx)(le.RiMoreLine,{})})},c.key):(0,F.jsx)("li",{className:"pagination__item",children:(0,F.jsxs)("button",{type:"button",className:C,onClick:()=>p(c),disabled:b,"aria-label":u,"aria-current":f&&h?"page":void 0,children:[c.type==="prev"&&(0,F.jsx)(le.RiArrowLeftSLine,{className:"pagination__icon"}),c.type==="next"&&(0,F.jsx)(le.RiArrowRightSLine,{className:"pagination__icon"}),c.type==="first"&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(le.RiArrowLeftSLine,{className:"pagination__icon pagination__icon--double"}),(0,F.jsx)(le.RiArrowLeftSLine,{className:"pagination__icon pagination__icon--double"})]}),c.type==="last"&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(le.RiArrowRightSLine,{className:"pagination__icon pagination__icon--double"}),(0,F.jsx)(le.RiArrowRightSLine,{className:"pagination__icon pagination__icon--double"})]}),c.type==="page"&&(0,F.jsx)(V,{as:"span",variant:n==="web-tab"?"body-p2":"body-p3",children:c.page})]})},c.key)})})}))};ko.displayName="Pagination";var ce=E(require("react"));var lo=require("@remixicon/react");var q=require("react/jsx-runtime"),Xe=ce.default.forwardRef((c,g)=>{var f=c,{label:e,labelProps:t,description:o,value:a,checked:l,defaultChecked:r=!1,onChange:d,disabled:i,className:n="",id:s,name:v,onClick:p}=f,m=_(f,["label","labelProps","description","value","checked","defaultChecked","onChange","disabled","className","id","name","onClick"]);var N,G;let[h,b]=ce.default.useState(r),C=l!==void 0,y=C?l:h,u=A=>{i||(C||b(A.target.checked),d==null||d(A))},B=A=>{if(y&&!i){A.preventDefault(),C||b(!1);let Z=k(x({},A),{target:k(x({},A.target),{checked:!1})});d==null||d(Z)}p==null||p(A)},L=ce.default.useId(),I=s||L,T=o?`${I}-description`:void 0,[w,M]=ce.default.useState(!1),H=["radio-button",i&&"radio-button--disabled",n].filter(Boolean).join(" "),S=["radio-button__label-wrapper",w&&!y&&!i&&"radio-button__label-wrapper--hovered"].filter(Boolean).join(" "),R=t!=null?t:{},P=["radio-button__label-text",R.className].filter(Boolean).join(" ");return(0,q.jsxs)("div",{className:H,"data-checked":y,children:[(0,q.jsxs)("div",{className:"radio-button__wrapper",children:[(0,q.jsx)("input",x({ref:g,type:"radio",id:I,name:v,checked:y,defaultChecked:r,onChange:u,onClick:B,disabled:i,value:a,"aria-describedby":T||void 0,className:"radio-button__input"},m)),(0,q.jsxs)("label",{htmlFor:I,className:S,onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:[(0,q.jsx)("span",{className:"radio-button__icon-wrapper","aria-hidden":"true",children:y?(0,q.jsx)(lo.RiRadioButtonLine,{className:"radio-button__icon"}):(0,q.jsx)(lo.RiCircleLine,{className:"radio-button__icon"})}),e&&(0,q.jsx)(V,k(x({variant:(N=R.variant)!=null?N:"body-p2",as:(G=R.as)!=null?G:"span"},R),{className:P,children:e}))]})]}),o&&(0,q.jsx)("div",{id:T,className:"radio-button__description",children:o})]})});Xe.displayName="RadioButton";var co=({label:e,labelProps:t,description:o,descriptionProps:a,value:l,defaultValue:r,onChange:d,disabled:i,name:n,children:s,className:v=""})=>{var T,w,M,H;let[p,m]=ce.default.useState(r),g=l!==void 0,c=g?l:p,f=ce.default.useId(),h=n||`radio-group-${f}`,b=o?`${f}-description`:void 0,C=t!=null?t:{},y=a!=null?a:{},u=["radio-button-group__label",C.className].filter(Boolean).join(" "),B=["radio-button-group__description",y.className].filter(Boolean).join(" "),L=["radio-button-group",i&&"radio-button-group--disabled",v].filter(Boolean).join(" "),I=ce.default.Children.map(s,S=>{if(ce.default.isValidElement(S)&&S.type===Xe){let R=S.props.value;if(R===void 0)return console.warn("RadioButton.Group \uB0B4\uBD80\uC758 RadioButton\uC740 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),S;let P=c===R;return ce.default.cloneElement(S,{name:h,checked:P,onChange:N=>{var G,A;N.target.checked?(g||m(R),d==null||d(R)):(g||m(void 0),d==null||d(void 0)),(A=(G=S.props).onChange)==null||A.call(G,N)},disabled:i||S.props.disabled})}return S});return(0,q.jsxs)("div",{className:L,role:"radiogroup","aria-describedby":b||void 0,children:[e&&(0,q.jsx)(V,k(x({variant:(T=C.variant)!=null?T:"subtitle-p2",as:(w=C.as)!=null?w:"div"},C),{className:u,children:e})),o&&(0,q.jsx)(V,k(x({id:b,variant:(M=y.variant)!=null?M:"body-p3",as:(H=y.as)!=null?H:"div"},y),{className:B,children:o})),(0,q.jsx)("div",{className:"radio-button-group__content",children:I})]})};co.displayName="RadioButtonGroup";Xe.Group=co;var Ze=require("react/jsx-runtime"),et=n=>{var s=n,{type:e="solid",size:t="medium",state:o="enabled",label:a,prefixIcon:l,suffixIcon:r,className:d=""}=s,i=_(s,["type","size","state","label","prefixIcon","suffixIcon","className"]);let v=e==="weak"?o:"enabled",p=["tag",`tag--${e}`,`tag--${t}`,`tag--${v}`,d].filter(Boolean).join(" ").trim(),m=t==="medium"?"body-p2":"body-p3";return(0,Ze.jsxs)("span",k(x({},i),{className:p,children:[l&&(0,Ze.jsx)("span",{className:"tag__prefix-icon",children:l}),(0,Ze.jsx)(V,{variant:m,children:a}),r&&(0,Ze.jsx)("span",{className:"tag__suffix-icon",children:r})]}))};var fe=require("react");var te=require("react/jsx-runtime"),ot=({label:e,type:t="word",prefixIcon:o,onClose:a,direction:l="top",withArrow:r=!0,opened:d,defaultOpened:i=!1,disabled:n=!1,width:s,offset:v=8,withinPortal:p=!0,openDelay:m=0,closeDelay:g=0,children:c,className:f=""})=>{let[h,b]=(0,fe.useState)(i),C=(0,fe.useRef)(null),y=(0,fe.useRef)(null),u=(0,fe.useRef)(null),B=d!==void 0,L=B?d:h;(0,fe.useEffect)(()=>()=>{y.current&&clearTimeout(y.current),u.current&&clearTimeout(u.current)},[]);let I=()=>{!n&&!B&&(u.current&&(clearTimeout(u.current),u.current=null),m>0?y.current=setTimeout(()=>{b(!0)},m):b(!0))},T=()=>{!n&&!B&&(y.current&&(clearTimeout(y.current),y.current=null),g>0?u.current=setTimeout(()=>{b(!1)},g):b(!1))},w=()=>{!n&&!B&&(u.current&&(clearTimeout(u.current),u.current=null),m>0?y.current=setTimeout(()=>{b(!0)},m):b(!0))},M=()=>{!n&&!B&&(y.current&&(clearTimeout(y.current),y.current=null),g>0?u.current=setTimeout(()=>{b(!1)},g):b(!1))},H=R=>{R.stopPropagation(),a&&a(R),!n&&!B&&b(!1)},S=(0,te.jsxs)("div",{className:`tooltip tooltip--${t} tooltip--${l} ${r?"tooltip--with-arrow":""} ${f}`,style:s?{width:typeof s=="number"?`${s}px`:s}:void 0,role:"tooltip",children:[(0,te.jsxs)("div",{className:"tooltip__content",children:[o&&(0,te.jsx)("div",{className:"tooltip__prefix-icon",children:o}),(0,te.jsx)("div",{className:"tooltip__label",children:(0,te.jsx)(V,{variant:"body-p3",children:e})}),a&&(0,te.jsx)("button",{type:"button",className:"tooltip__close-button",onClick:H,"aria-label":"Close tooltip",children:(0,te.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,te.jsx)("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),r&&(0,te.jsx)("div",{className:`tooltip__arrow tooltip__arrow--${l.split("-")[0]}`})]});return(0,te.jsxs)("div",{ref:C,className:"tooltip__wrapper",onMouseEnter:I,onMouseLeave:T,onFocus:w,onBlur:M,children:[c,L&&!n&&S]})};var ue=E(require("react")),tt=require("react-dom");var X=require("react/jsx-runtime"),Co=e=>{let L=e,{size:t,state:o="default",label:a,icon:l,position:r="top",horizontalAlign:d="center",topOffset:i,bottomOffset:n,horizontalPadding:s,className:v="",style:p}=L,m=_(L,["size","state","label","icon","position","horizontalAlign","topOffset","bottomOffset","horizontalPadding","className","style"]),{isUnderTablet:g}=Y(),c=t!=null?t:g?"small":"medium",f=["toast",`toast--${c}`,`toast--${o}`,v].filter(Boolean).join(" "),h=c==="medium"?60:20,b=c==="medium"?60:20,C=16,y=(p==null?void 0:p.position)!==void 0,u=x(y?{}:{position:"fixed",zIndex:1e3},p);if(!y)if(r==="top"?(u.top=`${i!=null?i:h}px`,u.bottom="auto"):(u.bottom=`${n!=null?n:b}px`,u.top="auto"),c==="small"){let I=s!=null?s:C;u.left=`${I}px`,u.right=`${I}px`,u.transform="none",u.width=`calc(100% - ${I*2}px)`}else d==="center"?(u.left="50%",u.right="auto",u.transform="translateX(-50%)",u.width="auto",u.minWidth="540px",u.maxWidth="760px"):d==="left"?(u.left="16px",u.right="auto",u.transform="none",u.width="auto",u.minWidth="540px",u.maxWidth="760px"):(u.right="16px",u.left="auto",u.transform="none",u.width="auto",u.minWidth="540px",u.maxWidth="760px");let B=!l&&o!=="default"?(0,X.jsxs)("div",{className:"toast__icon",children:[o==="error"&&(0,X.jsx)(wo,{style:{width:"100%",height:"100%"}}),o==="warning"&&(0,X.jsx)(Io,{style:{width:"100%",height:"100%"}}),o==="success"&&(0,X.jsx)(qe,{style:{width:"100%",height:"100%"}}),o==="information"&&(0,X.jsx)(_o,{style:{width:"100%",height:"100%"}})]}):l?(0,X.jsx)("div",{className:"toast__icon",children:l}):null;return(0,X.jsxs)("div",k(x({className:f,style:u},m),{children:[B,(0,X.jsx)(V,{variant:c==="medium"?"heading-h6":"subtitle-p2",children:a})]}))},ta=250,at=ue.default.createContext(void 0),rt=({children:e})=>{let[t,o]=ue.default.useState([]),[a,l]=ue.default.useState(!1);ue.default.useEffect(()=>{l(!0)},[]);let r=ue.default.useCallback((i,n={})=>{let s=`toast-${Date.now()}-${Math.random()}`,{state:v="default",size:p,duration:m=3e3,position:g="top",horizontalAlign:c="center",topOffset:f,bottomOffset:h,horizontalPadding:b}=n,C=k(x({id:s,message:i,state:v},p!==void 0&&{size:p}),{duration:m,position:g,horizontalAlign:c,topOffset:f,bottomOffset:h,horizontalPadding:b});o(y=>[...y,C]),m>0&&setTimeout(()=>{o(y=>y.map(u=>u.id===s?k(x({},u),{exiting:!0}):u)),setTimeout(()=>{o(y=>y.filter(u=>u.id!==s))},ta)},m)},[]),d=ue.default.useCallback(i=>{o(n=>n.filter(s=>s.id!==i))},[]);return(0,X.jsxs)(at.Provider,{value:{showToast:r,hideToast:d},children:[e,a&&(0,tt.createPortal)((0,X.jsx)(X.Fragment,{children:t.map(i=>(0,X.jsx)(Co,x({state:i.state,size:i.size,label:i.message,position:i.position,horizontalAlign:i.horizontalAlign,topOffset:i.topOffset,bottomOffset:i.bottomOffset,horizontalPadding:i.horizontalPadding},i.exiting&&{className:"toast--exiting"}),i.id))}),document.body)]})};function nt(){let e=ue.default.useContext(at);if(!e)throw new Error("useToast must be used within a ToastProvider");return e}var it="./likelion-eng-primary-CJG3E2VB.svg";var lt="./likelion-eng-black-4SX2R7NN.svg";var ct="./likelion-eng-white-Y5UFQG4I.svg";var st="./likelion-kr-primary-62X7DUP7.svg";var pt="./likelion-kr-black-ZEA5772C.svg";var dt="./likelion-kr-white-ST7I4FW3.svg";var ft="./bootcamp-primary-H6NGWAZO.svg";var ut="./bootcamp-black-HQ5XAYV3.svg";var mt="./bootcamp-white-XZIU3P5F.svg";var gt="./symbol-primary-ZRQGWUW5.svg";var xt="./symbol-black-2T7FXCLT.svg";var ht="./symbol-white-B3EDKUWQ.svg";var Ho="./favicon-primary-CFPI57CU.svg";var bt="./favicon-black-J4BEQLLU.svg";var so={"likelion-eng":{primary:it,black:lt,white:ct},"likelion-kr":{primary:st,black:pt,white:dt},bootcamp:{primary:ft,black:ut,white:mt},symbol:{primary:gt,black:xt,white:ht},favicon:{primary:Ho,black:bt,white:Ho}};var U=require("react/jsx-runtime"),he=(e,t)=>e in so?so[e][t]:"",ha=({className:e})=>(0,U.jsx)("img",{src:so.symbol.white,alt:"Lion Icon",className:e}),vt=d=>{var i=d,{type:e="likelion-kr",color:t="primary",size:o="medium",service:a="likelion",className:l=""}=i,r=_(i,["type","color","size","service","className"]);let n=["logo",`logo--${e}`,`logo--${t}`,`logo--${o}`,l].filter(Boolean).join(" ");if(e==="likelion-eng")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("likelion-eng",t),alt:"\uBA4B\uC7C1\uC774\uC0AC\uC790\uCC98\uB7FC_ENG",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="likelion-kr")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("likelion-kr",t),alt:"\uBA4B\uC7C1\uC774\uC0AC\uC790\uCC98\uB7FC_KR",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="bootcamp")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("bootcamp",t),alt:"\uBA4B\uC0AC \uBD80\uD2B8\uCEA0\uD504",style:{width:"100%",height:"100%",display:"block"}})}));let s=()=>null;if(e==="symbol")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("symbol",t),alt:"\uC2EC\uBCFC",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="favicon")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("favicon",t),alt:"\uD30C\uBE44\uCF58",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="og-image"){let p=a==="likelion"?"\uBA4B\uC7C1\uC774\uC0AC\uC790\uCC98\uB7FC":"\uBA4B\uC0AC \uBD80\uD2B8\uCEA0\uD504",m=he(a==="likelion"?"likelion-kr":"bootcamp","white");return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("div",{className:"logo__og-container",children:(0,U.jsx)("img",{src:m,alt:p,style:{width:"auto",height:"37.8px",display:"block"}})})}))}let v=s();return(0,U.jsxs)("div",k(x({className:n},r),{children:[(0,U.jsx)("div",{className:"logo__icon",children:(0,U.jsx)(ha,{})}),v&&(0,U.jsx)("span",{className:"logo__text",children:v})]}))};var ba={mobile:{min:375,max:743},tablet:{min:744,max:1279},desktop:{min:1280}},va={mo:"375px",tb:"744px",pc:"1280px"},ya={mobile:"(min-width: 375px) and (max-width: 743px)",tablet:"(min-width: 744px) and (max-width: 1279px)",desktop:"(min-width: 1280px)",underTablet:"(max-width: 743px)"},Ia={mobile:{margin:16,column:4,gutter:16},tablet:{margin:24,column:8,gutter:24},desktop:{margin:24,column:12,gutter:24}};0&&(module.exports={ActionButton,BREAKPOINTS,Badge,BreakpointProvider,Button,Checkbox,CheckboxGroup,Chip,ChipGroup,Dialog,DialogProvider,IconButton,LAYOUT_SYSTEM,Logo,MEDIA_QUERIES,Pagination,RadioButton,RadioButtonGroup,SelectBox,SelectHeader,SelectMenu,SelectMenuOverlay,TAILWIND_SCREENS,Tab,TabGroup,Tag,Text,TextInput,Toast,ToastProvider,Toggle,Tooltip,useBreakpoint,useCheckboxGroup,useDialog,useMediaQuery,useToast});
|
|
1
|
+
"use strict";var Ct=Object.create;var Fe=Object.defineProperty,Ht=Object.defineProperties,St=Object.getOwnPropertyDescriptor,Vt=Object.getOwnPropertyDescriptors,Tt=Object.getOwnPropertyNames,Qe=Object.getOwnPropertySymbols,Rt=Object.getPrototypeOf,po=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable;var Lo=(e,t,o)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,x=(e,t)=>{for(var o in t||(t={}))po.call(t,o)&&Lo(e,o,t[o]);if(Qe)for(var o of Qe(t))Mo.call(t,o)&&Lo(e,o,t[o]);return e},k=(e,t)=>Ht(e,Vt(t));var _=(e,t)=>{var o={};for(var a in e)po.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&Qe)for(var a of Qe(e))t.indexOf(a)<0&&Mo.call(e,a)&&(o[a]=e[a]);return o};var Bt=(e,t)=>{for(var o in t)Fe(e,o,{get:t[o],enumerable:!0})},Po=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Tt(t))!po.call(e,l)&&l!==o&&Fe(e,l,{get:()=>t[l],enumerable:!(a=St(t,l))||a.enumerable});return e};var E=(e,t,o)=>(o=e!=null?Ct(Rt(e)):{},Po(t||!e||!e.__esModule?Fe(o,"default",{value:e,enumerable:!0}):o,e)),Lt=e=>Po(Fe({},"__esModule",{value:!0}),e);var _a={};Bt(_a,{ActionButton:()=>Ue,BREAKPOINTS:()=>ba,Badge:()=>Ke,BreakpointProvider:()=>zo,Button:()=>Ue,Checkbox:()=>je,CheckboxGroup:()=>to,Chip:()=>ho,ChipGroup:()=>oo,Dialog:()=>Wo,DialogProvider:()=>Xo,IconButton:()=>Do,LAYOUT_SYSTEM:()=>Ia,Logo:()=>vt,MEDIA_QUERIES:()=>ya,Pagination:()=>ko,RadioButton:()=>Xe,RadioButtonGroup:()=>co,SelectBox:()=>no,SelectHeader:()=>Pe,SelectMenu:()=>We,SelectMenuOverlay:()=>Me,TAILWIND_SCREENS:()=>va,Tab:()=>Je,TabGroup:()=>eo,Tag:()=>et,Text:()=>V,TextInput:()=>Qo,Toast:()=>Co,ToastProvider:()=>rt,Toggle:()=>vo,Tooltip:()=>ot,useBreakpoint:()=>Y,useCheckboxGroup:()=>Ko,useDialog:()=>Yo,useMediaQuery:()=>Se,useToast:()=>nt});module.exports=Lt(_a);var Ao=E(require("react"));var V=d=>{var i=d,{variant:e,decoration:t="none",as:o,children:a,className:l=""}=i,r=_(i,["variant","decoration","as","children","className"]);let n=(()=>{if(e.startsWith("heading-")){let p=e.split("-")[1];return p.startsWith("d")?"h1":p}return e.startsWith("subtitle-")?"h3":"p"})(),s=o||n,v=["typography",`typography--${e}`,t!=="none"&&`typography--decoration-${t}`,l].filter(Boolean).join(" ");return Ao.default.createElement(s,x({className:v},r),a)};var J=require("react/jsx-runtime"),Ue=m=>{var g=m,{size:e="medium",color:t="primary",type:o="solid",htmlType:a="button",state:l="enabled",label:r,prefixIcon:d,suffixIcon:i,loading:n=!1,className:s="",disabled:v}=g,p=_(g,["size","color","type","htmlType","state","label","prefixIcon","suffixIcon","loading","className","disabled"]);let c=v||l==="disabled",f=l;o==="ghost"?(l==="hovered"||l==="loading"||n)&&(f="enabled"):f=n?"loading":l;let h=["action-button",`action-button--${e}`,`action-button--${t}`,`action-button--${o}`,`action-button--${f}`,s].filter(Boolean).join(" "),b=e==="xlarge"?"heading-h6":e==="large"||e==="medium"?"subtitle-p2":"subtitle-p3";return(0,J.jsxs)("button",k(x({type:a,className:h,disabled:c},p),{children:[(0,J.jsxs)("span",{className:"action-button__content",children:[d&&(0,J.jsx)("span",{className:"action-button__prefix-icon",children:d}),(0,J.jsx)("p",{className:"action-button__label",children:(0,J.jsx)(V,{variant:b,children:r})}),i&&(0,J.jsx)("span",{className:"action-button__suffix-icon",children:i})]}),n&&o!=="ghost"&&(0,J.jsx)("span",{className:"action-button__spinner","aria-hidden":"true",children:(0,J.jsx)("svg",{className:"action-button__spinner-svg",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsxs)("circle",{className:"action-button__spinner-circle",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"32",children:[(0,J.jsx)("animate",{attributeName:"stroke-dasharray",dur:"2s",values:"0 40;40 40;0 40",repeatCount:"indefinite"}),(0,J.jsx)("animate",{attributeName:"stroke-dashoffset",dur:"2s",values:"0;-40;-80",repeatCount:"indefinite"})]})})})]}))};var fo=require("react/jsx-runtime"),Do=p=>{var m=p,{size:e="large",color:t="primary",type:o="solid",state:a="enabled",icon:l,className:r="",disabled:d,htmlType:i="button",style:n,customColor:s}=m,v=_(m,["size","color","type","state","icon","className","disabled","htmlType","style","customColor"]);let g=d||a==="disabled",c=o==="weak",f=c&&g?"enabled":a,h=s?"":c?`icon-button--weak-${t}`:`icon-button--${t}`,b=c?"icon-button--weak":`icon-button--${o}`,C=["icon-button",`icon-button--${e}`,h,b,`icon-button--${f}`,r].filter(Boolean).join(" "),y=c&&g,u=x(x({},(s==null?void 0:s.background)&&{backgroundColor:s.background}),(s==null?void 0:s.color)&&{color:s.color});return(0,fo.jsx)("button",k(x({type:i,className:C,disabled:g,style:x(x(x({},n),u),y?{opacity:0,pointerEvents:"none"}:{})},v),{children:(0,fo.jsx)("span",{className:"icon-button__icon",children:l})}))};var ge=E(require("react"));var uo=require("react/jsx-runtime"),Ke=d=>{var i=d,{type:e="number",variant:t="primary",value:o,maxValue:a=99,className:l=""}=i,r=_(i,["type","variant","value","maxValue","className"]);let n=["badge",`badge--${t}`,`badge--${e}`,l].filter(Boolean).join(" "),s=e==="number"&&o!==void 0?typeof o=="number"&&o>a?`${a}+`:String(o):null;return(0,uo.jsx)("span",k(x({className:n},r),{children:e==="number"&&s&&(0,uo.jsx)(V,{variant:"subtitle-p3",as:"span",children:s})}))};var we=require("react/jsx-runtime"),Je=v=>{var p=v,{type:e="round",size:t="large",badge:o=!1,label:a,mode:l=!1,className:r="",selected:d,disabled:i=!1,onClick:n}=p,s=_(p,["type","size","badge","label","mode","className","selected","disabled","onClick"]);let[m,g]=(0,ge.useState)(!1),c=d!==void 0,f=c?d:m,h=y=>{i||(c||g(u=>!u),n==null||n(y))},b=i?"disabled":f?"pressed":"enabled",C=["tab",`tab--${e}`,`tab--${t}`,`tab--${b}`,l&&"tab--dark",r].filter(Boolean).join(" ");return(0,we.jsxs)("button",k(x({type:"button",className:C,"aria-pressed":f,disabled:i,onClick:h},s),{children:[(0,we.jsx)("span",{className:"tab__label",children:a}),o&&(0,we.jsx)(Ke,{type:"dot",variant:"primary",className:"tab__badge","aria-label":"\uC54C\uB9BC"})]}))},eo=({value:e,defaultValue:t,onChange:o,type:a="round",size:l="large",mode:r=!1,disabled:d=!1,children:i,className:n=""})=>{let[s,v]=ge.default.useState(t),p=e!==void 0,m=p?e:s,g=["tab-group",`tab-group--${a}`,`tab-group--${l}`,r&&"tab-group--dark",d&&"tab-group--disabled",n].filter(Boolean).join(" "),c=ge.default.Children.map(i,f=>{var h,b,C;if(ge.default.isValidElement(f)&&f.type===Je){let y=f.props.value;if(y===void 0)return console.warn("Tab.Group \uB0B4\uBD80\uC758 Tab\uC740 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),f;let u=m===y;return ge.default.cloneElement(f,{type:(h=f.props.type)!=null?h:a,size:(b=f.props.size)!=null?b:l,mode:(C=f.props.mode)!=null?C:r,selected:u,disabled:d||f.props.disabled,role:"tab","aria-selected":u,onClick:B=>{var L,I;p||v(y),o==null||o(y),(I=(L=f.props).onClick)==null||I.call(L,B)}})}return f});return(0,we.jsx)("div",{className:g,role:"tablist",children:c})};eo.displayName="TabGroup";Je.Group=eo;var xe=E(require("react"));var ke=E(require("react"),1);function Mt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return ke.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?ke.createElement("title",{id:t},e):null,ke.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}var Pt=ke.forwardRef(Mt),mo=Pt;var Ce=E(require("react"),1);function At(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ce.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ce.createElement("title",{id:t},e):null,Ce.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}var Dt=Ce.forwardRef(At),go=Dt;var He=E(require("react"),1);function Nt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return He.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?He.createElement("title",{id:t},e):null,He.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}var Et=He.forwardRef(Nt),xo=Et;var re=require("react/jsx-runtime"),No=y=>{var u=y,{type:e="solid",size:t="medium",variant:o="primary",value:a,onChange:l,checked:r,defaultChecked:d=!1,selectedValue:i,selectedValues:n,label:s,prefixIcon:v,suffixIcon:p,showCheck:m,showClose:g=!1,onClose:c,className:f="",disabled:h,onClick:b}=u,C=_(u,["type","size","variant","value","onChange","checked","defaultChecked","selectedValue","selectedValues","label","prefixIcon","suffixIcon","showCheck","showClose","onClose","className","disabled","onClick"]);let[B,L]=xe.default.useState(d),I=r!==void 0,T=xe.default.useMemo(()=>I?r:i!=null?i===a:n!==void 0?n.includes(a):B,[I,r,i,n,a,B]),w=!1;T&&(m===!0?w=!0:m===!1?w=!1:w=e==="outline"&&!v);let H=v||(w?(0,re.jsx)(mo,{className:"chip__check-icon",style:{width:t==="small"?"14px":"16px",height:t==="small"?"14px":"16px"}}):null),S=!!H,R=!!(p||g),P=S&&R?"chip--has-prefix-suffix":S?"chip--has-prefix":R?"chip--has-suffix":"chip--no-icon",N=["chip",`chip--${e}`,`chip--${t}`,`chip--${o}`,P,T&&"chip--checked",h&&"chip--disabled",f].filter(Boolean).join(" "),G=Z=>{h||(!I&&i===void 0&&n===void 0&&L(ae=>!ae),l&&l(a),b==null||b(Z))},A=Z=>{Z.stopPropagation(),c&&!h&&c(Z)};return(0,re.jsxs)("button",k(x({type:"button",className:N,disabled:h,onClick:G,"aria-pressed":T},C),{children:[H&&(0,re.jsx)("span",{className:"chip__prefix-icon",children:H}),(0,re.jsx)(V,{variant:t==="small"?"body-p3":"body-p2",children:s}),p&&!g&&(0,re.jsx)("span",{className:"chip__suffix-icon",children:p}),g&&(0,re.jsx)("button",{type:"button",className:"chip__close-button",onClick:A,disabled:h,"aria-label":"Close",children:(0,re.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,re.jsx)("path",{d:"M8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1ZM10.7803 5.21973C10.4874 4.92683 10.0126 4.92683 9.71973 5.21973L8 6.93945L6.28027 5.21973C5.98738 4.92683 5.51262 4.92683 5.21973 5.21973C4.92683 5.51262 4.92683 5.98738 5.21973 6.28027L6.93945 8L5.21973 9.71973C4.92683 10.0126 4.92683 10.4874 5.21973 10.7803C5.51262 11.0732 5.98738 11.0732 6.28027 10.7803L8 9.06055L9.71973 10.7803C10.0126 11.0732 10.4874 11.0732 10.7803 10.7803C11.0732 10.4874 11.0732 10.0126 10.7803 9.71973L9.06055 8L10.7803 6.28027C11.0732 5.98738 11.0732 5.51262 10.7803 5.21973Z",fill:"currentColor",fillOpacity:"0.56"})})})]}))},oo=m=>{var g=m,{value:e,defaultValue:t,onChange:o,multiple:a=!1,type:l="solid",size:r="medium",variant:d="primary",showCheck:i,disabled:n=!1,children:s,className:v=""}=g,p=_(g,["value","defaultValue","onChange","multiple","type","size","variant","showCheck","disabled","children","className"]);let[c,f]=xe.default.useState(()=>t!=null?t:a?[]:""),h=e!==void 0,b=h?e:c,C=I=>{if(a){let T=Array.isArray(b)?b:[],w=T.includes(I)?T.filter(M=>M!==I):[...T,I];h||f(w),o==null||o(I)}else h||f(I),o==null||o(I)},y=a?void 0:b,u=a?b:void 0,B=["chip-group",v].filter(Boolean).join(" "),L=xe.default.Children.map(s,I=>{var T,w,M,H;return xe.default.isValidElement(I)&&I.type===ho?I.props.value===void 0?(console.warn("Chip.Group \uB0B4\uBD80\uC758 Chip\uC740 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),I):xe.default.cloneElement(I,{type:(T=I.props.type)!=null?T:l,size:(w=I.props.size)!=null?w:r,variant:(M=I.props.variant)!=null?M:d,showCheck:(H=I.props.showCheck)!=null?H:i,selectedValue:y,selectedValues:u,onChange:R=>{var P,N;C(R),(N=(P=I.props).onChange)==null||N.call(P,R)},disabled:n||I.props.disabled}):I});return(0,re.jsx)("div",k(x({className:B},p),{children:L}))};oo.displayName="ChipGroup";No.displayName="Chip";var ho=Object.assign(No,{Group:oo});var Q=E(require("react")),Oo=require("react-dom");var Ve=require("react"),Eo=(0,Ve.createContext)(null),zo=Eo.Provider;function Se(e){return(0,Ve.useSyncExternalStore)(l=>{let r=window.matchMedia(e);return r.addEventListener("change",l),()=>r.removeEventListener("change",l)},()=>window.matchMedia(e).matches,()=>!1)}function Y(){var r,d,i,n;let e=(0,Ve.useContext)(Eo),t=Se("(min-width: 375px) and (max-width: 743px)"),o=Se("(min-width: 744px) and (max-width: 1279px)"),a=Se("(min-width: 1280px)"),l=Se("(max-width: 743px)");return{isMobile:(r=e==null?void 0:e.isMobile)!=null?r:t,isTablet:(d=e==null?void 0:e.isTablet)!=null?d:o,isDesktop:(i=e==null?void 0:e.isDesktop)!=null?i:a,isUnderTablet:(n=e==null?void 0:e.isUnderTablet)!=null?n:l}}var z=require("react/jsx-runtime"),Zo=Q.default.createContext(null),Fo=f=>{var h=f,{open:e=!1,onClose:t,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,variant:l="confirm",align:r,title:d,description:i,icon:n,actionItems:s,footerLayout:v="horizontal",content:p,className:m="",children:g}=h,c=_(h,["open","onClose","closeOnOverlayClick","closeOnEsc","variant","align","title","description","icon","actionItems","footerLayout","content","className","children"]);let{isUnderTablet:b}=Y(),[C,y]=Q.default.useState(!1);if(Q.default.useEffect(()=>(y(!0),()=>y(!1)),[]),Q.default.useEffect(()=>{if(!e)return;let w=window.getComputedStyle(document.body).overflow;if(document.body.style.overflow="hidden",a){let M=H=>{H.key==="Escape"&&(t==null||t())};return window.addEventListener("keydown",M),()=>{window.removeEventListener("keydown",M),document.body.style.overflow=w}}return()=>{document.body.style.overflow=w}},[e,a,t]),!e)return null;let u=r!=null?r:l==="alert"?"left":"center",B=["dialog",`dialog--${l}`,`dialog--${u}`,b?"is-mobile":"",m].filter(Boolean).join(" "),L=w=>{w.target===w.currentTarget&&o&&(t==null||t())},I;p?I=p:g?I=g:I=(0,z.jsxs)(z.Fragment,{children:[(d||n)&&(0,z.jsx)(Uo,{title:d,icon:n}),i&&(0,z.jsx)(Go,{children:i}),s&&s.length>0&&(0,z.jsx)($o,{layout:v,children:s.map((w,M)=>{var H;return(0,z.jsx)(jo,{label:w.label,color:w.color,type:w.type,size:w.size,prefixIcon:w.prefixIcon,suffixIcon:w.suffixIcon,loading:w.loading,disabled:w.disabled,onClick:w.onClick,closeOnClick:(H=w.closeOnClick)!=null?H:!0},`${w.label}-${M}`)})})]});let T=(0,z.jsx)("div",{className:"dialog-overlay",role:"presentation",onClick:L,children:(0,z.jsx)("div",k(x({className:B,role:"dialog","aria-modal":"true"},c),{children:(0,z.jsx)(Zo.Provider,{value:{onClose:t,variant:l},children:I})}))});return C?(0,Oo.createPortal)(T,document.body):null},Uo=r=>{var d=r,{title:e,icon:t,className:o="",children:a}=d,l=_(d,["title","icon","className","children"]);let{isUnderTablet:i}=Y();return(0,z.jsxs)("div",k(x({className:`dialog__header ${o}`},l),{children:[t&&(0,z.jsx)("span",{className:"dialog__icon",children:t}),e&&(0,z.jsx)(V,{variant:i?"subtitle-p1":"heading-h6",children:e}),a]}))},Go=a=>{var l=a,{className:e="",children:t}=l,o=_(l,["className","children"]);return(0,z.jsx)("div",k(x({className:`dialog__body ${e}`},o),{children:(0,z.jsx)("div",{className:"body-p2 dialog__body-text",children:t})}))},$o=l=>{var r=l,{layout:e="horizontal",className:t="",children:o}=r,a=_(r,["layout","className","children"]);let d=e==="vertical"?"dialog__actions--vertical":"dialog__actions--horizontal";return(0,z.jsx)("div",k(x({className:`dialog__footer dialog__footer--${e} ${t}`},a),{children:(0,z.jsx)("div",{className:`dialog__actions ${d}`,children:o})}))},jo=m=>{var g=m,{label:e,color:t,type:o,size:a,prefixIcon:l,suffixIcon:r,loading:d,disabled:i,onClick:n,closeOnClick:s=!1,style:v}=g,p=_(g,["label","color","type","size","prefixIcon","suffixIcon","loading","disabled","onClick","closeOnClick","style"]);var L;let c=Q.default.useContext(Zo),{isUnderTablet:f}=Y(),h=(L=c==null?void 0:c.variant)!=null?L:"confirm",b=h==="confirm"?"100%":"auto",C=h==="alert"?f?"small":"medium":"large",y=h==="alert"?"outline":"solid",u="neutral",B=I=>{var T;n==null||n(I),s&&((T=c==null?void 0:c.onClose)==null||T.call(c))};return(0,z.jsx)(Ue,x({label:e,size:a!=null?a:C,color:t!=null?t:u,type:o!=null?o:y,prefixIcon:l,suffixIcon:r,loading:d,disabled:i,onClick:B,style:x({width:b},v)},p))},Wo=Object.assign(Fo,{Header:Uo,Body:Go,Footer:$o,Button:jo}),qo=Q.default.createContext(void 0),Xo=({children:e})=>{let[t,o]=Q.default.useState([]),a=Q.default.useCallback(n=>{o(s=>s.filter(v=>v.id!==n))},[]),l=Q.default.useCallback(()=>{o([])},[]),r=Q.default.useCallback(n=>{let s=n.id||`dialog-${Date.now()}-${Math.random()}`;return o(v=>[...v,k(x({},n),{id:s})]),s},[]),d=Q.default.useCallback(n=>new Promise(s=>{var p,m;let v=`alert-${Date.now()}`;r(k(x({},n),{id:v,variant:(p=n.variant)!=null?p:"alert",buttons:[{label:(m=n.confirmLabel)!=null?m:"\uD655\uC778",color:"primary",type:"solid",closeOnClick:!0,onClick:async()=>{var g;await((g=n.onConfirm)==null?void 0:g.call(n)),s()}}],onClose:()=>{s(),a(v)}}))}),[r,a]),i=Q.default.useCallback(n=>new Promise(s=>{var p,m,g;let v=`confirm-${Date.now()}`;r(k(x({},n),{id:v,variant:(p=n.variant)!=null?p:"confirm",buttons:[{label:(m=n.cancelLabel)!=null?m:"\uCDE8\uC18C",color:"neutral",type:"outline",closeOnClick:!0,onClick:async()=>{var c;await((c=n.onCancel)==null?void 0:c.call(n)),s(!1)}},{label:(g=n.confirmLabel)!=null?g:"\uD655\uC778",color:"primary",type:"solid",closeOnClick:!0,onClick:async()=>{var c;await((c=n.onConfirm)==null?void 0:c.call(n)),s(!0)}}],onClose:()=>{s(!1),a(v)}}))}),[r,a]);return(0,z.jsxs)(qo.Provider,{value:{open:r,close:a,closeAll:l,alert:d,confirm:i},children:[e,t.map(n=>(0,z.jsx)(Fo,{open:!0,onClose:()=>{var s;(s=n.onClose)==null||s.call(n),a(n.id)},variant:n.variant,align:n.align,closeOnOverlayClick:n.closeOnOverlayClick,closeOnEsc:n.closeOnEsc,title:n.title,description:n.description,icon:n.icon,actionItems:n.buttons,content:n.content,children:n.content},n.id))]})};function Yo(){let e=Q.default.useContext(qo);if(!e)throw new Error("useDialog must be used within a DialogProvider");return e}var $e=require("react");var Te=E(require("react"),1);function zt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Te.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Te.createElement("title",{id:t},e):null,Te.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}))}var Ot=Te.forwardRef(zt),Ge=Ot;var Re=E(require("react"),1);function Zt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Re.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Re.createElement("title",{id:t},e):null,Re.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z",clipRule:"evenodd"}))}var Ft=Re.forwardRef(Zt),bo=Ft;var D=require("react/jsx-runtime"),Qo=y=>{var u=y,{required:e=!1,size:t,error:o=!1,description:a,maxLength:l,prefixIcon:r,suffixIcon:d,suffixUnit:i,title:n,accentIcon:s=!0,className:v="",id:p,value:m,defaultValue:g,readOnly:c,onChange:f,onFocus:h,onBlur:b}=u,C=_(u,["required","size","error","description","maxLength","prefixIcon","suffixIcon","suffixUnit","title","accentIcon","className","id","value","defaultValue","readOnly","onChange","onFocus","onBlur"]);let{isUnderTablet:B}=Y(),L=(0,$e.useId)(),I=p||`textinput-${L}`,[T,w]=(0,$e.useState)(!1),H=(($,K)=>$==="medium"?"pc":$==="small"?"mo":$!=null?$:K?"mo":"pc")(t,B),S=m!==void 0,[R,P]=(0,$e.useState)(g!=null?g:""),N=S?m:R,G=o?"error":"default",A=l?`${String(N).length}/${l}`:void 0,Z=!!A,[ae,be]=typeof A=="string"&&A.includes("/")?A.split("/"):[A,void 0],ve=typeof s=="boolean"?s?(0,D.jsx)(Ge,{className:"help-text__icon-svg"}):null:s,ye=o?"error":"inform",ee=$=>{w(!0),h==null||h($)},Ie=$=>{w(!1),b==null||b($)},pe=$=>{let K=$.target.value;l!=null&&K.length>l&&(K=K.slice(0,l),$.target.value=K),S||P(K),f==null||f($)},_e=["text-input",`text-input--${H}`,`text-input--${G}`,T&&"text-input--focused",v].filter(Boolean).join(" ");return(0,D.jsxs)("div",{className:"text-input-wrapper",children:[n&&(0,D.jsxs)("label",{htmlFor:I,className:"flex items-center gap-1",children:[(0,D.jsx)(V,{variant:"body-p3",children:n}),e&&(0,D.jsx)("span",{className:"text-input__required",children:" *"})]}),(0,D.jsx)("div",{className:`text-input-shell text-input-shell--${G} text-input-shell--${H}${c?" text-input-shell--readonly":""}`,children:(0,D.jsxs)("div",{className:`text-input-container text-input-container--${H}`,children:[r&&(0,D.jsx)("span",{className:"text-input__left-section",children:r}),(0,D.jsx)("input",k(x({},C),{id:I,readOnly:c,className:_e,value:N,onChange:pe,onFocus:ee,onBlur:Ie,maxLength:l,"aria-invalid":o,"aria-describedby":a||A?`${I}-description`:void 0})),(d||i)&&(0,D.jsxs)("div",{className:"text-input__right-section",children:[d&&(0,D.jsx)(D.Fragment,{children:d}),i&&(0,D.jsx)(D.Fragment,{children:i})]})]})}),(a||Z)&&(0,D.jsx)("div",{id:`${I}-description`,className:"text-input__footer",children:(0,D.jsxs)("div",{className:`help-text-wrapper ${a&&Z?"help-text-wrapper--between":a?"help-text-wrapper--start":"help-text-wrapper--end"}`,children:[a&&(0,D.jsxs)("span",{className:`help-text help-text--${ye}`,children:[ve&&(0,D.jsx)("span",{className:"help-text__icon",children:ve}),typeof a=="string"||typeof a=="number"?(0,D.jsx)(V,{variant:"body-p3",className:"help-text__content",children:a}):(0,D.jsx)("span",{className:"help-text__content",children:a})]}),Z&&(0,D.jsxs)("span",{className:`help-text__count help-text__count--${ye}`,children:[ae&&(0,D.jsx)(V,{variant:"body-p3",className:"help-text__count-number",children:ae}),be&&(0,D.jsxs)(V,{variant:"body-p3",className:"help-text__count-total",children:["/",be]})]})]})})]})};var Be=E(require("react"));var ne=require("react/jsx-runtime"),vo=Be.default.forwardRef((m,p)=>{var g=m,{size:e="medium",label:t,labelPosition:o="end",description:a,checked:l,defaultChecked:r=!1,onChange:d,disabled:i,className:n="",id:s}=g,v=_(g,["size","label","labelPosition","description","checked","defaultChecked","onChange","disabled","className","id"]);let c=Be.default.useRef(null),f=Be.default.useMemo(()=>typeof p=="function"?w=>{c.current=w,p(w)}:p?w=>{c.current=w,p&&(p.current=w)}:w=>{c.current=w},[p]),[h,b]=Be.default.useState(r),C=l!==void 0,y=C?l:h,u=w=>{i||(C||b(w.target.checked),d==null||d(w))},B=Be.default.useId(),L=s||B,I=a?`${L}-description`:void 0,T=["toggle",`toggle--${e}`,o==="start"&&"toggle--label-start",i&&"toggle--disabled",n].filter(Boolean).join(" ");return(0,ne.jsxs)("div",{className:T,children:[(0,ne.jsxs)("div",{className:"toggle__wrapper",children:[(0,ne.jsx)("input",x({ref:f,type:"checkbox",id:L,checked:y,defaultChecked:r,onChange:u,disabled:i,"aria-describedby":I,className:"toggle__input",role:"switch","aria-checked":y},v)),(0,ne.jsxs)("label",{htmlFor:L,className:"toggle__label-wrapper",children:[o==="start"&&t&&(0,ne.jsx)(V,{variant:e==="medium"?"body-p2":"body-p3",as:"span",children:t}),(0,ne.jsx)("span",{className:"toggle__switch",children:(0,ne.jsx)("span",{className:"toggle__thumb"})}),o==="end"&&t&&(0,ne.jsx)(V,{variant:e==="medium"?"body-p2":"body-p3",as:"span",children:t})]})]}),a&&(0,ne.jsx)("div",{id:I,className:"toggle__description",children:a})]})});vo.displayName="Toggle";var oe=E(require("react"));var Le=require("@remixicon/react");var W=require("react/jsx-runtime"),je=oe.default.forwardRef((g,m)=>{var c=g,{label:e,labelProps:t,description:o,value:a,checked:l,defaultChecked:r=!1,onChange:d,disabled:i,indeterminate:n=!1,className:s="",id:v}=c,p=_(c,["label","labelProps","description","value","checked","defaultChecked","onChange","disabled","indeterminate","className","id"]);var S,R;let f=oe.default.useRef(null),h=oe.default.useMemo(()=>typeof m=="function"?P=>{f.current=P,m(P)}:m?P=>{f.current=P,m&&(m.current=P)}:P=>{f.current=P},[m]);oe.default.useEffect(()=>{f.current&&(f.current.indeterminate=n)},[n]);let[b,C]=oe.default.useState(r),y=l!==void 0,u=y?l:b,B=P=>{i||(y||C(P.target.checked),d==null||d(P))},L=oe.default.useId(),I=v||L,T=o?`${I}-description`:void 0,w=["checkbox",i&&"checkbox--disabled",s].filter(Boolean).join(" "),M=t!=null?t:{},H=["checkbox__label-text",M.className].filter(Boolean).join(" ");return(0,W.jsxs)("div",{className:w,children:[(0,W.jsxs)("div",{className:"checkbox__wrapper",children:[(0,W.jsx)("input",x({ref:h,type:"checkbox",id:I,checked:u,defaultChecked:r,onChange:B,disabled:i,value:a,"aria-describedby":T||void 0,className:"checkbox__input"},p)),(0,W.jsxs)("label",{htmlFor:I,className:"checkbox__label-wrapper",children:[(0,W.jsx)("span",{className:"checkbox__icon-wrapper","aria-hidden":"true",children:n?(0,W.jsx)(Le.RiCheckboxIndeterminateFill,{className:"checkbox__icon"}):u?(0,W.jsx)(Le.RiCheckboxFill,{className:"checkbox__icon"}):(0,W.jsx)(Le.RiCheckboxBlankLine,{className:"checkbox__icon"})}),e&&(0,W.jsx)(V,k(x({variant:(S=M.variant)!=null?S:"body-p2",as:(R=M.as)!=null?R:"span"},M),{className:H,children:e}))]})]}),o&&(0,W.jsx)("div",{id:T,className:"checkbox__description",children:o})]})});je.displayName="Checkbox";var to=({label:e,labelProps:t,description:o,descriptionProps:a,multiple:l=!0,value:r,defaultValue:d=[],onChange:i,disabled:n,children:s,className:v=""})=>{var T,w,M,H;let[p,m]=oe.default.useState(d),g=r!==void 0,c=g?r:p,f=(S,R)=>{let P=l?R?[...c,S]:c.filter(N=>N!==S):R?[S]:[];g||m(P),i==null||i(P)},h=oe.default.useId(),b=o?`${h}-description`:void 0,C=t!=null?t:{},y=a!=null?a:{},u=["checkbox-group__label",C.className].filter(Boolean).join(" "),B=["checkbox-group__description",y.className].filter(Boolean).join(" "),L=["checkbox-group",n&&"checkbox-group--disabled",v].filter(Boolean).join(" "),I=oe.default.Children.map(s,S=>{if(oe.default.isValidElement(S)&&S.type===je){let R=S.props.value;if(R===void 0)return console.warn("Checkbox.Group \uB0B4\uBD80\uC758 Checkbox\uB294 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),S;let P=c.includes(R);return oe.default.cloneElement(S,{checked:P,onChange:N=>{var G,A;f(R,N.target.checked),(A=(G=S.props).onChange)==null||A.call(G,N)},disabled:n||S.props.disabled})}return S});return(0,W.jsxs)("div",{className:L,children:[e&&(0,W.jsx)(V,k(x({variant:(T=C.variant)!=null?T:"subtitle-p2",as:(w=C.as)!=null?w:"div"},C),{className:u,children:e})),o&&(0,W.jsx)(V,k(x({id:b,variant:(M=y.variant)!=null?M:"body-p3",as:(H=y.as)!=null?H:"div"},y),{className:B,children:o})),(0,W.jsx)("div",{className:"checkbox-group__content",children:I})]})};to.displayName="CheckboxGroup";je.Group=to;var ao=E(require("react"));function Ko(e){let{options:t,defaultValue:o=[],value:a,onChange:l}=e,[r,d]=ao.default.useState(o),i=a!==void 0,n=i?a:r,s=ao.default.useCallback(f=>{i||d(f),l==null||l(f)},[i,l]),v=n.length===t.length,p=n.length>0,m=v,g=p&&!v,c=ao.default.useCallback(f=>{s(f.target.checked?[...t]:[])},[t,s]);return{value:n,onChange:s,selectAllChecked:m,selectAllIndeterminate:g,handleSelectAll:c,selectAllProps:{checked:m,indeterminate:g,onChange:c}}}var ro=E(require("react"));var se=E(require("react"));var Jo=require("@remixicon/react");var ie=require("react/jsx-runtime"),We=se.default.forwardRef((e,t)=>{let M=e,{items:o,size:a,value:l,defaultValue:r,onChange:d,multiple:i,itemTextProps:n,suffixIcon:s,className:v="",id:p}=M,m=_(M,["items","size","value","defaultValue","onChange","multiple","itemTextProps","suffixIcon","className","id"]),g=Object.prototype.hasOwnProperty.call(e,"value"),[c,f]=se.default.useState(r),h=g?l:c,b=!!i,{isUnderTablet:C}=Y(),y=a!=null?a:C?"small":"medium",u=se.default.useId(),B=p||`select-menu-${u}`,L=H=>{let S;if(b){let R=Array.isArray(h)?h:h?[h]:[];S=R.includes(H)?R.filter(P=>P!==H):[...R,H]}else S=h===H?void 0:H;g||f(S),d==null||d(S)},I=["select-menu",`select-menu--${y}`,v].filter(Boolean).join(" "),T=n!=null?n:{},w=y==="medium"?"body-p2":"body-p3";return(0,ie.jsx)("div",k(x({ref:t,id:B,className:I,role:"listbox"},m),{children:o.map((H,S)=>{var A,Z;let R=Array.isArray(h)?h.includes(H.value):h===H.value,P=`${B}-option-${H.value}`,N=(0,ie.jsx)(Jo.RiCheckboxCircleFill,{className:"select-menu__suffix-icon"}),G=typeof s=="function"?s(H):s!=null?s:N;return(0,ie.jsxs)("button",{id:P,type:"button",role:"option","aria-selected":R,disabled:H.disabled,className:"select-menu__item",onClick:()=>!H.disabled&&L(H.value),children:[(0,ie.jsx)(V,k(x({variant:(A=T.variant)!=null?A:w,as:(Z=T.as)!=null?Z:"span"},T),{className:["select-menu__item-text",T.className].filter(Boolean).join(" "),children:H.label})),R&&(0,ie.jsx)("span",{className:"select-menu__suffix",children:G})]},H.value)})}))});We.displayName="SelectMenu";var Me=d=>{var i=d,{children:e,open:t,defaultOpen:o=!1,onOpenChange:a,menuContainerStyle:l}=i,r=_(i,["children","open","defaultOpen","onOpenChange","menuContainerStyle"]);let[n,s]=se.default.useState(o),v=t!==void 0,p=v?t:n,m=se.default.useRef(null),g=h=>{v||s(h),a==null||a(h)};se.default.useEffect(()=>{if(!p)return;let h=b=>{m.current&&(m.current.contains(b.target)||g(!1))};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[p,g]);let c=()=>{g(!p)},f=e;if(se.default.isValidElement(e)){let h=e.props.onClick;f=se.default.cloneElement(e,k(x({},e.props),{onClick:b=>{h==null||h(b),c()},"aria-haspopup":"listbox","aria-expanded":p}))}else f=(0,ie.jsx)("button",{type:"button",onClick:c,"aria-haspopup":"listbox","aria-expanded":p,children:e});return(0,ie.jsxs)("div",{ref:m,style:{position:"relative",display:"inline-flex"},children:[f,p&&(0,ie.jsx)("div",{style:x({position:"absolute",top:"100%",left:0,marginTop:4,zIndex:1e3},l),children:(0,ie.jsx)(We,k(x({},r),{style:k(x({},r.style),{width:"100%",minWidth:0})}))})]})};Me.displayName="SelectMenuOverlay";var O=require("react/jsx-runtime"),Pe=ro.default.forwardRef((P,R)=>{var N=P,{type:e="outlined",title:t,required:o=!1,value:a,placeholder:l="\uC120\uD0DD\uD558\uC138\uC694",disabled:r=!1,error:d=!1,description:i,accentIcon:n=!0,onClick:s,onClear:v,icon:p,className:m="",id:g,items:c,defaultValue:f,onChange:h,multiple:b,showClear:C,wrapperClassName:y="",wrapperStyle:u,width:B,size:L,menuItemTextProps:I,menuSuffixIcon:T,menuGap:w=8,menuClassName:M,menuStyle:H}=N,S=_(N,["type","title","required","value","placeholder","disabled","error","description","accentIcon","onClick","onClear","icon","className","id","items","defaultValue","onChange","multiple","showClear","wrapperClassName","wrapperStyle","width","size","menuItemTextProps","menuSuffixIcon","menuGap","menuClassName","menuStyle"]);let{isUnderTablet:G}=Y(),A=ro.default.useId(),Z=g||`select-header-${A}`,ae=i?`${Z}-description`:void 0,be=L==="medium"?"web-tab":L==="small"||G?"mo":"web-tab",[ve,ye]=ro.default.useState(f),ee=c!=null&&c.length>0,Ie=a!==void 0,pe;ee&&(pe=Ie?a===null?void 0:a:ve);let _e=de=>{Ie||ye(de),h==null||h(de)},$=(()=>{var de;if(ee){let me=pe;if(me==null||Array.isArray(me)&&me.length===0)return null;if(Array.isArray(me))return me.map(Ye=>{var Ro,Bo;return(Bo=(Ro=c.find(kt=>kt.value===Ye))==null?void 0:Ro.label)!=null?Bo:Ye}).filter(Boolean).join(", ");let To=(de=c.find(Ye=>Ye.value===me))==null?void 0:de.label;return To!=null?String(To):me}return a==null?null:Array.isArray(a)?a.join(", "):typeof a=="string"?a:null})(),K=!!$,yt=C!==void 0?C:K&&!r&&(ee?!!h:!!v),So=typeof n=="boolean"?n?d?(0,O.jsx)(Ge,{className:"help-text__icon-svg"}):(0,O.jsx)(bo,{className:"help-text__icon-svg"}):null:n,It=d?"error":"inform",_t=["select-header",`select-header--${be}`,`select-header--${e}`,r&&"select-header--disabled",d&&"select-header--error",K&&"select-header--has-value",B&&"select-header--full",m].filter(Boolean).join(" "),wt=de=>{de.stopPropagation(),ee?_e(void 0):v==null||v(de)},Vo=(0,O.jsxs)("button",k(x({ref:R,type:"button",id:Z,className:_t,disabled:r,onClick:s,"aria-haspopup":"listbox","aria-describedby":ae},S),{children:[(0,O.jsx)("span",{className:"select-header__content",children:K?(0,O.jsx)(V,{as:"span",variant:"body-p2",children:$}):(0,O.jsx)(V,{as:"span",variant:"body-p2",children:l})}),(0,O.jsxs)("span",{className:"select-header__actions",children:[yt&&(0,O.jsx)("button",{type:"button",className:"select-header__clear",onClick:wt,"aria-label":"\uAC12 \uC9C0\uC6B0\uAE30",children:(0,O.jsx)(xo,{className:"select-header__clear-icon"})}),(0,O.jsx)("span",{className:"select-header__icon",children:p||(0,O.jsx)(go,{className:"select-header__chevron"})})]})]}));return(0,O.jsxs)("div",{className:`select-header-wrapper ${y}`,style:x(x({},u),B?{width:B}:{}),children:[(t||o)&&(0,O.jsxs)("label",{htmlFor:Z,className:"select-header__label",children:[t&&(0,O.jsx)(V,{as:"span",variant:"subtitle-p3",children:t}),o&&(0,O.jsx)(V,{as:"span",variant:"subtitle-p3",className:"text-info-negative",children:"*"})]}),ee?(0,O.jsx)(Me,{items:c,value:pe,multiple:b,onChange:_e,menuContainerStyle:{width:"100%",marginTop:w},itemTextProps:I,suffixIcon:T,className:M,style:H,children:Vo}):Vo,i&&(0,O.jsx)("div",{id:ae,className:"select-header__footer",children:(0,O.jsxs)("span",{className:`help-text help-text--${It}`,children:[So&&(0,O.jsx)("span",{className:"help-text__icon",children:So}),(0,O.jsx)(V,{as:"span",variant:"body-p3",children:i})]})})]})});Pe.displayName="SelectHeader";var Ae=E(require("react"),1);function Ut(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ae.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ae.createElement("title",{id:t},e):null,Ae.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}var Gt=Ae.forwardRef(Ut),qe=Gt;var De=E(require("react"),1);function $t(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return De.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?De.createElement("title",{id:t},e):null,De.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}var jt=De.forwardRef($t),yo=jt;var Ne=E(require("react"),1);function Wt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ne.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ne.createElement("title",{id:t},e):null,Ne.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}var qt=Ne.forwardRef(Wt),Io=qt;var Ee=E(require("react"),1);function Xt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return Ee.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?Ee.createElement("title",{id:t},e):null,Ee.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}var Yt=Ee.forwardRef(Xt),_o=Yt;var ze=E(require("react"),1);function Qt(l,a){var r=l,{title:e,titleId:t}=r,o=_(r,["title","titleId"]);return ze.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},o),e?ze.createElement("title",{id:t},e):null,ze.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))}var Kt=ze.forwardRef(Qt),wo=Kt;var j=require("react/jsx-runtime"),Jt=()=>(0,j.jsx)("span",{className:"select-box__spinner","aria-hidden":"true",children:(0,j.jsx)("svg",{className:"select-box__spinner-svg",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,j.jsxs)("circle",{className:"select-box__spinner-circle",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"32",children:[(0,j.jsx)("animate",{attributeName:"stroke-dasharray",dur:"2s",values:"0 40;40 40;0 40",repeatCount:"indefinite"}),(0,j.jsx)("animate",{attributeName:"stroke-dashoffset",dur:"2s",values:"0;-40;-80",repeatCount:"indefinite"})]})})}),no=T=>{var w=T,{type:e="label",size:t="medium",state:o="default",label:a,required:l=!1,placeholder:r="\uC120\uD0DD\uD558\uC138\uC694",items:d,value:i,defaultValue:n,onChange:s,multiple:v,helperText:p,className:m,style:g,width:c,headerType:f="outlined",onClear:h,showClear:b,wrapperStyle:C,onClick:y,id:u,itemTextProps:B,suffixIcon:L}=w,I=_(w,["type","size","state","label","required","placeholder","items","value","defaultValue","onChange","multiple","helperText","className","style","width","headerType","onClear","showClear","wrapperStyle","onClick","id","itemTextProps","suffixIcon"]);let M=o==="disabled"||o==="loading",H=o==="error",S=o==="success",R=e==="label"||e==="placeholder",N=e==="placeholder"||e==="default"?r:"\uC120\uD0DD\uD558\uC138\uC694",G=t==="full"?"100%":c!==void 0?typeof c=="number"?`${c}px`:c:void 0,A=o==="loading"?(0,j.jsx)(Jt,{}):void 0,Z=typeof m=="object"&&m!==null&&("root"in m||"header"in m||"menu"in m),ae=typeof g=="object"&&g!==null&&!Array.isArray(g)&&("root"in g||"header"in g||"menu"in g),be=Z?m.root:m,ve=Z?m.header:void 0,ye=Z?m.menu:void 0,ee=g,Ie=ae?ee.root:ee,pe=ae?ee.header:void 0,_e=ae?ee.menu:void 0,$=["select-box",`select-box--${t}`,`select-box--${o}`,H&&"select-box--error",S&&"select-box--success",be].filter(Boolean).join(" "),K=p&&(H||S)?(0,j.jsx)("div",{className:"select-box__footer",children:(0,j.jsxs)("span",{className:`help-text help-text--${H?"error":"success"}`,children:[H?(0,j.jsx)("span",{className:"help-text__icon",children:(0,j.jsx)(yo,{className:"help-text__icon-svg"})}):(0,j.jsx)("span",{className:"help-text__icon",children:(0,j.jsx)(qe,{className:"help-text__icon-svg"})}),(0,j.jsx)(V,{as:"span",variant:"body-p3",children:p})]})}):null;return(0,j.jsxs)("div",{className:$,style:Ie,children:[(0,j.jsx)(Pe,x({type:f,size:t==="small"?"small":"medium",title:R?a:void 0,required:l,placeholder:N,items:d,value:i,defaultValue:n,onChange:s,multiple:v,disabled:M,error:H,accentIcon:!1,icon:A,onClear:h,showClear:b,wrapperStyle:pe||C?x(x({},C),pe):void 0,wrapperClassName:["select-box__header-wrapper",ve].filter(Boolean).join(" "),menuClassName:ye,menuStyle:_e,onClick:y,id:u,menuItemTextProps:B,menuSuffixIcon:L,width:G},I)),K]})};no.displayName="SelectBox";var io=E(require("react"));var le=require("@remixicon/react");var F=require("react/jsx-runtime"),Oe=(e,t)=>{let o=t-e+1;return Array.from({length:o},(a,l)=>e+l)},ea=({totalPages:e,currentPage:t,siblingCount:o,showEdgeButtons:a,showPrevNext:l})=>{if(e<=0)return[];let r=Math.min(Math.max(t,1),e),d=[],i=p=>d.push(p),n=r===1,s=r===e;a&&i({type:"first",page:1,key:"first",disabled:n}),l&&i({type:"prev",page:Math.max(1,r-1),key:"prev",disabled:n});let v=o*2+5;if(e<=v)Oe(1,e).forEach(p=>i({type:"page",page:p,key:`page-${p}`,selected:p===r}));else{let p=Math.max(r-o,2),m=Math.min(r+o,e-1),g=p>2,c=m<e-1;if(i({type:"page",page:1,key:"page-1",selected:r===1}),!g&&c){let f=3+2*o;Oe(2,f).forEach(b=>i({type:"page",page:b,key:`page-dynamic-${b}-${r}`,selected:b===r})),i({type:"ellipsis",key:`ellipsis-right-${m}`}),i({type:"page",page:e,key:`page-${e}`,selected:r===e})}else if(g&&!c){i({type:"ellipsis",key:`ellipsis-left-${p}`});let f=3+2*o;Oe(e-f+1,e-1).forEach(b=>i({type:"page",page:b,key:`page-dynamic-${b}-${r}`,selected:b===r})),i({type:"page",page:e,key:`page-${e}`,selected:r===e})}else g&&c?(i({type:"ellipsis",key:`ellipsis-left-${p}`}),Oe(p,m).forEach(f=>i({type:"page",page:f,key:`page-dynamic-${f}-${r}`,selected:f===r})),i({type:"ellipsis",key:`ellipsis-right-${m}`}),i({type:"page",page:e,key:`page-${e}`,selected:r===e})):Oe(1,e).forEach(f=>i({type:"page",page:f,key:`page-dynamic-${f}-${r}`,selected:f===r}))}return l&&i({type:"next",page:Math.min(e,r+1),key:"next",disabled:s}),a&&i({type:"last",page:e,key:"last",disabled:s}),d},oa=({totalPages:e,currentPage:t})=>{if(e<=0)return[];let o=Math.min(Math.max(t,1),e),a=[],l=i=>a.push(i),r=o===1,d=o===e;return l({type:"prev",page:Math.max(1,o-1),key:"prev",disabled:r}),Oe(1,e).forEach(i=>l({type:"page",page:i,key:`page-${i}`,selected:i===o})),l({type:"next",page:Math.min(e,o+1),key:"next",disabled:d}),a},ko=d=>{var i=d,{totalPages:e,currentPage:t,onChange:o,type:a="basic",className:l=""}=i,r=_(i,["totalPages","currentPage","onChange","type","className"]);let n="web-tab",s=a!=null?a:"basic",v=io.default.useMemo(()=>s==="basic"?oa({totalPages:e,currentPage:t}):ea({totalPages:e,currentPage:t,siblingCount:1,showEdgeButtons:!1,showPrevNext:!0}),[e,t,s]),p=io.default.useCallback(c=>{c.disabled||c.page&&(o==null||o(c.page))},[o]),m=io.default.useCallback(c=>{c==="ellipsis-left"?o==null||o(1):c==="ellipsis-right"&&(o==null||o(e))},[o,e]),g=["pagination",`pagination--${n}`,l].filter(Boolean).join(" ");return(0,F.jsx)("nav",k(x({className:g,"aria-label":"\uD398\uC774\uC9C0\uB124\uC774\uC158"},r),{children:(0,F.jsx)("ul",{className:"pagination__list",children:v.map(c=>{let f=c.type==="page",h=!!c.selected,b=!!c.disabled,C=["pagination__button",`pagination__button--${c.type}`,f&&"pagination__button--page",h&&"pagination__button--selected",b&&"pagination__button--disabled"].filter(Boolean).join(" "),y=c.type==="page"?String(c.page):c.type==="prev"?"\uC774\uC804 \uD398\uC774\uC9C0":c.type==="next"?"\uB2E4\uC74C \uD398\uC774\uC9C0":c.type==="first"?"\uCCAB \uD398\uC774\uC9C0":c.type==="last"?"\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0":"",u=c.type==="page"?`${c.page}\uD398\uC774\uC9C0`:y;return c.type==="ellipsis"?(0,F.jsx)("li",{className:"pagination__item pagination__item--ellipsis",children:(0,F.jsx)("button",{type:"button",className:"pagination__button pagination__button--ellipsis",onClick:()=>m(c.key),"aria-label":c.key==="ellipsis-left"?"\uCCAB \uD398\uC774\uC9C0\uB85C \uC774\uB3D9":"\uB9C8\uC9C0\uB9C9 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9",children:(0,F.jsx)(le.RiMoreLine,{})})},c.key):(0,F.jsx)("li",{className:"pagination__item",children:(0,F.jsxs)("button",{type:"button",className:C,onClick:()=>p(c),disabled:b,"aria-label":u,"aria-current":f&&h?"page":void 0,children:[c.type==="prev"&&(0,F.jsx)(le.RiArrowLeftSLine,{className:"pagination__icon"}),c.type==="next"&&(0,F.jsx)(le.RiArrowRightSLine,{className:"pagination__icon"}),c.type==="first"&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(le.RiArrowLeftSLine,{className:"pagination__icon pagination__icon--double"}),(0,F.jsx)(le.RiArrowLeftSLine,{className:"pagination__icon pagination__icon--double"})]}),c.type==="last"&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(le.RiArrowRightSLine,{className:"pagination__icon pagination__icon--double"}),(0,F.jsx)(le.RiArrowRightSLine,{className:"pagination__icon pagination__icon--double"})]}),c.type==="page"&&(0,F.jsx)(V,{as:"span",variant:n==="web-tab"?"body-p2":"body-p3",children:c.page})]})},c.key)})})}))};ko.displayName="Pagination";var ce=E(require("react"));var lo=require("@remixicon/react");var q=require("react/jsx-runtime"),Xe=ce.default.forwardRef((c,g)=>{var f=c,{label:e,labelProps:t,description:o,value:a,checked:l,defaultChecked:r=!1,onChange:d,disabled:i,className:n="",id:s,name:v,onClick:p}=f,m=_(f,["label","labelProps","description","value","checked","defaultChecked","onChange","disabled","className","id","name","onClick"]);var N,G;let[h,b]=ce.default.useState(r),C=l!==void 0,y=C?l:h,u=A=>{i||(C||b(A.target.checked),d==null||d(A))},B=A=>{if(y&&!i){A.preventDefault(),C||b(!1);let Z=k(x({},A),{target:k(x({},A.target),{checked:!1})});d==null||d(Z)}p==null||p(A)},L=ce.default.useId(),I=s||L,T=o?`${I}-description`:void 0,[w,M]=ce.default.useState(!1),H=["radio-button",i&&"radio-button--disabled",n].filter(Boolean).join(" "),S=["radio-button__label-wrapper",w&&!y&&!i&&"radio-button__label-wrapper--hovered"].filter(Boolean).join(" "),R=t!=null?t:{},P=["radio-button__label-text",R.className].filter(Boolean).join(" ");return(0,q.jsxs)("div",{className:H,"data-checked":y,children:[(0,q.jsxs)("div",{className:"radio-button__wrapper",children:[(0,q.jsx)("input",x({ref:g,type:"radio",id:I,name:v,checked:y,defaultChecked:r,onChange:u,onClick:B,disabled:i,value:a,"aria-describedby":T||void 0,className:"radio-button__input"},m)),(0,q.jsxs)("label",{htmlFor:I,className:S,onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:[(0,q.jsx)("span",{className:"radio-button__icon-wrapper","aria-hidden":"true",children:y?(0,q.jsx)(lo.RiRadioButtonLine,{className:"radio-button__icon"}):(0,q.jsx)(lo.RiCircleLine,{className:"radio-button__icon"})}),e&&(0,q.jsx)(V,k(x({variant:(N=R.variant)!=null?N:"body-p2",as:(G=R.as)!=null?G:"span"},R),{className:P,children:e}))]})]}),o&&(0,q.jsx)("div",{id:T,className:"radio-button__description",children:o})]})});Xe.displayName="RadioButton";var co=({label:e,labelProps:t,description:o,descriptionProps:a,value:l,defaultValue:r,onChange:d,disabled:i,name:n,children:s,className:v=""})=>{var T,w,M,H;let[p,m]=ce.default.useState(r),g=l!==void 0,c=g?l:p,f=ce.default.useId(),h=n||`radio-group-${f}`,b=o?`${f}-description`:void 0,C=t!=null?t:{},y=a!=null?a:{},u=["radio-button-group__label",C.className].filter(Boolean).join(" "),B=["radio-button-group__description",y.className].filter(Boolean).join(" "),L=["radio-button-group",i&&"radio-button-group--disabled",v].filter(Boolean).join(" "),I=ce.default.Children.map(s,S=>{if(ce.default.isValidElement(S)&&S.type===Xe){let R=S.props.value;if(R===void 0)return console.warn("RadioButton.Group \uB0B4\uBD80\uC758 RadioButton\uC740 value prop\uC774 \uD544\uC694\uD569\uB2C8\uB2E4."),S;let P=c===R;return ce.default.cloneElement(S,{name:h,checked:P,onChange:N=>{var G,A;N.target.checked?(g||m(R),d==null||d(R)):(g||m(void 0),d==null||d(void 0)),(A=(G=S.props).onChange)==null||A.call(G,N)},disabled:i||S.props.disabled})}return S});return(0,q.jsxs)("div",{className:L,role:"radiogroup","aria-describedby":b||void 0,children:[e&&(0,q.jsx)(V,k(x({variant:(T=C.variant)!=null?T:"subtitle-p2",as:(w=C.as)!=null?w:"div"},C),{className:u,children:e})),o&&(0,q.jsx)(V,k(x({id:b,variant:(M=y.variant)!=null?M:"body-p3",as:(H=y.as)!=null?H:"div"},y),{className:B,children:o})),(0,q.jsx)("div",{className:"radio-button-group__content",children:I})]})};co.displayName="RadioButtonGroup";Xe.Group=co;var Ze=require("react/jsx-runtime"),et=n=>{var s=n,{type:e="solid",size:t="medium",state:o="enabled",label:a,prefixIcon:l,suffixIcon:r,className:d=""}=s,i=_(s,["type","size","state","label","prefixIcon","suffixIcon","className"]);let v=e==="weak"?o:"enabled",p=["tag",`tag--${e}`,`tag--${t}`,`tag--${v}`,d].filter(Boolean).join(" ").trim(),m=t==="medium"?"body-p2":"body-p3";return(0,Ze.jsxs)("span",k(x({},i),{className:p,children:[l&&(0,Ze.jsx)("span",{className:"tag__prefix-icon",children:l}),(0,Ze.jsx)(V,{variant:m,children:a}),r&&(0,Ze.jsx)("span",{className:"tag__suffix-icon",children:r})]}))};var fe=require("react");var te=require("react/jsx-runtime"),ot=({label:e,type:t="word",prefixIcon:o,onClose:a,direction:l="top",withArrow:r=!0,opened:d,defaultOpened:i=!1,disabled:n=!1,width:s,offset:v=8,withinPortal:p=!0,openDelay:m=0,closeDelay:g=0,children:c,className:f=""})=>{let[h,b]=(0,fe.useState)(i),C=(0,fe.useRef)(null),y=(0,fe.useRef)(null),u=(0,fe.useRef)(null),B=d!==void 0,L=B?d:h;(0,fe.useEffect)(()=>()=>{y.current&&clearTimeout(y.current),u.current&&clearTimeout(u.current)},[]);let I=()=>{!n&&!B&&(u.current&&(clearTimeout(u.current),u.current=null),m>0?y.current=setTimeout(()=>{b(!0)},m):b(!0))},T=()=>{!n&&!B&&(y.current&&(clearTimeout(y.current),y.current=null),g>0?u.current=setTimeout(()=>{b(!1)},g):b(!1))},w=()=>{!n&&!B&&(u.current&&(clearTimeout(u.current),u.current=null),m>0?y.current=setTimeout(()=>{b(!0)},m):b(!0))},M=()=>{!n&&!B&&(y.current&&(clearTimeout(y.current),y.current=null),g>0?u.current=setTimeout(()=>{b(!1)},g):b(!1))},H=R=>{R.stopPropagation(),a&&a(R),!n&&!B&&b(!1)},S=(0,te.jsxs)("div",{className:`tooltip tooltip--${t} tooltip--${l} ${r?"tooltip--with-arrow":""} ${f}`,style:s?{width:typeof s=="number"?`${s}px`:s}:void 0,role:"tooltip",children:[(0,te.jsxs)("div",{className:"tooltip__content",children:[o&&(0,te.jsx)("div",{className:"tooltip__prefix-icon",children:o}),(0,te.jsx)("div",{className:"tooltip__label",children:(0,te.jsx)(V,{variant:"body-p3",children:e})}),a&&(0,te.jsx)("button",{type:"button",className:"tooltip__close-button",onClick:H,"aria-label":"Close tooltip",children:(0,te.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,te.jsx)("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),r&&(0,te.jsx)("div",{className:`tooltip__arrow tooltip__arrow--${l.split("-")[0]}`})]});return(0,te.jsxs)("div",{ref:C,className:"tooltip__wrapper",onMouseEnter:I,onMouseLeave:T,onFocus:w,onBlur:M,children:[c,L&&!n&&S]})};var ue=E(require("react")),tt=require("react-dom");var X=require("react/jsx-runtime"),Co=e=>{let L=e,{size:t,state:o="default",label:a,icon:l,position:r="top",horizontalAlign:d="center",topOffset:i,bottomOffset:n,horizontalPadding:s,className:v="",style:p}=L,m=_(L,["size","state","label","icon","position","horizontalAlign","topOffset","bottomOffset","horizontalPadding","className","style"]),{isUnderTablet:g}=Y(),c=t!=null?t:g?"small":"medium",f=["toast",`toast--${c}`,`toast--${o}`,v].filter(Boolean).join(" "),h=c==="medium"?60:20,b=c==="medium"?60:20,C=16,y=(p==null?void 0:p.position)!==void 0,u=x(y?{}:{position:"fixed",zIndex:1e3},p);if(!y)if(r==="top"?(u.top=`${i!=null?i:h}px`,u.bottom="auto"):(u.bottom=`${n!=null?n:b}px`,u.top="auto"),c==="small"){let I=s!=null?s:C;u.left=`${I}px`,u.right=`${I}px`,u.transform="none",u.width=`calc(100% - ${I*2}px)`}else d==="center"?(u.left="50%",u.right="auto",u.transform="translateX(-50%)",u.width="auto",u.minWidth="540px",u.maxWidth="760px"):d==="left"?(u.left="16px",u.right="auto",u.transform="none",u.width="auto",u.minWidth="540px",u.maxWidth="760px"):(u.right="16px",u.left="auto",u.transform="none",u.width="auto",u.minWidth="540px",u.maxWidth="760px");let B=!l&&o!=="default"?(0,X.jsxs)("div",{className:"toast__icon",children:[o==="error"&&(0,X.jsx)(wo,{style:{width:"100%",height:"100%"}}),o==="warning"&&(0,X.jsx)(Io,{style:{width:"100%",height:"100%"}}),o==="success"&&(0,X.jsx)(qe,{style:{width:"100%",height:"100%"}}),o==="information"&&(0,X.jsx)(_o,{style:{width:"100%",height:"100%"}})]}):l?(0,X.jsx)("div",{className:"toast__icon",children:l}):null;return(0,X.jsxs)("div",k(x({className:f,style:u},m),{children:[B,(0,X.jsx)(V,{variant:c==="medium"?"heading-h6":"subtitle-p2",children:a})]}))},ta=250,at=ue.default.createContext(void 0),rt=({children:e})=>{let[t,o]=ue.default.useState([]),[a,l]=ue.default.useState(!1);ue.default.useEffect(()=>{l(!0)},[]);let r=ue.default.useCallback((i,n={})=>{let s=`toast-${Date.now()}-${Math.random()}`,{state:v="default",size:p,duration:m=3e3,position:g="top",horizontalAlign:c="center",topOffset:f,bottomOffset:h,horizontalPadding:b}=n,C=k(x({id:s,message:i,state:v},p!==void 0&&{size:p}),{duration:m,position:g,horizontalAlign:c,topOffset:f,bottomOffset:h,horizontalPadding:b});o(y=>[...y,C]),m>0&&setTimeout(()=>{o(y=>y.map(u=>u.id===s?k(x({},u),{exiting:!0}):u)),setTimeout(()=>{o(y=>y.filter(u=>u.id!==s))},ta)},m)},[]),d=ue.default.useCallback(i=>{o(n=>n.filter(s=>s.id!==i))},[]);return(0,X.jsxs)(at.Provider,{value:{showToast:r,hideToast:d},children:[e,a&&(0,tt.createPortal)((0,X.jsx)(X.Fragment,{children:t.map(i=>(0,X.jsx)(Co,x({state:i.state,size:i.size,label:i.message,position:i.position,horizontalAlign:i.horizontalAlign,topOffset:i.topOffset,bottomOffset:i.bottomOffset,horizontalPadding:i.horizontalPadding},i.exiting&&{className:"toast--exiting"}),i.id))}),document.body)]})};function nt(){let e=ue.default.useContext(at);if(!e)throw new Error("useToast must be used within a ToastProvider");return e}var it='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="205" height="24" viewBox="0 0 205 24" fill="none">%0A <path d="M58.6607 19.3778H71.5941V23.3524H54.3651V0.647619H58.6607V19.3735V19.3778ZM75.8476 23.3481H80.1432V0.647619H75.8476V23.3481ZM32.1477 8.90159L45.3049 0.647619H32.1477V8.90159ZM103.163 0.647619H97.0175L89.3934 9.59577V0.647619H85.0978V23.3481H89.3934V14.4042L97.8791 23.3481H104.025L92.8908 11.9746L103.159 0.647619H103.163ZM15.8141 0.647619H0L13.1573 8.90159V23.3481H32.1477V18.0233H15.8098V0.647619H15.8141ZM149.186 23.3481H153.482V0.647619H149.186V23.3481ZM200.704 0.647619V15.6571L188.075 0.647619H183.927V23.3481H188.223V8.21164L200.958 23.3481H205V0.647619H200.704ZM110.711 13.8878H121.626V9.98095H110.711V4.61799H123.079V0.643386H106.416V23.3439H123.239V19.3693H110.711V13.8836V13.8878ZM180.772 11.9323C180.772 18.7302 175.496 24 168.764 24C162.031 24 156.823 18.8698 156.823 12.0677C156.823 5.26561 162.098 0 168.831 0C175.564 0 180.772 5.13016 180.772 11.9323ZM176.565 11.9534C176.565 7.54286 173.237 4.21587 168.819 4.21587C164.4 4.21587 161.03 7.63598 161.03 12.0423C161.03 16.4487 164.358 19.7799 168.776 19.7799C173.194 19.7799 176.565 16.3598 176.565 11.9534ZM131.813 0.647619H127.518V23.3481H144.747V19.3735H131.813V0.647619Z" fill="%23FF6000"/>%0A</svg>%0A%0A%0A';var lt='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="206" height="24" viewBox="0 0 206 24" fill="none">%0A <path d="M58.9469 19.3778H71.9434V23.3524H54.6303V0.647619H58.9469V19.3735V19.3778ZM76.2175 23.3481H80.5341V0.647619H76.2175V23.3481ZM32.3045 8.90159L45.5259 0.647619H32.3045V8.90159ZM103.666 0.647619H97.4907L89.8295 9.59577V0.647619H85.5129V23.3481H89.8295V14.4042L98.3566 23.3481H104.532L93.3439 11.9746L103.662 0.647619H103.666ZM15.8912 0.647619H0L13.2215 8.90159V23.3481H32.3045V18.0233H15.887V0.647619H15.8912ZM149.914 23.3481H154.23V0.647619H149.914V23.3481ZM201.683 0.647619V15.6571L188.993 0.647619H184.824V23.3481H189.141V8.21164L201.938 23.3481H206V0.647619H201.683ZM111.251 13.8878H122.219V9.98095H111.251V4.61799H123.679V0.643386H106.935V23.3439H123.84V19.3693H111.251V13.8836V13.8878ZM181.654 11.9323C181.654 18.7302 176.353 24 169.587 24C162.821 24 157.588 18.8698 157.588 12.0677C157.588 5.26561 162.889 0 169.655 0C176.42 0 181.654 5.13016 181.654 11.9323ZM177.426 11.9534C177.426 7.54286 174.082 4.21587 169.642 4.21587C165.202 4.21587 161.815 7.63598 161.815 12.0423C161.815 16.4487 165.16 19.7799 169.6 19.7799C174.039 19.7799 177.426 16.3598 177.426 11.9534ZM132.456 0.647619H128.14V23.3481H145.453V19.3735H132.456V0.647619Z" fill="%231C1C1C"/>%0A</svg>%0A%0A%0A';var ct='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="206" height="24" viewBox="0 0 206 24" fill="none">%0A <path d="M58.9469 19.3778H71.9434V23.3524H54.6303V0.647619H58.9469V19.3735V19.3778ZM76.2175 23.3481H80.5341V0.647619H76.2175V23.3481ZM32.3045 8.90159L45.5259 0.647619H32.3045V8.90159ZM103.666 0.647619H97.4907L89.8295 9.59577V0.647619H85.5129V23.3481H89.8295V14.4042L98.3566 23.3481H104.532L93.3439 11.9746L103.662 0.647619H103.666ZM15.8912 0.647619H0L13.2215 8.90159V23.3481H32.3045V18.0233H15.887V0.647619H15.8912ZM149.914 23.3481H154.23V0.647619H149.914V23.3481ZM201.683 0.647619V15.6571L188.993 0.647619H184.824V23.3481H189.141V8.21164L201.938 23.3481H206V0.647619H201.683ZM111.251 13.8878H122.219V9.98095H111.251V4.61799H123.679V0.643386H106.935V23.3439H123.84V19.3693H111.251V13.8836V13.8878ZM181.654 11.9323C181.654 18.7302 176.353 24 169.587 24C162.821 24 157.588 18.8698 157.588 12.0677C157.588 5.26561 162.889 0 169.655 0C176.42 0 181.654 5.13016 181.654 11.9323ZM177.426 11.9534C177.426 7.54286 174.082 4.21587 169.642 4.21587C165.202 4.21587 161.815 7.63598 161.815 12.0423C161.815 16.4487 165.16 19.7799 169.6 19.7799C174.039 19.7799 177.426 16.3598 177.426 11.9534ZM132.456 0.647619H128.14V23.3481H145.453V19.3735H132.456V0.647619Z" fill="%23F9F9F9"/>%0A</svg>%0A%0A%0A';var st='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="24" viewBox="0 0 220 24" fill="none">%0A <g clip-path="url(%23clip0_953_185_kr)">%0A <path d="M15.3824 18.1619H31.7283V23.4877H12.7285V9.0344L-0.435303 0.778973H15.3824V18.1577V18.1619ZM31.7283 0.778973H44.8921L31.7283 9.03016V0.778973ZM89.3405 13.5008C84.3919 13.5008 80.9309 15.6599 80.9224 18.7504C80.9309 21.8409 84.3919 24 89.3405 24C94.2891 24 97.7501 21.8409 97.7586 18.7504C97.7501 15.6599 94.2891 13.5008 89.3405 13.5008ZM89.3405 21.1043C87.1092 21.1043 84.7215 20.4989 84.7089 18.8012C84.7215 17.0993 87.1092 16.4939 89.3405 16.4939C91.5718 16.4939 93.9594 17.0993 93.9721 18.797C93.9594 20.4989 91.5718 21.1043 89.3405 21.1043ZM94.8342 0H98.4432V13.5008H94.8342V8.33586H93.3087V12.2773H89.78V0.266714H93.3087V5.33427H94.8342V0ZM82.6551 9.29688L79.2447 12.7134L76.7092 10.1732L80.5421 6.33339C81.2647 5.55019 81.2521 4.98712 81.2521 4.30129H77.36V1.10496H88.8038V4.29705H84.9117C84.9117 4.98289 84.899 5.54595 85.6217 6.32916L89.4546 10.169L86.919 12.7091L83.5087 9.29264C83.3608 9.14447 83.196 8.94126 83.0819 8.79732C82.9678 8.94549 82.803 9.14447 82.6551 9.29264V9.29688ZM66.2415 8.17499H70.366V15.2238H74.2243V0H70.366V5.1734H66.2415V1.10496H53.9567V12.2731H66.2415V8.17499ZM62.4678 9.06827H57.7305V4.30975H62.4678V9.06827ZM68.9673 16.6167L75.0737 21.0577L72.9608 24L66.8543 19.559C66.3852 19.2076 65.9711 18.852 65.6203 18.5006C65.2696 18.852 64.8554 19.2076 64.3863 19.559L58.2799 24L56.1669 21.0577L62.2734 16.6167C63.5369 15.7065 63.6553 15.2916 63.6553 14.792V13.8141H67.56V14.792C67.56 15.2916 67.7079 15.7022 68.9715 16.6167H68.9673ZM145.207 9.0344H148.711V12.3069H145.207V24.0042H141.349V0H145.207V9.0344ZM212.438 13.2468H199.397V5.44435H207.582V3.81866H199.397V0.626566H211.479V8.31046H203.293V10.0547H212.438V13.2468ZM191.921 0H195.779V24H191.921V11.7693H187.767V8.49674H191.921V0ZM220.036 0V13.9538H216.174V7.7347H212.518V4.46216H216.174V0H220.036ZM184.72 10.4018L189.74 17.438L186.858 19.5167L181.838 12.4805C181.724 12.3366 181.635 12.1926 181.55 12.0741C181.466 12.1884 181.377 12.3323 181.263 12.4805L176.243 19.5167L173.361 17.438L178.381 10.4018C179.505 8.81425 179.678 8.23426 179.678 7.04886V6.32069H174.666V3.12859H179.661V0H183.439V3.12859H188.434V6.32069H183.423V7.04886C183.423 8.23426 183.596 8.81002 184.72 10.4018ZM108.273 0.778973C103.806 0.795908 101.346 4.5807 101.346 10.4018C101.346 16.223 103.806 20.0078 108.273 20.0247C112.74 20.0078 115.199 16.223 115.199 10.4018C115.199 4.5807 112.74 0.795908 108.273 0.778973ZM108.273 16.9215C105.779 16.9003 105.26 13.1071 105.26 10.4018C105.26 7.6966 105.784 3.90333 108.273 3.88217C110.766 3.90333 111.286 7.6966 111.286 10.4018C111.286 13.1071 110.762 16.9003 108.273 16.9215ZM202.562 24H220.036V15.0503H202.562V24ZM206.34 18.0265H216.203V21.028H206.34V18.0265ZM173.555 12.3069H170.077V24.0042H166.219V0H170.077V9.0344H173.555V12.3069ZM135.361 10.4018L140.381 17.438L137.499 19.5167L132.479 12.4805C132.365 12.3366 132.276 12.1926 132.191 12.0741C132.107 12.1884 132.018 12.3323 131.904 12.4805L126.884 19.5167L124.002 17.438L129.022 10.4018C130.146 8.81425 130.319 8.23426 130.319 7.04886V1.10496H134.068V7.04886C134.068 8.23426 134.241 8.81002 135.365 10.4018H135.361ZM117.925 0H121.783V24H117.925V0ZM160.133 10.4018L165.154 17.438L162.272 19.5167L157.251 12.4805C157.137 12.3366 157.048 12.1926 156.964 12.0741C156.879 12.1884 156.791 12.3323 156.677 12.4805L151.656 19.5167L148.774 17.438L153.794 10.4018C154.919 8.81425 155.092 8.23426 155.092 7.04886V4.72464H150.249V1.53255H163.683V4.72464H158.84V7.04886C158.84 8.23426 159.014 8.81002 160.138 10.4018H160.133Z" fill="%23FF6000"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_185_kr">%0A <rect width="220" height="24" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var pt='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="24" viewBox="0 0 220 24" fill="none">%0A <g clip-path="url(%23clip0_953_194_kr)">%0A <path d="M15.8177 18.1619H32.1636V23.4877H13.1638V9.0344L0 0.778973H15.8177V18.1577V18.1619ZM32.1636 0.778973H45.3274L32.1636 9.03016V0.778973ZM89.7758 13.5008C84.8272 13.5008 81.3662 15.6599 81.3577 18.7504C81.3662 21.8409 84.8272 24 89.7758 24C94.7244 24 98.1854 21.8409 98.1939 18.7504C98.1854 15.6599 94.7244 13.5008 89.7758 13.5008ZM89.7758 21.1043C87.5445 21.1043 85.1569 20.4989 85.1442 18.8012C85.1569 17.0993 87.5445 16.4939 89.7758 16.4939C92.0071 16.4939 94.3947 17.0993 94.4074 18.797C94.3947 20.4989 92.0071 21.1043 89.7758 21.1043ZM95.2695 0H98.8785V13.5008H95.2695V8.33586H93.744V12.2773H90.2153V0.266714H93.744V5.33427H95.2695V0ZM83.0904 9.29688L79.68 12.7134L77.1445 10.1732L80.9774 6.33339C81.7 5.55019 81.6874 4.98712 81.6874 4.30129H77.7953V1.10496H89.2391V4.29705H85.347C85.347 4.98289 85.3343 5.54595 86.057 6.32916L89.8899 10.169L87.3543 12.7091L83.944 9.29264C83.7961 9.14447 83.6313 8.94126 83.5172 8.79732C83.4031 8.94549 83.2383 9.14447 83.0904 9.29264V9.29688ZM66.6768 8.17499H70.8013V15.2238H74.6596V0H70.8013V5.1734H66.6768V1.10496H54.392V12.2731H66.6768V8.17499ZM62.9031 9.06827H58.1658V4.30975H62.9031V9.06827ZM69.4026 16.6167L75.509 21.0577L73.3961 24L67.2896 19.559C66.8205 19.2076 66.4064 18.852 66.0556 18.5006C65.7049 18.852 65.2907 19.2076 64.8216 19.559L58.7152 24L56.6022 21.0577L62.7087 16.6167C63.9722 15.7065 64.0906 15.2916 64.0906 14.792V13.8141H67.9953V14.792C67.9953 15.2916 68.1432 15.7022 69.4068 16.6167H69.4026ZM145.643 9.0344H149.146V12.3069H145.643V24.0042H141.784V0H145.643V9.0344ZM212.873 13.2468H199.832V5.44435H208.018V3.81866H199.832V0.626566H211.914V8.31046H203.728V10.0547H212.873V13.2468ZM192.356 0H196.214V24H192.356V11.7693H188.202V8.49674H192.356V0ZM220.471 0V13.9538H216.609V7.7347H212.953V4.46216H216.609V0H220.471ZM185.155 10.4018L190.176 17.438L187.294 19.5167L182.273 12.4805C182.159 12.3366 182.07 12.1926 181.986 12.0741C181.901 12.1884 181.812 12.3323 181.698 12.4805L176.678 19.5167L173.796 17.438L178.816 10.4018C179.94 8.81425 180.114 8.23426 180.114 7.04886V6.32069H175.102V3.12859H180.097V0H183.875V3.12859H188.87V6.32069H183.858V7.04886C183.858 8.23426 184.031 8.81002 185.155 10.4018ZM108.708 0.778973C104.241 0.795908 101.782 4.5807 101.782 10.4018C101.782 16.223 104.241 20.0078 108.708 20.0247C113.175 20.0078 115.634 16.223 115.634 10.4018C115.634 4.5807 113.175 0.795908 108.708 0.778973ZM108.708 16.9215C106.215 16.9003 105.695 13.1071 105.695 10.4018C105.695 7.6966 106.219 3.90333 108.708 3.88217C111.201 3.90333 111.721 7.6966 111.721 10.4018C111.721 13.1071 111.197 16.9003 108.708 16.9215ZM202.997 24H220.471V15.0503H202.997V24ZM206.775 18.0265H216.638V21.028H206.775V18.0265ZM173.99 12.3069H170.512V24.0042H166.654V0H170.512V9.0344H173.99V12.3069ZM135.796 10.4018L140.817 17.438L137.935 19.5167L132.914 12.4805C132.8 12.3366 132.711 12.1926 132.627 12.0741C132.542 12.1884 132.454 12.3323 132.339 12.4805L127.319 19.5167L124.437 17.438L129.457 10.4018C130.581 8.81425 130.755 8.23426 130.755 7.04886V1.10496H134.503V7.04886C134.503 8.23426 134.676 8.81002 135.8 10.4018H135.796ZM118.36 0H122.218V24H118.36V0ZM160.569 10.4018L165.589 17.438L162.707 19.5167L157.687 12.4805C157.573 12.3366 157.484 12.1926 157.399 12.0741C157.315 12.1884 157.226 12.3323 157.112 12.4805L152.091 19.5167L149.209 17.438L154.23 10.4018C155.354 8.81425 155.527 8.23426 155.527 7.04886V4.72464H150.684V1.53255H164.118V4.72464H159.276V7.04886C159.276 8.23426 159.449 8.81002 160.573 10.4018H160.569Z" fill="black"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_194_kr">%0A <rect width="220" height="24" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var dt='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="24" viewBox="0 0 220 24" fill="none">%0A <g clip-path="url(%23clip0_953_176)">%0A <path d="M15.3824 18.1619H31.7283V23.4877H12.7285V9.0344L-0.435303 0.778973H15.3824V18.1577V18.1619ZM31.7283 0.778973H44.8921L31.7283 9.03016V0.778973ZM89.3405 13.5008C84.3919 13.5008 80.9309 15.6599 80.9224 18.7504C80.9309 21.8409 84.3919 24 89.3405 24C94.2891 24 97.7501 21.8409 97.7586 18.7504C97.7501 15.6599 94.2891 13.5008 89.3405 13.5008ZM89.3405 21.1043C87.1092 21.1043 84.7215 20.4989 84.7089 18.8012C84.7215 17.0993 87.1092 16.4939 89.3405 16.4939C91.5718 16.4939 93.9594 17.0993 93.9721 18.797C93.9594 20.4989 91.5718 21.1043 89.3405 21.1043ZM94.8342 0H98.4432V13.5008H94.8342V8.33586H93.3087V12.2773H89.78V0.266714H93.3087V5.33427H94.8342V0ZM82.6551 9.29688L79.2447 12.7134L76.7092 10.1732L80.5421 6.33339C81.2647 5.55019 81.2521 4.98712 81.2521 4.30129H77.36V1.10496H88.8038V4.29705H84.9117C84.9117 4.98289 84.899 5.54595 85.6217 6.32916L89.4546 10.169L86.919 12.7091L83.5087 9.29264C83.3608 9.14447 83.196 8.94126 83.0819 8.79732C82.9678 8.94549 82.803 9.14447 82.6551 9.29264V9.29688ZM66.2415 8.17499H70.366V15.2238H74.2243V0H70.366V5.1734H66.2415V1.10496H53.9567V12.2731H66.2415V8.17499ZM62.4678 9.06827H57.7305V4.30975H62.4678V9.06827ZM68.9673 16.6167L75.0737 21.0577L72.9608 24L66.8543 19.559C66.3852 19.2076 65.9711 18.852 65.6203 18.5006C65.2696 18.852 64.8554 19.2076 64.3863 19.559L58.2799 24L56.1669 21.0577L62.2734 16.6167C63.5369 15.7065 63.6553 15.2916 63.6553 14.792V13.8141H67.56V14.792C67.56 15.2916 67.7079 15.7022 68.9715 16.6167H68.9673ZM145.207 9.0344H148.711V12.3069H145.207V24.0042H141.349V0H145.207V9.0344ZM212.438 13.2468H199.397V5.44435H207.582V3.81866H199.397V0.626566H211.479V8.31046H203.293V10.0547H212.438V13.2468ZM191.921 0H195.779V24H191.921V11.7693H187.767V8.49674H191.921V0ZM220.036 0V13.9538H216.174V7.7347H212.518V4.46216H216.174V0H220.036ZM184.72 10.4018L189.74 17.438L186.858 19.5167L181.838 12.4805C181.724 12.3366 181.635 12.1926 181.55 12.0741C181.466 12.1884 181.377 12.3323 181.263 12.4805L176.243 19.5167L173.361 17.438L178.381 10.4018C179.505 8.81425 179.678 8.23426 179.678 7.04886V6.32069H174.666V3.12859H179.661V0H183.439V3.12859H188.434V6.32069H183.423V7.04886C183.423 8.23426 183.596 8.81002 184.72 10.4018ZM108.273 0.778973C103.806 0.795908 101.346 4.5807 101.346 10.4018C101.346 16.223 103.806 20.0078 108.273 20.0247C112.74 20.0078 115.199 16.223 115.199 10.4018C115.199 4.5807 112.74 0.795908 108.273 0.778973ZM108.273 16.9215C105.779 16.9003 105.26 13.1071 105.26 10.4018C105.26 7.6966 105.784 3.90333 108.273 3.88217C110.766 3.90333 111.286 7.6966 111.286 10.4018C111.286 13.1071 110.762 16.9003 108.273 16.9215ZM202.562 24H220.036V15.0503H202.562V24ZM206.34 18.0265H216.203V21.028H206.34V18.0265ZM173.555 12.3069H170.077V24.0042H166.219V0H170.077V9.0344H173.555V12.3069ZM135.361 10.4018L140.381 17.438L137.499 19.5167L132.479 12.4805C132.365 12.3366 132.276 12.1926 132.191 12.0741C132.107 12.1884 132.018 12.3323 131.904 12.4805L126.884 19.5167L124.002 17.438L129.022 10.4018C130.146 8.81425 130.319 8.23426 130.319 7.04886V1.10496H134.068V7.04886C134.068 8.23426 134.241 8.81002 135.365 10.4018H135.361ZM117.925 0H121.783V24H117.925V0ZM160.133 10.4018L165.154 17.438L162.272 19.5167L157.251 12.4805C157.137 12.3366 157.048 12.1926 156.964 12.0741C156.879 12.1884 156.791 12.3323 156.677 12.4805L151.656 19.5167L148.774 17.438L153.794 10.4018C154.919 8.81425 155.092 8.23426 155.092 7.04886V4.72464H150.249V1.53255H163.683V4.72464H158.84V7.04886C158.84 8.23426 159.014 8.81002 160.138 10.4018H160.133Z" fill="white"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_176">%0A <rect width="220" height="24" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var ft='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="197" height="24" viewBox="0 0 197 24" fill="none">%0A <g clip-path="url(%23clip0_953_198_bootcamp)">%0A <path d="M15.3462 18.1619H31.7216V23.4877H12.6875V9.0344L-0.5 0.778973H15.3462V18.1577V18.1619ZM31.7216 9.0344L44.9091 0.778973H31.7216V9.03016V9.0344ZM66.297 8.17499H70.4289V15.2238H74.2941V0H70.4289V5.1734H66.297V1.10496H53.99V12.2731H66.297V8.17499ZM62.5164 9.06827H57.7706V4.30975H62.5164V9.06827ZM67.6136 14.792V13.8141H63.7018V14.792C63.7018 15.2916 63.5833 15.7022 62.3174 16.6167L56.1999 21.0577L58.3167 24L64.4342 19.559C64.9041 19.2076 65.3148 18.852 65.6704 18.5006C66.0218 18.852 66.4367 19.2076 66.9066 19.559L73.0241 24L75.1409 21.0577L69.0234 16.6167C67.7575 15.7065 67.6094 15.2916 67.6094 14.792H67.6136ZM85.8433 7.04886V1.10496H82.0881V7.04886C82.0881 8.23426 81.9145 8.81002 80.7884 10.4018L75.7589 17.438L78.6462 19.5167L83.6757 12.4805C83.79 12.3366 83.8789 12.1926 83.9636 12.0741C84.0482 12.1884 84.1371 12.3323 84.2514 12.4805L89.2809 19.5167L92.1682 17.438L87.1387 10.4018C86.0126 8.81425 85.839 8.23426 85.839 7.04886H85.8433ZM97.0071 0H93.1419V24H97.0071V12.3027H100.517V9.03016H97.0071V0ZM169.223 5.31311H167.403V0.266714H163.813V13.7506H167.403V8.58141H169.223V14.0088H172.894V0H169.223V5.31311ZM155.388 24H172.894V15.0503H155.388V24ZM159.173 18.0265H169.054V21.028H159.173V18.0265ZM161.548 8.86506C162.246 7.36215 162.428 5.69413 162.428 5.69413C162.5 5.13953 162.547 3.66626 162.547 3.16246V0.690069H152.42V3.94144H159.113C159.101 4.41136 159.037 5.29617 158.948 5.78726H152.42V8.87352H157.496C156.078 10.3934 153.931 11.0284 152.035 11.4814L152.869 14.8471C157.276 13.8056 160.172 11.892 161.548 8.86929V8.86506ZM180.251 11.9555H177.351V15.0503H194.891V11.9555H191.966V4.41559H194.921V1.29547H177.326V4.41559H180.251V11.9555ZM184.117 4.41559H188.134V11.9555H184.117V4.41559ZM174.773 18.0265V21.2482H197.474V18.0265H174.773ZM148.161 11.9555H135.448V9.72447H148.161V6.71441H135.448V4.41983H148.161V1.29547H131.557V15.0503H148.161V11.9555ZM128.509 21.2482H151.209V18.0265H128.509V21.2482ZM105.318 17.04H114.602V24H118.569V17.04H127.853V13.8183H105.318V17.04ZM124.656 0.690069H120.876V3.35297H112.328V0.690069H108.518V11.7481H124.656V0.690069ZM120.876 8.65338H112.328V6.39266H120.876V8.65338Z" fill="%23FF6000"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_198_bootcamp">%0A <rect width="197" height="24" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var ut='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="197" height="24" viewBox="0 0 197 24" fill="none">%0A <g clip-path="url(%23clip0_953_200_bootcamp)">%0A <path d="M15.3462 18.1619H31.7216V23.4877H12.6875V9.0344L-0.5 0.778973H15.3462V18.1577V18.1619ZM31.7216 9.0344L44.9091 0.778973H31.7216V9.03016V9.0344ZM66.297 8.17499H70.4289V15.2238H74.2941V0H70.4289V5.1734H66.297V1.10496H53.99V12.2731H66.297V8.17499ZM62.5164 9.06827H57.7706V4.30975H62.5164V9.06827ZM67.6136 14.792V13.8141H63.7018V14.792C63.7018 15.2916 63.5833 15.7022 62.3174 16.6167L56.1999 21.0577L58.3167 24L64.4342 19.559C64.9041 19.2076 65.3148 18.852 65.6704 18.5006C66.0218 18.852 66.4367 19.2076 66.9066 19.559L73.0241 24L75.1409 21.0577L69.0234 16.6167C67.7575 15.7065 67.6094 15.2916 67.6094 14.792H67.6136ZM85.8433 7.04886V1.10496H82.0881V7.04886C82.0881 8.23426 81.9145 8.81002 80.7884 10.4018L75.7589 17.438L78.6462 19.5167L83.6757 12.4805C83.79 12.3366 83.8789 12.1926 83.9636 12.0741C84.0482 12.1884 84.1371 12.3323 84.2514 12.4805L89.2809 19.5167L92.1682 17.438L87.1387 10.4018C86.0126 8.81425 85.839 8.23426 85.839 7.04886H85.8433ZM97.0071 0H93.1419V24H97.0071V12.3027H100.517V9.03016H97.0071V0ZM169.223 5.31311H167.403V0.266714H163.813V13.7506H167.403V8.58141H169.223V14.0088H172.894V0H169.223V5.31311ZM155.388 24H172.894V15.0503H155.388V24ZM159.173 18.0265H169.054V21.028H159.173V18.0265ZM161.548 8.86506C162.246 7.36215 162.428 5.69413 162.428 5.69413C162.5 5.13953 162.547 3.66626 162.547 3.16246V0.690069H152.42V3.94144H159.113C159.101 4.41136 159.037 5.29617 158.948 5.78726H152.42V8.87352H157.496C156.078 10.3934 153.931 11.0284 152.035 11.4814L152.869 14.8471C157.276 13.8056 160.172 11.892 161.548 8.86929V8.86506ZM180.251 11.9555H177.351V15.0503H194.891V11.9555H191.966V4.41559H194.921V1.29547H177.326V4.41559H180.251V11.9555ZM184.117 4.41559H188.134V11.9555H184.117V4.41559ZM174.773 18.0265V21.2482H197.474V18.0265H174.773ZM148.161 11.9555H135.448V9.72447H148.161V6.71441H135.448V4.41983H148.161V1.29547H131.557V15.0503H148.161V11.9555ZM128.509 21.2482H151.209V18.0265H128.509V21.2482ZM105.318 17.04H114.602V24H118.569V17.04H127.853V13.8183H105.318V17.04ZM124.656 0.690069H120.876V3.35297H112.328V0.690069H108.518V11.7481H124.656V0.690069ZM120.876 8.65338H112.328V6.39266H120.876V8.65338Z" fill="black"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_200_bootcamp">%0A <rect width="197" height="24" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var mt='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="197" height="24" viewBox="0 0 197 24" fill="none">%0A <g clip-path="url(%23clip0_953_204)">%0A <path d="M15.3462 18.1619H31.7216V23.4877H12.6875V9.0344L-0.5 0.778973H15.3462V18.1577V18.1619ZM31.7216 9.0344L44.9091 0.778973H31.7216V9.03016V9.0344ZM66.297 8.17499H70.4289V15.2238H74.2941V0H70.4289V5.1734H66.297V1.10496H53.99V12.2731H66.297V8.17499ZM62.5164 9.06827H57.7706V4.30975H62.5164V9.06827ZM67.6136 14.792V13.8141H63.7018V14.792C63.7018 15.2916 63.5833 15.7022 62.3174 16.6167L56.1999 21.0577L58.3167 24L64.4342 19.559C64.9041 19.2076 65.3148 18.852 65.6704 18.5006C66.0218 18.852 66.4367 19.2076 66.9066 19.559L73.0241 24L75.1409 21.0577L69.0234 16.6167C67.7575 15.7065 67.6094 15.2916 67.6094 14.792H67.6136ZM85.8433 7.04886V1.10496H82.0881V7.04886C82.0881 8.23426 81.9145 8.81002 80.7884 10.4018L75.7589 17.438L78.6462 19.5167L83.6757 12.4805C83.79 12.3366 83.8789 12.1926 83.9636 12.0741C84.0482 12.1884 84.1371 12.3323 84.2514 12.4805L89.2809 19.5167L92.1682 17.438L87.1387 10.4018C86.0126 8.81425 85.839 8.23426 85.839 7.04886H85.8433ZM97.0071 0H93.1419V24H97.0071V12.3027H100.517V9.03016H97.0071V0ZM169.223 5.31311H167.403V0.266714H163.813V13.7506H167.403V8.58141H169.223V14.0088H172.894V0H169.223V5.31311ZM155.388 24H172.894V15.0503H155.388V24ZM159.173 18.0265H169.054V21.028H159.173V18.0265ZM161.548 8.86506C162.246 7.36215 162.428 5.69413 162.428 5.69413C162.5 5.13953 162.547 3.66626 162.547 3.16246V0.690069H152.42V3.94144H159.113C159.101 4.41136 159.037 5.29617 158.948 5.78726H152.42V8.87352H157.496C156.078 10.3934 153.931 11.0284 152.035 11.4814L152.869 14.8471C157.276 13.8056 160.172 11.892 161.548 8.86929V8.86506ZM180.251 11.9555H177.351V15.0503H194.891V11.9555H191.966V4.41559H194.921V1.29547H177.326V4.41559H180.251V11.9555ZM184.117 4.41559H188.134V11.9555H184.117V4.41559ZM174.773 18.0265V21.2482H197.474V18.0265H174.773ZM148.161 11.9555H135.448V9.72447H148.161V6.71441H135.448V4.41983H148.161V1.29547H131.557V15.0503H148.161V11.9555ZM128.509 21.2482H151.209V18.0265H128.509V21.2482ZM105.318 17.04H114.602V24H118.569V17.04H127.853V13.8183H105.318V17.04ZM124.656 0.690069H120.876V3.35297H112.328V0.690069H108.518V11.7481H124.656V0.690069ZM120.876 8.65338H112.328V6.39266H120.876V8.65338Z" fill="white"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_204">%0A <rect width="197" height="24" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var gt='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="60" viewBox="0 0 120 60" fill="none">%0A <g clip-path="url(%23clip0_953_187_symbol)">%0A <path d="M0 0L34.85 21.8083V60H85.1583V45.9333H41.8833V0H0ZM85.15 0V21.8083L120 0H85.15Z" fill="%23FF6000"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_187_symbol">%0A <rect width="120" height="60" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var xt='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="60" viewBox="0 0 120 60" fill="none">%0A <g clip-path="url(%23clip0_953_196_symbol)">%0A <path d="M0 0L34.85 21.8083V60H85.1583V45.9333H41.8833V0H0ZM85.15 0V21.8083L120 0H85.15Z" fill="black"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_196_symbol">%0A <rect width="120" height="60" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var ht='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="60" viewBox="0 0 120 60" fill="none">%0A <g clip-path="url(%23clip0_953_206_symbol)">%0A <path d="M0 0L34.85 21.8083V60H85.1583V45.9333H41.8833V0H0ZM85.15 0V21.8083L120 0H85.15Z" fill="white"/>%0A </g>%0A <defs>%0A <clipPath id="clip0_953_206_symbol">%0A <rect width="120" height="60" fill="white"/>%0A </clipPath>%0A </defs>%0A</svg>%0A%0A%0A';var Ho='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">%0A <!-- \uC624\uB80C\uC9C0 \uBC30\uACBD (%23ff6000) -->%0A <rect width="64" height="64" fill="%23ff6000"/>%0A <!-- \uD770\uC0C9 \uC2EC\uBCFC (padding: 19px 5px 18.5px 6px, \uC2EC\uBCFC \uD06C\uAE30: 53px x 26.5px) -->%0A <g transform="translate(6, 19)">%0A <path d="M0 0L34.85 21.8083V60H85.1583V45.9333H41.8833V0H0ZM85.15 0V21.8083L120 0H85.15Z" fill="white" transform="scale(0.4417)"/>%0A </g>%0A</svg>%0A';var bt='data:image/svg+xml,<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect width="64" height="64" fill="black"/>%0A<g clip-path="url(%23clip0_243_6271)">%0A<g clip-path="url(%23clip1_243_6271)">%0A<path d="M6 19L21.3921 28.632V45.5H43.6116V39.2872H24.4985V19H6ZM43.6079 19V28.632L59 19H43.6079Z" fill="white"/>%0A</g>%0A</g>%0A<defs>%0A<clipPath id="clip0_243_6271">%0A<rect width="53" height="26.5" fill="white" transform="translate(6 19)"/>%0A</clipPath>%0A<clipPath id="clip1_243_6271">%0A<rect width="53" height="26.5" fill="white" transform="translate(6 19)"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var so={"likelion-eng":{primary:it,black:lt,white:ct},"likelion-kr":{primary:st,black:pt,white:dt},bootcamp:{primary:ft,black:ut,white:mt},symbol:{primary:gt,black:xt,white:ht},favicon:{primary:Ho,black:bt,white:Ho}};var U=require("react/jsx-runtime"),he=(e,t)=>e in so?so[e][t]:"",ha=({className:e})=>(0,U.jsx)("img",{src:so.symbol.white,alt:"Lion Icon",className:e}),vt=d=>{var i=d,{type:e="likelion-kr",color:t="primary",size:o="medium",service:a="likelion",className:l=""}=i,r=_(i,["type","color","size","service","className"]);let n=["logo",`logo--${e}`,`logo--${t}`,`logo--${o}`,l].filter(Boolean).join(" ");if(e==="likelion-eng")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("likelion-eng",t),alt:"\uBA4B\uC7C1\uC774\uC0AC\uC790\uCC98\uB7FC_ENG",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="likelion-kr")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("likelion-kr",t),alt:"\uBA4B\uC7C1\uC774\uC0AC\uC790\uCC98\uB7FC_KR",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="bootcamp")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("bootcamp",t),alt:"\uBA4B\uC0AC \uBD80\uD2B8\uCEA0\uD504",style:{width:"100%",height:"100%",display:"block"}})}));let s=()=>null;if(e==="symbol")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("symbol",t),alt:"\uC2EC\uBCFC",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="favicon")return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("img",{src:he("favicon",t),alt:"\uD30C\uBE44\uCF58",style:{width:"100%",height:"100%",display:"block"}})}));if(e==="og-image"){let p=a==="likelion"?"\uBA4B\uC7C1\uC774\uC0AC\uC790\uCC98\uB7FC":"\uBA4B\uC0AC \uBD80\uD2B8\uCEA0\uD504",m=he(a==="likelion"?"likelion-kr":"bootcamp","white");return(0,U.jsx)("div",k(x({className:n},r),{children:(0,U.jsx)("div",{className:"logo__og-container",children:(0,U.jsx)("img",{src:m,alt:p,style:{width:"auto",height:"37.8px",display:"block"}})})}))}let v=s();return(0,U.jsxs)("div",k(x({className:n},r),{children:[(0,U.jsx)("div",{className:"logo__icon",children:(0,U.jsx)(ha,{})}),v&&(0,U.jsx)("span",{className:"logo__text",children:v})]}))};var ba={mobile:{min:375,max:743},tablet:{min:744,max:1279},desktop:{min:1280}},va={mo:"375px",tb:"744px",pc:"1280px"},ya={mobile:"(min-width: 375px) and (max-width: 743px)",tablet:"(min-width: 744px) and (max-width: 1279px)",desktop:"(min-width: 1280px)",underTablet:"(max-width: 743px)"},Ia={mobile:{margin:16,column:4,gutter:16},tablet:{margin:24,column:8,gutter:24},desktop:{margin:24,column:12,gutter:24}};0&&(module.exports={ActionButton,BREAKPOINTS,Badge,BreakpointProvider,Button,Checkbox,CheckboxGroup,Chip,ChipGroup,Dialog,DialogProvider,IconButton,LAYOUT_SYSTEM,Logo,MEDIA_QUERIES,Pagination,RadioButton,RadioButtonGroup,SelectBox,SelectHeader,SelectMenu,SelectMenuOverlay,TAILWIND_SCREENS,Tab,TabGroup,Tag,Text,TextInput,Toast,ToastProvider,Toggle,Tooltip,useBreakpoint,useCheckboxGroup,useDialog,useMediaQuery,useToast});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|