@vanelsas/baredom 4.19.1 → 4.20.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 (116) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/custom-elements.json +12 -0
  3. package/dist/baremirror-alpha.js +40 -40
  4. package/dist/base.js +82 -82
  5. package/dist/integrity.json +113 -113
  6. package/dist/x-alert.js +17 -17
  7. package/dist/x-avatar-group.js +10 -10
  8. package/dist/x-avatar.js +1 -1
  9. package/dist/x-badge.js +9 -9
  10. package/dist/x-bento-grid.js +6 -6
  11. package/dist/x-bento-item.js +4 -4
  12. package/dist/x-breadcrumbs.js +11 -11
  13. package/dist/x-button.js +1 -1
  14. package/dist/x-calendar.js +39 -39
  15. package/dist/x-cancel-dialogue.js +16 -16
  16. package/dist/x-card.js +7 -7
  17. package/dist/x-carousel.js +33 -33
  18. package/dist/x-chart.js +47 -47
  19. package/dist/x-checkbox.js +1 -1
  20. package/dist/x-code.js +29 -29
  21. package/dist/x-collapse.js +11 -11
  22. package/dist/x-color-picker.js +43 -43
  23. package/dist/x-combobox.js +12 -12
  24. package/dist/x-command-palette.d.ts +1 -0
  25. package/dist/x-command-palette.js +31 -31
  26. package/dist/x-comments.js +23 -23
  27. package/dist/x-confetti.js +24 -24
  28. package/dist/x-container.js +6 -6
  29. package/dist/x-context-menu.js +12 -12
  30. package/dist/x-copy.js +1 -1
  31. package/dist/x-currency-field.js +21 -21
  32. package/dist/x-date-picker.js +43 -43
  33. package/dist/x-divider.js +7 -7
  34. package/dist/x-drag-panel.js +32 -32
  35. package/dist/x-drawer.js +12 -12
  36. package/dist/x-drop-zone.js +11 -11
  37. package/dist/x-dropdown.js +4 -4
  38. package/dist/x-fieldset.js +6 -6
  39. package/dist/x-file-download.js +14 -14
  40. package/dist/x-file-upload.js +27 -27
  41. package/dist/x-floating-panel.js +6 -6
  42. package/dist/x-form-field.js +1 -1
  43. package/dist/x-form.js +10 -10
  44. package/dist/x-gaussian-blur.js +13 -13
  45. package/dist/x-grid.js +8 -8
  46. package/dist/x-i18n-provider.js +7 -7
  47. package/dist/x-i18n.js +4 -4
  48. package/dist/x-icon.js +7 -7
  49. package/dist/x-image.js +18 -18
  50. package/dist/x-kbd.js +13 -13
  51. package/dist/x-kinetic-canvas.js +4 -4
  52. package/dist/x-kinetic-font.js +23 -23
  53. package/dist/x-kinetic-typography.js +33 -33
  54. package/dist/x-liquid-dock.js +13 -13
  55. package/dist/x-liquid-fill.js +32 -32
  56. package/dist/x-liquid-glass.js +27 -27
  57. package/dist/x-menu-item.js +9 -9
  58. package/dist/x-menu.js +10 -10
  59. package/dist/x-metaball-cursor.js +24 -24
  60. package/dist/x-modal.js +13 -13
  61. package/dist/x-morph-stack.js +35 -35
  62. package/dist/x-multi-combobox.js +38 -38
  63. package/dist/x-navbar.js +14 -14
  64. package/dist/x-neural-glow.js +24 -24
  65. package/dist/x-notification-center.js +2 -2
  66. package/dist/x-organic-divider.js +16 -16
  67. package/dist/x-organic-progress.js +31 -31
  68. package/dist/x-organic-shape.js +12 -12
  69. package/dist/x-otp-input.js +21 -21
  70. package/dist/x-pagination.js +16 -16
  71. package/dist/x-particle-button.js +38 -38
  72. package/dist/x-popover.js +6 -6
  73. package/dist/x-progress-circle.js +7 -7
  74. package/dist/x-progress.js +7 -7
  75. package/dist/x-proximity-list.js +8 -8
  76. package/dist/x-radio.js +3 -3
  77. package/dist/x-range-slider.js +28 -28
  78. package/dist/x-rating.js +22 -22
  79. package/dist/x-ripple-effect.js +9 -9
  80. package/dist/x-scroll-parallax.js +17 -17
  81. package/dist/x-scroll-stack.js +17 -17
  82. package/dist/x-scroll-story.js +33 -33
  83. package/dist/x-scroll-timeline.js +48 -48
  84. package/dist/x-scroll.js +34 -34
  85. package/dist/x-select.js +1 -1
  86. package/dist/x-sidebar.js +16 -16
  87. package/dist/x-skeleton-group.js +14 -14
  88. package/dist/x-skeleton.js +1 -1
  89. package/dist/x-slider.js +15 -15
  90. package/dist/x-soft-body.js +16 -16
  91. package/dist/x-spacer.js +3 -3
  92. package/dist/x-spinner.js +4 -4
  93. package/dist/x-splash.js +13 -13
  94. package/dist/x-split-pane.js +14 -14
  95. package/dist/x-spotlight-card.js +12 -12
  96. package/dist/x-stat.js +10 -10
  97. package/dist/x-stepper.js +9 -9
  98. package/dist/x-switch.js +10 -10
  99. package/dist/x-tab.js +5 -5
  100. package/dist/x-table-cell.js +20 -20
  101. package/dist/x-table-row.js +8 -8
  102. package/dist/x-table.js +20 -20
  103. package/dist/x-tabs.js +12 -12
  104. package/dist/x-text-area.js +1 -1
  105. package/dist/x-theme.js +26 -26
  106. package/dist/x-timeline-item.js +11 -11
  107. package/dist/x-timeline.js +9 -9
  108. package/dist/x-toast.js +6 -6
  109. package/dist/x-toaster.js +3 -3
  110. package/dist/x-toc.js +31 -31
  111. package/dist/x-tooltip.js +2 -2
  112. package/dist/x-trace-history.js +115 -115
  113. package/dist/x-tree.js +42 -42
  114. package/dist/x-typography.js +6 -6
  115. package/dist/x-welcome-tour.js +63 -63
  116. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var EJa=function(){var a=window.matchMedia;return $APP.m(a)?window.matchMedia("(prefers-reduced-motion: reduce)").matches:a},GJa=function(a){a=FJa.i($APP.l(a,"__xCollapseModel"));return $APP.m(a)?a:300},h$=function(a){a.style.height="";return a.style.transition=""},HJa=function(a,b,c,d){a.style.height=b;a.offsetHeight;a.style.transition="height "+$APP.M.i(d)+"ms ease";a.style.height=c;var e=setTimeout(function(){return h$(a)},d+80);return a.addEventListener("transitionend",function g(){clearTimeout(e);
3
- h$(a);return a.removeEventListener("transitionend",g)})},KJa=function(a){if($APP.m($APP.l(a,"__xCollapseRefs"))){var b=new $APP.J(null,4,[$APP.rs,a.hasAttribute("open"),$APP.Vk,a.hasAttribute("disabled"),IJa,$APP.V.j(a,"header"),JJa,$APP.V.j(a,"duration-ms")],null);var c=$APP.F(b);b=$APP.C(c,$APP.rs);var d=$APP.C(c,$APP.Vk),e=$APP.C(c,IJa);c=$APP.C(c,JJa);b=$APP.D(b);d=$APP.D(d);e=$APP.m(e)?e:"";$APP.m(c)?(c=parseInt(c,10),c=$APP.p(isNaN(c))&&c>0?c:null):c=null;c=$APP.m(c)?$APP.pk.j(0,$APP.ok.j(2E3,
4
- c)):300;b=new $APP.J(null,4,[$APP.nv,b,$APP.al,d,$APP.jo,e,FJa,c],null);$APP.K.j($APP.l(a,"__xCollapseModel"),b)?(e=$APP.l(a,"__xCollapseRefs"),$APP.m(e)?(d=$APP.l(e,"trigger"),e=$APP.l(e,"header-text"),c=$APP.F(b),c=$APP.C(c,$APP.jo),e.textContent=c,c=$APP.F(b),e=$APP.C(c,$APP.nv),c=$APP.C(c,$APP.al),$APP.R(d,"aria-expanded",$APP.m(e)?"true":"false"),$APP.m(c)?($APP.R(d,"disabled",""),$APP.R(d,"aria-disabled","true")):($APP.U(d,"disabled"),$APP.U(d,"aria-disabled")),a=$APP.P(a,"__xCollapseModel",
5
- b)):a=null):a=null;return a}return null},i$=function(a,b){if($APP.m(a.hasAttribute("disabled")))return null;var c=$APP.p(a.hasAttribute("open"));return $APP.bj(a,"x-collapse-toggle",{open:c,source:b})?(c?$APP.R(a,"open",""):$APP.U(a,"open"),$APP.$i(a,"x-collapse-change",{open:c})):null},LJa=function(a){var b=$APP.l(a,"__xCollapseRefs");if($APP.m(b)){b=$APP.l(b,"trigger");var c=function(){return i$(a,"pointer")},d=function(f){var g=f.key;$APP.z.j(g," ")||$APP.z.j(g,"Enter")||$APP.z.j(g,"Space")?(f.preventDefault(),
6
- f=i$(a,"keyboard")):f=null;return f},e={};b.addEventListener("click",c);b.addEventListener("keydown",d);e.click=c;e.keydown=d;$APP.P(a,"__xCollapseHandlers",e)}},MJa=function(a){var b=$APP.l(a,"__xCollapseRefs");if($APP.m(b)){var c=$APP.l(a,"__xCollapseHandlers");if($APP.m(c))return b=$APP.l(b,"trigger"),b.removeEventListener("click",$APP.l(c,"click")),b.removeEventListener("keydown",$APP.l(c,"keydown")),$APP.P(a,"__xCollapseHandlers",null)}return null},OJa=function(a){if(!$APP.m($APP.l(a,"__xCollapseRefs"))){var b=
7
- a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("button"),f=document.createElement("span"),g=document.createElement("span"),k=document.createElement("div"),n=document.createElement("div"),r=document.createElement("slot");c.textContent=NJa;$APP.R(d,"part","container");$APP.R(e,"part","trigger");$APP.R(e,"type","button");$APP.R(e,"id","trigger");$APP.R(e,"aria-controls","panel");$APP.R(f,"part","header-text");$APP.R(g,"part","chevron");
8
- $APP.R(g,"aria-hidden","true");$APP.R(k,"part","content");$APP.R(k,"id","panel");$APP.R(k,"role","region");$APP.R(k,"aria-labelledby","trigger");$APP.R(n,"part","content-inner");$APP.R(r,"name","content");g.textContent="▼";e.appendChild(f);e.appendChild(g);n.appendChild(r);k.appendChild(n);d.appendChild(e);d.appendChild(k);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.trigger=e;c["header-text"]=f;c.content=k;$APP.P(a,"__xCollapseRefs",c)}MJa(a);LJa(a);return KJa(a)},PJa=function(a){return MJa(a)},
9
- QJa=function(a,b,c,d){return $APP.K.j(c,d)&&(KJa(a),$APP.z.j(b,"open")&&(b=$APP.l(a,"__xCollapseRefs"),$APP.m(b)))?(b=$APP.l(b,"content"),c=a.hasAttribute("open"),$APP.m(b)?$APP.m(c)?$APP.m(EJa())?a=h$(b):(b.style.height="0px",b.offsetHeight,c=""+$APP.M.i(b.scrollHeight)+"px",a=HJa(b,"0px",c,GJa(a))):$APP.m(EJa())?(b.style.height="0px",a=b.style.transition=""):(c=""+$APP.M.i(b.offsetHeight)+"px",a=HJa(b,c,"0px",GJa(a))):a=null,a):null},SJa=function(a){$APP.pj(a,RJa);return Object.defineProperty(a,
10
- "toggle",{value:function(){return i$(this,"programmatic")},writable:!0,configurable:!0})},UJa=function(){return $APP.Fj("x-collapse",new $APP.J(null,5,[$APP.Ej,TJa,$APP.Cj,OJa,$APP.zj,PJa,$APP.yj,QJa,$APP.Dj,SJa],null))},JJa=new $APP.E(null,"duration-ms-raw","duration-ms-raw",-2138819526),FJa=new $APP.E(null,"duration-ms","duration-ms",1993555055),IJa=new $APP.E(null,"header-raw","header-raw",41484);var TJa=["open","disabled","header","duration-ms"],RJa=new $APP.J(null,4,[$APP.$x,new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"open"],null),$APP.Dm,new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"disabled"],null),$APP.jo,new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"header"],null),new $APP.E(null,"durationMs","durationMs",1439579766),new $APP.J(null,3,[$APP.O,$APP.Y,$APP.W,"duration-ms",$APP.oj,300],null)],null);
11
- $APP.ee(["x-collapse-toggle",new $APP.J(null,3,[$APP.Zu,!0,$APP.Jv,$APP.ee(["open",$APP.$x]),$APP.Xi,new $APP.J(null,2,[$APP.$x,$APP.nj,$APP.Bu,$APP.X],null)],null),"x-collapse-change",new $APP.J(null,2,[$APP.Zu,!1,$APP.Xi,new $APP.J(null,1,[$APP.$x,$APP.nj],null)],null)]);var NJa=":host{display:block;color-scheme:light dark;--x-collapse-border-radius:var(--x-radius-md, 8px);--x-collapse-border:var(--x-border-width,1px) solid var(--x-color-border,#e2e8f0);--x-collapse-bg:var(--x-color-surface, #ffffff);--x-collapse-trigger-bg:var(--x-color-surface-hover, #f8fafc);--x-collapse-trigger-bg-hover:var(--x-color-surface-active,#f1f5f9);--x-collapse-trigger-color:var(--x-color-text, #0f172a);--x-collapse-trigger-padding:0.75rem 1rem;--x-collapse-content-padding:1rem;--x-collapse-font-size:var(--x-font-size-sm,0.9375rem);--x-collapse-font-weight:var(--x-font-weight-semibold,600);--x-collapse-chevron-color:var(--x-color-text-muted, #64748b);--x-collapse-focus-ring:var(--x-color-focus-ring, #60a5fa);}"+
12
- $APP.M.i("button,input,select,textarea{font-family:inherit;}")+$APP.M.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-collapse-border:var(--x-border-width,1px) solid var(--x-color-border,#334155);--x-collapse-bg:var(--x-color-surface,#1e293b);--x-collapse-trigger-bg:var(--x-color-surface-hover,#0f172a);--x-collapse-trigger-bg-hover:var(--x-color-surface-active,#1e293b);--x-collapse-trigger-color:var(--x-color-text,#e2e8f0);--x-collapse-chevron-color:var(--x-color-text-muted, #94a3b8);--x-collapse-focus-ring:var(--x-color-focus-ring, #93c5fd);}}[part\x3dcontainer]{box-sizing:border-box;border:var(--x-collapse-border);border-radius:var(--x-collapse-border-radius);background:var(--x-collapse-bg);overflow:hidden;}[part\x3dtrigger]{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--x-collapse-trigger-padding);background:var(--x-collapse-trigger-bg);color:var(--x-collapse-trigger-color);font-size:var(--x-collapse-font-size);font-weight:var(--x-collapse-font-weight);cursor:pointer;user-select:none;}[part\x3dtrigger][disabled]{cursor:default;opacity:0.55;}[part\x3dtrigger]:hover:not([disabled]){background:var(--x-collapse-trigger-bg-hover);}[part\x3dtrigger]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--x-collapse-focus-ring);}[part\x3dheader-text]{flex:1;text-align:start;}[part\x3dchevron]{display:inline-block;margin-inline-start:0.5rem;color:var(--x-collapse-chevron-color);transition:transform var(--x-transition-duration,200ms) var(--x-transition-easing,ease);flex-shrink:0;}:host([open]) [part\x3dchevron]{transform:rotate(180deg);}[part\x3dcontent]{overflow:hidden;height:0;}:host([open]) [part\x3dcontent]{height:auto;}[part\x3dcontent-inner]{padding:var(--x-collapse-content-padding);}@media (prefers-reduced-motion:reduce){[part\x3dcontent]{transition:none !important;}[part\x3dchevron]{transition:none !important;}}";$APP.ea("baredom.exports.x_collapse.init",UJa);export const init=UJa;
2
+ var SJa=function(){var a=window.matchMedia;return $APP.m(a)?window.matchMedia("(prefers-reduced-motion: reduce)").matches:a},UJa=function(a){a=TJa.i($APP.l(a,"__xCollapseModel"));return $APP.m(a)?a:300},h$=function(a){a.style.height="";return a.style.transition=""},VJa=function(a,b,c,d){a.style.height=b;a.offsetHeight;a.style.transition="height "+$APP.M.i(d)+"ms ease";a.style.height=c;var e=setTimeout(function(){return h$(a)},d+80);return a.addEventListener("transitionend",function g(){clearTimeout(e);
3
+ h$(a);return a.removeEventListener("transitionend",g)})},YJa=function(a){if($APP.m($APP.l(a,"__xCollapseRefs"))){var b=new $APP.J(null,4,[$APP.rs,a.hasAttribute("open"),$APP.Vk,a.hasAttribute("disabled"),WJa,$APP.V.j(a,"header"),XJa,$APP.V.j(a,"duration-ms")],null);var c=$APP.F(b);b=$APP.C(c,$APP.rs);var d=$APP.C(c,$APP.Vk),e=$APP.C(c,WJa);c=$APP.C(c,XJa);b=$APP.D(b);d=$APP.D(d);e=$APP.m(e)?e:"";$APP.m(c)?(c=parseInt(c,10),c=$APP.p(isNaN(c))&&c>0?c:null):c=null;c=$APP.m(c)?$APP.pk.j(0,$APP.ok.j(2E3,
4
+ c)):300;b=new $APP.J(null,4,[$APP.ov,b,$APP.al,d,$APP.jo,e,TJa,c],null);$APP.K.j($APP.l(a,"__xCollapseModel"),b)?(e=$APP.l(a,"__xCollapseRefs"),$APP.m(e)?(d=$APP.l(e,"trigger"),e=$APP.l(e,"header-text"),c=$APP.F(b),c=$APP.C(c,$APP.jo),e.textContent=c,c=$APP.F(b),e=$APP.C(c,$APP.ov),c=$APP.C(c,$APP.al),$APP.R(d,"aria-expanded",$APP.m(e)?"true":"false"),$APP.m(c)?($APP.R(d,"disabled",""),$APP.R(d,"aria-disabled","true")):($APP.U(d,"disabled"),$APP.U(d,"aria-disabled")),a=$APP.P(a,"__xCollapseModel",
5
+ b)):a=null):a=null;return a}return null},i$=function(a,b){if($APP.m(a.hasAttribute("disabled")))return null;var c=$APP.p(a.hasAttribute("open"));return $APP.bj(a,"x-collapse-toggle",{open:c,source:b})?(c?$APP.R(a,"open",""):$APP.U(a,"open"),$APP.$i(a,"x-collapse-change",{open:c})):null},ZJa=function(a){var b=$APP.l(a,"__xCollapseRefs");if($APP.m(b)){b=$APP.l(b,"trigger");var c=function(){return i$(a,"pointer")},d=function(f){var g=f.key;$APP.z.j(g," ")||$APP.z.j(g,"Enter")||$APP.z.j(g,"Space")?(f.preventDefault(),
6
+ f=i$(a,"keyboard")):f=null;return f},e={};b.addEventListener("click",c);b.addEventListener("keydown",d);e.click=c;e.keydown=d;$APP.P(a,"__xCollapseHandlers",e)}},$Ja=function(a){var b=$APP.l(a,"__xCollapseRefs");if($APP.m(b)){var c=$APP.l(a,"__xCollapseHandlers");if($APP.m(c))return b=$APP.l(b,"trigger"),b.removeEventListener("click",$APP.l(c,"click")),b.removeEventListener("keydown",$APP.l(c,"keydown")),$APP.P(a,"__xCollapseHandlers",null)}return null},bKa=function(a){if(!$APP.m($APP.l(a,"__xCollapseRefs"))){var b=
7
+ a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("button"),f=document.createElement("span"),g=document.createElement("span"),k=document.createElement("div"),n=document.createElement("div"),r=document.createElement("slot");c.textContent=aKa;$APP.R(d,"part","container");$APP.R(e,"part","trigger");$APP.R(e,"type","button");$APP.R(e,"id","trigger");$APP.R(e,"aria-controls","panel");$APP.R(f,"part","header-text");$APP.R(g,"part","chevron");
8
+ $APP.R(g,"aria-hidden","true");$APP.R(k,"part","content");$APP.R(k,"id","panel");$APP.R(k,"role","region");$APP.R(k,"aria-labelledby","trigger");$APP.R(n,"part","content-inner");$APP.R(r,"name","content");g.textContent="▼";e.appendChild(f);e.appendChild(g);n.appendChild(r);k.appendChild(n);d.appendChild(e);d.appendChild(k);b.appendChild(c);b.appendChild(d);c={};c.root=b;c.trigger=e;c["header-text"]=f;c.content=k;$APP.P(a,"__xCollapseRefs",c)}$Ja(a);ZJa(a);return YJa(a)},cKa=function(a){return $Ja(a)},
9
+ dKa=function(a,b,c,d){return $APP.K.j(c,d)&&(YJa(a),$APP.z.j(b,"open")&&(b=$APP.l(a,"__xCollapseRefs"),$APP.m(b)))?(b=$APP.l(b,"content"),c=a.hasAttribute("open"),$APP.m(b)?$APP.m(c)?$APP.m(SJa())?a=h$(b):(b.style.height="0px",b.offsetHeight,c=""+$APP.M.i(b.scrollHeight)+"px",a=VJa(b,"0px",c,UJa(a))):$APP.m(SJa())?(b.style.height="0px",a=b.style.transition=""):(c=""+$APP.M.i(b.offsetHeight)+"px",a=VJa(b,c,"0px",UJa(a))):a=null,a):null},fKa=function(a){$APP.pj(a,eKa);return Object.defineProperty(a,
10
+ "toggle",{value:function(){return i$(this,"programmatic")},writable:!0,configurable:!0})},hKa=function(){return $APP.Fj("x-collapse",new $APP.J(null,5,[$APP.Ej,gKa,$APP.Cj,bKa,$APP.zj,cKa,$APP.yj,dKa,$APP.Dj,fKa],null))},XJa=new $APP.E(null,"duration-ms-raw","duration-ms-raw",-2138819526),TJa=new $APP.E(null,"duration-ms","duration-ms",1993555055),WJa=new $APP.E(null,"header-raw","header-raw",41484);var gKa=["open","disabled","header","duration-ms"],eKa=new $APP.J(null,4,[$APP.$x,new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"open"],null),$APP.Dm,new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"disabled"],null),$APP.jo,new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"header"],null),new $APP.E(null,"durationMs","durationMs",1439579766),new $APP.J(null,3,[$APP.O,$APP.Y,$APP.W,"duration-ms",$APP.oj,300],null)],null);
11
+ $APP.ee(["x-collapse-toggle",new $APP.J(null,3,[$APP.$u,!0,$APP.Kv,$APP.ee(["open",$APP.$x]),$APP.Xi,new $APP.J(null,2,[$APP.$x,$APP.nj,$APP.Cu,$APP.X],null)],null),"x-collapse-change",new $APP.J(null,2,[$APP.$u,!1,$APP.Xi,new $APP.J(null,1,[$APP.$x,$APP.nj],null)],null)]);var aKa=":host{display:block;color-scheme:light dark;--x-collapse-border-radius:var(--x-radius-md, 8px);--x-collapse-border:var(--x-border-width,1px) solid var(--x-color-border,#e2e8f0);--x-collapse-bg:var(--x-color-surface, #ffffff);--x-collapse-trigger-bg:var(--x-color-surface-hover, #f8fafc);--x-collapse-trigger-bg-hover:var(--x-color-surface-active,#f1f5f9);--x-collapse-trigger-color:var(--x-color-text, #0f172a);--x-collapse-trigger-padding:0.75rem 1rem;--x-collapse-content-padding:1rem;--x-collapse-font-size:var(--x-font-size-sm,0.9375rem);--x-collapse-font-weight:var(--x-font-weight-semibold,600);--x-collapse-chevron-color:var(--x-color-text-muted, #64748b);--x-collapse-focus-ring:var(--x-color-focus-ring, #60a5fa);}"+
12
+ $APP.M.i("button,input,select,textarea{font-family:inherit;}")+$APP.M.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-collapse-border:var(--x-border-width,1px) solid var(--x-color-border,#334155);--x-collapse-bg:var(--x-color-surface,#1e293b);--x-collapse-trigger-bg:var(--x-color-surface-hover,#0f172a);--x-collapse-trigger-bg-hover:var(--x-color-surface-active,#1e293b);--x-collapse-trigger-color:var(--x-color-text,#e2e8f0);--x-collapse-chevron-color:var(--x-color-text-muted, #94a3b8);--x-collapse-focus-ring:var(--x-color-focus-ring, #93c5fd);}}[part\x3dcontainer]{box-sizing:border-box;border:var(--x-collapse-border);border-radius:var(--x-collapse-border-radius);background:var(--x-collapse-bg);overflow:hidden;}[part\x3dtrigger]{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;padding:var(--x-collapse-trigger-padding);background:var(--x-collapse-trigger-bg);color:var(--x-collapse-trigger-color);font-size:var(--x-collapse-font-size);font-weight:var(--x-collapse-font-weight);cursor:pointer;user-select:none;}[part\x3dtrigger][disabled]{cursor:default;opacity:0.55;}[part\x3dtrigger]:hover:not([disabled]){background:var(--x-collapse-trigger-bg-hover);}[part\x3dtrigger]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--x-collapse-focus-ring);}[part\x3dheader-text]{flex:1;text-align:start;}[part\x3dchevron]{display:inline-block;margin-inline-start:0.5rem;color:var(--x-collapse-chevron-color);transition:transform var(--x-transition-duration,200ms) var(--x-transition-easing,ease);flex-shrink:0;}:host([open]) [part\x3dchevron]{transform:rotate(180deg);}[part\x3dcontent]{overflow:hidden;height:0;}:host([open]) [part\x3dcontent]{height:auto;}[part\x3dcontent-inner]{padding:var(--x-collapse-content-padding);}@media (prefers-reduced-motion:reduce){[part\x3dcontent]{transition:none !important;}[part\x3dchevron]{transition:none !important;}}";$APP.ea("baredom.exports.x_collapse.init",hKa);export const init=hKa;
@@ -1,49 +1,49 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var SJ=function(a,b){return $APP.ok.j($APP.pk.j(a,0),b)},TJ=function(a){return $APP.sd(a,360)},UJ=function(a){return SJ(a,100)},VJ=function(a){return SJ(a,1)},XJ=function(a){var b=typeof a==="string";a=b?$APP.rh(WJ,a.trim()):b;return $APP.D(a)},aK=function(a){if(typeof a==="string")if(a=$APP.rh(WJ,a.trim()),$APP.m(a))switch($APP.A(a,0,null),a=$APP.A(a,1,null),$APP.x(a)){case 3:var b=parseInt(""+$APP.M.i($APP.vc(a,0))+$APP.M.i($APP.vc(a,0)),16),c=parseInt(""+$APP.M.i($APP.vc(a,1))+$APP.M.i($APP.vc(a,
3
- 1)),16),d=parseInt(""+$APP.M.i($APP.vc(a,2))+$APP.M.i($APP.vc(a,2)),16);return new $APP.J(null,4,[YJ,b,$APP.Ox,c,ZJ,d,$J,1],null);case 6:return b=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),d=parseInt(a.substring(4,6),16),new $APP.J(null,4,[YJ,b,$APP.Ox,c,ZJ,d,$J,1],null);case 8:return b=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),d=parseInt(a.substring(4,6),16),new $APP.J(null,4,[YJ,b,$APP.Ox,c,ZJ,d,$J,parseInt(a.substring(6,8),16)/255],null);default:return null}else return null;
4
- else return null},Qla=function(a,b,c){a/=255;b/=255;c/=255;var d=$APP.pk.o(a,b,$APP.Ac([c])),e=$APP.ok.o(a,b,$APP.Ac([c])),f=(d+e)/2,g=d-e;return g===0?new $APP.J(null,3,[bK,0,cK,0,dK,f*100],null):new $APP.J(null,3,[bK,(d===a?((b-c)/g+(b<c?6:0))/6:d===b?((c-a)/g+2)/6:((a-b)/g+4)/6)*360,cK,(f>.5?g/(2-d-e):g/(d+e))*100,dK,f*100],null)},eK=function(a,b,c){c=c<0?c+1:c>1?c-1:c;return c<1/6?a+(b-a)*6*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a},fK=function(a,b,c){a=TJ(a)/360;b=UJ(b)/100;c=UJ(c)/100;if(b===0)return a=
5
- Math.round(c*255),new $APP.J(null,3,[YJ,a,$APP.Ox,a,ZJ,a],null);b=c<.5?c*(1+b):c+b-c*b;c=2*c-b;return new $APP.J(null,3,[YJ,Math.round(eK(c,b,a+1/3)*255),$APP.Ox,Math.round(eK(c,b,a)*255),ZJ,Math.round(eK(c,b,a-1/3)*255)],null)},gK=function(a,b,c){function d(e){e=SJ(Math.round(e),255).toString(16);return $APP.x(e)<2?"0"+$APP.M.i(e):e}return"#"+$APP.M.i(d(a))+$APP.M.i(d(b))+$APP.M.i(d(c))},hK=function(a,b,c,d){function e(f){f=SJ(Math.round(f),255).toString(16);return $APP.x(f)<2?"0"+$APP.M.i(f):f}
6
- return"#"+$APP.M.i(e(a))+$APP.M.i(e(b))+$APP.M.i(e(c))+$APP.M.i(e(VJ(d)*255))},jK=function(a,b,c){b=UJ(b)/100;c=UJ(c)/100;b=c+b*$APP.ok.j(c,1-c);return new $APP.J(null,3,[bK,TJ(a),cK,(b===0?0:2*(1-c/b))*100,iK,b*100],null)},kK=function(a,b,c){b=UJ(b)/100;c=UJ(c)/100;b=c*(1-b/2);c=b===0||b===1?0:(c-b)/$APP.ok.j(b,1-b);return new $APP.J(null,3,[bK,TJ(a),cK,c*100,dK,b*100],null)},lK=function(a,b,c){return 100*(SJ(a-b,c)/c)},Rla=function(a){return typeof a==="string"&&XJ(a)?(a=aK(a),$APP.m(a)?gK(YJ.i(a),
7
- $APP.Ox.i(a),ZJ.i(a)):null):"#000000"},Sla=function(a){return typeof a==="string"&&$APP.bd(mK,a.trim().toLowerCase())?a.trim().toLowerCase():"inline"},Tla=function(a){return typeof a==="string"&&$APP.ki(a)?$APP.Nf.l($APP.Re,$APP.li.l($APP.Fe.i($APP.gi),$APP.Me(XJ),$APP.Fe.i(function(b){b=aK(b);var c=$APP.F(b);b=$APP.C(c,YJ);var d=$APP.C(c,$APP.Ox);c=$APP.C(c,ZJ);return gK(b,d,c)})),$APP.ei(a,/,/)):$APP.Re},Ula=function(a){var b=$APP.F(a);a=$APP.C(b,$APP.al);var c=$APP.C(b,$APP.$x),d=$APP.C(b,$APP.zi),
8
- e=$APP.C(b,$APP.Zk),f=$APP.C(b,$APP.mj),g=$APP.C(b,$APP.Cq),k=$APP.C(b,nK),n=$APP.C(b,$APP.Z),r=$APP.C(b,oK);b=Rla(d);var v=function(){var T=aK(d);return $APP.m(T)?T:aK("#000000")}(),w=$APP.F(v);v=$APP.C(w,YJ);var y=$APP.C(w,$APP.Ox),B=$APP.C(w,ZJ);w=$APP.C(w,$J);var G=function(){var T=typeof d==="string";if(T){T=d.trim();var S=$APP.rh(WJ,T);return $APP.m(S)?8===$APP.x($APP.Dc($APP.rh(WJ,T))):S}return T}();w=$APP.m(G)?w:1;G=Qla(v,y,B);var N=$APP.F(G);G=$APP.C(N,bK);var Q=$APP.C(N,cK);N=$APP.C(N,dK);
9
- f=f!=null;r=r!=null;c=c!=null;g=Sla(g);return $APP.sg([$APP.mp,pK,$APP.Zk,$APP.Cq,nK,cK,dK,qK,bK,$APP.Z,$APP.nv,rK,$APP.al,$J],[f,r,$APP.ki(e)?e:null,g,Tla(k),Q,N,b,G,$APP.ki(n)?n:null,$APP.z.j(g,"popover")&&c,r&&w<1?hK(v,y,B,w):b,$APP.D(a),w])},sK=function(a){var b=$APP.F(a);a=$APP.C(b,$APP.al);b=$APP.C(b,$APP.mp);return $APP.p(a)&&$APP.p(b)},tK=function(a,b,c,d){$APP.R(a,"part",b);$APP.R(a,"role","slider");$APP.R(a,"tabindex","0");$APP.R(a,"aria-label",c);$APP.R(a,"aria-valuemin","0");$APP.R(a,
10
- "aria-valuemax",d)},uK=function(a,b,c,d){$APP.R(a,"part",b);$APP.R(a,"type","button");$APP.R(a,"aria-label",c);a.innerHTML=d},vK=function(a){return Ula($APP.sg([$APP.$x,$APP.Zk,$APP.zi,$APP.mj,$APP.Cq,nK,$APP.Z,oK,$APP.al],[$APP.V.j(a,"open"),$APP.V.j(a,"name"),$APP.V.j(a,"value"),$APP.V.j(a,"readonly"),$APP.V.j(a,"mode"),$APP.V.j(a,"swatches"),$APP.V.j(a,"label"),$APP.V.j(a,"alpha"),$APP.dk(a)]))},wK=function(a,b){var c=rK.i(b),d=bK.i(b),e=cK.i(b),f=dK.i(b);b=$J.i(b);return $APP.$i(a,"x-color-picker-input",
11
- $APP.uo(new $APP.J(null,5,[$APP.zi,c,bK,d,cK,e,dK,f,$J,b],null)))},xK=function(a,b){var c=rK.i(b),d=bK.i(b),e=cK.i(b),f=dK.i(b);b=$J.i(b);return $APP.$i(a,"x-color-picker-change",$APP.uo(new $APP.J(null,5,[$APP.zi,c,bK,d,cK,e,dK,f,$J,b],null)))},yK=function(a,b,c,d,e,f){b=fK(b,c,d);d=$APP.F(b);b=$APP.C(d,YJ);c=$APP.C(d,$APP.Ox);d=$APP.C(d,ZJ);e=$APP.m($APP.m(f)?e<1:f)?hK(b,c,d,e):gK(b,c,d);$APP.R(a,"value",e)},Vla=function(a,b,c,d){if($APP.K.j($APP.l(a,"__xColorPickerSwatchesCache"),c)){$APP.P(a,
2
+ var YJ=function(a,b){return $APP.ok.j($APP.pk.j(a,0),b)},ZJ=function(a){return $APP.sd(a,360)},$J=function(a){return YJ(a,100)},aK=function(a){return YJ(a,1)},cK=function(a){var b=typeof a==="string";a=b?$APP.rh(bK,a.trim()):b;return $APP.D(a)},gK=function(a){if(typeof a==="string")if(a=$APP.rh(bK,a.trim()),$APP.m(a))switch($APP.A(a,0,null),a=$APP.A(a,1,null),$APP.x(a)){case 3:var b=parseInt(""+$APP.M.i($APP.vc(a,0))+$APP.M.i($APP.vc(a,0)),16),c=parseInt(""+$APP.M.i($APP.vc(a,1))+$APP.M.i($APP.vc(a,
3
+ 1)),16),d=parseInt(""+$APP.M.i($APP.vc(a,2))+$APP.M.i($APP.vc(a,2)),16);return new $APP.J(null,4,[dK,b,$APP.Ox,c,eK,d,fK,1],null);case 6:return b=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),d=parseInt(a.substring(4,6),16),new $APP.J(null,4,[dK,b,$APP.Ox,c,eK,d,fK,1],null);case 8:return b=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),d=parseInt(a.substring(4,6),16),new $APP.J(null,4,[dK,b,$APP.Ox,c,eK,d,fK,parseInt(a.substring(6,8),16)/255],null);default:return null}else return null;
4
+ else return null},Wla=function(a,b,c){a/=255;b/=255;c/=255;var d=$APP.pk.o(a,b,$APP.Ac([c])),e=$APP.ok.o(a,b,$APP.Ac([c])),f=(d+e)/2,g=d-e;return g===0?new $APP.J(null,3,[hK,0,iK,0,jK,f*100],null):new $APP.J(null,3,[hK,(d===a?((b-c)/g+(b<c?6:0))/6:d===b?((c-a)/g+2)/6:((a-b)/g+4)/6)*360,iK,(f>.5?g/(2-d-e):g/(d+e))*100,jK,f*100],null)},kK=function(a,b,c){c=c<0?c+1:c>1?c-1:c;return c<1/6?a+(b-a)*6*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a},lK=function(a,b,c){a=ZJ(a)/360;b=$J(b)/100;c=$J(c)/100;if(b===0)return a=
5
+ Math.round(c*255),new $APP.J(null,3,[dK,a,$APP.Ox,a,eK,a],null);b=c<.5?c*(1+b):c+b-c*b;c=2*c-b;return new $APP.J(null,3,[dK,Math.round(kK(c,b,a+1/3)*255),$APP.Ox,Math.round(kK(c,b,a)*255),eK,Math.round(kK(c,b,a-1/3)*255)],null)},mK=function(a,b,c){function d(e){e=YJ(Math.round(e),255).toString(16);return $APP.x(e)<2?"0"+$APP.M.i(e):e}return"#"+$APP.M.i(d(a))+$APP.M.i(d(b))+$APP.M.i(d(c))},nK=function(a,b,c,d){function e(f){f=YJ(Math.round(f),255).toString(16);return $APP.x(f)<2?"0"+$APP.M.i(f):f}
6
+ return"#"+$APP.M.i(e(a))+$APP.M.i(e(b))+$APP.M.i(e(c))+$APP.M.i(e(aK(d)*255))},pK=function(a,b,c){b=$J(b)/100;c=$J(c)/100;b=c+b*$APP.ok.j(c,1-c);return new $APP.J(null,3,[hK,ZJ(a),iK,(b===0?0:2*(1-c/b))*100,oK,b*100],null)},qK=function(a,b,c){b=$J(b)/100;c=$J(c)/100;b=c*(1-b/2);c=b===0||b===1?0:(c-b)/$APP.ok.j(b,1-b);return new $APP.J(null,3,[hK,ZJ(a),iK,c*100,jK,b*100],null)},rK=function(a,b,c){return 100*(YJ(a-b,c)/c)},Xla=function(a){return typeof a==="string"&&cK(a)?(a=gK(a),$APP.m(a)?mK(dK.i(a),
7
+ $APP.Ox.i(a),eK.i(a)):null):"#000000"},Yla=function(a){return typeof a==="string"&&$APP.bd(sK,a.trim().toLowerCase())?a.trim().toLowerCase():"inline"},Zla=function(a){return typeof a==="string"&&$APP.ki(a)?$APP.Nf.l($APP.Re,$APP.li.l($APP.Fe.i($APP.gi),$APP.Me(cK),$APP.Fe.i(function(b){b=gK(b);var c=$APP.F(b);b=$APP.C(c,dK);var d=$APP.C(c,$APP.Ox);c=$APP.C(c,eK);return mK(b,d,c)})),$APP.ei(a,/,/)):$APP.Re},$la=function(a){var b=$APP.F(a);a=$APP.C(b,$APP.al);var c=$APP.C(b,$APP.$x),d=$APP.C(b,$APP.zi),
8
+ e=$APP.C(b,$APP.Zk),f=$APP.C(b,$APP.mj),g=$APP.C(b,$APP.Cq),k=$APP.C(b,tK),n=$APP.C(b,$APP.Z),r=$APP.C(b,uK);b=Xla(d);var v=function(){var T=gK(d);return $APP.m(T)?T:gK("#000000")}(),w=$APP.F(v);v=$APP.C(w,dK);var y=$APP.C(w,$APP.Ox),B=$APP.C(w,eK);w=$APP.C(w,fK);var G=function(){var T=typeof d==="string";if(T){T=d.trim();var S=$APP.rh(bK,T);return $APP.m(S)?8===$APP.x($APP.Dc($APP.rh(bK,T))):S}return T}();w=$APP.m(G)?w:1;G=Wla(v,y,B);var N=$APP.F(G);G=$APP.C(N,hK);var Q=$APP.C(N,iK);N=$APP.C(N,jK);
9
+ f=f!=null;r=r!=null;c=c!=null;g=Yla(g);return $APP.sg([$APP.mp,vK,$APP.Zk,$APP.Cq,tK,iK,jK,wK,hK,$APP.Z,$APP.ov,xK,$APP.al,fK],[f,r,$APP.ki(e)?e:null,g,Zla(k),Q,N,b,G,$APP.ki(n)?n:null,$APP.z.j(g,"popover")&&c,r&&w<1?nK(v,y,B,w):b,$APP.D(a),w])},yK=function(a){var b=$APP.F(a);a=$APP.C(b,$APP.al);b=$APP.C(b,$APP.mp);return $APP.p(a)&&$APP.p(b)},zK=function(a,b,c,d){$APP.R(a,"part",b);$APP.R(a,"role","slider");$APP.R(a,"tabindex","0");$APP.R(a,"aria-label",c);$APP.R(a,"aria-valuemin","0");$APP.R(a,
10
+ "aria-valuemax",d)},AK=function(a,b,c,d){$APP.R(a,"part",b);$APP.R(a,"type","button");$APP.R(a,"aria-label",c);a.innerHTML=d},BK=function(a){return $la($APP.sg([$APP.$x,$APP.Zk,$APP.zi,$APP.mj,$APP.Cq,tK,$APP.Z,uK,$APP.al],[$APP.V.j(a,"open"),$APP.V.j(a,"name"),$APP.V.j(a,"value"),$APP.V.j(a,"readonly"),$APP.V.j(a,"mode"),$APP.V.j(a,"swatches"),$APP.V.j(a,"label"),$APP.V.j(a,"alpha"),$APP.dk(a)]))},CK=function(a,b){var c=xK.i(b),d=hK.i(b),e=iK.i(b),f=jK.i(b);b=fK.i(b);return $APP.$i(a,"x-color-picker-input",
11
+ $APP.uo(new $APP.J(null,5,[$APP.zi,c,hK,d,iK,e,jK,f,fK,b],null)))},DK=function(a,b){var c=xK.i(b),d=hK.i(b),e=iK.i(b),f=jK.i(b);b=fK.i(b);return $APP.$i(a,"x-color-picker-change",$APP.uo(new $APP.J(null,5,[$APP.zi,c,hK,d,iK,e,jK,f,fK,b],null)))},EK=function(a,b,c,d,e,f){b=lK(b,c,d);d=$APP.F(b);b=$APP.C(d,dK);c=$APP.C(d,$APP.Ox);d=$APP.C(d,eK);e=$APP.m($APP.m(f)?e<1:f)?nK(b,c,d,e):mK(b,c,d);$APP.R(a,"value",e)},ama=function(a,b,c,d){if($APP.K.j($APP.l(a,"__xColorPickerSwatchesCache"),c)){$APP.P(a,
12
12
  "__xColorPickerSwatchesCache",c);b.innerHTML="";a=$APP.q(c);c=null;for(var e=0,f=0;;)if(f<e){var g=c.C(null,f),k=document.createElement("button");$APP.R(k,"part","swatch");$APP.R(k,"type","button");$APP.R(k,"role","option");$APP.R(k,"aria-label",g);$APP.R(k,"data-color",g);k.style.backgroundColor=g;b.appendChild(k);f+=1}else if(a=$APP.q(a))$APP.Wc(a)?(e=$APP.Ab(a),a=$APP.Bb(a),c=e,e=$APP.x(e)):(c=$APP.t(a),e=document.createElement("button"),$APP.R(e,"part","swatch"),$APP.R(e,"type","button"),$APP.R(e,
13
- "role","option"),$APP.R(e,"aria-label",c),$APP.R(e,"data-color",c),e.style.backgroundColor=c,b.appendChild(e),a=$APP.u(a),c=null,e=0),f=0;else break}b.querySelectorAll("[part\x3dswatch]").forEach(function(n){return $APP.R(n,"aria-selected",$APP.z.j(n.getAttribute("data-color"),d)?"true":"false")})},zK=function(a){if($APP.m($APP.l(a,"__xColorPickerRefs"))){var b=vK(a);if($APP.K.j($APP.l(a,"__xColorPickerModel"),b)){var c=$APP.l(a,"__xColorPickerRefs");if($APP.m(c)){var d=$APP.l(c,"area"),e=$APP.l(c,
14
- "hue-strip"),f=$APP.l(c,"alpha-strip"),g=$APP.l(c,"preview-color"),k=$APP.l(c,"trigger-swatch"),n=$APP.l(c,"hex-input");c=$APP.l(c,"swatches");var r=$APP.F(b),v=$APP.C(r,bK);r=$APP.C(r,$APP.Cq);$APP.R(a,"data-mode",r);a.style.setProperty("--_x-cp-hue",""+$APP.M.i(Math.round(v)));r=$APP.F(b);var w=$APP.C(r,bK),y=$APP.C(r,cK),B=$APP.C(r,dK);v=$APP.C(r,$J);r=$APP.C(r,$APP.Z);y=jK(w,y,B);var G=$APP.F(y);y=$APP.C(G,cK);G=$APP.C(G,iK);G=new $APP.J(null,2,[$APP.nl,UJ(y),$APP.pl,100-UJ(G)],null);d.style.setProperty("--_x-cp-area-x",
15
- ""+$APP.M.i($APP.nl.i(G).toFixed(2))+"%");d.style.setProperty("--_x-cp-area-y",""+$APP.M.i($APP.pl.i(G).toFixed(2))+"%");w="Hue "+$APP.M.i(Math.round(w))+", Saturation "+$APP.M.i(Math.round(y))+"%, Lightness "+$APP.M.i(Math.round(B))+"%";v=v<1?""+$APP.M.i(w)+", Opacity "+$APP.M.i(Math.round(v*100))+"%":w;$APP.R(d,"aria-valuetext",v);$APP.m(r)&&$APP.R(d,"aria-label",r);d=$APP.F(b);d=$APP.C(d,bK);e.style.setProperty("--_x-cp-hue-pos",""+$APP.M.i((TJ(d)/360*100).toFixed(2))+"%");$APP.R(e,"aria-valuenow",
16
- ""+$APP.M.i(Math.round(d)));w=$APP.F(b);e=$APP.C(w,bK);d=$APP.C(w,cK);v=$APP.C(w,dK);r=$APP.C(w,$J);w=$APP.C(w,pK);$APP.m(w)?(f.style.display="",a.style.setProperty("--_x-cp-alpha-color","hsl("+$APP.M.i(Math.round(e))+","+$APP.M.i(Math.round(d))+"%,"+$APP.M.i(Math.round(v))+"%)"),f.style.setProperty("--_x-cp-alpha-pos",""+$APP.M.i((VJ(r)*100).toFixed(2))+"%"),$APP.R(f,"aria-valuenow",""+$APP.M.i(Math.round(r*100)))):f.style.display="none";w=$APP.F(b);e=$APP.C(w,bK);d=$APP.C(w,cK);v=$APP.C(w,dK);f=
17
- $APP.C(w,$J);r=$APP.C(w,qK);w=$APP.C(w,pK);$APP.m(w)?(e=fK(e,d,v),v=$APP.F(e),e=$APP.C(v,YJ),d=$APP.C(v,$APP.Ox),v=$APP.C(v,ZJ),f="rgba("+$APP.M.i(e)+","+$APP.M.i(d)+","+$APP.M.i(v)+","+$APP.M.i(f.toFixed(2))+")"):f=r;g.style.backgroundColor=f;k.style.backgroundColor=f;f=$APP.F(b);g=$APP.C(f,rK);k=$APP.C(f,$APP.al);f=$APP.C(f,$APP.mp);a.shadowRoot.activeElement!==n&&(n.value=g);n.disabled=$APP.m(k)?k:f;Vla(a,c,nK.i(b),qK.i(b));n=$APP.F(b);n=$APP.C(n,rK);c=$APP.l(a,"__xColorPickerInternals");$APP.m(c)&&
18
- c.setFormValue(n);a=$APP.P(a,"__xColorPickerModel",b)}else a=null}else a=null;return a}return null},BK=function(a,b){var c=a.getBoundingClientRect();a=b.clientY;var d=c.top,e=c.height;b=lK(b.clientX,c.left,c.width);a=lK(a,d,e);return new $APP.J(null,2,[AK,UJ(b),$APP.Xr,100-UJ(a)],null)},CK=function(a,b){a=a.getBoundingClientRect();b=lK(b.clientX,a.left,a.width);return UJ(b)/100*360},DK=function(a,b){a=a.getBoundingClientRect();b=lK(b.clientX,a.left,a.width);return UJ(b)/100},Xla=function(a,b){var c=
19
- vK(a);if(sK(c)&&$APP.bd(Wla,b.key)){b.preventDefault();var d=$APP.m(b.shiftKey)?10:1,e=jK(bK.i(c),cK.i(c),dK.i(c)),f=function(){switch(b.key){case "ArrowRight":return UJ(cK.i(e)+d);case "ArrowLeft":return UJ(cK.i(e)-d);default:return cK.i(e)}}(),g=function(){switch(b.key){case "ArrowUp":return UJ(iK.i(e)+d);case "ArrowDown":return UJ(iK.i(e)-d);default:return iK.i(e)}}();f=kK(bK.i(c),f,g);var k=$APP.F(f);f=$APP.C(k,bK);g=$APP.C(k,cK);k=$APP.C(k,dK);yK(a,f,g,k,$J.i(c),pK.i(c));wK(a,vK(a));return xK(a,
20
- vK(a))}return null},Yla=function(a,b){var c=vK(a);if(sK(c)&&$APP.bd(EK,b.key)){b.preventDefault();var d=$APP.m(b.shiftKey)?10:1,e=function(){switch(b.key){case "ArrowRight":return TJ(bK.i(c)+d);case "ArrowLeft":return TJ(bK.i(c)-d);case "Home":return 0;case "End":return 360;default:return bK.i(c)}}();yK(a,e,cK.i(c),dK.i(c),$J.i(c),pK.i(c));wK(a,vK(a));return xK(a,vK(a))}return null},Zla=function(a,b){var c=vK(a);if($APP.m(function(){var f=sK(c);return f?(f=pK.i(c),$APP.m(f)?$APP.bd(EK,b.key):f):f}())){b.preventDefault();
21
- var d=$APP.m(b.shiftKey)?.1:.01,e=function(){switch(b.key){case "ArrowRight":return VJ($J.i(c)+d);case "ArrowLeft":return VJ($J.i(c)-d);case "Home":return 0;case "End":return 1;default:return $J.i(c)}}();yK(a,bK.i(c),cK.i(c),dK.i(c),e,!0);wK(a,vK(a));return xK(a,vK(a))}return null},$la=function(a){var b=vK(a);return sK(b)&&typeof EyeDropper!=="undefined"?(new EyeDropper).open().then(function(c){$APP.R(a,"value",c.sRGBHex);return xK(a,vK(a))}).catch(function(){return null}):null},ama=function(a){if($APP.m(a.hasAttribute("open")))return null;
22
- $APP.R(a,"open","");a=$APP.l(a,"__xColorPickerRefs");if($APP.m(a)){var b=$APP.l(a,"area");return setTimeout(function(){return b.focus()},0)}return null},FK=function(a){return $APP.m(a.hasAttribute("open"))?($APP.U(a,"open"),a=$APP.l(a,"__xColorPickerRefs"),$APP.m(a)?$APP.l(a,"trigger").focus():null):null},bma=function(a,b){return $APP.m(a.hasAttribute("open"))?$APP.m(b.composedPath().some(function(c){return c===a}))?null:FK(a):null},cma=function(a){return{"area-move":function(b){if($APP.z.j("area",
23
- $APP.l(a,"__xColorPickerDragging"))){var c=vK(a);b=BK($APP.l($APP.l(a,"__xColorPickerRefs"),"area"),b);var d=$APP.F(b);b=$APP.C(d,AK);d=$APP.C(d,$APP.Xr);b=kK(bK.i(c),b,d);var e=$APP.F(b);b=$APP.C(e,bK);d=$APP.C(e,cK);e=$APP.C(e,dK);yK(a,b,d,e,$J.i(c),pK.i(c));c=wK(a,vK(a))}else c=null;return c},copy:function(){var b=vK(a);return $APP.m(navigator.clipboard)?navigator.clipboard.writeText(rK.i(b)):null},"panel-key":function(b){$APP.z.j("Escape",b.key)&&$APP.z.j("popover",$APP.Cq.i(vK(a)))?(b.preventDefault(),
24
- b.stopPropagation(),b=FK(a)):b=null;return b},"alpha-up":function(){if($APP.z.j("alpha",$APP.l(a,"__xColorPickerDragging"))){$APP.P(a,"__xColorPickerDragging",null);var b=xK(a,vK(a))}else b=null;return b},"hue-up":function(){if($APP.z.j("hue",$APP.l(a,"__xColorPickerDragging"))){$APP.P(a,"__xColorPickerDragging",null);var b=xK(a,vK(a))}else b=null;return b},"alpha-key":function(b){return Zla(a,b)},"alpha-move":function(b){if($APP.z.j("alpha",$APP.l(a,"__xColorPickerDragging"))){var c=vK(a);b=DK($APP.l($APP.l(a,
25
- "__xColorPickerRefs"),"alpha-strip"),b);yK(a,bK.i(c),cK.i(c),dK.i(c),b,!0);c=wK(a,vK(a))}else c=null;return c},"hex-key":function(b){a:{if($APP.z.j("Enter",b.key)){b.preventDefault();b=$APP.l($APP.l(a,"__xColorPickerRefs"),"hex-input");var c=b.value,d=vK(a);if(sK(d)){if(XJ(c)){$APP.R(a,"value",c);b=xK(a,vK(a));break a}b=b.value=rK.i(d);break a}}b=null}return b},swatch:function(b){a:{var c=vK(a);if(sK(c)&&(b=b.target,$APP.m(b.hasAttribute("data-color")))){b=b.getAttribute("data-color");$APP.R(a,"value",
26
- b);b=xK(a,vK(a));break a}b=null}return b},"area-up":function(){if($APP.z.j("area",$APP.l(a,"__xColorPickerDragging"))){$APP.P(a,"__xColorPickerDragging",null);var b=xK(a,vK(a))}else b=null;return b},"alpha-down":function(b){var c=vK(a);var d=(d=sK(c))?pK.i(c):d;$APP.m(d)?(b.preventDefault(),d=$APP.l($APP.l(a,"__xColorPickerRefs"),"alpha-strip"),d.setPointerCapture(b.pointerId),$APP.P(a,"__xColorPickerDragging","alpha"),b=DK(d,b),yK(a,bK.i(c),cK.i(c),dK.i(c),b,!0),c=wK(a,vK(a))):c=null;return c},"area-key":function(b){return Xla(a,
27
- b)},"hue-down":function(b){var c=vK(a);if(sK(c)){b.preventDefault();var d=$APP.l($APP.l(a,"__xColorPickerRefs"),"hue-strip");d.setPointerCapture(b.pointerId);$APP.P(a,"__xColorPickerDragging","hue");b=CK(d,b);yK(a,b,cK.i(c),dK.i(c),$J.i(c),pK.i(c));c=wK(a,vK(a))}else c=null;return c},"hue-key":function(b){return Yla(a,b)},"hue-move":function(b){if($APP.z.j("hue",$APP.l(a,"__xColorPickerDragging"))){var c=vK(a);b=CK($APP.l($APP.l(a,"__xColorPickerRefs"),"hue-strip"),b);yK(a,b,cK.i(c),dK.i(c),$J.i(c),
28
- pK.i(c));c=wK(a,vK(a))}else c=null;return c},eyedrop:function(){return $la(a)},"panel-pd":function(b){return b.stopPropagation()},trigger:function(){var b=vK(a);return $APP.z.j("popover",$APP.Cq.i(b))&&$APP.p($APP.al.i(b))?$APP.m($APP.nv.i(b))?FK(a):ama(a):null},"doc-click":function(b){return bma(a,b)},"area-down":function(b){var c=vK(a);if(sK(c)){b.preventDefault();var d=$APP.l($APP.l(a,"__xColorPickerRefs"),"area");d.setPointerCapture(b.pointerId);$APP.P(a,"__xColorPickerDragging","area");b=BK(d,
29
- b);d=$APP.F(b);b=$APP.C(d,AK);d=$APP.C(d,$APP.Xr);b=kK(bK.i(c),b,d);var e=$APP.F(b);b=$APP.C(e,bK);d=$APP.C(e,cK);e=$APP.C(e,dK);yK(a,b,d,e,$J.i(c),pK.i(c));c=wK(a,vK(a))}else c=null;return c}}},HK=function(a,b){return $APP.z.j(b,GK)?document:$APP.l(a,b)},JK=function(a){var b=$APP.l(a,"__xColorPickerRefs"),c=$APP.l(a,"__xColorPickerHandlers");if($APP.m($APP.m(b)?c:b)){for(var d=$APP.q(IK),e=null,f=0,g=0;;)if(g<f){var k=e.C(null,g),n=$APP.A(k,0,null),r=$APP.A(k,1,null),v=$APP.A(k,2,null);k=$APP.A(k,
30
- 3,null);HK(b,n).removeEventListener(r,$APP.l(c,v),k);g+=1}else if(d=$APP.q(d))$APP.Wc(d)?(f=$APP.Ab(d),d=$APP.Bb(d),e=f,f=$APP.x(f)):(n=$APP.t(d),e=$APP.A(n,0,null),f=$APP.A(n,1,null),g=$APP.A(n,2,null),n=$APP.A(n,3,null),HK(b,e).removeEventListener(f,$APP.l(c,g),n),d=$APP.u(d),e=null,f=0),g=0;else break;return $APP.P(a,"__xColorPickerHandlers",null)}return null},dma=function(a){$APP.R(a,"value","#000000");return zK(a)},fma=function(a){if(!$APP.m($APP.l(a,"__xColorPickerRefs"))){var b=a.attachShadow({mode:"open"}),
31
- c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div");var f=document.createElement("button");var g=document.createElement("span");$APP.R(f,"part","trigger");$APP.R(f,"type","button");$APP.R(f,"aria-label","Pick color");$APP.R(g,"part","trigger-swatch");f.appendChild(g);f=new $APP.J(null,2,[$APP.Kw,f,KK,g],null);g=document.createElement("div");var k=document.createElement("div");$APP.R(g,"part","area");$APP.R(g,"role","slider");$APP.R(g,"tabindex","0");$APP.R(g,
32
- "aria-label","Color");$APP.R(k,"part","area-thumb");g.appendChild(k);g=new $APP.J(null,2,[LK,g,MK,k],null);k=document.createElement("div");var n=document.createElement("div"),r=document.createElement("div"),v=document.createElement("div"),w=document.createElement("div"),y=document.createElement("div");$APP.R(k,"part","strips");tK(n,"hue-strip","Hue","360");tK(v,"alpha-strip","Opacity","100");$APP.R(r,"part","hue-thumb");$APP.R(w,"part","alpha-gradient");$APP.R(y,"part","alpha-thumb");n.appendChild(r);
33
- v.appendChild(w);v.appendChild(y);k.appendChild(n);k.appendChild(v);k=new $APP.J(null,6,[NK,k,OK,n,PK,r,QK,v,RK,w,SK,y],null);n=document.createElement("div");r=document.createElement("div");v=document.createElement("span");w=document.createElement("input");y=document.createElement("button");var B=document.createElement("button");$APP.R(n,"part","controls");$APP.R(r,"part","preview");$APP.R(v,"part","preview-color");$APP.R(w,"part","hex-input");$APP.R(w,"type","text");$APP.R(w,"spellcheck","false");
34
- $APP.R(w,"autocomplete","off");$APP.R(w,"aria-label","Hex color value");uK(y,"eyedropper","Pick color from screen",'\x3csvg width\x3d"16" height\x3d"16" viewBox\x3d"0 0 16 16" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"1.5" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpath d\x3d"M13.5 2.5a2.12 2.12 0 0 0-3 0L9 4l-.5-.5L6 6l4 4 2.5-2.5L12 7l1.5-1.5a2.12 2.12 0 0 0 0-3zM6 6L2.5 9.5a1.5 1.5 0 0 0-.4.8L1.5 14l3.7-.6a1.5 1.5 0 0 0 .8-.4L10 10"/\x3e\x3c/svg\x3e');uK(B,"copy",
13
+ "role","option"),$APP.R(e,"aria-label",c),$APP.R(e,"data-color",c),e.style.backgroundColor=c,b.appendChild(e),a=$APP.u(a),c=null,e=0),f=0;else break}b.querySelectorAll("[part\x3dswatch]").forEach(function(n){return $APP.R(n,"aria-selected",$APP.z.j(n.getAttribute("data-color"),d)?"true":"false")})},FK=function(a){if($APP.m($APP.l(a,"__xColorPickerRefs"))){var b=BK(a);if($APP.K.j($APP.l(a,"__xColorPickerModel"),b)){var c=$APP.l(a,"__xColorPickerRefs");if($APP.m(c)){var d=$APP.l(c,"area"),e=$APP.l(c,
14
+ "hue-strip"),f=$APP.l(c,"alpha-strip"),g=$APP.l(c,"preview-color"),k=$APP.l(c,"trigger-swatch"),n=$APP.l(c,"hex-input");c=$APP.l(c,"swatches");var r=$APP.F(b),v=$APP.C(r,hK);r=$APP.C(r,$APP.Cq);$APP.R(a,"data-mode",r);a.style.setProperty("--_x-cp-hue",""+$APP.M.i(Math.round(v)));r=$APP.F(b);var w=$APP.C(r,hK),y=$APP.C(r,iK),B=$APP.C(r,jK);v=$APP.C(r,fK);r=$APP.C(r,$APP.Z);y=pK(w,y,B);var G=$APP.F(y);y=$APP.C(G,iK);G=$APP.C(G,oK);G=new $APP.J(null,2,[$APP.nl,$J(y),$APP.pl,100-$J(G)],null);d.style.setProperty("--_x-cp-area-x",
15
+ ""+$APP.M.i($APP.nl.i(G).toFixed(2))+"%");d.style.setProperty("--_x-cp-area-y",""+$APP.M.i($APP.pl.i(G).toFixed(2))+"%");w="Hue "+$APP.M.i(Math.round(w))+", Saturation "+$APP.M.i(Math.round(y))+"%, Lightness "+$APP.M.i(Math.round(B))+"%";v=v<1?""+$APP.M.i(w)+", Opacity "+$APP.M.i(Math.round(v*100))+"%":w;$APP.R(d,"aria-valuetext",v);$APP.m(r)&&$APP.R(d,"aria-label",r);d=$APP.F(b);d=$APP.C(d,hK);e.style.setProperty("--_x-cp-hue-pos",""+$APP.M.i((ZJ(d)/360*100).toFixed(2))+"%");$APP.R(e,"aria-valuenow",
16
+ ""+$APP.M.i(Math.round(d)));w=$APP.F(b);e=$APP.C(w,hK);d=$APP.C(w,iK);v=$APP.C(w,jK);r=$APP.C(w,fK);w=$APP.C(w,vK);$APP.m(w)?(f.style.display="",a.style.setProperty("--_x-cp-alpha-color","hsl("+$APP.M.i(Math.round(e))+","+$APP.M.i(Math.round(d))+"%,"+$APP.M.i(Math.round(v))+"%)"),f.style.setProperty("--_x-cp-alpha-pos",""+$APP.M.i((aK(r)*100).toFixed(2))+"%"),$APP.R(f,"aria-valuenow",""+$APP.M.i(Math.round(r*100)))):f.style.display="none";w=$APP.F(b);e=$APP.C(w,hK);d=$APP.C(w,iK);v=$APP.C(w,jK);f=
17
+ $APP.C(w,fK);r=$APP.C(w,wK);w=$APP.C(w,vK);$APP.m(w)?(e=lK(e,d,v),v=$APP.F(e),e=$APP.C(v,dK),d=$APP.C(v,$APP.Ox),v=$APP.C(v,eK),f="rgba("+$APP.M.i(e)+","+$APP.M.i(d)+","+$APP.M.i(v)+","+$APP.M.i(f.toFixed(2))+")"):f=r;g.style.backgroundColor=f;k.style.backgroundColor=f;f=$APP.F(b);g=$APP.C(f,xK);k=$APP.C(f,$APP.al);f=$APP.C(f,$APP.mp);a.shadowRoot.activeElement!==n&&(n.value=g);n.disabled=$APP.m(k)?k:f;ama(a,c,tK.i(b),wK.i(b));n=$APP.F(b);n=$APP.C(n,xK);c=$APP.l(a,"__xColorPickerInternals");$APP.m(c)&&
18
+ c.setFormValue(n);a=$APP.P(a,"__xColorPickerModel",b)}else a=null}else a=null;return a}return null},HK=function(a,b){var c=a.getBoundingClientRect();a=b.clientY;var d=c.top,e=c.height;b=rK(b.clientX,c.left,c.width);a=rK(a,d,e);return new $APP.J(null,2,[GK,$J(b),$APP.Xr,100-$J(a)],null)},IK=function(a,b){a=a.getBoundingClientRect();b=rK(b.clientX,a.left,a.width);return $J(b)/100*360},JK=function(a,b){a=a.getBoundingClientRect();b=rK(b.clientX,a.left,a.width);return $J(b)/100},cma=function(a,b){var c=
19
+ BK(a);if(yK(c)&&$APP.bd(bma,b.key)){b.preventDefault();var d=$APP.m(b.shiftKey)?10:1,e=pK(hK.i(c),iK.i(c),jK.i(c)),f=function(){switch(b.key){case "ArrowRight":return $J(iK.i(e)+d);case "ArrowLeft":return $J(iK.i(e)-d);default:return iK.i(e)}}(),g=function(){switch(b.key){case "ArrowUp":return $J(oK.i(e)+d);case "ArrowDown":return $J(oK.i(e)-d);default:return oK.i(e)}}();f=qK(hK.i(c),f,g);var k=$APP.F(f);f=$APP.C(k,hK);g=$APP.C(k,iK);k=$APP.C(k,jK);EK(a,f,g,k,fK.i(c),vK.i(c));CK(a,BK(a));return DK(a,
20
+ BK(a))}return null},dma=function(a,b){var c=BK(a);if(yK(c)&&$APP.bd(KK,b.key)){b.preventDefault();var d=$APP.m(b.shiftKey)?10:1,e=function(){switch(b.key){case "ArrowRight":return ZJ(hK.i(c)+d);case "ArrowLeft":return ZJ(hK.i(c)-d);case "Home":return 0;case "End":return 360;default:return hK.i(c)}}();EK(a,e,iK.i(c),jK.i(c),fK.i(c),vK.i(c));CK(a,BK(a));return DK(a,BK(a))}return null},ema=function(a,b){var c=BK(a);if($APP.m(function(){var f=yK(c);return f?(f=vK.i(c),$APP.m(f)?$APP.bd(KK,b.key):f):f}())){b.preventDefault();
21
+ var d=$APP.m(b.shiftKey)?.1:.01,e=function(){switch(b.key){case "ArrowRight":return aK(fK.i(c)+d);case "ArrowLeft":return aK(fK.i(c)-d);case "Home":return 0;case "End":return 1;default:return fK.i(c)}}();EK(a,hK.i(c),iK.i(c),jK.i(c),e,!0);CK(a,BK(a));return DK(a,BK(a))}return null},fma=function(a){var b=BK(a);return yK(b)&&typeof EyeDropper!=="undefined"?(new EyeDropper).open().then(function(c){$APP.R(a,"value",c.sRGBHex);return DK(a,BK(a))}).catch(function(){return null}):null},gma=function(a){if($APP.m(a.hasAttribute("open")))return null;
22
+ $APP.R(a,"open","");a=$APP.l(a,"__xColorPickerRefs");if($APP.m(a)){var b=$APP.l(a,"area");return setTimeout(function(){return b.focus()},0)}return null},LK=function(a){return $APP.m(a.hasAttribute("open"))?($APP.U(a,"open"),a=$APP.l(a,"__xColorPickerRefs"),$APP.m(a)?$APP.l(a,"trigger").focus():null):null},hma=function(a,b){return $APP.m(a.hasAttribute("open"))?$APP.m(b.composedPath().some(function(c){return c===a}))?null:LK(a):null},ima=function(a){return{"area-move":function(b){if($APP.z.j("area",
23
+ $APP.l(a,"__xColorPickerDragging"))){var c=BK(a);b=HK($APP.l($APP.l(a,"__xColorPickerRefs"),"area"),b);var d=$APP.F(b);b=$APP.C(d,GK);d=$APP.C(d,$APP.Xr);b=qK(hK.i(c),b,d);var e=$APP.F(b);b=$APP.C(e,hK);d=$APP.C(e,iK);e=$APP.C(e,jK);EK(a,b,d,e,fK.i(c),vK.i(c));c=CK(a,BK(a))}else c=null;return c},copy:function(){var b=BK(a);return $APP.m(navigator.clipboard)?navigator.clipboard.writeText(xK.i(b)):null},"panel-key":function(b){$APP.z.j("Escape",b.key)&&$APP.z.j("popover",$APP.Cq.i(BK(a)))?(b.preventDefault(),
24
+ b.stopPropagation(),b=LK(a)):b=null;return b},"alpha-up":function(){if($APP.z.j("alpha",$APP.l(a,"__xColorPickerDragging"))){$APP.P(a,"__xColorPickerDragging",null);var b=DK(a,BK(a))}else b=null;return b},"hue-up":function(){if($APP.z.j("hue",$APP.l(a,"__xColorPickerDragging"))){$APP.P(a,"__xColorPickerDragging",null);var b=DK(a,BK(a))}else b=null;return b},"alpha-key":function(b){return ema(a,b)},"alpha-move":function(b){if($APP.z.j("alpha",$APP.l(a,"__xColorPickerDragging"))){var c=BK(a);b=JK($APP.l($APP.l(a,
25
+ "__xColorPickerRefs"),"alpha-strip"),b);EK(a,hK.i(c),iK.i(c),jK.i(c),b,!0);c=CK(a,BK(a))}else c=null;return c},"hex-key":function(b){a:{if($APP.z.j("Enter",b.key)){b.preventDefault();b=$APP.l($APP.l(a,"__xColorPickerRefs"),"hex-input");var c=b.value,d=BK(a);if(yK(d)){if(cK(c)){$APP.R(a,"value",c);b=DK(a,BK(a));break a}b=b.value=xK.i(d);break a}}b=null}return b},swatch:function(b){a:{var c=BK(a);if(yK(c)&&(b=b.target,$APP.m(b.hasAttribute("data-color")))){b=b.getAttribute("data-color");$APP.R(a,"value",
26
+ b);b=DK(a,BK(a));break a}b=null}return b},"area-up":function(){if($APP.z.j("area",$APP.l(a,"__xColorPickerDragging"))){$APP.P(a,"__xColorPickerDragging",null);var b=DK(a,BK(a))}else b=null;return b},"alpha-down":function(b){var c=BK(a);var d=(d=yK(c))?vK.i(c):d;$APP.m(d)?(b.preventDefault(),d=$APP.l($APP.l(a,"__xColorPickerRefs"),"alpha-strip"),d.setPointerCapture(b.pointerId),$APP.P(a,"__xColorPickerDragging","alpha"),b=JK(d,b),EK(a,hK.i(c),iK.i(c),jK.i(c),b,!0),c=CK(a,BK(a))):c=null;return c},"area-key":function(b){return cma(a,
27
+ b)},"hue-down":function(b){var c=BK(a);if(yK(c)){b.preventDefault();var d=$APP.l($APP.l(a,"__xColorPickerRefs"),"hue-strip");d.setPointerCapture(b.pointerId);$APP.P(a,"__xColorPickerDragging","hue");b=IK(d,b);EK(a,b,iK.i(c),jK.i(c),fK.i(c),vK.i(c));c=CK(a,BK(a))}else c=null;return c},"hue-key":function(b){return dma(a,b)},"hue-move":function(b){if($APP.z.j("hue",$APP.l(a,"__xColorPickerDragging"))){var c=BK(a);b=IK($APP.l($APP.l(a,"__xColorPickerRefs"),"hue-strip"),b);EK(a,b,iK.i(c),jK.i(c),fK.i(c),
28
+ vK.i(c));c=CK(a,BK(a))}else c=null;return c},eyedrop:function(){return fma(a)},"panel-pd":function(b){return b.stopPropagation()},trigger:function(){var b=BK(a);return $APP.z.j("popover",$APP.Cq.i(b))&&$APP.p($APP.al.i(b))?$APP.m($APP.ov.i(b))?LK(a):gma(a):null},"doc-click":function(b){return hma(a,b)},"area-down":function(b){var c=BK(a);if(yK(c)){b.preventDefault();var d=$APP.l($APP.l(a,"__xColorPickerRefs"),"area");d.setPointerCapture(b.pointerId);$APP.P(a,"__xColorPickerDragging","area");b=HK(d,
29
+ b);d=$APP.F(b);b=$APP.C(d,GK);d=$APP.C(d,$APP.Xr);b=qK(hK.i(c),b,d);var e=$APP.F(b);b=$APP.C(e,hK);d=$APP.C(e,iK);e=$APP.C(e,jK);EK(a,b,d,e,fK.i(c),vK.i(c));c=CK(a,BK(a))}else c=null;return c}}},NK=function(a,b){return $APP.z.j(b,MK)?document:$APP.l(a,b)},PK=function(a){var b=$APP.l(a,"__xColorPickerRefs"),c=$APP.l(a,"__xColorPickerHandlers");if($APP.m($APP.m(b)?c:b)){for(var d=$APP.q(OK),e=null,f=0,g=0;;)if(g<f){var k=e.C(null,g),n=$APP.A(k,0,null),r=$APP.A(k,1,null),v=$APP.A(k,2,null);k=$APP.A(k,
30
+ 3,null);NK(b,n).removeEventListener(r,$APP.l(c,v),k);g+=1}else if(d=$APP.q(d))$APP.Wc(d)?(f=$APP.Ab(d),d=$APP.Bb(d),e=f,f=$APP.x(f)):(n=$APP.t(d),e=$APP.A(n,0,null),f=$APP.A(n,1,null),g=$APP.A(n,2,null),n=$APP.A(n,3,null),NK(b,e).removeEventListener(f,$APP.l(c,g),n),d=$APP.u(d),e=null,f=0),g=0;else break;return $APP.P(a,"__xColorPickerHandlers",null)}return null},jma=function(a){$APP.R(a,"value","#000000");return FK(a)},lma=function(a){if(!$APP.m($APP.l(a,"__xColorPickerRefs"))){var b=a.attachShadow({mode:"open"}),
31
+ c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div");var f=document.createElement("button");var g=document.createElement("span");$APP.R(f,"part","trigger");$APP.R(f,"type","button");$APP.R(f,"aria-label","Pick color");$APP.R(g,"part","trigger-swatch");f.appendChild(g);f=new $APP.J(null,2,[$APP.Kw,f,QK,g],null);g=document.createElement("div");var k=document.createElement("div");$APP.R(g,"part","area");$APP.R(g,"role","slider");$APP.R(g,"tabindex","0");$APP.R(g,
32
+ "aria-label","Color");$APP.R(k,"part","area-thumb");g.appendChild(k);g=new $APP.J(null,2,[RK,g,SK,k],null);k=document.createElement("div");var n=document.createElement("div"),r=document.createElement("div"),v=document.createElement("div"),w=document.createElement("div"),y=document.createElement("div");$APP.R(k,"part","strips");zK(n,"hue-strip","Hue","360");zK(v,"alpha-strip","Opacity","100");$APP.R(r,"part","hue-thumb");$APP.R(w,"part","alpha-gradient");$APP.R(y,"part","alpha-thumb");n.appendChild(r);
33
+ v.appendChild(w);v.appendChild(y);k.appendChild(n);k.appendChild(v);k=new $APP.J(null,6,[TK,k,UK,n,VK,r,WK,v,XK,w,YK,y],null);n=document.createElement("div");r=document.createElement("div");v=document.createElement("span");w=document.createElement("input");y=document.createElement("button");var B=document.createElement("button");$APP.R(n,"part","controls");$APP.R(r,"part","preview");$APP.R(v,"part","preview-color");$APP.R(w,"part","hex-input");$APP.R(w,"type","text");$APP.R(w,"spellcheck","false");
34
+ $APP.R(w,"autocomplete","off");$APP.R(w,"aria-label","Hex color value");AK(y,"eyedropper","Pick color from screen",'\x3csvg width\x3d"16" height\x3d"16" viewBox\x3d"0 0 16 16" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"1.5" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3cpath d\x3d"M13.5 2.5a2.12 2.12 0 0 0-3 0L9 4l-.5-.5L6 6l4 4 2.5-2.5L12 7l1.5-1.5a2.12 2.12 0 0 0 0-3zM6 6L2.5 9.5a1.5 1.5 0 0 0-.4.8L1.5 14l3.7-.6a1.5 1.5 0 0 0 .8-.4L10 10"/\x3e\x3c/svg\x3e');AK(B,"copy",
35
35
  "Copy color value",'\x3csvg width\x3d"16" height\x3d"16" viewBox\x3d"0 0 16 16" fill\x3d"none" stroke\x3d"currentColor" stroke-width\x3d"1.5" stroke-linecap\x3d"round" stroke-linejoin\x3d"round"\x3e\x3crect x\x3d"5" y\x3d"5" width\x3d"9" height\x3d"9" rx\x3d"1.5"/\x3e\x3cpath d\x3d"M5 11H3.5A1.5 1.5 0 0 1 2 9.5v-6A1.5 1.5 0 0 1 3.5 2h6A1.5 1.5 0 0 1 11 3.5V5"/\x3e\x3c/svg\x3e');typeof EyeDropper==="undefined"&&(y.style.display="none");r.appendChild(v);n.appendChild(r);n.appendChild(w);n.appendChild(y);
36
- n.appendChild(B);n=new $APP.J(null,6,[$APP.fv,n,TK,r,UK,v,VK,w,WK,y,$APP.pv,B],null);r=document.createElement("div");$APP.R(r,"part","swatches");$APP.R(r,"role","listbox");$APP.R(r,"aria-label","Preset colors");r=new $APP.J(null,1,[nK,r],null);c.textContent=ema;$APP.R(d,"part","container");$APP.R(e,"part","panel");e.appendChild(LK.i(g));e.appendChild(NK.i(k));e.appendChild($APP.fv.i(n));e.appendChild(nK.i(r));d.appendChild($APP.Kw.i(f));d.appendChild(e);b.appendChild(c);b.appendChild(d);b={"alpha-thumb":SK.i(k),
37
- copy:$APP.pv.i(n),swatches:nK.i(r),"hue-strip":OK.i(k),controls:$APP.fv.i(n),"alpha-gradient":RK.i(k),panel:e,preview:TK.i(n),"area-thumb":MK.i(g),"preview-color":UK.i(n),container:d,area:LK.i(g),"hue-thumb":PK.i(k),"trigger-swatch":KK.i(f),trigger:$APP.Kw.i(f),"alpha-strip":QK.i(k),eyedropper:WK.i(n),"hex-input":VK.i(n)};$APP.P(a,"__xColorPickerRefs",b);$APP.m(a.attachInternals)&&$APP.P(a,"__xColorPickerInternals",a.attachInternals())}JK(a);b=$APP.l(a,"__xColorPickerRefs");if($APP.m(b)){c=cma(a);
38
- d=$APP.q(IK);e=null;for(g=f=0;;)if(g<f)v=e.C(null,g),k=$APP.A(v,0,null),n=$APP.A(v,1,null),r=$APP.A(v,2,null),v=$APP.A(v,3,null),HK(b,k).addEventListener(n,$APP.l(c,r),v),g+=1;else if(d=$APP.q(d))$APP.Wc(d)?(f=$APP.Ab(d),d=$APP.Bb(d),e=f,f=$APP.x(f)):(k=$APP.t(d),e=$APP.A(k,0,null),f=$APP.A(k,1,null),g=$APP.A(k,2,null),k=$APP.A(k,3,null),HK(b,e).addEventListener(f,$APP.l(c,g),k),d=$APP.u(d),e=null,f=0),g=0;else break;$APP.P(a,"__xColorPickerHandlers",c)}return zK(a)},gma=function(a){return JK(a)},
39
- hma=function(a,b,c,d){return $APP.K.j(c,d)?zK(a):null},jma=function(a){$APP.gk(a,"__xColorPickerInternals");return $APP.pj(a,ima)},XK=function(){return $APP.Fj("x-color-picker",new $APP.J(null,7,[$APP.Ej,kma,$APP.Cj,fma,$APP.zj,gma,$APP.yj,hma,$APP.Aj,!0,$APP.xj,dma,$APP.Dj,jma],null))},RK=new $APP.E(null,"alpha-gradient","alpha-gradient",2099400176),SK=new $APP.E(null,"alpha-thumb","alpha-thumb",-1443114239),UK=new $APP.E(null,"preview-color","preview-color",1405210195),QK=new $APP.E(null,"alpha-strip",
40
- "alpha-strip",1085401595),MK=new $APP.E(null,"area-thumb","area-thumb",1471343090),pK=new $APP.E(null,"alpha?","alpha?",1329751525),AK=new $APP.E(null,"sat","sat",1064662667),KK=new $APP.E(null,"trigger-swatch","trigger-swatch",208431162),GK=new $APP.E(null,"document","document",-1329188687),WK=new $APP.E(null,"eyedropper","eyedropper",-1786107588),LK=new $APP.E(null,"area","area",472007256),oK=new $APP.E(null,"alpha","alpha",-1574982441),rK=new $APP.E(null,"hex-full","hex-full",-1466644518),VK=new $APP.E(null,
41
- "hex-input","hex-input",1497535517),TK=new $APP.E(null,"preview","preview",451279890),OK=new $APP.E(null,"hue-strip","hue-strip",938856876),nK=new $APP.E(null,"swatches","swatches",2033601707),NK=new $APP.E(null,"strips","strips",-1564791997),iK=new $APP.E(null,"v","v",21465059),cK=new $APP.E(null,"s","s",1705939918),YJ=new $APP.E(null,"r","r",-471384190),dK=new $APP.E(null,"l","l",1395893423),bK=new $APP.E(null,"h","h",1109658740),ZJ=new $APP.E(null,"b","b",1482224470),$J=new $APP.E(null,"a","a",
42
- -2123407586),qK=new $APP.E(null,"hex","hex",41691346),PK=new $APP.E(null,"hue-thumb","hue-thumb",638949625);var mK=new $APP.Rg(null,new $APP.J(null,2,["inline",null,"popover",null],null),null),kma="value alpha swatches disabled readonly name mode open label".split(" "),ima=$APP.sg([$APP.Jy,$APP.$x,$APP.ky,$APP.Us,$APP.Dm,$APP.Zk,$APP.zi,$APP.Cq,nK,$APP.dy,$APP.Z,oK,$APP.wu,$APP.Vt],[new $APP.J(null,2,[$APP.O,$APP.X,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"open"],null),new $APP.J(null,2,[$APP.O,$APP.gt,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.mj,!0],null),new $APP.J(null,
43
- 2,[$APP.O,$APP.nj,$APP.W,"disabled"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"name"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"value"],null),new $APP.J(null,3,[$APP.O,$APP.X,$APP.W,"mode",$APP.ux,mK],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"swatches"],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"readonly"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"label"],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"alpha"],null),new $APP.J(null,2,[$APP.O,$APP.ix,$APP.mj,!0],null),new $APP.J(null,
44
- 2,[$APP.O,$APP.Yw,$APP.mj,!0],null)]);$APP.ee(["x-color-picker-input",new $APP.J(null,2,[$APP.Xi,new $APP.J(null,5,[$APP.zi,$APP.X,bK,$APP.Y,cK,$APP.Y,dK,$APP.Y,$J,$APP.Y],null),$APP.Zu,!1],null),"x-color-picker-change",new $APP.J(null,2,[$APP.Xi,new $APP.J(null,5,[$APP.zi,$APP.X,bK,$APP.Y,cK,$APP.Y,dK,$APP.Y,$J,$APP.Y],null),$APP.Zu,!1],null)]);var WJ=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/;var ema=":host{display:inline-block;color-scheme:light dark;position:relative;--x-color-picker-width:240px;--x-color-picker-area-height:160px;--x-color-picker-strip-height:14px;--x-color-picker-swatch-size:28px;--x-color-picker-radius:var(--x-radius-md,8px);--x-color-picker-gap:10px;--x-color-picker-bg:var(--x-color-bg,#ffffff);--x-color-picker-border:var(--x-color-border,#cbd5e1);--x-color-picker-text:var(--x-color-text,#1e293b);--x-color-picker-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-color-picker-disabled-opacity:0.45;}"+
36
+ n.appendChild(B);n=new $APP.J(null,6,[$APP.gv,n,ZK,r,$K,v,aL,w,bL,y,$APP.qv,B],null);r=document.createElement("div");$APP.R(r,"part","swatches");$APP.R(r,"role","listbox");$APP.R(r,"aria-label","Preset colors");r=new $APP.J(null,1,[tK,r],null);c.textContent=kma;$APP.R(d,"part","container");$APP.R(e,"part","panel");e.appendChild(RK.i(g));e.appendChild(TK.i(k));e.appendChild($APP.gv.i(n));e.appendChild(tK.i(r));d.appendChild($APP.Kw.i(f));d.appendChild(e);b.appendChild(c);b.appendChild(d);b={"alpha-thumb":YK.i(k),
37
+ copy:$APP.qv.i(n),swatches:tK.i(r),"hue-strip":UK.i(k),controls:$APP.gv.i(n),"alpha-gradient":XK.i(k),panel:e,preview:ZK.i(n),"area-thumb":SK.i(g),"preview-color":$K.i(n),container:d,area:RK.i(g),"hue-thumb":VK.i(k),"trigger-swatch":QK.i(f),trigger:$APP.Kw.i(f),"alpha-strip":WK.i(k),eyedropper:bL.i(n),"hex-input":aL.i(n)};$APP.P(a,"__xColorPickerRefs",b);$APP.m(a.attachInternals)&&$APP.P(a,"__xColorPickerInternals",a.attachInternals())}PK(a);b=$APP.l(a,"__xColorPickerRefs");if($APP.m(b)){c=ima(a);
38
+ d=$APP.q(OK);e=null;for(g=f=0;;)if(g<f)v=e.C(null,g),k=$APP.A(v,0,null),n=$APP.A(v,1,null),r=$APP.A(v,2,null),v=$APP.A(v,3,null),NK(b,k).addEventListener(n,$APP.l(c,r),v),g+=1;else if(d=$APP.q(d))$APP.Wc(d)?(f=$APP.Ab(d),d=$APP.Bb(d),e=f,f=$APP.x(f)):(k=$APP.t(d),e=$APP.A(k,0,null),f=$APP.A(k,1,null),g=$APP.A(k,2,null),k=$APP.A(k,3,null),NK(b,e).addEventListener(f,$APP.l(c,g),k),d=$APP.u(d),e=null,f=0),g=0;else break;$APP.P(a,"__xColorPickerHandlers",c)}return FK(a)},mma=function(a){return PK(a)},
39
+ nma=function(a,b,c,d){return $APP.K.j(c,d)?FK(a):null},pma=function(a){$APP.gk(a,"__xColorPickerInternals");return $APP.pj(a,oma)},cL=function(){return $APP.Fj("x-color-picker",new $APP.J(null,7,[$APP.Ej,qma,$APP.Cj,lma,$APP.zj,mma,$APP.yj,nma,$APP.Aj,!0,$APP.xj,jma,$APP.Dj,pma],null))},XK=new $APP.E(null,"alpha-gradient","alpha-gradient",2099400176),YK=new $APP.E(null,"alpha-thumb","alpha-thumb",-1443114239),$K=new $APP.E(null,"preview-color","preview-color",1405210195),WK=new $APP.E(null,"alpha-strip",
40
+ "alpha-strip",1085401595),SK=new $APP.E(null,"area-thumb","area-thumb",1471343090),vK=new $APP.E(null,"alpha?","alpha?",1329751525),GK=new $APP.E(null,"sat","sat",1064662667),QK=new $APP.E(null,"trigger-swatch","trigger-swatch",208431162),MK=new $APP.E(null,"document","document",-1329188687),bL=new $APP.E(null,"eyedropper","eyedropper",-1786107588),RK=new $APP.E(null,"area","area",472007256),uK=new $APP.E(null,"alpha","alpha",-1574982441),xK=new $APP.E(null,"hex-full","hex-full",-1466644518),aL=new $APP.E(null,
41
+ "hex-input","hex-input",1497535517),ZK=new $APP.E(null,"preview","preview",451279890),UK=new $APP.E(null,"hue-strip","hue-strip",938856876),tK=new $APP.E(null,"swatches","swatches",2033601707),TK=new $APP.E(null,"strips","strips",-1564791997),oK=new $APP.E(null,"v","v",21465059),iK=new $APP.E(null,"s","s",1705939918),dK=new $APP.E(null,"r","r",-471384190),jK=new $APP.E(null,"l","l",1395893423),hK=new $APP.E(null,"h","h",1109658740),eK=new $APP.E(null,"b","b",1482224470),fK=new $APP.E(null,"a","a",
42
+ -2123407586),wK=new $APP.E(null,"hex","hex",41691346),VK=new $APP.E(null,"hue-thumb","hue-thumb",638949625);var sK=new $APP.Rg(null,new $APP.J(null,2,["inline",null,"popover",null],null),null),qma="value alpha swatches disabled readonly name mode open label".split(" "),oma=$APP.sg([$APP.Jy,$APP.$x,$APP.ky,$APP.Us,$APP.Dm,$APP.Zk,$APP.zi,$APP.Cq,tK,$APP.dy,$APP.Z,uK,$APP.xu,$APP.Wt],[new $APP.J(null,2,[$APP.O,$APP.X,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"open"],null),new $APP.J(null,2,[$APP.O,$APP.ht,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.mj,!0],null),new $APP.J(null,
43
+ 2,[$APP.O,$APP.nj,$APP.W,"disabled"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"name"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"value"],null),new $APP.J(null,3,[$APP.O,$APP.X,$APP.W,"mode",$APP.ux,sK],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"swatches"],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"readonly"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"label"],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"alpha"],null),new $APP.J(null,2,[$APP.O,$APP.ix,$APP.mj,!0],null),new $APP.J(null,
44
+ 2,[$APP.O,$APP.Yw,$APP.mj,!0],null)]);$APP.ee(["x-color-picker-input",new $APP.J(null,2,[$APP.Xi,new $APP.J(null,5,[$APP.zi,$APP.X,hK,$APP.Y,iK,$APP.Y,jK,$APP.Y,fK,$APP.Y],null),$APP.$u,!1],null),"x-color-picker-change",new $APP.J(null,2,[$APP.Xi,new $APP.J(null,5,[$APP.zi,$APP.X,hK,$APP.Y,iK,$APP.Y,jK,$APP.Y,fK,$APP.Y],null),$APP.$u,!1],null)]);var bK=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/;var kma=":host{display:inline-block;color-scheme:light dark;position:relative;--x-color-picker-width:240px;--x-color-picker-area-height:160px;--x-color-picker-strip-height:14px;--x-color-picker-swatch-size:28px;--x-color-picker-radius:var(--x-radius-md,8px);--x-color-picker-gap:10px;--x-color-picker-bg:var(--x-color-bg,#ffffff);--x-color-picker-border:var(--x-color-border,#cbd5e1);--x-color-picker-text:var(--x-color-text,#1e293b);--x-color-picker-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-color-picker-disabled-opacity:0.45;}"+
45
45
  $APP.M.i("button,input,select,textarea{font-family:inherit;}")+$APP.M.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-color-picker-bg:var(--x-color-bg,#1e293b);--x-color-picker-border:var(--x-color-border,#475569);--x-color-picker-text:var(--x-color-text,#f1f5f9);--x-color-picker-focus-ring:var(--x-color-focus-ring,#93c5fd);}}[part\x3dcontainer]{position:relative;width:var(--x-color-picker-width);max-width:calc(100vw - 2rem);}[part\x3dtrigger]{all:unset;display:none;box-sizing:border-box;width:36px;height:36px;border-radius:var(--x-color-picker-radius);border:2px solid var(--x-color-picker-border);cursor:pointer;overflow:hidden;}[part\x3dtrigger]:focus-visible{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:2px;}:host([data-mode\x3dpopover]) [part\x3dtrigger]{display:block;}[part\x3dtrigger-swatch]{display:block;width:100%;height:100%;}[part\x3dpanel]{box-sizing:border-box;background:var(--x-color-picker-bg);border:var(--x-border-width,1px) solid var(--x-color-picker-border);border-radius:var(--x-color-picker-radius);padding:var(--x-color-picker-gap);display:flex;flex-direction:column;gap:var(--x-color-picker-gap);box-shadow:var(--x-shadow-md,0 4px 12px rgba(0,0,0,0.1));}:host([data-mode\x3dpopover]) [part\x3dpanel]{display:none;position:absolute;z-index:var(--x-z-dropdown,1000);top:calc(100% + 8px);left:0;max-width:calc(100vw - 1rem);}:host([data-mode\x3dpopover][open]) [part\x3dpanel]{display:flex;}[part\x3darea]{position:relative;width:100%;height:var(--x-color-picker-area-height);border-radius:calc(var(--x-color-picker-radius) - 2px);cursor:crosshair;touch-action:none;overflow:hidden;background:linear-gradient(to bottom,transparent,#000),linear-gradient(to right,#fff,hsl(var(--_x-cp-hue,0),100%,50%));}[part\x3darea]:focus-visible{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:2px;}[part\x3darea-thumb]{position:absolute;width:16px;height:16px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,0.3),inset 0 0 0 1px rgba(0,0,0,0.3);pointer-events:none;left:var(--_x-cp-area-x,0%);top:var(--_x-cp-area-y,0%);transform:translate(-50%,-50%);}[part\x3dstrips]{display:flex;flex-direction:column;gap:8px;}[part\x3dhue-strip]{position:relative;width:100%;height:var(--x-color-picker-strip-height);border-radius:var(--x-color-picker-strip-height);cursor:pointer;touch-action:none;background:linear-gradient(to right,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%);}[part\x3dhue-strip]:focus-visible{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:2px;}[part\x3dhue-thumb]{position:absolute;width:16px;height:16px;border-radius:50%;border:2px solid #fff;box-shadow:var(--x-shadow-sm,0 1px 4px rgba(0,0,0,0.3));pointer-events:none;top:50%;left:var(--_x-cp-hue-pos,0%);transform:translate(-50%,-50%);}[part\x3dalpha-strip]{position:relative;width:100%;height:var(--x-color-picker-strip-height);border-radius:var(--x-color-picker-strip-height);cursor:pointer;touch-action:none;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0;}[part\x3dalpha-strip]:focus-visible{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:2px;}[part\x3dalpha-gradient]{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(to right,transparent,var(--_x-cp-alpha-color,#000));}[part\x3dalpha-thumb]{position:absolute;width:16px;height:16px;border-radius:50%;border:2px solid #fff;box-shadow:var(--x-shadow-sm,0 1px 4px rgba(0,0,0,0.3));pointer-events:none;top:50%;left:var(--_x-cp-alpha-pos,100%);transform:translate(-50%,-50%);z-index:1;}[part\x3dcontrols]{display:flex;align-items:center;gap:6px;}[part\x3dpreview]{width:32px;height:32px;border-radius:var(--x-color-picker-radius);border:var(--x-border-width,1px) solid var(--x-color-picker-border);flex-shrink:0;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0;overflow:hidden;}[part\x3dpreview-color]{display:block;width:100%;height:100%;}[part\x3dhex-input]{flex:1;min-width:0;box-sizing:border-box;padding:4px 8px;border:var(--x-border-width,1px) solid var(--x-color-picker-border);border-radius:calc(var(--x-color-picker-radius) - 2px);background:transparent;color:var(--x-color-picker-text);font-family:var(--x-font-family,inherit);font-size:var(--x-font-size-sm,0.8125rem);outline:none;}[part\x3dhex-input]:focus-visible{border-color:var(--x-color-picker-focus-ring);box-shadow:0 0 0 2px var(--x-color-picker-focus-ring);}[part\x3deyedropper],[part\x3dcopy]{all:unset;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:calc(var(--x-color-picker-radius) - 2px);cursor:pointer;color:var(--x-color-picker-text);flex-shrink:0;}[part\x3deyedropper]:hover,[part\x3dcopy]:hover{background:var(--x-color-surface-active,rgba(0,0,0,0.06));}@media (prefers-color-scheme:dark){[part\x3deyedropper]:hover,[part\x3dcopy]:hover{background:var(--x-color-surface-active,rgba(255,255,255,0.1));}}[part\x3deyedropper]:focus-visible,[part\x3dcopy]:focus-visible{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:1px;}[part\x3dswatches]{display:grid;grid-template-columns:repeat(auto-fill,var(--x-color-picker-swatch-size));gap:4px;}[part\x3dswatches]:empty{display:none;}[part\x3dswatch]{all:unset;width:var(--x-color-picker-swatch-size);height:var(--x-color-picker-swatch-size);border-radius:var(--x-radius-sm,4px);cursor:pointer;border:var(--x-border-width,1px) solid rgba(0,0,0,0.1);box-sizing:border-box;}[part\x3dswatch]:focus-visible{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:1px;}[part\x3dswatch][aria-selected\x3dtrue]{outline:2px solid var(--x-color-picker-focus-ring);outline-offset:1px;}:host(:disabled){opacity:var(--x-color-picker-disabled-opacity);pointer-events:none;}@media (prefers-reduced-motion:reduce){[part\x3darea-thumb],[part\x3dhue-thumb],[part\x3dalpha-thumb]{transition:none;}}@media (pointer:coarse){[part\x3darea-thumb],[part\x3dhue-thumb],[part\x3dalpha-thumb]{width:24px;height:24px;}[part\x3dtrigger]{width:44px;height:44px;}[part\x3deyedropper],[part\x3dcopy]{width:44px;height:44px;}[part\x3dswatch]{min-width:44px;min-height:44px;}}",
46
- Wla=new $APP.Rg(null,new $APP.J(null,4,["ArrowUp",null,"ArrowDown",null,"ArrowRight",null,"ArrowLeft",null],null),null),EK=new $APP.Rg(null,new $APP.J(null,4,["End",null,"ArrowRight",null,"ArrowLeft",null,"Home",null],null),null),IK=new $APP.H(null,20,5,$APP.I,[new $APP.H(null,4,5,$APP.I,["area","pointerdown","area-down",!1],null),new $APP.H(null,4,5,$APP.I,["area","pointermove","area-move",!1],null),new $APP.H(null,4,5,$APP.I,["area","pointerup","area-up",!1],null),new $APP.H(null,4,5,$APP.I,["area",
46
+ bma=new $APP.Rg(null,new $APP.J(null,4,["ArrowUp",null,"ArrowDown",null,"ArrowRight",null,"ArrowLeft",null],null),null),KK=new $APP.Rg(null,new $APP.J(null,4,["End",null,"ArrowRight",null,"ArrowLeft",null,"Home",null],null),null),OK=new $APP.H(null,20,5,$APP.I,[new $APP.H(null,4,5,$APP.I,["area","pointerdown","area-down",!1],null),new $APP.H(null,4,5,$APP.I,["area","pointermove","area-move",!1],null),new $APP.H(null,4,5,$APP.I,["area","pointerup","area-up",!1],null),new $APP.H(null,4,5,$APP.I,["area",
47
47
  "keydown","area-key",!1],null),new $APP.H(null,4,5,$APP.I,["hue-strip","pointerdown","hue-down",!1],null),new $APP.H(null,4,5,$APP.I,["hue-strip","pointermove","hue-move",!1],null),new $APP.H(null,4,5,$APP.I,["hue-strip","pointerup","hue-up",!1],null),new $APP.H(null,4,5,$APP.I,["hue-strip","keydown","hue-key",!1],null),new $APP.H(null,4,5,$APP.I,["alpha-strip","pointerdown","alpha-down",!1],null),new $APP.H(null,4,5,$APP.I,["alpha-strip","pointermove","alpha-move",!1],null),new $APP.H(null,4,5,$APP.I,
48
48
  ["alpha-strip","pointerup","alpha-up",!1],null),new $APP.H(null,4,5,$APP.I,["alpha-strip","keydown","alpha-key",!1],null),new $APP.H(null,4,5,$APP.I,["hex-input","keydown","hex-key",!1],null),new $APP.H(null,4,5,$APP.I,["swatches","click","swatch",!1],null),new $APP.H(null,4,5,$APP.I,["eyedropper","click","eyedrop",!1],null),new $APP.H(null,4,5,$APP.I,["copy","click","copy",!1],null),new $APP.H(null,4,5,$APP.I,["trigger","click","trigger",!1],null),new $APP.H(null,4,5,$APP.I,["panel","keydown","panel-key",
49
- !1],null),new $APP.H(null,4,5,$APP.I,["panel","pointerdown","panel-pd",!1],null),new $APP.H(null,4,5,$APP.I,[GK,"pointerdown","doc-click",!0],null)],null);$APP.ea("baredom.exports.x_color_picker.init",XK);export const init=XK;
49
+ !1],null),new $APP.H(null,4,5,$APP.I,["panel","pointerdown","panel-pd",!1],null),new $APP.H(null,4,5,$APP.I,[MK,"pointerdown","doc-click",!0],null)],null);$APP.ea("baredom.exports.x_color_picker.init",cL);export const init=cL;
@@ -1,16 +1,16 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
2
  var Oz=function(a,b){if(b==null||$APP.z.j(b,""))return a;var c=$APP.ci(b);return $APP.Se(function(d){d=$APP.F(d);d=$APP.C(d,$APP.Z);return $APP.K.j(-1,$APP.ci(d).indexOf(c))},a)},mfa=function(a,b){return b!=null?$APP.le(function(c){return $APP.z.j($APP.zi.i(c),b)?c:null},a):null},nfa=function(a,b,c,d,e){var f=$APP.F(e);e=$APP.C(f,$APP.ti);var g=$APP.C(f,$APP.zi);f=$APP.C(f,$APP.Z);a:{if(a!=null&&$APP.K.j(a,"")){var k=$APP.ci(f).indexOf($APP.ci(a));if($APP.K.j(k,-1)){a=k+$APP.x(a);a=new $APP.J(null,
3
- 3,[$APP.nk,f.substring(0,k),$APP.Os,f.substring(k,a),$APP.mu,f.substring(a)],null);break a}}a=null}k=$APP.F($APP.m(a)?a:new $APP.J(null,3,[$APP.nk,f,$APP.Os,"",$APP.mu,""],null));a=$APP.C(k,$APP.nk);f=$APP.C(k,$APP.Os);k=$APP.C(k,$APP.mu);return new $APP.J(null,8,[$APP.ti,e,$APP.Eu,""+$APP.M.i("x-cb-opt-")+$APP.M.i(d),$APP.zi,g,$APP.Fw,$APP.z.j(d,b)?"":null,$APP.ot,$APP.z.j(g,c)?"true":null,$APP.nk,a,$APP.Os,f,$APP.mu,k],null)},ofa=function(a,b,c,d){a=Oz($APP.ui($APP.zi,a),b);c=$APP.ok.j(c,$APP.x(a)-
4
- 1);return $APP.Pc(a)?new $APP.J(null,2,[$APP.ht,new $APP.H(null,1,5,$APP.I,[new $APP.J(null,2,[$APP.ti,"empty",$APP.Fn,"No matches"],null)],null),$APP.zw,null],null):new $APP.J(null,2,[$APP.ht,$APP.Nf.l($APP.Re,$APP.te($APP.qe(nfa,b,c,d)),a),$APP.zw,c>=0?""+$APP.M.i("x-cb-opt-")+$APP.M.i(c):null],null)},Pz=function(a){var b=$APP.l(a,"__xComboboxRefs");$APP.m(b)&&(b=$APP.l(b,"slot").assignedElements({flatten:!0}),b=$APP.Nf.l($APP.Re,$APP.li.j($APP.Me(function(c){return $APP.z.j("OPTION",c.tagName)}),
3
+ 3,[$APP.nk,f.substring(0,k),$APP.Os,f.substring(k,a),$APP.nu,f.substring(a)],null);break a}}a=null}k=$APP.F($APP.m(a)?a:new $APP.J(null,3,[$APP.nk,f,$APP.Os,"",$APP.nu,""],null));a=$APP.C(k,$APP.nk);f=$APP.C(k,$APP.Os);k=$APP.C(k,$APP.nu);return new $APP.J(null,8,[$APP.ti,e,$APP.Fu,""+$APP.M.i("x-cb-opt-")+$APP.M.i(d),$APP.zi,g,$APP.Fw,$APP.z.j(d,b)?"":null,$APP.pt,$APP.z.j(g,c)?"true":null,$APP.nk,a,$APP.Os,f,$APP.nu,k],null)},ofa=function(a,b,c,d){a=Oz($APP.ui($APP.zi,a),b);c=$APP.ok.j(c,$APP.x(a)-
4
+ 1);return $APP.Pc(a)?new $APP.J(null,2,[$APP.it,new $APP.H(null,1,5,$APP.I,[new $APP.J(null,2,[$APP.ti,"empty",$APP.Fn,"No matches"],null)],null),$APP.Aw,null],null):new $APP.J(null,2,[$APP.it,$APP.Nf.l($APP.Re,$APP.te($APP.qe(nfa,b,c,d)),a),$APP.Aw,c>=0?""+$APP.M.i("x-cb-opt-")+$APP.M.i(c):null],null)},Pz=function(a){var b=$APP.l(a,"__xComboboxRefs");$APP.m(b)&&(b=$APP.l(b,"slot").assignedElements({flatten:!0}),b=$APP.Nf.l($APP.Re,$APP.li.j($APP.Me(function(c){return $APP.z.j("OPTION",c.tagName)}),
5
5
  $APP.Fe.i(function(c){var d=c.getAttribute("value");return new $APP.J(null,2,[$APP.zi,$APP.m(d)?d:c.textContent,$APP.Z,c.textContent],null)})),$APP.Ac(b)),$APP.P(a,"__xComboboxOptions",b))},pfa=function(a){$APP.z.j(a,"empty")?(a=document.createElement("div"),$APP.R(a,"part","empty-msg")):(a=document.createElement("div"),$APP.R(a,"part","option"),$APP.R(a,"role","option"),a.append("",document.createElement("b"),""));return a},qfa=function(a,b){b=$APP.F(b);var c=$APP.C(b,$APP.ti),d=$APP.C(b,$APP.Fn);
6
- a=a.i?a.i(c):a.call(null,c);if($APP.z.j(c,"empty"))a=$APP.Oi(a,d);else{var e=$APP.F(b);b=$APP.C(e,$APP.Eu);c=$APP.C(e,$APP.zi);d=$APP.C(e,$APP.Fw);var f=$APP.C(e,$APP.ot),g=$APP.C(e,$APP.nk),k=$APP.C(e,$APP.Os);e=$APP.C(e,$APP.mu);$APP.Li(a,"id",b);$APP.Li(a,"data-value",c);$APP.Li(a,"data-active",d);$APP.Li(a,"aria-selected",f);$APP.Oi(a.firstChild,g);$APP.Oi(a.firstElementChild,k);a=$APP.Oi(a.lastChild,e)}return a},Qz=function(a){var b=$APP.l(a,"__xComboboxRefs");if($APP.m(b)){var c=$APP.l(b,"panel");
7
- b=$APP.l(b,"input");var d=ofa($APP.l(a,"__xComboboxOptions"),function(){var f=$APP.l(a,"__xComboboxQuery");return $APP.m(f)?f:""}(),function(){var f=$APP.l(a,"__xComboboxActiveIdx");return $APP.m(f)?f:0}(),function(){var f=$APP.V.j(a,"value");return $APP.m(f)?f:""}()),e=$APP.F(d);d=$APP.C(e,$APP.ht);e=$APP.C(e,$APP.zw);c=$APP.Kk(new $APP.J(null,1,[$APP.kl,new $APP.J(null,1,[$APP.tk,c],null)],null),new $APP.J(null,1,[$APP.kl,$APP.ri.j($APP.ti,d)],null),pfa);$APP.Jh($APP.oe(qfa,c),d);return $APP.Li(b,
6
+ a=a.i?a.i(c):a.call(null,c);if($APP.z.j(c,"empty"))a=$APP.Oi(a,d);else{var e=$APP.F(b);b=$APP.C(e,$APP.Fu);c=$APP.C(e,$APP.zi);d=$APP.C(e,$APP.Fw);var f=$APP.C(e,$APP.pt),g=$APP.C(e,$APP.nk),k=$APP.C(e,$APP.Os);e=$APP.C(e,$APP.nu);$APP.Li(a,"id",b);$APP.Li(a,"data-value",c);$APP.Li(a,"data-active",d);$APP.Li(a,"aria-selected",f);$APP.Oi(a.firstChild,g);$APP.Oi(a.firstElementChild,k);a=$APP.Oi(a.lastChild,e)}return a},Qz=function(a){var b=$APP.l(a,"__xComboboxRefs");if($APP.m(b)){var c=$APP.l(b,"panel");
7
+ b=$APP.l(b,"input");var d=ofa($APP.l(a,"__xComboboxOptions"),function(){var f=$APP.l(a,"__xComboboxQuery");return $APP.m(f)?f:""}(),function(){var f=$APP.l(a,"__xComboboxActiveIdx");return $APP.m(f)?f:0}(),function(){var f=$APP.V.j(a,"value");return $APP.m(f)?f:""}()),e=$APP.F(d);d=$APP.C(e,$APP.it);e=$APP.C(e,$APP.Aw);c=$APP.Kk(new $APP.J(null,1,[$APP.kl,new $APP.J(null,1,[$APP.tk,c],null)],null),new $APP.J(null,1,[$APP.kl,$APP.ri.j($APP.ti,d)],null),pfa);$APP.Jh($APP.oe(qfa,c),d);return $APP.Li(b,
8
8
  "aria-activedescendant",e)}return null},Sz=function(a){var b=new $APP.J(null,8,[$APP.am,$APP.V.j(a,"value"),$APP.Tk,$APP.V.j(a,"placeholder"),$APP.Sk,$APP.V.j(a,"name"),$APP.Vk,$APP.dk(a),$APP.Wk,a.hasAttribute("required"),$APP.rs,a.hasAttribute("open"),$APP.Ly,$APP.V.j(a,"placement"),$APP.hp,$APP.V.j(a,"error")],null);var c=$APP.F(b),d=$APP.C(c,$APP.am),e=$APP.C(c,$APP.Tk),f=$APP.C(c,$APP.Sk);b=$APP.C(c,$APP.Vk);var g=$APP.C(c,$APP.Wk),k=$APP.C(c,$APP.rs),n=$APP.C(c,$APP.Ly);c=$APP.C(c,$APP.hp);
9
- g=$APP.D(g);e=$APP.m(e)?e:"";f=$APP.m(f)?f:"";d=$APP.m(d)?d:"";var r=typeof c==="string"&&$APP.K.j(c,"");k=$APP.D(k);c=$APP.m(c)?c:"";n=$APP.bd(Rz,n)?n:"bottom-start";b=$APP.sg([$APP.Ij,$APP.$k,$APP.Zk,$APP.zi,$APP.Gj,$APP.nv,$APP.Hj,$APP.zl,$APP.al],[g,e,f,d,r,k,c,n,$APP.D(b)]);$APP.K.j($APP.l(a,"__xComboboxModel"),b)?(g=$APP.l(a,"__xComboboxRefs"),$APP.m(g)?(n=$APP.l(g,"input"),c=$APP.l(g,"panel"),g=$APP.l(g,"error"),k=mfa($APP.l(a,"__xComboboxOptions"),$APP.zi.i(b)),d=$APP.F(b),e=$APP.C(d,$APP.$k),
10
- f=$APP.C(d,$APP.al),d=$APP.C(d,$APP.nv),n.placeholder=e,n.disabled=f,$APP.R(n,"aria-expanded",""+$APP.M.i(d)),e=$APP.F(b),e=$APP.C(e,$APP.zl),$APP.R(c,"data-placement",e),c=$APP.F(b),$APP.C(c,$APP.zi),c=$APP.C(c,$APP.nv),$APP.m(c)||(n.value=$APP.m(k)?$APP.Z.i(k):""),k=$APP.F(b),k=$APP.C(k,$APP.zi),$APP.K.j(k,"")?$APP.R(a,"data-has-value",""):$APP.U(a,"data-has-value"),$APP.ik(a,n,g,b,$APP.hk($APP.Gj.i(b),null)),k=$APP.F(b),g=$APP.C(k,$APP.zi),k=$APP.C(k,$APP.Gj),g=$APP.m(g)?g:"",$APP.ck($APP.l(a,
11
- "__xComboboxInternals"),n,g,new $APP.J(null,5,[$APP.Gj,k,$APP.Hj,$APP.V.j(a,"error"),$APP.Ij,a.hasAttribute("required"),$APP.Jj,$APP.z.j(g,""),$APP.Kj,"Please select an item in the list."],null)),$APP.m($APP.nv.i(b))&&Qz(a),a=$APP.P(a,"__xComboboxModel",b)):a=null):a=null;return a},Tz=function(a,b){return $APP.p($APP.dk(a))&&$APP.p(a.hasAttribute("open"))&&$APP.bj(a,"x-combobox-toggle",{open:!0,source:b})?($APP.P(a,"__xComboboxQuery",""),$APP.P(a,"__xComboboxActiveIdx",0),$APP.R(a,"open",""),a=$APP.l(a,
9
+ g=$APP.D(g);e=$APP.m(e)?e:"";f=$APP.m(f)?f:"";d=$APP.m(d)?d:"";var r=typeof c==="string"&&$APP.K.j(c,"");k=$APP.D(k);c=$APP.m(c)?c:"";n=$APP.bd(Rz,n)?n:"bottom-start";b=$APP.sg([$APP.Ij,$APP.$k,$APP.Zk,$APP.zi,$APP.Gj,$APP.ov,$APP.Hj,$APP.zl,$APP.al],[g,e,f,d,r,k,c,n,$APP.D(b)]);$APP.K.j($APP.l(a,"__xComboboxModel"),b)?(g=$APP.l(a,"__xComboboxRefs"),$APP.m(g)?(n=$APP.l(g,"input"),c=$APP.l(g,"panel"),g=$APP.l(g,"error"),k=mfa($APP.l(a,"__xComboboxOptions"),$APP.zi.i(b)),d=$APP.F(b),e=$APP.C(d,$APP.$k),
10
+ f=$APP.C(d,$APP.al),d=$APP.C(d,$APP.ov),n.placeholder=e,n.disabled=f,$APP.R(n,"aria-expanded",""+$APP.M.i(d)),e=$APP.F(b),e=$APP.C(e,$APP.zl),$APP.R(c,"data-placement",e),c=$APP.F(b),$APP.C(c,$APP.zi),c=$APP.C(c,$APP.ov),$APP.m(c)||(n.value=$APP.m(k)?$APP.Z.i(k):""),k=$APP.F(b),k=$APP.C(k,$APP.zi),$APP.K.j(k,"")?$APP.R(a,"data-has-value",""):$APP.U(a,"data-has-value"),$APP.ik(a,n,g,b,$APP.hk($APP.Gj.i(b),null)),k=$APP.F(b),g=$APP.C(k,$APP.zi),k=$APP.C(k,$APP.Gj),g=$APP.m(g)?g:"",$APP.ck($APP.l(a,
11
+ "__xComboboxInternals"),n,g,new $APP.J(null,5,[$APP.Gj,k,$APP.Hj,$APP.V.j(a,"error"),$APP.Ij,a.hasAttribute("required"),$APP.Jj,$APP.z.j(g,""),$APP.Kj,"Please select an item in the list."],null)),$APP.m($APP.ov.i(b))&&Qz(a),a=$APP.P(a,"__xComboboxModel",b)):a=null):a=null;return a},Tz=function(a,b){return $APP.p($APP.dk(a))&&$APP.p(a.hasAttribute("open"))&&$APP.bj(a,"x-combobox-toggle",{open:!0,source:b})?($APP.P(a,"__xComboboxQuery",""),$APP.P(a,"__xComboboxActiveIdx",0),$APP.R(a,"open",""),a=$APP.l(a,
12
12
  "__xComboboxRefs"),$APP.m(a)?$APP.l(a,"input").select():null):null},Uz=function(a,b){return $APP.m(a.hasAttribute("open"))&&$APP.bj(a,"x-combobox-toggle",{open:!1,source:b})?($APP.P(a,"__xComboboxQuery",""),$APP.P(a,"__xComboboxActiveIdx",0),$APP.U(a,"open")):null},Vz=function(a,b,c){var d=$APP.V.j(a,"value");return $APP.bj(a,"x-combobox-change-request",{value:b,label:c,previousValue:$APP.m(d)?d:""})?($APP.R(a,"value",b),d=$APP.l(a,"__xComboboxRefs"),$APP.m(d)&&($APP.l(d,"input").value=c),Uz(a,"select"),
13
- $APP.$i(a,"x-combobox-change",{value:b,label:c})):null},Wz=function(a,b){var c=Oz($APP.l(a,"__xComboboxOptions"),function(){var e=$APP.l(a,"__xComboboxQuery");return $APP.m(e)?e:""}());c=$APP.x(c);var d=function(){var e=$APP.l(a,"__xComboboxActiveIdx");return $APP.m(e)?e:0}();b=$APP.z.j(b,$APP.bt)?c===0?-1:$APP.sd(($APP.m(d)?d:-1)+1,c):c===0?-1:$APP.sd(($APP.m(d)?d:c)-1,c);$APP.P(a,"__xComboboxActiveIdx",b);Qz(a);b=$APP.l(a,"__xComboboxRefs");return $APP.m(b)?(b=$APP.l(b,"panel").querySelector("["+
13
+ $APP.$i(a,"x-combobox-change",{value:b,label:c})):null},Wz=function(a,b){var c=Oz($APP.l(a,"__xComboboxOptions"),function(){var e=$APP.l(a,"__xComboboxQuery");return $APP.m(e)?e:""}());c=$APP.x(c);var d=function(){var e=$APP.l(a,"__xComboboxActiveIdx");return $APP.m(e)?e:0}();b=$APP.z.j(b,$APP.ct)?c===0?-1:$APP.sd(($APP.m(d)?d:-1)+1,c):c===0?-1:$APP.sd(($APP.m(d)?d:c)-1,c);$APP.P(a,"__xComboboxActiveIdx",b);Qz(a);b=$APP.l(a,"__xComboboxRefs");return $APP.m(b)?(b=$APP.l(b,"panel").querySelector("["+
14
14
  $APP.M.i("data-active")+"]"),$APP.m(b)?b.scrollIntoView({block:"nearest"}):null):null},rfa=function(a){var b=Oz($APP.l(a,"__xComboboxOptions"),function(){var c=$APP.l(a,"__xComboboxQuery");return $APP.m(c)?c:""}());b=$APP.A(b,function(){var c=$APP.l(a,"__xComboboxActiveIdx");return $APP.m(c)?c:0}(),null);return $APP.m(b)?Vz(a,$APP.zi.i(b),$APP.Z.i(b)):null},sfa=function(a,b){return $APP.m(a.hasAttribute("open"))?(b=$APP.Bc(b.composedPath()),b=$APP.le(function(c){return c===a},b),$APP.m(b)?null:Uz(a,
15
15
  "outside-click")):null},tfa=function(a){var b=$APP.l(a,"__xComboboxRefs");if($APP.m(b)){for(var c={},d=$APP.q(Xz),e=null,f=0,g=0;;)if(g<f){var k=e.C(null,g),n=$APP.A(k,0,null),r=$APP.A(k,1,null),v=$APP.A(k,2,null),w=$APP.A(k,3,null),y=$APP.l(b,n);k=function(N,Q,T,S,da,na,ma,sa,Za,Ya){return function(wb){return Ya.j?Ya.j(a,wb):Ya.call(null,a,wb)}}(d,e,f,g,y,k,n,r,v,w,c,b,b);y.addEventListener(v,k);c[r]=k;g+=1}else if(n=$APP.q(d)){r=n;if($APP.Wc(r))d=$APP.Ab(r),g=$APP.Bb(r),e=d,f=$APP.x(d),d=g;else{w=
16
16
  $APP.t(r);var B=$APP.A(w,0,null);v=$APP.A(w,1,null);y=$APP.A(w,2,null);var G=$APP.A(w,3,null);k=$APP.l(b,B);d=function(N,Q,T,S,da,na,ma,sa,Za,Ya){return function(wb){return Ya.j?Ya.j(a,wb):Ya.call(null,a,wb)}}(d,e,f,g,k,w,B,v,y,G,r,n,c,b,b);k.addEventListener(y,d);c[v]=d;d=$APP.u(r);e=null;f=0}g=0}else break;d=$APP.q(Yz);e=null;for(g=f=0;;)if(g<f)y=e.C(null,g),r=$APP.A(y,0,null),v=$APP.A(y,1,null),k=$APP.A(y,2,null),y=function(N,Q,T,S,da,na,ma,sa){return function(Za){return sa.j?sa.j(a,Za):sa.call(null,
@@ -23,14 +23,14 @@ d=null,e=0),f=0;else break}$APP.P(a,"__xComboboxHandlers",null)}},$z=function(a)
23
23
  var k=document.createElement("div");$APP.R(k,"part","wrapper");k.appendChild(e);k.appendChild(f);k.appendChild(g);var n=document.createElement("div");$APP.R(n,"part","panel");$APP.R(n,"role","listbox");$APP.R(n,"id",d);$APP.R(n,"data-placement","bottom-start");d=document.createElement("span");$APP.R(d,"part","error");$APP.R(d,"id","error");$APP.R(d,"role","alert");$APP.R(d,"aria-live","assertive");d.classList.add("error-hidden");var r=document.createElement("slot"),v={};c.textContent=vfa;k.appendChild(n);
24
24
  b.appendChild(c);b.appendChild(k);b.appendChild(d);b.appendChild(r);$APP.P(a,"__xComboboxOptions",$APP.Re);$APP.P(a,"__xComboboxQuery","");$APP.P(a,"__xComboboxActiveIdx",0);v.wrapper=k;v.input=e;v.clear=f;v.chevron=g;v.panel=n;v.error=d;v.slot=r;$APP.P(a,"__xComboboxRefs",v);$APP.m(a.attachInternals)&&$APP.P(a,"__xComboboxInternals",a.attachInternals())}Zz(a);aA(a);tfa(a);$APP.m(a.hasAttribute("open"))&&$z(a);Pz(a);return Sz(a)},xfa=function(a){Zz(a);aA(a);return $APP.P(a,"__xComboboxModel",null)},
25
25
  yfa=function(a,b,c,d){return $APP.K.j(c,d)&&$APP.m($APP.l(a,"__xComboboxRefs"))?(Sz(a),$APP.z.j(b,"open")?$APP.m(a.hasAttribute("open"))?$z(a):aA(a):null):null},Afa=function(a){$APP.gk(a,"__xComboboxInternals");$APP.pj(a,zfa);Object.defineProperty(a,"show",{value:function(){return Tz(this,"programmatic")},writable:!0,configurable:!0});return Object.defineProperty(a,"hide",{value:function(){return Uz(this,"programmatic")},writable:!0,configurable:!0})},bA=function(){return $APP.Fj("x-combobox",new $APP.J(null,
26
- 7,[$APP.Ej,Bfa,$APP.Cj,wfa,$APP.zj,xfa,$APP.yj,yfa,$APP.Aj,!0,$APP.xj,ufa,$APP.Dj,Afa],null))};var Rz=new $APP.Rg(null,new $APP.J(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),Bfa="value placeholder name disabled required open placement error".split(" "),zfa=$APP.sg([$APP.Jy,$APP.$x,$APP.ky,$APP.Us,$APP.$k,$APP.Dm,$APP.Zk,$APP.zi,$APP.Hj,$APP.wu,$APP.zl,$APP.Qt,$APP.Vt],[new $APP.J(null,2,[$APP.O,$APP.X,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"open"],null),new $APP.J(null,2,[$APP.O,$APP.gt,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,
26
+ 7,[$APP.Ej,Bfa,$APP.Cj,wfa,$APP.zj,xfa,$APP.yj,yfa,$APP.Aj,!0,$APP.xj,ufa,$APP.Dj,Afa],null))};var Rz=new $APP.Rg(null,new $APP.J(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),Bfa="value placeholder name disabled required open placement error".split(" "),zfa=$APP.sg([$APP.Jy,$APP.$x,$APP.ky,$APP.Us,$APP.$k,$APP.Dm,$APP.Zk,$APP.zi,$APP.Hj,$APP.xu,$APP.zl,$APP.Rt,$APP.Wt],[new $APP.J(null,2,[$APP.O,$APP.X,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"open"],null),new $APP.J(null,2,[$APP.O,$APP.ht,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,
27
27
  $APP.nj,$APP.mj,!0],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"placeholder"],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"disabled"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"name"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"value"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"error"],null),new $APP.J(null,2,[$APP.O,$APP.ix,$APP.mj,!0],null),new $APP.J(null,3,[$APP.O,$APP.X,$APP.W,"placement",$APP.ux,Rz],null),new $APP.J(null,2,[$APP.O,$APP.nj,$APP.W,"required"],null),new $APP.J(null,
28
28
  2,[$APP.O,$APP.Yw,$APP.mj,!0],null)]);
29
- $APP.ee(["x-combobox-change-request",new $APP.J(null,3,[$APP.Zu,!0,$APP.Jv,$APP.ee(["value",$APP.zi]),$APP.Xi,new $APP.J(null,3,[$APP.zi,$APP.X,$APP.Z,$APP.X,$APP.kx,$APP.X],null)],null),"x-combobox-change",new $APP.J(null,2,[$APP.Zu,!1,$APP.Xi,new $APP.J(null,2,[$APP.zi,$APP.X,$APP.Z,$APP.X],null)],null),"x-combobox-input",new $APP.J(null,2,[$APP.Zu,!1,$APP.Xi,new $APP.J(null,1,[$APP.ts,$APP.X],null)],null),"x-combobox-toggle",new $APP.J(null,3,[$APP.Zu,!0,$APP.Jv,$APP.ee(["open",$APP.$x]),$APP.Xi,
30
- new $APP.J(null,2,[$APP.$x,$APP.nj,$APP.Bu,$APP.X],null)],null)]);var vfa=":host{display:inline-block;position:relative;color-scheme:light dark;--x-combobox-bg:var(--x-color-surface,#ffffff);--x-combobox-fg:var(--x-color-text,#0f172a);--x-combobox-placeholder:var(--x-color-text-muted,#94a3b8);--x-combobox-border:var(--x-border-width,1px) solid var(--x-color-border,#e2e8f0);--x-combobox-border-hover:var(--x-border-width,1px) solid var(--x-color-border,#cbd5e1);--x-combobox-border-focus:var(--x-border-width,1px) solid var(--x-color-focus-ring,#60a5fa);--x-combobox-radius:var(--x-radius-md,6px);--x-combobox-height:2.25rem;--x-combobox-font-size:var(--x-font-size-sm,0.9375rem);--x-combobox-padding:0 0.625rem;--x-combobox-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-combobox-error-color:var(--x-color-danger,#dc2626);--x-combobox-shadow:var(--x-shadow-sm,0 1px 2px rgba(0,0,0,0.05));--x-combobox-disabled-opacity:var(--x-opacity-disabled,0.55);--x-combobox-chevron-color:var(--x-color-text-muted,#64748b);--x-combobox-panel-bg:var(--x-color-bg,#ffffff);--x-combobox-panel-border:var(--x-border-width,1px) solid var(--x-color-border,#e2e8f0);--x-combobox-panel-radius:var(--x-radius-md,8px);--x-combobox-panel-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.12));--x-combobox-panel-max-height:16rem;--x-combobox-panel-offset:4px;--x-combobox-option-padding:0.5rem 0.625rem;--x-combobox-option-hover-bg:var(--x-color-surface-hover,#f1f5f9);--x-combobox-option-active-bg:var(--x-color-primary,#3b82f6);--x-combobox-option-active-fg:var(--x-color-on-primary,#ffffff);--x-combobox-transition-duration:var(--x-transition-duration,150ms);--x-combobox-transition-easing:var(--x-transition-easing,ease);}"+
29
+ $APP.ee(["x-combobox-change-request",new $APP.J(null,3,[$APP.$u,!0,$APP.Kv,$APP.ee(["value",$APP.zi]),$APP.Xi,new $APP.J(null,3,[$APP.zi,$APP.X,$APP.Z,$APP.X,$APP.kx,$APP.X],null)],null),"x-combobox-change",new $APP.J(null,2,[$APP.$u,!1,$APP.Xi,new $APP.J(null,2,[$APP.zi,$APP.X,$APP.Z,$APP.X],null)],null),"x-combobox-input",new $APP.J(null,2,[$APP.$u,!1,$APP.Xi,new $APP.J(null,1,[$APP.ts,$APP.X],null)],null),"x-combobox-toggle",new $APP.J(null,3,[$APP.$u,!0,$APP.Kv,$APP.ee(["open",$APP.$x]),$APP.Xi,
30
+ new $APP.J(null,2,[$APP.$x,$APP.nj,$APP.Cu,$APP.X],null)],null)]);var vfa=":host{display:inline-block;position:relative;color-scheme:light dark;--x-combobox-bg:var(--x-color-surface,#ffffff);--x-combobox-fg:var(--x-color-text,#0f172a);--x-combobox-placeholder:var(--x-color-text-muted,#94a3b8);--x-combobox-border:var(--x-border-width,1px) solid var(--x-color-border,#e2e8f0);--x-combobox-border-hover:var(--x-border-width,1px) solid var(--x-color-border,#cbd5e1);--x-combobox-border-focus:var(--x-border-width,1px) solid var(--x-color-focus-ring,#60a5fa);--x-combobox-radius:var(--x-radius-md,6px);--x-combobox-height:2.25rem;--x-combobox-font-size:var(--x-font-size-sm,0.9375rem);--x-combobox-padding:0 0.625rem;--x-combobox-focus-ring:var(--x-color-focus-ring,#60a5fa);--x-combobox-error-color:var(--x-color-danger,#dc2626);--x-combobox-shadow:var(--x-shadow-sm,0 1px 2px rgba(0,0,0,0.05));--x-combobox-disabled-opacity:var(--x-opacity-disabled,0.55);--x-combobox-chevron-color:var(--x-color-text-muted,#64748b);--x-combobox-panel-bg:var(--x-color-bg,#ffffff);--x-combobox-panel-border:var(--x-border-width,1px) solid var(--x-color-border,#e2e8f0);--x-combobox-panel-radius:var(--x-radius-md,8px);--x-combobox-panel-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.12));--x-combobox-panel-max-height:16rem;--x-combobox-panel-offset:4px;--x-combobox-option-padding:0.5rem 0.625rem;--x-combobox-option-hover-bg:var(--x-color-surface-hover,#f1f5f9);--x-combobox-option-active-bg:var(--x-color-primary,#3b82f6);--x-combobox-option-active-fg:var(--x-color-on-primary,#ffffff);--x-combobox-transition-duration:var(--x-transition-duration,150ms);--x-combobox-transition-easing:var(--x-transition-easing,ease);}"+
31
31
  $APP.M.i("button,input,select,textarea{font-family:inherit;}")+$APP.M.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-combobox-bg:var(--x-color-surface,#1e293b);--x-combobox-fg:var(--x-color-text,#e2e8f0);--x-combobox-placeholder:var(--x-color-text-muted,#64748b);--x-combobox-border:var(--x-border-width,1px) solid var(--x-color-border,#334155);--x-combobox-border-hover:var(--x-border-width,1px) solid var(--x-color-border,#475569);--x-combobox-border-focus:var(--x-border-width,1px) solid var(--x-color-focus-ring,#93c5fd);--x-combobox-focus-ring:var(--x-color-focus-ring,#93c5fd);--x-combobox-error-color:var(--x-color-danger,#f87171);--x-combobox-shadow:var(--x-shadow-sm,0 1px 2px rgba(0,0,0,0.2));--x-combobox-chevron-color:var(--x-color-text-muted,#94a3b8);--x-combobox-panel-bg:var(--x-color-bg,#1e293b);--x-combobox-panel-border:var(--x-border-width,1px) solid var(--x-color-border,#334155);--x-combobox-panel-shadow:var(--x-shadow-md,0 4px 24px rgba(0,0,0,0.4));--x-combobox-option-hover-bg:var(--x-color-surface-hover,#334155);--x-combobox-option-active-bg:var(--x-color-primary,#3b82f6);}}[part\x3dwrapper]{position:relative;display:flex;align-items:center;height:var(--x-combobox-height);background:var(--x-combobox-bg);border:var(--x-combobox-border);border-radius:var(--x-combobox-radius);box-shadow:var(--x-combobox-shadow);padding:var(--x-combobox-padding);cursor:text;transition:border var(--x-combobox-transition-duration) var(--x-combobox-transition-easing),box-shadow var(--x-combobox-transition-duration) var(--x-combobox-transition-easing);}[part\x3dwrapper]:hover{border:var(--x-combobox-border-hover);}:host(:focus-within) [part\x3dwrapper]{border:var(--x-combobox-border-focus);box-shadow:0 0 0 2px var(--x-combobox-focus-ring);}:host([data-invalid]) [part\x3dwrapper]{border:var(--x-border-width,1px) solid var(--x-combobox-error-color);}:host([data-invalid]:focus-within) [part\x3dwrapper]{border:var(--x-border-width,1px) solid var(--x-combobox-error-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--x-combobox-error-color) 45%,transparent);}:host(:disabled) [part\x3dwrapper]{opacity:var(--x-combobox-disabled-opacity);cursor:default;pointer-events:none;}[part\x3dinput]{all:unset;flex:1;min-width:0;height:100%;font-size:var(--x-combobox-font-size);font-family:inherit;color:var(--x-combobox-fg);}[part\x3dinput]::placeholder{color:var(--x-combobox-placeholder);}[part\x3dclear]{all:unset;display:none;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;font-size:0.875rem;color:var(--x-combobox-chevron-color);cursor:pointer;flex-shrink:0;border-radius:var(--x-radius-sm,2px);}[part\x3dclear]:hover{color:var(--x-combobox-fg);}[part\x3dclear]:focus-visible{outline:none;box-shadow:0 0 0 2px var(--x-combobox-focus-ring);}:host([data-has-value]) [part\x3dclear]{display:inline-flex;}:host(:disabled) [part\x3dclear]{display:none;}[part\x3dchevron]{display:inline-flex;align-items:center;color:var(--x-combobox-chevron-color);flex-shrink:0;margin-left:0.25rem;transition:transform var(--x-transition-duration,200ms) var(--x-transition-easing,ease);cursor:pointer;}:host([open]) [part\x3dchevron]{transform:rotate(180deg);}[part\x3dpanel]{position:absolute;z-index:var(--x-z-dropdown,1000);box-sizing:border-box;width:100%;background:var(--x-combobox-panel-bg);border:var(--x-combobox-panel-border);border-radius:var(--x-combobox-panel-radius);box-shadow:var(--x-combobox-panel-shadow);padding:0.25rem 0;max-height:var(--x-combobox-panel-max-height);max-width:calc(100% - 0rem);overflow-y:auto;visibility:hidden;pointer-events:none;opacity:0;transform:scaleY(0.95);transition:opacity var(--x-combobox-transition-duration) var(--x-combobox-transition-easing),transform var(--x-combobox-transition-duration) var(--x-combobox-transition-easing),visibility 0s var(--x-combobox-transition-duration);}:host([open]) [part\x3dpanel]{visibility:visible;pointer-events:auto;opacity:1;transform:scaleY(1);transition:opacity var(--x-combobox-transition-duration) var(--x-combobox-transition-easing),transform var(--x-combobox-transition-duration) var(--x-combobox-transition-easing),visibility 0s 0s;}[part\x3dpanel][data-placement\x3dbottom-start]{top:calc(100% + var(--x-combobox-panel-offset));left:0;transform-origin:top left;}[part\x3dpanel][data-placement\x3dbottom-end]{top:calc(100% + var(--x-combobox-panel-offset));right:0;transform-origin:top right;}[part\x3dpanel][data-placement\x3dtop-start]{bottom:calc(100% + var(--x-combobox-panel-offset));left:0;transform-origin:bottom left;}[part\x3dpanel][data-placement\x3dtop-end]{bottom:calc(100% + var(--x-combobox-panel-offset));right:0;transform-origin:bottom right;}[part\x3doption]{padding:var(--x-combobox-option-padding);font-size:var(--x-combobox-font-size);font-family:inherit;color:var(--x-combobox-fg);cursor:default;border-radius:var(--x-radius-sm,4px);margin:0 0.25rem;}[part\x3doption]:hover{background:var(--x-combobox-option-hover-bg);}[part\x3doption][data-active]{background:var(--x-combobox-option-active-bg);color:var(--x-combobox-option-active-fg);}[part\x3doption][data-active] b{color:inherit;}[part\x3doption] b{font-weight:var(--x-font-weight-bold,700);}[part\x3dempty-msg]{padding:var(--x-combobox-option-padding);font-size:var(--x-combobox-font-size);color:var(--x-combobox-placeholder);font-style:italic;margin:0 0.25rem;}[part\x3derror]{display:block;margin-top:0.25rem;font-size:var(--x-font-size-sm,0.8125rem);line-height:1.4;color:var(--x-combobox-error-color);}.error-hidden{display:none;}slot{display:none;}@media (prefers-reduced-motion:reduce){[part\x3dpanel]{transition:none !important;}[part\x3dwrapper]{transition:none !important;}[part\x3dchevron]{transition:none !important;}}@media (pointer:coarse){:host{--x-combobox-height:2.75rem;}[part\x3dclear]{width:2.75rem;height:2.75rem;}[part\x3doption]{min-height:2.75rem;display:flex;align-items:center;}}",
32
32
  Xz=new $APP.H(null,8,5,$APP.I,[new $APP.H(null,4,5,$APP.I,["input","inputFocus","focus",function(a){return Tz(a,"focus")}],null),new $APP.H(null,4,5,$APP.I,["input","inputInput","input",function(a,b){b=b.target.value;$APP.P(a,"__xComboboxQuery",b);$APP.P(a,"__xComboboxActiveIdx",0);$APP.m(a.hasAttribute("open"))||Tz(a,"input");Qz(a);return $APP.$i(a,"x-combobox-input",{query:b})}],null),new $APP.H(null,4,5,$APP.I,["input","inputKeydown","keydown",function(a,b){var c=b.key;$APP.z.j(c,"ArrowDown")?
33
- (b.preventDefault(),a=$APP.m(a.hasAttribute("open"))?Wz(a,$APP.bt):Tz(a,"keyboard")):$APP.z.j(c,"ArrowUp")?(b.preventDefault(),a=$APP.m(a.hasAttribute("open"))?Wz(a,$APP.Gw):Tz(a,"keyboard")):$APP.z.j(c,"Enter")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),a=rfa(a)):a=null:$APP.z.j(c,"Escape")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),Uz(a,"escape"),a=$APP.l(a,"__xComboboxRefs"),a=$APP.m(a)?$APP.l(a,"input").focus():null):a=null:$APP.z.j(c,"Home")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),
33
+ (b.preventDefault(),a=$APP.m(a.hasAttribute("open"))?Wz(a,$APP.ct):Tz(a,"keyboard")):$APP.z.j(c,"ArrowUp")?(b.preventDefault(),a=$APP.m(a.hasAttribute("open"))?Wz(a,$APP.Gw):Tz(a,"keyboard")):$APP.z.j(c,"Enter")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),a=rfa(a)):a=null:$APP.z.j(c,"Escape")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),Uz(a,"escape"),a=$APP.l(a,"__xComboboxRefs"),a=$APP.m(a)?$APP.l(a,"input").focus():null):a=null:$APP.z.j(c,"Home")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),
34
34
  $APP.P(a,"__xComboboxActiveIdx",0),a=Qz(a)):a=null:$APP.z.j(c,"End")?$APP.m(a.hasAttribute("open"))?(b.preventDefault(),b=$APP.l(a,"__xComboboxQuery"),b=$APP.x(Oz($APP.l(a,"__xComboboxOptions"),$APP.m(b)?b:"")),$APP.P(a,"__xComboboxActiveIdx",$APP.pk.j(0,b-1)),a=Qz(a)):a=null:a=null;return a}],null),new $APP.H(null,4,5,$APP.I,["clear","clearClick","click",function(a){var b=$APP.V.j(a,"value");return $APP.bj(a,"x-combobox-change-request",{value:"",label:"",previousValue:$APP.m(b)?b:""})?($APP.U(a,
35
35
  "value"),$APP.U(a,"data-has-value"),b=$APP.l(a,"__xComboboxRefs"),$APP.m(b)&&(b=$APP.l(b,"input"),b.value="",b.focus()),$APP.$i(a,"x-combobox-change",{value:"",label:""})):null}],null),new $APP.H(null,4,5,$APP.I,["chevron","chevronPointerdown","pointerdown",function(a,b){b.preventDefault();if($APP.m(a.hasAttribute("open")))return Uz(a,"pointer");Tz(a,"pointer");a=$APP.l(a,"__xComboboxRefs");return $APP.m(a)?$APP.l(a,"input").focus():null}],null),new $APP.H(null,4,5,$APP.I,["panel","panelPointerdown",
36
36
  "pointerdown",function(a,b){return b.preventDefault()}],null),new $APP.H(null,4,5,$APP.I,["panel","panelClick","click",function(a,b){b=b.target;b=$APP.m(b.hasAttribute("data-value"))?b:b.closest("["+$APP.M.i("data-value")+"]");if($APP.m(b)){var c=b.getAttribute("data-value");return Vz(a,c,b.textContent)}return null}],null),new $APP.H(null,4,5,$APP.I,["slot","slotchange","slotchange",function(a){Pz(a);$APP.P(a,"__xComboboxModel",null);return Sz(a)}],null)],null),Yz=new $APP.H(null,1,5,$APP.I,[new $APP.H(null,
@@ -21,6 +21,7 @@ export interface XCommandPalette extends HTMLElement {
21
21
  closeOnScrim: boolean;
22
22
  dismissible: boolean;
23
23
  modal: boolean;
24
+ filter: string;
24
25
  label: string;
25
26
  closeOnEscape: boolean;
26
27
  items: any;