@map2usdnbhd/md_components 1.0.42 → 1.0.43
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/{allPaths-oGH4ufwi.js → allPaths-DSlojWyX.js} +1 -1
- package/dist/{allPathsLoader-DX7sosCq.js → allPathsLoader-BpD2jIKz.js} +2 -2
- package/dist/{index-BQ4_4mmz.js → index-Bg1-HwzZ.js} +9 -7
- package/dist/md-component.js +1 -1
- package/dist/md-component.umd.cjs +4 -4
- package/dist/{splitPathsBySizeLoader-BxJPqTWv.js → splitPathsBySizeLoader-rqzm7Roz.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as n } from "./index-BcyZRf8d.js";
|
|
2
2
|
import { I as e } from "./index-CPmyzV1b.js";
|
|
3
|
-
import { p as r, I as s } from "./index-
|
|
3
|
+
import { p as r, I as s } from "./index-Bg1-HwzZ.js";
|
|
4
4
|
function I(o, t) {
|
|
5
5
|
var a = r(o);
|
|
6
6
|
return t === s.STANDARD ? n[a] : e[a];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, a as o } from "./index-
|
|
1
|
+
import { _ as n, a as o } from "./index-Bg1-HwzZ.js";
|
|
2
2
|
var s = function(a, e) {
|
|
3
3
|
return n(void 0, void 0, void 0, function() {
|
|
4
4
|
var t;
|
|
@@ -7,7 +7,7 @@ var s = function(a, e) {
|
|
|
7
7
|
case 0:
|
|
8
8
|
return [4, import(
|
|
9
9
|
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
10
|
-
"./allPaths-
|
|
10
|
+
"./allPaths-DSlojWyX.js"
|
|
11
11
|
)];
|
|
12
12
|
case 1:
|
|
13
13
|
return t = r.sent().getIconPaths, [2, t(a, e)];
|
|
@@ -2979,9 +2979,10 @@ const ft = /* @__PURE__ */ i5(O5), i9 = ({
|
|
|
2979
2979
|
text: t,
|
|
2980
2980
|
variant: n,
|
|
2981
2981
|
outline: o,
|
|
2982
|
-
type: a
|
|
2982
|
+
type: a,
|
|
2983
|
+
...i
|
|
2983
2984
|
}) => {
|
|
2984
|
-
const
|
|
2985
|
+
const l = {
|
|
2985
2986
|
success: {
|
|
2986
2987
|
success: "bg-green-500 hover:bg-green-700 text-white font-bold"
|
|
2987
2988
|
},
|
|
@@ -2996,7 +2997,7 @@ const ft = /* @__PURE__ */ i5(O5), i9 = ({
|
|
|
2996
2997
|
light: {
|
|
2997
2998
|
light: "bg-gray-800 hover:bg-gray-400 text-white font-bold"
|
|
2998
2999
|
}
|
|
2999
|
-
},
|
|
3000
|
+
}, s = {
|
|
3000
3001
|
primary: {
|
|
3001
3002
|
primary: `bg-transparent hover:bg-blue-500
|
|
3002
3003
|
text-blue-700
|
|
@@ -3033,16 +3034,17 @@ const ft = /* @__PURE__ */ i5(O5), i9 = ({
|
|
|
3033
3034
|
border-yellow-500
|
|
3034
3035
|
hover:border-transparent `
|
|
3035
3036
|
}
|
|
3036
|
-
},
|
|
3037
|
+
}, u = l[n] || {}, c = s[o] || {}, g = ft(...Object.values(u)), m = ft(...Object.values(c));
|
|
3037
3038
|
return /* @__PURE__ */ T.jsx(
|
|
3038
3039
|
"button",
|
|
3039
3040
|
{
|
|
3040
3041
|
type: a,
|
|
3041
3042
|
className: `
|
|
3042
|
-
${r ?
|
|
3043
|
+
${r ? m : g}
|
|
3043
3044
|
py-2 px-4
|
|
3044
3045
|
${e ? "rounded-full" : "rounded"}`,
|
|
3045
3046
|
style: { fontWeight: "normal" },
|
|
3047
|
+
...i,
|
|
3046
3048
|
children: t
|
|
3047
3049
|
}
|
|
3048
3050
|
);
|
|
@@ -26699,14 +26701,14 @@ function aj(e) {
|
|
|
26699
26701
|
case 1:
|
|
26700
26702
|
return t !== "all" ? [3, 3] : [4, import(
|
|
26701
26703
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
26702
|
-
"./allPathsLoader-
|
|
26704
|
+
"./allPathsLoader-BpD2jIKz.js"
|
|
26703
26705
|
)];
|
|
26704
26706
|
case 2:
|
|
26705
26707
|
return [2, n.sent().allPathsLoader];
|
|
26706
26708
|
case 3:
|
|
26707
26709
|
return [4, import(
|
|
26708
26710
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
26709
|
-
"./splitPathsBySizeLoader-
|
|
26711
|
+
"./splitPathsBySizeLoader-rqzm7Roz.js"
|
|
26710
26712
|
)];
|
|
26711
26713
|
case 4:
|
|
26712
26714
|
return [2, n.sent().splitPathsBySizeLoader];
|
package/dist/md-component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as s, am as i, a9 as e, aa as c, at as o, av as M, aw as S, aA as r, az as l, ay as n, au as u, aq as T, ap as g, N as p, J as F, L as C, H as f, K as m, a3 as B, ag as D, ak as w, ah as I, ai as P, al as b, aj as x, O as h, a5 as y, c as G, ae as k, k as v, j as E, af as H, P as L, Q as N, d as A, b as R, t as Q, R as W, S as j, ar as q, ad as z, T as O, ao as U, ab as V, ac as J, as as K, Z as X, $ as Y, a8 as Z, a1 as $, U as _, e as aa, q as ta, M as da, aB as sa, aC as ia, aD as ea, ax as ca, a2 as oa, i as Ma, V as Sa, an as ra, l as la, a7 as na, o as ua, g as Ta, s as ga, f as pa, u as Fa, n as Ca, v as fa, w as ma, x as Ba, y as Da, z as wa, A as Ia, B as Pa, m as ba, h as xa, X as ha, C as ya, F as Ga, G as ka, D as va, E as Ea, Y as Ha, a4 as La, a6 as Na, r as Aa, W as Ra } from "./index-
|
|
1
|
+
import { a0 as s, am as i, a9 as e, aa as c, at as o, av as M, aw as S, aA as r, az as l, ay as n, au as u, aq as T, ap as g, N as p, J as F, L as C, H as f, K as m, a3 as B, ag as D, ak as w, ah as I, ai as P, al as b, aj as x, O as h, a5 as y, c as G, ae as k, k as v, j as E, af as H, P as L, Q as N, d as A, b as R, t as Q, R as W, S as j, ar as q, ad as z, T as O, ao as U, ab as V, ac as J, as as K, Z as X, $ as Y, a8 as Z, a1 as $, U as _, e as aa, q as ta, M as da, aB as sa, aC as ia, aD as ea, ax as ca, a2 as oa, i as Ma, V as Sa, an as ra, l as la, a7 as na, o as ua, g as Ta, s as ga, f as pa, u as Fa, n as Ca, v as fa, w as ma, x as Ba, y as Da, z as wa, A as Ia, B as Pa, m as ba, h as xa, X as ha, C as ya, F as Ga, G as ka, D as va, E as Ea, Y as Ha, a4 as La, a6 as Na, r as Aa, W as Ra } from "./index-Bg1-HwzZ.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as DynamicModal,
|
|
@@ -24,7 +24,7 @@ Check the render method of \``+N+"`."}return""}}function Hr(N){{if(N!==void 0){v
|
|
|
24
24
|
|
|
25
25
|
Check your code at `+ne+":"+ie+"."}return""}}var tr={};function p1(N){{var ne=Ct();if(!ne){var ie=typeof N=="string"?N:N.displayName||N.name;ie&&(ne=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+ie+">.")}return ne}}function bt(N,ne){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var ie=p1(ne);if(tr[ie])return;tr[ie]=!0;var pe="";N&&N._owner&&N._owner!==lr.current&&(pe=" It was passed a child from "+k(N._owner.type)+"."),it(N),d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ie,pe),it(null)}}function v1(N,ne){{if(typeof N!="object")return;if(Le(N))for(var ie=0;ie<N.length;ie++){var pe=N[ie];Ut(pe)&&bt(pe,ne)}else if(Ut(N))N._store&&(N._store.validated=!0);else if(N){var Ce=x(N);if(typeof Ce=="function"&&Ce!==N.entries)for(var xe=Ce.call(N),ge;!(ge=xe.next()).done;)Ut(ge.value)&&bt(ge.value,ne)}}}function h1(N){{var ne=N.type;if(ne==null||typeof ne=="string")return;var ie;if(typeof ne=="function")ie=ne.propTypes;else if(typeof ne=="object"&&(ne.$$typeof===s||ne.$$typeof===m))ie=ne.propTypes;else return;if(ie){var pe=k(ne);de(ie,N.props,"prop",pe,N)}else if(ne.PropTypes!==void 0&&!er){er=!0;var Ce=k(ne);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ce||"Unknown")}typeof ne.getDefaultProps=="function"&&!ne.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function En(N){{for(var ne=Object.keys(N.props),ie=0;ie<ne.length;ie++){var pe=ne[ie];if(pe!=="children"&&pe!=="key"){it(N),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",pe),it(null);break}}N.ref!==null&&(it(N),d("Invalid attribute `ref` supplied to `React.Fragment`."),it(null))}}function m1(N,ne,ie,pe,Ce,xe){{var ge=O(N);if(!ge){var me="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(me+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Xe=Hr(Ce);Xe?me+=Xe:me+=Ct();var De;N===null?De="null":Le(N)?De="array":N!==void 0&&N.$$typeof===r?(De="<"+(k(N.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):De=typeof N,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",De,me)}var $e=ht(N,ne,ie,Ce,xe);if($e==null)return $e;if(ge){var at=ne.children;if(at!==void 0)if(pe)if(Le(at)){for(var Gt=0;Gt<at.length;Gt++)v1(at[Gt],N);Object.freeze&&Object.freeze(at)}else d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v1(at,N)}return N===n?En($e):h1($e),$e}}function Io(N,ne,ie){return m1(N,ne,ie,!0)}function _n(N,ne,ie){return m1(N,ne,ie,!1)}var Tr=_n,$o=Io;ba.Fragment=n,ba.jsx=Tr,ba.jsxs=$o}()),ba}process.env.NODE_ENV==="production"?Hi.exports=a8():Hi.exports=o8();var M=Hi.exports;const ji="-";function i8(e){const r=s8(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;function a(i){const l=i.split(ji);return l[0]===""&&l.length!==1&&l.shift(),r2(l,r)||l8(i)}function o(i,l){const s=t[i]||[];return l&&n[i]?[...s,...n[i]]:s}return{getClassGroupId:a,getConflictingClassGroupIds:o}}function r2(e,r){var i;if(e.length===0)return r.classGroupId;const t=e[0],n=r.nextPart.get(t),a=n?r2(e.slice(1),n):void 0;if(a)return a;if(r.validators.length===0)return;const o=e.join(ji);return(i=r.validators.find(({validator:l})=>l(o)))==null?void 0:i.classGroupId}const n2=/^\[(.+)\]$/;function l8(e){if(n2.test(e)){const r=n2.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function s8(e){const{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return u8(Object.entries(e.classGroups),t).forEach(([o,i])=>{Ri(i,n,o,r)}),n}function Ri(e,r,t,n){e.forEach(a=>{if(typeof a=="string"){const o=a===""?r:a2(r,a);o.classGroupId=t;return}if(typeof a=="function"){if(c8(a)){Ri(a(n),r,t,n);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([o,i])=>{Ri(i,a2(r,o),t,n)})})}function a2(e,r){let t=e;return r.split(ji).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t}function c8(e){return e.isThemeGetter}function u8(e,r){return r?e.map(([t,n])=>{const a=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,l])=>[r+i,l])):o);return[t,a]}):e}function d8(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map;function a(o,i){t.set(o,i),r++,r>e&&(r=0,n=t,t=new Map)}return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){t.has(o)?t.set(o,i):a(o,i)}}}const o2="!";function f8(e){const r=e.separator,t=r.length===1,n=r[0],a=r.length;return function(i){const l=[];let s=0,c=0,u;for(let g=0;g<i.length;g++){let x=i[g];if(s===0){if(x===n&&(t||i.slice(g,g+a)===r)){l.push(i.slice(c,g)),c=g+a;continue}if(x==="/"){u=g;continue}}x==="["?s++:x==="]"&&s--}const m=l.length===0?i:i.substring(c),b=m.startsWith(o2),y=b?m.substring(1):m,w=u&&u>c?u-c:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:w}}}function p8(e){if(e.length<=1)return e;const r=[];let t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r}function v8(e){return{cache:d8(e.cacheSize),splitModifiers:f8(e),...i8(e)}}const h8=/\s+/;function m8(e,r){const{splitModifiers:t,getClassGroupId:n,getConflictingClassGroupIds:a}=r,o=new Set;return e.trim().split(h8).map(i=>{const{modifiers:l,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:u}=t(i);let m=n(u?c.substring(0,u):c),b=!!u;if(!m){if(!u)return{isTailwindClass:!1,originalClassName:i};if(m=n(c),!m)return{isTailwindClass:!1,originalClassName:i};b=!1}const y=p8(l).join(":");return{isTailwindClass:!0,modifierId:s?y+o2:y,classGroupId:m,originalClassName:i,hasPostfixModifier:b}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:l,classGroupId:s,hasPostfixModifier:c}=i,u=l+s;return o.has(u)?!1:(o.add(u),a(s,c).forEach(m=>o.add(l+m)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function g8(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=i2(r))&&(n&&(n+=" "),n+=t);return n}function i2(e){if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=i2(e[n]))&&(t&&(t+=" "),t+=r);return t}function b8(e,...r){let t,n,a,o=i;function i(s){const c=r.reduce((u,m)=>m(u),e());return t=v8(c),n=t.cache.get,a=t.cache.set,o=l,l(s)}function l(s){const c=n(s);if(c)return c;const u=m8(s,t);return a(s,u),u}return function(){return o(g8.apply(null,arguments))}}function st(e){const r=t=>t[e]||[];return r.isThemeGetter=!0,r}const l2=/^\[(?:([a-z-]+):)?(.+)\]$/i,y8=/^\d+\/\d+$/,x8=new Set(["px","full","screen"]),w8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C8=/\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$/,M8=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,z8=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function qr(e){return F1(e)||x8.has(e)||y8.test(e)}function g1(e){return kn(e,"length",V8)}function F1(e){return!!e&&!Number.isNaN(Number(e))}function Uo(e){return kn(e,"number",F1)}function ya(e){return!!e&&Number.isInteger(Number(e))}function O8(e){return e.endsWith("%")&&F1(e.slice(0,-1))}function Ue(e){return l2.test(e)}function b1(e){return w8.test(e)}const S8=new Set(["length","size","percentage"]);function P8(e){return kn(e,S8,s2)}function E8(e){return kn(e,"position",s2)}const _8=new Set(["image","url"]);function L8(e){return kn(e,_8,N8)}function k8(e){return kn(e,"",A8)}function xa(){return!0}function kn(e,r,t){const n=l2.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1}function V8(e){return C8.test(e)&&!M8.test(e)}function s2(){return!1}function A8(e){return z8.test(e)}function N8(e){return T8.test(e)}function H8(){const e=st("colors"),r=st("spacing"),t=st("blur"),n=st("brightness"),a=st("borderColor"),o=st("borderRadius"),i=st("borderSpacing"),l=st("borderWidth"),s=st("contrast"),c=st("grayscale"),u=st("hueRotate"),m=st("invert"),b=st("gap"),y=st("gradientColorStops"),w=st("gradientColorStopPositions"),g=st("inset"),x=st("margin"),v=st("opacity"),d=st("padding"),h=st("saturate"),f=st("scale"),p=st("sepia"),C=st("skew"),z=st("space"),P=st("translate"),T=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto",Ue,r],L=()=>[Ue,r],k=()=>["",qr,g1],A=()=>["auto",F1,Ue],R=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],q=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",Ue],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[F1,Uo],B=()=>[F1,Ue];return{cacheSize:500,separator:":",theme:{colors:[xa],spacing:[qr,g1],blur:["none","",b1,Ue],brightness:G(),borderColor:[e],borderRadius:["none","","full",b1,Ue],borderSpacing:L(),borderWidth:k(),contrast:G(),grayscale:I(),hueRotate:B(),invert:I(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[O8,g1],inset:S(),margin:S(),opacity:G(),padding:L(),saturate:G(),scale:G(),sepia:I(),skew:B(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",Ue]}],container:["container"],columns:[{columns:[b1]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:[...R(),Ue]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],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",ya,Ue]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ue]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",ya,Ue]}],"grid-cols":[{"grid-cols":[xa]}],"col-start-end":[{col:["auto",{span:["full",ya,Ue]},Ue]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[xa]}],"row-start-end":[{row:["auto",{span:[ya,Ue]},Ue]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ue]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ue,r]}],"min-w":[{"min-w":[Ue,r,"min","max","fit"]}],"max-w":[{"max-w":[Ue,r,"none","full","min","max","fit","prose",{screen:[b1]},b1]}],h:[{h:[Ue,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ue,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ue,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ue,r,"auto","min","max","fit"]}],"font-size":[{text:["base",b1,g1]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Uo]}],"font-family":[{font:[xa]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ue]}],"line-clamp":[{"line-clamp":["none",F1,Uo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qr,Ue]}],"list-image":[{"list-image":["none",Ue]}],"list-style-type":[{list:["none","disc","decimal",Ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qr,g1]}],"underline-offset":[{"underline-offset":["auto",qr,Ue]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ue]}],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",Ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...R(),E8]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",P8]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},L8]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[v]}],"border-style":[{border:[...U(),"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":[v]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[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:["",...U()]}],"outline-offset":[{"outline-offset":[qr,Ue]}],"outline-w":[{outline:[qr,g1]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[qr,g1]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",b1,k8]}],"shadow-color":[{shadow:[xa]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":$()}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",b1,Ue]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[h]}],sepia:[{sepia:[p]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[p]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ue]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Ue]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[f]}],"scale-x":[{"scale-x":[f]}],"scale-y":[{"scale-y":[f]}],rotate:[{rotate:[ya,Ue]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ue]}],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",Ue]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",Ue]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[qr,g1,Uo]}],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-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"]}}}const ct=b8(H8),j8=({pill:e,outlineBtn:r,text:t,variant:n,outline:a,type:o})=>{const i={success:{success:"bg-green-500 hover:bg-green-700 text-white font-bold"},primary:{primary:"bg-blue-500 hover:bg-blue-700 text-white font-bold"},danger:{danger:"bg-red-500 hover:bg-red-700 text-white font-bold"},warning:{warning:"bg-yellow-500 hover:bg-yellow-700 text-white font-bold"},dark:{dark:"bg-gray-200 hover:bg-gray-700 text-black font-bold"},light:{light:"bg-gray-800 hover:bg-gray-400 text-white font-bold"}},l={primary:{primary:`bg-transparent hover:bg-blue-500
|
|
27
|
+
Check the top-level render call using <`+ie+">.")}return ne}}function bt(N,ne){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var ie=p1(ne);if(tr[ie])return;tr[ie]=!0;var pe="";N&&N._owner&&N._owner!==lr.current&&(pe=" It was passed a child from "+k(N._owner.type)+"."),it(N),d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ie,pe),it(null)}}function v1(N,ne){{if(typeof N!="object")return;if(Le(N))for(var ie=0;ie<N.length;ie++){var pe=N[ie];Ut(pe)&&bt(pe,ne)}else if(Ut(N))N._store&&(N._store.validated=!0);else if(N){var Ce=x(N);if(typeof Ce=="function"&&Ce!==N.entries)for(var xe=Ce.call(N),ge;!(ge=xe.next()).done;)Ut(ge.value)&&bt(ge.value,ne)}}}function h1(N){{var ne=N.type;if(ne==null||typeof ne=="string")return;var ie;if(typeof ne=="function")ie=ne.propTypes;else if(typeof ne=="object"&&(ne.$$typeof===s||ne.$$typeof===m))ie=ne.propTypes;else return;if(ie){var pe=k(ne);de(ie,N.props,"prop",pe,N)}else if(ne.PropTypes!==void 0&&!er){er=!0;var Ce=k(ne);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ce||"Unknown")}typeof ne.getDefaultProps=="function"&&!ne.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function En(N){{for(var ne=Object.keys(N.props),ie=0;ie<ne.length;ie++){var pe=ne[ie];if(pe!=="children"&&pe!=="key"){it(N),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",pe),it(null);break}}N.ref!==null&&(it(N),d("Invalid attribute `ref` supplied to `React.Fragment`."),it(null))}}function m1(N,ne,ie,pe,Ce,xe){{var ge=O(N);if(!ge){var me="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(me+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Xe=Hr(Ce);Xe?me+=Xe:me+=Ct();var De;N===null?De="null":Le(N)?De="array":N!==void 0&&N.$$typeof===r?(De="<"+(k(N.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):De=typeof N,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",De,me)}var $e=ht(N,ne,ie,Ce,xe);if($e==null)return $e;if(ge){var at=ne.children;if(at!==void 0)if(pe)if(Le(at)){for(var Gt=0;Gt<at.length;Gt++)v1(at[Gt],N);Object.freeze&&Object.freeze(at)}else d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else v1(at,N)}return N===n?En($e):h1($e),$e}}function Io(N,ne,ie){return m1(N,ne,ie,!0)}function _n(N,ne,ie){return m1(N,ne,ie,!1)}var Tr=_n,$o=Io;ba.Fragment=n,ba.jsx=Tr,ba.jsxs=$o}()),ba}process.env.NODE_ENV==="production"?Hi.exports=a8():Hi.exports=o8();var M=Hi.exports;const ji="-";function i8(e){const r=s8(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;function a(i){const l=i.split(ji);return l[0]===""&&l.length!==1&&l.shift(),r2(l,r)||l8(i)}function o(i,l){const s=t[i]||[];return l&&n[i]?[...s,...n[i]]:s}return{getClassGroupId:a,getConflictingClassGroupIds:o}}function r2(e,r){var i;if(e.length===0)return r.classGroupId;const t=e[0],n=r.nextPart.get(t),a=n?r2(e.slice(1),n):void 0;if(a)return a;if(r.validators.length===0)return;const o=e.join(ji);return(i=r.validators.find(({validator:l})=>l(o)))==null?void 0:i.classGroupId}const n2=/^\[(.+)\]$/;function l8(e){if(n2.test(e)){const r=n2.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function s8(e){const{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return u8(Object.entries(e.classGroups),t).forEach(([o,i])=>{Ri(i,n,o,r)}),n}function Ri(e,r,t,n){e.forEach(a=>{if(typeof a=="string"){const o=a===""?r:a2(r,a);o.classGroupId=t;return}if(typeof a=="function"){if(c8(a)){Ri(a(n),r,t,n);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([o,i])=>{Ri(i,a2(r,o),t,n)})})}function a2(e,r){let t=e;return r.split(ji).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t}function c8(e){return e.isThemeGetter}function u8(e,r){return r?e.map(([t,n])=>{const a=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,l])=>[r+i,l])):o);return[t,a]}):e}function d8(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map;function a(o,i){t.set(o,i),r++,r>e&&(r=0,n=t,t=new Map)}return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){t.has(o)?t.set(o,i):a(o,i)}}}const o2="!";function f8(e){const r=e.separator,t=r.length===1,n=r[0],a=r.length;return function(i){const l=[];let s=0,c=0,u;for(let g=0;g<i.length;g++){let x=i[g];if(s===0){if(x===n&&(t||i.slice(g,g+a)===r)){l.push(i.slice(c,g)),c=g+a;continue}if(x==="/"){u=g;continue}}x==="["?s++:x==="]"&&s--}const m=l.length===0?i:i.substring(c),b=m.startsWith(o2),y=b?m.substring(1):m,w=u&&u>c?u-c:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:w}}}function p8(e){if(e.length<=1)return e;const r=[];let t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r}function v8(e){return{cache:d8(e.cacheSize),splitModifiers:f8(e),...i8(e)}}const h8=/\s+/;function m8(e,r){const{splitModifiers:t,getClassGroupId:n,getConflictingClassGroupIds:a}=r,o=new Set;return e.trim().split(h8).map(i=>{const{modifiers:l,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:u}=t(i);let m=n(u?c.substring(0,u):c),b=!!u;if(!m){if(!u)return{isTailwindClass:!1,originalClassName:i};if(m=n(c),!m)return{isTailwindClass:!1,originalClassName:i};b=!1}const y=p8(l).join(":");return{isTailwindClass:!0,modifierId:s?y+o2:y,classGroupId:m,originalClassName:i,hasPostfixModifier:b}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:l,classGroupId:s,hasPostfixModifier:c}=i,u=l+s;return o.has(u)?!1:(o.add(u),a(s,c).forEach(m=>o.add(l+m)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function g8(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=i2(r))&&(n&&(n+=" "),n+=t);return n}function i2(e){if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=i2(e[n]))&&(t&&(t+=" "),t+=r);return t}function b8(e,...r){let t,n,a,o=i;function i(s){const c=r.reduce((u,m)=>m(u),e());return t=v8(c),n=t.cache.get,a=t.cache.set,o=l,l(s)}function l(s){const c=n(s);if(c)return c;const u=m8(s,t);return a(s,u),u}return function(){return o(g8.apply(null,arguments))}}function st(e){const r=t=>t[e]||[];return r.isThemeGetter=!0,r}const l2=/^\[(?:([a-z-]+):)?(.+)\]$/i,y8=/^\d+\/\d+$/,x8=new Set(["px","full","screen"]),w8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C8=/\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$/,M8=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,z8=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function qr(e){return F1(e)||x8.has(e)||y8.test(e)}function g1(e){return kn(e,"length",V8)}function F1(e){return!!e&&!Number.isNaN(Number(e))}function Uo(e){return kn(e,"number",F1)}function ya(e){return!!e&&Number.isInteger(Number(e))}function O8(e){return e.endsWith("%")&&F1(e.slice(0,-1))}function Ue(e){return l2.test(e)}function b1(e){return w8.test(e)}const S8=new Set(["length","size","percentage"]);function P8(e){return kn(e,S8,s2)}function E8(e){return kn(e,"position",s2)}const _8=new Set(["image","url"]);function L8(e){return kn(e,_8,N8)}function k8(e){return kn(e,"",A8)}function xa(){return!0}function kn(e,r,t){const n=l2.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1}function V8(e){return C8.test(e)&&!M8.test(e)}function s2(){return!1}function A8(e){return z8.test(e)}function N8(e){return T8.test(e)}function H8(){const e=st("colors"),r=st("spacing"),t=st("blur"),n=st("brightness"),a=st("borderColor"),o=st("borderRadius"),i=st("borderSpacing"),l=st("borderWidth"),s=st("contrast"),c=st("grayscale"),u=st("hueRotate"),m=st("invert"),b=st("gap"),y=st("gradientColorStops"),w=st("gradientColorStopPositions"),g=st("inset"),x=st("margin"),v=st("opacity"),d=st("padding"),h=st("saturate"),f=st("scale"),p=st("sepia"),C=st("skew"),z=st("space"),P=st("translate"),T=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto",Ue,r],L=()=>[Ue,r],k=()=>["",qr,g1],A=()=>["auto",F1,Ue],R=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],q=()=>["start","end","center","between","around","evenly","stretch"],I=()=>["","0",Ue],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[F1,Uo],B=()=>[F1,Ue];return{cacheSize:500,separator:":",theme:{colors:[xa],spacing:[qr,g1],blur:["none","",b1,Ue],brightness:G(),borderColor:[e],borderRadius:["none","","full",b1,Ue],borderSpacing:L(),borderWidth:k(),contrast:G(),grayscale:I(),hueRotate:B(),invert:I(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[O8,g1],inset:S(),margin:S(),opacity:G(),padding:L(),saturate:G(),scale:G(),sepia:I(),skew:B(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",Ue]}],container:["container"],columns:[{columns:[b1]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:[...R(),Ue]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],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",ya,Ue]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ue]}],grow:[{grow:I()}],shrink:[{shrink:I()}],order:[{order:["first","last","none",ya,Ue]}],"grid-cols":[{"grid-cols":[xa]}],"col-start-end":[{col:["auto",{span:["full",ya,Ue]},Ue]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[xa]}],"row-start-end":[{row:["auto",{span:[ya,Ue]},Ue]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ue]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ue,r]}],"min-w":[{"min-w":[Ue,r,"min","max","fit"]}],"max-w":[{"max-w":[Ue,r,"none","full","min","max","fit","prose",{screen:[b1]},b1]}],h:[{h:[Ue,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ue,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ue,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ue,r,"auto","min","max","fit"]}],"font-size":[{text:["base",b1,g1]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Uo]}],"font-family":[{font:[xa]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ue]}],"line-clamp":[{"line-clamp":["none",F1,Uo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qr,Ue]}],"list-image":[{"list-image":["none",Ue]}],"list-style-type":[{list:["none","disc","decimal",Ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qr,g1]}],"underline-offset":[{"underline-offset":["auto",qr,Ue]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ue]}],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",Ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...R(),E8]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",P8]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},L8]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[v]}],"border-style":[{border:[...U(),"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":[v]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[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:["",...U()]}],"outline-offset":[{"outline-offset":[qr,Ue]}],"outline-w":[{outline:[qr,g1]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[qr,g1]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",b1,k8]}],"shadow-color":[{shadow:[xa]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":$()}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",b1,Ue]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[m]}],saturate:[{saturate:[h]}],sepia:[{sepia:[p]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[p]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ue]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",Ue]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[f]}],"scale-x":[{"scale-x":[f]}],"scale-y":[{"scale-y":[f]}],rotate:[{rotate:[ya,Ue]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ue]}],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",Ue]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",Ue]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[qr,g1,Uo]}],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-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"]}}}const ct=b8(H8),j8=({pill:e,outlineBtn:r,text:t,variant:n,outline:a,type:o,...i})=>{const l={success:{success:"bg-green-500 hover:bg-green-700 text-white font-bold"},primary:{primary:"bg-blue-500 hover:bg-blue-700 text-white font-bold"},danger:{danger:"bg-red-500 hover:bg-red-700 text-white font-bold"},warning:{warning:"bg-yellow-500 hover:bg-yellow-700 text-white font-bold"},dark:{dark:"bg-gray-200 hover:bg-gray-700 text-black font-bold"},light:{light:"bg-gray-800 hover:bg-gray-400 text-white font-bold"}},s={primary:{primary:`bg-transparent hover:bg-blue-500
|
|
28
28
|
text-blue-700
|
|
29
29
|
font-semibold
|
|
30
30
|
hover:text-white
|
|
@@ -48,10 +48,10 @@ Check the top-level render call using <`+ie+">.")}return ne}}function bt(N,ne){{
|
|
|
48
48
|
hover:text-white
|
|
49
49
|
py-2 px-4 border
|
|
50
50
|
border-yellow-500
|
|
51
|
-
hover:border-transparent `}},
|
|
52
|
-
${r?m
|
|
51
|
+
hover:border-transparent `}},c=l[n]||{},u=s[a]||{},m=ct(...Object.values(c)),b=ct(...Object.values(u));return M.jsx("button",{type:o,className:`
|
|
52
|
+
${r?b:m}
|
|
53
53
|
py-2 px-4
|
|
54
|
-
${e?"rounded-full":"rounded"}`,style:{fontWeight:"normal"},children:t})},R8=({variant:e,borderRadius:r=0,backgroundColor:t,colorFont:n,Header:a,paragraph:o,paragraph1:i,buttontext:l,buttontext1:s})=>{const[c,u]=H.useState(!1),m=()=>{u(!c)},b={success:"bg-green-500 hover:bg-green-700 text-white font-bold",primary:"bg-blue-500 hover:bg-blue-700 text-white font-bold",danger:"bg-red-500 hover:bg-red-700 text-white font-bold",warning:"bg-yellow-500 hover:bg-yellow-700 text-white font-bold",dark:"bg-gray-200 hover:bg-gray-700 text-gray-700 font-bold",light:"bg-gray-800 hover:bg-gray-400 text-white font-bold",White:"bg-white hover:bg-gray-400 text-gray-700 font-bold"},y={black:"text-black",white:"text-white"},w=ct(b[e]),g=ct(y[n]);return M.jsxs("div",{className:`max-w-md p-3 mx-auto mt-20 ${g}`,style:{backgroundColor:t,borderRadius:`${r}px`},children:[M.jsx("h1",{className:"py-2 font-bold text-xl",children:a}),M.jsxs("p",{className:"leading-relaxed md:text-lg text-sm text-justify",children:[o,c&&M.jsx("span",{id:"more-text ",children:i})]}),M.jsx("button",{onClick:m,className:`mt-4 ${w} p-2 focus:outline-none shadow-md ${c?"hidden":""}`,style:{borderRadius:`${r}px`},children:l}),M.jsx("button",{onClick:m,className:`mt-4 ${w} p-2 focus:outline-none shadow-md ${c?"":"hidden"}`,style:{borderRadius:`${r}px`},children:s})]})};var c2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},u2=H.createContext&&H.createContext(c2),y1=function(){return y1=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},y1.apply(this,arguments)},D8=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)r.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};function d2(e){return e&&e.map(function(r,t){return H.createElement(r.tag,y1({key:t},r.attr),d2(r.child))})}function ze(e){return function(r){return H.createElement(I8,y1({attr:y1({},e.attr)},r),d2(e.child))}}function I8(e){var r=function(t){var n=e.attr,a=e.size,o=e.title,i=D8(e,["attr","size","title"]),l=a||t.size||"1em",s;return t.className&&(s=t.className),e.className&&(s=(s?s+" ":"")+e.className),H.createElement("svg",y1({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,i,{className:s,style:y1(y1({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&H.createElement("title",null,o),e.children)};return u2!==void 0?H.createElement(u2.Consumer,null,function(t){return r(t)}):r(c2)}function $8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(e)}function F8(e){return ze({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(e)}function W8(e){return ze({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}}]})(e)}function U8(e){return ze({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}function G8(e){return ze({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function f2(e){return ze({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}]})(e)}function B8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}}]})(e)}function q8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function Y8(e){return ze({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"}}]})(e)}function p2(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}}]})(e)}function K8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"}}]})(e)}function v2(e){return ze({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(e)}const X8=({buttonText:e,variant:r,hideText:t,hideIcon:n,colorFont:a,display:o})=>{const[i,l]=H.useState(!1),s=H.useRef(null),c=()=>{l(!i)},u=g=>{console.log("Selected option:",g),l(!1)},m={success:"bg-green-500 hover:bg-green-700 text-white font-bold",primary:"bg-blue-500 hover:bg-blue-700 text-white font-bold",danger:"bg-red-500 hover:bg-red-700 text-white font-bold",warning:"bg-yellow-500 hover:bg-yellow-700 text-white font-bold",dark:"bg-gray-900 hover:bg-black text-black font-bold",light:"bg-gray-200 hover:bg-gray-400 text-black font-bold",White:"bg-white hover:bg-gray-400 text-white font-bold"},b={black:"text-black divide-black",white:"text-white divide-white"},y=ct(m[r]),w=ct(b[a]);return M.jsx("div",{className:"justify-center items-center flex",children:M.jsxs("div",{className:"relative inline-block",children:[M.jsx("button",{ref:s,onClick:c,className:`text-white focus:ring-4 shadow-md space-x-3 justify-center items-center focus:outline-none font-medium rounded-lg text-sm px-5 py-2 text-center inline-flex dark:focus:ring-blue-800 ${y}`,children:M.jsxs("div",{className:`items-center justify-center space-y-2 ${o?`flex divide-x-2 space-x-2 ${w} `:`divide-y-2 ${w}`}`,children:[M.jsxs("div",{className:"flex items-center space-x-2",children:[M.jsx("span",{className:`flex items-center ${w} justify-center pt-2`,style:{display:n?"none":""},children:M.jsx(K8,{className:"h-5 w-5"})}),M.jsx("span",{className:`text-lg ${!o&&"text-center"} ${w} flex`,style:{display:t?"none":""},children:e})]}),M.jsxs("div",{className:"flex pl-1 pt-0 items-center justify-center",children:[" ",M.jsx("span",{className:`${w}`,children:M.jsx(f2,{className:"h-4 w-4 mt-0"})})]})]})}),i&&M.jsxs("div",{className:`absolute top-full mt-2 divide-y divide-gray-100 rounded-lg w-max-auto shadow dark:bg-gray-700 ${y} ${w}`,children:[M.jsx("button",{onClick:()=>u("Uppercase"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item1"}),M.jsx("button",{onClick:()=>u("Lowercase"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item2"}),M.jsx("button",{onClick:()=>u("Camel Case"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item3"}),M.jsx("button",{onClick:()=>u("Kebab Case"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item4"})]})]})})};var ue={},h2={},m2={exports:{}};/*!
|
|
54
|
+
${e?"rounded-full":"rounded"}`,style:{fontWeight:"normal"},...i,children:t})},R8=({variant:e,borderRadius:r=0,backgroundColor:t,colorFont:n,Header:a,paragraph:o,paragraph1:i,buttontext:l,buttontext1:s})=>{const[c,u]=H.useState(!1),m=()=>{u(!c)},b={success:"bg-green-500 hover:bg-green-700 text-white font-bold",primary:"bg-blue-500 hover:bg-blue-700 text-white font-bold",danger:"bg-red-500 hover:bg-red-700 text-white font-bold",warning:"bg-yellow-500 hover:bg-yellow-700 text-white font-bold",dark:"bg-gray-200 hover:bg-gray-700 text-gray-700 font-bold",light:"bg-gray-800 hover:bg-gray-400 text-white font-bold",White:"bg-white hover:bg-gray-400 text-gray-700 font-bold"},y={black:"text-black",white:"text-white"},w=ct(b[e]),g=ct(y[n]);return M.jsxs("div",{className:`max-w-md p-3 mx-auto mt-20 ${g}`,style:{backgroundColor:t,borderRadius:`${r}px`},children:[M.jsx("h1",{className:"py-2 font-bold text-xl",children:a}),M.jsxs("p",{className:"leading-relaxed md:text-lg text-sm text-justify",children:[o,c&&M.jsx("span",{id:"more-text ",children:i})]}),M.jsx("button",{onClick:m,className:`mt-4 ${w} p-2 focus:outline-none shadow-md ${c?"hidden":""}`,style:{borderRadius:`${r}px`},children:l}),M.jsx("button",{onClick:m,className:`mt-4 ${w} p-2 focus:outline-none shadow-md ${c?"":"hidden"}`,style:{borderRadius:`${r}px`},children:s})]})};var c2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},u2=H.createContext&&H.createContext(c2),y1=function(){return y1=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},y1.apply(this,arguments)},D8=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)r.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t};function d2(e){return e&&e.map(function(r,t){return H.createElement(r.tag,y1({key:t},r.attr),d2(r.child))})}function ze(e){return function(r){return H.createElement(I8,y1({attr:y1({},e.attr)},r),d2(e.child))}}function I8(e){var r=function(t){var n=e.attr,a=e.size,o=e.title,i=D8(e,["attr","size","title"]),l=a||t.size||"1em",s;return t.className&&(s=t.className),e.className&&(s=(s?s+" ":"")+e.className),H.createElement("svg",y1({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,i,{className:s,style:y1(y1({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&H.createElement("title",null,o),e.children)};return u2!==void 0?H.createElement(u2.Consumer,null,function(t){return r(t)}):r(c2)}function $8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(e)}function F8(e){return ze({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(e)}function W8(e){return ze({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}}]})(e)}function U8(e){return ze({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(e)}function G8(e){return ze({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-128H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"}}]})(e)}function f2(e){return ze({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}]})(e)}function B8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}}]})(e)}function q8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(e)}function Y8(e){return ze({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"}}]})(e)}function p2(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}}]})(e)}function K8(e){return ze({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"}}]})(e)}function v2(e){return ze({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(e)}const X8=({buttonText:e,variant:r,hideText:t,hideIcon:n,colorFont:a,display:o})=>{const[i,l]=H.useState(!1),s=H.useRef(null),c=()=>{l(!i)},u=g=>{console.log("Selected option:",g),l(!1)},m={success:"bg-green-500 hover:bg-green-700 text-white font-bold",primary:"bg-blue-500 hover:bg-blue-700 text-white font-bold",danger:"bg-red-500 hover:bg-red-700 text-white font-bold",warning:"bg-yellow-500 hover:bg-yellow-700 text-white font-bold",dark:"bg-gray-900 hover:bg-black text-black font-bold",light:"bg-gray-200 hover:bg-gray-400 text-black font-bold",White:"bg-white hover:bg-gray-400 text-white font-bold"},b={black:"text-black divide-black",white:"text-white divide-white"},y=ct(m[r]),w=ct(b[a]);return M.jsx("div",{className:"justify-center items-center flex",children:M.jsxs("div",{className:"relative inline-block",children:[M.jsx("button",{ref:s,onClick:c,className:`text-white focus:ring-4 shadow-md space-x-3 justify-center items-center focus:outline-none font-medium rounded-lg text-sm px-5 py-2 text-center inline-flex dark:focus:ring-blue-800 ${y}`,children:M.jsxs("div",{className:`items-center justify-center space-y-2 ${o?`flex divide-x-2 space-x-2 ${w} `:`divide-y-2 ${w}`}`,children:[M.jsxs("div",{className:"flex items-center space-x-2",children:[M.jsx("span",{className:`flex items-center ${w} justify-center pt-2`,style:{display:n?"none":""},children:M.jsx(K8,{className:"h-5 w-5"})}),M.jsx("span",{className:`text-lg ${!o&&"text-center"} ${w} flex`,style:{display:t?"none":""},children:e})]}),M.jsxs("div",{className:"flex pl-1 pt-0 items-center justify-center",children:[" ",M.jsx("span",{className:`${w}`,children:M.jsx(f2,{className:"h-4 w-4 mt-0"})})]})]})}),i&&M.jsxs("div",{className:`absolute top-full mt-2 divide-y divide-gray-100 rounded-lg w-max-auto shadow dark:bg-gray-700 ${y} ${w}`,children:[M.jsx("button",{onClick:()=>u("Uppercase"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item1"}),M.jsx("button",{onClick:()=>u("Lowercase"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item2"}),M.jsx("button",{onClick:()=>u("Camel Case"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item3"}),M.jsx("button",{onClick:()=>u("Kebab Case"),className:`py-2 p-4 text-sm text-gray-700 hover:bg-gray-500 dark:text-gray-200 w-full text-left ${w}`,children:"Item4"})]})]})})};var ue={},h2={},m2={exports:{}};/*!
|
|
55
55
|
Copyright (c) 2018 Jed Watson.
|
|
56
56
|
Licensed under the MIT License (MIT), see
|
|
57
57
|
http://jedwatson.github.io/classnames
|