@uninspired/cookie-banner 0.0.11 → 0.0.12
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/react/index.cjs +12 -12
- package/dist/react/index.js +12 -12
- package/dist/react/style.css +19 -26
- package/dist/script/index.cjs +4 -4
- package/dist/script/index.js +85 -85
- package/dist/script/style.css +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -964,25 +964,25 @@ const Text = ({
|
|
|
964
964
|
)
|
|
965
965
|
);
|
|
966
966
|
};
|
|
967
|
-
const root$2 = "
|
|
968
|
-
const
|
|
969
|
-
const
|
|
970
|
-
const
|
|
971
|
-
const
|
|
972
|
-
const
|
|
973
|
-
const
|
|
974
|
-
const settings = "
|
|
975
|
-
const footer = "
|
|
976
|
-
const legal = "
|
|
977
|
-
const actions$1 = "
|
|
967
|
+
const root$2 = "_root_12udu_53";
|
|
968
|
+
const noTarget = "_noTarget_12udu_65";
|
|
969
|
+
const collapsible = "_collapsible_12udu_74";
|
|
970
|
+
const header$1 = "_header_12udu_77";
|
|
971
|
+
const heading = "_heading_12udu_84";
|
|
972
|
+
const chevron$1 = "_chevron_12udu_90";
|
|
973
|
+
const open$1 = "_open_12udu_95";
|
|
974
|
+
const settings = "_settings_12udu_101";
|
|
975
|
+
const footer = "_footer_12udu_115";
|
|
976
|
+
const legal = "_legal_12udu_122";
|
|
977
|
+
const actions$1 = "_actions_12udu_125";
|
|
978
978
|
const classes$2 = {
|
|
979
979
|
root: root$2,
|
|
980
|
-
open: open$1,
|
|
981
980
|
noTarget,
|
|
982
981
|
collapsible,
|
|
983
982
|
header: header$1,
|
|
984
983
|
heading,
|
|
985
984
|
chevron: chevron$1,
|
|
985
|
+
open: open$1,
|
|
986
986
|
settings,
|
|
987
987
|
footer,
|
|
988
988
|
legal,
|
package/dist/react/index.js
CHANGED
|
@@ -962,25 +962,25 @@ const Text = ({
|
|
|
962
962
|
)
|
|
963
963
|
);
|
|
964
964
|
};
|
|
965
|
-
const root$2 = "
|
|
966
|
-
const
|
|
967
|
-
const
|
|
968
|
-
const
|
|
969
|
-
const
|
|
970
|
-
const
|
|
971
|
-
const
|
|
972
|
-
const settings = "
|
|
973
|
-
const footer = "
|
|
974
|
-
const legal = "
|
|
975
|
-
const actions$1 = "
|
|
965
|
+
const root$2 = "_root_12udu_53";
|
|
966
|
+
const noTarget = "_noTarget_12udu_65";
|
|
967
|
+
const collapsible = "_collapsible_12udu_74";
|
|
968
|
+
const header$1 = "_header_12udu_77";
|
|
969
|
+
const heading = "_heading_12udu_84";
|
|
970
|
+
const chevron$1 = "_chevron_12udu_90";
|
|
971
|
+
const open$1 = "_open_12udu_95";
|
|
972
|
+
const settings = "_settings_12udu_101";
|
|
973
|
+
const footer = "_footer_12udu_115";
|
|
974
|
+
const legal = "_legal_12udu_122";
|
|
975
|
+
const actions$1 = "_actions_12udu_125";
|
|
976
976
|
const classes$2 = {
|
|
977
977
|
root: root$2,
|
|
978
|
-
open: open$1,
|
|
979
978
|
noTarget,
|
|
980
979
|
collapsible,
|
|
981
980
|
header: header$1,
|
|
982
981
|
heading,
|
|
983
982
|
chevron: chevron$1,
|
|
983
|
+
open: open$1,
|
|
984
984
|
settings,
|
|
985
985
|
footer,
|
|
986
986
|
legal,
|
package/dist/react/style.css
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
@keyframes
|
|
105
|
+
@keyframes _contentShow_12udu_1 {
|
|
106
106
|
from {
|
|
107
107
|
opacity: 0;
|
|
108
108
|
transform: translateX(-100px);
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
@keyframes
|
|
116
|
+
@keyframes _contentHide_12udu_1 {
|
|
117
117
|
from {
|
|
118
118
|
opacity: 1;
|
|
119
119
|
transform: translateX(0px);
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
@keyframes
|
|
127
|
+
@keyframes _slideDown_12udu_1 {
|
|
128
128
|
0% {
|
|
129
129
|
max-height: var(--cb-size-settings-max-height);
|
|
130
130
|
overflow: auto;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
@keyframes
|
|
142
|
+
@keyframes _slideUp_12udu_1 {
|
|
143
143
|
0% {
|
|
144
144
|
max-height: 0;
|
|
145
145
|
overflow: hidden;
|
|
@@ -154,9 +154,8 @@
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
158
|
-
display:
|
|
159
|
-
visibility: hidden;
|
|
157
|
+
._root_12udu_53 {
|
|
158
|
+
display: flex;
|
|
160
159
|
flex-direction: column;
|
|
161
160
|
gap: var(--cb-space-md);
|
|
162
161
|
padding: var(--cb-space-md);
|
|
@@ -165,15 +164,9 @@
|
|
|
165
164
|
border-radius: var(--cb-radius-md);
|
|
166
165
|
overflow: hidden;
|
|
167
166
|
will-change: opacity, transform;
|
|
168
|
-
animation:
|
|
169
|
-
|
|
170
|
-
&._open_2wcp0_66 {
|
|
171
|
-
visibility: visible;
|
|
172
|
-
display: flex;
|
|
173
|
-
animation: _contentShow_2wcp0_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
174
|
-
}
|
|
167
|
+
animation: _contentShow_12udu_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
175
168
|
|
|
176
|
-
&.
|
|
169
|
+
&._noTarget_12udu_65 {
|
|
177
170
|
position: fixed;
|
|
178
171
|
bottom: var(--cb-space-md);
|
|
179
172
|
left: var(--cb-space-md);
|
|
@@ -182,58 +175,58 @@
|
|
|
182
175
|
max-width: var(--cb-size-banner-max-width);
|
|
183
176
|
}
|
|
184
177
|
|
|
185
|
-
.
|
|
178
|
+
._collapsible_12udu_74 {
|
|
186
179
|
display: contents;
|
|
187
180
|
|
|
188
|
-
.
|
|
181
|
+
._header_12udu_77 {
|
|
189
182
|
display: flex;
|
|
190
183
|
flex-direction: row;
|
|
191
184
|
align-items: flex-start;
|
|
192
185
|
justify-content: space-between;
|
|
193
186
|
gap: var(--cb-space-md);
|
|
194
187
|
|
|
195
|
-
.
|
|
188
|
+
._heading_12udu_84 {
|
|
196
189
|
display: flex;
|
|
197
190
|
flex-direction: column;
|
|
198
191
|
align-items: flex-start;
|
|
199
192
|
}
|
|
200
193
|
|
|
201
|
-
.
|
|
194
|
+
._chevron_12udu_90 {
|
|
202
195
|
transform: rotate(0deg);
|
|
203
196
|
will-change: transform;
|
|
204
197
|
transition: transform 150ms ease-out;
|
|
205
198
|
|
|
206
|
-
&.
|
|
199
|
+
&._open_12udu_95 {
|
|
207
200
|
transform: rotate(180deg);
|
|
208
201
|
}
|
|
209
202
|
}
|
|
210
203
|
}
|
|
211
204
|
|
|
212
|
-
.
|
|
205
|
+
._settings_12udu_101 {
|
|
213
206
|
display: flex;
|
|
214
207
|
flex-direction: column;
|
|
215
208
|
background-color: var(--cb-color-background-muted);
|
|
216
209
|
border-radius: var(--cb-radius-md);
|
|
217
210
|
overflow: hidden;
|
|
218
211
|
will-change: max-height, overflow;
|
|
219
|
-
animation:
|
|
212
|
+
animation: _slideDown_12udu_1 250ms ease-out;
|
|
220
213
|
|
|
221
214
|
&[data-state="open"] {
|
|
222
|
-
animation:
|
|
215
|
+
animation: _slideUp_12udu_1 250ms ease-out;
|
|
223
216
|
}
|
|
224
217
|
}
|
|
225
218
|
|
|
226
|
-
.
|
|
219
|
+
._footer_12udu_115 {
|
|
227
220
|
display: flex;
|
|
228
221
|
flex-direction: row;
|
|
229
222
|
align-items: center;
|
|
230
223
|
justify-content: space-between;
|
|
231
224
|
gap: var(--cb-space-md);
|
|
232
225
|
|
|
233
|
-
.
|
|
226
|
+
._legal_12udu_122 {
|
|
234
227
|
}
|
|
235
228
|
|
|
236
|
-
.
|
|
229
|
+
._actions_12udu_125 {
|
|
237
230
|
display: flex;
|
|
238
231
|
flex-direction: row;
|
|
239
232
|
align-items: center;
|
package/dist/script/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("preact");var Jr=0;function p(e,t,n,r,o,i){t||(t={});var s,c,a=t;if("ref"in a)for(c in a={},t)c=="ref"?s=t[c]:a[c]=t[c];var u={type:e,props:a,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Jr,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(c in s)a[c]===void 0&&(a[c]=s[c]);return h.options.vnode&&h.options.vnode(u),u}var V,O,tt,zt,de=0,bn=[],R=h.options,$t=R.__b,Lt=R.__r,Ft=R.diffed,jt=R.__c,Ut=R.unmount,Wt=R.__;function re(e,t){R.__h&&R.__h(O,e,de||t),de=0;var n=O.__H||(O.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function I(e){return de=1,Pe(Cn,e)}function Pe(e,t,n){var r=re(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Cn(void 0,t),function(c){var a=r.__N?r.__N[0]:r.__[0],u=r.t(a,c);a!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=O,!O.__f)){var o=function(c,a,u){if(!r.__c.__H)return!0;var l=r.__c.__H.__.filter(function(_){return _.__c});if(l.every(function(_){return!_.__N}))return!i||i.call(this,c,a,u);var d=r.__c.props!==c;return l.some(function(_){if(_.__N){var g=_.__[0];_.__=_.__N,_.__N=void 0,g!==_.__[0]&&(d=!0)}}),i&&i.call(this,c,a,u)||d};O.__f=!0;var i=O.shouldComponentUpdate,s=O.componentWillUpdate;O.componentWillUpdate=function(c,a,u){if(this.__e){var l=i;i=void 0,o(c,a,u),i=l}s&&s.call(this,c,a,u)},O.shouldComponentUpdate=o}return r.__N||r.__}function P(e,t){var n=re(V++,3);!R.__s&&yt(n.__H,t)&&(n.__=e,n.u=t,O.__H.__h.push(n))}function X(e,t){var n=re(V++,4);!R.__s&&yt(n.__H,t)&&(n.__=e,n.u=t,O.__h.push(n))}function E(e){return de=5,D(function(){return{current:e}},[])}function ht(e,t,n){de=6,X(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function D(e,t){var n=re(V++,7);return yt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function M(e,t){return de=8,D(function(){return e},t)}function q(e){var t=O.context[e.__c],n=re(V++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(O)),t.props.value):e.__}function mt(e,t){R.useDebugValue&&R.useDebugValue(t?t(e):e)}function Qr(e){var t=re(V++,10),n=I();return t.__=e,O.componentDidCatch||(O.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function gt(){var e=re(V++,11);if(!e.__){for(var t=O.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function eo(){for(var e;e=bn.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some($e),t.__h.some(dt),t.__h=[]}catch(n){t.__h=[],R.__e(n,e.__v)}}}R.__b=function(e){O=null,$t&&$t(e)},R.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Wt&&Wt(e,t)},R.__r=function(e){Lt&&Lt(e),V=0;var t=(O=e.__c).__H;t&&(tt===O?(t.__h=[],O.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some($e),t.__h.some(dt),t.__h=[],V=0)),tt=O},R.diffed=function(e){Ft&&Ft(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(bn.push(t)!==1&&zt===R.requestAnimationFrame||((zt=R.requestAnimationFrame)||to)(eo)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),tt=O=null},R.__c=function(e,t){t.some(function(n){try{n.__h.some($e),n.__h=n.__h.filter(function(r){return!r.__||dt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],R.__e(r,n.__v)}}),jt&&jt(e,t)},R.unmount=function(e){Ut&&Ut(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(r){try{$e(r)}catch(o){t=o}}),n.__H=void 0,t&&R.__e(t,n.__v))};var Bt=typeof requestAnimationFrame=="function";function to(e){var t,n=function(){clearTimeout(r),Bt&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Bt&&(t=requestAnimationFrame(n))}function $e(e){var t=O,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),O=t}function dt(e){var t=O;e.__c=e.__(),O=t}function yt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Cn(e,t){return typeof t=="function"?t(e):t}function wn(e,t){for(var n in t)e[n]=t[n];return e}function ft(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function bt(e,t){var n=t(),r=I({t:{__:n,u:t}}),o=r[0].t,i=r[1];return X(function(){o.__=n,o.u=t,nt(o)&&i({t:o})},[e,n,t]),P(function(){return nt(o)&&i({t:o}),e(function(){nt(o)&&i({t:o})})},[e]),n}function nt(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Ct(e){e()}function wt(e){return e}function Et(){return[!1,Ct]}var St=X;function Ue(e,t){this.props=e,this.context=t}function En(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:ft(this.props,o)}function r(o){return this.shouldComponentUpdate=n,h.createElement(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Ue.prototype=new h.Component).isPureReactComponent=!0,Ue.prototype.shouldComponentUpdate=function(e,t){return ft(this.props,e)||ft(this.state,t)};var Ht=h.options.__b;h.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var no=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function N(e){function t(n){var r=wn({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=no,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zt=function(e,t){return e==null?null:h.toChildArray(h.toChildArray(e).map(t))},Z={map:Zt,forEach:Zt,count:function(e){return e?h.toChildArray(e).length:0},only:function(e){var t=h.toChildArray(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:h.toChildArray},ro=h.options.__e;h.options.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ro(e,t,n,r)};var Vt=h.options.unmount;function Sn(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=wn({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Sn(r,t,n)})),e}function Pn(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Pn(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function be(){this.__u=0,this.o=null,this.__b=null}function Nn(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function On(e){var t,n,r,o=null;function i(s){if(t||(t=e()).then(function(c){c&&(o=c.default||c),r=!0},function(c){n=c,r=!0}),n)throw n;if(!r)throw t;return o?h.createElement(o,s):null}return i.displayName="Lazy",i.__f=!0,i}function ue(){this.i=null,this.l=null}h.options.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Vt&&Vt(e)},(be.prototype=new h.Component).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=Nn(r.__v),i=!1,s=function(){i||r.__z||(i=!0,n.__R=null,o?o(a):a())};n.__R=s;var c=n.__P;n.__P=null;var a=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Pn(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.o.pop();)l.__P=c,l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},be.prototype.componentWillUnmount=function(){this.o=[]},be.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Sn(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&h.createElement(h.Fragment,null,e.fallback);return o&&(o.__u&=-33),[h.createElement(h.Fragment,null,t.__a?null:e.children),o]};var Kt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function oo(e){return this.getChildContext=function(){return e.context},e.children}function io(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){h.render(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(o,i){this.childNodes.push(o),t.h.insertBefore(o,i)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.h.removeChild(o)}}}h.render(h.createElement(oo,{context:t.context},e.__v),t.v)}function An(e,t){var n=h.createElement(io,{__v:e,h:t});return n.containerInfo=t,n}(ue.prototype=new h.Component).__a=function(e){var t=this,n=Nn(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Kt(t,e,r)):o()};n?n(i):i()}},ue.prototype.render=function(e){this.i=null,this.l=new Map;var t=h.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},ue.prototype.componentDidUpdate=ue.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Kt(e,n,t)})};var Rn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,co=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,so=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ao=/[A-Z0-9]/g,uo=typeof document<"u",lo=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function In(e,t,n){return t.__k==null&&(t.textContent=""),h.render(e,t),typeof n=="function"&&n(),e?e.__c:null}function Tn(e,t,n){return h.hydrate(e,t),typeof n=="function"&&n(),e?e.__c:null}h.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(h.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var qt=h.options.event;function fo(){}function po(){return this.cancelBubble}function _o(){return this.defaultPrevented}h.options.event=function(e){return qt&&(e=qt(e)),e.persist=fo,e.isPropagationStopped=po,e.isDefaultPrevented=_o,e.nativeEvent=e};var Pt,vo={enumerable:!1,configurable:!0,get:function(){return this.class}},Gt=h.options.vnode;h.options.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var s in n){var c=n[s];if(!(s==="value"&&"defaultValue"in n&&c==null||uo&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var a=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&c===!0?c="":a==="translate"&&c==="no"?c=!1:a[0]==="o"&&a[1]==="n"?a==="ondoubleclick"?s="ondblclick":a!=="onchange"||r!=="input"&&r!=="textarea"||lo(n.type)?a==="onfocus"?s="onfocusin":a==="onblur"?s="onfocusout":so.test(s)&&(s=a):a=s="oninput":i&&co.test(s)?s=s.replace(ao,"-$&").toLowerCase():c===null&&(c=void 0),a==="oninput"&&o[s=a]&&(s="oninputCapture"),o[s]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=h.toChildArray(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=h.toChildArray(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",vo)):n.className&&(o.class=o.className=n.className),t.props=o})(e),e.$$typeof=Rn,Gt&&Gt(e)};var Yt=h.options.__r;h.options.__r=function(e){Yt&&Yt(e),Pt=e.__c};var Xt=h.options.diffed;h.options.diffed=function(e){Xt&&Xt(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Pt=null};var kn={ReactCurrentDispatcher:{current:{readContext:function(e){return Pt.__n[e.__c].props.value},useCallback:M,useContext:q,useDebugValue:mt,useDeferredValue:wt,useEffect:P,useId:gt,useImperativeHandle:ht,useInsertionEffect:St,useLayoutEffect:X,useMemo:D,useReducer:Pe,useRef:E,useState:I,useSyncExternalStore:bt,useTransition:Et}}},ho="18.3.1";function Dn(e){return h.createElement.bind(null,e)}function K(e){return!!e&&e.$$typeof===Rn}function xn(e){return K(e)&&e.type===h.Fragment}function Mn(e){return!!e&&typeof e.displayName=="string"&&e.displayName.startsWith("Memo(")}function pe(e){return K(e)?h.cloneElement.apply(null,arguments):e}function zn(e){return!!e.__k&&(h.render(null,e),!0)}function $n(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ln=function(e,t){return e(t)},Nt=function(e,t){return e(t)},Fn=h.Fragment,jn=K,T={useState:I,useId:gt,useReducer:Pe,useEffect:P,useLayoutEffect:X,useInsertionEffect:St,useTransition:Et,useDeferredValue:wt,useSyncExternalStore:bt,startTransition:Ct,useRef:E,useImperativeHandle:ht,useMemo:D,useCallback:M,useContext:q,useDebugValue:mt,version:"18.3.1",Children:Z,render:In,hydrate:Tn,unmountComponentAtNode:zn,createPortal:An,createElement:h.createElement,createContext:h.createContext,createFactory:Dn,cloneElement:pe,createRef:h.createRef,Fragment:h.Fragment,isValidElement:K,isElement:jn,isFragment:xn,isMemo:Mn,findDOMNode:$n,Component:h.Component,PureComponent:Ue,memo:En,forwardRef:N,flushSync:Nt,unstable_batchedUpdates:Ln,StrictMode:Fn,Suspense:be,SuspenseList:ue,lazy:On,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:kn};const Un=Object.freeze(Object.defineProperty({__proto__:null,Children:Z,Component:h.Component,Fragment:h.Fragment,PureComponent:Ue,StrictMode:Fn,Suspense:be,SuspenseList:ue,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:kn,cloneElement:pe,createContext:h.createContext,createElement:h.createElement,createFactory:Dn,createPortal:An,createRef:h.createRef,default:T,findDOMNode:$n,flushSync:Nt,forwardRef:N,hydrate:Tn,isElement:jn,isFragment:xn,isMemo:Mn,isValidElement:K,lazy:On,memo:En,render:In,startTransition:Ct,unmountComponentAtNode:zn,unstable_batchedUpdates:Ln,useCallback:M,useContext:q,useDebugValue:mt,useDeferredValue:wt,useEffect:P,useErrorBoundary:Qr,useId:gt,useImperativeHandle:ht,useInsertionEffect:St,useLayoutEffect:X,useMemo:D,useReducer:Pe,useRef:E,useState:I,useSyncExternalStore:bt,useTransition:Et,version:ho},Symbol.toStringTag,{value:"Module"}));function Wn(...e){return e.filter(Boolean).join(" ")}function Le(e){return Object.entries(e).filter(([,t])=>t).map(([t])=>t).join(" ")}const mo="_root_hw69b_1",go="_neutral_hw69b_17",yo="_brand_hw69b_30",bo="_ghost_hw69b_43",Jt={root:mo,neutral:go,brand:yo,ghost:bo},rt=({variant:e="neutral",...t})=>p("button",{className:Wn(Jt.root,Jt[e]),...t}),Co="_root_14l5h_1",wo="_muted_14l5h_4",Eo="_body_14l5h_8",So="_normal_14l5h_14",Po="_bold_14l5h_18",No="_caption_14l5h_23",Re={root:Co,muted:wo,body:Eo,normal:So,bold:Po,caption:No},te=({as:e="span",size:t="body",weight:n="normal",color:r="default",...o})=>p(e??"span",{className:Wn(Re.root,Re[t],Re[n],Re[r]),...o}),Oo="_root_2wcp0_53",Ao="_open_2wcp0_66",Ro="_noTarget_2wcp0_72",Io="_collapsible_2wcp0_81",To="_header_2wcp0_84",ko="_heading_2wcp0_91",Do="_chevron_2wcp0_97",xo="_settings_2wcp0_108",Mo="_footer_2wcp0_122",zo="_legal_2wcp0_129",$o="_actions_2wcp0_132",F={root:Oo,open:Ao,noTarget:Ro,collapsible:Io,header:To,heading:ko,chevron:Do,settings:xo,footer:Mo,legal:zo,actions:$o},Lo="_root_mqtha_19",Fo="_header_mqtha_24",jo="_label_mqtha_33",Uo="_actions_mqtha_39",Wo="_chevron_mqtha_45",Bo="_open_mqtha_51",Ho="_description_mqtha_58",Q={root:Lo,header:Fo,label:jo,actions:Uo,chevron:Wo,open:Bo,description:Ho};function x(e,t,n){function r(c,a){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:a,constr:s,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,a);const u=s.prototype,l=Object.keys(u);for(let d=0;d<l.length;d++){const _=l[d];_ in c||(c[_]=u[_].bind(c))}}const o=n?.Parent??Object;class i extends o{}Object.defineProperty(i,"name",{value:e});function s(c){var a;const u=n?.Parent?new i:this;r(u,c),(a=u._zod).deferred??(a.deferred=[]);for(const l of u._zod.deferred)l();return u}return Object.defineProperty(s,"init",{value:r}),Object.defineProperty(s,Symbol.hasInstance,{value:c=>n?.Parent&&c instanceof n.Parent?!0:c?._zod?.traits?.has(e)}),Object.defineProperty(s,"name",{value:e}),s}class Ce extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const Zo={};function _e(e){return Zo}function Vo(e,t){return typeof t=="bigint"?t.toString():t}function Bn(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Hn(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}const Qt=Symbol("evaluating");function B(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Qt)return r===void 0&&(r=Qt,r=n()),r},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}const Zn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function We(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ko(e){if(We(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(We(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function en(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function qo(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function ve(e){return{}}function Go(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function ge(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ye(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function Ie(e){return typeof e=="string"?e:e?.message}function he(e,t,n){const r={...e,path:e.path??[]};if(!e.message){const o=Ie(e.inst?._zod.def?.error?.(e))??Ie(t?.error?.(e))??Ie(n.customError?.(e))??Ie(n.localeError?.(e))??"Invalid input";r.message=o}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}const Vn=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Vo,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Yo=x("$ZodError",Vn),Ke=x("$ZodError",Vn,{Parent:Error}),Xo=e=>(t,n,r,o)=>{const i=r?Object.assign(r,{async:!1}):{async:!1},s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new Ce;if(s.issues.length){const c=new(o?.Err??e)(s.issues.map(a=>he(a,i,_e())));throw Zn(c,o?.callee),c}return s.value},Jo=Xo(Ke),Qo=e=>async(t,n,r,o)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise&&(s=await s),s.issues.length){const c=new(o?.Err??e)(s.issues.map(a=>he(a,i,_e())));throw Zn(c,o?.callee),c}return s.value},ei=Qo(Ke),ti=e=>(t,n,r)=>{const o=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new Ce;return i.issues.length?{success:!1,error:new(e??Yo)(i.issues.map(s=>he(s,o,_e())))}:{success:!0,data:i.value}},Kn=ti(Ke),ni=e=>async(t,n,r)=>{const o=r?Object.assign(r,{async:!0}):{async:!0};let i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(s=>he(s,o,_e())))}:{success:!0,data:i.value}},qn=ni(Ke),ri=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},oi=/^-?\d+(?:\.\d+)?$/,ii=/^(?:true|false)$/i,ci={major:4,minor:3,patch:6},J=x("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ci;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const o of r)for(const i of o._zod.onattach)i(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(s,c,a)=>{let u=ge(s),l;for(const d of c){if(d._zod.def.when){if(!d._zod.def.when(s))continue}else if(u)continue;const _=s.issues.length,g=d._zod.check(s);if(g instanceof Promise&&a?.async===!1)throw new Ce;if(l||g instanceof Promise)l=(l??Promise.resolve()).then(async()=>{await g,s.issues.length!==_&&(u||(u=ge(s,_)))});else{if(s.issues.length===_)continue;u||(u=ge(s,_))}}return l?l.then(()=>s):s},i=(s,c,a)=>{if(ge(s))return s.aborted=!0,s;const u=o(c,r,a);if(u instanceof Promise){if(a.async===!1)throw new Ce;return u.then(l=>e._zod.parse(l,a))}return e._zod.parse(u,a)};e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction==="backward"){const u=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return u instanceof Promise?u.then(l=>i(l,s,c)):i(u,s,c)}const a=e._zod.parse(s,c);if(a instanceof Promise){if(c.async===!1)throw new Ce;return a.then(u=>o(u,r,c))}return o(a,r,c)}}B(e,"~standard",()=>({validate:o=>{try{const i=Kn(e,o);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return qn(e,o).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}))}),si=x("$ZodString",(e,t)=>{J.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??ri(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ai=x("$ZodBoolean",(e,t)=>{J.init(e,t),e._zod.pattern=ii,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n}});function Be(e,t,n,r,o){if(e.issues.length){if(o&&!(n in r))return;t.issues.push(...ye(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function ui(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=Go(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function li(e,t,n,r,o,i){const s=[],c=o.keySet,a=o.catchall._zod,u=a.def.type,l=a.optout==="optional";for(const d in t){if(c.has(d))continue;if(u==="never"){s.push(d);continue}const _=a.run({value:t[d],issues:[]},r);_ instanceof Promise?e.push(_.then(g=>Be(g,n,d,t,l))):Be(_,n,d,t,l)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:i}),e.length?Promise.all(e).then(()=>n):n}const di=x("$ZodObject",(e,t)=>{if(J.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const c=t.shape;Object.defineProperty(t,"shape",{get:()=>{const a={...c};return Object.defineProperty(t,"shape",{value:a}),a}})}const r=Bn(()=>ui(t));B(e._zod,"propValues",()=>{const c=t.shape,a={};for(const u in c){const l=c[u]._zod;if(l.values){a[u]??(a[u]=new Set);for(const d of l.values)a[u].add(d)}}return a});const o=We,i=t.catchall;let s;e._zod.parse=(c,a)=>{s??(s=r.value);const u=c.value;if(!o(u))return c.issues.push({expected:"object",code:"invalid_type",input:u,inst:e}),c;c.value={};const l=[],d=s.shape;for(const _ of s.keys){const g=d[_],y=g._zod.optout==="optional",f=g._zod.run({value:u[_],issues:[]},a);f instanceof Promise?l.push(f.then(v=>Be(v,c,_,u,y))):Be(f,c,_,u,y)}return i?li(l,u,c,a,r.value,e):l.length?Promise.all(l).then(()=>c):c}});function tn(e,t,n,r){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const o=e.filter(i=>!ge(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(s=>he(s,r,_e())))}),t)}const fi=x("$ZodUnion",(e,t)=>{J.init(e,t),B(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),B(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),B(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),B(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Hn(i.source)).join("|")})$`)}});const n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(n)return r(o,i);let s=!1;const c=[];for(const a of t.options){const u=a._zod.run({value:o.value,issues:[]},i);if(u instanceof Promise)c.push(u),s=!0;else{if(u.issues.length===0)return u;c.push(u)}}return s?Promise.all(c).then(a=>tn(a,o,e,i)):tn(c,o,e,i)}}),pi=x("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,fi.init(e,t);const n=e._zod.parse;B(e._zod,"propValues",()=>{const o={};for(const i of t.options){const s=i._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[c,a]of Object.entries(s)){o[c]||(o[c]=new Set);for(const u of a)o[c].add(u)}}return o});const r=Bn(()=>{const o=t.options,i=new Map;for(const s of o){const c=s._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(const a of c){if(i.has(a))throw new Error(`Duplicate discriminator value "${String(a)}"`);i.set(a,s)}}return i});e._zod.parse=(o,i)=>{const s=o.value;if(!We(s))return o.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),o;const c=r.value.get(s?.[t.discriminator]);return c?c._zod.run(o,i):t.unionFallback?n(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:s,path:[t.discriminator],inst:e}),o)}}),_i=x("$ZodRecord",(e,t)=>{J.init(e,t),e._zod.parse=(n,r)=>{const o=n.value;if(!Ko(o))return n.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),n;const i=[],s=t.keyType._zod.values;if(s){n.value={};const c=new Set;for(const u of s)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){c.add(typeof u=="number"?u.toString():u);const l=t.valueType._zod.run({value:o[u],issues:[]},r);l instanceof Promise?i.push(l.then(d=>{d.issues.length&&n.issues.push(...ye(u,d.issues)),n.value[u]=d.value})):(l.issues.length&&n.issues.push(...ye(u,l.issues)),n.value[u]=l.value)}let a;for(const u in o)c.has(u)||(a=a??[],a.push(u));a&&a.length>0&&n.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:a})}else{n.value={};for(const c of Reflect.ownKeys(o)){if(c==="__proto__")continue;let a=t.keyType._zod.run({value:c,issues:[]},r);if(a instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&oi.test(c)&&a.issues.length){const d=t.keyType._zod.run({value:Number(c),issues:[]},r);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(a=d)}if(a.issues.length){t.mode==="loose"?n.value[c]=o[c]:n.issues.push({code:"invalid_key",origin:"record",issues:a.issues.map(d=>he(d,r,_e())),input:c,path:[c],inst:e});continue}const l=t.valueType._zod.run({value:o[c],issues:[]},r);l instanceof Promise?i.push(l.then(d=>{d.issues.length&&n.issues.push(...ye(c,d.issues)),n.value[a.value]=d.value})):(l.issues.length&&n.issues.push(...ye(c,l.issues)),n.value[a.value]=l.value)}}return i.length?Promise.all(i).then(()=>n):n}}),vi=x("$ZodLiteral",(e,t)=>{if(J.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?en(r):r?en(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,o)=>{const i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}});function nn(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const hi=x("$ZodOptional",(e,t)=>{J.init(e,t),e._zod.optin="optional",e._zod.optout="optional",B(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),B(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${Hn(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(i=>nn(i,n.value)):nn(o,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,r)}});function mi(e,t){return new e({type:"string",...ve()})}function gi(e,t){return new e({type:"boolean",...ve()})}const oe=x("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");J.init(e,t),e.def=t,e.type=t.type,e.parse=(n,r)=>Jo(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>Kn(e,n,r),e.parseAsync=async(n,r)=>ei(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>qn(e,n,r),e.check=(...n)=>e.clone({...t,checks:[...t.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]},{parent:!0}),e.with=e.check,e.clone=(n,r)=>qo(e,n,r),e.brand=()=>e,e.register=((n,r)=>(n.add(e,r),e)),e.apply=n=>n(e)}),yi=x("ZodMiniString",(e,t)=>{si.init(e,t),oe.init(e,t)});function ee(e){return mi(yi)}const bi=x("ZodMiniBoolean",(e,t)=>{ai.init(e,t),oe.init(e,t)});function Ee(e){return gi(bi)}const Ci=x("ZodMiniObject",(e,t)=>{di.init(e,t),oe.init(e,t),B(e,"shape",()=>t.shape)});function Gn(e,t){const n={type:"object",shape:e??{},...ve()};return new Ci(n)}const wi=x("ZodMiniDiscriminatedUnion",(e,t)=>{pi.init(e,t),oe.init(e,t)});function Ei(e,t,n){return new wi({type:"union",options:t,discriminator:e,...ve()})}const Si=x("ZodMiniRecord",(e,t)=>{_i.init(e,t),oe.init(e,t)});function Pi(e,t,n){return new Si({type:"record",keyType:e,valueType:t,...ve()})}const Ni=x("ZodMiniLiteral",(e,t)=>{vi.init(e,t),oe.init(e,t)});function Yn(e,t){return new Ni({type:"literal",values:Array.isArray(e)?e:[e],...ve()})}const Oi=x("ZodMiniOptional",(e,t)=>{hi.init(e,t),oe.init(e,t)});function Y(e){return new Oi({type:"optional",innerType:e})}const Ai=Gn({variant:Yn("remote"),type:Y(ee()),src:ee(),async:Y(Ee()),defer:Y(Ee()),crossorigin:Y(ee()),integrity:Y(ee())}),Ri=Gn({variant:Yn("inline"),type:Y(ee()),async:Y(Ee()),defer:Y(Ee()),content:ee()}),Ii=Ei("variant",[Ai,Ri]);function Ti(e,t){const n=h.createContext(t),r=i=>{const{children:s,...c}=i,a=D(()=>c,Object.values(c));return p(n.Provider,{value:a,children:s})};r.displayName=e+"Provider";function o(i){const s=q(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Ne(e,t=[]){let n=[];function r(i,s){const c=h.createContext(s),a=n.length;n=[...n,s];const u=d=>{const{scope:_,children:g,...y}=d,f=_?.[e]?.[a]||c,v=D(()=>y,Object.values(y));return p(f.Provider,{value:v,children:g})};u.displayName=i+"Provider";function l(d,_){const g=_?.[e]?.[a]||c,y=q(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,l]}const o=()=>{const i=n.map(s=>h.createContext(s));return function(c){const a=c?.[e]||i;return D(()=>({[`__scope${e}`]:{...c,[e]:a}}),[c,a])}};return o.scopeName=e,[r,ki(o,...t)]}function ki(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:a,scopeName:u})=>{const d=a(i)[`__scope${u}`];return{...c,...d}},{});return D(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function rn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Xn(...e){return t=>{let n=!1;const r=e.map(o=>{const i=rn(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():rn(e[o],null)}}}}function $(...e){return M(Xn(...e),e)}function He(e){const t=Di(e),n=N((r,o)=>{const{children:i,...s}=r,c=Z.toArray(i),a=c.find(Mi);if(a){const u=a.props.children,l=c.map(d=>d===a?Z.count(u)>1?Z.only(null):K(u)?u.props.children:null:d);return p(t,{...s,ref:o,children:K(u)?pe(u,void 0,l):null})}return p(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Di(e){const t=N((n,r)=>{const{children:o,...i}=n;if(K(o)){const s=$i(o),c=zi(i,o.props);return o.type!==h.Fragment&&(c.ref=r?Xn(r,s):s),pe(o,c)}return Z.count(o)>1?Z.only(null):null});return t.displayName=`${e}.SlotClone`,t}var xi=Symbol("radix.slottable");function Mi(e){return K(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xi}function zi(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...c)=>{const a=i(...c);return o(...c),a}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function $i(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Li(e){const t=e+"CollectionProvider",[n,r]=Ne(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=f=>{const{scope:v,children:m}=f,b=T.useRef(null),C=T.useRef(new Map).current;return p(o,{scope:v,itemMap:C,collectionRef:b,children:m})};s.displayName=t;const c=e+"CollectionSlot",a=He(c),u=T.forwardRef((f,v)=>{const{scope:m,children:b}=f,C=i(c,m),w=$(v,C.collectionRef);return p(a,{ref:w,children:b})});u.displayName=c;const l=e+"CollectionItemSlot",d="data-radix-collection-item",_=He(l),g=T.forwardRef((f,v)=>{const{scope:m,children:b,...C}=f,w=T.useRef(null),A=$(v,w),k=i(l,m);return T.useEffect(()=>(k.itemMap.set(w,{ref:w,...C}),()=>{k.itemMap.delete(w)})),p(_,{[d]:"",ref:A,children:b})});g.displayName=l;function y(f){const v=i(e+"CollectionConsumer",f);return T.useCallback(()=>{const b=v.collectionRef.current;if(!b)return[];const C=Array.from(b.querySelectorAll(`[${d}]`));return Array.from(v.itemMap.values()).sort((k,S)=>C.indexOf(k.ref.current)-C.indexOf(S.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:u,ItemSlot:g},y,r]}function j(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}var fe=globalThis?.document?X:()=>{},Fi=Un[" useInsertionEffect ".trim().toString()]||fe;function Oe({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=ji({defaultProp:t,onChange:n}),c=e!==void 0,a=c?e:o;{const l=E(e!==void 0);P(()=>{const d=l.current;d!==c&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),l.current=c},[c,r])}const u=M(l=>{if(c){const d=Ui(l)?l(e):l;d!==e&&s.current?.(d)}else i(l)},[c,e,i,s]);return[a,u]}function ji({defaultProp:e,onChange:t}){const[n,r]=I(e),o=E(n),i=E(t);return Fi(()=>{i.current=t},[t]),P(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function Ui(e){return typeof e=="function"}var Wi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],z=Wi.reduce((e,t)=>{const n=He(`Primitive.${t}`),r=N((o,i)=>{const{asChild:s,...c}=o,a=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p(a,{...c,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Bi(e,t){e&&Nt(()=>e.dispatchEvent(t))}function Hi(e,t){return Pe((n,r)=>t[n][r]??n,e)}var qe=e=>{const{present:t,children:n}=e,r=Zi(t),o=typeof n=="function"?n({present:r.isPresent}):Z.only(n),i=$(r.ref,Vi(o));return typeof n=="function"||r.isPresent?pe(o,{ref:i}):null};qe.displayName="Presence";function Zi(e){const[t,n]=I(),r=E(null),o=E(e),i=E("none"),s=e?"mounted":"unmounted",[c,a]=Hi(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return P(()=>{const u=Te(r.current);i.current=c==="mounted"?u:"none"},[c]),fe(()=>{const u=r.current,l=o.current;if(l!==e){const _=i.current,g=Te(u);e?a("MOUNT"):g==="none"||u?.display==="none"?a("UNMOUNT"):a(l&&_!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),fe(()=>{if(t){let u;const l=t.ownerDocument.defaultView??window,d=g=>{const f=Te(r.current).includes(CSS.escape(g.animationName));if(g.target===t&&f&&(a("ANIMATION_END"),!o.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},_=g=>{g.target===t&&(i.current=Te(r.current))};return t.addEventListener("animationstart",_),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{l.clearTimeout(u),t.removeEventListener("animationstart",_),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:M(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Te(e){return e?.animationName||"none"}function Vi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ki=Un[" useId ".trim().toString()]||(()=>{}),qi=0;function we(e){const[t,n]=I(Ki());return fe(()=>{n(r=>r??String(qi++))},[e]),e||(t?`radix-${t}`:"")}var Ge="Collapsible",[Gi,Jn]=Ne(Ge),[Yi,Ot]=Gi(Ge),Qn=N((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...c}=e,[a,u]=Oe({prop:r,defaultProp:o??!1,onChange:s,caller:Ge});return p(Yi,{scope:n,disabled:i,contentId:we(),open:a,onOpenToggle:M(()=>u(l=>!l),[u]),children:p(z.div,{"data-state":Rt(a),"data-disabled":i?"":void 0,...c,ref:t})})});Qn.displayName=Ge;var er="CollapsibleTrigger",tr=N((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Ot(er,n);return p(z.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Rt(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:j(e.onClick,o.onOpenToggle)})});tr.displayName=er;var At="CollapsibleContent",nr=N((e,t)=>{const{forceMount:n,...r}=e,o=Ot(At,e.__scopeCollapsible);return p(qe,{present:n||o.open,children:({present:i})=>p(Xi,{...r,ref:t,present:i})})});nr.displayName=At;var Xi=N((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=Ot(At,n),[c,a]=I(r),u=E(null),l=$(t,u),d=E(0),_=d.current,g=E(0),y=g.current,f=s.open||c,v=E(f),m=E(void 0);return P(()=>{const b=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(b)},[]),fe(()=>{const b=u.current;if(b){m.current=m.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const C=b.getBoundingClientRect();d.current=C.height,g.current=C.width,v.current||(b.style.transitionDuration=m.current.transitionDuration,b.style.animationName=m.current.animationName),a(r)}},[s.open,r]),p(z.div,{"data-state":Rt(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!f,...i,ref:l,style:{"--radix-collapsible-content-height":_?`${_}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:f&&o})});function Rt(e){return e?"open":"closed"}var rr=Qn,or=tr,ir=nr,Ji=h.createContext(void 0);function Qi(e){const t=q(Ji);return e||t||"ltr"}var U="Accordion",ec=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[It,tc,nc]=Li(U),[Ye]=Ne(U,[nc,Jn]),Tt=Jn(),cr=T.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return p(It.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?p(cc,{...i,ref:t}):p(ic,{...o,ref:t})})});cr.displayName=U;var[sr,rc]=Ye(U),[ar,oc]=Ye(U,{collapsible:!1}),ic=T.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[c,a]=Oe({prop:n,defaultProp:r??"",onChange:o,caller:U});return p(sr,{scope:e.__scopeAccordion,value:T.useMemo(()=>c?[c]:[],[c]),onItemOpen:a,onItemClose:T.useCallback(()=>i&&a(""),[i,a]),children:p(ar,{scope:e.__scopeAccordion,collapsible:i,children:p(ur,{...s,ref:t})})})}),cc=T.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s,c]=Oe({prop:n,defaultProp:r??[],onChange:o,caller:U}),a=T.useCallback(l=>c((d=[])=>[...d,l]),[c]),u=T.useCallback(l=>c((d=[])=>d.filter(_=>_!==l)),[c]);return p(sr,{scope:e.__scopeAccordion,value:s,onItemOpen:a,onItemClose:u,children:p(ar,{scope:e.__scopeAccordion,collapsible:!0,children:p(ur,{...i,ref:t})})})}),[sc,Xe]=Ye(U),ur=T.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,c=T.useRef(null),a=$(c,t),u=tc(n),d=Qi(o)==="ltr",_=j(e.onKeyDown,g=>{if(!ec.includes(g.key))return;const y=g.target,f=u().filter(L=>!L.ref.current?.disabled),v=f.findIndex(L=>L.ref.current===y),m=f.length;if(v===-1)return;g.preventDefault();let b=v;const C=0,w=m-1,A=()=>{b=v+1,b>w&&(b=C)},k=()=>{b=v-1,b<C&&(b=w)};switch(g.key){case"Home":b=C;break;case"End":b=w;break;case"ArrowRight":i==="horizontal"&&(d?A():k());break;case"ArrowDown":i==="vertical"&&A();break;case"ArrowLeft":i==="horizontal"&&(d?k():A());break;case"ArrowUp":i==="vertical"&&k();break}const S=b%m;f[S].ref.current?.focus()});return p(sc,{scope:n,disabled:r,direction:o,orientation:i,children:p(It.Slot,{scope:n,children:p(z.div,{...s,"data-orientation":i,ref:a,onKeyDown:r?void 0:_})})})}),Ze="AccordionItem",[ac,kt]=Ye(Ze),lr=T.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=Xe(Ze,n),s=rc(Ze,n),c=Tt(n),a=we(),u=r&&s.value.includes(r)||!1,l=i.disabled||e.disabled;return p(ac,{scope:n,open:u,disabled:l,triggerId:a,children:p(rr,{"data-orientation":i.orientation,"data-state":vr(u),...c,...o,ref:t,disabled:l,open:u,onOpenChange:d=>{d?s.onItemOpen(r):s.onItemClose(r)}})})});lr.displayName=Ze;var dr="AccordionHeader",uc=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Xe(U,n),i=kt(dr,n);return p(z.h3,{"data-orientation":o.orientation,"data-state":vr(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});uc.displayName=dr;var pt="AccordionTrigger",fr=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Xe(U,n),i=kt(pt,n),s=oc(pt,n),c=Tt(n);return p(It.ItemSlot,{scope:n,children:p(or,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...c,...r,ref:t})})});fr.displayName=pt;var pr="AccordionContent",_r=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Xe(U,n),i=kt(pr,n),s=Tt(n);return p(ir,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});_r.displayName=pr;function vr(e){return e?"open":"closed"}var lc=cr,dc=lr,on=fr,fc=_r;const hr=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();const pc=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const _c=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase());const cn=e=>{const t=_c(e);return t.charAt(0).toUpperCase()+t.slice(1)};var vc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const hc=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const mc=N(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...c},a)=>h.createElement("svg",{ref:a,...vc,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hr("lucide",o),...!i&&!hc(c)&&{"aria-hidden":"true"},...c},[...s.map(([u,l])=>h.createElement(u,l)),...Array.isArray(i)?i:[i]]));const mr=(e,t)=>{const n=N(({className:r,...o},i)=>h.createElement(mc,{ref:i,iconNode:t,className:hr(`lucide-${pc(cn(e))}`,`lucide-${e}`,r),...o}));return n.displayName=cn(e),n};const gc=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],yc=mr("chevron-down",gc);const bc=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Cc=mr("chevron-up",bc);function wc(e){const t=E({value:e,previous:e});return D(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Ec(e){const[t,n]=I(void 0);return fe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,c;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,c=u.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Je="Switch",[Sc]=Ne(Je),[Pc,Nc]=Sc(Je),gr=N((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:s,disabled:c,value:a="on",onCheckedChange:u,form:l,...d}=e,[_,g]=I(null),y=$(t,C=>g(C)),f=E(!1),v=_?l||!!_.closest("form"):!0,[m,b]=Oe({prop:o,defaultProp:i??!1,onChange:u,caller:Je});return p(Pc,{scope:n,checked:m,disabled:c,children:[p(z.button,{type:"button",role:"switch","aria-checked":m,"aria-required":s,"data-state":wr(m),"data-disabled":c?"":void 0,disabled:c,value:a,...d,ref:y,onClick:j(e.onClick,C=>{b(w=>!w),v&&(f.current=C.isPropagationStopped(),f.current||C.stopPropagation())})}),v&&p(Cr,{control:_,bubbles:!f.current,name:r,value:a,checked:m,required:s,disabled:c,form:l,style:{transform:"translateX(-100%)"}})]})});gr.displayName=Je;var yr="SwitchThumb",br=N((e,t)=>{const{__scopeSwitch:n,...r}=e,o=Nc(yr,n);return p(z.span,{"data-state":wr(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});br.displayName=yr;var Oc="SwitchBubbleInput",Cr=N(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},i)=>{const s=E(null),c=$(s,i),a=wc(n),u=Ec(t);return P(()=>{const l=s.current;if(!l)return;const d=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==n&&g){const y=new Event("click",{bubbles:r});g.call(l,n),l.dispatchEvent(y)}},[a,n,r]),p("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:c,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Cr.displayName=Oc;function wr(e){return e?"checked":"unchecked"}var Ac=gr,Rc=br;const Ic="_root_dibqz_1",Tc="_thumb_dibqz_38",ke={root:Ic,switch:"_switch_dibqz_8",thumb:Tc},kc=({label:e,id:t,...n})=>p("div",{className:ke.root,children:[e&&p(te,{className:ke.label,as:"label",htmlFor:t,children:e}),p(Ac,{className:ke.switch,...n,children:p(Rc,{className:ke.thumb})})]}),Dc=Pi(ee(),Ee()),Er=h.createContext(null),xc=({children:e,items:t,localStorageKey:n})=>{function r(y){const f=localStorage.getItem(y);if(!f)return null;const{success:v,data:m}=Dc.safeParse(JSON.parse(f));return v?m:null}const o=D(()=>Object.fromEntries(t.map(y=>[y.value,y.defaultSelected??!1])),[t]),[i,s]=I(r(n)??o),[c,a]=I(r(n));function u(y,f){const v=i?{...i,[y]:f}:{[y]:f};s(v)}P(()=>{let y=[];c!==null&&(y=Object.entries(c).filter(([v,m])=>m).map(([v])=>v));const f=t.filter(v=>y.includes(v.value));for(const v of t){const m=document.head.querySelector(`#${v.value}`);m&&m.remove()}for(const v of f){const m=document.createElement("script");if(m.id=v.value,!v.script){v.required||console.warn("CookieBanner: Missing script for",v.value);continue}const{success:b,data:C}=Ii.safeParse(v.script);if(!b){console.error("CookieBanner: Invalid script definition for",v.value);continue}switch(m.type=C.type??"text/javascript",m.async=C.async??!1,m.defer=C.defer??!1,C.variant){case"inline":m.textContent=C.content;break;case"remote":m.src=C.src,m.crossOrigin=C.crossorigin??null,m.integrity=C.integrity??"";break}document.head.appendChild(m)}},[c,t]);function l(y){a(y),localStorage.setItem(n,JSON.stringify(y))}const d=M(()=>{const y=Object.fromEntries(t.map(f=>[f.value,!1]));s(y),l(y)},[t]),_=M(()=>{l(i),location.reload()},[i]),g=D(()=>{if(!c)return!1;const y=Object.keys(c);return t.map(v=>v.value).every(v=>y.includes(v))},[c,t]);return p(Er.Provider,{value:{selection:i,toggleSelection:u,onDeclineAll:d,onSave:_,selectionTaken:g},children:e})};function Sr(){const e=q(Er);if(!e)throw new Error("useSelection must be used within a SelectionProvider");return e}const Mc=({value:e,label:t,sublabel:n,required:r=!1,description:o,openItem:i})=>{const{toggleSelection:s,selection:c}=Sr(),a=D(()=>c?.[e]??!1,[c,e]);P(()=>{s(e,a)},[e,a]);const u=D(()=>r?!0:a,[r,a]),l=D(()=>_=>r?()=>{}:s(e,_),[r,s,e]),d=D(()=>r,[r]);return p(dc,{value:e,className:Q.root,children:[p("div",{className:Q.header,children:[p(on,{asChild:!0,children:p("div",{className:Q.label,children:[p(te,{weight:"bold",children:t}),n&&p(te,{size:"caption",color:"muted",children:n})]})}),p("div",{className:Q.actions,children:[p(kc,{checked:u,onCheckedChange:l,disabled:d}),p(on,{asChild:!0,children:p(yc,{size:16,className:Le({[Q.chevron]:!0,[Q.open]:i===e})})})]})]}),o&&p(fc,{className:Q.description,children:p(te,{size:"caption",dangerouslySetInnerHTML:{__html:o}})})]})};function Se(e){const t=E(e);return P(()=>{t.current=e}),D(()=>(...n)=>t.current?.(...n),[])}function zc(e,t=globalThis?.document){const n=Se(e);P(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var $c="DismissableLayer",_t="dismissableLayer.update",Lc="dismissableLayer.pointerDownOutside",Fc="dismissableLayer.focusOutside",sn,Pr=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Nr=N((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...a}=e,u=q(Pr),[l,d]=I(null),_=l?.ownerDocument??globalThis?.document,[,g]=I({}),y=$(t,S=>d(S)),f=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=f.indexOf(v),b=l?f.indexOf(l):-1,C=u.layersWithOutsidePointerEventsDisabled.size>0,w=b>=m,A=Wc(S=>{const L=S.target,ie=[...u.branches].some(me=>me.contains(L));!w||ie||(o?.(S),s?.(S),S.defaultPrevented||c?.())},_),k=Bc(S=>{const L=S.target;[...u.branches].some(me=>me.contains(L))||(i?.(S),s?.(S),S.defaultPrevented||c?.())},_);return zc(S=>{b===u.layers.size-1&&(r?.(S),!S.defaultPrevented&&c&&(S.preventDefault(),c()))},_),P(()=>{if(l)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(sn=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(l)),u.layers.add(l),an(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(_.body.style.pointerEvents=sn)}},[l,_,n,u]),P(()=>()=>{l&&(u.layers.delete(l),u.layersWithOutsidePointerEventsDisabled.delete(l),an())},[l,u]),P(()=>{const S=()=>g({});return document.addEventListener(_t,S),()=>document.removeEventListener(_t,S)},[]),p(z.div,{...a,ref:y,style:{pointerEvents:C?w?"auto":"none":void 0,...e.style},onFocusCapture:j(e.onFocusCapture,k.onFocusCapture),onBlurCapture:j(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:j(e.onPointerDownCapture,A.onPointerDownCapture)})});Nr.displayName=$c;var jc="DismissableLayerBranch",Uc=N((e,t)=>{const n=q(Pr),r=E(null),o=$(t,r);return P(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p(z.div,{...e,ref:o})});Uc.displayName=jc;function Wc(e,t=globalThis?.document){const n=Se(e),r=E(!1),o=E(()=>{});return P(()=>{const i=c=>{if(c.target&&!r.current){let a=function(){Or(Lc,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Bc(e,t=globalThis?.document){const n=Se(e),r=E(!1);return P(()=>{const o=i=>{i.target&&!r.current&&Or(Fc,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function an(){const e=new CustomEvent(_t);document.dispatchEvent(e)}function Or(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Bi(o,i):o.dispatchEvent(i)}var ot="focusScope.autoFocusOnMount",it="focusScope.autoFocusOnUnmount",un={bubbles:!1,cancelable:!0},Hc="FocusScope",Ar=N((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[c,a]=I(null),u=Se(o),l=Se(i),d=E(null),_=$(t,f=>a(f)),g=E({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;P(()=>{if(r){let f=function(C){if(g.paused||!c)return;const w=C.target;c.contains(w)?d.current=w:G(d.current,{select:!0})},v=function(C){if(g.paused||!c)return;const w=C.relatedTarget;w!==null&&(c.contains(w)||G(d.current,{select:!0}))},m=function(C){if(document.activeElement===document.body)for(const A of C)A.removedNodes.length>0&&G(c)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const b=new MutationObserver(m);return c&&b.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),b.disconnect()}}},[r,c,g.paused]),P(()=>{if(c){dn.add(g);const f=document.activeElement;if(!c.contains(f)){const m=new CustomEvent(ot,un);c.addEventListener(ot,u),c.dispatchEvent(m),m.defaultPrevented||(Zc(Yc(Rr(c)),{select:!0}),document.activeElement===f&&G(c))}return()=>{c.removeEventListener(ot,u),setTimeout(()=>{const m=new CustomEvent(it,un);c.addEventListener(it,l),c.dispatchEvent(m),m.defaultPrevented||G(f??document.body,{select:!0}),c.removeEventListener(it,l),dn.remove(g)},0)}}},[c,u,l,g]);const y=M(f=>{if(!n&&!r||g.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,m=document.activeElement;if(v&&m){const b=f.currentTarget,[C,w]=Vc(b);C&&w?!f.shiftKey&&m===w?(f.preventDefault(),n&&G(C,{select:!0})):f.shiftKey&&m===C&&(f.preventDefault(),n&&G(w,{select:!0})):m===b&&f.preventDefault()}},[n,r,g.paused]);return p(z.div,{tabIndex:-1,...s,ref:_,onKeyDown:y})});Ar.displayName=Hc;function Zc(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(G(r,{select:t}),document.activeElement!==n)return}function Vc(e){const t=Rr(e),n=ln(t,e),r=ln(t.reverse(),e);return[n,r]}function Rr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ln(e,t){for(const n of e)if(!Kc(n,{upTo:t}))return n}function Kc(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function qc(e){return e instanceof HTMLInputElement&&"select"in e}function G(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&qc(e)&&t&&e.select()}}var dn=Gc();function Gc(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=fn(e,t),e.unshift(t)},remove(t){e=fn(e,t),e[0]?.resume()}}}function fn(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Yc(e){return e.filter(t=>t.tagName!=="A")}var ct=0;function Xc(){P(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??pn()),document.body.insertAdjacentElement("beforeend",e[1]??pn()),ct++,()=>{ct===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ct--}},[])}function pn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var W=function(){return W=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},W.apply(this,arguments)};function Ir(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Jc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Fe="right-scroll-bar-position",je="width-before-scroll-bar",Qc="with-scroll-bars-hidden",es="--removed-body-scroll-bar-size";function st(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ts(e,t){var n=I(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var ns=typeof window<"u"?X:P,_n=new WeakMap;function rs(e,t){var n=ts(null,function(r){return e.forEach(function(o){return st(o,r)})});return ns(function(){var r=_n.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(c){i.has(c)||st(c,null)}),i.forEach(function(c){o.has(c)||st(c,s)})}_n.set(n,e)},[e]),n}function os(e){return e}function is(e,t){t===void 0&&(t=os);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(i),s=n}var a=function(){var l=s;s=[],l.forEach(i)},u=function(){return Promise.resolve().then(a)};u(),n={push:function(l){s.push(l),u()},filter:function(l){return s=s.filter(l),n}}}};return o}function cs(e){e===void 0&&(e={});var t=is(null);return t.options=W({async:!0,ssr:!1},e),t}var Tr=function(e){var t=e.sideCar,n=Ir(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return h.createElement(r,W({},n))};Tr.isSideCarExport=!0;function ss(e,t){return e.useMedium(t),Tr}var kr=cs(),at=function(){},Qe=N(function(e,t){var n=E(null),r=I({onScrollCapture:at,onWheelCapture:at,onTouchMoveCapture:at}),o=r[0],i=r[1],s=e.forwardProps,c=e.children,a=e.className,u=e.removeScrollBar,l=e.enabled,d=e.shards,_=e.sideCar,g=e.noRelative,y=e.noIsolation,f=e.inert,v=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,C=e.gapMode,w=Ir(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=_,k=rs([n,t]),S=W(W({},w),o);return h.createElement(h.Fragment,null,l&&h.createElement(A,{sideCar:kr,removeScrollBar:u,shards:d,noRelative:g,noIsolation:y,inert:f,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:C}),s?pe(Z.only(c),W(W({},S),{ref:k})):h.createElement(b,W({},S,{className:a,ref:k}),c))});Qe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Qe.classNames={fullWidth:je,zeroRight:Fe};var as=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function us(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=as();return t&&e.setAttribute("nonce",t),e}function ls(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ds(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fs=function(){var e=0,t=null;return{add:function(n){e==0&&(t=us())&&(ls(t,n),ds(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ps=function(){var e=fs();return function(t,n){P(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Dr=function(){var e=ps(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},_s={left:0,top:0,right:0,gap:0},ut=function(e){return parseInt(e||"",10)||0},vs=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ut(n),ut(r),ut(o)]},hs=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _s;var t=vs(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ms=Dr(),le="data-scroll-locked",gs=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("preact");var Jr=0;function p(e,t,n,r,o,i){t||(t={});var s,c,a=t;if("ref"in a)for(c in a={},t)c=="ref"?s=t[c]:a[c]=t[c];var u={type:e,props:a,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Jr,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(c in s)a[c]===void 0&&(a[c]=s[c]);return h.options.vnode&&h.options.vnode(u),u}var V,O,tt,zt,de=0,bn=[],R=h.options,$t=R.__b,Lt=R.__r,Ft=R.diffed,jt=R.__c,Ut=R.unmount,Wt=R.__;function re(e,t){R.__h&&R.__h(O,e,de||t),de=0;var n=O.__H||(O.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function I(e){return de=1,Pe(Cn,e)}function Pe(e,t,n){var r=re(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Cn(void 0,t),function(c){var a=r.__N?r.__N[0]:r.__[0],u=r.t(a,c);a!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=O,!O.__f)){var o=function(c,a,u){if(!r.__c.__H)return!0;var l=r.__c.__H.__.filter(function(_){return _.__c});if(l.every(function(_){return!_.__N}))return!i||i.call(this,c,a,u);var d=r.__c.props!==c;return l.some(function(_){if(_.__N){var g=_.__[0];_.__=_.__N,_.__N=void 0,g!==_.__[0]&&(d=!0)}}),i&&i.call(this,c,a,u)||d};O.__f=!0;var i=O.shouldComponentUpdate,s=O.componentWillUpdate;O.componentWillUpdate=function(c,a,u){if(this.__e){var l=i;i=void 0,o(c,a,u),i=l}s&&s.call(this,c,a,u)},O.shouldComponentUpdate=o}return r.__N||r.__}function P(e,t){var n=re(V++,3);!R.__s&&yt(n.__H,t)&&(n.__=e,n.u=t,O.__H.__h.push(n))}function X(e,t){var n=re(V++,4);!R.__s&&yt(n.__H,t)&&(n.__=e,n.u=t,O.__h.push(n))}function S(e){return de=5,D(function(){return{current:e}},[])}function ht(e,t,n){de=6,X(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function D(e,t){var n=re(V++,7);return yt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function M(e,t){return de=8,D(function(){return e},t)}function q(e){var t=O.context[e.__c],n=re(V++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(O)),t.props.value):e.__}function mt(e,t){R.useDebugValue&&R.useDebugValue(t?t(e):e)}function Qr(e){var t=re(V++,10),n=I();return t.__=e,O.componentDidCatch||(O.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function gt(){var e=re(V++,11);if(!e.__){for(var t=O.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function eo(){for(var e;e=bn.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some($e),t.__h.some(dt),t.__h=[]}catch(n){t.__h=[],R.__e(n,e.__v)}}}R.__b=function(e){O=null,$t&&$t(e)},R.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Wt&&Wt(e,t)},R.__r=function(e){Lt&&Lt(e),V=0;var t=(O=e.__c).__H;t&&(tt===O?(t.__h=[],O.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some($e),t.__h.some(dt),t.__h=[],V=0)),tt=O},R.diffed=function(e){Ft&&Ft(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(bn.push(t)!==1&&zt===R.requestAnimationFrame||((zt=R.requestAnimationFrame)||to)(eo)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),tt=O=null},R.__c=function(e,t){t.some(function(n){try{n.__h.some($e),n.__h=n.__h.filter(function(r){return!r.__||dt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],R.__e(r,n.__v)}}),jt&&jt(e,t)},R.unmount=function(e){Ut&&Ut(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(r){try{$e(r)}catch(o){t=o}}),n.__H=void 0,t&&R.__e(t,n.__v))};var Bt=typeof requestAnimationFrame=="function";function to(e){var t,n=function(){clearTimeout(r),Bt&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Bt&&(t=requestAnimationFrame(n))}function $e(e){var t=O,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),O=t}function dt(e){var t=O;e.__c=e.__(),O=t}function yt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Cn(e,t){return typeof t=="function"?t(e):t}function En(e,t){for(var n in t)e[n]=t[n];return e}function ft(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function bt(e,t){var n=t(),r=I({t:{__:n,u:t}}),o=r[0].t,i=r[1];return X(function(){o.__=n,o.u=t,nt(o)&&i({t:o})},[e,n,t]),P(function(){return nt(o)&&i({t:o}),e(function(){nt(o)&&i({t:o})})},[e]),n}function nt(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Ct(e){e()}function Et(e){return e}function St(){return[!1,Ct]}var wt=X;function Ue(e,t){this.props=e,this.context=t}function Sn(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:ft(this.props,o)}function r(o){return this.shouldComponentUpdate=n,h.createElement(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Ue.prototype=new h.Component).isPureReactComponent=!0,Ue.prototype.shouldComponentUpdate=function(e,t){return ft(this.props,e)||ft(this.state,t)};var Ht=h.options.__b;h.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var no=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function N(e){function t(n){var r=En({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=no,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zt=function(e,t){return e==null?null:h.toChildArray(h.toChildArray(e).map(t))},Z={map:Zt,forEach:Zt,count:function(e){return e?h.toChildArray(e).length:0},only:function(e){var t=h.toChildArray(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:h.toChildArray},ro=h.options.__e;h.options.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ro(e,t,n,r)};var Vt=h.options.unmount;function wn(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=En({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return wn(r,t,n)})),e}function Pn(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Pn(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function be(){this.__u=0,this.o=null,this.__b=null}function Nn(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function On(e){var t,n,r,o=null;function i(s){if(t||(t=e()).then(function(c){c&&(o=c.default||c),r=!0},function(c){n=c,r=!0}),n)throw n;if(!r)throw t;return o?h.createElement(o,s):null}return i.displayName="Lazy",i.__f=!0,i}function ue(){this.i=null,this.l=null}h.options.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Vt&&Vt(e)},(be.prototype=new h.Component).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=Nn(r.__v),i=!1,s=function(){i||r.__z||(i=!0,n.__R=null,o?o(a):a())};n.__R=s;var c=n.__P;n.__P=null;var a=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Pn(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.o.pop();)l.__P=c,l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},be.prototype.componentWillUnmount=function(){this.o=[]},be.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=wn(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&h.createElement(h.Fragment,null,e.fallback);return o&&(o.__u&=-33),[h.createElement(h.Fragment,null,t.__a?null:e.children),o]};var Kt=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function oo(e){return this.getChildContext=function(){return e.context},e.children}function io(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){h.render(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(o,i){this.childNodes.push(o),t.h.insertBefore(o,i)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.h.removeChild(o)}}}h.render(h.createElement(oo,{context:t.context},e.__v),t.v)}function An(e,t){var n=h.createElement(io,{__v:e,h:t});return n.containerInfo=t,n}(ue.prototype=new h.Component).__a=function(e){var t=this,n=Nn(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Kt(t,e,r)):o()};n?n(i):i()}},ue.prototype.render=function(e){this.i=null,this.l=new Map;var t=h.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},ue.prototype.componentDidUpdate=ue.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Kt(e,n,t)})};var Rn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,co=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,so=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ao=/[A-Z0-9]/g,uo=typeof document<"u",lo=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function In(e,t,n){return t.__k==null&&(t.textContent=""),h.render(e,t),typeof n=="function"&&n(),e?e.__c:null}function Tn(e,t,n){return h.hydrate(e,t),typeof n=="function"&&n(),e?e.__c:null}h.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(h.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var qt=h.options.event;function fo(){}function po(){return this.cancelBubble}function _o(){return this.defaultPrevented}h.options.event=function(e){return qt&&(e=qt(e)),e.persist=fo,e.isPropagationStopped=po,e.isDefaultPrevented=_o,e.nativeEvent=e};var Pt,vo={enumerable:!1,configurable:!0,get:function(){return this.class}},Gt=h.options.vnode;h.options.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var s in n){var c=n[s];if(!(s==="value"&&"defaultValue"in n&&c==null||uo&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var a=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&c===!0?c="":a==="translate"&&c==="no"?c=!1:a[0]==="o"&&a[1]==="n"?a==="ondoubleclick"?s="ondblclick":a!=="onchange"||r!=="input"&&r!=="textarea"||lo(n.type)?a==="onfocus"?s="onfocusin":a==="onblur"?s="onfocusout":so.test(s)&&(s=a):a=s="oninput":i&&co.test(s)?s=s.replace(ao,"-$&").toLowerCase():c===null&&(c=void 0),a==="oninput"&&o[s=a]&&(s="oninputCapture"),o[s]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=h.toChildArray(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=h.toChildArray(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",vo)):n.className&&(o.class=o.className=n.className),t.props=o})(e),e.$$typeof=Rn,Gt&&Gt(e)};var Yt=h.options.__r;h.options.__r=function(e){Yt&&Yt(e),Pt=e.__c};var Xt=h.options.diffed;h.options.diffed=function(e){Xt&&Xt(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Pt=null};var kn={ReactCurrentDispatcher:{current:{readContext:function(e){return Pt.__n[e.__c].props.value},useCallback:M,useContext:q,useDebugValue:mt,useDeferredValue:Et,useEffect:P,useId:gt,useImperativeHandle:ht,useInsertionEffect:wt,useLayoutEffect:X,useMemo:D,useReducer:Pe,useRef:S,useState:I,useSyncExternalStore:bt,useTransition:St}}},ho="18.3.1";function Dn(e){return h.createElement.bind(null,e)}function K(e){return!!e&&e.$$typeof===Rn}function xn(e){return K(e)&&e.type===h.Fragment}function Mn(e){return!!e&&typeof e.displayName=="string"&&e.displayName.startsWith("Memo(")}function pe(e){return K(e)?h.cloneElement.apply(null,arguments):e}function zn(e){return!!e.__k&&(h.render(null,e),!0)}function $n(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ln=function(e,t){return e(t)},Nt=function(e,t){return e(t)},Fn=h.Fragment,jn=K,T={useState:I,useId:gt,useReducer:Pe,useEffect:P,useLayoutEffect:X,useInsertionEffect:wt,useTransition:St,useDeferredValue:Et,useSyncExternalStore:bt,startTransition:Ct,useRef:S,useImperativeHandle:ht,useMemo:D,useCallback:M,useContext:q,useDebugValue:mt,version:"18.3.1",Children:Z,render:In,hydrate:Tn,unmountComponentAtNode:zn,createPortal:An,createElement:h.createElement,createContext:h.createContext,createFactory:Dn,cloneElement:pe,createRef:h.createRef,Fragment:h.Fragment,isValidElement:K,isElement:jn,isFragment:xn,isMemo:Mn,findDOMNode:$n,Component:h.Component,PureComponent:Ue,memo:Sn,forwardRef:N,flushSync:Nt,unstable_batchedUpdates:Ln,StrictMode:Fn,Suspense:be,SuspenseList:ue,lazy:On,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:kn};const Un=Object.freeze(Object.defineProperty({__proto__:null,Children:Z,Component:h.Component,Fragment:h.Fragment,PureComponent:Ue,StrictMode:Fn,Suspense:be,SuspenseList:ue,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:kn,cloneElement:pe,createContext:h.createContext,createElement:h.createElement,createFactory:Dn,createPortal:An,createRef:h.createRef,default:T,findDOMNode:$n,flushSync:Nt,forwardRef:N,hydrate:Tn,isElement:jn,isFragment:xn,isMemo:Mn,isValidElement:K,lazy:On,memo:Sn,render:In,startTransition:Ct,unmountComponentAtNode:zn,unstable_batchedUpdates:Ln,useCallback:M,useContext:q,useDebugValue:mt,useDeferredValue:Et,useEffect:P,useErrorBoundary:Qr,useId:gt,useImperativeHandle:ht,useInsertionEffect:wt,useLayoutEffect:X,useMemo:D,useReducer:Pe,useRef:S,useState:I,useSyncExternalStore:bt,useTransition:St,version:ho},Symbol.toStringTag,{value:"Module"}));function Wn(...e){return e.filter(Boolean).join(" ")}function Le(e){return Object.entries(e).filter(([,t])=>t).map(([t])=>t).join(" ")}const mo="_root_hw69b_1",go="_neutral_hw69b_17",yo="_brand_hw69b_30",bo="_ghost_hw69b_43",Jt={root:mo,neutral:go,brand:yo,ghost:bo},rt=({variant:e="neutral",...t})=>p("button",{className:Wn(Jt.root,Jt[e]),...t}),Co="_root_14l5h_1",Eo="_muted_14l5h_4",So="_body_14l5h_8",wo="_normal_14l5h_14",Po="_bold_14l5h_18",No="_caption_14l5h_23",Re={root:Co,muted:Eo,body:So,normal:wo,bold:Po,caption:No},te=({as:e="span",size:t="body",weight:n="normal",color:r="default",...o})=>p(e??"span",{className:Wn(Re.root,Re[t],Re[n],Re[r]),...o}),Oo="_root_12udu_53",Ao="_noTarget_12udu_65",Ro="_collapsible_12udu_74",Io="_header_12udu_77",To="_heading_12udu_84",ko="_chevron_12udu_90",Do="_open_12udu_95",xo="_settings_12udu_101",Mo="_footer_12udu_115",zo="_legal_12udu_122",$o="_actions_12udu_125",F={root:Oo,noTarget:Ao,collapsible:Ro,header:Io,heading:To,chevron:ko,open:Do,settings:xo,footer:Mo,legal:zo,actions:$o},Lo="_root_mqtha_19",Fo="_header_mqtha_24",jo="_label_mqtha_33",Uo="_actions_mqtha_39",Wo="_chevron_mqtha_45",Bo="_open_mqtha_51",Ho="_description_mqtha_58",Q={root:Lo,header:Fo,label:jo,actions:Uo,chevron:Wo,open:Bo,description:Ho};function x(e,t,n){function r(c,a){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:a,constr:s,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,a);const u=s.prototype,l=Object.keys(u);for(let d=0;d<l.length;d++){const _=l[d];_ in c||(c[_]=u[_].bind(c))}}const o=n?.Parent??Object;class i extends o{}Object.defineProperty(i,"name",{value:e});function s(c){var a;const u=n?.Parent?new i:this;r(u,c),(a=u._zod).deferred??(a.deferred=[]);for(const l of u._zod.deferred)l();return u}return Object.defineProperty(s,"init",{value:r}),Object.defineProperty(s,Symbol.hasInstance,{value:c=>n?.Parent&&c instanceof n.Parent?!0:c?._zod?.traits?.has(e)}),Object.defineProperty(s,"name",{value:e}),s}class Ce extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const Zo={};function _e(e){return Zo}function Vo(e,t){return typeof t=="bigint"?t.toString():t}function Bn(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Hn(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}const Qt=Symbol("evaluating");function B(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Qt)return r===void 0&&(r=Qt,r=n()),r},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}const Zn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function We(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ko(e){if(We(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(We(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function en(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function qo(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function ve(e){return{}}function Go(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function ge(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ye(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function Ie(e){return typeof e=="string"?e:e?.message}function he(e,t,n){const r={...e,path:e.path??[]};if(!e.message){const o=Ie(e.inst?._zod.def?.error?.(e))??Ie(t?.error?.(e))??Ie(n.customError?.(e))??Ie(n.localeError?.(e))??"Invalid input";r.message=o}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}const Vn=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Vo,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Yo=x("$ZodError",Vn),Ke=x("$ZodError",Vn,{Parent:Error}),Xo=e=>(t,n,r,o)=>{const i=r?Object.assign(r,{async:!1}):{async:!1},s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new Ce;if(s.issues.length){const c=new(o?.Err??e)(s.issues.map(a=>he(a,i,_e())));throw Zn(c,o?.callee),c}return s.value},Jo=Xo(Ke),Qo=e=>async(t,n,r,o)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise&&(s=await s),s.issues.length){const c=new(o?.Err??e)(s.issues.map(a=>he(a,i,_e())));throw Zn(c,o?.callee),c}return s.value},ei=Qo(Ke),ti=e=>(t,n,r)=>{const o=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new Ce;return i.issues.length?{success:!1,error:new(e??Yo)(i.issues.map(s=>he(s,o,_e())))}:{success:!0,data:i.value}},Kn=ti(Ke),ni=e=>async(t,n,r)=>{const o=r?Object.assign(r,{async:!0}):{async:!0};let i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(s=>he(s,o,_e())))}:{success:!0,data:i.value}},qn=ni(Ke),ri=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},oi=/^-?\d+(?:\.\d+)?$/,ii=/^(?:true|false)$/i,ci={major:4,minor:3,patch:6},J=x("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ci;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const o of r)for(const i of o._zod.onattach)i(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(s,c,a)=>{let u=ge(s),l;for(const d of c){if(d._zod.def.when){if(!d._zod.def.when(s))continue}else if(u)continue;const _=s.issues.length,g=d._zod.check(s);if(g instanceof Promise&&a?.async===!1)throw new Ce;if(l||g instanceof Promise)l=(l??Promise.resolve()).then(async()=>{await g,s.issues.length!==_&&(u||(u=ge(s,_)))});else{if(s.issues.length===_)continue;u||(u=ge(s,_))}}return l?l.then(()=>s):s},i=(s,c,a)=>{if(ge(s))return s.aborted=!0,s;const u=o(c,r,a);if(u instanceof Promise){if(a.async===!1)throw new Ce;return u.then(l=>e._zod.parse(l,a))}return e._zod.parse(u,a)};e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction==="backward"){const u=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return u instanceof Promise?u.then(l=>i(l,s,c)):i(u,s,c)}const a=e._zod.parse(s,c);if(a instanceof Promise){if(c.async===!1)throw new Ce;return a.then(u=>o(u,r,c))}return o(a,r,c)}}B(e,"~standard",()=>({validate:o=>{try{const i=Kn(e,o);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return qn(e,o).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}))}),si=x("$ZodString",(e,t)=>{J.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??ri(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ai=x("$ZodBoolean",(e,t)=>{J.init(e,t),e._zod.pattern=ii,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n}});function Be(e,t,n,r,o){if(e.issues.length){if(o&&!(n in r))return;t.issues.push(...ye(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function ui(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=Go(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function li(e,t,n,r,o,i){const s=[],c=o.keySet,a=o.catchall._zod,u=a.def.type,l=a.optout==="optional";for(const d in t){if(c.has(d))continue;if(u==="never"){s.push(d);continue}const _=a.run({value:t[d],issues:[]},r);_ instanceof Promise?e.push(_.then(g=>Be(g,n,d,t,l))):Be(_,n,d,t,l)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:i}),e.length?Promise.all(e).then(()=>n):n}const di=x("$ZodObject",(e,t)=>{if(J.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const c=t.shape;Object.defineProperty(t,"shape",{get:()=>{const a={...c};return Object.defineProperty(t,"shape",{value:a}),a}})}const r=Bn(()=>ui(t));B(e._zod,"propValues",()=>{const c=t.shape,a={};for(const u in c){const l=c[u]._zod;if(l.values){a[u]??(a[u]=new Set);for(const d of l.values)a[u].add(d)}}return a});const o=We,i=t.catchall;let s;e._zod.parse=(c,a)=>{s??(s=r.value);const u=c.value;if(!o(u))return c.issues.push({expected:"object",code:"invalid_type",input:u,inst:e}),c;c.value={};const l=[],d=s.shape;for(const _ of s.keys){const g=d[_],y=g._zod.optout==="optional",f=g._zod.run({value:u[_],issues:[]},a);f instanceof Promise?l.push(f.then(v=>Be(v,c,_,u,y))):Be(f,c,_,u,y)}return i?li(l,u,c,a,r.value,e):l.length?Promise.all(l).then(()=>c):c}});function tn(e,t,n,r){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const o=e.filter(i=>!ge(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(s=>he(s,r,_e())))}),t)}const fi=x("$ZodUnion",(e,t)=>{J.init(e,t),B(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),B(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),B(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),B(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Hn(i.source)).join("|")})$`)}});const n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(n)return r(o,i);let s=!1;const c=[];for(const a of t.options){const u=a._zod.run({value:o.value,issues:[]},i);if(u instanceof Promise)c.push(u),s=!0;else{if(u.issues.length===0)return u;c.push(u)}}return s?Promise.all(c).then(a=>tn(a,o,e,i)):tn(c,o,e,i)}}),pi=x("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,fi.init(e,t);const n=e._zod.parse;B(e._zod,"propValues",()=>{const o={};for(const i of t.options){const s=i._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[c,a]of Object.entries(s)){o[c]||(o[c]=new Set);for(const u of a)o[c].add(u)}}return o});const r=Bn(()=>{const o=t.options,i=new Map;for(const s of o){const c=s._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(const a of c){if(i.has(a))throw new Error(`Duplicate discriminator value "${String(a)}"`);i.set(a,s)}}return i});e._zod.parse=(o,i)=>{const s=o.value;if(!We(s))return o.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),o;const c=r.value.get(s?.[t.discriminator]);return c?c._zod.run(o,i):t.unionFallback?n(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:s,path:[t.discriminator],inst:e}),o)}}),_i=x("$ZodRecord",(e,t)=>{J.init(e,t),e._zod.parse=(n,r)=>{const o=n.value;if(!Ko(o))return n.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),n;const i=[],s=t.keyType._zod.values;if(s){n.value={};const c=new Set;for(const u of s)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){c.add(typeof u=="number"?u.toString():u);const l=t.valueType._zod.run({value:o[u],issues:[]},r);l instanceof Promise?i.push(l.then(d=>{d.issues.length&&n.issues.push(...ye(u,d.issues)),n.value[u]=d.value})):(l.issues.length&&n.issues.push(...ye(u,l.issues)),n.value[u]=l.value)}let a;for(const u in o)c.has(u)||(a=a??[],a.push(u));a&&a.length>0&&n.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:a})}else{n.value={};for(const c of Reflect.ownKeys(o)){if(c==="__proto__")continue;let a=t.keyType._zod.run({value:c,issues:[]},r);if(a instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&oi.test(c)&&a.issues.length){const d=t.keyType._zod.run({value:Number(c),issues:[]},r);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(a=d)}if(a.issues.length){t.mode==="loose"?n.value[c]=o[c]:n.issues.push({code:"invalid_key",origin:"record",issues:a.issues.map(d=>he(d,r,_e())),input:c,path:[c],inst:e});continue}const l=t.valueType._zod.run({value:o[c],issues:[]},r);l instanceof Promise?i.push(l.then(d=>{d.issues.length&&n.issues.push(...ye(c,d.issues)),n.value[a.value]=d.value})):(l.issues.length&&n.issues.push(...ye(c,l.issues)),n.value[a.value]=l.value)}}return i.length?Promise.all(i).then(()=>n):n}}),vi=x("$ZodLiteral",(e,t)=>{if(J.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?en(r):r?en(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,o)=>{const i=r.value;return n.has(i)||r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}});function nn(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const hi=x("$ZodOptional",(e,t)=>{J.init(e,t),e._zod.optin="optional",e._zod.optout="optional",B(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),B(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${Hn(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(i=>nn(i,n.value)):nn(o,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,r)}});function mi(e,t){return new e({type:"string",...ve()})}function gi(e,t){return new e({type:"boolean",...ve()})}const oe=x("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");J.init(e,t),e.def=t,e.type=t.type,e.parse=(n,r)=>Jo(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>Kn(e,n,r),e.parseAsync=async(n,r)=>ei(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>qn(e,n,r),e.check=(...n)=>e.clone({...t,checks:[...t.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]},{parent:!0}),e.with=e.check,e.clone=(n,r)=>qo(e,n,r),e.brand=()=>e,e.register=((n,r)=>(n.add(e,r),e)),e.apply=n=>n(e)}),yi=x("ZodMiniString",(e,t)=>{si.init(e,t),oe.init(e,t)});function ee(e){return mi(yi)}const bi=x("ZodMiniBoolean",(e,t)=>{ai.init(e,t),oe.init(e,t)});function Se(e){return gi(bi)}const Ci=x("ZodMiniObject",(e,t)=>{di.init(e,t),oe.init(e,t),B(e,"shape",()=>t.shape)});function Gn(e,t){const n={type:"object",shape:e??{},...ve()};return new Ci(n)}const Ei=x("ZodMiniDiscriminatedUnion",(e,t)=>{pi.init(e,t),oe.init(e,t)});function Si(e,t,n){return new Ei({type:"union",options:t,discriminator:e,...ve()})}const wi=x("ZodMiniRecord",(e,t)=>{_i.init(e,t),oe.init(e,t)});function Pi(e,t,n){return new wi({type:"record",keyType:e,valueType:t,...ve()})}const Ni=x("ZodMiniLiteral",(e,t)=>{vi.init(e,t),oe.init(e,t)});function Yn(e,t){return new Ni({type:"literal",values:Array.isArray(e)?e:[e],...ve()})}const Oi=x("ZodMiniOptional",(e,t)=>{hi.init(e,t),oe.init(e,t)});function Y(e){return new Oi({type:"optional",innerType:e})}const Ai=Gn({variant:Yn("remote"),type:Y(ee()),src:ee(),async:Y(Se()),defer:Y(Se()),crossorigin:Y(ee()),integrity:Y(ee())}),Ri=Gn({variant:Yn("inline"),type:Y(ee()),async:Y(Se()),defer:Y(Se()),content:ee()}),Ii=Si("variant",[Ai,Ri]);function Ti(e,t){const n=h.createContext(t),r=i=>{const{children:s,...c}=i,a=D(()=>c,Object.values(c));return p(n.Provider,{value:a,children:s})};r.displayName=e+"Provider";function o(i){const s=q(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Ne(e,t=[]){let n=[];function r(i,s){const c=h.createContext(s),a=n.length;n=[...n,s];const u=d=>{const{scope:_,children:g,...y}=d,f=_?.[e]?.[a]||c,v=D(()=>y,Object.values(y));return p(f.Provider,{value:v,children:g})};u.displayName=i+"Provider";function l(d,_){const g=_?.[e]?.[a]||c,y=q(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,l]}const o=()=>{const i=n.map(s=>h.createContext(s));return function(c){const a=c?.[e]||i;return D(()=>({[`__scope${e}`]:{...c,[e]:a}}),[c,a])}};return o.scopeName=e,[r,ki(o,...t)]}function ki(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:a,scopeName:u})=>{const d=a(i)[`__scope${u}`];return{...c,...d}},{});return D(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function rn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Xn(...e){return t=>{let n=!1;const r=e.map(o=>{const i=rn(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():rn(e[o],null)}}}}function $(...e){return M(Xn(...e),e)}function He(e){const t=Di(e),n=N((r,o)=>{const{children:i,...s}=r,c=Z.toArray(i),a=c.find(Mi);if(a){const u=a.props.children,l=c.map(d=>d===a?Z.count(u)>1?Z.only(null):K(u)?u.props.children:null:d);return p(t,{...s,ref:o,children:K(u)?pe(u,void 0,l):null})}return p(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Di(e){const t=N((n,r)=>{const{children:o,...i}=n;if(K(o)){const s=$i(o),c=zi(i,o.props);return o.type!==h.Fragment&&(c.ref=r?Xn(r,s):s),pe(o,c)}return Z.count(o)>1?Z.only(null):null});return t.displayName=`${e}.SlotClone`,t}var xi=Symbol("radix.slottable");function Mi(e){return K(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xi}function zi(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...c)=>{const a=i(...c);return o(...c),a}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function $i(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Li(e){const t=e+"CollectionProvider",[n,r]=Ne(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=f=>{const{scope:v,children:m}=f,b=T.useRef(null),C=T.useRef(new Map).current;return p(o,{scope:v,itemMap:C,collectionRef:b,children:m})};s.displayName=t;const c=e+"CollectionSlot",a=He(c),u=T.forwardRef((f,v)=>{const{scope:m,children:b}=f,C=i(c,m),E=$(v,C.collectionRef);return p(a,{ref:E,children:b})});u.displayName=c;const l=e+"CollectionItemSlot",d="data-radix-collection-item",_=He(l),g=T.forwardRef((f,v)=>{const{scope:m,children:b,...C}=f,E=T.useRef(null),A=$(v,E),k=i(l,m);return T.useEffect(()=>(k.itemMap.set(E,{ref:E,...C}),()=>{k.itemMap.delete(E)})),p(_,{[d]:"",ref:A,children:b})});g.displayName=l;function y(f){const v=i(e+"CollectionConsumer",f);return T.useCallback(()=>{const b=v.collectionRef.current;if(!b)return[];const C=Array.from(b.querySelectorAll(`[${d}]`));return Array.from(v.itemMap.values()).sort((k,w)=>C.indexOf(k.ref.current)-C.indexOf(w.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:u,ItemSlot:g},y,r]}function j(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}var fe=globalThis?.document?X:()=>{},Fi=Un[" useInsertionEffect ".trim().toString()]||fe;function Oe({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=ji({defaultProp:t,onChange:n}),c=e!==void 0,a=c?e:o;{const l=S(e!==void 0);P(()=>{const d=l.current;d!==c&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),l.current=c},[c,r])}const u=M(l=>{if(c){const d=Ui(l)?l(e):l;d!==e&&s.current?.(d)}else i(l)},[c,e,i,s]);return[a,u]}function ji({defaultProp:e,onChange:t}){const[n,r]=I(e),o=S(n),i=S(t);return Fi(()=>{i.current=t},[t]),P(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function Ui(e){return typeof e=="function"}var Wi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],z=Wi.reduce((e,t)=>{const n=He(`Primitive.${t}`),r=N((o,i)=>{const{asChild:s,...c}=o,a=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p(a,{...c,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Bi(e,t){e&&Nt(()=>e.dispatchEvent(t))}function Hi(e,t){return Pe((n,r)=>t[n][r]??n,e)}var qe=e=>{const{present:t,children:n}=e,r=Zi(t),o=typeof n=="function"?n({present:r.isPresent}):Z.only(n),i=$(r.ref,Vi(o));return typeof n=="function"||r.isPresent?pe(o,{ref:i}):null};qe.displayName="Presence";function Zi(e){const[t,n]=I(),r=S(null),o=S(e),i=S("none"),s=e?"mounted":"unmounted",[c,a]=Hi(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return P(()=>{const u=Te(r.current);i.current=c==="mounted"?u:"none"},[c]),fe(()=>{const u=r.current,l=o.current;if(l!==e){const _=i.current,g=Te(u);e?a("MOUNT"):g==="none"||u?.display==="none"?a("UNMOUNT"):a(l&&_!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),fe(()=>{if(t){let u;const l=t.ownerDocument.defaultView??window,d=g=>{const f=Te(r.current).includes(CSS.escape(g.animationName));if(g.target===t&&f&&(a("ANIMATION_END"),!o.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},_=g=>{g.target===t&&(i.current=Te(r.current))};return t.addEventListener("animationstart",_),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{l.clearTimeout(u),t.removeEventListener("animationstart",_),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:M(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Te(e){return e?.animationName||"none"}function Vi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ki=Un[" useId ".trim().toString()]||(()=>{}),qi=0;function Ee(e){const[t,n]=I(Ki());return fe(()=>{n(r=>r??String(qi++))},[e]),e||(t?`radix-${t}`:"")}var Ge="Collapsible",[Gi,Jn]=Ne(Ge),[Yi,Ot]=Gi(Ge),Qn=N((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...c}=e,[a,u]=Oe({prop:r,defaultProp:o??!1,onChange:s,caller:Ge});return p(Yi,{scope:n,disabled:i,contentId:Ee(),open:a,onOpenToggle:M(()=>u(l=>!l),[u]),children:p(z.div,{"data-state":Rt(a),"data-disabled":i?"":void 0,...c,ref:t})})});Qn.displayName=Ge;var er="CollapsibleTrigger",tr=N((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Ot(er,n);return p(z.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Rt(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:j(e.onClick,o.onOpenToggle)})});tr.displayName=er;var At="CollapsibleContent",nr=N((e,t)=>{const{forceMount:n,...r}=e,o=Ot(At,e.__scopeCollapsible);return p(qe,{present:n||o.open,children:({present:i})=>p(Xi,{...r,ref:t,present:i})})});nr.displayName=At;var Xi=N((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=Ot(At,n),[c,a]=I(r),u=S(null),l=$(t,u),d=S(0),_=d.current,g=S(0),y=g.current,f=s.open||c,v=S(f),m=S(void 0);return P(()=>{const b=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(b)},[]),fe(()=>{const b=u.current;if(b){m.current=m.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const C=b.getBoundingClientRect();d.current=C.height,g.current=C.width,v.current||(b.style.transitionDuration=m.current.transitionDuration,b.style.animationName=m.current.animationName),a(r)}},[s.open,r]),p(z.div,{"data-state":Rt(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!f,...i,ref:l,style:{"--radix-collapsible-content-height":_?`${_}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:f&&o})});function Rt(e){return e?"open":"closed"}var rr=Qn,or=tr,ir=nr,Ji=h.createContext(void 0);function Qi(e){const t=q(Ji);return e||t||"ltr"}var U="Accordion",ec=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[It,tc,nc]=Li(U),[Ye]=Ne(U,[nc,Jn]),Tt=Jn(),cr=T.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return p(It.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?p(cc,{...i,ref:t}):p(ic,{...o,ref:t})})});cr.displayName=U;var[sr,rc]=Ye(U),[ar,oc]=Ye(U,{collapsible:!1}),ic=T.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[c,a]=Oe({prop:n,defaultProp:r??"",onChange:o,caller:U});return p(sr,{scope:e.__scopeAccordion,value:T.useMemo(()=>c?[c]:[],[c]),onItemOpen:a,onItemClose:T.useCallback(()=>i&&a(""),[i,a]),children:p(ar,{scope:e.__scopeAccordion,collapsible:i,children:p(ur,{...s,ref:t})})})}),cc=T.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s,c]=Oe({prop:n,defaultProp:r??[],onChange:o,caller:U}),a=T.useCallback(l=>c((d=[])=>[...d,l]),[c]),u=T.useCallback(l=>c((d=[])=>d.filter(_=>_!==l)),[c]);return p(sr,{scope:e.__scopeAccordion,value:s,onItemOpen:a,onItemClose:u,children:p(ar,{scope:e.__scopeAccordion,collapsible:!0,children:p(ur,{...i,ref:t})})})}),[sc,Xe]=Ye(U),ur=T.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,c=T.useRef(null),a=$(c,t),u=tc(n),d=Qi(o)==="ltr",_=j(e.onKeyDown,g=>{if(!ec.includes(g.key))return;const y=g.target,f=u().filter(L=>!L.ref.current?.disabled),v=f.findIndex(L=>L.ref.current===y),m=f.length;if(v===-1)return;g.preventDefault();let b=v;const C=0,E=m-1,A=()=>{b=v+1,b>E&&(b=C)},k=()=>{b=v-1,b<C&&(b=E)};switch(g.key){case"Home":b=C;break;case"End":b=E;break;case"ArrowRight":i==="horizontal"&&(d?A():k());break;case"ArrowDown":i==="vertical"&&A();break;case"ArrowLeft":i==="horizontal"&&(d?k():A());break;case"ArrowUp":i==="vertical"&&k();break}const w=b%m;f[w].ref.current?.focus()});return p(sc,{scope:n,disabled:r,direction:o,orientation:i,children:p(It.Slot,{scope:n,children:p(z.div,{...s,"data-orientation":i,ref:a,onKeyDown:r?void 0:_})})})}),Ze="AccordionItem",[ac,kt]=Ye(Ze),lr=T.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=Xe(Ze,n),s=rc(Ze,n),c=Tt(n),a=Ee(),u=r&&s.value.includes(r)||!1,l=i.disabled||e.disabled;return p(ac,{scope:n,open:u,disabled:l,triggerId:a,children:p(rr,{"data-orientation":i.orientation,"data-state":vr(u),...c,...o,ref:t,disabled:l,open:u,onOpenChange:d=>{d?s.onItemOpen(r):s.onItemClose(r)}})})});lr.displayName=Ze;var dr="AccordionHeader",uc=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Xe(U,n),i=kt(dr,n);return p(z.h3,{"data-orientation":o.orientation,"data-state":vr(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});uc.displayName=dr;var pt="AccordionTrigger",fr=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Xe(U,n),i=kt(pt,n),s=oc(pt,n),c=Tt(n);return p(It.ItemSlot,{scope:n,children:p(or,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...c,...r,ref:t})})});fr.displayName=pt;var pr="AccordionContent",_r=T.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=Xe(U,n),i=kt(pr,n),s=Tt(n);return p(ir,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});_r.displayName=pr;function vr(e){return e?"open":"closed"}var lc=cr,dc=lr,on=fr,fc=_r;const hr=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();const pc=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const _c=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase());const cn=e=>{const t=_c(e);return t.charAt(0).toUpperCase()+t.slice(1)};var vc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const hc=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const mc=N(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...c},a)=>h.createElement("svg",{ref:a,...vc,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hr("lucide",o),...!i&&!hc(c)&&{"aria-hidden":"true"},...c},[...s.map(([u,l])=>h.createElement(u,l)),...Array.isArray(i)?i:[i]]));const mr=(e,t)=>{const n=N(({className:r,...o},i)=>h.createElement(mc,{ref:i,iconNode:t,className:hr(`lucide-${pc(cn(e))}`,`lucide-${e}`,r),...o}));return n.displayName=cn(e),n};const gc=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],yc=mr("chevron-down",gc);const bc=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Cc=mr("chevron-up",bc);function Ec(e){const t=S({value:e,previous:e});return D(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Sc(e){const[t,n]=I(void 0);return fe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,c;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,c=u.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Je="Switch",[wc]=Ne(Je),[Pc,Nc]=wc(Je),gr=N((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:s,disabled:c,value:a="on",onCheckedChange:u,form:l,...d}=e,[_,g]=I(null),y=$(t,C=>g(C)),f=S(!1),v=_?l||!!_.closest("form"):!0,[m,b]=Oe({prop:o,defaultProp:i??!1,onChange:u,caller:Je});return p(Pc,{scope:n,checked:m,disabled:c,children:[p(z.button,{type:"button",role:"switch","aria-checked":m,"aria-required":s,"data-state":Er(m),"data-disabled":c?"":void 0,disabled:c,value:a,...d,ref:y,onClick:j(e.onClick,C=>{b(E=>!E),v&&(f.current=C.isPropagationStopped(),f.current||C.stopPropagation())})}),v&&p(Cr,{control:_,bubbles:!f.current,name:r,value:a,checked:m,required:s,disabled:c,form:l,style:{transform:"translateX(-100%)"}})]})});gr.displayName=Je;var yr="SwitchThumb",br=N((e,t)=>{const{__scopeSwitch:n,...r}=e,o=Nc(yr,n);return p(z.span,{"data-state":Er(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});br.displayName=yr;var Oc="SwitchBubbleInput",Cr=N(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},i)=>{const s=S(null),c=$(s,i),a=Ec(n),u=Sc(t);return P(()=>{const l=s.current;if(!l)return;const d=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(d,"checked").set;if(a!==n&&g){const y=new Event("click",{bubbles:r});g.call(l,n),l.dispatchEvent(y)}},[a,n,r]),p("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:c,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Cr.displayName=Oc;function Er(e){return e?"checked":"unchecked"}var Ac=gr,Rc=br;const Ic="_root_dibqz_1",Tc="_thumb_dibqz_38",ke={root:Ic,switch:"_switch_dibqz_8",thumb:Tc},kc=({label:e,id:t,...n})=>p("div",{className:ke.root,children:[e&&p(te,{className:ke.label,as:"label",htmlFor:t,children:e}),p(Ac,{className:ke.switch,...n,children:p(Rc,{className:ke.thumb})})]}),Dc=Pi(ee(),Se()),Sr=h.createContext(null),xc=({children:e,items:t,localStorageKey:n})=>{function r(y){const f=localStorage.getItem(y);if(!f)return null;const{success:v,data:m}=Dc.safeParse(JSON.parse(f));return v?m:null}const o=D(()=>Object.fromEntries(t.map(y=>[y.value,y.defaultSelected??!1])),[t]),[i,s]=I(r(n)??o),[c,a]=I(r(n));function u(y,f){const v=i?{...i,[y]:f}:{[y]:f};s(v)}P(()=>{let y=[];c!==null&&(y=Object.entries(c).filter(([v,m])=>m).map(([v])=>v));const f=t.filter(v=>y.includes(v.value));for(const v of t){const m=document.head.querySelector(`#${v.value}`);m&&m.remove()}for(const v of f){const m=document.createElement("script");if(m.id=v.value,!v.script){v.required||console.warn("CookieBanner: Missing script for",v.value);continue}const{success:b,data:C}=Ii.safeParse(v.script);if(!b){console.error("CookieBanner: Invalid script definition for",v.value);continue}switch(m.type=C.type??"text/javascript",m.async=C.async??!1,m.defer=C.defer??!1,C.variant){case"inline":m.textContent=C.content;break;case"remote":m.src=C.src,m.crossOrigin=C.crossorigin??null,m.integrity=C.integrity??"";break}document.head.appendChild(m)}},[c,t]);function l(y){a(y),localStorage.setItem(n,JSON.stringify(y))}const d=M(()=>{const y=Object.fromEntries(t.map(f=>[f.value,!1]));s(y),l(y)},[t]),_=M(()=>{l(i),location.reload()},[i]),g=D(()=>{if(!c)return!1;const y=Object.keys(c);return t.map(v=>v.value).every(v=>y.includes(v))},[c,t]);return p(Sr.Provider,{value:{selection:i,toggleSelection:u,onDeclineAll:d,onSave:_,selectionTaken:g},children:e})};function wr(){const e=q(Sr);if(!e)throw new Error("useSelection must be used within a SelectionProvider");return e}const Mc=({value:e,label:t,sublabel:n,required:r=!1,description:o,openItem:i})=>{const{toggleSelection:s,selection:c}=wr(),a=D(()=>c?.[e]??!1,[c,e]);P(()=>{s(e,a)},[e,a]);const u=D(()=>r?!0:a,[r,a]),l=D(()=>_=>r?()=>{}:s(e,_),[r,s,e]),d=D(()=>r,[r]);return p(dc,{value:e,className:Q.root,children:[p("div",{className:Q.header,children:[p(on,{asChild:!0,children:p("div",{className:Q.label,children:[p(te,{weight:"bold",children:t}),n&&p(te,{size:"caption",color:"muted",children:n})]})}),p("div",{className:Q.actions,children:[p(kc,{checked:u,onCheckedChange:l,disabled:d}),p(on,{asChild:!0,children:p(yc,{size:16,className:Le({[Q.chevron]:!0,[Q.open]:i===e})})})]})]}),o&&p(fc,{className:Q.description,children:p(te,{size:"caption",dangerouslySetInnerHTML:{__html:o}})})]})};function we(e){const t=S(e);return P(()=>{t.current=e}),D(()=>(...n)=>t.current?.(...n),[])}function zc(e,t=globalThis?.document){const n=we(e);P(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var $c="DismissableLayer",_t="dismissableLayer.update",Lc="dismissableLayer.pointerDownOutside",Fc="dismissableLayer.focusOutside",sn,Pr=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Nr=N((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...a}=e,u=q(Pr),[l,d]=I(null),_=l?.ownerDocument??globalThis?.document,[,g]=I({}),y=$(t,w=>d(w)),f=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=f.indexOf(v),b=l?f.indexOf(l):-1,C=u.layersWithOutsidePointerEventsDisabled.size>0,E=b>=m,A=Wc(w=>{const L=w.target,ie=[...u.branches].some(me=>me.contains(L));!E||ie||(o?.(w),s?.(w),w.defaultPrevented||c?.())},_),k=Bc(w=>{const L=w.target;[...u.branches].some(me=>me.contains(L))||(i?.(w),s?.(w),w.defaultPrevented||c?.())},_);return zc(w=>{b===u.layers.size-1&&(r?.(w),!w.defaultPrevented&&c&&(w.preventDefault(),c()))},_),P(()=>{if(l)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(sn=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(l)),u.layers.add(l),an(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(_.body.style.pointerEvents=sn)}},[l,_,n,u]),P(()=>()=>{l&&(u.layers.delete(l),u.layersWithOutsidePointerEventsDisabled.delete(l),an())},[l,u]),P(()=>{const w=()=>g({});return document.addEventListener(_t,w),()=>document.removeEventListener(_t,w)},[]),p(z.div,{...a,ref:y,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:j(e.onFocusCapture,k.onFocusCapture),onBlurCapture:j(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:j(e.onPointerDownCapture,A.onPointerDownCapture)})});Nr.displayName=$c;var jc="DismissableLayerBranch",Uc=N((e,t)=>{const n=q(Pr),r=S(null),o=$(t,r);return P(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p(z.div,{...e,ref:o})});Uc.displayName=jc;function Wc(e,t=globalThis?.document){const n=we(e),r=S(!1),o=S(()=>{});return P(()=>{const i=c=>{if(c.target&&!r.current){let a=function(){Or(Lc,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Bc(e,t=globalThis?.document){const n=we(e),r=S(!1);return P(()=>{const o=i=>{i.target&&!r.current&&Or(Fc,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function an(){const e=new CustomEvent(_t);document.dispatchEvent(e)}function Or(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Bi(o,i):o.dispatchEvent(i)}var ot="focusScope.autoFocusOnMount",it="focusScope.autoFocusOnUnmount",un={bubbles:!1,cancelable:!0},Hc="FocusScope",Ar=N((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[c,a]=I(null),u=we(o),l=we(i),d=S(null),_=$(t,f=>a(f)),g=S({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;P(()=>{if(r){let f=function(C){if(g.paused||!c)return;const E=C.target;c.contains(E)?d.current=E:G(d.current,{select:!0})},v=function(C){if(g.paused||!c)return;const E=C.relatedTarget;E!==null&&(c.contains(E)||G(d.current,{select:!0}))},m=function(C){if(document.activeElement===document.body)for(const A of C)A.removedNodes.length>0&&G(c)};document.addEventListener("focusin",f),document.addEventListener("focusout",v);const b=new MutationObserver(m);return c&&b.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),b.disconnect()}}},[r,c,g.paused]),P(()=>{if(c){dn.add(g);const f=document.activeElement;if(!c.contains(f)){const m=new CustomEvent(ot,un);c.addEventListener(ot,u),c.dispatchEvent(m),m.defaultPrevented||(Zc(Yc(Rr(c)),{select:!0}),document.activeElement===f&&G(c))}return()=>{c.removeEventListener(ot,u),setTimeout(()=>{const m=new CustomEvent(it,un);c.addEventListener(it,l),c.dispatchEvent(m),m.defaultPrevented||G(f??document.body,{select:!0}),c.removeEventListener(it,l),dn.remove(g)},0)}}},[c,u,l,g]);const y=M(f=>{if(!n&&!r||g.paused)return;const v=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,m=document.activeElement;if(v&&m){const b=f.currentTarget,[C,E]=Vc(b);C&&E?!f.shiftKey&&m===E?(f.preventDefault(),n&&G(C,{select:!0})):f.shiftKey&&m===C&&(f.preventDefault(),n&&G(E,{select:!0})):m===b&&f.preventDefault()}},[n,r,g.paused]);return p(z.div,{tabIndex:-1,...s,ref:_,onKeyDown:y})});Ar.displayName=Hc;function Zc(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(G(r,{select:t}),document.activeElement!==n)return}function Vc(e){const t=Rr(e),n=ln(t,e),r=ln(t.reverse(),e);return[n,r]}function Rr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ln(e,t){for(const n of e)if(!Kc(n,{upTo:t}))return n}function Kc(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function qc(e){return e instanceof HTMLInputElement&&"select"in e}function G(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&qc(e)&&t&&e.select()}}var dn=Gc();function Gc(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=fn(e,t),e.unshift(t)},remove(t){e=fn(e,t),e[0]?.resume()}}}function fn(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Yc(e){return e.filter(t=>t.tagName!=="A")}var ct=0;function Xc(){P(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??pn()),document.body.insertAdjacentElement("beforeend",e[1]??pn()),ct++,()=>{ct===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ct--}},[])}function pn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var W=function(){return W=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},W.apply(this,arguments)};function Ir(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Jc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Fe="right-scroll-bar-position",je="width-before-scroll-bar",Qc="with-scroll-bars-hidden",es="--removed-body-scroll-bar-size";function st(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ts(e,t){var n=I(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var ns=typeof window<"u"?X:P,_n=new WeakMap;function rs(e,t){var n=ts(null,function(r){return e.forEach(function(o){return st(o,r)})});return ns(function(){var r=_n.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(c){i.has(c)||st(c,null)}),i.forEach(function(c){o.has(c)||st(c,s)})}_n.set(n,e)},[e]),n}function os(e){return e}function is(e,t){t===void 0&&(t=os);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(i),s=n}var a=function(){var l=s;s=[],l.forEach(i)},u=function(){return Promise.resolve().then(a)};u(),n={push:function(l){s.push(l),u()},filter:function(l){return s=s.filter(l),n}}}};return o}function cs(e){e===void 0&&(e={});var t=is(null);return t.options=W({async:!0,ssr:!1},e),t}var Tr=function(e){var t=e.sideCar,n=Ir(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return h.createElement(r,W({},n))};Tr.isSideCarExport=!0;function ss(e,t){return e.useMedium(t),Tr}var kr=cs(),at=function(){},Qe=N(function(e,t){var n=S(null),r=I({onScrollCapture:at,onWheelCapture:at,onTouchMoveCapture:at}),o=r[0],i=r[1],s=e.forwardProps,c=e.children,a=e.className,u=e.removeScrollBar,l=e.enabled,d=e.shards,_=e.sideCar,g=e.noRelative,y=e.noIsolation,f=e.inert,v=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,C=e.gapMode,E=Ir(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=_,k=rs([n,t]),w=W(W({},E),o);return h.createElement(h.Fragment,null,l&&h.createElement(A,{sideCar:kr,removeScrollBar:u,shards:d,noRelative:g,noIsolation:y,inert:f,setCallbacks:i,allowPinchZoom:!!v,lockRef:n,gapMode:C}),s?pe(Z.only(c),W(W({},w),{ref:k})):h.createElement(b,W({},w,{className:a,ref:k}),c))});Qe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Qe.classNames={fullWidth:je,zeroRight:Fe};var as=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function us(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=as();return t&&e.setAttribute("nonce",t),e}function ls(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ds(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fs=function(){var e=0,t=null;return{add:function(n){e==0&&(t=us())&&(ls(t,n),ds(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ps=function(){var e=fs();return function(t,n){P(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Dr=function(){var e=ps(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},_s={left:0,top:0,right:0,gap:0},ut=function(e){return parseInt(e||"",10)||0},vs=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ut(n),ut(r),ut(o)]},hs=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _s;var t=vs(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ms=Dr(),le="data-scroll-locked",gs=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
2
2
|
.`.concat(Qc,` {
|
|
3
3
|
overflow: hidden `).concat(r,`;
|
|
4
4
|
padding-right: `).concat(c,"px ").concat(r,`;
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
body[`).concat(le,`] {
|
|
36
36
|
`).concat(es,": ").concat(c,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},vn=function(){var e=parseInt(document.body.getAttribute(le)||"0",10);return isFinite(e)?e:0},ys=function(){P(function(){return document.body.setAttribute(le,(vn()+1).toString()),function(){var e=vn()-1;e<=0?document.body.removeAttribute(le):document.body.setAttribute(le,e.toString())}},[])},bs=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ys();var i=D(function(){return hs(o)},[o]);return h.createElement(ms,{styles:gs(i,!t,o,n?"":"!important")})},vt=!1;if(typeof window<"u")try{var De=Object.defineProperty({},"passive",{get:function(){return vt=!0,!0}});window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch{vt=!1}var ce=vt?{passive:!1}:!1,Cs=function(e){return e.tagName==="TEXTAREA"},xr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Cs(e)&&n[t]==="visible")},
|
|
38
|
+
`)},vn=function(){var e=parseInt(document.body.getAttribute(le)||"0",10);return isFinite(e)?e:0},ys=function(){P(function(){return document.body.setAttribute(le,(vn()+1).toString()),function(){var e=vn()-1;e<=0?document.body.removeAttribute(le):document.body.setAttribute(le,e.toString())}},[])},bs=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ys();var i=D(function(){return hs(o)},[o]);return h.createElement(ms,{styles:gs(i,!t,o,n?"":"!important")})},vt=!1;if(typeof window<"u")try{var De=Object.defineProperty({},"passive",{get:function(){return vt=!0,!0}});window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch{vt=!1}var ce=vt?{passive:!1}:!1,Cs=function(e){return e.tagName==="TEXTAREA"},xr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Cs(e)&&n[t]==="visible")},Es=function(e){return xr(e,"overflowY")},Ss=function(e){return xr(e,"overflowX")},hn=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Mr(e,r);if(o){var i=zr(e,r),s=i[1],c=i[2];if(s>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ws=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Ps=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Mr=function(e,t){return e==="v"?Es(t):Ss(t)},zr=function(e,t){return e==="v"?ws(t):Ps(t)},Ns=function(e,t){return e==="h"&&t==="rtl"?-1:1},Os=function(e,t,n,r,o){var i=Ns(e,window.getComputedStyle(t).direction),s=i*r,c=n.target,a=t.contains(c),u=!1,l=s>0,d=0,_=0;do{if(!c)break;var g=zr(e,c),y=g[0],f=g[1],v=g[2],m=f-v-i*y;(y||m)&&Mr(e,c)&&(d+=m,_+=y);var b=c.parentNode;c=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!a&&c!==document.body||a&&(t.contains(c)||t===c));return(l&&Math.abs(d)<1||!l&&Math.abs(_)<1)&&(u=!0),u},xe=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},mn=function(e){return[e.deltaX,e.deltaY]},gn=function(e){return e&&"current"in e?e.current:e},As=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Rs=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},Is=0,se=[];function Ts(e){var t=
|
|
41
|
+
`)},Is=0,se=[];function Ts(e){var t=S([]),n=S([0,0]),r=S(),o=I(Is++)[0],i=I(Dr)[0],s=S(e);P(function(){s.current=e},[e]),P(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Jc([e.lockRef.current],(e.shards||[]).map(gn),!0).filter(Boolean);return f.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=M(function(f,v){if("touches"in f&&f.touches.length===2||f.type==="wheel"&&f.ctrlKey)return!s.current.allowPinchZoom;var m=xe(f),b=n.current,C="deltaX"in f?f.deltaX:b[0]-m[0],E="deltaY"in f?f.deltaY:b[1]-m[1],A,k=f.target,w=Math.abs(C)>Math.abs(E)?"h":"v";if("touches"in f&&w==="h"&&k.type==="range")return!1;var L=window.getSelection(),ie=L&&L.anchorNode,me=ie?ie===k||ie.contains(k):!1;if(me)return!1;var Ae=hn(w,k);if(!Ae)return!0;if(Ae?A=w:(A=w==="v"?"h":"v",Ae=hn(w,k)),!Ae)return!1;if(!r.current&&"changedTouches"in f&&(C||E)&&(r.current=A),!A)return!0;var Mt=r.current||A;return Os(Mt,v,f,Mt==="h"?C:E)},[]),a=M(function(f){var v=f;if(!(!se.length||se[se.length-1]!==i)){var m="deltaY"in v?mn(v):xe(v),b=t.current.filter(function(A){return A.name===v.type&&(A.target===v.target||v.target===A.shadowParent)&&As(A.delta,m)})[0];if(b&&b.should){v.cancelable&&v.preventDefault();return}if(!b){var C=(s.current.shards||[]).map(gn).filter(Boolean).filter(function(A){return A.contains(v.target)}),E=C.length>0?c(v,C[0]):!s.current.noIsolation;E&&v.cancelable&&v.preventDefault()}}},[]),u=M(function(f,v,m,b){var C={name:f,delta:v,target:m,should:b,shadowParent:ks(m)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(E){return E!==C})},1)},[]),l=M(function(f){n.current=xe(f),r.current=void 0},[]),d=M(function(f){u(f.type,mn(f),f.target,c(f,e.lockRef.current))},[]),_=M(function(f){u(f.type,xe(f),f.target,c(f,e.lockRef.current))},[]);P(function(){return se.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:_}),document.addEventListener("wheel",a,ce),document.addEventListener("touchmove",a,ce),document.addEventListener("touchstart",l,ce),function(){se=se.filter(function(f){return f!==i}),document.removeEventListener("wheel",a,ce),document.removeEventListener("touchmove",a,ce),document.removeEventListener("touchstart",l,ce)}},[]);var g=e.removeScrollBar,y=e.inert;return h.createElement(h.Fragment,null,y?h.createElement(i,{styles:Rs(o)}):null,g?h.createElement(bs,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ks(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ds=ss(kr,Ts);var $r=N(function(e,t){return h.createElement(Qe,W({},e,{ref:t,sideCar:Ds}))});$r.classNames=Qe.classNames;var xs=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ae=new WeakMap,Me=new WeakMap,ze={},lt=0,Lr=function(e){return e&&(e.host||Lr(e.parentNode))},Ms=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Lr(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},zs=function(e,t,n,r){var o=Ms(t,Array.isArray(e)?e:[e]);ze[n]||(ze[n]=new WeakMap);var i=ze[n],s=[],c=new Set,a=new Set(o),u=function(d){!d||c.has(d)||(c.add(d),u(d.parentNode))};o.forEach(u);var l=function(d){!d||a.has(d)||Array.prototype.forEach.call(d.children,function(_){if(c.has(_))l(_);else try{var g=_.getAttribute(r),y=g!==null&&g!=="false",f=(ae.get(_)||0)+1,v=(i.get(_)||0)+1;ae.set(_,f),i.set(_,v),s.push(_),f===1&&y&&Me.set(_,!0),v===1&&_.setAttribute(n,"true"),y||_.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",_,m)}})};return l(t),c.clear(),lt++,function(){s.forEach(function(d){var _=ae.get(d)-1,g=i.get(d)-1;ae.set(d,_),i.set(d,g),_||(Me.has(d)||d.removeAttribute(r),Me.delete(d)),g||d.removeAttribute(n)}),lt--,lt||(ae=new WeakMap,ae=new WeakMap,Me=new WeakMap,ze={})}},$s=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=xs(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),zs(r,o,n,"aria-hidden")):function(){return null}},et="Dialog",[Fr]=Ne(et),[Ls,H]=Fr(et),jr=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,c=S(null),a=S(null),[u,l]=Oe({prop:r,defaultProp:o??!1,onChange:i,caller:et});return p(Ls,{scope:t,triggerRef:c,contentRef:a,contentId:Ee(),titleId:Ee(),descriptionId:Ee(),open:u,onOpenChange:l,onOpenToggle:M(()=>l(d=>!d),[l]),modal:s,children:n})};jr.displayName=et;var Ur="DialogTrigger",Fs=N((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(Ur,n),i=$(t,o.triggerRef);return p(z.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":xt(o.open),...r,ref:i,onClick:j(e.onClick,o.onOpenToggle)})});Fs.displayName=Ur;var js="DialogPortal",[na,Wr]=Fr(js,{forceMount:void 0}),Ve="DialogOverlay",Us=N((e,t)=>{const n=Wr(Ve,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=H(Ve,e.__scopeDialog);return i.modal?p(qe,{present:r||i.open,children:p(Bs,{...o,ref:t})}):null});Us.displayName=Ve;var Ws=He("DialogOverlay.RemoveScroll"),Bs=N((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(Ve,n);return p($r,{as:Ws,allowPinchZoom:!0,shards:[o.contentRef],children:p(z.div,{"data-state":xt(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ne="DialogContent",Br=N((e,t)=>{const n=Wr(ne,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=H(ne,e.__scopeDialog);return p(qe,{present:r||i.open,children:i.modal?p(Hs,{...o,ref:t}):p(Zs,{...o,ref:t})})});Br.displayName=ne;var Hs=N((e,t)=>{const n=H(ne,e.__scopeDialog),r=S(null),o=$(t,n.contentRef,r);return P(()=>{const i=r.current;if(i)return $s(i)},[]),p(Hr,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:j(e.onCloseAutoFocus,i=>{i.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:j(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0;(s.button===2||c)&&i.preventDefault()}),onFocusOutside:j(e.onFocusOutside,i=>i.preventDefault())})}),Zs=N((e,t)=>{const n=H(ne,e.__scopeDialog),r=S(!1),o=S(!1);return p(Hr,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(r.current||n.triggerRef.current?.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;n.triggerRef.current?.contains(s)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),Hr=N((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,c=H(ne,n),a=S(null),u=$(t,a);return Xc(),p(h.Fragment,{children:[p(Ar,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:p(Nr,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":xt(c.open),...s,ref:u,onDismiss:()=>c.onOpenChange(!1)})}),p(h.Fragment,{children:[p(Vs,{titleId:c.titleId}),p(qs,{contentRef:a,descriptionId:c.descriptionId})]})]})}),Dt="DialogTitle",Zr=N((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(Dt,n);return p(z.h2,{id:o.titleId,...r,ref:t})});Zr.displayName=Dt;var Vr="DialogDescription",Kr=N((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(Vr,n);return p(z.p,{id:o.descriptionId,...r,ref:t})});Kr.displayName=Vr;var qr="DialogClose",Gr=N((e,t)=>{const{__scopeDialog:n,...r}=e,o=H(qr,n);return p(z.button,{type:"button",...r,ref:t,onClick:j(e.onClick,()=>o.onOpenChange(!1))})});Gr.displayName=qr;function xt(e){return e?"open":"closed"}var Yr="DialogTitleWarning",[ra,Xr]=Ti(Yr,{contentName:ne,titleName:Dt,docsSlug:"dialog"}),Vs=({titleId:e})=>{const t=Xr(Yr),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
42
42
|
|
|
43
43
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
44
44
|
|
|
45
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return P(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Ks="DialogDescriptionWarning",qs=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Xr(Ks).contentName}}.`;return P(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Gs=jr,Ys=Br,Xs=Zr,Js=Kr,yn=Gr;const Qs=({noTarget:e=!0,heading:t="We use cookies.",subheading:n="Please define your selection below.",selectLabel:r="Select",hideLabel:o="Hide",saveLabel:i="Save selection",declineLabel:s="Decline all",defaultSettingsOpen:c=!0,privacyPolicy:a,items:u})=>{const{onSave:l,onDeclineAll:d,selectionTaken:_}=
|
|
45
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return P(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Ks="DialogDescriptionWarning",qs=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Xr(Ks).contentName}}.`;return P(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Gs=jr,Ys=Br,Xs=Zr,Js=Kr,yn=Gr;const Qs=({noTarget:e=!0,heading:t="We use cookies.",subheading:n="Please define your selection below.",selectLabel:r="Select",hideLabel:o="Hide",saveLabel:i="Save selection",declineLabel:s="Decline all",defaultSettingsOpen:c=!0,privacyPolicy:a,items:u})=>{const{onSave:l,onDeclineAll:d,selectionTaken:_}=wr(),[g,y]=I(void 0),[f,v]=I(c);return p(Gs,{open:!_,children:p(Ys,{className:Le({[F.root]:!0,[F.noTarget]:e}),children:p(rr,{open:f,onOpenChange:v,className:F.collapsible,children:[p("div",{className:F.header,children:[p("div",{className:F.heading,children:[p(Xs,{asChild:!0,children:p(te,{weight:"bold",children:t})}),p(Js,{asChild:!0,children:p(te,{size:"caption",color:"muted",children:n})})]}),p(or,{asChild:!0,children:p(rt,{variant:"ghost",children:[f?o:r," ",p(Cc,{size:12,className:Le({[F.chevron]:!0,[F.open]:f})})]})})]}),p(ir,{className:Le({[F.settings]:!0}),children:p(lc,{type:"single",collapsible:!0,value:g,onValueChange:y,children:u.map(m=>p(Mc,{...m,openItem:g},m.value))})}),p("div",{className:F.footer,children:[p("div",{className:F.legal,children:a&&p(te,{size:"caption",children:p("a",{href:a.url,target:"_blank",children:a.label})})}),p("div",{className:F.actions,children:[p(yn,{asChild:!0,children:p(rt,{variant:"neutral",onClick:()=>d(),children:s})}),p(yn,{asChild:!0,children:p(rt,{variant:"brand",onClick:()=>l(),children:i})})]})]})]})})})},ea=({localStorageKey:e="cb-selection",items:t,...n})=>{const r=D(()=>t.filter(o=>!o.required).map(o=>({value:o.value,script:o.script,defaultSelected:o.defaultSelected,required:o.required})),[t]);return p(xc,{items:r,localStorageKey:e,children:p(Qs,{items:t,...n})})};function ta(e,t){const n=t===void 0;let r;if(typeof t=="string"){const o=document.querySelector(t);if(!o)throw new Error(`Element with selector "${t}" not found`);r=o}else r=t;h.render(p(ea,{noTarget:n,...e}),r??document.body)}exports.mountBanner=ta;
|
package/dist/script/index.js
CHANGED
|
@@ -59,12 +59,12 @@ function te(e, t) {
|
|
|
59
59
|
var n = ae(q++, 4);
|
|
60
60
|
!A.__s && Pt(n.__H, t) && (n.__ = e, n.u = t, N.__h.push(n));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function S(e) {
|
|
63
63
|
return he = 5, D(function() {
|
|
64
64
|
return { current: e };
|
|
65
65
|
}, []);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function St(e, t, n) {
|
|
68
68
|
he = 6, te(function() {
|
|
69
69
|
if (typeof e == "function") {
|
|
70
70
|
var r = e(t());
|
|
@@ -90,7 +90,7 @@ function Y(e) {
|
|
|
90
90
|
var t = N.context[e.__c], n = ae(q++, 9);
|
|
91
91
|
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(N)), t.props.value) : e.__;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function wt(e, t) {
|
|
94
94
|
A.useDebugValue && A.useDebugValue(t ? t(e) : e);
|
|
95
95
|
}
|
|
96
96
|
function ao(e) {
|
|
@@ -406,14 +406,14 @@ se.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
|
|
|
406
406
|
var en = z.event;
|
|
407
407
|
function Co() {
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function So() {
|
|
410
410
|
return this.cancelBubble;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function wo() {
|
|
413
413
|
return this.defaultPrevented;
|
|
414
414
|
}
|
|
415
415
|
z.event = function(e) {
|
|
416
|
-
return en && (e = en(e)), e.persist = Co, e.isPropagationStopped =
|
|
416
|
+
return en && (e = en(e)), e.persist = Co, e.isPropagationStopped = So, e.isDefaultPrevented = wo, e.nativeEvent = e;
|
|
417
417
|
};
|
|
418
418
|
var Tt, Eo = { enumerable: !1, configurable: !0, get: function() {
|
|
419
419
|
return this.class;
|
|
@@ -447,7 +447,7 @@ z.diffed = function(e) {
|
|
|
447
447
|
};
|
|
448
448
|
var Fn = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
449
449
|
return Tt.__n[e.__c].props.value;
|
|
450
|
-
}, useCallback: M, useContext: Y, useDebugValue:
|
|
450
|
+
}, useCallback: M, useContext: Y, useDebugValue: wt, useDeferredValue: At, useEffect: E, useId: Et, useImperativeHandle: St, useInsertionEffect: It, useLayoutEffect: te, useMemo: D, useReducer: Te, useRef: S, useState: R, useSyncExternalStore: Nt, useTransition: Rt } } }, Po = "18.3.1";
|
|
451
451
|
function Un(e) {
|
|
452
452
|
return T.bind(null, e);
|
|
453
453
|
}
|
|
@@ -473,7 +473,7 @@ var Zn = function(e, t) {
|
|
|
473
473
|
return e(t);
|
|
474
474
|
}, kt = function(e, t) {
|
|
475
475
|
return e(t);
|
|
476
|
-
}, Vn = W, Kn = G, I = { useState: R, useId: Et, useReducer: Te, useEffect: E, useLayoutEffect: te, useInsertionEffect: It, useTransition: Rt, useDeferredValue: At, useSyncExternalStore: Nt, startTransition: Ot, useRef:
|
|
476
|
+
}, Vn = W, Kn = G, I = { useState: R, useId: Et, useReducer: Te, useEffect: E, useLayoutEffect: te, useInsertionEffect: It, useTransition: Rt, useDeferredValue: At, useSyncExternalStore: Nt, startTransition: Ot, useRef: S, useImperativeHandle: St, useMemo: D, useCallback: M, useContext: Y, useDebugValue: wt, version: "18.3.1", Children: K, render: $n, hydrate: Ln, unmountComponentAtNode: Bn, createPortal: Mn, createElement: T, createContext: ee, createFactory: Un, cloneElement: ge, createRef: Nn, Fragment: W, isValidElement: G, isElement: Kn, isFragment: jn, isMemo: Wn, findDOMNode: Hn, Component: se, PureComponent: Ke, memo: In, forwardRef: P, flushSync: kt, unstable_batchedUpdates: Zn, StrictMode: Vn, Suspense: Pe, SuspenseList: _e, lazy: xn, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Fn };
|
|
477
477
|
const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
478
478
|
__proto__: null,
|
|
479
479
|
Children: K,
|
|
@@ -507,17 +507,17 @@ const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
507
507
|
unstable_batchedUpdates: Zn,
|
|
508
508
|
useCallback: M,
|
|
509
509
|
useContext: Y,
|
|
510
|
-
useDebugValue:
|
|
510
|
+
useDebugValue: wt,
|
|
511
511
|
useDeferredValue: At,
|
|
512
512
|
useEffect: E,
|
|
513
513
|
useErrorBoundary: ao,
|
|
514
514
|
useId: Et,
|
|
515
|
-
useImperativeHandle:
|
|
515
|
+
useImperativeHandle: St,
|
|
516
516
|
useInsertionEffect: It,
|
|
517
517
|
useLayoutEffect: te,
|
|
518
518
|
useMemo: D,
|
|
519
519
|
useReducer: Te,
|
|
520
|
-
useRef:
|
|
520
|
+
useRef: S,
|
|
521
521
|
useState: R,
|
|
522
522
|
useSyncExternalStore: Nt,
|
|
523
523
|
useTransition: Rt,
|
|
@@ -561,14 +561,14 @@ const No = "_root_hw69b_1", Oo = "_neutral_hw69b_17", Ao = "_brand_hw69b_30", Ro
|
|
|
561
561
|
...o
|
|
562
562
|
}
|
|
563
563
|
)
|
|
564
|
-
), zo = "
|
|
564
|
+
), zo = "_root_12udu_53", $o = "_noTarget_12udu_65", Lo = "_collapsible_12udu_74", Fo = "_header_12udu_77", Uo = "_heading_12udu_84", jo = "_chevron_12udu_90", Wo = "_open_12udu_95", Bo = "_settings_12udu_101", Ho = "_footer_12udu_115", Zo = "_legal_12udu_122", Vo = "_actions_12udu_125", U = {
|
|
565
565
|
root: zo,
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
566
|
+
noTarget: $o,
|
|
567
|
+
collapsible: Lo,
|
|
568
|
+
header: Fo,
|
|
569
|
+
heading: Uo,
|
|
570
|
+
chevron: jo,
|
|
571
|
+
open: Wo,
|
|
572
572
|
settings: Bo,
|
|
573
573
|
footer: Ho,
|
|
574
574
|
legal: Zo,
|
|
@@ -686,7 +686,7 @@ function be(e) {
|
|
|
686
686
|
function oi(e) {
|
|
687
687
|
return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function we(e, t = 0) {
|
|
690
690
|
if (e.aborted === !0)
|
|
691
691
|
return !0;
|
|
692
692
|
for (let n = t; n < e.issues.length; n++)
|
|
@@ -775,7 +775,7 @@ const Qn = (e, t) => {
|
|
|
775
775
|
});
|
|
776
776
|
else {
|
|
777
777
|
const o = (c, s, a) => {
|
|
778
|
-
let u =
|
|
778
|
+
let u = we(c), l;
|
|
779
779
|
for (const d of s) {
|
|
780
780
|
if (d._zod.def.when) {
|
|
781
781
|
if (!d._zod.def.when(c))
|
|
@@ -787,17 +787,17 @@ const Qn = (e, t) => {
|
|
|
787
787
|
throw new Ne();
|
|
788
788
|
if (l || m instanceof Promise)
|
|
789
789
|
l = (l ?? Promise.resolve()).then(async () => {
|
|
790
|
-
await m, c.issues.length !== _ && (u || (u =
|
|
790
|
+
await m, c.issues.length !== _ && (u || (u = we(c, _)));
|
|
791
791
|
});
|
|
792
792
|
else {
|
|
793
793
|
if (c.issues.length === _)
|
|
794
794
|
continue;
|
|
795
|
-
u || (u =
|
|
795
|
+
u || (u = we(c, _));
|
|
796
796
|
}
|
|
797
797
|
}
|
|
798
798
|
return l ? l.then(() => c) : c;
|
|
799
799
|
}, i = (c, s, a) => {
|
|
800
|
-
if (
|
|
800
|
+
if (we(c))
|
|
801
801
|
return c.aborted = !0, c;
|
|
802
802
|
const u = o(s, r, a);
|
|
803
803
|
if (u instanceof Promise) {
|
|
@@ -956,7 +956,7 @@ function an(e, t, n, r) {
|
|
|
956
956
|
for (const i of e)
|
|
957
957
|
if (i.issues.length === 0)
|
|
958
958
|
return t.value = i.value, t;
|
|
959
|
-
const o = e.filter((i) => !
|
|
959
|
+
const o = e.filter((i) => !we(i));
|
|
960
960
|
return o.length === 1 ? (t.value = o[0].value, o[0]) : (t.issues.push({
|
|
961
961
|
code: "invalid_union",
|
|
962
962
|
input: t.value,
|
|
@@ -995,7 +995,7 @@ const Ci = /* @__PURE__ */ x("$ZodUnion", (e, t) => {
|
|
|
995
995
|
}
|
|
996
996
|
return c ? Promise.all(s).then((a) => an(a, o, e, i)) : an(s, o, e, i);
|
|
997
997
|
};
|
|
998
|
-
}),
|
|
998
|
+
}), Si = /* @__PURE__ */ x("$ZodDiscriminatedUnion", (e, t) => {
|
|
999
999
|
t.inclusive = !1, Ci.init(e, t);
|
|
1000
1000
|
const n = e._zod.parse;
|
|
1001
1001
|
Z(e._zod, "propValues", () => {
|
|
@@ -1046,7 +1046,7 @@ const Ci = /* @__PURE__ */ x("$ZodUnion", (e, t) => {
|
|
|
1046
1046
|
inst: e
|
|
1047
1047
|
}), o);
|
|
1048
1048
|
};
|
|
1049
|
-
}),
|
|
1049
|
+
}), wi = /* @__PURE__ */ x("$ZodRecord", (e, t) => {
|
|
1050
1050
|
ne.init(e, t), e._zod.parse = (n, r) => {
|
|
1051
1051
|
const o = n.value;
|
|
1052
1052
|
if (!ni(o))
|
|
@@ -1190,7 +1190,7 @@ function nr(e, t) {
|
|
|
1190
1190
|
return new Ii(n);
|
|
1191
1191
|
}
|
|
1192
1192
|
const Ti = /* @__PURE__ */ x("ZodMiniDiscriminatedUnion", (e, t) => {
|
|
1193
|
-
|
|
1193
|
+
Si.init(e, t), ue.init(e, t);
|
|
1194
1194
|
});
|
|
1195
1195
|
// @__NO_SIDE_EFFECTS__
|
|
1196
1196
|
function ki(e, t, n) {
|
|
@@ -1202,7 +1202,7 @@ function ki(e, t, n) {
|
|
|
1202
1202
|
});
|
|
1203
1203
|
}
|
|
1204
1204
|
const Di = /* @__PURE__ */ x("ZodMiniRecord", (e, t) => {
|
|
1205
|
-
|
|
1205
|
+
wi.init(e, t), ue.init(e, t);
|
|
1206
1206
|
});
|
|
1207
1207
|
// @__NO_SIDE_EFFECTS__
|
|
1208
1208
|
function xi(e, t, n) {
|
|
@@ -1413,7 +1413,7 @@ function Ki(e) {
|
|
|
1413
1413
|
if (!y) return [];
|
|
1414
1414
|
const b = Array.from(y.querySelectorAll(`[${d}]`));
|
|
1415
1415
|
return Array.from(v.itemMap.values()).sort(
|
|
1416
|
-
(k,
|
|
1416
|
+
(k, w) => b.indexOf(k.ref.current) - b.indexOf(w.ref.current)
|
|
1417
1417
|
);
|
|
1418
1418
|
}, [v.collectionRef, v.itemMap]);
|
|
1419
1419
|
}
|
|
@@ -1443,7 +1443,7 @@ function De({
|
|
|
1443
1443
|
onChange: n
|
|
1444
1444
|
}), s = e !== void 0, a = s ? e : o;
|
|
1445
1445
|
{
|
|
1446
|
-
const l =
|
|
1446
|
+
const l = S(e !== void 0);
|
|
1447
1447
|
E(() => {
|
|
1448
1448
|
const d = l.current;
|
|
1449
1449
|
d !== s && console.warn(
|
|
@@ -1467,7 +1467,7 @@ function Gi({
|
|
|
1467
1467
|
defaultProp: e,
|
|
1468
1468
|
onChange: t
|
|
1469
1469
|
}) {
|
|
1470
|
-
const [n, r] = R(e), o =
|
|
1470
|
+
const [n, r] = R(e), o = S(n), i = S(t);
|
|
1471
1471
|
return qi(() => {
|
|
1472
1472
|
i.current = t;
|
|
1473
1473
|
}, [t]), E(() => {
|
|
@@ -1514,7 +1514,7 @@ var et = (e) => {
|
|
|
1514
1514
|
};
|
|
1515
1515
|
et.displayName = "Presence";
|
|
1516
1516
|
function es(e) {
|
|
1517
|
-
const [t, n] = R(), r =
|
|
1517
|
+
const [t, n] = R(), r = S(null), o = S(e), i = S("none"), c = e ? "mounted" : "unmounted", [s, a] = Qi(c, {
|
|
1518
1518
|
mounted: {
|
|
1519
1519
|
UNMOUNT: "unmounted",
|
|
1520
1520
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -1642,7 +1642,7 @@ var xt = "CollapsibleContent", ur = P(
|
|
|
1642
1642
|
);
|
|
1643
1643
|
ur.displayName = xt;
|
|
1644
1644
|
var ss = P((e, t) => {
|
|
1645
|
-
const { __scopeCollapsible: n, present: r, children: o, ...i } = e, c = Dt(xt, n), [s, a] = R(r), u =
|
|
1645
|
+
const { __scopeCollapsible: n, present: r, children: o, ...i } = e, c = Dt(xt, n), [s, a] = R(r), u = S(null), l = L(t, u), d = S(0), _ = d.current, m = S(0), g = m.current, f = c.open || s, v = S(f), h = S(void 0);
|
|
1646
1646
|
return E(() => {
|
|
1647
1647
|
const y = requestAnimationFrame(() => v.current = !1);
|
|
1648
1648
|
return () => cancelAnimationFrame(y);
|
|
@@ -1783,8 +1783,8 @@ var [_r, fs] = nt(B), [vr, ps] = nt(
|
|
|
1783
1783
|
i === "vertical" && k();
|
|
1784
1784
|
break;
|
|
1785
1785
|
}
|
|
1786
|
-
const
|
|
1787
|
-
f[
|
|
1786
|
+
const w = y % h;
|
|
1787
|
+
f[w].ref.current?.focus();
|
|
1788
1788
|
});
|
|
1789
1789
|
return /* @__PURE__ */ p(
|
|
1790
1790
|
hs,
|
|
@@ -1819,7 +1819,7 @@ var [_r, fs] = nt(B), [vr, ps] = nt(
|
|
|
1819
1819
|
lr,
|
|
1820
1820
|
{
|
|
1821
1821
|
"data-orientation": i.orientation,
|
|
1822
|
-
"data-state":
|
|
1822
|
+
"data-state": Sr(u),
|
|
1823
1823
|
...s,
|
|
1824
1824
|
...o,
|
|
1825
1825
|
ref: t,
|
|
@@ -1842,7 +1842,7 @@ var gr = "AccordionHeader", gs = I.forwardRef(
|
|
|
1842
1842
|
$.h3,
|
|
1843
1843
|
{
|
|
1844
1844
|
"data-orientation": o.orientation,
|
|
1845
|
-
"data-state":
|
|
1845
|
+
"data-state": Sr(i.open),
|
|
1846
1846
|
"data-disabled": i.disabled ? "" : void 0,
|
|
1847
1847
|
...r,
|
|
1848
1848
|
ref: t
|
|
@@ -1890,18 +1890,18 @@ var br = "AccordionContent", Cr = I.forwardRef(
|
|
|
1890
1890
|
}
|
|
1891
1891
|
);
|
|
1892
1892
|
Cr.displayName = br;
|
|
1893
|
-
function
|
|
1893
|
+
function Sr(e) {
|
|
1894
1894
|
return e ? "open" : "closed";
|
|
1895
1895
|
}
|
|
1896
1896
|
var ys = pr, bs = mr, dn = yr, Cs = Cr;
|
|
1897
|
-
const
|
|
1898
|
-
const
|
|
1899
|
-
const
|
|
1897
|
+
const wr = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
|
|
1898
|
+
const Ss = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
1899
|
+
const ws = (e) => e.replace(
|
|
1900
1900
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
1901
1901
|
(t, n, r) => r ? r.toUpperCase() : n.toLowerCase()
|
|
1902
1902
|
);
|
|
1903
1903
|
const fn = (e) => {
|
|
1904
|
-
const t =
|
|
1904
|
+
const t = ws(e);
|
|
1905
1905
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
1906
1906
|
};
|
|
1907
1907
|
var Es = {
|
|
@@ -1940,7 +1940,7 @@ const Ns = P(
|
|
|
1940
1940
|
height: t,
|
|
1941
1941
|
stroke: e,
|
|
1942
1942
|
strokeWidth: r ? Number(n) * 24 / Number(t) : n,
|
|
1943
|
-
className:
|
|
1943
|
+
className: wr("lucide", o),
|
|
1944
1944
|
...!i && !Ps(s) && { "aria-hidden": "true" },
|
|
1945
1945
|
...s
|
|
1946
1946
|
},
|
|
@@ -1955,8 +1955,8 @@ const Er = (e, t) => {
|
|
|
1955
1955
|
({ className: r, ...o }, i) => T(Ns, {
|
|
1956
1956
|
ref: i,
|
|
1957
1957
|
iconNode: t,
|
|
1958
|
-
className:
|
|
1959
|
-
`lucide-${
|
|
1958
|
+
className: wr(
|
|
1959
|
+
`lucide-${Ss(fn(e))}`,
|
|
1960
1960
|
`lucide-${e}`,
|
|
1961
1961
|
r
|
|
1962
1962
|
),
|
|
@@ -1968,7 +1968,7 @@ const Er = (e, t) => {
|
|
|
1968
1968
|
const Os = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], As = Er("chevron-down", Os);
|
|
1969
1969
|
const Rs = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], Is = Er("chevron-up", Rs);
|
|
1970
1970
|
function Ts(e) {
|
|
1971
|
-
const t =
|
|
1971
|
+
const t = S({ value: e, previous: e });
|
|
1972
1972
|
return D(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
1973
1973
|
}
|
|
1974
1974
|
function ks(e) {
|
|
@@ -2006,7 +2006,7 @@ var ot = "Switch", [Ds] = ke(ot), [xs, Ms] = Ds(ot), Pr = P(
|
|
|
2006
2006
|
onCheckedChange: u,
|
|
2007
2007
|
form: l,
|
|
2008
2008
|
...d
|
|
2009
|
-
} = e, [_, m] = R(null), g = L(t, (b) => m(b)), f =
|
|
2009
|
+
} = e, [_, m] = R(null), g = L(t, (b) => m(b)), f = S(!1), v = _ ? l || !!_.closest("form") : !0, [h, y] = De({
|
|
2010
2010
|
prop: o,
|
|
2011
2011
|
defaultProp: i ?? !1,
|
|
2012
2012
|
onChange: u,
|
|
@@ -2072,7 +2072,7 @@ var zs = "SwitchBubbleInput", Ar = P(
|
|
|
2072
2072
|
bubbles: r = !0,
|
|
2073
2073
|
...o
|
|
2074
2074
|
}, i) => {
|
|
2075
|
-
const c =
|
|
2075
|
+
const c = S(null), s = L(c, i), a = Ts(n), u = ks(t);
|
|
2076
2076
|
return E(() => {
|
|
2077
2077
|
const l = c.current;
|
|
2078
2078
|
if (!l) return;
|
|
@@ -2276,7 +2276,7 @@ const Hs = ({
|
|
|
2276
2276
|
] });
|
|
2277
2277
|
};
|
|
2278
2278
|
function Ie(e) {
|
|
2279
|
-
const t =
|
|
2279
|
+
const t = S(e);
|
|
2280
2280
|
return E(() => {
|
|
2281
2281
|
t.current = e;
|
|
2282
2282
|
}), D(() => (...n) => t.current?.(...n), []);
|
|
@@ -2304,15 +2304,15 @@ var Vs = "DismissableLayer", bt = "dismissableLayer.update", Ks = "dismissableLa
|
|
|
2304
2304
|
onInteractOutside: c,
|
|
2305
2305
|
onDismiss: s,
|
|
2306
2306
|
...a
|
|
2307
|
-
} = e, u = Y(kr), [l, d] = R(null), _ = l?.ownerDocument ?? globalThis?.document, [, m] = R({}), g = L(t, (
|
|
2308
|
-
const F =
|
|
2309
|
-
!C || le || (o?.(
|
|
2310
|
-
}, _), k = Js((
|
|
2311
|
-
const F =
|
|
2312
|
-
[...u.branches].some((
|
|
2307
|
+
} = e, u = Y(kr), [l, d] = R(null), _ = l?.ownerDocument ?? globalThis?.document, [, m] = R({}), g = L(t, (w) => d(w)), f = Array.from(u.layers), [v] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), h = f.indexOf(v), y = l ? f.indexOf(l) : -1, b = u.layersWithOutsidePointerEventsDisabled.size > 0, C = y >= h, O = Xs((w) => {
|
|
2308
|
+
const F = w.target, le = [...u.branches].some((Se) => Se.contains(F));
|
|
2309
|
+
!C || le || (o?.(w), c?.(w), w.defaultPrevented || s?.());
|
|
2310
|
+
}, _), k = Js((w) => {
|
|
2311
|
+
const F = w.target;
|
|
2312
|
+
[...u.branches].some((Se) => Se.contains(F)) || (i?.(w), c?.(w), w.defaultPrevented || s?.());
|
|
2313
2313
|
}, _);
|
|
2314
|
-
return Zs((
|
|
2315
|
-
y === u.layers.size - 1 && (r?.(
|
|
2314
|
+
return Zs((w) => {
|
|
2315
|
+
y === u.layers.size - 1 && (r?.(w), !w.defaultPrevented && s && (w.preventDefault(), s()));
|
|
2316
2316
|
}, _), E(() => {
|
|
2317
2317
|
if (l)
|
|
2318
2318
|
return n && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (pn = _.body.style.pointerEvents, _.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(l)), u.layers.add(l), _n(), () => {
|
|
@@ -2321,8 +2321,8 @@ var Vs = "DismissableLayer", bt = "dismissableLayer.update", Ks = "dismissableLa
|
|
|
2321
2321
|
}, [l, _, n, u]), E(() => () => {
|
|
2322
2322
|
l && (u.layers.delete(l), u.layersWithOutsidePointerEventsDisabled.delete(l), _n());
|
|
2323
2323
|
}, [l, u]), E(() => {
|
|
2324
|
-
const
|
|
2325
|
-
return document.addEventListener(bt,
|
|
2324
|
+
const w = () => m({});
|
|
2325
|
+
return document.addEventListener(bt, w), () => document.removeEventListener(bt, w);
|
|
2326
2326
|
}, []), /* @__PURE__ */ p(
|
|
2327
2327
|
$.div,
|
|
2328
2328
|
{
|
|
@@ -2344,7 +2344,7 @@ var Vs = "DismissableLayer", bt = "dismissableLayer.update", Ks = "dismissableLa
|
|
|
2344
2344
|
);
|
|
2345
2345
|
Dr.displayName = Vs;
|
|
2346
2346
|
var Gs = "DismissableLayerBranch", Ys = P((e, t) => {
|
|
2347
|
-
const n = Y(kr), r =
|
|
2347
|
+
const n = Y(kr), r = S(null), o = L(t, r);
|
|
2348
2348
|
return E(() => {
|
|
2349
2349
|
const i = r.current;
|
|
2350
2350
|
if (i)
|
|
@@ -2355,7 +2355,7 @@ var Gs = "DismissableLayerBranch", Ys = P((e, t) => {
|
|
|
2355
2355
|
});
|
|
2356
2356
|
Ys.displayName = Gs;
|
|
2357
2357
|
function Xs(e, t = globalThis?.document) {
|
|
2358
|
-
const n = Ie(e), r =
|
|
2358
|
+
const n = Ie(e), r = S(!1), o = S(() => {
|
|
2359
2359
|
});
|
|
2360
2360
|
return E(() => {
|
|
2361
2361
|
const i = (s) => {
|
|
@@ -2385,7 +2385,7 @@ function Xs(e, t = globalThis?.document) {
|
|
|
2385
2385
|
};
|
|
2386
2386
|
}
|
|
2387
2387
|
function Js(e, t = globalThis?.document) {
|
|
2388
|
-
const n = Ie(e), r =
|
|
2388
|
+
const n = Ie(e), r = S(!1);
|
|
2389
2389
|
return E(() => {
|
|
2390
2390
|
const o = (i) => {
|
|
2391
2391
|
i.target && !r.current && xr(qs, n, { originalEvent: i }, {
|
|
@@ -2413,7 +2413,7 @@ var lt = "focusScope.autoFocusOnMount", dt = "focusScope.autoFocusOnUnmount", vn
|
|
|
2413
2413
|
onMountAutoFocus: o,
|
|
2414
2414
|
onUnmountAutoFocus: i,
|
|
2415
2415
|
...c
|
|
2416
|
-
} = e, [s, a] = R(null), u = Ie(o), l = Ie(i), d =
|
|
2416
|
+
} = e, [s, a] = R(null), u = Ie(o), l = Ie(i), d = S(null), _ = L(t, (f) => a(f)), m = S({
|
|
2417
2417
|
paused: !1,
|
|
2418
2418
|
pause() {
|
|
2419
2419
|
this.paused = !0;
|
|
@@ -2692,16 +2692,16 @@ function hc(e, t) {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
var Fr = vc(), _t = function() {
|
|
2694
2694
|
}, it = P(function(e, t) {
|
|
2695
|
-
var n =
|
|
2695
|
+
var n = S(null), r = R({
|
|
2696
2696
|
onScrollCapture: _t,
|
|
2697
2697
|
onWheelCapture: _t,
|
|
2698
2698
|
onTouchMoveCapture: _t
|
|
2699
|
-
}), o = r[0], i = r[1], c = e.forwardProps, s = e.children, a = e.className, u = e.removeScrollBar, l = e.enabled, d = e.shards, _ = e.sideCar, m = e.noRelative, g = e.noIsolation, f = e.inert, v = e.allowPinchZoom, h = e.as, y = h === void 0 ? "div" : h, b = e.gapMode, C = $r(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), O = _, k = fc([n, t]),
|
|
2699
|
+
}), o = r[0], i = r[1], c = e.forwardProps, s = e.children, a = e.className, u = e.removeScrollBar, l = e.enabled, d = e.shards, _ = e.sideCar, m = e.noRelative, g = e.noIsolation, f = e.inert, v = e.allowPinchZoom, h = e.as, y = h === void 0 ? "div" : h, b = e.gapMode, C = $r(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), O = _, k = fc([n, t]), w = H(H({}, C), o);
|
|
2700
2700
|
return T(
|
|
2701
2701
|
W,
|
|
2702
2702
|
null,
|
|
2703
2703
|
l && T(O, { sideCar: Fr, removeScrollBar: u, shards: d, noRelative: m, noIsolation: g, inert: f, setCallbacks: i, allowPinchZoom: !!v, lockRef: n, gapMode: b }),
|
|
2704
|
-
c ? ge(K.only(s), H(H({},
|
|
2704
|
+
c ? ge(K.only(s), H(H({}, w), { ref: k })) : T(y, H({}, w, { className: a, ref: k }), s)
|
|
2705
2705
|
);
|
|
2706
2706
|
});
|
|
2707
2707
|
it.defaultProps = {
|
|
@@ -2742,7 +2742,7 @@ var Cc = function() {
|
|
|
2742
2742
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
2743
2743
|
}
|
|
2744
2744
|
};
|
|
2745
|
-
},
|
|
2745
|
+
}, Sc = function() {
|
|
2746
2746
|
var e = Cc();
|
|
2747
2747
|
return function(t, n) {
|
|
2748
2748
|
E(function() {
|
|
@@ -2752,12 +2752,12 @@ var Cc = function() {
|
|
|
2752
2752
|
}, [t && n]);
|
|
2753
2753
|
};
|
|
2754
2754
|
}, Ur = function() {
|
|
2755
|
-
var e =
|
|
2755
|
+
var e = Sc(), t = function(n) {
|
|
2756
2756
|
var r = n.styles, o = n.dynamic;
|
|
2757
2757
|
return e(r, o), null;
|
|
2758
2758
|
};
|
|
2759
2759
|
return t;
|
|
2760
|
-
},
|
|
2760
|
+
}, wc = {
|
|
2761
2761
|
left: 0,
|
|
2762
2762
|
top: 0,
|
|
2763
2763
|
right: 0,
|
|
@@ -2769,7 +2769,7 @@ var Cc = function() {
|
|
|
2769
2769
|
return [vt(n), vt(r), vt(o)];
|
|
2770
2770
|
}, Pc = function(e) {
|
|
2771
2771
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
2772
|
-
return
|
|
2772
|
+
return wc;
|
|
2773
2773
|
var t = Ec(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
2774
2774
|
return {
|
|
2775
2775
|
left: t[0],
|
|
@@ -2865,7 +2865,7 @@ var de = Ct ? { passive: !1 } : !1, Ic = function(e) {
|
|
|
2865
2865
|
return jr(e, "overflowY");
|
|
2866
2866
|
}, kc = function(e) {
|
|
2867
2867
|
return jr(e, "overflowX");
|
|
2868
|
-
},
|
|
2868
|
+
}, Sn = function(e, t) {
|
|
2869
2869
|
var n = t.ownerDocument, r = t;
|
|
2870
2870
|
do {
|
|
2871
2871
|
typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
|
|
@@ -2915,7 +2915,7 @@ var de = Ct ? { passive: !1 } : !1, Ic = function(e) {
|
|
|
2915
2915
|
return (l && Math.abs(d) < 1 || !l && Math.abs(_) < 1) && (u = !0), u;
|
|
2916
2916
|
}, Ue = function(e) {
|
|
2917
2917
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
2918
|
-
},
|
|
2918
|
+
}, wn = function(e) {
|
|
2919
2919
|
return [e.deltaX, e.deltaY];
|
|
2920
2920
|
}, En = function(e) {
|
|
2921
2921
|
return e && "current" in e ? e.current : e;
|
|
@@ -2928,7 +2928,7 @@ var de = Ct ? { passive: !1 } : !1, Ic = function(e) {
|
|
|
2928
2928
|
`);
|
|
2929
2929
|
}, Fc = 0, fe = [];
|
|
2930
2930
|
function Uc(e) {
|
|
2931
|
-
var t =
|
|
2931
|
+
var t = S([]), n = S([0, 0]), r = S(), o = R(Fc++)[0], i = R(Ur)[0], c = S(e);
|
|
2932
2932
|
E(function() {
|
|
2933
2933
|
c.current = e;
|
|
2934
2934
|
}, [e]), E(function() {
|
|
@@ -2947,16 +2947,16 @@ function Uc(e) {
|
|
|
2947
2947
|
var s = M(function(f, v) {
|
|
2948
2948
|
if ("touches" in f && f.touches.length === 2 || f.type === "wheel" && f.ctrlKey)
|
|
2949
2949
|
return !c.current.allowPinchZoom;
|
|
2950
|
-
var h = Ue(f), y = n.current, b = "deltaX" in f ? f.deltaX : y[0] - h[0], C = "deltaY" in f ? f.deltaY : y[1] - h[1], O, k = f.target,
|
|
2951
|
-
if ("touches" in f &&
|
|
2950
|
+
var h = Ue(f), y = n.current, b = "deltaX" in f ? f.deltaX : y[0] - h[0], C = "deltaY" in f ? f.deltaY : y[1] - h[1], O, k = f.target, w = Math.abs(b) > Math.abs(C) ? "h" : "v";
|
|
2951
|
+
if ("touches" in f && w === "h" && k.type === "range")
|
|
2952
2952
|
return !1;
|
|
2953
|
-
var F = window.getSelection(), le = F && F.anchorNode,
|
|
2954
|
-
if (
|
|
2953
|
+
var F = window.getSelection(), le = F && F.anchorNode, Se = le ? le === k || le.contains(k) : !1;
|
|
2954
|
+
if (Se)
|
|
2955
2955
|
return !1;
|
|
2956
|
-
var xe =
|
|
2956
|
+
var xe = Sn(w, k);
|
|
2957
2957
|
if (!xe)
|
|
2958
2958
|
return !0;
|
|
2959
|
-
if (xe ? O =
|
|
2959
|
+
if (xe ? O = w : (O = w === "v" ? "h" : "v", xe = Sn(w, k)), !xe)
|
|
2960
2960
|
return !1;
|
|
2961
2961
|
if (!r.current && "changedTouches" in f && (b || C) && (r.current = O), !O)
|
|
2962
2962
|
return !0;
|
|
@@ -2965,7 +2965,7 @@ function Uc(e) {
|
|
|
2965
2965
|
}, []), a = M(function(f) {
|
|
2966
2966
|
var v = f;
|
|
2967
2967
|
if (!(!fe.length || fe[fe.length - 1] !== i)) {
|
|
2968
|
-
var h = "deltaY" in v ?
|
|
2968
|
+
var h = "deltaY" in v ? wn(v) : Ue(v), y = t.current.filter(function(O) {
|
|
2969
2969
|
return O.name === v.type && (O.target === v.target || v.target === O.shadowParent) && $c(O.delta, h);
|
|
2970
2970
|
})[0];
|
|
2971
2971
|
if (y && y.should) {
|
|
@@ -2989,7 +2989,7 @@ function Uc(e) {
|
|
|
2989
2989
|
}, []), l = M(function(f) {
|
|
2990
2990
|
n.current = Ue(f), r.current = void 0;
|
|
2991
2991
|
}, []), d = M(function(f) {
|
|
2992
|
-
u(f.type,
|
|
2992
|
+
u(f.type, wn(f), f.target, s(f, e.lockRef.current));
|
|
2993
2993
|
}, []), _ = M(function(f) {
|
|
2994
2994
|
u(f.type, Ue(f), f.target, s(f, e.lockRef.current));
|
|
2995
2995
|
}, []);
|
|
@@ -3078,7 +3078,7 @@ var Bc = function(e) {
|
|
|
3078
3078
|
defaultOpen: o,
|
|
3079
3079
|
onOpenChange: i,
|
|
3080
3080
|
modal: c = !0
|
|
3081
|
-
} = e, s =
|
|
3081
|
+
} = e, s = S(null), a = S(null), [u, l] = De({
|
|
3082
3082
|
prop: r,
|
|
3083
3083
|
defaultProp: o ?? !1,
|
|
3084
3084
|
onChange: i,
|
|
@@ -3156,7 +3156,7 @@ var Xc = /* @__PURE__ */ Ye("DialogOverlay.RemoveScroll"), Jc = P(
|
|
|
3156
3156
|
Yr.displayName = ce;
|
|
3157
3157
|
var Qc = P(
|
|
3158
3158
|
(e, t) => {
|
|
3159
|
-
const n = V(ce, e.__scopeDialog), r =
|
|
3159
|
+
const n = V(ce, e.__scopeDialog), r = S(null), o = L(t, n.contentRef, r);
|
|
3160
3160
|
return E(() => {
|
|
3161
3161
|
const i = r.current;
|
|
3162
3162
|
if (i) return Vc(i);
|
|
@@ -3183,7 +3183,7 @@ var Qc = P(
|
|
|
3183
3183
|
}
|
|
3184
3184
|
), ea = P(
|
|
3185
3185
|
(e, t) => {
|
|
3186
|
-
const n = V(ce, e.__scopeDialog), r =
|
|
3186
|
+
const n = V(ce, e.__scopeDialog), r = S(!1), o = S(!1);
|
|
3187
3187
|
return /* @__PURE__ */ p(
|
|
3188
3188
|
Xr,
|
|
3189
3189
|
{
|
|
@@ -3204,7 +3204,7 @@ var Qc = P(
|
|
|
3204
3204
|
}
|
|
3205
3205
|
), Xr = P(
|
|
3206
3206
|
(e, t) => {
|
|
3207
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...c } = e, s = V(ce, n), a =
|
|
3207
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...c } = e, s = V(ce, n), a = S(null), u = L(t, a);
|
|
3208
3208
|
return sc(), /* @__PURE__ */ p(W, { children: [
|
|
3209
3209
|
/* @__PURE__ */ p(
|
|
3210
3210
|
Mr,
|
package/dist/script/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._root_hw69b_1{all:unset;cursor:pointer;will-change:background-color;transition:background-color .15s ease-in-out;font-size:var(--cb-font-size-caption);line-height:var(--cb-line-height-caption);font-family:var(--cb-font-family-caption);letter-spacing:var(--cb-letter-spacing-caption);font-weight:var(--cb-font-weight-caption-bold);padding:var(--cb-space-xs) var(--cb-space-sm);border-radius:var(--cb-radius-md);display:flex;flex-direction:row;align-items:center}._root_hw69b_1._neutral_hw69b_17{background-color:var(--cb-color-button-neutral-background);color:var(--cb-color-button-neutral-foreground)}._root_hw69b_1._neutral_hw69b_17:hover{background-color:var(--cb-color-button-neutral-background-hover)}._root_hw69b_1._neutral_hw69b_17:active{background-color:var(--cb-color-button-neutral-background-active)}._root_hw69b_1._brand_hw69b_30{background-color:var(--cb-color-button-brand-background);color:var(--cb-color-button-brand-foreground)}._root_hw69b_1._brand_hw69b_30:hover{background-color:var(--cb-color-button-brand-background-hover)}._root_hw69b_1._brand_hw69b_30:active{background-color:var(--cb-color-button-brand-background-active)}._root_hw69b_1._ghost_hw69b_43{background-color:var(--cb-color-button-ghost-background);color:var(--cb-color-button-ghost-foreground)}._root_hw69b_1._ghost_hw69b_43:hover{background-color:var(--cb-color-button-ghost-background-hover)}._root_hw69b_1._ghost_hw69b_43:active{background-color:var(--cb-color-button-ghost-background-active)}._root_14l5h_1{color:var(--cb-color-text-default)}._root_14l5h_1._muted_14l5h_4{color:var(--cb-color-text-muted)}._root_14l5h_1._body_14l5h_8{font-size:var(--cb-font-size-body);font-family:var(--cb-font-family-body);line-height:var(--cb-line-height-body);letter-spacing:var(--cb-letter-spacing-body)}._root_14l5h_1._body_14l5h_8._normal_14l5h_14{font-weight:var(--cb-font-weight-body-normal)}._root_14l5h_1._body_14l5h_8._bold_14l5h_18{font-weight:var(--cb-font-weight-body-bold)}._root_14l5h_1._caption_14l5h_23{font-size:var(--cb-font-size-caption);font-family:var(--cb-font-family-caption);line-height:var(--cb-line-height-caption);letter-spacing:var(--cb-letter-spacing-caption)}._root_14l5h_1._caption_14l5h_23._normal_14l5h_14{font-weight:var(--cb-font-weight-caption-normal)}._root_14l5h_1._caption_14l5h_23._bold_14l5h_18{font-weight:var(--cb-font-weight-caption-bold)}._root_14l5h_1 a{all:unset;color:var(--cb-color-text-link);cursor:pointer;text-decoration:none}._root_14l5h_1 a:hover{color:var(--cb-color-text-link-hover);text-decoration:underline}@keyframes
|
|
1
|
+
._root_hw69b_1{all:unset;cursor:pointer;will-change:background-color;transition:background-color .15s ease-in-out;font-size:var(--cb-font-size-caption);line-height:var(--cb-line-height-caption);font-family:var(--cb-font-family-caption);letter-spacing:var(--cb-letter-spacing-caption);font-weight:var(--cb-font-weight-caption-bold);padding:var(--cb-space-xs) var(--cb-space-sm);border-radius:var(--cb-radius-md);display:flex;flex-direction:row;align-items:center}._root_hw69b_1._neutral_hw69b_17{background-color:var(--cb-color-button-neutral-background);color:var(--cb-color-button-neutral-foreground)}._root_hw69b_1._neutral_hw69b_17:hover{background-color:var(--cb-color-button-neutral-background-hover)}._root_hw69b_1._neutral_hw69b_17:active{background-color:var(--cb-color-button-neutral-background-active)}._root_hw69b_1._brand_hw69b_30{background-color:var(--cb-color-button-brand-background);color:var(--cb-color-button-brand-foreground)}._root_hw69b_1._brand_hw69b_30:hover{background-color:var(--cb-color-button-brand-background-hover)}._root_hw69b_1._brand_hw69b_30:active{background-color:var(--cb-color-button-brand-background-active)}._root_hw69b_1._ghost_hw69b_43{background-color:var(--cb-color-button-ghost-background);color:var(--cb-color-button-ghost-foreground)}._root_hw69b_1._ghost_hw69b_43:hover{background-color:var(--cb-color-button-ghost-background-hover)}._root_hw69b_1._ghost_hw69b_43:active{background-color:var(--cb-color-button-ghost-background-active)}._root_14l5h_1{color:var(--cb-color-text-default)}._root_14l5h_1._muted_14l5h_4{color:var(--cb-color-text-muted)}._root_14l5h_1._body_14l5h_8{font-size:var(--cb-font-size-body);font-family:var(--cb-font-family-body);line-height:var(--cb-line-height-body);letter-spacing:var(--cb-letter-spacing-body)}._root_14l5h_1._body_14l5h_8._normal_14l5h_14{font-weight:var(--cb-font-weight-body-normal)}._root_14l5h_1._body_14l5h_8._bold_14l5h_18{font-weight:var(--cb-font-weight-body-bold)}._root_14l5h_1._caption_14l5h_23{font-size:var(--cb-font-size-caption);font-family:var(--cb-font-family-caption);line-height:var(--cb-line-height-caption);letter-spacing:var(--cb-letter-spacing-caption)}._root_14l5h_1._caption_14l5h_23._normal_14l5h_14{font-weight:var(--cb-font-weight-caption-normal)}._root_14l5h_1._caption_14l5h_23._bold_14l5h_18{font-weight:var(--cb-font-weight-caption-bold)}._root_14l5h_1 a{all:unset;color:var(--cb-color-text-link);cursor:pointer;text-decoration:none}._root_14l5h_1 a:hover{color:var(--cb-color-text-link-hover);text-decoration:underline}@keyframes _contentShow_12udu_1{0%{opacity:0;transform:translate(-100px)}to{opacity:1;transform:translate(0)}}@keyframes _contentHide_12udu_1{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-100px)}}@keyframes _slideDown_12udu_1{0%{max-height:var(--cb-size-settings-max-height);overflow:auto}1%{max-height:var(--cb-size-settings-max-height);overflow:hidden}to{max-height:0;overflow:hidden}}@keyframes _slideUp_12udu_1{0%{max-height:0;overflow:hidden}99%{max-height:var(--cb-size-settings-max-height);overflow:hidden}to{max-height:var(--cb-size-settings-max-height);overflow:auto}}._root_12udu_53{display:flex;flex-direction:column;gap:var(--cb-space-md);padding:var(--cb-space-md);background-color:var(--cb-color-background-default);box-shadow:var(--cb-shadow-lg);border-radius:var(--cb-radius-md);overflow:hidden;will-change:opacity,transform;animation:_contentShow_12udu_1 .15s cubic-bezier(.16,1,.3,1)}._root_12udu_53._noTarget_12udu_65{position:fixed;bottom:var(--cb-space-md);left:var(--cb-space-md);width:100%;max-width:var(--cb-size-banner-max-width)}._root_12udu_53 ._collapsible_12udu_74{display:contents}._root_12udu_53 ._collapsible_12udu_74 ._header_12udu_77{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--cb-space-md)}._root_12udu_53 ._collapsible_12udu_74 ._header_12udu_77 ._heading_12udu_84{display:flex;flex-direction:column;align-items:flex-start}._root_12udu_53 ._collapsible_12udu_74 ._header_12udu_77 ._chevron_12udu_90{transform:rotate(0);will-change:transform;transition:transform .15s ease-out}._root_12udu_53 ._collapsible_12udu_74 ._header_12udu_77 ._chevron_12udu_90._open_12udu_95{transform:rotate(180deg)}._root_12udu_53 ._collapsible_12udu_74 ._settings_12udu_101{display:flex;flex-direction:column;background-color:var(--cb-color-background-muted);border-radius:var(--cb-radius-md);overflow:hidden;will-change:max-height,overflow;animation:_slideDown_12udu_1 .25s ease-out}._root_12udu_53 ._collapsible_12udu_74 ._settings_12udu_101[data-state=open]{animation:_slideUp_12udu_1 .25s ease-out}._root_12udu_53 ._collapsible_12udu_74 ._footer_12udu_115{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--cb-space-md)}._root_12udu_53 ._collapsible_12udu_74 ._footer_12udu_115 ._actions_12udu_125{display:flex;flex-direction:row;align-items:center;gap:var(--cb-space-md)}@keyframes _slideDown_mqtha_1{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes _slideUp_mqtha_1{0%{height:var(--radix-accordion-content-height)}to{height:0}}._root_mqtha_19{display:flex;flex-direction:column;overflow:hidden}._root_mqtha_19 ._header_mqtha_24{all:unset;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--cb-space-sm) var(--cb-space-md);cursor:pointer}._root_mqtha_19 ._header_mqtha_24 ._label_mqtha_33{display:flex;flex-direction:column;width:100%}._root_mqtha_19 ._header_mqtha_24 ._actions_mqtha_39{display:flex;flex-direction:row;align-items:center;gap:var(--cb-space-sm)}._root_mqtha_19 ._header_mqtha_24 ._actions_mqtha_39 ._chevron_mqtha_45{color:var(--cb-color-text-default);transition:transform .15s ease-out;will-change:transform;transform:rotate(0)}._root_mqtha_19 ._header_mqtha_24 ._actions_mqtha_39 ._chevron_mqtha_45._open_mqtha_51{transform:rotate(180deg)}._root_mqtha_19 ._description_mqtha_58{padding:var(--cb-space-xs) var(--cb-space-md);max-width:96ch;overflow:hidden}._root_mqtha_19 ._description_mqtha_58[data-state=open]{animation:_slideDown_mqtha_1 .15s ease-out}._root_mqtha_19 ._description_mqtha_58[data-state=closed]{animation:_slideUp_mqtha_1 .15s ease-out}._root_dibqz_1{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--cb-space-sm)}._root_dibqz_1 ._switch_dibqz_8{width:32px;height:20px;padding:2px;border-width:1px;border-style:solid;border-color:var(--cb-color-border-neutral);border-radius:9999px;will-change:background-color;transition:background-color .15s ease-out;background-color:var(--cb-color-switch-background-neutral);position:relative}._root_dibqz_1 ._switch_dibqz_8[data-state=checked]{background-color:var(--cb-color-switch-background-brand)}._root_dibqz_1 ._switch_dibqz_8[data-disabled]{cursor:not-allowed;background-color:var(--cb-color-switch-background-disabled)}._root_dibqz_1 ._switch_dibqz_8:not([data-disabled]){cursor:pointer}._root_dibqz_1 ._switch_dibqz_8:not([data-disabled]):hover{background-color:var(--cb-color-switch-background-light)}._root_dibqz_1 ._switch_dibqz_8 ._thumb_dibqz_38{width:14px;height:14px;position:absolute;left:0;top:0;background-color:var(--cb-color-switch-thumb-background-neutral);box-shadow:var(--cb-shadow-sm);border-radius:9999px;transition:transform .15s ease-out;transform:translate(2px) translateY(2px);will-change:transform}._root_dibqz_1 ._switch_dibqz_8 ._thumb_dibqz_38[data-state=checked]{transform:translate(14px) translateY(2px)}:root{--cb-color-background-default: var(--cb-color-neutral-0);--cb-color-background-muted: var(--cb-color-neutral-50);--cb-color-text-default: var(--cb-color-neutral-900);--cb-color-text-muted: var(--cb-color-neutral-500);--cb-color-text-link: var(--cb-color-brand-600);--cb-color-text-link-hover: var(--cb-color-brand-700);--cb-color-border-neutral: var(--cb-color-neutral-200);--cb-color-border-brand: var(--cb-color-brand-200);--cb-color-switch-background-neutral: var(--cb-color-neutral-100);--cb-color-switch-background-light: var(--cb-color-brand-500);--cb-color-switch-background-brand: var(--cb-color-brand-600);--cb-color-switch-background-disabled: var(--cb-color-neutral-300);--cb-color-switch-thumb-background-neutral: var(--cb-color-neutral-0);--cb-color-button-neutral-background: var(--cb-color-neutral-100);--cb-color-button-neutral-background-hover: var(--cb-color-neutral-200);--cb-color-button-neutral-background-active: var(--cb-color-neutral-100);--cb-color-button-neutral-foreground: var(--cb-color-neutral-700);--cb-color-button-brand-background: var(--cb-color-brand-100);--cb-color-button-brand-background-hover: var(--cb-color-brand-200);--cb-color-button-brand-background-active: var(--cb-color-brand-100);--cb-color-button-brand-foreground: var(--cb-color-brand-700);--cb-color-button-ghost-background: rgba(0, 0, 0, 0);--cb-color-button-ghost-background-hover: var(--cb-color-neutral-200);--cb-color-button-ghost-background-active: var(--cb-color-neutral-100);--cb-color-button-ghost-foreground: var(--cb-color-neutral-700)}
|