@vanelsas/baredom 4.5.0 → 4.6.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.
- package/CHANGELOG.md +49 -0
- package/custom-elements.json +60 -1
- package/dist/all.d.ts +4 -0
- package/dist/all.js +222 -0
- package/dist/baredom.d.ts +1 -0
- package/dist/baremirror-alpha.js +27 -28
- package/dist/base.js +691 -673
- package/dist/integrity.json +113 -112
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.js +10 -10
- package/dist/x-avatar.js +14 -14
- package/dist/x-badge.js +9 -9
- package/dist/x-bento-grid.js +6 -6
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +18 -16
- package/dist/x-button.js +1 -1
- package/dist/x-calendar.js +41 -41
- package/dist/x-cancel-dialogue.js +16 -16
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +37 -35
- package/dist/x-chart.js +48 -48
- package/dist/x-checkbox.js +1 -1
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +31 -31
- package/dist/x-collapse.js +11 -11
- package/dist/x-color-picker.js +47 -47
- package/dist/x-combobox.js +35 -35
- package/dist/x-command-palette.js +31 -31
- package/dist/x-confetti.js +24 -24
- package/dist/x-container.js +6 -6
- package/dist/x-context-menu.js +19 -19
- package/dist/x-copy.js +1 -1
- package/dist/x-currency-field.js +25 -25
- package/dist/x-date-picker.js +45 -45
- package/dist/x-divider.js +8 -8
- package/dist/x-drag-panel.js +33 -33
- package/dist/x-drawer.js +12 -12
- package/dist/x-drop-zone.js +11 -11
- package/dist/x-dropdown.js +12 -12
- package/dist/x-fieldset.js +6 -6
- package/dist/x-file-download.js +15 -15
- package/dist/x-file-upload.js +26 -26
- package/dist/x-floating-panel.js +23 -23
- package/dist/x-form-field.js +18 -18
- package/dist/x-form.js +10 -10
- package/dist/x-gaussian-blur.js +13 -13
- package/dist/x-grid.js +8 -8
- package/dist/x-i18n-provider.js +7 -7
- package/dist/x-i18n.js +4 -4
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +19 -19
- package/dist/x-kbd.js +16 -16
- package/dist/x-kinetic-canvas.js +25 -25
- package/dist/x-kinetic-font.js +26 -26
- package/dist/x-kinetic-typography.js +34 -34
- package/dist/x-liquid-dock.js +31 -31
- package/dist/x-liquid-fill.js +39 -39
- package/dist/x-liquid-glass.js +32 -32
- package/dist/x-menu-item.js +9 -9
- package/dist/x-menu.js +10 -10
- package/dist/x-metaball-cursor.js +26 -26
- package/dist/x-modal.js +13 -13
- package/dist/x-morph-stack.js +38 -38
- package/dist/x-multi-combobox.js +41 -41
- package/dist/x-navbar.js +15 -15
- package/dist/x-neural-glow.js +29 -29
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +18 -18
- package/dist/x-organic-progress.js +35 -35
- package/dist/x-organic-shape.js +12 -12
- package/dist/x-otp-input.js +22 -22
- package/dist/x-pagination.js +18 -16
- package/dist/x-particle-button.js +55 -54
- package/dist/x-popover.js +28 -28
- package/dist/x-progress-circle.js +8 -8
- package/dist/x-progress.js +8 -8
- package/dist/x-proximity-list.js +20 -20
- package/dist/x-radio.js +14 -13
- package/dist/x-range-slider.js +30 -30
- package/dist/x-rating.js +23 -23
- package/dist/x-ripple-effect.js +10 -10
- package/dist/x-scroll-parallax.js +17 -17
- package/dist/x-scroll-stack.js +17 -17
- package/dist/x-scroll-story.js +34 -32
- package/dist/x-scroll-timeline.js +50 -46
- package/dist/x-scroll.js +38 -38
- package/dist/x-search-field.js +1 -1
- package/dist/x-select.js +1 -1
- package/dist/x-sidebar.js +17 -17
- package/dist/x-skeleton-group.js +14 -13
- package/dist/x-skeleton.js +1 -1
- package/dist/x-slider.js +17 -17
- package/dist/x-soft-body.js +18 -18
- package/dist/x-spacer.js +4 -4
- package/dist/x-spinner.js +4 -4
- package/dist/x-splash.js +13 -13
- package/dist/x-split-pane.js +15 -15
- package/dist/x-spotlight-card.js +12 -12
- package/dist/x-stat.js +10 -10
- package/dist/x-stepper.js +15 -15
- package/dist/x-switch.js +12 -12
- package/dist/x-tab.js +7 -9
- package/dist/x-table-cell.js +20 -20
- package/dist/x-table-row.js +9 -9
- package/dist/x-table.js +14 -14
- package/dist/x-tabs.js +11 -11
- package/dist/x-text-area.js +20 -20
- package/dist/x-theme.js +26 -26
- package/dist/x-timeline-item.js +21 -21
- package/dist/x-timeline.js +9 -8
- package/dist/x-toast.js +22 -22
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +14 -13
- package/dist/x-trace-history.d.ts +5 -0
- package/dist/x-trace-history.js +116 -116
- package/dist/x-typography.js +6 -6
- package/dist/x-welcome-tour.js +64 -62
- package/package.json +7 -2
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
a()].join(""))},
|
|
2
|
+
var QV=function(a){this.rb=a;this.F=null;this.B=2153775104;this.K=2048},Zsa=function(a){return new QV(a.toLowerCase())},$sa=function(){function a(){var d=Math.floor(Math.random()*65536).toString(16);switch(d.length){case 1:return["000",d].join("");case 2:return["00",d].join("");case 3:return["0",d].join("");default:return d}}var b=(16384|4095&Math.floor(Math.random()*65536)).toString(16),c=(32768|16383&Math.floor(Math.random()*65536)).toString(16);return Zsa([a(),a(),"-",a(),"-",b,"-",c,"-",a(),a(),
|
|
3
|
+
a()].join(""))},RV=function(a){return typeof a==="string"&&$APP.M.j("",a.trim())?a.trim():null},SV=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},TV=function(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches},UV=function(a){var b=$APP.l(a,"__xKineticTypographyAnimate");$APP.m(b)&&(b.remove(),$APP.T(a,"__xKineticTypographyAnimate",null))},VV=function(a,b,c,d){var e=SV("animate");c=""+$APP.N.i(c)+"s";b=$APP.z.j(b,"reverse")?"reverse":"normal";$APP.U(e,
|
|
4
4
|
"attributeName","startOffset");$APP.U(e,"repeatCount","indefinite");$APP.U(e,"dur",c);d>0&&$APP.U(e,"begin",""+$APP.N.i(d)+"s");switch(a){case "scroll":$APP.U(e,"from",$APP.z.j(b,"reverse")?"100%":"0%");$APP.U(e,"to",$APP.z.j(b,"reverse")?"0%":"100%");break;case "bounce":$APP.U(e,"values",$APP.z.j(b,"reverse")?"100%;0%;100%":"0%;100%;0%");$APP.U(e,"calcMode","spline");$APP.U(e,"keySplines","0.42 0 0.58 1;0.42 0 0.58 1");break;case "oscillate":$APP.U(e,"values",$APP.z.j(b,"reverse")?"120%;-20%;120%":
|
|
5
|
-
"-20%;120%;-20%"),$APP.U(e,"calcMode","spline"),$APP.U(e,"keySplines","0.42 0 0.58 1;0.42 0 0.58 1")}return e},
|
|
6
|
-
a.getAttribute("
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"size-gradient")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"data-direction","reverse"):$APP.V(a,"data-direction");$APP.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"s ease-in-out infinite;animation-delay:"+$APP.N.i(
|
|
16
|
-
$APP.N.i(
|
|
17
|
-
$APP.N.i(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
e:d},set:function(e){return typeof e==="string"&&$APP.M.j("",e)?$APP.U(this,b,e):$APP.V(this,b)},enumerable:!0,configurable:!0})},
|
|
24
|
-
|
|
25
|
-
[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return
|
|
26
|
-
|
|
27
|
-
$APP.
|
|
28
|
-
var
|
|
29
|
-
"path-id","path-id",-73169688),
|
|
30
|
-
new $APP.
|
|
31
|
-
$APP.
|
|
32
|
-
[$APP.P,$APP.X,$APP.W,"start-size"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"animation",$APP.
|
|
33
|
-
$APP.W,"font-size"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"effect"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"echo-delay"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"end-size"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"direction",$APP.
|
|
34
|
-
var
|
|
35
|
-
null),"spiral",new $APP.K(null,2,[$APP.
|
|
36
|
-
$APP.N.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-kinetic-typography-color:var(--x-color-text,rgba(255,255,255,0.87));}}[part\x3dcontainer]{width:100%;height:100%;position:relative;}[part\x3dsvg]{width:100%;height:100%;overflow:visible;}[part\x3dtext]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);opacity:var(--x-kinetic-typography-opacity);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}[part\x3dtext-echo]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}@keyframes xkt-opacity-wave{0%,100%{opacity:var(--x-kinetic-typography-opacity);}50%{opacity:0.3;}}@keyframes xkt-size-pulse{0%,100%{font-size:var(--x-kinetic-typography-font-size);}50%{font-size:calc(var(--x-kinetic-typography-font-size) * 1.15);}}@keyframes xkt-spacing-breathe{0%,100%{letter-spacing:var(--x-kinetic-typography-letter-spacing);}50%{letter-spacing:0.15em;}}@keyframes xkt-color-shift{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}@keyframes xkt-color-wave{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}:host([data-effect~\x3dopacity-wave]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dsize-pulse]) [part\x3dtext]{animation:xkt-size-pulse var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}[part\x3dpath-line]{fill:none;stroke:var(--x-kinetic-typography-path-stroke);stroke-width:var(--x-kinetic-typography-path-stroke-width);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dcrawl-viewport]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dsvg]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-viewport]{display:block;perspective:var(--x-kinetic-typography-crawl-perspective);height:100%;overflow:hidden;position:relative;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{position:absolute;bottom:0;left:50%;transform:translateX(-50%) rotateX(25deg);transform-origin:50% 100%;text-align:center;font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);color:var(--x-kinetic-typography-color);letter-spacing:var(--x-kinetic-typography-letter-spacing);white-space:pre-line;line-height:1.6;width:80%;}@keyframes xkt-crawl{0%{bottom:-100%;opacity:1;}90%{opacity:1;}100%{bottom:200%;opacity:0;}}:host([data-preset\x3dcrawl][data-animation\x3dscroll]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite;}:host([data-preset\x3dcrawl][data-animation\x3dscroll][data-direction\x3dreverse]) [part\x3dcrawl-text]{animation-direction:reverse;}:host([data-preset\x3dcrawl][data-effect~\x3dcolor-shift]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite,xkt-crawl-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}@keyframes xkt-crawl-color-shift{0%,100%{color:var(--x-kinetic-typography-color-shift-from);}50%{color:var(--x-kinetic-typography-color-shift-to);}}@media (prefers-reduced-motion:reduce){:host([data-effect]) [part\x3dtext]{animation:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{animation:none;}}";$APP.
|
|
5
|
+
"-20%;120%;-20%"),$APP.U(e,"calcMode","spline"),$APP.U(e,"keySplines","0.42 0 0.58 1;0.42 0 0.58 1")}return e},WV=function(a){var b=$APP.l(a,"__xKineticTypographyEchoEls");if($APP.m(b)){for(var c=b.length,d=0;;)if(d<c)b[d].textEl.remove(),d+=1;else break;$APP.T(a,"__xKineticTypographyEchoEls",[])}},nW=function(a){var b=$APP.lg([$APP.mu,XV,$APP.On,YV,$APP.yt,$APP.Aq,ZV,$V,aW,bW,cW,dW,$APP.Pp,eW,$APP.Fm],[a.getAttribute("path"),a.getAttribute("echo-scale"),a.getAttribute("animation"),a.getAttribute("font-size"),
|
|
6
|
+
a.getAttribute("speed"),a.getAttribute("preset"),a.getAttribute("start-size"),a.getAttribute("repeat"),a.getAttribute("effect"),a.getAttribute("echo-delay"),a.getAttribute("echo-count"),a.getAttribute("end-size"),a.getAttribute("direction"),a.getAttribute("echo-opacity"),a.getAttribute("text")]),c=$APP.G(b),d=$APP.C(c,aW),e=$APP.C(c,bW),f=$APP.C(c,cW),g=$APP.C(c,dW),k=$APP.C(c,$APP.Pp),n=$APP.C(c,eW),r=$APP.C(c,$APP.Fm),v=$APP.C(c,$APP.mu),w=$APP.C(c,XV),y=$APP.C(c,$APP.On),A=$APP.C(c,YV),E=$APP.C(c,
|
|
7
|
+
$APP.yt),J=$APP.C(c,$APP.Aq),O=$APP.C(c,ZV),S=$APP.C(c,$V),R=typeof r==="string"?r:"",ca=RV(v),na=typeof J==="string"?J.trim().toLowerCase():null;var ka=$APP.bd(fW,na)?na:"wave";var oa=$APP.z.j(ka,"crawl"),Ua=typeof y==="string"?y.trim().toLowerCase():null;var Va=$APP.bd(gW,Ua)?Ua:"scroll";var rb=typeof k==="string"?k.trim().toLowerCase():null;var Db=$APP.bd(hW,rb)?rb:"normal";if(typeof E==="string"){var bc=parseFloat(E.trim());var oc=typeof bc==="number"&&$APP.p(isNaN(bc))&&bc>0?bc:1}else oc=1;if(typeof S===
|
|
8
|
+
"string"){var Uc=parseInt(S.trim(),10);var $h=typeof Uc==="number"&&$APP.p(isNaN(Uc))&&Uc>0?Uc:1}else $h=1;if(typeof d==="string"){var sk=$APP.Og(d.toLowerCase().trim().split(/\s+/));var tk=$APP.Ov.j(sk,ata)}else tk=$APP.Kg;var uk=RV(O),Rd=RV(g);if($APP.z.j(ka,"crawl"))var qo=null;else{var Vi=ca!=null;var Wi=Vi?$APP.Ph(ca):Vi;qo=$APP.m(Wi)?new $APP.K(null,2,[$APP.Pu,Wi,iW,"0 0 800 200"],null):$APP.C(bta,ka)}var Ol=$APP.m($APP.m(uk)?$APP.m(Rd)?!oa:Rd:uk)?$APP.zd.j(tk,"size-gradient"):tk,ro=$APP.bd(Ol,
|
|
9
|
+
"size-gradient")?$APP.no.j(Ol,"size-pulse"):Ol,ED=$APP.bd(ro,"color-wave")?$APP.no.j(ro,"color-shift"):ro;if(typeof w==="string"){var Fg=parseFloat(w.trim());var Mr=typeof Fg==="number"&&$APP.p(isNaN(Fg))&&Fg>0&&Fg<=1?Fg:.85}else Mr=.85;var Nr=$APP.Pu.i(qo),so=RV(A),Or=iW.i(qo),to=10/$APP.Hj.j(oc,.01);if(oa)var Pl=0;else if(typeof f==="string"){var Ql=parseInt(f.trim(),10);Pl=typeof Ql==="number"&&$APP.p(isNaN(Ql))&&Ql>=0&&Ql<=5?Ql:0}else Pl=0;if(typeof e==="string"){var Rl=parseFloat(e.trim());var hx=
|
|
10
|
+
typeof Rl==="number"&&$APP.p(isNaN(Rl))&&Rl>0?Rl:.3}else hx=.3;if(typeof n==="string"){var Sl=parseFloat(n.trim());var Xi=typeof Sl==="number"&&$APP.p(isNaN(Sl))&&Sl>0&&Sl<=1?Sl:.5}else Xi=.5;var Yi=$APP.lg([XV,$APP.Ht,$APP.On,YV,$APP.yt,iW,$APP.Aq,jW,ZV,kW,lW,$V,cta,bW,cW,dW,$APP.Pp,eW,$APP.Fm],[Mr,Nr,Va,so,oc,Or,ka,oa,uk,ED,to,$h,ca!=null,hx,Pl,Rd,Db,Xi,R]);if($APP.M.j(Yi,$APP.l(a,"__xKineticTypographyModel"))){var Pr=$APP.l(a,"__xKineticTypographySvg"),ix=$APP.l(a,"__xKineticTypographyPath"),uo=
|
|
11
|
+
$APP.l(a,"__xKineticTypographyPathLine"),Qr=$APP.l(a,"__xKineticTypographyText"),vk=$APP.l(a,"__xKineticTypographyTextPath"),Rr=$APP.l(a,"__xKineticTypographySrOnly"),Sr=$APP.l(a,"__xKineticTypographyCrawlText");if($APP.m(jW.i(Yi))){var wk=$APP.G(Yi),vo=$APP.C(wk,$APP.Fm),Ge=$APP.C(wk,$APP.On),jx=$APP.C(wk,$APP.Pp),Tl=$APP.C(wk,kW);$APP.U(a,"data-preset","crawl");Sr.textContent=vo;UV(a);WV(a);$APP.M.j(Ge,"none")?$APP.U(a,"data-animation",Ge):$APP.V(a,"data-animation");$APP.z.j(jx,"reverse")?$APP.U(a,
|
|
12
|
+
"data-direction","reverse"):$APP.V(a,"data-direction");$APP.bd(Tl,"color-shift")?$APP.U(a,"data-effect","color-shift"):$APP.V(a,"data-effect")}else{var ai=$APP.G(Yi),kx=$APP.C(ai,$APP.On),FD=$APP.C(ai,$APP.Pp),GD=$APP.C(ai,lW);$APP.V(a,"data-preset");$APP.V(a,"data-direction");var Tr=$APP.G(ai),lx=$APP.C(Tr,iW),wo=$APP.C(Tr,$APP.Ht);$APP.m(lx)&&$APP.U(Pr,"viewBox",lx);$APP.m(wo)&&$APP.U(ix,"d",wo);$APP.m($APP.m(uo)?wo:uo)&&$APP.U(uo,"d",wo);var ec=$APP.G(ai),eg=$APP.C(ec,bW),Ur=$APP.C(ec,cW),xo=$APP.C(ec,
|
|
13
|
+
dW),mx=$APP.C(ec,$APP.Pp),nx=$APP.C(ec,eW),Ul=$APP.C(ec,$APP.Fm),ox=$APP.C(ec,XV),Vr=$APP.C(ec,$APP.On),xk=$APP.C(ec,ZV),Vl=$APP.C(ec,kW),Zi=$APP.C(ec,lW),yo=$APP.C(ec,$V),zo=yo<=1?Ul:$APP.Yd($APP.N,$APP.Ce(1,mW.j(new $APP.Ee(null,-1," · ",null),yo>0?new $APP.Ee(null,yo,Ul,null):$APP.$b))),px=$APP.bd(Vl,"size-gradient"),HD=$APP.bd(Vl,"color-wave"),Wr=px?$APP.m(xk)?$APP.m(xo)?$APP.M.j(Ul,""):xo:xk:px;var ID=$APP.m(Wr)?Wr:HD&&$APP.M.j(Ul,"");if($APP.m(ID)){vk.textContent="";var Xr=$APP.ff(zo),bi=$APP.x(Xr),
|
|
14
|
+
fg=$APP.bd(Vl,"size-gradient"),$i=$APP.bd(Vl,"color-wave"),dh=fg?parseFloat(xk):null,ci=fg?parseFloat(xo):null;if(fg){var yk=$APP.hh(/[a-z%]+/,$APP.m(xk)?xk:"px");var aj=$APP.m(yk)?yk:"px"}else aj=null;for(var Ao=aj,Yr=$i?bi>0?Zi/bi:0:null,Bo=$APP.q($APP.ah(bi)),zk=null,Wl=0,Ak=0;;)if(Ak<Wl){var eh=zk.C(null,Ak),bj=SV("tspan");$APP.m(fg?$APP.m(dh)?ci:dh:fg)&&$APP.U(bj,"font-size",""+$APP.N.i(dh+(bi>1?eh/(bi-1):0)*(ci-dh))+$APP.N.i(Ao));$i&&(bj.style.cssText="animation:xkt-color-wave "+$APP.N.i(Zi)+
|
|
15
|
+
"s ease-in-out infinite;animation-delay:"+$APP.N.i(eh*Yr)+"s;");bj.textContent=$APP.vc(Xr,eh);vk.appendChild(bj);Ak+=1}else{var Co=$APP.q(Bo);if(Co){var Bk=Co;if($APP.Xc(Bk)){var Ck=$APP.Ab(Bk),qx=$APP.Bb(Bk),JD=Ck,KD=$APP.x(Ck);Bo=qx;zk=JD;Wl=KD}else{eh=$APP.t(Bk);var Do=SV("tspan");$APP.m(fg?$APP.m(dh)?ci:dh:fg)&&$APP.U(Do,"font-size",""+$APP.N.i(dh+(bi>1?eh/(bi-1):0)*(ci-dh))+$APP.N.i(Ao));$i&&(Do.style.cssText="animation:xkt-color-wave "+$APP.N.i(Zi)+"s ease-in-out infinite;animation-delay:"+
|
|
16
|
+
$APP.N.i(eh*Yr)+"s;");Do.textContent=$APP.vc(Xr,eh);vk.appendChild(Do);Bo=$APP.u(Bk);zk=null;Wl=0}Ak=0}else break}}else vk.textContent=zo;WV(a);if(Ur>0){for(var Zr=$APP.l(a,"__xKineticTypographyPathId"),rx=[],LD=$APP.M.j(Vr,"none")&&$APP.p(TV()),MD=Zi>0?eg/Zi*100:5,$r=0;;)if($r<Ur){var Gg=$r+1,cj=SV("text"),Dk=SV("textPath"),sx=Math.pow(nx,Gg),as=Math.pow(ox,Gg),bs="-"+$APP.N.i(MD*Gg)+"%";$APP.U(cj,"part","text-echo");$APP.U(cj,"opacity",""+$APP.N.i(sx));$APP.U(cj,"font-size","calc(var(--x-kinetic-typography-font-size) * "+
|
|
17
|
+
$APP.N.i(as)+")");Dk.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+$APP.N.i(Zr));$APP.U(Dk,"href","#"+$APP.N.i(Zr));$APP.U(Dk,"startOffset",bs);Dk.textContent=zo;if(LD){var cs=VV(Vr,mx,Zi,eg*Gg);Dk.appendChild(cs)}cj.appendChild(Dk);Pr.appendChild(cj);rx.push({textEl:cj});$r+=1}else break;$APP.T(a,"__xKineticTypographyEchoEls",rx)}var Eo=$APP.G(ai),ds=$APP.C(Eo,YV);$APP.m(ds)?Qr.style.setProperty("font-size",ds):Qr.style.removeProperty("font-size");UV(a);if($APP.M.j(kx,"none")&&$APP.p(TV())){var Fo=
|
|
18
|
+
VV(kx,FD,GD,0);vk.appendChild(Fo);$APP.T(a,"__xKineticTypographyAnimate",Fo)}var Go=$APP.G(ai),tx=$APP.C(Go,kW),Ek=$APP.C(Go,$APP.On),es=$APP.no.o(tx,"size-gradient",$APP.Ac(["color-wave"]));$APP.q(es)?$APP.U(a,"data-effect",$APP.Gh(" ",$APP.gd($APP.cd,es))):$APP.V(a,"data-effect");$APP.M.j(Ek,"none")?$APP.U(a,"data-animation",Ek):$APP.V(a,"data-animation")}var ND=$APP.G(Yi),fs=$APP.C(ND,$APP.Fm);Rr.textContent=fs;$APP.z.j(fs,"")?($APP.U(a,"role","presentation"),$APP.U(a,"aria-hidden","true")):($APP.U(a,
|
|
19
|
+
"role","img"),$APP.U(a,"aria-label",fs));var ux=$APP.T(a,"__xKineticTypographyModel",Yi)}else ux=null;return ux},eta=function(a){if(!$APP.m($APP.l(a,"__xKineticTypographyInit"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("div");var e=SV("svg");var f=SV("defs"),g=SV("path"),k=SV("path"),n=SV("text"),r=SV("textPath"),v="xkt-"+$APP.N.i($sa());$APP.U(e,"part","svg");$APP.U(e,"aria-hidden","true");$APP.U(e,"focusable","false");$APP.U(g,"id",v);$APP.U(k,
|
|
20
|
+
"part","path-line");$APP.U(n,"part","text");$APP.U(r,"href","#"+$APP.N.i(v));f.appendChild(g);n.appendChild(r);e.appendChild(k);e.appendChild(f);e.appendChild(n);e=new $APP.K(null,6,[$APP.Qt,e,oW,g,pW,k,$APP.np,n,qW,r,rW,v],null);f=document.createElement("div");g=document.createElement("div");$APP.U(f,"part","crawl-viewport");$APP.U(g,"part","crawl-text");f.appendChild(g);f=new $APP.K(null,2,[$APP.Lp,f,$APP.Fm,g],null);g=document.createElement("span");g.classList.add("sr-only");$APP.U(g,"part","sr-only");
|
|
21
|
+
c.textContent=dta;$APP.U(d,"part","container");d.appendChild($APP.Qt.i(e));d.appendChild($APP.Lp.i(f));d.appendChild(g);b.appendChild(c);b.appendChild(d);$APP.T(a,"__xKineticTypographyContainer",d);$APP.T(a,"__xKineticTypographySvg",$APP.Qt.i(e));$APP.T(a,"__xKineticTypographyPath",oW.i(e));$APP.T(a,"__xKineticTypographyPathLine",pW.i(e));$APP.T(a,"__xKineticTypographyText",$APP.np.i(e));$APP.T(a,"__xKineticTypographyTextPath",qW.i(e));$APP.T(a,"__xKineticTypographySrOnly",g);$APP.T(a,"__xKineticTypographyPathId",
|
|
22
|
+
rW.i(e));$APP.T(a,"__xKineticTypographyCrawlViewport",$APP.Lp.i(f));$APP.T(a,"__xKineticTypographyCrawlText",$APP.Fm.i(f));$APP.T(a,"__xKineticTypographyEchoEls",[]);$APP.T(a,"__xKineticTypographyInit",!0)}return nW(a)},fta=function(a){UV(a);WV(a);return $APP.T(a,"__xKineticTypographyModel",null)},gta=function(a,b,c,d){return $APP.M.j(c,d)?$APP.m($APP.l(a,"__xKineticTypographyInit"))?nW(a):null:null},sW=function(a,b,c,d){return Object.defineProperty(a,c,{get:function(){var e=this.getAttribute(b);
|
|
23
|
+
return $APP.m(e)?e:d},set:function(e){return typeof e==="string"&&$APP.M.j("",e)?$APP.U(this,b,e):$APP.V(this,b)},enumerable:!0,configurable:!0})},hta=function(a){sW(a,"text","text","");sW(a,"path","path",null);sW(a,"preset","preset","wave");sW(a,"animation","animation","scroll");sW(a,"speed","speed",""+$APP.N.i(1));sW(a,"direction","direction","normal");sW(a,"effect","effect","none");sW(a,"font-size","fontSize",null);sW(a,"start-size","startSize",null);sW(a,"end-size","endSize",null);sW(a,"repeat",
|
|
24
|
+
"repeat",""+$APP.N.i(1));sW(a,"echo-count","echoCount",""+$APP.N.i(0));sW(a,"echo-delay","echoDelay",""+$APP.N.i(.3));sW(a,"echo-opacity","echoOpacity",""+$APP.N.i(.5));return sW(a,"echo-scale","echoScale",""+$APP.N.i(.85))},tW=function(){return $APP.kj("x-kinetic-typography",new $APP.K(null,5,[$APP.jj,ita,$APP.hj,eta,$APP.ej,fta,$APP.dj,gta,$APP.ij,hta],null))},mW=function mW(a){switch(arguments.length){case 0:return mW.G();case 1:return mW.i(arguments[0]);case 2:return mW.j(arguments[0],arguments[1]);
|
|
25
|
+
default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return mW.o(arguments[0],arguments[1],2<c.length?new $APP.Xb(c.slice(2),0,null):null)}};mW.G=function(){return $APP.$b};mW.i=function(a){return new $APP.Ed(null,function(){return a},null)};mW.j=function(a,b){return new $APP.Ed(null,function(){var c=$APP.q(a),d=$APP.q(b);return c&&d?$APP.Cd($APP.t(c),$APP.Cd($APP.t(d),mW.j($APP.ac(c),$APP.ac(d)))):null},null)};
|
|
26
|
+
mW.o=function(a,b,c){return new $APP.Ed(null,function(){var d=$APP.De.j($APP.q,$APP.zd.o(c,b,$APP.Ac([a])));return $APP.je($APP.qd,d)?$APP.Fe.j($APP.De.j($APP.t,d),$APP.Yd(mW,$APP.De.j($APP.ac,d))):null},null)};mW.I=function(a){var b=$APP.t(a),c=$APP.u(a);a=$APP.t(c);c=$APP.u(c);return this.o(b,a,c)};mW.M=2;$APP.h=QV.prototype;$APP.h.Ic=$APP.Sb;$APP.h.toString=function(){return this.rb};$APP.h.V=function(a,b){return(a=b!=null?$APP.Sb===b.Ic?!0:!1:!1)?this.rb===b.rb:a};
|
|
27
|
+
$APP.h.R=function(a,b){return $APP.pb(b,['#uuid "',$APP.ua(this.rb),'"'].join(""))};$APP.h.X=function(){this.F==null&&(this.F=$APP.Tb(this.rb));return this.F};$APP.h.Ja=function(a,b){if(b instanceof QV)return $APP.ia(this.rb,b.rb);throw Error(["Cannot compare ",$APP.ua(this)," to ",$APP.ua(b)].join(""));};
|
|
28
|
+
var cW=new $APP.F(null,"echo-count","echo-count",1053271067),$V=new $APP.F(null,"repeat","repeat",832692087),lW=new $APP.F(null,"duration-s","duration-s",-1976899627),YV=new $APP.F(null,"font-size","font-size",-1847940346),kW=new $APP.F(null,"effects","effects",-282369292),eW=new $APP.F(null,"echo-opacity","echo-opacity",-1476699970),oW=new $APP.F(null,"path-el","path-el",-1878744855),ZV=new $APP.F(null,"start-size","start-size",-1818812493),jW=new $APP.F(null,"crawl?","crawl?",829918610),rW=new $APP.F(null,
|
|
29
|
+
"path-id","path-id",-73169688),pW=new $APP.F(null,"path-line","path-line",-2128150773),XV=new $APP.F(null,"echo-scale","echo-scale",1307207648),qW=new $APP.F(null,"text-path","text-path",-1817651346),bW=new $APP.F(null,"echo-delay","echo-delay",845689658),iW=new $APP.F(null,"view-box","view-box",-1792199155),cta=new $APP.F(null,"custom-path?","custom-path?",-1532616839),aW=new $APP.F(null,"effect","effect",347343289),dW=new $APP.F(null,"end-size","end-size",761612093);var ita="text path preset animation speed direction effect font-size start-size end-size repeat echo-count echo-delay echo-opacity echo-scale".split(" "),fW=new $APP.Jg(null,new $APP.K(null,8,["spiral",null,"infinity",null,"arc",null,"line",null,"crawl",null,"wave",null,"circle",null,"sine",null],null),null),gW=new $APP.Jg(null,new $APP.K(null,4,["none",null,"scroll",null,"bounce",null,"oscillate",null],null),null),hW=new $APP.Jg(null,new $APP.K(null,2,["reverse",null,"normal",null],null),null),ata=
|
|
30
|
+
new $APP.Jg(null,new $APP.K(null,6,["spacing-breathe",null,"color-shift",null,"opacity-wave",null,"color-wave",null,"size-gradient",null,"size-pulse",null],null),null);
|
|
31
|
+
$APP.lg([$APP.mu,new $APP.F(null,"startSize","startSize",-1750632892),$APP.On,$APP.yt,new $APP.F(null,"echoCount","echoCount",-1194377974),new $APP.F(null,"echoScale","echoScale",1536204716),new $APP.F(null,"echoOpacity","echoOpacity",-1325258611),$APP.Aq,$V,new $APP.F(null,"fontSize","fontSize",919623033),aW,new $APP.F(null,"echoDelay","echoDelay",-1807132900),new $APP.F(null,"endSize","endSize",674490141),$APP.Pp,$APP.Fm],[new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"path"],null),new $APP.K(null,2,
|
|
32
|
+
[$APP.P,$APP.X,$APP.W,"start-size"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"animation",$APP.ru,gW],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"speed"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"echo-count"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"echo-scale"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"echo-opacity"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"preset",$APP.ru,fW],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"repeat"],null),new $APP.K(null,2,[$APP.P,$APP.X,
|
|
33
|
+
$APP.W,"font-size"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"effect"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"echo-delay"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"end-size"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"direction",$APP.ru,hW],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"text"],null)]);
|
|
34
|
+
var bta=new $APP.K(null,7,["wave",new $APP.K(null,2,[$APP.Pu,"M0,100 C100,20 200,180 300,100 C400,20 500,180 600,100 C700,20 800,180 800,100",iW,"0 0 800 200"],null),"circle",new $APP.K(null,2,[$APP.Pu,"M125,10 A115,115 0 1,1 124.99,10",iW,"0 0 250 250"],null),"arc",new $APP.K(null,2,[$APP.Pu,"M50,350 Q400,10 750,350",iW,"0 0 800 400"],null),"infinity",new $APP.K(null,2,[$APP.Pu,"M200,200 C200,80 0,80 0,200 C0,320 200,320 200,200 C200,80 400,80 400,200 C400,320 200,320 200,200",iW,"0 0 400 400"],
|
|
35
|
+
null),"spiral",new $APP.K(null,2,[$APP.Pu,"M250,250 C250,150 350,150 350,250 C350,370 130,370 130,250 C130,110 390,110 390,250 C390,410 90,410 90,250",iW,"0 0 500 500"],null),"sine",new $APP.K(null,2,[$APP.Pu,"M0,100 C50,0 100,0 150,100 C200,200 250,200 300,100 C350,0 400,0 450,100 C500,200 550,200 600,100 C650,0 700,0 750,100 C800,200 800,150 800,100",iW,"0 0 800 200"],null),"line",new $APP.K(null,2,[$APP.Pu,"M0,50 L800,50",iW,"0 0 800 100"],null)],null);var dta=":host{display:block;box-sizing:border-box;color-scheme:light dark;--x-kinetic-typography-color:var(--x-color-text,currentColor);--x-kinetic-typography-font-family:var(--x-font-family,inherit);--x-kinetic-typography-font-size:24px;--x-kinetic-typography-font-weight:var(--x-font-weight-normal,400);--x-kinetic-typography-letter-spacing:0;--x-kinetic-typography-opacity:1;--x-kinetic-typography-stroke:none;--x-kinetic-typography-stroke-width:0;--x-kinetic-typography-duration:10s;--x-kinetic-typography-timing:linear;--x-kinetic-typography-color-shift-from:var(--x-color-text,currentColor);--x-kinetic-typography-color-shift-to:var(--x-color-primary,#3b82f6);--x-kinetic-typography-path-stroke:none;--x-kinetic-typography-path-stroke-width:0;--x-kinetic-typography-crawl-perspective:400px;}"+
|
|
36
|
+
$APP.N.i(":host([hidden]){display:none;}")+"@media (prefers-color-scheme:dark){:host{--x-kinetic-typography-color:var(--x-color-text,rgba(255,255,255,0.87));}}[part\x3dcontainer]{width:100%;height:100%;position:relative;}[part\x3dsvg]{width:100%;height:100%;overflow:visible;}[part\x3dtext]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);opacity:var(--x-kinetic-typography-opacity);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}[part\x3dtext-echo]{fill:var(--x-kinetic-typography-color);font-family:var(--x-kinetic-typography-font-family);font-weight:var(--x-kinetic-typography-font-weight);letter-spacing:var(--x-kinetic-typography-letter-spacing);stroke:var(--x-kinetic-typography-stroke);stroke-width:var(--x-kinetic-typography-stroke-width);}@keyframes xkt-opacity-wave{0%,100%{opacity:var(--x-kinetic-typography-opacity);}50%{opacity:0.3;}}@keyframes xkt-size-pulse{0%,100%{font-size:var(--x-kinetic-typography-font-size);}50%{font-size:calc(var(--x-kinetic-typography-font-size) * 1.15);}}@keyframes xkt-spacing-breathe{0%,100%{letter-spacing:var(--x-kinetic-typography-letter-spacing);}50%{letter-spacing:0.15em;}}@keyframes xkt-color-shift{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}@keyframes xkt-color-wave{0%,100%{fill:var(--x-kinetic-typography-color-shift-from);}50%{fill:var(--x-kinetic-typography-color-shift-to);}}:host([data-effect~\x3dopacity-wave]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dsize-pulse]) [part\x3dtext]{animation:xkt-size-pulse var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}:host([data-effect~\x3dopacity-wave][data-effect~\x3dcolor-shift][data-effect~\x3dspacing-breathe]) [part\x3dtext]{animation:xkt-opacity-wave var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite,xkt-spacing-breathe var(--x-kinetic-typography-duration) ease-in-out infinite;}[part\x3dpath-line]{fill:none;stroke:var(--x-kinetic-typography-path-stroke);stroke-width:var(--x-kinetic-typography-path-stroke-width);}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}[part\x3dcrawl-viewport]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dsvg]{display:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-viewport]{display:block;perspective:var(--x-kinetic-typography-crawl-perspective);height:100%;overflow:hidden;position:relative;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{position:absolute;bottom:0;left:50%;transform:translateX(-50%) rotateX(25deg);transform-origin:50% 100%;text-align:center;font-family:var(--x-kinetic-typography-font-family);font-size:var(--x-kinetic-typography-font-size);font-weight:var(--x-kinetic-typography-font-weight);color:var(--x-kinetic-typography-color);letter-spacing:var(--x-kinetic-typography-letter-spacing);white-space:pre-line;line-height:1.6;width:80%;}@keyframes xkt-crawl{0%{bottom:-100%;opacity:1;}90%{opacity:1;}100%{bottom:200%;opacity:0;}}:host([data-preset\x3dcrawl][data-animation\x3dscroll]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite;}:host([data-preset\x3dcrawl][data-animation\x3dscroll][data-direction\x3dreverse]) [part\x3dcrawl-text]{animation-direction:reverse;}:host([data-preset\x3dcrawl][data-effect~\x3dcolor-shift]) [part\x3dcrawl-text]{animation:xkt-crawl var(--x-kinetic-typography-duration) linear infinite,xkt-crawl-color-shift var(--x-kinetic-typography-duration) ease-in-out infinite;}@keyframes xkt-crawl-color-shift{0%,100%{color:var(--x-kinetic-typography-color-shift-from);}50%{color:var(--x-kinetic-typography-color-shift-to);}}@media (prefers-reduced-motion:reduce){:host([data-effect]) [part\x3dtext]{animation:none;}:host([data-preset\x3dcrawl]) [part\x3dcrawl-text]{animation:none;}}";$APP.ea("baredom.exports.x_kinetic_typography.init",tW);export const init=tW;
|
package/dist/x-liquid-dock.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},
|
|
4
|
-
3,[$APP.
|
|
5
|
-
default:return-e}}(),$APP.
|
|
6
|
-
|
|
7
|
-
E=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),
|
|
8
|
-
$APP.U(
|
|
9
|
-
[$APP.
|
|
10
|
-
a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.G(a);a=$APP.C(b,$APP.
|
|
11
|
-
|
|
12
|
-
document.createElement("div"),n=$APP.
|
|
13
|
-
"__xLiquidDockRefs")),c=$APP.C(b,$APP.
|
|
14
|
-
""+$APP.N.i(c)+"px")},
|
|
15
|
-
"",c+=1;else break},
|
|
16
|
-
c))return b.preventDefault(),b=k<1?e-1:k-1,$APP.T(a,"__xLiquidDockFocus",b),d[b].focus();if($APP.z.j(f,
|
|
17
|
-
|
|
18
|
-
n.getBoundingClientRect();var r=$APP.l(a,"__xLiquidDockMouse");r.x=k.clientX-n.left;r.y=k.clientY-n.top;r.active=!0;k=void 0}else k=null;return k}var
|
|
19
|
-
$APP.l(a,"__xLiquidDockHdl");if($APP.m(b)){a.removeEventListener("pointermove",$APP.
|
|
20
|
-
"blur",
|
|
21
|
-
[]);$APP.T(a,"__xLiquidDockItemsR",[]);$APP.T(a,"__xLiquidDockFocus",-1);$APP.T(a,"__xLiquidDockBurst",0);
|
|
22
|
-
$APP.T(a,"__xLiquidDockRO",null)):null},
|
|
23
|
-
$APP.m($APP.l(a,"__xLiquidDockRaf"))||
|
|
24
|
-
"rippleScale","rippleScale",-1633180735),
|
|
25
|
-
|
|
26
|
-
$APP.
|
|
27
|
-
new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"blur"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"ripple-speed"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"gap"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"position",$APP.
|
|
2
|
+
var my=function(a){return typeof a==="string"?(a=a.trim().toLowerCase(),$APP.bd(ly,a)?a:"bottom"):"bottom"},ny=function(a,b,c,d){return typeof a==="string"?(a=parseFloat(a.trim()),$APP.m(isNaN(a))?b:Math.min(d,Math.max(c,a))):b},oy=function(a){return ny(a,8,0,40)},py=function(a){return ny(a,10,2,30)},qy=function(a){return typeof a==="string"&&a.trim().length>0?a.trim():"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"},ry=function(a){return ny(a,8,0,40)},sy=function(a){return ny(a,.03,.005,.15)},ty=
|
|
3
|
+
function(a){return typeof a==="string"&&a.trim().length>0?a.trim():null},uy=function(a){return ny(a,150,40,400)},vy=function(a){return ny(a,.6,0,2)},wy=function(a){return ny(a,1,0,2)},xy=function(a,b){return a+(b-a)*.1},nfa=function(a,b,c,d,e,f,g){a=c-a;b=d-b;d=Math.sqrt(a*a+b*b);e=Math.max(0,1-d/e);c=e*e;f=c*f*20;d=d>.001?1/d:0;return new $APP.K(null,4,[yy,e,$APP.Bp,1+c*(g-1),zy,a*d*f*.3,Ay,b*d*f*.3],null)},ofa=function(a,b){var c=a*a;a=c*28;c=.6+c*.9;switch(b){case "bottom":return new $APP.K(null,
|
|
4
|
+
3,[$APP.xq,0,$APP.wq,-a,$APP.Bp,c],null);case "top":return new $APP.K(null,3,[$APP.xq,0,$APP.wq,a,$APP.Bp,c],null);case "left":return new $APP.K(null,3,[$APP.xq,a,$APP.wq,0,$APP.Bp,c],null);case "right":return new $APP.K(null,3,[$APP.xq,-a,$APP.wq,0,$APP.Bp,c],null);default:return new $APP.K(null,3,[$APP.xq,0,$APP.wq,-a,$APP.Bp,c],null)}},pfa=function(a,b,c,d){a*=a;var e=12*d*a;return new $APP.K(null,3,[$APP.Fr,function(){switch(c){case "bottom":return-e;case "top":return e;case "left":return e;case "right":return-e;
|
|
5
|
+
default:return-e}}(),$APP.Xu,5*d*a*b,$APP.Bp,1+.12*d*a],null)},sfa=function(a){if(!$APP.m($APP.l(a,"__xLiquidDockRefs"))){var b=$APP.l(a,"__xLiquidDockModel"),c=By[0];By[0]=c+1;var d="goo-"+$APP.N.i(c),e=a.attachShadow({mode:"open"}),f=document.createElement("style"),g=document.createElement("nav"),k=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=document.createElement("div"),r=document.createElement("div"),v=document.createElement("slot");$APP.T(a,"__xLiquidDockUid",c);f.textContent=
|
|
6
|
+
qfa;$APP.U(g,"part","dock");$APP.U(g,"role","navigation");$APP.U(g,"aria-label","Navigation dock");$APP.U(k,"part","filter-svg");$APP.U(k,"aria-hidden","true");$APP.U(k,"role","presentation");$APP.U(n,"part","liquid-layer");n.style.filter="url(#"+$APP.N.i(d)+")";$APP.U(r,"part","items");r.appendChild(v);var w=$APP.G(b);b=$APP.C(w,$APP.Ns);c=$APP.C(w,$APP.Su);w=$APP.C(w,Cy);var y=document.createElementNS("http://www.w3.org/2000/svg","defs"),A=document.createElementNS("http://www.w3.org/2000/svg","filter"),
|
|
7
|
+
E=document.createElementNS("http://www.w3.org/2000/svg","feGaussianBlur"),J=document.createElementNS("http://www.w3.org/2000/svg","feColorMatrix"),O=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence"),S=document.createElementNS("http://www.w3.org/2000/svg","feDisplacementMap");$APP.U(A,"id",d);$APP.U(A,"x","-20%");$APP.U(A,"y","-20%");$APP.U(A,"width","140%");$APP.U(A,"height","140%");$APP.U(E,"in","SourceGraphic");$APP.U(E,"stdDeviation",""+$APP.N.i(b));$APP.U(E,"result","blur");
|
|
8
|
+
$APP.U(J,"in","blur");$APP.U(J,"type","matrix");$APP.U(J,"values",c);$APP.U(J,"result","goo");$APP.U(O,"type","fractalNoise");$APP.U(O,"baseFrequency","0.015");$APP.U(O,"numOctaves","2");$APP.U(O,"seed","0");$APP.U(O,"result","noise");$APP.U(S,"in","goo");$APP.U(S,"in2","noise");$APP.U(S,"scale",""+$APP.N.i(w));$APP.U(S,"xChannelSelector","R");$APP.U(S,"yChannelSelector","G");A.appendChild(E);A.appendChild(J);A.appendChild(O);A.appendChild(S);y.appendChild(A);k.appendChild(y);d=new $APP.K(null,5,
|
|
9
|
+
[$APP.ar,A,$APP.Mp,E,$APP.wv,J,$APP.qr,O,$APP.$p,S],null);g.appendChild(k);g.appendChild(n);g.appendChild(r);e.appendChild(f);e.appendChild(g);$APP.T(a,"__xLiquidDockRefs",$APP.Cg($APP.Ac([d,new $APP.K(null,6,[$APP.gl,e,$APP.kp,g,$APP.Qt,k,Dy,n,rfa,r,$APP.pn,v],null)])))}},Ny=function(a){a=$APP.lg([$APP.Kt,$APP.Gr,Ey,Fy,$APP.Hs,$APP.Iv,Gy,$APP.yp,Hy,$APP.lt,Iy],[a.getAttribute("position"),a.getAttribute("blur"),a.getAttribute("magnet-strength"),a.getAttribute("ripple-speed"),a.getAttribute("threshold"),
|
|
10
|
+
a.getAttribute("color"),a.getAttribute("ripple-scale"),a.getAttribute("gap"),a.getAttribute("bob-intensity"),a.getAttribute("disabled"),a.getAttribute("magnet-radius")]);var b=$APP.G(a);a=$APP.C(b,$APP.lt);var c=$APP.C(b,Iy),d=$APP.C(b,$APP.Kt),e=$APP.C(b,$APP.Gr),f=$APP.C(b,Ey),g=$APP.C(b,Fy),k=$APP.C(b,$APP.Hs),n=$APP.C(b,$APP.Iv),r=$APP.C(b,Gy),v=$APP.C(b,$APP.yp);b=$APP.C(b,Hy);d=my(d);return $APP.lg([$APP.Et,Jy,Ky,$APP.Su,Cy,$APP.Ns,$APP.Mt,$APP.Lt,Ly,$APP.vs,My,$APP.Kk],[ty(n),sy(g),wy(b),qy(k),
|
|
11
|
+
ry(r),py(e),$APP.z.j(d,"left")||$APP.z.j(d,"right"),oy(v),uy(c),d,vy(f),a!=null])},Oy=function(a){a=$APP.pn.i($APP.l(a,"__xLiquidDockRefs"));return $APP.m(a)?a.assignedElements():null},Py=function(a){var b=$APP.G($APP.l(a,"__xLiquidDockRefs")),c=$APP.C(b,Dy);b=function(){var v=Oy(a);return $APP.m(v)?v:[]}().length*2;for(var d=function(){var v=$APP.l(a,"__xLiquidDockBlobs");return $APP.m(v)?v:[]}(),e=function(){var v=$APP.l(a,"__xLiquidDockBlobSt");return $APP.m(v)?v:[]}(),f=d.length,g=f;;)if(g<b){var k=
|
|
12
|
+
document.createElement("div"),n=$APP.le(g);k.className=n?"blob blob-rest":"blob blob-phantom";var r=n?52:44;k.style.width=""+$APP.N.i(r)+"px";k.style.height=""+$APP.N.i(r)+"px";c.appendChild(k);d.push(k);e.push(n?{type:"rest"}:{type:"phantom",cpDx:0,cpDy:0,cpScale:.6,cLift:0,cRot:0,cScale:1});g+=1}else break;for(c=f;;)if(c>b)f=d.pop(),e.pop(),$APP.m(f.parentNode)&&f.parentNode.removeChild(f),--c;else break;$APP.T(a,"__xLiquidDockBlobs",d);$APP.T(a,"__xLiquidDockBlobSt",e)},Qy=function(a){var b=$APP.G($APP.l(a,
|
|
13
|
+
"__xLiquidDockRefs")),c=$APP.C(b,$APP.kp);b=Oy(a);b=$APP.m(b)?b:[];var d=b.length,e=[];if($APP.m($APP.m(c)?d>0:c)){c=c.getBoundingClientRect();for(var f=0;;)if(f<d){var g=b[f].getBoundingClientRect();e.push({cx:g.left+g.width/2-c.left,cy:g.top+g.height/2-c.top});f+=1}else break}return $APP.T(a,"__xLiquidDockItemsR",e)},Ry=function(a,b){var c=$APP.G(b);b=$APP.C(c,$APP.Et);c=$APP.C(c,$APP.Lt);$APP.m(b)?a.style.setProperty("--x-liquid-dock-color",b):a.style.removeProperty("--x-liquid-dock-color");a.style.setProperty("--x-liquid-dock-gap",
|
|
14
|
+
""+$APP.N.i(c)+"px")},Ty=function(a){if($APP.D(window.matchMedia("(prefers-reduced-motion:reduce)").matches)||$APP.m($APP.Kk.i($APP.l(a,"__xLiquidDockModel"))))return null;$APP.T(a,"__xLiquidDockSeed",0);return $APP.mi(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Sy(a)}))},Uy=function(a){var b=$APP.l(a,"__xLiquidDockRaf");$APP.m(b)&&(cancelAnimationFrame(b),$APP.mi(a,"__xLiquidDockRaf",null))},Vy=function(a){a=Oy(a);if($APP.m(a))for(var b=a.length,c=0;;)if(c<b)a[c].style.transform=
|
|
15
|
+
"",c+=1;else break},Wy=function(a,b,c,d){$APP.T(a,"__xLiquidDockBurst",Date.now());return $APP.zi(a,"x-liquid-dock-select",$APP.Jm(new $APP.K(null,3,["index",b,"item",c,"source",d],null)))},tfa=function(a,b){var c=$APP.l(a,"__xLiquidDockModel");if($APP.m($APP.Kk.i(c)))return null;var d=Oy(a),e=$APP.m(d)?d.length:null,f=b.key,g=$APP.Mt.i(c);c=$APP.m(g)?"ArrowUp":"ArrowLeft";g=$APP.m(g)?"ArrowDown":"ArrowRight";var k=$APP.l(a,"__xLiquidDockFocus");k=$APP.m(k)?k:-1;if($APP.m($APP.m(e)?e>0:e)){if($APP.z.j(f,
|
|
16
|
+
c))return b.preventDefault(),b=k<1?e-1:k-1,$APP.T(a,"__xLiquidDockFocus",b),d[b].focus();if($APP.z.j(f,g))return b.preventDefault(),b=k>=e-1?0:k+1,$APP.T(a,"__xLiquidDockFocus",b),d[b].focus();if(($APP.z.j(f,"Enter")||$APP.z.j(f," "))&&k>=0)return b.preventDefault(),Wy(a,k,d[k],"keyboard")}return null},ufa=function(a){Py(a);var b=Oy(a);if($APP.m(b))for(var c=b.length,d=0;;)if(d<c){var e=b[d];e.getAttribute("tabindex")==null&&$APP.U(e,"tabindex","0");d+=1}else break;return requestAnimationFrame(function(){return Qy(a)})},
|
|
17
|
+
vfa=function(a){function b(){return ufa(a)}function c(k){return tfa(a,k)}function d(k){if($APP.m($APP.Kk.i($APP.l(a,"__xLiquidDockModel"))))var n=null;else if(n=Oy(a),$APP.m(n)){b:{k=k.target;for(var r=n.length,v=0;;)if(v<r){if($APP.z.j(k,n[v])){k=v;break b}v+=1}else{k=null;break b}k=void 0}n=$APP.m(k)?Wy(a,k,n[k],"pointer"):null}else n=null;return n}function e(){$APP.l(a,"__xLiquidDockMouse").active=!1}function f(k){var n=$APP.G($APP.l(a,"__xLiquidDockRefs"));n=$APP.C(n,$APP.kp);if($APP.m(n)){n=
|
|
18
|
+
n.getBoundingClientRect();var r=$APP.l(a,"__xLiquidDockMouse");r.x=k.clientX-n.left;r.y=k.clientY-n.top;r.active=!0;k=void 0}else k=null;return k}var g=$APP.G($APP.l(a,"__xLiquidDockRefs"));g=$APP.C(g,$APP.pn);a.addEventListener("pointermove",f);a.addEventListener("pointerleave",e);a.addEventListener("click",d);a.addEventListener("keydown",c);$APP.m(g)&&g.addEventListener("slotchange",b);$APP.T(a,"__xLiquidDockHdl",new $APP.K(null,5,[$APP.vq,f,$APP.Ct,e,$APP.Cq,d,$APP.Uh,c,$APP.pn,b],null))},Xy=function(a){var b=
|
|
19
|
+
$APP.l(a,"__xLiquidDockHdl");if($APP.m(b)){a.removeEventListener("pointermove",$APP.vq.i(b));a.removeEventListener("pointerleave",$APP.Ct.i(b));a.removeEventListener("click",$APP.Cq.i(b));a.removeEventListener("keydown",$APP.Uh.i(b));var c=$APP.l(a,"__xLiquidDockRefs");$APP.m(c)&&(c=$APP.G(c),c=$APP.C(c,$APP.pn),$APP.m(c)&&c.removeEventListener("slotchange",$APP.pn.i(b)));$APP.T(a,"__xLiquidDockHdl",null)}},wfa=function(a){$APP.Ii(a,"position","position",my);$APP.Ii(a,"gap","gap",oy);$APP.Ii(a,"blur",
|
|
20
|
+
"blur",py);$APP.Ii(a,"threshold","threshold",qy);$APP.Ii(a,"rippleScale","ripple-scale",ry);$APP.Ii(a,"rippleSpeed","ripple-speed",sy);$APP.Ii(a,"color","color",ty);$APP.Ii(a,"magnetRadius","magnet-radius",uy);$APP.Ii(a,"magnetStrength","magnet-strength",vy);$APP.Ii(a,"bobIntensity","bob-intensity",wy);return $APP.Ci(a,"disabled","disabled")},xfa=function(a){var b=Ny(a);$APP.T(a,"__xLiquidDockModel",b);$APP.T(a,"__xLiquidDockMouse",{x:0,y:0,active:!1});$APP.T(a,"__xLiquidDockBlobs",[]);$APP.T(a,"__xLiquidDockBlobSt",
|
|
21
|
+
[]);$APP.T(a,"__xLiquidDockItemsR",[]);$APP.T(a,"__xLiquidDockFocus",-1);$APP.T(a,"__xLiquidDockBurst",0);sfa(a);Ry(a,b);$APP.m(a.hasAttribute("role"))||$APP.U(a,"role","navigation");Xy(a);vfa(a);b=$APP.l(a,"__xLiquidDockRO");$APP.m(b)&&b.disconnect();b=new ResizeObserver(function(){return Qy(a)});$APP.T(a,"__xLiquidDockRO",b);b.observe(a);return requestAnimationFrame(function(){Py(a);Qy(a);return Ty(a)})},yfa=function(a){Uy(a);Xy(a);Vy(a);var b=$APP.l(a,"__xLiquidDockRO");return $APP.m(b)?(b.disconnect(),
|
|
22
|
+
$APP.T(a,"__xLiquidDockRO",null)):null},zfa=function(a,b,c,d){if($APP.M.j(c,d))if(b=Ny(a),$APP.M.j(b,$APP.l(a,"__xLiquidDockModel"))){if($APP.m($APP.l(a,"__xLiquidDockRefs"))){d=$APP.G(b);var e=$APP.C(d,$APP.Ns);c=$APP.C(d,$APP.Su);d=$APP.C(d,Cy);var f=$APP.l(a,"__xLiquidDockRefs"),g=$APP.Mp.i(f);$APP.m(g)&&$APP.U(g,"stdDeviation",""+$APP.N.i(e));e=$APP.wv.i(f);$APP.m(e)&&$APP.U(e,"values",c);c=$APP.$p.i(f);$APP.m(c)&&$APP.U(c,"scale",""+$APP.N.i(d));Ry(a,b);Qy(a);$APP.m($APP.Kk.i(b))?(Uy(a),Vy(a)):
|
|
23
|
+
$APP.m($APP.l(a,"__xLiquidDockRaf"))||Ty(a)}a=$APP.T(a,"__xLiquidDockModel",b)}else a=null;else a=null;return a},Yy=function(){return $APP.kj("x-liquid-dock",new $APP.K(null,5,[$APP.jj,Afa,$APP.hj,xfa,$APP.ej,yfa,$APP.dj,zfa,$APP.ij,wfa],null))},Cy=new $APP.F(null,"ripple-scale","ripple-scale",-1874116111),Bfa=new $APP.F(null,"bobIntensity","bobIntensity",-531647277),rfa=new $APP.F(null,"items-div","items-div",-555506089),Cfa=new $APP.F(null,"magnetStrength","magnetStrength",331224709),Dfa=new $APP.F(null,
|
|
24
|
+
"rippleScale","rippleScale",-1633180735),Ly=new $APP.F(null,"magnet-radius","magnet-radius",1447549494),Dy=new $APP.F(null,"liquid","liquid",1322031275),Hy=new $APP.F(null,"bob-intensity-raw","bob-intensity-raw",-669810474),Ey=new $APP.F(null,"magnet-strength-raw","magnet-strength-raw",535053898),Fy=new $APP.F(null,"ripple-speed-raw","ripple-speed-raw",-1426902422),Efa=new $APP.F(null,"rippleSpeed","rippleSpeed",-1816718091),Ay=new $APP.F(null,"ty","ty",158290825),zy=new $APP.F(null,"tx","tx",466630418),
|
|
25
|
+
Ffa=new $APP.F(null,"magnetRadius","magnetRadius",1616130031),Gy=new $APP.F(null,"ripple-scale-raw","ripple-scale-raw",1254964336),Jy=new $APP.F(null,"ripple-speed","ripple-speed",229709223),Iy=new $APP.F(null,"magnet-radius-raw","magnet-radius-raw",1386161852),yy=new $APP.F(null,"influence","influence",1453493017),Ky=new $APP.F(null,"bob-intensity","bob-intensity",-981181657),My=new $APP.F(null,"magnet-strength","magnet-strength",-1089389895);var Afa="position gap blur threshold ripple-scale ripple-speed color magnet-radius magnet-strength disabled bob-intensity".split(" ");$APP.ee(["x-liquid-dock-select",new $APP.K(null,4,[$APP.ui,new $APP.K(null,3,[$APP.Il,$APP.Y,$APP.oq,$APP.$o,$APP.gr,$APP.X],null),$APP.Kr,!0,$APP.uv,!0,$APP.Cr,!0],null)]);var ly=new $APP.Jg(null,new $APP.K(null,4,["right",null,"top",null,"bottom",null,"left",null],null),null);
|
|
26
|
+
$APP.lg([Dfa,$APP.Et,Cfa,$APP.Rm,$APP.Su,Ffa,Bfa,$APP.Ns,Efa,$APP.Lt,$APP.vs],[new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"ripple-scale"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"color"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"magnet-strength"],null),new $APP.K(null,2,[$APP.P,$APP.Ki,$APP.W,"disabled"],null),new $APP.K(null,2,[$APP.P,$APP.X,$APP.W,"threshold"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"magnet-radius"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"bob-intensity"],null),
|
|
27
|
+
new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"blur"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"ripple-speed"],null),new $APP.K(null,2,[$APP.P,$APP.Y,$APP.W,"gap"],null),new $APP.K(null,3,[$APP.P,$APP.X,$APP.W,"position",$APP.ru,ly],null)]);var By=[0],qfa=":host{display:block;position:fixed;z-index:var("+$APP.N.i("--x-liquid-dock-z-index")+",50);pointer-events:auto;"+$APP.N.i("--x-liquid-dock-color")+":var(--x-color-primary,#6366f1);}"+$APP.N.i(":host([hidden]){display:none;}")+':host(:not([position])),:host([position\x3d"bottom"]){bottom:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"top"]){top:12px;left:50%;transform:translateX(-50%);}:host([position\x3d"left"]){left:12px;top:50%;transform:translateY(-50%);}:host([position\x3d"right"]){right:12px;top:50%;transform:translateY(-50%);}[part\x3ddock]{display:flex;align-items:center;gap:var('+
|
|
28
28
|
$APP.N.i("--x-liquid-dock-gap")+",8px);padding:var("+$APP.N.i("--x-liquid-dock-padding")+",8px);border-radius:var("+$APP.N.i("--x-liquid-dock-radius")+",var(--x-radius-xl,20px));background:var("+$APP.N.i("--x-liquid-dock-bg")+",var(--x-color-surface,rgba(255,255,255,0.88)));border:var(--x-border-width,1px) solid var("+$APP.N.i("--x-liquid-dock-border")+",var(--x-color-border,rgba(148,163,184,0.22)));box-shadow:var("+$APP.N.i("--x-liquid-dock-shadow")+',var(--x-shadow-md,0 8px 24px rgba(15,23,42,0.12)));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);position:relative;outline:none;}:host([position\x3d"left"]) [part\x3ddock],:host([position\x3d"right"]) [part\x3ddock]{flex-direction:column;}[part\x3dfilter-svg]{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}[part\x3dliquid-layer]{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;}.blob{position:absolute;border-radius:50%;will-change:transform;pointer-events:none;background:var('+
|
|
29
29
|
$APP.N.i("--x-liquid-dock-color")+',#6366f1);top:0;left:0;}.blob-rest{opacity:0.65;}.blob-phantom{opacity:0.5;}[part\x3ditems]{display:flex;align-items:center;gap:inherit;position:relative;z-index:1;}:host([position\x3d"left"]) [part\x3ditems],:host([position\x3d"right"]) [part\x3ditems]{flex-direction:column;}::slotted(*){width:var('+$APP.N.i("--x-liquid-dock-item-size")+",48px);height:var("+$APP.N.i("--x-liquid-dock-item-size")+",48px);display:flex;align-items:center;justify-content:center;cursor:pointer;will-change:transform;position:relative;z-index:1;border:none;background:transparent;color:inherit;font-size:1.4em;transition:none;border-radius:50%;}::slotted(:hover){background:color-mix(in srgb,var("+
|
|
30
30
|
$APP.N.i("--x-liquid-dock-color")+",#6366f1) 12%,transparent);}::slotted(:focus-visible){outline:2px solid var("+$APP.N.i("--x-liquid-dock-color")+",#6366f1);outline-offset:2px;}@media(prefers-color-scheme:dark){:host{--x-liquid-dock-bg:var(--x-color-surface,rgba(15,23,42,0.84));--x-liquid-dock-border:var(--x-color-border,rgba(51,65,85,0.9));--x-liquid-dock-shadow:var(--x-shadow-lg,0 14px 36px rgba(0,0,0,0.35));--x-liquid-dock-color:var(--x-color-primary,#818cf8);}}@media(prefers-reduced-motion:reduce){.blob{transition:none!important;}::slotted(*){transition:none!important;}}",
|
|
31
|
-
|
|
32
|
-
$APP.l(a,"__xLiquidDockBurst");return $APP.m(
|
|
33
|
-
|
|
34
|
-
$APP.
|
|
35
|
-
|
|
31
|
+
Sy=function Sy(a){if($APP.m(a.isConnected)){var c=$APP.l(a,"__xLiquidDockModel"),d=$APP.l(a,"__xLiquidDockMouse"),e=$APP.l(a,"__xLiquidDockBlobs"),f=$APP.l(a,"__xLiquidDockBlobSt"),g=$APP.l(a,"__xLiquidDockItemsR"),k=function(){var Uc=Oy(a);return $APP.m(Uc)?Uc:[]}(),n=$APP.Gj.j(g.length,k.length),r=$APP.l(d,"x"),v=$APP.l(d,"y"),w=$APP.l(d,"active"),y=Ly.i(c),A=My.i(c),E=Ky.i(c),J=$APP.vs.i(c),O=1+A*.8,S=function(){var Uc=$APP.l(a,"__xLiquidDockSeed");return $APP.m(Uc)?Uc:0}(),R=Date.now();d=function(){var Uc=
|
|
32
|
+
$APP.l(a,"__xLiquidDockBurst");return $APP.m(Uc)?Uc:0}();var ca=R-d<300;if(ca){R=(1-(R-d)/300)*20;var na=Cy.i(c),ka=$APP.$p.i($APP.l(a,"__xLiquidDockRefs"));$APP.m(ka)&&$APP.li(ka,"scale",""+$APP.N.i(na+R))}for(R=0;;)if(R<n){na=g[R];var oa=$APP.l(na,"cx"),Ua=$APP.l(na,"cy");ka=R*2;var Va=ka+1;if(Va<e.length){na=yy.i($APP.m(w)?nfa(oa,Ua,r,v,y,A,O):new $APP.K(null,4,[yy,0,$APP.Bp,1,zy,0,Ay,0],null));ka=e[ka];var rb="translate("+$APP.N.i(oa-26)+"px,"+$APP.N.i(Ua-26)+"px)";ka.style.transform=rb;var Db=
|
|
33
|
+
ofa(na,J);ka=f[Va];rb=$APP.xq.i(Db);var bc=$APP.wq.i(Db);Db=$APP.Bp.i(Db);rb=xy($APP.l(ka,"cpDx"),rb);bc=xy($APP.l(ka,"cpDy"),bc);Db=xy($APP.l(ka,"cpScale"),Db);ka.cpDx=rb;ka.cpDy=bc;ka.cpScale=Db;Va=e[Va];Ua="translate("+$APP.N.i(oa-22+rb)+"px,"+$APP.N.i(Ua-22+bc)+"px) scale("+$APP.N.i(Db)+")";Va.style.transform=Ua;Va=pfa(na,$APP.m(w)?function(){var Uc=r-oa;return Uc>1?1:Uc<-1?-1:0}():0,J,E);rb=xy($APP.l(ka,"cLift"),$APP.Fr.i(Va));Ua=xy($APP.l(ka,"cRot"),$APP.Xu.i(Va));Va=xy($APP.l(ka,"cScale"),
|
|
34
|
+
$APP.Bp.i(Va));ka.cLift=rb;ka.cRot=Ua;ka.cScale=Va;bc=S+R*2.39996;Db=1-na*.7;na=Math.sin(bc)*1.8*Db*E;ka=Math.cos(bc*.7)*.8*Db*E;var oc=Math.sin(bc*1.3)*1.2*Db*E;bc=k[R];Db=$APP.Mt.i(c);rb+=$APP.m(Db)?ka:na;Ua+=oc;na=$APP.m(Db)?"translate("+$APP.N.i(rb)+"px,"+$APP.N.i(na)+"px) rotate("+$APP.N.i(Ua)+"deg) scale("+$APP.N.i(Va)+")":"translate("+$APP.N.i(ka)+"px,"+$APP.N.i(rb)+"px) rotate("+$APP.N.i(Ua)+"deg) scale("+$APP.N.i(Va)+")";bc.style.transform=na}R+=1}else break;f=$APP.l(a,"__xLiquidDockSeed")+
|
|
35
|
+
Jy.i(c);g=$APP.l(a,"__xLiquidDockRefs");e=.012+.006*Math.sin(f);$APP.T(a,"__xLiquidDockSeed",f);f=$APP.qr.i(g);$APP.m(f)&&$APP.li(f,"baseFrequency",""+$APP.N.i(e));!ca&&d>0&&(d=$APP.$p.i($APP.l(a,"__xLiquidDockRefs")),$APP.m(d)&&$APP.li(d,"scale",""+$APP.N.i(Cy.i(c))),$APP.T(a,"__xLiquidDockBurst",0));return $APP.mi(a,"__xLiquidDockRaf",requestAnimationFrame(function(){return Sy.i?Sy.i(a):Sy.call(null,a)}))}return null};$APP.ea("baredom.exports.x_liquid_dock.init",Yy);export const init=Yy;
|