skillgrid 0.0.8 → 0.0.10

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/index.cjs.js CHANGED
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Ge;function Ot(){if(Ge)return se;Ge=1;var r=S,i=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,d=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function f(_,c,m){var b,v={},y=null,w=null;m!==void 0&&(y=""+m),c.key!==void 0&&(y=""+c.key),c.ref!==void 0&&(w=c.ref);for(b in c)o.call(c,b)&&!s.hasOwnProperty(b)&&(v[b]=c[b]);if(_&&_.defaultProps)for(b in c=_.defaultProps,c)v[b]===void 0&&(v[b]=c[b]);return{$$typeof:i,type:_,key:y,ref:w,props:v,_owner:d.current}}return se.Fragment=n,se.jsx=f,se.jsxs=f,se}var ce={};/**
9
+ */var Ge;function Ot(){if(Ge)return se;Ge=1;var r=S,i=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,d=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function f(_,c,m){var b,v={},x=null,w=null;m!==void 0&&(x=""+m),c.key!==void 0&&(x=""+c.key),c.ref!==void 0&&(w=c.ref);for(b in c)o.call(c,b)&&!s.hasOwnProperty(b)&&(v[b]=c[b]);if(_&&_.defaultProps)for(b in c=_.defaultProps,c)v[b]===void 0&&(v[b]=c[b]);return{$$typeof:i,type:_,key:x,ref:w,props:v,_owner:d.current}}return se.Fragment=n,se.jsx=f,se.jsxs=f,se}var ce={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,21 +14,21 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var qe;function Tt(){return qe||(qe=1,process.env.NODE_ENV!=="production"&&function(){var r=S,i=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),_=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,O="@@iterator";function F(e){if(e===null||typeof e!="object")return null;var t=k&&e[k]||e[O];return typeof t=="function"?t:null}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(e){{for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];T("error",e,a)}}function T(e,t,a){{var u=j.ReactDebugCurrentFrame,h=u.getStackAddendum();h!==""&&(t+="%s",a=a.concat([h]));var x=a.map(function(g){return String(g)});x.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,x)}}var N=!1,G=!1,z=!1,V=!1,W=!1,M;M=Symbol.for("react.module.reference");function J(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===s||W||e===d||e===m||e===b||V||e===w||N||G||z||typeof e=="object"&&e!==null&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===f||e.$$typeof===_||e.$$typeof===c||e.$$typeof===M||e.getModuleId!==void 0))}function K(e,t,a){var u=e.displayName;if(u)return u;var h=t.displayName||t.name||"";return h!==""?a+"("+h+")":a}function q(e){return e.displayName||"Context"}function A(e){if(e==null)return null;if(typeof e.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case n:return"Portal";case s:return"Profiler";case d:return"StrictMode";case m:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return q(t)+".Consumer";case f:var a=e;return q(a._context)+".Provider";case c:return K(e,e.render,"ForwardRef");case v:var u=e.displayName||null;return u!==null?u:A(e.type)||"Memo";case y:{var h=e,x=h._payload,g=h._init;try{return A(g(x))}catch{return null}}}return null}var Z=Object.assign,Q=0,ue,de,fe,_e,pe,be,ge;function ve(){}ve.__reactDisabledLog=!0;function xe(){{if(Q===0){ue=console.log,de=console.info,fe=console.warn,_e=console.error,pe=console.group,be=console.groupCollapsed,ge=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Q++}}function ye(){{if(Q--,Q===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},e,{value:ue}),info:Z({},e,{value:de}),warn:Z({},e,{value:fe}),error:Z({},e,{value:_e}),group:Z({},e,{value:pe}),groupCollapsed:Z({},e,{value:be}),groupEnd:Z({},e,{value:ge})})}Q<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=j.ReactCurrentDispatcher,X;function Y(e,t,a){{if(X===void 0)try{throw Error()}catch(h){var u=h.stack.trim().match(/\n( *(at )?)/);X=u&&u[1]||""}return`
18
- `+X+e}}var ee=!1,H;{var oe=typeof WeakMap=="function"?WeakMap:Map;H=new oe}function Te(e,t){if(!e||ee)return"";{var a=H.get(e);if(a!==void 0)return a}var u;ee=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=ne.current,ne.current=null,xe();try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(L){u=L}Reflect.construct(e,[],g)}else{try{g.call()}catch(L){u=L}e.call(g.prototype)}}else{try{throw Error()}catch(L){u=L}e()}}catch(L){if(L&&u&&typeof L.stack=="string"){for(var p=L.stack.split(`
17
+ */var qe;function Tt(){return qe||(qe=1,process.env.NODE_ENV!=="production"&&function(){var r=S,i=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),_=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),k=Symbol.iterator,O="@@iterator";function F(e){if(e===null||typeof e!="object")return null;var t=k&&e[k]||e[O];return typeof t=="function"?t:null}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(e){{for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];T("error",e,a)}}function T(e,t,a){{var u=j.ReactDebugCurrentFrame,h=u.getStackAddendum();h!==""&&(t+="%s",a=a.concat([h]));var y=a.map(function(g){return String(g)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var N=!1,G=!1,z=!1,V=!1,W=!1,M;M=Symbol.for("react.module.reference");function J(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===s||W||e===d||e===m||e===b||V||e===w||N||G||z||typeof e=="object"&&e!==null&&(e.$$typeof===x||e.$$typeof===v||e.$$typeof===f||e.$$typeof===_||e.$$typeof===c||e.$$typeof===M||e.getModuleId!==void 0))}function K(e,t,a){var u=e.displayName;if(u)return u;var h=t.displayName||t.name||"";return h!==""?a+"("+h+")":a}function q(e){return e.displayName||"Context"}function A(e){if(e==null)return null;if(typeof e.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case n:return"Portal";case s:return"Profiler";case d:return"StrictMode";case m:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return q(t)+".Consumer";case f:var a=e;return q(a._context)+".Provider";case c:return K(e,e.render,"ForwardRef");case v:var u=e.displayName||null;return u!==null?u:A(e.type)||"Memo";case x:{var h=e,y=h._payload,g=h._init;try{return A(g(y))}catch{return null}}}return null}var Z=Object.assign,Q=0,ue,de,fe,_e,pe,be,ge;function ve(){}ve.__reactDisabledLog=!0;function ye(){{if(Q===0){ue=console.log,de=console.info,fe=console.warn,_e=console.error,pe=console.group,be=console.groupCollapsed,ge=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Q++}}function xe(){{if(Q--,Q===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Z({},e,{value:ue}),info:Z({},e,{value:de}),warn:Z({},e,{value:fe}),error:Z({},e,{value:_e}),group:Z({},e,{value:pe}),groupCollapsed:Z({},e,{value:be}),groupEnd:Z({},e,{value:ge})})}Q<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=j.ReactCurrentDispatcher,X;function Y(e,t,a){{if(X===void 0)try{throw Error()}catch(h){var u=h.stack.trim().match(/\n( *(at )?)/);X=u&&u[1]||""}return`
18
+ `+X+e}}var ee=!1,H;{var oe=typeof WeakMap=="function"?WeakMap:Map;H=new oe}function Te(e,t){if(!e||ee)return"";{var a=H.get(e);if(a!==void 0)return a}var u;ee=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ne.current,ne.current=null,ye();try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(L){u=L}Reflect.construct(e,[],g)}else{try{g.call()}catch(L){u=L}e.call(g.prototype)}}else{try{throw Error()}catch(L){u=L}e()}}catch(L){if(L&&u&&typeof L.stack=="string"){for(var p=L.stack.split(`
19
19
  `),P=u.stack.split(`
20
20
  `),R=p.length-1,$=P.length-1;R>=1&&$>=0&&p[R]!==P[$];)$--;for(;R>=1&&$>=0;R--,$--)if(p[R]!==P[$]){if(R!==1||$!==1)do if(R--,$--,$<0||p[R]!==P[$]){var I=`
21
- `+p[R].replace(" at new "," at ");return e.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,I),I}while(R>=1&&$>=0);break}}}finally{ee=!1,ne.current=x,ye(),Error.prepareStackTrace=h}var ae=e?e.displayName||e.name:"",te=ae?Y(ae):"";return typeof e=="function"&&H.set(e,te),te}function ot(e,t,a){return Te(e,!1)}function it(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function he(e,t,a){if(e==null)return"";if(typeof e=="function")return Te(e,it(e));if(typeof e=="string")return Y(e);switch(e){case m:return Y("Suspense");case b:return Y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return ot(e.render);case v:return he(e.type,t,a);case y:{var u=e,h=u._payload,x=u._init;try{return he(x(h),t,a)}catch{}}}return""}var ie=Object.prototype.hasOwnProperty,Pe={},Le=j.ReactDebugCurrentFrame;function me(e){if(e){var t=e._owner,a=he(e.type,e._source,t?t.type:null);Le.setExtraStackFrame(a)}else Le.setExtraStackFrame(null)}function st(e,t,a,u,h){{var x=Function.call.bind(ie);for(var g in e)if(x(e,g)){var p=void 0;try{if(typeof e[g]!="function"){var P=Error((u||"React class")+": "+a+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw P.name="Invariant Violation",P}p=e[g](t,g,u,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){p=R}p&&!(p instanceof Error)&&(me(h),C("%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).",u||"React class",a,g,typeof p),me(null)),p instanceof Error&&!(p.message in Pe)&&(Pe[p.message]=!0,me(h),C("Failed %s type: %s",a,p.message),me(null))}}}var ct=Array.isArray;function we(e){return ct(e)}function lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function ut(e){try{return Ne(e),!1}catch{return!0}}function Ne(e){return""+e}function Ae(e){if(ut(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),Ne(e)}var Me=j.ReactCurrentOwner,dt={key:!0,ref:!0,__self:!0,__source:!0},Ie,De;function ft(e){if(ie.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function _t(e){if(ie.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function pt(e,t){typeof e.ref=="string"&&Me.current}function bt(e,t){{var a=function(){Ie||(Ie=!0,C("%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)",t))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function gt(e,t){{var a=function(){De||(De=!0,C("%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)",t))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var vt=function(e,t,a,u,h,x,g){var p={$$typeof:i,type:e,key:t,ref:a,props:g,_owner:x};return p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(p,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(p,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p};function ht(e,t,a,u,h){{var x,g={},p=null,P=null;a!==void 0&&(Ae(a),p=""+a),_t(t)&&(Ae(t.key),p=""+t.key),ft(t)&&(P=t.ref,pt(t,h));for(x in t)ie.call(t,x)&&!dt.hasOwnProperty(x)&&(g[x]=t[x]);if(e&&e.defaultProps){var R=e.defaultProps;for(x in R)g[x]===void 0&&(g[x]=R[x])}if(p||P){var $=typeof e=="function"?e.displayName||e.name||"Unknown":e;p&&bt(g,$),P&&gt(g,$)}return vt(e,p,P,h,u,Me.current,g)}}var Re=j.ReactCurrentOwner,Be=j.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,a=he(e.type,e._source,t?t.type:null);Be.setExtraStackFrame(a)}else Be.setExtraStackFrame(null)}var Ee;Ee=!1;function Se(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(Re.current){var e=A(Re.current.type);if(e)return`
21
+ `+p[R].replace(" at new "," at ");return e.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,I),I}while(R>=1&&$>=0);break}}}finally{ee=!1,ne.current=y,xe(),Error.prepareStackTrace=h}var ae=e?e.displayName||e.name:"",te=ae?Y(ae):"";return typeof e=="function"&&H.set(e,te),te}function ot(e,t,a){return Te(e,!1)}function it(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function he(e,t,a){if(e==null)return"";if(typeof e=="function")return Te(e,it(e));if(typeof e=="string")return Y(e);switch(e){case m:return Y("Suspense");case b:return Y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return ot(e.render);case v:return he(e.type,t,a);case x:{var u=e,h=u._payload,y=u._init;try{return he(y(h),t,a)}catch{}}}return""}var ie=Object.prototype.hasOwnProperty,Pe={},Le=j.ReactDebugCurrentFrame;function me(e){if(e){var t=e._owner,a=he(e.type,e._source,t?t.type:null);Le.setExtraStackFrame(a)}else Le.setExtraStackFrame(null)}function st(e,t,a,u,h){{var y=Function.call.bind(ie);for(var g in e)if(y(e,g)){var p=void 0;try{if(typeof e[g]!="function"){var P=Error((u||"React class")+": "+a+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw P.name="Invariant Violation",P}p=e[g](t,g,u,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){p=R}p&&!(p instanceof Error)&&(me(h),C("%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).",u||"React class",a,g,typeof p),me(null)),p instanceof Error&&!(p.message in Pe)&&(Pe[p.message]=!0,me(h),C("Failed %s type: %s",a,p.message),me(null))}}}var ct=Array.isArray;function we(e){return ct(e)}function lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function ut(e){try{return Ne(e),!1}catch{return!0}}function Ne(e){return""+e}function Ae(e){if(ut(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),Ne(e)}var Me=j.ReactCurrentOwner,dt={key:!0,ref:!0,__self:!0,__source:!0},Ie,De;function ft(e){if(ie.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function _t(e){if(ie.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function pt(e,t){typeof e.ref=="string"&&Me.current}function bt(e,t){{var a=function(){Ie||(Ie=!0,C("%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)",t))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function gt(e,t){{var a=function(){De||(De=!0,C("%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)",t))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var vt=function(e,t,a,u,h,y,g){var p={$$typeof:i,type:e,key:t,ref:a,props:g,_owner:y};return p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(p,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(p,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p};function ht(e,t,a,u,h){{var y,g={},p=null,P=null;a!==void 0&&(Ae(a),p=""+a),_t(t)&&(Ae(t.key),p=""+t.key),ft(t)&&(P=t.ref,pt(t,h));for(y in t)ie.call(t,y)&&!dt.hasOwnProperty(y)&&(g[y]=t[y]);if(e&&e.defaultProps){var R=e.defaultProps;for(y in R)g[y]===void 0&&(g[y]=R[y])}if(p||P){var $=typeof e=="function"?e.displayName||e.name||"Unknown":e;p&&bt(g,$),P&&gt(g,$)}return vt(e,p,P,h,u,Me.current,g)}}var Re=j.ReactCurrentOwner,Be=j.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,a=he(e.type,e._source,t?t.type:null);Be.setExtraStackFrame(a)}else Be.setExtraStackFrame(null)}var Ee;Ee=!1;function Se(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}function Fe(){{if(Re.current){var e=A(Re.current.type);if(e)return`
22
22
 
23
23
  Check the render method of \``+e+"`."}return""}}function mt(e){return""}var ze={};function Ct(e){{var t=Fe();if(!t){var a=typeof e=="string"?e:e.displayName||e.name;a&&(t=`
24
24
 
25
- Check the top-level render call using <`+a+">.")}return t}}function Ve(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=Ct(t);if(ze[a])return;ze[a]=!0;var u="";e&&e._owner&&e._owner!==Re.current&&(u=" It was passed a child from "+A(e._owner.type)+"."),re(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,u),re(null)}}function We(e,t){{if(typeof e!="object")return;if(we(e))for(var a=0;a<e.length;a++){var u=e[a];Se(u)&&Ve(u,t)}else if(Se(e))e._store&&(e._store.validated=!0);else if(e){var h=F(e);if(typeof h=="function"&&h!==e.entries)for(var x=h.call(e),g;!(g=x.next()).done;)Se(g.value)&&Ve(g.value,t)}}}function xt(e){{var t=e.type;if(t==null||typeof t=="string")return;var a;if(typeof t=="function")a=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===c||t.$$typeof===v))a=t.propTypes;else return;if(a){var u=A(t);st(a,e.props,"prop",u,e)}else if(t.PropTypes!==void 0&&!Ee){Ee=!0;var h=A(t);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yt(e){{for(var t=Object.keys(e.props),a=0;a<t.length;a++){var u=t[a];if(u!=="children"&&u!=="key"){re(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),re(null);break}}e.ref!==null&&(re(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}var Ze={};function Ue(e,t,a,u,h,x){{var g=J(e);if(!g){var p="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" 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 P=mt();P?p+=P:p+=Fe();var R;e===null?R="null":we(e)?R="array":e!==void 0&&e.$$typeof===i?(R="<"+(A(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):R=typeof e,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,p)}var $=ht(e,t,a,h,x);if($==null)return $;if(g){var I=t.children;if(I!==void 0)if(u)if(we(I)){for(var ae=0;ae<I.length;ae++)We(I[ae],e);Object.freeze&&Object.freeze(I)}else C("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 We(I,e)}if(ie.call(t,"key")){var te=A(e),L=Object.keys(t).filter(function($t){return $t!=="key"}),je=L.length>0?"{key: someKey, "+L.join(": ..., ")+": ...}":"{key: someKey}";if(!Ze[te+je]){var jt=L.length>0?"{"+L.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+a+">.")}return t}}function Ve(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=Ct(t);if(ze[a])return;ze[a]=!0;var u="";e&&e._owner&&e._owner!==Re.current&&(u=" It was passed a child from "+A(e._owner.type)+"."),re(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,u),re(null)}}function We(e,t){{if(typeof e!="object")return;if(we(e))for(var a=0;a<e.length;a++){var u=e[a];Se(u)&&Ve(u,t)}else if(Se(e))e._store&&(e._store.validated=!0);else if(e){var h=F(e);if(typeof h=="function"&&h!==e.entries)for(var y=h.call(e),g;!(g=y.next()).done;)Se(g.value)&&Ve(g.value,t)}}}function yt(e){{var t=e.type;if(t==null||typeof t=="string")return;var a;if(typeof t=="function")a=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===c||t.$$typeof===v))a=t.propTypes;else return;if(a){var u=A(t);st(a,e.props,"prop",u,e)}else if(t.PropTypes!==void 0&&!Ee){Ee=!0;var h=A(t);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function xt(e){{for(var t=Object.keys(e.props),a=0;a<t.length;a++){var u=t[a];if(u!=="children"&&u!=="key"){re(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),re(null);break}}e.ref!==null&&(re(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}}var Ze={};function Ue(e,t,a,u,h,y){{var g=J(e);if(!g){var p="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" 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 P=mt();P?p+=P:p+=Fe();var R;e===null?R="null":we(e)?R="array":e!==void 0&&e.$$typeof===i?(R="<"+(A(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):R=typeof e,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,p)}var $=ht(e,t,a,h,y);if($==null)return $;if(g){var I=t.children;if(I!==void 0)if(u)if(we(I)){for(var ae=0;ae<I.length;ae++)We(I[ae],e);Object.freeze&&Object.freeze(I)}else C("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 We(I,e)}if(ie.call(t,"key")){var te=A(e),L=Object.keys(t).filter(function($t){return $t!=="key"}),je=L.length>0?"{key: someKey, "+L.join(": ..., ")+": ...}":"{key: someKey}";if(!Ze[te+je]){var jt=L.length>0?"{"+L.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,je,te,jt,te),Ze[te+je]=!0}}return e===o?yt($):xt($),$}}function wt(e,t,a){return Ue(e,t,a,!0)}function Rt(e,t,a){return Ue(e,t,a,!1)}var Et=Rt,St=wt;ce.Fragment=o,ce.jsx=Et,ce.jsxs=St}()),ce}var Ye;function Pt(){return Ye||(Ye=1,process.env.NODE_ENV==="production"?Ce.exports=Ot():Ce.exports=Tt()),Ce.exports}var l=Pt(),$e={exports:{}};/*!
30
+ <%s key={someKey} {...props} />`,je,te,jt,te),Ze[te+je]=!0}}return e===o?xt($):yt($),$}}function wt(e,t,a){return Ue(e,t,a,!0)}function Rt(e,t,a){return Ue(e,t,a,!1)}var Et=Rt,St=wt;ce.Fragment=o,ce.jsx=Et,ce.jsxs=St}()),ce}var Ye;function Pt(){return Ye||(Ye=1,process.env.NODE_ENV==="production"?Ce.exports=Ot():Ce.exports=Tt()),Ce.exports}var l=Pt(),$e={exports:{}};/*!
31
31
  Copyright (c) 2018 Jed Watson.
32
32
  Licensed under the MIT License (MIT), see
33
33
  http://jedwatson.github.io/classnames
34
- */var He;function Lt(){return He||(He=1,function(r){(function(){var i={}.hasOwnProperty;function n(){for(var s="",f=0;f<arguments.length;f++){var _=arguments[f];_&&(s=d(s,o(_)))}return s}function o(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var f="";for(var _ in s)i.call(s,_)&&s[_]&&(f=d(f,_));return f}function d(s,f){return f?s?s+" "+f:s+f:s}r.exports?(n.default=n,r.exports=n):window.classNames=n})()}($e)),$e.exports}var Nt=Lt();const B=kt(Nt),At="_avatar_1ob17_4",Mt="_clickable_1ob17_23",It="_icon_1ob17_40",Dt="_disabled_1ob17_45",Bt="_image_1ob17_51",Ft="_name_1ob17_51",zt="_circle_1ob17_160",Vt="_square_1ob17_164",D={avatar:At,clickable:Mt,icon:It,disabled:Dt,image:Bt,name:Ft,"size-208":"_size-208_1ob17_104","size-96":"_size-96_1ob17_111","size-84":"_size-84_1ob17_118","size-56":"_size-56_1ob17_125","size-48":"_size-48_1ob17_132","size-40":"_size-40_1ob17_139","size-32":"_size-32_1ob17_146","size-24":"_size-24_1ob17_153",circle:zt,square:Vt,"variant-filled":"_variant-filled_1ob17_185","color-brand":"_color-brand_1ob17_190","color-red":"_color-red_1ob17_194","color-orange":"_color-orange_1ob17_198","color-yellow":"_color-yellow_1ob17_202","color-green":"_color-green_1ob17_206","color-blue":"_color-blue_1ob17_210","color-lightblue":"_color-lightblue_1ob17_214","color-purple":"_color-purple_1ob17_218","color-gray":"_color-gray_1ob17_222","color-contrast":"_color-contrast_1ob17_226","variant-light":"_variant-light_1ob17_232","variant-outline":"_variant-outline_1ob17_304"},Je=99;function Wt(r){return r<Je?`+${r}`:`${Je}+`}function Xe(r){const i=typeof r=="string"?r:JSON.stringify(r);let n=5381;for(let o=0;o<i.length;o++){const d=i.charCodeAt(o);n=(n<<5)+n+d}return n>>>0}const Zt=["red","orange","yellow","green","blue","lightblue","purple"];function Ut(r,i=Zt){const n=Xe(r),o=Math.abs(n)%i.length;return i[o]}const Ke=2;function Gt(r){const i=r.split(" ");return i.length===1?r.slice(0,Ke).toUpperCase():i.map(n=>n[0]).slice(0,Ke).join("").toUpperCase()}function qt(r,i){return i==="circle"?r/2:r===24||r===208?8:r===32||r===40||r===48?12:r===56?16:r===84||r===96?24:12}const Yt="data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",Ht="data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Jt="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",Kt="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Qt={male:Yt,female:Ht,org:Kt,neutral:Jt},Oe=S.forwardRef((r,i)=>{const{style:n,size:o=40,isLoading:d=!1,isDisabled:s=!1,shape:f="circle",variant:_="light",placeholderType:c="neutral",name:m="",imgSrc:b,imgAlt:v="",icon:y,imgProps:w,colorScheme:k,"data-testid":O,...F}=r,{onClick:j,onPointerDown:C}=F,N=!s&&!d&&(!!j||!!C),[G,z]=S.useState(!b),V=b&&!G?"image":y?"icon":m?"name":"placeholder",W=V==="name"?k||Ut(m):k||"gray",M=B(D.avatar,D[f],D[`size-${o}`],D[`variant-${_}`],D[`color-${W}`],{[D.disabled]:s,[D.loading]:d,[D.clickable]:N}),J={icon:()=>l.jsx("span",{"data-testid":"avatar-icon",title:v,role:"img",className:B(D.icon),children:y==null?void 0:y({})}),name:()=>l.jsx("span",{role:"textbox","data-testid":"avatar-name",className:B(D.name),title:v,children:Gt(m)}),placeholder:()=>l.jsx("img",{...w,"data-testid":"avatar-placeholder",className:D.image,src:Qt[c],alt:v}),image:()=>l.jsx("img",{"data-testid":"avatar-image",...w,className:D.image,src:b,alt:v,onLoad:()=>z(!1),onError:q=>{var A;z(!0),(A=w==null?void 0:w.onError)==null||A.call(w,q)}})},K=q=>{N&&(j==null||j(q))};return l.jsx("div",{ref:i,onClick:K,className:M,style:n,"data-testid":O,"aria-disabled":s||d,children:J[V](null)})}),Xt="_avatarGroup_157g4_1",e2={avatarGroup:Xt};let t2=(r=21)=>crypto.getRandomValues(new Uint8Array(r)).reduce((i,n)=>(n&=63,n<36?i+=n.toString(36):n<62?i+=(n-26).toString(36).toUpperCase():n>62?i+="-":i+="_",i),"");function r2(r,i,n,o,d,s,f){const _=Math.min(d,s)/2,c=Math.min(f,_),m=["M0,0",`H${r}`,`V${i}`,"H0","V0","Z"].join(" "),b=[`M${n+c},${o}`,`L${n+d-c},${o}`,`A${c},${c} 0 0 1 ${n+d},${o+c}`,`L${n+d},${o+s-c}`,`A${c},${c} 0 0 1 ${n+d-c},${o+s}`,`L${n+c},${o+s}`,`A${c},${c} 0 0 1 ${n},${o+s-c}`,`L${n},${o+c}`,`A${c},${c} 0 0 1 ${n+c},${o}`,"Z"].join(" ");return`${m} ${b}`}const a2=2,n2=r=>{const{avatars:i=[],overflowCount:n=0,size:o=40,overlap:d=.3,shape:s="circle",overflowOnClick:f}=r,_=o*d,c=-_+a2,m=qt(o,s),v=S.useRef(t2()).current.toString(),y=B(e2.avatarGroup),w=r2(o,o,o-_,0,o,o,m);return i.length===0?null:l.jsxs("div",{className:y,children:[i.map((k,O,F)=>{const j=O+1>=F.length;return l.jsx("div",{style:{clipPath:j&&!n?void 0:`url(#${v})`,marginRight:c},children:l.jsx(Oe,{size:o,shape:s,...k})},Xe(k)+O)}),n>0&&l.jsx("div",{style:{marginRight:c},children:l.jsx(Oe,{size:o,shape:s,onClick:f,icon:()=>Wt(n),colorScheme:"gray"})}),l.jsx("svg",{width:"0",height:"0",children:l.jsx("clipPath",{id:`${v}`,children:l.jsx("path",{clipPathUnits:"objectBoundingBox",d:w,clipRule:"evenodd"})})})]})},o2=Object.assign(Oe,{Group:n2}),i2="_wrapper_1ncab_5",s2="_badge__container_1ncab_6",c2="_badge__content_1ncab_7",l2="_interactive_1ncab_20",u2="_disabled_1ncab_21",d2="_icon_1ncab_22",U={wrapper:i2,badge__container:s2,badge__content:c2,interactive:l2,disabled:u2,icon:d2,"variant-filled":"_variant-filled_1ncab_101","color-brand":"_color-brand_1ncab_106","color-red":"_color-red_1ncab_110","color-orange":"_color-orange_1ncab_114","color-yellow":"_color-yellow_1ncab_118","color-green":"_color-green_1ncab_122","color-blue":"_color-blue_1ncab_126","color-lightblue":"_color-lightblue_1ncab_130","color-purple":"_color-purple_1ncab_134","color-gray":"_color-gray_1ncab_138","color-contrast":"_color-contrast_1ncab_142","variant-light":"_variant-light_1ncab_148","variant-outline":"_variant-outline_1ncab_220","variant-transparent":"_variant-transparent_1ncab_294","position-top-left":"_position-top-left_1ncab_361","position-top-right":"_position-top-right_1ncab_367","position-bottom-left":"_position-bottom-left_1ncab_373","position-bottom-right":"_position-bottom-right_1ncab_379","position-top-center":"_position-top-center_1ncab_385","position-bottom-center":"_position-bottom-center_1ncab_391","position-middle-left":"_position-middle-left_1ncab_397","position-middle-right":"_position-middle-right_1ncab_403","position-middle-center":"_position-middle-center_1ncab_409","position-top-left-inside":"_position-top-left-inside_1ncab_416","position-top-right-inside":"_position-top-right-inside_1ncab_422","position-bottom-left-inside":"_position-bottom-left-inside_1ncab_428","position-bottom-right-inside":"_position-bottom-right-inside_1ncab_434","position-top-center-inside":"_position-top-center-inside_1ncab_440","position-bottom-center-inside":"_position-bottom-center-inside_1ncab_446","position-middle-left-inside":"_position-middle-left-inside_1ncab_452","position-middle-right-inside":"_position-middle-right-inside_1ncab_458"},f2=r=>r==="rgba(0, 0, 0, 0)"||r==="transparent"||r.startsWith("rgba")&&r.endsWith(", 0)"),_2=r=>{if(!r)return null;let i=r;for(;i;){const o=window.getComputedStyle(i).backgroundColor;if(!f2(o))return o;i=i.parentElement}return null},p2=()=>{const r=S.useRef(null),[i,n]=S.useState(null);return S.useEffect(()=>{if(r.current){const o=_2(r.current);n(o)}},[]),{ref:r,bgColor:i}},b2=S.forwardRef((r,i)=>{const{icon:n,children:o,variant:d="filled",label:s,colorScheme:f="red",size:_=20,position:c="top-right",positionOffset:m={x:0,y:0},cutoutBackground:b,isDisabled:v,className:y,"data-testid":w="badge",...k}=r,{onClick:O,onPointerDown:F}=k,{ref:j,bgColor:C}=p2(),T=b||C,G=!v&&(!!O||!!F),z=B(U.badge__container,U[`position-${c}`]),V=B(y,U.badge__content,U[`color-${f}`],U[`variant-${d}`],{[U.icon]:!!n,[U.interactive]:G,[U.disabled]:v}),W={"--badge-height":`${_}px`,"--badge-offset-x":`${m.x}px`,"--badge-offset-y":`${m.y}px`,...T&&{"--badge-cutout-bg":T},...d==="transparent"&&{"--badge-cutout-bg":"transparent"}},M=(n==null?void 0:n({}))||s,J=K=>{G&&(O==null||O(K))};return l.jsxs("div",{className:U.wrapper,ref:j,"data-testid":w+"-wrapper",children:[o,l.jsx("span",{className:z,style:W,"data-testid":w+"-container",children:l.jsx("span",{...k,onClick:J,className:V,"data-testid":w+"-content",ref:i,"aria-disabled":v,children:M})})]})}),g2=r=>r.as==="a",v2=r=>r.as===void 0||r.as==="button",h2="_button_unbux_213",m2="_disabled_unbux_237",C2="_loading_unbux_237",x2="_neutral_unbux_259",y2="_accent_unbux_263",w2="_positive_unbux_267",R2="_negative_unbux_271",E2="_contrast_unbux_275",S2="_special_unbux_279",j2="_primary_unbux_284",$2="_secondary_unbux_285",k2="_tertiary_unbux_286",O2="_label_unbux_321",T2="_rightGroup_unbux_333",P2="_iconOnly_unbux_349",L2="_large_unbux_357",N2="_medium_unbux_361",A2="_small_unbux_365",M2="_spaceBetween_unbux_370",I2="_stretched_unbux_384",D2="_icon_unbux_349",B2="_badge_unbux_705",F2="_badgeMedium_unbux_721",z2="_circular_unbux_738",V2="_badgeSmall_unbux_743",W2="_badgeExtraSmall_unbux_765",Z2="_withSubcaption_unbux_784",U2="_subcaption_unbux_797",G2="_loader_unbux_804",q2="_spin_unbux_1",Y2="_l_unbux_237",H2="_m_unbux_361",J2="_s_unbux_279",K2="_xs_unbux_869",E={button:h2,disabled:m2,loading:C2,neutral:x2,accent:y2,positive:w2,negative:R2,contrast:E2,special:S2,primary:j2,secondary:$2,tertiary:k2,label:O2,rightGroup:T2,iconOnly:P2,large:L2,medium:N2,small:A2,spaceBetween:M2,stretched:I2,icon:D2,badge:B2,badgeMedium:F2,circular:z2,badgeSmall:V2,badgeExtraSmall:W2,withSubcaption:Z2,subcaption:U2,loader:G2,spin:q2,l:Y2,m:H2,s:J2,xs:K2},Qe=({isLoading:r,showBadge:i,badgeValue:n,badgeSize:o,icon:d,children:s,postfix:f,showSubcaption:_,subcaption:c,size:m})=>{if(r)return l.jsx("span",{className:E.loader,"data-testid":"button-loader","aria-hidden":"true"});const b=o==="extra-small",v=parseInt(String(n),10),y=!isNaN(v)&&v>=0&&v<=9;return l.jsxs(l.Fragment,{children:[i&&(n||b)&&l.jsx("span",{"data-testid":"button-badge",className:B(E.badge,E[`badge${b?"ExtraSmall":o==="medium"?"Medium":"Small"}`],{[E.circular]:y&&!b}),children:!b&&n}),_&&m!=="s"&&m!=="xs"?l.jsxs(l.Fragment,{children:[l.jsx("span",{"data-testid":"button-label",className:E.label,children:s}),l.jsx("span",{"data-testid":"button-subcaption",className:E.subcaption,children:c})]}):s?l.jsxs(l.Fragment,{children:[l.jsx("span",{"data-testid":"button-label",className:E.label,children:s}),l.jsxs("div",{"data-testid":"button-right-group",className:E.rightGroup,children:[d&&l.jsx("span",{"data-testid":"button-icon",className:E.icon,children:d}),f&&l.jsx("span",{"data-testid":"button-postfix",className:E.postfix,children:f})]})]}):l.jsx("span",{"data-testid":"button-icon",className:E.icon,children:d})]})},Q2=S.forwardRef((r,i)=>{const{mode:n="primary",size:o="m",buttonStyle:d="neutral",loading:s=!1,disabled:f=!1,showBadge:_=!1,badgeSize:c="small",badgeValue:m,showSubcaption:b=!1,subcaption:v,stretched:y=!1,spaceBetween:w=!1,icon:k,postfix:O,className:F,children:j}=r,C=f,T=s,N=!C&&!T,G=!!k&&!j,z=B(E.button,E[o],E[n],E[d],{[E.disabled]:C,[E.loading]:T,[E.stretched]:y,[E.spaceBetween]:w&&y,[E.withSubcaption]:b&&v&&o!=="s"&&o!=="xs",[E.iconOnly]:G},F),V={isLoading:T,showBadge:_,badgeValue:m,badgeSize:c,icon:k,children:j,postfix:O,showSubcaption:b,subcaption:v,size:o};if(g2(r)){const{href:W,onClick:M,mode:J,size:K,buttonStyle:q,loading:A,disabled:Z,showBadge:Q,badgeSize:ue,badgeValue:de,showSubcaption:fe,subcaption:_e,stretched:pe,spaceBetween:be,icon:ge,postfix:ve,className:xe,tabIndex:ye,children:ne,"data-testid":X,style:Y,...ee}=r,H=oe=>{N&&M&&M(oe)};return l.jsx("a",{ref:i,className:z,href:N?W:void 0,tabIndex:r.tabIndex,onClick:H,"data-testid":X,"aria-disabled":C||T,style:Y,...ee,children:l.jsx(Qe,{...V})})}if(v2(r)){const{type:W="button",onClick:M,mode:J,size:K,buttonStyle:q,loading:A,disabled:Z,showBadge:Q,badgeSize:ue,badgeValue:de,showSubcaption:fe,subcaption:_e,stretched:pe,spaceBetween:be,icon:ge,postfix:ve,className:xe,tabIndex:ye,children:ne,"data-testid":X,style:Y,...ee}=r,H=oe=>{N&&M&&M(oe)};return l.jsx("button",{ref:i,type:W,className:z,disabled:C,tabIndex:r.tabIndex,onClick:H,"data-testid":X,"aria-disabled":C||T,style:Y,...ee,children:l.jsx(Qe,{...V})})}return null}),X2="_container_chiat_7",er="_image_chiat_19",tr="_loading_chiat_28",ke={container:X2,image:er,loading:tr},rr="_loader_1tevf_1",ar="_spin_1tevf_1",nr="_accent_1tevf_20",or="_neutral_1tevf_24",ir="_positive_1tevf_28",sr="_negative_1tevf_32",cr="_gray_1tevf_36",lr="_special_1tevf_40",ur="_contrast_1tevf_44",dr="_container_1tevf_48",fr="_overlay_1tevf_56",le={loader:rr,spin:ar,accent:nr,neutral:or,positive:ir,negative:sr,gray:cr,special:lr,contrast:ur,container:dr,overlay:fr,"size-16":"_size-16_1tevf_71","size-24":"_size-24_1tevf_75","size-48":"_size-48_1tevf_79","size-64":"_size-64_1tevf_83","size-96":"_size-96_1tevf_87"},et=S.forwardRef(({size:r=24,variant:i="accent",className:n,"data-testid":o="loader",style:d,...s},f)=>{const _=B(le.loader,le[i],le[`size-${r}`],n);return l.jsx("svg",{ref:f,className:_,fill:"none",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":o,style:d,...s,children:l.jsx("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.33333"})})}),_r=S.forwardRef((r,i)=>{const{loading:n=!1,size:o=24,variant:d="accent",children:s,className:f,style:_,"data-testid":c,...m}=r,b=B(le.container,f);return l.jsxs("div",{ref:i,className:b,style:_,"data-testid":c,...m,children:[s,n&&l.jsx("div",{className:le.overlay,children:l.jsx(et,{size:o,variant:d,"data-testid":`${c}-spinner`})})]})}),tt=S.forwardRef((r,i)=>r.children?l.jsx(_r,{ref:i,...r}):l.jsx(et,{ref:i,...r})),pr=({width:r=48,height:i=48,className:n,"data-testid":o})=>l.jsx("svg",{width:r,height:i,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"data-testid":o,children:l.jsx("path",{d:"M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",stroke:"#AABBCA",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})}),br=S.forwardRef((r,i)=>{const{alt:n="",loading:o="lazy",src:d,isLoading:s=!1,className:f,"data-testid":_="image",onError:c,onLoad:m,...b}=r,[v,y]=S.useState("loading"),w=v==="error",k=(s||v==="loading")&&!w,O=v==="loaded"&&!s,F=B(ke.image,{[ke.loading]:k},f),j=S.useCallback(N=>{y("loaded"),m==null||m(N)},[m]),C=S.useCallback(N=>{y("error"),c==null||c(N)},[c]),T={loader:l.jsxs(S.Fragment,{children:[l.jsx(tt,{size:48,variant:"special","data-testid":`${_}-loader`}),l.jsx("img",{alt:n,src:d,onLoad:j,onError:C,style:{display:"none"}})]}),error:l.jsx(pr,{"data-testid":`${_}-fallback`}),image:l.jsx("img",{ref:i,alt:n,"data-testid":_,loading:o,src:d,className:F})};return S.useEffect(()=>{if(!d){y("error");return}y("loading")},[d]),l.jsxs("div",{className:ke.container,"data-testid":`${_}-container`,...b,children:[k&&T.loader,w&&T.error,O&&T.image]})}),rt={},at=S.createContext({locale:rt}),nt=()=>{const r=S.useContext(at);if(!r)throw new Error("useConfig must be used within a ConfigProvider");return r},gr=()=>{const{locale:r}=nt();return r},vr="_wrapper_1ukzl_1",hr={wrapper:vr},mr=({locale:r={},theme:i,children:n,className:o})=>{const d=i?{...Object.fromEntries(Object.entries(i))}:{};return l.jsx("div",{"data-testid":"ConfigProvider-component",style:d,className:B(hr.wrapper,o),children:l.jsx(at.Provider,{value:{locale:r},children:n})})},Cr={};exports.Avatar=o2;exports.Badge=b2;exports.Button=Q2;exports.ConfigProvider=mr;exports.Image=br;exports.Loader=tt;exports.enUS=rt;exports.ruRU=Cr;exports.useConfig=nt;exports.useLocale=gr;
34
+ */var He;function Lt(){return He||(He=1,function(r){(function(){var i={}.hasOwnProperty;function n(){for(var s="",f=0;f<arguments.length;f++){var _=arguments[f];_&&(s=d(s,o(_)))}return s}function o(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var f="";for(var _ in s)i.call(s,_)&&s[_]&&(f=d(f,_));return f}function d(s,f){return f?s?s+" "+f:s+f:s}r.exports?(n.default=n,r.exports=n):window.classNames=n})()}($e)),$e.exports}var Nt=Lt();const B=kt(Nt),At="_avatar_1ob17_4",Mt="_clickable_1ob17_23",It="_icon_1ob17_40",Dt="_disabled_1ob17_45",Bt="_image_1ob17_51",Ft="_name_1ob17_51",zt="_circle_1ob17_160",Vt="_square_1ob17_164",D={avatar:At,clickable:Mt,icon:It,disabled:Dt,image:Bt,name:Ft,"size-208":"_size-208_1ob17_104","size-96":"_size-96_1ob17_111","size-84":"_size-84_1ob17_118","size-56":"_size-56_1ob17_125","size-48":"_size-48_1ob17_132","size-40":"_size-40_1ob17_139","size-32":"_size-32_1ob17_146","size-24":"_size-24_1ob17_153",circle:zt,square:Vt,"variant-filled":"_variant-filled_1ob17_185","color-brand":"_color-brand_1ob17_190","color-red":"_color-red_1ob17_194","color-orange":"_color-orange_1ob17_198","color-yellow":"_color-yellow_1ob17_202","color-green":"_color-green_1ob17_206","color-blue":"_color-blue_1ob17_210","color-lightblue":"_color-lightblue_1ob17_214","color-purple":"_color-purple_1ob17_218","color-gray":"_color-gray_1ob17_222","color-contrast":"_color-contrast_1ob17_226","variant-light":"_variant-light_1ob17_232","variant-outline":"_variant-outline_1ob17_304"},Je=99;function Wt(r){return r<Je?`+${r}`:`${Je}+`}function Xe(r){const i=typeof r=="string"?r:JSON.stringify(r);let n=5381;for(let o=0;o<i.length;o++){const d=i.charCodeAt(o);n=(n<<5)+n+d}return n>>>0}const Zt=["red","orange","yellow","green","blue","lightblue","purple"];function Ut(r,i=Zt){const n=Xe(r),o=Math.abs(n)%i.length;return i[o]}const Ke=2;function Gt(r){const i=r.split(" ");return i.length===1?r.slice(0,Ke).toUpperCase():i.map(n=>n[0]).slice(0,Ke).join("").toUpperCase()}function qt(r,i){return i==="circle"?r/2:r===24||r===208?8:r===32||r===40||r===48?12:r===56?16:r===84||r===96?24:12}const Yt="data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",Ht="data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Jt="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e",Kt="data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",Qt={male:Yt,female:Ht,org:Kt,neutral:Jt},Oe=S.forwardRef((r,i)=>{const{style:n,size:o=40,isLoading:d=!1,isDisabled:s=!1,shape:f="circle",variant:_="light",placeholderType:c="neutral",name:m="",imgSrc:b,imgAlt:v="",icon:x,imgProps:w,colorScheme:k,"data-testid":O,...F}=r,{onClick:j,onPointerDown:C}=F,N=!s&&!d&&(!!j||!!C),[G,z]=S.useState(!b),V=b&&!G?"image":x?"icon":m?"name":"placeholder",W=V==="name"?k||Ut(m):k||"gray",M=B(D.avatar,D[f],D[`size-${o}`],D[`variant-${_}`],D[`color-${W}`],{[D.disabled]:s,[D.loading]:d,[D.clickable]:N}),J={icon:()=>l.jsx("span",{"data-testid":"avatar-icon",title:v,role:"img",className:B(D.icon),children:x==null?void 0:x({})}),name:()=>l.jsx("span",{role:"textbox","data-testid":"avatar-name",className:B(D.name),title:v,children:Gt(m)}),placeholder:()=>l.jsx("img",{...w,"data-testid":"avatar-placeholder",className:D.image,src:Qt[c],alt:v}),image:()=>l.jsx("img",{"data-testid":"avatar-image",...w,className:D.image,src:b,alt:v,onLoad:()=>z(!1),onError:q=>{var A;z(!0),(A=w==null?void 0:w.onError)==null||A.call(w,q)}})},K=q=>{N&&(j==null||j(q))};return l.jsx("div",{ref:i,onClick:K,className:M,style:n,"data-testid":O,"aria-disabled":s||d,children:J[V](null)})}),Xt="_avatarGroup_157g4_1",e2={avatarGroup:Xt};let t2=(r=21)=>crypto.getRandomValues(new Uint8Array(r)).reduce((i,n)=>(n&=63,n<36?i+=n.toString(36):n<62?i+=(n-26).toString(36).toUpperCase():n>62?i+="-":i+="_",i),"");function r2(r,i,n,o,d,s,f){const _=Math.min(d,s)/2,c=Math.min(f,_),m=["M0,0",`H${r}`,`V${i}`,"H0","V0","Z"].join(" "),b=[`M${n+c},${o}`,`L${n+d-c},${o}`,`A${c},${c} 0 0 1 ${n+d},${o+c}`,`L${n+d},${o+s-c}`,`A${c},${c} 0 0 1 ${n+d-c},${o+s}`,`L${n+c},${o+s}`,`A${c},${c} 0 0 1 ${n},${o+s-c}`,`L${n},${o+c}`,`A${c},${c} 0 0 1 ${n+c},${o}`,"Z"].join(" ");return`${m} ${b}`}const a2=2,n2=r=>{const{avatars:i=[],overflowCount:n=0,size:o=40,overlap:d=.3,shape:s="circle",overflowOnClick:f}=r,_=o*d,c=-_+a2,m=qt(o,s),v=S.useRef(t2()).current.toString(),x=B(e2.avatarGroup),w=r2(o,o,o-_,0,o,o,m);return i.length===0?null:l.jsxs("div",{className:x,children:[i.map((k,O,F)=>{const j=O+1>=F.length;return l.jsx("div",{style:{clipPath:j&&!n?void 0:`url(#${v})`,marginRight:c},children:l.jsx(Oe,{size:o,shape:s,...k})},Xe(k)+O)}),n>0&&l.jsx("div",{style:{marginRight:c},children:l.jsx(Oe,{size:o,shape:s,onClick:f,icon:()=>Wt(n),colorScheme:"gray"})}),l.jsx("svg",{width:"0",height:"0",children:l.jsx("clipPath",{id:`${v}`,children:l.jsx("path",{clipPathUnits:"objectBoundingBox",d:w,clipRule:"evenodd"})})})]})},o2=Object.assign(Oe,{Group:n2}),i2="_wrapper_1ncab_5",s2="_badge__container_1ncab_6",c2="_badge__content_1ncab_7",l2="_interactive_1ncab_20",u2="_disabled_1ncab_21",d2="_icon_1ncab_22",U={wrapper:i2,badge__container:s2,badge__content:c2,interactive:l2,disabled:u2,icon:d2,"variant-filled":"_variant-filled_1ncab_101","color-brand":"_color-brand_1ncab_106","color-red":"_color-red_1ncab_110","color-orange":"_color-orange_1ncab_114","color-yellow":"_color-yellow_1ncab_118","color-green":"_color-green_1ncab_122","color-blue":"_color-blue_1ncab_126","color-lightblue":"_color-lightblue_1ncab_130","color-purple":"_color-purple_1ncab_134","color-gray":"_color-gray_1ncab_138","color-contrast":"_color-contrast_1ncab_142","variant-light":"_variant-light_1ncab_148","variant-outline":"_variant-outline_1ncab_220","variant-transparent":"_variant-transparent_1ncab_294","position-top-left":"_position-top-left_1ncab_361","position-top-right":"_position-top-right_1ncab_367","position-bottom-left":"_position-bottom-left_1ncab_373","position-bottom-right":"_position-bottom-right_1ncab_379","position-top-center":"_position-top-center_1ncab_385","position-bottom-center":"_position-bottom-center_1ncab_391","position-middle-left":"_position-middle-left_1ncab_397","position-middle-right":"_position-middle-right_1ncab_403","position-middle-center":"_position-middle-center_1ncab_409","position-top-left-inside":"_position-top-left-inside_1ncab_416","position-top-right-inside":"_position-top-right-inside_1ncab_422","position-bottom-left-inside":"_position-bottom-left-inside_1ncab_428","position-bottom-right-inside":"_position-bottom-right-inside_1ncab_434","position-top-center-inside":"_position-top-center-inside_1ncab_440","position-bottom-center-inside":"_position-bottom-center-inside_1ncab_446","position-middle-left-inside":"_position-middle-left-inside_1ncab_452","position-middle-right-inside":"_position-middle-right-inside_1ncab_458"},f2=r=>r==="rgba(0, 0, 0, 0)"||r==="transparent"||r.startsWith("rgba")&&r.endsWith(", 0)"),_2=r=>{if(!r)return null;let i=r;for(;i;){const o=window.getComputedStyle(i).backgroundColor;if(!f2(o))return o;i=i.parentElement}return null},p2=()=>{const r=S.useRef(null),[i,n]=S.useState(null);return S.useEffect(()=>{if(r.current){const o=_2(r.current);n(o)}},[]),{ref:r,bgColor:i}},b2=S.forwardRef((r,i)=>{const{icon:n,children:o,variant:d="filled",label:s,colorScheme:f="red",size:_=20,position:c="top-right",positionOffset:m={x:0,y:0},cutoutBackground:b,isDisabled:v,className:x,"data-testid":w="badge",...k}=r,{onClick:O,onPointerDown:F}=k,{ref:j,bgColor:C}=p2(),T=b||C,G=!v&&(!!O||!!F),z=B(U.badge__container,U[`position-${c}`]),V=B(x,U.badge__content,U[`color-${f}`],U[`variant-${d}`],{[U.icon]:!!n,[U.interactive]:G,[U.disabled]:v}),W={"--badge-height":`${_}px`,"--badge-offset-x":`${m.x}px`,"--badge-offset-y":`${m.y}px`,...T&&{"--badge-cutout-bg":T},...d==="transparent"&&{"--badge-cutout-bg":"transparent"}},M=(n==null?void 0:n({}))||s,J=K=>{G&&(O==null||O(K))};return l.jsxs("div",{className:U.wrapper,ref:j,"data-testid":w+"-wrapper",children:[o,l.jsx("span",{className:z,style:W,"data-testid":w+"-container",children:l.jsx("span",{...k,onClick:J,className:V,"data-testid":w+"-content",ref:i,"aria-disabled":v,children:M})})]})}),g2=r=>r.as==="a",v2=r=>r.as===void 0||r.as==="button",h2="_button_unbux_213",m2="_disabled_unbux_237",C2="_loading_unbux_237",y2="_neutral_unbux_259",x2="_accent_unbux_263",w2="_positive_unbux_267",R2="_negative_unbux_271",E2="_contrast_unbux_275",S2="_special_unbux_279",j2="_primary_unbux_284",$2="_secondary_unbux_285",k2="_tertiary_unbux_286",O2="_label_unbux_321",T2="_rightGroup_unbux_333",P2="_iconOnly_unbux_349",L2="_large_unbux_357",N2="_medium_unbux_361",A2="_small_unbux_365",M2="_spaceBetween_unbux_370",I2="_stretched_unbux_384",D2="_icon_unbux_349",B2="_badge_unbux_705",F2="_badgeMedium_unbux_721",z2="_circular_unbux_738",V2="_badgeSmall_unbux_743",W2="_badgeExtraSmall_unbux_765",Z2="_withSubcaption_unbux_784",U2="_subcaption_unbux_797",G2="_loader_unbux_804",q2="_spin_unbux_1",Y2="_l_unbux_237",H2="_m_unbux_361",J2="_s_unbux_279",K2="_xs_unbux_869",E={button:h2,disabled:m2,loading:C2,neutral:y2,accent:x2,positive:w2,negative:R2,contrast:E2,special:S2,primary:j2,secondary:$2,tertiary:k2,label:O2,rightGroup:T2,iconOnly:P2,large:L2,medium:N2,small:A2,spaceBetween:M2,stretched:I2,icon:D2,badge:B2,badgeMedium:F2,circular:z2,badgeSmall:V2,badgeExtraSmall:W2,withSubcaption:Z2,subcaption:U2,loader:G2,spin:q2,l:Y2,m:H2,s:J2,xs:K2},Qe=({isLoading:r,showBadge:i,badgeValue:n,badgeSize:o,icon:d,children:s,postfix:f,showSubcaption:_,subcaption:c,size:m})=>{if(r)return l.jsx("span",{className:E.loader,"data-testid":"button-loader","aria-hidden":"true"});const b=o==="extra-small",v=parseInt(String(n),10),x=!isNaN(v)&&v>=0&&v<=9;return l.jsxs(l.Fragment,{children:[i&&(n||b)&&l.jsx("span",{"data-testid":"button-badge",className:B(E.badge,E[`badge${b?"ExtraSmall":o==="medium"?"Medium":"Small"}`],{[E.circular]:x&&!b}),children:!b&&n}),_&&m!=="s"&&m!=="xs"?l.jsxs(l.Fragment,{children:[l.jsx("span",{"data-testid":"button-label",className:E.label,children:s}),l.jsx("span",{"data-testid":"button-subcaption",className:E.subcaption,children:c})]}):s?l.jsxs(l.Fragment,{children:[l.jsx("span",{"data-testid":"button-label",className:E.label,children:s}),l.jsxs("div",{"data-testid":"button-right-group",className:E.rightGroup,children:[d&&l.jsx("span",{"data-testid":"button-icon",className:E.icon,children:d}),f&&l.jsx("span",{"data-testid":"button-postfix",className:E.postfix,children:f})]})]}):l.jsx("span",{"data-testid":"button-icon",className:E.icon,children:d})]})},Q2=S.forwardRef((r,i)=>{const{mode:n="primary",size:o="m",buttonStyle:d="neutral",loading:s=!1,disabled:f=!1,showBadge:_=!1,badgeSize:c="small",badgeValue:m,showSubcaption:b=!1,subcaption:v,stretched:x=!1,spaceBetween:w=!1,icon:k,postfix:O,className:F,children:j}=r,C=f,T=s,N=!C&&!T,G=!!k&&!j,z=B(E.button,E[o],E[n],E[d],{[E.disabled]:C,[E.loading]:T,[E.stretched]:x,[E.spaceBetween]:w&&x,[E.withSubcaption]:b&&v&&o!=="s"&&o!=="xs",[E.iconOnly]:G},F),V={isLoading:T,showBadge:_,badgeValue:m,badgeSize:c,icon:k,children:j,postfix:O,showSubcaption:b,subcaption:v,size:o};if(g2(r)){const{href:W,onClick:M,mode:J,size:K,buttonStyle:q,loading:A,disabled:Z,showBadge:Q,badgeSize:ue,badgeValue:de,showSubcaption:fe,subcaption:_e,stretched:pe,spaceBetween:be,icon:ge,postfix:ve,className:ye,tabIndex:xe,children:ne,"data-testid":X,style:Y,...ee}=r,H=oe=>{N&&M&&M(oe)};return l.jsx("a",{ref:i,className:z,href:N?W:void 0,tabIndex:r.tabIndex,onClick:H,"data-testid":X,"aria-disabled":C||T,style:Y,...ee,children:l.jsx(Qe,{...V})})}if(v2(r)){const{type:W="button",onClick:M,mode:J,size:K,buttonStyle:q,loading:A,disabled:Z,showBadge:Q,badgeSize:ue,badgeValue:de,showSubcaption:fe,subcaption:_e,stretched:pe,spaceBetween:be,icon:ge,postfix:ve,className:ye,tabIndex:xe,children:ne,"data-testid":X,style:Y,...ee}=r,H=oe=>{N&&M&&M(oe)};return l.jsx("button",{ref:i,type:W,className:z,disabled:C,tabIndex:r.tabIndex,onClick:H,"data-testid":X,"aria-disabled":C||T,style:Y,...ee,children:l.jsx(Qe,{...V})})}return null}),X2="_container_chiat_7",er="_image_chiat_19",tr="_loading_chiat_28",ke={container:X2,image:er,loading:tr},rr="_loader_1tevf_1",ar="_spin_1tevf_1",nr="_accent_1tevf_20",or="_neutral_1tevf_24",ir="_positive_1tevf_28",sr="_negative_1tevf_32",cr="_gray_1tevf_36",lr="_special_1tevf_40",ur="_contrast_1tevf_44",dr="_container_1tevf_48",fr="_overlay_1tevf_56",le={loader:rr,spin:ar,accent:nr,neutral:or,positive:ir,negative:sr,gray:cr,special:lr,contrast:ur,container:dr,overlay:fr,"size-16":"_size-16_1tevf_71","size-24":"_size-24_1tevf_75","size-48":"_size-48_1tevf_79","size-64":"_size-64_1tevf_83","size-96":"_size-96_1tevf_87"},et=S.forwardRef(({size:r=24,variant:i="accent",className:n,"data-testid":o="loader",style:d,...s},f)=>{const _=B(le.loader,le[i],le[`size-${r}`],n);return l.jsx("svg",{ref:f,className:_,fill:"none",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":o,style:d,...s,children:l.jsx("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.33333"})})}),_r=S.forwardRef((r,i)=>{const{loading:n=!1,size:o=24,variant:d="accent",children:s,className:f,style:_,"data-testid":c,...m}=r,b=B(le.container,f);return l.jsxs("div",{ref:i,className:b,style:_,"data-testid":c,...m,children:[s,n&&l.jsx("div",{className:le.overlay,children:l.jsx(et,{size:o,variant:d,"data-testid":`${c}-spinner`})})]})}),tt=S.forwardRef((r,i)=>r.children?l.jsx(_r,{ref:i,...r}):l.jsx(et,{ref:i,...r})),pr=({width:r=48,height:i=48,className:n,"data-testid":o})=>l.jsx("svg",{width:r,height:i,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,"data-testid":o,children:l.jsx("path",{d:"M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",stroke:"#AABBCA",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})}),br=S.forwardRef((r,i)=>{const{alt:n="",loading:o="lazy",src:d,isLoading:s=!1,className:f,"data-testid":_="image",onError:c,onLoad:m,...b}=r,[v,x]=S.useState("loading"),w=v==="error",k=(s||v==="loading")&&!w,O=v==="loaded"&&!s,F=B(ke.image,{[ke.loading]:k},f),j=S.useCallback(N=>{x("loaded"),m==null||m(N)},[m]),C=S.useCallback(N=>{x("error"),c==null||c(N)},[c]),T={loader:l.jsxs(S.Fragment,{children:[l.jsx(tt,{size:48,variant:"special","data-testid":`${_}-loader`}),l.jsx("img",{alt:n,src:d,onLoad:j,onError:C,style:{display:"none"}})]}),error:l.jsx(pr,{"data-testid":`${_}-fallback`}),image:l.jsx("img",{ref:i,alt:n,"data-testid":_,loading:o,src:d,className:F})};return S.useEffect(()=>{if(!d){x("error");return}x("loading")},[d]),l.jsxs("div",{className:ke.container,"data-testid":`${_}-container`,...b,children:[k&&T.loader,w&&T.error,O&&T.image]})}),rt={},at=S.createContext({locale:rt}),nt=()=>{const r=S.useContext(at);if(!r)throw new Error("useConfig must be used within a ConfigProvider");return r},gr=()=>{const{locale:r}=nt();return r},vr="_wrapper_1ukzl_1",hr={wrapper:vr},mr={},Cr={},yr={},xr=({locale:r={},theme:i,children:n,className:o})=>{const d=i?{...Object.fromEntries(Object.entries(i))}:{};return l.jsx("div",{"data-testid":"ConfigProvider-component",style:d,className:B(hr.wrapper,mr.root,Cr.root,yr.root,o),children:l.jsx(at.Provider,{value:{locale:r},children:n})})},wr={};exports.Avatar=o2;exports.Badge=b2;exports.Button=Q2;exports.ConfigProvider=xr;exports.Image=br;exports.Loader=tt;exports.enUS=rt;exports.ruRU=wr;exports.useConfig=nt;exports.useLocale=gr;
package/dist/index.es.js CHANGED
@@ -880,7 +880,7 @@ const c2 = 2, l2 = (r) => {
880
880
  ) }),
881
881
  /* @__PURE__ */ l.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ l.jsx("clipPath", { id: `${v}`, children: /* @__PURE__ */ l.jsx("path", { clipPathUnits: "objectBoundingBox", d: w, clipRule: "evenodd" }) }) })
882
882
  ] });
883
- }, wr = Object.assign(Oe, {
883
+ }, Sr = Object.assign(Oe, {
884
884
  Group: l2
885
885
  }), u2 = "_wrapper_1ncab_5", d2 = "_badge__container_1ncab_6", f2 = "_badge__content_1ncab_7", _2 = "_interactive_1ncab_20", p2 = "_disabled_1ncab_21", b2 = "_icon_1ncab_22", Z = {
886
886
  wrapper: u2,
@@ -937,7 +937,7 @@ const c2 = 2, l2 = (r) => {
937
937
  n(o);
938
938
  }
939
939
  }, []), { ref: r, bgColor: i };
940
- }, Er = te((r, i) => {
940
+ }, jr = te((r, i) => {
941
941
  const {
942
942
  icon: n,
943
943
  children: o,
@@ -1068,7 +1068,7 @@ const c2 = 2, l2 = (r) => {
1068
1068
  ] })
1069
1069
  ] }) : /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d })
1070
1070
  ] });
1071
- }, Rr = te((r, i) => {
1071
+ }, $r = te((r, i) => {
1072
1072
  const {
1073
1073
  mode: n = "primary",
1074
1074
  size: o = "m",
@@ -1301,7 +1301,7 @@ const c2 = 2, l2 = (r) => {
1301
1301
  }
1302
1302
  )
1303
1303
  }
1304
- ), Sr = te((r, i) => {
1304
+ ), kr = te((r, i) => {
1305
1305
  const {
1306
1306
  alt: n = "",
1307
1307
  loading: o = "lazy",
@@ -1373,12 +1373,12 @@ const c2 = 2, l2 = (r) => {
1373
1373
  if (!r)
1374
1374
  throw new Error("useConfig must be used within a ConfigProvider");
1375
1375
  return r;
1376
- }, jr = () => {
1376
+ }, Or = () => {
1377
1377
  const { locale: r } = mr();
1378
1378
  return r;
1379
1379
  }, Cr = "_wrapper_1ukzl_1", xr = {
1380
1380
  wrapper: Cr
1381
- }, $r = ({
1381
+ }, yr = {}, wr = {}, Er = {}, Tr = ({
1382
1382
  locale: r = {},
1383
1383
  theme: i,
1384
1384
  children: n,
@@ -1390,20 +1390,26 @@ const c2 = 2, l2 = (r) => {
1390
1390
  {
1391
1391
  "data-testid": "ConfigProvider-component",
1392
1392
  style: d,
1393
- className: D(xr.wrapper, o),
1393
+ className: D(
1394
+ xr.wrapper,
1395
+ yr.root,
1396
+ wr.root,
1397
+ Er.root,
1398
+ o
1399
+ ),
1394
1400
  children: /* @__PURE__ */ l.jsx(it.Provider, { value: { locale: r }, children: n })
1395
1401
  }
1396
1402
  );
1397
- }, kr = {};
1403
+ }, Pr = {};
1398
1404
  export {
1399
- wr as Avatar,
1400
- Er as Badge,
1401
- Rr as Button,
1402
- $r as ConfigProvider,
1403
- Sr as Image,
1405
+ Sr as Avatar,
1406
+ jr as Badge,
1407
+ $r as Button,
1408
+ Tr as ConfigProvider,
1409
+ kr as Image,
1404
1410
  gr as Loader,
1405
1411
  hr as enUS,
1406
- kr as ruRU,
1412
+ Pr as ruRU,
1407
1413
  mr as useConfig,
1408
- jr as useLocale
1414
+ Or as useLocale
1409
1415
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillgrid",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Skillgrid Components Library",
5
5
  "keywords": ["react", "ui", "components"],
6
6
  "author": "Skillaz Dev.",
@@ -30,11 +30,13 @@
30
30
  "build": "vite build",
31
31
  "type-check": "tsc",
32
32
  "prepublish": "npm run build",
33
+ "postinstall": "husky",
33
34
  "format": "prettier --write .",
34
35
  "lint": "eslint . --ext .ts,.tsx",
35
36
  "lint:fix": "eslint . --ext .ts,.tsx --fix",
36
37
  "lint:css": "stylelint **/*.css",
37
38
  "lint:css:fix": "stylelint **/*.css --fix",
39
+ "lint:fix:all": "npm run lint:fix && npm run lint:css:fix",
38
40
  "preview": "vite preview",
39
41
  "prepare": "husky install",
40
42
  "skillgrid": "ts-node --esm scripts/generators/index.ts",
@@ -80,7 +82,7 @@
80
82
  "eslint-config-prettier": "^10.1.5",
81
83
  "eslint-plugin-import": "^2.32.0",
82
84
  "globals": "^16.0.0",
83
- "husky": "^8.0.0",
85
+ "husky": "^9.1.7",
84
86
  "identity-obj-proxy": "^3.0.0",
85
87
  "jsdom": "^24.0.0",
86
88
  "react": "18.3.1",