index-legacy-253b24b3.js 20 KB

1
  1. System.register(["./index-legacy-66809900.js"],(function(e,t){"use strict";var n,o,r,i,a,s,l,c,f,p,u,d,v,m,h,y,b,g,w,O,x,S,j,k,C,E,P,A,L,M,q,D,R,T,B,I,W,z,H;return{setters:[e=>{n=e.l,o=e.w,r=e.b6,i=e.d,a=e.c,s=e.bk,l=e.ar,c=e.M,f=e.h,p=e.C,u=e.bj,d=e.bi,v=e.F,m=e.bc,h=e.bl,y=e.b9,b=e.bf,g=e.ba,w=e.aE,O=e.bm,x=e.bd,S=e.I,j=e.bn,k=e.bb,C=e.bo,E=e.bp,P=e.bq,A=e.br,L=e.bs,M=e.bt,q=e.a4,D=e.bu,R=e.bv,T=e.as,B=e.bw,I=e.bx,W=e.n,z=e.m,H=e.U}],execute:function(){function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function U(e){return e instanceof t(e).Element||e instanceof Element}function V(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function F(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var N=Math.round;function $(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function X(e,n,o){void 0===n&&(n=!1),void 0===o&&(o=!1);var r=e.getBoundingClientRect(),i=1,a=1;n&&V(e)&&(i=e.offsetWidth>0&&N(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&N(r.height)/e.offsetHeight||1);var s=(U(e)?t(e):window).visualViewport,l=!!/^((?!chrome|android).)*safari/i.test($())&&o,c=(r.left+(l&&s?s.offsetLeft:0))/i,f=(r.top+(l&&s?s.offsetTop:0))/a,p=r.width/i,u=r.height/a;return{width:p,height:u,top:f,right:c+p,bottom:f+u,left:c,x:c,y:f}}function Y(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function J(e){return e?(e.nodeName||"").toLowerCase():null}function G(e){return((U(e)?e.ownerDocument:e.document)||window.document).documentElement}function K(e){return t(e).getComputedStyle(e)}function Q(e){var t=K(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Z(e,n,o){void 0===o&&(o=!1);var r,i,a=V(n),s=V(n)&&function(e){var t=e.getBoundingClientRect(),n=N(t.width)/e.offsetWidth||1,o=N(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(n),l=G(n),c=X(e,s,o),f={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(a||!a&&!o)&&(("body"!==J(n)||Q(l))&&(f=(r=n)!==t(r)&&V(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Y(r)),V(n)?((p=X(n,!0)).x+=n.clientLeft,p.y+=n.clientTop):l&&(p.x=function(e){return X(G(e)).left+Y(e).scrollLeft}(l))),{x:c.left+f.scrollLeft-p.x,y:c.top+f.scrollTop-p.y,width:c.width,height:c.height}}function _(e){return"html"===J(e)?e:e.assignedSlot||e.parentNode||(F(e)?e.host:null)||G(e)}function ee(e){return["html","body","#document"].indexOf(J(e))>=0?e.ownerDocument.body:V(e)&&Q(e)?e:ee(_(e))}function te(e,n){var o;void 0===n&&(n=[]);var r=ee(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=t(r),s=i?[a].concat(a.visualViewport||[],Q(r)?r:[]):r,l=n.concat(s);return i?l:l.concat(te(_(s)))}function ne(e){return["table","td","th"].indexOf(J(e))>=0}function oe(e){return V(e)&&"fixed"!==K(e).position?e.offsetParent:null}function re(e){for(var n=t(e),o=oe(e);o&&ne(o)&&"static"===K(o).position;)o=oe(o);return o&&("html"===J(o)||"body"===J(o)&&"static"===K(o).position)?n:o||function(e){var t=/firefox/i.test($());if(/Trident/i.test($())&&V(e)&&"fixed"===K(e).position)return null;var n=_(e);for(F(n)&&(n=n.host);V(n)&&["html","body"].indexOf(J(n))<0;){var o=K(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||n}var ie="top",ae="bottom",se="right",le="left",ce="auto",fe="start",pe="end",ue=[].concat([ie,ae,se,le],[ce]).reduce((function(e,t){return e.concat([t,t+"-"+fe,t+"-"+pe])}),[]),de=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ve(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}function me(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var he='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',ye='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',be=["name","enabled","phase","fn","effect","requires","options"];function ge(e){return e.split("-")[0]}function we(e){return e.split("-")[1]}var Oe="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function je(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?xe:r;return function(e,t,n){void 0===n&&(n=i);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,f={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,r),s.scrollParents={reference:U(e)?te(e):e.contextElement?te(e.contextElement):[],popper:te(t)};var a=function(e){var t=ve(e);return de.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(o,s.options.modifiers)));s.orderedModifiers=a.filter((function(e){return e.enabled})),function(e){e.forEach((function(t){[].concat(Object.keys(t),be).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(me(he,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(me(he,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":de.indexOf(t.phase)<0&&console.error(me(he,t.name,'"phase"',"either "+de.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(me(he,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(me(he,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(me(he,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(me(he,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+be.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(me(ye,String(t.name),n,n))}))}))}))}((c=[].concat(a,s.options.modifiers),u=function(e){return e.name},d=new Set,c.filter((function(e){var t=u(e);if(!d.has(t))return d.add(t),!0})))),ge(s.options.placement)===ce&&(s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var c,u,d,v=K(t);return[v.marginTop,v.marginRight,v.marginBottom,v.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:s,name:t,instance:f,options:o}),a=function(){};l.push(i||a)}})),f.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Se(t,n)){var o,r,i,a;s.rects={reference:Z(t,re(n),"fixed"===s.options.strategy),popper:(o=n,r=X(o),i=o.offsetWidth,a=o.offsetHeight,Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:o.offsetLeft,y:o.offsetTop,width:i,height:a})},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var l=0,p=0;p<s.orderedModifiers.length;p++){if((l+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var u=s.orderedModifiers[p],d=u.fn,v=u.options,m=void 0===v?{}:v,h=u.name;"function"==typeof d&&(s=d({state:s,options:m,name:h,instance:f})||s)}else s.reset=!1,p=-1}}else console.error(Oe)}},update:(r=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){p(),c=!0}};if(!Se(e,t))return console.error(Oe),f;function p(){l.forEach((function(e){return e()})),l=[]}return f.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var ke={passive:!0},Ce={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,o=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,s=r.resize,l=void 0===s||s,c=t(n.elements.popper),f=[].concat(n.scrollParents.reference,n.scrollParents.popper);return a&&f.forEach((function(e){e.addEventListener("scroll",o.update,ke)})),l&&c.addEventListener("resize",o.update,ke),function(){a&&f.forEach((function(e){e.removeEventListener("scroll",o.update,ke)})),l&&c.removeEventListener("resize",o.update,ke)}},data:{}},Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=function(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?ge(r):null,a=r?we(r):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(i){case ie:t={x:s,y:n.y-o.height};break;case ae:t={x:s,y:n.y+n.height};break;case se:t={x:n.x+n.width,y:l};break;case le:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}(i):null;if(null!=c){var f="y"===c?"height":"width";switch(a){case fe:t[c]=t[c]-(n[f]/2-o[f]/2);break;case pe:t[c]=t[c]+(n[f]/2-o[f]/2)}}return t}({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Pe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ae(e){var n,o=e.popper,r=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,u=e.isFixed,d=s.x,v=void 0===d?0:d,m=s.y,h=void 0===m?0:m,y="function"==typeof p?p({x:v,y:h}):{x:v,y:h};v=y.x,h=y.y;var b=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),w=le,O=ie,x=window;if(f){var S=re(o),j="clientHeight",k="clientWidth";S===t(o)&&"static"!==K(S=G(o)).position&&"absolute"===l&&(j="scrollHeight",k="scrollWidth"),(i===ie||(i===le||i===se)&&a===pe)&&(O=ae,h-=(u&&S===x&&x.visualViewport?x.visualViewport.height:S[j])-r.height,h*=c?1:-1),i!==le&&(i!==ie&&i!==ae||a!==pe)||(w=se,v-=(u&&S===x&&x.visualViewport?x.visualViewport.width:S[k])-r.width,v*=c?1:-1)}var C,E=Object.assign({position:l},f&&Pe),P=!0===p?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:N(t*o)/o||0,y:N(n*o)/o||0}}({x:v,y:h}):{x:v,y:h};return v=P.x,h=P.y,c?Object.assign({},E,((C={})[O]=g?"0":"",C[w]=b?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+v+"px, "+h+"px)":"translate3d("+v+"px, "+h+"px, 0)",C)):Object.assign({},E,((n={})[O]=g?h+"px":"",n[w]=b?v+"px":"",n.transform="",n))}var Le={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c=K(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var f={placement:ge(t.placement),variation:we(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ae(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ae(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Me={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];V(r)&&J(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});V(o)&&J(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},qe=je({defaultModifiers:[Ce,Ee,Le,Me]}),De={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=ue.reduce((function(e,n){return e[n]=function(e,t,n){var o=ge(e),r=[le,ie].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[le,se].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}};const[Re,Te]=r("popover"),Be=["overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],Ie={show:Boolean,theme:m("light"),overlay:Boolean,actions:h(),trigger:m("click"),duration:y,showArrow:b,placement:m("bottom"),iconPrefix:String,overlayClass:g,overlayStyle:Object,closeOnClickAction:b,closeOnClickOverlay:b,closeOnClickOutside:b,offset:{type:Array,default:()=>[0,8]},teleport:{type:[String,Object],default:"body"}};var We=i({name:Re,props:Ie,emits:["select","touchstart","update:show"],setup(e,{emit:t,slots:r,attrs:i}){let m;const h=n(),y=n(),b=n(),g=((e,t)=>{const r=n(e());return o(e,(e=>{e!==r.value&&(r.value=e)})),o(r,(n=>{n!==e()&&t(n)})),r})((()=>e.show),(e=>t("update:show",e))),k=()=>({placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},x({},De,{options:{offset:e.offset}})]}),C=()=>{w((()=>{g.value&&(m?m.setOptions(k()):(m=y.value&&b.value?qe(y.value,b.value.popupRef.value,k()):null,O&&(window.addEventListener("animationend",C),window.addEventListener("transitionend",C))))}))},E=e=>{g.value=e},P=()=>{"click"===e.trigger&&(g.value=!g.value)},A=(t,n)=>r.action?r.action({action:t,index:n}):[t.icon&&f(S,{name:t.icon,classPrefix:e.iconPrefix,class:Te("action-icon")},null),f("div",{class:[Te("action-text"),j]},[t.text])],L=(n,o)=>{const{icon:r,color:i,disabled:a,className:s}=n;return f("div",{role:"menuitem",class:[Te("action",{disabled:a,"with-icon":r}),s],style:{color:i},tabindex:a?void 0:0,"aria-disabled":a||void 0,onClick:()=>((n,o)=>{n.disabled||(t("select",n,o),e.closeOnClickAction&&(g.value=!1))})(n,o)},[A(n,o)])};return a((()=>{C(),s((()=>{var e;h.value=null==(e=b.value)?void 0:e.popupRef.value}))})),l((()=>{m&&(O&&(window.removeEventListener("animationend",C),window.removeEventListener("transitionend",C)),m.destroy(),m=null)})),o((()=>[g.value,e.offset,e.placement]),C),c([y,h],(()=>{g.value&&e.closeOnClickOutside&&(!e.overlay||e.closeOnClickOverlay)&&(g.value=!1)}),{eventName:"touchstart"}),()=>{var t;return f(v,null,[f("span",{ref:y,class:Te("wrapper"),onClick:P},[null==(t=r.reference)?void 0:t.call(r)]),f(p,u({ref:b,show:g.value,class:Te([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":E},i,d(e,Be)),{default:()=>[e.showArrow&&f("div",{class:Te("arrow")},null),f("div",{role:"menu",class:Te("content")},[r.default?r.default():e.actions.map(L)])]})])}}});e("P",k(We));var ze={show:{type:Boolean,default:!1},position:{type:String,default:"center",validator:function(e){return["top","bottom","right","left","center"].includes(e)}},transition:{type:String},overlay:{type:Boolean,default:!0},overlayClass:{type:String},overlayStyle:{type:Object},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},defaultStyle:{type:Boolean,default:!0},teleport:{type:String},onOpen:C(),onOpened:C(),onClose:C(),onClosed:C(),onClickOverlay:C(),"onUpdate:show":C(),onRouteChange:C()};function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},He.apply(this,arguments)}var{n:Ue,classes:Ve}=B("popup");const Fe=e("a",i({name:"VarPopup",inheritAttrs:!1,props:ze,setup(e,t){var{slots:n,attrs:r}=t,{zIndex:i}=E((()=>e.show),3),{disabled:a}=P(),s=()=>{var{closeOnClickOverlay:t,onClickOverlay:n}=e;D(n),t&&D(e["onUpdate:show"],!1)};A((()=>e.show),(()=>e.lockScroll)),o((()=>e.show),(t=>{D(t?e.onOpen:e.onClose)})),L((()=>D(e.onRouteChange)));var l=()=>{var{overlayClass:t="",overlayStyle:n}=e;return f("div",{class:Ve(Ue("overlay"),t),style:He({zIndex:i.value-1},n),onClick:s},null)},c=()=>{var{onOpened:t,onClosed:o,show:a,overlay:s,transition:c,position:p}=e;return f(T,{name:Ue("$-fade"),onAfterEnter:t,onAfterLeave:o},{default:()=>[R(f("div",{class:Ve(Ue("$--box"),Ue()),style:{zIndex:i.value-2}},[s&&l(),f(T,{name:c||Ue("$-pop-"+p)},{default:()=>[a&&f("div",u({class:Ve(Ue("content"),Ue("--"+e.position),[e.defaultStyle,Ue("--content-background-color")],[e.defaultStyle,Ue("$-elevation--3")]),style:{zIndex:i.value}},r),[D(n.default)])]})]),[[I,a]])]})};return()=>{var t,n,{teleport:o}=e;return o?f(M,{to:o,disabled:a.value},"function"==typeof(n=t=c())||"[object Object]"===Object.prototype.toString.call(n)&&!q(n)?t:{default:()=>[t]}):c()}}}));Fe.install=function(e){e.component(Fe.name,Fe)},e("M",i({name:"measureSpeed",setup(){const e=n(!1),t=W({speed:z.speed,originSpeed:z.originSpeed});return o((()=>z.section.length),(()=>{if("practise"===z.modeType){if(!e.value&&2===z.section.length){e.value=!0,t.speed=z.speed;const n=z.section[0].beatSpeed;z.originSpeed=n,H(n)}e.value&&0===z.section.length&&(e.value=!1,z.originSpeed=t.originSpeed,H(t.speed))}})),()=>f("div",null,null)}}))}}}));