import{j as e}from"./index-CzTQZzQy.js";import{r as f}from"./vendor-L5FivjNr.js";/**
 * 2026 Paysera
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 * @author Paysera <plugins@paysera.com>
 * @copyright 2026 Paysera
 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
 */const y="_card_j9yex_1",u="_cardBody_j9yex_7",$="_cardHeader_j9yex_11",p={card:y,cardBody:u,cardHeader:$},I=({children:s,className:r=""})=>e.jsx("div",{className:`${p.card} ${r}`.trim(),children:s}),A=({children:s,className:r=""})=>e.jsx("div",{className:`${p.cardBody} ${r}`.trim(),children:s}),R=({children:s,className:r=""})=>e.jsx("div",{className:`${p.cardHeader} ${r}`.trim(),children:s}),k="_flex_iduko_1",N="_flexBlock_iduko_9",m={flex:k,flexBlock:N},v=f.forwardRef(({children:s,align:r,className:o="",direction:a="row",gap:c,justify:n,wrap:d=!1,as:l="div",style:i,...x},_)=>{const j={display:"flex",flexDirection:Array.isArray(a)?a[a.length-1]:a,alignItems:r,justifyContent:n,gap:c,flexWrap:d?"wrap":void 0,...i};return e.jsx(l,{ref:_,className:`${m.flex} ${o}`.trim(),style:j,...x,children:s})});v.displayName="Flex";const S=({children:s,className:r="",style:o})=>e.jsx("div",{className:`${m.flexBlock} ${r}`.trim(),style:{flex:1,...o},children:s}),B="_wrapper_ljomk_1",w="_label_ljomk_7",h="_input_ljomk_13",E="_inputError_ljomk_35",b="_help_ljomk_42",F="_error_ljomk_48",t={wrapper:B,label:w,input:h,inputError:E,help:b,error:F},W=({id:s,placeholder:r,type:o="text",value:a,onChange:c,label:n,help:d,error:l,disabled:i=!1,className:x=""})=>e.jsxs("div",{className:`${t.wrapper} ${x}`.trim(),children:[n&&e.jsx("label",{className:t.label,htmlFor:s,children:n}),e.jsx("input",{id:s,className:`${t.input} ${l?t.inputError:""}`.trim(),type:o,placeholder:r,value:a,onChange:_=>c==null?void 0:c(_.target.value),disabled:i}),d&&!l&&e.jsx("p",{className:t.help,children:d}),l&&e.jsx("p",{className:t.error,children:l})]});export{I as C,v as F,W as I,R as a,A as b,S as c};
