@vanelsas/baredom 2.1.1 → 2.2.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 (89) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +3 -3
  3. package/dist/base.js +75 -73
  4. package/dist/x-alert.js +17 -17
  5. package/dist/x-avatar-group.js +10 -10
  6. package/dist/x-avatar.js +13 -14
  7. package/dist/x-badge.js +11 -11
  8. package/dist/x-bento-grid.js +5 -5
  9. package/dist/x-bento-item.js +4 -4
  10. package/dist/x-breadcrumbs.js +14 -14
  11. package/dist/x-button.js +15 -15
  12. package/dist/x-cancel-dialogue.js +12 -12
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-carousel.js +28 -28
  15. package/dist/x-chart.js +46 -46
  16. package/dist/x-checkbox.js +11 -11
  17. package/dist/x-chip.js +8 -8
  18. package/dist/x-collapse.js +10 -10
  19. package/dist/x-color-picker.js +40 -40
  20. package/dist/x-command-palette.js +25 -25
  21. package/dist/x-container.js +6 -6
  22. package/dist/x-context-menu.js +18 -18
  23. package/dist/x-copy.js +20 -20
  24. package/dist/x-currency-field.js +21 -21
  25. package/dist/x-date-picker.js +37 -37
  26. package/dist/x-divider.js +8 -8
  27. package/dist/x-drawer.js +11 -11
  28. package/dist/x-dropdown.js +9 -9
  29. package/dist/x-fieldset.js +5 -5
  30. package/dist/x-file-download.js +7 -7
  31. package/dist/x-form-field.js +15 -15
  32. package/dist/x-form.js +9 -9
  33. package/dist/x-gaussian-blur.js +16 -16
  34. package/dist/x-grid.js +6 -6
  35. package/dist/x-icon.js +9 -0
  36. package/dist/x-image.js +20 -0
  37. package/dist/x-kinetic-font.js +28 -28
  38. package/dist/x-kinetic-typography.js +37 -37
  39. package/dist/x-liquid-dock.js +35 -35
  40. package/dist/x-liquid-fill.js +40 -40
  41. package/dist/x-liquid-glass.js +33 -33
  42. package/dist/x-menu-item.js +10 -10
  43. package/dist/x-menu.js +10 -10
  44. package/dist/x-metaball-cursor.js +25 -25
  45. package/dist/x-modal.js +11 -11
  46. package/dist/x-morph-stack.js +39 -39
  47. package/dist/x-navbar.js +12 -12
  48. package/dist/x-neural-glow.js +30 -30
  49. package/dist/x-notification-center.js +10 -10
  50. package/dist/x-organic-divider.js +15 -15
  51. package/dist/x-organic-progress.js +35 -35
  52. package/dist/x-organic-shape.js +12 -12
  53. package/dist/x-pagination.js +16 -16
  54. package/dist/x-particle-button.js +46 -46
  55. package/dist/x-popover.js +14 -14
  56. package/dist/x-progress-circle.js +7 -7
  57. package/dist/x-progress.js +7 -7
  58. package/dist/x-radio.js +11 -11
  59. package/dist/x-ripple-effect.js +10 -10
  60. package/dist/x-scroll-parallax.js +17 -17
  61. package/dist/x-scroll-stack.js +18 -18
  62. package/dist/x-scroll-story.js +33 -33
  63. package/dist/x-scroll-timeline.js +45 -45
  64. package/dist/x-scroll.js +40 -40
  65. package/dist/x-search-field.js +14 -14
  66. package/dist/x-select.js +9 -9
  67. package/dist/x-sidebar.js +16 -16
  68. package/dist/x-skeleton.js +4 -4
  69. package/dist/x-slider.js +16 -16
  70. package/dist/x-soft-body.js +20 -20
  71. package/dist/x-spacer.js +5 -5
  72. package/dist/x-spinner.js +5 -5
  73. package/dist/x-splash.js +13 -13
  74. package/dist/x-stat.js +9 -9
  75. package/dist/x-stepper.js +16 -16
  76. package/dist/x-switch.js +10 -10
  77. package/dist/x-tab.js +7 -7
  78. package/dist/x-table-cell.js +19 -19
  79. package/dist/x-table-row.js +10 -10
  80. package/dist/x-table.js +13 -13
  81. package/dist/x-tabs.js +11 -11
  82. package/dist/x-text-area.js +17 -17
  83. package/dist/x-theme.js +24 -24
  84. package/dist/x-timeline-item.js +20 -20
  85. package/dist/x-timeline.js +9 -9
  86. package/dist/x-toast.js +21 -21
  87. package/dist/x-toaster.js +8 -8
  88. package/dist/x-typography.js +8 -8
  89. package/package.json +9 -1
@@ -0,0 +1,20 @@
1
+ import { $APP, shadow$provide } from "./base.js";
2
+ var sI=function(a){if(a==null)return new $APP.R(null,2,[$APP.xh,null,$APP.Ah,!0],null);if(typeof a!=="string")return new $APP.R(null,2,[$APP.xh,null,$APP.Ah,!1],null);a=a.trim().toLowerCase();if($APP.C.i(a,"")||$APP.C.i(a,"auto"))return new $APP.R(null,2,[$APP.xh,null,$APP.Ah,!0],null);var b=$APP.cg(rI,a);return $APP.n(b)?(a=parseFloat($APP.oc(b,1)),b=parseFloat($APP.oc(b,2)),a>0&&b>0?new $APP.R(null,2,[$APP.xh,""+$APP.T.g(a)+" / "+$APP.T.g(b),$APP.Ah,!0],null):new $APP.R(null,2,[$APP.xh,null,$APP.Ah,
3
+ !1],null)):new $APP.R(null,2,[$APP.xh,null,$APP.Ah,!1],null)},xI=function(a){var b=$APP.k(a,"__xImageRefs");if($APP.n(b))return b;b=a.attachShadow({mode:"open"});var c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("div"),g=document.createElement("img"),h=document.createElement("div"),l=document.createElement("slot"),m=document.createElement("div"),p=document.createElement("span"),q=document.createElement("span");c.textContent=":host{display:block;max-width:100%;box-sizing:border-box;color-scheme:light dark;--x-image-radius:var(--x-radius-md,8px);--x-image-bg:var(--x-color-surface,#f3f4f6);--x-image-border:0;--x-image-shimmer-color:var(--x-color-border,rgba(0,0,0,0.08));--x-image-shimmer-highlight:rgba(255,255,255,0.65);--x-image-shimmer-duration:1.5s;--x-image-fade-duration:var(--x-transition-duration,200ms);--x-image-fade-easing:var(--x-transition-easing,ease);--x-image-text:var(--x-color-text-muted,rgba(0,0,0,0.55));--x-image-error-gap:var(--x-space-xs,6px);--x-image-font-family:var(--x-font-family,system-ui,sans-serif);--x-image-font-size:var(--x-font-size-sm,0.875rem);}@media (prefers-color-scheme:dark){:host{--x-image-bg:var(--x-color-surface,#1f2937);--x-image-shimmer-color:var(--x-color-border,rgba(255,255,255,0.08));--x-image-shimmer-highlight:rgba(255,255,255,0.10);--x-image-text:var(--x-color-text-muted,rgba(255,255,255,0.65));}}[part\x3dframe]{position:relative;width:100%;height:100%;min-height:1em;background:var(--x-image-bg);border-radius:var(--x-image-radius);border:var(--x-image-border);overflow:hidden;}[part\x3dimage]{display:block;width:100%;height:100%;opacity:0;transition:opacity var(--x-image-fade-duration) var(--x-image-fade-easing);}:host([data-state\x3dloaded]) [part\x3dimage]{opacity:1;}[part\x3dshimmer]{position:absolute;inset:0;background-color:var(--x-image-shimmer-color);background-image:linear-gradient(90deg,transparent 0%,var(--x-image-shimmer-highlight) 50%,transparent 100%);background-size:200% 100%;background-repeat:no-repeat;background-position:-100% 0;animation:x-image-shimmer var(--x-image-shimmer-duration) linear infinite;}@keyframes x-image-shimmer{0%{background-position:-100% 0;}100%{background-position:100% 0;}}:host([data-state\x3dloaded]) [part\x3dshimmer],:host([data-state\x3derror]) [part\x3dshimmer]{display:none;}[part\x3derror]{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:var(--x-image-error-gap);padding:8px;text-align:center;color:var(--x-image-text);font-family:var(--x-image-font-family);font-size:var(--x-image-font-size);}:host([data-state\x3derror]) [part\x3derror]{display:flex;}:host([data-state\x3derror]) [part\x3dimage]{visibility:hidden;}[part\x3derror-glyph]{font-size:1.5em;line-height:1;}[part\x3derror-text]{line-height:1.25;}@media (prefers-reduced-motion:reduce){[part\x3dshimmer]{animation:none;}[part\x3dimage]{transition:none;}}";
4
+ d.setAttribute("part","frame");e.setAttribute("part","shimmer");e.setAttribute("aria-hidden","true");g.setAttribute("part","image");g.alt="";g.decoding="async";g.loading="lazy";h.setAttribute("part","error");h.setAttribute("role","img");h.setAttribute("aria-label","Image failed to load");l.setAttribute("name","error");m.setAttribute("part","error-default");p.setAttribute("part","error-glyph");p.setAttribute("aria-hidden","true");p.textContent="⚠";q.setAttribute("part","error-text");q.textContent=
5
+ "Image unavailable";m.appendChild(p);m.appendChild(q);l.appendChild(m);h.appendChild(l);d.appendChild(e);d.appendChild(g);d.appendChild(h);b.appendChild(c);b.appendChild(d);a.__xImageRefs=new $APP.R(null,6,[$APP.li,b,tI,d,uI,e,$APP.aj,g,vI,h,wI,l],null);return $APP.k(a,"__xImageRefs")},yI=function(a,b){a.__xImageState=b;a.setAttribute("data-state",b)},KI=function(a){var b=new $APP.R(null,8,[$APP.yl,a.getAttribute("src"),$APP.bm,a.getAttribute("alt"),zI,a.hasAttribute("alt"),AI,a.hasAttribute("decorative"),
6
+ BI,a.getAttribute("ratio"),CI,a.getAttribute("fit"),$APP.Bj,a.getAttribute("position"),$APP.Vl,a.getAttribute("loading")],null);var c=$APP.M(b),d=$APP.D(c,$APP.yl),e=$APP.D(c,$APP.bm),g=$APP.D(c,zI),h=$APP.D(c,AI),l=$APP.D(c,BI),m=$APP.D(c,CI);b=$APP.D(c,$APP.Bj);var p=$APP.D(c,$APP.Vl);h=$APP.F(h);l=sI(l);c=$APP.M(l);l=$APP.D(c,$APP.xh);c=$APP.D(c,$APP.Ah);var q=!h&&$APP.r(g);e=h?"":$APP.n(g)?$APP.n(e)?e:"":"";typeof m==="string"?(m=m.trim().toLowerCase(),m=$APP.J(DI,m)?m:"cover"):m="cover";typeof d===
7
+ "string"?(d=$APP.Kg(d),d=typeof d==="string"&&$APP.N("",d)?d:null):d=null;typeof p==="string"?(p=p.trim().toLowerCase(),p=$APP.J(EI,p)?p:"lazy"):p="lazy";typeof b==="string"?(b=b.trim(),b=$APP.C.i(b,"")?"center":b):b="center";b=$APP.xf([$APP.Rh,FI,$APP.ak,GI,$APP.Sk,HI,II,$APP.tm,JI],[e,m,d,h,p,c,q,b,l]);$APP.N($APP.k(a,"__xImageModel"),b)&&(h=xI(a),c=$APP.M(h),h=$APP.D(c,tI),l=$APP.D(c,$APP.aj),c=$APP.D(c,vI),q=$APP.k(a,"__xImageModel"),p=$APP.n(q)?$APP.ak.g(q):null,q=q==null||$APP.N(p,$APP.ak.g(b)),
8
+ $APP.n(JI.g(b))?h.style.aspectRatio=JI.g(b):h.style.aspectRatio="",$APP.n(HI.g(b))||$APP.n($APP.k(a,"__xImageWarnedRatio"))||(a.__xImageWarnedRatio=!0,console.warn('[x-image] Invalid ratio attribute; expected "W:H" (e.g. "16:9").')),l.style.objectFit=FI.g(b),l.style.objectPosition=$APP.tm.g(b),l.loading=$APP.Sk.g(b),l.decoding="async",$APP.n(GI.g(b))?(l.alt="",a.setAttribute("aria-hidden","true"),a.removeAttribute("role")):(l.alt=$APP.Rh.g(b),a.removeAttribute("aria-hidden"),a.setAttribute("role",
9
+ "img"),$APP.n(II.g(b))&&!$APP.n($APP.k(a,"__xImageWarnedAlt"))&&(a.__xImageWarnedAlt=!0,console.warn('[x-image] Missing alt attribute. Set alt\x3d"…" or add the `decorative` attribute.'))),c.setAttribute("aria-label",$APP.r(GI.g(b))&&$APP.N("",$APP.Rh.g(b))?$APP.Rh.g(b):"Image failed to load"),q&&(h=$APP.ak.g(b),l=$APP.M($APP.k(a,"__xImageRefs")),l=$APP.D(l,$APP.aj),$APP.N($APP.k(a,"__xImageCurrentSrc"),h)&&(a.__xImageCurrentSrc=h,typeof h==="string"&&$APP.N("",h)?(yI(a,"loading"),l.setAttribute("src",
10
+ h)):(l.removeAttribute("src"),yI(a,"loading")))),a.__xImageModel=b)},OI=function(a){function b(){var e=$APP.M($APP.k(a,"__xImageRefs")),g=$APP.D(e,$APP.aj);e=$APP.k(a,"__xImageCurrentSrc");$APP.n($APP.n(g)?typeof e==="string"&&$APP.N("",e):g)&&(g=g.getAttribute("src"),$APP.C.i(g,e)&&(yI(a,"error"),e=$APP.ph(new $APP.R(null,1,[$APP.ak,$APP.n(e)?e:""],null)),e=new CustomEvent("x-image-error",{detail:e,bubbles:!0,composed:!0,cancelable:!1}),a.dispatchEvent(e)));return null}function c(){var e=$APP.M($APP.k(a,
11
+ "__xImageRefs")),g=$APP.D(e,$APP.aj);e=$APP.k(a,"__xImageCurrentSrc");if($APP.n($APP.n(g)?typeof e==="string"&&$APP.N("",e):g)){var h=g.getAttribute("src");$APP.C.i(h,e)&&(yI(a,"loaded"),h=g.naturalWidth,g=g.naturalHeight,e=$APP.ph(new $APP.R(null,3,[$APP.ak,$APP.n(e)?e:"",LI,$APP.n(h)?h:0,MI,$APP.n(g)?g:0],null)),e=new CustomEvent("x-image-load",{detail:e,bubbles:!0,composed:!0,cancelable:!1}),a.dispatchEvent(e))}return null}var d=xI(a);d=$APP.M(d);d=$APP.D(d,$APP.aj);d.addEventListener("load",c);
12
+ d.addEventListener("error",b);$APP.Ag(a,"__xImageHandlers",new $APP.R(null,2,[NI,c,$APP.ii,b],null))},PI=function(a){var b=$APP.k(a,"__xImageHandlers"),c=$APP.k(a,"__xImageRefs");if($APP.n($APP.n(b)?c:b)){c=$APP.aj.g(c);var d=NI.g(b);b=$APP.ii.g(b);$APP.n(d)&&c.removeEventListener("load",d);$APP.n(b)&&c.removeEventListener("error",b)}a.__xImageHandlers=null},QI=function(a,b,c){Object.defineProperty(a,b,{get:function(){var d=this.getAttribute(c);return $APP.n(d)?d:""},set:function(d){return d==null||
13
+ $APP.C.i(d,"")?this.removeAttribute(c):this.setAttribute(c,""+$APP.T.g(d))},enumerable:!0,configurable:!0})},RI=function(a){QI(a,"src","src");QI(a,"alt","alt");QI(a,"ratio","ratio");QI(a,"fit","fit");QI(a,"position","position");QI(a,"loading","loading");Object.defineProperty(a,"decorative",{get:function(){return this.hasAttribute("decorative")},set:function(b){return $APP.n(b)?this.setAttribute("decorative",""):this.removeAttribute("decorative")},enumerable:!0,configurable:!0});Object.defineProperty(a,
14
+ "naturalWidth",{get:function(){var b=$APP.k(this,"__xImageRefs");return $APP.n(b)?$APP.aj.g(b).naturalWidth:0},enumerable:!0,configurable:!0});Object.defineProperty(a,"naturalHeight",{get:function(){var b=$APP.k(this,"__xImageRefs");return $APP.n(b)?$APP.aj.g(b).naturalHeight:0},enumerable:!0,configurable:!0});Object.defineProperty(a,"state",{get:function(){var b=$APP.k(this,"__xImageState");return $APP.n(b)?b:"loading"},enumerable:!0,configurable:!0})},TI=function(){var a=class extends HTMLElement{};
15
+ a.observedAttributes=SI;a.prototype.connectedCallback=function(){xI(this);PI(this);OI(this);$APP.k(this,"__xImageState")==null&&yI(this,"loading");KI(this);return null};a.prototype.disconnectedCallback=function(){PI(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&KI(this);return null};RI(a.prototype);return a},UI=function(){$APP.n(customElements.get("x-image"))||customElements.define("x-image",TI());return null},tI=new $APP.K(null,"frame","frame",-1711082588),
16
+ CI=new $APP.K(null,"fit-raw","fit-raw",792829585),GI=new $APP.K(null,"decorative?","decorative?",131461581),vI=new $APP.K(null,"error-box","error-box",1060106676),JI=new $APP.K(null,"ratio-css","ratio-css",1208951932),uI=new $APP.K(null,"shimmer","shimmer",2123148747),wI=new $APP.K(null,"error-slot","error-slot",493821239),BI=new $APP.K(null,"ratio-raw","ratio-raw",-1076891672),II=new $APP.K(null,"warn-alt?","warn-alt?",-638898603),NI=new $APP.K(null,"load","load",-1318641184),AI=new $APP.K(null,
17
+ "decorative-present?","decorative-present?",2067744841),FI=new $APP.K(null,"fit","fit",869444807),zI=new $APP.K(null,"alt-present?","alt-present?",-707038767),LI=new $APP.K(null,"naturalWidth","naturalWidth",-1890093257),MI=new $APP.K(null,"naturalHeight","naturalHeight",227028566),HI=new $APP.K(null,"ratio-valid?","ratio-valid?",-713026893);var SI="src alt decorative ratio fit position loading".split(" ");
18
+ $APP.xf([$APP.Rh,FI,$APP.ak,new $APP.K(null,"state","state",-1988618099),new $APP.K(null,"decorative","decorative",-238973678),$APP.Sk,$APP.$i,MI,LI,$APP.tm],[new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.cj,!0],null),new $APP.R(null,1,[$APP.Y,$APP.Fj],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,2,[$APP.Y,$APP.V,$APP.cj,!0],null),
19
+ new $APP.R(null,2,[$APP.Y,$APP.V,$APP.cj,!0],null),new $APP.R(null,1,[$APP.Y,$APP.X],null)]);$APP.Pd(["x-image-load",new $APP.R(null,2,[$APP.Cj,new $APP.R(null,3,[$APP.ak,$APP.X,LI,$APP.V,MI,$APP.V],null),$APP.Dl,!1],null),"x-image-error",new $APP.R(null,2,[$APP.Cj,new $APP.R(null,1,[$APP.ak,$APP.X],null),$APP.Dl,!1],null)]);
20
+ var DI=new $APP.S(null,new $APP.R(null,5,["cover",null,"none",null,"fill",null,"scale-down",null,"contain",null],null),null),EI=new $APP.S(null,new $APP.R(null,2,["eager",null,"lazy",null],null),null),rI=/^\s*(\d+(?:\.\d+)?)\s*[:\/]\s*(\d+(?:\.\d+)?)\s*$/;$APP.fa("baredom.exports.x_image.init",UI);export const init=UI;
@@ -1,30 +1,30 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var kY=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.C.i(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},mY=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(lY,a)?a:"cursor"},pY=function(a){return typeof a==="string"?(a=$APP.Ue.m($APP.Rf,$APP.be(function(b){return $APP.J(nY,b)}),a.trim().toLowerCase().split(/\s+/)),$APP.Gc(a)?oY:a):oY},qY=function(a){return typeof a==="string"?(a=a.trim(),$APP.C.i(a,"")?null:a):
3
- null},rY=function(a,b,c,d,e,g,h){b=c+(g*(b-a)-h*c)/e*d;return[a+b*d,b]},sY=function(a,b){if(a>=b)return 0;a=1-a/b;return a*a},tY=function(a,b,c,d,e,g,h,l,m,p,q){a*=c;d=$APP.J(b,"bulge")?d+a*(e-d):d;g=$APP.J(b,"stretch")?g+a*(h-g):g;l=$APP.J(b,"lean")?m+a*(l-m):m;b=$APP.J(b,"breathe")?p+a*(q-p):p;return[d,g,l,b]},uY=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},FY=function(a){a=$APP.xf([$APP.cj,$APP.bk,vY,wY,xY,$APP.sh,$APP.Lk,yY,$APP.fj,zY],[a.getAttribute("mass"),
4
- a.getAttribute("intensity"),a.getAttribute("trigger"),a.getAttribute("per-char"),a.getAttribute("font-family"),a.getAttribute("text"),a.getAttribute("mode"),a.getAttribute("friction"),a.getAttribute("radius"),a.getAttribute("tension")]);var b=$APP.M(a);a=$APP.D(b,$APP.fj);var c=$APP.D(b,zY),d=$APP.D(b,$APP.cj),e=$APP.D(b,$APP.bk),g=$APP.D(b,wY),h=$APP.D(b,vY),l=$APP.D(b,xY),m=$APP.D(b,$APP.sh),p=$APP.D(b,$APP.Lk);b=$APP.D(b,yY);return $APP.xf([$APP.Ll,AY,BY,$APP.am,$APP.Tj,CY,$APP.Gj,DY,EY,$APP.Qk],
5
- [kY(d,1,.1,10),kY(c,170,10,500),pY(p),kY(a,200,20,1E3),kY(e,.5,0,1),g!=null,kY(b,26,1,100),mY(h),qY(l),typeof m==="string"?m:""])},GY=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.C.i(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:a}return b},HY=function(a,b,c){a=a.style;var d=a.setProperty;b="'wght' "+$APP.T.g(b[0].toFixed(1))+", 'wdth' "+$APP.T.g(b[1].toFixed(1))+", 'slnt' "+$APP.T.g(b[2].toFixed(1))+", 'opsz' "+$APP.T.g(b[3].toFixed(1));d.call(a,"font-variation-settings",b);
6
- c===0?a.removeProperty("transform"):a.setProperty("transform","skewX("+$APP.T.g(c.toFixed(1))+"deg)")},JY=function(a){$APP.n($APP.k(a,"__xKineticFontRaf"))||($APP.n($APP.k(a,"__xKineticFontAct"))||(a.__xKineticFontAct=!0,a.dispatchEvent(new CustomEvent("x-kinetic-font-spring-activate",{bubbles:!0,composed:!0,detail:{}}))),$APP.ia(a,"__xKineticFontLF",performance.now()),$APP.ia(a,"__xKineticFontRaf",requestAnimationFrame(function(){return IY(a)})))},KY=function(a){var b=window.scrollY,c=b-function(){var d=
7
- $APP.k(a,"__xKineticFontLSY");return $APP.n(d)?d:b}();a.__xKineticFontLSY=b;$APP.ia(a,"__xKineticFontSD",function(){var d=$APP.k(a,"__xKineticFontSD");return $APP.n(d)?d:0}()+Math.abs(c));uY()||JY(a);return null},LY=function(a){var b=DY.g($APP.k(a,"__xKineticFontModel")),c={};if($APP.C.i(b,"cursor")||$APP.C.i(b,"both")){var d=function(e){a.__xKineticFontMX=e.clientX;a.__xKineticFontMY=e.clientY;uY()||JY(a);return null};c.move=d;document.addEventListener("pointermove",d,{passive:!0})}if($APP.C.i(b,
8
- "scroll")||$APP.C.i(b,"both"))b=function(){return KY(a)},c.scroll=b,a.__xKineticFontLSY=window.scrollY,window.addEventListener("scroll",b,{passive:!0});a.__xKineticFontHdl=c},MY=function(a){var b=$APP.k(a,"__xKineticFontHdl");if($APP.n(b)){var c=$APP.k(b,"move");$APP.n(c)&&document.removeEventListener("pointermove",c);b=$APP.k(b,"scroll");$APP.n(b)&&window.removeEventListener("scroll",b);a.__xKineticFontHdl=null}},XY=function(a,b){var c=$APP.k(a,"__xKineticFontModel");a.__xKineticFontModel=b;if($APP.N($APP.Qk.g(b),
9
- $APP.Qk.g(c))||$APP.N(CY.g(b),CY.g(c)))if($APP.n(CY.g(b))){var d=$APP.Qk.g(b),e=$APP.M($APP.k(a,"__xKineticFontRefs"));e=$APP.D(e,$APP.ej);d=$APP.ve(d);var g=$APP.z(d),h=Array(g),l=Array(g);e.textContent="";for(var m=0;;)if(m<g){var p=$APP.oc(d,m),q=document.createElement("span");q.setAttribute("part","char");$APP.C.i(p," ")?(q.setAttribute("data-ws",""),q.innerHTML="\x26nbsp;"):q.textContent=p;e.appendChild(q);h[m]=q;l[m]=[0,0];m+=1}else break;a.__xKineticFontCS=h;a.__xKineticFontSpr=l}else e=$APP.Qk.g(b),
10
- d=$APP.M($APP.k(a,"__xKineticFontRefs")),$APP.D(d,$APP.ej).textContent=e,a.__xKineticFontCS=null,a.__xKineticFontSpr=[[0,0]];$APP.N(DY.g(b),DY.g(c))&&(MY(a),LY(a));c=$APP.M($APP.k(a,"__xKineticFontRefs"));c=$APP.D(c,$APP.ej);e=EY.g(b);$APP.n(e)?c.style.setProperty("font-family",e):c.style.removeProperty("font-family");c=getComputedStyle(a);c=$APP.xf([NY,OY,PY,QY,RY,SY,TY,UY,VY],[GY(c.getPropertyValue("--x-kinetic-font-slant-max"),0),GY(c.getPropertyValue("--x-kinetic-font-slant-min"),-12),GY(c.getPropertyValue("--x-kinetic-font-opsz-max"),
11
- 144),GY(c.getPropertyValue("--x-kinetic-font-opsz-min"),8),GY(c.getPropertyValue("--x-kinetic-font-weight-min"),100),GY(c.getPropertyValue("--x-kinetic-font-skew-max"),-15),GY(c.getPropertyValue("--x-kinetic-font-width-max"),125),GY(c.getPropertyValue("--x-kinetic-font-width-min"),75),GY(c.getPropertyValue("--x-kinetic-font-weight-max"),900)]);a.__xKineticFontCV=c;c=$APP.Qk.g(b);e=$APP.M($APP.k(a,"__xKineticFontRefs"));$APP.D(e,WY).textContent=c;$APP.C.i(c,"")?(a.setAttribute("aria-hidden","true"),
12
- a.removeAttribute("role")):(a.removeAttribute("aria-hidden"),a.setAttribute("role","text"),a.setAttribute("aria-label",c));if(!uY())if(c=$APP.k(a,"__xKineticFontCV"),c=tY(0,BY.g(b),$APP.Tj.g(b),RY.g(c),VY.g(c),UY.g(c),TY.g(c),OY.g(c),NY.g(c),QY.g(c),PY.g(c)),$APP.n(CY.g(b))){if(a=$APP.k(a,"__xKineticFontCS"),$APP.n(a))for(b=a.length,e=0;;)if(e<b)HY(a[e],c,0),e+=1;else break}else a=$APP.M($APP.k(a,"__xKineticFontRefs")),a=$APP.D(a,$APP.ej),HY(a,c,0)},YY=function(a){Object.defineProperty(a,"text",{get:function(){var b=
13
- this.getAttribute("text");return $APP.n(b)?b:""},set:function(b){return b==null?this.removeAttribute("text"):this.setAttribute("text",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"trigger",{get:function(){return mY(this.getAttribute("trigger"))},set:function(b){return b==null?this.removeAttribute("trigger"):this.setAttribute("trigger",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){var b=this.getAttribute("mode");return $APP.n(b)?
14
- b:"bulge"},set:function(b){return b==null?this.removeAttribute("mode"):this.setAttribute("mode",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"perChar",{get:function(){return this.hasAttribute("per-char")},set:function(b){return $APP.n(b)?this.setAttribute("per-char",""):this.removeAttribute("per-char")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mass",{get:function(){var b=this.getAttribute("mass");return kY(b,1,.1,10)},set:function(b){return b==null?this.removeAttribute("mass"):
15
- this.setAttribute("mass",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"tension",{get:function(){var b=this.getAttribute("tension");return kY(b,170,10,500)},set:function(b){return b==null?this.removeAttribute("tension"):this.setAttribute("tension",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"friction",{get:function(){var b=this.getAttribute("friction");return kY(b,26,1,100)},set:function(b){return b==null?this.removeAttribute("friction"):this.setAttribute("friction",
16
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"intensity",{get:function(){var b=this.getAttribute("intensity");return kY(b,.5,0,1)},set:function(b){return b==null?this.removeAttribute("intensity"):this.setAttribute("intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"radius",{get:function(){var b=this.getAttribute("radius");return kY(b,200,20,1E3)},set:function(b){return b==null?this.removeAttribute("radius"):this.setAttribute("radius",""+
17
- $APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"fontFamily",{get:function(){return qY(this.getAttribute("font-family"))},set:function(b){return b==null?this.removeAttribute("font-family"):this.setAttribute("font-family",""+$APP.T.g(b))},enumerable:!0,configurable:!0})},aZ=function(){var a=class extends HTMLElement{};a.observedAttributes=ZY;a.prototype.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xKineticFontRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),
18
- d=document.createElement("div"),e=document.createElement("span");c.textContent=$Y;d.setAttribute("part","container");e.setAttribute("class","sr-only");e.setAttribute("part","sr-only");b.appendChild(c);b.appendChild(d);b.appendChild(e);this.__xKineticFontRefs=new $APP.R(null,3,[$APP.ji,b,$APP.ej,d,WY,e],null)}b=FY(this);this.__xKineticFontModel=null;this.__xKineticFontSD=this.__xKineticFontMY=this.__xKineticFontMX=0;this.__xKineticFontAct=!1;XY(this,b);return null};a.prototype.disconnectedCallback=
19
- function(){var b=$APP.k(this,"__xKineticFontRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xKineticFontRaf=null);MY(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xKineticFontRefs"))&&(b=FY(this),$APP.N(b,$APP.k(this,"__xKineticFontModel"))&&XY(this,b));return null};YY(a.prototype);return a},bZ=function(){$APP.n(customElements.get("x-kinetic-font"))||customElements.define("x-kinetic-font",aZ());return null},wY=new $APP.K(null,"per-char-attr",
20
- "per-char-attr",-403667422),vY=new $APP.K(null,"trigger-raw","trigger-raw",-1649744606),OY=new $APP.K(null,"slnt-min","slnt-min",71363427),TY=new $APP.K(null,"wdth-max","wdth-max",-522030121),SY=new $APP.K(null,"skew-max","skew-max",1543858453),UY=new $APP.K(null,"wdth-min","wdth-min",-986627045),xY=new $APP.K(null,"font-family-raw","font-family-raw",1729457924),CY=new $APP.K(null,"per-char?","per-char?",-1016397834),DY=new $APP.K(null,"trigger","trigger",103466139),QY=new $APP.K(null,"opsz-min",
21
- "opsz-min",-829837010),WY=new $APP.K(null,"sr-only","sr-only",-173275148),NY=new $APP.K(null,"slnt-max","slnt-max",1716167520),yY=new $APP.K(null,"friction-raw","friction-raw",-1078184200),PY=new $APP.K(null,"opsz-max","opsz-max",454458088),RY=new $APP.K(null,"wght-min","wght-min",529224020),BY=new $APP.K(null,"modes","modes",-1377787092),VY=new $APP.K(null,"wght-max","wght-max",-514604421),zY=new $APP.K(null,"tension-raw","tension-raw",961657279),EY=new $APP.K(null,"font-family","font-family",-667419874),
22
- AY=new $APP.K(null,"tension","tension",58343589);var ZY="text trigger mode per-char mass tension friction intensity radius font-family".split(" ");
23
- $APP.xf([$APP.Ll,AY,$APP.Xi,new $APP.K(null,"perChar","perChar",2082880685),$APP.am,$APP.Tj,new $APP.K(null,"fontFamily","fontFamily",1493518353),$APP.Gj,DY,$APP.Qk],[new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.X],null),new $APP.R(null,1,[$APP.Z,$APP.Bj],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.X],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,
24
- 1,[$APP.Z,$APP.X],null),new $APP.R(null,1,[$APP.Z,$APP.X],null)]);$APP.Pd(["x-kinetic-font-spring-activate",new $APP.R(null,2,[$APP.yj,$APP.Qd,$APP.wl,!1],null),"x-kinetic-font-spring-settle",new $APP.R(null,2,[$APP.yj,$APP.Qd,$APP.wl,!1],null)]);
25
- var lY=new $APP.S(null,new $APP.R(null,3,["scroll",null,"both",null,"cursor",null],null),null),nY=new $APP.S(null,new $APP.R(null,4,["breathe",null,"lean",null,"bulge",null,"stretch",null],null),null),oY=new $APP.S(null,new $APP.R(null,1,["bulge",null],null),null);var $Y=":host{display:inline-block;box-sizing:border-box;color-scheme:light dark;"+$APP.T.g("--x-kinetic-font-color")+":var(--x-color-text,currentColor);"+$APP.T.g("--x-kinetic-font-family")+":system-ui,sans-serif;"+$APP.T.g("--x-kinetic-font-size")+":2rem;"+$APP.T.g("--x-kinetic-font-weight-min")+":100;"+$APP.T.g("--x-kinetic-font-weight-max")+":900;"+$APP.T.g("--x-kinetic-font-width-min")+":75;"+$APP.T.g("--x-kinetic-font-width-max")+":125;"+$APP.T.g("--x-kinetic-font-slant-min")+":-12;"+$APP.T.g("--x-kinetic-font-slant-max")+
2
+ var iZ=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.C.i(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},kZ=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(jZ,a)?a:"cursor"},nZ=function(a){return typeof a==="string"?(a=$APP.Ue.m($APP.Rf,$APP.be(function(b){return $APP.J(lZ,b)}),a.trim().toLowerCase().split(/\s+/)),$APP.Gc(a)?mZ:a):mZ},oZ=function(a){return typeof a==="string"?(a=a.trim(),$APP.C.i(a,"")?null:a):
3
+ null},pZ=function(a,b,c,d,e,g,h){b=c+(g*(b-a)-h*c)/e*d;return[a+b*d,b]},qZ=function(a,b){if(a>=b)return 0;a=1-a/b;return a*a},rZ=function(a,b,c,d,e,g,h,l,m,p,q){a*=c;d=$APP.J(b,"bulge")?d+a*(e-d):d;g=$APP.J(b,"stretch")?g+a*(h-g):g;l=$APP.J(b,"lean")?m+a*(l-m):m;b=$APP.J(b,"breathe")?p+a*(q-p):p;return[d,g,l,b]},sZ=function(){return $APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},DZ=function(a){a=$APP.xf([$APP.gj,$APP.gk,tZ,uZ,vZ,$APP.sh,$APP.Rk,wZ,$APP.jj,xZ],[a.getAttribute("mass"),
4
+ a.getAttribute("intensity"),a.getAttribute("trigger"),a.getAttribute("per-char"),a.getAttribute("font-family"),a.getAttribute("text"),a.getAttribute("mode"),a.getAttribute("friction"),a.getAttribute("radius"),a.getAttribute("tension")]);var b=$APP.M(a);a=$APP.D(b,$APP.jj);var c=$APP.D(b,xZ),d=$APP.D(b,$APP.gj),e=$APP.D(b,$APP.gk),g=$APP.D(b,uZ),h=$APP.D(b,tZ),l=$APP.D(b,vZ),m=$APP.D(b,$APP.sh),p=$APP.D(b,$APP.Rk);b=$APP.D(b,wZ);return $APP.xf([$APP.Sl,yZ,zZ,$APP.jm,$APP.Xj,AZ,$APP.Kj,BZ,CZ,$APP.Wk],
5
+ [iZ(d,1,.1,10),iZ(c,170,10,500),nZ(p),iZ(a,200,20,1E3),iZ(e,.5,0,1),g!=null,iZ(b,26,1,100),kZ(h),oZ(l),typeof m==="string"?m:""])},EZ=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.C.i(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:a}return b},FZ=function(a,b,c){a=a.style;var d=a.setProperty;b="'wght' "+$APP.T.g(b[0].toFixed(1))+", 'wdth' "+$APP.T.g(b[1].toFixed(1))+", 'slnt' "+$APP.T.g(b[2].toFixed(1))+", 'opsz' "+$APP.T.g(b[3].toFixed(1));d.call(a,"font-variation-settings",b);
6
+ c===0?a.removeProperty("transform"):a.setProperty("transform","skewX("+$APP.T.g(c.toFixed(1))+"deg)")},HZ=function(a){$APP.n($APP.k(a,"__xKineticFontRaf"))||($APP.n($APP.k(a,"__xKineticFontAct"))||(a.__xKineticFontAct=!0,a.dispatchEvent(new CustomEvent("x-kinetic-font-spring-activate",{bubbles:!0,composed:!0,detail:{}}))),$APP.ia(a,"__xKineticFontLF",performance.now()),$APP.ia(a,"__xKineticFontRaf",requestAnimationFrame(function(){return GZ(a)})))},IZ=function(a){var b=window.scrollY,c=b-function(){var d=
7
+ $APP.k(a,"__xKineticFontLSY");return $APP.n(d)?d:b}();a.__xKineticFontLSY=b;$APP.ia(a,"__xKineticFontSD",function(){var d=$APP.k(a,"__xKineticFontSD");return $APP.n(d)?d:0}()+Math.abs(c));sZ()||HZ(a);return null},JZ=function(a){var b=BZ.g($APP.k(a,"__xKineticFontModel")),c={};if($APP.C.i(b,"cursor")||$APP.C.i(b,"both")){var d=function(e){a.__xKineticFontMX=e.clientX;a.__xKineticFontMY=e.clientY;sZ()||HZ(a);return null};c.move=d;document.addEventListener("pointermove",d,{passive:!0})}if($APP.C.i(b,
8
+ "scroll")||$APP.C.i(b,"both"))b=function(){return IZ(a)},c.scroll=b,a.__xKineticFontLSY=window.scrollY,window.addEventListener("scroll",b,{passive:!0});a.__xKineticFontHdl=c},KZ=function(a){var b=$APP.k(a,"__xKineticFontHdl");if($APP.n(b)){var c=$APP.k(b,"move");$APP.n(c)&&document.removeEventListener("pointermove",c);b=$APP.k(b,"scroll");$APP.n(b)&&window.removeEventListener("scroll",b);a.__xKineticFontHdl=null}},VZ=function(a,b){var c=$APP.k(a,"__xKineticFontModel");a.__xKineticFontModel=b;if($APP.N($APP.Wk.g(b),
9
+ $APP.Wk.g(c))||$APP.N(AZ.g(b),AZ.g(c)))if($APP.n(AZ.g(b))){var d=$APP.Wk.g(b),e=$APP.M($APP.k(a,"__xKineticFontRefs"));e=$APP.D(e,$APP.ij);d=$APP.ve(d);var g=$APP.z(d),h=Array(g),l=Array(g);e.textContent="";for(var m=0;;)if(m<g){var p=$APP.oc(d,m),q=document.createElement("span");q.setAttribute("part","char");$APP.C.i(p," ")?(q.setAttribute("data-ws",""),q.innerHTML="\x26nbsp;"):q.textContent=p;e.appendChild(q);h[m]=q;l[m]=[0,0];m+=1}else break;a.__xKineticFontCS=h;a.__xKineticFontSpr=l}else e=$APP.Wk.g(b),
10
+ d=$APP.M($APP.k(a,"__xKineticFontRefs")),$APP.D(d,$APP.ij).textContent=e,a.__xKineticFontCS=null,a.__xKineticFontSpr=[[0,0]];$APP.N(BZ.g(b),BZ.g(c))&&(KZ(a),JZ(a));c=$APP.M($APP.k(a,"__xKineticFontRefs"));c=$APP.D(c,$APP.ij);e=CZ.g(b);$APP.n(e)?c.style.setProperty("font-family",e):c.style.removeProperty("font-family");c=getComputedStyle(a);c=$APP.xf([LZ,MZ,NZ,OZ,PZ,QZ,RZ,SZ,TZ],[EZ(c.getPropertyValue("--x-kinetic-font-slant-max"),0),EZ(c.getPropertyValue("--x-kinetic-font-slant-min"),-12),EZ(c.getPropertyValue("--x-kinetic-font-opsz-max"),
11
+ 144),EZ(c.getPropertyValue("--x-kinetic-font-opsz-min"),8),EZ(c.getPropertyValue("--x-kinetic-font-weight-min"),100),EZ(c.getPropertyValue("--x-kinetic-font-skew-max"),-15),EZ(c.getPropertyValue("--x-kinetic-font-width-max"),125),EZ(c.getPropertyValue("--x-kinetic-font-width-min"),75),EZ(c.getPropertyValue("--x-kinetic-font-weight-max"),900)]);a.__xKineticFontCV=c;c=$APP.Wk.g(b);e=$APP.M($APP.k(a,"__xKineticFontRefs"));$APP.D(e,UZ).textContent=c;$APP.C.i(c,"")?(a.setAttribute("aria-hidden","true"),
12
+ a.removeAttribute("role")):(a.removeAttribute("aria-hidden"),a.setAttribute("role","text"),a.setAttribute("aria-label",c));if(!sZ())if(c=$APP.k(a,"__xKineticFontCV"),c=rZ(0,zZ.g(b),$APP.Xj.g(b),PZ.g(c),TZ.g(c),SZ.g(c),RZ.g(c),MZ.g(c),LZ.g(c),OZ.g(c),NZ.g(c)),$APP.n(AZ.g(b))){if(a=$APP.k(a,"__xKineticFontCS"),$APP.n(a))for(b=a.length,e=0;;)if(e<b)FZ(a[e],c,0),e+=1;else break}else a=$APP.M($APP.k(a,"__xKineticFontRefs")),a=$APP.D(a,$APP.ij),FZ(a,c,0)},WZ=function(a){Object.defineProperty(a,"text",{get:function(){var b=
13
+ this.getAttribute("text");return $APP.n(b)?b:""},set:function(b){return b==null?this.removeAttribute("text"):this.setAttribute("text",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"trigger",{get:function(){return kZ(this.getAttribute("trigger"))},set:function(b){return b==null?this.removeAttribute("trigger"):this.setAttribute("trigger",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){var b=this.getAttribute("mode");return $APP.n(b)?
14
+ b:"bulge"},set:function(b){return b==null?this.removeAttribute("mode"):this.setAttribute("mode",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"perChar",{get:function(){return this.hasAttribute("per-char")},set:function(b){return $APP.n(b)?this.setAttribute("per-char",""):this.removeAttribute("per-char")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mass",{get:function(){var b=this.getAttribute("mass");return iZ(b,1,.1,10)},set:function(b){return b==null?this.removeAttribute("mass"):
15
+ this.setAttribute("mass",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"tension",{get:function(){var b=this.getAttribute("tension");return iZ(b,170,10,500)},set:function(b){return b==null?this.removeAttribute("tension"):this.setAttribute("tension",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"friction",{get:function(){var b=this.getAttribute("friction");return iZ(b,26,1,100)},set:function(b){return b==null?this.removeAttribute("friction"):this.setAttribute("friction",
16
+ ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"intensity",{get:function(){var b=this.getAttribute("intensity");return iZ(b,.5,0,1)},set:function(b){return b==null?this.removeAttribute("intensity"):this.setAttribute("intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"radius",{get:function(){var b=this.getAttribute("radius");return iZ(b,200,20,1E3)},set:function(b){return b==null?this.removeAttribute("radius"):this.setAttribute("radius",""+
17
+ $APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"fontFamily",{get:function(){return oZ(this.getAttribute("font-family"))},set:function(b){return b==null?this.removeAttribute("font-family"):this.setAttribute("font-family",""+$APP.T.g(b))},enumerable:!0,configurable:!0})},ZZ=function(){var a=class extends HTMLElement{};a.observedAttributes=XZ;a.prototype.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xKineticFontRefs"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),
18
+ d=document.createElement("div"),e=document.createElement("span");c.textContent=YZ;d.setAttribute("part","container");e.setAttribute("class","sr-only");e.setAttribute("part","sr-only");b.appendChild(c);b.appendChild(d);b.appendChild(e);this.__xKineticFontRefs=new $APP.R(null,3,[$APP.li,b,$APP.ij,d,UZ,e],null)}b=DZ(this);this.__xKineticFontModel=null;this.__xKineticFontSD=this.__xKineticFontMY=this.__xKineticFontMX=0;this.__xKineticFontAct=!1;VZ(this,b);return null};a.prototype.disconnectedCallback=
19
+ function(){var b=$APP.k(this,"__xKineticFontRaf");$APP.n(b)&&(cancelAnimationFrame(b),this.__xKineticFontRaf=null);KZ(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xKineticFontRefs"))&&(b=DZ(this),$APP.N(b,$APP.k(this,"__xKineticFontModel"))&&VZ(this,b));return null};WZ(a.prototype);return a},$Z=function(){$APP.n(customElements.get("x-kinetic-font"))||customElements.define("x-kinetic-font",ZZ());return null},uZ=new $APP.K(null,"per-char-attr",
20
+ "per-char-attr",-403667422),tZ=new $APP.K(null,"trigger-raw","trigger-raw",-1649744606),MZ=new $APP.K(null,"slnt-min","slnt-min",71363427),RZ=new $APP.K(null,"wdth-max","wdth-max",-522030121),QZ=new $APP.K(null,"skew-max","skew-max",1543858453),SZ=new $APP.K(null,"wdth-min","wdth-min",-986627045),vZ=new $APP.K(null,"font-family-raw","font-family-raw",1729457924),AZ=new $APP.K(null,"per-char?","per-char?",-1016397834),BZ=new $APP.K(null,"trigger","trigger",103466139),OZ=new $APP.K(null,"opsz-min",
21
+ "opsz-min",-829837010),UZ=new $APP.K(null,"sr-only","sr-only",-173275148),LZ=new $APP.K(null,"slnt-max","slnt-max",1716167520),wZ=new $APP.K(null,"friction-raw","friction-raw",-1078184200),NZ=new $APP.K(null,"opsz-max","opsz-max",454458088),PZ=new $APP.K(null,"wght-min","wght-min",529224020),zZ=new $APP.K(null,"modes","modes",-1377787092),TZ=new $APP.K(null,"wght-max","wght-max",-514604421),xZ=new $APP.K(null,"tension-raw","tension-raw",961657279),CZ=new $APP.K(null,"font-family","font-family",-667419874),
22
+ yZ=new $APP.K(null,"tension","tension",58343589);var XZ="text trigger mode per-char mass tension friction intensity radius font-family".split(" ");
23
+ $APP.xf([$APP.Sl,yZ,$APP.Zi,new $APP.K(null,"perChar","perChar",2082880685),$APP.jm,$APP.Xj,new $APP.K(null,"fontFamily","fontFamily",1493518353),$APP.Kj,BZ,$APP.Wk],[new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.Fj],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,
24
+ 1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.X],null)]);$APP.Pd(["x-kinetic-font-spring-activate",new $APP.R(null,2,[$APP.Cj,$APP.Qd,$APP.Dl,!1],null),"x-kinetic-font-spring-settle",new $APP.R(null,2,[$APP.Cj,$APP.Qd,$APP.Dl,!1],null)]);
25
+ var jZ=new $APP.S(null,new $APP.R(null,3,["scroll",null,"both",null,"cursor",null],null),null),lZ=new $APP.S(null,new $APP.R(null,4,["breathe",null,"lean",null,"bulge",null,"stretch",null],null),null),mZ=new $APP.S(null,new $APP.R(null,1,["bulge",null],null),null);var YZ=":host{display:inline-block;box-sizing:border-box;color-scheme:light dark;"+$APP.T.g("--x-kinetic-font-color")+":var(--x-color-text,currentColor);"+$APP.T.g("--x-kinetic-font-family")+":system-ui,sans-serif;"+$APP.T.g("--x-kinetic-font-size")+":2rem;"+$APP.T.g("--x-kinetic-font-weight-min")+":100;"+$APP.T.g("--x-kinetic-font-weight-max")+":900;"+$APP.T.g("--x-kinetic-font-width-min")+":75;"+$APP.T.g("--x-kinetic-font-width-max")+":125;"+$APP.T.g("--x-kinetic-font-slant-min")+":-12;"+$APP.T.g("--x-kinetic-font-slant-max")+
26
26
  ":0;"+$APP.T.g("--x-kinetic-font-opsz-min")+":8;"+$APP.T.g("--x-kinetic-font-opsz-max")+":144;"+$APP.T.g("--x-kinetic-font-skew-max")+":-15;}[part\x3dcontainer]{color:var("+$APP.T.g("--x-kinetic-font-color")+",currentColor);font-family:var("+$APP.T.g("--x-kinetic-font-family")+",system-ui,sans-serif);font-size:var("+$APP.T.g("--x-kinetic-font-size")+",2rem);line-height:1.2;will-change:font-variation-settings,transform;}[part\x3dchar]{display:inline-block;will-change:font-variation-settings,transform;}[part\x3dchar][data-ws]{white-space:pre;}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}@media(prefers-reduced-motion:reduce){[part\x3dcontainer],[part\x3dchar]{font-variation-settings:normal!important;will-change:auto;}}",
27
- IY=function IY(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xKineticFontModel"),d=$APP.k(a,"__xKineticFontCV"),e=performance.now(),g=Math.min(e-$APP.k(a,"__xKineticFontLF"),100)/1E3,h=$APP.Ll.g(c),l=AY.g(c),m=$APP.Gj.g(c),p=$APP.Tj.g(c),q=$APP.am.g(c),v=DY.g(c);c=BY.g(c);var x=RY.g(d),y=VY.g(d),A=UY.g(d),B=TY.g(d),E=OY.g(d),H=NY.g(d),G=QY.g(d),I=PY.g(d);d=SY.g(d);var Q=$APP.J(c,"lean"),Y=$APP.k(a,"__xKineticFontMX"),la=$APP.k(a,"__xKineticFontMY"),za=function(){var Cb=$APP.k(a,"__xKineticFontSD");
28
- return $APP.n(Cb)?Cb:0}(),Ka=Math.min(1,Math.abs(za)/100),$a=$APP.k(a,"__xKineticFontSpr"),ab=$APP.k(a,"__xKineticFontCS"),jb=ab!=null,Ib=$a.length;a.__xKineticFontLF=e;a.__xKineticFontSD=za*.85;for(var bb=[!0],ca=0;;)if(ca<Ib){za=jb&&($APP.C.i(v,"cursor")||$APP.C.i(v,"both"))?function(){var Cb=ab[ca].getBoundingClientRect(),Dd=Y-(Cb.left+.5*Cb.width);Cb=la-(Cb.top+.5*Cb.height);return Math.max(sY(Math.sqrt(Dd*Dd+Cb*Cb),q),Ka)}():jb&&$APP.C.i(v,"scroll")?Ka:jb||!$APP.C.i(v,"cursor")&&!$APP.C.i(v,
29
- "both")?$APP.C.i(v,"scroll")?Ka:0:function(){var Cb=$APP.M($APP.k(a,"__xKineticFontRefs")),Dd=$APP.D(Cb,$APP.ej).getBoundingClientRect();Cb=Y-(Dd.left+.5*Dd.width);Dd=la-(Dd.top+.5*Dd.height);return Math.max(sY(Math.sqrt(Cb*Cb+Dd*Dd),q),Ka)}();var pa=$a[ca],La=rY(pa[0],za,pa[1],g,h,l,m);e=La[0];La=La[1];pa[0]=e;pa[1]=La;Math.abs(e-za)<.001&&Math.abs(La)<.01||(bb[0]=!1);za=tY(e,c,p,x,y,A,B,E,H,G,I);e=Q?e*p*d:0;jb?HY(ab[ca],za,e):(pa=$APP.M($APP.k(a,"__xKineticFontRefs")),pa=$APP.D(pa,$APP.ej),HY(pa,
30
- za,e));ca+=1}else break;var Ub=function(){var Cb=$APP.k(a,"__xKineticFontSD");return $APP.n(Cb)?Cb:0}()>.5;$APP.n(function(){var Cb=bb[0];return $APP.n(Cb)?!Ub:Cb}())?(a.__xKineticFontRaf=null,a.__xKineticFontSD=0,$APP.n($APP.k(a,"__xKineticFontAct"))&&(a.__xKineticFontAct=!1,a.dispatchEvent(new CustomEvent("x-kinetic-font-spring-settle",{bubbles:!0,composed:!0,detail:{}})))):$APP.ia(a,"__xKineticFontRaf",requestAnimationFrame(function(){return IY.g?IY.g(a):IY.call(null,a)}))}return null};$APP.fa("baredom.exports.x_kinetic_font.init",bZ);export const init=bZ;
27
+ GZ=function GZ(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xKineticFontModel"),d=$APP.k(a,"__xKineticFontCV"),e=performance.now(),g=Math.min(e-$APP.k(a,"__xKineticFontLF"),100)/1E3,h=$APP.Sl.g(c),l=yZ.g(c),m=$APP.Kj.g(c),p=$APP.Xj.g(c),q=$APP.jm.g(c),v=BZ.g(c);c=zZ.g(c);var x=PZ.g(d),y=TZ.g(d),A=SZ.g(d),B=RZ.g(d),E=MZ.g(d),H=LZ.g(d),G=OZ.g(d),I=NZ.g(d);d=QZ.g(d);var Q=$APP.J(c,"lean"),Z=$APP.k(a,"__xKineticFontMX"),la=$APP.k(a,"__xKineticFontMY"),za=function(){var Cb=$APP.k(a,"__xKineticFontSD");
28
+ return $APP.n(Cb)?Cb:0}(),Ka=Math.min(1,Math.abs(za)/100),$a=$APP.k(a,"__xKineticFontSpr"),ab=$APP.k(a,"__xKineticFontCS"),jb=ab!=null,Ib=$a.length;a.__xKineticFontLF=e;a.__xKineticFontSD=za*.85;for(var bb=[!0],ca=0;;)if(ca<Ib){za=jb&&($APP.C.i(v,"cursor")||$APP.C.i(v,"both"))?function(){var Cb=ab[ca].getBoundingClientRect(),Ed=Z-(Cb.left+.5*Cb.width);Cb=la-(Cb.top+.5*Cb.height);return Math.max(qZ(Math.sqrt(Ed*Ed+Cb*Cb),q),Ka)}():jb&&$APP.C.i(v,"scroll")?Ka:jb||!$APP.C.i(v,"cursor")&&!$APP.C.i(v,
29
+ "both")?$APP.C.i(v,"scroll")?Ka:0:function(){var Cb=$APP.M($APP.k(a,"__xKineticFontRefs")),Ed=$APP.D(Cb,$APP.ij).getBoundingClientRect();Cb=Z-(Ed.left+.5*Ed.width);Ed=la-(Ed.top+.5*Ed.height);return Math.max(qZ(Math.sqrt(Cb*Cb+Ed*Ed),q),Ka)}();var pa=$a[ca],La=pZ(pa[0],za,pa[1],g,h,l,m);e=La[0];La=La[1];pa[0]=e;pa[1]=La;Math.abs(e-za)<.001&&Math.abs(La)<.01||(bb[0]=!1);za=rZ(e,c,p,x,y,A,B,E,H,G,I);e=Q?e*p*d:0;jb?FZ(ab[ca],za,e):(pa=$APP.M($APP.k(a,"__xKineticFontRefs")),pa=$APP.D(pa,$APP.ij),FZ(pa,
30
+ za,e));ca+=1}else break;var Vb=function(){var Cb=$APP.k(a,"__xKineticFontSD");return $APP.n(Cb)?Cb:0}()>.5;$APP.n(function(){var Cb=bb[0];return $APP.n(Cb)?!Vb:Cb}())?(a.__xKineticFontRaf=null,a.__xKineticFontSD=0,$APP.n($APP.k(a,"__xKineticFontAct"))&&(a.__xKineticFontAct=!1,a.dispatchEvent(new CustomEvent("x-kinetic-font-spring-settle",{bubbles:!0,composed:!0,detail:{}})))):$APP.ia(a,"__xKineticFontRaf",requestAnimationFrame(function(){return GZ.g?GZ.g(a):GZ.call(null,a)}))}return null};$APP.fa("baredom.exports.x_kinetic_font.init",$Z);export const init=$Z;
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var jI=function(a,b){return $APP.aa[a]=b},kI=function(a,b){if(a!=null&&a.ra!=null)a=a.ra(a,b);else{var c=kI[$APP.da(a==null?null:a)];if(c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else if(c=kI._,c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else throw $APP.oa("IDrop.-drop",a);}return a},lI=function(a){if(a!=null&&(a.F&262144||$APP.Nb===a.vc)){var b=a.ra(null,1);return $APP.n(b)?b:$APP.Xb}return new $APP.qd(null,function(){a:{var c=1;for(var d=a;;)if(d=$APP.t(d),c>0&&d)--c,d=$APP.Yb(d);else{c=d;break a}c=void 0}return c},
3
- null)},mI=function(a,b){a.sort(b||$APP.ja)},oI=function(a){var b=nI();const c=Array(a.length);for(let e=0;e<a.length;e++)c[e]={index:e,value:a[e]};const d=b||$APP.ja;mI(c,function(e,g){return d(e.value,g.value)||e.index-g.index});for(b=0;b<a.length;b++)a[b]=c[b].value},nI=function(){return $APP.C.i($APP.Rc,$APP.Rc)?$APP.Rc:function(a,b){var c=$APP.Rc.i?$APP.Rc.i(a,b):$APP.Rc.call(null,a,b);return typeof c==="number"?c:$APP.n(c)?-1:$APP.n($APP.Rc.i?$APP.Rc.i(b,a):$APP.Rc.call(null,b,a))?1:0}},pI=function(a){this.ob=
4
- a;this.B=null;this.s=2153775104;this.F=2048},qI=function(a){return new pI(a.toLowerCase())},rI=function(){function a(){var d=Math.floor(Math.random()*65536).toString(16);switch(d.length){case 1:return["000",d].join("");case 2:return["00",d].join("");case 3:return["0",d].join("");default:return d}}var b=(16384|4095&Math.floor(Math.random()*65536)).toString(16),c=(32768|16383&Math.floor(Math.random()*65536)).toString(16);return qI([a(),a(),"-",a(),"-",b,"-",c,"-",a(),a(),a()].join(""))},sI=function(a){return typeof a===
5
- "string"&&$APP.N("",a.trim())?a.trim():null},tI=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},uI=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},vI=function(a){var b=$APP.k(a,"__xKineticTypographyAnimate");$APP.n(b)&&(b.remove(),a.__xKineticTypographyAnimate=null)},wI=function(a,b,c,d){var e=tI("animate");c=""+$APP.T.g(c)+"s";b=$APP.C.i(b,"reverse")?"reverse":"normal";e.setAttribute("attributeName","startOffset");e.setAttribute("repeatCount",
2
+ var VI=function(a,b){return $APP.aa[a]=b},WI=function(a,b){if(a!=null&&a.ra!=null)a=a.ra(a,b);else{var c=WI[$APP.da(a==null?null:a)];if(c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else if(c=WI._,c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else throw $APP.oa("IDrop.-drop",a);}return a},XI=function(a){if(a!=null&&(a.F&262144||$APP.Nb===a.vc)){var b=a.ra(null,1);return $APP.n(b)?b:$APP.Xb}return new $APP.qd(null,function(){a:{var c=1;for(var d=a;;)if(d=$APP.t(d),c>0&&d)--c,d=$APP.Yb(d);else{c=d;break a}c=void 0}return c},
3
+ null)},YI=function(a,b){a.sort(b||$APP.ja)},$I=function(a){var b=ZI();const c=Array(a.length);for(let e=0;e<a.length;e++)c[e]={index:e,value:a[e]};const d=b||$APP.ja;YI(c,function(e,g){return d(e.value,g.value)||e.index-g.index});for(b=0;b<a.length;b++)a[b]=c[b].value},ZI=function(){return $APP.C.i($APP.Rc,$APP.Rc)?$APP.Rc:function(a,b){var c=$APP.Rc.i?$APP.Rc.i(a,b):$APP.Rc.call(null,a,b);return typeof c==="number"?c:$APP.n(c)?-1:$APP.n($APP.Rc.i?$APP.Rc.i(b,a):$APP.Rc.call(null,b,a))?1:0}},aJ=function(a){this.ob=
4
+ a;this.B=null;this.s=2153775104;this.F=2048},bJ=function(a){return new aJ(a.toLowerCase())},cJ=function(){function a(){var d=Math.floor(Math.random()*65536).toString(16);switch(d.length){case 1:return["000",d].join("");case 2:return["00",d].join("");case 3:return["0",d].join("");default:return d}}var b=(16384|4095&Math.floor(Math.random()*65536)).toString(16),c=(32768|16383&Math.floor(Math.random()*65536)).toString(16);return bJ([a(),a(),"-",a(),"-",b,"-",c,"-",a(),a(),a()].join(""))},dJ=function(a){return typeof a===
5
+ "string"&&$APP.N("",a.trim())?a.trim():null},eJ=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},fJ=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},gJ=function(a){var b=$APP.k(a,"__xKineticTypographyAnimate");$APP.n(b)&&(b.remove(),a.__xKineticTypographyAnimate=null)},hJ=function(a,b,c,d){var e=eJ("animate");c=""+$APP.T.g(c)+"s";b=$APP.C.i(b,"reverse")?"reverse":"normal";e.setAttribute("attributeName","startOffset");e.setAttribute("repeatCount",
6
6
  "indefinite");e.setAttribute("dur",c);d>0&&e.setAttribute("begin",""+$APP.T.g(d)+"s");switch(a){case "scroll":e.setAttribute("from",$APP.C.i(b,"reverse")?"100%":"0%");e.setAttribute("to",$APP.C.i(b,"reverse")?"0%":"100%");break;case "bounce":e.setAttribute("values",$APP.C.i(b,"reverse")?"100%;0%;100%":"0%;100%;0%");e.setAttribute("calcMode","spline");e.setAttribute("keySplines","0.42 0 0.58 1;0.42 0 0.58 1");break;case "oscillate":e.setAttribute("values",$APP.C.i(b,"reverse")?"120%;-20%;120%":"-20%;120%;-20%"),
7
- e.setAttribute("calcMode","spline"),e.setAttribute("keySplines","0.42 0 0.58 1;0.42 0 0.58 1")}return e},xI=function(a){var b=$APP.k(a,"__xKineticTypographyEchoEls");if($APP.n(b)){for(var c=b.length,d=0;;)if(d<c)b[d].textEl.remove(),d+=1;else break;a.__xKineticTypographyEchoEls=[]}},SI=function(a){var b=$APP.xf([$APP.qk,yI,$APP.Ui,zI,$APP.dj,$APP.ak,AI,BI,CI,DI,EI,FI,$APP.Ti,GI,$APP.Qk],[a.getAttribute("path"),a.getAttribute("echo-scale"),a.getAttribute("animation"),a.getAttribute("font-size"),a.getAttribute("speed"),
8
- a.getAttribute("preset"),a.getAttribute("start-size"),a.getAttribute("repeat"),a.getAttribute("effect"),a.getAttribute("echo-delay"),a.getAttribute("echo-count"),a.getAttribute("end-size"),a.getAttribute("direction"),a.getAttribute("echo-opacity"),a.getAttribute("text")]);var c=$APP.M(b),d=$APP.D(c,CI),e=$APP.D(c,DI),g=$APP.D(c,EI),h=$APP.D(c,FI),l=$APP.D(c,$APP.Ti),m=$APP.D(c,GI),p=$APP.D(c,$APP.Qk),q=$APP.D(c,$APP.qk),v=$APP.D(c,yI),x=$APP.D(c,$APP.Ui),y=$APP.D(c,zI),A=$APP.D(c,$APP.dj),B=$APP.D(c,
9
- $APP.ak),E=$APP.D(c,AI),H=$APP.D(c,BI),G=typeof p==="string"?p:"",I=sI(q),Q=typeof B==="string"?B.trim().toLowerCase():null;var Y=$APP.J(HI,Q)?Q:"wave";var la=$APP.C.i(Y,"crawl"),za=typeof x==="string"?x.trim().toLowerCase():null;var Ka=$APP.J(II,za)?za:"scroll";var $a=typeof l==="string"?l.trim().toLowerCase():null;var ab=$APP.J(JI,$a)?$a:"normal";if(typeof A==="string"){var jb=parseFloat(A.trim());var Ib=typeof jb==="number"&&$APP.r(isNaN(jb))&&jb>0?jb:1}else Ib=1;if(typeof H==="string"){var bb=
10
- parseInt(H.trim(),10);var ca=typeof bb==="number"&&$APP.r(isNaN(bb))&&bb>0?bb:1}else ca=1;if(typeof d==="string"){var pa=$APP.Vf(d.toLowerCase().trim().split(/\s+/));var La=$APP.tm.i(pa,KI)}else La=$APP.Rf;var Ub=sI(E),Cb=sI(h);var Dd=$APP.C.i(Y,"crawl")?null:I!=null?new $APP.R(null,2,[$APP.el,I,LI,"0 0 800 200"],null):$APP.D(MI,Y);var Lt=$APP.n($APP.n(Ub)?$APP.n(Cb)?!la:Cb:Ub)?$APP.kd.i(La,"size-gradient"):La,Mt=$APP.J(Lt,"size-gradient")?$APP.Zg.i(Lt,"size-pulse"):Lt,bX=$APP.J(Mt,"color-wave")?
11
- $APP.Zg.i(Mt,"color-shift"):Mt;if(typeof v==="string"){var Dl=parseFloat(v.trim());var oH=typeof Dl==="number"&&$APP.r(isNaN(Dl))&&Dl>0&&Dl<=1?Dl:.85}else oH=.85;var cX=$APP.el.g(Dd),dX=sI(y),eX=LI.g(Dd),fX=10/$APP.$g.i(Ib,.01);if(la)var Nt=0;else if(typeof g==="string"){var El=parseInt(g.trim(),10);Nt=typeof El==="number"&&$APP.r(isNaN(El))&&El>=0&&El<=5?El:0}else Nt=0;if(typeof e==="string"){var lp=parseFloat(e.trim());var pH=typeof lp==="number"&&$APP.r(isNaN(lp))&&lp>0?lp:.3}else pH=.3;if(typeof m===
12
- "string"){var Fl=parseFloat(m.trim());var qH=typeof Fl==="number"&&$APP.r(isNaN(Fl))&&Fl>0&&Fl<=1?Fl:.5}else qH=.5;var hX=$APP.xf([yI,$APP.pj,$APP.Ui,zI,$APP.dj,LI,$APP.ak,NI,AI,OI,PI,BI,QI,DI,EI,FI,$APP.Ti,GI,$APP.Qk],[oH,cX,Ka,dX,Ib,eX,Y,la,Ub,bX,fX,ca,I!=null,pH,Nt,Cb,ab,qH,G]);var Kc=$APP.M(hX),uH=$APP.D(Kc,DI),vH=$APP.D(Kc,EI),Ot=$APP.D(Kc,FI),Pt=$APP.D(Kc,$APP.Ti),iX=$APP.D(Kc,GI),Og=$APP.D(Kc,$APP.Qk),jX=$APP.D(Kc,yI),mp=$APP.D(Kc,$APP.pj),Pg=$APP.D(Kc,$APP.Ui),wH=$APP.D(Kc,zI),xH=$APP.D(Kc,
13
- LI),kX=$APP.D(Kc,NI),Gl=$APP.D(Kc,AI),qj=$APP.D(Kc,OI),Bh=$APP.D(Kc,PI),Qt=$APP.D(Kc,BI),yH=$APP.k(a,"__xKineticTypographySvg"),lX=$APP.k(a,"__xKineticTypographyPath"),zH=$APP.k(a,"__xKineticTypographyText"),Hl=$APP.k(a,"__xKineticTypographyTextPath"),mX=$APP.k(a,"__xKineticTypographySrOnly"),nX=$APP.k(a,"__xKineticTypographyCrawlText"),Rt=a.shadowRoot.querySelector("[part\x3dpath-line]");if($APP.n(kX))a.setAttribute("data-preset","crawl"),nX.textContent=Og,vI(a),xI(a),$APP.N(Pg,"none")?a.setAttribute("data-animation",
14
- Pg):a.removeAttribute("data-animation"),$APP.C.i(Pt,"reverse")?a.setAttribute("data-direction","reverse"):a.removeAttribute("data-direction"),$APP.J(qj,"color-shift")?a.setAttribute("data-effect","color-shift"):a.removeAttribute("data-effect");else{a.removeAttribute("data-preset");a.removeAttribute("data-direction");$APP.n(xH)&&yH.setAttribute("viewBox",xH);$APP.n(mp)&&lX.setAttribute("d",mp);$APP.n($APP.n(Rt)?mp:Rt)&&Rt.setAttribute("d",mp);var St=Qt<=1?Og:$APP.Jd($APP.T,lI(RI.i(new $APP.Yd(null,
15
- -1," · ",null),Qt>0?new $APP.Yd(null,Qt,Og,null):$APP.Xb))),AH=$APP.J(qj,"size-gradient"),oX=$APP.J(qj,"color-wave"),BH=AH?$APP.n(Gl)?$APP.n(Ot)?$APP.N(Og,""):Ot:Gl:AH;var pX=$APP.n(BH)?BH:oX&&$APP.N(Og,"");if($APP.n(pX)){Hl.textContent="";var Tt=$APP.ve(St),Ch=$APP.z(Tt),Dh=$APP.J(qj,"size-gradient"),Ut=$APP.J(qj,"color-wave"),Qg=Dh?parseFloat(Gl):null,np=Dh?parseFloat(Ot):null;if(Dh){var CH=$APP.n(Gl)?Gl:"px",qX=/[a-z%]+/;if(typeof CH==="string"){var op=qX.exec(CH);var DH=op==null?null:op.length===
16
- 1?op[0]:$APP.ve(op)}else throw new TypeError("re-find must match against a string.");var EH=$APP.n(DH)?DH:"px"}else EH=null;for(var FH=EH,GH=Ut?Ch>0?Bh/Ch:0:null,Vt=$APP.t($APP.bg(0,Ch)),Wt=null,Xt=0,pp=0;;)if(pp<Xt){var Eh=Wt.G(null,pp),qp=tI("tspan");$APP.n(Dh?$APP.n(Qg)?np:Qg:Dh)&&qp.setAttribute("font-size",""+$APP.T.g(Qg+(Ch>1?Eh/(Ch-1):0)*(np-Qg))+$APP.T.g(FH));Ut&&(qp.style.cssText="animation:xkt-color-wave "+$APP.T.g(Bh)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(Eh*GH)+"s;");qp.textContent=
17
- $APP.oc(Tt,Eh);Hl.appendChild(qp);pp+=1}else{var HH=$APP.t(Vt);if(HH){var Il=HH;if($APP.Nc(Il)){var IH=$APP.xb(Il),rX=$APP.yb(Il),sX=IH,tX=$APP.z(IH);Vt=rX;Wt=sX;Xt=tX}else{Eh=$APP.u(Il);var rp=tI("tspan");$APP.n(Dh?$APP.n(Qg)?np:Qg:Dh)&&rp.setAttribute("font-size",""+$APP.T.g(Qg+(Ch>1?Eh/(Ch-1):0)*(np-Qg))+$APP.T.g(FH));Ut&&(rp.style.cssText="animation:xkt-color-wave "+$APP.T.g(Bh)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(Eh*GH)+"s;");rp.textContent=$APP.oc(Tt,Eh);Hl.appendChild(rp);Vt=
18
- $APP.w(Il);Wt=null;Xt=0}pp=0}else break}}else Hl.textContent=St;xI(a);if(vH>0){for(var JH=$APP.k(a,"__xKineticTypographyPathId"),KH=[],uX=$APP.N(Pg,"none")&&$APP.r(uI()),vX=Bh>0?uH/Bh*100:5,Yt=0;;)if(Yt<vH){var sp=Yt+1,rj=document.createElementNS("http://www.w3.org/2000/svg","text"),sj=document.createElementNS("http://www.w3.org/2000/svg","textPath"),wX=Math.pow(iX,sp),xX=Math.pow(jX,sp),yX="-"+$APP.T.g(vX*sp)+"%";rj.setAttribute("part","text-echo");rj.setAttribute("opacity",""+$APP.T.g(wX));rj.setAttribute("font-size",
19
- "calc(var(--x-kinetic-typography-font-size) * "+$APP.T.g(xX)+")");sj.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+$APP.T.g(JH));sj.setAttribute("href","#"+$APP.T.g(JH));sj.setAttribute("startOffset",yX);sj.textContent=St;if(uX){var zX=wI(Pg,Pt,Bh,uH*sp);sj.appendChild(zX)}rj.appendChild(sj);yH.appendChild(rj);KH.push({textEl:rj});Yt+=1}else break;a.__xKineticTypographyEchoEls=KH}$APP.n(wH)?zH.style.setProperty("font-size",wH):zH.style.removeProperty("font-size");vI(a);if($APP.N(Pg,"none")&&
20
- $APP.r(uI())){var LH=wI(Pg,Pt,Bh,0);Hl.appendChild(LH);a.__xKineticTypographyAnimate=LH}var Jl=$APP.Zg.C(qj,"size-gradient",$APP.tc(["color-wave"]));if($APP.t(Jl)){var AX=a.setAttribute;if($APP.t(Jl)){var MH=$APP.yd.g?$APP.yd.g(Jl):$APP.yd.call(null,Jl);oI(MH);var NH=$APP.Ec($APP.t(MH),$APP.Fc(Jl))}else NH=$APP.Xb;AX.call(a,"data-effect",$APP.Eg(NH))}else a.removeAttribute("data-effect");$APP.N(Pg,"none")?a.setAttribute("data-animation",Pg):a.removeAttribute("data-animation")}mX.textContent=Og;$APP.C.i(Og,
21
- "")?(a.setAttribute("role","presentation"),a.setAttribute("aria-hidden","true")):(a.setAttribute("role","img"),a.setAttribute("aria-label",Og))},TI=function(a,b,c,d){Object.defineProperty(a,c,{get:function(){var e=this.getAttribute(b);return $APP.n(e)?e:d},set:function(e){return typeof e==="string"&&$APP.N("",e)?this.setAttribute(b,e):this.removeAttribute(b)},enumerable:!0,configurable:!0})},UI=function(a){TI(a,"text","text","");TI(a,"path","path",null);TI(a,"preset","preset","wave");TI(a,"animation",
22
- "animation","scroll");TI(a,"speed","speed",""+$APP.T.g(1));TI(a,"direction","direction","normal");TI(a,"effect","effect","none");TI(a,"font-size","fontSize",null);TI(a,"start-size","startSize",null);TI(a,"end-size","endSize",null);TI(a,"repeat","repeat",""+$APP.T.g(1));TI(a,"echo-count","echoCount",""+$APP.T.g(0));TI(a,"echo-delay","echoDelay",""+$APP.T.g(.3));TI(a,"echo-opacity","echoOpacity",""+$APP.T.g(.5));TI(a,"echo-scale","echoScale",""+$APP.T.g(.85))},WI=function(){var a=class extends HTMLElement{};
23
- a.observedAttributes=VI;a.prototype.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xKineticTypographyInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=tI("svg"),g=tI("defs"),h=tI("path"),l=tI("path"),m=tI("text"),p=tI("textPath"),q=document.createElement("span"),v=document.createElement("div"),x=document.createElement("div"),y="xkt-"+$APP.T.g(rI());c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-kinetic-typography-color:var(--x-color-text,currentColor);--x-kinetic-typography-font-family:system-ui,sans-serif;--x-kinetic-typography-font-size:24px;--x-kinetic-typography-font-weight:400;--x-kinetic-typography-letter-spacing:0;--x-kinetic-typography-opacity:1;--x-kinetic-typography-stroke:none;--x-kinetic-typography-stroke-width:0;--x-kinetic-typography-duration:10s;--x-kinetic-typography-timing:linear;--x-kinetic-typography-color-shift-from:var(--x-color-text,currentColor);--x-kinetic-typography-color-shift-to:var(--x-color-primary,#3b82f6);--x-kinetic-typography-path-stroke:none;--x-kinetic-typography-path-stroke-width:0;--x-kinetic-typography-crawl-perspective:400px;}@media (prefers-color-scheme:dark){:host{--x-kinetic-typography-color:var(--x-color-text,rgba(255,255,255,0.87));}}[part\x3dcontainer]{width:100%;height:100%;position:relative;}[part\x3dsvg]{width:100%;height:100%;overflow:visible;}[part\x3dtext]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);opacity:var(--x-kinetic-typography-opacity);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}[part\x3dtext-echo]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}@keyframes xkt-opacity-wave{0%,100%{opacity:var(--x-kinetic-typography-opacity);}50%{opacity:0.3;}}@keyframes xkt-size-pulse{0%,100%{font-size:var(--x-kinetic-typography-font-size);}50%{font-size:calc(var(--x-kinetic-typography-font-size) * 1.15);}}@keyframes xkt-spacing-breathe{0%,100%{letter-spacing:var(--x-kinetic-typography-letter-spacing);}50%{letter-spacing:0.15em;}}@keyframes xkt-color-shift{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}@keyframes xkt-color-wave{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}:host([data-effect~\x3dopacity-wave]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dsize-pulse]) [part\x3dtext]{animation:xkt-size-pulse var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}[part\x3dpath-line]{fill:none;stroke:var(--x-kinetic-typography-path-stroke);stroke-width:var(--x-kinetic-typography-path-stroke-width);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dcrawl-viewport]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dsvg]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-viewport]{display:block;perspective:var(--x-kinetic-typography-crawl-perspective);height:100%;overflow:hidden;position:relative;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{position:absolute;bottom:0;left:50%;transform:translateX(-50%) rotateX(25deg);transform-origin:50% 100%;text-align:center;font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);color:var(--x-kinetic-typography-color);letter-spacing:var(--x-kinetic-typography-letter-spacing);white-space:pre-line;line-height:1.6;width:80%;}@keyframes xkt-crawl{0%{bottom:-100%;opacity:1;}90%{opacity:1;}100%{bottom:200%;opacity:0;}}:host([data-preset\x3dcrawl][data-animation\x3dscroll]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite;}:host([data-preset\x3dcrawl][data-animation\x3dscroll][data-direction\x3dreverse]) [part\x3dcrawl-text]{animation-direction:reverse;}:host([data-preset\x3dcrawl][data-effect~\x3dcolor-shift]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite,xkt-crawl-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}@keyframes xkt-crawl-color-shift{0%,100%{color:var(--x-kinetic-typography-color-shift-from);}50%{color:var(--x-kinetic-typography-color-shift-to);}}@media (prefers-reduced-motion:reduce){:host([data-effect]) [part\x3dtext]{animation:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{animation:none;}}";
7
+ e.setAttribute("calcMode","spline"),e.setAttribute("keySplines","0.42 0 0.58 1;0.42 0 0.58 1")}return e},iJ=function(a){var b=$APP.k(a,"__xKineticTypographyEchoEls");if($APP.n(b)){for(var c=b.length,d=0;;)if(d<c)b[d].textEl.remove(),d+=1;else break;a.__xKineticTypographyEchoEls=[]}},DJ=function(a){var b=$APP.xf([$APP.vk,jJ,$APP.Wi,kJ,$APP.hj,$APP.fk,lJ,mJ,nJ,oJ,pJ,qJ,$APP.Vi,rJ,$APP.Wk],[a.getAttribute("path"),a.getAttribute("echo-scale"),a.getAttribute("animation"),a.getAttribute("font-size"),a.getAttribute("speed"),
8
+ a.getAttribute("preset"),a.getAttribute("start-size"),a.getAttribute("repeat"),a.getAttribute("effect"),a.getAttribute("echo-delay"),a.getAttribute("echo-count"),a.getAttribute("end-size"),a.getAttribute("direction"),a.getAttribute("echo-opacity"),a.getAttribute("text")]);var c=$APP.M(b),d=$APP.D(c,nJ),e=$APP.D(c,oJ),g=$APP.D(c,pJ),h=$APP.D(c,qJ),l=$APP.D(c,$APP.Vi),m=$APP.D(c,rJ),p=$APP.D(c,$APP.Wk),q=$APP.D(c,$APP.vk),v=$APP.D(c,jJ),x=$APP.D(c,$APP.Wi),y=$APP.D(c,kJ),A=$APP.D(c,$APP.hj),B=$APP.D(c,
9
+ $APP.fk),E=$APP.D(c,lJ),H=$APP.D(c,mJ),G=typeof p==="string"?p:"",I=dJ(q),Q=typeof B==="string"?B.trim().toLowerCase():null;var Z=$APP.J(sJ,Q)?Q:"wave";var la=$APP.C.i(Z,"crawl"),za=typeof x==="string"?x.trim().toLowerCase():null;var Ka=$APP.J(tJ,za)?za:"scroll";var $a=typeof l==="string"?l.trim().toLowerCase():null;var ab=$APP.J(uJ,$a)?$a:"normal";if(typeof A==="string"){var jb=parseFloat(A.trim());var Ib=typeof jb==="number"&&$APP.r(isNaN(jb))&&jb>0?jb:1}else Ib=1;if(typeof H==="string"){var bb=
10
+ parseInt(H.trim(),10);var ca=typeof bb==="number"&&$APP.r(isNaN(bb))&&bb>0?bb:1}else ca=1;if(typeof d==="string"){var pa=$APP.Vf(d.toLowerCase().trim().split(/\s+/));var La=$APP.Cm.i(pa,vJ)}else La=$APP.Rf;var Vb=dJ(E),Cb=dJ(h);var Ed=$APP.C.i(Z,"crawl")?null:I!=null?new $APP.R(null,2,[$APP.kl,I,wJ,"0 0 800 200"],null):$APP.D(xJ,Z);var $t=$APP.n($APP.n(Vb)?$APP.n(Cb)?!la:Cb:Vb)?$APP.kd.i(La,"size-gradient"):La,au=$APP.J($t,"size-gradient")?$APP.Zg.i($t,"size-pulse"):$t,SX=$APP.J(au,"color-wave")?
11
+ $APP.Zg.i(au,"color-shift"):au;if(typeof v==="string"){var Ll=parseFloat(v.trim());var QH=typeof Ll==="number"&&$APP.r(isNaN(Ll))&&Ll>0&&Ll<=1?Ll:.85}else QH=.85;var TX=$APP.kl.g(Ed),UX=dJ(y),VX=wJ.g(Ed),WX=10/$APP.$g.i(Ib,.01);if(la)var bu=0;else if(typeof g==="string"){var Ml=parseInt(g.trim(),10);bu=typeof Ml==="number"&&$APP.r(isNaN(Ml))&&Ml>=0&&Ml<=5?Ml:0}else bu=0;if(typeof e==="string"){var wp=parseFloat(e.trim());var RH=typeof wp==="number"&&$APP.r(isNaN(wp))&&wp>0?wp:.3}else RH=.3;if(typeof m===
12
+ "string"){var Nl=parseFloat(m.trim());var SH=typeof Nl==="number"&&$APP.r(isNaN(Nl))&&Nl>0&&Nl<=1?Nl:.5}else SH=.5;var YX=$APP.xf([jJ,$APP.tj,$APP.Wi,kJ,$APP.hj,wJ,$APP.fk,yJ,lJ,zJ,AJ,mJ,BJ,oJ,pJ,qJ,$APP.Vi,rJ,$APP.Wk],[QH,TX,Ka,UX,Ib,VX,Z,la,Vb,SX,WX,ca,I!=null,RH,bu,Cb,ab,SH,G]);var Kc=$APP.M(YX),WH=$APP.D(Kc,oJ),XH=$APP.D(Kc,pJ),cu=$APP.D(Kc,qJ),du=$APP.D(Kc,$APP.Vi),ZX=$APP.D(Kc,rJ),Ug=$APP.D(Kc,$APP.Wk),$X=$APP.D(Kc,jJ),xp=$APP.D(Kc,$APP.tj),Vg=$APP.D(Kc,$APP.Wi),YH=$APP.D(Kc,kJ),ZH=$APP.D(Kc,
13
+ wJ),aY=$APP.D(Kc,yJ),Ol=$APP.D(Kc,lJ),xj=$APP.D(Kc,zJ),Ih=$APP.D(Kc,AJ),eu=$APP.D(Kc,mJ),$H=$APP.k(a,"__xKineticTypographySvg"),bY=$APP.k(a,"__xKineticTypographyPath"),aI=$APP.k(a,"__xKineticTypographyText"),Pl=$APP.k(a,"__xKineticTypographyTextPath"),cY=$APP.k(a,"__xKineticTypographySrOnly"),dY=$APP.k(a,"__xKineticTypographyCrawlText"),fu=a.shadowRoot.querySelector("[part\x3dpath-line]");if($APP.n(aY))a.setAttribute("data-preset","crawl"),dY.textContent=Ug,gJ(a),iJ(a),$APP.N(Vg,"none")?a.setAttribute("data-animation",
14
+ Vg):a.removeAttribute("data-animation"),$APP.C.i(du,"reverse")?a.setAttribute("data-direction","reverse"):a.removeAttribute("data-direction"),$APP.J(xj,"color-shift")?a.setAttribute("data-effect","color-shift"):a.removeAttribute("data-effect");else{a.removeAttribute("data-preset");a.removeAttribute("data-direction");$APP.n(ZH)&&$H.setAttribute("viewBox",ZH);$APP.n(xp)&&bY.setAttribute("d",xp);$APP.n($APP.n(fu)?xp:fu)&&fu.setAttribute("d",xp);var gu=eu<=1?Ug:$APP.Jd($APP.T,XI(CJ.i(new $APP.Yd(null,
15
+ -1," · ",null),eu>0?new $APP.Yd(null,eu,Ug,null):$APP.Xb))),bI=$APP.J(xj,"size-gradient"),eY=$APP.J(xj,"color-wave"),cI=bI?$APP.n(Ol)?$APP.n(cu)?$APP.N(Ug,""):cu:Ol:bI;var fY=$APP.n(cI)?cI:eY&&$APP.N(Ug,"");if($APP.n(fY)){Pl.textContent="";var hu=$APP.ve(gu),Jh=$APP.z(hu),Kh=$APP.J(xj,"size-gradient"),iu=$APP.J(xj,"color-wave"),Wg=Kh?parseFloat(Ol):null,yp=Kh?parseFloat(cu):null;if(Kh){var dI=$APP.n(Ol)?Ol:"px",gY=/[a-z%]+/;if(typeof dI==="string"){var zp=gY.exec(dI);var eI=zp==null?null:zp.length===
16
+ 1?zp[0]:$APP.ve(zp)}else throw new TypeError("re-find must match against a string.");var fI=$APP.n(eI)?eI:"px"}else fI=null;for(var gI=fI,hI=iu?Jh>0?Ih/Jh:0:null,ju=$APP.t($APP.bg(0,Jh)),ku=null,lu=0,Ap=0;;)if(Ap<lu){var Lh=ku.G(null,Ap),Bp=eJ("tspan");$APP.n(Kh?$APP.n(Wg)?yp:Wg:Kh)&&Bp.setAttribute("font-size",""+$APP.T.g(Wg+(Jh>1?Lh/(Jh-1):0)*(yp-Wg))+$APP.T.g(gI));iu&&(Bp.style.cssText="animation:xkt-color-wave "+$APP.T.g(Ih)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(Lh*hI)+"s;");Bp.textContent=
17
+ $APP.oc(hu,Lh);Pl.appendChild(Bp);Ap+=1}else{var iI=$APP.t(ju);if(iI){var Ql=iI;if($APP.Nc(Ql)){var jI=$APP.xb(Ql),hY=$APP.yb(Ql),iY=jI,jY=$APP.z(jI);ju=hY;ku=iY;lu=jY}else{Lh=$APP.u(Ql);var Cp=eJ("tspan");$APP.n(Kh?$APP.n(Wg)?yp:Wg:Kh)&&Cp.setAttribute("font-size",""+$APP.T.g(Wg+(Jh>1?Lh/(Jh-1):0)*(yp-Wg))+$APP.T.g(gI));iu&&(Cp.style.cssText="animation:xkt-color-wave "+$APP.T.g(Ih)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(Lh*hI)+"s;");Cp.textContent=$APP.oc(hu,Lh);Pl.appendChild(Cp);ju=
18
+ $APP.w(Ql);ku=null;lu=0}Ap=0}else break}}else Pl.textContent=gu;iJ(a);if(XH>0){for(var kI=$APP.k(a,"__xKineticTypographyPathId"),lI=[],kY=$APP.N(Vg,"none")&&$APP.r(fJ()),lY=Ih>0?WH/Ih*100:5,mu=0;;)if(mu<XH){var Dp=mu+1,yj=document.createElementNS("http://www.w3.org/2000/svg","text"),zj=document.createElementNS("http://www.w3.org/2000/svg","textPath"),mY=Math.pow(ZX,Dp),nY=Math.pow($X,Dp),oY="-"+$APP.T.g(lY*Dp)+"%";yj.setAttribute("part","text-echo");yj.setAttribute("opacity",""+$APP.T.g(mY));yj.setAttribute("font-size",
19
+ "calc(var(--x-kinetic-typography-font-size) * "+$APP.T.g(nY)+")");zj.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+$APP.T.g(kI));zj.setAttribute("href","#"+$APP.T.g(kI));zj.setAttribute("startOffset",oY);zj.textContent=gu;if(kY){var pY=hJ(Vg,du,Ih,WH*Dp);zj.appendChild(pY)}yj.appendChild(zj);$H.appendChild(yj);lI.push({textEl:yj});mu+=1}else break;a.__xKineticTypographyEchoEls=lI}$APP.n(YH)?aI.style.setProperty("font-size",YH):aI.style.removeProperty("font-size");gJ(a);if($APP.N(Vg,"none")&&
20
+ $APP.r(fJ())){var mI=hJ(Vg,du,Ih,0);Pl.appendChild(mI);a.__xKineticTypographyAnimate=mI}var Rl=$APP.Zg.C(xj,"size-gradient",$APP.tc(["color-wave"]));if($APP.t(Rl)){var qY=a.setAttribute;if($APP.t(Rl)){var nI=$APP.yd.g?$APP.yd.g(Rl):$APP.yd.call(null,Rl);$I(nI);var oI=$APP.Ec($APP.t(nI),$APP.Fc(Rl))}else oI=$APP.Xb;qY.call(a,"data-effect",$APP.Eg(oI))}else a.removeAttribute("data-effect");$APP.N(Vg,"none")?a.setAttribute("data-animation",Vg):a.removeAttribute("data-animation")}cY.textContent=Ug;$APP.C.i(Ug,
21
+ "")?(a.setAttribute("role","presentation"),a.setAttribute("aria-hidden","true")):(a.setAttribute("role","img"),a.setAttribute("aria-label",Ug))},EJ=function(a,b,c,d){Object.defineProperty(a,c,{get:function(){var e=this.getAttribute(b);return $APP.n(e)?e:d},set:function(e){return typeof e==="string"&&$APP.N("",e)?this.setAttribute(b,e):this.removeAttribute(b)},enumerable:!0,configurable:!0})},FJ=function(a){EJ(a,"text","text","");EJ(a,"path","path",null);EJ(a,"preset","preset","wave");EJ(a,"animation",
22
+ "animation","scroll");EJ(a,"speed","speed",""+$APP.T.g(1));EJ(a,"direction","direction","normal");EJ(a,"effect","effect","none");EJ(a,"font-size","fontSize",null);EJ(a,"start-size","startSize",null);EJ(a,"end-size","endSize",null);EJ(a,"repeat","repeat",""+$APP.T.g(1));EJ(a,"echo-count","echoCount",""+$APP.T.g(0));EJ(a,"echo-delay","echoDelay",""+$APP.T.g(.3));EJ(a,"echo-opacity","echoOpacity",""+$APP.T.g(.5));EJ(a,"echo-scale","echoScale",""+$APP.T.g(.85))},HJ=function(){var a=class extends HTMLElement{};
23
+ a.observedAttributes=GJ;a.prototype.connectedCallback=function(){if(!$APP.n($APP.k(this,"__xKineticTypographyInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=eJ("svg"),g=eJ("defs"),h=eJ("path"),l=eJ("path"),m=eJ("text"),p=eJ("textPath"),q=document.createElement("span"),v=document.createElement("div"),x=document.createElement("div"),y="xkt-"+$APP.T.g(cJ());c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-kinetic-typography-color:var(--x-color-text,currentColor);--x-kinetic-typography-font-family:system-ui,sans-serif;--x-kinetic-typography-font-size:24px;--x-kinetic-typography-font-weight:400;--x-kinetic-typography-letter-spacing:0;--x-kinetic-typography-opacity:1;--x-kinetic-typography-stroke:none;--x-kinetic-typography-stroke-width:0;--x-kinetic-typography-duration:10s;--x-kinetic-typography-timing:linear;--x-kinetic-typography-color-shift-from:var(--x-color-text,currentColor);--x-kinetic-typography-color-shift-to:var(--x-color-primary,#3b82f6);--x-kinetic-typography-path-stroke:none;--x-kinetic-typography-path-stroke-width:0;--x-kinetic-typography-crawl-perspective:400px;}@media (prefers-color-scheme:dark){:host{--x-kinetic-typography-color:var(--x-color-text,rgba(255,255,255,0.87));}}[part\x3dcontainer]{width:100%;height:100%;position:relative;}[part\x3dsvg]{width:100%;height:100%;overflow:visible;}[part\x3dtext]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);opacity:var(--x-kinetic-typography-opacity);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}[part\x3dtext-echo]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}@keyframes xkt-opacity-wave{0%,100%{opacity:var(--x-kinetic-typography-opacity);}50%{opacity:0.3;}}@keyframes xkt-size-pulse{0%,100%{font-size:var(--x-kinetic-typography-font-size);}50%{font-size:calc(var(--x-kinetic-typography-font-size) * 1.15);}}@keyframes xkt-spacing-breathe{0%,100%{letter-spacing:var(--x-kinetic-typography-letter-spacing);}50%{letter-spacing:0.15em;}}@keyframes xkt-color-shift{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}@keyframes xkt-color-wave{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}:host([data-effect~\x3dopacity-wave]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dsize-pulse]) [part\x3dtext]{animation:xkt-size-pulse var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}[part\x3dpath-line]{fill:none;stroke:var(--x-kinetic-typography-path-stroke);stroke-width:var(--x-kinetic-typography-path-stroke-width);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dcrawl-viewport]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dsvg]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-viewport]{display:block;perspective:var(--x-kinetic-typography-crawl-perspective);height:100%;overflow:hidden;position:relative;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{position:absolute;bottom:0;left:50%;transform:translateX(-50%) rotateX(25deg);transform-origin:50% 100%;text-align:center;font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);color:var(--x-kinetic-typography-color);letter-spacing:var(--x-kinetic-typography-letter-spacing);white-space:pre-line;line-height:1.6;width:80%;}@keyframes xkt-crawl{0%{bottom:-100%;opacity:1;}90%{opacity:1;}100%{bottom:200%;opacity:0;}}:host([data-preset\x3dcrawl][data-animation\x3dscroll]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite;}:host([data-preset\x3dcrawl][data-animation\x3dscroll][data-direction\x3dreverse]) [part\x3dcrawl-text]{animation-direction:reverse;}:host([data-preset\x3dcrawl][data-effect~\x3dcolor-shift]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite,xkt-crawl-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}@keyframes xkt-crawl-color-shift{0%,100%{color:var(--x-kinetic-typography-color-shift-from);}50%{color:var(--x-kinetic-typography-color-shift-to);}}@media (prefers-reduced-motion:reduce){:host([data-effect]) [part\x3dtext]{animation:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{animation:none;}}";
24
24
  d.setAttribute("part","container");e.setAttribute("part","svg");e.setAttribute("aria-hidden","true");e.setAttribute("focusable","false");h.setAttribute("id",y);g.appendChild(h);l.setAttribute("part","path-line");e.appendChild(l);m.setAttribute("part","text");p.setAttribute("href","#"+$APP.T.g(y));m.appendChild(p);e.appendChild(g);e.appendChild(m);v.setAttribute("part","crawl-viewport");x.setAttribute("part","crawl-text");v.appendChild(x);q.classList.add("sr-only");q.setAttribute("part","sr-only");
25
- d.appendChild(e);d.appendChild(v);d.appendChild(q);b.appendChild(c);b.appendChild(d);this.__xKineticTypographyContainer=d;this.__xKineticTypographySvg=e;this.__xKineticTypographyPath=h;this.__xKineticTypographyText=m;this.__xKineticTypographyTextPath=p;this.__xKineticTypographySrOnly=q;this.__xKineticTypographyPathId=y;this.__xKineticTypographyCrawlViewport=v;this.__xKineticTypographyCrawlText=x;this.__xKineticTypographyEchoEls=[];this.__xKineticTypographyInit=!0}SI(this);return null};a.prototype.disconnectedCallback=
26
- function(){vI(this);$APP.n($APP.k(this,"__xKineticTypographySvg"))&&xI(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xKineticTypographyInit"))&&SI(this);return null};UI(a.prototype);return a},XI=function(){$APP.n(customElements.get("x-kinetic-typography"))||customElements.define("x-kinetic-typography",WI());return null};$APP.Tb.prototype.ra=jI(6,function(a,b){return b>0?this.u+b<this.j.length?new $APP.Tb(this.j,this.u+b,null):null:this});
27
- $APP.Yd.prototype.ra=jI(5,function(a,b){if(this.count===-1)return this;a=this.count-b;return a>0?new $APP.Yd(null,a,this.o,null):null});$APP.O.prototype.ra=jI(4,function(a,b){if(b<this.l){a=b%32;var c=$APP.me(this,b);b-=a;return $APP.xe?$APP.xe(this,c,b,a):$APP.ze.call(null,this,c,b,a)}return null});
28
- $APP.we.prototype.ra=jI(3,function(a,b){a=this.ja+b;if(a<this.node.length)return $APP.xe?$APP.xe(this.ka,this.node,this.u,a):$APP.ze.call(null,this.ka,this.node,this.u,a);var c=this.u+a;if(c<$APP.va(this.ka)){a=c%32;b=this.ka;var d=$APP.me(this.ka,c);c-=a;return $APP.xe?$APP.xe(b,d,c,a):$APP.ze.call(null,b,d,c,a)}return null});$APP.Oe.prototype.ra=jI(2,function(a,b){return b<this.O(null)?new $APP.Oe(this.j,this.u+2*b,null):null});
29
- $APP.R.prototype.ra=jI(1,function(a,b){a=this.P(null);return a==null?null:kI(a,b)});$APP.Zf.prototype.ra=jI(0,function(a,b){return b>0?b<this.l?new $APP.Zf(null,this.start+this.step*b,this.end,this.step,this.l-b,null):null:this});
30
- var RI=function RI(a){switch(arguments.length){case 0:return RI.H();case 1:return RI.g(arguments[0]);case 2:return RI.i(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return RI.C(arguments[0],arguments[1],2<c.length?new $APP.Tb(c.slice(2),0,null):null)}};RI.H=function(){return $APP.Xb};RI.g=function(a){return new $APP.qd(null,function(){return a},null)};
31
- RI.i=function(a,b){return new $APP.qd(null,function(){var c=$APP.t(a),d=$APP.t(b);return c&&d?$APP.nd($APP.u(c),$APP.nd($APP.u(d),RI.i($APP.Yb(c),$APP.Yb(d)))):null},null)};RI.C=function(a,b,c){return new $APP.qd(null,function(){var d=$APP.$d.i($APP.t,$APP.kd.C(c,b,$APP.tc([a])));return $APP.Sd($APP.cd,d)?$APP.Zd.i($APP.$d.i($APP.u,d),$APP.Jd(RI,$APP.$d.i($APP.Yb,d))):null},null)};RI.J=function(a){var b=$APP.u(a),c=$APP.w(a);a=$APP.u(c);c=$APP.w(c);return this.C(b,a,c)};RI.N=2;$APP.f=pI.prototype;
32
- $APP.f.oc=$APP.Nb;$APP.f.toString=function(){return this.ob};$APP.f.R=function(a,b){return(a=b!=null?$APP.Nb===b.oc?!0:!1:!1)?this.ob===b.ob:a};$APP.f.S=function(a,b){return $APP.nb(b,['#uuid "',$APP.qa(this.ob),'"'].join(""))};$APP.f.T=function(){this.B==null&&(this.B=$APP.Ob(this.ob));return this.B};$APP.f.Ha=function(a,b){if(b instanceof pI)return $APP.ja(this.ob,b.ob);throw Error(["Cannot compare ",$APP.qa(this)," to ",$APP.qa(b)].join(""));};
33
- var GI=new $APP.K(null,"echo-opacity","echo-opacity",-1476699970),AI=new $APP.K(null,"start-size","start-size",-1818812493),NI=new $APP.K(null,"crawl?","crawl?",829918610),yI=new $APP.K(null,"echo-scale","echo-scale",1307207648),DI=new $APP.K(null,"echo-delay","echo-delay",845689658),EI=new $APP.K(null,"echo-count","echo-count",1053271067),LI=new $APP.K(null,"view-box","view-box",-1792199155),BI=new $APP.K(null,"repeat","repeat",832692087),QI=new $APP.K(null,"custom-path?","custom-path?",-1532616839),
34
- CI=new $APP.K(null,"effect","effect",347343289),PI=new $APP.K(null,"duration-s","duration-s",-1976899627),zI=new $APP.K(null,"font-size","font-size",-1847940346),OI=new $APP.K(null,"effects","effects",-282369292),FI=new $APP.K(null,"end-size","end-size",761612093);var VI="text path preset animation speed direction effect font-size start-size end-size repeat echo-count echo-delay echo-opacity echo-scale".split(" ");
35
- $APP.xf([$APP.qk,new $APP.K(null,"startSize","startSize",-1750632892),$APP.Ui,$APP.dj,new $APP.K(null,"echoCount","echoCount",-1194377974),new $APP.K(null,"echoScale","echoScale",1536204716),new $APP.K(null,"echoOpacity","echoOpacity",-1325258611),$APP.ak,BI,new $APP.K(null,"fontSize","fontSize",919623033),CI,new $APP.K(null,"echoDelay","echoDelay",-1807132900),new $APP.K(null,"endSize","endSize",674490141),$APP.Ti,$APP.Qk],[new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"path"],null),new $APP.R(null,2,
36
- [$APP.Z,$APP.X,$APP.dk,"start-size"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"animation"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"speed"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"echo-count"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"echo-scale"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"echo-opacity"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"preset"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"repeat"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"font-size"],
37
- null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"effect"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"echo-delay"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"end-size"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"direction"],null),new $APP.R(null,2,[$APP.Z,$APP.X,$APP.dk,"text"],null)]);
38
- var HI=new $APP.S(null,new $APP.R(null,8,["spiral",null,"infinity",null,"arc",null,"line",null,"crawl",null,"wave",null,"circle",null,"sine",null],null),null),II=new $APP.S(null,new $APP.R(null,4,["none",null,"scroll",null,"bounce",null,"oscillate",null],null),null),JI=new $APP.S(null,new $APP.R(null,2,["reverse",null,"normal",null],null),null),KI=new $APP.S(null,new $APP.R(null,6,["spacing-breathe",null,"color-shift",null,"opacity-wave",null,"color-wave",null,"size-gradient",null,"size-pulse",null],
39
- null),null),MI=new $APP.R(null,7,["wave",new $APP.R(null,2,[$APP.el,"M0,100 C100,20 200,180 300,100 C400,20 500,180 600,100 C700,20 800,180 800,100",LI,"0 0 800 200"],null),"circle",new $APP.R(null,2,[$APP.el,"M125,10 A115,115 0 1,1 124.99,10",LI,"0 0 250 250"],null),"arc",new $APP.R(null,2,[$APP.el,"M50,350 Q400,10 750,350",LI,"0 0 800 400"],null),"infinity",new $APP.R(null,2,[$APP.el,"M200,200 C200,80 0,80 0,200 C0,320 200,320 200,200 C200,80 400,80 400,200 C400,320 200,320 200,200",LI,"0 0 400 400"],
40
- null),"spiral",new $APP.R(null,2,[$APP.el,"M250,250 C250,150 350,150 350,250 C350,370 130,370 130,250 C130,110 390,110 390,250 C390,410 90,410 90,250",LI,"0 0 500 500"],null),"sine",new $APP.R(null,2,[$APP.el,"M0,100 C50,0 100,0 150,100 C200,200 250,200 300,100 C350,0 400,0 450,100 C500,200 550,200 600,100 C650,0 700,0 750,100 C800,200 800,150 800,100",LI,"0 0 800 200"],null),"line",new $APP.R(null,2,[$APP.el,"M0,50 L800,50",LI,"0 0 800 100"],null)],null);$APP.fa("baredom.exports.x_kinetic_typography.init",XI);export const init=XI;
25
+ d.appendChild(e);d.appendChild(v);d.appendChild(q);b.appendChild(c);b.appendChild(d);this.__xKineticTypographyContainer=d;this.__xKineticTypographySvg=e;this.__xKineticTypographyPath=h;this.__xKineticTypographyText=m;this.__xKineticTypographyTextPath=p;this.__xKineticTypographySrOnly=q;this.__xKineticTypographyPathId=y;this.__xKineticTypographyCrawlViewport=v;this.__xKineticTypographyCrawlText=x;this.__xKineticTypographyEchoEls=[];this.__xKineticTypographyInit=!0}DJ(this);return null};a.prototype.disconnectedCallback=
26
+ function(){gJ(this);$APP.n($APP.k(this,"__xKineticTypographySvg"))&&iJ(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xKineticTypographyInit"))&&DJ(this);return null};FJ(a.prototype);return a},IJ=function(){$APP.n(customElements.get("x-kinetic-typography"))||customElements.define("x-kinetic-typography",HJ());return null};$APP.Tb.prototype.ra=VI(6,function(a,b){return b>0?this.u+b<this.j.length?new $APP.Tb(this.j,this.u+b,null):null:this});
27
+ $APP.Yd.prototype.ra=VI(5,function(a,b){if(this.count===-1)return this;a=this.count-b;return a>0?new $APP.Yd(null,a,this.o,null):null});$APP.O.prototype.ra=VI(4,function(a,b){if(b<this.l){a=b%32;var c=$APP.me(this,b);b-=a;return $APP.xe?$APP.xe(this,c,b,a):$APP.ze.call(null,this,c,b,a)}return null});
28
+ $APP.we.prototype.ra=VI(3,function(a,b){a=this.ja+b;if(a<this.node.length)return $APP.xe?$APP.xe(this.ka,this.node,this.u,a):$APP.ze.call(null,this.ka,this.node,this.u,a);var c=this.u+a;if(c<$APP.va(this.ka)){a=c%32;b=this.ka;var d=$APP.me(this.ka,c);c-=a;return $APP.xe?$APP.xe(b,d,c,a):$APP.ze.call(null,b,d,c,a)}return null});$APP.Oe.prototype.ra=VI(2,function(a,b){return b<this.O(null)?new $APP.Oe(this.j,this.u+2*b,null):null});
29
+ $APP.R.prototype.ra=VI(1,function(a,b){a=this.P(null);return a==null?null:WI(a,b)});$APP.Zf.prototype.ra=VI(0,function(a,b){return b>0?b<this.l?new $APP.Zf(null,this.start+this.step*b,this.end,this.step,this.l-b,null):null:this});
30
+ var CJ=function CJ(a){switch(arguments.length){case 0:return CJ.H();case 1:return CJ.g(arguments[0]);case 2:return CJ.i(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return CJ.C(arguments[0],arguments[1],2<c.length?new $APP.Tb(c.slice(2),0,null):null)}};CJ.H=function(){return $APP.Xb};CJ.g=function(a){return new $APP.qd(null,function(){return a},null)};
31
+ CJ.i=function(a,b){return new $APP.qd(null,function(){var c=$APP.t(a),d=$APP.t(b);return c&&d?$APP.nd($APP.u(c),$APP.nd($APP.u(d),CJ.i($APP.Yb(c),$APP.Yb(d)))):null},null)};CJ.C=function(a,b,c){return new $APP.qd(null,function(){var d=$APP.$d.i($APP.t,$APP.kd.C(c,b,$APP.tc([a])));return $APP.Sd($APP.cd,d)?$APP.Zd.i($APP.$d.i($APP.u,d),$APP.Jd(CJ,$APP.$d.i($APP.Yb,d))):null},null)};CJ.J=function(a){var b=$APP.u(a),c=$APP.w(a);a=$APP.u(c);c=$APP.w(c);return this.C(b,a,c)};CJ.N=2;$APP.f=aJ.prototype;
32
+ $APP.f.oc=$APP.Nb;$APP.f.toString=function(){return this.ob};$APP.f.R=function(a,b){return(a=b!=null?$APP.Nb===b.oc?!0:!1:!1)?this.ob===b.ob:a};$APP.f.S=function(a,b){return $APP.nb(b,['#uuid "',$APP.qa(this.ob),'"'].join(""))};$APP.f.T=function(){this.B==null&&(this.B=$APP.Ob(this.ob));return this.B};$APP.f.Ha=function(a,b){if(b instanceof aJ)return $APP.ja(this.ob,b.ob);throw Error(["Cannot compare ",$APP.qa(this)," to ",$APP.qa(b)].join(""));};
33
+ var rJ=new $APP.K(null,"echo-opacity","echo-opacity",-1476699970),lJ=new $APP.K(null,"start-size","start-size",-1818812493),yJ=new $APP.K(null,"crawl?","crawl?",829918610),jJ=new $APP.K(null,"echo-scale","echo-scale",1307207648),oJ=new $APP.K(null,"echo-delay","echo-delay",845689658),pJ=new $APP.K(null,"echo-count","echo-count",1053271067),wJ=new $APP.K(null,"view-box","view-box",-1792199155),mJ=new $APP.K(null,"repeat","repeat",832692087),BJ=new $APP.K(null,"custom-path?","custom-path?",-1532616839),
34
+ nJ=new $APP.K(null,"effect","effect",347343289),AJ=new $APP.K(null,"duration-s","duration-s",-1976899627),kJ=new $APP.K(null,"font-size","font-size",-1847940346),zJ=new $APP.K(null,"effects","effects",-282369292),qJ=new $APP.K(null,"end-size","end-size",761612093);var GJ="text path preset animation speed direction effect font-size start-size end-size repeat echo-count echo-delay echo-opacity echo-scale".split(" ");
35
+ $APP.xf([$APP.vk,new $APP.K(null,"startSize","startSize",-1750632892),$APP.Wi,$APP.hj,new $APP.K(null,"echoCount","echoCount",-1194377974),new $APP.K(null,"echoScale","echoScale",1536204716),new $APP.K(null,"echoOpacity","echoOpacity",-1325258611),$APP.fk,mJ,new $APP.K(null,"fontSize","fontSize",919623033),nJ,new $APP.K(null,"echoDelay","echoDelay",-1807132900),new $APP.K(null,"endSize","endSize",674490141),$APP.Vi,$APP.Wk],[new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"path"],null),new $APP.R(null,2,
36
+ [$APP.Y,$APP.X,$APP.ik,"start-size"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"animation"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"speed"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"echo-count"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"echo-scale"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"echo-opacity"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"preset"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"repeat"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"font-size"],
37
+ null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"effect"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"echo-delay"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"end-size"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"direction"],null),new $APP.R(null,2,[$APP.Y,$APP.X,$APP.ik,"text"],null)]);
38
+ var sJ=new $APP.S(null,new $APP.R(null,8,["spiral",null,"infinity",null,"arc",null,"line",null,"crawl",null,"wave",null,"circle",null,"sine",null],null),null),tJ=new $APP.S(null,new $APP.R(null,4,["none",null,"scroll",null,"bounce",null,"oscillate",null],null),null),uJ=new $APP.S(null,new $APP.R(null,2,["reverse",null,"normal",null],null),null),vJ=new $APP.S(null,new $APP.R(null,6,["spacing-breathe",null,"color-shift",null,"opacity-wave",null,"color-wave",null,"size-gradient",null,"size-pulse",null],
39
+ null),null),xJ=new $APP.R(null,7,["wave",new $APP.R(null,2,[$APP.kl,"M0,100 C100,20 200,180 300,100 C400,20 500,180 600,100 C700,20 800,180 800,100",wJ,"0 0 800 200"],null),"circle",new $APP.R(null,2,[$APP.kl,"M125,10 A115,115 0 1,1 124.99,10",wJ,"0 0 250 250"],null),"arc",new $APP.R(null,2,[$APP.kl,"M50,350 Q400,10 750,350",wJ,"0 0 800 400"],null),"infinity",new $APP.R(null,2,[$APP.kl,"M200,200 C200,80 0,80 0,200 C0,320 200,320 200,200 C200,80 400,80 400,200 C400,320 200,320 200,200",wJ,"0 0 400 400"],
40
+ null),"spiral",new $APP.R(null,2,[$APP.kl,"M250,250 C250,150 350,150 350,250 C350,370 130,370 130,250 C130,110 390,110 390,250 C390,410 90,410 90,250",wJ,"0 0 500 500"],null),"sine",new $APP.R(null,2,[$APP.kl,"M0,100 C50,0 100,0 150,100 C200,200 250,200 300,100 C350,0 400,0 450,100 C500,200 550,200 600,100 C650,0 700,0 750,100 C800,200 800,150 800,100",wJ,"0 0 800 200"],null),"line",new $APP.R(null,2,[$APP.kl,"M0,50 L800,50",wJ,"0 0 800 100"],null)],null);$APP.fa("baredom.exports.x_kinetic_typography.init",IJ);export const init=IJ;
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var Qo=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.J(Po,a)?a:"bottom"):"bottom"},Ro=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},So=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},To=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},Uo=function(a,b){return a+(b-a)*.1},Yo=function(a,b,c,d,e,g,h){a=c-a;b=d-b;d=Math.sqrt(a*
3
- a+b*b);e=Math.max(0,1-d/e);c=e*e;g=c*g*20;d=d>.001?1/d:0;return new $APP.R(null,4,[Vo,e,$APP.Ci,1+c*(h-1),Wo,a*d*g*.3,Xo,b*d*g*.3],null)},ap=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.R(null,3,[Zo,0,$o,-a,$APP.Ci,c],null);case "top":return new $APP.R(null,3,[Zo,0,$o,a,$APP.Ci,c],null);case "left":return new $APP.R(null,3,[Zo,a,$o,0,$APP.Ci,c],null);case "right":return new $APP.R(null,3,[Zo,-a,$o,0,$APP.Ci,c],null);default:return new $APP.R(null,3,[Zo,0,$o,-a,
4
- $APP.Ci,c],null)}},cp=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.R(null,3,[bp,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.nl,5*d*a*b,$APP.Ci,1+.12*d*a],null)},ip=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=dp[0];dp[0]=c+1;var d="goo-"+$APP.T.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),l=document.createElementNS("http://www.w3.org/2000/svg",
5
- "svg"),m=document.createElement("div"),p=document.createElement("div"),q=document.createElement("slot");a.__xLiquidDockUid=c;g.textContent=ep;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");l.setAttribute("part","filter-svg");l.setAttribute("aria-hidden","true");l.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.T.g(d)+")";p.setAttribute("part","items");p.appendChild(q);var v=$APP.M(b);
6
- b=$APP.D(v,$APP.Rh);c=$APP.D(v,$APP.gl);v=$APP.D(v,fp);var x=document.createElementNS("http://www.w3.org/2000/svg","defs"),y=document.createElementNS("http://www.w3.org/2000/svg","filter"),A=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),B=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
2
+ var Zo=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.J(Yo,a)?a:"bottom"):"bottom"},$o=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},ap=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},bp=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},cp=function(a,b){return a+(b-a)*.1},gp=function(a,b,c,d,e,g,h){a=c-a;b=d-b;d=Math.sqrt(a*
3
+ a+b*b);e=Math.max(0,1-d/e);c=e*e;g=c*g*20;d=d>.001?1/d:0;return new $APP.R(null,4,[dp,e,$APP.Ei,1+c*(h-1),ep,a*d*g*.3,fp,b*d*g*.3],null)},jp=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.R(null,3,[hp,0,ip,-a,$APP.Ei,c],null);case "top":return new $APP.R(null,3,[hp,0,ip,a,$APP.Ei,c],null);case "left":return new $APP.R(null,3,[hp,a,ip,0,$APP.Ei,c],null);case "right":return new $APP.R(null,3,[hp,-a,ip,0,$APP.Ei,c],null);default:return new $APP.R(null,3,[hp,0,ip,-a,
4
+ $APP.Ei,c],null)}},lp=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.R(null,3,[kp,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.tl,5*d*a*b,$APP.Ei,1+.12*d*a],null)},rp=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=mp[0];mp[0]=c+1;var d="goo-"+$APP.T.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),l=document.createElementNS("http://www.w3.org/2000/svg",
5
+ "svg"),m=document.createElement("div"),p=document.createElement("div"),q=document.createElement("slot");a.__xLiquidDockUid=c;g.textContent=np;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");l.setAttribute("part","filter-svg");l.setAttribute("aria-hidden","true");l.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.T.g(d)+")";p.setAttribute("part","items");p.appendChild(q);var v=$APP.M(b);
6
+ b=$APP.D(v,$APP.Th);c=$APP.D(v,$APP.ml);v=$APP.D(v,op);var x=document.createElementNS("http://www.w3.org/2000/svg","defs"),y=document.createElementNS("http://www.w3.org/2000/svg","filter"),A=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),B=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
7
7
  d);y.setAttribute("x","-20%");y.setAttribute("y","-20%");y.setAttribute("width","140%");y.setAttribute("height","140%");A.setAttribute("in","SourceGraphic");A.setAttribute("stdDeviation",""+$APP.T.g(b));A.setAttribute("result","blur");B.setAttribute("in","blur");B.setAttribute("type","matrix");B.setAttribute("values",c);B.setAttribute("result","goo");E.setAttribute("type","fractalNoise");E.setAttribute("baseFrequency","0.015");E.setAttribute("numOctaves","2");E.setAttribute("seed","0");E.setAttribute("result",
8
- "noise");H.setAttribute("in","goo");H.setAttribute("in2","noise");H.setAttribute("scale",""+$APP.T.g(v));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(B);y.appendChild(E);y.appendChild(H);x.appendChild(y);l.appendChild(x);d=new $APP.R(null,5,[$APP.zk,y,$APP.Oi,A,$APP.cm,B,$APP.bl,E,$APP.jj,H],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Pf($APP.tc([d,new $APP.R(null,6,[$APP.ji,e,$APP.ei,
9
- h,$APP.Jj,l,gp,m,hp,p,$APP.Li,q],null)]));a.__xLiquidDockRefs=e},Bp=function(a){a=$APP.xf([$APP.xj,$APP.Bl,jp,kp,$APP.Gh,$APP.om,tp,$APP.xi,up,$APP.Gi,vp],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.M(a);a=$APP.D(b,$APP.Gi);
10
- var c=$APP.D(b,vp),d=$APP.D(b,$APP.xj),e=$APP.D(b,$APP.Bl),g=$APP.D(b,jp),h=$APP.D(b,kp),l=$APP.D(b,$APP.Gh),m=$APP.D(b,$APP.om),p=$APP.D(b,tp),q=$APP.D(b,$APP.xi);b=$APP.D(b,up);d=Qo(d);return $APP.xf([$APP.lj,wp,xp,$APP.gl,fp,$APP.Rh,yp,$APP.zj,zp,$APP.km,Ap,$APP.W],[To(m),Ro(h,.03,.005,.15),Ro(b,1,0,2),So(l),Ro(p,8,0,40),Ro(e,10,2,30),$APP.C.i(d,"left")||$APP.C.i(d,"right"),Ro(q,8,0,40),Ro(c,150,40,400),d,Ro(g,.6,0,2),a!=null])},Cp=function(a){a=$APP.Li.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
- a.assignedElements():null},Dp=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,gp);b=function(){var q=Cp(a);return $APP.n(q)?q:[]}().length*2;for(var d=function(){var q=$APP.k(a,"__xLiquidDockBlobs");return $APP.n(q)?q:[]}(),e=function(){var q=$APP.k(a,"__xLiquidDockBlobSt");return $APP.n(q)?q:[]}(),g=d.length,h=g;;)if(h<b){var l=document.createElement("div"),m=$APP.Ud(h);l.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;l.style.width=""+$APP.T.g(p)+"px";l.style.height=
12
- ""+$APP.T.g(p)+"px";c.appendChild(l);d.push(l);e.push(m?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});h+=1}else break;for(c=g;;)if(c>b)g=d.pop(),e.pop(),$APP.n(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},Ep=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.ei);b=Cp(a);b=$APP.n(b)?b:[];var d=b.length,e=[];if($APP.n($APP.n(c)?d>0:c)){c=c.getBoundingClientRect();for(var g=0;;)if(g<d){var h=
13
- b[g].getBoundingClientRect();e.push({cx:h.left+h.width/2-c.left,cy:h.top+h.height/2-c.top});g+=1}else break}a.__xLiquidDockItemsR=e;return null},Fp=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.lj);c=$APP.D(c,$APP.zj);$APP.n(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",""+$APP.T.g(c)+"px")},Hp=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.W.g($APP.k(a,"__xLiquidDockModel")))||
14
- (a.__xLiquidDockSeed=0,$APP.ia(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Gp(a)})));return null},Ip=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},Jp=function(a){a=Cp(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},Kp=function(a,b,c,d){var e=Date.now();a.__xLiquidDockBurst=e;b=new CustomEvent("x-liquid-dock-select",{bubbles:!0,composed:!0,cancelable:!0,detail:$APP.ph(new $APP.R(null,
15
- 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},Lp=function(a){Dp(a);var b=Cp(a);if($APP.n(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&e.setAttribute("tabindex","0");d+=1}else break;requestAnimationFrame(function(){return Ep(a)});return null},Pp=function(a){function b(){return Lp(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.W.g(m))){var p=Cp(a),q=$APP.n(p)?p.length:null,v=l.key,x=yp.g(m);m=$APP.n(x)?"ArrowUp":"ArrowLeft";
16
- x=$APP.n(x)?"ArrowDown":"ArrowRight";var y=$APP.k(a,"__xLiquidDockFocus");y=$APP.n(y)?y:-1;$APP.n($APP.n(q)?q>0:q)&&($APP.C.i(v,m)?(l.preventDefault(),l=y<1?q-1:y-1,a.__xLiquidDockFocus=l,p[l].focus()):$APP.C.i(v,x)?(l.preventDefault(),l=y>=q-1?0:y+1,a.__xLiquidDockFocus=l,p[l].focus()):($APP.C.i(v,"Enter")||$APP.C.i(v," "))&&y>=0&&(l.preventDefault(),Kp(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.W.g($APP.k(a,"__xLiquidDockModel")))){var m=Cp(a);if($APP.n(m)){a:{l=l.target;for(var p=
17
- m.length,q=0;;)if(q<p){if($APP.C.i(l,m[q])){l=q;break a}q+=1}else{l=null;break a}l=void 0}$APP.n(l)&&Kp(a,l,m[l],"pointer")}}return null}function e(){$APP.k(a,"__xLiquidDockMouse").active=!1;return null}function g(l){var m=$APP.M($APP.k(a,"__xLiquidDockRefs"));m=$APP.D(m,$APP.ei);if($APP.n(m)){m=m.getBoundingClientRect();var p=$APP.k(a,"__xLiquidDockMouse");p.x=l.clientX-m.left;p.y=l.clientY-m.top;p.active=!0}return null}var h=$APP.M($APP.k(a,"__xLiquidDockRefs"));h=$APP.D(h,$APP.Li);a.addEventListener("pointermove",
18
- g);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.n(h)&&h.addEventListener("slotchange",b);$APP.ia(a,"__xLiquidDockHdl",new $APP.R(null,5,[Mp,g,Np,e,$APP.ek,d,Op,c,$APP.Li,b],null))},Qp=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",Mp.g(b));a.removeEventListener("pointerleave",Np.g(b));a.removeEventListener("click",$APP.ek.g(b));a.removeEventListener("keydown",Op.g(b));var c=$APP.k(a,"__xLiquidDockRefs");
19
- $APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.Li),$APP.n(c)&&c.removeEventListener("slotchange",$APP.Li.g(b)));a.__xLiquidDockHdl=null}},Rp=function(a){Object.defineProperty(a,"position",{get:function(){return Qo(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return Ro(b,8,0,40)},set:function(b){return b==
20
- null?this.removeAttribute("gap"):this.setAttribute("gap",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return Ro(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return So(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):
21
- this.setAttribute("threshold",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return Ro(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return Ro(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):
22
- this.setAttribute("ripple-speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return To(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return Ro(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",
23
- ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return Ro(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return Ro(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):
24
- this.setAttribute("bob-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},Tp=function(){var a=class extends HTMLElement{};a.observedAttributes=Sp;a.prototype.connectedCallback=function(){var b=this,c=Bp(b);b.__xLiquidDockModel=c;$APP.ia(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});
25
- $APP.ia(b,"__xLiquidDockBlobs",[]);$APP.ia(b,"__xLiquidDockBlobSt",[]);$APP.ia(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.n($APP.k(b,"__xLiquidDockRefs"))||ip(b);Fp(b,c);$APP.n(b.hasAttribute("role"))||b.setAttribute("role","navigation");Qp(b);Pp(b);c=$APP.k(b,"__xLiquidDockRO");$APP.n(c)&&c.disconnect();c=new ResizeObserver(function(){Ep(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){Dp(b);Ep(b);return Hp(b)});return null};
26
- a.prototype.disconnectedCallback=function(){Ip(this);Qp(this);Jp(this);var b=$APP.k(this,"__xLiquidDockRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidDockRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xLiquidDockModel=b=Bp(this),$APP.n($APP.k(this,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.Rh);c=$APP.D(d,$APP.gl);d=$APP.D(d,fp);var g=$APP.k(this,"__xLiquidDockRefs"),h=$APP.Oi.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.T.g(e));
27
- e=$APP.cm.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.jj.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.T.g(d));Fp(this,b);Ep(this);$APP.n($APP.W.g(b))?(Ip(this),Jp(this)):$APP.n($APP.k(this,"__xLiquidDockRaf"))||Hp(this)}return null};Rp(a.prototype);return a},Up=function(){$APP.n(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",Tp());return null},wp=new $APP.K(null,"ripple-speed","ripple-speed",229709223),fp=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),
28
- vp=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),Vp=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),hp=new $APP.K(null,"items-div","items-div",-555506089),Wp=new $APP.K(null,"magnetStrength","magnetStrength",331224709),Xp=new $APP.K(null,"rippleScale","rippleScale",-1633180735),zp=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),gp=new $APP.K(null,"liquid","liquid",1322031275),Np=new $APP.K(null,"leave","leave",1022579443),Vo=new $APP.K(null,"influence",
29
- "influence",1453493017),yp=new $APP.K(null,"vertical?","vertical?",-1522630444),up=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),Op=new $APP.K(null,"key","key",-1516042587),Mp=new $APP.K(null,"move","move",-2110884309),$o=new $APP.K(null,"dy","dy",1719547243),Zo=new $APP.K(null,"dx","dx",-381796732),jp=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),kp=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),Yp=new $APP.K(null,"rippleSpeed","rippleSpeed",
30
- -1816718091),Xo=new $APP.K(null,"ty","ty",158290825),Wo=new $APP.K(null,"tx","tx",466630418),xp=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),bp=new $APP.K(null,"lift","lift",903632035),Zp=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),Ap=new $APP.K(null,"magnet-strength","magnet-strength",-1089389895),tp=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var Sp="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Pd(["x-liquid-dock-select",new $APP.R(null,4,[$APP.yj,new $APP.R(null,3,[$APP.Lh,$APP.V,$APP.Qj,new $APP.Rb(null,"Element","Element",1498489072,null),$APP.Hk,$APP.X],null),$APP.Ql,!0,$APP.bm,!0,$APP.wl,!0],null)]);
31
- $APP.xf([Xp,$APP.lj,Wp,$APP.mj,$APP.gl,Zp,Vp,$APP.Rh,Yp,$APP.zj,$APP.km],[new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.X],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.Bj],null),new $APP.R(null,1,[$APP.Z,$APP.X],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,$APP.V],null),new $APP.R(null,1,[$APP.Z,
32
- $APP.X],null)]);var Po=new $APP.S(null,new $APP.R(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var dp=[0],ep=":host{display:block;position:fixed;z-index:var("+$APP.T.g("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.T.g("--x-liquid-dock-color")+':var(--x-color-primary,#6366f1);}:host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
8
+ "noise");H.setAttribute("in","goo");H.setAttribute("in2","noise");H.setAttribute("scale",""+$APP.T.g(v));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(B);y.appendChild(E);y.appendChild(H);x.appendChild(y);l.appendChild(x);d=new $APP.R(null,5,[$APP.Fk,y,$APP.Qi,A,$APP.lm,B,$APP.hl,E,$APP.nj,H],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Pf($APP.tc([d,new $APP.R(null,6,[$APP.li,e,$APP.gi,
9
+ h,$APP.Nj,l,pp,m,qp,p,$APP.Ni,q],null)]));a.__xLiquidDockRefs=e},Kp=function(a){a=$APP.xf([$APP.Bj,$APP.Il,sp,tp,$APP.Dh,$APP.xm,up,$APP.zi,vp,$APP.Ii,Ep],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.M(a);a=$APP.D(b,$APP.Ii);
10
+ var c=$APP.D(b,Ep),d=$APP.D(b,$APP.Bj),e=$APP.D(b,$APP.Il),g=$APP.D(b,sp),h=$APP.D(b,tp),l=$APP.D(b,$APP.Dh),m=$APP.D(b,$APP.xm),p=$APP.D(b,up),q=$APP.D(b,$APP.zi);b=$APP.D(b,vp);d=Zo(d);return $APP.xf([$APP.pj,Fp,Gp,$APP.ml,op,$APP.Th,Hp,$APP.Dj,Ip,$APP.tm,Jp,$APP.W],[bp(m),$o(h,.03,.005,.15),$o(b,1,0,2),ap(l),$o(p,8,0,40),$o(e,10,2,30),$APP.C.i(d,"left")||$APP.C.i(d,"right"),$o(q,8,0,40),$o(c,150,40,400),d,$o(g,.6,0,2),a!=null])},Lp=function(a){a=$APP.Ni.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
+ a.assignedElements():null},Mp=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,pp);b=function(){var q=Lp(a);return $APP.n(q)?q:[]}().length*2;for(var d=function(){var q=$APP.k(a,"__xLiquidDockBlobs");return $APP.n(q)?q:[]}(),e=function(){var q=$APP.k(a,"__xLiquidDockBlobSt");return $APP.n(q)?q:[]}(),g=d.length,h=g;;)if(h<b){var l=document.createElement("div"),m=$APP.Ud(h);l.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;l.style.width=""+$APP.T.g(p)+"px";l.style.height=
12
+ ""+$APP.T.g(p)+"px";c.appendChild(l);d.push(l);e.push(m?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});h+=1}else break;for(c=g;;)if(c>b)g=d.pop(),e.pop(),$APP.n(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},Np=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.gi);b=Lp(a);b=$APP.n(b)?b:[];var d=b.length,e=[];if($APP.n($APP.n(c)?d>0:c)){c=c.getBoundingClientRect();for(var g=0;;)if(g<d){var h=
13
+ b[g].getBoundingClientRect();e.push({cx:h.left+h.width/2-c.left,cy:h.top+h.height/2-c.top});g+=1}else break}a.__xLiquidDockItemsR=e;return null},Op=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.pj);c=$APP.D(c,$APP.Dj);$APP.n(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",""+$APP.T.g(c)+"px")},Qp=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.W.g($APP.k(a,"__xLiquidDockModel")))||
14
+ (a.__xLiquidDockSeed=0,$APP.ia(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Pp(a)})));return null},Rp=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},Sp=function(a){a=Lp(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},Tp=function(a,b,c,d){var e=Date.now();a.__xLiquidDockBurst=e;b=new CustomEvent("x-liquid-dock-select",{bubbles:!0,composed:!0,cancelable:!0,detail:$APP.ph(new $APP.R(null,
15
+ 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},Up=function(a){Mp(a);var b=Lp(a);if($APP.n(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&e.setAttribute("tabindex","0");d+=1}else break;requestAnimationFrame(function(){return Np(a)});return null},Yp=function(a){function b(){return Up(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.W.g(m))){var p=Lp(a),q=$APP.n(p)?p.length:null,v=l.key,x=Hp.g(m);m=$APP.n(x)?"ArrowUp":"ArrowLeft";
16
+ x=$APP.n(x)?"ArrowDown":"ArrowRight";var y=$APP.k(a,"__xLiquidDockFocus");y=$APP.n(y)?y:-1;$APP.n($APP.n(q)?q>0:q)&&($APP.C.i(v,m)?(l.preventDefault(),l=y<1?q-1:y-1,a.__xLiquidDockFocus=l,p[l].focus()):$APP.C.i(v,x)?(l.preventDefault(),l=y>=q-1?0:y+1,a.__xLiquidDockFocus=l,p[l].focus()):($APP.C.i(v,"Enter")||$APP.C.i(v," "))&&y>=0&&(l.preventDefault(),Tp(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.W.g($APP.k(a,"__xLiquidDockModel")))){var m=Lp(a);if($APP.n(m)){a:{l=l.target;for(var p=
17
+ m.length,q=0;;)if(q<p){if($APP.C.i(l,m[q])){l=q;break a}q+=1}else{l=null;break a}l=void 0}$APP.n(l)&&Tp(a,l,m[l],"pointer")}}return null}function e(){$APP.k(a,"__xLiquidDockMouse").active=!1;return null}function g(l){var m=$APP.M($APP.k(a,"__xLiquidDockRefs"));m=$APP.D(m,$APP.gi);if($APP.n(m)){m=m.getBoundingClientRect();var p=$APP.k(a,"__xLiquidDockMouse");p.x=l.clientX-m.left;p.y=l.clientY-m.top;p.active=!0}return null}var h=$APP.M($APP.k(a,"__xLiquidDockRefs"));h=$APP.D(h,$APP.Ni);a.addEventListener("pointermove",
18
+ g);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.n(h)&&h.addEventListener("slotchange",b);$APP.ia(a,"__xLiquidDockHdl",new $APP.R(null,5,[Vp,g,Wp,e,$APP.jk,d,Xp,c,$APP.Ni,b],null))},Zp=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",Vp.g(b));a.removeEventListener("pointerleave",Wp.g(b));a.removeEventListener("click",$APP.jk.g(b));a.removeEventListener("keydown",Xp.g(b));var c=$APP.k(a,"__xLiquidDockRefs");
19
+ $APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.Ni),$APP.n(c)&&c.removeEventListener("slotchange",$APP.Ni.g(b)));a.__xLiquidDockHdl=null}},$p=function(a){Object.defineProperty(a,"position",{get:function(){return Zo(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return $o(b,8,0,40)},set:function(b){return b==
20
+ null?this.removeAttribute("gap"):this.setAttribute("gap",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return $o(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return ap(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):
21
+ this.setAttribute("threshold",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return $o(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return $o(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):
22
+ this.setAttribute("ripple-speed",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return bp(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return $o(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",
23
+ ""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return $o(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return $o(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):
24
+ this.setAttribute("bob-intensity",""+$APP.T.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},bq=function(){var a=class extends HTMLElement{};a.observedAttributes=aq;a.prototype.connectedCallback=function(){var b=this,c=Kp(b);b.__xLiquidDockModel=c;$APP.ia(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});
25
+ $APP.ia(b,"__xLiquidDockBlobs",[]);$APP.ia(b,"__xLiquidDockBlobSt",[]);$APP.ia(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.n($APP.k(b,"__xLiquidDockRefs"))||rp(b);Op(b,c);$APP.n(b.hasAttribute("role"))||b.setAttribute("role","navigation");Zp(b);Yp(b);c=$APP.k(b,"__xLiquidDockRO");$APP.n(c)&&c.disconnect();c=new ResizeObserver(function(){Np(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){Mp(b);Np(b);return Qp(b)});return null};
26
+ a.prototype.disconnectedCallback=function(){Rp(this);Zp(this);Sp(this);var b=$APP.k(this,"__xLiquidDockRO");$APP.n(b)&&(b.disconnect(),this.__xLiquidDockRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.N(c,d)&&(this.__xLiquidDockModel=b=Kp(this),$APP.n($APP.k(this,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.Th);c=$APP.D(d,$APP.ml);d=$APP.D(d,op);var g=$APP.k(this,"__xLiquidDockRefs"),h=$APP.Qi.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.T.g(e));
27
+ e=$APP.lm.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.nj.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.T.g(d));Op(this,b);Np(this);$APP.n($APP.W.g(b))?(Rp(this),Sp(this)):$APP.n($APP.k(this,"__xLiquidDockRaf"))||Qp(this)}return null};$p(a.prototype);return a},cq=function(){$APP.n(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",bq());return null},Fp=new $APP.K(null,"ripple-speed","ripple-speed",229709223),op=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),
28
+ Ep=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),dq=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),qp=new $APP.K(null,"items-div","items-div",-555506089),eq=new $APP.K(null,"magnetStrength","magnetStrength",331224709),fq=new $APP.K(null,"rippleScale","rippleScale",-1633180735),Ip=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),pp=new $APP.K(null,"liquid","liquid",1322031275),Wp=new $APP.K(null,"leave","leave",1022579443),dp=new $APP.K(null,"influence",
29
+ "influence",1453493017),Hp=new $APP.K(null,"vertical?","vertical?",-1522630444),vp=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),Xp=new $APP.K(null,"key","key",-1516042587),Vp=new $APP.K(null,"move","move",-2110884309),ip=new $APP.K(null,"dy","dy",1719547243),hp=new $APP.K(null,"dx","dx",-381796732),sp=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),tp=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),gq=new $APP.K(null,"rippleSpeed","rippleSpeed",
30
+ -1816718091),fp=new $APP.K(null,"ty","ty",158290825),ep=new $APP.K(null,"tx","tx",466630418),Gp=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),kp=new $APP.K(null,"lift","lift",903632035),hq=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),Jp=new $APP.K(null,"magnet-strength","magnet-strength",-1089389895),up=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var aq="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Pd(["x-liquid-dock-select",new $APP.R(null,4,[$APP.Cj,new $APP.R(null,3,[$APP.Mh,$APP.V,$APP.Uj,new $APP.Rb(null,"Element","Element",1498489072,null),$APP.Nk,$APP.X],null),$APP.Yl,!0,$APP.km,!0,$APP.Dl,!0],null)]);
31
+ $APP.xf([fq,$APP.pj,eq,$APP.qj,$APP.ml,hq,dq,$APP.Th,gq,$APP.Dj,$APP.tm],[new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.Fj],null),new $APP.R(null,1,[$APP.Y,$APP.X],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,$APP.V],null),new $APP.R(null,1,[$APP.Y,
32
+ $APP.X],null)]);var Yo=new $APP.S(null,new $APP.R(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var mp=[0],np=":host{display:block;position:fixed;z-index:var("+$APP.T.g("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.T.g("--x-liquid-dock-color")+':var(--x-color-primary,#6366f1);}:host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
33
33
  $APP.T.g("--x-liquid-dock-gap")+",8px);padding:var("+$APP.T.g("--x-liquid-dock-padding")+",8px);border-radius:var("+$APP.T.g("--x-liquid-dock-radius")+",20px);background:var("+$APP.T.g("--x-liquid-dock-bg")+",rgba(255,255,255,0.88));border:1px solid var("+$APP.T.g("--x-liquid-dock-border")+",rgba(148,163,184,0.22));box-shadow:var("+$APP.T.g("--x-liquid-dock-shadow")+',0 8px 24px rgba(15,23,42,0.12));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);position:relative;outline:none;}:host([position\x3d"left"]) [part\x3ddock],:host([position\x3d"right"]) [part\x3ddock]{flex-direction:column;}[part\x3dfilter-svg]{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}[part\x3dliquid-layer]{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;}.blob{position:absolute;border-radius:50%;will-change:transform;pointer-events:none;background:var('+
34
34
  $APP.T.g("--x-liquid-dock-color")+',#6366f1);top:0;left:0;}.blob-rest{opacity:0.65;}.blob-phantom{opacity:0.5;}[part\x3ditems]{display:flex;align-items:center;gap:inherit;position:relative;z-index:1;}:host([position\x3d"left"]) [part\x3ditems],:host([position\x3d"right"]) [part\x3ditems]{flex-direction:column;}::slotted(*){width:var('+$APP.T.g("--x-liquid-dock-item-size")+",48px);height:var("+$APP.T.g("--x-liquid-dock-item-size")+",48px);display:flex;align-items:center;justify-content:center;cursor:pointer;will-change:transform;position:relative;z-index:1;border:none;background:transparent;color:inherit;font-size:1.4em;transition:none;border-radius:50%;}::slotted(:hover){background:color-mix(in srgb,var("+
35
35
  $APP.T.g("--x-liquid-dock-color")+",#6366f1) 12%,transparent);}::slotted(:focus-visible){outline:2px solid var("+$APP.T.g("--x-liquid-dock-color")+",#6366f1);outline-offset:2px;}@media(prefers-color-scheme:dark){:host{--x-liquid-dock-bg:rgba(15,23,42,0.84);--x-liquid-dock-border:rgba(51,65,85,0.9);--x-liquid-dock-shadow:var(--x-shadow-lg,0 14px 36px rgba(0,0,0,0.35));--x-liquid-dock-color:var(--x-color-primary,#818cf8);}}@media(prefers-reduced-motion:reduce){.blob{transition:none!important;}::slotted(*){transition:none!important;}}",
36
- Gp=function Gp(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xLiquidDockModel"),d=$APP.k(a,"__xLiquidDockMouse"),e=$APP.k(a,"__xLiquidDockBlobs"),g=$APP.k(a,"__xLiquidDockBlobSt"),h=$APP.k(a,"__xLiquidDockItemsR"),l=function(){var bb=Cp(a);return $APP.n(bb)?bb:[]}(),m=$APP.ah.i(h.length,l.length),p=$APP.k(d,"x"),q=$APP.k(d,"y"),v=$APP.k(d,"active"),x=zp.g(c),y=Ap.g(c),A=xp.g(c),B=$APP.km.g(c),E=1+y*.8,H=function(){var bb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(bb)?bb:0}(),G=Date.now();d=function(){var bb=
37
- $APP.k(a,"__xLiquidDockBurst");return $APP.n(bb)?bb:0}();var I=G-d<300;if(I){G=(1-(G-d)/300)*20;var Q=fp.g(c),Y=$APP.jj.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(Y)&&Y.setAttribute("scale",""+$APP.T.g(Q+G))}for(G=0;;)if(G<m){Q=h[G];var la=$APP.k(Q,"cx"),za=$APP.k(Q,"cy");Y=G*2;var Ka=Y+1;if(Ka<e.length){Q=Vo.g($APP.n(v)?Yo(la,za,p,q,x,y,E):new $APP.R(null,4,[Vo,0,$APP.Ci,1,Wo,0,Xo,0],null));Y=e[Y];var $a="translate("+$APP.T.g(la-26)+"px,"+$APP.T.g(za-26)+"px)";Y.style.transform=$a;var ab=ap(Q,B);Y=
38
- g[Ka];$a=Zo.g(ab);var jb=$o.g(ab);ab=$APP.Ci.g(ab);$a=Uo($APP.k(Y,"cpDx"),$a);jb=Uo($APP.k(Y,"cpDy"),jb);ab=Uo($APP.k(Y,"cpScale"),ab);Y.cpDx=$a;Y.cpDy=jb;Y.cpScale=ab;Ka=e[Ka];za="translate("+$APP.T.g(la-22+$a)+"px,"+$APP.T.g(za-22+jb)+"px) scale("+$APP.T.g(ab)+")";Ka.style.transform=za;Ka=cp(Q,$APP.n(v)?function(){var bb=p-la;return bb>1?1:bb<-1?-1:0}():0,B,A);$a=Uo($APP.k(Y,"cLift"),bp.g(Ka));za=Uo($APP.k(Y,"cRot"),$APP.nl.g(Ka));Ka=Uo($APP.k(Y,"cScale"),$APP.Ci.g(Ka));Y.cLift=$a;Y.cRot=za;Y.cScale=
39
- Ka;jb=H+G*2.39996;ab=1-Q*.7;Q=Math.sin(jb)*1.8*ab*A;Y=Math.cos(jb*.7)*.8*ab*A;var Ib=Math.sin(jb*1.3)*1.2*ab*A;jb=l[G];ab=yp.g(c);$a+=$APP.n(ab)?Y:Q;za+=Ib;Q=$APP.n(ab)?"translate("+$APP.T.g($a)+"px,"+$APP.T.g(Q)+"px) rotate("+$APP.T.g(za)+"deg) scale("+$APP.T.g(Ka)+")":"translate("+$APP.T.g(Y)+"px,"+$APP.T.g($a)+"px) rotate("+$APP.T.g(za)+"deg) scale("+$APP.T.g(Ka)+")";jb.style.transform=Q}G+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+wp.g(c);h=$APP.k(a,"__xLiquidDockRefs");e=.012+.006*Math.sin(g);
40
- a.__xLiquidDockSeed=g;g=$APP.bl.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.T.g(e));!I&&d>0&&(d=$APP.jj.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.T.g(fp.g(c))),a.__xLiquidDockBurst=0);$APP.ia(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Gp.g?Gp.g(a):Gp.call(null,a)}))}return null};$APP.fa("baredom.exports.x_liquid_dock.init",Up);export const init=Up;
36
+ Pp=function Pp(a){if($APP.n(a.isConnected)){var c=$APP.k(a,"__xLiquidDockModel"),d=$APP.k(a,"__xLiquidDockMouse"),e=$APP.k(a,"__xLiquidDockBlobs"),g=$APP.k(a,"__xLiquidDockBlobSt"),h=$APP.k(a,"__xLiquidDockItemsR"),l=function(){var bb=Lp(a);return $APP.n(bb)?bb:[]}(),m=$APP.ah.i(h.length,l.length),p=$APP.k(d,"x"),q=$APP.k(d,"y"),v=$APP.k(d,"active"),x=Ip.g(c),y=Jp.g(c),A=Gp.g(c),B=$APP.tm.g(c),E=1+y*.8,H=function(){var bb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(bb)?bb:0}(),G=Date.now();d=function(){var bb=
37
+ $APP.k(a,"__xLiquidDockBurst");return $APP.n(bb)?bb:0}();var I=G-d<300;if(I){G=(1-(G-d)/300)*20;var Q=op.g(c),Z=$APP.nj.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(Z)&&Z.setAttribute("scale",""+$APP.T.g(Q+G))}for(G=0;;)if(G<m){Q=h[G];var la=$APP.k(Q,"cx"),za=$APP.k(Q,"cy");Z=G*2;var Ka=Z+1;if(Ka<e.length){Q=dp.g($APP.n(v)?gp(la,za,p,q,x,y,E):new $APP.R(null,4,[dp,0,$APP.Ei,1,ep,0,fp,0],null));Z=e[Z];var $a="translate("+$APP.T.g(la-26)+"px,"+$APP.T.g(za-26)+"px)";Z.style.transform=$a;var ab=jp(Q,B);Z=
38
+ g[Ka];$a=hp.g(ab);var jb=ip.g(ab);ab=$APP.Ei.g(ab);$a=cp($APP.k(Z,"cpDx"),$a);jb=cp($APP.k(Z,"cpDy"),jb);ab=cp($APP.k(Z,"cpScale"),ab);Z.cpDx=$a;Z.cpDy=jb;Z.cpScale=ab;Ka=e[Ka];za="translate("+$APP.T.g(la-22+$a)+"px,"+$APP.T.g(za-22+jb)+"px) scale("+$APP.T.g(ab)+")";Ka.style.transform=za;Ka=lp(Q,$APP.n(v)?function(){var bb=p-la;return bb>1?1:bb<-1?-1:0}():0,B,A);$a=cp($APP.k(Z,"cLift"),kp.g(Ka));za=cp($APP.k(Z,"cRot"),$APP.tl.g(Ka));Ka=cp($APP.k(Z,"cScale"),$APP.Ei.g(Ka));Z.cLift=$a;Z.cRot=za;Z.cScale=
39
+ Ka;jb=H+G*2.39996;ab=1-Q*.7;Q=Math.sin(jb)*1.8*ab*A;Z=Math.cos(jb*.7)*.8*ab*A;var Ib=Math.sin(jb*1.3)*1.2*ab*A;jb=l[G];ab=Hp.g(c);$a+=$APP.n(ab)?Z:Q;za+=Ib;Q=$APP.n(ab)?"translate("+$APP.T.g($a)+"px,"+$APP.T.g(Q)+"px) rotate("+$APP.T.g(za)+"deg) scale("+$APP.T.g(Ka)+")":"translate("+$APP.T.g(Z)+"px,"+$APP.T.g($a)+"px) rotate("+$APP.T.g(za)+"deg) scale("+$APP.T.g(Ka)+")";jb.style.transform=Q}G+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+Fp.g(c);h=$APP.k(a,"__xLiquidDockRefs");e=.012+.006*Math.sin(g);
40
+ a.__xLiquidDockSeed=g;g=$APP.hl.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.T.g(e));!I&&d>0&&(d=$APP.nj.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.T.g(op.g(c))),a.__xLiquidDockBurst=0);$APP.ia(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Pp.g?Pp.g(a):Pp.call(null,a)}))}return null};$APP.fa("baredom.exports.x_liquid_dock.init",cq);export const init=cq;