@revotech-group/revotech-ui-kit 0.1.38 → 0.1.40

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/library.css CHANGED
@@ -732,6 +732,10 @@ body {
732
732
  width: 1rem;
733
733
  height: 1rem;
734
734
  }
735
+ .rtg-size-8 {
736
+ width: 2rem;
737
+ height: 2rem;
738
+ }
735
739
  .rtg-size-full {
736
740
  width: 100%;
737
741
  height: 100%;
@@ -796,9 +800,6 @@ body {
796
800
  .rtg-h-\[400px\] {
797
801
  height: 400px;
798
802
  }
799
- .rtg-h-auto {
800
- height: auto;
801
- }
802
803
  .rtg-h-full {
803
804
  height: 100%;
804
805
  }
@@ -904,9 +905,6 @@ body {
904
905
  .rtg-w-\[800px\] {
905
906
  width: 800px;
906
907
  }
907
- .rtg-w-auto {
908
- width: auto;
909
- }
910
908
  .rtg-w-fit {
911
909
  width: -moz-fit-content;
912
910
  width: fit-content;
@@ -6241,7 +6241,7 @@ Lt([
6241
6241
  Ue = Lt([
6242
6242
  p("rtg-checkbox")
6243
6243
  ], Ue);
6244
- const za = "rtg-relative rtg-flex rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full", qa = "rtg-aspect-square rtg-w-auto rtg-h-auto rtg-rounded-full", Ba = "rtg-aspect-square rtg-h-auto rtg-w-auto rtg-rounded-full rtg-bg-muted rtg-inline-block";
6244
+ const za = "rtg-relative rtg-flex rtg-size-8 rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full", qa = "rtg-aspect-square rtg-size-full", Ba = "rtg-bg-muted rtg-flex rtg-size-full rtg-items-center rtg-justify-center rtg-rounded-full";
6245
6245
  var Fa = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, Fn = (e, t, o, s) => {
6246
6246
  for (var r = s > 1 ? void 0 : s ? Va(t, o) : t, n = e.length - 1, i; n >= 0; n--)
6247
6247
  (i = e[n]) && (r = (s ? i(t, o, r) : i(r)) || r);
@@ -12404,7 +12404,13 @@ let er = class extends h {
12404
12404
  constructor() {
12405
12405
  super(...arguments), this.defaultValue = "", this.value = "", this.handleClick = (e) => {
12406
12406
  var s;
12407
- e.preventDefault(), e.stopPropagation();
12407
+ e.preventDefault(), this.dispatchEvent(
12408
+ new CustomEvent("tab-trigger-click", {
12409
+ bubbles: !0,
12410
+ composed: !0,
12411
+ detail: { value: this.value }
12412
+ })
12413
+ );
12408
12414
  const t = e.target, o = (s = this.shadowRoot) == null ? void 0 : s.querySelector("button");
12409
12415
  if (o && o.click(), t instanceof HTMLButtonElement) {
12410
12416
  const r = t.getAttribute("value") ?? "";
@@ -12473,8 +12479,7 @@ let er = class extends h {
12473
12479
  data-orientation=${this.orientation}
12474
12480
  data-radix-collection-item=""
12475
12481
  @click=${this.handleClick}
12476
- >
12477
- </button>
12482
+ ></button>
12478
12483
  </div>
12479
12484
  `;
12480
12485
  }
@@ -15764,7 +15769,7 @@ function $v() {
15764
15769
  );
15765
15770
  }, O.useTransition = function() {
15766
15771
  return N.H.useTransition();
15767
- }, O.version = "19.1.1", O;
15772
+ }, O.version = "19.1.0", O;
15768
15773
  }
15769
15774
  var Yt = { exports: {} };
15770
15775
  /**
@@ -16247,14 +16252,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
16247
16252
  return null;
16248
16253
  };
16249
16254
  le = {
16250
- react_stack_bottom_frame: function(a) {
16255
+ "react-stack-bottom-frame": function(a) {
16251
16256
  return a();
16252
16257
  }
16253
16258
  };
16254
- var wo, xo, _o = {}, Bi = le.react_stack_bottom_frame.bind(
16255
- le,
16256
- G
16257
- )(), Fi = yo(k(G)), Co = !1, $o = /\/+/g, Eo = typeof reportError == "function" ? reportError : function(a) {
16259
+ var wo, xo, _o = {}, Bi = le["react-stack-bottom-frame"].bind(le, G)(), Fi = yo(k(G)), Co = !1, $o = /\/+/g, Eo = typeof reportError == "function" ? reportError : function(a) {
16258
16260
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
16259
16261
  var u = new window.ErrorEvent("error", {
16260
16262
  bubbles: !0,
@@ -16597,7 +16599,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
16597
16599
  );
16598
16600
  }, t.useTransition = function() {
16599
16601
  return V().useTransition();
16600
- }, t.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
16602
+ }, t.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
16601
16603
  }();
16602
16604
  }(Yt, Yt.exports)), Yt.exports;
16603
16605
  }
@@ -2956,7 +2956,7 @@ body {
2956
2956
  <polyline points="20 6 9 17 4 12"></polyline></svg
2957
2957
  ></span>`:d.nothing}
2958
2958
  </button>
2959
- `}},Te([l.property({type:Boolean})],o.Checkbox.prototype,"disabled",2),Te([l.property({type:Boolean})],o.Checkbox.prototype,"checked",2),Te([l.property({type:String})],o.Checkbox.prototype,"type",2),Te([l.property({type:String})],o.Checkbox.prototype,"value",2),Te([l.property({type:Boolean})],o.Checkbox.prototype,"required",2),o.Checkbox=Te([l.customElement("rtg-checkbox")],o.Checkbox);const No="rtg-relative rtg-flex rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full",Bo="rtg-aspect-square rtg-w-auto rtg-h-auto rtg-rounded-full",qo="rtg-aspect-square rtg-h-auto rtg-w-auto rtg-rounded-full rtg-bg-muted rtg-inline-block";var Uo=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,Or=(i,e,r,n)=>{for(var t=n>1?void 0:n?zo(e,r):e,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&Uo(e,r,t),t};o.AvatarFallback=class extends h{createRenderRoot(){return this}getAttributesToRemoveFromParent(){return["class","style"]}firstUpdated(e){this.observeStyleAndClassSync(this.spanElement),this.style.setProperty("width","100%"),this.style.setProperty("height","100%")}render(){const e=this.customStyle||"",r=this.customClass||"",n=this.getFilteredAttributes();return d.html`
2959
+ `}},Te([l.property({type:Boolean})],o.Checkbox.prototype,"disabled",2),Te([l.property({type:Boolean})],o.Checkbox.prototype,"checked",2),Te([l.property({type:String})],o.Checkbox.prototype,"type",2),Te([l.property({type:String})],o.Checkbox.prototype,"value",2),Te([l.property({type:Boolean})],o.Checkbox.prototype,"required",2),o.Checkbox=Te([l.customElement("rtg-checkbox")],o.Checkbox);const No="rtg-relative rtg-flex rtg-size-8 rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full",Bo="rtg-aspect-square rtg-size-full",qo="rtg-bg-muted rtg-flex rtg-size-full rtg-items-center rtg-justify-center rtg-rounded-full";var Uo=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,Or=(i,e,r,n)=>{for(var t=n>1?void 0:n?zo(e,r):e,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&Uo(e,r,t),t};o.AvatarFallback=class extends h{createRenderRoot(){return this}getAttributesToRemoveFromParent(){return["class","style"]}firstUpdated(e){this.observeStyleAndClassSync(this.spanElement),this.style.setProperty("width","100%"),this.style.setProperty("height","100%")}render(){const e=this.customStyle||"",r=this.customClass||"",n=this.getFilteredAttributes();return d.html`
2960
2960
  <span
2961
2961
  ${U(n)}
2962
2962
  class="${p(qo,r)}"
@@ -4390,7 +4390,7 @@ body {
4390
4390
  class=${t}
4391
4391
  style="${r}"
4392
4392
  ></div>
4393
- `}},Zt([l.property({type:Number})],o.TabList.prototype,"tabindex",2),Zt([l.property({type:String})],o.TabList.prototype,"orientation",2),o.TabList=Zt([l.customElement("rtg-tab-list")],o.TabList);var ld=Object.defineProperty,cd=Object.getOwnPropertyDescriptor,gt=(i,e,r,n)=>{for(var t=n>1?void 0:n?cd(e,r):e,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&ld(e,r,t),t};o.TabsTrigger=class extends h{constructor(){super(...arguments),this.defaultValue="",this.value="",this.handleClick=e=>{var t;e.preventDefault(),e.stopPropagation();const r=e.target,n=(t=this.shadowRoot)==null?void 0:t.querySelector("button");if(n&&n.click(),r instanceof HTMLButtonElement){const a=r.getAttribute("value")??"";this.defaultValue=a,this._tab&&(this._tab.defaultValue=a,this._tab.raiseEvent()),this.onClickCallback&&this.onClickCallback(a)}}}get _tab(){let e=this.parentElement;for(;e&&!(e instanceof o.Tab);)e=e.parentElement;return e}get _tabList(){let e=this.parentElement;for(;e&&!(e instanceof o.TabList);)e=e.parentElement;return e}get _containerElement(){return this.querySelector("button[part=tab-trigger-button]")}firstUpdated(e){super.firstUpdated(e),this.observeStyleAndClassSync(this._containerElement),this.moveLightDomChildrenInto(this._containerElement),this._tab&&(this.defaultValue=this._tab.defaultValue)}getAttributesToExclude(){return["value","defaultValue","data-testid"]}getAttributesToRemoveFromParent(){return["class","style","data-testid"]}createRenderRoot(){return this}get orientation(){var e;return((e=this._tab)==null?void 0:e.orientation)??"horizontal"}render(){const e=this.customStyle||"",r=this.customClass||"",n=this.getFilteredAttributes();return Ce.html`
4393
+ `}},Zt([l.property({type:Number})],o.TabList.prototype,"tabindex",2),Zt([l.property({type:String})],o.TabList.prototype,"orientation",2),o.TabList=Zt([l.customElement("rtg-tab-list")],o.TabList);var ld=Object.defineProperty,cd=Object.getOwnPropertyDescriptor,gt=(i,e,r,n)=>{for(var t=n>1?void 0:n?cd(e,r):e,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&ld(e,r,t),t};o.TabsTrigger=class extends h{constructor(){super(...arguments),this.defaultValue="",this.value="",this.handleClick=e=>{var t;e.preventDefault(),this.dispatchEvent(new CustomEvent("tab-trigger-click",{bubbles:!0,composed:!0,detail:{value:this.value}}));const r=e.target,n=(t=this.shadowRoot)==null?void 0:t.querySelector("button");if(n&&n.click(),r instanceof HTMLButtonElement){const a=r.getAttribute("value")??"";this.defaultValue=a,this._tab&&(this._tab.defaultValue=a,this._tab.raiseEvent()),this.onClickCallback&&this.onClickCallback(a)}}}get _tab(){let e=this.parentElement;for(;e&&!(e instanceof o.Tab);)e=e.parentElement;return e}get _tabList(){let e=this.parentElement;for(;e&&!(e instanceof o.TabList);)e=e.parentElement;return e}get _containerElement(){return this.querySelector("button[part=tab-trigger-button]")}firstUpdated(e){super.firstUpdated(e),this.observeStyleAndClassSync(this._containerElement),this.moveLightDomChildrenInto(this._containerElement),this._tab&&(this.defaultValue=this._tab.defaultValue)}getAttributesToExclude(){return["value","defaultValue","data-testid"]}getAttributesToRemoveFromParent(){return["class","style","data-testid"]}createRenderRoot(){return this}get orientation(){var e;return((e=this._tab)==null?void 0:e.orientation)??"horizontal"}render(){const e=this.customStyle||"",r=this.customClass||"",n=this.getFilteredAttributes();return Ce.html`
4394
4394
  <div
4395
4395
  part="tab-trigger"
4396
4396
  role="tablist"
@@ -4415,8 +4415,7 @@ body {
4415
4415
  data-orientation=${this.orientation}
4416
4416
  data-radix-collection-item=""
4417
4417
  @click=${this.handleClick}
4418
- >
4419
- </button>
4418
+ ></button>
4420
4419
  </div>
4421
4420
  `}},gt([l.property({type:String})],o.TabsTrigger.prototype,"defaultValue",2),gt([l.property({type:String})],o.TabsTrigger.prototype,"value",2),gt([l.property({type:Function})],o.TabsTrigger.prototype,"onClickCallback",2),o.TabsTrigger=gt([l.customElement("rtg-tab-trigger")],o.TabsTrigger);var dd=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,Qt=(i,e,r,n)=>{for(var t=n>1?void 0:n?ud(e,r):e,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&dd(e,r,t),t};o.TabContent=class extends h{constructor(){super(...arguments),this.value="",this.selectedValue=""}get _tab(){let e=this.parentElement;for(;e&&!(e instanceof o.Tab);)e=e.parentElement;return e}get _containerElement(){return this.querySelector("div[part=tab-content]")}updated(e){super.updated(e)}connectedCallback(){var e;super.connectedCallback(),(e=this._tab)==null||e.addEventListener("tab-change",r=>{this.selectedValue=r.detail.selectedValue,this.requestUpdate()})}disconnectedCallback(){super.disconnectedCallback(),this._tab&&this._tab.removeEventListener("tab-change",()=>{})}createRenderRoot(){return this}firstUpdated(e){this.observeStyleAndClassSync(this._containerElement),this.moveLightDomChildrenInto(this._containerElement)}getAttributesToExclude(){return["data-testid"]}getAttributesToRemoveFromParent(){return["class","style","data-testid"]}render(){const e=this.customStyle||"",r=this.customClass||"",n=this._tab&&this._tab.defaultValue.toLocaleLowerCase()===this.value.toLocaleLowerCase(),t=p(n?"rtg-block":"rtg-hidden",r,this.customClass);return Ce.html`
4422
4421
  <div
@@ -5184,7 +5183,7 @@ body {
5184
5183
  *
5185
5184
  * This source code is licensed under the MIT license found in the
5186
5185
  * LICENSE file in the root directory of this source tree.
5187
- */var $n;function Cg(){if($n)return O;$n=1;var i=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),t=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.iterator;function k(u){return u===null||typeof u!="object"?null:(u=x&&u[x]||u["@@iterator"],typeof u=="function"?u:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,q={};function P(u,v,$){this.props=u,this.context=v,this.refs=q,this.updater=$||G}P.prototype.isReactComponent={},P.prototype.setState=function(u,v){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,v,"setState")},P.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function N(){}N.prototype=P.prototype;function W(u,v,$){this.props=u,this.context=v,this.refs=q,this.updater=$||G}var j=W.prototype=new N;j.constructor=W,L(j,P.prototype),j.isPureReactComponent=!0;var ee=Array.isArray,B={H:null,A:null,T:null,S:null,V:null},fe=Object.prototype.hasOwnProperty;function be(u,v,$,E,M,Y){return $=Y.ref,{$$typeof:i,type:u,key:v,ref:$!==void 0?$:null,props:Y}}function ae(u,v){return be(u.type,v,void 0,void 0,void 0,u.props)}function te(u){return typeof u=="object"&&u!==null&&u.$$typeof===i}function Ie(u){var v={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function($){return v[$]})}var V=/\/+/g;function z(u,v){return typeof u=="object"&&u!==null&&u.key!=null?Ie(""+u.key):v.toString(36)}function ce(){}function re(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(ce,ce):(u.status="pending",u.then(function(v){u.status==="pending"&&(u.status="fulfilled",u.value=v)},function(v){u.status==="pending"&&(u.status="rejected",u.reason=v)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function X(u,v,$,E,M){var Y=typeof u;(Y==="undefined"||Y==="boolean")&&(u=null);var R=!1;if(u===null)R=!0;else switch(Y){case"bigint":case"string":case"number":R=!0;break;case"object":switch(u.$$typeof){case i:case e:R=!0;break;case w:return R=u._init,X(R(u._payload),v,$,E,M)}}if(R)return M=M(u),R=E===""?"."+z(u,0):E,ee(M)?($="",R!=null&&($=R.replace(V,"$&/")+"/"),X(M,v,$,"",function(Ye){return Ye})):M!=null&&(te(M)&&(M=ae(M,$+(M.key==null||u&&u.key===M.key?"":(""+M.key).replace(V,"$&/")+"/")+R)),v.push(M)),1;R=0;var ge=E===""?".":E+":";if(ee(u))for(var K=0;K<u.length;K++)E=u[K],Y=ge+z(E,K),R+=X(E,v,$,Y,M);else if(K=k(u),typeof K=="function")for(u=K.call(u),K=0;!(E=u.next()).done;)E=E.value,Y=ge+z(E,K++),R+=X(E,v,$,Y,M);else if(Y==="object"){if(typeof u.then=="function")return X(re(u),v,$,E,M);throw v=String(u),Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.")}return R}function Z(u,v,$){if(u==null)return u;var E=[],M=0;return X(u,E,"","",function(Y){return v.call($,Y,M++)}),E}function ye(u){if(u._status===-1){var v=u._result;v=v(),v.then(function($){(u._status===0||u._status===-1)&&(u._status=1,u._result=$)},function($){(u._status===0||u._status===-1)&&(u._status=2,u._result=$)}),u._status===-1&&(u._status=0,u._result=v)}if(u._status===1)return u._result.default;throw u._result}var de=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var v=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(v))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)};function ue(){}return O.Children={map:Z,forEach:function(u,v,$){Z(u,function(){v.apply(this,arguments)},$)},count:function(u){var v=0;return Z(u,function(){v++}),v},toArray:function(u){return Z(u,function(v){return v})||[]},only:function(u){if(!te(u))throw Error("React.Children.only expected to receive a single React element child.");return u}},O.Component=P,O.Fragment=r,O.Profiler=t,O.PureComponent=W,O.StrictMode=n,O.Suspense=C,O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,O.__COMPILER_RUNTIME={__proto__:null,c:function(u){return B.H.useMemoCache(u)}},O.cache=function(u){return function(){return u.apply(null,arguments)}},O.cloneElement=function(u,v,$){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var E=L({},u.props),M=u.key,Y=void 0;if(v!=null)for(R in v.ref!==void 0&&(Y=void 0),v.key!==void 0&&(M=""+v.key),v)!fe.call(v,R)||R==="key"||R==="__self"||R==="__source"||R==="ref"&&v.ref===void 0||(E[R]=v[R]);var R=arguments.length-2;if(R===1)E.children=$;else if(1<R){for(var ge=Array(R),K=0;K<R;K++)ge[K]=arguments[K+2];E.children=ge}return be(u.type,M,void 0,void 0,Y,E)},O.createContext=function(u){return u={$$typeof:s,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:a,_context:u},u},O.createElement=function(u,v,$){var E,M={},Y=null;if(v!=null)for(E in v.key!==void 0&&(Y=""+v.key),v)fe.call(v,E)&&E!=="key"&&E!=="__self"&&E!=="__source"&&(M[E]=v[E]);var R=arguments.length-2;if(R===1)M.children=$;else if(1<R){for(var ge=Array(R),K=0;K<R;K++)ge[K]=arguments[K+2];M.children=ge}if(u&&u.defaultProps)for(E in R=u.defaultProps,R)M[E]===void 0&&(M[E]=R[E]);return be(u,Y,void 0,void 0,null,M)},O.createRef=function(){return{current:null}},O.forwardRef=function(u){return{$$typeof:m,render:u}},O.isValidElement=te,O.lazy=function(u){return{$$typeof:w,_payload:{_status:-1,_result:u},_init:ye}},O.memo=function(u,v){return{$$typeof:y,type:u,compare:v===void 0?null:v}},O.startTransition=function(u){var v=B.T,$={};B.T=$;try{var E=u(),M=B.S;M!==null&&M($,E),typeof E=="object"&&E!==null&&typeof E.then=="function"&&E.then(ue,de)}catch(Y){de(Y)}finally{B.T=v}},O.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},O.use=function(u){return B.H.use(u)},O.useActionState=function(u,v,$){return B.H.useActionState(u,v,$)},O.useCallback=function(u,v){return B.H.useCallback(u,v)},O.useContext=function(u){return B.H.useContext(u)},O.useDebugValue=function(){},O.useDeferredValue=function(u,v){return B.H.useDeferredValue(u,v)},O.useEffect=function(u,v,$){var E=B.H;if(typeof $=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return E.useEffect(u,v)},O.useId=function(){return B.H.useId()},O.useImperativeHandle=function(u,v,$){return B.H.useImperativeHandle(u,v,$)},O.useInsertionEffect=function(u,v){return B.H.useInsertionEffect(u,v)},O.useLayoutEffect=function(u,v){return B.H.useLayoutEffect(u,v)},O.useMemo=function(u,v){return B.H.useMemo(u,v)},O.useOptimistic=function(u,v){return B.H.useOptimistic(u,v)},O.useReducer=function(u,v,$){return B.H.useReducer(u,v,$)},O.useRef=function(u){return B.H.useRef(u)},O.useState=function(u){return B.H.useState(u)},O.useSyncExternalStore=function(u,v,$){return B.H.useSyncExternalStore(u,v,$)},O.useTransition=function(){return B.H.useTransition()},O.version="19.1.1",O}var st={exports:{}};/**
5186
+ */var $n;function Cg(){if($n)return O;$n=1;var i=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),t=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),x=Symbol.iterator;function k(u){return u===null||typeof u!="object"?null:(u=x&&u[x]||u["@@iterator"],typeof u=="function"?u:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,q={};function P(u,v,$){this.props=u,this.context=v,this.refs=q,this.updater=$||G}P.prototype.isReactComponent={},P.prototype.setState=function(u,v){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,v,"setState")},P.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function N(){}N.prototype=P.prototype;function W(u,v,$){this.props=u,this.context=v,this.refs=q,this.updater=$||G}var j=W.prototype=new N;j.constructor=W,L(j,P.prototype),j.isPureReactComponent=!0;var ee=Array.isArray,B={H:null,A:null,T:null,S:null,V:null},fe=Object.prototype.hasOwnProperty;function be(u,v,$,E,M,Y){return $=Y.ref,{$$typeof:i,type:u,key:v,ref:$!==void 0?$:null,props:Y}}function ae(u,v){return be(u.type,v,void 0,void 0,void 0,u.props)}function te(u){return typeof u=="object"&&u!==null&&u.$$typeof===i}function Ie(u){var v={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function($){return v[$]})}var V=/\/+/g;function z(u,v){return typeof u=="object"&&u!==null&&u.key!=null?Ie(""+u.key):v.toString(36)}function ce(){}function re(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(ce,ce):(u.status="pending",u.then(function(v){u.status==="pending"&&(u.status="fulfilled",u.value=v)},function(v){u.status==="pending"&&(u.status="rejected",u.reason=v)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function X(u,v,$,E,M){var Y=typeof u;(Y==="undefined"||Y==="boolean")&&(u=null);var R=!1;if(u===null)R=!0;else switch(Y){case"bigint":case"string":case"number":R=!0;break;case"object":switch(u.$$typeof){case i:case e:R=!0;break;case w:return R=u._init,X(R(u._payload),v,$,E,M)}}if(R)return M=M(u),R=E===""?"."+z(u,0):E,ee(M)?($="",R!=null&&($=R.replace(V,"$&/")+"/"),X(M,v,$,"",function(Ye){return Ye})):M!=null&&(te(M)&&(M=ae(M,$+(M.key==null||u&&u.key===M.key?"":(""+M.key).replace(V,"$&/")+"/")+R)),v.push(M)),1;R=0;var ge=E===""?".":E+":";if(ee(u))for(var K=0;K<u.length;K++)E=u[K],Y=ge+z(E,K),R+=X(E,v,$,Y,M);else if(K=k(u),typeof K=="function")for(u=K.call(u),K=0;!(E=u.next()).done;)E=E.value,Y=ge+z(E,K++),R+=X(E,v,$,Y,M);else if(Y==="object"){if(typeof u.then=="function")return X(re(u),v,$,E,M);throw v=String(u),Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.")}return R}function Z(u,v,$){if(u==null)return u;var E=[],M=0;return X(u,E,"","",function(Y){return v.call($,Y,M++)}),E}function ye(u){if(u._status===-1){var v=u._result;v=v(),v.then(function($){(u._status===0||u._status===-1)&&(u._status=1,u._result=$)},function($){(u._status===0||u._status===-1)&&(u._status=2,u._result=$)}),u._status===-1&&(u._status=0,u._result=v)}if(u._status===1)return u._result.default;throw u._result}var de=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var v=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(v))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)};function ue(){}return O.Children={map:Z,forEach:function(u,v,$){Z(u,function(){v.apply(this,arguments)},$)},count:function(u){var v=0;return Z(u,function(){v++}),v},toArray:function(u){return Z(u,function(v){return v})||[]},only:function(u){if(!te(u))throw Error("React.Children.only expected to receive a single React element child.");return u}},O.Component=P,O.Fragment=r,O.Profiler=t,O.PureComponent=W,O.StrictMode=n,O.Suspense=C,O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,O.__COMPILER_RUNTIME={__proto__:null,c:function(u){return B.H.useMemoCache(u)}},O.cache=function(u){return function(){return u.apply(null,arguments)}},O.cloneElement=function(u,v,$){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var E=L({},u.props),M=u.key,Y=void 0;if(v!=null)for(R in v.ref!==void 0&&(Y=void 0),v.key!==void 0&&(M=""+v.key),v)!fe.call(v,R)||R==="key"||R==="__self"||R==="__source"||R==="ref"&&v.ref===void 0||(E[R]=v[R]);var R=arguments.length-2;if(R===1)E.children=$;else if(1<R){for(var ge=Array(R),K=0;K<R;K++)ge[K]=arguments[K+2];E.children=ge}return be(u.type,M,void 0,void 0,Y,E)},O.createContext=function(u){return u={$$typeof:s,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:a,_context:u},u},O.createElement=function(u,v,$){var E,M={},Y=null;if(v!=null)for(E in v.key!==void 0&&(Y=""+v.key),v)fe.call(v,E)&&E!=="key"&&E!=="__self"&&E!=="__source"&&(M[E]=v[E]);var R=arguments.length-2;if(R===1)M.children=$;else if(1<R){for(var ge=Array(R),K=0;K<R;K++)ge[K]=arguments[K+2];M.children=ge}if(u&&u.defaultProps)for(E in R=u.defaultProps,R)M[E]===void 0&&(M[E]=R[E]);return be(u,Y,void 0,void 0,null,M)},O.createRef=function(){return{current:null}},O.forwardRef=function(u){return{$$typeof:m,render:u}},O.isValidElement=te,O.lazy=function(u){return{$$typeof:w,_payload:{_status:-1,_result:u},_init:ye}},O.memo=function(u,v){return{$$typeof:y,type:u,compare:v===void 0?null:v}},O.startTransition=function(u){var v=B.T,$={};B.T=$;try{var E=u(),M=B.S;M!==null&&M($,E),typeof E=="object"&&E!==null&&typeof E.then=="function"&&E.then(ue,de)}catch(Y){de(Y)}finally{B.T=v}},O.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},O.use=function(u){return B.H.use(u)},O.useActionState=function(u,v,$){return B.H.useActionState(u,v,$)},O.useCallback=function(u,v){return B.H.useCallback(u,v)},O.useContext=function(u){return B.H.useContext(u)},O.useDebugValue=function(){},O.useDeferredValue=function(u,v){return B.H.useDeferredValue(u,v)},O.useEffect=function(u,v,$){var E=B.H;if(typeof $=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return E.useEffect(u,v)},O.useId=function(){return B.H.useId()},O.useImperativeHandle=function(u,v,$){return B.H.useImperativeHandle(u,v,$)},O.useInsertionEffect=function(u,v){return B.H.useInsertionEffect(u,v)},O.useLayoutEffect=function(u,v){return B.H.useLayoutEffect(u,v)},O.useMemo=function(u,v){return B.H.useMemo(u,v)},O.useOptimistic=function(u,v){return B.H.useOptimistic(u,v)},O.useReducer=function(u,v,$){return B.H.useReducer(u,v,$)},O.useRef=function(u){return B.H.useRef(u)},O.useState=function(u){return B.H.useState(u)},O.useSyncExternalStore=function(u,v,$){return B.H.useSyncExternalStore(u,v,$)},O.useTransition=function(){return B.H.useTransition()},O.version="19.1.0",O}var st={exports:{}};/**
5188
5187
  * @license React
5189
5188
  * react.development.js
5190
5189
  *
@@ -5204,4 +5203,4 @@ Your code should look like:
5204
5203
  1. You might have mismatching versions of React and the renderer (such as React DOM)
5205
5204
  2. You might be breaking the Rules of Hooks
5206
5205
  3. You might have more than one copy of React in the same app
5207
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}function z(){}function ce(c){if(_t===null)try{var g=("require"+Math.random()).slice(0,7);_t=(i&&i[g]).call(i,"timers").setImmediate}catch{_t=function(b){zn===!1&&(zn=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var _=new MessageChannel;_.port1.onmessage=b,_.port2.postMessage(void 0)}}return _t(c)}function re(c){return 1<c.length&&typeof AggregateError=="function"?new AggregateError(c):c[0]}function X(c,g){g!==xt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),xt=g}function Z(c,g,f){var b=A.actQueue;if(b!==null)if(b.length!==0)try{ye(b),ce(function(){return Z(c,g,f)});return}catch(_){A.thrownErrors.push(_)}else A.actQueue=null;0<A.thrownErrors.length?(b=re(A.thrownErrors),A.thrownErrors.length=0,f(b)):g(c)}function ye(c){if(!sr){sr=!0;var g=0;try{for(;g<c.length;g++){var f=c[g];do{A.didUsePromise=!1;var b=f(!1);if(b!==null){if(A.didUsePromise){c[g]=f,c.splice(0,g);return}f=b}else break}while(!0)}c.length=0}catch(_){c.splice(0,g+1),A.thrownErrors.push(_)}finally{sr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var de=Symbol.for("react.transitional.element"),ue=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),M=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Ye=Symbol.for("react.lazy"),Og=Symbol.for("react.activity"),Dn=Symbol.iterator,Rn={},In={isMounted:function(){return!1},enqueueForceUpdate:function(c){t(c,"forceUpdate")},enqueueReplaceState:function(c){t(c,"replaceState")},enqueueSetState:function(c){t(c,"setState")}},kn=Object.assign,ar={};Object.freeze(ar),a.prototype.isReactComponent={},a.prototype.setState=function(c,g){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,g,"setState")},a.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};var ne={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},wt;for(wt in ne)ne.hasOwnProperty(wt)&&r(wt,ne[wt]);s.prototype=a.prototype,ne=m.prototype=new s,ne.constructor=m,kn(ne,a.prototype),ne.isPureReactComponent=!0;var An=Array.isArray,Pg=Symbol.for("react.client.reference"),A={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ct=Object.prototype.hasOwnProperty,Tn=console.createTask?console.createTask:function(){return null};ne={react_stack_bottom_frame:function(c){return c()}};var Mn,Ln,Nn={},Dg=ne.react_stack_bottom_frame.bind(ne,G)(),Rg=Tn(x(G)),Bn=!1,qn=/\/+/g,Un=typeof reportError=="function"?reportError:function(c){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var g=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof c=="object"&&c!==null&&typeof c.message=="string"?String(c.message):String(c),error:c});if(!window.dispatchEvent(g))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",c);return}console.error(c)},zn=!1,_t=null,xt=0,Et=!1,sr=!1,Fn=typeof queueMicrotask=="function"?function(c){queueMicrotask(function(){return queueMicrotask(c)})}:ce;ne=Object.freeze({__proto__:null,c:function(c){return V().useMemoCache(c)}}),e.Children={map:te,forEach:function(c,g,f){te(c,function(){g.apply(this,arguments)},f)},count:function(c){var g=0;return te(c,function(){g++}),g},toArray:function(c){return te(c,function(g){return g})||[]},only:function(c){if(!j(c))throw Error("React.Children.only expected to receive a single React element child.");return c}},e.Component=a,e.Fragment=u,e.Profiler=$,e.PureComponent=m,e.StrictMode=v,e.Suspense=R,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,e.__COMPILER_RUNTIME=ne,e.act=function(c){var g=A.actQueue,f=xt;xt++;var b=A.actQueue=g!==null?g:[],_=!1;try{var T=c()}catch(I){A.thrownErrors.push(I)}if(0<A.thrownErrors.length)throw X(g,f),c=re(A.thrownErrors),A.thrownErrors.length=0,c;if(T!==null&&typeof T=="object"&&typeof T.then=="function"){var D=T;return Fn(function(){_||Et||(Et=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(I,we){_=!0,D.then(function(Ke){if(X(g,f),f===0){try{ye(b),ce(function(){return Z(Ke,I,we)})}catch(kg){A.thrownErrors.push(kg)}if(0<A.thrownErrors.length){var Ig=re(A.thrownErrors);A.thrownErrors.length=0,we(Ig)}}else I(Ke)},function(Ke){X(g,f),0<A.thrownErrors.length&&(Ke=re(A.thrownErrors),A.thrownErrors.length=0),we(Ke)})}}}var F=T;if(X(g,f),f===0&&(ye(b),b.length!==0&&Fn(function(){_||Et||(Et=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),A.actQueue=null),0<A.thrownErrors.length)throw c=re(A.thrownErrors),A.thrownErrors.length=0,c;return{then:function(I,we){_=!0,f===0?(A.actQueue=b,ce(function(){return Z(F,I,we)})):I(F)}}},e.cache=function(c){return function(){return c.apply(null,arguments)}},e.captureOwnerStack=function(){var c=A.getCurrentStack;return c===null?null:c()},e.cloneElement=function(c,g,f){if(c==null)throw Error("The argument must be a React element, but you passed "+c+".");var b=kn({},c.props),_=c.key,T=c._owner;if(g!=null){var D;e:{if(Ct.call(g,"ref")&&(D=Object.getOwnPropertyDescriptor(g,"ref").get)&&D.isReactWarning){D=!1;break e}D=g.ref!==void 0}D&&(T=k()),L(g)&&(y(g.key),_=""+g.key);for(F in g)!Ct.call(g,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&g.ref===void 0||(b[F]=g[F])}var F=arguments.length-2;if(F===1)b.children=f;else if(1<F){D=Array(F);for(var I=0;I<F;I++)D[I]=arguments[I+2];b.children=D}for(b=N(c.type,_,void 0,void 0,T,b,c._debugStack,c._debugTask),_=2;_<arguments.length;_++)T=arguments[_],j(T)&&T._store&&(T._store.validated=1);return b},e.createContext=function(c){return c={$$typeof:M,_currentValue:c,_currentValue2:c,_threadCount:0,Provider:null,Consumer:null},c.Provider=c,c.Consumer={$$typeof:E,_context:c},c._currentRenderer=null,c._currentRenderer2=null,c},e.createElement=function(c,g,f){for(var b=2;b<arguments.length;b++){var _=arguments[b];j(_)&&_._store&&(_._store.validated=1)}if(b={},_=null,g!=null)for(I in Ln||!("__self"in g)||"key"in g||(Ln=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),L(g)&&(y(g.key),_=""+g.key),g)Ct.call(g,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(b[I]=g[I]);var T=arguments.length-2;if(T===1)b.children=f;else if(1<T){for(var D=Array(T),F=0;F<T;F++)D[F]=arguments[F+2];Object.freeze&&Object.freeze(D),b.children=D}if(c&&c.defaultProps)for(I in T=c.defaultProps,T)b[I]===void 0&&(b[I]=T[I]);_&&q(b,typeof c=="function"?c.displayName||c.name||"Unknown":c);var I=1e4>A.recentlyCreatedOwnerStacks++;return N(c,_,void 0,void 0,k(),b,I?Error("react-stack-top-frame"):Dg,I?Tn(x(c)):Rg)},e.createRef=function(){var c={current:null};return Object.seal(c),c},e.forwardRef=function(c){c!=null&&c.$$typeof===K?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof c!="function"?console.error("forwardRef requires a render function but was given %s.",c===null?"null":typeof c):c.length!==0&&c.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",c.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),c!=null&&c.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var g={$$typeof:Y,render:c},f;return Object.defineProperty(g,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(b){f=b,c.name||c.displayName||(Object.defineProperty(c,"name",{value:b}),c.displayName=b)}}),g},e.isValidElement=j,e.lazy=function(c){return{$$typeof:Ye,_payload:{_status:-1,_result:c},_init:Ie}},e.memo=function(c,g){c==null&&console.error("memo: The first argument must be a component. Instead received: %s",c===null?"null":typeof c),g={$$typeof:K,type:c,compare:g===void 0?null:g};var f;return Object.defineProperty(g,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(b){f=b,c.name||c.displayName||(Object.defineProperty(c,"name",{value:b}),c.displayName=b)}}),g},e.startTransition=function(c){var g=A.T,f={};A.T=f,f._updatedFibers=new Set;try{var b=c(),_=A.S;_!==null&&_(f,b),typeof b=="object"&&b!==null&&typeof b.then=="function"&&b.then(z,Un)}catch(T){Un(T)}finally{g===null&&f._updatedFibers&&(c=f._updatedFibers.size,f._updatedFibers.clear(),10<c&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),A.T=g}},e.unstable_useCacheRefresh=function(){return V().useCacheRefresh()},e.use=function(c){return V().use(c)},e.useActionState=function(c,g,f){return V().useActionState(c,g,f)},e.useCallback=function(c,g){return V().useCallback(c,g)},e.useContext=function(c){var g=V();return c.$$typeof===E&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),g.useContext(c)},e.useDebugValue=function(c,g){return V().useDebugValue(c,g)},e.useDeferredValue=function(c,g){return V().useDeferredValue(c,g)},e.useEffect=function(c,g,f){c==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var b=V();if(typeof f=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return b.useEffect(c,g)},e.useId=function(){return V().useId()},e.useImperativeHandle=function(c,g,f){return V().useImperativeHandle(c,g,f)},e.useInsertionEffect=function(c,g){return c==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),V().useInsertionEffect(c,g)},e.useLayoutEffect=function(c,g){return c==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),V().useLayoutEffect(c,g)},e.useMemo=function(c,g){return V().useMemo(c,g)},e.useOptimistic=function(c,g){return V().useOptimistic(c,g)},e.useReducer=function(c,g,f){return V().useReducer(c,g,f)},e.useRef=function(c){return V().useRef(c)},e.useState=function(c){return V().useState(c)},e.useSyncExternalStore=function(c,g,f){return V().useSyncExternalStore(c,g,f)},e.useTransition=function(){return V().useTransition()},e.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(st,st.exports)),st.exports}var On;function xg(){return On||(On=1,process.env.NODE_ENV==="production"?yt.exports=Cg():yt.exports=_g()),yt.exports}var Eg=xg();const Pn=wg(Eg),$g=En({tagName:"rtg-button",elementClass:o.Button,react:Pn}),Sg=En({tagName:"rtg-checkbox",elementClass:o.Checkbox,react:Pn});o.ButtonReact=$g,o.CheckboxReact=Sg,o.TOGGLE_GROUP_SIZE=mt,o.TOGGLE_GROUP_TYPE=tt,o.TOGGLE_GROUP_VARIANT=ht,o.TOGGLE_SIZE=Jt,o.TOGGLE_VARIANT=er,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
5206
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}function z(){}function ce(c){if(_t===null)try{var g=("require"+Math.random()).slice(0,7);_t=(i&&i[g]).call(i,"timers").setImmediate}catch{_t=function(b){zn===!1&&(zn=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var _=new MessageChannel;_.port1.onmessage=b,_.port2.postMessage(void 0)}}return _t(c)}function re(c){return 1<c.length&&typeof AggregateError=="function"?new AggregateError(c):c[0]}function X(c,g){g!==xt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),xt=g}function Z(c,g,f){var b=A.actQueue;if(b!==null)if(b.length!==0)try{ye(b),ce(function(){return Z(c,g,f)});return}catch(_){A.thrownErrors.push(_)}else A.actQueue=null;0<A.thrownErrors.length?(b=re(A.thrownErrors),A.thrownErrors.length=0,f(b)):g(c)}function ye(c){if(!sr){sr=!0;var g=0;try{for(;g<c.length;g++){var f=c[g];do{A.didUsePromise=!1;var b=f(!1);if(b!==null){if(A.didUsePromise){c[g]=f,c.splice(0,g);return}f=b}else break}while(!0)}c.length=0}catch(_){c.splice(0,g+1),A.thrownErrors.push(_)}finally{sr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var de=Symbol.for("react.transitional.element"),ue=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),M=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Ye=Symbol.for("react.lazy"),Og=Symbol.for("react.activity"),Dn=Symbol.iterator,Rn={},In={isMounted:function(){return!1},enqueueForceUpdate:function(c){t(c,"forceUpdate")},enqueueReplaceState:function(c){t(c,"replaceState")},enqueueSetState:function(c){t(c,"setState")}},kn=Object.assign,ar={};Object.freeze(ar),a.prototype.isReactComponent={},a.prototype.setState=function(c,g){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,g,"setState")},a.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};var ne={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},wt;for(wt in ne)ne.hasOwnProperty(wt)&&r(wt,ne[wt]);s.prototype=a.prototype,ne=m.prototype=new s,ne.constructor=m,kn(ne,a.prototype),ne.isPureReactComponent=!0;var An=Array.isArray,Pg=Symbol.for("react.client.reference"),A={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ct=Object.prototype.hasOwnProperty,Tn=console.createTask?console.createTask:function(){return null};ne={"react-stack-bottom-frame":function(c){return c()}};var Mn,Ln,Nn={},Dg=ne["react-stack-bottom-frame"].bind(ne,G)(),Rg=Tn(x(G)),Bn=!1,qn=/\/+/g,Un=typeof reportError=="function"?reportError:function(c){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var g=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof c=="object"&&c!==null&&typeof c.message=="string"?String(c.message):String(c),error:c});if(!window.dispatchEvent(g))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",c);return}console.error(c)},zn=!1,_t=null,xt=0,Et=!1,sr=!1,Fn=typeof queueMicrotask=="function"?function(c){queueMicrotask(function(){return queueMicrotask(c)})}:ce;ne=Object.freeze({__proto__:null,c:function(c){return V().useMemoCache(c)}}),e.Children={map:te,forEach:function(c,g,f){te(c,function(){g.apply(this,arguments)},f)},count:function(c){var g=0;return te(c,function(){g++}),g},toArray:function(c){return te(c,function(g){return g})||[]},only:function(c){if(!j(c))throw Error("React.Children.only expected to receive a single React element child.");return c}},e.Component=a,e.Fragment=u,e.Profiler=$,e.PureComponent=m,e.StrictMode=v,e.Suspense=R,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,e.__COMPILER_RUNTIME=ne,e.act=function(c){var g=A.actQueue,f=xt;xt++;var b=A.actQueue=g!==null?g:[],_=!1;try{var T=c()}catch(I){A.thrownErrors.push(I)}if(0<A.thrownErrors.length)throw X(g,f),c=re(A.thrownErrors),A.thrownErrors.length=0,c;if(T!==null&&typeof T=="object"&&typeof T.then=="function"){var D=T;return Fn(function(){_||Et||(Et=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(I,we){_=!0,D.then(function(Ke){if(X(g,f),f===0){try{ye(b),ce(function(){return Z(Ke,I,we)})}catch(kg){A.thrownErrors.push(kg)}if(0<A.thrownErrors.length){var Ig=re(A.thrownErrors);A.thrownErrors.length=0,we(Ig)}}else I(Ke)},function(Ke){X(g,f),0<A.thrownErrors.length&&(Ke=re(A.thrownErrors),A.thrownErrors.length=0),we(Ke)})}}}var F=T;if(X(g,f),f===0&&(ye(b),b.length!==0&&Fn(function(){_||Et||(Et=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),A.actQueue=null),0<A.thrownErrors.length)throw c=re(A.thrownErrors),A.thrownErrors.length=0,c;return{then:function(I,we){_=!0,f===0?(A.actQueue=b,ce(function(){return Z(F,I,we)})):I(F)}}},e.cache=function(c){return function(){return c.apply(null,arguments)}},e.captureOwnerStack=function(){var c=A.getCurrentStack;return c===null?null:c()},e.cloneElement=function(c,g,f){if(c==null)throw Error("The argument must be a React element, but you passed "+c+".");var b=kn({},c.props),_=c.key,T=c._owner;if(g!=null){var D;e:{if(Ct.call(g,"ref")&&(D=Object.getOwnPropertyDescriptor(g,"ref").get)&&D.isReactWarning){D=!1;break e}D=g.ref!==void 0}D&&(T=k()),L(g)&&(y(g.key),_=""+g.key);for(F in g)!Ct.call(g,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&g.ref===void 0||(b[F]=g[F])}var F=arguments.length-2;if(F===1)b.children=f;else if(1<F){D=Array(F);for(var I=0;I<F;I++)D[I]=arguments[I+2];b.children=D}for(b=N(c.type,_,void 0,void 0,T,b,c._debugStack,c._debugTask),_=2;_<arguments.length;_++)T=arguments[_],j(T)&&T._store&&(T._store.validated=1);return b},e.createContext=function(c){return c={$$typeof:M,_currentValue:c,_currentValue2:c,_threadCount:0,Provider:null,Consumer:null},c.Provider=c,c.Consumer={$$typeof:E,_context:c},c._currentRenderer=null,c._currentRenderer2=null,c},e.createElement=function(c,g,f){for(var b=2;b<arguments.length;b++){var _=arguments[b];j(_)&&_._store&&(_._store.validated=1)}if(b={},_=null,g!=null)for(I in Ln||!("__self"in g)||"key"in g||(Ln=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),L(g)&&(y(g.key),_=""+g.key),g)Ct.call(g,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(b[I]=g[I]);var T=arguments.length-2;if(T===1)b.children=f;else if(1<T){for(var D=Array(T),F=0;F<T;F++)D[F]=arguments[F+2];Object.freeze&&Object.freeze(D),b.children=D}if(c&&c.defaultProps)for(I in T=c.defaultProps,T)b[I]===void 0&&(b[I]=T[I]);_&&q(b,typeof c=="function"?c.displayName||c.name||"Unknown":c);var I=1e4>A.recentlyCreatedOwnerStacks++;return N(c,_,void 0,void 0,k(),b,I?Error("react-stack-top-frame"):Dg,I?Tn(x(c)):Rg)},e.createRef=function(){var c={current:null};return Object.seal(c),c},e.forwardRef=function(c){c!=null&&c.$$typeof===K?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof c!="function"?console.error("forwardRef requires a render function but was given %s.",c===null?"null":typeof c):c.length!==0&&c.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",c.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),c!=null&&c.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var g={$$typeof:Y,render:c},f;return Object.defineProperty(g,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(b){f=b,c.name||c.displayName||(Object.defineProperty(c,"name",{value:b}),c.displayName=b)}}),g},e.isValidElement=j,e.lazy=function(c){return{$$typeof:Ye,_payload:{_status:-1,_result:c},_init:Ie}},e.memo=function(c,g){c==null&&console.error("memo: The first argument must be a component. Instead received: %s",c===null?"null":typeof c),g={$$typeof:K,type:c,compare:g===void 0?null:g};var f;return Object.defineProperty(g,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(b){f=b,c.name||c.displayName||(Object.defineProperty(c,"name",{value:b}),c.displayName=b)}}),g},e.startTransition=function(c){var g=A.T,f={};A.T=f,f._updatedFibers=new Set;try{var b=c(),_=A.S;_!==null&&_(f,b),typeof b=="object"&&b!==null&&typeof b.then=="function"&&b.then(z,Un)}catch(T){Un(T)}finally{g===null&&f._updatedFibers&&(c=f._updatedFibers.size,f._updatedFibers.clear(),10<c&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),A.T=g}},e.unstable_useCacheRefresh=function(){return V().useCacheRefresh()},e.use=function(c){return V().use(c)},e.useActionState=function(c,g,f){return V().useActionState(c,g,f)},e.useCallback=function(c,g){return V().useCallback(c,g)},e.useContext=function(c){var g=V();return c.$$typeof===E&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),g.useContext(c)},e.useDebugValue=function(c,g){return V().useDebugValue(c,g)},e.useDeferredValue=function(c,g){return V().useDeferredValue(c,g)},e.useEffect=function(c,g,f){c==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var b=V();if(typeof f=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return b.useEffect(c,g)},e.useId=function(){return V().useId()},e.useImperativeHandle=function(c,g,f){return V().useImperativeHandle(c,g,f)},e.useInsertionEffect=function(c,g){return c==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),V().useInsertionEffect(c,g)},e.useLayoutEffect=function(c,g){return c==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),V().useLayoutEffect(c,g)},e.useMemo=function(c,g){return V().useMemo(c,g)},e.useOptimistic=function(c,g){return V().useOptimistic(c,g)},e.useReducer=function(c,g,f){return V().useReducer(c,g,f)},e.useRef=function(c){return V().useRef(c)},e.useState=function(c){return V().useState(c)},e.useSyncExternalStore=function(c,g,f){return V().useSyncExternalStore(c,g,f)},e.useTransition=function(){return V().useTransition()},e.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(st,st.exports)),st.exports}var On;function xg(){return On||(On=1,process.env.NODE_ENV==="production"?yt.exports=Cg():yt.exports=_g()),yt.exports}var Eg=xg();const Pn=wg(Eg),$g=En({tagName:"rtg-button",elementClass:o.Button,react:Pn}),Sg=En({tagName:"rtg-checkbox",elementClass:o.Checkbox,react:Pn});o.ButtonReact=$g,o.CheckboxReact=Sg,o.TOGGLE_GROUP_SIZE=mt,o.TOGGLE_GROUP_TYPE=tt,o.TOGGLE_GROUP_VARIANT=ht,o.TOGGLE_SIZE=Jt,o.TOGGLE_VARIANT=er,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
@@ -1,3 +1,3 @@
1
- export declare const avatarStyles = "rtg-relative rtg-flex rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full";
2
- export declare const avatarImageStyles = "rtg-aspect-square rtg-w-auto rtg-h-auto rtg-rounded-full";
3
- export declare const avatarFallbackStyles = "rtg-aspect-square rtg-h-auto rtg-w-auto rtg-rounded-full rtg-bg-muted rtg-inline-block";
1
+ export declare const avatarStyles = "rtg-relative rtg-flex rtg-size-8 rtg-shrink-0 rtg-overflow-hidden rtg-rounded-full";
2
+ export declare const avatarImageStyles = "rtg-aspect-square rtg-size-full";
3
+ export declare const avatarFallbackStyles = "rtg-bg-muted rtg-flex rtg-size-full rtg-items-center rtg-justify-center rtg-rounded-full";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent wc-ui following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "wc-ui",
6
- "version": "0.1.38",
6
+ "version": "0.1.40",
7
7
  "type": "module",
8
8
  "main": "dist/rtg-ui-kit.umd.cjs",
9
9
  "module": "./dist/rtg-ui-kit.js",