@vanelsas/baredom 2.5.0 → 2.6.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.
- package/CHANGELOG.md +14 -0
- package/README.md +11 -296
- package/custom-elements.json +36 -1
- package/dist/base.js +38 -38
- package/dist/integrity.json +93 -93
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.js +10 -10
- package/dist/x-avatar.js +13 -13
- package/dist/x-badge.js +11 -11
- package/dist/x-bento-grid.js +5 -5
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +14 -14
- package/dist/x-button.js +15 -15
- package/dist/x-cancel-dialogue.js +12 -12
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +28 -28
- package/dist/x-chart.js +46 -46
- package/dist/x-checkbox.js +11 -11
- package/dist/x-chip.js +8 -8
- package/dist/x-collapse.js +10 -10
- package/dist/x-color-picker.js +40 -40
- package/dist/x-combobox.d.ts +1 -0
- package/dist/x-combobox.js +25 -25
- package/dist/x-command-palette.js +24 -24
- package/dist/x-container.js +6 -6
- package/dist/x-context-menu.js +18 -18
- package/dist/x-copy.js +20 -20
- package/dist/x-currency-field.d.ts +1 -0
- package/dist/x-currency-field.js +23 -22
- package/dist/x-date-picker.js +37 -37
- package/dist/x-divider.js +8 -8
- package/dist/x-drawer.js +11 -11
- package/dist/x-dropdown.js +9 -9
- package/dist/x-fieldset.js +5 -5
- package/dist/x-file-download.js +7 -7
- package/dist/x-file-upload.js +22 -22
- package/dist/x-form-field.js +15 -15
- package/dist/x-form.js +9 -9
- package/dist/x-gaussian-blur.js +16 -16
- package/dist/x-grid.js +6 -6
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +18 -18
- package/dist/x-kinetic-font.js +28 -28
- package/dist/x-kinetic-typography.js +37 -37
- package/dist/x-liquid-dock.js +35 -35
- package/dist/x-liquid-fill.js +40 -40
- package/dist/x-liquid-glass.js +35 -35
- package/dist/x-menu-item.js +10 -10
- package/dist/x-menu.js +10 -10
- package/dist/x-metaball-cursor.js +25 -25
- package/dist/x-modal.js +11 -11
- package/dist/x-morph-stack.js +39 -39
- package/dist/x-navbar.js +12 -12
- package/dist/x-neural-glow.js +30 -30
- package/dist/x-notification-center.js +10 -10
- package/dist/x-organic-divider.js +15 -15
- package/dist/x-organic-progress.js +35 -35
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-pagination.d.ts +2 -1
- package/dist/x-pagination.js +17 -16
- package/dist/x-particle-button.js +46 -46
- package/dist/x-popover.js +23 -23
- package/dist/x-progress-circle.js +7 -7
- package/dist/x-progress.js +7 -7
- package/dist/x-radio.js +11 -11
- package/dist/x-ripple-effect.js +11 -11
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.js +18 -18
- package/dist/x-scroll-story.js +33 -33
- package/dist/x-scroll-timeline.js +44 -44
- package/dist/x-scroll.js +39 -39
- package/dist/x-search-field.js +15 -15
- package/dist/x-select.d.ts +1 -0
- package/dist/x-select.js +10 -10
- package/dist/x-sidebar.js +16 -16
- package/dist/x-skeleton-group.js +13 -13
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.d.ts +1 -0
- package/dist/x-slider.js +18 -16
- package/dist/x-soft-body.js +20 -20
- package/dist/x-spacer.js +5 -5
- package/dist/x-spinner.js +5 -5
- package/dist/x-splash.js +13 -13
- package/dist/x-stat.js +9 -9
- package/dist/x-stepper.js +14 -14
- package/dist/x-switch.js +10 -10
- package/dist/x-tab.js +7 -7
- package/dist/x-table-cell.js +19 -19
- package/dist/x-table-row.js +10 -10
- package/dist/x-table.js +13 -13
- package/dist/x-tabs.d.ts +1 -0
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.d.ts +1 -0
- package/dist/x-text-area.js +20 -18
- package/dist/x-theme.js +24 -24
- package/dist/x-timeline-item.js +19 -19
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.js +21 -21
- package/dist/x-toaster.js +8 -8
- package/dist/x-tooltip.js +12 -12
- package/dist/x-typography.js +8 -8
- package/dist/x-welcome-tour.js +58 -58
- package/package.json +6 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
"string")l=(l=$APP.N(h,""))?h:l;return $APP.n(l)?l:"Keep editing"}(),
|
|
2
|
+
var sC=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.Gi);var c=$APP.D(b,$APP.Ol),d=$APP.D(b,jC),e=$APP.D(b,kC),g=$APP.D(b,lC),h=$APP.D(b,mC);b=$APP.D(b,nC);return new $APP.Q(null,7,[$APP.Om,$APP.F(a),$APP.X,$APP.F(c),oC,function(){var l;if(l=typeof d==="string")l=(l=$APP.N(d,""))?d:l;return $APP.n(l)?l:"Discard changes?"}(),$APP.Bk,typeof e==="string"&&$APP.N(e,"")?e:null,pC,function(){var l;if(l=typeof g==="string")l=(l=$APP.N(g,""))?g:l;return $APP.n(l)?l:"Discard"}(),qC,function(){var l;if(l=typeof h===
|
|
3
|
+
"string")l=(l=$APP.N(h,""))?h:l;return $APP.n(l)?l:"Keep editing"}(),rC,$APP.F(b)],null)},tC=function(a){return document.createElement(a)},vC=function(a){var b=$APP.k(a,"__xCancelDialogueRefs");if($APP.n(b))return b;b=$APP.k(uC,"n")+1;uC.n=b;b="x-cd-headline-"+$APP.T.g(b);var c=a.attachShadow({mode:"open"}),d=tC("style"),e=tC("div"),g=tC("div"),h=tC("div"),l=tC("div"),m=tC("h2"),p=tC("div"),q=tC("slot"),v=tC("p"),x=tC("div"),y=tC("button"),A=tC("button");d.textContent=":host{display:contents;color-scheme:light dark;--x-cancel-dialogue-z-base:1000;--x-cancel-dialogue-backdrop-bg:rgba(0,0,0,0.45);--x-cancel-dialogue-bg:var(--x-color-bg,#ffffff);--x-cancel-dialogue-fg:var(--x-color-text,#0f172a);--x-cancel-dialogue-radius:var(--x-radius-lg,12px);--x-cancel-dialogue-shadow:var(--x-shadow-lg,0 20px 60px rgba(0,0,0,0.20),0 4px 12px rgba(0,0,0,0.10));--x-cancel-dialogue-padding:24px;--x-cancel-dialogue-min-width:min(320px,calc(100vw - 2rem));--x-cancel-dialogue-max-width:min(480px,calc(100vw - 2rem));--x-cancel-dialogue-headline-size:1.125rem;--x-cancel-dialogue-headline-weight:700;--x-cancel-dialogue-message-size:0.9375rem;--x-cancel-dialogue-cancel-bg:var(--x-color-surface-active,#f1f5f9);--x-cancel-dialogue-cancel-fg:var(--x-color-text,#0f172a);--x-cancel-dialogue-cancel-bg-hover:var(--x-color-surface-active,#e2e8f0);--x-cancel-dialogue-confirm-bg:var(--x-color-primary,#2563eb);--x-cancel-dialogue-confirm-fg:#ffffff;--x-cancel-dialogue-confirm-bg-hover:var(--x-color-primary-hover,#1d4ed8);--x-cancel-dialogue-danger-bg:var(--x-color-danger,#dc2626);--x-cancel-dialogue-danger-fg:#ffffff;--x-cancel-dialogue-danger-bg-hover:#b91c1c;--x-cancel-dialogue-btn-radius:var(--x-radius-md,8px);--x-cancel-dialogue-btn-height:2.5rem;--x-cancel-dialogue-btn-font-size:0.9375rem;--x-cancel-dialogue-btn-font-weight:600;--x-cancel-dialogue-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-cancel-dialogue-enter-duration:0ms;--x-cancel-dialogue-exit-duration:0ms;}@media (prefers-color-scheme:dark){:host{--x-cancel-dialogue-bg:var(--x-color-bg,#1e293b);--x-cancel-dialogue-fg:var(--x-color-text,#f1f5f9);--x-cancel-dialogue-backdrop-bg:rgba(0,0,0,0.60);--x-cancel-dialogue-shadow:0 20px 60px rgba(0,0,0,0.55),0 4px 12px rgba(0,0,0,0.30);--x-cancel-dialogue-cancel-bg:var(--x-color-text-muted,#334155);--x-cancel-dialogue-cancel-fg:var(--x-color-text,#f1f5f9);--x-cancel-dialogue-cancel-bg-hover:var(--x-color-border,#475569);--x-cancel-dialogue-confirm-bg:var(--x-color-primary,#3b82f6);--x-cancel-dialogue-confirm-bg-hover:var(--x-color-primary-hover,#2563eb);--x-cancel-dialogue-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dbackdrop]{display:none;position:fixed;inset:0;background:var(--x-cancel-dialogue-backdrop-bg);z-index:var(--x-cancel-dialogue-z-base,1000);}[part\x3ddialog]{display:none;position:fixed;inset:0;align-items:center;justify-content:center;z-index:calc(var(--x-cancel-dialogue-z-base,1000) + 1);padding:16px;box-sizing:border-box;}:host([open]) [part\x3dbackdrop]{display:block;}:host([open]) [part\x3ddialog]{display:flex;}[part\x3dpanel]{background:var(--x-cancel-dialogue-bg);color:var(--x-cancel-dialogue-fg);border-radius:var(--x-cancel-dialogue-radius);box-shadow:var(--x-cancel-dialogue-shadow);padding:var(--x-cancel-dialogue-padding);min-width:var(--x-cancel-dialogue-min-width);max-width:var(--x-cancel-dialogue-max-width);width:100%;box-sizing:border-box;display:flex;flex-direction:column;gap:16px;}[part\x3dheader]{display:flex;align-items:flex-start;}[part\x3dheadline]{margin:0;font-size:var(--x-cancel-dialogue-headline-size);font-weight:var(--x-cancel-dialogue-headline-weight);line-height:1.3;}[part\x3dbody]{display:flex;flex-direction:column;gap:8px;}[part\x3dmessage]{font-size:var(--x-cancel-dialogue-message-size);line-height:1.5;margin:0;opacity:0.8;}[part\x3dactions]{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;}[part\x3dcancel-btn],[part\x3dconfirm-btn]{all:unset;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 20px;min-height:var(--x-cancel-dialogue-btn-height);border-radius:var(--x-cancel-dialogue-btn-radius);font-size:var(--x-cancel-dialogue-btn-font-size);font-weight:var(--x-cancel-dialogue-btn-font-weight);cursor:pointer;user-select:none;white-space:nowrap;}[part\x3dcancel-btn]{background:var(--x-cancel-dialogue-cancel-bg);color:var(--x-cancel-dialogue-cancel-fg);}[part\x3dcancel-btn]:hover:not(:disabled){background:var(--x-cancel-dialogue-cancel-bg-hover);}[part\x3dconfirm-btn]{background:var(--x-cancel-dialogue-confirm-bg);color:var(--x-cancel-dialogue-confirm-fg);}[part\x3dconfirm-btn]:hover:not(:disabled){background:var(--x-cancel-dialogue-confirm-bg-hover);}[part\x3dconfirm-btn][data-danger]{background:var(--x-cancel-dialogue-danger-bg);color:var(--x-cancel-dialogue-danger-fg);}[part\x3dconfirm-btn][data-danger]:hover:not(:disabled){background:var(--x-cancel-dialogue-danger-bg-hover);}[part\x3dcancel-btn]:focus-visible,[part\x3dconfirm-btn]:focus-visible{outline:2px solid var(--x-cancel-dialogue-focus-ring);outline-offset:2px;}:host([disabled]) [part\x3dcancel-btn],:host([disabled]) [part\x3dconfirm-btn]{opacity:0.55;pointer-events:none;cursor:default;}@media (prefers-reduced-motion:reduce){[part\x3dbackdrop],[part\x3ddialog],[part\x3dpanel]{transition:none;animation:none;}}";
|
|
4
4
|
e.setAttribute("part","backdrop");g.setAttribute("part","dialog");g.setAttribute("role","dialog");g.setAttribute("aria-modal","true");g.setAttribute("aria-labelledby",b);h.setAttribute("part","panel");l.setAttribute("part","header");m.setAttribute("part","headline");m.setAttribute("id",b);p.setAttribute("part","body");q.setAttribute("name","body");v.setAttribute("part","message");x.setAttribute("part","actions");y.setAttribute("part","cancel-btn");y.setAttribute("type","button");A.setAttribute("part",
|
|
5
|
-
"confirm-btn");A.setAttribute("type","button");l.appendChild(m);p.appendChild(q);p.appendChild(v);x.appendChild(y);x.appendChild(A);h.appendChild(l);h.appendChild(p);h.appendChild(x);g.appendChild(h);c.appendChild(d);c.appendChild(e);c.appendChild(g);a.__xCancelDialogueRefs={headline:m,confirmBtn:A,panel:h,bodySlot:q,root:c,dialog:g,backdrop:e,cancelBtn:y,message:v};return $APP.k(a,"__xCancelDialogueRefs")},
|
|
6
|
-
return b},
|
|
7
|
-
{},!0);$APP.n(b.defaultPrevented)||(
|
|
8
|
-
|
|
9
|
-
v=$APP.k(v,"confirmBtn");var x=p.shiftKey,y=a.shadowRoot.activeElement;$APP.n($APP.n(x)?$APP.B.i(y,q):x)?(p.preventDefault(),v.focus()):$APP.r(x)&&$APP.B.i(y,v)&&(p.preventDefault(),q.focus())}return null}function c(){return
|
|
10
|
-
m.addEventListener("keydown",b);$APP.ja(a,"__xCancelDialogueHandlers",{backdrop:e,cancel:d,confirm:c,keydown:b})},
|
|
11
|
-
l);$APP.n(m)&&g.removeEventListener("click",m);$APP.n(b)&&c.removeEventListener("keydown",b)}a.__xCancelDialogueHandlers=null},
|
|
5
|
+
"confirm-btn");A.setAttribute("type","button");l.appendChild(m);p.appendChild(q);p.appendChild(v);x.appendChild(y);x.appendChild(A);h.appendChild(l);h.appendChild(p);h.appendChild(x);g.appendChild(h);c.appendChild(d);c.appendChild(e);c.appendChild(g);a.__xCancelDialogueRefs={headline:m,confirmBtn:A,panel:h,bodySlot:q,root:c,dialog:g,backdrop:e,cancelBtn:y,message:v};return $APP.k(a,"__xCancelDialogueRefs")},wC=function(a,b,c,d){b=new CustomEvent(b,{detail:c,bubbles:!0,composed:!0,cancelable:d});a.dispatchEvent(b);
|
|
6
|
+
return b},xC=function(a){$APP.n(a.hasAttribute("open"))||a.setAttribute("open","");a=vC(a);var b=$APP.k(a,"confirmBtn");setTimeout(function(){return b.focus()},0);return null},yC=function(a){a.removeAttribute("open");return null},zC=function(a,b){$APP.n(a.hasAttribute("disabled"))||(b=wC(a,"x-cancel-dialogue-cancel-request",{reason:b},!0),$APP.n(b.defaultPrevented)||(yC(a),wC(a,"x-cancel-dialogue-cancel",{},!1)));return null},AC=function(a){if(!$APP.n(a.hasAttribute("disabled"))){var b=wC(a,"x-cancel-dialogue-confirm-request",
|
|
7
|
+
{},!0);$APP.n(b.defaultPrevented)||(yC(a),wC(a,"x-cancel-dialogue-confirm",{},!1))}return null},BC=function(a){var b=vC(a),c=$APP.k(b,"headline"),d=$APP.k(b,"message"),e=$APP.k(b,"cancelBtn"),g=$APP.k(b,"confirmBtn");a=sC(new $APP.Q(null,7,[$APP.Gi,a.hasAttribute("open"),$APP.Ol,a.hasAttribute("disabled"),jC,a.getAttribute("headline"),kC,a.getAttribute("message"),lC,a.getAttribute("confirm-text"),mC,a.getAttribute("cancel-text"),nC,a.hasAttribute("danger")],null));c.textContent=oC.g(a);e.textContent=
|
|
8
|
+
qC.g(a);g.textContent=pC.g(a);$APP.n($APP.Bk.g(a))?(d.textContent=$APP.Bk.g(a),d.style.display="block"):(d.textContent="",d.style.display="none");$APP.n(rC.g(a))?g.setAttribute("data-danger",""):g.removeAttribute("data-danger");e.disabled=$APP.F($APP.X.g(a));g.disabled=$APP.F($APP.X.g(a));$APP.k(b,"dialog").setAttribute("aria-modal","true")},CC=function(a){function b(p){var q=p.key;if($APP.B.i(q,"Escape"))p.preventDefault(),zC(a,"escape");else if($APP.B.i(q,"Tab")){var v=vC(a);q=$APP.k(v,"cancelBtn");
|
|
9
|
+
v=$APP.k(v,"confirmBtn");var x=p.shiftKey,y=a.shadowRoot.activeElement;$APP.n($APP.n(x)?$APP.B.i(y,q):x)?(p.preventDefault(),v.focus()):$APP.r(x)&&$APP.B.i(y,v)&&(p.preventDefault(),q.focus())}return null}function c(){return AC(a)}function d(){return zC(a,"cancel-button")}function e(){return zC(a,"backdrop")}var g=vC(a),h=$APP.k(g,"cancelBtn"),l=$APP.k(g,"confirmBtn"),m=$APP.k(g,"dialog");$APP.k(g,"backdrop").addEventListener("click",e);h.addEventListener("click",d);l.addEventListener("click",c);
|
|
10
|
+
m.addEventListener("keydown",b);$APP.ja(a,"__xCancelDialogueHandlers",{backdrop:e,cancel:d,confirm:c,keydown:b})},DC=function(a){var b=$APP.k(a,"__xCancelDialogueHandlers"),c=$APP.k(a,"__xCancelDialogueRefs");if($APP.n($APP.n(b)?c:b)){var d=$APP.k(c,"backdrop"),e=$APP.k(c,"cancelBtn"),g=$APP.k(c,"confirmBtn");c=$APP.k(c,"dialog");var h=$APP.k(b,"backdrop"),l=$APP.k(b,"cancel"),m=$APP.k(b,"confirm");b=$APP.k(b,"keydown");$APP.n(h)&&d.removeEventListener("click",h);$APP.n(l)&&e.removeEventListener("click",
|
|
11
|
+
l);$APP.n(m)&&g.removeEventListener("click",m);$APP.n(b)&&c.removeEventListener("keydown",b)}a.__xCancelDialogueHandlers=null},EC=function(a,b,c,d){if($APP.N(c,d)&&(BC(a),$APP.B.i(b,"open")&&d!=null&&c==null)){a=$APP.k(a,"__xCancelDialogueRefs");var e=$APP.n(a)?$APP.k(a,"confirmBtn"):null;$APP.n(e)&&setTimeout(function(){return e.focus()},0)}return null},FC=function(a){Object.defineProperty(a,"open",{get:function(){return this.hasAttribute("open")},set:function(q){return $APP.n(q)?xC(this):yC(this)},
|
|
12
12
|
enumerable:!0,configurable:!0});for(var b=$APP.t(new $APP.O(null,2,5,$APP.P,[new $APP.O(null,2,5,$APP.P,["disabled","disabled"],null),new $APP.O(null,2,5,$APP.P,["danger","danger"],null)],null)),c=null,d=0,e=0;;)if(e<d){var g=c.F(null,e),h=$APP.Ac(g,0,null),l=$APP.Ac(g,1,null);Object.defineProperty(a,h,{get:function(q,v,x,y,A,C,E){return function(){return this.hasAttribute(E)}}(b,c,d,e,g,h,l),set:function(q,v,x,y,A,C,E){return function(H){return $APP.n(H)?this.setAttribute(E,""):this.removeAttribute(E)}}(b,
|
|
13
13
|
c,d,e,g,h,l),enumerable:!0,configurable:!0});e+=1}else if(h=$APP.t(b)){g=h;if($APP.Nc(g))b=$APP.yb(g),e=$APP.zb(g),c=b,d=$APP.z(b),b=e;else{l=$APP.u(g);var m=$APP.Ac(l,0,null),p=$APP.Ac(l,1,null);Object.defineProperty(a,m,{get:function(q,v,x,y,A,C,E){return function(){return this.hasAttribute(E)}}(b,c,d,e,l,m,p,g,h),set:function(q,v,x,y,A,C,E){return function(H){return $APP.n(H)?this.setAttribute(E,""):this.removeAttribute(E)}}(b,c,d,e,l,m,p,g,h),enumerable:!0,configurable:!0});b=$APP.w(g);c=null;
|
|
14
14
|
d=0}e=0}else break;b=$APP.t(new $APP.O(null,4,5,$APP.P,[new $APP.O(null,2,5,$APP.P,["headline","headline"],null),new $APP.O(null,2,5,$APP.P,["message","message"],null),new $APP.O(null,2,5,$APP.P,["confirmText","confirm-text"],null),new $APP.O(null,2,5,$APP.P,["cancelText","cancel-text"],null)],null));c=null;for(e=d=0;;)if(e<d)g=c.F(null,e),h=$APP.Ac(g,0,null),l=$APP.Ac(g,1,null),Object.defineProperty(a,h,{get:function(q,v,x,y,A,C,E){return function(){return this.getAttribute(E)}}(b,c,d,e,g,h,l),set:function(q,
|
|
15
15
|
v,x,y,A,C,E){return function(H){return H==null?this.removeAttribute(E):this.setAttribute(E,""+$APP.T.g(H))}}(b,c,d,e,g,h,l),enumerable:!0,configurable:!0}),e+=1;else if(h=$APP.t(b))g=h,$APP.Nc(g)?(b=$APP.yb(g),e=$APP.zb(g),c=b,d=$APP.z(b),b=e):(l=$APP.u(g),m=$APP.Ac(l,0,null),p=$APP.Ac(l,1,null),Object.defineProperty(a,m,{get:function(q,v,x,y,A,C,E){return function(){return this.getAttribute(E)}}(b,c,d,e,l,m,p,g,h),set:function(q,v,x,y,A,C,E){return function(H){return H==null?this.removeAttribute(E):
|
|
16
|
-
this.setAttribute(E,""+$APP.T.g(H))}}(b,c,d,e,l,m,p,g,h),enumerable:!0,configurable:!0}),b=$APP.w(g),c=null,d=0),e=0;else break;Object.defineProperty(a,"close",{value:function(){return
|
|
17
|
-
class extends HTMLElement{};a.observedAttributes=
|
|
18
|
-
"cancel-text","cancel-text",1885137831),
|
|
16
|
+
this.setAttribute(E,""+$APP.T.g(H))}}(b,c,d,e,l,m,p,g,h),enumerable:!0,configurable:!0}),b=$APP.w(g),c=null,d=0),e=0;else break;Object.defineProperty(a,"close",{value:function(){return yC(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"confirm",{value:function(){return AC(this)},enumerable:!0,configurable:!0,writable:!0});Object.defineProperty(a,"cancel",{value:function(q){return zC(this,$APP.n(q)?q:"cancel-button")},enumerable:!0,configurable:!0,writable:!0})},HC=function(){var a=
|
|
17
|
+
class extends HTMLElement{};a.observedAttributes=GC;a.prototype.connectedCallback=function(){vC(this);DC(this);CC(this);BC(this);return null};a.prototype.disconnectedCallback=function(){DC(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){return EC(this,b,c,d)};FC(a.prototype);return a},IC=function(){$APP.n(customElements.get("x-cancel-dialogue"))||customElements.define("x-cancel-dialogue",HC());return null},oC=new $APP.K(null,"headline","headline",-157157727),qC=new $APP.K(null,
|
|
18
|
+
"cancel-text","cancel-text",1885137831),mC=new $APP.K(null,"cancel-text-raw","cancel-text-raw",615622099),pC=new $APP.K(null,"confirm-text","confirm-text",-1839494031),kC=new $APP.K(null,"message-raw","message-raw",952235685),jC=new $APP.K(null,"headline-raw","headline-raw",1141142757),rC=new $APP.K(null,"danger?","danger?",181682216),lC=new $APP.K(null,"confirm-text-raw","confirm-text-raw",-1317418708),nC=new $APP.K(null,"danger-present?","danger-present?",-439648505);var GC="open disabled headline message confirm-text cancel-text danger".split(" ");$APP.Pd(["x-cancel-dialogue-cancel-request",new $APP.Q(null,2,[$APP.lm,!0,$APP.V,new $APP.Q(null,1,[$APP.Qi,$APP.Y],null)],null),"x-cancel-dialogue-cancel",new $APP.Q(null,2,[$APP.lm,!1,$APP.V,$APP.Qd],null),"x-cancel-dialogue-confirm-request",new $APP.Q(null,2,[$APP.lm,!0,$APP.V,$APP.Qd],null),"x-cancel-dialogue-confirm",new $APP.Q(null,2,[$APP.lm,!1,$APP.V,$APP.Qd],null)]);var uC={n:0};$APP.ha("baredom.exports.x_cancel_dialogue.init",IC);export const init=IC;
|
package/dist/x-card.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
6,[$APP.Vg,a.getAttribute("variant"),$APP.
|
|
4
|
-
"__x_card_base");
|
|
5
|
-
$APP.B.i(d,"Spacebar"))return b.preventDefault(),
|
|
6
|
-
"disabled",{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")}})},
|
|
7
|
-
var d=document.createElement("div");d.setAttribute("part","base");d.className="base";var e=document.createElement("slot");d.appendChild(e);b.appendChild(c);b.appendChild(d);this.__x_card_root=b;this.__x_card_style=c;this.__x_card_base=d;this.__x_card_slot=e;
|
|
8
|
-
function(){return $APP.n(customElements.get("x-card"))?null:customElements.define("x-card",
|
|
2
|
+
var QH=function(a,b,c){return $APP.I(b,a)?a:c},VH=function(a){var b=$APP.M(a),c=$APP.D(b,$APP.Vg),d=$APP.D(b,$APP.Nm),e=$APP.D(b,$APP.Tm),g=$APP.D(b,$APP.lj);a=$APP.D(b,$APP.Pj);b=$APP.D(b,$APP.U);c=QH(c,RH,"elevated");d=QH(d,SH,"md");e=QH(e,TH,"lg");g=$APP.F(g);a=$APP.F(a);b=typeof b==="string"&&$APP.N("",b)?b:null;return $APP.zf([$APP.di,$APP.Nk,$APP.Pj,$APP.Vg,$APP.lj,$APP.Tm,$APP.Nm,UH,$APP.Ql],[g?"button":null,g&&a?"-1":g?"0":null,a,c,g,e,d,a?"true":null,b])},WH=function(a){return new $APP.Q(null,
|
|
3
|
+
6,[$APP.Vg,a.getAttribute("variant"),$APP.Nm,a.getAttribute("padding"),$APP.Tm,a.getAttribute("radius"),$APP.lj,a.hasAttribute("interactive"),$APP.Pj,a.hasAttribute("disabled"),$APP.U,a.getAttribute("label")],null)},XH=function(a){var b=$APP.lj.g(a);return $APP.n(b)?$APP.r($APP.Pj.g(a)):b},YH=function(a){return a.dispatchEvent(new CustomEvent("press",{detail:{},bubbles:!0,composed:!0}))},ZH=function(a,b,c){return c!=null?a.setAttribute(b,c):a.removeAttribute(b)},$H=function(a){var b=VH(WH(a)),c=$APP.k(a,
|
|
4
|
+
"__x_card_base");ZH(a,"role",$APP.di.g(b));ZH(a,"tabindex",$APP.Nk.g(b));ZH(a,"aria-label",$APP.Ql.g(b));ZH(a,"aria-disabled",UH.g(b));c.setAttribute("data-variant",$APP.Vg.g(b));c.setAttribute("data-padding",$APP.Nm.g(b));c.setAttribute("data-radius",$APP.Tm.g(b));ZH(c,"data-interactive",$APP.n($APP.lj.g(b))?"true":null);return ZH(c,"data-disabled",$APP.n($APP.Pj.g(b))?"true":null)},aI=function(a,b){var c=VH(WH(a)),d=b.key;if($APP.n(XH(c))){if($APP.B.i(d,"Enter"))return YH(a);if($APP.B.i(d," ")||
|
|
5
|
+
$APP.B.i(d,"Spacebar"))return b.preventDefault(),YH(a)}return null},bI=function(a){a.addEventListener("click",function(){var b=VH(WH(a));return $APP.n(XH(b))?YH(a):null});a.addEventListener("keydown",function(b){return aI(a,b)})},cI=function(a){Object.defineProperty(a.prototype,"interactive",{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("interactive")},set:function(b){return $APP.n(b)?this.setAttribute("interactive",""):this.removeAttribute("interactive")}});Object.defineProperty(a.prototype,
|
|
6
|
+
"disabled",{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")}})},eI=function(){var a=class extends HTMLElement{};a.observedAttributes=dI;a.prototype.connectedCallback=function(){if(!$APP.Dg(this,"__x_card_initialized")){var b=this.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent="\n :host {\n display: block;\n color-scheme: light dark;\n\n --x-card-background: var(--x-color-surface, rgba(255, 255, 255, 0.92));\n --x-card-color: var(--x-color-text, #111827);\n --x-card-border-color: var(--x-color-border, rgba(17, 24, 39, 0.12));\n --x-card-filled-background: rgba(241, 245, 249, 0.96);\n --x-card-ghost-background: transparent;\n --x-card-hover-background: rgba(15, 23, 42, 0.04);\n --x-card-press-background: rgba(15, 23, 42, 0.08);\n --x-card-shadow: var(--x-shadow-md, 0 10px 24px rgba(15, 23, 42, 0.10));\n --x-card-focus-ring: var(--x-color-focus-ring, rgba(59, 130, 246, 0.55));\n --x-card-disabled-opacity: 0.6;\n\n --x-card-padding-none: 0;\n --x-card-padding-sm: 0.5rem;\n --x-card-padding-md: 1rem;\n --x-card-padding-lg: 1.5rem;\n\n --x-card-radius-none: 0;\n --x-card-radius-sm: var(--x-radius-sm, 0.375rem);\n --x-card-radius-md: var(--x-radius-md, 0.75rem);\n --x-card-radius-lg: var(--x-radius-lg, 1rem);\n --x-card-radius-xl: 1.5rem;\n\n --x-card-transition-duration: var(--x-transition-duration, 140ms);\n --x-card-transition-timing: ease;\n\n outline: none;\n }\n\n @media (prefers-color-scheme: dark) {\n :host {\n --x-card-background: var(--x-color-surface, rgba(15, 23, 42, 0.88));\n --x-card-color: var(--x-color-text, #e5e7eb);\n --x-card-border-color: var(--x-color-border, rgba(148, 163, 184, 0.24));\n --x-card-filled-background: rgba(30, 41, 59, 0.96);\n --x-card-hover-background: rgba(148, 163, 184, 0.10);\n --x-card-press-background: rgba(148, 163, 184, 0.16);\n --x-card-shadow: var(--x-shadow-md, 0 16px 32px rgba(0, 0, 0, 0.32));\n --x-card-focus-ring: var(--x-color-focus-ring, rgba(96, 165, 250, 0.6));\n }\n }\n\n .base {\n box-sizing: border-box;\n display: block;\n min-width: 0;\n background: var(--x-card-background);\n color: var(--x-card-color);\n border: 1px solid transparent;\n border-radius: var(--x-card-radius-lg);\n transition:\n background var(--x-card-transition-duration) var(--x-card-transition-timing),\n box-shadow var(--x-card-transition-duration) var(--x-card-transition-timing),\n border-color var(--x-card-transition-duration) var(--x-card-transition-timing),\n transform var(--x-card-transition-duration) var(--x-card-transition-timing);\n }\n\n .base[data-variant\x3d'elevated'] {\n background: var(--x-card-background);\n box-shadow: var(--x-card-shadow);\n }\n\n .base[data-variant\x3d'outlined'] {\n background: var(--x-card-background);\n border-color: var(--x-card-border-color);\n box-shadow: none;\n }\n\n .base[data-variant\x3d'filled'] {\n background: var(--x-card-filled-background);\n box-shadow: none;\n }\n\n .base[data-variant\x3d'ghost'] {\n background: var(--x-card-ghost-background);\n box-shadow: none;\n }\n\n .base[data-padding\x3d'none'] { padding: var(--x-card-padding-none); }\n .base[data-padding\x3d'sm'] { padding: var(--x-card-padding-sm); }\n .base[data-padding\x3d'md'] { padding: var(--x-card-padding-md); }\n .base[data-padding\x3d'lg'] { padding: var(--x-card-padding-lg); }\n\n .base[data-radius\x3d'none'] { border-radius: var(--x-card-radius-none); }\n .base[data-radius\x3d'sm'] { border-radius: var(--x-card-radius-sm); }\n .base[data-radius\x3d'md'] { border-radius: var(--x-card-radius-md); }\n .base[data-radius\x3d'lg'] { border-radius: var(--x-card-radius-lg); }\n .base[data-radius\x3d'xl'] { border-radius: var(--x-card-radius-xl); }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']) {\n cursor: pointer;\n }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']):hover {\n background: var(--x-card-hover-background);\n }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']):active {\n background: var(--x-card-press-background);\n transform: translateY(1px);\n }\n\n .base[data-disabled\x3d'true'] {\n opacity: var(--x-card-disabled-opacity);\n cursor: default;\n transform: none;\n }\n\n :host(:focus-visible) .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']) {\n box-shadow:\n 0 0 0 3px var(--x-card-focus-ring),\n var(--x-card-shadow);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .base {\n transition: none;\n }\n\n .base[data-interactive\x3d'true']:not([data-disabled\x3d'true']):active {\n transform: none;\n }\n }\n ";
|
|
7
|
+
var d=document.createElement("div");d.setAttribute("part","base");d.className="base";var e=document.createElement("slot");d.appendChild(e);b.appendChild(c);b.appendChild(d);this.__x_card_root=b;this.__x_card_style=c;this.__x_card_base=d;this.__x_card_slot=e;bI(this);this.__x_card_initialized=!0}$H(this);return this};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=function(){return $APP.Dg(this,"__x_card_initialized")?$H(this):null};cI(a);return a},fI=
|
|
8
|
+
function(){return $APP.n(customElements.get("x-card"))?null:customElements.define("x-card",eI())},UH=new $APP.K(null,"aria-disabled","aria-disabled",-667357160);var dI="variant padding radius interactive disabled label".split(" "),RH=new $APP.S(null,new $APP.Q(null,4,["outlined",null,"elevated",null,"filled",null,"ghost",null],null),null),SH=new $APP.S(null,new $APP.Q(null,4,["none",null,"md",null,"lg",null,"sm",null],null),null),TH=new $APP.S(null,new $APP.Q(null,5,["none",null,"md",null,"lg",null,"xl",null,"sm",null],null),null);$APP.ha("baredom.exports.x_card.init",fI);export const init=fI;
|
package/dist/x-carousel.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
$APP.Uj,
|
|
5
|
-
$APP.D(c,
|
|
6
|
-
"__xCarouselPaused")))?(c=$APP.r($APP.X.g(b)))?(c=
|
|
7
|
-
q=$APP.tj.g(b),v=$APP.bj.g(b),x=$APP.B.i(q,"vertical");a.setAttribute("data-direction",q);a.setAttribute("data-transition",p);a.setAttribute("role","region");a.setAttribute("aria-roledescription","carousel");var y=$APP.
|
|
8
|
-
$APP.T.g(p)+"("+$APP.T.g(l*-100)+"%)":d.style.transform="translate"+$APP.T.g(p)+"(calc("+$APP.T.g(l*-1)+" * (100% - "+$APP.T.g(v)+" * 2) + "+$APP.T.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",p+=1;else break;v=$APP.M(b);d=$APP.D(v,
|
|
9
|
-
$APP.n($APP.n(d)?v>1:d)?(e.style.display="flex",g.style.display="flex",q=$APP.M(b),d=$APP.D(q,$APP.$h),v=$APP.D(q,$APP.
|
|
2
|
+
var Bw=function(a){return a==null?!0:$APP.N((""+$APP.T.g(a)).trim().toLowerCase(),"false")},Cw=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.r(isNaN(a))&&a>=0?a:0):0},Dw=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),$APP.r(isNaN(a))&&a>=100?a:5E3):5E3},Fw=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(Ew,a)?a:"slide"):"slide"},Hw=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(Gw,a)?a:"horizontal"):"horizontal"},
|
|
3
|
+
Jw=function(a){var b=(b=typeof a==="string")?Iw.test(a.trim()):b;return $APP.n(b)?a.trim():"0px"},Kw=function(a,b){return b<=0?0:a<0?0:a>=b?b-1:a},Mw=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.$h);var c=$APP.D(b,$APP.wl);b=$APP.D(b,Lw);var d=a+1;return d>=b?$APP.n(c)?0:a:d},Nw=function(a){var b=$APP.M(a);a=$APP.D(b,$APP.$h);var c=$APP.D(b,$APP.wl);b=$APP.D(b,Lw);var d=a-1;return d<0?$APP.n(c)?b-1:a:d},Vw=function(a){var b=$APP.k(a,"__xCarouselSlideCount");a=$APP.zf([$APP.Ol,Lw,Ow,Pw,$APP.em,Qw,$APP.bi,
|
|
4
|
+
$APP.Uj,Rw,$APP.Xm,$APP.Zi,Sw],[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.Uj);b=$APP.D(c,Rw);var d=$APP.D(c,$APP.bi),e=$APP.D(c,$APP.Xm),g=$APP.D(c,$APP.Zi),h=$APP.D(c,Sw),l=$APP.D(c,$APP.Ol),m=$APP.D(c,Lw),p=
|
|
5
|
+
$APP.D(c,Ow),q=$APP.D(c,Pw),v=$APP.D(c,$APP.em);c=$APP.D(c,Qw);m=$APP.n(m)?m:0;e=Kw(Cw(e),m);return $APP.zf([Tw,Uw,$APP.Xk,Lw,$APP.$h,$APP.wl,$APP.Yk,$APP.Ql,$APP.bj,$APP.X,$APP.tj,$APP.Ni],[Bw(q),Fw(p),Bw(h),m,e,$APP.F(c),Dw(d),$APP.Lg(a)?a:null,Jw(v),$APP.F(l),Hw(g),$APP.F(b)])},Ww=function(a){var b=$APP.k(a,"__xCarouselAutoTimer");$APP.n(b)&&(clearInterval(b),a.__xCarouselAutoTimer=null)},Yw=function(a){Ww(a);var b=Vw(a);$APP.n(function(){var c=$APP.Ni.g(b);return $APP.n(c)?(c=$APP.r($APP.k(a,
|
|
6
|
+
"__xCarouselPaused")))?(c=$APP.r($APP.X.g(b)))?(c=Lw.g(b)>1)?a.isConnected:c:c:c:c}())&&$APP.Cg(a,"__xCarouselAutoTimer",setInterval(function(){if($APP.n(a.isConnected)){var c=Vw(a);c=Mw(c);return Xw.m?Xw.m(a,c,"autoplay"):Xw.call(null,a,c,"autoplay")}return null},$APP.Yk.g(b)))},Zw=function(a){if($APP.Dg(a,"__xCarouselInit")){var b=Vw(a),c=$APP.k(a,"__xCarouselRefs"),d=$APP.k(c,"track"),e=$APP.k(c,"prev"),g=$APP.k(c,"next"),h=$APP.k(c,"dots");c=$APP.k(c,"live");var l=$APP.$h.g(b),m=Lw.g(b),p=Uw.g(b),
|
|
7
|
+
q=$APP.tj.g(b),v=$APP.bj.g(b),x=$APP.B.i(q,"vertical");a.setAttribute("data-direction",q);a.setAttribute("data-transition",p);a.setAttribute("role","region");a.setAttribute("aria-roledescription","carousel");var y=$APP.Ql.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",q);a.style.setProperty("--_peek",v);if($APP.B.i(p,"slide"))for(p=x?"Y":"X",$APP.B.i(v,"0px")?d.style.transform="translate"+
|
|
8
|
+
$APP.T.g(p)+"("+$APP.T.g(l*-100)+"%)":d.style.transform="translate"+$APP.T.g(p)+"(calc("+$APP.T.g(l*-1)+" * (100% - "+$APP.T.g(v)+" * 2) + "+$APP.T.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",p+=1;else break;v=$APP.M(b);d=$APP.D(v,Tw);v=$APP.D(v,Lw);
|
|
9
|
+
$APP.n($APP.n(d)?v>1:d)?(e.style.display="flex",g.style.display="flex",q=$APP.M(b),d=$APP.D(q,$APP.$h),v=$APP.D(q,$APP.wl),p=$APP.D(q,Lw),q=$APP.D(q,$APP.X),d=(q=$APP.r(q))?(p=p>1)?$APP.n(v)?v:d>0:p:q,e.disabled=$APP.r(d),p=$APP.M(b),e=$APP.D(p,$APP.$h),d=$APP.D(p,$APP.wl),v=$APP.D(p,Lw),p=$APP.D(p,$APP.X),e=(p=$APP.r(p))?(p=v>1)?$APP.n(d)?d:e<v-1:p:p,g.disabled=$APP.r(e)):(e.style.display="none",g.style.display="none");e=$APP.M(b);g=$APP.D(e,$APP.Xk);e=$APP.D(e,Lw);if($APP.n($APP.n(g)?e>1:g)){h.style.display=
|
|
10
10
|
"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.T.g(g+1)),e.setAttribute("data-index",""+$APP.T.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],e.setAttribute("aria-current",""+$APP.T.g($APP.B.i(g,l))),e.setAttribute("aria-selected",
|
|
11
|
-
""+$APP.T.g($APP.B.i(g,l))),g+=1;else break}else h.style.display="none";m>0&&(c.textContent="Slide "+$APP.T.g(l+1)+" of "+$APP.T.g(m));$APP.n($APP.Ni.g(b))?c.setAttribute("aria-live","off"):c.setAttribute("aria-live","polite")}},
|
|
12
|
-
return null},
|
|
13
|
-
|
|
14
|
-
$APP.B.i(aa,"Home")?(J.preventDefault(),
|
|
15
|
-
switch(
|
|
16
|
-
$APP.T.g(aa)+"(calc("+$APP.T.g(Pa*-100)+"% + "+$APP.T.g(la)+"px))":Ca.style.transform="translate"+$APP.T.g(aa)+"(calc("+$APP.T.g(Pa*-1)+" * (100% - "+$APP.T.g(
|
|
17
|
-
!0;a.__xCarouselDragStart=
|
|
18
|
-
h);C.addEventListener("slotchange",g);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.Cg(a,"__xCarouselHandlers",{next:h,up:q,slot:g,dot:m,key:p,prev:l,focusin:c,leave:d,move:v,down:x,enter:e,focusout:b})},
|
|
11
|
+
""+$APP.T.g($APP.B.i(g,l))),g+=1;else break}else h.style.display="none";m>0&&(c.textContent="Slide "+$APP.T.g(l+1)+" of "+$APP.T.g(m));$APP.n($APP.Ni.g(b))?c.setAttribute("aria-live","off"):c.setAttribute("aria-live","polite")}},Xw=function(a,b,c){var d=Vw(a),e=Lw.g(d);b=Kw(b,e);d=$APP.$h.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,cancelable:!0}),$APP.n(a.dispatchEvent(c))&&a.setAttribute("current",""+$APP.T.g(b)));
|
|
12
|
+
return null},ex=function(a){function b(J){$APP.n(a.contains(J.relatedTarget))||(a.__xCarouselPaused=!1,Yw(a));return null}function c(){a.__xCarouselPaused=!0;Ww(a);return null}function d(){a.__xCarouselPaused=!1;Yw(a);return null}function e(){a.__xCarouselPaused=!0;Ww(a);return null}function g(){var J=$APP.k($APP.k(a,"__xCarouselRefs"),"slot").assignedElements().length;a.__xCarouselSlideCount=J;var R=Vw(a);J=Kw($APP.$h.g(R),J);$APP.N(J,$APP.$h.g(R))&&a.setAttribute("current",""+$APP.T.g(J));Zw(a);
|
|
13
|
+
Yw(a);return null}function h(){var J=Vw(a);Xw(a,Mw(J),"arrow");return null}function l(){var J=Vw(a);Xw(a,Nw(J),"arrow");return null}function m(J){J=J.target.getAttribute("data-index");$APP.n(J)&&(J=parseInt(J,10),$APP.n(isNaN(J))||Xw(a,J,"dot"));return null}function p(J){var R=Vw(a),aa=J.key,la=$APP.tj.g(R);$APP.r($APP.X.g(R))&&Lw.g(R)>1&&($APP.I($APP.B.i(la,"vertical")?$w:ax,aa)?(J.preventDefault(),Xw(a,Nw(R),"keyboard")):$APP.I($APP.B.i(la,"vertical")?bx:cx,aa)?(J.preventDefault(),Xw(a,Mw(R),"keyboard")):
|
|
14
|
+
$APP.B.i(aa,"Home")?(J.preventDefault(),Xw(a,0,"keyboard")):$APP.B.i(aa,"End")&&(J.preventDefault(),Xw(a,Lw.g(R)-1,"keyboard")));return null}function q(){if($APP.n($APP.k(a,"__xCarouselDragging"))){a.__xCarouselDragging=!1;var J=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),R=$APP.k(a,"__xCarouselDragCurrent")-$APP.k(a,"__xCarouselDragStart"),aa=Date.now()-$APP.k(a,"__xCarouselDragStartT");aa=aa>0?R/aa:0;R=aa>.3?$APP.Nj:aa<-.3?$APP.Tj:R>40?$APP.Nj:R<-40?$APP.Tj:dx;aa=Vw(a);J.classList.remove("dragging");
|
|
15
|
+
switch(R instanceof $APP.K?R.pa:null){case "prev":Xw(a,Nw(aa),"drag");break;case "next":Xw(a,Mw(aa),"drag");break;default:Zw(a)}a.__xCarouselPaused=!1;Yw(a)}return null}function v(J){if($APP.n($APP.k(a,"__xCarouselDragging"))){var R=Vw(a),aa=$APP.B.i($APP.tj.g(R),"vertical");J=aa?J.clientY:J.clientX;var la=J-$APP.k(a,"__xCarouselDragStart"),Ca=$APP.k($APP.k(a,"__xCarouselRefs"),"track"),Pa=$APP.$h.g(R);aa=aa?"Y":"X";R=$APP.bj.g(R);a.__xCarouselDragCurrent=J;$APP.B.i(R,"0px")?Ca.style.transform="translate"+
|
|
16
|
+
$APP.T.g(aa)+"(calc("+$APP.T.g(Pa*-100)+"% + "+$APP.T.g(la)+"px))":Ca.style.transform="translate"+$APP.T.g(aa)+"(calc("+$APP.T.g(Pa*-1)+" * (100% - "+$APP.T.g(R)+" * 2) + "+$APP.T.g(R)+" + "+$APP.T.g(la)+"px))"}return null}function x(J){var R=Vw(a);if($APP.r($APP.X.g(R))&&$APP.B.i(Uw.g(R),"slide")&&Lw.g(R)>1){J.preventDefault();var aa=$APP.k($APP.k(a,"__xCarouselRefs"),"track");R=$APP.B.i($APP.tj.g(R),"vertical")?J.clientY:J.clientX;aa.setPointerCapture(J.pointerId);aa.classList.add("dragging");a.__xCarouselDragging=
|
|
17
|
+
!0;a.__xCarouselDragStart=R;J=Date.now();a.__xCarouselDragStartT=J;a.__xCarouselDragCurrent=R;a.__xCarouselPaused=!0;Ww(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",q);y.addEventListener("keydown",p);G.addEventListener("click",m);E.addEventListener("click",l);H.addEventListener("click",
|
|
18
|
+
h);C.addEventListener("slotchange",g);a.addEventListener("pointerenter",e);a.addEventListener("pointerleave",d);a.addEventListener("focusin",c);a.addEventListener("focusout",b);$APP.Cg(a,"__xCarouselHandlers",{next:h,up:q,slot:g,dot:m,key:p,prev:l,focusin:c,leave:d,move:v,down:x,enter:e,focusout:b})},fx=function(a){Ww(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"),g=$APP.k(c,"prev"),h=$APP.k(c,"next"),l=$APP.k(c,
|
|
19
19
|
"dots");c=$APP.k(c,"viewport");d.removeEventListener("pointerdown",$APP.k(b,"down"));d.removeEventListener("pointermove",$APP.k(b,"move"));d.removeEventListener("pointerup",$APP.k(b,"up"));c.removeEventListener("keydown",$APP.k(b,"key"));l.removeEventListener("click",$APP.k(b,"dot"));g.removeEventListener("click",$APP.k(b,"prev"));h.removeEventListener("click",$APP.k(b,"next"));e.removeEventListener("slotchange",$APP.k(b,"slot"));a.removeEventListener("pointerenter",$APP.k(b,"enter"));a.removeEventListener("pointerleave",
|
|
20
|
-
$APP.k(b,"leave"));a.removeEventListener("focusin",$APP.k(b,"focusin"));a.removeEventListener("focusout",$APP.k(b,"focusout"))}a.__xCarouselHandlers=null},
|
|
20
|
+
$APP.k(b,"leave"));a.removeEventListener("focusin",$APP.k(b,"focusin"));a.removeEventListener("focusout",$APP.k(b,"focusout"))}a.__xCarouselHandlers=null},gx=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,q,v,x){return function(){return this.hasAttribute(x)}}(b,c,d,e,g),set:function(m,p,q,v,x){return function(y){return $APP.n(y)?this.setAttribute(x,""):this.removeAttribute(x)}}(b,
|
|
21
21
|
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.yb(g),e=$APP.zb(g),c=b,d=$APP.z(b),b=e;else{var l=$APP.u(g);Object.defineProperty(a,l,{get:function(m,p,q,v,x){return function(){return this.hasAttribute(x)}}(b,c,d,e,l,g,h),set:function(m,p,q,v,x){return function(y){return $APP.n(y)?this.setAttribute(x,""):this.removeAttribute(x)}}(b,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,
|
|
22
|
-
["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,q,v,x){return function(){return
|
|
23
|
-
c,d,e,l,g,h),set:function(m,p,q,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
|
|
24
|
-
set:function(m){return m==null?this.removeAttribute("interval"):this.setAttribute("interval",""+$APP.T.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"transition",{get:function(){return
|
|
25
|
-
this.setAttribute("direction",""+$APP.T.g(m)):this.removeAttribute("direction")},enumerable:!0,configurable:!0});Object.defineProperty(a,"peek",{get:function(){return
|
|
26
|
-
function(){var m=
|
|
22
|
+
["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,q,v,x){return function(){return Bw(this.getAttribute(x))}}(b,c,d,e,g),set:function(m,p,q,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.yb(g),e=$APP.zb(g),c=b,d=$APP.z(b),b=e):(l=$APP.u(g),Object.defineProperty(a,l,{get:function(m,p,q,v,x){return function(){return Bw(this.getAttribute(x))}}(b,
|
|
23
|
+
c,d,e,l,g,h),set:function(m,p,q,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 Cw(this.getAttribute("current"))},set:function(m){return this.setAttribute("current",""+$APP.T.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"interval",{get:function(){return Dw(this.getAttribute("interval"))},
|
|
24
|
+
set:function(m){return m==null?this.removeAttribute("interval"):this.setAttribute("interval",""+$APP.T.g(m|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"transition",{get:function(){return Fw(this.getAttribute("transition"))},set:function(m){return $APP.n(m)?this.setAttribute("transition",""+$APP.T.g(m)):this.removeAttribute("transition")},enumerable:!0,configurable:!0});Object.defineProperty(a,"direction",{get:function(){return Hw(this.getAttribute("direction"))},set:function(m){return $APP.n(m)?
|
|
25
|
+
this.setAttribute("direction",""+$APP.T.g(m)):this.removeAttribute("direction")},enumerable:!0,configurable:!0});Object.defineProperty(a,"peek",{get:function(){return Jw(this.getAttribute("peek"))},set:function(m){return $APP.n(m)?this.setAttribute("peek",""+$APP.T.g(m)):this.removeAttribute("peek")},enumerable:!0,configurable:!0});Object.defineProperty(a,"slideCount",{get:function(){var m=$APP.k(this,"__xCarouselSlideCount");return $APP.n(m)?m:0},enumerable:!0,configurable:!0});$APP.ja(a,"next",
|
|
26
|
+
function(){var m=Vw(this);return Xw(this,Mw(m),"api")});$APP.ja(a,"previous",function(){var m=Vw(this);return Xw(this,Nw(m),"api")});$APP.ja(a,"goTo",function(m){return Xw(this,m,"api")})},ix=function(){var a=class extends HTMLElement{},b=a.prototype;a.observedAttributes=hx;b.connectedCallback=function(){if(!$APP.Dg(this,"__xCarouselInit")){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div"),g=document.createElement("div"),h=document.createElement("slot"),
|
|
27
27
|
l=document.createElement("button"),m=document.createElement("button"),p=document.createElement("div"),q=document.createElement("div");d.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
28
|
e.setAttribute("part","viewport");e.setAttribute("tabindex","0");g.setAttribute("part","track");g.appendChild(h);l.setAttribute("part","prev-btn");l.setAttribute("type","button");l.setAttribute("aria-label","Previous 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"15 18 9 12 15 6"\x3e\x3c/polyline\x3e\x3c/svg\x3e';m.setAttribute("part","next-btn");m.setAttribute("type",
|
|
29
29
|
"button");m.setAttribute("aria-label","Next slide");m.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';e.appendChild(g);e.appendChild(l);e.appendChild(m);p.setAttribute("part","dots");p.setAttribute("role","tablist");p.setAttribute("aria-label","Slide indicators");q.setAttribute("aria-live","polite");q.setAttribute("aria-atomic",
|
|
30
|
-
"true");q.className="sr-only";c.appendChild(d);c.appendChild(e);c.appendChild(p);c.appendChild(q);this.__xCarouselRefs={root:c,viewport:e,track:g,slot:h,prev:l,next:m,dots:p,live:q};this.__xCarouselInit=!0}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
$APP.zf([new $APP.K(null,"arrows","arrows",-1209622014),new $APP.K(null,"slideCount","slideCount",-1489337180),$APP.Pj,
|
|
34
|
-
[$APP.Z,$APP.Zj],null),new $APP.
|
|
35
|
-
var
|
|
30
|
+
"true");q.className="sr-only";c.appendChild(d);c.appendChild(e);c.appendChild(p);c.appendChild(q);this.__xCarouselRefs={root:c,viewport:e,track:g,slot:h,prev:l,next:m,dots:p,live:q};this.__xCarouselInit=!0}fx(this);ex(this);this.__xCarouselSlideCount=$APP.k($APP.k(this,"__xCarouselRefs"),"slot").assignedElements().length;Zw(this);Yw(this);return null};b.disconnectedCallback=function(){fx(this);return null};b.attributeChangedCallback=function(){$APP.Dg(this,"__xCarouselInit")&&(Zw(this),$APP.n(this.isConnected)&&
|
|
31
|
+
Yw(this));return null};gx(b);return a},jx=function(){$APP.n(customElements.get("x-carousel"))||customElements.define("x-carousel",ix());return null},Pw=new $APP.K(null,"arrows-raw","arrows-raw",-1077955796),Uw=new $APP.K(null,"transition","transition",765692007),Tw=new $APP.K(null,"arrows?","arrows?",-1692502811),Ow=new $APP.K(null,"transition-raw","transition-raw",-1184759092),Rw=new $APP.K(null,"autoplay-present?","autoplay-present?",-1468092647),Lw=new $APP.K(null,"slide-count","slide-count",1368058827),
|
|
32
|
+
Sw=new $APP.K(null,"dots-raw","dots-raw",-1711545603),Qw=new $APP.K(null,"loop-present?","loop-present?",1373422006),dx=new $APP.K(null,"stay","stay",-1240327234);var hx="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.Pj,Uw,$APP.Jm,$APP.Yk,$APP.Hk,$APP.bj,$APP.Vk,new $APP.K(null,"currentSlide","currentSlide",-417438499),$APP.tj],[new $APP.Q(null,1,[$APP.Z,$APP.Zj],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.wk,!0],null),new $APP.Q(null,1,[$APP.Z,$APP.Zj],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.Zj],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,
|
|
34
|
+
[$APP.Z,$APP.Zj],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.Zj],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.ai,$APP.W,$APP.ak,$APP.W,$APP.Qi,$APP.Y],null),$APP.lm,!0],null)]);
|
|
35
|
+
var Ew=new $APP.S(null,new $APP.Q(null,2,["slide",null,"fade",null],null),null),Gw=new $APP.S(null,new $APP.Q(null,2,["vertical",null,"horizontal",null],null),null),Iw=/^\d+(\.\d+)?(px|rem|em|%)$/,ax=new $APP.S(null,new $APP.Q(null,1,["ArrowLeft",null],null),null),cx=new $APP.S(null,new $APP.Q(null,1,["ArrowRight",null],null),null),$w=new $APP.S(null,new $APP.Q(null,1,["ArrowUp",null],null),null),bx=new $APP.S(null,new $APP.Q(null,1,["ArrowDown",null],null),null);$APP.ha("baredom.exports.x_carousel.init",jx);export const init=jx;
|
package/dist/x-chart.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
g(d+1,$APP.Yb(h)))}return null},null)}(0,b)},
|
|
4
|
-
h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.T.g(a.color):h}(),g=a.data;return $APP.n($APP.na(g))?new $APP.
|
|
5
|
-
b!=null?b.constructor===Object:!1;return d?$APP.na(b.data):d}())){var c=
|
|
6
|
-
new $APP.O(null,2,5,$APP.P,[$APP.Jd($APP.
|
|
2
|
+
var DT=function(a){a:for(;;)if(a=$APP.t(a))a=$APP.w(a);else break a},ET=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.yb(h),m=$APP.z(l),p=$APP.ud(m),q=0;;)if(q<m){var v=function(){var x=d+q,y=$APP.yc(l,q);return a.i?a.i(x,y):a.call(null,x,y)}();v!=null&&p.add(v);q+=1}else break;return $APP.xd(p.aa(),g(d+m,$APP.zb(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.Yb(h)):$APP.od(m,
|
|
3
|
+
g(d+1,$APP.Yb(h)))}return null},null)}(0,b)},FT=function(a){return $APP.Bd($APP.Xc(function(b,c){var d=$APP.zl.g?$APP.zl.g(c):$APP.zl.call(null,c);c=$APP.ld.i($APP.Bc(b,d,$APP.fe),c);return $APP.ub(b,d,c)},$APP.rb($APP.Qd),a))},GT=function(a,b){return typeof a==="string"?(a=parseInt(a,10),$APP.r(isNaN(a))&&a>0?a:b):b},HT=function(a,b){var c=function(){var h=a.id;h=$APP.n(h)?""+$APP.T.g(a.id):h;return $APP.n(h)?h:"s"+$APP.T.g(b)}(),d=function(){var h=a.label;h=$APP.n(h)?""+$APP.T.g(a.label):h;return $APP.n(h)?
|
|
4
|
+
h:c}(),e=function(){var h=a.color;return $APP.n(h)?""+$APP.T.g(a.color):h}(),g=a.data;return $APP.n($APP.na(g))?new $APP.Q(null,4,[$APP.zl,c,$APP.U,d,$APP.Oj,e,$APP.Xh,ET(function(h,l){return $APP.n($APP.n(l)?l.x!=null&&l.y!=null:l)?new $APP.Q(null,2,[$APP.Ll,l.x,$APP.Kl,l.y],null):null},$APP.uc(g))],null):null},IT=function(a){if(typeof a!=="string")return $APP.fe;try{var b=JSON.parse(a);if($APP.n($APP.na(b)))return $APP.xe(ET(function(d,e){return HT(e,d)},$APP.uc(b)));if($APP.n(function(){var d=
|
|
5
|
+
b!=null?b.constructor===Object:!1;return d?$APP.na(b.data):d}())){var c=HT(b,0);return $APP.n(c)?new $APP.O(null,1,5,$APP.P,[c],null):$APP.fe}return $APP.fe}catch(d){return $APP.fe}},JT=function(a){a=a==null?null:$APP.u(a);a=a==null?null:$APP.Xh.g(a);a=a==null?null:$APP.u(a);return $APP.n($APP.n(a)?typeof $APP.Ll.g(a)==="string":a)?"category":"numeric"},KT=function(a){a=$APP.be(function(b){return $APP.ae.i($APP.Kl,$APP.Xh.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.ph,a),$APP.Jd($APP.oh,a)],null)},LT=function(a){var b=JT(a);if($APP.B.i(b,"category"))return a=$APP.Kd($APP.oh,0,$APP.ae.i(function(c){return $APP.z($APP.Xh.g(c))},a)),new $APP.O(null,2,5,$APP.P,[0,$APP.oh.i(1,a)-1],null);a=$APP.be(function(c){return $APP.ae.i($APP.Ll,$APP.Xh.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.ph,a),$APP.Jd($APP.oh,a)],null)},MT=function(a,b){return b==null?
|
|
7
7
|
(b=Math.abs(a),b>=1E6?""+$APP.T.g(Math.round(a/1E6))+"M":b>=1E3?""+$APP.T.g(Math.round(a/1E3))+"K":$APP.n(Number.isInteger(a))?""+$APP.T.g(a):a.toFixed(1)):$APP.B.i(b,"int")?""+$APP.T.g(Math.round(a)):$APP.B.i(b,"pct")?""+$APP.T.g(a)+"%":$APP.B.i(b,"abbr")?(b=Math.abs(a),b>=1E9?""+$APP.T.g((a/1E9).toFixed(1))+"B":b>=1E6?""+$APP.T.g((a/1E6).toFixed(1))+"M":b>=1E3?""+$APP.T.g((a/1E3).toFixed(1))+"K":""+$APP.T.g(a)):$APP.B.i(b,"raw")?""+$APP.T.g(a):$APP.n(b.startsWith("fixed:"))?(b=parseInt(b.slice(6),
|
|
8
|
-
10),$APP.n(isNaN(b))?""+$APP.T.g(a):a.toFixed(b)):""+$APP.T.g(a)},
|
|
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,
|
|
10
|
-
$APP.D(b,
|
|
11
|
-
2,[
|
|
12
|
-
A=G}A=void 0}return $APP.zf(y,[E,c,m,b,v,g,q,x,d,a,h,e,A,
|
|
13
|
-
a=""+$APP.T.g(a);e.setAttribute("x1",a);b=""+$APP.T.g(b);e.setAttribute("y1",b);c=""+$APP.T.g(c);e.setAttribute("x2",c);d=""+$APP.T.g(d);e.setAttribute("y2",d);e.setAttribute("stroke","var(--x-chart-grid)");d=""+$APP.T.g(1);e.setAttribute("stroke-opacity",d);e.setAttribute("stroke-width","1");return e},
|
|
14
|
-
"var(--x-chart-axis-label)");e.textContent=c;return e},
|
|
15
|
-
|
|
16
|
-
p=$APP.D(e,
|
|
17
|
-
5)|0);
|
|
18
|
-
1;x=x<=1?(h+m)/2:h+q/(x-1)*(m-h)}else x=
|
|
19
|
-
g=$APP.xc(b);b=$APP.u(b);d=""+$APP.T.g(e)+" L "+$APP.T.g($APP.
|
|
20
|
-
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 q=l.F(null,p),v=$APP.
|
|
21
|
-
(m=$APP.yb(c),c=$APP.zb(c),l=m,m=$APP.z(m)):(q=$APP.u(c),y=$APP.
|
|
22
|
-
$APP.u(a);b=typeof $APP.
|
|
23
|
-
|
|
24
|
-
e){var g=$APP.
|
|
25
|
-
|
|
26
|
-
$APP.n(Ca)&&(Ca.textContent=$APP.U.g(J));$APP.n(Pa)&&(Pa.textContent=$APP.Yi.g(J))}else
|
|
27
|
-
"visible");$APP.n(A)&&(G=""+$APP.T.g(x),A.setAttribute("x1",G));$APP.n(A)&&(G=""+$APP.T.g(x),A.setAttribute("x2",G));v.setAttribute("data-visible","true");A=v.offsetWidth;G=v.offsetHeight;H=H+G+8>g?H-G-8:H-4;x=new $APP.
|
|
28
|
-
index:
|
|
29
|
-
var h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.ok);g=$APP.D(g,
|
|
30
|
-
x:null},m));return $APP.n(v)?v:0}();h=$APP.pc(m,p);var q=$APP.z($APP.Xh.g(h));e=$APP.ai.g(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.
|
|
31
|
-
""+$APP.T.g($APP.
|
|
32
|
-
"container");a=$APP.n(a)?a.clientWidth:0;return a>0?a:400},
|
|
33
|
-
|
|
34
|
-
ea){var ta=function(){var ac=$APP.Oj.g(ea);return $APP.n(ac)?ac:
|
|
35
|
-
"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=
|
|
36
|
-
p.setAttribute("fill","transparent");p.setAttribute("style","cursor:crosshair;");$APP.n(h)||
|
|
37
|
-
" series chart"):d.textContent=""+$APP.T.g($APP.z(y))+" series chart"}return $APP.n(A)?
|
|
38
|
-
return a},
|
|
8
|
+
10),$APP.n(isNaN(b))?""+$APP.T.g(a):a.toFixed(b)):""+$APP.T.g(a)},NT=function(a,b){a=FT(a);return $APP.xe($APP.Yd(function(c){$APP.Ac(c,0,null);c=$APP.Ac(c,1,null);return $APP.Xc(function(d,e){var g=Math.abs($APP.il.g(e)-b);return d==null||g<$APP.Sl.g(d)?$APP.mh.m(e,$APP.Sl,g):d},null,c)},a))},OT=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},mU=function(a){a=$APP.zf([PT,QT,RT,ST,$APP.Ol,TT,UT,VT,WT,XT,$APP.yi,YT,ZT],[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,ZT);var c=
|
|
10
|
+
$APP.D(b,PT),d=$APP.D(b,QT),e=$APP.D(b,RT),g=$APP.D(b,ST),h=$APP.D(b,$APP.Ol),l=$APP.D(b,TT),m=$APP.D(b,UT),p=$APP.D(b,VT),q=$APP.D(b,WT),v=$APP.D(b,XT),x=$APP.D(b,$APP.yi);b=$APP.D(b,YT);b=IT(b);var y=KT(b),A=$APP.Ac(y,0,null),C=$APP.Ac(y,1,null);y=[$T,$APP.ok,aU,bU,$APP.Ci,cU,dU,$APP.Z,$APP.Nm,eU,$APP.X,fU,gU,$APP.Yg,hU,iU];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,[jU,c[0],$APP.ai,H],null);break a}c=null}m=m==null?!0:$APP.Kg(m);v=$APP.Kg(v);q=typeof q==="string"&&$APP.I(kU,q)?q:"nearest";x=typeof x==="string"&&$APP.I(lU,x)?x:"line";d=GT(d,12);h=$APP.Kg(h);e=$APP.Kg(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.fe;;){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,q,x,d,a,h,e,A,GT(p,180),JT(b),l==null?!0:$APP.Kg(l)])},nU=function(a,b,c){return a.dispatchEvent(new CustomEvent(b,{detail:c,bubbles:!0,composed:!0,cancelable:!1}))},oU=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)},pU=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)},qU=function(a,b,c){a.setAttribute(b,c)},rU=function(a,b,c,d){var e=OT("line");
|
|
13
|
+
a=""+$APP.T.g(a);e.setAttribute("x1",a);b=""+$APP.T.g(b);e.setAttribute("y1",b);c=""+$APP.T.g(c);e.setAttribute("x2",c);d=""+$APP.T.g(d);e.setAttribute("y2",d);e.setAttribute("stroke","var(--x-chart-grid)");d=""+$APP.T.g(1);e.setAttribute("stroke-opacity",d);e.setAttribute("stroke-width","1");return e},sU=function(a,b,c,d){var e=OT("text");a=""+$APP.T.g(a);e.setAttribute("x",a);b=""+$APP.T.g(b);e.setAttribute("y",b);e.setAttribute("text-anchor",d);d=""+$APP.T.g(10);e.setAttribute("font-size",d);e.setAttribute("fill",
|
|
14
|
+
"var(--x-chart-axis-label)");e.textContent=c;return e},tU=function(a){return"var(--x-chart-series-"+$APP.T.g($APP.fd(a,4)+1)+")"},vU=function(a){if($APP.t(a)){var b=$APP.t(a);a=$APP.u(b);b=$APP.w(b);return"M "+$APP.T.g($APP.il.g(a))+","+$APP.T.g(uU.g(a))+$APP.T.g($APP.Jd($APP.T,$APP.ae.i(function(c){return" L "+$APP.T.g($APP.il.g(c))+","+$APP.T.g(uU.g(c))},b)))}return null},wU=function(a){for(;;){var b=a.lastChild;if($APP.n(b))a.removeChild(b);else break}},BU=function(a,b,c){b=$APP.M(b);var d=$APP.D(b,
|
|
15
|
+
gU);b=$APP.D(b,$T);var e=$APP.M(c);c=$APP.D(e,xU);var g=$APP.D(e,yU),h=$APP.D(e,zU);e=$APP.D(e,AU);d=$APP.t(d);for(var l=null,m=0,p=0;;)if(p<m){var q=l.F(null,p);q=oU(q,b,g,e);q=rU(c,q,h,q);a.appendChild(q);p+=1}else if(d=$APP.t(d))$APP.Nc(d)?(m=$APP.yb(d),d=$APP.zb(d),l=m,m=$APP.z(m)):(q=$APP.u(d),l=oU(q,b,g,e),l=rU(c,l,h,l),a.appendChild(l),d=$APP.w(d),l=null,m=0),p=0;else break},CU=function(a,b,c,d){var e=$APP.M(b),g=$APP.D(e,gU),h=$APP.D(e,$T);b=$APP.D(e,bU);var l=$APP.D(e,hU),m=$APP.D(e,cU),
|
|
16
|
+
p=$APP.D(e,eU);e=$APP.M(c);var q=$APP.D(e,xU);c=$APP.D(e,yU);var v=$APP.D(e,zU),x=$APP.D(e,AU);g=$APP.t(g);e=null;for(var y=0,A=0;;)if(A<y){var C=e.F(null,A),E=oU(C,h,c,x);C=MT(C,m);E=sU(q-4,E+4,C,"end");a.appendChild(E);A+=1}else if(g=$APP.t(g))$APP.Nc(g)?(y=$APP.yb(g),g=$APP.zb(g),e=y,y=$APP.z(y)):(y=$APP.u(g),e=oU(y,h,c,x),y=MT(y,m),e=sU(q-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.Xh.g(h);m=$APP.z(h);var H=LT(b),G=$APP.oh.i(1,Math.ceil(m/
|
|
17
|
+
5)|0);DT($APP.Wd(function(J,R){if($APP.fd(J,G)===0){if($APP.B.i(l,"category")){var aa=$APP.u($APP.w(H))-$APP.u(H);J=aa<=1?(q+v)/2:q+J/(aa-1)*(v-q)}else J=pU($APP.Ll.g(R),H,q,v);R=$APP.B.i(l,"category")?""+$APP.T.g($APP.Ll.g(R)):MT($APP.Ll.g(R),p);R=sU(J,x+d+4,R,"middle");return a.appendChild(R)}return null},h))}},FU=function(a,b,c,d,e,g){e=$APP.M(e);var h=$APP.D(e,xU),l=$APP.D(e,yU),m=$APP.D(e,zU),p=$APP.D(e,AU);return $APP.Wd(function(q,v){if($APP.B.i(c,"category")){var x=$APP.oh.i(1,$APP.z($APP.Xh.g(a)))-
|
|
18
|
+
1;x=x<=1?(h+m)/2:h+q/(x-1)*(m-h)}else x=pU($APP.Ll.g(v),d,h,m);var y=oU($APP.Kl.g(v),g,l,p);return $APP.mh.C(v,$APP.il,x,$APP.uc([uU,y,DU,b,EU,q]))},$APP.Xh.g(a))},GU=function(a,b,c){b=vU(b);if($APP.n(b)){var d=OT("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","round");return a.appendChild(d)}return null},HU=function(a,b,c,d){if($APP.t(b)){var e=vU(b),
|
|
19
|
+
g=$APP.xc(b);b=$APP.u(b);d=""+$APP.T.g(e)+" L "+$APP.T.g($APP.il.g(g))+","+$APP.T.g(d)+" L "+$APP.T.g($APP.il.g(b))+","+$APP.T.g(d)+" Z"}else d=null;$APP.n(d)&&(e=OT("path"),e.setAttribute("d",d),e.setAttribute("fill",c),e.setAttribute("fill-opacity","0.18"),e.setAttribute("stroke",c),e.setAttribute("stroke-width","2"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("stroke-linecap","round"),a.appendChild(e))},JU=function(a,b,c,d,e,g){var h=$APP.M(e);e=$APP.D(h,xU);h=$APP.D(h,zU);var l=$APP.z(c);
|
|
20
|
+
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 q=l.F(null,p),v=$APP.il.g(q)+-(e/2)+h+b,x=$APP.ph.i(uU.g(q),IU.g(q)),y=Math.abs(uU.g(q)-IU.g(q)),A=q=OT("rect");v=""+$APP.T.g(v);A.setAttribute("x",v);v=q;x=""+$APP.T.g(x);v.setAttribute("y",x);x=q;v=""+$APP.T.g($APP.oh.i(1,g));x.setAttribute("width",v);x=q;y=""+$APP.T.g($APP.oh.i(0,y));x.setAttribute("height",y);q.setAttribute("fill",d);q.setAttribute("rx","2");a.appendChild(q);p+=1}else if(c=$APP.t(c))$APP.Nc(c)?
|
|
21
|
+
(m=$APP.yb(c),c=$APP.zb(c),l=m,m=$APP.z(m)):(q=$APP.u(c),y=$APP.il.g(q)+-(e/2)+h+b,p=$APP.ph.i(uU.g(q),IU.g(q)),m=Math.abs(uU.g(q)-IU.g(q)),q=l=OT("rect"),y=""+$APP.T.g(y),q.setAttribute("x",y),q=l,p=""+$APP.T.g(p),q.setAttribute("y",p),p=l,q=""+$APP.T.g($APP.oh.i(1,g)),p.setAttribute("width",q),p=l,m=""+$APP.T.g($APP.oh.i(0,m)),p.setAttribute("height",m),l.setAttribute("fill",d),l.setAttribute("rx","2"),a.appendChild(l),c=$APP.w(c),l=null,m=0),p=0;else return null},MU=function(a,b,c,d){if($APP.t(a)){var e=
|
|
22
|
+
$APP.u(a);b=typeof $APP.Ll.g(e)==="string"?""+$APP.T.g($APP.Ll.g(e)):MT($APP.Ll.g(e),b);var g=$APP.We.i($APP.Qd,$APP.Wd(function(h,l){var m=$APP.P,p=$APP.zl.g(l);l=$APP.Oj.g(l);h=$APP.n(l)?l:tU(h);return new $APP.O(null,2,5,m,[p,h],null)},d));d=$APP.ge(function(h){return new $APP.Q(null,5,[$APP.Oj,$APP.Bc(g,$APP.zl.g(h),tU(DU.i(h,0))),$APP.U,""+$APP.T.g($APP.U.g(h)),$APP.Yi,MT($APP.Kl.g(h),c),$APP.il,$APP.il.g(h),uU,uU.g(h)],null)},a);return new $APP.Q(null,5,[KU,b,$APP.pj,d,$APP.il,$APP.il.g(e),
|
|
23
|
+
uU,uU.g(e),LU,$APP.ge(function(h){return new $APP.Q(null,3,[$APP.il,$APP.il.g(h),uU,uU.g(h),$APP.Oj,$APP.Bc(g,$APP.zl.g(h),tU(DU.i(h,0)))],null)},a)],null)}return null},NU=function(a){var b=$APP.k(a,"tooltip"),c=$APP.k(a,"crosshair");a=$APP.k(a,"dots");$APP.n(b)&&b.setAttribute("data-visible","false");$APP.n(c)&&c.setAttribute("visibility","hidden");if($APP.n(a))for(b=0;;)if(b<8)c=a[b],$APP.n(c)&&c.setAttribute("visibility","hidden"),b+=1;else return null;else return null},OU=function(a,b,c){return $APP.Xc(function(d,
|
|
24
|
+
e){var g=$APP.il.g(e)-b,h=uU.g(e)-c;g=g*g+h*h;return d==null||g<$APP.Sl.g(d)?$APP.mh.m(e,$APP.Sl,g):d},null,a)},PU=function(a,b,c,d,e,g,h,l,m,p,q){$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=NT(c,y):(y=OU(c,y,v),y=$APP.n(y)?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=MU(v,m,p,q),v=$APP.k(d,"tooltip"),$APP.n($APP.n(v)?x:v))){var A=$APP.M(x),C=$APP.D(A,
|
|
25
|
+
KU),E=$APP.D(A,$APP.pj);x=$APP.D(A,$APP.il);var H=$APP.D(A,uU),G=$APP.D(A,LU),J=$APP.k(d,"tooltip-header"),R=$APP.k(d,"tooltip-body"),aa=$APP.k(d,"tooltip-rows"),la=$APP.k(d,"dots");A=$APP.k(d,"crosshair");$APP.n(J)&&(J.textContent=C);if($APP.n($APP.n(R)?aa:R))for(C=0;;)if(C<8){R=aa[C];if($APP.n(R))if(J=$APP.Ac(E,C,null),$APP.n(J)){R.setAttribute("data-hidden","false");R=R.firstChild;var Ca=$APP.n(R)?R.nextSibling:null,Pa=$APP.n(Ca)?Ca.nextSibling:null;$APP.n(R)&&(R.style.backgroundColor=$APP.Oj.g(J));
|
|
26
|
+
$APP.n(Ca)&&(Ca.textContent=$APP.U.g(J));$APP.n(Pa)&&(Pa.textContent=$APP.Yi.g(J))}else R.setAttribute("data-hidden","true");C+=1}else break;if($APP.n(la))for(E=0;;)if(E<8)aa=la[E],$APP.n(aa)&&(C=$APP.Ac(G,E,null),$APP.n(C)?(J=aa,R=""+$APP.T.g($APP.il.g(C)),J.setAttribute("cx",R),J=aa,R=""+$APP.T.g(uU.g(C)),J.setAttribute("cy",R),J=aa,C=$APP.Oj.g(C),J.setAttribute("fill",C),aa.setAttribute("visibility","visible")):aa.setAttribute("visibility","hidden")),E+=1;else break;$APP.n(A)&&A.setAttribute("visibility",
|
|
27
|
+
"visible");$APP.n(A)&&(G=""+$APP.T.g(x),A.setAttribute("x1",G));$APP.n(A)&&(G=""+$APP.T.g(x),A.setAttribute("x2",G));v.setAttribute("data-visible","true");A=v.offsetWidth;G=v.offsetHeight;H=H+G+8>g?H-G-8:H-4;x=new $APP.Q(null,2,[$APP.Lh,$APP.oh.i(8,$APP.ph.i(x+A+12+8>e?x-A-12:x+12,e-A-8)),$APP.si,$APP.oh.i(8,$APP.ph.i(H,g-G-8))],null);H=$APP.M(x);x=$APP.D(H,$APP.Lh);H=$APP.D(H,$APP.si);v.style.left=""+$APP.T.g(x)+"px";v.style.top=""+$APP.T.g(H)+"px"}return nU(a,"x-chart-hover",{seriesId:$APP.zl.g(y),
|
|
28
|
+
index:EU.g(y),x:$APP.Ll.g(y),y:$APP.Kl.g(y),value:$APP.Kl.g(y)})}return null}),b.addEventListener("pointerleave",function(){return $APP.n(l)?NU(d):null}),b.addEventListener("click",function(v){var x=b.getBoundingClientRect();v=OU(c,v.clientX-x.x,v.clientY-x.y);return $APP.n(v)?nU(a,"x-chart-select",{seriesId:$APP.zl.g(v),index:EU.g(v),x:$APP.Ll.g(v),y:$APP.Kl.g(v),value:$APP.Kl.g(v)}):null}))},QU=function(a,b){b.addEventListener("keydown",function(c){var d=c.key,e=mU(a),g=$APP.M(e);e=$APP.D(g,bU);
|
|
29
|
+
var h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.ok);g=$APP.D(g,dU);if($APP.r(h)&&$APP.N(g,"none")&&$APP.t(e)){var m=$APP.xe(e);if(l==null)return $APP.n(function(){var v=new $APP.S(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.T.g($APP.zl.g($APP.u(m)))+":0")):null;g=$APP.z(m);var p=function(){var v=$APP.u(ET(function(x,y){return $APP.B.i($APP.zl.g(y),jU.g(l))?
|
|
30
|
+
x:null},m));return $APP.n(v)?v:0}();h=$APP.pc(m,p);var q=$APP.z($APP.Xh.g(h));e=$APP.ai.g(l);switch(d){case "ArrowRight":return c.preventDefault(),c=$APP.ph.i(q-1,e+1),a.setAttribute("selected",""+$APP.T.g($APP.zl.g(h))+":"+$APP.T.g(c));case "ArrowLeft":return c.preventDefault(),c=$APP.oh.i(0,e-1),a.setAttribute("selected",""+$APP.T.g($APP.zl.g(h))+":"+$APP.T.g(c));case "ArrowDown":return c.preventDefault(),c=$APP.fd(p+1,g),h=$APP.pc(m,c),c=$APP.ph.i(e,$APP.oh.i(1,$APP.z($APP.Xh.g(h)))-1),a.setAttribute("selected",
|
|
31
|
+
""+$APP.T.g($APP.zl.g(h))+":"+$APP.T.g(c));case "ArrowUp":return c.preventDefault(),c=$APP.fd(p+(g-1),g),h=$APP.pc(m,c),c=$APP.ph.i(e,$APP.oh.i(1,$APP.z($APP.Xh.g(h)))-1),a.setAttribute("selected",""+$APP.T.g($APP.zl.g(h))+":"+$APP.T.g(c));case "Enter":case " ":return c.preventDefault(),c=$APP.Ac($APP.Xh.g(h),e,null),$APP.n(c)?nU(a,"x-chart-select",{seriesId:$APP.zl.g(h),index:e,x:$APP.Ll.g(c),y:$APP.Kl.g(c),value:$APP.Kl.g(c)}):null;default:return null}}else return null})},RU=function(a){a=$APP.k(a,
|
|
32
|
+
"container");a=$APP.n(a)?a.clientWidth:0;return a>0?a:400},SU=function(a){var b=$APP.k(a,"__xChartRefs");if($APP.n(b)){var c=$APP.k(b,"svg"),d=$APP.k(b,"sr"),e=mU(a),g=$APP.M(e),h=$APP.D(g,$APP.X),l=$APP.D(g,$APP.Yg),m=$APP.D(g,fU),p=$APP.D(g,iU),q=$APP.D(g,hU),v=$APP.D(g,$T),x=$APP.D(g,aU),y=$APP.D(g,bU),A=$APP.D(g,$APP.Ci),C=$APP.D(g,cU),E=$APP.D(g,dU),H=$APP.D(g,$APP.Z),G=$APP.D(g,$APP.Nm);g=$APP.D(g,eU);var J=RU(b),R=new $APP.Q(null,4,[xU,G+36,yU,G,zU,J-G,AU,l-G-18],null),aa=$APP.M(R),la=$APP.D(aa,
|
|
33
|
+
xU),Ca=$APP.D(aa,yU),Pa=$APP.D(aa,zU);aa=$APP.D(aa,AU);var db=LT(y),eb=oU(0,v,Ca,aa);qU(c,"viewBox","0 0 "+$APP.T.g(J)+" "+$APP.T.g(l));qU(c,"width",""+$APP.T.g(J));qU(c,"height",""+$APP.T.g(l));wU(c);b.crosshair=null;b.dots=null;if(!$APP.n(A)){$APP.n(p)&&BU(c,e,R);var pb=$APP.xe($APP.be(function(gb,ea){ea=FU(gb,ea,q,db,R,v);return $APP.ae.i(function(ta){return $APP.mh.C(ta,$APP.zl,$APP.zl.g(gb),$APP.uc([$APP.U,$APP.U.g(gb),IU,eb]))},ea)},$APP.uc([y,$APP.dg(0,Number.MAX_VALUE)])));DT($APP.Wd(function(gb,
|
|
34
|
+
ea){var ta=function(){var ac=$APP.Oj.g(ea);return $APP.n(ac)?ac:tU(gb)}(),Qa=$APP.de(function(ac){return $APP.B.i($APP.zl.g(ac),$APP.zl.g(ea))},pb);switch(H){case "bar":return JU(c,gb,Qa,ta,R,$APP.z(y));case "area":return HU(c,Qa,ta,eb),GU(c,Qa,ta);default:return GU(c,Qa,ta)}},y));$APP.n(x)&&CU(c,e,R,G);p=OT("line");qU(p,"x1",""+$APP.T.g(la));qU(p,"y1",""+$APP.T.g(Ca));qU(p,"x2",""+$APP.T.g(la));qU(p,"y2",""+$APP.T.g(aa));p.setAttribute("stroke","var(--x-chart-crosshair-color)");p.setAttribute("stroke-width",
|
|
35
|
+
"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=OT("circle"),qU(G,"r",""+$APP.T.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=OT("rect");qU(p,"x",""+$APP.T.g(la));qU(p,"y",""+$APP.T.g(Ca));qU(p,"width",""+$APP.T.g($APP.oh.i(0,Pa-la)));qU(p,"height",""+$APP.T.g($APP.oh.i(0,aa-Ca)));
|
|
36
|
+
p.setAttribute("fill","transparent");p.setAttribute("style","cursor:crosshair;");$APP.n(h)||PU(a,p,pb,b,J,l,E,m,g,C,y);c.appendChild(p);var Nb=$APP.ok.g(e);$APP.n($APP.n(Nb)?$APP.t(y):Nb)?(a=$APP.u($APP.de(function(gb){return $APP.B.i($APP.zl.g(gb),jU.g(Nb))},y)),e=$APP.n(a)?$APP.Ac($APP.Xh.g(a),$APP.ai.g(Nb),null):null,d.textContent=$APP.n($APP.n(a)?e:a)?""+$APP.T.g($APP.U.g(a))+" "+$APP.T.g(MT($APP.Kl.g(e),C))+" at "+$APP.T.g(typeof $APP.Ll.g(e)==="string"?$APP.Ll.g(e):MT($APP.Ll.g(e),g)):""+$APP.T.g($APP.z(y))+
|
|
37
|
+
" series chart"):d.textContent=""+$APP.T.g($APP.z(y))+" series chart"}return $APP.n(A)?NU(b):null}return null},TU=function(){var a=document.createElement("div"),b=document.createElement("span"),c=document.createElement("span"),d=document.createElement("span");a.setAttribute("part","tooltip-row");a.setAttribute("data-hidden","true");b.setAttribute("part","tooltip-swatch");c.setAttribute("part","tooltip-label");d.setAttribute("part","tooltip-value");a.appendChild(b);a.appendChild(c);a.appendChild(d);
|
|
38
|
+
return a},UU=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=OT("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;}";
|
|
39
39
|
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 q=0;;)if(q<
|
|
40
|
-
8){var v=
|
|
41
|
-
get:function(){return this.getAttribute(c)},set:function(d){return d!=null?this.setAttribute(c,""+$APP.T.g(d)):this.removeAttribute(c)}})},
|
|
42
|
-
this.setAttribute(c,""+$APP.T.g(e|0)):this.removeAttribute(c)}})},
|
|
43
|
-
"__xChartRefs"))||
|
|
44
|
-
"tooltip");
|
|
45
|
-
"y0-baseline",613579610)
|
|
46
|
-
new $APP.K(null,"padding-raw","padding-raw",-847772255),
|
|
47
|
-
"y0",111454807),
|
|
48
|
-
$APP.zf([$APP.ok,$APP.Pj,new $APP.K(null,"axes","axes",1970866440),new $APP.K(null,"grid","grid",402978600),
|
|
49
|
-
2,[$APP.Z,$APP.Y,$APP.Ik,"type"],null),new $APP.
|
|
40
|
+
8){var v=TU();m.appendChild(v);p[q]=v;q+=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 SU(a)});b.observe(d);$APP.k(a,"__xChartRefs").ro=b;QU(a,d)},VU=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,
|
|
41
|
+
get:function(){return this.getAttribute(c)},set:function(d){return d!=null?this.setAttribute(c,""+$APP.T.g(d)):this.removeAttribute(c)}})},WU=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(c)},set:function(d){return $APP.n(d)?this.setAttribute(c,""):this.removeAttribute(c)}})},XU=function(a,b,c,d){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return GT(this.getAttribute(c),d)},set:function(e){return e!=null?
|
|
42
|
+
this.setAttribute(c,""+$APP.T.g(e|0)):this.removeAttribute(c)}})},YU=function(a){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 IT(b)},set:function(b){this.__xChartData=b;return $APP.n($APP.na(b))?this.setAttribute("data",JSON.stringify(b)):this.removeAttribute("data")}})},$U=function(){var a=class extends HTMLElement{};a.observedAttributes=ZU;a.prototype.connectedCallback=function(){$APP.n($APP.k(this,
|
|
43
|
+
"__xChartRefs"))||UU(this);return SU(this)};a.prototype.disconnectedCallback=function(){var c=$APP.k(this,"__xChartRefs");$APP.n(c)?(c=$APP.k(c,"ro"),c=$APP.n(c)?c.disconnect():null):c=null;return c};a.prototype.attributeChangedCallback=function(){return $APP.n($APP.k(this,"__xChartRefs"))?SU(this):null};var b=a.prototype;VU(b,"type","type");VU(b,"cursor","cursor");VU(b,"selected","selected");XU(b,"height","height",180);XU(b,"padding","padding",12);WU(b,"grid","grid");WU(b,"axes","axes");WU(b,"tooltip",
|
|
44
|
+
"tooltip");WU(b,"disabled","disabled");WU(b,"loading","loading");YU(b);return a},aV=function(){return $APP.n(customElements.get("x-chart"))?null:customElements.define("x-chart",$U())},KU=new $APP.K(null,"x-label","x-label",802517907),LU=new $APP.K(null,"dot-pts","dot-pts",1732240900),XT=new $APP.K(null,"loading-present?","loading-present?",-1827648748),ST=new $APP.K(null,"y-format-raw","y-format-raw",-1098541692),UT=new $APP.K(null,"axes-raw","axes-raw",-839946224),IU=new $APP.K(null,"y0-baseline",
|
|
45
|
+
"y0-baseline",613579610),$T=new $APP.K(null,"y-domain","y-domain",-969203007),hU=new $APP.K(null,"x-kind","x-kind",693167455),VT=new $APP.K(null,"height-raw","height-raw",-867301006),PT=new $APP.K(null,"selected-raw","selected-raw",-1471626848),bU=new $APP.K(null,"series","series",600710694),YT=new $APP.K(null,"data-raw","data-raw",822066711),fU=new $APP.K(null,"tooltip?","tooltip?",-642753154),jU=new $APP.K(null,"series-id","series-id",226875035),eU=new $APP.K(null,"x-fmt","x-fmt",2073358008),QT=
|
|
46
|
+
new $APP.K(null,"padding-raw","padding-raw",-847772255),uU=new $APP.K(null,"py","py",1397985916),ZT=new $APP.K(null,"x-format-raw","x-format-raw",-1683657190),aU=new $APP.K(null,"axes?","axes?",1786285669),iU=new $APP.K(null,"grid?","grid?",-288406689),WT=new $APP.K(null,"cursor-raw","cursor-raw",-1169819084),dU=new $APP.K(null,"cursor","cursor",1011937484),RT=new $APP.K(null,"tooltip-present?","tooltip-present?",-2098824029),cU=new $APP.K(null,"y-fmt","y-fmt",2092412811),yU=new $APP.K(null,"y0",
|
|
47
|
+
"y0",111454807),AU=new $APP.K(null,"y1","y1",589123466),EU=new $APP.K(null,"i","i",-1386841315),zU=new $APP.K(null,"x1","x1",-1863922247),xU=new $APP.K(null,"x0","x0",410843387),DU=new $APP.K(null,"si","si",793409822),gU=new $APP.K(null,"y-ticks","y-ticks",-843622722),TT=new $APP.K(null,"grid-present?","grid-present?",-468948562);var ZU="type data height padding x-format y-format grid axes tooltip cursor disabled loading selected".split(" "),lU=new $APP.S(null,new $APP.Q(null,3,["bar",null,"area",null,"line",null],null),null),kU=new $APP.S(null,new $APP.Q(null,3,["none",null,"x",null,"nearest",null],null),null);
|
|
48
|
+
$APP.zf([$APP.ok,$APP.Pj,new $APP.K(null,"axes","axes",1970866440),new $APP.K(null,"grid","grid",402978600),dU,$APP.Z,$APP.yl,$APP.Nm,new $APP.K(null,"tooltip","tooltip",-1809677058),$APP.Yg,$APP.Xh],[new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Ik,"selected"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"disabled"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"axes"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"grid"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Ik,"cursor"],null),new $APP.Q(null,
|
|
49
|
+
2,[$APP.Z,$APP.Y,$APP.Ik,"type"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"loading"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Ik,"padding"],null),new $APP.Q(null,2,[$APP.Z,$APP.Zj,$APP.Ik,"tooltip"],null),new $APP.Q(null,2,[$APP.Z,$APP.W,$APP.Ik,"height"],null),new $APP.Q(null,1,[$APP.Z,$APP.Si],null)]);$APP.ha("baredom.exports.x_chart.init",aV);export const init=aV;
|