@vanelsas/baredom 2.7.0 → 2.8.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 (107) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/custom-elements.json +344 -5
  3. package/dist/baredom.d.ts +4 -0
  4. package/dist/base.js +451 -427
  5. package/dist/integrity.json +97 -93
  6. package/dist/x-alert.js +17 -18
  7. package/dist/x-avatar-group.js +9 -10
  8. package/dist/x-avatar.js +15 -15
  9. package/dist/x-badge.js +9 -10
  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 -14
  13. package/dist/x-button.js +16 -18
  14. package/dist/x-cancel-dialogue.js +13 -17
  15. package/dist/x-card.js +7 -7
  16. package/dist/x-carousel.js +33 -34
  17. package/dist/x-chart.d.ts +26 -0
  18. package/dist/x-chart.js +47 -46
  19. package/dist/x-checkbox.js +11 -10
  20. package/dist/x-chip.js +1 -9
  21. package/dist/x-collapse.js +10 -10
  22. package/dist/x-color-picker.js +44 -44
  23. package/dist/x-combobox.js +26 -26
  24. package/dist/x-command-palette.js +26 -26
  25. package/dist/x-container.js +4 -4
  26. package/dist/x-context-menu.d.ts +31 -2
  27. package/dist/x-context-menu.js +20 -18
  28. package/dist/x-copy.js +20 -23
  29. package/dist/x-currency-field.js +23 -23
  30. package/dist/x-date-picker.d.ts +27 -0
  31. package/dist/x-date-picker.js +42 -41
  32. package/dist/x-divider.js +9 -9
  33. package/dist/x-drawer.js +10 -11
  34. package/dist/x-dropdown.js +11 -10
  35. package/dist/x-fieldset.js +5 -6
  36. package/dist/x-file-download.js +7 -7
  37. package/dist/x-file-upload.js +20 -20
  38. package/dist/x-form-field.js +15 -15
  39. package/dist/x-form.js +9 -8
  40. package/dist/x-gaussian-blur.js +13 -19
  41. package/dist/x-grid.js +6 -6
  42. package/dist/x-i18n-provider.d.ts +43 -0
  43. package/dist/x-i18n-provider.js +8 -0
  44. package/dist/x-i18n.d.ts +14 -0
  45. package/dist/x-i18n.js +5 -0
  46. package/dist/x-icon.js +6 -7
  47. package/dist/x-image.js +18 -19
  48. package/dist/x-kinetic-canvas.d.ts +18 -0
  49. package/dist/x-kinetic-canvas.js +26 -0
  50. package/dist/x-kinetic-font.js +27 -28
  51. package/dist/x-kinetic-typography.js +33 -39
  52. package/dist/x-liquid-dock.js +39 -39
  53. package/dist/x-liquid-fill.js +45 -45
  54. package/dist/x-liquid-glass.js +47 -47
  55. package/dist/x-menu-item.js +8 -9
  56. package/dist/x-menu.js +10 -11
  57. package/dist/x-metaball-cursor.js +27 -27
  58. package/dist/x-modal.js +11 -12
  59. package/dist/x-morph-stack.js +37 -38
  60. package/dist/x-multi-combobox.d.ts +50 -0
  61. package/dist/x-multi-combobox.js +37 -0
  62. package/dist/x-navbar.js +12 -12
  63. package/dist/x-neural-glow.js +33 -33
  64. package/dist/x-notification-center.js +9 -9
  65. package/dist/x-organic-divider.js +17 -18
  66. package/dist/x-organic-progress.js +38 -38
  67. package/dist/x-organic-shape.js +13 -13
  68. package/dist/x-pagination.js +15 -16
  69. package/dist/x-particle-button.js +51 -51
  70. package/dist/x-popover.js +26 -24
  71. package/dist/x-progress-circle.js +9 -10
  72. package/dist/x-progress.js +10 -11
  73. package/dist/x-radio.js +11 -10
  74. package/dist/x-ripple-effect.js +11 -12
  75. package/dist/x-scroll-parallax.js +18 -19
  76. package/dist/x-scroll-stack.js +17 -18
  77. package/dist/x-scroll-story.js +34 -36
  78. package/dist/x-scroll-timeline.js +45 -46
  79. package/dist/x-scroll.js +40 -41
  80. package/dist/x-search-field.js +15 -15
  81. package/dist/x-select.js +10 -9
  82. package/dist/x-sidebar.js +17 -17
  83. package/dist/x-skeleton-group.js +12 -12
  84. package/dist/x-skeleton.js +1 -1
  85. package/dist/x-slider.js +15 -16
  86. package/dist/x-soft-body.js +22 -22
  87. package/dist/x-spacer.js +4 -5
  88. package/dist/x-spinner.js +4 -5
  89. package/dist/x-splash.js +12 -13
  90. package/dist/x-stat.js +10 -12
  91. package/dist/x-stepper.js +14 -15
  92. package/dist/x-switch.js +10 -9
  93. package/dist/x-tab.js +7 -8
  94. package/dist/x-table-cell.js +20 -24
  95. package/dist/x-table-row.js +8 -9
  96. package/dist/x-table.js +12 -15
  97. package/dist/x-tabs.js +11 -11
  98. package/dist/x-text-area.js +18 -18
  99. package/dist/x-theme.js +25 -25
  100. package/dist/x-timeline-item.js +21 -23
  101. package/dist/x-timeline.js +8 -9
  102. package/dist/x-toast.js +22 -24
  103. package/dist/x-toaster.js +8 -8
  104. package/dist/x-tooltip.js +12 -11
  105. package/dist/x-typography.js +9 -11
  106. package/dist/x-welcome-tour.js +60 -64
  107. package/package.json +21 -1
@@ -1,35 +1,34 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var ix=function(a){return a==null?!0:$APP.N((""+$APP.S.g(a)).trim().toLowerCase(),"false")},jx=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.q(isNaN(a))&&a>=0?a:0):0},kx=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.q(isNaN(a))&&a>=100?a:5E3):5E3},mx=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(lx,a)?a:"slide"):"slide"},ox=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(nx,a)?a:"horizontal"):"horizontal"},
3
- qx=function(a){var b=(b=typeof a==="string")?px.test(a.trim()):b;return $APP.n(b)?a.trim():"0px"},rx=function(a,b){return b<=0?0:a<0?0:a>=b?b-1:a},tx=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.vi);var c=$APP.D(b,$APP.Ol);b=$APP.D(b,sx);var d=a+1;return d>=b?$APP.n(c)?0:a:d},ux=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.vi);var c=$APP.D(b,$APP.Ol);b=$APP.D(b,sx);var d=a-1;return d<0?$APP.n(c)?b-1:a:d},Cx=function(a){var b=$APP.k(a,"__xCarouselSlideCount");a=$APP.zf([$APP.fm,sx,vx,wx,$APP.Dm,xx,$APP.xi,
4
- $APP.pk,yx,$APP.pn,$APP.qj,zx],[a.hasAttribute("disabled"),$APP.n(b)?b:0,a.getAttribute("transition"),a.getAttribute("arrows"),a.getAttribute("peek"),a.hasAttribute("loop"),a.getAttribute("interval"),a.getAttribute("aria-label"),a.hasAttribute("autoplay"),a.getAttribute("current"),a.getAttribute("direction"),a.getAttribute("dots")]);var c=$APP.M(a);a=$APP.D(c,$APP.pk);b=$APP.D(c,yx);var d=$APP.D(c,$APP.xi),e=$APP.D(c,$APP.pn),g=$APP.D(c,$APP.qj),h=$APP.D(c,zx),l=$APP.D(c,$APP.fm),m=$APP.D(c,sx),p=
5
- $APP.D(c,vx),r=$APP.D(c,wx),v=$APP.D(c,$APP.Dm);c=$APP.D(c,xx);m=$APP.n(m)?m:0;e=rx(jx(e),m);return $APP.zf([Ax,Bx,$APP.ol,sx,$APP.vi,$APP.Ol,$APP.pl,$APP.hm,$APP.tj,$APP.X,$APP.Lj,$APP.ej],[ix(r),mx(p),ix(h),m,e,$APP.F(c),kx(d),$APP.bh(a)?a:null,qx(v),$APP.F(l),ox(g),$APP.F(b)])},Dx=function(a){var b=$APP.k(a,"__xCarouselAutoTimer");$APP.n(b)&&(clearInterval(b),a.__xCarouselAutoTimer=null)},Fx=function(a){Dx(a);var b=Cx(a);$APP.n(function(){var c=$APP.ej.g(b);return $APP.n(c)?(c=$APP.q($APP.k(a,
6
- "__xCarouselPaused")))?(c=$APP.q($APP.X.g(b)))?(c=sx.g(b)>1)?a.isConnected:c:c:c:c}())&&$APP.Mg(a,"__xCarouselAutoTimer",setInterval(function(){if($APP.n(a.isConnected)){var c=Cx(a);c=tx(c);return Ex.m?Ex.m(a,c,"autoplay"):Ex.call(null,a,c,"autoplay")}return null},$APP.pl.g(b)))},Gx=function(a){if($APP.Ng(a,"__xCarouselInit")){var b=Cx(a);if($APP.N(b,$APP.k(a,"__xCarouselModel"))){a.__xCarouselModel=b;var c=$APP.k(a,"__xCarouselRefs"),d=$APP.k(c,"track"),e=$APP.k(c,"prev"),g=$APP.k(c,"next"),h=$APP.k(c,
7
- "dots");c=$APP.k(c,"live");var l=$APP.vi.g(b),m=sx.g(b),p=Bx.g(b),r=$APP.Lj.g(b),v=$APP.tj.g(b),x=$APP.B.i(r,"vertical");a.setAttribute("data-direction",r);a.setAttribute("data-transition",p);a.setAttribute("role","region");a.setAttribute("aria-roledescription","carousel");var y=$APP.hm.g(b);$APP.n(y)?a.setAttribute("aria-label",y):$APP.n(a.hasAttribute("aria-label"))||a.setAttribute("aria-label","Carousel");h.setAttribute("aria-orientation",r);a.style.setProperty("--_peek",v);if($APP.B.i(p,"slide"))for(p=
8
- x?"Y":"X",$APP.B.i(v,"0px")?d.style.transform="translate"+$APP.S.g(p)+"("+$APP.S.g(l*-100)+"%)":d.style.transform="translate"+$APP.S.g(p)+"(calc("+$APP.S.g(l*-1)+" * (100% - "+$APP.S.g(v)+" * 2) + "+$APP.S.g(v)+"))",d=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements(),v=d.length,p=0;;)if(p<v)d[p].style.opacity="",p+=1;else break;else for(d.style.transform="",d=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements(),v=d.length,p=0;;)if(p<v)d[p].style.opacity=$APP.B.i(p,l)?"1":"0",
9
- p+=1;else break;v=$APP.M(b);d=$APP.D(v,Ax);v=$APP.D(v,sx);$APP.n($APP.n(d)?v>1:d)?(e.style.display="flex",g.style.display="flex",r=$APP.M(b),d=$APP.D(r,$APP.vi),v=$APP.D(r,$APP.Ol),p=$APP.D(r,sx),r=$APP.D(r,$APP.X),d=(r=$APP.q(r))?(p=p>1)?$APP.n(v)?v:d>0:p:r,e.disabled=$APP.q(d),p=$APP.M(b),e=$APP.D(p,$APP.vi),d=$APP.D(p,$APP.Ol),v=$APP.D(p,sx),p=$APP.D(p,$APP.X),e=(p=$APP.q(p))?(p=v>1)?$APP.n(d)?d:e<v-1:p:p,g.disabled=$APP.q(e)):(e.style.display="none",g.style.display="none");e=$APP.M(b);g=$APP.D(e,
10
- $APP.ol);e=$APP.D(e,sx);if($APP.n($APP.n(g)?e>1:g)){h.style.display="flex";g=$APP.k(a,"__xCarouselDotCount");if($APP.N($APP.n(g)?g:-1,m)){h.innerHTML="";for(g=0;;)if(g<m)e=document.createElement("button"),e.setAttribute("part","dot"),e.setAttribute("type","button"),e.setAttribute("role","tab"),e.setAttribute("aria-label","Go to slide "+$APP.S.g(g+1)),e.setAttribute("data-index",""+$APP.S.g(g)),h.appendChild(e),g+=1;else break;a.__xCarouselDotCount=m}a=h.children;h=a.length;for(g=0;;)if(g<h)e=a[g],
11
- e.setAttribute("aria-current",""+$APP.S.g($APP.B.i(g,l))),e.setAttribute("aria-selected",""+$APP.S.g($APP.B.i(g,l))),g+=1;else break}else h.style.display="none";m>0&&(c.textContent="Slide "+$APP.S.g(l+1)+" of "+$APP.S.g(m));$APP.n($APP.ej.g(b))?c.setAttribute("aria-live","off"):c.setAttribute("aria-live","polite")}}},Ex=function(a,b,c){var d=Cx(a),e=sx.g(d);b=rx(b,e);d=$APP.vi.g(d);$APP.N(b,d)&&e>0&&(c=new CustomEvent("x-carousel-change",{detail:{index:b,previousIndex:d,reason:c},bubbles:!0,composed:!0,
12
- cancelable:!0}),$APP.n(a.dispatchEvent(c))&&a.setAttribute("current",""+$APP.S.g(b)));return null},Mx=function(a){function b(J){$APP.n(a.contains(J.relatedTarget))||(a.__xCarouselPaused=!1,Fx(a));return null}function c(){a.__xCarouselPaused=!0;Dx(a);return null}function d(){a.__xCarouselPaused=!1;Fx(a);return null}function e(){a.__xCarouselPaused=!0;Dx(a);return null}function g(){var J=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements().length;a.__xCarouselSlideCount=J;var U=Cx(a);J=rx($APP.vi.g(U),
13
- J);$APP.N(J,$APP.vi.g(U))&&a.setAttribute("current",""+$APP.S.g(J));Gx(a);Fx(a);return null}function h(){var J=Cx(a);Ex(a,tx(J),"arrow");return null}function l(){var J=Cx(a);Ex(a,ux(J),"arrow");return null}function m(J){J=J.target.getAttribute("data-index");$APP.n(J)&&(J=parseInt(J,10),$APP.n(isNaN(J))||Ex(a,J,"dot"));return null}function p(J){var U=Cx(a),aa=J.key,ta=$APP.Lj.g(U);$APP.q($APP.X.g(U))&&sx.g(U)>1&&($APP.I($APP.B.i(ta,"vertical")?Hx:Ix,aa)?(J.preventDefault(),Ex(a,ux(U),"keyboard")):
14
- $APP.I($APP.B.i(ta,"vertical")?Jx:Kx,aa)?(J.preventDefault(),Ex(a,tx(U),"keyboard")):$APP.B.i(aa,"Home")?(J.preventDefault(),Ex(a,0,"keyboard")):$APP.B.i(aa,"End")&&(J.preventDefault(),Ex(a,sx.g(U)-1,"keyboard")));return null}function r(){if($APP.n($APP.k(a,"__xCarouselDragging"))){a.__xCarouselDragging=!1;var J=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),U=$APP.k(a,"__xCarouselDragCurrent")-$APP.k(a,"__xCarouselDragStart"),aa=Date.now()-$APP.k(a,"__xCarouselDragStartT");aa=aa>0?U/aa:0;U=aa>.3?$APP.ik:
15
- aa<-.3?$APP.ok:U>40?$APP.ik:U<-40?$APP.ok:Lx;aa=Cx(a);J.classList.remove("dragging");switch(U instanceof $APP.K?U.pa:null){case "prev":Ex(a,ux(aa),"drag");break;case "next":Ex(a,tx(aa),"drag");break;default:Gx(a)}a.__xCarouselPaused=!1;Fx(a)}return null}function v(J){if($APP.n($APP.k(a,"__xCarouselDragging"))){var U=Cx(a),aa=$APP.B.i($APP.Lj.g(U),"vertical");J=aa?J.clientY:J.clientX;var ta=J-$APP.k(a,"__xCarouselDragStart"),Ma=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),Za=$APP.vi.g(U);aa=aa?"Y":
16
- "X";U=$APP.tj.g(U);a.__xCarouselDragCurrent=J;$APP.B.i(U,"0px")?Ma.style.transform="translate"+$APP.S.g(aa)+"(calc("+$APP.S.g(Za*-100)+"% + "+$APP.S.g(ta)+"px))":Ma.style.transform="translate"+$APP.S.g(aa)+"(calc("+$APP.S.g(Za*-1)+" * (100% - "+$APP.S.g(U)+" * 2) + "+$APP.S.g(U)+" + "+$APP.S.g(ta)+"px))"}return null}function x(J){var U=Cx(a);if($APP.q($APP.X.g(U))&&$APP.B.i(Bx.g(U),"slide")&&sx.g(U)>1){J.preventDefault();var aa=$APP.k($APP.k(a,"__xCarouselRefs"),"track");U=$APP.B.i($APP.Lj.g(U),"vertical")?
17
- J.clientY:J.clientX;aa.setPointerCapture(J.pointerId);aa.classList.add("dragging");a.__xCarouselDragging=!0;a.__xCarouselDragStart=U;J=Date.now();a.__xCarouselDragStartT=J;a.__xCarouselDragCurrent=U;a.__xCarouselPaused=!0;Dx(a)}return null}var y=$APP.k(a,"__xCarouselRefs"),A=$APP.k(y,"track"),C=$APP.k(y,"slot"),E=$APP.k(y,"prev"),H=$APP.k(y,"next"),G=$APP.k(y,"dots");y=$APP.k(y,"viewport");A.addEventListener("pointerdown",x);A.addEventListener("pointermove",v);A.addEventListener("pointerup",r);y.addEventListener("keydown",
18
- p);G.addEventListener("click",m);E.addEventListener("click",l);H.addEventListener("click",h);C.addEventListener("slotchange",g);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.Mg(a,"__xCarouselHandlers",{next:h,up:r,slot:g,dot:m,key:p,prev:l,focusin:c,leave:d,move:v,down:x,enter:e,focusout:b})},Nx=function(a){Dx(a);var b=$APP.k(a,"__xCarouselHandlers"),c=$APP.k(a,"__xCarouselRefs");if($APP.n($APP.n(b)?
19
- c:b)){var d=$APP.k(c,"track"),e=$APP.k(c,"slot"),g=$APP.k(c,"prev"),h=$APP.k(c,"next"),l=$APP.k(c,"dots");c=$APP.k(c,"viewport");d.removeEventListener("pointerdown",$APP.k(b,"down"));d.removeEventListener("pointermove",$APP.k(b,"move"));d.removeEventListener("pointerup",$APP.k(b,"up"));c.removeEventListener("keydown",$APP.k(b,"key"));l.removeEventListener("click",$APP.k(b,"dot"));g.removeEventListener("click",$APP.k(b,"prev"));h.removeEventListener("click",$APP.k(b,"next"));e.removeEventListener("slotchange",
20
- $APP.k(b,"slot"));a.removeEventListener("pointerenter",$APP.k(b,"enter"));a.removeEventListener("pointerleave",$APP.k(b,"leave"));a.removeEventListener("focusin",$APP.k(b,"focusin"));a.removeEventListener("focusout",$APP.k(b,"focusout"))}a.__xCarouselHandlers=null},Ox=function(a){for(var b=$APP.t(new $APP.O(null,3,5,$APP.P,["autoplay","loop","disabled"],null)),c=null,d=0,e=0;;)if(e<d){var g=c.F(null,e);Object.defineProperty(a,g,{get:function(m,p,r,v,x){return function(){return this.hasAttribute(x)}}(b,
21
- c,d,e,g),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.setAttribute(x,""):this.removeAttribute(x)}}(b,c,d,e,g),enumerable:!0,configurable:!0});e+=1}else{var h=$APP.t(b);if(h){g=h;if($APP.Nc(g))b=$APP.xb(g),e=$APP.yb(g),c=b,d=$APP.z(b),b=e;else{var l=$APP.u(g);Object.defineProperty(a,l,{get:function(m,p,r,v,x){return function(){return this.hasAttribute(x)}}(b,c,d,e,l,g,h),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.setAttribute(x,""):this.removeAttribute(x)}}(b,
22
- c,d,e,l,g,h),enumerable:!0,configurable:!0});b=$APP.w(g);c=null;d=0}e=0}else break}b=$APP.t(new $APP.O(null,2,5,$APP.P,["arrows","dots"],null));c=null;for(e=d=0;;)if(e<d)g=c.F(null,e),Object.defineProperty(a,g,{get:function(m,p,r,v,x){return function(){return ix(this.getAttribute(x))}}(b,c,d,e,g),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.removeAttribute(x):this.setAttribute(x,"false")}}(b,c,d,e,g),enumerable:!0,configurable:!0}),e+=1;else if(h=$APP.t(b))g=h,$APP.Nc(g)?(b=$APP.xb(g),
23
- e=$APP.yb(g),c=b,d=$APP.z(b),b=e):(l=$APP.u(g),Object.defineProperty(a,l,{get:function(m,p,r,v,x){return function(){return ix(this.getAttribute(x))}}(b,c,d,e,l,g,h),set:function(m,p,r,v,x){return function(y){return $APP.n(y)?this.removeAttribute(x):this.setAttribute(x,"false")}}(b,c,d,e,l,g,h),enumerable:!0,configurable:!0}),b=$APP.w(g),c=null,d=0),e=0;else break;Object.defineProperty(a,"currentSlide",{get:function(){return jx(this.getAttribute("current"))},set:function(m){return this.setAttribute("current",
24
- ""+$APP.S.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"interval",{get:function(){return kx(this.getAttribute("interval"))},set:function(m){return m==null?this.removeAttribute("interval"):this.setAttribute("interval",""+$APP.S.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"transition",{get:function(){return mx(this.getAttribute("transition"))},set:function(m){return $APP.n(m)?this.setAttribute("transition",""+$APP.S.g(m)):this.removeAttribute("transition")},
25
- enumerable:!0,configurable:!0});Object.defineProperty(a,"direction",{get:function(){return ox(this.getAttribute("direction"))},set:function(m){return $APP.n(m)?this.setAttribute("direction",""+$APP.S.g(m)):this.removeAttribute("direction")},enumerable:!0,configurable:!0});Object.defineProperty(a,"peek",{get:function(){return qx(this.getAttribute("peek"))},set:function(m){return $APP.n(m)?this.setAttribute("peek",""+$APP.S.g(m)):this.removeAttribute("peek")},enumerable:!0,configurable:!0});Object.defineProperty(a,
26
- "slideCount",{get:function(){var m=$APP.k(this,"__xCarouselSlideCount");return $APP.n(m)?m:0},enumerable:!0,configurable:!0});$APP.ja(a,"next",function(){var m=Cx(this);return Ex(this,tx(m),"api")});$APP.ja(a,"previous",function(){var m=Cx(this);return Ex(this,ux(m),"api")});return $APP.ja(a,"goTo",function(m){return Ex(this,m,"api")})},Px=function(a){if(!$APP.Ng(a,"__xCarouselInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),
27
- g=document.createElement("slot"),h=document.createElement("button"),l=document.createElement("button"),m=document.createElement("div"),p=document.createElement("div");c.textContent=":host{display:block;color-scheme:light dark;position:relative;--x-carousel-height:300px;--x-carousel-arrow-size:40px;--x-carousel-arrow-bg:var(--x-color-surface,rgba(255,255,255,0.9));--x-carousel-arrow-color:var(--x-color-text,#1e293b);--x-carousel-arrow-hover-bg:var(--x-color-surface-hover,rgba(255,255,255,1));--x-carousel-dot-size:10px;--x-carousel-dot-color:var(--x-color-border,#cbd5e1);--x-carousel-dot-active-color:var(--x-color-primary,#3b82f6);--x-carousel-transition-duration:var(--x-transition-duration,300ms);--x-carousel-radius:var(--x-radius-md,8px);--x-carousel-gap:16px;--x-carousel-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-carousel-disabled-opacity:0.5;}@media(prefers-color-scheme:dark){:host{--x-carousel-arrow-bg:var(--x-color-surface,rgba(30,41,59,0.9));--x-carousel-arrow-color:var(--x-color-text,#f1f5f9);--x-carousel-arrow-hover-bg:var(--x-color-surface-hover,rgba(30,41,59,1));--x-carousel-dot-color:var(--x-color-border,#475569);--x-carousel-dot-active-color:var(--x-color-primary,#60a5fa);--x-carousel-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dviewport]{position:relative;overflow:hidden;height:var(--x-carousel-height);border-radius:var(--x-carousel-radius);}[part\x3dviewport]:focus{outline:none;}[part\x3dviewport]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3dtrack]{display:flex;flex-direction:row;height:100%;transition:transform var(--x-carousel-transition-duration) ease;will-change:transform;touch-action:pan-y pinch-zoom;}[part\x3dtrack].dragging{transition:none !important;cursor:grabbing;}:host([data-direction\x3dvertical]) [part\x3dtrack]{flex-direction:column;touch-action:pan-x pinch-zoom;}::slotted(*){min-width:calc(100% - var(--_peek,0px) * 2);max-width:calc(100% - var(--_peek,0px) * 2);flex-shrink:0;box-sizing:border-box;overflow:hidden;}:host([data-direction\x3dvertical]) ::slotted(*){min-width:auto;max-width:none;min-height:calc(100% - var(--_peek,0px) * 2);max-height:calc(100% - var(--_peek,0px) * 2);}:host([data-transition\x3dfade]) [part\x3dtrack]{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;transition:none;}:host([data-transition\x3dfade]) ::slotted(*){grid-area:1/1;min-width:100%;max-width:100%;transition:opacity var(--x-carousel-transition-duration) ease;}[part\x3dprev-btn],[part\x3dnext-btn]{position:absolute;top:50%;transform:translateY(-50%);width:var(--x-carousel-arrow-size);height:var(--x-carousel-arrow-size);border-radius:50%;border:none;background:var(--x-carousel-arrow-bg);color:var(--x-carousel-arrow-color);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:1;box-shadow:var(--x-shadow-sm,0 1px 3px rgba(0,0,0,0.1));transition:background 150ms ease,opacity 150ms ease,transform 150ms ease;opacity:0.85;}[part\x3dprev-btn]:hover,[part\x3dnext-btn]:hover{background:var(--x-carousel-arrow-hover-bg);opacity:1;}[part\x3dprev-btn]:active,[part\x3dnext-btn]:active{transform:translateY(-50%) scale(0.95);}[part\x3dprev-btn]:focus,[part\x3dnext-btn]:focus{outline:none;}[part\x3dprev-btn]:focus-visible,[part\x3dnext-btn]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3dprev-btn]:disabled,[part\x3dnext-btn]:disabled{opacity:0.3;cursor:default;pointer-events:none;}[part\x3dprev-btn]{left:8px;}[part\x3dnext-btn]{right:8px;}[part\x3dprev-btn] svg,[part\x3dnext-btn] svg{width:60%;height:60%;pointer-events:none;}:host([data-direction\x3dvertical]) [part\x3dprev-btn],:host([data-direction\x3dvertical]) [part\x3dnext-btn]{top:auto;left:50%;right:auto;transform:translateX(-50%) rotate(90deg);}:host([data-direction\x3dvertical]) [part\x3dprev-btn]{top:8px;bottom:auto;}:host([data-direction\x3dvertical]) [part\x3dnext-btn]{bottom:8px;top:auto;}:host([data-direction\x3dvertical]) [part\x3dprev-btn]:active{transform:translateX(-50%) rotate(90deg) scale(0.95);}:host([data-direction\x3dvertical]) [part\x3dnext-btn]:active{transform:translateX(-50%) rotate(90deg) scale(0.95);}[part\x3ddots]{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px 0;}[part\x3ddot]{all:unset;width:var(--x-carousel-dot-size);height:var(--x-carousel-dot-size);border-radius:50%;background:var(--x-carousel-dot-color);cursor:pointer;transition:background 150ms ease,transform 150ms ease;}[part\x3ddot]:hover{transform:scale(1.3);}[part\x3ddot]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3ddot][aria-current\x3dtrue]{background:var(--x-carousel-dot-active-color);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}:host([disabled]){opacity:var(--x-carousel-disabled-opacity);pointer-events:none;}@media(prefers-reduced-motion:reduce){[part\x3dtrack]{transition-duration:0ms !important;}:host([data-transition\x3dfade]) ::slotted(*){transition-duration:0ms !important;}[part\x3dprev-btn],[part\x3dnext-btn],[part\x3ddot]{transition:none !important;}}@media(pointer:coarse){[part\x3dprev-btn],[part\x3dnext-btn]{width:max(var(--x-carousel-arrow-size),44px);height:max(var(--x-carousel-arrow-size),44px);}[part\x3ddot]{width:max(var(--x-carousel-dot-size),44px);height:max(var(--x-carousel-dot-size),44px);background-clip:content-box;padding:calc((44px - var(--x-carousel-dot-size)) / 2);box-sizing:content-box;}}";
28
- d.setAttribute("part","viewport");d.setAttribute("tabindex","0");e.setAttribute("part","track");e.appendChild(g);h.setAttribute("part","prev-btn");h.setAttribute("type","button");h.setAttribute("aria-label","Previous slide");h.innerHTML='\x3csvg viewBox\x3d"0 0 24 24" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpolyline points\x3d"15 18 9 12 15 6"\x3e\x3c/polyline\x3e\x3c/svg\x3e';l.setAttribute("part","next-btn");l.setAttribute("type",
29
- "button");l.setAttribute("aria-label","Next slide");l.innerHTML='\x3csvg viewBox\x3d"0 0 24 24" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpolyline points\x3d"9 6 15 12 9 18"\x3e\x3c/polyline\x3e\x3c/svg\x3e';d.appendChild(e);d.appendChild(h);d.appendChild(l);m.setAttribute("part","dots");m.setAttribute("role","tablist");m.setAttribute("aria-label","Slide indicators");p.setAttribute("aria-live","polite");p.setAttribute("aria-atomic",
30
- "true");p.className="sr-only";b.appendChild(c);b.appendChild(d);b.appendChild(m);b.appendChild(p);a.__xCarouselRefs={root:b,viewport:d,track:e,slot:g,prev:h,next:l,dots:m,live:p};a.__xCarouselInit=!0}Nx(a);Mx(a);b=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements();a.__xCarouselSlideCount=b.length;Gx(a);Fx(a);return null},Qx=function(a){Nx(a);return null},Rx=function(a){$APP.Ng(a,"__xCarouselInit")&&(Gx(a),$APP.n(a.isConnected)&&Fx(a));return null},Tx=function(){return $APP.Lg("x-carousel",
31
- new $APP.Q(null,5,[$APP.Cg,Sx,$APP.Dg,Px,$APP.Eg,Qx,$APP.Fg,Rx,$APP.Jg,Ox],null))},wx=new $APP.K(null,"arrows-raw","arrows-raw",-1077955796),Bx=new $APP.K(null,"transition","transition",765692007),Ax=new $APP.K(null,"arrows?","arrows?",-1692502811),vx=new $APP.K(null,"transition-raw","transition-raw",-1184759092),yx=new $APP.K(null,"autoplay-present?","autoplay-present?",-1468092647),sx=new $APP.K(null,"slide-count","slide-count",1368058827),zx=new $APP.K(null,"dots-raw","dots-raw",-1711545603),xx=
32
- new $APP.K(null,"loop-present?","loop-present?",1373422006),Lx=new $APP.K(null,"stay","stay",-1240327234);var Sx="autoplay interval loop arrows dots disabled current transition direction peek aria-label".split(" ");
33
- $APP.zf([new $APP.K(null,"arrows","arrows",-1209622014),new $APP.K(null,"slideCount","slideCount",-1489337180),$APP.kk,Bx,$APP.an,$APP.pl,$APP.Zk,$APP.tj,$APP.ml,new $APP.K(null,"currentSlide","currentSlide",-417438499),$APP.Lj],[new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Ok,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,
34
- [$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.uk],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null)]);$APP.Pd(["x-carousel-change",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,3,[$APP.wi,$APP.W,$APP.vk,$APP.W,$APP.hj,$APP.Y],null),$APP.Km,!0],null)]);
35
- var lx=new $APP.R(null,new $APP.Q(null,2,["slide",null,"fade",null],null),null),nx=new $APP.R(null,new $APP.Q(null,2,["vertical",null,"horizontal",null],null),null),px=/^\d+(\.\d+)?(px|rem|em|%)$/,Ix=new $APP.R(null,new $APP.Q(null,1,["ArrowLeft",null],null),null),Kx=new $APP.R(null,new $APP.Q(null,1,["ArrowRight",null],null),null),Hx=new $APP.R(null,new $APP.Q(null,1,["ArrowUp",null],null),null),Jx=new $APP.R(null,new $APP.Q(null,1,["ArrowDown",null],null),null);$APP.ha("baredom.exports.x_carousel.init",Tx);export const init=Tx;
2
+ var kz=function(a){return a==null?!0:$APP.M((""+$APP.Q.g(a)).trim().toLowerCase(),"false")},lz=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.p(isNaN(a))&&a>=0?a:0):0},mz=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.p(isNaN(a))&&a>=100?a:5E3):5E3},oz=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.Zc(nz,a)?a:"slide"):"slide"},qz=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.Zc(pz,a)?a:"horizontal"):"horizontal"},
3
+ sz=function(a){var b=(b=typeof a==="string")?rz.test(a.trim()):b;return $APP.n(b)?a.trim():"0px"},tz=function(a,b){return b<=0?0:a<0?0:a>=b?b-1:a},vz=function(a){var b=$APP.J(a);a=$APP.C(b,$APP.pj);var c=$APP.C(b,$APP.Im);b=$APP.C(b,uz);var d=a+1;return d>=b?$APP.n(c)?0:a:d},wz=function(a){var b=$APP.J(a);a=$APP.C(b,$APP.pj);var c=$APP.C(b,$APP.Im);b=$APP.C(b,uz);var d=a-1;return d<0?$APP.n(c)?b-1:a:d},Ez=function(a){var b=$APP.k(a,"__xCarouselSlideCount");a=$APP.Lf([$APP.Fh,uz,xz,yz,$APP.xn,zz,$APP.rj,
4
+ $APP.fl,Az,$APP.jo,$APP.gk,Bz],[a.hasAttribute("disabled"),$APP.n(b)?b:0,a.getAttribute("transition"),a.getAttribute("arrows"),a.getAttribute("peek"),a.hasAttribute("loop"),a.getAttribute("interval"),a.getAttribute("aria-label"),a.hasAttribute("autoplay"),a.getAttribute("current"),a.getAttribute("direction"),a.getAttribute("dots")]);var c=$APP.J(a);a=$APP.C(c,$APP.fl);b=$APP.C(c,Az);var d=$APP.C(c,$APP.rj),e=$APP.C(c,$APP.jo),f=$APP.C(c,$APP.gk),h=$APP.C(c,Bz),l=$APP.C(c,$APP.Fh),m=$APP.C(c,uz),q=
5
+ $APP.C(c,xz),r=$APP.C(c,yz),v=$APP.C(c,$APP.xn);c=$APP.C(c,zz);m=$APP.n(m)?m:0;e=tz(lz(e),m);return $APP.Lf([Cz,Dz,$APP.fm,uz,$APP.pj,$APP.Im,$APP.gm,$APP.gn,$APP.jk,$APP.Y,$APP.Gk,$APP.Vj],[kz(r),oz(q),kz(h),m,e,$APP.E(c),mz(d),$APP.th(a)?a:null,sz(v),$APP.E(l),qz(f),$APP.E(b)])},Fz=function(a){var b=$APP.k(a,"__xCarouselAutoTimer");$APP.n(b)&&(clearInterval(b),a.__xCarouselAutoTimer=null)},Hz=function(a){Fz(a);var b=Ez(a);$APP.n(function(){var c=$APP.Vj.g(b);return $APP.n(c)?(c=$APP.p($APP.k(a,
6
+ "__xCarouselPaused")))?(c=$APP.p($APP.Y.g(b)))?(c=uz.g(b)>1)?a.isConnected:c:c:c:c}())&&$APP.Zg(a,"__xCarouselAutoTimer",setInterval(function(){if($APP.n(a.isConnected)){var c=Ez(a);c=vz(c);return Gz.l?Gz.l(a,c,"autoplay"):Gz.call(null,a,c,"autoplay")}return null},$APP.gm.g(b)))},Iz=function(a){if($APP.$g(a,"__xCarouselInit")){var b=Ez(a);if($APP.M(b,$APP.k(a,"__xCarouselModel"))){a.__xCarouselModel=b;var c=$APP.k(a,"__xCarouselRefs"),d=$APP.k(c,"track"),e=$APP.k(c,"prev"),f=$APP.k(c,"next"),h=$APP.k(c,
7
+ "dots");c=$APP.k(c,"live");var l=$APP.pj.g(b),m=uz.g(b),q=Dz.g(b),r=$APP.Gk.g(b),v=$APP.jk.g(b),x=$APP.B.i(r,"vertical");a.setAttribute("data-direction",r);a.setAttribute("data-transition",q);a.setAttribute("role","region");a.setAttribute("aria-roledescription","carousel");var y=$APP.gn.g(b);$APP.n(y)?a.setAttribute("aria-label",y):$APP.n(a.hasAttribute("aria-label"))||a.setAttribute("aria-label","Carousel");h.setAttribute("aria-orientation",r);a.style.setProperty("--_peek",v);if($APP.B.i(q,"slide"))for(q=
8
+ x?"Y":"X",$APP.B.i(v,"0px")?d.style.transform="translate"+$APP.Q.g(q)+"("+$APP.Q.g(l*-100)+"%)":d.style.transform="translate"+$APP.Q.g(q)+"(calc("+$APP.Q.g(l*-1)+" * (100% - "+$APP.Q.g(v)+" * 2) + "+$APP.Q.g(v)+"))",d=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements(),v=d.length,q=0;;)if(q<v)d[q].style.opacity="",q+=1;else break;else for(d.style.transform="",d=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements(),v=d.length,q=0;;)if(q<v)d[q].style.opacity=$APP.B.i(q,l)?"1":"0",
9
+ q+=1;else break;v=$APP.J(b);d=$APP.C(v,Cz);v=$APP.C(v,uz);$APP.n($APP.n(d)?v>1:d)?(e.style.display="flex",f.style.display="flex",r=$APP.J(b),d=$APP.C(r,$APP.pj),v=$APP.C(r,$APP.Im),q=$APP.C(r,uz),r=$APP.C(r,$APP.Y),d=(r=$APP.p(r))?(q=q>1)?$APP.n(v)?v:d>0:q:r,e.disabled=$APP.p(d),q=$APP.J(b),e=$APP.C(q,$APP.pj),d=$APP.C(q,$APP.Im),v=$APP.C(q,uz),q=$APP.C(q,$APP.Y),e=(q=$APP.p(q))?(q=v>1)?$APP.n(d)?d:e<v-1:q:q,f.disabled=$APP.p(e)):(e.style.display="none",f.style.display="none");e=$APP.J(b);f=$APP.C(e,
10
+ $APP.fm);e=$APP.C(e,uz);if($APP.n($APP.n(f)?e>1:f)){h.style.display="flex";f=$APP.k(a,"__xCarouselDotCount");if($APP.M($APP.n(f)?f:-1,m)){h.innerHTML="";for(f=0;;)if(f<m)e=document.createElement("button"),e.setAttribute("part","dot"),e.setAttribute("type","button"),e.setAttribute("role","tab"),e.setAttribute("aria-label","Go to slide "+$APP.Q.g(f+1)),e.setAttribute("data-index",""+$APP.Q.g(f)),h.appendChild(e),f+=1;else break;a.__xCarouselDotCount=m}a=h.children;h=a.length;for(f=0;;)if(f<h)e=a[f],
11
+ e.setAttribute("aria-current",""+$APP.Q.g($APP.B.i(f,l))),e.setAttribute("aria-selected",""+$APP.Q.g($APP.B.i(f,l))),f+=1;else break}else h.style.display="none";m>0&&(c.textContent="Slide "+$APP.Q.g(l+1)+" of "+$APP.Q.g(m));$APP.n($APP.Vj.g(b))?c.setAttribute("aria-live","off"):c.setAttribute("aria-live","polite")}}},Gz=function(a,b,c){var d=Ez(a),e=uz.g(d);b=tz(b,e);d=$APP.pj.g(d);$APP.M(b,d)&&e>0&&$APP.ch(a,"x-carousel-change",{index:b,previousIndex:d,reason:c})&&a.setAttribute("current",""+$APP.Q.g(b));
12
+ return null},Oz=function(a){function b(K){$APP.n(a.contains(K.relatedTarget))||(a.__xCarouselPaused=!1,Hz(a));return null}function c(){a.__xCarouselPaused=!0;Fz(a);return null}function d(){a.__xCarouselPaused=!1;Hz(a);return null}function e(){a.__xCarouselPaused=!0;Fz(a);return null}function f(){var K=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements().length;a.__xCarouselSlideCount=K;var W=Ez(a);K=tz($APP.pj.g(W),K);$APP.M(K,$APP.pj.g(W))&&a.setAttribute("current",""+$APP.Q.g(K));Iz(a);
13
+ Hz(a);return null}function h(){var K=Ez(a);Gz(a,vz(K),"arrow");return null}function l(){var K=Ez(a);Gz(a,wz(K),"arrow");return null}function m(K){K=K.target.getAttribute("data-index");$APP.n(K)&&(K=parseInt(K,10),$APP.n(isNaN(K))||Gz(a,K,"dot"));return null}function q(K){var W=Ez(a),ea=K.key,va=$APP.Gk.g(W);$APP.p($APP.Y.g(W))&&uz.g(W)>1&&($APP.Zc($APP.B.i(va,"vertical")?Jz:Kz,ea)?(K.preventDefault(),Gz(a,wz(W),"keyboard")):$APP.Zc($APP.B.i(va,"vertical")?Lz:Mz,ea)?(K.preventDefault(),Gz(a,vz(W),
14
+ "keyboard")):$APP.B.i(ea,"Home")?(K.preventDefault(),Gz(a,0,"keyboard")):$APP.B.i(ea,"End")&&(K.preventDefault(),Gz(a,uz.g(W)-1,"keyboard")));return null}function r(){if($APP.n($APP.k(a,"__xCarouselDragging"))){a.__xCarouselDragging=!1;var K=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),W=$APP.k(a,"__xCarouselDragCurrent")-$APP.k(a,"__xCarouselDragStart"),ea=Date.now()-$APP.k(a,"__xCarouselDragStartT");ea=ea>0?W/ea:0;W=ea>.3?$APP.Zk:ea<-.3?$APP.el:W>40?$APP.Zk:W<-40?$APP.el:Nz;ea=Ez(a);K.classList.remove("dragging");
15
+ switch(W instanceof $APP.F?W.qa:null){case "prev":Gz(a,wz(ea),"drag");break;case "next":Gz(a,vz(ea),"drag");break;default:Iz(a)}a.__xCarouselPaused=!1;Hz(a)}return null}function v(K){if($APP.n($APP.k(a,"__xCarouselDragging"))){var W=Ez(a),ea=$APP.B.i($APP.Gk.g(W),"vertical");K=ea?K.clientY:K.clientX;var va=K-$APP.k(a,"__xCarouselDragStart"),Pa=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),eb=$APP.pj.g(W);ea=ea?"Y":"X";W=$APP.jk.g(W);a.__xCarouselDragCurrent=K;$APP.B.i(W,"0px")?Pa.style.transform="translate"+
16
+ $APP.Q.g(ea)+"(calc("+$APP.Q.g(eb*-100)+"% + "+$APP.Q.g(va)+"px))":Pa.style.transform="translate"+$APP.Q.g(ea)+"(calc("+$APP.Q.g(eb*-1)+" * (100% - "+$APP.Q.g(W)+" * 2) + "+$APP.Q.g(W)+" + "+$APP.Q.g(va)+"px))"}return null}function x(K){var W=Ez(a);if($APP.p($APP.Y.g(W))&&$APP.B.i(Dz.g(W),"slide")&&uz.g(W)>1){K.preventDefault();var ea=$APP.k($APP.k(a,"__xCarouselRefs"),"track");W=$APP.B.i($APP.Gk.g(W),"vertical")?K.clientY:K.clientX;ea.setPointerCapture(K.pointerId);ea.classList.add("dragging");a.__xCarouselDragging=
17
+ !0;a.__xCarouselDragStart=W;K=Date.now();a.__xCarouselDragStartT=K;a.__xCarouselDragCurrent=W;a.__xCarouselPaused=!0;Fz(a)}return null}var y=$APP.k(a,"__xCarouselRefs"),A=$APP.k(y,"track"),D=$APP.k(y,"slot"),G=$APP.k(y,"prev"),I=$APP.k(y,"next"),H=$APP.k(y,"dots");y=$APP.k(y,"viewport");A.addEventListener("pointerdown",x);A.addEventListener("pointermove",v);A.addEventListener("pointerup",r);y.addEventListener("keydown",q);H.addEventListener("click",m);G.addEventListener("click",l);I.addEventListener("click",
18
+ h);D.addEventListener("slotchange",f);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.Zg(a,"__xCarouselHandlers",{next:h,up:r,slot:f,dot:m,key:q,prev:l,focusin:c,leave:d,move:v,down:x,enter:e,focusout:b})},Pz=function(a){Fz(a);var b=$APP.k(a,"__xCarouselHandlers"),c=$APP.k(a,"__xCarouselRefs");if($APP.n($APP.n(b)?c:b)){var d=$APP.k(c,"track"),e=$APP.k(c,"slot"),f=$APP.k(c,"prev"),h=$APP.k(c,"next"),l=$APP.k(c,
19
+ "dots");c=$APP.k(c,"viewport");d.removeEventListener("pointerdown",$APP.k(b,"down"));d.removeEventListener("pointermove",$APP.k(b,"move"));d.removeEventListener("pointerup",$APP.k(b,"up"));c.removeEventListener("keydown",$APP.k(b,"key"));l.removeEventListener("click",$APP.k(b,"dot"));f.removeEventListener("click",$APP.k(b,"prev"));h.removeEventListener("click",$APP.k(b,"next"));e.removeEventListener("slotchange",$APP.k(b,"slot"));a.removeEventListener("pointerenter",$APP.k(b,"enter"));a.removeEventListener("pointerleave",
20
+ $APP.k(b,"leave"));a.removeEventListener("focusin",$APP.k(b,"focusin"));a.removeEventListener("focusout",$APP.k(b,"focusout"))}a.__xCarouselHandlers=null},Qz=function(a){for(var b=$APP.t(new $APP.De(null,3,5,$APP.Ee,["autoplay","loop","disabled"],null)),c=null,d=0,e=0;;)if(e<d){var f=c.F(null,e);$APP.dh(a,f,f);e+=1}else if(b=$APP.t(b))c=b,$APP.Vc(c)?(b=$APP.Db(c),e=$APP.Eb(c),c=b,d=$APP.z(b),b=e):(b=$APP.u(c),$APP.dh(a,b,b),b=$APP.w(c),c=null,d=0),e=0;else break;b=$APP.t(new $APP.De(null,2,5,$APP.Ee,
21
+ ["arrows","dots"],null));c=null;for(e=d=0;;)if(e<d)f=c.F(null,e),Object.defineProperty(a,f,{get:function(m,q,r,v,x){return function(){return kz(this.getAttribute(x))}}(b,c,d,e,f),set:function(m,q,r,v,x){return function(y){return $APP.n(y)?this.removeAttribute(x):this.setAttribute(x,"false")}}(b,c,d,e,f),enumerable:!0,configurable:!0}),e+=1;else{var h=$APP.t(b);if(h){f=h;if($APP.Vc(f))b=$APP.Db(f),e=$APP.Eb(f),c=b,d=$APP.z(b),b=e;else{var l=$APP.u(f);Object.defineProperty(a,l,{get:function(m,q,r,v,
22
+ x){return function(){return kz(this.getAttribute(x))}}(b,c,d,e,l,f,h),set:function(m,q,r,v,x){return function(y){return $APP.n(y)?this.removeAttribute(x):this.setAttribute(x,"false")}}(b,c,d,e,l,f,h),enumerable:!0,configurable:!0});b=$APP.w(f);c=null;d=0}e=0}else break}Object.defineProperty(a,"currentSlide",{get:function(){return lz(this.getAttribute("current"))},set:function(m){return this.setAttribute("current",""+$APP.Q.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"interval",
23
+ {get:function(){return mz(this.getAttribute("interval"))},set:function(m){return m==null?this.removeAttribute("interval"):this.setAttribute("interval",""+$APP.Q.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"transition",{get:function(){return oz(this.getAttribute("transition"))},set:function(m){return $APP.n(m)?this.setAttribute("transition",""+$APP.Q.g(m)):this.removeAttribute("transition")},enumerable:!0,configurable:!0});Object.defineProperty(a,"direction",{get:function(){return qz(this.getAttribute("direction"))},
24
+ set:function(m){return $APP.n(m)?this.setAttribute("direction",""+$APP.Q.g(m)):this.removeAttribute("direction")},enumerable:!0,configurable:!0});Object.defineProperty(a,"peek",{get:function(){return sz(this.getAttribute("peek"))},set:function(m){return $APP.n(m)?this.setAttribute("peek",""+$APP.Q.g(m)):this.removeAttribute("peek")},enumerable:!0,configurable:!0});Object.defineProperty(a,"slideCount",{get:function(){var m=$APP.k(this,"__xCarouselSlideCount");return $APP.n(m)?m:0},enumerable:!0,configurable:!0});
25
+ $APP.fa(a,"next",function(){var m=Ez(this);return Gz(this,vz(m),"api")});$APP.fa(a,"previous",function(){var m=Ez(this);return Gz(this,wz(m),"api")});return $APP.fa(a,"goTo",function(m){return Gz(this,m,"api")})},Rz=function(a){if(!$APP.$g(a,"__xCarouselInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),f=document.createElement("slot"),h=document.createElement("button"),l=document.createElement("button"),m=
26
+ document.createElement("div"),q=document.createElement("div");c.textContent=":host{display:block;color-scheme:light dark;position:relative;--x-carousel-height:300px;--x-carousel-arrow-size:40px;--x-carousel-arrow-bg:var(--x-color-surface,rgba(255,255,255,0.9));--x-carousel-arrow-color:var(--x-color-text,#1e293b);--x-carousel-arrow-hover-bg:var(--x-color-surface-hover,rgba(255,255,255,1));--x-carousel-dot-size:10px;--x-carousel-dot-color:var(--x-color-border,#cbd5e1);--x-carousel-dot-active-color:var(--x-color-primary,#3b82f6);--x-carousel-transition-duration:var(--x-transition-duration,300ms);--x-carousel-radius:var(--x-radius-md,8px);--x-carousel-gap:16px;--x-carousel-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-carousel-disabled-opacity:0.5;}@media(prefers-color-scheme:dark){:host{--x-carousel-arrow-bg:var(--x-color-surface,rgba(30,41,59,0.9));--x-carousel-arrow-color:var(--x-color-text,#f1f5f9);--x-carousel-arrow-hover-bg:var(--x-color-surface-hover,rgba(30,41,59,1));--x-carousel-dot-color:var(--x-color-border,#475569);--x-carousel-dot-active-color:var(--x-color-primary,#60a5fa);--x-carousel-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dviewport]{position:relative;overflow:hidden;height:var(--x-carousel-height);border-radius:var(--x-carousel-radius);}[part\x3dviewport]:focus{outline:none;}[part\x3dviewport]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3dtrack]{display:flex;flex-direction:row;height:100%;transition:transform var(--x-carousel-transition-duration) ease;will-change:transform;touch-action:pan-y pinch-zoom;}[part\x3dtrack].dragging{transition:none !important;cursor:grabbing;}:host([data-direction\x3dvertical]) [part\x3dtrack]{flex-direction:column;touch-action:pan-x pinch-zoom;}::slotted(*){min-width:calc(100% - var(--_peek,0px) * 2);max-width:calc(100% - var(--_peek,0px) * 2);flex-shrink:0;box-sizing:border-box;overflow:hidden;}:host([data-direction\x3dvertical]) ::slotted(*){min-width:auto;max-width:none;min-height:calc(100% - var(--_peek,0px) * 2);max-height:calc(100% - var(--_peek,0px) * 2);}:host([data-transition\x3dfade]) [part\x3dtrack]{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;transition:none;}:host([data-transition\x3dfade]) ::slotted(*){grid-area:1/1;min-width:100%;max-width:100%;transition:opacity var(--x-carousel-transition-duration) ease;}[part\x3dprev-btn],[part\x3dnext-btn]{position:absolute;top:50%;transform:translateY(-50%);width:var(--x-carousel-arrow-size);height:var(--x-carousel-arrow-size);border-radius:50%;border:none;background:var(--x-carousel-arrow-bg);color:var(--x-carousel-arrow-color);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:1;box-shadow:var(--x-shadow-sm,0 1px 3px rgba(0,0,0,0.1));transition:background 150ms ease,opacity 150ms ease,transform 150ms ease;opacity:0.85;}[part\x3dprev-btn]:hover,[part\x3dnext-btn]:hover{background:var(--x-carousel-arrow-hover-bg);opacity:1;}[part\x3dprev-btn]:active,[part\x3dnext-btn]:active{transform:translateY(-50%) scale(0.95);}[part\x3dprev-btn]:focus,[part\x3dnext-btn]:focus{outline:none;}[part\x3dprev-btn]:focus-visible,[part\x3dnext-btn]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3dprev-btn]:disabled,[part\x3dnext-btn]:disabled{opacity:0.3;cursor:default;pointer-events:none;}[part\x3dprev-btn]{left:8px;}[part\x3dnext-btn]{right:8px;}[part\x3dprev-btn] svg,[part\x3dnext-btn] svg{width:60%;height:60%;pointer-events:none;}:host([data-direction\x3dvertical]) [part\x3dprev-btn],:host([data-direction\x3dvertical]) [part\x3dnext-btn]{top:auto;left:50%;right:auto;transform:translateX(-50%) rotate(90deg);}:host([data-direction\x3dvertical]) [part\x3dprev-btn]{top:8px;bottom:auto;}:host([data-direction\x3dvertical]) [part\x3dnext-btn]{bottom:8px;top:auto;}:host([data-direction\x3dvertical]) [part\x3dprev-btn]:active{transform:translateX(-50%) rotate(90deg) scale(0.95);}:host([data-direction\x3dvertical]) [part\x3dnext-btn]:active{transform:translateX(-50%) rotate(90deg) scale(0.95);}[part\x3ddots]{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px 0;}[part\x3ddot]{all:unset;width:var(--x-carousel-dot-size);height:var(--x-carousel-dot-size);border-radius:50%;background:var(--x-carousel-dot-color);cursor:pointer;transition:background 150ms ease,transform 150ms ease;}[part\x3ddot]:hover{transform:scale(1.3);}[part\x3ddot]:focus-visible{outline:2px solid var(--x-carousel-focus-ring);outline-offset:2px;}[part\x3ddot][aria-current\x3dtrue]{background:var(--x-carousel-dot-active-color);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}:host([disabled]){opacity:var(--x-carousel-disabled-opacity);pointer-events:none;}@media(prefers-reduced-motion:reduce){[part\x3dtrack]{transition-duration:0ms !important;}:host([data-transition\x3dfade]) ::slotted(*){transition-duration:0ms !important;}[part\x3dprev-btn],[part\x3dnext-btn],[part\x3ddot]{transition:none !important;}}@media(pointer:coarse){[part\x3dprev-btn],[part\x3dnext-btn]{width:max(var(--x-carousel-arrow-size),44px);height:max(var(--x-carousel-arrow-size),44px);}[part\x3ddot]{width:max(var(--x-carousel-dot-size),44px);height:max(var(--x-carousel-dot-size),44px);background-clip:content-box;padding:calc((44px - var(--x-carousel-dot-size)) / 2);box-sizing:content-box;}}";
27
+ d.setAttribute("part","viewport");d.setAttribute("tabindex","0");e.setAttribute("part","track");e.appendChild(f);h.setAttribute("part","prev-btn");h.setAttribute("type","button");h.setAttribute("aria-label","Previous slide");h.innerHTML='\x3csvg viewBox\x3d"0 0 24 24" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpolyline points\x3d"15 18 9 12 15 6"\x3e\x3c/polyline\x3e\x3c/svg\x3e';l.setAttribute("part","next-btn");l.setAttribute("type",
28
+ "button");l.setAttribute("aria-label","Next slide");l.innerHTML='\x3csvg viewBox\x3d"0 0 24 24" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"2" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpolyline points\x3d"9 6 15 12 9 18"\x3e\x3c/polyline\x3e\x3c/svg\x3e';d.appendChild(e);d.appendChild(h);d.appendChild(l);m.setAttribute("part","dots");m.setAttribute("role","tablist");m.setAttribute("aria-label","Slide indicators");q.setAttribute("aria-live","polite");q.setAttribute("aria-atomic",
29
+ "true");q.className="sr-only";b.appendChild(c);b.appendChild(d);b.appendChild(m);b.appendChild(q);a.__xCarouselRefs={root:b,viewport:d,track:e,slot:f,prev:h,next:l,dots:m,live:q};a.__xCarouselInit=!0}Pz(a);Oz(a);b=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements();a.__xCarouselSlideCount=b.length;Iz(a);Hz(a);return null},Sz=function(a){Pz(a);return null},Tz=function(a){$APP.$g(a,"__xCarouselInit")&&(Iz(a),$APP.n(a.isConnected)&&Hz(a));return null},Vz=function(){return $APP.Yg("x-carousel",
30
+ new $APP.N(null,5,[$APP.Pg,Uz,$APP.Qg,Rz,$APP.Rg,Sz,$APP.Sg,Tz,$APP.Wg,Qz],null))},yz=new $APP.F(null,"arrows-raw","arrows-raw",-1077955796),Dz=new $APP.F(null,"transition","transition",765692007),Cz=new $APP.F(null,"arrows?","arrows?",-1692502811),xz=new $APP.F(null,"transition-raw","transition-raw",-1184759092),Az=new $APP.F(null,"autoplay-present?","autoplay-present?",-1468092647),uz=new $APP.F(null,"slide-count","slide-count",1368058827),Bz=new $APP.F(null,"dots-raw","dots-raw",-1711545603),zz=
31
+ new $APP.F(null,"loop-present?","loop-present?",1373422006),Nz=new $APP.F(null,"stay","stay",-1240327234);var Uz="autoplay interval loop arrows dots disabled current transition direction peek aria-label".split(" ");
32
+ $APP.Lf([new $APP.F(null,"arrows","arrows",-1209622014),new $APP.F(null,"slideCount","slideCount",-1489337180),$APP.al,Dz,$APP.Vn,$APP.gm,$APP.Pl,$APP.jk,$APP.dm,new $APP.F(null,"currentSlide","currentSlide",-417438499),$APP.Gk],[new $APP.N(null,1,[$APP.R,$APP.T],null),new $APP.N(null,2,[$APP.R,$APP.V,$APP.El,!0],null),new $APP.N(null,1,[$APP.R,$APP.T],null),new $APP.N(null,1,[$APP.R,$APP.U],null),new $APP.N(null,1,[$APP.R,$APP.T],null),new $APP.N(null,1,[$APP.R,$APP.V],null),new $APP.N(null,1,[$APP.R,
33
+ $APP.T],null),new $APP.N(null,1,[$APP.R,$APP.U],null),new $APP.N(null,1,[$APP.R,$APP.T],null),new $APP.N(null,1,[$APP.R,$APP.V],null),new $APP.N(null,1,[$APP.R,$APP.U],null)]);$APP.Yd(["x-carousel-change",new $APP.N(null,2,[$APP.Z,new $APP.N(null,3,[$APP.qj,$APP.V,$APP.kl,$APP.V,$APP.Yj,$APP.U],null),$APP.Fn,!0],null)]);
34
+ var nz=new $APP.O(null,new $APP.N(null,2,["slide",null,"fade",null],null),null),pz=new $APP.O(null,new $APP.N(null,2,["vertical",null,"horizontal",null],null),null),rz=/^\d+(\.\d+)?(px|rem|em|%)$/,Kz=new $APP.O(null,new $APP.N(null,1,["ArrowLeft",null],null),null),Mz=new $APP.O(null,new $APP.N(null,1,["ArrowRight",null],null),null),Jz=new $APP.O(null,new $APP.N(null,1,["ArrowUp",null],null),null),Lz=new $APP.O(null,new $APP.N(null,1,["ArrowDown",null],null),null);$APP.ca("baredom.exports.x_carousel.init",Vz);export const init=Vz;
package/dist/x-chart.d.ts CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  export function init(): void;
4
4
 
5
+ export interface XChartEventMap {
6
+ "x-chart-select": CustomEvent<{ seriesId: string; index: number; x: number; y: number; value: number }>;
7
+ "x-chart-hover": CustomEvent<{ seriesId: string; index: number; x: number; y: number; value: number }>;
8
+ }
9
+
5
10
  export interface XChart extends HTMLElement {
6
11
  selected: string;
7
12
  disabled: boolean;
@@ -14,6 +19,27 @@ export interface XChart extends HTMLElement {
14
19
  tooltip: boolean;
15
20
  height: number;
16
21
  data: any;
22
+
23
+ addEventListener<K extends keyof XChartEventMap>(
24
+ type: K,
25
+ listener: (this: XChart, ev: XChartEventMap[K]) => any,
26
+ options?: boolean | AddEventListenerOptions
27
+ ): void;
28
+ addEventListener(
29
+ type: string,
30
+ listener: EventListenerOrEventListenerObject,
31
+ options?: boolean | AddEventListenerOptions
32
+ ): void;
33
+ removeEventListener<K extends keyof XChartEventMap>(
34
+ type: K,
35
+ listener: (this: XChart, ev: XChartEventMap[K]) => any,
36
+ options?: boolean | EventListenerOptions
37
+ ): void;
38
+ removeEventListener(
39
+ type: string,
40
+ listener: EventListenerOrEventListenerObject,
41
+ options?: boolean | EventListenerOptions
42
+ ): void;
17
43
  }
18
44
 
19
45
  declare global {
package/dist/x-chart.js CHANGED
@@ -1,47 +1,48 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var pV=function(a){a:for(;;)if(a=$APP.t(a))a=$APP.w(a);else break a},qV=function(a,b){return function g(d,e){return new $APP.rd(null,function(){var h=$APP.t(e);if(h){if($APP.Nc(h)){for(var l=$APP.xb(h),m=$APP.z(l),p=$APP.ud(m),r=0;;)if(r<m){var v=function(){var x=d+r,y=$APP.yc(l,r);return a.i?a.i(x,y):a.call(null,x,y)}();v!=null&&p.add(v);r+=1}else break;return $APP.xd(p.aa(),g(d+m,$APP.yb(h)))}m=function(){var x=$APP.u(h);return a.i?a.i(d,x):a.call(null,d,x)}();return m==null?g(d+1,$APP.Xb(h)):$APP.od(m,
3
- g(d+1,$APP.Xb(h)))}return null},null)}(0,b)},rV=function(a){return $APP.Bd($APP.Wc(function(b,c){var d=$APP.Rl.g?$APP.Rl.g(c):$APP.Rl.call(null,c);c=$APP.ld.i($APP.Bc(b,d,$APP.ee),c);return $APP.tb(b,d,c)},$APP.nb($APP.Qd),a))},sV=function(a,b){return typeof a==="string"?(a=parseInt(a,10),$APP.q(isNaN(a))&&a>0?a:b):b},tV=function(a,b){var c=function(){var h=a.id;h=$APP.n(h)?""+$APP.S.g(a.id):h;return $APP.n(h)?h:"s"+$APP.S.g(b)}(),d=function(){var h=a.label;h=$APP.n(h)?""+$APP.S.g(a.label):h;return $APP.n(h)?
4
- h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.S.g(a.color):h}(),g=a.data;return $APP.n($APP.ma(g))?new $APP.Q(null,4,[$APP.Rl,c,$APP.T,d,$APP.jk,e,$APP.si,qV(function(h,l){return $APP.n($APP.n(l)?l.x!=null&&l.y!=null:l)?new $APP.Q(null,2,[$APP.cm,l.x,$APP.bm,l.y],null):null},$APP.uc(g))],null):null},uV=function(a){if(typeof a!=="string")return $APP.ee;try{var b=JSON.parse(a);if($APP.n($APP.ma(b)))return $APP.xe(qV(function(d,e){return tV(e,d)},$APP.uc(b)));if($APP.n(function(){var d=
5
- b!=null?b.constructor===Object:!1;return d?$APP.ma(b.data):d}())){var c=tV(b,0);return $APP.n(c)?new $APP.O(null,1,5,$APP.P,[c],null):$APP.ee}return $APP.ee}catch(d){return $APP.ee}},vV=function(a){a=a==null?null:$APP.u(a);a=a==null?null:$APP.si.g(a);a=a==null?null:$APP.u(a);return $APP.n($APP.n(a)?typeof $APP.cm.g(a)==="string":a)?"category":"numeric"},wV=function(a){a=$APP.ae(function(b){return $APP.$d.i($APP.bm,$APP.si.g(b))},$APP.uc([a]));return $APP.Hc(a)?new $APP.O(null,2,5,$APP.P,[0,1],null):
6
- new $APP.O(null,2,5,$APP.P,[$APP.Jd($APP.Kh,a),$APP.Jd($APP.Jh,a)],null)},xV=function(a){var b=vV(a);if($APP.B.i(b,"category"))return a=$APP.Kd($APP.Jh,0,$APP.$d.i(function(c){return $APP.z($APP.si.g(c))},a)),new $APP.O(null,2,5,$APP.P,[0,$APP.Jh.i(1,a)-1],null);a=$APP.ae(function(c){return $APP.$d.i($APP.cm,$APP.si.g(c))},$APP.uc([a]));return $APP.Hc(a)?new $APP.O(null,2,5,$APP.P,[0,1],null):new $APP.O(null,2,5,$APP.P,[$APP.Jd($APP.Kh,a),$APP.Jd($APP.Jh,a)],null)},yV=function(a,b){return b==null?
7
- (b=Math.abs(a),b>=1E6?""+$APP.S.g(Math.round(a/1E6))+"M":b>=1E3?""+$APP.S.g(Math.round(a/1E3))+"K":$APP.n(Number.isInteger(a))?""+$APP.S.g(a):a.toFixed(1)):$APP.B.i(b,"int")?""+$APP.S.g(Math.round(a)):$APP.B.i(b,"pct")?""+$APP.S.g(a)+"%":$APP.B.i(b,"abbr")?(b=Math.abs(a),b>=1E9?""+$APP.S.g((a/1E9).toFixed(1))+"B":b>=1E6?""+$APP.S.g((a/1E6).toFixed(1))+"M":b>=1E3?""+$APP.S.g((a/1E3).toFixed(1))+"K":""+$APP.S.g(a)):$APP.B.i(b,"raw")?""+$APP.S.g(a):$APP.n(b.startsWith("fixed:"))?(b=parseInt(b.slice(6),
8
- 10),$APP.n(isNaN(b))?""+$APP.S.g(a):a.toFixed(b)):""+$APP.S.g(a)},zV=function(a,b){a=rV(a);return $APP.xe($APP.Xd(function(c){$APP.Ac(c,0,null);c=$APP.Ac(c,1,null);return $APP.Wc(function(d,e){var g=Math.abs($APP.Al.g(e)-b);return d==null||g<$APP.jm.g(d)?$APP.Hh.m(e,$APP.jm,g):d},null,c)},a))},AV=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},ZV=function(a){a=$APP.zf([BV,CV,DV,EV,$APP.fm,FV,GV,HV,IV,JV,$APP.Qi,KV,LV],[a.getAttribute("selected"),a.getAttribute("padding"),
9
- $APP.n(a.hasAttribute("tooltip"))?a.getAttribute("tooltip"):null,a.getAttribute("y-format"),$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.M(a);a=$APP.D(b,LV);var c=
10
- $APP.D(b,BV),d=$APP.D(b,CV),e=$APP.D(b,DV),g=$APP.D(b,EV),h=$APP.D(b,$APP.fm),l=$APP.D(b,FV),m=$APP.D(b,GV),p=$APP.D(b,HV),r=$APP.D(b,IV),v=$APP.D(b,JV),x=$APP.D(b,$APP.Qi);b=$APP.D(b,KV);b=uV(b);var y=wV(b),A=$APP.Ac(y,0,null),C=$APP.Ac(y,1,null);y=[MV,$APP.Gk,NV,OV,$APP.Ui,PV,QV,$APP.Z,$APP.en,RV,$APP.X,SV,TV,$APP.oh,UV,VV];var E=new $APP.O(null,2,5,$APP.P,[A,C],null);a:{if(typeof c==="string"&&(c=c.split(":"),$APP.B.i(2,c.length))){var H=parseInt(c[1],10);c=$APP.n(isNaN(H))?null:new $APP.Q(null,
11
- 2,[WV,c[0],$APP.wi,H],null);break a}c=null}m=m==null?!0:$APP.ah(m);v=$APP.ah(v);r=typeof r==="string"&&$APP.I(XV,r)?r:"nearest";x=typeof x==="string"&&$APP.I(YV,x)?x:"line";d=sV(d,12);h=$APP.ah(h);e=$APP.ah(e);a:if($APP.B.i(A,C))A=new $APP.O(null,1,5,$APP.P,[A],null);else{H=C-A;if(H===0)H=1;else{var G=H/5;H=Math.pow(10,Math.floor(Math.log10(G)));G/=H;H*=G<=1?1:G<=2?2:G<=2.5?2.5:G<=5?5:10}C=Math.floor(C/H)*H;A=Math.ceil(A/H)*H;for(var J=$APP.ee;;){if(A>C+H*1E-4){A=J;break a}G=A+H;J=$APP.ld.i(J,A);
12
- A=G}A=void 0}return $APP.zf(y,[E,c,m,b,v,g,r,x,d,a,h,e,A,sV(p,180),vV(b),l==null?!0:$APP.ah(l)])},$V=function(a,b,c,d){var e=$APP.Ac(b,0,null);b=$APP.Ac(b,1,null);e=b-e;return e===0?(c+d)/2:c+(b-a)/e*(d-c)},aW=function(a,b,c,d){var e=$APP.Ac(b,0,null);b=$APP.Ac(b,1,null)-e;return b===0?(c+d)/2:c+(a-e)/b*(d-c)},bW=function(a,b,c,d){var e=AV("line");$APP.Og(e,"x1",""+$APP.S.g(a));$APP.Og(e,"y1",""+$APP.S.g(b));$APP.Og(e,"x2",""+$APP.S.g(c));$APP.Og(e,"y2",""+$APP.S.g(d));e.setAttribute("stroke","var(--x-chart-grid)");
13
- $APP.Og(e,"stroke-opacity",""+$APP.S.g(1));e.setAttribute("stroke-width","1");return e},cW=function(a,b,c,d){var e=AV("text");$APP.Og(e,"x",""+$APP.S.g(a));$APP.Og(e,"y",""+$APP.S.g(b));e.setAttribute("text-anchor",d);$APP.Og(e,"font-size",""+$APP.S.g(10));e.setAttribute("fill","var(--x-chart-axis-label)");e.textContent=c;return e},dW=function(a){return"var(--x-chart-series-"+$APP.S.g($APP.ed(a,4)+1)+")"},fW=function(a){if($APP.t(a)){var b=$APP.t(a);a=$APP.u(b);b=$APP.w(b);return"M "+$APP.S.g($APP.Al.g(a))+
14
- ","+$APP.S.g(eW.g(a))+$APP.S.g($APP.Jd($APP.S,$APP.$d.i(function(c){return" L "+$APP.S.g($APP.Al.g(c))+","+$APP.S.g(eW.g(c))},b)))}return null},gW=function(a){for(;;){var b=a.lastChild;if($APP.n(b))a.removeChild(b);else break}},lW=function(a,b,c){b=$APP.M(b);var d=$APP.D(b,TV);b=$APP.D(b,MV);var e=$APP.M(c);c=$APP.D(e,hW);var g=$APP.D(e,iW),h=$APP.D(e,jW);e=$APP.D(e,kW);d=$APP.t(d);for(var l=null,m=0,p=0;;)if(p<m){var r=l.F(null,p);r=$V(r,b,g,e);r=bW(c,r,h,r);a.appendChild(r);p+=1}else if(d=$APP.t(d))$APP.Nc(d)?
15
- (m=$APP.xb(d),d=$APP.yb(d),l=m,m=$APP.z(m)):(r=$APP.u(d),l=$V(r,b,g,e),l=bW(c,l,h,l),a.appendChild(l),d=$APP.w(d),l=null,m=0),p=0;else break},mW=function(a,b,c,d){var e=$APP.M(b),g=$APP.D(e,TV),h=$APP.D(e,MV);b=$APP.D(e,OV);var l=$APP.D(e,UV),m=$APP.D(e,PV),p=$APP.D(e,RV);e=$APP.M(c);var r=$APP.D(e,hW);c=$APP.D(e,iW);var v=$APP.D(e,jW),x=$APP.D(e,kW);g=$APP.t(g);e=null;for(var y=0,A=0;;)if(A<y){var C=e.F(null,A),E=$V(C,h,c,x);C=yV(C,m);E=cW(r-4,E+4,C,"end");a.appendChild(E);A+=1}else if(g=$APP.t(g))$APP.Nc(g)?
16
- (y=$APP.xb(g),g=$APP.yb(g),e=y,y=$APP.z(y)):(y=$APP.u(g),e=$V(y,h,c,x),y=yV(y,m),e=cW(r-4,e+4,y,"end"),a.appendChild(e),g=$APP.w(g),e=null,y=0),A=0;else break;h=$APP.u(b);if($APP.n(h)){h=$APP.si.g(h);m=$APP.z(h);var H=xV(b),G=$APP.Jh.i(1,Math.ceil(m/5)|0);pV($APP.Wd(function(J,U){if($APP.ed(J,G)===0){if($APP.B.i(l,"category")){var aa=$APP.u($APP.w(H))-$APP.u(H);J=aa<=1?(r+v)/2:r+J/(aa-1)*(v-r)}else J=aW($APP.cm.g(U),H,r,v);U=$APP.B.i(l,"category")?""+$APP.S.g($APP.cm.g(U)):yV($APP.cm.g(U),p);U=cW(J,
17
- x+d+4,U,"middle");return a.appendChild(U)}return null},h))}},pW=function(a,b,c,d,e,g){e=$APP.M(e);var h=$APP.D(e,hW),l=$APP.D(e,iW),m=$APP.D(e,jW),p=$APP.D(e,kW);return $APP.Wd(function(r,v){if($APP.B.i(c,"category")){var x=$APP.Jh.i(1,$APP.z($APP.si.g(a)))-1;x=x<=1?(h+m)/2:h+r/(x-1)*(m-h)}else x=aW($APP.cm.g(v),d,h,m);var y=$V($APP.bm.g(v),g,l,p);return $APP.Hh.C(v,$APP.Al,x,$APP.uc([eW,y,nW,b,oW,r]))},$APP.si.g(a))},qW=function(a,b,c){b=fW(b);if($APP.n(b)){var d=AV("path");d.setAttribute("d",b);
18
- d.setAttribute("fill","none");d.setAttribute("stroke",c);d.setAttribute("stroke-width","2");d.setAttribute("stroke-linejoin","round");d.setAttribute("stroke-linecap","round");return a.appendChild(d)}return null},rW=function(a,b,c,d){if($APP.t(b)){var e=fW(b),g=$APP.xc(b);b=$APP.u(b);d=""+$APP.S.g(e)+" L "+$APP.S.g($APP.Al.g(g))+","+$APP.S.g(d)+" L "+$APP.S.g($APP.Al.g(b))+","+$APP.S.g(d)+" Z"}else d=null;$APP.n(d)&&(e=AV("path"),e.setAttribute("d",d),e.setAttribute("fill",c),e.setAttribute("fill-opacity",
19
- "0.18"),e.setAttribute("stroke",c),e.setAttribute("stroke-width","2"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("stroke-linecap","round"),a.appendChild(e))},tW=function(a,b,c,d,e,g){var h=$APP.M(e);e=$APP.D(h,hW);h=$APP.D(h,jW);var l=$APP.z(c);e=l===0?0:(h-e)/l;h=e*.08;g=(e-h*2)/g;b*=g;c=$APP.t(c);l=null;for(var m=0,p=0;;)if(p<m){var r=l.F(null,p),v=$APP.Al.g(r)+-(e/2)+h+b,x=$APP.Kh.i(eW.g(r),sW.g(r));r=Math.abs(eW.g(r)-sW.g(r));var y=AV("rect");$APP.Og(y,"x",""+$APP.S.g(v));$APP.Og(y,
20
- "y",""+$APP.S.g(x));$APP.Og(y,"width",""+$APP.S.g($APP.Jh.i(1,g)));$APP.Og(y,"height",""+$APP.S.g($APP.Jh.i(0,r)));y.setAttribute("fill",d);y.setAttribute("rx","2");a.appendChild(y);p+=1}else if(c=$APP.t(c))$APP.Nc(c)?(r=$APP.xb(c),c=$APP.yb(c),l=r,m=r=$APP.z(r)):(r=$APP.u(c),l=$APP.Al.g(r)+-(e/2)+h+b,m=$APP.Kh.i(eW.g(r),sW.g(r)),r=Math.abs(eW.g(r)-sW.g(r)),p=AV("rect"),$APP.Og(p,"x",""+$APP.S.g(l)),$APP.Og(p,"y",""+$APP.S.g(m)),$APP.Og(p,"width",""+$APP.S.g($APP.Jh.i(1,g))),$APP.Og(p,"height",""+
21
- $APP.S.g($APP.Jh.i(0,r))),p.setAttribute("fill",d),p.setAttribute("rx","2"),a.appendChild(p),c=$APP.w(c),l=null,m=0),p=0;else return null},wW=function(a,b,c,d){if($APP.t(a)){var e=$APP.u(a);b=typeof $APP.cm.g(e)==="string"?""+$APP.S.g($APP.cm.g(e)):yV($APP.cm.g(e),b);var g=$APP.We.i($APP.Qd,$APP.Wd(function(h,l){var m=$APP.P,p=$APP.Rl.g(l);l=$APP.jk.g(l);h=$APP.n(l)?l:dW(h);return new $APP.O(null,2,5,m,[p,h],null)},d));d=$APP.fe(function(h){return new $APP.Q(null,5,[$APP.jk,$APP.Bc(g,$APP.Rl.g(h),
22
- dW(nW.i(h,0))),$APP.T,""+$APP.S.g($APP.T.g(h)),$APP.pj,yV($APP.bm.g(h),c),$APP.Al,$APP.Al.g(h),eW,eW.g(h)],null)},a);return new $APP.Q(null,5,[uW,b,$APP.Hj,d,$APP.Al,$APP.Al.g(e),eW,eW.g(e),vW,$APP.fe(function(h){return new $APP.Q(null,3,[$APP.Al,$APP.Al.g(h),eW,eW.g(h),$APP.jk,$APP.Bc(g,$APP.Rl.g(h),dW(nW.i(h,0)))],null)},a)],null)}return null},xW=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",
23
- "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},yW=function(a,b,c){return $APP.Wc(function(d,e){var g=$APP.Al.g(e)-b,h=eW.g(e)-c;g=g*g+h*h;return d==null||g<$APP.jm.g(d)?$APP.Hh.m(e,$APP.jm,g):d},null,a)},zW=function(a,b,c,d,e,g,h,l,m,p,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=zV(c,y):(y=yW(c,y,v),y=$APP.n(y)?
24
- new $APP.O(null,1,5,$APP.P,[y],null):null);v=y;y=$APP.u(v);if($APP.n(y)){if($APP.n(l)&&(x=wW(v,m,p,r),v=$APP.k(d,"tooltip"),$APP.n($APP.n(v)?x:v))){var A=$APP.M(x),C=$APP.D(A,uW),E=$APP.D(A,$APP.Hj);x=$APP.D(A,$APP.Al);var H=$APP.D(A,eW);A=$APP.D(A,vW);var G=$APP.k(d,"tooltip-header"),J=$APP.k(d,"tooltip-body"),U=$APP.k(d,"tooltip-rows"),aa=$APP.k(d,"dots"),ta=$APP.k(d,"crosshair");$APP.n(G)&&(G.textContent=C);if($APP.n($APP.n(J)?U:J))for(C=0;;)if(C<8){J=U[C];if($APP.n(J))if(G=$APP.Ac(E,C,null),$APP.n(G)){J.setAttribute("data-hidden",
25
- "false");J=J.firstChild;var Ma=$APP.n(J)?J.nextSibling:null,Za=$APP.n(Ma)?Ma.nextSibling:null;$APP.n(J)&&(J.style.backgroundColor=$APP.jk.g(G));$APP.n(Ma)&&(Ma.textContent=$APP.T.g(G));$APP.n(Za)&&(Za.textContent=$APP.pj.g(G))}else J.setAttribute("data-hidden","true");C+=1}else break;if($APP.n(aa))for(E=0;;)if(E<8)U=aa[E],$APP.n(U)&&(C=$APP.Ac(A,E,null),$APP.n(C)?($APP.Og(U,"cx",""+$APP.S.g($APP.Al.g(C))),$APP.Og(U,"cy",""+$APP.S.g(eW.g(C))),$APP.Og(U,"fill",$APP.jk.g(C)),U.setAttribute("visibility",
26
- "visible")):U.setAttribute("visibility","hidden")),E+=1;else break;$APP.n(ta)&&ta.setAttribute("visibility","visible");$APP.n(ta)&&$APP.Og(ta,"x1",""+$APP.S.g(x));$APP.n(ta)&&$APP.Og(ta,"x2",""+$APP.S.g(x));v.setAttribute("data-visible","true");A=v.offsetWidth;aa=v.offsetHeight;H=H+aa+8>g?H-aa-8:H-4;x=new $APP.Q(null,2,[$APP.ci,$APP.Jh.i(8,$APP.Kh.i(x+A+12+8>e?x-A-12:x+12,e-A-8)),$APP.Ki,$APP.Jh.i(8,$APP.Kh.i(H,g-aa-8))],null);H=$APP.M(x);x=$APP.D(H,$APP.ci);H=$APP.D(H,$APP.Ki);v.style.left=""+$APP.S.g(x)+
27
- "px";v.style.top=""+$APP.S.g(H)+"px"}return $APP.Qg(a,"x-chart-hover",{seriesId:$APP.Rl.g(y),index:oW.g(y),x:$APP.cm.g(y),y:$APP.bm.g(y),value:$APP.bm.g(y)})}return null}),b.addEventListener("pointerleave",function(){return $APP.n(l)?xW(d):null}),b.addEventListener("click",function(v){var x=b.getBoundingClientRect();v=yW(c,v.clientX-x.x,v.clientY-x.y);return $APP.n(v)?$APP.Qg(a,"x-chart-select",{seriesId:$APP.Rl.g(v),index:oW.g(v),x:$APP.cm.g(v),y:$APP.bm.g(v),value:$APP.bm.g(v)}):null}))},AW=function(a,
28
- b){b.addEventListener("keydown",function(c){var d=c.key,e=ZV(a),g=$APP.M(e);e=$APP.D(g,OV);var h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.Gk);g=$APP.D(g,QV);if($APP.q(h)&&$APP.N(g,"none")&&$APP.t(e)){var m=$APP.xe(e);if(l==null)return $APP.n(function(){var v=new $APP.R(null,new $APP.Q(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.S.g($APP.Rl.g($APP.u(m)))+":0")):null;g=$APP.z(m);
29
- var p=function(){var v=$APP.u(qV(function(x,y){return $APP.B.i($APP.Rl.g(y),WV.g(l))?x:null},m));return $APP.n(v)?v:0}();h=$APP.pc(m,p);var r=$APP.z($APP.si.g(h));e=$APP.wi.g(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.Kh.i(r-1,e+1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "ArrowLeft":return c.preventDefault(),c=$APP.Jh.i(0,e-1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "ArrowDown":return c.preventDefault(),c=$APP.ed(p+
30
- 1,g),h=$APP.pc(m,c),c=$APP.Kh.i(e,$APP.Jh.i(1,$APP.z($APP.si.g(h)))-1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "ArrowUp":return c.preventDefault(),c=$APP.ed(p+(g-1),g),h=$APP.pc(m,c),c=$APP.Kh.i(e,$APP.Jh.i(1,$APP.z($APP.si.g(h)))-1),a.setAttribute("selected",""+$APP.S.g($APP.Rl.g(h))+":"+$APP.S.g(c));case "Enter":case " ":return c.preventDefault(),c=$APP.Ac($APP.si.g(h),e,null),$APP.n(c)?$APP.Qg(a,"x-chart-select",{seriesId:$APP.Rl.g(h),index:e,x:$APP.cm.g(c),y:$APP.bm.g(c),
31
- value:$APP.bm.g(c)}):null;default:return null}}else return null})},BW=function(a){a=$APP.k(a,"container");a=$APP.n(a)?a.clientWidth:0;return a>0?a:400},CW=function(a){var b=$APP.k(a,"__xChartRefs");if($APP.n(b)){var c=$APP.k(b,"svg"),d=$APP.k(b,"sr"),e=ZV(a),g=$APP.M(e),h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.oh),m=$APP.D(g,SV),p=$APP.D(g,VV),r=$APP.D(g,UV),v=$APP.D(g,MV),x=$APP.D(g,NV),y=$APP.D(g,OV),A=$APP.D(g,$APP.Ui),C=$APP.D(g,PV),E=$APP.D(g,QV),H=$APP.D(g,$APP.Z),G=$APP.D(g,$APP.en);g=$APP.D(g,RV);
32
- var J=BW(b),U=new $APP.Q(null,4,[hW,G+36,iW,G,jW,J-G,kW,l-G-18],null),aa=$APP.M(U),ta=$APP.D(aa,hW),Ma=$APP.D(aa,iW),Za=$APP.D(aa,jW);aa=$APP.D(aa,kW);var ob=xV(y),pb=$V(0,v,Ma,aa);$APP.Og(c,"viewBox","0 0 "+$APP.S.g(J)+" "+$APP.S.g(l));$APP.Og(c,"width",""+$APP.S.g(J));$APP.Og(c,"height",""+$APP.S.g(l));gW(c);b.crosshair=null;b.dots=null;if(!$APP.n(A)){$APP.n(p)&&lW(c,e,U);var Bb=$APP.xe($APP.ae(function(rb,ea){ea=pW(rb,ea,r,ob,U,v);return $APP.$d.i(function(Aa){return $APP.Hh.C(Aa,$APP.Rl,$APP.Rl.g(rb),
33
- $APP.uc([$APP.T,$APP.T.g(rb),sW,pb]))},ea)},$APP.uc([y,$APP.dg(0,Number.MAX_VALUE)])));pV($APP.Wd(function(rb,ea){var Aa=function(){var nc=$APP.jk.g(ea);return $APP.n(nc)?nc:dW(rb)}(),$a=$APP.ce(function(nc){return $APP.B.i($APP.Rl.g(nc),$APP.Rl.g(ea))},Bb);switch(H){case "bar":return tW(c,rb,$a,Aa,U,$APP.z(y));case "area":return rW(c,$a,Aa,pb),qW(c,$a,Aa);default:return qW(c,$a,Aa)}},y));$APP.n(x)&&mW(c,e,U,G);p=AV("line");$APP.Og(p,"x1",""+$APP.S.g(ta));$APP.Og(p,"y1",""+$APP.S.g(Ma));$APP.Og(p,
34
- "x2",""+$APP.S.g(ta));$APP.Og(p,"y2",""+$APP.S.g(aa));p.setAttribute("stroke","var(--x-chart-crosshair-color)");p.setAttribute("stroke-width","var(--x-chart-crosshair-width)");p.setAttribute("visibility","hidden");c.appendChild(p);b.crosshair=p;p=Array(8);for(x=0;;)if(x<8)G=AV("circle"),$APP.Og(G,"r",""+$APP.S.g(4)),G.setAttribute("stroke","var(--x-chart-tooltip-bg)"),G.setAttribute("stroke-width","2"),G.setAttribute("visibility","hidden"),c.appendChild(G),p[x]=G,x+=1;else break;b.dots=p;p=AV("rect");
35
- $APP.Og(p,"x",""+$APP.S.g(ta));$APP.Og(p,"y",""+$APP.S.g(Ma));$APP.Og(p,"width",""+$APP.S.g($APP.Jh.i(0,Za-ta)));$APP.Og(p,"height",""+$APP.S.g($APP.Jh.i(0,aa-Ma)));p.setAttribute("fill","transparent");p.setAttribute("style","cursor:crosshair;");$APP.n(h)||zW(a,p,Bb,b,J,l,E,m,g,C,y);c.appendChild(p);var bc=$APP.Gk.g(e);$APP.n($APP.n(bc)?$APP.t(y):bc)?(a=$APP.u($APP.ce(function(rb){return $APP.B.i($APP.Rl.g(rb),WV.g(bc))},y)),e=$APP.n(a)?$APP.Ac($APP.si.g(a),$APP.wi.g(bc),null):null,d.textContent=
36
- $APP.n($APP.n(a)?e:a)?""+$APP.S.g($APP.T.g(a))+" "+$APP.S.g(yV($APP.bm.g(e),C))+" at "+$APP.S.g(typeof $APP.cm.g(e)==="string"?$APP.cm.g(e):yV($APP.cm.g(e),g)):""+$APP.S.g($APP.z(y))+" series chart"):d.textContent=""+$APP.S.g($APP.z(y))+" series chart"}return $APP.n(A)?xW(b):null}return null},DW=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",
37
- "true");b.setAttribute("part","tooltip-swatch");c.setAttribute("part","tooltip-label");d.setAttribute("part","tooltip-value");a.appendChild(b);a.appendChild(c);a.appendChild(d);return a},EW=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=AV("svg"),g=document.createElement("div"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),p=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
- d.setAttribute("part","container");d.setAttribute("tabindex","0");e.setAttribute("part","svg");e.setAttribute("aria-hidden","true");e.setAttribute("role","img");g.setAttribute("part","sr-only");g.setAttribute("role","status");g.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=DW();m.appendChild(v);p[r]=v;r+=1}else break;h.appendChild(l);h.appendChild(m);d.appendChild(e);d.appendChild(g);d.appendChild(h);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.container=d;c.svg=e;c.sr=g;c.tooltip=h;c["tooltip-header"]=l;c["tooltip-body"]=m;c["tooltip-rows"]=p;c.crosshair=null;c.dots=null;a.__xChartRefs=c;b=new ResizeObserver(function(){return CW(a)});b.observe(d);$APP.k(a,"__xChartRefs").ro=b;AW(a,d)},FW=function(a){$APP.n($APP.k(a,"__xChartRefs"))||EW(a);return CW(a)},
40
- GW=function(a){a=$APP.k(a,"__xChartRefs");return $APP.n(a)?(a=$APP.k(a,"ro"),$APP.n(a)?a.disconnect():null):null},HW=function(a){return $APP.n($APP.k(a,"__xChartRefs"))?CW(a):null},IW=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return this.getAttribute(c)},set:function(d){return d!=null?this.setAttribute(c,""+$APP.S.g(d)):this.removeAttribute(c)}})},JW=function(a,b,c,d){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return sV(this.getAttribute(c),
41
- d)},set:function(e){return e!=null?this.setAttribute(c,""+$APP.S.g(e|0)):this.removeAttribute(c)}})},KW=function(a){return Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){var b=$APP.k(this,"__xChartData");if($APP.n(b))return b;b=this.getAttribute("data");return uV(b)},set:function(b){this.__xChartData=b;return $APP.n($APP.ma(b))?this.setAttribute("data",JSON.stringify(b)):this.removeAttribute("data")}})},LW=function(a){IW(a,"type","type");IW(a,"cursor","cursor");IW(a,
42
- "selected","selected");JW(a,"height","height",180);JW(a,"padding","padding",12);$APP.Sg(a,"grid","grid");$APP.Sg(a,"axes","axes");$APP.Sg(a,"tooltip","tooltip");$APP.Sg(a,"disabled","disabled");$APP.Sg(a,"loading","loading");return KW(a)},NW=function(){return $APP.Lg("x-chart",new $APP.Q(null,5,[$APP.Cg,MW,$APP.Dg,FW,$APP.Eg,GW,$APP.Fg,HW,$APP.Jg,LW],null))},uW=new $APP.K(null,"x-label","x-label",802517907),vW=new $APP.K(null,"dot-pts","dot-pts",1732240900),JV=new $APP.K(null,"loading-present?","loading-present?",
43
- -1827648748),EV=new $APP.K(null,"y-format-raw","y-format-raw",-1098541692),GV=new $APP.K(null,"axes-raw","axes-raw",-839946224),sW=new $APP.K(null,"y0-baseline","y0-baseline",613579610),MV=new $APP.K(null,"y-domain","y-domain",-969203007),UV=new $APP.K(null,"x-kind","x-kind",693167455),HV=new $APP.K(null,"height-raw","height-raw",-867301006),BV=new $APP.K(null,"selected-raw","selected-raw",-1471626848),OV=new $APP.K(null,"series","series",600710694),KV=new $APP.K(null,"data-raw","data-raw",822066711),
44
- SV=new $APP.K(null,"tooltip?","tooltip?",-642753154),WV=new $APP.K(null,"series-id","series-id",226875035),RV=new $APP.K(null,"x-fmt","x-fmt",2073358008),CV=new $APP.K(null,"padding-raw","padding-raw",-847772255),eW=new $APP.K(null,"py","py",1397985916),LV=new $APP.K(null,"x-format-raw","x-format-raw",-1683657190),NV=new $APP.K(null,"axes?","axes?",1786285669),VV=new $APP.K(null,"grid?","grid?",-288406689),IV=new $APP.K(null,"cursor-raw","cursor-raw",-1169819084),QV=new $APP.K(null,"cursor","cursor",
45
- 1011937484),DV=new $APP.K(null,"tooltip-present?","tooltip-present?",-2098824029),PV=new $APP.K(null,"y-fmt","y-fmt",2092412811),iW=new $APP.K(null,"y0","y0",111454807),kW=new $APP.K(null,"y1","y1",589123466),oW=new $APP.K(null,"i","i",-1386841315),jW=new $APP.K(null,"x1","x1",-1863922247),hW=new $APP.K(null,"x0","x0",410843387),nW=new $APP.K(null,"si","si",793409822),TV=new $APP.K(null,"y-ticks","y-ticks",-843622722),FV=new $APP.K(null,"grid-present?","grid-present?",-468948562);var MW="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),YV=new $APP.R(null,new $APP.Q(null,3,["bar",null,"area",null,"line",null],null),null),XV=new $APP.R(null,new $APP.Q(null,3,["none",null,"x",null,"nearest",null],null),null);
46
- $APP.zf([$APP.Gk,$APP.kk,new $APP.K(null,"axes","axes",1970866440),new $APP.K(null,"grid","grid",402978600),QV,$APP.Z,$APP.Ql,$APP.en,new $APP.K(null,"tooltip","tooltip",-1809677058),$APP.oh,$APP.si],[new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"selected"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"disabled"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"axes"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"grid"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.$k,"cursor"],null),new $APP.Q(null,
47
- 2,[$APP.Z,$APP.Y,$APP.$k,"type"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"loading"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.$k,"padding"],null),new $APP.Q(null,2,[$APP.Z,$APP.uk,$APP.$k,"tooltip"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.$k,"height"],null),new $APP.Q(null,1,[$APP.Z,$APP.jj],null)]);$APP.ha("baredom.exports.x_chart.init",NW);export const init=NW;
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;}";
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;