rechtspilot-ui 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -0
- package/package.json +2 -3
- package/dist/rechtspilot-ui.umd.js +0 -286
- package/dist/stories/Button.stories.d.ts +0 -6
- package/dist/stories/Chat.stories.d.ts +0 -6
- package/dist/stories/Message.stories.d.ts +0 -7
- package/dist/stories/OptionButton.stories.d.ts +0 -6
- package/dist/stories/ReplyBadge.stories.d.ts +0 -6
- /package/dist/{rechtspilot-ui.es.js → index.es.js} +0 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap";
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rechtspilot-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Rechtspilot UI Library",
|
|
6
|
-
"
|
|
7
|
-
"module": "dist/rechtspilot-ui.es.js",
|
|
6
|
+
"module": "dist/index.es.js",
|
|
8
7
|
"types": "dist/index.d.ts",
|
|
9
8
|
"files": [
|
|
10
9
|
"dist"
|
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
(function(ae,G){typeof exports=="object"&&typeof module<"u"?G(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],G):(ae=typeof globalThis<"u"?globalThis:ae||self,G(ae["Rechtspilot UI Library"]={},ae.React))})(this,function(ae,G){"use strict";function yn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const X=yn(G);var kt={exports:{}},Ke={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Jt;function bn(){if(Jt)return Ke;Jt=1;var e=G,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(c,u,d){var f,g={},m=null,b=null;d!==void 0&&(m=""+d),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(b=u.ref);for(f in u)n.call(u,f)&&!s.hasOwnProperty(f)&&(g[f]=u[f]);if(c&&c.defaultProps)for(f in u=c.defaultProps,u)g[f]===void 0&&(g[f]=u[f]);return{$$typeof:t,type:c,key:m,ref:b,props:g,_owner:a.current}}return Ke.Fragment=r,Ke.jsx=i,Ke.jsxs=i,Ke}var Ze={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Qt;function vn(){return Qt||(Qt=1,process.env.NODE_ENV!=="production"&&function(){var e=G,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),R=Symbol.iterator,x="@@iterator";function k(o){if(o===null||typeof o!="object")return null;var l=R&&o[R]||o[x];return typeof l=="function"?l:null}var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(o){{for(var l=arguments.length,p=new Array(l>1?l-1:0),v=1;v<l;v++)p[v-1]=arguments[v];T("error",o,p)}}function T(o,l,p){{var v=w.ReactDebugCurrentFrame,I=v.getStackAddendum();I!==""&&(l+="%s",p=p.concat([I]));var M=p.map(function(A){return String(A)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}var P=!1,N=!1,j=!1,C=!1,ne=!1,te;te=Symbol.for("react.module.reference");function Ae(o){return!!(typeof o=="string"||typeof o=="function"||o===n||o===s||ne||o===a||o===d||o===f||C||o===b||P||N||j||typeof o=="object"&&o!==null&&(o.$$typeof===m||o.$$typeof===g||o.$$typeof===i||o.$$typeof===c||o.$$typeof===u||o.$$typeof===te||o.getModuleId!==void 0))}function Te(o,l,p){var v=o.displayName;if(v)return v;var I=l.displayName||l.name||"";return I!==""?p+"("+I+")":p}function $(o){return o.displayName||"Context"}function q(o){if(o==null)return null;if(typeof o.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case n:return"Fragment";case r:return"Portal";case s:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case c:var l=o;return $(l)+".Consumer";case i:var p=o;return $(p._context)+".Provider";case u:return Te(o,o.render,"ForwardRef");case g:var v=o.displayName||null;return v!==null?v:q(o.type)||"Memo";case m:{var I=o,M=I._payload,A=I._init;try{return q(A(M))}catch{return null}}}return null}var Q=Object.assign,pe=0,ge,me,ye,Y,ie,U,K;function Ge(){}Ge.__reactDisabledLog=!0;function tt(){{if(pe===0){ge=console.log,me=console.info,ye=console.warn,Y=console.error,ie=console.group,U=console.groupCollapsed,K=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Ge,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}pe++}}function He(){{if(pe--,pe===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},o,{value:ge}),info:Q({},o,{value:me}),warn:Q({},o,{value:ye}),error:Q({},o,{value:Y}),group:Q({},o,{value:ie}),groupCollapsed:Q({},o,{value:U}),groupEnd:Q({},o,{value:K})})}pe<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=w.ReactCurrentDispatcher,Ce;function ce(o,l,p){{if(Ce===void 0)try{throw Error()}catch(I){var v=I.stack.trim().match(/\n( *(at )?)/);Ce=v&&v[1]||""}return`
|
|
18
|
-
`+Ce+o}}var le=!1,Se;{var Ye=typeof WeakMap=="function"?WeakMap:Map;Se=new Ye}function ue(o,l){if(!o||le)return"";{var p=Se.get(o);if(p!==void 0)return p}var v;le=!0;var I=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=be.current,be.current=null,tt();try{if(l){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(ee){v=ee}Reflect.construct(o,[],A)}else{try{A.call()}catch(ee){v=ee}o.call(A.prototype)}}else{try{throw Error()}catch(ee){v=ee}o()}}catch(ee){if(ee&&v&&typeof ee.stack=="string"){for(var _=ee.stack.split(`
|
|
19
|
-
`),Z=v.stack.split(`
|
|
20
|
-
`),F=_.length-1,B=Z.length-1;F>=1&&B>=0&&_[F]!==Z[B];)B--;for(;F>=1&&B>=0;F--,B--)if(_[F]!==Z[B]){if(F!==1||B!==1)do if(F--,B--,B<0||_[F]!==Z[B]){var oe=`
|
|
21
|
-
`+_[F].replace(" at new "," at ");return o.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",o.displayName)),typeof o=="function"&&Se.set(o,oe),oe}while(F>=1&&B>=0);break}}}finally{le=!1,be.current=M,He(),Error.prepareStackTrace=I}var qe=o?o.displayName||o.name:"",Oe=qe?ce(qe):"";return typeof o=="function"&&Se.set(o,Oe),Oe}function Ha(o,l,p){return ue(o,!1)}function Ya(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function Ct(o,l,p){if(o==null)return"";if(typeof o=="function")return ue(o,Ya(o));if(typeof o=="string")return ce(o);switch(o){case d:return ce("Suspense");case f:return ce("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case u:return Ha(o.render);case g:return Ct(o.type,l,p);case m:{var v=o,I=v._payload,M=v._init;try{return Ct(M(I),l,p)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,nn={},on=w.ReactDebugCurrentFrame;function St(o){if(o){var l=o._owner,p=Ct(o.type,o._source,l?l.type:null);on.setExtraStackFrame(p)}else on.setExtraStackFrame(null)}function Ua(o,l,p,v,I){{var M=Function.call.bind(rt);for(var A in o)if(M(o,A)){var _=void 0;try{if(typeof o[A]!="function"){var Z=Error((v||"React class")+": "+p+" type `"+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[A]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}_=o[A](l,A,v,p,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(F){_=F}_&&!(_ instanceof Error)&&(St(I),y("%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).",v||"React class",p,A,typeof _),St(null)),_ instanceof Error&&!(_.message in nn)&&(nn[_.message]=!0,St(I),y("Failed %s type: %s",p,_.message),St(null))}}}var qa=Array.isArray;function Yt(o){return qa(o)}function Ka(o){{var l=typeof Symbol=="function"&&Symbol.toStringTag,p=l&&o[Symbol.toStringTag]||o.constructor.name||"Object";return p}}function Za(o){try{return an(o),!1}catch{return!0}}function an(o){return""+o}function sn(o){if(Za(o))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ka(o)),an(o)}var nt=w.ReactCurrentOwner,Xa={key:!0,ref:!0,__self:!0,__source:!0},cn,ln,Ut;Ut={};function Ja(o){if(rt.call(o,"ref")){var l=Object.getOwnPropertyDescriptor(o,"ref").get;if(l&&l.isReactWarning)return!1}return o.ref!==void 0}function Qa(o){if(rt.call(o,"key")){var l=Object.getOwnPropertyDescriptor(o,"key").get;if(l&&l.isReactWarning)return!1}return o.key!==void 0}function es(o,l){if(typeof o.ref=="string"&&nt.current&&l&&nt.current.stateNode!==l){var p=q(nt.current.type);Ut[p]||(y('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',q(nt.current.type),o.ref),Ut[p]=!0)}}function ts(o,l){{var p=function(){cn||(cn=!0,y("%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)",l))};p.isReactWarning=!0,Object.defineProperty(o,"key",{get:p,configurable:!0})}}function rs(o,l){{var p=function(){ln||(ln=!0,y("%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)",l))};p.isReactWarning=!0,Object.defineProperty(o,"ref",{get:p,configurable:!0})}}var ns=function(o,l,p,v,I,M,A){var _={$$typeof:t,type:o,key:l,ref:p,props:A,_owner:M};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:I}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function os(o,l,p,v,I){{var M,A={},_=null,Z=null;p!==void 0&&(sn(p),_=""+p),Qa(l)&&(sn(l.key),_=""+l.key),Ja(l)&&(Z=l.ref,es(l,I));for(M in l)rt.call(l,M)&&!Xa.hasOwnProperty(M)&&(A[M]=l[M]);if(o&&o.defaultProps){var F=o.defaultProps;for(M in F)A[M]===void 0&&(A[M]=F[M])}if(_||Z){var B=typeof o=="function"?o.displayName||o.name||"Unknown":o;_&&ts(A,B),Z&&rs(A,B)}return ns(o,_,Z,I,v,nt.current,A)}}var qt=w.ReactCurrentOwner,un=w.ReactDebugCurrentFrame;function Ue(o){if(o){var l=o._owner,p=Ct(o.type,o._source,l?l.type:null);un.setExtraStackFrame(p)}else un.setExtraStackFrame(null)}var Kt;Kt=!1;function Zt(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function dn(){{if(qt.current){var o=q(qt.current.type);if(o)return`
|
|
22
|
-
|
|
23
|
-
Check the render method of \``+o+"`."}return""}}function as(o){return""}var pn={};function ss(o){{var l=dn();if(!l){var p=typeof o=="string"?o:o.displayName||o.name;p&&(l=`
|
|
24
|
-
|
|
25
|
-
Check the top-level render call using <`+p+">.")}return l}}function fn(o,l){{if(!o._store||o._store.validated||o.key!=null)return;o._store.validated=!0;var p=ss(l);if(pn[p])return;pn[p]=!0;var v="";o&&o._owner&&o._owner!==qt.current&&(v=" It was passed a child from "+q(o._owner.type)+"."),Ue(o),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',p,v),Ue(null)}}function hn(o,l){{if(typeof o!="object")return;if(Yt(o))for(var p=0;p<o.length;p++){var v=o[p];Zt(v)&&fn(v,l)}else if(Zt(o))o._store&&(o._store.validated=!0);else if(o){var I=k(o);if(typeof I=="function"&&I!==o.entries)for(var M=I.call(o),A;!(A=M.next()).done;)Zt(A.value)&&fn(A.value,l)}}}function is(o){{var l=o.type;if(l==null||typeof l=="string")return;var p;if(typeof l=="function")p=l.propTypes;else if(typeof l=="object"&&(l.$$typeof===u||l.$$typeof===g))p=l.propTypes;else return;if(p){var v=q(l);Ua(p,o.props,"prop",v,o)}else if(l.PropTypes!==void 0&&!Kt){Kt=!0;var I=q(l);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",I||"Unknown")}typeof l.getDefaultProps=="function"&&!l.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function cs(o){{for(var l=Object.keys(o.props),p=0;p<l.length;p++){var v=l[p];if(v!=="children"&&v!=="key"){Ue(o),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",v),Ue(null);break}}o.ref!==null&&(Ue(o),y("Invalid attribute `ref` supplied to `React.Fragment`."),Ue(null))}}var gn={};function mn(o,l,p,v,I,M){{var A=Ae(o);if(!A){var _="";(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(_+=" 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 Z=as();Z?_+=Z:_+=dn();var F;o===null?F="null":Yt(o)?F="array":o!==void 0&&o.$$typeof===t?(F="<"+(q(o.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):F=typeof o,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",F,_)}var B=os(o,l,p,I,M);if(B==null)return B;if(A){var oe=l.children;if(oe!==void 0)if(v)if(Yt(oe)){for(var qe=0;qe<oe.length;qe++)hn(oe[qe],o);Object.freeze&&Object.freeze(oe)}else y("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 hn(oe,o)}if(rt.call(l,"key")){var Oe=q(o),ee=Object.keys(l).filter(function(hs){return hs!=="key"}),Xt=ee.length>0?"{key: someKey, "+ee.join(": ..., ")+": ...}":"{key: someKey}";if(!gn[Oe+Xt]){var fs=ee.length>0?"{"+ee.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
|
|
26
|
-
let props = %s;
|
|
27
|
-
<%s {...props} />
|
|
28
|
-
React keys must be passed directly to JSX without using spread:
|
|
29
|
-
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Xt,Oe,fs,Oe),gn[Oe+Xt]=!0}}return o===n?cs(B):is(B),B}}function ls(o,l,p){return mn(o,l,p,!0)}function us(o,l,p){return mn(o,l,p,!1)}var ds=us,ps=ls;Ze.Fragment=n,Ze.jsx=ds,Ze.jsxs=ps}()),Ze}process.env.NODE_ENV==="production"?kt.exports=bn():kt.exports=vn();var h=kt.exports;function xn(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function wn(...e){return t=>e.forEach(r=>xn(r,t))}var er=X.forwardRef((e,t)=>{const{children:r,...n}=e,a=X.Children.toArray(r),s=a.find(Sn);if(s){const i=s.props.children,c=a.map(u=>u===s?X.Children.count(i)>1?X.Children.only(null):X.isValidElement(i)?i.props.children:null:u);return h.jsx(Et,{...n,ref:t,children:X.isValidElement(i)?X.cloneElement(i,void 0,c):null})}return h.jsx(Et,{...n,ref:t,children:r})});er.displayName="Slot";var Et=X.forwardRef((e,t)=>{const{children:r,...n}=e;if(X.isValidElement(r)){const a=En(r);return X.cloneElement(r,{...kn(n,r.props),ref:t?wn(t,a):a})}return X.Children.count(r)>1?X.Children.only(null):null});Et.displayName="SlotClone";var Cn=({children:e})=>h.jsx(h.Fragment,{children:e});function Sn(e){return X.isValidElement(e)&&e.type===Cn}function kn(e,t){const r={...t};for(const n in t){const a=e[n],s=t[n];/^on[A-Z]/.test(n)?a&&s?r[n]=(...c)=>{s(...c),a(...c)}:a&&(r[n]=a):n==="style"?r[n]={...a,...s}:n==="className"&&(r[n]=[a,s].filter(Boolean).join(" "))}return{...e,...r}}function En(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function tr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=tr(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Rn(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=tr(e))&&(n&&(n+=" "),n+=t);return n}const rr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,nr=Rn,jn=((e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return nr(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:s}=t,i=Object.keys(a).map(d=>{const f=r==null?void 0:r[d],g=s==null?void 0:s[d];if(f===null)return null;const m=rr(f)||rr(g);return a[d][m]}),c=r&&Object.entries(r).reduce((d,f)=>{let[g,m]=f;return m===void 0||(d[g]=m),d},{}),u=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:g,className:m,...b}=f;return Object.entries(b).every(R=>{let[x,k]=R;return Array.isArray(k)?k.includes({...s,...c}[x]):{...s,...c}[x]===k})?[...d,g,m]:d},[]);return nr(e,i,u,r==null?void 0:r.class,r==null?void 0:r.className)})(`px-[23px] py-[18px] inline-flex items-center justify-center whitespace-nowrap rounded ring-offset-background
|
|
31
|
-
transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2
|
|
32
|
-
disabled:pointer-events-none disabled:opacity-50 prose-mobile-label-2`,{variants:{variant:{...{default:"bg-sf-primary text-fg-primary border border-primary-600 box-border"}},fullWidth:{true:"w-full"}},defaultVariants:{variant:"default",fullWidth:!1}});function or(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=or(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function _n(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=or(e))&&(n&&(n+=" "),n+=t);return n}const Rt="-",Pn=e=>{const t=Tn(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{const c=i.split(Rt);return c[0]===""&&c.length!==1&&c.shift(),ar(c,t)||An(i)},getConflictingClassGroupIds:(i,c)=>{const u=r[i]||[];return c&&n[i]?[...u,...n[i]]:u}}},ar=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?ar(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(Rt);return(i=t.validators.find(({validator:c})=>c(s)))==null?void 0:i.classGroupId},sr=/^\[(.+)\]$/,An=e=>{if(sr.test(e)){const t=sr.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Tn=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return In(Object.entries(e.classGroups),r).forEach(([s,i])=>{jt(i,n,s,t)}),n},jt=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:ir(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(On(a)){jt(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,i])=>{jt(i,ir(t,s),r,n)})})},ir=(e,t)=>{let r=e;return t.split(Rt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},On=e=>e.isThemeGetter,In=(e,t)=>t?e.map(([r,n])=>{const a=n.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,c])=>[t+i,c])):s);return[r,a]}):e,Nn=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=n.get(s))!==void 0)return a(s,i),i},set(s,i){r.has(s)?r.set(s,i):a(s,i)}}},cr="!",$n=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],s=t.length,i=c=>{const u=[];let d=0,f=0,g;for(let k=0;k<c.length;k++){let w=c[k];if(d===0){if(w===a&&(n||c.slice(k,k+s)===t)){u.push(c.slice(f,k)),f=k+s;continue}if(w==="/"){g=k;continue}}w==="["?d++:w==="]"&&d--}const m=u.length===0?c:c.substring(f),b=m.startsWith(cr),R=b?m.substring(1):m,x=g&&g>f?g-f:void 0;return{modifiers:u,hasImportantModifier:b,baseClassName:R,maybePostfixModifierPosition:x}};return r?c=>r({className:c,parseClassName:i}):i},Mn=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Dn=e=>({cache:Nn(e.cacheSize),parseClassName:$n(e),...Pn(e)}),Vn=/\s+/,zn=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,s=[],i=e.trim().split(Vn);let c="";for(let u=i.length-1;u>=0;u-=1){const d=i[u],{modifiers:f,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:b}=r(d);let R=!!b,x=n(R?m.substring(0,b):m);if(!x){if(!R){c=d+(c.length>0?" "+c:c);continue}if(x=n(m),!x){c=d+(c.length>0?" "+c:c);continue}R=!1}const k=Mn(f).join(":"),w=g?k+cr:k,y=w+x;if(s.includes(y))continue;s.push(y);const T=a(x,R);for(let P=0;P<T.length;++P){const N=T[P];s.push(w+N)}c=d+(c.length>0?" "+c:c)}return c};function Ln(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=lr(t))&&(n&&(n+=" "),n+=r);return n}const lr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=lr(e[n]))&&(r&&(r+=" "),r+=t);return r};function Fn(e,...t){let r,n,a,s=i;function i(u){const d=t.reduce((f,g)=>g(f),e());return r=Dn(d),n=r.cache.get,a=r.cache.set,s=c,c(u)}function c(u){const d=n(u);if(d)return d;const f=zn(u,r);return a(u,f),f}return function(){return s(Ln.apply(null,arguments))}}const D=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},ur=/^\[(?:([a-z-]+):)?(.+)\]$/i,Wn=/^\d+\/\d+$/,Bn=new Set(["px","full","screen"]),Gn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hn=/\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$/,Yn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Un=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,fe=e=>Ie(e)||Bn.has(e)||Wn.test(e),ve=e=>Ne(e,"length",ro),Ie=e=>!!e&&!Number.isNaN(Number(e)),_t=e=>Ne(e,"number",Ie),Xe=e=>!!e&&Number.isInteger(Number(e)),Kn=e=>e.endsWith("%")&&Ie(e.slice(0,-1)),S=e=>ur.test(e),xe=e=>Gn.test(e),Zn=new Set(["length","size","percentage"]),Xn=e=>Ne(e,Zn,dr),Jn=e=>Ne(e,"position",dr),Qn=new Set(["image","url"]),eo=e=>Ne(e,Qn,oo),to=e=>Ne(e,"",no),Je=()=>!0,Ne=(e,t,r)=>{const n=ur.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},ro=e=>Hn.test(e)&&!Yn.test(e),dr=()=>!1,no=e=>Un.test(e),oo=e=>qn.test(e),ao=Fn(()=>{const e=D("colors"),t=D("spacing"),r=D("blur"),n=D("brightness"),a=D("borderColor"),s=D("borderRadius"),i=D("borderSpacing"),c=D("borderWidth"),u=D("contrast"),d=D("grayscale"),f=D("hueRotate"),g=D("invert"),m=D("gap"),b=D("gradientColorStops"),R=D("gradientColorStopPositions"),x=D("inset"),k=D("margin"),w=D("opacity"),y=D("padding"),T=D("saturate"),P=D("scale"),N=D("sepia"),j=D("skew"),C=D("space"),ne=D("translate"),te=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Te=()=>["auto",S,t],$=()=>[S,t],q=()=>["",fe,ve],Q=()=>["auto",Ie,S],pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ge=()=>["solid","dashed","dotted","double","none"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",S],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Ie,S];return{cacheSize:500,separator:":",theme:{colors:[Je],spacing:[fe,ve],blur:["none","",xe,S],brightness:U(),borderColor:[e],borderRadius:["none","","full",xe,S],borderSpacing:$(),borderWidth:q(),contrast:U(),grayscale:Y(),hueRotate:U(),invert:Y(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[Kn,ve],inset:Te(),margin:Te(),opacity:U(),padding:$(),saturate:U(),scale:U(),sepia:Y(),skew:U(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",S]}],container:["container"],columns:[{columns:[xe]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...pe(),S]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-y":[{"overflow-y":Ae()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Xe,S]}],basis:[{basis:Te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",S]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",Xe,S]}],"grid-cols":[{"grid-cols":[Je]}],"col-start-end":[{col:["auto",{span:["full",Xe,S]},S]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[Je]}],"row-start-end":[{row:["auto",{span:[Xe,S]},S]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",S]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",S]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...ye()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ye(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ye(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",S,t]}],"min-w":[{"min-w":[S,t,"min","max","fit"]}],"max-w":[{"max-w":[S,t,"none","full","min","max","fit","prose",{screen:[xe]},xe]}],h:[{h:[S,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[S,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[S,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[S,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xe,ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_t]}],"font-family":[{font:[Je]}],"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",S]}],"line-clamp":[{"line-clamp":["none",Ie,_t]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",fe,S]}],"list-image":[{"list-image":["none",S]}],"list-style-type":[{list:["none","disc","decimal",S]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",fe,ve]}],"underline-offset":[{"underline-offset":["auto",fe,S]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",S]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",S]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pe(),Jn]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xn]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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":[w]}],"border-style":[{border:[...ge(),"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":[w]}],"divide-style":[{divide:ge()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ge()]}],"outline-offset":[{"outline-offset":[fe,S]}],"outline-w":[{outline:[fe,ve]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[fe,ve]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xe,to]}],"shadow-color":[{shadow:[Je]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",xe,S]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[T]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"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",S]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",S]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",S]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[Xe,S]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",S]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",S]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",S]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[fe,ve,_t]}],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"]}}});function pr(...e){return ao(_n(e))}const so=X.forwardRef(({label:e,className:t,variant:r,fullWidth:n,asChild:a=!1,...s},i)=>{const c=a?er:"button";return h.jsx(c,{className:pr(jn({variant:r,fullWidth:n,className:t})),ref:i,...s,children:e})});var J=function(){return J=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},J.apply(this,arguments)};function $e(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,s;n<a;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function io(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var co=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lo=io(function(e){return co.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),V="-ms-",Qe="-moz-",O="-webkit-",fr="comm",ot="rule",Pt="decl",uo="@import",hr="@keyframes",po="@layer",gr=Math.abs,At=String.fromCharCode,Tt=Object.assign;function fo(e,t){return H(e,0)^45?(((t<<2^H(e,0))<<2^H(e,1))<<2^H(e,2))<<2^H(e,3):0}function mr(e){return e.trim()}function he(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,r){return e.replace(t,r)}function at(e,t,r){return e.indexOf(t,r)}function H(e,t){return e.charCodeAt(t)|0}function Me(e,t,r){return e.slice(t,r)}function de(e){return e.length}function yr(e){return e.length}function et(e,t){return t.push(e),e}function ho(e,t){return e.map(t).join("")}function br(e,t){return e.filter(function(r){return!he(r,t)})}var st=1,De=1,vr=0,re=0,W=0,Ve="";function it(e,t,r,n,a,s,i,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:st,column:De,length:i,return:"",siblings:c}}function we(e,t){return Tt(it("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ze(e){for(;e.root;)e=we(e.root,{children:[e]});et(e,e.siblings)}function go(){return W}function mo(){return W=re>0?H(Ve,--re):0,De--,W===10&&(De=1,st--),W}function se(){return W=re<vr?H(Ve,re++):0,De++,W===10&&(De=1,st++),W}function ke(){return H(Ve,re)}function ct(){return re}function lt(e,t){return Me(Ve,e,t)}function Ot(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function yo(e){return st=De=1,vr=de(Ve=e),re=0,[]}function bo(e){return Ve="",e}function It(e){return mr(lt(re-1,Nt(e===91?e+2:e===40?e+1:e)))}function vo(e){for(;(W=ke())&&W<33;)se();return Ot(e)>2||Ot(W)>3?"":" "}function xo(e,t){for(;--t&&se()&&!(W<48||W>102||W>57&&W<65||W>70&&W<97););return lt(e,ct()+(t<6&&ke()==32&&se()==32))}function Nt(e){for(;se();)switch(W){case e:return re;case 34:case 39:e!==34&&e!==39&&Nt(W);break;case 40:e===41&&Nt(e);break;case 92:se();break}return re}function wo(e,t){for(;se()&&e+W!==57;)if(e+W===84&&ke()===47)break;return"/*"+lt(t,re-1)+"*"+At(e===47?e:se())}function Co(e){for(;!Ot(ke());)se();return lt(e,re)}function So(e){return bo(ut("",null,null,null,[""],e=yo(e),0,[0],e))}function ut(e,t,r,n,a,s,i,c,u){for(var d=0,f=0,g=i,m=0,b=0,R=0,x=1,k=1,w=1,y=0,T="",P=a,N=s,j=n,C=T;k;)switch(R=y,y=se()){case 40:if(R!=108&&H(C,g-1)==58){at(C+=E(It(y),"&","&\f"),"&\f",gr(d?c[d-1]:0))!=-1&&(w=-1);break}case 34:case 39:case 91:C+=It(y);break;case 9:case 10:case 13:case 32:C+=vo(R);break;case 92:C+=xo(ct()-1,7);continue;case 47:switch(ke()){case 42:case 47:et(ko(wo(se(),ct()),t,r,u),u);break;default:C+="/"}break;case 123*x:c[d++]=de(C)*w;case 125*x:case 59:case 0:switch(y){case 0:case 125:k=0;case 59+f:w==-1&&(C=E(C,/\f/g,"")),b>0&&de(C)-g&&et(b>32?wr(C+";",n,r,g-1,u):wr(E(C," ","")+";",n,r,g-2,u),u);break;case 59:C+=";";default:if(et(j=xr(C,t,r,d,f,a,c,T,P=[],N=[],g,s),s),y===123)if(f===0)ut(C,t,j,j,P,s,g,c,N);else switch(m===99&&H(C,3)===110?100:m){case 100:case 108:case 109:case 115:ut(e,j,j,n&&et(xr(e,j,j,0,0,a,c,T,a,P=[],g,N),N),a,N,g,c,n?P:N);break;default:ut(C,j,j,j,[""],N,0,c,N)}}d=f=b=0,x=w=1,T=C="",g=i;break;case 58:g=1+de(C),b=R;default:if(x<1){if(y==123)--x;else if(y==125&&x++==0&&mo()==125)continue}switch(C+=At(y),y*x){case 38:w=f>0?1:(C+="\f",-1);break;case 44:c[d++]=(de(C)-1)*w,w=1;break;case 64:ke()===45&&(C+=It(se())),m=ke(),f=g=de(T=C+=Co(ct())),y++;break;case 45:R===45&&de(C)==2&&(x=0)}}return s}function xr(e,t,r,n,a,s,i,c,u,d,f,g){for(var m=a-1,b=a===0?s:[""],R=yr(b),x=0,k=0,w=0;x<n;++x)for(var y=0,T=Me(e,m+1,m=gr(k=i[x])),P=e;y<R;++y)(P=mr(k>0?b[y]+" "+T:E(T,/&\f/g,b[y])))&&(u[w++]=P);return it(e,t,r,a===0?ot:c,u,d,f,g)}function ko(e,t,r,n){return it(e,t,r,fr,At(go()),Me(e,2,-2),0,n)}function wr(e,t,r,n,a){return it(e,t,r,Pt,Me(e,0,n),Me(e,n+1,-1),n,a)}function Cr(e,t,r){switch(fo(e,t)){case 5103:return O+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+e+e;case 4789:return Qe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+Qe+e+V+e+e;case 5936:switch(H(e,t+11)){case 114:return O+e+V+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+V+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+V+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return O+e+V+e+e;case 6165:return O+e+V+"flex-"+e+e;case 5187:return O+e+E(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return O+e+V+"flex-item-"+E(e,/flex-|-self/g,"")+(he(e,/flex-|baseline/)?"":V+"grid-row-"+E(e,/flex-|-self/g,""))+e;case 4675:return O+e+V+"flex-line-pack"+E(e,/align-content|flex-|-self/g,"")+e;case 5548:return O+e+V+E(e,"shrink","negative")+e;case 5292:return O+e+V+E(e,"basis","preferred-size")+e;case 6060:return O+"box-"+E(e,"-grow","")+O+e+V+E(e,"grow","positive")+e;case 4554:return O+E(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4200:if(!he(e,/flex-|baseline/))return V+"grid-column-align"+Me(e,t)+e;break;case 2592:case 3360:return V+E(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,he(n.props,/grid-\w+-end/)})?~at(e+(r=r[t].value),"span",0)?e:V+E(e,"-start","")+e+V+"grid-row-span:"+(~at(r,"span",0)?he(r,/\d+/):+he(r,/\d+/)-+he(e,/\d+/))+";":V+E(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return he(n.props,/grid-\w+-start/)})?e:V+E(E(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,O+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(de(e)-1-t>6)switch(H(e,t+1)){case 109:if(H(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+Qe+(H(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~at(e,"stretch",0)?Cr(E(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return E(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,s,i,c,u,d){return V+a+":"+s+d+(i?V+a+"-span:"+(c?u:+u-+s)+d:"")+e});case 4949:if(H(e,t+6)===121)return E(e,":",":"+O)+e;break;case 6444:switch(H(e,H(e,14)===45?18:11)){case 120:return E(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+O+(H(e,14)===45?"inline-":"")+"box$3$1"+O+"$2$3$1"+V+"$2box$3")+e;case 100:return E(e,":",":"+V)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return E(e,"scroll-","scroll-snap-")+e}return e}function dt(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Eo(e,t,r,n){switch(e.type){case po:if(e.children.length)break;case uo:case Pt:return e.return=e.return||e.value;case fr:return"";case hr:return e.return=e.value+"{"+dt(e.children,n)+"}";case ot:if(!de(e.value=e.props.join(",")))return""}return de(r=dt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ro(e){var t=yr(e);return function(r,n,a,s){for(var i="",c=0;c<t;c++)i+=e[c](r,n,a,s)||"";return i}}function jo(e){return function(t){t.root||(t=t.return)&&e(t)}}function _o(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Pt:e.return=Cr(e.value,e.length,r);return;case hr:return dt([we(e,{value:E(e.value,"@","@"+O)})],n);case ot:if(e.length)return ho(r=e.props,function(a){switch(he(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ze(we(e,{props:[E(a,/:(read-\w+)/,":"+Qe+"$1")]})),ze(we(e,{props:[a]})),Tt(e,{props:br(r,n)});break;case"::placeholder":ze(we(e,{props:[E(a,/:(plac\w+)/,":"+O+"input-$1")]})),ze(we(e,{props:[E(a,/:(plac\w+)/,":"+Qe+"$1")]})),ze(we(e,{props:[E(a,/:(plac\w+)/,V+"input-$1")]})),ze(we(e,{props:[a]})),Tt(e,{props:br(r,n)});break}return""})}}var Po={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ee=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Sr="active",kr="data-styled-version",pt="6.1.13",$t=`/*!sc*/
|
|
33
|
-
`,ft=typeof window<"u"&&"HTMLElement"in window,Ao=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Er=/invalid hook call/i,ht=new Set,To=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
34
|
-
`)+`You may see this warning because you've called styled inside another component.
|
|
35
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,a=console.error;try{var s=!0;console.error=function(i){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];Er.test(i)?(s=!1,ht.delete(n)):a.apply(void 0,$e([i],c,!1))},G.useRef(),s&&!ht.has(n)&&(console.warn(n),ht.add(n))}catch(i){Er.test(i.message)&&ht.delete(n)}finally{console.error=a}}},gt=Object.freeze([]),Le=Object.freeze({});function Oo(e,t,r){return r===void 0&&(r=Le),e.theme!==r.theme&&e.theme||t||r.theme}var Mt=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Io=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,No=/(^-|-$)/g;function Rr(e){return e.replace(Io,"-").replace(No,"")}var $o=/(a)(d)/gi,mt=52,jr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Dt(e){var t,r="";for(t=Math.abs(e);t>mt;t=t/mt|0)r=jr(t%mt)+r;return(jr(t%mt)+r).replace($o,"$1-$2")}var Vt,_r=5381,Re=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Pr=function(e){return Re(_r,e)};function Mo(e){return Dt(Pr(e)>>>0)}function Ar(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function zt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Tr=typeof Symbol=="function"&&Symbol.for,Or=Tr?Symbol.for("react.memo"):60115,Do=Tr?Symbol.for("react.forward_ref"):60112,Vo={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zo={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ir={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lo=((Vt={})[Do]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vt[Or]=Ir,Vt);function Nr(e){return("type"in(t=e)&&t.type.$$typeof)===Or?Ir:"$$typeof"in e?Lo[e.$$typeof]:Vo;var t}var Fo=Object.defineProperty,Wo=Object.getOwnPropertyNames,$r=Object.getOwnPropertySymbols,Bo=Object.getOwnPropertyDescriptor,Go=Object.getPrototypeOf,Mr=Object.prototype;function Dr(e,t,r){if(typeof t!="string"){if(Mr){var n=Go(t);n&&n!==Mr&&Dr(e,n,r)}var a=Wo(t);$r&&(a=a.concat($r(t)));for(var s=Nr(e),i=Nr(t),c=0;c<a.length;++c){var u=a[c];if(!(u in zo||r&&r[u]||i&&u in i||s&&u in s)){var d=Bo(t,u);try{Fo(e,u,d)}catch{}}}}return e}function Fe(e){return typeof e=="function"}function Lt(e){return typeof e=="object"&&"styledComponentId"in e}function je(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Vr(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function We(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Ft(e,t,r){if(r===void 0&&(r=!1),!r&&!We(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Ft(e[n],t[n]);else if(We(t))for(var n in t)e[n]=Ft(e[n],t[n]);return e}function Wt(e,t){Object.defineProperty(e,"toString",{value:t})}var Ho=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
36
|
-
|
|
37
|
-
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
38
|
-
|
|
39
|
-
- Are you trying to reuse it across renders?
|
|
40
|
-
- Are you accidentally calling collectStyles twice?
|
|
41
|
-
|
|
42
|
-
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
43
|
-
|
|
44
|
-
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
45
|
-
|
|
46
|
-
- Does this error occur on the client and is your target falsy?
|
|
47
|
-
- Does this error occur on the server and is the sheet falsy?
|
|
48
|
-
|
|
49
|
-
`,5:`The clone method cannot be used on the client!
|
|
50
|
-
|
|
51
|
-
- Are you running in a client-like environment on the server?
|
|
52
|
-
- Are you trying to run SSR on the client?
|
|
53
|
-
|
|
54
|
-
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
55
|
-
|
|
56
|
-
- Are you using a custom target that isn't mounted?
|
|
57
|
-
- Does your document not have a valid head element?
|
|
58
|
-
- Have you accidentally removed a style tag manually?
|
|
59
|
-
|
|
60
|
-
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
61
|
-
|
|
62
|
-
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
63
|
-
|
|
64
|
-
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
65
|
-
|
|
66
|
-
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
67
|
-
|
|
68
|
-
`,14:`ThemeProvider: "theme" prop is required.
|
|
69
|
-
|
|
70
|
-
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
71
|
-
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
72
|
-
as for instance in your render method then you may be running into this limitation.
|
|
73
|
-
|
|
74
|
-
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
75
|
-
Has styled-components' style tag been unmounted or altered by another script?
|
|
76
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Yo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],a=1,s=e.length;a<s;a+=1)n.push(e[a]);return n.forEach(function(i){r=r.replace(/%[a-z]/,i)}),r}function Be(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Yo.apply(void 0,$e([Ho[e]],t,!1)).trim())}var Uo=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,s=a;t>=s;)if((s<<=1)<0)throw Be(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var i=a;i<s;i++)this.groupSizes[i]=0}for(var c=this.indexOfGroup(t+1),u=(i=0,r.length);i<u;i++)this.tag.insertRule(c,r[i])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var s=n;s<a;s++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),s=a+n,i=a;i<s;i++)r+="".concat(this.tag.getRule(i)).concat($t);return r},e}(),qo=1<<30,yt=new Map,bt=new Map,vt=1,xt=function(e){if(yt.has(e))return yt.get(e);for(;bt.has(vt);)vt++;var t=vt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>qo))throw Be(16,"".concat(t));return yt.set(e,t),bt.set(t,e),t},Ko=function(e,t){vt=t+1,yt.set(e,t),bt.set(t,e)},Zo="style[".concat(Ee,"][").concat(kr,'="').concat(pt,'"]'),Xo=new RegExp("^".concat(Ee,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Jo=function(e,t,r){for(var n,a=r.split(","),s=0,i=a.length;s<i;s++)(n=a[s])&&e.registerName(t,n)},Qo=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split($t),a=[],s=0,i=n.length;s<i;s++){var c=n[s].trim();if(c){var u=c.match(Xo);if(u){var d=0|parseInt(u[1],10),f=u[2];d!==0&&(Ko(f,d),Jo(e,f,u[3]),e.getTag().insertRules(d,a)),a.length=0}else a.push(c)}}},zr=function(e){for(var t=document.querySelectorAll(Zo),r=0,n=t.length;r<n;r++){var a=t[r];a&&a.getAttribute(Ee)!==Sr&&(Qo(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function ea(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Lr=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(c){var u=Array.from(c.querySelectorAll("style[".concat(Ee,"]")));return u[u.length-1]}(r),s=a!==void 0?a.nextSibling:null;n.setAttribute(Ee,Sr),n.setAttribute(kr,pt);var i=ea();return i&&n.setAttribute("nonce",i),r.insertBefore(n,s),n},ta=function(){function e(t){this.element=Lr(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,a=0,s=n.length;a<s;a++){var i=n[a];if(i.ownerNode===r)return i}throw Be(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),ra=function(){function e(t){this.element=Lr(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),na=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Fr=ft,oa={isServer:!ft,useCSSOMInjection:!Ao},Wr=function(){function e(t,r,n){t===void 0&&(t=Le),r===void 0&&(r={});var a=this;this.options=J(J({},oa),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&ft&&Fr&&(Fr=!1,zr(this)),Wt(this,function(){return function(s){for(var i=s.getTag(),c=i.length,u="",d=function(g){var m=function(w){return bt.get(w)}(g);if(m===void 0)return"continue";var b=s.names.get(m),R=i.getGroup(g);if(b===void 0||!b.size||R.length===0)return"continue";var x="".concat(Ee,".g").concat(g,'[id="').concat(m,'"]'),k="";b!==void 0&&b.forEach(function(w){w.length>0&&(k+="".concat(w,","))}),u+="".concat(R).concat(x,'{content:"').concat(k,'"}').concat($t)},f=0;f<c;f++)d(f);return u}(a)})}return e.registerId=function(t){return xt(t)},e.prototype.rehydrate=function(){!this.server&&ft&&zr(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(J(J({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new na(a):n?new ta(a):new ra(a)}(this.options),new Uo(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(xt(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(xt(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(xt(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),aa=/&/g,sa=/^\s*\/\/.*$/gm;function Br(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Br(r.children,t)),r})}function ia(e){var t,r,n,a=Le,s=a.options,i=s===void 0?Le:s,c=a.plugins,u=c===void 0?gt:c,d=function(m,b,R){return R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(t):m},f=u.slice();f.push(function(m){m.type===ot&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(aa,r).replace(n,d))}),i.prefix&&f.push(_o),f.push(Eo);var g=function(m,b,R,x){b===void 0&&(b=""),R===void 0&&(R=""),x===void 0&&(x="&"),t=x,r=b,n=new RegExp("\\".concat(r,"\\b"),"g");var k=m.replace(sa,""),w=So(R||b?"".concat(R," ").concat(b," { ").concat(k," }"):k);i.namespace&&(w=Br(w,i.namespace));var y=[];return dt(w,Ro(f.concat(jo(function(T){return y.push(T)})))),y};return g.hash=u.length?u.reduce(function(m,b){return b.name||Be(15),Re(m,b.name)},_r).toString():"",g}var ca=new Wr,Bt=ia(),Gr=G.createContext({shouldForwardProp:void 0,styleSheet:ca,stylis:Bt});Gr.Consumer,G.createContext(void 0);function Hr(){return G.useContext(Gr)}var Yr=function(){function e(t,r){var n=this;this.inject=function(a,s){s===void 0&&(s=Bt);var i=n.name+s.hash;a.hasNameForId(n.id,i)||a.insertRules(n.id,i,s(n.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Wt(this,function(){throw Be(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Bt),this.name+t.hash},e}(),la=function(e){return e>="A"&&e<="Z"};function Ur(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;la(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var qr=function(e){return e==null||e===!1||e===""},Kr=function(e){var t,r,n=[];for(var a in e){var s=e[a];e.hasOwnProperty(a)&&!qr(s)&&(Array.isArray(s)&&s.isCss||Fe(s)?n.push("".concat(Ur(a),":"),s,";"):We(s)?n.push.apply(n,$e($e(["".concat(a," {")],Kr(s),!1),["}"],!1)):n.push("".concat(Ur(a),": ").concat((t=a,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Po||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function _e(e,t,r,n){if(qr(e))return[];if(Lt(e))return[".".concat(e.styledComponentId)];if(Fe(e)){if(!Fe(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof Yr||We(a)||a===null||console.error("".concat(Ar(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),_e(a,t,r,n)}var s;return e instanceof Yr?r?(e.inject(r,n),[e.getName(n)]):[e]:We(e)?Kr(e):Array.isArray(e)?Array.prototype.concat.apply(gt,e.map(function(i){return _e(i,t,r,n)})):[e.toString()]}function ua(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Fe(r)&&!Lt(r))return!1}return!0}var da=Pr(pt),pa=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&ua(t),this.componentId=r,this.baseHash=Re(da,r),this.baseStyle=n,Wr.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=je(a,this.staticRulesId);else{var s=Vr(_e(this.rules,t,r,n)),i=Dt(Re(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,i)){var c=n(s,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,c)}a=je(a,i),this.staticRulesId=i}else{for(var u=Re(this.baseHash,n.hash),d="",f=0;f<this.rules.length;f++){var g=this.rules[f];if(typeof g=="string")d+=g,process.env.NODE_ENV!=="production"&&(u=Re(u,g));else if(g){var m=Vr(_e(g,t,r,n));u=Re(u,m+f),d+=m}}if(d){var b=Dt(u>>>0);r.hasNameForId(this.componentId,b)||r.insertRules(this.componentId,b,n(d,".".concat(b),void 0,this.componentId)),a=je(a,b)}}return a},e}(),Zr=G.createContext(void 0);Zr.Consumer;var Gt={},Xr=new Set;function fa(e,t,r){var n=Lt(e),a=e,s=!zt(e),i=t.attrs,c=i===void 0?gt:i,u=t.componentId,d=u===void 0?function(P,N){var j=typeof P!="string"?"sc":Rr(P);Gt[j]=(Gt[j]||0)+1;var C="".concat(j,"-").concat(Mo(pt+j+Gt[j]));return N?"".concat(N,"-").concat(C):C}(t.displayName,t.parentComponentId):u,f=t.displayName,g=f===void 0?function(P){return zt(P)?"styled.".concat(P):"Styled(".concat(Ar(P),")")}(e):f,m=t.displayName&&t.componentId?"".concat(Rr(t.displayName),"-").concat(t.componentId):t.componentId||d,b=n&&a.attrs?a.attrs.concat(c).filter(Boolean):c,R=t.shouldForwardProp;if(n&&a.shouldForwardProp){var x=a.shouldForwardProp;if(t.shouldForwardProp){var k=t.shouldForwardProp;R=function(P,N){return x(P,N)&&k(P,N)}}else R=x}var w=new pa(r,m,n?a.componentStyle:void 0);function y(P,N){return function(j,C,ne){var te=j.attrs,Ae=j.componentStyle,Te=j.defaultProps,$=j.foldedComponentIds,q=j.styledComponentId,Q=j.target,pe=G.useContext(Zr),ge=Hr(),me=j.shouldForwardProp||ge.shouldForwardProp;process.env.NODE_ENV!=="production"&&G.useDebugValue(q);var ye=Oo(C,pe,Te)||Le,Y=function(He,be,Ce){for(var ce,le=J(J({},be),{className:void 0,theme:Ce}),Se=0;Se<He.length;Se+=1){var Ye=Fe(ce=He[Se])?ce(le):ce;for(var ue in Ye)le[ue]=ue==="className"?je(le[ue],Ye[ue]):ue==="style"?J(J({},le[ue]),Ye[ue]):Ye[ue]}return be.className&&(le.className=je(le.className,be.className)),le}(te,C,ye),ie=Y.as||Q,U={};for(var K in Y)Y[K]===void 0||K[0]==="$"||K==="as"||K==="theme"&&Y.theme===ye||(K==="forwardedAs"?U.as=Y.forwardedAs:me&&!me(K,ie)||(U[K]=Y[K],me||process.env.NODE_ENV!=="development"||lo(K)||Xr.has(K)||!Mt.has(ie)||(Xr.add(K),console.warn('styled-components: it looks like an unknown prop "'.concat(K,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Ge=function(He,be){var Ce=Hr(),ce=He.generateAndInjectStyles(be,Ce.styleSheet,Ce.stylis);return process.env.NODE_ENV!=="production"&&G.useDebugValue(ce),ce}(Ae,Y);process.env.NODE_ENV!=="production"&&j.warnTooManyClasses&&j.warnTooManyClasses(Ge);var tt=je($,q);return Ge&&(tt+=" "+Ge),Y.className&&(tt+=" "+Y.className),U[zt(ie)&&!Mt.has(ie)?"class":"className"]=tt,U.ref=ne,G.createElement(ie,U)}(T,P,N)}y.displayName=g;var T=G.forwardRef(y);return T.attrs=b,T.componentStyle=w,T.displayName=g,T.shouldForwardProp=R,T.foldedComponentIds=n?je(a.foldedComponentIds,a.styledComponentId):"",T.styledComponentId=m,T.target=n?a.target:e,Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(P){this._foldedDefaultProps=n?function(N){for(var j=[],C=1;C<arguments.length;C++)j[C-1]=arguments[C];for(var ne=0,te=j;ne<te.length;ne++)Ft(N,te[ne],!0);return N}({},a.defaultProps,P):P}}),process.env.NODE_ENV!=="production"&&(To(g,m),T.warnTooManyClasses=function(P,N){var j={},C=!1;return function(ne){if(!C&&(j[ne]=!0,Object.keys(j).length>=200)){var te=N?' with the id of "'.concat(N,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(P).concat(te,`.
|
|
77
|
-
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
78
|
-
Example:
|
|
79
|
-
const Component = styled.div.attrs(props => ({
|
|
80
|
-
style: {
|
|
81
|
-
background: props.background,
|
|
82
|
-
},
|
|
83
|
-
}))\`width: 100%;\`
|
|
84
|
-
|
|
85
|
-
<Component />`),C=!0,j={}}}}(g,m)),Wt(T,function(){return".".concat(T.styledComponentId)}),s&&Dr(T,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),T}function Jr(e,t){for(var r=[e[0]],n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}var Qr=function(e){return Object.assign(e,{isCss:!0})};function ha(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Fe(e)||We(e))return Qr(_e(Jr(gt,$e([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?_e(n):Qr(_e(Jr(n,t)))}function Ht(e,t,r){if(r===void 0&&(r=Le),!t)throw Be(1,t);var n=function(a){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,r,ha.apply(void 0,$e([a],s,!1)))};return n.attrs=function(a){return Ht(e,t,J(J({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},n.withConfig=function(a){return Ht(e,t,J(J({},r),a))},n}var en=function(e){return Ht(fa,e)},L=en;Mt.forEach(function(e){L[e]=en(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
86
|
-
Perhaps you're looking to import 'styled-components/native'?
|
|
87
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var wt="__sc-".concat(Ee,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[wt]||(window[wt]=0),window[wt]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
88
|
-
|
|
89
|
-
See https://s-c.sh/2BAXzed for more info.`),window[wt]+=1);const z={primary:{25:"hsla(100, 71%, 96%, 1)",50:"hsla(100, 31%, 92%, 1)",100:"hsla(100, 71%, 88%, 1)",200:"hsla(100, 71%, 84%, 1)",300:"hsla(100, 70%, 75%, 1)",400:"hsla(100, 71%, 67%, 1)",500:"hsla(100, 71%, 58%, 1)",600:"hsla(110, 51%, 47%, 1)",700:"hsla(110, 51%, 35%, 1)",800:"hsla(120, 50%, 24%, 1)",900:"hsla(130, 52%, 18%, 1)",950:"hsla(99, 51%, 12%, 1)"},fg:{primary:"hsla(130, 52%, 18%, 1)",secondary:"hsla(150, 8%, 39%, 1)",tertiary:"hsla(150, 5%, 64%, 1)",accent:{action:"hsla(110, 51%, 35%, 1)",error:"hsla(18, 100%, 50%, 1)"}},bg:{primary:"hsla(0, 0%, 100%, 1)",secondary:"hsla(100, 31%, 92%, 1)",elevated:"hsla(0, 0%, 100%, 0.6)"},sf:{primary:"hsla(100, 71%, 58%, 1)",secondary:"hsla(150, 7%, 12%, 1)",tertiary:"hsla(180, 7%, 97%, 1)",tertiaryHover:"hsla(180, 7%, 94%, 1)",light:{action:"hsla(100, 71%, 96%, 1)",error:"hsla(17, 100%, 97%, 1)"}},border:{default:"hsla(150, 5%, 91%, 1)",action:"hsla(110, 51%, 35%, 1)",error:"hsla(18, 100%, 50%, 1)"}},Pe={title:{fontFamily:"Lora",fontWeight:500,letterSpacing:"0px"},label:{fontFamily:"Inter",fontWeight:500},body:{fontFamily:"Inter",fontWeight:400},caption:{fontFamily:"Inter",fontWeight:400,fontSize:"12px",lineHeight:"15px"}},ga=({color:e=z.fg.tertiary,size:t=24})=>h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}`,height:`${t}`,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M14 2C11.2386 2 9 4.23858 9 7V15C9 16.6569 10.3431 18 12 18C13.6569 18 15 16.6569 15 15V7C15 6.44772 14.5523 6 14 6C13.4477 6 13 6.44772 13 7V15C13 15.5523 12.5523 16 12 16C11.4477 16 11 15.5523 11 15V7C11 5.34315 12.3431 4 14 4C15.6569 4 17 5.34315 17 7V15C17 17.7614 14.7614 20 12 20C9.23858 20 7 17.7614 7 15V11C7 10.4477 6.55228 10 6 10C5.44772 10 5 10.4477 5 11V15C5 18.866 8.13401 22 12 22C15.866 22 19 18.866 19 15V7C19 4.23858 16.7614 2 14 2Z",fill:e})}),ma=({color:e=z.fg.tertiary,size:t=24})=>h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}`,height:`${t}`,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M20 5V15H4M4 15L8 11M4 15L8 19",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})}),ya=L.div`
|
|
90
|
-
border-radius: 20px;
|
|
91
|
-
padding: 20px 16px;
|
|
92
|
-
border: 1px solid ${z.border.default};
|
|
93
|
-
background: ${z.bg.primary};
|
|
94
|
-
box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.05);
|
|
95
|
-
`,ba=L.textarea`
|
|
96
|
-
${Pe.body};
|
|
97
|
-
width: 100%;
|
|
98
|
-
padding: 4px;
|
|
99
|
-
font-size: 17px;
|
|
100
|
-
max-height: 86px;
|
|
101
|
-
resize: none;
|
|
102
|
-
color: ${z.fg.primary};
|
|
103
|
-
caret-color: ${z.primary[700]};
|
|
104
|
-
&::placeholder {
|
|
105
|
-
color: ${z.fg.tertiary};
|
|
106
|
-
}
|
|
107
|
-
&:focus {
|
|
108
|
-
outline: none;
|
|
109
|
-
}
|
|
110
|
-
`,va=L.div`
|
|
111
|
-
display: flex;
|
|
112
|
-
justify-content: space-between;
|
|
113
|
-
`,tn=L.button`
|
|
114
|
-
padding: 4px;
|
|
115
|
-
border-radius: 8px;
|
|
116
|
-
background: ${z.sf.tertiary};
|
|
117
|
-
transition: background 0.2s;
|
|
118
|
-
|
|
119
|
-
&:hover {
|
|
120
|
-
background: ${z.sf.tertiaryHover};
|
|
121
|
-
}
|
|
122
|
-
`;function xa({value:e,onChange:t,onSend:r}){const[n,a]=G.useState(e),s=d=>{t?t(d.target.value):a(d.target.value)},i=d=>{d.key==="Enter"&&!d.shiftKey&&(d.preventDefault(),r(n))},c=G.useRef(null),u=d=>{c.current&&(c.current.style.height="auto",c.current.style.height=`${d.target.scrollHeight}px`)};return h.jsxs(ya,{children:[h.jsx(ba,{ref:c,placeholder:"Nachricht...",rows:1,value:n,onInput:u,onChange:s,onKeyDown:i}),h.jsxs(va,{children:[h.jsx(tn,{children:h.jsx(ga,{})}),h.jsx(tn,{onClick:()=>r(n),children:h.jsx(ma,{})})]})]})}const wa=({color:e=z.primary[900],size:t=24})=>h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}`,height:`${t}`,viewBox:"0 0 24 24",fill:"none",children:h.jsx("path",{d:"M7 7.00003L17 17M17 7.00003L7 17",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})}),Ca=({color:e=z.primary[900],size:t=24})=>h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:`${t}`,height:`${t}`,viewBox:"0 0 24 24",fill:"none",children:[h.jsx("path",{d:"M13 3.50003V7.00003C13 8.1046 13.8954 9.00003 15 9.00003H18.5M9 13H12M9 17H15.5",stroke:e,"stroke-width":"2","stroke-linecap":"round"}),h.jsx("path",{d:"M5 5.00003C5 3.89546 5.89543 3.00003 7 3.00003H13L19 9.00003V19C19 20.1046 18.1046 21 17 21H7C5.89543 21 5 20.1046 5 19V5.00003Z",stroke:e,"stroke-width":"2"})]});function Sa({className:e,...t}){return h.jsx("div",{className:pr("animate-pulse rounded-md bg-neutral-100 dark:bg-neutral-800",e),...t})}const ka=L.div`
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: column;
|
|
125
|
-
justify-content: space-between;
|
|
126
|
-
height: 764px;
|
|
127
|
-
width: 540px;
|
|
128
|
-
border-radius: 24px;
|
|
129
|
-
background-color: ${z.bg.elevated};
|
|
130
|
-
`,Ea=L.div`
|
|
131
|
-
position: absolute;
|
|
132
|
-
width: 540px;
|
|
133
|
-
display: flex;
|
|
134
|
-
justify-content: space-between;
|
|
135
|
-
align-items: center;
|
|
136
|
-
height: 68px;
|
|
137
|
-
padding: 16px 20px;
|
|
138
|
-
border-radius: 24px 24px 0px 0px;
|
|
139
|
-
background: rgba(255, 255, 255, 0.6);
|
|
140
|
-
backdrop-filter: blur(20px);
|
|
141
|
-
`,rn=L.button`
|
|
142
|
-
display: flex;
|
|
143
|
-
justify-content: center;
|
|
144
|
-
align-items: center;
|
|
145
|
-
padding: 6px;
|
|
146
|
-
height: 36px;
|
|
147
|
-
width: 36px;
|
|
148
|
-
border-radius: 50%;
|
|
149
|
-
background: ${z.sf.tertiary};
|
|
150
|
-
transition: background 0.2s;
|
|
151
|
-
&:hover {
|
|
152
|
-
background: ${z.sf.tertiaryHover};
|
|
153
|
-
}
|
|
154
|
-
`,Ra=L.p`
|
|
155
|
-
${Pe.title};
|
|
156
|
-
font-size: 18px;
|
|
157
|
-
color: ${z.fg.primary};
|
|
158
|
-
`,ja=L.div`
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: column;
|
|
161
|
-
justify-content: space-between;
|
|
162
|
-
height: 100%;
|
|
163
|
-
padding-right: 8px;
|
|
164
|
-
padding-bottom: 24px;
|
|
165
|
-
`,_a=L.div`
|
|
166
|
-
padding: 84px 16px 0 24px;
|
|
167
|
-
display: flex;
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
gap: 10px;
|
|
170
|
-
height: 100%;
|
|
171
|
-
overflow-y: auto;
|
|
172
|
-
scrollbar-width: 8px;
|
|
173
|
-
scrollbar-color: #134c331a transparent;
|
|
174
|
-
`,Pa=L.div`
|
|
175
|
-
display: flex;
|
|
176
|
-
flex-direction: column;
|
|
177
|
-
padding: 0 24px;
|
|
178
|
-
`,Aa=L.p`
|
|
179
|
-
${Pe.body};
|
|
180
|
-
font-size: 13px;
|
|
181
|
-
letter-spacing: -0.1px;
|
|
182
|
-
color: ${z.fg.tertiary};
|
|
183
|
-
padding: 15px 22px;
|
|
184
|
-
`;function Ta({title:e,disclaimer:t,onClose:r,input:n,children:a}){return h.jsx(h.Fragment,{children:h.jsxs(ka,{children:[h.jsxs(Ea,{children:[h.jsx(rn,{onClick:r,children:h.jsx(wa,{})}),e?h.jsx(Ra,{children:e}):h.jsx(Sa,{className:"w-[140px] h-[18px] rounded-[4px] bg-[#E6F0E260]"}),h.jsx(rn,{children:h.jsx(Ca,{})})]}),h.jsxs(ja,{children:[h.jsx(_a,{children:a}),h.jsxs(Pa,{children:[h.jsx(Aa,{children:t}),h.jsx(xa,{...n})]})]})]})})}const Oa=({color:e="#134C33",size:t="small"})=>h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t==="small"?"20":"29",height:t==="small"?"23":"33",viewBox:"0 0 29 33",fill:"none",children:[h.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9665 32.5C11.6771 32.5 9.49965 31.4823 7.30965 29.389L7.19384 29.2786C6.10021 28.2342 4.77495 26.9685 4.06699 25.3089C1.80215 25.1794 0 23.2959 0 20.9999V17.7911C0 15.7027 1.49132 13.9557 3.46554 13.5597V13.0418C1.13133 11.7417 0.747299 10.8524 0.614555 10.5454C0.0109254 9.1431 0.295534 7.74355 1.41484 6.60239C2.80456 5.18646 4.40349 4.17476 5.94943 3.19639L6.021 3.1505C7.80184 2.02409 9.4849 1.28991 11.1701 0.904785C11.1887 0.900415 11.2133 0.894953 11.245 0.888398C11.4318 0.846881 11.6749 0.794439 11.9344 0.751283C12.786 0.581939 13.5672 0.5 14.3238 0.5C15.0804 0.5 15.8561 0.581394 16.735 0.755654C16.9797 0.796078 17.2354 0.851252 17.408 0.889491L17.4282 0.894406C17.4544 0.899869 17.4839 0.906424 17.5167 0.914618C19.1807 1.29646 20.8512 2.02737 22.6227 3.14887L22.697 3.19585C24.2451 4.17586 25.8435 5.18755 27.2321 6.60184C28.352 7.743 28.6366 9.14255 28.0341 10.5437C27.9008 10.8524 27.5168 11.7417 25.182 13.0418V13.5597C27.1562 13.9557 28.6481 15.7027 28.6481 17.7911V20.9999C28.6481 23.2964 26.8454 25.1794 24.5806 25.3089C23.8726 26.9685 22.5473 28.2336 21.4537 29.2781L21.3368 29.3895C19.1473 31.4823 16.9694 32.5 14.6805 32.5H13.9671H13.9665Z",fill:"white"}),h.jsx("path",{d:"M5.37793 14.2972H5.37848L5.37793 14.2966V14.2972Z",fill:"#B6FF9C"}),h.jsx("path",{d:"M24.3311 14.5687H24.0891V12.3879C25.038 11.9001 26.6621 10.9649 27.0297 10.1122C27.4574 9.11741 27.263 8.19422 26.4518 7.36771C25.1511 6.043 23.6062 5.06463 22.1116 4.11904L22.0373 4.07206C20.3663 3.01448 18.8018 2.32891 17.2553 1.97602C17.2318 1.96946 17.2072 1.96454 17.2023 1.964C17.1919 1.96127 17.1815 1.95854 17.1706 1.95635C16.9903 1.91647 16.7555 1.86622 16.5391 1.83126C15.7246 1.66847 15.0205 1.59308 14.3229 1.59308C13.6253 1.59308 12.9168 1.66956 12.1302 1.82688C11.8909 1.86676 11.6582 1.91647 11.4626 1.95963C11.4353 1.96509 11.4228 1.96782 11.4162 1.97001C9.85223 2.32727 8.27951 3.01502 6.60847 4.0726L6.53309 4.12068C5.03958 5.06627 3.49473 6.0441 2.1946 7.3688C1.38339 8.19531 1.18946 9.11905 1.61719 10.1138C1.98483 10.9655 3.6089 11.9007 4.55777 12.3885V14.5692H4.31632C2.53875 14.5692 1.09277 16.0152 1.09277 17.7922V21.001C1.09277 22.7786 2.53875 24.2245 4.31632 24.2245H4.84019C5.33457 25.9934 6.78328 27.3765 7.94793 28.4887L8.06428 28.6002C10.0407 30.4897 11.9712 31.4085 13.9662 31.4085H14.6796C16.6741 31.4085 18.6046 30.4903 20.5815 28.6002L20.6979 28.4887C21.8631 27.3765 23.3112 25.9934 23.8056 24.2245H24.33C26.1076 24.2245 27.5536 22.7786 27.5536 21.001V17.7922C27.5536 16.0152 26.1076 14.5692 24.33 14.5692L24.3311 14.5687Z",fill:e}),h.jsx("path",{d:"M22.6448 11.7597V13.6476C20.6946 13.0304 17.6819 12.3022 14.3229 12.3022C10.9638 12.3022 7.95007 13.0304 6.00098 13.6476V11.7597C8.76729 10.7273 11.5156 10.2039 14.1699 10.2039C14.1961 10.2039 14.2218 10.205 14.2475 10.2061C14.2966 10.2083 14.348 10.2083 14.3988 10.2061C14.4245 10.205 14.4501 10.2039 14.4764 10.2039C17.1307 10.2039 19.879 10.7273 22.6453 11.7597H22.6448Z",fill:"white"}),h.jsx("path",{d:"M15.6817 25.6569C14.7017 25.6569 13.9041 26.2037 13.9041 26.8756C13.9041 27.5475 14.7012 28.0943 15.6817 28.0943C16.3077 28.0943 16.8917 27.8654 17.2113 27.4967C18.4529 27.3558 19.5646 27.0706 20.5189 26.6494C20.2606 26.9106 19.994 27.1662 19.7023 27.4448L19.5854 27.5562C17.8662 29.1994 16.3077 29.9647 14.6804 29.9647H13.967C12.3396 29.9647 10.7811 29.1994 9.062 27.5562L8.9451 27.4443C7.61329 26.1731 6.10449 24.732 6.10449 22.9326V20.37C6.10613 20.3493 6.10722 20.328 6.10722 20.3067V15.3274C8.14809 16.5259 11.1378 17.2131 14.3237 17.2131C17.5095 17.2131 20.4987 16.5265 22.5401 15.3274V20.3067C22.5401 20.3296 22.5412 20.3515 22.5429 20.3706V22.9326C22.5429 23.2014 22.5035 23.5259 22.4429 23.7591C22.4183 23.8542 22.3708 23.9421 22.3025 24.0208C21.1788 25.3133 19.5444 26.084 17.3052 26.3774C17.019 25.9393 16.3853 25.6574 15.6817 25.6574V25.6569Z",fill:"white"}),h.jsx("path",{d:"M9.76783 21.3091C10.6379 21.3091 11.3433 20.6037 11.3433 19.7336C11.3433 18.8636 10.6379 18.1582 9.76783 18.1582C8.89774 18.1582 8.19238 18.8636 8.19238 19.7336C8.19238 20.6037 8.89774 21.3091 9.76783 21.3091Z",fill:e}),h.jsx("path",{d:"M18.8782 21.3091C19.7483 21.3091 20.4536 20.6037 20.4536 19.7336C20.4536 18.8636 19.7483 18.1582 18.8782 18.1582C18.0081 18.1582 17.3027 18.8636 17.3027 19.7336C17.3027 20.6037 18.0081 21.3091 18.8782 21.3091Z",fill:e})]}),Ia=L.div`
|
|
185
|
-
display: flex;
|
|
186
|
-
flex-direction: column;
|
|
187
|
-
gap: 10px;
|
|
188
|
-
padding: 16px 24px;
|
|
189
|
-
border-radius: 12px;
|
|
190
|
-
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
191
|
-
background: ${z.bg.primary};
|
|
192
|
-
`,Na=L.div`
|
|
193
|
-
${Pe.label};
|
|
194
|
-
display: flex;
|
|
195
|
-
align-items: center;
|
|
196
|
-
gap: 8px;
|
|
197
|
-
padding: 3px 4px;
|
|
198
|
-
color: ${z.fg.secondary};
|
|
199
|
-
font-size: 15px;
|
|
200
|
-
`,$a=L.p`
|
|
201
|
-
${Pe.body};
|
|
202
|
-
font-size: 17px;
|
|
203
|
-
color: ${z.primary[900]};
|
|
204
|
-
letter-spacing: -0.4px;
|
|
205
|
-
white-space: pre-line;
|
|
206
|
-
`,Ma=L.div`
|
|
207
|
-
display: flex;
|
|
208
|
-
flex-wrap: wrap;
|
|
209
|
-
gap: 10px;
|
|
210
|
-
`,Da=L.div`
|
|
211
|
-
display: flex;
|
|
212
|
-
padding: 16px 0;
|
|
213
|
-
gap: 4px;
|
|
214
|
-
width: 42px;
|
|
215
|
-
justify-content: center;
|
|
216
|
-
border-radius: 12px;
|
|
217
|
-
background: rgba(0, 0, 0, 0.04);
|
|
218
|
-
`,Va=L.div`
|
|
219
|
-
position: relative;
|
|
220
|
-
width: 6px;
|
|
221
|
-
height: 6px;
|
|
222
|
-
border-radius: 5px;
|
|
223
|
-
background-color: rgba(125, 137, 131, 1);
|
|
224
|
-
color: rgba(125, 137, 131, 1);
|
|
225
|
-
animation: message-loading-dots 0.5s infinite linear alternate;
|
|
226
|
-
animation-delay: 0.25s;
|
|
227
|
-
|
|
228
|
-
&:before,
|
|
229
|
-
&:after {
|
|
230
|
-
content: '';
|
|
231
|
-
display: inline-block;
|
|
232
|
-
position: absolute;
|
|
233
|
-
top: 0;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
&:before {
|
|
237
|
-
left: -10px;
|
|
238
|
-
width: 6px;
|
|
239
|
-
height: 6px;
|
|
240
|
-
border-radius: 5px;
|
|
241
|
-
background-color: rgba(125, 137, 131, 1);
|
|
242
|
-
color: rgba(125, 137, 131, 1);
|
|
243
|
-
animation: message-loading-dots 0.5s infinite linear alternate;
|
|
244
|
-
animation-delay: 0s;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
&:after {
|
|
248
|
-
left: 10px;
|
|
249
|
-
width: 6px;
|
|
250
|
-
height: 6px;
|
|
251
|
-
border-radius: 5px;
|
|
252
|
-
background-color: rgba(125, 137, 131, 1);
|
|
253
|
-
color: rgba(125, 137, 131, 1);
|
|
254
|
-
animation: message-loading-dots 0.5s infinite linear alternate;
|
|
255
|
-
animation-delay: 0.75s;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
@keyframes message-loading-dots {
|
|
259
|
-
0% {
|
|
260
|
-
background-color: rgba(125, 137, 131, 1);
|
|
261
|
-
}
|
|
262
|
-
50%,
|
|
263
|
-
100% {
|
|
264
|
-
background-color: rgba(125, 137, 131, 0.2);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
`;function za({typing:e=!1,text:t,children:r}){return h.jsxs(Ia,{children:[h.jsxs(Na,{children:[h.jsx(Oa,{size:"small"}),"Rechtspilot"]}),e?h.jsx(Da,{children:h.jsx(Va,{})}):h.jsxs(h.Fragment,{children:[t&&h.jsx($a,{children:t}),r&&h.jsx(Ma,{children:r})]})]})}const La=L.button`
|
|
268
|
-
padding: 10px 12px;
|
|
269
|
-
border-radius: 12px;
|
|
270
|
-
font-size: 15px;
|
|
271
|
-
${Pe.label};
|
|
272
|
-
color: ${z.fg.accent.action};
|
|
273
|
-
background: ${z.primary[25]};
|
|
274
|
-
white-space: pre-line;
|
|
275
|
-
`;function Fa({label:e,onClick:t}){return h.jsx(La,{onClick:t,children:e})}const Wa=({color:e=z.fg.tertiary})=>h.jsx("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("g",{id:"icon / 20 / edit",children:h.jsxs("g",{id:"Icon",children:[h.jsx("path",{d:"M12.9597 4.06902C13.3502 3.67849 13.9834 3.67849 14.3739 4.06902L16.4311 6.12621C16.8217 6.51673 16.8217 7.1499 16.4311 7.54042L14.4716 9.49998L11.0002 6.02858L12.9597 4.06902Z",fill:e}),h.jsx("path",{d:"M10.5288 6.49998L3.62639 13.4023C3.43885 13.5899 3.3335 13.8442 3.3335 14.1095V16.8333C3.3335 17.0174 3.48273 17.1666 3.66683 17.1666H6.39069C6.6559 17.1666 6.91026 17.0613 7.09779 16.8738L14.0002 9.97139L10.5288 6.49998Z",fill:e})]})})}),Ba=L.button`
|
|
276
|
-
display: flex;
|
|
277
|
-
padding: 10px 12px;
|
|
278
|
-
align-items: center;
|
|
279
|
-
gap: 6px;
|
|
280
|
-
border-radius: 12px;
|
|
281
|
-
font-size: 15px;
|
|
282
|
-
${Pe.label};
|
|
283
|
-
color: ${z.fg.primary};
|
|
284
|
-
background: ${z.bg.primary};
|
|
285
|
-
border: 1px solid ${z.border.default};
|
|
286
|
-
`;function Ga({text:e,editable:t=!1,onClick:r}){return h.jsxs(Ba,{onClick:r,children:[e,t&&h.jsx(Wa,{})]})}ae.Button=so,ae.Chat=Ta,ae.Message=za,ae.OptionButton=Fa,ae.ReplyBadge=Ga,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { default as Message } from '../components/Message/Message';
|
|
3
|
-
declare const meta: Meta<typeof Message>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Message>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Options: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { default as OptionButton } from '../components/OptionButton/OptionButton';
|
|
3
|
-
declare const meta: Meta<typeof OptionButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof OptionButton>;
|
|
6
|
-
export declare const Primary: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { default as ReplyBadge } from '../components/ReplyBadge/ReplyBadge';
|
|
3
|
-
declare const meta: Meta<typeof ReplyBadge>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ReplyBadge>;
|
|
6
|
-
export declare const Primary: Story;
|
|
File without changes
|