1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-304422ca"],{"0f7d":function(t,e,o){!function(e,i){t.exports=i(o("8bbf"),function(){try{return o(!function(){var t=new Error("Cannot find module 'hls.js'");throw t.code="MODULE_NOT_FOUND",t}())}catch(e){}}())}("undefined"!=typeof self&&self,(function(t,e){return function(t){function e(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var o={};return e.m=t,e.c=o,e.d=function(t,o,i){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=15)}([function(t,e,o){"use strict";function i(t,e,o,i,n,a,r,s){t=t||{};var l=typeof t.default;"object"!==l&&"function"!==l||(t=t.default);var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=o,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId=a),r?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=c):n&&(c=s?function(){n.call(this,this.$root.$options.shadowRoot)}:n),c)if(u.functional){u._injectStyles=c;var p=u.render;u.render=function(t,e){return c.call(e),p(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}e.a=i},function(t,e){function o(t,e){var o=t[1]||"",n=t[3];if(!n)return o;if(e&&"function"==typeof btoa){var a=i(n);return[o].concat(n.sources.map((function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"}))).concat([a]).join("\n")}return[o].join("\n")}function i(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=o(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i})).join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var a=this[n][0];"number"==typeof a&&(i[a]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"==typeof r[0]&&i[r[0]]||(o&&!r[2]?r[2]=o:o&&(r[2]="("+r[2]+") and ("+o+")"),e.push(r))}},e}},function(t,e,o){"use strict";function i(t,e,o,i){m=o,v=i||{};var a=Object(c.a)(t,e);return n(a),function(e){for(var o=[],i=0;i<a.length;i++){var r=a[i],s=p[r.id];s.refs--,o.push(s)}e?(a=Object(c.a)(t,e),n(a)):a=[];for(i=0;i<o.length;i++){s=o[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete p[s.id]}}}}function n(t){for(var e=0;e<t.length;e++){var o=t[e],i=p[o.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](o.parts[n]);for(;n<o.parts.length;n++)i.parts.push(r(o.parts[n]));i.parts.length>o.parts.length&&(i.parts.length=o.parts.length)}else{var a=[];for(n=0;n<o.parts.length;n++)a.push(r(o.parts[n]));p[o.id]={id:o.id,refs:1,parts:a}}}}function a(){var t=document.createElement("style");return t.type="text/css",d.appendChild(t),t}function r(t){var e,o,i=document.querySelector("style["+y+'~="'+t.id+'"]');if(i){if(m)return g;i.parentNode.removeChild(i)}if(w){var n=f++;i=h||(h=a()),e=s.bind(null,i,n,!1),o=s.bind(null,i,n,!0)}else i=a(),e=l.bind(null,i),o=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else o()}}function s(t,e,o,i){var n=o?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,n);else{var a=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(a,r[e]):t.appendChild(a)}}function l(t,e){var o=e.css,i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),v.ssrId&&t.setAttribute(y,e.id),n&&(o+="\n/*# sourceURL="+n.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var c=o(18),u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var p={},d=u&&(document.head||document.getElementsByTagName("head")[0]),h=null,f=0,m=!1,g=function(){},v=null,y="data-vue-ssr-id",w="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),b=function(){var t=[];return function(e,o){return t[e]=o,t.filter(Boolean).join("\n")}}()},function(t,e,o){"use strict";function i(t){if(t){t=t.replace(/([^\]^\n])\[/g,(function(t,e){return e+"\n["}));for(var e=t.split("\n"),o=[],i=e.length,n=0;n<i;n++){var a=e[n].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),r=e[n].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(a)for(var s=a.length,l=0;l<s;l++){var c=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(a[l]),u=60*c[1],p=parseInt(c[2]),d=c[4]?parseInt(c[4])/(2===(c[4]+"").length?100:1e3):0,h=u+p+d;o.push([h,r])}}return o.sort((function(t,e){return t[0]-e[0]})),o}return[]}function n(t,e){if(t===e)return 0;var o=t.split(".").map(Number),i=c(o,3),n=i[0],a=i[1],r=i[2],s=e.split(".").map(Number),l=c(s,3),u=l[0],p=l[1],d=l[2];if(n>u)return 1;if(n===u){if(a>p)return 1;if(a===p&&r>d)return 1}return-1}function a(t){return console.warn("[Vue-APlayer] "+t)}function r(t,e,o){return a("'"+t+"' is deprecated since v"+e+", and will be removed in future releases, use '"+o+"' instead")}function s(t){for(var e=t.offsetLeft,o=t.offsetParent,i=void 0;null!==o;)e+=o.offsetLeft,o=o.offsetParent;return i=document.body.scrollLeft+document.documentElement.scrollLeft,e-i}function l(t){for(var e=t.offsetTop,o=t.offsetParent,i=void 0;null!==o;)e+=o.offsetTop,o=o.offsetParent;return i=document.body.scrollTop+document.documentElement.scrollTop,e-i}e.d=i,e.e=n,e.f=a,e.a=r,e.b=s,e.c=l;var c=function(){function t(t,e){var o=[],i=!0,n=!1,a=void 0;try{for(var r,s=t[Symbol.iterator]();!(i=(r=s.next()).done)&&(o.push(r.value),!e||o.length!==e);i=!0);}catch(t){n=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(n)throw a}}return o}return function(e,o){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,o){"use strict";function i(t){o(25)}var n=o(7),a=o(44),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,o=Array(t.length);e<t.length;e++)o[e]=t[e];return o}return Array.from(t)}var n=o(19),a=o.n(n),r=o(20),s=o(46),l=o(50),c=o(62),u=o(3),p=function(){function t(t,e){var o=[],i=!0,n=!1,a=void 0;try{for(var r,s=t[Symbol.iterator]();!(i=(r=s.next()).done)&&(o.push(r.value),!e||o.length!==e);i=!0);}catch(t){n=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(n)throw a}}return o}return function(e,o){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=!1,h=Object(u.e)(a.a.version,"2.3.0")>=0,f={},m=null,g={NONE:"none",MUSIC:"music",LIST:"list",NO_REPEAT:"no-repeat",REPEAT_ONE:"repeat-one",REPEAT_ALL:"repeat-all"},v={name:"APlayer",disableVersionBadge:!1,components:{Thumbnail:r.a,Controls:l.a,MusicList:s.a,Lyrics:c.a},props:{music:{type:Object,required:!0,validator:function(t){return t.url&&Object(u.a)("music.url","1.4.0","music.src"),t.author&&Object(u.a)("music.author","1.4.1","music.artist"),t.src||t.url}},list:{type:Array,default:function(){return[]}},mini:{type:Boolean,default:!1},showLrc:{type:Boolean,default:!1},mutex:{type:Boolean,default:!0},theme:{type:String,default:"#41b883"},listMaxHeight:String,listFolded:{type:Boolean,default:!1},float:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},preload:String,volume:{type:Number,default:.8,validator:function(t){return t>=0&&t<=1}},shuffle:{type:Boolean,default:!1},repeat:{type:String,default:g.NO_REPEAT},listmaxheight:{type:String,validator:function(t){return t&&Object(u.a)("listmaxheight","1.1.2","listMaxHeight"),!0}},narrow:{type:Boolean,default:!1,validator:function(t){return t&&Object(u.a)("narrow","1.1.2","mini"),!0}},showlrc:{type:Boolean,default:!1,validator:function(t){return t&&Object(u.a)("showlrc","1.2.2","showLrc"),!0}}},data:function(){return{internalMusic:this.music,isPlaying:!1,isSeeking:!1,wasPlayingBeforeSeeking:!1,isMobile:/mobile/i.test(window.navigator.userAgent),playStat:{duration:0,loadedTime:0,playedTime:0},showList:!this.listFolded,audioPlayPromise:Promise.resolve(),floatOriginX:0,floatOriginY:0,floatOffsetLeft:0,floatOffsetTop:0,selfAdaptingTheme:null,internalMuted:this.muted,internalVolume:this.volume,isLoading:!1,internalShuffle:this.shuffle,internalRepeat:this.repeat,shuffledList:[]}},computed:{audio:function(){return this.$refs.audio},currentMusic:{get:function(){return this.internalMusic},set:function(t){h&&this.$emit("update:music",t),this.internalMusic=t}},isMiniMode:function(){return this.mini||this.narrow},shouldShowLrc:function(){return this.showLrc||this.showlrc},currentTheme:function(){return this.selfAdaptingTheme||this.currentMusic.theme||this.theme},isFloatMode:function(){return this.float&&!this.isMobile},shouldAutoplay:function(){return!this.isMobile&&this.autoplay},musicList:function(){return this.list},shouldShowNativeControls:function(){return!1},floatStyleObj:function(){return{transform:"translate("+this.floatOffsetLeft+"px, "+this.floatOffsetTop+"px)",webkitTransform:"translate("+this.floatOffsetLeft+"px, "+this.floatOffsetTop+"px)"}},currentPicStyleObj:function(){return this.currentMusic&&this.currentMusic.pic?{backgroundImage:"url("+this.currentMusic.pic+")"}:{}},loadProgress:function(){return 0===this.playStat.duration?0:this.playStat.loadedTime/this.playStat.duration},playProgress:function(){return 0===this.playStat.duration?0:this.playStat.playedTime/this.playStat.duration},playIndex:{get:function(){return this.shuffledList.indexOf(this.currentMusic)},set:function(t){this.currentMusic=this.shuffledList[t%this.shuffledList.length]}},shouldRepeat:function(){return this.repeatMode!==g.NO_REPEAT},isAudioMuted:{get:function(){return this.internalMuted},set:function(t){h&&this.$emit("update:muted",t),this.internalMuted=t}},audioVolume:{get:function(){return this.internalVolume},set:function(t){h&&this.$emit("update:volume",t),this.internalVolume=t}},shouldShuffle:{get:function(){return this.internalShuffle},set:function(t){h&&this.$emit("update:shuffle",t),this.internalShuffle=t}},repeatMode:{get:function(){switch(this.internalRepeat){case g.NONE:case g.NO_REPEAT:return g.NO_REPEAT;case g.MUSIC:case g.REPEAT_ONE:return g.REPEAT_ONE;default:return g.REPEAT_ALL}},set:function(t){h&&this.$emit("update:repeat",t),this.internalRepeat=t}}},methods:{onDragBegin:function(){this.floatOriginX=this.floatOffsetLeft,this.floatOriginY=this.floatOffsetTop},onDragAround:function(t){var e=t.offsetLeft,o=t.offsetTop;this.floatOffsetLeft=this.floatOriginX+e,this.floatOffsetTop=this.floatOriginY+o},setNextMode:function(){this.repeatMode===g.REPEAT_ALL?this.repeatMode=g.REPEAT_ONE:this.repeatMode===g.REPEAT_ONE?this.repeatMode=g.NO_REPEAT:this.repeatMode=g.REPEAT_ALL},thenPlay:function(){var t=this;this.$nextTick((function(){t.play()}))},toggle:function(){this.audio.paused?this.play():this.pause()},play:function(){var t=this;this.mutex&&(m&&m!==this&&m.pause(),m=this);var e=this.audio.play();if(e)return this.audioPlayPromise=new Promise((function(o,i){t.rejectPlayPromise=i,e.then((function(e){t.rejectPlayPromise=null,o(e)})).catch(u.f)}))},pause:function(){var t=this;this.audioPlayPromise.then((function(){t.audio.pause()})).catch((function(){t.audio.pause()})),this.rejectPlayPromise&&(this.rejectPlayPromise(),this.rejectPlayPromise=null)},onProgressDragBegin:function(t){this.wasPlayingBeforeSeeking=this.isPlaying,this.pause(),this.isSeeking=!0,isNaN(this.audio.duration)||(this.audio.currentTime=this.audio.duration*t)},onProgressDragging:function(t){isNaN(this.audio.duration)?this.playStat.playedTime=0:this.audio.currentTime=this.audio.duration*t},onProgressDragEnd:function(t){this.isSeeking=!1,this.wasPlayingBeforeSeeking&&this.thenPlay()},toggleMute:function(){this.setAudioMuted(!this.audio.muted)},setAudioMuted:function(t){this.audio.muted=t},setAudioVolume:function(t){this.audio.volume=t,t>0&&this.setAudioMuted(!1)},getShuffledList:function(){if(!this.list.length)return[this.internalMusic];var t=[].concat(i(this.list));if(!this.internalShuffle||t.length<=1)return t;var e=t.indexOf(this.internalMusic);if(2===t.length&&-1!==e)return 0===e?t:[this.internalMusic,t[0]];for(var o=t.length-1;o>0;o--){var n=Math.floor(Math.random()*(o+1)),a=t[o];t[o]=t[n],t[n]=a}if(-1!==e&&0!==(e=t.indexOf(this.internalMusic))){var r=[t[e],t[0]];t[0]=r[0],t[e]=r[1]}return t},onSelectSong:function(t){this.currentMusic===t?this.toggle():(this.currentMusic=t,this.thenPlay())},onAudioPlay:function(){this.isPlaying=!0},onAudioPause:function(){this.isPlaying=!1},onAudioWaiting:function(){this.isLoading=!0},onAudioCanplay:function(){this.isLoading=!1},onAudioDurationChange:function(){1!==this.audio.duration&&(this.playStat.duration=this.audio.duration)},onAudioProgress:function(){this.audio.buffered.length?this.playStat.loadedTime=this.audio.buffered.end(this.audio.buffered.length-1):this.playStat.loadedTime=0},onAudioTimeUpdate:function(){this.playStat.playedTime=this.audio.currentTime},onAudioSeeking:function(){this.playStat.playedTime=this.audio.currentTime},onAudioSeeked:function(){this.playStat.playedTime=this.audio.currentTime},onAudioVolumeChange:function(){this.audioVolume=this.audio.volume,this.isAudioMuted=this.audio.muted},onAudioEnded:function(){this.repeatMode===g.REPEAT_ALL?(this.shouldShuffle&&this.playIndex===this.shuffledList.length-1&&(this.shuffledList=this.getShuffledList()),this.playIndex++,this.thenPlay()):this.repeatMode===g.REPEAT_ONE?this.thenPlay():(this.playIndex++,0!==this.playIndex?this.thenPlay():1===this.shuffledList.length&&(this.audio.currentTime=0))},initAudio:function(){var t=this;this.audio.controls=this.shouldShowNativeControls,this.audio.muted=this.muted,this.audio.preload=this.preload,this.audio.volume=this.volume,["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","interruptbegin","interruptend","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"].forEach((function(e){t.audio.addEventListener(e,(function(o){return t.$emit(e,o)}))})),this.audio.addEventListener("play",this.onAudioPlay),this.audio.addEventListener("pause",this.onAudioPause),this.audio.addEventListener("abort",this.onAudioPause),this.audio.addEventListener("waiting",this.onAudioWaiting),this.audio.addEventListener("canplay",this.onAudioCanplay),this.audio.addEventListener("progress",this.onAudioProgress),this.audio.addEventListener("durationchange",this.onAudioDurationChange),this.audio.addEventListener("seeking",this.onAudioSeeking),this.audio.addEventListener("seeked",this.onAudioSeeked),this.audio.addEventListener("timeupdate",this.onAudioTimeUpdate),this.audio.addEventListener("volumechange",this.onAudioVolumeChange),this.audio.addEventListener("ended",this.onAudioEnded),this.currentMusic&&(this.audio.src=this.currentMusic.src||this.currentMusic.url)},setSelfAdaptingTheme:function(){var t=this;if("pic"===(this.currentMusic.theme||this.theme)){var e=this.currentMusic.pic;if(f[e])this.selfAdaptingTheme=f[e];else try{(new ColorThief).getColorAsync(e,(function(o){var i=p(o,3),n=i[0],a=i[1],r=i[2];f[e]="rgb("+n+", "+a+", "+r+")",t.selfAdaptingTheme="rgb("+n+", "+a+", "+r+")"}))}catch(t){Object(u.f)("color-thief is required to support self-adapting theme")}}else this.selfAdaptingTheme=null}},watch:{music:function(t){this.internalMusic=t},currentMusic:{handler:function(t){this.setSelfAdaptingTheme();var e=t.src||t.url;if(/\.m3u8(?=(#|\?|$))/.test(e))if(this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL"))this.audio.src=e;else try{var i=o(66);i.isSupported()?(this.hls||(this.hls=new i),this.hls.loadSource(e),this.hls.attachMedia(this.audio)):(Object(u.f)("HLS is not supported on your browser"),this.audio.src=e)}catch(t){Object(u.f)("hls.js is required to support m3u8"),this.audio.src=e}else this.audio.src=e}},shouldShowNativeControls:function(t){this.audio.controls=t},isAudioMuted:function(t){this.audio.muted=t},preload:function(t){this.audio.preload=t},audioVolume:function(t){this.audio.volume=t},muted:function(t){this.internalMuted=t},volume:function(t){this.internalVolume=t},shuffle:function(t){this.internalShuffle=t},repeat:function(t){this.internalRepeat=t}},beforeCreate:function(){v.disableVersionBadge||d||(console.log("\n\n %c Vue-APlayer 1.6.1 %c vue-aplayer.js.org \n","color: #fff; background:#41b883; padding:5px 0;","color: #fff; background: #35495e; padding:5px 0;"),d=!0)},created:function(){this.shuffledList=this.getShuffledList()},mounted:function(){this.initAudio(),this.setSelfAdaptingTheme(),this.autoplay&&this.play()},beforeDestroy:function(){m===this&&(m=null),this.hls&&this.hls.destroy()}};e.a=v},function(t,e,o){"use strict";var i=o(4);e.a={components:{IconButton:i.a},props:{pic:String,theme:String,playing:{type:Boolean,default:!1},enableDrag:{type:Boolean,default:!1}},data:function(){return{hasMovedSinceMouseDown:!1,dragStartX:0,dragStartY:0}},computed:{currentPicStyleObj:function(){return this.pic?{backgroundImage:"url("+this.pic+")",backgroundColor:this.theme}:{}}},methods:{onDragBegin:function(t){this.enableDrag&&(this.hasMovedSinceMouseDown=!1,this.$emit("dragbegin"),this.dragStartX=t.clientX,this.dragStartY=t.clientY,document.addEventListener("mousemove",this.onDocumentMouseMove),document.addEventListener("mouseup",this.onDocumentMouseUp))},onDocumentMouseMove:function(t){this.hasMovedSinceMouseDown=!0,this.$emit("dragging",{offsetLeft:t.clientX-this.dragStartX,offsetTop:t.clientY-this.dragStartY})},onDocumentMouseUp:function(t){document.removeEventListener("mouseup",this.onDocumentMouseUp),document.removeEventListener("mousemove",this.onDocumentMouseMove),this.$emit("dragend")},onClick:function(){this.hasMovedSinceMouseDown||this.$emit("toggleplay")}}}},function(t,e,o){"use strict";var i=o(8);e.a={components:{Icon:i.a},props:["icon"]}},function(t,e,o){"use strict";var i=o(9),n=o(43),a=o(0),r=Object(a.a)(i.a,n.a,n.b,!1,null,null,null);e.a=r.exports},function(t,e,o){"use strict";var i=function(){function t(t,e){var o=[],i=!0,n=!1,a=void 0;try{for(var r,s=t[Symbol.iterator]();!(i=(r=s.next()).done)&&(o.push(r.value),!e||o.length!==e);i=!0);}catch(t){n=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(n)throw a}}return o}return function(e,o){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=o(27),a=n.keys().reduce((function(t,e){var o=n(e),a=o.match(/^<svg.+?viewBox="(.+?)".*><path.+?d="(.+?)".*><\/path><\/svg>$/),r=i(a,3),s=(r[0],r[1]),l=r[2];return t[e.match(/^.*\/(.+?)\.svg$/)[1]]={viewBox:s,d:l},t}),{});e.a={props:["type"],computed:{svg:function(){return this.type,"prev"!==this.type&&this.type,a[this.type]||{}},style:function(){if("next"===this.type)return{transform:"rotate(180deg)"}}}}},function(t,e,o){"use strict";e.a={props:{show:{type:Boolean,default:!0},currentMusic:Object,musicList:{type:Array,default:function(){return[]}},playIndex:{type:Number,default:0},theme:String,listmaxheight:String},computed:{listHeightStyle:function(){return{height:33*this.musicList.length-1+"px",maxHeight:this.listmaxheight||""}}}}},function(t,e,o){"use strict";var i=o(4),n=o(53),a=o(57);e.a={components:{IconButton:i.a,VProgress:n.a,Volume:a.a},props:["shuffle","repeat","stat","theme","volume","muted"],computed:{loadProgress:function(){return 0===this.stat.duration?0:this.stat.loadedTime/this.stat.duration},playProgress:function(){return 0===this.stat.duration?0:this.stat.playedTime/this.stat.duration}},methods:{secondToTime:function(t){if(isNaN(t))return"00:00";var e=function(t){return t<10?"0"+t:""+t},o=Math.trunc(t/60),i=Math.trunc(t-60*o),n=Math.trunc(o/60),a=Math.trunc(t/60-60*Math.trunc(t/60/60));return t>=3600?e(n)+":"+e(a)+":"+e(i):e(o)+":"+e(i)}}}},function(t,e,o){"use strict";var i=o(3),n=o(8);e.a={components:{Icon:n.a},props:["loadProgress","playProgress","theme"],data:function(){return{thumbHovered:!1}},methods:{onThumbMouseDown:function(t){var e=this.$refs.barWrap.clientWidth,o=(t.clientX-Object(i.b)(this.$refs.barWrap))/e;o=o>0?o:0,o=o<1?o:1,this.$emit("dragbegin",o),document.addEventListener("mousemove",this.onDocumentMouseMove),document.addEventListener("mouseup",this.onDocumentMouseUp)},onDocumentMouseMove:function(t){var e=this.$refs.barWrap.clientWidth,o=(t.clientX-Object(i.b)(this.$refs.barWrap))/e;o=o>0?o:0,o=o<1?o:1,this.$emit("dragging",o)},onDocumentMouseUp:function(t){document.removeEventListener("mouseup",this.onDocumentMouseUp),document.removeEventListener("mousemove",this.onDocumentMouseMove);var e=this.$refs.barWrap.clientWidth,o=(t.clientX-Object(i.b)(this.$refs.barWrap))/e;o=o>0?o:0,o=o<1?o:1,this.$emit("dragend",o)},onThumbTouchStart:function(t){var e=this.$refs.barWrap.clientWidth,o=(t.clientX-Object(i.b)(this.$refs.barWrap))/e;o=o>0?o:0,o=o<1?o:1,this.$emit("dragbegin",o),document.addEventListener("touchmove",this.onDocumentTouchMove),document.addEventListener("touchend",this.onDocumentTouchEnd)},onDocumentTouchMove:function(t){var e=t.changedTouches[0],o=this.$refs.barWrap.clientWidth,n=(e.clientX-Object(i.b)(this.$refs.barWrap))/o;n=n>0?n:0,n=n<1?n:1,this.$emit("dragging",n)},onDocumentTouchEnd:function(t){document.removeEventListener("touchend",this.onDocumentTouchEnd),document.removeEventListener("touchmove",this.onDocumentTouchMove);var e=t.changedTouches[0],o=this.$refs.barWrap.clientWidth,n=(e.clientX-Object(i.b)(this.$refs.barWrap))/o;n=n>0?n:0,n=n<1?n:1,this.$emit("dragend",n)}}}},function(t,e,o){"use strict";var i=o(4),n=o(3);e.a={components:{IconButton:i.a},props:["volume","muted","theme"],computed:{volumeIcon:function(){return this.muted||this.volume<=0?"volume-off":this.volume>=1?"volume-up":"volume-down"}},methods:{adjustVolume:function(t){var e=(40-t.clientY+Object(n.c)(this.$refs.bar))/40;e=e>0?e:0,e=e<1?e:1,this.$emit("setvolume",e)},onBarMouseDown:function(){document.addEventListener("mousemove",this.onDocumentMouseMove),document.addEventListener("mouseup",this.onDocumentMouseUp)},onDocumentMouseMove:function(t){var e=(40-t.clientY+Object(n.c)(this.$refs.bar))/40;e=e>0?e:0,e=e<1?e:1,this.$emit("setvolume",e)},onDocumentMouseUp:function(t){document.removeEventListener("mouseup",this.onDocumentMouseUp),document.removeEventListener("mousemove",this.onDocumentMouseMove);var e=(40-t.clientY+Object(n.c)(this.$refs.bar))/40;e=e>0?e:0,e=e<1?e:1,this.$emit("setvolume",e)}}}},function(t,e,o){"use strict";var i=o(3);e.a={props:{currentMusic:{type:Object,required:!0},playStat:{type:Object,required:!0}},data:function(){return{displayLrc:"",currentLineIndex:0}},computed:{lrcLines:function(){return Object(i.d)(this.displayLrc)},currentLine:function(){return this.currentLineIndex>this.lrcLines.length-1?null:this.lrcLines[this.currentLineIndex]},transformStyle:function(){return{transform:"translateY("+16*-this.currentLineIndex+"px)",webkitTransform:"translateY("+16*-this.currentLineIndex+"px)"}}},methods:{applyLrc:function(t){/^https?:\/\//.test(t)?this.fetchLrc(t):this.displayLrc=t},fetchLrc:function(t){var e=this;fetch(t).then((function(t){return t.text()})).then((function(t){e.displayLrc=t}))},hideLrc:function(){this.displayLrc=""}},watch:{currentMusic:{immediate:!0,handler:function(t){this.currentLineIndex=0,t.lrc?this.applyLrc(t.lrc):this.hideLrc()}},"playStat.playedTime":function(t){for(var e=0;e<this.lrcLines.length;e++){var o=this.lrcLines[e],i=this.lrcLines[e+1];t>=o[0]&&(!i||t<i[0])&&(this.currentLineIndex=e)}}}}},function(t,e,o){"use strict";function i(t){o(16)}Object.defineProperty(e,"__esModule",{value:!0});var n=o(5),a=o(67),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.default=l.exports},function(t,e,o){var i=o(17);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("48028a76",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,".aplayer{font-family:Arial,Helvetica,sans-serif;color:#000;background-color:#fff;margin:5px;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);border-radius:2px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal;position:relative}.aplayer *{-webkit-box-sizing:content-box;box-sizing:content-box}.aplayer .aplayer-lrc-content{display:none}.aplayer .aplayer-body{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.aplayer .aplayer-body .aplayer-info{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:start;padding:14px 7px 0 10px;height:66px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.aplayer .aplayer-body .aplayer-info .aplayer-music{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:default;padding-bottom:2px}.aplayer .aplayer-body .aplayer-info .aplayer-music .aplayer-title{font-size:14px}.aplayer .aplayer-body .aplayer-info .aplayer-music .aplayer-author{font-size:12px;color:#666}.aplayer .aplayer-body .aplayer-info .aplayer-lrc{z-index:0}.aplayer audio[controls]{display:block;width:100%}.aplayer.aplayer-narrow{width:66px}.aplayer.aplayer-withlrc .aplayer-body .aplayer-pic{height:90px;width:90px}.aplayer.aplayer-withlrc .aplayer-body .aplayer-info{height:90px;padding:10px 7px 0}.aplayer.aplayer-withlist .aplayer-body .aplayer-info{border-bottom:1px solid #e9e9e9}.aplayer.aplayer-withlist .aplayer-body .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu{display:block}.aplayer.aplayer-float{z-index:1}@-webkit-keyframes aplayer-roll{0%{left:0}to{left:-100%}}@keyframes aplayer-roll{0%{left:0}to{left:-100%}}",""])},function(t,e,o){"use strict";function i(t,e){for(var o=[],i={},n=0;n<e.length;n++){var a=e[n],r=a[0],s=a[1],l=a[2],c=a[3],u={id:t+":"+n,css:s,media:l,sourceMap:c};i[r]?i[r].parts.push(u):o.push(i[r]={id:r,parts:[u]})}return o}e.a=i},function(e,o){e.exports=t},function(t,e,o){"use strict";function i(t){o(21)}var n=o(6),a=o(45),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){var i=o(22);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("082b31c5",i,!0,{})},function(t,e,o){var i=o(23);e=t.exports=o(1)(!1),e.push([t.i,".aplayer-float .aplayer-pic:active{cursor:move}.aplayer-pic{-ms-flex-negative:0;flex-shrink:0;position:relative;height:66px;width:66px;background-image:url("+i(o(24))+");background-size:cover;-webkit-transition:all .3s ease;transition:all .3s ease;cursor:pointer}.aplayer-pic:hover .aplayer-button{opacity:1}.aplayer-pic .aplayer-button{position:absolute;border-radius:50%;opacity:.8;text-shadow:0 1px 1px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2);background:rgba(0,0,0,.2);-webkit-transition:all .1s ease;transition:all .1s ease}.aplayer-pic .aplayer-button .aplayer-fill{fill:#fff}.aplayer-pic .aplayer-play{width:26px;height:26px;border:2px solid #fff;bottom:50%;right:50%;margin:0 -15px -15px 0}.aplayer-pic .aplayer-play .aplayer-icon-play{position:absolute;top:3px;left:4px;height:20px;width:20px}.aplayer-pic .aplayer-pause{width:16px;height:16px;border:2px solid #fff;bottom:4px;right:4px}.aplayer-pic .aplayer-pause .aplayer-icon-pause{position:absolute;top:2px;left:2px;height:12px;width:12px}",""])},function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAeAAD/4QMfaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzA2NyA3OS4xNTc3NDcsIDIwMTUvMDMvMzAtMjM6NDA6NDIgICAgICAgICI+IDxyZGY6UkRGIHhtbG5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whvqrdvXsPrTqUMZ/C82fCVJP1dhiVYvKjY9vcVqpqhxgH8tQDgHQZpMRT7EokkF+qccHyISlufX4oubddKG5shymWCvNbRwWk84jtBMgeSGRNaKOgo7eyWaNoNIPvEYqUfqUcTHVOMRIxOKscooyBxg5eSIM5T48IkY/vgJOPVBOXOIBM80aKqspaNvzap1LaRlM4noGZgOjVBC5+sqX1ejyj6aUp6vxf6tGUuac4ImwxbAkKlEzBywjHGUgermiRPLhFGYJ48Y01tDSXBg09Y2HG5+E5KSZZoUMo2AgZRkDiBLDiIBQq9n3ClcL9pf80JxSkny3k9fuqjBvcu4bYfLuDBWBh+MgoV/eMDDoMyZ4RIM0kETT8pxETPi6WmN9UKhJ+ncQTnpIUP2R1p3jZCMVOJ5igxYu2q1vmbtGwvn0JB7JRznbthOJoW8eQqHcqHU40K3nZAMFOKllJB/bHI9vuiTMU9M44o/MQkdk4tUbdsaDMUTXXNXeY6maChp5eTTNI5ClCQe6HThWN+3Rc/Bb6UtIV8SUH/NeEZ02zrhWOefdqognNKT5izzajgIbpz7gIkfzhhqs/TFk9J6b0w05+ZM+ZPl1wRay9kEUV4y+qXZGachyc8EEBKeMAnLCf8ACCCAzE5d8ZHMS64IIA7oy+HDqgggIEpYdUZJnpE84IICeScSJYwQQE8IIIID/9k="},function(t,e,o){var i=o(26);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("a4518b4e",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,".aplayer-icon{width:15px;height:15px;border:none;background-color:transparent;outline:none;cursor:pointer;opacity:.8;vertical-align:middle;padding:0;font-size:12px;margin:0;display:inline}.aplayer-icon:hover{opacity:1}.aplayer-icon .aplayer-fill{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}",""])},function(t,e,o){function i(t){return o(n(t))}function n(t){var e=a[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}var a={"./loading.svg":28,"./lrc.svg":29,"./menu.svg":30,"./no-repeat.svg":31,"./pause.svg":32,"./play.svg":33,"./repeat-all-legacy.svg":34,"./repeat-all.svg":35,"./repeat-one-legacy.svg":36,"./repeat-one.svg":37,"./shuffle.svg":38,"./skip.svg":39,"./volume-down.svg":40,"./volume-off.svg":41,"./volume-up.svg":42};i.keys=function(){return Object.keys(a)},i.resolve=n,t.exports=i,i.id=27},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-5 0 32 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-8 0 32 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-8 0 32 32"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-1 0 32 32"><path d="M25.6 9.92q1.344 0 2.272 0.928t0.928 2.272v9.28q0 1.28-0.928 2.24t-2.272 0.96h-22.4q-1.28 0-2.24-0.96t-0.96-2.24v-9.28q0-1.344 0.96-2.272t2.24-0.928h8v-3.52l6.4 5.76-6.4 5.76v-3.52h-6.72v6.72h19.84v-6.72h-4.8v-4.48h6.080z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 38 32"><path d="M2.072 21.577c0.71-0.197 1.125-0.932 0.928-1.641-0.221-0.796-0.333-1.622-0.333-2.457 0-5.049 4.108-9.158 9.158-9.158h5.428c0.056-0.922 0.221-1.816 0.482-2.667h-5.911c-3.158 0-6.128 1.23-8.361 3.463s-3.463 5.203-3.463 8.361c0 1.076 0.145 2.143 0.431 3.171 0.164 0.59 0.7 0.976 1.284 0.976 0.117 0 0.238-0.016 0.357-0.049zM21.394 25.613h-12.409v-2.362c0-0.758-0.528-1.052-1.172-0.652l-5.685 3.522c-0.644 0.4-0.651 1.063-0.014 1.474l5.712 3.69c0.637 0.411 1.158 0.127 1.158-0.63v-2.374h12.409c3.158 0 6.128-1.23 8.361-3.463 1.424-1.424 2.44-3.148 2.99-5.029-0.985 0.368-2.033 0.606-3.125 0.691-1.492 3.038-4.619 5.135-8.226 5.135zM28.718 0c-4.985 0-9.026 4.041-9.026 9.026s4.041 9.026 9.026 9.026 9.026-4.041 9.026-9.026-4.041-9.026-9.026-9.026zM30.392 13.827h-1.728v-6.822c-0.635 0.576-1.433 1.004-2.407 1.285v-1.713c0.473-0.118 0.975-0.325 1.506-0.62 0.532-0.325 0.975-0.665 1.329-1.034h1.3v8.904z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("svg",{style:t.style,attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",height:"100%",version:"1.1",viewBox:t.svg.viewBox,width:"100%"}},[o("use",{attrs:{"xlink:href":"#aplayer-${type}"}}),t._v(" "),o("path",{staticClass:"aplayer-fill",attrs:{d:t.svg.d}})])},n=[]},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"aplayer-icon",attrs:{type:"button"}},[o("icon",{attrs:{type:t.icon}})],1)},n=[]},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aplayer-pic",style:t.currentPicStyleObj,on:{mousedown:t.onDragBegin,click:t.onClick}},[o("div",{staticClass:"aplayer-button",class:t.playing?"aplayer-pause":"aplayer-play"},[o("icon-button",{class:t.playing?"aplayer-icon-pause":"aplayer-icon-play",attrs:{icon:t.playing?"pause":"play"}})],1)])},n=[]},function(t,e,o){"use strict";function i(t){o(47)}var n=o(10),a=o(49),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){var i=o(48);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("7b9d1402",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,".aplayer-list{overflow:hidden}.aplayer-list.slide-v-enter-active,.aplayer-list.slide-v-leave-active{-webkit-transition:height .5s ease;transition:height .5s ease;will-change:height}.aplayer-list.slide-v-enter,.aplayer-list.slide-v-leave-to{height:0!important}.aplayer-list ol{list-style-type:none;margin:0;padding:0;overflow-y:auto}.aplayer-list ol::-webkit-scrollbar{width:5px}.aplayer-list ol::-webkit-scrollbar-track{background-color:#f9f9f9}.aplayer-list ol::-webkit-scrollbar-thumb{border-radius:3px;background-color:#eee}.aplayer-list ol::-webkit-scrollbar-thumb:hover{background-color:#ccc}.aplayer-list ol:hover li.aplayer-list-light:not(:hover){background-color:inherit;-webkit-transition:inherit;transition:inherit}.aplayer-list ol:not(:hover) li.aplayer-list-light{-webkit-transition:background-color .6s ease;transition:background-color .6s ease}.aplayer-list ol li{position:relative;height:32px;line-height:32px;padding:0 15px;font-size:12px;border-top:1px solid #e9e9e9;cursor:pointer;-webkit-transition:all .2s ease;transition:all .2s ease;overflow:hidden;margin:0;text-align:start;display:-webkit-box;display:-ms-flexbox;display:flex}.aplayer-list ol li:first-child{border-top:none}.aplayer-list ol li.aplayer-list-light,.aplayer-list ol li:hover{background:#efefef}.aplayer-list ol li.aplayer-list-light .aplayer-list-cur{display:inline-block}.aplayer-list ol li .aplayer-list-cur{display:none;width:3px;height:22px;position:absolute;left:0;top:5px;-webkit-transition:background-color .3s;transition:background-color .3s}.aplayer-list ol li .aplayer-list-index{color:#666;margin-right:12px}.aplayer-list ol li .aplayer-list-title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.aplayer-list ol li .aplayer-list-author{-ms-flex-negative:0;flex-shrink:0;color:#666;float:right}",""])},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"slide-v"}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"list",staticClass:"aplayer-list",style:t.listHeightStyle},[o("ol",{ref:"ol",style:t.listHeightStyle},t._l(t.musicList,(function(e,i){return o("li",{key:i,class:{"aplayer-list-light":e===t.currentMusic},on:{click:function(o){t.$emit("selectsong",e)}}},[o("span",{staticClass:"aplayer-list-cur",style:{background:t.theme}}),t._v(" "),o("span",{staticClass:"aplayer-list-index"},[t._v(t._s(i+1))]),t._v(" "),o("span",{staticClass:"aplayer-list-title"},[t._v(t._s(e.title||"Untitled"))]),t._v(" "),o("span",{staticClass:"aplayer-list-author"},[t._v(t._s(e.artist||e.author||"Unknown"))])])})))])])},n=[]},function(t,e,o){"use strict";function i(t){o(51)}var n=o(11),a=o(61),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){var i=o(52);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("c97c1d8a",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,".aplayer-controller,.aplayer-controller .aplayer-time{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.aplayer-controller .aplayer-time{height:17px;color:#999;font-size:11px;padding-left:7px}.aplayer-controller .aplayer-time .aplayer-volume-wrap{margin-left:4px;margin-right:4px}.aplayer-controller .aplayer-time .aplayer-icon{cursor:pointer;-webkit-transition:all .2s ease;transition:all .2s ease;margin-left:4px}.aplayer-controller .aplayer-time .aplayer-icon.inactive{opacity:.3}.aplayer-controller .aplayer-time .aplayer-icon .aplayer-fill{fill:#666}.aplayer-controller .aplayer-time .aplayer-icon:hover .aplayer-fill{fill:#000}.aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu{display:none}.aplayer-controller .aplayer-time .aplayer-volume-wrap+.aplayer-icon{margin-left:0}.aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu,.aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode{display:none}",""])},function(t,e,o){"use strict";function i(t){o(54)}var n=o(12),a=o(56),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){var i=o(55);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("6f66d8c5",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,".aplayer-bar-wrap{margin:0 0 0 5px;padding:4px 0;cursor:pointer;-webkit-box-flex:1;-ms-flex:1;flex:1}.aplayer-bar-wrap .aplayer-bar{position:relative;height:2px;width:100%;background:#cdcdcd}.aplayer-bar-wrap .aplayer-bar .aplayer-loaded{position:absolute;left:0;top:0;bottom:0;background:#aaa;height:2px;-webkit-transition:all .5s ease;transition:all .5s ease;will-change:width}.aplayer-bar-wrap .aplayer-bar .aplayer-played{position:absolute;left:0;top:0;bottom:0;height:2px;-webkit-transition:background-color .3s;transition:background-color .3s;will-change:width}.aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{position:absolute;top:0;right:5px;margin-top:-5px;margin-right:-10px;width:10px;height:10px;border:1px solid;-webkit-transform:scale(.8);transform:scale(.8);will-change:transform;-webkit-transition:background-color .3s,border-color .3s,-webkit-transform .3s;transition:background-color .3s,border-color .3s,-webkit-transform .3s;transition:transform .3s,background-color .3s,border-color .3s;transition:transform .3s,background-color .3s,border-color .3s,-webkit-transform .3s;border-radius:50%;background:#fff;cursor:pointer;overflow:hidden}.aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb:hover{-webkit-transform:scale(1);transform:scale(1)}.aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb .aplayer-loading-icon{display:none;width:100%;height:100%}.aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb .aplayer-loading-icon svg{position:absolute;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;fill:#fff}.aplayer-loading .aplayer-bar-wrap .aplayer-bar .aplayer-thumb .aplayer-loading-icon{display:block}.aplayer-loading .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{-webkit-transform:scale(1);transform:scale(1)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}",""])},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"barWrap",staticClass:"aplayer-bar-wrap",on:{mousedown:t.onThumbMouseDown,touchstart:t.onThumbTouchStart}},[o("div",{staticClass:"aplayer-bar"},[o("div",{staticClass:"aplayer-loaded",style:{width:100*t.loadProgress+"%"}}),t._v(" "),o("div",{staticClass:"aplayer-played",style:{width:100*t.playProgress+"%",background:t.theme}},[o("span",{ref:"thumb",staticClass:"aplayer-thumb",style:{borderColor:t.theme,backgroundColor:t.thumbHovered?t.theme:"#fff"},on:{mouseover:function(e){t.thumbHovered=!0},mouseout:function(e){t.thumbHovered=!1}}},[o("span",{staticClass:"aplayer-loading-icon",style:{backgroundColor:t.theme}},[o("icon",{attrs:{type:"loading"}})],1)])])])])},n=[]},function(t,e,o){"use strict";function i(t){o(58)}var n=o(13),a=o(60),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){var i=o(59);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("28c86b36",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,'.aplayer-volume-wrap{position:relative;cursor:pointer;z-index:0}.aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{display:block}.aplayer-volume-wrap .aplayer-volume-bar-wrap{display:none;position:absolute;bottom:15px;left:-4px;right:-4px;height:40px;z-index:-1;-webkit-transition:all .2s ease;transition:all .2s ease}.aplayer-volume-wrap .aplayer-volume-bar-wrap:after{content:"";position:absolute;bottom:-16px;left:0;right:0;height:62px;background-color:#fff;-webkit-box-shadow:0 0 2px 0 rgba(0,0,0,.07),0 0 5px 0 rgba(0,0,0,.1);box-shadow:0 0 2px 0 rgba(0,0,0,.07),0 0 5px 0 rgba(0,0,0,.1)}.aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{position:absolute;bottom:0;left:11px;width:5px;height:40px;background:#aaa;border-radius:2.5px;overflow:hidden;z-index:1}.aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{position:absolute;bottom:0;left:0;right:0;-webkit-transition:height .1s ease,background-color .3s;transition:height .1s ease,background-color .3s;will-change:height}',""])},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aplayer-volume-wrap"},[o("icon-button",{class:"aplayer-icon-"+t.volumeIcon,attrs:{icon:t.volumeIcon},nativeOn:{click:function(e){t.$emit("togglemute")}}}),t._v(" "),o("div",{staticClass:"aplayer-volume-bar-wrap",on:{mousedown:t.onBarMouseDown}},[o("div",{ref:"bar",staticClass:"aplayer-volume-bar"},[o("div",{staticClass:"aplayer-volume",style:{height:t.muted?0:Math.trunc(100*t.volume)+"%",background:t.theme}})])])],1)},n=[]},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aplayer-controller"},[o("v-progress",{attrs:{loadProgress:t.loadProgress,playProgress:t.playProgress,theme:t.theme},on:{dragbegin:function(e){return t.$emit("dragbegin",e)},dragend:function(e){return t.$emit("dragend",e)},dragging:function(e){return t.$emit("dragging",e)}}}),t._v(" "),o("div",{staticClass:"aplayer-time"},[o("div",{staticClass:"aplayer-time-inner"},[t._v("\n - "),o("span",{staticClass:"aplayer-ptime"},[t._v(t._s(t.secondToTime(t.stat.playedTime)))]),t._v(" / "),o("span",{staticClass:"aplayer-dtime"},[t._v(t._s(t.secondToTime(t.stat.duration)))])]),t._v(" "),t.$parent.isMobile?t._e():o("volume",{attrs:{volume:t.volume,theme:t.theme,muted:t.muted},on:{togglemute:function(e){t.$emit("togglemute")},setvolume:function(e){return t.$emit("setvolume",e)}}}),t._v(" "),o("icon-button",{staticClass:"aplayer-icon-mode",class:{inactive:!t.shuffle},attrs:{icon:"shuffle"},nativeOn:{click:function(e){t.$emit("toggleshuffle")}}}),t._v(" "),o("icon-button",{staticClass:"aplayer-icon-mode",class:{inactive:"no-repeat"===t.repeat},attrs:{icon:"repeat-one"===t.repeat?"repeat-one":"repeat-all"},nativeOn:{click:function(e){t.$emit("nextmode")}}}),t._v(" "),o("icon-button",{staticClass:"aplayer-icon-menu",class:{inactive:!t.$parent.showList},attrs:{icon:"menu"},nativeOn:{click:function(e){t.$emit("togglelist")}}})],1)],1)},n=[]},function(t,e,o){"use strict";function i(t){o(63)}var n=o(14),a=o(65),r=o(0),s=i,l=Object(r.a)(n.a,a.a,a.b,!1,s,null,null);e.a=l.exports},function(t,e,o){var i=o(64);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o(2).default;n("229083b6",i,!0,{})},function(t,e,o){e=t.exports=o(1)(!1),e.push([t.i,'.aplayer-lrc{position:relative;height:30px;text-align:center;overflow:hidden;margin-bottom:7px}.aplayer-lrc:before{top:0;height:10%;background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(hsla(0,0%,100%,0)));background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#00ffffff",GradientType=0)}.aplayer-lrc:after,.aplayer-lrc:before{position:absolute;z-index:1;display:block;overflow:hidden;width:100%;content:" "}.aplayer-lrc:after{bottom:0;height:33%;background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(hsla(0,0%,100%,.8)));background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.8));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff",endColorstr="#ccffffff",GradientType=0)}.aplayer-lrc p{font-size:12px;color:#666;line-height:16px;height:16px;padding:0;margin:0;-webkit-transition:all .5s ease-out;transition:all .5s ease-out;opacity:.4;overflow:hidden}.aplayer-lrc p.aplayer-lrc-current{opacity:1;overflow:visible;height:auto}.aplayer-lrc .aplayer-lrc-contents{width:100%;-webkit-transition:all .5s ease-out;transition:all .5s ease-out;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:default}',""])},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aplayer-lrc"},[o("div",{staticClass:"aplayer-lrc-contents",style:t.transformStyle},t._l(t.lrcLines,(function(e,i){return o("p",{key:i,class:{"aplayer-lrc-current":i===t.currentLineIndex}},[t._v("\n "+t._s(e[1])+"\n ")])})))])},n=[]},function(t,o){if(void 0===e){var i=new Error('Cannot find module "undefined"');throw i.code="MODULE_NOT_FOUND",i}t.exports=e},function(t,e,o){"use strict";o.d(e,"a",(function(){return i})),o.d(e,"b",(function(){return n}));var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aplayer",class:{"aplayer-narrow":t.isMiniMode,"aplayer-withlist":!t.isMiniMode&&t.musicList.length>0,"aplayer-withlrc":!t.isMiniMode&&(!!t.$slots.display||t.shouldShowLrc),"aplayer-float":t.isFloatMode,"aplayer-loading":t.isPlaying&&t.isLoading},style:t.floatStyleObj},[o("div",{staticClass:"aplayer-body"},[o("thumbnail",{attrs:{pic:t.currentMusic.pic,playing:t.isPlaying,"enable-drag":t.isFloatMode,theme:t.currentTheme},on:{toggleplay:t.toggle,dragbegin:t.onDragBegin,dragging:t.onDragAround}}),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:!t.isMiniMode,expression:"!isMiniMode"}],staticClass:"aplayer-info"},[o("div",{staticClass:"aplayer-music"},[o("span",{staticClass:"aplayer-title"},[t._v(t._s(t.currentMusic.title||"Untitled"))]),t._v(" "),o("span",{staticClass:"aplayer-author"},[t._v(t._s(t.currentMusic.artist||t.currentMusic.author||"Unknown"))])]),t._v(" "),t._t("display",[t.shouldShowLrc?o("lyrics",{attrs:{"current-music":t.currentMusic,"play-stat":t.playStat}}):t._e()],{currentMusic:t.currentMusic,playStat:t.playStat}),t._v(" "),o("controls",{attrs:{shuffle:t.shouldShuffle,repeat:t.repeatMode,stat:t.playStat,volume:t.audioVolume,muted:t.isAudioMuted,theme:t.currentTheme},on:{toggleshuffle:function(e){t.shouldShuffle=!t.shouldShuffle},togglelist:function(e){t.showList=!t.showList},togglemute:t.toggleMute,setvolume:t.setAudioVolume,dragbegin:t.onProgressDragBegin,dragend:t.onProgressDragEnd,dragging:t.onProgressDragging,nextmode:t.setNextMode}})],2)],1),t._v(" "),o("audio",{ref:"audio"}),t._v(" "),o("music-list",{attrs:{show:t.showList&&!t.isMiniMode,"current-music":t.currentMusic,"music-list":t.musicList,"play-index":t.playIndex,listmaxheight:t.listmaxheight||t.listMaxHeight,theme:t.currentTheme},on:{selectsong:t.onSelectSong}})],1)},n=[]}]).default}))},"12a5":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAvJJREFUaEPVl09rE0EUwN8bu5iAECooNl5zSaBNd76A4kWlF2tBxdabtgdvYr+BQqs9qOBBj82h4kfwpqIgZHeSInvKzdaLijkIE3WdJwMJhNg0u8ns7Jprht33m/d7fxYhI79SqXS0UCgoz/N+xwkJ4xxO6iznfBERF4ioo5TaaTQa76K+K3UAzvkaIt4HgOPdoD8qpS4IIT5HgUgTgLmuu4KIjxBxuhcsEX0nokUhxOtMA7iue4MxtgkAM/2BElEQhuH53d3dvcwCcM5XAWCj/+a7wX5FxEv1ej2zNaC1WUbExwPaECLuEdGy7/tvo9x874zVGhimDQB8UkqtCSFeAcCfTAIcpg0RXfZ9/33c4DWojQwY16Y/Q4kDdLXZAIDigBpja2MNgHN+CwA2D+o2k2hjAyBRbRIHSFqbRAEO00YptSSE0EMqVqs8rK2aLGLGOb8OAE8OGlJKqRUhxJs4PT7KWWMAnHO9mOndJpFuMwzGCIBtbUzWQCraGANISxsjAPPz8zcZYw8OGlJJdBuTNZC6NhNlQGvTXQ+sdhsjGciKNmNlYHZ2dtpxnJcAcA4R2cCN7EgpV4Mg+BFl+Jg8E2sOuK5bZIxtAcAVADjSFwgBwIswDNebzea+yQBHPSsWgH7Y3NzcScdxnup1eCATIRHVlFJ3Go1Ge9SLTf0fG0C/uFqtnp6amqoR0ZkBCJ2JZ1LKdVs6jQWgIcrl8kwul9tijF1NU6exAbKi00QAWdBpYoC0dTICkKZOxgD6dNomorO2upNRgDR0Mg5gW6dEAGzqlBiALZ0SBbChU+IAo3QiouedTufuuLuTFYCeTvl8/iEiXjO5O1kD0BCu655gjOlVfMnUKm4VoAuhP4r0Kv7PsBtHJ+sAGqJSqZzSq/gQnWpSyttRayIVgBE6fQOABc/zPkT5aksNYJhORPQFAC76vu9lHqCnUz6fv6eDBgAJANtSyo0gCH79FwBdiGOO4xQdxwnb7fZ+q9X6GSV4feYvuOApT/iv6JUAAAAASUVORK5CYII="},"80a5":function(t,e,o){},8580:function(t,e,o){t.exports=o.p+"img/ordericon.2d2b8865.png"},"8d6b":function(t,e,o){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},n=[],a=o("f868"),r=o.n(a),s=(o("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new r.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter(){this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout(()=>{this.mescroll.setTopBtnFadeDuration(0)},16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),l=s,c=o("2877"),u=Object(c["a"])(l,i,n,!1,null,null,null);e["a"]=u.exports},aef2:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAApBJREFUOE+dlN9Lk1EYx7/PefcOQgutGHTRoqBCCKLf4b9gQVfrbhCaY76wZJEJgrxQKCEksbc5efVC6CJ2EVkUhBfrQgqCuugiBcW6EO3HjHAOcWfnPPGGg5m6Oc/VC+d7PjzvOZ/nIZSt4eHhswAyzLyHiGYBPGhsbEyHQqHV8lylbyrfdBznhGmaj5n5DBHtA/BFCJEoFosvo9HoLwBcDbwBaNu2LxAIBIUQN4ionZkPEtEfAB40ZVnW95qApfDIyMj+YrF4E0A7ER0FkAXwBMDA4uLiD9u29XbgDRWWh4aGhgI+n++qUqpTCHGSmZeVUs+11slsNvvZtu3iVtBtgV44k8n4ZmZmLjJzPzM3E5F3h+8B9EQikcmagaUDiUTivGmaXUTUAsDUWn9USt0rFAqZeDy+wYCKFZaA6XTaWFpaahJC3ALQsv5Y00qp3vr6+olwOJwvZXcELIVHR0f3SikjRNTFzA3MPA7gTjQa/bYroHfIdd0mpZRLRJe11p+EEOFIJDK9K+DY2NgBKeV1pdRdAIeY+bXWOt7R0TFXM9DTyDCMTiJq8+6QmX9qrbullM9isdhyTcBkMnlMCOF1ThuABiKaI6JHUsqnlmX9XtfpH7PqoziOc8Tv999m5hAzB4hoSgjxUAiRbm1tzf3vYiUgOY5zHECfaZqef34i+ur5mMvlXsVisbUdi23btggGgxeklF1KqSuGYcAwjA9E1JvP599tB9vylz2JV1Z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6ev+kJ+vb66doC3IG5l1v0RlZ5ueeMeTKgdW4d7fpmGt3Afeln1F2tvAe9sXtzh6yHMc1g/Idh/diDcz4xGtw07/Ss/uO3ah+34UZUn3xG93eG97D+t7msfCtFXxkCq/h3XKxf3wbJ7HCPwa2fPE+Rc5Udjzuxp99wH00H39rCq6mEZOszFVE1nlxbZ6Lu6sSvhpaZV68OTxQ8RqJV/xJk/tPPa72kiNrDjfMHwf/w+K1gycvp8lLQAAAABJRU5ErkJggg=="},bae3:function(t,e,o){"use strict";o("80a5")},be7ff:function(t,e,o){"use strict";o.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"coursebox"},[e("mescroll-vue",{staticClass:"coursemescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[e("div",{staticClass:"topimgbox relative"},["image"==t.type||"video"==t.type||"pdf"==t.type?e("div",{staticClass:"topcover",class:{bgopacity02:t.topscroll>250,bgopacity05:t.topscroll>300,bgopacity07:t.topscroll>400,bgopacity1:t.topscroll>450},style:{paddingTop:`calc(0.48rem + ${t.$store.state.safeHeight}px)`}},[e("img",{attrs:{src:o("ec85")},on:{click:t.backFunc}})]):t._e(),"audio"==t.type?e("div",{staticClass:"topcover",staticStyle:{background:"#fff"},style:{paddingTop:`calc(0.48rem + ${t.$store.state.safeHeight}px)`}},[e("img",{attrs:{src:o("12a5")},on:{click:t.backFunc}})]):t._e(),"image"==t.type&&t.courseobj?e("img",{staticClass:"mainimg",attrs:{src:t.courseobj.file}}):t._e(),"video"==t.type?e("div",{staticClass:"videobox"},[e("video",{ref:"videoPlayer",staticClass:"video-js vjs-default-skin vjs-big-play-centered",staticStyle:{width:"100%",height:"100%","object-fit":"contain"},attrs:{"x5-video-player-type":"h5-page",playsinline:"","webkit-playsinline":""}})]):t._e(),"audio"==t.type&&t.courseobj?e("div",{staticClass:"audiobox"},[e("aplayer",{attrs:{autoplay:"",music:{mini:!0,title:"音频",artist:" ",src:t.courseobj.file,theme:"#fff",pic:"none"}}})],1):t._e(),"pdf"==t.type?e("div",{staticClass:"pdfbox"},[e("div",{attrs:{id:"pdfdemo"}})]):t._e()]),e("div",{staticClass:"coursemsgbox"},[e("div",{staticClass:"clearfix coursetitbox"},[e("div",{staticClass:"pull-left coursetit lh40 font33 color333"},[t._v(t._s(t.courseobj?t.courseobj.title:""))]),e("div",{staticClass:"pull-left labelbox"},[t._v(t._s(t.courseobj?t.courseobj.type_id:""))])]),e("div",{staticClass:"studypersonbox clearfix"},[e("div",{staticClass:"pull-left width33_3 left"},[t._v("学习人数:"+t._s(t.courseobj.train_count))]),e("div",{staticClass:"pull-left width33_3 center"},[t._v("完成人数:"+t._s(t.courseobj.complete_count))]),e("div",{staticClass:"pull-left width33_3 right"},[t._v("未开始人数:"+t._s(t.courseobj.no_count))])])]),e("div",{staticClass:"clearfix catalogue"},[e("div",{staticClass:"pull-left leftcata"},[t._v("目录")]),e("div",{staticClass:"pull-right rightcata",on:{click:t.backFunc}},[e("span",{staticClass:"pull-left"},[t._v("共"+t._s(t.courselist.length)+"节")]),e("img",{staticClass:"pull-left",attrs:{src:o("aef2")}})])]),e("div",{staticClass:"cataloguebox clearfix"},[e("div",{staticClass:"cataloguediv"},t._l(t.courselist,(function(i,n){return e("div",{key:i.id,staticClass:"everycatalogue",class:{nowcata:i.is_now},on:{click:function(e){return t.setcoursetap(i)}}},[e("div",{staticClass:"catatext ellipsisTwo"},[t._v(t._s(1*n+1)+"."+t._s(i.title))]),e("div",{staticClass:"catatype"},[t._v(" "+t._s("image"==i.type?"图文":"video"==i.type?"视频":"audio"==i.type?"音频":"PDF")+"课程"+t._s(i.is_now?"| 正在学习":"")+" "),e("img",{directives:[{name:"show",rawName:"v-show",value:!i.is_now&&0==i.lastlooked&&"order"==t.courseobj.class_type,expression:"!item.is_now&&item.lastlooked == 0&&courseobj.class_type=='order'"}],staticClass:"orderimg",attrs:{src:o("8580")}})])])})),0)]),e("div",{staticClass:"htmlbox",domProps:{innerHTML:t._s(t.courseobj.content)}}),e("div",{staticClass:"commentbox"},[e("div",{staticClass:"commentit"},[t._v("文章评论"),e("span",[t._v("("+t._s(t.courseobj.comment_count)+"条)")])]),e("div",{staticClass:"comment"},[t._l(t.commentarr,(function(i,n){return e("div",{key:"s"+i.id,staticClass:"everycomment clearfix"},[e("img",{directives:[{name:"show",rawName:"v-show",value:!i.headimg,expression:"!item.headimg"}],staticClass:"pull-left headimg",attrs:{src:o("ee87")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:i.headimg,expression:"item.headimg"}],staticClass:"pull-left headimg",attrs:{src:i.headimg}}),e("div",{staticClass:"pull-left commentperson"},[e("div",{staticClass:"personbox relative"},[e("div",{staticClass:"persontit ellipsis"},[t._v(t._s(i.nickname))]),e("div",{staticClass:"sendtimebox"},[t._v(t._s(i.addtime))]),e("div",{staticClass:"likebox",on:{click:function(e){return t.liketap(i.id,n)}}},[i.thumblog?e("img",{staticClass:"pull-left",attrs:{src:o("b74a")}}):t._e(),i.thumblog?t._e():e("img",{staticClass:"pull-left",attrs:{src:o("e538")}}),e("span",{staticClass:"pull-left"},[t._v(t._s(i.thumb))])])]),e("div",{staticClass:"commentcontent"},[t._v(t._s(i.content))])])])})),e("nonedata",{attrs:{len:t.commentarr.length,datashow:t.datashow}})],2)])]),e("div",{staticClass:"setcommentbox",on:{click:t.setcommentap}},[e("div",{staticClass:"ellipsisThree"},[t._v(t._s(t.commentmsg?t.commentmsg:"我要评论~"))])]),e("xqloading",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),t.commentflag?e("div",{staticClass:"footcomment",on:{click:function(e){t.commentflag=!1}}},[e("div",{staticClass:"footer",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"relative clearfix"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.commentmsg,expression:"commentmsg"}],ref:"textarea",staticClass:"pull-left",attrs:{rows:t.rownum},domProps:{value:t.commentmsg},on:{input:function(e){e.target.composing||(t.commentmsg=e.target.value)}}}),e("button",{staticClass:"pull-left",on:{click:t.sendtap}},[t._v("发送")])])])]):t._e()],1)},n=[],a=o("f0b1"),r=o("0f7d"),s=o.n(r),l=o("8d6b"),c=o("5880"),u=o("edb5");let p=0,d=null;var h={data(){return{loadFlag:!0,datashow:!1,type:"image",cid:"",zid:"",player:null,courseobj:{},courselist:[],topscroll:0,mescroll:null,mescrollDown:{},mescrollUp:{auto:!1,callback:this.commentfun,onScroll:this.onScroll,page:{num:0,size:20},htmlLoading:"",htmlNodata:"",noMoreSize:0},commentarr:[],commentmsg:"",rownum:1,commentflag:!1,timeout:"",time:0,isBoutique:""}},components:{MescrollVue:l["a"],nonedata:u["a"],Aplayer:s.a},watch:{commentmsg(t){let e=this.$refs.textarea.clientHeight,o=this.$refs.textarea.scrollHeight;o>e&&this.rownum<=2&&(this.rownum=1*this.rownum+1)}},methods:{...Object(c["mapMutations"])(["setToken","setSafeHeight"]),readfun:function(){let t=this;clearInterval(t.timeout);let e={course_id:t.zid,class_id:t.cid,alertshow:1524,study_time:p};Object(a["f"])(e).then(e=>{t.trainlistfun()})},detailfun(){const t=this;let e={class_id:this.cid,course_id:this.zid};Object(a["e"])(e).then(e=>{0==e.data.code&&(t.type=e.data.data.type,t.courseobj=e.data.data,t.trainlistfun(),t.$nextTick(o=>{"video"==t.type?t.videoinit():"pdf"==t.type&&(this.pdfh5=new Pdfh5("#pdfdemo",{pdfurl:t.courseobj.file,renderType:"svg",maxZoom:2,zoomEnable:!0})),0!=e.data.data.study_time&&0==t.time&&(t.time=60*e.data.data.study_time,t.timeout=setInterval((function(){t.time--,t.time<=0&&(clearInterval(t.timeout),t.readfun(),t.time=0)}),1e3))}))})},trainlistfun(){const t=this;let e={class_id:this.cid,course_id:this.zid,page:1};Object(a["m"])(e).then(e=>{if(0==e.data.code&&(this.courselist=e.data.data,"order"==t.courseobj.class_type)){let t=e.data.data;for(let e=0;e<t.length;e++)0==e||e>2&&1==t[e-1].done_state&&1==t[e-2].done_state||0==t[e-1].done_state&&1==t[e].done_state?t[e].lastlooked=1:e>2&&0==t[e-2].done_state&&1==t[e-1].done_state?t[e].lastlooked=0:1==t[e-1].done_state?t[e].lastlooked=1:t[e].lastlooked=0;this.courselist=t}})},mescrollInit(t){this.mescroll=t},commentfun(t,e){const o=this;let i={page:t.num,course_id:o.zid,class_id:o.cid};Object(a["o"])(i).then(i=>{0==i.data.code&&(1==t.num&&(o.commentarr=[]),o.commentarr=o.commentarr.concat(i.data.data),o.datashow=!0,o.$nextTick(()=>{e.endSuccess(i.data.data.length)})),setTimeout(t=>{o.loadFlag=!1},600)})},videoinit(){const t=this;this.player=videojs(this.$refs.videoPlayer,{autoplay:!0,controls:!0,width:window.innerWidth,poster:t.courseobj.video_img?t.courseobj.video_img:t.courseobj.file+"?x-oss-process=video/snapshot,t_100,f_jpg,w_500,m_fast",height:250,preload:"auto",src:t.courseobj.file,sources:[{src:t.courseobj.file}]},()=>{this.player.log("onPlayerReady",this)})},onScroll(t,e,o){this.topscroll=e},setcommentap(){this.commentflag=!0,this.$nextTick(t=>{this.$refs.textarea.focus()})},sendtap(){const t=this;if(!t.commentmsg)return t.$toast("总结不能为空!"),!1;const e=t.$toast.loading({duration:0,message:"加载中...",forbidClick:!0});let o={course_id:t.zid,class_id:t.cid,content:t.commentmsg,read_status:0!=t.courseobj.comment_word_num&&(0==t.courseobj.study_time||t.time<=0),study_time:p};this.isBoutique?Object(a["a"])(o).then(o=>{e.clear(),"0"==o.data.code&&(t.commentmsg="",t.$toast("总结添加成功!"),t.mescroll.resetUpScroll())}):Object(a["c"])(o).then(o=>{e.clear(),"0"==o.data.code&&(t.commentmsg="",t.$toast("总结添加成功!"),t.mescroll.resetUpScroll())})},liketap(t,e){const o=this;let i={sumup_id:t};Object(a["l"])(i).then(t=>{if("0"==t.data.code){let i=o.commentarr;t.data.msg.includes("取消点赞")?(i[e].thumb--,i[e].thumblog=!1):(i[e].thumb++,i[e].thumblog=!0),o.commentarr=i}})},setcoursetap(t){if(!t.is_now){if(0==t.lastlooked)return this.$toast("请先阅读上一章节!"),!1;const e=this;this.zid=t.id,this.loadFlag=!0,this.type="",e.courseobj={},this.detailfun(),this.trainlistfun(),p=0,this.topscroll=0,e.mescroll.resetUpScroll()}},coureseView(){Object(a["d"])({course_id:this.zid,time:p}).then(t=>{}),Object(a["b"])({class_id:this.cid,course_id:this.zid,time:p}).then(t=>{})},backFunc(){window.android?window.android.backPageVC():window.webkit.messageHandlers.backPageVC.postMessage("nil")}},created(){p=0,this.isBoutique=this.$route.query.type?this.$route.query.type:"",window.android?(window.android.loadUserTrain(),window.android.safeArea()):window.webkit&&window.webkit.messageHandlers&&(window.webkit.messageHandlers.loadUser||window.webkit.messageHandlers.safeArea)&&(window.webkit.messageHandlers.loadUser.postMessage("nil"),window.webkit.messageHandlers.safeArea.postMessage("safeArea"))},mounted(){const t=this;this.$route.query.cid&&(t.cid=this.$route.query.cid),this.$route.query.zid&&(t.zid=this.$route.query.zid,t.detailfun(),t.mescroll.resetUpScroll()),window.LoadtrainData=function(e,o,i){t.cid=e,t.zid=o,t.setToken(i),t.detailfun(),t.mescroll.resetUpScroll()},window.safeAreaHeight=function(e,o){t.setSafeHeight(parseInt(e))},window.viewDidAppear=function(){},window.viewDidDisappear=function(){clearTimeout(t.timeout),clearInterval(d),t.coureseView(),p=0},p=0,d=setInterval(()=>{p=1*p+1},1e3),setTimeout(()=>{window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.loadfinish?window.webkit.messageHandlers.loadfinish.postMessage("nil"):window.android&&window.android.loadVRfinish()},1e3)},destroyed(){clearTimeout(this.timeout),clearInterval(d),this.coureseView(),p=0}},f=h,m=(o("bae3"),o("2877")),g=Object(m["a"])(f,i,n,!1,null,"55384c12",null);e["default"]=g.exports},e538:function(t,e,o){t.exports=o.p+"img/likeicon.d7f6583d.png"},ec85:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR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QlnhGOiZij0lKPCweE/eISPhd+Mb+IVNj3PwEGAPMht4jVQg6GAAAAAElFTkSuQmCC"},f0b1:function(t,e,o){"use strict";o.d(e,"e",(function(){return n})),o.d(e,"m",(function(){return a})),o.d(e,"o",(function(){return r})),o.d(e,"l",(function(){return s})),o.d(e,"c",(function(){return l})),o.d(e,"a",(function(){return c})),o.d(e,"f",(function(){return u})),o.d(e,"d",(function(){return p})),o.d(e,"g",(function(){return d})),o.d(e,"b",(function(){return h})),o.d(e,"n",(function(){return f})),o.d(e,"i",(function(){return m})),o.d(e,"h",(function(){return g})),o.d(e,"k",(function(){return v})),o.d(e,"j",(function(){return y}));var i=o("b775");function n(t){return Object(i["a"])({url:"/mobile/train/courseDetail",method:"post",data:t})}function a(t){return Object(i["a"])({url:"/mobile/train/trainCourseList",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/mobile/train/watchFeel",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/mobile/train/thumbing",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/mobile/train/commentAdd",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/mobile/train/boutiqueCommentAdd",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/mobile/train/doneLogging",method:"post",data:t})}function p(t){return Object(i["a"])({url:"/mobile/train/coureseView",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/mobile/train/getCourseEmployee",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/mobile/train/classView",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/mobile/train/all_org",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/mobile/lecturer/read",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/mobile/lecturer/collor",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/mobile/lecturer/trainList",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/mobile/lecturer/recommendList",method:"post",data:t})}},f2fd:function(t,e,o){},f868:function(t,e,o){var i,n;(function(a,r){i=r,n="function"===typeof i?i.call(e,o,e,t):i,void 0===n||(t.exports=n)})(0,(function(){var t=function(t,e){var o=this;if(o.version="1.4.0",o.isScrollBody=!t||"body"===t,o.scrollDom=o.isScrollBody?document.body:o.getDomById(t),o.scrollDom){o.options=e||{};var i=navigator.userAgent,n=!!i.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),a="undefined"===typeof window.orientation,r=i.indexOf("Android")>-1||i.indexOf("Adr")>-1;o.os={ios:n,pc:a,android:r},o.isDownScrolling=!1,o.isUpScrolling=!1;var s=o.options.down&&o.options.down.callback;o.initDownScroll(),o.initUpScroll(),setTimeout((function(){o.optDown.use&&o.optDown.auto&&s&&(o.optDown.autoShowLoading?o.triggerDownScroll():o.optDown.callback&&o.optDown.callback(o)),o.optUp.use&&o.optUp.auto&&!o.isUpAutoLoad&&o.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(e){t.extend(e,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'<p class="downwarp-progress"></p><p class="downwarp-tip"></p>',inited:function(t,e){t.downTipDom=e.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=e.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,e,o){if(t.downProgressDom){var i=360*e;t.downProgressDom.style.webkitTransform="rotate("+i+"deg)",t.downProgressDom.style.transform="rotate("+i+"deg)"}},beforeLoading:function(t,e){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(e){var o=this.os.pc;t.extend(e,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'<p class="upwarp-progress mescroll-rotate"></p><p class="upwarp-tip">加载中..</p>',htmlNodata:'<p class="upwarp-nodata">-- END --</p>',inited:function(t,e){},showLoading:function(t,e){e.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,e){e.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:o,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(e,o){if(!e)return o;for(var i in o)null==e[i]?e[i]=o[i]:"object"===typeof e[i]&&t.extend(e[i],o[i]);return e},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(e){t.isScrollTo&&t.preventDefault(e),t.startPoint=t.getPoint(e),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var o=t.getScrollTop();t.isKeepTop=0===o,t.os.pc&&o<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(e){if(t.startPoint){var o=t.getScrollTop();o>0&&(t.isKeepTop=!1);var i=t.getPoint(e),n=i.y-t.startPoint.y;if(n>0){if(o<=0&&(t.preventDefault(e),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var a=Math.abs(t.lastPoint.x-i.x),r=Math.abs(t.lastPoint.y-i.y),s=Math.sqrt(a*a+r*r);if(0!==s){var l=Math.asin(r/s)/Math.PI*180;if(l<t.optDown.minAngle)return}if(t.maxTouchmoveY>0&&i.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=i.y-t.lastPoint.y;t.downHight||(t.downHight=0),t.downHight<t.optDown.offset?(1!==t.movetype&&(t.movetype=1,t.optDown.inOffset(t),t.downwarp.classList.remove(t.optDown.resetClass),t.isMoveDown=!0,t.os.ios&&!t.isKeepTop&&(t.scrollDom.classList.add(t.optDown.hardwareClass),t.scrollDom.style.webkitOverflowScrolling="auto",t.isSetScrollAuto=!0)),t.downHight+=c*t.optDown.inOffsetRate):(2!==t.movetype&&(t.movetype=2,t.optDown.outOffset(t),t.downwarp.classList.remove(t.optDown.resetClass),t.isMoveDown=!0,t.os.ios&&!t.isKeepTop&&(t.scrollDom.classList.add(t.optDown.hardwareClass),t.scrollDom.style.webkitOverflowScrolling="auto",t.isSetScrollAuto=!0)),t.downHight+=c>0?c*t.optDown.outOffsetRate:c),t.downwarp.style.height=t.downHight+"px";var u=t.downHight/t.optDown.offset;t.optDown.onMoving(t,u,t.downHight)}}else if(n<0){var p=t.getScrollHeight(),d=t.getClientHeight(),h=p-d-o;!t.optUp.isBounce&&h<=0&&t.preventDefault(e),t.optUp.use&&!t.optUp.isLock&&t.optUp.hasNext&&!t.isUpScrolling&&(!t.isDownScrolling||t.isDownScrolling&&t.optDown.isBoth)&&(d+t.optUp.offset>=p||h<=0)&&t.triggerUpScroll()}t.lastPoint=i}},t.scrollDom.addEventListener("touchmove",t.touchmoveEvent,{passive:!1}),t.touchendEvent=function(){t.optDown.use&&t.isMoveDown&&(t.downHight>=t.optDown.offset?t.triggerDownScroll():(t.downwarp.classList.add(t.optDown.resetClass),t.downHight=0,t.downwarp.style.height=0),t.isSetScrollAuto&&(t.scrollDom.style.webkitOverflowScrolling="touch",t.scrollDom.classList.remove(t.optDown.hardwareClass),t.isSetScrollAuto=!1),t.movetype=0,t.isMoveDown=!1),t.os.pc&&(t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),document.ondragstart=function(){return!0})},t.scrollDom.addEventListener("mouseup",t.touchendEvent),t.scrollDom.addEventListener("mouseleave",t.touchendEvent),t.scrollDom.addEventListener("touchend",t.touchendEvent),t.scrollDom.addEventListener("touchcancel",t.touchendEvent),t.optDown.use){t.downwarp=document.createElement("div"),t.downwarp.className=t.optDown.warpClass,t.downwarp.innerHTML='<div class="downwarp-content">'+t.optDown.htmlContent+"</div>";var e=t.optDown.warpId?t.getDomById(t.optDown.warpId):t.scrollDom;t.optDown.warpId&&e?e.appendChild(t.downwarp):(e||(e=t.scrollDom),e.insertBefore(t.downwarp,t.scrollDom.firstChild)),setTimeout((function(){t.optDown.inited(t,t.downwarp)}),0)}},t.prototype.preventDefault=function(t){t&&t.cancelable&&!t.defaultPrevented&&t.preventDefault()},t.prototype.getPoint=function(t){return{x:t.touches?t.touches[0].pageX:t.clientX,y:t.touches?t.touches[0].pageY:t.clientY}},t.prototype.triggerDownScroll=function(){this.optDown.beforeLoading(this,this.downwarp)||(this.showDownScroll(),this.optDown.callback&&this.optDown.callback(this))},t.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.showLoading(this),this.downHight=this.optDown.offset,this.downwarp.classList.add(this.optDown.resetClass),this.downwarp.style.height=this.optDown.offset+"px"},t.prototype.endDownScroll=function(){var t=this,e=function(){t.downHight=0,t.downwarp.style.height=0,t.isDownScrolling=!1,t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},o=t.optDown.afterLoading(t);"number"===typeof o&&o>0?setTimeout(e,o):e()},t.prototype.lockDownScroll=function(t){null==t&&(t=!0),this.optDown.isLock=t},t.prototype.initUpScroll=function(){var t,e=this;(e.optUp=e.options.up||{use:!1},e.extendUpScroll(e.optUp),e.optUp.scrollbar.use&&e.scrollDom.classList.add(e.optUp.scrollbar.barClass),e.optUp.isBounce||e.setBounce(!1),!1!==e.optUp.use)&&(e.optUp.hasNext=!0,e.upwarp=document.createElement("div"),e.upwarp.className=e.optUp.warpClass,e.optUp.warpId&&(t=e.getDomById(e.optUp.warpId)),t||(t=e.scrollDom),t.appendChild(e.upwarp),e.preScrollY=0,e.lazyStartTime=(new Date).getTime(),e.lazyTag="mescroll-lazying",e.scrollEvent=function(){var t=e.getScrollTop(),o=t-e.preScrollY>0;if(e.preScrollY=t,!e.isUpScrolling&&(!e.isDownScrolling||e.isDownScrolling&&e.optDown.isBoth)&&!e.optUp.isLock&&e.optUp.hasNext){var i=e.getScrollHeight()-e.getClientHeight()-t;i<=e.optUp.offset&&o&&e.triggerUpScroll()}var n=e.optUp.toTop;if((n.src||n.html)&&(t>=n.offset?e.showTopBtn():e.hideTopBtn()),e.optUp.lazyLoad.use){var a=(new Date).getTime();e.lazyTimer&&clearTimeout(e.lazyTimer),a-e.lazyStartTime>=e.optUp.lazyLoad.delay?(e.lazyStartTime=a,e.lazyLoad(0)):e.lazyTimer=e.lazyLoad()}e.optUp.onScroll&&e.optUp.onScroll(e,t,o)},e.isScrollBody?window.addEventListener("scroll",e.scrollEvent):e.scrollDom.addEventListener("scroll",e.scrollEvent),setTimeout((function(){e.optUp.inited(e,e.upwarp)}),0))},t.prototype.setBounce=function(t){!this.isScrollBody&&this.os.ios&&(!1===t?(this.optUp.isBounce=!1,window.addEventListener("touchmove",this.bounceTouchmove,{passive:!1})):(this.optUp.isBounce=!0,window.removeEventListener("touchmove",this.bounceTouchmove)))},t.prototype.bounceTouchmove=function(t){var e=this,o=t.target,i=!0;while(o!==document.body&&o!==document){var n=o.classList;if(n){if(n.contains("mescroll")||n.contains("mescroll-touch")){i=!1;break}if(n.contains("mescroll-touch-x")||n.contains("mescroll-touch-y")){var a=t.touches?t.touches[0].pageX:t.clientX,r=t.touches?t.touches[0].pageY:t.clientY;e.preWinX||(e.preWinX=a),e.preWinY||(e.preWinY=r);var s=Math.abs(e.preWinX-a),l=Math.abs(e.preWinY-r),c=Math.sqrt(s*s+l*l);if(e.preWinX=a,e.preWinY=r,0!==c){var u=Math.asin(l/c)/Math.PI*180;if(u<=45&&n.contains("mescroll-touch-x")||u>45&&n.contains("mescroll-touch-y")){i=!1;break}}}}o=o.parentNode}i&&t.cancelable&&!t.defaultPrevented&&"function"===typeof t.preventDefault&&t.preventDefault()},t.prototype.triggerUpScroll=function(){this.optUp.callback&&!this.isUpScrolling&&(this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.optUp.callback(this.optUp.page,this))},t.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.upwarp.classList.add(this.optUp.hardwareClass),this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.showLoading(this,this.upwarp)},t.prototype.showNoMore=function(){this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.hasNext=!1,this.optUp.showNoMore(this,this.upwarp)},t.prototype.hideUpScroll=function(t){t?this.upwarp.style.display="none":this.upwarp.style.visibility="hidden",this.upwarp.classList.remove(this.optUp.hardwareClass);var e=this.upwarp.getElementsByClassName("upwarp-progress")[0];e&&e.classList.remove("mescroll-rotate")},t.prototype.endUpScroll=function(t,e){null!=t&&(t?this.showNoMore():this.hideUpScroll(e)),this.isUpScrolling=!1},t.prototype.resetUpScroll=function(t){if(this.optUp&&this.optUp.use){var e=this.optUp.page;this.prePageNum=e.num,this.prePageTime=e.time,e.num=1,e.time=null,this.isDownScrolling||!1===t||(null==t?(this.removeEmpty(),this.clearDataList(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.optUp.callback&&this.optUp.callback(e,this)}},t.prototype.setPageNum=function(t){this.optUp.page.num=t-1},t.prototype.setPageSize=function(t){this.optUp.page.size=t},t.prototype.clearDataList=function(){var t=this.optUp.clearId||this.optUp.clearEmptyId;if(t){var e=this.getDomById(t);e&&(e.innerHTML="")}},t.prototype.endByPage=function(t,e,o){var i;this.optUp.use&&null!=e&&(i=this.optUp.page.num<e),this.endSuccess(t,i,o)},t.prototype.endBySize=function(t,e,o){var i;if(this.optUp.use&&null!=e){var n=(this.optUp.page.num-1)*this.optUp.page.size+t;i=n<e}this.endSuccess(t,i,o)},t.prototype.endSuccess=function(t,e,o){var i=this;if(i.isDownScrolling&&i.endDownScroll(),i.optUp.use){var n;if(null!=t){var a=i.optUp.page.num,r=i.optUp.page.size;if(1===a&&(i.clearDataList(),o&&(i.optUp.page.time=o)),t<r||!1===e)if(i.optUp.hasNext=!1,0===t&&1===a)n=!1,i.showEmpty();else{var s=(a-1)*r+t;n=!(s<i.optUp.noMoreSize),i.removeEmpty()}else n=!1,i.optUp.hasNext=!0,i.removeEmpty()}var l=!i.optUp.hasNext;i.endUpScroll(n,l),i.loadFull(),i.optUp.lazyLoad.use&&i.lazyLoad(16)}},t.prototype.endErr=function(){if(this.isDownScrolling){var t=this.optUp.page;t&&this.prePageNum&&(t.num=this.prePageNum,t.time=this.prePageTime),this.endDownScroll()}this.isUpScrolling&&(this.optUp.page.num--,this.endUpScroll(!1))},t.prototype.loadFull=function(){var t=this;t.optUp.loadFull.use&&!t.optUp.isLock&&t.optUp.hasNext&&t.optUp.callback&&t.getScrollHeight()<=t.getClientHeight()&&setTimeout((function(){t.getScrollHeight()<=t.getClientHeight()&&t.triggerUpScroll()}),t.optUp.loadFull.delay)},t.prototype.lockUpScroll=function(t){null==t&&(t=!0),this.optUp.isLock=t},t.prototype.showEmpty=function(){var t=this,e=t.optUp.empty,o=e.warpId||t.optUp.clearEmptyId;if(null!=o){var i=t.getDomById(o);if(i){t.removeEmpty();var n="";if(e.icon&&(n+='<img class="empty-icon" src="'+e.icon+'"/>'),e.tip&&(n+='<p class="empty-tip">'+e.tip+"</p>"),e.btntext&&(n+='<p class="empty-btn">'+e.btntext+"</p>"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=n,i.appendChild(t.emptyDom),e.btnClick){var a=t.emptyDom.getElementsByClassName("empty-btn")[0];e.supportTap?a.addEventListener("tap",(function(o){o.stopPropagation(),t.preventDefault(o),e.btnClick()})):a.onclick=function(){e.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var e,o=this,i=o.optUp.toTop;if(null==o.toTopBtn)i.html?(o.toTopBtn=document.createElement("div"),o.toTopBtn.innerHTML=i.html):(o.toTopBtn=document.createElement("img"),o.toTopBtn.src=i.src),o.toTopBtn.className=i.warpClass,i.supportTap?o.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),o.preventDefault(t);var e=i.btnClick&&i.btnClick();!0!==e&&o.scrollTo(0,o.optUp.toTop.duration)})):o.toTopBtn.onclick=function(){var t=i.btnClick&&i.btnClick();!0!==t&&o.scrollTo(0,o.optUp.toTop.duration)},i.warpId&&(e=o.getDomById(i.warpId)),e||(e=document.body),e.appendChild(o.toTopBtn);o.toTopBtn.classList.remove(i.hideClass),o.toTopBtn.classList.add(i.showClass),o.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var e=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=e,this.toTopBtn.style.webkitAnimationDuration=e}},t.prototype.scrollTo=function(t,e){var o=this,i=o.getScrollTop(),n=t;if(n>0){var a=o.getScrollHeight()-o.getClientHeight();n>a&&(n=a)}else n=0;o.isScrollTo=!0,o.scrollDom.style.webkitOverflowScrolling="auto",o.getStep(i,n,(function(t){o.setScrollTop(t),t===n&&(o.scrollDom.style.webkitOverflowScrolling="touch",o.isScrollTo=!1)}),e)},t.prototype.getStep=function(t,e,o,i,n){var a=e-t;if(0!==i&&0!==a){i=i||300,n=n||30;var r=i/n,s=a/r,l=0,c=window.setInterval((function(){l<r-1?(t+=s,o&&o(t,c),l++):(o&&o(e,c),window.clearInterval(c))}),n)}else o&&o(e)},t.prototype.lazyLoad=function(t){var e=this,o=null!=t?t:e.optUp.lazyLoad.delay,i=setTimeout((function(){for(var t=e.scrollDom.querySelectorAll("["+e.optUp.lazyLoad.attr+"]"),o=t.length,i=0;i<o;i++){var n=t[i];if("true"!==n.getAttribute(e.lazyTag)&&e.isInSee(n,e.optUp.lazyLoad.offset)){var a=n.getAttribute(e.optUp.lazyLoad.attr),r=new Image;r.onload=function(){var t=this.src,o=this.dom,i=e.optUp.lazyLoad.showClass;i&&o.classList.add(i),"IMG"===o.tagName?o.src=t:o.style.backgroundImage="url("+t+")",o.removeAttribute(e.optUp.lazyLoad.attr),o.removeAttribute(e.lazyTag)},r.onerror=function(){this.dom.removeAttribute(e.lazyTag)},r.onabort=function(){this.dom.removeAttribute(e.lazyTag)},r.src=a,n.setAttribute(e.lazyTag,"true"),r.dom=n}}}),o);return i},t.prototype.isInSee=function(t,e){e=e||0;var o=this.getOffsetTop(t),i=this.getScrollTop()-e,n=o+t.offsetHeight,a=i+e+this.getClientHeight()+e;return o<a&&o>=i||n<=a&&n>i},t.prototype.getOffsetTop=function(t){var e=t.offsetTop,o=t.offsetParent;while(null!=o&&o!==this.scrollDom)e+=o.offsetTop+o.clientTop,o=o.offsetParent;return e},t.prototype.getScrollHeight=function(){return this.scrollDom.scrollHeight},t.prototype.getClientHeight=function(){return this.isScrollBody&&"CSS1Compat"===document.compatMode?document.documentElement.clientHeight:this.scrollDom.clientHeight},t.prototype.getBodyHeight=function(){return document.body.clientHeight||document.documentElement.clientHeight},t.prototype.getScrollTop=function(){return this.isScrollBody?document.documentElement.scrollTop||document.body.scrollTop:this.scrollDom.scrollTop},t.prototype.getToBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},t.prototype.setScrollTop=function(t){"number"===typeof t&&(this.isScrollBody?(document.documentElement.scrollTop=t,document.body.scrollTop=t):this.scrollDom.scrollTop=t)},t.prototype.getDomById=function(t){var e;return t&&("string"===typeof t?e=document.getElementById(t):t.nodeType&&(e=t)),e||console.error('the element with id as "'+t+'" can not be found: document.getElementById("'+t+'")==null'),e},t.prototype.removeChild=function(t){if(t){var e=t.parentNode;e&&e.removeChild(t),t=null}},t.prototype.destroy=function(){var t=this;t.scrollDom.removeEventListener("touchstart",t.touchstartEvent),t.scrollDom.removeEventListener("touchmove",t.touchmoveEvent),t.scrollDom.removeEventListener("touchend",t.touchendEvent),t.scrollDom.removeEventListener("touchcancel",t.touchendEvent),t.scrollDom.removeEventListener("mousedown",t.touchstartEvent),t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),t.scrollDom.removeEventListener("mouseup",t.touchendEvent),t.scrollDom.removeEventListener("mouseleave",t.touchendEvent),t.removeChild(t.downwarp),t.isScrollBody?window.removeEventListener("scroll",t.scrollEvent):t.scrollDom.removeEventListener("scroll",t.scrollEvent),t.removeChild(t.upwarp),t.removeChild(t.toTopBtn),t.setBounce(!0)},t}))}}]);
|