vant/static/js/async/7570.78ee25d4.js
2024-04-20 08:49:23 +00:00

2 lines
17 KiB
JavaScript

/*! For license information please see 7570.78ee25d4.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([["7570"],{5828:function(t,e,r){"use strict";r.r(e);var n=r("45588");r("47204");let o=n.Z;e.default=o},45588:function(t,e,r){"use strict";var n=r("80681"),o=r("11848"),a=r("57122"),i=r("28899"),l=r("99497"),u=r("54369"),c=r("89959"),s=r("6918"),d={style:{}},v={style:{"margin-top":"10px"}},f={style:{"margin-top":"10px"}},m={style:{"margin-top":"10px"}},p={style:{"margin-top":"10px"}};e.Z=(0,n.aZ)({__name:"index",setup(t){var e=(0,u.q)({"zh-CN":{direction:"\u8BBE\u7F6E\u7FFB\u6EDA\u65B9\u5411",stopOrder:"\u8BBE\u7F6E\u5404\u6570\u4F4D\u505C\u6B62\u987A\u5E8F",rollDown:"\u5411\u4E0B\u7FFB\u6EDA",rollUp:"\u5411\u4E0A\u7FFB\u6EDA",stopFrom:"\u4ECE\u4E2A\u4F4D\u505C\u6B62",manualControl:"\u624B\u52A8\u63A7\u5236",customStyle:"\u81EA\u5B9A\u4E49\u6837\u5F0F",noNumberType:"\u7FFB\u8F6C\u975E\u6570\u5B57\u5185\u5BB9",start:"\u5F00\u59CB",reset:"\u91CD\u7F6E"},"en-US":{direction:"Set Rolling Direction",stopOrder:"Set Stop Order",rollDown:"Roll Down",rollUp:"Roll Up",stopFrom:"Right Side Stop First",manualControl:"Manual Control",customStyle:"Custom Style",noNumberType:"Roll Non-numeric Text",start:"Start",reset:"Reset"}}),r=(0,o.iH)(!1),g=(0,o.iH)(!1),S=(0,o.iH)(!1),y=(0,o.iH)(!1),h=(0,o.iH)(!1),b=(0,o.iH)(["aaaaa","bbbbb","ccccc","ddddd","eeeee","fffff","ggggg"]),x=(0,o.iH)(),Z=()=>{var t;null===(t=x.value)||void 0===t||t.start()},W=()=>{var t;null===(t=x.value)||void 0===t||t.reset()};return(t,u)=>{var P=(0,n.up)("demo-block");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(P,{title:(0,o.SU)(e)("basicUsage")},{default:(0,n.w5)(()=>[(0,n._)("div",d,[(0,n.Wm)((0,o.SU)(i.ZP),{"start-num":0,"target-num":123,"auto-start":r.value},null,8,["auto-start"]),(0,n._)("div",v,[(0,n.Wm)((0,o.SU)(l.ZP),{onClick:u[0]||(u[0]=()=>r.value=!0),type:"primary"},{default:(0,n.w5)(()=>[(0,n.Uk)((0,a.zw)((0,o.SU)(e)("rollDown")),1)]),_:1})])])]),_:1},8,["title"]),(0,n.Wm)(P,{title:(0,o.SU)(e)("direction")},{default:(0,n.w5)(()=>[(0,n._)("div",null,[(0,n.Wm)((0,o.SU)(i.ZP),{"start-num":0,"target-num":432,"auto-start":g.value,direction:"up"},null,8,["auto-start"]),(0,n._)("div",f,[(0,n.Wm)((0,o.SU)(l.ZP),{onClick:u[1]||(u[1]=()=>g.value=!0),type:"primary"},{default:(0,n.w5)(()=>[(0,n.Uk)((0,a.zw)((0,o.SU)(e)("rollUp")),1)]),_:1})])])]),_:1},8,["title"]),(0,n.Wm)(P,{title:(0,o.SU)(e)("stopOrder")},{default:(0,n.w5)(()=>[(0,n._)("div",null,[(0,n.Wm)((0,o.SU)(i.ZP),{"start-num":0,"target-num":54321,"auto-start":S.value,"stop-order":"rtl"},null,8,["auto-start"]),(0,n._)("div",m,[(0,n.Wm)((0,o.SU)(l.ZP),{onClick:u[2]||(u[2]=()=>S.value=!0),type:"primary"},{default:(0,n.w5)(()=>[(0,n.Uk)((0,a.zw)((0,o.SU)(e)("stopFrom")),1)]),_:1})])])]),_:1},8,["title"]),(0,n.Wm)(P,{title:(0,o.SU)(e)("noNumberType")},{default:(0,n.w5)(()=>[(0,n._)("div",null,[(0,n.Wm)((0,o.SU)(i.ZP),{"text-list":b.value,duration:1,"auto-start":h.value},null,8,["text-list","auto-start"]),(0,n._)("div",p,[(0,n.Wm)((0,o.SU)(l.ZP),{onClick:u[3]||(u[3]=()=>h.value=!0),type:"primary"},{default:(0,n.w5)(()=>[(0,n.Uk)((0,a.zw)((0,o.SU)(e)("start")),1)]),_:1})])])]),_:1},8,["title"]),(0,n.Wm)(P,{title:(0,o.SU)(e)("customStyle")},{default:(0,n.w5)(()=>[(0,n._)("div",null,[(0,n.Wm)((0,o.SU)(i.ZP),{class:"my-rolling-text","start-num":12345,"target-num":54321,"auto-start":y.value,height:54},null,8,["auto-start"])])]),_:1},8,["title"]),(0,n.Wm)(P,{title:(0,o.SU)(e)("manualControl")},{default:(0,n.w5)(()=>[(0,n._)("div",null,[(0,n.Wm)((0,o.SU)(i.ZP),{class:"my-rolling-text",ref_key:"rollingTextRef",ref:x,"start-num":0,"target-num":54321,"auto-start":!1,height:54},null,512),(0,n.Wm)((0,o.SU)(c.ZP),{clickable:"","column-num":2,style:{"margin-top":"10px"}},{default:(0,n.w5)(()=>[(0,n.Wm)((0,o.SU)(s.ZP),{icon:"play-circle-o",text:(0,o.SU)(e)("start"),onClick:Z},null,8,["text"]),(0,n.Wm)((0,o.SU)(s.ZP),{icon:"replay",text:(0,o.SU)(e)("reset"),onClick:W},null,8,["text"])]),_:1})])]),_:1},8,["title"])],64)}}})},72555:function(t,e,r){"use strict";r.d(e,{Ct:function(){return a}});var n=r("63112"),o=r("63022"),a=(0,n.n)(o.Z);e.ZP=a},99497:function(t,e,r){"use strict";r.d(e,{zx:function(){return a}});var n=r("63112"),o=r("14314"),a=(0,n.n)(o.Z);e.ZP=a},10023:function(t,e,r){"use strict";r.d(e,{F:function(){return a}});var n=r("80681"),o=r("12308");function a(t){var e=(0,n.FN)();e&&(0,o.l7)(e.proxy,t)}},14517:function(t,e,r){"use strict";r.d(e,{H:function(){return a},t:function(){return o}});var n=2e3,o=()=>++n,a=t=>{n=t}},6149:function(t,e,r){"use strict";r.d(e,{BC:function(){return a},g2:function(){return o},yj:function(){return i}}),r("56115"),r("59644");var n=r("80681"),o={to:[String,Object],url:String,replace:Boolean};function a(t){var{to:e,url:r,replace:n,$router:o}=t;e&&o?o[n?"replace":"push"](e):r&&(n?location.replace(r):location.href=r)}function i(){var t=(0,n.FN)().proxy;return()=>a(t)}},6918:function(t,e,r){"use strict";var n=r("63112"),o=r("49605"),a=(0,n.n)(o.Z);e.ZP=a},89959:function(t,e,r){"use strict";var n=r("63112"),o=r("69014"),a=(0,n.n)(o.ZP);e.ZP=a},96528:function(t,e,r){"use strict";r.d(e,{JO:function(){return a}});var n=r("63112"),o=r("28779"),a=(0,n.n)(o.Z);e.ZP=a},95786:function(t,e,r){"use strict";r.d(e,{gb:function(){return a}});var n=r("63112"),o=r("2309"),a=(0,n.n)(o.Z);e.ZP=a},28899:function(t,e,r){"use strict";var n=r("63112"),o=r("16373"),a=(0,n.n)(o.Z);e.ZP=a},8051:function(t,e,r){"use strict";r.d(e,{Cp:function(){return f},T5:function(){return n},WN:function(){return v},_K:function(){return u},a8:function(){return a},dt:function(){return i},e9:function(){return d},k7:function(){return o},mH:function(){return m},pj:function(){return s},r5:function(){return c},xe:function(){return l}}),r("86795");var n="van-hairline",o="".concat(n,"--top"),a="".concat(n,"--left"),i="".concat(n,"--right"),l="".concat(n,"--bottom"),u="".concat(n,"--surround"),c="".concat(n,"--top-bottom"),s="".concat(n,"-unset--top-bottom"),d="van-haptics-feedback",v=Symbol("van-form"),f=500,m=5},78335:function(t,e,r){"use strict";r.d(e,{Ce:function(){return l},J5:function(){return a},Or:function(){return o},SI:function(){return c},SQ:function(){return s},Vg:function(){return n},ir:function(){return i},qM:function(){return u}});var n=null,o=[Number,String],a={type:Boolean,default:!0},i=t=>({type:t,required:!0}),l=()=>({type:Array,default:()=>[]}),u=t=>({type:Number,default:t}),c=t=>({type:o,default:t}),s=t=>({type:String,default:t})},63112:function(t,e,r){"use strict";r.d(e,{n:function(){return o}});var n=r("20358");function o(t){return t.install=e=>{var{name:r}=t;r&&(e.component(r,t),e.component((0,n._A)("-".concat(r)),t))},t}},63022:function(t,e,r){"use strict";r("82116"),r("17989"),r("56115"),r("59644"),r("89176");var n=r("80681"),o=r("62568"),a=r("78335"),i=r("12308"),l=r("20358"),[u,c]=(0,o.do)("badge"),s={dot:Boolean,max:a.Or,tag:(0,a.SQ)("div"),color:String,offset:Array,content:a.Or,showZero:a.J5,position:(0,a.SQ)("top-right")};e.Z=(0,n.aZ)({name:u,props:s,setup(t,e){var{slots:r}=e,o=()=>{if(r.content)return!0;var{content:e,showZero:n}=t;return(0,i.Xq)(e)&&""!==e&&(n||0!==e&&"0"!==e)},a=()=>{var{dot:e,max:n,content:a}=t;if(!e&&o())return r.content?r.content():(0,i.Xq)(n)&&(0,i.kE)(a)&&+a>+n?"".concat(n,"+"):a},u=t=>t.startsWith("-")?t.replace("-",""):"-".concat(t),s=(0,n.Fl)(()=>{var e={background:t.color};if(t.offset){var[n,o]=t.offset,{position:a}=t,[i,c]=a.split("-");r.default?("number"==typeof o?e[i]=(0,l.Nn)("top"===i?o:-o):e[i]="top"===i?(0,l.Nn)(o):u(o),"number"==typeof n?e[c]=(0,l.Nn)("left"===c?n:-n):e[c]="left"===c?(0,l.Nn)(n):u(n)):(e.marginTop=(0,l.Nn)(o),e.marginLeft=(0,l.Nn)(n))}return e}),d=()=>{if(o()||t.dot)return(0,n.Wm)("div",{class:c([t.position,{dot:t.dot,fixed:!!r.default}]),style:s.value},[a()])};return()=>{if(r.default){var{tag:e}=t;return(0,n.Wm)(e,{class:c("wrapper")},{default:()=>[r.default(),d()]})}return d()}}})},14314:function(t,e,r){"use strict";r("82116"),r("17989"),r("24660");var n=r("80681"),o=r("62568"),a=r("12308"),i=r("78335"),l=r("82210"),u=r("8051"),c=r("6149"),s=r("96528"),d=r("95786"),[v,f]=(0,o.do)("button"),m=(0,a.l7)({},c.g2,{tag:(0,i.SQ)("button"),text:String,icon:String,type:(0,i.SQ)("default"),size:(0,i.SQ)("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:(0,i.SQ)("button"),loadingSize:i.Or,loadingText:String,loadingType:String,iconPosition:(0,i.SQ)("left")});e.Z=(0,n.aZ)({name:v,props:m,emits:["click"],setup(t,e){var{emit:r,slots:o}=e,a=(0,c.yj)(),i=()=>o.loading?o.loading():(0,n.Wm)(d.gb,{size:t.loadingSize,type:t.loadingType,class:f("loading")},null),v=()=>t.loading?i():o.icon?(0,n.Wm)("div",{class:f("icon")},[o.icon()]):t.icon?(0,n.Wm)(s.JO,{name:t.icon,class:f("icon"),classPrefix:t.iconPrefix},null):void 0,m=()=>{var e;if(e=t.loading?t.loadingText:o.default?o.default():t.text)return(0,n.Wm)("span",{class:f("text")},[e])},p=()=>{var{color:e,plain:r}=t;if(e){var n={color:r?e:"white"};return!r&&(n.background=e),e.includes("gradient")?n.border=0:n.borderColor=e,n}},g=e=>{t.loading?(0,l.PF)(e):!t.disabled&&(r("click",e),a())};return()=>{var{tag:e,type:r,size:o,block:a,round:i,plain:l,square:c,loading:s,disabled:d,hairline:S,nativeType:y,iconPosition:h}=t,b=[f([r,o,{plain:l,block:a,round:i,square:c,loading:s,disabled:d,hairline:S}]),{[u._K]:S}];return(0,n.Wm)(e,{type:y,class:b,style:p(),disabled:d,onClick:g},{default:()=>[(0,n.Wm)("div",{class:f("content")},["left"===h&&v(),m(),"right"===h&&v()])]})}}})},53419:function(t,e,r){"use strict";r.d(e,{q9:function(){return d}}),r("82116"),r("17989"),r("86795"),r("56115"),r("59644"),r("31564"),r("8649"),r("70629");var n=r("80681"),o=r("62568"),a=r("78335"),i=r("20358"),l=r("12308"),u=r("14517"),[c,s]=(0,o.do)("config-provider"),d=Symbol(c),v={tag:(0,a.SQ)("div"),theme:(0,a.SQ)("light"),zIndex:Number,themeVars:Object,themeVarsDark:Object,themeVarsLight:Object,themeVarsScope:(0,a.SQ)("local"),iconPrefix:String};function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach(r=>{t[r]!==e[r]&&document.documentElement.style.setProperty(r,t[r])}),Object.keys(e).forEach(e=>{!t[e]&&document.documentElement.style.removeProperty(e)})}e.ZP=(0,n.aZ)({name:c,props:v,setup(t,e){var{slots:r}=e,o=(0,n.Fl)(()=>{var e,r;return e=(0,l.l7)({},t.themeVars,"dark"===t.theme?t.themeVarsDark:t.themeVarsLight),r={},Object.keys(e).forEach(t=>{var n=(0,i.GL)(t).replace(/([a-zA-Z])(\d)/g,"$1-$2");r["--van-".concat(n)]=e[t]}),r});if(l._f){var a=()=>{document.documentElement.classList.add("van-theme-".concat(t.theme))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.theme;document.documentElement.classList.remove("van-theme-".concat(e))};(0,n.YP)(()=>t.theme,(t,e)=>{e&&c(e),a()},{immediate:!0}),(0,n.dl)(a),(0,n.se)(c),(0,n.Jd)(c),(0,n.YP)(o,(e,r)=>{"global"===t.themeVarsScope&&f(e,r)}),(0,n.YP)(()=>t.themeVarsScope,(t,e)=>{"global"===e&&f({},o.value),"global"===t&&f(o.value,{})}),"global"===t.themeVarsScope&&f(o.value,{})}return(0,n.JJ)(d,t),(0,n.m0)(()=>{void 0!==t.zIndex&&(0,u.H)(t.zIndex)}),()=>(0,n.Wm)(t.tag,{class:s(),style:"local"===t.themeVarsScope?o.value:void 0},{default:()=>{var t;return[null===(t=r.default)||void 0===t?void 0:t.call(r)]}})}})},49605:function(t,e,r){"use strict";r("82116"),r("17989"),r("58294");var n=r("80681"),o=r("62568"),a=r("12308"),i=r("78335"),l=r("20358"),u=r("8051"),c=r("69014"),s=r("22300"),d=r("6149"),v=r("96528"),f=r("72555"),[m,p]=(0,o.do)("grid-item"),g=(0,a.l7)({},d.g2,{dot:Boolean,text:String,icon:String,badge:i.Or,iconColor:String,iconPrefix:String,badgeProps:Object});e.Z=(0,n.aZ)({name:m,props:g,setup(t,e){var{slots:r}=e,{parent:o,index:a}=(0,s.NB)(c.Sb),i=(0,d.yj)();if(o){var m=(0,n.Fl)(()=>{var{square:t,gutter:e,columnNum:r}=o.props,n="".concat(100/+r,"%"),i={flexBasis:n};if(t)i.paddingTop=n;else if(e){var u=(0,l.Nn)(e);i.paddingRight=u,a.value>=+r&&(i.marginTop=u)}return i}),g=(0,n.Fl)(()=>{var{square:t,gutter:e}=o.props;if(t&&e){var r=(0,l.Nn)(e);return{right:r,bottom:r,height:"auto"}}}),S=()=>r.icon?(0,n.Wm)(f.Ct,(0,n.dG)({dot:t.dot,content:t.badge},t.badgeProps),{default:r.icon}):t.icon?(0,n.Wm)(v.JO,{dot:t.dot,name:t.icon,size:o.props.iconSize,badge:t.badge,class:p("icon"),color:t.iconColor,badgeProps:t.badgeProps,classPrefix:t.iconPrefix},null):void 0,y=()=>r.text?r.text():t.text?(0,n.Wm)("span",{class:p("text")},[t.text]):void 0,h=()=>r.default?r.default():[S(),y()];return()=>{var{center:t,border:e,square:r,gutter:a,reverse:l,direction:c,clickable:s}=o.props,d=[p("content",[c,{center:t,square:r,reverse:l,clickable:s,surround:e&&a}]),{[u.T5]:e}];return(0,n.Wm)("div",{class:[p({square:r})],style:m.value},[(0,n.Wm)("div",{role:s?"button":void 0,class:d,style:g.value,tabindex:s?0:void 0,onClick:i},[h()])])}}}})},69014:function(t,e,r){"use strict";r.d(e,{Sb:function(){return v}}),r("82116"),r("17989"),r("86795");var n=r("80681"),o=r("62568"),a=r("78335"),i=r("20358"),l=r("8051"),u=r("22300"),[c,s]=(0,o.do)("grid"),d={square:Boolean,center:a.J5,border:a.J5,gutter:a.Or,reverse:Boolean,iconSize:a.Or,direction:String,clickable:Boolean,columnNum:(0,a.SI)(4)},v=Symbol(c);e.ZP=(0,n.aZ)({name:c,props:d,setup(t,e){var{slots:r}=e,{linkChildren:o}=(0,u.$E)(v);return o({props:t}),()=>{var e;return(0,n.Wm)("div",{style:{paddingLeft:(0,i.Nn)(t.gutter)},class:[s(),{[l.k7]:t.border&&!t.gutter}]},[null===(e=r.default)||void 0===e?void 0:e.call(r)])}}})},28779:function(t,e,r){"use strict";r("82116"),r("17989"),r("24660");var n=r("80681"),o=r("62568"),a=r("78335"),i=r("20358"),l=r("72555"),u=r("53419"),[c,s]=(0,o.do)("icon"),d=t=>null==t?void 0:t.includes("/"),v={dot:Boolean,tag:(0,a.SQ)("i"),name:String,size:a.Or,badge:a.Or,color:String,badgeProps:Object,classPrefix:String};e.Z=(0,n.aZ)({name:c,props:v,setup(t,e){var{slots:r}=e,o=(0,n.f3)(u.q9,null),a=(0,n.Fl)(()=>t.classPrefix||(null==o?void 0:o.iconPrefix)||s());return()=>{var{tag:e,dot:o,name:u,size:c,badge:v,color:f}=t,m=d(u);return(0,n.Wm)(l.Ct,(0,n.dG)({dot:o,tag:e,class:[a.value,m?"":"".concat(a.value,"-").concat(u)],style:{color:f,fontSize:(0,i.Nn)(c)},content:v},t.badgeProps),{default:()=>{var t;return[null===(t=r.default)||void 0===t?void 0:t.call(r),m&&(0,n.Wm)("img",{class:s("image"),src:u},null)]}})}}})},2309:function(t,e,r){"use strict";r("82116"),r("17989"),r("66786"),r("14529");var n=r("80681"),o=r("62568"),a=r("78335"),i=r("12308"),l=r("20358"),[u,c]=(0,o.do)("loading"),s=Array(12).fill(null).map((t,e)=>(0,n.Wm)("i",{class:c("line",String(e+1))},null)),d=(0,n.Wm)("svg",{class:c("circular"),viewBox:"25 25 50 50"},[(0,n.Wm)("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),v={size:a.Or,type:(0,a.SQ)("circular"),color:String,vertical:Boolean,textSize:a.Or,textColor:String};e.Z=(0,n.aZ)({name:u,props:v,setup(t,e){var{slots:r}=e,o=(0,n.Fl)(()=>(0,i.l7)({color:t.color},(0,l.Xn)(t.size))),a=()=>{var e="spinner"===t.type?s:d;return(0,n.Wm)("span",{class:c("spinner",t.type),style:o.value},[r.icon?r.icon():e])},u=()=>{if(r.default){var e;return(0,n.Wm)("span",{class:c("text"),style:{fontSize:(0,l.Nn)(t.textSize),color:null!==(e=t.textColor)&&void 0!==e?e:t.color}},[r.default()])}};return()=>{var{type:e,vertical:r}=t;return(0,n.Wm)("div",{class:c([e,{vertical:r}]),"aria-live":"polite","aria-busy":!0},[a(),u()])}}})},16373:function(t,e,r){"use strict";r("82116"),r("17989"),r("61557"),r("89176"),r("59644"),r("66786"),r("14529");var n=r("80681"),o=r("11848"),a=r("22300"),i=r("62568"),l=r("78335"),u=r("20358"),c=r("10023"),s=r("22435"),[d,v]=(0,i.do)("rolling-text"),f={startNum:(0,l.qM)(0),targetNum:Number,textList:(0,l.Ce)(),duration:(0,l.qM)(2),autoStart:l.J5,direction:(0,l.SQ)("down"),stopOrder:(0,l.SQ)("ltr"),height:(0,l.qM)(40)};e.Z=(0,n.aZ)({name:d,props:f,setup(t){var e=(0,n.Fl)(()=>Array.isArray(t.textList)&&t.textList.length),r=(0,n.Fl)(()=>e.value?t.textList[0].length:"".concat(Math.max(t.startNum,t.targetNum)).length),i=e=>{for(var r=[],n=0;n<t.textList.length;n++)r.push(t.textList[n][e]);return r},l=(0,n.Fl)(()=>e.value?Array(r.value).fill(""):(0,u.Bd)(t.targetNum,r.value).split("")),d=(0,n.Fl)(()=>(0,u.Bd)(t.startNum,r.value).split("")),f=t=>{for(var e=+d.value[t],r=+l.value[t],n=[],o=e;o<=9;o++)n.push(o);for(var a=0;a<=2;a++)for(var i=0;i<=9;i++)n.push(i);for(var u=0;u<=r;u++)n.push(u);return n},m=(e,r)=>"ltr"===t.stopOrder?.2*e:.2*(r-1-e),p=(0,o.iH)(t.autoStart),g=()=>{p.value=!0};return(0,n.YP)(()=>t.autoStart,t=>{t&&g()}),(0,c.F)({start:g,reset:()=>{p.value=!1,t.autoStart&&(0,a.Wn)(()=>g())}}),()=>(0,n.Wm)("div",{class:v()},[l.value.map((o,a)=>(0,n.Wm)(s.Z,{figureArr:e.value?i(a):f(a),duration:t.duration,direction:t.direction,isStart:p.value,height:t.height,delay:m(a,r.value)},null))])}})},22435:function(t,e,r){"use strict";r("82116"),r("17989"),r("58294"),r("66786"),r("14529");var n=r("80681"),o=r("78335"),a=r("62568"),i=r("20358"),l={figureArr:(0,o.Ce)(),delay:Number,duration:(0,o.qM)(2),isStart:Boolean,direction:(0,o.SQ)("down"),height:(0,o.qM)(40)},[u,c]=(0,a.do)("rolling-text-item");e.Z=(0,n.aZ)({name:u,props:l,setup(t){var e=(0,n.Fl)(()=>"down"===t.direction?t.figureArr.slice().reverse():t.figureArr),r=(0,n.Fl)(()=>{var e=t.height*(t.figureArr.length-1);return"-".concat(e,"px")}),o=(0,n.Fl)(()=>({lineHeight:(0,i.Nn)(t.height)})),a=(0,n.Fl)(()=>({height:(0,i.Nn)(t.height),"--van-translate":r.value,"--van-duration":t.duration+"s","--van-delay":t.delay+"s"}));return()=>(0,n.Wm)("div",{class:c([t.direction]),style:a.value},[(0,n.Wm)("div",{class:c("box",{animate:t.isStart})},[Array.isArray(e.value)&&e.value.map(t=>(0,n.Wm)("div",{class:c("item"),style:o.value},[t]))])])}})},47204:function(t,e,r){"use strict";r.r(t.exports={})},23036:function(t,e,r){"use strict";r.r(t.exports={})}}]);