@vanelsas/baredom 2.8.0 → 2.9.0

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 (110) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/custom-elements.json +467 -0
  3. package/dist/baredom.d.ts +5 -0
  4. package/dist/base.js +453 -450
  5. package/dist/integrity.json +102 -97
  6. package/dist/x-alert.js +17 -17
  7. package/dist/x-avatar-group.js +9 -9
  8. package/dist/x-avatar.js +14 -14
  9. package/dist/x-badge.js +9 -9
  10. package/dist/x-bento-grid.js +5 -5
  11. package/dist/x-bento-item.js +4 -4
  12. package/dist/x-breadcrumbs.js +13 -13
  13. package/dist/x-button.js +17 -16
  14. package/dist/x-cancel-dialogue.js +13 -13
  15. package/dist/x-card.js +7 -7
  16. package/dist/x-carousel.js +31 -31
  17. package/dist/x-chart.js +46 -46
  18. package/dist/x-checkbox.js +10 -10
  19. package/dist/x-chip.js +1 -1
  20. package/dist/x-collapse.js +8 -8
  21. package/dist/x-color-picker.js +45 -44
  22. package/dist/x-combobox.js +24 -24
  23. package/dist/x-command-palette.js +24 -24
  24. package/dist/x-confetti.d.ts +50 -0
  25. package/dist/x-confetti.js +23 -0
  26. package/dist/x-container.js +4 -4
  27. package/dist/x-context-menu.js +20 -20
  28. package/dist/x-copy.js +20 -20
  29. package/dist/x-currency-field.js +22 -22
  30. package/dist/x-date-picker.js +40 -40
  31. package/dist/x-divider.js +8 -8
  32. package/dist/x-drawer.js +9 -9
  33. package/dist/x-dropdown.js +9 -9
  34. package/dist/x-fieldset.js +4 -4
  35. package/dist/x-file-download.js +5 -5
  36. package/dist/x-file-upload.js +20 -20
  37. package/dist/x-form-field.js +14 -14
  38. package/dist/x-form.js +9 -9
  39. package/dist/x-gaussian-blur.js +12 -12
  40. package/dist/x-grid.js +6 -6
  41. package/dist/x-i18n-provider.js +7 -7
  42. package/dist/x-i18n.js +4 -4
  43. package/dist/x-icon.js +6 -6
  44. package/dist/x-image.js +17 -17
  45. package/dist/x-kbd.d.ts +17 -0
  46. package/dist/x-kbd.js +17 -0
  47. package/dist/x-kinetic-canvas.js +25 -25
  48. package/dist/x-kinetic-font.js +27 -27
  49. package/dist/x-kinetic-typography.js +33 -33
  50. package/dist/x-liquid-dock.js +38 -39
  51. package/dist/x-liquid-fill.js +44 -44
  52. package/dist/x-liquid-glass.js +47 -47
  53. package/dist/x-menu-item.js +8 -8
  54. package/dist/x-menu.js +9 -9
  55. package/dist/x-metaball-cursor.js +25 -26
  56. package/dist/x-modal.js +10 -10
  57. package/dist/x-morph-stack.js +37 -37
  58. package/dist/x-multi-combobox.js +34 -34
  59. package/dist/x-navbar.js +12 -12
  60. package/dist/x-neural-glow.js +32 -32
  61. package/dist/x-notification-center.js +9 -9
  62. package/dist/x-organic-divider.js +17 -17
  63. package/dist/x-organic-progress.js +37 -37
  64. package/dist/x-organic-shape.js +13 -13
  65. package/dist/x-otp-input.d.ts +55 -0
  66. package/dist/x-otp-input.js +23 -0
  67. package/dist/x-pagination.js +15 -15
  68. package/dist/x-particle-button.js +50 -50
  69. package/dist/x-popover.js +25 -25
  70. package/dist/x-progress-circle.js +8 -8
  71. package/dist/x-progress.js +10 -10
  72. package/dist/x-proximity-list.d.ts +43 -0
  73. package/dist/x-proximity-list.js +20 -0
  74. package/dist/x-radio.js +11 -11
  75. package/dist/x-ripple-effect.js +10 -10
  76. package/dist/x-scroll-parallax.js +18 -18
  77. package/dist/x-scroll-stack.js +17 -17
  78. package/dist/x-scroll-story.js +32 -32
  79. package/dist/x-scroll-timeline.js +45 -45
  80. package/dist/x-scroll.js +38 -38
  81. package/dist/x-search-field.js +14 -14
  82. package/dist/x-select.js +9 -9
  83. package/dist/x-sidebar.js +16 -16
  84. package/dist/x-skeleton-group.js +12 -12
  85. package/dist/x-skeleton.js +1 -1
  86. package/dist/x-slider.js +14 -14
  87. package/dist/x-soft-body.js +21 -21
  88. package/dist/x-spacer.js +4 -4
  89. package/dist/x-spinner.js +4 -4
  90. package/dist/x-splash.js +12 -12
  91. package/dist/x-spotlight-card.d.ts +19 -0
  92. package/dist/x-spotlight-card.js +13 -0
  93. package/dist/x-stat.js +10 -10
  94. package/dist/x-stepper.js +14 -14
  95. package/dist/x-switch.js +10 -10
  96. package/dist/x-tab.js +6 -6
  97. package/dist/x-table-cell.js +18 -18
  98. package/dist/x-table-row.js +8 -8
  99. package/dist/x-table.js +12 -12
  100. package/dist/x-tabs.js +11 -11
  101. package/dist/x-text-area.js +17 -17
  102. package/dist/x-theme.js +25 -25
  103. package/dist/x-timeline-item.js +21 -21
  104. package/dist/x-timeline.js +8 -8
  105. package/dist/x-toast.js +22 -22
  106. package/dist/x-toaster.js +8 -8
  107. package/dist/x-tooltip.js +11 -11
  108. package/dist/x-typography.js +9 -9
  109. package/dist/x-welcome-tour.js +59 -59
  110. package/package.json +27 -2
package/dist/x-chart.js CHANGED
@@ -1,48 +1,48 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var GX=function(a,b){return function f(d,e){return new $APP.Ad(null,function(){var h=$APP.t(e);if(h){if($APP.Vc(h)){for(var l=$APP.Db(h),m=$APP.z(l),q=$APP.Dd(m),r=0;;)if(r<m){var v=function(){var x=d+r,y=$APP.Fc(l,r);return a.i?a.i(x,y):a.call(null,x,y)}();v!=null&&q.add(v);r+=1}else break;return $APP.Gd(q.aa(),f(d+m,$APP.Eb(h)))}m=function(){var x=$APP.u(h);return a.i?a.i(d,x):a.call(null,d,x)}();return m==null?f(d+1,$APP.dc(h)):$APP.xd(m,f(d+1,$APP.dc(h)))}return null},null)}(0,b)},HX=function(a){return $APP.Jd($APP.wa(function(b,
3
- c){var d=$APP.Lm.g?$APP.Lm.g(c):$APP.Lm.call(null,c);c=$APP.ud.i($APP.Ic(b,d,$APP.pe),c);return $APP.zb(b,d,c)},$APP.wb($APP.Zd),a))},IX=function(a,b){return typeof a==="string"?(a=parseInt(a,10),$APP.p(isNaN(a))&&a>0?a:b):b},JX=function(a,b){var c=function(){var h=a.id;h=$APP.n(h)?""+$APP.Q.g(a.id):h;return $APP.n(h)?h:"s"+$APP.Q.g(b)}(),d=function(){var h=a.label;h=$APP.n(h)?""+$APP.Q.g(a.label):h;return $APP.n(h)?h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.Q.g(a.color):h}(),f=a.data;
4
- return $APP.n($APP.na(f))?new $APP.N(null,4,[$APP.Lm,c,$APP.X,d,$APP.$k,e,$APP.mj,GX(function(h,l){return $APP.n($APP.n(l)?l.x!=null&&l.y!=null:l)?new $APP.N(null,2,[$APP.cn,l.x,$APP.bn,l.y],null):null},$APP.Bc(f))],null):null},KX=function(a){if(typeof a!=="string")return $APP.pe;try{var b=JSON.parse(a);if($APP.n($APP.na(b)))return $APP.Je(GX(function(d,e){return JX(e,d)},$APP.Bc(b)));if($APP.n(function(){var d=$APP.oa(b);return d?$APP.na(b.data):d}())){var c=JX(b,0);return $APP.n(c)?new $APP.De(null,
5
- 1,5,$APP.Ee,[c],null):$APP.pe}return $APP.pe}catch(d){return $APP.pe}},LX=function(a){a=a==null?null:$APP.u(a);a=a==null?null:$APP.mj.g(a);a=a==null?null:$APP.u(a);return $APP.n($APP.n(a)?typeof $APP.cn.g(a)==="string":a)?"category":"numeric"},MX=function(a){a=$APP.le(function(b){return $APP.he.i($APP.bn,$APP.mj.g(b))},$APP.Bc([a]));return $APP.Oc(a)?new $APP.De(null,2,5,$APP.Ee,[0,1],null):new $APP.De(null,2,5,$APP.Ee,[$APP.Rd($APP.Ii,a),$APP.Rd($APP.Hi,a)],null)},NX=function(a){var b=LX(a);if($APP.B.i(b,
6
- "category"))return a=$APP.Sd($APP.Hi,0,$APP.he.i(function(c){return $APP.z($APP.mj.g(c))},a)),new $APP.De(null,2,5,$APP.Ee,[0,$APP.Hi.i(1,a)-1],null);a=$APP.le(function(c){return $APP.he.i($APP.cn,$APP.mj.g(c))},$APP.Bc([a]));return $APP.Oc(a)?new $APP.De(null,2,5,$APP.Ee,[0,1],null):new $APP.De(null,2,5,$APP.Ee,[$APP.Rd($APP.Ii,a),$APP.Rd($APP.Hi,a)],null)},OX=function(a,b){return b==null?(b=Math.abs(a),b>=1E6?""+$APP.Q.g(Math.round(a/1E6))+"M":b>=1E3?""+$APP.Q.g(Math.round(a/1E3))+"K":$APP.n(Number.isInteger(a))?
7
- ""+$APP.Q.g(a):a.toFixed(1)):$APP.B.i(b,"int")?""+$APP.Q.g(Math.round(a)):$APP.B.i(b,"pct")?""+$APP.Q.g(a)+"%":$APP.B.i(b,"abbr")?(b=Math.abs(a),b>=1E9?""+$APP.Q.g((a/1E9).toFixed(1))+"B":b>=1E6?""+$APP.Q.g((a/1E6).toFixed(1))+"M":b>=1E3?""+$APP.Q.g((a/1E3).toFixed(1))+"K":""+$APP.Q.g(a)):$APP.B.i(b,"raw")?""+$APP.Q.g(a):$APP.n(b.startsWith("fixed:"))?(b=parseInt(b.slice(6),10),$APP.n(isNaN(b))?""+$APP.Q.g(a):a.toFixed(b)):""+$APP.Q.g(a)},PX=function(a,b){a=HX(a);return $APP.Je($APP.fe(function(c){$APP.Hc(c,
8
- 0,null);c=$APP.Hc(c,1,null);return $APP.wa(function(d,e){var f=Math.abs($APP.um.g(e)-b);return d==null||f<$APP.jn.g(d)?$APP.Fi.l(e,$APP.jn,f):d},null,c)},a))},QX=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},oY=function(a){a=$APP.Lf([RX,SX,TX,UX,$APP.Fh,VX,WX,XX,YX,ZX,$APP.Hj,$X,aY],[a.getAttribute("selected"),a.getAttribute("padding"),$APP.n(a.hasAttribute("tooltip"))?a.getAttribute("tooltip"):null,a.getAttribute("y-format"),$APP.n(a.hasAttribute("disabled"))?a.getAttribute("disabled"):
9
- null,$APP.n(a.hasAttribute("grid"))?a.getAttribute("grid"):null,$APP.n(a.hasAttribute("axes"))?a.getAttribute("axes"):null,a.getAttribute("height"),a.getAttribute("cursor"),$APP.n(a.hasAttribute("loading"))?a.getAttribute("loading"):null,a.getAttribute("type"),a.getAttribute("data"),a.getAttribute("x-format")]);var b=$APP.J(a);a=$APP.C(b,aY);var c=$APP.C(b,RX),d=$APP.C(b,SX),e=$APP.C(b,TX),f=$APP.C(b,UX),h=$APP.C(b,$APP.Fh),l=$APP.C(b,VX),m=$APP.C(b,WX),q=$APP.C(b,XX),r=$APP.C(b,YX),v=$APP.C(b,ZX),
10
- x=$APP.C(b,$APP.Hj);b=$APP.C(b,$X);b=KX(b);var y=MX(b),A=$APP.Hc(y,0,null),D=$APP.Hc(y,1,null);y=[bY,$APP.vl,cY,dY,$APP.Lj,eY,fY,$APP.R,$APP.$n,gY,$APP.Y,hY,iY,$APP.li,jY,kY];var G=new $APP.De(null,2,5,$APP.Ee,[A,D],null);a:{if(typeof c==="string"&&(c=c.split(":"),$APP.B.i(2,c.length))){var I=parseInt(c[1],10);c=$APP.n(isNaN(I))?null:new $APP.N(null,2,[lY,c[0],$APP.qj,I],null);break a}c=null}m=m==null?!0:$APP.sh(m);v=$APP.sh(v);r=typeof r==="string"&&$APP.Zc(mY,r)?r:"nearest";x=typeof x==="string"&&
11
- $APP.Zc(nY,x)?x:"line";d=IX(d,12);h=$APP.sh(h);e=$APP.sh(e);a:if($APP.B.i(A,D))A=new $APP.De(null,1,5,$APP.Ee,[A],null);else{I=D-A;if(I===0)I=1;else{var H=I/5;I=Math.pow(10,Math.floor(Math.log10(H)));H/=I;I*=H<=1?1:H<=2?2:H<=2.5?2.5:H<=5?5:10}D=Math.floor(D/I)*I;A=Math.ceil(A/I)*I;for(var K=$APP.pe;;){if(A>D+I*1E-4){A=K;break a}H=A+I;K=$APP.ud.i(K,A);A=H}A=void 0}return $APP.Lf(y,[G,c,m,b,v,f,r,x,d,a,h,e,A,IX(q,180),LX(b),l==null?!0:$APP.sh(l)])},pY=function(a,b,c,d){var e=$APP.Hc(b,0,null);b=$APP.Hc(b,
12
- 1,null);e=b-e;return e===0?(c+d)/2:c+(b-a)/e*(d-c)},qY=function(a,b,c,d){var e=$APP.Hc(b,0,null);b=$APP.Hc(b,1,null)-e;return b===0?(c+d)/2:c+(a-e)/b*(d-c)},rY=function(a,b,c,d){var e=QX("line");$APP.ah(e,"x1",""+$APP.Q.g(a));$APP.ah(e,"y1",""+$APP.Q.g(b));$APP.ah(e,"x2",""+$APP.Q.g(c));$APP.ah(e,"y2",""+$APP.Q.g(d));e.setAttribute("stroke","var(--x-chart-grid)");$APP.ah(e,"stroke-opacity",""+$APP.Q.g(1));e.setAttribute("stroke-width","1");return e},sY=function(a,b,c,d){var e=QX("text");$APP.ah(e,
13
- "x",""+$APP.Q.g(a));$APP.ah(e,"y",""+$APP.Q.g(b));e.setAttribute("text-anchor",d);$APP.ah(e,"font-size",""+$APP.Q.g(10));e.setAttribute("fill","var(--x-chart-axis-label)");e.textContent=c;return e},tY=function(a){return"var(--x-chart-series-"+$APP.Q.g($APP.od(a,4)+1)+")"},vY=function(a){if($APP.t(a)){var b=$APP.t(a);a=$APP.u(b);b=$APP.w(b);return"M "+$APP.Q.g($APP.um.g(a))+","+$APP.Q.g(uY.g(a))+$APP.Q.g($APP.Rd($APP.Q,$APP.he.i(function(c){return" L "+$APP.Q.g($APP.um.g(c))+","+$APP.Q.g(uY.g(c))},
14
- b)))}return null},wY=function(a){for(;;){var b=a.lastChild;if($APP.n(b))a.removeChild(b);else break}},BY=function(a,b,c){b=$APP.J(b);var d=$APP.C(b,iY);b=$APP.C(b,bY);var e=$APP.J(c);c=$APP.C(e,xY);var f=$APP.C(e,yY),h=$APP.C(e,zY);e=$APP.C(e,AY);d=$APP.t(d);for(var l=null,m=0,q=0;;)if(q<m){var r=l.F(null,q);r=pY(r,b,f,e);r=rY(c,r,h,r);a.appendChild(r);q+=1}else if(d=$APP.t(d))$APP.Vc(d)?(m=$APP.Db(d),d=$APP.Eb(d),l=m,m=$APP.z(m)):(r=$APP.u(d),l=pY(r,b,f,e),l=rY(c,l,h,l),a.appendChild(l),d=$APP.w(d),
15
- l=null,m=0),q=0;else break},CY=function(a,b,c,d){var e=$APP.J(b),f=$APP.C(e,iY),h=$APP.C(e,bY);b=$APP.C(e,dY);var l=$APP.C(e,jY),m=$APP.C(e,eY),q=$APP.C(e,gY);e=$APP.J(c);var r=$APP.C(e,xY);c=$APP.C(e,yY);var v=$APP.C(e,zY),x=$APP.C(e,AY);f=$APP.t(f);e=null;for(var y=0,A=0;;)if(A<y){var D=e.F(null,A),G=pY(D,h,c,x);D=OX(D,m);G=sY(r-4,G+4,D,"end");a.appendChild(G);A+=1}else if(f=$APP.t(f))$APP.Vc(f)?(y=$APP.Db(f),f=$APP.Eb(f),e=y,y=$APP.z(y)):(y=$APP.u(f),e=pY(y,h,c,x),y=OX(y,m),e=sY(r-4,e+4,y,"end"),
16
- a.appendChild(e),f=$APP.w(f),e=null,y=0),A=0;else break;h=$APP.u(b);if($APP.n(h)){h=$APP.mj.g(h);m=$APP.z(h);var I=NX(b),H=$APP.Hi.i(1,Math.ceil(m/5)|0);$APP.qg($APP.ee(function(K,W){if($APP.od(K,H)===0){if($APP.B.i(l,"category")){var ea=$APP.u($APP.w(I))-$APP.u(I);K=ea<=1?(r+v)/2:r+K/(ea-1)*(v-r)}else K=qY($APP.cn.g(W),I,r,v);W=$APP.B.i(l,"category")?""+$APP.Q.g($APP.cn.g(W)):OX($APP.cn.g(W),q);W=sY(K,x+d+4,W,"middle");return a.appendChild(W)}return null},h))}},FY=function(a,b,c,d,e,f){e=$APP.J(e);
17
- var h=$APP.C(e,xY),l=$APP.C(e,yY),m=$APP.C(e,zY),q=$APP.C(e,AY);return $APP.ee(function(r,v){if($APP.B.i(c,"category")){var x=$APP.Hi.i(1,$APP.z($APP.mj.g(a)))-1;x=x<=1?(h+m)/2:h+r/(x-1)*(m-h)}else x=qY($APP.cn.g(v),d,h,m);var y=pY($APP.bn.g(v),f,l,q);return $APP.Fi.B(v,$APP.um,x,$APP.Bc([uY,y,DY,b,EY,r]))},$APP.mj.g(a))},GY=function(a,b,c){b=vY(b);if($APP.n(b)){var d=QX("path");d.setAttribute("d",b);d.setAttribute("fill","none");d.setAttribute("stroke",c);d.setAttribute("stroke-width","2");d.setAttribute("stroke-linejoin",
18
- "round");d.setAttribute("stroke-linecap","round");return a.appendChild(d)}return null},HY=function(a,b,c,d){if($APP.t(b)){var e=vY(b),f=$APP.Ec(b);b=$APP.u(b);d=""+$APP.Q.g(e)+" L "+$APP.Q.g($APP.um.g(f))+","+$APP.Q.g(d)+" L "+$APP.Q.g($APP.um.g(b))+","+$APP.Q.g(d)+" Z"}else d=null;$APP.n(d)&&(e=QX("path"),e.setAttribute("d",d),e.setAttribute("fill",c),e.setAttribute("fill-opacity","0.18"),e.setAttribute("stroke",c),e.setAttribute("stroke-width","2"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("stroke-linecap",
19
- "round"),a.appendChild(e))},JY=function(a,b,c,d,e,f){var h=$APP.J(e);e=$APP.C(h,xY);h=$APP.C(h,zY);var l=$APP.z(c);e=l===0?0:(h-e)/l;h=e*.08;f=(e-h*2)/f;b*=f;c=$APP.t(c);l=null;for(var m=0,q=0;;)if(q<m){var r=l.F(null,q),v=$APP.um.g(r)+-(e/2)+h+b,x=$APP.Ii.i(uY.g(r),IY.g(r));r=Math.abs(uY.g(r)-IY.g(r));var y=QX("rect");$APP.ah(y,"x",""+$APP.Q.g(v));$APP.ah(y,"y",""+$APP.Q.g(x));$APP.ah(y,"width",""+$APP.Q.g($APP.Hi.i(1,f)));$APP.ah(y,"height",""+$APP.Q.g($APP.Hi.i(0,r)));y.setAttribute("fill",d);
20
- y.setAttribute("rx","2");a.appendChild(y);q+=1}else if(c=$APP.t(c))$APP.Vc(c)?(r=$APP.Db(c),c=$APP.Eb(c),l=r,m=r=$APP.z(r)):(r=$APP.u(c),l=$APP.um.g(r)+-(e/2)+h+b,m=$APP.Ii.i(uY.g(r),IY.g(r)),r=Math.abs(uY.g(r)-IY.g(r)),q=QX("rect"),$APP.ah(q,"x",""+$APP.Q.g(l)),$APP.ah(q,"y",""+$APP.Q.g(m)),$APP.ah(q,"width",""+$APP.Q.g($APP.Hi.i(1,f))),$APP.ah(q,"height",""+$APP.Q.g($APP.Hi.i(0,r))),q.setAttribute("fill",d),q.setAttribute("rx","2"),a.appendChild(q),c=$APP.w(c),l=null,m=0),q=0;else return null},
21
- MY=function(a,b,c,d){if($APP.t(a)){var e=$APP.u(a);b=typeof $APP.cn.g(e)==="string"?""+$APP.Q.g($APP.cn.g(e)):OX($APP.cn.g(e),b);var f=$APP.hf.i($APP.Zd,$APP.ee(function(h,l){var m=$APP.Ee,q=$APP.Lm.g(l);l=$APP.$k.g(l);h=$APP.n(l)?l:tY(h);return new $APP.De(null,2,5,m,[q,h],null)},d));d=$APP.qe(function(h){return new $APP.N(null,5,[$APP.$k,$APP.Ic(f,$APP.Lm.g(h),tY(DY.i(h,0))),$APP.X,""+$APP.Q.g($APP.X.g(h)),$APP.Gh,OX($APP.bn.g(h),c),$APP.um,$APP.um.g(h),uY,uY.g(h)],null)},a);return new $APP.N(null,
22
- 5,[KY,b,$APP.Bk,d,$APP.um,$APP.um.g(e),uY,uY.g(e),LY,$APP.qe(function(h){return new $APP.N(null,3,[$APP.um,$APP.um.g(h),uY,uY.g(h),$APP.$k,$APP.Ic(f,$APP.Lm.g(h),tY(DY.i(h,0)))],null)},a)],null)}return null},NY=function(a){var b=$APP.k(a,"tooltip"),c=$APP.k(a,"crosshair");a=$APP.k(a,"dots");$APP.n(b)&&b.setAttribute("data-visible","false");$APP.n(c)&&c.setAttribute("visibility","hidden");if($APP.n(a))for(b=0;;)if(b<8)c=a[b],$APP.n(c)&&c.setAttribute("visibility","hidden"),b+=1;else return null;else return null},
23
- OY=function(a,b,c){return $APP.wa(function(d,e){var f=$APP.um.g(e)-b,h=uY.g(e)-c;f=f*f+h*h;return d==null||f<$APP.jn.g(d)?$APP.Fi.l(e,$APP.jn,f):d},null,a)},PY=function(a,b,c,d,e,f,h,l,m,q,r){$APP.B.i(h,"none")||(b.addEventListener("pointermove",function(v){var x=b.getBoundingClientRect(),y=v.clientX-x.x;v=v.clientY-x.y;$APP.B.i(h,"x")?y=PX(c,y):(y=OY(c,y,v),y=$APP.n(y)?new $APP.De(null,1,5,$APP.Ee,[y],null):null);v=y;y=$APP.u(v);if($APP.n(y)){if($APP.n(l)&&(x=MY(v,m,q,r),v=$APP.k(d,"tooltip"),$APP.n($APP.n(v)?
24
- x:v))){var A=$APP.J(x),D=$APP.C(A,KY),G=$APP.C(A,$APP.Bk);x=$APP.C(A,$APP.um);var I=$APP.C(A,uY);A=$APP.C(A,LY);var H=$APP.k(d,"tooltip-header"),K=$APP.k(d,"tooltip-body"),W=$APP.k(d,"tooltip-rows"),ea=$APP.k(d,"dots"),va=$APP.k(d,"crosshair");$APP.n(H)&&(H.textContent=D);if($APP.n($APP.n(K)?W:K))for(D=0;;)if(D<8){K=W[D];if($APP.n(K))if(H=$APP.Hc(G,D,null),$APP.n(H)){K.setAttribute("data-hidden","false");K=K.firstChild;var Pa=$APP.n(K)?K.nextSibling:null,eb=$APP.n(Pa)?Pa.nextSibling:null;$APP.n(K)&&
25
- (K.style.backgroundColor=$APP.$k.g(H));$APP.n(Pa)&&(Pa.textContent=$APP.X.g(H));$APP.n(eb)&&(eb.textContent=$APP.Gh.g(H))}else K.setAttribute("data-hidden","true");D+=1}else break;if($APP.n(ea))for(G=0;;)if(G<8)W=ea[G],$APP.n(W)&&(D=$APP.Hc(A,G,null),$APP.n(D)?($APP.ah(W,"cx",""+$APP.Q.g($APP.um.g(D))),$APP.ah(W,"cy",""+$APP.Q.g(uY.g(D))),$APP.ah(W,"fill",$APP.$k.g(D)),W.setAttribute("visibility","visible")):W.setAttribute("visibility","hidden")),G+=1;else break;$APP.n(va)&&va.setAttribute("visibility",
26
- "visible");$APP.n(va)&&$APP.ah(va,"x1",""+$APP.Q.g(x));$APP.n(va)&&$APP.ah(va,"x2",""+$APP.Q.g(x));v.setAttribute("data-visible","true");A=v.offsetWidth;ea=v.offsetHeight;I=I+ea+8>f?I-ea-8:I-4;x=new $APP.N(null,2,[$APP.aj,$APP.Hi.i(8,$APP.Ii.i(x+A+12+8>e?x-A-12:x+12,e-A-8)),$APP.Bj,$APP.Hi.i(8,$APP.Ii.i(I,f-ea-8))],null);I=$APP.J(x);x=$APP.C(I,$APP.aj);I=$APP.C(I,$APP.Bj);v.style.left=""+$APP.Q.g(x)+"px";v.style.top=""+$APP.Q.g(I)+"px"}return $APP.P(a,"x-chart-hover",{seriesId:$APP.Lm.g(y),index:EY.g(y),
27
- x:$APP.cn.g(y),y:$APP.bn.g(y),value:$APP.bn.g(y)})}return null}),b.addEventListener("pointerleave",function(){return $APP.n(l)?NY(d):null}),b.addEventListener("click",function(v){var x=b.getBoundingClientRect();v=OY(c,v.clientX-x.x,v.clientY-x.y);return $APP.n(v)?$APP.P(a,"x-chart-select",{seriesId:$APP.Lm.g(v),index:EY.g(v),x:$APP.cn.g(v),y:$APP.bn.g(v),value:$APP.bn.g(v)}):null}))},QY=function(a,b){b.addEventListener("keydown",function(c){var d=c.key,e=oY(a),f=$APP.J(e);e=$APP.C(f,dY);var h=$APP.C(f,
28
- $APP.Y),l=$APP.C(f,$APP.vl);f=$APP.C(f,fY);if($APP.p(h)&&$APP.M(f,"none")&&$APP.t(e)){var m=$APP.Je(e);if(l==null)return $APP.n(function(){var v=new $APP.O(null,new $APP.N(null,4,["ArrowUp",null,"ArrowDown",null,"ArrowRight",null,"ArrowLeft",null],null),null);return v.g?v.g(d):v.call(null,d)}())?(c.preventDefault(),a.setAttribute("selected",""+$APP.Q.g($APP.Lm.g($APP.u(m)))+":0")):null;f=$APP.z(m);var q=function(){var v=$APP.u(GX(function(x,y){return $APP.B.i($APP.Lm.g(y),lY.g(l))?x:null},m));return $APP.n(v)?
29
- v:0}();h=$APP.wc(m,q);var r=$APP.z($APP.mj.g(h));e=$APP.qj.g(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.Ii.i(r-1,e+1),a.setAttribute("selected",""+$APP.Q.g($APP.Lm.g(h))+":"+$APP.Q.g(c));case "ArrowLeft":return c.preventDefault(),c=$APP.Hi.i(0,e-1),a.setAttribute("selected",""+$APP.Q.g($APP.Lm.g(h))+":"+$APP.Q.g(c));case "ArrowDown":return c.preventDefault(),c=$APP.od(q+1,f),h=$APP.wc(m,c),c=$APP.Ii.i(e,$APP.Hi.i(1,$APP.z($APP.mj.g(h)))-1),a.setAttribute("selected",""+$APP.Q.g($APP.Lm.g(h))+
30
- ":"+$APP.Q.g(c));case "ArrowUp":return c.preventDefault(),c=$APP.od(q+(f-1),f),h=$APP.wc(m,c),c=$APP.Ii.i(e,$APP.Hi.i(1,$APP.z($APP.mj.g(h)))-1),a.setAttribute("selected",""+$APP.Q.g($APP.Lm.g(h))+":"+$APP.Q.g(c));case "Enter":case " ":return c.preventDefault(),c=$APP.Hc($APP.mj.g(h),e,null),$APP.n(c)?$APP.P(a,"x-chart-select",{seriesId:$APP.Lm.g(h),index:e,x:$APP.cn.g(c),y:$APP.bn.g(c),value:$APP.bn.g(c)}):null;default:return null}}else return null})},RY=function(a){a=$APP.k(a,"container");a=$APP.n(a)?
31
- a.clientWidth:0;return a>0?a:400},SY=function(a){var b=$APP.k(a,"__xChartRefs");if($APP.n(b)){var c=$APP.k(b,"svg"),d=$APP.k(b,"sr"),e=oY(a),f=$APP.J(e),h=$APP.C(f,$APP.Y),l=$APP.C(f,$APP.li),m=$APP.C(f,hY),q=$APP.C(f,kY),r=$APP.C(f,jY),v=$APP.C(f,bY),x=$APP.C(f,cY),y=$APP.C(f,dY),A=$APP.C(f,$APP.Lj),D=$APP.C(f,eY),G=$APP.C(f,fY),I=$APP.C(f,$APP.R),H=$APP.C(f,$APP.$n);f=$APP.C(f,gY);var K=RY(b),W=new $APP.N(null,4,[xY,H+36,yY,H,zY,K-H,AY,l-H-18],null),ea=$APP.J(W),va=$APP.C(ea,xY),Pa=$APP.C(ea,yY),
32
- eb=$APP.C(ea,zY);ea=$APP.C(ea,AY);var sb=NX(y),tb=pY(0,v,Pa,ea);$APP.ah(c,"viewBox","0 0 "+$APP.Q.g(K)+" "+$APP.Q.g(l));$APP.ah(c,"width",""+$APP.Q.g(K));$APP.ah(c,"height",""+$APP.Q.g(l));wY(c);b.crosshair=null;b.dots=null;if(!$APP.n(A)){$APP.n(q)&&BY(c,e,W);var Ib=$APP.Je($APP.le(function(vb,ia){ia=FY(vb,ia,r,sb,W,v);return $APP.he.i(function(Da){return $APP.Fi.B(Da,$APP.Lm,$APP.Lm.g(vb),$APP.Bc([$APP.X,$APP.X.g(vb),IY,tb]))},ia)},$APP.Bc([y,$APP.pg(0,Number.MAX_VALUE)])));$APP.qg($APP.ee(function(vb,
33
- ia){var Da=function(){var sc=$APP.$k.g(ia);return $APP.n(sc)?sc:tY(vb)}(),fb=$APP.ne(function(sc){return $APP.B.i($APP.Lm.g(sc),$APP.Lm.g(ia))},Ib);switch(I){case "bar":return JY(c,vb,fb,Da,W,$APP.z(y));case "area":return HY(c,fb,Da,tb),GY(c,fb,Da);default:return GY(c,fb,Da)}},y));$APP.n(x)&&CY(c,e,W,H);q=QX("line");$APP.ah(q,"x1",""+$APP.Q.g(va));$APP.ah(q,"y1",""+$APP.Q.g(Pa));$APP.ah(q,"x2",""+$APP.Q.g(va));$APP.ah(q,"y2",""+$APP.Q.g(ea));q.setAttribute("stroke","var(--x-chart-crosshair-color)");
34
- q.setAttribute("stroke-width","var(--x-chart-crosshair-width)");q.setAttribute("visibility","hidden");c.appendChild(q);b.crosshair=q;q=Array(8);for(x=0;;)if(x<8)H=QX("circle"),$APP.ah(H,"r",""+$APP.Q.g(4)),H.setAttribute("stroke","var(--x-chart-tooltip-bg)"),H.setAttribute("stroke-width","2"),H.setAttribute("visibility","hidden"),c.appendChild(H),q[x]=H,x+=1;else break;b.dots=q;q=QX("rect");$APP.ah(q,"x",""+$APP.Q.g(va));$APP.ah(q,"y",""+$APP.Q.g(Pa));$APP.ah(q,"width",""+$APP.Q.g($APP.Hi.i(0,eb-
35
- va)));$APP.ah(q,"height",""+$APP.Q.g($APP.Hi.i(0,ea-Pa)));q.setAttribute("fill","transparent");q.setAttribute("style","cursor:crosshair;");$APP.n(h)||PY(a,q,Ib,b,K,l,G,m,f,D,y);c.appendChild(q);var fc=$APP.vl.g(e);$APP.n($APP.n(fc)?$APP.t(y):fc)?(a=$APP.u($APP.ne(function(vb){return $APP.B.i($APP.Lm.g(vb),lY.g(fc))},y)),e=$APP.n(a)?$APP.Hc($APP.mj.g(a),$APP.qj.g(fc),null):null,d.textContent=$APP.n($APP.n(a)?e:a)?""+$APP.Q.g($APP.X.g(a))+" "+$APP.Q.g(OX($APP.bn.g(e),D))+" at "+$APP.Q.g(typeof $APP.cn.g(e)===
36
- "string"?$APP.cn.g(e):OX($APP.cn.g(e),f)):""+$APP.Q.g($APP.z(y))+" series chart"):d.textContent=""+$APP.Q.g($APP.z(y))+" series chart"}return $APP.n(A)?NY(b):null}return null},TY=function(){var a=document.createElement("div"),b=document.createElement("span"),c=document.createElement("span"),d=document.createElement("span");a.setAttribute("part","tooltip-row");a.setAttribute("data-hidden","true");b.setAttribute("part","tooltip-swatch");c.setAttribute("part","tooltip-label");d.setAttribute("part","tooltip-value");
37
- a.appendChild(b);a.appendChild(c);a.appendChild(d);return a},UY=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=QX("svg"),f=document.createElement("div"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),q=Array(8);c.textContent=":host{display:block;color-scheme:light dark;contain:content;--x-chart-series-1:rgba(0,102,204,0.95);--x-chart-series-2:rgba(16,140,72,0.95);--x-chart-series-3:rgba(190,20,40,0.95);--x-chart-series-4:rgba(204,120,0,0.95);--x-chart-border:var(--x-color-border,rgba(0,0,0,0.1));--x-chart-grid:var(--x-color-border,rgba(0,0,0,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-skeleton:linear-gradient(90deg,rgba(0,0,0,0.06) 25%,rgba(0,0,0,0.03) 50%,rgba(0,0,0,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(255,255,255,0.96));--x-chart-tooltip-border:var(--x-color-border,rgba(0,0,0,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.14));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(0,102,204,0.55));--x-chart-radius:var(--x-radius-md,0.75rem);--x-chart-tooltip-radius:var(--x-radius-sm,0.5rem);--x-chart-tooltip-padding:0.45rem 0.7rem;--x-chart-tooltip-font-size:0.8125rem;--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(0,0,0,0.65));--x-chart-tooltip-value-color:var(--x-color-text,rgba(0,0,0,0.9));--x-chart-tooltip-swatch-size:8px;--x-chart-tooltip-gap:0.35rem;--x-chart-crosshair-color:var(--x-color-border,rgba(0,0,0,0.18));--x-chart-crosshair-width:1;}@media(prefers-color-scheme:dark){:host{--x-chart-series-1:rgba(120,190,255,0.95);--x-chart-series-2:rgba(80,230,150,0.92);--x-chart-series-3:rgba(255,100,110,0.93);--x-chart-series-4:rgba(255,190,60,0.93);--x-chart-border:var(--x-color-border,rgba(255,255,255,0.1));--x-chart-grid:var(--x-color-border,rgba(255,255,255,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-skeleton:linear-gradient(90deg,rgba(255,255,255,0.06) 25%,rgba(255,255,255,0.03) 50%,rgba(255,255,255,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(30,30,35,0.97));--x-chart-tooltip-border:var(--x-color-border,rgba(255,255,255,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 20px rgba(0,0,0,0.45));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(120,190,255,0.55));--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(255,255,255,0.6));--x-chart-tooltip-value-color:var(--x-color-text,rgba(255,255,255,0.9));--x-chart-crosshair-color:var(--x-color-border,rgba(255,255,255,0.2));}}[part\x3dcontainer]{position:relative;border:1px solid var(--x-chart-border);border-radius:var(--x-chart-radius);overflow:hidden;outline:none;}[part\x3dcontainer]:focus-visible{box-shadow:0 0 0 3px var(--x-chart-focus-ring);}[part\x3dsvg]{display:block;width:100%;height:auto;overflow:visible;}:host([loading]) [part\x3dcontainer]{background:var(--x-chart-skeleton);background-size:200% 100%;animation:x-chart-shimmer 1.4s ease infinite;}@keyframes x-chart-shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}@media(prefers-reduced-motion:reduce){:host([loading]) [part\x3dcontainer]{animation:none;}}[part\x3dsr-only]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dtooltip]{visibility:hidden;opacity:0;position:absolute;pointer-events:none;background:var(--x-chart-tooltip-bg);border:1px solid var(--x-chart-tooltip-border);box-shadow:var(--x-chart-tooltip-shadow);border-radius:var(--x-chart-tooltip-radius);padding:var(--x-chart-tooltip-padding);font-size:var(--x-chart-tooltip-font-size);line-height:1.5;white-space:nowrap;z-index:10;}[part\x3dtooltip][data-visible\x3dtrue]{visibility:visible;opacity:1;}@media(prefers-reduced-motion:no-preference){[part\x3dtooltip]{transition:opacity 0.1s ease,left 0.08s ease,top 0.08s ease;}}[part\x3dtooltip-header]{font-size:0.75rem;color:var(--x-chart-tooltip-header-color);margin-bottom:0.25rem;}[part\x3dtooltip-body]{display:flex;flex-direction:column;gap:var(--x-chart-tooltip-gap);}[part\x3dtooltip-row]{display:flex;align-items:center;gap:0.4rem;}[part\x3dtooltip-row][data-hidden\x3dtrue]{display:none;}[part\x3dtooltip-swatch]{display:inline-block;width:var(--x-chart-tooltip-swatch-size);height:var(--x-chart-tooltip-swatch-size);border-radius:50%;flex-shrink:0;}[part\x3dtooltip-label]{color:var(--x-chart-tooltip-label-color);}[part\x3dtooltip-value]{color:var(--x-chart-tooltip-value-color);font-weight:600;margin-left:auto;padding-left:0.5rem;}";
2
+ var $_=function(a,b){return function f(d,e){return new $APP.xd(null,function(){var h=$APP.t(e);if(h){if($APP.Rc(h)){for(var l=$APP.yb(h),m=$APP.z(l),q=$APP.Ad(m),r=0;;)if(r<m){var v=function(){var w=d+r,y=$APP.Bc(l,r);return a.j?a.j(w,y):a.call(null,w,y)}();v!=null&&q.add(v);r+=1}else break;return $APP.Dd(q.ba(),f(d+m,$APP.zb(h)))}m=function(){var w=$APP.u(h);return a.j?a.j(d,w):a.call(null,d,w)}();return m==null?f(d+1,$APP.$b(h)):$APP.ud(m,f(d+1,$APP.$b(h)))}return null},null)}(0,b)},a0=function(a){return $APP.Gd($APP.va(function(b,
3
+ c){var d=$APP.Ym.i?$APP.Ym.i(c):$APP.Ym.call(null,c);c=$APP.pd.j($APP.Ec(b,d,$APP.me),c);return $APP.ub(b,d,c)},$APP.rb($APP.Vd),a))},b0=function(a,b){return typeof a==="string"?(a=parseInt(a,10),$APP.p(isNaN(a))&&a>0?a:b):b},c0=function(a,b){var c=function(){var h=a.id;h=$APP.n(h)?""+$APP.R.i(a.id):h;return $APP.n(h)?h:"s"+$APP.R.i(b)}(),d=function(){var h=a.label;h=$APP.n(h)?""+$APP.R.i(a.label):h;return $APP.n(h)?h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.R.i(a.color):h}(),f=a.data;
4
+ return $APP.n($APP.na(f))?new $APP.P(null,4,[$APP.Ym,c,$APP.X,d,$APP.el,e,$APP.oj,$_(function(h,l){return $APP.n($APP.n(l)?l.x!=null&&l.y!=null:l)?new $APP.P(null,2,[$APP.kn,l.x,$APP.jn,l.y],null):null},$APP.xc(f))],null):null},d0=function(a){if(typeof a!=="string")return $APP.me;try{var b=JSON.parse(a);if($APP.n($APP.na(b)))return $APP.Ee($_(function(d,e){return c0(e,d)},$APP.xc(b)));if($APP.n(function(){var d=$APP.oa(b);return d?$APP.na(b.data):d}())){var c=c0(b,0);return $APP.n(c)?new $APP.N(null,
5
+ 1,5,$APP.O,[c],null):$APP.me}return $APP.me}catch(d){return $APP.me}},e0=function(a){a=a==null?null:$APP.u(a);a=a==null?null:$APP.oj.i(a);a=a==null?null:$APP.u(a);return $APP.n($APP.n(a)?typeof $APP.kn.i(a)==="string":a)?"category":"numeric"},f0=function(a){a=$APP.ie(function(b){return $APP.ee.j($APP.jn,$APP.oj.i(b))},$APP.xc([a]));return $APP.Kc(a)?new $APP.N(null,2,5,$APP.O,[0,1],null):new $APP.N(null,2,5,$APP.O,[$APP.Od($APP.Di,a),$APP.Od($APP.Ci,a)],null)},g0=function(a){var b=e0(a);if($APP.B.j(b,
6
+ "category"))return a=$APP.Pd($APP.Ci,0,$APP.ee.j(function(c){return $APP.z($APP.oj.i(c))},a)),new $APP.N(null,2,5,$APP.O,[0,$APP.Ci.j(1,a)-1],null);a=$APP.ie(function(c){return $APP.ee.j($APP.kn,$APP.oj.i(c))},$APP.xc([a]));return $APP.Kc(a)?new $APP.N(null,2,5,$APP.O,[0,1],null):new $APP.N(null,2,5,$APP.O,[$APP.Od($APP.Di,a),$APP.Od($APP.Ci,a)],null)},h0=function(a,b){return b==null?(b=Math.abs(a),b>=1E6?""+$APP.R.i(Math.round(a/1E6))+"M":b>=1E3?""+$APP.R.i(Math.round(a/1E3))+"K":$APP.n(Number.isInteger(a))?
7
+ ""+$APP.R.i(a):a.toFixed(1)):$APP.B.j(b,"int")?""+$APP.R.i(Math.round(a)):$APP.B.j(b,"pct")?""+$APP.R.i(a)+"%":$APP.B.j(b,"abbr")?(b=Math.abs(a),b>=1E9?""+$APP.R.i((a/1E9).toFixed(1))+"B":b>=1E6?""+$APP.R.i((a/1E6).toFixed(1))+"M":b>=1E3?""+$APP.R.i((a/1E3).toFixed(1))+"K":""+$APP.R.i(a)):$APP.B.j(b,"raw")?""+$APP.R.i(a):$APP.n(b.startsWith("fixed:"))?(b=parseInt(b.slice(6),10),$APP.n(isNaN(b))?""+$APP.R.i(a):a.toFixed(b)):""+$APP.R.i(a)},i0=function(a,b){a=a0(a);return $APP.Ee($APP.ce(function(c){$APP.Dc(c,
8
+ 0,null);c=$APP.Dc(c,1,null);return $APP.va(function(d,e){var f=Math.abs($APP.Hm.i(e)-b);return d==null||f<$APP.qn.i(d)?$APP.Ai.m(e,$APP.qn,f):d},null,c)},a))},j0=function(a,b,c,d){var e=$APP.Dc(b,0,null);b=$APP.Dc(b,1,null);e=b-e;return e===0?(c+d)/2:c+(b-a)/e*(d-c)},k0=function(a,b,c,d){var e=$APP.Dc(b,0,null);b=$APP.Dc(b,1,null)-e;return b===0?(c+d)/2:c+(a-e)/b*(d-c)},s0=function(a,b,c,d,e,f){e=$APP.H(e);var h=$APP.C(e,l0),l=$APP.C(e,m0),m=$APP.C(e,n0),q=$APP.C(e,o0);return $APP.ae(function(r,v){if($APP.B.j(c,
9
+ "category")){var w=$APP.Ci.j(1,$APP.z($APP.oj.i(a)));w=w<=1?(h+m)/2:h+r/(w-1)*(m-h)}else w=k0($APP.kn.i(v),d,h,m);var y=j0($APP.jn.i(v),f,l,q);return $APP.Ai.C(v,$APP.Hm,w,$APP.xc([p0,y,q0,b,r0,r]))},$APP.oj.i(a))},t0=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},S0=function(a){a=$APP.Hf([u0,v0,w0,x0,$APP.Eh,y0,z0,A0,B0,C0,$APP.Kj,D0,E0],[a.getAttribute("selected"),a.getAttribute("padding"),$APP.n(a.hasAttribute("tooltip"))?a.getAttribute("tooltip"):null,a.getAttribute("y-format"),
10
+ $APP.n(a.hasAttribute("disabled"))?a.getAttribute("disabled"):null,$APP.n(a.hasAttribute("grid"))?a.getAttribute("grid"):null,$APP.n(a.hasAttribute("axes"))?a.getAttribute("axes"):null,a.getAttribute("height"),a.getAttribute("cursor"),$APP.n(a.hasAttribute("loading"))?a.getAttribute("loading"):null,a.getAttribute("type"),a.getAttribute("data"),a.getAttribute("x-format")]);var b=$APP.H(a);a=$APP.C(b,E0);var c=$APP.C(b,u0),d=$APP.C(b,v0),e=$APP.C(b,w0),f=$APP.C(b,x0),h=$APP.C(b,$APP.Eh),l=$APP.C(b,
11
+ y0),m=$APP.C(b,z0),q=$APP.C(b,A0),r=$APP.C(b,B0),v=$APP.C(b,C0),w=$APP.C(b,$APP.Kj);b=$APP.C(b,D0);b=d0(b);var y=f0(b),A=$APP.Dc(y,0,null),D=$APP.Dc(y,1,null);y=[F0,$APP.El,G0,H0,$APP.Oj,I0,J0,$APP.S,$APP.ro,K0,$APP.Y,L0,M0,$APP.ki,N0,O0];var G=new $APP.N(null,2,5,$APP.O,[A,D],null);a:{if(typeof c==="string"&&(c=c.split(":"),$APP.B.j(2,c.length))){var I=parseInt(c[1],10);c=$APP.n(isNaN(I))?null:new $APP.P(null,2,[P0,c[0],$APP.sj,I],null);break a}c=null}m=m==null?!0:$APP.rh(m);v=$APP.rh(v);r=typeof r===
12
+ "string"&&$APP.Vc(Q0,r)?r:"nearest";w=typeof w==="string"&&$APP.Vc(R0,w)?w:"line";d=b0(d,12);h=$APP.rh(h);e=$APP.rh(e);a:if($APP.B.j(A,D))A=new $APP.N(null,1,5,$APP.O,[A],null);else{I=D-A;if(I===0)I=1;else{var J=I/5;I=Math.pow(10,Math.floor(Math.log10(J)));J/=I;I*=J<=1?1:J<=2?2:J<=2.5?2.5:J<=5?5:10}D=Math.floor(D/I)*I;A=Math.ceil(A/I)*I;for(var K=$APP.me;;){if(A>D+I*1E-4){A=K;break a}J=A+I;K=$APP.pd.j(K,A);A=J}A=void 0}return $APP.Hf(y,[G,c,m,b,v,f,r,w,d,a,h,e,A,b0(q,180),e0(b),l==null?!0:$APP.rh(l)])},
13
+ T0=function(a,b,c,d){var e=t0("line");$APP.Zg(e,"x1",""+$APP.R.i(a));$APP.Zg(e,"y1",""+$APP.R.i(b));$APP.Zg(e,"x2",""+$APP.R.i(c));$APP.Zg(e,"y2",""+$APP.R.i(d));e.setAttribute("stroke","var(--x-chart-grid)");$APP.Zg(e,"stroke-opacity",""+$APP.R.i(1));e.setAttribute("stroke-width","1");return e},U0=function(a,b,c,d){var e=t0("text");$APP.Zg(e,"x",""+$APP.R.i(a));$APP.Zg(e,"y",""+$APP.R.i(b));e.setAttribute("text-anchor",d);$APP.Zg(e,"font-size",""+$APP.R.i(10));e.setAttribute("fill","var(--x-chart-axis-label)");
14
+ e.textContent=c;return e},V0=function(a){return"var(--x-chart-series-"+$APP.R.i($APP.jd(a,4)+1)+")"},W0=function(a){if($APP.t(a)){var b=$APP.t(a);a=$APP.u(b);b=$APP.x(b);return"M "+$APP.R.i($APP.Hm.i(a))+","+$APP.R.i(p0.i(a))+$APP.R.i($APP.Od($APP.R,$APP.ee.j(function(c){return" L "+$APP.R.i($APP.Hm.i(c))+","+$APP.R.i(p0.i(c))},b)))}return null},X0=function(a,b,c,d){var e=$APP.H(b),f=$APP.C(e,M0),h=$APP.C(e,F0);b=$APP.C(e,H0);var l=$APP.C(e,N0),m=$APP.C(e,I0),q=$APP.C(e,K0);e=$APP.H(c);var r=$APP.C(e,
15
+ l0);c=$APP.C(e,m0);var v=$APP.C(e,n0),w=$APP.C(e,o0);f=$APP.t(f);e=null;for(var y=0,A=0;;)if(A<y){var D=e.G(null,A),G=j0(D,h,c,w);D=h0(D,m);G=U0(r-4,G+4,D,"end");a.appendChild(G);A+=1}else if(f=$APP.t(f))$APP.Rc(f)?(y=$APP.yb(f),f=$APP.zb(f),e=y,y=$APP.z(y)):(y=$APP.u(f),e=j0(y,h,c,w),y=h0(y,m),e=U0(r-4,e+4,y,"end"),a.appendChild(e),f=$APP.x(f),e=null,y=0),A=0;else break;h=$APP.u(b);if($APP.n(h)){h=$APP.oj.i(h);m=$APP.z(h);var I=g0(b),J=$APP.Ci.j(1,Math.ceil(m/5)|0);$APP.ng($APP.ae(function(K,ba){if($APP.jd(K,
16
+ J)===0){if($APP.B.j(l,"category")){var ia=$APP.u($APP.x(I))-$APP.u(I)+1;K=ia<=1?(r+v)/2:r+K/(ia-1)*(v-r)}else K=k0($APP.kn.i(ba),I,r,v);ba=$APP.B.j(l,"category")?""+$APP.R.i($APP.kn.i(ba)):h0($APP.kn.i(ba),q);ba=U0(K,w+d+4,ba,"middle");return a.appendChild(ba)}return null},h))}},Y0=function(a,b,c){b=W0(b);if($APP.n(b)){var d=t0("path");d.setAttribute("d",b);d.setAttribute("fill","none");d.setAttribute("stroke",c);d.setAttribute("stroke-width","2");d.setAttribute("stroke-linejoin","round");d.setAttribute("stroke-linecap",
17
+ "round");return a.appendChild(d)}return null},a1=function(a,b,c,d){if($APP.t(a)){var e=$APP.u(a);b=typeof $APP.kn.i(e)==="string"?""+$APP.R.i($APP.kn.i(e)):h0($APP.kn.i(e),b);var f=$APP.df.j($APP.Vd,$APP.ae(function(h,l){var m=$APP.O,q=$APP.Ym.i(l);l=$APP.el.i(l);h=$APP.n(l)?l:V0(h);return new $APP.N(null,2,5,m,[q,h],null)},d));d=$APP.ne(function(h){return new $APP.P(null,5,[$APP.el,$APP.Ec(f,$APP.Ym.i(h),V0(q0.j(h,0))),$APP.X,""+$APP.R.i($APP.X.i(h)),$APP.Fh,h0($APP.jn.i(h),c),$APP.Hm,$APP.Hm.i(h),
18
+ p0,p0.i(h)],null)},a);return new $APP.P(null,5,[Z0,b,$APP.Ck,d,$APP.Hm,$APP.Hm.i(e),p0,p0.i(e),$0,$APP.ne(function(h){return new $APP.P(null,3,[$APP.Hm,$APP.Hm.i(h),p0,p0.i(h),$APP.el,$APP.Ec(f,$APP.Ym.i(h),V0(q0.j(h,0)))],null)},a)],null)}return null},b1=function(a){var b=$APP.k(a,"tooltip"),c=$APP.k(a,"crosshair");a=$APP.k(a,"dots");$APP.n(b)&&b.setAttribute("data-visible","false");$APP.n(c)&&c.setAttribute("visibility","hidden");if($APP.n(a))for(b=0;;)if(b<8)c=a[b],$APP.n(c)&&c.setAttribute("visibility",
19
+ "hidden"),b+=1;else return null;else return null},c1=function(a,b,c){return $APP.va(function(d,e){var f=$APP.Hm.i(e)-b,h=p0.i(e)-c;f=f*f+h*h;return d==null||f<$APP.qn.i(d)?$APP.Ai.m(e,$APP.qn,f):d},null,a)},d1=function(a,b,c,d,e,f,h,l,m,q,r){$APP.B.j(h,"none")||(b.addEventListener("pointermove",function(v){var w=b.getBoundingClientRect(),y=v.clientX-w.x;v=v.clientY-w.y;$APP.B.j(h,"x")?y=i0(c,y):(y=c1(c,y,v),y=$APP.n(y)?new $APP.N(null,1,5,$APP.O,[y],null):null);v=y;y=$APP.u(v);if($APP.n(y)){if($APP.n(l)&&
20
+ (w=a1(v,m,q,r),v=$APP.k(d,"tooltip"),$APP.n($APP.n(v)?w:v))){var A=$APP.H(w),D=$APP.C(A,Z0),G=$APP.C(A,$APP.Ck);w=$APP.C(A,$APP.Hm);var I=$APP.C(A,p0);A=$APP.C(A,$0);var J=$APP.k(d,"tooltip-header"),K=$APP.k(d,"tooltip-body"),ba=$APP.k(d,"tooltip-rows"),ia=$APP.k(d,"dots"),Ba=$APP.k(d,"crosshair");$APP.n(J)&&(J.textContent=D);if($APP.n($APP.n(K)?ba:K))for(D=0;;)if(D<8){K=ba[D];if($APP.n(K))if(J=$APP.Dc(G,D,null),$APP.n(J)){K.setAttribute("data-hidden","false");K=K.firstChild;var La=$APP.n(K)?K.nextSibling:
21
+ null,Ta=$APP.n(La)?La.nextSibling:null;$APP.n(K)&&(K.style.backgroundColor=$APP.el.i(J));$APP.n(La)&&(La.textContent=$APP.X.i(J));$APP.n(Ta)&&(Ta.textContent=$APP.Fh.i(J))}else K.setAttribute("data-hidden","true");D+=1}else break;if($APP.n(ia))for(G=0;;)if(G<8)ba=ia[G],$APP.n(ba)&&(D=$APP.Dc(A,G,null),$APP.n(D)?($APP.Zg(ba,"cx",""+$APP.R.i($APP.Hm.i(D))),$APP.Zg(ba,"cy",""+$APP.R.i(p0.i(D))),$APP.Zg(ba,"fill",$APP.el.i(D)),ba.setAttribute("visibility","visible")):ba.setAttribute("visibility","hidden")),
22
+ G+=1;else break;$APP.n(Ba)&&Ba.setAttribute("visibility","visible");$APP.n(Ba)&&$APP.Zg(Ba,"x1",""+$APP.R.i(w));$APP.n(Ba)&&$APP.Zg(Ba,"x2",""+$APP.R.i(w));v.setAttribute("data-visible","true");A=v.offsetWidth;ia=v.offsetHeight;I=I+ia+8>f?I-ia-8:I-4;w=new $APP.P(null,2,[$APP.aj,$APP.Ci.j(8,$APP.Di.j(w+A+12+8>e?w-A-12:w+12,e-A-8)),$APP.Dj,$APP.Ci.j(8,$APP.Di.j(I,f-ia-8))],null);I=$APP.H(w);w=$APP.C(I,$APP.aj);I=$APP.C(I,$APP.Dj);v.style.left=""+$APP.R.i(w)+"px";v.style.top=""+$APP.R.i(I)+"px"}return $APP.ah(a,
23
+ "x-chart-hover",{seriesId:$APP.Ym.i(y),index:r0.i(y),x:$APP.kn.i(y),y:$APP.jn.i(y),value:$APP.jn.i(y)})}return null}),b.addEventListener("pointerleave",function(){return $APP.n(l)?b1(d):null}),b.addEventListener("click",function(v){var w=b.getBoundingClientRect();v=c1(c,v.clientX-w.x,v.clientY-w.y);return $APP.n(v)?$APP.ah(a,"x-chart-select",{seriesId:$APP.Ym.i(v),index:r0.i(v),x:$APP.kn.i(v),y:$APP.jn.i(v),value:$APP.jn.i(v)}):null}))},e1=function(a,b){b.addEventListener("keydown",function(c){var d=
24
+ c.key,e=S0(a),f=$APP.H(e);e=$APP.C(f,H0);var h=$APP.C(f,$APP.Y),l=$APP.C(f,$APP.El);f=$APP.C(f,J0);if($APP.p(h)&&$APP.M(f,"none")&&$APP.t(e)){var m=$APP.Ee(e);if(l==null)return $APP.n(function(){var v=new $APP.Q(null,new $APP.P(null,4,["ArrowUp",null,"ArrowDown",null,"ArrowRight",null,"ArrowLeft",null],null),null);return v.i?v.i(d):v.call(null,d)}())?(c.preventDefault(),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i($APP.u(m)))+":0")):null;f=$APP.z(m);var q=function(){var v=$APP.u($_(function(w,y){return $APP.B.j($APP.Ym.i(y),
25
+ P0.i(l))?w:null},m));return $APP.n(v)?v:0}();h=$APP.sc(m,q);var r=$APP.z($APP.oj.i(h));e=$APP.sj.i(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.Di.j(r-1,e+1),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "ArrowLeft":return c.preventDefault(),c=$APP.Ci.j(0,e-1),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "ArrowDown":return c.preventDefault(),c=$APP.jd(q+1,f),h=$APP.sc(m,c),c=$APP.Di.j(e,$APP.Ci.j(1,$APP.z($APP.oj.i(h)))-1),$APP.Zg(a,
26
+ "selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "ArrowUp":return c.preventDefault(),c=$APP.jd(q+(f-1),f),h=$APP.sc(m,c),c=$APP.Di.j(e,$APP.Ci.j(1,$APP.z($APP.oj.i(h)))-1),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "Enter":case " ":return c.preventDefault(),c=$APP.Dc($APP.oj.i(h),e,null),$APP.n(c)?$APP.ah(a,"x-chart-select",{seriesId:$APP.Ym.i(h),index:e,x:$APP.kn.i(c),y:$APP.jn.i(c),value:$APP.jn.i(c)}):null;default:return null}}else return null})},g1=function(a,
27
+ b,c,d,e,f){return $APP.Ee($APP.ie(function(h,l){l=s0(h,l,b,c,d,e);return $APP.ee.j(function(m){return $APP.Ai.C(m,$APP.Ym,$APP.Ym.i(h),$APP.xc([$APP.X,$APP.X.i(h),f1,f]))},l)},$APP.xc([a,$APP.mg(0,Number.MAX_VALUE)])))},h1=function(a,b,c,d,e,f,h,l){switch(e){case "bar":a:{e=$APP.H(f);l=$APP.C(e,l0);e=$APP.C(e,n0);f=$APP.z(c);l=f===0?0:(e-l)/f;e=l*.08;h=(l-e*2)/h;b*=h;c=$APP.t(c);f=null;for(var m=0,q=0;;)if(q<m){var r=f.G(null,q),v=$APP.Hm.i(r)+-(l/2)+e+b,w=$APP.Di.j(p0.i(r),f1.i(r));r=Math.abs(p0.i(r)-
28
+ f1.i(r));var y=t0("rect");$APP.Zg(y,"x",""+$APP.R.i(v));$APP.Zg(y,"y",""+$APP.R.i(w));$APP.Zg(y,"width",""+$APP.R.i($APP.Ci.j(1,h)));$APP.Zg(y,"height",""+$APP.R.i($APP.Ci.j(0,r)));y.setAttribute("fill",d);y.setAttribute("rx","2");a.appendChild(y);q+=1}else if(c=$APP.t(c))$APP.Rc(c)?(r=$APP.yb(c),c=$APP.zb(c),f=r,m=r=$APP.z(r)):(r=$APP.u(c),f=$APP.Hm.i(r)+-(l/2)+e+b,m=$APP.Di.j(p0.i(r),f1.i(r)),r=Math.abs(p0.i(r)-f1.i(r)),q=t0("rect"),$APP.Zg(q,"x",""+$APP.R.i(f)),$APP.Zg(q,"y",""+$APP.R.i(m)),$APP.Zg(q,
29
+ "width",""+$APP.R.i($APP.Ci.j(1,h))),$APP.Zg(q,"height",""+$APP.R.i($APP.Ci.j(0,r))),q.setAttribute("fill",d),q.setAttribute("rx","2"),a.appendChild(q),c=$APP.x(c),f=null,m=0),q=0;else{a=null;break a}a=void 0}return a;case "area":return $APP.t(c)?(e=W0(c),h=$APP.Ac(c),b=$APP.u(c),l=""+$APP.R.i(e)+" L "+$APP.R.i($APP.Hm.i(h))+","+$APP.R.i(l)+" L "+$APP.R.i($APP.Hm.i(b))+","+$APP.R.i(l)+" Z"):l=null,$APP.n(l)&&(e=t0("path"),e.setAttribute("d",l),e.setAttribute("fill",d),e.setAttribute("fill-opacity",
30
+ "0.18"),e.setAttribute("stroke",d),e.setAttribute("stroke-width","2"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("stroke-linecap","round"),a.appendChild(e)),Y0(a,c,d);default:return Y0(a,c,d)}},i1=function(a,b,c,d,e,f){var h=$APP.z(c);$APP.ng($APP.ae(function(l,m){var q=function(){var r=$APP.el.i(m);return $APP.n(r)?r:V0(l)}();return h1(a,l,$APP.ke(function(r){return $APP.B.j($APP.Ym.i(r),$APP.Ym.i(m))},d),q,b,e,h,f)},c))},j1=function(a){var b=$APP.H(a),c=$APP.C(b,$APP.El),d=$APP.C(b,
31
+ H0);a=$APP.C(b,I0);b=$APP.C(b,K0);var e=""+$APP.R.i($APP.z(d))+" series chart";if($APP.n($APP.n(c)?$APP.t(d):c)){d=$APP.u($APP.ke(function(h){return $APP.B.j($APP.Ym.i(h),P0.i(c))},d));var f=$APP.n(d)?$APP.Dc($APP.oj.i(d),$APP.sj.i(c),null):null;return $APP.n($APP.n(d)?f:d)?""+$APP.R.i($APP.X.i(d))+" "+$APP.R.i(h0($APP.jn.i(f),a))+" at "+$APP.R.i(typeof $APP.kn.i(f)==="string"?$APP.kn.i(f):h0($APP.kn.i(f),b)):e}return e},k1=function(a){var b=$APP.k(a,"__xChartRefs");if($APP.n(b)){var c=$APP.k(b,"svg"),
32
+ d=$APP.k(b,"sr"),e=S0(a),f=$APP.H(e),h=$APP.C(f,$APP.ki),l=$APP.C(f,O0),m=$APP.C(f,N0),q=$APP.C(f,F0),r=$APP.C(f,G0),v=$APP.C(f,H0),w=$APP.C(f,$APP.Oj),y=$APP.C(f,$APP.S),A=$APP.C(f,$APP.ro);f=$APP.k(b,"container");f=$APP.n(f)?f.clientWidth:0;f=f>0?f:400;var D=new $APP.P(null,4,[l0,A+36,m0,A,n0,f-A,o0,h-A-18],null),G=g0(v),I=j0(0,q,m0.i(D),o0.i(D));$APP.Zg(c,"viewBox","0 0 "+$APP.R.i(f)+" "+$APP.R.i(h));$APP.Zg(c,"width",""+$APP.R.i(f));for($APP.Zg(c,"height",""+$APP.R.i(h));;){var J=c.lastChild;
33
+ if($APP.n(J))c.removeChild(J);else break}b.crosshair=null;b.dots=null;if(!$APP.n(w)){m=g1(v,m,G,D,q,I);if($APP.n(l))a:{l=$APP.H(e);var K=$APP.C(l,M0);l=$APP.C(l,F0);var ba=$APP.H(D);q=$APP.C(ba,l0);G=$APP.C(ba,m0);J=$APP.C(ba,n0);ba=$APP.C(ba,o0);K=$APP.t(K);for(var ia=null,Ba=0,La=0;;)if(La<Ba){var Ta=ia.G(null,La);Ta=j0(Ta,l,G,ba);Ta=T0(q,Ta,J,Ta);c.appendChild(Ta);La+=1}else if(K=$APP.t(K))$APP.Rc(K)?(Ba=$APP.yb(K),K=$APP.zb(K),ia=Ba,Ba=$APP.z(Ba)):(Ta=$APP.u(K),ia=j0(Ta,l,G,ba),ia=T0(q,ia,J,ia),
34
+ c.appendChild(ia),K=$APP.x(K),ia=null,Ba=0),La=0;else break a}i1(c,y,v,m,D,I);$APP.n(r)&&X0(c,e,D,A);y=$APP.H(D);r=$APP.C(y,l0);v=$APP.C(y,m0);y=$APP.C(y,o0);A=t0("line");$APP.Zg(A,"x1",""+$APP.R.i(r));$APP.Zg(A,"y1",""+$APP.R.i(v));$APP.Zg(A,"x2",""+$APP.R.i(r));$APP.Zg(A,"y2",""+$APP.R.i(y));A.setAttribute("stroke","var(--x-chart-crosshair-color)");A.setAttribute("stroke-width","var(--x-chart-crosshair-width)");A.setAttribute("visibility","hidden");c.appendChild(A);b.crosshair=A;r=Array(8);for(v=
35
+ 0;;)if(v<8)y=t0("circle"),$APP.Zg(y,"r",""+$APP.R.i(4)),y.setAttribute("stroke","var(--x-chart-tooltip-bg)"),y.setAttribute("stroke-width","2"),y.setAttribute("visibility","hidden"),c.appendChild(y),r[v]=y,v+=1;else break;b.dots=r;y=$APP.H(D);D=$APP.C(y,l0);r=$APP.C(y,m0);v=$APP.C(y,n0);y=$APP.C(y,o0);A=t0("rect");$APP.Zg(A,"x",""+$APP.R.i(D));$APP.Zg(A,"y",""+$APP.R.i(r));$APP.Zg(A,"width",""+$APP.R.i($APP.Ci.j(0,v-D)));$APP.Zg(A,"height",""+$APP.R.i($APP.Ci.j(0,y-r)));A.setAttribute("fill","transparent");
36
+ A.setAttribute("style","cursor:crosshair;");$APP.n($APP.Y.i(e))||d1(a,A,m,b,f,h,J0.i(e),L0.i(e),K0.i(e),I0.i(e),H0.i(e));c.appendChild(A);d.textContent=j1(e)}return $APP.n(w)?b1(b):null}return null},l1=function(){var a=document.createElement("div"),b=document.createElement("span"),c=document.createElement("span"),d=document.createElement("span");a.setAttribute("part","tooltip-row");a.setAttribute("data-hidden","true");b.setAttribute("part","tooltip-swatch");c.setAttribute("part","tooltip-label");
37
+ d.setAttribute("part","tooltip-value");a.appendChild(b);a.appendChild(c);a.appendChild(d);return a},m1=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=t0("svg"),f=document.createElement("div"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),q=Array(8);c.textContent=":host{display:block;color-scheme:light dark;contain:content;--x-chart-series-1:rgba(0,102,204,0.95);--x-chart-series-2:rgba(16,140,72,0.95);--x-chart-series-3:rgba(190,20,40,0.95);--x-chart-series-4:rgba(204,120,0,0.95);--x-chart-border:var(--x-color-border,rgba(0,0,0,0.1));--x-chart-grid:var(--x-color-border,rgba(0,0,0,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-skeleton:linear-gradient(90deg,rgba(0,0,0,0.06) 25%,rgba(0,0,0,0.03) 50%,rgba(0,0,0,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(255,255,255,0.96));--x-chart-tooltip-border:var(--x-color-border,rgba(0,0,0,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.14));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(0,102,204,0.55));--x-chart-radius:var(--x-radius-md,0.75rem);--x-chart-tooltip-radius:var(--x-radius-sm,0.5rem);--x-chart-tooltip-padding:0.45rem 0.7rem;--x-chart-tooltip-font-size:0.8125rem;--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(0,0,0,0.65));--x-chart-tooltip-value-color:var(--x-color-text,rgba(0,0,0,0.9));--x-chart-tooltip-swatch-size:8px;--x-chart-tooltip-gap:0.35rem;--x-chart-crosshair-color:var(--x-color-border,rgba(0,0,0,0.18));--x-chart-crosshair-width:1;}@media(prefers-color-scheme:dark){:host{--x-chart-series-1:rgba(120,190,255,0.95);--x-chart-series-2:rgba(80,230,150,0.92);--x-chart-series-3:rgba(255,100,110,0.93);--x-chart-series-4:rgba(255,190,60,0.93);--x-chart-border:var(--x-color-border,rgba(255,255,255,0.1));--x-chart-grid:var(--x-color-border,rgba(255,255,255,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-skeleton:linear-gradient(90deg,rgba(255,255,255,0.06) 25%,rgba(255,255,255,0.03) 50%,rgba(255,255,255,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(30,30,35,0.97));--x-chart-tooltip-border:var(--x-color-border,rgba(255,255,255,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 20px rgba(0,0,0,0.45));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(120,190,255,0.55));--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(255,255,255,0.6));--x-chart-tooltip-value-color:var(--x-color-text,rgba(255,255,255,0.9));--x-chart-crosshair-color:var(--x-color-border,rgba(255,255,255,0.2));}}[part\x3dcontainer]{position:relative;border:1px solid var(--x-chart-border);border-radius:var(--x-chart-radius);overflow:hidden;outline:none;}[part\x3dcontainer]:focus-visible{box-shadow:0 0 0 3px var(--x-chart-focus-ring);}[part\x3dsvg]{display:block;width:100%;height:auto;overflow:visible;}:host([loading]) [part\x3dcontainer]{background:var(--x-chart-skeleton);background-size:200% 100%;animation:x-chart-shimmer 1.4s ease infinite;}@keyframes x-chart-shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}@media(prefers-reduced-motion:reduce){:host([loading]) [part\x3dcontainer]{animation:none;}}[part\x3dsr-only]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dtooltip]{visibility:hidden;opacity:0;position:absolute;pointer-events:none;background:var(--x-chart-tooltip-bg);border:1px solid var(--x-chart-tooltip-border);box-shadow:var(--x-chart-tooltip-shadow);border-radius:var(--x-chart-tooltip-radius);padding:var(--x-chart-tooltip-padding);font-size:var(--x-chart-tooltip-font-size);line-height:1.5;white-space:nowrap;z-index:10;}[part\x3dtooltip][data-visible\x3dtrue]{visibility:visible;opacity:1;}@media(prefers-reduced-motion:no-preference){[part\x3dtooltip]{transition:opacity 0.1s ease,left 0.08s ease,top 0.08s ease;}}[part\x3dtooltip-header]{font-size:0.75rem;color:var(--x-chart-tooltip-header-color);margin-bottom:0.25rem;}[part\x3dtooltip-body]{display:flex;flex-direction:column;gap:var(--x-chart-tooltip-gap);}[part\x3dtooltip-row]{display:flex;align-items:center;gap:0.4rem;}[part\x3dtooltip-row][data-hidden\x3dtrue]{display:none;}[part\x3dtooltip-swatch]{display:inline-block;width:var(--x-chart-tooltip-swatch-size);height:var(--x-chart-tooltip-swatch-size);border-radius:50%;flex-shrink:0;}[part\x3dtooltip-label]{color:var(--x-chart-tooltip-label-color);}[part\x3dtooltip-value]{color:var(--x-chart-tooltip-value-color);font-weight:600;margin-left:auto;padding-left:0.5rem;}";
38
38
  d.setAttribute("part","container");d.setAttribute("tabindex","0");e.setAttribute("part","svg");e.setAttribute("aria-hidden","true");e.setAttribute("role","img");f.setAttribute("part","sr-only");f.setAttribute("role","status");f.setAttribute("aria-live","polite");h.setAttribute("part","tooltip");h.setAttribute("role","tooltip");h.setAttribute("aria-hidden","true");h.setAttribute("data-visible","false");l.setAttribute("part","tooltip-header");m.setAttribute("part","tooltip-body");for(var r=0;;)if(r<
39
- 8){var v=TY();m.appendChild(v);q[r]=v;r+=1}else break;h.appendChild(l);h.appendChild(m);d.appendChild(e);d.appendChild(f);d.appendChild(h);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.container=d;c.svg=e;c.sr=f;c.tooltip=h;c["tooltip-header"]=l;c["tooltip-body"]=m;c["tooltip-rows"]=q;c.crosshair=null;c.dots=null;a.__xChartRefs=c;b=new ResizeObserver(function(){return SY(a)});b.observe(d);$APP.k(a,"__xChartRefs").ro=b;QY(a,d)},VY=function(a){$APP.n($APP.k(a,"__xChartRefs"))||UY(a);return SY(a)},
40
- WY=function(a){a=$APP.k(a,"__xChartRefs");return $APP.n(a)?(a=$APP.k(a,"ro"),$APP.n(a)?a.disconnect():null):null},XY=function(a){return $APP.n($APP.k(a,"__xChartRefs"))?SY(a):null},YY=function(a,b,c,d){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return IX(this.getAttribute(c),d)},set:function(e){return e!=null?this.setAttribute(c,""+$APP.Q.g(e|0)):this.removeAttribute(c)}})},ZY=function(a){return Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){var b=
41
- $APP.k(this,"__xChartData");if($APP.n(b))return b;b=this.getAttribute("data");return KX(b)},set:function(b){this.__xChartData=b;return $APP.n($APP.na(b))?this.setAttribute("data",JSON.stringify(b)):this.removeAttribute("data")}})},$Y=function(a){$APP.fh(a,"type","type");$APP.fh(a,"cursor","cursor");$APP.fh(a,"selected","selected");YY(a,"height","height",180);YY(a,"padding","padding",12);$APP.dh(a,"grid","grid");$APP.dh(a,"axes","axes");$APP.dh(a,"tooltip","tooltip");$APP.dh(a,"disabled","disabled");
42
- $APP.dh(a,"loading","loading");return ZY(a)},bZ=function(){return $APP.Yg("x-chart",new $APP.N(null,5,[$APP.Pg,aZ,$APP.Qg,VY,$APP.Rg,WY,$APP.Sg,XY,$APP.Wg,$Y],null))},KY=new $APP.F(null,"x-label","x-label",802517907),LY=new $APP.F(null,"dot-pts","dot-pts",1732240900),ZX=new $APP.F(null,"loading-present?","loading-present?",-1827648748),UX=new $APP.F(null,"y-format-raw","y-format-raw",-1098541692),WX=new $APP.F(null,"axes-raw","axes-raw",-839946224),IY=new $APP.F(null,"y0-baseline","y0-baseline",613579610),
43
- bY=new $APP.F(null,"y-domain","y-domain",-969203007),jY=new $APP.F(null,"x-kind","x-kind",693167455),XX=new $APP.F(null,"height-raw","height-raw",-867301006),RX=new $APP.F(null,"selected-raw","selected-raw",-1471626848),dY=new $APP.F(null,"series","series",600710694),$X=new $APP.F(null,"data-raw","data-raw",822066711),hY=new $APP.F(null,"tooltip?","tooltip?",-642753154),lY=new $APP.F(null,"series-id","series-id",226875035),gY=new $APP.F(null,"x-fmt","x-fmt",2073358008),SX=new $APP.F(null,"padding-raw",
44
- "padding-raw",-847772255),uY=new $APP.F(null,"py","py",1397985916),cZ=new $APP.F(null,"seriesId","seriesId",-2105489435),aY=new $APP.F(null,"x-format-raw","x-format-raw",-1683657190),cY=new $APP.F(null,"axes?","axes?",1786285669),kY=new $APP.F(null,"grid?","grid?",-288406689),YX=new $APP.F(null,"cursor-raw","cursor-raw",-1169819084),fY=new $APP.F(null,"cursor","cursor",1011937484),TX=new $APP.F(null,"tooltip-present?","tooltip-present?",-2098824029),eY=new $APP.F(null,"y-fmt","y-fmt",2092412811),
45
- yY=new $APP.F(null,"y0","y0",111454807),AY=new $APP.F(null,"y1","y1",589123466),EY=new $APP.F(null,"i","i",-1386841315),zY=new $APP.F(null,"x1","x1",-1863922247),xY=new $APP.F(null,"x0","x0",410843387),DY=new $APP.F(null,"si","si",793409822),iY=new $APP.F(null,"y-ticks","y-ticks",-843622722),VX=new $APP.F(null,"grid-present?","grid-present?",-468948562);var aZ="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),nY=new $APP.O(null,new $APP.N(null,3,["bar",null,"area",null,"line",null],null),null),mY=new $APP.O(null,new $APP.N(null,3,["none",null,"x",null,"nearest",null],null),null);
46
- $APP.Lf([$APP.vl,$APP.al,new $APP.F(null,"axes","axes",1970866440),new $APP.F(null,"grid","grid",402978600),fY,$APP.R,$APP.Km,$APP.$n,new $APP.F(null,"tooltip","tooltip",-1809677058),$APP.li,$APP.mj],[new $APP.N(null,2,[$APP.R,$APP.U,$APP.S,"selected"],null),new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"disabled"],null),new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"axes"],null),new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"grid"],null),new $APP.N(null,2,[$APP.R,$APP.U,$APP.S,"cursor"],null),new $APP.N(null,2,[$APP.R,
47
- $APP.U,$APP.S,"type"],null),new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"loading"],null),new $APP.N(null,2,[$APP.R,$APP.V,$APP.S,"padding"],null),new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"tooltip"],null),new $APP.N(null,2,[$APP.R,$APP.V,$APP.S,"height"],null),new $APP.N(null,1,[$APP.R,$APP.ak],null)]);
48
- $APP.Yd(["x-chart-select",new $APP.N(null,2,[$APP.Fn,!1,$APP.Z,new $APP.N(null,5,[cZ,$APP.U,$APP.qj,$APP.V,$APP.cn,$APP.V,$APP.bn,$APP.V,$APP.Gh,$APP.V],null)],null),"x-chart-hover",new $APP.N(null,2,[$APP.Fn,!1,$APP.Z,new $APP.N(null,5,[cZ,$APP.U,$APP.qj,$APP.V,$APP.cn,$APP.V,$APP.bn,$APP.V,$APP.Gh,$APP.V],null)],null)]);$APP.ca("baredom.exports.x_chart.init",bZ);export const init=bZ;
39
+ 8){var v=l1();m.appendChild(v);q[r]=v;r+=1}else break;h.appendChild(l);h.appendChild(m);d.appendChild(e);d.appendChild(f);d.appendChild(h);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.container=d;c.svg=e;c.sr=f;c.tooltip=h;c["tooltip-header"]=l;c["tooltip-body"]=m;c["tooltip-rows"]=q;c.crosshair=null;c.dots=null;a.__xChartRefs=c;b=new ResizeObserver(function(){return k1(a)});b.observe(d);$APP.k(a,"__xChartRefs").ro=b;e1(a,d)},aaa=function(a){$APP.n($APP.k(a,"__xChartRefs"))||m1(a);return k1(a)},
40
+ baa=function(a){a=$APP.k(a,"__xChartRefs");return $APP.n(a)?(a=$APP.k(a,"ro"),$APP.n(a)?a.disconnect():null):null},caa=function(a){return $APP.n($APP.k(a,"__xChartRefs"))?k1(a):null},n1=function(a,b,c,d){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return b0(this.getAttribute(c),d)},set:function(e){return e!=null?this.setAttribute(c,""+$APP.R.i(e|0)):this.removeAttribute(c)}})},daa=function(a){return Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){var b=
41
+ $APP.k(this,"__xChartData");if($APP.n(b))return b;b=this.getAttribute("data");return d0(b)},set:function(b){this.__xChartData=b;return $APP.n($APP.na(b))?this.setAttribute("data",JSON.stringify(b)):this.removeAttribute("data")}})},eaa=function(a){$APP.eh(a,"type","type");$APP.eh(a,"cursor","cursor");$APP.eh(a,"selected","selected");n1(a,"height","height",180);n1(a,"padding","padding",12);$APP.ch(a,"grid","grid");$APP.ch(a,"axes","axes");$APP.ch(a,"tooltip","tooltip");$APP.ch(a,"disabled","disabled");
42
+ $APP.ch(a,"loading","loading");return daa(a)},o1=function(){return $APP.Wg("x-chart",new $APP.P(null,5,[$APP.Mg,faa,$APP.Ng,aaa,$APP.Og,baa,$APP.Qg,caa,$APP.Ug,eaa],null))},Z0=new $APP.F(null,"x-label","x-label",802517907),$0=new $APP.F(null,"dot-pts","dot-pts",1732240900),C0=new $APP.F(null,"loading-present?","loading-present?",-1827648748),x0=new $APP.F(null,"y-format-raw","y-format-raw",-1098541692),z0=new $APP.F(null,"axes-raw","axes-raw",-839946224),f1=new $APP.F(null,"y0-baseline","y0-baseline",
43
+ 613579610),F0=new $APP.F(null,"y-domain","y-domain",-969203007),N0=new $APP.F(null,"x-kind","x-kind",693167455),A0=new $APP.F(null,"height-raw","height-raw",-867301006),u0=new $APP.F(null,"selected-raw","selected-raw",-1471626848),H0=new $APP.F(null,"series","series",600710694),D0=new $APP.F(null,"data-raw","data-raw",822066711),L0=new $APP.F(null,"tooltip?","tooltip?",-642753154),P0=new $APP.F(null,"series-id","series-id",226875035),K0=new $APP.F(null,"x-fmt","x-fmt",2073358008),v0=new $APP.F(null,
44
+ "padding-raw","padding-raw",-847772255),p0=new $APP.F(null,"py","py",1397985916),p1=new $APP.F(null,"seriesId","seriesId",-2105489435),E0=new $APP.F(null,"x-format-raw","x-format-raw",-1683657190),G0=new $APP.F(null,"axes?","axes?",1786285669),O0=new $APP.F(null,"grid?","grid?",-288406689),B0=new $APP.F(null,"cursor-raw","cursor-raw",-1169819084),J0=new $APP.F(null,"cursor","cursor",1011937484),w0=new $APP.F(null,"tooltip-present?","tooltip-present?",-2098824029),I0=new $APP.F(null,"y-fmt","y-fmt",
45
+ 2092412811),m0=new $APP.F(null,"y0","y0",111454807),o0=new $APP.F(null,"y1","y1",589123466),r0=new $APP.F(null,"i","i",-1386841315),n0=new $APP.F(null,"x1","x1",-1863922247),l0=new $APP.F(null,"x0","x0",410843387),q0=new $APP.F(null,"si","si",793409822),M0=new $APP.F(null,"y-ticks","y-ticks",-843622722),y0=new $APP.F(null,"grid-present?","grid-present?",-468948562);var faa="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),R0=new $APP.Q(null,new $APP.P(null,3,["bar",null,"area",null,"line",null],null),null),Q0=new $APP.Q(null,new $APP.P(null,3,["none",null,"x",null,"nearest",null],null),null);
46
+ $APP.Hf([$APP.El,$APP.fl,new $APP.F(null,"axes","axes",1970866440),new $APP.F(null,"grid","grid",402978600),J0,$APP.S,$APP.Xm,$APP.ro,new $APP.F(null,"tooltip","tooltip",-1809677058),$APP.ki,$APP.oj],[new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"selected"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"disabled"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"axes"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"grid"],null),new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"cursor"],null),new $APP.P(null,2,[$APP.S,
47
+ $APP.V,$APP.T,"type"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"loading"],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.T,"padding"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"tooltip"],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.T,"height"],null),new $APP.P(null,1,[$APP.S,$APP.dk],null)]);
48
+ $APP.Ud(["x-chart-select",new $APP.P(null,2,[$APP.Un,!1,$APP.Z,new $APP.P(null,5,[p1,$APP.V,$APP.sj,$APP.W,$APP.kn,$APP.W,$APP.jn,$APP.W,$APP.Fh,$APP.W],null)],null),"x-chart-hover",new $APP.P(null,2,[$APP.Un,!1,$APP.Z,new $APP.P(null,5,[p1,$APP.V,$APP.sj,$APP.W,$APP.kn,$APP.W,$APP.jn,$APP.W,$APP.Fh,$APP.W],null)],null)]);$APP.da("baredom.exports.x_chart.init",o1);export const init=o1;
@@ -1,12 +1,12 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var uH=function(a){a=$APP.Lf([$APP.Mm,$APP.Fh,$APP.cj,$APP.oj,$APP.Fk,tH,$APP.Xk,$APP.Dh,$APP.fl,$APP.Ok],[a.getAttribute("name"),$APP.sh(a.getAttribute("disabled")),$APP.sh(a.getAttribute("required")),a.getAttribute("aria-labelledby"),$APP.sh(a.getAttribute("checked")),$APP.sh(a.getAttribute("indeterminate")),$APP.sh(a.getAttribute("readonly")),a.getAttribute("value"),a.getAttribute("aria-label"),a.getAttribute("aria-describedby")]);var b=$APP.J(a);a=$APP.C(b,$APP.fl);var c=$APP.C(b,$APP.Ok),d=$APP.C(b,
3
- $APP.Mm),e=$APP.C(b,$APP.Fh),f=$APP.C(b,$APP.cj),h=$APP.C(b,$APP.oj),l=$APP.C(b,$APP.Fk),m=$APP.C(b,tH),q=$APP.C(b,$APP.Xk);b=$APP.C(b,$APP.Dh);l=$APP.E(l);m=$APP.E(m);f=$APP.E(f);return $APP.Lf([$APP.sn,$APP.xj,$APP.sj,$APP.ro,$APP.Qk,$APP.ij,$APP.Nk,$APP.Gh,$APP.ll,$APP.mo,$APP.gn,$APP.Y],[m,f,m?"mixed":l?"true":"false",$APP.E(q),l,$APP.n(f)?l:!0,d,b!=null?b:"on",h,c,a,$APP.E(e)])},vH=function(a){var b=$APP.k(a,"__xCheckboxRefs");if($APP.n(b)){var c=$APP.k(b,"control");b=uH(a);var d=$APP.Y.g(b),
4
- e=$APP.Qk.g(b),f=$APP.sn.g(b);$APP.ah(c,"aria-checked",$APP.sj.g(b));c.setAttribute("aria-disabled",$APP.n(d)?"true":"false");$APP.ah(c,"aria-required",$APP.n($APP.xj.g(b))?"true":"false");$APP.ah(c,"aria-readonly",$APP.n($APP.ro.g(b))?"true":"false");var h=$APP.gn.g(b);$APP.n(h)?c.setAttribute("aria-label",h):c.removeAttribute("aria-label");h=$APP.ll.g(b);$APP.n(h)?c.setAttribute("aria-labelledby",h):c.removeAttribute("aria-labelledby");h=$APP.mo.g(b);$APP.n(h)?c.setAttribute("aria-describedby",
5
- h):c.removeAttribute("aria-describedby");c.tabIndex=$APP.n(d)?-1:0;$APP.n(d)?c.setAttribute("disabled",""):c.removeAttribute("disabled");$APP.bh(a,"data-checked",e);$APP.bh(a,"data-indeterminate",f);$APP.bh(a,"data-disabled",d);a=$APP.k(a,"__xCheckboxInternals");if($APP.n(a))return b=$APP.n(e)?$APP.Gh.g(b):null,a.setFormValue($APP.n(b)?b:null)}return null},wH=function(a){var b=uH(a),c=$APP.Y.g(b),d=$APP.ro.g(b);if($APP.n($APP.n(c)?c:d))return null;c=$APP.Qk.g(b);d=$APP.sn.g(b);d=$APP.n(d)?new $APP.N(null,
6
- 2,[$APP.Qk,!0,$APP.sn,!1],null):new $APP.N(null,2,[$APP.Qk,$APP.p(c),$APP.sn,!1],null);var e=$APP.Qk.g(d);b=$APP.Gh.g(b);return $APP.ch(a,"x-checkbox-change-request",{value:b,previousChecked:c,nextChecked:e})?($APP.bh(a,"checked",e),$APP.bh(a,"indeterminate",$APP.sn.g(d)),vH(a),$APP.P(a,"x-checkbox-change",{value:b,checked:e})):null},xH=function(a){return function(){return wH(a)}},yH=function(a){return function(b){var c=b.key;return $APP.B.i(c," ")||$APP.B.i(c,"Enter")?(b.preventDefault(),wH(a)):
7
- null}},zH=function(a){var b=$APP.k(a,"__xCheckboxRefs");if($APP.n(b)){var c=$APP.k(a,"__xCheckboxHandlers");if($APP.n(c)){b=$APP.k(b,"control");b.removeEventListener("click",$APP.k(c,"click"));b.removeEventListener("keydown",$APP.k(c,"keydown"));a.__xCheckboxHandlers=null;return}}return null},AH=function(a,b){$APP.bh(a,"disabled",$APP.E(b));return vH(a)},BH=function(a){a.removeAttribute("checked");a.removeAttribute("indeterminate");return vH(a)},CH=function(a){if(!$APP.n($APP.k(a,"__xCheckboxRefs"))){var b=
2
+ var BI=function(a){a=$APP.Hf([$APP.Zm,$APP.Eh,$APP.dj,$APP.qj,$APP.Gk,AI,$APP.al,$APP.Ch,$APP.ll,$APP.Pk],[a.getAttribute("name"),$APP.rh(a.getAttribute("disabled")),$APP.rh(a.getAttribute("required")),a.getAttribute("aria-labelledby"),$APP.rh(a.getAttribute("checked")),$APP.rh(a.getAttribute("indeterminate")),$APP.rh(a.getAttribute("readonly")),a.getAttribute("value"),a.getAttribute("aria-label"),a.getAttribute("aria-describedby")]);var b=$APP.H(a);a=$APP.C(b,$APP.ll);var c=$APP.C(b,$APP.Pk),d=$APP.C(b,
3
+ $APP.Zm),e=$APP.C(b,$APP.Eh),f=$APP.C(b,$APP.dj),h=$APP.C(b,$APP.qj),l=$APP.C(b,$APP.Gk),m=$APP.C(b,AI),q=$APP.C(b,$APP.al);b=$APP.C(b,$APP.Ch);l=$APP.E(l);m=$APP.E(m);f=$APP.E(f);return $APP.Hf([$APP.Hn,$APP.zj,$APP.uj,$APP.Ko,$APP.Rk,$APP.jj,$APP.Ok,$APP.Fh,$APP.sl,$APP.Fo,$APP.on,$APP.Y],[m,f,m?"mixed":l?"true":"false",$APP.E(q),l,$APP.n(f)?l:!0,d,b!=null?b:"on",h,c,a,$APP.E(e)])},CI=function(a){var b=$APP.k(a,"__xCheckboxRefs");if($APP.n(b)){var c=$APP.k(b,"control");b=BI(a);var d=$APP.Y.i(b),
4
+ e=$APP.Rk.i(b),f=$APP.Hn.i(b);$APP.Zg(c,"aria-checked",$APP.uj.i(b));c.setAttribute("aria-disabled",$APP.n(d)?"true":"false");$APP.Zg(c,"aria-required",$APP.n($APP.zj.i(b))?"true":"false");$APP.Zg(c,"aria-readonly",$APP.n($APP.Ko.i(b))?"true":"false");var h=$APP.on.i(b);$APP.n(h)?c.setAttribute("aria-label",h):c.removeAttribute("aria-label");h=$APP.sl.i(b);$APP.n(h)?c.setAttribute("aria-labelledby",h):c.removeAttribute("aria-labelledby");h=$APP.Fo.i(b);$APP.n(h)?c.setAttribute("aria-describedby",
5
+ h):c.removeAttribute("aria-describedby");c.tabIndex=$APP.n(d)?-1:0;$APP.n(d)?c.setAttribute("disabled",""):c.removeAttribute("disabled");$APP.$g(a,"data-checked",e);$APP.$g(a,"data-indeterminate",f);$APP.$g(a,"data-disabled",d);a=$APP.k(a,"__xCheckboxInternals");if($APP.n(a))return b=$APP.n(e)?$APP.Fh.i(b):null,a.setFormValue($APP.n(b)?b:null)}return null},DI=function(a){var b=BI(a),c=$APP.Y.i(b),d=$APP.Ko.i(b);if($APP.n($APP.n(c)?c:d))return null;c=$APP.Rk.i(b);d=$APP.Hn.i(b);d=$APP.n(d)?new $APP.P(null,
6
+ 2,[$APP.Rk,!0,$APP.Hn,!1],null):new $APP.P(null,2,[$APP.Rk,$APP.p(c),$APP.Hn,!1],null);var e=$APP.Rk.i(d);b=$APP.Fh.i(b);return $APP.bh(a,"x-checkbox-change-request",{value:b,previousChecked:c,nextChecked:e})?($APP.$g(a,"checked",e),$APP.$g(a,"indeterminate",$APP.Hn.i(d)),CI(a),$APP.ah(a,"x-checkbox-change",{value:b,checked:e})):null},EI=function(a){return function(){return DI(a)}},FI=function(a){return function(b){var c=b.key;return $APP.B.j(c," ")||$APP.B.j(c,"Enter")?(b.preventDefault(),DI(a)):
7
+ null}},GI=function(a){var b=$APP.k(a,"__xCheckboxRefs");if($APP.n(b)){var c=$APP.k(a,"__xCheckboxHandlers");if($APP.n(c)){b=$APP.k(b,"control");b.removeEventListener("click",$APP.k(c,"click"));b.removeEventListener("keydown",$APP.k(c,"keydown"));a.__xCheckboxHandlers=null;return}}return null},HI=function(a,b){$APP.$g(a,"disabled",$APP.E(b));return CI(a)},II=function(a){a.removeAttribute("checked");a.removeAttribute("indeterminate");return CI(a)},JI=function(a){if(!$APP.n($APP.k(a,"__xCheckboxRefs"))){var b=
8
8
  a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("button"),e=document.createElement("span"),f=document.createElement("span");c.textContent=":host{display:inline-block;vertical-align:middle;color-scheme:light dark;--x-checkbox-size:16px;--x-checkbox-border-width:2px;--x-checkbox-border-color:var(--x-color-border,#6b7280);--x-checkbox-border-radius:4px;--x-checkbox-bg:var(--x-color-surface,#ffffff);--x-checkbox-bg-checked:var(--x-color-primary,#2563eb);--x-checkbox-bg-indeterminate:var(--x-color-primary,#2563eb);--x-checkbox-border-checked:var(--x-color-primary,#2563eb);--x-checkbox-border-indeterminate:var(--x-color-primary,#2563eb);--x-checkbox-check-color:var(--x-color-surface,#ffffff);--x-checkbox-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-checkbox-disabled-opacity:0.45;--x-checkbox-transition:background var(--x-transition-duration,120ms) var(--x-transition-easing,ease),border-color var(--x-transition-duration,120ms) var(--x-transition-easing,ease);}@media (prefers-color-scheme:dark){:host{--x-checkbox-border-color:var(--x-color-border,#9ca3af);--x-checkbox-bg:var(--x-color-surface,#1f2937);--x-checkbox-bg-checked:var(--x-color-primary,#3b82f6);--x-checkbox-bg-indeterminate:var(--x-color-primary,#3b82f6);--x-checkbox-border-checked:var(--x-color-primary,#3b82f6);--x-checkbox-border-indeterminate:var(--x-color-primary,#3b82f6);--x-checkbox-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dcontrol]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;}[part\x3dcontrol][disabled]{cursor:default;opacity:var(--x-checkbox-disabled-opacity);}[part\x3dcontrol]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--x-checkbox-focus-ring);border-radius:calc(var(--x-checkbox-border-radius) + 2px);}[part\x3dbox]{display:inline-flex;align-items:center;justify-content:center;width:var(--x-checkbox-size);height:var(--x-checkbox-size);border:var(--x-checkbox-border-width) solid var(--x-checkbox-border-color);border-radius:var(--x-checkbox-border-radius);background:var(--x-checkbox-bg);transition:var(--x-checkbox-transition);position:relative;flex-shrink:0;}:host([data-checked]) [part\x3dbox]{background:var(--x-checkbox-bg-checked);border-color:var(--x-checkbox-border-checked);}:host([data-indeterminate]) [part\x3dbox]{background:var(--x-checkbox-bg-indeterminate);border-color:var(--x-checkbox-border-indeterminate);}[part\x3dcheck]{display:inline-flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;}[part\x3dcheck]::before{content:'\\2713';color:var(--x-checkbox-check-color);font-size:10px;font-weight:700;line-height:1;opacity:0;transition:opacity 100ms ease;position:absolute;}:host([data-checked]) [part\x3dcheck]::before{opacity:1;}[part\x3dcheck]::after{content:'';display:block;width:8px;height:2px;background:var(--x-checkbox-check-color);border-radius:1px;opacity:0;transition:opacity 100ms ease;position:absolute;}:host([data-indeterminate]) [part\x3dcheck]::after{opacity:1;}@media (prefers-reduced-motion:reduce){[part\x3dbox]{transition:none;}[part\x3dcheck]::before{transition:none;}[part\x3dcheck]::after{transition:none;}}";
9
- d.setAttribute("part","control");d.setAttribute("type","button");d.setAttribute("role","checkbox");e.setAttribute("part","box");f.setAttribute("part","check");e.appendChild(f);d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xCheckboxRefs={root:b,control:d,box:e,check:f};$APP.n(a.attachInternals)&&(b=a.attachInternals(),a.__xCheckboxInternals=b)}zH(a);b=$APP.k(a,"__xCheckboxRefs");$APP.n(b)&&(b=$APP.k(b,"control"),c=xH(a),d=yH(a),e={click:c,keydown:d},b.addEventListener("click",c),b.addEventListener("keydown",
10
- d),a.__xCheckboxHandlers=e);c=a.getAttribute("id");$APP.n(c)&&(b=document.querySelector("label[for\x3d'"+$APP.Q.g(c)+"']"),$APP.n(b)&&(d=b.getAttribute("id"),$APP.n(d)?b=d:(c="x-cb-lbl-"+$APP.Q.g(c),b.setAttribute("id",c),b=c),c=$APP.k(a,"__xCheckboxRefs"),$APP.n(c)&&(c=$APP.k(c,"control"),$APP.n(a.hasAttribute("aria-labelledby"))||c.setAttribute("aria-labelledby",b))));return vH(a)},DH=function(a){return zH(a)},EH=function(a){return vH(a)},GH=function(a){return $APP.jh(a,FH)},IH=function(){return $APP.Yg("x-checkbox",
11
- new $APP.N(null,8,[$APP.Pg,HH,$APP.Qg,CH,$APP.Rg,DH,$APP.Sg,EH,$APP.Tg,!0,$APP.Ug,AH,$APP.Vg,BH,$APP.Wg,GH],null))},tH=new $APP.F(null,"indeterminate-present?","indeterminate-present?",-1714683438);var HH="checked indeterminate disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" "),FH=new $APP.N(null,7,[$APP.eo,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"checked"],null),$APP.In,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"indeterminate"],null),$APP.al,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"disabled"],null),$APP.Hn,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"readonly"],null),$APP.Ll,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"required"],null),$APP.Nk,new $APP.N(null,
12
- 2,[$APP.R,$APP.U,$APP.S,"name"],null),$APP.Gh,new $APP.N(null,2,[$APP.R,$APP.U,$APP.S,"value"],null)],null);$APP.Yd(["x-checkbox-change-request",new $APP.N(null,2,[$APP.Fn,!0,$APP.Z,new $APP.N(null,3,[$APP.Gh,$APP.U,$APP.Dl,$APP.T,$APP.mn,$APP.T],null)],null),"x-checkbox-change",new $APP.N(null,2,[$APP.Fn,!1,$APP.Z,new $APP.N(null,2,[$APP.Gh,$APP.U,$APP.eo,$APP.T],null)],null)]);$APP.ca("baredom.exports.x_checkbox.init",IH);export const init=IH;
9
+ d.setAttribute("part","control");d.setAttribute("type","button");d.setAttribute("role","checkbox");e.setAttribute("part","box");f.setAttribute("part","check");e.appendChild(f);d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xCheckboxRefs={root:b,control:d,box:e,check:f};$APP.n(a.attachInternals)&&(b=a.attachInternals(),a.__xCheckboxInternals=b)}GI(a);b=$APP.k(a,"__xCheckboxRefs");$APP.n(b)&&(b=$APP.k(b,"control"),c=EI(a),d=FI(a),e={click:c,keydown:d},b.addEventListener("click",c),b.addEventListener("keydown",
10
+ d),a.__xCheckboxHandlers=e);c=a.getAttribute("id");$APP.n(c)&&(b=document.querySelector("label[for\x3d'"+$APP.R.i(c)+"']"),$APP.n(b)&&(d=b.getAttribute("id"),$APP.n(d)?b=d:(c="x-cb-lbl-"+$APP.R.i(c),b.setAttribute("id",c),b=c),c=$APP.k(a,"__xCheckboxRefs"),$APP.n(c)&&(c=$APP.k(c,"control"),$APP.n(a.hasAttribute("aria-labelledby"))||c.setAttribute("aria-labelledby",b))));return CI(a)},KI=function(a){return GI(a)},LI=function(a){return CI(a)},NI=function(a){return $APP.ih(a,MI)},PI=function(){return $APP.Wg("x-checkbox",
11
+ new $APP.P(null,8,[$APP.Mg,OI,$APP.Ng,JI,$APP.Og,KI,$APP.Qg,LI,$APP.Rg,!0,$APP.Sg,HI,$APP.Tg,II,$APP.Ug,NI],null))},AI=new $APP.F(null,"indeterminate-present?","indeterminate-present?",-1714683438);var OI="checked indeterminate disabled readonly required name value aria-label aria-describedby aria-labelledby".split(" "),MI=new $APP.P(null,7,[$APP.yo,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"checked"],null),$APP.Xn,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"indeterminate"],null),$APP.fl,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"disabled"],null),$APP.Wn,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"readonly"],null),$APP.Wl,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"required"],null),$APP.Ok,new $APP.P(null,
12
+ 2,[$APP.S,$APP.V,$APP.T,"name"],null),$APP.Fh,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"value"],null)],null);$APP.Ud(["x-checkbox-change-request",new $APP.P(null,2,[$APP.Un,!0,$APP.Z,new $APP.P(null,3,[$APP.Fh,$APP.V,$APP.Nl,$APP.U,$APP.un,$APP.U],null)],null),"x-checkbox-change",new $APP.P(null,2,[$APP.Un,!1,$APP.Z,new $APP.P(null,2,[$APP.Fh,$APP.V,$APP.yo,$APP.U],null)],null)]);$APP.da("baredom.exports.x_checkbox.init",PI);export const init=PI;
package/dist/x-chip.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var xu=function(){return $APP.bi()};$APP.ca("baredom.exports.x_chip.init",xu);export const init=xu;
2
+ var tv=function(){return $APP.ai()};$APP.da("baredom.exports.x_chip.init",tv);export const init=tv;
@@ -1,11 +1,11 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var f$=function(){var a=window.matchMedia;return $APP.n(a)?window.matchMedia("(prefers-reduced-motion: reduce)").matches:a},g$=function(a){a=a.getAttribute("duration-ms");return $APP.n(a)?(a=parseInt(a,10),$APP.n(isNaN(a))?300:$APP.Hi.i(0,$APP.Ii.i(2E3,a))):300},qca=function(a,b){function c(){clearTimeout(e);b.style.height="";b.style.transition="";return b.removeEventListener("transitionend",$APP.k(f,"fn"))}if($APP.n(f$()))return b.style.height="",b.style.transition="";a=g$(a);b.style.height="0px";
3
- b.offsetHeight;var d=""+$APP.Q.g(b.scrollHeight)+"px";b.style.transition="height "+$APP.Q.g(a)+"ms ease";b.style.height=d;var e=setTimeout(function(){b.style.height="";return b.style.transition=""},a+80),f={fn:null};f.fn=c;return b.addEventListener("transitionend",c)},rca=function(a,b){function c(){clearTimeout(e);b.style.height="";b.style.transition="";return b.removeEventListener("transitionend",$APP.k(f,"fn"))}if($APP.n(f$()))return b.style.height="0px",b.style.transition="";var d=""+$APP.Q.g(b.offsetHeight)+
4
- "px";a=g$(a);b.style.height=d;b.offsetHeight;b.style.transition="height "+$APP.Q.g(a)+"ms ease";b.style.height="0px";var e=setTimeout(function(){b.style.height="";return b.style.transition=""},a+80),f={fn:null};f.fn=c;return b.addEventListener("transitionend",c)},h$=function(a){var b=$APP.k(a,"__xCollapseRefs");if($APP.n(b)){var c=$APP.k(b,"trigger");b=$APP.k(b,"header-text");var d=a.hasAttribute("open"),e=a.hasAttribute("disabled");a=a.getAttribute("header");b.textContent=$APP.n(a)?a:"";c.setAttribute("aria-expanded",
5
- $APP.n(d)?"true":"false");if($APP.n(e))return c.setAttribute("disabled",""),c.setAttribute("aria-disabled","true");c.removeAttribute("disabled");return c.removeAttribute("aria-disabled")}return null},i$=function(a,b){if($APP.n(a.hasAttribute("disabled")))return null;var c=$APP.p(a.hasAttribute("open"));return $APP.ch(a,"x-collapse-toggle",{open:c,source:b})?(c?a.setAttribute("open",""):a.removeAttribute("open"),$APP.P(a,"x-collapse-change",{open:c})):null},sca=function(a){return function(){return i$(a,
6
- "pointer")}},tca=function(a){return function(b){var c=b.key;return $APP.B.i(c," ")||$APP.B.i(c,"Enter")?(b.preventDefault(),i$(a,"keyboard")):null}},j$=function(a){var b=$APP.k(a,"__xCollapseRefs");if($APP.n(b)){var c=$APP.k(a,"__xCollapseHandlers");if($APP.n(c)){b=$APP.k(b,"trigger");b.removeEventListener("click",$APP.k(c,"click"));b.removeEventListener("keydown",$APP.k(c,"keydown"));a.__xCollapseHandlers=null;return}}return null},uca=function(a){if(!$APP.n($APP.k(a,"__xCollapseRefs"))){var b=a.attachShadow({mode:"open"}),
2
+ var g$=function(){var a=window.matchMedia;return $APP.n(a)?window.matchMedia("(prefers-reduced-motion: reduce)").matches:a},h$=function(a){a=a.getAttribute("duration-ms");return $APP.n(a)?(a=parseInt(a,10),$APP.n(isNaN(a))?300:$APP.Ci.j(0,$APP.Di.j(2E3,a))):300},hga=function(a,b){function c(){clearTimeout(e);b.style.height="";b.style.transition="";return b.removeEventListener("transitionend",$APP.k(f,"fn"))}if($APP.n(g$()))return b.style.height="",b.style.transition="";a=h$(a);b.style.height="0px";
3
+ b.offsetHeight;var d=""+$APP.R.i(b.scrollHeight)+"px";b.style.transition="height "+$APP.R.i(a)+"ms ease";b.style.height=d;var e=setTimeout(function(){b.style.height="";return b.style.transition=""},a+80),f={fn:null};f.fn=c;return b.addEventListener("transitionend",c)},iga=function(a,b){function c(){clearTimeout(e);b.style.height="";b.style.transition="";return b.removeEventListener("transitionend",$APP.k(f,"fn"))}if($APP.n(g$()))return b.style.height="0px",b.style.transition="";var d=""+$APP.R.i(b.offsetHeight)+
4
+ "px";a=h$(a);b.style.height=d;b.offsetHeight;b.style.transition="height "+$APP.R.i(a)+"ms ease";b.style.height="0px";var e=setTimeout(function(){b.style.height="";return b.style.transition=""},a+80),f={fn:null};f.fn=c;return b.addEventListener("transitionend",c)},i$=function(a){var b=$APP.k(a,"__xCollapseRefs");if($APP.n(b)){var c=$APP.k(b,"trigger");b=$APP.k(b,"header-text");var d=a.hasAttribute("open"),e=a.hasAttribute("disabled");a=a.getAttribute("header");b.textContent=$APP.n(a)?a:"";c.setAttribute("aria-expanded",
5
+ $APP.n(d)?"true":"false");if($APP.n(e))return c.setAttribute("disabled",""),c.setAttribute("aria-disabled","true");c.removeAttribute("disabled");return c.removeAttribute("aria-disabled")}return null},j$=function(a,b){if($APP.n(a.hasAttribute("disabled")))return null;var c=$APP.p(a.hasAttribute("open"));return $APP.bh(a,"x-collapse-toggle",{open:c,source:b})?(c?a.setAttribute("open",""):a.removeAttribute("open"),$APP.ah(a,"x-collapse-change",{open:c})):null},jga=function(a){return function(){return j$(a,
6
+ "pointer")}},kga=function(a){return function(b){var c=b.key;return $APP.B.j(c," ")||$APP.B.j(c,"Enter")?(b.preventDefault(),j$(a,"keyboard")):null}},k$=function(a){var b=$APP.k(a,"__xCollapseRefs");if($APP.n(b)){var c=$APP.k(a,"__xCollapseHandlers");if($APP.n(c)){b=$APP.k(b,"trigger");b.removeEventListener("click",$APP.k(c,"click"));b.removeEventListener("keydown",$APP.k(c,"keydown"));a.__xCollapseHandlers=null;return}}return null},lga=function(a){if(!$APP.n($APP.k(a,"__xCollapseRefs"))){var b=a.attachShadow({mode:"open"}),
7
7
  c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("button"),f=document.createElement("span"),h=document.createElement("span"),l=document.createElement("div"),m=document.createElement("div"),q=document.createElement("slot");c.textContent=":host{display:block;color-scheme:light dark;--x-collapse-border-radius:var(--x-radius-md, 8px);--x-collapse-border:1px solid var(--x-color-border,#e2e8f0);--x-collapse-bg:var(--x-color-surface, #ffffff);--x-collapse-trigger-bg:var(--x-color-surface-hover, #f8fafc);--x-collapse-trigger-bg-hover:var(--x-color-surface-active,#f1f5f9);--x-collapse-trigger-color:var(--x-color-text, #0f172a);--x-collapse-trigger-padding:0.75rem 1rem;--x-collapse-content-padding:1rem;--x-collapse-font-size:0.9375rem;--x-collapse-font-weight:600;--x-collapse-chevron-color:var(--x-color-text-muted, #64748b);--x-collapse-focus-ring:var(--x-color-focus-ring, #60a5fa);}@media (prefers-color-scheme:dark){:host{--x-collapse-border:1px solid var(--x-color-border,#334155);--x-collapse-bg:var(--x-color-surface,#1e293b);--x-collapse-trigger-bg:var(--x-color-surface-hover,#0f172a);--x-collapse-trigger-bg-hover:var(--x-color-surface-active,#1e293b);--x-collapse-trigger-color:var(--x-color-text,#e2e8f0);--x-collapse-chevron-color:var(--x-color-text-muted, #94a3b8);--x-collapse-focus-ring:var(--x-color-focus-ring, #93c5fd);}}[part\x3dcontainer]{box-sizing:border-box;border:var(--x-collapse-border);border-radius:var(--x-collapse-border-radius);background:var(--x-collapse-bg);overflow:hidden;}[part\x3dtrigger]{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--x-collapse-trigger-padding);background:var(--x-collapse-trigger-bg);color:var(--x-collapse-trigger-color);font-size:var(--x-collapse-font-size);font-weight:var(--x-collapse-font-weight);cursor:pointer;user-select:none;}[part\x3dtrigger][disabled]{cursor:default;opacity:0.55;}[part\x3dtrigger]:hover:not([disabled]){background:var(--x-collapse-trigger-bg-hover);}[part\x3dtrigger]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--x-collapse-focus-ring);}[part\x3dheader-text]{flex:1;text-align:start;}[part\x3dchevron]{display:inline-block;margin-inline-start:0.5rem;color:var(--x-collapse-chevron-color);transition:transform 200ms ease;flex-shrink:0;}:host([open]) [part\x3dchevron]{transform:rotate(180deg);}[part\x3dcontent]{overflow:hidden;height:0;}:host([open]) [part\x3dcontent]{height:auto;}[part\x3dcontent-inner]{padding:var(--x-collapse-content-padding);}@media (prefers-reduced-motion:reduce){[part\x3dcontent]{transition:none !important;}[part\x3dchevron]{transition:none !important;}}";
8
8
  d.setAttribute("part","container");e.setAttribute("part","trigger");e.setAttribute("type","button");e.setAttribute("id","trigger");e.setAttribute("aria-controls","panel");f.setAttribute("part","header-text");h.setAttribute("part","chevron");h.setAttribute("aria-hidden","true");l.setAttribute("part","content");l.setAttribute("id","panel");l.setAttribute("role","region");l.setAttribute("aria-labelledby","trigger");m.setAttribute("part","content-inner");q.setAttribute("name","content");h.textContent=
9
- "▼";e.appendChild(f);e.appendChild(h);m.appendChild(q);l.appendChild(m);d.appendChild(e);d.appendChild(l);b.appendChild(c);b.appendChild(d);a.__xCollapseRefs={root:b,trigger:e,"header-text":f,content:l}}j$(a);b=$APP.k(a,"__xCollapseRefs");$APP.n(b)&&(b=$APP.k(b,"trigger"),c=sca(a),d=tca(a),e={click:c,keydown:d},b.addEventListener("click",c),b.addEventListener("keydown",d),a.__xCollapseHandlers=e);return h$(a)},vca=function(a){return j$(a)},wca=function(a,b){if($APP.n($APP.k(a,"__xCollapseRefs"))&&
10
- (h$(a),$APP.B.i(b,"open"))){b=$APP.k(a,"__xCollapseRefs");b=$APP.n(b)?$APP.k(b,"content"):null;var c=a.hasAttribute("open");return $APP.n(b)?$APP.n(c)?qca(a,b):rca(a,b):null}return null},yca=function(a){$APP.jh(a,xca);return a.toggle=function(){return i$(this,"programmatic")}},k$=function(){return $APP.Yg("x-collapse",new $APP.N(null,5,[$APP.Pg,zca,$APP.Qg,uca,$APP.Rg,vca,$APP.Sg,wca,$APP.Wg,yca],null))};var zca=["open","disabled","header","duration-ms"],xca=new $APP.N(null,4,[$APP.Bn,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"open"],null),$APP.al,new $APP.N(null,2,[$APP.R,$APP.T,$APP.S,"disabled"],null),$APP.xk,new $APP.N(null,2,[$APP.R,$APP.U,$APP.S,"header"],null),new $APP.F(null,"durationMs","durationMs",1439579766),new $APP.N(null,3,[$APP.R,$APP.V,$APP.S,"duration-ms",$APP.ih,300],null)],null);
11
- $APP.Yd(["x-collapse-toggle",new $APP.N(null,2,[$APP.Fn,!0,$APP.Z,new $APP.N(null,2,[$APP.Bn,$APP.T,$APP.Em,$APP.U],null)],null),"x-collapse-change",new $APP.N(null,2,[$APP.Fn,!1,$APP.Z,new $APP.N(null,1,[$APP.Bn,$APP.T],null)],null)]);$APP.ca("baredom.exports.x_collapse.init",k$);export const init=k$;
9
+ "▼";e.appendChild(f);e.appendChild(h);m.appendChild(q);l.appendChild(m);d.appendChild(e);d.appendChild(l);b.appendChild(c);b.appendChild(d);a.__xCollapseRefs={root:b,trigger:e,"header-text":f,content:l}}k$(a);b=$APP.k(a,"__xCollapseRefs");$APP.n(b)&&(b=$APP.k(b,"trigger"),c=jga(a),d=kga(a),e={click:c,keydown:d},b.addEventListener("click",c),b.addEventListener("keydown",d),a.__xCollapseHandlers=e);return i$(a)},mga=function(a){return k$(a)},nga=function(a,b){if($APP.n($APP.k(a,"__xCollapseRefs"))&&
10
+ (i$(a),$APP.B.j(b,"open"))){b=$APP.k(a,"__xCollapseRefs");b=$APP.n(b)?$APP.k(b,"content"):null;var c=a.hasAttribute("open");return $APP.n(b)?$APP.n(c)?hga(a,b):iga(a,b):null}return null},pga=function(a){$APP.ih(a,oga);return a.toggle=function(){return j$(this,"programmatic")}},l$=function(){return $APP.Wg("x-collapse",new $APP.P(null,5,[$APP.Mg,qga,$APP.Ng,lga,$APP.Og,mga,$APP.Qg,nga,$APP.Ug,pga],null))};var qga=["open","disabled","header","duration-ms"],oga=new $APP.P(null,4,[$APP.Qn,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"open"],null),$APP.fl,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"disabled"],null),$APP.Bk,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"header"],null),new $APP.F(null,"durationMs","durationMs",1439579766),new $APP.P(null,3,[$APP.S,$APP.W,$APP.T,"duration-ms",$APP.hh,300],null)],null);
11
+ $APP.Ud(["x-collapse-toggle",new $APP.P(null,2,[$APP.Un,!0,$APP.Z,new $APP.P(null,2,[$APP.Qn,$APP.U,$APP.Rm,$APP.V],null)],null),"x-collapse-change",new $APP.P(null,2,[$APP.Un,!1,$APP.Z,new $APP.P(null,1,[$APP.Qn,$APP.U],null)],null)]);$APP.da("baredom.exports.x_collapse.init",l$);export const init=l$;