@vanelsas/baredom 4.10.0 → 4.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/baremirror-alpha.js +36 -35
- package/dist/base.js +637 -634
- package/dist/integrity.json +105 -105
- package/dist/x-alert.js +12 -12
- package/dist/x-avatar-group.js +8 -8
- package/dist/x-avatar.js +11 -11
- package/dist/x-badge.js +9 -9
- package/dist/x-bento-grid.js +6 -6
- package/dist/x-bento-item.js +3 -3
- package/dist/x-breadcrumbs.js +15 -15
- package/dist/x-calendar.js +28 -28
- package/dist/x-cancel-dialogue.js +11 -11
- package/dist/x-card.js +5 -5
- package/dist/x-carousel.js +23 -23
- package/dist/x-chart.js +41 -41
- package/dist/x-code.js +28 -28
- package/dist/x-collapse.js +11 -11
- package/dist/x-color-picker.js +28 -28
- package/dist/x-combobox.js +24 -24
- package/dist/x-command-palette.js +22 -22
- package/dist/x-confetti.js +21 -21
- package/dist/x-container.js +4 -4
- package/dist/x-context-menu.js +14 -14
- package/dist/x-currency-field.js +15 -15
- package/dist/x-date-picker.js +28 -28
- package/dist/x-divider.js +5 -5
- package/dist/x-drag-panel.js +29 -29
- package/dist/x-drawer.js +10 -10
- package/dist/x-drop-zone.js +9 -9
- package/dist/x-dropdown.js +8 -8
- package/dist/x-fieldset.js +3 -3
- package/dist/x-file-download.js +13 -13
- package/dist/x-file-upload.js +19 -19
- package/dist/x-floating-panel.js +17 -17
- package/dist/x-form-field.js +12 -12
- package/dist/x-form.js +9 -9
- package/dist/x-gaussian-blur.js +10 -10
- package/dist/x-grid.js +6 -6
- package/dist/x-i18n-provider.js +5 -5
- package/dist/x-i18n.js +3 -3
- package/dist/x-icon.js +6 -6
- package/dist/x-image.js +12 -12
- package/dist/x-kbd.js +8 -8
- package/dist/x-kinetic-canvas.js +17 -17
- package/dist/x-kinetic-font.js +19 -19
- package/dist/x-kinetic-typography.js +27 -27
- package/dist/x-liquid-dock.js +27 -27
- package/dist/x-liquid-fill.js +35 -35
- package/dist/x-liquid-glass.js +19 -19
- package/dist/x-menu-item.js +6 -6
- package/dist/x-menu.js +9 -9
- package/dist/x-metaball-cursor.js +18 -18
- package/dist/x-modal.js +12 -12
- package/dist/x-morph-stack.js +27 -27
- package/dist/x-multi-combobox.js +40 -40
- package/dist/x-navbar.js +8 -8
- package/dist/x-neural-glow.js +17 -17
- package/dist/x-notification-center.js +7 -7
- package/dist/x-organic-divider.js +10 -10
- package/dist/x-organic-progress.js +27 -27
- package/dist/x-organic-shape.js +7 -7
- package/dist/x-otp-input.js +15 -15
- package/dist/x-pagination.js +13 -13
- package/dist/x-particle-button.js +40 -40
- package/dist/x-popover.js +22 -22
- package/dist/x-progress-circle.js +7 -7
- package/dist/x-progress.js +7 -7
- package/dist/x-proximity-list.js +16 -16
- package/dist/x-radio.js +10 -10
- package/dist/x-range-slider.js +21 -21
- package/dist/x-rating.js +20 -20
- package/dist/x-ripple-effect.js +8 -8
- package/dist/x-scroll-parallax.js +16 -16
- package/dist/x-scroll-stack.js +12 -12
- package/dist/x-scroll-story.js +23 -23
- package/dist/x-scroll-timeline.js +37 -37
- package/dist/x-scroll.js +36 -36
- package/dist/x-sidebar.js +15 -15
- package/dist/x-skeleton-group.js +10 -10
- package/dist/x-slider.js +14 -14
- package/dist/x-soft-body.js +13 -13
- package/dist/x-spacer.js +3 -3
- package/dist/x-spinner.js +4 -4
- package/dist/x-splash.js +10 -10
- package/dist/x-split-pane.js +10 -10
- package/dist/x-spotlight-card.js +9 -9
- package/dist/x-stat.js +9 -9
- package/dist/x-stepper.js +13 -13
- package/dist/x-switch.js +10 -10
- package/dist/x-tab.js +4 -4
- package/dist/x-table-cell.js +16 -16
- package/dist/x-table-row.js +6 -6
- package/dist/x-table.js +17 -17
- package/dist/x-tabs.js +10 -10
- package/dist/x-text-area.js +13 -13
- package/dist/x-theme.js +25 -25
- package/dist/x-timeline-item.js +18 -18
- package/dist/x-timeline.js +9 -9
- package/dist/x-toast.js +13 -13
- package/dist/x-toaster.js +4 -4
- package/dist/x-tooltip.js +10 -10
- package/dist/x-trace-history.js +100 -100
- package/dist/x-typography.js +4 -4
- package/dist/x-welcome-tour.js +46 -46
- package/package.json +2 -1
package/dist/x-welcome-tour.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import { $APP, shadow$provide } from "./base.js";
|
|
2
|
-
var WJ=function(){document.dispatchEvent(new CustomEvent("x-welcome-tour-step-disconnected",{bubbles:!1,composed:!1,cancelable:!1}));var a=$APP
|
|
3
|
-
0?$APP.
|
|
4
|
-
default:return a}},
|
|
5
|
-
$APP.nv,r],null);case "top-start":return new $APP.J(null,2,[$APP.ov,c,$APP.nv,f-k-b],null);case "top-end":return new $APP.J(null,2,[$APP.ov,c+g-d,$APP.nv,f-k-b],null);case "bottom-start":return new $APP.J(null,2,[$APP.ov,c,$APP.nv,f+e+b],null);case "bottom-end":return new $APP.J(null,2,[$APP.ov,c+g-d,$APP.nv,f+e+b],null);default:return new $APP.J(null,2,[$APP.ov,n,$APP.nv,f+e+b],null)}},
|
|
6
|
-
G=$APP.
|
|
7
|
-
$APP.uo);e=$APP.F(d);var r=$APP.C(e,$APP.to),v=$APP.C(e,$APP.uo);e=f(a);var w=f(
|
|
8
|
-
w:$APP.m($APP.wv.i(a))?a:$APP.m($APP.wv.i(y))?y:e}
|
|
2
|
+
var WJ=function(){document.dispatchEvent(new CustomEvent("x-welcome-tour-step-disconnected",{bubbles:!1,composed:!1,cancelable:!1}));var a=$APP.$a($APP.ii);if(a!=null)try{var b=new $APP.J(null,6,[$APP.O,$APP.Qi,$APP.pi,document,$APP.Ji,"x-welcome-tour-step-disconnected",$APP.Ki,null,$APP.Li,!1,$APP.Mi,!1],null);a.i?a.i(b):a.call(null,b)}catch(c){}return null},XJ=function(a){return typeof a==="string"?(a=parseInt(a.trim(),10),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:0):0},YJ=function(a,b){return b>
|
|
3
|
+
0?$APP.ck.j($APP.dk.j(a,0),b-1):0},Wla=function(a,b,c){var d=$APP.F(a);a=$APP.C(d,$APP.ov);var e=$APP.C(d,$APP.nv),f=$APP.C(d,$APP.to);d=$APP.C(d,$APP.uo);return new $APP.J(null,6,[$APP.ov,a-b,$APP.nv,e-b,$APP.to,f+2*b,$APP.uo,d+2*b,ZJ,c,$J,c],null)},Xla=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";
|
|
4
|
+
default:return a}},Yla=function(a,b,c,d){var e=$APP.F(c);c=$APP.C(e,$APP.ov);var f=$APP.C(e,$APP.nv),g=$APP.C(e,$APP.to);e=$APP.C(e,$APP.uo);var k=$APP.F(d);d=$APP.C(k,$APP.to);k=$APP.C(k,$APP.uo);var n=c+g/2+-(d/2),r=f+e/2+-(k/2);switch(a){case "top":return new $APP.J(null,2,[$APP.ov,n,$APP.nv,f-k-b],null);case "bottom":return new $APP.J(null,2,[$APP.ov,n,$APP.nv,f+e+b],null);case "left":return new $APP.J(null,2,[$APP.ov,c-d-b,$APP.nv,r],null);case "right":return new $APP.J(null,2,[$APP.ov,c+g+b,
|
|
5
|
+
$APP.nv,r],null);case "top-start":return new $APP.J(null,2,[$APP.ov,c,$APP.nv,f-k-b],null);case "top-end":return new $APP.J(null,2,[$APP.ov,c+g-d,$APP.nv,f-k-b],null);case "bottom-start":return new $APP.J(null,2,[$APP.ov,c,$APP.nv,f+e+b],null);case "bottom-end":return new $APP.J(null,2,[$APP.ov,c+g-d,$APP.nv,f+e+b],null);default:return new $APP.J(null,2,[$APP.ov,n,$APP.nv,f+e+b],null)}},Zla=function(a,b,c,d,e){function f(A){var G=Yla(A,g,b,c);G=$APP.F(G);var M=$APP.C(G,$APP.ov),P=$APP.C(G,$APP.nv);
|
|
6
|
+
G=$APP.ck.j($APP.dk.j(M,8),r-k-8);var T=$APP.ck.j($APP.dk.j(P,8),v-n-8);P=$APP.F(new $APP.J(null,2,[$APP.ov,M,$APP.nv,P],null));M=$APP.C(P,$APP.ov);P=$APP.C(P,$APP.nv);var S=$APP.F(c),da=$APP.C(S,$APP.to);S=$APP.C(S,$APP.uo);var oa=$APP.F(d),la=$APP.C(oa,$APP.to);oa=$APP.C(oa,$APP.uo);return new $APP.J(null,4,[$APP.ov,G,$APP.nv,T,$APP.tt,A,$APP.wv,M>=8&&P>=8&&M+da<=la-8&&P+S<=oa-8],null)}a:switch(e){case "line":case "curve":var g=48;break a;default:g=8}e=$APP.F(c);var k=$APP.C(e,$APP.to),n=$APP.C(e,
|
|
7
|
+
$APP.uo);e=$APP.F(d);var r=$APP.C(e,$APP.to),v=$APP.C(e,$APP.uo);e=f(a);var w=f(Xla(a));a:switch(a){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":var y=new $APP.H(null,2,5,$APP.I,["left","right"],null);break a;case "left":case "right":y=new $APP.H(null,2,5,$APP.I,["bottom","top"],null);break a;default:y=new $APP.H(null,2,5,$APP.I,["bottom","top"],null)}a=$APP.B(y,0,null);y=$APP.B(y,1,null);a=f(a);y=f(y);return $APP.m($APP.wv.i(e))?e:$APP.m($APP.wv.i(w))?
|
|
8
|
+
w:$APP.m($APP.wv.i(a))?a:$APP.m($APP.wv.i(y))?y:e},$la=function(a,b,c){var d=$APP.F(a);a=$APP.C(d,$APP.ov);var e=$APP.C(d,$APP.nv),f=$APP.C(d,$APP.to);d=$APP.C(d,$APP.uo);var g=$APP.F(b);b=$APP.C(g,$APP.ov);var k=$APP.C(g,$APP.nv),n=$APP.C(g,$APP.to);g=$APP.C(g,$APP.uo);var r=a+f/2,v=e+d/2,w=b+n/2,y=k+g/2;switch(c){case "bottom":case "bottom-start":case "bottom-end":return new $APP.J(null,2,[aK,new $APP.J(null,2,[$APP.ov,r,$APP.nv,e+d],null),bK,new $APP.J(null,2,[$APP.ov,w,$APP.nv,k],null)],null);
|
|
9
9
|
case "top":case "top-start":case "top-end":return new $APP.J(null,2,[aK,new $APP.J(null,2,[$APP.ov,r,$APP.nv,e],null),bK,new $APP.J(null,2,[$APP.ov,w,$APP.nv,k+g],null)],null);case "left":return new $APP.J(null,2,[aK,new $APP.J(null,2,[$APP.ov,a,$APP.nv,v],null),bK,new $APP.J(null,2,[$APP.ov,b+n,$APP.nv,y],null)],null);case "right":return new $APP.J(null,2,[aK,new $APP.J(null,2,[$APP.ov,a+f,$APP.nv,v],null),bK,new $APP.J(null,2,[$APP.ov,b,$APP.nv,y],null)],null);default:return new $APP.J(null,2,[aK,
|
|
10
|
-
new $APP.J(null,2,[$APP.ov,r,$APP.nv,e+d],null),bK,new $APP.J(null,2,[$APP.ov,w,$APP.nv,k],null)],null)}},cK=function(a,b){return $APP.
|
|
10
|
+
new $APP.J(null,2,[$APP.ov,r,$APP.nv,e+d],null),bK,new $APP.J(null,2,[$APP.ov,w,$APP.nv,k],null)],null)}},cK=function(a,b){return $APP.ck.j($APP.dk.j(a,16),b)},ama=function(a,b,c){var d=$APP.F(b),e=$APP.C(d,$APP.ov);b=$APP.C(d,$APP.nv);var f=$APP.C(d,$APP.to);d=$APP.C(d,$APP.uo);var g=$APP.F(c);c=$APP.C(g,$APP.ov);var k=$APP.C(g,$APP.nv),n=$APP.C(g,$APP.to);g=$APP.C(g,$APP.uo);e+=f/2;b+=d/2;switch(a){case "bottom":case "bottom-start":case "bottom-end":return a=cK(e-c,n-16),new $APP.J(null,4,[$APP.qt,
|
|
11
11
|
"-"+$APP.N.i(8)+"px",$APP.Zs,""+$APP.N.i(a)+"px",dK,"-"+$APP.N.i(4)+"px",eK,"var(--x-welcome-tour-popover-bg)"],null);case "top":case "top-start":case "top-end":return a=cK(e-c,n-16),new $APP.J(null,4,[$APP.er,"-"+$APP.N.i(8)+"px",$APP.Zs,""+$APP.N.i(a)+"px",dK,"-"+$APP.N.i(4)+"px",fK,"var(--x-welcome-tour-popover-bg)"],null);case "left":return a=cK(b-k,g-16),new $APP.J(null,4,[gK,"-"+$APP.N.i(8)+"px",$APP.qt,""+$APP.N.i(a)+"px",hK,"-"+$APP.N.i(4)+"px",iK,"var(--x-welcome-tour-popover-bg)"],null);
|
|
12
12
|
case "right":return a=cK(b-k,g-16),new $APP.J(null,4,[$APP.Zs,"-"+$APP.N.i(8)+"px",$APP.qt,""+$APP.N.i(a)+"px",hK,"-"+$APP.N.i(4)+"px",jK,"var(--x-welcome-tour-popover-bg)"],null);default:return a=cK(e-c,n-16),new $APP.J(null,4,[$APP.qt,"-"+$APP.N.i(8)+"px",$APP.Zs,""+$APP.N.i(a)+"px",dK,"-"+$APP.N.i(4)+"px",eK,"var(--x-welcome-tour-popover-bg)"],null)}},kK=function(a){return typeof a==="string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:8):8},lK=function(a){return typeof a===
|
|
13
|
-
"string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:4):4},mK=function(a){return a==null?!0:$APP.K.j((""+$APP.N.i(a)).trim().toLowerCase(),"false")},tK=function(a){var b=$APP.F(a),c=$APP.C(b,$APP.Jr),d=$APP.C(b,$APP.Rq),e=$APP.C(b,$APP.pw),f=$APP.C(b,$APP.At);a=$APP.C(b,nK);var g=$APP.C(b,oK);b=$APP.C(b,pK);c=typeof c==="string"&&$APP.K.j(c.trim(),"")?c.trim():null;d=$APP.m(d)?d:"";e=typeof e==="string"&&$APP.
|
|
14
|
-
"string"&&$APP.
|
|
15
|
-
7,[$APP.Jr,$APP.V.j(a,"target"),$APP.Rq,$APP.V.j(a,"title"),$APP.pw,$APP.V.j(a,"placement"),$APP.At,$APP.V.j(a,"connector"),nK,$APP.V.j(a,"cutout-padding"),oK,$APP.V.j(a,"cutout-radius"),pK,$APP.m(a.hasAttribute("scroll-to"))?$APP.V.j(a,"scroll-to"):null],null))},xK=function(a){return typeof a==="string"&&$APP.K.j(a,"")?(a=document.querySelector(a),$APP.m($APP.m(a)?a.offsetWidth>0:a)?a:null):null},yK=function(a,b){b=$APP.q($APP.
|
|
16
|
-
0,null);f=$APP.B(f,1,null);$APP.R(a,g,f);e+=1}else if(b=$APP.q(b))$APP.
|
|
17
|
-
BK=function(a){if($APP.m(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},MK=function(a){a=$APP.
|
|
18
|
-
a=$APP.C(b,GK);var c=$APP.C(b,$APP.At),d=$APP.C(b,CK),e=$APP.C(b,DK),f=$APP.C(b,$APP.pr),g=$APP.C(b,$APP.eu),k=$APP.C(b,EK),n=$APP.C(b,FK);b=$APP.C(b,$APP.Js);c=typeof c==="string"&&$APP.
|
|
19
|
-
b>0?b:360,$APP.uo,a>0?a:200,NK,b,OK,a],null)},
|
|
13
|
+
"string"?(a=parseFloat(a.trim()),typeof a==="number"&&$APP.p(isNaN(a))&&a>=0?a:4):4},mK=function(a){return a==null?!0:$APP.K.j((""+$APP.N.i(a)).trim().toLowerCase(),"false")},tK=function(a){var b=$APP.F(a),c=$APP.C(b,$APP.Jr),d=$APP.C(b,$APP.Rq),e=$APP.C(b,$APP.pw),f=$APP.C(b,$APP.At);a=$APP.C(b,nK);var g=$APP.C(b,oK);b=$APP.C(b,pK);c=typeof c==="string"&&$APP.K.j(c.trim(),"")?c.trim():null;d=$APP.m(d)?d:"";e=typeof e==="string"&&$APP.ad(bma,e.toLowerCase())?e.toLowerCase():"bottom";f=typeof f===
|
|
14
|
+
"string"&&$APP.ad(cma,f.toLowerCase())?f.toLowerCase():null;return new $APP.J(null,7,[$APP.mw,c,$APP.vt,d,$APP.gu,e,$APP.pt,f,qK,kK(a),rK,lK(g),sK,mK(b)],null)},uK=function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},vK=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},wK=function(a){var b=$APP.l(a,"__xWelcomeTourStepModel");return $APP.m(b)?b:tK(new $APP.J(null,
|
|
15
|
+
7,[$APP.Jr,$APP.V.j(a,"target"),$APP.Rq,$APP.V.j(a,"title"),$APP.pw,$APP.V.j(a,"placement"),$APP.At,$APP.V.j(a,"connector"),nK,$APP.V.j(a,"cutout-padding"),oK,$APP.V.j(a,"cutout-radius"),pK,$APP.m(a.hasAttribute("scroll-to"))?$APP.V.j(a,"scroll-to"):null],null))},xK=function(a){return typeof a==="string"&&$APP.K.j(a,"")?(a=document.querySelector(a),$APP.m($APP.m(a)?a.offsetWidth>0:a)?a:null):null},yK=function(a,b){b=$APP.q($APP.Re(2,2,b));for(var c=null,d=0,e=0;;)if(e<d){var f=c.C(null,e),g=$APP.B(f,
|
|
16
|
+
0,null);f=$APP.B(f,1,null);$APP.R(a,g,f);e+=1}else if(b=$APP.q(b))$APP.Wc(b)?(c=$APP.zb(b),b=$APP.Ab(b),g=c,d=$APP.x(c),c=g):(c=$APP.t(b),g=$APP.B(c,0,null),f=$APP.B(c,1,null),$APP.R(a,g,f),b=$APP.u(b),c=null,d=0),e=0;else break},zK=function(a){return $APP.kf($APP.zc(a.querySelectorAll("button:not([disabled]),a[href],[tabindex]:not([tabindex\x3d'-1'])")))},AK=function(a){var b=$APP.l(a,"__xWelcomeTourRestore");$APP.m($APP.m(b)?b.isConnected:b)&&b.focus();return $APP.Q(a,"__xWelcomeTourRestore",null)},
|
|
17
|
+
BK=function(a){if($APP.m(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},MK=function(a){a=$APP.tg([$APP.At,CK,DK,$APP.eu,$APP.pr,EK,FK,$APP.Js,GK],[$APP.V.j(a,"connector"),$APP.V.j(a,"skip-label"),a.hasAttribute("counter"),$APP.V.j(a,"step"),a.hasAttribute("dots"),$APP.V.j(a,"done-label"),$APP.V.j(a,"next-label"),a.hasAttribute("open"),$APP.V.j(a,"prev-label")]);var b=$APP.F(a);
|
|
18
|
+
a=$APP.C(b,GK);var c=$APP.C(b,$APP.At),d=$APP.C(b,CK),e=$APP.C(b,DK),f=$APP.C(b,$APP.pr),g=$APP.C(b,$APP.eu),k=$APP.C(b,EK),n=$APP.C(b,FK);b=$APP.C(b,$APP.Js);c=typeof c==="string"&&$APP.ad(HK,c.toLowerCase())?c.toLowerCase():"arrow";return $APP.tg([$APP.pt,IK,JK,DK,KK,$APP.pr,LK,$APP.Js,$APP.Qv],[c,$APP.m(n)?n:"Next",$APP.m(d)?d:"Skip",$APP.D(e),$APP.m(a)?a:"Back",$APP.D(f),$APP.m(k)?k:"Done",$APP.D(b),XJ(g)])},dma=function(a){var b=a.offsetWidth;a=a.offsetHeight;return new $APP.J(null,4,[$APP.to,
|
|
19
|
+
b>0?b:360,$APP.uo,a>0?a:200,NK,b,OK,a],null)},ema=function(a,b,c){var d=function(){var r=$APP.pt.i(a);return $APP.m(r)?r:$APP.pt.i(b)}(),e=xK($APP.mw.i(a)),f=$APP.m(e)?function(){var r=e.getBoundingClientRect();return new $APP.J(null,4,[$APP.ov,r.x,$APP.nv,r.y,$APP.to,r.width,$APP.uo,r.height],null)}():null,g=$APP.m(f)?Wla(f,qK.i(a),rK.i(a)):null,k=new $APP.J(null,2,[$APP.to,window.innerWidth,$APP.uo,window.innerHeight],null);c=dma(PK.i(c));var n=$APP.m(f)?Zla($APP.gu.i(a),f,c,k,d):null;k=function(){var r=
|
|
20
20
|
$APP.tt.i(n);return $APP.m(r)?r:$APP.gu.i(a)}();c=$APP.m(n)?new $APP.J(null,4,[$APP.ov,$APP.ov.i(n),$APP.nv,$APP.nv.i(n),$APP.to,NK.i(c),$APP.uo,OK.i(c)],null):null;return new $APP.J(null,6,[$APP.pt,d,QK,f,RK,g,$APP.dw,n,SK,k,TK,c],null)},cL=function(a){var b=MK(a);if($APP.m($APP.Js.i(b))){var c=$APP.l(a,"__xWelcomeTourLayer");if($APP.m(c))var d=c;else{var e=$APP.ll(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,var(--x-border-width,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 var(--x-transition-duration,120ms) var(--x-transition-easing,ease),color var(--x-transition-duration,120ms) var(--x-transition-easing,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 var(--x-transition-duration,150ms) var(--x-transition-easing,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
21
|
"var(--x-welcome-tour-backdrop-z,var(--x-z-modal,1100))"),f=e.shadowRoot,g=uK("svg"),k=uK("defs"),n=uK("mask"),r=uK("rect"),v=uK("rect"),w=uK("filter"),y=uK("feGaussianBlur"),A=uK("rect"),G=uK("rect");yK(g,new $APP.H(null,4,5,$APP.I,["part","backdrop-svg","aria-hidden","true"],null));yK(n,new $APP.H(null,2,5,$APP.I,["id","tour-cutout-mask"],null));yK(r,new $APP.H(null,6,5,$APP.I,"width 100% height 100% fill white".split(" "),null));yK(v,new $APP.H(null,16,5,$APP.I,"class cutout-rect fill black x 0 y 0 width 0 height 0 rx 0 ry 0".split(" "),
|
|
22
22
|
null));n.appendChild(r);n.appendChild(v);yK(w,new $APP.H(null,2,5,$APP.I,["id","tour-glow"],null));yK(y,new $APP.H(null,4,5,$APP.I,["stdDeviation","8","in","SourceGraphic"],null));w.appendChild(y);k.appendChild(n);k.appendChild(w);g.appendChild(k);yK(A,new $APP.H(null,8,5,$APP.I,"width 100% height 100% fill var(--x-welcome-tour-backdrop,rgba(0,0,0,0.5)) mask url(#tour-cutout-mask)".split(" "),null));g.appendChild(A);yK(G,new $APP.H(null,18,5,$APP.I,"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
23
|
null));g.appendChild(G);var M=new $APP.J(null,3,[$APP.su,g,UK,v,VK,G],null);var P=document.createElement("div"),T=document.createElement("div"),S=document.createElement("div"),da=document.createElement("div"),oa=document.createElement("span"),la=document.createElement("span"),qa=document.createElement("button");yK(da,new $APP.H(null,2,5,$APP.I,["part","header"],null));yK(oa,new $APP.H(null,2,5,$APP.I,["part","title"],null));yK(la,new $APP.H(null,2,5,$APP.I,["part","counter"],null));yK(qa,new $APP.H(null,
|
|
24
|
-
6,5,$APP.I,"part;close-button;type;button;aria-label;Close tour".split(";"),null));qa.textContent="×";da.appendChild(oa);da.appendChild(la);da.appendChild(qa);var Wa=new $APP.J(null,4,[$APP.nq,da,$APP.nr,oa,WK,la,XK,qa],null);var Va=document.createElement("div"),rb=document.createElement("button"),
|
|
25
|
-
yK(
|
|
26
|
-
P.appendChild(T);P.appendChild($APP.wt.i(ic));var Pc=$APP.
|
|
27
|
-
e.style.pointerEvents="auto";var mi=$APP.
|
|
28
|
-
$APP.to),
|
|
29
|
-
$APP.t(
|
|
30
|
-
gc.style.top="auto";gc.style.bottom="auto";gc.style.left="auto";gc.style.right="auto";gc.style.marginLeft="0";gc.style.marginTop="0";gc.style.borderTopColor="transparent";gc.style.borderBottomColor="transparent";gc.style.borderLeftColor="transparent";gc.style.borderRightColor="transparent";var
|
|
31
|
-
dK.i(
|
|
32
|
-
aK),
|
|
33
|
-
"M"+$APP.N.i(
|
|
34
|
-
|
|
35
|
-
WK.i(td);var
|
|
36
|
-
0,null),
|
|
37
|
-
JK);$APP.hq.i(td).textContent=
|
|
24
|
+
6,5,$APP.I,"part;close-button;type;button;aria-label;Close tour".split(";"),null));qa.textContent="×";da.appendChild(oa);da.appendChild(la);da.appendChild(qa);var Wa=new $APP.J(null,4,[$APP.nq,da,$APP.nr,oa,WK,la,XK,qa],null);var Va=document.createElement("div"),rb=document.createElement("button"),Gb=document.createElement("div"),Xb=document.createElement("button");yK(Va,new $APP.H(null,2,5,$APP.I,["part","footer"],null));yK(rb,new $APP.H(null,4,5,$APP.I,["part","prev-button","type","button"],null));
|
|
25
|
+
yK(Gb,new $APP.H(null,2,5,$APP.I,["part","dots"],null));yK(Xb,new $APP.H(null,4,5,$APP.I,["part","next-button","type","button"],null));Va.appendChild(rb);Va.appendChild(Gb);Va.appendChild(Xb);var ic=new $APP.J(null,4,[$APP.wt,Va,$APP.hq,rb,YK,Gb,$APP.ct,Xb],null);yK(P,new $APP.H(null,6,5,$APP.I,"part popover role dialog aria-modal false".split(" "),null));yK(T,new $APP.H(null,2,5,$APP.I,["part","body"],null));yK(S,new $APP.H(null,2,5,$APP.I,["part","arrow"],null));P.appendChild(S);P.appendChild($APP.nq.i(Wa));
|
|
26
|
+
P.appendChild(T);P.appendChild($APP.wt.i(ic));var Pc=$APP.Kg($APP.zc([$APP.Kg($APP.zc([new $APP.J(null,3,[PK,P,$APP.Vv,T,ZK,S],null),$APP.Ng(Wa,new $APP.H(null,3,5,$APP.I,[$APP.nr,WK,XK],null))])),$APP.Ng(ic,new $APP.H(null,3,5,$APP.I,[$APP.hq,YK,$APP.ct],null))]));var Og=uK("svg"),ki=uK("path");yK(Og,new $APP.H(null,4,5,$APP.I,["part","connector-svg","aria-hidden","true"],null));Og.appendChild(ki);var li=new $APP.J(null,2,[$K,Og,aL,ki],null);f.appendChild($APP.su.i(M));f.appendChild(PK.i(Pc));f.appendChild($K.i(li));
|
|
27
|
+
e.style.pointerEvents="auto";var mi=$APP.Kg($APP.zc([new $APP.J(null,1,[bL,e],null),M,Pc,li]));$APP.Q(a,"__xWelcomeTourLayer",mi);d=mi}var td=d,Pg=vK(a),hf=Pg.length,Qg=YJ($APP.Qv.i(b),hf);if(hf>0){for(var lj=Pg[Qg],Ok=wK(lj),hs=ema(Ok,b,td),Nf=$APP.F(hs),lm=$APP.C(Nf,RK),mm=$APP.C(Nf,$APP.dw),Pk=$APP.C(Nf,$APP.pt),nm=$APP.C(Nf,SK),Qk=$APP.C(Nf,QK),mj=$APP.C(Nf,TK),nj=$APP.m(lm)?lm:fma,oj=$APP.F(td),Ko=$APP.C(oj,UK),pj=$APP.C(oj,VK),qj=$APP.F(nj),ph=$APP.C(qj,$APP.ov),Rk=$APP.C(qj,$APP.nv),is=$APP.C(qj,
|
|
28
|
+
$APP.to),om=$APP.C(qj,$APP.uo),Sk=$APP.C(qj,ZJ),rj=$APP.C(qj,$J),Lo=$APP.q(new $APP.H(null,2,5,$APP.I,[Ko,pj],null)),Mo=null,sj=0,lg=0;;)if(lg<sj){var ye=Mo.C(null,lg);$APP.R(ye,"x",""+$APP.N.i(ph));$APP.R(ye,"y",""+$APP.N.i(Rk));$APP.R(ye,"width",""+$APP.N.i(is));$APP.R(ye,"height",""+$APP.N.i(om));$APP.R(ye,"rx",""+$APP.N.i(Sk));$APP.R(ye,"ry",""+$APP.N.i(rj));lg+=1}else{var js=$APP.q(Lo);if(js){var Tk=js;if($APP.Wc(Tk)){var ze=$APP.zb(Tk),Of=$APP.Ab(Tk),tj=ze,No=$APP.x(ze);Lo=Of;Mo=tj;sj=No}else ye=
|
|
29
|
+
$APP.t(Tk),$APP.R(ye,"x",""+$APP.N.i(ph)),$APP.R(ye,"y",""+$APP.N.i(Rk)),$APP.R(ye,"width",""+$APP.N.i(is)),$APP.R(ye,"height",""+$APP.N.i(om)),$APP.R(ye,"rx",""+$APP.N.i(Sk)),$APP.R(ye,"ry",""+$APP.N.i(rj)),Lo=$APP.u(Tk),Mo=null,sj=0;lg=0}else break}if($APP.m(mm)){var Pf=PK.i(td),Uk=$APP.ov.i(mm),qh=$APP.nv.i(mm);Pf.style.left=""+$APP.N.i(Uk)+"px";Pf.style.top=""+$APP.N.i(qh)+"px"}if($APP.m($APP.m(Qk)?mj:Qk)){var gc=ZK.i(td);if($APP.z.j(Pk,"arrow")){var mg=ama(nm,Qk,mj);gc.style.display="block";
|
|
30
|
+
gc.style.top="auto";gc.style.bottom="auto";gc.style.left="auto";gc.style.right="auto";gc.style.marginLeft="0";gc.style.marginTop="0";gc.style.borderTopColor="transparent";gc.style.borderBottomColor="transparent";gc.style.borderLeftColor="transparent";gc.style.borderRightColor="transparent";var ks=$APP.qt.i(mg);$APP.m(ks)&&(gc.style.top=ks);var Oo=$APP.er.i(mg);$APP.m(Oo)&&(gc.style.bottom=Oo);var zx=$APP.Zs.i(mg);$APP.m(zx)&&(gc.style.left=zx);var Ax=gK.i(mg);$APP.m(Ax)&&(gc.style.right=Ax);var pm=
|
|
31
|
+
dK.i(mg);$APP.m(pm)&&(gc.style.marginLeft=pm);var Bx=hK.i(mg);$APP.m(Bx)&&(gc.style.marginTop=Bx);var ls=fK.i(mg);$APP.m(ls)&&(gc.style.borderTopColor=ls);var Vk=eK.i(mg);$APP.m(Vk)&&(gc.style.borderBottomColor=Vk);var qm=iK.i(mg);$APP.m(qm)&&(gc.style.borderLeftColor=qm);var uj=jK.i(mg);$APP.m(uj)&&(gc.style.borderRightColor=uj)}else gc.style.display="none";var Po=$APP.F(td),Qo=$APP.C(Po,$K),Cx=$APP.C(Po,aL);if($APP.z.j(Pk,"line")||$APP.z.j(Pk,"curve")){var bE=$la(Qk,mj,nm),ms=$APP.F(bE),cE=$APP.C(ms,
|
|
32
|
+
aK),ns=$APP.C(ms,bK);b:{var ni=$APP.F(cE),ng=$APP.C(ni,$APP.ov),vj=$APP.C(ni,$APP.nv),rh=$APP.F(ns),oi=$APP.C(rh,$APP.ov),Wk=$APP.C(rh,$APP.nv);switch(Pk){case "line":var wj="M"+$APP.N.i(ng)+","+$APP.N.i(vj)+" L"+$APP.N.i(oi)+","+$APP.N.i(Wk);break b;case "curve":c:switch(nm){case "top":case "bottom":case "top-start":case "top-end":case "bottom-start":case "bottom-end":var Ro=$APP.uq;break c;case "left":case "right":Ro=$APP.lv;break c;default:Ro=$APP.uq}if($APP.z.j(Ro,$APP.uq)){var os=(vj+Wk)/2;wj=
|
|
33
|
+
"M"+$APP.N.i(ng)+","+$APP.N.i(vj)+" C"+$APP.N.i(ng)+","+$APP.N.i(os)+" "+$APP.N.i(oi)+","+$APP.N.i(os)+" "+$APP.N.i(oi)+","+$APP.N.i(Wk);break b}var So=(ng+oi)/2;wj="M"+$APP.N.i(ng)+","+$APP.N.i(vj)+" C"+$APP.N.i(So)+","+$APP.N.i(vj)+" "+$APP.N.i(So)+","+$APP.N.i(Wk)+" "+$APP.N.i(oi)+","+$APP.N.i(Wk);break b;default:wj=null;break b}wj=void 0}Qo.style.display="block";$APP.R(Cx,"d",$APP.m(wj)?wj:"")}else Qo.style.display="none"}$APP.Gi($APP.nr.i(td),$APP.vt.i(Ok));var Xk=$APP.Vv.i(td);if($APP.K.j(lj.innerHTML,
|
|
34
|
+
Xk.innerHTML)){Xk.replaceChildren();for(var rm=$APP.q($APP.zc(lj.childNodes)),Yk=null,sh=0,xj=0;;)if(xj<sh){var To=Yk.C(null,xj);Xk.appendChild(To.cloneNode(!0));xj+=1}else{var Zk=$APP.q(rm);if(Zk){var $k=Zk;if($APP.Wc($k)){var Dx=$APP.zb($k),dE=$APP.Ab($k),eE=Dx,Uo=$APP.x(Dx);rm=dE;Yk=eE;sh=Uo}else To=$APP.t($k),Xk.appendChild(To.cloneNode(!0)),rm=$APP.u($k),Yk=null,sh=0;xj=0}else break}}var ps=$APP.F(b),Ex=$APP.C(ps,DK),fE=$APP.C(ps,$APP.pr);if($APP.m(Ex)){WK.i(td).style.display="inline";var gE=
|
|
35
|
+
WK.i(td);var qs=""+$APP.N.i(Qg+1)+" / "+$APP.N.i(hf);gE.textContent=qs}else WK.i(td).style.display="none";var Rg=YK.i(td);if($APP.m(fE)){for(Rg.style.display="flex";;)if(Rg.childElementCount>hf)Rg.lastElementChild.remove();else break;for(;;)if(Rg.childElementCount<hf){var yj=Rg,al=yj.appendChild,Fx=document.createElement("span");$APP.R(Fx,"part","dot");al.call(yj,Fx)}else break;for(var rs=$APP.q($APP.ve($APP.kp,$APP.zc(Rg.children))),ss=null,ts=0,Vo=0;;)if(Vo<ts){var us=ss.C(null,Vo),Wo=$APP.B(us,
|
|
36
|
+
0,null),Xo=$APP.B(us,1,null);$APP.Di(Xo,"data-active",$APP.z.j(Wo,Qg)?"":null);Vo+=1}else{var Gx=$APP.q(rs);if(Gx){var bl=Gx;if($APP.Wc(bl)){var vs=$APP.zb(bl),hE=$APP.Ab(bl),ws=vs,Hx=$APP.x(vs);rs=hE;ss=ws;ts=Hx}else{var kW=$APP.t(bl);Wo=$APP.B(kW,0,null);Xo=$APP.B(kW,1,null);$APP.Di(Xo,"data-active",$APP.z.j(Wo,Qg)?"":null);rs=$APP.u(bl);ss=null;ts=0}Vo=0}else break}}else Rg.style.display="none";var Dna=Qg===0,Ena=Qg>=hf-1,Ix=$APP.F(b),Fna=$APP.C(Ix,KK),Gna=$APP.C(Ix,IK),Hna=$APP.C(Ix,LK),Ina=$APP.C(Ix,
|
|
37
|
+
JK);$APP.hq.i(td).textContent=Fna;$APP.ct.i(td).textContent=$APP.m(Ena)?Hna:Gna;$APP.hq.i(td).style.visibility=$APP.m(Dna)?"hidden":"visible";$APP.R(XK.i(td),"aria-label",""+$APP.N.i(Ina)+" tour")}}else{var lW=$APP.l(a,"__xWelcomeTourLayer");$APP.m(lW)&&($APP.nl(bL.i(lW)),$APP.Q(a,"__xWelcomeTourLayer",null),AK(a))}return $APP.Q(a,"__xWelcomeTourModel",b)},dL=function(a){return $APP.m($APP.l(a,"__xWelcomeTourRaf"))?null:$APP.Bi(a,"__xWelcomeTourRaf",requestAnimationFrame(function(){$APP.Bi(a,"__xWelcomeTourRaf",
|
|
38
38
|
null);var b=a.isConnected;return $APP.m($APP.m(b)?$APP.l(a,"__xWelcomeTourLayer"):b)?cL(a):null}))},fL=function(a){cL(a);var b=$APP.l(a,"__xWelcomeTourLayer");if($APP.m(b)){eL.i?eL.i(a):eL.call(null,a);var c=vK(a),d=YJ($APP.Qv.i($APP.l(a,"__xWelcomeTourModel")),c.length);c.length>0&&(c=wK(c[d]),$APP.m(sK.i(c))&&BK(xK($APP.mw.i(c))));return setTimeout(function(){$APP.Q(a,"__xWelcomeTourRestore",document.activeElement);var e=$APP.F(b),f=$APP.C(e,$APP.ct);e=$APP.C(e,PK);e=zK(e);return $APP.q(e)?$APP.t(e).focus():
|
|
39
|
-
f.focus()},50)}return null},
|
|
39
|
+
f.focus()},50)}return null},gma=function(a){gL.i?gL.i(a):gL.call(null,a);return cL(a)},iL=function(a){var b=vK(a).length;var c=$APP.l(a,"__xWelcomeTourModel");c=$APP.m(c)?c:MK(a);$APP.U(a,"open");b=YJ($APP.Qv.i(c),b)+1;return $APP.Ni(a,"x-welcome-tour-complete",$APP.jn(new $APP.J(null,1,[hL,b],null)))},jL=function(a){var b=$APP.l(a,"__xWelcomeTourModel");b=$APP.m(b)?b:MK(a);var c=vK(a).length;$APP.U(a,"open");b=YJ($APP.Qv.i(b),c);return $APP.Ni(a,"x-welcome-tour-skip",$APP.jn(new $APP.J(null,1,[$APP.Qv,
|
|
40
40
|
b],null)))},lL=function(a){var b=$APP.l(a,"__xWelcomeTourModel");var c=$APP.m(b)?b:MK(a);b=vK(a).length;c=YJ($APP.Qv.i(c),b);if(c>=b-1)return iL(a);b=c+1;return $APP.Pi(a,"x-welcome-tour-step-change",$APP.jn(new $APP.J(null,2,[$APP.Qv,b,kL,c],null)))?($APP.R(a,"step",""+$APP.N.i(b)),a=vK(a),a=wK(a[b]),$APP.m(sK.i(a))?BK(xK($APP.mw.i(a))):null):null},mL=function(a){var b=$APP.l(a,"__xWelcomeTourModel");b=$APP.m(b)?b:MK(a);var c=vK(a).length;c=YJ($APP.Qv.i(b),c);if(c===0)return null;b=c-1;return $APP.Pi(a,
|
|
41
|
-
"x-welcome-tour-step-change",$APP.jn(new $APP.J(null,2,[$APP.Qv,b,kL,c],null)))?($APP.R(a,"step",""+$APP.N.i(b)),a=vK(a),a=wK(a[b]),$APP.m(sK.i(a))?BK(xK($APP.mw.i(a))):null):null},
|
|
42
|
-
a=$APP.F(c);a=$APP.C(a,PK);a=zK(a);if($APP.q(a)){c=$APP.m(c)?bL.i(c).shadowRoot:null;c=$APP.m(c)?c.activeElement:null;c=$APP.m(c)?c:document.activeElement;var d=$APP.t(a);a=$APP.
|
|
41
|
+
"x-welcome-tour-step-change",$APP.jn(new $APP.J(null,2,[$APP.Qv,b,kL,c],null)))?($APP.R(a,"step",""+$APP.N.i(b)),a=vK(a),a=wK(a[b]),$APP.m(sK.i(a))?BK(xK($APP.mw.i(a))):null):null},hma=function(a,b){var c=b.key;if($APP.z.j(c,"Escape"))return b.preventDefault(),b.stopPropagation(),jL(a);if($APP.z.j(c,"ArrowRight")||$APP.z.j(c,"ArrowDown"))return b.preventDefault(),lL(a);if($APP.z.j(c,"ArrowLeft")||$APP.z.j(c,"ArrowUp"))return b.preventDefault(),mL(a);if($APP.z.j(c,"Tab"))a:{c=$APP.l(a,"__xWelcomeTourLayer");
|
|
42
|
+
a=$APP.F(c);a=$APP.C(a,PK);a=zK(a);if($APP.q(a)){c=$APP.m(c)?bL.i(c).shadowRoot:null;c=$APP.m(c)?c.activeElement:null;c=$APP.m(c)?c:document.activeElement;var d=$APP.t(a);a=$APP.Dc(a);var e=b.shiftKey;if($APP.m($APP.m(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();b=d.focus();break a}}b=null}else b=null;return b},eL=function(a){var b=$APP.l(a,"__xWelcomeTourLayer");if($APP.m(b)){var c=bL.i(b).shadowRoot,d=function(v){return hma(a,v)},e=
|
|
43
43
|
function(v){var w=$APP.l(a,"__xWelcomeTourLayer");return $APP.m($APP.m(w)?$APP.z.j(v.target,$APP.su.i(w)):w)?jL(a):null},f=function(){return dL(a)},g=function(){return mL(a)},k=function(){var v=$APP.l(a,"__xWelcomeTourModel");v=$APP.m(v)?v:MK(a);var w=vK(a).length;return YJ($APP.Qv.i(v),w)>=w-1?iL(a):lL(a)},n=function(){return jL(a)},r=new ResizeObserver(function(){return dL(a)});c.addEventListener("keydown",d,!0);c.addEventListener("click",e);window.addEventListener("scroll",f,{passive:!0});window.addEventListener("resize",
|
|
44
|
-
f,{passive:!0});$APP.hq.i(b).addEventListener("click",g);$APP.ct.i(b).addEventListener("click",k);XK.i(b).addEventListener("click",n);r.observe(document.body);$APP.Q(a,"__xWelcomeTourHandlers",new $APP.J(null,7,[$APP.
|
|
44
|
+
f,{passive:!0});$APP.hq.i(b).addEventListener("click",g);$APP.ct.i(b).addEventListener("click",k);XK.i(b).addEventListener("click",n);r.observe(document.body);$APP.Q(a,"__xWelcomeTourHandlers",new $APP.J(null,7,[$APP.gi,d,$APP.dr,e,$APP.yu,f,$APP.cu,g,$APP.Bq,k,$APP.Tu,n,nL,c],null));return $APP.Q(a,"__xWelcomeTourResizeObs",r)}return null},gL=function(a){var b=$APP.l(a,"__xWelcomeTourHandlers");if($APP.m(b)){var c=$APP.F(b);b=$APP.C(c,$APP.gi);var d=$APP.C(c,$APP.dr),e=$APP.C(c,$APP.yu),f=$APP.C(c,
|
|
45
45
|
$APP.cu),g=$APP.C(c,$APP.Bq),k=$APP.C(c,$APP.Tu);c=$APP.C(c,nL);var n=$APP.l(a,"__xWelcomeTourLayer");$APP.m(c)&&(c.removeEventListener("keydown",b,!0),c.removeEventListener("click",d));window.removeEventListener("scroll",e);window.removeEventListener("resize",e);$APP.m(n)&&($APP.hq.i(n).removeEventListener("click",f),$APP.ct.i(n).removeEventListener("click",g),XK.i(n).removeEventListener("click",k))}b=$APP.l(a,"__xWelcomeTourResizeObs");$APP.m(b)&&b.disconnect();b=$APP.l(a,"__xWelcomeTourRaf");$APP.m(b)&&
|
|
46
|
-
cancelAnimationFrame(b);$APP.Q(a,"__xWelcomeTourHandlers",null);$APP.Q(a,"__xWelcomeTourResizeObs",null);return $APP.
|
|
47
|
-
|
|
48
|
-
f:!1}(),e=$APP.Js.i(c);return $APP.m(function(){var f=$APP.p(d);return f?e:f}())?fL(a):$APP.m($APP.m(d)?$APP.p(e):d)?
|
|
49
|
-
b:0))},enumerable:!0,configurable:!0});$APP.Vi(a,"connector","connector","arrow");Object.defineProperty(a,"totalSteps",{get:function(){return vK(this).length},enumerable:!0,configurable:!0});$APP.Vi(a,"prevLabel","prev-label","Back");$APP.Vi(a,"nextLabel","next-label","Next");$APP.Vi(a,"doneLabel","done-label","Done");$APP.Vi(a,"skipLabel","skip-label","Skip");$APP.Si(a,"counter","counter");$APP.Si(a,"dots","dots")},
|
|
50
|
-
"0");$APP.R(this,"open","");return $APP.Ni(this,"x-welcome-tour-start",$APP.jn($APP.
|
|
51
|
-
$APP.Pi(this,"x-welcome-tour-step-change",$APP.jn(new $APP.J(null,2,[$APP.Qv,b,kL,d],null)))?$APP.R(this,"step",""+$APP.N.i(b)):null},writable:!0,configurable:!0});Object.defineProperty(a,"complete",{value:function(){return iL(this)},writable:!0,configurable:!0});return Object.defineProperty(a,"skip",{value:function(){return jL(this)},writable:!0,configurable:!0})},
|
|
52
|
-
return
|
|
46
|
+
cancelAnimationFrame(b);$APP.Q(a,"__xWelcomeTourHandlers",null);$APP.Q(a,"__xWelcomeTourResizeObs",null);return $APP.Bi(a,"__xWelcomeTourRaf",null)},ima=function(a){var b=new MutationObserver(function(){return $APP.m($APP.l(a,"__xWelcomeTourLayer"))?cL(a):null});b.observe(a,{childList:!0});$APP.Q(a,"__xWelcomeTourObserver",b)},kma=function(a){if(!$APP.m($APP.l(a,"__xWelcomeTourRefs"))){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=
|
|
47
|
+
jma;b.appendChild(c);b.appendChild(d);$APP.Q(a,"__xWelcomeTourRefs",new $APP.J(null,1,[$APP.Bl,b],null))}ima(a);b=MK(a);$APP.Q(a,"__xWelcomeTourModel",b);return $APP.m($APP.Js.i(b))?fL(a):null},lma=function(a){gL(a);var b=$APP.l(a,"__xWelcomeTourObserver");$APP.m(b)&&b.disconnect();$APP.Q(a,"__xWelcomeTourObserver",null);b=$APP.l(a,"__xWelcomeTourLayer");$APP.m(b)&&($APP.nl(bL.i(b)),$APP.Q(a,"__xWelcomeTourLayer",null));return AK(a)},mma=function(a,b,c){var d=function(){var f=$APP.Js.i(b);return $APP.m(f)?
|
|
48
|
+
f:!1}(),e=$APP.Js.i(c);return $APP.m(function(){var f=$APP.p(d);return f?e:f}())?fL(a):$APP.m($APP.m(d)?$APP.p(e):d)?gma(a):$APP.m(e)?cL(a):$APP.Q(a,"__xWelcomeTourModel",c)},nma=function(a,b,c,d){b=$APP.K.j(c,d);return $APP.m(b?a.isConnected:b)?(b=$APP.l(a,"__xWelcomeTourModel"),c=MK(a),$APP.K.j(b,c)?mma(a,b,c):null):null},oma=function(a){$APP.Si(a,"open","open");Object.defineProperty(a,"step",{get:function(){return XJ($APP.V.j(this,"step"))},set:function(b){return $APP.R(this,"step",""+$APP.N.i($APP.m(b)?
|
|
49
|
+
b:0))},enumerable:!0,configurable:!0});$APP.Vi(a,"connector","connector","arrow");Object.defineProperty(a,"totalSteps",{get:function(){return vK(this).length},enumerable:!0,configurable:!0});$APP.Vi(a,"prevLabel","prev-label","Back");$APP.Vi(a,"nextLabel","next-label","Next");$APP.Vi(a,"doneLabel","done-label","Done");$APP.Vi(a,"skipLabel","skip-label","Skip");$APP.Si(a,"counter","counter");$APP.Si(a,"dots","dots")},pma=function(a){Object.defineProperty(a,"start",{value:function(){$APP.R(this,"step",
|
|
50
|
+
"0");$APP.R(this,"open","");return $APP.Ni(this,"x-welcome-tour-start",$APP.jn($APP.ge))},writable:!0,configurable:!0});Object.defineProperty(a,"next",{value:function(){return lL(this)},writable:!0,configurable:!0});Object.defineProperty(a,"prev",{value:function(){return mL(this)},writable:!0,configurable:!0});Object.defineProperty(a,"goTo",{value:function(b){var c=$APP.l(this,"__xWelcomeTourModel");var d=$APP.m(c)?c:MK(this);c=vK(this).length;d=YJ($APP.Qv.i(d),c);b=YJ(b,c);return $APP.K.j(d,b)&&
|
|
51
|
+
$APP.Pi(this,"x-welcome-tour-step-change",$APP.jn(new $APP.J(null,2,[$APP.Qv,b,kL,d],null)))?$APP.R(this,"step",""+$APP.N.i(b)):null},writable:!0,configurable:!0});Object.defineProperty(a,"complete",{value:function(){return iL(this)},writable:!0,configurable:!0});return Object.defineProperty(a,"skip",{value:function(){return jL(this)},writable:!0,configurable:!0})},rma=function(){return $APP.Fj("x-welcome-tour",new $APP.J(null,5,[$APP.Ej,qma,$APP.Cj,kma,$APP.zj,lma,$APP.kj,nma,$APP.Dj,function(a){oma(a);
|
|
52
|
+
return pma(a)}],null))},oL=function(a){var b=tK(new $APP.J(null,7,[$APP.Jr,$APP.V.j(a,"target"),$APP.Rq,$APP.V.j(a,"title"),$APP.pw,$APP.V.j(a,"placement"),$APP.At,$APP.V.j(a,"connector"),nK,$APP.V.j(a,"cutout-padding"),oK,$APP.V.j(a,"cutout-radius"),pK,$APP.m(a.hasAttribute("scroll-to"))?$APP.V.j(a,"scroll-to"):null],null));return $APP.Q(a,"__xWelcomeTourStepModel",b)},sma=function(a){Object.defineProperty(a,"target",{get:function(){var b=$APP.V.j(this,"target");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?
|
|
53
53
|
$APP.K.j(b,""):b)?$APP.R(this,"target",""+$APP.N.i(b)):$APP.U(this,"target")},enumerable:!0,configurable:!0});Object.defineProperty(a,"title",{get:function(){var b=$APP.V.j(this,"title");return $APP.m(b)?b:""},set:function(b){return $APP.m($APP.m(b)?$APP.K.j(b,""):b)?$APP.R(this,"title",""+$APP.N.i(b)):$APP.U(this,"title")},enumerable:!0,configurable:!0});$APP.Vi(a,"placement","placement","bottom");$APP.Wi(a,"connector","connector");$APP.Yi(a,"cutoutPadding","cutout-padding",kK);$APP.Yi(a,"cutoutRadius",
|
|
54
|
-
"cutout-radius",lK);return Object.defineProperty(a,"scrollTo",{get:function(){return mK($APP.m(this.hasAttribute("scroll-to"))?$APP.V.j(this,"scroll-to"):null)},set:function(b){return $APP.m(b)?$APP.R(this,"scroll-to",""):$APP.R(this,"scroll-to","false")},enumerable:!0,configurable:!0})},pL=function(a){if(!$APP.
|
|
55
|
-
b.appendChild(d);$APP.
|
|
54
|
+
"cutout-radius",lK);return Object.defineProperty(a,"scrollTo",{get:function(){return mK($APP.m(this.hasAttribute("scroll-to"))?$APP.V.j(this,"scroll-to"):null)},set:function(b){return $APP.m(b)?$APP.R(this,"scroll-to",""):$APP.R(this,"scroll-to","false")},enumerable:!0,configurable:!0})},pL=function(a){if(!$APP.si(a,"__xWelcomeTourStepInitialized")){var b=a.attachShadow({mode:"open"}),c=document.createElement("style"),d=document.createElement("slot");c.textContent=":host{display:none;}";b.appendChild(c);
|
|
55
|
+
b.appendChild(d);$APP.ti(a,"__xWelcomeTourStepInitialized")}oL(a);return $APP.Ni(a,"x-welcome-tour-step-connected",{})},tma=function(){return WJ()},uma=function(a){WJ();return pL(a)},vma=function(a,b,c,d){return $APP.K.j(c,d)?oL(a):null},qL=function(){$APP.Fj("x-welcome-tour-step",new $APP.J(null,6,[$APP.Ej,wma,$APP.Cj,pL,$APP.zj,tma,$APP.ij,uma,$APP.kj,vma,$APP.Dj,sma],null));return rma()},EK=new $APP.E(null,"done-label-raw","done-label-raw",1022925613),rK=new $APP.E(null,"cutout-radius","cutout-radius",
|
|
56
56
|
-1889150005),JK=new $APP.E(null,"skip-label","skip-label",-1497552511),nK=new $APP.E(null,"cutout-padding-raw","cutout-padding-raw",1242999121),DK=new $APP.E(null,"counter?","counter?",-1490890073),aK=new $APP.E(null,"target-point","target-point",1084476807),iK=new $APP.E(null,"border-left-color","border-left-color",-1166146583),$K=new $APP.E(null,"conn-svg","conn-svg",-2008050391),SK=new $APP.E(null,"final-pl","final-pl",-1199356373),QK=new $APP.E(null,"target-rect","target-rect",1131599508),hK=
|
|
57
57
|
new $APP.E(null,"margin-top","margin-top",392161226),bL=new $APP.E(null,"layer","layer",-1601820589),jK=new $APP.E(null,"border-right-color","border-right-color",2017953775),qK=new $APP.E(null,"cutout-padding","cutout-padding",1623255682),TK=new $APP.E(null,"popover-rect","popover-rect",585900438),nL=new $APP.E(null,"shadow","shadow",873231803),NK=new $APP.E(null,"raw-w","raw-w",-1426274911),OK=new $APP.E(null,"raw-h","raw-h",-478400948),LK=new $APP.E(null,"done-label","done-label",2036600942),$J=
|
|
58
58
|
new $APP.E(null,"ry","ry",-334598563),ZJ=new $APP.E(null,"rx","rx",1627208482),WK=new $APP.E(null,"counter-el","counter-el",-1722624952),KK=new $APP.E(null,"prev-label","prev-label",-1633827735),gK=new $APP.E(null,"right","right",-452581833),UK=new $APP.E(null,"mask-cut","mask-cut",-1027017197),hL=new $APP.E(null,"stepsCompleted","stepsCompleted",-1195441854),CK=new $APP.E(null,"skip-label-raw","skip-label-raw",-1113162074),kL=new $APP.E(null,"previousStep","previousStep",179909093),sK=new $APP.E(null,
|
|
59
59
|
"scroll-to?","scroll-to?",-115048698),FK=new $APP.E(null,"next-label-raw","next-label-raw",128708305),eK=new $APP.E(null,"border-bottom-color","border-bottom-color",-208763333),GK=new $APP.E(null,"prev-label-raw","prev-label-raw",-1005526116),oK=new $APP.E(null,"cutout-radius-raw","cutout-radius-raw",-612633502),aL=new $APP.E(null,"conn-path","conn-path",-244598641),fK=new $APP.E(null,"border-top-color","border-top-color",-804629899),PK=new $APP.E(null,"popover","popover",-1809582136),YK=new $APP.E(null,
|
|
60
|
-
"dots-el","dots-el",1811278312),IK=new $APP.E(null,"next-label","next-label",1724045248),VK=new $APP.E(null,"glow","glow",216329469),pK=new $APP.E(null,"scroll-to-raw","scroll-to-raw",1123777559),bK=new $APP.E(null,"popover-point","popover-point",-1343008173),dK=new $APP.E(null,"margin-left","margin-left",2015598377),ZK=new $APP.E(null,"arrow-el","arrow-el",-968525162),RK=new $APP.E(null,"cutout","cutout",499090309),XK=new $APP.E(null,"close-btn","close-btn",-1639164196);var
|
|
61
|
-
$APP.
|
|
60
|
+
"dots-el","dots-el",1811278312),IK=new $APP.E(null,"next-label","next-label",1724045248),VK=new $APP.E(null,"glow","glow",216329469),pK=new $APP.E(null,"scroll-to-raw","scroll-to-raw",1123777559),bK=new $APP.E(null,"popover-point","popover-point",-1343008173),dK=new $APP.E(null,"margin-left","margin-left",2015598377),ZK=new $APP.E(null,"arrow-el","arrow-el",-968525162),RK=new $APP.E(null,"cutout","cutout",499090309),XK=new $APP.E(null,"close-btn","close-btn",-1639164196);var qma="open step connector prev-label next-label done-label skip-label counter dots".split(" "),HK=new $APP.Tg(null,new $APP.J(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);
|
|
61
|
+
$APP.tg([$APP.pt,$APP.Ev,new $APP.E(null,"prevLabel","prevLabel",-1710466271),new $APP.E(null,"nextLabel","nextLabel",-1506210545),new $APP.E(null,"counter","counter",804008177),new $APP.E(null,"totalSteps","totalSteps",-1980211791),new $APP.E(null,"doneLabel","doneLabel",849728698),new $APP.E(null,"skipLabel","skipLabel",-1410174917),$APP.Mu,$APP.Qv],[new $APP.J(null,3,[$APP.O,$APP.X,$APP.W,"connector",$APP.Uu,HK],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.W,"open"],null),new $APP.J(null,2,[$APP.O,
|
|
62
62
|
$APP.X,$APP.W,"prev-label"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"next-label"],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.W,"counter"],null),new $APP.J(null,2,[$APP.O,$APP.Y,$APP.Zi,!0],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"done-label"],null),new $APP.J(null,2,[$APP.O,$APP.X,$APP.W,"skip-label"],null),new $APP.J(null,2,[$APP.O,$APP.$i,$APP.W,"dots"],null),new $APP.J(null,2,[$APP.O,$APP.Y,$APP.W,"step"],null)]);
|
|
63
|
-
$APP.
|
|
64
|
-
$APP.
|
|
63
|
+
$APP.fe(["x-welcome-tour-start",new $APP.J(null,2,[$APP.Ki,$APP.ge,$APP.fs,!1],null),"x-welcome-tour-step-change",new $APP.J(null,3,[$APP.fs,!0,$APP.et,$APP.fe(["step",$APP.Qv]),$APP.Ki,new $APP.J(null,2,[$APP.Qv,$APP.Y,kL,$APP.Y],null)],null),"x-welcome-tour-complete",new $APP.J(null,2,[$APP.Ki,new $APP.J(null,1,[hL,$APP.Y],null),$APP.fs,!1],null),"x-welcome-tour-skip",new $APP.J(null,2,[$APP.Ki,new $APP.J(null,1,[$APP.Qv,$APP.Y],null),$APP.fs,!1],null)]);var wma="target title placement connector cutout-padding cutout-radius scroll-to".split(" "),bma=new $APP.Tg(null,new $APP.J(null,8,["right",null,"top",null,"bottom-start",null,"bottom-end",null,"top-end",null,"top-start",null,"bottom",null,"left",null],null),null),cma=new $APP.Tg(null,new $APP.J(null,4,["none",null,"curve",null,"arrow",null,"line",null],null),null);
|
|
64
|
+
$APP.fe(["x-welcome-tour-step-connected",new $APP.J(null,2,[$APP.Ki,$APP.ge,$APP.fs,!1],null),"x-welcome-tour-step-disconnected",new $APP.J(null,2,[$APP.Ki,$APP.ge,$APP.fs,!1],null)]);var jma=":host{display:contents;}"+$APP.N.i(":host([hidden]){display:none;}"),fma=new $APP.J(null,6,[$APP.ov,-9999,$APP.nv,-9999,$APP.to,0,$APP.uo,0,ZJ,0,$J,0],null);$APP.ea("baredom.exports.x_welcome_tour.init",qL);export const init=qL;
|
package/package.json
CHANGED
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
"bugs": {
|
|
612
612
|
"url": "https://github.com/avanelsas/baredom/issues"
|
|
613
613
|
},
|
|
614
|
-
"version": "4.10.
|
|
614
|
+
"version": "4.10.1",
|
|
615
615
|
"sideEffects": [
|
|
616
616
|
"./dist/*.js"
|
|
617
617
|
],
|
|
@@ -620,6 +620,7 @@
|
|
|
620
620
|
"clean": "rm -rf dist .shadow-cljs",
|
|
621
621
|
"build": "npm run clean && npx shadow-cljs release lib && bb scripts/generate_types.bb && bb scripts/generate_all.bb && ./scripts/generate-integrity.sh",
|
|
622
622
|
"build:demo": "npx shadow-cljs release demo",
|
|
623
|
+
"build:holes": "npx shadow-cljs release holes",
|
|
623
624
|
"pack:local": "npm pack",
|
|
624
625
|
"test": "npx shadow-cljs compile test-karma && npx karma start karma.conf.cjs --single-run",
|
|
625
626
|
"test:types": "npx tsc -p test/types/tsconfig.json",
|