!function(){function e(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,a=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);l=!0);}catch(c){i=!0,o=c}finally{try{l||null==r.return||r.return()}finally{if(i)throw o}}return a}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re)&&m((function(){w=e,S=t,k.offset=-S,k.duration=S/+n}))}}),a)};return i(z),c(z),u("pageshow",z),s({reset:z}),f((function(){return[e.text,e.scrollable]}),z),function(){var t,r,n=e.color,a=e.wrapable,l=e.background;return d(v("div",{role:"alert",class:x({wrapable:a}),style:{color:n,background:l}},[o["left-icon"]?o["left-icon"]():e.leftIcon?v(y,{class:x("left-icon"),name:e.leftIcon},null):void 0,(t=!1===e.scrollable&&!e.wrapable,r={transform:k.offset?"translateX(".concat(k.offset,"px)"):"",transitionDuration:"".concat(k.duration,"s")},v("div",{ref:A,role:"marquee",class:x("wrap")},[v("div",{ref:I,style:r,class:[x("content"),{"van-ellipsis":t}],onTransitionend:O},[o.default?o.default():e.text])])),T()]),[[p,k.show]])}}});t("N",w(k))}}}))}();