@vanelsas/baredom 2.9.0 → 3.0.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 (107) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +1 -1
  3. package/dist/baredom.d.ts +20 -0
  4. package/dist/base.js +541 -455
  5. package/dist/integrity.json +103 -102
  6. package/dist/x-alert.js +16 -17
  7. package/dist/x-avatar-group.js +9 -9
  8. package/dist/x-avatar.js +14 -15
  9. package/dist/x-badge.js +9 -9
  10. package/dist/x-bento-grid.js +5 -5
  11. package/dist/x-bento-item.js +4 -4
  12. package/dist/x-breadcrumbs.js +13 -13
  13. package/dist/x-button.js +1 -17
  14. package/dist/x-cancel-dialogue.js +13 -13
  15. package/dist/x-card.js +7 -7
  16. package/dist/x-carousel.js +31 -31
  17. package/dist/x-chart.js +47 -47
  18. package/dist/x-checkbox.js +1 -11
  19. package/dist/x-chip.js +1 -1
  20. package/dist/x-collapse.js +10 -10
  21. package/dist/x-color-picker.js +45 -45
  22. package/dist/x-combobox.js +26 -26
  23. package/dist/x-command-palette.js +24 -24
  24. package/dist/x-confetti.js +24 -22
  25. package/dist/x-container.js +5 -4
  26. package/dist/x-context-menu.js +20 -20
  27. package/dist/x-copy.js +20 -20
  28. package/dist/x-currency-field.js +23 -23
  29. package/dist/x-date-picker.js +40 -40
  30. package/dist/x-divider.js +9 -9
  31. package/dist/x-drawer.js +9 -9
  32. package/dist/x-dropdown.js +11 -11
  33. package/dist/x-fieldset.js +5 -5
  34. package/dist/x-file-download.js +7 -7
  35. package/dist/x-file-upload.js +22 -22
  36. package/dist/x-form-field.js +15 -15
  37. package/dist/x-form.js +9 -9
  38. package/dist/x-gaussian-blur.js +12 -12
  39. package/dist/x-grid.js +7 -6
  40. package/dist/x-i18n-provider.js +7 -7
  41. package/dist/x-i18n.js +4 -4
  42. package/dist/x-icon.js +6 -6
  43. package/dist/x-image.js +16 -17
  44. package/dist/x-kbd.js +15 -15
  45. package/dist/x-kinetic-canvas.js +25 -25
  46. package/dist/x-kinetic-font.js +27 -27
  47. package/dist/x-kinetic-typography.js +33 -33
  48. package/dist/x-liquid-dock.js +38 -38
  49. package/dist/x-liquid-fill.js +43 -43
  50. package/dist/x-liquid-glass.js +47 -47
  51. package/dist/x-menu-item.js +8 -8
  52. package/dist/x-menu.js +10 -9
  53. package/dist/x-metaball-cursor.js +26 -26
  54. package/dist/x-modal.js +10 -10
  55. package/dist/x-morph-stack.js +36 -37
  56. package/dist/x-multi-combobox.js +36 -36
  57. package/dist/x-navbar.js +12 -12
  58. package/dist/x-neural-glow.js +32 -32
  59. package/dist/x-notification-center.js +9 -9
  60. package/dist/x-organic-divider.js +17 -17
  61. package/dist/x-organic-progress.js +37 -37
  62. package/dist/x-organic-shape.js +13 -13
  63. package/dist/x-otp-input.js +22 -22
  64. package/dist/x-pagination.js +15 -15
  65. package/dist/x-particle-button.js +51 -51
  66. package/dist/x-popover.js +25 -26
  67. package/dist/x-progress-circle.js +8 -8
  68. package/dist/x-progress.js +10 -10
  69. package/dist/x-proximity-list.js +20 -19
  70. package/dist/x-radio.js +11 -11
  71. package/dist/x-ripple-effect.js +10 -10
  72. package/dist/x-scroll-parallax.js +18 -18
  73. package/dist/x-scroll-stack.js +17 -17
  74. package/dist/x-scroll-story.js +34 -34
  75. package/dist/x-scroll-timeline.js +44 -44
  76. package/dist/x-scroll.js +38 -38
  77. package/dist/x-search-field.js +1 -15
  78. package/dist/x-select.js +1 -11
  79. package/dist/x-sidebar.js +16 -16
  80. package/dist/x-skeleton-group.js +12 -12
  81. package/dist/x-skeleton.js +1 -1
  82. package/dist/x-slider.js +15 -15
  83. package/dist/x-soft-body.js +22 -22
  84. package/dist/x-spacer.js +4 -4
  85. package/dist/x-spinner.js +4 -4
  86. package/dist/x-splash.js +12 -12
  87. package/dist/x-spotlight-card.js +12 -12
  88. package/dist/x-stat.js +10 -10
  89. package/dist/x-stepper.js +14 -14
  90. package/dist/x-switch.js +10 -10
  91. package/dist/x-tab.js +7 -7
  92. package/dist/x-table-cell.js +18 -18
  93. package/dist/x-table-row.js +8 -8
  94. package/dist/x-table.js +12 -12
  95. package/dist/x-tabs.js +11 -11
  96. package/dist/x-text-area.js +19 -19
  97. package/dist/x-theme.js +25 -25
  98. package/dist/x-timeline-item.js +20 -21
  99. package/dist/x-timeline.js +8 -8
  100. package/dist/x-toast.js +22 -23
  101. package/dist/x-toaster.js +8 -8
  102. package/dist/x-tooltip.js +12 -12
  103. package/dist/x-trace-history.d.ts +242 -0
  104. package/dist/x-trace-history.js +118 -0
  105. package/dist/x-typography.js +9 -9
  106. package/dist/x-welcome-tour.js +60 -59
  107. package/package.json +6 -1
@@ -1,46 +1,46 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var m$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.Vc(rga,a)?a:"vertical"},n$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.Vc(sga,a)?a:"fill"},o$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.Vc(tga,a)?a:"gold"},p$=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.B.j(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},q$=function(a){if(typeof a==="string"){a=a.trim();
3
- if($APP.B.j(a,""))return 3;a=parseInt(a,10);return $APP.n(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},t$=function(a,b){b=b>1?a/(b-1):1;return new $APP.P(null,6,[uga,a*2.39996,r$,.7+.6*b,s$,.6+.8*b,$APP.sn,200-a*30,$APP.gm,10+a*3,$APP.Bj,1],null)},vga=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},wga=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},u$=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*
4
- 1.7)+.2*Math.sin(a*6.283185307179586*7+b*.7+d*2.3))},xga=function(a,b,c,d,e,f){b=c+(e*(b-a)-f*c)*d;return[a+b*d,b]},yga=function(a,b,c){return a+(b-a)*c},zga=function(){var a=v$+1;return v$=a},w$=function(){return $APP.E(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},x$=function(a,b){if(typeof b==="string"&&$APP.M(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.n(a)){var c=window.getComputedStyle(a);b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");
5
- if($APP.B.j(b,"auto")||$APP.B.j(b,"scroll")||$APP.B.j(c,"auto")||$APP.B.j(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},Aga=function(a,b){return a==null?$APP.B.j(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.B.j(b,"horizontal")?[a.scrollLeft,a.scrollWidth,a.clientWidth]:[a.scrollTop,a.scrollHeight,a.clientHeight]},Dga=function(a){var b=zga(),c=a.attachShadow({mode:"open"}),
2
+ var m$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(Yla,a)?a:"vertical"},n$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c(Zla,a)?a:"fill"},o$=function(a){a=typeof a==="string"?a.trim().toLowerCase():null;return $APP.$c($la,a)?a:"gold"},p$=function(a,b){if(typeof a==="string"){a=a.trim();if($APP.A.j(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(1,Math.max(0,a))}return b},q$=function(a){if(typeof a==="string"){a=a.trim();
3
+ if($APP.A.j(a,""))return 3;a=parseInt(a,10);return $APP.n(isNaN(a))?3:Math.min(5,Math.max(2,a))}return 3},t$=function(a,b){b=b>1?a/(b-1):1;return new $APP.O(null,6,[ama,a*2.39996,r$,.7+.6*b,s$,.6+.8*b,$APP.hq,200-a*30,$APP.Zo,10+a*3,$APP.ym,1],null)},bma=function(a,b,c){b-=c;return b<=0?0:Math.min(1,Math.max(0,a/b))},cma=function(a,b,c){return c<=.001?0:Math.min(1,Math.abs(a-b)/c/2E3)},u$=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*
4
+ 1.7)+.2*Math.sin(a*6.283185307179586*7+b*.7+d*2.3))},dma=function(a,b,c,d,e,f){b=c+(e*(b-a)-f*c)*d;return[a+b*d,b]},ema=function(a,b,c){return a+(b-a)*c},fma=function(){var a=v$+1;return v$=a},w$=function(){return $APP.D(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},x$=function(a,b){if(typeof b==="string"&&$APP.I(b.trim(),""))a=document.querySelector(b);else a:{for(a=a.parentElement;;)if($APP.n(a)){var c=window.getComputedStyle(a);b=c.getPropertyValue("overflow-y");c=c.getPropertyValue("overflow-x");
5
+ if($APP.A.j(b,"auto")||$APP.A.j(b,"scroll")||$APP.A.j(c,"auto")||$APP.A.j(c,"scroll"))break a;a=a.parentElement}else{a=null;break a}a=void 0}return a},gma=function(a,b){return a==null?$APP.A.j(b,"horizontal")?[window.scrollX,document.documentElement.scrollWidth,window.innerWidth]:[window.scrollY,document.documentElement.scrollHeight,window.innerHeight]:$APP.A.j(b,"horizontal")?[a.scrollLeft,a.scrollWidth,a.clientWidth]:[a.scrollTop,a.scrollHeight,a.clientHeight]},jma=function(a){var b=fma(),c=a.attachShadow({mode:"open"}),
6
6
  d=document.createElement("style"),e=document.createElement("div"),f=document.createElementNS("http://www.w3.org/2000/svg","svg"),h=document.createElementNS("http://www.w3.org/2000/svg","defs"),l=document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),m=document.createElementNS("http://www.w3.org/2000/svg","stop"),q=document.createElementNS("http://www.w3.org/2000/svg","stop"),r=document.createElementNS("http://www.w3.org/2000/svg","stop"),v=document.createElementNS("http://www.w3.org/2000/svg",
7
- "filter"),w=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"),D=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),G=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),I=$APP.xa(function(){return function Ta(La){return new $APP.xd(null,function(){for(;;){var Bb=$APP.t(La);if(Bb){if($APP.Rc(Bb)){var Eb=
8
- $APP.yb(Bb),Qb=$APP.z(Eb),rd=$APP.Ad(Qb);a:{for(var nc=0;;)if(nc<Qb){$APP.Bc(Eb,nc);var Tf=rd,Ze=document.createElementNS("http://www.w3.org/2000/svg","path");Tf.add(Ze);nc+=1}else{Eb=!0;break a}Eb=void 0}return Eb?$APP.Dd(rd.ba(),Ta($APP.zb(Bb))):$APP.Dd(rd.ba(),null)}$APP.u(Bb);return $APP.ud(document.createElementNS("http://www.w3.org/2000/svg","path"),Ta($APP.$b(Bb)))}return null}},null)}($APP.mg(0,5))}()),J=document.createElement("div"),K=document.createElement("slot"),ba=""+$APP.R.i("xlf-grad-")+
9
- $APP.R.i(b),ia=""+$APP.R.i("xlf-spec-")+$APP.R.i(b);d.textContent=Bga;e.setAttribute("part","container");f.setAttribute("part","svg");f.setAttribute("viewBox","0 0 300 200");f.setAttribute("preserveAspectRatio","none");f.setAttribute("aria-hidden","true");l.setAttribute("id",ba);l.setAttribute("gradientUnits","userSpaceOnUse");l.setAttribute("cx","150");l.setAttribute("cy","200");l.setAttribute("r","200");l.setAttribute("fx","150");l.setAttribute("fy","200");m.setAttribute("offset","0%");m.setAttribute("stop-color",
10
- "var("+$APP.R.i("--x-liquid-fill-color-1")+",#B8860B)");q.setAttribute("offset","50%");q.setAttribute("stop-color","var("+$APP.R.i("--x-liquid-fill-color-2")+",#D4AF37)");r.setAttribute("offset","100%");r.setAttribute("stop-color","var("+$APP.R.i("--x-liquid-fill-color-3")+",#F9F295)");l.appendChild(m);l.appendChild(q);l.appendChild(r);v.setAttribute("id",ia);v.setAttribute("x","-10%");v.setAttribute("y","-10%");v.setAttribute("width","120%");v.setAttribute("height","120%");w.setAttribute("in","SourceAlpha");
11
- w.setAttribute("stdDeviation","3");w.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.R.i("--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","200");D.setAttribute("in","specular");D.setAttribute("in2",
12
- "SourceAlpha");D.setAttribute("operator","in");D.setAttribute("result","specClip");G.setAttribute("in","SourceGraphic");G.setAttribute("in2","specClip");G.setAttribute("operator","arithmetic");G.setAttribute("k1","0");G.setAttribute("k2","1");G.setAttribute("k3","1");G.setAttribute("k4","0");v.appendChild(w);v.appendChild(y);v.appendChild(D);v.appendChild(G);h.appendChild(l);h.appendChild(v);f.appendChild(h);for(h=0;;)if(h<5)m=I[h],m.setAttribute("class","wave-layer"),m.setAttribute("data-layer",
13
- ""+$APP.R.i(h)),m.setAttribute("fill","url(#"+$APP.R.i(ba)+")"),m.style.display="none",f.appendChild(m),h+=1;else break;J.setAttribute("part","content");J.appendChild(K);e.appendChild(f);e.appendChild(J);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.fa(a,"__xLiquidFillRefs",new $APP.P(null,8,[$APP.Qh,c,$APP.Cl,f,y$,I,$APP.Lj,J,z$,A,A$,l,B$,ia,Cga,ba],null))},J$=function(a){a=new $APP.P(null,8,[$APP.Um,a.getAttribute("target"),$APP.Fn,a.getAttribute("orientation"),$APP.Wm,a.getAttribute("mode"),
14
- C$,a.getAttribute("theme"),D$,a.getAttribute("wave-intensity"),E$,a.getAttribute("splash-intensity"),F$,a.getAttribute("layers"),$APP.qk,a.getAttribute("disabled")],null);var b=$APP.H(a);a=$APP.C(b,$APP.Um);var c=$APP.C(b,$APP.Fn),d=$APP.C(b,$APP.Wm),e=$APP.C(b,C$),f=$APP.C(b,D$),h=$APP.C(b,E$),l=$APP.C(b,F$);b=$APP.C(b,$APP.qk);return new $APP.P(null,8,[$APP.No,typeof a==="string"&&$APP.M(a.trim(),"")?a.trim():null,$APP.Pm,m$(c),$APP.Kk,n$(d),G$,o$(e),H$,p$(f,.5),I$,p$(h,.7),$APP.rk,q$(l),$APP.Y,
15
- b!=null],null)},K$=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},L$=function(a,b){var c=$APP.H($APP.k(a,"__xLiquidFillRefs"));a=$APP.C(c,y$);c=$APP.C(c,B$);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var f=t$(d,b),h=$APP.B.j(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.R.i($APP.Bj.i(f)));h?e.setAttribute("filter","url(#"+$APP.R.i(c)+")"):e.removeAttribute("filter")}else e.style.display="none";
16
- d+=1}else break},M$=function(a){return $APP.B.j("vertical",$APP.Pm.i(a))&&$APP.M("bar",$APP.Kk.i(a))},N$=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH"),e=$APP.k(a,"__xLiquidFillTime"),f=$APP.k(a,"__xLiquidFillProg"),h=$APP.rk.i(b);b=M$(b);var l=$APP.k(a,"__xLiquidFillWA"),m=$APP.k(a,"__xLiquidFillWP");a=$APP.H($APP.k(a,"__xLiquidFillRefs"));a=$APP.C(a,y$);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var q=0;;)if(q<h){var r=a[q],v=l[q],
17
- w=m[q];if(b){var y=d*(1-f),A=c,D=d,G=e,I=[];I.push("M0,"+$APP.R.i((y+u$(0,G,v,w)).toFixed(2)));for(var J=0;;)if(J<10){var K=(J+.5)/10,ba=(J+1)/10,ia=y+u$(K,G,v,w),Ba=ba*A;ba=y+u$(ba,G,v,w);I.push("Q"+$APP.R.i((K*A).toFixed(2))+","+$APP.R.i(ia.toFixed(2))+" "+$APP.R.i(Ba.toFixed(2))+","+$APP.R.i(ba.toFixed(2)));J+=1}else break;I.push("L"+$APP.R.i(A.toFixed(2))+","+$APP.R.i(D.toFixed(2)));I.push("L0,"+$APP.R.i(D.toFixed(2)));I.push("Z");r.setAttribute("d",I.join(""))}else{y=c*f;A=d;D=e;G=v;v=w;w=[];
18
- w.push("M"+$APP.R.i((y+u$(0,D,G,v)).toFixed(2))+",0");for(I=0;;)if(I<10)J=(I+.5)/10,Ba=(I+1)/10,K=J*A,ia=Ba*A,Ba=y+u$(Ba,D,G,v),w.push("Q"+$APP.R.i((y+u$(J,D,G,v)).toFixed(2))+","+$APP.R.i(K.toFixed(2))+" "+$APP.R.i(Ba.toFixed(2))+","+$APP.R.i(ia.toFixed(2))),I+=1;else break;w.push("L0,"+$APP.R.i(A.toFixed(2)));w.push("L0,0");w.push("Z");r.setAttribute("d",w.join(""))}q+=1}else break},O$=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH");var e=
19
- $APP.k(a,"__xLiquidFillProg");e=$APP.n(e)?e:0;var f=$APP.rk.i(b);b=M$(b);a=$APP.H($APP.k(a,"__xLiquidFillRefs"));a=$APP.C(a,y$);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<f){var l=a[h];if(b){var m=d*(1-e);l.setAttribute("d","M0,"+$APP.R.i(m.toFixed(2))+"L"+$APP.R.i(c.toFixed(2))+","+$APP.R.i(m.toFixed(2))+"L"+$APP.R.i(c.toFixed(2))+","+$APP.R.i(d.toFixed(2))+"L0,"+$APP.R.i(d.toFixed(2))+"Z")}else m=c*e,l.setAttribute("d","M"+$APP.R.i(m.toFixed(2))+",0L"+$APP.R.i(m.toFixed(2))+
20
- ","+$APP.R.i(d.toFixed(2))+"L0,"+$APP.R.i(d.toFixed(2))+"L0,0Z");h+=1}else break},P$=function(a,b,c){$APP.ah(a,"x-liquid-fill-progress",$APP.Wi(new $APP.P(null,2,[$APP.Kn,b,$APP.rn,c],null)))},R$=function(a){$APP.n($APP.k(a,"__xLiquidFillRaf"))||($APP.fa(a,"__xLiquidFillLF",performance.now()),$APP.fa(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return Q$(a)})))},S$=function(a){var b=$APP.k(a,"__xLiquidFillRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},V$=function(a){if($APP.n(function(){var h=
21
- a.isConnected;return $APP.n(h)?(h=$APP.k(a,"__xLiquidFillVis"),$APP.n(h)?$APP.p($APP.Y.i($APP.k(a,"__xLiquidFillModel"))):h):h}())){var b=$APP.k(a,"__xLiquidFillModel");$APP.k(a,"__xLiquidFillST")==null&&$APP.No.i(b)!=null&&(b=x$(a,$APP.No.i(b)),$APP.n(b)&&(T$.i?T$.i(a):T$.call(null,a),a.__xLiquidFillST=b,U$.i?U$.i(a):U$.call(null,a)));var c=$APP.k(a,"__xLiquidFillModel");b=$APP.k(a,"__xLiquidFillST");var d=$APP.Pm.i(c);d=Aga(b,d);var e=d[0];b=d[1];d=d[2];var f=performance.now();b=vga(e,b,d);d=wga(e,
22
- function(){var h=$APP.k(a,"__xLiquidFillLS");return $APP.n(h)?h:e}(),(f-function(){var h=$APP.k(a,"__xLiquidFillLST");return $APP.n(h)?h:f}())/1E3);a.__xLiquidFillTP=b;$APP.fa(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.k(a,"__xLiquidFillSV");return $APP.n(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=f;$APP.n(function(){var h=$APP.Y.i(c);return $APP.n(h)?h:w$()}())||R$(a);$APP.n(function(){var h=$APP.Y.i(c);return $APP.n(h)?h:w$()}())&&(a.__xLiquidFillProg=b,O$(a),P$(a,b,d))}return null},
7
+ "filter"),x=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),z=document.createElementNS("http://www.w3.org/2000/svg","feSpecularLighting"),B=document.createElementNS("http://www.w3.org/2000/svg","fePointLight"),E=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),H=document.createElementNS("http://www.w3.org/2000/svg","feComposite"),K=$APP.za(function(){return function Za(Na){return new $APP.Cd(null,function(){for(;;){var Eb=$APP.t(Na);if(Eb){if($APP.Wc(Eb)){var Cb=
8
+ $APP.Ab(Eb),Kb=$APP.y(Cb),Dd=$APP.Hd(Kb);a:{for(var vc=0;;)if(vc<Kb){$APP.Ec(Cb,vc);var sg=Dd,vf=document.createElementNS("http://www.w3.org/2000/svg","path");sg.add(vf);vc+=1}else{Cb=!0;break a}Cb=void 0}return Cb?$APP.Kd(Dd.ca(),Za($APP.Bb(Eb))):$APP.Kd(Dd.ca(),null)}$APP.u(Eb);return $APP.zd(document.createElementNS("http://www.w3.org/2000/svg","path"),Za($APP.bc(Eb)))}return null}},null)}($APP.Eg(0,5))}()),J=document.createElement("div"),P=document.createElement("slot"),ea=""+$APP.V.i("xlf-grad-")+
9
+ $APP.V.i(b),la=""+$APP.V.i("xlf-spec-")+$APP.V.i(b);d.textContent=hma;e.setAttribute("part","container");f.setAttribute("part","svg");f.setAttribute("viewBox","0 0 300 200");f.setAttribute("preserveAspectRatio","none");f.setAttribute("aria-hidden","true");l.setAttribute("id",ea);l.setAttribute("gradientUnits","userSpaceOnUse");l.setAttribute("cx","150");l.setAttribute("cy","200");l.setAttribute("r","200");l.setAttribute("fx","150");l.setAttribute("fy","200");m.setAttribute("offset","0%");m.setAttribute("stop-color",
10
+ "var("+$APP.V.i("--x-liquid-fill-color-1")+",#B8860B)");q.setAttribute("offset","50%");q.setAttribute("stop-color","var("+$APP.V.i("--x-liquid-fill-color-2")+",#D4AF37)");r.setAttribute("offset","100%");r.setAttribute("stop-color","var("+$APP.V.i("--x-liquid-fill-color-3")+",#F9F295)");l.appendChild(m);l.appendChild(q);l.appendChild(r);v.setAttribute("id",la);v.setAttribute("x","-10%");v.setAttribute("y","-10%");v.setAttribute("width","120%");v.setAttribute("height","120%");x.setAttribute("in","SourceAlpha");
11
+ x.setAttribute("stdDeviation","3");x.setAttribute("result","blur");z.setAttribute("in","blur");z.setAttribute("surfaceScale","5");z.setAttribute("specularConstant","0.75");z.setAttribute("specularExponent","20");z.setAttribute("lighting-color","var("+$APP.V.i("--x-liquid-fill-specular-color")+",rgba(255,255,240,0.6))");z.setAttribute("result","specular");z.appendChild(B);B.setAttribute("x","90");B.setAttribute("y","-50");B.setAttribute("z","200");E.setAttribute("in","specular");E.setAttribute("in2",
12
+ "SourceAlpha");E.setAttribute("operator","in");E.setAttribute("result","specClip");H.setAttribute("in","SourceGraphic");H.setAttribute("in2","specClip");H.setAttribute("operator","arithmetic");H.setAttribute("k1","0");H.setAttribute("k2","1");H.setAttribute("k3","1");H.setAttribute("k4","0");v.appendChild(x);v.appendChild(z);v.appendChild(E);v.appendChild(H);h.appendChild(l);h.appendChild(v);f.appendChild(h);for(h=0;;)if(h<5)m=K[h],m.setAttribute("class","wave-layer"),m.setAttribute("data-layer",
13
+ ""+$APP.V.i(h)),m.setAttribute("fill","url(#"+$APP.V.i(ea)+")"),m.style.display="none",f.appendChild(m),h+=1;else break;J.setAttribute("part","content");J.appendChild(P);e.appendChild(f);e.appendChild(J);c.appendChild(d);c.appendChild(e);a.__xLiquidFillUid=b;$APP.ja(a,"__xLiquidFillRefs",new $APP.O(null,8,[$APP.jj,c,$APP.po,f,y$,K,$APP.Im,J,z$,B,A$,l,B$,la,ima,ea],null))},J$=function(a){a=new $APP.O(null,8,[$APP.Mp,a.getAttribute("target"),$APP.mq,a.getAttribute("orientation"),$APP.Op,a.getAttribute("mode"),
14
+ C$,a.getAttribute("theme"),D$,a.getAttribute("wave-intensity"),E$,a.getAttribute("splash-intensity"),F$,a.getAttribute("layers"),$APP.nn,a.getAttribute("disabled")],null);var b=$APP.G(a);a=$APP.C(b,$APP.Mp);var c=$APP.C(b,$APP.mq),d=$APP.C(b,$APP.Op),e=$APP.C(b,C$),f=$APP.C(b,D$),h=$APP.C(b,E$),l=$APP.C(b,F$);b=$APP.C(b,$APP.nn);return new $APP.O(null,8,[$APP.rr,typeof a==="string"&&$APP.I(a.trim(),"")?a.trim():null,$APP.Hp,m$(c),$APP.Gn,n$(d),G$,o$(e),H$,p$(f,.5),I$,p$(h,.7),$APP.on,q$(l),$APP.Bi,
15
+ b!=null],null)},K$=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},L$=function(a,b){var c=$APP.G($APP.k(a,"__xLiquidFillRefs"));a=$APP.C(c,y$);c=$APP.C(c,B$);for(var d=0;;)if(d<5){var e=a[d];if(d<b){var f=t$(d,b),h=$APP.A.j(d,b-1);e.style.display="";e.setAttribute("opacity",""+$APP.V.i($APP.ym.i(f)));h?e.setAttribute("filter","url(#"+$APP.V.i(c)+")"):e.removeAttribute("filter")}else e.style.display="none";
16
+ d+=1}else break},M$=function(a){return $APP.A.j("vertical",$APP.Hp.i(a))&&$APP.I("bar",$APP.Gn.i(a))},N$=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH"),e=$APP.k(a,"__xLiquidFillTime"),f=$APP.k(a,"__xLiquidFillProg"),h=$APP.on.i(b);b=M$(b);var l=$APP.k(a,"__xLiquidFillWA"),m=$APP.k(a,"__xLiquidFillWP");a=$APP.G($APP.k(a,"__xLiquidFillRefs"));a=$APP.C(a,y$);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var q=0;;)if(q<h){var r=a[q],v=l[q],
17
+ x=m[q];if(b){var z=d*(1-f),B=c,E=d,H=e,K=[];K.push("M0,"+$APP.V.i((z+u$(0,H,v,x)).toFixed(2)));for(var J=0;;)if(J<10){var P=(J+.5)/10,ea=(J+1)/10,la=z+u$(P,H,v,x),Ea=ea*B;ea=z+u$(ea,H,v,x);K.push("Q"+$APP.V.i((P*B).toFixed(2))+","+$APP.V.i(la.toFixed(2))+" "+$APP.V.i(Ea.toFixed(2))+","+$APP.V.i(ea.toFixed(2)));J+=1}else break;K.push("L"+$APP.V.i(B.toFixed(2))+","+$APP.V.i(E.toFixed(2)));K.push("L0,"+$APP.V.i(E.toFixed(2)));K.push("Z");r.setAttribute("d",K.join(""))}else{z=c*f;B=d;E=e;H=v;v=x;x=[];
18
+ x.push("M"+$APP.V.i((z+u$(0,E,H,v)).toFixed(2))+",0");for(K=0;;)if(K<10)J=(K+.5)/10,Ea=(K+1)/10,P=J*B,la=Ea*B,Ea=z+u$(Ea,E,H,v),x.push("Q"+$APP.V.i((z+u$(J,E,H,v)).toFixed(2))+","+$APP.V.i(P.toFixed(2))+" "+$APP.V.i(Ea.toFixed(2))+","+$APP.V.i(la.toFixed(2))),K+=1;else break;x.push("L0,"+$APP.V.i(B.toFixed(2)));x.push("L0,0");x.push("Z");r.setAttribute("d",x.join(""))}q+=1}else break},O$=function(a){var b=$APP.k(a,"__xLiquidFillModel"),c=$APP.k(a,"__xLiquidFillW"),d=$APP.k(a,"__xLiquidFillH");var e=
19
+ $APP.k(a,"__xLiquidFillProg");e=$APP.n(e)?e:0;var f=$APP.on.i(b);b=M$(b);a=$APP.G($APP.k(a,"__xLiquidFillRefs"));a=$APP.C(a,y$);if($APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c))for(var h=0;;)if(h<f){var l=a[h];if(b){var m=d*(1-e);l.setAttribute("d","M0,"+$APP.V.i(m.toFixed(2))+"L"+$APP.V.i(c.toFixed(2))+","+$APP.V.i(m.toFixed(2))+"L"+$APP.V.i(c.toFixed(2))+","+$APP.V.i(d.toFixed(2))+"L0,"+$APP.V.i(d.toFixed(2))+"Z")}else m=c*e,l.setAttribute("d","M"+$APP.V.i(m.toFixed(2))+",0L"+$APP.V.i(m.toFixed(2))+
20
+ ","+$APP.V.i(d.toFixed(2))+"L0,"+$APP.V.i(d.toFixed(2))+"L0,0Z");h+=1}else break},P$=function(a,b,c){$APP.Nh(a,"x-liquid-fill-progress",$APP.$l(new $APP.O(null,2,[$APP.qq,b,$APP.gq,c],null)))},R$=function(a){$APP.n($APP.k(a,"__xLiquidFillRaf"))||($APP.ja(a,"__xLiquidFillLF",performance.now()),$APP.ja(a,"__xLiquidFillRaf",requestAnimationFrame(function(){return Q$(a)})))},S$=function(a){var b=$APP.k(a,"__xLiquidFillRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidFillRaf=null)},V$=function(a){if($APP.n(function(){var h=
21
+ a.isConnected;return $APP.n(h)?(h=$APP.k(a,"__xLiquidFillVis"),$APP.n(h)?$APP.p($APP.Bi.i($APP.k(a,"__xLiquidFillModel"))):h):h}())){var b=$APP.k(a,"__xLiquidFillModel");$APP.k(a,"__xLiquidFillST")==null&&$APP.rr.i(b)!=null&&(b=x$(a,$APP.rr.i(b)),$APP.n(b)&&(T$.i?T$.i(a):T$.call(null,a),a.__xLiquidFillST=b,U$.i?U$.i(a):U$.call(null,a)));var c=$APP.k(a,"__xLiquidFillModel");b=$APP.k(a,"__xLiquidFillST");var d=$APP.Hp.i(c);d=gma(b,d);var e=d[0];b=d[1];d=d[2];var f=performance.now();b=bma(e,b,d);d=cma(e,
22
+ function(){var h=$APP.k(a,"__xLiquidFillLS");return $APP.n(h)?h:e}(),(f-function(){var h=$APP.k(a,"__xLiquidFillLST");return $APP.n(h)?h:f}())/1E3);a.__xLiquidFillTP=b;$APP.ja(a,"__xLiquidFillSV",Math.max(function(){var h=$APP.k(a,"__xLiquidFillSV");return $APP.n(h)?h:0}(),d));a.__xLiquidFillLS=e;a.__xLiquidFillLST=f;$APP.n(function(){var h=$APP.Bi.i(c);return $APP.n(h)?h:w$()}())||R$(a);$APP.n(function(){var h=$APP.Bi.i(c);return $APP.n(h)?h:w$()}())&&(a.__xLiquidFillProg=b,O$(a),P$(a,b,d))}return null},
23
23
  U$=function(a){var b=$APP.k(a,"__xLiquidFillHdl");if($APP.n($APP.n(b)?$APP.p($APP.k(b,"scrollAttached")):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.addEventListener("scroll",c,{passive:!0}):window.addEventListener("scroll",c,{passive:!0});b.scrollAttached=!0}else return null},T$=function(a){var b=$APP.k(a,"__xLiquidFillHdl");if($APP.n($APP.n(b)?$APP.k(b,"scrollAttached"):b)){var c=$APP.k(b,"scroll");a=$APP.k(a,"__xLiquidFillST");$APP.n(a)?a.removeEventListener("scroll",
24
- c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},W$=function(a){var b=$APP.No.i($APP.k(a,"__xLiquidFillModel")),c=x$(a,b);a.__xLiquidFillST=c;U$(a);V$(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.n(a.isConnected)){var d=$APP.No.i($APP.k(a,"__xLiquidFillModel"));d!=null&&$APP.k(a,"__xLiquidFillST")==null&&(d=x$(a,d),$APP.n(d)&&(T$(a),a.__xLiquidFillST=d,U$(a),V$(a)))}return null})},Ega=function(a){$APP.fa(a,"__xLiquidFillHdl",{scroll:function(){return V$(a)},
25
- scrollAttached:!1})},X$=function(a){T$(a);a.__xLiquidFillHdl=null},Fga=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.n(c)?(c=$APP.Y.i($APP.k(a,"__xLiquidFillModel")),c=$APP.n(c)?c:w$(),$APP.n(c)||R$(a)):S$(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.H($APP.k(a,"__xLiquidFillRefs")),
26
- f=$APP.C(e,$APP.Cl),h=$APP.C(e,z$);e=$APP.C(e,A$);var l=Math.max(c,d);f.setAttribute("viewBox","0 0 "+$APP.R.i(c)+" "+$APP.R.i(d));h.setAttribute("x",""+$APP.R.i(c*.3));e.setAttribute("cx",""+$APP.R.i(c*.5));e.setAttribute("cy",""+$APP.R.i(d));e.setAttribute("r",""+$APP.R.i(l));e.setAttribute("fx",""+$APP.R.i(c*.5));e.setAttribute("fy",""+$APP.R.i(d));c=$APP.Y.i($APP.k(a,"__xLiquidFillModel"));c=$APP.n(c)?c:w$();$APP.n(c)?O$(a):(N$(a),R$(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},Z$=function(a,
27
- b){b=$APP.C(Gga,b);$APP.n(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.Fm.i(b)),a.setProperty("--x-liquid-fill-color-2",$APP.Gm.i(b)),a.setProperty("--x-liquid-fill-color-3",Y$.i(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.Om.i(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"))},Hga=function(a){Object.defineProperty(a,"target",
28
- {get:function(){return this.getAttribute("target")},set:function(b){return $APP.n(b)?this.setAttribute("target",""+$APP.R.i(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return m$(this.getAttribute("orientation"))},set:function(b){return $APP.n(b)?this.setAttribute("orientation",""+$APP.R.i(b)):this.removeAttribute("orientation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return n$(this.getAttribute("mode"))},
29
- set:function(b){return $APP.n(b)?this.setAttribute("mode",""+$APP.R.i(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return o$(this.getAttribute("theme"))},set:function(b){return $APP.n(b)?this.setAttribute("theme",""+$APP.R.i(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,"waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return p$(b,.5)},set:function(b){return b==
30
- null?this.removeAttribute("wave-intensity"):this.setAttribute("wave-intensity",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return p$(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){return q$(this.getAttribute("layers"))},set:function(b){return b==
31
- null?this.removeAttribute("layers"):this.setAttribute("layers",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"progress",{get:function(){var b=$APP.k(this,"__xLiquidFillProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0})},Iga=function(a){var b=
32
- J$(a);a.__xLiquidFillModel=b;a.__xLiquidFillProg=0;a.__xLiquidFillTP=0;a.__xLiquidFillSV=0;a.__xLiquidFillTime=0;a.__xLiquidFillLD=-1;a.__xLiquidFillVis=!0;$APP.n($APP.k(a,"__xLiquidFillRefs"))||Dga(a);Z$(a,G$.i(b));K$(a,$APP.rk.i(b));L$(a,$APP.rk.i(b));X$(a);Ega(a);Fga(a);W$(a);return null},Jga=function(a){S$(a);X$(a);var b=$APP.k(a,"__xLiquidFillIO");$APP.n(b)&&(b.disconnect(),a.__xLiquidFillIO=null);b=$APP.k(a,"__xLiquidFillRO");$APP.n(b)&&(b.disconnect(),a.__xLiquidFillRO=null);a.__xLiquidFillVis=
33
- !1;return null},Kga=function(a,b,c,d){if($APP.M(c,d)&&$APP.n($APP.k(a,"__xLiquidFillRefs"))){b=J$(a);c=$APP.k(a,"__xLiquidFillModel");a.__xLiquidFillModel=b;if(c==null||$APP.M($APP.rk.i(b),$APP.rk.i(c)))K$(a,$APP.rk.i(b)),L$(a,$APP.rk.i(b));(c==null||$APP.M(G$.i(b),G$.i(c)))&&Z$(a,G$.i(b));if(c==null||$APP.M($APP.No.i(b),$APP.No.i(c)))T$(a),W$(a);c=$APP.k(a,"__xLiquidFillW");d=$APP.k(a,"__xLiquidFillH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(b=$APP.Y.i(b),b=$APP.n(b)?b:w$(),$APP.n(b)?(S$(a),O$(a)):
34
- (N$(a),R$(a)))}return null},$$=function(){return $APP.Wg("x-liquid-fill",new $APP.P(null,5,[$APP.Mg,Lga,$APP.Ng,Iga,$APP.Og,Jga,$APP.Qg,Kga,$APP.Ug,Hga],null))},s$=new $APP.F(null,"amp-mult","amp-mult",698045242),z$=new $APP.F(null,"feLight","feLight",-1941454484),r$=new $APP.F(null,"speed-mult","speed-mult",-353631814),F$=new $APP.F(null,"layers-raw","layers-raw",-233899391),uga=new $APP.F(null,"phase-offset","phase-offset",-1013192067),y$=new $APP.F(null,"paths","paths",-1807389588),C$=new $APP.F(null,
35
- "theme-raw","theme-raw",1068228849),B$=new $APP.F(null,"filt-id","filt-id",-672558408),H$=new $APP.F(null,"wave-intensity","wave-intensity",-915557489),A$=new $APP.F(null,"grad","grad",1125187229),G$=new $APP.F(null,"theme","theme",-1247880880),Y$=new $APP.F(null,"color-3","color-3",265727868),D$=new $APP.F(null,"wave-intensity-raw","wave-intensity-raw",1563162777),Cga=new $APP.F(null,"grad-id","grad-id",1430109665),I$=new $APP.F(null,"splash-intensity","splash-intensity",-619909243),E$=new $APP.F(null,
36
- "splash-intensity-raw","splash-intensity-raw",1573376927);var Lga="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
- $APP.Hf([new $APP.F(null,"waveIntensity","waveIntensity",695633410),$APP.fl,new $APP.F(null,"splashIntensity","splashIntensity",1275664841),$APP.Kk,$APP.Pm,G$,$APP.rk,$APP.No,$APP.Kn],[new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.V],null),
38
- new $APP.P(null,2,[$APP.S,$APP.W,$APP.Ol,!0],null)]);$APP.Ud(["x-liquid-fill-progress",new $APP.P(null,2,[$APP.Z,new $APP.P(null,2,[$APP.Kn,$APP.W,$APP.rn,$APP.W],null),$APP.Un,!1],null)]);
39
- var rga=new $APP.Q(null,new $APP.P(null,2,["vertical",null,"horizontal",null],null),null),sga=new $APP.Q(null,new $APP.P(null,2,["bar",null,"fill",null],null),null),tga=new $APP.Q(null,new $APP.P(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),Gga=new $APP.P(null,3,["gold",new $APP.P(null,4,[$APP.Fm,"#B8860B",$APP.Gm,"#D4AF37",Y$,"#F9F295",$APP.Om,"rgba(255,255,240,0.6)"],null),"water",new $APP.P(null,4,[$APP.Fm,"#0077B6",$APP.Gm,"#00B4D8",Y$,"#90E0EF",$APP.Om,"rgba(255,255,255,0.5)"],
40
- null),"lava",new $APP.P(null,4,[$APP.Fm,"#8B0000",$APP.Gm,"#FF4500",Y$,"#FF8C00",$APP.Om,"rgba(255,255,200,0.7)"],null)],null);var v$=0,Bga=":host{display:block;position:relative;overflow:hidden;"+$APP.R.i("--x-liquid-fill-bg")+":transparent;"+$APP.R.i("--x-liquid-fill-border")+":none;"+$APP.R.i("--x-liquid-fill-radius")+":0;"+$APP.R.i("--x-liquid-fill-opacity")+":1;"+$APP.R.i("--x-liquid-fill-wave-speed")+":1;"+$APP.R.i("--x-liquid-fill-color-1")+":#B8860B;"+$APP.R.i("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.R.i("--x-liquid-fill-color-3")+":#F9F295;"+$APP.R.i("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
41
- $APP.R.i("--x-liquid-fill-bg")+",transparent);border:var("+$APP.R.i("--x-liquid-fill-border")+",none);border-radius:var("+$APP.R.i("--x-liquid-fill-radius")+",0);}:host([mode\x3dbar]){"+$APP.R.i("--x-liquid-fill-bar-height")+":14px;height:var("+$APP.R.i("--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.R.i("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.R.i("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.R.i("--x-liquid-fill-bg")+":transparent;"+$APP.R.i("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.R.i("wave-layer")+"{transition:none!important;}}",Q$=function Q$(a){if(!$APP.p(a.isConnected))if($APP.n(function(){var G=$APP.Y.i($APP.k(a,"__xLiquidFillModel"));return $APP.n(G)?
43
- G:w$()}()))a.__xLiquidFillRaf=null;else{var c=$APP.k(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xLiquidFillLF"),100)/1E3,f=function(){var G=window.getComputedStyle(a).getPropertyValue("--x-liquid-fill-wave-speed");G=typeof G==="string"?parseFloat(G.trim()):null;var I=G==null;I||(I=isNaN(G),I=$APP.n(I)?I:G<=0);return $APP.n(I)?1:G}(),h=$APP.rk.i(c),l=H$.i(c);c=I$.i(c);var m=function(){var G=$APP.k(a,"__xLiquidFillSV");return $APP.n(G)?G:0}(),q=$APP.k(a,"__xLiquidFillWA"),
44
- r=$APP.k(a,"__xLiquidFillWV"),v=$APP.k(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.fa(a,"__xLiquidFillTime",function(){var G=$APP.k(a,"__xLiquidFillTime");return $APP.n(G)?G:0}()+e*f);$APP.fa(a,"__xLiquidFillProg",yga(function(){var G=$APP.k(a,"__xLiquidFillProg");return $APP.n(G)?G:0}(),function(){var G=$APP.k(a,"__xLiquidFillTP");return $APP.n(G)?G:0}(),5*e));var w=[!1];for(d=0;;)if(d<h){var y=t$(d,h),A=m*l*c*s$.i(y)*30+2*l*s$.i(y);A=xga(q[d],A,r[d],e,$APP.sn.i(y),$APP.gm.i(y));q[d]=A[0];r[d]=
45
- A[1];v[d]+=e*f*r$.i(y);Math.abs(r[d])>.05&&(w[0]=!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);N$(a);e=$APP.k(a,"__xLiquidFillProg");Math.abs(e-function(){var G=$APP.k(a,"__xLiquidFillLD");return $APP.n(G)?G:-1}())>.005&&(a.__xLiquidFillLD=e,P$(a,e,m));var D=Math.abs(function(){var G=$APP.k(a,"__xLiquidFillProg");return $APP.n(G)?G:0}()-function(){var G=$APP.k(a,"__xLiquidFillTP");return $APP.n(G)?G:0}());$APP.n(function(){var G=w[0];return $APP.n(G)?G:m>.01||D>.001}())?$APP.fa(a,"__xLiquidFillRaf",
46
- requestAnimationFrame(function(){return Q$.i?Q$.i(a):Q$.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.da("baredom.exports.x_liquid_fill.init",$$);export const init=$$;
24
+ c):window.removeEventListener("scroll",c);b.scrollAttached=!1}else return null},W$=function(a){var b=$APP.rr.i($APP.k(a,"__xLiquidFillModel")),c=x$(a,b);a.__xLiquidFillST=c;U$(a);V$(a);b!=null&&c==null&&requestAnimationFrame(function(){if($APP.n(a.isConnected)){var d=$APP.rr.i($APP.k(a,"__xLiquidFillModel"));d!=null&&$APP.k(a,"__xLiquidFillST")==null&&(d=x$(a,d),$APP.n(d)&&(T$(a),a.__xLiquidFillST=d,U$(a),V$(a)))}return null})},kma=function(a){$APP.ja(a,"__xLiquidFillHdl",{scroll:function(){return V$(a)},
25
+ scrollAttached:!1})},X$=function(a){T$(a);a.__xLiquidFillHdl=null},lma=function(a){var b=new IntersectionObserver(function(c){c=c[0].isIntersecting;a.__xLiquidFillVis=c;$APP.n(c)?(c=$APP.Bi.i($APP.k(a,"__xLiquidFillModel")),c=$APP.n(c)?c:w$(),$APP.n(c)||R$(a)):S$(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.G($APP.k(a,"__xLiquidFillRefs")),
26
+ f=$APP.C(e,$APP.po),h=$APP.C(e,z$);e=$APP.C(e,A$);var l=Math.max(c,d);f.setAttribute("viewBox","0 0 "+$APP.V.i(c)+" "+$APP.V.i(d));h.setAttribute("x",""+$APP.V.i(c*.3));e.setAttribute("cx",""+$APP.V.i(c*.5));e.setAttribute("cy",""+$APP.V.i(d));e.setAttribute("r",""+$APP.V.i(l));e.setAttribute("fx",""+$APP.V.i(c*.5));e.setAttribute("fy",""+$APP.V.i(d));c=$APP.Bi.i($APP.k(a,"__xLiquidFillModel"));c=$APP.n(c)?c:w$();$APP.n(c)?O$(a):(N$(a),R$(a))}}return null});b.observe(a);a.__xLiquidFillRO=b},Z$=function(a,
27
+ b){b=$APP.C(mma,b);$APP.n(b)?(a=a.style,a.setProperty("--x-liquid-fill-color-1",$APP.xp.i(b)),a.setProperty("--x-liquid-fill-color-2",$APP.yp.i(b)),a.setProperty("--x-liquid-fill-color-3",Y$.i(b)),a.setProperty("--x-liquid-fill-specular-color",$APP.Gp.i(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"))},nma=function(a){Object.defineProperty(a,"target",
28
+ {get:function(){return this.getAttribute("target")},set:function(b){return $APP.n(b)?this.setAttribute("target",""+$APP.V.i(b)):this.removeAttribute("target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"orientation",{get:function(){return m$(this.getAttribute("orientation"))},set:function(b){return $APP.n(b)?this.setAttribute("orientation",""+$APP.V.i(b)):this.removeAttribute("orientation")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){return n$(this.getAttribute("mode"))},
29
+ set:function(b){return $APP.n(b)?this.setAttribute("mode",""+$APP.V.i(b)):this.removeAttribute("mode")},enumerable:!0,configurable:!0});Object.defineProperty(a,"theme",{get:function(){return o$(this.getAttribute("theme"))},set:function(b){return $APP.n(b)?this.setAttribute("theme",""+$APP.V.i(b)):this.removeAttribute("theme")},enumerable:!0,configurable:!0});Object.defineProperty(a,"waveIntensity",{get:function(){var b=this.getAttribute("wave-intensity");return p$(b,.5)},set:function(b){return b==
30
+ null?this.removeAttribute("wave-intensity"):this.setAttribute("wave-intensity",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"splashIntensity",{get:function(){var b=this.getAttribute("splash-intensity");return p$(b,.7)},set:function(b){return b==null?this.removeAttribute("splash-intensity"):this.setAttribute("splash-intensity",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"layers",{get:function(){return q$(this.getAttribute("layers"))},set:function(b){return b==
31
+ null?this.removeAttribute("layers"):this.setAttribute("layers",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});return Object.defineProperty(a,"progress",{get:function(){var b=$APP.k(this,"__xLiquidFillProg");return $APP.n(b)?b:0},enumerable:!0,configurable:!0})},oma=function(a){var b=
32
+ J$(a);a.__xLiquidFillModel=b;a.__xLiquidFillProg=0;a.__xLiquidFillTP=0;a.__xLiquidFillSV=0;a.__xLiquidFillTime=0;a.__xLiquidFillLD=-1;a.__xLiquidFillVis=!0;$APP.n($APP.k(a,"__xLiquidFillRefs"))||jma(a);Z$(a,G$.i(b));K$(a,$APP.on.i(b));L$(a,$APP.on.i(b));X$(a);kma(a);lma(a);W$(a);return null},pma=function(a){S$(a);X$(a);var b=$APP.k(a,"__xLiquidFillIO");$APP.n(b)&&(b.disconnect(),a.__xLiquidFillIO=null);b=$APP.k(a,"__xLiquidFillRO");$APP.n(b)&&(b.disconnect(),a.__xLiquidFillRO=null);a.__xLiquidFillVis=
33
+ !1;return null},qma=function(a,b,c,d){if($APP.I(c,d)&&$APP.n($APP.k(a,"__xLiquidFillRefs"))){b=J$(a);c=$APP.k(a,"__xLiquidFillModel");a.__xLiquidFillModel=b;if(c==null||$APP.I($APP.on.i(b),$APP.on.i(c)))K$(a,$APP.on.i(b)),L$(a,$APP.on.i(b));(c==null||$APP.I(G$.i(b),G$.i(c)))&&Z$(a,G$.i(b));if(c==null||$APP.I($APP.rr.i(b),$APP.rr.i(c)))T$(a),W$(a);c=$APP.k(a,"__xLiquidFillW");d=$APP.k(a,"__xLiquidFillH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(b=$APP.Bi.i(b),b=$APP.n(b)?b:w$(),$APP.n(b)?(S$(a),
34
+ O$(a)):(N$(a),R$(a)))}return null},$$=function(){return $APP.Ah("x-liquid-fill",new $APP.O(null,5,[$APP.qh,rma,$APP.oh,oma,$APP.lh,pma,$APP.kh,qma,$APP.ph,nma],null))},s$=new $APP.F(null,"amp-mult","amp-mult",698045242),z$=new $APP.F(null,"feLight","feLight",-1941454484),r$=new $APP.F(null,"speed-mult","speed-mult",-353631814),F$=new $APP.F(null,"layers-raw","layers-raw",-233899391),ama=new $APP.F(null,"phase-offset","phase-offset",-1013192067),y$=new $APP.F(null,"paths","paths",-1807389588),C$=new $APP.F(null,
35
+ "theme-raw","theme-raw",1068228849),B$=new $APP.F(null,"filt-id","filt-id",-672558408),H$=new $APP.F(null,"wave-intensity","wave-intensity",-915557489),A$=new $APP.F(null,"grad","grad",1125187229),G$=new $APP.F(null,"theme","theme",-1247880880),Y$=new $APP.F(null,"color-3","color-3",265727868),D$=new $APP.F(null,"wave-intensity-raw","wave-intensity-raw",1563162777),ima=new $APP.F(null,"grad-id","grad-id",1430109665),I$=new $APP.F(null,"splash-intensity","splash-intensity",-619909243),E$=new $APP.F(null,
36
+ "splash-intensity-raw","splash-intensity-raw",1573376927);var rma="target orientation mode theme wave-intensity splash-intensity layers disabled".split(" ");
37
+ $APP.Wf([new $APP.F(null,"waveIntensity","waveIntensity",695633410),$APP.ck,new $APP.F(null,"splashIntensity","splashIntensity",1275664841),$APP.Gn,$APP.Hp,G$,$APP.on,$APP.rr,$APP.qq],[new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.Xh],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),
38
+ new $APP.O(null,2,[$APP.Q,$APP.Y,$APP.Ao,!0],null)]);$APP.ce(["x-liquid-fill-progress",new $APP.O(null,2,[$APP.U,new $APP.O(null,2,[$APP.qq,$APP.Y,$APP.gq,$APP.Y],null),$APP.Aq,!1],null)]);
39
+ var Yla=new $APP.pg(null,new $APP.O(null,2,["vertical",null,"horizontal",null],null),null),Zla=new $APP.pg(null,new $APP.O(null,2,["bar",null,"fill",null],null),null),$la=new $APP.pg(null,new $APP.O(null,4,["custom",null,"gold",null,"lava",null,"water",null],null),null),mma=new $APP.O(null,3,["gold",new $APP.O(null,4,[$APP.xp,"#B8860B",$APP.yp,"#D4AF37",Y$,"#F9F295",$APP.Gp,"rgba(255,255,240,0.6)"],null),"water",new $APP.O(null,4,[$APP.xp,"#0077B6",$APP.yp,"#00B4D8",Y$,"#90E0EF",$APP.Gp,"rgba(255,255,255,0.5)"],
40
+ null),"lava",new $APP.O(null,4,[$APP.xp,"#8B0000",$APP.yp,"#FF4500",Y$,"#FF8C00",$APP.Gp,"rgba(255,255,200,0.7)"],null)],null);var v$=0,hma=":host{display:block;position:relative;overflow:hidden;"+$APP.V.i("--x-liquid-fill-bg")+":transparent;"+$APP.V.i("--x-liquid-fill-border")+":none;"+$APP.V.i("--x-liquid-fill-radius")+":0;"+$APP.V.i("--x-liquid-fill-opacity")+":1;"+$APP.V.i("--x-liquid-fill-wave-speed")+":1;"+$APP.V.i("--x-liquid-fill-color-1")+":#B8860B;"+$APP.V.i("--x-liquid-fill-color-2")+":#D4AF37;"+$APP.V.i("--x-liquid-fill-color-3")+":#F9F295;"+$APP.V.i("--x-liquid-fill-specular-color")+":rgba(255,255,240,0.6);}:host{background:var("+
41
+ $APP.V.i("--x-liquid-fill-bg")+",transparent);border:var("+$APP.V.i("--x-liquid-fill-border")+",none);border-radius:var("+$APP.V.i("--x-liquid-fill-radius")+",0);}:host([mode\x3dbar]){"+$APP.V.i("--x-liquid-fill-bar-height")+":14px;height:var("+$APP.V.i("--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.V.i("--x-liquid-fill-opacity")+",1);}[part\x3dcontent]{position:relative;z-index:1;}."+$APP.V.i("wave-layer")+"{transition:none;}@media(prefers-color-scheme:dark){:host{"+$APP.V.i("--x-liquid-fill-bg")+":transparent;"+$APP.V.i("--x-liquid-fill-specular-color")+":rgba(255,255,200,0.4);}}@media(prefers-reduced-motion:reduce){."+$APP.V.i("wave-layer")+"{transition:none!important;}}",Q$=function Q$(a){if(!$APP.p(a.isConnected))if($APP.n(function(){var H=$APP.Bi.i($APP.k(a,"__xLiquidFillModel"));
43
+ return $APP.n(H)?H:w$()}()))a.__xLiquidFillRaf=null;else{var c=$APP.k(a,"__xLiquidFillModel"),d=performance.now(),e=Math.min(d-$APP.k(a,"__xLiquidFillLF"),100)/1E3,f=function(){var H=window.getComputedStyle(a).getPropertyValue("--x-liquid-fill-wave-speed");H=typeof H==="string"?parseFloat(H.trim()):null;var K=H==null;K||(K=isNaN(H),K=$APP.n(K)?K:H<=0);return $APP.n(K)?1:H}(),h=$APP.on.i(c),l=H$.i(c);c=I$.i(c);var m=function(){var H=$APP.k(a,"__xLiquidFillSV");return $APP.n(H)?H:0}(),q=$APP.k(a,"__xLiquidFillWA"),
44
+ r=$APP.k(a,"__xLiquidFillWV"),v=$APP.k(a,"__xLiquidFillWP");a.__xLiquidFillLF=d;$APP.ja(a,"__xLiquidFillTime",function(){var H=$APP.k(a,"__xLiquidFillTime");return $APP.n(H)?H:0}()+e*f);$APP.ja(a,"__xLiquidFillProg",ema(function(){var H=$APP.k(a,"__xLiquidFillProg");return $APP.n(H)?H:0}(),function(){var H=$APP.k(a,"__xLiquidFillTP");return $APP.n(H)?H:0}(),5*e));var x=[!1];for(d=0;;)if(d<h){var z=t$(d,h),B=m*l*c*s$.i(z)*30+2*l*s$.i(z);B=dma(q[d],B,r[d],e,$APP.hq.i(z),$APP.Zo.i(z));q[d]=B[0];r[d]=
45
+ B[1];v[d]+=e*f*r$.i(z);Math.abs(r[d])>.05&&(x[0]=!0);d+=1}else break;a.__xLiquidFillSV=m*Math.max(0,1-3*e);N$(a);e=$APP.k(a,"__xLiquidFillProg");Math.abs(e-function(){var H=$APP.k(a,"__xLiquidFillLD");return $APP.n(H)?H:-1}())>.005&&(a.__xLiquidFillLD=e,P$(a,e,m));var E=Math.abs(function(){var H=$APP.k(a,"__xLiquidFillProg");return $APP.n(H)?H:0}()-function(){var H=$APP.k(a,"__xLiquidFillTP");return $APP.n(H)?H:0}());$APP.n(function(){var H=x[0];return $APP.n(H)?H:m>.01||E>.001}())?$APP.ja(a,"__xLiquidFillRaf",
46
+ requestAnimationFrame(function(){return Q$.i?Q$.i(a):Q$.call(null,a)})):a.__xLiquidFillRaf=null}return null};$APP.ha("baredom.exports.x_liquid_fill.init",$$);export const init=$$;
@@ -1,48 +1,48 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var c3=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.B.j(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},d3=function(a){if(typeof a==="string"){a=a.trim();if($APP.B.j(a,""))return 5;a=parseInt(a,10);return $APP.n(isNaN(a))?5:Math.min(8,Math.max(3,a))}return 5},Nba=function(a){return typeof a==="string"?(a=a.trim(),$APP.M(a,"")?a:null):null},e3=function(a){return typeof a==="string"?(a=a.trim(),$APP.M(a,"")?a:null):null},Pba=function(a){a=
3
- $APP.C(Oba,typeof a==="string"?a.trim().toLowerCase():null);return $APP.n(a)?a:f3},Qba=function(a){var b=$APP.H(a);a=$APP.C(b,$APP.qk);var c=$APP.C(b,g3),d=$APP.C(b,h3),e=$APP.C(b,$APP.$n),f=$APP.C(b,i3),h=$APP.C(b,j3),l=$APP.C(b,$APP.Wm),m=$APP.C(b,k3),q=$APP.C(b,$APP.Cm),r=$APP.C(b,l3),v=$APP.C(b,m3),w=$APP.C(b,n3),y=$APP.C(b,o3);b=$APP.C(b,p3);return $APP.Hf([q3,r3,s3,$APP.Tk,$APP.Kk,t3,u3,v3,$APP.Gm,$APP.yj,$APP.Fm,$APP.vo,w3,$APP.Y],[c3(r,.5,0,1),c3(y,10,4,20),c3(h,.15,.05,.4),c3(q,.3,.05,2),
4
- Pba(l),Nba(d),c3(c,.4,.1,1),b!=null,function(){var A=e3(v);return $APP.n(A)?A:"rgba(244,114,182,0.35)"}(),c3(e,12,0,40),function(){var A=e3(w);return $APP.n(A)?A:"rgba(99,102,241,0.4)"}(),d3(f),c3(m,.3,0,1),a!=null])},x3=function(a,b,c){return Math.sin(a*1.7+c*.3)*Math.cos(b*2.3+c*.5)*.5+Math.sin(a*3.1-c*.7)*Math.cos(b*1.3+c*.2)*.25+Math.sin(a*5.3+c*.4)*Math.cos(b*4.7-c*.6)*.125},Rba=function(){var a=$APP.k(y3,"v");y3.v=a+1;return a},z3=function(){return $APP.E(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},
5
- Tba=function(a){var b=Rba(),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElementNS("http://www.w3.org/2000/svg","svg"),f=document.createElementNS("http://www.w3.org/2000/svg","defs"),h=document.createElementNS("http://www.w3.org/2000/svg","filter"),l=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),m=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),q=document.createElementNS("http://www.w3.org/2000/svg","g"),r=document.createElementNS("http://www.w3.org/2000/svg",
6
- "ellipse"),v=document.createElement("div"),w=document.createElement("div"),y=document.createElement("div"),A=document.createElement("div"),D=document.createElement("div"),G=document.createElement("slot"),I="lg-goo-"+$APP.R.i(b);a.__xLiquidGlassUID=b;d.textContent=":host{display:block;position:relative;isolation:isolate;min-width:120px;min-height:80px;"+$APP.R.i("--x-liquid-glass-padding")+":1.5rem;"+$APP.R.i("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.6);"+$APP.R.i("--x-liquid-glass-spring")+
7
- ":"+$APP.R.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+";"+$APP.R.i("--x-liquid-glass-spring-duration")+":"+
8
- $APP.R.i("600ms")+";}[part\x3dsvg]{display:block;width:100%;height:100%;position:absolute;inset:0;overflow:visible;pointer-events:none;z-index:1;}[part\x3dglass]{position:absolute;inset:0;backdrop-filter:blur(var("+$APP.R.i("--x-liquid-glass-blur")+",12px)) saturate(180%);-webkit-backdrop-filter:blur(var("+$APP.R.i("--x-liquid-glass-blur")+",12px)) saturate(180%);z-index:0;}[part\x3dgrain]{position:absolute;inset:0;z-index:2;opacity:0.4;pointer-events:none;}[part\x3dgradient]{position:absolute;inset:0;z-index:1;pointer-events:none;}[part\x3dspecular]{position:absolute;inset:0;z-index:1;opacity:0;pointer-events:none;transition:background var("+
9
- $APP.R.i("--x-liquid-glass-spring-duration")+","+$APP.R.i("600ms")+") var("+$APP.R.i("--x-liquid-glass-spring")+","+$APP.R.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
10
- "),opacity var("+$APP.R.i("--x-liquid-glass-spring-duration")+","+$APP.R.i("600ms")+") var("+$APP.R.i("--x-liquid-glass-spring")+","+$APP.R.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
11
- ");}[part\x3dcontent]{position:relative;padding:var("+$APP.R.i("--x-liquid-glass-padding")+",1.5rem);z-index:3;}@keyframes lg-enter{from{opacity:0;transform:scale(0.92);}to{opacity:1;transform:scale(1);}}:host([data-entering]) [part\x3dglass],:host([data-entering]) [part\x3dsvg]{animation:lg-enter var("+$APP.R.i("--x-liquid-glass-spring-duration")+","+$APP.R.i("600ms")+") var("+$APP.R.i("--x-liquid-glass-spring")+","+$APP.R.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
12
- ") both;}@media(prefers-color-scheme:dark){:host{"+$APP.R.i("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.3);}}@media(prefers-reduced-motion:reduce){:host([data-entering]) [part\x3dglass],:host([data-entering]) [part\x3dsvg]{animation:none;}[part\x3dspecular]{transition:none!important;}}";e.setAttribute("part","svg");e.setAttribute("viewBox","0 0 300 200");e.setAttribute("preserveAspectRatio","none");e.setAttribute("aria-hidden","true");h.setAttribute("id",I);l.setAttribute("in","SourceGraphic");
13
- l.setAttribute("stdDeviation","10");l.setAttribute("result","blur");m.setAttribute("in","blur");m.setAttribute("mode","matrix");m.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9");h.appendChild(l);h.appendChild(m);f.appendChild(h);e.appendChild(f);q.setAttribute("filter","url(#"+$APP.R.i(I)+")");q.setAttribute("opacity","0.35");r.setAttribute("class","blob-core");q.appendChild(r);e.appendChild(q);m=document.createElementNS("http://www.w3.org/2000/svg","linearGradient");var J="lg-edge-"+
14
- $APP.R.i(b),K=document.createElementNS("http://www.w3.org/2000/svg","stop"),ba=document.createElementNS("http://www.w3.org/2000/svg","stop"),ia=document.createElementNS("http://www.w3.org/2000/svg","stop");m.setAttribute("id",J);m.setAttribute("x1","0");m.setAttribute("y1","0");m.setAttribute("x2","1");m.setAttribute("y2","1");K.setAttribute("offset","0%");K.setAttribute("stop-color","white");K.setAttribute("stop-opacity","0.9");ba.setAttribute("offset","50%");ba.setAttribute("stop-color","white");
15
- ba.setAttribute("stop-opacity","0.15");ia.setAttribute("offset","100%");ia.setAttribute("stop-color","white");ia.setAttribute("stop-opacity","0.5");m.appendChild(K);m.appendChild(ba);m.appendChild(ia);f.appendChild(m);a.__xLiquidGlassEdgeId=J;m=document.createElementNS("http://www.w3.org/2000/svg","g");J=document.createElementNS("http://www.w3.org/2000/svg","ellipse");K=$APP.k(a,"__xLiquidGlassEdgeId");m.setAttribute("filter","url(#"+$APP.R.i(I)+")");m.setAttribute("opacity","0.7");J.setAttribute("class",
16
- "blob-border");J.setAttribute("fill","none");J.setAttribute("stroke","url(#"+$APP.R.i(K)+")");J.setAttribute("stroke-width","2.5");m.appendChild(J);e.appendChild(m);a.__xLiquidGlassBorderG=m;a.__xLiquidGlassBorderCore=J;m=document.createElementNS("http://www.w3.org/2000/svg","filter");J="lg-grain-"+$APP.R.i(b);K=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence");ba=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");m.setAttribute("id",J);K.setAttribute("type",
17
- "fractalNoise");K.setAttribute("baseFrequency","0.6");K.setAttribute("numOctaves","3");K.setAttribute("stitchTiles","stitch");ba.setAttribute("type","matrix");ba.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0");m.appendChild(K);m.appendChild(ba);f.appendChild(m);a.__xLiquidGlassGrainId=J;m=document.createElementNS("http://www.w3.org/2000/svg","mask");b="lg-mask-"+$APP.R.i(b);J=document.createElementNS("http://www.w3.org/2000/svg","g");K=document.createElementNS("http://www.w3.org/2000/svg",
18
- "ellipse");m.setAttribute("id",b);m.setAttribute("maskUnits","userSpaceOnUse");m.setAttribute("maskContentUnits","userSpaceOnUse");J.setAttribute("filter","url(#"+$APP.R.i(I)+")");K.setAttribute("fill","white");J.appendChild(K);m.appendChild(J);f.appendChild(m);a.__xLiquidGlassMaskG=J;a.__xLiquidGlassMaskCore=K;$APP.fa(a,"__xLiquidGlassMaskSats",[]);a.__xLiquidGlassMaskId=b;v.setAttribute("part","glass");f="url(#"+$APP.R.i($APP.k(a,"__xLiquidGlassMaskId"))+")";v.style.mask=f;v.style.webkitMask=f;
19
- w.setAttribute("part","grain");w.style.filter="url(#"+$APP.R.i($APP.k(a,"__xLiquidGlassGrainId"))+")";f="url(#"+$APP.R.i($APP.k(a,"__xLiquidGlassMaskId"))+")";w.style.mask=f;w.style.webkitMask=f;y.setAttribute("part","gradient");f="url(#"+$APP.R.i($APP.k(a,"__xLiquidGlassMaskId"))+")";y.style.mask=f;y.style.webkitMask=f;A.setAttribute("part","specular");f="url(#"+$APP.R.i($APP.k(a,"__xLiquidGlassMaskId"))+")";A.style.mask=f;A.style.webkitMask=f;D.setAttribute("part","content");D.appendChild(G);c.appendChild(d);
20
- c.appendChild(v);c.appendChild(e);c.appendChild(w);c.appendChild(y);c.appendChild(A);c.appendChild(D);a.setAttribute("data-entering","");setTimeout(function(){return a.removeAttribute("data-entering")},700);$APP.fa(a,"__xLiquidGlassRefs",$APP.Hf([$APP.Lj,$APP.Om,A3,$APP.pn,Sba,B3,$APP.yj,$APP.Qh,C3,$APP.Cl,D3,E3],[D,A,v,q,h,[],l,c,y,e,r,w]))},F3=function(a,b,c){var d=$APP.vo.i($APP.k(a,"__xLiquidGlassModel")),e=b/2,f=c/2,h=b*.32,l=c*.32,m=h*.55,q=l*.55;var r=h*.9;for(var v=l*.9,w=new Float64Array(d),
21
- y=new Float64Array(d),A=0;;)if(A<d){var D=2*Math.PI*(A/d);w[A]=e+r*Math.cos(D);y[A]=f+v*Math.sin(D);A+=1}else break;r=[w,y];v=$APP.H($APP.k(a,"__xLiquidGlassRefs"));v=$APP.C(v,D3);v.setAttribute("cx",""+$APP.R.i(e));v.setAttribute("cy",""+$APP.R.i(f));v.setAttribute("rx",""+$APP.R.i(h));v.setAttribute("ry",""+$APP.R.i(l));v=$APP.k(a,"__xLiquidGlassMaskCore");$APP.n(v)&&(v.setAttribute("cx",""+$APP.R.i(e)),v.setAttribute("cy",""+$APP.R.i(f)),v.setAttribute("rx",""+$APP.R.i(h)),v.setAttribute("ry",
22
- ""+$APP.R.i(l)));b*=.44;c*=.44;h=$APP.k(a,"__xLiquidGlassBorderCore");$APP.n(h)&&(h.setAttribute("cx",""+$APP.R.i(e)),h.setAttribute("cy",""+$APP.R.i(f)),h.setAttribute("rx",""+$APP.R.i(b)),h.setAttribute("ry",""+$APP.R.i(c)));f=$APP.k(a,"__xLiquidGlassRefs");e=$APP.pn.i(f);f=B3.i(f);c=$APP.k(a,"__xLiquidGlassMaskG");b=$APP.k(a,"__xLiquidGlassMaskSats");for(h=f.length-1;;)if(h>=d)e.removeChild(f[h]),$APP.n(c)&&c.removeChild(b[h]),--h;else break;f.length>d&&(f.length=d,$APP.n(b)&&(b.length=d));for(h=
23
- f.length;;)if(h<d)l=document.createElementNS("http://www.w3.org/2000/svg","ellipse"),l.setAttribute("class","blob-sat-"+$APP.R.i(h)),l.setAttribute("fill","#ffffff"),e.appendChild(l),f.push(l),$APP.n(c)&&(l=document.createElementNS("http://www.w3.org/2000/svg","ellipse"),l.setAttribute("fill","white"),c.appendChild(l),b.push(l)),h+=1;else break;e=$APP.H($APP.k(a,"__xLiquidGlassRefs"));e=$APP.C(e,B3);f=$APP.k(a,"__xLiquidGlassMaskSats");for(c=0;;)if(c<d)b=e[c],b.setAttribute("rx",""+$APP.R.i(m)),b.setAttribute("ry",
24
- ""+$APP.R.i(q)),$APP.n($APP.n(f)?c<f.length:f)&&(b=f[c],b.setAttribute("rx",""+$APP.R.i(m)),b.setAttribute("ry",""+$APP.R.i(q))),c+=1;else break;a.__xLiquidGlassRX=r[0];a.__xLiquidGlassRY=r[1]},H3=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.k(a,"__xLiquidGlassRefs"),d=$APP.yj.i(c),e=A3.i(c),f=$APP.Om.i(c),h=D3.i(c),l=$APP.pn.i(c);d.setAttribute("stdDeviation",""+$APP.R.i(r3.i(b)));e.style.setProperty("--x-liquid-glass-blur",""+$APP.R.i($APP.yj.i(b))+"px");h.setAttribute("fill","#ffffff");
25
- d=B3.i(c);e=d.length;for(h=0;;)if(h<e)d[h].setAttribute("fill","#ffffff"),h+=1;else break;h=$APP.B.j(G3,$APP.Kk.i(b));d=$APP.Lj.i(c);c=E3.i(c);e="url(#"+$APP.R.i($APP.k(a,"__xLiquidGlassMaskId"))+")";if(h){d.style.position="relative";d.style.zIndex="0";h=q3.i(b);var m=1-h*.5,q=h*.35,r=h*.2;d.style.filter="blur("+$APP.R.i((h*2).toFixed(1))+"px)";d.style.opacity=""+$APP.R.i(m.toFixed(2));d.style.mask=e;d.style.webkitMask=e;l.setAttribute("opacity",q.toFixed(2));$APP.n(c)&&(c.style.opacity=r.toFixed(2));
26
- a.style.contain="layout style"}else d.style.position="relative",d.style.zIndex="3",d.style.filter="",d.style.opacity="",d.style.mask="",d.style.webkitMask="",l.setAttribute("opacity","0.35"),$APP.n(c)&&(c.style.opacity="0.4"),a.style.contain="";$APP.n(v3.i(b))||(f.style.opacity="0")},I3=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel"),d=$APP.vo.i(c),e=$APP.Tk.i(c);c=s3.i(c)*(Math.min($APP.k(a,"__xLiquidGlassW"),$APP.k(a,"__xLiquidGlassH"))*.32)*.6;var f=$APP.k(a,"__xLiquidGlassRX"),h=$APP.k(a,
27
- "__xLiquidGlassRY"),l=$APP.H($APP.k(a,"__xLiquidGlassRefs"));l=$APP.C(l,B3);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var m=0;;)if(m<d){var q=m*2.39996;var r=[f[m]+c*x3(q,0,b*e),h[m]+c*x3(0,q,b*e)];q=r[0].toFixed(2);r=r[1].toFixed(2);var v=l[m];v.setAttribute("cx",q);v.setAttribute("cy",r);$APP.n($APP.n(a)?m<a.length:a)&&(v=a[m],v.setAttribute("cx",q),v.setAttribute("cy",r));m+=1}else break},Uba=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.Om.i($APP.k(a,"__xLiquidGlassRefs"));if($APP.n(v3.i(b))){var d=
28
- $APP.k(a,"__xLiquidGlassPA"),e=$APP.k(a,"__xLiquidGlassPX"),f=$APP.k(a,"__xLiquidGlassPY"),h=$APP.k(a,"__xLiquidGlassW");a=$APP.k(a,"__xLiquidGlassH");h=u3.i(b)*Math.min(h,a);a="var("+$APP.R.i("--x-liquid-glass-specular-color")+",rgba(255,255,255,0.6))";$APP.n(d)?(c.style.opacity=""+$APP.R.i(w3.i(b)),c.style.background="radial-gradient(ellipse "+$APP.R.i(h)+"px "+$APP.R.i(h)+"px at "+$APP.R.i(e.toFixed(1))+"px "+$APP.R.i(f.toFixed(1))+"px,"+$APP.R.i(a)+" 0%,transparent 100%)"):c.style.opacity="0"}},
29
- Vba=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel");a=C3.i($APP.k(a,"__xLiquidGlassRefs"));var d=$APP.Fm.i(c);c=$APP.Gm.i(c);var e=20+8*Math.cos(b*.09),f=70+12*Math.cos(b*.05),h=80+10*Math.sin(b*.06);a.style.background="radial-gradient(ellipse at "+$APP.R.i((30+10*Math.sin(b*.07)).toFixed(1))+"% "+$APP.R.i(e.toFixed(1))+"%,"+$APP.R.i(d)+" 0%,transparent 70%),radial-gradient(ellipse at "+$APP.R.i(f.toFixed(1))+"% "+$APP.R.i(h.toFixed(1))+"%,"+$APP.R.i(c)+" 0%,transparent 70%)"},K3=function(a){$APP.n($APP.k(a,
30
- "__xLiquidGlassRaf"))||($APP.fa(a,"__xLiquidGlassLF",performance.now()),$APP.fa(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return J3(a)})))},L3=function(a){var b=$APP.k(a,"__xLiquidGlassRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidGlassRaf=null)},M3=function(a){var b=$APP.vo.i($APP.k(a,"__xLiquidGlassModel")),c=$APP.k(a,"__xLiquidGlassRX"),d=$APP.k(a,"__xLiquidGlassRY"),e=$APP.H($APP.k(a,"__xLiquidGlassRefs"));e=$APP.C(e,B3);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var f=0;;)if(f<
31
- b){var h=c[f].toFixed(2),l=d[f].toFixed(2);if(f<e.length){var m=e[f];m.setAttribute("cx",h);m.setAttribute("cy",l)}$APP.n($APP.n(a)?f<a.length:a)&&(m=a[f],m.setAttribute("cx",h),m.setAttribute("cy",l));f+=1}else break},Wba=function(a,b){if(b.length>0){var c=b[0].contentRect;b=c.width;c=c.height;if(b>0&&c>0){a.__xLiquidGlassW=b;a.__xLiquidGlassH=c;var d=$APP.H($APP.k(a,"__xLiquidGlassRefs"));d=$APP.C(d,$APP.Cl);d.setAttribute("viewBox","0 0 "+$APP.R.i(b)+" "+$APP.R.i(c));d=d.querySelector("#"+$APP.R.i($APP.k(a,
32
- "__xLiquidGlassMaskId")));$APP.n(d)&&(d.setAttribute("x","0"),d.setAttribute("y","0"),d.setAttribute("width",""+$APP.R.i(b)),d.setAttribute("height",""+$APP.R.i(c)));F3(a,b,c);H3(a);var e=$APP.k(a,"__xLiquidGlassModel");$APP.n(function(){var f=$APP.Y.i(e);return $APP.n(f)?f:z3()}())?M3(a):(I3(a,function(){var f=$APP.k(a,"__xLiquidGlassTime");return $APP.n(f)?f:0}()),K3(a))}}return null},Xba=function(a){function b(){a.__xLiquidGlassPA=!1;return null}function c(){a.__xLiquidGlassPA=!0;return null}function d(e){var f=
33
- a.getBoundingClientRect();a.__xLiquidGlassPX=e.clientX-f.left;a.__xLiquidGlassPY=e.clientY-f.top;return null}$APP.fa(a,"__xLiquidGlassHdl",{move:d,enter:c,leave:b});a.addEventListener("pointermove",d,{passive:!0});a.addEventListener("pointerenter",c);a.addEventListener("pointerleave",b)},N3=function(a){var b=$APP.k(a,"__xLiquidGlassHdl");$APP.n(b)&&(a.removeEventListener("pointermove",$APP.k(b,"move")),a.removeEventListener("pointerenter",$APP.k(b,"enter")),a.removeEventListener("pointerleave",$APP.k(b,
34
- "leave")),a.__xLiquidGlassHdl=null)},O3=function(a){return Qba($APP.Hf([$APP.$n,i3,j3,$APP.Wm,k3,$APP.Cm,l3,m3,n3,o3,p3,$APP.qk,g3,h3],[a.getAttribute("blur"),a.getAttribute("blobs"),a.getAttribute("amplitude"),a.getAttribute("mode"),a.getAttribute("specular-intensity"),a.getAttribute("speed"),a.getAttribute("frost"),a.getAttribute("color-2"),a.getAttribute("color-1"),a.getAttribute("goo"),a.getAttribute("specular"),a.getAttribute("disabled"),a.getAttribute("specular-size"),a.getAttribute("tint")]))},
35
- Yba=function(a){var b=O3(a);a.__xLiquidGlassModel=b;var c=$APP.k(a,"__xLiquidGlassW"),d=$APP.k(a,"__xLiquidGlassH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(F3(a,c,d),H3(a),$APP.n(function(){var e=$APP.Y.i(b);return $APP.n(e)?e:z3()}())?(L3(a),M3(a)):(I3(a,function(){var e=$APP.k(a,"__xLiquidGlassTime");return $APP.n(e)?e:0}()),K3(a)))},Zba=function(a){Object.defineProperty(a,"blobs",{get:function(){var b=this.getAttribute("blobs");return d3(b)},set:function(b){return b==null?this.removeAttribute("blobs"):
36
- this.setAttribute("blobs",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"speed",{get:function(){var b=this.getAttribute("speed");return c3(b,.3,.05,2)},set:function(b){return b==null?this.removeAttribute("speed"):this.setAttribute("speed",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"amplitude",{get:function(){var b=this.getAttribute("amplitude");return c3(b,.15,.05,.4)},set:function(b){return b==null?this.removeAttribute("amplitude"):this.setAttribute("amplitude",
37
- ""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return c3(b,12,0,40)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"goo",{get:function(){var b=this.getAttribute("goo");return c3(b,10,4,20)},set:function(b){return b==null?this.removeAttribute("goo"):this.setAttribute("goo",""+$APP.R.i(b))},enumerable:!0,configurable:!0});
38
- Object.defineProperty(a,"tint",{get:function(){return this.getAttribute("tint")},set:function(b){return b==null?this.removeAttribute("tint"):this.setAttribute("tint",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specular",{get:function(){return this.hasAttribute("specular")},set:function(b){return $APP.n(b)?this.setAttribute("specular",""):this.removeAttribute("specular")},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularSize",{get:function(){var b=this.getAttribute("specular-size");
39
- return c3(b,.4,.1,1)},set:function(b){return b==null?this.removeAttribute("specular-size"):this.setAttribute("specular-size",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularIntensity",{get:function(){var b=this.getAttribute("specular-intensity");return c3(b,.3,0,1)},set:function(b){return b==null?this.removeAttribute("specular-intensity"):this.setAttribute("specular-intensity",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},
40
- set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){var b=this.getAttribute("mode");return $APP.B.j(b,"submerged")?"submerged":"surface"},set:function(b){return b==null?this.removeAttribute("mode"):this.setAttribute("mode",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"frost",{get:function(){var b=this.getAttribute("frost");return c3(b,.5,0,1)},
41
- set:function(b){return b==null?this.removeAttribute("frost"):this.setAttribute("frost",""+$APP.R.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color1",{get:function(){return this.getAttribute("color-1")},set:function(b){return b==null?this.removeAttribute("color-1"):this.setAttribute("color-1",""+$APP.R.i(b))},enumerable:!0,configurable:!0});return Object.defineProperty(a,"color2",{get:function(){return this.getAttribute("color-2")},set:function(b){return b==null?this.removeAttribute("color-2"):
42
- this.setAttribute("color-2",""+$APP.R.i(b))},enumerable:!0,configurable:!0})},$ba=function(a){var b=O3(a);a.__xLiquidGlassModel=b;a.__xLiquidGlassTime=0;a.__xLiquidGlassPA=!1;a.__xLiquidGlassPX=0;a.__xLiquidGlassPY=0;a.__xLiquidGlassGT=0;$APP.n($APP.k(a,"__xLiquidGlassRefs"))||Tba(a);H3(a);b=new ResizeObserver(function(c){return Wba(a,c)});a.__xLiquidGlassRO=b;b.observe(a);N3(a);Xba(a);return null},aca=function(a){L3(a);N3(a);var b=$APP.k(a,"__xLiquidGlassRO");$APP.n(b)&&(b.disconnect(),a.__xLiquidGlassRO=
43
- null);return null},bca=function(a,b,c,d){$APP.M(c,d)&&$APP.n($APP.k(a,"__xLiquidGlassRefs"))&&Yba(a);return null},P3=function(){return $APP.Wg("x-liquid-glass",new $APP.P(null,5,[$APP.Mg,cca,$APP.Ng,$ba,$APP.Og,aca,$APP.Qg,bca,$APP.Ug,Zba],null))},f3=new $APP.F(null,"surface","surface",699915646),D3=new $APP.F(null,"core","core",-86019209),w3=new $APP.F(null,"specular-intensity","specular-intensity",437849876),j3=new $APP.F(null,"amplitude-raw","amplitude-raw",-673525115),r3=new $APP.F(null,"goo",
44
- "goo",-1253057564),A3=new $APP.F(null,"glass","glass",1652756718),Sba=new $APP.F(null,"filter","filter",-948537934),q3=new $APP.F(null,"frost","frost",-3478780),u3=new $APP.F(null,"specular-size","specular-size",757318993),G3=new $APP.F(null,"submerged","submerged",1636004473),t3=new $APP.F(null,"tint","tint",-1286736913),E3=new $APP.F(null,"grain","grain",2007662171),h3=new $APP.F(null,"tint-raw","tint-raw",-653441954),m3=new $APP.F(null,"color-2-raw","color-2-raw",-1440423537),p3=new $APP.F(null,
45
- "specular-attr","specular-attr",-716021610),k3=new $APP.F(null,"specular-intensity-raw","specular-intensity-raw",109079177),o3=new $APP.F(null,"goo-raw","goo-raw",59658675),g3=new $APP.F(null,"specular-size-raw","specular-size-raw",592980345),n3=new $APP.F(null,"color-1-raw","color-1-raw",-1322552111),s3=new $APP.F(null,"amplitude","amplitude",-1387734203),C3=new $APP.F(null,"gradient","gradient",-1983908971),l3=new $APP.F(null,"frost-raw","frost-raw",1383732749),v3=new $APP.F(null,"specular?","specular?",
46
- 964138290),i3=new $APP.F(null,"blobs-raw","blobs-raw",1729393761),B3=new $APP.F(null,"satellites","satellites",644765266);var cca="blobs speed amplitude blur goo tint specular specular-size specular-intensity disabled mode frost color-1 color-2".split(" ");
47
- $APP.Hf([q3,r3,s3,new $APP.F(null,"specularSize","specularSize",-1757715579),$APP.fl,$APP.Tk,$APP.Kk,$APP.Om,t3,new $APP.F(null,"color2","color2",1248091856),$APP.yj,$APP.vo,new $APP.F(null,"color1","color1",306558619),new $APP.F(null,"specularIntensity","specularIntensity",138075)],[new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,
48
- 1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.U],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.W],null),new $APP.P(null,1,[$APP.S,$APP.V],null),new $APP.P(null,1,[$APP.S,$APP.W],null)]);var Oba=new $APP.P(null,2,["surface",f3,"submerged",G3],null);var y3={v:0},J3=function J3(a){if($APP.n(a.isConnected)){var c=performance.now(),d=$APP.k(a,"__xLiquidGlassTime")+Math.min(c-$APP.k(a,"__xLiquidGlassLF"),100)/1E3;a.__xLiquidGlassLF=c;a.__xLiquidGlassTime=d;I3(a,d);Uba(a);Vba(a,d);$APP.fa(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return J3.i?J3.i(a):J3.call(null,a)}))}return null};$APP.da("baredom.exports.x_liquid_glass.init",P3);export const init=P3;
2
+ var A3=function(a,b,c,d){if(typeof a==="string"){a=a.trim();if($APP.A.j(a,""))return b;a=parseFloat(a);return $APP.n(isNaN(a))?b:Math.min(d,Math.max(c,a))}return b},B3=function(a){if(typeof a==="string"){a=a.trim();if($APP.A.j(a,""))return 5;a=parseInt(a,10);return $APP.n(isNaN(a))?5:Math.min(8,Math.max(3,a))}return 5},tha=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},C3=function(a){return typeof a==="string"?(a=a.trim(),$APP.I(a,"")?a:null):null},vha=function(a){a=
3
+ $APP.C(uha,typeof a==="string"?a.trim().toLowerCase():null);return $APP.n(a)?a:D3},wha=function(a){var b=$APP.G(a);a=$APP.C(b,$APP.nn);var c=$APP.C(b,E3),d=$APP.C(b,F3),e=$APP.C(b,$APP.Gq),f=$APP.C(b,G3),h=$APP.C(b,H3),l=$APP.C(b,$APP.Op),m=$APP.C(b,I3),q=$APP.C(b,$APP.up),r=$APP.C(b,J3),v=$APP.C(b,K3),x=$APP.C(b,L3),z=$APP.C(b,M3);b=$APP.C(b,N3);return $APP.Wf([O3,P3,Q3,$APP.Mn,$APP.Gn,R3,S3,T3,$APP.yp,$APP.xm,$APP.xp,$APP.ar,U3,$APP.Bi],[A3(r,.5,0,1),A3(z,10,4,20),A3(h,.15,.05,.4),A3(q,.3,.05,2),
4
+ vha(l),tha(d),A3(c,.4,.1,1),b!=null,function(){var B=C3(v);return $APP.n(B)?B:"rgba(244,114,182,0.35)"}(),A3(e,12,0,40),function(){var B=C3(x);return $APP.n(B)?B:"rgba(99,102,241,0.4)"}(),B3(f),A3(m,.3,0,1),a!=null])},V3=function(a,b,c){return Math.sin(a*1.7+c*.3)*Math.cos(b*2.3+c*.5)*.5+Math.sin(a*3.1-c*.7)*Math.cos(b*1.3+c*.2)*.25+Math.sin(a*5.3+c*.4)*Math.cos(b*4.7-c*.6)*.125},xha=function(){var a=$APP.k(W3,"v");W3.v=a+1;return a},X3=function(){return $APP.D(window.matchMedia("(prefers-reduced-motion:reduce)").matches)},
5
+ zha=function(a){var b=xha(),c=a.attachShadow({mode:"open"}),d=document.createElement("style"),e=document.createElementNS("http://www.w3.org/2000/svg","svg"),f=document.createElementNS("http://www.w3.org/2000/svg","defs"),h=document.createElementNS("http://www.w3.org/2000/svg","filter"),l=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),m=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),q=document.createElementNS("http://www.w3.org/2000/svg","g"),r=document.createElementNS("http://www.w3.org/2000/svg",
6
+ "ellipse"),v=document.createElement("div"),x=document.createElement("div"),z=document.createElement("div"),B=document.createElement("div"),E=document.createElement("div"),H=document.createElement("slot"),K="lg-goo-"+$APP.V.i(b);a.__xLiquidGlassUID=b;d.textContent=":host{display:block;position:relative;isolation:isolate;min-width:120px;min-height:80px;"+$APP.V.i("--x-liquid-glass-padding")+":1.5rem;"+$APP.V.i("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.6);"+$APP.V.i("--x-liquid-glass-spring")+
7
+ ":"+$APP.V.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+";"+$APP.V.i("--x-liquid-glass-spring-duration")+":"+
8
+ $APP.V.i("600ms")+";}[part\x3dsvg]{display:block;width:100%;height:100%;position:absolute;inset:0;overflow:visible;pointer-events:none;z-index:1;}[part\x3dglass]{position:absolute;inset:0;backdrop-filter:blur(var("+$APP.V.i("--x-liquid-glass-blur")+",12px)) saturate(180%);-webkit-backdrop-filter:blur(var("+$APP.V.i("--x-liquid-glass-blur")+",12px)) saturate(180%);z-index:0;}[part\x3dgrain]{position:absolute;inset:0;z-index:2;opacity:0.4;pointer-events:none;}[part\x3dgradient]{position:absolute;inset:0;z-index:1;pointer-events:none;}[part\x3dspecular]{position:absolute;inset:0;z-index:1;opacity:0;pointer-events:none;transition:background var("+
9
+ $APP.V.i("--x-liquid-glass-spring-duration")+","+$APP.V.i("600ms")+") var("+$APP.V.i("--x-liquid-glass-spring")+","+$APP.V.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
10
+ "),opacity var("+$APP.V.i("--x-liquid-glass-spring-duration")+","+$APP.V.i("600ms")+") var("+$APP.V.i("--x-liquid-glass-spring")+","+$APP.V.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
11
+ ");}[part\x3dcontent]{position:relative;padding:var("+$APP.V.i("--x-liquid-glass-padding")+",1.5rem);z-index:3;}@keyframes lg-enter{from{opacity:0;transform:scale(0.92);}to{opacity:1;transform:scale(1);}}:host([data-entering]) [part\x3dglass],:host([data-entering]) [part\x3dsvg]{animation:lg-enter var("+$APP.V.i("--x-liquid-glass-spring-duration")+","+$APP.V.i("600ms")+") var("+$APP.V.i("--x-liquid-glass-spring")+","+$APP.V.i("linear(0, 0.006, 0.025, 0.058, 0.104, 0.163, 0.234, 0.315, 0.403, 0.496, 0.591, 0.685, 0.774, 0.856, 0.926, 0.983, 1.025, 1.052, 1.065, 1.063, 1.049, 1.025, 0.995, 0.961, 0.927, 0.896, 0.870, 0.850, 0.837, 0.831, 0.832, 0.839, 0.851, 0.867, 0.885, 0.903, 0.921, 0.937, 0.951, 0.962, 0.970, 0.976, 0.979, 0.981, 0.981, 0.980, 0.979, 0.977, 0.976, 0.975, 0.975, 0.976, 0.977, 0.979, 0.981, 0.983, 0.986, 0.989, 0.992, 0.995, 0.998, 1)")+
12
+ ") both;}@media(prefers-color-scheme:dark){:host{"+$APP.V.i("--x-liquid-glass-specular-color")+":rgba(255,255,255,0.3);}}@media(prefers-reduced-motion:reduce){:host([data-entering]) [part\x3dglass],:host([data-entering]) [part\x3dsvg]{animation:none;}[part\x3dspecular]{transition:none!important;}}";e.setAttribute("part","svg");e.setAttribute("viewBox","0 0 300 200");e.setAttribute("preserveAspectRatio","none");e.setAttribute("aria-hidden","true");h.setAttribute("id",K);l.setAttribute("in","SourceGraphic");
13
+ l.setAttribute("stdDeviation","10");l.setAttribute("result","blur");m.setAttribute("in","blur");m.setAttribute("mode","matrix");m.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9");h.appendChild(l);h.appendChild(m);f.appendChild(h);e.appendChild(f);q.setAttribute("filter","url(#"+$APP.V.i(K)+")");q.setAttribute("opacity","0.35");r.setAttribute("class","blob-core");q.appendChild(r);e.appendChild(q);m=document.createElementNS("http://www.w3.org/2000/svg","linearGradient");var J="lg-edge-"+
14
+ $APP.V.i(b),P=document.createElementNS("http://www.w3.org/2000/svg","stop"),ea=document.createElementNS("http://www.w3.org/2000/svg","stop"),la=document.createElementNS("http://www.w3.org/2000/svg","stop");m.setAttribute("id",J);m.setAttribute("x1","0");m.setAttribute("y1","0");m.setAttribute("x2","1");m.setAttribute("y2","1");P.setAttribute("offset","0%");P.setAttribute("stop-color","white");P.setAttribute("stop-opacity","0.9");ea.setAttribute("offset","50%");ea.setAttribute("stop-color","white");
15
+ ea.setAttribute("stop-opacity","0.15");la.setAttribute("offset","100%");la.setAttribute("stop-color","white");la.setAttribute("stop-opacity","0.5");m.appendChild(P);m.appendChild(ea);m.appendChild(la);f.appendChild(m);a.__xLiquidGlassEdgeId=J;m=document.createElementNS("http://www.w3.org/2000/svg","g");J=document.createElementNS("http://www.w3.org/2000/svg","ellipse");P=$APP.k(a,"__xLiquidGlassEdgeId");m.setAttribute("filter","url(#"+$APP.V.i(K)+")");m.setAttribute("opacity","0.7");J.setAttribute("class",
16
+ "blob-border");J.setAttribute("fill","none");J.setAttribute("stroke","url(#"+$APP.V.i(P)+")");J.setAttribute("stroke-width","2.5");m.appendChild(J);e.appendChild(m);a.__xLiquidGlassBorderG=m;a.__xLiquidGlassBorderCore=J;m=document.createElementNS("http://www.w3.org/2000/svg","filter");J="lg-grain-"+$APP.V.i(b);P=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence");ea=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix");m.setAttribute("id",J);P.setAttribute("type",
17
+ "fractalNoise");P.setAttribute("baseFrequency","0.6");P.setAttribute("numOctaves","3");P.setAttribute("stitchTiles","stitch");ea.setAttribute("type","matrix");ea.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0");m.appendChild(P);m.appendChild(ea);f.appendChild(m);a.__xLiquidGlassGrainId=J;m=document.createElementNS("http://www.w3.org/2000/svg","mask");b="lg-mask-"+$APP.V.i(b);J=document.createElementNS("http://www.w3.org/2000/svg","g");P=document.createElementNS("http://www.w3.org/2000/svg",
18
+ "ellipse");m.setAttribute("id",b);m.setAttribute("maskUnits","userSpaceOnUse");m.setAttribute("maskContentUnits","userSpaceOnUse");J.setAttribute("filter","url(#"+$APP.V.i(K)+")");P.setAttribute("fill","white");J.appendChild(P);m.appendChild(J);f.appendChild(m);a.__xLiquidGlassMaskG=J;a.__xLiquidGlassMaskCore=P;$APP.ja(a,"__xLiquidGlassMaskSats",[]);a.__xLiquidGlassMaskId=b;v.setAttribute("part","glass");f="url(#"+$APP.V.i($APP.k(a,"__xLiquidGlassMaskId"))+")";v.style.mask=f;v.style.webkitMask=f;
19
+ x.setAttribute("part","grain");x.style.filter="url(#"+$APP.V.i($APP.k(a,"__xLiquidGlassGrainId"))+")";f="url(#"+$APP.V.i($APP.k(a,"__xLiquidGlassMaskId"))+")";x.style.mask=f;x.style.webkitMask=f;z.setAttribute("part","gradient");f="url(#"+$APP.V.i($APP.k(a,"__xLiquidGlassMaskId"))+")";z.style.mask=f;z.style.webkitMask=f;B.setAttribute("part","specular");f="url(#"+$APP.V.i($APP.k(a,"__xLiquidGlassMaskId"))+")";B.style.mask=f;B.style.webkitMask=f;E.setAttribute("part","content");E.appendChild(H);c.appendChild(d);
20
+ c.appendChild(v);c.appendChild(e);c.appendChild(x);c.appendChild(z);c.appendChild(B);c.appendChild(E);$APP.S(a,"data-entering","");setTimeout(function(){return $APP.T(a,"data-entering")},700);$APP.ja(a,"__xLiquidGlassRefs",$APP.Wf([$APP.Im,$APP.Gp,Y3,$APP.eq,yha,Z3,$APP.xm,$APP.jj,$3,$APP.po,a4,b4],[E,B,v,q,h,[],l,c,z,e,r,x]))},c4=function(a,b,c){var d=$APP.ar.i($APP.k(a,"__xLiquidGlassModel")),e=b/2,f=c/2,h=b*.32,l=c*.32,m=h*.55,q=l*.55;var r=h*.9;for(var v=l*.9,x=new Float64Array(d),z=new Float64Array(d),
21
+ B=0;;)if(B<d){var E=2*Math.PI*(B/d);x[B]=e+r*Math.cos(E);z[B]=f+v*Math.sin(E);B+=1}else break;r=[x,z];v=$APP.G($APP.k(a,"__xLiquidGlassRefs"));v=$APP.C(v,a4);v.setAttribute("cx",""+$APP.V.i(e));v.setAttribute("cy",""+$APP.V.i(f));v.setAttribute("rx",""+$APP.V.i(h));v.setAttribute("ry",""+$APP.V.i(l));v=$APP.k(a,"__xLiquidGlassMaskCore");$APP.n(v)&&(v.setAttribute("cx",""+$APP.V.i(e)),v.setAttribute("cy",""+$APP.V.i(f)),v.setAttribute("rx",""+$APP.V.i(h)),v.setAttribute("ry",""+$APP.V.i(l)));b*=.44;
22
+ c*=.44;h=$APP.k(a,"__xLiquidGlassBorderCore");$APP.n(h)&&(h.setAttribute("cx",""+$APP.V.i(e)),h.setAttribute("cy",""+$APP.V.i(f)),h.setAttribute("rx",""+$APP.V.i(b)),h.setAttribute("ry",""+$APP.V.i(c)));f=$APP.k(a,"__xLiquidGlassRefs");e=$APP.eq.i(f);f=Z3.i(f);c=$APP.k(a,"__xLiquidGlassMaskG");b=$APP.k(a,"__xLiquidGlassMaskSats");for(h=f.length-1;;)if(h>=d)e.removeChild(f[h]),$APP.n(c)&&c.removeChild(b[h]),--h;else break;f.length>d&&(f.length=d,$APP.n(b)&&(b.length=d));for(h=f.length;;)if(h<d)l=document.createElementNS("http://www.w3.org/2000/svg",
23
+ "ellipse"),l.setAttribute("class","blob-sat-"+$APP.V.i(h)),l.setAttribute("fill","#ffffff"),e.appendChild(l),f.push(l),$APP.n(c)&&(l=document.createElementNS("http://www.w3.org/2000/svg","ellipse"),l.setAttribute("fill","white"),c.appendChild(l),b.push(l)),h+=1;else break;e=$APP.G($APP.k(a,"__xLiquidGlassRefs"));e=$APP.C(e,Z3);f=$APP.k(a,"__xLiquidGlassMaskSats");for(c=0;;)if(c<d)b=e[c],b.setAttribute("rx",""+$APP.V.i(m)),b.setAttribute("ry",""+$APP.V.i(q)),$APP.n($APP.n(f)?c<f.length:f)&&(b=f[c],
24
+ b.setAttribute("rx",""+$APP.V.i(m)),b.setAttribute("ry",""+$APP.V.i(q))),c+=1;else break;a.__xLiquidGlassRX=r[0];a.__xLiquidGlassRY=r[1]},e4=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.k(a,"__xLiquidGlassRefs"),d=$APP.xm.i(c),e=Y3.i(c),f=$APP.Gp.i(c),h=a4.i(c),l=$APP.eq.i(c);d.setAttribute("stdDeviation",""+$APP.V.i(P3.i(b)));e.style.setProperty("--x-liquid-glass-blur",""+$APP.V.i($APP.xm.i(b))+"px");h.setAttribute("fill","#ffffff");d=Z3.i(c);e=d.length;for(h=0;;)if(h<e)d[h].setAttribute("fill",
25
+ "#ffffff"),h+=1;else break;h=$APP.A.j(d4,$APP.Gn.i(b));d=$APP.Im.i(c);c=b4.i(c);e="url(#"+$APP.V.i($APP.k(a,"__xLiquidGlassMaskId"))+")";if(h){d.style.position="relative";d.style.zIndex="0";h=O3.i(b);var m=1-h*.5,q=h*.35,r=h*.2;d.style.filter="blur("+$APP.V.i((h*2).toFixed(1))+"px)";d.style.opacity=""+$APP.V.i(m.toFixed(2));d.style.mask=e;d.style.webkitMask=e;l.setAttribute("opacity",q.toFixed(2));$APP.n(c)&&(c.style.opacity=r.toFixed(2));a.style.contain="layout style"}else d.style.position="relative",
26
+ d.style.zIndex="3",d.style.filter="",d.style.opacity="",d.style.mask="",d.style.webkitMask="",l.setAttribute("opacity","0.35"),$APP.n(c)&&(c.style.opacity="0.4"),a.style.contain="";$APP.n(T3.i(b))||(f.style.opacity="0")},f4=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel"),d=$APP.ar.i(c),e=$APP.Mn.i(c);c=Q3.i(c)*(Math.min($APP.k(a,"__xLiquidGlassW"),$APP.k(a,"__xLiquidGlassH"))*.32)*.6;var f=$APP.k(a,"__xLiquidGlassRX"),h=$APP.k(a,"__xLiquidGlassRY"),l=$APP.G($APP.k(a,"__xLiquidGlassRefs"));l=$APP.C(l,
27
+ Z3);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var m=0;;)if(m<d){var q=m*2.39996;var r=[f[m]+c*V3(q,0,b*e),h[m]+c*V3(0,q,b*e)];q=r[0].toFixed(2);r=r[1].toFixed(2);var v=l[m];v.setAttribute("cx",q);v.setAttribute("cy",r);$APP.n($APP.n(a)?m<a.length:a)&&(v=a[m],v.setAttribute("cx",q),v.setAttribute("cy",r));m+=1}else break},Aha=function(a){var b=$APP.k(a,"__xLiquidGlassModel"),c=$APP.Gp.i($APP.k(a,"__xLiquidGlassRefs"));if($APP.n(T3.i(b))){var d=$APP.k(a,"__xLiquidGlassPA"),e=$APP.k(a,"__xLiquidGlassPX"),
28
+ f=$APP.k(a,"__xLiquidGlassPY"),h=$APP.k(a,"__xLiquidGlassW");a=$APP.k(a,"__xLiquidGlassH");h=S3.i(b)*Math.min(h,a);a="var("+$APP.V.i("--x-liquid-glass-specular-color")+",rgba(255,255,255,0.6))";$APP.n(d)?(c.style.opacity=""+$APP.V.i(U3.i(b)),c.style.background="radial-gradient(ellipse "+$APP.V.i(h)+"px "+$APP.V.i(h)+"px at "+$APP.V.i(e.toFixed(1))+"px "+$APP.V.i(f.toFixed(1))+"px,"+$APP.V.i(a)+" 0%,transparent 100%)"):c.style.opacity="0"}},Bha=function(a,b){var c=$APP.k(a,"__xLiquidGlassModel");a=
29
+ $3.i($APP.k(a,"__xLiquidGlassRefs"));var d=$APP.xp.i(c);c=$APP.yp.i(c);var e=20+8*Math.cos(b*.09),f=70+12*Math.cos(b*.05),h=80+10*Math.sin(b*.06);a.style.background="radial-gradient(ellipse at "+$APP.V.i((30+10*Math.sin(b*.07)).toFixed(1))+"% "+$APP.V.i(e.toFixed(1))+"%,"+$APP.V.i(d)+" 0%,transparent 70%),radial-gradient(ellipse at "+$APP.V.i(f.toFixed(1))+"% "+$APP.V.i(h.toFixed(1))+"%,"+$APP.V.i(c)+" 0%,transparent 70%)"},h4=function(a){$APP.n($APP.k(a,"__xLiquidGlassRaf"))||($APP.ja(a,"__xLiquidGlassLF",
30
+ performance.now()),$APP.ja(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return g4(a)})))},i4=function(a){var b=$APP.k(a,"__xLiquidGlassRaf");$APP.n(b)&&(cancelAnimationFrame(b),a.__xLiquidGlassRaf=null)},j4=function(a){var b=$APP.ar.i($APP.k(a,"__xLiquidGlassModel")),c=$APP.k(a,"__xLiquidGlassRX"),d=$APP.k(a,"__xLiquidGlassRY"),e=$APP.G($APP.k(a,"__xLiquidGlassRefs"));e=$APP.C(e,Z3);a=$APP.k(a,"__xLiquidGlassMaskSats");for(var f=0;;)if(f<b){var h=c[f].toFixed(2),l=d[f].toFixed(2);if(f<e.length){var m=
31
+ e[f];m.setAttribute("cx",h);m.setAttribute("cy",l)}$APP.n($APP.n(a)?f<a.length:a)&&(m=a[f],m.setAttribute("cx",h),m.setAttribute("cy",l));f+=1}else break},Cha=function(a,b){if(b.length>0){var c=b[0].contentRect;b=c.width;c=c.height;if(b>0&&c>0){a.__xLiquidGlassW=b;a.__xLiquidGlassH=c;var d=$APP.G($APP.k(a,"__xLiquidGlassRefs"));d=$APP.C(d,$APP.po);d.setAttribute("viewBox","0 0 "+$APP.V.i(b)+" "+$APP.V.i(c));d=d.querySelector("#"+$APP.V.i($APP.k(a,"__xLiquidGlassMaskId")));$APP.n(d)&&(d.setAttribute("x",
32
+ "0"),d.setAttribute("y","0"),d.setAttribute("width",""+$APP.V.i(b)),d.setAttribute("height",""+$APP.V.i(c)));c4(a,b,c);e4(a);var e=$APP.k(a,"__xLiquidGlassModel");$APP.n(function(){var f=$APP.Bi.i(e);return $APP.n(f)?f:X3()}())?j4(a):(f4(a,function(){var f=$APP.k(a,"__xLiquidGlassTime");return $APP.n(f)?f:0}()),h4(a))}}return null},Dha=function(a){function b(){a.__xLiquidGlassPA=!1;return null}function c(){a.__xLiquidGlassPA=!0;return null}function d(e){var f=a.getBoundingClientRect();a.__xLiquidGlassPX=
33
+ e.clientX-f.left;a.__xLiquidGlassPY=e.clientY-f.top;return null}$APP.ja(a,"__xLiquidGlassHdl",{move:d,enter:c,leave:b});a.addEventListener("pointermove",d,{passive:!0});a.addEventListener("pointerenter",c);a.addEventListener("pointerleave",b)},k4=function(a){var b=$APP.k(a,"__xLiquidGlassHdl");$APP.n(b)&&(a.removeEventListener("pointermove",$APP.k(b,"move")),a.removeEventListener("pointerenter",$APP.k(b,"enter")),a.removeEventListener("pointerleave",$APP.k(b,"leave")),a.__xLiquidGlassHdl=null)},l4=
34
+ function(a){return wha($APP.Wf([$APP.Gq,G3,H3,$APP.Op,I3,$APP.up,J3,K3,L3,M3,N3,$APP.nn,E3,F3],[a.getAttribute("blur"),a.getAttribute("blobs"),a.getAttribute("amplitude"),a.getAttribute("mode"),a.getAttribute("specular-intensity"),a.getAttribute("speed"),a.getAttribute("frost"),a.getAttribute("color-2"),a.getAttribute("color-1"),a.getAttribute("goo"),a.getAttribute("specular"),a.getAttribute("disabled"),a.getAttribute("specular-size"),a.getAttribute("tint")]))},Eha=function(a){var b=l4(a);a.__xLiquidGlassModel=
35
+ b;var c=$APP.k(a,"__xLiquidGlassW"),d=$APP.k(a,"__xLiquidGlassH");$APP.n($APP.n(c)?$APP.n(d)?c>0&&d>0:d:c)&&(c4(a,c,d),e4(a),$APP.n(function(){var e=$APP.Bi.i(b);return $APP.n(e)?e:X3()}())?(i4(a),j4(a)):(f4(a,function(){var e=$APP.k(a,"__xLiquidGlassTime");return $APP.n(e)?e:0}()),h4(a)))},Fha=function(a){Object.defineProperty(a,"blobs",{get:function(){var b=this.getAttribute("blobs");return B3(b)},set:function(b){return b==null?this.removeAttribute("blobs"):this.setAttribute("blobs",""+$APP.V.i(b))},
36
+ enumerable:!0,configurable:!0});Object.defineProperty(a,"speed",{get:function(){var b=this.getAttribute("speed");return A3(b,.3,.05,2)},set:function(b){return b==null?this.removeAttribute("speed"):this.setAttribute("speed",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"amplitude",{get:function(){var b=this.getAttribute("amplitude");return A3(b,.15,.05,.4)},set:function(b){return b==null?this.removeAttribute("amplitude"):this.setAttribute("amplitude",""+$APP.V.i(b))},enumerable:!0,
37
+ configurable:!0});Object.defineProperty(a,"blur",{get:function(){var b=this.getAttribute("blur");return A3(b,12,0,40)},set:function(b){return b==null?this.removeAttribute("blur"):this.setAttribute("blur",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"goo",{get:function(){var b=this.getAttribute("goo");return A3(b,10,4,20)},set:function(b){return b==null?this.removeAttribute("goo"):this.setAttribute("goo",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,
38
+ "tint",{get:function(){return this.getAttribute("tint")},set:function(b){return b==null?this.removeAttribute("tint"):this.setAttribute("tint",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specular",{get:function(){return this.hasAttribute("specular")},set:function(b){return $APP.n(b)?this.setAttribute("specular",""):this.removeAttribute("specular")},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularSize",{get:function(){var b=this.getAttribute("specular-size");
39
+ return A3(b,.4,.1,1)},set:function(b){return b==null?this.removeAttribute("specular-size"):this.setAttribute("specular-size",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"specularIntensity",{get:function(){var b=this.getAttribute("specular-intensity");return A3(b,.3,0,1)},set:function(b){return b==null?this.removeAttribute("specular-intensity"):this.setAttribute("specular-intensity",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"disabled",{get:function(){return this.hasAttribute("disabled")},
40
+ set:function(b){return $APP.n(b)?this.setAttribute("disabled",""):this.removeAttribute("disabled")},enumerable:!0,configurable:!0});Object.defineProperty(a,"mode",{get:function(){var b=this.getAttribute("mode");return $APP.A.j(b,"submerged")?"submerged":"surface"},set:function(b){return b==null?this.removeAttribute("mode"):this.setAttribute("mode",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"frost",{get:function(){var b=this.getAttribute("frost");return A3(b,.5,0,1)},
41
+ set:function(b){return b==null?this.removeAttribute("frost"):this.setAttribute("frost",""+$APP.V.i(b))},enumerable:!0,configurable:!0});Object.defineProperty(a,"color1",{get:function(){return this.getAttribute("color-1")},set:function(b){return b==null?this.removeAttribute("color-1"):this.setAttribute("color-1",""+$APP.V.i(b))},enumerable:!0,configurable:!0});return Object.defineProperty(a,"color2",{get:function(){return this.getAttribute("color-2")},set:function(b){return b==null?this.removeAttribute("color-2"):
42
+ this.setAttribute("color-2",""+$APP.V.i(b))},enumerable:!0,configurable:!0})},Gha=function(a){var b=l4(a);a.__xLiquidGlassModel=b;a.__xLiquidGlassTime=0;a.__xLiquidGlassPA=!1;a.__xLiquidGlassPX=0;a.__xLiquidGlassPY=0;a.__xLiquidGlassGT=0;$APP.n($APP.k(a,"__xLiquidGlassRefs"))||zha(a);e4(a);b=new ResizeObserver(function(c){return Cha(a,c)});a.__xLiquidGlassRO=b;b.observe(a);k4(a);Dha(a);return null},Hha=function(a){i4(a);k4(a);var b=$APP.k(a,"__xLiquidGlassRO");$APP.n(b)&&(b.disconnect(),a.__xLiquidGlassRO=
43
+ null);return null},Iha=function(a,b,c,d){$APP.I(c,d)&&$APP.n($APP.k(a,"__xLiquidGlassRefs"))&&Eha(a);return null},m4=function(){return $APP.Ah("x-liquid-glass",new $APP.O(null,5,[$APP.qh,Jha,$APP.oh,Gha,$APP.lh,Hha,$APP.kh,Iha,$APP.ph,Fha],null))},D3=new $APP.F(null,"surface","surface",699915646),a4=new $APP.F(null,"core","core",-86019209),U3=new $APP.F(null,"specular-intensity","specular-intensity",437849876),H3=new $APP.F(null,"amplitude-raw","amplitude-raw",-673525115),P3=new $APP.F(null,"goo",
44
+ "goo",-1253057564),Y3=new $APP.F(null,"glass","glass",1652756718),yha=new $APP.F(null,"filter","filter",-948537934),O3=new $APP.F(null,"frost","frost",-3478780),S3=new $APP.F(null,"specular-size","specular-size",757318993),d4=new $APP.F(null,"submerged","submerged",1636004473),R3=new $APP.F(null,"tint","tint",-1286736913),b4=new $APP.F(null,"grain","grain",2007662171),F3=new $APP.F(null,"tint-raw","tint-raw",-653441954),K3=new $APP.F(null,"color-2-raw","color-2-raw",-1440423537),N3=new $APP.F(null,
45
+ "specular-attr","specular-attr",-716021610),I3=new $APP.F(null,"specular-intensity-raw","specular-intensity-raw",109079177),M3=new $APP.F(null,"goo-raw","goo-raw",59658675),E3=new $APP.F(null,"specular-size-raw","specular-size-raw",592980345),L3=new $APP.F(null,"color-1-raw","color-1-raw",-1322552111),Q3=new $APP.F(null,"amplitude","amplitude",-1387734203),$3=new $APP.F(null,"gradient","gradient",-1983908971),J3=new $APP.F(null,"frost-raw","frost-raw",1383732749),T3=new $APP.F(null,"specular?","specular?",
46
+ 964138290),G3=new $APP.F(null,"blobs-raw","blobs-raw",1729393761),Z3=new $APP.F(null,"satellites","satellites",644765266);var Jha="blobs speed amplitude blur goo tint specular specular-size specular-intensity disabled mode frost color-1 color-2".split(" ");
47
+ $APP.Wf([O3,P3,Q3,new $APP.F(null,"specularSize","specularSize",-1757715579),$APP.ck,$APP.Mn,$APP.Gn,$APP.Gp,R3,new $APP.F(null,"color2","color2",1248091856),$APP.xm,$APP.ar,new $APP.F(null,"color1","color1",306558619),new $APP.F(null,"specularIntensity","specularIntensity",138075)],[new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.Xh],null),new $APP.O(null,
48
+ 1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.Xh],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null),new $APP.O(null,1,[$APP.Q,$APP.X],null),new $APP.O(null,1,[$APP.Q,$APP.Y],null)]);var uha=new $APP.O(null,2,["surface",D3,"submerged",d4],null);var W3={v:0},g4=function g4(a){if($APP.n(a.isConnected)){var c=performance.now(),d=$APP.k(a,"__xLiquidGlassTime")+Math.min(c-$APP.k(a,"__xLiquidGlassLF"),100)/1E3;a.__xLiquidGlassLF=c;a.__xLiquidGlassTime=d;f4(a,d);Aha(a);Bha(a,d);$APP.ja(a,"__xLiquidGlassRaf",requestAnimationFrame(function(){return g4.i?g4.i(a):g4.call(null,a)}))}return null};$APP.ha("baredom.exports.x_liquid_glass.init",m4);export const init=m4;
@@ -1,9 +1,9 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var y2=function(a){var b=$APP.H(a);a=$APP.C(b,$APP.Fh);var c=$APP.C(b,$APP.fl),d=$APP.C(b,$APP.hi);b=$APP.C(b,$APP.S);a=$APP.n(a)?a:"";c=$APP.E(c);d=$APP.n(d)?d:"";d=$APP.Vc(aba,d)?d:"";b=$APP.n(b)?b:"";b=$APP.Vc(bba,b)?b:"";return new $APP.P(null,4,[$APP.Fh,a,$APP.fl,c,$APP.hi,d,$APP.S,b],null)},z2=function(a){return new $APP.P(null,4,[$APP.Fh,a.getAttribute("value"),$APP.fl,a.hasAttribute("disabled"),$APP.hi,a.getAttribute("variant"),$APP.S,a.getAttribute("type")],null)},A2=function(a){var b=a.getAttribute("value");
3
- return $APP.ah(a,"x-menu-item-select",{value:$APP.n(b)?b:""})},B2=function(a){var b=$APP.k(a,"__xMenuItemRefs");b=$APP.n(b)?$APP.k(b,"base"):null;var c=y2(z2(a));if($APP.n(b)){if($APP.B.j($APP.S.i(c),"divider"))return a.setAttribute("role","separator"),a.removeAttribute("tabindex"),a.removeAttribute("aria-disabled"),b.setAttribute("data-type","divider"),b.setAttribute("data-variant",""),b.setAttribute("data-disabled","false");a.setAttribute("role","menuitem");a.setAttribute("tabindex","-1");b.setAttribute("data-type",
4
- "");b.setAttribute("data-variant",$APP.hi.i(c));b.setAttribute("data-disabled",$APP.n($APP.fl.i(c))?"true":"false");return $APP.n($APP.fl.i(c))?a.setAttribute("aria-disabled","true"):a.removeAttribute("aria-disabled")}return null},C2=function(a){function b(){return e.assignedNodes().length>0?a.setAttribute("has-icon",""):a.removeAttribute("has-icon")}function c(h){var l=h.key,m=y2(z2(a));($APP.B.j(l,"Enter")||$APP.B.j(l," "))&&$APP.p($APP.fl.i(m))&&$APP.M($APP.S.i(m),"divider")?(h.preventDefault(),
5
- h=A2(a)):h=null;return h}function d(h){var l=y2(z2(a));var m=$APP.fl.i(l);m=$APP.n(m)?m:$APP.B.j($APP.S.i(l),"divider");$APP.n(m)&&h.preventDefault();return $APP.p($APP.fl.i(l))&&$APP.M($APP.S.i(l),"divider")?A2(a):null}var e=$APP.k($APP.k(a,"__xMenuItemRefs"),"icon-slot"),f={};a.addEventListener("click",d);a.addEventListener("keydown",c);e.addEventListener("slotchange",b);f.click=d;f.keydown=c;f["icon-slotchange"]=b;a.__xMenuItemHandlers=f},cba=function(a){if($APP.Yg(a,"__xMenuItemInit"))return C2(a),
6
- B2(a);if(!$APP.Yg(a,"__xMenuItemInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("span"),f=document.createElement("slot"),h=document.createElement("span"),l=document.createElement("slot"),m=document.createElement("hr");c.textContent=":host{display:block;outline:none;color-scheme:light dark;--x-menu-item-color:var(--x-color-text,#111827);--x-menu-item-hover-bg:var(--x-color-surface-hover,#f3f4f6);--x-menu-item-focus-bg:var(--x-color-surface-hover,#eff6ff);--x-menu-item-focus-color:var(--x-color-primary-hover,#1d4ed8);--x-menu-item-disabled-opacity:0.45;--x-menu-item-danger-color:var(--x-color-danger,#dc2626);--x-menu-item-danger-hover-bg:#fef2f2;--x-menu-item-padding:8px 12px;--x-menu-item-border-radius:var(--x-radius-sm,4px);--x-menu-item-font-size:0.9375rem;--x-menu-item-icon-gap:8px;--x-menu-item-divider-color:var(--x-color-border,#e5e7eb);}:host([disabled]){pointer-events:none;}@media (prefers-color-scheme:dark){:host{--x-menu-item-color:var(--x-color-text,#f9fafb);--x-menu-item-hover-bg:var(--x-color-surface-hover,#1f2937);--x-menu-item-focus-bg:var(--x-color-surface-hover,#1e3a5f);--x-menu-item-focus-color:var(--x-color-focus-ring,#60a5fa);--x-menu-item-danger-color:var(--x-color-danger,#f87171);--x-menu-item-danger-hover-bg:#2d1515;--x-menu-item-divider-color:var(--x-color-border,#374151);}}.base{display:flex;align-items:center;gap:var(--x-menu-item-icon-gap);padding:var(--x-menu-item-padding);border-radius:var(--x-menu-item-border-radius);font-size:var(--x-menu-item-font-size);color:var(--x-menu-item-color);cursor:pointer;user-select:none;transition:background 100ms ease,color 100ms ease;}.base:hover{background:var(--x-menu-item-hover-bg);}:host(:focus) .base{background:var(--x-menu-item-focus-bg);color:var(--x-menu-item-focus-color);}.base[data-variant\x3d'danger']{color:var(--x-menu-item-danger-color);}.base[data-variant\x3d'danger']:hover{background:var(--x-menu-item-danger-hover-bg);}:host(:focus) .base[data-variant\x3d'danger']{background:var(--x-menu-item-danger-hover-bg);}.base[data-disabled\x3d'true']{opacity:var(--x-menu-item-disabled-opacity);cursor:default;pointer-events:none;}.base[data-type\x3d'divider']{padding:0;cursor:default;pointer-events:none;}.icon-span{display:none;flex-shrink:0;align-items:center;}:host([has-icon]) .icon-span{display:flex;}.divider-hr{display:none;}.base[data-type\x3d'divider'] .icon-span,.base[data-type\x3d'divider'] .label-span{display:none;}.base[data-type\x3d'divider'] .divider-hr{display:block;width:100%;border:none;border-top:1px solid var(--x-menu-item-divider-color);margin:4px 0;}@media (prefers-reduced-motion:reduce){.base{transition:none;}}";
7
- d.setAttribute("part","base");d.className="base";e.setAttribute("part","icon");e.className="icon-span";f.setAttribute("name","icon");e.appendChild(f);h.className="label-span";h.appendChild(l);m.className="divider-hr";d.appendChild(e);d.appendChild(h);d.appendChild(m);b.appendChild(c);b.appendChild(d);b={};b.base=d;b["icon-span"]=e;b["icon-slot"]=f;a.__xMenuItemRefs=b;C2(a);a.__xMenuItemInit=!0}B2(a);return a},dba=function(a){var b=$APP.k(a,"__xMenuItemHandlers"),c=$APP.k(a,"__xMenuItemRefs");if($APP.n(b)){var d=
8
- $APP.k(b,"keydown"),e=$APP.k(b,"icon-slotchange");c=$APP.n(c)?$APP.k(c,"icon-slot"):null;a.removeEventListener("click",$APP.k(b,"click"));a.removeEventListener("keydown",d);a=$APP.n(c)?c.removeEventListener("slotchange",e):null}else a=null;return a},eba=function(a){return $APP.Yg(a,"__xMenuItemInit")?B2(a):null},gba=function(a){return $APP.ih(a,fba)},D2=function(){return $APP.Wg("x-menu-item",new $APP.P(null,5,[$APP.Mg,hba,$APP.Ng,cba,$APP.Og,dba,$APP.Qg,eba,$APP.Ug,gba],null))};var hba=["value","disabled","variant","type"],aba=new $APP.Q(null,new $APP.P(null,2,["",null,"danger",null],null),null),bba=new $APP.Q(null,new $APP.P(null,2,["",null,"divider",null],null),null),fba=new $APP.P(null,4,[$APP.Fh,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"value"],null),$APP.fl,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"disabled"],null),$APP.hi,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"variant"],null),$APP.S,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"type"],null)],null);
9
- $APP.Ud(["x-menu-item-select",new $APP.P(null,1,[$APP.Z,new $APP.P(null,1,[$APP.Fh,$APP.V],null)],null)]);$APP.da("baredom.exports.x_menu_item.init",D2);export const init=D2;
2
+ var W2=function(a){var b=$APP.G(a);a=$APP.C(b,$APP.Eh);var c=$APP.C(b,$APP.ck),d=$APP.C(b,$APP.nk);b=$APP.C(b,$APP.Q);a=$APP.n(a)?a:"";c=$APP.D(c);d=$APP.n(d)?d:"";d=$APP.$c(Hga,d)?d:"";b=$APP.n(b)?b:"";b=$APP.$c(Iga,b)?b:"";return new $APP.O(null,4,[$APP.Eh,a,$APP.ck,c,$APP.nk,d,$APP.Q,b],null)},X2=function(a){return new $APP.O(null,4,[$APP.Eh,a.getAttribute("value"),$APP.ck,a.hasAttribute("disabled"),$APP.nk,a.getAttribute("variant"),$APP.Q,a.getAttribute("type")],null)},Y2=function(a){var b=a.getAttribute("value");
3
+ return $APP.Nh(a,"x-menu-item-select",{value:$APP.n(b)?b:""})},Z2=function(a){var b=$APP.k(a,"__xMenuItemRefs");b=$APP.n(b)?$APP.k(b,"base"):null;var c=W2(X2(a));if($APP.n(b)){if($APP.A.j($APP.Q.i(c),"divider"))return $APP.S(a,"role","separator"),$APP.T(a,"tabindex"),$APP.T(a,"aria-disabled"),b.setAttribute("data-type","divider"),b.setAttribute("data-variant",""),b.setAttribute("data-disabled","false");$APP.S(a,"role","menuitem");$APP.S(a,"tabindex","-1");b.setAttribute("data-type","");b.setAttribute("data-variant",
4
+ $APP.nk.i(c));b.setAttribute("data-disabled",$APP.n($APP.ck.i(c))?"true":"false");return $APP.n($APP.ck.i(c))?$APP.S(a,"aria-disabled","true"):$APP.T(a,"aria-disabled")}return null},$2=function(a){function b(){return e.assignedNodes().length>0?$APP.S(a,"has-icon",""):$APP.T(a,"has-icon")}function c(h){var l=h.key,m=W2(X2(a));($APP.A.j(l,"Enter")||$APP.A.j(l," "))&&$APP.p($APP.ck.i(m))&&$APP.I($APP.Q.i(m),"divider")?(h.preventDefault(),h=Y2(a)):h=null;return h}function d(h){var l=W2(X2(a));var m=$APP.ck.i(l);
5
+ m=$APP.n(m)?m:$APP.A.j($APP.Q.i(l),"divider");$APP.n(m)&&h.preventDefault();return $APP.p($APP.ck.i(l))&&$APP.I($APP.Q.i(l),"divider")?Y2(a):null}var e=$APP.k($APP.k(a,"__xMenuItemRefs"),"icon-slot"),f={};a.addEventListener("click",d);a.addEventListener("keydown",c);e.addEventListener("slotchange",b);f.click=d;f.keydown=c;f["icon-slotchange"]=b;$APP.R(a,"__xMenuItemHandlers",f)},Jga=function(a){if($APP.Fh(a,"__xMenuItemInit"))return $2(a),Z2(a);if(!$APP.Fh(a,"__xMenuItemInit")){var b=a.attachShadow({mode:"open"}),
6
+ c=document.createElement("style"),d=document.createElement("div"),e=document.createElement("span"),f=document.createElement("slot"),h=document.createElement("span"),l=document.createElement("slot"),m=document.createElement("hr");c.textContent=":host{display:block;outline:none;color-scheme:light dark;--x-menu-item-color:var(--x-color-text,#111827);--x-menu-item-hover-bg:var(--x-color-surface-hover,#f3f4f6);--x-menu-item-focus-bg:var(--x-color-surface-hover,#eff6ff);--x-menu-item-focus-color:var(--x-color-primary-hover,#1d4ed8);--x-menu-item-disabled-opacity:0.45;--x-menu-item-danger-color:var(--x-color-danger,#dc2626);--x-menu-item-danger-hover-bg:#fef2f2;--x-menu-item-padding:8px 12px;--x-menu-item-border-radius:var(--x-radius-sm,4px);--x-menu-item-font-size:0.9375rem;--x-menu-item-icon-gap:8px;--x-menu-item-divider-color:var(--x-color-border,#e5e7eb);}:host([disabled]){pointer-events:none;}@media (prefers-color-scheme:dark){:host{--x-menu-item-color:var(--x-color-text,#f9fafb);--x-menu-item-hover-bg:var(--x-color-surface-hover,#1f2937);--x-menu-item-focus-bg:var(--x-color-surface-hover,#1e3a5f);--x-menu-item-focus-color:var(--x-color-focus-ring,#60a5fa);--x-menu-item-danger-color:var(--x-color-danger,#f87171);--x-menu-item-danger-hover-bg:#2d1515;--x-menu-item-divider-color:var(--x-color-border,#374151);}}.base{display:flex;align-items:center;gap:var(--x-menu-item-icon-gap);padding:var(--x-menu-item-padding);border-radius:var(--x-menu-item-border-radius);font-size:var(--x-menu-item-font-size);color:var(--x-menu-item-color);cursor:pointer;user-select:none;transition:background 100ms ease,color 100ms ease;}.base:hover{background:var(--x-menu-item-hover-bg);}:host(:focus) .base{background:var(--x-menu-item-focus-bg);color:var(--x-menu-item-focus-color);}.base[data-variant\x3d'danger']{color:var(--x-menu-item-danger-color);}.base[data-variant\x3d'danger']:hover{background:var(--x-menu-item-danger-hover-bg);}:host(:focus) .base[data-variant\x3d'danger']{background:var(--x-menu-item-danger-hover-bg);}.base[data-disabled\x3d'true']{opacity:var(--x-menu-item-disabled-opacity);cursor:default;pointer-events:none;}.base[data-type\x3d'divider']{padding:0;cursor:default;pointer-events:none;}.icon-span{display:none;flex-shrink:0;align-items:center;}:host([has-icon]) .icon-span{display:flex;}.divider-hr{display:none;}.base[data-type\x3d'divider'] .icon-span,.base[data-type\x3d'divider'] .label-span{display:none;}.base[data-type\x3d'divider'] .divider-hr{display:block;width:100%;border:none;border-top:1px solid var(--x-menu-item-divider-color);margin:4px 0;}@media (prefers-reduced-motion:reduce){.base{transition:none;}}";
7
+ d.setAttribute("part","base");d.className="base";e.setAttribute("part","icon");e.className="icon-span";f.setAttribute("name","icon");e.appendChild(f);h.className="label-span";h.appendChild(l);m.className="divider-hr";d.appendChild(e);d.appendChild(h);d.appendChild(m);b.appendChild(c);b.appendChild(d);b={};b.base=d;b["icon-span"]=e;b["icon-slot"]=f;$APP.R(a,"__xMenuItemRefs",b);$2(a);$APP.R(a,"__xMenuItemInit",!0)}Z2(a);return a},Kga=function(a){var b=$APP.k(a,"__xMenuItemHandlers"),c=$APP.k(a,"__xMenuItemRefs");
8
+ if($APP.n(b)){var d=$APP.k(b,"keydown"),e=$APP.k(b,"icon-slotchange");c=$APP.n(c)?$APP.k(c,"icon-slot"):null;a.removeEventListener("click",$APP.k(b,"click"));a.removeEventListener("keydown",d);a=$APP.n(c)?c.removeEventListener("slotchange",e):null}else a=null;return a},Lga=function(a){return $APP.Fh(a,"__xMenuItemInit")?Z2(a):null},Nga=function(a){return $APP.Zh(a,Mga)},a3=function(){return $APP.Ah("x-menu-item",new $APP.O(null,5,[$APP.qh,Oga,$APP.oh,Jga,$APP.lh,Kga,$APP.kh,Lga,$APP.ph,Nga],null))};var Oga=["value","disabled","variant","type"],Hga=new $APP.pg(null,new $APP.O(null,2,["",null,"danger",null],null),null),Iga=new $APP.pg(null,new $APP.O(null,2,["",null,"divider",null],null),null),Mga=new $APP.O(null,4,[$APP.Eh,new $APP.O(null,2,[$APP.Q,$APP.X,$APP.W,"value"],null),$APP.ck,new $APP.O(null,2,[$APP.Q,$APP.Xh,$APP.W,"disabled"],null),$APP.nk,new $APP.O(null,2,[$APP.Q,$APP.X,$APP.W,"variant"],null),$APP.Q,new $APP.O(null,2,[$APP.Q,$APP.X,$APP.W,"type"],null)],null);
9
+ $APP.ce(["x-menu-item-select",new $APP.O(null,1,[$APP.U,new $APP.O(null,1,[$APP.Eh,$APP.X],null)],null)]);$APP.ha("baredom.exports.x_menu_item.init",a3);export const init=a3;
package/dist/x-menu.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { $APP, shadow$provide } from "./base.js";
2
- var gV=function(a){a=a.querySelectorAll("x-menu-item");for(var b=[],c=a.length,d=0;;)if(d<c){var e=a[d];$APP.p(e.hasAttribute("disabled"))&&$APP.M(e.getAttribute("type"),"divider")&&b.push(e);d+=1}else break;return b},jV=function(a){$APP.n(a.hasAttribute("open"))||(a.setAttribute("open",""),$APP.ah(a,"x-menu-open",{}));if($APP.n(null)){a=gV(a);var b=a.length;return b>0?$APP.B.j(null,hV)?a[0].focus():$APP.B.j(null,iV)?a[b-1].focus():null:null}return null},kV=function(a,b){$APP.n(a.hasAttribute("open"))&&
3
- (a.removeAttribute("open"),$APP.ah(a,"x-menu-close",{}));return $APP.n(b)?(a=$APP.k(a,"__xMenuRefs"),a=$APP.n(a)?$APP.k(a,"trigger-slot"):null,a=$APP.n(a)?a.assignedElements():null,a=$APP.n($APP.n(a)?a.length>0:a)?a[0]:null,$APP.n(a)?a.focus():null):null},lV=function(a,b){var c=b.composedPath();a=$APP.yc(a.assignedElements());return $APP.E($APP.Yd(function(d){return c.indexOf(d)>-1},a))},mV=function(a,b){var c=b.key,d=a.hasAttribute("open");if($APP.B.j(c,"Escape"))return $APP.n(d)?(b.preventDefault(),
4
- kV(a,!0)):null;if($APP.B.j(c,"Tab"))return $APP.n(d)?kV(a,!1):null;if($APP.B.j(c,"ArrowDown")||$APP.B.j(c,"ArrowUp")){var e=gV(a),f=e.length;if(f>0){b.preventDefault();if($APP.n(d))return a=e.indexOf(document.activeElement),c=$APP.B.j(c,"ArrowDown")?a>=f-1?0:a<0?0:a+1:a<=0?f-1:a-1,e[c].focus();jV(a);return e[$APP.B.j(c,"ArrowDown")?0:f-1].focus()}}else if($APP.B.j(c,"Home")){if($APP.n(d)&&(e=gV(a),e.length>0))return b.preventDefault(),e[0].focus()}else if($APP.B.j(c,"End")&&$APP.n(d)&&(e=gV(a),e.length>
5
- 0))return b.preventDefault(),e[e.length-1].focus();return null},oV=function(a){var b=$APP.k(a,"__xMenuRefs");b=$APP.n(b)?$APP.k(b,"popup"):null;a=new $APP.P(null,3,[$APP.Qn,a.hasAttribute("open"),$APP.gl,a.getAttribute("placement"),$APP.X,a.getAttribute("label")],null);a=$APP.H(a);var c=$APP.C(a,$APP.Qn),d=$APP.C(a,$APP.gl);a=$APP.C(a,$APP.X);c=$APP.E(c);d=$APP.n(d)?d:"";d=$APP.Vc(nV,d)?d:"bottom-start";a=new $APP.P(null,3,[$APP.Qn,c,$APP.gl,d,$APP.X,$APP.n(a)?a:""],null);return $APP.n(b)?(b.setAttribute("data-placement",
6
- $APP.gl.i(a)),a=$APP.X.i(a),$APP.n($APP.n(a)?$APP.M(a,""):a)?b.setAttribute("aria-label",a):b.removeAttribute("aria-label")):null},pV=function(a){function b(h){h.stopPropagation();h=h.detail.value;kV(a,!1);return $APP.ah(a,"x-menu-select",{value:$APP.n(h)?h:""})}function c(h){return mV(a,h)}function d(h){$APP.n(a.hasAttribute("open"))?(h=h.composedPath(),h=$APP.B.j(-1,h.indexOf(a))?kV(a,!1):null):h=null;return h}function e(h){var l=$APP.k(a,"__xMenuRefs");l=$APP.n(l)?$APP.k(l,"trigger-slot"):null;
7
- return $APP.n($APP.n(l)?lV(l,h):l)?$APP.n(a.hasAttribute("open"))?kV(a,!0):jV(a):null}var f={};a.addEventListener("click",e);document.addEventListener("click",d,!0);a.addEventListener("keydown",c);a.addEventListener("x-menu-item-select",b);f.click=e;f["doc-click"]=d;f.keydown=c;f["item-select"]=b;a.__xMenuHandlers=f},qV=function(a){if($APP.Yg(a,"__xMenuInit"))return pV(a),oV(a);if(!$APP.Yg(a,"__xMenuInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),
2
+ var RY=function(a){a=a.querySelectorAll("x-menu-item");for(var b=[],c=a.length,d=0;;)if(d<c){var e=a[d];$APP.p(e.hasAttribute("disabled"))&&$APP.I(e.getAttribute("type"),"divider")&&b.push(e);d+=1}else break;return b},SY=function(a){$APP.n(a.hasAttribute("open"))||($APP.S(a,"open",""),$APP.Nh(a,"x-menu-open",{}));if($APP.n(null)){a=RY(a);var b=a.length;return b>0?$APP.A.j(null,Ica)?a[0].focus():$APP.A.j(null,Jca)?a[b-1].focus():null:null}return null},TY=function(a,b){$APP.n(a.hasAttribute("open"))&&
3
+ ($APP.T(a,"open"),$APP.Nh(a,"x-menu-close",{}));return $APP.n(b)?(a=$APP.k(a,"__xMenuRefs"),a=$APP.n(a)?$APP.k(a,"trigger-slot"):null,a=$APP.n(a)?a.assignedElements():null,a=$APP.n($APP.n(a)?a.length>0:a)?a[0]:null,$APP.n(a)?a.focus():null):null},Kca=function(a,b){var c=b.composedPath();a=$APP.Ac(a.assignedElements());return $APP.D($APP.ge(function(d){return c.indexOf(d)>-1},a))},Lca=function(a,b){var c=b.key,d=a.hasAttribute("open");if($APP.A.j(c,"Escape"))return $APP.n(d)?(b.preventDefault(),TY(a,
4
+ !0)):null;if($APP.A.j(c,"Tab"))return $APP.n(d)?TY(a,!1):null;if($APP.A.j(c,"ArrowDown")||$APP.A.j(c,"ArrowUp")){var e=RY(a),f=e.length;if(f>0){b.preventDefault();if($APP.n(d))return a=e.indexOf(document.activeElement),c=$APP.A.j(c,"ArrowDown")?a>=f-1?0:a<0?0:a+1:a<=0?f-1:a-1,e[c].focus();SY(a);return e[$APP.A.j(c,"ArrowDown")?0:f-1].focus()}}else if($APP.A.j(c,"Home")){if($APP.n(d)&&(e=RY(a),e.length>0))return b.preventDefault(),e[0].focus()}else if($APP.A.j(c,"End")&&$APP.n(d)&&(e=RY(a),e.length>
5
+ 0))return b.preventDefault(),e[e.length-1].focus();return null},UY=function(a){var b=$APP.k(a,"__xMenuRefs");b=$APP.n(b)?$APP.k(b,"popup"):null;a=new $APP.O(null,3,[$APP.wq,a.hasAttribute("open"),$APP.Vn,a.getAttribute("placement"),$APP.Z,a.getAttribute("label")],null);a=$APP.G(a);var c=$APP.C(a,$APP.wq),d=$APP.C(a,$APP.Vn);a=$APP.C(a,$APP.Z);c=$APP.D(c);d=$APP.n(d)?d:"";d=$APP.$c(Mca,d)?d:"bottom-start";a=new $APP.O(null,3,[$APP.wq,c,$APP.Vn,d,$APP.Z,$APP.n(a)?a:""],null);return $APP.n(b)?(b.setAttribute("data-placement",
6
+ $APP.Vn.i(a)),a=$APP.Z.i(a),$APP.n($APP.n(a)?$APP.I(a,""):a)?b.setAttribute("aria-label",a):b.removeAttribute("aria-label")):null},VY=function(a){function b(h){h.stopPropagation();h=h.detail.value;TY(a,!1);return $APP.Nh(a,"x-menu-select",{value:$APP.n(h)?h:""})}function c(h){return Lca(a,h)}function d(h){$APP.n(a.hasAttribute("open"))?(h=h.composedPath(),h=$APP.A.j(-1,h.indexOf(a))?TY(a,!1):null):h=null;return h}function e(h){var l=$APP.k(a,"__xMenuRefs");l=$APP.n(l)?$APP.k(l,"trigger-slot"):null;
7
+ return $APP.n($APP.n(l)?Kca(l,h):l)?$APP.n(a.hasAttribute("open"))?TY(a,!0):SY(a):null}var f={};a.addEventListener("click",e);document.addEventListener("click",d,!0);a.addEventListener("keydown",c);a.addEventListener("x-menu-item-select",b);f.click=e;f["doc-click"]=d;f.keydown=c;f["item-select"]=b;$APP.R(a,"__xMenuHandlers",f)},Nca=function(a){if($APP.Fh(a,"__xMenuInit"))return VY(a),UY(a);if(!$APP.Fh(a,"__xMenuInit")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div"),
8
8
  e=document.createElement("slot"),f=document.createElement("div"),h=document.createElement("slot");c.textContent=":host{display:inline-block;position:relative;color-scheme:light dark;--x-menu-bg:var(--x-color-bg,#ffffff);--x-menu-border:1px solid var(--x-color-border,#e5e7eb);--x-menu-border-radius:var(--x-radius-md,8px);--x-menu-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.12));--x-menu-min-width:160px;--x-menu-padding:4px;--x-menu-z-index:1000;}@media (prefers-color-scheme:dark){:host{--x-menu-bg:var(--x-color-bg,#1f2937);--x-menu-border:1px solid var(--x-color-border,#374151);--x-menu-shadow:var(--x-shadow-md,0 4px 16px rgba(0,0,0,0.4));}}.base{position:relative;display:inline-block;}.popup{display:none;position:absolute;background:var(--x-menu-bg);border:var(--x-menu-border);border-radius:var(--x-menu-border-radius);box-shadow:var(--x-menu-shadow);min-width:var(--x-menu-min-width);max-width:calc(100vw - 1rem);padding:var(--x-menu-padding);z-index:var(--x-menu-z-index);box-sizing:border-box;}:host([open]) .popup{display:block;}.popup[data-placement\x3d'bottom-start']{top:100%;left:0;margin-top:4px;}.popup[data-placement\x3d'bottom-end']{top:100%;right:0;margin-top:4px;}.popup[data-placement\x3d'top-start']{bottom:100%;left:0;margin-bottom:4px;}.popup[data-placement\x3d'top-end']{bottom:100%;right:0;margin-bottom:4px;}";
9
- d.setAttribute("part","base");d.className="base";e.setAttribute("name","trigger");f.setAttribute("part","popup");f.className="popup";f.setAttribute("role","menu");f.appendChild(h);d.appendChild(e);d.appendChild(f);b.appendChild(c);b.appendChild(d);b={};b.base=d;b.popup=f;b["trigger-slot"]=e;b["item-slot"]=h;a.__xMenuRefs=b;pV(a);a.__xMenuInit=!0}oV(a);return a},rV=function(a){var b=$APP.k(a,"__xMenuHandlers");if($APP.n(b)){var c=$APP.k(b,"doc-click"),d=$APP.k(b,"keydown"),e=$APP.k(b,"item-select");
10
- a.removeEventListener("click",$APP.k(b,"click"));document.removeEventListener("click",c,!0);a.removeEventListener("keydown",d);a=a.removeEventListener("x-menu-item-select",e)}else a=null;return a},sV=function(a){return $APP.Yg(a,"__xMenuInit")?oV(a):null},uV=function(a){return $APP.ih(a,tV)},wV=function(){return $APP.Wg("x-menu",new $APP.P(null,5,[$APP.Mg,vV,$APP.Ng,qV,$APP.Og,rV,$APP.Qg,sV,$APP.Ug,uV],null))},iV=new $APP.F(null,"last","last",1105735132),hV=new $APP.F(null,"first","first",-644103046);var vV=["open","placement","label"],nV=new $APP.Q(null,new $APP.P(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),tV=new $APP.P(null,3,[$APP.Qn,new $APP.P(null,2,[$APP.S,$APP.U,$APP.T,"open"],null),$APP.gl,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"placement"],null),$APP.X,new $APP.P(null,2,[$APP.S,$APP.V,$APP.T,"label"],null)],null);
11
- $APP.Ud(["x-menu-open",new $APP.P(null,1,[$APP.Z,$APP.Vd],null),"x-menu-close",new $APP.P(null,1,[$APP.Z,$APP.Vd],null),"x-menu-select",new $APP.P(null,1,[$APP.Z,new $APP.P(null,1,[$APP.Fh,$APP.V],null)],null)]);$APP.da("baredom.exports.x_menu.init",wV);export const init=wV;
9
+ d.setAttribute("part","base");d.className="base";e.setAttribute("name","trigger");f.setAttribute("part","popup");f.className="popup";f.setAttribute("role","menu");f.appendChild(h);d.appendChild(e);d.appendChild(f);b.appendChild(c);b.appendChild(d);b={};b.base=d;b.popup=f;b["trigger-slot"]=e;b["item-slot"]=h;$APP.R(a,"__xMenuRefs",b);VY(a);$APP.R(a,"__xMenuInit",!0)}UY(a);return a},Oca=function(a){var b=$APP.k(a,"__xMenuHandlers");if($APP.n(b)){var c=$APP.k(b,"doc-click"),d=$APP.k(b,"keydown"),e=$APP.k(b,
10
+ "item-select");a.removeEventListener("click",$APP.k(b,"click"));document.removeEventListener("click",c,!0);a.removeEventListener("keydown",d);a=a.removeEventListener("x-menu-item-select",e)}else a=null;return a},Pca=function(a){return $APP.Fh(a,"__xMenuInit")?UY(a):null},Rca=function(a){return $APP.Zh(a,Qca)},WY=function(){return $APP.Ah("x-menu",new $APP.O(null,5,[$APP.qh,Sca,$APP.oh,Nca,$APP.lh,Oca,$APP.kh,Pca,$APP.ph,Rca],null))},Jca=new $APP.F(null,"last","last",1105735132),Ica=new $APP.F(null,
11
+ "first","first",-644103046);var Sca=["open","placement","label"],Mca=new $APP.pg(null,new $APP.O(null,4,["bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null],null),null),Qca=new $APP.O(null,3,[$APP.wq,new $APP.O(null,2,[$APP.Q,$APP.Xh,$APP.W,"open"],null),$APP.Vn,new $APP.O(null,2,[$APP.Q,$APP.X,$APP.W,"placement"],null),$APP.Z,new $APP.O(null,2,[$APP.Q,$APP.X,$APP.W,"label"],null)],null);
12
+ $APP.ce(["x-menu-open",new $APP.O(null,1,[$APP.U,$APP.de],null),"x-menu-close",new $APP.O(null,1,[$APP.U,$APP.de],null),"x-menu-select",new $APP.O(null,1,[$APP.U,new $APP.O(null,1,[$APP.Eh,$APP.X],null)],null)]);$APP.ha("baredom.exports.x_menu.init",WY);export const init=WY;