@vanelsas/baredom 2.3.0 → 2.3.1

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 (92) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +3 -3
  3. package/dist/base.js +163 -158
  4. package/dist/x-alert.js +17 -17
  5. package/dist/x-avatar-group.js +11 -11
  6. package/dist/x-avatar.js +14 -14
  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 +15 -15
  12. package/dist/x-cancel-dialogue.js +15 -15
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-carousel.js +28 -28
  15. package/dist/x-chart.js +46 -46
  16. package/dist/x-checkbox.js +11 -11
  17. package/dist/x-chip.js +8 -8
  18. package/dist/x-collapse.js +10 -10
  19. package/dist/x-color-picker.js +41 -41
  20. package/dist/x-combobox.js +24 -24
  21. package/dist/x-command-palette.js +24 -24
  22. package/dist/x-container.js +6 -6
  23. package/dist/x-context-menu.js +18 -20
  24. package/dist/x-copy.js +21 -21
  25. package/dist/x-currency-field.js +21 -21
  26. package/dist/x-date-picker.js +37 -37
  27. package/dist/x-divider.js +8 -8
  28. package/dist/x-drawer.js +11 -11
  29. package/dist/x-dropdown.js +9 -9
  30. package/dist/x-fieldset.js +5 -5
  31. package/dist/x-file-download.js +7 -7
  32. package/dist/x-form-field.js +15 -15
  33. package/dist/x-form.js +9 -9
  34. package/dist/x-gaussian-blur.js +18 -18
  35. package/dist/x-grid.js +6 -6
  36. package/dist/x-icon.js +7 -7
  37. package/dist/x-image.js +18 -18
  38. package/dist/x-kinetic-font.js +28 -28
  39. package/dist/x-kinetic-typography.js +37 -37
  40. package/dist/x-liquid-dock.js +35 -35
  41. package/dist/x-liquid-fill.js +39 -39
  42. package/dist/x-liquid-glass.js +39 -39
  43. package/dist/x-menu-item.js +10 -10
  44. package/dist/x-menu.js +10 -10
  45. package/dist/x-metaball-cursor.js +27 -27
  46. package/dist/x-modal.js +11 -11
  47. package/dist/x-morph-stack.js +39 -39
  48. package/dist/x-navbar.js +13 -13
  49. package/dist/x-neural-glow.js +30 -30
  50. package/dist/x-notification-center.js +10 -10
  51. package/dist/x-organic-divider.js +15 -15
  52. package/dist/x-organic-progress.js +35 -35
  53. package/dist/x-organic-shape.js +12 -12
  54. package/dist/x-pagination.js +16 -16
  55. package/dist/x-particle-button.js +47 -47
  56. package/dist/x-popover.js +24 -14
  57. package/dist/x-progress-circle.js +7 -7
  58. package/dist/x-progress.js +7 -7
  59. package/dist/x-radio.js +11 -11
  60. package/dist/x-ripple-effect.js +11 -11
  61. package/dist/x-scroll-parallax.js +17 -17
  62. package/dist/x-scroll-stack.js +18 -18
  63. package/dist/x-scroll-story.js +33 -33
  64. package/dist/x-scroll-timeline.js +45 -45
  65. package/dist/x-scroll.js +40 -40
  66. package/dist/x-search-field.js +14 -14
  67. package/dist/x-select.js +9 -9
  68. package/dist/x-sidebar.js +16 -16
  69. package/dist/x-skeleton-group.js +13 -13
  70. package/dist/x-skeleton.js +1 -1
  71. package/dist/x-slider.js +16 -16
  72. package/dist/x-soft-body.js +20 -20
  73. package/dist/x-spacer.js +5 -5
  74. package/dist/x-spinner.js +5 -5
  75. package/dist/x-splash.js +13 -13
  76. package/dist/x-stat.js +9 -9
  77. package/dist/x-stepper.js +15 -15
  78. package/dist/x-switch.js +10 -10
  79. package/dist/x-tab.js +7 -7
  80. package/dist/x-table-cell.js +19 -19
  81. package/dist/x-table-row.js +10 -10
  82. package/dist/x-table.js +13 -13
  83. package/dist/x-tabs.js +11 -11
  84. package/dist/x-text-area.js +17 -17
  85. package/dist/x-theme.js +24 -24
  86. package/dist/x-timeline-item.js +21 -21
  87. package/dist/x-timeline.js +9 -9
  88. package/dist/x-toast.js +22 -22
  89. package/dist/x-toaster.js +8 -8
  90. package/dist/x-tooltip.js +12 -12
  91. package/dist/x-typography.js +8 -8
  92. package/package.json +1 -1
@@ -1,35 +1,35 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var hF=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},iF=function(a,b){return typeof a==="string"&&a.trim().length>0?a.trim():b},jF=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},kF=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},lF=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},mF=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},nF=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.8:Math.min(1,Math.max(0,a))):.8},oF=function(a){return a==null?!0:$APP.N("false",a.trim().toLowerCase())},
4
- pF=function(a,b,c){return a+(b-a)*c},qF=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},sF=function(a,b){a=$APP.k(a,"__xNeuralColorCache");var c=$APP.k(a,b);if($APP.n(c))return c;rF.fillStyle="#000000";rF.fillStyle=b;c=rF.fillStyle;if(typeof c==="string"&&$APP.C.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.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},tF=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},MF=function(a){a=$APP.zf([uF,vF,wF,xF,yF,zF,AF,BF,CF,DF],[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.M(a);a=$APP.D(b,CF);var c=$APP.D(b,DF),d=$APP.D(b,uF),e=$APP.D(b,vF),g=$APP.D(b,xF),h=$APP.D(b,wF),l=$APP.D(b,yF),m=$APP.D(b,zF),p=$APP.D(b,AF);b=$APP.D(b,BF);return $APP.zf([EF,FF,GF,HF,$APP.pl,IF,$APP.li,JF,KF,LF],[mF(m),hF(l),iF(a,"#4f8bff"),iF(h,"#00e5cc"),oF(b),lF(c),
7
- nF(g),jF(e),iF(p,"#050a18"),kF(d)])},NF=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},PF=function(a,b,c){var d=$APP.k(a,"__xNeuralUniforms"),e=OF.g($APP.k(a,"__xNeuralRefs")),g=e.width,h=e.height,l=$APP.k(a,"__xNeuralTime"),m=$APP.k(a,"__xNeuralActivity");e=$APP.k(a,"__xNeuralOrbPos");var p=$APP.k(a,"__xNeuralOrbPhases"),q=FF.g(c),v=sF(a,GF.g(c)),x=sF(a,HF.g(c));a=sF(a,KF.g(c));b.uniform2f($APP.k(d,
8
- "u_resolution"),g,h);b.uniform1f($APP.k(d,"u_time"),l);b.uniform1f($APP.k(d,"u_activity"),m);b.uniform1f($APP.k(d,"u_pulse_speed"),JF.g(c));b.uniform1f($APP.k(d,"u_rest_rate"),LF.g(c));b.uniform1i($APP.k(d,"u_orb_count"),q);b.uniform1f($APP.k(d,"u_orb_size"),EF.g(c));b.uniform1f($APP.k(d,"u_connection_dist"),IF.g(c));b.uniform3f($APP.k(d,"u_color_primary"),v[0],v[1],v[2]);b.uniform3f($APP.k(d,"u_color_secondary"),x[0],x[1],x[2]);b.uniform3f($APP.k(d,"u_color_background"),a[0],a[1],a[2]);b.uniform1f($APP.k(d,
9
- "u_opacity"),$APP.li.g(c));for(c=0;;)if(c<q)g=e[c],b.uniform2f($APP.k(d,"u_orb_positions["+$APP.T.g(c)+"]"),g[0],g[1]),b.uniform1f($APP.k(d,"u_orb_phases["+$APP.T.g(c)+"]"),p[c]),c+=1;else break},RF=function(a){a.__xNeuralTime=0;$APP.ja(a,"__xNeuralLastFrame",performance.now());a.__xNeuralActivity=0;a.__xNeuralImpulse=0;$APP.ja(a,"__xNeuralRaf",requestAnimationFrame(function(){return QF(a)}))},SF=function(a){if($APP.n($APP.pl.g($APP.k(a,"__xNeuralModel")))){var b=function(){var g=window.scrollY,h=
2
+ var EF=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},FF=function(a,b){return typeof a==="string"&&a.trim().length>0?a.trim():b},GF=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},HF=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},IF=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},JF=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},KF=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?.8:Math.min(1,Math.max(0,a))):.8},LF=function(a){return a==null?!0:$APP.N("false",a.trim().toLowerCase())},
4
+ MF=function(a,b,c){return a+(b-a)*c},NF=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},PF=function(a,b){a=$APP.k(a,"__xNeuralColorCache");var c=$APP.k(a,b);if($APP.n(c))return c;OF.fillStyle="#000000";OF.fillStyle=b;c=OF.fillStyle;if(typeof c==="string"&&$APP.C.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.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},QF=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},iG=function(a){a=$APP.zf([RF,SF,TF,UF,VF,WF,XF,YF,ZF,$F],[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.M(a);a=$APP.D(b,ZF);var c=$APP.D(b,$F),d=$APP.D(b,RF),e=$APP.D(b,SF),g=$APP.D(b,UF),h=$APP.D(b,TF),l=$APP.D(b,VF),m=$APP.D(b,WF),p=$APP.D(b,XF);b=$APP.D(b,YF);return $APP.zf([aG,bG,cG,dG,$APP.vl,eG,$APP.oi,fG,gG,hG],[JF(m),EF(l),FF(a,"#4f8bff"),FF(h,"#00e5cc"),LF(b),IF(c),
7
+ KF(g),GF(e),FF(p,"#050a18"),HF(d)])},jG=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},lG=function(a,b,c){var d=$APP.k(a,"__xNeuralUniforms"),e=kG.g($APP.k(a,"__xNeuralRefs")),g=e.width,h=e.height,l=$APP.k(a,"__xNeuralTime"),m=$APP.k(a,"__xNeuralActivity");e=$APP.k(a,"__xNeuralOrbPos");var p=$APP.k(a,"__xNeuralOrbPhases"),q=bG.g(c),v=PF(a,cG.g(c)),x=PF(a,dG.g(c));a=PF(a,gG.g(c));b.uniform2f($APP.k(d,
8
+ "u_resolution"),g,h);b.uniform1f($APP.k(d,"u_time"),l);b.uniform1f($APP.k(d,"u_activity"),m);b.uniform1f($APP.k(d,"u_pulse_speed"),fG.g(c));b.uniform1f($APP.k(d,"u_rest_rate"),hG.g(c));b.uniform1i($APP.k(d,"u_orb_count"),q);b.uniform1f($APP.k(d,"u_orb_size"),aG.g(c));b.uniform1f($APP.k(d,"u_connection_dist"),eG.g(c));b.uniform3f($APP.k(d,"u_color_primary"),v[0],v[1],v[2]);b.uniform3f($APP.k(d,"u_color_secondary"),x[0],x[1],x[2]);b.uniform3f($APP.k(d,"u_color_background"),a[0],a[1],a[2]);b.uniform1f($APP.k(d,
9
+ "u_opacity"),$APP.oi.g(c));for(c=0;;)if(c<q)g=e[c],b.uniform2f($APP.k(d,"u_orb_positions["+$APP.T.g(c)+"]"),g[0],g[1]),b.uniform1f($APP.k(d,"u_orb_phases["+$APP.T.g(c)+"]"),p[c]),c+=1;else break},nG=function(a){a.__xNeuralTime=0;$APP.ja(a,"__xNeuralLastFrame",performance.now());a.__xNeuralActivity=0;a.__xNeuralImpulse=0;$APP.ja(a,"__xNeuralRaf",requestAnimationFrame(function(){return mG(a)}))},oG=function(a){if($APP.n($APP.vl.g($APP.k(a,"__xNeuralModel")))){var b=function(){var g=window.scrollY,h=
10
10
  $APP.k(a,"__xNeuralLastScroll");a.__xNeuralLastScroll=g;h!=null&&(a.__xNeuralImpulse=Math.min(1,$APP.k(a,"__xNeuralImpulse")+Math.min(1,Math.abs(g-h)/100)));return null},c=function(g){var h=$APP.k(a,"__xNeuralLastPtr"),l=g.clientX;g=g.clientY;if($APP.n(h)){var m=l-$APP.k(h,"x"),p=g-$APP.k(h,"y");a.__xNeuralImpulse=Math.min(1,$APP.k(a,"__xNeuralImpulse")+Math.min(1,Math.sqrt(m*m+p*p)/50));h.x=l;h.y=g}else a.__xNeuralLastPtr={x:l,y:g};return null},d=function(){a.__xNeuralImpulse=Math.min(1,$APP.k(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},TF=function(a){var b=$APP.k(a,"__xNeuralHandlers");if($APP.n(b)){var c=$APP.k(b,"scroll");$APP.n(c)&&window.removeEventListener("scroll",c);c=$APP.k(b,"pointer");$APP.n(c)&&window.removeEventListener("pointermove",c);b=$APP.k(b,"key");$APP.n(b)&&window.removeEventListener("keydown",
12
- b);a.__xNeuralHandlers=null}},UF=function(a){Object.defineProperty(a,"orbCount",{get:function(){return hF(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 iF(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 iF(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 iF(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 jF(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 kF(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 lF(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 mF(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 nF(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 oF(this.getAttribute("interactive"))},set:function(b){return $APP.n(b)?this.removeAttribute("interactive"):this.setAttribute("interactive","false")},enumerable:!0,
17
- configurable:!0})},ZF=function(){var a=class extends HTMLElement{};a.observedAttributes=VF;a.prototype.connectedCallback=function(){var b=MF(this);this.__xNeuralModel=b;this.__xNeuralColorCache={};this.__xNeuralDriftTime=0;this.__xNeuralLastScroll=this.__xNeuralLastPtr=null;if(!$APP.n($APP.k(this,"__xNeuralRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("canvas");d.textContent=WF;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=tF(d,d.VERTEX_SHADER,"attribute vec2 a_position;\nvoid main() {\n gl_Position \x3d vec4(a_position, 0.0, 1.0);\n}"),h=tF(d,d.FRAGMENT_SHADER,XF);if($APP.n($APP.n(g)?h:g)){var l=d.createProgram();d.attachShader(l,g);d.attachShader(l,h);d.linkProgram(l);$APP.n(d.getProgramParameter(l,d.LINK_STATUS))?g=l:(console.warn("x-neural-glow link error:",
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},pG=function(a){var b=$APP.k(a,"__xNeuralHandlers");if($APP.n(b)){var c=$APP.k(b,"scroll");$APP.n(c)&&window.removeEventListener("scroll",c);c=$APP.k(b,"pointer");$APP.n(c)&&window.removeEventListener("pointermove",c);b=$APP.k(b,"key");$APP.n(b)&&window.removeEventListener("keydown",
12
+ b);a.__xNeuralHandlers=null}},qG=function(a){Object.defineProperty(a,"orbCount",{get:function(){return EF(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 FF(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 FF(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 FF(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 GF(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 HF(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 IF(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 JF(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 KF(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 LF(this.getAttribute("interactive"))},set:function(b){return $APP.n(b)?this.removeAttribute("interactive"):this.setAttribute("interactive","false")},enumerable:!0,
17
+ configurable:!0})},vG=function(){var a=class extends HTMLElement{};a.observedAttributes=rG;a.prototype.connectedCallback=function(){var b=iG(this);this.__xNeuralModel=b;this.__xNeuralColorCache={};this.__xNeuralDriftTime=0;this.__xNeuralLastScroll=this.__xNeuralLastPtr=null;if(!$APP.n($APP.k(this,"__xNeuralRefs"))){var c=this.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("canvas");d.textContent=sG;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=QF(d,d.VERTEX_SHADER,"attribute vec2 a_position;\nvoid main() {\n gl_Position \x3d vec4(a_position, 0.0, 1.0);\n}"),h=QF(d,d.FRAGMENT_SHADER,tG);if($APP.n($APP.n(g)?h:g)){var l=d.createProgram();d.attachShader(l,g);d.attachShader(l,h);d.linkProgram(l);$APP.n(d.getProgramParameter(l,d.LINK_STATUS))?g=l:(console.warn("x-neural-glow link error:",
19
19
  d.getProgramInfoLog(l)),d.deleteProgram(l),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={};l=$APP.t(new $APP.O(null,12,5,$APP.P,"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
20
  null));for(var m=null,p=0,q=0;;)if(q<p){var v=m.F(null,q);h[v]=d.getUniformLocation(g,v);q+=1}else if(l=$APP.t(l))m=l,$APP.Nc(m)?(l=$APP.yb(m),q=$APP.zb(m),m=l,p=$APP.z(l),l=q):(l=$APP.u(m),h[l]=d.getUniformLocation(g,l),l=$APP.w(m),m=null,p=0),q=0;else break;for(l=0;;)if(l<50)m="u_orb_positions["+$APP.T.g(l)+"]",p="u_orb_phases["+$APP.T.g(l)+"]",h[m]=d.getUniformLocation(g,m),h[p]=d.getUniformLocation(g,p),l+=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.Q(null,3,[$APP.yi,c,OF,e,YF,d],null)}b=FF.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");TF(this);SF(this);
22
- RF(this);return null};a.prototype.disconnectedCallback=function(){var b=$APP.k(this,"__xNeuralRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xNeuralRaf=null);TF(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xNeuralModel=b=MF(this),this.__xNeuralColorCache={},$APP.n($APP.k(this,"__xNeuralRefs")))){var e=FF.g(b);b=$APP.k(this,"__xNeuralOrbBase");c=$APP.k(this,"__xNeuralOrbPhases");d=$APP.k(this,"__xNeuralOrbPos");var g=b.length,h=2*Math.PI;if($APP.N(g,
23
- e))if(e>g)for(e-=g,g=0;;)if(g<e){var l=Math.random(),m=Math.random();b.push([l,m]);d.push([l,m]);c.push(Math.random()*h);g+=1}else break;else b.length=e,d.length=e,c.length=e;TF(this);return $APP.n(this.isConnected)?SF(this):null}return null};UF(a.prototype);return a},$F=function(){$APP.n(customElements.get("x-neural-glow"))||customElements.define("x-neural-glow",ZF());return null},xF=new $APP.K(null,"opacity-raw","opacity-raw",-1373906448),IF=new $APP.K(null,"connection-distance","connection-distance",
24
- -2128794414),vF=new $APP.K(null,"pulse-speed-raw","pulse-speed-raw",-665433726),CF=new $APP.K(null,"color-primary-raw","color-primary-raw",392476156),KF=new $APP.K(null,"color-background","color-background",1347240536),JF=new $APP.K(null,"pulse-speed","pulse-speed",828613109),wF=new $APP.K(null,"color-secondary-raw","color-secondary-raw",1212293328),yF=new $APP.K(null,"orb-count-raw","orb-count-raw",-930142286),DF=new $APP.K(null,"connection-distance-raw","connection-distance-raw",1368898143),BF=
25
- new $APP.K(null,"interactive-raw","interactive-raw",1874525367),LF=new $APP.K(null,"rest-rate","rest-rate",1350607737),HF=new $APP.K(null,"color-secondary","color-secondary",-556141879),YF=new $APP.K(null,"gl","gl",-246422634),EF=new $APP.K(null,"orb-size","orb-size",83267072),zF=new $APP.K(null,"orb-size-raw","orb-size-raw",925656307),FF=new $APP.K(null,"orb-count","orb-count",1055126048),AF=new $APP.K(null,"color-background-raw","color-background-raw",2063778805),GF=new $APP.K(null,"color-primary",
26
- "color-primary",1415907910),OF=new $APP.K(null,"canvas","canvas",-1798817489),uF=new $APP.K(null,"rest-rate-raw","rest-rate-raw",-206808800);var VF="orb-count color-primary color-secondary color-background pulse-speed rest-rate connection-distance orb-size opacity interactive".split(" ");
27
- $APP.zf([new $APP.K(null,"colorBackground","colorBackground",-167638842),$APP.cj,new $APP.K(null,"orbCount","orbCount",-2006864213),new $APP.K(null,"restRate","restRate",-272422548),new $APP.K(null,"colorPrimary","colorPrimary",-611817233),new $APP.K(null,"orbSize","orbSize",1744279571),$APP.li,new $APP.K(null,"colorSecondary","colorSecondary",1906906102),new $APP.K(null,"pulseSpeed","pulseSpeed",1297932542),new $APP.K(null,"connectionDistance","connectionDistance",1241773439)],[new $APP.Q(null,1,
28
- [$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.Sj],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null)]);
29
- var XF="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 "+
21
+ d.ONE_MINUS_SRC_ALPHA);break b}}}d=null}this.__xNeuralRefs=new $APP.Q(null,3,[$APP.Ci,c,kG,e,uG,d],null)}b=bG.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");pG(this);oG(this);
22
+ nG(this);return null};a.prototype.disconnectedCallback=function(){var b=$APP.k(this,"__xNeuralRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xNeuralRaf=null);pG(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xNeuralModel=b=iG(this),this.__xNeuralColorCache={},$APP.n($APP.k(this,"__xNeuralRefs")))){var e=bG.g(b);b=$APP.k(this,"__xNeuralOrbBase");c=$APP.k(this,"__xNeuralOrbPhases");d=$APP.k(this,"__xNeuralOrbPos");var g=b.length,h=2*Math.PI;if($APP.N(g,
23
+ e))if(e>g)for(e-=g,g=0;;)if(g<e){var l=Math.random(),m=Math.random();b.push([l,m]);d.push([l,m]);c.push(Math.random()*h);g+=1}else break;else b.length=e,d.length=e,c.length=e;pG(this);return $APP.n(this.isConnected)?oG(this):null}return null};qG(a.prototype);return a},wG=function(){$APP.n(customElements.get("x-neural-glow"))||customElements.define("x-neural-glow",vG());return null},UF=new $APP.K(null,"opacity-raw","opacity-raw",-1373906448),eG=new $APP.K(null,"connection-distance","connection-distance",
24
+ -2128794414),SF=new $APP.K(null,"pulse-speed-raw","pulse-speed-raw",-665433726),ZF=new $APP.K(null,"color-primary-raw","color-primary-raw",392476156),gG=new $APP.K(null,"color-background","color-background",1347240536),fG=new $APP.K(null,"pulse-speed","pulse-speed",828613109),TF=new $APP.K(null,"color-secondary-raw","color-secondary-raw",1212293328),VF=new $APP.K(null,"orb-count-raw","orb-count-raw",-930142286),$F=new $APP.K(null,"connection-distance-raw","connection-distance-raw",1368898143),YF=
25
+ new $APP.K(null,"interactive-raw","interactive-raw",1874525367),hG=new $APP.K(null,"rest-rate","rest-rate",1350607737),dG=new $APP.K(null,"color-secondary","color-secondary",-556141879),uG=new $APP.K(null,"gl","gl",-246422634),aG=new $APP.K(null,"orb-size","orb-size",83267072),WF=new $APP.K(null,"orb-size-raw","orb-size-raw",925656307),bG=new $APP.K(null,"orb-count","orb-count",1055126048),XF=new $APP.K(null,"color-background-raw","color-background-raw",2063778805),cG=new $APP.K(null,"color-primary",
26
+ "color-primary",1415907910),kG=new $APP.K(null,"canvas","canvas",-1798817489),RF=new $APP.K(null,"rest-rate-raw","rest-rate-raw",-206808800);var rG="orb-count color-primary color-secondary color-background pulse-speed rest-rate connection-distance orb-size opacity interactive".split(" ");
27
+ $APP.zf([new $APP.K(null,"colorBackground","colorBackground",-167638842),$APP.gj,new $APP.K(null,"orbCount","orbCount",-2006864213),new $APP.K(null,"restRate","restRate",-272422548),new $APP.K(null,"colorPrimary","colorPrimary",-611817233),new $APP.K(null,"orbSize","orbSize",1744279571),$APP.oi,new $APP.K(null,"colorSecondary","colorSecondary",1906906102),new $APP.K(null,"pulseSpeed","pulseSpeed",1297932542),new $APP.K(null,"connectionDistance","connectionDistance",1241773439)],[new $APP.Q(null,1,
28
+ [$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.Xj],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null)]);
29
+ var tG="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
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 WF=":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);}}",rF,aG=document.createElement("canvas");
32
- aG.width=1;aG.height=1;rF=aG.getContext("2d");
33
- var QF=function QF(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xNeuralRefs"),d=YF.g(c);if($APP.n(d)){c=OF.g(c);var e=$APP.k(a,"__xNeuralModel"),g=performance.now(),h=Math.min((g-$APP.k(a,"__xNeuralLastFrame"))/1E3,.1);a.__xNeuralLastFrame=g;qF()||(a.__xNeuralTime=$APP.k(a,"__xNeuralTime")+h);g=$APP.k(a,"__xNeuralImpulse");a.__xNeuralActivity=pF($APP.k(a,"__xNeuralActivity"),g>.01?1:0,Math.min(1,(g>.01?8:2)*h));a.__xNeuralImpulse=g*Math.max(0,1-5*h);if(!qF()){g=$APP.k(a,"__xNeuralOrbBase");var l=
34
- $APP.k(a,"__xNeuralOrbPos"),m=FF.g(e);h=$APP.k(a,"__xNeuralDriftTime")+h*(.3+.7*$APP.k(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+NF(y+100,q,h)*.08));var A=l[p];A[0]=Math.min(1,Math.max(0,v+NF(q,y,h)*.08));A[1]=x;p+=1}else break}h=Math.min(2,devicePixelRatio);g=a.clientWidth;l=a.clientHeight;m=Math.max(1,Math.floor(g*h));h=Math.max(1,Math.floor(l*h));if($APP.N(c.width,m)||$APP.N(c.height,h))c.width=
35
- m,c.height=h,d.viewport(0,0,m,h);g>0&&l>0&&(PF(a,d,e),d.drawArrays(d.TRIANGLE_STRIP,0,4))}$APP.ja(a,"__xNeuralRaf",requestAnimationFrame(function(){return QF.g?QF.g(a):QF.call(null,a)}))}return null};$APP.ha("baredom.exports.x_neural_glow.init",$F);export const init=$F;
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 sG=":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);}}",OF,xG=document.createElement("canvas");
32
+ xG.width=1;xG.height=1;OF=xG.getContext("2d");
33
+ var mG=function mG(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xNeuralRefs"),d=uG.g(c);if($APP.n(d)){c=kG.g(c);var e=$APP.k(a,"__xNeuralModel"),g=performance.now(),h=Math.min((g-$APP.k(a,"__xNeuralLastFrame"))/1E3,.1);a.__xNeuralLastFrame=g;NF()||(a.__xNeuralTime=$APP.k(a,"__xNeuralTime")+h);g=$APP.k(a,"__xNeuralImpulse");a.__xNeuralActivity=MF($APP.k(a,"__xNeuralActivity"),g>.01?1:0,Math.min(1,(g>.01?8:2)*h));a.__xNeuralImpulse=g*Math.max(0,1-5*h);if(!NF()){g=$APP.k(a,"__xNeuralOrbBase");var l=
34
+ $APP.k(a,"__xNeuralOrbPos"),m=bG.g(e);h=$APP.k(a,"__xNeuralDriftTime")+h*(.3+.7*$APP.k(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+jG(y+100,q,h)*.08));var A=l[p];A[0]=Math.min(1,Math.max(0,v+jG(q,y,h)*.08));A[1]=x;p+=1}else break}h=Math.min(2,devicePixelRatio);g=a.clientWidth;l=a.clientHeight;m=Math.max(1,Math.floor(g*h));h=Math.max(1,Math.floor(l*h));if($APP.N(c.width,m)||$APP.N(c.height,h))c.width=
35
+ m,c.height=h,d.viewport(0,0,m,h);g>0&&l>0&&(lG(a,d,e),d.drawArrays(d.TRIANGLE_STRIP,0,4))}$APP.ja(a,"__xNeuralRaf",requestAnimationFrame(function(){return mG.g?mG.g(a):mG.call(null,a)}))}return null};$APP.ha("baredom.exports.x_neural_glow.init",wG);export const init=wG;
@@ -1,11 +1,11 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var fo=function(a){return typeof a==="string"&&$APP.I(eo,a.toLowerCase())?a.toLowerCase():"top-right"},go=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},ho=function(a){var b=$APP.k(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.k(a,"__xNcRefs")},io=function(a){var b=a.getAttribute("position");b=fo(b);a.setAttribute("data-position",b)},jo=function(a,b,c){a.dispatchEvent(new CustomEvent(b,{detail:$APP.Dh(c),bubbles:!0,composed:!0,cancelable:!1}))},ko=function(a){function b(d){var e=ho(a),g=$APP.k(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");
4
- g=g.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var l=d.detail.reason;d=d.detail.text;jo(a,"x-notification-center-dismiss",new $APP.Q(null,5,[$APP.fl,e,$APP.Z,$APP.n(h)?h:"info",$APP.Hi,$APP.n(l)?l:"",$APP.il,$APP.n(d)?d:"",$APP.Mh,g],null));g===0&&jo(a,"x-notification-center-empty",$APP.Rd);return null}var c=ho(a);$APP.k(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.ja(a,"__xNcHandlers",{dismiss:b})},lo=function(a){var b=$APP.k(a,"__xNcHandlers"),c=$APP.k(a,
5
- "__xNcRefs");$APP.n($APP.n(b)?c:b)&&(c=$APP.k(c,"root"),b=$APP.k(b,"dismiss"),$APP.n(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));a.__xNcHandlers=null},no=function(a,b){var c=ho(a);c=$APP.k(c,"container");if(c.querySelectorAll("x-alert").length<function(){var q=$APP.k(a,"__xNcMax");return $APP.n(q)?q:5}()){var d=document.createElement("x-alert"),e=function(){var q=$APP.k(b,"id");$APP.n(q)||(q=mo.v,mo.v=q+1,q="xnc-"+$APP.T.g(q));return q}(),g=$APP.k(b,"type"),h=$APP.k(b,"text"),l=$APP.k(b,
6
- "icon"),m=$APP.k(b,"timeoutMs"),p=$APP.k(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.n(g)&&d.setAttribute("type",g);$APP.n(h)&&d.setAttribute("text",h);$APP.n(l)&&d.setAttribute("icon",l);$APP.n(m)&&d.setAttribute("timeout-ms",""+$APP.T.g(m|0));p===!1&&d.setAttribute("dismissible","false");c.appendChild(d);jo(a,"x-notification-center-push",new $APP.Q(null,2,[$APP.fl,e,$APP.Mh,c.querySelectorAll("x-alert").length],null));return e}return null},oo=function(a){Object.defineProperty(a,
7
- "position",{get:function(){return fo(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 go(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.k(this,"__xNcRefs");
8
- return $APP.n(b)?$APP.k(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},qo=function(){var a=class extends HTMLElement{};a.observedAttributes=po;a.prototype.connectedCallback=function(){ho(this);lo(this);ko(this);io(this);return null};a.prototype.disconnectedCallback=function(){lo(this);return null};a.prototype.attributeChangedCallback=function(b){$APP.C.i(b,"position")?io(this):$APP.C.i(b,"max")&&(this.__xNcMax=go(this.getAttribute("max")));return null};oo(a.prototype);
9
- a.prototype.push=function(b){return no(this,b)};a.prototype.clear=function(){var b=ho(this);b=$APP.t($APP.uc($APP.k(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d)c.F(null,e).remove(),e+=1;else if(b=$APP.t(b))c=b,$APP.Nc(c)?(b=$APP.yb(c),e=$APP.zb(c),c=b,d=$APP.z(b),b=e):($APP.u(c).remove(),b=$APP.w(c),c=null,d=0),e=0;else break;return null};return a},ro=function(){$APP.n(customElements.get("x-notification-center"))||customElements.define("x-notification-center",qo());
10
- return null};var po=["position","max"],eo=new $APP.S(null,new $APP.Q(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
11
- $APP.Qd(["x-notification-center-push",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,2,[$APP.fl,$APP.Y,$APP.Mh,$APP.W],null),$APP.Rl,!1],null),"x-notification-center-dismiss",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,5,[$APP.fl,$APP.Y,$APP.Z,$APP.Y,$APP.Hi,$APP.Y,$APP.il,$APP.Y,$APP.Mh,$APP.W],null),$APP.Rl,!1],null),"x-notification-center-empty",new $APP.Q(null,2,[$APP.V,$APP.Rd,$APP.Rl,!1],null)]);var mo={v:0};$APP.ha("baredom.exports.x_notification_center.init",ro);export const init=ro;
2
+ var mo=function(a){return typeof a==="string"&&$APP.I(lo,a.toLowerCase())?a.toLowerCase():"top-right"},no=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},oo=function(a){var b=$APP.k(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.k(a,"__xNcRefs")},po=function(a){var b=a.getAttribute("position");b=mo(b);a.setAttribute("data-position",b)},qo=function(a,b,c){a.dispatchEvent(new CustomEvent(b,{detail:$APP.Gh(c),bubbles:!0,composed:!0,cancelable:!1}))},ro=function(a){function b(d){var e=oo(a),g=$APP.k(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");
4
+ g=g.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var l=d.detail.reason;d=d.detail.text;qo(a,"x-notification-center-dismiss",new $APP.Q(null,5,[$APP.ll,e,$APP.Z,$APP.n(h)?h:"info",$APP.Li,$APP.n(l)?l:"",$APP.ol,$APP.n(d)?d:"",$APP.Ph,g],null));g===0&&qo(a,"x-notification-center-empty",$APP.Rd);return null}var c=oo(a);$APP.k(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.ja(a,"__xNcHandlers",{dismiss:b})},so=function(a){var b=$APP.k(a,"__xNcHandlers"),c=$APP.k(a,
5
+ "__xNcRefs");$APP.n($APP.n(b)?c:b)&&(c=$APP.k(c,"root"),b=$APP.k(b,"dismiss"),$APP.n(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));a.__xNcHandlers=null},uo=function(a,b){var c=oo(a);c=$APP.k(c,"container");if(c.querySelectorAll("x-alert").length<function(){var q=$APP.k(a,"__xNcMax");return $APP.n(q)?q:5}()){var d=document.createElement("x-alert"),e=function(){var q=$APP.k(b,"id");$APP.n(q)||(q=to.v,to.v=q+1,q="xnc-"+$APP.T.g(q));return q}(),g=$APP.k(b,"type"),h=$APP.k(b,"text"),l=$APP.k(b,
6
+ "icon"),m=$APP.k(b,"timeoutMs"),p=$APP.k(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.n(g)&&d.setAttribute("type",g);$APP.n(h)&&d.setAttribute("text",h);$APP.n(l)&&d.setAttribute("icon",l);$APP.n(m)&&d.setAttribute("timeout-ms",""+$APP.T.g(m|0));p===!1&&d.setAttribute("dismissible","false");c.appendChild(d);qo(a,"x-notification-center-push",new $APP.Q(null,2,[$APP.ll,e,$APP.Ph,c.querySelectorAll("x-alert").length],null));return e}return null},vo=function(a){Object.defineProperty(a,
7
+ "position",{get:function(){return mo(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 no(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.k(this,"__xNcRefs");
8
+ return $APP.n(b)?$APP.k(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},xo=function(){var a=class extends HTMLElement{};a.observedAttributes=wo;a.prototype.connectedCallback=function(){oo(this);so(this);ro(this);po(this);return null};a.prototype.disconnectedCallback=function(){so(this);return null};a.prototype.attributeChangedCallback=function(b){$APP.C.i(b,"position")?po(this):$APP.C.i(b,"max")&&(this.__xNcMax=no(this.getAttribute("max")));return null};vo(a.prototype);
9
+ a.prototype.push=function(b){return uo(this,b)};a.prototype.clear=function(){var b=oo(this);b=$APP.t($APP.uc($APP.k(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d)c.F(null,e).remove(),e+=1;else if(b=$APP.t(b))c=b,$APP.Nc(c)?(b=$APP.yb(c),e=$APP.zb(c),c=b,d=$APP.z(b),b=e):($APP.u(c).remove(),b=$APP.w(c),c=null,d=0),e=0;else break;return null};return a},yo=function(){$APP.n(customElements.get("x-notification-center"))||customElements.define("x-notification-center",xo());
10
+ return null};var wo=["position","max"],lo=new $APP.R(null,new $APP.Q(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
11
+ $APP.Qd(["x-notification-center-push",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,2,[$APP.ll,$APP.Y,$APP.Ph,$APP.W],null),$APP.Yl,!1],null),"x-notification-center-dismiss",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,5,[$APP.ll,$APP.Y,$APP.Z,$APP.Y,$APP.Li,$APP.Y,$APP.ol,$APP.Y,$APP.Ph,$APP.W],null),$APP.Yl,!1],null),"x-notification-center-empty",new $APP.Q(null,2,[$APP.V,$APP.Rd,$APP.Yl,!1],null)]);var to={v:0};$APP.ha("baredom.exports.x_notification_center.init",yo);export const init=yo;
@@ -1,20 +1,20 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var UP=function(a){return typeof a==="string"&&$APP.I(TP,a)?a:"wave"},XP=function(a){return $APP.ge(function(b){return new $APP.Q(null,2,[VP,b*20,WP,b*8],null)},$APP.dg(0,a))},gQ=function(a){var b=new $APP.Q(null,7,[$APP.ak,a.getAttribute("shape"),$APP.Xi,a.getAttribute("layers"),$APP.Tg,a.getAttribute("height"),YP,a.getAttribute("flip"),ZP,a.getAttribute("mirror"),$APP.Rg,a.getAttribute("animation"),$APP.Ik,a.getAttribute("path")],null);var c=$APP.M(b),d=$APP.D(c,$APP.ak),e=$APP.D(c,$APP.Xi);b=$APP.D(c,
3
- $APP.Tg);var g=$APP.D(c,YP),h=$APP.D(c,ZP),l=$APP.D(c,$APP.Rg);c=$APP.D(c,$APP.Ik);typeof c==="string"?(c=$APP.Fg(c,$P).trim(),c=$APP.N(c,"")?c:null):c=null;d=UP(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 l==="string"&&$APP.I(aQ,l)?l:"none";l=c!=null?c:$APP.ie(bQ,new $APP.O(null,2,5,$APP.P,[UP(d),$APP.Ik],null));m=c==null?$APP.ie(bQ,new $APP.O(null,2,5,$APP.P,[UP(d),cQ],null)):null;var q=c!=null?c:$APP.D(dQ,UP(d));
4
- p=$APP.C.i(p,"morph")&&m==null?"none":p;g=g!=null;var v=XP(e);h=h!=null;b=typeof b==="string"&&$APP.N("",b.trim())?b.trim():"120px";b=$APP.zf([$APP.Ik,$APP.Ij,$APP.Rg,YP,eQ,cQ,$APP.ak,$APP.Xi,ZP,$APP.Tg,fQ],[c,l,p,g,v,m,d,e,h,b,q]);e=$APP.M(b);b=$APP.D(e,ZP);h=$APP.D(e,$APP.Tg);v=$APP.D(e,fQ);var x=$APP.D(e,$APP.Ij);c=$APP.D(e,$APP.Rg);g=$APP.D(e,YP);d=$APP.D(e,eQ);l=$APP.D(e,cQ);e=$APP.D(e,$APP.Xi);m=$APP.k(a,"__xOrganicDividerBase");var y=$APP.k(a,"__xOrganicDividerSvg");q=$APP.k(a,"__xOrganicDividerPaths");
5
- var A=$APP.C.i(c,"drift");p=$APP.C.i(c,"morph");v=A?v:x;y.setAttribute("viewBox",A?"0 0 1800 120":"0 0 1200 120");a:if(x=q.length,x<e)for(x=e-x,A=0;;)if(A<x){var B=document.createElementNS("http://www.w3.org/2000/svg","path");y.appendChild(B);q.push(B);A+=1}else break a;else if(x>e)for(x-=e,A=0;;)if(A<x)B=q.pop(),y.removeChild(B),A+=1;else break a;for(y=0;;)if(y<e){x=q[y];A=$APP.pc(d,y);B=$APP.M(A);A=$APP.D(B,VP);B=$APP.D(B,WP);var E=y+1;x.setAttribute("d",v);x.setAttribute("fill","var(--x-organic-divider-color-"+
2
+ var qQ=function(a){return typeof a==="string"&&$APP.I(pQ,a)?a:"wave"},tQ=function(a){return $APP.ge(function(b){return new $APP.Q(null,2,[rQ,b*20,sQ,b*8],null)},$APP.dg(0,a))},DQ=function(a){var b=new $APP.Q(null,7,[$APP.fk,a.getAttribute("shape"),$APP.aj,a.getAttribute("layers"),$APP.Wg,a.getAttribute("height"),uQ,a.getAttribute("flip"),vQ,a.getAttribute("mirror"),$APP.Ug,a.getAttribute("animation"),$APP.Ok,a.getAttribute("path")],null);var c=$APP.M(b),d=$APP.D(c,$APP.fk),e=$APP.D(c,$APP.aj);b=$APP.D(c,
3
+ $APP.Wg);var g=$APP.D(c,uQ),h=$APP.D(c,vQ),l=$APP.D(c,$APP.Ug);c=$APP.D(c,$APP.Ok);typeof c==="string"?(c=$APP.Fg(c,wQ).trim(),c=$APP.N(c,"")?c:null):c=null;d=qQ(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 l==="string"&&$APP.I(xQ,l)?l:"none";l=c!=null?c:$APP.ie(yQ,new $APP.O(null,2,5,$APP.P,[qQ(d),$APP.Ok],null));m=c==null?$APP.ie(yQ,new $APP.O(null,2,5,$APP.P,[qQ(d),zQ],null)):null;var q=c!=null?c:$APP.D(AQ,qQ(d));
4
+ p=$APP.C.i(p,"morph")&&m==null?"none":p;g=g!=null;var v=tQ(e);h=h!=null;b=typeof b==="string"&&$APP.N("",b.trim())?b.trim():"120px";b=$APP.zf([$APP.Ok,$APP.Qj,$APP.Ug,uQ,BQ,zQ,$APP.fk,$APP.aj,vQ,$APP.Wg,CQ],[c,l,p,g,v,m,d,e,h,b,q]);e=$APP.M(b);b=$APP.D(e,vQ);h=$APP.D(e,$APP.Wg);v=$APP.D(e,CQ);var x=$APP.D(e,$APP.Qj);c=$APP.D(e,$APP.Ug);g=$APP.D(e,uQ);d=$APP.D(e,BQ);l=$APP.D(e,zQ);e=$APP.D(e,$APP.aj);m=$APP.k(a,"__xOrganicDividerBase");var y=$APP.k(a,"__xOrganicDividerSvg");q=$APP.k(a,"__xOrganicDividerPaths");
5
+ var A=$APP.C.i(c,"drift");p=$APP.C.i(c,"morph");v=A?v:x;y.setAttribute("viewBox",A?"0 0 1800 120":"0 0 1200 120");a:if(x=q.length,x<e)for(x=e-x,A=0;;)if(A<x){var B=document.createElementNS("http://www.w3.org/2000/svg","path");y.appendChild(B);q.push(B);A+=1}else break a;else if(x>e)for(x-=e,A=0;;)if(A<x)B=q.pop(),y.removeChild(B),A+=1;else break a;for(y=0;;)if(y<e){x=q[y];A=$APP.pc(d,y);B=$APP.M(A);A=$APP.D(B,rQ);B=$APP.D(B,sQ);var E=y+1;x.setAttribute("d",v);x.setAttribute("fill","var(--x-organic-divider-color-"+
6
6
  $APP.T.g(E)+")");x.setAttribute("opacity",""+$APP.T.g(e<=1?1:.3+y/(e-1)*.7));A>0||B>0?x.setAttribute("transform","translate("+$APP.T.g(A)+","+$APP.T.g(B)+")"):x.removeAttribute("transform");p&&(x.style.setProperty("--x-organic-divider-d",'path("'+$APP.T.g(v)+'")'),$APP.n(l)&&x.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.T.g(l)+'")'));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.n(g)?a.setAttribute("data-flip",""):a.removeAttribute("data-flip");$APP.n(b)?a.setAttribute("data-mirror",""):a.removeAttribute("data-mirror");$APP.N(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation")},hQ=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.N("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});
7
+ h);$APP.n(g)?a.setAttribute("data-flip",""):a.removeAttribute("data-flip");$APP.n(b)?a.setAttribute("data-mirror",""):a.removeAttribute("data-mirror");$APP.N(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation")},EQ=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.N("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});
8
8
  Object.defineProperty(a,"layers",{get:function(){var b=this.getAttribute("layers");return $APP.n(b)?b:"1"},set:function(b){return typeof b==="string"&&$APP.N("",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.N("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,
9
9
  configurable:!0});Object.defineProperty(a,"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");
10
- return $APP.n(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.N("",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.N("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0})},jQ=function(){var a=class extends HTMLElement{};a.observedAttributes=iQ;a.prototype.connectedCallback=
10
+ return $APP.n(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.N("",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.N("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0})},GQ=function(){var a=class extends HTMLElement{};a.observedAttributes=FQ;a.prototype.connectedCallback=
11
11
  function(){if(!$APP.n($APP.k(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:var(--x-color-primary,#6366f1);--x-organic-divider-color-1:color-mix(in srgb,var(--x-organic-divider-color) 15%,transparent);--x-organic-divider-color-2:color-mix(in srgb,var(--x-organic-divider-color) 25%,transparent);--x-organic-divider-color-3:color-mix(in srgb,var(--x-organic-divider-color) 40%,transparent);--x-organic-divider-color-4:color-mix(in srgb,var(--x-organic-divider-color) 60%,transparent);--x-organic-divider-color-5:color-mix(in srgb,var(--x-organic-divider-color) 85%,transparent);--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:var(--x-color-primary,#818cf8);}}[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}gQ(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=
13
- function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xOrganicDividerInit"))&&gQ(this);return null};hQ(a.prototype);return a},kQ=function(){$APP.n(customElements.get("x-organic-divider"))||customElements.define("x-organic-divider",jQ());return null},$P=/[^MmLlHhVvCcSsQqTtAaZz0-9\s,.\-+eE]/,YP=new $APP.K(null,"flip","flip",2033871302),eQ=new $APP.K(null,"transforms","transforms",793344554),VP=new $APP.K(null,"x-offset","x-offset",-1499732449),cQ=new $APP.K(null,"path-alt","path-alt",1724994068),WP=new $APP.K(null,
14
- "y-offset","y-offset",-1716542),fQ=new $APP.K(null,"drift-d","drift-d",-1241526977),ZP=new $APP.K(null,"mirror","mirror",1914600218);var iQ="shape layers height flip mirror animation path".split(" "),aQ=new $APP.S(null,new $APP.Q(null,3,["none",null,"drift",null,"morph",null],null),null),TP=new $APP.S(null,new $APP.Q(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),bQ=new $APP.Q(null,8,["wave",new $APP.Q(null,2,[$APP.Ik,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",cQ,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
15
- null),"waves",new $APP.Q(null,2,[$APP.Ik,"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",cQ,"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.Q(null,2,[$APP.Ik,"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",cQ,"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.Q(null,2,[$APP.Ik,"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",cQ,"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.Q(null,2,[$APP.Ik,"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
- cQ,"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.Q(null,2,[$APP.Ik,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",cQ,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.Q(null,2,
18
- [$APP.Ik,"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",cQ,"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.Q(null,2,[$APP.Ik,"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
- cQ,"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),dQ=new $APP.Q(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.ha("baredom.exports.x_organic_divider.init",kQ);export const init=kQ;
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}DQ(this);return null};a.prototype.disconnectedCallback=function(){return null};a.prototype.attributeChangedCallback=
13
+ function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xOrganicDividerInit"))&&DQ(this);return null};EQ(a.prototype);return a},HQ=function(){$APP.n(customElements.get("x-organic-divider"))||customElements.define("x-organic-divider",GQ());return null},wQ=/[^MmLlHhVvCcSsQqTtAaZz0-9\s,.\-+eE]/,uQ=new $APP.K(null,"flip","flip",2033871302),BQ=new $APP.K(null,"transforms","transforms",793344554),rQ=new $APP.K(null,"x-offset","x-offset",-1499732449),zQ=new $APP.K(null,"path-alt","path-alt",1724994068),sQ=new $APP.K(null,
14
+ "y-offset","y-offset",-1716542),CQ=new $APP.K(null,"drift-d","drift-d",-1241526977),vQ=new $APP.K(null,"mirror","mirror",1914600218);var FQ="shape layers height flip mirror animation path".split(" "),xQ=new $APP.R(null,new $APP.Q(null,3,["none",null,"drift",null,"morph",null],null),null),pQ=new $APP.R(null,new $APP.Q(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),yQ=new $APP.Q(null,8,["wave",new $APP.Q(null,2,[$APP.Ok,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",zQ,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
15
+ null),"waves",new $APP.Q(null,2,[$APP.Ok,"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",zQ,"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.Q(null,2,[$APP.Ok,"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",zQ,"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.Q(null,2,[$APP.Ok,"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",zQ,"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.Q(null,2,[$APP.Ok,"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
+ zQ,"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.Q(null,2,[$APP.Ok,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",zQ,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.Q(null,2,
18
+ [$APP.Ok,"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",zQ,"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.Q(null,2,[$APP.Ok,"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
+ zQ,"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),AQ=new $APP.Q(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.ha("baredom.exports.x_organic_divider.init",HQ);export const init=HQ;
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var F1=function(a){return typeof a==="string"&&(a=a.trim(),$APP.N(a,""))?(a=parseFloat(a),$APP.n(isNaN(a))?null:Math.min(100,Math.max(0,a))):null},H1=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(G1,a)?a:"vine"},I1=function(a){return a==null?!0:$APP.N((""+$APP.T.g(a)).trim().toLowerCase(),"false")},K1=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(J1,a)?a:"normal"},L1=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a===
3
- "number"&&$APP.r(isNaN(a))&&a>0?a:42):42},M1=function(a){return typeof a==="string"?(a=a.trim(),$APP.N(a,"")?a:null):null},N1=function(a){return typeof a==="string"?(a=a.trim(),$APP.N(a,"")?a:null):null},O1=function(a){a=(typeof a==="number"&&$APP.r(isNaN(a))&&a>0?Math.floor(a):42)|0;return[a===0?1:a]},P1=function(a){var b=a[0];b^=b<<13;b^=b>>>17;b=b^b<<5|0;a[0]=b;return Math.abs(b)/2147483647},U1=function(a,b){var c=(a+b)*Q1,d=Math.floor(a+c);c=Math.floor(b+c);var e=(d+c)*R1,g=a-(d-e),h=b-(c-e),
4
- l=g>h?1:0,m=g>h?0:1,p=g+-l-R1,q=h+-m-R1,v=g+-1-2*R1,x=h+-1-2*R1,y=d&255,A=c&255,B=.5-g*g-h*h,E=.5-p*p-q*q,H=.5-v*v-x*x;return 70*((B<0?0:function(){var G=B*B,J=S1[T1[y+T1[A&255]&255]&11];return G*G*(J[0]*g+J[1]*h)}())+(E<0?0:function(){var G=E*E,J=S1[T1[y+l+T1[A+m&255]&255]&11];return G*G*(J[0]*p+J[1]*q)}())+(H<0?0:function(){var G=H*H,J=S1[T1[y+1+T1[A+1&255]&255]&11];return G*G*(J[0]*v+J[1]*x)}()))},V1=function(a){var b=a*17.31,c=a*31.17;return function(d,e){return U1(d+b,e+c)}},W1=function(a,b,
5
- c){var d=[],e=[];c=O1(c);for(var g=[0],h=[20,100,0,0],l=a.length,m=0;;)if(m<l){switch(a.charAt(m)){case "F":var p=h[0],q=h[1],v=h[2],x=h[3],y=g[0],A=38*Math.pow(.7,x)*(.8+.4*P1(c)),B=function(){var H=y*.3;var G=x*.5;H=b.i?b.i(H,G):b.call(null,H,G);return v+.15*H}(),E=p+A*Math.cos(B);A=q+A*Math.sin(B);d.push({x1:p,y1:q,x2:E,y2:A,depth:x,index:y});h[0]=E;h[1]=A;g[0]=y+1;break;case "+":p=function(){var H=g[0]*.2;return b.i?b.i(H,100):b.call(null,H,100)}();h[2]-=.436+.1*p;break;case "-":p=function(){var H=
6
- g[0]*.2;return b.i?b.i(H,200):b.call(null,H,200)}();h[2]+=.436+.1*p;break;case "[":e.push([h[0],h[1],h[2],h[3]]);h[3]+=1;break;case "]":e.length>0&&(p=e.pop(),h[0]=p[0],h[1]=p[1],h[2]=p[2],h[3]=p[3])}m+=1}else break;d.sort(function(H,G){var J=$APP.k(H,"x2")-20;H=$APP.k(H,"y2")-100;var R=$APP.k(G,"x2")-20;G=$APP.k(G,"y2")-100;return J*J+H*H-(R*R+G*G)});return[d,d.length]},X1=function(a,b,c,d){a=""+$APP.T.g(a.toFixed(1))+","+$APP.T.g(b.toFixed(1));c=""+$APP.T.g(c.toFixed(1))+","+$APP.T.g(d.toFixed(1));
7
- return $APP.Sc(a,c)<0?""+$APP.T.g(a)+"-"+$APP.T.g(c):""+$APP.T.g(c)+"-"+$APP.T.g(a)},Z1=function(a,b){b=$APP.Bc(Y1,b,25);var c=O1(a),d=1.5*b,e=Math.sqrt(3)*b,g=Math.ceil(800/d)+4,h=Math.ceil(200/e)+4;a=[];for(var l=Math.sqrt(17E4),m=-2;;)if(m<g){for(var p=m*d,q=$APP.Vd(m)?0:e/2,v=-2;;)if(v<h){var x=v*e+q;if(p>0-b&&p<800+b&&x>0-b&&x<200+b){var y=p-400,A=x-100;y=Math.sqrt(y*y+A*A);A=y*.7+P1(c)*.3*l;a.push({cx:p,cy:x,dist:y,key:A})}v+=1}else break;m+=1}else break;a.sort(function(H,G){return $APP.k(H,
8
- "key")-$APP.k(G,"key")});c={};d=[];e=[0];g=a.length;for(h=0;;)if(h<g){q=a[h];m=$APP.k(q,"cx");p=$APP.k(q,"cy");q=Math.min(2,Math.floor($APP.k(q,"dist")*3/(l+.001)));for(v=0;;)if(v<6){y=Math.PI/3*v;var B=Math.PI/3*(v+1);x=m+b*Math.cos(y);y=p+b*Math.sin(y);A=m+b*Math.cos(B);B=p+b*Math.sin(B);var E=X1(x,y,A,B);$APP.n($APP.k(c,E))||(c[E]=!0,E=e[0],d.push({x1:x,y1:y,x2:A,y2:B,depth:q,index:E}),e[0]=E+1);v+=1}else break;h+=1}else break;return[d,d.length]},$1=function(a,b,c,d){b=c+(120*(b-a)-12*c)*d;return[a+
9
- b*d,b]},a2=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},h2=function(a){a=new $APP.Q(null,7,[$APP.Vj,a.getAttribute("progress"),$APP.bl,a.getAttribute("variant"),$APP.Lm,a.getAttribute("color"),b2,a.getAttribute("bloom"),c2,a.getAttribute("density"),d2,a.getAttribute("seed"),$APP.ki,a.getAttribute("label")],null);var b=$APP.M(a),c=$APP.D(b,$APP.Vj);a=$APP.D(b,$APP.bl);var d=$APP.D(b,$APP.Lm),e=$APP.D(b,b2),g=$APP.D(b,c2),h=$APP.D(b,d2);b=$APP.D(b,$APP.ki);
10
- c=F1(c);var l=c==null,m=$APP.n(c)?c:0,p=!l&&m>=100;return $APP.zf([$APP.Fl,$APP.Ej,$APP.Qg,e2,f2,$APP.Dm,$APP.U,$APP.tl,$APP.Tk,$APP.Il,g2],[l,N1(d),H1(a),I1(e),L1(h),l?"Loading...":""+$APP.T.g(Math.round(m))+"%",M1(b),m,p,c,K1(g)])},i2=function(a,b){a=window.getComputedStyle(a).getPropertyValue("--x-organic-progress-branch-width").trim();return $APP.N(a,"")?(a=parseFloat(a),$APP.n(isNaN(a))?b:a):b},k2=function(a,b,c){var d=$APP.M($APP.k(a,"__xOrganicProgressRefs")),e=$APP.D(d,j2);d=function(){var y=
2
+ var b2=function(a){return typeof a==="string"&&(a=a.trim(),$APP.N(a,""))?(a=parseFloat(a),$APP.n(isNaN(a))?null:Math.min(100,Math.max(0,a))):null},d2=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(c2,a)?a:"vine"},e2=function(a){return a==null?!0:$APP.N((""+$APP.T.g(a)).trim().toLowerCase(),"false")},g2=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.I(f2,a)?a:"normal"},h2=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a===
3
+ "number"&&$APP.r(isNaN(a))&&a>0?a:42):42},i2=function(a){return typeof a==="string"?(a=a.trim(),$APP.N(a,"")?a:null):null},j2=function(a){return typeof a==="string"?(a=a.trim(),$APP.N(a,"")?a:null):null},k2=function(a){a=(typeof a==="number"&&$APP.r(isNaN(a))&&a>0?Math.floor(a):42)|0;return[a===0?1:a]},l2=function(a){var b=a[0];b^=b<<13;b^=b>>>17;b=b^b<<5|0;a[0]=b;return Math.abs(b)/2147483647},q2=function(a,b){var c=(a+b)*m2,d=Math.floor(a+c);c=Math.floor(b+c);var e=(d+c)*n2,g=a-(d-e),h=b-(c-e),
4
+ l=g>h?1:0,m=g>h?0:1,p=g+-l-n2,q=h+-m-n2,v=g+-1-2*n2,x=h+-1-2*n2,y=d&255,A=c&255,B=.5-g*g-h*h,E=.5-p*p-q*q,G=.5-v*v-x*x;return 70*((B<0?0:function(){var H=B*B,J=o2[p2[y+p2[A&255]&255]&11];return H*H*(J[0]*g+J[1]*h)}())+(E<0?0:function(){var H=E*E,J=o2[p2[y+l+p2[A+m&255]&255]&11];return H*H*(J[0]*p+J[1]*q)}())+(G<0?0:function(){var H=G*G,J=o2[p2[y+1+p2[A+1&255]&255]&11];return H*H*(J[0]*v+J[1]*x)}()))},r2=function(a){var b=a*17.31,c=a*31.17;return function(d,e){return q2(d+b,e+c)}},s2=function(a,b,
5
+ c){var d=[],e=[];c=k2(c);for(var g=[0],h=[20,100,0,0],l=a.length,m=0;;)if(m<l){switch(a.charAt(m)){case "F":var p=h[0],q=h[1],v=h[2],x=h[3],y=g[0],A=38*Math.pow(.7,x)*(.8+.4*l2(c)),B=function(){var G=y*.3;var H=x*.5;G=b.i?b.i(G,H):b.call(null,G,H);return v+.15*G}(),E=p+A*Math.cos(B);A=q+A*Math.sin(B);d.push({x1:p,y1:q,x2:E,y2:A,depth:x,index:y});h[0]=E;h[1]=A;g[0]=y+1;break;case "+":p=function(){var G=g[0]*.2;return b.i?b.i(G,100):b.call(null,G,100)}();h[2]-=.436+.1*p;break;case "-":p=function(){var G=
6
+ g[0]*.2;return b.i?b.i(G,200):b.call(null,G,200)}();h[2]+=.436+.1*p;break;case "[":e.push([h[0],h[1],h[2],h[3]]);h[3]+=1;break;case "]":e.length>0&&(p=e.pop(),h[0]=p[0],h[1]=p[1],h[2]=p[2],h[3]=p[3])}m+=1}else break;d.sort(function(G,H){var J=$APP.k(G,"x2")-20;G=$APP.k(G,"y2")-100;var S=$APP.k(H,"x2")-20;H=$APP.k(H,"y2")-100;return J*J+G*G-(S*S+H*H)});return[d,d.length]},t2=function(a,b,c,d){a=""+$APP.T.g(a.toFixed(1))+","+$APP.T.g(b.toFixed(1));c=""+$APP.T.g(c.toFixed(1))+","+$APP.T.g(d.toFixed(1));
7
+ return $APP.Sc(a,c)<0?""+$APP.T.g(a)+"-"+$APP.T.g(c):""+$APP.T.g(c)+"-"+$APP.T.g(a)},v2=function(a,b){b=$APP.Bc(u2,b,25);var c=k2(a),d=1.5*b,e=Math.sqrt(3)*b,g=Math.ceil(800/d)+4,h=Math.ceil(200/e)+4;a=[];for(var l=Math.sqrt(17E4),m=-2;;)if(m<g){for(var p=m*d,q=$APP.Vd(m)?0:e/2,v=-2;;)if(v<h){var x=v*e+q;if(p>0-b&&p<800+b&&x>0-b&&x<200+b){var y=p-400,A=x-100;y=Math.sqrt(y*y+A*A);A=y*.7+l2(c)*.3*l;a.push({cx:p,cy:x,dist:y,key:A})}v+=1}else break;m+=1}else break;a.sort(function(G,H){return $APP.k(G,
8
+ "key")-$APP.k(H,"key")});c={};d=[];e=[0];g=a.length;for(h=0;;)if(h<g){q=a[h];m=$APP.k(q,"cx");p=$APP.k(q,"cy");q=Math.min(2,Math.floor($APP.k(q,"dist")*3/(l+.001)));for(v=0;;)if(v<6){y=Math.PI/3*v;var B=Math.PI/3*(v+1);x=m+b*Math.cos(y);y=p+b*Math.sin(y);A=m+b*Math.cos(B);B=p+b*Math.sin(B);var E=t2(x,y,A,B);$APP.n($APP.k(c,E))||(c[E]=!0,E=e[0],d.push({x1:x,y1:y,x2:A,y2:B,depth:q,index:E}),e[0]=E+1);v+=1}else break;h+=1}else break;return[d,d.length]},w2=function(a,b,c,d){b=c+(120*(b-a)-12*c)*d;return[a+
9
+ b*d,b]},x2=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},E2=function(a){a=new $APP.Q(null,7,[$APP.ak,a.getAttribute("progress"),$APP.hl,a.getAttribute("variant"),$APP.Sm,a.getAttribute("color"),y2,a.getAttribute("bloom"),z2,a.getAttribute("density"),A2,a.getAttribute("seed"),$APP.ni,a.getAttribute("label")],null);var b=$APP.M(a),c=$APP.D(b,$APP.ak);a=$APP.D(b,$APP.hl);var d=$APP.D(b,$APP.Sm),e=$APP.D(b,y2),g=$APP.D(b,z2),h=$APP.D(b,A2);b=$APP.D(b,$APP.ni);
10
+ c=b2(c);var l=c==null,m=$APP.n(c)?c:0,p=!l&&m>=100;return $APP.zf([$APP.Ml,$APP.Jj,$APP.Tg,B2,C2,$APP.Km,$APP.U,$APP.zl,$APP.Zk,$APP.Pl,D2],[l,j2(d),d2(a),e2(e),h2(h),l?"Loading...":""+$APP.T.g(Math.round(m))+"%",i2(b),m,p,c,g2(g)])},F2=function(a,b){a=window.getComputedStyle(a).getPropertyValue("--x-organic-progress-branch-width").trim();return $APP.N(a,"")?(a=parseFloat(a),$APP.n(isNaN(a))?b:a):b},H2=function(a,b,c){var d=$APP.M($APP.k(a,"__xOrganicProgressRefs")),e=$APP.D(d,G2);d=function(){var y=
11
11
  $APP.k(a,"__xOrganicProgressLines");return $APP.n(y)?y:[]}();for(var g=d.length,h=[],l=0;;)if(l<b){var m=l<g?d[l]:function(){var y=document.createElementNS("http://www.w3.org/2000/svg","line");y.setAttribute("stroke-linecap","round");e.appendChild(y);return y}(),p=c[l],q=$APP.k(p,"y1"),v=$APP.k(p,"x2"),x=$APP.k(p,"y2");m.setAttribute("x1",""+$APP.T.g($APP.k(p,"x1")));m.setAttribute("y1",""+$APP.T.g(q));m.setAttribute("x2",""+$APP.T.g(v));m.setAttribute("y2",""+$APP.T.g(x));m.setAttribute("opacity",
12
- "0");h.push(m);l+=1}else break;for(;;)if(b<g)e.removeChild(d[b]),b+=1;else break;a.__xOrganicProgressLines=h;a.__xOrganicProgressPV=-1},l2=function(a){var b=$APP.k(a,"__xOrganicProgressLines"),c=$APP.k(a,"__xOrganicProgressSegs"),d=$APP.k(a,"__xOrganicProgressSegN"),e=$APP.k(a,"__xOrganicProgressModel"),g=$APP.C.i($APP.Qg.g(e),"honeycomb");e=$APP.Ej.g(e);var h=$APP.n(e)?e:"var("+$APP.T.g("--x-organic-progress-color-primary")+","+$APP.T.g(g?"#818cf8":"#22c55e")+")",l="var("+$APP.T.g("--x-organic-progress-color-secondary")+
13
- ","+$APP.T.g(g?"#a5b4fc":"#16a34a")+")";a=i2(a,g?1.5:3);if(g)for(g=0;;)if(g<d){e=b[g];var m=$APP.k(c[g],"depth");e.setAttribute("stroke-width",""+$APP.T.g(a));e.style.stroke=function(){switch(m){case 0:return h;case 1:return l;default:return l}}();e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity",function(){switch(m){case 0:return"0.9";case 1:return"0.7";default:return"0.5"}}());g+=1}else break;else for(g=0;;)if(g<d){e=b[g];var p=$APP.k(c[g],"depth"),q=p===0?h:l;e.setAttribute("stroke-width",
14
- ""+$APP.T.g(Math.max(.5,a-p*.6)));e.style.stroke=q;e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity","1");g+=1}else break},m2=function(a){var b=$APP.k(a,"__xOrganicProgressSPos"),c=$APP.k(a,"__xOrganicProgressSegN"),d=Math.floor(b/100*c),e=$APP.k(a,"__xOrganicProgressPV"),g=$APP.k(a,"__xOrganicProgressLines");if($APP.N(d,e)){c=Math.max(d,e<0?c:e);for(e=Math.min(d,e<0?0:e);;)if(e<c){var h=g[e];$APP.n(h)&&h.setAttribute("opacity",e<d?"1":"0");e+=1}else break;g=$APP.k(a,"__xOrganicProgressNodes");
15
- c=$APP.k(a,"__xOrganicProgressNN");c=$APP.n(c)?c:0;if($APP.n($APP.n(g)?c>0:g))for(b=Math.floor(b/100*c),e=0;;)if(e<c)h=g[e],$APP.n(h)&&h.setAttribute("opacity",e<b?"1":"0"),e+=1;else break;a.__xOrganicProgressPV=d}},o2=function(a){var b=$APP.k(a,"__xOrganicProgressSegs"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.M($APP.k(a,"__xOrganicProgressRefs"));d=$APP.D(d,n2);var e=$APP.k(a,"__xOrganicProgressModel"),g="var("+$APP.T.g("--x-organic-progress-bloom-color")+",#f472b6)";e=O1(f2.g(e)+7);for(var h=
16
- [],l=0;;)if(l<c){var m=b[l];if($APP.k(m,"depth")>=2){var p=document.createElementNS("http://www.w3.org/2000/svg","circle"),q=$APP.k(m,"x2");m=$APP.k(m,"y2");var v=2*P1(e)-1,x=2*P1(e)-1;p.setAttribute("cx",""+$APP.T.g(q));p.setAttribute("cy",""+$APP.T.g(m));p.setAttribute("r","0");p.style.fill=g;p.setAttribute("opacity","0");p.setAttribute("class","bloom-petal");p.__dx=v;p.__dy=x;d.appendChild(p);h.push(p)}l+=1}else break;a.__xOrganicProgressBEls=h;a.__xOrganicProgressBloom=!0;a.__xOrganicProgressBT=
17
- 0},p2=function(a,b){b=$APP.k(a,"__xOrganicProgressBT")+b;var c=b/1.5;a.__xOrganicProgressBT=b;if(c>1){b=$APP.M($APP.k(a,"__xOrganicProgressRefs"));b=$APP.D(b,n2);c=$APP.k(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var g=c[e];$APP.n(g.parentNode)&&b.removeChild(g);e+=1}else break;a.__xOrganicProgressBEls=null;a.__xOrganicProgressBloom=!1;a.dispatchEvent(new CustomEvent("x-organic-progress-bloom-end",{bubbles:!0,composed:!0,detail:{progress:100}}))}else for(a=$APP.k(a,
18
- "__xOrganicProgressBEls"),b=1-Math.min(c,1),b=4*(1-b*b*b),c=Math.max(0,1-c*c),d=a.length,e=0;;)if(e<d){g=a[e];var h=$APP.k(g,"__dx")*b*8,l=$APP.k(g,"__dy")*b*8;g.setAttribute("r",""+$APP.T.g(b*2.5));g.setAttribute("opacity",""+$APP.T.g(c));g.setAttribute("transform","translate("+$APP.T.g(h)+","+$APP.T.g(l)+")");e+=1}else break},r2=function(a){a.__xOrganicProgressTime=0;a.__xOrganicProgressSPos=0;a.__xOrganicProgressSVel=0;$APP.ja(a,"__xOrganicProgressLF",performance.now());a.__xOrganicProgressDone=
19
- !1;a.__xOrganicProgressBloom=!1;a.__xOrganicProgressPV=-1;$APP.ja(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return q2(a)}))},s2=function(a){for(var b=$APP.k(a,"__xOrganicProgressModel"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.n($APP.Fl.g(b))?50:$APP.tl.g(b),e=Math.floor(d/100*c),g=$APP.k(a,"__xOrganicProgressLines"),h=0;;)if(h<c){var l=g[h];$APP.n(l)&&l.setAttribute("opacity",h<e?"1":"0");h+=1}else break;c=$APP.k(a,"__xOrganicProgressNodes");g=function(){var m=$APP.k(a,"__xOrganicProgressNN");
20
- return $APP.n(m)?m:0}();if($APP.n($APP.n(c)?g>0:c))for(d=Math.floor(d/100*g),h=0;;)if(h<g)l=c[h],$APP.n(l)&&l.setAttribute("opacity",h<d?"1":"0"),h+=1;else break;a.__xOrganicProgressPV=e;$APP.n(function(){var m=$APP.Tk.g(b);return $APP.n(m)?$APP.r($APP.k(a,"__xOrganicProgressDone")):m}())&&(a.__xOrganicProgressDone=!0,a.dispatchEvent(new CustomEvent("x-organic-progress-complete",{bubbles:!0,composed:!0,detail:{progress:100}})))},w2=function(a,b){var c=h2(a);a.__xOrganicProgressModel=c;a.setAttribute("role",
21
- "progressbar");a.setAttribute("aria-valuemin","0");a.setAttribute("aria-valuemax","100");$APP.n($APP.Fl.g(c))?(a.removeAttribute("aria-valuenow"),a.setAttribute("aria-busy","true"),a.setAttribute("aria-valuetext","Loading...")):(a.setAttribute("aria-valuenow",""+$APP.T.g(Math.round($APP.tl.g(c)))),a.removeAttribute("aria-busy"),a.setAttribute("aria-valuetext",$APP.Dm.g(c)));var d=$APP.U.g(c);$APP.n(d)?a.setAttribute("aria-label",d):a.removeAttribute("aria-label");if(b==null||$APP.I(t2,b)){b=$APP.C.i($APP.Qg.g(c),
22
- "honeycomb");d=$APP.Bc(u2,g2.g(c),3);if(b)c=Z1(f2.g(c),g2.g(c));else{a:{for(var e=new $APP.Q(null,1,["F","F[+F]F[-F]F"],null),g="F",h=0;;){if(h>=d){d=g;break a}for(var l=[],m=g.length,p=0;;)if(p<m){var q=g.charAt(p),v=$APP.D(e,q);$APP.n(v)?l.push(v):l.push(q);p+=1}else break;h+=1;g=l.join("")}d=void 0}e=V1(f2.g(c));c=W1(d,e,f2.g(c))}d=c;c=d[0];d=d[1];a.__xOrganicProgressSegs=c;a.__xOrganicProgressSegN=d;k2(a,d,c);d=$APP.M($APP.k(a,"__xOrganicProgressRefs"));c=$APP.D(d,j2);d=$APP.D(d,$APP.ej);$APP.n(c)&&
23
- ($APP.n(b)?c.removeAttribute("filter"):c.setAttribute("filter","url(#x-organic-progress-gooey)"));$APP.n($APP.n(d)?$APP.r(b):d)&&d.setAttribute("stdDeviation","2");b=$APP.M($APP.k(a,"__xOrganicProgressRefs"));b=$APP.D(b,v2);c=$APP.k(a,"__xOrganicProgressNodes");if($APP.n($APP.n(b)?c:b))for(d=c.length,e=0;;)if(e<d)g=c[e],$APP.n(g.parentNode)&&b.removeChild(g),e+=1;else break;a.__xOrganicProgressNodes=null;a.__xOrganicProgressND=null;a.__xOrganicProgressNN=0;l2(a);a.__xOrganicProgressPV=-1;a2()&&s2(a)}},
24
- x2=function(a){Object.defineProperty(a,"progress",{get:function(){return F1(this.getAttribute("progress"))},set:function(b){return b==null?this.removeAttribute("progress"):this.setAttribute("progress",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"variant",{get:function(){return H1(this.getAttribute("variant"))},set:function(b){return b==null?this.removeAttribute("variant"):this.setAttribute("variant",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
25
- "color",{get:function(){return N1(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bloom",{get:function(){return I1(this.getAttribute("bloom"))},set:function(b){return $APP.n(b)?this.removeAttribute("bloom"):this.setAttribute("bloom","false")},enumerable:!0,configurable:!0});Object.defineProperty(a,"density",{get:function(){return K1(this.getAttribute("density"))},
26
- set:function(b){return b==null?this.removeAttribute("density"):this.setAttribute("density",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"seed",{get:function(){return L1(this.getAttribute("seed"))},set:function(b){return b==null?this.removeAttribute("seed"):this.setAttribute("seed",""+$APP.T.g(b|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){return M1(this.getAttribute("label"))},set:function(b){return b==null?this.removeAttribute("label"):
27
- this.setAttribute("label",""+$APP.T.g(b))},enumerable:!0,configurable:!0})},A2=function(){var a=class extends HTMLElement{};a.observedAttributes=y2;a.prototype.connectedCallback=function(){this.__xOrganicProgressModel=h2(this);if(!$APP.n($APP.k(this,"__xOrganicProgressRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElementNS("http://www.w3.org/2000/svg","svg"),e=document.createElementNS("http://www.w3.org/2000/svg","defs"),g=document.createElementNS("http://www.w3.org/2000/svg",
28
- "g"),h=document.createElementNS("http://www.w3.org/2000/svg","g"),l=document.createElementNS("http://www.w3.org/2000/svg","g");c.textContent=z2;d.setAttribute("part","svg");d.setAttribute("viewBox","0 0 800 200");d.setAttribute("preserveAspectRatio","xMidYMid slice");d.setAttribute("aria-hidden","true");g.setAttribute("part","branches");g.setAttribute("filter","url(#"+$APP.T.g("x-organic-progress-gooey")+")");h.setAttribute("part","nodes");l.setAttribute("part","blooms");var m=document.createElementNS("http://www.w3.org/2000/svg",
12
+ "0");h.push(m);l+=1}else break;for(;;)if(b<g)e.removeChild(d[b]),b+=1;else break;a.__xOrganicProgressLines=h;a.__xOrganicProgressPV=-1},I2=function(a){var b=$APP.k(a,"__xOrganicProgressLines"),c=$APP.k(a,"__xOrganicProgressSegs"),d=$APP.k(a,"__xOrganicProgressSegN"),e=$APP.k(a,"__xOrganicProgressModel"),g=$APP.C.i($APP.Tg.g(e),"honeycomb");e=$APP.Jj.g(e);var h=$APP.n(e)?e:"var("+$APP.T.g("--x-organic-progress-color-primary")+","+$APP.T.g(g?"#818cf8":"#22c55e")+")",l="var("+$APP.T.g("--x-organic-progress-color-secondary")+
13
+ ","+$APP.T.g(g?"#a5b4fc":"#16a34a")+")";a=F2(a,g?1.5:3);if(g)for(g=0;;)if(g<d){e=b[g];var m=$APP.k(c[g],"depth");e.setAttribute("stroke-width",""+$APP.T.g(a));e.style.stroke=function(){switch(m){case 0:return h;case 1:return l;default:return l}}();e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity",function(){switch(m){case 0:return"0.9";case 1:return"0.7";default:return"0.5"}}());g+=1}else break;else for(g=0;;)if(g<d){e=b[g];var p=$APP.k(c[g],"depth"),q=p===0?h:l;e.setAttribute("stroke-width",
14
+ ""+$APP.T.g(Math.max(.5,a-p*.6)));e.style.stroke=q;e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity","1");g+=1}else break},J2=function(a){var b=$APP.k(a,"__xOrganicProgressSPos"),c=$APP.k(a,"__xOrganicProgressSegN"),d=Math.floor(b/100*c),e=$APP.k(a,"__xOrganicProgressPV"),g=$APP.k(a,"__xOrganicProgressLines");if($APP.N(d,e)){c=Math.max(d,e<0?c:e);for(e=Math.min(d,e<0?0:e);;)if(e<c){var h=g[e];$APP.n(h)&&h.setAttribute("opacity",e<d?"1":"0");e+=1}else break;g=$APP.k(a,"__xOrganicProgressNodes");
15
+ c=$APP.k(a,"__xOrganicProgressNN");c=$APP.n(c)?c:0;if($APP.n($APP.n(g)?c>0:g))for(b=Math.floor(b/100*c),e=0;;)if(e<c)h=g[e],$APP.n(h)&&h.setAttribute("opacity",e<b?"1":"0"),e+=1;else break;a.__xOrganicProgressPV=d}},L2=function(a){var b=$APP.k(a,"__xOrganicProgressSegs"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.M($APP.k(a,"__xOrganicProgressRefs"));d=$APP.D(d,K2);var e=$APP.k(a,"__xOrganicProgressModel"),g="var("+$APP.T.g("--x-organic-progress-bloom-color")+",#f472b6)";e=k2(C2.g(e)+7);for(var h=
16
+ [],l=0;;)if(l<c){var m=b[l];if($APP.k(m,"depth")>=2){var p=document.createElementNS("http://www.w3.org/2000/svg","circle"),q=$APP.k(m,"x2");m=$APP.k(m,"y2");var v=2*l2(e)-1,x=2*l2(e)-1;p.setAttribute("cx",""+$APP.T.g(q));p.setAttribute("cy",""+$APP.T.g(m));p.setAttribute("r","0");p.style.fill=g;p.setAttribute("opacity","0");p.setAttribute("class","bloom-petal");p.__dx=v;p.__dy=x;d.appendChild(p);h.push(p)}l+=1}else break;a.__xOrganicProgressBEls=h;a.__xOrganicProgressBloom=!0;a.__xOrganicProgressBT=
17
+ 0},M2=function(a,b){b=$APP.k(a,"__xOrganicProgressBT")+b;var c=b/1.5;a.__xOrganicProgressBT=b;if(c>1){b=$APP.M($APP.k(a,"__xOrganicProgressRefs"));b=$APP.D(b,K2);c=$APP.k(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var g=c[e];$APP.n(g.parentNode)&&b.removeChild(g);e+=1}else break;a.__xOrganicProgressBEls=null;a.__xOrganicProgressBloom=!1;a.dispatchEvent(new CustomEvent("x-organic-progress-bloom-end",{bubbles:!0,composed:!0,detail:{progress:100}}))}else for(a=$APP.k(a,
18
+ "__xOrganicProgressBEls"),b=1-Math.min(c,1),b=4*(1-b*b*b),c=Math.max(0,1-c*c),d=a.length,e=0;;)if(e<d){g=a[e];var h=$APP.k(g,"__dx")*b*8,l=$APP.k(g,"__dy")*b*8;g.setAttribute("r",""+$APP.T.g(b*2.5));g.setAttribute("opacity",""+$APP.T.g(c));g.setAttribute("transform","translate("+$APP.T.g(h)+","+$APP.T.g(l)+")");e+=1}else break},O2=function(a){a.__xOrganicProgressTime=0;a.__xOrganicProgressSPos=0;a.__xOrganicProgressSVel=0;$APP.ja(a,"__xOrganicProgressLF",performance.now());a.__xOrganicProgressDone=
19
+ !1;a.__xOrganicProgressBloom=!1;a.__xOrganicProgressPV=-1;$APP.ja(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return N2(a)}))},P2=function(a){for(var b=$APP.k(a,"__xOrganicProgressModel"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.n($APP.Ml.g(b))?50:$APP.zl.g(b),e=Math.floor(d/100*c),g=$APP.k(a,"__xOrganicProgressLines"),h=0;;)if(h<c){var l=g[h];$APP.n(l)&&l.setAttribute("opacity",h<e?"1":"0");h+=1}else break;c=$APP.k(a,"__xOrganicProgressNodes");g=function(){var m=$APP.k(a,"__xOrganicProgressNN");
20
+ return $APP.n(m)?m:0}();if($APP.n($APP.n(c)?g>0:c))for(d=Math.floor(d/100*g),h=0;;)if(h<g)l=c[h],$APP.n(l)&&l.setAttribute("opacity",h<d?"1":"0"),h+=1;else break;a.__xOrganicProgressPV=e;$APP.n(function(){var m=$APP.Zk.g(b);return $APP.n(m)?$APP.r($APP.k(a,"__xOrganicProgressDone")):m}())&&(a.__xOrganicProgressDone=!0,a.dispatchEvent(new CustomEvent("x-organic-progress-complete",{bubbles:!0,composed:!0,detail:{progress:100}})))},T2=function(a,b){var c=E2(a);a.__xOrganicProgressModel=c;a.setAttribute("role",
21
+ "progressbar");a.setAttribute("aria-valuemin","0");a.setAttribute("aria-valuemax","100");$APP.n($APP.Ml.g(c))?(a.removeAttribute("aria-valuenow"),a.setAttribute("aria-busy","true"),a.setAttribute("aria-valuetext","Loading...")):(a.setAttribute("aria-valuenow",""+$APP.T.g(Math.round($APP.zl.g(c)))),a.removeAttribute("aria-busy"),a.setAttribute("aria-valuetext",$APP.Km.g(c)));var d=$APP.U.g(c);$APP.n(d)?a.setAttribute("aria-label",d):a.removeAttribute("aria-label");if(b==null||$APP.I(Q2,b)){b=$APP.C.i($APP.Tg.g(c),
22
+ "honeycomb");d=$APP.Bc(R2,D2.g(c),3);if(b)c=v2(C2.g(c),D2.g(c));else{a:{for(var e=new $APP.Q(null,1,["F","F[+F]F[-F]F"],null),g="F",h=0;;){if(h>=d){d=g;break a}for(var l=[],m=g.length,p=0;;)if(p<m){var q=g.charAt(p),v=$APP.D(e,q);$APP.n(v)?l.push(v):l.push(q);p+=1}else break;h+=1;g=l.join("")}d=void 0}e=r2(C2.g(c));c=s2(d,e,C2.g(c))}d=c;c=d[0];d=d[1];a.__xOrganicProgressSegs=c;a.__xOrganicProgressSegN=d;H2(a,d,c);d=$APP.M($APP.k(a,"__xOrganicProgressRefs"));c=$APP.D(d,G2);d=$APP.D(d,$APP.ij);$APP.n(c)&&
23
+ ($APP.n(b)?c.removeAttribute("filter"):c.setAttribute("filter","url(#x-organic-progress-gooey)"));$APP.n($APP.n(d)?$APP.r(b):d)&&d.setAttribute("stdDeviation","2");b=$APP.M($APP.k(a,"__xOrganicProgressRefs"));b=$APP.D(b,S2);c=$APP.k(a,"__xOrganicProgressNodes");if($APP.n($APP.n(b)?c:b))for(d=c.length,e=0;;)if(e<d)g=c[e],$APP.n(g.parentNode)&&b.removeChild(g),e+=1;else break;a.__xOrganicProgressNodes=null;a.__xOrganicProgressND=null;a.__xOrganicProgressNN=0;I2(a);a.__xOrganicProgressPV=-1;x2()&&P2(a)}},
24
+ U2=function(a){Object.defineProperty(a,"progress",{get:function(){return b2(this.getAttribute("progress"))},set:function(b){return b==null?this.removeAttribute("progress"):this.setAttribute("progress",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"variant",{get:function(){return d2(this.getAttribute("variant"))},set:function(b){return b==null?this.removeAttribute("variant"):this.setAttribute("variant",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
25
+ "color",{get:function(){return j2(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bloom",{get:function(){return e2(this.getAttribute("bloom"))},set:function(b){return $APP.n(b)?this.removeAttribute("bloom"):this.setAttribute("bloom","false")},enumerable:!0,configurable:!0});Object.defineProperty(a,"density",{get:function(){return g2(this.getAttribute("density"))},
26
+ set:function(b){return b==null?this.removeAttribute("density"):this.setAttribute("density",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"seed",{get:function(){return h2(this.getAttribute("seed"))},set:function(b){return b==null?this.removeAttribute("seed"):this.setAttribute("seed",""+$APP.T.g(b|0))},enumerable:!0,configurable:!0});Object.defineProperty(a,"label",{get:function(){return i2(this.getAttribute("label"))},set:function(b){return b==null?this.removeAttribute("label"):
27
+ this.setAttribute("label",""+$APP.T.g(b))},enumerable:!0,configurable:!0})},X2=function(){var a=class extends HTMLElement{};a.observedAttributes=V2;a.prototype.connectedCallback=function(){this.__xOrganicProgressModel=E2(this);if(!$APP.n($APP.k(this,"__xOrganicProgressRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElementNS("http://www.w3.org/2000/svg","svg"),e=document.createElementNS("http://www.w3.org/2000/svg","defs"),g=document.createElementNS("http://www.w3.org/2000/svg",
28
+ "g"),h=document.createElementNS("http://www.w3.org/2000/svg","g"),l=document.createElementNS("http://www.w3.org/2000/svg","g");c.textContent=W2;d.setAttribute("part","svg");d.setAttribute("viewBox","0 0 800 200");d.setAttribute("preserveAspectRatio","xMidYMid slice");d.setAttribute("aria-hidden","true");g.setAttribute("part","branches");g.setAttribute("filter","url(#"+$APP.T.g("x-organic-progress-gooey")+")");h.setAttribute("part","nodes");l.setAttribute("part","blooms");var m=document.createElementNS("http://www.w3.org/2000/svg",
29
29
  "filter");var p=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),q=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");m.setAttribute("id","x-organic-progress-gooey");m.setAttribute("x","-10%");m.setAttribute("y","-10%");m.setAttribute("width","120%");m.setAttribute("height","120%");p.setAttribute("in","SourceGraphic");p.setAttribute("stdDeviation",""+$APP.T.g(2));p.setAttribute("result","blur");q.setAttribute("in","blur");q.setAttribute("type","matrix");
30
- q.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7");m.appendChild(p);m.appendChild(q);e.appendChild(m);m=new $APP.Q(null,3,[$APP.Sk,m,$APP.ej,p,$APP.zm,q],null);d.appendChild(e);d.appendChild(g);d.appendChild(h);d.appendChild(l);b.appendChild(c);b.appendChild(d);this.__xOrganicProgressRefs=$APP.Rf($APP.uc([m,new $APP.Q(null,5,[$APP.yi,b,$APP.bk,d,j2,g,v2,h,n2,l],null)]))}w2(this,null);l2(this);a2()?s2(this):r2(this);return null};a.prototype.disconnectedCallback=function(){var b=
31
- $APP.k(this,"__xOrganicProgressRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xOrganicProgressRaf=null);if($APP.n($APP.k(this,"__xOrganicProgressBloom"))){b=$APP.M($APP.k(this,"__xOrganicProgressRefs"));b=$APP.D(b,n2);var c=$APP.k(this,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var g=c[e];$APP.n(g.parentNode)&&b.removeChild(g);e+=1}else break;this.__xOrganicProgressBEls=null;this.__xOrganicProgressBloom=!1}return null};a.prototype.attributeChangedCallback=function(b,
32
- c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xOrganicProgressRefs"))&&(w2(this,b),$APP.I(t2,b)||l2(this));return null};x2(a.prototype);return a},B2=function(){$APP.n(customElements.get("x-organic-progress"))||customElements.define("x-organic-progress",A2());return null},v2=new $APP.K(null,"nodes-g","nodes-g",89420858),c2=new $APP.K(null,"density-raw","density-raw",1719413082),j2=new $APP.K(null,"branches-g","branches-g",548989635),e2=new $APP.K(null,"bloom?","bloom?",-326837587),b2=new $APP.K(null,"bloom-attr",
33
- "bloom-attr",-1778398039),g2=new $APP.K(null,"density","density",-1664155941),f2=new $APP.K(null,"seed","seed",68613327),d2=new $APP.K(null,"seed-raw","seed-raw",2146438207),n2=new $APP.K(null,"blooms-g","blooms-g",-1476393864);var y2="progress variant color bloom density seed label".split(" ");$APP.Qd(["x-organic-progress-complete",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[$APP.Il,$APP.W],null),$APP.Rl,!1],null),"x-organic-progress-bloom-end",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[$APP.Il,$APP.W],null),$APP.Rl,!1],null)]);
34
- var G1=new $APP.S(null,new $APP.Q(null,2,["honeycomb",null,"vine",null],null),null),J1=new $APP.S(null,new $APP.Q(null,3,["dense",null,"normal",null,"sparse",null],null),null),u2=new $APP.Q(null,3,["sparse",2,"normal",3,"dense",4],null),T1=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,
30
+ q.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7");m.appendChild(p);m.appendChild(q);e.appendChild(m);m=new $APP.Q(null,3,[$APP.Yk,m,$APP.ij,p,$APP.Gm,q],null);d.appendChild(e);d.appendChild(g);d.appendChild(h);d.appendChild(l);b.appendChild(c);b.appendChild(d);this.__xOrganicProgressRefs=$APP.Rf($APP.uc([m,new $APP.Q(null,5,[$APP.Ci,b,$APP.gk,d,G2,g,S2,h,K2,l],null)]))}T2(this,null);I2(this);x2()?P2(this):O2(this);return null};a.prototype.disconnectedCallback=function(){var b=
31
+ $APP.k(this,"__xOrganicProgressRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xOrganicProgressRaf=null);if($APP.n($APP.k(this,"__xOrganicProgressBloom"))){b=$APP.M($APP.k(this,"__xOrganicProgressRefs"));b=$APP.D(b,K2);var c=$APP.k(this,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var g=c[e];$APP.n(g.parentNode)&&b.removeChild(g);e+=1}else break;this.__xOrganicProgressBEls=null;this.__xOrganicProgressBloom=!1}return null};a.prototype.attributeChangedCallback=function(b,
32
+ c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xOrganicProgressRefs"))&&(T2(this,b),$APP.I(Q2,b)||I2(this));return null};U2(a.prototype);return a},Y2=function(){$APP.n(customElements.get("x-organic-progress"))||customElements.define("x-organic-progress",X2());return null},S2=new $APP.K(null,"nodes-g","nodes-g",89420858),z2=new $APP.K(null,"density-raw","density-raw",1719413082),G2=new $APP.K(null,"branches-g","branches-g",548989635),B2=new $APP.K(null,"bloom?","bloom?",-326837587),y2=new $APP.K(null,"bloom-attr",
33
+ "bloom-attr",-1778398039),D2=new $APP.K(null,"density","density",-1664155941),C2=new $APP.K(null,"seed","seed",68613327),A2=new $APP.K(null,"seed-raw","seed-raw",2146438207),K2=new $APP.K(null,"blooms-g","blooms-g",-1476393864);var V2="progress variant color bloom density seed label".split(" ");$APP.Qd(["x-organic-progress-complete",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[$APP.Pl,$APP.W],null),$APP.Yl,!1],null),"x-organic-progress-bloom-end",new $APP.Q(null,2,[$APP.V,new $APP.Q(null,1,[$APP.Pl,$APP.W],null),$APP.Yl,!1],null)]);
34
+ var c2=new $APP.R(null,new $APP.Q(null,2,["honeycomb",null,"vine",null],null),null),f2=new $APP.R(null,new $APP.Q(null,3,["dense",null,"normal",null,"sparse",null],null),null),R2=new $APP.Q(null,3,["sparse",2,"normal",3,"dense",4],null),p2=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,
35
35
  83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,
36
- 107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],S1=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[0,1],[0,-1],[1,1],[-1,1],[1,-1],[-1,-1]],Q1=(Math.sqrt(3)-1)/2,R1=(3-Math.sqrt(3))/6,Y1=new $APP.Q(null,3,["sparse",40,"normal",25,"dense",16],null);var z2=":host{display:block;position:relative;min-height:60px;width:100%;overflow:hidden;"+$APP.T.g("--x-organic-progress-color-primary")+":var(--x-color-success,#22c55e);"+$APP.T.g("--x-organic-progress-color-secondary")+":var(--x-color-success,#16a34a);"+$APP.T.g("--x-organic-progress-bloom-color")+":var(--x-color-danger,#f472b6);"+$APP.T.g("--x-organic-progress-bg")+":transparent;"+$APP.T.g("--x-organic-progress-branch-width")+":3;"+$APP.T.g("--x-organic-progress-glow")+":2;"+$APP.T.g("--x-organic-progress-opacity")+
36
+ 107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],o2=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[0,1],[0,-1],[1,1],[-1,1],[1,-1],[-1,-1]],m2=(Math.sqrt(3)-1)/2,n2=(3-Math.sqrt(3))/6,u2=new $APP.Q(null,3,["sparse",40,"normal",25,"dense",16],null);var W2=":host{display:block;position:relative;min-height:60px;width:100%;overflow:hidden;"+$APP.T.g("--x-organic-progress-color-primary")+":var(--x-color-success,#22c55e);"+$APP.T.g("--x-organic-progress-color-secondary")+":var(--x-color-success,#16a34a);"+$APP.T.g("--x-organic-progress-bloom-color")+":var(--x-color-danger,#f472b6);"+$APP.T.g("--x-organic-progress-bg")+":transparent;"+$APP.T.g("--x-organic-progress-branch-width")+":3;"+$APP.T.g("--x-organic-progress-glow")+":2;"+$APP.T.g("--x-organic-progress-opacity")+
37
37
  ":1;background:var("+$APP.T.g("--x-organic-progress-bg")+",transparent);opacity:var("+$APP.T.g("--x-organic-progress-opacity")+",1);}[part\x3dsvg]{display:block;width:100%;height:100%;}[part\x3dnodes] circle{fill:var("+$APP.T.g("--x-organic-progress-color-primary")+",#22c55e);}@media(prefers-color-scheme:dark){:host{--x-organic-progress-color-primary:var(--x-color-success,#4ade80);--x-organic-progress-color-secondary:var(--x-color-success,#22c55e);--x-organic-progress-bloom-color:var(--x-color-danger,#f9a8d4);}}@media(prefers-reduced-motion:reduce){[part\x3dsvg]{transition:none!important;}.bloom-petal{transition:none!important;animation:none!important;}}",
38
- q2=function q2(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xOrganicProgressModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xOrganicProgressLF"),100)/1E3;a.__xOrganicProgressLF=d;a.__xOrganicProgressTime=$APP.k(a,"__xOrganicProgressTime")+e;d=$APP.n($APP.Fl.g(c))?50+20*Math.sin($APP.k(a,"__xOrganicProgressTime")*1.5):$APP.tl.g(c);d=$1($APP.k(a,"__xOrganicProgressSPos"),d,$APP.k(a,"__xOrganicProgressSVel"),e);a.__xOrganicProgressSPos=d[0];a.__xOrganicProgressSVel=d[1];m2(a);$APP.n(function(){var g=
39
- $APP.Tk.g(c);return $APP.n(g)?$APP.r($APP.k(a,"__xOrganicProgressDone")):g}())&&(a.__xOrganicProgressDone=!0,a.dispatchEvent(new CustomEvent("x-organic-progress-complete",{bubbles:!0,composed:!0,detail:{progress:100}})),$APP.n(e2.g(c))&&o2(a));$APP.n(function(){var g=$APP.r($APP.Tk.g(c));return g?(g=$APP.k(a,"__xOrganicProgressDone"),$APP.n(g)?$APP.r($APP.k(a,"__xOrganicProgressBloom")):g):g}())&&(a.__xOrganicProgressDone=!1);$APP.n($APP.k(a,"__xOrganicProgressBloom"))&&p2(a,e);$APP.ja(a,"__xOrganicProgressRaf",
40
- requestAnimationFrame(function(){return q2.g?q2.g(a):q2.call(null,a)}))}return null},t2=$APP.Uf(["variant","density","seed"]);$APP.ha("baredom.exports.x_organic_progress.init",B2);export const init=B2;
38
+ N2=function N2(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xOrganicProgressModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xOrganicProgressLF"),100)/1E3;a.__xOrganicProgressLF=d;a.__xOrganicProgressTime=$APP.k(a,"__xOrganicProgressTime")+e;d=$APP.n($APP.Ml.g(c))?50+20*Math.sin($APP.k(a,"__xOrganicProgressTime")*1.5):$APP.zl.g(c);d=w2($APP.k(a,"__xOrganicProgressSPos"),d,$APP.k(a,"__xOrganicProgressSVel"),e);a.__xOrganicProgressSPos=d[0];a.__xOrganicProgressSVel=d[1];J2(a);$APP.n(function(){var g=
39
+ $APP.Zk.g(c);return $APP.n(g)?$APP.r($APP.k(a,"__xOrganicProgressDone")):g}())&&(a.__xOrganicProgressDone=!0,a.dispatchEvent(new CustomEvent("x-organic-progress-complete",{bubbles:!0,composed:!0,detail:{progress:100}})),$APP.n(B2.g(c))&&L2(a));$APP.n(function(){var g=$APP.r($APP.Zk.g(c));return g?(g=$APP.k(a,"__xOrganicProgressDone"),$APP.n(g)?$APP.r($APP.k(a,"__xOrganicProgressBloom")):g):g}())&&(a.__xOrganicProgressDone=!1);$APP.n($APP.k(a,"__xOrganicProgressBloom"))&&M2(a,e);$APP.ja(a,"__xOrganicProgressRaf",
40
+ requestAnimationFrame(function(){return N2.g?N2.g(a):N2.call(null,a)}))}return null},Q2=$APP.Uf(["variant","density","seed"]);$APP.ha("baredom.exports.x_organic_progress.init",Y2);export const init=Y2;
@@ -1,15 +1,15 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var EI=function(a){return typeof a==="string"&&$APP.I(DI,a)?a:"blob-1"},FI=function(a){return typeof a==="string"&&$APP.N("",a)?a:null},GI=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-organic-shape-fill:rgba(99,102,241,0.12);--x-organic-shape-stroke:transparent;--x-organic-shape-stroke-width:0;--x-organic-shape-opacity:1;--x-organic-shape-shadow:none;--x-organic-shape-animate-duration:8s;--x-organic-shape-animate-timing:ease-in-out;--x-organic-shape-animate-direction:normal;--x-organic-shape-animate-delay:0s;}@media (prefers-color-scheme:dark){:host{--x-organic-shape-fill:rgba(129,140,248,0.18);}}[part\x3dshape]{width:100%;height:100%;position:relative;overflow:hidden;background:var(--x-organic-shape-fill);outline:var(--x-organic-shape-stroke-width) solid var(--x-organic-shape-stroke);outline-offset:calc(-1 * var(--x-organic-shape-stroke-width));opacity:var(--x-organic-shape-opacity);filter:var(--x-organic-shape-shadow);display:flex;align-items:center;justify-content:center;transition:clip-path 0.3s ease,opacity 0.3s ease;}@keyframes x-organic-shape-morph{0%,100%{clip-path:var(--x-organic-shape-clip);}50%{clip-path:var(--x-organic-shape-clip-alt);}}@keyframes x-organic-shape-pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.06);}}@keyframes x-organic-shape-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6%);}}@keyframes x-organic-shape-spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}:host([data-animation\x3dmorph]) [part\x3dshape]{animation:x-organic-shape-morph var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dpulse]) [part\x3dshape]{animation:x-organic-shape-pulse var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dfloat]) [part\x3dshape]{animation:x-organic-shape-float var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dspin]) [part\x3dshape]{animation:x-organic-shape-spin var(--x-organic-shape-animate-duration) linear var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dshape]{animation:none;}}";
3
- d.setAttribute("part","shape");d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xOrganicShapeBase=d;a.__xOrganicShapeSlot=e;a.__xOrganicShapeInit=!0},HI=function(a,b){if($APP.n($APP.n(b)?b.assignedNodes().length>0:null))return a.removeAttribute("role"),a.removeAttribute("aria-hidden");a.setAttribute("role","presentation");return a.setAttribute("aria-hidden","true")},MI=function(a){var b=new $APP.Q(null,6,[$APP.ak,a.getAttribute("shape"),$APP.Ik,a.getAttribute("path"),$APP.Rg,a.getAttribute("animation"),
4
- $APP.nj,a.getAttribute("ratio"),$APP.Sg,a.getAttribute("width"),$APP.Tg,a.getAttribute("height")],null);var c=$APP.M(b),d=$APP.D(c,$APP.ak),e=$APP.D(c,$APP.Ik),g=$APP.D(c,$APP.Rg),h=$APP.D(c,$APP.nj);b=$APP.D(c,$APP.Sg);c=$APP.D(c,$APP.Tg);e=typeof e==="string"&&$APP.N("",e.trim())?e.trim():null;d=EI(d);var l=typeof g==="string"&&$APP.I(II,g)?g:"none";g=e!=null?e:$APP.ie(JI,new $APP.O(null,2,5,$APP.P,[EI(d),KI],null));var m=e==null?$APP.ie(JI,new $APP.O(null,2,5,$APP.P,[EI(d),LI],null)):null;l=$APP.C.i(l,
5
- "morph")&&m==null?"none":l;h=typeof h==="string"&&$APP.N("",h.trim())?h.trim():"1/1";b=new $APP.Q(null,8,[$APP.ak,d,$APP.Ik,e,KI,g,LI,m,$APP.Rg,l,$APP.nj,h,$APP.Sg,FI(b),$APP.Tg,FI(c)],null);g=$APP.M(b);b=$APP.D(g,KI);h=$APP.D(g,LI);c=$APP.D(g,$APP.Rg);e=$APP.D(g,$APP.nj);d=$APP.D(g,$APP.Sg);g=$APP.D(g,$APP.Tg);m=$APP.k(a,"__xOrganicShapeBase");l=$APP.k(a,"__xOrganicShapeSlot");m.style.setProperty("--x-organic-shape-clip",b);$APP.n(h)?m.style.setProperty("--x-organic-shape-clip-alt",h):m.style.removeProperty("--x-organic-shape-clip-alt");
6
- m.style.setProperty("clip-path",b);m.style.setProperty("aspect-ratio",e);$APP.n(d)?m.style.setProperty("width",d):m.style.removeProperty("width");$APP.n(g)?m.style.setProperty("height",g):m.style.removeProperty("height");$APP.N(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation");HI(a,l)},NI=function(a){function b(){return HI(a,c)}$APP.n($APP.k(a,"__xOrganicShapeInit"))||GI(a);var c=$APP.k(a,"__xOrganicShapeSlot");a.__xOrganicShapeSlotHandler=b;c.addEventListener("slotchange",
7
- b);MI(a)},OI=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.n(b)?b:"blob-1"},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0});
2
+ var aJ=function(a){return typeof a==="string"&&$APP.I($I,a)?a:"blob-1"},bJ=function(a){return typeof a==="string"&&$APP.N("",a)?a:null},cJ=function(a){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("slot");c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-organic-shape-fill:rgba(99,102,241,0.12);--x-organic-shape-stroke:transparent;--x-organic-shape-stroke-width:0;--x-organic-shape-opacity:1;--x-organic-shape-shadow:none;--x-organic-shape-animate-duration:8s;--x-organic-shape-animate-timing:ease-in-out;--x-organic-shape-animate-direction:normal;--x-organic-shape-animate-delay:0s;}@media (prefers-color-scheme:dark){:host{--x-organic-shape-fill:rgba(129,140,248,0.18);}}[part\x3dshape]{width:100%;height:100%;position:relative;overflow:hidden;background:var(--x-organic-shape-fill);outline:var(--x-organic-shape-stroke-width) solid var(--x-organic-shape-stroke);outline-offset:calc(-1 * var(--x-organic-shape-stroke-width));opacity:var(--x-organic-shape-opacity);filter:var(--x-organic-shape-shadow);display:flex;align-items:center;justify-content:center;transition:clip-path 0.3s ease,opacity 0.3s ease;}@keyframes x-organic-shape-morph{0%,100%{clip-path:var(--x-organic-shape-clip);}50%{clip-path:var(--x-organic-shape-clip-alt);}}@keyframes x-organic-shape-pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.06);}}@keyframes x-organic-shape-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6%);}}@keyframes x-organic-shape-spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}:host([data-animation\x3dmorph]) [part\x3dshape]{animation:x-organic-shape-morph var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dpulse]) [part\x3dshape]{animation:x-organic-shape-pulse var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dfloat]) [part\x3dshape]{animation:x-organic-shape-float var(--x-organic-shape-animate-duration) var(--x-organic-shape-animate-timing) var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}:host([data-animation\x3dspin]) [part\x3dshape]{animation:x-organic-shape-spin var(--x-organic-shape-animate-duration) linear var(--x-organic-shape-animate-delay) infinite var(--x-organic-shape-animate-direction);}@media (prefers-reduced-motion:reduce){:host([data-animation]) [part\x3dshape]{animation:none;}}";
3
+ d.setAttribute("part","shape");d.appendChild(e);b.appendChild(c);b.appendChild(d);a.__xOrganicShapeBase=d;a.__xOrganicShapeSlot=e;a.__xOrganicShapeInit=!0},dJ=function(a,b){if($APP.n($APP.n(b)?b.assignedNodes().length>0:null))return a.removeAttribute("role"),a.removeAttribute("aria-hidden");a.setAttribute("role","presentation");return a.setAttribute("aria-hidden","true")},FJ=function(a){var b=new $APP.Q(null,6,[$APP.fk,a.getAttribute("shape"),$APP.Ok,a.getAttribute("path"),$APP.Ug,a.getAttribute("animation"),
4
+ $APP.sj,a.getAttribute("ratio"),$APP.Vg,a.getAttribute("width"),$APP.Wg,a.getAttribute("height")],null);var c=$APP.M(b),d=$APP.D(c,$APP.fk),e=$APP.D(c,$APP.Ok),g=$APP.D(c,$APP.Ug),h=$APP.D(c,$APP.sj);b=$APP.D(c,$APP.Vg);c=$APP.D(c,$APP.Wg);e=typeof e==="string"&&$APP.N("",e.trim())?e.trim():null;d=aJ(d);var l=typeof g==="string"&&$APP.I(eJ,g)?g:"none";g=e!=null?e:$APP.ie(iJ,new $APP.O(null,2,5,$APP.P,[aJ(d),jJ],null));var m=e==null?$APP.ie(iJ,new $APP.O(null,2,5,$APP.P,[aJ(d),kJ],null)):null;l=$APP.C.i(l,
5
+ "morph")&&m==null?"none":l;h=typeof h==="string"&&$APP.N("",h.trim())?h.trim():"1/1";b=new $APP.Q(null,8,[$APP.fk,d,$APP.Ok,e,jJ,g,kJ,m,$APP.Ug,l,$APP.sj,h,$APP.Vg,bJ(b),$APP.Wg,bJ(c)],null);g=$APP.M(b);b=$APP.D(g,jJ);h=$APP.D(g,kJ);c=$APP.D(g,$APP.Ug);e=$APP.D(g,$APP.sj);d=$APP.D(g,$APP.Vg);g=$APP.D(g,$APP.Wg);m=$APP.k(a,"__xOrganicShapeBase");l=$APP.k(a,"__xOrganicShapeSlot");m.style.setProperty("--x-organic-shape-clip",b);$APP.n(h)?m.style.setProperty("--x-organic-shape-clip-alt",h):m.style.removeProperty("--x-organic-shape-clip-alt");
6
+ m.style.setProperty("clip-path",b);m.style.setProperty("aspect-ratio",e);$APP.n(d)?m.style.setProperty("width",d):m.style.removeProperty("width");$APP.n(g)?m.style.setProperty("height",g):m.style.removeProperty("height");$APP.N(c,"none")?a.setAttribute("data-animation",c):a.removeAttribute("data-animation");dJ(a,l)},GJ=function(a){function b(){return dJ(a,c)}$APP.n($APP.k(a,"__xOrganicShapeInit"))||cJ(a);var c=$APP.k(a,"__xOrganicShapeSlot");a.__xOrganicShapeSlotHandler=b;c.addEventListener("slotchange",
7
+ b);FJ(a)},HJ=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");return $APP.n(b)?b:"blob-1"},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0});
8
8
  Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:"none"},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("animation",b):this.removeAttribute("animation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"ratio",{get:function(){var b=this.getAttribute("ratio");return $APP.n(b)?b:"1/1"},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("ratio",b):this.removeAttribute("ratio")},enumerable:!0,
9
9
  configurable:!0});Object.defineProperty(a,"width",{get:function(){var b=this.getAttribute("width");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("width",b):this.removeAttribute("width")},enumerable:!0,configurable:!0});Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.N("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,
10
- configurable:!0})},QI=function(){var a=class extends HTMLElement{};a.observedAttributes=PI;a.prototype.connectedCallback=function(){NI(this);return null};a.prototype.disconnectedCallback=function(){var b=$APP.k(this,"__xOrganicShapeSlot"),c=$APP.k(this,"__xOrganicShapeSlotHandler");return $APP.n($APP.n(b)?c:b)?b.removeEventListener("slotchange",c):null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xOrganicShapeInit"))&&MI(this);return null};OI(a.prototype);
11
- return a},RI=function(){$APP.n(customElements.get("x-organic-shape"))||customElements.define("x-organic-shape",QI());return null},KI=new $APP.K(null,"clip","clip",830998499),LI=new $APP.K(null,"clip-alt","clip-alt",-684562835);var PI="shape path animation ratio width height".split(" "),II=new $APP.S(null,new $APP.Q(null,5,["float",null,"none",null,"pulse",null,"spin",null,"morph",null],null),null),DI=new $APP.S(null,new $APP.Q(null,8,["cloud",null,"blob-3",null,"leaf",null,"pebble",null,"blob-1",null,"blob-2",null,"wave",null,"droplet",null],null),null),JI=new $APP.Q(null,8,["blob-1",new $APP.Q(null,2,[KI,"polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%)",LI,"polygon(25% 5%, 75% 0%, 95% 25%, 100% 65%, 75% 95%, 25% 100%, 0% 65%, 5% 25%)"],
12
- null),"blob-2",new $APP.Q(null,2,[KI,"polygon(50% 0%, 80% 10%, 100% 40%, 95% 75%, 70% 100%, 30% 100%, 5% 75%, 0% 40%, 20% 10%)",LI,"polygon(50% 5%, 85% 15%, 100% 45%, 90% 80%, 65% 95%, 35% 95%, 10% 80%, 0% 45%, 15% 15%)"],null),"blob-3",new $APP.Q(null,2,[KI,"polygon(20% 0%, 80% 0%, 100% 20%, 100% 50%, 90% 80%, 70% 100%, 30% 100%, 10% 80%, 0% 50%, 0% 20%)",LI,"polygon(25% 5%, 75% 5%, 95% 25%, 100% 55%, 85% 85%, 65% 95%, 35% 95%, 15% 85%, 0% 55%, 5% 25%)"],null),"pebble",new $APP.Q(null,2,[KI,"polygon(50% 2%, 78% 8%, 96% 30%, 98% 60%, 85% 88%, 55% 98%, 25% 92%, 4% 65%, 2% 35%, 22% 8%)",
13
- LI,"polygon(50% 5%, 75% 12%, 93% 32%, 96% 58%, 82% 85%, 52% 96%, 28% 90%, 8% 62%, 5% 38%, 25% 12%)"],null),"leaf",new $APP.Q(null,2,[KI,"polygon(50% 0%, 80% 15%, 98% 45%, 90% 75%, 65% 98%, 50% 100%, 35% 98%, 10% 75%, 2% 45%, 20% 15%)",LI,"polygon(50% 3%, 78% 18%, 95% 42%, 88% 72%, 62% 95%, 50% 97%, 38% 95%, 12% 72%, 5% 42%, 22% 18%)"],null),"droplet",new $APP.Q(null,2,[KI,"polygon(50% 0%, 72% 20%, 90% 50%, 95% 72%, 80% 92%, 50% 100%, 20% 92%, 5% 72%, 10% 50%, 28% 20%)",LI,"polygon(50% 5%, 70% 22%, 88% 48%, 92% 70%, 78% 90%, 50% 97%, 22% 90%, 8% 70%, 12% 48%, 30% 22%)"],
14
- null),"cloud",new $APP.Q(null,2,[KI,"polygon(10% 60%, 0% 45%, 5% 30%, 18% 20%, 32% 15%, 45% 8%, 58% 12%, 72% 8%, 85% 18%, 95% 32%, 100% 50%, 95% 65%, 80% 75%, 55% 80%, 30% 78%, 15% 72%)",LI,"polygon(12% 58%, 2% 43%, 8% 28%, 20% 18%, 35% 12%, 48% 10%, 60% 14%, 75% 10%, 88% 20%, 97% 35%, 98% 52%, 92% 68%, 78% 78%, 52% 82%, 28% 80%, 13% 70%)"],null),"wave",new $APP.Q(null,2,[KI,"polygon(0% 35%, 15% 20%, 30% 30%, 50% 15%, 70% 28%, 85% 18%, 100% 30%, 100% 75%, 85% 85%, 70% 72%, 50% 85%, 30% 75%, 15% 82%, 0% 70%)",
15
- LI,"polygon(0% 30%, 15% 25%, 30% 35%, 50% 20%, 70% 32%, 85% 22%, 100% 35%, 100% 70%, 85% 80%, 70% 68%, 50% 80%, 30% 70%, 15% 78%, 0% 65%)"],null)],null);$APP.ha("baredom.exports.x_organic_shape.init",RI);export const init=RI;
10
+ configurable:!0})},JJ=function(){var a=class extends HTMLElement{};a.observedAttributes=IJ;a.prototype.connectedCallback=function(){GJ(this);return null};a.prototype.disconnectedCallback=function(){var b=$APP.k(this,"__xOrganicShapeSlot"),c=$APP.k(this,"__xOrganicShapeSlotHandler");return $APP.n($APP.n(b)?c:b)?b.removeEventListener("slotchange",c):null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xOrganicShapeInit"))&&FJ(this);return null};HJ(a.prototype);
11
+ return a},KJ=function(){$APP.n(customElements.get("x-organic-shape"))||customElements.define("x-organic-shape",JJ());return null},jJ=new $APP.K(null,"clip","clip",830998499),kJ=new $APP.K(null,"clip-alt","clip-alt",-684562835);var IJ="shape path animation ratio width height".split(" "),eJ=new $APP.R(null,new $APP.Q(null,5,["float",null,"none",null,"pulse",null,"spin",null,"morph",null],null),null),$I=new $APP.R(null,new $APP.Q(null,8,["cloud",null,"blob-3",null,"leaf",null,"pebble",null,"blob-1",null,"blob-2",null,"wave",null,"droplet",null],null),null),iJ=new $APP.Q(null,8,["blob-1",new $APP.Q(null,2,[jJ,"polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%)",kJ,"polygon(25% 5%, 75% 0%, 95% 25%, 100% 65%, 75% 95%, 25% 100%, 0% 65%, 5% 25%)"],
12
+ null),"blob-2",new $APP.Q(null,2,[jJ,"polygon(50% 0%, 80% 10%, 100% 40%, 95% 75%, 70% 100%, 30% 100%, 5% 75%, 0% 40%, 20% 10%)",kJ,"polygon(50% 5%, 85% 15%, 100% 45%, 90% 80%, 65% 95%, 35% 95%, 10% 80%, 0% 45%, 15% 15%)"],null),"blob-3",new $APP.Q(null,2,[jJ,"polygon(20% 0%, 80% 0%, 100% 20%, 100% 50%, 90% 80%, 70% 100%, 30% 100%, 10% 80%, 0% 50%, 0% 20%)",kJ,"polygon(25% 5%, 75% 5%, 95% 25%, 100% 55%, 85% 85%, 65% 95%, 35% 95%, 15% 85%, 0% 55%, 5% 25%)"],null),"pebble",new $APP.Q(null,2,[jJ,"polygon(50% 2%, 78% 8%, 96% 30%, 98% 60%, 85% 88%, 55% 98%, 25% 92%, 4% 65%, 2% 35%, 22% 8%)",
13
+ kJ,"polygon(50% 5%, 75% 12%, 93% 32%, 96% 58%, 82% 85%, 52% 96%, 28% 90%, 8% 62%, 5% 38%, 25% 12%)"],null),"leaf",new $APP.Q(null,2,[jJ,"polygon(50% 0%, 80% 15%, 98% 45%, 90% 75%, 65% 98%, 50% 100%, 35% 98%, 10% 75%, 2% 45%, 20% 15%)",kJ,"polygon(50% 3%, 78% 18%, 95% 42%, 88% 72%, 62% 95%, 50% 97%, 38% 95%, 12% 72%, 5% 42%, 22% 18%)"],null),"droplet",new $APP.Q(null,2,[jJ,"polygon(50% 0%, 72% 20%, 90% 50%, 95% 72%, 80% 92%, 50% 100%, 20% 92%, 5% 72%, 10% 50%, 28% 20%)",kJ,"polygon(50% 5%, 70% 22%, 88% 48%, 92% 70%, 78% 90%, 50% 97%, 22% 90%, 8% 70%, 12% 48%, 30% 22%)"],
14
+ null),"cloud",new $APP.Q(null,2,[jJ,"polygon(10% 60%, 0% 45%, 5% 30%, 18% 20%, 32% 15%, 45% 8%, 58% 12%, 72% 8%, 85% 18%, 95% 32%, 100% 50%, 95% 65%, 80% 75%, 55% 80%, 30% 78%, 15% 72%)",kJ,"polygon(12% 58%, 2% 43%, 8% 28%, 20% 18%, 35% 12%, 48% 10%, 60% 14%, 75% 10%, 88% 20%, 97% 35%, 98% 52%, 92% 68%, 78% 78%, 52% 82%, 28% 80%, 13% 70%)"],null),"wave",new $APP.Q(null,2,[jJ,"polygon(0% 35%, 15% 20%, 30% 30%, 50% 15%, 70% 28%, 85% 18%, 100% 30%, 100% 75%, 85% 85%, 70% 72%, 50% 85%, 30% 75%, 15% 82%, 0% 70%)",
15
+ kJ,"polygon(0% 30%, 15% 25%, 30% 35%, 50% 20%, 70% 32%, 85% 22%, 100% 35%, 100% 70%, 85% 80%, 70% 68%, 50% 80%, 30% 70%, 15% 78%, 0% 65%)"],null)],null);$APP.ha("baredom.exports.x_organic_shape.init",KJ);export const init=KJ;