design-system-silkhaus 0.0.77 → 0.0.80
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/README.md +12 -1
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +39 -0
- package/dist/index.js +1023 -968
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,15 @@ This is a starter template for creating React component libraries using Vite. It
|
|
|
22
22
|
3. To see storybook locally use `npm run dev` (or `pnpm dev` if you like)
|
|
23
23
|
4. To see storybook locally use `npm run dev` (or `pnpm dev` if you like)
|
|
24
24
|
|
|
25
|
+
## Development
|
|
26
|
+
|
|
27
|
+
1. Create package for the component
|
|
28
|
+
2. index.ts file to be created inside package to export the component
|
|
29
|
+
3. component.tsx file with the actual code for the component
|
|
30
|
+
4. component.stories.tsx file for the story book
|
|
31
|
+
5. [OPTIONAL] style.css can be used inside the package
|
|
32
|
+
6. [IMP] Export the component in the top level lib/index.tsx file to publish it in NPM
|
|
33
|
+
|
|
25
34
|
## Scripts
|
|
26
35
|
|
|
27
36
|
- `dev`: Starts the local Storybook server, use this to develop and preview your components.
|
|
@@ -34,8 +43,10 @@ This is a starter template for creating React component libraries using Vite. It
|
|
|
34
43
|
- `lint`: Runs ESLint.
|
|
35
44
|
- `format`: Formats your code with Prettier.
|
|
36
45
|
|
|
37
|
-
##
|
|
46
|
+
## Publish
|
|
38
47
|
|
|
48
|
+
Check the version is updated
|
|
49
|
+
`npm run build:lib` - Build the lib
|
|
39
50
|
`npm publish --access=public` - To publish lib
|
|
40
51
|
|
|
41
52
|
## License
|
package/dist/index.cjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var hr=Object.defineProperty,xr=Object.defineProperties;var vr=Object.getOwnPropertyDescriptors;var Ce=Object.getOwnPropertySymbols;var st=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable;var rt=(e,s,r)=>s in e?hr(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r,F=(e,s)=>{for(var r in s||(s={}))st.call(s,r)&&rt(e,r,s[r]);if(Ce)for(var r of Ce(s))at.call(s,r)&&rt(e,r,s[r]);return e},_e=(e,s)=>xr(e,vr(s));var O=(e,s)=>{var r={};for(var a in e)st.call(e,a)&&s.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&Ce)for(var a of Ce(e))s.indexOf(a)<0&&at.call(e,a)&&(r[a]=e[a]);return r};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react");function yr(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(s,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return s.default=e,Object.freeze(s)}const Q=yr(R);var Oe={exports:{}},ce={};/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react-jsx-runtime.
|
|
3
|
+
* react-jsx-runtime.development.js
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var nt;function wr(){return nt||(nt=1,process.env.NODE_ENV!=="production"&&function(){var e=R,s=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),B=Symbol.iterator,T="@@iterator";function M(t){if(t===null||typeof t!="object")return null;var i=B&&t[B]||t[T];return typeof i=="function"?i:null}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(t){{for(var i=arguments.length,f=new Array(i>1?i-1:0),m=1;m<i;m++)f[m-1]=arguments[m];ge("error",t,f)}}function ge(t,i,f){{var m=z.ReactDebugCurrentFrame,j=m.getStackAddendum();j!==""&&(i+="%s",f=f.concat([j]));var _=f.map(function(y){return String(y)});_.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,_)}}var ae=!1,me=!1,be=!1,he=!1,xe=!1,Z;Z=Symbol.for("react.module.reference");function ne(t){return!!(typeof t=="string"||typeof t=="function"||t===a||t===d||xe||t===o||t===p||t===g||he||t===P||ae||me||be||typeof t=="object"&&t!==null&&(t.$$typeof===k||t.$$typeof===b||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===Z||t.getModuleId!==void 0))}function oe(t,i,f){var m=t.displayName;if(m)return m;var j=i.displayName||i.name||"";return j!==""?f+"("+j+")":f}function C(t){return t.displayName||"Context"}function D(t){if(t==null)return null;if(typeof t.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case a:return"Fragment";case r:return"Portal";case d:return"Profiler";case o:return"StrictMode";case p:return"Suspense";case g:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case c:var i=t;return C(i)+".Consumer";case l:var f=t;return C(f._context)+".Provider";case u:return oe(t,t.render,"ForwardRef");case b:var m=t.displayName||null;return m!==null?m:D(t.type)||"Memo";case k:{var j=t,_=j._payload,y=j._init;try{return D(y(_))}catch(x){return null}}}return null}var $=Object.assign,q=0,J,de,ee,G,le,Y,X;function Le(){}Le.__reactDisabledLog=!0;function Yt(){{if(q===0){J=console.log,de=console.info,ee=console.warn,G=console.error,le=console.group,Y=console.groupCollapsed,X=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}q++}}function Ut(){{if(q--,q===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},t,{value:J}),info:$({},t,{value:de}),warn:$({},t,{value:ee}),error:$({},t,{value:G}),group:$({},t,{value:le}),groupCollapsed:$({},t,{value:Y}),groupEnd:$({},t,{value:X})})}q<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=z.ReactCurrentDispatcher,Ne;function ve(t,i,f){{if(Ne===void 0)try{throw Error()}catch(j){var m=j.stack.trim().match(/\n( *(at )?)/);Ne=m&&m[1]||""}return`
|
|
10
|
+
`+Ne+t}}var Pe=!1,ye;{var Ht=typeof WeakMap=="function"?WeakMap:Map;ye=new Ht}function Ve(t,i){if(!t||Pe)return"";{var f=ye.get(t);if(f!==void 0)return f}var m;Pe=!0;var j=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _;_=Te.current,Te.current=null,Yt();try{if(i){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(V){m=V}Reflect.construct(t,[],y)}else{try{y.call()}catch(V){m=V}t.call(y.prototype)}}else{try{throw Error()}catch(V){m=V}t()}}catch(V){if(V&&m&&typeof V.stack=="string"){for(var x=V.stack.split(`
|
|
11
|
+
`),I=m.stack.split(`
|
|
12
|
+
`),N=x.length-1,A=I.length-1;N>=1&&A>=0&&x[N]!==I[A];)A--;for(;N>=1&&A>=0;N--,A--)if(x[N]!==I[A]){if(N!==1||A!==1)do if(N--,A--,A<0||x[N]!==I[A]){var L=`
|
|
13
|
+
`+x[N].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),typeof t=="function"&&ye.set(t,L),L}while(N>=1&&A>=0);break}}}finally{Pe=!1,Te.current=_,Ut(),Error.prepareStackTrace=j}var re=t?t.displayName||t.name:"",tt=re?ve(re):"";return typeof t=="function"&&ye.set(t,tt),tt}function Jt(t,i,f){return Ve(t,!1)}function Xt(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function we(t,i,f){if(t==null)return"";if(typeof t=="function")return Ve(t,Xt(t));if(typeof t=="string")return ve(t);switch(t){case p:return ve("Suspense");case g:return ve("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case u:return Jt(t.render);case b:return we(t.type,i,f);case k:{var m=t,j=m._payload,_=m._init;try{return we(_(j),i,f)}catch(y){}}}return""}var je=Object.prototype.hasOwnProperty,We={},qe=z.ReactDebugCurrentFrame;function ke(t){if(t){var i=t._owner,f=we(t.type,t._source,i?i.type:null);qe.setExtraStackFrame(f)}else qe.setExtraStackFrame(null)}function Kt(t,i,f,m,j){{var _=Function.call.bind(je);for(var y in t)if(_(t,y)){var x=void 0;try{if(typeof t[y]!="function"){var I=Error((m||"React class")+": "+f+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw I.name="Invariant Violation",I}x=t[y](i,y,m,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){x=N}x&&!(x instanceof Error)&&(ke(j),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",f,y,typeof x),ke(null)),x instanceof Error&&!(x.message in We)&&(We[x.message]=!0,ke(j),E("Failed %s type: %s",f,x.message),ke(null))}}}var Qt=Array.isArray;function Ae(t){return Qt(t)}function Zt(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,f=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return f}}function er(t){try{return Ge(t),!1}catch(i){return!0}}function Ge(t){return""+t}function Ye(t){if(er(t))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zt(t)),Ge(t)}var ie=z.ReactCurrentOwner,tr={key:!0,ref:!0,__self:!0,__source:!0},Ue,He,Me;Me={};function rr(t){if(je.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function sr(t){if(je.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function ar(t,i){if(typeof t.ref=="string"&&ie.current&&i&&ie.current.stateNode!==i){var f=D(ie.current.type);Me[f]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D(ie.current.type),t.ref),Me[f]=!0)}}function nr(t,i){{var f=function(){Ue||(Ue=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};f.isReactWarning=!0,Object.defineProperty(t,"key",{get:f,configurable:!0})}}function or(t,i){{var f=function(){He||(He=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};f.isReactWarning=!0,Object.defineProperty(t,"ref",{get:f,configurable:!0})}}var dr=function(t,i,f,m,j,_,y){var x={$$typeof:s,type:t,key:i,ref:f,props:y,_owner:_};return x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(x,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(x,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x};function lr(t,i,f,m,j){{var _,y={},x=null,I=null;f!==void 0&&(Ye(f),x=""+f),sr(i)&&(Ye(i.key),x=""+i.key),rr(i)&&(I=i.ref,ar(i,j));for(_ in i)je.call(i,_)&&!tr.hasOwnProperty(_)&&(y[_]=i[_]);if(t&&t.defaultProps){var N=t.defaultProps;for(_ in N)y[_]===void 0&&(y[_]=N[_])}if(x||I){var A=typeof t=="function"?t.displayName||t.name||"Unknown":t;x&&nr(y,A),I&&or(y,A)}return dr(t,x,I,j,m,ie.current,y)}}var ze=z.ReactCurrentOwner,Je=z.ReactDebugCurrentFrame;function te(t){if(t){var i=t._owner,f=we(t.type,t._source,i?i.type:null);Je.setExtraStackFrame(f)}else Je.setExtraStackFrame(null)}var Fe;Fe=!1;function Ie(t){return typeof t=="object"&&t!==null&&t.$$typeof===s}function Xe(){{if(ze.current){var t=D(ze.current.type);if(t)return`
|
|
14
|
+
|
|
15
|
+
Check the render method of \``+t+"`."}return""}}function ir(t){{if(t!==void 0){var i=t.fileName.replace(/^.*[\\\/]/,""),f=t.lineNumber;return`
|
|
16
|
+
|
|
17
|
+
Check your code at `+i+":"+f+"."}return""}}var Ke={};function cr(t){{var i=Xe();if(!i){var f=typeof t=="string"?t:t.displayName||t.name;f&&(i=`
|
|
18
|
+
|
|
19
|
+
Check the top-level render call using <`+f+">.")}return i}}function Qe(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var f=cr(i);if(Ke[f])return;Ke[f]=!0;var m="";t&&t._owner&&t._owner!==ze.current&&(m=" It was passed a child from "+D(t._owner.type)+"."),te(t),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',f,m),te(null)}}function Ze(t,i){{if(typeof t!="object")return;if(Ae(t))for(var f=0;f<t.length;f++){var m=t[f];Ie(m)&&Qe(m,i)}else if(Ie(t))t._store&&(t._store.validated=!0);else if(t){var j=M(t);if(typeof j=="function"&&j!==t.entries)for(var _=j.call(t),y;!(y=_.next()).done;)Ie(y.value)&&Qe(y.value,i)}}}function ur(t){{var i=t.type;if(i==null||typeof i=="string")return;var f;if(typeof i=="function")f=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===u||i.$$typeof===b))f=i.propTypes;else return;if(f){var m=D(i);Kt(f,t.props,"prop",m,t)}else if(i.PropTypes!==void 0&&!Fe){Fe=!0;var j=D(i);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fr(t){{for(var i=Object.keys(t.props),f=0;f<i.length;f++){var m=i[f];if(m!=="children"&&m!=="key"){te(t),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),te(null);break}}t.ref!==null&&(te(t),E("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}}function et(t,i,f,m,j,_){{var y=ne(t);if(!y){var x="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(x+=" 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 I=ir(j);I?x+=I:x+=Xe();var N;t===null?N="null":Ae(t)?N="array":t!==void 0&&t.$$typeof===s?(N="<"+(D(t.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):N=typeof t,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,x)}var A=lr(t,i,f,j,_);if(A==null)return A;if(y){var L=i.children;if(L!==void 0)if(m)if(Ae(L)){for(var re=0;re<L.length;re++)Ze(L[re],t);Object.freeze&&Object.freeze(L)}else E("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 Ze(L,t)}return t===a?fr(A):ur(A),A}}function pr(t,i,f){return et(t,i,f,!0)}function gr(t,i,f){return et(t,i,f,!1)}var mr=gr,br=pr;ce.Fragment=a,ce.jsx=mr,ce.jsxs=br}()),ce}var ue={};/**
|
|
10
20
|
* @license React
|
|
11
|
-
* react-jsx-runtime.
|
|
21
|
+
* react-jsx-runtime.production.min.js
|
|
12
22
|
*
|
|
13
23
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
24
|
*
|
|
15
25
|
* This source code is licensed under the MIT license found in the
|
|
16
26
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var or;function xt(){return or||(or=1,process.env.NODE_ENV!=="production"&&function(){var e=S,s=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),z=Symbol.iterator,T="@@iterator";function F(r){if(r===null||typeof r!="object")return null;var d=z&&r[z]||r[T];return typeof d=="function"?d:null}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(r){{for(var d=arguments.length,u=new Array(d>1?d-1:0),m=1;m<d;m++)u[m-1]=arguments[m];ge("error",r,u)}}function ge(r,d,u){{var m=I.ReactDebugCurrentFrame,j=m.getStackAddendum();j!==""&&(d+="%s",u=u.concat([j]));var E=u.map(function(v){return String(v)});E.unshift("Warning: "+d),Function.prototype.apply.call(console[r],console,E)}}var ae=!1,me=!1,be=!1,he=!1,xe=!1,Z;Z=Symbol.for("react.module.reference");function ne(r){return!!(typeof r=="string"||typeof r=="function"||r===a||r===o||xe||r===n||r===p||r===g||he||r===P||ae||me||be||typeof r=="object"&&r!==null&&(r.$$typeof===k||r.$$typeof===b||r.$$typeof===i||r.$$typeof===c||r.$$typeof===f||r.$$typeof===Z||r.getModuleId!==void 0))}function oe(r,d,u){var m=r.displayName;if(m)return m;var j=d.displayName||d.name||"";return j!==""?u+"("+j+")":u}function R(r){return r.displayName||"Context"}function B(r){if(r==null)return null;if(typeof r.tag=="number"&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case a:return"Fragment";case t:return"Portal";case o:return"Profiler";case n:return"StrictMode";case p:return"Suspense";case g:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case c:var d=r;return R(d)+".Consumer";case i:var u=r;return R(u._context)+".Provider";case f:return oe(r,r.render,"ForwardRef");case b:var m=r.displayName||null;return m!==null?m:B(r.type)||"Memo";case k:{var j=r,E=j._payload,v=j._init;try{return B(v(E))}catch(x){return null}}}return null}var D=Object.assign,q=0,J,de,ee,G,le,Y,X;function Le(){}Le.__reactDisabledLog=!0;function Vr(){{if(q===0){J=console.log,de=console.info,ee=console.warn,G=console.error,le=console.group,Y=console.groupCollapsed,X=console.groupEnd;var r={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}q++}}function Wr(){{if(q--,q===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},r,{value:J}),info:D({},r,{value:de}),warn:D({},r,{value:ee}),error:D({},r,{value:G}),group:D({},r,{value:le}),groupCollapsed:D({},r,{value:Y}),groupEnd:D({},r,{value:X})})}q<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Se=I.ReactCurrentDispatcher,Te;function ye(r,d,u){{if(Te===void 0)try{throw Error()}catch(j){var m=j.stack.trim().match(/\n( *(at )?)/);Te=m&&m[1]||""}return`
|
|
18
|
-
|
|
19
|
-
`),O=m.stack.split(`
|
|
20
|
-
`),N=x.length-1,A=O.length-1;N>=1&&A>=0&&x[N]!==O[A];)A--;for(;N>=1&&A>=0;N--,A--)if(x[N]!==O[A]){if(N!==1||A!==1)do if(N--,A--,A<0||x[N]!==O[A]){var $=`
|
|
21
|
-
`+x[N].replace(" at new "," at ");return r.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",r.displayName)),typeof r=="function"&&ve.set(r,$),$}while(N>=1&&A>=0);break}}}finally{Ne=!1,Se.current=E,Wr(),Error.prepareStackTrace=j}var te=r?r.displayName||r.name:"",rr=te?ye(te):"";return typeof r=="function"&&ve.set(r,rr),rr}function Gr(r,d,u){return Ve(r,!1)}function Yr(r){var d=r.prototype;return!!(d&&d.isReactComponent)}function we(r,d,u){if(r==null)return"";if(typeof r=="function")return Ve(r,Yr(r));if(typeof r=="string")return ye(r);switch(r){case p:return ye("Suspense");case g:return ye("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case f:return Gr(r.render);case b:return we(r.type,d,u);case k:{var m=r,j=m._payload,E=m._init;try{return we(E(j),d,u)}catch(v){}}}return""}var je=Object.prototype.hasOwnProperty,We={},qe=I.ReactDebugCurrentFrame;function ke(r){if(r){var d=r._owner,u=we(r.type,r._source,d?d.type:null);qe.setExtraStackFrame(u)}else qe.setExtraStackFrame(null)}function Ur(r,d,u,m,j){{var E=Function.call.bind(je);for(var v in r)if(E(r,v)){var x=void 0;try{if(typeof r[v]!="function"){var O=Error((m||"React class")+": "+u+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}x=r[v](d,v,m,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){x=N}x&&!(x instanceof Error)&&(ke(j),_("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",u,v,typeof x),ke(null)),x instanceof Error&&!(x.message in We)&&(We[x.message]=!0,ke(j),_("Failed %s type: %s",u,x.message),ke(null))}}}var Hr=Array.isArray;function Pe(r){return Hr(r)}function Jr(r){{var d=typeof Symbol=="function"&&Symbol.toStringTag,u=d&&r[Symbol.toStringTag]||r.constructor.name||"Object";return u}}function Xr(r){try{return Ge(r),!1}catch(d){return!0}}function Ge(r){return""+r}function Ye(r){if(Xr(r))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jr(r)),Ge(r)}var ie=I.ReactCurrentOwner,Kr={key:!0,ref:!0,__self:!0,__source:!0},Ue,He,Ae;Ae={};function Qr(r){if(je.call(r,"ref")){var d=Object.getOwnPropertyDescriptor(r,"ref").get;if(d&&d.isReactWarning)return!1}return r.ref!==void 0}function Zr(r){if(je.call(r,"key")){var d=Object.getOwnPropertyDescriptor(r,"key").get;if(d&&d.isReactWarning)return!1}return r.key!==void 0}function et(r,d){if(typeof r.ref=="string"&&ie.current&&d&&ie.current.stateNode!==d){var u=B(ie.current.type);Ae[u]||(_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',B(ie.current.type),r.ref),Ae[u]=!0)}}function rt(r,d){{var u=function(){Ue||(Ue=!0,_("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};u.isReactWarning=!0,Object.defineProperty(r,"key",{get:u,configurable:!0})}}function tt(r,d){{var u=function(){He||(He=!0,_("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",d))};u.isReactWarning=!0,Object.defineProperty(r,"ref",{get:u,configurable:!0})}}var st=function(r,d,u,m,j,E,v){var x={$$typeof:s,type:r,key:d,ref:u,props:v,_owner:E};return x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(x,"_self",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.defineProperty(x,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x};function at(r,d,u,m,j){{var E,v={},x=null,O=null;u!==void 0&&(Ye(u),x=""+u),Zr(d)&&(Ye(d.key),x=""+d.key),Qr(d)&&(O=d.ref,et(d,j));for(E in d)je.call(d,E)&&!Kr.hasOwnProperty(E)&&(v[E]=d[E]);if(r&&r.defaultProps){var N=r.defaultProps;for(E in N)v[E]===void 0&&(v[E]=N[E])}if(x||O){var A=typeof r=="function"?r.displayName||r.name||"Unknown":r;x&&rt(v,A),O&&tt(v,A)}return st(r,x,O,j,m,ie.current,v)}}var Fe=I.ReactCurrentOwner,Je=I.ReactDebugCurrentFrame;function re(r){if(r){var d=r._owner,u=we(r.type,r._source,d?d.type:null);Je.setExtraStackFrame(u)}else Je.setExtraStackFrame(null)}var Ie;Ie=!1;function Me(r){return typeof r=="object"&&r!==null&&r.$$typeof===s}function Xe(){{if(Fe.current){var r=B(Fe.current.type);if(r)return`
|
|
22
|
-
|
|
23
|
-
Check the render method of \``+r+"`."}return""}}function nt(r){{if(r!==void 0){var d=r.fileName.replace(/^.*[\\\/]/,""),u=r.lineNumber;return`
|
|
24
|
-
|
|
25
|
-
Check your code at `+d+":"+u+"."}return""}}var Ke={};function ot(r){{var d=Xe();if(!d){var u=typeof r=="string"?r:r.displayName||r.name;u&&(d=`
|
|
26
|
-
|
|
27
|
-
Check the top-level render call using <`+u+">.")}return d}}function Qe(r,d){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var u=ot(d);if(Ke[u])return;Ke[u]=!0;var m="";r&&r._owner&&r._owner!==Fe.current&&(m=" It was passed a child from "+B(r._owner.type)+"."),re(r),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,m),re(null)}}function Ze(r,d){{if(typeof r!="object")return;if(Pe(r))for(var u=0;u<r.length;u++){var m=r[u];Me(m)&&Qe(m,d)}else if(Me(r))r._store&&(r._store.validated=!0);else if(r){var j=F(r);if(typeof j=="function"&&j!==r.entries)for(var E=j.call(r),v;!(v=E.next()).done;)Me(v.value)&&Qe(v.value,d)}}}function dt(r){{var d=r.type;if(d==null||typeof d=="string")return;var u;if(typeof d=="function")u=d.propTypes;else if(typeof d=="object"&&(d.$$typeof===f||d.$$typeof===b))u=d.propTypes;else return;if(u){var m=B(d);Ur(u,r.props,"prop",m,r)}else if(d.PropTypes!==void 0&&!Ie){Ie=!0;var j=B(d);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",j||"Unknown")}typeof d.getDefaultProps=="function"&&!d.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lt(r){{for(var d=Object.keys(r.props),u=0;u<d.length;u++){var m=d[u];if(m!=="children"&&m!=="key"){re(r),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),re(null);break}}r.ref!==null&&(re(r),_("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}function er(r,d,u,m,j,E){{var v=ne(r);if(!v){var x="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(x+=" 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 O=nt(j);O?x+=O:x+=Xe();var N;r===null?N="null":Pe(r)?N="array":r!==void 0&&r.$$typeof===s?(N="<"+(B(r.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):N=typeof r,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,x)}var A=at(r,d,u,j,E);if(A==null)return A;if(v){var $=d.children;if($!==void 0)if(m)if(Pe($)){for(var te=0;te<$.length;te++)Ze($[te],r);Object.freeze&&Object.freeze($)}else _("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 Ze($,r)}return r===a?lt(A):dt(A),A}}function it(r,d,u){return er(r,d,u,!0)}function ct(r,d,u){return er(r,d,u,!1)}var ut=ct,ft=it;ue.Fragment=a,ue.jsx=ut,ue.jsxs=ft}()),ue}process.env.NODE_ENV==="production"?ze.exports=ht():ze.exports=xt();var l=ze.exports;function xr(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(s=0;s<n;s++)e[s]&&(t=xr(e[s]))&&(a&&(a+=" "),a+=t)}else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}function y(){for(var e,s,t=0,a="",n=arguments.length;t<n;t++)(e=arguments[t])&&(s=xr(e))&&(a&&(a+=" "),a+=s);return a}const De="-";function yt(e){const s=wt(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;function n(i){const c=i.split(De);return c[0]===""&&c.length!==1&&c.shift(),yr(c,s)||vt(i)}function o(i,c){const f=t[i]||[];return c&&a[i]?[...f,...a[i]]:f}return{getClassGroupId:n,getConflictingClassGroupIds:o}}function yr(e,s){var i;if(e.length===0)return s.classGroupId;const t=e[0],a=s.nextPart.get(t),n=a?yr(e.slice(1),a):void 0;if(n)return n;if(s.validators.length===0)return;const o=e.join(De);return(i=s.validators.find(({validator:c})=>c(o)))==null?void 0:i.classGroupId}const dr=/^\[(.+)\]$/;function vt(e){if(dr.test(e)){const s=dr.exec(e)[1],t=s==null?void 0:s.substring(0,s.indexOf(":"));if(t)return"arbitrary.."+t}}function wt(e){const{theme:s,prefix:t}=e,a={nextPart:new Map,validators:[]};return kt(Object.entries(e.classGroups),t).forEach(([o,i])=>{Be(i,a,o,s)}),a}function Be(e,s,t,a){e.forEach(n=>{if(typeof n=="string"){const o=n===""?s:lr(s,n);o.classGroupId=t;return}if(typeof n=="function"){if(jt(n)){Be(n(a),s,t,a);return}s.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([o,i])=>{Be(i,lr(s,o),t,a)})})}function lr(e,s){let t=e;return s.split(De).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t}function jt(e){return e.isThemeGetter}function kt(e,s){return s?e.map(([t,a])=>{const n=a.map(o=>typeof o=="string"?s+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,c])=>[s+i,c])):o);return[t,n]}):e}function Rt(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,t=new Map,a=new Map;function n(o,i){t.set(o,i),s++,s>e&&(s=0,a=t,t=new Map)}return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){t.has(o)?t.set(o,i):n(o,i)}}}const vr="!";function Et(e){const s=e.separator,t=s.length===1,a=s[0],n=s.length;return function(i){const c=[];let f=0,p=0,g;for(let T=0;T<i.length;T++){let F=i[T];if(f===0){if(F===a&&(t||i.slice(T,T+n)===s)){c.push(i.slice(p,T)),p=T+n;continue}if(F==="/"){g=T;continue}}F==="["?f++:F==="]"&&f--}const b=c.length===0?i:i.substring(p),k=b.startsWith(vr),P=k?b.substring(1):b,z=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:z}}}function _t(e){if(e.length<=1)return e;const s=[];let t=[];return e.forEach(a=>{a[0]==="["?(s.push(...t.sort(),a),t=[]):t.push(a)}),s.push(...t.sort()),s}function Ct(e){return M({cache:Rt(e.cacheSize),splitModifiers:Et(e)},yt(e))}const St=/\s+/;function Tt(e,s){const{splitModifiers:t,getClassGroupId:a,getConflictingClassGroupIds:n}=s,o=new Set;return e.trim().split(St).map(i=>{const{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:g}=t(i);let b=a(g?p.substring(0,g):p),k=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:i};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:i};k=!1}const P=_t(c).join(":");return{isTailwindClass:!0,modifierId:f?P+vr:P,classGroupId:b,originalClassName:i,hasPostfixModifier:k}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:c,classGroupId:f,hasPostfixModifier:p}=i,g=c+f;return o.has(g)?!1:(o.add(g),n(f,p).forEach(b=>o.add(c+b)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function Nt(){let e=0,s,t,a="";for(;e<arguments.length;)(s=arguments[e++])&&(t=wr(s))&&(a&&(a+=" "),a+=t);return a}function wr(e){if(typeof e=="string")return e;let s,t="";for(let a=0;a<e.length;a++)e[a]&&(s=wr(e[a]))&&(t&&(t+=" "),t+=s);return t}function Pt(e,...s){let t,a,n,o=i;function i(f){const p=s.reduce((g,b)=>b(g),e());return t=Ct(p),a=t.cache.get,n=t.cache.set,o=c,c(f)}function c(f){const p=a(f);if(p)return p;const g=Tt(f,t);return n(f,g),g}return function(){return o(Nt.apply(null,arguments))}}function C(e){const s=t=>t[e]||[];return s.isThemeGetter=!0,s}const jr=/^\[(?:([a-z-]+):)?(.+)\]$/i,At=/^\d+\/\d+$/,Ft=new Set(["px","full","screen"]),It=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mt=/\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$/,Ot=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(e){return K(e)||Ft.has(e)||At.test(e)}function U(e){return se(e,"length",Yt)}function K(e){return!!e&&!Number.isNaN(Number(e))}function Ee(e){return se(e,"number",K)}function fe(e){return!!e&&Number.isInteger(Number(e))}function Dt(e){return e.endsWith("%")&&K(e.slice(0,-1))}function h(e){return jr.test(e)}function H(e){return It.test(e)}const $t=new Set(["length","size","percentage"]);function Lt(e){return se(e,$t,kr)}function Vt(e){return se(e,"position",kr)}const Wt=new Set(["image","url"]);function qt(e){return se(e,Wt,Ht)}function Gt(e){return se(e,"",Ut)}function pe(){return!0}function se(e,s,t){const a=jr.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):t(a[2]):!1}function Yt(e){return Mt.test(e)&&!Ot.test(e)}function kr(){return!1}function Ut(e){return zt.test(e)}function Ht(e){return Bt.test(e)}function Jt(){const e=C("colors"),s=C("spacing"),t=C("blur"),a=C("brightness"),n=C("borderColor"),o=C("borderRadius"),i=C("borderSpacing"),c=C("borderWidth"),f=C("contrast"),p=C("grayscale"),g=C("hueRotate"),b=C("invert"),k=C("gap"),P=C("gradientColorStops"),z=C("gradientColorStopPositions"),T=C("inset"),F=C("margin"),I=C("opacity"),_=C("padding"),ge=C("saturate"),ae=C("scale"),me=C("sepia"),be=C("skew"),he=C("space"),xe=C("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],R=()=>[h,s],B=()=>["",W,U],D=()=>["auto",K,h],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],de=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],ee=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",h],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[K,Ee],X=()=>[K,h];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[W,U],blur:["none","",H,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",H,h],borderSpacing:R(),borderWidth:B(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[Dt,U],inset:oe(),margin:oe(),opacity:Y(),padding:R(),saturate:Y(),scale:Y(),sepia:G(),skew:X(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"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:[...q(),h]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,h]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",fe,h]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,h]},h]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,h]},h]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[F]}],mx:[{mx:[F]}],my:[{my:[F]}],ms:[{ms:[F]}],me:[{me:[F]}],mt:[{mt:[F]}],mr:[{mr:[F]}],mb:[{mb:[F]}],ml:[{ml:[F]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,s]}],"min-w":[{"min-w":[h,s,"min","max","fit"]}],"max-w":[{"max-w":[h,s,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[h,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,s,"auto","min","max","fit"]}],"font-size":[{text:["base",H,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ee]}],"font-family":[{font:[pe]}],"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",h]}],"line-clamp":[{"line-clamp":["none",K,Ee]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,U]}],"underline-offset":[{"underline-offset":["auto",W,h]}],"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:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],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",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),Vt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[W,h]}],"outline-w":[{outline:[W,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[W,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Gt]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":de()}],"bg-blend":[{"bg-blend":de()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",H,h]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"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",h]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ae]}],"scale-x":[{"scale-x":[ae]}],"scale-y":[{"scale-y":[ae]}],rotate:[{rotate:[fe,h]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],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",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,U,Ee]}],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 w=Pt(Jt),ir={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-space075 ds-px-space400",large:"ds-py-space150 ds-px-space400"},_e=S.forwardRef((i,o)=>{var c=i,{color:e="primary",size:s="small",disabled:t=!1,className:a}=c,n=L(c,["color","size","disabled","className"]);return l.jsx("button",M({ref:o,disabled:t,className:w(y(ir[e],ir[s],a,""))},n))});_e.displayName="Button";const Ce=S.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return l.jsx("span",{className:a,ref:s,children:"*"})});Ce.displayName="Asteric";const cr="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%23FF453A'/%3e%3cpath%20d='M4.452%207.978h1.821a.316.316%200%201%200%200-.631h-.555V5.069c0-.242-.12-.403-.349-.403h-.841a.316.316%200%201%200%200%20.631h.479v2.05h-.555a.316.316%200%201%200%200%20.631zm.743-4.055c.326%200%20.582-.26.582-.587a.582.582%200%201%200-1.164%200c0%20.327.26.587.582.587z'%20fill='%23FF453A'/%3e%3c/svg%3e",ur="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%2328CD41'/%3e%3cpath%20d='M5.242%207.713a.42.42%200%200%200%20.363-.21L7.65%204.283c.05-.09.108-.188.108-.286%200-.202-.18-.332-.367-.332-.112%200-.224.072-.31.202l-1.857%202.98-.881-1.14c-.108-.144-.206-.18-.332-.18a.347.347%200%200%200-.344.354c0%20.099.04.193.103.278l1.092%201.342c.112.148.233.21.38.21z'%20fill='%2328CD41'/%3e%3c/svg%3e",fr={primary:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none disabled:ds-text-Text-secondary disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",primaryRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",success:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",error:"ds-bg-System-red ds-bg-opacity-[0.1] ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",errorRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",disabled:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-secondary ds_MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-placeholder-Fills-quadrutery active:ds-border-Fills-quintiary focus:ds-border-Fills-quintiary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]"},pr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},gr={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-flex ds-flex-row ds-items-center ds-justify-start ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},Rr=S.forwardRef((k,b)=>{var P=k,{color:e="primary",disabled:s=!1,textarea:t=!1,label:a,required:n=!1,caption:o,labelClass:i,InputDivClass:c,captionClass:f,className:p}=P,g=L(P,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return t?l.jsx(l.Fragment,{children:l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",i,pr[e]),children:[a," ",n&&l.jsx(Ce,{})]}),l.jsx("textarea",M({disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),o]})]})}):l.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&l.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",i,pr[e]),children:[a," ",n&&l.jsx(Ce,{})]}),l.jsx("input",M({ref:b,disabled:s,className:w(y(fr[e],p))},g)),o&&l.jsxs("caption",{className:w(y("ds-text-mediumFootnoteRegular ds-tablet:ds-text-mediumCaption1Regular ds-font-normal ds-mt-space075",gr[e]),f),children:[e==="error"&&l.jsx("img",{src:cr,alt:"error",className:w(y("ds-me-1"))}),e==="success"&&l.jsx("img",{src:ur,alt:"success",className:w(y("ds-me-1"))}),o]})]})});Rr.displayName="Input";function Er(e){var s,t,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(s=0;s<e.length;s++)e[s]&&(t=Er(e[s]))&&(a&&(a+=" "),a+=t);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function Xt(){for(var e,s,t=0,a="";t<arguments.length;)(e=arguments[t++])&&(s=Er(e))&&(a&&(a+=" "),a+=s);return a}const mr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,br=Xt,_r=(e,s)=>t=>{var a;if((s==null?void 0:s.variants)==null)return br(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:n,defaultVariants:o}=s,i=Object.keys(n).map(p=>{const g=t==null?void 0:t[p],b=o==null?void 0:o[p];if(g===null)return null;const k=mr(g)||mr(b);return n[p][k]}),c=t&&Object.entries(t).reduce((p,g)=>{let[b,k]=g;return k===void 0||(p[b]=k),p},{}),f=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let z=g,{class:b,className:k}=z,P=L(z,["class","className"]);return Object.entries(P).every(T=>{let[F,I]=T;return Array.isArray(I)?I.includes(M(M({},o),c)[F]):M(M({},o),c)[F]===I})?[...p,b,k]:p},[]);return br(e,i,f,t==null?void 0:t.class,t==null?void 0:t.className)},Kt=_r("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Cr=Q.forwardRef((n,a)=>{var o=n,{className:e,cardType:s}=o,t=L(o,["className","cardType"]);return l.jsx("div",M({ref:a,className:w(y(Kt({cardType:s,className:e}),"ds-rounded"),e)},t))});Cr.displayName="Card";const Sr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});Sr.displayName="CardHeader";const Tr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-medium",e))},s))});Tr.displayName="Title";const Nr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-font-regular",e))},s))});Nr.displayName="Description";const Pr=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300 ",e))},s))});Pr.displayName="Content";const Ar=Q.forwardRef((a,t)=>{var n=a,{className:e}=n,s=L(n,["className"]);return l.jsx("div",M({ref:t,className:w(y("ds-pb-space300 ds-px-space300",e))},s))});Ar.displayName="Footer";const Qt=_r("ds-grid ds-zero:ds-grid-cols-4 ds-gap-x-8 ds-mobile:ds-grid-cols-4 ds-tablet:ds-grid-cols-6 ds-desktop:ds-grid-cols-12 ds-wide_desktop:ds-grid-cols-12 ds-w-full",{variants:{display:{grid:"ds-grid",inlineGrid:"ds-inline-grid"},gap:{gap0:"ds-gap0",gap100:"ds-gap-100",gap150:"ds-gap-150",gap200:"ds-gap-200",gap300:"ds-gap-300",gap400:"ds-gap-400",gap600:"ds-gap-600",gap800:"ds-gap-800",gap1000:"ds-gap-1000",gap1200:"ds-gap-1200",gap1600:"ds-gap-1600",gap2000:"ds-gap-2000"},gapX:{gap0:"ds-gap-x-0",gap100:"ds-gap-x-100",gap150:"ds-gap-x-150",gap200:"ds-gap-x-200",gap300:"ds-gap-x-300",gap400:"ds-gap-x-400",gap600:"ds-gap-x-600",gap800:"ds-gap-x-800",gap1000:"ds-gap-x-1000",gap1200:"ds-gap-x-1200",gap1600:"ds-gap-x-1600",gap2000:"ds-gap-x-2000"},gapY:{gap0:"ds-gap-y-0",gap100:"ds-gap-y-100",gap150:"ds-gap-y-150",gap200:"ds-gap-y-200",gap300:"ds-gap-y-300",gap400:"ds-gap-y-400",gap600:"ds-gap-y-600",gap800:"ds-gap-y-800",gap1000:"ds-gap-y-1000",gap1200:"ds-gap-y-1200",gap1600:"ds-gap-y-1600",gap2000:"ds-gap-y-2000"},justifyContent:{normal:"ds-justify-normal",start:"ds-justify-start",end:"ds-justify-end",center:"ds-justify-center",between:"ds-justify-between",around:"ds-justify-around",evenly:"ds-justify-evenly",stretch:"ds-justify-stretch"},justifyItems:{start:"ds-justify-items-start",end:"ds-justify-items-end",center:"ds-justify-items-center",stretch:"ds-justify-items-stretch"},alignContent:{normal:"ds-content-normal",center:"ds-content-center",start:"ds-content-start",end:"ds-content-end",between:"ds-content-between",around:"ds-content-around",evenly:"ds-content-evenly",baseline:"ds-content-baseline",stretch:"ds-content-stretch"},alignItems:{start:"ds-items-start",end:"ds-items-end",center:"ds-items-center",baseline:"ds-items-baseline",stretch:"ds-items-stretch"},placeContent:{center:"ds-place-content-center",start:"ds-place-content-start",end:"ds-place-content-end",between:"ds-place-content-between",around:"ds-place-content-around",evenly:"ds-place-content-evenly",baseline:"ds-place-content-baseline",stretch:"ds-place-content-stretch"},placeItems:{start:"ds-place-items-start",end:"ds-place-items-end",center:"ds-place-items-center",baseline:"ds-place-items-baseline",stretch:"ds-place-items-stretch"}}}),Fr=Q.forwardRef((n,a)=>{var o=n,{className:e,children:s}=o,t=L(o,["className","children"]);return l.jsx("div",Oe(M({className:w(y(Qt({display:t==null?void 0:t.display,gap:t==null?void 0:t.gap,gapX:t==null?void 0:t.gapX,gapY:t==null?void 0:t.gapY,justifyContent:t==null?void 0:t.justifyContent,justifyItems:t==null?void 0:t.justifyItems,alignContent:t==null?void 0:t.alignContent,alignItems:t==null?void 0:t.alignItems,placeContent:t==null?void 0:t.placeContent,placeItems:t==null?void 0:t.placeItems,className:e}))),ref:a},t),{children:s}))});Fr.displayName="Grid";const hr=e=>{let s="";switch(e){case"STANDARD":case"STANDARD_LINE_SEPARATED":s="ds-font-semibold ds-text-Text-primary ds_xSmallBodyEmphasized ds-tablet:ds_SmallBodyEmphasized ds-desktop:ds_MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary ds_xSmallCalloutRegular ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break}return s},Ir=S.forwardRef(({className:e,items:s,isExpandedInMobile:t},a)=>{const[n,o]=S.useState(!1);return S.useEffect(()=>{t&&o(t)},[t]),l.jsxs("div",{className:w(y(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[l.jsx("div",{children:s.length>0&&s.map((i,c)=>{var f;return l.jsx("div",{children:l.jsxs("div",{className:y(i.key_name!=="total_amount"&&"line-items",n===!0&&"show"),children:[i.type==="STANDARD_LINE_SEPARATED"&&l.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),l.jsxs("div",{className:y("ds-flex ds-flex-row ds-justify-between",c>0&&"ds-mt-2",c!==s.length&&i.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[l.jsx("span",{className:y("ds-me-3",i.key_name!=="total_amount"&&hr(i.type),((f=i.display_name)==null?void 0:f.toLocaleLowerCase())==="vat"&&"ds-uppercase",i.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:i.display_name}),l.jsx("span",{className:y(!["total_amount"].includes(i.key_name)&&i.type!=="SLASHED"&&hr(i.type),i.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized",i.type==="SLASHED"&&"ds-line-through ds-font-normal ds-text-Text-secondary"),children:i.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),l.jsx("div",{children:l.jsxs("span",{className:"ds-flex ds-mt-3 ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer ds_xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>o(!n),children:["See ",n?"less":"details"]})})]})});Ir.displayName="Booking_Quote_Card";const Zt="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23cr9x6s95oa)'%3e%3cpath%20d='M4.222%206.738c0%20.13.05.246.152.345l4.302%204.057a.475.475%200%200%200%20.353.141c.282%200%20.5-.204.5-.476a.483.483%200%200%200-.147-.34l-3.95-3.727%203.95-3.727a.493.493%200%200%200%20.146-.34c0-.273-.217-.477-.499-.477a.492.492%200%200%200-.353.136L4.374%206.392a.455.455%200%200%200-.152.346z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='cr9x6s95oa'%3e%3cpath%20fill='%23fff'%20transform='translate(.333%20.05)'%20d='M0%200h13.333v12.864H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",es="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.084%206.738a.46.46%200%200%200-.158-.346L5.63%202.33a.514.514%200%200%200-.358-.136.477.477%200%200%200-.353.817l3.95%203.727-3.95%203.727a.477.477%200%200%200%20.353.817c.14%200%20.26-.048.358-.142l4.296-4.057a.47.47%200%200%200%20.158-.345z'%20fill='%23fff'/%3e%3c/svg%3e",Mr=S.forwardRef(({images:e})=>{const[s,t]=S.useState(0),a=()=>{t(o=>o===e.length-1?0:o+1)},n=()=>{t(o=>o===0?e.length-1:o-1)};return l.jsx(l.Fragment,{children:l.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-left-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:n,children:l.jsx("img",{src:Zt,alt:"prev"})}),l.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&l.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-right-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:a,children:l.jsx("img",{src:es,alt:"next"})}),e.length>1&&l.jsx("ul",{className:"ds-absolute ds-flex ds-flex-row ds-bottom-1 ds-left-1/2 -ds-translate-x-1/2 ds-z-10",children:e.map((o,i)=>l.jsx("li",{"aria-description":o,className:w(y("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",i!==s&&"ds-bg-[rgba(255,255,255,0.5)]",i===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},i))})]})})});Mr.displayName="Image_Carousel";const Or=S.forwardRef(({title:e,content:s,expandIcon:t,collapseIcon:a,accordionClass:n,accordionHeaderClass:o,accordionTitleClass:i,accordionContentClass:c,isEnabled:f=!0,isExpanded:p=!0},g)=>{const[b,k]=S.useState(p),P=()=>{f&&k(!b)};return S.useEffect(()=>{f&&k(p)},[f,p]),l.jsxs("div",{className:w(y("silkhaus-accordion",n)),ref:g,children:[l.jsxs("div",{className:w(y("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",o,!f&&"ds-cursor-not-allowed",f&&"ds-cursor-pointer")),onClick:P,children:[l.jsx("div",{className:w(y(i)),children:e}),b?a||"-":t||"+"]}),b&&l.jsx("div",{className:w(y("silkhaus-accordion-content",c)),children:s})]})});Or.displayName="Accordion";function rs(...e){return w(y(e))}const zr=S.forwardRef(({checked:e=!1,onChange:s,disabled:t=!1,htmlId:a="wa"},n)=>l.jsxs("label",{className:rs("switch",t&&"disabled"),htmlFor:a,children:[l.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:n,disabled:t}),l.jsx("span",{className:"slider round",style:{opacity:t?.5:1,cursor:t?"not-allowed":"pointer"}})]}));zr.displayName="Switch";const Br=S.forwardRef((e,s)=>{const o=e,{open:t,children:a}=o,n=L(o,["open","children"]);return l.jsx("div",Oe(M({ref:s,className:`dialog ${t?"open":""}`},n),{children:a}))});Br.displayName="Dialog";const Dr=S.forwardRef(({outerDivClassName:e="",banner:s="",title:t,description:a,primaryBtnText:n="Submit",showPrimaryBtn:o,secondaryBtnText:i="Cancel",showSecondaryBtn:c,onPrimaryBtnClick:f,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},k)=>l.jsx("div",{className:w(e),children:l.jsxs("div",{className:w(y("ds-bg-white ds-w-full ds-wide_ds-desktop:ds-w-[528px] ds-desktop:ds-w-[528px] ds-tablet:ds-w-[528px] ds-border ds-rounded",s&&"ds-p-6")),ref:k,children:[s&&l.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),l.jsxs("div",{className:y(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[l.jsxs("div",{children:[l.jsx("h2",{className:y("ds_MediumTitle1Emphasized ds-text-black ds-mb-0 ds-pb-4",s&&"ds-border-t-2 ds-border-Background-accentEggplant-100 ds-pt-4"),children:t}),a&&l.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),l.jsxs("div",{className:y("ds-flex ds-flex-col ds-pt-4 ds-tablet:ds-grid ds-tablet:ds-grid-flow-row ds-tablet:ds-grid-cols-2 ds-tablet:ds-gap-x-4 ds-tablet:ds-flex-row",o&&c&&"ds-tablet:ds-justify-between ds-items-center",o&&!c&&"ds-tablet:ds-justify-end ds-items-center"),children:[l.jsx("div",{className:"ds-tablet:ds-mt-0 ds-mt-4 ds-w-full ds-tablet:ds-w-auto ds-flex ds-flex-col ds-order-2 ds-tablet:ds-order-1",children:c&&l.jsx(_e,{color:"secondary",onClick:p,disabled:b,className:"ds_MediumBodyEmphasized",size:"large",children:i})}),l.jsx("div",{className:"ds-w-full ds-flex ds-flex-col ds-tablet:ds-w-auto ds-order-1 ds-tablet:ds-order-2",children:o&&l.jsx(_e,{color:"primary",onClick:f,disabled:g,className:"ds_MediumBodyEmphasized",size:"large",children:n})})]})]})]})}));Dr.displayName="AlertDialog";const ts="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23jy0s9xho2a)'%3e%3cpath%20d='M6.647%2012.969a.925.925%200%200%200%20.82-.431l5.586-8.641c.14-.215.196-.405.196-.586%200-.475-.345-.811-.827-.811-.338%200-.54.116-.745.437l-5.054%208.009-2.589-3.28c-.193-.247-.4-.353-.692-.353-.492%200-.842.348-.842.825%200%20.207.071.404.247.614l3.088%203.81c.226.276.478.407.812.407z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='jy0s9xho2a'%3e%3cpath%20fill='%23fff'%20transform='translate(.667%20.667)'%20d='M0%200h14.667v14.667H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$e=S.forwardRef(({progress:e,text:s="",borderColor:t="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:n="48px",strokeWidth:o=3,textClass:i=""},c)=>{const f=parseInt(n)/2-4,p=2*Math.PI*f,g=p-e*p;return l.jsxs("div",{ref:c,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":t,"--progress-color":a,width:n,height:n},children:[l.jsx("span",{className:w(y("ds-absolute ds-top-1/2 ds-left-1/2 -ds-translate-x-1/2 -ds-translate-y-1/2 ds_SmallCaption2Emphasized ds-text-nowrap",i)),children:s}),l.jsx("div",{className:"progress-ring",children:l.jsxs("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,children:[l.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString()}),l.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:o,fill:"transparent",r:f.toString(),cx:(parseInt(n)/2).toString(),cy:(parseInt(n)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $r=S.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:t=""},a)=>{var o,i;let n=0;for(let c=0;c<e.length;c++)(((o=e[c])==null?void 0:o.status)==="completed"||((i=e[c])==null?void 0:i.status)==="active")&&n++;return l.jsxs(l.Fragment,{children:[l.jsx("div",{ref:a,className:w(y("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:l.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[l.jsx("div",{className:"ds-absolute ds-left-0 ds-top-2/4 ds-h-0.5 ds-w-full -translate-y-2/4 ds-bg-Fills-quintiary"}),e.map((c,f)=>l.jsxs("div",{className:"ds-relative",children:[l.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ds-w-[22px] ds-h-[22px] ds-rounded ds-border ds-border-Background-accentEggplant-100 ${c.status==="active"||c.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
|
-
`,children:c.status==="completed"?l.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:l.jsx("img",{src:ts,alt:"check-icon"})}):l.jsx("span",{className:`ds_MediumCaption2Emphasized ${c.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:c.number})}),l.jsx("div",{className:"ds-text-black ds-block ds_MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:c.title})]},f))]})}),l.jsx("div",{ref:a,className:w(y("ds-block ds-tablet:ds-hidden",t)),children:e.map((c,f)=>(c.status==="active"||c.status==="completed"&&f+1==e.length)&&l.jsxs("div",{className:"ds-flex ds-flex-row ds-justify-between ds-items-center",children:[l.jsx($e,{progress:n/e.length,text:`${f+1} / ${e.length}`}),l.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[l.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${f+1}: ${c==null?void 0:c.mobileTitle}`}),l.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${c==null?void 0:c.mobileNextTitle}`})]})]},`mobile-stepper-${f}`))})]})});$r.displayName="Stepper";const ss="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23rma6vptgva)'%20fill='%23000'%20fill-opacity='.85'%3e%3cpath%20d='M5.727%2010.882h4.265a.563.563%200%200%200%20.572-.572V4.804a.562.562%200%200%200-.572-.564.555.555%200%200%200-.564.564v4.943h-3.7a.557.557%200%200%200-.573.563c0%20.327.245.572.572.572z'/%3e%3cpath%20d='M10%2018.333c4.559%200%208.333-3.782%208.333-8.333%200-4.559-3.782-8.333-8.341-8.333-4.55%200-8.325%203.774-8.325%208.333%200%204.55%203.782%208.333%208.333%208.333zm0-1.389A6.91%206.91%200%200%201%203.064%2010a6.904%206.904%200%200%201%206.928-6.944A6.925%206.925%200%200%201%2016.945%2010%206.918%206.918%200%200%201%2010%2016.944z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='rma6vptgva'%3e%3cpath%20fill='%23fff'%20d='M0%200h20v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Lr=S.forwardRef(({time:e,text:s="",outerDivClass:t=""},a)=>{const[n,o]=S.useState(e);S.useEffect(()=>{const f=setInterval(()=>{o(p=>p<=1?(clearInterval(f),0):p-1)},1e3);return()=>{clearInterval(f)}},[n]),S.useEffect(()=>{o(e)},[e]);const c=(f=>{const p=Math.floor(f/3600),g=Math.floor(f%3600/60),b=f%60;return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(b).padStart(2,"0")}`})(n);return l.jsxs("div",{ref:a,className:w(y("ds-flex ds-flex-row ds-justify-start ds-items-center",t)),children:[l.jsx("img",{src:ss,alt:"clock",className:"ds-w-5 ds-h-5"}),l.jsx("div",{className:"ds-ms-[18px] ds-tablet:ds-ms-2 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),l.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:c})]})});Lr.displayName="Timer";exports.Accordion=Or;exports.AlertDialog=Dr;exports.Asterisk=Ce;exports.BookingQuoteCard=Ir;exports.Button=_e;exports.Card=Cr;exports.CardContent=Pr;exports.CardDescription=Nr;exports.CardFooter=Ar;exports.CardHeader=Sr;exports.CardTitle=Tr;exports.Dialog=Br;exports.Grid=Fr;exports.ImageCarousel=Mr;exports.Input=Rr;exports.RoundedProgressBar=$e;exports.Stepper=$r;exports.Switch=zr;exports.Timer=Lr;
|
|
27
|
+
*/var ot;function jr(){if(ot)return ue;ot=1;var e=R,s=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function l(c,u,p){var g,b={},k=null,P=null;p!==void 0&&(k=""+p),u.key!==void 0&&(k=""+u.key),u.ref!==void 0&&(P=u.ref);for(g in u)a.call(u,g)&&!d.hasOwnProperty(g)&&(b[g]=u[g]);if(c&&c.defaultProps)for(g in u=c.defaultProps,u)b[g]===void 0&&(b[g]=u[g]);return{$$typeof:s,type:c,key:k,ref:P,props:b,_owner:o.current}}return ue.Fragment=r,ue.jsx=l,ue.jsxs=l,ue}process.env.NODE_ENV==="production"?Oe.exports=jr():Oe.exports=wr();var n=Oe.exports;function xt(e){var s,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(s=0;s<o;s++)e[s]&&(r=xt(e[s]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function v(){for(var e,s,r=0,a="",o=arguments.length;r<o;r++)(e=arguments[r])&&(s=xt(e))&&(a&&(a+=" "),a+=s);return a}const De="-";function kr(e){const s=_r(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;function o(l){const c=l.split(De);return c[0]===""&&c.length!==1&&c.shift(),vt(c,s)||Cr(l)}function d(l,c){const u=r[l]||[];return c&&a[l]?[...u,...a[l]]:u}return{getClassGroupId:o,getConflictingClassGroupIds:d}}function vt(e,s){var l;if(e.length===0)return s.classGroupId;const r=e[0],a=s.nextPart.get(r),o=a?vt(e.slice(1),a):void 0;if(o)return o;if(s.validators.length===0)return;const d=e.join(De);return(l=s.validators.find(({validator:c})=>c(d)))==null?void 0:l.classGroupId}const dt=/^\[(.+)\]$/;function Cr(e){if(dt.test(e)){const s=dt.exec(e)[1],r=s==null?void 0:s.substring(0,s.indexOf(":"));if(r)return"arbitrary.."+r}}function _r(e){const{theme:s,prefix:r}=e,a={nextPart:new Map,validators:[]};return Er(Object.entries(e.classGroups),r).forEach(([d,l])=>{Be(l,a,d,s)}),a}function Be(e,s,r,a){e.forEach(o=>{if(typeof o=="string"){const d=o===""?s:lt(s,o);d.classGroupId=r;return}if(typeof o=="function"){if(Rr(o)){Be(o(a),s,r,a);return}s.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([d,l])=>{Be(l,lt(s,d),r,a)})})}function lt(e,s){let r=e;return s.split(De).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r}function Rr(e){return e.isThemeGetter}function Er(e,s){return s?e.map(([r,a])=>{const o=a.map(d=>typeof d=="string"?s+d:typeof d=="object"?Object.fromEntries(Object.entries(d).map(([l,c])=>[s+l,c])):d);return[r,o]}):e}function Sr(e){if(e<1)return{get:()=>{},set:()=>{}};let s=0,r=new Map,a=new Map;function o(d,l){r.set(d,l),s++,s>e&&(s=0,a=r,r=new Map)}return{get(d){let l=r.get(d);if(l!==void 0)return l;if((l=a.get(d))!==void 0)return o(d,l),l},set(d,l){r.has(d)?r.set(d,l):o(d,l)}}}const yt="!";function Tr(e){const s=e.separator,r=s.length===1,a=s[0],o=s.length;return function(l){const c=[];let u=0,p=0,g;for(let T=0;T<l.length;T++){let M=l[T];if(u===0){if(M===a&&(r||l.slice(T,T+o)===s)){c.push(l.slice(p,T)),p=T+o;continue}if(M==="/"){g=T;continue}}M==="["?u++:M==="]"&&u--}const b=c.length===0?l:l.substring(p),k=b.startsWith(yt),P=k?b.substring(1):b,B=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:B}}}function Nr(e){if(e.length<=1)return e;const s=[];let r=[];return e.forEach(a=>{a[0]==="["?(s.push(...r.sort(),a),r=[]):r.push(a)}),s.push(...r.sort()),s}function Pr(e){return F({cache:Sr(e.cacheSize),splitModifiers:Tr(e)},kr(e))}const Ar=/\s+/;function Mr(e,s){const{splitModifiers:r,getClassGroupId:a,getConflictingClassGroupIds:o}=s,d=new Set;return e.trim().split(Ar).map(l=>{const{modifiers:c,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:g}=r(l);let b=a(g?p.substring(0,g):p),k=!!g;if(!b){if(!g)return{isTailwindClass:!1,originalClassName:l};if(b=a(p),!b)return{isTailwindClass:!1,originalClassName:l};k=!1}const P=Nr(c).join(":");return{isTailwindClass:!0,modifierId:u?P+yt:P,classGroupId:b,originalClassName:l,hasPostfixModifier:k}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:c,classGroupId:u,hasPostfixModifier:p}=l,g=c+u;return d.has(g)?!1:(d.add(g),o(u,p).forEach(b=>d.add(c+b)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function zr(){let e=0,s,r,a="";for(;e<arguments.length;)(s=arguments[e++])&&(r=wt(s))&&(a&&(a+=" "),a+=r);return a}function wt(e){if(typeof e=="string")return e;let s,r="";for(let a=0;a<e.length;a++)e[a]&&(s=wt(e[a]))&&(r&&(r+=" "),r+=s);return r}function Fr(e,...s){let r,a,o,d=l;function l(u){const p=s.reduce((g,b)=>b(g),e());return r=Pr(p),a=r.cache.get,o=r.cache.set,d=c,c(u)}function c(u){const p=a(u);if(p)return p;const g=Mr(u,r);return o(u,g),g}return function(){return d(zr.apply(null,arguments))}}function S(e){const s=r=>r[e]||[];return s.isThemeGetter=!0,s}const jt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ir=/^\d+\/\d+$/,Or=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dr=/\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$/,$r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Lr=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function W(e){return K(e)||Or.has(e)||Ir.test(e)}function U(e){return se(e,"length",Xr)}function K(e){return!!e&&!Number.isNaN(Number(e))}function Re(e){return se(e,"number",K)}function fe(e){return!!e&&Number.isInteger(Number(e))}function Wr(e){return e.endsWith("%")&&K(e.slice(0,-1))}function h(e){return jt.test(e)}function H(e){return Br.test(e)}const qr=new Set(["length","size","percentage"]);function Gr(e){return se(e,qr,kt)}function Yr(e){return se(e,"position",kt)}const Ur=new Set(["image","url"]);function Hr(e){return se(e,Ur,Qr)}function Jr(e){return se(e,"",Kr)}function pe(){return!0}function se(e,s,r){const a=jt.exec(e);return a?a[1]?typeof s=="string"?a[1]===s:s.has(a[1]):r(a[2]):!1}function Xr(e){return Dr.test(e)&&!$r.test(e)}function kt(){return!1}function Kr(e){return Lr.test(e)}function Qr(e){return Vr.test(e)}function Zr(){const e=S("colors"),s=S("spacing"),r=S("blur"),a=S("brightness"),o=S("borderColor"),d=S("borderRadius"),l=S("borderSpacing"),c=S("borderWidth"),u=S("contrast"),p=S("grayscale"),g=S("hueRotate"),b=S("invert"),k=S("gap"),P=S("gradientColorStops"),B=S("gradientColorStopPositions"),T=S("inset"),M=S("margin"),z=S("opacity"),E=S("padding"),ge=S("saturate"),ae=S("scale"),me=S("sepia"),be=S("skew"),he=S("space"),xe=S("translate"),Z=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",h,s],C=()=>[h,s],D=()=>["",W,U],$=()=>["auto",K,h],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],de=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],ee=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",h],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[K,Re],X=()=>[K,h];return{cacheSize:500,separator:":",theme:{colors:[pe],spacing:[W,U],blur:["none","",H,h],brightness:Y(),borderColor:[e],borderRadius:["none","","full",H,h],borderSpacing:C(),borderWidth:D(),contrast:Y(),grayscale:G(),hueRotate:X(),invert:G(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Wr,U],inset:oe(),margin:oe(),opacity:Y(),padding:C(),saturate:Y(),scale:Y(),sepia:G(),skew:X(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"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:[...q(),h]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fe,h]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",fe,h]}],"grid-cols":[{"grid-cols":[pe]}],"col-start-end":[{col:["auto",{span:["full",fe,h]},h]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[pe]}],"row-start-end":[{row:["auto",{span:[fe,h]},h]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-y":[{"gap-y":[k]}],"justify-content":[{justify:["normal",...ee()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ee(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ee(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[M]}],mx:[{mx:[M]}],my:[{my:[M]}],ms:[{ms:[M]}],me:[{me:[M]}],mt:[{mt:[M]}],mr:[{mr:[M]}],mb:[{mb:[M]}],ml:[{ml:[M]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,s]}],"min-w":[{"min-w":[h,s,"min","max","fit"]}],"max-w":[{"max-w":[h,s,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[h,s,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,s,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,s,"auto","min","max","fit"]}],"font-size":[{text:["base",H,U]}],"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:[pe]}],"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",h]}],"line-clamp":[{"line-clamp":["none",K,Re]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",W,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",W,U]}],"underline-offset":[{"underline-offset":["auto",W,h]}],"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:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],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",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),Yr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Gr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Hr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-to-pos":[{to:[B]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[d]}],"rounded-s":[{"rounded-s":[d]}],"rounded-e":[{"rounded-e":[d]}],"rounded-t":[{"rounded-t":[d]}],"rounded-r":[{"rounded-r":[d]}],"rounded-b":[{"rounded-b":[d]}],"rounded-l":[{"rounded-l":[d]}],"rounded-ss":[{"rounded-ss":[d]}],"rounded-se":[{"rounded-se":[d]}],"rounded-ee":[{"rounded-ee":[d]}],"rounded-es":[{"rounded-es":[d]}],"rounded-tl":[{"rounded-tl":[d]}],"rounded-tr":[{"rounded-tr":[d]}],"rounded-br":[{"rounded-br":[d]}],"rounded-bl":[{"rounded-bl":[d]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[z]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[z]}],"divide-style":[{divide:J()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[W,h]}],"outline-w":[{outline:[W,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[W,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Jr]}],"shadow-color":[{shadow:[pe]}],opacity:[{opacity:[z]}],"mix-blend":[{"mix-blend":de()}],"bg-blend":[{"bg-blend":de()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",H,h]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[b]}],saturate:[{saturate:[ge]}],sepia:[{sepia:[me]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[b]}],"backdrop-opacity":[{"backdrop-opacity":[z]}],"backdrop-saturate":[{"backdrop-saturate":[ge]}],"backdrop-sepia":[{"backdrop-sepia":[me]}],"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",h]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ae]}],"scale-x":[{"scale-x":[ae]}],"scale-y":[{"scale-y":[ae]}],rotate:[{rotate:[fe,h]}],"translate-x":[{"translate-x":[xe]}],"translate-y":[{"translate-y":[xe]}],"skew-x":[{"skew-x":[be]}],"skew-y":[{"skew-y":[be]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],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",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[W,U,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-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 w=Fr(Zr),it={primary:"ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",secondary:"ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",tertiary:"ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",quaternary:"ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",small:"ds-py-space075 ds-px-space400",large:"ds-py-space150 ds-px-space400"},Ee=R.forwardRef((l,d)=>{var c=l,{color:e="primary",size:s="small",disabled:r=!1,className:a}=c,o=O(c,["color","size","disabled","className"]);return n.jsx("button",F({ref:d,disabled:r,className:w(v(it[e],it[s],a,""))},o))});Ee.displayName="Button";const Se=R.forwardRef(({className:e=""},s)=>{const a=w("ds-text-System-red ds-ms-[2px]",e);return n.jsx("span",{className:a,ref:s,children:"*"})});Se.displayName="Asteric";const ct="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%23FF453A'/%3e%3cpath%20d='M4.452%207.978h1.821a.316.316%200%201%200%200-.631h-.555V5.069c0-.242-.12-.403-.349-.403h-.841a.316.316%200%201%200%200%20.631h.479v2.05h-.555a.316.316%200%201%200%200%20.631zm.743-4.055c.326%200%20.582-.26.582-.587a.582.582%200%201%200-1.164%200c0%20.327.26.587.582.587z'%20fill='%23FF453A'/%3e%3c/svg%3e",ut="data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%200%2011%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.482%2010.047c2.498%200%204.566-2.072%204.566-4.565%200-2.498-2.073-4.565-4.57-4.565C2.985.917.917%202.984.917%205.482c0%202.493%202.072%204.565%204.565%204.565zm0-.76a3.786%203.786%200%200%201-3.8-3.805%203.782%203.782%200%200%201%203.796-3.805%203.794%203.794%200%200%201%203.809%203.805%203.79%203.79%200%200%201-3.805%203.804z'%20fill='%2328CD41'/%3e%3cpath%20d='M5.242%207.713a.42.42%200%200%200%20.363-.21L7.65%204.283c.05-.09.108-.188.108-.286%200-.202-.18-.332-.367-.332-.112%200-.224.072-.31.202l-1.857%202.98-.881-1.14c-.108-.144-.206-.18-.332-.18a.347.347%200%200%200-.344.354c0%20.099.04.193.103.278l1.092%201.342c.112.148.233.21.38.21z'%20fill='%2328CD41'/%3e%3c/svg%3e",ft={primary:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none disabled:ds-text-Text-secondary disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",primaryRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",success:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-Fills-terciary ds-rounded-sm hover:ds-border-Fills-secondary active:ds-text-Text-primary active:ds-border-Text-primary focus:ds-border-Text-primary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",error:"ds-bg-System-red ds-bg-opacity-[0.1] ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",errorRounded:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-primary ds_MediumBodyRegular ds-border ds-border-System-red ds-rounded-sm active:ds-text-Text-primary focus:ds-outline-none ds-disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]",disabled:"ds-bg-Text-textSecondaryPlusDark ds-placeholder-Fills-quadrutery ds-text-Text-secondary ds_MediumBodyRegular ds-border ds-border-Fills-quintiary ds-cursor-not-allowed ds-rounded-sm hover:ds-border-Fills-quintiary active:ds-placeholder-Fills-quadrutery active:ds-border-Fills-quintiary focus:ds-border-Fills-quintiary focus:ds-outline-none disabled:bg-Fills-quintiary ds-px-[12px] ds-pt-[8px] ds-pb-[7px]"},pt={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},gt={primary:"ds-text-Text-primary",primaryRounded:"ds-text-Text-primary",success:"ds-text-Text-primary",error:"ds-flex ds-flex-row ds-items-center ds-justify-start ds-text-System-red",errorRounded:"ds-text-System-red",disabled:"ds-text-Text-secondary"},Ct=R.forwardRef((k,b)=>{var P=k,{color:e="primary",disabled:s=!1,textarea:r=!1,label:a,required:o=!1,caption:d,labelClass:l,InputDivClass:c,captionClass:u,className:p}=P,g=O(P,["color","disabled","textarea","label","required","caption","labelClass","InputDivClass","captionClass","className"]);return r?n.jsx(n.Fragment,{children:n.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&n.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-desktop:MediumSubheadRegular ds-mb-space075",l,pt[e]),children:[a," ",o&&n.jsx(Se,{})]}),n.jsx("textarea",F({disabled:s,className:w(v(ft[e],p))},g)),d&&n.jsxs("caption",{className:w(v("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-font-normal ds-mt-space075",gt[e]),u),children:[e==="error"&&n.jsx("img",{src:ct,alt:"error",className:w(v("ds-me-1"))}),e==="success"&&n.jsx("img",{src:ut,alt:"success",className:w(v("ds-me-1"))}),d]})]})}):n.jsxs("div",{className:w("ds-flex ds-flex-col ds-items-start ds-w-full",c),children:[a&&n.jsxs("label",{className:w("ds-text-mediumFootnoteRegular ds-tablet:ds_SmallSubheadRegular ds-mb-space075",l,pt[e]),children:[a," ",o&&n.jsx(Se,{})]}),n.jsx("input",F({ref:b,disabled:s,className:w(v(ft[e],p))},g)),d&&n.jsxs("caption",{className:w(v("ds-text-mediumFootnoteRegular ds-tablet:ds-text-mediumCaption1Regular ds-font-normal ds-mt-space075",gt[e]),u),children:[e==="error"&&n.jsx("img",{src:ct,alt:"error",className:w(v("ds-me-1"))}),e==="success"&&n.jsx("img",{src:ut,alt:"success",className:w(v("ds-me-1"))}),d]})]})});Ct.displayName="Input";function _t(e){var s,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e))for(s=0;s<e.length;s++)e[s]&&(r=_t(e[s]))&&(a&&(a+=" "),a+=r);else for(s in e)e[s]&&(a&&(a+=" "),a+=s);return a}function es(){for(var e,s,r=0,a="";r<arguments.length;)(e=arguments[r++])&&(s=_t(e))&&(a&&(a+=" "),a+=s);return a}const mt=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,bt=es,Rt=(e,s)=>r=>{var a;if((s==null?void 0:s.variants)==null)return bt(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:d}=s,l=Object.keys(o).map(p=>{const g=r==null?void 0:r[p],b=d==null?void 0:d[p];if(g===null)return null;const k=mt(g)||mt(b);return o[p][k]}),c=r&&Object.entries(r).reduce((p,g)=>{let[b,k]=g;return k===void 0||(p[b]=k),p},{}),u=s==null||(a=s.compoundVariants)===null||a===void 0?void 0:a.reduce((p,g)=>{let B=g,{class:b,className:k}=B,P=O(B,["class","className"]);return Object.entries(P).every(T=>{let[M,z]=T;return Array.isArray(z)?z.includes(F(F({},d),c)[M]):F(F({},d),c)[M]===z})?[...p,b,k]:p},[]);return bt(e,l,u,r==null?void 0:r.class,r==null?void 0:r.className)},ts=Rt("ds-border ds-text-text-primary",{variants:{cardType:{default:"ds-shadow-none",shadowCard:"ds-shadow-card"}},defaultVariants:{cardType:"default"}}),Et=Q.forwardRef((o,a)=>{var d=o,{className:e,cardType:s}=d,r=O(d,["className","cardType"]);return n.jsx("div",F({ref:a,className:w(v(ts({cardType:s,className:e}),"ds-rounded"),e)},r))});Et.displayName="Card";const St=Q.forwardRef((a,r)=>{var o=a,{className:e}=o,s=O(o,["className"]);return n.jsx("div",F({ref:r,className:w(v("ds-flex ds-flex-col ds-pt-space300 ds-pb-space200 ds-px-space300",e))},s))});St.displayName="CardHeader";const Tt=Q.forwardRef((a,r)=>{var o=a,{className:e}=o,s=O(o,["className"]);return n.jsx("div",F({ref:r,className:w(v("ds-font-medium",e))},s))});Tt.displayName="Title";const Nt=Q.forwardRef((a,r)=>{var o=a,{className:e}=o,s=O(o,["className"]);return n.jsx("div",F({ref:r,className:w(v("ds-font-regular",e))},s))});Nt.displayName="Description";const Pt=Q.forwardRef((a,r)=>{var o=a,{className:e}=o,s=O(o,["className"]);return n.jsx("div",F({ref:r,className:w(v("ds-pb-space300 ds-px-space300 ",e))},s))});Pt.displayName="Content";const At=Q.forwardRef((a,r)=>{var o=a,{className:e}=o,s=O(o,["className"]);return n.jsx("div",F({ref:r,className:w(v("ds-pb-space300 ds-px-space300",e))},s))});At.displayName="Footer";const rs=Rt("ds-grid ds-zero:ds-grid-cols-4 ds-gap-x-8 ds-mobile:ds-grid-cols-4 ds-tablet:ds-grid-cols-6 ds-desktop:ds-grid-cols-12 ds-wide_desktop:ds-grid-cols-12 ds-w-full",{variants:{display:{grid:"ds-grid",inlineGrid:"ds-inline-grid"},gap:{gap0:"ds-gap0",gap100:"ds-gap-100",gap150:"ds-gap-150",gap200:"ds-gap-200",gap300:"ds-gap-300",gap400:"ds-gap-400",gap600:"ds-gap-600",gap800:"ds-gap-800",gap1000:"ds-gap-1000",gap1200:"ds-gap-1200",gap1600:"ds-gap-1600",gap2000:"ds-gap-2000"},gapX:{gap0:"ds-gap-x-0",gap100:"ds-gap-x-100",gap150:"ds-gap-x-150",gap200:"ds-gap-x-200",gap300:"ds-gap-x-300",gap400:"ds-gap-x-400",gap600:"ds-gap-x-600",gap800:"ds-gap-x-800",gap1000:"ds-gap-x-1000",gap1200:"ds-gap-x-1200",gap1600:"ds-gap-x-1600",gap2000:"ds-gap-x-2000"},gapY:{gap0:"ds-gap-y-0",gap100:"ds-gap-y-100",gap150:"ds-gap-y-150",gap200:"ds-gap-y-200",gap300:"ds-gap-y-300",gap400:"ds-gap-y-400",gap600:"ds-gap-y-600",gap800:"ds-gap-y-800",gap1000:"ds-gap-y-1000",gap1200:"ds-gap-y-1200",gap1600:"ds-gap-y-1600",gap2000:"ds-gap-y-2000"},justifyContent:{normal:"ds-justify-normal",start:"ds-justify-start",end:"ds-justify-end",center:"ds-justify-center",between:"ds-justify-between",around:"ds-justify-around",evenly:"ds-justify-evenly",stretch:"ds-justify-stretch"},justifyItems:{start:"ds-justify-items-start",end:"ds-justify-items-end",center:"ds-justify-items-center",stretch:"ds-justify-items-stretch"},alignContent:{normal:"ds-content-normal",center:"ds-content-center",start:"ds-content-start",end:"ds-content-end",between:"ds-content-between",around:"ds-content-around",evenly:"ds-content-evenly",baseline:"ds-content-baseline",stretch:"ds-content-stretch"},alignItems:{start:"ds-items-start",end:"ds-items-end",center:"ds-items-center",baseline:"ds-items-baseline",stretch:"ds-items-stretch"},placeContent:{center:"ds-place-content-center",start:"ds-place-content-start",end:"ds-place-content-end",between:"ds-place-content-between",around:"ds-place-content-around",evenly:"ds-place-content-evenly",baseline:"ds-place-content-baseline",stretch:"ds-place-content-stretch"},placeItems:{start:"ds-place-items-start",end:"ds-place-items-end",center:"ds-place-items-center",baseline:"ds-place-items-baseline",stretch:"ds-place-items-stretch"}}}),Mt=Q.forwardRef((o,a)=>{var d=o,{className:e,children:s}=d,r=O(d,["className","children"]);return n.jsx("div",_e(F({className:w(v(rs({display:r==null?void 0:r.display,gap:r==null?void 0:r.gap,gapX:r==null?void 0:r.gapX,gapY:r==null?void 0:r.gapY,justifyContent:r==null?void 0:r.justifyContent,justifyItems:r==null?void 0:r.justifyItems,alignContent:r==null?void 0:r.alignContent,alignItems:r==null?void 0:r.alignItems,placeContent:r==null?void 0:r.placeContent,placeItems:r==null?void 0:r.placeItems,className:e}))),ref:a},r),{children:s}))});Mt.displayName="Grid";const ht=e=>{let s="";switch(e){case"STANDARD":case"STANDARD_LINE_SEPARATED":s="ds-font-semibold ds-text-Text-primary ds_xSmallBodyEmphasized ds-tablet:ds_SmallBodyEmphasized ds-desktop:ds_MediumCalloutEmphasized";break;case"DISCOUNT":s="ds-font-normal ds-text-teal-400 ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break;case"FEE":case"TAX":s="ds-font-normal ds-text-Text-secondary ds_xSmallCalloutRegular ds-tablet:ds_SmallCalloutRegular ds-desktop:ds_MediumCalloutRegular";break}return s},zt=R.forwardRef(({className:e,items:s,isExpandedInMobile:r},a)=>{const[o,d]=R.useState(!1);return R.useEffect(()=>{r&&d(r)},[r]),n.jsxs("div",{className:w(v(e,"ds-w-full ds-flex ds-flex-col")),ref:a,children:[n.jsx("div",{children:s.length>0&&s.map((l,c)=>{var u;return n.jsx("div",{children:n.jsxs("div",{className:v(l.key_name!=="total_amount"&&"line-items",o===!0&&"show"),children:[l.type==="STANDARD_LINE_SEPARATED"&&n.jsx("hr",{className:"ds-mt-3 ds-mb-1"}),n.jsxs("div",{className:v("ds-flex ds-flex-row ds-justify-between",c>0&&"ds-mt-2",c!==s.length&&l.type==="STANDARD_LINE_SEPARATED"&&"ds-mb-1"),children:[n.jsx("span",{className:v("ds-me-3",l.key_name!=="total_amount"&&ht(l.type),((u=l.display_name)==null?void 0:u.toLocaleLowerCase())==="vat"&&"ds-uppercase",l.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized"),children:l.display_name}),n.jsx("span",{className:v(!["total_amount"].includes(l.key_name)&&l.type!=="SLASHED"&&ht(l.type),l.key_name==="total_amount"&&"ds_xSmallBodyEmphasized ds-tablet:ds_SmallCalloutEmphasized ds-desktop:ds_MediumBodyEmphasized",l.type==="SLASHED"&&"ds-line-through ds-font-normal ds-text-Text-secondary"),children:l.currency_converted_amount})]})]})},`BookingQuoteLineItemType-${c}`)})}),n.jsx("div",{children:n.jsxs("span",{className:"ds-flex ds-mt-3 ds-justify-end ds-items-center ds-text-Background-accentEggplant-100 ds-underline ds-cursor-pointer ds_xSmallFootnoteEmphasized ds-tablet:ds-hidden",onClick:()=>d(!o),children:["See ",o?"less":"details"]})})]})});zt.displayName="Booking_Quote_Card";const ss="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23cr9x6s95oa)'%3e%3cpath%20d='M4.222%206.738c0%20.13.05.246.152.345l4.302%204.057a.475.475%200%200%200%20.353.141c.282%200%20.5-.204.5-.476a.483.483%200%200%200-.147-.34l-3.95-3.727%203.95-3.727a.493.493%200%200%200%20.146-.34c0-.273-.217-.477-.499-.477a.492.492%200%200%200-.353.136L4.374%206.392a.455.455%200%200%200-.152.346z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='cr9x6s95oa'%3e%3cpath%20fill='%23fff'%20transform='translate(.333%20.05)'%20d='M0%200h13.333v12.864H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",as="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.084%206.738a.46.46%200%200%200-.158-.346L5.63%202.33a.514.514%200%200%200-.358-.136.477.477%200%200%200-.353.817l3.95%203.727-3.95%203.727a.477.477%200%200%200%20.353.817c.14%200%20.26-.048.358-.142l4.296-4.057a.47.47%200%200%200%20.158-.345z'%20fill='%23fff'/%3e%3c/svg%3e",Ft=R.forwardRef(({images:e})=>{const[s,r]=R.useState(0),a=()=>{r(d=>d===e.length-1?0:d+1)},o=()=>{r(d=>d===0?e.length-1:d-1)};return n.jsx(n.Fragment,{children:n.jsxs("div",{className:"ds-relative ds-rounded-[4px] ds-w-full",children:[e.length>1&&n.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-left-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:o,children:n.jsx("img",{src:ss,alt:"prev"})}),n.jsx("div",{className:"picture ds-w-full ds-rounded-[4px]",style:{backgroundImage:`url(${e[s]})`}}),e.length>1&&n.jsx("button",{className:"ds-absolute ds-z-10 ds-top-[50%] -ds-translate-y-1/2 ds-right-4 ds-w-6 ds-h-6 ds-text-white ds-rounded-sm ds-flex ds-justify-center ds-items-center ds-bg-[rgba(255,255,255,0.25)] backdrop-blur-sm",onClick:a,children:n.jsx("img",{src:as,alt:"next"})}),e.length>1&&n.jsx("ul",{className:"ds-absolute ds-flex ds-flex-row ds-bottom-1 ds-left-1/2 -ds-translate-x-1/2 ds-z-10",children:e.map((d,l)=>n.jsx("li",{"aria-description":d,className:w(v("ds-w-[5px] ds-h-[4px] ds-block ds-z-10 ds-mx-[2.5px] ds-rounded-[1px]",l!==s&&"ds-bg-[rgba(255,255,255,0.5)]",l===s&&"ds-bg-[rgba(255,255,255,0.8)]"))},l))})]})})});Ft.displayName="Image_Carousel";const It=R.forwardRef(({title:e,content:s,expandIcon:r,collapseIcon:a,accordionClass:o,accordionHeaderClass:d,accordionTitleClass:l,accordionContentClass:c,isEnabled:u=!0,isExpanded:p=!0},g)=>{const[b,k]=R.useState(p),P=()=>{u&&k(!b)};return R.useEffect(()=>{u&&k(p)},[u,p]),n.jsxs("div",{className:w(v("silkhaus-accordion",o)),ref:g,children:[n.jsxs("div",{className:w(v("silkhaus-accordion-header ds-flex ds-flex-row ds-justify-between ds-items-center",d,!u&&"ds-cursor-not-allowed",u&&"ds-cursor-pointer")),onClick:P,children:[n.jsx("div",{className:w(v(l)),children:e}),b?a||"-":r||"+"]}),b&&n.jsx("div",{className:w(v("silkhaus-accordion-content",c)),children:s})]})});It.displayName="Accordion";function ns(...e){return w(v(e))}const Ot=R.forwardRef(({checked:e=!1,onChange:s,disabled:r=!1,htmlId:a="wa"},o)=>n.jsxs("label",{className:ns("switch",r&&"disabled"),htmlFor:a,children:[n.jsx("input",{id:a,type:"checkbox",checked:e,onChange:s,ref:o,disabled:r}),n.jsx("span",{className:"slider round",style:{opacity:r?.5:1,cursor:r?"not-allowed":"pointer"}})]}));Ot.displayName="Switch";const Bt=R.forwardRef((e,s)=>{const d=e,{open:r,children:a}=d,o=O(d,["open","children"]);return n.jsx("div",_e(F({ref:s,className:`dialog ${r?"open":""}`},o),{children:a}))});Bt.displayName="Dialog";const Dt=R.forwardRef(({outerDivClassName:e="",banner:s="",title:r,description:a,primaryBtnText:o="Submit",showPrimaryBtn:d,secondaryBtnText:l="Cancel",showSecondaryBtn:c,onPrimaryBtnClick:u,onSecondaryBtnClick:p,disablePrimaryBtn:g=!1,disableSecondaryBtn:b=!1},k)=>n.jsx("div",{className:w(e),children:n.jsxs("div",{className:w(v("ds-bg-white ds-w-full ds-wide_ds-desktop:ds-w-[528px] ds-desktop:ds-w-[528px] ds-tablet:ds-w-[528px] ds-border ds-rounded",s&&"ds-p-6")),ref:k,children:[s&&n.jsx("div",{className:"ds-mb-4 ds-bg-Background-accentEggplant-5 banner",style:{backgroundImage:`url(${s})`}}),n.jsxs("div",{className:v(!s&&"ds-p-6 ds-border-t-4 ds-rounded-s ds-rounded-e ds-border-Background-accentEggplant-100"),children:[n.jsxs("div",{children:[n.jsx("h2",{className:v("ds_MediumTitle1Emphasized ds-text-black ds-mb-0 ds-pb-4",s&&"ds-border-t-2 ds-border-Background-accentEggplant-100 ds-pt-4"),children:r}),a&&n.jsx("span",{className:"ds-text-black MediumBodyRegular",children:a})]}),n.jsxs("div",{className:v("ds-flex ds-flex-col ds-pt-4 ds-tablet:ds-grid ds-tablet:ds-grid-flow-row ds-tablet:ds-grid-cols-2 ds-tablet:ds-gap-x-4 ds-tablet:ds-flex-row",d&&c&&"ds-tablet:ds-justify-between ds-items-center",d&&!c&&"ds-tablet:ds-justify-end ds-items-center"),children:[n.jsx("div",{className:"ds-tablet:ds-mt-0 ds-mt-4 ds-w-full ds-tablet:ds-w-auto ds-flex ds-flex-col ds-order-2 ds-tablet:ds-order-1",children:c&&n.jsx(Ee,{color:"secondary",onClick:p,disabled:b,className:"ds_MediumBodyEmphasized",size:"large",children:l})}),n.jsx("div",{className:"ds-w-full ds-flex ds-flex-col ds-tablet:ds-w-auto ds-order-1 ds-tablet:ds-order-2",children:d&&n.jsx(Ee,{color:"primary",onClick:u,disabled:g,className:"ds_MediumBodyEmphasized",size:"large",children:o})})]})]})]})}));Dt.displayName="AlertDialog";const os="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23jy0s9xho2a)'%3e%3cpath%20d='M6.647%2012.969a.925.925%200%200%200%20.82-.431l5.586-8.641c.14-.215.196-.405.196-.586%200-.475-.345-.811-.827-.811-.338%200-.54.116-.745.437l-5.054%208.009-2.589-3.28c-.193-.247-.4-.353-.692-.353-.492%200-.842.348-.842.825%200%20.207.071.404.247.614l3.088%203.81c.226.276.478.407.812.407z'%20fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='jy0s9xho2a'%3e%3cpath%20fill='%23fff'%20transform='translate(.667%20.667)'%20d='M0%200h14.667v14.667H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$e=R.forwardRef(({progress:e,text:s="",borderColor:r="rgba(0, 0, 0, 0.1)",progressColor:a="#542686",size:o="48px",strokeWidth:d=3,textClass:l=""},c)=>{const u=parseInt(o)/2-4,p=2*Math.PI*u,g=p-e*p;return n.jsxs("div",{ref:c,className:"rounded-progress-bar",style:{"--progress":e,"--border-color":r,"--progress-color":a,width:o,height:o},children:[n.jsx("span",{className:w(v("ds-absolute ds-top-1/2 ds-left-1/2 -ds-translate-x-1/2 -ds-translate-y-1/2 ds_SmallCaption2Emphasized ds-text-nowrap",l)),children:s}),n.jsx("div",{className:"progress-ring",children:n.jsxs("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,children:[n.jsx("circle",{className:"progress-ring-circle",stroke:"var(--border-color)",strokeWidth:d,fill:"transparent",r:u.toString(),cx:(parseInt(o)/2).toString(),cy:(parseInt(o)/2).toString()}),n.jsx("circle",{className:"progress-ring-circle-progress",stroke:"var(--progress-color)",strokeWidth:d,fill:"transparent",r:u.toString(),cx:(parseInt(o)/2).toString(),cy:(parseInt(o)/2).toString(),strokeDasharray:`${p}`,strokeDashoffset:`${g}`})]})})]})});$e.displayName="RoundedProgressBar";const $t=R.forwardRef(({steps:e,outerDivClass:s="",outerMobileDivClass:r=""},a)=>{var d,l;let o=0;for(let c=0;c<e.length;c++)(((d=e[c])==null?void 0:d.status)==="completed"||((l=e[c])==null?void 0:l.status)==="active")&&o++;return n.jsxs(n.Fragment,{children:[n.jsx("div",{ref:a,className:w(v("ds-hidden ds-tablet:ds-block ds-relative ds-h-[72px]",s)),children:n.jsxs("div",{className:"ds-relative ds-w-full ds-flex ds-items-center ds-flex-row ds-justify-between",children:[n.jsx("div",{className:"ds-absolute ds-left-0 ds-top-2/4 ds-h-0.5 ds-w-full -translate-y-2/4 ds-bg-Fills-quintiary"}),e.map((c,u)=>n.jsxs("div",{className:"ds-relative",children:[n.jsx("div",{className:`ds-flex ds-items-center ds-justify-center ds-w-[22px] ds-h-[22px] ds-rounded ds-border ds-border-Background-accentEggplant-100 ${c.status==="active"||c.status==="completed"?"ds-bg-Background-accentEggplant-100":"ds-bg-white"}
|
|
28
|
+
`,children:c.status==="completed"?n.jsx("span",{className:"ds-text-white ds-flex ds-justify-center ds-items-center",children:n.jsx("img",{src:os,alt:"check-icon"})}):n.jsx("span",{className:`ds_MediumCaption2Emphasized ${c.status==="active"?"ds-text-white":"ds-text-gray-600"}`,children:c.number})}),n.jsx("div",{className:"ds-text-black ds-block ds_MediumCaption2Regular ds-mt-2 ds-absolute ds-text-nowrap ds-left-1/2 -ds-translate-x-1/2",children:c.title})]},u))]})}),n.jsx("div",{ref:a,className:w(v("ds-block ds-tablet:ds-hidden",r)),children:e.map((c,u)=>(c.status==="active"||c.status==="completed"&&u+1==e.length)&&n.jsxs("div",{className:"ds-flex ds-flex-row ds-justify-between ds-items-center",children:[n.jsx($e,{progress:o/e.length,text:`${u+1} / ${e.length}`}),n.jsxs("div",{className:"ds-flex ds-flex-col ds-justify-end ds-items-end",children:[n.jsx("span",{className:"ds_SmallCalloutEmphasized",children:`Step ${u+1}: ${c==null?void 0:c.mobileTitle}`}),n.jsx("span",{className:"ds_SmallCaption2Regular ds-text-Text-secondary ds-mt-2",children:`Next: ${c==null?void 0:c.mobileNextTitle}`})]})]},`mobile-stepper-${u}`))})]})});$t.displayName="Stepper";const ds="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23rma6vptgva)'%20fill='%23000'%20fill-opacity='.85'%3e%3cpath%20d='M5.727%2010.882h4.265a.563.563%200%200%200%20.572-.572V4.804a.562.562%200%200%200-.572-.564.555.555%200%200%200-.564.564v4.943h-3.7a.557.557%200%200%200-.573.563c0%20.327.245.572.572.572z'/%3e%3cpath%20d='M10%2018.333c4.559%200%208.333-3.782%208.333-8.333%200-4.559-3.782-8.333-8.341-8.333-4.55%200-8.325%203.774-8.325%208.333%200%204.55%203.782%208.333%208.333%208.333zm0-1.389A6.91%206.91%200%200%201%203.064%2010a6.904%206.904%200%200%201%206.928-6.944A6.925%206.925%200%200%201%2016.945%2010%206.918%206.918%200%200%201%2010%2016.944z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='rma6vptgva'%3e%3cpath%20fill='%23fff'%20d='M0%200h20v20H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Lt=R.forwardRef(({time:e,text:s="",outerDivClass:r=""},a)=>{const[o,d]=R.useState(e);R.useEffect(()=>{const u=setInterval(()=>{d(p=>p<=1?(clearInterval(u),0):p-1)},1e3);return()=>{clearInterval(u)}},[o]),R.useEffect(()=>{d(e)},[e]);const c=(u=>{const p=Math.floor(u/3600),g=Math.floor(u%3600/60),b=u%60;return`${String(p).padStart(2,"0")}:${String(g).padStart(2,"0")}:${String(b).padStart(2,"0")}`})(o);return n.jsxs("div",{ref:a,className:w(v("ds-flex ds-flex-row ds-justify-start ds-items-center",r)),children:[n.jsx("img",{src:ds,alt:"clock",className:"ds-w-5 ds-h-5"}),n.jsx("div",{className:"ds-ms-[18px] ds-tablet:ds-ms-2 ds_xSmallCalloutEmphasized ds-tablet:ds_MediumCalloutEmphasized",children:s}),n.jsx("div",{className:"ds-ms-1 ds_xSmallCalloutEmphasized ds-text-Background-accentTeal-100 ds-tablet:ds_MediumCalloutEmphasized",children:c})]})});Lt.displayName="Timer";const Vt=R.forwardRef((e,s)=>{const{text:r,onNavBarClick:a}=e;return n.jsx("div",{ref:s,className:"ds-h-10 ds-cursor-pointer ds-flex ds-justify-center ds-items-center ds-bg-Background-accentEggplant-5 ds-text-Background-accentEggplant-100 ds-desktop:ds_MediumSubheadEmphasized ds-tablet:ds_SmallSubheadEmphasized ds-mobile:ds_xSmallSubheadEmphasized",onClick:a,children:n.jsx("span",{children:r})})});Vt.displayName="TopNavBar";const Wt=R.forwardRef((e,s)=>{const{img:r,handleDialogButtonClick:a,handleCloseButtonClick:o,dialogHeader:d,dialogDescription:l,buttonIcon:c,buttonText:u}=e;return n.jsxs("div",{ref:s,className:"top-nav-container-mobile",children:[n.jsx("button",{className:"top-nav-container-close ds_xSmallSubheadEmphasized",onClick:o,children:"Close"}),n.jsx("div",{className:"ds-mb-4",children:n.jsx("img",{src:r,alt:"promotional_image",className:"top-nav-container-image"})}),n.jsxs("div",{children:[n.jsx("p",{className:"ds_xSmallTitle2Emphasized ds-mb-4",children:d}),n.jsx("p",{className:"ds_xSmallBodyRegular ds-mb-6",children:l})]}),n.jsxs("button",{className:"ds_MediumBodyEmphasized top-nav-container-action-button",onClick:a,children:[c?n.jsx("img",{src:c,alt:"whatsapp"}):"",u]})]})});Wt.displayName="TopNavContainerMobile";const qt=R.forwardRef((e,s)=>{const{img:r,handleDialogButtonClick:a,dialogHeader:o,dialogDescription:d,buttonIcon:l,buttonText:c}=e;return n.jsxs("div",{ref:s,className:"two-column-dialog-container ds-flex",children:[n.jsx("div",{children:n.jsx("img",{src:r,alt:"promotional_image",className:"two-column-dialog-image"})}),n.jsxs("div",{className:"two-column-dialog-action",children:[n.jsxs("div",{className:"two-column-dialog-text",children:[n.jsx("p",{className:"ds-desktop:ds_MediumTitle3Emphasized ds-tablet:ds_xSmallTitle3Emphasized ds-mb-4",children:o}),n.jsx("p",{className:"ds-desktop:ds_MediumSubheadRegular ds-tablet:ds_SmallSubheadRegular ds-mb-4",children:d})]}),n.jsxs("button",{className:"ds-desktop:ds_MediumBodyEmphasized ds-tablet:ds_SmallBodyEmphasized two-column-dialog-action-button",onClick:a,children:[l?n.jsx("img",{src:l,alt:"whatsapp"}):"",c]})]})]})});qt.displayName="TwoColumnDialog";const Gt=R.forwardRef((e,s)=>{const u=e,{show:r,handleClose:a,staticBackdrop:o,animation:d,children:l}=u,c=O(u,["show","handleClose","staticBackdrop","animation","children"]);return n.jsx("div",_e(F({ref:s,className:`modal-animated ${r?"show":""}`,onClick:o?void 0:a},c),{children:n.jsx("div",{className:`modal-animated-content ${d}`,onClick:p=>p.stopPropagation(),children:l})}))});Gt.displayName="AnimatedModal";exports.Accordion=It;exports.AlertDialog=Dt;exports.AnimatedModal=Gt;exports.Asterisk=Se;exports.BookingQuoteCard=zt;exports.Button=Ee;exports.Card=Et;exports.CardContent=Pt;exports.CardDescription=Nt;exports.CardFooter=At;exports.CardHeader=St;exports.CardTitle=Tt;exports.Dialog=Bt;exports.Grid=Mt;exports.ImageCarousel=Ft;exports.Input=Ct;exports.RoundedProgressBar=$e;exports.Stepper=$t;exports.Switch=Ot;exports.Timer=Lt;exports.TopNavBar=Vt;exports.TopNavContainerMobile=Wt;exports.TwoColumnDialog=qt;
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,15 @@ export declare interface AlertDialogProps {
|
|
|
37
37
|
onSecondaryBtnClick?: () => void;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
export declare const AnimatedModal: React_2.ForwardRefExoticComponent<AnimatedModalProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
|
|
42
|
+
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
43
|
+
show: boolean;
|
|
44
|
+
handleClose?: () => void;
|
|
45
|
+
staticBackdrop?: boolean;
|
|
46
|
+
animation?: 'slideDown' | 'fadeIn' | 'none';
|
|
47
|
+
}
|
|
48
|
+
|
|
40
49
|
export declare const Asterisk: React_2.ForwardRefExoticComponent<AsteriskProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
41
50
|
|
|
42
51
|
declare interface AsteriskProps {
|
|
@@ -179,4 +188,34 @@ export declare interface TimerProps {
|
|
|
179
188
|
outerDivClass?: string;
|
|
180
189
|
}
|
|
181
190
|
|
|
191
|
+
export declare const TopNavBar: React_2.ForwardRefExoticComponent<TopNavBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
192
|
+
|
|
193
|
+
export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
194
|
+
text?: string | ReactNode;
|
|
195
|
+
onNavBarClick?: () => void;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export declare const TopNavContainerMobile: React_2.ForwardRefExoticComponent<TopNavContainerMobileProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
199
|
+
|
|
200
|
+
export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLDivElement> {
|
|
201
|
+
img: string;
|
|
202
|
+
handleDialogButtonClick?: () => void;
|
|
203
|
+
handleCloseButtonClick?: () => void;
|
|
204
|
+
dialogHeader: string;
|
|
205
|
+
dialogDescription: string;
|
|
206
|
+
buttonIcon?: string;
|
|
207
|
+
buttonText: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export declare const TwoColumnDialog: React_2.ForwardRefExoticComponent<TwoColumnDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
211
|
+
|
|
212
|
+
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
213
|
+
img: string;
|
|
214
|
+
handleDialogButtonClick?: () => void;
|
|
215
|
+
dialogHeader: string;
|
|
216
|
+
dialogDescription: string;
|
|
217
|
+
buttonIcon?: string;
|
|
218
|
+
buttonText: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
182
221
|
export { }
|