@vanelsas/baredom 2.7.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/custom-elements.json +822 -16
  3. package/dist/baredom.d.ts +9 -0
  4. package/dist/base.js +455 -428
  5. package/dist/integrity.json +102 -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 +17 -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 +45 -44
  23. package/dist/x-combobox.js +26 -26
  24. package/dist/x-command-palette.js +26 -26
  25. package/dist/x-confetti.d.ts +50 -0
  26. package/dist/x-confetti.js +23 -0
  27. package/dist/x-container.js +4 -4
  28. package/dist/x-context-menu.d.ts +31 -2
  29. package/dist/x-context-menu.js +20 -18
  30. package/dist/x-copy.js +20 -23
  31. package/dist/x-currency-field.js +23 -23
  32. package/dist/x-date-picker.d.ts +27 -0
  33. package/dist/x-date-picker.js +42 -41
  34. package/dist/x-divider.js +9 -9
  35. package/dist/x-drawer.js +10 -11
  36. package/dist/x-dropdown.js +11 -10
  37. package/dist/x-fieldset.js +5 -6
  38. package/dist/x-file-download.js +7 -7
  39. package/dist/x-file-upload.js +21 -21
  40. package/dist/x-form-field.js +15 -15
  41. package/dist/x-form.js +9 -8
  42. package/dist/x-gaussian-blur.js +13 -19
  43. package/dist/x-grid.js +6 -6
  44. package/dist/x-i18n-provider.d.ts +43 -0
  45. package/dist/x-i18n-provider.js +8 -0
  46. package/dist/x-i18n.d.ts +14 -0
  47. package/dist/x-i18n.js +5 -0
  48. package/dist/x-icon.js +6 -7
  49. package/dist/x-image.js +18 -19
  50. package/dist/x-kbd.d.ts +17 -0
  51. package/dist/x-kbd.js +17 -0
  52. package/dist/x-kinetic-canvas.d.ts +18 -0
  53. package/dist/x-kinetic-canvas.js +26 -0
  54. package/dist/x-kinetic-font.js +27 -28
  55. package/dist/x-kinetic-typography.js +33 -39
  56. package/dist/x-liquid-dock.js +38 -39
  57. package/dist/x-liquid-fill.js +45 -45
  58. package/dist/x-liquid-glass.js +47 -47
  59. package/dist/x-menu-item.js +8 -9
  60. package/dist/x-menu.js +10 -11
  61. package/dist/x-metaball-cursor.js +26 -27
  62. package/dist/x-modal.js +11 -12
  63. package/dist/x-morph-stack.js +37 -38
  64. package/dist/x-multi-combobox.d.ts +50 -0
  65. package/dist/x-multi-combobox.js +37 -0
  66. package/dist/x-navbar.js +12 -12
  67. package/dist/x-neural-glow.js +33 -33
  68. package/dist/x-notification-center.js +9 -9
  69. package/dist/x-organic-divider.js +17 -18
  70. package/dist/x-organic-progress.js +38 -38
  71. package/dist/x-organic-shape.js +13 -13
  72. package/dist/x-otp-input.d.ts +55 -0
  73. package/dist/x-otp-input.js +23 -0
  74. package/dist/x-pagination.js +15 -16
  75. package/dist/x-particle-button.js +51 -51
  76. package/dist/x-popover.js +26 -24
  77. package/dist/x-progress-circle.js +9 -10
  78. package/dist/x-progress.js +10 -11
  79. package/dist/x-proximity-list.d.ts +43 -0
  80. package/dist/x-proximity-list.js +20 -0
  81. package/dist/x-radio.js +11 -10
  82. package/dist/x-ripple-effect.js +11 -12
  83. package/dist/x-scroll-parallax.js +18 -19
  84. package/dist/x-scroll-stack.js +17 -18
  85. package/dist/x-scroll-story.js +34 -36
  86. package/dist/x-scroll-timeline.js +45 -46
  87. package/dist/x-scroll.js +40 -41
  88. package/dist/x-search-field.js +15 -15
  89. package/dist/x-select.js +10 -9
  90. package/dist/x-sidebar.js +17 -17
  91. package/dist/x-skeleton-group.js +12 -12
  92. package/dist/x-skeleton.js +1 -1
  93. package/dist/x-slider.js +15 -16
  94. package/dist/x-soft-body.js +22 -22
  95. package/dist/x-spacer.js +4 -5
  96. package/dist/x-spinner.js +4 -5
  97. package/dist/x-splash.js +12 -13
  98. package/dist/x-spotlight-card.d.ts +19 -0
  99. package/dist/x-spotlight-card.js +13 -0
  100. package/dist/x-stat.js +10 -12
  101. package/dist/x-stepper.js +14 -15
  102. package/dist/x-switch.js +10 -9
  103. package/dist/x-tab.js +7 -8
  104. package/dist/x-table-cell.js +20 -24
  105. package/dist/x-table-row.js +8 -9
  106. package/dist/x-table.js +12 -15
  107. package/dist/x-tabs.js +11 -11
  108. package/dist/x-text-area.js +18 -18
  109. package/dist/x-theme.js +25 -25
  110. package/dist/x-timeline-item.js +21 -23
  111. package/dist/x-timeline.js +8 -9
  112. package/dist/x-toast.js +22 -24
  113. package/dist/x-toaster.js +8 -8
  114. package/dist/x-tooltip.js +12 -11
  115. package/dist/x-typography.js +9 -11
  116. package/dist/x-welcome-tour.js +60 -64
  117. package/package.json +47 -2
@@ -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 cA=function(a){return a==null?!0:$APP.M((""+$APP.R.i(a)).trim().toLowerCase(),"false")},dA=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.p(isNaN(a))&&a>=0?a:0):0},eA=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.p(isNaN(a))&&a>=100?a:5E3):5E3},gA=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.Vc(fA,a)?a:"slide"):"slide"},iA=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.Vc(hA,a)?a:"horizontal"):"horizontal"},
3
+ kA=function(a){var b=(b=typeof a==="string")?jA.test(a.trim()):b;return $APP.n(b)?a.trim():"0px"},lA=function(a,b){return b<=0?0:a<0?0:a>=b?b-1:a},nA=function(a){var b=$APP.H(a);a=$APP.C(b,$APP.rj);var c=$APP.C(b,$APP.Vm);b=$APP.C(b,mA);var d=a+1;return d>=b?$APP.n(c)?0:a:d},oA=function(a){var b=$APP.H(a);a=$APP.C(b,$APP.rj);var c=$APP.C(b,$APP.Vm);b=$APP.C(b,mA);var d=a-1;return d<0?$APP.n(c)?b-1:a:d},wA=function(a){var b=$APP.k(a,"__xCarouselSlideCount");a=$APP.Hf([$APP.Eh,mA,pA,qA,$APP.Mn,rA,$APP.tj,
4
+ $APP.ll,sA,$APP.Co,$APP.kk,tA],[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.H(a);a=$APP.C(c,$APP.ll);b=$APP.C(c,sA);var d=$APP.C(c,$APP.tj),e=$APP.C(c,$APP.Co),f=$APP.C(c,$APP.kk),h=$APP.C(c,tA),l=$APP.C(c,$APP.Eh),m=$APP.C(c,mA),q=
5
+ $APP.C(c,pA),r=$APP.C(c,qA),v=$APP.C(c,$APP.Mn);c=$APP.C(c,rA);m=$APP.n(m)?m:0;e=lA(dA(e),m);return $APP.Hf([uA,vA,$APP.sm,mA,$APP.rj,$APP.Vm,$APP.tm,$APP.on,$APP.nk,$APP.Y,$APP.Hk,$APP.Yj],[cA(r),gA(q),cA(h),m,e,$APP.E(c),eA(d),$APP.sh(a)?a:null,kA(v),$APP.E(l),iA(f),$APP.E(b)])},xA=function(a){var b=$APP.k(a,"__xCarouselAutoTimer");$APP.n(b)&&(clearInterval(b),a.__xCarouselAutoTimer=null)},zA=function(a){xA(a);var b=wA(a);$APP.n(function(){var c=$APP.Yj.i(b);return $APP.n(c)?(c=$APP.p($APP.k(a,
6
+ "__xCarouselPaused")))?(c=$APP.p($APP.Y.i(b)))?(c=mA.i(b)>1)?a.isConnected:c:c:c:c}())&&$APP.Xg(a,"__xCarouselAutoTimer",setInterval(function(){if($APP.n(a.isConnected)){var c=wA(a);c=nA(c);return yA.m?yA.m(a,c,"autoplay"):yA.call(null,a,c,"autoplay")}return null},$APP.tm.i(b)))},AA=function(a){if($APP.Yg(a,"__xCarouselInit")){var b=wA(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.rj.i(b),m=mA.i(b),q=vA.i(b),r=$APP.Hk.i(b),v=$APP.nk.i(b),w=$APP.B.j(r,"vertical");a.setAttribute("data-direction",r);a.setAttribute("data-transition",q);a.setAttribute("role","region");a.setAttribute("aria-roledescription","carousel");var y=$APP.on.i(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.j(q,"slide"))for(q=
8
+ w?"Y":"X",$APP.B.j(v,"0px")?d.style.transform="translate"+$APP.R.i(q)+"("+$APP.R.i(l*-100)+"%)":d.style.transform="translate"+$APP.R.i(q)+"(calc("+$APP.R.i(l*-1)+" * (100% - "+$APP.R.i(v)+" * 2) + "+$APP.R.i(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.j(q,l)?"1":"0",
9
+ q+=1;else break;v=$APP.H(b);d=$APP.C(v,uA);v=$APP.C(v,mA);$APP.n($APP.n(d)?v>1:d)?(e.style.display="flex",f.style.display="flex",r=$APP.H(b),d=$APP.C(r,$APP.rj),v=$APP.C(r,$APP.Vm),q=$APP.C(r,mA),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.H(b),e=$APP.C(q,$APP.rj),d=$APP.C(q,$APP.Vm),v=$APP.C(q,mA),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.H(b);f=$APP.C(e,
10
+ $APP.sm);e=$APP.C(e,mA);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.R.i(f+1)),e.setAttribute("data-index",""+$APP.R.i(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.R.i($APP.B.j(f,l))),e.setAttribute("aria-selected",""+$APP.R.i($APP.B.j(f,l))),f+=1;else break}else h.style.display="none";m>0&&(c.textContent="Slide "+$APP.R.i(l+1)+" of "+$APP.R.i(m));$APP.n($APP.Yj.i(b))?c.setAttribute("aria-live","off"):c.setAttribute("aria-live","polite")}}},yA=function(a,b,c){var d=wA(a),e=mA.i(d);b=lA(b,e);d=$APP.rj.i(d);$APP.M(b,d)&&e>0&&$APP.bh(a,"x-carousel-change",{index:b,previousIndex:d,reason:c})&&$APP.Zg(a,"current",""+$APP.R.i(b));
12
+ return null},GA=function(a){function b(K){$APP.n(a.contains(K.relatedTarget))||(a.__xCarouselPaused=!1,zA(a));return null}function c(){a.__xCarouselPaused=!0;xA(a);return null}function d(){a.__xCarouselPaused=!1;zA(a);return null}function e(){a.__xCarouselPaused=!0;xA(a);return null}function f(){var K=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements().length;a.__xCarouselSlideCount=K;var ba=wA(a);K=lA($APP.rj.i(ba),K);$APP.M(K,$APP.rj.i(ba))&&$APP.Zg(a,"current",""+$APP.R.i(K));AA(a);zA(a);
13
+ return null}function h(){var K=wA(a);yA(a,nA(K),"arrow");return null}function l(){var K=wA(a);yA(a,oA(K),"arrow");return null}function m(K){K=K.target.getAttribute("data-index");$APP.n(K)&&(K=parseInt(K,10),$APP.n(isNaN(K))||yA(a,K,"dot"));return null}function q(K){var ba=wA(a),ia=K.key,Ba=$APP.Hk.i(ba);$APP.p($APP.Y.i(ba))&&mA.i(ba)>1&&($APP.Vc($APP.B.j(Ba,"vertical")?BA:CA,ia)?(K.preventDefault(),yA(a,oA(ba),"keyboard")):$APP.Vc($APP.B.j(Ba,"vertical")?DA:EA,ia)?(K.preventDefault(),yA(a,nA(ba),
14
+ "keyboard")):$APP.B.j(ia,"Home")?(K.preventDefault(),yA(a,0,"keyboard")):$APP.B.j(ia,"End")&&(K.preventDefault(),yA(a,mA.i(ba)-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"),ba=$APP.k(a,"__xCarouselDragCurrent")-$APP.k(a,"__xCarouselDragStart"),ia=Date.now()-$APP.k(a,"__xCarouselDragStartT");ia=ia>0?ba/ia:0;ba=ia>.3?$APP.cl:ia<-.3?$APP.kl:ba>40?$APP.cl:ba<-40?$APP.kl:FA;ia=wA(a);K.classList.remove("dragging");
15
+ switch(ba instanceof $APP.F?ba.pa:null){case "prev":yA(a,oA(ia),"drag");break;case "next":yA(a,nA(ia),"drag");break;default:AA(a)}a.__xCarouselPaused=!1;zA(a)}return null}function v(K){if($APP.n($APP.k(a,"__xCarouselDragging"))){var ba=wA(a),ia=$APP.B.j($APP.Hk.i(ba),"vertical");K=ia?K.clientY:K.clientX;var Ba=K-$APP.k(a,"__xCarouselDragStart"),La=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),Ta=$APP.rj.i(ba);ia=ia?"Y":"X";ba=$APP.nk.i(ba);a.__xCarouselDragCurrent=K;$APP.B.j(ba,"0px")?La.style.transform=
16
+ "translate"+$APP.R.i(ia)+"(calc("+$APP.R.i(Ta*-100)+"% + "+$APP.R.i(Ba)+"px))":La.style.transform="translate"+$APP.R.i(ia)+"(calc("+$APP.R.i(Ta*-1)+" * (100% - "+$APP.R.i(ba)+" * 2) + "+$APP.R.i(ba)+" + "+$APP.R.i(Ba)+"px))"}return null}function w(K){var ba=wA(a);if($APP.p($APP.Y.i(ba))&&$APP.B.j(vA.i(ba),"slide")&&mA.i(ba)>1){K.preventDefault();var ia=$APP.k($APP.k(a,"__xCarouselRefs"),"track");ba=$APP.B.j($APP.Hk.i(ba),"vertical")?K.clientY:K.clientX;ia.setPointerCapture(K.pointerId);ia.classList.add("dragging");
17
+ a.__xCarouselDragging=!0;a.__xCarouselDragStart=ba;K=Date.now();a.__xCarouselDragStartT=K;a.__xCarouselDragCurrent=ba;a.__xCarouselPaused=!0;xA(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"),J=$APP.k(y,"dots");y=$APP.k(y,"viewport");A.addEventListener("pointerdown",w);A.addEventListener("pointermove",v);A.addEventListener("pointerup",r);y.addEventListener("keydown",q);J.addEventListener("click",m);G.addEventListener("click",
18
+ l);I.addEventListener("click",h);D.addEventListener("slotchange",f);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.Xg(a,"__xCarouselHandlers",{next:h,up:r,slot:f,dot:m,key:q,prev:l,focusin:c,leave:d,move:v,down:w,enter:e,focusout:b})},HA=function(a){xA(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,
19
+ "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"));f.removeEventListener("click",$APP.k(b,"prev"));h.removeEventListener("click",$APP.k(b,"next"));e.removeEventListener("slotchange",$APP.k(b,"slot"));a.removeEventListener("pointerenter",
20
+ $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},IA=function(a){for(var b=$APP.t(new $APP.N(null,3,5,$APP.O,["autoplay","loop","disabled"],null)),c=null,d=0,e=0;;)if(e<d){var f=c.G(null,e);$APP.ch(a,f,f);e+=1}else if(b=$APP.t(b))c=b,$APP.Rc(c)?(b=$APP.yb(c),e=$APP.zb(c),c=b,d=$APP.z(b),b=e):(b=$APP.u(c),$APP.ch(a,b,b),b=$APP.x(c),c=null,
21
+ d=0),e=0;else break;b=$APP.t(new $APP.N(null,2,5,$APP.O,["arrows","dots"],null));c=null;for(e=d=0;;)if(e<d)f=c.G(null,e),Object.defineProperty(a,f,{get:function(m,q,r,v,w){return function(){return cA(this.getAttribute(w))}}(b,c,d,e,f),set:function(m,q,r,v,w){return function(y){return $APP.n(y)?this.removeAttribute(w):this.setAttribute(w,"false")}}(b,c,d,e,f),enumerable:!0,configurable:!0}),e+=1;else{var h=$APP.t(b);if(h){f=h;if($APP.Rc(f))b=$APP.yb(f),e=$APP.zb(f),c=b,d=$APP.z(b),b=e;else{var l=$APP.u(f);
22
+ Object.defineProperty(a,l,{get:function(m,q,r,v,w){return function(){return cA(this.getAttribute(w))}}(b,c,d,e,l,f,h),set:function(m,q,r,v,w){return function(y){return $APP.n(y)?this.removeAttribute(w):this.setAttribute(w,"false")}}(b,c,d,e,l,f,h),enumerable:!0,configurable:!0});b=$APP.x(f);c=null;d=0}e=0}else break}Object.defineProperty(a,"currentSlide",{get:function(){return dA(this.getAttribute("current"))},set:function(m){return this.setAttribute("current",""+$APP.R.i(m|0))},enumerable:!0,configurable:!0});
23
+ Object.defineProperty(a,"interval",{get:function(){return eA(this.getAttribute("interval"))},set:function(m){return m==null?this.removeAttribute("interval"):this.setAttribute("interval",""+$APP.R.i(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"transition",{get:function(){return gA(this.getAttribute("transition"))},set:function(m){return $APP.n(m)?this.setAttribute("transition",""+$APP.R.i(m)):this.removeAttribute("transition")},enumerable:!0,configurable:!0});Object.defineProperty(a,
24
+ "direction",{get:function(){return iA(this.getAttribute("direction"))},set:function(m){return $APP.n(m)?this.setAttribute("direction",""+$APP.R.i(m)):this.removeAttribute("direction")},enumerable:!0,configurable:!0});Object.defineProperty(a,"peek",{get:function(){return kA(this.getAttribute("peek"))},set:function(m){return $APP.n(m)?this.setAttribute("peek",""+$APP.R.i(m)):this.removeAttribute("peek")},enumerable:!0,configurable:!0});Object.defineProperty(a,"slideCount",{get:function(){var m=$APP.k(this,
25
+ "__xCarouselSlideCount");return $APP.n(m)?m:0},enumerable:!0,configurable:!0});$APP.fa(a,"next",function(){var m=wA(this);return yA(this,nA(m),"api")});$APP.fa(a,"previous",function(){var m=wA(this);return yA(this,oA(m),"api")});return $APP.fa(a,"goTo",function(m){return yA(this,m,"api")})},JA=function(a){if(!$APP.Yg(a,"__xCarouselInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),f=document.createElement("slot"),
26
+ h=document.createElement("button"),l=document.createElement("button"),m=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}HA(a);GA(a);b=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements();a.__xCarouselSlideCount=b.length;AA(a);zA(a);return null},KA=function(a){HA(a);return null},LA=function(a){$APP.Yg(a,"__xCarouselInit")&&(AA(a),$APP.n(a.isConnected)&&zA(a));return null},NA=function(){return $APP.Wg("x-carousel",
30
+ new $APP.P(null,5,[$APP.Mg,MA,$APP.Ng,JA,$APP.Og,KA,$APP.Qg,LA,$APP.Ug,IA],null))},qA=new $APP.F(null,"arrows-raw","arrows-raw",-1077955796),vA=new $APP.F(null,"transition","transition",765692007),uA=new $APP.F(null,"arrows?","arrows?",-1692502811),pA=new $APP.F(null,"transition-raw","transition-raw",-1184759092),sA=new $APP.F(null,"autoplay-present?","autoplay-present?",-1468092647),mA=new $APP.F(null,"slide-count","slide-count",1368058827),tA=new $APP.F(null,"dots-raw","dots-raw",-1711545603),rA=
31
+ new $APP.F(null,"loop-present?","loop-present?",1373422006),FA=new $APP.F(null,"stay","stay",-1240327234);var MA="autoplay interval loop arrows dots disabled current transition direction peek aria-label".split(" ");
32
+ $APP.Hf([new $APP.F(null,"arrows","arrows",-1209622014),new $APP.F(null,"slideCount","slideCount",-1489337180),$APP.fl,vA,$APP.mo,$APP.tm,$APP.$l,$APP.nk,$APP.pm,new $APP.F(null,"currentSlide","currentSlide",-417438499),$APP.Hk],[new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.Ol,!0],null),new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,
33
+ $APP.U],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.V],null)]);$APP.Ud(["x-carousel-change",new $APP.P(null,2,[$APP.Z,new $APP.P(null,3,[$APP.sj,$APP.W,$APP.rl,$APP.W,$APP.bk,$APP.V],null),$APP.Un,!0],null)]);
34
+ var fA=new $APP.Q(null,new $APP.P(null,2,["slide",null,"fade",null],null),null),hA=new $APP.Q(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),jA=/^\d+(\.\d+)?(px|rem|em|%)$/,CA=new $APP.Q(null,new $APP.P(null,1,["ArrowLeft",null],null),null),EA=new $APP.Q(null,new $APP.P(null,1,["ArrowRight",null],null),null),BA=new $APP.Q(null,new $APP.P(null,1,["ArrowUp",null],null),null),DA=new $APP.Q(null,new $APP.P(null,1,["ArrowDown",null],null),null);$APP.da("baredom.exports.x_carousel.init",NA);export const init=NA;
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 $_=function(a,b){return function f(d,e){return new $APP.xd(null,function(){var h=$APP.t(e);if(h){if($APP.Rc(h)){for(var l=$APP.yb(h),m=$APP.z(l),q=$APP.Ad(m),r=0;;)if(r<m){var v=function(){var w=d+r,y=$APP.Bc(l,r);return a.j?a.j(w,y):a.call(null,w,y)}();v!=null&&q.add(v);r+=1}else break;return $APP.Dd(q.ba(),f(d+m,$APP.zb(h)))}m=function(){var w=$APP.u(h);return a.j?a.j(d,w):a.call(null,d,w)}();return m==null?f(d+1,$APP.$b(h)):$APP.ud(m,f(d+1,$APP.$b(h)))}return null},null)}(0,b)},a0=function(a){return $APP.Gd($APP.va(function(b,
3
+ c){var d=$APP.Ym.i?$APP.Ym.i(c):$APP.Ym.call(null,c);c=$APP.pd.j($APP.Ec(b,d,$APP.me),c);return $APP.ub(b,d,c)},$APP.rb($APP.Vd),a))},b0=function(a,b){return typeof a==="string"?(a=parseInt(a,10),$APP.p(isNaN(a))&&a>0?a:b):b},c0=function(a,b){var c=function(){var h=a.id;h=$APP.n(h)?""+$APP.R.i(a.id):h;return $APP.n(h)?h:"s"+$APP.R.i(b)}(),d=function(){var h=a.label;h=$APP.n(h)?""+$APP.R.i(a.label):h;return $APP.n(h)?h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.R.i(a.color):h}(),f=a.data;
4
+ return $APP.n($APP.na(f))?new $APP.P(null,4,[$APP.Ym,c,$APP.X,d,$APP.el,e,$APP.oj,$_(function(h,l){return $APP.n($APP.n(l)?l.x!=null&&l.y!=null:l)?new $APP.P(null,2,[$APP.kn,l.x,$APP.jn,l.y],null):null},$APP.xc(f))],null):null},d0=function(a){if(typeof a!=="string")return $APP.me;try{var b=JSON.parse(a);if($APP.n($APP.na(b)))return $APP.Ee($_(function(d,e){return c0(e,d)},$APP.xc(b)));if($APP.n(function(){var d=$APP.oa(b);return d?$APP.na(b.data):d}())){var c=c0(b,0);return $APP.n(c)?new $APP.N(null,
5
+ 1,5,$APP.O,[c],null):$APP.me}return $APP.me}catch(d){return $APP.me}},e0=function(a){a=a==null?null:$APP.u(a);a=a==null?null:$APP.oj.i(a);a=a==null?null:$APP.u(a);return $APP.n($APP.n(a)?typeof $APP.kn.i(a)==="string":a)?"category":"numeric"},f0=function(a){a=$APP.ie(function(b){return $APP.ee.j($APP.jn,$APP.oj.i(b))},$APP.xc([a]));return $APP.Kc(a)?new $APP.N(null,2,5,$APP.O,[0,1],null):new $APP.N(null,2,5,$APP.O,[$APP.Od($APP.Di,a),$APP.Od($APP.Ci,a)],null)},g0=function(a){var b=e0(a);if($APP.B.j(b,
6
+ "category"))return a=$APP.Pd($APP.Ci,0,$APP.ee.j(function(c){return $APP.z($APP.oj.i(c))},a)),new $APP.N(null,2,5,$APP.O,[0,$APP.Ci.j(1,a)-1],null);a=$APP.ie(function(c){return $APP.ee.j($APP.kn,$APP.oj.i(c))},$APP.xc([a]));return $APP.Kc(a)?new $APP.N(null,2,5,$APP.O,[0,1],null):new $APP.N(null,2,5,$APP.O,[$APP.Od($APP.Di,a),$APP.Od($APP.Ci,a)],null)},h0=function(a,b){return b==null?(b=Math.abs(a),b>=1E6?""+$APP.R.i(Math.round(a/1E6))+"M":b>=1E3?""+$APP.R.i(Math.round(a/1E3))+"K":$APP.n(Number.isInteger(a))?
7
+ ""+$APP.R.i(a):a.toFixed(1)):$APP.B.j(b,"int")?""+$APP.R.i(Math.round(a)):$APP.B.j(b,"pct")?""+$APP.R.i(a)+"%":$APP.B.j(b,"abbr")?(b=Math.abs(a),b>=1E9?""+$APP.R.i((a/1E9).toFixed(1))+"B":b>=1E6?""+$APP.R.i((a/1E6).toFixed(1))+"M":b>=1E3?""+$APP.R.i((a/1E3).toFixed(1))+"K":""+$APP.R.i(a)):$APP.B.j(b,"raw")?""+$APP.R.i(a):$APP.n(b.startsWith("fixed:"))?(b=parseInt(b.slice(6),10),$APP.n(isNaN(b))?""+$APP.R.i(a):a.toFixed(b)):""+$APP.R.i(a)},i0=function(a,b){a=a0(a);return $APP.Ee($APP.ce(function(c){$APP.Dc(c,
8
+ 0,null);c=$APP.Dc(c,1,null);return $APP.va(function(d,e){var f=Math.abs($APP.Hm.i(e)-b);return d==null||f<$APP.qn.i(d)?$APP.Ai.m(e,$APP.qn,f):d},null,c)},a))},j0=function(a,b,c,d){var e=$APP.Dc(b,0,null);b=$APP.Dc(b,1,null);e=b-e;return e===0?(c+d)/2:c+(b-a)/e*(d-c)},k0=function(a,b,c,d){var e=$APP.Dc(b,0,null);b=$APP.Dc(b,1,null)-e;return b===0?(c+d)/2:c+(a-e)/b*(d-c)},s0=function(a,b,c,d,e,f){e=$APP.H(e);var h=$APP.C(e,l0),l=$APP.C(e,m0),m=$APP.C(e,n0),q=$APP.C(e,o0);return $APP.ae(function(r,v){if($APP.B.j(c,
9
+ "category")){var w=$APP.Ci.j(1,$APP.z($APP.oj.i(a)));w=w<=1?(h+m)/2:h+r/(w-1)*(m-h)}else w=k0($APP.kn.i(v),d,h,m);var y=j0($APP.jn.i(v),f,l,q);return $APP.Ai.C(v,$APP.Hm,w,$APP.xc([p0,y,q0,b,r0,r]))},$APP.oj.i(a))},t0=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},S0=function(a){a=$APP.Hf([u0,v0,w0,x0,$APP.Eh,y0,z0,A0,B0,C0,$APP.Kj,D0,E0],[a.getAttribute("selected"),a.getAttribute("padding"),$APP.n(a.hasAttribute("tooltip"))?a.getAttribute("tooltip"):null,a.getAttribute("y-format"),
10
+ $APP.n(a.hasAttribute("disabled"))?a.getAttribute("disabled"):null,$APP.n(a.hasAttribute("grid"))?a.getAttribute("grid"):null,$APP.n(a.hasAttribute("axes"))?a.getAttribute("axes"):null,a.getAttribute("height"),a.getAttribute("cursor"),$APP.n(a.hasAttribute("loading"))?a.getAttribute("loading"):null,a.getAttribute("type"),a.getAttribute("data"),a.getAttribute("x-format")]);var b=$APP.H(a);a=$APP.C(b,E0);var c=$APP.C(b,u0),d=$APP.C(b,v0),e=$APP.C(b,w0),f=$APP.C(b,x0),h=$APP.C(b,$APP.Eh),l=$APP.C(b,
11
+ y0),m=$APP.C(b,z0),q=$APP.C(b,A0),r=$APP.C(b,B0),v=$APP.C(b,C0),w=$APP.C(b,$APP.Kj);b=$APP.C(b,D0);b=d0(b);var y=f0(b),A=$APP.Dc(y,0,null),D=$APP.Dc(y,1,null);y=[F0,$APP.El,G0,H0,$APP.Oj,I0,J0,$APP.S,$APP.ro,K0,$APP.Y,L0,M0,$APP.ki,N0,O0];var G=new $APP.N(null,2,5,$APP.O,[A,D],null);a:{if(typeof c==="string"&&(c=c.split(":"),$APP.B.j(2,c.length))){var I=parseInt(c[1],10);c=$APP.n(isNaN(I))?null:new $APP.P(null,2,[P0,c[0],$APP.sj,I],null);break a}c=null}m=m==null?!0:$APP.rh(m);v=$APP.rh(v);r=typeof r===
12
+ "string"&&$APP.Vc(Q0,r)?r:"nearest";w=typeof w==="string"&&$APP.Vc(R0,w)?w:"line";d=b0(d,12);h=$APP.rh(h);e=$APP.rh(e);a:if($APP.B.j(A,D))A=new $APP.N(null,1,5,$APP.O,[A],null);else{I=D-A;if(I===0)I=1;else{var J=I/5;I=Math.pow(10,Math.floor(Math.log10(J)));J/=I;I*=J<=1?1:J<=2?2:J<=2.5?2.5:J<=5?5:10}D=Math.floor(D/I)*I;A=Math.ceil(A/I)*I;for(var K=$APP.me;;){if(A>D+I*1E-4){A=K;break a}J=A+I;K=$APP.pd.j(K,A);A=J}A=void 0}return $APP.Hf(y,[G,c,m,b,v,f,r,w,d,a,h,e,A,b0(q,180),e0(b),l==null?!0:$APP.rh(l)])},
13
+ T0=function(a,b,c,d){var e=t0("line");$APP.Zg(e,"x1",""+$APP.R.i(a));$APP.Zg(e,"y1",""+$APP.R.i(b));$APP.Zg(e,"x2",""+$APP.R.i(c));$APP.Zg(e,"y2",""+$APP.R.i(d));e.setAttribute("stroke","var(--x-chart-grid)");$APP.Zg(e,"stroke-opacity",""+$APP.R.i(1));e.setAttribute("stroke-width","1");return e},U0=function(a,b,c,d){var e=t0("text");$APP.Zg(e,"x",""+$APP.R.i(a));$APP.Zg(e,"y",""+$APP.R.i(b));e.setAttribute("text-anchor",d);$APP.Zg(e,"font-size",""+$APP.R.i(10));e.setAttribute("fill","var(--x-chart-axis-label)");
14
+ e.textContent=c;return e},V0=function(a){return"var(--x-chart-series-"+$APP.R.i($APP.jd(a,4)+1)+")"},W0=function(a){if($APP.t(a)){var b=$APP.t(a);a=$APP.u(b);b=$APP.x(b);return"M "+$APP.R.i($APP.Hm.i(a))+","+$APP.R.i(p0.i(a))+$APP.R.i($APP.Od($APP.R,$APP.ee.j(function(c){return" L "+$APP.R.i($APP.Hm.i(c))+","+$APP.R.i(p0.i(c))},b)))}return null},X0=function(a,b,c,d){var e=$APP.H(b),f=$APP.C(e,M0),h=$APP.C(e,F0);b=$APP.C(e,H0);var l=$APP.C(e,N0),m=$APP.C(e,I0),q=$APP.C(e,K0);e=$APP.H(c);var r=$APP.C(e,
15
+ l0);c=$APP.C(e,m0);var v=$APP.C(e,n0),w=$APP.C(e,o0);f=$APP.t(f);e=null;for(var y=0,A=0;;)if(A<y){var D=e.G(null,A),G=j0(D,h,c,w);D=h0(D,m);G=U0(r-4,G+4,D,"end");a.appendChild(G);A+=1}else if(f=$APP.t(f))$APP.Rc(f)?(y=$APP.yb(f),f=$APP.zb(f),e=y,y=$APP.z(y)):(y=$APP.u(f),e=j0(y,h,c,w),y=h0(y,m),e=U0(r-4,e+4,y,"end"),a.appendChild(e),f=$APP.x(f),e=null,y=0),A=0;else break;h=$APP.u(b);if($APP.n(h)){h=$APP.oj.i(h);m=$APP.z(h);var I=g0(b),J=$APP.Ci.j(1,Math.ceil(m/5)|0);$APP.ng($APP.ae(function(K,ba){if($APP.jd(K,
16
+ J)===0){if($APP.B.j(l,"category")){var ia=$APP.u($APP.x(I))-$APP.u(I)+1;K=ia<=1?(r+v)/2:r+K/(ia-1)*(v-r)}else K=k0($APP.kn.i(ba),I,r,v);ba=$APP.B.j(l,"category")?""+$APP.R.i($APP.kn.i(ba)):h0($APP.kn.i(ba),q);ba=U0(K,w+d+4,ba,"middle");return a.appendChild(ba)}return null},h))}},Y0=function(a,b,c){b=W0(b);if($APP.n(b)){var d=t0("path");d.setAttribute("d",b);d.setAttribute("fill","none");d.setAttribute("stroke",c);d.setAttribute("stroke-width","2");d.setAttribute("stroke-linejoin","round");d.setAttribute("stroke-linecap",
17
+ "round");return a.appendChild(d)}return null},a1=function(a,b,c,d){if($APP.t(a)){var e=$APP.u(a);b=typeof $APP.kn.i(e)==="string"?""+$APP.R.i($APP.kn.i(e)):h0($APP.kn.i(e),b);var f=$APP.df.j($APP.Vd,$APP.ae(function(h,l){var m=$APP.O,q=$APP.Ym.i(l);l=$APP.el.i(l);h=$APP.n(l)?l:V0(h);return new $APP.N(null,2,5,m,[q,h],null)},d));d=$APP.ne(function(h){return new $APP.P(null,5,[$APP.el,$APP.Ec(f,$APP.Ym.i(h),V0(q0.j(h,0))),$APP.X,""+$APP.R.i($APP.X.i(h)),$APP.Fh,h0($APP.jn.i(h),c),$APP.Hm,$APP.Hm.i(h),
18
+ p0,p0.i(h)],null)},a);return new $APP.P(null,5,[Z0,b,$APP.Ck,d,$APP.Hm,$APP.Hm.i(e),p0,p0.i(e),$0,$APP.ne(function(h){return new $APP.P(null,3,[$APP.Hm,$APP.Hm.i(h),p0,p0.i(h),$APP.el,$APP.Ec(f,$APP.Ym.i(h),V0(q0.j(h,0)))],null)},a)],null)}return null},b1=function(a){var b=$APP.k(a,"tooltip"),c=$APP.k(a,"crosshair");a=$APP.k(a,"dots");$APP.n(b)&&b.setAttribute("data-visible","false");$APP.n(c)&&c.setAttribute("visibility","hidden");if($APP.n(a))for(b=0;;)if(b<8)c=a[b],$APP.n(c)&&c.setAttribute("visibility",
19
+ "hidden"),b+=1;else return null;else return null},c1=function(a,b,c){return $APP.va(function(d,e){var f=$APP.Hm.i(e)-b,h=p0.i(e)-c;f=f*f+h*h;return d==null||f<$APP.qn.i(d)?$APP.Ai.m(e,$APP.qn,f):d},null,a)},d1=function(a,b,c,d,e,f,h,l,m,q,r){$APP.B.j(h,"none")||(b.addEventListener("pointermove",function(v){var w=b.getBoundingClientRect(),y=v.clientX-w.x;v=v.clientY-w.y;$APP.B.j(h,"x")?y=i0(c,y):(y=c1(c,y,v),y=$APP.n(y)?new $APP.N(null,1,5,$APP.O,[y],null):null);v=y;y=$APP.u(v);if($APP.n(y)){if($APP.n(l)&&
20
+ (w=a1(v,m,q,r),v=$APP.k(d,"tooltip"),$APP.n($APP.n(v)?w:v))){var A=$APP.H(w),D=$APP.C(A,Z0),G=$APP.C(A,$APP.Ck);w=$APP.C(A,$APP.Hm);var I=$APP.C(A,p0);A=$APP.C(A,$0);var J=$APP.k(d,"tooltip-header"),K=$APP.k(d,"tooltip-body"),ba=$APP.k(d,"tooltip-rows"),ia=$APP.k(d,"dots"),Ba=$APP.k(d,"crosshair");$APP.n(J)&&(J.textContent=D);if($APP.n($APP.n(K)?ba:K))for(D=0;;)if(D<8){K=ba[D];if($APP.n(K))if(J=$APP.Dc(G,D,null),$APP.n(J)){K.setAttribute("data-hidden","false");K=K.firstChild;var La=$APP.n(K)?K.nextSibling:
21
+ null,Ta=$APP.n(La)?La.nextSibling:null;$APP.n(K)&&(K.style.backgroundColor=$APP.el.i(J));$APP.n(La)&&(La.textContent=$APP.X.i(J));$APP.n(Ta)&&(Ta.textContent=$APP.Fh.i(J))}else K.setAttribute("data-hidden","true");D+=1}else break;if($APP.n(ia))for(G=0;;)if(G<8)ba=ia[G],$APP.n(ba)&&(D=$APP.Dc(A,G,null),$APP.n(D)?($APP.Zg(ba,"cx",""+$APP.R.i($APP.Hm.i(D))),$APP.Zg(ba,"cy",""+$APP.R.i(p0.i(D))),$APP.Zg(ba,"fill",$APP.el.i(D)),ba.setAttribute("visibility","visible")):ba.setAttribute("visibility","hidden")),
22
+ G+=1;else break;$APP.n(Ba)&&Ba.setAttribute("visibility","visible");$APP.n(Ba)&&$APP.Zg(Ba,"x1",""+$APP.R.i(w));$APP.n(Ba)&&$APP.Zg(Ba,"x2",""+$APP.R.i(w));v.setAttribute("data-visible","true");A=v.offsetWidth;ia=v.offsetHeight;I=I+ia+8>f?I-ia-8:I-4;w=new $APP.P(null,2,[$APP.aj,$APP.Ci.j(8,$APP.Di.j(w+A+12+8>e?w-A-12:w+12,e-A-8)),$APP.Dj,$APP.Ci.j(8,$APP.Di.j(I,f-ia-8))],null);I=$APP.H(w);w=$APP.C(I,$APP.aj);I=$APP.C(I,$APP.Dj);v.style.left=""+$APP.R.i(w)+"px";v.style.top=""+$APP.R.i(I)+"px"}return $APP.ah(a,
23
+ "x-chart-hover",{seriesId:$APP.Ym.i(y),index:r0.i(y),x:$APP.kn.i(y),y:$APP.jn.i(y),value:$APP.jn.i(y)})}return null}),b.addEventListener("pointerleave",function(){return $APP.n(l)?b1(d):null}),b.addEventListener("click",function(v){var w=b.getBoundingClientRect();v=c1(c,v.clientX-w.x,v.clientY-w.y);return $APP.n(v)?$APP.ah(a,"x-chart-select",{seriesId:$APP.Ym.i(v),index:r0.i(v),x:$APP.kn.i(v),y:$APP.jn.i(v),value:$APP.jn.i(v)}):null}))},e1=function(a,b){b.addEventListener("keydown",function(c){var d=
24
+ c.key,e=S0(a),f=$APP.H(e);e=$APP.C(f,H0);var h=$APP.C(f,$APP.Y),l=$APP.C(f,$APP.El);f=$APP.C(f,J0);if($APP.p(h)&&$APP.M(f,"none")&&$APP.t(e)){var m=$APP.Ee(e);if(l==null)return $APP.n(function(){var v=new $APP.Q(null,new $APP.P(null,4,["ArrowUp",null,"ArrowDown",null,"ArrowRight",null,"ArrowLeft",null],null),null);return v.i?v.i(d):v.call(null,d)}())?(c.preventDefault(),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i($APP.u(m)))+":0")):null;f=$APP.z(m);var q=function(){var v=$APP.u($_(function(w,y){return $APP.B.j($APP.Ym.i(y),
25
+ P0.i(l))?w:null},m));return $APP.n(v)?v:0}();h=$APP.sc(m,q);var r=$APP.z($APP.oj.i(h));e=$APP.sj.i(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.Di.j(r-1,e+1),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "ArrowLeft":return c.preventDefault(),c=$APP.Ci.j(0,e-1),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "ArrowDown":return c.preventDefault(),c=$APP.jd(q+1,f),h=$APP.sc(m,c),c=$APP.Di.j(e,$APP.Ci.j(1,$APP.z($APP.oj.i(h)))-1),$APP.Zg(a,
26
+ "selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "ArrowUp":return c.preventDefault(),c=$APP.jd(q+(f-1),f),h=$APP.sc(m,c),c=$APP.Di.j(e,$APP.Ci.j(1,$APP.z($APP.oj.i(h)))-1),$APP.Zg(a,"selected",""+$APP.R.i($APP.Ym.i(h))+":"+$APP.R.i(c));case "Enter":case " ":return c.preventDefault(),c=$APP.Dc($APP.oj.i(h),e,null),$APP.n(c)?$APP.ah(a,"x-chart-select",{seriesId:$APP.Ym.i(h),index:e,x:$APP.kn.i(c),y:$APP.jn.i(c),value:$APP.jn.i(c)}):null;default:return null}}else return null})},g1=function(a,
27
+ b,c,d,e,f){return $APP.Ee($APP.ie(function(h,l){l=s0(h,l,b,c,d,e);return $APP.ee.j(function(m){return $APP.Ai.C(m,$APP.Ym,$APP.Ym.i(h),$APP.xc([$APP.X,$APP.X.i(h),f1,f]))},l)},$APP.xc([a,$APP.mg(0,Number.MAX_VALUE)])))},h1=function(a,b,c,d,e,f,h,l){switch(e){case "bar":a:{e=$APP.H(f);l=$APP.C(e,l0);e=$APP.C(e,n0);f=$APP.z(c);l=f===0?0:(e-l)/f;e=l*.08;h=(l-e*2)/h;b*=h;c=$APP.t(c);f=null;for(var m=0,q=0;;)if(q<m){var r=f.G(null,q),v=$APP.Hm.i(r)+-(l/2)+e+b,w=$APP.Di.j(p0.i(r),f1.i(r));r=Math.abs(p0.i(r)-
28
+ f1.i(r));var y=t0("rect");$APP.Zg(y,"x",""+$APP.R.i(v));$APP.Zg(y,"y",""+$APP.R.i(w));$APP.Zg(y,"width",""+$APP.R.i($APP.Ci.j(1,h)));$APP.Zg(y,"height",""+$APP.R.i($APP.Ci.j(0,r)));y.setAttribute("fill",d);y.setAttribute("rx","2");a.appendChild(y);q+=1}else if(c=$APP.t(c))$APP.Rc(c)?(r=$APP.yb(c),c=$APP.zb(c),f=r,m=r=$APP.z(r)):(r=$APP.u(c),f=$APP.Hm.i(r)+-(l/2)+e+b,m=$APP.Di.j(p0.i(r),f1.i(r)),r=Math.abs(p0.i(r)-f1.i(r)),q=t0("rect"),$APP.Zg(q,"x",""+$APP.R.i(f)),$APP.Zg(q,"y",""+$APP.R.i(m)),$APP.Zg(q,
29
+ "width",""+$APP.R.i($APP.Ci.j(1,h))),$APP.Zg(q,"height",""+$APP.R.i($APP.Ci.j(0,r))),q.setAttribute("fill",d),q.setAttribute("rx","2"),a.appendChild(q),c=$APP.x(c),f=null,m=0),q=0;else{a=null;break a}a=void 0}return a;case "area":return $APP.t(c)?(e=W0(c),h=$APP.Ac(c),b=$APP.u(c),l=""+$APP.R.i(e)+" L "+$APP.R.i($APP.Hm.i(h))+","+$APP.R.i(l)+" L "+$APP.R.i($APP.Hm.i(b))+","+$APP.R.i(l)+" Z"):l=null,$APP.n(l)&&(e=t0("path"),e.setAttribute("d",l),e.setAttribute("fill",d),e.setAttribute("fill-opacity",
30
+ "0.18"),e.setAttribute("stroke",d),e.setAttribute("stroke-width","2"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("stroke-linecap","round"),a.appendChild(e)),Y0(a,c,d);default:return Y0(a,c,d)}},i1=function(a,b,c,d,e,f){var h=$APP.z(c);$APP.ng($APP.ae(function(l,m){var q=function(){var r=$APP.el.i(m);return $APP.n(r)?r:V0(l)}();return h1(a,l,$APP.ke(function(r){return $APP.B.j($APP.Ym.i(r),$APP.Ym.i(m))},d),q,b,e,h,f)},c))},j1=function(a){var b=$APP.H(a),c=$APP.C(b,$APP.El),d=$APP.C(b,
31
+ H0);a=$APP.C(b,I0);b=$APP.C(b,K0);var e=""+$APP.R.i($APP.z(d))+" series chart";if($APP.n($APP.n(c)?$APP.t(d):c)){d=$APP.u($APP.ke(function(h){return $APP.B.j($APP.Ym.i(h),P0.i(c))},d));var f=$APP.n(d)?$APP.Dc($APP.oj.i(d),$APP.sj.i(c),null):null;return $APP.n($APP.n(d)?f:d)?""+$APP.R.i($APP.X.i(d))+" "+$APP.R.i(h0($APP.jn.i(f),a))+" at "+$APP.R.i(typeof $APP.kn.i(f)==="string"?$APP.kn.i(f):h0($APP.kn.i(f),b)):e}return e},k1=function(a){var b=$APP.k(a,"__xChartRefs");if($APP.n(b)){var c=$APP.k(b,"svg"),
32
+ d=$APP.k(b,"sr"),e=S0(a),f=$APP.H(e),h=$APP.C(f,$APP.ki),l=$APP.C(f,O0),m=$APP.C(f,N0),q=$APP.C(f,F0),r=$APP.C(f,G0),v=$APP.C(f,H0),w=$APP.C(f,$APP.Oj),y=$APP.C(f,$APP.S),A=$APP.C(f,$APP.ro);f=$APP.k(b,"container");f=$APP.n(f)?f.clientWidth:0;f=f>0?f:400;var D=new $APP.P(null,4,[l0,A+36,m0,A,n0,f-A,o0,h-A-18],null),G=g0(v),I=j0(0,q,m0.i(D),o0.i(D));$APP.Zg(c,"viewBox","0 0 "+$APP.R.i(f)+" "+$APP.R.i(h));$APP.Zg(c,"width",""+$APP.R.i(f));for($APP.Zg(c,"height",""+$APP.R.i(h));;){var J=c.lastChild;
33
+ if($APP.n(J))c.removeChild(J);else break}b.crosshair=null;b.dots=null;if(!$APP.n(w)){m=g1(v,m,G,D,q,I);if($APP.n(l))a:{l=$APP.H(e);var K=$APP.C(l,M0);l=$APP.C(l,F0);var ba=$APP.H(D);q=$APP.C(ba,l0);G=$APP.C(ba,m0);J=$APP.C(ba,n0);ba=$APP.C(ba,o0);K=$APP.t(K);for(var ia=null,Ba=0,La=0;;)if(La<Ba){var Ta=ia.G(null,La);Ta=j0(Ta,l,G,ba);Ta=T0(q,Ta,J,Ta);c.appendChild(Ta);La+=1}else if(K=$APP.t(K))$APP.Rc(K)?(Ba=$APP.yb(K),K=$APP.zb(K),ia=Ba,Ba=$APP.z(Ba)):(Ta=$APP.u(K),ia=j0(Ta,l,G,ba),ia=T0(q,ia,J,ia),
34
+ c.appendChild(ia),K=$APP.x(K),ia=null,Ba=0),La=0;else break a}i1(c,y,v,m,D,I);$APP.n(r)&&X0(c,e,D,A);y=$APP.H(D);r=$APP.C(y,l0);v=$APP.C(y,m0);y=$APP.C(y,o0);A=t0("line");$APP.Zg(A,"x1",""+$APP.R.i(r));$APP.Zg(A,"y1",""+$APP.R.i(v));$APP.Zg(A,"x2",""+$APP.R.i(r));$APP.Zg(A,"y2",""+$APP.R.i(y));A.setAttribute("stroke","var(--x-chart-crosshair-color)");A.setAttribute("stroke-width","var(--x-chart-crosshair-width)");A.setAttribute("visibility","hidden");c.appendChild(A);b.crosshair=A;r=Array(8);for(v=
35
+ 0;;)if(v<8)y=t0("circle"),$APP.Zg(y,"r",""+$APP.R.i(4)),y.setAttribute("stroke","var(--x-chart-tooltip-bg)"),y.setAttribute("stroke-width","2"),y.setAttribute("visibility","hidden"),c.appendChild(y),r[v]=y,v+=1;else break;b.dots=r;y=$APP.H(D);D=$APP.C(y,l0);r=$APP.C(y,m0);v=$APP.C(y,n0);y=$APP.C(y,o0);A=t0("rect");$APP.Zg(A,"x",""+$APP.R.i(D));$APP.Zg(A,"y",""+$APP.R.i(r));$APP.Zg(A,"width",""+$APP.R.i($APP.Ci.j(0,v-D)));$APP.Zg(A,"height",""+$APP.R.i($APP.Ci.j(0,y-r)));A.setAttribute("fill","transparent");
36
+ A.setAttribute("style","cursor:crosshair;");$APP.n($APP.Y.i(e))||d1(a,A,m,b,f,h,J0.i(e),L0.i(e),K0.i(e),I0.i(e),H0.i(e));c.appendChild(A);d.textContent=j1(e)}return $APP.n(w)?b1(b):null}return null},l1=function(){var a=document.createElement("div"),b=document.createElement("span"),c=document.createElement("span"),d=document.createElement("span");a.setAttribute("part","tooltip-row");a.setAttribute("data-hidden","true");b.setAttribute("part","tooltip-swatch");c.setAttribute("part","tooltip-label");
37
+ d.setAttribute("part","tooltip-value");a.appendChild(b);a.appendChild(c);a.appendChild(d);return a},m1=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=t0("svg"),f=document.createElement("div"),h=document.createElement("div"),l=document.createElement("div"),m=document.createElement("div"),q=Array(8);c.textContent=":host{display:block;color-scheme:light dark;contain:content;--x-chart-series-1:rgba(0,102,204,0.95);--x-chart-series-2:rgba(16,140,72,0.95);--x-chart-series-3:rgba(190,20,40,0.95);--x-chart-series-4:rgba(204,120,0,0.95);--x-chart-border:var(--x-color-border,rgba(0,0,0,0.1));--x-chart-grid:var(--x-color-border,rgba(0,0,0,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-skeleton:linear-gradient(90deg,rgba(0,0,0,0.06) 25%,rgba(0,0,0,0.03) 50%,rgba(0,0,0,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(255,255,255,0.96));--x-chart-tooltip-border:var(--x-color-border,rgba(0,0,0,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.14));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(0,102,204,0.55));--x-chart-radius:var(--x-radius-md,0.75rem);--x-chart-tooltip-radius:var(--x-radius-sm,0.5rem);--x-chart-tooltip-padding:0.45rem 0.7rem;--x-chart-tooltip-font-size:0.8125rem;--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(0,0,0,0.65));--x-chart-tooltip-value-color:var(--x-color-text,rgba(0,0,0,0.9));--x-chart-tooltip-swatch-size:8px;--x-chart-tooltip-gap:0.35rem;--x-chart-crosshair-color:var(--x-color-border,rgba(0,0,0,0.18));--x-chart-crosshair-width:1;}@media(prefers-color-scheme:dark){:host{--x-chart-series-1:rgba(120,190,255,0.95);--x-chart-series-2:rgba(80,230,150,0.92);--x-chart-series-3:rgba(255,100,110,0.93);--x-chart-series-4:rgba(255,190,60,0.93);--x-chart-border:var(--x-color-border,rgba(255,255,255,0.1));--x-chart-grid:var(--x-color-border,rgba(255,255,255,0.08));--x-chart-axis-label:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-skeleton:linear-gradient(90deg,rgba(255,255,255,0.06) 25%,rgba(255,255,255,0.03) 50%,rgba(255,255,255,0.06) 75%);--x-chart-tooltip-bg:var(--x-color-bg,rgba(30,30,35,0.97));--x-chart-tooltip-border:var(--x-color-border,rgba(255,255,255,0.12));--x-chart-tooltip-shadow:var(--x-shadow-md,0 4px 20px rgba(0,0,0,0.45));--x-chart-focus-ring:var(--x-color-focus-ring,rgba(120,190,255,0.55));--x-chart-tooltip-header-color:var(--x-color-text-muted,rgba(255,255,255,0.45));--x-chart-tooltip-label-color:var(--x-color-text-muted,rgba(255,255,255,0.6));--x-chart-tooltip-value-color:var(--x-color-text,rgba(255,255,255,0.9));--x-chart-crosshair-color:var(--x-color-border,rgba(255,255,255,0.2));}}[part\x3dcontainer]{position:relative;border:1px solid var(--x-chart-border);border-radius:var(--x-chart-radius);overflow:hidden;outline:none;}[part\x3dcontainer]:focus-visible{box-shadow:0 0 0 3px var(--x-chart-focus-ring);}[part\x3dsvg]{display:block;width:100%;height:auto;overflow:visible;}:host([loading]) [part\x3dcontainer]{background:var(--x-chart-skeleton);background-size:200% 100%;animation:x-chart-shimmer 1.4s ease infinite;}@keyframes x-chart-shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}@media(prefers-reduced-motion:reduce){:host([loading]) [part\x3dcontainer]{animation:none;}}[part\x3dsr-only]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dtooltip]{visibility:hidden;opacity:0;position:absolute;pointer-events:none;background:var(--x-chart-tooltip-bg);border:1px solid var(--x-chart-tooltip-border);box-shadow:var(--x-chart-tooltip-shadow);border-radius:var(--x-chart-tooltip-radius);padding:var(--x-chart-tooltip-padding);font-size:var(--x-chart-tooltip-font-size);line-height:1.5;white-space:nowrap;z-index:10;}[part\x3dtooltip][data-visible\x3dtrue]{visibility:visible;opacity:1;}@media(prefers-reduced-motion:no-preference){[part\x3dtooltip]{transition:opacity 0.1s ease,left 0.08s ease,top 0.08s ease;}}[part\x3dtooltip-header]{font-size:0.75rem;color:var(--x-chart-tooltip-header-color);margin-bottom:0.25rem;}[part\x3dtooltip-body]{display:flex;flex-direction:column;gap:var(--x-chart-tooltip-gap);}[part\x3dtooltip-row]{display:flex;align-items:center;gap:0.4rem;}[part\x3dtooltip-row][data-hidden\x3dtrue]{display:none;}[part\x3dtooltip-swatch]{display:inline-block;width:var(--x-chart-tooltip-swatch-size);height:var(--x-chart-tooltip-swatch-size);border-radius:50%;flex-shrink:0;}[part\x3dtooltip-label]{color:var(--x-chart-tooltip-label-color);}[part\x3dtooltip-value]{color:var(--x-chart-tooltip-value-color);font-weight:600;margin-left:auto;padding-left:0.5rem;}";
38
+ 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=l1();m.appendChild(v);q[r]=v;r+=1}else break;h.appendChild(l);h.appendChild(m);d.appendChild(e);d.appendChild(f);d.appendChild(h);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.container=d;c.svg=e;c.sr=f;c.tooltip=h;c["tooltip-header"]=l;c["tooltip-body"]=m;c["tooltip-rows"]=q;c.crosshair=null;c.dots=null;a.__xChartRefs=c;b=new ResizeObserver(function(){return k1(a)});b.observe(d);$APP.k(a,"__xChartRefs").ro=b;e1(a,d)},aaa=function(a){$APP.n($APP.k(a,"__xChartRefs"))||m1(a);return k1(a)},
40
+ baa=function(a){a=$APP.k(a,"__xChartRefs");return $APP.n(a)?(a=$APP.k(a,"ro"),$APP.n(a)?a.disconnect():null):null},caa=function(a){return $APP.n($APP.k(a,"__xChartRefs"))?k1(a):null},n1=function(a,b,c,d){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return b0(this.getAttribute(c),d)},set:function(e){return e!=null?this.setAttribute(c,""+$APP.R.i(e|0)):this.removeAttribute(c)}})},daa=function(a){return Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){var b=
41
+ $APP.k(this,"__xChartData");if($APP.n(b))return b;b=this.getAttribute("data");return d0(b)},set:function(b){this.__xChartData=b;return $APP.n($APP.na(b))?this.setAttribute("data",JSON.stringify(b)):this.removeAttribute("data")}})},eaa=function(a){$APP.eh(a,"type","type");$APP.eh(a,"cursor","cursor");$APP.eh(a,"selected","selected");n1(a,"height","height",180);n1(a,"padding","padding",12);$APP.ch(a,"grid","grid");$APP.ch(a,"axes","axes");$APP.ch(a,"tooltip","tooltip");$APP.ch(a,"disabled","disabled");
42
+ $APP.ch(a,"loading","loading");return daa(a)},o1=function(){return $APP.Wg("x-chart",new $APP.P(null,5,[$APP.Mg,faa,$APP.Ng,aaa,$APP.Og,baa,$APP.Qg,caa,$APP.Ug,eaa],null))},Z0=new $APP.F(null,"x-label","x-label",802517907),$0=new $APP.F(null,"dot-pts","dot-pts",1732240900),C0=new $APP.F(null,"loading-present?","loading-present?",-1827648748),x0=new $APP.F(null,"y-format-raw","y-format-raw",-1098541692),z0=new $APP.F(null,"axes-raw","axes-raw",-839946224),f1=new $APP.F(null,"y0-baseline","y0-baseline",
43
+ 613579610),F0=new $APP.F(null,"y-domain","y-domain",-969203007),N0=new $APP.F(null,"x-kind","x-kind",693167455),A0=new $APP.F(null,"height-raw","height-raw",-867301006),u0=new $APP.F(null,"selected-raw","selected-raw",-1471626848),H0=new $APP.F(null,"series","series",600710694),D0=new $APP.F(null,"data-raw","data-raw",822066711),L0=new $APP.F(null,"tooltip?","tooltip?",-642753154),P0=new $APP.F(null,"series-id","series-id",226875035),K0=new $APP.F(null,"x-fmt","x-fmt",2073358008),v0=new $APP.F(null,
44
+ "padding-raw","padding-raw",-847772255),p0=new $APP.F(null,"py","py",1397985916),p1=new $APP.F(null,"seriesId","seriesId",-2105489435),E0=new $APP.F(null,"x-format-raw","x-format-raw",-1683657190),G0=new $APP.F(null,"axes?","axes?",1786285669),O0=new $APP.F(null,"grid?","grid?",-288406689),B0=new $APP.F(null,"cursor-raw","cursor-raw",-1169819084),J0=new $APP.F(null,"cursor","cursor",1011937484),w0=new $APP.F(null,"tooltip-present?","tooltip-present?",-2098824029),I0=new $APP.F(null,"y-fmt","y-fmt",
45
+ 2092412811),m0=new $APP.F(null,"y0","y0",111454807),o0=new $APP.F(null,"y1","y1",589123466),r0=new $APP.F(null,"i","i",-1386841315),n0=new $APP.F(null,"x1","x1",-1863922247),l0=new $APP.F(null,"x0","x0",410843387),q0=new $APP.F(null,"si","si",793409822),M0=new $APP.F(null,"y-ticks","y-ticks",-843622722),y0=new $APP.F(null,"grid-present?","grid-present?",-468948562);var faa="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),R0=new $APP.Q(null,new $APP.P(null,3,["bar",null,"area",null,"line",null],null),null),Q0=new $APP.Q(null,new $APP.P(null,3,["none",null,"x",null,"nearest",null],null),null);
46
+ $APP.Hf([$APP.El,$APP.fl,new $APP.F(null,"axes","axes",1970866440),new $APP.F(null,"grid","grid",402978600),J0,$APP.S,$APP.Xm,$APP.ro,new $APP.F(null,"tooltip","tooltip",-1809677058),$APP.ki,$APP.oj],[new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"selected"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"disabled"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"axes"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"grid"],null),new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"cursor"],null),new $APP.P(null,2,[$APP.S,
47
+ $APP.V,$APP.T,"type"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"loading"],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.T,"padding"],null),new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"tooltip"],null),new $APP.P(null,2,[$APP.S,$APP.W,$APP.T,"height"],null),new $APP.P(null,1,[$APP.S,$APP.dk],null)]);
48
+ $APP.Ud(["x-chart-select",new $APP.P(null,2,[$APP.Un,!1,$APP.Z,new $APP.P(null,5,[p1,$APP.V,$APP.sj,$APP.W,$APP.kn,$APP.W,$APP.jn,$APP.W,$APP.Fh,$APP.W],null)],null),"x-chart-hover",new $APP.P(null,2,[$APP.Un,!1,$APP.Z,new $APP.P(null,5,[p1,$APP.V,$APP.sj,$APP.W,$APP.kn,$APP.W,$APP.jn,$APP.W,$APP.Fh,$APP.W],null)],null)]);$APP.da("baredom.exports.x_chart.init",o1);export const init=o1;