@vanelsas/baredom 4.9.0 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/custom-elements.json +77 -19
  3. package/dist/baremirror-alpha.js +35 -35
  4. package/dist/base.js +513 -508
  5. package/dist/integrity.json +113 -113
  6. package/dist/requests.js +8 -0
  7. package/dist/x-alert.js +17 -17
  8. package/dist/x-avatar-group.js +10 -10
  9. package/dist/x-avatar.js +13 -13
  10. package/dist/x-badge.js +9 -9
  11. package/dist/x-bento-grid.js +6 -6
  12. package/dist/x-bento-item.js +4 -4
  13. package/dist/x-breadcrumbs.js +18 -18
  14. package/dist/x-button.js +1 -1
  15. package/dist/x-calendar.js +41 -41
  16. package/dist/x-cancel-dialogue.js +16 -16
  17. package/dist/x-card.js +7 -7
  18. package/dist/x-carousel.js +36 -36
  19. package/dist/x-chart.js +48 -48
  20. package/dist/x-checkbox.js +1 -1
  21. package/dist/x-chip.js +1 -1
  22. package/dist/x-code.js +30 -31
  23. package/dist/x-collapse.js +11 -11
  24. package/dist/x-color-picker.js +45 -45
  25. package/dist/x-combobox.js +35 -35
  26. package/dist/x-command-palette.js +31 -31
  27. package/dist/x-confetti.js +24 -24
  28. package/dist/x-container.js +6 -6
  29. package/dist/x-context-menu.js +20 -20
  30. package/dist/x-copy.js +1 -1
  31. package/dist/x-currency-field.js +24 -24
  32. package/dist/x-date-picker.js +47 -46
  33. package/dist/x-divider.js +8 -8
  34. package/dist/x-drag-panel.js +33 -33
  35. package/dist/x-drawer.js +12 -12
  36. package/dist/x-drop-zone.js +11 -11
  37. package/dist/x-dropdown.js +12 -12
  38. package/dist/x-fieldset.js +6 -6
  39. package/dist/x-file-download.js +15 -15
  40. package/dist/x-file-upload.js +26 -26
  41. package/dist/x-floating-panel.js +23 -23
  42. package/dist/x-form-field.js +17 -17
  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 +19 -19
  50. package/dist/x-kbd.js +13 -13
  51. package/dist/x-kinetic-canvas.js +25 -25
  52. package/dist/x-kinetic-font.js +26 -26
  53. package/dist/x-kinetic-typography.js +35 -35
  54. package/dist/x-liquid-dock.js +31 -31
  55. package/dist/x-liquid-fill.js +40 -40
  56. package/dist/x-liquid-glass.js +38 -38
  57. package/dist/x-menu-item.js +9 -9
  58. package/dist/x-menu.js +10 -10
  59. package/dist/x-metaball-cursor.js +26 -26
  60. package/dist/x-modal.js +12 -12
  61. package/dist/x-morph-stack.js +38 -38
  62. package/dist/x-multi-combobox.js +43 -45
  63. package/dist/x-navbar.js +15 -15
  64. package/dist/x-neural-glow.js +30 -30
  65. package/dist/x-notification-center.js +9 -9
  66. package/dist/x-organic-divider.js +18 -18
  67. package/dist/x-organic-progress.js +35 -35
  68. package/dist/x-organic-shape.js +14 -14
  69. package/dist/x-otp-input.js +22 -22
  70. package/dist/x-pagination.js +18 -18
  71. package/dist/x-particle-button.js +52 -52
  72. package/dist/x-popover.js +28 -28
  73. package/dist/x-progress-circle.js +8 -8
  74. package/dist/x-progress.js +8 -8
  75. package/dist/x-proximity-list.js +20 -20
  76. package/dist/x-radio.js +13 -14
  77. package/dist/x-range-slider.js +29 -30
  78. package/dist/x-rating.js +24 -24
  79. package/dist/x-ripple-effect.js +10 -10
  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 +34 -34
  83. package/dist/x-scroll-timeline.js +50 -50
  84. package/dist/x-scroll.js +38 -38
  85. package/dist/x-search-field.js +1 -1
  86. package/dist/x-select.js +1 -1
  87. package/dist/x-sidebar.js +17 -17
  88. package/dist/x-skeleton-group.js +14 -14
  89. package/dist/x-skeleton.js +1 -1
  90. package/dist/x-slider.js +17 -17
  91. package/dist/x-soft-body.js +18 -18
  92. package/dist/x-spacer.js +3 -4
  93. package/dist/x-spinner.js +4 -4
  94. package/dist/x-splash.js +13 -13
  95. package/dist/x-split-pane.js +15 -15
  96. package/dist/x-spotlight-card.js +12 -12
  97. package/dist/x-stat.js +10 -10
  98. package/dist/x-stepper.js +15 -15
  99. package/dist/x-switch.js +12 -12
  100. package/dist/x-tab.js +7 -7
  101. package/dist/x-table-cell.js +20 -20
  102. package/dist/x-table-row.d.ts +1 -0
  103. package/dist/x-table-row.js +8 -9
  104. package/dist/x-table.d.ts +8 -5
  105. package/dist/x-table.js +20 -14
  106. package/dist/x-tabs.js +12 -12
  107. package/dist/x-text-area.js +20 -20
  108. package/dist/x-theme.js +26 -26
  109. package/dist/x-timeline-item.js +21 -21
  110. package/dist/x-timeline.js +9 -9
  111. package/dist/x-toast.js +22 -22
  112. package/dist/x-toaster.js +7 -7
  113. package/dist/x-tooltip.js +14 -14
  114. package/dist/x-trace-history.js +117 -117
  115. package/dist/x-typography.js +6 -6
  116. package/dist/x-welcome-tour.js +63 -64
  117. package/package.json +1 -1
@@ -1,21 +1,21 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var o7=function(a){return typeof a==="string"?(a=parseInt(a,10),$APP.p(isNaN(a))&&a>0?a:null):null},x7=function(a){a=$APP.ug([p7,$APP.Zk,$APP.Hk,$APP.Sn,$APP.Bt,q7,$APP.$k,r7,$APP.al,$APP.qm,$APP.Ik,$APP.bl,s7,$APP.Jk],[a.getAttribute("resize"),a.getAttribute("label"),a.getAttribute("name"),a.getAttribute("error"),a.getAttribute("hint"),a.getAttribute("rows"),$APP.Oj(a),a.getAttribute("maxlength"),a.hasAttribute("required"),a.hasAttribute("readonly"),a.getAttribute("value"),a.getAttribute("autocomplete"),
3
- a.getAttribute("minlength"),a.getAttribute("placeholder")]);var b=$APP.G(a),c=$APP.C(b,s7),d=$APP.C(b,$APP.Jk),e=$APP.C(b,p7),f=$APP.C(b,$APP.Zk),g=$APP.C(b,$APP.Hk),k=$APP.C(b,$APP.Sn),n=$APP.C(b,$APP.Bt),r=$APP.C(b,q7);a=$APP.C(b,$APP.$k);var v=$APP.C(b,r7),w=$APP.C(b,$APP.al),y=$APP.C(b,$APP.qm),A=$APP.C(b,$APP.Ik);b=$APP.C(b,$APP.bl);var E=$APP.m(k)?k:"",J=$APP.m(n)?n:"",O=$APP.m(f)?f:"";w=$APP.D(w);y=$APP.D(y);d=$APP.m(d)?d:"";n=typeof n==="string"&&$APP.M.j(n,"");g=$APP.m(g)?g:"";A=$APP.m(A)?
4
- A:"";c=o7(c);f=typeof f==="string"&&$APP.M.j(f,"");k=typeof k==="string"&&$APP.M.j(k,"");e=typeof e==="string"&&$APP.bd(t7,e)?e:"vertical";r=o7(r);return $APP.ug([$APP.Hj,$APP.vm,$APP.el,$APP.Bp,$APP.dl,$APP.Q,u7,$APP.Ir,$APP.Fj,v7,$APP.Rr,w7,$APP.Jt,$APP.Z,$APP.Gj,$APP.gl,$APP.fl],[w,y,d,n,g,A,c,f,k,e,J,o7(v),$APP.m(r)?r:3,O,E,$APP.m(b)?b:"",$APP.D(a)])},y7=function(a,b,c,d){a.textContent=b;$APP.m(c)?a.classList.remove(d):a.classList.add(d)},z7=function(a,b){var c=$APP.l(a,"__xTextAreaInternals");
5
- return $APP.m(c)?$APP.Mj(c,b,new $APP.K(null,4,[$APP.Fj,a.hasAttribute("error"),$APP.Gj,a.getAttribute("error"),$APP.Hj,a.hasAttribute("required"),$APP.Ij,$APP.z.j(b.value,"")],null)):null},A7=function(a,b,c){var d=$APP.l(b,"textarea"),e=$APP.l(b,"label"),f=$APP.l(b,"hint");b=$APP.l(b,"error");var g=$APP.G(c),k=$APP.C(g,$APP.gl),n=$APP.C(g,$APP.fl),r=$APP.C(g,$APP.Hj),v=$APP.C(g,$APP.vm),w=$APP.C(g,$APP.el),y=$APP.C(g,u7),A=$APP.C(g,$APP.dl),E=$APP.C(g,v7),J=$APP.C(g,w7);g=$APP.C(g,$APP.Jt);d.name=
6
- A;d.placeholder=w;d.disabled=n;d.readOnly=v;d.required=r;d.rows=g;d.autocomplete=k;$APP.m(J)?$APP.U(d,"maxlength",""+$APP.N.i(J)):$APP.V(d,"maxlength");$APP.m(y)?$APP.U(d,"minlength",""+$APP.N.i(y)):$APP.V(d,"minlength");a.style.setProperty("--x-text-area-resize",E);r=$APP.G(c);k=$APP.C(r,$APP.Hj);n=$APP.C(r,$APP.Fj);r=$APP.C(r,$APP.Bp);$APP.U(d,"aria-required",$APP.m(k)?"true":"false");$APP.U(d,"aria-invalid",$APP.m(n)?"true":"false");k=$APP.m($APP.m(r)?n:r)?"hint error":$APP.m(r)?"hint":$APP.m(n)?
7
- "error":null;$APP.m(k)?$APP.U(d,"aria-describedby",k):$APP.V(d,"aria-describedby");n=$APP.G(c);k=$APP.C(n,$APP.Z);n=$APP.C(n,$APP.Ir);y7(e,k,n,"label-hidden");k=$APP.G(c);e=$APP.C(k,$APP.Rr);k=$APP.C(k,$APP.Bp);y7(f,e,k,"hint-hidden");e=$APP.G(c);f=$APP.C(e,$APP.Gj);e=$APP.C(e,$APP.Fj);y7(b,f,e,"error-hidden");b=$APP.G(c);b=$APP.C(b,$APP.Fj);$APP.Ci(a,"data-invalid",b);z7(a,d);return $APP.T(a,"__xTextAreaModel",c)},B7=function(a){var b=$APP.l(a,"__xTextAreaRefs");return $APP.m(b)?A7(a,b,x7(a)):null},
8
- C7=function(a){a=a.getAttribute("value");return $APP.m(a)?a:""},D7=function(a,b){a=$APP.l(a,"__xTextAreaInternals");$APP.m(a)&&a.setFormValue(b.value)},E7=function(a,b){D7(a,b);return z7(a,b)},$Aa=function(a){var b=$APP.l(a,"__xTextAreaRefs");if($APP.m(b)){b=$APP.l(b,"textarea");var c=function(){var e=$APP.l(a,"__xTextAreaRefs");if($APP.m(e)){e=$APP.l(e,"textarea");var f=a.getAttribute("name");f=$APP.m(f)?f:"";$APP.Oi(a,"x-text-area-change-request",{name:f,value:e.value,previousValue:C7(a)})?(E7(a,
9
- e),e=$APP.Mi(a,"x-text-area-input",{name:f,value:e.value})):(e.value=C7(a),e=E7(a,e))}else e=null;return e},d=function(){var e=$APP.l(a,"__xTextAreaRefs");if($APP.m(e)){e=$APP.l(e,"textarea");var f=e.value;var g=a.getAttribute("name");g=$APP.m(g)?g:"";E7(a,e);e=$APP.Mi(a,"x-text-area-change",{name:g,value:f})}else e=null;return e};b.addEventListener("input",c);b.addEventListener("change",d);$APP.T(a,"__xTextAreaHandlers",{input:c,change:d})}},F7=function(a){var b=$APP.l(a,"__xTextAreaRefs");if($APP.m(b)){var c=
10
- $APP.l(a,"__xTextAreaHandlers");if($APP.m(c))return b=$APP.l(b,"textarea"),b.removeEventListener("input",$APP.l(c,"input")),b.removeEventListener("change",$APP.l(c,"change")),$APP.T(a,"__xTextAreaHandlers",null)}return null},aBa=function(a){$APP.V(a,"value");$APP.V(a,"error");var b=$APP.l(a,"__xTextAreaRefs");$APP.m(b)&&($APP.l(b,"textarea").value="");b=$APP.l(a,"__xTextAreaInternals");$APP.m(b)&&b.setFormValue("");return B7(a)},cBa=function(a){if(!$APP.m($APP.l(a,"__xTextAreaRefs"))){var b=a.attachShadow({mode:"open"}),
11
- c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("label"),f=document.createElement("div"),g=document.createElement("textarea"),k=document.createElement("span"),n=document.createElement("span");c.textContent=bBa;$APP.U(d,"part","field");$APP.U(e,"part","label");$APP.U(e,"id","label");$APP.U(e,"for","textarea");$APP.U(f,"part","textarea-wrapper");$APP.U(g,"part","textarea");$APP.U(g,"id","textarea");$APP.U(g,"aria-labelledby","label");$APP.U(k,"part","hint");
12
- $APP.U(k,"id","hint");$APP.U(k,"aria-live","polite");$APP.U(n,"part","error");$APP.U(n,"id","error");$APP.U(n,"role","alert");$APP.U(n,"aria-live","assertive");f.appendChild(g);d.appendChild(e);d.appendChild(f);d.appendChild(k);d.appendChild(n);b.appendChild(c);b.appendChild(d);$APP.T(a,"__xTextAreaRefs",{field:d,label:e,textarea:g,hint:k,error:n});$APP.m(a.attachInternals)&&$APP.T(a,"__xTextAreaInternals",a.attachInternals())}F7(a);b=$APP.l(a,"__xTextAreaRefs");$APP.m(b)&&(b=$APP.l(b,"textarea"),
13
- c=a.getAttribute("value"),$APP.m(c)&&(b.value=c),D7(a,b));$Aa(a);return B7(a)},dBa=function(a){return F7(a)},eBa=function(a,b,c,d){return $APP.M.j(c,d)?($APP.z.j(b,"value")&&(b=$APP.l(a,"__xTextAreaRefs"),$APP.m(b)&&(b=$APP.l(b,"textarea"),$APP.M.j(b.value,d)&&(b.value=$APP.m(d)?d:""),D7(a,b))),d=$APP.l(a,"__xTextAreaRefs"),$APP.m(d)?(b=x7(a),a=$APP.M.j(b,$APP.l(a,"__xTextAreaModel"))?A7(a,d,b):null):a=null,a):null},fBa=function(a){Object.defineProperty(a,"value",{configurable:!0,enumerable:!0,get:function(){var b=
14
- $APP.l(this,"__xTextAreaRefs");if($APP.m(b))return $APP.l(b,"textarea").value;b=this.getAttribute("value");return $APP.m(b)?b:""},set:function(b){b=b!=null&&$APP.M.j(b,void 0)?""+$APP.N.i(b):"";$APP.U(this,"value",b);var c=$APP.l(this,"__xTextAreaRefs");return $APP.m(c)?$APP.l(c,"textarea").value=b:null}})},gBa=function(a){$APP.Rj(a,"__xTextAreaInternals");fBa(a);$APP.Ui(a,"name","name","");$APP.Ui(a,"placeholder","placeholder","");$APP.Ui(a,"autocomplete","autocomplete","");$APP.Ui(a,"label","label",
15
- "");$APP.Ui(a,"hint","hint","");$APP.Ui(a,"error","error","");$APP.Ui(a,"resize","resize","vertical");$APP.Ri(a,"disabled","disabled");$APP.Ri(a,"readOnly","readonly");$APP.Ri(a,"required","required");$APP.Wi(a,"rows","rows",3);$APP.Wi(a,"maxLength","maxlength",null);return $APP.Wi(a,"minLength","minlength",null)},G7=function(){return $APP.Ej("x-text-area",new $APP.K(null,7,[$APP.Dj,hBa,$APP.Bj,cBa,$APP.yj,dBa,$APP.xj,eBa,$APP.zj,!0,$APP.wj,aBa,$APP.Cj,gBa],null))},w7=new $APP.F(null,"maxlength",
16
- "maxlength",-1163911985),p7=new $APP.F(null,"resize-raw","resize-raw",-287517888),v7=new $APP.F(null,"resize","resize",297367086),u7=new $APP.F(null,"minlength","minlength",259053545),s7=new $APP.F(null,"minlength-raw","minlength-raw",-1245403779),r7=new $APP.F(null,"maxlength-raw","maxlength-raw",-886656470),q7=new $APP.F(null,"rows-raw","rows-raw",-1828357145);var hBa="label name value placeholder hint error disabled readonly required rows maxlength minlength autocomplete resize".split(" "),t7=new $APP.Ug(null,new $APP.K(null,4,["none",null,"vertical",null,"both",null,"horizontal",null],null),null);
17
- $APP.ug([$APP.ew,$APP.Hv,$APP.lq,$APP.el,$APP.ln,$APP.dl,$APP.Q,new $APP.F(null,"minLength","minLength",-1538722770),v7,$APP.Rr,$APP.Jt,$APP.Av,$APP.Z,new $APP.F(null,"maxLength","maxLength",-1633020073),$APP.Gj,$APP.gl,$APP.zr,$APP.Vq,$APP.$q],[new $APP.K(null,2,[$APP.P,$APP.X,$APP.Yi,!0],null),new $APP.K(null,2,[$APP.P,$APP.zq,$APP.Yi,!0],null),new $APP.K(null,2,[$APP.P,$APP.Zi,$APP.Yi,!0],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"placeholder"],null),new $APP.K(null,2,[$APP.P,$APP.Zi,$APP.W,
18
- "disabled"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"name"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"value"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"minlength"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"resize",$APP.Mu,t7],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"hint"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"rows"],null),new $APP.K(null,2,[$APP.P,$APP.Zi,$APP.W,"readonly"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"label"],null),new $APP.K(null,2,[$APP.P,
19
- $APP.Y,$APP.W,"maxlength"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"error"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"autocomplete"],null),new $APP.K(null,2,[$APP.P,$APP.Au,$APP.Yi,!0],null),new $APP.K(null,2,[$APP.P,$APP.Zi,$APP.W,"required"],null),new $APP.K(null,2,[$APP.P,$APP.nu,$APP.Yi,!0],null)]);
20
- $APP.ge(["x-text-area-change-request",new $APP.K(null,3,[$APP.Zr,!0,$APP.Xs,$APP.ge(["value",$APP.Q]),$APP.Ji,new $APP.K(null,3,[$APP.dl,$APP.X,$APP.Q,$APP.X,$APP.Cu,$APP.X],null)],null),"x-text-area-input",new $APP.K(null,2,[$APP.Zr,!1,$APP.Ji,new $APP.K(null,2,[$APP.dl,$APP.X,$APP.Q,$APP.X],null)],null),"x-text-area-change",new $APP.K(null,2,[$APP.Zr,!1,$APP.Ji,new $APP.K(null,2,[$APP.dl,$APP.X,$APP.Q,$APP.X],null)],null)]);var bBa=":host{display:block;color-scheme:light dark;--x-text-area-label-color:var(--x-color-text-muted,#374151);--x-text-area-label-font-size:var(--x-font-size-sm,0.875rem);--x-text-area-bg:var(--x-color-surface,#ffffff);--x-text-area-color:var(--x-color-text,#111827);--x-text-area-border:var(--x-border-width,1px) solid var(--x-color-border,#d1d5db);--x-text-area-border-radius:var(--x-radius-md,6px);--x-text-area-padding:0.5rem 0.75rem;--x-text-area-focus-ring-color:var(--x-color-primary,#2563eb);--x-text-area-error-color:var(--x-color-danger,#dc2626);--x-text-area-hint-color:var(--x-color-text-muted,#6b7280);--x-text-area-disabled-opacity:0.45;--x-text-area-min-height:5rem;--x-text-area-font-size:var(--x-font-size-base,1rem);--x-text-area-resize:vertical;}"+
21
- $APP.N.i("button,input,select,textarea{font-family:inherit;}")+$APP.N.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-text-area-label-color:var(--x-color-text-muted,#d1d5db);--x-text-area-bg:var(--x-color-surface,#1f2937);--x-text-area-color:var(--x-color-text,#f9fafb);--x-text-area-border:var(--x-border-width,1px) solid var(--x-color-border,#4b5563);--x-text-area-focus-ring-color:var(--x-color-primary,#3b82f6);--x-text-area-error-color:var(--x-color-danger,#f87171);--x-text-area-hint-color:var(--x-color-text-muted,#9ca3af);}}[part\x3dfield]{display:flex;flex-direction:column;gap:0.25rem;}[part\x3dlabel]{display:block;font-size:var(--x-text-area-label-font-size);font-weight:var(--x-font-weight-medium,500);color:var(--x-text-area-label-color);}.label-hidden{display:none;}[part\x3dtextarea-wrapper]{display:block;}[part\x3dtextarea]{display:block;width:100%;box-sizing:border-box;min-height:var(--x-text-area-min-height);padding:var(--x-text-area-padding);background:var(--x-text-area-bg);color:var(--x-text-area-color);border:var(--x-text-area-border);border-radius:var(--x-text-area-border-radius);font-size:var(--x-text-area-font-size);line-height:var(--x-line-height-normal,1.5);font-family:inherit;outline:none;resize:var(--x-text-area-resize);transition:border-color var(--x-transition-duration,120ms) var(--x-transition-easing,ease),box-shadow var(--x-transition-duration,120ms) var(--x-transition-easing,ease);}[part\x3dtextarea]:focus{border-color:var(--x-text-area-focus-ring-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--x-text-area-focus-ring-color) 20%,transparent);}:host([data-invalid]) [part\x3dtextarea]{border-color:var(--x-text-area-error-color);}:host([data-invalid]) [part\x3dtextarea]:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--x-text-area-error-color) 20%,transparent);}[part\x3dtextarea]:disabled{opacity:var(--x-text-area-disabled-opacity);cursor:not-allowed;}[part\x3dhint]{display:block;font-size:var(--x-font-size-sm,0.8125rem);color:var(--x-text-area-hint-color);}.hint-hidden{display:none;}[part\x3derror]{display:block;font-size:var(--x-font-size-sm,0.8125rem);color:var(--x-text-area-error-color);}.error-hidden{display:none;}@media (prefers-reduced-motion:reduce){[part\x3dtextarea]{transition:none;}}";$APP.ea("baredom.exports.x_text_area.init",G7);export const init=G7;
2
+ var C7=function(a){return typeof a==="string"?(a=parseInt(a,10),$APP.p(isNaN(a))&&a>0?a:null):null},L7=function(a){a=$APP.ug([D7,$APP.Ik,$APP.Gk,$APP.Yn,$APP.Jt,E7,$APP.Jk,F7,$APP.Kk,$APP.xm,$APP.Lk,G7,$APP.Hk],[$APP.V.j(a,"resize"),$APP.V.j(a,"label"),$APP.V.j(a,"name"),$APP.V.j(a,"error"),$APP.V.j(a,"hint"),$APP.V.j(a,"rows"),$APP.Pj(a),$APP.V.j(a,"maxlength"),a.hasAttribute("required"),a.hasAttribute("readonly"),$APP.V.j(a,"autocomplete"),$APP.V.j(a,"minlength"),$APP.V.j(a,"placeholder")]);var b=
3
+ $APP.F(a),c=$APP.C(b,G7),d=$APP.C(b,$APP.Hk),e=$APP.C(b,D7),f=$APP.C(b,$APP.Ik),g=$APP.C(b,$APP.Gk),k=$APP.C(b,$APP.Yn),n=$APP.C(b,$APP.Jt),r=$APP.C(b,E7);a=$APP.C(b,$APP.Jk);var v=$APP.C(b,F7),w=$APP.C(b,$APP.Kk),y=$APP.C(b,$APP.xm);b=$APP.C(b,$APP.Lk);var A=$APP.m(k)?k:"",G=$APP.m(n)?n:"",M=$APP.m(f)?f:"";w=$APP.D(w);y=$APP.D(y);d=$APP.m(d)?d:"";n=typeof n==="string"&&$APP.K.j(n,"");g=$APP.m(g)?g:"";c=C7(c);f=typeof f==="string"&&$APP.K.j(f,"");k=typeof k==="string"&&$APP.K.j(k,"");e=typeof e===
4
+ "string"&&$APP.bd(H7,e)?e:"vertical";r=C7(r);return $APP.ug([$APP.Ij,$APP.Cm,$APP.cl,$APP.Hp,$APP.bl,I7,$APP.Or,$APP.Gj,J7,$APP.Yr,K7,$APP.Rt,$APP.Z,$APP.Hj,$APP.el,$APP.dl],[w,y,d,n,g,c,f,k,e,G,C7(v),$APP.m(r)?r:3,M,A,$APP.m(b)?b:"",$APP.D(a)])},M7=function(a,b,c,d){a.textContent=b;$APP.m(c)?a.classList.remove(d):a.classList.add(d)},N7=function(a,b){var c=$APP.l(a,"__xTextAreaInternals");return $APP.m(c)?$APP.Nj(c,b,new $APP.J(null,4,[$APP.Gj,a.hasAttribute("error"),$APP.Hj,$APP.V.j(a,"error"),$APP.Ij,
5
+ a.hasAttribute("required"),$APP.Jj,$APP.z.j(b.value,"")],null)):null},O7=function(a,b,c){var d=$APP.l(b,"textarea"),e=$APP.l(b,"label"),f=$APP.l(b,"hint");b=$APP.l(b,"error");var g=$APP.F(c),k=$APP.C(g,$APP.el),n=$APP.C(g,$APP.dl),r=$APP.C(g,$APP.Ij),v=$APP.C(g,$APP.Cm),w=$APP.C(g,$APP.cl),y=$APP.C(g,I7),A=$APP.C(g,$APP.bl),G=$APP.C(g,J7),M=$APP.C(g,K7);g=$APP.C(g,$APP.Rt);d.name=A;d.placeholder=w;d.disabled=n;d.readOnly=v;d.required=r;d.rows=g;d.autocomplete=k;$APP.m(M)?$APP.R(d,"maxlength",""+$APP.N.i(M)):
6
+ $APP.U(d,"maxlength");$APP.m(y)?$APP.R(d,"minlength",""+$APP.N.i(y)):$APP.U(d,"minlength");a.style.setProperty("--x-text-area-resize",G);r=$APP.F(c);k=$APP.C(r,$APP.Ij);n=$APP.C(r,$APP.Gj);r=$APP.C(r,$APP.Hp);$APP.R(d,"aria-required",$APP.m(k)?"true":"false");$APP.R(d,"aria-invalid",$APP.m(n)?"true":"false");k=$APP.m($APP.m(r)?n:r)?"hint error":$APP.m(r)?"hint":$APP.m(n)?"error":null;$APP.m(k)?$APP.R(d,"aria-describedby",k):$APP.U(d,"aria-describedby");n=$APP.F(c);k=$APP.C(n,$APP.Z);n=$APP.C(n,$APP.Or);
7
+ M7(e,k,n,"label-hidden");k=$APP.F(c);e=$APP.C(k,$APP.Yr);k=$APP.C(k,$APP.Hp);M7(f,e,k,"hint-hidden");e=$APP.F(c);f=$APP.C(e,$APP.Hj);e=$APP.C(e,$APP.Gj);M7(b,f,e,"error-hidden");b=$APP.F(c);b=$APP.C(b,$APP.Gj);$APP.Di(a,"data-invalid",b);N7(a,d);return $APP.Q(a,"__xTextAreaModel",c)},P7=function(a){var b=$APP.l(a,"__xTextAreaRefs");return $APP.m(b)?O7(a,b,L7(a)):null},Q7=function(a,b){a=$APP.l(a,"__xTextAreaInternals");$APP.m(a)&&a.setFormValue(b.value)},R7=function(a,b){Q7(a,b);return N7(a,b)},eBa=
8
+ function(a){var b=$APP.l(a,"__xTextAreaRefs");if($APP.m(b)){b=$APP.l(b,"textarea");var c=function(){var e=$APP.l(a,"__xTextAreaRefs");if($APP.m(e)){e=$APP.l(e,"textarea");var f=$APP.V.j(a,"name");f=$APP.m(f)?f:"";$APP.Pi(a,"x-text-area-change-request",{name:f,value:e.value,previousValue:$APP.V.l(a,"value","")})?($APP.R(a,"value",e.value),e=$APP.Ni(a,"x-text-area-input",{name:f,value:e.value})):(e.value=$APP.V.l(a,"value",""),e=R7(a,e))}else e=null;return e},d=function(){var e=$APP.l(a,"__xTextAreaRefs");
9
+ if($APP.m(e)){e=$APP.l(e,"textarea");var f=e.value;var g=$APP.V.j(a,"name");g=$APP.m(g)?g:"";R7(a,e);e=$APP.Ni(a,"x-text-area-change",{name:g,value:f})}else e=null;return e};b.addEventListener("input",c);b.addEventListener("change",d);$APP.Q(a,"__xTextAreaHandlers",{input:c,change:d})}},S7=function(a){var b=$APP.l(a,"__xTextAreaRefs");if($APP.m(b)){var c=$APP.l(a,"__xTextAreaHandlers");if($APP.m(c))return b=$APP.l(b,"textarea"),b.removeEventListener("input",$APP.l(c,"input")),b.removeEventListener("change",
10
+ $APP.l(c,"change")),$APP.Q(a,"__xTextAreaHandlers",null)}return null},fBa=function(a){$APP.U(a,"value");$APP.U(a,"error");var b=$APP.l(a,"__xTextAreaRefs");$APP.m(b)&&($APP.l(b,"textarea").value="");b=$APP.l(a,"__xTextAreaInternals");$APP.m(b)&&b.setFormValue("");return P7(a)},hBa=function(a){if(!$APP.m($APP.l(a,"__xTextAreaRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("label"),f=document.createElement("div"),
11
+ g=document.createElement("textarea"),k=document.createElement("span"),n=document.createElement("span");c.textContent=gBa;$APP.R(d,"part","field");$APP.R(e,"part","label");$APP.R(e,"id","label");$APP.R(e,"for","textarea");$APP.R(f,"part","textarea-wrapper");$APP.R(g,"part","textarea");$APP.R(g,"id","textarea");$APP.R(g,"aria-labelledby","label");$APP.R(k,"part","hint");$APP.R(k,"id","hint");$APP.R(k,"aria-live","polite");$APP.R(n,"part","error");$APP.R(n,"id","error");$APP.R(n,"role","alert");$APP.R(n,
12
+ "aria-live","assertive");f.appendChild(g);d.appendChild(e);d.appendChild(f);d.appendChild(k);d.appendChild(n);b.appendChild(c);b.appendChild(d);$APP.Q(a,"__xTextAreaRefs",{field:d,label:e,textarea:g,hint:k,error:n});$APP.m(a.attachInternals)&&$APP.Q(a,"__xTextAreaInternals",a.attachInternals())}S7(a);b=$APP.l(a,"__xTextAreaRefs");$APP.m(b)&&(b=$APP.l(b,"textarea"),c=$APP.V.j(a,"value"),$APP.m(c)&&(b.value=c),Q7(a,b));eBa(a);return P7(a)},iBa=function(a){return S7(a)},jBa=function(a,b,c,d){return $APP.K.j(c,
13
+ d)?($APP.z.j(b,"value")&&(b=$APP.l(a,"__xTextAreaRefs"),$APP.m(b)&&(b=$APP.l(b,"textarea"),$APP.K.j(b.value,d)&&(b.value=$APP.m(d)?d:""),R7(a,b))),d=$APP.l(a,"__xTextAreaRefs"),$APP.m(d)?(b=L7(a),a=$APP.K.j(b,$APP.l(a,"__xTextAreaModel"))?O7(a,d,b):null):a=null,a):null},kBa=function(a){Object.defineProperty(a,"value",{configurable:!0,enumerable:!0,get:function(){var b=$APP.l(this,"__xTextAreaRefs");if($APP.m(b))return $APP.l(b,"textarea").value;b=$APP.V.j(this,"value");return $APP.m(b)?b:""},set:function(b){b=
14
+ b!=null&&$APP.K.j(b,void 0)?""+$APP.N.i(b):"";$APP.R(this,"value",b);var c=$APP.l(this,"__xTextAreaRefs");return $APP.m(c)?$APP.l(c,"textarea").value=b:null}})},lBa=function(a){$APP.Sj(a,"__xTextAreaInternals");kBa(a);$APP.Vi(a,"name","name","");$APP.Vi(a,"placeholder","placeholder","");$APP.Vi(a,"autocomplete","autocomplete","");$APP.Vi(a,"label","label","");$APP.Vi(a,"hint","hint","");$APP.Vi(a,"error","error","");$APP.Vi(a,"resize","resize","vertical");$APP.Si(a,"disabled","disabled");$APP.Si(a,
15
+ "readOnly","readonly");$APP.Si(a,"required","required");$APP.Xi(a,"rows","rows",3);$APP.Xi(a,"maxLength","maxlength",null);return $APP.Xi(a,"minLength","minlength",null)},T7=function(){return $APP.Fj("x-text-area",new $APP.J(null,7,[$APP.Ej,mBa,$APP.Cj,hBa,$APP.zj,iBa,$APP.yj,jBa,$APP.Aj,!0,$APP.xj,fBa,$APP.Dj,lBa],null))},K7=new $APP.E(null,"maxlength","maxlength",-1163911985),D7=new $APP.E(null,"resize-raw","resize-raw",-287517888),J7=new $APP.E(null,"resize","resize",297367086),I7=new $APP.E(null,
16
+ "minlength","minlength",259053545),G7=new $APP.E(null,"minlength-raw","minlength-raw",-1245403779),F7=new $APP.E(null,"maxlength-raw","maxlength-raw",-886656470),E7=new $APP.E(null,"rows-raw","rows-raw",-1828357145);var mBa="label name value placeholder hint error disabled readonly required rows maxlength minlength autocomplete resize".split(" "),H7=new $APP.Ug(null,new $APP.J(null,4,["none",null,"vertical",null,"both",null,"horizontal",null],null),null);
17
+ $APP.ug([$APP.nw,$APP.Pv,$APP.rq,$APP.cl,$APP.rn,$APP.bl,$APP.si,new $APP.E(null,"minLength","minLength",-1538722770),J7,$APP.Yr,$APP.Rt,$APP.Iv,$APP.Z,new $APP.E(null,"maxLength","maxLength",-1633020073),$APP.Hj,$APP.el,$APP.Fr,$APP.ar,$APP.fr],[new $APP.J(null,2,[$APP.O,$APP.X,$APP.Zi,!0],null),new $APP.J(null,2,[$APP.O,$APP.Fq,$APP.Zi,!0],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.Zi,!0],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"placeholder"],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.W,
18
+ "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.Y,$APP.W,"minlength"],null),new $APP.J(null,3,[$APP.O,$APP.X,$APP.W,"resize",$APP.Uu,H7],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"hint"],null),new $APP.J(null,2,[$APP.O,$APP.Y,$APP.W,"rows"],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.W,"readonly"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"label"],null),new $APP.J(null,2,[$APP.O,
19
+ $APP.Y,$APP.W,"maxlength"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"error"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"autocomplete"],null),new $APP.J(null,2,[$APP.O,$APP.Iu,$APP.Zi,!0],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.W,"required"],null),new $APP.J(null,2,[$APP.O,$APP.vu,$APP.Zi,!0],null)]);
20
+ $APP.ge(["x-text-area-change-request",new $APP.J(null,3,[$APP.vs,!0,$APP.et,$APP.ge(["value",$APP.si]),$APP.Ki,new $APP.J(null,3,[$APP.bl,$APP.X,$APP.si,$APP.X,$APP.Ku,$APP.X],null)],null),"x-text-area-input",new $APP.J(null,2,[$APP.vs,!1,$APP.Ki,new $APP.J(null,2,[$APP.bl,$APP.X,$APP.si,$APP.X],null)],null),"x-text-area-change",new $APP.J(null,2,[$APP.vs,!1,$APP.Ki,new $APP.J(null,2,[$APP.bl,$APP.X,$APP.si,$APP.X],null)],null)]);var gBa=":host{display:block;color-scheme:light dark;--x-text-area-label-color:var(--x-color-text-muted,#374151);--x-text-area-label-font-size:var(--x-font-size-sm,0.875rem);--x-text-area-bg:var(--x-color-surface,#ffffff);--x-text-area-color:var(--x-color-text,#111827);--x-text-area-border:var(--x-border-width,1px) solid var(--x-color-border,#d1d5db);--x-text-area-border-radius:var(--x-radius-md,6px);--x-text-area-padding:0.5rem 0.75rem;--x-text-area-focus-ring-color:var(--x-color-primary,#2563eb);--x-text-area-error-color:var(--x-color-danger,#dc2626);--x-text-area-hint-color:var(--x-color-text-muted,#6b7280);--x-text-area-disabled-opacity:0.45;--x-text-area-min-height:5rem;--x-text-area-font-size:var(--x-font-size-base,1rem);--x-text-area-resize:vertical;}"+
21
+ $APP.N.i("button,input,select,textarea{font-family:inherit;}")+$APP.N.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-text-area-label-color:var(--x-color-text-muted,#d1d5db);--x-text-area-bg:var(--x-color-surface,#1f2937);--x-text-area-color:var(--x-color-text,#f9fafb);--x-text-area-border:var(--x-border-width,1px) solid var(--x-color-border,#4b5563);--x-text-area-focus-ring-color:var(--x-color-primary,#3b82f6);--x-text-area-error-color:var(--x-color-danger,#f87171);--x-text-area-hint-color:var(--x-color-text-muted,#9ca3af);}}[part\x3dfield]{display:flex;flex-direction:column;gap:0.25rem;}[part\x3dlabel]{display:block;font-size:var(--x-text-area-label-font-size);font-weight:var(--x-font-weight-medium,500);color:var(--x-text-area-label-color);}.label-hidden{display:none;}[part\x3dtextarea-wrapper]{display:block;}[part\x3dtextarea]{display:block;width:100%;box-sizing:border-box;min-height:var(--x-text-area-min-height);padding:var(--x-text-area-padding);background:var(--x-text-area-bg);color:var(--x-text-area-color);border:var(--x-text-area-border);border-radius:var(--x-text-area-border-radius);font-size:var(--x-text-area-font-size);line-height:var(--x-line-height-normal,1.5);font-family:inherit;outline:none;resize:var(--x-text-area-resize);transition:border-color var(--x-transition-duration,120ms) var(--x-transition-easing,ease),box-shadow var(--x-transition-duration,120ms) var(--x-transition-easing,ease);}[part\x3dtextarea]:focus{border-color:var(--x-text-area-focus-ring-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--x-text-area-focus-ring-color) 20%,transparent);}:host([data-invalid]) [part\x3dtextarea]{border-color:var(--x-text-area-error-color);}:host([data-invalid]) [part\x3dtextarea]:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--x-text-area-error-color) 20%,transparent);}[part\x3dtextarea]:disabled{opacity:var(--x-text-area-disabled-opacity);cursor:not-allowed;}[part\x3dhint]{display:block;font-size:var(--x-font-size-sm,0.8125rem);color:var(--x-text-area-hint-color);}.hint-hidden{display:none;}[part\x3derror]{display:block;font-size:var(--x-font-size-sm,0.8125rem);color:var(--x-text-area-error-color);}.error-hidden{display:none;}@media (prefers-reduced-motion:reduce){[part\x3dtextarea]{transition:none;}}";$APP.ea("baredom.exports.x_text_area.init",T7);export const init=T7;
package/dist/x-theme.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var sP=function(a,b){return"color-mix(in srgb,var("+$APP.N.i(a)+") "+$APP.N.i(b)+"%,#000)"},Foa=function(a,b){var c=tP.i(uP),d=vP.i(uP),e=b.light,f=b.dark;b=$APP.Lg($APP.Ac([c,$APP.m(e)?$APP.Pf.j($APP.he,function(){return function n(k){return new $APP.Hd(null,function(){for(;;){var r=$APP.q(k);if(r){if($APP.Xc(r)){var v=$APP.Ab(r),w=$APP.x(v),y=$APP.Kd(w);a:{for(var A=0;;)if(A<w){var E=$APP.Fc(v,A);y.add(new $APP.H(null,2,5,$APP.I,[E,$APP.l(e,E)],null));A+=1}else{v=!0;break a}v=void 0}return v?$APP.Nd(y.ea(),
3
- n($APP.Bb(r))):$APP.Nd(y.ea(),null)}y=$APP.t(r);return $APP.Fd(new $APP.H(null,2,5,$APP.I,[y,$APP.l(e,y)],null),n($APP.bc(r)))}return null}},null)}(Object.keys(e))}()):null]));d=$APP.Lg($APP.Ac([d,$APP.m(f)?$APP.Pf.j($APP.he,function(){return function n(k){return new $APP.Hd(null,function(){for(;;){var r=$APP.q(k);if(r){if($APP.Xc(r)){var v=$APP.Ab(r),w=$APP.x(v),y=$APP.Kd(w);a:{for(var A=0;;)if(A<w){var E=$APP.Fc(v,A);y.add(new $APP.H(null,2,5,$APP.I,[E,$APP.l(f,E)],null));A+=1}else{v=!0;break a}v=
4
- void 0}return v?$APP.Nd(y.ea(),n($APP.Bb(r))):$APP.Nd(y.ea(),null)}y=$APP.t(r);return $APP.Fd(new $APP.H(null,2,5,$APP.I,[y,$APP.l(f,y)],null),n($APP.bc(r)))}return null}},null)}(Object.keys(f))}()):null]));return $APP.ha(wP,a,new $APP.K(null,2,[tP,b,vP,d],null))},xP=function(a){var b=[];a=$APP.q(a);for(var c=null,d=0,e=0;;)if(e<d){var f=c.C(null,e),g=$APP.B(f,0,null);f=$APP.B(f,1,null);b.push(""+$APP.N.i(g)+":"+$APP.N.i(f)+";");e+=1}else if(a=$APP.q(a))$APP.Xc(a)?(d=$APP.Ab(a),a=$APP.Bb(a),c=d,d=
5
- $APP.x(d)):(d=$APP.t(a),c=$APP.B(d,0,null),d=$APP.B(d,1,null),b.push(""+$APP.N.i(c)+":"+$APP.N.i(d)+";"),a=$APP.u(a),c=null,d=0),e=0;else break;return b.join("")},yP=function(a){var b=new $APP.K(null,1,[$APP.Wq,a.getAttribute("preset")],null);if($APP.M.j($APP.l(a,"__xThemeModel"),b)){b=$APP.G(b);var c=$APP.C(b,$APP.Wq),d=$APP.l(a,"__xThemeRefs");if($APP.m(d)){d=d.style;c=typeof c!=="string"||!$APP.bd(Goa,c)&&$APP.l(wP,c)==null?"default":c;var e=$APP.l(wP,c);$APP.m(e)||(c=$APP.C(Hoa,c),e=$APP.m(c)?
6
- c:uP);c=tP.i(e);e=vP.i(e);c=":host{display:contents;"+$APP.N.i(xP(c))+"}@media(prefers-color-scheme:dark){:host{"+$APP.N.i(xP(e))+"}}";d.textContent=c;a=$APP.T(a,"__xThemeModel",b)}else a=null}else a=null;return a},Ioa=function(a){if(!$APP.m($APP.l(a,"__xThemeRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");b.appendChild(c);b.appendChild(d);$APP.T(a,"__xThemeRefs",{style:c})}return yP(a)},Joa=function(){return null},Koa=function(a,b,c,
7
- d){return $APP.M.j(c,d)?yP(a):null},Loa=function(a){return $APP.Vi(a,"preset","preset")},zP=function(a,b){return Foa(a,b)},AP=function(){return $APP.Ej("x-theme",new $APP.K(null,5,[$APP.Dj,Moa,$APP.Bj,Ioa,$APP.yj,Joa,$APP.xj,Koa,$APP.Cj,Loa],null))},tP=new $APP.F(null,"light","light",1918998747),vP=new $APP.F(null,"dark","dark",1818973999);var Moa=["preset"],BP=$APP.ug("--x-font-weight-semibold --x-font-size-base --x-font-size-lg --x-font-weight-bold --x-font-weight-medium --x-font-family-mono --x-font-size-sm --x-line-height-normal --x-font-family --x-font-size-xs --x-font-weight-normal".split(" "),"600;1rem;1.125rem;700;500;ui-monospace,'SF Mono',monospace;0.875rem;1.5;system-ui,-apple-system,sans-serif;0.75rem;400".split(";")),CP=$APP.ge("--x-radius-sm 0.375rem --x-radius-md 0.75rem --x-radius-lg 1rem --x-radius-xl 1.5rem --x-radius-full 9999px --x-border-width 1px".split(" ")),
8
- DP=$APP.ge(["--x-transition-duration","140ms","--x-transition-easing","cubic-bezier(0.2,0,0,1)"]),EP=$APP.ge("--x-space-xs 0.25rem --x-space-sm 0.5rem --x-space-md 0.75rem --x-space-lg 1rem --x-space-xl 1.5rem".split(" ")),FP=$APP.ge("--x-z-dropdown 1000 --x-z-modal 1100 --x-z-toast 9000".split(" ")),GP=$APP.ge(["--x-opacity-disabled","0.5","--x-opacity-placeholder","0.6"]),HP=$APP.ge(["--x-color-danger-hover",sP("--x-color-danger",85),"--x-color-danger-active",sP("--x-color-danger",70),"--x-color-success-hover",
9
- sP("--x-color-success",85),"--x-color-success-active",sP("--x-color-success",70),"--x-color-warning-hover",sP("--x-color-warning",85),"--x-color-warning-active",sP("--x-color-warning",70)]),IP=$APP.ge("--x-shadow-sm;0 1px 2px rgba(15,23,42,0.08);--x-shadow-md;0 4px 10px rgba(15,23,42,0.10),0 2px 4px rgba(15,23,42,0.06);--x-shadow-lg;0 10px 25px rgba(15,23,42,0.12),0 4px 10px rgba(15,23,42,0.08)".split(";")),JP=$APP.ge("--x-shadow-sm;0 1px 2px rgba(0,0,0,0.35);--x-shadow-md;0 6px 14px rgba(0,0,0,0.35),0 2px 6px rgba(0,0,0,0.24);--x-shadow-lg;0 12px 30px rgba(0,0,0,0.40),0 4px 12px rgba(0,0,0,0.30)".split(";")),
10
- uP=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,CP,DP,IP,EP,FP,GP,HP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
11
- "#ffffff #64748b #16a34a #64748b #d97706 #1e40af #cbd5e1 #f8fafc #dc2626 #334155 #475569 #475569 #f1f5f9 #60a5fa #2563eb #f8fafc #0f172a #64748b #1d4ed8 #94a3b8".split(" "))])),vP,$APP.Lg($APP.Ac([JP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
12
- "#111827 #94a3b8 #22c55e #94a3b8 #f59e0b #1d4ed8 #374151 #1f2937 #ef4444 #475569 #64748b #64748b #273449 #93c5fd #3b82f6 #0f172a #f1f5f9 #94a3b8 #2563eb #64748b".split(" "))]))],null),Noa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,CP,DP,IP,EP,FP,GP,HP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
13
- "#ffffff #5f7a7a #059669 #2dd4bf #d97706 #155e75 #99f6e4 #f0fdfa #e11d48 #115e59 #0f766e #14b8a6 #ccfbf1 #22d3ee #0891b2 #f0fdfa #134e4a #0d9488 #0e7490 #5eead4".split(" "))])),vP,$APP.Lg($APP.Ac([JP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
14
- "#0c1a1f #5eead4 #34d399 #5eead4 #fbbf24 #0e7490 #164e63 #133e4a #fb7185 #0f766e #0d9488 #2dd4bf #164e5e #67e8f9 #06b6d4 #061216 #ecfdf5 #14b8a6 #0891b2 #2dd4bf".split(" "))]))],null),Ooa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,CP,DP,IP,EP,FP,GP,HP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
15
- "#fffbeb #65753a #15803d #84cc16 #ca8a04 #14532d #d9d2b0 #fef9c3 #dc2626 #3f6212 #4d7c0f #65a30d #fef3c7 #4ade80 #15803d #fefce8 #1a2e05 #65a30d #166534 #a3e635".split(" "))])),vP,$APP.Lg($APP.Ac([JP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
16
- "#1a1f12 #86efac #4ade80 #bef264 #fbbf24 #15803d #3a4a24 #2a3318 #f87171 #4d7c0f #65a30d #a3e635 #354020 #86efac #22c55e #111408 #f0fdf4 #84cc16 #16a34a #a3e635".split(" "))]))],null),Poa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,CP,DP,IP,EP,FP,GP,HP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
17
- "#ffffff #9a7b6b #16a34a #f97316 #ca8a04 #9a3412 #fed7aa #fff7ed #be123c #9f1239 #be123c #ea580c #ffedd5 #fb923c #ea580c #fffbf5 #431407 #e11d48 #c2410c #fb923c".split(" "))])),vP,$APP.Lg($APP.Ac([JP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
18
- "#1c1210 #fdba74 #4ade80 #fb923c #fbbf24 #c2410c #4a2d1f #2a1c17 #fb7185 #e11d48 #f43f5e #f97316 #3d261d #fdba74 #f97316 #140d0a #fff7ed #fb7185 #ea580c #fdba74".split(" "))]))],null),Qoa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,DP,EP,FP,GP,HP,$APP.ug("--x-radius-xl --x-shadow-lg --x-color-surface --x-font-weight-semibold --x-color-text-muted --x-color-success --x-radius-sm --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-border-width --x-radius-full --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-radius-lg --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-font-family --x-radius-md --x-shadow-md --x-color-primary-hover --x-color-tertiary --x-space-md".split(" "),
19
- "0;8px 8px 0 #000000;#ffffff;700;#555555;#00cc66;0;3px 3px 0 #000000;#333333;#ffcc00;#333333;#000000;2px;0;#f5f5f5;#ff0000;#cc0044;#e6004c;0;#1a1a1a;#eeeeee;#ff3366;#000000;#ffffff;#000000;#ff3366;'Space Grotesk',system-ui,sans-serif;0;5px 5px 0 #000000;#1a1a1a;#555555;1rem".split(";"))])),vP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
20
- "8px 8px 0 #ffffff;#111111;#aaaaaa;#44ff88;3px 3px 0 #ffffff;#888888;#ffdd44;#cc0044;#ffffff;#1a1a1a;#ff4444;#cccccc;#e5e5e5;#666666;#222222;#ff3366;#ff3366;#000000;#ffffff;#ffffff;5px 5px 0 #ffffff;#e6004c;#aaaaaa".split(";"))],null),Roa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,CP,DP,EP,FP,GP,HP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-opacity-disabled --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
21
- "0 10px 30px rgba(139,92,246,0.15),0 4px 10px rgba(139,92,246,0.10);rgba(255,255,255,0.72);#7c7aad;#059669;0 1px 3px rgba(139,92,246,0.10);#0891b2;0.45;#d97706;#5b21b6;rgba(196,181,253,0.5);rgba(248,245,255,0.80);#e11d48;#be185d;#db2777;#0e7490;rgba(243,232,255,0.85);#a78bfa;#7c3aed;#faf5ff;#1e1b4b;#ec4899;0 4px 15px rgba(139,92,246,0.12),0 2px 4px rgba(139,92,246,0.08);#6d28d9;#06b6d4".split(";"))])),vP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
22
- "0 10px 30px rgba(139,92,246,0.30),0 4px 10px rgba(139,92,246,0.18);rgba(30,20,60,0.72);#a5b4fc;#34d399;0 1px 3px rgba(139,92,246,0.20);#06b6d4;#fbbf24;#7c3aed;rgba(139,92,246,0.3);rgba(45,30,80,0.78);#fb7185;#db2777;#ec4899;#0891b2;rgba(55,35,95,0.85);#c4b5fd;#a78bfa;#0f0720;#ede9fe;#f472b6;0 4px 15px rgba(139,92,246,0.25),0 2px 4px rgba(139,92,246,0.15);#8b5cf6;#22d3ee".split(";"))],null),Soa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([CP,DP,EP,FP,GP,HP,$APP.ug("--x-shadow-lg --x-color-surface --x-font-weight-semibold --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-font-size-base --x-color-warning --x-color-primary-active --x-font-size-lg --x-color-border --x-font-weight-medium --x-color-surface-hover --x-color-danger --x-font-family-mono --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-font-size-sm --x-color-primary --x-color-bg --x-line-height-normal --x-color-text --x-color-secondary --x-font-family --x-font-size-xs --x-font-weight-normal --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
23
- "0 10px 25px rgba(0,0,0,0.10),0 4px 10px rgba(0,0,0,0.06);#fafafa;600;#71717a;#22c55e;0 1px 2px rgba(0,0,0,0.06);#52525b;1rem;#eab308;#3f3f46;1.125rem;#d4d4d8;500;#f4f4f5;#ef4444;'JetBrains Mono',ui-monospace,monospace;#24c00a;#2ee00f;#3f3f46;#e4e4e7;#39ff14;0.875rem;#18181b;#ffffff;1.4;#18181b;#39ff14;'JetBrains Mono',ui-monospace,monospace;0.75rem;400;0 4px 10px rgba(0,0,0,0.08),0 2px 4px rgba(0,0,0,0.04);#27272a;#71717a".split(";"))])),vP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
24
- "0 10px 25px rgba(0,0,0,0.50),0 4px 10px rgba(0,0,0,0.35);#09090b;#71717a;#4ade80;0 1px 2px rgba(0,0,0,0.40);#71717a;#facc15;#14532d;#27272a;#18181b;#f87171;#a1a1aa;#d4d4d8;#52525b;#27272a;#39ff14;#15803d;#000000;#e4e4e7;#e4e4e7;0 4px 10px rgba(0,0,0,0.45),0 2px 4px rgba(0,0,0,0.30);#166534;#52525b".split(";"))],null),Toa=new $APP.K(null,2,[tP,$APP.Lg($APP.Ac([BP,CP,DP,IP,EP,FP,GP,HP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
25
- "#fefdfb #8b7355 #4d7c0f #c49250 #ca8a04 #78350f #d6c4a8 #fdf8f0 #dc2626 #713f12 #854d0e #b08040 #f5ebe0 #d97706 #b45309 #fdf8f0 #3b2417 #a16207 #92400e #d6a56a".split(" "))])),vP,$APP.Lg($APP.Ac([JP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
26
- "#1e1c18 #9c9488 #84cc16 #8e847c #fbbf24 #8e4a38 #44403a #2a2822 #f87171 #8a7052 #a18360 #7a7068 #38352e #d4a574 #c2785a #14130f #e8e0d4 #b8976e #a8604a #7a7068".split(" "))]))],null),Hoa=new $APP.K(null,8,["default",uP,"ocean",Noa,"forest",Ooa,"sunset",Poa,"neo-brutalist",Qoa,"aurora",Roa,"mono-ai",Soa,"warm-mineral",Toa],null),wP=Object.create(null),Goa=new $APP.Ug(null,new $APP.K(null,8,["warm-mineral",null,"mono-ai",null,"ocean",null,"aurora",null,"sunset",null,"forest",null,"neo-brutalist",null,
27
- "default",null],null),null);$APP.ea("baredom.exports.x_theme.registerPreset",zP);$APP.ea("baredom.exports.x_theme.init",AP);export const init=AP;export const registerPreset=zP;
2
+ var EP=function(a,b){return"color-mix(in srgb,var("+$APP.N.i(a)+") "+$APP.N.i(b)+"%,#000)"},Joa=function(a,b){var c=FP.i(GP),d=HP.i(GP),e=b.light,f=b.dark;b=$APP.Lg($APP.Ac([c,$APP.m(e)?$APP.Pf.j($APP.he,function(){return function n(k){return new $APP.Hd(null,function(){for(;;){var r=$APP.q(k);if(r){if($APP.Xc(r)){var v=$APP.Ab(r),w=$APP.x(v),y=$APP.Kd(w);a:{for(var A=0;;)if(A<w){var G=$APP.Fc(v,A);y.add(new $APP.H(null,2,5,$APP.I,[G,$APP.l(e,G)],null));A+=1}else{v=!0;break a}v=void 0}return v?$APP.Nd(y.ea(),
3
+ n($APP.Bb(r))):$APP.Nd(y.ea(),null)}y=$APP.t(r);return $APP.Fd(new $APP.H(null,2,5,$APP.I,[y,$APP.l(e,y)],null),n($APP.bc(r)))}return null}},null)}(Object.keys(e))}()):null]));d=$APP.Lg($APP.Ac([d,$APP.m(f)?$APP.Pf.j($APP.he,function(){return function n(k){return new $APP.Hd(null,function(){for(;;){var r=$APP.q(k);if(r){if($APP.Xc(r)){var v=$APP.Ab(r),w=$APP.x(v),y=$APP.Kd(w);a:{for(var A=0;;)if(A<w){var G=$APP.Fc(v,A);y.add(new $APP.H(null,2,5,$APP.I,[G,$APP.l(f,G)],null));A+=1}else{v=!0;break a}v=
4
+ void 0}return v?$APP.Nd(y.ea(),n($APP.Bb(r))):$APP.Nd(y.ea(),null)}y=$APP.t(r);return $APP.Fd(new $APP.H(null,2,5,$APP.I,[y,$APP.l(f,y)],null),n($APP.bc(r)))}return null}},null)}(Object.keys(f))}()):null]));return $APP.ha(IP,a,new $APP.J(null,2,[FP,b,HP,d],null))},JP=function(a){var b=[];a=$APP.q(a);for(var c=null,d=0,e=0;;)if(e<d){var f=c.C(null,e),g=$APP.B(f,0,null);f=$APP.B(f,1,null);b.push(""+$APP.N.i(g)+":"+$APP.N.i(f)+";");e+=1}else if(a=$APP.q(a))$APP.Xc(a)?(d=$APP.Ab(a),a=$APP.Bb(a),c=d,d=
5
+ $APP.x(d)):(d=$APP.t(a),c=$APP.B(d,0,null),d=$APP.B(d,1,null),b.push(""+$APP.N.i(c)+":"+$APP.N.i(d)+";"),a=$APP.u(a),c=null,d=0),e=0;else break;return b.join("")},KP=function(a){var b=new $APP.J(null,1,[$APP.br,$APP.V.j(a,"preset")],null);if($APP.K.j($APP.l(a,"__xThemeModel"),b)){b=$APP.F(b);var c=$APP.C(b,$APP.br),d=$APP.l(a,"__xThemeRefs");if($APP.m(d)){d=d.style;c=typeof c!=="string"||!$APP.bd(Koa,c)&&$APP.l(IP,c)==null?"default":c;var e=$APP.l(IP,c);$APP.m(e)||(c=$APP.C(Loa,c),e=$APP.m(c)?c:GP);
6
+ c=FP.i(e);e=HP.i(e);c=":host{display:contents;"+$APP.N.i(JP(c))+"}@media(prefers-color-scheme:dark){:host{"+$APP.N.i(JP(e))+"}}";d.textContent=c;a=$APP.Q(a,"__xThemeModel",b)}else a=null}else a=null;return a},Moa=function(a){if(!$APP.m($APP.l(a,"__xThemeRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");b.appendChild(c);b.appendChild(d);$APP.Q(a,"__xThemeRefs",{style:c})}return KP(a)},Noa=function(){return null},Ooa=function(a,b,c,d){return $APP.K.j(c,
7
+ d)?KP(a):null},Poa=function(a){return $APP.Wi(a,"preset","preset")},LP=function(a,b){return Joa(a,b)},MP=function(){return $APP.Fj("x-theme",new $APP.J(null,5,[$APP.Ej,Qoa,$APP.Cj,Moa,$APP.zj,Noa,$APP.yj,Ooa,$APP.Dj,Poa],null))},FP=new $APP.E(null,"light","light",1918998747),HP=new $APP.E(null,"dark","dark",1818973999);var Qoa=["preset"],NP=$APP.ug("--x-font-weight-semibold --x-font-size-base --x-font-size-lg --x-font-weight-bold --x-font-weight-medium --x-font-family-mono --x-font-size-sm --x-line-height-normal --x-font-family --x-font-size-xs --x-font-weight-normal".split(" "),"600;1rem;1.125rem;700;500;ui-monospace,'SF Mono',monospace;0.875rem;1.5;system-ui,-apple-system,sans-serif;0.75rem;400".split(";")),OP=$APP.ge("--x-radius-sm 0.375rem --x-radius-md 0.75rem --x-radius-lg 1rem --x-radius-xl 1.5rem --x-radius-full 9999px --x-border-width 1px".split(" ")),
8
+ PP=$APP.ge(["--x-transition-duration","140ms","--x-transition-easing","cubic-bezier(0.2,0,0,1)"]),QP=$APP.ge("--x-space-xs 0.25rem --x-space-sm 0.5rem --x-space-md 0.75rem --x-space-lg 1rem --x-space-xl 1.5rem".split(" ")),RP=$APP.ge("--x-z-dropdown 1000 --x-z-modal 1100 --x-z-toast 9000".split(" ")),SP=$APP.ge(["--x-opacity-disabled","0.5","--x-opacity-placeholder","0.6"]),TP=$APP.ge(["--x-color-danger-hover",EP("--x-color-danger",85),"--x-color-danger-active",EP("--x-color-danger",70),"--x-color-success-hover",
9
+ EP("--x-color-success",85),"--x-color-success-active",EP("--x-color-success",70),"--x-color-warning-hover",EP("--x-color-warning",85),"--x-color-warning-active",EP("--x-color-warning",70)]),UP=$APP.ge("--x-shadow-sm;0 1px 2px rgba(15,23,42,0.08);--x-shadow-md;0 4px 10px rgba(15,23,42,0.10),0 2px 4px rgba(15,23,42,0.06);--x-shadow-lg;0 10px 25px rgba(15,23,42,0.12),0 4px 10px rgba(15,23,42,0.08)".split(";")),VP=$APP.ge("--x-shadow-sm;0 1px 2px rgba(0,0,0,0.35);--x-shadow-md;0 6px 14px rgba(0,0,0,0.35),0 2px 6px rgba(0,0,0,0.24);--x-shadow-lg;0 12px 30px rgba(0,0,0,0.40),0 4px 12px rgba(0,0,0,0.30)".split(";")),
10
+ GP=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,OP,PP,UP,QP,RP,SP,TP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
11
+ "#ffffff #64748b #16a34a #64748b #d97706 #1e40af #cbd5e1 #f8fafc #dc2626 #334155 #475569 #475569 #f1f5f9 #60a5fa #2563eb #f8fafc #0f172a #64748b #1d4ed8 #94a3b8".split(" "))])),HP,$APP.Lg($APP.Ac([VP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
12
+ "#111827 #94a3b8 #22c55e #94a3b8 #f59e0b #1d4ed8 #374151 #1f2937 #ef4444 #475569 #64748b #64748b #273449 #93c5fd #3b82f6 #0f172a #f1f5f9 #94a3b8 #2563eb #64748b".split(" "))]))],null),Roa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,OP,PP,UP,QP,RP,SP,TP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
13
+ "#ffffff #5f7a7a #059669 #2dd4bf #d97706 #155e75 #99f6e4 #f0fdfa #e11d48 #115e59 #0f766e #14b8a6 #ccfbf1 #22d3ee #0891b2 #f0fdfa #134e4a #0d9488 #0e7490 #5eead4".split(" "))])),HP,$APP.Lg($APP.Ac([VP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
14
+ "#0c1a1f #5eead4 #34d399 #5eead4 #fbbf24 #0e7490 #164e63 #133e4a #fb7185 #0f766e #0d9488 #2dd4bf #164e5e #67e8f9 #06b6d4 #061216 #ecfdf5 #14b8a6 #0891b2 #2dd4bf".split(" "))]))],null),Soa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,OP,PP,UP,QP,RP,SP,TP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
15
+ "#fffbeb #65753a #15803d #84cc16 #ca8a04 #14532d #d9d2b0 #fef9c3 #dc2626 #3f6212 #4d7c0f #65a30d #fef3c7 #4ade80 #15803d #fefce8 #1a2e05 #65a30d #166534 #a3e635".split(" "))])),HP,$APP.Lg($APP.Ac([VP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
16
+ "#1a1f12 #86efac #4ade80 #bef264 #fbbf24 #15803d #3a4a24 #2a3318 #f87171 #4d7c0f #65a30d #a3e635 #354020 #86efac #22c55e #111408 #f0fdf4 #84cc16 #16a34a #a3e635".split(" "))]))],null),Toa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,OP,PP,UP,QP,RP,SP,TP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
17
+ "#ffffff #9a7b6b #16a34a #f97316 #ca8a04 #9a3412 #fed7aa #fff7ed #be123c #9f1239 #be123c #ea580c #ffedd5 #fb923c #ea580c #fffbf5 #431407 #e11d48 #c2410c #fb923c".split(" "))])),HP,$APP.Lg($APP.Ac([VP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
18
+ "#1c1210 #fdba74 #4ade80 #fb923c #fbbf24 #c2410c #4a2d1f #2a1c17 #fb7185 #e11d48 #f43f5e #f97316 #3d261d #fdba74 #f97316 #140d0a #fff7ed #fb7185 #ea580c #fdba74".split(" "))]))],null),Uoa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,PP,QP,RP,SP,TP,$APP.ug("--x-radius-xl --x-shadow-lg --x-color-surface --x-font-weight-semibold --x-color-text-muted --x-color-success --x-radius-sm --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-border-width --x-radius-full --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-radius-lg --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-font-family --x-radius-md --x-shadow-md --x-color-primary-hover --x-color-tertiary --x-space-md".split(" "),
19
+ "0;8px 8px 0 #000000;#ffffff;700;#555555;#00cc66;0;3px 3px 0 #000000;#333333;#ffcc00;#333333;#000000;2px;0;#f5f5f5;#ff0000;#cc0044;#e6004c;0;#1a1a1a;#eeeeee;#ff3366;#000000;#ffffff;#000000;#ff3366;'Space Grotesk',system-ui,sans-serif;0;5px 5px 0 #000000;#1a1a1a;#555555;1rem".split(";"))])),HP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
20
+ "8px 8px 0 #ffffff;#111111;#aaaaaa;#44ff88;3px 3px 0 #ffffff;#888888;#ffdd44;#cc0044;#ffffff;#1a1a1a;#ff4444;#cccccc;#e5e5e5;#666666;#222222;#ff3366;#ff3366;#000000;#ffffff;#ffffff;5px 5px 0 #ffffff;#e6004c;#aaaaaa".split(";"))],null),Voa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,OP,PP,QP,RP,SP,TP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-opacity-disabled --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
21
+ "0 10px 30px rgba(139,92,246,0.15),0 4px 10px rgba(139,92,246,0.10);rgba(255,255,255,0.72);#7c7aad;#059669;0 1px 3px rgba(139,92,246,0.10);#0891b2;0.45;#d97706;#5b21b6;rgba(196,181,253,0.5);rgba(248,245,255,0.80);#e11d48;#be185d;#db2777;#0e7490;rgba(243,232,255,0.85);#a78bfa;#7c3aed;#faf5ff;#1e1b4b;#ec4899;0 4px 15px rgba(139,92,246,0.12),0 2px 4px rgba(139,92,246,0.08);#6d28d9;#06b6d4".split(";"))])),HP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
22
+ "0 10px 30px rgba(139,92,246,0.30),0 4px 10px rgba(139,92,246,0.18);rgba(30,20,60,0.72);#a5b4fc;#34d399;0 1px 3px rgba(139,92,246,0.20);#06b6d4;#fbbf24;#7c3aed;rgba(139,92,246,0.3);rgba(45,30,80,0.78);#fb7185;#db2777;#ec4899;#0891b2;rgba(55,35,95,0.85);#c4b5fd;#a78bfa;#0f0720;#ede9fe;#f472b6;0 4px 15px rgba(139,92,246,0.25),0 2px 4px rgba(139,92,246,0.15);#8b5cf6;#22d3ee".split(";"))],null),Woa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([OP,PP,QP,RP,SP,TP,$APP.ug("--x-shadow-lg --x-color-surface --x-font-weight-semibold --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-font-size-base --x-color-warning --x-color-primary-active --x-font-size-lg --x-color-border --x-font-weight-medium --x-color-surface-hover --x-color-danger --x-font-family-mono --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-font-size-sm --x-color-primary --x-color-bg --x-line-height-normal --x-color-text --x-color-secondary --x-font-family --x-font-size-xs --x-font-weight-normal --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
23
+ "0 10px 25px rgba(0,0,0,0.10),0 4px 10px rgba(0,0,0,0.06);#fafafa;600;#71717a;#22c55e;0 1px 2px rgba(0,0,0,0.06);#52525b;1rem;#eab308;#3f3f46;1.125rem;#d4d4d8;500;#f4f4f5;#ef4444;'JetBrains Mono',ui-monospace,monospace;#24c00a;#2ee00f;#3f3f46;#e4e4e7;#39ff14;0.875rem;#18181b;#ffffff;1.4;#18181b;#39ff14;'JetBrains Mono',ui-monospace,monospace;0.75rem;400;0 4px 10px rgba(0,0,0,0.08),0 2px 4px rgba(0,0,0,0.04);#27272a;#71717a".split(";"))])),HP,$APP.ug("--x-shadow-lg --x-color-surface --x-color-text-muted --x-color-success --x-shadow-sm --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-shadow-md --x-color-primary-hover --x-color-tertiary".split(" "),
24
+ "0 10px 25px rgba(0,0,0,0.50),0 4px 10px rgba(0,0,0,0.35);#09090b;#71717a;#4ade80;0 1px 2px rgba(0,0,0,0.40);#71717a;#facc15;#14532d;#27272a;#18181b;#f87171;#a1a1aa;#d4d4d8;#52525b;#27272a;#39ff14;#15803d;#000000;#e4e4e7;#e4e4e7;0 4px 10px rgba(0,0,0,0.45),0 2px 4px rgba(0,0,0,0.30);#166534;#52525b".split(";"))],null),Xoa=new $APP.J(null,2,[FP,$APP.Lg($APP.Ac([NP,OP,PP,UP,QP,RP,SP,TP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
25
+ "#fefdfb #8b7355 #4d7c0f #c49250 #ca8a04 #78350f #d6c4a8 #fdf8f0 #dc2626 #713f12 #854d0e #b08040 #f5ebe0 #d97706 #b45309 #fdf8f0 #3b2417 #a16207 #92400e #d6a56a".split(" "))])),HP,$APP.Lg($APP.Ac([VP,$APP.ug("--x-color-surface --x-color-text-muted --x-color-success --x-color-tertiary-hover --x-color-warning --x-color-primary-active --x-color-border --x-color-surface-hover --x-color-danger --x-color-secondary-active --x-color-secondary-hover --x-color-tertiary-active --x-color-surface-active --x-color-focus-ring --x-color-primary --x-color-bg --x-color-text --x-color-secondary --x-color-primary-hover --x-color-tertiary".split(" "),
26
+ "#1e1c18 #9c9488 #84cc16 #8e847c #fbbf24 #8e4a38 #44403a #2a2822 #f87171 #8a7052 #a18360 #7a7068 #38352e #d4a574 #c2785a #14130f #e8e0d4 #b8976e #a8604a #7a7068".split(" "))]))],null),Loa=new $APP.J(null,8,["default",GP,"ocean",Roa,"forest",Soa,"sunset",Toa,"neo-brutalist",Uoa,"aurora",Voa,"mono-ai",Woa,"warm-mineral",Xoa],null),IP=Object.create(null),Koa=new $APP.Ug(null,new $APP.J(null,8,["warm-mineral",null,"mono-ai",null,"ocean",null,"aurora",null,"sunset",null,"forest",null,"neo-brutalist",null,
27
+ "default",null],null),null);$APP.ea("baredom.exports.x_theme.registerPreset",LP);$APP.ea("baredom.exports.x_theme.init",MP);export const init=MP;export const registerPreset=LP;
@@ -1,22 +1,22 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var wda=function(a){a=$APP.C(vda,typeof a==="string"?a.toLowerCase():null);return $APP.m(a)?a:$APP.et},Aw=function(a){a=$APP.C(xda,a);return $APP.m(a)?a:"pending"},zda=function(a){a=$APP.C(yda,typeof a==="string"?a.toLowerCase():null);return $APP.m(a)?a:Bw},Ada=function(a){return typeof a==="string"?(a=a.trim(),$APP.M.j(a,"")&&$APP.M.j(a.toLowerCase(),"none")?a:null):null},Bda=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:null):null},
3
- Cda=function(a,b){a=$APP.C(Cw,typeof a==="string"?a.toLowerCase():null);$APP.m(a)?b=a:(b=$APP.C(Cw,typeof b==="string"?b.toLowerCase():null),b=$APP.m(b)?b:$APP.Hl);return b},Dda=function(a,b,c){a=Aw(a);c=c!=null?"Step "+$APP.N.i(c+1)+": ":null;return""+$APP.N.i(c)+$APP.N.i(typeof b==="string"&&$APP.M.j(b,"")?""+$APP.N.i(b)+" ":null)+"("+$APP.N.i(a)+")"},Fda=function(a){var b=$APP.G(a),c=$APP.C(b,Dw);a=$APP.C(b,$APP.fl);var d=$APP.C(b,$APP.du),e=$APP.C(b,$APP.Zk),f=$APP.C(b,Ew),g=$APP.C(b,$APP.st),
4
- k=$APP.C(b,Fw),n=$APP.C(b,$APP.Sp),r=$APP.C(b,Gw),v=$APP.C(b,$APP.Ws),w=$APP.C(b,$APP.Lq);b=$APP.C(b,$APP.pq);var y=wda(n),A=Ada(b),E=$APP.m($APP.m(v)?A==null:v)?$APP.Ns:A!=null?$APP.Zu:$APP.$i;n=function(){var J=E instanceof $APP.F?E.ba:null;switch(J){case "default":return J=$APP.C(Hw,y),$APP.m(J)?J:$APP.C(Hw,$APP.et);case "custom":return A;case "hidden":return null;default:throw Error("No matching clause: "+$APP.N.i(J));}}();c=Bda(c);d=Cda(k,d);e=$APP.m(e)?e:"";w=$APP.m(w)?w:"";return $APP.ug([$APP.ht,
5
- Eda,Iw,Ew,Gw,$APP.fr,$APP.nt,$APP.pu,$APP.Z,Jw,$APP.mu,$APP.fl,Kw],[zda(g),c,n,$APP.D(f),$APP.D(r),$APP.z.j(E,$APP.Zu)?A:null,w,y,e,Dda(y,e,c),E,$APP.D(a),d])},Lw=function(a){a=$APP.G(a);a=$APP.C(a,$APP.fl);return $APP.p(a)},Nw=function(a){var b=$APP.l(a,"__xTimelineItemRefs");if($APP.m(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),f=document.createElement("slot"),g=document.createElement("span"),k=
6
- document.createElement("div"),n=document.createElement("div"),r=document.createElement("slot"),v=document.createElement("span"),w=document.createElement("div"),y=document.createElement("div"),A=document.createElement("div"),E=document.createElement("div"),J=document.createElement("slot"),O=document.createElement("div"),S=document.createElement("slot");c.textContent=Gda;$APP.U(d,"class","timeline-item");$APP.U(e,"class","label-col");$APP.U(f,"name","label");$APP.U(g,"class","label-text");f.appendChild(g);
7
- e.appendChild(f);$APP.U(k,"class","track-col");$APP.U(n,"class","marker");$APP.U(r,"name","icon");$APP.U(v,"class","default-icon");$APP.U(v,"aria-hidden","true");r.appendChild(v);n.appendChild(r);$APP.U(w,"class","connector");k.appendChild(n);k.appendChild(w);$APP.U(y,"class","content-col");$APP.U(A,"class","title");$APP.U(E,"class","body");E.appendChild(J);$APP.U(O,"class","actions");$APP.U(S,"name","actions");O.appendChild(S);y.appendChild(A);y.appendChild(E);y.appendChild(O);d.appendChild(e);d.appendChild(k);
8
- d.appendChild(y);b.appendChild(c);b.appendChild(d);$APP.T(a,"__xTimelineItemRefs",$APP.ug([$APP.ht,Mw,$APP.gr,$APP.Xv,Hda,Ida,$APP.Nv,Jda,$APP.Cl,Kda,$APP.hr,Lda,Mda,Nda,$APP.Nt,$APP.Mn],[w,g,n,v,e,k,E,J,b,S,A,y,d,O,r,f]));return $APP.l(a,"__xTimelineItemRefs")},Ow=function(a){return Fda($APP.ug([$APP.du,$APP.Zk,Ew,$APP.st,Fw,$APP.Sp,Gw,$APP.Ws,$APP.Lq,$APP.pq,Dw,$APP.fl],[a.getAttribute("position"),a.getAttribute("label"),a.hasAttribute("data-striped"),a.getAttribute("connector"),$APP.l(a,"__xTimelineItemParentPos"),
9
- a.getAttribute("status"),a.hasAttribute("data-last"),a.hasAttribute("icon"),a.getAttribute("title"),a.getAttribute("icon"),a.getAttribute("data-index"),a.hasAttribute("disabled")]))},Pw=function(a){var b=Ow(a);if($APP.M.j($APP.l(a,"__xTimelineItemModel"),b)){var c=Nw(a),d=$APP.G(c);c=$APP.C(d,Mw);var e=$APP.C(d,$APP.gr),f=$APP.C(d,$APP.hr);d=$APP.C(d,$APP.Xv);var g=$APP.G(b),k=$APP.C(g,$APP.pu),n=$APP.C(g,Kw);g=$APP.C(g,$APP.ht);$APP.U(a,"data-status",Aw(k));$APP.T(a,"__xTimelineItemSelfPos",!0);
10
- $APP.Di(a,"data-position",$APP.bh(n));$APP.T(a,"__xTimelineItemSelfPos",null);switch(g instanceof $APP.F?g.ba:null){case "dashed":$APP.U(a,"data-connector","dashed");break;case "none":$APP.U(a,"data-connector","none");break;default:$APP.V(a,"data-connector")}g=$APP.G(b);k=$APP.C(g,$APP.Z);n=$APP.C(g,$APP.nt);g=$APP.C(g,$APP.fl);$APP.U(a,"role","listitem");$APP.m(g)?($APP.U(a,"aria-disabled","true"),a.tabIndex=-1):($APP.V(a,"aria-disabled"),a.tabIndex=0);k=$APP.M.j(n,"")?n:$APP.M.j(k,"")?k:null;$APP.m(k)?
11
- $APP.U(a,"aria-label",k):$APP.V(a,"aria-label");n=$APP.G(b);k=$APP.C(n,Iw);n=$APP.C(n,Jw);$APP.U(e,"aria-label",n);d.textContent=k!=null?k:"";d=$APP.G(b);e=$APP.C(d,$APP.Z);d=$APP.C(d,$APP.nt);c.textContent=e;$APP.M.j(d,"")?($APP.V(f,"hidden"),f.textContent=d):($APP.U(f,"hidden",""),f.textContent="");a=$APP.T(a,"__xTimelineItemModel",b)}else a=null;return a},Oda=function(a){$APP.m($APP.l(a,"__xTimelineItemEntered"))||($APP.T(a,"__xTimelineItemEntered",!0),$APP.U(a,"data-entering",""),a.addEventListener("animationend",
12
- function d(c){return $APP.z.j(c.target,a)?(a.removeEventListener("animationend",d),$APP.V(a,"data-entering")):null}))},Qw=function(a){var b=$APP.l(a,"__xTimelineItemModel");b=$APP.m(b)?b:Ow(a);var c=$APP.G(b);b=$APP.C(c,$APP.pu);c=$APP.C(c,$APP.Z);b=new $APP.K(null,2,[$APP.pu,Aw(b),$APP.Z,c],null);return $APP.Oi(a,"x-timeline-item-click",$APP.cn(b))},Pda=function(a){function b(d){a:{var e=d.key;if($APP.z.j(e,"Enter")||$APP.z.j(e," "))if(e=$APP.l(a,"__xTimelineItemModel"),e=$APP.m(e)?e:Ow(a),Lw(e)){d.preventDefault();
13
- d=Qw(a);break a}d=null}return d}function c(){var d=$APP.l(a,"__xTimelineItemModel");d=$APP.m(d)?d:Ow(a);return Lw(d)?Qw(a):null}a.addEventListener("click",c);a.addEventListener("keydown",b);$APP.T(a,"__xTimelineItemHandlers",{click:c,keydown:b})},Rw=function(a){var b=$APP.l(a,"__xTimelineItemHandlers");if($APP.m(b)){var c=$APP.l(b,"click");b=$APP.l(b,"keydown");$APP.m(c)&&a.removeEventListener("click",c);$APP.m(b)&&a.removeEventListener("keydown",b)}$APP.T(a,"__xTimelineItemHandlers",null)},Qda=function(a){Object.defineProperty(a,
14
- "label",{get:function(){var b=this.getAttribute("label");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?$APP.M.j(b,""):b)?$APP.U(this,"label",""+$APP.N.i(b)):$APP.V(this,"label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"title",{get:function(){var b=this.getAttribute("title");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?$APP.M.j(b,""):b)?$APP.U(this,"title",""+$APP.N.i(b)):$APP.V(this,"title")},enumerable:!0,configurable:!0});$APP.Ui(a,"status","status",
15
- "pending");$APP.Vi(a,"icon","icon");$APP.Ui(a,"connector","connector","solid");$APP.Ui(a,"position","position","start");return $APP.Ri(a,"disabled","disabled")},Sw=function(a){Nw(a);Rw(a);Pda(a);var b=a.getAttribute("data-position");$APP.m(b)&&$APP.T(a,"__xTimelineItemParentPos",b);Pw(a);Oda(a);b=$APP.l(a,"__xTimelineItemModel");b=$APP.m(b)?b:Ow(a);var c=$APP.G(b);b=$APP.C(c,$APP.pu);var d=$APP.C(c,$APP.Z),e=$APP.C(c,Kw);c=$APP.C(c,$APP.fl);b=new $APP.K(null,4,[$APP.pu,Aw(b),$APP.Z,d,$APP.Os,$APP.bh(e),
16
- $APP.ln,$APP.D(c)],null);return $APP.Mi(a,"x-timeline-item-connected",$APP.cn(b))},Tw=function(a){var b=$APP.l(a,"__xTimelineItemModel");b=$APP.m(b)?b:Ow(a);Rw(a);$APP.T(a,"__xTimelineItemEntered",null);b=$APP.G(b);a=$APP.C(b,$APP.pu);b=$APP.C(b,$APP.Z);a=new $APP.K(null,2,[$APP.pu,Aw(a),$APP.Z,b],null);return $APP.Qi("x-timeline-item-disconnected",$APP.cn(a))},Rda=function(a){Tw(a);return Sw(a)},Sda=function(a,b,c,d){if($APP.M.j(c,d)){c=$APP.z.j(b,"data-position");if($APP.m(c?$APP.l(a,"__xTimelineItemSelfPos"):
17
- c))return null;$APP.z.j(b,"data-position")&&$APP.T(a,"__xTimelineItemParentPos",d);return Pw(a)}return null},Uw=function(){return $APP.Ej("x-timeline-item",new $APP.K(null,6,[$APP.Dj,Tda,$APP.Bj,Sw,$APP.yj,Tw,$APP.hj,Rda,$APP.xj,Sda,$APP.Cj,Qda],null))},Ida=new $APP.F(null,"track-col","track-col",629248272),Kda=new $APP.F(null,"actions-slot","actions-slot",1424248629),Kw=new $APP.F(null,"effective-position","effective-position",840072317),Hda=new $APP.F(null,"label-col","label-col",1883390160),Mw=
18
- new $APP.F(null,"label-text","label-text",-1566972381),Nda=new $APP.F(null,"actions-el","actions-el",1486248509),Lda=new $APP.F(null,"content-col","content-col",767367449),Mda=new $APP.F(null,"item-div","item-div",1630512700),Iw=new $APP.F(null,"marker-icon","marker-icon",424963779),Bw=new $APP.F(null,"solid","solid",-2023773691),Gw=new $APP.F(null,"data-last?","data-last?",-1110326839),Fw=new $APP.F(null,"data-position-raw","data-position-raw",256144356),Uda=new $APP.F(null,"none","none",1333468478),
19
- Ew=new $APP.F(null,"data-striped?","data-striped?",906911587),Vda=new $APP.F(null,"dashed","dashed",-1449249319),Jw=new $APP.F(null,"marker-aria","marker-aria",-353426855),Jda=new $APP.F(null,"default-slot","default-slot",-1145647151),Dw=new $APP.F(null,"data-index-raw","data-index-raw",491574874),Eda=new $APP.F(null,"data-index","data-index",1161508385);$APP.Wg(["data-position","data-striped","data-index","data-last"]);var Tda="label title status icon connector position disabled data-last data-index data-position data-striped".split(" ");
20
- $APP.ge(["x-timeline-item-connected",new $APP.K(null,2,[$APP.Ji,new $APP.K(null,4,[$APP.pu,$APP.X,$APP.Z,$APP.X,$APP.Os,$APP.X,$APP.ln,$APP.Zi],null),$APP.Zr,!1],null),"x-timeline-item-disconnected",new $APP.K(null,2,[$APP.Ji,new $APP.K(null,2,[$APP.pu,$APP.X,$APP.Z,$APP.X],null),$APP.Zr,!1],null),"x-timeline-item-click",new $APP.K(null,2,[$APP.Ji,new $APP.K(null,2,[$APP.pu,$APP.X,$APP.Z,$APP.X],null),$APP.Zr,!0],null)]);
21
- var vda=new $APP.K(null,5,["pending",$APP.et,"active",$APP.Ut,"complete",$APP.Rv,"error",$APP.Gj,"warning",$APP.xv],null),xda=new $APP.K(null,5,[$APP.et,"pending",$APP.Ut,"active",$APP.Rv,"complete",$APP.Gj,"error",$APP.xv,"warning"],null),Hw=new $APP.K(null,5,[$APP.et,"○",$APP.Ut,"●",$APP.Rv,"✓",$APP.Gj,"✕",$APP.xv,"!"],null),yda=new $APP.K(null,3,["solid",Bw,"dashed",Vda,"none",Uda],null),Cw=new $APP.K(null,2,["start",$APP.Hl,"end",$APP.Il],null);var Gda=":host{display:block;color-scheme:light dark;--x-timeline-item-marker-size:2rem;--x-timeline-item-marker-bg:var(--x-color-border,rgba(0,0,0,0.06));--x-timeline-item-marker-color:var(--x-color-text-muted,rgba(0,0,0,0.45));--x-timeline-item-connector-color:var(--x-color-border,rgba(0,0,0,0.12));--x-timeline-item-connector-width:2px;--x-timeline-item-gap:0.75rem;--x-timeline-item-label-width:6rem;--x-timeline-item-label-color:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-timeline-item-label-font-size:var(--x-font-size-sm,0.8125rem);--x-timeline-item-title-font-size:var(--x-font-size-sm,0.9375rem);--x-timeline-item-stripe-bg:var(--x-color-surface,rgba(0,0,0,0.025));--x-timeline-item-motion:var(--x-transition-duration,150ms);--x-timeline-item-motion-ease:var(--x-transition-easing,cubic-bezier(0.2,0,0,1));--x-timeline-item-enter-duration:var(--x-transition-duration,160ms);--x-timeline-item-disabled-opacity:0.45;}"+
22
- $APP.N.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-timeline-item-marker-bg:var(--x-color-border,rgba(255,255,255,0.10));--x-timeline-item-marker-color:var(--x-color-text-muted,rgba(255,255,255,0.55));--x-timeline-item-connector-color:var(--x-color-border,rgba(255,255,255,0.15));--x-timeline-item-label-color:var(--x-color-text-muted,rgba(255,255,255,0.5));--x-timeline-item-stripe-bg:var(--x-color-surface,rgba(255,255,255,0.03));}}:host([data-status\x3d'active']){--x-timeline-item-marker-bg:var(--x-color-primary,rgba(0,102,204,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-primary,rgba(0,102,204,0.4));}:host([data-status\x3d'complete']){--x-timeline-item-marker-bg:var(--x-color-success,rgba(16,140,72,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-success,rgba(16,140,72,0.5));}:host([data-status\x3d'error']){--x-timeline-item-marker-bg:var(--x-color-danger,rgba(190,20,40,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-danger,rgba(190,20,40,0.4));}:host([data-status\x3d'warning']){--x-timeline-item-marker-bg:var(--x-color-warning,rgba(204,120,0,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-warning,rgba(204,120,0,0.4));}@media (prefers-color-scheme:dark){:host([data-status\x3d'active']){--x-timeline-item-marker-bg:var(--x-color-primary,rgba(80,160,255,1));--x-timeline-item-connector-color:var(--x-color-primary,rgba(80,160,255,0.4));}:host([data-status\x3d'complete']){--x-timeline-item-marker-bg:var(--x-color-success,rgba(60,210,120,1));--x-timeline-item-connector-color:var(--x-color-success,rgba(60,210,120,0.5));}:host([data-status\x3d'error']){--x-timeline-item-marker-bg:var(--x-color-danger,rgba(255,90,110,1));--x-timeline-item-connector-color:var(--x-color-danger,rgba(255,90,110,0.4));}:host([data-status\x3d'warning']){--x-timeline-item-marker-bg:var(--x-color-warning,rgba(255,190,90,1));--x-timeline-item-connector-color:var(--x-color-warning,rgba(255,190,90,0.4));}}:host([data-striped]){background:var(--x-timeline-item-stripe-bg);border-radius:var(--x-radius-sm,4px);}:host([disabled]){opacity:var(--x-timeline-item-disabled-opacity);pointer-events:none;}:host(:not([disabled])){cursor:pointer;}:host(:not([disabled])):focus{outline:none;}:host(:not([disabled])):focus-visible{outline:2px solid var(--x-color-focus-ring,rgba(0,102,204,0.55));outline-offset:2px;}@media (prefers-color-scheme:dark){:host(:not([disabled])):focus-visible{outline-color:var(--x-color-focus-ring,rgba(80,160,255,0.7));}}.timeline-item{display:grid;grid-template-columns:var(--x-timeline-item-label-width) var(--x-timeline-item-marker-size) 1fr;grid-template-areas:'label track content';align-items:start;gap:0 var(--x-timeline-item-gap);}:host([data-position\x3d'end']) .timeline-item{grid-template-columns:1fr var(--x-timeline-item-marker-size) var(--x-timeline-item-label-width);grid-template-areas:'content track label';}.label-col{grid-area:label;display:flex;align-items:center;justify-content:flex-end;min-height:var(--x-timeline-item-marker-size);font-size:var(--x-timeline-item-label-font-size);color:var(--x-timeline-item-label-color);overflow:hidden;min-width:0;}:host([data-position\x3d'end']) .label-col{justify-content:flex-start;}.track-col{grid-area:track;display:flex;flex-direction:column;align-items:center;}.marker{display:inline-flex;align-items:center;justify-content:center;width:var(--x-timeline-item-marker-size);height:var(--x-timeline-item-marker-size);border-radius:999px;background:var(--x-timeline-item-marker-bg);color:var(--x-timeline-item-marker-color);font-size:0.875em;flex-shrink:0;transition:background var(--x-timeline-item-motion) var(--x-timeline-item-motion-ease),color var(--x-timeline-item-motion) var(--x-timeline-item-motion-ease);}.connector{flex:1;width:var(--x-timeline-item-connector-width);background:var(--x-timeline-item-connector-color);min-height:1rem;transition:background var(--x-timeline-item-motion) var(--x-timeline-item-motion-ease);}:host([data-connector\x3d'dashed']) .connector{background:repeating-linear-gradient(to bottom,var(--x-timeline-item-connector-color) 0,var(--x-timeline-item-connector-color) 4px,transparent 4px,transparent 8px);}:host([data-connector\x3d'none']) .connector,:host([data-last]) .connector{display:none;}.content-col{grid-area:content;display:flex;flex-direction:column;min-width:0;padding-bottom:var(--x-timeline-item-gap);}.title{font-weight:var(--x-font-weight-semibold,600);font-size:var(--x-timeline-item-title-font-size);line-height:1.25;min-height:var(--x-timeline-item-marker-size);display:flex;align-items:center;overflow-wrap:anywhere;min-width:0;}.title[hidden]{display:none;}.body{margin-top:0.25rem;}.actions{margin-top:0.5rem;}:host([data-entering]){animation:x-timeline-item-enter var(--x-timeline-item-enter-duration) var(--x-timeline-item-motion-ease) both;}@keyframes x-timeline-item-enter{from{opacity:0;transform:translateX(-4px);}to{opacity:1;transform:translateX(0);}}:host([data-position\x3d'end'][data-entering]){animation-name:x-timeline-item-enter-end;}@keyframes x-timeline-item-enter-end{from{opacity:0;transform:translateX(4px);}to{opacity:1;transform:translateX(0);}}@media (prefers-reduced-motion:reduce){:host([data-entering]){animation:none !important;}.marker,.connector{transition:none !important;}}";$APP.ea("baredom.exports.x_timeline_item.init",Uw);export const init=Uw;
2
+ var yda=function(a){a=$APP.C(xda,typeof a==="string"?a.toLowerCase():null);return $APP.m(a)?a:$APP.mt},Jw=function(a){a=$APP.C(zda,a);return $APP.m(a)?a:"pending"},Bda=function(a){a=$APP.C(Ada,typeof a==="string"?a.toLowerCase():null);return $APP.m(a)?a:Kw},Cda=function(a){return typeof a==="string"?(a=a.trim(),$APP.K.j(a,"")&&$APP.K.j(a.toLowerCase(),"none")?a:null):null},Dda=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:null):null},
3
+ Eda=function(a,b){a=$APP.C(Lw,typeof a==="string"?a.toLowerCase():null);$APP.m(a)?b=a:(b=$APP.C(Lw,typeof b==="string"?b.toLowerCase():null),b=$APP.m(b)?b:$APP.Ol);return b},Fda=function(a,b,c){a=Jw(a);c=c!=null?"Step "+$APP.N.i(c+1)+": ":null;return""+$APP.N.i(c)+$APP.N.i(typeof b==="string"&&$APP.K.j(b,"")?""+$APP.N.i(b)+" ":null)+"("+$APP.N.i(a)+")"},Hda=function(a){var b=$APP.F(a),c=$APP.C(b,Mw);a=$APP.C(b,$APP.dl);var d=$APP.C(b,$APP.lu),e=$APP.C(b,$APP.Ik),f=$APP.C(b,Nw),g=$APP.C(b,$APP.At),
4
+ k=$APP.C(b,Ow),n=$APP.C(b,$APP.Yp),r=$APP.C(b,Pw),v=$APP.C(b,$APP.dt),w=$APP.C(b,$APP.Rq);b=$APP.C(b,$APP.vq);var y=yda(n),A=Cda(b),G=$APP.m($APP.m(v)?A==null:v)?$APP.Vs:A!=null?$APP.gv:$APP.aj;n=function(){var M=G instanceof $APP.E?G.ba:null;switch(M){case "default":return M=$APP.C(Qw,y),$APP.m(M)?M:$APP.C(Qw,$APP.mt);case "custom":return A;case "hidden":return null;default:throw Error("No matching clause: "+$APP.N.i(M));}}();c=Dda(c);d=Eda(k,d);e=$APP.m(e)?e:"";w=$APP.m(w)?w:"";return $APP.ug([$APP.pt,
5
+ Gda,Rw,Nw,Pw,$APP.lr,$APP.vt,$APP.xu,$APP.Z,Sw,$APP.uu,$APP.dl,Tw],[Bda(g),c,n,$APP.D(f),$APP.D(r),$APP.z.j(G,$APP.gv)?A:null,w,y,e,Fda(y,e,c),G,$APP.D(a),d])},Uw=function(a){a=$APP.F(a);a=$APP.C(a,$APP.dl);return $APP.p(a)},Ww=function(a){var b=$APP.l(a,"__xTimelineItemRefs");if($APP.m(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),f=document.createElement("slot"),g=document.createElement("span"),k=
6
+ document.createElement("div"),n=document.createElement("div"),r=document.createElement("slot"),v=document.createElement("span"),w=document.createElement("div"),y=document.createElement("div"),A=document.createElement("div"),G=document.createElement("div"),M=document.createElement("slot"),P=document.createElement("div"),T=document.createElement("slot");c.textContent=Ida;$APP.R(d,"class","timeline-item");$APP.R(e,"class","label-col");$APP.R(f,"name","label");$APP.R(g,"class","label-text");f.appendChild(g);
7
+ e.appendChild(f);$APP.R(k,"class","track-col");$APP.R(n,"class","marker");$APP.R(r,"name","icon");$APP.R(v,"class","default-icon");$APP.R(v,"aria-hidden","true");r.appendChild(v);n.appendChild(r);$APP.R(w,"class","connector");k.appendChild(n);k.appendChild(w);$APP.R(y,"class","content-col");$APP.R(A,"class","title");$APP.R(G,"class","body");G.appendChild(M);$APP.R(P,"class","actions");$APP.R(T,"name","actions");P.appendChild(T);y.appendChild(A);y.appendChild(G);y.appendChild(P);d.appendChild(e);d.appendChild(k);
8
+ d.appendChild(y);b.appendChild(c);b.appendChild(d);$APP.Q(a,"__xTimelineItemRefs",$APP.ug([$APP.pt,Vw,$APP.mr,$APP.ew,Jda,Kda,$APP.Vv,Lda,$APP.Bl,Mda,$APP.nr,Nda,Oda,Pda,$APP.Vt,$APP.Sn],[w,g,n,v,e,k,G,M,b,T,A,y,d,P,r,f]));return $APP.l(a,"__xTimelineItemRefs")},Xw=function(a){return Hda($APP.ug([$APP.lu,$APP.Ik,Nw,$APP.At,Ow,$APP.Yp,Pw,$APP.dt,$APP.Rq,$APP.vq,Mw,$APP.dl],[$APP.V.j(a,"position"),$APP.V.j(a,"label"),a.hasAttribute("data-striped"),$APP.V.j(a,"connector"),$APP.l(a,"__xTimelineItemParentPos"),
9
+ $APP.V.j(a,"status"),a.hasAttribute("data-last"),a.hasAttribute("icon"),$APP.V.j(a,"title"),$APP.V.j(a,"icon"),$APP.V.j(a,"data-index"),a.hasAttribute("disabled")]))},Yw=function(a){var b=Xw(a);if($APP.K.j($APP.l(a,"__xTimelineItemModel"),b)){var c=Ww(a),d=$APP.F(c);c=$APP.C(d,Vw);var e=$APP.C(d,$APP.mr),f=$APP.C(d,$APP.nr);d=$APP.C(d,$APP.ew);var g=$APP.F(b),k=$APP.C(g,$APP.xu),n=$APP.C(g,Tw);g=$APP.C(g,$APP.pt);$APP.R(a,"data-status",Jw(k));$APP.Q(a,"__xTimelineItemSelfPos",!0);$APP.Ei(a,"data-position",
10
+ $APP.bh(n));$APP.Q(a,"__xTimelineItemSelfPos",null);switch(g instanceof $APP.E?g.ba:null){case "dashed":$APP.R(a,"data-connector","dashed");break;case "none":$APP.R(a,"data-connector","none");break;default:$APP.U(a,"data-connector")}g=$APP.F(b);k=$APP.C(g,$APP.Z);n=$APP.C(g,$APP.vt);g=$APP.C(g,$APP.dl);$APP.R(a,"role","listitem");$APP.m(g)?($APP.R(a,"aria-disabled","true"),a.tabIndex=-1):($APP.U(a,"aria-disabled"),a.tabIndex=0);k=$APP.K.j(n,"")?n:$APP.K.j(k,"")?k:null;$APP.m(k)?$APP.R(a,"aria-label",
11
+ k):$APP.U(a,"aria-label");n=$APP.F(b);k=$APP.C(n,Rw);n=$APP.C(n,Sw);$APP.R(e,"aria-label",n);d.textContent=k!=null?k:"";d=$APP.F(b);e=$APP.C(d,$APP.Z);d=$APP.C(d,$APP.vt);c.textContent=e;$APP.K.j(d,"")?($APP.U(f,"hidden"),f.textContent=d):($APP.R(f,"hidden",""),f.textContent="");a=$APP.Q(a,"__xTimelineItemModel",b)}else a=null;return a},Qda=function(a){$APP.m($APP.l(a,"__xTimelineItemEntered"))||($APP.Q(a,"__xTimelineItemEntered",!0),$APP.R(a,"data-entering",""),a.addEventListener("animationend",
12
+ function d(c){return $APP.z.j(c.target,a)?(a.removeEventListener("animationend",d),$APP.U(a,"data-entering")):null}))},Zw=function(a){var b=$APP.l(a,"__xTimelineItemModel");b=$APP.m(b)?b:Xw(a);var c=$APP.F(b);b=$APP.C(c,$APP.xu);c=$APP.C(c,$APP.Z);b=new $APP.J(null,2,[$APP.xu,Jw(b),$APP.Z,c],null);return $APP.Ni(a,"x-timeline-item-click",$APP.jn(b))},Rda=function(a){function b(d){a:{var e=d.key;if($APP.z.j(e,"Enter")||$APP.z.j(e," "))if(e=$APP.l(a,"__xTimelineItemModel"),e=$APP.m(e)?e:Xw(a),Uw(e)){d.preventDefault();
13
+ d=Zw(a);break a}d=null}return d}function c(){var d=$APP.l(a,"__xTimelineItemModel");d=$APP.m(d)?d:Xw(a);return Uw(d)?Zw(a):null}a.addEventListener("click",c);a.addEventListener("keydown",b);$APP.Q(a,"__xTimelineItemHandlers",{click:c,keydown:b})},$w=function(a){var b=$APP.l(a,"__xTimelineItemHandlers");if($APP.m(b)){var c=$APP.l(b,"click");b=$APP.l(b,"keydown");$APP.m(c)&&a.removeEventListener("click",c);$APP.m(b)&&a.removeEventListener("keydown",b)}$APP.Q(a,"__xTimelineItemHandlers",null)},Sda=function(a){Object.defineProperty(a,
14
+ "label",{get:function(){var b=this.getAttribute("label");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?$APP.K.j(b,""):b)?$APP.R(this,"label",""+$APP.N.i(b)):$APP.U(this,"label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"title",{get:function(){var b=this.getAttribute("title");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?$APP.K.j(b,""):b)?$APP.R(this,"title",""+$APP.N.i(b)):$APP.U(this,"title")},enumerable:!0,configurable:!0});$APP.Vi(a,"status","status",
15
+ "pending");$APP.Wi(a,"icon","icon");$APP.Vi(a,"connector","connector","solid");$APP.Vi(a,"position","position","start");return $APP.Si(a,"disabled","disabled")},ax=function(a){Ww(a);$w(a);Rda(a);var b=$APP.V.j(a,"data-position");$APP.m(b)&&$APP.Q(a,"__xTimelineItemParentPos",b);Yw(a);Qda(a);b=$APP.l(a,"__xTimelineItemModel");b=$APP.m(b)?b:Xw(a);var c=$APP.F(b);b=$APP.C(c,$APP.xu);var d=$APP.C(c,$APP.Z),e=$APP.C(c,Tw);c=$APP.C(c,$APP.dl);b=new $APP.J(null,4,[$APP.xu,Jw(b),$APP.Z,d,$APP.Ws,$APP.bh(e),
16
+ $APP.rn,$APP.D(c)],null);return $APP.Ni(a,"x-timeline-item-connected",$APP.jn(b))},bx=function(a){var b=$APP.l(a,"__xTimelineItemModel");b=$APP.m(b)?b:Xw(a);$w(a);$APP.Q(a,"__xTimelineItemEntered",null);b=$APP.F(b);a=$APP.C(b,$APP.xu);b=$APP.C(b,$APP.Z);a=new $APP.J(null,2,[$APP.xu,Jw(a),$APP.Z,b],null);return $APP.Ri("x-timeline-item-disconnected",$APP.jn(a))},Tda=function(a){bx(a);return ax(a)},Uda=function(a,b,c,d){if($APP.K.j(c,d)){c=$APP.z.j(b,"data-position");if($APP.m(c?$APP.l(a,"__xTimelineItemSelfPos"):
17
+ c))return null;$APP.z.j(b,"data-position")&&$APP.Q(a,"__xTimelineItemParentPos",d);return Yw(a)}return null},cx=function(){return $APP.Fj("x-timeline-item",new $APP.J(null,6,[$APP.Ej,Vda,$APP.Cj,ax,$APP.zj,bx,$APP.wj,Tda,$APP.yj,Uda,$APP.Dj,Sda],null))},Kda=new $APP.E(null,"track-col","track-col",629248272),Mda=new $APP.E(null,"actions-slot","actions-slot",1424248629),Tw=new $APP.E(null,"effective-position","effective-position",840072317),Jda=new $APP.E(null,"label-col","label-col",1883390160),Vw=
18
+ new $APP.E(null,"label-text","label-text",-1566972381),Pda=new $APP.E(null,"actions-el","actions-el",1486248509),Nda=new $APP.E(null,"content-col","content-col",767367449),Oda=new $APP.E(null,"item-div","item-div",1630512700),Rw=new $APP.E(null,"marker-icon","marker-icon",424963779),Kw=new $APP.E(null,"solid","solid",-2023773691),Pw=new $APP.E(null,"data-last?","data-last?",-1110326839),Ow=new $APP.E(null,"data-position-raw","data-position-raw",256144356),Wda=new $APP.E(null,"none","none",1333468478),
19
+ Nw=new $APP.E(null,"data-striped?","data-striped?",906911587),Xda=new $APP.E(null,"dashed","dashed",-1449249319),Sw=new $APP.E(null,"marker-aria","marker-aria",-353426855),Lda=new $APP.E(null,"default-slot","default-slot",-1145647151),Mw=new $APP.E(null,"data-index-raw","data-index-raw",491574874),Gda=new $APP.E(null,"data-index","data-index",1161508385);$APP.Wg(["data-position","data-striped","data-index","data-last"]);var Vda="label title status icon connector position disabled data-last data-index data-position data-striped".split(" ");
20
+ $APP.ge(["x-timeline-item-connected",new $APP.J(null,2,[$APP.Ki,new $APP.J(null,4,[$APP.xu,$APP.X,$APP.Z,$APP.X,$APP.Ws,$APP.X,$APP.rn,$APP.$i],null),$APP.vs,!1],null),"x-timeline-item-disconnected",new $APP.J(null,2,[$APP.Ki,new $APP.J(null,2,[$APP.xu,$APP.X,$APP.Z,$APP.X],null),$APP.vs,!1],null),"x-timeline-item-click",new $APP.J(null,2,[$APP.Ki,new $APP.J(null,2,[$APP.xu,$APP.X,$APP.Z,$APP.X],null),$APP.vs,!1],null)]);
21
+ var xda=new $APP.J(null,5,["pending",$APP.mt,"active",$APP.bu,"complete",$APP.Zv,"error",$APP.Hj,"warning",$APP.Fv],null),zda=new $APP.J(null,5,[$APP.mt,"pending",$APP.bu,"active",$APP.Zv,"complete",$APP.Hj,"error",$APP.Fv,"warning"],null),Qw=new $APP.J(null,5,[$APP.mt,"○",$APP.bu,"●",$APP.Zv,"✓",$APP.Hj,"✕",$APP.Fv,"!"],null),Ada=new $APP.J(null,3,["solid",Kw,"dashed",Xda,"none",Wda],null),Lw=new $APP.J(null,2,["start",$APP.Ol,"end",$APP.Pl],null);var Ida=":host{display:block;color-scheme:light dark;--x-timeline-item-marker-size:2rem;--x-timeline-item-marker-bg:var(--x-color-border,rgba(0,0,0,0.06));--x-timeline-item-marker-color:var(--x-color-text-muted,rgba(0,0,0,0.45));--x-timeline-item-connector-color:var(--x-color-border,rgba(0,0,0,0.12));--x-timeline-item-connector-width:2px;--x-timeline-item-gap:0.75rem;--x-timeline-item-label-width:6rem;--x-timeline-item-label-color:var(--x-color-text-muted,rgba(0,0,0,0.5));--x-timeline-item-label-font-size:var(--x-font-size-sm,0.8125rem);--x-timeline-item-title-font-size:var(--x-font-size-sm,0.9375rem);--x-timeline-item-stripe-bg:var(--x-color-surface,rgba(0,0,0,0.025));--x-timeline-item-motion:var(--x-transition-duration,150ms);--x-timeline-item-motion-ease:var(--x-transition-easing,cubic-bezier(0.2,0,0,1));--x-timeline-item-enter-duration:var(--x-transition-duration,160ms);--x-timeline-item-disabled-opacity:0.45;}"+
22
+ $APP.N.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-timeline-item-marker-bg:var(--x-color-border,rgba(255,255,255,0.10));--x-timeline-item-marker-color:var(--x-color-text-muted,rgba(255,255,255,0.55));--x-timeline-item-connector-color:var(--x-color-border,rgba(255,255,255,0.15));--x-timeline-item-label-color:var(--x-color-text-muted,rgba(255,255,255,0.5));--x-timeline-item-stripe-bg:var(--x-color-surface,rgba(255,255,255,0.03));}}:host([data-status\x3d'active']){--x-timeline-item-marker-bg:var(--x-color-primary,rgba(0,102,204,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-primary,rgba(0,102,204,0.4));}:host([data-status\x3d'complete']){--x-timeline-item-marker-bg:var(--x-color-success,rgba(16,140,72,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-success,rgba(16,140,72,0.5));}:host([data-status\x3d'error']){--x-timeline-item-marker-bg:var(--x-color-danger,rgba(190,20,40,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-danger,rgba(190,20,40,0.4));}:host([data-status\x3d'warning']){--x-timeline-item-marker-bg:var(--x-color-warning,rgba(204,120,0,1));--x-timeline-item-marker-color:#fff;--x-timeline-item-connector-color:var(--x-color-warning,rgba(204,120,0,0.4));}@media (prefers-color-scheme:dark){:host([data-status\x3d'active']){--x-timeline-item-marker-bg:var(--x-color-primary,rgba(80,160,255,1));--x-timeline-item-connector-color:var(--x-color-primary,rgba(80,160,255,0.4));}:host([data-status\x3d'complete']){--x-timeline-item-marker-bg:var(--x-color-success,rgba(60,210,120,1));--x-timeline-item-connector-color:var(--x-color-success,rgba(60,210,120,0.5));}:host([data-status\x3d'error']){--x-timeline-item-marker-bg:var(--x-color-danger,rgba(255,90,110,1));--x-timeline-item-connector-color:var(--x-color-danger,rgba(255,90,110,0.4));}:host([data-status\x3d'warning']){--x-timeline-item-marker-bg:var(--x-color-warning,rgba(255,190,90,1));--x-timeline-item-connector-color:var(--x-color-warning,rgba(255,190,90,0.4));}}:host([data-striped]){background:var(--x-timeline-item-stripe-bg);border-radius:var(--x-radius-sm,4px);}:host([disabled]){opacity:var(--x-timeline-item-disabled-opacity);pointer-events:none;}:host(:not([disabled])){cursor:pointer;}:host(:not([disabled])):focus{outline:none;}:host(:not([disabled])):focus-visible{outline:2px solid var(--x-color-focus-ring,rgba(0,102,204,0.55));outline-offset:2px;}@media (prefers-color-scheme:dark){:host(:not([disabled])):focus-visible{outline-color:var(--x-color-focus-ring,rgba(80,160,255,0.7));}}.timeline-item{display:grid;grid-template-columns:var(--x-timeline-item-label-width) var(--x-timeline-item-marker-size) 1fr;grid-template-areas:'label track content';align-items:start;gap:0 var(--x-timeline-item-gap);}:host([data-position\x3d'end']) .timeline-item{grid-template-columns:1fr var(--x-timeline-item-marker-size) var(--x-timeline-item-label-width);grid-template-areas:'content track label';}.label-col{grid-area:label;display:flex;align-items:center;justify-content:flex-end;min-height:var(--x-timeline-item-marker-size);font-size:var(--x-timeline-item-label-font-size);color:var(--x-timeline-item-label-color);overflow:hidden;min-width:0;}:host([data-position\x3d'end']) .label-col{justify-content:flex-start;}.track-col{grid-area:track;display:flex;flex-direction:column;align-items:center;}.marker{display:inline-flex;align-items:center;justify-content:center;width:var(--x-timeline-item-marker-size);height:var(--x-timeline-item-marker-size);border-radius:999px;background:var(--x-timeline-item-marker-bg);color:var(--x-timeline-item-marker-color);font-size:0.875em;flex-shrink:0;transition:background var(--x-timeline-item-motion) var(--x-timeline-item-motion-ease),color var(--x-timeline-item-motion) var(--x-timeline-item-motion-ease);}.connector{flex:1;width:var(--x-timeline-item-connector-width);background:var(--x-timeline-item-connector-color);min-height:1rem;transition:background var(--x-timeline-item-motion) var(--x-timeline-item-motion-ease);}:host([data-connector\x3d'dashed']) .connector{background:repeating-linear-gradient(to bottom,var(--x-timeline-item-connector-color) 0,var(--x-timeline-item-connector-color) 4px,transparent 4px,transparent 8px);}:host([data-connector\x3d'none']) .connector,:host([data-last]) .connector{display:none;}.content-col{grid-area:content;display:flex;flex-direction:column;min-width:0;padding-bottom:var(--x-timeline-item-gap);}.title{font-weight:var(--x-font-weight-semibold,600);font-size:var(--x-timeline-item-title-font-size);line-height:1.25;min-height:var(--x-timeline-item-marker-size);display:flex;align-items:center;overflow-wrap:anywhere;min-width:0;}.title[hidden]{display:none;}.body{margin-top:0.25rem;}.actions{margin-top:0.5rem;}:host([data-entering]){animation:x-timeline-item-enter var(--x-timeline-item-enter-duration) var(--x-timeline-item-motion-ease) both;}@keyframes x-timeline-item-enter{from{opacity:0;transform:translateX(-4px);}to{opacity:1;transform:translateX(0);}}:host([data-position\x3d'end'][data-entering]){animation-name:x-timeline-item-enter-end;}@keyframes x-timeline-item-enter-end{from{opacity:0;transform:translateX(4px);}to{opacity:1;transform:translateX(0);}}@media (prefers-reduced-motion:reduce){:host([data-entering]){animation:none !important;}.marker,.connector{transition:none !important;}}";$APP.ea("baredom.exports.x_timeline_item.init",cx);export const init=cx;
@@ -1,10 +1,10 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var q4=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.bd(Bza,a)?a:"start"},Cza=function(a,b){switch(a){case "start":return"start";case "end":return"end";case "alternating":return $APP.vd(b,2)===0?"start":"end";default:return"start"}},r4=function(a,b,c){var d=$APP.G(a);a=$APP.C(d,$APP.Os);d=$APP.C(d,$APP.mr);return $APP.ge(["data-index",""+$APP.N.i(b),"data-last",$APP.z.j(b,c-1)?"":null,"data-position",Cza(a,b),"data-striped",$APP.m(d)?"":null])},s4=function(a){a=new $APP.K(null,
3
- 3,[$APP.Zk,a.getAttribute("label"),$APP.du,a.getAttribute("position"),$APP.mr,a.hasAttribute("striped")],null);var b=$APP.G(a);a=$APP.C(b,$APP.Zk);var c=$APP.C(b,$APP.du);b=$APP.C(b,$APP.mr);return new $APP.K(null,3,[$APP.Z,$APP.m(a)?a:"",$APP.Os,q4(c),$APP.mr,$APP.D(b)],null)},t4=function(a,b){var c=$APP.Bc(a.querySelectorAll(":scope \x3e "+$APP.N.i("x-timeline-item")));a=$APP.x(c);for(var d=$APP.q($APP.we($APP.ep,c)),e=null,f=0,g=0;;)if(g<f){c=e.C(null,g);var k=$APP.B(c,0,null);c=$APP.B(c,1,null);
4
- k=$APP.q(r4(b,k,a));for(var n=null,r=0,v=0;;)if(v<r){var w=n.C(null,v),y=$APP.B(w,0,null);w=$APP.B(w,1,null);$APP.Di(c,y,w);v+=1}else if(k=$APP.q(k))$APP.Xc(k)?(r=$APP.Ab(k),k=$APP.Bb(k),n=r,r=$APP.x(r)):(r=$APP.t(k),n=$APP.B(r,0,null),r=$APP.B(r,1,null),$APP.Di(c,n,r),k=$APP.u(k),n=null,r=0),v=0;else break;g+=1}else if(c=$APP.q(d)){d=c;if($APP.Xc(d))e=$APP.Ab(d),d=$APP.Bb(d),c=e,f=$APP.x(e),e=c;else{c=$APP.t(d);k=$APP.B(c,0,null);c=$APP.B(c,1,null);e=$APP.q(r4(b,k,a));f=null;for(k=g=0;;)if(k<g)r=
5
- f.C(null,k),n=$APP.B(r,0,null),r=$APP.B(r,1,null),$APP.Di(c,n,r),k+=1;else if(e=$APP.q(e))$APP.Xc(e)?(g=$APP.Ab(e),e=$APP.Bb(e),f=g,g=$APP.x(g)):(g=$APP.t(e),f=$APP.B(g,0,null),g=$APP.B(g,1,null),$APP.Di(c,f,g),e=$APP.u(e),f=null,g=0),k=0;else break;d=$APP.u(d);e=null;f=0}g=0}else return null},u4=function(a){var b=$APP.l(a,"__xTimelineModel");b=$APP.m(b)?b:s4(a);return t4(a,b)},Eza=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=
6
- document.createElement("slot");c.textContent=Dza;$APP.U(d,"part","label");$APP.U(d,"hidden","");b.appendChild(c);b.appendChild(d);b.appendChild(e);e.addEventListener("slotchange",function(){return u4(a)});$APP.T(a,"__xTimelineRefs",new $APP.K(null,3,[$APP.Cl,b,v4,d,$APP.$u,e],null))},w4=function(a){var b=$APP.l(a,"__xTimelineRefs");if($APP.m(b))return b;Eza(a);return $APP.l(a,"__xTimelineRefs")},x4=function(a){var b=s4(a);if($APP.M.j($APP.l(a,"__xTimelineModel"),b)){b=$APP.G(b);var c=$APP.C(b,$APP.Z),
7
- d=w4(a);d=$APP.G(d);d=$APP.C(d,v4);$APP.U(a,"role","list");$APP.M.j(c,"")?$APP.U(a,"aria-label",c):$APP.V(a,"aria-label");$APP.M.j(c,"")?(d.textContent=c,$APP.V(d,"hidden")):(d.textContent="",$APP.U(d,"hidden",""));t4(a,b);a=$APP.T(a,"__xTimelineModel",b)}else a=null;return a},Fza=function(a){function b(c){c.stopPropagation();var d=c.target.getAttribute("data-index");c=c.detail;typeof d==="string"?(d=parseInt(d,10),d=$APP.m(isNaN(d))?null:d):d=null;var e=$APP.l(c,"status");c=$APP.l(c,"label");return $APP.Mi(a,
8
- "x-timeline-select",$APP.cn(new $APP.K(null,3,[$APP.dm,$APP.m(d)?d:0,$APP.pu,$APP.m(e)?e:"",$APP.Z,$APP.m(c)?c:""],null)))}a.addEventListener("x-timeline-item-click",b);$APP.T(a,"__xTimelineHandlers",{"item-click":b})},y4=function(a){var b=$APP.l(a,"__xTimelineHandlers");$APP.m(b)&&a.removeEventListener("x-timeline-item-click",$APP.l(b,"item-click"));return $APP.T(a,"__xTimelineHandlers",null)},Gza=function(a){Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.m(b)?
9
- b:""},set:function(b){return $APP.m($APP.m(b)?$APP.M.j(b,""):b)?$APP.U(this,"label",""+$APP.N.i(b)):$APP.V(this,"label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"position",{get:function(){return q4(this.getAttribute("position"))},set:function(b){return $APP.m(b)?$APP.U(this,"position",""+$APP.N.i(b)):$APP.V(this,"position")},enumerable:!0,configurable:!0});return $APP.Ri(a,"striped","striped")},Hza=function(a){w4(a);x4(a);y4(a);Fza(a);return u4(a)},Iza=function(a){return y4(a)},Jza=
10
- function(a,b,c,d){return $APP.M.j(c,d)?x4(a):null},z4=function(){return $APP.Ej("x-timeline",new $APP.K(null,5,[$APP.Dj,Kza,$APP.Bj,Hza,$APP.yj,Iza,$APP.xj,Jza,$APP.Cj,Gza],null))},v4=new $APP.F(null,"label-div","label-div",1505730697);var Kza=["label","position","striped"];$APP.Wg(["data-index","data-position","data-striped","data-last"]);var Bza=new $APP.Ug(null,new $APP.K(null,3,["start",null,"end",null,"alternating",null],null),null);$APP.ge(["x-timeline-select",new $APP.K(null,2,[$APP.Ji,new $APP.K(null,3,[$APP.dm,$APP.Y,$APP.pu,$APP.X,$APP.Z,$APP.X],null),$APP.Zr,!1],null)]);var Dza=":host{display:flex;flex-direction:column;color-scheme:light dark;--x-timeline-gap:0;--x-timeline-label-color:var(--x-color-text,inherit);--x-timeline-label-font-size:var(--x-font-size-sm,0.875rem);--x-timeline-label-font-weight:var(--x-font-weight-semibold,600);--x-timeline-label-padding:0 0 0.5rem;}"+$APP.N.i(":host([hidden]){display:none;}")+"slot{display:contents;}[part\x3dlabel]{color:var(--x-timeline-label-color);font-size:var(--x-timeline-label-font-size);font-weight:var(--x-timeline-label-font-weight);padding:var(--x-timeline-label-padding);box-sizing:border-box;}[part\x3dlabel][hidden]{display:none !important;}";$APP.ea("baredom.exports.x_timeline.init",z4);export const init=z4;
2
+ var E4=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.bd(Gza,a)?a:"start"},Hza=function(a,b){switch(a){case "start":return"start";case "end":return"end";case "alternating":return $APP.vd(b,2)===0?"start":"end";default:return"start"}},F4=function(a,b,c){var d=$APP.F(a);a=$APP.C(d,$APP.Ws);d=$APP.C(d,$APP.sr);return $APP.ge(["data-index",""+$APP.N.i(b),"data-last",$APP.z.j(b,c-1)?"":null,"data-position",Hza(a,b),"data-striped",$APP.m(d)?"":null])},G4=function(a){a=new $APP.J(null,
3
+ 3,[$APP.Ik,$APP.V.j(a,"label"),$APP.lu,$APP.V.j(a,"position"),$APP.sr,a.hasAttribute("striped")],null);var b=$APP.F(a);a=$APP.C(b,$APP.Ik);var c=$APP.C(b,$APP.lu);b=$APP.C(b,$APP.sr);return new $APP.J(null,3,[$APP.Z,$APP.m(a)?a:"",$APP.Ws,E4(c),$APP.sr,$APP.D(b)],null)},H4=function(a,b){var c=$APP.Bc(a.querySelectorAll(":scope \x3e "+$APP.N.i("x-timeline-item")));a=$APP.x(c);for(var d=$APP.q($APP.we($APP.kp,c)),e=null,f=0,g=0;;)if(g<f){c=e.C(null,g);var k=$APP.B(c,0,null);c=$APP.B(c,1,null);k=$APP.q(F4(b,
4
+ k,a));for(var n=null,r=0,v=0;;)if(v<r){var w=n.C(null,v),y=$APP.B(w,0,null);w=$APP.B(w,1,null);$APP.Ei(c,y,w);v+=1}else if(k=$APP.q(k))$APP.Xc(k)?(r=$APP.Ab(k),k=$APP.Bb(k),n=r,r=$APP.x(r)):(r=$APP.t(k),n=$APP.B(r,0,null),r=$APP.B(r,1,null),$APP.Ei(c,n,r),k=$APP.u(k),n=null,r=0),v=0;else break;g+=1}else if(c=$APP.q(d)){d=c;if($APP.Xc(d))e=$APP.Ab(d),d=$APP.Bb(d),c=e,f=$APP.x(e),e=c;else{c=$APP.t(d);k=$APP.B(c,0,null);c=$APP.B(c,1,null);e=$APP.q(F4(b,k,a));f=null;for(k=g=0;;)if(k<g)r=f.C(null,k),n=
5
+ $APP.B(r,0,null),r=$APP.B(r,1,null),$APP.Ei(c,n,r),k+=1;else if(e=$APP.q(e))$APP.Xc(e)?(g=$APP.Ab(e),e=$APP.Bb(e),f=g,g=$APP.x(g)):(g=$APP.t(e),f=$APP.B(g,0,null),g=$APP.B(g,1,null),$APP.Ei(c,f,g),e=$APP.u(e),f=null,g=0),k=0;else break;d=$APP.u(d);e=null;f=0}g=0}else return null},I4=function(a){var b=$APP.l(a,"__xTimelineModel");b=$APP.m(b)?b:G4(a);return H4(a,b)},Jza=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");
6
+ c.textContent=Iza;$APP.R(d,"part","label");$APP.R(d,"hidden","");b.appendChild(c);b.appendChild(d);b.appendChild(e);e.addEventListener("slotchange",function(){return I4(a)});$APP.Q(a,"__xTimelineRefs",new $APP.J(null,3,[$APP.Bl,b,J4,d,$APP.hv,e],null))},K4=function(a){var b=$APP.l(a,"__xTimelineRefs");if($APP.m(b))return b;Jza(a);return $APP.l(a,"__xTimelineRefs")},L4=function(a){var b=G4(a);if($APP.K.j($APP.l(a,"__xTimelineModel"),b)){b=$APP.F(b);var c=$APP.C(b,$APP.Z),d=K4(a);d=$APP.F(d);d=$APP.C(d,
7
+ J4);$APP.R(a,"role","list");$APP.K.j(c,"")?$APP.R(a,"aria-label",c):$APP.U(a,"aria-label");$APP.K.j(c,"")?(d.textContent=c,$APP.U(d,"hidden")):(d.textContent="",$APP.R(d,"hidden",""));H4(a,b);a=$APP.Q(a,"__xTimelineModel",b)}else a=null;return a},Kza=function(a){function b(c){c.stopPropagation();var d=c.target.getAttribute("data-index");c=c.detail;typeof d==="string"?(d=parseInt(d,10),d=$APP.m(isNaN(d))?null:d):d=null;var e=$APP.l(c,"status");c=$APP.l(c,"label");return $APP.Ni(a,"x-timeline-select",
8
+ $APP.jn(new $APP.J(null,3,[$APP.rm,$APP.m(d)?d:0,$APP.xu,$APP.m(e)?e:"",$APP.Z,$APP.m(c)?c:""],null)))}a.addEventListener("x-timeline-item-click",b);$APP.Q(a,"__xTimelineHandlers",{"item-click":b})},M4=function(a){var b=$APP.l(a,"__xTimelineHandlers");$APP.m(b)&&a.removeEventListener("x-timeline-item-click",$APP.l(b,"item-click"));return $APP.Q(a,"__xTimelineHandlers",null)},Lza=function(a){Object.defineProperty(a,"label",{get:function(){var b=this.getAttribute("label");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?
9
+ $APP.K.j(b,""):b)?$APP.R(this,"label",""+$APP.N.i(b)):$APP.U(this,"label")},enumerable:!0,configurable:!0});Object.defineProperty(a,"position",{get:function(){return E4(this.getAttribute("position"))},set:function(b){return $APP.m(b)?$APP.R(this,"position",""+$APP.N.i(b)):$APP.U(this,"position")},enumerable:!0,configurable:!0});return $APP.Si(a,"striped","striped")},Mza=function(a){K4(a);L4(a);M4(a);Kza(a);return I4(a)},Nza=function(a){return M4(a)},Oza=function(a,b,c,d){return $APP.K.j(c,d)?L4(a):
10
+ null},N4=function(){return $APP.Fj("x-timeline",new $APP.J(null,5,[$APP.Ej,Pza,$APP.Cj,Mza,$APP.zj,Nza,$APP.yj,Oza,$APP.Dj,Lza],null))},J4=new $APP.E(null,"label-div","label-div",1505730697);var Pza=["label","position","striped"];$APP.Wg(["data-index","data-position","data-striped","data-last"]);var Gza=new $APP.Ug(null,new $APP.J(null,3,["start",null,"end",null,"alternating",null],null),null);$APP.ge(["x-timeline-select",new $APP.J(null,2,[$APP.Ki,new $APP.J(null,3,[$APP.rm,$APP.Y,$APP.xu,$APP.X,$APP.Z,$APP.X],null),$APP.vs,!1],null)]);var Iza=":host{display:flex;flex-direction:column;color-scheme:light dark;--x-timeline-gap:0;--x-timeline-label-color:var(--x-color-text,inherit);--x-timeline-label-font-size:var(--x-font-size-sm,0.875rem);--x-timeline-label-font-weight:var(--x-font-weight-semibold,600);--x-timeline-label-padding:0 0 0.5rem;}"+$APP.N.i(":host([hidden]){display:none;}")+"slot{display:contents;}[part\x3dlabel]{color:var(--x-timeline-label-color);font-size:var(--x-timeline-label-font-size);font-weight:var(--x-timeline-label-font-weight);padding:var(--x-timeline-label-padding);box-sizing:border-box;}[part\x3dlabel][hidden]{display:none !important;}";$APP.ea("baredom.exports.x_timeline.init",N4);export const init=N4;