@vanelsas/baredom 1.3.0 → 1.4.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 (83) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +6 -4
  3. package/dist/base.js +397 -373
  4. package/dist/x-alert.js +19 -19
  5. package/dist/x-avatar-group.js +11 -11
  6. package/dist/x-avatar.js +15 -15
  7. package/dist/x-badge.js +11 -11
  8. package/dist/x-bento-grid.js +5 -5
  9. package/dist/x-bento-item.js +4 -4
  10. package/dist/x-breadcrumbs.js +14 -14
  11. package/dist/x-button.js +16 -16
  12. package/dist/x-cancel-dialogue.js +17 -17
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-chart.js +47 -47
  15. package/dist/x-checkbox.js +11 -11
  16. package/dist/x-chip.js +8 -8
  17. package/dist/x-collapse.js +10 -10
  18. package/dist/x-command-palette.js +31 -31
  19. package/dist/x-container.js +6 -6
  20. package/dist/x-context-menu.js +19 -19
  21. package/dist/x-copy.js +23 -23
  22. package/dist/x-currency-field.js +22 -22
  23. package/dist/x-date-picker.js +41 -41
  24. package/dist/x-divider.js +13 -13
  25. package/dist/x-drawer.js +11 -11
  26. package/dist/x-dropdown.js +9 -9
  27. package/dist/x-fieldset.js +6 -6
  28. package/dist/x-file-download.js +7 -7
  29. package/dist/x-form-field.js +15 -15
  30. package/dist/x-form.js +10 -10
  31. package/dist/x-gaussian-blur.js +18 -18
  32. package/dist/x-grid.js +6 -6
  33. package/dist/x-kinetic-font.js +29 -0
  34. package/dist/x-kinetic-typography.js +39 -61
  35. package/dist/x-liquid-dock.js +40 -0
  36. package/dist/x-liquid-fill.js +45 -0
  37. package/dist/x-liquid-glass.js +48 -0
  38. package/dist/x-menu-item.js +10 -10
  39. package/dist/x-menu.js +11 -11
  40. package/dist/x-metaball-cursor.js +28 -27
  41. package/dist/x-modal.js +12 -12
  42. package/dist/x-morph-stack.js +41 -0
  43. package/dist/x-navbar.js +13 -13
  44. package/dist/x-neural-glow.js +34 -34
  45. package/dist/x-notification-center.js +9 -10
  46. package/dist/x-organic-divider.js +19 -19
  47. package/dist/x-organic-progress.js +38 -38
  48. package/dist/x-organic-shape.js +14 -14
  49. package/dist/x-pagination.js +16 -16
  50. package/dist/x-popover.js +14 -14
  51. package/dist/x-progress-circle.js +9 -9
  52. package/dist/x-progress.js +10 -10
  53. package/dist/x-radio.js +11 -11
  54. package/dist/x-ripple-effect.js +12 -13
  55. package/dist/x-scroll-parallax.js +19 -19
  56. package/dist/x-scroll-stack.js +18 -18
  57. package/dist/x-scroll-story.js +36 -36
  58. package/dist/x-scroll-timeline.js +50 -50
  59. package/dist/x-scroll.js +41 -41
  60. package/dist/x-search-field.js +14 -14
  61. package/dist/x-select.js +9 -9
  62. package/dist/x-sidebar.js +16 -16
  63. package/dist/x-skeleton.js +6 -6
  64. package/dist/x-slider.js +16 -16
  65. package/dist/x-soft-body.js +22 -0
  66. package/dist/x-spacer.js +5 -5
  67. package/dist/x-spinner.js +5 -5
  68. package/dist/x-splash.js +13 -13
  69. package/dist/x-stat.js +11 -11
  70. package/dist/x-stepper.js +16 -16
  71. package/dist/x-switch.js +10 -10
  72. package/dist/x-tab.js +7 -7
  73. package/dist/x-table-cell.js +22 -22
  74. package/dist/x-table-row.js +10 -10
  75. package/dist/x-table.js +16 -16
  76. package/dist/x-tabs.js +11 -11
  77. package/dist/x-text-area.js +18 -18
  78. package/dist/x-timeline-item.js +24 -24
  79. package/dist/x-timeline.js +9 -9
  80. package/dist/x-toast.js +24 -24
  81. package/dist/x-toaster.js +8 -8
  82. package/dist/x-typography.js +10 -10
  83. package/package.json +25 -1
package/dist/x-navbar.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var cN=function(a,b,c){return typeof a==="string"&&$APP.K(b,a)?a:c},dN=function(a,b,c){return a.dispatchEvent(new CustomEvent(b,{detail:c,bubbles:!0,composed:!0,cancelable:!1}))},eN=function(a){return a.assignedNodes({flatten:!0})},fN=function(a){return document.createElement(a)},mN=function(a,b){var c=$APP.l(b,"base"),d=$APP.l(b,"bar"),e=$APP.l(b,"brand"),g=$APP.l(b,"start"),h=$APP.l(b,"actions"),k=$APP.l(b,"toggle"),m=$APP.l(b,"end"),p=$APP.l(b,"brand-slot"),q=$APP.l(b,"start-slot"),v=$APP.l(b,
3
- "actions-slot"),x=$APP.l(b,"toggle-slot");b=$APP.l(b,"end-slot");a=new $APP.R(null,7,[$APP.U,a.getAttribute("label"),$APP.Ij,a.getAttribute("orientation"),$APP.jh,a.getAttribute("variant"),$APP.Wj,a.hasAttribute("sticky"),gN,a.hasAttribute("elevated"),$APP.di,a.getAttribute("breakpoint"),hN,a.getAttribute("alignment")],null);var y=$APP.N(a);a=$APP.I(y,$APP.U);var A=$APP.I(y,$APP.Ij),D=$APP.I(y,$APP.jh),G=$APP.I(y,$APP.Wj),H=$APP.I(y,gN),F=$APP.I(y,$APP.di);y=$APP.I(y,hN);a=new $APP.R(null,7,[$APP.U,
4
- typeof a==="string"?a:null,$APP.Ij,cN(A,iN,"horizontal"),$APP.jh,cN(D,jN,"default"),$APP.Wj,$APP.J(G),gN,$APP.J(H),$APP.di,cN(F,kN,"md"),hN,cN(y,lN,"space-between")],null);p=eN(p).length>0;q=eN(q).length>0;v=eN(v).length>0;x=eN(x).length>0;b=eN(b).length>0;A=$APP.N(a);A=$APP.I(A,$APP.U);A=typeof A==="string"&&$APP.O("",A)?A:null;$APP.n(A)?c.setAttribute("aria-label",A):c.removeAttribute("aria-label");c.setAttribute("data-variant",$APP.jh.g(a));c.setAttribute("data-orientation",$APP.Ij.g(a));c.setAttribute("data-breakpoint",
5
- $APP.di.g(a));d.setAttribute("data-alignment",hN.g(a));e.setAttribute("data-has-brand",p?"true":"false");g.setAttribute("data-has-start",q?"true":"false");h.setAttribute("data-has-actions",v?"true":"false");k.setAttribute("data-has-toggle",x?"true":"false");return m.setAttribute("data-has-end",b?"true":"false")},nN=function(a,b){b.addEventListener("click",function(c){var d=$APP.l(a,"__xNavbarRefs"),e=c.target,g=$APP.n(e)?e.closest("a"):null;c=c instanceof PointerEvent?"pointer":c instanceof MouseEvent?
6
- "pointer":c instanceof KeyboardEvent?"keyboard":"programmatic";$APP.n(g)&&(g=g.getAttribute("href"),dN(a,"navigate",{href:$APP.n(g)?g:"",source:c}));a:{d=eN($APP.l(d,"brand-slot"));for(g=0;;)if(g<d.length){var h=d[g];var k=$APP.C.h(h,e);h=k?k:(k=$APP.C.h(h.nodeType,Node.ELEMENT_NODE))?h.contains(e):k;if($APP.n(h)){e=!0;break a}g+=1}else{e=!1;break a}e=void 0}return e?dN(a,"brand-activate",{source:c}):null});b.addEventListener("focusin",function(c){c=c.target;if($APP.n($APP.n(c)?c.matches(":focus-visible"):
7
- c)){if($APP.n($APP.l(a,"__xNavbarFocusVisible")))return null;a.__xNavbarFocusVisible=!0;a.setAttribute("data-focus-visible-within","true");return dN(a,"focus-visible",{})}return null});b.addEventListener("focusout",function(c){c=c.relatedTarget;if($APP.n($APP.n(c)?a.contains(c):c))return null;a.__xNavbarFocusVisible=!1;return a.removeAttribute("data-focus-visible-within")})},oN=function(a,b){function c(){return mN(a,b)}$APP.l(b,"brand-slot").addEventListener("slotchange",c);$APP.l(b,"start-slot").addEventListener("slotchange",
8
- c);$APP.l(b,"default-slot").addEventListener("slotchange",c);$APP.l(b,"actions-slot").addEventListener("slotchange",c);$APP.l(b,"toggle-slot").addEventListener("slotchange",c);$APP.l(b,"end-slot").addEventListener("slotchange",c)},pN=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(c)},set:function(d){return $APP.n($APP.J(d))?this.setAttribute(c,""):this.removeAttribute(c)}})},qN=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,
9
- enumerable:!0,get:function(){var d=this.getAttribute(c);return $APP.n(d)?d:""},set:function(d){return $APP.n(d)?this.setAttribute(c,""+$APP.T.g(d)):this.removeAttribute(c)}})},rN=function(a){pN(a,"sticky","sticky");pN(a,"elevated","elevated");qN(a,"label","label");qN(a,"variant","variant");qN(a,"orientation","orientation");qN(a,"alignment","alignment");qN(a,"breakpoint","breakpoint")},tN=function(){var a=class extends HTMLElement{};a.observedAttributes=sN;a.prototype.connectedCallback=function(){var b=
10
- $APP.l(this,"__xNavbarRefs")==null;var c=$APP.l(this,"__xNavbarRefs");if(!$APP.n(c)){c=this.attachShadow({mode:"open"});var d=fN("style"),e=fN("nav"),g=fN("div"),h=fN("div"),k=fN("div"),m=fN("div"),p=fN("div"),q=fN("div"),v=fN("div"),x=fN("slot"),y=fN("slot"),A=fN("slot"),D=fN("slot"),G=fN("slot"),H=fN("slot");d.textContent=":host{display:block;color-scheme:light dark;--x-navbar-height:4rem;--x-navbar-padding-inline:1rem;--x-navbar-gap:0.75rem;--x-navbar-bg:rgba(255,255,255,0.88);--x-navbar-color:#0f172a;--x-navbar-border:rgba(148,163,184,0.22);--x-navbar-shadow:0 8px 24px rgba(15,23,42,0.08);--x-navbar-focus-ring:#60a5fa;--x-navbar-z-index:40;--x-navbar-radius:1rem;--x-navbar-transition-duration:180ms;--x-navbar-transition-easing:cubic-bezier(0.2,0,0,1);--x-navbar-align-items:center;}@media (prefers-color-scheme: dark){:host{--x-navbar-bg:rgba(15,23,42,0.84);--x-navbar-color:#e5e7eb;--x-navbar-border:rgba(51,65,85,0.9);--x-navbar-shadow:0 14px 36px rgba(0,0,0,0.35);--x-navbar-focus-ring:#93c5fd;}}:host([hidden]){display:none;}[part\x3d'base']{display:block;color:var(--x-navbar-color);background:var(--x-navbar-bg);border:1px solid var(--x-navbar-border);border-radius:var(--x-navbar-radius);box-shadow:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background var(--x-navbar-transition-duration) var(--x-navbar-transition-easing),border-color var(--x-navbar-transition-duration) var(--x-navbar-transition-easing),box-shadow var(--x-navbar-transition-duration) var(--x-navbar-transition-easing);}:host([sticky]) [part\x3d'base']{position:sticky;top:0;z-index:var(--x-navbar-z-index);}:host([elevated]) [part\x3d'base']{box-shadow:var(--x-navbar-shadow);}[part\x3d'base'][data-variant\x3d'subtle']{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;}[part\x3d'base'][data-variant\x3d'inverted']{background:#0f172a;color:#f8fafc;border-color:#1e293b;}@media (prefers-color-scheme: dark){[part\x3d'base'][data-variant\x3d'inverted']{background:#020617;color:#f8fafc;border-color:#172033;}}[part\x3d'base'][data-variant\x3d'transparent']{background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}[part\x3d'bar']{display:grid;grid-template-columns:auto auto 1fr auto auto auto;align-items:var(--x-navbar-align-items, center);gap:var(--x-navbar-gap);min-block-size:var(--x-navbar-height);padding-inline:var(--x-navbar-padding-inline);}[part\x3d'bar'][data-alignment\x3d'start']{justify-items:start;}[part\x3d'bar'][data-alignment\x3d'center']{justify-items:center;}[part\x3d'bar'][data-alignment\x3d'space-between']{justify-items:stretch;}[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'bar']{grid-template-columns:1fr;grid-auto-rows:auto;align-items:var(--x-navbar-align-items, center);padding-block:0.75rem;}[part\x3d'brand'],[part\x3d'start'],[part\x3d'nav'],[part\x3d'actions'],[part\x3d'toggle'],[part\x3d'end']{display:flex;align-items:inherit;min-inline-size:0;}[part\x3d'nav']{gap:var(--x-navbar-gap);}[part\x3d'actions'],[part\x3d'end'],[part\x3d'toggle']{justify-self:end;}[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'actions'],[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'end'],[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'toggle']{justify-self:start;}[part\x3d'brand'][data-has-brand\x3d'false'],[part\x3d'start'][data-has-start\x3d'false'],[part\x3d'actions'][data-has-actions\x3d'false'],[part\x3d'toggle'][data-has-toggle\x3d'false'],[part\x3d'end'][data-has-end\x3d'false']{display:none;}slot[name\x3d'brand'],slot[name\x3d'start'],slot[name\x3d'actions'],slot[name\x3d'toggle'],slot[name\x3d'end']{display:contents;}slot{display:contents;}:host(:focus-within) [part\x3d'base']{box-shadow:var(--x-navbar-shadow);}:host([data-focus-visible-within\x3d'true']) [part\x3d'base']{box-shadow:0 0 0 2px var(--x-navbar-focus-ring), var(--x-navbar-shadow);}@media (prefers-reduced-motion: reduce){[part\x3d'base']{transition:none;}}";
11
- e.setAttribute("part","base");g.setAttribute("part","bar");h.setAttribute("part","brand");k.setAttribute("part","start");m.setAttribute("part","nav");p.setAttribute("part","actions");q.setAttribute("part","toggle");v.setAttribute("part","end");x.setAttribute("name","brand");y.setAttribute("name","start");D.setAttribute("name","actions");G.setAttribute("name","toggle");H.setAttribute("name","end");h.appendChild(x);k.appendChild(y);m.appendChild(A);p.appendChild(D);q.appendChild(G);v.appendChild(H);
12
- g.appendChild(h);g.appendChild(k);g.appendChild(m);g.appendChild(p);g.appendChild(q);g.appendChild(v);e.appendChild(g);c.appendChild(d);c.appendChild(e);this.__xNavbarRefs=c={"end-slot":H,bar:g,start:k,toggle:q,actions:p,brand:h,"default-slot":A,root:c,"brand-slot":x,"start-slot":y,"actions-slot":D,"toggle-slot":G,end:v,base:e,nav:m}}b&&(this.__xNavbarFocusVisible=!1,nN(this,$APP.l(c,"base")),oN(this,c));return mN(this,c)};a.prototype.disconnectedCallback=function(){this.__xNavbarFocusVisible=!1};
13
- a.prototype.attributeChangedCallback=function(){var b=$APP.l(this,"__xNavbarRefs");return $APP.n(b)?mN(this,b):null};rN(a.prototype);return a},uN=function(){$APP.n(customElements.get("x-navbar"))||customElements.define("x-navbar",tN());return null},gN=new $APP.M(null,"elevated","elevated",-7323953),hN=new $APP.M(null,"alignment","alignment",1040093386);var iN=new $APP.S(null,new $APP.R(null,2,["vertical",null,"horizontal",null],null),null),jN=new $APP.S(null,new $APP.R(null,4,["transparent",null,"inverted",null,"subtle",null,"default",null],null),null),kN=new $APP.S(null,new $APP.R(null,4,["md",null,"lg",null,"xl",null,"sm",null],null),null),lN=new $APP.S(null,new $APP.R(null,3,["center",null,"start",null,"space-between",null],null),null),sN="label orientation variant sticky elevated breakpoint alignment".split(" ");
14
- $APP.Ed(["focus-visible",new $APP.R(null,1,[$APP.V,$APP.Fd],null),"navigate",new $APP.R(null,1,[$APP.V,new $APP.R(null,2,[$APP.Rk,$APP.Y,$APP.Jj,$APP.Y],null)],null),"brand-activate",new $APP.R(null,1,[$APP.V,new $APP.R(null,1,[$APP.Jj,$APP.Y],null)],null)]);$APP.ja("baredom.exports.x_navbar.init",uN);export const init=uN;
2
+ var VQ=function(a,b,c){return typeof a==="string"&&$APP.J(b,a)?a:c},WQ=function(a,b,c){return a.dispatchEvent(new CustomEvent(b,{detail:c,bubbles:!0,composed:!0,cancelable:!1}))},XQ=function(a){return a.assignedNodes({flatten:!0})},YQ=function(a){return document.createElement(a)},eR=function(a,b){var c=$APP.l(b,"base"),d=$APP.l(b,"bar"),e=$APP.l(b,"brand"),g=$APP.l(b,"start"),h=$APP.l(b,"actions"),k=$APP.l(b,"toggle"),m=$APP.l(b,"end"),p=$APP.l(b,"brand-slot"),q=$APP.l(b,"start-slot"),w=$APP.l(b,
3
+ "actions-slot"),x=$APP.l(b,"toggle-slot");b=$APP.l(b,"end-slot");a=new $APP.P(null,7,[$APP.T,a.getAttribute("label"),$APP.xk,a.getAttribute("orientation"),$APP.Fh,a.getAttribute("variant"),$APP.Lk,a.hasAttribute("sticky"),ZQ,a.hasAttribute("elevated"),$APP.Di,a.getAttribute("breakpoint"),$Q,a.getAttribute("alignment")],null);var y=$APP.N(a);a=$APP.G(y,$APP.T);var A=$APP.G(y,$APP.xk),C=$APP.G(y,$APP.Fh),E=$APP.G(y,$APP.Lk),H=$APP.G(y,ZQ),F=$APP.G(y,$APP.Di);y=$APP.G(y,$Q);a=new $APP.P(null,7,[$APP.T,
4
+ typeof a==="string"?a:null,$APP.xk,VQ(A,aR,"horizontal"),$APP.Fh,VQ(C,bR,"default"),$APP.Lk,$APP.I(E),ZQ,$APP.I(H),$APP.Di,VQ(F,cR,"md"),$Q,VQ(y,dR,"space-between")],null);p=XQ(p).length>0;q=XQ(q).length>0;w=XQ(w).length>0;x=XQ(x).length>0;b=XQ(b).length>0;A=$APP.N(a);A=$APP.G(A,$APP.T);A=typeof A==="string"&&$APP.O("",A)?A:null;$APP.r(A)?c.setAttribute("aria-label",A):c.removeAttribute("aria-label");c.setAttribute("data-variant",$APP.Fh.g(a));c.setAttribute("data-orientation",$APP.xk.g(a));c.setAttribute("data-breakpoint",
5
+ $APP.Di.g(a));d.setAttribute("data-alignment",$Q.g(a));e.setAttribute("data-has-brand",p?"true":"false");g.setAttribute("data-has-start",q?"true":"false");h.setAttribute("data-has-actions",w?"true":"false");k.setAttribute("data-has-toggle",x?"true":"false");return m.setAttribute("data-has-end",b?"true":"false")},fR=function(a,b){b.addEventListener("click",function(c){var d=$APP.l(a,"__xNavbarRefs"),e=c.target,g=$APP.r(e)?e.closest("a"):null;c=c instanceof PointerEvent?"pointer":c instanceof MouseEvent?
6
+ "pointer":c instanceof KeyboardEvent?"keyboard":"programmatic";$APP.r(g)&&(g=g.getAttribute("href"),WQ(a,"navigate",{href:$APP.r(g)?g:"",source:c}));a:{d=XQ($APP.l(d,"brand-slot"));for(g=0;;)if(g<d.length){var h=d[g];var k=$APP.D.i(h,e);h=k?k:(k=$APP.D.i(h.nodeType,Node.ELEMENT_NODE))?h.contains(e):k;if($APP.r(h)){e=!0;break a}g+=1}else{e=!1;break a}e=void 0}return e?WQ(a,"brand-activate",{source:c}):null});b.addEventListener("focusin",function(c){c=c.target;if($APP.r($APP.r(c)?c.matches(":focus-visible"):
7
+ c)){if($APP.r($APP.l(a,"__xNavbarFocusVisible")))return null;a.__xNavbarFocusVisible=!0;a.setAttribute("data-focus-visible-within","true");return WQ(a,"focus-visible",{})}return null});b.addEventListener("focusout",function(c){c=c.relatedTarget;if($APP.r($APP.r(c)?a.contains(c):c))return null;a.__xNavbarFocusVisible=!1;return a.removeAttribute("data-focus-visible-within")})},gR=function(a,b){function c(){return eR(a,b)}$APP.l(b,"brand-slot").addEventListener("slotchange",c);$APP.l(b,"start-slot").addEventListener("slotchange",
8
+ c);$APP.l(b,"default-slot").addEventListener("slotchange",c);$APP.l(b,"actions-slot").addEventListener("slotchange",c);$APP.l(b,"toggle-slot").addEventListener("slotchange",c);$APP.l(b,"end-slot").addEventListener("slotchange",c)},hR=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(c)},set:function(d){return $APP.r($APP.I(d))?this.setAttribute(c,""):this.removeAttribute(c)}})},iR=function(a,b,c){Object.defineProperty(a,b,{configurable:!0,
9
+ enumerable:!0,get:function(){var d=this.getAttribute(c);return $APP.r(d)?d:""},set:function(d){return $APP.r(d)?this.setAttribute(c,""+$APP.S.g(d)):this.removeAttribute(c)}})},jR=function(a){hR(a,"sticky","sticky");hR(a,"elevated","elevated");iR(a,"label","label");iR(a,"variant","variant");iR(a,"orientation","orientation");iR(a,"alignment","alignment");iR(a,"breakpoint","breakpoint")},lR=function(){var a=class extends HTMLElement{};a.observedAttributes=kR;a.prototype.connectedCallback=function(){var b=
10
+ $APP.l(this,"__xNavbarRefs")==null;var c=$APP.l(this,"__xNavbarRefs");if(!$APP.r(c)){c=this.attachShadow({mode:"open"});var d=YQ("style"),e=YQ("nav"),g=YQ("div"),h=YQ("div"),k=YQ("div"),m=YQ("div"),p=YQ("div"),q=YQ("div"),w=YQ("div"),x=YQ("slot"),y=YQ("slot"),A=YQ("slot"),C=YQ("slot"),E=YQ("slot"),H=YQ("slot");d.textContent=":host{display:block;color-scheme:light dark;--x-navbar-height:4rem;--x-navbar-padding-inline:1rem;--x-navbar-gap:0.75rem;--x-navbar-bg:rgba(255,255,255,0.88);--x-navbar-color:#0f172a;--x-navbar-border:rgba(148,163,184,0.22);--x-navbar-shadow:0 8px 24px rgba(15,23,42,0.08);--x-navbar-focus-ring:#60a5fa;--x-navbar-z-index:40;--x-navbar-radius:1rem;--x-navbar-transition-duration:180ms;--x-navbar-transition-easing:cubic-bezier(0.2,0,0,1);--x-navbar-align-items:center;}@media (prefers-color-scheme: dark){:host{--x-navbar-bg:rgba(15,23,42,0.84);--x-navbar-color:#e5e7eb;--x-navbar-border:rgba(51,65,85,0.9);--x-navbar-shadow:0 14px 36px rgba(0,0,0,0.35);--x-navbar-focus-ring:#93c5fd;}}:host([hidden]){display:none;}[part\x3d'base']{display:block;color:var(--x-navbar-color);background:var(--x-navbar-bg);border:1px solid var(--x-navbar-border);border-radius:var(--x-navbar-radius);box-shadow:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:background var(--x-navbar-transition-duration) var(--x-navbar-transition-easing),border-color var(--x-navbar-transition-duration) var(--x-navbar-transition-easing),box-shadow var(--x-navbar-transition-duration) var(--x-navbar-transition-easing);}:host([sticky]) [part\x3d'base']{position:sticky;top:0;z-index:var(--x-navbar-z-index);}:host([elevated]) [part\x3d'base']{box-shadow:var(--x-navbar-shadow);}[part\x3d'base'][data-variant\x3d'subtle']{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;}[part\x3d'base'][data-variant\x3d'inverted']{background:#0f172a;color:#f8fafc;border-color:#1e293b;}@media (prefers-color-scheme: dark){[part\x3d'base'][data-variant\x3d'inverted']{background:#020617;color:#f8fafc;border-color:#172033;}}[part\x3d'base'][data-variant\x3d'transparent']{background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}[part\x3d'bar']{display:grid;grid-template-columns:auto auto 1fr auto auto auto;align-items:var(--x-navbar-align-items, center);gap:var(--x-navbar-gap);min-block-size:var(--x-navbar-height);padding-inline:var(--x-navbar-padding-inline);}[part\x3d'bar'][data-alignment\x3d'start']{justify-items:start;}[part\x3d'bar'][data-alignment\x3d'center']{justify-items:center;}[part\x3d'bar'][data-alignment\x3d'space-between']{justify-items:stretch;}[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'bar']{grid-template-columns:1fr;grid-auto-rows:auto;align-items:var(--x-navbar-align-items, center);padding-block:0.75rem;}[part\x3d'brand'],[part\x3d'start'],[part\x3d'nav'],[part\x3d'actions'],[part\x3d'toggle'],[part\x3d'end']{display:flex;align-items:inherit;min-inline-size:0;}[part\x3d'nav']{gap:var(--x-navbar-gap);}[part\x3d'actions'],[part\x3d'end'],[part\x3d'toggle']{justify-self:end;}[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'actions'],[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'end'],[part\x3d'base'][data-orientation\x3d'vertical'] [part\x3d'toggle']{justify-self:start;}[part\x3d'brand'][data-has-brand\x3d'false'],[part\x3d'start'][data-has-start\x3d'false'],[part\x3d'actions'][data-has-actions\x3d'false'],[part\x3d'toggle'][data-has-toggle\x3d'false'],[part\x3d'end'][data-has-end\x3d'false']{display:none;}slot[name\x3d'brand'],slot[name\x3d'start'],slot[name\x3d'actions'],slot[name\x3d'toggle'],slot[name\x3d'end']{display:contents;}slot{display:contents;}:host(:focus-within) [part\x3d'base']{box-shadow:var(--x-navbar-shadow);}:host([data-focus-visible-within\x3d'true']) [part\x3d'base']{box-shadow:0 0 0 2px var(--x-navbar-focus-ring), var(--x-navbar-shadow);}@media (prefers-reduced-motion: reduce){[part\x3d'base']{transition:none;}}";
11
+ e.setAttribute("part","base");g.setAttribute("part","bar");h.setAttribute("part","brand");k.setAttribute("part","start");m.setAttribute("part","nav");p.setAttribute("part","actions");q.setAttribute("part","toggle");w.setAttribute("part","end");x.setAttribute("name","brand");y.setAttribute("name","start");C.setAttribute("name","actions");E.setAttribute("name","toggle");H.setAttribute("name","end");h.appendChild(x);k.appendChild(y);m.appendChild(A);p.appendChild(C);q.appendChild(E);w.appendChild(H);
12
+ g.appendChild(h);g.appendChild(k);g.appendChild(m);g.appendChild(p);g.appendChild(q);g.appendChild(w);e.appendChild(g);c.appendChild(d);c.appendChild(e);this.__xNavbarRefs=c={"end-slot":H,bar:g,start:k,toggle:q,actions:p,brand:h,"default-slot":A,root:c,"brand-slot":x,"start-slot":y,"actions-slot":C,"toggle-slot":E,end:w,base:e,nav:m}}b&&(this.__xNavbarFocusVisible=!1,fR(this,$APP.l(c,"base")),gR(this,c));return eR(this,c)};a.prototype.disconnectedCallback=function(){this.__xNavbarFocusVisible=!1};
13
+ a.prototype.attributeChangedCallback=function(){var b=$APP.l(this,"__xNavbarRefs");return $APP.r(b)?eR(this,b):null};jR(a.prototype);return a},mR=function(){$APP.r(customElements.get("x-navbar"))||customElements.define("x-navbar",lR());return null},ZQ=new $APP.M(null,"elevated","elevated",-7323953),$Q=new $APP.M(null,"alignment","alignment",1040093386);var aR=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),bR=new $APP.R(null,new $APP.P(null,4,["transparent",null,"inverted",null,"subtle",null,"default",null],null),null),cR=new $APP.R(null,new $APP.P(null,4,["md",null,"lg",null,"xl",null,"sm",null],null),null),dR=new $APP.R(null,new $APP.P(null,3,["center",null,"start",null,"space-between",null],null),null),kR="label orientation variant sticky elevated breakpoint alignment".split(" ");
14
+ $APP.Sd(["focus-visible",new $APP.P(null,1,[$APP.U,$APP.Td],null),"navigate",new $APP.P(null,1,[$APP.U,new $APP.P(null,2,[$APP.Pl,$APP.Y,$APP.yk,$APP.Y],null)],null),"brand-activate",new $APP.P(null,1,[$APP.U,new $APP.P(null,1,[$APP.yk,$APP.Y],null)],null)]);$APP.ka("baredom.exports.x_navbar.init",mR);export const init=mR;
@@ -1,35 +1,35 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var Px=function(a){if(typeof a==="string"){a=parseInt(a.trim(),10);var b=isNaN(a);return $APP.n($APP.n(b)?b:!(a>0))?15:Math.min(50,Math.max(3,a))}return 15},Qx=function(a,b){return typeof a==="string"&&a.trim().length>0?a.trim():b},Rx=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.n($APP.n(b)?b:!(a>0))?1:Math.min(5,Math.max(.1,a))}return 1},Sx=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.n($APP.n(b)?b:!(a>0))?4:Math.min(10,
3
- Math.max(1,a))}return 4},Tx=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.n($APP.n(b)?b:!(a>0))?.15:Math.min(.5,Math.max(.05,a))}return.15},Ux=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.n($APP.n(b)?b:!(a>0))?40:Math.min(200,Math.max(10,a))}return 40},Vx=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.8:Math.min(1,Math.max(0,a))):.8},Wx=function(a){return a==null?!0:$APP.O("false",a.trim().toLowerCase())},
4
- Xx=function(a,b,c){return a+(b-a)*c},Yx=function(){return $APP.J(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},$x=function(a,b){a=$APP.l(a,"__xNeuralColorCache");var c=$APP.l(a,b);if($APP.n(c))return c;Zx.fillStyle="#000000";Zx.fillStyle=b;c=Zx.fillStyle;if(typeof c==="string"&&$APP.C.h(c[0],"#")){var d=c.substring(1);c=parseInt(d.substring(0,2),16);var e=parseInt(d.substring(2,4),16);d=parseInt(d.substring(4,6),16);c=[c/255,e/255,d/255]}else d=c.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/),
5
- $APP.n(d)?(c=parseInt(d[1],10),e=parseInt(d[2],10),d=parseInt(d[3],10),c=[c/255,e/255,d/255]):c=[0,0,0];return a[b]=c},ay=function(a,b,c){b=a.createShader(b);a.shaderSource(b,c);a.compileShader(b);if($APP.n(a.getShaderParameter(b,a.COMPILE_STATUS)))return b;console.warn("x-neural-glow shader error:",a.getShaderInfoLog(b));a.deleteShader(b);return null},ty=function(a){a=$APP.mf([by,cy,dy,ey,fy,gy,hy,iy,jy,ky],[a.getAttribute("rest-rate"),a.getAttribute("pulse-speed"),a.getAttribute("color-secondary"),
6
- a.getAttribute("opacity"),a.getAttribute("orb-count"),a.getAttribute("orb-size"),a.getAttribute("color-background"),a.getAttribute("interactive"),a.getAttribute("color-primary"),a.getAttribute("connection-distance")]);var b=$APP.N(a);a=$APP.I(b,jy);var c=$APP.I(b,ky),d=$APP.I(b,by),e=$APP.I(b,cy),g=$APP.I(b,ey),h=$APP.I(b,dy),k=$APP.I(b,fy),m=$APP.I(b,gy),p=$APP.I(b,hy);b=$APP.I(b,iy);return $APP.mf([ly,my,ny,oy,$APP.Xj,py,$APP.th,qy,ry,sy],[Ux(m),Px(k),Qx(a,"#4f8bff"),Qx(h,"#00e5cc"),Wx(b),Tx(c),
7
- Vx(g),Rx(e),Qx(p,"#050a18"),Sx(d)])},uy=function(a,b,c){return Math.sin(a*1.7+c*.3)*Math.cos(b*2.3+c*.5)*.5+Math.sin(a*3.1-c*.7)*Math.cos(b*1.3+c*.2)*.25+Math.sin(a*5.3+c*.4)*Math.cos(b*4.7-c*.6)*.125},wy=function(a,b,c){var d=$APP.l(a,"__xNeuralUniforms"),e=vy.g($APP.l(a,"__xNeuralRefs")),g=e.width,h=e.height,k=$APP.l(a,"__xNeuralTime"),m=$APP.l(a,"__xNeuralActivity");e=$APP.l(a,"__xNeuralOrbPos");var p=$APP.l(a,"__xNeuralOrbPhases"),q=my.g(c),v=$x(a,ny.g(c)),x=$x(a,oy.g(c));a=$x(a,ry.g(c));b.uniform2f($APP.l(d,
8
- "u_resolution"),g,h);b.uniform1f($APP.l(d,"u_time"),k);b.uniform1f($APP.l(d,"u_activity"),m);b.uniform1f($APP.l(d,"u_pulse_speed"),qy.g(c));b.uniform1f($APP.l(d,"u_rest_rate"),sy.g(c));b.uniform1i($APP.l(d,"u_orb_count"),q);b.uniform1f($APP.l(d,"u_orb_size"),ly.g(c));b.uniform1f($APP.l(d,"u_connection_dist"),py.g(c));b.uniform3f($APP.l(d,"u_color_primary"),v[0],v[1],v[2]);b.uniform3f($APP.l(d,"u_color_secondary"),x[0],x[1],x[2]);b.uniform3f($APP.l(d,"u_color_background"),a[0],a[1],a[2]);b.uniform1f($APP.l(d,
9
- "u_opacity"),$APP.th.g(c));for(c=0;;)if(c<q)g=e[c],b.uniform2f($APP.l(d,"u_orb_positions["+$APP.T.g(c)+"]"),g[0],g[1]),b.uniform1f($APP.l(d,"u_orb_phases["+$APP.T.g(c)+"]"),p[c]),c+=1;else break},yy=function(a){a.__xNeuralTime=0;$APP.ma(a,"__xNeuralLastFrame",performance.now());a.__xNeuralActivity=0;a.__xNeuralImpulse=0;$APP.ma(a,"__xNeuralRaf",requestAnimationFrame(function(){return xy(a)}))},zy=function(a){if($APP.n($APP.Xj.g($APP.l(a,"__xNeuralModel")))){var b=function(){var g=window.scrollY,h=
10
- $APP.l(a,"__xNeuralLastScroll");a.__xNeuralLastScroll=g;h!=null&&(a.__xNeuralImpulse=Math.min(1,$APP.l(a,"__xNeuralImpulse")+Math.min(1,Math.abs(g-h)/100)));return null},c=function(g){var h=$APP.l(a,"__xNeuralLastPtr"),k=g.clientX;g=g.clientY;if($APP.n(h)){var m=k-$APP.l(h,"x"),p=g-$APP.l(h,"y");a.__xNeuralImpulse=Math.min(1,$APP.l(a,"__xNeuralImpulse")+Math.min(1,Math.sqrt(m*m+p*p)/50));h.x=k;h.y=g}else a.__xNeuralLastPtr={x:k,y:g};return null},d=function(){a.__xNeuralImpulse=Math.min(1,$APP.l(a,
11
- "__xNeuralImpulse")+.3);return null},e={scroll:b,pointer:c,key:d};window.addEventListener("scroll",b,{passive:!0});window.addEventListener("pointermove",c,{passive:!0});window.addEventListener("keydown",d,{passive:!0});a.__xNeuralHandlers=e}return null},Ay=function(a){var b=$APP.l(a,"__xNeuralHandlers");if($APP.n(b)){var c=$APP.l(b,"scroll");$APP.n(c)&&window.removeEventListener("scroll",c);c=$APP.l(b,"pointer");$APP.n(c)&&window.removeEventListener("pointermove",c);b=$APP.l(b,"key");$APP.n(b)&&window.removeEventListener("keydown",
12
- b);a.__xNeuralHandlers=null}},By=function(a){Object.defineProperty(a,"orbCount",{get:function(){return Px(this.getAttribute("orb-count"))},set:function(b){return b==null?this.removeAttribute("orb-count"):this.setAttribute("orb-count",""+$APP.T.g(b|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"colorPrimary",{get:function(){var b=this.getAttribute("color-primary");return Qx(b,"#4f8bff")},set:function(b){return b==null?this.removeAttribute("color-primary"):this.setAttribute("color-primary",
13
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"colorSecondary",{get:function(){var b=this.getAttribute("color-secondary");return Qx(b,"#00e5cc")},set:function(b){return b==null?this.removeAttribute("color-secondary"):this.setAttribute("color-secondary",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"colorBackground",{get:function(){var b=this.getAttribute("color-background");return Qx(b,"#050a18")},set:function(b){return b==null?this.removeAttribute("color-background"):
14
- this.setAttribute("color-background",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"pulseSpeed",{get:function(){return Rx(this.getAttribute("pulse-speed"))},set:function(b){return b==null?this.removeAttribute("pulse-speed"):this.setAttribute("pulse-speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"restRate",{get:function(){return Sx(this.getAttribute("rest-rate"))},set:function(b){return b==null?this.removeAttribute("rest-rate"):this.setAttribute("rest-rate",
15
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"connectionDistance",{get:function(){return Tx(this.getAttribute("connection-distance"))},set:function(b){return b==null?this.removeAttribute("connection-distance"):this.setAttribute("connection-distance",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"orbSize",{get:function(){return Ux(this.getAttribute("orb-size"))},set:function(b){return b==null?this.removeAttribute("orb-size"):this.setAttribute("orb-size",
16
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"opacity",{get:function(){return Vx(this.getAttribute("opacity"))},set:function(b){return b==null?this.removeAttribute("opacity"):this.setAttribute("opacity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"interactive",{get:function(){return Wx(this.getAttribute("interactive"))},set:function(b){return $APP.n(b)?this.removeAttribute("interactive"):this.setAttribute("interactive","false")},enumerable:!0,
17
- configurable:!0})},Gy=function(){var a=class extends HTMLElement{};a.observedAttributes=Cy;a.prototype.connectedCallback=function(){var b=ty(this);this.__xNeuralModel=b;this.__xNeuralColorCache={};this.__xNeuralDriftTime=0;this.__xNeuralLastScroll=this.__xNeuralLastPtr=null;if(!$APP.n($APP.l(this,"__xNeuralRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("canvas");d.textContent=Dy;e.setAttribute("part","canvas");c.appendChild(d);c.appendChild(e);
18
- b:{d=e.getContext("webgl",{alpha:!0,premultipliedAlpha:!1});d=$APP.n(d)?d:e.getContext("experimental-webgl",{alpha:!0,premultipliedAlpha:!1});if($APP.n(d)){var g=ay(d,d.VERTEX_SHADER,"attribute vec2 a_position;\nvoid main() {\n gl_Position \x3d vec4(a_position, 0.0, 1.0);\n}"),h=ay(d,d.FRAGMENT_SHADER,Ey);if($APP.n($APP.n(g)?h:g)){var k=d.createProgram();d.attachShader(k,g);d.attachShader(k,h);d.linkProgram(k);$APP.n(d.getProgramParameter(k,d.LINK_STATUS))?g=k:(console.warn("x-neural-glow link error:",
19
- d.getProgramInfoLog(k)),d.deleteProgram(k),g=null);if($APP.n(g)){d.useProgram(g);h=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,h);d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,1]),d.STATIC_DRAW);h=d.getAttribLocation(g,"a_position");d.enableVertexAttribArray(h);d.vertexAttribPointer(h,2,d.FLOAT,!1,0,0);h={};k=$APP.u(new $APP.Q(null,12,5,$APP.fe,"u_resolution u_time u_activity u_pulse_speed u_rest_rate u_orb_count u_orb_size u_connection_dist u_color_primary u_color_secondary u_color_background u_opacity".split(" "),
20
- null));for(var m=null,p=0,q=0;;)if(q<p){var v=m.G(null,q);h[v]=d.getUniformLocation(g,v);q+=1}else if(k=$APP.u(k))m=k,$APP.Cc(m)?(k=$APP.qb(m),q=$APP.rb(m),m=k,p=$APP.B(k),k=q):(k=$APP.w(m),h[k]=d.getUniformLocation(g,k),k=$APP.z(m),m=null,p=0),q=0;else break;for(k=0;;)if(k<50)m="u_orb_positions["+$APP.T.g(k)+"]",p="u_orb_phases["+$APP.T.g(k)+"]",h[m]=d.getUniformLocation(g,m),h[p]=d.getUniformLocation(g,p),k+=1;else break;this.__xNeuralUniforms=h;this.__xNeuralProgram=g;d.enable(d.BLEND);d.blendFunc(d.SRC_ALPHA,
21
- d.ONE_MINUS_SRC_ALPHA);break b}}}d=null}this.__xNeuralRefs=new $APP.R(null,3,[$APP.Jh,c,vy,e,Fy,d],null)}b=my.g(b);c=[];for(e=0;;)if(e<b)c.push([Math.random(),Math.random()]),e+=1;else break;e=[];d=2*Math.PI;for(g=0;;)if(g<b)e.push(Math.random()*d),g+=1;else break;d=[];for(g=0;;)if(g<b)h=c[g],d.push([h[0],h[1]]),g+=1;else break;this.__xNeuralOrbBase=c;this.__xNeuralOrbPhases=e;this.__xNeuralOrbPos=d;this.setAttribute("aria-hidden","true");this.setAttribute("role","presentation");Ay(this);zy(this);
22
- yy(this);return null};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xNeuralRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xNeuralRaf=null);Ay(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.O(c,d)&&(this.__xNeuralModel=b=ty(this),this.__xNeuralColorCache={},$APP.n($APP.l(this,"__xNeuralRefs")))){var e=my.g(b);b=$APP.l(this,"__xNeuralOrbBase");c=$APP.l(this,"__xNeuralOrbPhases");d=$APP.l(this,"__xNeuralOrbPos");var g=b.length,h=2*Math.PI;if($APP.O(g,
23
- e))if(e>g)for(e-=g,g=0;;)if(g<e){var k=Math.random(),m=Math.random();b.push([k,m]);d.push([k,m]);c.push(Math.random()*h);g+=1}else break;else b.length=e,d.length=e,c.length=e;Ay(this);return $APP.n(this.isConnected)?zy(this):null}return null};By(a.prototype);return a},Hy=function(){$APP.n(customElements.get("x-neural-glow"))||customElements.define("x-neural-glow",Gy());return null},ey=new $APP.M(null,"opacity-raw","opacity-raw",-1373906448),py=new $APP.M(null,"connection-distance","connection-distance",
24
- -2128794414),cy=new $APP.M(null,"pulse-speed-raw","pulse-speed-raw",-665433726),jy=new $APP.M(null,"color-primary-raw","color-primary-raw",392476156),ry=new $APP.M(null,"color-background","color-background",1347240536),qy=new $APP.M(null,"pulse-speed","pulse-speed",828613109),dy=new $APP.M(null,"color-secondary-raw","color-secondary-raw",1212293328),fy=new $APP.M(null,"orb-count-raw","orb-count-raw",-930142286),ky=new $APP.M(null,"connection-distance-raw","connection-distance-raw",1368898143),iy=
25
- new $APP.M(null,"interactive-raw","interactive-raw",1874525367),sy=new $APP.M(null,"rest-rate","rest-rate",1350607737),oy=new $APP.M(null,"color-secondary","color-secondary",-556141879),Fy=new $APP.M(null,"gl","gl",-246422634),ly=new $APP.M(null,"orb-size","orb-size",83267072),gy=new $APP.M(null,"orb-size-raw","orb-size-raw",925656307),my=new $APP.M(null,"orb-count","orb-count",1055126048),hy=new $APP.M(null,"color-background-raw","color-background-raw",2063778805),ny=new $APP.M(null,"color-primary",
26
- "color-primary",1415907910),vy=new $APP.M(null,"canvas","canvas",-1798817489),by=new $APP.M(null,"rest-rate-raw","rest-rate-raw",-206808800);var Cy="orb-count color-primary color-secondary color-background pulse-speed rest-rate connection-distance orb-size opacity interactive".split(" ");
27
- $APP.mf([new $APP.M(null,"colorBackground","colorBackground",-167638842),$APP.gi,new $APP.M(null,"orbCount","orbCount",-2006864213),new $APP.M(null,"restRate","restRate",-272422548),new $APP.M(null,"colorPrimary","colorPrimary",-611817233),new $APP.M(null,"orbSize","orbSize",1744279571),$APP.th,new $APP.M(null,"colorSecondary","colorSecondary",1906906102),new $APP.M(null,"pulseSpeed","pulseSpeed",1297932542),new $APP.M(null,"connectionDistance","connectionDistance",1241773439)],[new $APP.R(null,1,
28
- [$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.Ni],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.Y],null),new $APP.R(null,1,[$APP.Z,$APP.W],null),new $APP.R(null,1,[$APP.Z,$APP.W],null)]);
29
- var Ey="precision mediump float;\nuniform vec2 u_resolution;\nuniform float u_time;\nuniform float u_activity;\nuniform float u_pulse_speed;\nuniform float u_rest_rate;\nuniform int u_orb_count;\nuniform vec2 u_orb_positions["+$APP.T.g(50)+"];\nuniform float u_orb_phases["+$APP.T.g(50)+"];\nuniform float u_orb_size;\nuniform float u_connection_dist;\nuniform vec3 u_color_primary;\nuniform vec3 u_color_secondary;\nuniform vec3 u_color_background;\nuniform float u_opacity;\n\nfloat distToSegment(vec2 p, vec2 a, vec2 b) {\n vec2 pa \x3d p - a;\n vec2 ba \x3d b - a;\n float t \x3d clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0);\n return length(pa - ba * t);\n}\n\nvoid main() {\n vec2 uv \x3d gl_FragCoord.xy / u_resolution;\n float aspect \x3d u_resolution.x / u_resolution.y;\n\n // Auto-detect light vs dark background\n float bg_lum \x3d dot(u_color_background, vec3(0.2126, 0.7152, 0.0722));\n float is_light \x3d smoothstep(0.3, 0.6, bg_lum);\n\n // Pulse speed interpolates between rest and active rate\n float active_speed \x3d u_pulse_speed * 3.0;\n float speed \x3d mix(6.2831853 / u_rest_rate, active_speed, u_activity);\n\n // Start with background\n vec3 color \x3d u_color_background;\n\n // Orb glow layer\n float radius \x3d u_orb_size / min(u_resolution.x, u_resolution.y);\n float softness \x3d 2.5;\n\n for (int i \x3d 0; i \x3c "+
30
- $APP.T.g(50)+"; i++) {\n if (i \x3e\x3d u_orb_count) break;\n\n vec2 orbPos \x3d u_orb_positions[i];\n vec2 diff \x3d uv - orbPos;\n diff.x *\x3d aspect;\n\n float dist \x3d length(diff);\n float pulse \x3d 0.5 + 0.5 * sin(u_time * speed + u_orb_phases[i]);\n float glow_strength \x3d (0.4 + 0.6 * pulse) * (0.5 + 0.5 * u_activity + 0.5);\n float glow \x3d exp(-dist * dist / (radius * radius * softness)) * glow_strength;\n\n // Alternate primary/secondary by index\n vec3 orb_color \x3d mix(u_color_primary, u_color_secondary, step(1.0, mod(float(i), 2.0)));\n vec3 additive \x3d color + orb_color * glow;\n vec3 multiply \x3d color * mix(vec3(1.0), orb_color, glow);\n color \x3d mix(additive, multiply, is_light);\n }\n\n // Connection line layer\n float line_width \x3d 0.003;\n for (int i \x3d 0; i \x3c "+
31
- $APP.T.g(50)+"; i++) {\n if (i \x3e\x3d u_orb_count) break;\n for (int j \x3d 0; j \x3c "+$APP.T.g(50)+"; j++) {\n if (j \x3e\x3d u_orb_count) break;\n if (j \x3c\x3d i) continue;\n\n vec2 pi_pos \x3d u_orb_positions[i];\n vec2 pj_pos \x3d u_orb_positions[j];\n\n vec2 diff_ij \x3d pi_pos - pj_pos;\n diff_ij.x *\x3d aspect;\n float orb_dist \x3d length(diff_ij);\n\n if (orb_dist \x3c u_connection_dist) {\n vec2 uv_a \x3d vec2(uv.x * aspect, uv.y);\n vec2 pa \x3d vec2(pi_pos.x * aspect, pi_pos.y);\n vec2 pb \x3d vec2(pj_pos.x * aspect, pj_pos.y);\n\n float d \x3d distToSegment(uv_a, pa, pb);\n float fade \x3d 1.0 - (orb_dist / u_connection_dist);\n float avg_phase \x3d (u_orb_phases[i] + u_orb_phases[j]) * 0.5;\n float line_pulse \x3d 0.3 + 0.7 * sin(u_time * speed + avg_phase);\n float line_glow \x3d exp(-d * d / (line_width * line_width)) * fade * line_pulse;\n line_glow *\x3d (0.3 + 0.7 * u_activity + 0.3);\n\n vec3 line_color \x3d mix(u_color_primary, u_color_secondary, 0.5);\n float line_str \x3d line_glow * 0.4;\n vec3 line_add \x3d color + line_color * line_str;\n vec3 line_mul \x3d color * mix(vec3(1.0), line_color, line_str);\n color \x3d mix(line_add, line_mul, is_light);\n }\n }\n }\n\n gl_FragColor \x3d vec4(color, u_opacity);\n}";var Dy=":host{display:block;position:relative;width:100%;height:100%;min-height:200px;overflow:hidden;z-index:var("+$APP.T.g("--x-neural-glow-z-index")+",0);inset:var("+$APP.T.g("--x-neural-glow-inset")+",auto);}canvas{display:block;width:100%;height:100%;opacity:var("+$APP.T.g("--x-neural-glow-opacity")+",0.8);mix-blend-mode:var("+$APP.T.g("--x-neural-glow-blend-mode")+",normal);}@media(prefers-reduced-motion:reduce){canvas{opacity:var("+$APP.T.g("--x-neural-glow-opacity")+",0.6);}}",Zx,Iy=document.createElement("canvas");
32
- Iy.width=1;Iy.height=1;Zx=Iy.getContext("2d");
33
- var xy=function xy(a){if($APP.n(a.isConnected)){var c=$APP.l(a,"__xNeuralRefs"),d=Fy.g(c);if($APP.n(d)){c=vy.g(c);var e=$APP.l(a,"__xNeuralModel"),g=performance.now(),h=Math.min((g-$APP.l(a,"__xNeuralLastFrame"))/1E3,.1);a.__xNeuralLastFrame=g;Yx()||(a.__xNeuralTime=$APP.l(a,"__xNeuralTime")+h);g=$APP.l(a,"__xNeuralImpulse");a.__xNeuralActivity=Xx($APP.l(a,"__xNeuralActivity"),g>.01?1:0,Math.min(1,(g>.01?8:2)*h));a.__xNeuralImpulse=g*Math.max(0,1-5*h);if(!Yx()){g=$APP.l(a,"__xNeuralOrbBase");var k=
34
- $APP.l(a,"__xNeuralOrbPos"),m=my.g(e);h=$APP.l(a,"__xNeuralDriftTime")+h*(.3+.7*$APP.l(a,"__xNeuralActivity"));a.__xNeuralDriftTime=h;for(var p=0;;)if(p<m){var q=g[p],v=q[0],x=q[1];q=v*3+p*1.37;var y=x*3+p*2.41;x=Math.min(1,Math.max(0,x+uy(y+100,q,h)*.08));var A=k[p];A[0]=Math.min(1,Math.max(0,v+uy(q,y,h)*.08));A[1]=x;p+=1}else break}h=Math.min(2,devicePixelRatio);g=a.clientWidth;k=a.clientHeight;m=Math.max(1,Math.floor(g*h));h=Math.max(1,Math.floor(k*h));if($APP.O(c.width,m)||$APP.O(c.height,h))c.width=
35
- m,c.height=h,d.viewport(0,0,m,h);g>0&&k>0&&(wy(a,d,e),d.drawArrays(d.TRIANGLE_STRIP,0,4))}$APP.ma(a,"__xNeuralRaf",requestAnimationFrame(function(){return xy.g?xy.g(a):xy.call(null,a)}))}return null};$APP.ja("baredom.exports.x_neural_glow.init",Hy);export const init=Hy;
2
+ var OA=function(a){if(typeof a==="string"){a=parseInt(a.trim(),10);var b=isNaN(a);return $APP.r($APP.r(b)?b:!(a>0))?15:Math.min(50,Math.max(3,a))}return 15},PA=function(a,b){return typeof a==="string"&&a.trim().length>0?a.trim():b},QA=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.r($APP.r(b)?b:!(a>0))?1:Math.min(5,Math.max(.1,a))}return 1},RA=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.r($APP.r(b)?b:!(a>0))?4:Math.min(10,
3
+ Math.max(1,a))}return 4},SA=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.r($APP.r(b)?b:!(a>0))?.15:Math.min(.5,Math.max(.05,a))}return.15},TA=function(a){if(typeof a==="string"){a=parseFloat(a.trim());var b=isNaN(a);return $APP.r($APP.r(b)?b:!(a>0))?40:Math.min(200,Math.max(10,a))}return 40},UA=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.r(isNaN(a))?.8:Math.min(1,Math.max(0,a))):.8},VA=function(a){return a==null?!0:$APP.O("false",a.trim().toLowerCase())},
4
+ WA=function(a,b,c){return a+(b-a)*c},XA=function(){return $APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},ZA=function(a,b){a=$APP.l(a,"__xNeuralColorCache");var c=$APP.l(a,b);if($APP.r(c))return c;YA.fillStyle="#000000";YA.fillStyle=b;c=YA.fillStyle;if(typeof c==="string"&&$APP.D.i(c[0],"#")){var d=c.substring(1);c=parseInt(d.substring(0,2),16);var e=parseInt(d.substring(2,4),16);d=parseInt(d.substring(4,6),16);c=[c/255,e/255,d/255]}else d=c.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/),
5
+ $APP.r(d)?(c=parseInt(d[1],10),e=parseInt(d[2],10),d=parseInt(d[3],10),c=[c/255,e/255,d/255]):c=[0,0,0];return a[b]=c},$A=function(a,b,c){b=a.createShader(b);a.shaderSource(b,c);a.compileShader(b);if($APP.r(a.getShaderParameter(b,a.COMPILE_STATUS)))return b;console.warn("x-neural-glow shader error:",a.getShaderInfoLog(b));a.deleteShader(b);return null},sB=function(a){a=$APP.Q([aB,bB,cB,dB,eB,fB,gB,hB,iB,jB],[a.getAttribute("rest-rate"),a.getAttribute("pulse-speed"),a.getAttribute("color-secondary"),
6
+ a.getAttribute("opacity"),a.getAttribute("orb-count"),a.getAttribute("orb-size"),a.getAttribute("color-background"),a.getAttribute("interactive"),a.getAttribute("color-primary"),a.getAttribute("connection-distance")]);var b=$APP.N(a);a=$APP.G(b,iB);var c=$APP.G(b,jB),d=$APP.G(b,aB),e=$APP.G(b,bB),g=$APP.G(b,dB),h=$APP.G(b,cB),k=$APP.G(b,eB),m=$APP.G(b,fB),p=$APP.G(b,gB);b=$APP.G(b,hB);return $APP.Q([kB,lB,mB,nB,$APP.Mk,oB,$APP.Ph,pB,qB,rB],[TA(m),OA(k),PA(a,"#4f8bff"),PA(h,"#00e5cc"),VA(b),SA(c),
7
+ UA(g),QA(e),PA(p,"#050a18"),RA(d)])},tB=function(a,b,c){return Math.sin(a*1.7+c*.3)*Math.cos(b*2.3+c*.5)*.5+Math.sin(a*3.1-c*.7)*Math.cos(b*1.3+c*.2)*.25+Math.sin(a*5.3+c*.4)*Math.cos(b*4.7-c*.6)*.125},vB=function(a,b,c){var d=$APP.l(a,"__xNeuralUniforms"),e=uB.g($APP.l(a,"__xNeuralRefs")),g=e.width,h=e.height,k=$APP.l(a,"__xNeuralTime"),m=$APP.l(a,"__xNeuralActivity");e=$APP.l(a,"__xNeuralOrbPos");var p=$APP.l(a,"__xNeuralOrbPhases"),q=lB.g(c),w=ZA(a,mB.g(c)),x=ZA(a,nB.g(c));a=ZA(a,qB.g(c));b.uniform2f($APP.l(d,
8
+ "u_resolution"),g,h);b.uniform1f($APP.l(d,"u_time"),k);b.uniform1f($APP.l(d,"u_activity"),m);b.uniform1f($APP.l(d,"u_pulse_speed"),pB.g(c));b.uniform1f($APP.l(d,"u_rest_rate"),rB.g(c));b.uniform1i($APP.l(d,"u_orb_count"),q);b.uniform1f($APP.l(d,"u_orb_size"),kB.g(c));b.uniform1f($APP.l(d,"u_connection_dist"),oB.g(c));b.uniform3f($APP.l(d,"u_color_primary"),w[0],w[1],w[2]);b.uniform3f($APP.l(d,"u_color_secondary"),x[0],x[1],x[2]);b.uniform3f($APP.l(d,"u_color_background"),a[0],a[1],a[2]);b.uniform1f($APP.l(d,
9
+ "u_opacity"),$APP.Ph.g(c));for(c=0;;)if(c<q)g=e[c],b.uniform2f($APP.l(d,"u_orb_positions["+$APP.S.g(c)+"]"),g[0],g[1]),b.uniform1f($APP.l(d,"u_orb_phases["+$APP.S.g(c)+"]"),p[c]),c+=1;else break},xB=function(a){a.__xNeuralTime=0;$APP.n(a,"__xNeuralLastFrame",performance.now());a.__xNeuralActivity=0;a.__xNeuralImpulse=0;$APP.n(a,"__xNeuralRaf",requestAnimationFrame(function(){return wB(a)}))},yB=function(a){if($APP.r($APP.Mk.g($APP.l(a,"__xNeuralModel")))){var b=function(){var g=window.scrollY,h=$APP.l(a,
10
+ "__xNeuralLastScroll");a.__xNeuralLastScroll=g;h!=null&&(a.__xNeuralImpulse=Math.min(1,$APP.l(a,"__xNeuralImpulse")+Math.min(1,Math.abs(g-h)/100)));return null},c=function(g){var h=$APP.l(a,"__xNeuralLastPtr"),k=g.clientX;g=g.clientY;if($APP.r(h)){var m=k-$APP.l(h,"x"),p=g-$APP.l(h,"y");a.__xNeuralImpulse=Math.min(1,$APP.l(a,"__xNeuralImpulse")+Math.min(1,Math.sqrt(m*m+p*p)/50));h.x=k;h.y=g}else a.__xNeuralLastPtr={x:k,y:g};return null},d=function(){a.__xNeuralImpulse=Math.min(1,$APP.l(a,"__xNeuralImpulse")+
11
+ .3);return null},e={scroll:b,pointer:c,key:d};window.addEventListener("scroll",b,{passive:!0});window.addEventListener("pointermove",c,{passive:!0});window.addEventListener("keydown",d,{passive:!0});a.__xNeuralHandlers=e}return null},zB=function(a){var b=$APP.l(a,"__xNeuralHandlers");if($APP.r(b)){var c=$APP.l(b,"scroll");$APP.r(c)&&window.removeEventListener("scroll",c);c=$APP.l(b,"pointer");$APP.r(c)&&window.removeEventListener("pointermove",c);b=$APP.l(b,"key");$APP.r(b)&&window.removeEventListener("keydown",
12
+ b);a.__xNeuralHandlers=null}},AB=function(a){Object.defineProperty(a,"orbCount",{get:function(){return OA(this.getAttribute("orb-count"))},set:function(b){return b==null?this.removeAttribute("orb-count"):this.setAttribute("orb-count",""+$APP.S.g(b|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"colorPrimary",{get:function(){var b=this.getAttribute("color-primary");return PA(b,"#4f8bff")},set:function(b){return b==null?this.removeAttribute("color-primary"):this.setAttribute("color-primary",
13
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"colorSecondary",{get:function(){var b=this.getAttribute("color-secondary");return PA(b,"#00e5cc")},set:function(b){return b==null?this.removeAttribute("color-secondary"):this.setAttribute("color-secondary",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"colorBackground",{get:function(){var b=this.getAttribute("color-background");return PA(b,"#050a18")},set:function(b){return b==null?this.removeAttribute("color-background"):
14
+ this.setAttribute("color-background",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"pulseSpeed",{get:function(){return QA(this.getAttribute("pulse-speed"))},set:function(b){return b==null?this.removeAttribute("pulse-speed"):this.setAttribute("pulse-speed",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"restRate",{get:function(){return RA(this.getAttribute("rest-rate"))},set:function(b){return b==null?this.removeAttribute("rest-rate"):this.setAttribute("rest-rate",
15
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"connectionDistance",{get:function(){return SA(this.getAttribute("connection-distance"))},set:function(b){return b==null?this.removeAttribute("connection-distance"):this.setAttribute("connection-distance",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"orbSize",{get:function(){return TA(this.getAttribute("orb-size"))},set:function(b){return b==null?this.removeAttribute("orb-size"):this.setAttribute("orb-size",
16
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"opacity",{get:function(){return UA(this.getAttribute("opacity"))},set:function(b){return b==null?this.removeAttribute("opacity"):this.setAttribute("opacity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"interactive",{get:function(){return VA(this.getAttribute("interactive"))},set:function(b){return $APP.r(b)?this.removeAttribute("interactive"):this.setAttribute("interactive","false")},enumerable:!0,
17
+ configurable:!0})},FB=function(){var a=class extends HTMLElement{};a.observedAttributes=BB;a.prototype.connectedCallback=function(){var b=sB(this);this.__xNeuralModel=b;this.__xNeuralColorCache={};this.__xNeuralDriftTime=0;this.__xNeuralLastScroll=this.__xNeuralLastPtr=null;if(!$APP.r($APP.l(this,"__xNeuralRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("canvas");d.textContent=CB;e.setAttribute("part","canvas");c.appendChild(d);c.appendChild(e);
18
+ b:{d=e.getContext("webgl",{alpha:!0,premultipliedAlpha:!1});d=$APP.r(d)?d:e.getContext("experimental-webgl",{alpha:!0,premultipliedAlpha:!1});if($APP.r(d)){var g=$A(d,d.VERTEX_SHADER,"attribute vec2 a_position;\nvoid main() {\n gl_Position \x3d vec4(a_position, 0.0, 1.0);\n}"),h=$A(d,d.FRAGMENT_SHADER,DB);if($APP.r($APP.r(g)?h:g)){var k=d.createProgram();d.attachShader(k,g);d.attachShader(k,h);d.linkProgram(k);$APP.r(d.getProgramParameter(k,d.LINK_STATUS))?g=k:(console.warn("x-neural-glow link error:",
19
+ d.getProgramInfoLog(k)),d.deleteProgram(k),g=null);if($APP.r(g)){d.useProgram(g);h=d.createBuffer();d.bindBuffer(d.ARRAY_BUFFER,h);d.bufferData(d.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,1]),d.STATIC_DRAW);h=d.getAttribLocation(g,"a_position");d.enableVertexAttribArray(h);d.vertexAttribPointer(h,2,d.FLOAT,!1,0,0);h={};k=$APP.u(new $APP.ve(null,12,5,$APP.we,"u_resolution u_time u_activity u_pulse_speed u_rest_rate u_orb_count u_orb_size u_connection_dist u_color_primary u_color_secondary u_color_background u_opacity".split(" "),
20
+ null));for(var m=null,p=0,q=0;;)if(q<p){var w=m.G(null,q);h[w]=d.getUniformLocation(g,w);q+=1}else if(k=$APP.u(k))m=k,$APP.Pc(m)?(k=$APP.yb(m),q=$APP.zb(m),m=k,p=$APP.B(k),k=q):(k=$APP.v(m),h[k]=d.getUniformLocation(g,k),k=$APP.z(m),m=null,p=0),q=0;else break;for(k=0;;)if(k<50)m="u_orb_positions["+$APP.S.g(k)+"]",p="u_orb_phases["+$APP.S.g(k)+"]",h[m]=d.getUniformLocation(g,m),h[p]=d.getUniformLocation(g,p),k+=1;else break;this.__xNeuralUniforms=h;this.__xNeuralProgram=g;d.enable(d.BLEND);d.blendFunc(d.SRC_ALPHA,
21
+ d.ONE_MINUS_SRC_ALPHA);break b}}}d=null}this.__xNeuralRefs=new $APP.P(null,3,[$APP.bi,c,uB,e,EB,d],null)}b=lB.g(b);c=[];for(e=0;;)if(e<b)c.push([Math.random(),Math.random()]),e+=1;else break;e=[];d=2*Math.PI;for(g=0;;)if(g<b)e.push(Math.random()*d),g+=1;else break;d=[];for(g=0;;)if(g<b)h=c[g],d.push([h[0],h[1]]),g+=1;else break;this.__xNeuralOrbBase=c;this.__xNeuralOrbPhases=e;this.__xNeuralOrbPos=d;this.setAttribute("aria-hidden","true");this.setAttribute("role","presentation");zB(this);yB(this);
22
+ xB(this);return null};a.prototype.disconnectedCallback=function(){var b=$APP.l(this,"__xNeuralRaf");$APP.r(b)&&(cancelAnimationFrame(b),this.__xNeuralRaf=null);zB(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.O(c,d)&&(this.__xNeuralModel=b=sB(this),this.__xNeuralColorCache={},$APP.r($APP.l(this,"__xNeuralRefs")))){var e=lB.g(b);b=$APP.l(this,"__xNeuralOrbBase");c=$APP.l(this,"__xNeuralOrbPhases");d=$APP.l(this,"__xNeuralOrbPos");var g=b.length,h=2*Math.PI;if($APP.O(g,
23
+ e))if(e>g)for(e-=g,g=0;;)if(g<e){var k=Math.random(),m=Math.random();b.push([k,m]);d.push([k,m]);c.push(Math.random()*h);g+=1}else break;else b.length=e,d.length=e,c.length=e;zB(this);return $APP.r(this.isConnected)?yB(this):null}return null};AB(a.prototype);return a},GB=function(){$APP.r(customElements.get("x-neural-glow"))||customElements.define("x-neural-glow",FB());return null},dB=new $APP.M(null,"opacity-raw","opacity-raw",-1373906448),oB=new $APP.M(null,"connection-distance","connection-distance",
24
+ -2128794414),bB=new $APP.M(null,"pulse-speed-raw","pulse-speed-raw",-665433726),iB=new $APP.M(null,"color-primary-raw","color-primary-raw",392476156),qB=new $APP.M(null,"color-background","color-background",1347240536),pB=new $APP.M(null,"pulse-speed","pulse-speed",828613109),cB=new $APP.M(null,"color-secondary-raw","color-secondary-raw",1212293328),eB=new $APP.M(null,"orb-count-raw","orb-count-raw",-930142286),jB=new $APP.M(null,"connection-distance-raw","connection-distance-raw",1368898143),hB=
25
+ new $APP.M(null,"interactive-raw","interactive-raw",1874525367),rB=new $APP.M(null,"rest-rate","rest-rate",1350607737),nB=new $APP.M(null,"color-secondary","color-secondary",-556141879),EB=new $APP.M(null,"gl","gl",-246422634),kB=new $APP.M(null,"orb-size","orb-size",83267072),fB=new $APP.M(null,"orb-size-raw","orb-size-raw",925656307),lB=new $APP.M(null,"orb-count","orb-count",1055126048),gB=new $APP.M(null,"color-background-raw","color-background-raw",2063778805),mB=new $APP.M(null,"color-primary",
26
+ "color-primary",1415907910),uB=new $APP.M(null,"canvas","canvas",-1798817489),aB=new $APP.M(null,"rest-rate-raw","rest-rate-raw",-206808800);var BB="orb-count color-primary color-secondary color-background pulse-speed rest-rate connection-distance orb-size opacity interactive".split(" ");
27
+ $APP.Q([new $APP.M(null,"colorBackground","colorBackground",-167638842),$APP.Gi,new $APP.M(null,"orbCount","orbCount",-2006864213),new $APP.M(null,"restRate","restRate",-272422548),new $APP.M(null,"colorPrimary","colorPrimary",-611817233),new $APP.M(null,"orbSize","orbSize",1744279571),$APP.Ph,new $APP.M(null,"colorSecondary","colorSecondary",1906906102),new $APP.M(null,"pulseSpeed","pulseSpeed",1297932542),new $APP.M(null,"connectionDistance","connectionDistance",1241773439)],[new $APP.P(null,1,
28
+ [$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null)]);
29
+ var DB="precision mediump float;\nuniform vec2 u_resolution;\nuniform float u_time;\nuniform float u_activity;\nuniform float u_pulse_speed;\nuniform float u_rest_rate;\nuniform int u_orb_count;\nuniform vec2 u_orb_positions["+$APP.S.g(50)+"];\nuniform float u_orb_phases["+$APP.S.g(50)+"];\nuniform float u_orb_size;\nuniform float u_connection_dist;\nuniform vec3 u_color_primary;\nuniform vec3 u_color_secondary;\nuniform vec3 u_color_background;\nuniform float u_opacity;\n\nfloat distToSegment(vec2 p, vec2 a, vec2 b) {\n vec2 pa \x3d p - a;\n vec2 ba \x3d b - a;\n float t \x3d clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0);\n return length(pa - ba * t);\n}\n\nvoid main() {\n vec2 uv \x3d gl_FragCoord.xy / u_resolution;\n float aspect \x3d u_resolution.x / u_resolution.y;\n\n // Auto-detect light vs dark background\n float bg_lum \x3d dot(u_color_background, vec3(0.2126, 0.7152, 0.0722));\n float is_light \x3d smoothstep(0.3, 0.6, bg_lum);\n\n // Pulse speed interpolates between rest and active rate\n float active_speed \x3d u_pulse_speed * 3.0;\n float speed \x3d mix(6.2831853 / u_rest_rate, active_speed, u_activity);\n\n // Start with background\n vec3 color \x3d u_color_background;\n\n // Orb glow layer\n float radius \x3d u_orb_size / min(u_resolution.x, u_resolution.y);\n float softness \x3d 2.5;\n\n for (int i \x3d 0; i \x3c "+
30
+ $APP.S.g(50)+"; i++) {\n if (i \x3e\x3d u_orb_count) break;\n\n vec2 orbPos \x3d u_orb_positions[i];\n vec2 diff \x3d uv - orbPos;\n diff.x *\x3d aspect;\n\n float dist \x3d length(diff);\n float pulse \x3d 0.5 + 0.5 * sin(u_time * speed + u_orb_phases[i]);\n float glow_strength \x3d (0.4 + 0.6 * pulse) * (0.5 + 0.5 * u_activity + 0.5);\n float glow \x3d exp(-dist * dist / (radius * radius * softness)) * glow_strength;\n\n // Alternate primary/secondary by index\n vec3 orb_color \x3d mix(u_color_primary, u_color_secondary, step(1.0, mod(float(i), 2.0)));\n vec3 additive \x3d color + orb_color * glow;\n vec3 multiply \x3d color * mix(vec3(1.0), orb_color, glow);\n color \x3d mix(additive, multiply, is_light);\n }\n\n // Connection line layer\n float line_width \x3d 0.003;\n for (int i \x3d 0; i \x3c "+
31
+ $APP.S.g(50)+"; i++) {\n if (i \x3e\x3d u_orb_count) break;\n for (int j \x3d 0; j \x3c "+$APP.S.g(50)+"; j++) {\n if (j \x3e\x3d u_orb_count) break;\n if (j \x3c\x3d i) continue;\n\n vec2 pi_pos \x3d u_orb_positions[i];\n vec2 pj_pos \x3d u_orb_positions[j];\n\n vec2 diff_ij \x3d pi_pos - pj_pos;\n diff_ij.x *\x3d aspect;\n float orb_dist \x3d length(diff_ij);\n\n if (orb_dist \x3c u_connection_dist) {\n vec2 uv_a \x3d vec2(uv.x * aspect, uv.y);\n vec2 pa \x3d vec2(pi_pos.x * aspect, pi_pos.y);\n vec2 pb \x3d vec2(pj_pos.x * aspect, pj_pos.y);\n\n float d \x3d distToSegment(uv_a, pa, pb);\n float fade \x3d 1.0 - (orb_dist / u_connection_dist);\n float avg_phase \x3d (u_orb_phases[i] + u_orb_phases[j]) * 0.5;\n float line_pulse \x3d 0.3 + 0.7 * sin(u_time * speed + avg_phase);\n float line_glow \x3d exp(-d * d / (line_width * line_width)) * fade * line_pulse;\n line_glow *\x3d (0.3 + 0.7 * u_activity + 0.3);\n\n vec3 line_color \x3d mix(u_color_primary, u_color_secondary, 0.5);\n float line_str \x3d line_glow * 0.4;\n vec3 line_add \x3d color + line_color * line_str;\n vec3 line_mul \x3d color * mix(vec3(1.0), line_color, line_str);\n color \x3d mix(line_add, line_mul, is_light);\n }\n }\n }\n\n gl_FragColor \x3d vec4(color, u_opacity);\n}";var CB=":host{display:block;position:relative;width:100%;height:100%;min-height:200px;overflow:hidden;z-index:var("+$APP.S.g("--x-neural-glow-z-index")+",0);inset:var("+$APP.S.g("--x-neural-glow-inset")+",auto);}canvas{display:block;width:100%;height:100%;opacity:var("+$APP.S.g("--x-neural-glow-opacity")+",0.8);mix-blend-mode:var("+$APP.S.g("--x-neural-glow-blend-mode")+",normal);}@media(prefers-reduced-motion:reduce){canvas{opacity:var("+$APP.S.g("--x-neural-glow-opacity")+",0.6);}}",YA,HB=document.createElement("canvas");
32
+ HB.width=1;HB.height=1;YA=HB.getContext("2d");
33
+ var wB=function wB(a){if($APP.r(a.isConnected)){var c=$APP.l(a,"__xNeuralRefs"),d=EB.g(c);if($APP.r(d)){c=uB.g(c);var e=$APP.l(a,"__xNeuralModel"),g=performance.now(),h=Math.min((g-$APP.l(a,"__xNeuralLastFrame"))/1E3,.1);a.__xNeuralLastFrame=g;XA()||(a.__xNeuralTime=$APP.l(a,"__xNeuralTime")+h);g=$APP.l(a,"__xNeuralImpulse");a.__xNeuralActivity=WA($APP.l(a,"__xNeuralActivity"),g>.01?1:0,Math.min(1,(g>.01?8:2)*h));a.__xNeuralImpulse=g*Math.max(0,1-5*h);if(!XA()){g=$APP.l(a,"__xNeuralOrbBase");var k=
34
+ $APP.l(a,"__xNeuralOrbPos"),m=lB.g(e);h=$APP.l(a,"__xNeuralDriftTime")+h*(.3+.7*$APP.l(a,"__xNeuralActivity"));a.__xNeuralDriftTime=h;for(var p=0;;)if(p<m){var q=g[p],w=q[0],x=q[1];q=w*3+p*1.37;var y=x*3+p*2.41;x=Math.min(1,Math.max(0,x+tB(y+100,q,h)*.08));var A=k[p];A[0]=Math.min(1,Math.max(0,w+tB(q,y,h)*.08));A[1]=x;p+=1}else break}h=Math.min(2,devicePixelRatio);g=a.clientWidth;k=a.clientHeight;m=Math.max(1,Math.floor(g*h));h=Math.max(1,Math.floor(k*h));if($APP.O(c.width,m)||$APP.O(c.height,h))c.width=
35
+ m,c.height=h,d.viewport(0,0,m,h);g>0&&k>0&&(vB(a,d,e),d.drawArrays(d.TRIANGLE_STRIP,0,4))}$APP.n(a,"__xNeuralRaf",requestAnimationFrame(function(){return wB.g?wB.g(a):wB.call(null,a)}))}return null};$APP.ka("baredom.exports.x_neural_glow.init",GB);export const init=GB;
@@ -1,11 +1,10 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var ym=function(a){return typeof a==="string"&&$APP.K(xm,a.toLowerCase())?a.toLowerCase():"top-right"},zm=function(a){if(a==null)return 5;a=parseInt(""+$APP.T.g(a),10);return typeof a==="number"&&$APP.r(isNaN(a))&&a>0?a:5},Am=function(a){var b=$APP.l(a,"__xNcRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div");c.textContent=":host{display:block;position:fixed;z-index:var(--x-notification-center-z-index,9999);--x-notification-center-width:360px;--x-notification-center-gap:8px;--x-notification-center-offset-x:16px;--x-notification-center-offset-y:16px;--x-notification-center-z-index:9999;pointer-events:none;}:host([data-position\x3d'top-right']){top:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-left']){top:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-right']){bottom:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-left']){bottom:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-center']){top:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}:host([data-position\x3d'bottom-center']){bottom:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}[part\x3dcontainer]{display:flex;flex-direction:column;gap:var(--x-notification-center-gap);width:var(--x-notification-center-width);pointer-events:auto;}:host([data-position\x3d'bottom-right']) [part\x3dcontainer],:host([data-position\x3d'bottom-left']) [part\x3dcontainer],:host([data-position\x3d'bottom-center']) [part\x3dcontainer]{flex-direction:column-reverse;}";
3
- d.setAttribute("part","container");d.setAttribute("role","log");d.setAttribute("aria-live","polite");b.appendChild(c);b.appendChild(d);a.__xNcRefs={root:b,container:d};return $APP.l(a,"__xNcRefs")},Bm=function(a){var b=a.getAttribute("position");b=ym(b);a.setAttribute("data-position",b)},Cm=function(a,b,c){a.dispatchEvent(new CustomEvent(b,{detail:$APP.Sg(c),bubbles:!0,composed:!0,cancelable:!1}))},Dm=function(a){function b(d){var e=Am(a),g=$APP.l(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");
4
- g=g.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var k=d.detail.reason;d=d.detail.text;Cm(a,"x-notification-center-dismiss",new $APP.R(null,5,[$APP.Oj,e,$APP.Z,$APP.n(h)?h:"info",$APP.Rh,$APP.n(k)?k:"",$APP.Rj,$APP.n(d)?d:"",$APP.$g,g],null));g===0&&Cm(a,"x-notification-center-empty",$APP.Fd);return null}var c=Am(a);$APP.l(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.ma(a,"__xNcHandlers",{dismiss:b})},Em=function(a){var b=$APP.l(a,"__xNcHandlers"),c=$APP.l(a,
5
- "__xNcRefs");$APP.n($APP.n(b)?c:b)&&(c=$APP.l(c,"root"),b=$APP.l(b,"dismiss"),$APP.n(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));a.__xNcHandlers=null},Gm=function(a,b){var c=Am(a);c=$APP.l(c,"container");if(c.querySelectorAll("x-alert").length<function(){var q=$APP.l(a,"__xNcMax");return $APP.n(q)?q:5}()){var d=document.createElement("x-alert"),e=function(){var q=$APP.l(b,"id");$APP.n(q)||(q=Fm.v,Fm.v=q+1,q="xnc-"+$APP.T.g(q));return q}(),g=$APP.l(b,"type"),h=$APP.l(b,"text"),k=$APP.l(b,
6
- "icon"),m=$APP.l(b,"timeoutMs"),p=$APP.l(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.n(g)&&d.setAttribute("type",g);$APP.n(h)&&d.setAttribute("text",h);$APP.n(k)&&d.setAttribute("icon",k);$APP.n(m)&&d.setAttribute("timeout-ms",""+$APP.T.g(m|0));p===!1&&d.setAttribute("dismissible","false");c.appendChild(d);Cm(a,"x-notification-center-push",new $APP.R(null,2,[$APP.Oj,e,$APP.$g,c.querySelectorAll("x-alert").length],null));return e}return null},Hm=function(a){Object.defineProperty(a,
7
- "position",{get:function(){return ym(this.getAttribute("position"))},set:function(b){return $APP.n(b)?this.setAttribute("position",""+$APP.T.g(b)):this.removeAttribute("position")},enumerable:!0,configurable:!0});Object.defineProperty(a,"max",{get:function(){return zm(this.getAttribute("max"))},set:function(b){return $APP.n(b)?this.setAttribute("max",""+$APP.T.g(b|0)):this.removeAttribute("max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.l(this,"__xNcRefs");
8
- return $APP.n(b)?$APP.l(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},Jm=function(){var a=class extends HTMLElement{};a.observedAttributes=Im;a.prototype.connectedCallback=function(){Am(this);Em(this);Dm(this);Bm(this);return null};a.prototype.disconnectedCallback=function(){Em(this);return null};a.prototype.attributeChangedCallback=function(b){$APP.C.h(b,"position")?Bm(this):$APP.C.h(b,"max")&&(this.__xNcMax=zm(this.getAttribute("max")));return null};Hm(a.prototype);
9
- a.prototype.push=function(b){return Gm(this,b)};a.prototype.clear=function(){var b=Am(this);b=$APP.u($APP.kc($APP.l(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d)c.G(null,e).remove(),e+=1;else if(b=$APP.u(b))c=b,$APP.Cc(c)?(b=$APP.qb(c),e=$APP.rb(c),c=b,d=$APP.B(b),b=e):($APP.w(c).remove(),b=$APP.z(c),c=null,d=0),e=0;else break;return null};return a},Km=function(){$APP.n(customElements.get("x-notification-center"))||customElements.define("x-notification-center",Jm());
10
- return null};var Im=["position","max"],xm=new $APP.S(null,new $APP.R(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
11
- $APP.Ed(["x-notification-center-push",new $APP.R(null,2,[$APP.V,new $APP.R(null,2,[$APP.Oj,$APP.Y,$APP.$g,$APP.W],null),$APP.rk,!1],null),"x-notification-center-dismiss",new $APP.R(null,2,[$APP.V,new $APP.R(null,5,[$APP.Oj,$APP.Y,$APP.Z,$APP.Y,$APP.Rh,$APP.Y,$APP.Rj,$APP.Y,$APP.$g,$APP.W],null),$APP.rk,!1],null),"x-notification-center-empty",new $APP.R(null,2,[$APP.V,$APP.Fd,$APP.rk,!1],null)]);var Fm={v:0};$APP.ja("baredom.exports.x_notification_center.init",Km);export const init=Km;
2
+ var on=function(a){return typeof a==="string"&&$APP.J(nn,a.toLowerCase())?a.toLowerCase():"top-right"},pn=function(a){if(a==null)return 5;a=parseInt(""+$APP.S.g(a),10);return typeof a==="number"&&$APP.t(isNaN(a))&&a>0?a:5},qn=function(a){var b=$APP.l(a,"__xNcRefs");if($APP.r(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div");c.textContent=":host{display:block;position:fixed;z-index:var(--x-notification-center-z-index,9999);--x-notification-center-width:360px;--x-notification-center-gap:8px;--x-notification-center-offset-x:16px;--x-notification-center-offset-y:16px;--x-notification-center-z-index:9999;pointer-events:none;}:host([data-position\x3d'top-right']){top:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-left']){top:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-right']){bottom:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-left']){bottom:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-center']){top:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}:host([data-position\x3d'bottom-center']){bottom:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}[part\x3dcontainer]{display:flex;flex-direction:column;gap:var(--x-notification-center-gap);width:var(--x-notification-center-width);pointer-events:auto;}:host([data-position\x3d'bottom-right']) [part\x3dcontainer],:host([data-position\x3d'bottom-left']) [part\x3dcontainer],:host([data-position\x3d'bottom-center']) [part\x3dcontainer]{flex-direction:column-reverse;}";
3
+ d.setAttribute("part","container");d.setAttribute("role","log");d.setAttribute("aria-live","polite");b.appendChild(c);b.appendChild(d);a.__xNcRefs={root:b,container:d};return $APP.l(a,"__xNcRefs")},rn=function(a){var b=a.getAttribute("position");b=on(b);a.setAttribute("data-position",b)},sn=function(a,b,c){a.dispatchEvent(new CustomEvent(b,{detail:$APP.nh(c),bubbles:!0,composed:!0,cancelable:!1}))},tn=function(a){function b(d){var e=qn(a),g=$APP.l(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");
4
+ g=g.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var k=d.detail.reason;d=d.detail.text;sn(a,"x-notification-center-dismiss",new $APP.P(null,5,[$APP.Dk,e,$APP.Z,$APP.r(h)?h:"info",$APP.ji,$APP.r(k)?k:"",$APP.Gk,$APP.r(d)?d:"",$APP.vh,g],null));g===0&&sn(a,"x-notification-center-empty",$APP.Td);return null}var c=qn(a);$APP.l(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.n(a,"__xNcHandlers",{dismiss:b})},Cn=function(a){var b=$APP.l(a,"__xNcHandlers"),c=$APP.l(a,"__xNcRefs");
5
+ $APP.r($APP.r(b)?c:b)&&(c=$APP.l(c,"root"),b=$APP.l(b,"dismiss"),$APP.r(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));a.__xNcHandlers=null},En=function(a,b){var c=qn(a);c=$APP.l(c,"container");if(c.querySelectorAll("x-alert").length<function(){var q=$APP.l(a,"__xNcMax");return $APP.r(q)?q:5}()){var d=document.createElement("x-alert"),e=function(){var q=$APP.l(b,"id");$APP.r(q)||(q=Dn.v,Dn.v=q+1,q="xnc-"+$APP.S.g(q));return q}(),g=$APP.l(b,"type"),h=$APP.l(b,"text"),k=$APP.l(b,"icon"),
6
+ m=$APP.l(b,"timeoutMs"),p=$APP.l(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.r(g)&&d.setAttribute("type",g);$APP.r(h)&&d.setAttribute("text",h);$APP.r(k)&&d.setAttribute("icon",k);$APP.r(m)&&d.setAttribute("timeout-ms",""+$APP.S.g(m|0));p===!1&&d.setAttribute("dismissible","false");c.appendChild(d);sn(a,"x-notification-center-push",new $APP.P(null,2,[$APP.Dk,e,$APP.vh,c.querySelectorAll("x-alert").length],null));return e}return null},Fn=function(a){Object.defineProperty(a,"position",
7
+ {get:function(){return on(this.getAttribute("position"))},set:function(b){return $APP.r(b)?this.setAttribute("position",""+$APP.S.g(b)):this.removeAttribute("position")},enumerable:!0,configurable:!0});Object.defineProperty(a,"max",{get:function(){return pn(this.getAttribute("max"))},set:function(b){return $APP.r(b)?this.setAttribute("max",""+$APP.S.g(b|0)):this.removeAttribute("max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.l(this,"__xNcRefs");return $APP.r(b)?
8
+ $APP.l(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},Hn=function(){var a=class extends HTMLElement{};a.observedAttributes=Gn;a.prototype.connectedCallback=function(){qn(this);Cn(this);tn(this);rn(this);return null};a.prototype.disconnectedCallback=function(){Cn(this);return null};a.prototype.attributeChangedCallback=function(b){$APP.D.i(b,"position")?rn(this):$APP.D.i(b,"max")&&(this.__xNcMax=pn(this.getAttribute("max")));return null};Fn(a.prototype);a.prototype.push=
9
+ function(b){return En(this,b)};a.prototype.clear=function(){var b=qn(this);b=$APP.u($APP.wc($APP.l(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d)c.G(null,e).remove(),e+=1;else if(b=$APP.u(b))c=b,$APP.Pc(c)?(b=$APP.yb(c),e=$APP.zb(c),c=b,d=$APP.B(b),b=e):($APP.v(c).remove(),b=$APP.z(c),c=null,d=0),e=0;else break;return null};return a},In=function(){$APP.r(customElements.get("x-notification-center"))||customElements.define("x-notification-center",Hn());return null};var Gn=["position","max"],nn=new $APP.R(null,new $APP.P(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
10
+ $APP.Sd(["x-notification-center-push",new $APP.P(null,2,[$APP.U,new $APP.P(null,2,[$APP.Dk,$APP.Y,$APP.vh,$APP.V],null),$APP.kl,!1],null),"x-notification-center-dismiss",new $APP.P(null,2,[$APP.U,new $APP.P(null,5,[$APP.Dk,$APP.Y,$APP.Z,$APP.Y,$APP.ji,$APP.Y,$APP.Gk,$APP.Y,$APP.vh,$APP.V],null),$APP.kl,!1],null),"x-notification-center-empty",new $APP.P(null,2,[$APP.U,$APP.Td,$APP.kl,!1],null)]);var Dn={v:0};$APP.ka("baredom.exports.x_notification_center.init",In);export const init=In;
@@ -1,20 +1,20 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var UH=function(a){return typeof a==="string"&&$APP.K(TH,a)?a:"wave"},XH=function(a){return $APP.Ud(function(b){return new $APP.R(null,2,[VH,b*20,WH,b*8],null)},$APP.Uf(0,a))},gI=function(a){var b=new $APP.R(null,7,[$APP.Si,a.getAttribute("shape"),YH,a.getAttribute("layers"),$APP.Mi,a.getAttribute("height"),ZH,a.getAttribute("flip"),$H,a.getAttribute("mirror"),$APP.oi,a.getAttribute("animation"),$APP.xj,a.getAttribute("path")],null);var c=$APP.N(b),d=$APP.I(c,$APP.Si),e=$APP.I(c,YH);b=$APP.I(c,$APP.Mi);
3
- var g=$APP.I(c,ZH),h=$APP.I(c,$H),k=$APP.I(c,$APP.oi);c=$APP.I(c,$APP.xj);c=typeof c==="string"&&$APP.O("",c.trim())?c.trim():null;d=UH(d);e=typeof e==="string"?parseInt(e,10):null;var m=e==null;m||(m=isNaN(e),m=$APP.n(m)?m:e<1);e=$APP.n(m)?1:e>5?5:e;var p=typeof k==="string"&&$APP.K(aI,k)?k:"none";k=c!=null?c:$APP.Vd(bI,new $APP.Q(null,2,5,$APP.fe,[UH(d),$APP.xj],null));m=c==null?$APP.Vd(bI,new $APP.Q(null,2,5,$APP.fe,[UH(d),cI],null)):null;var q=c!=null?c:$APP.I(dI,UH(d));p=$APP.C.h(p,"morph")&&
4
- m==null?"none":p;g=g!=null;var v=XH(e);h=h!=null;b=typeof b==="string"&&$APP.O("",b.trim())?b.trim():"120px";b=$APP.mf([$APP.xj,$APP.Gi,$APP.oi,ZH,eI,cI,$APP.Si,YH,$H,$APP.Mi,fI],[c,k,p,g,v,m,d,e,h,b,q]);k=$APP.N(b);b=$APP.I(k,$H);h=$APP.I(k,$APP.Mi);v=$APP.I(k,fI);var x=$APP.I(k,$APP.Gi);c=$APP.I(k,$APP.oi);d=$APP.I(k,ZH);g=$APP.I(k,eI);e=$APP.I(k,cI);k=$APP.I(k,YH);m=$APP.l(a,"__xOrganicDividerBase");var y=$APP.l(a,"__xOrganicDividerSvg");q=$APP.l(a,"__xOrganicDividerPaths");var A=$APP.C.h(c,"drift");
5
- p=$APP.C.h(c,"morph");v=A?v:x;y.setAttribute("viewBox",A?"0 0 1800 120":"0 0 1200 120");a:if(x=q.length,x<k)for(x=k-x,A=0;;)if(A<x){var D=document.createElementNS("http://www.w3.org/2000/svg","path");y.appendChild(D);q.push(D);A+=1}else break a;else if(x>k)for(x-=k,A=0;;)if(A<x)D=q.pop(),y.removeChild(D),A+=1;else break a;for(y=0;;)if(y<k){x=q[y];A=$APP.fc(g,y);D=$APP.N(A);A=$APP.I(D,VH);D=$APP.I(D,WH);var G=y+1;x.setAttribute("d",v);x.setAttribute("fill","var(--x-organic-divider-color-"+$APP.T.g(G)+
6
- ")");x.setAttribute("opacity",""+$APP.T.g(k<=1?1:.3+y/(k-1)*.7));A>0||D>0?x.setAttribute("transform","translate("+$APP.T.g(A)+","+$APP.T.g(D)+")"):x.removeAttribute("transform");p&&(x.style.setProperty("--x-organic-divider-d",'path("'+$APP.T.g(v)+'")'),$APP.n(e)&&x.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.T.g(e)+'")'));p||(x.style.removeProperty("--x-organic-divider-d"),x.style.removeProperty("--x-organic-divider-d-alt"));y+=1}else break;m.style.setProperty("height",h);$APP.n(d)?
7
- a.setAttribute("data-flip",""):a.removeAttribute("data-flip");$APP.n(b)?a.setAttribute("data-mirror",""):a.removeAttribute("data-mirror");$APP.O(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation")},hI=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.n(b)?b:"wave"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,
8
- "layers",{get:function(){var b=this.getAttribute("layers");return $APP.n(b)?b:"1"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("layers",b):this.removeAttribute("layers")},enumerable:!0,configurable:!0});Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:"120px"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,configurable:!0});Object.defineProperty(a,
9
- "flip",{get:function(){return this.hasAttribute("flip")},set:function(b){return $APP.n(b)?this.setAttribute("flip",""):this.removeAttribute("flip")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mirror",{get:function(){return this.hasAttribute("mirror")},set:function(b){return $APP.n(b)?this.setAttribute("mirror",""):this.removeAttribute("mirror")},enumerable:!0,configurable:!0});Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:
10
- "none"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("animation",b):this.removeAttribute("animation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0})},jI=function(){var a=class extends HTMLElement{};a.observedAttributes=iI;a.prototype.connectedCallback=function(){if(!$APP.n($APP.l(this,
11
- "__xOrganicDividerInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElementNS("http://www.w3.org/2000/svg","svg");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;line-height:0;font-size:0;overflow:hidden;--x-organic-divider-color-1:rgba(99,102,241,0.15);--x-organic-divider-color-2:rgba(99,102,241,0.25);--x-organic-divider-color-3:rgba(99,102,241,0.40);--x-organic-divider-color-4:rgba(99,102,241,0.60);--x-organic-divider-color-5:rgba(99,102,241,0.85);--x-organic-divider-height:120px;--x-organic-divider-animate-duration:6s;--x-organic-divider-animate-timing:ease-in-out;}@media (prefers-color-scheme:dark){:host{--x-organic-divider-color-1:rgba(129,140,248,0.12);--x-organic-divider-color-2:rgba(129,140,248,0.22);--x-organic-divider-color-3:rgba(129,140,248,0.35);--x-organic-divider-color-4:rgba(129,140,248,0.50);--x-organic-divider-color-5:rgba(129,140,248,0.70);}}[part\x3dbase]{width:100%;position:relative;overflow:hidden;}[part\x3dbase] svg{display:block;width:100%;height:100%;}:host([data-flip]) [part\x3dbase]{transform:scaleY(-1);}:host([data-mirror]) [part\x3dbase]{transform:scaleX(-1);}:host([data-flip][data-mirror]) [part\x3dbase]{transform:scaleX(-1) scaleY(-1);}@keyframes x-organic-divider-drift{0%{transform:translateX(0);}100%{transform:translateX(-33.333%);}}:host([data-animation\x3ddrift]) [part\x3dbase] svg{width:150%;animation:x-organic-divider-drift var(--x-organic-divider-animate-duration) linear infinite;}@keyframes x-organic-divider-morph{0%,100%{d:var(--x-organic-divider-d);}50%{d:var(--x-organic-divider-d-alt);}}:host([data-animation\x3dmorph]) [part\x3dbase] path{animation:x-organic-divider-morph var(--x-organic-divider-animate-duration) var(--x-organic-divider-animate-timing) infinite;}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dbase] svg,:host([data-animation]) [part\x3dbase] path{animation:none;}}";
12
- d.setAttribute("part","base");e.setAttribute("xmlns","http://www.w3.org/2000/svg");e.setAttribute("preserveAspectRatio","none");e.setAttribute("aria-hidden","true");d.appendChild(e);b.appendChild(c);b.appendChild(d);this.setAttribute("role","presentation");this.setAttribute("aria-hidden","true");this.__xOrganicDividerBase=d;this.__xOrganicDividerSvg=e;this.__xOrganicDividerPaths=[];this.__xOrganicDividerInit=!0}gI(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=
13
- function(b,c,d){$APP.O(c,d)&&$APP.n($APP.l(this,"__xOrganicDividerInit"))&&gI(this);return null};hI(a.prototype);return a},kI=function(){$APP.n(customElements.get("x-organic-divider"))||customElements.define("x-organic-divider",jI());return null},ZH=new $APP.M(null,"flip","flip",2033871302),YH=new $APP.M(null,"layers","layers",1944875032),eI=new $APP.M(null,"transforms","transforms",793344554),VH=new $APP.M(null,"x-offset","x-offset",-1499732449),cI=new $APP.M(null,"path-alt","path-alt",1724994068),
14
- WH=new $APP.M(null,"y-offset","y-offset",-1716542),fI=new $APP.M(null,"drift-d","drift-d",-1241526977),$H=new $APP.M(null,"mirror","mirror",1914600218);var iI="shape layers height flip mirror animation path".split(" "),aI=new $APP.S(null,new $APP.R(null,3,["none",null,"drift",null,"morph",null],null),null),TH=new $APP.S(null,new $APP.R(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),bI=new $APP.R(null,8,["wave",new $APP.R(null,2,[$APP.xj,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",cI,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
15
- null),"waves",new $APP.R(null,2,[$APP.xj,"M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 L1200,120 L0,120 Z",cI,"M0,55 C150,15 300,85 450,50 C600,10 750,80 900,35 C1050,5 1150,75 1200,40 L1200,120 L0,120 Z"],null),"blob-edge",new $APP.R(null,2,[$APP.xj,"M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 L1200,120 L0,120 Z",cI,"M0,40 C80,65 160,25 240,60 C320,80 400,20 500,45 C600,70 680,15 780,55 C880,75 960,10 1060,35 C1120,55 1180,30 1200,55 L1200,120 L0,120 Z"],
16
- null),"mountain",new $APP.R(null,2,[$APP.xj,"M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1200,60 L1200,120 L0,120 Z",cI,"M0,80 C100,80 200,45 350,45 C500,45 450,75 600,75 C750,75 700,30 850,30 C1000,30 950,70 1100,70 C1150,70 1200,50 1200,50 L1200,120 L0,120 Z"],null),"drip",new $APP.R(null,2,[$APP.xj,"M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 L1200,120 L0,120 Z",
17
- cI,"M0,20 C50,20 100,20 170,20 C195,20 205,55 220,72 C235,90 245,90 260,72 C275,55 285,20 310,20 L470,20 C495,20 505,45 520,62 C535,80 545,80 560,62 C575,45 585,20 610,20 L820,20 C845,20 855,65 870,85 C885,105 895,105 910,85 C925,65 935,20 960,20 L1200,20 L1200,120 L0,120 Z"],null),"slant",new $APP.R(null,2,[$APP.xj,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",cI,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.R(null,2,
18
- [$APP.xj,"M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 L1200,120 L0,120 Z",cI,"M0,50 Q75,110 150,50 Q225,-10 300,50 Q375,110 450,50 Q525,-10 600,50 Q675,110 750,50 Q825,-10 900,50 Q975,110 1050,50 Q1125,-10 1200,50 L1200,120 L0,120 Z"],null),"cloud",new $APP.R(null,2,[$APP.xj,"M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 L1200,120 L0,120 Z",
19
- cI,"M0,70 C50,70 80,50 140,50 C180,50 200,70 220,70 C240,70 260,30 320,30 C380,30 400,60 440,60 C480,60 500,20 560,20 C620,20 640,50 700,50 C760,50 780,35 840,35 C900,35 920,65 960,65 C1000,65 1040,40 1100,40 C1140,40 1180,70 1200,70 L1200,120 L0,120 Z"],null)],null),dI=new $APP.R(null,8,"wave;M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 C1400,20 1600,100 1800,60 L1800,120 L0,120 Z;waves;M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 C1350,80 1500,0 1650,40 C1800,80 1800,50 1800,50 L1800,120 L0,120 Z;blob-edge;M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 C1280,30 1360,70 1440,45 C1520,20 1600,80 1700,55 C1800,30 1800,50 1800,50 L1800,120 L0,120 Z;mountain;M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1300,60 C1400,60 1400,30 1500,30 C1600,30 1550,80 1700,80 C1750,80 1800,60 1800,60 L1800,120 L0,120 Z;drip;M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 C1225,20 1235,60 1250,80 C1265,100 1275,100 1290,80 C1305,60 1315,20 1340,20 L1500,20 C1525,20 1535,50 1550,70 C1565,90 1575,90 1590,70 C1605,50 1615,20 1640,20 L1800,20 L1800,120 L0,120 Z;slant;M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 C1300,2 1500,90 1800,100 L1800,120 L0,120 Z;scallop;M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 Q1275,0 1350,60 Q1425,120 1500,60 Q1575,0 1650,60 Q1725,120 1800,60 L1800,120 L0,120 Z;cloud;M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 C1240,60 1260,20 1320,20 C1380,20 1400,50 1440,50 C1480,50 1500,10 1560,10 C1620,10 1640,40 1700,40 C1760,40 1780,60 1800,60 L1800,120 L0,120 Z".split(";"),
20
- null);$APP.ja("baredom.exports.x_organic_divider.init",kI);export const init=kI;
2
+ var QK=function(a){return typeof a==="string"&&$APP.J(PK,a)?a:"wave"},TK=function(a){return $APP.je(function(b){return new $APP.P(null,2,[RK,b*20,SK,b*8],null)},$APP.kg(0,a))},bL=function(a){var b=new $APP.P(null,7,[$APP.wj,a.getAttribute("shape"),$APP.Bi,a.getAttribute("layers"),$APP.pj,a.getAttribute("height"),UK,a.getAttribute("flip"),VK,a.getAttribute("mirror"),$APP.Oi,a.getAttribute("animation"),$APP.ak,a.getAttribute("path")],null);var c=$APP.N(b),d=$APP.G(c,$APP.wj),e=$APP.G(c,$APP.Bi);b=$APP.G(c,
3
+ $APP.pj);var g=$APP.G(c,UK),h=$APP.G(c,VK),k=$APP.G(c,$APP.Oi);c=$APP.G(c,$APP.ak);c=typeof c==="string"&&$APP.O("",c.trim())?c.trim():null;d=QK(d);e=typeof e==="string"?parseInt(e,10):null;var m=e==null;m||(m=isNaN(e),m=$APP.r(m)?m:e<1);e=$APP.r(m)?1:e>5?5:e;var p=typeof k==="string"&&$APP.J(WK,k)?k:"none";k=c!=null?c:$APP.ke(XK,new $APP.ve(null,2,5,$APP.we,[QK(d),$APP.ak],null));m=c==null?$APP.ke(XK,new $APP.ve(null,2,5,$APP.we,[QK(d),YK],null)):null;var q=c!=null?c:$APP.G(ZK,QK(d));p=$APP.D.i(p,
4
+ "morph")&&m==null?"none":p;g=g!=null;var w=TK(e);h=h!=null;b=typeof b==="string"&&$APP.O("",b.trim())?b.trim():"120px";b=$APP.Q([$APP.ak,$APP.ij,$APP.Oi,UK,$K,YK,$APP.wj,$APP.Bi,VK,$APP.pj,aL],[c,k,p,g,w,m,d,e,h,b,q]);k=$APP.N(b);b=$APP.G(k,VK);h=$APP.G(k,$APP.pj);w=$APP.G(k,aL);var x=$APP.G(k,$APP.ij);c=$APP.G(k,$APP.Oi);d=$APP.G(k,UK);g=$APP.G(k,$K);e=$APP.G(k,YK);k=$APP.G(k,$APP.Bi);m=$APP.l(a,"__xOrganicDividerBase");var y=$APP.l(a,"__xOrganicDividerSvg");q=$APP.l(a,"__xOrganicDividerPaths");
5
+ var A=$APP.D.i(c,"drift");p=$APP.D.i(c,"morph");w=A?w:x;y.setAttribute("viewBox",A?"0 0 1800 120":"0 0 1200 120");a:if(x=q.length,x<k)for(x=k-x,A=0;;)if(A<x){var C=document.createElementNS("http://www.w3.org/2000/svg","path");y.appendChild(C);q.push(C);A+=1}else break a;else if(x>k)for(x-=k,A=0;;)if(A<x)C=q.pop(),y.removeChild(C),A+=1;else break a;for(y=0;;)if(y<k){x=q[y];A=$APP.rc(g,y);C=$APP.N(A);A=$APP.G(C,RK);C=$APP.G(C,SK);var E=y+1;x.setAttribute("d",w);x.setAttribute("fill","var(--x-organic-divider-color-"+
6
+ $APP.S.g(E)+")");x.setAttribute("opacity",""+$APP.S.g(k<=1?1:.3+y/(k-1)*.7));A>0||C>0?x.setAttribute("transform","translate("+$APP.S.g(A)+","+$APP.S.g(C)+")"):x.removeAttribute("transform");p&&(x.style.setProperty("--x-organic-divider-d",'path("'+$APP.S.g(w)+'")'),$APP.r(e)&&x.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.S.g(e)+'")'));p||(x.style.removeProperty("--x-organic-divider-d"),x.style.removeProperty("--x-organic-divider-d-alt"));y+=1}else break;m.style.setProperty("height",
7
+ h);$APP.r(d)?a.setAttribute("data-flip",""):a.removeAttribute("data-flip");$APP.r(b)?a.setAttribute("data-mirror",""):a.removeAttribute("data-mirror");$APP.O(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation")},cL=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.r(b)?b:"wave"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});
8
+ Object.defineProperty(a,"layers",{get:function(){var b=this.getAttribute("layers");return $APP.r(b)?b:"1"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("layers",b):this.removeAttribute("layers")},enumerable:!0,configurable:!0});Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.r(b)?b:"120px"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,
9
+ configurable:!0});Object.defineProperty(a,"flip",{get:function(){return this.hasAttribute("flip")},set:function(b){return $APP.r(b)?this.setAttribute("flip",""):this.removeAttribute("flip")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mirror",{get:function(){return this.hasAttribute("mirror")},set:function(b){return $APP.r(b)?this.setAttribute("mirror",""):this.removeAttribute("mirror")},enumerable:!0,configurable:!0});Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");
10
+ return $APP.r(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("animation",b):this.removeAttribute("animation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.O("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0})},eL=function(){var a=class extends HTMLElement{};a.observedAttributes=dL;a.prototype.connectedCallback=
11
+ function(){if(!$APP.r($APP.l(this,"__xOrganicDividerInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElementNS("http://www.w3.org/2000/svg","svg");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;line-height:0;font-size:0;overflow:hidden;--x-organic-divider-color-1:rgba(99,102,241,0.15);--x-organic-divider-color-2:rgba(99,102,241,0.25);--x-organic-divider-color-3:rgba(99,102,241,0.40);--x-organic-divider-color-4:rgba(99,102,241,0.60);--x-organic-divider-color-5:rgba(99,102,241,0.85);--x-organic-divider-height:120px;--x-organic-divider-animate-duration:6s;--x-organic-divider-animate-timing:ease-in-out;}@media (prefers-color-scheme:dark){:host{--x-organic-divider-color-1:rgba(129,140,248,0.12);--x-organic-divider-color-2:rgba(129,140,248,0.22);--x-organic-divider-color-3:rgba(129,140,248,0.35);--x-organic-divider-color-4:rgba(129,140,248,0.50);--x-organic-divider-color-5:rgba(129,140,248,0.70);}}[part\x3dbase]{width:100%;position:relative;overflow:hidden;}[part\x3dbase] svg{display:block;width:100%;height:100%;}:host([data-flip]) [part\x3dbase]{transform:scaleY(-1);}:host([data-mirror]) [part\x3dbase]{transform:scaleX(-1);}:host([data-flip][data-mirror]) [part\x3dbase]{transform:scaleX(-1) scaleY(-1);}@keyframes x-organic-divider-drift{0%{transform:translateX(0);}100%{transform:translateX(-33.333%);}}:host([data-animation\x3ddrift]) [part\x3dbase] svg{width:150%;animation:x-organic-divider-drift var(--x-organic-divider-animate-duration) linear infinite;}@keyframes x-organic-divider-morph{0%,100%{d:var(--x-organic-divider-d);}50%{d:var(--x-organic-divider-d-alt);}}:host([data-animation\x3dmorph]) [part\x3dbase] path{animation:x-organic-divider-morph var(--x-organic-divider-animate-duration) var(--x-organic-divider-animate-timing) infinite;}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dbase] svg,:host([data-animation]) [part\x3dbase] path{animation:none;}}";
12
+ d.setAttribute("part","base");e.setAttribute("xmlns","http://www.w3.org/2000/svg");e.setAttribute("preserveAspectRatio","none");e.setAttribute("aria-hidden","true");d.appendChild(e);b.appendChild(c);b.appendChild(d);this.setAttribute("role","presentation");this.setAttribute("aria-hidden","true");this.__xOrganicDividerBase=d;this.__xOrganicDividerSvg=e;this.__xOrganicDividerPaths=[];this.__xOrganicDividerInit=!0}bL(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=
13
+ function(b,c,d){$APP.O(c,d)&&$APP.r($APP.l(this,"__xOrganicDividerInit"))&&bL(this);return null};cL(a.prototype);return a},fL=function(){$APP.r(customElements.get("x-organic-divider"))||customElements.define("x-organic-divider",eL());return null},UK=new $APP.M(null,"flip","flip",2033871302),$K=new $APP.M(null,"transforms","transforms",793344554),RK=new $APP.M(null,"x-offset","x-offset",-1499732449),YK=new $APP.M(null,"path-alt","path-alt",1724994068),SK=new $APP.M(null,"y-offset","y-offset",-1716542),
14
+ aL=new $APP.M(null,"drift-d","drift-d",-1241526977),VK=new $APP.M(null,"mirror","mirror",1914600218);var dL="shape layers height flip mirror animation path".split(" "),WK=new $APP.R(null,new $APP.P(null,3,["none",null,"drift",null,"morph",null],null),null),PK=new $APP.R(null,new $APP.P(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),XK=new $APP.P(null,8,["wave",new $APP.P(null,2,[$APP.ak,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",YK,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
15
+ null),"waves",new $APP.P(null,2,[$APP.ak,"M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 L1200,120 L0,120 Z",YK,"M0,55 C150,15 300,85 450,50 C600,10 750,80 900,35 C1050,5 1150,75 1200,40 L1200,120 L0,120 Z"],null),"blob-edge",new $APP.P(null,2,[$APP.ak,"M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 L1200,120 L0,120 Z",YK,"M0,40 C80,65 160,25 240,60 C320,80 400,20 500,45 C600,70 680,15 780,55 C880,75 960,10 1060,35 C1120,55 1180,30 1200,55 L1200,120 L0,120 Z"],
16
+ null),"mountain",new $APP.P(null,2,[$APP.ak,"M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1200,60 L1200,120 L0,120 Z",YK,"M0,80 C100,80 200,45 350,45 C500,45 450,75 600,75 C750,75 700,30 850,30 C1000,30 950,70 1100,70 C1150,70 1200,50 1200,50 L1200,120 L0,120 Z"],null),"drip",new $APP.P(null,2,[$APP.ak,"M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 L1200,120 L0,120 Z",
17
+ YK,"M0,20 C50,20 100,20 170,20 C195,20 205,55 220,72 C235,90 245,90 260,72 C275,55 285,20 310,20 L470,20 C495,20 505,45 520,62 C535,80 545,80 560,62 C575,45 585,20 610,20 L820,20 C845,20 855,65 870,85 C885,105 895,105 910,85 C925,65 935,20 960,20 L1200,20 L1200,120 L0,120 Z"],null),"slant",new $APP.P(null,2,[$APP.ak,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",YK,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.P(null,2,
18
+ [$APP.ak,"M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 L1200,120 L0,120 Z",YK,"M0,50 Q75,110 150,50 Q225,-10 300,50 Q375,110 450,50 Q525,-10 600,50 Q675,110 750,50 Q825,-10 900,50 Q975,110 1050,50 Q1125,-10 1200,50 L1200,120 L0,120 Z"],null),"cloud",new $APP.P(null,2,[$APP.ak,"M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 L1200,120 L0,120 Z",
19
+ YK,"M0,70 C50,70 80,50 140,50 C180,50 200,70 220,70 C240,70 260,30 320,30 C380,30 400,60 440,60 C480,60 500,20 560,20 C620,20 640,50 700,50 C760,50 780,35 840,35 C900,35 920,65 960,65 C1000,65 1040,40 1100,40 C1140,40 1180,70 1200,70 L1200,120 L0,120 Z"],null)],null),ZK=new $APP.P(null,8,"wave;M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 C1400,20 1600,100 1800,60 L1800,120 L0,120 Z;waves;M0,40 C150,80 300,0 450,40 C600,80 750,10 900,50 C1050,90 1150,30 1200,50 C1350,80 1500,0 1650,40 C1800,80 1800,50 1800,50 L1800,120 L0,120 Z;blob-edge;M0,50 C80,30 160,70 240,45 C320,20 400,80 500,55 C600,30 680,75 780,40 C880,5 960,65 1060,50 C1120,40 1180,60 1200,45 C1280,30 1360,70 1440,45 C1520,20 1600,80 1700,55 C1800,30 1800,50 1800,50 L1800,120 L0,120 Z;mountain;M0,90 C100,90 200,30 350,30 C500,30 450,85 600,85 C750,85 700,15 850,15 C1000,15 950,80 1100,80 C1150,80 1200,60 1300,60 C1400,60 1400,30 1500,30 C1600,30 1550,80 1700,80 C1750,80 1800,60 1800,60 L1800,120 L0,120 Z;drip;M0,20 C50,20 100,20 150,20 C175,20 185,60 200,80 C215,100 225,100 240,80 C255,60 265,20 290,20 L450,20 C475,20 485,50 500,70 C515,90 525,90 540,70 C555,50 565,20 590,20 L800,20 C825,20 835,70 850,90 C865,110 875,110 890,90 C905,70 915,20 940,20 L1200,20 C1225,20 1235,60 1250,80 C1265,100 1275,100 1290,80 C1305,60 1315,20 1340,20 L1500,20 C1525,20 1535,50 1550,70 C1565,90 1575,90 1590,70 C1605,50 1615,20 1640,20 L1800,20 L1800,120 L0,120 Z;slant;M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 C1300,2 1500,90 1800,100 L1800,120 L0,120 Z;scallop;M0,60 Q75,0 150,60 Q225,120 300,60 Q375,0 450,60 Q525,120 600,60 Q675,0 750,60 Q825,120 900,60 Q975,0 1050,60 Q1125,120 1200,60 Q1275,0 1350,60 Q1425,120 1500,60 Q1575,0 1650,60 Q1725,120 1800,60 L1800,120 L0,120 Z;cloud;M0,80 C50,80 80,40 140,40 C180,40 200,60 220,60 C240,60 260,20 320,20 C380,20 400,50 440,50 C480,50 500,10 560,10 C620,10 640,40 700,40 C760,40 780,25 840,25 C900,25 920,55 960,55 C1000,55 1040,30 1100,30 C1140,30 1180,60 1200,60 C1240,60 1260,20 1320,20 C1380,20 1400,50 1440,50 C1480,50 1500,10 1560,10 C1620,10 1640,40 1700,40 C1760,40 1780,60 1800,60 L1800,120 L0,120 Z".split(";"),
20
+ null);$APP.ka("baredom.exports.x_organic_divider.init",fL);export const init=fL;