sodtrack-web-ui 0.44.1 → 0.46.0
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/accordion-form.js +2 -2
- package/dist/accordion-form.mjs +1 -1
- package/dist/accordion.js +2 -2
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog.js +2 -2
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert.js +2 -2
- package/dist/alert.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/button.js +2 -2
- package/dist/button.mjs +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/checkbox.mjs +1 -1
- package/dist/chip-context.d.mts +117 -0
- package/dist/chip-context.d.ts +117 -0
- package/dist/chip-context.js +1 -0
- package/dist/chip-context.mjs +1 -0
- package/dist/chip-form-complementary.d.mts +3 -3
- package/dist/chip-form-complementary.d.ts +3 -3
- package/dist/chip-form.d.mts +3 -3
- package/dist/chip-form.d.ts +3 -3
- package/dist/chip-input.js +2 -2
- package/dist/chip-input.mjs +1 -1
- package/dist/chip-status-complementary.d.mts +1 -1
- package/dist/chip-status-complementary.d.ts +1 -1
- package/dist/chip-status-table.d.mts +1 -1
- package/dist/chip-status-table.d.ts +1 -1
- package/dist/{chunk-TBVSCYRJ.mjs → chunk-25D6OS3A.mjs} +1 -1
- package/dist/{chunk-H7UMATFD.mjs → chunk-3EAPAHQO.mjs} +1 -1
- package/dist/{chunk-JJYUS2S5.mjs → chunk-3FWHDOPP.mjs} +1 -1
- package/dist/chunk-4HLOKQOY.mjs +1 -0
- package/dist/chunk-4UFGYYGJ.mjs +1 -0
- package/dist/{chunk-5KBFQZID.mjs → chunk-4ZB4CDZE.mjs} +1 -1
- package/dist/{chunk-XGJ7RSSV.mjs → chunk-562EYVK4.mjs} +1 -1
- package/dist/{chunk-HCMSV6JM.mjs → chunk-6CCSHVKZ.mjs} +1 -1
- package/dist/{chunk-7BFU6TCN.mjs → chunk-AJC4WJ6X.mjs} +1 -1
- package/dist/{chunk-BRYDEYOA.mjs → chunk-AZOZKDKH.mjs} +1 -1
- package/dist/{chunk-D5M2AWF7.mjs → chunk-CYXEAABP.mjs} +1 -1
- package/dist/{chunk-LI35AH5L.mjs → chunk-E2TEMGYB.mjs} +1 -1
- package/dist/chunk-ERINQS7G.mjs +1 -0
- package/dist/chunk-GHXJD2N3.mjs +1 -0
- package/dist/{chunk-J4IO5B32.mjs → chunk-GIQQT37U.mjs} +1 -1
- package/dist/chunk-HLCVPPIL.mjs +1 -0
- package/dist/{chunk-QCVKHPF5.mjs → chunk-KSIZIAKW.mjs} +1 -1
- package/dist/{chunk-RRPGL57C.mjs → chunk-LRKWGUJ7.mjs} +1 -1
- package/dist/{chunk-XJBYOFJV.mjs → chunk-MUD4S7TV.mjs} +1 -1
- package/dist/chunk-MVFX36ZC.mjs +1 -0
- package/dist/{chunk-2LXG6QEY.mjs → chunk-OA64AHYH.mjs} +1 -1
- package/dist/{chunk-UBOAGDGR.mjs → chunk-OCDNP76Y.mjs} +1 -1
- package/dist/{chunk-ASVUFZGH.mjs → chunk-RU2LM76T.mjs} +1 -1
- package/dist/{chunk-4SUP4N33.mjs → chunk-TGTW7UYA.mjs} +10 -2
- package/dist/chunk-TYHJTIAW.mjs +1 -0
- package/dist/{chunk-LKJYORDL.mjs → chunk-USGPJV45.mjs} +1 -1
- package/dist/{chunk-BIIAV5AU.mjs → chunk-VBMLF5PR.mjs} +1 -1
- package/dist/{chunk-PVDIOCJZ.mjs → chunk-VPETCOFL.mjs} +1 -1
- package/dist/{chunk-ALTRFQVR.mjs → chunk-X47ITJEB.mjs} +1 -1
- package/dist/data-table.js +2 -2
- package/dist/data-table.mjs +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-picker.mjs +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dialog.mjs +1 -1
- package/dist/drawer.js +2 -2
- package/dist/drawer.mjs +1 -1
- package/dist/flag-select.js +3 -3
- package/dist/flag-select.mjs +1 -1
- package/dist/icon-button.js +1 -1
- package/dist/icon-button.mjs +1 -1
- package/dist/icons.d.mts +2 -1
- package/dist/icons.d.ts +2 -1
- package/dist/icons.js +10 -2
- package/dist/icons.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -2
- package/dist/index.mjs +1 -1
- package/dist/list-item-arrow.css +1 -1
- package/dist/list-item-arrow.js +2 -2
- package/dist/list-item-arrow.mjs +1 -1
- package/dist/list-item-checkbox.css +1 -1
- package/dist/list-item-checkbox.js +2 -2
- package/dist/list-item-checkbox.mjs +1 -1
- package/dist/list-item.css +1 -1
- package/dist/list-item.mjs +1 -1
- package/dist/rating.js +2 -2
- package/dist/rating.mjs +1 -1
- package/dist/search-bar.js +3 -3
- package/dist/search-bar.mjs +1 -1
- package/dist/select.js +3 -3
- package/dist/select.mjs +1 -1
- package/dist/snackbar.js +2 -2
- package/dist/snackbar.mjs +1 -1
- package/dist/spinner.d.mts +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.js +2 -2
- package/dist/spinner.mjs +1 -1
- package/dist/tab.d.mts +1 -1
- package/dist/tab.d.ts +1 -1
- package/dist/tab.js +2 -2
- package/dist/tab.mjs +1 -1
- package/dist/table.js +2 -2
- package/dist/table.mjs +1 -1
- package/dist/tailwind-preset.js +1 -1
- package/dist/tailwind-preset.mjs +1 -1
- package/dist/text-field.js +3 -3
- package/dist/text-field.mjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/time-picker.js +2 -2
- package/dist/time-picker.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-AF7XWQ5Y.mjs +0 -1
- package/dist/chunk-H3SZPRKR.mjs +0 -1
- package/dist/chunk-HUAKTFJQ.mjs +0 -1
- package/dist/chunk-RNVAURSX.mjs +0 -1
- package/dist/chunk-W2YOW3FA.mjs +0 -1
- package/dist/chunk-ZFVMGILP.mjs +0 -1
package/dist/flag-select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var se=require('react'),Ze=require('@radix-ui/react-portal'),reactLabel=require('@radix-ui/react-label'),jsxRuntime=require('react/jsx-runtime'),y=require('@radix-ui/react-scroll-area');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var se__default=/*#__PURE__*/_interopDefault(se);var Ze__namespace=/*#__PURE__*/_interopNamespace(Ze);var y__namespace=/*#__PURE__*/_interopNamespace(y);function me(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(a=0;a<u;a++)e[a]&&(t=me(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Le(){for(var e,a,t=0,o="",u=arguments.length;t<u;t++)(e=arguments[t])&&(a=me(e))&&(o&&(o+=" "),o+=a);return o}var de="-",_e=e=>{let a=Je(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:d=>{let l=d.split(de);return l[0]===""&&l.length!==1&&l.shift(),Ce(l,a)||Ke(d)},getConflictingClassGroupIds:(d,l)=>{let f=t[d]||[];return l&&o[d]?[...f,...o[d]]:f}}},Ce=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),u=o?Ce(e.slice(1),o):void 0;if(u)return u;if(a.validators.length===0)return;let r=e.join(de);return a.validators.find(({validator:d})=>d(r))?.classGroupId},xe=/^\[(.+)\]$/,Ke=e=>{if(xe.test(e)){let a=xe.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Je=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return $e(Object.entries(e.classGroups),t).forEach(([r,d])=>{ue(d,o,r,a);}),o},ue=(e,a,t,o)=>{e.forEach(u=>{if(typeof u=="string"){let r=u===""?a:Ie(a,u);r.classGroupId=t;return}if(typeof u=="function"){if(Qe(u)){ue(u(o),a,t,o);return}a.validators.push({validator:u,classGroupId:t});return}Object.entries(u).forEach(([r,d])=>{ue(d,Ie(a,r),t,o);});});},Ie=(e,a)=>{let t=e;return a.split(de).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},Qe=e=>e.isThemeGetter,$e=(e,a)=>a?e.map(([t,o])=>{let u=o.map(r=>typeof r=="string"?a+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([d,l])=>[a+d,l])):r);return [t,u]}):e,je=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,u=(r,d)=>{t.set(r,d),a++,a>e&&(a=0,o=t,t=new Map);};return {get(r){let d=t.get(r);if(d!==void 0)return d;if((d=o.get(r))!==void 0)return u(r,d),d},set(r,d){t.has(r)?t.set(r,d):u(r,d);}}},he="!",Ye=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,u=a[0],r=a.length,d=l=>{let f=[],m=0,c=0,P;for(let I=0;I<l.length;I++){let p=l[I];if(m===0){if(p===u&&(o||l.slice(I,I+r)===a)){f.push(l.slice(c,I)),c=I+r;continue}if(p==="/"){P=I;continue}}p==="["?m++:p==="]"&&m--;}let L=f.length===0?l:l.substring(c),S=L.startsWith(he),k=S?L.substring(1):L,h=P&&P>c?P-c:void 0;return {modifiers:f,hasImportantModifier:S,baseClassName:k,maybePostfixModifierPosition:h}};return t?l=>t({className:l,parseClassName:d}):d},ea=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},aa=e=>({cache:je(e.cacheSize),parseClassName:Ye(e),..._e(e)}),ta=/\s+/,oa=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:u}=a,r=[],d=e.trim().split(ta),l="";for(let f=d.length-1;f>=0;f-=1){let m=d[f],{modifiers:c,hasImportantModifier:P,baseClassName:L,maybePostfixModifierPosition:S}=t(m),k=!!S,h=o(k?L.substring(0,S):L);if(!h){if(!k){l=m+(l.length>0?" "+l:l);continue}if(h=o(L),!h){l=m+(l.length>0?" "+l:l);continue}k=!1;}let I=ea(c).join(":"),p=P?I+he:I,g=p+h;if(r.includes(g))continue;r.push(g);let M=u(h,k);for(let F=0;F<M.length;++F){let b=M[F];r.push(p+b);}l=m+(l.length>0?" "+l:l);}return l};function la(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=ge(a))&&(o&&(o+=" "),o+=t);return o}var ge=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=ge(e[o]))&&(t&&(t+=" "),t+=a);return t};function ra(e,...a){let t,o,u,r=d;function d(f){let m=a.reduce((c,P)=>P(c),e());return t=aa(m),o=t.cache.get,u=t.cache.set,r=l,l(f)}function l(f){let m=o(f);if(m)return m;let c=oa(f,t);return u(f,c),c}return function(){return r(la.apply(null,arguments))}}var C=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},Se=/^\[(?:([a-z-]+):)?(.+)\]$/i,ua=/^\d+\/\d+$/,da=new Set(["px","full","screen"]),sa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ia=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ca=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,na=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>V(e)||da.has(e)||ua.test(e),q=e=>G(e,"length",ga),V=e=>!!e&&!Number.isNaN(Number(e)),re=e=>G(e,"number",V),X=e=>!!e&&Number.isInteger(Number(e)),pa=e=>e.endsWith("%")&&V(e.slice(0,-1)),s=e=>Se.test(e),H=e=>sa.test(e),ma=new Set(["length","size","percentage"]),La=e=>G(e,ma,we),xa=e=>G(e,"position",we),Ia=new Set(["image","url"]),Ca=e=>G(e,Ia,wa),ha=e=>G(e,"",Sa),Z=()=>!0,G=(e,a,t)=>{let o=Se.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):!1},ga=e=>fa.test(e)&&!ia.test(e),we=()=>!1,Sa=e=>ca.test(e),wa=e=>na.test(e);var Pa=()=>{let e=C("colors"),a=C("spacing"),t=C("blur"),o=C("brightness"),u=C("borderColor"),r=C("borderRadius"),d=C("borderSpacing"),l=C("borderWidth"),f=C("contrast"),m=C("grayscale"),c=C("hueRotate"),P=C("invert"),L=C("gap"),S=C("gradientColorStops"),k=C("gradientColorStopPositions"),h=C("inset"),I=C("margin"),p=C("opacity"),g=C("padding"),M=C("saturate"),F=C("scale"),b=C("sepia"),D=C("skew"),A=C("space"),z=C("translate"),W=()=>["auto","contain","none"],i=()=>["auto","hidden","clip","visible","scroll"],w=()=>["auto",s,a],n=()=>[s,a],j=()=>["",R,q],O=()=>["auto",V,s],ce=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",s],pe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>[V,s];return {cacheSize:500,separator:":",theme:{colors:[Z],spacing:[R,q],blur:["none","",H,s],brightness:v(),borderColor:[e],borderRadius:["none","","full",H,s],borderSpacing:n(),borderWidth:j(),contrast:v(),grayscale:N(),hueRotate:v(),invert:N(),gap:n(),gradientColorStops:[e],gradientColorStopPositions:[pa,q],inset:w(),margin:w(),opacity:v(),padding:n(),saturate:v(),scale:v(),sepia:N(),skew:v(),space:n(),translate:n()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":pe()}],"break-before":[{"break-before":pe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ce(),s]}],overflow:[{overflow:i()}],"overflow-x":[{"overflow-x":i()}],"overflow-y":[{"overflow-y":i()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X,s]}],basis:[{basis:w()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",X,s]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",X,s]},s]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[X,s]},s]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[L]}],"gap-x":[{"gap-x":[L]}],"gap-y":[{"gap-y":[L]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[I]}],mx:[{mx:[I]}],my:[{my:[I]}],ms:[{ms:[I]}],me:[{me:[I]}],mt:[{mt:[I]}],mr:[{mr:[I]}],mb:[{mb:[I]}],ml:[{ml:[I]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",H,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",re]}],"font-family":[{font:[Z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",V,re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,q]}],"underline-offset":[{"underline-offset":["auto",R,s]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:n()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ce(),xa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",La]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ca]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:Y()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[R,s]}],"outline-w":[{outline:[R,q]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[R,q]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,ha]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",H,s]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[P]}],saturate:[{saturate:[M]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[P]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:v()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:v()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[X,s]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":n()}],"scroll-mx":[{"scroll-mx":n()}],"scroll-my":[{"scroll-my":n()}],"scroll-ms":[{"scroll-ms":n()}],"scroll-me":[{"scroll-me":n()}],"scroll-mt":[{"scroll-mt":n()}],"scroll-mr":[{"scroll-mr":n()}],"scroll-mb":[{"scroll-mb":n()}],"scroll-ml":[{"scroll-ml":n()}],"scroll-p":[{"scroll-p":n()}],"scroll-px":[{"scroll-px":n()}],"scroll-py":[{"scroll-py":n()}],"scroll-ps":[{"scroll-ps":n()}],"scroll-pe":[{"scroll-pe":n()}],"scroll-pt":[{"scroll-pt":n()}],"scroll-pr":[{"scroll-pr":n()}],"scroll-pb":[{"scroll-pb":n()}],"scroll-pl":[{"scroll-pl":n()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,q,re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Pe=ra(Pa);function x(...e){return Pe(Le(e))}var ke=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ee=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();var be={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Me=se.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:u="",children:r,iconNode:d,...l},f)=>se.createElement("svg",{ref:f,...be,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:ee("lucide",u),...l},[...d.map(([m,c])=>se.createElement(m,c)),...Array.isArray(r)?r:[r]]));var E=(e,a)=>{let t=se.forwardRef(({className:o,...u},r)=>se.createElement(Me,{ref:r,iconNode:a,className:ee(`lucide-${ke(e)}`,o),...u}));return t.displayName=`${e}`,t};var _=E("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var U=E("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var K=E("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var Fe=U,ye=K;var ae=_;var Ma=({error:e,helperText:a,disabled:t})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:a&&jsxRuntime.jsx("span",{className:x("mx-4 mt-1 text-start text-xs leading-[130%] text-neutral-600",t&&"text-neutral-400",e&&"text-error-700"),children:a})}),De=Ma;var Re=se.forwardRef(({label:e,placeholder:a,error:t,selectMode:o=!1,showClearButton:u=!0,helperText:r,className:d,size:l="lg",onClean:f,onChange:m,startIcon:c,endIcon:P,startComponent:L,fixedTopLabel:S,startText:k,disabled:h,...I},p)=>{let g=se.useRef(null),[M,F]=se.useState(!1),b=!g.current?.value,D=se.useCallback(()=>{if(g.current&&!h){g.current.value="",F(!1),f?.();let A={target:g.current,currentTarget:g.current,type:"change",bubbles:!0,cancelable:!1,defaultPrevented:!1,eventPhase:0,isTrusted:!0,preventDefault:()=>{},stopPropagation:()=>{},persist:()=>{},isDefaultPrevented:()=>!1,isPropagationStopped:()=>!1,timeStamp:Date.now(),nativeEvent:new Event("change")};m?.(A);}},[h,m,g.current]);return se.useEffect(()=>{g.current&&F(g.current.value.length>0);},[]),jsxRuntime.jsxs("div",{className:x("flex flex-col",d),children:[jsxRuntime.jsxs("div",{className:x("relative flex flex-col",l==="lg"&&"h-12",l==="md"&&"h-10",l==="sm"&&"h-8"),children:[jsxRuntime.jsx("input",{disabled:h,className:x("hover:caret-neutral-text-neutral-600 hover:ring-neutral-text-neutral-600 hover:text-neutral peer absolute z-20 h-full w-full rounded-lg bg-neutral-50/0 text-left tracking-normal text-neutral-900 placeholder-neutral-500/0 caret-neutral-900 outline-0 ring-1 ring-inset ring-neutral-400 transition-all ease-linear hover:placeholder-neutral-500/0 focus:text-neutral-900 focus:placeholder-neutral-500 focus:placeholder-opacity-100 focus:caret-primary-800 focus:ring-[2px] focus:ring-primary-800 disabled:bg-neutral-100 disabled:text-neutral-400 disabled:ring-neutral-100 [&:not(:placeholder-shown)]:z-10",t&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700",l==="lg"&&"text-base",l==="md"&&"text-base",l==="sm"&&"text-sm",c?l==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":L?"pl-[6.5rem]":"pl-4",k&&"pl-[1.94rem]",P?l==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:a??"",ref:A=>{typeof p=="function"?p(A):p&&(p.current=A),g.current=A;},onChange:A=>{F(A.target.value.length>0),m?.(A);},...I}),L&&se__default.default.cloneElement(L,{className:x("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",t&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),c&&se__default.default.cloneElement(c,{size:l==="lg"?24:18,className:x("absolute flex peer-focus:text-neutral-900 z-20 text-neutral-500 left-3 h-full items-center rounded-full peer-disabled:text-neutral-400",t&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),k&&jsxRuntime.jsx("p",{className:x("items-center pl-3 pt-3 text-neutral-700",l==="lg"?"pt-3":"pt-2",t&&"text-error-700"),children:k}),e&&jsxRuntime.jsx(reactLabel.Label,{className:x("absolute -top-[0.5625rem] z-10 ml-3 bg-neutral-50 px-1 tracking-normal text-neutral-50 transition-all duration-75 ease-linear peer-hover:text-primary-800 peer-disabled:z-20 peer-disabled:text-neutral-400 peer-[:not(:focus)]:text-neutral-400","peer-focus:-top-[0.5625rem] peer-focus:z-20 peer-focus:ml-3 peer-focus:text-xs peer-focus:text-primary-800 peer-[:placeholder-shown]:peer-[:not(:focus)]:peer-[:disabled]:bg-neutral-100",M&&"peer-disabled:bg-neutral-50",l==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":l==="md"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-2":"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-[6px]",!b&&"text-xs",t&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",c?l==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":L?"peer-placeholder-shown:ml-[6rem]":"ml-3",S&&"!-top-[0.375rem] z-20 ml-3 !text-xs !transition-none",k&&"peer-placeholder-shown:ml-[1.94rem]"),children:e}),u&&(!b||M)&&jsxRuntime.jsx("div",{className:x("peer-hover:text-neutral absolute z-10 hidden h-full cursor-pointer items-center rounded-full peer-focus:flex peer-focus:text-primary-800 peer-disabled:cursor-not-allowed peer-disabled:text-neutral-400",t&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",o||P?l==="lg"?"right-[2.81rem]":l==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:t?jsxRuntime.jsx(Fe,{onMouseDown:D,size:l==="lg"?24:l==="md"?18:14,className:"text-error-700"}):jsxRuntime.jsx(ye,{onMouseDown:D,size:l==="lg"?24:l==="md"?18:14,className:"text-neutral-900"})}),P&&se__default.default.cloneElement(P,{size:l==="lg"?24:l==="md"?18:14,className:x("absolute peer-focus:text-neutral-900 z-20 text-neutral-500 flex right-3 h-full items-center rounded-full peer-disabled:text-neutral-400",t&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),o&&jsxRuntime.jsx("div",{className:x("peer-hover:text-neutral absolute right-4 z-20 flex h-full items-center rounded-full transition-all ease-linear peer-focus:rotate-180 peer-focus:text-primary-900 peer-disabled:text-neutral-400"),children:jsxRuntime.jsx(ae,{className:l==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsxRuntime.jsx(De,{helperText:r,error:t,disabled:h})]})});var fe=se.forwardRef(({className:e,children:a,onScrollEnd:t,isInfiniteScroll:o=!1,viewPortClassName:u,viewPortStyle:r,...d},l)=>{let f=se.useRef(null);return se.useEffect(()=>{if(!o)return;let m=()=>{if(f.current){let{scrollTop:P,scrollHeight:L,clientHeight:S}=f.current;P+S>=L-10&&t?.();}},c=f.current;return c?.addEventListener("scroll",m),()=>{c?.removeEventListener("scroll",m);}},[t,o]),se.useImperativeHandle(l,()=>f.current,[f]),jsxRuntime.jsxs(y__namespace.Root,{className:x("relative overflow-hidden",e),...d,children:[jsxRuntime.jsx(y__namespace.Viewport,{ref:f,className:x("h-full w-full rounded-[inherit] [&>div]:!flex [&>div]:h-full [&>div]:flex-col",u),style:r,children:a}),jsxRuntime.jsx(qe,{forceMount:o},o?f.current?.scrollHeight:1),jsxRuntime.jsx(y__namespace.Corner,{})]})});fe.displayName=y__namespace.Root.displayName;var qe=se.forwardRef(({className:e,orientation:a="vertical",...t},o)=>jsxRuntime.jsx(y__namespace.ScrollAreaScrollbar,{ref:o,orientation:a,className:x("flex touch-none select-none bg-neutral-100 transition-colors",a==="vertical"&&"h-full w-4 py-2",a==="horizontal"&&"h-4 flex-col px-2",e),...t,children:jsxRuntime.jsx(y__namespace.ScrollAreaThumb,{className:x("relative flex-1 rounded bg-primary-500",a==="vertical"&&"mx-1 w-2",a==="horizontal"&&"my-1 h-2")})}));qe.displayName=y__namespace.ScrollAreaScrollbar.displayName;var He='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=chile" clip-path="url(%23clip0_1491_56906)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40 20.0015C40 31.0459 31.0459 40.0029 19.9985 40.0029C8.95123 40.0029 0 31.0459 0 20.0015C0 8.95705 20.0015 20.0015 20.0015 20.0015H40.0029H40Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0V20.0015H0Z" fill="%230052B4"/>%0A<path id="Vector_4" d="M11.9049 6.9569L13.1986 10.9427H17.3908L14.001 13.405L15.2947 17.3908L11.9049 14.9284L8.51515 17.3908L9.80885 13.405L6.41907 10.9427H10.6112L11.9049 6.9569Z" fill="%23F0F0F0"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56906">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ue='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=argentina" clip-path="url(%23clip0_1491_56925)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M20.0012 0C12.0704 0 5.21814 4.61371 1.98535 11.3061H38.017C34.7813 4.61371 27.9291 0 20.0012 0Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M20.0012 40C27.9291 40 34.7813 35.3863 38.017 28.694H1.98535C5.22105 35.3834 12.0704 40 20.0012 40Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M25.9786 20.0015L23.5366 21.1498L24.8361 23.5162L22.1848 23.0075L21.8475 25.6879L20.0015 23.7168L18.1525 25.6879L17.8152 23.0075L15.1639 23.5133L16.4634 21.1498L14.0214 20.0015L16.4634 18.8531L15.1639 16.4867L17.8152 16.9954L18.1525 14.315L19.9985 16.2861L21.8475 14.315L22.1848 16.9954L24.8361 16.4867L23.5366 18.8531L25.9786 20.0015Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56925">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Oe='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=colombia" clip-path="url(%23clip0_1491_56936)">%0A<path id="Vector" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0C31.0488 0 40.0029 8.95414 40.0029 20.0015L20.0015 21.74L0 20.0015Z" fill="%23FFDA44"/>%0A<path id="Vector_2" d="M2.67752 29.9993C6.13417 35.9765 12.5968 40 20.0015 40C27.4061 40 33.8687 35.9794 37.3254 29.9993L20.0015 28.6939L2.67752 29.9993Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M37.3254 29.9993C39.029 27.0572 40.0029 23.6413 40.0029 19.9985H0C0 23.6413 0.973908 27.0572 2.67752 29.9993H37.3254Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56936">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ve='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="flags_sm" clip-path="url(%23clip0_2024_263)">%0A<path id="Vector" d="M12.0009 24C18.6275 24 24.0017 18.6275 24.0017 11.9991C24.0017 5.37074 18.6275 0 12.0009 0C5.37423 0 0 5.37248 0 12.0009C0 18.6293 5.37248 24.0017 12.0009 24.0017V24Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M24.0004 12.0009C24.0004 7.24417 21.2322 3.13283 17.2168 1.19141V22.8104C21.2305 20.869 24.0004 16.7577 24.0004 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M0 12.0009C0 16.7576 2.76822 20.8689 6.78363 22.8104V1.19135C2.76822 3.13102 0 7.24237 0 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M15.1358 14.0295L13.1072 12.0009L15.0381 10.07L14.9509 9.04953L14.398 8.49658L11.9996 10.895L9.60113 8.49658L9.04818 9.04953L8.96096 10.07L10.8919 12.0009L8.86328 14.0295L9.96918 15.1354L11.9978 13.1068L14.0264 15.1354L15.1323 14.0295H15.1358Z" fill="%23ACABB1"/>%0A<path id="Vector_5" d="M14.9527 9.04944L13.8468 10.1553C14.3195 10.628 14.6108 11.2787 14.6108 11.9991C14.6108 13.4399 13.4438 14.6086 12.0013 14.6086C10.5587 14.6086 9.3918 13.4416 9.3918 11.9991C9.3918 11.2787 9.6831 10.6263 10.1558 10.1553L9.04991 9.04944C8.29462 9.80473 7.82715 10.8478 7.82715 12.0008C7.82715 14.3068 9.69531 16.175 12.0013 16.175C14.3073 16.175 16.1754 14.3068 16.1754 12.0008C16.1754 10.8478 15.708 9.80473 14.9527 9.04944Z" fill="%236DA544"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_263">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ge='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=mexico" clip-path="url(%23clip0_1491_56915)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40.0004 20.0014C40.0004 12.0735 35.3838 5.2213 28.6943 1.9856V38.0173C35.3809 34.7816 40.0004 27.9293 40.0004 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 27.9294 4.61661 34.7816 11.3061 38.0173V1.98561C4.61661 5.2184 0 12.0706 0 20.0015Z" fill="%236DA544"/>%0A<path id="Vector_4" d="M14.7801 20.0015C14.7801 22.8825 17.1175 25.2199 19.9985 25.2199C22.8796 25.2199 25.2169 22.8825 25.2169 20.0015V18.263H14.7801V20.0015Z" fill="%236DA544"/>%0A<path id="Vector_5" d="M26.953 16.5216H21.7433C21.7433 15.5593 20.9612 14.7831 20.0019 14.7831C19.0425 14.7831 18.2605 15.5622 18.2605 16.5216H13.0508C13.0508 17.481 13.8881 18.2601 14.8474 18.2601H14.7835C14.7835 19.2195 15.5655 19.9986 16.5249 19.9986C16.5249 20.9579 17.2982 21.7371 18.2605 21.7371H21.7462C22.7085 21.7371 23.4818 20.9579 23.4818 19.9986C24.444 19.9986 25.2232 19.2195 25.2232 18.2601H25.1592C26.1215 18.2601 26.9559 17.481 26.9559 16.5216H26.953Z" fill="%23FF9811"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56915">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ee='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=peru" clip-path="url(%23clip0_1491_56921)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M39.9996 20.0014C39.9996 11.402 34.569 4.07005 26.9521 1.24426V38.7586C34.569 35.9328 39.9996 28.6009 39.9996 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 28.6009 5.43063 35.9328 13.0475 38.7586V1.24428C5.43063 4.07006 0 11.402 0 20.0015Z" fill="%23D80027"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56921">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ze='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=brasil" clip-path="url(%23clip0_1491_56900)">%0A<path id="Vector" d="M20.0015 40C31.0459 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%236DA544"/>%0A<path id="Vector_2" d="M20.001 7.82617L36.5226 20.0015L20.001 32.1768L3.47656 20.0015L19.9981 7.82617H20.001Z" fill="%23FFDA44"/>%0A<path id="Vector_3" d="M20.0018 26.9554C23.8451 26.9554 26.9587 23.8418 26.9587 19.9985C26.9587 16.1552 23.8451 13.0416 20.0018 13.0416C16.1585 13.0416 13.0449 16.1552 13.0449 19.9985C13.0449 23.8418 16.1585 26.9554 20.0018 26.9554Z" fill="%23F0F0F0"/>%0A<path id="Vector_4" d="M16.5219 19.5654C15.3125 19.5654 14.1438 19.7486 13.0449 20.0916C13.0943 23.8913 16.1876 26.9584 19.9989 26.9584C22.3566 26.9584 24.4382 25.7868 25.697 23.9931C23.5428 21.2981 20.2315 19.5683 16.5219 19.5683V19.5654Z" fill="%230052B4"/>%0A<path id="Vector_5" d="M26.8275 21.3329C26.9118 20.9027 26.9554 20.455 26.9554 20.0015C26.9554 16.1582 23.8418 13.0446 19.9985 13.0446C17.1321 13.0446 14.6697 14.7801 13.6056 17.2542C14.5476 17.0594 15.5215 16.9547 16.5186 16.9547C20.5596 16.9547 24.214 18.6351 26.8246 21.33L26.8275 21.3329Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56900">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var We='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2024_325)">%0A<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="%23F0F0F0"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M4.53015 21.3913H19.4698C20.565 20.5191 21.5042 19.4596 22.2387 18.2609H1.76129C2.49587 19.4596 3.43506 20.5191 4.53015 21.3913Z" fill="%23338AF3"/>%0A<path d="M12 0V2.60869H19.4699C17.42 0.976125 14.8242 0 12 0Z" fill="%23338AF3"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M0 12C0 13.0831 0.144375 14.1323 0.413391 15.1305H23.5867C23.8556 14.1323 24 13.0831 24 12H0Z" fill="%23338AF3"/>%0A<path d="M10.4348 7.02287L8.96922 7.71226L9.74965 9.13163L8.15824 8.82723L7.95658 10.4348L6.84818 9.25243L5.73968 10.4348L5.53807 8.82723L3.94666 9.13154L4.72704 7.71221L3.26154 7.02287L4.72708 6.33357L3.94666 4.91419L5.53802 5.2186L5.73972 3.61102L6.84818 4.7934L7.95663 3.61102L8.15824 5.2186L9.74969 4.91419L8.96927 6.33362L10.4348 7.02287Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_325">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ne='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_1770_12638)">%0A<path d="M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z" fill="%23F0F0F0"/>%0A<path d="M19.1305 20H40C40 18.1948 39.7594 16.4461 39.311 14.7826H19.1305V20Z" fill="%23D80027"/>%0A<path d="M19.1305 9.56523H37.0646C35.8403 7.56742 34.2749 5.80156 32.4497 4.34781H19.1305V9.56523Z" fill="%23D80027"/>%0A<path d="M20 40C24.707 40 29.0333 38.3731 32.4497 35.6522H7.55032C10.9667 38.3731 15.2931 40 20 40Z" fill="%23D80027"/>%0A<path d="M2.93548 30.4348H37.0645C38.0474 28.8309 38.8097 27.0778 39.311 25.2173H0.688995C1.19032 27.0778 1.95259 28.8309 2.93548 30.4348Z" fill="%23D80027"/>%0A<path d="M9.26437 3.12328H11.087L9.39164 4.35492L10.0392 6.34781L8.34398 5.11617L6.64875 6.34781L7.20813 4.62617C5.71547 5.86953 4.40719 7.32625 3.32906 8.94938H3.91305L2.83391 9.73336C2.66578 10.0138 2.50453 10.2987 2.35 10.5879L2.86531 12.1739L1.90391 11.4754C1.66492 11.9817 1.44633 12.4995 1.24984 13.028L1.81758 14.7755H3.91305L2.21773 16.0071L2.86531 18L1.17008 16.7684L0.154609 17.5062C0.0529687 18.3232 0 19.1554 0 20H20C20 8.95437 20 7.65219 20 0C16.0491 0 12.366 1.14609 9.26437 3.12328ZM10.0392 18L8.34398 16.7684L6.64875 18L7.29633 16.0071L5.60102 14.7755H7.69648L8.34398 12.7826L8.99148 14.7755H11.087L9.39164 16.0071L10.0392 18ZM9.39164 10.181L10.0392 12.1739L8.34398 10.9423L6.64875 12.1739L7.29633 10.181L5.60102 8.94938H7.69648L8.34398 6.95648L8.99148 8.94938H11.087L9.39164 10.181ZM17.2131 18L15.5179 16.7684L13.8227 18L14.4702 16.0071L12.7749 14.7755H14.8704L15.5179 12.7826L16.1654 14.7755H18.2609L16.5655 16.0071L17.2131 18ZM16.5655 10.181L17.2131 12.1739L15.5179 10.9423L13.8227 12.1739L14.4702 10.181L12.7749 8.94938H14.8704L15.5179 6.95648L16.1654 8.94938H18.2609L16.5655 10.181ZM16.5655 4.35492L17.2131 6.34781L15.5179 5.11617L13.8227 6.34781L14.4702 4.35492L12.7749 3.12328H14.8704L15.5179 1.13039L16.1654 3.12328H18.2609L16.5655 4.35492Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1770_12638">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Xe=56,oe=6,Qa=[{id:0,code:"+56",name:"Chile",flag:He,country:"CL"},{id:1,code:"+54",name:"Argentina",flag:Ue,country:"AR"},{id:2,code:"+57",name:"Colombia",flag:Oe,country:"CO"},{id:3,code:"+502",name:"Guatemala",flag:Ve,country:"GT"},{id:4,code:"+52",name:"Mexico",flag:Ge,country:"MX"},{id:5,code:"+51",name:"Per\xFA",flag:Ee,country:"PE"},{id:6,code:"+55",name:"Brasil",flag:ze,country:"BR"},{id:7,code:"+598",name:"Uruguay",flag:We,country:"UY"},{id:8,code:"+1",name:"Estados Unidos",flag:Ne,country:"US"}],Fo=({options:e=Qa,noResults:a,selectedOption:t,onSelect:o,onChange:u,onClick:r,className:d,defaultCountry:l="CL",initialValue:f,size:m="md",...c})=>{let P=se.useId(),L=se.useRef(null),S=se.useRef(null),k=se.useRef(null),[h,I]=se.useState("bottom"),[p,g]=se.useState(),[M,F]=se.useState(-1),[b,D]=se.useState(t??null),[A,z]=se.useState(""),W=i=>{let w={target:{value:i.code+A}};u?.(w),L.current.style.display="none",S.current.value=i.code,D(i),o?.(i);};return se.useEffect(()=>{if(!S.current)return;let i=()=>{if(!S.current)return;let w=Xe*(e.length<oe?e.length:oe)+16,n=S.current.getBoundingClientRect();g(n);let j=window.innerHeight-n.bottom>w,O=n.top>w;I(j?"bottom":O?"top":"bottom");};return i(),S.current.addEventListener("mousedown",i),window.addEventListener("scroll",i,!0),window.addEventListener("resize",i),()=>{S.current?.removeEventListener("mousedown",i),window.removeEventListener("scroll",i,!0),window.removeEventListener("resize",i);}},[S.current]),se.useEffect(()=>{function i(w){L.current&&!L.current.contains(w.target)&&(L.current.style.display="none",F(-1));}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i);}},[L.current]),se.useEffect(()=>{if(l&&!f){let i=e.find(w=>w.country===l)??null;D(i);}},[l,f]),se.useEffect(()=>{if(f){let i=e.find(w=>f.includes(w.code))??null;D(i),z(f.replace(i?.code??"",""));}},[f]),jsxRuntime.jsx("div",{className:x("flex flex-col",d),children:jsxRuntime.jsxs("div",{className:x("relative flex flex-col"),children:[jsxRuntime.jsx(Re,{ref:S,value:A,placeholder:c.placeholder??"",onChange:i=>{let w=i.target.value.replace(/\D/g,"");z(w);let n={target:{value:b?.code&&!w.includes(b.code)?b?.code+w:w}};u?.(n);},startComponent:jsxRuntime.jsxs("div",{className:"z-[100000] ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{c.disabled||(L.current.style.display="flex");},children:[jsxRuntime.jsx("img",{src:b?.flag,alt:b?.country,className:x("h-6 w-6 cursor-pointer",c.disabled&&"cursor-not-allowed text-neutral-400")}),jsxRuntime.jsx("span",{className:x("ml-1",c.disabled&&"cursor-not-allowed text-neutral-400"),children:b?.code}),jsxRuntime.jsx(ae,{className:x(m==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",c.disabled&&"cursor-not-allowed text-neutral-400")})]}),...c}),jsxRuntime.jsx(Ze__namespace.Root,{asChild:!0,children:jsxRuntime.jsx("ul",{ref:L,className:"pointer-events-auto absolute z-[10000] hidden w-full",style:p?{width:`${p.width}px`,left:p.left,top:h==="bottom"?`${p.height+p.top+window.scrollY}px`:window.scrollY+p.top-(e.length<oe?e.length:oe)*Xe-16}:void 0,children:jsxRuntime.jsxs(fe,{className:"elevation-8 my-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:k,children:[e.length===0&&jsxRuntime.jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[se__default.default.cloneElement(a.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsxRuntime.jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:a.message})]}),e.map((i,w)=>jsxRuntime.jsx("li",{onClick:()=>{W(i);},className:x("flex-shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",b?.code===i.code&&"bg-primary-200",M===w&&"bg-primary-200"),value:i.code,children:jsxRuntime.jsxs("div",{className:x("flex items-center space-x-3"),children:[jsxRuntime.jsx("img",{src:i.flag,alt:i.country,className:"h-6 w-6"}),jsxRuntime.jsx("p",{children:i.name}),jsxRuntime.jsx("p",{className:"text-primary-500",children:`(${i.code})`})]})},`select-option-${P}-${i.id??i.code}`))]})})})]})})};/*! Bundled license information:
|
|
1
|
+
'use strict';var se=require('react'),Ze=require('@radix-ui/react-portal'),reactLabel=require('@radix-ui/react-label'),jsxRuntime=require('react/jsx-runtime'),y=require('@radix-ui/react-scroll-area');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var se__default=/*#__PURE__*/_interopDefault(se);var Ze__namespace=/*#__PURE__*/_interopNamespace(Ze);var y__namespace=/*#__PURE__*/_interopNamespace(y);function Le(e){var a,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(a=0;a<u;a++)e[a]&&(t=Le(e[a]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function xe(){for(var e,a,t=0,o="",u=arguments.length;t<u;t++)(e=arguments[t])&&(a=Le(e))&&(o&&(o+=" "),o+=a);return o}var de="-",_e=e=>{let a=Je(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:d=>{let l=d.split(de);return l[0]===""&&l.length!==1&&l.shift(),he(l,a)||Ke(d)},getConflictingClassGroupIds:(d,l)=>{let f=t[d]||[];return l&&o[d]?[...f,...o[d]]:f}}},he=(e,a)=>{if(e.length===0)return a.classGroupId;let t=e[0],o=a.nextPart.get(t),u=o?he(e.slice(1),o):void 0;if(u)return u;if(a.validators.length===0)return;let r=e.join(de);return a.validators.find(({validator:d})=>d(r))?.classGroupId},Ie=/^\[(.+)\]$/,Ke=e=>{if(Ie.test(e)){let a=Ie.exec(e)[1],t=a?.substring(0,a.indexOf(":"));if(t)return "arbitrary.."+t}},Je=e=>{let{theme:a,prefix:t}=e,o={nextPart:new Map,validators:[]};return $e(Object.entries(e.classGroups),t).forEach(([r,d])=>{ue(d,o,r,a);}),o},ue=(e,a,t,o)=>{e.forEach(u=>{if(typeof u=="string"){let r=u===""?a:Ce(a,u);r.classGroupId=t;return}if(typeof u=="function"){if(Qe(u)){ue(u(o),a,t,o);return}a.validators.push({validator:u,classGroupId:t});return}Object.entries(u).forEach(([r,d])=>{ue(d,Ce(a,r),t,o);});});},Ce=(e,a)=>{let t=e;return a.split(de).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},Qe=e=>e.isThemeGetter,$e=(e,a)=>a?e.map(([t,o])=>{let u=o.map(r=>typeof r=="string"?a+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([d,l])=>[a+d,l])):r);return [t,u]}):e,je=e=>{if(e<1)return {get:()=>{},set:()=>{}};let a=0,t=new Map,o=new Map,u=(r,d)=>{t.set(r,d),a++,a>e&&(a=0,o=t,t=new Map);};return {get(r){let d=t.get(r);if(d!==void 0)return d;if((d=o.get(r))!==void 0)return u(r,d),d},set(r,d){t.has(r)?t.set(r,d):u(r,d);}}},ge="!",Ye=e=>{let{separator:a,experimentalParseClassName:t}=e,o=a.length===1,u=a[0],r=a.length,d=l=>{let f=[],m=0,c=0,P;for(let C=0;C<l.length;C++){let p=l[C];if(m===0){if(p===u&&(o||l.slice(C,C+r)===a)){f.push(l.slice(c,C)),c=C+r;continue}if(p==="/"){P=C;continue}}p==="["?m++:p==="]"&&m--;}let L=f.length===0?l:l.substring(c),S=L.startsWith(ge),k=S?L.substring(1):L,I=P&&P>c?P-c:void 0;return {modifiers:f,hasImportantModifier:S,baseClassName:k,maybePostfixModifierPosition:I}};return t?l=>t({className:l,parseClassName:d}):d},ea=e=>{if(e.length<=1)return e;let a=[],t=[];return e.forEach(o=>{o[0]==="["?(a.push(...t.sort(),o),t=[]):t.push(o);}),a.push(...t.sort()),a},aa=e=>({cache:je(e.cacheSize),parseClassName:Ye(e),..._e(e)}),ta=/\s+/,oa=(e,a)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:u}=a,r=[],d=e.trim().split(ta),l="";for(let f=d.length-1;f>=0;f-=1){let m=d[f],{modifiers:c,hasImportantModifier:P,baseClassName:L,maybePostfixModifierPosition:S}=t(m),k=!!S,I=o(k?L.substring(0,S):L);if(!I){if(!k){l=m+(l.length>0?" "+l:l);continue}if(I=o(L),!I){l=m+(l.length>0?" "+l:l);continue}k=!1;}let C=ea(c).join(":"),p=P?C+ge:C,g=p+I;if(r.includes(g))continue;r.push(g);let M=u(I,k);for(let F=0;F<M.length;++F){let b=M[F];r.push(p+b);}l=m+(l.length>0?" "+l:l);}return l};function la(){let e=0,a,t,o="";for(;e<arguments.length;)(a=arguments[e++])&&(t=Se(a))&&(o&&(o+=" "),o+=t);return o}var Se=e=>{if(typeof e=="string")return e;let a,t="";for(let o=0;o<e.length;o++)e[o]&&(a=Se(e[o]))&&(t&&(t+=" "),t+=a);return t};function ra(e,...a){let t,o,u,r=d;function d(f){let m=a.reduce((c,P)=>P(c),e());return t=aa(m),o=t.cache.get,u=t.cache.set,r=l,l(f)}function l(f){let m=o(f);if(m)return m;let c=oa(f,t);return u(f,c),c}return function(){return r(la.apply(null,arguments))}}var h=e=>{let a=t=>t[e]||[];return a.isThemeGetter=!0,a},we=/^\[(?:([a-z-]+):)?(.+)\]$/i,ua=/^\d+\/\d+$/,da=new Set(["px","full","screen"]),sa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ia=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ca=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,na=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,v=e=>V(e)||da.has(e)||ua.test(e),T=e=>G(e,"length",ga),V=e=>!!e&&!Number.isNaN(Number(e)),re=e=>G(e,"number",V),X=e=>!!e&&Number.isInteger(Number(e)),pa=e=>e.endsWith("%")&&V(e.slice(0,-1)),s=e=>we.test(e),q=e=>sa.test(e),ma=new Set(["length","size","percentage"]),La=e=>G(e,ma,Pe),xa=e=>G(e,"position",Pe),Ia=new Set(["image","url"]),Ca=e=>G(e,Ia,wa),ha=e=>G(e,"",Sa),Z=()=>!0,G=(e,a,t)=>{let o=we.exec(e);return o?o[1]?typeof a=="string"?o[1]===a:a.has(o[1]):t(o[2]):!1},ga=e=>fa.test(e)&&!ia.test(e),Pe=()=>!1,Sa=e=>ca.test(e),wa=e=>na.test(e);var Pa=()=>{let e=h("colors"),a=h("spacing"),t=h("blur"),o=h("brightness"),u=h("borderColor"),r=h("borderRadius"),d=h("borderSpacing"),l=h("borderWidth"),f=h("contrast"),m=h("grayscale"),c=h("hueRotate"),P=h("invert"),L=h("gap"),S=h("gradientColorStops"),k=h("gradientColorStopPositions"),I=h("inset"),C=h("margin"),p=h("opacity"),g=h("padding"),M=h("saturate"),F=h("scale"),b=h("sepia"),R=h("skew"),A=h("space"),z=h("translate"),W=()=>["auto","contain","none"],i=()=>["auto","hidden","clip","visible","scroll"],w=()=>["auto",s,a],n=()=>[s,a],j=()=>["",v,T],O=()=>["auto",V,s],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",s],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[V,s];return {cacheSize:500,separator:":",theme:{colors:[Z],spacing:[v,T],blur:["none","",q,s],brightness:D(),borderColor:[e],borderRadius:["none","","full",q,s],borderSpacing:n(),borderWidth:j(),contrast:D(),grayscale:N(),hueRotate:D(),invert:N(),gap:n(),gradientColorStops:[e],gradientColorStopPositions:[pa,T],inset:w(),margin:w(),opacity:D(),padding:n(),saturate:D(),scale:D(),sepia:N(),skew:D(),space:n(),translate:n()},classGroups:{aspect:[{aspect:["auto","square","video",s]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ne(),s]}],overflow:[{overflow:i()}],"overflow-x":[{"overflow-x":i()}],"overflow-y":[{"overflow-y":i()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[I]}],"inset-x":[{"inset-x":[I]}],"inset-y":[{"inset-y":[I]}],start:[{start:[I]}],end:[{end:[I]}],top:[{top:[I]}],right:[{right:[I]}],bottom:[{bottom:[I]}],left:[{left:[I]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X,s]}],basis:[{basis:w()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",s]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",X,s]}],"grid-cols":[{"grid-cols":[Z]}],"col-start-end":[{col:["auto",{span:["full",X,s]},s]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Z]}],"row-start-end":[{row:["auto",{span:[X,s]},s]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",s]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",s]}],gap:[{gap:[L]}],"gap-x":[{"gap-x":[L]}],"gap-y":[{"gap-y":[L]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",s,a]}],"min-w":[{"min-w":[s,a,"min","max","fit"]}],"max-w":[{"max-w":[s,a,"none","full","min","max","fit","prose",{screen:[q]},q]}],h:[{h:[s,a,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[s,a,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[s,a,"auto","min","max","fit"]}],"font-size":[{text:["base",q,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",re]}],"font-family":[{font:[Z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",s]}],"line-clamp":[{"line-clamp":["none",V,re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",v,s]}],"list-image":[{"list-image":["none",s]}],"list-style-type":[{list:["none","disc","decimal",s]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[p]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[p]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",v,T]}],"underline-offset":[{"underline-offset":["auto",v,s]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:n()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[p]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),xa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",La]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ca]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[p]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[p]}],"divide-style":[{divide:Y()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[v,s]}],"outline-w":[{outline:[v,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[p]}],"ring-offset-w":[{"ring-offset":[v,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",q,ha]}],"shadow-color":[{shadow:[Z]}],opacity:[{opacity:[p]}],"mix-blend":[{"mix-blend":[...pe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":pe()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",q,s]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[P]}],saturate:[{saturate:[M]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[P]}],"backdrop-opacity":[{"backdrop-opacity":[p]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",s]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",s]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",s]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[X,s]}],"translate-x":[{"translate-x":[z]}],"translate-y":[{"translate-y":[z]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",s]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",s]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":n()}],"scroll-mx":[{"scroll-mx":n()}],"scroll-my":[{"scroll-my":n()}],"scroll-ms":[{"scroll-ms":n()}],"scroll-me":[{"scroll-me":n()}],"scroll-mt":[{"scroll-mt":n()}],"scroll-mr":[{"scroll-mr":n()}],"scroll-mb":[{"scroll-mb":n()}],"scroll-ml":[{"scroll-ml":n()}],"scroll-p":[{"scroll-p":n()}],"scroll-px":[{"scroll-px":n()}],"scroll-py":[{"scroll-py":n()}],"scroll-ps":[{"scroll-ps":n()}],"scroll-pe":[{"scroll-pe":n()}],"scroll-pt":[{"scroll-pt":n()}],"scroll-pr":[{"scroll-pr":n()}],"scroll-pb":[{"scroll-pb":n()}],"scroll-pl":[{"scroll-pl":n()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",s]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[v,T,re]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ke=ra(Pa);function x(...e){return ke(xe(e))}var be=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ee=(...e)=>e.filter((a,t,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===t).join(" ").trim();var Ae={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Fe=se.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:u="",children:r,iconNode:d,...l},f)=>se.createElement("svg",{ref:f,...Ae,width:a,height:a,stroke:e,strokeWidth:o?Number(t)*24/Number(a):t,className:ee("lucide",u),...l},[...d.map(([m,c])=>se.createElement(m,c)),...Array.isArray(r)?r:[r]]));var E=(e,a)=>{let t=se.forwardRef(({className:o,...u},r)=>se.createElement(Fe,{ref:r,iconNode:a,className:ee(`lucide-${be(e)}`,o),...u}));return t.displayName=`${e}`,t};var _=E("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var H=E("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var K=E("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var ye=K;var ae=_;var Be=H;var Ma=({error:e,helperText:a,disabled:t})=>jsxRuntime.jsx(jsxRuntime.Fragment,{children:a&&jsxRuntime.jsx("span",{className:x("mx-4 mt-1 text-start text-xs leading-[130%] text-neutral-600",t&&"text-neutral-400",e&&"text-error-700"),children:a})}),ve=Ma;var Re=se.forwardRef(({label:e,placeholder:a,error:t,selectMode:o=!1,showClearButton:u=!0,helperText:r,className:d,size:l="md",onClean:f,onChange:m,startIcon:c,endIcon:P,startComponent:L,fixedTopLabel:S,startText:k,disabled:I,...C},p)=>{let g=se.useRef(null),[M,F]=se.useState(!1),b=!g.current?.value,R=se.useCallback(()=>{if(g.current&&!I){g.current.value="",F(!1),f?.();let A={target:g.current,currentTarget:g.current,type:"change",bubbles:!0,cancelable:!1,defaultPrevented:!1,eventPhase:0,isTrusted:!0,preventDefault:()=>{},stopPropagation:()=>{},persist:()=>{},isDefaultPrevented:()=>!1,isPropagationStopped:()=>!1,timeStamp:Date.now(),nativeEvent:new Event("change")};m?.(A);}},[I,m,g.current]);return se.useEffect(()=>{g.current&&F(g.current.value.length>0);},[]),jsxRuntime.jsxs("div",{className:x("flex flex-col",d),children:[jsxRuntime.jsxs("div",{className:x("relative flex flex-col rounded-lg bg-neutral-50",l==="lg"&&"h-12",l==="md"&&"h-10",l==="sm"&&"h-8"),children:[jsxRuntime.jsx("input",{disabled:I,className:x("hover:caret-neutral-text-neutral-600 hover:ring-neutral-text-neutral-600 hover:text-neutral peer absolute z-20 h-full w-full rounded-lg bg-neutral-50/0 text-left tracking-normal text-neutral-900 placeholder-neutral-500/0 caret-neutral-900 outline-0 ring-1 ring-inset ring-neutral-400 transition-all ease-linear hover:placeholder-neutral-500/0 focus:text-neutral-900 focus:placeholder-neutral-500 focus:placeholder-opacity-100 focus:caret-primary-800 focus:ring-[2px] focus:ring-primary-800 disabled:bg-neutral-80 disabled:text-neutral-400 disabled:ring-neutral-100 [&:not(:placeholder-shown)]:z-10",t&&"placeholder-error-700/0 ring-error-700 hover:text-neutral-900 hover:ring-error-700 focus:ring-error-700",l==="lg"&&"text-base",l==="md"&&"text-sm",l==="sm"&&"text-sm",c?l==="lg"?"pl-[2.75rem]":"pl-[2.38rem]":L?"pl-[6.5rem]":"pl-4",k&&"pl-[1.94rem]",P?l==="lg"?"pr-[2.75rem]":"pr-[2.38rem]":"pr-4"),placeholder:a??"",ref:A=>{typeof p=="function"?p(A):p&&(p.current=A),g.current=A;},onChange:A=>{F(A.target.value.length>0),m?.(A);},...C}),L&&se__default.default.cloneElement(L,{className:x("absolute z-20 flex left-3 top-1/2 transform -translate-y-1/2 items-center rounded-full peer-disabled:text-neutral-400",t&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),c&&se__default.default.cloneElement(c,{size:18,className:x("absolute flex peer-focus:text-neutral-900 z-20 text-neutral-500 left-3 h-full items-center rounded-full peer-disabled:text-neutral-400",t&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),k&&jsxRuntime.jsx("p",{className:x("items-center pl-3 pt-3 text-neutral-700",l==="lg"?"pt-3":"pt-2",t&&"text-error-700"),children:k}),e&&jsxRuntime.jsx(reactLabel.Label,{className:x("absolute -top-[0.5625rem] z-10 ml-3 bg-neutral-50 px-1 tracking-normal text-neutral-50 transition-all duration-75 ease-linear peer-hover:text-primary-800 peer-disabled:z-20 peer-disabled:text-neutral-400","peer-focus:-top-[0.5625rem] peer-focus:z-20 peer-focus:ml-3 peer-focus:text-xs peer-focus:text-primary-800 peer-[:placeholder-shown]:peer-[:not(:focus)]:peer-[:disabled]:bg-neutral-80",!t&&"peer-[:not(:focus)]:peer-[:not(:disabled)]:text-neutral-400 peer-[:not(:placeholder-shown)]:peer-[:not(:focus)]:peer-[:not(:disabled)]:text-neutral-900",M&&"peer-disabled:bg-neutral-80",l==="lg"?"text-base placeholder-shown:text-xs peer-placeholder-shown:top-3":l==="md"?"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-2.5":"text-sm placeholder-shown:text-xs peer-placeholder-shown:top-1.5",!b&&"text-xs",t&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700",c?l==="lg"?"peer-placeholder-shown:ml-[2.75rem]":"peer-placeholder-shown:ml-[2.38rem]":L?"peer-placeholder-shown:ml-[6rem]":"ml-3",S&&"!-top-[0.375rem] z-20 ml-3 !text-xs !transition-none",k&&"peer-placeholder-shown:ml-[1.94rem]"),children:e}),(u&&(!b||M)||t)&&jsxRuntime.jsxs("div",{className:x("absolute z-10 hidden h-full items-center peer-focus:flex",t&&!I&&"flex",o||P?l==="lg"?"right-[2.81rem]":l==="md"?"right-[2.125rem]":"right-[1.875rem]":"right-4"),children:[t&&jsxRuntime.jsx(Be,{size:l==="sm"?14:18,className:"text-error-700"}),!t&&jsxRuntime.jsx(ye,{onMouseDown:R,size:l==="sm"?14:18,className:"cursor-pointer text-neutral-900"})]}),P&&se__default.default.cloneElement(P,{size:l==="sm"?14:18,className:x("absolute peer-focus:text-neutral-900 z-20 text-neutral-500 flex right-3 h-full items-center rounded-full peer-disabled:text-neutral-400",t&&!M&&"text-error-700 peer-hover:text-error-700 peer-focus:text-error-700")}),o&&jsxRuntime.jsx("div",{className:x("peer-hover:text-neutral absolute right-4 z-20 flex h-full items-center rounded-full transition-all ease-linear peer-focus:rotate-180 peer-focus:text-primary-900 peer-disabled:text-neutral-400"),children:jsxRuntime.jsx(ae,{className:l==="lg"?"h-6 w-6":"h-4.5 w-4.5"})})]}),jsxRuntime.jsx(ve,{helperText:r,error:t,disabled:I})]})});var ie=se.forwardRef(({className:e,children:a,onScrollEnd:t,isInfiniteScroll:o=!1,viewPortClassName:u,viewPortStyle:r,...d},l)=>{let f=se.useRef(null);return se.useEffect(()=>{if(!o)return;let m=()=>{if(f.current){let{scrollTop:P,scrollHeight:L,clientHeight:S}=f.current;P+S>=L-10&&t?.();}},c=f.current;return c?.addEventListener("scroll",m),()=>{c?.removeEventListener("scroll",m);}},[t,o]),se.useImperativeHandle(l,()=>f.current,[f]),jsxRuntime.jsxs(y__namespace.Root,{className:x("relative overflow-hidden",e),...d,children:[jsxRuntime.jsx(y__namespace.Viewport,{ref:f,className:x("h-full w-full rounded-[inherit] [&>div]:!flex [&>div]:h-full [&>div]:flex-col",u),style:r,children:a}),jsxRuntime.jsx(qe,{forceMount:o},o?f.current?.scrollHeight:1),jsxRuntime.jsx(y__namespace.Corner,{})]})});ie.displayName=y__namespace.Root.displayName;var qe=se.forwardRef(({className:e,orientation:a="vertical",...t},o)=>jsxRuntime.jsx(y__namespace.ScrollAreaScrollbar,{ref:o,orientation:a,className:x("flex touch-none select-none bg-neutral-100 transition-colors",a==="vertical"&&"h-full w-4 py-2",a==="horizontal"&&"h-4 flex-col px-2",e),...t,children:jsxRuntime.jsx(y__namespace.ScrollAreaThumb,{className:x("relative flex-1 rounded bg-primary-500",a==="vertical"&&"mx-1 w-2",a==="horizontal"&&"my-1 h-2")})}));qe.displayName=y__namespace.ScrollAreaScrollbar.displayName;var He='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=chile" clip-path="url(%23clip0_1491_56906)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40 20.0015C40 31.0459 31.0459 40.0029 19.9985 40.0029C8.95123 40.0029 0 31.0459 0 20.0015C0 8.95705 20.0015 20.0015 20.0015 20.0015H40.0029H40Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0V20.0015H0Z" fill="%230052B4"/>%0A<path id="Vector_4" d="M11.9049 6.9569L13.1986 10.9427H17.3908L14.001 13.405L15.2947 17.3908L11.9049 14.9284L8.51515 17.3908L9.80885 13.405L6.41907 10.9427H10.6112L11.9049 6.9569Z" fill="%23F0F0F0"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56906">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ue='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=argentina" clip-path="url(%23clip0_1491_56925)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M20.0012 0C12.0704 0 5.21814 4.61371 1.98535 11.3061H38.017C34.7813 4.61371 27.9291 0 20.0012 0Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M20.0012 40C27.9291 40 34.7813 35.3863 38.017 28.694H1.98535C5.22105 35.3834 12.0704 40 20.0012 40Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M25.9786 20.0015L23.5366 21.1498L24.8361 23.5162L22.1848 23.0075L21.8475 25.6879L20.0015 23.7168L18.1525 25.6879L17.8152 23.0075L15.1639 23.5133L16.4634 21.1498L14.0214 20.0015L16.4634 18.8531L15.1639 16.4867L17.8152 16.9954L18.1525 14.315L19.9985 16.2861L21.8475 14.315L22.1848 16.9954L24.8361 16.4867L23.5366 18.8531L25.9786 20.0015Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56925">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Oe='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=colombia" clip-path="url(%23clip0_1491_56936)">%0A<path id="Vector" d="M0 20.0015C0 8.95414 8.95414 0 20.0015 0C31.0488 0 40.0029 8.95414 40.0029 20.0015L20.0015 21.74L0 20.0015Z" fill="%23FFDA44"/>%0A<path id="Vector_2" d="M2.67752 29.9993C6.13417 35.9765 12.5968 40 20.0015 40C27.4061 40 33.8687 35.9794 37.3254 29.9993L20.0015 28.6939L2.67752 29.9993Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M37.3254 29.9993C39.029 27.0572 40.0029 23.6413 40.0029 19.9985H0C0 23.6413 0.973908 27.0572 2.67752 29.9993H37.3254Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56936">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ve='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="flags_sm" clip-path="url(%23clip0_2024_263)">%0A<path id="Vector" d="M12.0009 24C18.6275 24 24.0017 18.6275 24.0017 11.9991C24.0017 5.37074 18.6275 0 12.0009 0C5.37423 0 0 5.37248 0 12.0009C0 18.6293 5.37248 24.0017 12.0009 24.0017V24Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M24.0004 12.0009C24.0004 7.24417 21.2322 3.13283 17.2168 1.19141V22.8104C21.2305 20.869 24.0004 16.7577 24.0004 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_3" d="M0 12.0009C0 16.7576 2.76822 20.8689 6.78363 22.8104V1.19135C2.76822 3.13102 0 7.24237 0 12.0009Z" fill="%23338AF3"/>%0A<path id="Vector_4" d="M15.1358 14.0295L13.1072 12.0009L15.0381 10.07L14.9509 9.04953L14.398 8.49658L11.9996 10.895L9.60113 8.49658L9.04818 9.04953L8.96096 10.07L10.8919 12.0009L8.86328 14.0295L9.96918 15.1354L11.9978 13.1068L14.0264 15.1354L15.1323 14.0295H15.1358Z" fill="%23ACABB1"/>%0A<path id="Vector_5" d="M14.9527 9.04944L13.8468 10.1553C14.3195 10.628 14.6108 11.2787 14.6108 11.9991C14.6108 13.4399 13.4438 14.6086 12.0013 14.6086C10.5587 14.6086 9.3918 13.4416 9.3918 11.9991C9.3918 11.2787 9.6831 10.6263 10.1558 10.1553L9.04991 9.04944C8.29462 9.80473 7.82715 10.8478 7.82715 12.0008C7.82715 14.3068 9.69531 16.175 12.0013 16.175C14.3073 16.175 16.1754 14.3068 16.1754 12.0008C16.1754 10.8478 15.708 9.80473 14.9527 9.04944Z" fill="%236DA544"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_263">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ge='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=mexico" clip-path="url(%23clip0_1491_56915)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M40.0004 20.0014C40.0004 12.0735 35.3838 5.2213 28.6943 1.9856V38.0173C35.3809 34.7816 40.0004 27.9293 40.0004 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 27.9294 4.61661 34.7816 11.3061 38.0173V1.98561C4.61661 5.2184 0 12.0706 0 20.0015Z" fill="%236DA544"/>%0A<path id="Vector_4" d="M14.7801 20.0015C14.7801 22.8825 17.1175 25.2199 19.9985 25.2199C22.8796 25.2199 25.2169 22.8825 25.2169 20.0015V18.263H14.7801V20.0015Z" fill="%236DA544"/>%0A<path id="Vector_5" d="M26.953 16.5216H21.7433C21.7433 15.5593 20.9612 14.7831 20.0019 14.7831C19.0425 14.7831 18.2605 15.5622 18.2605 16.5216H13.0508C13.0508 17.481 13.8881 18.2601 14.8474 18.2601H14.7835C14.7835 19.2195 15.5655 19.9986 16.5249 19.9986C16.5249 20.9579 17.2982 21.7371 18.2605 21.7371H21.7462C22.7085 21.7371 23.4818 20.9579 23.4818 19.9986C24.444 19.9986 25.2232 19.2195 25.2232 18.2601H25.1592C26.1215 18.2601 26.9559 17.481 26.9559 16.5216H26.953Z" fill="%23FF9811"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56915">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ee='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=peru" clip-path="url(%23clip0_1491_56921)">%0A<path id="Vector" d="M20.0015 40C31.0488 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0488 0 20.0015 0C8.95414 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%23F0F0F0"/>%0A<path id="Vector_2" d="M39.9996 20.0014C39.9996 11.402 34.569 4.07005 26.9521 1.24426V38.7586C34.569 35.9328 39.9996 28.6009 39.9996 20.0014Z" fill="%23D80027"/>%0A<path id="Vector_3" d="M0 20.0015C0 28.6009 5.43063 35.9328 13.0475 38.7586V1.24428C5.43063 4.07006 0 11.402 0 20.0015Z" fill="%23D80027"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56921">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var ze='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Country=brasil" clip-path="url(%23clip0_1491_56900)">%0A<path id="Vector" d="M20.0015 40C31.0459 40 40.0029 31.0459 40.0029 19.9985C40.0029 8.95123 31.0459 0 20.0015 0C8.95705 0 0 8.95414 0 20.0015C0 31.0488 8.95414 40.0029 20.0015 40.0029V40Z" fill="%236DA544"/>%0A<path id="Vector_2" d="M20.001 7.82617L36.5226 20.0015L20.001 32.1768L3.47656 20.0015L19.9981 7.82617H20.001Z" fill="%23FFDA44"/>%0A<path id="Vector_3" d="M20.0018 26.9554C23.8451 26.9554 26.9587 23.8418 26.9587 19.9985C26.9587 16.1552 23.8451 13.0416 20.0018 13.0416C16.1585 13.0416 13.0449 16.1552 13.0449 19.9985C13.0449 23.8418 16.1585 26.9554 20.0018 26.9554Z" fill="%23F0F0F0"/>%0A<path id="Vector_4" d="M16.5219 19.5654C15.3125 19.5654 14.1438 19.7486 13.0449 20.0916C13.0943 23.8913 16.1876 26.9584 19.9989 26.9584C22.3566 26.9584 24.4382 25.7868 25.697 23.9931C23.5428 21.2981 20.2315 19.5683 16.5219 19.5683V19.5654Z" fill="%230052B4"/>%0A<path id="Vector_5" d="M26.8275 21.3329C26.9118 20.9027 26.9554 20.455 26.9554 20.0015C26.9554 16.1582 23.8418 13.0446 19.9985 13.0446C17.1321 13.0446 14.6697 14.7801 13.6056 17.2542C14.5476 17.0594 15.5215 16.9547 16.5186 16.9547C20.5596 16.9547 24.214 18.6351 26.8246 21.33L26.8275 21.3329Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1491_56900">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var We='data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_2024_325)">%0A<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="%23F0F0F0"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M4.53015 21.3913H19.4698C20.565 20.5191 21.5042 19.4596 22.2387 18.2609H1.76129C2.49587 19.4596 3.43506 20.5191 4.53015 21.3913Z" fill="%23338AF3"/>%0A<path d="M12 0V2.60869H19.4699C17.42 0.976125 14.8242 0 12 0Z" fill="%23338AF3"/>%0A<path d="M12 8.86953H23.5866C23.2857 7.75325 22.8284 6.70132 22.2387 5.73907H12V8.86953Z" fill="%23338AF3"/>%0A<path d="M0 12C0 13.0831 0.144375 14.1323 0.413391 15.1305H23.5867C23.8556 14.1323 24 13.0831 24 12H0Z" fill="%23338AF3"/>%0A<path d="M10.4348 7.02287L8.96922 7.71226L9.74965 9.13163L8.15824 8.82723L7.95658 10.4348L6.84818 9.25243L5.73968 10.4348L5.53807 8.82723L3.94666 9.13154L4.72704 7.71221L3.26154 7.02287L4.72708 6.33357L3.94666 4.91419L5.53802 5.2186L5.73972 3.61102L6.84818 4.7934L7.95663 3.61102L8.15824 5.2186L9.74969 4.91419L8.96927 6.33362L10.4348 7.02287Z" fill="%23FFDA44"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_2024_325">%0A<rect width="24" height="24" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Ne='data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g clip-path="url(%23clip0_1770_12638)">%0A<path d="M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z" fill="%23F0F0F0"/>%0A<path d="M19.1305 20H40C40 18.1948 39.7594 16.4461 39.311 14.7826H19.1305V20Z" fill="%23D80027"/>%0A<path d="M19.1305 9.56523H37.0646C35.8403 7.56742 34.2749 5.80156 32.4497 4.34781H19.1305V9.56523Z" fill="%23D80027"/>%0A<path d="M20 40C24.707 40 29.0333 38.3731 32.4497 35.6522H7.55032C10.9667 38.3731 15.2931 40 20 40Z" fill="%23D80027"/>%0A<path d="M2.93548 30.4348H37.0645C38.0474 28.8309 38.8097 27.0778 39.311 25.2173H0.688995C1.19032 27.0778 1.95259 28.8309 2.93548 30.4348Z" fill="%23D80027"/>%0A<path d="M9.26437 3.12328H11.087L9.39164 4.35492L10.0392 6.34781L8.34398 5.11617L6.64875 6.34781L7.20813 4.62617C5.71547 5.86953 4.40719 7.32625 3.32906 8.94938H3.91305L2.83391 9.73336C2.66578 10.0138 2.50453 10.2987 2.35 10.5879L2.86531 12.1739L1.90391 11.4754C1.66492 11.9817 1.44633 12.4995 1.24984 13.028L1.81758 14.7755H3.91305L2.21773 16.0071L2.86531 18L1.17008 16.7684L0.154609 17.5062C0.0529687 18.3232 0 19.1554 0 20H20C20 8.95437 20 7.65219 20 0C16.0491 0 12.366 1.14609 9.26437 3.12328ZM10.0392 18L8.34398 16.7684L6.64875 18L7.29633 16.0071L5.60102 14.7755H7.69648L8.34398 12.7826L8.99148 14.7755H11.087L9.39164 16.0071L10.0392 18ZM9.39164 10.181L10.0392 12.1739L8.34398 10.9423L6.64875 12.1739L7.29633 10.181L5.60102 8.94938H7.69648L8.34398 6.95648L8.99148 8.94938H11.087L9.39164 10.181ZM17.2131 18L15.5179 16.7684L13.8227 18L14.4702 16.0071L12.7749 14.7755H14.8704L15.5179 12.7826L16.1654 14.7755H18.2609L16.5655 16.0071L17.2131 18ZM16.5655 10.181L17.2131 12.1739L15.5179 10.9423L13.8227 12.1739L14.4702 10.181L12.7749 8.94938H14.8704L15.5179 6.95648L16.1654 8.94938H18.2609L16.5655 10.181ZM16.5655 4.35492L17.2131 6.34781L15.5179 5.11617L13.8227 6.34781L14.4702 4.35492L12.7749 3.12328H14.8704L15.5179 1.13039L16.1654 3.12328H18.2609L16.5655 4.35492Z" fill="%230052B4"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_1770_12638">%0A<rect width="40" height="40" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';var Xe=56,oe=6,Qa=[{id:0,code:"+56",name:"Chile",flag:He,country:"CL"},{id:1,code:"+54",name:"Argentina",flag:Ue,country:"AR"},{id:2,code:"+57",name:"Colombia",flag:Oe,country:"CO"},{id:3,code:"+502",name:"Guatemala",flag:Ve,country:"GT"},{id:4,code:"+52",name:"Mexico",flag:Ge,country:"MX"},{id:5,code:"+51",name:"Per\xFA",flag:Ee,country:"PE"},{id:6,code:"+55",name:"Brasil",flag:ze,country:"BR"},{id:7,code:"+598",name:"Uruguay",flag:We,country:"UY"},{id:8,code:"+1",name:"Estados Unidos",flag:Ne,country:"US"}],yo=({options:e=Qa,noResults:a,selectedOption:t,onSelect:o,onChange:u,onClick:r,className:d,defaultCountry:l="CL",initialValue:f,size:m="md",...c})=>{let P=se.useId(),L=se.useRef(null),S=se.useRef(null),k=se.useRef(null),[I,C]=se.useState("bottom"),[p,g]=se.useState(),[M,F]=se.useState(-1),[b,R]=se.useState(t??null),[A,z]=se.useState(""),W=i=>{let w={target:{value:i.code+A}};u?.(w),L.current.style.display="none",S.current.value=i.code,R(i),o?.(i);};return se.useEffect(()=>{if(!S.current)return;let i=()=>{if(!S.current)return;let w=Xe*(e.length<oe?e.length:oe)+16,n=S.current.getBoundingClientRect();g(n);let j=window.innerHeight-n.bottom>w,O=n.top>w;C(j?"bottom":O?"top":"bottom");};return i(),S.current.addEventListener("mousedown",i),window.addEventListener("scroll",i,!0),window.addEventListener("resize",i),()=>{S.current?.removeEventListener("mousedown",i),window.removeEventListener("scroll",i,!0),window.removeEventListener("resize",i);}},[S.current]),se.useEffect(()=>{function i(w){L.current&&!L.current.contains(w.target)&&(L.current.style.display="none",F(-1));}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i);}},[L.current]),se.useEffect(()=>{if(l&&!f){let i=e.find(w=>w.country===l)??null;R(i);}},[l,f]),se.useEffect(()=>{if(f){let i=e.find(w=>f.includes(w.code))??null;R(i),z(f.replace(i?.code??"",""));}},[f]),jsxRuntime.jsx("div",{className:x("flex flex-col",d),children:jsxRuntime.jsxs("div",{className:x("relative flex flex-col"),children:[jsxRuntime.jsx(Re,{ref:S,value:A,placeholder:c.placeholder??"",onChange:i=>{let w=i.target.value.replace(/\D/g,"");z(w);let n={target:{value:b?.code&&!w.includes(b.code)?b?.code+w:w}};u?.(n);},startComponent:jsxRuntime.jsxs("div",{className:"z-[100000] ml-3 flex h-2 w-[7.5rem] cursor-pointer items-center",onClick:()=>{c.disabled||(L.current.style.display="flex");},children:[jsxRuntime.jsx("img",{src:b?.flag,alt:b?.country,className:x("h-6 w-6 cursor-pointer",c.disabled&&"cursor-not-allowed text-neutral-400")}),jsxRuntime.jsx("span",{className:x("ml-1",c.disabled&&"cursor-not-allowed text-neutral-400"),children:b?.code}),jsxRuntime.jsx(ae,{className:x(m==="md"?"h-6 w-6":"h-4.5 w-4.5","cursor-pointer",c.disabled&&"cursor-not-allowed text-neutral-400")})]}),...c}),jsxRuntime.jsx(Ze__namespace.Root,{asChild:!0,children:jsxRuntime.jsx("ul",{ref:L,className:"pointer-events-auto absolute z-[10000] hidden w-full",style:p?{width:`${p.width}px`,left:p.left,top:I==="bottom"?`${p.height+p.top+window.scrollY}px`:window.scrollY+p.top-(e.length<oe?e.length:oe)*Xe-16}:void 0,children:jsxRuntime.jsxs(ie,{className:"elevation-8 my-2 flex max-h-[336px] w-full flex-col rounded-lg bg-neutral-50",ref:k,children:[e.length===0&&jsxRuntime.jsxs("div",{className:"elevation-8 max-h-88 flex flex-1 flex-col items-center justify-center rounded-lg bg-neutral-50 px-8 py-6",children:[se__default.default.cloneElement(a.icon,{className:"mb-2 h-8 w-8 text-neutral-300"}),jsxRuntime.jsx("p",{className:"text-center text-sm leading-[120%] text-neutral-500",children:a.message})]}),e.map((i,w)=>jsxRuntime.jsx("li",{onClick:()=>{W(i);},className:x("flex-shrink-0 cursor-pointer py-4 pl-4 pr-6 text-left hover:bg-primary-100",b?.code===i.code&&"bg-primary-200",M===w&&"bg-primary-200"),value:i.code,children:jsxRuntime.jsxs("div",{className:x("flex items-center space-x-3"),children:[jsxRuntime.jsx("img",{src:i.flag,alt:i.country,className:"h-6 w-6"}),jsxRuntime.jsx("p",{children:i.name}),jsxRuntime.jsx("p",{className:"text-primary-500",children:`(${i.code})`})]})},`select-option-${P}-${i.id??i.code}`))]})})})]})})};/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
(**
|
|
@@ -40,7 +40,7 @@ lucide-react/dist/esm/icons/chevron-down.js:
|
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
41
|
*)
|
|
42
42
|
|
|
43
|
-
lucide-react/dist/esm/icons/circle-
|
|
43
|
+
lucide-react/dist/esm/icons/circle-alert.js:
|
|
44
44
|
(**
|
|
45
45
|
* @license lucide-react v0.469.0 - ISC
|
|
46
46
|
*
|
|
@@ -63,4 +63,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
63
63
|
* This source code is licensed under the ISC license.
|
|
64
64
|
* See the LICENSE file in the root directory of this source tree.
|
|
65
65
|
*)
|
|
66
|
-
*/exports.FlagSelect=
|
|
66
|
+
*/exports.FlagSelect=yo;
|
package/dist/flag-select.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as FlagSelect}from'./chunk-
|
|
1
|
+
export{a as FlagSelect}from'./chunk-CYXEAABP.mjs';import'./chunk-HLCVPPIL.mjs';import'./chunk-SVUSHVWV.mjs';import'./chunk-JGL2V7EX.mjs';import'./chunk-TYHJTIAW.mjs';import'./chunk-TGTW7UYA.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/icon-button.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function Z(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Z(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Q(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Z(e))&&(o&&(o+=" "),o+=r);return o}var F="-",le=e=>{let r=de(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let s=l.split(F);return s[0]===""&&s.length!==1&&s.shift(),ee(s,r)||ce(l)},getConflictingClassGroupIds:(l,s)=>{let p=t[l]||[];return s&&o[l]?[...p,...o[l]]:p}}},ee=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ee(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(F);return r.validators.find(({validator:l})=>l(n))?.classGroupId},Y=/^\[(.+)\]$/,ce=e=>{if(Y.test(e)){let r=Y.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},de=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ue(Object.entries(e.classGroups),t).forEach(([n,l])=>{$(l,o,n,r);}),o},$=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:D(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(pe(a)){$(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{$(l,D(r,n),t,o);});});},D=(e,r)=>{let t=e;return r.split(F).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},pe=e=>e.isThemeGetter,ue=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return [t,a]}):e,ge=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l);}}},re="!",be=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let p=[],b=0,m=0,y;for(let u=0;u<s.length;u++){let f=s[u];if(b===0){if(f===a&&(o||s.slice(u,u+n)===r)){p.push(s.slice(m,u)),m=u+n;continue}if(f==="/"){y=u;continue}}f==="["?b++:f==="]"&&b--;}let x=p.length===0?s:s.substring(m),w=x.startsWith(re),v=w?x.substring(1):x,g=y&&y>m?y-m:void 0;return {modifiers:p,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:g}};return t?s=>t({className:s,parseClassName:l}):l},fe=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},me=e=>({cache:ge(e.cacheSize),parseClassName:be(e),...le(e)}),he=/\s+/,ye=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(he),s="";for(let p=l.length-1;p>=0;p-=1){let b=l[p],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:w}=t(b),v=!!w,g=o(v?x.substring(0,w):x);if(!g){if(!v){s=b+(s.length>0?" "+s:s);continue}if(g=o(x),!g){s=b+(s.length>0?" "+s:s);continue}v=!1;}let u=fe(m).join(":"),f=y?u+re:u,h=f+g;if(n.includes(h))continue;n.push(h);let N=a(g,v);for(let M=0;M<N.length;++M){let T=N[M];n.push(f+T);}s=b+(s.length>0?" "+s:s);}return s};function xe(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=te(r))&&(o&&(o+=" "),o+=t);return o}var te=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=te(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,n=l;function l(p){let b=r.reduce((m,y)=>y(m),e());return t=me(b),o=t.cache.get,a=t.cache.set,n=s,s(p)}function s(p){let b=o(p);if(b)return b;let m=ye(p,t);return a(p,m),m}return function(){return n(xe.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,we=/^\d+\/\d+$/,ke=new Set(["px","full","screen"]),Ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ze=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Me=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ae=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>A(e)||ke.has(e)||we.test(e),z=e=>P(e,"length",Be),A=e=>!!e&&!Number.isNaN(Number(e)),W=e=>P(e,"number",A),R=e=>!!e&&Number.isInteger(Number(e)),Pe=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>oe.test(e),S=e=>Ce.test(e),Ne=new Set(["length","size","percentage"]),Ie=e=>P(e,Ne,ne),Re=e=>P(e,"position",ne),Ge=new Set(["image","url"]),Te=e=>P(e,Ge,Ve),Le=e=>P(e,"",Ee),G=()=>!0,P=(e,r,t)=>{let o=oe.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Be=e=>ze.test(e)&&!Se.test(e),ne=()=>!1,Ee=e=>Me.test(e),Ve=e=>Ae.test(e);var je=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),p=c("contrast"),b=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),w=c("gradientColorStops"),v=c("gradientColorStopPositions"),g=c("inset"),u=c("margin"),f=c("opacity"),h=c("padding"),N=c("saturate"),M=c("scale"),T=c("sepia"),H=c("skew"),U=c("space"),O=c("translate"),E=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",i,r],d=()=>[i,r],q=()=>["",C,z],L=()=>["auto",A,i],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[A,i];return {cacheSize:500,separator:":",theme:{colors:[G],spacing:[C,z],blur:["none","",S,i],brightness:k(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:d(),borderWidth:q(),contrast:k(),grayscale:I(),hueRotate:k(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Pe,z],inset:j(),margin:j(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:I(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...J(),i]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",..._()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",W]}],"font-family":[{font:[G]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",A,W]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),Re]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ie]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Te]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[C,i]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Le]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[N]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[H]}],"skew-y":[{"skew-y":[H]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,W]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var se=ve(je);function ae(...e){return se(Q(e))}var De=["lg","md","sm","xs"],er=["contained","secondary","outlined","ghost","standard"],$e=tailwindVariants.tv({slots:{container:"flex items-center justify-center font-inter text-base font-semibold ring-inset transition-all",icon:""},variants:{variant:{contained:{},secondary:{},outlined:{},ghost:{},standard:{}},size:{lg:{container:"h-12 w-12 rounded-lg",icon:"h-6 w-6"},md:{container:"h-10 w-10 rounded-lg",icon:"h-6 w-6"},sm:{container:"h-8 w-8 rounded-lg",icon:"h-4.5 w-4.5"},xs:{container:"h-5.5 w-5.5 rounded",icon:"h-4.5 w-4.5"}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:!0,className:{container:"cursor-not-allowed text-neutral-400"}},{disabled:!1,className:{container:"cursor-pointer"}},{disabled:!1,variant:"contained",className:{container:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0"}},{disabled:!0,variant:"contained",className:{container:"bg-neutral-100 ring-0"}},{disabled:!1,variant:"secondary",className:{container:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-[1.5px] active:ring-primary-700"}},{disabled:!0,variant:"secondary",className:{container:"ring-neutral-400 disabled:ring-[1.5px]"}},{disabled:!1,variant:"outlined",className:{container:"text-neutral-900 ring-[1.5px] ring-neutral-900 hover:bg-transparent-primary-20 focus:ring-[3px] active:bg-transparent-primary-40"}},{disabled:!0,variant:"outlined",className:{container:"text-neutral-400 ring-[1.5px] ring-neutral-400"}},{disabled:!1,variant:"ghost",className:{container:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0"}},{disabled:!0,variant:"ghost",className:{container:""}},{disabled:!1,variant:"standard",className:{container:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0"}},{disabled:!0,variant:"standard",className:{container:""}}],defaultVariants:{variant:"contained",size:"md",disabled:!1}}),rr=react.forwardRef(({className:e,variant:r,disabled:t,Icon:o,size:a,...n},l)=>{let{container:s,icon:p}=$e({variant:r,size:a,disabled:t});return jsxRuntime.jsx("button",{ref:l,disabled:t,className:ae(s(),e),...n,children:jsxRuntime.jsx(o,{className:p()})})});exports.IconButton=rr;exports.IconButtonSizes=De;exports.IconButtonVariants=er;
|
|
1
|
+
'use strict';var react=require('react'),tailwindVariants=require('tailwind-variants'),jsxRuntime=require('react/jsx-runtime');function Z(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Z(e[r]))&&(o&&(o+=" "),o+=t);}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Q(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Z(e))&&(o&&(o+=" "),o+=r);return o}var F="-",le=e=>{let r=de(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return {getClassGroupId:l=>{let s=l.split(F);return s[0]===""&&s.length!==1&&s.shift(),ee(s,r)||ce(l)},getConflictingClassGroupIds:(l,s)=>{let p=t[l]||[];return s&&o[l]?[...p,...o[l]]:p}}},ee=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ee(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(F);return r.validators.find(({validator:l})=>l(n))?.classGroupId},Y=/^\[(.+)\]$/,ce=e=>{if(Y.test(e)){let r=Y.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return "arbitrary.."+t}},de=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ue(Object.entries(e.classGroups),t).forEach(([n,l])=>{$(l,o,n,r);}),o},$=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:D(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(pe(a)){$(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,l])=>{$(l,D(r,n),t,o);});});},D=(e,r)=>{let t=e;return r.split(F).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o);}),t},pe=e=>e.isThemeGetter,ue=(e,r)=>r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([l,s])=>[r+l,s])):n);return [t,a]}):e,ge=e=>{if(e<1)return {get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(n,l)=>{t.set(n,l),r++,r>e&&(r=0,o=t,t=new Map);};return {get(n){let l=t.get(n);if(l!==void 0)return l;if((l=o.get(n))!==void 0)return a(n,l),l},set(n,l){t.has(n)?t.set(n,l):a(n,l);}}},re="!",be=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],n=r.length,l=s=>{let p=[],b=0,m=0,y;for(let u=0;u<s.length;u++){let f=s[u];if(b===0){if(f===a&&(o||s.slice(u,u+n)===r)){p.push(s.slice(m,u)),m=u+n;continue}if(f==="/"){y=u;continue}}f==="["?b++:f==="]"&&b--;}let x=p.length===0?s:s.substring(m),w=x.startsWith(re),v=w?x.substring(1):x,g=y&&y>m?y-m:void 0;return {modifiers:p,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:g}};return t?s=>t({className:s,parseClassName:l}):l},fe=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o);}),r.push(...t.sort()),r},me=e=>({cache:ge(e.cacheSize),parseClassName:be(e),...le(e)}),he=/\s+/,ye=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=[],l=e.trim().split(he),s="";for(let p=l.length-1;p>=0;p-=1){let b=l[p],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:w}=t(b),v=!!w,g=o(v?x.substring(0,w):x);if(!g){if(!v){s=b+(s.length>0?" "+s:s);continue}if(g=o(x),!g){s=b+(s.length>0?" "+s:s);continue}v=!1;}let u=fe(m).join(":"),f=y?u+re:u,h=f+g;if(n.includes(h))continue;n.push(h);let N=a(g,v);for(let M=0;M<N.length;++M){let T=N[M];n.push(f+T);}s=b+(s.length>0?" "+s:s);}return s};function xe(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=te(r))&&(o&&(o+=" "),o+=t);return o}var te=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=te(e[o]))&&(t&&(t+=" "),t+=r);return t};function ve(e,...r){let t,o,a,n=l;function l(p){let b=r.reduce((m,y)=>y(m),e());return t=me(b),o=t.cache.get,a=t.cache.set,n=s,s(p)}function s(p){let b=o(p);if(b)return b;let m=ye(p,t);return a(p,m),m}return function(){return n(xe.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,we=/^\d+\/\d+$/,ke=new Set(["px","full","screen"]),Ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ze=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Se=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Me=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ae=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>A(e)||ke.has(e)||we.test(e),z=e=>P(e,"length",Be),A=e=>!!e&&!Number.isNaN(Number(e)),W=e=>P(e,"number",A),R=e=>!!e&&Number.isInteger(Number(e)),Pe=e=>e.endsWith("%")&&A(e.slice(0,-1)),i=e=>oe.test(e),S=e=>Ce.test(e),Ne=new Set(["length","size","percentage"]),Ie=e=>P(e,Ne,ne),Re=e=>P(e,"position",ne),Ge=new Set(["image","url"]),Te=e=>P(e,Ge,Ve),Le=e=>P(e,"",Ee),G=()=>!0,P=(e,r,t)=>{let o=oe.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Be=e=>ze.test(e)&&!Se.test(e),ne=()=>!1,Ee=e=>Me.test(e),Ve=e=>Ae.test(e);var je=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),n=c("borderRadius"),l=c("borderSpacing"),s=c("borderWidth"),p=c("contrast"),b=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),w=c("gradientColorStops"),v=c("gradientColorStopPositions"),g=c("inset"),u=c("margin"),f=c("opacity"),h=c("padding"),N=c("saturate"),M=c("scale"),T=c("sepia"),H=c("skew"),U=c("space"),O=c("translate"),E=()=>["auto","contain","none"],V=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",i,r],d=()=>[i,r],q=()=>["",C,z],L=()=>["auto",A,i],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",i],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[A,i];return {cacheSize:500,separator:":",theme:{colors:[G],spacing:[C,z],blur:["none","",S,i],brightness:k(),borderColor:[e],borderRadius:["none","","full",S,i],borderSpacing:d(),borderWidth:q(),contrast:k(),grayscale:I(),hueRotate:k(),invert:I(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Pe,z],inset:j(),margin:j(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:I(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...J(),i]}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",..._()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",W]}],"font-family":[{font:[G]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",A,W]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),Re]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ie]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Te]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[C,i]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Le]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[N]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[H]}],"skew-y":[{"skew-y":[H]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,W]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var se=ve(je);function ae(...e){return se(Q(e))}var De=["lg","md","sm","xs"],er=["contained","secondary","outlined","ghost","standard"],$e=tailwindVariants.tv({slots:{container:"flex items-center justify-center font-inter text-base font-semibold ring-inset transition-all",icon:""},variants:{variant:{contained:{},secondary:{},outlined:{},ghost:{},standard:{}},size:{lg:{container:"h-12 w-12 rounded-lg",icon:"h-6 w-6"},md:{container:"h-10 w-10 rounded-lg",icon:"h-6 w-6"},sm:{container:"h-8 w-8 rounded-lg",icon:"h-4.5 w-4.5"},xs:{container:"h-5.5 w-5.5 rounded",icon:"h-4.5 w-4.5"}},disabled:{true:{},false:{}}},compoundVariants:[{disabled:!0,className:{container:"cursor-not-allowed text-neutral-400"}},{disabled:!1,className:{container:"cursor-pointer"}},{disabled:!1,variant:"contained",className:{container:"bg-primary-500 text-neutral-50 hover:bg-primary-600 focus:bg-primary-500 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-primary-700 active:ring-0"}},{disabled:!0,variant:"contained",className:{container:"bg-neutral-100 ring-0"}},{disabled:!1,variant:"secondary",className:{container:"text-primary-500 ring-[1.5px] ring-inset ring-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 hover:ring-primary-600 focus:bg-neutral-50/0 focus:text-primary-500 focus:ring-[3px] focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-[1.5px] active:ring-primary-700"}},{disabled:!0,variant:"secondary",className:{container:"ring-neutral-400 disabled:ring-[1.5px]"}},{disabled:!1,variant:"outlined",className:{container:"text-neutral-900 ring-[1.5px] ring-neutral-900 hover:bg-transparent-primary-20 focus:ring-[3px] active:bg-transparent-primary-40"}},{disabled:!0,variant:"outlined",className:{container:"text-neutral-400 ring-[1.5px] ring-neutral-400"}},{disabled:!1,variant:"ghost",className:{container:"text-primary-500 hover:bg-transparent-primary-20 hover:text-primary-600 focus:bg-neutral-50/0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:text-primary-700 active:ring-0"}},{disabled:!0,variant:"ghost",className:{container:""}},{disabled:!1,variant:"standard",className:{container:"text-neutral-900 hover:bg-transparent-primary-20 focus:bg-neutral-50 focus:bg-opacity-0 focus:ring-[3px] focus:ring-inset focus:ring-primary-800 active:bg-transparent-primary-40 active:ring-0"}},{disabled:!0,variant:"standard",className:{container:""}}],defaultVariants:{variant:"contained",size:"sm",disabled:!1}}),rr=react.forwardRef(({className:e,variant:r,disabled:t,Icon:o,size:a,...n},l)=>{let{container:s,icon:p}=$e({variant:r,size:a,disabled:t});return jsxRuntime.jsx("button",{ref:l,disabled:t,className:ae(s(),e),...n,children:jsxRuntime.jsx(o,{className:p()})})});exports.IconButton=rr;exports.IconButtonSizes=De;exports.IconButtonVariants=er;
|
package/dist/icon-button.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as IconButton,a as IconButtonSizes,b as IconButtonVariants}from'./chunk-
|
|
1
|
+
export{c as IconButton,a as IconButtonSizes,b as IconButtonVariants}from'./chunk-KSIZIAKW.mjs';import'./chunk-2WINTZSS.mjs';
|
package/dist/icons.d.mts
CHANGED
|
@@ -17,5 +17,6 @@ declare const StarIcon: React.ForwardRefExoticComponent<Omit<lucide_react.Lucide
|
|
|
17
17
|
declare const CalendarIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
18
18
|
declare const ClockIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
19
19
|
declare const SearchIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
|
+
declare const CircleAlertIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
21
|
|
|
21
|
-
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleCheckIcon, CircleXIcon, ClockIcon, InfoIcon, LoaderCircleIcon, MinusIcon, MoonIcon, SearchIcon, StarIcon, TriangleAlertIcon, XIcon };
|
|
22
|
+
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleAlertIcon, CircleCheckIcon, CircleXIcon, ClockIcon, InfoIcon, LoaderCircleIcon, MinusIcon, MoonIcon, SearchIcon, StarIcon, TriangleAlertIcon, XIcon };
|
package/dist/icons.d.ts
CHANGED
|
@@ -17,5 +17,6 @@ declare const StarIcon: React.ForwardRefExoticComponent<Omit<lucide_react.Lucide
|
|
|
17
17
|
declare const CalendarIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
18
18
|
declare const ClockIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
19
19
|
declare const SearchIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
|
+
declare const CircleAlertIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
20
21
|
|
|
21
|
-
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleCheckIcon, CircleXIcon, ClockIcon, InfoIcon, LoaderCircleIcon, MinusIcon, MoonIcon, SearchIcon, StarIcon, TriangleAlertIcon, XIcon };
|
|
22
|
+
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, CircleAlertIcon, CircleCheckIcon, CircleXIcon, ClockIcon, InfoIcon, LoaderCircleIcon, MinusIcon, MoonIcon, SearchIcon, StarIcon, TriangleAlertIcon, XIcon };
|
package/dist/icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var react=require('react');var
|
|
1
|
+
'use strict';var react=require('react');var A=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),k=(...t)=>t.filter((e,r,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===r).join(" ").trim();var B={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var M=react.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:P="",children:c,iconNode:D,...R},q)=>react.createElement("svg",{ref:q,...B,width:e,height:e,stroke:t,strokeWidth:s?Number(r)*24/Number(e):r,className:k("lucide",P),...R},[...D.map(([T,y])=>react.createElement(T,y)),...Array.isArray(c)?c:[c]]));var a=(t,e)=>{let r=react.forwardRef(({className:s,...P},c)=>react.createElement(M,{ref:c,iconNode:e,className:k(`lucide-${A(t)}`,s),...P}));return r.displayName=`${t}`,r};var i=a("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);var n=a("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var p=a("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var L=a("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var m=a("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var u=a("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var o=a("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var d=a("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var I=a("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);var x=a("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var l=a("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var C=a("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var h=a("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var S=a("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var g=a("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var f=a("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var w=a("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var Ka=l,Za=o,Ja=d,Qa=w,Ya=x,ja=f,$a=p,_a=m,ae=L,ee=n,te=C,ue=h,oe=g,de=i,le=I,fe=S,re=u;/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
lucide-react/dist/esm/shared/src/utils.js:
|
|
4
4
|
(**
|
|
@@ -72,6 +72,14 @@ lucide-react/dist/esm/icons/chevron-right.js:
|
|
|
72
72
|
* See the LICENSE file in the root directory of this source tree.
|
|
73
73
|
*)
|
|
74
74
|
|
|
75
|
+
lucide-react/dist/esm/icons/circle-alert.js:
|
|
76
|
+
(**
|
|
77
|
+
* @license lucide-react v0.469.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*)
|
|
82
|
+
|
|
75
83
|
lucide-react/dist/esm/icons/circle-check.js:
|
|
76
84
|
(**
|
|
77
85
|
* @license lucide-react v0.469.0 - ISC
|
|
@@ -167,4 +175,4 @@ lucide-react/dist/esm/lucide-react.js:
|
|
|
167
175
|
* This source code is licensed under the ISC license.
|
|
168
176
|
* See the LICENSE file in the root directory of this source tree.
|
|
169
177
|
*)
|
|
170
|
-
*/exports.CalendarIcon=
|
|
178
|
+
*/exports.CalendarIcon=de;exports.CheckIcon=ee;exports.ChevronDownIcon=$a;exports.ChevronLeftIcon=ae;exports.ChevronRightIcon=_a;exports.CircleAlertIcon=re;exports.CircleCheckIcon=Za;exports.CircleXIcon=Ja;exports.ClockIcon=le;exports.InfoIcon=Ya;exports.LoaderCircleIcon=Ka;exports.MinusIcon=te;exports.MoonIcon=ue;exports.SearchIcon=fe;exports.StarIcon=oe;exports.TriangleAlertIcon=ja;exports.XIcon=Qa;
|
package/dist/icons.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{n as CalendarIcon,j as CheckIcon,g as ChevronDownIcon,i as ChevronLeftIcon,h as ChevronRightIcon,b as CircleCheckIcon,c as CircleXIcon,o as ClockIcon,e as InfoIcon,a as LoaderCircleIcon,k as MinusIcon,l as MoonIcon,p as SearchIcon,m as StarIcon,f as TriangleAlertIcon,d as XIcon}from'./chunk-
|
|
1
|
+
export{n as CalendarIcon,j as CheckIcon,g as ChevronDownIcon,i as ChevronLeftIcon,h as ChevronRightIcon,q as CircleAlertIcon,b as CircleCheckIcon,c as CircleXIcon,o as ClockIcon,e as InfoIcon,a as LoaderCircleIcon,k as MinusIcon,l as MoonIcon,p as SearchIcon,m as StarIcon,f as TriangleAlertIcon,d as XIcon}from'./chunk-TYHJTIAW.mjs';import'./chunk-TGTW7UYA.mjs';
|