@vanelsas/baredom 3.5.0 → 3.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 +17 -0
- package/README.md +2 -2
- package/custom-elements.json +116 -0
- package/dist/baredom.d.ts +1 -0
- package/dist/base.js +282 -282
- package/dist/integrity.json +104 -103
- package/dist/x-alert.js +17 -17
- package/dist/x-avatar-group.js +9 -9
- package/dist/x-avatar.js +13 -13
- package/dist/x-badge.js +8 -8
- package/dist/x-bento-grid.js +5 -5
- package/dist/x-bento-item.js +4 -4
- package/dist/x-breadcrumbs.js +13 -13
- package/dist/x-calendar.js +33 -33
- package/dist/x-cancel-dialogue.js +13 -13
- package/dist/x-card.js +7 -7
- package/dist/x-carousel.js +32 -32
- package/dist/x-chart.js +44 -44
- package/dist/x-chip.js +1 -1
- package/dist/x-code.js +24 -24
- package/dist/x-collapse.js +8 -8
- package/dist/x-color-picker.js +44 -44
- package/dist/x-combobox.js +31 -31
- package/dist/x-command-palette.js +28 -28
- package/dist/x-confetti.js +22 -22
- package/dist/x-container.js +3 -3
- package/dist/x-context-menu.js +19 -19
- package/dist/x-currency-field.js +22 -22
- package/dist/x-date-picker.js +33 -33
- package/dist/x-divider.js +9 -9
- package/dist/x-drawer.js +10 -10
- package/dist/x-dropdown.js +12 -12
- package/dist/x-fieldset.js +4 -4
- package/dist/x-file-download.js +5 -5
- package/dist/x-file-upload.js +24 -24
- package/dist/x-floating-panel.d.ts +50 -0
- package/dist/x-floating-panel.js +25 -0
- package/dist/x-form-field.js +13 -13
- package/dist/x-form.js +10 -10
- package/dist/x-gaussian-blur.js +12 -12
- package/dist/x-grid.js +6 -6
- package/dist/x-i18n-provider.js +6 -6
- package/dist/x-i18n.js +4 -4
- package/dist/x-icon.js +7 -7
- package/dist/x-image.js +17 -17
- package/dist/x-kbd.js +11 -11
- package/dist/x-kinetic-canvas.js +24 -24
- package/dist/x-kinetic-font.js +21 -21
- package/dist/x-kinetic-typography.js +33 -33
- package/dist/x-liquid-dock.js +31 -31
- package/dist/x-liquid-fill.js +40 -40
- package/dist/x-liquid-glass.js +28 -28
- package/dist/x-menu-item.js +6 -6
- package/dist/x-menu.js +7 -7
- package/dist/x-metaball-cursor.js +21 -21
- package/dist/x-modal.js +9 -9
- package/dist/x-morph-stack.js +37 -37
- package/dist/x-multi-combobox.js +37 -37
- package/dist/x-navbar.js +11 -11
- package/dist/x-neural-glow.js +21 -21
- package/dist/x-notification-center.js +9 -9
- package/dist/x-organic-divider.js +15 -15
- package/dist/x-organic-progress.js +33 -33
- package/dist/x-organic-shape.js +7 -7
- package/dist/x-otp-input.js +20 -20
- package/dist/x-pagination.js +11 -11
- package/dist/x-particle-button.js +40 -40
- package/dist/x-popover.js +25 -25
- package/dist/x-progress-circle.js +7 -7
- package/dist/x-progress.js +7 -7
- package/dist/x-proximity-list.js +20 -20
- package/dist/x-radio.js +11 -11
- package/dist/x-range-slider.js +27 -27
- package/dist/x-rating.js +21 -21
- package/dist/x-ripple-effect.js +8 -8
- package/dist/x-scroll-parallax.js +16 -16
- package/dist/x-scroll-stack.js +14 -14
- package/dist/x-scroll-story.js +28 -28
- package/dist/x-scroll-timeline.js +45 -45
- package/dist/x-scroll.js +30 -30
- package/dist/x-search-field.js +1 -1
- package/dist/x-sidebar.js +13 -13
- package/dist/x-skeleton-group.js +11 -11
- package/dist/x-slider.js +15 -15
- package/dist/x-soft-body.js +15 -15
- package/dist/x-spacer.js +4 -4
- package/dist/x-spinner.js +3 -3
- package/dist/x-splash.js +10 -10
- package/dist/x-split-pane.js +14 -14
- package/dist/x-spotlight-card.js +11 -11
- package/dist/x-stat.js +10 -10
- package/dist/x-stepper.js +13 -13
- package/dist/x-switch.js +9 -9
- package/dist/x-tab.js +6 -6
- package/dist/x-table-cell.js +16 -16
- package/dist/x-table-row.js +8 -8
- package/dist/x-table.js +12 -12
- package/dist/x-tabs.js +10 -10
- package/dist/x-text-area.js +18 -18
- package/dist/x-theme.js +14 -14
- package/dist/x-timeline-item.js +20 -20
- package/dist/x-timeline.js +8 -8
- package/dist/x-toast.js +22 -22
- package/dist/x-toaster.js +6 -6
- package/dist/x-tooltip.js +12 -12
- package/dist/x-trace-history.js +94 -94
- package/dist/x-typography.js +4 -4
- package/dist/x-welcome-tour.js +62 -62
- package/package.json +6 -1
package/dist/x-welcome-tour.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var
|
|
3
|
-
[$APP.
|
|
4
|
-
d=$APP.C(k,$APP.lo);k=$APP.C(k,$APP.mo);var m=c+h/2+-(d/2),r=f+e/2+-(k/2);switch(a){case "top":return new $APP.M(null,2,[$APP.
|
|
5
|
-
k-b],null);case "bottom-start":return new $APP.M(null,2,[$APP.
|
|
6
|
-
$APP.
|
|
7
|
-
new $APP.J(null,2,5,$APP.K,["left","right"],null);break a;case "left":case "right":y=new $APP.J(null,2,5,$APP.K,["bottom","top"],null);break a;default:y=new $APP.J(null,2,5,$APP.K,["bottom","top"],null)}a=$APP.B(y,0,null);y=$APP.B(y,1,null);a=f(a);y=f(y);return $APP.n($APP.
|
|
8
|
-
$APP.
|
|
9
|
-
2,[
|
|
10
|
-
b=$APP.C(d,$APP.
|
|
11
|
-
$APP.P.i(8)+"px",$APP.mp,""+$APP.P.i(a)+"px",
|
|
12
|
-
4,[$APP.Np,"-"+$APP.P.i(8)+"px",$APP.mp,""+$APP.P.i(a)+"px",
|
|
13
|
-
d=$APP.C(b,$APP.
|
|
14
|
-
a)},
|
|
15
|
-
a.getAttribute("scroll-to"):null],null))},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"arrow";return $APP.ug([$APP.Mp,ML,NL,
|
|
19
|
-
4,[$APP.
|
|
20
|
-
c],null)},hM=function(a){var b=QL(a);if($APP.n($APP.
|
|
21
|
-
"var(--x-welcome-tour-backdrop-z,var(--x-z-modal,1100))"),f=e.shadowRoot,h=
|
|
22
|
-
null));m.appendChild(r);m.appendChild(
|
|
23
|
-
null));h.appendChild(E);var H=new $APP.M(null,3,[$APP.
|
|
24
|
-
6,5,$APP.K,"part;close-button;type;button;aria-label;Close tour".split(";"),null));na.textContent="×";Y.appendChild(la);Y.appendChild(ha);Y.appendChild(na);var
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
e.style.pointerEvents="auto";var
|
|
28
|
-
$APP.lo),
|
|
29
|
-
$APP.
|
|
30
|
-
Rb.style.top="auto";Rb.style.bottom="auto";Rb.style.left="auto";Rb.style.right="auto";Rb.style.marginLeft="0";Rb.style.marginTop="0";Rb.style.borderTopColor="transparent";Rb.style.borderBottomColor="transparent";Rb.style.borderLeftColor="transparent";Rb.style.borderRightColor="transparent";var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"M"+$APP.P.i(
|
|
34
|
-
"";for(var
|
|
35
|
-
$APP.T(
|
|
36
|
-
"__xWelcomeTourModel",b)},iM=function(a){return $APP.n($APP.l(a,"__xWelcomeTourRaf"))?null:$APP.Yi(a,"__xWelcomeTourRaf",requestAnimationFrame(function(){$APP.Yi(a,"__xWelcomeTourRaf",null);var b=a.isConnected;return $APP.n($APP.n(b)?$APP.l(a,"__xWelcomeTourLayer"):b)?hM(a):null}))},kM=function(a){hM(a);var b=$APP.l(a,"__xWelcomeTourLayer");if($APP.n(b)){jM.i?jM.i(a):jM.call(null,a);var c=
|
|
37
|
-
return setTimeout(function(){$APP.Q(a,"__xWelcomeTourRestore",document.activeElement);var e=$APP.G(b),f=$APP.C(e,$APP.up);e=$APP.C(e,TL);e=
|
|
38
|
-
$APP.l(a,"__xWelcomeTourModel");b=$APP.n(b)?b:QL(a);var c=
|
|
39
|
-
|
|
40
|
-
$APP.z.j(c,"ArrowDown"))return b.preventDefault(),qM(a);if($APP.z.j(c,"ArrowLeft")||$APP.z.j(c,"ArrowUp"))return b.preventDefault(),rM(a);if($APP.z.j(c,"Tab"))a:{c=$APP.l(a,"__xWelcomeTourLayer");a=$APP.G(c);a=$APP.C(a,TL);a=
|
|
41
|
-
b=d.focus();break a}}b=null}else b=null;return b},jM=function(a){var b=$APP.l(a,"__xWelcomeTourLayer");if($APP.n(b)){var c=gM.i(b).shadowRoot,d=function(
|
|
42
|
-
r=new ResizeObserver(function(){return iM(a)});c.addEventListener("keydown",d,!0);c.addEventListener("click",e);window.addEventListener("scroll",f,{passive:!0});window.addEventListener("resize",f,{passive:!0});$APP.Lq.i(b).addEventListener("click",h);$APP.up.i(b).addEventListener("click",k);bM.i(b).addEventListener("click",m);r.observe(document.body);$APP.Q(a,"__xWelcomeTourHandlers",new $APP.M(null,7,[$APP.
|
|
43
|
-
r)}return null},lM=function(a){var b=$APP.l(a,"__xWelcomeTourHandlers");if($APP.n(b)){var c=$APP.G(b);b=$APP.C(c,$APP.
|
|
44
|
-
h),bM.i(m).removeEventListener("click",k))}b=$APP.l(a,"__xWelcomeTourResizeObs");$APP.n(b)&&b.disconnect();b=$APP.l(a,"__xWelcomeTourRaf");$APP.n(b)&&cancelAnimationFrame(b);$APP.Q(a,"__xWelcomeTourHandlers",null);$APP.Q(a,"__xWelcomeTourResizeObs",null);return $APP.Yi(a,"__xWelcomeTourRaf",null)},
|
|
45
|
-
"__xWelcomeTourRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:contents;}";b.appendChild(c);b.appendChild(d);$APP.Q(a,"__xWelcomeTourRefs",new $APP.M(null,1,[$APP.Sk,b],null))}
|
|
46
|
-
$APP.n(b)&&($APP.Ek(gM.i(b)),$APP.Q(a,"__xWelcomeTourLayer",null));return
|
|
47
|
-
Object.defineProperty(a,"step",{get:function(){return
|
|
48
|
-
"Skip")},
|
|
49
|
-
$APP.n(c)?c:QL(this);c=
|
|
50
|
-
new $APP.M(null,5,[$APP.hi,
|
|
2
|
+
var aL=function(a,b,c){return new $APP.Gd(null,function(){var d=$APP.q(c);if(d){var e=$APP.ue(a,d);return a===$APP.w(e)?$APP.Dd(e,aL(a,b,$APP.ve(b,d))):null}return null},null)},bL=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:0):0},cL=function(a,b){return b>0?$APP.Bo.j($APP.So.j(a,0),b-1):0},Nda=function(a,b,c){var d=$APP.G(a);a=$APP.C(d,$APP.zt);var e=$APP.C(d,$APP.yt),f=$APP.C(d,$APP.lo);d=$APP.C(d,$APP.mo);return new $APP.M(null,6,
|
|
3
|
+
[$APP.zt,a-b,$APP.yt,e-b,$APP.lo,f+2*b,$APP.mo,d+2*b,dL,c,eL,c],null)},Oda=function(a){switch(a){case "top":return"bottom";case "bottom":return"top";case "left":return"right";case "right":return"left";case "top-start":return"bottom-start";case "top-end":return"bottom-end";case "bottom-start":return"top-start";case "bottom-end":return"top-end";default:return a}},Pda=function(a,b,c,d){var e=$APP.G(c);c=$APP.C(e,$APP.zt);var f=$APP.C(e,$APP.yt),h=$APP.C(e,$APP.lo);e=$APP.C(e,$APP.mo);var k=$APP.G(d);
|
|
4
|
+
d=$APP.C(k,$APP.lo);k=$APP.C(k,$APP.mo);var m=c+h/2+-(d/2),r=f+e/2+-(k/2);switch(a){case "top":return new $APP.M(null,2,[$APP.zt,m,$APP.yt,f-k-b],null);case "bottom":return new $APP.M(null,2,[$APP.zt,m,$APP.yt,f+e+b],null);case "left":return new $APP.M(null,2,[$APP.zt,c-d-b,$APP.yt,r],null);case "right":return new $APP.M(null,2,[$APP.zt,c+h+b,$APP.yt,r],null);case "top-start":return new $APP.M(null,2,[$APP.zt,c,$APP.yt,f-k-b],null);case "top-end":return new $APP.M(null,2,[$APP.zt,c+h-d,$APP.yt,f-
|
|
5
|
+
k-b],null);case "bottom-start":return new $APP.M(null,2,[$APP.zt,c,$APP.yt,f+e+b],null);case "bottom-end":return new $APP.M(null,2,[$APP.zt,c+h-d,$APP.yt,f+e+b],null);default:return new $APP.M(null,2,[$APP.zt,m,$APP.yt,f+e+b],null)}},Qda=function(a,b,c,d,e){function f(A){var E=Pda(A,h,b,c);E=$APP.G(E);var H=$APP.C(E,$APP.zt),O=$APP.C(E,$APP.yt);E=$APP.Bo.j($APP.So.j(H,8),r-k-8);var S=$APP.Bo.j($APP.So.j(O,8),u-m-8);O=$APP.G(new $APP.M(null,2,[$APP.zt,H,$APP.yt,O],null));H=$APP.C(O,$APP.zt);O=$APP.C(O,
|
|
6
|
+
$APP.yt);var R=$APP.G(c),Y=$APP.C(R,$APP.lo);R=$APP.C(R,$APP.mo);var la=$APP.G(d),ha=$APP.C(la,$APP.lo);la=$APP.C(la,$APP.mo);return new $APP.M(null,4,[$APP.zt,E,$APP.yt,S,$APP.Rp,A,$APP.Lt,H>=8&&O>=8&&H+Y<=ha-8&&O+R<=la-8],null)}a:switch(e){case "line":case "curve":var h=48;break a;default:h=8}e=$APP.G(c);var k=$APP.C(e,$APP.lo),m=$APP.C(e,$APP.mo);e=$APP.G(d);var r=$APP.C(e,$APP.lo),u=$APP.C(e,$APP.mo);e=f(a);var x=f(Oda(a));a:switch(a){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":var y=
|
|
7
|
+
new $APP.J(null,2,5,$APP.K,["left","right"],null);break a;case "left":case "right":y=new $APP.J(null,2,5,$APP.K,["bottom","top"],null);break a;default:y=new $APP.J(null,2,5,$APP.K,["bottom","top"],null)}a=$APP.B(y,0,null);y=$APP.B(y,1,null);a=f(a);y=f(y);return $APP.n($APP.Lt.i(e))?e:$APP.n($APP.Lt.i(x))?x:$APP.n($APP.Lt.i(a))?a:$APP.n($APP.Lt.i(y))?y:e},Rda=function(a,b,c){var d=$APP.G(a);a=$APP.C(d,$APP.zt);var e=$APP.C(d,$APP.yt),f=$APP.C(d,$APP.lo);d=$APP.C(d,$APP.mo);var h=$APP.G(b);b=$APP.C(h,
|
|
8
|
+
$APP.zt);var k=$APP.C(h,$APP.yt),m=$APP.C(h,$APP.lo);h=$APP.C(h,$APP.mo);var r=a+f/2,u=e+d/2,x=b+m/2,y=k+h/2;switch(c){case "bottom":case "bottom-start":case "bottom-end":return new $APP.M(null,2,[fL,new $APP.M(null,2,[$APP.zt,r,$APP.yt,e+d],null),gL,new $APP.M(null,2,[$APP.zt,x,$APP.yt,k],null)],null);case "top":case "top-start":case "top-end":return new $APP.M(null,2,[fL,new $APP.M(null,2,[$APP.zt,r,$APP.yt,e],null),gL,new $APP.M(null,2,[$APP.zt,x,$APP.yt,k+h],null)],null);case "left":return new $APP.M(null,
|
|
9
|
+
2,[fL,new $APP.M(null,2,[$APP.zt,a,$APP.yt,u],null),gL,new $APP.M(null,2,[$APP.zt,b+m,$APP.yt,y],null)],null);case "right":return new $APP.M(null,2,[fL,new $APP.M(null,2,[$APP.zt,a+f,$APP.yt,u],null),gL,new $APP.M(null,2,[$APP.zt,b,$APP.yt,y],null)],null);default:return new $APP.M(null,2,[fL,new $APP.M(null,2,[$APP.zt,r,$APP.yt,e+d],null),gL,new $APP.M(null,2,[$APP.zt,x,$APP.yt,k],null)],null)}},hL=function(a,b){return $APP.Bo.j($APP.So.j(a,16),b)},Sda=function(a,b,c){var d=$APP.G(b),e=$APP.C(d,$APP.zt);
|
|
10
|
+
b=$APP.C(d,$APP.yt);var f=$APP.C(d,$APP.lo);d=$APP.C(d,$APP.mo);var h=$APP.G(c);c=$APP.C(h,$APP.zt);var k=$APP.C(h,$APP.yt),m=$APP.C(h,$APP.lo);h=$APP.C(h,$APP.mo);e+=f/2;b+=d/2;switch(a){case "bottom":case "bottom-start":case "bottom-end":return a=hL(e-c,m-16),new $APP.M(null,4,[$APP.Np,"-"+$APP.P.i(8)+"px",$APP.mp,""+$APP.P.i(a)+"px",iL,"-"+$APP.P.i(4)+"px",jL,"var(--x-welcome-tour-popover-bg)"],null);case "top":case "top-start":case "top-end":return a=hL(e-c,m-16),new $APP.M(null,4,[$APP.qs,"-"+
|
|
11
|
+
$APP.P.i(8)+"px",$APP.mp,""+$APP.P.i(a)+"px",iL,"-"+$APP.P.i(4)+"px",kL,"var(--x-welcome-tour-popover-bg)"],null);case "left":return a=hL(b-k,h-16),new $APP.M(null,4,[lL,"-"+$APP.P.i(8)+"px",$APP.Np,""+$APP.P.i(a)+"px",mL,"-"+$APP.P.i(4)+"px",nL,"var(--x-welcome-tour-popover-bg)"],null);case "right":return a=hL(b-k,h-16),new $APP.M(null,4,[$APP.mp,"-"+$APP.P.i(8)+"px",$APP.Np,""+$APP.P.i(a)+"px",mL,"-"+$APP.P.i(4)+"px",oL,"var(--x-welcome-tour-popover-bg)"],null);default:return a=hL(e-c,m-16),new $APP.M(null,
|
|
12
|
+
4,[$APP.Np,"-"+$APP.P.i(8)+"px",$APP.mp,""+$APP.P.i(a)+"px",iL,"-"+$APP.P.i(4)+"px",jL,"var(--x-welcome-tour-popover-bg)"],null)}},pL=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:8):8},qL=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:4):4},rL=function(a){return a==null?!0:$APP.I((""+$APP.P.i(a)).trim().toLowerCase(),"false")},yL=function(a){var b=$APP.G(a),c=$APP.C(b,$APP.mt),
|
|
13
|
+
d=$APP.C(b,$APP.Yr),e=$APP.C(b,$APP.ev),f=$APP.C(b,$APP.$p);a=$APP.C(b,sL);var h=$APP.C(b,tL);b=$APP.C(b,uL);c=typeof c==="string"&&$APP.I(c.trim(),"")?c.trim():null;d=$APP.n(d)?d:"";e=typeof e==="string"&&$APP.bd(Tda,e.toLowerCase())?e.toLowerCase():"bottom";f=typeof f==="string"&&$APP.bd(Uda,f.toLowerCase())?f.toLowerCase():null;return new $APP.M(null,7,[$APP.dv,c,$APP.Tp,d,$APP.tr,e,$APP.Mp,f,vL,pL(a),wL,qL(h),xL,rL(b)],null)},zL=function(a){return document.createElementNS("http://www.w3.org/2000/svg",
|
|
14
|
+
a)},AL=function(a){a=a.children;for(var b=a.length,c=[],d=0;;)if(d<b){var e=a[d];$APP.z.j(e.tagName.toLowerCase(),"x-welcome-tour-step")&&c.push(e);d+=1}else break;return c},BL=function(a){var b=$APP.l(a,"__xWelcomeTourStepModel");return $APP.n(b)?b:yL(new $APP.M(null,7,[$APP.mt,a.getAttribute("target"),$APP.Yr,a.getAttribute("title"),$APP.ev,a.getAttribute("placement"),$APP.$p,a.getAttribute("connector"),sL,a.getAttribute("cutout-padding"),tL,a.getAttribute("cutout-radius"),uL,$APP.n(a.hasAttribute("scroll-to"))?
|
|
15
|
+
a.getAttribute("scroll-to"):null],null))},CL=function(a){return typeof a==="string"&&$APP.I(a,"")?(a=document.querySelector(a),$APP.n($APP.n(a)?a.offsetWidth>0:a)?a:null):null},DL=function(a,b){b=$APP.q(aL(2,2,b));for(var c=null,d=0,e=0;;)if(e<d){var f=c.C(null,e),h=$APP.B(f,0,null);f=$APP.B(f,1,null);$APP.T(a,h,f);e+=1}else if(b=$APP.q(b))$APP.Yc(b)?(c=$APP.Db(b),b=$APP.Eb(b),h=c,d=$APP.w(c),c=h):(c=$APP.t(b),h=$APP.B(c,0,null),f=$APP.B(c,1,null),$APP.T(a,h,f),b=$APP.v(b),c=null,d=0),e=0;else break},
|
|
16
|
+
EL=function(a){return $APP.Ye($APP.Cc(a.querySelectorAll("button:not([disabled]),a[href],[tabindex]:not([tabindex\x3d'-1'])")))},FL=function(a){var b=$APP.l(a,"__xWelcomeTourRestore");$APP.n($APP.n(b)?b.isConnected:b)&&b.focus();return $APP.Q(a,"__xWelcomeTourRestore",null)},GL=function(a){if($APP.n(a)){var b=a.getBoundingClientRect(),c=window.innerHeight;return b.top<0||b.bottom>c?a.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}):null}return null},QL=function(a){a=$APP.ug([$APP.$p,
|
|
17
|
+
HL,IL,$APP.rr,$APP.Ks,JL,KL,$APP.Cu,LL],[a.getAttribute("connector"),a.getAttribute("skip-label"),a.hasAttribute("counter"),a.getAttribute("step"),a.hasAttribute("dots"),a.getAttribute("done-label"),a.getAttribute("next-label"),a.hasAttribute("open"),a.getAttribute("prev-label")]);var b=$APP.G(a);a=$APP.C(b,LL);var c=$APP.C(b,$APP.$p),d=$APP.C(b,HL),e=$APP.C(b,IL),f=$APP.C(b,$APP.Ks),h=$APP.C(b,$APP.rr),k=$APP.C(b,JL),m=$APP.C(b,KL);b=$APP.C(b,$APP.Cu);c=typeof c==="string"&&$APP.bd(Vda,c.toLowerCase())?
|
|
18
|
+
c.toLowerCase():"arrow";return $APP.ug([$APP.Mp,ML,NL,IL,OL,$APP.Ks,PL,$APP.Cu,$APP.su],[c,$APP.n(m)?m:"Next",$APP.n(d)?d:"Skip",$APP.D(e),$APP.n(a)?a:"Back",$APP.D(f),$APP.n(k)?k:"Done",$APP.D(b),bL(h)])},Wda=function(a){var b=a.offsetWidth;a=a.offsetHeight;return new $APP.M(null,4,[$APP.lo,b>0?b:360,$APP.mo,a>0?a:200,RL,b,SL,a],null)},Xda=function(a,b,c){var d=function(){var r=$APP.Mp.i(a);return $APP.n(r)?r:$APP.Mp.i(b)}(),e=CL($APP.dv.i(a)),f=$APP.n(e)?function(){var r=e.getBoundingClientRect();
|
|
19
|
+
return new $APP.M(null,4,[$APP.zt,r.x,$APP.yt,r.y,$APP.lo,r.width,$APP.mo,r.height],null)}():null,h=$APP.n(f)?Nda(f,vL.i(a),wL.i(a)):null,k=new $APP.M(null,2,[$APP.lo,window.innerWidth,$APP.mo,window.innerHeight],null);c=Wda(TL.i(c));var m=$APP.n(f)?Qda($APP.tr.i(a),f,c,k,d):null;k=function(){var r=$APP.Rp.i(m);return $APP.n(r)?r:$APP.tr.i(a)}();c=$APP.n(m)?new $APP.M(null,4,[$APP.zt,$APP.zt.i(m),$APP.yt,$APP.yt.i(m),$APP.lo,RL.i(c),$APP.mo,SL.i(c)],null):null;return new $APP.M(null,6,[$APP.Mp,d,
|
|
20
|
+
UL,f,VL,h,WL,m,XL,k,YL,c],null)},hM=function(a){var b=QL(a);if($APP.n($APP.Cu.i(b))){var c=$APP.l(a,"__xWelcomeTourLayer");if($APP.n(c))var d=c;else{var e=$APP.Ck(a,":host{pointer-events:auto;}[part\x3dbackdrop-svg]{position:fixed;inset:0;width:100%;height:100%;z-index:0;}.cutout-rect{transition:x var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),y var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),width var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),height var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),rx var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),ry var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease));}[part\x3dpopover]{position:fixed;z-index:1;width:var(--x-welcome-tour-popover-width,min(360px,calc(100vw - 2rem)));background:var(--x-welcome-tour-popover-bg,var(--x-color-bg,#ffffff));color:var(--x-welcome-tour-popover-fg,var(--x-color-text,#0f172a));border:var(--x-welcome-tour-popover-border,1px solid var(--x-color-border,#e2e8f0));border-radius:var(--x-welcome-tour-popover-radius,var(--x-radius-lg,12px));box-shadow:var(--x-welcome-tour-popover-shadow,var(--x-shadow-lg,0 20px 60px rgba(0,0,0,0.18)));font-family:var(--x-font-family,system-ui,-apple-system,sans-serif);font-size:var(--x-font-size-base,0.875rem);line-height:var(--x-line-height-normal,1.5);transition:left var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),top var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease)),opacity var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease));}@media (prefers-color-scheme:dark){[part\x3dpopover]{background:var(--x-welcome-tour-popover-bg,var(--x-color-bg,#1e293b));color:var(--x-welcome-tour-popover-fg,var(--x-color-text,#f1f5f9));border-color:var(--x-color-border,#334155);box-shadow:var(--x-welcome-tour-popover-shadow,var(--x-shadow-lg,0 20px 60px rgba(0,0,0,0.4)));}}[part\x3dheader]{display:flex;align-items:center;gap:var(--x-space-sm,8px);padding:var(--x-space-md,12px) var(--x-space-md,12px) 0;}[part\x3dtitle]{flex:1;font-weight:var(--x-font-weight-semibold,600);font-size:var(--x-font-size-base,0.875rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}[part\x3dcounter]{font-size:var(--x-font-size-xs,0.75rem);color:var(--x-color-text-muted,#64748b);white-space:nowrap;}@media (prefers-color-scheme:dark){[part\x3dcounter]{color:var(--x-color-text-muted,#94a3b8);}}[part\x3dclose-button]{appearance:none;border:none;background:none;cursor:pointer;padding:var(--x-space-xs,4px);border-radius:var(--x-radius-sm,4px);color:var(--x-color-text-muted,#64748b);font-size:1.125rem;line-height:1;display:flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;}[part\x3dclose-button]:hover{background:var(--x-color-surface-hover,rgba(0,0,0,0.06));}[part\x3dclose-button]:focus-visible{outline:2px solid var(--x-color-focus-ring,rgba(0,102,204,0.55));outline-offset:2px;}@media (prefers-color-scheme:dark){[part\x3dclose-button]{color:var(--x-color-text-muted,#94a3b8);}[part\x3dclose-button]:hover{background:var(--x-color-surface-hover,rgba(255,255,255,0.08));}}@media (pointer:coarse){[part\x3dclose-button]{min-width:44px;min-height:44px;}}[part\x3dbody]{padding:var(--x-space-sm,8px) var(--x-space-md,12px);}[part\x3dfooter]{display:flex;align-items:center;justify-content:space-between;padding:0 var(--x-space-md,12px) var(--x-space-md,12px);gap:var(--x-space-sm,8px);}[part\x3dprev-button],[part\x3dnext-button]{appearance:none;border:none;cursor:pointer;padding:var(--x-space-xs,4px) var(--x-space-md,12px);border-radius:var(--x-radius-md,6px);font-family:inherit;font-size:var(--x-font-size-sm,0.8125rem);font-weight:var(--x-font-weight-medium,500);min-height:32px;transition:background 120ms ease,color 120ms ease;}@media (pointer:coarse){[part\x3dprev-button],[part\x3dnext-button]{min-height:44px;padding:var(--x-space-sm,8px) var(--x-space-md,12px);}}[part\x3dprev-button]{background:var(--x-color-surface,rgba(0,0,0,0.04));color:var(--x-color-text,#0f172a);}[part\x3dprev-button]:hover{background:var(--x-color-surface-hover,rgba(0,0,0,0.08));}@media (prefers-color-scheme:dark){[part\x3dprev-button]{background:var(--x-color-surface,rgba(255,255,255,0.06));color:var(--x-color-text,#f1f5f9);}[part\x3dprev-button]:hover{background:var(--x-color-surface-hover,rgba(255,255,255,0.1));}}[part\x3dnext-button]{background:var(--x-welcome-tour-button-bg,var(--x-color-primary,#3b82f6));color:var(--x-welcome-tour-button-fg,#ffffff);}[part\x3dnext-button]:hover{filter:brightness(1.1);}[part\x3dprev-button]:focus-visible,[part\x3dnext-button]:focus-visible{outline:2px solid var(--x-color-focus-ring,rgba(0,102,204,0.55));outline-offset:2px;}[part\x3ddots]{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;}[part\x3ddot]{width:8px;height:8px;border-radius:var(--x-radius-full,9999px);background:var(--x-welcome-tour-dot-color,var(--x-color-border,#e2e8f0));transition:background 150ms ease;}[part\x3ddot][data-active]{background:var(--x-welcome-tour-dot-active,var(--x-color-primary,#3b82f6));}@media (prefers-color-scheme:dark){[part\x3ddot]{background:var(--x-welcome-tour-dot-color,var(--x-color-border,#475569));}[part\x3ddot][data-active]{background:var(--x-welcome-tour-dot-active,var(--x-color-primary,#60a5fa));}}[part\x3darrow]{position:absolute;width:0;height:0;border:8px solid transparent;pointer-events:none;}[part\x3dconnector-svg]{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible;}[part\x3dconnector-svg] path{fill:none;stroke:var(--x-welcome-tour-connector-color,var(--x-color-primary,#3b82f6));stroke-width:var(--x-welcome-tour-connector-width,2);stroke-linecap:round;transition:d var(--x-welcome-tour-transition-duration,var(--x-transition-duration,300ms)) var(--x-welcome-tour-transition-easing,var(--x-transition-easing,ease));}@media (prefers-reduced-motion:reduce){.cutout-rect,[part\x3dpopover],[part\x3dconnector-svg] path{transition:none !important;}}",
|
|
21
|
+
"var(--x-welcome-tour-backdrop-z,var(--x-z-modal,1100))"),f=e.shadowRoot,h=zL("svg"),k=zL("defs"),m=zL("mask"),r=zL("rect"),u=zL("rect"),x=zL("filter"),y=zL("feGaussianBlur"),A=zL("rect"),E=zL("rect");DL(h,new $APP.J(null,4,5,$APP.K,["part","backdrop-svg","aria-hidden","true"],null));DL(m,new $APP.J(null,2,5,$APP.K,["id","tour-cutout-mask"],null));DL(r,new $APP.J(null,6,5,$APP.K,"width 100% height 100% fill white".split(" "),null));DL(u,new $APP.J(null,16,5,$APP.K,"class cutout-rect fill black x 0 y 0 width 0 height 0 rx 0 ry 0".split(" "),
|
|
22
|
+
null));m.appendChild(r);m.appendChild(u);DL(x,new $APP.J(null,2,5,$APP.K,["id","tour-glow"],null));DL(y,new $APP.J(null,4,5,$APP.K,["stdDeviation","8","in","SourceGraphic"],null));x.appendChild(y);k.appendChild(m);k.appendChild(x);h.appendChild(k);DL(A,new $APP.J(null,8,5,$APP.K,"width 100% height 100% fill var(--x-welcome-tour-backdrop,rgba(0,0,0,0.5)) mask url(#tour-cutout-mask)".split(" "),null));h.appendChild(A);DL(E,new $APP.J(null,18,5,$APP.K,"class cutout-rect fill var(--x-welcome-tour-glow-color,rgba(255,255,255,0.15)) filter url(#tour-glow) x 0 y 0 width 0 height 0 rx 0 ry 0".split(" "),
|
|
23
|
+
null));h.appendChild(E);var H=new $APP.M(null,3,[$APP.Qr,h,ZL,u,$L,E],null);var O=document.createElement("div"),S=document.createElement("div"),R=document.createElement("div"),Y=document.createElement("div"),la=document.createElement("span"),ha=document.createElement("span"),na=document.createElement("button");DL(Y,new $APP.J(null,2,5,$APP.K,["part","header"],null));DL(la,new $APP.J(null,2,5,$APP.K,["part","title"],null));DL(ha,new $APP.J(null,2,5,$APP.K,["part","counter"],null));DL(na,new $APP.J(null,
|
|
24
|
+
6,5,$APP.K,"part;close-button;type;button;aria-label;Close tour".split(";"),null));na.textContent="×";Y.appendChild(la);Y.appendChild(ha);Y.appendChild(na);var Na=new $APP.M(null,4,[$APP.Tq,Y,$APP.Fs,la,aM,ha,bM,na],null);var Oa=document.createElement("div"),cb=document.createElement("button"),pb=document.createElement("div"),Kb=document.createElement("button");DL(Oa,new $APP.J(null,2,5,$APP.K,["part","footer"],null));DL(cb,new $APP.J(null,4,5,$APP.K,["part","prev-button","type","button"],null));
|
|
25
|
+
DL(pb,new $APP.J(null,2,5,$APP.K,["part","dots"],null));DL(Kb,new $APP.J(null,4,5,$APP.K,["part","next-button","type","button"],null));Oa.appendChild(cb);Oa.appendChild(pb);Oa.appendChild(Kb);var Vb=new $APP.M(null,4,[$APP.Up,Oa,$APP.Lq,cb,cM,pb,$APP.up,Kb],null);DL(O,new $APP.J(null,6,5,$APP.K,"part popover role dialog aria-modal false".split(" "),null));DL(S,new $APP.J(null,2,5,$APP.K,["part","body"],null));DL(R,new $APP.J(null,2,5,$APP.K,["part","arrow"],null));O.appendChild(R);O.appendChild($APP.Tq.i(Na));
|
|
26
|
+
O.appendChild(S);O.appendChild($APP.Up.i(Vb));var uc=$APP.Wg($APP.Cc([$APP.Wg($APP.Cc([new $APP.M(null,3,[TL,O,$APP.xu,S,dM,R],null),$APP.Zg(Na,new $APP.J(null,3,5,$APP.K,[$APP.Fs,aM,bM],null))])),$APP.Zg(Vb,new $APP.J(null,3,5,$APP.K,[$APP.Lq,cM,$APP.up],null))]));var cg=zL("svg"),Fg=zL("path");DL(cg,new $APP.J(null,4,5,$APP.K,["part","connector-svg","aria-hidden","true"],null));cg.appendChild(Fg);var zh=new $APP.M(null,2,[eM,cg,fM,Fg],null);f.appendChild($APP.Qr.i(H));f.appendChild(TL.i(uc));f.appendChild(eM.i(zh));
|
|
27
|
+
e.style.pointerEvents="auto";var Ah=$APP.Wg($APP.Cc([new $APP.M(null,1,[gM,e],null),H,uc,zh]));$APP.Q(a,"__xWelcomeTourLayer",Ah);d=Ah}var dd=d,xi=AL(a),$e=xi.length,dg=cL($APP.su.i(b),$e);if($e>0){for(var qc=xi[dg],Gg=BL(qc),yn=Xda(Gg,b,dd),be=$APP.G(yn),Qj=$APP.C(be,VL),cl=$APP.C(be,WL),yi=$APP.C(be,$APP.Mp),Rj=$APP.C(be,XL),Sj=$APP.C(be,UL),eg=$APP.C(be,YL),Bh=$APP.n(Qj)?Qj:Yda,Hg=$APP.G(dd),Tj=$APP.C(Hg,ZL),Ig=$APP.C(Hg,$L),af=$APP.G(Bh),Bf=$APP.C(af,$APP.zt),zi=$APP.C(af,$APP.yt),dl=$APP.C(af,
|
|
28
|
+
$APP.lo),fg=$APP.C(af,$APP.mo),Uj=$APP.C(af,dL),Ch=$APP.C(af,eL),el=$APP.q(new $APP.J(null,2,5,$APP.K,[Tj,Ig],null)),fl=null,gg=0,hg=0;;)if(hg<gg){var Nd=fl.C(null,hg);$APP.T(Nd,"x",""+$APP.P.i(Bf));$APP.T(Nd,"y",""+$APP.P.i(zi));$APP.T(Nd,"width",""+$APP.P.i(dl));$APP.T(Nd,"height",""+$APP.P.i(fg));$APP.T(Nd,"rx",""+$APP.P.i(Uj));$APP.T(Nd,"ry",""+$APP.P.i(Ch));hg+=1}else{var zn=$APP.q(el);if(zn){var Jg=zn;if($APP.Yc(Jg)){var ig=$APP.Db(Jg),An=$APP.Eb(Jg),Bn=ig,Cn=$APP.w(ig);el=An;fl=Bn;gg=Cn}else Nd=
|
|
29
|
+
$APP.t(Jg),$APP.T(Nd,"x",""+$APP.P.i(Bf)),$APP.T(Nd,"y",""+$APP.P.i(zi)),$APP.T(Nd,"width",""+$APP.P.i(dl)),$APP.T(Nd,"height",""+$APP.P.i(fg)),$APP.T(Nd,"rx",""+$APP.P.i(Uj)),$APP.T(Nd,"ry",""+$APP.P.i(Ch)),el=$APP.v(Jg),fl=null,gg=0;hg=0}else break}if($APP.n(cl)){var Dh=TL.i(dd),gl=$APP.zt.i(cl),Ai=$APP.yt.i(cl);Dh.style.left=""+$APP.P.i(gl)+"px";Dh.style.top=""+$APP.P.i(Ai)+"px"}if($APP.n($APP.n(Sj)?eg:Sj)){var Rb=dM.i(dd);if($APP.z.j(yi,"arrow")){var ce=Sda(Rj,Sj,eg);Rb.style.display="block";
|
|
30
|
+
Rb.style.top="auto";Rb.style.bottom="auto";Rb.style.left="auto";Rb.style.right="auto";Rb.style.marginLeft="0";Rb.style.marginTop="0";Rb.style.borderTopColor="transparent";Rb.style.borderBottomColor="transparent";Rb.style.borderLeftColor="transparent";Rb.style.borderRightColor="transparent";var Bi=$APP.Np.i(ce);$APP.n(Bi)&&(Rb.style.top=Bi);var Kg=$APP.qs.i(ce);$APP.n(Kg)&&(Rb.style.bottom=Kg);var hl=$APP.mp.i(ce);$APP.n(hl)&&(Rb.style.left=hl);var Dn=lL.i(ce);$APP.n(Dn)&&(Rb.style.right=Dn);var Eh=
|
|
31
|
+
iL.i(ce);$APP.n(Eh)&&(Rb.style.marginLeft=Eh);var il=mL.i(ce);$APP.n(il)&&(Rb.style.marginTop=il);var jl=kL.i(ce);$APP.n(jl)&&(Rb.style.borderTopColor=jl);var jg=jL.i(ce);$APP.n(jg)&&(Rb.style.borderBottomColor=jg);var Lg=nL.i(ce);$APP.n(Lg)&&(Rb.style.borderLeftColor=Lg);var Cf=oL.i(ce);$APP.n(Cf)&&(Rb.style.borderRightColor=Cf)}else Rb.style.display="none";var Mg=$APP.G(dd),Vj=$APP.C(Mg,eM),kl=$APP.C(Mg,fM);if($APP.z.j(yi,"line")||$APP.z.j(yi,"curve")){var En=Rda(Sj,eg,Rj),ll=$APP.G(En),tq=$APP.C(ll,
|
|
32
|
+
fL),ml=$APP.C(ll,gL);b:{var Df=$APP.G(tq),zd=$APP.C(Df,$APP.zt),kg=$APP.C(Df,$APP.yt),Ef=$APP.G(ml),lg=$APP.C(Ef,$APP.zt),Fh=$APP.C(Ef,$APP.yt);switch(yi){case "line":var Ng="M"+$APP.P.i(zd)+","+$APP.P.i(kg)+" L"+$APP.P.i(lg)+","+$APP.P.i(Fh);break b;case "curve":c:switch(Rj){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":var Ci=$APP.fr;break c;case "left":case "right":Ci=$APP.wt;break c;default:Ci=$APP.fr}if($APP.z.j(Ci,$APP.fr)){var Wj=(kg+Fh)/2;Ng=
|
|
33
|
+
"M"+$APP.P.i(zd)+","+$APP.P.i(kg)+" C"+$APP.P.i(zd)+","+$APP.P.i(Wj)+" "+$APP.P.i(lg)+","+$APP.P.i(Wj)+" "+$APP.P.i(lg)+","+$APP.P.i(Fh);break b}var Xj=(zd+lg)/2;Ng="M"+$APP.P.i(zd)+","+$APP.P.i(kg)+" C"+$APP.P.i(Xj)+","+$APP.P.i(kg)+" "+$APP.P.i(Xj)+","+$APP.P.i(Fh)+" "+$APP.P.i(lg)+","+$APP.P.i(Fh);break b;default:Ng=null;break b}Ng=void 0}Vj.style.display="block";$APP.T(kl,"d",$APP.n(Ng)?Ng:"")}else Vj.style.display="none"}$APP.Fs.i(dd).textContent=$APP.Tp.i(Gg);var Yj=$APP.xu.i(dd);Yj.innerHTML=
|
|
34
|
+
"";for(var Zj=qc.childNodes,nl=Zj.length,Og=0;;)if(Og<nl)Yj.appendChild(Zj[Og].cloneNode(!0)),Og+=1;else break;var ol=$APP.G(b),Xu=$APP.C(ol,IL),pl=$APP.C(ol,$APP.Ks);if($APP.n(Xu)){aM.i(dd).style.display="inline";var Yu=aM.i(dd);var RA=""+$APP.P.i(dg+1)+" / "+$APP.P.i($e);Yu.textContent=RA}else aM.i(dd).style.display="none";var Fn=cM.i(dd);if($APP.n(pl)){Fn.style.display="flex";Fn.innerHTML="";for(var uq=0;;)if(uq<$e){var ak=document.createElement("span");$APP.T(ak,"part","dot");$APP.z.j(uq,dg)&&
|
|
35
|
+
$APP.T(ak,"data-active","");Fn.appendChild(ak);uq+=1}else break}else Fn.style.display="none";var Zu=dg===0,$u=dg>=$e-1,Gn=$APP.G(b),SA=$APP.C(Gn,OL),vq=$APP.C(Gn,ML),Hn=$APP.C(Gn,PL),bk=$APP.C(Gn,NL);$APP.Lq.i(dd).textContent=SA;$APP.up.i(dd).textContent=$APP.n($u)?Hn:vq;$APP.Lq.i(dd).style.visibility=$APP.n(Zu)?"hidden":"visible";$APP.T(bM.i(dd),"aria-label",""+$APP.P.i(bk)+" tour")}}else{var Di=$APP.l(a,"__xWelcomeTourLayer");$APP.n(Di)&&($APP.Ek(gM.i(Di)),$APP.Q(a,"__xWelcomeTourLayer",null),FL(a))}return $APP.Q(a,
|
|
36
|
+
"__xWelcomeTourModel",b)},iM=function(a){return $APP.n($APP.l(a,"__xWelcomeTourRaf"))?null:$APP.Yi(a,"__xWelcomeTourRaf",requestAnimationFrame(function(){$APP.Yi(a,"__xWelcomeTourRaf",null);var b=a.isConnected;return $APP.n($APP.n(b)?$APP.l(a,"__xWelcomeTourLayer"):b)?hM(a):null}))},kM=function(a){hM(a);var b=$APP.l(a,"__xWelcomeTourLayer");if($APP.n(b)){jM.i?jM.i(a):jM.call(null,a);var c=AL(a),d=cL($APP.su.i($APP.l(a,"__xWelcomeTourModel")),c.length);c.length>0&&(c=BL(c[d]),$APP.n(xL.i(c))&&GL(CL($APP.dv.i(c))));
|
|
37
|
+
return setTimeout(function(){$APP.Q(a,"__xWelcomeTourRestore",document.activeElement);var e=$APP.G(b),f=$APP.C(e,$APP.up);e=$APP.C(e,TL);e=EL(e);return $APP.q(e)?$APP.t(e).focus():f.focus()},50)}return null},Zda=function(a){lM.i?lM.i(a):lM.call(null,a);return hM(a)},nM=function(a){var b=AL(a).length;var c=$APP.l(a,"__xWelcomeTourModel");c=$APP.n(c)?c:QL(a);$APP.U(a,"open");b=cL($APP.su.i(c),b)+1;return $APP.dj(a,"x-welcome-tour-complete",$APP.tm(new $APP.M(null,1,[mM,b],null)))},oM=function(a){var b=
|
|
38
|
+
$APP.l(a,"__xWelcomeTourModel");b=$APP.n(b)?b:QL(a);var c=AL(a).length;$APP.U(a,"open");b=cL($APP.su.i(b),c);return $APP.dj(a,"x-welcome-tour-skip",$APP.tm(new $APP.M(null,1,[$APP.su,b],null)))},qM=function(a){var b=$APP.l(a,"__xWelcomeTourModel");var c=$APP.n(b)?b:QL(a);b=AL(a).length;c=cL($APP.su.i(c),b);if(c>=b-1)return nM(a);b=c+1;return $APP.fj(a,"x-welcome-tour-step-change",$APP.tm(new $APP.M(null,2,[$APP.su,b,pM,c],null)))?($APP.T(a,"step",""+$APP.P.i(b)),a=AL(a),a=BL(a[b]),$APP.n(xL.i(a))?
|
|
39
|
+
GL(CL($APP.dv.i(a))):null):null},rM=function(a){var b=$APP.l(a,"__xWelcomeTourModel");b=$APP.n(b)?b:QL(a);var c=AL(a).length;c=cL($APP.su.i(b),c);if(c===0)return null;b=c-1;return $APP.fj(a,"x-welcome-tour-step-change",$APP.tm(new $APP.M(null,2,[$APP.su,b,pM,c],null)))?($APP.T(a,"step",""+$APP.P.i(b)),a=AL(a),a=BL(a[b]),$APP.n(xL.i(a))?GL(CL($APP.dv.i(a))):null):null},$da=function(a,b){var c=b.key;if($APP.z.j(c,"Escape"))return b.preventDefault(),b.stopPropagation(),oM(a);if($APP.z.j(c,"ArrowRight")||
|
|
40
|
+
$APP.z.j(c,"ArrowDown"))return b.preventDefault(),qM(a);if($APP.z.j(c,"ArrowLeft")||$APP.z.j(c,"ArrowUp"))return b.preventDefault(),rM(a);if($APP.z.j(c,"Tab"))a:{c=$APP.l(a,"__xWelcomeTourLayer");a=$APP.G(c);a=$APP.C(a,TL);a=EL(a);if($APP.q(a)){c=$APP.n(c)?gM.i(c).shadowRoot:null;c=$APP.n(c)?c.activeElement:null;c=$APP.n(c)?c:document.activeElement;var d=$APP.t(a);a=$APP.Gc(a);var e=b.shiftKey;if($APP.n($APP.n(e)?$APP.z.j(c,d):e)){b.preventDefault();b=a.focus();break a}if($APP.p(e)&&$APP.z.j(c,a)){b.preventDefault();
|
|
41
|
+
b=d.focus();break a}}b=null}else b=null;return b},jM=function(a){var b=$APP.l(a,"__xWelcomeTourLayer");if($APP.n(b)){var c=gM.i(b).shadowRoot,d=function(u){return $da(a,u)},e=function(u){var x=$APP.l(a,"__xWelcomeTourLayer");return $APP.n($APP.n(x)?$APP.z.j(u.target,$APP.Qr.i(x)):x)?oM(a):null},f=function(){return iM(a)},h=function(){return rM(a)},k=function(){var u=$APP.l(a,"__xWelcomeTourModel");u=$APP.n(u)?u:QL(a);var x=AL(a).length;return cL($APP.su.i(u),x)>=x-1?nM(a):qM(a)},m=function(){return oM(a)},
|
|
42
|
+
r=new ResizeObserver(function(){return iM(a)});c.addEventListener("keydown",d,!0);c.addEventListener("click",e);window.addEventListener("scroll",f,{passive:!0});window.addEventListener("resize",f,{passive:!0});$APP.Lq.i(b).addEventListener("click",h);$APP.up.i(b).addEventListener("click",k);bM.i(b).addEventListener("click",m);r.observe(document.body);$APP.Q(a,"__xWelcomeTourHandlers",new $APP.M(null,7,[$APP.Pr,d,$APP.ps,e,$APP.is,f,$APP.pr,h,$APP.wr,k,$APP.Rs,m,sM,c],null));return $APP.Q(a,"__xWelcomeTourResizeObs",
|
|
43
|
+
r)}return null},lM=function(a){var b=$APP.l(a,"__xWelcomeTourHandlers");if($APP.n(b)){var c=$APP.G(b);b=$APP.C(c,$APP.Pr);var d=$APP.C(c,$APP.ps),e=$APP.C(c,$APP.is),f=$APP.C(c,$APP.pr),h=$APP.C(c,$APP.wr),k=$APP.C(c,$APP.Rs);c=$APP.C(c,sM);var m=$APP.l(a,"__xWelcomeTourLayer");$APP.n(c)&&(c.removeEventListener("keydown",b,!0),c.removeEventListener("click",d));window.removeEventListener("scroll",e);window.removeEventListener("resize",e);$APP.n(m)&&($APP.Lq.i(m).removeEventListener("click",f),$APP.up.i(m).removeEventListener("click",
|
|
44
|
+
h),bM.i(m).removeEventListener("click",k))}b=$APP.l(a,"__xWelcomeTourResizeObs");$APP.n(b)&&b.disconnect();b=$APP.l(a,"__xWelcomeTourRaf");$APP.n(b)&&cancelAnimationFrame(b);$APP.Q(a,"__xWelcomeTourHandlers",null);$APP.Q(a,"__xWelcomeTourResizeObs",null);return $APP.Yi(a,"__xWelcomeTourRaf",null)},aea=function(a){var b=new MutationObserver(function(){return $APP.n($APP.l(a,"__xWelcomeTourLayer"))?hM(a):null});b.observe(a,{childList:!0});$APP.Q(a,"__xWelcomeTourObserver",b)},bea=function(a){if(!$APP.n($APP.l(a,
|
|
45
|
+
"__xWelcomeTourRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:contents;}";b.appendChild(c);b.appendChild(d);$APP.Q(a,"__xWelcomeTourRefs",new $APP.M(null,1,[$APP.Sk,b],null))}aea(a);b=QL(a);$APP.Q(a,"__xWelcomeTourModel",b);return $APP.n($APP.Cu.i(b))?kM(a):null},cea=function(a){lM(a);var b=$APP.l(a,"__xWelcomeTourObserver");$APP.n(b)&&b.disconnect();$APP.Q(a,"__xWelcomeTourObserver",null);b=$APP.l(a,"__xWelcomeTourLayer");
|
|
46
|
+
$APP.n(b)&&($APP.Ek(gM.i(b)),$APP.Q(a,"__xWelcomeTourLayer",null));return FL(a)},dea=function(a,b,c,d){if($APP.n(function(){var k=$APP.I(c,d);return k?a.isConnected:k}())){var e=$APP.l(a,"__xWelcomeTourModel");b=QL(a);var f=function(){var k=$APP.Cu.i(e);return $APP.n(k)?k:!1}(),h=$APP.Cu.i(b);$APP.Q(a,"__xWelcomeTourModel",b);return $APP.n(function(){var k=$APP.p(f);return k?h:k}())?kM(a):$APP.n($APP.n(f)?$APP.p(h):f)?Zda(a):$APP.n(h)?hM(a):null}return null},eea=function(a){$APP.ij(a,"open","open");
|
|
47
|
+
Object.defineProperty(a,"step",{get:function(){return bL(this.getAttribute("step"))},set:function(b){return $APP.T(this,"step",""+$APP.P.i($APP.n(b)?b:0))},enumerable:!0,configurable:!0});$APP.lj(a,"connector","connector","arrow");Object.defineProperty(a,"totalSteps",{get:function(){return AL(this).length},enumerable:!0,configurable:!0});$APP.lj(a,"prevLabel","prev-label","Back");$APP.lj(a,"nextLabel","next-label","Next");$APP.lj(a,"doneLabel","done-label","Done");$APP.lj(a,"skipLabel","skip-label",
|
|
48
|
+
"Skip")},fea=function(a){Object.defineProperty(a,"start",{value:function(){$APP.T(this,"step","0");$APP.T(this,"open","");return $APP.dj(this,"x-welcome-tour-start",$APP.tm($APP.ie))},writable:!0,configurable:!0});Object.defineProperty(a,"next",{value:function(){return qM(this)},writable:!0,configurable:!0});Object.defineProperty(a,"prev",{value:function(){return rM(this)},writable:!0,configurable:!0});Object.defineProperty(a,"goTo",{value:function(b){var c=$APP.l(this,"__xWelcomeTourModel");var d=
|
|
49
|
+
$APP.n(c)?c:QL(this);c=AL(this).length;d=cL($APP.su.i(d),c);b=cL(b,c);return $APP.I(d,b)&&$APP.fj(this,"x-welcome-tour-step-change",$APP.tm(new $APP.M(null,2,[$APP.su,b,pM,d],null)))?$APP.T(this,"step",""+$APP.P.i(b)):null},writable:!0,configurable:!0});Object.defineProperty(a,"complete",{value:function(){return nM(this)},writable:!0,configurable:!0});return Object.defineProperty(a,"skip",{value:function(){return oM(this)},writable:!0,configurable:!0})},hea=function(){return $APP.qi("x-welcome-tour",
|
|
50
|
+
new $APP.M(null,5,[$APP.hi,gea,$APP.fi,bea,$APP.ci,cea,$APP.bi,dea,$APP.gi,function(a){eea(a);return fea(a)}],null))},tM=function(a){var b=yL(new $APP.M(null,7,[$APP.mt,a.getAttribute("target"),$APP.Yr,a.getAttribute("title"),$APP.ev,a.getAttribute("placement"),$APP.$p,a.getAttribute("connector"),sL,a.getAttribute("cutout-padding"),tL,a.getAttribute("cutout-radius"),uL,$APP.n(a.hasAttribute("scroll-to"))?a.getAttribute("scroll-to"):null],null));return $APP.Q(a,"__xWelcomeTourStepModel",b)},iea=function(a){Object.defineProperty(a,
|
|
51
51
|
"target",{get:function(){var b=this.getAttribute("target");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.I(b,""):b)?$APP.T(this,"target",""+$APP.P.i(b)):$APP.U(this,"target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"title",{get:function(){var b=this.getAttribute("title");return $APP.n(b)?b:""},set:function(b){return $APP.n($APP.n(b)?$APP.I(b,""):b)?$APP.T(this,"title",""+$APP.P.i(b)):$APP.U(this,"title")},enumerable:!0,configurable:!0});$APP.lj(a,"placement",
|
|
52
|
-
"placement","bottom");$APP.mj(a,"connector","connector");$APP.oj(a,"cutoutPadding","cutout-padding",
|
|
53
|
-
c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:none;}";b.appendChild(c);b.appendChild(d);$APP.Ui(a,"__xWelcomeTourStepInitialized")}tM(a);return $APP.dj(a,"x-welcome-tour-step-connected",{})},
|
|
54
|
-
$APP.V,null,$APP.bj,!1,$APP.cj,!1],null);a.i?a.i(b):a.call(null,b)}catch(c){}return null},
|
|
55
|
-
-452581833),
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
$APP.ug([$APP.Mp,$APP.
|
|
61
|
-
$APP.W,"prev-label"],null),new $APP.M(null,2,[$APP.
|
|
62
|
-
$APP.he(["x-welcome-tour-start",new $APP.M(null,2,[$APP.V,$APP.ie,$APP.
|
|
63
|
-
var
|
|
64
|
-
var
|
|
52
|
+
"placement","bottom");$APP.mj(a,"connector","connector");$APP.oj(a,"cutoutPadding","cutout-padding",pL);$APP.oj(a,"cutoutRadius","cutout-radius",qL);return Object.defineProperty(a,"scrollTo",{get:function(){return rL($APP.n(this.hasAttribute("scroll-to"))?this.getAttribute("scroll-to"):null)},set:function(b){return $APP.n(b)?$APP.T(this,"scroll-to",""):$APP.T(this,"scroll-to","false")},enumerable:!0,configurable:!0})},jea=function(a){if(!$APP.Ti(a,"__xWelcomeTourStepInitialized")){var b=a.attachShadow({mode:"open"}),
|
|
53
|
+
c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:none;}";b.appendChild(c);b.appendChild(d);$APP.Ui(a,"__xWelcomeTourStepInitialized")}tM(a);return $APP.dj(a,"x-welcome-tour-step-connected",{})},kea=function(){document.dispatchEvent(new CustomEvent("x-welcome-tour-step-disconnected",{bubbles:!1,composed:!1,cancelable:!1}));var a=$APP.bb($APP.Pi);if(a!=null)try{var b=new $APP.M(null,6,[$APP.N,$APP.gj,$APP.ji,document,$APP.aj,"x-welcome-tour-step-disconnected",
|
|
54
|
+
$APP.V,null,$APP.bj,!1,$APP.cj,!1],null);a.i?a.i(b):a.call(null,b)}catch(c){}return null},lea=function(a,b,c,d){return $APP.I(c,d)?tM(a):null},uM=function(){$APP.qi("x-welcome-tour-step",new $APP.M(null,5,[$APP.hi,mea,$APP.fi,jea,$APP.ci,kea,$APP.bi,lea,$APP.gi,iea],null));return hea()},aM=new $APP.F(null,"counter-el","counter-el",-1722624952),JL=new $APP.F(null,"done-label-raw","done-label-raw",1022925613),OL=new $APP.F(null,"prev-label","prev-label",-1633827735),lL=new $APP.F(null,"right","right",
|
|
55
|
+
-452581833),wL=new $APP.F(null,"cutout-radius","cutout-radius",-1889150005),ZL=new $APP.F(null,"mask-cut","mask-cut",-1027017197),mM=new $APP.F(null,"stepsCompleted","stepsCompleted",-1195441854),HL=new $APP.F(null,"skip-label-raw","skip-label-raw",-1113162074),pM=new $APP.F(null,"previousStep","previousStep",179909093),NL=new $APP.F(null,"skip-label","skip-label",-1497552511),xL=new $APP.F(null,"scroll-to?","scroll-to?",-115048698),sL=new $APP.F(null,"cutout-padding-raw","cutout-padding-raw",1242999121),
|
|
56
|
+
IL=new $APP.F(null,"counter?","counter?",-1490890073),KL=new $APP.F(null,"next-label-raw","next-label-raw",128708305),jL=new $APP.F(null,"border-bottom-color","border-bottom-color",-208763333),fL=new $APP.F(null,"target-point","target-point",1084476807),nL=new $APP.F(null,"border-left-color","border-left-color",-1166146583),LL=new $APP.F(null,"prev-label-raw","prev-label-raw",-1005526116),tL=new $APP.F(null,"cutout-radius-raw","cutout-radius-raw",-612633502),eM=new $APP.F(null,"conn-svg","conn-svg",
|
|
57
|
+
-2008050391),fM=new $APP.F(null,"conn-path","conn-path",-244598641),kL=new $APP.F(null,"border-top-color","border-top-color",-804629899),TL=new $APP.F(null,"popover","popover",-1809582136),XL=new $APP.F(null,"final-pl","final-pl",-1199356373),UL=new $APP.F(null,"target-rect","target-rect",1131599508),cM=new $APP.F(null,"dots-el","dots-el",1811278312),mL=new $APP.F(null,"margin-top","margin-top",392161226),gM=new $APP.F(null,"layer","layer",-1601820589),oL=new $APP.F(null,"border-right-color","border-right-color",
|
|
58
|
+
2017953775),vL=new $APP.F(null,"cutout-padding","cutout-padding",1623255682),YL=new $APP.F(null,"popover-rect","popover-rect",585900438),ML=new $APP.F(null,"next-label","next-label",1724045248),$L=new $APP.F(null,"glow","glow",216329469),uL=new $APP.F(null,"scroll-to-raw","scroll-to-raw",1123777559),sM=new $APP.F(null,"shadow","shadow",873231803),gL=new $APP.F(null,"popover-point","popover-point",-1343008173),RL=new $APP.F(null,"raw-w","raw-w",-1426274911),iL=new $APP.F(null,"margin-left","margin-left",
|
|
59
|
+
2015598377),SL=new $APP.F(null,"raw-h","raw-h",-478400948),PL=new $APP.F(null,"done-label","done-label",2036600942),dM=new $APP.F(null,"arrow-el","arrow-el",-968525162),eL=new $APP.F(null,"ry","ry",-334598563),dL=new $APP.F(null,"rx","rx",1627208482),VL=new $APP.F(null,"cutout","cutout",499090309),bM=new $APP.F(null,"close-btn","close-btn",-1639164196),WL=new $APP.F(null,"pos","pos",-864607220);var gea="open step connector prev-label next-label done-label skip-label counter dots".split(" ");
|
|
60
|
+
$APP.ug([$APP.Mp,$APP.Xt,new $APP.F(null,"prevLabel","prevLabel",-1710466271),new $APP.F(null,"nextLabel","nextLabel",-1506210545),new $APP.F(null,"counter","counter",804008177),new $APP.F(null,"totalSteps","totalSteps",-1980211791),new $APP.F(null,"doneLabel","doneLabel",849728698),new $APP.F(null,"skipLabel","skipLabel",-1410174917),$APP.Gs,$APP.su],[new $APP.M(null,2,[$APP.N,$APP.X,$APP.W,"connector"],null),new $APP.M(null,2,[$APP.N,$APP.qj,$APP.W,"open"],null),new $APP.M(null,2,[$APP.N,$APP.X,
|
|
61
|
+
$APP.W,"prev-label"],null),new $APP.M(null,2,[$APP.N,$APP.X,$APP.W,"next-label"],null),new $APP.M(null,2,[$APP.N,$APP.qj,$APP.W,"counter"],null),new $APP.M(null,2,[$APP.N,$APP.Z,$APP.pj,!0],null),new $APP.M(null,2,[$APP.N,$APP.X,$APP.W,"done-label"],null),new $APP.M(null,2,[$APP.N,$APP.X,$APP.W,"skip-label"],null),new $APP.M(null,2,[$APP.N,$APP.qj,$APP.W,"dots"],null),new $APP.M(null,2,[$APP.N,$APP.Z,$APP.W,"step"],null)]);
|
|
62
|
+
$APP.he(["x-welcome-tour-start",new $APP.M(null,2,[$APP.V,$APP.ie,$APP.au,!1],null),"x-welcome-tour-step-change",new $APP.M(null,2,[$APP.V,new $APP.M(null,2,[$APP.su,$APP.Z,pM,$APP.Z],null),$APP.au,!0],null),"x-welcome-tour-complete",new $APP.M(null,2,[$APP.V,new $APP.M(null,1,[mM,$APP.Z],null),$APP.au,!1],null),"x-welcome-tour-skip",new $APP.M(null,2,[$APP.V,new $APP.M(null,1,[$APP.su,$APP.Z],null),$APP.au,!1],null)]);
|
|
63
|
+
var Vda=new $APP.ah(null,new $APP.M(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);var mea="target title placement connector cutout-padding cutout-radius scroll-to".split(" ");$APP.he(["x-welcome-tour-step-connected",new $APP.M(null,2,[$APP.V,$APP.ie,$APP.au,!1],null),"x-welcome-tour-step-disconnected",new $APP.M(null,2,[$APP.V,$APP.ie,$APP.au,!1],null)]);
|
|
64
|
+
var Tda=new $APP.ah(null,new $APP.M(null,8,["right",null,"top",null,"bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null,"bottom",null,"left",null],null),null),Uda=new $APP.ah(null,new $APP.M(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);var Yda=new $APP.M(null,6,[$APP.zt,-9999,$APP.yt,-9999,$APP.lo,0,$APP.mo,0,dL,0,eL,0],null);$APP.fa("baredom.exports.x_welcome_tour.init",uM);export const init=uM;
|
package/package.json
CHANGED
|
@@ -316,6 +316,11 @@
|
|
|
316
316
|
"import": "./dist/x-file-upload.js",
|
|
317
317
|
"default": "./dist/x-file-upload.js"
|
|
318
318
|
},
|
|
319
|
+
"./x-floating-panel": {
|
|
320
|
+
"types": "./dist/x-floating-panel.d.ts",
|
|
321
|
+
"import": "./dist/x-floating-panel.js",
|
|
322
|
+
"default": "./dist/x-floating-panel.js"
|
|
323
|
+
},
|
|
319
324
|
"./x-table-row": {
|
|
320
325
|
"types": "./dist/x-table-row.d.ts",
|
|
321
326
|
"import": "./dist/x-table-row.js",
|
|
@@ -573,7 +578,7 @@
|
|
|
573
578
|
"bugs": {
|
|
574
579
|
"url": "https://github.com/avanelsas/baredom/issues"
|
|
575
580
|
},
|
|
576
|
-
"version": "3.
|
|
581
|
+
"version": "3.6.0",
|
|
577
582
|
"sideEffects": [
|
|
578
583
|
"./dist/*.js"
|
|
579
584
|
],
|