@vanelsas/baredom 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/custom-elements.json +3393 -2954
  3. package/dist/baredom.d.ts +86 -86
  4. package/dist/base.js +533 -524
  5. package/dist/integrity.json +103 -103
  6. package/dist/x-alert.js +16 -16
  7. package/dist/x-avatar-group.js +9 -9
  8. package/dist/x-avatar.js +14 -14
  9. package/dist/x-badge.js +9 -9
  10. package/dist/x-bento-grid.js +5 -5
  11. package/dist/x-bento-item.js +4 -4
  12. package/dist/x-breadcrumbs.js +14 -13
  13. package/dist/x-button.js +1 -1
  14. package/dist/x-cancel-dialogue.js +14 -13
  15. package/dist/x-card.d.ts +1 -1
  16. package/dist/x-card.js +7 -7
  17. package/dist/x-carousel.d.ts +3 -0
  18. package/dist/x-carousel.js +35 -33
  19. package/dist/x-chart.js +47 -47
  20. package/dist/x-checkbox.js +1 -1
  21. package/dist/x-chip.js +1 -1
  22. package/dist/x-collapse.d.ts +1 -0
  23. package/dist/x-collapse.js +11 -10
  24. package/dist/x-color-picker.js +46 -45
  25. package/dist/x-combobox.d.ts +2 -0
  26. package/dist/x-combobox.js +30 -26
  27. package/dist/x-command-palette.d.ts +3 -0
  28. package/dist/x-command-palette.js +28 -26
  29. package/dist/x-confetti.js +24 -24
  30. package/dist/x-container.js +5 -6
  31. package/dist/x-context-menu.d.ts +4 -0
  32. package/dist/x-context-menu.js +21 -20
  33. package/dist/x-copy.js +20 -20
  34. package/dist/x-currency-field.d.ts +2 -0
  35. package/dist/x-currency-field.js +24 -23
  36. package/dist/x-date-picker.d.ts +3 -0
  37. package/dist/x-date-picker.js +42 -42
  38. package/dist/x-divider.js +10 -9
  39. package/dist/x-drawer.js +11 -10
  40. package/dist/x-dropdown.d.ts +3 -0
  41. package/dist/x-dropdown.js +12 -11
  42. package/dist/x-fieldset.js +6 -5
  43. package/dist/x-file-download.js +7 -7
  44. package/dist/x-file-upload.d.ts +2 -0
  45. package/dist/x-file-upload.js +23 -22
  46. package/dist/x-form-field.js +15 -15
  47. package/dist/x-form.d.ts +4 -0
  48. package/dist/x-form.js +10 -9
  49. package/dist/x-gaussian-blur.js +13 -12
  50. package/dist/x-grid.js +6 -7
  51. package/dist/x-i18n-provider.js +7 -7
  52. package/dist/x-i18n.js +4 -4
  53. package/dist/x-icon.js +7 -7
  54. package/dist/x-image.js +17 -17
  55. package/dist/x-kbd.js +16 -16
  56. package/dist/x-kinetic-canvas.js +26 -25
  57. package/dist/x-kinetic-font.js +27 -27
  58. package/dist/x-kinetic-typography.js +35 -33
  59. package/dist/x-liquid-dock.js +34 -38
  60. package/dist/x-liquid-fill.js +42 -45
  61. package/dist/x-liquid-glass.js +41 -47
  62. package/dist/x-menu-item.js +8 -8
  63. package/dist/x-menu.js +10 -11
  64. package/dist/x-metaball-cursor.js +23 -26
  65. package/dist/x-modal.js +12 -11
  66. package/dist/x-morph-stack.d.ts +4 -0
  67. package/dist/x-morph-stack.js +37 -37
  68. package/dist/x-multi-combobox.js +36 -36
  69. package/dist/x-navbar.js +15 -12
  70. package/dist/x-neural-glow.js +30 -33
  71. package/dist/x-notification-center.d.ts +2 -0
  72. package/dist/x-notification-center.js +9 -9
  73. package/dist/x-organic-divider.js +18 -17
  74. package/dist/x-organic-progress.js +35 -37
  75. package/dist/x-organic-shape.js +14 -13
  76. package/dist/x-otp-input.js +22 -22
  77. package/dist/x-pagination.js +14 -15
  78. package/dist/x-particle-button.js +51 -51
  79. package/dist/x-popover.d.ts +3 -0
  80. package/dist/x-popover.js +27 -25
  81. package/dist/x-progress-circle.d.ts +3 -0
  82. package/dist/x-progress-circle.js +9 -9
  83. package/dist/x-progress.js +8 -10
  84. package/dist/x-proximity-list.js +20 -20
  85. package/dist/x-radio.js +11 -11
  86. package/dist/x-ripple-effect.js +10 -11
  87. package/dist/x-scroll-parallax.js +17 -18
  88. package/dist/x-scroll-stack.js +16 -17
  89. package/dist/x-scroll-story.js +33 -34
  90. package/dist/x-scroll-timeline.js +46 -45
  91. package/dist/x-scroll.d.ts +3 -0
  92. package/dist/x-scroll.js +38 -40
  93. package/dist/x-search-field.d.ts +2 -0
  94. package/dist/x-search-field.js +1 -1
  95. package/dist/x-select.js +1 -1
  96. package/dist/x-sidebar.js +18 -17
  97. package/dist/x-skeleton-group.js +12 -12
  98. package/dist/x-skeleton.js +1 -1
  99. package/dist/x-slider.js +16 -15
  100. package/dist/x-soft-body.js +20 -22
  101. package/dist/x-spacer.js +4 -4
  102. package/dist/x-spinner.js +4 -4
  103. package/dist/x-splash.js +12 -13
  104. package/dist/x-spotlight-card.js +12 -12
  105. package/dist/x-stat.js +10 -10
  106. package/dist/x-stepper.js +13 -14
  107. package/dist/x-switch.js +11 -10
  108. package/dist/x-tab.js +7 -7
  109. package/dist/x-table-cell.js +21 -20
  110. package/dist/x-table-row.js +8 -8
  111. package/dist/x-table.d.ts +32 -32
  112. package/dist/x-table.js +13 -12
  113. package/dist/x-tabs.js +11 -11
  114. package/dist/x-text-area.js +19 -19
  115. package/dist/x-theme.js +25 -25
  116. package/dist/x-timeline-item.js +20 -20
  117. package/dist/x-timeline.js +8 -8
  118. package/dist/x-toast.d.ts +1 -0
  119. package/dist/x-toast.js +22 -22
  120. package/dist/x-toaster.js +7 -8
  121. package/dist/x-tooltip.d.ts +2 -0
  122. package/dist/x-tooltip.js +12 -12
  123. package/dist/x-trace-history.js +120 -117
  124. package/dist/x-typography.js +9 -9
  125. package/dist/x-welcome-tour.js +63 -61
  126. package/package.json +4 -2
@@ -12,6 +12,8 @@ export interface XNotificationCenter extends HTMLElement {
12
12
  position: string;
13
13
  max: number;
14
14
  readonly count: number;
15
+ push(opts: Record<string, any>): string;
16
+ clear(): void;
15
17
 
16
18
  addEventListener<K extends keyof XNotificationCenterEventMap>(
17
19
  type: K,
@@ -1,10 +1,10 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var Ks=function(a){return typeof a==="string"&&$APP.$c(Js,a.toLowerCase())?a.toLowerCase():"top-right"},Ls=function(a){if(a==null)return 5;a=parseInt(""+$APP.V.i(a),10);return typeof a==="number"&&$APP.p(isNaN(a))&&a>0?a:5},Ms=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")},Ns=function(a){var b=a.getAttribute("position");b=Ks(b);$APP.S(a,"data-position",b)},Os=function(a){function b(d){var e=Ms(a),f=$APP.k(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");f=f.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var l=d.detail.reason;d=d.detail.text;
4
- $APP.Nh(a,"x-notification-center-dismiss",{id:e,type:$APP.n(h)?h:"info",reason:$APP.n(l)?l:"",text:$APP.n(d)?d:"",count:f});f===0&&$APP.Nh(a,"x-notification-center-empty",{});return null}var c=Ms(a);$APP.k(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.ja(a,"__xNcHandlers",{dismiss:b})},Ps=function(a){var b=$APP.k(a,"__xNcHandlers"),c=$APP.k(a,"__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}));
5
- a.__xNcHandlers=null},Rs=function(a,b){var c=Ms(a);c=$APP.k(c,"container");if(c.querySelectorAll("x-alert").length<function(){var r=$APP.k(a,"__xNcMax");return $APP.n(r)?r:5}()){var d=document.createElement("x-alert"),e=function(){var r=$APP.k(b,"id");$APP.n(r)||(r=Qs.v,Qs.v=r+1,r="xnc-"+$APP.V.i(r));return r}(),f=$APP.k(b,"type"),h=$APP.k(b,"text"),l=$APP.k(b,"icon"),m=$APP.k(b,"timeoutMs"),q=$APP.k(b,"dismissible");d.setAttribute("data-notification-id",e);$APP.n(f)&&d.setAttribute("type",f);$APP.n(h)&&
6
- d.setAttribute("text",h);$APP.n(l)&&d.setAttribute("icon",l);$APP.n(m)&&d.setAttribute("timeout-ms",""+$APP.V.i(m|0));q===!1&&d.setAttribute("dismissible","false");c.appendChild(d);$APP.Nh(a,"x-notification-center-push",{id:e,count:c.querySelectorAll("x-alert").length});return e}return null},Ss=function(a){Object.defineProperty(a,"position",{get:function(){return Ks(this.getAttribute("position"))},set:function(b){return $APP.n(b)?this.setAttribute("position",""+$APP.V.i(b)):this.removeAttribute("position")},
7
- enumerable:!0,configurable:!0});Object.defineProperty(a,"max",{get:function(){return Ls(this.getAttribute("max"))},set:function(b){return $APP.n(b)?this.setAttribute("max",""+$APP.V.i(b|0)):this.removeAttribute("max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.k(this,"__xNcRefs");return $APP.n(b)?$APP.k(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},Ts=function(a){Ms(a);Ps(a);Os(a);Ns(a);return null},Us=function(a){Ps(a);
8
- return null},Vs=function(a,b){$APP.A.j(b,"position")?Ns(a):$APP.A.j(b,"max")&&(b=Ls(a.getAttribute("max")),a.__xNcMax=b);return null},Ws=function(a){a.push=function(b){return Rs(this,b)};return a.clear=function(){var b=Ms(this);b=$APP.t($APP.zc($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.Wc(c)?(b=$APP.Ab(c),e=$APP.Bb(c),c=b,d=$APP.y(b),b=e):($APP.u(c).remove(),b=$APP.w(c),c=null,d=0),e=0;else break;return null}},
9
- Ys=function(){return $APP.Ah("x-notification-center",new $APP.O(null,5,[$APP.qh,Xs,$APP.oh,Ts,$APP.lh,Us,$APP.kh,Vs,$APP.ph,function(a){Ss(a);return Ws(a)}],null))},Zs=function(){return Ys()};var Xs=["position","max"],Js=new $APP.pg(null,new $APP.O(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
10
- $APP.ce(["x-notification-center-push",new $APP.O(null,2,[$APP.U,new $APP.O(null,2,[$APP.Pp,$APP.X,$APP.jm,$APP.Y],null),$APP.Aq,!1],null),"x-notification-center-dismiss",new $APP.O(null,2,[$APP.U,new $APP.O(null,5,[$APP.Pp,$APP.X,$APP.Q,$APP.X,$APP.Ym,$APP.X,$APP.Rp,$APP.X,$APP.jm,$APP.Y],null),$APP.Aq,!1],null),"x-notification-center-empty",new $APP.O(null,2,[$APP.U,$APP.de,$APP.Aq,!1],null)]);var Qs={v:0};$APP.ha("baredom.exports.x_notification_center.init",Zs);export const init=Zs;
2
+ var ju=function(a){return typeof a==="string"&&$APP.$c(iu,a.toLowerCase())?a.toLowerCase():"top-right"},ku=function(a){if(a==null)return 5;a=parseInt(""+$APP.P.i(a),10);return typeof a==="number"&&$APP.p(isNaN(a))&&a>0?a:5},lu=function(a){var b=$APP.l(a,"__xNcRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div");c.textContent=":host{display:block;position:fixed;z-index:var(--x-notification-center-z-index,9999);--x-notification-center-width:360px;--x-notification-center-gap:8px;--x-notification-center-offset-x:16px;--x-notification-center-offset-y:16px;--x-notification-center-z-index:9999;pointer-events:none;}:host([data-position\x3d'top-right']){top:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-left']){top:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-right']){bottom:var(--x-notification-center-offset-y);right:var(--x-notification-center-offset-x);}:host([data-position\x3d'bottom-left']){bottom:var(--x-notification-center-offset-y);left:var(--x-notification-center-offset-x);}:host([data-position\x3d'top-center']){top:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}:host([data-position\x3d'bottom-center']){bottom:var(--x-notification-center-offset-y);left:50%;transform:translateX(-50%);}[part\x3dcontainer]{display:flex;flex-direction:column;gap:var(--x-notification-center-gap);width:var(--x-notification-center-width);pointer-events:auto;}:host([data-position\x3d'bottom-right']) [part\x3dcontainer],:host([data-position\x3d'bottom-left']) [part\x3dcontainer],:host([data-position\x3d'bottom-center']) [part\x3dcontainer]{flex-direction:column-reverse;}";
3
+ $APP.T(d,"part","container");$APP.T(d,"role","log");$APP.T(d,"aria-live","polite");b.appendChild(c);b.appendChild(d);$APP.R(a,"__xNcRefs",{root:b,container:d});return $APP.l(a,"__xNcRefs")},mu=function(a){var b=a.getAttribute("position");b=ju(b);return $APP.T(a,"data-position",b)},nu=function(a){function b(d){var e=lu(a),f=$APP.l(e,"container"),h=d.target;e=h.getAttribute("data-notification-id");f=f.querySelectorAll("x-alert").length-1;h=h.getAttribute("type");var k=d.detail.reason;d=d.detail.text;
4
+ $APP.pi(a,"x-notification-center-dismiss",{id:e,type:$APP.n(h)?h:"info",reason:$APP.n(k)?k:"",text:$APP.n(d)?d:"",count:f});return f===0?$APP.pi(a,"x-notification-center-empty",{}):null}var c=lu(a);$APP.l(c,"root").addEventListener("x-alert-dismiss",b,{capture:!1});$APP.R(a,"__xNcHandlers",{dismiss:b})},ou=function(a){var b=$APP.l(a,"__xNcHandlers"),c=$APP.l(a,"__xNcRefs");$APP.n($APP.n(b)?c:b)&&(c=$APP.l(c,"root"),b=$APP.l(b,"dismiss"),$APP.n(b)&&c.removeEventListener("x-alert-dismiss",b,{capture:!1}));
5
+ return $APP.R(a,"__xNcHandlers",null)},qu=function(a,b){var c=lu(a);c=$APP.l(c,"container");if(c.querySelectorAll("x-alert").length<function(){var u=$APP.l(a,"__xNcMax");return $APP.n(u)?u:5}()){var d=document.createElement("x-alert"),e=function(){var u=$APP.l(b,"id");$APP.n(u)||(u=pu.v,pu.v=u+1,u="xnc-"+$APP.P.i(u));return u}(),f=$APP.l(b,"type"),h=$APP.l(b,"text"),k=$APP.l(b,"icon"),m=$APP.l(b,"timeoutMs"),q=$APP.l(b,"dismissible");$APP.T(d,"data-notification-id",e);$APP.n(f)&&$APP.T(d,"type",f);
6
+ $APP.n(h)&&$APP.T(d,"text",h);$APP.n(k)&&$APP.T(d,"icon",k);$APP.n(m)&&$APP.T(d,"timeout-ms",""+$APP.P.i(m|0));q===!1&&$APP.T(d,"dismissible","false");c.appendChild(d);$APP.pi(a,"x-notification-center-push",{id:e,count:c.querySelectorAll("x-alert").length});return e}return null},ru=function(a){Object.defineProperty(a,"position",{get:function(){return ju(this.getAttribute("position"))},set:function(b){return $APP.n(b)?$APP.T(this,"position",""+$APP.P.i(b)):$APP.U(this,"position")},enumerable:!0,configurable:!0});
7
+ Object.defineProperty(a,"max",{get:function(){return ku(this.getAttribute("max"))},set:function(b){return $APP.n(b)?$APP.T(this,"max",""+$APP.P.i(b|0)):$APP.U(this,"max")},enumerable:!0,configurable:!0});Object.defineProperty(a,"count",{get:function(){var b=$APP.l(this,"__xNcRefs");return $APP.n(b)?$APP.l(b,"container").querySelectorAll("x-alert").length:0},enumerable:!0,configurable:!0})},su=function(a){lu(a);ou(a);nu(a);return mu(a)},tu=function(a){return ou(a)},uu=function(a,b){return $APP.y.j(b,
8
+ "position")?mu(a):$APP.y.j(b,"max")?$APP.R(a,"__xNcMax",ku(a.getAttribute("max"))):null},vu=function(a){Object.defineProperty(a,"push",{value:function(b){return qu(this,b)},writable:!0,configurable:!0});return Object.defineProperty(a,"clear",{value:function(){a:{var b=lu(this);b=$APP.r($APP.Ac($APP.l(b,"container").querySelectorAll("x-alert")));for(var c=null,d=0,e=0;;)if(e<d){var f=c.F(null,e);f.remove();e+=1}else if(b=$APP.r(b))c=b,$APP.Wc(c)?(b=$APP.Cb(c),d=$APP.Db(c),c=b,f=$APP.w(b),b=d,d=f):
9
+ (f=$APP.t(c),f.remove(),b=$APP.v(c),c=null,d=0),e=0;else{b=null;break a}b=void 0}return b},writable:!0,configurable:!0})},xu=function(){return $APP.Kh("x-notification-center",new $APP.N(null,5,[$APP.Bh,wu,$APP.zh,su,$APP.qh,tu,$APP.ph,uu,$APP.Ah,function(a){ru(a);return vu(a)}],null))},yu=function(){return xu()};var wu=["position","max"],iu=new $APP.rg(null,new $APP.N(null,6,["top-center",null,"bottom-center",null,"top-right",null,"bottom-right",null,"top-left",null,"bottom-left",null],null),null);
10
+ $APP.be(["x-notification-center-push",new $APP.N(null,2,[$APP.V,new $APP.N(null,2,[$APP.ar,$APP.Y,$APP.gn,$APP.Z],null),$APP.Mr,!1],null),"x-notification-center-dismiss",new $APP.N(null,2,[$APP.V,new $APP.N(null,5,[$APP.ar,$APP.Y,$APP.O,$APP.Y,$APP.$n,$APP.Y,$APP.cr,$APP.Y,$APP.gn,$APP.Z],null),$APP.Mr,!1],null),"x-notification-center-empty",new $APP.N(null,2,[$APP.V,$APP.ce,$APP.Mr,!1],null)]);var pu={v:0};$APP.fa("baredom.exports.x_notification_center.init",yu);export const init=yu;
@@ -1,18 +1,19 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var s0=function(a){return typeof a==="string"&&$APP.$c(bfa,a)?a:"wave"},cfa=function(a){return $APP.ze(function(b){return new $APP.O(null,2,[t0,b*20,u0,b*8],null)},$APP.Eg(0,a))},B0=function(a){var b=new $APP.O(null,7,[$APP.mo,a.getAttribute("shape"),$APP.on,a.getAttribute("layers"),$APP.ol,a.getAttribute("height"),v0,a.getAttribute("flip"),w0,a.getAttribute("mirror"),$APP.ml,a.getAttribute("animation"),$APP.lp,a.getAttribute("path")],null);var c=$APP.G(b),d=$APP.C(c,$APP.mo),e=$APP.C(c,$APP.on);
3
- b=$APP.C(c,$APP.ol);var f=$APP.C(c,v0),h=$APP.C(c,w0),l=$APP.C(c,$APP.ml);c=$APP.C(c,$APP.lp);c=$APP.li(c);d=s0(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 q=typeof l==="string"&&$APP.$c(dfa,l)?l:"none";l=c!=null?c:$APP.Be(x0,new $APP.M(null,2,5,$APP.N,[s0(d),$APP.lp],null));m=c==null?$APP.Be(x0,new $APP.M(null,2,5,$APP.N,[s0(d),y0],null)):null;var r=c!=null?c:$APP.C(efa,s0(d));q=$APP.A.j(q,"morph")&&m==null?"none":q;f=f!=
4
- null;var v=cfa(e);h=h!=null;b=typeof b==="string"&&$APP.I("",b.trim())?b.trim():"120px";b=$APP.Wf([$APP.lp,$APP.Xn,$APP.ml,v0,z0,y0,$APP.mo,$APP.on,w0,$APP.ol,A0],[c,l,q,f,v,m,d,e,h,b,r]);l=$APP.G(b);b=$APP.C(l,w0);h=$APP.C(l,$APP.ol);v=$APP.C(l,A0);var x=$APP.C(l,$APP.Xn);c=$APP.C(l,$APP.ml);d=$APP.C(l,v0);f=$APP.C(l,z0);e=$APP.C(l,y0);l=$APP.C(l,$APP.on);m=$APP.k(a,"__xOrganicDividerBase");var z=$APP.k(a,"__xOrganicDividerSvg");r=$APP.k(a,"__xOrganicDividerPaths");var B=$APP.A.j(c,"drift");q=$APP.A.j(c,
5
- "morph");v=B?v:x;z.setAttribute("viewBox",B?"0 0 1800 120":"0 0 1200 120");a:if(x=r.length,x<l)for(x=l-x,B=0;;)if(B<x){var E=document.createElementNS("http://www.w3.org/2000/svg","path");z.appendChild(E);r.push(E);B+=1}else break a;else if(x>l)for(x-=l,B=0;;)if(B<x)E=r.pop(),z.removeChild(E),B+=1;else break a;for(z=0;;)if(z<l){x=r[z];B=$APP.tc(f,z);E=$APP.G(B);B=$APP.C(E,t0);E=$APP.C(E,u0);var H=z+1;x.setAttribute("d",v);x.setAttribute("fill","var(--x-organic-divider-color-"+$APP.V.i(H)+")");x.setAttribute("opacity",
6
- ""+$APP.V.i(l<=1?1:.3+z/(l-1)*.7));B>0||E>0?x.setAttribute("transform","translate("+$APP.V.i(B)+","+$APP.V.i(E)+")"):x.removeAttribute("transform");q&&(x.style.setProperty("--x-organic-divider-d",'path("'+$APP.V.i(v)+'")'),$APP.n(e)&&x.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.V.i(e)+'")'));q||(x.style.removeProperty("--x-organic-divider-d"),x.style.removeProperty("--x-organic-divider-d-alt"));z+=1}else break;m.style.setProperty("height",h);$APP.n(d)?$APP.S(a,"data-flip",""):$APP.T(a,
7
- "data-flip");$APP.n(b)?$APP.S(a,"data-mirror",""):$APP.T(a,"data-mirror");$APP.I(c,"none")?$APP.S(a,"data-animation",c):$APP.T(a,"data-animation")},ffa=function(a){if(!$APP.n($APP.k(a,"__xOrganicDividerInit"))){var b=a.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;}}";
8
- 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);$APP.S(a,"role","presentation");$APP.S(a,"aria-hidden","true");a.__xOrganicDividerBase=d;a.__xOrganicDividerSvg=e;a.__xOrganicDividerPaths=[];a.__xOrganicDividerInit=!0}B0(a);return null},gfa=function(a,b,c,d){$APP.I(c,d)&&$APP.n($APP.k(a,"__xOrganicDividerInit"))&&B0(a);return null},
9
- hfa=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.I("",b)?this.setAttribute("shape",b):this.removeAttribute("shape")},enumerable:!0,configurable:!0});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.I("",b)?this.setAttribute("layers",b):this.removeAttribute("layers")},enumerable:!0,
10
- 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.I("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,configurable:!0});$APP.Sh(a,"flip","flip");$APP.Sh(a,"mirror","mirror");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.I("",
11
- b)?this.setAttribute("animation",b):this.removeAttribute("animation")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.I("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0})},C0=function(){return $APP.Ah("x-organic-divider",new $APP.O(null,4,[$APP.qh,ifa,$APP.oh,ffa,$APP.kh,gfa,$APP.ph,hfa],null))},v0=new $APP.F(null,"flip","flip",2033871302),
12
- z0=new $APP.F(null,"transforms","transforms",793344554),t0=new $APP.F(null,"x-offset","x-offset",-1499732449),y0=new $APP.F(null,"path-alt","path-alt",1724994068),u0=new $APP.F(null,"y-offset","y-offset",-1716542),A0=new $APP.F(null,"drift-d","drift-d",-1241526977),w0=new $APP.F(null,"mirror","mirror",1914600218);var ifa="shape layers height flip mirror animation path".split(" "),dfa=new $APP.pg(null,new $APP.O(null,3,["none",null,"drift",null,"morph",null],null),null),bfa=new $APP.pg(null,new $APP.O(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),x0=new $APP.O(null,8,["wave",new $APP.O(null,2,[$APP.lp,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",y0,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
13
- null),"waves",new $APP.O(null,2,[$APP.lp,"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",y0,"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.O(null,2,[$APP.lp,"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",y0,"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"],
14
- null),"mountain",new $APP.O(null,2,[$APP.lp,"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",y0,"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.O(null,2,[$APP.lp,"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",
15
- y0,"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.O(null,2,[$APP.lp,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",y0,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.O(null,2,
16
- [$APP.lp,"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",y0,"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.O(null,2,[$APP.lp,"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",
17
- y0,"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),efa=new $APP.O(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(";"),
18
- null);$APP.ha("baredom.exports.x_organic_divider.init",C0);export const init=C0;
2
+ var e0=function(a){return typeof a==="string"&&$APP.$c(Dha,a)?a:"wave"},Eha=function(a){return $APP.xe(function(b){return new $APP.N(null,2,[f0,b*20,g0,b*8],null)},$APP.Jg(0,a))},n0=function(a){var b=new $APP.N(null,7,[$APP.Ep,a.getAttribute("shape"),$APP.qo,a.getAttribute("layers"),$APP.Wl,a.getAttribute("height"),h0,a.getAttribute("flip"),i0,a.getAttribute("mirror"),$APP.Ul,a.getAttribute("animation"),$APP.xq,a.getAttribute("path")],null);var c=$APP.H(b),d=$APP.C(c,$APP.Ep),e=$APP.C(c,$APP.qo),
3
+ f=$APP.C(c,$APP.Wl);b=$APP.C(c,h0);var h=$APP.C(c,i0),k=$APP.C(c,$APP.Ul);c=$APP.C(c,$APP.xq);c=$APP.Yh(c);d=e0(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 q=typeof k==="string"&&$APP.$c(Fha,k)?k:"none";k=c!=null?c:$APP.ze(j0,new $APP.K(null,2,5,$APP.M,[e0(d),$APP.xq],null));m=c==null?$APP.ze(j0,new $APP.K(null,2,5,$APP.M,[e0(d),k0],null)):null;var u=c!=null?c:$APP.C(Gha,e0(d));q=$APP.y.j(q,"morph")&&m==null?"none":q;var x=
4
+ Eha(e);f=typeof f==="string"&&$APP.I("",f.trim())?f.trim():"120px";b=$APP.Yf([$APP.xq,$APP.pp,$APP.Ul,h0,l0,k0,$APP.Ep,$APP.qo,i0,$APP.Wl,m0],[c,k,q,b!=null,x,m,d,e,h!=null,f,u]);if($APP.I(b,$APP.l(a,"__xOrganicDividerModel"))){b=$APP.H(b);u=$APP.C(b,$APP.pp);h=$APP.C(b,k0);var z=$APP.C(b,m0);f=$APP.C(b,$APP.qo);c=$APP.C(b,l0);d=$APP.C(b,$APP.Wl);m=$APP.C(b,$APP.Ul);k=$APP.l(a,"__xOrganicDividerBase");q=$APP.l(a,"__xOrganicDividerSvg");e=$APP.l(a,"__xOrganicDividerPaths");x=$APP.y.j(m,"drift");m=
5
+ $APP.y.j(m,"morph");u=x?z:u;$APP.T(q,"viewBox",x?"0 0 1800 120":"0 0 1200 120");x=e.length;if(x<f)for(x=f-x,z=0;;)if(z<x){var A=document.createElementNS("http://www.w3.org/2000/svg","path");q.appendChild(A);e.push(A);z+=1}else break;else if(x>f)for(x-=f,z=0;;)if(z<x)A=e.pop(),q.removeChild(A),z+=1;else break;for(q=0;;)if(q<f){x=e[q];z=$APP.vc(c,q);A=$APP.H(z);z=$APP.C(A,f0);A=$APP.C(A,g0);var D=q+1;$APP.T(x,"d",u);$APP.T(x,"fill","var(--x-organic-divider-color-"+$APP.P.i(D)+")");$APP.T(x,"opacity",
6
+ ""+$APP.P.i(f<=1?1:.3+q/(f-1)*.7));z>0||A>0?$APP.T(x,"transform","translate("+$APP.P.i(z)+","+$APP.P.i(A)+")"):$APP.U(x,"transform");$APP.n(m)?(x.style.setProperty("--x-organic-divider-d",'path("'+$APP.P.i(u)+'")'),$APP.n(h)&&x.style.setProperty("--x-organic-divider-d-alt",'path("'+$APP.P.i(h)+'")')):(x.style.removeProperty("--x-organic-divider-d"),x.style.removeProperty("--x-organic-divider-d-alt"));q+=1}else break;k.style.setProperty("height",d);c=$APP.H(b);h=$APP.C(c,h0);f=$APP.C(c,i0);c=$APP.C(c,
7
+ $APP.Ul);$APP.n(h)?$APP.T(a,"data-flip",""):$APP.U(a,"data-flip");$APP.n(f)?$APP.T(a,"data-mirror",""):$APP.U(a,"data-mirror");$APP.I(c,"none")?$APP.T(a,"data-animation",c):$APP.U(a,"data-animation");a=$APP.R(a,"__xOrganicDividerModel",b)}else a=null;return a},Hha=function(a){if(!$APP.n($APP.l(a,"__xOrganicDividerInit"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElementNS("http://www.w3.org/2000/svg","svg");c.textContent=
8
+ ":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;}}";
9
+ $APP.T(d,"part","base");$APP.T(e,"xmlns","http://www.w3.org/2000/svg");$APP.T(e,"preserveAspectRatio","none");$APP.T(e,"aria-hidden","true");d.appendChild(e);b.appendChild(c);b.appendChild(d);$APP.T(a,"role","presentation");$APP.T(a,"aria-hidden","true");$APP.R(a,"__xOrganicDividerBase",d);$APP.R(a,"__xOrganicDividerSvg",e);$APP.R(a,"__xOrganicDividerPaths",[]);$APP.R(a,"__xOrganicDividerInit",!0)}return n0(a)},Iha=function(a,b,c,d){return $APP.I(c,d)?$APP.n($APP.l(a,"__xOrganicDividerInit"))?n0(a):
10
+ null:null},Jha=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.I("",b)?$APP.T(this,"shape",b):$APP.U(this,"shape")},enumerable:!0,configurable:!0});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.I("",b)?$APP.T(this,"layers",b):$APP.U(this,"layers")},enumerable:!0,configurable:!0});
11
+ 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.I("",b)?$APP.T(this,"height",b):$APP.U(this,"height")},enumerable:!0,configurable:!0});$APP.ui(a,"flip","flip");$APP.ui(a,"mirror","mirror");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.I("",b)?$APP.T(this,"animation",b):
12
+ $APP.U(this,"animation")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"path",b):$APP.U(this,"path")},enumerable:!0,configurable:!0})},o0=function(){return $APP.Kh("x-organic-divider",new $APP.N(null,4,[$APP.Bh,Kha,$APP.zh,Hha,$APP.ph,Iha,$APP.Ah,Jha],null))},h0=new $APP.F(null,"flip","flip",2033871302),l0=new $APP.F(null,"transforms","transforms",793344554),
13
+ f0=new $APP.F(null,"x-offset","x-offset",-1499732449),k0=new $APP.F(null,"path-alt","path-alt",1724994068),g0=new $APP.F(null,"y-offset","y-offset",-1716542),m0=new $APP.F(null,"drift-d","drift-d",-1241526977),i0=new $APP.F(null,"mirror","mirror",1914600218);var Kha="shape layers height flip mirror animation path".split(" "),Fha=new $APP.rg(null,new $APP.N(null,3,["none",null,"drift",null,"morph",null],null),null),Dha=new $APP.rg(null,new $APP.N(null,8,["drip",null,"cloud",null,"scallop",null,"waves",null,"mountain",null,"slant",null,"blob-edge",null,"wave",null],null),null),j0=new $APP.N(null,8,["wave",new $APP.N(null,2,[$APP.xq,"M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z",k0,"M0,45 C200,85 400,15 600,55 C800,90 1000,10 1200,50 L1200,120 L0,120 Z"],
14
+ null),"waves",new $APP.N(null,2,[$APP.xq,"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",k0,"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.N(null,2,[$APP.xq,"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",k0,"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"],
15
+ null),"mountain",new $APP.N(null,2,[$APP.xq,"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",k0,"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.N(null,2,[$APP.xq,"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",
16
+ k0,"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.N(null,2,[$APP.xq,"M0,100 C300,90 600,30 900,10 C1000,5 1100,2 1200,0 L1200,120 L0,120 Z",k0,"M0,80 C300,70 600,50 900,30 C1000,20 1100,10 1200,20 L1200,120 L0,120 Z"],null),"scallop",new $APP.N(null,2,
17
+ [$APP.xq,"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",k0,"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.N(null,2,[$APP.xq,"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",
18
+ k0,"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),Gha=new $APP.N(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(";"),
19
+ null);$APP.fa("baredom.exports.x_organic_divider.init",o0);export const init=o0;
@@ -1,39 +1,37 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var a8=function(a){return typeof a==="string"&&(a=a.trim(),$APP.I(a,""))?(a=parseFloat(a),$APP.n(isNaN(a))?null:Math.min(100,Math.max(0,a))):null},b8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(yka,a)?a:"vine"},c8=function(a){return a==null?!0:$APP.I((""+$APP.V.i(a)).trim().toLowerCase(),"false")},d8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(zka,a)?a:"normal"},e8=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a===
3
- "number"&&$APP.p(isNaN(a))&&a>0?a:42):42},f8=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},g8=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},h8=function(a){a=(typeof a==="number"&&$APP.p(isNaN(a))&&a>0?Math.floor(a):42)|0;return[a===0?1:a]},i8=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},Bka=function(a,b){var c=(a+b)*Aka,d=Math.floor(a+c);c=Math.floor(b+c);var e=(d+c)*j8,f=a-(d-e),h=b-(c-e),
4
- l=f>h?1:0,m=f>h?0:1,q=f+-l-j8,r=h+-m-j8,v=f+-1-2*j8,x=h+-1-2*j8,z=d&255,B=c&255,E=.5-f*f-h*h,H=.5-q*q-r*r,K=.5-v*v-x*x;return 70*((E<0?0:function(){var J=E*E,P=k8[l8[z+l8[B&255]&255]&11];return J*J*(P[0]*f+P[1]*h)}())+(H<0?0:function(){var J=H*H,P=k8[l8[z+l+l8[B+m&255]&255]&11];return J*J*(P[0]*q+P[1]*r)}())+(K<0?0:function(){var J=K*K,P=k8[l8[z+1+l8[B+1&255]&255]&11];return J*J*(P[0]*v+P[1]*x)}()))},Cka=function(a){var b=a*17.31,c=a*31.17;return function(d,e){return Bka(d+b,e+c)}},Dka=function(a,
5
- b,c){var d=[],e=[];c=h8(c);for(var f=[0],h=[20,100,0,0],l=a.length,m=0;;)if(m<l){switch(a.charAt(m)){case "F":var q=h[0],r=h[1],v=h[2],x=h[3],z=f[0],B=38*Math.pow(.7,x)*(.8+.4*i8(c)),E=function(){var K=z*.3;var J=x*.5;K=b.j?b.j(K,J):b.call(null,K,J);return v+.15*K}(),H=q+B*Math.cos(E);B=r+B*Math.sin(E);d.push({x1:q,y1:r,x2:H,y2:B,depth:x,index:z});h[0]=H;h[1]=B;f[0]=z+1;break;case "+":q=function(){var K=f[0]*.2;return b.j?b.j(K,100):b.call(null,K,100)}();h[2]-=.436+.1*q;break;case "-":q=function(){var K=
6
- f[0]*.2;return b.j?b.j(K,200):b.call(null,K,200)}();h[2]+=.436+.1*q;break;case "[":e.push([h[0],h[1],h[2],h[3]]);h[3]+=1;break;case "]":e.length>0&&(q=e.pop(),h[0]=q[0],h[1]=q[1],h[2]=q[2],h[3]=q[3])}m+=1}else break;d.sort(function(K,J){var P=$APP.k(K,"x2")-20;K=$APP.k(K,"y2")-100;var ea=$APP.k(J,"x2")-20;J=$APP.k(J,"y2")-100;return P*P+K*K-(ea*ea+J*J)});return[d,d.length]},Eka=function(a,b,c,d){a=""+$APP.V.i(a.toFixed(1))+","+$APP.V.i(b.toFixed(1));c=""+$APP.V.i(c.toFixed(1))+","+$APP.V.i(d.toFixed(1));
7
- return $APP.ad(a,c)<0?""+$APP.V.i(a)+"-"+$APP.V.i(c):""+$APP.V.i(c)+"-"+$APP.V.i(a)},Gka=function(a,b){b=$APP.Hc(Fka,b,25);var c=h8(a),d=1.5*b,e=Math.sqrt(3)*b,f=Math.ceil(800/d)+4,h=Math.ceil(200/e)+4;a=[];for(var l=Math.sqrt(17E4),m=-2;;)if(m<f){for(var q=m*d,r=$APP.he(m)?0:e/2,v=-2;;)if(v<h){var x=v*e+r;if(q>0-b&&q<800+b&&x>0-b&&x<200+b){var z=q-400,B=x-100;z=Math.sqrt(z*z+B*B);B=z*.7+i8(c)*.3*l;a.push({cx:q,cy:x,dist:z,key:B})}v+=1}else break;m+=1}else break;a.sort(function(K,J){return $APP.k(K,
8
- "key")-$APP.k(J,"key")});c={};d=[];e=[0];f=a.length;for(h=0;;)if(h<f){r=a[h];m=$APP.k(r,"cx");q=$APP.k(r,"cy");r=Math.min(2,Math.floor($APP.k(r,"dist")*3/(l+.001)));for(v=0;;)if(v<6){z=Math.PI/3*v;var E=Math.PI/3*(v+1);x=m+b*Math.cos(z);z=q+b*Math.sin(z);B=m+b*Math.cos(E);E=q+b*Math.sin(E);var H=Eka(x,z,B,E);$APP.n($APP.k(c,H))||(c[H]=!0,H=e[0],d.push({x1:x,y1:z,x2:B,y2:E,depth:r,index:H}),e[0]=H+1);v+=1}else break;h+=1}else break;return[d,d.length]},Hka=function(a,b,c,d){b=c+(120*(b-a)-12*c)*d;return[a+
9
- b*d,b]},m8=function(){return $APP.D(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},r8=function(a){a=new $APP.O(null,7,[$APP.fo,a.getAttribute("progress"),$APP.Lp,a.getAttribute("variant"),$APP.qr,a.getAttribute("color"),n8,a.getAttribute("bloom"),$APP.An,a.getAttribute("density"),o8,a.getAttribute("seed"),$APP.ui,a.getAttribute("label")],null);var b=$APP.G(a),c=$APP.C(b,$APP.fo);a=$APP.C(b,$APP.Lp);var d=$APP.C(b,$APP.qr),e=$APP.C(b,n8),f=$APP.C(b,$APP.An),h=$APP.C(b,o8);b=$APP.C(b,
10
- $APP.ui);c=a8(c);var l=c==null,m=$APP.n(c)?c:0,q=!l&&m>=100;return $APP.Wf([$APP.Aj,$APP.Un,$APP.nk,p8,q8,$APP.jr,$APP.Z,$APP.cq,$APP.Cp,$APP.qq,$APP.Ip],[l,g8(d),b8(a),c8(e),e8(h),l?"Loading...":""+$APP.V.i(Math.round(m))+"%",f8(b),m,q,c,d8(f)])},Ika=function(a,b){a=window.getComputedStyle(a).getPropertyValue("--x-organic-progress-branch-width").trim();return $APP.I(a,"")?(a=parseFloat(a),$APP.n(isNaN(a))?b:a):b},Jka=function(a,b,c){var d=$APP.G($APP.k(a,"__xOrganicProgressRefs")),e=$APP.C(d,s8);
11
- d=function(){var z=$APP.k(a,"__xOrganicProgressLines");return $APP.n(z)?z:[]}();for(var f=d.length,h=[],l=0;;)if(l<b){var m=l<f?d[l]:function(){var z=document.createElementNS("http://www.w3.org/2000/svg","line");z.setAttribute("stroke-linecap","round");e.appendChild(z);return z}(),q=c[l],r=$APP.k(q,"y1"),v=$APP.k(q,"x2"),x=$APP.k(q,"y2");m.setAttribute("x1",""+$APP.V.i($APP.k(q,"x1")));m.setAttribute("y1",""+$APP.V.i(r));m.setAttribute("x2",""+$APP.V.i(v));m.setAttribute("y2",""+$APP.V.i(x));m.setAttribute("opacity",
12
- "0");h.push(m);l+=1}else break;for(;;)if(b<f)e.removeChild(d[b]),b+=1;else break;a.__xOrganicProgressLines=h;a.__xOrganicProgressPV=-1},t8=function(a){var b=$APP.k(a,"__xOrganicProgressLines"),c=$APP.k(a,"__xOrganicProgressSegs"),d=$APP.k(a,"__xOrganicProgressSegN"),e=$APP.k(a,"__xOrganicProgressModel"),f=$APP.A.j($APP.nk.i(e),"honeycomb");e=$APP.Un.i(e);var h=$APP.n(e)?e:"var("+$APP.V.i("--x-organic-progress-color-primary")+","+$APP.V.i(f?"#818cf8":"#22c55e")+")",l="var("+$APP.V.i("--x-organic-progress-color-secondary")+
13
- ","+$APP.V.i(f?"#a5b4fc":"#16a34a")+")";a=Ika(a,f?1.5:3);if(f)for(f=0;;)if(f<d){e=b[f];var m=$APP.k(c[f],"depth");e.setAttribute("stroke-width",""+$APP.V.i(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"}}());f+=1}else break;else for(f=0;;)if(f<d){e=b[f];var q=$APP.k(c[f],"depth"),r=q===0?h:l;e.setAttribute("stroke-width",
14
- ""+$APP.V.i(Math.max(.5,a-q*.6)));e.style.stroke=r;e.setAttribute("stroke-linecap","round");e.setAttribute("stroke-opacity","1");f+=1}else break},Kka=function(a){var b=$APP.k(a,"__xOrganicProgressSPos"),c=$APP.k(a,"__xOrganicProgressSegN"),d=Math.floor(b/100*c),e=$APP.k(a,"__xOrganicProgressPV"),f=$APP.k(a,"__xOrganicProgressLines");if($APP.I(d,e)){c=Math.max(d,e<0?c:e);for(e=Math.min(d,e<0?0:e);;)if(e<c){var h=f[e];$APP.n(h)&&h.setAttribute("opacity",e<d?"1":"0");e+=1}else break;f=$APP.k(a,"__xOrganicProgressNodes");
15
- c=$APP.k(a,"__xOrganicProgressNN");c=$APP.n(c)?c:0;if($APP.n($APP.n(f)?c>0:f))for(b=Math.floor(b/100*c),e=0;;)if(e<c)h=f[e],$APP.n(h)&&h.setAttribute("opacity",e<b?"1":"0"),e+=1;else break;a.__xOrganicProgressPV=d}},Lka=function(a){var b=$APP.k(a,"__xOrganicProgressSegs"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.G($APP.k(a,"__xOrganicProgressRefs"));d=$APP.C(d,u8);var e=$APP.k(a,"__xOrganicProgressModel"),f="var("+$APP.V.i("--x-organic-progress-bloom-color")+",#f472b6)";e=h8(q8.i(e)+7);for(var h=
16
- [],l=0;;)if(l<c){var m=b[l];if($APP.k(m,"depth")>=2){var q=document.createElementNS("http://www.w3.org/2000/svg","circle"),r=$APP.k(m,"x2");m=$APP.k(m,"y2");var v=2*i8(e)-1,x=2*i8(e)-1;q.setAttribute("cx",""+$APP.V.i(r));q.setAttribute("cy",""+$APP.V.i(m));q.setAttribute("r","0");q.style.fill=f;q.setAttribute("opacity","0");q.setAttribute("class","bloom-petal");q.__xOrganicProgressBDx=v;q.__xOrganicProgressBDy=x;d.appendChild(q);h.push(q)}l+=1}else break;a.__xOrganicProgressBEls=h;a.__xOrganicProgressBloom=
17
- !0;a.__xOrganicProgressBT=0},Mka=function(a,b){b=$APP.k(a,"__xOrganicProgressBT")+b;var c=b/1.5;a.__xOrganicProgressBT=b;if(c>1){b=$APP.G($APP.k(a,"__xOrganicProgressRefs"));b=$APP.C(b,u8);c=$APP.k(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;a.__xOrganicProgressBEls=null;a.__xOrganicProgressBloom=!1;$APP.Nh(a,"x-organic-progress-bloom-end",{progress:100})}else for(a=$APP.k(a,"__xOrganicProgressBEls"),b=
18
- 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){f=a[e];var h=$APP.k(f,"__xOrganicProgressBDx")*b*8,l=$APP.k(f,"__xOrganicProgressBDy")*b*8;f.setAttribute("r",""+$APP.V.i(b*2.5));f.setAttribute("opacity",""+$APP.V.i(c));f.setAttribute("transform","translate("+$APP.V.i(h)+","+$APP.V.i(l)+")");e+=1}else break},Nka=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 v8(a)}))},w8=function(a){for(var b=$APP.k(a,"__xOrganicProgressModel"),c=$APP.k(a,"__xOrganicProgressSegN"),d=$APP.n($APP.Aj.i(b))?50:$APP.cq.i(b),e=Math.floor(d/100*c),f=$APP.k(a,"__xOrganicProgressLines"),h=0;;)if(h<c){var l=f[h];$APP.n(l)&&l.setAttribute("opacity",h<e?"1":"0");h+=1}else break;c=$APP.k(a,"__xOrganicProgressNodes");f=function(){var m=$APP.k(a,"__xOrganicProgressNN");
20
- return $APP.n(m)?m:0}();if($APP.n($APP.n(c)?f>0:c))for(d=Math.floor(d/100*f),h=0;;)if(h<f)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.Cp.i(b);return $APP.n(m)?$APP.p($APP.k(a,"__xOrganicProgressDone")):m}())&&(a.__xOrganicProgressDone=!0,$APP.Nh(a,"x-organic-progress-complete",{progress:100}))},z8=function(a,b){var c=r8(a);a.__xOrganicProgressModel=c;$APP.S(a,"role","progressbar");$APP.S(a,"aria-valuemin","0");$APP.S(a,
21
- "aria-valuemax","100");$APP.n($APP.Aj.i(c))?($APP.T(a,"aria-valuenow"),$APP.S(a,"aria-busy","true"),$APP.S(a,"aria-valuetext","Loading...")):($APP.S(a,"aria-valuenow",""+$APP.V.i(Math.round($APP.cq.i(c)))),$APP.T(a,"aria-busy"),$APP.S(a,"aria-valuetext",$APP.jr.i(c)));var d=$APP.Z.i(c);$APP.n(d)?$APP.S(a,"aria-label",d):$APP.T(a,"aria-label");if(b==null||$APP.$c(x8,b)){b=$APP.A.j($APP.nk.i(c),"honeycomb");d=$APP.Hc(Oka,$APP.Ip.i(c),3);if(b)c=Gka(q8.i(c),$APP.Ip.i(c));else{a:{for(var e=new $APP.O(null,
22
- 1,["F","F[+F]F[-F]F"],null),f="F",h=0;;){if(h>=d){d=f;break a}for(var l=[],m=f.length,q=0;;)if(q<m){var r=f.charAt(q),v=$APP.C(e,r);$APP.n(v)?l.push(v):l.push(r);q+=1}else break;h+=1;f=l.join("")}d=void 0}e=Cka(q8.i(c));c=Dka(d,e,q8.i(c))}d=c;c=d[0];d=d[1];a.__xOrganicProgressSegs=c;a.__xOrganicProgressSegN=d;Jka(a,d,c);d=$APP.G($APP.k(a,"__xOrganicProgressRefs"));c=$APP.C(d,s8);d=$APP.C(d,$APP.xn);$APP.n(c)&&($APP.n(b)?c.removeAttribute("filter"):c.setAttribute("filter","url(#x-organic-progress-gooey)"));
23
- $APP.n($APP.n(d)?$APP.p(b):d)&&d.setAttribute("stdDeviation","2");b=$APP.G($APP.k(a,"__xOrganicProgressRefs"));b=$APP.C(b,y8);c=$APP.k(a,"__xOrganicProgressNodes");if($APP.n($APP.n(b)?c:b))for(d=c.length,e=0;;)if(e<d)f=c[e],$APP.n(f.parentNode)&&b.removeChild(f),e+=1;else break;a.__xOrganicProgressNodes=null;a.__xOrganicProgressND=null;a.__xOrganicProgressNN=0;t8(a);a.__xOrganicProgressPV=-1;m8()&&w8(a)}},Pka=function(a){Object.defineProperty(a,"progress",{get:function(){return a8(this.getAttribute("progress"))},
24
- set:function(b){return b==null?this.removeAttribute("progress"):this.setAttribute("progress",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"variant",{get:function(){return b8(this.getAttribute("variant"))},set:function(b){return b==null?this.removeAttribute("variant"):this.setAttribute("variant",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return g8(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):
25
- this.setAttribute("color",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bloom",{get:function(){return c8(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 d8(this.getAttribute("density"))},set:function(b){return b==null?this.removeAttribute("density"):this.setAttribute("density",""+$APP.V.i(b))},enumerable:!0,
26
- configurable:!0});Object.defineProperty(a,"seed",{get:function(){return e8(this.getAttribute("seed"))},set:function(b){return b==null?this.removeAttribute("seed"):this.setAttribute("seed",""+$APP.V.i(b|0))},enumerable:!0,configurable:!0});return Object.defineProperty(a,"label",{get:function(){return f8(this.getAttribute("label"))},set:function(b){return b==null?this.removeAttribute("label"):this.setAttribute("label",""+$APP.V.i(b))},enumerable:!0,configurable:!0})},Rka=function(a){var b=r8(a);a.__xOrganicProgressModel=
27
- b;if(!$APP.n($APP.k(a,"__xOrganicProgressRefs"))){b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElementNS("http://www.w3.org/2000/svg","svg"),e=document.createElementNS("http://www.w3.org/2000/svg","defs"),f=document.createElementNS("http://www.w3.org/2000/svg","g"),h=document.createElementNS("http://www.w3.org/2000/svg","g"),l=document.createElementNS("http://www.w3.org/2000/svg","g");c.textContent=Qka;d.setAttribute("part","svg");d.setAttribute("viewBox",
28
- "0 0 800 200");d.setAttribute("preserveAspectRatio","xMidYMid slice");d.setAttribute("aria-hidden","true");f.setAttribute("part","branches");f.setAttribute("filter","url(#"+$APP.V.i("x-organic-progress-gooey")+")");h.setAttribute("part","nodes");l.setAttribute("part","blooms");var m=document.createElementNS("http://www.w3.org/2000/svg","filter");var q=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),r=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");m.setAttribute("id",
29
- "x-organic-progress-gooey");m.setAttribute("x","-10%");m.setAttribute("y","-10%");m.setAttribute("width","120%");m.setAttribute("height","120%");q.setAttribute("in","SourceGraphic");q.setAttribute("stdDeviation",""+$APP.V.i(2));q.setAttribute("result","blur");r.setAttribute("in","blur");r.setAttribute("type","matrix");r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7");m.appendChild(q);m.appendChild(r);e.appendChild(m);m=new $APP.O(null,3,[$APP.Bp,m,$APP.xn,q,$APP.fr,r],null);
30
- d.appendChild(e);d.appendChild(f);d.appendChild(h);d.appendChild(l);b.appendChild(c);b.appendChild(d);b=$APP.ng($APP.zc([m,new $APP.O(null,5,[$APP.jj,b,$APP.po,d,s8,f,y8,h,u8,l],null)]));a.__xOrganicProgressRefs=b}z8(a,null);t8(a);m8()?w8(a):Nka(a);return null},Ska=function(a){var b=$APP.k(a,"__xOrganicProgressRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xOrganicProgressRaf=null);if($APP.n($APP.k(a,"__xOrganicProgressBloom"))){b=$APP.G($APP.k(a,"__xOrganicProgressRefs"));b=$APP.C(b,u8);var c=$APP.k(a,
31
- "__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;a.__xOrganicProgressBEls=null;a.__xOrganicProgressBloom=!1}return null},Tka=function(a,b,c,d){$APP.I(c,d)&&$APP.n($APP.k(a,"__xOrganicProgressRefs"))&&(z8(a,b),$APP.$c(x8,b)||t8(a));return null},A8=function(){return $APP.Ah("x-organic-progress",new $APP.O(null,5,[$APP.qh,Uka,$APP.oh,Rka,$APP.lh,Ska,$APP.kh,Tka,$APP.ph,Pka],null))},y8=new $APP.F(null,"nodes-g","nodes-g",
32
- 89420858),s8=new $APP.F(null,"branches-g","branches-g",548989635),p8=new $APP.F(null,"bloom?","bloom?",-326837587),n8=new $APP.F(null,"bloom-attr","bloom-attr",-1778398039),q8=new $APP.F(null,"seed","seed",68613327),o8=new $APP.F(null,"seed-raw","seed-raw",2146438207),u8=new $APP.F(null,"blooms-g","blooms-g",-1476393864);var Uka="progress variant color bloom density seed label".split(" ");$APP.ce(["x-organic-progress-complete",new $APP.O(null,2,[$APP.U,new $APP.O(null,1,[$APP.qq,$APP.Y],null),$APP.Aq,!1],null),"x-organic-progress-bloom-end",new $APP.O(null,2,[$APP.U,new $APP.O(null,1,[$APP.qq,$APP.Y],null),$APP.Aq,!1],null)]);
33
- var yka=new $APP.pg(null,new $APP.O(null,2,["honeycomb",null,"vine",null],null),null),zka=new $APP.pg(null,new $APP.O(null,3,["dense",null,"normal",null,"sparse",null],null),null),Oka=new $APP.O(null,3,["sparse",2,"normal",3,"dense",4],null),l8=[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,
2
+ var $7=function(a){return typeof a==="string"&&(a=a.trim(),$APP.I(a,""))?(a=parseFloat(a),$APP.n(isNaN(a))?null:Math.min(100,Math.max(0,a))):null},a8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(Wma,a)?a:"vine"},b8=function(a){return a==null?!0:$APP.I((""+$APP.P.i(a)).trim().toLowerCase(),"false")},c8=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(Xma,a)?a:"normal"},d8=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a===
3
+ "number"&&$APP.p(isNaN(a))&&a>0?a:42):42},e8=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},f8=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},g8=function(a){a=(typeof a==="number"&&$APP.p(isNaN(a))&&a>0?Math.floor(a):42)|0;return[a===0?1:a]},h8=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},Zma=function(a,b){var c=(a+b)*Yma,d=Math.floor(a+c);c=Math.floor(b+c);var e=(d+c)*i8,f=a-(d-e),h=b-(c-e),
4
+ k=f>h?1:0,m=f>h?0:1,q=f+-k-i8,u=h+-m-i8,x=f+-1-2*i8,z=h+-1-2*i8,A=d&255,D=c&255,G=.5-f*f-h*h,J=.5-q*q-u*u,S=.5-x*x-z*z;return 70*((G<0?0:function(){var Q=G*G,X=j8[k8[A+k8[D&255]&255]&11];return Q*Q*(X[0]*f+X[1]*h)}())+(J<0?0:function(){var Q=J*J,X=j8[k8[A+k+k8[D+m&255]&255]&11];return Q*Q*(X[0]*q+X[1]*u)}())+(S<0?0:function(){var Q=S*S,X=j8[k8[A+1+k8[D+1&255]&255]&11];return Q*Q*(X[0]*x+X[1]*z)}()))},$ma=function(a){var b=a*17.31,c=a*31.17;return function(d,e){return Zma(d+b,e+c)}},ana=function(a,
5
+ b,c){var d=[],e=[];c=g8(c);for(var f=[0],h=[20,100,0,0],k=a.length,m=0;;)if(m<k){switch(a.charAt(m)){case "F":var q=h[0],u=h[1],x=h[2],z=h[3],A=f[0],D=38*Math.pow(.7,z)*(.8+.4*h8(c)),G=function(){var S=A*.3;var Q=z*.5;S=b.j?b.j(S,Q):b.call(null,S,Q);return x+.15*S}(),J=q+D*Math.cos(G);D=u+D*Math.sin(G);d.push({x1:q,y1:u,x2:J,y2:D,depth:z,index:A});h[0]=J;h[1]=D;f[0]=A+1;break;case "+":q=function(){var S=f[0]*.2;return b.j?b.j(S,100):b.call(null,S,100)}();h[2]-=.436+.1*q;break;case "-":q=function(){var S=
6
+ f[0]*.2;return b.j?b.j(S,200):b.call(null,S,200)}();h[2]+=.436+.1*q;break;case "[":e.push([h[0],h[1],h[2],h[3]]);h[3]+=1;break;case "]":e.length>0&&(q=e.pop(),h[0]=q[0],h[1]=q[1],h[2]=q[2],h[3]=q[3])}m+=1}else break;d.sort(function(S,Q){var X=$APP.l(S,"x2")-20;S=$APP.l(S,"y2")-100;var ja=$APP.l(Q,"x2")-20;Q=$APP.l(Q,"y2")-100;return X*X+S*S-(ja*ja+Q*Q)});return[d,d.length]},bna=function(a,b,c,d){a=""+$APP.P.i(a.toFixed(1))+","+$APP.P.i(b.toFixed(1));c=""+$APP.P.i(c.toFixed(1))+","+$APP.P.i(d.toFixed(1));
7
+ return $APP.ad(a,c)<0?""+$APP.P.i(a)+"-"+$APP.P.i(c):""+$APP.P.i(c)+"-"+$APP.P.i(a)},dna=function(a,b){b=$APP.Hc(cna,b,25);var c=g8(a),d=1.5*b,e=Math.sqrt(3)*b,f=Math.ceil(800/d)+4,h=Math.ceil(200/e)+4;a=[];for(var k=Math.sqrt(17E4),m=-2;;)if(m<f){for(var q=m*d,u=$APP.ge(m)?0:e/2,x=-2;;)if(x<h){var z=x*e+u;if(q>0-b&&q<800+b&&z>0-b&&z<200+b){var A=q-400,D=z-100;A=Math.sqrt(A*A+D*D);D=A*.7+h8(c)*.3*k;a.push({cx:q,cy:z,dist:A,key:D})}x+=1}else break;m+=1}else break;a.sort(function(S,Q){return $APP.l(S,
8
+ "key")-$APP.l(Q,"key")});c={};d=[];e=[0];f=a.length;for(h=0;;)if(h<f){u=a[h];m=$APP.l(u,"cx");q=$APP.l(u,"cy");u=Math.min(2,Math.floor($APP.l(u,"dist")*3/(k+.001)));for(x=0;;)if(x<6){A=Math.PI/3*x;var G=Math.PI/3*(x+1);z=m+b*Math.cos(A);A=q+b*Math.sin(A);D=m+b*Math.cos(G);G=q+b*Math.sin(G);var J=bna(z,A,D,G);$APP.n($APP.l(c,J))||(c[J]=!0,J=e[0],d.push({x1:z,y1:A,x2:D,y2:G,depth:u,index:J}),e[0]=J+1);x+=1}else break;h+=1}else break;return[d,d.length]},ena=function(a,b,c,d){b=c+(120*(b-a)-12*c)*d;return[a+
9
+ b*d,b]},l8=function(){return $APP.E(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},fna=function(a,b){a=window.getComputedStyle(a).getPropertyValue("--x-organic-progress-branch-width").trim();return $APP.I(a,"")?(a=parseFloat(a),$APP.n(isNaN(a))?b:a):b},gna=function(a,b,c){var d=$APP.H($APP.l(a,"__xOrganicProgressRefs")),e=$APP.C(d,m8);d=function(){var A=$APP.l(a,"__xOrganicProgressLines");return $APP.n(A)?A:[]}();for(var f=d.length,h=[],k=0;;)if(k<b){var m=k<f?d[k]:function(){var A=
10
+ document.createElementNS("http://www.w3.org/2000/svg","line");$APP.T(A,"stroke-linecap","round");e.appendChild(A);return A}(),q=c[k],u=$APP.l(q,"y1"),x=$APP.l(q,"x2"),z=$APP.l(q,"y2");$APP.T(m,"x1",""+$APP.P.i($APP.l(q,"x1")));$APP.T(m,"y1",""+$APP.P.i(u));$APP.T(m,"x2",""+$APP.P.i(x));$APP.T(m,"y2",""+$APP.P.i(z));$APP.T(m,"opacity","0");h.push(m);k+=1}else break;for(;;)if(b<f)e.removeChild(d[b]),b+=1;else break;$APP.R(a,"__xOrganicProgressLines",h);$APP.R(a,"__xOrganicProgressPV",-1)},hna=function(a){var b=
11
+ $APP.l(a,"__xOrganicProgressLines"),c=$APP.l(a,"__xOrganicProgressSegs"),d=$APP.l(a,"__xOrganicProgressSegN"),e=$APP.l(a,"__xOrganicProgressModel"),f=$APP.y.j($APP.Nk.i(e),"honeycomb");e=$APP.Xo.i(e);var h=$APP.n(e)?e:"var("+$APP.P.i("--x-organic-progress-color-primary")+","+$APP.P.i(f?"#818cf8":"#22c55e")+")",k="var("+$APP.P.i("--x-organic-progress-color-secondary")+","+$APP.P.i(f?"#a5b4fc":"#16a34a")+")";a=fna(a,f?1.5:3);if(f)for(f=0;;)if(f<d){e=b[f];var m=$APP.l(c[f],"depth");$APP.T(e,"stroke-width",
12
+ ""+$APP.P.i(a));e.style.stroke=function(){switch(m){case 0:return h;case 1:return k;default:return k}}();$APP.T(e,"stroke-linecap","round");$APP.T(e,"stroke-opacity",function(){switch(m){case 0:return"0.9";case 1:return"0.7";default:return"0.5"}}());f+=1}else break;else for(f=0;;)if(f<d){e=b[f];var q=$APP.l(c[f],"depth"),u=q===0?h:k;$APP.T(e,"stroke-width",""+$APP.P.i(Math.max(.5,a-q*.6)));e.style.stroke=u;$APP.T(e,"stroke-linecap","round");$APP.T(e,"stroke-opacity","1");f+=1}else break},ina=function(a){var b=
13
+ $APP.l(a,"__xOrganicProgressSPos"),c=$APP.l(a,"__xOrganicProgressSegN"),d=Math.floor(b/100*c),e=$APP.l(a,"__xOrganicProgressPV"),f=$APP.l(a,"__xOrganicProgressLines");if($APP.I(d,e)){c=Math.max(d,e<0?c:e);for(e=Math.min(d,e<0?0:e);;)if(e<c){var h=f[e];$APP.n(h)&&h.setAttribute("opacity",e<d?"1":"0");e+=1}else break;f=$APP.l(a,"__xOrganicProgressNodes");c=$APP.l(a,"__xOrganicProgressNN");c=$APP.n(c)?c:0;if($APP.n($APP.n(f)?c>0:f))for(b=Math.floor(b/100*c),e=0;;)if(e<c)h=f[e],$APP.n(h)&&h.setAttribute("opacity",
14
+ e<b?"1":"0"),e+=1;else break;$APP.R(a,"__xOrganicProgressPV",d)}},jna=function(a){var b=$APP.l(a,"__xOrganicProgressSegs"),c=$APP.l(a,"__xOrganicProgressSegN"),d=$APP.H($APP.l(a,"__xOrganicProgressRefs"));d=$APP.C(d,n8);var e=$APP.l(a,"__xOrganicProgressModel"),f="var("+$APP.P.i("--x-organic-progress-bloom-color")+",#f472b6)";e=g8(o8.i(e)+7);for(var h=[],k=0;;)if(k<c){var m=b[k];if($APP.l(m,"depth")>=2){var q=document.createElementNS("http://www.w3.org/2000/svg","circle"),u=$APP.l(m,"x2");m=$APP.l(m,
15
+ "y2");var x=2*h8(e)-1,z=2*h8(e)-1;$APP.T(q,"cx",""+$APP.P.i(u));$APP.T(q,"cy",""+$APP.P.i(m));$APP.T(q,"r","0");q.style.fill=f;$APP.T(q,"opacity","0");$APP.T(q,"class","bloom-petal");q.__xOrganicProgressBDx=x;q.__xOrganicProgressBDy=z;d.appendChild(q);h.push(q)}k+=1}else break;$APP.R(a,"__xOrganicProgressBEls",h);$APP.R(a,"__xOrganicProgressBloom",!0);$APP.R(a,"__xOrganicProgressBT",0)},kna=function(a,b){b=$APP.l(a,"__xOrganicProgressBT")+b;var c=b/1.5;$APP.R(a,"__xOrganicProgressBT",b);if(c>1){b=
16
+ $APP.H($APP.l(a,"__xOrganicProgressRefs"));b=$APP.C(b,n8);c=$APP.l(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;$APP.R(a,"__xOrganicProgressBEls",null);$APP.R(a,"__xOrganicProgressBloom",!1);$APP.pi(a,"x-organic-progress-bloom-end",{progress:100})}else for(a=$APP.l(a,"__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){var h=a[e];f=$APP.l(h,"__xOrganicProgressBDx")*
17
+ b*8;var k=$APP.l(h,"__xOrganicProgressBDy")*b*8,m=h,q=""+$APP.P.i(b*2.5);m.setAttribute("r",q);m=h;q=""+$APP.P.i(c);m.setAttribute("opacity",q);f="translate("+$APP.P.i(f)+","+$APP.P.i(k)+")";h.setAttribute("transform",f);e+=1}else break},lna=function(a){$APP.ji(a,"__xOrganicProgressTime",0);$APP.R(a,"__xOrganicProgressSPos",0);$APP.R(a,"__xOrganicProgressSVel",0);$APP.ji(a,"__xOrganicProgressLF",performance.now());$APP.R(a,"__xOrganicProgressDone",!1);$APP.R(a,"__xOrganicProgressBloom",!1);$APP.R(a,
18
+ "__xOrganicProgressPV",-1);return $APP.ji(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return p8(a)}))},q8=function(a){for(var b=$APP.l(a,"__xOrganicProgressModel"),c=$APP.l(a,"__xOrganicProgressSegN"),d=$APP.n($APP.kk.i(b))?50:$APP.or.i(b),e=Math.floor(d/100*c),f=$APP.l(a,"__xOrganicProgressLines"),h=0;;)if(h<c){var k=f[h];$APP.n(k)&&$APP.T(k,"opacity",h<e?"1":"0");h+=1}else break;c=$APP.l(a,"__xOrganicProgressNodes");f=function(){var m=$APP.l(a,"__xOrganicProgressNN");return $APP.n(m)?
19
+ m:0}();if($APP.n($APP.n(c)?f>0:c))for(d=Math.floor(d/100*f),h=0;;)if(h<f)k=c[h],$APP.n(k)&&$APP.T(k,"opacity",h<d?"1":"0"),h+=1;else break;$APP.R(a,"__xOrganicProgressPV",e);return $APP.n(function(){var m=$APP.Oq.i(b);return $APP.n(m)?$APP.p($APP.l(a,"__xOrganicProgressDone")):m}())?($APP.R(a,"__xOrganicProgressDone",!0),$APP.pi(a,"x-organic-progress-complete",{progress:100})):null},v8=function(a){var b=new $APP.N(null,7,[$APP.xp,a.getAttribute("progress"),$APP.Xq,a.getAttribute("variant"),$APP.Es,
20
+ a.getAttribute("color"),r8,a.getAttribute("bloom"),$APP.Co,a.getAttribute("density"),s8,a.getAttribute("seed"),$APP.Vi,a.getAttribute("label")],null);var c=$APP.H(b),d=$APP.C(c,$APP.xp);b=$APP.C(c,$APP.Xq);var e=$APP.C(c,$APP.Es),f=$APP.C(c,r8),h=$APP.C(c,$APP.Co),k=$APP.C(c,s8);c=$APP.C(c,$APP.Vi);d=$7(d);var m=d==null,q=$APP.n(d)?d:0,u=!m&&q>=100;b=$APP.Yf([$APP.kk,$APP.Xo,$APP.Nk,t8,o8,$APP.xs,$APP.bj,$APP.or,$APP.Oq,$APP.Cr,$APP.Uq],[m,f8(e),a8(b),b8(f),d8(k),m?"Loading...":""+$APP.P.i(Math.round(q))+
21
+ "%",e8(c),q,u,d,c8(h)]);e=$APP.l(a,"__xOrganicProgressModel");if($APP.I(b,e)){$APP.T(a,"role","progressbar");$APP.T(a,"aria-valuemin","0");$APP.T(a,"aria-valuemax","100");$APP.n($APP.kk.i(b))?($APP.U(a,"aria-valuenow"),$APP.T(a,"aria-busy","true"),$APP.T(a,"aria-valuetext","Loading...")):($APP.T(a,"aria-valuenow",""+$APP.P.i(Math.round($APP.or.i(b)))),$APP.U(a,"aria-busy"),$APP.T(a,"aria-valuetext",$APP.xs.i(b)));f=$APP.bj.i(b);$APP.n(f)?$APP.T(a,"aria-label",f):$APP.U(a,"aria-label");if(e==null||
22
+ $APP.I($APP.Nk.i(b),$APP.Nk.i(e))||$APP.I($APP.Uq.i(b),$APP.Uq.i(e))||$APP.I(o8.i(b),o8.i(e))){e=$APP.y.j($APP.Nk.i(b),"honeycomb");f=$APP.Hc(mna,$APP.Uq.i(b),3);if(e)f=dna(o8.i(b),$APP.Uq.i(b));else{a:{h=new $APP.N(null,1,["F","F[+F]F[-F]F"],null);k="F";for(d=0;;){if(d>=f){f=k;break a}c=[];m=k.length;for(q=0;;)if(q<m){u=k.charAt(q);var x=$APP.C(h,u);$APP.n(x)?c.push(x):c.push(u);q+=1}else break;d+=1;k=c.join("")}f=void 0}h=$ma(o8.i(b));f=ana(f,h,o8.i(b))}h=f;f=h[0];h=h[1];$APP.R(a,"__xOrganicProgressSegs",
23
+ f);$APP.R(a,"__xOrganicProgressSegN",h);gna(a,h,f);h=$APP.H($APP.l(a,"__xOrganicProgressRefs"));f=$APP.C(h,m8);h=$APP.C(h,$APP.zo);$APP.n(f)&&($APP.n(e)?$APP.U(f,"filter"):$APP.T(f,"filter","url(#x-organic-progress-gooey)"));$APP.n($APP.n(h)?$APP.p(e):h)&&$APP.T(h,"stdDeviation","2");e=$APP.H($APP.l(a,"__xOrganicProgressRefs"));e=$APP.C(e,u8);f=$APP.l(a,"__xOrganicProgressNodes");if($APP.n($APP.n(e)?f:e))for(h=f.length,k=0;;)if(k<h)c=f[k],$APP.n(c.parentNode)&&e.removeChild(c),k+=1;else break;$APP.R(a,
24
+ "__xOrganicProgressNodes",null);$APP.R(a,"__xOrganicProgressND",null);$APP.R(a,"__xOrganicProgressNN",0);$APP.R(a,"__xOrganicProgressPV",-1);l8()&&q8(a)}hna(a);a=$APP.R(a,"__xOrganicProgressModel",b)}else a=null;return a},nna=function(a){$APP.Ai(a,"progress","progress",$7);$APP.Ai(a,"variant","variant",a8);$APP.Ai(a,"color","color",f8);$APP.Ai(a,"density","density",c8);$APP.Ai(a,"seed","seed",d8);$APP.Ai(a,"label","label",e8);return Object.defineProperty(a,"bloom",{get:function(){return b8(this.getAttribute("bloom"))},
25
+ set:function(b){return $APP.n(b)?$APP.U(this,"bloom"):$APP.T(this,"bloom","false")},enumerable:!0,configurable:!0})},pna=function(a){if(!$APP.n($APP.l(a,"__xOrganicProgressRefs"))){var b=a.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"),f=document.createElementNS("http://www.w3.org/2000/svg","g"),h=document.createElementNS("http://www.w3.org/2000/svg","g"),k=
26
+ document.createElementNS("http://www.w3.org/2000/svg","g");c.textContent=ona;$APP.T(d,"part","svg");$APP.T(d,"viewBox","0 0 800 200");$APP.T(d,"preserveAspectRatio","xMidYMid slice");$APP.T(d,"aria-hidden","true");$APP.T(f,"part","branches");$APP.T(f,"filter","url(#"+$APP.P.i("x-organic-progress-gooey")+")");$APP.T(h,"part","nodes");$APP.T(k,"part","blooms");var m=document.createElementNS("http://www.w3.org/2000/svg","filter");var q=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),
27
+ u=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");$APP.T(m,"id","x-organic-progress-gooey");$APP.T(m,"x","-10%");$APP.T(m,"y","-10%");$APP.T(m,"width","120%");$APP.T(m,"height","120%");$APP.T(q,"in","SourceGraphic");$APP.T(q,"stdDeviation",""+$APP.P.i(2));$APP.T(q,"result","blur");$APP.T(u,"in","blur");$APP.T(u,"type","matrix");$APP.T(u,"values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7");m.appendChild(q);m.appendChild(u);e.appendChild(m);m=new $APP.N(null,3,[$APP.Nq,m,
28
+ $APP.zo,q,$APP.ts,u],null);d.appendChild(e);d.appendChild(f);d.appendChild(h);d.appendChild(k);b.appendChild(c);b.appendChild(d);$APP.R(a,"__xOrganicProgressRefs",$APP.pg($APP.Ac([m,new $APP.N(null,5,[$APP.Kj,b,$APP.Hp,d,m8,f,u8,h,n8,k],null)])))}v8(a);return l8()?q8(a):lna(a)},qna=function(a){var b=$APP.l(a,"__xOrganicProgressRaf");$APP.n(b)&&(cancelAnimationFrame(b),$APP.ji(a,"__xOrganicProgressRaf",null));if($APP.n($APP.l(a,"__xOrganicProgressBloom"))){b=$APP.H($APP.l(a,"__xOrganicProgressRefs"));
29
+ b=$APP.C(b,n8);var c=$APP.l(a,"__xOrganicProgressBEls");if($APP.n(c))for(var d=c.length,e=0;;)if(e<d){var f=c[e];$APP.n(f.parentNode)&&b.removeChild(f);e+=1}else break;$APP.R(a,"__xOrganicProgressBEls",null);return $APP.R(a,"__xOrganicProgressBloom",!1)}return null},rna=function(a,b,c,d){return $APP.I(c,d)?$APP.n($APP.l(a,"__xOrganicProgressRefs"))?v8(a):null:null},w8=function(){return $APP.Kh("x-organic-progress",new $APP.N(null,5,[$APP.Bh,sna,$APP.zh,pna,$APP.qh,qna,$APP.ph,rna,$APP.Ah,nna],null))},
30
+ u8=new $APP.F(null,"nodes-g","nodes-g",89420858),m8=new $APP.F(null,"branches-g","branches-g",548989635),t8=new $APP.F(null,"bloom?","bloom?",-326837587),r8=new $APP.F(null,"bloom-attr","bloom-attr",-1778398039),o8=new $APP.F(null,"seed","seed",68613327),s8=new $APP.F(null,"seed-raw","seed-raw",2146438207),n8=new $APP.F(null,"blooms-g","blooms-g",-1476393864);var sna="progress variant color bloom density seed label".split(" ");$APP.be(["x-organic-progress-complete",new $APP.N(null,2,[$APP.V,new $APP.N(null,1,[$APP.Cr,$APP.Z],null),$APP.Mr,!1],null),"x-organic-progress-bloom-end",new $APP.N(null,2,[$APP.V,new $APP.N(null,1,[$APP.Cr,$APP.Z],null),$APP.Mr,!1],null)]);
31
+ var Wma=new $APP.rg(null,new $APP.N(null,2,["honeycomb",null,"vine",null],null),null),Xma=new $APP.rg(null,new $APP.N(null,3,["dense",null,"normal",null,"sparse",null],null),null),mna=new $APP.N(null,3,["sparse",2,"normal",3,"dense",4],null),k8=[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,
34
32
  231,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,
35
- 239,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],k8=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[0,1],[0,-1],[1,1],[-1,1],[1,-1],[-1,-1]],Aka=(Math.sqrt(3)-1)/2,j8=(3-Math.sqrt(3))/6,Fka=new $APP.O(null,3,["sparse",40,"normal",25,"dense",16],null);var Qka=":host{display:block;position:relative;min-height:60px;width:100%;overflow:hidden;"+$APP.V.i("--x-organic-progress-color-primary")+":var(--x-color-success,#22c55e);"+$APP.V.i("--x-organic-progress-color-secondary")+":var(--x-color-success,#16a34a);"+$APP.V.i("--x-organic-progress-bloom-color")+":var(--x-color-danger,#f472b6);"+$APP.V.i("--x-organic-progress-bg")+":transparent;"+$APP.V.i("--x-organic-progress-branch-width")+":3;"+$APP.V.i("--x-organic-progress-glow")+":2;"+$APP.V.i("--x-organic-progress-opacity")+
36
- ":1;background:var("+$APP.V.i("--x-organic-progress-bg")+",transparent);opacity:var("+$APP.V.i("--x-organic-progress-opacity")+",1);}[part\x3dsvg]{display:block;width:100%;height:100%;}[part\x3dnodes] circle{fill:var("+$APP.V.i("--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;}}",
37
- v8=function v8(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.Aj.i(c))?50+20*Math.sin($APP.k(a,"__xOrganicProgressTime")*1.5):$APP.cq.i(c);d=Hka($APP.k(a,"__xOrganicProgressSPos"),d,$APP.k(a,"__xOrganicProgressSVel"),e);a.__xOrganicProgressSPos=d[0];a.__xOrganicProgressSVel=d[1];Kka(a);$APP.n(function(){var f=
38
- $APP.Cp.i(c);return $APP.n(f)?$APP.p($APP.k(a,"__xOrganicProgressDone")):f}())&&(a.__xOrganicProgressDone=!0,$APP.Nh(a,"x-organic-progress-complete",{progress:100}),$APP.n(p8.i(c))&&Lka(a));$APP.n(function(){var f=$APP.p($APP.Cp.i(c));return f?(f=$APP.k(a,"__xOrganicProgressDone"),$APP.n(f)?$APP.p($APP.k(a,"__xOrganicProgressBloom")):f):f}())&&(a.__xOrganicProgressDone=!1);$APP.n($APP.k(a,"__xOrganicProgressBloom"))&&Mka(a,e);$APP.ja(a,"__xOrganicProgressRaf",requestAnimationFrame(function(){return v8.i?
39
- v8.i(a):v8.call(null,a)}))}return null},x8=$APP.rg(["variant","density","seed"]);$APP.ha("baredom.exports.x_organic_progress.init",A8);export const init=A8;
33
+ 239,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],j8=[[1,1],[-1,1],[1,-1],[-1,-1],[1,0],[-1,0],[0,1],[0,-1],[1,1],[-1,1],[1,-1],[-1,-1]],Yma=(Math.sqrt(3)-1)/2,i8=(3-Math.sqrt(3))/6,cna=new $APP.N(null,3,["sparse",40,"normal",25,"dense",16],null);var ona=":host{display:block;position:relative;min-height:60px;width:100%;overflow:hidden;"+$APP.P.i("--x-organic-progress-color-primary")+":var(--x-color-success,#22c55e);"+$APP.P.i("--x-organic-progress-color-secondary")+":var(--x-color-success,#16a34a);"+$APP.P.i("--x-organic-progress-bloom-color")+":var(--x-color-danger,#f472b6);"+$APP.P.i("--x-organic-progress-bg")+":transparent;"+$APP.P.i("--x-organic-progress-branch-width")+":3;"+$APP.P.i("--x-organic-progress-glow")+":2;"+$APP.P.i("--x-organic-progress-opacity")+
34
+ ":1;background:var("+$APP.P.i("--x-organic-progress-bg")+",transparent);opacity:var("+$APP.P.i("--x-organic-progress-opacity")+",1);}[part\x3dsvg]{display:block;width:100%;height:100%;}[part\x3dnodes] circle{fill:var("+$APP.P.i("--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;}}",
35
+ p8=function p8(a){if($APP.n(a.isConnected)){var c=$APP.l(a,"__xOrganicProgressModel"),d=performance.now(),e=Math.min(d-$APP.l(a,"__xOrganicProgressLF"),100)/1E3;$APP.ji(a,"__xOrganicProgressLF",d);$APP.ji(a,"__xOrganicProgressTime",$APP.l(a,"__xOrganicProgressTime")+e);d=$APP.n($APP.kk.i(c))?50+20*Math.sin($APP.l(a,"__xOrganicProgressTime")*1.5):$APP.or.i(c);d=ena($APP.l(a,"__xOrganicProgressSPos"),d,$APP.l(a,"__xOrganicProgressSVel"),e);$APP.R(a,"__xOrganicProgressSPos",d[0]);$APP.R(a,"__xOrganicProgressSVel",
36
+ d[1]);ina(a);$APP.n(function(){var f=$APP.Oq.i(c);return $APP.n(f)?$APP.p($APP.l(a,"__xOrganicProgressDone")):f}())&&($APP.R(a,"__xOrganicProgressDone",!0),$APP.pi(a,"x-organic-progress-complete",{progress:100}),$APP.n(t8.i(c))&&jna(a));$APP.n(function(){var f=$APP.p($APP.Oq.i(c));return f?(f=$APP.l(a,"__xOrganicProgressDone"),$APP.n(f)?$APP.p($APP.l(a,"__xOrganicProgressBloom")):f):f}())&&$APP.R(a,"__xOrganicProgressDone",!1);$APP.n($APP.l(a,"__xOrganicProgressBloom"))&&kna(a,e);return $APP.ji(a,
37
+ "__xOrganicProgressRaf",requestAnimationFrame(function(){return p8.i?p8.i(a):p8.call(null,a)}))}return null};$APP.fa("baredom.exports.x_organic_progress.init",w8);export const init=w8;
@@ -1,14 +1,15 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var eX=function(a){return typeof a==="string"&&$APP.$c(Xaa,a)?a:"blob-1"},fX=function(a){return typeof a==="string"&&$APP.I("",a)?a:null},Yaa=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},gX=function(a,b){if($APP.n($APP.n(b)?b.assignedNodes().length>0:null))return $APP.T(a,"role"),$APP.T(a,"aria-hidden");$APP.S(a,"role","presentation");return $APP.S(a,"aria-hidden","true")},kX=function(a){var b=new $APP.O(null,6,[$APP.mo,a.getAttribute("shape"),$APP.lp,a.getAttribute("path"),$APP.ml,a.getAttribute("animation"),$APP.Hn,a.getAttribute("ratio"),
4
- $APP.nl,a.getAttribute("width"),$APP.ol,a.getAttribute("height")],null);var c=$APP.G(b),d=$APP.C(c,$APP.mo),e=$APP.C(c,$APP.lp),f=$APP.C(c,$APP.ml),h=$APP.C(c,$APP.Hn);b=$APP.C(c,$APP.nl);c=$APP.C(c,$APP.ol);e=typeof e==="string"&&$APP.I("",e.trim())?e.trim():null;d=eX(d);var l=typeof f==="string"&&$APP.$c(Zaa,f)?f:"none";f=e!=null?e:$APP.Be(hX,new $APP.M(null,2,5,$APP.N,[eX(d),iX],null));var m=e==null?$APP.Be(hX,new $APP.M(null,2,5,$APP.N,[eX(d),jX],null)):null;l=$APP.A.j(l,"morph")&&m==null?"none":
5
- l;h=typeof h==="string"&&$APP.I("",h.trim())?h.trim():"1/1";b=new $APP.O(null,8,[$APP.mo,d,$APP.lp,e,iX,f,jX,m,$APP.ml,l,$APP.Hn,h,$APP.nl,fX(b),$APP.ol,fX(c)],null);f=$APP.G(b);b=$APP.C(f,iX);h=$APP.C(f,jX);c=$APP.C(f,$APP.ml);e=$APP.C(f,$APP.Hn);d=$APP.C(f,$APP.nl);f=$APP.C(f,$APP.ol);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(f)?m.style.setProperty("height",f):m.style.removeProperty("height");$APP.I(c,"none")?$APP.S(a,"data-animation",c):$APP.T(a,"data-animation");gX(a,l)},$aa=function(a){function b(){return gX(a,c)}$APP.n($APP.k(a,"__xOrganicShapeInit"))||Yaa(a);var c=$APP.k(a,"__xOrganicShapeSlot");a.__xOrganicShapeSlotHandler=b;c.addEventListener("slotchange",b);kX(a);
7
- return null},aba=function(a,b,c,d){$APP.I(c,d)&&$APP.n($APP.k(a,"__xOrganicShapeInit"))&&kX(a);return null},bba=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.I("",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"&&
8
- $APP.I("",b)?this.setAttribute("path",b):this.removeAttribute("path")},enumerable:!0,configurable:!0});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.I("",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===
9
- "string"&&$APP.I("",b)?this.setAttribute("ratio",b):this.removeAttribute("ratio")},enumerable:!0,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.I("",b)?this.setAttribute("width",b):this.removeAttribute("width")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:""},set:function(b){return typeof b===
10
- "string"&&$APP.I("",b)?this.setAttribute("height",b):this.removeAttribute("height")},enumerable:!0,configurable:!0})},lX=function(){return $APP.Ah("x-organic-shape",new $APP.O(null,4,[$APP.qh,cba,$APP.oh,$aa,$APP.kh,aba,$APP.ph,bba],null))},iX=new $APP.F(null,"clip","clip",830998499),jX=new $APP.F(null,"clip-alt","clip-alt",-684562835);var cba="shape path animation ratio width height".split(" "),Zaa=new $APP.pg(null,new $APP.O(null,5,["float",null,"none",null,"pulse",null,"spin",null,"morph",null],null),null),Xaa=new $APP.pg(null,new $APP.O(null,8,["cloud",null,"blob-3",null,"leaf",null,"pebble",null,"blob-1",null,"blob-2",null,"wave",null,"droplet",null],null),null),hX=new $APP.O(null,8,["blob-1",new $APP.O(null,2,[iX,"polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%)",jX,"polygon(25% 5%, 75% 0%, 95% 25%, 100% 65%, 75% 95%, 25% 100%, 0% 65%, 5% 25%)"],
11
- null),"blob-2",new $APP.O(null,2,[iX,"polygon(50% 0%, 80% 10%, 100% 40%, 95% 75%, 70% 100%, 30% 100%, 5% 75%, 0% 40%, 20% 10%)",jX,"polygon(50% 5%, 85% 15%, 100% 45%, 90% 80%, 65% 95%, 35% 95%, 10% 80%, 0% 45%, 15% 15%)"],null),"blob-3",new $APP.O(null,2,[iX,"polygon(20% 0%, 80% 0%, 100% 20%, 100% 50%, 90% 80%, 70% 100%, 30% 100%, 10% 80%, 0% 50%, 0% 20%)",jX,"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.O(null,2,[iX,"polygon(50% 2%, 78% 8%, 96% 30%, 98% 60%, 85% 88%, 55% 98%, 25% 92%, 4% 65%, 2% 35%, 22% 8%)",
12
- jX,"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.O(null,2,[iX,"polygon(50% 0%, 80% 15%, 98% 45%, 90% 75%, 65% 98%, 50% 100%, 35% 98%, 10% 75%, 2% 45%, 20% 15%)",jX,"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.O(null,2,[iX,"polygon(50% 0%, 72% 20%, 90% 50%, 95% 72%, 80% 92%, 50% 100%, 20% 92%, 5% 72%, 10% 50%, 28% 20%)",jX,"polygon(50% 5%, 70% 22%, 88% 48%, 92% 70%, 78% 90%, 50% 97%, 22% 90%, 8% 70%, 12% 48%, 30% 22%)"],
13
- null),"cloud",new $APP.O(null,2,[iX,"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%)",jX,"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.O(null,2,[iX,"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%)",
14
- jX,"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",lX);export const init=lX;
2
+ var FW=function(a){return typeof a==="string"&&$APP.$c(Lda,a)?a:"blob-1"},GW=function(a){return typeof a==="string"&&$APP.I("",a)?a:null},Mda=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
+ $APP.T(d,"part","shape");d.appendChild(e);b.appendChild(c);b.appendChild(d);$APP.R(a,"__xOrganicShapeBase",d);$APP.R(a,"__xOrganicShapeSlot",e);$APP.R(a,"__xOrganicShapeInit",!0)},HW=function(a,b){if($APP.n($APP.n(b)?b.assignedNodes().length>0:null))return $APP.U(a,"role"),$APP.U(a,"aria-hidden");$APP.T(a,"role","presentation");return $APP.T(a,"aria-hidden","true")},LW=function(a){var b=new $APP.N(null,6,[$APP.Ep,a.getAttribute("shape"),$APP.xq,a.getAttribute("path"),$APP.Ul,a.getAttribute("animation"),
4
+ $APP.Ko,a.getAttribute("ratio"),$APP.Vl,a.getAttribute("width"),$APP.Wl,a.getAttribute("height")],null);var c=$APP.H(b),d=$APP.C(c,$APP.Ep),e=$APP.C(c,$APP.xq),f=$APP.C(c,$APP.Ul),h=$APP.C(c,$APP.Ko);b=$APP.C(c,$APP.Vl);c=$APP.C(c,$APP.Wl);e=typeof e==="string"&&$APP.I("",e.trim())?e.trim():null;d=FW(d);var k=typeof f==="string"&&$APP.$c(Nda,f)?f:"none";f=e!=null?e:$APP.ze(IW,new $APP.K(null,2,5,$APP.M,[FW(d),JW],null));var m=e==null?$APP.ze(IW,new $APP.K(null,2,5,$APP.M,[FW(d),KW],null)):null;k=
5
+ $APP.y.j(k,"morph")&&m==null?"none":k;h=typeof h==="string"&&$APP.I("",h.trim())?h.trim():"1/1";b=new $APP.N(null,8,[$APP.Ep,d,$APP.xq,e,JW,f,KW,m,$APP.Ul,k,$APP.Ko,h,$APP.Vl,GW(b),$APP.Wl,GW(c)],null);f=$APP.H(b);b=$APP.C(f,JW);h=$APP.C(f,KW);c=$APP.C(f,$APP.Ul);e=$APP.C(f,$APP.Ko);d=$APP.C(f,$APP.Vl);f=$APP.C(f,$APP.Wl);m=$APP.l(a,"__xOrganicShapeBase");k=$APP.l(a,"__xOrganicShapeSlot");m.style.setProperty("--x-organic-shape-clip",b);$APP.n(h)?m.style.setProperty("--x-organic-shape-clip-alt",h):
6
+ m.style.removeProperty("--x-organic-shape-clip-alt");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(f)?m.style.setProperty("height",f):m.style.removeProperty("height");$APP.I(c,"none")?$APP.T(a,"data-animation",c):$APP.U(a,"data-animation");return HW(a,k)},MW=function(a){var b=$APP.l(a,"__xOrganicShapeSlot"),c=$APP.l(a,"__xOrganicShapeSlotHandler");return $APP.n($APP.n(b)?c:b)?(b.removeEventListener("slotchange",
7
+ c),$APP.R(a,"__xOrganicShapeSlotHandler",null)):null},Oda=function(a){function b(){return HW(a,c)}$APP.n($APP.l(a,"__xOrganicShapeInit"))||Mda(a);MW(a);var c=$APP.l(a,"__xOrganicShapeSlot");$APP.R(a,"__xOrganicShapeSlotHandler",b);c.addEventListener("slotchange",b);return LW(a)},Pda=function(a){return MW(a)},Qda=function(a,b,c,d){return $APP.I(c,d)?$APP.n($APP.l(a,"__xOrganicShapeInit"))?LW(a):null:null},Rda=function(a){Object.defineProperty(a,"shape",{get:function(){var b=this.getAttribute("shape");
8
+ return $APP.n(b)?b:"blob-1"},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"shape",b):$APP.U(this,"shape")},enumerable:!0,configurable:!0});Object.defineProperty(a,"path",{get:function(){return this.getAttribute("path")},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"path",b):$APP.U(this,"path")},enumerable:!0,configurable:!0});Object.defineProperty(a,"animation",{get:function(){var b=this.getAttribute("animation");return $APP.n(b)?b:"none"},set:function(b){return typeof b===
9
+ "string"&&$APP.I("",b)?$APP.T(this,"animation",b):$APP.U(this,"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.I("",b)?$APP.T(this,"ratio",b):$APP.U(this,"ratio")},enumerable:!0,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.I("",
10
+ b)?$APP.T(this,"width",b):$APP.U(this,"width")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"height",{get:function(){var b=this.getAttribute("height");return $APP.n(b)?b:""},set:function(b){return typeof b==="string"&&$APP.I("",b)?$APP.T(this,"height",b):$APP.U(this,"height")},enumerable:!0,configurable:!0})},NW=function(){return $APP.Kh("x-organic-shape",new $APP.N(null,5,[$APP.Bh,Sda,$APP.zh,Oda,$APP.qh,Pda,$APP.ph,Qda,$APP.Ah,Rda],null))},JW=new $APP.F(null,"clip","clip",830998499),
11
+ KW=new $APP.F(null,"clip-alt","clip-alt",-684562835);var Sda="shape path animation ratio width height".split(" "),Nda=new $APP.rg(null,new $APP.N(null,5,["float",null,"none",null,"pulse",null,"spin",null,"morph",null],null),null),Lda=new $APP.rg(null,new $APP.N(null,8,["cloud",null,"blob-3",null,"leaf",null,"pebble",null,"blob-1",null,"blob-2",null,"wave",null,"droplet",null],null),null),IW=new $APP.N(null,8,["blob-1",new $APP.N(null,2,[JW,"polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%)",KW,"polygon(25% 5%, 75% 0%, 95% 25%, 100% 65%, 75% 95%, 25% 100%, 0% 65%, 5% 25%)"],
12
+ null),"blob-2",new $APP.N(null,2,[JW,"polygon(50% 0%, 80% 10%, 100% 40%, 95% 75%, 70% 100%, 30% 100%, 5% 75%, 0% 40%, 20% 10%)",KW,"polygon(50% 5%, 85% 15%, 100% 45%, 90% 80%, 65% 95%, 35% 95%, 10% 80%, 0% 45%, 15% 15%)"],null),"blob-3",new $APP.N(null,2,[JW,"polygon(20% 0%, 80% 0%, 100% 20%, 100% 50%, 90% 80%, 70% 100%, 30% 100%, 10% 80%, 0% 50%, 0% 20%)",KW,"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.N(null,2,[JW,"polygon(50% 2%, 78% 8%, 96% 30%, 98% 60%, 85% 88%, 55% 98%, 25% 92%, 4% 65%, 2% 35%, 22% 8%)",
13
+ KW,"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.N(null,2,[JW,"polygon(50% 0%, 80% 15%, 98% 45%, 90% 75%, 65% 98%, 50% 100%, 35% 98%, 10% 75%, 2% 45%, 20% 15%)",KW,"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.N(null,2,[JW,"polygon(50% 0%, 72% 20%, 90% 50%, 95% 72%, 80% 92%, 50% 100%, 20% 92%, 5% 72%, 10% 50%, 28% 20%)",KW,"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.N(null,2,[JW,"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%)",KW,"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.N(null,2,[JW,"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
+ KW,"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.fa("baredom.exports.x_organic_shape.init",NW);export const init=NW;