mirror of https://github.com/jkjoy/sunpeiwen.git
1 line
168 KiB
Plaintext
1 line
168 KiB
Plaintext
{"version":3,"sources":["webpack://[name]/webpack/universalModuleDefinition","webpack://[name]/webpack/bootstrap","webpack://[name]/./src/js/utils.js","webpack://[name]/./src/template/list-item.art","webpack://[name]/./node_modules/art-template/lib/runtime.js","webpack://[name]/./src/js/icons.js","webpack://[name]/(webpack)/buildin/global.js","webpack://[name]/./node_modules/smoothscroll/smoothscroll.js","webpack://[name]/./src/js/list.js","webpack://[name]/./src/js/events.js","webpack://[name]/./src/js/timer.js","webpack://[name]/./src/js/controller.js","webpack://[name]/./src/template/lrc.art","webpack://[name]/./src/js/lrc.js","webpack://[name]/./src/js/storage.js","webpack://[name]/./src/js/bar.js","webpack://[name]/./node_modules/detect-node/index.js","webpack://[name]/./node_modules/art-template/lib/compile/runtime.js","webpack://[name]/./src/template/player.art","webpack://[name]/./src/js/template.js","webpack://[name]/./src/js/options.js","webpack://[name]/./src/assets/lrc.svg","webpack://[name]/./src/assets/skip.svg","webpack://[name]/./src/assets/right.svg","webpack://[name]/./src/assets/loading.svg","webpack://[name]/./src/assets/loop-none.svg","webpack://[name]/./src/assets/loop-one.svg","webpack://[name]/./src/assets/loop-all.svg","webpack://[name]/./src/assets/menu.svg","webpack://[name]/./src/assets/order-list.svg","webpack://[name]/./src/assets/order-random.svg","webpack://[name]/./src/assets/volume-off.svg","webpack://[name]/./src/assets/volume-down.svg","webpack://[name]/./src/assets/volume-up.svg","webpack://[name]/./src/assets/pause.svg","webpack://[name]/./src/assets/play.svg","webpack://[name]/./node_modules/process/browser.js","webpack://[name]/./node_modules/setimmediate/setImmediate.js","webpack://[name]/./node_modules/timers-browserify/main.js","webpack://[name]/./node_modules/promise-polyfill/lib/index.js","webpack://[name]/./src/js/player.js","webpack://[name]/./src/js/index.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","r","value","n","__esModule","object","property","prototype","hasOwnProperty","p","s","isMobile","test","navigator","userAgent","utils","secondToTime","second","hour","Math","floor","min","sec","map","num","join","getElementViewLeft","element","actualLeft","offsetLeft","current","offsetParent","elementScrollLeft","document","body","scrollLeft","documentElement","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","getElementViewTop","noScrollTop","elementScrollTop","actualTop","offsetTop","scrollTop","storage","set","key","localStorage","setItem","getItem","nameMap","dragStart","dragMove","dragEnd","randomOrder","length","arr","randomIndex","random","itemAtIndex","shuffle","concat","Array","isArray","arr2","from","_toConsumableArray","item","default","$each","$imports","audio","$data","$escape","$value","$index","theme","index","$$out","artist","_play2","_interopRequireDefault","_pause2","_volumeUp2","_volumeDown2","_volumeOff2","_orderRandom2","_orderList2","_menu2","_loopAll2","_loopOne2","_loopNone2","_loading2","_right2","_skip2","_lrc2","obj","Icons","play","pause","volumeUp","volumeDown","volumeOff","orderRandom","orderList","menu","loopAll","loopOne","loopNone","loading","right","skip","lrc","g","_typeof","Symbol","iterator","constructor","this","Function","eval","e","undefined","__WEBPACK_AMD_DEFINE_RESULT__","__WEBPACK_AMD_DEFINE_FACTORY__","querySelectorAll","pageYOffset","history","pushState","position","start","end","elapsed","duration","t","smoothScroll","el","callback","context","parseInt","nodeName","getBoundingClientRect","top","getTop","clock","Date","now","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","step","scroll","linkHandler","ev","defaultPrevented","preventDefault","location","hash","node","getElementById","substring","replace","id","addEventListener","a","internal","_createClass","defineProperties","target","props","descriptor","writable","Constructor","protoProps","staticProps","_listItem2","_utils2","_smoothscroll2","List","player","instance","TypeError","_classCallCheck","audios","options","bindEvents","_this","template","list","tagName","toUpperCase","parentElement","audioIndex","getElementsByClassName","innerHTML","switch","toggle","events","trigger","classList","remove","listOl","add","contains","show","hide","toString","title","author","cover","pic","type","wasSingle","wasEmpty","container","listCurs","style","backgroundColor","order","splice","textContent","clear","backgroundImage","light","setAudio","update","dtime","src","bar","Events","audioEvents","playerEvents","push","data","indexOf","console","error","Timer","oRequestAnimationFrame","msRequestAnimationFrame","types","init","forEach","_this2","lastPlayPos","currentPlayPos","bufferingDetected","loadingChecker","setInterval","enableloadingChecker","currentTime","paused","initfpsChecker","_this3","clearInterval","_icons2","Controller","initPlayButton","initPlayBar","initOrderButton","initLoopButton","initMenuButton","initVolumeButton","initMiniSwitcher","initSkipButton","initLrcButton","thumbMove","percentage","clientX","changedTouches","barWrap","clientWidth","max","ptime","thumbUp","removeEventListener","seek","disableTimeupdate","volumeButton","muted","switchVolumeIcon","volume","clientY","volumeBar","fixed","clientHeight","volumeBarWrap","_this4","_this5","loop","_this6","_this7","miniSwitcher","setMode","mode","_this8","skipBackButton","skipBack","skipForwardButton","skipForward","skipPlayButton","_this9","lrcButton","lyrics","_lrc","Lrc","async","parsed","lrcWrap","arguments","transform","webkitTransform","getElementsByTagName","xhr","XMLHttpRequest","onreadystatechange","readyState","status","parse","responseText","notice","apiurl","open","send","lrc_s","lyric","match","p1","split","lyricLen","lrcTimes","lrcText","timeLen","j","oneTime","exec","lrcTime","filter","sort","b","_utils","Storage","storageName","JSON","stringify","Bar","elements","played","loaded","direction","parseFloat","global","process","detectNode","runtime","create","ESCAPE_REG","content","html","regexResult","result","lastIndex","char","charCodeAt","xmlEscape","len","_i","getObject","listFolded","listMaxHeight","include","icons","_player2","Template","querySelector","info","time","button","thumb","defaultOption","mini","narrow","autoplay","mutex","lrcType","showlrc","preload","listmaxheight","music","defaultKey","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","array","noop","nextTick","args","apply","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","setImmediate","registerImmediate","channel","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","doc","attachTo","getPrototypeOf","handle","runIfPresent","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","canUsePostMessage","MessageChannel","port1","event","port2","createElement","script","removeChild","appendChild","source","slice","attachEvent","task","clearImmediate","self","Timeout","clearFn","_id","_clearFn","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","setTimeoutFunc","Promise","_state","_handled","_value","_deferreds","doResolve","deferred","_immediateFn","cb","onFulfilled","onRejected","ret","reject","promise","resolve","newValue","then","finale","thisArg","_unhandledRejectionFn","done","reason","ex","prom","all","remaining","res","val","race","values","err","warn","_promisePolyfill2","_options2","_template2","_bar2","_storage2","_controller2","_timer2","_events2","_list2","instances","APlayer","playedPromise","arrow","offsetWidth","lrcEle","width","display","controller","timer","initAudio","_loop","setUIPlaying","setUIPaused","buffered","skipTime","nextIndex","hls","destroy","customAudioType","url","Hls","isSupported","loadSource","attachMedia","canPlayType","color","background","enable","playPromise","catch","disable","nostorage","isNaN","text","opacity","noticeTime","prevIndex","_player","log"],"mappings":"CAAA,SAAAA,EAAAC,GACA,iBAAAC,SAAA,iBAAAC,OACAA,OAAAD,QAAAD,IACA,mBAAAG,eAAAC,IACAD,OAAA,aAAAH,GACA,iBAAAC,QACAA,QAAA,QAAAD,IAEAD,EAAA,QAAAC,IARA,CASCK,OAAA,WACD,mBCTA,IAAAC,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAP,QAGA,IAAAC,EAAAI,EAAAE,IACAC,EAAAD,EACAE,GAAA,EACAT,YAUA,OANAU,EAAAH,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAQ,GAAA,EAGAR,EAAAD,QA2CA,OAtCAM,EAAAM,EAAAF,EAGAJ,EAAAO,EAAAR,EAGAC,EAAAQ,EAAA,SAAAd,EAAAe,EAAAC,GACAV,EAAAW,EAAAjB,EAAAe,IAC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hE,YAAAuB,EAAA,OASA/B,IAAA,YACA9C,MAAA,WACA,KAAAsH,KAAAwE,KAAAL,OAAAlI,OAAA,GAYA,SAXA,YAAA+D,KAAAoE,QAAAkC,MACA,OAAAtG,KAAAwE,KAAAjH,MAAA,GAAAyC,KAAAwE,KAAAL,OAAAlI,OACqB,cAAA+D,KAAAoE,QAAAkC,MAAA,CACrB,IAAA/I,EAAAyC,KAAAhE,YAAAsL,QAAAtH,KAAAwE,KAAAjH,OACA,OAAAA,IAAAyC,KAAAhE,YAAAC,OAAA,EACA+D,KAAAhE,YAAA,GAEAgE,KAAAhE,YAAAuB,EAAA,OASA/B,IAAA,WACA9C,MAAA,WACAsH,KAAAwE,KAAAO,OAAA/E,KAAA6b,gBAIArgB,IAAA,cACA9C,MAAA,WACAsH,KAAAwE,KAAAO,OAAA/E,KAAAwa,gBAIAhf,IAAA,WACAhD,IAAA,WACA,OAAAijB,MAAAzb,KAAA/C,MAAA8D,UAAA,EAAAf,KAAA/C,MAAA8D,cAIAvF,IAAA,UACAhD,IAAA,WACA,mBAGAihB,EA5dA,GA8dAviB,EAAA4F,QAAA2c,mDCnhBArhB,OAAAC,eAAAnB,EAAA,cAA8CwB,OAAA,IAC9ClB,EAAA,IACA,IAEAkH,EAFAod,EAAAtkB,EAAA,IACAwY,GACAtR,EADAod,IAEApd,EAAA9F,WAAA8F,GAA0C5B,QAAA4B,GAE1C6I,QAAAwU,IAAA,kHAAiK,uCACjK7kB,EAAA4F,QAAAkT,EAAAlT","file":"APlayer.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"APlayer\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"APlayer\"] = factory();\n\telse\n\t\troot[\"APlayer\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 41);\n","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nfunction _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n } else {\n return Array.from(arr);\n }\n}\nvar isMobile = /mobile/i.test(window.navigator.userAgent);\nvar utils = {\n secondToTime: function secondToTime(second) {\n var add0 = function add0(num) {\n return num < 10 ? '0' + num : '' + num;\n };\n var hour = Math.floor(second / 3600);\n var min = Math.floor((second - hour * 3600) / 60);\n var sec = Math.floor(second - hour * 3600 - min * 60);\n return (hour > 0 ? [\n hour,\n min,\n sec\n ] : [\n min,\n sec\n ]).map(add0).join(':');\n },\n getElementViewLeft: function getElementViewLeft(element) {\n var actualLeft = element.offsetLeft;\n var current = element.offsetParent;\n var elementScrollLeft = document.body.scrollLeft + document.documentElement.scrollLeft;\n if (!document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement) {\n while (current !== null) {\n actualLeft += current.offsetLeft;\n current = current.offsetParent;\n }\n } else {\n while (current !== null && current !== element) {\n actualLeft += current.offsetLeft;\n current = current.offsetParent;\n }\n }\n return actualLeft - elementScrollLeft;\n },\n getElementViewTop: function getElementViewTop(element, noScrollTop) {\n var actualTop = element.offsetTop;\n var current = element.offsetParent;\n var elementScrollTop = 0;\n while (current !== null) {\n actualTop += current.offsetTop;\n current = current.offsetParent;\n }\n elementScrollTop = document.body.scrollTop + document.documentElement.scrollTop;\n return noScrollTop ? actualTop : actualTop - elementScrollTop;\n },\n isMobile: isMobile,\n storage: {\n set: function set(key, value) {\n localStorage.setItem(key, value);\n },\n get: function get(key) {\n return localStorage.getItem(key);\n }\n },\n nameMap: {\n dragStart: isMobile ? 'touchstart' : 'mousedown',\n dragMove: isMobile ? 'touchmove' : 'mousemove',\n dragEnd: isMobile ? 'touchend' : 'mouseup'\n },\n randomOrder: function randomOrder(length) {\n function shuffle(arr) {\n for (var i = arr.length - 1; i >= 0; i--) {\n var randomIndex = Math.floor(Math.random() * (i + 1));\n var itemAtIndex = arr[randomIndex];\n arr[randomIndex] = arr[i];\n arr[i] = itemAtIndex;\n }\n return arr;\n }\n return shuffle([].concat(_toConsumableArray(Array(length))).map(function (item, i) {\n return i;\n }));\n }\n};\nexports.default = utils;","{{each audio}}\n<li>\n <span class=\"aplayer-list-cur\" style=\"background-color: {{ $value.theme || theme }};\"></span>\n <span class=\"aplayer-list-index\">{{ $index + index }}</span>\n <span class=\"aplayer-list-title\">{{ $value.name }}</span>\n <span class=\"aplayer-list-author\">{{ $value.artist }}</span>\n</li>\n{{/each}}","'use strict';\nmodule.exports = require('./compile/runtime');","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _play = require('../assets/play.svg');\nvar _play2 = _interopRequireDefault(_play);\nvar _pause = require('../assets/pause.svg');\nvar _pause2 = _interopRequireDefault(_pause);\nvar _volumeUp = require('../assets/volume-up.svg');\nvar _volumeUp2 = _interopRequireDefault(_volumeUp);\nvar _volumeDown = require('../assets/volume-down.svg');\nvar _volumeDown2 = _interopRequireDefault(_volumeDown);\nvar _volumeOff = require('../assets/volume-off.svg');\nvar _volumeOff2 = _interopRequireDefault(_volumeOff);\nvar _orderRandom = require('../assets/order-random.svg');\nvar _orderRandom2 = _interopRequireDefault(_orderRandom);\nvar _orderList = require('../assets/order-list.svg');\nvar _orderList2 = _interopRequireDefault(_orderList);\nvar _menu = require('../assets/menu.svg');\nvar _menu2 = _interopRequireDefault(_menu);\nvar _loopAll = require('../assets/loop-all.svg');\nvar _loopAll2 = _interopRequireDefault(_loopAll);\nvar _loopOne = require('../assets/loop-one.svg');\nvar _loopOne2 = _interopRequireDefault(_loopOne);\nvar _loopNone = require('../assets/loop-none.svg');\nvar _loopNone2 = _interopRequireDefault(_loopNone);\nvar _loading = require('../assets/loading.svg');\nvar _loading2 = _interopRequireDefault(_loading);\nvar _right = require('../assets/right.svg');\nvar _right2 = _interopRequireDefault(_right);\nvar _skip = require('../assets/skip.svg');\nvar _skip2 = _interopRequireDefault(_skip);\nvar _lrc = require('../assets/lrc.svg');\nvar _lrc2 = _interopRequireDefault(_lrc);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nvar Icons = {\n play: _play2.default,\n pause: _pause2.default,\n volumeUp: _volumeUp2.default,\n volumeDown: _volumeDown2.default,\n volumeOff: _volumeOff2.default,\n orderRandom: _orderRandom2.default,\n orderList: _orderList2.default,\n menu: _menu2.default,\n loopAll: _loopAll2.default,\n loopOne: _loopOne2.default,\n loopNone: _loopNone2.default,\n loading: _loading2.default,\n right: _right2.default,\n skip: _skip2.default,\n lrc: _lrc2.default\n};\nexports.default = Icons;","'use strict';\nvar _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;\n};\nvar g;\ng = function () {\n return this;\n}();\ntry {\n g = g || Function('return this')() || (1, eval)('this');\n} catch (e) {\n if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object')\n g = window;\n}\nmodule.exports = g;","'use strict';\nvar _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;\n};\n(function (root, smoothScroll) {\n 'use strict';\n if (typeof define === 'function' && define.amd) {\n define(smoothScroll);\n } else if ((typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object' && (typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object') {\n module.exports = smoothScroll();\n } else {\n root.smoothScroll = smoothScroll();\n }\n}(undefined, function () {\n 'use strict';\n if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) !== 'object')\n return;\n if (document.querySelectorAll === void 0 || window.pageYOffset === void 0 || history.pushState === void 0) {\n return;\n }\n var getTop = function getTop(element, start) {\n if (element.nodeName === 'HTML')\n return -start;\n return element.getBoundingClientRect().top + start;\n };\n var easeInOutCubic = function easeInOutCubic(t) {\n return t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1;\n };\n var position = function position(start, end, elapsed, duration) {\n if (elapsed > duration)\n return end;\n return start + (end - start) * easeInOutCubic(elapsed / duration);\n };\n var smoothScroll = function smoothScroll(el, duration, callback, context) {\n duration = duration || 500;\n context = context || window;\n var start = context.scrollTop || window.pageYOffset;\n if (typeof el === 'number') {\n var end = parseInt(el);\n } else {\n var end = getTop(el, start);\n }\n var clock = Date.now();\n var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n window.setTimeout(fn, 15);\n };\n var step = function step() {\n var elapsed = Date.now() - clock;\n if (context !== window) {\n context.scrollTop = position(start, end, elapsed, duration);\n } else {\n window.scroll(0, position(start, end, elapsed, duration));\n }\n if (elapsed > duration) {\n if (typeof callback === 'function') {\n callback(el);\n }\n } else {\n requestAnimationFrame(step);\n }\n };\n step();\n };\n var linkHandler = function linkHandler(ev) {\n if (!ev.defaultPrevented) {\n ev.preventDefault();\n if (location.hash !== this.hash)\n window.history.pushState(null, null, this.hash);\n var node = document.getElementById(this.hash.substring(1));\n if (!node)\n return;\n smoothScroll(node, 500, function (el) {\n location.replace('#' + el.id);\n });\n }\n };\n document.addEventListener('DOMContentLoaded', function () {\n var internal = document.querySelectorAll('a[href^=\"#\"]:not([href=\"#\"])'), a;\n for (var i = internal.length; a = internal[--i];) {\n a.addEventListener('click', linkHandler, false);\n }\n });\n return smoothScroll;\n}));","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _listItem = require('../template/list-item.art');\nvar _listItem2 = _interopRequireDefault(_listItem);\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nvar _smoothscroll = require('smoothscroll');\nvar _smoothscroll2 = _interopRequireDefault(_smoothscroll);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar List = function () {\n function List(player) {\n _classCallCheck(this, List);\n this.player = player;\n this.index = 0;\n this.audios = this.player.options.audio;\n this.bindEvents();\n }\n _createClass(List, [\n {\n key: 'bindEvents',\n value: function bindEvents() {\n var _this = this;\n this.player.template.list.addEventListener('click', function (e) {\n var target = void 0;\n if (e.target.tagName.toUpperCase() === 'LI') {\n target = e.target;\n } else {\n target = e.target.parentElement;\n }\n var audioIndex = parseInt(target.getElementsByClassName('aplayer-list-index')[0].innerHTML) - 1;\n if (audioIndex !== _this.index) {\n _this.switch(audioIndex);\n _this.player.play();\n } else {\n _this.player.toggle();\n }\n });\n }\n },\n {\n key: 'show',\n value: function show() {\n this.player.events.trigger('listshow');\n this.player.template.list.classList.remove('aplayer-list-hide');\n this.player.template.listOl.scrollTop = this.index * 33;\n }\n },\n {\n key: 'hide',\n value: function hide() {\n this.player.events.trigger('listhide');\n this.player.template.list.classList.add('aplayer-list-hide');\n }\n },\n {\n key: 'toggle',\n value: function toggle() {\n if (!this.player.template.list.classList.contains('aplayer-list-hide')) {\n this.hide();\n } else {\n this.show();\n }\n }\n },\n {\n key: 'add',\n value: function add(audios) {\n this.player.events.trigger('listadd', { audios: audios });\n if (Object.prototype.toString.call(audios) !== '[object Array]') {\n audios = [audios];\n }\n audios.map(function (item) {\n item.name = item.name || item.title || 'Audio name';\n item.artist = item.artist || item.author || 'Audio artist';\n item.cover = item.cover || item.pic;\n item.type = item.type || 'normal';\n return item;\n });\n var wasSingle = !(this.audios.length > 1);\n var wasEmpty = this.audios.length === 0;\n this.player.template.listOl.innerHTML += (0, _listItem2.default)({\n theme: this.player.options.theme,\n audio: audios,\n index: this.audios.length + 1\n });\n this.audios = this.audios.concat(audios);\n if (wasSingle && this.audios.length > 1) {\n this.player.container.classList.add('aplayer-withlist');\n }\n this.player.randomOrder = _utils2.default.randomOrder(this.audios.length);\n this.player.template.listCurs = this.player.container.querySelectorAll('.aplayer-list-cur');\n this.player.template.listCurs[this.audios.length - 1].style.backgroundColor = audios.theme || this.player.options.theme;\n if (wasEmpty) {\n if (this.player.options.order === 'random') {\n this.switch(this.player.randomOrder[0]);\n } else {\n this.switch(0);\n }\n }\n }\n },\n {\n key: 'remove',\n value: function remove(index) {\n this.player.events.trigger('listremove', { index: index });\n if (this.audios[index]) {\n if (this.audios.length > 1) {\n var list = this.player.container.querySelectorAll('.aplayer-list li');\n list[index].remove();\n this.audios.splice(index, 1);\n this.player.lrc && this.player.lrc.remove(index);\n if (index === this.index) {\n if (this.audios[index]) {\n this.switch(index);\n } else {\n this.switch(index - 1);\n }\n }\n if (this.index > index) {\n this.index--;\n }\n for (var i = index; i < list.length; i++) {\n list[i].getElementsByClassName('aplayer-list-index')[0].textContent = i;\n }\n if (this.audios.length === 1) {\n this.player.container.classList.remove('aplayer-withlist');\n }\n this.player.template.listCurs = this.player.container.querySelectorAll('.aplayer-list-cur');\n } else {\n this.clear();\n }\n }\n }\n },\n {\n key: 'switch',\n value: function _switch(index) {\n this.player.events.trigger('listswitch', { index: index });\n if (typeof index !== 'undefined' && this.audios[index]) {\n this.index = index;\n var audio = this.audios[this.index];\n this.player.template.pic.style.backgroundImage = audio.cover ? 'url(\\'' + audio.cover + '\\')' : '';\n this.player.theme(this.audios[this.index].theme || this.player.options.theme, this.index, false);\n this.player.template.title.innerHTML = audio.name;\n this.player.template.author.innerHTML = audio.artist ? ' - ' + audio.artist : '';\n var light = this.player.container.getElementsByClassName('aplayer-list-light')[0];\n if (light) {\n light.classList.remove('aplayer-list-light');\n }\n this.player.container.querySelectorAll('.aplayer-list li')[this.index].classList.add('aplayer-list-light');\n (0, _smoothscroll2.default)(this.index * 33, 500, null, this.player.template.listOl);\n this.player.setAudio(audio);\n this.player.lrc && this.player.lrc.switch(this.index);\n this.player.lrc && this.player.lrc.update(0);\n if (this.player.duration !== 1) {\n this.player.template.dtime.innerHTML = _utils2.default.secondToTime(this.player.duration);\n }\n }\n }\n },\n {\n key: 'clear',\n value: function clear() {\n this.player.events.trigger('listclear');\n this.index = 0;\n this.player.container.classList.remove('aplayer-withlist');\n this.player.pause();\n this.audios = [];\n this.player.lrc && this.player.lrc.clear();\n this.player.audio.src = '';\n this.player.template.listOl.innerHTML = '';\n this.player.template.pic.style.backgroundImage = '';\n this.player.theme(this.player.options.theme, this.index, false);\n this.player.template.title.innerHTML = 'No audio';\n this.player.template.author.innerHTML = '';\n this.player.bar.set('loaded', 0, 'width');\n this.player.template.dtime.innerHTML = _utils2.default.secondToTime(0);\n }\n }\n ]);\n return List;\n}();\nexports.default = List;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Events = function () {\n function Events() {\n _classCallCheck(this, Events);\n this.events = {};\n this.audioEvents = [\n 'abort',\n 'canplay',\n 'canplaythrough',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'loadeddata',\n 'loadedmetadata',\n 'loadstart',\n 'mozaudioavailable',\n 'pause',\n 'play',\n 'playing',\n 'progress',\n 'ratechange',\n 'seeked',\n 'seeking',\n 'stalled',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'waiting'\n ];\n this.playerEvents = [\n 'destroy',\n 'listshow',\n 'listhide',\n 'listadd',\n 'listremove',\n 'listswitch',\n 'listclear',\n 'noticeshow',\n 'noticehide',\n 'lrcshow',\n 'lrchide'\n ];\n }\n _createClass(Events, [\n {\n key: 'on',\n value: function on(name, callback) {\n if (this.type(name) && typeof callback === 'function') {\n if (!this.events[name]) {\n this.events[name] = [];\n }\n this.events[name].push(callback);\n }\n }\n },\n {\n key: 'trigger',\n value: function trigger(name, data) {\n if (this.events[name] && this.events[name].length) {\n for (var i = 0; i < this.events[name].length; i++) {\n this.events[name][i](data);\n }\n }\n }\n },\n {\n key: 'type',\n value: function type(name) {\n if (this.playerEvents.indexOf(name) !== -1) {\n return 'player';\n } else if (this.audioEvents.indexOf(name) !== -1) {\n return 'audio';\n }\n console.error('Unknown event name: ' + name);\n return null;\n }\n }\n ]);\n return Events;\n}();\nexports.default = Events;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Timer = function () {\n function Timer(player) {\n _classCallCheck(this, Timer);\n this.player = player;\n window.requestAnimationFrame = function () {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) {\n window.setTimeout(callback, 1000 / 60);\n };\n }();\n this.types = ['loading'];\n this.init();\n }\n _createClass(Timer, [\n {\n key: 'init',\n value: function init() {\n var _this = this;\n this.types.forEach(function (item) {\n _this['init' + item + 'Checker']();\n });\n }\n },\n {\n key: 'initloadingChecker',\n value: function initloadingChecker() {\n var _this2 = this;\n var lastPlayPos = 0;\n var currentPlayPos = 0;\n var bufferingDetected = false;\n this.loadingChecker = setInterval(function () {\n if (_this2.enableloadingChecker) {\n currentPlayPos = _this2.player.audio.currentTime;\n if (!bufferingDetected && currentPlayPos === lastPlayPos && !_this2.player.audio.paused) {\n _this2.player.container.classList.add('aplayer-loading');\n bufferingDetected = true;\n }\n if (bufferingDetected && currentPlayPos > lastPlayPos && !_this2.player.audio.paused) {\n _this2.player.container.classList.remove('aplayer-loading');\n bufferingDetected = false;\n }\n lastPlayPos = currentPlayPos;\n }\n }, 100);\n }\n },\n {\n key: 'enable',\n value: function enable(type) {\n this['enable' + type + 'Checker'] = true;\n if (type === 'fps') {\n this.initfpsChecker();\n }\n }\n },\n {\n key: 'disable',\n value: function disable(type) {\n this['enable' + type + 'Checker'] = false;\n }\n },\n {\n key: 'destroy',\n value: function destroy() {\n var _this3 = this;\n this.types.forEach(function (item) {\n _this3['enable' + item + 'Checker'] = false;\n _this3[item + 'Checker'] && clearInterval(_this3[item + 'Checker']);\n });\n }\n }\n ]);\n return Timer;\n}();\nexports.default = Timer;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nvar _icons = require('./icons');\nvar _icons2 = _interopRequireDefault(_icons);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Controller = function () {\n function Controller(player) {\n _classCallCheck(this, Controller);\n this.player = player;\n this.initPlayButton();\n this.initPlayBar();\n this.initOrderButton();\n this.initLoopButton();\n this.initMenuButton();\n if (!_utils2.default.isMobile) {\n this.initVolumeButton();\n }\n this.initMiniSwitcher();\n this.initSkipButton();\n this.initLrcButton();\n }\n _createClass(Controller, [\n {\n key: 'initPlayButton',\n value: function initPlayButton() {\n var _this = this;\n this.player.template.pic.addEventListener('click', function () {\n _this.player.toggle();\n });\n }\n },\n {\n key: 'initPlayBar',\n value: function initPlayBar() {\n var _this2 = this;\n var thumbMove = function thumbMove(e) {\n var percentage = ((e.clientX || e.changedTouches[0].clientX) - _utils2.default.getElementViewLeft(_this2.player.template.barWrap)) / _this2.player.template.barWrap.clientWidth;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this2.player.bar.set('played', percentage, 'width');\n _this2.player.lrc && _this2.player.lrc.update(percentage * _this2.player.duration);\n _this2.player.template.ptime.innerHTML = _utils2.default.secondToTime(percentage * _this2.player.duration);\n };\n var thumbUp = function thumbUp(e) {\n document.removeEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n document.removeEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n var percentage = ((e.clientX || e.changedTouches[0].clientX) - _utils2.default.getElementViewLeft(_this2.player.template.barWrap)) / _this2.player.template.barWrap.clientWidth;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this2.player.bar.set('played', percentage, 'width');\n _this2.player.seek(_this2.player.bar.get('played', 'width') * _this2.player.duration);\n _this2.player.disableTimeupdate = false;\n };\n this.player.template.barWrap.addEventListener(_utils2.default.nameMap.dragStart, function () {\n _this2.player.disableTimeupdate = true;\n document.addEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n document.addEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n });\n }\n },\n {\n key: 'initVolumeButton',\n value: function initVolumeButton() {\n var _this3 = this;\n this.player.template.volumeButton.addEventListener('click', function () {\n if (_this3.player.audio.muted) {\n _this3.player.audio.muted = false;\n _this3.player.switchVolumeIcon();\n _this3.player.bar.set('volume', _this3.player.volume(), 'height');\n } else {\n _this3.player.audio.muted = true;\n _this3.player.switchVolumeIcon();\n _this3.player.bar.set('volume', 0, 'height');\n }\n });\n var thumbMove = function thumbMove(e) {\n var percentage = 1 - ((e.clientY || e.changedTouches[0].clientY) - _utils2.default.getElementViewTop(_this3.player.template.volumeBar, _this3.player.options.fixed)) / _this3.player.template.volumeBar.clientHeight;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this3.player.volume(percentage);\n };\n var thumbUp = function thumbUp(e) {\n _this3.player.template.volumeBarWrap.classList.remove('aplayer-volume-bar-wrap-active');\n document.removeEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n document.removeEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n var percentage = 1 - ((e.clientY || e.changedTouches[0].clientY) - _utils2.default.getElementViewTop(_this3.player.template.volumeBar, _this3.player.options.fixed)) / _this3.player.template.volumeBar.clientHeight;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this3.player.volume(percentage);\n };\n this.player.template.volumeBarWrap.addEventListener(_utils2.default.nameMap.dragStart, function () {\n _this3.player.template.volumeBarWrap.classList.add('aplayer-volume-bar-wrap-active');\n document.addEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n document.addEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n });\n }\n },\n {\n key: 'initOrderButton',\n value: function initOrderButton() {\n var _this4 = this;\n this.player.template.order.addEventListener('click', function () {\n if (_this4.player.options.order === 'list') {\n _this4.player.options.order = 'random';\n _this4.player.template.order.innerHTML = _icons2.default.orderRandom;\n } else if (_this4.player.options.order === 'random') {\n _this4.player.options.order = 'list';\n _this4.player.template.order.innerHTML = _icons2.default.orderList;\n }\n });\n }\n },\n {\n key: 'initLoopButton',\n value: function initLoopButton() {\n var _this5 = this;\n this.player.template.loop.addEventListener('click', function () {\n if (_this5.player.list.audios.length > 1) {\n if (_this5.player.options.loop === 'one') {\n _this5.player.options.loop = 'none';\n _this5.player.template.loop.innerHTML = _icons2.default.loopNone;\n } else if (_this5.player.options.loop === 'none') {\n _this5.player.options.loop = 'all';\n _this5.player.template.loop.innerHTML = _icons2.default.loopAll;\n } else if (_this5.player.options.loop === 'all') {\n _this5.player.options.loop = 'one';\n _this5.player.template.loop.innerHTML = _icons2.default.loopOne;\n }\n } else {\n if (_this5.player.options.loop === 'one' || _this5.player.options.loop === 'all') {\n _this5.player.options.loop = 'none';\n _this5.player.template.loop.innerHTML = _icons2.default.loopNone;\n } else if (_this5.player.options.loop === 'none') {\n _this5.player.options.loop = 'all';\n _this5.player.template.loop.innerHTML = _icons2.default.loopAll;\n }\n }\n });\n }\n },\n {\n key: 'initMenuButton',\n value: function initMenuButton() {\n var _this6 = this;\n this.player.template.menu.addEventListener('click', function () {\n _this6.player.list.toggle();\n });\n }\n },\n {\n key: 'initMiniSwitcher',\n value: function initMiniSwitcher() {\n var _this7 = this;\n this.player.template.miniSwitcher.addEventListener('click', function () {\n _this7.player.setMode(_this7.player.mode === 'mini' ? 'normal' : 'mini');\n });\n }\n },\n {\n key: 'initSkipButton',\n value: function initSkipButton() {\n var _this8 = this;\n this.player.template.skipBackButton.addEventListener('click', function () {\n _this8.player.skipBack();\n });\n this.player.template.skipForwardButton.addEventListener('click', function () {\n _this8.player.skipForward();\n });\n this.player.template.skipPlayButton.addEventListener('click', function () {\n _this8.player.toggle();\n });\n }\n },\n {\n key: 'initLrcButton',\n value: function initLrcButton() {\n var _this9 = this;\n this.player.template.lrcButton.addEventListener('click', function () {\n if (_this9.player.template.lrcButton.classList.contains('aplayer-icon-lrc-inactivity')) {\n _this9.player.template.lrcButton.classList.remove('aplayer-icon-lrc-inactivity');\n _this9.player.lrc && _this9.player.lrc.show();\n } else {\n _this9.player.template.lrcButton.classList.add('aplayer-icon-lrc-inactivity');\n _this9.player.lrc && _this9.player.lrc.hide();\n }\n });\n }\n }\n ]);\n return Controller;\n}();\nexports.default = Controller;","{{each lyrics}}\n <p{{ if $index === 0 }} class=\"aplayer-lrc-current\"{{ /if }}>{{$value[1]}}</p>\n{{/each}}","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _lrc = require('../template/lrc.art');\nvar _lrc2 = _interopRequireDefault(_lrc);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Lrc = function () {\n function Lrc(options) {\n _classCallCheck(this, Lrc);\n this.container = options.container;\n this.async = options.async;\n this.player = options.player;\n this.parsed = [];\n this.index = 0;\n this.current = [];\n }\n _createClass(Lrc, [\n {\n key: 'show',\n value: function show() {\n this.player.events.trigger('lrcshow');\n this.player.template.lrcWrap.classList.remove('aplayer-lrc-hide');\n }\n },\n {\n key: 'hide',\n value: function hide() {\n this.player.events.trigger('lrchide');\n this.player.template.lrcWrap.classList.add('aplayer-lrc-hide');\n }\n },\n {\n key: 'toggle',\n value: function toggle() {\n if (this.player.template.lrcWrap.classList.contains('aplayer-lrc-hide')) {\n this.show();\n } else {\n this.hide();\n }\n }\n },\n {\n key: 'update',\n value: function update() {\n var currentTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.player.audio.currentTime;\n if (this.index > this.current.length - 1 || currentTime < this.current[this.index][0] || !this.current[this.index + 1] || currentTime >= this.current[this.index + 1][0]) {\n for (var i = 0; i < this.current.length; i++) {\n if (currentTime >= this.current[i][0] && (!this.current[i + 1] || currentTime < this.current[i + 1][0])) {\n this.index = i;\n this.container.style.transform = 'translateY(' + -this.index * 16 + 'px)';\n this.container.style.webkitTransform = 'translateY(' + -this.index * 16 + 'px)';\n this.container.getElementsByClassName('aplayer-lrc-current')[0].classList.remove('aplayer-lrc-current');\n this.container.getElementsByTagName('p')[i].classList.add('aplayer-lrc-current');\n }\n }\n }\n }\n },\n {\n key: 'switch',\n value: function _switch(index) {\n var _this = this;\n if (!this.parsed[index]) {\n if (!this.async) {\n if (this.player.list.audios[index].lrc) {\n this.parsed[index] = this.parse(this.player.list.audios[index].lrc);\n } else {\n this.parsed[index] = [[\n '00:00',\n 'Not available'\n ]];\n }\n } else {\n this.parsed[index] = [[\n '00:00',\n 'Loading'\n ]];\n var xhr = new XMLHttpRequest();\n xhr.onreadystatechange = function () {\n if (index === _this.player.list.index && xhr.readyState === 4) {\n if (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) {\n _this.parsed[index] = _this.parse(xhr.responseText);\n } else {\n _this.player.notice('LRC file request fails: status ' + xhr.status);\n _this.parsed[index] = [[\n '00:00',\n 'Not available'\n ]];\n }\n _this.container.innerHTML = (0, _lrc2.default)({ lyrics: _this.parsed[index] });\n _this.update(0);\n _this.current = _this.parsed[index];\n }\n };\n var apiurl = this.player.list.audios[index].lrc;\n xhr.open('get', apiurl, true);\n xhr.send(null);\n }\n }\n this.container.innerHTML = (0, _lrc2.default)({ lyrics: this.parsed[index] });\n this.update(0);\n this.current = this.parsed[index];\n }\n },\n {\n key: 'parse',\n value: function parse(lrc_s) {\n if (lrc_s) {\n lrc_s = lrc_s.replace(/([^\\]^\\n])\\[/g, function (match, p1) {\n return p1 + '\\n[';\n });\n var lyric = lrc_s.split('\\n');\n var lrc = [];\n var lyricLen = lyric.length;\n for (var i = 0; i < lyricLen; i++) {\n var lrcTimes = lyric[i].match(/\\[(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?]/g);\n var lrcText = lyric[i].replace(/.*\\[(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?]/g, '').replace(/<(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?>/g, '').replace(/^\\s+|\\s+$/g, '');\n if (lrcTimes) {\n var timeLen = lrcTimes.length;\n for (var j = 0; j < timeLen; j++) {\n var oneTime = /\\[(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?]/.exec(lrcTimes[j]);\n var min2sec = oneTime[1] * 60;\n var sec2sec = parseInt(oneTime[2]);\n var msec2sec = oneTime[4] ? parseInt(oneTime[4]) / ((oneTime[4] + '').length === 2 ? 100 : 1000) : 0;\n var lrcTime = min2sec + sec2sec + msec2sec;\n lrc.push([\n lrcTime,\n lrcText\n ]);\n }\n }\n }\n lrc = lrc.filter(function (item) {\n return item[1];\n });\n lrc.sort(function (a, b) {\n return a[0] - b[0];\n });\n return lrc;\n } else {\n return [];\n }\n }\n },\n {\n key: 'remove',\n value: function remove(index) {\n this.parsed.splice(index, 1);\n }\n },\n {\n key: 'clear',\n value: function clear() {\n this.parsed = [];\n this.container.innerHTML = '';\n }\n }\n ]);\n return Lrc;\n}();\nexports.default = Lrc;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Storage = function () {\n function Storage(player) {\n _classCallCheck(this, Storage);\n this.storageName = player.options.storageName;\n this.data = JSON.parse(_utils2.default.storage.get(this.storageName));\n if (!this.data) {\n this.data = {};\n }\n this.data.volume = this.data.volume || player.options.volume;\n }\n _createClass(Storage, [\n {\n key: 'get',\n value: function get(key) {\n return this.data[key];\n }\n },\n {\n key: 'set',\n value: function set(key, value) {\n this.data[key] = value;\n _utils2.default.storage.set(this.storageName, JSON.stringify(this.data));\n }\n }\n ]);\n return Storage;\n}();\nexports.default = Storage;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Bar = function () {\n function Bar(template) {\n _classCallCheck(this, Bar);\n this.elements = {};\n this.elements.volume = template.volume;\n this.elements.played = template.played;\n this.elements.loaded = template.loaded;\n }\n _createClass(Bar, [\n {\n key: 'set',\n value: function set(type, percentage, direction) {\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n this.elements[type].style[direction] = percentage * 100 + '%';\n }\n },\n {\n key: 'get',\n value: function get(type, direction) {\n return parseFloat(this.elements[type].style[direction]) / 100;\n }\n }\n ]);\n return Bar;\n}();\nexports.default = Bar;","'use strict';\nmodule.exports = false;\ntry {\n module.exports = Object.prototype.toString.call(global.process) === '[object process]';\n} catch (e) {\n}","'use strict';\nvar detectNode = require('detect-node');\nvar runtime = Object.create(detectNode ? global : window);\nvar ESCAPE_REG = /[\"&'<>]/;\nruntime.$escape = function (content) {\n return xmlEscape(toString(content));\n};\nruntime.$each = function (data, callback) {\n if (Array.isArray(data)) {\n for (var i = 0, len = data.length; i < len; i++) {\n callback(data[i], i);\n }\n } else {\n for (var _i in data) {\n callback(data[_i], _i);\n }\n }\n};\nfunction toString(value) {\n if (typeof value !== 'string') {\n if (value === undefined || value === null) {\n value = '';\n } else if (typeof value === 'function') {\n value = toString(value.call(value));\n } else {\n value = JSON.stringify(value);\n }\n }\n return value;\n}\n;\nfunction xmlEscape(content) {\n var html = '' + content;\n var regexResult = ESCAPE_REG.exec(html);\n if (!regexResult) {\n return content;\n }\n var result = '';\n var i = void 0, lastIndex = void 0, char = void 0;\n for (i = regexResult.index, lastIndex = 0; i < html.length; i++) {\n switch (html.charCodeAt(i)) {\n case 34:\n char = '"';\n break;\n case 38:\n char = '&';\n break;\n case 39:\n char = ''';\n break;\n case 60:\n char = '<';\n break;\n case 62:\n char = '>';\n break;\n default:\n continue;\n }\n if (lastIndex !== i) {\n result += html.substring(lastIndex, i);\n }\n lastIndex = i + 1;\n result += char;\n }\n if (lastIndex !== i) {\n return result + html.substring(lastIndex, i);\n } else {\n return result;\n }\n}\n;\nmodule.exports = runtime;","{{ if !options.fixed }}\n<div class=\"aplayer-body\">\n <div class=\"aplayer-pic\" style=\"{{ if cover }}background-image: url("{{ cover }}");{{ /if }}background-color: {{ options.theme }};\">\n <div class=\"aplayer-button aplayer-play\">{{@ icons.play }}</div>\n </div>\n <div class=\"aplayer-info\">\n <div class=\"aplayer-music\">\n <span class=\"aplayer-title\">No audio</span>\n <span class=\"aplayer-author\"></span>\n </div>\n <div class=\"aplayer-lrc\">\n <div class=\"aplayer-lrc-contents\" style=\"transform: translateY(0); -webkit-transform: translateY(0);\"></div>\n </div>\n <div class=\"aplayer-controller\">\n <div class=\"aplayer-bar-wrap\">\n <div class=\"aplayer-bar\">\n <div class=\"aplayer-loaded\" style=\"width: 0\"></div>\n <div class=\"aplayer-played\" style=\"width: 0; background: {{ options.theme }};\">\n <span class=\"aplayer-thumb\" style=\"background: {{ options.theme }};\">\n <span class=\"aplayer-loading-icon\">{{@ icons.loading }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"aplayer-time\">\n <span class=\"aplayer-time-inner\">\n <span class=\"aplayer-ptime\">00:00</span> / <span class=\"aplayer-dtime\">00:00</span>\n </span>\n <span class=\"aplayer-icon aplayer-icon-back\">\n {{@ icons.skip }}\n </span>\n <span class=\"aplayer-icon aplayer-icon-play\">\n {{@ icons.play }}\n </span>\n <span class=\"aplayer-icon aplayer-icon-forward\">\n {{@ icons.skip }}\n </span>\n <div class=\"aplayer-volume-wrap\">\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-volume-down\">\n {{@ icons.volumeDown }}\n </button>\n <div class=\"aplayer-volume-bar-wrap\">\n <div class=\"aplayer-volume-bar\">\n <div class=\"aplayer-volume\" style=\"height: 80%; background: {{ options.theme }};\"></div>\n </div>\n </div>\n </div>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-order\">\n {{ if options.order === 'list' }}{{@ icons.orderList }}{{ else if options.order === 'random' }}{{@ icons.orderRandom }}{{ /if }}\n </button>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-loop\">\n {{ if options.loop === 'one' }}{{@ icons.loopOne }}{{ else if options.loop === 'all' }}{{@ icons.loopAll }}{{ else if options.loop === 'none' }}{{@ icons.loopNone }}{{ /if }}\n </button>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-menu\">\n {{@ icons.menu }}\n </button>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-lrc\">\n {{@ icons.lrc }}\n </button>\n </div>\n </div>\n </div>\n <div class=\"aplayer-notice\"></div>\n <div class=\"aplayer-miniswitcher\"><button class=\"aplayer-icon\">{{@ icons.right }}</button></div>\n</div>\n<div class=\"aplayer-list{{ if options.listFolded }} aplayer-list-hide{{ /if }}\"{{ if options.listMaxHeight }} style=\"max-height: {{ options.listMaxHeight }}\"{{ /if }}>\n <ol{{ if options.listMaxHeight }} style=\"max-height: {{ options.listMaxHeight }}\"{{ /if }}>\n {{ include './list-item.art' getObject({\n theme: options.theme,\n audio: options.audio,\n index: 1\n }) }}\n </ol>\n</div>\n{{ else }}\n<div class=\"aplayer-list{{ if options.listFolded }} aplayer-list-hide{{ /if }}\"{{ if options.listMaxHeight }} style=\"max-height: {{ options.listMaxHeight }}\"{{ /if }}>\n <ol{{ if options.listMaxHeight }} style=\"max-height: {{ options.listMaxHeight }}\"{{ /if }}>\n {{ include './list-item.art' getObject({\n theme: options.theme,\n audio: options.audio,\n index: 1\n }) }}\n </ol>\n</div>\n<div class=\"aplayer-body\">\n <div class=\"aplayer-pic\" style=\"{{ if cover }}background-image: url("{{ cover }}");{{ /if }}background-color: {{ options.theme }};\">\n <div class=\"aplayer-button aplayer-play\">{{@ icons.play }}</div>\n </div>\n <div class=\"aplayer-info\" style=\"display: none;\">\n <div class=\"aplayer-music\">\n <span class=\"aplayer-title\">No audio</span>\n <span class=\"aplayer-author\"></span>\n </div>\n <div class=\"aplayer-controller\">\n <div class=\"aplayer-bar-wrap\">\n <div class=\"aplayer-bar\">\n <div class=\"aplayer-loaded\" style=\"width: 0\"></div>\n <div class=\"aplayer-played\" style=\"width: 0; background: {{ options.theme }};\">\n <span class=\"aplayer-thumb\" style=\"background: {{ options.theme }};\">\n <span class=\"aplayer-loading-icon\">{{@ icons.loading }}</span>\n </span>\n </div>\n </div>\n </div>\n <div class=\"aplayer-time\">\n <span class=\"aplayer-time-inner\">\n <span class=\"aplayer-ptime\">00:00</span> / <span class=\"aplayer-dtime\">00:00</span>\n </span>\n <span class=\"aplayer-icon aplayer-icon-back\">\n {{@ icons.skip }}\n </span>\n <span class=\"aplayer-icon aplayer-icon-play\">\n {{@ icons.play }}\n </span>\n <span class=\"aplayer-icon aplayer-icon-forward\">\n {{@ icons.skip }}\n </span>\n <div class=\"aplayer-volume-wrap\">\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-volume-down\">\n {{@ icons.volumeDown }}\n </button>\n <div class=\"aplayer-volume-bar-wrap\">\n <div class=\"aplayer-volume-bar\">\n <div class=\"aplayer-volume\" style=\"height: 80%; background: {{ options.theme }};\"></div>\n </div>\n </div>\n </div>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-order\">\n {{ if options.order === 'list' }}{{@ icons.orderList }}{{ else if options.order === 'random' }}{{@ icons.orderRandom }}{{ /if }}\n </button>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-loop\">\n {{ if options.loop === 'one' }}{{@ icons.loopOne }}{{ else if options.loop === 'all' }}{{@ icons.loopAll }}{{ else if options.loop === 'none' }}{{@ icons.loopNone }}{{ /if }}\n </button>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-menu\">\n {{@ icons.menu }}\n </button>\n <button type=\"button\" class=\"aplayer-icon aplayer-icon-lrc\">\n {{@ icons.lrc }}\n </button>\n </div>\n </div>\n </div>\n <div class=\"aplayer-notice\"></div>\n <div class=\"aplayer-miniswitcher\"><button class=\"aplayer-icon\">{{@ icons.right }}</button></div>\n</div>\n<div class=\"aplayer-lrc\">\n <div class=\"aplayer-lrc-contents\" style=\"transform: translateY(0); -webkit-transform: translateY(0);\"></div>\n</div>\n{{/if}}","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _icons = require('./icons');\nvar _icons2 = _interopRequireDefault(_icons);\nvar _player = require('../template/player.art');\nvar _player2 = _interopRequireDefault(_player);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Template = function () {\n function Template(options) {\n _classCallCheck(this, Template);\n this.container = options.container;\n this.options = options.options;\n this.randomOrder = options.randomOrder;\n this.init();\n }\n _createClass(Template, [{\n key: 'init',\n value: function init() {\n var cover = '';\n if (this.options.audio.length) {\n if (this.options.order === 'random') {\n cover = this.options.audio[this.randomOrder[0]].cover;\n } else {\n cover = this.options.audio[0].cover;\n }\n }\n this.container.innerHTML = (0, _player2.default)({\n options: this.options,\n icons: _icons2.default,\n cover: cover,\n getObject: function getObject(obj) {\n return obj;\n }\n });\n this.lrc = this.container.querySelector('.aplayer-lrc-contents');\n this.lrcWrap = this.container.querySelector('.aplayer-lrc');\n this.ptime = this.container.querySelector('.aplayer-ptime');\n this.info = this.container.querySelector('.aplayer-info');\n this.time = this.container.querySelector('.aplayer-time');\n this.barWrap = this.container.querySelector('.aplayer-bar-wrap');\n this.button = this.container.querySelector('.aplayer-button');\n this.body = this.container.querySelector('.aplayer-body');\n this.list = this.container.querySelector('.aplayer-list');\n this.listOl = this.container.querySelector('.aplayer-list ol');\n this.listCurs = this.container.querySelectorAll('.aplayer-list-cur');\n this.played = this.container.querySelector('.aplayer-played');\n this.loaded = this.container.querySelector('.aplayer-loaded');\n this.thumb = this.container.querySelector('.aplayer-thumb');\n this.volume = this.container.querySelector('.aplayer-volume');\n this.volumeBar = this.container.querySelector('.aplayer-volume-bar');\n this.volumeButton = this.container.querySelector('.aplayer-time button');\n this.volumeBarWrap = this.container.querySelector('.aplayer-volume-bar-wrap');\n this.loop = this.container.querySelector('.aplayer-icon-loop');\n this.order = this.container.querySelector('.aplayer-icon-order');\n this.menu = this.container.querySelector('.aplayer-icon-menu');\n this.pic = this.container.querySelector('.aplayer-pic');\n this.title = this.container.querySelector('.aplayer-title');\n this.author = this.container.querySelector('.aplayer-author');\n this.dtime = this.container.querySelector('.aplayer-dtime');\n this.notice = this.container.querySelector('.aplayer-notice');\n this.miniSwitcher = this.container.querySelector('.aplayer-miniswitcher');\n this.skipBackButton = this.container.querySelector('.aplayer-icon-back');\n this.skipForwardButton = this.container.querySelector('.aplayer-icon-forward');\n this.skipPlayButton = this.container.querySelector('.aplayer-icon-play');\n this.lrcButton = this.container.querySelector('.aplayer-icon-lrc');\n }\n }]);\n return Template;\n}();\nexports.default = Template;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nexports.default = function (options) {\n var defaultOption = {\n container: options.element || document.getElementsByClassName('aplayer')[0],\n mini: options.narrow || options.fixed || false,\n fixed: false,\n autoplay: false,\n mutex: true,\n lrcType: options.showlrc || options.lrc || 0,\n preload: 'auto',\n theme: '#b7daff',\n loop: 'all',\n order: 'list',\n volume: 0.7,\n listFolded: options.fixed,\n listMaxHeight: options.listmaxheight || '250px',\n audio: options.music || [],\n storageName: 'aplayer-setting'\n };\n for (var defaultKey in defaultOption) {\n if (defaultOption.hasOwnProperty(defaultKey) && !options.hasOwnProperty(defaultKey)) {\n options[defaultKey] = defaultOption[defaultKey];\n }\n }\n if (Object.prototype.toString.call(options.audio) !== '[object Array]') {\n options.audio = [options.audio];\n }\n options.audio.map(function (item) {\n item.name = item.name || item.title || 'Audio name';\n item.artist = item.artist || item.author || 'Audio artist';\n item.cover = item.cover || item.pic;\n item.type = item.type || 'normal';\n return item;\n });\n if (options.audio.length <= 1 && options.loop === 'one') {\n options.loop = 'all';\n }\n return options;\n};","module.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>\"","module.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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 32 32\\\"><path d=\\\"M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z\\\"></path></svg>\"","module.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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 29 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 33 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 29 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 22 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 32 32\\\"><path d=\\\"M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z\\\"></path></svg>\"","module.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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 28 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 28 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 28 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 17 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>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 31\\\"><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>\"","'use strict';\nvar process = module.exports = {};\nvar cachedSetTimeout;\nvar cachedClearTimeout;\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n}());\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n return setTimeout(fun, 0);\n }\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n return clearTimeout(marker);\n }\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n while (len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = '';\nprocess.versions = {};\nfunction noop() {\n}\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\nprocess.listeners = function (name) {\n return [];\n};\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\nprocess.cwd = function () {\n return '/';\n};\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function () {\n return 0;\n};","'use strict';\n(function (global, undefined) {\n 'use strict';\n if (global.setImmediate) {\n return;\n }\n var nextHandle = 1;\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n function setImmediate(callback) {\n if (typeof callback !== 'function') {\n callback = new Function('' + callback);\n }\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n var task = {\n callback: callback,\n args: args\n };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n function runIfPresent(handle) {\n if (currentlyRunningATask) {\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n function installNextTickImplementation() {\n registerImmediate = function registerImmediate(handle) {\n process.nextTick(function () {\n runIfPresent(handle);\n });\n };\n }\n function canUsePostMessage() {\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function () {\n postMessageIsAsynchronous = false;\n };\n global.postMessage('', '*');\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n function installPostMessageImplementation() {\n var messagePrefix = 'setImmediate$' + Math.random() + '$';\n var onGlobalMessage = function onGlobalMessage(event) {\n if (event.source === global && typeof event.data === 'string' && event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n if (global.addEventListener) {\n global.addEventListener('message', onGlobalMessage, false);\n } else {\n global.attachEvent('onmessage', onGlobalMessage);\n }\n registerImmediate = function registerImmediate(handle) {\n global.postMessage(messagePrefix + handle, '*');\n };\n }\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function (event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n registerImmediate = function registerImmediate(handle) {\n channel.port2.postMessage(handle);\n };\n }\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function registerImmediate(handle) {\n var script = doc.createElement('script');\n script.onreadystatechange = function () {\n runIfPresent(handle);\n script.onreadystatechange = null;\n html.removeChild(script);\n script = null;\n };\n html.appendChild(script);\n };\n }\n function installSetTimeoutImplementation() {\n registerImmediate = function registerImmediate(handle) {\n setTimeout(runIfPresent, 0, handle);\n };\n }\n var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);\n attachTo = attachTo && attachTo.setTimeout ? attachTo : global;\n if ({}.toString.call(global.process) === '[object process]') {\n installNextTickImplementation();\n } else if (canUsePostMessage()) {\n installPostMessageImplementation();\n } else if (global.MessageChannel) {\n installMessageChannelImplementation();\n } else if (doc && 'onreadystatechange' in doc.createElement('script')) {\n installReadyStateChangeImplementation();\n } else {\n installSetTimeoutImplementation();\n }\n attachTo.setImmediate = setImmediate;\n attachTo.clearImmediate = clearImmediate;\n}(typeof self === 'undefined' ? typeof global === 'undefined' ? undefined : global : self));","'use strict';\nvar apply = Function.prototype.apply;\nexports.setTimeout = function () {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function () {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout = exports.clearInterval = function (timeout) {\n if (timeout) {\n timeout.close();\n }\n};\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function () {\n};\nTimeout.prototype.close = function () {\n this._clearFn.call(window, this._id);\n};\nexports.enroll = function (item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\nexports.unenroll = function (item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\nexports._unrefActive = exports.active = function (item) {\n clearTimeout(item._idleTimeoutId);\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\nrequire('setimmediate');\nexports.setImmediate = setImmediate;\nexports.clearImmediate = clearImmediate;","'use strict';\nvar _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;\n};\nvar setTimeoutFunc = setTimeout;\nfunction noop() {\n}\nfunction bind(fn, thisArg) {\n return function () {\n fn.apply(thisArg, arguments);\n };\n}\nfunction Promise(fn) {\n if (!(this instanceof Promise))\n throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function')\n throw new TypeError('not a function');\n this._state = 0;\n this._handled = false;\n this._value = undefined;\n this._deferreds = [];\n doResolve(fn, this);\n}\nfunction handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function () {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n}\nfunction resolve(self, newValue) {\n try {\n if (newValue === self)\n throw new TypeError('A promise cannot be resolved with itself.');\n if (newValue && ((typeof newValue === 'undefined' ? 'undefined' : _typeof(newValue)) === 'object' || typeof newValue === 'function')) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n}\nfunction reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n}\nfunction finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function () {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n}\nfunction Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\nfunction doResolve(fn, self) {\n var done = false;\n try {\n fn(function (value) {\n if (done)\n return;\n done = true;\n resolve(self, value);\n }, function (reason) {\n if (done)\n return;\n done = true;\n reject(self, reason);\n });\n } catch (ex) {\n if (done)\n return;\n done = true;\n reject(self, ex);\n }\n}\nPromise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n};\nPromise.prototype.then = function (onFulfilled, onRejected) {\n var prom = new this.constructor(noop);\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n};\nPromise.prototype['finally'] = function (callback) {\n var constructor = this.constructor;\n return this.then(function (value) {\n return constructor.resolve(callback()).then(function () {\n return value;\n });\n }, function (reason) {\n return constructor.resolve(callback()).then(function () {\n return constructor.reject(reason);\n });\n });\n};\nPromise.all = function (arr) {\n return new Promise(function (resolve, reject) {\n if (!arr || typeof arr.length === 'undefined')\n throw new TypeError('Promise.all accepts an array');\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0)\n return resolve([]);\n var remaining = args.length;\n function res(i, val) {\n try {\n if (val && ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(val, function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\nPromise.resolve = function (value) {\n if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && value.constructor === Promise) {\n return value;\n }\n return new Promise(function (resolve) {\n resolve(value);\n });\n};\nPromise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n};\nPromise.race = function (values) {\n return new Promise(function (resolve, reject) {\n for (var i = 0, len = values.length; i < len; i++) {\n values[i].then(resolve, reject);\n }\n });\n};\nPromise._immediateFn = typeof setImmediate === 'function' && function (fn) {\n setImmediate(fn);\n} || function (fn) {\n setTimeoutFunc(fn, 0);\n};\nPromise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err);\n }\n};\nmodule.exports = Promise;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _promisePolyfill = require('promise-polyfill');\nvar _promisePolyfill2 = _interopRequireDefault(_promisePolyfill);\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nvar _icons = require('./icons');\nvar _icons2 = _interopRequireDefault(_icons);\nvar _options = require('./options');\nvar _options2 = _interopRequireDefault(_options);\nvar _template = require('./template');\nvar _template2 = _interopRequireDefault(_template);\nvar _bar = require('./bar');\nvar _bar2 = _interopRequireDefault(_bar);\nvar _storage = require('./storage');\nvar _storage2 = _interopRequireDefault(_storage);\nvar _lrc = require('./lrc');\nvar _lrc2 = _interopRequireDefault(_lrc);\nvar _controller = require('./controller');\nvar _controller2 = _interopRequireDefault(_controller);\nvar _timer = require('./timer');\nvar _timer2 = _interopRequireDefault(_timer);\nvar _events = require('./events');\nvar _events2 = _interopRequireDefault(_events);\nvar _list = require('./list');\nvar _list2 = _interopRequireDefault(_list);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar instances = [];\nvar APlayer = function () {\n function APlayer(options) {\n _classCallCheck(this, APlayer);\n this.options = (0, _options2.default)(options);\n this.container = this.options.container;\n this.paused = true;\n this.playedPromise = _promisePolyfill2.default.resolve();\n this.mode = 'normal';\n this.randomOrder = _utils2.default.randomOrder(this.options.audio.length);\n this.container.classList.add('aplayer');\n if (this.options.lrcType && !this.options.fixed) {\n this.container.classList.add('aplayer-withlrc');\n }\n if (this.options.audio.length > 1) {\n this.container.classList.add('aplayer-withlist');\n }\n if (_utils2.default.isMobile) {\n this.container.classList.add('aplayer-mobile');\n }\n this.arrow = this.container.offsetWidth <= 300;\n if (this.arrow) {\n this.container.classList.add('aplayer-arrow');\n }\n this.container = this.options.container;\n if (this.options.lrcType === 2 || this.options.lrcType === true) {\n var lrcEle = this.container.getElementsByClassName('aplayer-lrc-content');\n for (var i = 0; i < lrcEle.length; i++) {\n if (this.options.audio[i]) {\n this.options.audio[i].lrc = lrcEle[i].innerHTML;\n }\n }\n }\n this.template = new _template2.default({\n container: this.container,\n options: this.options,\n randomOrder: this.randomOrder\n });\n if (this.options.fixed) {\n this.container.classList.add('aplayer-fixed');\n this.template.body.style.width = this.template.body.offsetWidth - 18 + 'px';\n }\n if (this.options.mini) {\n this.setMode('mini');\n this.template.info.style.display = 'block';\n }\n if (this.template.info.offsetWidth < 200) {\n this.template.time.classList.add('aplayer-time-narrow');\n }\n if (this.options.lrcType) {\n this.lrc = new _lrc2.default({\n container: this.template.lrc,\n async: this.options.lrcType === 3,\n player: this\n });\n }\n this.events = new _events2.default();\n this.storage = new _storage2.default(this);\n this.bar = new _bar2.default(this.template);\n this.controller = new _controller2.default(this);\n this.timer = new _timer2.default(this);\n this.list = new _list2.default(this);\n this.initAudio();\n this.bindEvents();\n if (this.options.order === 'random') {\n this.list.switch(this.randomOrder[0]);\n } else {\n this.list.switch(0);\n }\n if (this.options.autoplay) {\n this.play();\n }\n instances.push(this);\n }\n _createClass(APlayer, [\n {\n key: 'initAudio',\n value: function initAudio() {\n var _this = this;\n this.audio = document.createElement('audio');\n this.audio.preload = this.options.preload;\n var _loop = function _loop(i) {\n _this.audio.addEventListener(_this.events.audioEvents[i], function (e) {\n _this.events.trigger(_this.events.audioEvents[i], e);\n });\n };\n for (var i = 0; i < this.events.audioEvents.length; i++) {\n _loop(i);\n }\n this.volume(this.storage.get('volume'), true);\n }\n },\n {\n key: 'bindEvents',\n value: function bindEvents() {\n var _this2 = this;\n this.on('play', function () {\n if (_this2.paused) {\n _this2.setUIPlaying();\n }\n });\n this.on('pause', function () {\n if (!_this2.paused) {\n _this2.setUIPaused();\n }\n });\n this.on('timeupdate', function () {\n if (!_this2.disableTimeupdate) {\n _this2.bar.set('played', _this2.audio.currentTime / _this2.duration, 'width');\n _this2.lrc && _this2.lrc.update();\n var currentTime = _utils2.default.secondToTime(_this2.audio.currentTime);\n if (_this2.template.ptime.innerHTML !== currentTime) {\n _this2.template.ptime.innerHTML = currentTime;\n }\n }\n });\n this.on('durationchange', function () {\n if (_this2.duration !== 1) {\n _this2.template.dtime.innerHTML = _utils2.default.secondToTime(_this2.duration);\n }\n });\n this.on('progress', function () {\n var percentage = _this2.audio.buffered.length ? _this2.audio.buffered.end(_this2.audio.buffered.length - 1) / _this2.duration : 0;\n _this2.bar.set('loaded', percentage, 'width');\n });\n var skipTime = void 0;\n this.on('error', function () {\n if (_this2.list.audios.length > 1) {\n _this2.notice('An audio error has occurred, player will skip forward in 2 seconds.');\n skipTime = setTimeout(function () {\n _this2.skipForward();\n if (!_this2.paused) {\n _this2.play();\n }\n }, 2000);\n } else if (_this2.list.audios.length === 1) {\n _this2.notice('An audio error has occurred.');\n }\n });\n this.events.on('listswitch', function () {\n skipTime && clearTimeout(skipTime);\n });\n this.on('ended', function () {\n if (_this2.options.loop === 'none') {\n if (_this2.options.order === 'list') {\n if (_this2.list.index < _this2.list.audios.length - 1) {\n _this2.list.switch((_this2.list.index + 1) % _this2.list.audios.length);\n _this2.play();\n } else {\n _this2.list.switch((_this2.list.index + 1) % _this2.list.audios.length);\n _this2.pause();\n }\n } else if (_this2.options.order === 'random') {\n if (_this2.randomOrder.indexOf(_this2.list.index) < _this2.randomOrder.length - 1) {\n _this2.list.switch(_this2.nextIndex());\n _this2.play();\n } else {\n _this2.list.switch(_this2.nextIndex());\n _this2.pause();\n }\n }\n } else if (_this2.options.loop === 'one') {\n _this2.list.switch(_this2.list.index);\n _this2.play();\n } else if (_this2.options.loop === 'all') {\n _this2.skipForward();\n _this2.play();\n }\n });\n }\n },\n {\n key: 'setAudio',\n value: function setAudio(audio) {\n if (this.hls) {\n this.hls.destroy();\n this.hls = null;\n }\n var type = audio.type;\n if (this.options.customAudioType && this.options.customAudioType[type]) {\n if (Object.prototype.toString.call(this.options.customAudioType[type]) === '[object Function]') {\n this.options.customAudioType[type](this.audio, audio, this);\n } else {\n console.error('Illegal customType: ' + type);\n }\n } else {\n if (!type || type === 'auto') {\n if (/m3u8(#|\\?|$)/i.exec(audio.url)) {\n type = 'hls';\n } else {\n type = 'normal';\n }\n }\n if (type === 'hls') {\n if (Hls.isSupported()) {\n this.hls = new Hls();\n this.hls.loadSource(audio.url);\n this.hls.attachMedia(this.audio);\n } else if (this.audio.canPlayType('application/x-mpegURL') || this.audio.canPlayType('application/vnd.apple.mpegURL')) {\n this.audio.src = audio.url;\n } else {\n this.notice('Error: HLS is not supported.');\n }\n } else if (type === 'normal') {\n this.audio.src = audio.url;\n }\n }\n this.seek(0);\n if (!this.paused) {\n this.audio.play();\n }\n }\n },\n {\n key: 'theme',\n value: function theme() {\n var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.list.audios[this.list.index].theme || this.options.theme;\n var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.list.index;\n var isReset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n if (isReset) {\n this.list.audios[index] && (this.list.audios[index].theme = color);\n }\n this.template.listCurs[index] && (this.template.listCurs[index].style.backgroundColor = color);\n if (index === this.list.index) {\n this.template.pic.style.backgroundColor = color;\n this.template.played.style.background = color;\n this.template.thumb.style.background = color;\n this.template.volume.style.background = color;\n }\n }\n },\n {\n key: 'seek',\n value: function seek(time) {\n time = Math.max(time, 0);\n time = Math.min(time, this.duration);\n this.audio.currentTime = time;\n this.bar.set('played', time / this.duration, 'width');\n this.template.ptime.innerHTML = _utils2.default.secondToTime(time);\n }\n },\n {\n key: 'setUIPlaying',\n value: function setUIPlaying() {\n var _this3 = this;\n if (this.paused) {\n this.paused = false;\n this.template.button.classList.remove('aplayer-play');\n this.template.button.classList.add('aplayer-pause');\n this.template.button.innerHTML = '';\n setTimeout(function () {\n _this3.template.button.innerHTML = _icons2.default.pause;\n }, 100);\n this.template.skipPlayButton.innerHTML = _icons2.default.pause;\n }\n this.timer.enable('loading');\n if (this.options.mutex) {\n for (var i = 0; i < instances.length; i++) {\n if (this !== instances[i]) {\n instances[i].pause();\n }\n }\n }\n }\n },\n {\n key: 'play',\n value: function play() {\n var _this4 = this;\n this.setUIPlaying();\n var playPromise = this.audio.play();\n if (playPromise) {\n playPromise.catch(function (e) {\n console.warn(e);\n if (e.name === 'NotAllowedError') {\n _this4.setUIPaused();\n }\n });\n }\n }\n },\n {\n key: 'setUIPaused',\n value: function setUIPaused() {\n var _this5 = this;\n if (!this.paused) {\n this.paused = true;\n this.template.button.classList.remove('aplayer-pause');\n this.template.button.classList.add('aplayer-play');\n this.template.button.innerHTML = '';\n setTimeout(function () {\n _this5.template.button.innerHTML = _icons2.default.play;\n }, 100);\n this.template.skipPlayButton.innerHTML = _icons2.default.play;\n }\n this.container.classList.remove('aplayer-loading');\n this.timer.disable('loading');\n }\n },\n {\n key: 'pause',\n value: function pause() {\n this.setUIPaused();\n this.audio.pause();\n }\n },\n {\n key: 'switchVolumeIcon',\n value: function switchVolumeIcon() {\n if (this.volume() >= 0.95) {\n this.template.volumeButton.innerHTML = _icons2.default.volumeUp;\n } else if (this.volume() > 0) {\n this.template.volumeButton.innerHTML = _icons2.default.volumeDown;\n } else {\n this.template.volumeButton.innerHTML = _icons2.default.volumeOff;\n }\n }\n },\n {\n key: 'volume',\n value: function volume(percentage, nostorage) {\n percentage = parseFloat(percentage);\n if (!isNaN(percentage)) {\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n this.bar.set('volume', percentage, 'height');\n if (!nostorage) {\n this.storage.set('volume', percentage);\n }\n this.audio.volume = percentage;\n if (this.audio.muted) {\n this.audio.muted = false;\n }\n this.switchVolumeIcon();\n }\n return this.audio.muted ? 0 : this.audio.volume;\n }\n },\n {\n key: 'on',\n value: function on(name, callback) {\n this.events.on(name, callback);\n }\n },\n {\n key: 'toggle',\n value: function toggle() {\n if (this.template.button.classList.contains('aplayer-play')) {\n this.play();\n } else if (this.template.button.classList.contains('aplayer-pause')) {\n this.pause();\n }\n }\n },\n {\n key: 'switchAudio',\n value: function switchAudio(index) {\n this.list.switch(index);\n }\n },\n {\n key: 'addAudio',\n value: function addAudio(audios) {\n this.list.add(audios);\n }\n },\n {\n key: 'removeAudio',\n value: function removeAudio(index) {\n this.list.remove(index);\n }\n },\n {\n key: 'destroy',\n value: function destroy() {\n instances.splice(instances.indexOf(this), 1);\n this.pause();\n this.container.innerHTML = '';\n this.audio.src = '';\n this.timer.destroy();\n this.events.trigger('destroy');\n }\n },\n {\n key: 'setMode',\n value: function setMode() {\n var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';\n this.mode = mode;\n if (mode === 'mini') {\n this.container.classList.add('aplayer-narrow');\n } else if (mode === 'normal') {\n this.container.classList.remove('aplayer-narrow');\n }\n }\n },\n {\n key: 'notice',\n value: function notice(text) {\n var _this6 = this;\n var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;\n var opacity = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0.8;\n this.template.notice.innerHTML = text;\n this.template.notice.style.opacity = opacity;\n if (this.noticeTime) {\n clearTimeout(this.noticeTime);\n }\n this.events.trigger('noticeshow', { text: text });\n if (time) {\n this.noticeTime = setTimeout(function () {\n _this6.template.notice.style.opacity = 0;\n _this6.events.trigger('noticehide');\n }, time);\n }\n }\n },\n {\n key: 'prevIndex',\n value: function prevIndex() {\n if (this.list.audios.length > 1) {\n if (this.options.order === 'list') {\n return this.list.index - 1 < 0 ? this.list.audios.length - 1 : this.list.index - 1;\n } else if (this.options.order === 'random') {\n var index = this.randomOrder.indexOf(this.list.index);\n if (index === 0) {\n return this.randomOrder[this.randomOrder.length - 1];\n } else {\n return this.randomOrder[index - 1];\n }\n }\n } else {\n return 0;\n }\n }\n },\n {\n key: 'nextIndex',\n value: function nextIndex() {\n if (this.list.audios.length > 1) {\n if (this.options.order === 'list') {\n return (this.list.index + 1) % this.list.audios.length;\n } else if (this.options.order === 'random') {\n var index = this.randomOrder.indexOf(this.list.index);\n if (index === this.randomOrder.length - 1) {\n return this.randomOrder[0];\n } else {\n return this.randomOrder[index + 1];\n }\n }\n } else {\n return 0;\n }\n }\n },\n {\n key: 'skipBack',\n value: function skipBack() {\n this.list.switch(this.prevIndex());\n }\n },\n {\n key: 'skipForward',\n value: function skipForward() {\n this.list.switch(this.nextIndex());\n }\n },\n {\n key: 'duration',\n get: function get() {\n return isNaN(this.audio.duration) ? 0 : this.audio.duration;\n }\n }\n ], [{\n key: 'version',\n get: function get() {\n return APLAYER_VERSION;\n }\n }]);\n return APlayer;\n}();\nexports.default = APlayer;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nrequire('../css/index.scss');\nvar _player = require('./player');\nvar _player2 = _interopRequireDefault(_player);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nconsole.log('\\n' + ' %c APlayer v' + APLAYER_VERSION + ' ' + GIT_HASH + ' %c http://aplayer.js.org ' + '\\n', 'color: #fadfa3; background: #030307; padding:5px 0;', 'background: #fadfa3; padding:5px 0;');\nexports.default = _player2.default;"],"sourceRoot":""} |