@synnaxlabs/pluto 0.33.0 → 0.33.1

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.
Files changed (64) hide show
  1. package/dist/{Animated-Cg0ftviS.js → Animated-BJ0Om9zo.js} +1 -1
  2. package/dist/{Animated-BGm8tACN.cjs → Animated-CmYpn592.cjs} +1 -1
  3. package/dist/{Item-C89uBEra.cjs → Item-CPt4Umh0.cjs} +1 -1
  4. package/dist/{Item-B8JWj3fN.js → Item-JN1-gBEw.js} +3 -3
  5. package/dist/{Keyboard-B1757gtH.cjs → Keyboard-BwzZPKjx.cjs} +1 -1
  6. package/dist/{Keyboard-BAU1UuVp.js → Keyboard-CBvQle7r.js} +1 -1
  7. package/dist/{Link-BGZki0c9.cjs → Link-mthAKDPf.cjs} +1 -1
  8. package/dist/{Link-Du1lxpym.js → Link-my2OWRXu.js} +1 -1
  9. package/dist/{List-KmtaD0qw.js → List-B1BAwLaq.js} +1 -1
  10. package/dist/{List-e1hOSGSX.cjs → List-C3bjnukf.cjs} +1 -1
  11. package/dist/{Text-DWBEhfiF.cjs → Text-BvzGtwCB.cjs} +1 -1
  12. package/dist/{Text-D1VocrR6.js → Text-SLn1Qwzw.js} +2 -2
  13. package/dist/{Toggle-B96EPQ2x.js → Toggle-CqrGlCW8.js} +888 -885
  14. package/dist/{Toggle-C5E2dVg4.cjs → Toggle-GvJ5CkHq.cjs} +9 -9
  15. package/dist/button.cjs +1 -1
  16. package/dist/button.js +1 -1
  17. package/dist/color.cjs +1 -1
  18. package/dist/color.js +1 -1
  19. package/dist/dropdown.cjs +1 -1
  20. package/dist/dropdown.js +1 -1
  21. package/dist/{external-Ckdd7teZ.js → external-B0o5Z8wI.js} +2 -2
  22. package/dist/{external-BdZ8kC55.cjs → external-B5jyXhgU.cjs} +1 -1
  23. package/dist/{external-BSHY-kgQ.cjs → external-B7W7NBGN.cjs} +1 -1
  24. package/dist/{external-GtPAaR7c.cjs → external-BBGGwc9H.cjs} +1 -1
  25. package/dist/{external-CzrKYxlg.js → external-BKx-fjB8.js} +1 -1
  26. package/dist/{external-BHkFTefx.cjs → external-BLnPpmeS.cjs} +1 -1
  27. package/dist/{external-w5-jxIYn.cjs → external-BQMz5fJB.cjs} +1 -1
  28. package/dist/{external-BSqwgq7l.js → external-BTFW7AEo.js} +2 -2
  29. package/dist/{external-DZhjjzue.js → external-BT_oycNI.js} +4 -4
  30. package/dist/{external-BRdQZoOL.cjs → external-BvoBhRW8.cjs} +1 -1
  31. package/dist/{external-Icf6LMl2.cjs → external-C-xh9EwI.cjs} +1 -1
  32. package/dist/{external-T318T5Xe.cjs → external-CLKqHc4s.cjs} +1 -1
  33. package/dist/{external-C-PNFpoV.cjs → external-Cb_NFNiX.cjs} +1 -1
  34. package/dist/{external-Dk66psus.js → external-Cewuz6Gm.js} +1 -1
  35. package/dist/{external-DDwIRENP.cjs → external-Crturtt-.cjs} +1 -1
  36. package/dist/{external-LyF1vgNR.cjs → external-D6YTf7Kx.cjs} +1 -1
  37. package/dist/{external-uvD747pL.js → external-DVhxMa2A.js} +4 -4
  38. package/dist/{external-C2PoeTKJ.js → external-DYwzKoQ6.js} +2 -2
  39. package/dist/{external-CxatFj2t.js → external-DqwISR2q.js} +2 -2
  40. package/dist/{external-DWm3_4ZA.js → external-GxvuofB_.js} +2 -2
  41. package/dist/{external-CvTy-Tj3.js → external-euVgbl49.js} +1 -1
  42. package/dist/{external-BpIfVU6K.js → external-f7xyI5mJ.js} +1 -1
  43. package/dist/header.cjs +1 -1
  44. package/dist/header.js +1 -1
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.js +24 -24
  47. package/dist/input.cjs +1 -1
  48. package/dist/input.js +1 -1
  49. package/dist/list.cjs +1 -1
  50. package/dist/list.js +1 -1
  51. package/dist/menu.cjs +1 -1
  52. package/dist/menu.js +1 -1
  53. package/dist/style.css +1 -1
  54. package/dist/tabs.cjs +1 -1
  55. package/dist/tabs.js +1 -1
  56. package/dist/text.cjs +1 -1
  57. package/dist/text.js +2 -2
  58. package/dist/theming.cjs +1 -1
  59. package/dist/theming.js +2 -2
  60. package/dist/tree.cjs +1 -1
  61. package/dist/tree.js +1 -1
  62. package/dist/triggers.cjs +1 -1
  63. package/dist/triggers.js +1 -1
  64. package/package.json +4 -4
package/dist/button.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-LyF1vgNR.cjs");exports.Button=e.external;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-D6YTf7Kx.cjs");exports.Button=e.external;
package/dist/button.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e } from "./external-BSqwgq7l.js";
1
+ import { e } from "./external-BTFW7AEo.js";
2
2
  export {
3
3
  e as Button
4
4
  };
package/dist/color.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-w5-jxIYn.cjs");exports.Color=e.external;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-BQMz5fJB.cjs");exports.Color=e.external;
package/dist/color.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e } from "./external-BpIfVU6K.js";
1
+ import { e } from "./external-f7xyI5mJ.js";
2
2
  export {
3
3
  e as Color
4
4
  };
package/dist/dropdown.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Toggle-C5E2dVg4.cjs");exports.Dropdown=e.Dropdown;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Toggle-GvJ5CkHq.cjs");exports.Dropdown=e.Dropdown;
package/dist/dropdown.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as p } from "./Toggle-B96EPQ2x.js";
1
+ import { D as p } from "./Toggle-CqrGlCW8.js";
2
2
  export {
3
3
  p as Dropdown
4
4
  };
@@ -1,10 +1,10 @@
1
- import { n as d, i as x, o as E, A as M, p as b, K as S, M as y, q as R, r as K, s as C, v as T, w as _, x as v, y as L, z as j, E as O, F as h, G as k, H as w, J as A, L as H, N as Z, O as P, R as U, U as Y, V as N } from "./Toggle-B96EPQ2x.js";
1
+ import { n as d, i as x, o as E, A as M, p as b, K as S, M as y, q as R, r as K, s as C, v as T, w as _, x as v, y as L, z as j, E as O, F as h, G as k, H as w, J as A, L as H, N as Z, O as P, R as U, U as Y, V as N } from "./Toggle-CqrGlCW8.js";
2
2
  import { j as q } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useState as z, useEffect as F, useRef as g, useCallback as f } from "react";
4
4
  import "./aggregator-B36SA-20.js";
5
5
  import { q as i, E as l } from "./css-C8qHWSpT.js";
6
6
  import "./Pack-CxtceW7N.js";
7
- import { T as I, t as G } from "./Text-D1VocrR6.js";
7
+ import { T as I, t as G } from "./Text-SLn1Qwzw.js";
8
8
  const J = (e) => {
9
9
  const { listen: a } = d(), [c, n] = z([]);
10
10
  return F(
@@ -1 +1 @@
1
- "use strict";const y=require("./Toggle-C5E2dVg4.cjs"),Fe=require("./jsx-runtime-Cek9Ww4S.cjs"),$e=require("react"),de=require("./aggregator-CU9VgdUJ.cjs");require("./css-4MXuPP5v.cjs");require("./Pack-uflj5a28.cjs");const Ne=require("./List-e1hOSGSX.cjs"),ge=Symbol(),ee=Symbol(),T="a",N="w";let De=(t,e)=>new Proxy(t,e);const U=Object.getPrototypeOf,ie=new WeakMap,te=t=>t&&(ie.has(t)?ie.get(t):U(t)===Object.prototype||U(t)===Array.prototype),ce=t=>typeof t=="object"&&t!==null,oe=new WeakMap,pe=t=>t[ee]||t,me=(t,e,s)=>{if(!te(t))return t;const r=pe(t),i=(c=>Object.isFrozen(c)||Object.values(Object.getOwnPropertyDescriptors(c)).some(o=>!o.writable))(r);let n=s&&s.get(r);return n&&n[1].f===i||(n=((c,o)=>{const a={f:o};let h=!1;const l=(f,g)=>{if(!h){let p=a[T].get(c);if(p||(p={},a[T].set(c,p)),f===N)p[N]=!0;else{let m=p[f];m||(m=new Set,p[f]=m),m.add(g)}}},u={get:(f,g)=>g===ee?c:(l("k",g),me(Reflect.get(f,g),a[T],a.c)),has:(f,g)=>g===ge?(h=!0,a[T].delete(c),!0):(l("h",g),Reflect.has(f,g)),getOwnPropertyDescriptor:(f,g)=>(l("o",g),Reflect.getOwnPropertyDescriptor(f,g)),ownKeys:f=>(l(N),Reflect.ownKeys(f))};return o&&(u.set=u.deleteProperty=()=>!1),[u,a]})(r,i),n[1].p=De(i?(c=>{let o=oe.get(c);if(!o){if(Array.isArray(c))o=Array.from(c);else{const a=Object.getOwnPropertyDescriptors(c);Object.values(a).forEach(h=>{h.configurable=!0}),o=Object.create(U(c),a)}oe.set(c,o)}return o})(r):r,n[0]),s&&s.set(r,n)),n[1][T]=e,n[1].c=s,n[1].p},ye=(t,e,s,r)=>{if(Object.is(t,e))return!1;if(!ce(t)||!ce(e))return!0;const i=s.get(pe(t));if(!i)return!0;if(r){const c=r.get(t);if(c&&c.n===e)return c.g;r.set(t,{n:e,g:!1})}let n=null;try{for(const c of i.h||[])if(n=Reflect.has(t,c)!==Reflect.has(e,c),n)return n;if(i[N]===!0){if(n=((c,o)=>{const a=Reflect.ownKeys(c),h=Reflect.ownKeys(o);return a.length!==h.length||a.some((l,u)=>l!==h[u])})(t,e),n)return n}else for(const c of i.o||[])if(n=!!Reflect.getOwnPropertyDescriptor(t,c)!=!!Reflect.getOwnPropertyDescriptor(e,c),n)return n;for(const c of i.k||[])if(n=ye(t[c],e[c],s,r),n)return n;return n===null&&(n=!0),n}finally{r&&r.set(t,{n:e,g:n})}},je=t=>!!te(t)&&ge in t,Me=t=>te(t)&&t[ee]||null,Ke="h",Ye="w",We="o",ze="k",V=t=>typeof t=="object"&&t!==null,Ee=(t,e)=>{if(!V(t))return t;const s=Me(t);return s!==null?(je(t),s):(e.has(t)||(e.add(t),Object.entries(t).forEach(([r,i])=>{const n=Ee(i,e);Object.is(n,i)||(t[r]=n)})),t)},B=(t,e,s)=>{var r,i,n;if(!V(t)||!V(e))return;const c=s.get(Me(e)||e);c&&((r=c[Ke])==null||r.forEach(o=>{Reflect.has(t,o)}),c[Ye]===!0&&Reflect.ownKeys(t),(i=c[We])==null||i.forEach(o=>{Reflect.getOwnPropertyDescriptor(t,o)}),(n=c[ze])==null||n.forEach(o=>{B(t[o],e[o],s)}))},Y="o",W="r",z="a";function He(t,e){var s;let r=0;const i=(s=e==null?void 0:e.size)!=null?s:1,n=[],c=e!=null&&e.noWeakMap?null:new WeakMap;return a=>{const h=c==null?void 0:c.get(a);if(h)return h[W];for(let p=0;p<i;p+=1){const m=n[(r+p)%i];if(!m)break;if(!ye(m[Y],a,m[z],new WeakMap))return B(a,m[Y],m[z]),c==null||c.set(a,m),m[W]}const l=new WeakMap,u=me(a,l),f=Ee(t(u),new Set);B(a,a,l);const g={[Y]:a,[W]:f,[z]:l};return r=(r-1+i)%i,n[r]=g,c==null||c.set(a,g),f}}const _e=(t,e)=>de.w.RUNTIME==="browser"?He(t,e):t;function R(t){return Array.isArray?Array.isArray(t):Re(t)==="[object Array]"}const Ue=1/0;function Ve(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-Ue?"-0":e}function Be(t){return t==null?"":Ve(t)}function S(t){return typeof t=="string"}function Se(t){return typeof t=="number"}function Ge(t){return t===!0||t===!1||Je(t)&&Re(t)=="[object Boolean]"}function xe(t){return typeof t=="object"}function Je(t){return xe(t)&&t!==null}function M(t){return t!=null}function H(t){return!t.trim().length}function Re(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Qe="Incorrect 'index' type",Xe=t=>`Invalid value for key ${t}`,Ze=t=>`Pattern length exceeds max of ${t}.`,qe=t=>`Missing ${t} property in key`,et=t=>`Property 'weight' in key '${t}' must be a positive integer`,ae=Object.prototype.hasOwnProperty;class tt{constructor(e){this._keys=[],this._keyMap={};let s=0;e.forEach(r=>{let i=Oe(r);this._keys.push(i),this._keyMap[i.id]=i,s+=i.weight}),this._keys.forEach(r=>{r.weight/=s})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Oe(t){let e=null,s=null,r=null,i=1,n=null;if(S(t)||R(t))r=t,e=le(t),s=G(t);else{if(!ae.call(t,"name"))throw new Error(qe("name"));const c=t.name;if(r=c,ae.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(et(c));e=le(c),s=G(c),n=t.getFn}return{path:e,id:s,weight:i,src:r,getFn:n}}function le(t){return R(t)?t:t.split(".")}function G(t){return R(t)?t.join("."):t}function st(t,e){let s=[],r=!1;const i=(n,c,o)=>{if(M(n))if(!c[o])s.push(n);else{let a=c[o];const h=n[a];if(!M(h))return;if(o===c.length-1&&(S(h)||Se(h)||Ge(h)))s.push(Be(h));else if(R(h)){r=!0;for(let l=0,u=h.length;l<u;l+=1)i(h[l],c,o+1)}else c.length&&i(h,c,o+1)}};return i(t,S(e)?e.split("."):e,0),r?s:s[0]}const rt={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},nt={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},it={location:0,threshold:.6,distance:100},ct={useExtendedSearch:!1,getFn:st,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var d={...nt,...rt,...it,...ct};const ot=/[^ ]+/g;function at(t=1,e=3){const s=new Map,r=Math.pow(10,e);return{get(i){const n=i.match(ot).length;if(s.has(n))return s.get(n);const c=1/Math.pow(n,.5*t),o=parseFloat(Math.round(c*r)/r);return s.set(n,o),o},clear(){s.clear()}}}class se{constructor({getFn:e=d.getFn,fieldNormWeight:s=d.fieldNormWeight}={}){this.norm=at(s,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((s,r)=>{this._keysMap[s.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,S(this.docs[0])?this.docs.forEach((e,s)=>{this._addString(e,s)}):this.docs.forEach((e,s)=>{this._addObject(e,s)}),this.norm.clear())}add(e){const s=this.size();S(e)?this._addString(e,s):this._addObject(e,s)}removeAt(e){this.records.splice(e,1);for(let s=e,r=this.size();s<r;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(e,s){return e[this._keysMap[s]]}size(){return this.records.length}_addString(e,s){if(!M(e)||H(e))return;let r={v:e,i:s,n:this.norm.get(e)};this.records.push(r)}_addObject(e,s){let r={i:s,$:{}};this.keys.forEach((i,n)=>{let c=i.getFn?i.getFn(e):this.getFn(e,i.path);if(M(c)){if(R(c)){let o=[];const a=[{nestedArrIndex:-1,value:c}];for(;a.length;){const{nestedArrIndex:h,value:l}=a.pop();if(M(l))if(S(l)&&!H(l)){let u={v:l,i:h,n:this.norm.get(l)};o.push(u)}else R(l)&&l.forEach((u,f)=>{a.push({nestedArrIndex:f,value:u})})}r.$[n]=o}else if(S(c)&&!H(c)){let o={v:c,n:this.norm.get(c)};r.$[n]=o}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function we(t,e,{getFn:s=d.getFn,fieldNormWeight:r=d.fieldNormWeight}={}){const i=new se({getFn:s,fieldNormWeight:r});return i.setKeys(t.map(Oe)),i.setSources(e),i.create(),i}function lt(t,{getFn:e=d.getFn,fieldNormWeight:s=d.fieldNormWeight}={}){const{keys:r,records:i}=t,n=new se({getFn:e,fieldNormWeight:s});return n.setKeys(r),n.setIndexRecords(i),n}function $(t,{errors:e=0,currentLocation:s=0,expectedLocation:r=0,distance:i=d.distance,ignoreLocation:n=d.ignoreLocation}={}){const c=e/t.length;if(n)return c;const o=Math.abs(r-s);return i?c+o/i:o?1:c}function ht(t=[],e=d.minMatchCharLength){let s=[],r=-1,i=-1,n=0;for(let c=t.length;n<c;n+=1){let o=t[n];o&&r===-1?r=n:!o&&r!==-1&&(i=n-1,i-r+1>=e&&s.push([r,i]),r=-1)}return t[n-1]&&n-r>=e&&s.push([r,n-1]),s}const L=32;function ut(t,e,s,{location:r=d.location,distance:i=d.distance,threshold:n=d.threshold,findAllMatches:c=d.findAllMatches,minMatchCharLength:o=d.minMatchCharLength,includeMatches:a=d.includeMatches,ignoreLocation:h=d.ignoreLocation}={}){if(e.length>L)throw new Error(Ze(L));const l=e.length,u=t.length,f=Math.max(0,Math.min(r,u));let g=n,p=f;const m=o>1||a,A=m?Array(u):[];let x;for(;(x=t.indexOf(e,p))>-1;){let E=$(e,{currentLocation:x,expectedLocation:f,distance:i,ignoreLocation:h});if(g=Math.min(E,g),p=x+l,m){let O=0;for(;O<l;)A[x+O]=1,O+=1}}p=-1;let P=[],b=1,v=l+u;const ve=1<<l-1;for(let E=0;E<l;E+=1){let O=0,w=v;for(;O<w;)$(e,{errors:E,currentLocation:f+w,expectedLocation:f,distance:i,ignoreLocation:h})<=g?O=w:v=w,w=Math.floor((v-O)/2+O);v=w;let re=Math.max(1,f-w+1),K=c?u:Math.min(f+w,u)+l,C=Array(K+2);C[K+1]=(1<<E)-1;for(let _=K;_>=re;_-=1){let F=_-1,ne=s[t.charAt(F)];if(m&&(A[F]=+!!ne),C[_]=(C[_+1]<<1|1)&ne,E&&(C[_]|=(P[_+1]|P[_])<<1|1|P[_+1]),C[_]&ve&&(b=$(e,{errors:E,currentLocation:F,expectedLocation:f,distance:i,ignoreLocation:h}),b<=g)){if(g=b,p=F,p<=f)break;re=Math.max(1,2*f-p)}}if($(e,{errors:E+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:h})>g)break;P=C}const j={isMatch:p>=0,score:Math.max(.001,b)};if(m){const E=ht(A,o);E.length?a&&(j.indices=E):j.isMatch=!1}return j}function ft(t){let e={};for(let s=0,r=t.length;s<r;s+=1){const i=t.charAt(s);e[i]=(e[i]||0)|1<<r-s-1}return e}class Ie{constructor(e,{location:s=d.location,threshold:r=d.threshold,distance:i=d.distance,includeMatches:n=d.includeMatches,findAllMatches:c=d.findAllMatches,minMatchCharLength:o=d.minMatchCharLength,isCaseSensitive:a=d.isCaseSensitive,ignoreLocation:h=d.ignoreLocation}={}){if(this.options={location:s,threshold:r,distance:i,includeMatches:n,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(f,g)=>{this.chunks.push({pattern:f,alphabet:ft(f),startIndex:g})},u=this.pattern.length;if(u>L){let f=0;const g=u%L,p=u-g;for(;f<p;)l(this.pattern.substr(f,L),f),f+=L;if(g){const m=u-L;l(this.pattern.substr(m),m)}}else l(this.pattern,0)}searchIn(e){const{isCaseSensitive:s,includeMatches:r}=this.options;if(s||(e=e.toLowerCase()),this.pattern===e){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,e.length-1]]),p}const{location:i,distance:n,threshold:c,findAllMatches:o,minMatchCharLength:a,ignoreLocation:h}=this.options;let l=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:m,startIndex:A})=>{const{isMatch:x,score:P,indices:b}=ut(e,p,m,{location:i+A,distance:n,threshold:c,findAllMatches:o,minMatchCharLength:a,includeMatches:r,ignoreLocation:h});x&&(f=!0),u+=P,x&&b&&(l=[...l,...b])});let g={isMatch:f,score:f?u/this.chunks.length:1};return f&&r&&(g.indices=l),g}}class I{constructor(e){this.pattern=e}static isMultiMatch(e){return he(e,this.multiRegex)}static isSingleMatch(e){return he(e,this.singleRegex)}search(){}}function he(t,e){const s=t.match(e);return s?s[1]:null}class dt extends I{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const s=e===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class gt extends I{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class pt extends I{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const s=e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class mt extends I{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const s=!e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class yt extends I{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const s=e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Mt extends I{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const s=!e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class Ae extends I{constructor(e,{location:s=d.location,threshold:r=d.threshold,distance:i=d.distance,includeMatches:n=d.includeMatches,findAllMatches:c=d.findAllMatches,minMatchCharLength:o=d.minMatchCharLength,isCaseSensitive:a=d.isCaseSensitive,ignoreLocation:h=d.ignoreLocation}={}){super(e),this._bitapSearch=new Ie(e,{location:s,threshold:r,distance:i,includeMatches:n,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class be extends I{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let s=0,r;const i=[],n=this.pattern.length;for(;(r=e.indexOf(this.pattern,s))>-1;)s=r+n,i.push([r,s-1]);const c=!!i.length;return{isMatch:c,score:c?0:1,indices:i}}}const J=[dt,be,pt,mt,Mt,yt,gt,Ae],ue=J.length,Et=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,_t="|";function St(t,e={}){return t.split(_t).map(s=>{let r=s.trim().split(Et).filter(n=>n&&!!n.trim()),i=[];for(let n=0,c=r.length;n<c;n+=1){const o=r[n];let a=!1,h=-1;for(;!a&&++h<ue;){const l=J[h];let u=l.isMultiMatch(o);u&&(i.push(new l(u,e)),a=!0)}if(!a)for(h=-1;++h<ue;){const l=J[h];let u=l.isSingleMatch(o);if(u){i.push(new l(u,e));break}}}return i})}const xt=new Set([Ae.type,be.type]);class Rt{constructor(e,{isCaseSensitive:s=d.isCaseSensitive,includeMatches:r=d.includeMatches,minMatchCharLength:i=d.minMatchCharLength,ignoreLocation:n=d.ignoreLocation,findAllMatches:c=d.findAllMatches,location:o=d.location,threshold:a=d.threshold,distance:h=d.distance}={}){this.query=null,this.options={isCaseSensitive:s,includeMatches:r,minMatchCharLength:i,findAllMatches:c,ignoreLocation:n,location:o,threshold:a,distance:h},this.pattern=s?e:e.toLowerCase(),this.query=St(this.pattern,this.options)}static condition(e,s){return s.useExtendedSearch}searchIn(e){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let n=0,c=[],o=0;for(let a=0,h=s.length;a<h;a+=1){const l=s[a];c.length=0,n=0;for(let u=0,f=l.length;u<f;u+=1){const g=l[u],{isMatch:p,indices:m,score:A}=g.search(e);if(p){if(n+=1,o+=A,r){const x=g.constructor.type;xt.has(x)?c=[...c,...m]:c.push(m)}}else{o=0,n=0,c.length=0;break}}if(n){let u={isMatch:!0,score:o/n};return r&&(u.indices=c),u}}return{isMatch:!1,score:1}}}const Q=[];function Ot(...t){Q.push(...t)}function X(t,e){for(let s=0,r=Q.length;s<r;s+=1){let i=Q[s];if(i.condition(t,e))return new i(t,e)}return new Ie(t,e)}const D={AND:"$and",OR:"$or"},Z={PATH:"$path",PATTERN:"$val"},q=t=>!!(t[D.AND]||t[D.OR]),wt=t=>!!t[Z.PATH],It=t=>!R(t)&&xe(t)&&!q(t),fe=t=>({[D.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Le(t,e,{auto:s=!0}={}){const r=i=>{let n=Object.keys(i);const c=wt(i);if(!c&&n.length>1&&!q(i))return r(fe(i));if(It(i)){const a=c?i[Z.PATH]:n[0],h=c?i[Z.PATTERN]:i[a];if(!S(h))throw new Error(Xe(a));const l={keyId:G(a),pattern:h};return s&&(l.searcher=X(h,e)),l}let o={children:[],operator:n[0]};return n.forEach(a=>{const h=i[a];R(h)&&h.forEach(l=>{o.children.push(r(l))})}),o};return q(t)||(t=fe(t)),r(t)}function At(t,{ignoreFieldNorm:e=d.ignoreFieldNorm}){t.forEach(s=>{let r=1;s.matches.forEach(({key:i,norm:n,score:c})=>{const o=i?i.weight:null;r*=Math.pow(c===0&&o?Number.EPSILON:c,(o||1)*(e?1:n))}),s.score=r})}function bt(t,e){const s=t.matches;e.matches=[],M(s)&&s.forEach(r=>{if(!M(r.indices)||!r.indices.length)return;const{indices:i,value:n}=r;let c={indices:i,value:n};r.key&&(c.key=r.key.src),r.idx>-1&&(c.refIndex=r.idx),e.matches.push(c)})}function Lt(t,e){e.score=t.score}function Pt(t,e,{includeMatches:s=d.includeMatches,includeScore:r=d.includeScore}={}){const i=[];return s&&i.push(bt),r&&i.push(Lt),t.map(n=>{const{idx:c}=n,o={item:e[c],refIndex:c};return i.length&&i.forEach(a=>{a(n,o)}),o})}class k{constructor(e,s={},r){this.options={...d,...s},this.options.useExtendedSearch,this._keyStore=new tt(this.options.keys),this.setCollection(e,r)}setCollection(e,s){if(this._docs=e,s&&!(s instanceof se))throw new Error(Qe);this._myIndex=s||we(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){M(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const s=[];for(let r=0,i=this._docs.length;r<i;r+=1){const n=this._docs[r];e(n,r)&&(this.removeAt(r),r-=1,i-=1,s.push(n))}return s}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:s=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:n,sortFn:c,ignoreFieldNorm:o}=this.options;let a=S(e)?S(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return At(a,{ignoreFieldNorm:o}),n&&a.sort(c),Se(s)&&s>-1&&(a=a.slice(0,s)),Pt(a,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){const s=X(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:n,i:c,n:o})=>{if(!M(n))return;const{isMatch:a,score:h,indices:l}=s.searchIn(n);a&&i.push({item:n,idx:c,matches:[{score:h,value:n,norm:o,indices:l}]})}),i}_searchLogical(e){const s=Le(e,this.options),r=(o,a,h)=>{if(!o.children){const{keyId:u,searcher:f}=o,g=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(a,u),searcher:f});return g&&g.length?[{idx:h,item:a,matches:g}]:[]}const l=[];for(let u=0,f=o.children.length;u<f;u+=1){const g=o.children[u],p=r(g,a,h);if(p.length)l.push(...p);else if(o.operator===D.AND)return[]}return l},i=this._myIndex.records,n={},c=[];return i.forEach(({$:o,i:a})=>{if(M(o)){let h=r(s,o,a);h.length&&(n[a]||(n[a]={idx:a,item:o,matches:[]},c.push(n[a])),h.forEach(({matches:l})=>{n[a].matches.push(...l)}))}}),c}_searchObjectList(e){const s=X(e,this.options),{keys:r,records:i}=this._myIndex,n=[];return i.forEach(({$:c,i:o})=>{if(!M(c))return;let a=[];r.forEach((h,l)=>{a.push(...this._findMatches({key:h,value:c[l],searcher:s}))}),a.length&&n.push({idx:o,item:c,matches:a})}),n}_findMatches({key:e,value:s,searcher:r}){if(!M(s))return[];let i=[];if(R(s))s.forEach(({v:n,i:c,n:o})=>{if(!M(n))return;const{isMatch:a,score:h,indices:l}=r.searchIn(n);a&&i.push({score:h,key:e,value:n,idx:c,norm:o,indices:l})});else{const{v:n,n:c}=s,{isMatch:o,score:a,indices:h}=r.searchIn(n);o&&i.push({score:a,key:e,value:n,norm:c,indices:h})}return i}}k.version="7.0.0";k.createIndex=we;k.parseIndex=lt;k.config=d;k.parseQuery=Le;Ot(Rt);const Ct={threshold:.3},Pe=t=>e=>{const s=new k(e,{keys:Object.keys(e[0]),...Ct,...t});return{type:"fuse",page:(r,i)=>e.slice(r*i,(r+1)*i),search:r=>s.search(r).map(({item:i})=>i),retrieve:r=>e.filter(i=>r.includes(i.key))}},kt=Pe(),Ce=({term:t,searcher:e=kt})=>_e(({data:s})=>typeof e=="function"?t.length===0||(s==null?void 0:s.length)===0?{data:s,transformed:!1}:{data:e(s).search(t),transformed:!0}:{data:e.search(t),transformed:!0}),ke=({debounce:t=250,value:e,onChange:s,transformBefore:r})=>{const[i,n]=de.usePurePassthrough({onChange:s,value:e,initial:""}),{setTransform:c,deleteTransform:o}=y.useDataUtilContext(),a=y.useDebouncedCallback(c,t,[]),h=$e.useCallback(l=>{n(l),l.length===0?o("filter"):(r!=null&&(l=r(l)),a("filter",Ce({term:l})))},[n,r]);return{value:i,onChange:h}},Te=({children:t=s=>Fe.jsxRuntimeExports.jsx(y.Text$1,{placeholder:"Filter",...s}),...e})=>t(ke(e)),Tt=Object.freeze(Object.defineProperty({__proto__:null,Column:y.Column,ColumnContext:y.ColumnContext,Core:y.Core,DataProvider:y.DataProvider,Filter:Te,Hover:y.Hover,ItemFrame:y.ItemFrame,List:Ne.List,Search:y.Search,Selector:y.Selector,selectValueIsZero:y.selectValueIsZero,useDataContext:y.useDataContext,useDataUtilContext:y.useDataUtilContext,useFilter:ke,useGetTransformedData:y.useGetTransformedData,useHoverContext:y.useHoverContext,useSearch:y.useSearch,useSelect:y.useSelect,useSelection:y.useSelection,useSelectionContext:y.useSelectionContext,useSelectionUtils:y.useSelectionUtils,useSetSourceData:y.useSetSourceData,useSourceData:y.useSourceData,useTransformedData:y.useTransformedData},Symbol.toStringTag,{value:"Module"}));exports.Filter=Te;exports.createFilterTransform=Ce;exports.external=Tt;exports.fuseFilter=Pe;exports.proxyMemo=_e;
1
+ "use strict";const y=require("./Toggle-GvJ5CkHq.cjs"),Fe=require("./jsx-runtime-Cek9Ww4S.cjs"),$e=require("react"),de=require("./aggregator-CU9VgdUJ.cjs");require("./css-4MXuPP5v.cjs");require("./Pack-uflj5a28.cjs");const Ne=require("./List-C3bjnukf.cjs"),ge=Symbol(),ee=Symbol(),T="a",N="w";let De=(t,e)=>new Proxy(t,e);const U=Object.getPrototypeOf,ie=new WeakMap,te=t=>t&&(ie.has(t)?ie.get(t):U(t)===Object.prototype||U(t)===Array.prototype),ce=t=>typeof t=="object"&&t!==null,oe=new WeakMap,pe=t=>t[ee]||t,me=(t,e,s)=>{if(!te(t))return t;const r=pe(t),i=(c=>Object.isFrozen(c)||Object.values(Object.getOwnPropertyDescriptors(c)).some(o=>!o.writable))(r);let n=s&&s.get(r);return n&&n[1].f===i||(n=((c,o)=>{const a={f:o};let h=!1;const l=(f,g)=>{if(!h){let p=a[T].get(c);if(p||(p={},a[T].set(c,p)),f===N)p[N]=!0;else{let m=p[f];m||(m=new Set,p[f]=m),m.add(g)}}},u={get:(f,g)=>g===ee?c:(l("k",g),me(Reflect.get(f,g),a[T],a.c)),has:(f,g)=>g===ge?(h=!0,a[T].delete(c),!0):(l("h",g),Reflect.has(f,g)),getOwnPropertyDescriptor:(f,g)=>(l("o",g),Reflect.getOwnPropertyDescriptor(f,g)),ownKeys:f=>(l(N),Reflect.ownKeys(f))};return o&&(u.set=u.deleteProperty=()=>!1),[u,a]})(r,i),n[1].p=De(i?(c=>{let o=oe.get(c);if(!o){if(Array.isArray(c))o=Array.from(c);else{const a=Object.getOwnPropertyDescriptors(c);Object.values(a).forEach(h=>{h.configurable=!0}),o=Object.create(U(c),a)}oe.set(c,o)}return o})(r):r,n[0]),s&&s.set(r,n)),n[1][T]=e,n[1].c=s,n[1].p},ye=(t,e,s,r)=>{if(Object.is(t,e))return!1;if(!ce(t)||!ce(e))return!0;const i=s.get(pe(t));if(!i)return!0;if(r){const c=r.get(t);if(c&&c.n===e)return c.g;r.set(t,{n:e,g:!1})}let n=null;try{for(const c of i.h||[])if(n=Reflect.has(t,c)!==Reflect.has(e,c),n)return n;if(i[N]===!0){if(n=((c,o)=>{const a=Reflect.ownKeys(c),h=Reflect.ownKeys(o);return a.length!==h.length||a.some((l,u)=>l!==h[u])})(t,e),n)return n}else for(const c of i.o||[])if(n=!!Reflect.getOwnPropertyDescriptor(t,c)!=!!Reflect.getOwnPropertyDescriptor(e,c),n)return n;for(const c of i.k||[])if(n=ye(t[c],e[c],s,r),n)return n;return n===null&&(n=!0),n}finally{r&&r.set(t,{n:e,g:n})}},je=t=>!!te(t)&&ge in t,Me=t=>te(t)&&t[ee]||null,Ke="h",Ye="w",We="o",ze="k",V=t=>typeof t=="object"&&t!==null,Ee=(t,e)=>{if(!V(t))return t;const s=Me(t);return s!==null?(je(t),s):(e.has(t)||(e.add(t),Object.entries(t).forEach(([r,i])=>{const n=Ee(i,e);Object.is(n,i)||(t[r]=n)})),t)},B=(t,e,s)=>{var r,i,n;if(!V(t)||!V(e))return;const c=s.get(Me(e)||e);c&&((r=c[Ke])==null||r.forEach(o=>{Reflect.has(t,o)}),c[Ye]===!0&&Reflect.ownKeys(t),(i=c[We])==null||i.forEach(o=>{Reflect.getOwnPropertyDescriptor(t,o)}),(n=c[ze])==null||n.forEach(o=>{B(t[o],e[o],s)}))},Y="o",W="r",z="a";function He(t,e){var s;let r=0;const i=(s=e==null?void 0:e.size)!=null?s:1,n=[],c=e!=null&&e.noWeakMap?null:new WeakMap;return a=>{const h=c==null?void 0:c.get(a);if(h)return h[W];for(let p=0;p<i;p+=1){const m=n[(r+p)%i];if(!m)break;if(!ye(m[Y],a,m[z],new WeakMap))return B(a,m[Y],m[z]),c==null||c.set(a,m),m[W]}const l=new WeakMap,u=me(a,l),f=Ee(t(u),new Set);B(a,a,l);const g={[Y]:a,[W]:f,[z]:l};return r=(r-1+i)%i,n[r]=g,c==null||c.set(a,g),f}}const _e=(t,e)=>de.w.RUNTIME==="browser"?He(t,e):t;function R(t){return Array.isArray?Array.isArray(t):Re(t)==="[object Array]"}const Ue=1/0;function Ve(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-Ue?"-0":e}function Be(t){return t==null?"":Ve(t)}function S(t){return typeof t=="string"}function Se(t){return typeof t=="number"}function Ge(t){return t===!0||t===!1||Je(t)&&Re(t)=="[object Boolean]"}function xe(t){return typeof t=="object"}function Je(t){return xe(t)&&t!==null}function M(t){return t!=null}function H(t){return!t.trim().length}function Re(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Qe="Incorrect 'index' type",Xe=t=>`Invalid value for key ${t}`,Ze=t=>`Pattern length exceeds max of ${t}.`,qe=t=>`Missing ${t} property in key`,et=t=>`Property 'weight' in key '${t}' must be a positive integer`,ae=Object.prototype.hasOwnProperty;class tt{constructor(e){this._keys=[],this._keyMap={};let s=0;e.forEach(r=>{let i=Oe(r);this._keys.push(i),this._keyMap[i.id]=i,s+=i.weight}),this._keys.forEach(r=>{r.weight/=s})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Oe(t){let e=null,s=null,r=null,i=1,n=null;if(S(t)||R(t))r=t,e=le(t),s=G(t);else{if(!ae.call(t,"name"))throw new Error(qe("name"));const c=t.name;if(r=c,ae.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(et(c));e=le(c),s=G(c),n=t.getFn}return{path:e,id:s,weight:i,src:r,getFn:n}}function le(t){return R(t)?t:t.split(".")}function G(t){return R(t)?t.join("."):t}function st(t,e){let s=[],r=!1;const i=(n,c,o)=>{if(M(n))if(!c[o])s.push(n);else{let a=c[o];const h=n[a];if(!M(h))return;if(o===c.length-1&&(S(h)||Se(h)||Ge(h)))s.push(Be(h));else if(R(h)){r=!0;for(let l=0,u=h.length;l<u;l+=1)i(h[l],c,o+1)}else c.length&&i(h,c,o+1)}};return i(t,S(e)?e.split("."):e,0),r?s:s[0]}const rt={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},nt={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},it={location:0,threshold:.6,distance:100},ct={useExtendedSearch:!1,getFn:st,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var d={...nt,...rt,...it,...ct};const ot=/[^ ]+/g;function at(t=1,e=3){const s=new Map,r=Math.pow(10,e);return{get(i){const n=i.match(ot).length;if(s.has(n))return s.get(n);const c=1/Math.pow(n,.5*t),o=parseFloat(Math.round(c*r)/r);return s.set(n,o),o},clear(){s.clear()}}}class se{constructor({getFn:e=d.getFn,fieldNormWeight:s=d.fieldNormWeight}={}){this.norm=at(s,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((s,r)=>{this._keysMap[s.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,S(this.docs[0])?this.docs.forEach((e,s)=>{this._addString(e,s)}):this.docs.forEach((e,s)=>{this._addObject(e,s)}),this.norm.clear())}add(e){const s=this.size();S(e)?this._addString(e,s):this._addObject(e,s)}removeAt(e){this.records.splice(e,1);for(let s=e,r=this.size();s<r;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(e,s){return e[this._keysMap[s]]}size(){return this.records.length}_addString(e,s){if(!M(e)||H(e))return;let r={v:e,i:s,n:this.norm.get(e)};this.records.push(r)}_addObject(e,s){let r={i:s,$:{}};this.keys.forEach((i,n)=>{let c=i.getFn?i.getFn(e):this.getFn(e,i.path);if(M(c)){if(R(c)){let o=[];const a=[{nestedArrIndex:-1,value:c}];for(;a.length;){const{nestedArrIndex:h,value:l}=a.pop();if(M(l))if(S(l)&&!H(l)){let u={v:l,i:h,n:this.norm.get(l)};o.push(u)}else R(l)&&l.forEach((u,f)=>{a.push({nestedArrIndex:f,value:u})})}r.$[n]=o}else if(S(c)&&!H(c)){let o={v:c,n:this.norm.get(c)};r.$[n]=o}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function we(t,e,{getFn:s=d.getFn,fieldNormWeight:r=d.fieldNormWeight}={}){const i=new se({getFn:s,fieldNormWeight:r});return i.setKeys(t.map(Oe)),i.setSources(e),i.create(),i}function lt(t,{getFn:e=d.getFn,fieldNormWeight:s=d.fieldNormWeight}={}){const{keys:r,records:i}=t,n=new se({getFn:e,fieldNormWeight:s});return n.setKeys(r),n.setIndexRecords(i),n}function $(t,{errors:e=0,currentLocation:s=0,expectedLocation:r=0,distance:i=d.distance,ignoreLocation:n=d.ignoreLocation}={}){const c=e/t.length;if(n)return c;const o=Math.abs(r-s);return i?c+o/i:o?1:c}function ht(t=[],e=d.minMatchCharLength){let s=[],r=-1,i=-1,n=0;for(let c=t.length;n<c;n+=1){let o=t[n];o&&r===-1?r=n:!o&&r!==-1&&(i=n-1,i-r+1>=e&&s.push([r,i]),r=-1)}return t[n-1]&&n-r>=e&&s.push([r,n-1]),s}const L=32;function ut(t,e,s,{location:r=d.location,distance:i=d.distance,threshold:n=d.threshold,findAllMatches:c=d.findAllMatches,minMatchCharLength:o=d.minMatchCharLength,includeMatches:a=d.includeMatches,ignoreLocation:h=d.ignoreLocation}={}){if(e.length>L)throw new Error(Ze(L));const l=e.length,u=t.length,f=Math.max(0,Math.min(r,u));let g=n,p=f;const m=o>1||a,A=m?Array(u):[];let x;for(;(x=t.indexOf(e,p))>-1;){let E=$(e,{currentLocation:x,expectedLocation:f,distance:i,ignoreLocation:h});if(g=Math.min(E,g),p=x+l,m){let O=0;for(;O<l;)A[x+O]=1,O+=1}}p=-1;let P=[],b=1,v=l+u;const ve=1<<l-1;for(let E=0;E<l;E+=1){let O=0,w=v;for(;O<w;)$(e,{errors:E,currentLocation:f+w,expectedLocation:f,distance:i,ignoreLocation:h})<=g?O=w:v=w,w=Math.floor((v-O)/2+O);v=w;let re=Math.max(1,f-w+1),K=c?u:Math.min(f+w,u)+l,C=Array(K+2);C[K+1]=(1<<E)-1;for(let _=K;_>=re;_-=1){let F=_-1,ne=s[t.charAt(F)];if(m&&(A[F]=+!!ne),C[_]=(C[_+1]<<1|1)&ne,E&&(C[_]|=(P[_+1]|P[_])<<1|1|P[_+1]),C[_]&ve&&(b=$(e,{errors:E,currentLocation:F,expectedLocation:f,distance:i,ignoreLocation:h}),b<=g)){if(g=b,p=F,p<=f)break;re=Math.max(1,2*f-p)}}if($(e,{errors:E+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:h})>g)break;P=C}const j={isMatch:p>=0,score:Math.max(.001,b)};if(m){const E=ht(A,o);E.length?a&&(j.indices=E):j.isMatch=!1}return j}function ft(t){let e={};for(let s=0,r=t.length;s<r;s+=1){const i=t.charAt(s);e[i]=(e[i]||0)|1<<r-s-1}return e}class Ie{constructor(e,{location:s=d.location,threshold:r=d.threshold,distance:i=d.distance,includeMatches:n=d.includeMatches,findAllMatches:c=d.findAllMatches,minMatchCharLength:o=d.minMatchCharLength,isCaseSensitive:a=d.isCaseSensitive,ignoreLocation:h=d.ignoreLocation}={}){if(this.options={location:s,threshold:r,distance:i,includeMatches:n,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(f,g)=>{this.chunks.push({pattern:f,alphabet:ft(f),startIndex:g})},u=this.pattern.length;if(u>L){let f=0;const g=u%L,p=u-g;for(;f<p;)l(this.pattern.substr(f,L),f),f+=L;if(g){const m=u-L;l(this.pattern.substr(m),m)}}else l(this.pattern,0)}searchIn(e){const{isCaseSensitive:s,includeMatches:r}=this.options;if(s||(e=e.toLowerCase()),this.pattern===e){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,e.length-1]]),p}const{location:i,distance:n,threshold:c,findAllMatches:o,minMatchCharLength:a,ignoreLocation:h}=this.options;let l=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:m,startIndex:A})=>{const{isMatch:x,score:P,indices:b}=ut(e,p,m,{location:i+A,distance:n,threshold:c,findAllMatches:o,minMatchCharLength:a,includeMatches:r,ignoreLocation:h});x&&(f=!0),u+=P,x&&b&&(l=[...l,...b])});let g={isMatch:f,score:f?u/this.chunks.length:1};return f&&r&&(g.indices=l),g}}class I{constructor(e){this.pattern=e}static isMultiMatch(e){return he(e,this.multiRegex)}static isSingleMatch(e){return he(e,this.singleRegex)}search(){}}function he(t,e){const s=t.match(e);return s?s[1]:null}class dt extends I{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const s=e===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class gt extends I{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class pt extends I{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const s=e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class mt extends I{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const s=!e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class yt extends I{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const s=e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Mt extends I{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const s=!e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class Ae extends I{constructor(e,{location:s=d.location,threshold:r=d.threshold,distance:i=d.distance,includeMatches:n=d.includeMatches,findAllMatches:c=d.findAllMatches,minMatchCharLength:o=d.minMatchCharLength,isCaseSensitive:a=d.isCaseSensitive,ignoreLocation:h=d.ignoreLocation}={}){super(e),this._bitapSearch=new Ie(e,{location:s,threshold:r,distance:i,includeMatches:n,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class be extends I{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let s=0,r;const i=[],n=this.pattern.length;for(;(r=e.indexOf(this.pattern,s))>-1;)s=r+n,i.push([r,s-1]);const c=!!i.length;return{isMatch:c,score:c?0:1,indices:i}}}const J=[dt,be,pt,mt,Mt,yt,gt,Ae],ue=J.length,Et=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,_t="|";function St(t,e={}){return t.split(_t).map(s=>{let r=s.trim().split(Et).filter(n=>n&&!!n.trim()),i=[];for(let n=0,c=r.length;n<c;n+=1){const o=r[n];let a=!1,h=-1;for(;!a&&++h<ue;){const l=J[h];let u=l.isMultiMatch(o);u&&(i.push(new l(u,e)),a=!0)}if(!a)for(h=-1;++h<ue;){const l=J[h];let u=l.isSingleMatch(o);if(u){i.push(new l(u,e));break}}}return i})}const xt=new Set([Ae.type,be.type]);class Rt{constructor(e,{isCaseSensitive:s=d.isCaseSensitive,includeMatches:r=d.includeMatches,minMatchCharLength:i=d.minMatchCharLength,ignoreLocation:n=d.ignoreLocation,findAllMatches:c=d.findAllMatches,location:o=d.location,threshold:a=d.threshold,distance:h=d.distance}={}){this.query=null,this.options={isCaseSensitive:s,includeMatches:r,minMatchCharLength:i,findAllMatches:c,ignoreLocation:n,location:o,threshold:a,distance:h},this.pattern=s?e:e.toLowerCase(),this.query=St(this.pattern,this.options)}static condition(e,s){return s.useExtendedSearch}searchIn(e){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let n=0,c=[],o=0;for(let a=0,h=s.length;a<h;a+=1){const l=s[a];c.length=0,n=0;for(let u=0,f=l.length;u<f;u+=1){const g=l[u],{isMatch:p,indices:m,score:A}=g.search(e);if(p){if(n+=1,o+=A,r){const x=g.constructor.type;xt.has(x)?c=[...c,...m]:c.push(m)}}else{o=0,n=0,c.length=0;break}}if(n){let u={isMatch:!0,score:o/n};return r&&(u.indices=c),u}}return{isMatch:!1,score:1}}}const Q=[];function Ot(...t){Q.push(...t)}function X(t,e){for(let s=0,r=Q.length;s<r;s+=1){let i=Q[s];if(i.condition(t,e))return new i(t,e)}return new Ie(t,e)}const D={AND:"$and",OR:"$or"},Z={PATH:"$path",PATTERN:"$val"},q=t=>!!(t[D.AND]||t[D.OR]),wt=t=>!!t[Z.PATH],It=t=>!R(t)&&xe(t)&&!q(t),fe=t=>({[D.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Le(t,e,{auto:s=!0}={}){const r=i=>{let n=Object.keys(i);const c=wt(i);if(!c&&n.length>1&&!q(i))return r(fe(i));if(It(i)){const a=c?i[Z.PATH]:n[0],h=c?i[Z.PATTERN]:i[a];if(!S(h))throw new Error(Xe(a));const l={keyId:G(a),pattern:h};return s&&(l.searcher=X(h,e)),l}let o={children:[],operator:n[0]};return n.forEach(a=>{const h=i[a];R(h)&&h.forEach(l=>{o.children.push(r(l))})}),o};return q(t)||(t=fe(t)),r(t)}function At(t,{ignoreFieldNorm:e=d.ignoreFieldNorm}){t.forEach(s=>{let r=1;s.matches.forEach(({key:i,norm:n,score:c})=>{const o=i?i.weight:null;r*=Math.pow(c===0&&o?Number.EPSILON:c,(o||1)*(e?1:n))}),s.score=r})}function bt(t,e){const s=t.matches;e.matches=[],M(s)&&s.forEach(r=>{if(!M(r.indices)||!r.indices.length)return;const{indices:i,value:n}=r;let c={indices:i,value:n};r.key&&(c.key=r.key.src),r.idx>-1&&(c.refIndex=r.idx),e.matches.push(c)})}function Lt(t,e){e.score=t.score}function Pt(t,e,{includeMatches:s=d.includeMatches,includeScore:r=d.includeScore}={}){const i=[];return s&&i.push(bt),r&&i.push(Lt),t.map(n=>{const{idx:c}=n,o={item:e[c],refIndex:c};return i.length&&i.forEach(a=>{a(n,o)}),o})}class k{constructor(e,s={},r){this.options={...d,...s},this.options.useExtendedSearch,this._keyStore=new tt(this.options.keys),this.setCollection(e,r)}setCollection(e,s){if(this._docs=e,s&&!(s instanceof se))throw new Error(Qe);this._myIndex=s||we(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){M(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const s=[];for(let r=0,i=this._docs.length;r<i;r+=1){const n=this._docs[r];e(n,r)&&(this.removeAt(r),r-=1,i-=1,s.push(n))}return s}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:s=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:n,sortFn:c,ignoreFieldNorm:o}=this.options;let a=S(e)?S(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return At(a,{ignoreFieldNorm:o}),n&&a.sort(c),Se(s)&&s>-1&&(a=a.slice(0,s)),Pt(a,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){const s=X(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:n,i:c,n:o})=>{if(!M(n))return;const{isMatch:a,score:h,indices:l}=s.searchIn(n);a&&i.push({item:n,idx:c,matches:[{score:h,value:n,norm:o,indices:l}]})}),i}_searchLogical(e){const s=Le(e,this.options),r=(o,a,h)=>{if(!o.children){const{keyId:u,searcher:f}=o,g=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(a,u),searcher:f});return g&&g.length?[{idx:h,item:a,matches:g}]:[]}const l=[];for(let u=0,f=o.children.length;u<f;u+=1){const g=o.children[u],p=r(g,a,h);if(p.length)l.push(...p);else if(o.operator===D.AND)return[]}return l},i=this._myIndex.records,n={},c=[];return i.forEach(({$:o,i:a})=>{if(M(o)){let h=r(s,o,a);h.length&&(n[a]||(n[a]={idx:a,item:o,matches:[]},c.push(n[a])),h.forEach(({matches:l})=>{n[a].matches.push(...l)}))}}),c}_searchObjectList(e){const s=X(e,this.options),{keys:r,records:i}=this._myIndex,n=[];return i.forEach(({$:c,i:o})=>{if(!M(c))return;let a=[];r.forEach((h,l)=>{a.push(...this._findMatches({key:h,value:c[l],searcher:s}))}),a.length&&n.push({idx:o,item:c,matches:a})}),n}_findMatches({key:e,value:s,searcher:r}){if(!M(s))return[];let i=[];if(R(s))s.forEach(({v:n,i:c,n:o})=>{if(!M(n))return;const{isMatch:a,score:h,indices:l}=r.searchIn(n);a&&i.push({score:h,key:e,value:n,idx:c,norm:o,indices:l})});else{const{v:n,n:c}=s,{isMatch:o,score:a,indices:h}=r.searchIn(n);o&&i.push({score:a,key:e,value:n,norm:c,indices:h})}return i}}k.version="7.0.0";k.createIndex=we;k.parseIndex=lt;k.config=d;k.parseQuery=Le;Ot(Rt);const Ct={threshold:.3},Pe=t=>e=>{const s=new k(e,{keys:Object.keys(e[0]),...Ct,...t});return{type:"fuse",page:(r,i)=>e.slice(r*i,(r+1)*i),search:r=>s.search(r).map(({item:i})=>i),retrieve:r=>e.filter(i=>r.includes(i.key))}},kt=Pe(),Ce=({term:t,searcher:e=kt})=>_e(({data:s})=>typeof e=="function"?t.length===0||(s==null?void 0:s.length)===0?{data:s,transformed:!1}:{data:e(s).search(t),transformed:!0}:{data:e.search(t),transformed:!0}),ke=({debounce:t=250,value:e,onChange:s,transformBefore:r})=>{const[i,n]=de.usePurePassthrough({onChange:s,value:e,initial:""}),{setTransform:c,deleteTransform:o}=y.useDataUtilContext(),a=y.useDebouncedCallback(c,t,[]),h=$e.useCallback(l=>{n(l),l.length===0?o("filter"):(r!=null&&(l=r(l)),a("filter",Ce({term:l})))},[n,r]);return{value:i,onChange:h}},Te=({children:t=s=>Fe.jsxRuntimeExports.jsx(y.Text$1,{placeholder:"Filter",...s}),...e})=>t(ke(e)),Tt=Object.freeze(Object.defineProperty({__proto__:null,Column:y.Column,ColumnContext:y.ColumnContext,Core:y.Core,DataProvider:y.DataProvider,Filter:Te,Hover:y.Hover,ItemFrame:y.ItemFrame,List:Ne.List,Search:y.Search,Selector:y.Selector,selectValueIsZero:y.selectValueIsZero,useDataContext:y.useDataContext,useDataUtilContext:y.useDataUtilContext,useFilter:ke,useGetTransformedData:y.useGetTransformedData,useHoverContext:y.useHoverContext,useSearch:y.useSearch,useSelect:y.useSelect,useSelection:y.useSelection,useSelectionContext:y.useSelectionContext,useSelectionUtils:y.useSelectionUtils,useSetSourceData:y.useSetSourceData,useSourceData:y.useSourceData,useTransformedData:y.useTransformedData},Symbol.toStringTag,{value:"Module"}));exports.Filter=Te;exports.createFilterTransform=Ce;exports.external=Tt;exports.fuseFilter=Pe;exports.proxyMemo=_e;
@@ -1 +1 @@
1
- "use strict";const S=require("./aggregator-CU9VgdUJ.cjs"),e=require("./Toggle-C5E2dVg4.cjs"),A=require("./Keyboard-B1757gtH.cjs"),o=require("./jsx-runtime-Cek9Ww4S.cjs"),L=require("react"),R=require("./Pack-uflj5a28.cjs"),M=require("./Animated-BGm8tACN.cjs"),y=require("./css-4MXuPP5v.cjs"),P=require("./List-e1hOSGSX.cjs"),z=[],B=({data:t,emptyContent:n,value:s,onChange:l,allowMultiple:u,allowNone:d,hideColumnHeader:r=!1,columns:E=z,visible:x,itemHeight:m=e.Column.itemHeight,listItem:p=e.componentRenderProp(e.Column.Item),replaceOnSingle:i,omit:b,autoSelectOnNone:C,trigger:f,extraDialogContent:h,variant:a="connected",...k})=>{let j=o.jsxRuntimeExports.jsxs(e.Hover,{disabled:!x,children:[h,o.jsxRuntimeExports.jsx(e.Column.Header,{hide:r||p!=null,columns:E,children:o.jsxRuntimeExports.jsx(e.Core.Virtual,{itemHeight:m,children:p})})]});return a!=="connected"&&(j=o.jsxRuntimeExports.jsx(R.Pack,{direction:"y",borderShade:4,className:y.CSS.B("select-dialog-content"),children:j})),o.jsxRuntimeExports.jsx(P.List,{data:t,emptyContent:n,omit:b,children:o.jsxRuntimeExports.jsx(e.Selector,{value:s,onChange:l,allowMultiple:u,allowNone:d,replaceOnSingle:i,autoSelectOnNone:C,children:o.jsxRuntimeExports.jsxs(e.Dialog,{visible:x,className:y.CSS.B("select"),keepMounted:!1,variant:a,...k,children:[f,j]})})})},g=({children:t=N,value:n,onChange:s,entryRenderKey:l="key",allowNone:u=!1,allowMultiple:d=!1,data:r,replaceOnSingle:E,className:x,...m})=>{const{onSelect:p}=e.useSelect({allowMultiple:d,allowNone:u,replaceOnSingle:E,data:r,value:n,onChange:s});return o.jsxRuntimeExports.jsx(R.Pack,{borderShade:4,className:y.CSS(y.CSS.B("select-button"),x),...m,children:r==null?void 0:r.map(i=>t({key:i.key,onClick:()=>p(i.key),selected:i.key===n,entry:i,title:i[l]}))})},N=({entry:t,onClick:n,selected:s,title:l})=>o.jsxRuntimeExports.jsx(e.Button,{onClick:n,variant:s?"filled":"outlined",children:l},t.key),D=({selected:t,renderKey:n,toggle:s,visible:l,children:u,...d})=>o.jsxRuntimeExports.jsx(e.Button,{className:y.CSS.B("select-dropdown-button"),onClick:s,variant:"outlined",endIcon:o.jsxRuntimeExports.jsx(M.Animated,{enabledLoc:"bottom",disabledLoc:"left",enabled:l}),...d,children:u??(t==null?void 0:t[n])}),T=e.componentRenderProp(D),_=({data:t,value:n,columns:s=[],children:l=T,entryRenderKey:u="key",allowNone:d=!1,onChange:r,disabled:E,hideColumnHeader:x=!0,variant:m,dropdownVariant:p,...i})=>{const{close:b,visible:C,toggle:f}=e.use$2(),[h,a]=L.useState((t==null?void 0:t.find(c=>c.key===n))??null);L.useEffect(()=>{a((t==null?void 0:t.find(c=>c.key===n))??null)},[t,n]);const k=L.useCallback((c,v)=>{if(!(Array.isArray(c)||c===null)){if(b(),c==null)return a(null),r(n);a(v.entries[0]),r(c)}},[r,n,b,a]),j={selected:h,renderKey:u,toggle:f,visible:C};return m!=null&&(j.variant=m),o.jsxRuntimeExports.jsx(B,{close:b,data:t,visible:C,value:n,onChange:k,allowMultiple:!1,allowNone:d,columns:s,hideColumnHeader:x,variant:p,trigger:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:l(j)}),...i})},w=[{key:"h2",label:"XL"},{key:"h3",label:"L"},{key:"h4",label:"M"},{key:"p",label:"S"},{key:"small",label:"XS"}],K=({key:t,entry:n,onClick:s,selected:l})=>o.jsxRuntimeExports.jsx(e.Button,{variant:l?"filled":"outlined",onClick:s,children:n.label},t),q=({children:t=K,...n})=>o.jsxRuntimeExports.jsx(g,{...n,data:w,children:t}),O=Object.freeze(Object.defineProperty({__proto__:null,ComponentSizeLevels:S.ComponentSizeLevels,CoreDateTime:e.CoreDateTime,DateTime:e.DateTime,Editable:e.Editable,Keyboard:A.Keyboard,LEVELS:S.LEVELS,LevelComponentSizes:S.LevelComponentSizes,Link:e.Link,MaybeEditable:e.MaybeEditable,SelectLevel:q,Symbols:e.Symbols,Text:e.Text,WithIcon:e.WithIcon,asyncEdit:e.asyncEdit,dimensions:S.dimensions,edit:e.edit,evalColor:e.evalColor,formatChildren:e.formatChildren,levelZ:S.levelZ,specZ:S.specZ},Symbol.toStringTag,{value:"Module"}));exports.BaseButton=D;exports.Button=g;exports.Core=B;exports.DropdownButton=_;exports.SelectLevel=q;exports.defaultButton=T;exports.external=O;
1
+ "use strict";const S=require("./aggregator-CU9VgdUJ.cjs"),e=require("./Toggle-GvJ5CkHq.cjs"),A=require("./Keyboard-BwzZPKjx.cjs"),o=require("./jsx-runtime-Cek9Ww4S.cjs"),L=require("react"),R=require("./Pack-uflj5a28.cjs"),M=require("./Animated-CmYpn592.cjs"),y=require("./css-4MXuPP5v.cjs"),P=require("./List-C3bjnukf.cjs"),z=[],B=({data:t,emptyContent:n,value:s,onChange:l,allowMultiple:u,allowNone:d,hideColumnHeader:r=!1,columns:E=z,visible:x,itemHeight:m=e.Column.itemHeight,listItem:p=e.componentRenderProp(e.Column.Item),replaceOnSingle:i,omit:b,autoSelectOnNone:C,trigger:f,extraDialogContent:h,variant:a="connected",...k})=>{let j=o.jsxRuntimeExports.jsxs(e.Hover,{disabled:!x,children:[h,o.jsxRuntimeExports.jsx(e.Column.Header,{hide:r||p!=null,columns:E,children:o.jsxRuntimeExports.jsx(e.Core.Virtual,{itemHeight:m,children:p})})]});return a!=="connected"&&(j=o.jsxRuntimeExports.jsx(R.Pack,{direction:"y",borderShade:4,className:y.CSS.B("select-dialog-content"),children:j})),o.jsxRuntimeExports.jsx(P.List,{data:t,emptyContent:n,omit:b,children:o.jsxRuntimeExports.jsx(e.Selector,{value:s,onChange:l,allowMultiple:u,allowNone:d,replaceOnSingle:i,autoSelectOnNone:C,children:o.jsxRuntimeExports.jsxs(e.Dialog,{visible:x,className:y.CSS.B("select"),keepMounted:!1,variant:a,...k,children:[f,j]})})})},g=({children:t=N,value:n,onChange:s,entryRenderKey:l="key",allowNone:u=!1,allowMultiple:d=!1,data:r,replaceOnSingle:E,className:x,...m})=>{const{onSelect:p}=e.useSelect({allowMultiple:d,allowNone:u,replaceOnSingle:E,data:r,value:n,onChange:s});return o.jsxRuntimeExports.jsx(R.Pack,{borderShade:4,className:y.CSS(y.CSS.B("select-button"),x),...m,children:r==null?void 0:r.map(i=>t({key:i.key,onClick:()=>p(i.key),selected:i.key===n,entry:i,title:i[l]}))})},N=({entry:t,onClick:n,selected:s,title:l})=>o.jsxRuntimeExports.jsx(e.Button,{onClick:n,variant:s?"filled":"outlined",children:l},t.key),D=({selected:t,renderKey:n,toggle:s,visible:l,children:u,...d})=>o.jsxRuntimeExports.jsx(e.Button,{className:y.CSS.B("select-dropdown-button"),onClick:s,variant:"outlined",endIcon:o.jsxRuntimeExports.jsx(M.Animated,{enabledLoc:"bottom",disabledLoc:"left",enabled:l}),...d,children:u??(t==null?void 0:t[n])}),T=e.componentRenderProp(D),_=({data:t,value:n,columns:s=[],children:l=T,entryRenderKey:u="key",allowNone:d=!1,onChange:r,disabled:E,hideColumnHeader:x=!0,variant:m,dropdownVariant:p,...i})=>{const{close:b,visible:C,toggle:f}=e.use$2(),[h,a]=L.useState((t==null?void 0:t.find(c=>c.key===n))??null);L.useEffect(()=>{a((t==null?void 0:t.find(c=>c.key===n))??null)},[t,n]);const k=L.useCallback((c,v)=>{if(!(Array.isArray(c)||c===null)){if(b(),c==null)return a(null),r(n);a(v.entries[0]),r(c)}},[r,n,b,a]),j={selected:h,renderKey:u,toggle:f,visible:C};return m!=null&&(j.variant=m),o.jsxRuntimeExports.jsx(B,{close:b,data:t,visible:C,value:n,onChange:k,allowMultiple:!1,allowNone:d,columns:s,hideColumnHeader:x,variant:p,trigger:o.jsxRuntimeExports.jsx(o.jsxRuntimeExports.Fragment,{children:l(j)}),...i})},w=[{key:"h2",label:"XL"},{key:"h3",label:"L"},{key:"h4",label:"M"},{key:"p",label:"S"},{key:"small",label:"XS"}],K=({key:t,entry:n,onClick:s,selected:l})=>o.jsxRuntimeExports.jsx(e.Button,{variant:l?"filled":"outlined",onClick:s,children:n.label},t),q=({children:t=K,...n})=>o.jsxRuntimeExports.jsx(g,{...n,data:w,children:t}),O=Object.freeze(Object.defineProperty({__proto__:null,ComponentSizeLevels:S.ComponentSizeLevels,CoreDateTime:e.CoreDateTime,DateTime:e.DateTime,Editable:e.Editable,Keyboard:A.Keyboard,LEVELS:S.LEVELS,LevelComponentSizes:S.LevelComponentSizes,Link:e.Link,MaybeEditable:e.MaybeEditable,SelectLevel:q,Symbols:e.Symbols,Text:e.Text,WithIcon:e.WithIcon,asyncEdit:e.asyncEdit,dimensions:S.dimensions,edit:e.edit,evalColor:e.evalColor,formatChildren:e.formatChildren,levelZ:S.levelZ,specZ:S.specZ},Symbol.toStringTag,{value:"Module"}));exports.BaseButton=D;exports.Button=g;exports.Core=B;exports.DropdownButton=_;exports.SelectLevel=q;exports.defaultButton=T;exports.external=O;
@@ -1 +1 @@
1
- "use strict";const k=require("./aggregator-CU9VgdUJ.cjs"),R=require("./jsx-runtime-Cek9Ww4S.cjs"),d=require("./Toggle-C5E2dVg4.cjs"),x=require("react"),re=require("./Link-BGZki0c9.cjs"),se=require("./Animated-BGm8tACN.cjs"),h=require("./css-4MXuPP5v.cjs");require("./Pack-uflj5a28.cjs");const le=require("./List-e1hOSGSX.cjs"),Y=(e,t)=>t.includes(e.key),H=(e,t)=>{t&&e.sort((n,s)=>k.F.stringsWithNumbers(n.name,s.name));let r=!1;for(let n=0;n<e.length;n++){const s=e[n];s.forcePosition!=null&&n!==s.forcePosition&&(r=!0,e.splice(n,1),e.splice(s.forcePosition,0,s))}return r?H(e,!1):e},K=({nodes:e,expanded:t,depth:r=0,sort:n=!0})=>{r===0&&n&&(e=e.sort((l,i)=>l.name.localeCompare(i.name)));const s=[];return e.forEach((l,i)=>{const o=Y(l,t);s.push({...l,depth:r,expanded:o,index:i}),o&&l.children!=null&&(l.children=H(l.children,n),s.push(...K({nodes:l.children,expanded:t,depth:r+1,sort:n})))}),s},ae=({tree:e,destination:t,keys:r})=>(r=k.A(r),r.forEach(n=>{const s=j({tree:e,key:n});s!=null&&(z({tree:e,keys:n}),Q({tree:e,destination:t,additions:s}))}),e),z=({tree:e,keys:t})=>{t=k.A(t);const r=e.map(n=>n.key);return t.forEach(n=>{var l;const s=r.indexOf(n);if(s!==-1)e.splice(s,1);else{const i=q({tree:e,key:n});i!=null&&(i.children=(l=i.children)==null?void 0:l.filter(o=>o.key!==n))}}),e},Q=({tree:e,destination:t,additions:r})=>{r=k.A(r);const n=j({tree:e,key:t});if(n==null)throw new Error(`Could not find node with key ${t}`);n.children==null&&(n.children=[]);const s=r.map(l=>l.key);return n.children=[...r,...n.children.filter(l=>!s.includes(l.key))],e},ie=({tree:e,key:t,updater:r,throwOnMissing:n=!0})=>{var i,o;const s=j({tree:e,key:t});if(s==null){if(n)throw new Error(`Could not find node with key ${t}`);return e}const l=q({tree:e,key:t});if(l!=null){const a=(i=l.children)==null?void 0:i.findIndex(S=>S.key===t);a!=null&&a!==-1&&((o=l.children)==null||o.splice(a,1,r(s)))}else e.splice(e.findIndex(a=>a.key===t),1,r(s));return e},oe=({tree:e,parent:t,updater:r,throwOnMissing:n=!0})=>{const s=j({tree:e,key:t});if(s==null){if(n)throw new Error(`Could not find node with key ${t}`);return e}return s.children=r(s.children??[]),e},j=({tree:e,key:t,depth:r=0})=>{for(let n=0;n<e.length;n++){const s=e[n];if(s.key===t){const l=s;return l.depth=r,l.position=n,l}if(s.children!=null){const l=j({tree:s.children,key:t,depth:r+1});if(l!=null)return l}}return null},ce=({tree:e,keys:t})=>{const r=[];for(const n of t){const s=j({tree:e,key:n});s!=null&&r.push(s)}return r},q=({tree:e,key:t})=>{for(const r of e)if(r.children!=null){if(r.children.some(s=>s.key===t))return r;const n=q({tree:r.children,key:t});if(n!=null)return n}return null},V=e=>e.map(t=>({...t,children:V(t.children??[])})),J=(...e)=>{const t=[];return e.forEach(r=>{t.push(r),r.children!=null&&t.push(...J(...r.children))}),t},M="tree-item",de=[["Shift"]],ue=e=>{const{onExpand:t,nodes:r,initialExpanded:n=[],sort:s=!0,selected:l,onSelectedChange:i}=e??{},[o,a,S]=d.useCombinedStateAndRef(n),[c,N]=k.usePassthrough({initial:[],value:l,onChange:i}),T=x.useMemo(()=>K({nodes:r,expanded:o,sort:s}),[r,o,s]),v=d.useSyncedRef(T),w=d.useHeldRef({triggers:de}),P=x.useCallback((f,{clicked:u})=>{N(f);const C=v.current.find(b=>b.key===u);if((C==null?void 0:C.hasChildren)===!1||u==null||w.current.held)return;const E=S.current,I=E.some(b=>b===u)?"contract":"expand";let y=E;I==="contract"?y=E.filter(b=>b!==u):y=[...E,u],a(y),t==null||t({current:y,action:I,clicked:u})},[t,v,a,N]),p=x.useCallback(f=>{a(u=>k.n([...u,f])),t==null||t({current:o,action:"expand",clicked:f})},[a]),L=x.useCallback(f=>{a(u=>u.filter(C=>C!==f)),t==null||t({current:o,action:"contract",clicked:f})},[a]),_=x.useCallback(()=>a([]),[a]);return{onSelect:P,selected:c,expanded:o,contract:L,expand:p,nodes:T,clearExpanded:_}},G=x.memo(({entry:e,selected:t,onSelect:r,onDrop:n,onRename:s,onSuccessfulDrop:l,onDoubleClick:i,loading:o=!1,useMargin:a=!0,translate:S})=>{const{key:c,hasChildren:N=!1,allowRename:T=!1,children:v,icon:w,name:P,depth:p,expanded:L,href:_,haulItems:f=[]}=e,{getSelected:u}=d.useSelectionUtils(),{getSourceData:C}=d.useDataUtilContext(),E=N||v!=null&&v.length>0,I=[];E&&I.push(R.jsxRuntimeExports.jsx(se.Animated,{enabled:L,enabledLoc:"bottom",disabledLoc:"right"})),w!=null&&I.push(w);const y=[];o&&y.push(R.jsxRuntimeExports.jsx(d.Qt.Loading,{className:h.CSS.B("loading-indicator")}));const[b,O]=x.useState(!1),{startDrag:U,...Z}=d.useDragAndDrop({type:"Tree.Item",key:c,canDrop:x.useCallback(({items:m,source:$})=>{const g=m.map(A=>A.key);return O(!1),$.type==="Tree.Item"&&!g.includes(c)},[]),onDrop:x.useCallback(m=>(n==null?void 0:n(c,m))??[],[c,n]),onDragOver:x.useCallback(()=>O(!0),[])}),D=()=>{const m=u(),$=C().filter(g=>m.includes(g.key));if(m.includes(c)){const g=$.map(({key:A,haulItems:B,depth:W})=>[{type:M,key:A,data:{depth:W}},...(B==null?void 0:B.map(X=>({...X,data:{...X.data,depth:W}})))??[]]).flat();return U(g,A=>l==null?void 0:l(c,A))}U([{type:M,key:c,data:{depth:p}},...f.map(g=>({...g,data:{...g.data,depth:p}}))],g=>l==null?void 0:l(c,g))},ee=a?"marginLeft":"paddingLeft";let F=p*2+1;E&&a&&(F-=1);const te={id:c,variant:"text",draggable:f.length>0,className:h.CSS(h.CSS.BE("list","item"),d.CONTEXT_TARGET,b&&h.CSS.M("dragging-over"),t&&d.CONTEXT_SELECTED,h.CSS.selected(t),E&&h.CSS.M("has-children"),h.CSS.BM("depth",p.toString())),onDragLeave:()=>O(!1),onDragStart:D,onClick:()=>r==null?void 0:r(c),style:{border:"none",position:S!=null?"absolute":"relative",transform:`translateY(${S}px)`,[ee]:`${F}rem`,"--pluto-tree-indicator-offset":`${p*1.5+(p===0?0:.5)}rem`},startIcon:I,iconSpacing:"small",noWrap:!0,endIcon:y,onDoubleClick:m=>i==null?void 0:i(c,m),href:_,...Z},ne=_!=null?re.Link:d.Button;return R.jsxRuntimeExports.jsx(ne,{className:h.CSS.BE("list","item"),...te,children:R.jsxRuntimeExports.jsx(d.MaybeEditable,{id:`text-${c}`,level:"p",allowDoubleClick:!1,value:P,disabled:!T,onChange:m=>s==null?void 0:s(c,m)})})});G.displayName="Tree.Item";const fe=d.componentRenderProp(G),he=({nodes:e,selected:t=[],onSelect:r,onDrop:n,onRename:s,onSuccessfulDrop:l,onDoubleClick:i,className:o,children:a=fe,itemHeight:S=27,useMargin:c=!1,showRules:N=!1,virtual:T=!0,clearExpanded:v,expand:w,contract:P,emptyContent:p,loading:L,..._})=>{const f=T?d.Core.Virtual:d.Core;return R.jsxRuntimeExports.jsx(le.List,{data:e,emptyContent:p,children:R.jsxRuntimeExports.jsx(d.Selector,{value:t,onChange:r,allowMultiple:!0,replaceOnSingle:!0,children:R.jsxRuntimeExports.jsx(f,{itemHeight:S,className:h.CSS(o,h.CSS.B("tree"),N&&h.CSS.M("rules")),..._,children:({key:u,...C})=>a({...C,key:u,loading:L===u,useMargin:c,onDrop:n,onRename:s,onSuccessfulDrop:l,onDoubleClick:i})})})})},pe=(e,t)=>d.edit(`text-${e}`,t),me=e=>d.asyncEdit(`text-${e}`),ge=Object.freeze(Object.defineProperty({__proto__:null,DefaultItem:G,HAUL_TYPE:M,Tree:he,asyncRename:me,deepCopy:V,findNode:j,findNodeParent:q,findNodes:ce,flatten:K,getDescendants:J,moveNode:ae,removeNode:z,setNode:Q,shouldExpand:Y,sortAndSplice:H,startRenaming:pe,updateNode:ie,updateNodeChildren:oe,use:ue},Symbol.toStringTag,{value:"Module"}));exports.external=ge;
1
+ "use strict";const k=require("./aggregator-CU9VgdUJ.cjs"),R=require("./jsx-runtime-Cek9Ww4S.cjs"),d=require("./Toggle-GvJ5CkHq.cjs"),x=require("react"),re=require("./Link-mthAKDPf.cjs"),se=require("./Animated-CmYpn592.cjs"),h=require("./css-4MXuPP5v.cjs");require("./Pack-uflj5a28.cjs");const le=require("./List-C3bjnukf.cjs"),Y=(e,t)=>t.includes(e.key),H=(e,t)=>{t&&e.sort((n,s)=>k.F.stringsWithNumbers(n.name,s.name));let r=!1;for(let n=0;n<e.length;n++){const s=e[n];s.forcePosition!=null&&n!==s.forcePosition&&(r=!0,e.splice(n,1),e.splice(s.forcePosition,0,s))}return r?H(e,!1):e},K=({nodes:e,expanded:t,depth:r=0,sort:n=!0})=>{r===0&&n&&(e=e.sort((l,i)=>l.name.localeCompare(i.name)));const s=[];return e.forEach((l,i)=>{const o=Y(l,t);s.push({...l,depth:r,expanded:o,index:i}),o&&l.children!=null&&(l.children=H(l.children,n),s.push(...K({nodes:l.children,expanded:t,depth:r+1,sort:n})))}),s},ae=({tree:e,destination:t,keys:r})=>(r=k.A(r),r.forEach(n=>{const s=j({tree:e,key:n});s!=null&&(z({tree:e,keys:n}),Q({tree:e,destination:t,additions:s}))}),e),z=({tree:e,keys:t})=>{t=k.A(t);const r=e.map(n=>n.key);return t.forEach(n=>{var l;const s=r.indexOf(n);if(s!==-1)e.splice(s,1);else{const i=q({tree:e,key:n});i!=null&&(i.children=(l=i.children)==null?void 0:l.filter(o=>o.key!==n))}}),e},Q=({tree:e,destination:t,additions:r})=>{r=k.A(r);const n=j({tree:e,key:t});if(n==null)throw new Error(`Could not find node with key ${t}`);n.children==null&&(n.children=[]);const s=r.map(l=>l.key);return n.children=[...r,...n.children.filter(l=>!s.includes(l.key))],e},ie=({tree:e,key:t,updater:r,throwOnMissing:n=!0})=>{var i,o;const s=j({tree:e,key:t});if(s==null){if(n)throw new Error(`Could not find node with key ${t}`);return e}const l=q({tree:e,key:t});if(l!=null){const a=(i=l.children)==null?void 0:i.findIndex(S=>S.key===t);a!=null&&a!==-1&&((o=l.children)==null||o.splice(a,1,r(s)))}else e.splice(e.findIndex(a=>a.key===t),1,r(s));return e},oe=({tree:e,parent:t,updater:r,throwOnMissing:n=!0})=>{const s=j({tree:e,key:t});if(s==null){if(n)throw new Error(`Could not find node with key ${t}`);return e}return s.children=r(s.children??[]),e},j=({tree:e,key:t,depth:r=0})=>{for(let n=0;n<e.length;n++){const s=e[n];if(s.key===t){const l=s;return l.depth=r,l.position=n,l}if(s.children!=null){const l=j({tree:s.children,key:t,depth:r+1});if(l!=null)return l}}return null},ce=({tree:e,keys:t})=>{const r=[];for(const n of t){const s=j({tree:e,key:n});s!=null&&r.push(s)}return r},q=({tree:e,key:t})=>{for(const r of e)if(r.children!=null){if(r.children.some(s=>s.key===t))return r;const n=q({tree:r.children,key:t});if(n!=null)return n}return null},V=e=>e.map(t=>({...t,children:V(t.children??[])})),J=(...e)=>{const t=[];return e.forEach(r=>{t.push(r),r.children!=null&&t.push(...J(...r.children))}),t},M="tree-item",de=[["Shift"]],ue=e=>{const{onExpand:t,nodes:r,initialExpanded:n=[],sort:s=!0,selected:l,onSelectedChange:i}=e??{},[o,a,S]=d.useCombinedStateAndRef(n),[c,N]=k.usePassthrough({initial:[],value:l,onChange:i}),T=x.useMemo(()=>K({nodes:r,expanded:o,sort:s}),[r,o,s]),v=d.useSyncedRef(T),w=d.useHeldRef({triggers:de}),P=x.useCallback((f,{clicked:u})=>{N(f);const C=v.current.find(b=>b.key===u);if((C==null?void 0:C.hasChildren)===!1||u==null||w.current.held)return;const E=S.current,I=E.some(b=>b===u)?"contract":"expand";let y=E;I==="contract"?y=E.filter(b=>b!==u):y=[...E,u],a(y),t==null||t({current:y,action:I,clicked:u})},[t,v,a,N]),p=x.useCallback(f=>{a(u=>k.n([...u,f])),t==null||t({current:o,action:"expand",clicked:f})},[a]),L=x.useCallback(f=>{a(u=>u.filter(C=>C!==f)),t==null||t({current:o,action:"contract",clicked:f})},[a]),_=x.useCallback(()=>a([]),[a]);return{onSelect:P,selected:c,expanded:o,contract:L,expand:p,nodes:T,clearExpanded:_}},G=x.memo(({entry:e,selected:t,onSelect:r,onDrop:n,onRename:s,onSuccessfulDrop:l,onDoubleClick:i,loading:o=!1,useMargin:a=!0,translate:S})=>{const{key:c,hasChildren:N=!1,allowRename:T=!1,children:v,icon:w,name:P,depth:p,expanded:L,href:_,haulItems:f=[]}=e,{getSelected:u}=d.useSelectionUtils(),{getSourceData:C}=d.useDataUtilContext(),E=N||v!=null&&v.length>0,I=[];E&&I.push(R.jsxRuntimeExports.jsx(se.Animated,{enabled:L,enabledLoc:"bottom",disabledLoc:"right"})),w!=null&&I.push(w);const y=[];o&&y.push(R.jsxRuntimeExports.jsx(d.Qt.Loading,{className:h.CSS.B("loading-indicator")}));const[b,O]=x.useState(!1),{startDrag:U,...Z}=d.useDragAndDrop({type:"Tree.Item",key:c,canDrop:x.useCallback(({items:m,source:$})=>{const g=m.map(A=>A.key);return O(!1),$.type==="Tree.Item"&&!g.includes(c)},[]),onDrop:x.useCallback(m=>(n==null?void 0:n(c,m))??[],[c,n]),onDragOver:x.useCallback(()=>O(!0),[])}),D=()=>{const m=u(),$=C().filter(g=>m.includes(g.key));if(m.includes(c)){const g=$.map(({key:A,haulItems:B,depth:W})=>[{type:M,key:A,data:{depth:W}},...(B==null?void 0:B.map(X=>({...X,data:{...X.data,depth:W}})))??[]]).flat();return U(g,A=>l==null?void 0:l(c,A))}U([{type:M,key:c,data:{depth:p}},...f.map(g=>({...g,data:{...g.data,depth:p}}))],g=>l==null?void 0:l(c,g))},ee=a?"marginLeft":"paddingLeft";let F=p*2+1;E&&a&&(F-=1);const te={id:c,variant:"text",draggable:f.length>0,className:h.CSS(h.CSS.BE("list","item"),d.CONTEXT_TARGET,b&&h.CSS.M("dragging-over"),t&&d.CONTEXT_SELECTED,h.CSS.selected(t),E&&h.CSS.M("has-children"),h.CSS.BM("depth",p.toString())),onDragLeave:()=>O(!1),onDragStart:D,onClick:()=>r==null?void 0:r(c),style:{border:"none",position:S!=null?"absolute":"relative",transform:`translateY(${S}px)`,[ee]:`${F}rem`,"--pluto-tree-indicator-offset":`${p*1.5+(p===0?0:.5)}rem`},startIcon:I,iconSpacing:"small",noWrap:!0,endIcon:y,onDoubleClick:m=>i==null?void 0:i(c,m),href:_,...Z},ne=_!=null?re.Link:d.Button;return R.jsxRuntimeExports.jsx(ne,{className:h.CSS.BE("list","item"),...te,children:R.jsxRuntimeExports.jsx(d.MaybeEditable,{id:`text-${c}`,level:"p",allowDoubleClick:!1,value:P,disabled:!T,onChange:m=>s==null?void 0:s(c,m)})})});G.displayName="Tree.Item";const fe=d.componentRenderProp(G),he=({nodes:e,selected:t=[],onSelect:r,onDrop:n,onRename:s,onSuccessfulDrop:l,onDoubleClick:i,className:o,children:a=fe,itemHeight:S=27,useMargin:c=!1,showRules:N=!1,virtual:T=!0,clearExpanded:v,expand:w,contract:P,emptyContent:p,loading:L,..._})=>{const f=T?d.Core.Virtual:d.Core;return R.jsxRuntimeExports.jsx(le.List,{data:e,emptyContent:p,children:R.jsxRuntimeExports.jsx(d.Selector,{value:t,onChange:r,allowMultiple:!0,replaceOnSingle:!0,children:R.jsxRuntimeExports.jsx(f,{itemHeight:S,className:h.CSS(o,h.CSS.B("tree"),N&&h.CSS.M("rules")),..._,children:({key:u,...C})=>a({...C,key:u,loading:L===u,useMargin:c,onDrop:n,onRename:s,onSuccessfulDrop:l,onDoubleClick:i})})})})},pe=(e,t)=>d.edit(`text-${e}`,t),me=e=>d.asyncEdit(`text-${e}`),ge=Object.freeze(Object.defineProperty({__proto__:null,DefaultItem:G,HAUL_TYPE:M,Tree:he,asyncRename:me,deepCopy:V,findNode:j,findNodeParent:q,findNodes:ce,flatten:K,getDescendants:J,moveNode:ae,removeNode:z,setNode:Q,shouldExpand:Y,sortAndSplice:H,startRenaming:pe,updateNode:ie,updateNodeChildren:oe,use:ue},Symbol.toStringTag,{value:"Module"}));exports.external=ge;
@@ -1,5 +1,5 @@
1
1
  import { S as e, a as t, b as a, t as r } from "./aggregator-B36SA-20.js";
2
- import { P as s, S as o, t as S, u, a as i, b as n, c as m } from "./Toggle-B96EPQ2x.js";
2
+ import { P as s, S as o, t as S, u, a as i, b as n, c as m } from "./Toggle-CqrGlCW8.js";
3
3
  const p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  Provider: s,
@@ -1 +1 @@
1
- "use strict";const l=require("./jsx-runtime-Cek9Ww4S.cjs"),u=require("./Toggle-C5E2dVg4.cjs"),S=require("react"),_=require("./Pack-uflj5a28.cjs"),r=require("./css-4MXuPP5v.cjs"),z=require("./aggregator-CU9VgdUJ.cjs");require("./Item-C89uBEra.cjs");const j=require("zod"),N=(n,s)=>S.cloneElement(n,{className:r.CSS(n.props.className,r.CSS.B("sub"),r.CSS.M(s))}),k=({topRight:n,topLeft:s,bottomLeft:e,bottomRight:o,children:t,className:c,...i})=>l.jsxRuntimeExports.jsxs("div",{className:r.CSS(c,r.CSS.B("icon")),...i,children:[n&&N(n,"topRight"),s&&N(s,"topLeft"),e&&N(e,"bottomLeft"),o&&N(o,"bottomRight"),t]}),W=n=>l.jsxRuntimeExports.jsx(k,{topRight:l.jsxRuntimeExports.jsx(u.Qt.Add,{}),...n}),X=n=>l.jsxRuntimeExports.jsx(k,{topRight:l.jsxRuntimeExports.jsx(u.Qt.Import,{}),...n}),y=(n,s)=>{if(n!=null){if(typeof n=="string"){const e=z._.get(u.Qt,n);return l.jsxRuntimeExports.jsx(e,{...s})}return S.cloneElement(n,s)}},$=Object.freeze(Object.defineProperty({__proto__:null,Create:W,Icon:k,Import:X,resolve:y},Symbol.toStringTag,{value:"Module"})),I=(n="",s=[])=>{var e;if(s.length!==0)return s.find(o=>o.tabKey===n)!=null?n:(e=s[s.length-1])==null?void 0:e.tabKey},M=(n,s,e)=>{if(s=s.trim(),s.length===0)return e;const o=e.find(t=>t.tabKey===n);return o==null||o.name===s?e:e.map(t=>t.tabKey===n?{...t,name:s}:t)},O=({tabs:n,content:s,selected:e,onSelect:o})=>{var x;const[t,c]=z.usePurePassthrough({initial:e??((x=n[0])==null?void 0:x.tabKey)??"",value:e,onChange:o}),i=u.useSyncedRef(e??t),a=S.useCallback(p=>{c(p),i.current==null&&(o==null||o(p))},[t,o]);return{tabs:n,selected:t,content:s,onSelect:a}},P=S.createContext({tabs:[]}),w=P.Provider,q=()=>S.useContext(P),Q=({id:n,content:s,children:e,onSelect:o,selected:t,selectedAltColor:c,closable:i,tabs:a,onClose:x,onDragStart:p,onDragEnd:b,onCreate:C,onRename:g,emptyContent:v,className:B,onDragOver:f,onDrop:R,contextMenu:m,size:E="medium",direction:T="y",...h})=>l.jsxRuntimeExports.jsx(_.Space,{id:n,empty:!0,className:r.CSS(r.CSS.B("tabs"),B),onDragOver:f,onDrop:R,direction:T,...h,children:l.jsxRuntimeExports.jsxs(w,{value:{tabs:a,emptyContent:v,selected:t,closable:i,content:e??s,onSelect:o,onClose:x,onDragStart:p,onDragEnd:b,onRename:g,onCreate:C,onDrop:R},children:[l.jsxRuntimeExports.jsx(A,{size:E,direction:r.g.swap(T),altColor:c,contextMenu:m}),l.jsxRuntimeExports.jsx(L,{})]})}),L=()=>{const{tabs:n,selected:s,content:e,emptyContent:o,onSelect:t}=q();let c=null;const i=n.find(a=>a.tabKey===s);return s==null||i==null?o??null:(e!=null?typeof e=="function"?c=e(i):c=e:i.content!=null&&(c=i.content),l.jsxRuntimeExports.jsx("div",{className:r.CSS.B("tabs-content"),onClick:()=>t==null?void 0:t(s),children:c}))},d="tabs-selector",A=({className:n,altColor:s=!1,size:e="medium",direction:o="x",contextMenu:t,...c})=>{const{tabs:i,selected:a,onSelect:x,onClose:p,closable:b,onDragEnd:C,onDragStart:g,onDrop:v,onRename:B,onCreate:f}=q(),R=u.useContextMenu(),m=l.jsxRuntimeExports.jsxs(_.Space,{className:r.CSS(r.CSS.B(d),r.CSS.size(e),n),align:"center",justify:"spaceBetween",onDrop:v,empty:!0,direction:o,...c,children:[l.jsxRuntimeExports.jsx(_.Space,{direction:o,className:r.CSS.BE(d,"tabs"),empty:!0,children:i.map(E=>l.jsxRuntimeExports.jsx(G,{selected:a,altColor:s,onSelect:x,onClose:p,onDragStart:g,onDragEnd:C,onRename:B,closable:E.closable??b,size:e,...E},E.tabKey))}),f!=null&&l.jsxRuntimeExports.jsx(_.Space,{className:r.CSS.BE(d,"actions"),children:l.jsxRuntimeExports.jsx(u.Icon,{size:e,sharp:!0,onClick:f,children:l.jsxRuntimeExports.jsx(u.Qt.Add,{})})})]});return t!=null?l.jsxRuntimeExports.jsx(u.ContextMenu,{style:{height:"fit-content"},...R,menu:t,children:m}):m},G=({selected:n,altColor:s=!1,onSelect:e,onClose:o,tabKey:t,name:c,onDragStart:i,onDragEnd:a,onRename:x,closable:p=!0,icon:b,size:C,editable:g=!0})=>{const v=S.useCallback(h=>i==null?void 0:i(h,{tabKey:t,name:c}),[i,t,c]),B=S.useCallback(h=>a==null?void 0:a(h,{tabKey:t,name:c}),[a,t,c]),f=S.useCallback(h=>{h.stopPropagation(),o==null||o(t)},[o,t]),R=S.useCallback(()=>e==null?void 0:e(t),[e,t]),m=n===t,E=b!=null,T=z.ComponentSizeLevels[C];return l.jsxRuntimeExports.jsxs(_.Pack,{size:C,id:t,className:r.CSS(r.CSS.BE(d,"btn"),u.CONTEXT_TARGET,x==null&&r.CSS.BEM(d,"btn","uneditable"),m&&u.CONTEXT_SELECTED,r.CSS.selected(m),r.CSS.altColor(s),p&&o!=null&&r.CSS.BEM(d,"btn","closable"),E&&r.CSS.BEM(d,"btn","has-icon")),draggable:!0,direction:"x",justify:"center",align:"center",onClick:R,onDragStart:v,onDragEnd:B,bordered:!1,rounded:!1,children:[y(b,{className:r.CSS.BE(d,"icon"),style:{color:r.CSS.shadeVar(7),height:r.CSS.levelSizeVar(T),width:r.CSS.levelSizeVar(T)}}),l.jsxRuntimeExports.jsx(F,{name:c,tabKey:t,onRename:x,editable:g,level:z.ComponentSizeLevels[C]}),p&&o!=null&&l.jsxRuntimeExports.jsx(u.Icon,{onClick:f,children:l.jsxRuntimeExports.jsx(u.Qt.Close,{"aria-label":"pluto-tabs__close"})})]})},F=({onRename:n,name:s,tabKey:e,editable:o=!0,...t})=>n==null||!o?l.jsxRuntimeExports.jsx(u.Text,{noWrap:!0,...t,children:s}):l.jsxRuntimeExports.jsx(u.Editable,{id:r.CSS.B(`tab-${e}`),onChange:c=>n(e,c),value:s,noWrap:!0,...t}),V=j.z.object({tabKey:j.z.string(),name:j.z.string(),closable:j.z.boolean().optional(),icon:j.z.unknown().optional(),editable:j.z.boolean().optional(),visible:j.z.boolean().optional()}),Z=V.extend({content:j.z.unknown().optional()}),H=Object.freeze(Object.defineProperty({__proto__:null,Content:L,Context:P,Provider:w,Selector:A,Tabs:Q,rename:M,resetSelection:I,specZ:V,tabZ:Z,useContext:q,useStatic:O},Symbol.toStringTag,{value:"Module"}));exports.Icon=$;exports.Tabs=Q;exports.external=H;exports.rename=M;exports.resetSelection=I;exports.resolve=y;exports.tabZ=Z;exports.useStatic=O;
1
+ "use strict";const l=require("./jsx-runtime-Cek9Ww4S.cjs"),u=require("./Toggle-GvJ5CkHq.cjs"),S=require("react"),_=require("./Pack-uflj5a28.cjs"),r=require("./css-4MXuPP5v.cjs"),z=require("./aggregator-CU9VgdUJ.cjs");require("./Item-CPt4Umh0.cjs");const j=require("zod"),N=(n,s)=>S.cloneElement(n,{className:r.CSS(n.props.className,r.CSS.B("sub"),r.CSS.M(s))}),k=({topRight:n,topLeft:s,bottomLeft:e,bottomRight:o,children:t,className:c,...i})=>l.jsxRuntimeExports.jsxs("div",{className:r.CSS(c,r.CSS.B("icon")),...i,children:[n&&N(n,"topRight"),s&&N(s,"topLeft"),e&&N(e,"bottomLeft"),o&&N(o,"bottomRight"),t]}),W=n=>l.jsxRuntimeExports.jsx(k,{topRight:l.jsxRuntimeExports.jsx(u.Qt.Add,{}),...n}),X=n=>l.jsxRuntimeExports.jsx(k,{topRight:l.jsxRuntimeExports.jsx(u.Qt.Import,{}),...n}),y=(n,s)=>{if(n!=null){if(typeof n=="string"){const e=z._.get(u.Qt,n);return l.jsxRuntimeExports.jsx(e,{...s})}return S.cloneElement(n,s)}},$=Object.freeze(Object.defineProperty({__proto__:null,Create:W,Icon:k,Import:X,resolve:y},Symbol.toStringTag,{value:"Module"})),I=(n="",s=[])=>{var e;if(s.length!==0)return s.find(o=>o.tabKey===n)!=null?n:(e=s[s.length-1])==null?void 0:e.tabKey},M=(n,s,e)=>{if(s=s.trim(),s.length===0)return e;const o=e.find(t=>t.tabKey===n);return o==null||o.name===s?e:e.map(t=>t.tabKey===n?{...t,name:s}:t)},O=({tabs:n,content:s,selected:e,onSelect:o})=>{var x;const[t,c]=z.usePurePassthrough({initial:e??((x=n[0])==null?void 0:x.tabKey)??"",value:e,onChange:o}),i=u.useSyncedRef(e??t),a=S.useCallback(p=>{c(p),i.current==null&&(o==null||o(p))},[t,o]);return{tabs:n,selected:t,content:s,onSelect:a}},P=S.createContext({tabs:[]}),w=P.Provider,q=()=>S.useContext(P),Q=({id:n,content:s,children:e,onSelect:o,selected:t,selectedAltColor:c,closable:i,tabs:a,onClose:x,onDragStart:p,onDragEnd:b,onCreate:C,onRename:g,emptyContent:v,className:B,onDragOver:f,onDrop:R,contextMenu:m,size:E="medium",direction:T="y",...h})=>l.jsxRuntimeExports.jsx(_.Space,{id:n,empty:!0,className:r.CSS(r.CSS.B("tabs"),B),onDragOver:f,onDrop:R,direction:T,...h,children:l.jsxRuntimeExports.jsxs(w,{value:{tabs:a,emptyContent:v,selected:t,closable:i,content:e??s,onSelect:o,onClose:x,onDragStart:p,onDragEnd:b,onRename:g,onCreate:C,onDrop:R},children:[l.jsxRuntimeExports.jsx(A,{size:E,direction:r.g.swap(T),altColor:c,contextMenu:m}),l.jsxRuntimeExports.jsx(L,{})]})}),L=()=>{const{tabs:n,selected:s,content:e,emptyContent:o,onSelect:t}=q();let c=null;const i=n.find(a=>a.tabKey===s);return s==null||i==null?o??null:(e!=null?typeof e=="function"?c=e(i):c=e:i.content!=null&&(c=i.content),l.jsxRuntimeExports.jsx("div",{className:r.CSS.B("tabs-content"),onClick:()=>t==null?void 0:t(s),children:c}))},d="tabs-selector",A=({className:n,altColor:s=!1,size:e="medium",direction:o="x",contextMenu:t,...c})=>{const{tabs:i,selected:a,onSelect:x,onClose:p,closable:b,onDragEnd:C,onDragStart:g,onDrop:v,onRename:B,onCreate:f}=q(),R=u.useContextMenu(),m=l.jsxRuntimeExports.jsxs(_.Space,{className:r.CSS(r.CSS.B(d),r.CSS.size(e),n),align:"center",justify:"spaceBetween",onDrop:v,empty:!0,direction:o,...c,children:[l.jsxRuntimeExports.jsx(_.Space,{direction:o,className:r.CSS.BE(d,"tabs"),empty:!0,children:i.map(E=>l.jsxRuntimeExports.jsx(G,{selected:a,altColor:s,onSelect:x,onClose:p,onDragStart:g,onDragEnd:C,onRename:B,closable:E.closable??b,size:e,...E},E.tabKey))}),f!=null&&l.jsxRuntimeExports.jsx(_.Space,{className:r.CSS.BE(d,"actions"),children:l.jsxRuntimeExports.jsx(u.Icon,{size:e,sharp:!0,onClick:f,children:l.jsxRuntimeExports.jsx(u.Qt.Add,{})})})]});return t!=null?l.jsxRuntimeExports.jsx(u.ContextMenu,{style:{height:"fit-content"},...R,menu:t,children:m}):m},G=({selected:n,altColor:s=!1,onSelect:e,onClose:o,tabKey:t,name:c,onDragStart:i,onDragEnd:a,onRename:x,closable:p=!0,icon:b,size:C,editable:g=!0})=>{const v=S.useCallback(h=>i==null?void 0:i(h,{tabKey:t,name:c}),[i,t,c]),B=S.useCallback(h=>a==null?void 0:a(h,{tabKey:t,name:c}),[a,t,c]),f=S.useCallback(h=>{h.stopPropagation(),o==null||o(t)},[o,t]),R=S.useCallback(()=>e==null?void 0:e(t),[e,t]),m=n===t,E=b!=null,T=z.ComponentSizeLevels[C];return l.jsxRuntimeExports.jsxs(_.Pack,{size:C,id:t,className:r.CSS(r.CSS.BE(d,"btn"),u.CONTEXT_TARGET,x==null&&r.CSS.BEM(d,"btn","uneditable"),m&&u.CONTEXT_SELECTED,r.CSS.selected(m),r.CSS.altColor(s),p&&o!=null&&r.CSS.BEM(d,"btn","closable"),E&&r.CSS.BEM(d,"btn","has-icon")),draggable:!0,direction:"x",justify:"center",align:"center",onClick:R,onDragStart:v,onDragEnd:B,bordered:!1,rounded:!1,children:[y(b,{className:r.CSS.BE(d,"icon"),style:{color:r.CSS.shadeVar(7),height:r.CSS.levelSizeVar(T),width:r.CSS.levelSizeVar(T)}}),l.jsxRuntimeExports.jsx(F,{name:c,tabKey:t,onRename:x,editable:g,level:z.ComponentSizeLevels[C]}),p&&o!=null&&l.jsxRuntimeExports.jsx(u.Icon,{onClick:f,children:l.jsxRuntimeExports.jsx(u.Qt.Close,{"aria-label":"pluto-tabs__close"})})]})},F=({onRename:n,name:s,tabKey:e,editable:o=!0,...t})=>n==null||!o?l.jsxRuntimeExports.jsx(u.Text,{noWrap:!0,...t,children:s}):l.jsxRuntimeExports.jsx(u.Editable,{id:r.CSS.B(`tab-${e}`),onChange:c=>n(e,c),value:s,noWrap:!0,...t}),V=j.z.object({tabKey:j.z.string(),name:j.z.string(),closable:j.z.boolean().optional(),icon:j.z.unknown().optional(),editable:j.z.boolean().optional(),visible:j.z.boolean().optional()}),Z=V.extend({content:j.z.unknown().optional()}),H=Object.freeze(Object.defineProperty({__proto__:null,Content:L,Context:P,Provider:w,Selector:A,Tabs:Q,rename:M,resetSelection:I,specZ:V,tabZ:Z,useContext:q,useStatic:O},Symbol.toStringTag,{value:"Module"}));exports.Icon=$;exports.Tabs=Q;exports.external=H;exports.rename=M;exports.resetSelection=I;exports.resolve=y;exports.tabZ=Z;exports.useStatic=O;
@@ -1 +1 @@
1
- "use strict";const e=require("./css-4MXuPP5v.cjs"),l=require("./jsx-runtime-Cek9Ww4S.cjs"),r=require("./Toggle-C5E2dVg4.cjs"),b=require("react");require("./aggregator-CU9VgdUJ.cjs");require("./Pack-uflj5a28.cjs");const d=({value:o,onChange:t,...u})=>{const i=s=>{s.hex==="transparent"&&t(e.ZERO),t(new e.Color(s.hex,s.rgb.a))};return l.jsxRuntimeExports.jsx(r.SketchPicker,{className:e.CSS.B("color-picker"),color:new e.Color(o).hex,onChange:i,presetColors:[],...u})},x="color",g=({value:o,onChange:t,className:u,size:i="medium",onVisibleChange:s,initialVisible:m,draggable:h=!0,...j})=>{const{visible:k,open:y,close:C}=r.use$2({onVisibleChange:s,initialVisible:m}),f=r.use().colors.gray.l0,c=new e.Color(o),w=r.useDraggingState(),S=b.useCallback(({items:a})=>{const[n]=r.filterByType(x,a);return n!=null&&n.key!==c.hex},[c.hex]),{startDrag:R,...E}=r.useDragAndDrop({type:"Color.Swatch",onDrop:({items:a})=>{const n=r.filterByType(x,a);return a.length>0&&(t==null||t(new e.Color(n[0].key))),n},canDrop:S}),p=l.jsxRuntimeExports.jsx(r.Button,{className:e.CSS(e.CSS.B("color-swatch"),e.CSS.size(i),c.contrast(f)>1.5&&c.a>.5&&e.CSS.M("no-border"),e.CSS.dropRegion(S(w)),u),draggable:h,onDragStart:()=>R([{type:x,key:c.hex}]),style:{backgroundColor:e.cssString(o)},variant:"text",onClick:y,size:i,tooltip:t!=null?l.jsxRuntimeExports.jsx(r.Text,{level:"small",children:"Click to change color"}):void 0,...E,...j});return t==null?p:l.jsxRuntimeExports.jsxs(r.Dialog,{close:C,visible:k,className:e.CSS.BE("color-swatch","dropdown"),keepMounted:!1,variant:"floating",zIndex:100,children:[p,l.jsxRuntimeExports.jsx(d,{value:o,onChange:t})]})},D=Object.freeze(Object.defineProperty({__proto__:null,Color:e.Color,Picker:d,Swatch:g,ZERO:e.ZERO,crudeZ:e.crudeZ,cssString:e.cssString,fromHSLA:e.fromHSLA,toHex:e.toHex},Symbol.toStringTag,{value:"Module"}));exports.Swatch=g;exports.external=D;
1
+ "use strict";const e=require("./css-4MXuPP5v.cjs"),l=require("./jsx-runtime-Cek9Ww4S.cjs"),r=require("./Toggle-GvJ5CkHq.cjs"),b=require("react");require("./aggregator-CU9VgdUJ.cjs");require("./Pack-uflj5a28.cjs");const d=({value:o,onChange:t,...u})=>{const i=s=>{s.hex==="transparent"&&t(e.ZERO),t(new e.Color(s.hex,s.rgb.a))};return l.jsxRuntimeExports.jsx(r.SketchPicker,{className:e.CSS.B("color-picker"),color:new e.Color(o).hex,onChange:i,presetColors:[],...u})},x="color",g=({value:o,onChange:t,className:u,size:i="medium",onVisibleChange:s,initialVisible:m,draggable:h=!0,...j})=>{const{visible:k,open:y,close:C}=r.use$2({onVisibleChange:s,initialVisible:m}),f=r.use().colors.gray.l0,c=new e.Color(o),w=r.useDraggingState(),S=b.useCallback(({items:a})=>{const[n]=r.filterByType(x,a);return n!=null&&n.key!==c.hex},[c.hex]),{startDrag:R,...E}=r.useDragAndDrop({type:"Color.Swatch",onDrop:({items:a})=>{const n=r.filterByType(x,a);return a.length>0&&(t==null||t(new e.Color(n[0].key))),n},canDrop:S}),p=l.jsxRuntimeExports.jsx(r.Button,{className:e.CSS(e.CSS.B("color-swatch"),e.CSS.size(i),c.contrast(f)>1.5&&c.a>.5&&e.CSS.M("no-border"),e.CSS.dropRegion(S(w)),u),draggable:h,onDragStart:()=>R([{type:x,key:c.hex}]),style:{backgroundColor:e.cssString(o)},variant:"text",onClick:y,size:i,tooltip:t!=null?l.jsxRuntimeExports.jsx(r.Text,{level:"small",children:"Click to change color"}):void 0,...E,...j});return t==null?p:l.jsxRuntimeExports.jsxs(r.Dialog,{close:C,visible:k,className:e.CSS.BE("color-swatch","dropdown"),keepMounted:!1,variant:"floating",zIndex:100,children:[p,l.jsxRuntimeExports.jsx(d,{value:o,onChange:t})]})},D=Object.freeze(Object.defineProperty({__proto__:null,Color:e.Color,Picker:d,Swatch:g,ZERO:e.ZERO,crudeZ:e.crudeZ,cssString:e.cssString,fromHSLA:e.fromHSLA,toHex:e.toHex},Symbol.toStringTag,{value:"Module"}));exports.Swatch=g;exports.external=D;
@@ -1,5 +1,5 @@
1
- import { B as o, I as e, T as t, g as r } from "./Toggle-B96EPQ2x.js";
2
- import { L as a } from "./Link-Du1lxpym.js";
1
+ import { B as o, I as e, T as t, g as r } from "./Toggle-CqrGlCW8.js";
2
+ import { L as a } from "./Link-my2OWRXu.js";
3
3
  const g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  Button: o,
@@ -1,12 +1,12 @@
1
1
  import { C as E, L as A, h as M, i as T, j as N, s as P } from "./aggregator-B36SA-20.js";
2
- import { aa as _, ab as C, a5 as v, a6 as O, $ as w, a9 as B, ac as z, B as L, X as H, ad as K, ae as X, af as $, ag as F, a2 as I, h as R, i as U, ah as V, a8 as Z, a7 as W, ai as q, aj as G } from "./Toggle-B96EPQ2x.js";
3
- import { K as J } from "./Keyboard-BAU1UuVp.js";
2
+ import { aa as _, ab as C, a5 as v, a6 as O, $ as w, a9 as B, ac as z, B as L, X as H, ad as K, ae as X, af as $, ag as F, a2 as I, h as R, i as U, ah as V, a8 as Z, a7 as W, ai as q, aj as G } from "./Toggle-CqrGlCW8.js";
3
+ import { K as J } from "./Keyboard-CBvQle7r.js";
4
4
  import { j as l } from "./jsx-runtime-B6kdoens.js";
5
5
  import { useState as Q, useEffect as Y, useCallback as ee } from "react";
6
6
  import { P as g } from "./Pack-CxtceW7N.js";
7
- import { A as se } from "./Animated-Cg0ftviS.js";
7
+ import { A as se } from "./Animated-BJ0Om9zo.js";
8
8
  import { C as p } from "./css-C8qHWSpT.js";
9
- import { L as le } from "./List-KmtaD0qw.js";
9
+ import { L as le } from "./List-B1BAwLaq.js";
10
10
  const te = [], ne = ({
11
11
  data: e,
12
12
  emptyContent: s,
@@ -1 +1 @@
1
- "use strict";const e=require("./Toggle-C5E2dVg4.cjs"),M=require("./jsx-runtime-Cek9Ww4S.cjs"),u=require("react");require("./aggregator-CU9VgdUJ.cjs");const o=require("./css-4MXuPP5v.cjs");require("./Pack-uflj5a28.cjs");const f=require("./Text-DWBEhfiF.cjs"),S=t=>{const{listen:i}=e.useContext$1(),[a,l]=u.useState([]);return u.useEffect(()=>i(({next:[r]})=>l(r??[])),[i,l]),M.jsxRuntimeExports.jsx(e.Text,{...t,children:a.join(" ")})},E=({onDrag:t,triggers:i=[["MouseLeft"],["MouseRight"]],bound:a,loose:l=!1})=>{const r=u.useRef(null),g=u.useRef(o.q.ZERO),d=u.useCallback(s=>{const n=o.q.construct(s);if(r.current===null)return;const{triggers:c}=r.current;t({box:o.Eo.construct(g.current,n),cursor:n,triggers:c,stage:"during"})},[t]),m=u.useCallback(s=>{const{stage:n,cursor:c}=s;n==="start"?(t({box:o.Eo.construct(c),...s}),window.addEventListener("mousemove",d),r.current=s,g.current=c):n==="end"&&r.current!=null&&(t({box:o.Eo.construct(g.current,c),...s}),window.removeEventListener("mousemove",d),r.current=null,g.current=o.q.ZERO)},[t]);e.use$1({triggers:i,callback:m,region:a,loose:l})},x=Object.freeze(Object.defineProperty({__proto__:null,ALPHANUMERIC_KEYS:e.ALPHANUMERIC_KEYS,ALPHANUMERIC_KEYS_SET:e.ALPHANUMERIC_KEYS_SET,KEYS:e.KEYS,MOUSE_KEYS:e.MOUSE_KEYS,Provider:e.Provider$1,Status:S,Text:f.Text,compareModeConfigs:e.compareModeConfigs,determineMode:e.determineMode,diff:e.diff,eventKey:e.eventKey,filter:e.filter,flattenConfig:e.flattenConfig,keyZ:e.keyZ,keyboardKey:e.keyboardKey,match:e.match,matchCallback:e.matchCallback,mouseKey:e.mouseKey,mouseKeyZ:e.mouseKeyZ,purge:e.purge,purgeMouse:e.purgeMouse,toSymbols:f.toSymbols,triggerZ:e.triggerZ,use:e.use$1,useContext:e.useContext$1,useDrag:E,useFlattenedMemoConfig:e.useFlattenedMemoConfig,useHeld:e.useHeld,useHeldRef:e.useHeldRef},Symbol.toStringTag,{value:"Module"}));exports.external=x;exports.useDrag=E;
1
+ "use strict";const e=require("./Toggle-GvJ5CkHq.cjs"),M=require("./jsx-runtime-Cek9Ww4S.cjs"),u=require("react");require("./aggregator-CU9VgdUJ.cjs");const o=require("./css-4MXuPP5v.cjs");require("./Pack-uflj5a28.cjs");const f=require("./Text-BvzGtwCB.cjs"),S=t=>{const{listen:i}=e.useContext$1(),[a,l]=u.useState([]);return u.useEffect(()=>i(({next:[r]})=>l(r??[])),[i,l]),M.jsxRuntimeExports.jsx(e.Text,{...t,children:a.join(" ")})},E=({onDrag:t,triggers:i=[["MouseLeft"],["MouseRight"]],bound:a,loose:l=!1})=>{const r=u.useRef(null),g=u.useRef(o.q.ZERO),d=u.useCallback(s=>{const n=o.q.construct(s);if(r.current===null)return;const{triggers:c}=r.current;t({box:o.Eo.construct(g.current,n),cursor:n,triggers:c,stage:"during"})},[t]),m=u.useCallback(s=>{const{stage:n,cursor:c}=s;n==="start"?(t({box:o.Eo.construct(c),...s}),window.addEventListener("mousemove",d),r.current=s,g.current=c):n==="end"&&r.current!=null&&(t({box:o.Eo.construct(g.current,c),...s}),window.removeEventListener("mousemove",d),r.current=null,g.current=o.q.ZERO)},[t]);e.use$1({triggers:i,callback:m,region:a,loose:l})},x=Object.freeze(Object.defineProperty({__proto__:null,ALPHANUMERIC_KEYS:e.ALPHANUMERIC_KEYS,ALPHANUMERIC_KEYS_SET:e.ALPHANUMERIC_KEYS_SET,KEYS:e.KEYS,MOUSE_KEYS:e.MOUSE_KEYS,Provider:e.Provider$1,Status:S,Text:f.Text,compareModeConfigs:e.compareModeConfigs,determineMode:e.determineMode,diff:e.diff,eventKey:e.eventKey,filter:e.filter,flattenConfig:e.flattenConfig,keyZ:e.keyZ,keyboardKey:e.keyboardKey,match:e.match,matchCallback:e.matchCallback,mouseKey:e.mouseKey,mouseKeyZ:e.mouseKeyZ,purge:e.purge,purgeMouse:e.purgeMouse,toSymbols:f.toSymbols,triggerZ:e.triggerZ,use:e.use$1,useContext:e.useContext$1,useDrag:E,useFlattenedMemoConfig:e.useFlattenedMemoConfig,useHeld:e.useHeld,useHeldRef:e.useHeldRef},Symbol.toStringTag,{value:"Module"}));exports.external=x;exports.useDrag=E;
@@ -1 +1 @@
1
- "use strict";const i=require("./jsx-runtime-Cek9Ww4S.cjs"),d=require("./aggregator-CU9VgdUJ.cjs"),c=require("react"),S=require("./Pack-uflj5a28.cjs"),a=require("./Toggle-C5E2dVg4.cjs"),o=require("./css-4MXuPP5v.cjs"),p=c.createContext({divided:!1,level:"h1"}),l=()=>c.useContext(p),j=({children:s,className:r,level:e="h1",divided:n=!1,...t})=>i.jsxRuntimeExports.jsx(p.Provider,{value:{level:e,divided:n},children:i.jsxRuntimeExports.jsx(S.Space,{el:"header",direction:"x",justify:"spaceBetween",className:o.CSS(o.CSS.B("header"),o.CSS.bordered("bottom"),n&&o.CSS.BM("header","divided"),r),...t,children:s})}),m=({children:s=[]})=>{const{level:r,divided:e}=l();return i.jsxRuntimeExports.jsx(S.Space,{direction:"x",size:"small",align:"center",className:o.CSS.BE("header","actions"),children:d.A(s).map((n,t)=>i.jsxRuntimeExports.jsx(E,{index:t,level:r,divided:e,children:n},t))})},E=({index:s,level:r,children:e,divided:n})=>{let t=e;if(!c.isValidElement(e)){const{onClick:x,key:C,...h}=e;t=i.jsxRuntimeExports.jsx(a.Icon,{onClick:u=>{u.stopPropagation(),u.preventDefault(),x==null||x(u)},size:d.LevelComponentSizes[r],...h},C??s)}return i.jsxRuntimeExports.jsxs(c.Fragment,{children:[n&&i.jsxRuntimeExports.jsx(a.Divider,{}),t]},s)},v=({children:s="",className:r,onClick:e,...n})=>{const{level:t}=l();return i.jsxRuntimeExports.jsx(a.Button,{variant:"text",size:d.LevelComponentSizes[t],onClick:e,className:o.CSS(o.CSS.B("header-button-title"),r),sharp:!0,...n,children:s})},R=({className:s,level:r,...e})=>{const{level:n,divided:t}=l();return i.jsxRuntimeExports.jsx(a.WithIcon,{className:o.CSS(o.CSS.BE("header","text"),s),level:r??n,divided:t,size:1.5,...e})},g=Object.freeze(Object.defineProperty({__proto__:null,Actions:m,ButtonTitle:v,Header:j,Title:R,useContext:l},Symbol.toStringTag,{value:"Module"}));exports.Actions=m;exports.ButtonTitle=v;exports.Header=j;exports.external=g;
1
+ "use strict";const i=require("./jsx-runtime-Cek9Ww4S.cjs"),d=require("./aggregator-CU9VgdUJ.cjs"),c=require("react"),S=require("./Pack-uflj5a28.cjs"),a=require("./Toggle-GvJ5CkHq.cjs"),o=require("./css-4MXuPP5v.cjs"),p=c.createContext({divided:!1,level:"h1"}),l=()=>c.useContext(p),j=({children:s,className:r,level:e="h1",divided:n=!1,...t})=>i.jsxRuntimeExports.jsx(p.Provider,{value:{level:e,divided:n},children:i.jsxRuntimeExports.jsx(S.Space,{el:"header",direction:"x",justify:"spaceBetween",className:o.CSS(o.CSS.B("header"),o.CSS.bordered("bottom"),n&&o.CSS.BM("header","divided"),r),...t,children:s})}),m=({children:s=[]})=>{const{level:r,divided:e}=l();return i.jsxRuntimeExports.jsx(S.Space,{direction:"x",size:"small",align:"center",className:o.CSS.BE("header","actions"),children:d.A(s).map((n,t)=>i.jsxRuntimeExports.jsx(E,{index:t,level:r,divided:e,children:n},t))})},E=({index:s,level:r,children:e,divided:n})=>{let t=e;if(!c.isValidElement(e)){const{onClick:x,key:C,...h}=e;t=i.jsxRuntimeExports.jsx(a.Icon,{onClick:u=>{u.stopPropagation(),u.preventDefault(),x==null||x(u)},size:d.LevelComponentSizes[r],...h},C??s)}return i.jsxRuntimeExports.jsxs(c.Fragment,{children:[n&&i.jsxRuntimeExports.jsx(a.Divider,{}),t]},s)},v=({children:s="",className:r,onClick:e,...n})=>{const{level:t}=l();return i.jsxRuntimeExports.jsx(a.Button,{variant:"text",size:d.LevelComponentSizes[t],onClick:e,className:o.CSS(o.CSS.B("header-button-title"),r),sharp:!0,...n,children:s})},R=({className:s,level:r,...e})=>{const{level:n,divided:t}=l();return i.jsxRuntimeExports.jsx(a.WithIcon,{className:o.CSS(o.CSS.BE("header","text"),s),level:r??n,divided:t,size:1.5,...e})},g=Object.freeze(Object.defineProperty({__proto__:null,Actions:m,ButtonTitle:v,Header:j,Title:R,useContext:l},Symbol.toStringTag,{value:"Module"}));exports.Actions=m;exports.ButtonTitle=v;exports.Header=j;exports.external=g;
@@ -1 +1 @@
1
- "use strict";const r=require("./aggregator-CU9VgdUJ.cjs"),e=require("./Toggle-C5E2dVg4.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,SYNNAX_DARK:r.SYNNAX_DARK,SYNNAX_LIGHT:r.SYNNAX_LIGHT,SYNNAX_THEMES:r.SYNNAX_THEMES,Switch:e.Switch,get Theming(){return t},themeZ:r.themeZ,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext,useProvider:e.useProvider,useTypography:e.useTypography},Symbol.toStringTag,{value:"Module"}));exports.external=t;
1
+ "use strict";const r=require("./aggregator-CU9VgdUJ.cjs"),e=require("./Toggle-GvJ5CkHq.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,SYNNAX_DARK:r.SYNNAX_DARK,SYNNAX_LIGHT:r.SYNNAX_LIGHT,SYNNAX_THEMES:r.SYNNAX_THEMES,Switch:e.Switch,get Theming(){return t},themeZ:r.themeZ,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext,useProvider:e.useProvider,useTypography:e.useTypography},Symbol.toStringTag,{value:"Module"}));exports.external=t;
@@ -1 +1 @@
1
- "use strict";const t=require("./Toggle-C5E2dVg4.cjs"),s=require("./jsx-runtime-Cek9Ww4S.cjs"),j=require("./aggregator-CU9VgdUJ.cjs"),h=require("react"),l=require("./css-4MXuPP5v.cjs"),E=require("./Pack-uflj5a28.cjs"),C=({value:r,onChange:n,onBlur:e,onlyChangeOnBlur:a,...d})=>{const[m,c]=h.useState(null),x=(i,p=!1)=>{let u=i.toString();c(u);let o=new j.m(i,"UTC");u.length<23&&(u+=".000"),o=o.add(BigInt(j.m.now().date().getTimezoneOffset()-o.date().getTimezoneOffset())*j.y.MINUTE.valueOf());let T=!1;try{T=o.fString("ISO","local").slice(0,-1)===u}catch(y){console.error(y)}T&&!a&&(n(Number(o.valueOf())),c(null)),p&&(T&&n(Number(o.valueOf())),c(null))},g=i=>{x(i.target.value,!0),c(null),e==null||e(i)},S=i=>{a&&i.key==="Enter"&&i.currentTarget.blur()},f=new j.m(r,"UTC").fString("ISO","local").slice(0,-1);return s.jsxRuntimeExports.jsx(t.Text$1,{type:"datetime-local",onBlur:g,required:!1,onKeyDown:S,value:m??f,onChange:x,...d})},R=({className:r,variant:n="error",...e})=>s.jsxRuntimeExports.jsx(t.Text,{className:l.CSS(l.CSS.B("input-help-text"),l.CSS.BM("input-help-text",n),r),level:"small",...e}),D=({className:r,required:n=!1,children:e,...a})=>s.jsxRuntimeExports.jsxs("label",{className:l.CSS(l.CSS.B("input-label"),r),...a,children:[e," ",n&&s.jsxRuntimeExports.jsx("span",{className:l.CSS.B("required-indicator"),children:"*"})]}),v=(r,n="x")=>r??(l.g.construct(n)==="y"?"stretch":"center"),b=({label:r,showLabel:n=!0,helpText:e,direction:a="y",className:d,children:m,required:c,align:x,size:g="small",padHelpText:S=!1,helpTextVariant:f,showHelpText:i=!0,...p})=>{let u;return i===!1&&n===!1?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:m}):(a==="x"?u=s.jsxRuntimeExports.jsxs(E.Space,{direction:"y",size:"small",children:[m,(S||e!=null&&e.length>0)&&s.jsxRuntimeExports.jsx(R,{variant:f,children:e})]}):u=s.jsxRuntimeExports.jsxs(E.Space,{direction:"y",size:1/3,children:[m,(S||e!=null&&e.length>0)&&s.jsxRuntimeExports.jsx(R,{variant:f,children:e})]}),s.jsxRuntimeExports.jsxs(E.Space,{className:l.CSS(l.CSS.B("input-item"),d),direction:a,size:g,align:v(x,a),...p,children:[n&&s.jsxRuntimeExports.jsx(D,{required:c,children:r}),u]}))},N=Object.freeze(Object.defineProperty({__proto__:null,Date:t.Date,DateTime:C,DragButton:t.DragButton,HelpText:R,Item:b,Label:D,Numeric:t.Numeric,Switch:t.Switch$1,Text:t.Text$1,TextArea:t.TextArea,Time:t.Time,combineDateAndTimeValue:t.combineDateAndTimeValue,useDate:t.useDate,useTime:t.useTime},Symbol.toStringTag,{value:"Module"}));exports.Item=b;exports.external=N;
1
+ "use strict";const t=require("./Toggle-GvJ5CkHq.cjs"),s=require("./jsx-runtime-Cek9Ww4S.cjs"),j=require("./aggregator-CU9VgdUJ.cjs"),h=require("react"),l=require("./css-4MXuPP5v.cjs"),E=require("./Pack-uflj5a28.cjs"),C=({value:r,onChange:n,onBlur:e,onlyChangeOnBlur:a,...d})=>{const[m,c]=h.useState(null),x=(i,p=!1)=>{let u=i.toString();c(u);let o=new j.m(i,"UTC");u.length<23&&(u+=".000"),o=o.add(BigInt(j.m.now().date().getTimezoneOffset()-o.date().getTimezoneOffset())*j.y.MINUTE.valueOf());let T=!1;try{T=o.fString("ISO","local").slice(0,-1)===u}catch(y){console.error(y)}T&&!a&&(n(Number(o.valueOf())),c(null)),p&&(T&&n(Number(o.valueOf())),c(null))},g=i=>{x(i.target.value,!0),c(null),e==null||e(i)},S=i=>{a&&i.key==="Enter"&&i.currentTarget.blur()},f=new j.m(r,"UTC").fString("ISO","local").slice(0,-1);return s.jsxRuntimeExports.jsx(t.Text$1,{type:"datetime-local",onBlur:g,required:!1,onKeyDown:S,value:m??f,onChange:x,...d})},R=({className:r,variant:n="error",...e})=>s.jsxRuntimeExports.jsx(t.Text,{className:l.CSS(l.CSS.B("input-help-text"),l.CSS.BM("input-help-text",n),r),level:"small",...e}),D=({className:r,required:n=!1,children:e,...a})=>s.jsxRuntimeExports.jsxs("label",{className:l.CSS(l.CSS.B("input-label"),r),...a,children:[e," ",n&&s.jsxRuntimeExports.jsx("span",{className:l.CSS.B("required-indicator"),children:"*"})]}),v=(r,n="x")=>r??(l.g.construct(n)==="y"?"stretch":"center"),b=({label:r,showLabel:n=!0,helpText:e,direction:a="y",className:d,children:m,required:c,align:x,size:g="small",padHelpText:S=!1,helpTextVariant:f,showHelpText:i=!0,...p})=>{let u;return i===!1&&n===!1?s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:m}):(a==="x"?u=s.jsxRuntimeExports.jsxs(E.Space,{direction:"y",size:"small",children:[m,(S||e!=null&&e.length>0)&&s.jsxRuntimeExports.jsx(R,{variant:f,children:e})]}):u=s.jsxRuntimeExports.jsxs(E.Space,{direction:"y",size:1/3,children:[m,(S||e!=null&&e.length>0)&&s.jsxRuntimeExports.jsx(R,{variant:f,children:e})]}),s.jsxRuntimeExports.jsxs(E.Space,{className:l.CSS(l.CSS.B("input-item"),d),direction:a,size:g,align:v(x,a),...p,children:[n&&s.jsxRuntimeExports.jsx(D,{required:c,children:r}),u]}))},N=Object.freeze(Object.defineProperty({__proto__:null,Date:t.Date,DateTime:C,DragButton:t.DragButton,HelpText:R,Item:b,Label:D,Numeric:t.Numeric,Switch:t.Switch$1,Text:t.Text$1,TextArea:t.TextArea,Time:t.Time,combineDateAndTimeValue:t.combineDateAndTimeValue,useDate:t.useDate,useTime:t.useTime},Symbol.toStringTag,{value:"Module"}));exports.Item=b;exports.external=N;
@@ -2,7 +2,7 @@ import { j as n } from "./jsx-runtime-B6kdoens.js";
2
2
  import { A as v, h as d } from "./aggregator-B36SA-20.js";
3
3
  import { createContext as h, useContext as j, isValidElement as f, Fragment as B } from "react";
4
4
  import { S as m } from "./Pack-CxtceW7N.js";
5
- import { I as C, m as S, B as b, ah as z } from "./Toggle-B96EPQ2x.js";
5
+ import { I as C, m as S, B as b, ah as z } from "./Toggle-CqrGlCW8.js";
6
6
  import { C as a } from "./css-C8qHWSpT.js";
7
7
  const x = h({
8
8
  divided: !1,
@@ -1 +1 @@
1
- "use strict";const t=require("./Toggle-C5E2dVg4.cjs"),e=require("./Item-C89uBEra.cjs"),n=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_SELECTED:t.CONTEXT_SELECTED,CONTEXT_TARGET:t.CONTEXT_TARGET,ContextMenu:t.ContextMenu,CoreItem:e.CoreItem,Divider:e.Divider,Item:e.Item,ItemIcon:e.ItemIcon,ItemLink:e.ItemLink,Menu:e.Menu,MenuContext:e.MenuContext,useContextMenu:t.useContextMenu,useMenuContext:e.useMenuContext},Symbol.toStringTag,{value:"Module"}));exports.external=n;
1
+ "use strict";const t=require("./Toggle-GvJ5CkHq.cjs"),e=require("./Item-CPt4Umh0.cjs"),n=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_SELECTED:t.CONTEXT_SELECTED,CONTEXT_TARGET:t.CONTEXT_TARGET,ContextMenu:t.ContextMenu,CoreItem:e.CoreItem,Divider:e.Divider,Item:e.Item,ItemIcon:e.ItemIcon,ItemLink:e.ItemLink,Menu:e.Menu,MenuContext:e.MenuContext,useContextMenu:t.useContextMenu,useMenuContext:e.useMenuContext},Symbol.toStringTag,{value:"Module"}));exports.external=n;
@@ -1 +1 @@
1
- "use strict";const e=require("./Toggle-C5E2dVg4.cjs"),o=require("./Link-BGZki0c9.cjs"),n=Object.freeze(Object.defineProperty({__proto__:null,Button:e.Button,Icon:e.Icon,Link:o.Link,Toggle:e.Toggle,ToggleIcon:e.ToggleIcon},Symbol.toStringTag,{value:"Module"}));exports.external=n;
1
+ "use strict";const e=require("./Toggle-GvJ5CkHq.cjs"),o=require("./Link-mthAKDPf.cjs"),n=Object.freeze(Object.defineProperty({__proto__:null,Button:e.Button,Icon:e.Icon,Link:o.Link,Toggle:e.Toggle,ToggleIcon:e.ToggleIcon},Symbol.toStringTag,{value:"Module"}));exports.external=n;
@@ -1,12 +1,12 @@
1
1
  import { F as re, A as k, g as ae, n as se } from "./aggregator-B36SA-20.js";
2
2
  import { j as N } from "./jsx-runtime-B6kdoens.js";
3
- import { a0 as le, a1 as oe, Q as ie, _ as ce, d as de, C as fe, a2 as ue, a3 as he, a4 as pe, V as me, B as ge, a5 as W, a6 as xe, a7 as ye, a8 as Ce, a9 as Ee } from "./Toggle-B96EPQ2x.js";
3
+ import { a0 as le, a1 as oe, Q as ie, _ as ce, d as de, C as fe, a2 as ue, a3 as he, a4 as pe, V as me, B as ge, a5 as W, a6 as xe, a7 as ye, a8 as Ce, a9 as Ee } from "./Toggle-CqrGlCW8.js";
4
4
  import { memo as Ne, useState as be, useCallback as b, useMemo as Te } from "react";
5
- import { L as _e } from "./Link-Du1lxpym.js";
6
- import { A as ve } from "./Animated-Cg0ftviS.js";
5
+ import { L as _e } from "./Link-my2OWRXu.js";
6
+ import { A as ve } from "./Animated-BJ0Om9zo.js";
7
7
  import { C as u } from "./css-C8qHWSpT.js";
8
8
  import "./Pack-CxtceW7N.js";
9
- import { L as Ie } from "./List-KmtaD0qw.js";
9
+ import { L as Ie } from "./List-B1BAwLaq.js";
10
10
  const X = (e, t) => t.includes(e.key), H = (e, t) => {
11
11
  t && e.sort((n, a) => re.stringsWithNumbers(n.name, a.name));
12
12
  let r = !1;
@@ -1,5 +1,5 @@
1
- import { C as e, d as t, e as o, f as a } from "./Toggle-B96EPQ2x.js";
2
- import { C as n, D as s, I as r, a as u, b as C, M as m, c as T, u as i } from "./Item-B8JWj3fN.js";
1
+ import { C as e, d as t, e as o, f as a } from "./Toggle-CqrGlCW8.js";
2
+ import { C as n, D as s, I as r, a as u, b as C, M as m, c as T, u as i } from "./Item-JN1-gBEw.js";
3
3
  const x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  CONTEXT_SELECTED: e,
@@ -1,10 +1,10 @@
1
- import { a1 as fe, au as Pe, ak as ke, ab as ve, av as Te, a5 as Ce, l as Fe, aa as Ne, aw as $e, ax as je, a6 as De, ay as Ke, az as Ye, aA as We, aB as ze, aC as He, ac as Be, aD as Ve, aE as Ue, a0 as Ge, aF as Je, aG as Qe, aH as Xe } from "./Toggle-B96EPQ2x.js";
1
+ import { a1 as fe, au as Pe, ak as ke, ab as ve, av as Te, a5 as Ce, l as Fe, aa as Ne, aw as $e, ax as je, a6 as De, ay as Ke, az as Ye, aA as We, aB as ze, aC as He, ac as Be, aD as Ve, aE as Ue, a0 as Ge, aF as Je, aG as Qe, aH as Xe } from "./Toggle-CqrGlCW8.js";
2
2
  import { j as Ze } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useCallback as qe } from "react";
4
4
  import { w as et, k as tt } from "./aggregator-B36SA-20.js";
5
5
  import "./css-C8qHWSpT.js";
6
6
  import "./Pack-CxtceW7N.js";
7
- import { L as st } from "./List-KmtaD0qw.js";
7
+ import { L as st } from "./List-B1BAwLaq.js";
8
8
  const de = Symbol(), q = Symbol(), v = "a", N = "w";
9
9
  let rt = (t, e) => new Proxy(t, e);
10
10
  const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) => t && (ne.has(t) ? ne.get(t) : H(t) === Object.prototype || H(t) === Array.prototype), ie = (t) => typeof t == "object" && t !== null, ce = /* @__PURE__ */ new WeakMap(), ge = (t) => t[q] || t, pe = (t, e, s) => {
@@ -1,10 +1,10 @@
1
1
  import { j as r } from "./jsx-runtime-B6kdoens.js";
2
- import { Q as T, a4 as V, f as Q, I as O, e as W, d as X, C as Z, i as G, af as q } from "./Toggle-B96EPQ2x.js";
2
+ import { Q as T, a4 as V, f as Q, I as O, e as W, d as X, C as Z, i as G, af as q } from "./Toggle-CqrGlCW8.js";
3
3
  import { cloneElement as w, createContext as F, useCallback as N, useContext as H } from "react";
4
4
  import { S as P, P as J } from "./Pack-CxtceW7N.js";
5
5
  import { C as o, g as U } from "./css-C8qHWSpT.js";
6
6
  import { _ as Y, k as D, C as M } from "./aggregator-B36SA-20.js";
7
- import "./Item-B8JWj3fN.js";
7
+ import "./Item-JN1-gBEw.js";
8
8
  import { z as p } from "zod";
9
9
  const y = (n, s) => w(n, {
10
10
  className: o(n.props.className, o.B("sub"), o.M(s))
@@ -1,4 +1,4 @@
1
- import { ak as T, i as D, al as N, am as O, an as I, ao as w, ap as z, aq as A, ar as B, as as C, at as _ } from "./Toggle-B96EPQ2x.js";
1
+ import { ak as T, i as D, al as N, am as O, an as I, ao as w, ap as z, aq as A, ar as B, as as C, at as _ } from "./Toggle-CqrGlCW8.js";
2
2
  import { j as t } from "./jsx-runtime-B6kdoens.js";
3
3
  import { m as S, y as k } from "./aggregator-B36SA-20.js";
4
4
  import { useState as q } from "react";
@@ -1,6 +1,6 @@
1
1
  import { C as r, a as l, Z as g, c as f, b as v, f as E, t as T } from "./css-C8qHWSpT.js";
2
2
  import { j as c } from "./jsx-runtime-B6kdoens.js";
3
- import { W as Z, X as A, u as C, Y as H, Z as m, _ as M, B as N, i as O, $ as R } from "./Toggle-B96EPQ2x.js";
3
+ import { W as Z, X as A, u as C, Y as H, Z as m, _ as M, B as N, i as O, $ as R } from "./Toggle-CqrGlCW8.js";
4
4
  import { useCallback as z } from "react";
5
5
  import "./aggregator-B36SA-20.js";
6
6
  import "./Pack-CxtceW7N.js";
package/dist/header.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-Icf6LMl2.cjs");exports.Header=e.external;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-C-xh9EwI.cjs");exports.Header=e.external;
package/dist/header.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e as a } from "./external-Dk66psus.js";
1
+ import { e as a } from "./external-Cewuz6Gm.js";
2
2
  export {
3
3
  a as Header
4
4
  };