@vanelsas/baredom 2.2.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +3 -3
  3. package/dist/base.js +408 -394
  4. package/dist/x-alert.js +17 -17
  5. package/dist/x-avatar-group.js +11 -11
  6. package/dist/x-avatar.js +14 -14
  7. package/dist/x-badge.js +11 -11
  8. package/dist/x-bento-grid.js +5 -5
  9. package/dist/x-bento-item.js +4 -4
  10. package/dist/x-breadcrumbs.js +14 -14
  11. package/dist/x-button.js +15 -15
  12. package/dist/x-cancel-dialogue.js +16 -16
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-carousel.js +29 -29
  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 +42 -42
  20. package/dist/x-combobox.js +28 -0
  21. package/dist/x-command-palette.js +25 -25
  22. package/dist/x-container.js +6 -6
  23. package/dist/x-context-menu.js +18 -20
  24. package/dist/x-copy.js +22 -22
  25. package/dist/x-currency-field.js +21 -21
  26. package/dist/x-date-picker.js +37 -37
  27. package/dist/x-divider.js +8 -8
  28. package/dist/x-drawer.js +11 -11
  29. package/dist/x-dropdown.js +9 -9
  30. package/dist/x-fieldset.js +5 -5
  31. package/dist/x-file-download.js +7 -7
  32. package/dist/x-form-field.js +15 -15
  33. package/dist/x-form.js +9 -9
  34. package/dist/x-gaussian-blur.js +18 -18
  35. package/dist/x-grid.js +6 -6
  36. package/dist/x-icon.js +7 -7
  37. package/dist/x-image.js +18 -18
  38. package/dist/x-kinetic-font.js +28 -28
  39. package/dist/x-kinetic-typography.js +37 -37
  40. package/dist/x-liquid-dock.js +35 -35
  41. package/dist/x-liquid-fill.js +40 -40
  42. package/dist/x-liquid-glass.js +39 -39
  43. package/dist/x-menu-item.js +10 -10
  44. package/dist/x-menu.js +10 -10
  45. package/dist/x-metaball-cursor.js +27 -27
  46. package/dist/x-modal.js +12 -12
  47. package/dist/x-morph-stack.js +39 -39
  48. package/dist/x-navbar.js +13 -13
  49. package/dist/x-neural-glow.js +31 -31
  50. package/dist/x-notification-center.js +10 -10
  51. package/dist/x-organic-divider.js +15 -15
  52. package/dist/x-organic-progress.js +35 -35
  53. package/dist/x-organic-shape.js +12 -12
  54. package/dist/x-pagination.js +16 -16
  55. package/dist/x-particle-button.js +47 -47
  56. package/dist/x-popover.js +24 -14
  57. package/dist/x-progress-circle.js +7 -7
  58. package/dist/x-progress.js +7 -7
  59. package/dist/x-radio.js +11 -11
  60. package/dist/x-ripple-effect.js +11 -11
  61. package/dist/x-scroll-parallax.js +17 -17
  62. package/dist/x-scroll-stack.js +18 -18
  63. package/dist/x-scroll-story.js +34 -34
  64. package/dist/x-scroll-timeline.js +45 -45
  65. package/dist/x-scroll.js +40 -40
  66. package/dist/x-search-field.js +14 -14
  67. package/dist/x-select.js +9 -9
  68. package/dist/x-sidebar.js +16 -16
  69. package/dist/x-skeleton-group.js +15 -0
  70. package/dist/x-skeleton.js +1 -6
  71. package/dist/x-slider.js +16 -16
  72. package/dist/x-soft-body.js +20 -20
  73. package/dist/x-spacer.js +5 -5
  74. package/dist/x-spinner.js +5 -5
  75. package/dist/x-splash.js +13 -13
  76. package/dist/x-stat.js +9 -9
  77. package/dist/x-stepper.js +15 -16
  78. package/dist/x-switch.js +10 -10
  79. package/dist/x-tab.js +7 -7
  80. package/dist/x-table-cell.js +19 -19
  81. package/dist/x-table-row.js +10 -10
  82. package/dist/x-table.js +13 -13
  83. package/dist/x-tabs.js +11 -11
  84. package/dist/x-text-area.js +17 -17
  85. package/dist/x-theme.js +25 -25
  86. package/dist/x-timeline-item.js +21 -21
  87. package/dist/x-timeline.js +9 -9
  88. package/dist/x-toast.js +22 -22
  89. package/dist/x-toaster.js +8 -8
  90. package/dist/x-tooltip.js +14 -0
  91. package/dist/x-typography.js +8 -8
  92. package/package.json +13 -1
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
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",
2
+ var PK=function(a,b){return $APP.ba[a]=b},QK=function(a,b){if(a!=null&&a.ra!=null)a=a.ra(a,b);else{var c=QK[$APP.ea(a==null?null:a)];if(c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else if(c=QK._,c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else throw $APP.pa("IDrop.-drop",a);}return a},RK=function(a){if(a!=null&&(a.G&262144||$APP.Ob===a.vc)){var b=a.ra(null,1);return $APP.n(b)?b:$APP.Yb}return new $APP.rd(null,function(){a:{var c=1;for(var d=a;;)if(d=$APP.t(d),c>0&&d)--c,d=$APP.Zb(d);else{c=d;break a}c=void 0}return c},
3
+ null)},SK=function(a,b){a.sort(b||$APP.ka)},UK=function(a){var b=TK();const c=Array(a.length);for(let e=0;e<a.length;e++)c[e]={index:e,value:a[e]};const d=b||$APP.ka;SK(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},TK=function(){return $APP.C.i($APP.Sc,$APP.Sc)?$APP.Sc:function(a,b){var c=$APP.Sc.i?$APP.Sc.i(a,b):$APP.Sc.call(null,a,b);return typeof c==="number"?c:$APP.n(c)?-1:$APP.n($APP.Sc.i?$APP.Sc.i(b,a):$APP.Sc.call(null,b,a))?1:0}},VK=function(a){this.ob=
4
+ a;this.B=null;this.s=2153775104;this.G=2048},WK=function(a){return new VK(a.toLowerCase())},XK=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 WK([a(),a(),"-",a(),"-",b,"-",c,"-",a(),a(),a()].join(""))},YK=function(a){return typeof a===
5
+ "string"&&$APP.N("",a.trim())?a.trim():null},ZK=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},$K=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},aL=function(a){var b=$APP.k(a,"__xKineticTypographyAnimate");$APP.n(b)&&(b.remove(),a.__xKineticTypographyAnimate=null)},bL=function(a,b,c,d){var e=ZK("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},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;}}";
7
+ e.setAttribute("calcMode","spline"),e.setAttribute("keySplines","0.42 0 0.58 1;0.42 0 0.58 1")}return e},cL=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=[]}},xL=function(a){var b=$APP.zf([$APP.Ok,dL,$APP.Ug,eL,$APP.Bj,$APP.yk,fL,gL,hL,iL,jL,kL,$APP.oj,lL,$APP.ol],[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,hL),e=$APP.D(c,iL),g=$APP.D(c,jL),h=$APP.D(c,kL),l=$APP.D(c,$APP.oj),m=$APP.D(c,lL),p=$APP.D(c,$APP.ol),q=$APP.D(c,$APP.Ok),v=$APP.D(c,dL),x=$APP.D(c,$APP.Ug),y=$APP.D(c,eL),A=$APP.D(c,$APP.Bj),B=$APP.D(c,
9
+ $APP.yk),E=$APP.D(c,fL),G=$APP.D(c,gL),H=typeof p==="string"?p:"",J=YK(q),S=typeof B==="string"?B.trim().toLowerCase():null;var aa=$APP.I(mL,S)?S:"wave";var oa=$APP.C.i(aa,"crawl"),Aa=typeof x==="string"?x.trim().toLowerCase():null;var Na=$APP.I(nL,Aa)?Aa:"scroll";var cb=typeof l==="string"?l.trim().toLowerCase():null;var db=$APP.I(oL,cb)?cb:"normal";if(typeof A==="string"){var mb=parseFloat(A.trim());var Lb=typeof mb==="number"&&$APP.r(isNaN(mb))&&mb>0?mb:1}else Lb=1;if(typeof G==="string"){var eb=
10
+ parseInt(G.trim(),10);var da=typeof eb==="number"&&$APP.r(isNaN(eb))&&eb>0?eb:1}else da=1;if(typeof d==="string"){var ra=$APP.Xf(d.toLowerCase().trim().split(/\s+/));var Pa=$APP.Xm.i(ra,pL)}else Pa=$APP.Tf;var Xb=YK(E),Eb=YK(h);var Nd=$APP.C.i(aa,"crawl")?null:J!=null?new $APP.Q(null,2,[$APP.El,J,qL,"0 0 800 200"],null):$APP.D(rL,aa);var Du=$APP.n($APP.n(Xb)?$APP.n(Eb)?!oa:Eb:Xb)?$APP.ld.i(Pa,"size-gradient"):Pa,Eu=$APP.I(Du,"size-gradient")?$APP.ph.i(Du,"size-pulse"):Du,FZ=$APP.I(Eu,"color-wave")?
11
+ $APP.ph.i(Eu,"color-shift"):Eu;if(typeof v==="string"){var am=parseFloat(v.trim());var fJ=typeof am==="number"&&$APP.r(isNaN(am))&&am>0&&am<=1?am:.85}else fJ=.85;var GZ=$APP.El.g(Nd),HZ=YK(y),IZ=qL.g(Nd),JZ=10/$APP.qh.i(Lb,.01);if(oa)var Fu=0;else if(typeof g==="string"){var bm=parseInt(g.trim(),10);Fu=typeof bm==="number"&&$APP.r(isNaN(bm))&&bm>=0&&bm<=5?bm:0}else Fu=0;if(typeof e==="string"){var Sp=parseFloat(e.trim());var gJ=typeof Sp==="number"&&$APP.r(isNaN(Sp))&&Sp>0?Sp:.3}else gJ=.3;if(typeof m===
12
+ "string"){var cm=parseFloat(m.trim());var hJ=typeof cm==="number"&&$APP.r(isNaN(cm))&&cm>0&&cm<=1?cm:.5}else hJ=.5;var LZ=$APP.zf([dL,$APP.Qj,$APP.Ug,eL,$APP.Bj,qL,$APP.yk,sL,fL,tL,uL,gL,vL,iL,jL,kL,$APP.oj,lL,$APP.ol],[fJ,GZ,Na,HZ,Lb,IZ,aa,oa,Xb,FZ,JZ,da,J!=null,gJ,Fu,Eb,db,hJ,H]);var Qc=$APP.M(LZ),lJ=$APP.D(Qc,iL),mJ=$APP.D(Qc,jL),Gu=$APP.D(Qc,kL),Hu=$APP.D(Qc,$APP.oj),MZ=$APP.D(Qc,lL),eh=$APP.D(Qc,$APP.ol),NZ=$APP.D(Qc,dL),Tp=$APP.D(Qc,$APP.Qj),fh=$APP.D(Qc,$APP.Ug),nJ=$APP.D(Qc,eL),oJ=$APP.D(Qc,
13
+ qL),OZ=$APP.D(Qc,sL),dm=$APP.D(Qc,fL),Kj=$APP.D(Qc,tL),Sh=$APP.D(Qc,uL),Iu=$APP.D(Qc,gL),pJ=$APP.k(a,"__xKineticTypographySvg"),PZ=$APP.k(a,"__xKineticTypographyPath"),qJ=$APP.k(a,"__xKineticTypographyText"),em=$APP.k(a,"__xKineticTypographyTextPath"),QZ=$APP.k(a,"__xKineticTypographySrOnly"),RZ=$APP.k(a,"__xKineticTypographyCrawlText"),Ju=a.shadowRoot.querySelector("[part\x3dpath-line]");if($APP.n(OZ))a.setAttribute("data-preset","crawl"),RZ.textContent=eh,aL(a),cL(a),$APP.N(fh,"none")?a.setAttribute("data-animation",
14
+ fh):a.removeAttribute("data-animation"),$APP.C.i(Hu,"reverse")?a.setAttribute("data-direction","reverse"):a.removeAttribute("data-direction"),$APP.I(Kj,"color-shift")?a.setAttribute("data-effect","color-shift"):a.removeAttribute("data-effect");else{a.removeAttribute("data-preset");a.removeAttribute("data-direction");$APP.n(oJ)&&pJ.setAttribute("viewBox",oJ);$APP.n(Tp)&&PZ.setAttribute("d",Tp);$APP.n($APP.n(Ju)?Tp:Ju)&&Ju.setAttribute("d",Tp);var Ku=Iu<=1?eh:$APP.Jd($APP.T,RK(wL.i(new $APP.Zd(null,
15
+ -1," · ",null),Iu>0?new $APP.Zd(null,Iu,eh,null):$APP.Yb))),rJ=$APP.I(Kj,"size-gradient"),SZ=$APP.I(Kj,"color-wave"),sJ=rJ?$APP.n(dm)?$APP.n(Gu)?$APP.N(eh,""):Gu:dm:rJ;var TZ=$APP.n(sJ)?sJ:SZ&&$APP.N(eh,"");if($APP.n(TZ)){em.textContent="";var Lu=$APP.xe(Ku),Th=$APP.z(Lu),Uh=$APP.I(Kj,"size-gradient"),Mu=$APP.I(Kj,"color-wave"),gh=Uh?parseFloat(dm):null,Up=Uh?parseFloat(Gu):null;if(Uh){var tJ=$APP.n(dm)?dm:"px",UZ=/[a-z%]+/;if(typeof tJ==="string"){var Vp=UZ.exec(tJ);var uJ=Vp==null?null:Vp.length===
16
+ 1?Vp[0]:$APP.xe(Vp)}else throw new TypeError("re-find must match against a string.");var vJ=$APP.n(uJ)?uJ:"px"}else vJ=null;for(var wJ=vJ,xJ=Mu?Th>0?Sh/Th:0:null,Nu=$APP.t($APP.dg(0,Th)),Ou=null,Pu=0,Wp=0;;)if(Wp<Pu){var Vh=Ou.F(null,Wp),Xp=ZK("tspan");$APP.n(Uh?$APP.n(gh)?Up:gh:Uh)&&Xp.setAttribute("font-size",""+$APP.T.g(gh+(Th>1?Vh/(Th-1):0)*(Up-gh))+$APP.T.g(wJ));Mu&&(Xp.style.cssText="animation:xkt-color-wave "+$APP.T.g(Sh)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(Vh*xJ)+"s;");Xp.textContent=
17
+ $APP.pc(Lu,Vh);em.appendChild(Xp);Wp+=1}else{var yJ=$APP.t(Nu);if(yJ){var fm=yJ;if($APP.Nc(fm)){var zJ=$APP.yb(fm),VZ=$APP.zb(fm),WZ=zJ,XZ=$APP.z(zJ);Nu=VZ;Ou=WZ;Pu=XZ}else{Vh=$APP.u(fm);var Yp=ZK("tspan");$APP.n(Uh?$APP.n(gh)?Up:gh:Uh)&&Yp.setAttribute("font-size",""+$APP.T.g(gh+(Th>1?Vh/(Th-1):0)*(Up-gh))+$APP.T.g(wJ));Mu&&(Yp.style.cssText="animation:xkt-color-wave "+$APP.T.g(Sh)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(Vh*xJ)+"s;");Yp.textContent=$APP.pc(Lu,Vh);em.appendChild(Yp);Nu=
18
+ $APP.w(fm);Ou=null;Pu=0}Wp=0}else break}}else em.textContent=Ku;cL(a);if(mJ>0){for(var AJ=$APP.k(a,"__xKineticTypographyPathId"),BJ=[],YZ=$APP.N(fh,"none")&&$APP.r($K()),ZZ=Sh>0?lJ/Sh*100:5,Qu=0;;)if(Qu<mJ){var Zp=Qu+1,Lj=document.createElementNS("http://www.w3.org/2000/svg","text"),Mj=document.createElementNS("http://www.w3.org/2000/svg","textPath"),$Z=Math.pow(MZ,Zp),a_=Math.pow(NZ,Zp),b_="-"+$APP.T.g(ZZ*Zp)+"%";Lj.setAttribute("part","text-echo");Lj.setAttribute("opacity",""+$APP.T.g($Z));Lj.setAttribute("font-size",
19
+ "calc(var(--x-kinetic-typography-font-size) * "+$APP.T.g(a_)+")");Mj.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+$APP.T.g(AJ));Mj.setAttribute("href","#"+$APP.T.g(AJ));Mj.setAttribute("startOffset",b_);Mj.textContent=Ku;if(YZ){var c_=bL(fh,Hu,Sh,lJ*Zp);Mj.appendChild(c_)}Lj.appendChild(Mj);pJ.appendChild(Lj);BJ.push({textEl:Lj});Qu+=1}else break;a.__xKineticTypographyEchoEls=BJ}$APP.n(nJ)?qJ.style.setProperty("font-size",nJ):qJ.style.removeProperty("font-size");aL(a);if($APP.N(fh,"none")&&
20
+ $APP.r($K())){var CJ=bL(fh,Hu,Sh,0);em.appendChild(CJ);a.__xKineticTypographyAnimate=CJ}var gm=$APP.ph.C(Kj,"size-gradient",$APP.uc(["color-wave"]));if($APP.t(gm)){var d_=a.setAttribute;if($APP.t(gm)){var DJ=$APP.zd.g?$APP.zd.g(gm):$APP.zd.call(null,gm);UK(DJ);var EJ=$APP.Fc($APP.t(DJ),$APP.Gc(gm))}else EJ=$APP.Yb;d_.call(a,"data-effect",$APP.Gg(EJ))}else a.removeAttribute("data-effect");$APP.N(fh,"none")?a.setAttribute("data-animation",fh):a.removeAttribute("data-animation")}QZ.textContent=eh;$APP.C.i(eh,
21
+ "")?(a.setAttribute("role","presentation"),a.setAttribute("aria-hidden","true")):(a.setAttribute("role","img"),a.setAttribute("aria-label",eh))},yL=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})},zL=function(a){yL(a,"text","text","");yL(a,"path","path",null);yL(a,"preset","preset","wave");yL(a,"animation",
22
+ "animation","scroll");yL(a,"speed","speed",""+$APP.T.g(1));yL(a,"direction","direction","normal");yL(a,"effect","effect","none");yL(a,"font-size","fontSize",null);yL(a,"start-size","startSize",null);yL(a,"end-size","endSize",null);yL(a,"repeat","repeat",""+$APP.T.g(1));yL(a,"echo-count","echoCount",""+$APP.T.g(0));yL(a,"echo-delay","echoDelay",""+$APP.T.g(.3));yL(a,"echo-opacity","echoOpacity",""+$APP.T.g(.5));yL(a,"echo-scale","echoScale",""+$APP.T.g(.85))},BL=function(){var a=class extends HTMLElement{};
23
+ a.observedAttributes=AL;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=ZK("svg"),g=ZK("defs"),h=ZK("path"),l=ZK("path"),m=ZK("text"),p=ZK("textPath"),q=document.createElement("span"),v=document.createElement("div"),x=document.createElement("div"),y="xkt-"+$APP.T.g(XK());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}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;
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}xL(this);return null};a.prototype.disconnectedCallback=
26
+ function(){aL(this);$APP.n($APP.k(this,"__xKineticTypographySvg"))&&cL(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.N(c,d)&&$APP.n($APP.k(this,"__xKineticTypographyInit"))&&xL(this);return null};zL(a.prototype);return a},CL=function(){$APP.n(customElements.get("x-kinetic-typography"))||customElements.define("x-kinetic-typography",BL());return null};$APP.Ub.prototype.ra=PK(6,function(a,b){return b>0?this.u+b<this.j.length?new $APP.Ub(this.j,this.u+b,null):null:this});
27
+ $APP.Zd.prototype.ra=PK(5,function(a,b){if(this.count===-1)return this;a=this.count-b;return a>0?new $APP.Zd(null,a,this.o,null):null});$APP.O.prototype.ra=PK(4,function(a,b){if(b<this.l){a=b%32;var c=$APP.oe(this,b);b-=a;return $APP.ze?$APP.ze(this,c,b,a):$APP.Be.call(null,this,c,b,a)}return null});
28
+ $APP.ye.prototype.ra=PK(3,function(a,b){a=this.ja+b;if(a<this.node.length)return $APP.ze?$APP.ze(this.ka,this.node,this.u,a):$APP.Be.call(null,this.ka,this.node,this.u,a);var c=this.u+a;if(c<$APP.wa(this.ka)){a=c%32;b=this.ka;var d=$APP.oe(this.ka,c);c-=a;return $APP.ze?$APP.ze(b,d,c,a):$APP.Be.call(null,b,d,c,a)}return null});$APP.Qe.prototype.ra=PK(2,function(a,b){return b<this.O(null)?new $APP.Qe(this.j,this.u+2*b,null):null});
29
+ $APP.Q.prototype.ra=PK(1,function(a,b){a=this.P(null);return a==null?null:QK(a,b)});$APP.ag.prototype.ra=PK(0,function(a,b){return b>0?b<this.l?new $APP.ag(null,this.start+this.step*b,this.end,this.step,this.l-b,null):null:this});
30
+ var wL=function wL(a){switch(arguments.length){case 0:return wL.H();case 1:return wL.g(arguments[0]);case 2:return wL.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 wL.C(arguments[0],arguments[1],2<c.length?new $APP.Ub(c.slice(2),0,null):null)}};wL.H=function(){return $APP.Yb};wL.g=function(a){return new $APP.rd(null,function(){return a},null)};
31
+ wL.i=function(a,b){return new $APP.rd(null,function(){var c=$APP.t(a),d=$APP.t(b);return c&&d?$APP.od($APP.u(c),$APP.od($APP.u(d),wL.i($APP.Zb(c),$APP.Zb(d)))):null},null)};wL.C=function(a,b,c){return new $APP.rd(null,function(){var d=$APP.ae.i($APP.t,$APP.ld.C(c,b,$APP.uc([a])));return $APP.Td($APP.dd,d)?$APP.$d.i($APP.ae.i($APP.u,d),$APP.Jd(wL,$APP.ae.i($APP.Zb,d))):null},null)};wL.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)};wL.N=2;$APP.f=VK.prototype;
32
+ $APP.f.oc=$APP.Ob;$APP.f.toString=function(){return this.ob};$APP.f.R=function(a,b){return(a=b!=null?$APP.Ob===b.oc?!0:!1:!1)?this.ob===b.ob:a};$APP.f.S=function(a,b){return $APP.ob(b,['#uuid "',$APP.qa(this.ob),'"'].join(""))};$APP.f.T=function(){this.B==null&&(this.B=$APP.Pb(this.ob));return this.B};$APP.f.Ha=function(a,b){if(b instanceof VK)return $APP.ka(this.ob,b.ob);throw Error(["Cannot compare ",$APP.qa(this)," to ",$APP.qa(b)].join(""));};
33
+ var lL=new $APP.K(null,"echo-opacity","echo-opacity",-1476699970),fL=new $APP.K(null,"start-size","start-size",-1818812493),sL=new $APP.K(null,"crawl?","crawl?",829918610),dL=new $APP.K(null,"echo-scale","echo-scale",1307207648),iL=new $APP.K(null,"echo-delay","echo-delay",845689658),jL=new $APP.K(null,"echo-count","echo-count",1053271067),qL=new $APP.K(null,"view-box","view-box",-1792199155),gL=new $APP.K(null,"repeat","repeat",832692087),vL=new $APP.K(null,"custom-path?","custom-path?",-1532616839),
34
+ hL=new $APP.K(null,"effect","effect",347343289),uL=new $APP.K(null,"duration-s","duration-s",-1976899627),eL=new $APP.K(null,"font-size","font-size",-1847940346),tL=new $APP.K(null,"effects","effects",-282369292),kL=new $APP.K(null,"end-size","end-size",761612093);var AL="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.zf([$APP.Ok,new $APP.K(null,"startSize","startSize",-1750632892),$APP.Ug,$APP.Bj,new $APP.K(null,"echoCount","echoCount",-1194377974),new $APP.K(null,"echoScale","echoScale",1536204716),new $APP.K(null,"echoOpacity","echoOpacity",-1325258611),$APP.yk,gL,new $APP.K(null,"fontSize","fontSize",919623033),hL,new $APP.K(null,"echoDelay","echoDelay",-1807132900),new $APP.K(null,"endSize","endSize",674490141),$APP.oj,$APP.ol],[new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"path"],null),new $APP.Q(null,2,
36
+ [$APP.Z,$APP.Y,$APP.Bk,"start-size"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"animation"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"speed"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"echo-count"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"echo-scale"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"echo-opacity"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"preset"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"repeat"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"font-size"],
37
+ null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"effect"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"echo-delay"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"end-size"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"direction"],null),new $APP.Q(null,2,[$APP.Z,$APP.Y,$APP.Bk,"text"],null)]);
38
+ var mL=new $APP.R(null,new $APP.Q(null,8,["spiral",null,"infinity",null,"arc",null,"line",null,"crawl",null,"wave",null,"circle",null,"sine",null],null),null),nL=new $APP.R(null,new $APP.Q(null,4,["none",null,"scroll",null,"bounce",null,"oscillate",null],null),null),oL=new $APP.R(null,new $APP.Q(null,2,["reverse",null,"normal",null],null),null),pL=new $APP.R(null,new $APP.Q(null,6,["spacing-breathe",null,"color-shift",null,"opacity-wave",null,"color-wave",null,"size-gradient",null,"size-pulse",null],
39
+ null),null),rL=new $APP.Q(null,7,["wave",new $APP.Q(null,2,[$APP.El,"M0,100 C100,20 200,180 300,100 C400,20 500,180 600,100 C700,20 800,180 800,100",qL,"0 0 800 200"],null),"circle",new $APP.Q(null,2,[$APP.El,"M125,10 A115,115 0 1,1 124.99,10",qL,"0 0 250 250"],null),"arc",new $APP.Q(null,2,[$APP.El,"M50,350 Q400,10 750,350",qL,"0 0 800 400"],null),"infinity",new $APP.Q(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",qL,"0 0 400 400"],
40
+ null),"spiral",new $APP.Q(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",qL,"0 0 500 500"],null),"sine",new $APP.Q(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",qL,"0 0 800 200"],null),"line",new $APP.Q(null,2,[$APP.El,"M0,50 L800,50",qL,"0 0 800 100"],null)],null);$APP.ha("baredom.exports.x_kinetic_typography.init",CL);export const init=CL;
@@ -1,40 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
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",
2
+ var bq=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.I(aq,a)?a:"bottom"):"bottom"},cq=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},dq=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"},eq=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},fq=function(a,b){return a+(b-a)*.1},jq=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.Q(null,4,[gq,e,$APP.Wi,1+c*(h-1),hq,a*d*g*.3,iq,b*d*g*.3],null)},mq=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.Q(null,3,[kq,0,lq,-a,$APP.Wi,c],null);case "top":return new $APP.Q(null,3,[kq,0,lq,a,$APP.Wi,c],null);case "left":return new $APP.Q(null,3,[kq,a,lq,0,$APP.Wi,c],null);case "right":return new $APP.Q(null,3,[kq,-a,lq,0,$APP.Wi,c],null);default:return new $APP.Q(null,3,[kq,0,lq,-a,
4
+ $APP.Wi,c],null)}},oq=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.Q(null,3,[nq,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.Ol,5*d*a*b,$APP.Wi,1+.12*d*a],null)},uq=function(a){var b=$APP.k(a,"__xLiquidDockModel"),c=pq[0];pq[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=qq;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.ii);c=$APP.D(v,$APP.Gl);v=$APP.D(v,rq);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"),G=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.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('+
8
+ "noise");G.setAttribute("in","goo");G.setAttribute("in2","noise");G.setAttribute("scale",""+$APP.T.g(v));G.setAttribute("xChannelSelector","R");G.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(B);y.appendChild(E);y.appendChild(G);x.appendChild(y);l.appendChild(x);d=new $APP.Q(null,5,[$APP.Yk,y,$APP.ij,A,$APP.Gm,B,$APP.Bl,E,$APP.Hj,G],null);h.appendChild(l);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Rf($APP.uc([d,new $APP.Q(null,6,[$APP.Ci,e,$APP.xi,
9
+ h,$APP.gk,l,sq,m,tq,p,$APP.fj,q],null)]));a.__xLiquidDockRefs=e},Fq=function(a){a=$APP.zf([$APP.Vj,$APP.jm,vq,wq,$APP.Yh,$APP.Sm,xq,$APP.Ri,yq,$APP.$i,zq],[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.$i);
10
+ var c=$APP.D(b,zq),d=$APP.D(b,$APP.Vj),e=$APP.D(b,$APP.jm),g=$APP.D(b,vq),h=$APP.D(b,wq),l=$APP.D(b,$APP.Yh),m=$APP.D(b,$APP.Sm),p=$APP.D(b,xq),q=$APP.D(b,$APP.Ri);b=$APP.D(b,yq);d=bq(d);return $APP.zf([$APP.Jj,Aq,Bq,$APP.Gl,rq,$APP.ii,Cq,$APP.Wj,Dq,$APP.Om,Eq,$APP.X],[eq(m),cq(h,.03,.005,.15),cq(b,1,0,2),dq(l),cq(p,8,0,40),cq(e,10,2,30),$APP.C.i(d,"left")||$APP.C.i(d,"right"),cq(q,8,0,40),cq(c,150,40,400),d,cq(g,.6,0,2),a!=null])},Gq=function(a){a=$APP.fj.g($APP.k(a,"__xLiquidDockRefs"));return $APP.n(a)?
11
+ a.assignedElements():null},Hq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,sq);b=function(){var q=Gq(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.Vd(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},Iq=function(a){var b=$APP.M($APP.k(a,"__xLiquidDockRefs")),c=$APP.D(b,$APP.xi);b=Gq(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},Jq=function(a,b){var c=$APP.M(b);b=$APP.D(c,$APP.Jj);c=$APP.D(c,$APP.Wj);$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")},Lq=function(a){$APP.F(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))||
14
+ (a.__xLiquidDockSeed=0,$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Kq(a)})));return null},Mq=function(a){var b=$APP.k(a,"__xLiquidDockRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},Nq=function(a){a=Gq(a);if($APP.n(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},Oq=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.Gh(new $APP.Q(null,
15
+ 3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},Pq=function(a){Hq(a);var b=Gq(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 Iq(a)});return null},Tq=function(a){function b(){return Pq(a)}function c(l){var m=$APP.k(a,"__xLiquidDockModel");if(!$APP.n($APP.X.g(m))){var p=Gq(a),q=$APP.n(p)?p.length:null,v=l.key,x=Cq.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(),Oq(a,y,p[y],"keyboard")))}return null}function d(l){if(!$APP.n($APP.X.g($APP.k(a,"__xLiquidDockModel")))){var m=Gq(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)&&Oq(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.xi);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.fj);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.ja(a,"__xLiquidDockHdl",new $APP.Q(null,5,[Qq,g,Rq,e,$APP.Ck,d,Sq,c,$APP.fj,b],null))},Uq=function(a){var b=$APP.k(a,"__xLiquidDockHdl");if($APP.n(b)){a.removeEventListener("pointermove",Qq.g(b));a.removeEventListener("pointerleave",Rq.g(b));a.removeEventListener("click",$APP.Ck.g(b));a.removeEventListener("keydown",Sq.g(b));var c=$APP.k(a,"__xLiquidDockRefs");
19
+ $APP.n(c)&&(c=$APP.M(c),c=$APP.D(c,$APP.fj),$APP.n(c)&&c.removeEventListener("slotchange",$APP.fj.g(b)));a.__xLiquidDockHdl=null}},Vq=function(a){Object.defineProperty(a,"position",{get:function(){return bq(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 cq(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 cq(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 dq(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 cq(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 cq(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 eq(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 cq(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 cq(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 cq(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})},Xq=function(){var a=class extends HTMLElement{};a.observedAttributes=Wq;a.prototype.connectedCallback=function(){var b=this,c=Fq(b);b.__xLiquidDockModel=c;$APP.ja(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});
25
+ $APP.ja(b,"__xLiquidDockBlobs",[]);$APP.ja(b,"__xLiquidDockBlobSt",[]);$APP.ja(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.n($APP.k(b,"__xLiquidDockRefs"))||uq(b);Jq(b,c);$APP.n(b.hasAttribute("role"))||b.setAttribute("role","navigation");Uq(b);Tq(b);c=$APP.k(b,"__xLiquidDockRO");$APP.n(c)&&c.disconnect();c=new ResizeObserver(function(){Iq(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){Hq(b);Iq(b);return Lq(b)});return null};
26
+ a.prototype.disconnectedCallback=function(){Mq(this);Uq(this);Nq(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=Fq(this),$APP.n($APP.k(this,"__xLiquidDockRefs")))){d=$APP.M(b);var e=$APP.D(d,$APP.ii);c=$APP.D(d,$APP.Gl);d=$APP.D(d,rq);var g=$APP.k(this,"__xLiquidDockRefs"),h=$APP.ij.g(g);$APP.n(h)&&h.setAttribute("stdDeviation",""+$APP.T.g(e));
27
+ e=$APP.Gm.g(g);$APP.n(e)&&e.setAttribute("values",c);c=$APP.Hj.g(g);$APP.n(c)&&c.setAttribute("scale",""+$APP.T.g(d));Jq(this,b);Iq(this);$APP.n($APP.X.g(b))?(Mq(this),Nq(this)):$APP.n($APP.k(this,"__xLiquidDockRaf"))||Lq(this)}return null};Vq(a.prototype);return a},Yq=function(){$APP.n(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",Xq());return null},Aq=new $APP.K(null,"ripple-speed","ripple-speed",229709223),rq=new $APP.K(null,"ripple-scale","ripple-scale",-1874116111),
28
+ zq=new $APP.K(null,"magnet-radius-raw","magnet-radius-raw",1386161852),Zq=new $APP.K(null,"bobIntensity","bobIntensity",-531647277),tq=new $APP.K(null,"items-div","items-div",-555506089),$q=new $APP.K(null,"magnetStrength","magnetStrength",331224709),ar=new $APP.K(null,"rippleScale","rippleScale",-1633180735),Dq=new $APP.K(null,"magnet-radius","magnet-radius",1447549494),sq=new $APP.K(null,"liquid","liquid",1322031275),Rq=new $APP.K(null,"leave","leave",1022579443),gq=new $APP.K(null,"influence",
29
+ "influence",1453493017),Cq=new $APP.K(null,"vertical?","vertical?",-1522630444),yq=new $APP.K(null,"bob-intensity-raw","bob-intensity-raw",-669810474),Sq=new $APP.K(null,"key","key",-1516042587),Qq=new $APP.K(null,"move","move",-2110884309),lq=new $APP.K(null,"dy","dy",1719547243),kq=new $APP.K(null,"dx","dx",-381796732),vq=new $APP.K(null,"magnet-strength-raw","magnet-strength-raw",535053898),wq=new $APP.K(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),br=new $APP.K(null,"rippleSpeed","rippleSpeed",
30
+ -1816718091),iq=new $APP.K(null,"ty","ty",158290825),hq=new $APP.K(null,"tx","tx",466630418),Bq=new $APP.K(null,"bob-intensity","bob-intensity",-981181657),nq=new $APP.K(null,"lift","lift",903632035),cr=new $APP.K(null,"magnetRadius","magnetRadius",1616130031),Eq=new $APP.K(null,"magnet-strength","magnet-strength",-1089389895),xq=new $APP.K(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var Wq="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Qd(["x-liquid-dock-select",new $APP.Q(null,4,[$APP.V,new $APP.Q(null,3,[$APP.ci,$APP.W,$APP.nk,new $APP.Sb(null,"Element","Element",1498489072,null),$APP.fl,$APP.Y],null),$APP.sm,!0,$APP.Fm,!0,$APP.Yl,!0],null)]);
31
+ $APP.zf([ar,$APP.Jj,$q,$APP.Nj,$APP.Gl,cr,Zq,$APP.ii,br,$APP.Wj,$APP.Om],[new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.Xj],null),new $APP.Q(null,1,[$APP.Z,$APP.Y],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,$APP.W],null),new $APP.Q(null,1,[$APP.Z,
32
+ $APP.Y],null)]);var aq=new $APP.R(null,new $APP.Q(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var pq=[0],qq=":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
- 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;
36
+ Kq=function Kq(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 eb=Gq(a);return $APP.n(eb)?eb:[]}(),m=$APP.rh.i(h.length,l.length),p=$APP.k(d,"x"),q=$APP.k(d,"y"),v=$APP.k(d,"active"),x=Dq.g(c),y=Eq.g(c),A=Bq.g(c),B=$APP.Om.g(c),E=1+y*.8,G=function(){var eb=$APP.k(a,"__xLiquidDockSeed");return $APP.n(eb)?eb:0}(),H=Date.now();d=function(){var eb=
37
+ $APP.k(a,"__xLiquidDockBurst");return $APP.n(eb)?eb:0}();var J=H-d<300;if(J){H=(1-(H-d)/300)*20;var S=rq.g(c),aa=$APP.Hj.g($APP.k(a,"__xLiquidDockRefs"));$APP.n(aa)&&aa.setAttribute("scale",""+$APP.T.g(S+H))}for(H=0;;)if(H<m){S=h[H];var oa=$APP.k(S,"cx"),Aa=$APP.k(S,"cy");aa=H*2;var Na=aa+1;if(Na<e.length){S=gq.g($APP.n(v)?jq(oa,Aa,p,q,x,y,E):new $APP.Q(null,4,[gq,0,$APP.Wi,1,hq,0,iq,0],null));aa=e[aa];var cb="translate("+$APP.T.g(oa-26)+"px,"+$APP.T.g(Aa-26)+"px)";aa.style.transform=cb;var db=mq(S,
38
+ B);aa=g[Na];cb=kq.g(db);var mb=lq.g(db);db=$APP.Wi.g(db);cb=fq($APP.k(aa,"cpDx"),cb);mb=fq($APP.k(aa,"cpDy"),mb);db=fq($APP.k(aa,"cpScale"),db);aa.cpDx=cb;aa.cpDy=mb;aa.cpScale=db;Na=e[Na];Aa="translate("+$APP.T.g(oa-22+cb)+"px,"+$APP.T.g(Aa-22+mb)+"px) scale("+$APP.T.g(db)+")";Na.style.transform=Aa;Na=oq(S,$APP.n(v)?function(){var eb=p-oa;return eb>1?1:eb<-1?-1:0}():0,B,A);cb=fq($APP.k(aa,"cLift"),nq.g(Na));Aa=fq($APP.k(aa,"cRot"),$APP.Ol.g(Na));Na=fq($APP.k(aa,"cScale"),$APP.Wi.g(Na));aa.cLift=
39
+ cb;aa.cRot=Aa;aa.cScale=Na;mb=G+H*2.39996;db=1-S*.7;S=Math.sin(mb)*1.8*db*A;aa=Math.cos(mb*.7)*.8*db*A;var Lb=Math.sin(mb*1.3)*1.2*db*A;mb=l[H];db=Cq.g(c);cb+=$APP.n(db)?aa:S;Aa+=Lb;S=$APP.n(db)?"translate("+$APP.T.g(cb)+"px,"+$APP.T.g(S)+"px) rotate("+$APP.T.g(Aa)+"deg) scale("+$APP.T.g(Na)+")":"translate("+$APP.T.g(aa)+"px,"+$APP.T.g(cb)+"px) rotate("+$APP.T.g(Aa)+"deg) scale("+$APP.T.g(Na)+")";mb.style.transform=S}H+=1}else break;g=$APP.k(a,"__xLiquidDockSeed")+Aq.g(c);h=$APP.k(a,"__xLiquidDockRefs");
40
+ e=.012+.006*Math.sin(g);a.__xLiquidDockSeed=g;g=$APP.Bl.g(h);$APP.n(g)&&g.setAttribute("baseFrequency",""+$APP.T.g(e));!J&&d>0&&(d=$APP.Hj.g($APP.k(a,"__xLiquidDockRefs")),$APP.n(d)&&d.setAttribute("scale",""+$APP.T.g(rq.g(c))),a.__xLiquidDockBurst=0);$APP.ja(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Kq.g?Kq.g(a):Kq.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_dock.init",Yq);export const init=Yq;