@vanelsas/baredom 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +6 -4
  3. package/dist/base.js +397 -373
  4. package/dist/x-alert.js +19 -19
  5. package/dist/x-avatar-group.js +11 -11
  6. package/dist/x-avatar.js +15 -15
  7. package/dist/x-badge.js +11 -11
  8. package/dist/x-bento-grid.js +5 -5
  9. package/dist/x-bento-item.js +4 -4
  10. package/dist/x-breadcrumbs.js +14 -14
  11. package/dist/x-button.js +16 -16
  12. package/dist/x-cancel-dialogue.js +17 -17
  13. package/dist/x-card.js +7 -7
  14. package/dist/x-chart.js +47 -47
  15. package/dist/x-checkbox.js +11 -11
  16. package/dist/x-chip.js +8 -8
  17. package/dist/x-collapse.js +10 -10
  18. package/dist/x-command-palette.js +31 -31
  19. package/dist/x-container.js +6 -6
  20. package/dist/x-context-menu.js +19 -19
  21. package/dist/x-copy.js +23 -23
  22. package/dist/x-currency-field.js +22 -22
  23. package/dist/x-date-picker.js +41 -41
  24. package/dist/x-divider.js +13 -13
  25. package/dist/x-drawer.js +11 -11
  26. package/dist/x-dropdown.js +9 -9
  27. package/dist/x-fieldset.js +6 -6
  28. package/dist/x-file-download.js +7 -7
  29. package/dist/x-form-field.js +15 -15
  30. package/dist/x-form.js +10 -10
  31. package/dist/x-gaussian-blur.js +18 -18
  32. package/dist/x-grid.js +6 -6
  33. package/dist/x-kinetic-font.js +29 -0
  34. package/dist/x-kinetic-typography.js +39 -61
  35. package/dist/x-liquid-dock.js +40 -0
  36. package/dist/x-liquid-fill.js +45 -0
  37. package/dist/x-liquid-glass.js +48 -0
  38. package/dist/x-menu-item.js +10 -10
  39. package/dist/x-menu.js +11 -11
  40. package/dist/x-metaball-cursor.js +28 -27
  41. package/dist/x-modal.js +12 -12
  42. package/dist/x-morph-stack.js +41 -0
  43. package/dist/x-navbar.js +13 -13
  44. package/dist/x-neural-glow.js +34 -34
  45. package/dist/x-notification-center.js +9 -10
  46. package/dist/x-organic-divider.js +19 -19
  47. package/dist/x-organic-progress.js +38 -38
  48. package/dist/x-organic-shape.js +14 -14
  49. package/dist/x-pagination.js +16 -16
  50. package/dist/x-popover.js +14 -14
  51. package/dist/x-progress-circle.js +9 -9
  52. package/dist/x-progress.js +10 -10
  53. package/dist/x-radio.js +11 -11
  54. package/dist/x-ripple-effect.js +12 -13
  55. package/dist/x-scroll-parallax.js +19 -19
  56. package/dist/x-scroll-stack.js +18 -18
  57. package/dist/x-scroll-story.js +36 -36
  58. package/dist/x-scroll-timeline.js +50 -50
  59. package/dist/x-scroll.js +41 -41
  60. package/dist/x-search-field.js +14 -14
  61. package/dist/x-select.js +9 -9
  62. package/dist/x-sidebar.js +16 -16
  63. package/dist/x-skeleton.js +6 -6
  64. package/dist/x-slider.js +16 -16
  65. package/dist/x-soft-body.js +22 -0
  66. package/dist/x-spacer.js +5 -5
  67. package/dist/x-spinner.js +5 -5
  68. package/dist/x-splash.js +13 -13
  69. package/dist/x-stat.js +11 -11
  70. package/dist/x-stepper.js +16 -16
  71. package/dist/x-switch.js +10 -10
  72. package/dist/x-tab.js +7 -7
  73. package/dist/x-table-cell.js +22 -22
  74. package/dist/x-table-row.js +10 -10
  75. package/dist/x-table.js +16 -16
  76. package/dist/x-tabs.js +11 -11
  77. package/dist/x-text-area.js +18 -18
  78. package/dist/x-timeline-item.js +24 -24
  79. package/dist/x-timeline.js +9 -9
  80. package/dist/x-toast.js +24 -24
  81. package/dist/x-toaster.js +8 -8
  82. package/dist/x-typography.js +10 -10
  83. package/package.json +25 -1
@@ -1,62 +1,40 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var hC=function(a){if(a!=null&&a.F!=null)a=a.F(a);else{var b=hC[$APP.da(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=hC._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $APP.ra("IEmptyableCollection.-empty",a);}return a},iC=function(a,b){if(a!=null&&a.ib!=null)a=a.ib(a,b);else{var c=iC[$APP.da(a==null?null:a)];if(c!=null)a=c.h?c.h(a,b):c.call(null,a,b);else if(c=iC._,c!=null)a=c.h?c.h(a,b):c.call(null,a,b);else throw $APP.ra("IMap.-dissoc",a);}return a},jC=function(a,b){if(a!=
3
- null&&a.pa!=null)a=a.pa(a,b);else{var c=jC[$APP.da(a==null?null:a)];if(c!=null)a=c.h?c.h(a,b):c.call(null,a,b);else if(c=jC._,c!=null)a=c.h?c.h(a,b):c.call(null,a,b);else throw $APP.ra("IDrop.-drop",a);}return a},kC=function(a,b){var c=Array(a.length-2);$APP.Dc(a,0,c,0,2*b);$APP.Dc(a,2*(b+1),c,2*b,c.length-2*b);return c},lC=function(a,b,c,d){return d instanceof $APP.tf?d.right instanceof $APP.tf?new $APP.tf(d.key,d.l,new $APP.sf(a,b,c,d.left),d.right.Fa()):d.left instanceof $APP.tf?new $APP.tf(d.left.key,
4
- d.left.l,new $APP.sf(a,b,c,d.left.left),new $APP.sf(d.key,d.l,d.left.right,d.right)):new $APP.sf(a,b,c,d):new $APP.sf(a,b,c,d)},mC=function(a,b,c,d){if(c instanceof $APP.tf)return new $APP.tf(a,b,c.Fa(),d);if(d instanceof $APP.sf)return lC(a,b,c,d.ob());if(d instanceof $APP.tf&&d.left instanceof $APP.sf)return new $APP.tf(d.left.key,d.left.l,new $APP.sf(a,b,c,d.left.left),lC(d.key,d.l,d.left.right,d.right.ob()));throw Error("red-black tree invariant violation");},nC=function(a,b,c,d){return c instanceof
5
- $APP.tf?c.left instanceof $APP.tf?new $APP.tf(c.key,c.l,c.left.Fa(),new $APP.sf(a,b,c.right,d)):c.right instanceof $APP.tf?new $APP.tf(c.right.key,c.right.l,new $APP.sf(c.key,c.l,c.left,c.right.left),new $APP.sf(a,b,c.right.right,d)):new $APP.sf(a,b,c,d):new $APP.sf(a,b,c,d)},oC=function(a,b,c,d){if(d instanceof $APP.tf)return new $APP.tf(a,b,c,d.Fa());if(c instanceof $APP.sf)return nC(a,b,c.ob(),d);if(c instanceof $APP.tf&&c.right instanceof $APP.sf)return new $APP.tf(c.right.key,c.right.l,nC(c.key,
6
- c.l,c.left.ob(),c.right.left),new $APP.sf(a,b,c.right.right,d));throw Error("red-black tree invariant violation");},pC=function(a,b){a.sort(b||$APP.na)},rC=function(a){var b=qC();const c=Array(a.length);for(let e=0;e<a.length;e++)c[e]={index:e,value:a[e]};const d=b||$APP.na;pC(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},sC=function(a,b){if(a!=null&&a.Bb!=null)a=a.Bb(a,b);else{var c=sC[$APP.da(a==null?null:a)];if(c!=null)a=c.h?c.h(a,b):c.call(null,
7
- a,b);else if(c=sC._,c!=null)a=c.h?c.h(a,b):c.call(null,a,b);else throw $APP.ra("ISet.-disjoin",a);}return a},qC=function(){return $APP.C.h($APP.Gc,$APP.Gc)?$APP.Gc:function(a,b){var c=$APP.Gc.h?$APP.Gc.h(a,b):$APP.Gc.call(null,a,b);return typeof c==="number"?c:$APP.n(c)?-1:$APP.n($APP.Gc.h?$APP.Gc.h(b,a):$APP.Gc.call(null,b,a))?1:0}},tC=function(a){if(a!=null&&(a.D&262144||$APP.t===a.yc)){var b=a.pa(null,1);return $APP.n(b)?b:$APP.Mb}return new $APP.gd(null,function(){a:{var c=1;for(var d=a;;)if(d=
8
- $APP.u(d),c>0&&d)--c,d=$APP.Ob(d);else{c=d;break a}c=void 0}return c},null)},uC=function(a){this.qb=a;this.A=null;this.o=2153775104;this.D=2048},vC=function(a){return new uC(a.toLowerCase())},wC=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()*
9
- 65536)).toString(16);return vC([a(),a(),"-",a(),"-",b,"-",c,"-",a(),a(),a()].join(""))},yC=function(a,b){var c=$APP.zd(xC,a,b);return $APP.dd(c,$APP.Sd(function(d){return c===d},b))},zC=function(a){return typeof a==="string"&&$APP.O("",a.trim())?a.trim():null},AC=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},BC=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},CC=function(a){var b=$APP.l(a,"__xKineticTypographyAnimate");$APP.n(b)&&(b.remove(),
10
- a.__xKineticTypographyAnimate=null)},DC=function(a,b,c,d){var e=AC("animate");c=""+$APP.T.g(c)+"s";b=$APP.C.h(b,"reverse")?"reverse":"normal";e.setAttribute("attributeName","startOffset");e.setAttribute("repeatCount","indefinite");e.setAttribute("dur",c);d>0&&e.setAttribute("begin",""+$APP.T.g(d)+"s");switch(a){case "scroll":e.setAttribute("from",$APP.C.h(b,"reverse")?"100%":"0%");e.setAttribute("to",$APP.C.h(b,"reverse")?"0%":"100%");break;case "bounce":e.setAttribute("values",$APP.C.h(b,"reverse")?
11
- "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.h(b,"reverse")?"120%;-20%;120%":"-20%;120%;-20%"),e.setAttribute("calcMode","spline"),e.setAttribute("keySplines","0.42 0 0.58 1;0.42 0 0.58 1")}return e},EC=function(a){var b=$APP.l(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=
12
- []}},bD=function(a){var b=$APP.mf([$APP.xj,FC,$APP.oi,GC,$APP.xi,HC,IC,JC,KC,LC,MC,NC,$APP.ni,OC,$APP.Rj],[a.getAttribute("path"),a.getAttribute("echo-scale"),a.getAttribute("animation"),a.getAttribute("font-size"),a.getAttribute("speed"),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")]);
13
- var c=$APP.N(b),d=$APP.I(c,KC),e=$APP.I(c,LC),g=$APP.I(c,MC),h=$APP.I(c,NC),k=$APP.I(c,$APP.ni),m=$APP.I(c,OC),p=$APP.I(c,$APP.Rj),q=$APP.I(c,$APP.xj),v=$APP.I(c,FC),x=$APP.I(c,$APP.oi),y=$APP.I(c,GC),A=$APP.I(c,$APP.xi),D=$APP.I(c,HC),G=$APP.I(c,IC),H=$APP.I(c,JC),F=typeof p==="string"?p:"",P=zC(q),la=typeof D==="string"?D.trim().toLowerCase():null;var Ca=$APP.K(PC,la)?la:"wave";var Xa=$APP.C.h(Ca,"crawl"),Wb=typeof x==="string"?x.trim().toLowerCase():null;var zh=$APP.K(QC,Wb)?Wb:"scroll";var am=
14
- typeof k==="string"?k.trim().toLowerCase():null;var bm=$APP.K(RC,am)?am:"normal";if(typeof A==="string"){var bg=parseFloat(A.trim());var uf=typeof bg==="number"&&$APP.r(isNaN(bg))&&bg>0?bg:1}else uf=1;if(typeof H==="string"){var Uc=parseInt(H.trim(),10);var Oe=typeof Uc==="number"&&$APP.r(isNaN(Uc))&&Uc>0?Uc:1}else Oe=1;if(typeof d==="string"){var vf=$APP.Nf(d.toLowerCase().trim().split(/\s+/));var wf=SC.h(vf,TC)}else wf=$APP.Jf;var xf=zC(G),Wp=zC(h);var tB=$APP.C.h(Ca,"crawl")?null:P!=null?new $APP.R(null,
15
- 2,[$APP.ek,P,UC,"0 0 800 200"],null):$APP.I(VC,Ca);var Xp=$APP.n($APP.n(xf)?$APP.n(Wp)?!Xa:Wp:xf)?$APP.ad.h(wf,"size-gradient"):wf,Yp=$APP.K(Xp,"size-gradient")?WC.h(Xp,"size-pulse"):Xp,oO=$APP.K(Yp,"color-wave")?WC.h(Yp,"color-shift"):Yp;if(typeof v==="string"){var Yi=parseFloat(v.trim());var uB=typeof Yi==="number"&&$APP.r(isNaN(Yi))&&Yi>0&&Yi<=1?Yi:.85}else uB=.85;var pO=$APP.ek.g(tB),qO=zC(y),rO=UC.g(tB),sO=10/$APP.Fg.h(uf,.01);if(Xa)var Zp=0;else if(typeof g==="string"){var Zi=parseInt(g.trim(),
16
- 10);Zp=typeof Zi==="number"&&$APP.r(isNaN(Zi))&&Zi>=0&&Zi<=5?Zi:0}else Zp=0;if(typeof e==="string"){var cm=parseFloat(e.trim());var vB=typeof cm==="number"&&$APP.r(isNaN(cm))&&cm>0?cm:.3}else vB=.3;if(typeof m==="string"){var $i=parseFloat(m.trim());var wB=typeof $i==="number"&&$APP.r(isNaN($i))&&$i>0&&$i<=1?$i:.5}else wB=.5;var uO=$APP.mf([FC,$APP.Gi,$APP.oi,GC,$APP.xi,UC,HC,XC,IC,YC,ZC,JC,$C,LC,MC,NC,$APP.ni,OC,$APP.Rj],[uB,pO,zh,qO,uf,rO,Ca,Xa,xf,oO,sO,Oe,P!=null,vB,Zp,Wp,bm,wB,F]);var Nb=$APP.N(uO),
17
- AB=$APP.I(Nb,LC),BB=$APP.I(Nb,MC),$p=$APP.I(Nb,NC),aq=$APP.I(Nb,$APP.ni),vO=$APP.I(Nb,OC),yf=$APP.I(Nb,$APP.Rj),wO=$APP.I(Nb,FC),dm=$APP.I(Nb,$APP.Gi),zf=$APP.I(Nb,$APP.oi),CB=$APP.I(Nb,GC);$APP.I(Nb,$APP.xi);var DB=$APP.I(Nb,UC);$APP.I(Nb,HC);var xO=$APP.I(Nb,XC),aj=$APP.I(Nb,IC),Ah=$APP.I(Nb,YC),cg=$APP.I(Nb,ZC),bq=$APP.I(Nb,JC),EB=$APP.l(a,"__xKineticTypographySvg"),yO=$APP.l(a,"__xKineticTypographyPath"),FB=$APP.l(a,"__xKineticTypographyText"),bj=$APP.l(a,"__xKineticTypographyTextPath"),zO=$APP.l(a,
18
- "__xKineticTypographySrOnly"),AO=$APP.l(a,"__xKineticTypographyCrawlText"),cq=a.shadowRoot.querySelector("[part\x3dpath-line]");if($APP.n(xO))a.setAttribute("data-preset","crawl"),AO.textContent=yf,CC(a),EC(a),$APP.O(zf,"none")?a.setAttribute("data-animation",zf):a.removeAttribute("data-animation"),$APP.C.h(aq,"reverse")?a.setAttribute("data-direction","reverse"):a.removeAttribute("data-direction"),$APP.K(Ah,"color-shift")?a.setAttribute("data-effect","color-shift"):a.removeAttribute("data-effect");
19
- else{a.removeAttribute("data-preset");a.removeAttribute("data-direction");$APP.n(DB)&&EB.setAttribute("viewBox",DB);$APP.n(dm)&&yO.setAttribute("d",dm);$APP.n($APP.n(cq)?dm:cq)&&cq.setAttribute("d",dm);var dq=bq<=1?yf:$APP.yd($APP.T,tC(aD.h(new $APP.Md(null,-1," · ",null),bq>0?new $APP.Md(null,bq,yf,null):$APP.Mb))),GB=$APP.K(Ah,"size-gradient"),BO=$APP.K(Ah,"color-wave"),HB=GB?$APP.n(aj)?$APP.n($p)?$APP.O(yf,""):$p:aj:GB;var CO=$APP.n(HB)?HB:BO&&$APP.O(yf,"");if($APP.n(CO)){bj.textContent="";var eq=
20
- $APP.ke(dq),dg=$APP.B(eq),eg=$APP.K(Ah,"size-gradient"),fq=$APP.K(Ah,"color-wave"),Af=eg?parseFloat(aj):null,em=eg?parseFloat($p):null;if(eg){var IB=$APP.n(aj)?aj:"px",DO=/[a-z%]+/;if(typeof IB==="string"){var fm=DO.exec(IB);var JB=fm==null?null:fm.length===1?fm[0]:$APP.ke(fm)}else throw new TypeError("re-find must match against a string.");var KB=$APP.n(JB)?JB:"px"}else KB=null;for(var LB=KB,MB=fq?dg>0?cg/dg:0:null,gq=$APP.u($APP.Uf(0,dg)),hq=null,iq=0,gm=0;;)if(gm<iq){var fg=hq.G(null,gm),hm=AC("tspan");
21
- $APP.n(eg?$APP.n(Af)?em:Af:eg)&&hm.setAttribute("font-size",""+$APP.T.g(Af+(dg>1?fg/(dg-1):0)*(em-Af))+$APP.T.g(LB));fq&&(hm.style.cssText="animation:xkt-color-wave "+$APP.T.g(cg)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(fg*MB)+"s;");hm.textContent=$APP.fc(eq,fg);bj.appendChild(hm);gm+=1}else{var NB=$APP.u(gq);if(NB){var cj=NB;if($APP.Cc(cj)){var OB=$APP.qb(cj),EO=$APP.rb(cj),FO=OB,GO=$APP.B(OB);gq=EO;hq=FO;iq=GO}else{fg=$APP.w(cj);var im=AC("tspan");$APP.n(eg?$APP.n(Af)?em:Af:eg)&&im.setAttribute("font-size",
22
- ""+$APP.T.g(Af+(dg>1?fg/(dg-1):0)*(em-Af))+$APP.T.g(LB));fq&&(im.style.cssText="animation:xkt-color-wave "+$APP.T.g(cg)+"s ease-in-out infinite;animation-delay:"+$APP.T.g(fg*MB)+"s;");im.textContent=$APP.fc(eq,fg);bj.appendChild(im);gq=$APP.z(cj);hq=null;iq=0}gm=0}else break}}else bj.textContent=dq;EC(a);if(BB>0){for(var PB=$APP.l(a,"__xKineticTypographyPathId"),QB=[],HO=$APP.O(zf,"none")&&$APP.r(BC()),IO=cg>0?AB/cg*100:5,jq=0;;)if(jq<BB){var jm=jq+1,Bh=document.createElementNS("http://www.w3.org/2000/svg",
23
- "text"),Ch=document.createElementNS("http://www.w3.org/2000/svg","textPath"),JO=Math.pow(vO,jm),KO=Math.pow(wO,jm),LO="-"+$APP.T.g(IO*jm)+"%";Bh.setAttribute("part","text-echo");Bh.setAttribute("opacity",""+$APP.T.g(JO));Bh.setAttribute("font-size","calc(var(--x-kinetic-typography-font-size) * "+$APP.T.g(KO)+")");Ch.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+$APP.T.g(PB));Ch.setAttribute("href","#"+$APP.T.g(PB));Ch.setAttribute("startOffset",LO);Ch.textContent=dq;if(HO){var MO=DC(zf,
24
- aq,cg,AB*jm);Ch.appendChild(MO)}Bh.appendChild(Ch);EB.appendChild(Bh);QB.push({textEl:Bh});jq+=1}else break;a.__xKineticTypographyEchoEls=QB}$APP.n(CB)?FB.style.setProperty("font-size",CB):FB.style.removeProperty("font-size");CC(a);if($APP.O(zf,"none")&&$APP.r(BC())){var RB=DC(zf,aq,cg,0);bj.appendChild(RB);a.__xKineticTypographyAnimate=RB}var dj=WC.B(Ah,"size-gradient",$APP.kc(["color-wave"]));if($APP.u(dj)){var NO=a.setAttribute;if($APP.u(dj)){var SB=$APP.od.g?$APP.od.g(dj):$APP.od.call(null,dj);
25
- rC(SB);var TB=$APP.uc($APP.u(SB),$APP.vc(dj))}else TB=$APP.Mb;NO.call(a,"data-effect",$APP.xg(TB))}else a.removeAttribute("data-effect");$APP.O(zf,"none")?a.setAttribute("data-animation",zf):a.removeAttribute("data-animation")}zO.textContent=yf;$APP.C.h(yf,"")?(a.setAttribute("role","presentation"),a.setAttribute("aria-hidden","true")):(a.setAttribute("role","img"),a.setAttribute("aria-label",yf))},cD=function(a,b,c,d){Object.defineProperty(a,c,{get:function(){var e=this.getAttribute(b);return $APP.n(e)?
26
- e:d},set:function(e){return typeof e==="string"&&$APP.O("",e)?this.setAttribute(b,e):this.removeAttribute(b)},enumerable:!0,configurable:!0})},dD=function(a){cD(a,"text","text","");cD(a,"path","path",null);cD(a,"preset","preset","wave");cD(a,"animation","animation","scroll");cD(a,"speed","speed",""+$APP.T.g(1));cD(a,"direction","direction","normal");cD(a,"effect","effect","none");cD(a,"font-size","fontSize",null);cD(a,"start-size","startSize",null);cD(a,"end-size","endSize",null);cD(a,"repeat","repeat",
27
- ""+$APP.T.g(1));cD(a,"echo-count","echoCount",""+$APP.T.g(0));cD(a,"echo-delay","echoDelay",""+$APP.T.g(.3));cD(a,"echo-opacity","echoOpacity",""+$APP.T.g(.5));cD(a,"echo-scale","echoScale",""+$APP.T.g(.85))},fD=function(){var a=class extends HTMLElement{};a.observedAttributes=eD;a.prototype.connectedCallback=function(){if(!$APP.n($APP.l(this,"__xKineticTypographyInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=AC("svg"),g=AC("defs"),
28
- h=AC("path"),k=AC("path"),m=AC("text"),p=AC("textPath"),q=document.createElement("span"),v=document.createElement("div"),x=document.createElement("div"),y="xkt-"+$APP.T.g(wC());c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-kinetic-typography-color: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:currentColor;--x-kinetic-typography-color-shift-to:#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: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;}}";
29
- d.setAttribute("part","container");e.setAttribute("part","svg");e.setAttribute("aria-hidden","true");e.setAttribute("focusable","false");h.setAttribute("id",y);g.appendChild(h);k.setAttribute("part","path-line");e.appendChild(k);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");
30
- 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}bD(this);return null};a.prototype.disconnectedCallback=
31
- function(){CC(this);$APP.n($APP.l(this,"__xKineticTypographySvg"))&&EC(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&$APP.n($APP.l(this,"__xKineticTypographyInit"))&&bD(this);return null};dD(a.prototype);return a},gD=function(){$APP.n(customElements.get("x-kinetic-typography"))||customElements.define("x-kinetic-typography",fD());return null},hD=function hD(a,b){if(a==null)return b;if(b==null)return a;if(a instanceof $APP.tf){if(b instanceof $APP.tf){var d=function(){var e=
32
- a.right,g=b.left;return hD.h?hD.h(e,g):hD.call(null,e,g)}();return d instanceof $APP.tf?new $APP.tf(d.key,d.l,new $APP.tf(a.key,a.l,a.left,d.left),new $APP.tf(b.key,b.l,d.right,b.right)):new $APP.tf(a.key,a.l,a.left,new $APP.tf(b.key,b.l,d,b.right))}return new $APP.tf(a.key,a.l,a.left,function(){var e=a.right;return hD.h?hD.h(e,b):hD.call(null,e,b)}())}if(b instanceof $APP.tf)return new $APP.tf(b.key,b.l,function(){var e=b.left;return hD.h?hD.h(a,e):hD.call(null,a,e)}(),b.right);d=function(){var e=
33
- a.right,g=b.left;return hD.h?hD.h(e,g):hD.call(null,e,g)}();return d instanceof $APP.tf?new $APP.tf(d.key,d.l,new $APP.sf(a.key,a.l,a.left,d.left),new $APP.sf(b.key,b.l,d.right,b.right)):mC(a.key,a.l,a.left,new $APP.sf(b.key,b.l,d,b.right))},iD=function iD(a,b,c,d){if(b!=null){var g=function(){var h=b.key;return a.h?a.h(c,h):a.call(null,c,h)}();if(g===0)return d[0]=b,hD(b.left,b.right);if(g<0)return g=function(){var h=b.left;return iD.Z?iD.Z(a,h,c,d):iD.call(null,a,h,c,d)}(),g!=null||d[0]!=null?b.left instanceof
34
- $APP.sf?mC(b.key,b.l,g,b.right):new $APP.tf(b.key,b.l,g,b.right):null;g=function(){var h=b.right;return iD.Z?iD.Z(a,h,c,d):iD.call(null,a,h,c,d)}();return g!=null||d[0]!=null?b.right instanceof $APP.sf?oC(b.key,b.l,b.left,g):new $APP.tf(b.key,b.l,b.left,g):null}return null};$APP.S.prototype.Bb=$APP.ca(48,function(a,b){a=iC(this.xa,b);return a===this.xa?this:new $APP.S(this.s,a,null)});$APP.Mf.prototype.Bb=$APP.ca(47,function(a,b){a=iC(this.wa,b);return a===this.wa?this:new $APP.Mf(this.s,a,null)});
35
- $APP.sf.prototype.ob=$APP.ca(46,function(){return new $APP.tf(this.key,this.l,this.left,this.right)});$APP.tf.prototype.ob=$APP.ca(45,function(){throw Error("red-black tree invariant violation");});
36
- $APP.Te.prototype.Pa=$APP.ca(44,function(a,b,c){var d=1<<(b>>>a&31);if((this.X&d)===0)return this;var e=$APP.Xc(this.X&d-1),g=this.i[2*e],h=this.i[2*e+1];return g==null?(a=h.Pa(a+5,b,c),a===h?this:a!=null?new $APP.Te(null,this.X,$APP.Pe(this.i,2*e+1,a)):this.X===d?null:new $APP.Te(null,this.X^d,kC(this.i,e))):$APP.Fe(c,g)?this.X===d?null:new $APP.Te(null,this.X^d,kC(this.i,e)):this});
37
- $APP.Ve.prototype.Pa=$APP.ca(43,function(a,b,c){var d=b>>>a&31,e=this.i[d];if(e!=null){a=e.Pa(a+5,b,c);if(a===e)d=this;else if(a==null)if(this.j<=8)a:{e=this.i;a=e.length;b=Array(2*(this.j-1));c=0;for(var g=1,h=0;;)if(c<a)c!==d&&e[c]!=null?(b[g]=e[c],g+=2,h|=1<<c,c+=1):c+=1;else{d=new $APP.Te(null,h,b);break a}d=void 0}else d=new $APP.Ve(null,this.j-1,$APP.Pe(this.i,d,a));else d=new $APP.Ve(null,this.j,$APP.Pe(this.i,d,a));return d}return this});
38
- $APP.Xe.prototype.Pa=$APP.ca(42,function(a,b,c){a=$APP.We(this.i,this.j,c);return a===-1?this:this.j===1?null:new $APP.Xe(null,this.Ia,this.j-1,kC(this.i,$APP.Wc(a)))});$APP.Jb.prototype.pa=$APP.ca(35,function(a,b){return b>0?this.u+b<this.i.length?new $APP.Jb(this.i,this.u+b,null):null:this});$APP.Md.prototype.pa=$APP.ca(34,function(a,b){if(this.count===-1)return this;a=this.count-b;return a>0?new $APP.Md(null,a,this.l,null):null});
39
- $APP.Q.prototype.pa=$APP.ca(33,function(a,b){if(b<this.j){a=b%32;var c=$APP.ae(this,b);b-=a;return $APP.me?$APP.me(this,c,b,a):$APP.oe.call(null,this,c,b,a)}return null});$APP.le.prototype.pa=$APP.ca(32,function(a,b){a=this.ha+b;if(a<this.node.length)return $APP.me?$APP.me(this.ja,this.node,this.u,a):$APP.oe.call(null,this.ja,this.node,this.u,a);var c=this.u+a;if(c<$APP.xa(this.ja)){a=c%32;b=this.ja;var d=$APP.ae(this.ja,c);c-=a;return $APP.me?$APP.me(b,d,c,a):$APP.oe.call(null,b,d,c,a)}return null});
40
- $APP.De.prototype.pa=$APP.ca(31,function(a,b){return b<this.N(null)?new $APP.De(this.i,this.u+2*b,null):null});$APP.R.prototype.pa=$APP.ca(30,function(a,b){a=this.O(null);return a==null?null:jC(a,b)});$APP.Rf.prototype.pa=$APP.ca(29,function(a,b){return b>0?b<this.j?new $APP.Rf(null,this.start+this.step*b,this.end,this.step,this.j-b,null):null:this});
41
- $APP.R.prototype.ib=$APP.ca(28,function(a,b){if($APP.Be(this.i,b)>=0){a=this.i.length;var c=a-2;if(c===0)return this.F(null);c=Array(c);for(var d=0,e=0;;){if(d>=a)return new $APP.R(this.s,this.j-1,c,null);$APP.C.h(b,this.i[d])?d+=2:(c[e]=this.i[d],c[e+1]=this.i[d+1],e+=2,d+=2)}}else return this});
42
- $APP.lf.prototype.ib=$APP.ca(27,function(a,b){if(b==null)return this.la?new $APP.lf(this.s,this.j-1,this.root,!1,null,null):this;if(this.root==null)return this;a=this.root.Pa(0,$APP.Eb(b),b);return a===this.root?this:new $APP.lf(this.s,this.j-1,a,this.la,this.ma,null)});$APP.Bf.prototype.ib=$APP.ca(26,function(a,b){a=[null];b=iD(this.va,this.Ka,b,a);return b==null?$APP.fc(a,0)==null?this:new $APP.Bf(this.va,null,0,this.s,null):new $APP.Bf(this.va,b.Fa(),this.j-1,this.s,null)});
43
- $APP.Jb.prototype.F=$APP.ca(25,function(){return $APP.Mb});$APP.mc.prototype.F=$APP.ca(24,function(){return $APP.Mb});$APP.Zc.prototype.F=$APP.ca(23,function(){return $APP.Ta($APP.Mb,this.s)});$APP.$c.prototype.F=$APP.ca(22,function(){return this});$APP.cd.prototype.F=$APP.ca(21,function(){return $APP.Mb});$APP.gd.prototype.F=$APP.ca(20,function(){return $APP.Ta($APP.Mb,this.s)});$APP.ld.prototype.F=$APP.ca(19,function(){return $APP.Mb});$APP.Md.prototype.F=$APP.ca(18,function(){return $APP.Mb});
44
- $APP.Q.prototype.F=$APP.ca(17,function(){return $APP.Ta($APP.Td,this.s)});$APP.le.prototype.F=$APP.ca(16,function(){return $APP.Mb});$APP.Ce.prototype.F=$APP.ca(15,function(){return null});$APP.De.prototype.F=$APP.ca(14,function(){return $APP.Mb});$APP.R.prototype.F=$APP.ca(13,function(){return $APP.Ta($APP.Fd,this.s)});$APP.bf.prototype.F=$APP.ca(12,function(){return $APP.Mb});$APP.ff.prototype.F=$APP.ca(11,function(){return $APP.Mb});
45
- $APP.lf.prototype.F=$APP.ca(10,function(){return $APP.Ta($APP.Le,this.s)});$APP.qf.prototype.F=$APP.ca(9,function(){return $APP.Mb});$APP.sf.prototype.F=$APP.ca(8,function(){return null});$APP.tf.prototype.F=$APP.ca(7,function(){return null});$APP.Bf.prototype.F=$APP.ca(6,function(){return new $APP.Bf(this.va,null,0,this.s,0)});$APP.Df.prototype.F=$APP.ca(5,function(){return $APP.Mb});$APP.Ff.prototype.F=$APP.ca(4,function(){return $APP.Mb});
46
- $APP.S.prototype.F=$APP.ca(3,function(){return $APP.Ta($APP.Jf,this.s)});$APP.Mf.prototype.F=$APP.ca(2,function(){return new $APP.Mf(this.s,hC(this.wa),0)});$APP.Rf.prototype.F=$APP.ca(1,function(){return $APP.Mb});$APP.Sf.prototype.F=$APP.ca(0,function(){return $APP.Mb});
47
- var xC=function xC(a){switch(arguments.length){case 2:return xC.h(arguments[0],arguments[1]);case 3:return xC.m(arguments[0],arguments[1],arguments[2]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return xC.B(arguments[0],arguments[1],arguments[2],3<c.length?new $APP.Jb(c.slice(3),0,null):null)}};xC.h=function(a,b){return b};xC.m=function(a,b,c){return(a.g?a.g(b):a.call(null,b))>(a.g?a.g(c):a.call(null,c))?b:c};
48
- xC.B=function(a,b,c,d){return $APP.Lc(function(e,g){return xC.m(a,e,g)},xC.m(a,b,c),d)};xC.K=function(a){var b=$APP.w(a),c=$APP.z(a);a=$APP.w(c);var d=$APP.z(c);c=$APP.w(d);d=$APP.z(d);return this.B(b,a,c,d)};xC.P=3;
49
- var WC=function WC(a){switch(arguments.length){case 1:return WC.g(arguments[0]);case 2:return WC.h(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 WC.B(arguments[0],arguments[1],2<c.length?new $APP.Jb(c.slice(2),0,null):null)}};WC.g=function(a){return a};WC.h=function(a,b){return a==null?null:sC(a,b)};WC.B=function(a,b,c){for(;;){if(a==null)return null;a=WC.h(a,b);if($APP.n(c))b=$APP.w(c),c=$APP.z(c);else return a}};
50
- WC.K=function(a){var b=$APP.w(a),c=$APP.z(a);a=$APP.w(c);c=$APP.z(c);return this.B(b,a,c)};WC.P=2;var aD=function aD(a){switch(arguments.length){case 0:return aD.H();case 1:return aD.g(arguments[0]);case 2:return aD.h(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 aD.B(arguments[0],arguments[1],2<c.length?new $APP.Jb(c.slice(2),0,null):null)}};aD.H=function(){return $APP.Mb};
51
- aD.g=function(a){return new $APP.gd(null,function(){return a},null)};aD.h=function(a,b){return new $APP.gd(null,function(){var c=$APP.u(a),d=$APP.u(b);return c&&d?$APP.dd($APP.w(c),$APP.dd($APP.w(d),aD.h($APP.Ob(c),$APP.Ob(d)))):null},null)};aD.B=function(a,b,c){return new $APP.gd(null,function(){var d=$APP.Od.h($APP.u,$APP.ad.B(c,b,$APP.kc([a])));return $APP.Hd($APP.Sc,d)?$APP.Nd.h($APP.Od.h($APP.w,d),$APP.yd(aD,$APP.Od.h($APP.Ob,d))):null},null)};
52
- aD.K=function(a){var b=$APP.w(a),c=$APP.z(a);a=$APP.w(c);c=$APP.z(c);return this.B(b,a,c)};aD.P=2;$APP.f=uC.prototype;$APP.f.pc=$APP.t;$APP.f.toString=function(){return this.qb};$APP.f.R=function(a,b){return(a=b!=null?$APP.t===b.pc?!0:!1:!1)?this.qb===b.qb:a};$APP.f.S=function(a,b){return $APP.gb(b,['#uuid "',$APP.sa(this.qb),'"'].join(""))};$APP.f.T=function(){this.A==null&&(this.A=$APP.Eb(this.qb));return this.A};
53
- $APP.f.Ha=function(a,b){if(b instanceof uC)return $APP.na(this.qb,b.qb);throw Error(["Cannot compare ",$APP.sa(this)," to ",$APP.sa(b)].join(""));};
54
- var OC=new $APP.M(null,"echo-opacity","echo-opacity",-1476699970),jD=new $APP.M(null,"startSize","startSize",-1750632892),IC=new $APP.M(null,"start-size","start-size",-1818812493),XC=new $APP.M(null,"crawl?","crawl?",829918610),FC=new $APP.M(null,"echo-scale","echo-scale",1307207648),kD=new $APP.M(null,"echoOpacity","echoOpacity",-1325258611),LC=new $APP.M(null,"echo-delay","echo-delay",845689658),lD=new $APP.M(null,"endSize","endSize",674490141),MC=new $APP.M(null,"echo-count","echo-count",1053271067),
55
- UC=new $APP.M(null,"view-box","view-box",-1792199155),HC=new $APP.M(null,"preset","preset",777387345),JC=new $APP.M(null,"repeat","repeat",832692087),mD=new $APP.M(null,"fontSize","fontSize",919623033),$C=new $APP.M(null,"custom-path?","custom-path?",-1532616839),KC=new $APP.M(null,"effect","effect",347343289),nD=new $APP.M(null,"echoDelay","echoDelay",-1807132900),ZC=new $APP.M(null,"duration-s","duration-s",-1976899627),oD=new $APP.M(null,"echoCount","echoCount",-1194377974),GC=new $APP.M(null,
56
- "font-size","font-size",-1847940346),YC=new $APP.M(null,"effects","effects",-282369292),NC=new $APP.M(null,"end-size","end-size",761612093),pD=new $APP.M(null,"echoScale","echoScale",1536204716);var SC=function SC(a){switch(arguments.length){case 1:return SC.g(arguments[0]);case 2:return SC.h(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 SC.B(arguments[0],arguments[1],2<c.length?new $APP.Jb(c.slice(2),0,null):null)}};SC.g=function(a){return a};SC.h=function(a,b){for(;;)if($APP.B(b)<$APP.B(a)){var c=a;a=b;b=c}else return $APP.Lc(function(d,e){return function(g,h){return $APP.K(e,h)?g:WC.h(g,h)}}(a,b),a,a)};
57
- SC.B=function(a,b,c){a=yC(function(d){return-$APP.B(d)},$APP.ad.B(c,b,$APP.kc([a])));return $APP.Lc(SC,$APP.w(a),$APP.Ob(a))};SC.K=function(a){var b=$APP.w(a),c=$APP.z(a);a=$APP.w(c);c=$APP.z(c);return this.B(b,a,c)};SC.P=2;var eD="text path preset animation speed direction effect font-size start-size end-size repeat echo-count echo-delay echo-opacity echo-scale".split(" ");
58
- $APP.mf([$APP.xj,jD,$APP.oi,$APP.xi,oD,pD,kD,HC,JC,mD,KC,nD,lD,$APP.ni,$APP.Rj],[new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"path"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"start-size"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"animation"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"speed"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"echo-count"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"echo-scale"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"echo-opacity"],null),new $APP.R(null,
59
- 2,[$APP.Z,$APP.Y,$APP.nj,"preset"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"repeat"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"font-size"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"effect"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"echo-delay"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"end-size"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"direction"],null),new $APP.R(null,2,[$APP.Z,$APP.Y,$APP.nj,"text"],null)]);
60
- var PC=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),QC=new $APP.S(null,new $APP.R(null,4,["none",null,"scroll",null,"bounce",null,"oscillate",null],null),null),RC=new $APP.S(null,new $APP.R(null,2,["reverse",null,"normal",null],null),null),TC=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],
61
- null),null),VC=new $APP.R(null,7,["wave",new $APP.R(null,2,[$APP.ek,"M0,100 C100,20 200,180 300,100 C400,20 500,180 600,100 C700,20 800,180 800,100",UC,"0 0 800 200"],null),"circle",new $APP.R(null,2,[$APP.ek,"M125,10 A115,115 0 1,1 124.99,10",UC,"0 0 250 250"],null),"arc",new $APP.R(null,2,[$APP.ek,"M50,350 Q400,10 750,350",UC,"0 0 800 400"],null),"infinity",new $APP.R(null,2,[$APP.ek,"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",UC,"0 0 400 400"],
62
- null),"spiral",new $APP.R(null,2,[$APP.ek,"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",UC,"0 0 500 500"],null),"sine",new $APP.R(null,2,[$APP.ek,"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",UC,"0 0 800 200"],null),"line",new $APP.R(null,2,[$APP.ek,"M0,50 L800,50",UC,"0 0 800 100"],null)],null);$APP.ja("baredom.exports.x_kinetic_typography.init",gD);export const init=gD;
2
+ var zF=function(a,b){if(a!=null&&a.qa!=null)a=a.qa(a,b);else{var c=zF[$APP.ea(a==null?null:a)];if(c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else if(c=zF._,c!=null)a=c.i?c.i(a,b):c.call(null,a,b);else throw $APP.qa("IDrop.-drop",a);}return a},AF=function(a,b){a.sort(b||$APP.ma)},CF=function(a){var b=BF();const c=Array(a.length);for(let e=0;e<a.length;e++)c[e]={index:e,value:a[e]};const d=b||$APP.ma;AF(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},
3
+ BF=function(){return $APP.D.i($APP.Tc,$APP.Tc)?$APP.Tc:function(a,b){var c=$APP.Tc.i?$APP.Tc.i(a,b):$APP.Tc.call(null,a,b);return typeof c==="number"?c:$APP.r(c)?-1:$APP.r($APP.Tc.i?$APP.Tc.i(b,a):$APP.Tc.call(null,b,a))?1:0}},DF=function(a){if(a!=null&&(a.F&262144||$APP.Ob===a.zc)){var b=a.qa(null,1);return $APP.r(b)?b:$APP.Yb}return new $APP.ud(null,function(){a:{var c=1;for(var d=a;;)if(d=$APP.u(d),c>0&&d)--c,d=$APP.Zb(d);else{c=d;break a}c=void 0}return c},null)},EF=function(a){this.ob=a;this.B=
4
+ null;this.s=2153775104;this.F=2048},FF=function(a){return new EF(a.toLowerCase())},GF=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 FF([a(),a(),"-",a(),"-",b,"-",c,"-",a(),a(),a()].join(""))},HF=function(a){return typeof a===
5
+ "string"&&$APP.O("",a.trim())?a.trim():null},IF=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},JF=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},KF=function(a){var b=$APP.l(a,"__xKineticTypographyAnimate");$APP.r(b)&&(b.remove(),a.__xKineticTypographyAnimate=null)},LF=function(a,b,c,d){var e=IF("animate");c=""+$APP.S.g(c)+"s";b=$APP.D.i(b,"reverse")?"reverse":"normal";e.setAttribute("attributeName","startOffset");e.setAttribute("repeatCount",
6
+ "indefinite");e.setAttribute("dur",c);d>0&&e.setAttribute("begin",""+$APP.S.g(d)+"s");switch(a){case "scroll":e.setAttribute("from",$APP.D.i(b,"reverse")?"100%":"0%");e.setAttribute("to",$APP.D.i(b,"reverse")?"0%":"100%");break;case "bounce":e.setAttribute("values",$APP.D.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.D.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},MF=function(a){var b=$APP.l(a,"__xKineticTypographyEchoEls");if($APP.r(b)){for(var c=b.length,d=0;;)if(d<c)b[d].textEl.remove(),d+=1;else break;a.__xKineticTypographyEchoEls=[]}},hG=function(a){var b=$APP.Q([$APP.ak,NF,$APP.Oi,OF,$APP.Yi,PF,QF,RF,SF,TF,UF,VF,$APP.Ni,WF,$APP.Gk],[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.N(b),d=$APP.G(c,SF),e=$APP.G(c,TF),g=$APP.G(c,UF),h=$APP.G(c,VF),k=$APP.G(c,$APP.Ni),m=$APP.G(c,WF),p=$APP.G(c,$APP.Gk),q=$APP.G(c,$APP.ak),w=$APP.G(c,NF),x=$APP.G(c,$APP.Oi),y=$APP.G(c,OF),A=$APP.G(c,$APP.Yi),C=$APP.G(c,
9
+ PF),E=$APP.G(c,QF),H=$APP.G(c,RF),F=typeof p==="string"?p:"",K=HF(q),X=typeof C==="string"?C.trim().toLowerCase():null;var da=$APP.J(XF,X)?X:"wave";var sa=$APP.D.i(da,"crawl"),Ga=typeof x==="string"?x.trim().toLowerCase():null;var Na=$APP.J(YF,Ga)?Ga:"scroll";var Xa=typeof k==="string"?k.trim().toLowerCase():null;var Ya=$APP.J(ZF,Xa)?Xa:"normal";if(typeof A==="string"){var ib=parseFloat(A.trim());var Lb=typeof ib==="number"&&$APP.t(isNaN(ib))&&ib>0?ib:1}else Lb=1;if(typeof H==="string"){var ab=parseInt(H.trim(),
10
+ 10);var gc=typeof ab==="number"&&$APP.t(isNaN(ab))&&ab>0?ab:1}else gc=1;if(typeof d==="string"){var Tb=$APP.dg(d.toLowerCase().trim().split(/\s+/));var Wc=$APP.$l.i(Tb,$F)}else Wc=$APP.Xf;var Fe=HF(E),vb=HF(h);var kd=$APP.D.i(da,"crawl")?null:K!=null?new $APP.P(null,2,[$APP.Uk,K,aG,"0 0 800 200"],null):$APP.G(bG,da);var Br=$APP.r($APP.r(Fe)?$APP.r(vb)?!sa:vb:Fe)?$APP.od.i(Wc,"size-gradient"):Wc,Cr=$APP.J(Br,"size-gradient")?$APP.Xg.i(Br,"size-pulse"):Br,yT=$APP.J(Cr,"color-wave")?$APP.Xg.i(Cr,"color-shift"):
11
+ Cr;if(typeof w==="string"){var ck=parseFloat(w.trim());var JE=typeof ck==="number"&&$APP.t(isNaN(ck))&&ck>0&&ck<=1?ck:.85}else JE=.85;var zT=$APP.Uk.g(kd),AT=HF(y),BT=aG.g(kd),CT=10/$APP.Yg.i(Lb,.01);if(sa)var Dr=0;else if(typeof g==="string"){var dk=parseInt(g.trim(),10);Dr=typeof dk==="number"&&$APP.t(isNaN(dk))&&dk>=0&&dk<=5?dk:0}else Dr=0;if(typeof e==="string"){var un=parseFloat(e.trim());var KE=typeof un==="number"&&$APP.t(isNaN(un))&&un>0?un:.3}else KE=.3;if(typeof m==="string"){var ek=parseFloat(m.trim());
12
+ var LE=typeof ek==="number"&&$APP.t(isNaN(ek))&&ek>0&&ek<=1?ek:.5}else LE=.5;var ET=$APP.Q([NF,$APP.ij,$APP.Oi,OF,$APP.Yi,aG,PF,cG,QF,dG,eG,RF,fG,TF,UF,VF,$APP.Ni,WF,$APP.Gk],[JE,zT,Na,AT,Lb,BT,da,sa,Fe,yT,CT,gc,K!=null,KE,Dr,vb,Ya,LE,F]);var $b=$APP.N(ET),PE=$APP.G($b,TF),QE=$APP.G($b,UF),Er=$APP.G($b,VF),Fr=$APP.G($b,$APP.Ni),FT=$APP.G($b,WF),$f=$APP.G($b,$APP.Gk),GT=$APP.G($b,NF),vn=$APP.G($b,$APP.ij),ag=$APP.G($b,$APP.Oi),RE=$APP.G($b,OF);$APP.G($b,$APP.Yi);var SE=$APP.G($b,aG);$APP.G($b,PF);
13
+ var HT=$APP.G($b,cG),fk=$APP.G($b,QF),ri=$APP.G($b,dG),Lg=$APP.G($b,eG),Gr=$APP.G($b,RF),TE=$APP.l(a,"__xKineticTypographySvg"),IT=$APP.l(a,"__xKineticTypographyPath"),UE=$APP.l(a,"__xKineticTypographyText"),gk=$APP.l(a,"__xKineticTypographyTextPath"),JT=$APP.l(a,"__xKineticTypographySrOnly"),KT=$APP.l(a,"__xKineticTypographyCrawlText"),Hr=a.shadowRoot.querySelector("[part\x3dpath-line]");if($APP.r(HT))a.setAttribute("data-preset","crawl"),KT.textContent=$f,KF(a),MF(a),$APP.O(ag,"none")?a.setAttribute("data-animation",
14
+ ag):a.removeAttribute("data-animation"),$APP.D.i(Fr,"reverse")?a.setAttribute("data-direction","reverse"):a.removeAttribute("data-direction"),$APP.J(ri,"color-shift")?a.setAttribute("data-effect","color-shift"):a.removeAttribute("data-effect");else{a.removeAttribute("data-preset");a.removeAttribute("data-direction");$APP.r(SE)&&TE.setAttribute("viewBox",SE);$APP.r(vn)&&IT.setAttribute("d",vn);$APP.r($APP.r(Hr)?vn:Hr)&&Hr.setAttribute("d",vn);var Ir=Gr<=1?$f:$APP.Md($APP.S,DF(gG.i(new $APP.be(null,
15
+ -1," · ",null),Gr>0?new $APP.be(null,Gr,$f,null):$APP.Yb))),VE=$APP.J(ri,"size-gradient"),LT=$APP.J(ri,"color-wave"),WE=VE?$APP.r(fk)?$APP.r(Er)?$APP.O($f,""):Er:fk:VE;var MT=$APP.r(WE)?WE:LT&&$APP.O($f,"");if($APP.r(MT)){gk.textContent="";var Jr=$APP.Be(Ir),Mg=$APP.B(Jr),Ng=$APP.J(ri,"size-gradient"),Kr=$APP.J(ri,"color-wave"),bg=Ng?parseFloat(fk):null,wn=Ng?parseFloat(Er):null;if(Ng){var XE=$APP.r(fk)?fk:"px",NT=/[a-z%]+/;if(typeof XE==="string"){var xn=NT.exec(XE);var YE=xn==null?null:xn.length===
16
+ 1?xn[0]:$APP.Be(xn)}else throw new TypeError("re-find must match against a string.");var ZE=$APP.r(YE)?YE:"px"}else ZE=null;for(var $E=ZE,aF=Kr?Mg>0?Lg/Mg:0:null,Lr=$APP.u($APP.kg(0,Mg)),Mr=null,Nr=0,yn=0;;)if(yn<Nr){var Og=Mr.G(null,yn),zn=IF("tspan");$APP.r(Ng?$APP.r(bg)?wn:bg:Ng)&&zn.setAttribute("font-size",""+$APP.S.g(bg+(Mg>1?Og/(Mg-1):0)*(wn-bg))+$APP.S.g($E));Kr&&(zn.style.cssText="animation:xkt-color-wave "+$APP.S.g(Lg)+"s ease-in-out infinite;animation-delay:"+$APP.S.g(Og*aF)+"s;");zn.textContent=
17
+ $APP.rc(Jr,Og);gk.appendChild(zn);yn+=1}else{var bF=$APP.u(Lr);if(bF){var hk=bF;if($APP.Pc(hk)){var cF=$APP.yb(hk),OT=$APP.zb(hk),PT=cF,QT=$APP.B(cF);Lr=OT;Mr=PT;Nr=QT}else{Og=$APP.v(hk);var An=IF("tspan");$APP.r(Ng?$APP.r(bg)?wn:bg:Ng)&&An.setAttribute("font-size",""+$APP.S.g(bg+(Mg>1?Og/(Mg-1):0)*(wn-bg))+$APP.S.g($E));Kr&&(An.style.cssText="animation:xkt-color-wave "+$APP.S.g(Lg)+"s ease-in-out infinite;animation-delay:"+$APP.S.g(Og*aF)+"s;");An.textContent=$APP.rc(Jr,Og);gk.appendChild(An);Lr=
18
+ $APP.z(hk);Mr=null;Nr=0}yn=0}else break}}else gk.textContent=Ir;MF(a);if(QE>0){for(var dF=$APP.l(a,"__xKineticTypographyPathId"),eF=[],RT=$APP.O(ag,"none")&&$APP.t(JF()),ST=Lg>0?PE/Lg*100:5,Or=0;;)if(Or<QE){var Bn=Or+1,si=document.createElementNS("http://www.w3.org/2000/svg","text"),ti=document.createElementNS("http://www.w3.org/2000/svg","textPath"),TT=Math.pow(FT,Bn),UT=Math.pow(GT,Bn),VT="-"+$APP.S.g(ST*Bn)+"%";si.setAttribute("part","text-echo");si.setAttribute("opacity",""+$APP.S.g(TT));si.setAttribute("font-size",
19
+ "calc(var(--x-kinetic-typography-font-size) * "+$APP.S.g(UT)+")");ti.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+$APP.S.g(dF));ti.setAttribute("href","#"+$APP.S.g(dF));ti.setAttribute("startOffset",VT);ti.textContent=Ir;if(RT){var WT=LF(ag,Fr,Lg,PE*Bn);ti.appendChild(WT)}si.appendChild(ti);TE.appendChild(si);eF.push({textEl:si});Or+=1}else break;a.__xKineticTypographyEchoEls=eF}$APP.r(RE)?UE.style.setProperty("font-size",RE):UE.style.removeProperty("font-size");KF(a);if($APP.O(ag,"none")&&
20
+ $APP.t(JF())){var fF=LF(ag,Fr,Lg,0);gk.appendChild(fF);a.__xKineticTypographyAnimate=fF}var ik=$APP.Xg.C(ri,"size-gradient",$APP.wc(["color-wave"]));if($APP.u(ik)){var XT=a.setAttribute;if($APP.u(ik)){var gF=$APP.Cd.g?$APP.Cd.g(ik):$APP.Cd.call(null,ik);CF(gF);var hF=$APP.Hc($APP.u(gF),$APP.Ic(ik))}else hF=$APP.Yb;XT.call(a,"data-effect",$APP.Jg(hF))}else a.removeAttribute("data-effect");$APP.O(ag,"none")?a.setAttribute("data-animation",ag):a.removeAttribute("data-animation")}JT.textContent=$f;$APP.D.i($f,
21
+ "")?(a.setAttribute("role","presentation"),a.setAttribute("aria-hidden","true")):(a.setAttribute("role","img"),a.setAttribute("aria-label",$f))},iG=function(a,b,c,d){Object.defineProperty(a,c,{get:function(){var e=this.getAttribute(b);return $APP.r(e)?e:d},set:function(e){return typeof e==="string"&&$APP.O("",e)?this.setAttribute(b,e):this.removeAttribute(b)},enumerable:!0,configurable:!0})},jG=function(a){iG(a,"text","text","");iG(a,"path","path",null);iG(a,"preset","preset","wave");iG(a,"animation",
22
+ "animation","scroll");iG(a,"speed","speed",""+$APP.S.g(1));iG(a,"direction","direction","normal");iG(a,"effect","effect","none");iG(a,"font-size","fontSize",null);iG(a,"start-size","startSize",null);iG(a,"end-size","endSize",null);iG(a,"repeat","repeat",""+$APP.S.g(1));iG(a,"echo-count","echoCount",""+$APP.S.g(0));iG(a,"echo-delay","echoDelay",""+$APP.S.g(.3));iG(a,"echo-opacity","echoOpacity",""+$APP.S.g(.5));iG(a,"echo-scale","echoScale",""+$APP.S.g(.85))},lG=function(){var a=class extends HTMLElement{};
23
+ a.observedAttributes=kG;a.prototype.connectedCallback=function(){if(!$APP.r($APP.l(this,"__xKineticTypographyInit"))){var b=this.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=IF("svg"),g=IF("defs"),h=IF("path"),k=IF("path"),m=IF("text"),p=IF("textPath"),q=document.createElement("span"),w=document.createElement("div"),x=document.createElement("div"),y="xkt-"+$APP.S.g(GF());c.textContent=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-kinetic-typography-color: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:currentColor;--x-kinetic-typography-color-shift-to:#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: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
+ d.setAttribute("part","container");e.setAttribute("part","svg");e.setAttribute("aria-hidden","true");e.setAttribute("focusable","false");h.setAttribute("id",y);g.appendChild(h);k.setAttribute("part","path-line");e.appendChild(k);m.setAttribute("part","text");p.setAttribute("href","#"+$APP.S.g(y));m.appendChild(p);e.appendChild(g);e.appendChild(m);w.setAttribute("part","crawl-viewport");x.setAttribute("part","crawl-text");w.appendChild(x);q.classList.add("sr-only");q.setAttribute("part","sr-only");
25
+ d.appendChild(e);d.appendChild(w);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=w;this.__xKineticTypographyCrawlText=x;this.__xKineticTypographyEchoEls=[];this.__xKineticTypographyInit=!0}hG(this);return null};a.prototype.disconnectedCallback=
26
+ function(){KF(this);$APP.r($APP.l(this,"__xKineticTypographySvg"))&&MF(this);return null};a.prototype.attributeChangedCallback=function(b,c,d){$APP.O(c,d)&&$APP.r($APP.l(this,"__xKineticTypographyInit"))&&hG(this);return null};jG(a.prototype);return a},mG=function(){$APP.r(customElements.get("x-kinetic-typography"))||customElements.define("x-kinetic-typography",lG());return null};
27
+ $APP.Vb.prototype.qa=$APP.ca(6,function(a,b){return b>0?this.A+b<this.j.length?new $APP.Vb(this.j,this.A+b,null):null:this});$APP.be.prototype.qa=$APP.ca(5,function(a,b){if(this.count===-1)return this;a=this.count-b;return a>0?new $APP.be(null,a,this.m,null):null});$APP.ve.prototype.qa=$APP.ca(4,function(a,b){if(b<this.l){a=b%32;var c=$APP.qe(this,b);b-=a;return $APP.De?$APP.De(this,c,b,a):$APP.Ge.call(null,this,c,b,a)}return null});
28
+ $APP.Ce.prototype.qa=$APP.ca(3,function(a,b){a=this.ja+b;if(a<this.node.length)return $APP.De?$APP.De(this.ka,this.node,this.A,a):$APP.Ge.call(null,this.ka,this.node,this.A,a);var c=this.A+a;if(c<$APP.xa(this.ka)){a=c%32;b=this.ka;var d=$APP.qe(this.ka,c);c-=a;return $APP.De?$APP.De(b,d,c,a):$APP.Ge.call(null,b,d,c,a)}return null});$APP.Ve.prototype.qa=$APP.ca(2,function(a,b){return b<this.O(null)?new $APP.Ve(this.j,this.A+2*b,null):null});
29
+ $APP.P.prototype.qa=$APP.ca(1,function(a,b){a=this.R(null);return a==null?null:zF(a,b)});$APP.hg.prototype.qa=$APP.ca(0,function(a,b){return b>0?b<this.l?new $APP.hg(null,this.start+this.step*b,this.end,this.step,this.l-b,null):null:this});
30
+ var gG=function gG(a){switch(arguments.length){case 0:return gG.H();case 1:return gG.g(arguments[0]);case 2:return gG.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 gG.C(arguments[0],arguments[1],2<c.length?new $APP.Vb(c.slice(2),0,null):null)}};gG.H=function(){return $APP.Yb};gG.g=function(a){return new $APP.ud(null,function(){return a},null)};
31
+ gG.i=function(a,b){return new $APP.ud(null,function(){var c=$APP.u(a),d=$APP.u(b);return c&&d?$APP.rd($APP.v(c),$APP.rd($APP.v(d),gG.i($APP.Zb(c),$APP.Zb(d)))):null},null)};gG.C=function(a,b,c){return new $APP.ud(null,function(){var d=$APP.de.i($APP.u,$APP.od.C(c,b,$APP.wc([a])));return $APP.Vd($APP.fd,d)?$APP.ce.i($APP.de.i($APP.v,d),$APP.Md(gG,$APP.de.i($APP.Zb,d))):null},null)};gG.J=function(a){var b=$APP.v(a),c=$APP.z(a);a=$APP.v(c);c=$APP.z(c);return this.C(b,a,c)};gG.N=2;$APP.f=EF.prototype;
32
+ $APP.f.rc=$APP.Ob;$APP.f.toString=function(){return this.ob};$APP.f.S=function(a,b){return(a=b!=null?$APP.Ob===b.rc?!0:!1:!1)?this.ob===b.ob:a};$APP.f.P=function(a,b){return $APP.nb(b,['#uuid "',$APP.ra(this.ob),'"'].join(""))};$APP.f.T=function(){this.B==null&&(this.B=$APP.Pb(this.ob));return this.B};$APP.f.Ia=function(a,b){if(b instanceof EF)return $APP.ma(this.ob,b.ob);throw Error(["Cannot compare ",$APP.ra(this)," to ",$APP.ra(b)].join(""));};
33
+ var WF=new $APP.M(null,"echo-opacity","echo-opacity",-1476699970),QF=new $APP.M(null,"start-size","start-size",-1818812493),cG=new $APP.M(null,"crawl?","crawl?",829918610),NF=new $APP.M(null,"echo-scale","echo-scale",1307207648),TF=new $APP.M(null,"echo-delay","echo-delay",845689658),UF=new $APP.M(null,"echo-count","echo-count",1053271067),aG=new $APP.M(null,"view-box","view-box",-1792199155),PF=new $APP.M(null,"preset","preset",777387345),RF=new $APP.M(null,"repeat","repeat",832692087),fG=new $APP.M(null,
34
+ "custom-path?","custom-path?",-1532616839),SF=new $APP.M(null,"effect","effect",347343289),eG=new $APP.M(null,"duration-s","duration-s",-1976899627),OF=new $APP.M(null,"font-size","font-size",-1847940346),dG=new $APP.M(null,"effects","effects",-282369292),VF=new $APP.M(null,"end-size","end-size",761612093);var kG="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.Q([$APP.ak,new $APP.M(null,"startSize","startSize",-1750632892),$APP.Oi,$APP.Yi,new $APP.M(null,"echoCount","echoCount",-1194377974),new $APP.M(null,"echoScale","echoScale",1536204716),new $APP.M(null,"echoOpacity","echoOpacity",-1325258611),PF,RF,new $APP.M(null,"fontSize","fontSize",919623033),SF,new $APP.M(null,"echoDelay","echoDelay",-1807132900),new $APP.M(null,"endSize","endSize",674490141),$APP.Ni,$APP.Gk],[new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"path"],null),new $APP.P(null,2,[$APP.Z,
36
+ $APP.Y,$APP.Oj,"start-size"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"animation"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"speed"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"echo-count"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"echo-scale"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"echo-opacity"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"preset"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"repeat"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"font-size"],
37
+ null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"effect"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"echo-delay"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"end-size"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"direction"],null),new $APP.P(null,2,[$APP.Z,$APP.Y,$APP.Oj,"text"],null)]);
38
+ var XF=new $APP.R(null,new $APP.P(null,8,["spiral",null,"infinity",null,"arc",null,"line",null,"crawl",null,"wave",null,"circle",null,"sine",null],null),null),YF=new $APP.R(null,new $APP.P(null,4,["none",null,"scroll",null,"bounce",null,"oscillate",null],null),null),ZF=new $APP.R(null,new $APP.P(null,2,["reverse",null,"normal",null],null),null),$F=new $APP.R(null,new $APP.P(null,6,["spacing-breathe",null,"color-shift",null,"opacity-wave",null,"color-wave",null,"size-gradient",null,"size-pulse",null],
39
+ null),null),bG=new $APP.P(null,7,["wave",new $APP.P(null,2,[$APP.Uk,"M0,100 C100,20 200,180 300,100 C400,20 500,180 600,100 C700,20 800,180 800,100",aG,"0 0 800 200"],null),"circle",new $APP.P(null,2,[$APP.Uk,"M125,10 A115,115 0 1,1 124.99,10",aG,"0 0 250 250"],null),"arc",new $APP.P(null,2,[$APP.Uk,"M50,350 Q400,10 750,350",aG,"0 0 800 400"],null),"infinity",new $APP.P(null,2,[$APP.Uk,"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",aG,"0 0 400 400"],
40
+ null),"spiral",new $APP.P(null,2,[$APP.Uk,"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",aG,"0 0 500 500"],null),"sine",new $APP.P(null,2,[$APP.Uk,"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",aG,"0 0 800 200"],null),"line",new $APP.P(null,2,[$APP.Uk,"M0,50 L800,50",aG,"0 0 800 100"],null)],null);$APP.ka("baredom.exports.x_kinetic_typography.init",mG);export const init=mG;
@@ -0,0 +1,40 @@
1
+ import { $APP, shadow$provide } from "./base.js";
2
+ var Go=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.J(Fo,a)?a:"bottom"):"bottom"},Ho=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.r(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},Io=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"},Jo=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"#6366f1"},Ko=function(a,b){return a+(b-a)*.1},Oo=function(a,b,c,d,e,g,h){a=c-a;b=d-b;
3
+ d=Math.sqrt(a*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.P(null,4,[Lo,e,$APP.xi,1+c*(h-1),Mo,a*d*g*.3,No,b*d*g*.3],null)},Ro=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.P(null,3,[Po,0,Qo,-a,$APP.xi,c],null);case "top":return new $APP.P(null,3,[Po,0,Qo,a,$APP.xi,c],null);case "left":return new $APP.P(null,3,[Po,a,Qo,0,$APP.xi,c],null);case "right":return new $APP.P(null,3,[Po,-a,Qo,0,$APP.xi,c],null);default:return new $APP.P(null,
4
+ 3,[Po,0,Qo,-a,$APP.xi,c],null)}},To=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.P(null,3,[So,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;default:return-e}}(),$APP.cl,5*d*a*b,$APP.xi,1+.12*d*a],null)},Zo=function(a){var b=$APP.l(a,"__xLiquidDockModel"),c=Uo[0];Uo[0]=c+1;var d="goo-"+$APP.S.g(c),e=a.attachShadow({mode:"open"}),g=document.createElement("style"),h=document.createElement("nav"),k=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=Vo;h.setAttribute("part","dock");h.setAttribute("role","navigation");h.setAttribute("aria-label","Navigation dock");k.setAttribute("part","filter-svg");k.setAttribute("aria-hidden","true");k.setAttribute("role","presentation");m.setAttribute("part","liquid-layer");m.style.filter="url(#"+$APP.S.g(d)+")";p.setAttribute("part","items");p.appendChild(q);var w=$APP.N(b);
6
+ b=$APP.G(w,$APP.Jh);c=$APP.G(w,$APP.Wk);w=$APP.G(w,Wo);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"),C=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),E=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),H=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");y.setAttribute("id",
7
+ 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.S.g(b));A.setAttribute("result","blur");C.setAttribute("in","blur");C.setAttribute("type","matrix");C.setAttribute("values",c);C.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.S.g(w));H.setAttribute("xChannelSelector","R");H.setAttribute("yChannelSelector","G");y.appendChild(A);y.appendChild(C);y.appendChild(E);y.appendChild(H);x.appendChild(y);k.appendChild(x);d=new $APP.P(null,5,[$APP.qk,y,$APP.Ii,A,$APP.Kl,C,$APP.Sk,E,$APP.dj,H],null);h.appendChild(k);h.appendChild(m);h.appendChild(p);e.appendChild(g);e.appendChild(h);e=$APP.Vf($APP.wc([d,new $APP.P(null,6,[$APP.bi,e,$APP.Xh,
9
+ h,$APP.xj,k,Xo,m,Yo,p,$APP.Fi,q],null)]));a.__xLiquidDockRefs=e},jp=function(a){a=$APP.Q([$APP.nj,$APP.pl,$o,ap,$APP.Ah,$APP.Vl,bp,$APP.pi,cp,$APP.Ai,dp],[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.N(a);a=$APP.G(b,$APP.Ai);
10
+ var c=$APP.G(b,dp),d=$APP.G(b,$APP.nj),e=$APP.G(b,$APP.pl),g=$APP.G(b,$o),h=$APP.G(b,ap),k=$APP.G(b,$APP.Ah),m=$APP.G(b,$APP.Vl),p=$APP.G(b,bp),q=$APP.G(b,$APP.pi);b=$APP.G(b,cp);d=Go(d);return $APP.Q([$APP.fj,ep,fp,$APP.Wk,Wo,$APP.Jh,gp,$APP.oj,hp,$APP.Rl,ip,$APP.W],[Jo(m),Ho(h,.03,.005,.15),Ho(b,1,0,2),Io(k),Ho(p,8,0,40),Ho(e,10,2,30),$APP.D.i(d,"left")||$APP.D.i(d,"right"),Ho(q,8,0,40),Ho(c,150,40,400),d,Ho(g,.6,0,2),a!=null])},kp=function(a){a=$APP.Fi.g($APP.l(a,"__xLiquidDockRefs"));return $APP.r(a)?
11
+ a.assignedElements():null},lp=function(a){var b=$APP.N($APP.l(a,"__xLiquidDockRefs")),c=$APP.G(b,Xo);b=function(){var q=kp(a);return $APP.r(q)?q:[]}().length*2;for(var d=function(){var q=$APP.l(a,"__xLiquidDockBlobs");return $APP.r(q)?q:[]}(),e=function(){var q=$APP.l(a,"__xLiquidDockBlobSt");return $APP.r(q)?q:[]}(),g=d.length,h=g;;)if(h<b){var k=document.createElement("div"),m=$APP.Xd(h);k.className=m?"blob blob-rest":"blob blob-phantom";var p=m?52:44;k.style.width=""+$APP.S.g(p)+"px";k.style.height=
12
+ ""+$APP.S.g(p)+"px";c.appendChild(k);d.push(k);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.r(g.parentNode)&&g.parentNode.removeChild(g),--c;else break;a.__xLiquidDockBlobs=d;a.__xLiquidDockBlobSt=e},mp=function(a){var b=$APP.N($APP.l(a,"__xLiquidDockRefs")),c=$APP.G(b,$APP.Xh);b=kp(a);b=$APP.r(b)?b:[];var d=b.length,e=[];if($APP.r($APP.r(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},np=function(a,b){var c=$APP.N(b);b=$APP.G(c,$APP.fj);c=$APP.G(c,$APP.oj);a.style.setProperty("--x-liquid-dock-color",b);a.style.setProperty("--x-liquid-dock-gap",""+$APP.S.g(c)+"px")},pp=function(a){$APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.r($APP.W.g($APP.l(a,"__xLiquidDockModel")))||(a.__xLiquidDockSeed=0,$APP.n(a,"__xLiquidDockRaf",
14
+ requestAnimationFrame(function(){return op(a)})));return null},qp=function(a){var b=$APP.l(a,"__xLiquidDockRaf");$APP.r(b)&&(cancelAnimationFrame(b),a.__xLiquidDockRaf=null)},rp=function(a){a=kp(a);if($APP.r(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform="",c+=1;else break},sp=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.nh(new $APP.P(null,3,["index",b,"item",c,"source",d],null))});a.dispatchEvent(b)},
15
+ tp=function(a){lp(a);var b=kp(a);if($APP.r(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 mp(a)});return null},xp=function(a){function b(){return tp(a)}function c(k){var m=$APP.l(a,"__xLiquidDockModel");if(!$APP.r($APP.W.g(m))){var p=kp(a),q=$APP.r(p)?p.length:null,w=k.key,x=gp.g(m);m=$APP.r(x)?"ArrowUp":"ArrowLeft";x=$APP.r(x)?"ArrowDown":"ArrowRight";var y=$APP.l(a,"__xLiquidDockFocus");
16
+ y=$APP.r(y)?y:-1;$APP.r($APP.r(q)?q>0:q)&&($APP.D.i(w,m)?(k.preventDefault(),k=y<1?q-1:y-1,a.__xLiquidDockFocus=k,p[k].focus()):$APP.D.i(w,x)?(k.preventDefault(),k=y>=q-1?0:y+1,a.__xLiquidDockFocus=k,p[k].focus()):($APP.D.i(w,"Enter")||$APP.D.i(w," "))&&y>=0&&(k.preventDefault(),sp(a,y,p[y],"keyboard")))}return null}function d(k){if(!$APP.r($APP.W.g($APP.l(a,"__xLiquidDockModel")))){var m=kp(a);if($APP.r(m)){a:{k=k.target;for(var p=m.length,q=0;;)if(q<p){if($APP.D.i(k,m[q])){k=q;break a}q+=1}else{k=
17
+ null;break a}k=void 0}$APP.r(k)&&sp(a,k,m[k],"pointer")}}return null}function e(){$APP.l(a,"__xLiquidDockMouse").active=!1;return null}function g(k){var m=$APP.N($APP.l(a,"__xLiquidDockRefs"));m=$APP.G(m,$APP.Xh);if($APP.r(m)){m=m.getBoundingClientRect();var p=$APP.l(a,"__xLiquidDockMouse");p.x=k.clientX-m.left;p.y=k.clientY-m.top;p.active=!0}return null}var h=$APP.N($APP.l(a,"__xLiquidDockRefs"));h=$APP.G(h,$APP.Fi);a.addEventListener("pointermove",g);a.addEventListener("pointerleave",e);a.addEventListener("click",
18
+ d);a.addEventListener("keydown",c);$APP.r(h)&&h.addEventListener("slotchange",b);$APP.n(a,"__xLiquidDockHdl",new $APP.P(null,5,[up,g,vp,e,$APP.Pj,d,wp,c,$APP.Fi,b],null))},yp=function(a){var b=$APP.l(a,"__xLiquidDockHdl");if($APP.r(b)){a.removeEventListener("pointermove",up.g(b));a.removeEventListener("pointerleave",vp.g(b));a.removeEventListener("click",$APP.Pj.g(b));a.removeEventListener("keydown",wp.g(b));var c=$APP.l(a,"__xLiquidDockRefs");$APP.r(c)&&(c=$APP.N(c),c=$APP.G(c,$APP.Fi),$APP.r(c)&&
19
+ c.removeEventListener("slotchange",$APP.Fi.g(b)));a.__xLiquidDockHdl=null}},zp=function(a){Object.defineProperty(a,"position",{get:function(){return Go(this.getAttribute("position"))},set:function(b){return b==null?this.removeAttribute("position"):this.setAttribute("position",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"gap",{get:function(){var b=this.getAttribute("gap");return Ho(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("gap"):this.setAttribute("gap",
20
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return Ho(b,10,2,30)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"threshold",{get:function(){return Io(this.getAttribute("threshold"))},set:function(b){return b==null?this.removeAttribute("threshold"):this.setAttribute("threshold",""+$APP.S.g(b))},enumerable:!0,
21
+ configurable:!0});Object.defineProperty(a,"rippleScale",{get:function(){var b=this.getAttribute("ripple-scale");return Ho(b,8,0,40)},set:function(b){return b==null?this.removeAttribute("ripple-scale"):this.setAttribute("ripple-scale",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"rippleSpeed",{get:function(){var b=this.getAttribute("ripple-speed");return Ho(b,.03,.005,.15)},set:function(b){return b==null?this.removeAttribute("ripple-speed"):this.setAttribute("ripple-speed",
22
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color",{get:function(){return Jo(this.getAttribute("color"))},set:function(b){return b==null?this.removeAttribute("color"):this.setAttribute("color",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetRadius",{get:function(){var b=this.getAttribute("magnet-radius");return Ho(b,150,40,400)},set:function(b){return b==null?this.removeAttribute("magnet-radius"):this.setAttribute("magnet-radius",""+$APP.S.g(b))},
23
+ enumerable:!0,configurable:!0});Object.defineProperty(a,"magnetStrength",{get:function(){var b=this.getAttribute("magnet-strength");return Ho(b,.6,0,2)},set:function(b){return b==null?this.removeAttribute("magnet-strength"):this.setAttribute("magnet-strength",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"bobIntensity",{get:function(){var b=this.getAttribute("bob-intensity");return Ho(b,1,0,2)},set:function(b){return b==null?this.removeAttribute("bob-intensity"):this.setAttribute("bob-intensity",
24
+ ""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0})},Bp=function(){var a=class extends HTMLElement{};a.observedAttributes=Ap;a.prototype.connectedCallback=function(){var b=this,c=jp(b);b.__xLiquidDockModel=c;$APP.n(b,"__xLiquidDockMouse",{x:0,y:0,active:!1});$APP.n(b,"__xLiquidDockBlobs",
25
+ []);$APP.n(b,"__xLiquidDockBlobSt",[]);$APP.n(b,"__xLiquidDockItemsR",[]);b.__xLiquidDockFocus=-1;b.__xLiquidDockBurst=0;$APP.r($APP.l(b,"__xLiquidDockRefs"))||Zo(b);np(b,c);$APP.r(b.hasAttribute("role"))||b.setAttribute("role","navigation");yp(b);xp(b);c=$APP.l(b,"__xLiquidDockRO");$APP.r(c)&&c.disconnect();c=new ResizeObserver(function(){mp(b);return null});b.__xLiquidDockRO=c;c.observe(b);requestAnimationFrame(function(){lp(b);mp(b);return pp(b)});return null};a.prototype.disconnectedCallback=
26
+ function(){qp(this);yp(this);rp(this);var b=$APP.l(this,"__xLiquidDockRO");$APP.r(b)&&(b.disconnect(),this.__xLiquidDockRO=null);return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.O(c,d)&&(this.__xLiquidDockModel=b=jp(this),$APP.r($APP.l(this,"__xLiquidDockRefs")))){d=$APP.N(b);var e=$APP.G(d,$APP.Jh);c=$APP.G(d,$APP.Wk);d=$APP.G(d,Wo);var g=$APP.l(this,"__xLiquidDockRefs"),h=$APP.Ii.g(g);$APP.r(h)&&h.setAttribute("stdDeviation",""+$APP.S.g(e));e=$APP.Kl.g(g);$APP.r(e)&&e.setAttribute("values",
27
+ c);c=$APP.dj.g(g);$APP.r(c)&&c.setAttribute("scale",""+$APP.S.g(d));np(this,b);mp(this);$APP.r($APP.W.g(b))?(qp(this),rp(this)):$APP.r($APP.l(this,"__xLiquidDockRaf"))||pp(this)}return null};zp(a.prototype);return a},Cp=function(){$APP.r(customElements.get("x-liquid-dock"))||customElements.define("x-liquid-dock",Bp());return null},ep=new $APP.M(null,"ripple-speed","ripple-speed",229709223),Wo=new $APP.M(null,"ripple-scale","ripple-scale",-1874116111),dp=new $APP.M(null,"magnet-radius-raw","magnet-radius-raw",
28
+ 1386161852),Dp=new $APP.M(null,"bobIntensity","bobIntensity",-531647277),Yo=new $APP.M(null,"items-div","items-div",-555506089),Ep=new $APP.M(null,"magnetStrength","magnetStrength",331224709),Fp=new $APP.M(null,"rippleScale","rippleScale",-1633180735),hp=new $APP.M(null,"magnet-radius","magnet-radius",1447549494),Xo=new $APP.M(null,"liquid","liquid",1322031275),vp=new $APP.M(null,"leave","leave",1022579443),Lo=new $APP.M(null,"influence","influence",1453493017),gp=new $APP.M(null,"vertical?","vertical?",
29
+ -1522630444),cp=new $APP.M(null,"bob-intensity-raw","bob-intensity-raw",-669810474),wp=new $APP.M(null,"key","key",-1516042587),up=new $APP.M(null,"move","move",-2110884309),Qo=new $APP.M(null,"dy","dy",1719547243),Po=new $APP.M(null,"dx","dx",-381796732),$o=new $APP.M(null,"magnet-strength-raw","magnet-strength-raw",535053898),ap=new $APP.M(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),Gp=new $APP.M(null,"rippleSpeed","rippleSpeed",-1816718091),No=new $APP.M(null,"ty","ty",158290825),Mo=
30
+ new $APP.M(null,"tx","tx",466630418),fp=new $APP.M(null,"bob-intensity","bob-intensity",-981181657),So=new $APP.M(null,"lift","lift",903632035),Hp=new $APP.M(null,"magnetRadius","magnetRadius",1616130031),ip=new $APP.M(null,"magnet-strength","magnet-strength",-1089389895),bp=new $APP.M(null,"ripple-scale-raw","ripple-scale-raw",1254964336);var Ap="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.Sd(["x-liquid-dock-select",new $APP.P(null,4,[$APP.U,new $APP.P(null,3,[$APP.Eh,$APP.V,$APP.Dj,new $APP.Sb(null,"Element","Element",1498489072,null),$APP.yk,$APP.Y],null),$APP.xl,!0,$APP.Jl,!0,$APP.kl,!0],null)]);
31
+ $APP.Q([Fp,$APP.fj,Ep,$APP.gj,$APP.Wk,Hp,Dp,$APP.Jh,Gp,$APP.oj,$APP.Rl],[new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],
32
+ null)]);var Fo=new $APP.R(null,new $APP.P(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);var Uo=[0],Vo=":host{display:block;position:fixed;z-index:var("+$APP.S.g("--x-liquid-dock-z-index")+',50);pointer-events:auto;}: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
+ $APP.S.g("--x-liquid-dock-gap")+",8px);padding:var("+$APP.S.g("--x-liquid-dock-padding")+",8px);border-radius:var("+$APP.S.g("--x-liquid-dock-radius")+",20px);background:var("+$APP.S.g("--x-liquid-dock-bg")+",rgba(255,255,255,0.88));border:1px solid var("+$APP.S.g("--x-liquid-dock-border")+",rgba(148,163,184,0.22));box-shadow:var("+$APP.S.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
+ $APP.S.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.S.g("--x-liquid-dock-item-size")+",48px);height:var("+$APP.S.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
+ $APP.S.g("--x-liquid-dock-color")+",#6366f1) 12%,transparent);}::slotted(:focus-visible){outline:2px solid var("+$APP.S.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:0 14px 36px rgba(0,0,0,0.35);--x-liquid-dock-color:#818cf8;}}@media(prefers-reduced-motion:reduce){.blob{transition:none!important;}::slotted(*){transition:none!important;}}",op=function op(a){if($APP.r(a.isConnected)){var c=
36
+ $APP.l(a,"__xLiquidDockModel"),d=$APP.l(a,"__xLiquidDockMouse"),e=$APP.l(a,"__xLiquidDockBlobs"),g=$APP.l(a,"__xLiquidDockBlobSt"),h=$APP.l(a,"__xLiquidDockItemsR"),k=function(){var ab=kp(a);return $APP.r(ab)?ab:[]}(),m=$APP.Zg.i(h.length,k.length),p=$APP.l(d,"x"),q=$APP.l(d,"y"),w=$APP.l(d,"active"),x=hp.g(c),y=ip.g(c),A=fp.g(c),C=$APP.Rl.g(c),E=1+y*.8,H=function(){var ab=$APP.l(a,"__xLiquidDockSeed");return $APP.r(ab)?ab:0}(),F=Date.now();d=function(){var ab=$APP.l(a,"__xLiquidDockBurst");return $APP.r(ab)?
37
+ ab:0}();var K=F-d<300;if(K){F=(1-(F-d)/300)*20;var X=Wo.g(c),da=$APP.dj.g($APP.l(a,"__xLiquidDockRefs"));$APP.r(da)&&da.setAttribute("scale",""+$APP.S.g(X+F))}for(F=0;;)if(F<m){X=h[F];var sa=$APP.l(X,"cx"),Ga=$APP.l(X,"cy");da=F*2;var Na=da+1;if(Na<e.length){X=Lo.g($APP.r(w)?Oo(sa,Ga,p,q,x,y,E):new $APP.P(null,4,[Lo,0,$APP.xi,1,Mo,0,No,0],null));da=e[da];var Xa="translate("+$APP.S.g(sa-26)+"px,"+$APP.S.g(Ga-26)+"px)";da.style.transform=Xa;var Ya=Ro(X,C);da=g[Na];Xa=Po.g(Ya);var ib=Qo.g(Ya);Ya=$APP.xi.g(Ya);
38
+ Xa=Ko($APP.l(da,"cpDx"),Xa);ib=Ko($APP.l(da,"cpDy"),ib);Ya=Ko($APP.l(da,"cpScale"),Ya);da.cpDx=Xa;da.cpDy=ib;da.cpScale=Ya;Na=e[Na];Ga="translate("+$APP.S.g(sa-22+Xa)+"px,"+$APP.S.g(Ga-22+ib)+"px) scale("+$APP.S.g(Ya)+")";Na.style.transform=Ga;Na=To(X,$APP.r(w)?function(){var ab=p-sa;return ab>1?1:ab<-1?-1:0}():0,C,A);Xa=Ko($APP.l(da,"cLift"),So.g(Na));Ga=Ko($APP.l(da,"cRot"),$APP.cl.g(Na));Na=Ko($APP.l(da,"cScale"),$APP.xi.g(Na));da.cLift=Xa;da.cRot=Ga;da.cScale=Na;ib=H+F*2.39996;Ya=1-X*.7;X=Math.sin(ib)*
39
+ 1.8*Ya*A;da=Math.cos(ib*.7)*.8*Ya*A;var Lb=Math.sin(ib*1.3)*1.2*Ya*A;ib=k[F];Ya=gp.g(c);Xa+=$APP.r(Ya)?da:X;Ga+=Lb;X=$APP.r(Ya)?"translate("+$APP.S.g(Xa)+"px,"+$APP.S.g(X)+"px) rotate("+$APP.S.g(Ga)+"deg) scale("+$APP.S.g(Na)+")":"translate("+$APP.S.g(da)+"px,"+$APP.S.g(Xa)+"px) rotate("+$APP.S.g(Ga)+"deg) scale("+$APP.S.g(Na)+")";ib.style.transform=X}F+=1}else break;g=$APP.l(a,"__xLiquidDockSeed")+ep.g(c);h=$APP.l(a,"__xLiquidDockRefs");e=.012+.006*Math.sin(g);a.__xLiquidDockSeed=g;g=$APP.Sk.g(h);
40
+ $APP.r(g)&&g.setAttribute("baseFrequency",""+$APP.S.g(e));!K&&d>0&&(d=$APP.dj.g($APP.l(a,"__xLiquidDockRefs")),$APP.r(d)&&d.setAttribute("scale",""+$APP.S.g(Wo.g(c))),a.__xLiquidDockBurst=0);$APP.n(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return op.g?op.g(a):op.call(null,a)}))}return null};$APP.ka("baredom.exports.x_liquid_dock.init",Cp);export const init=Cp;
@@ -0,0 +1,45 @@
1
+ import { $APP, shadow$provide } from "./base.js";
2
+ var $Z=function(a){function b(d,e){d.push(e);return d}var c=[];return $APP.Zc?$APP.Zc(b,c,a):$APP.$c.call(null,b,c,a)},b_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(a_,a)?a:"vertical"},d_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(c_,a)?a:"fill"},f_=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.J(e_,a)?a:"gold"},g_=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return b;a=parseFloat(a);
3
+ return $APP.r(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},h_=function(a){if(typeof a==="string"){a=a.trim();if($APP.D.i(a,""))return 3;a=parseInt(a,10);return $APP.r(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},l_=function(a,b){b=b>1?a/(b-1):1;return new $APP.P(null,6,[i_,a*2.39996,j_,.7+.6*b,k_,.6+.8*b,$APP.Vk,200-a*30,$APP.Vj,10+a*3,$APP.Ph,1],null)},m_=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},n_=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},o_=
4
+ function(a,b,c,d){return c*(.5*Math.sin(a*6.283185307179586*3+b+d)+.3*Math.sin(a*6.283185307179586*5+b*1.3+d*1.7)+.2*Math.sin(a*6.283185307179586*7+b*.7+d*2.3))},p_=function(a,b,c,d,e,g){b=c+(e*(b-a)-g*c)*d;return[a+b*d,b]},q_=function(a,b,c){return a+(b-a)*c},r_=function(){return $APP.I(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},s_=function(a,b){if(typeof b==="string"&&$APP.O(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.r(a)){var c=window.getComputedStyle(a);
5
+ b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");if($APP.D.i(b,"auto")||$APP.D.i(b,"scroll")||$APP.D.i(c,"auto")||$APP.D.i(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},t_=function(a,b){return a==null?$APP.D.i(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.D.i(b,"horizontal")?[a.scrollLeft,a.scrollWidth,a.clientWidth]:[a.scrollTop,
6
+ a.scrollHeight,a.clientHeight]},B_=function(a){var b=u_.Tb(null,u_.wb(null)+1),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg"),h=document.createElementNS("http://www.w3.org/2000/svg","defs"),k=document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),m=document.createElementNS("http://www.w3.org/2000/svg","stop"),p=document.createElementNS("http://www.w3.org/2000/svg","stop"),
7
+ q=document.createElementNS("http://www.w3.org/2000/svg","stop"),w=document.createElementNS("http://www.w3.org/2000/svg","filter"),x=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),y=document.createElementNS("http://www.w3.org/2000/svg","feSpecularLighting"),A=document.createElementNS("http://www.w3.org/2000/svg","fePointLight"),C=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),E=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),H=$Z(function(){return function Na(Ga){return new $APP.ud(null,
8
+ function(){for(;;){var Xa=$APP.u(Ga);if(Xa){if($APP.Pc(Xa)){var Ya=$APP.yb(Xa),ib=$APP.B(Ya),Lb=$APP.xd(ib);a:{for(var ab=0;;)if(ab<ib){$APP.Ac(Ya,ab);var gc=Lb,Tb=document.createElementNS("http://www.w3.org/2000/svg","path");gc.add(Tb);ab+=1}else{Ya=!0;break a}Ya=void 0}return Ya?$APP.Ad(Lb.fa(),Na($APP.zb(Xa))):$APP.Ad(Lb.fa(),null)}$APP.v(Xa);return $APP.rd(document.createElementNS("http://www.w3.org/2000/svg","path"),Na($APP.Zb(Xa)))}return null}},null)}($APP.kg(0,5))}()),F=document.createElement("div"),
9
+ K=document.createElement("slot"),X=""+$APP.S.g("xlf-grad-")+$APP.S.g(b),da=""+$APP.S.g("xlf-spec-")+$APP.S.g(b);d.textContent=v_;e.setAttribute("part","container");g.setAttribute("part","svg");g.setAttribute("viewBox","0 0 300 200");g.setAttribute("preserveAspectRatio","none");g.setAttribute("aria-hidden","true");k.setAttribute("id",X);k.setAttribute("gradientUnits","userSpaceOnUse");k.setAttribute("cx","150");k.setAttribute("cy","200");k.setAttribute("r","200");k.setAttribute("fx","150");k.setAttribute("fy",
10
+ "200");m.setAttribute("offset","0%");m.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-1")+",#B8860B)");p.setAttribute("offset","50%");p.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-2")+",#D4AF37)");q.setAttribute("offset","100%");q.setAttribute("stop-color","var("+$APP.S.g("--x-liquid-fill-color-3")+",#F9F295)");k.appendChild(m);k.appendChild(p);k.appendChild(q);w.setAttribute("id",da);w.setAttribute("x","-10%");w.setAttribute("y","-10%");w.setAttribute("width",
11
+ "120%");w.setAttribute("height","120%");x.setAttribute("in","SourceAlpha");x.setAttribute("stdDeviation","3");x.setAttribute("result","blur");y.setAttribute("in","blur");y.setAttribute("surfaceScale","5");y.setAttribute("specularConstant","0.75");y.setAttribute("specularExponent","20");y.setAttribute("lighting-color","var("+$APP.S.g("--x-liquid-fill-specular-color")+",rgba(255,255,240,0.6))");y.setAttribute("result","specular");y.appendChild(A);A.setAttribute("x","90");A.setAttribute("y","-50");A.setAttribute("z",
12
+ "200");C.setAttribute("in","specular");C.setAttribute("in2","SourceAlpha");C.setAttribute("operator","in");C.setAttribute("result","specClip");E.setAttribute("in","SourceGraphic");E.setAttribute("in2","specClip");E.setAttribute("operator","arithmetic");E.setAttribute("k1","0");E.setAttribute("k2","1");E.setAttribute("k3","1");E.setAttribute("k4","0");w.appendChild(x);w.appendChild(y);w.appendChild(C);w.appendChild(E);h.appendChild(k);h.appendChild(w);g.appendChild(h);for(h=0;;)if(h<5)m=H[h],m.setAttribute("class",
13
+ "wave-layer"),m.setAttribute("data-layer",""+$APP.S.g(h)),m.setAttribute("fill","url(#"+$APP.S.g(X)+")"),m.style.display="none",g.appendChild(m),h+=1;else break;F.setAttribute("part","content");F.appendChild(K);e.appendChild(g);e.appendChild(F);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.n(a,"__xLiquidFillRefs",new $APP.P(null,8,[$APP.bi,c,$APP.xj,g,w_,H,$APP.Vh,F,x_,A,y_,k,z_,da,A_,X],null))},L_=function(a){a=new $APP.P(null,8,[C_,a.getAttribute("target"),$APP.Zk,a.getAttribute("orientation"),
14
+ $APP.Bk,a.getAttribute("mode"),D_,a.getAttribute("theme"),E_,a.getAttribute("wave-intensity"),F_,a.getAttribute("splash-intensity"),G_,a.getAttribute("layers"),$APP.Ai,a.getAttribute("disabled")],null);var b=$APP.N(a);a=$APP.G(b,C_);var c=$APP.G(b,$APP.Zk),d=$APP.G(b,$APP.Bk),e=$APP.G(b,D_),g=$APP.G(b,E_),h=$APP.G(b,F_),k=$APP.G(b,G_);b=$APP.G(b,$APP.Ai);return new $APP.P(null,8,[H_,typeof a==="string"&&$APP.O(a.trim(),"")?a.trim():null,$APP.xk,b_(c),$APP.Ri,d_(d),I_,f_(e),J_,g_(g,.5),K_,g_(h,.7),
15
+ $APP.Bi,h_(k),$APP.W,b!=null],null)},M_=function(a,b){var c=new Float64Array(b);a.__xLiquidFillWA=c;c=new Float64Array(b);a.__xLiquidFillWV=c;b=new Float64Array(b);a.__xLiquidFillWP=b},N_=function(a,b){var c=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(c,w_);c=$APP.G(c,z_);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var g=l_(d,b),h=$APP.D.i(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.S.g($APP.Ph.g(g)));h?e.setAttribute("filter","url(#"+$APP.S.g(c)+")"):e.removeAttribute("filter")}else e.style.display=
16
+ "none";d+=1}else break},O_=function(a){return $APP.D.i("vertical",$APP.xk.g(a))&&$APP.O("bar",$APP.Ri.g(a))},P_=function(a){var b=$APP.l(a,"__xLiquidFillModel"),c=$APP.l(a,"__xLiquidFillW"),d=$APP.l(a,"__xLiquidFillH"),e=$APP.l(a,"__xLiquidFillTime"),g=$APP.l(a,"__xLiquidFillProg"),h=$APP.Bi.g(b);b=O_(b);var k=$APP.l(a,"__xLiquidFillWA"),m=$APP.l(a,"__xLiquidFillWP");a=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(a,w_);if($APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c))for(var p=0;;)if(p<h){var q=a[p],
17
+ w=k[p],x=m[p];if(b){var y=d*(1-g),A=c,C=d,E=e,H=[];H.push("M0,"+$APP.S.g((y+o_(0,E,w,x)).toFixed(2)));for(var F=0;;)if(F<10){var K=(F+.5)/10,X=(F+1)/10,da=y+o_(K,E,w,x),sa=X*A;X=y+o_(X,E,w,x);H.push("Q"+$APP.S.g((K*A).toFixed(2))+","+$APP.S.g(da.toFixed(2))+" "+$APP.S.g(sa.toFixed(2))+","+$APP.S.g(X.toFixed(2)));F+=1}else break;H.push("L"+$APP.S.g(A.toFixed(2))+","+$APP.S.g(C.toFixed(2)));H.push("L0,"+$APP.S.g(C.toFixed(2)));H.push("Z");q.setAttribute("d",H.join(""))}else{y=c*g;A=d;C=e;E=w;w=x;x=
18
+ [];x.push("M"+$APP.S.g((y+o_(0,C,E,w)).toFixed(2))+",0");for(H=0;;)if(H<10)F=(H+.5)/10,sa=(H+1)/10,K=F*A,da=sa*A,sa=y+o_(sa,C,E,w),x.push("Q"+$APP.S.g((y+o_(F,C,E,w)).toFixed(2))+","+$APP.S.g(K.toFixed(2))+" "+$APP.S.g(sa.toFixed(2))+","+$APP.S.g(da.toFixed(2))),H+=1;else break;x.push("L0,"+$APP.S.g(A.toFixed(2)));x.push("L0,0");x.push("Z");q.setAttribute("d",x.join(""))}p+=1}else break},Q_=function(a){var b=$APP.l(a,"__xLiquidFillModel"),c=$APP.l(a,"__xLiquidFillW"),d=$APP.l(a,"__xLiquidFillH");
19
+ var e=$APP.l(a,"__xLiquidFillProg");e=$APP.r(e)?e:0;var g=$APP.Bi.g(b);b=O_(b);a=$APP.N($APP.l(a,"__xLiquidFillRefs"));a=$APP.G(a,w_);if($APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<g){var k=a[h];if(b){var m=d*(1-e);k.setAttribute("d","M0,"+$APP.S.g(m.toFixed(2))+"L"+$APP.S.g(c.toFixed(2))+","+$APP.S.g(m.toFixed(2))+"L"+$APP.S.g(c.toFixed(2))+","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"Z")}else m=c*e,k.setAttribute("d","M"+$APP.S.g(m.toFixed(2))+",0L"+$APP.S.g(m.toFixed(2))+
20
+ ","+$APP.S.g(d.toFixed(2))+"L0,"+$APP.S.g(d.toFixed(2))+"L0,0Z");h+=1}else break},S_=function(a,b,c){b=new CustomEvent("x-liquid-fill-progress",{detail:$APP.nh(new $APP.P(null,2,[$APP.dl,b,R_,c],null)),bubbles:!0,composed:!0,cancelable:!1});a.dispatchEvent(b)},U_=function(a){$APP.r($APP.l(a,"__xLiquidFillRaf"))||($APP.n(a,"__xLiquidFillLF",performance.now()),$APP.n(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return T_(a)})))},V_=function(a){var b=$APP.l(a,"__xLiquidFillRaf");$APP.r(b)&&
21
+ (cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},Y_=function(a){if($APP.r(function(){var h=a.isConnected;return $APP.r(h)?$APP.l(a,"__xLiquidFillVis"):h}())){var b=$APP.l(a,"__xLiquidFillModel");$APP.l(a,"__xLiquidFillST")==null&&H_.g(b)!=null&&(b=s_(a,H_.g(b)),$APP.r(b)&&(W_.g?W_.g(a):W_.call(null,a),a.__xLiquidFillST=b,X_.g?X_.g(a):X_.call(null,a)));var c=$APP.l(a,"__xLiquidFillModel");b=$APP.l(a,"__xLiquidFillST");var d=$APP.xk.g(c);d=t_(b,d);var e=d[0];b=d[1];d=d[2];var g=performance.now();
22
+ b=m_(e,b,d);d=n_(e,function(){var h=$APP.l(a,"__xLiquidFillLS");return $APP.r(h)?h:e}(),(g-function(){var h=$APP.l(a,"__xLiquidFillLST");return $APP.r(h)?h:g}())/1E3);a.__xLiquidFillTP=b;$APP.n(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.l(a,"__xLiquidFillSV");return $APP.r(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=g;$APP.r(function(){var h=$APP.W.g(c);return $APP.r(h)?h:r_()}())||U_(a);$APP.r(function(){var h=$APP.W.g(c);return $APP.r(h)?h:r_()}())&&(a.__xLiquidFillProg=b,Q_(a),
23
+ S_(a,b,d))}return null},X_=function(a){var b=$APP.l(a,"__xLiquidFillHdl");if($APP.r($APP.r(b)?$APP.t($APP.l(b,"scrollAttached")):b)){var c=$APP.l(b,"scroll");a=$APP.l(a,"__xLiquidFillST");$APP.r(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},W_=function(a){var b=$APP.l(a,"__xLiquidFillHdl");if($APP.r($APP.r(b)?$APP.l(b,"scrollAttached"):b)){var c=$APP.l(b,"scroll");a=$APP.l(a,"__xLiquidFillST");$APP.r(a)?a.removeEventListener("scroll",
24
+ c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},Z_=function(a){var b=H_.g($APP.l(a,"__xLiquidFillModel")),c=s_(a,b);a.__xLiquidFillST=c;X_(a);Y_(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.r(a.isConnected)){var d=H_.g($APP.l(a,"__xLiquidFillModel"));d!=null&&$APP.l(a,"__xLiquidFillST")==null&&(d=s_(a,d),$APP.r(d)&&(W_(a),a.__xLiquidFillST=d,X_(a),Y_(a)))}return null})},$_=function(a){$APP.n(a,"__xLiquidFillHdl",{scroll:function(){return Y_(a)},scrollAttached:!1})},
25
+ a0=function(a){W_(a);a.__xLiquidFillHdl=null},b0=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.r(c)?(c=$APP.W.g($APP.l(a,"__xLiquidFillModel")),c=$APP.r(c)?c:r_(),$APP.r(c)||U_(a)):V_(a);return null},{threshold:[0]});b.observe(a);a.__xLiquidFillIO=b;b=new ResizeObserver(function(c){if(c.length>0){var d=c[0].contentRect;c=d.width;d=d.height;if(c>0&&d>0){a.__xLiquidFillW=c;a.__xLiquidFillH=d;var e=$APP.N($APP.l(a,"__xLiquidFillRefs")),g=$APP.G(e,
26
+ $APP.xj),h=$APP.G(e,x_);e=$APP.G(e,y_);var k=Math.max(c,d);g.setAttribute("viewBox","0 0 "+$APP.S.g(c)+" "+$APP.S.g(d));h.setAttribute("x",""+$APP.S.g(c*.3));e.setAttribute("cx",""+$APP.S.g(c*.5));e.setAttribute("cy",""+$APP.S.g(d));e.setAttribute("r",""+$APP.S.g(k));e.setAttribute("fx",""+$APP.S.g(c*.5));e.setAttribute("fy",""+$APP.S.g(d));c=$APP.W.g($APP.l(a,"__xLiquidFillModel"));c=$APP.r(c)?c:r_();$APP.r(c)?Q_(a):(P_(a),U_(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},e0=function(a,b){b=
27
+ $APP.G(c0,b);$APP.r(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.ok.g(b)),a.setProperty("--x-liquid-fill-color-2",$APP.pk.g(b)),a.setProperty("--x-liquid-fill-color-3",d0.g(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.wk.g(b))):(a=a.style,a.removeProperty("--x-liquid-fill-color-1"),a.removeProperty("--x-liquid-fill-color-2"),a.removeProperty("--x-liquid-fill-color-3"),a.removeProperty("--x-liquid-fill-specular-color"))},f0=function(a){Object.defineProperty(a,"target",{get:function(){return this.getAttribute("target")},
28
+ set:function(b){return $APP.r(b)?this.setAttribute("target",""+$APP.S.g(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return b_(this.getAttribute("orientation"))},set:function(b){return $APP.r(b)?this.setAttribute("orientation",""+$APP.S.g(b)):this.removeAttribute("orientation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return d_(this.getAttribute("mode"))},set:function(b){return $APP.r(b)?
29
+ this.setAttribute("mode",""+$APP.S.g(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return f_(this.getAttribute("theme"))},set:function(b){return $APP.r(b)?this.setAttribute("theme",""+$APP.S.g(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,"waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return g_(b,.5)},set:function(b){return b==null?this.removeAttribute("wave-intensity"):
30
+ this.setAttribute("wave-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return g_(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){return h_(this.getAttribute("layers"))},set:function(b){return b==null?this.removeAttribute("layers"):
31
+ this.setAttribute("layers",""+$APP.S.g(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.r(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"progress",{get:function(){var b=$APP.l(this,"__xLiquidFillProg");return $APP.r(b)?b:0},enumerable:!0,configurable:!0})},h0=function(){var a=class extends HTMLElement{};a.observedAttributes=
32
+ g0;a.prototype.connectedCallback=function(){var b=L_(this);this.__xLiquidFillModel=b;this.__xLiquidFillTime=this.__xLiquidFillSV=this.__xLiquidFillTP=this.__xLiquidFillProg=0;this.__xLiquidFillLD=-1;this.__xLiquidFillVis=!0;$APP.r($APP.l(this,"__xLiquidFillRefs"))||B_(this);e0(this,I_.g(b));M_(this,$APP.Bi.g(b));N_(this,$APP.Bi.g(b));a0(this);$_(this);b0(this);Z_(this);return null};a.prototype.disconnectedCallback=function(){V_(this);a0(this);var b=$APP.l(this,"__xLiquidFillIO");$APP.r(b)&&(b.disconnect(),
33
+ this.__xLiquidFillIO=null);b=$APP.l(this,"__xLiquidFillRO");$APP.r(b)&&(b.disconnect(),this.__xLiquidFillRO=null);this.__xLiquidFillVis=!1;return null};a.prototype.attributeChangedCallback=function(b,c,d){if($APP.O(c,d)&&$APP.r($APP.l(this,"__xLiquidFillRefs"))){b=L_(this);c=$APP.l(this,"__xLiquidFillModel");this.__xLiquidFillModel=b;if(c==null||$APP.O($APP.Bi.g(b),$APP.Bi.g(c)))M_(this,$APP.Bi.g(b)),N_(this,$APP.Bi.g(b));(c==null||$APP.O(I_.g(b),I_.g(c)))&&e0(this,I_.g(b));if(c==null||$APP.O(H_.g(b),
34
+ H_.g(c)))W_(this),Z_(this);c=$APP.l(this,"__xLiquidFillW");d=$APP.l(this,"__xLiquidFillH");$APP.r($APP.r(c)?$APP.r(d)?c>0&&d>0:d:c)&&(b=$APP.W.g(b),b=$APP.r(b)?b:r_(),$APP.r(b)?(V_(this),Q_(this)):(P_(this),U_(this)))}return null};f0(a.prototype);return a},i0=function(){$APP.r(customElements.get("x-liquid-fill"))||customElements.define("x-liquid-fill",h0());return null},k_=new $APP.M(null,"amp-mult","amp-mult",698045242),x_=new $APP.M(null,"feLight","feLight",-1941454484),j_=new $APP.M(null,"speed-mult",
35
+ "speed-mult",-353631814),G_=new $APP.M(null,"layers-raw","layers-raw",-233899391),i_=new $APP.M(null,"phase-offset","phase-offset",-1013192067),w_=new $APP.M(null,"paths","paths",-1807389588),D_=new $APP.M(null,"theme-raw","theme-raw",1068228849),z_=new $APP.M(null,"filt-id","filt-id",-672558408),J_=new $APP.M(null,"wave-intensity","wave-intensity",-915557489),y_=new $APP.M(null,"grad","grad",1125187229),I_=new $APP.M(null,"theme","theme",-1247880880),d0=new $APP.M(null,"color-3","color-3",265727868),
36
+ E_=new $APP.M(null,"wave-intensity-raw","wave-intensity-raw",1563162777),A_=new $APP.M(null,"grad-id","grad-id",1430109665),C_=new $APP.M(null,"target-raw","target-raw",-72152629),K_=new $APP.M(null,"splash-intensity","splash-intensity",-619909243),R_=new $APP.M(null,"velocity","velocity",-581524355),F_=new $APP.M(null,"splash-intensity-raw","splash-intensity-raw",1573376927),H_=new $APP.M(null,"target","target",253001721);var g0="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
+ $APP.Q([new $APP.M(null,"waveIntensity","waveIntensity",695633410),$APP.gj,new $APP.M(null,"splashIntensity","splashIntensity",1275664841),$APP.Ri,$APP.xk,I_,$APP.Bi,H_,$APP.dl],[new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.qj],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,1,[$APP.Z,$APP.V],null),new $APP.P(null,1,[$APP.Z,$APP.Y],null),new $APP.P(null,
38
+ 2,[$APP.Z,$APP.V,$APP.Fj,!0],null)]);$APP.Sd(["x-liquid-fill-progress",new $APP.P(null,2,[$APP.U,new $APP.P(null,2,[$APP.dl,$APP.V,R_,$APP.V],null),$APP.kl,!1],null)]);
39
+ var a_=new $APP.R(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),c_=new $APP.R(null,new $APP.P(null,2,["bar",null,"fill",null],null),null),e_=new $APP.R(null,new $APP.P(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),c0=new $APP.P(null,3,["gold",new $APP.P(null,4,[$APP.ok,"#B8860B",$APP.pk,"#D4AF37",d0,"#F9F295",$APP.wk,"rgba(255,255,240,0.6)"],null),"water",new $APP.P(null,4,[$APP.ok,"#0077B6",$APP.pk,"#00B4D8",d0,"#90E0EF",$APP.wk,"rgba(255,255,255,0.5)"],
40
+ null),"lava",new $APP.P(null,4,[$APP.ok,"#8B0000",$APP.pk,"#FF4500",d0,"#FF8C00",$APP.wk,"rgba(255,255,200,0.7)"],null)],null);var u_=new $APP.ae(0),v_=":host{display:block;position:relative;overflow:hidden;"+$APP.S.g("--x-liquid-fill-bg")+":transparent;"+$APP.S.g("--x-liquid-fill-border")+":none;"+$APP.S.g("--x-liquid-fill-radius")+":0;"+$APP.S.g("--x-liquid-fill-opacity")+":1;"+$APP.S.g("--x-liquid-fill-wave-speed")+":1;"+$APP.S.g("--x-liquid-fill-color-1")+":#B8860B;"+$APP.S.g("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.S.g("--x-liquid-fill-color-3")+":#F9F295;"+$APP.S.g("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
41
+ $APP.S.g("--x-liquid-fill-bg")+",transparent);border:var("+$APP.S.g("--x-liquid-fill-border")+",none);border-radius:var("+$APP.S.g("--x-liquid-fill-radius")+",0);}:host([mode\x3dbar]){"+$APP.S.g("--x-liquid-fill-bar-height")+":14px;height:var("+$APP.S.g("--x-liquid-fill-bar-height")+",14px);}[part\x3dcontainer]{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit;}[part\x3dsvg]{display:block;width:100%;height:100%;position:absolute;inset:0;pointer-events:none;opacity:var("+
42
+ $APP.S.g("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.S.g("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.S.g("--x-liquid-fill-bg")+":transparent;"+$APP.S.g("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.S.g("wave-layer")+"{transition:none!important;}}",T_=function T_(a){if($APP.r(a.isConnected)){var c=$APP.l(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-
43
+ $APP.l(a,"__xLiquidFillLF"),100)/1E3,g=function(){var E=window.getComputedStyle(a).getPropertyValue("--x-liquid-fill-wave-speed");E=typeof E==="string"?parseFloat(E.trim()):null;var H=E==null;H||(H=isNaN(E),H=$APP.r(H)?H:E<=0);return $APP.r(H)?1:E}(),h=$APP.Bi.g(c),k=J_.g(c);c=K_.g(c);var m=function(){var E=$APP.l(a,"__xLiquidFillSV");return $APP.r(E)?E:0}(),p=$APP.l(a,"__xLiquidFillWA"),q=$APP.l(a,"__xLiquidFillWV"),w=$APP.l(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.n(a,"__xLiquidFillTime",function(){var E=
44
+ $APP.l(a,"__xLiquidFillTime");return $APP.r(E)?E:0}()+e*g);$APP.n(a,"__xLiquidFillProg",q_(function(){var E=$APP.l(a,"__xLiquidFillProg");return $APP.r(E)?E:0}(),function(){var E=$APP.l(a,"__xLiquidFillTP");return $APP.r(E)?E:0}(),5*e));var x=new $APP.ae(!1);for(d=0;;)if(d<h){var y=l_(d,h),A=m*k*c*k_.g(y)*30+2*k*k_.g(y);A=p_(p[d],A,q[d],e,$APP.Vk.g(y),$APP.Vj.g(y));p[d]=A[0];q[d]=A[1];w[d]+=e*g*j_.g(y);Math.abs(q[d])>.05&&$APP.Ab(x,!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);P_(a);e=
45
+ $APP.l(a,"__xLiquidFillProg");Math.abs(e-function(){var E=$APP.l(a,"__xLiquidFillLD");return $APP.r(E)?E:-1}())>.005&&(a.__xLiquidFillLD=e,S_(a,e,m));var C=Math.abs(function(){var E=$APP.l(a,"__xLiquidFillProg");return $APP.r(E)?E:0}()-function(){var E=$APP.l(a,"__xLiquidFillTP");return $APP.r(E)?E:0}());$APP.r(function(){var E=$APP.Ua(x);return $APP.r(E)?E:m>.01||C>.001}())?$APP.n(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return T_.g?T_.g(a):T_.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ka("baredom.exports.x_liquid_fill.init",i0);export const init=i0;