{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///clappr.min.js","webpack:///webpack/bootstrap 984bbfaf78ce49d08498","webpack:///./src/main.js","webpack:///./src/base/events.js","webpack:///./src/base/utils.js","webpack:///./~/clappr-zepto/zepto.min.js","webpack:///./~/hls.js/lib/events.js","webpack:///./~/hls.js/lib/utils/logger.js","webpack:///./~/hls.js/lib/errors.js","webpack:///./src/base/playback.js","webpack:///./src/base/styler.js","webpack:///./src/base/template.js","webpack:///./~/css-loader/lib/css-base.js","webpack:///./src/components/browser.js","webpack:///./~/hls.js/lib/event-handler.js","webpack:///./src/base/base_object.js","webpack:///./~/lodash.find/index.js","webpack:///./src/base/ui_object.js","webpack:///./src/components/mediator.js","webpack:///(webpack)/buildin/module.js","webpack:///./src/base/container_plugin.js","webpack:///./src/base/core_plugin.js","webpack:///./src/base/ui_container_plugin.js","webpack:///./src/components/player_info.js","webpack:///./src/playbacks/html5_video/index.js","webpack:///./src/base/ui_core_plugin.js","webpack:///./src/playbacks/base_flash_playback/index.js","webpack:///./src/plugins/log/index.js","webpack:///./~/events/events.js","webpack:///./~/hls.js/lib/demux/adts.js","webpack:///./~/hls.js/lib/demux/demuxer-inline.js","webpack:///./~/hls.js/lib/helper/buffer-helper.js","webpack:///./~/lodash._baseiteratee/index.js","webpack:///./~/process/browser.js","webpack:///./src/base/kibo.js","webpack:///./src/components/container/index.js","webpack:///./src/components/core/index.js","webpack:///./src/components/loader/index.js","webpack:///./src/components/media_control/index.js","webpack:///./src/playbacks/flash/index.js","webpack:///./src/playbacks/flashls/index.js","webpack:///./src/playbacks/hls/index.js","webpack:///./src/playbacks/html5_audio/index.js","webpack:///./src/playbacks/html_img/index.js","webpack:///./src/playbacks/no_op/index.js","webpack:///./src/plugins/poster/index.js","webpack:///./src/icons/01-play.svg","webpack:///./src/components/media_control/public/closed-hand.cur","webpack:///./~/hls.js/lib/controller/abr-controller.js","webpack:///./~/hls.js/lib/controller/buffer-controller.js","webpack:///./~/hls.js/lib/controller/cap-level-controller.js","webpack:///./~/hls.js/lib/controller/level-controller.js","webpack:///./~/hls.js/lib/controller/stream-controller.js","webpack:///./~/hls.js/lib/controller/timeline-controller.js","webpack:///./~/hls.js/lib/crypt/aes.js","webpack:///./~/hls.js/lib/crypt/aes128-decrypter.js","webpack:///./~/hls.js/lib/crypt/decrypter.js","webpack:///./~/hls.js/lib/demux/aacdemuxer.js","webpack:///./~/hls.js/lib/demux/demuxer-worker.js","webpack:///./~/hls.js/lib/demux/demuxer.js","webpack:///./~/hls.js/lib/demux/exp-golomb.js","webpack:///./~/hls.js/lib/demux/id3.js","webpack:///./~/hls.js/lib/demux/tsdemuxer.js","webpack:///./~/hls.js/lib/helper/level-helper.js","webpack:///./~/hls.js/lib/hls.js","webpack:///./~/hls.js/lib/index.js","webpack:///./~/hls.js/lib/loader/fragment-loader.js","webpack:///./~/hls.js/lib/loader/key-loader.js","webpack:///./~/hls.js/lib/loader/playlist-loader.js","webpack:///./~/hls.js/lib/remux/mp4-generator.js","webpack:///./~/hls.js/lib/remux/mp4-remuxer.js","webpack:///./~/hls.js/lib/remux/passthrough-remuxer.js","webpack:///./~/hls.js/lib/utils/attr-list.js","webpack:///./~/hls.js/lib/utils/binary-search.js","webpack:///./~/hls.js/lib/utils/cea-708-interpreter.js","webpack:///./~/hls.js/lib/utils/url.js","webpack:///./~/hls.js/lib/utils/xhr-loader.js","webpack:///./~/lodash._baseeach/index.js","webpack:///./~/lodash._basefind/index.js","webpack:///./~/lodash._basefindindex/index.js","webpack:///./~/lodash._baseslice/index.js","webpack:///./~/lodash._baseuniq/index.js","webpack:///./~/lodash._createset/index.js","webpack:///./~/lodash._setcache/index.js","webpack:///./~/lodash.before/index.js","webpack:///./~/lodash.once/index.js","webpack:///./~/lodash.result/index.js","webpack:///./~/lodash.tostring/index.js","webpack:///./~/lodash.uniqby/index.js","webpack:///./~/webworkify-webpack/index.js","webpack:///./src/components/container/container.js","webpack:///./src/components/container_factory/container_factory.js","webpack:///./src/components/container_factory/index.js","webpack:///./src/components/core/core.js","webpack:///./src/components/core_factory/core_factory.js","webpack:///./src/components/core_factory/index.js","webpack:///./src/components/loader/loader.js","webpack:///./src/components/media_control/media_control.js","webpack:///./src/components/player.js","webpack:///./src/playbacks/base_flash_playback/base_flash_playback.js","webpack:///./src/playbacks/flash/flash.js","webpack:///./src/playbacks/flashls/flashls.js","webpack:///./src/playbacks/flashls/flashls_events.js","webpack:///./src/playbacks/hls/hls.js","webpack:///./src/playbacks/html5_audio/html5_audio.js","webpack:///./src/playbacks/html5_video/html5_video.js","webpack:///./src/playbacks/html_img/html_img.js","webpack:///./src/playbacks/no_op/no_op.js","webpack:///./src/plugins/click_to_pause/click_to_pause.js","webpack:///./src/plugins/click_to_pause/index.js","webpack:///./src/plugins/dvr_controls/dvr_controls.js","webpack:///./src/plugins/dvr_controls/index.js","webpack:///./src/plugins/end_video.js","webpack:///./src/plugins/favicon/favicon.js","webpack:///./src/plugins/favicon/index.js","webpack:///./src/plugins/google_analytics/google_analytics.js","webpack:///./src/plugins/google_analytics/index.js","webpack:///./src/plugins/log/log.js","webpack:///./src/plugins/poster/poster.js","webpack:///./src/plugins/seek_time/index.js","webpack:///./src/plugins/seek_time/seek_time.js","webpack:///./src/plugins/sources.js","webpack:///./src/plugins/spinner_three_bounce/index.js","webpack:///./src/plugins/spinner_three_bounce/spinner_three_bounce.js","webpack:///./src/plugins/stats/index.js","webpack:///./src/plugins/stats/stats.js","webpack:///./src/plugins/watermark/index.js","webpack:///./src/plugins/watermark/watermark.js","webpack:///./src/components/container/public/style.scss","webpack:///./src/components/core/public/style.scss","webpack:///./src/components/media_control/public/media-control.scss","webpack:///./src/playbacks/base_flash_playback/public/flash.scss","webpack:///./src/playbacks/html5_video/public/style.scss","webpack:///./src/playbacks/html_img/public/style.scss","webpack:///./src/playbacks/no_op/public/style.scss","webpack:///./src/plugins/dvr_controls/public/dvr_controls.scss","webpack:///./src/plugins/poster/public/poster.scss","webpack:///./src/plugins/seek_time/public/seek_time.scss","webpack:///./src/plugins/spinner_three_bounce/public/spinner.scss","webpack:///./src/plugins/watermark/public/watermark.scss","webpack:///./src/components/media_control/public/media-control.html","webpack:///./src/playbacks/base_flash_playback/public/flash.html","webpack:///./src/playbacks/html5_video/public/index.html","webpack:///./src/playbacks/no_op/public/error.html","webpack:///./src/plugins/dvr_controls/public/index.html","webpack:///./src/plugins/poster/public/poster.html","webpack:///./src/plugins/seek_time/public/seek_time.html","webpack:///./src/plugins/spinner_three_bounce/public/spinner.html","webpack:///./src/plugins/watermark/public/watermark.html","webpack:///./src/icons/02-pause.svg","webpack:///./src/icons/03-stop.svg","webpack:///./src/icons/04-volume.svg","webpack:///./src/icons/05-mute.svg","webpack:///./src/icons/06-expand.svg","webpack:///./src/icons/07-shrink.svg","webpack:///./src/icons/08-hd.svg","webpack:///./src/playbacks/flash/public/Player.swf","webpack:///./src/playbacks/flashls/public/HLSPlayer.swf","webpack:///./src/plugins/dvr_controls/public/Roboto.ttf"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_player","_player2","_utils","_utils2","_events","_events2","_playback","_playback2","_container_plugin","_container_plugin2","_core_plugin","_core_plugin2","_ui_core_plugin","_ui_core_plugin2","_ui_container_plugin","_ui_container_plugin2","_base_object","_base_object2","_ui_object","_ui_object2","_browser","_browser2","_container","_container2","_core","_core2","_loader","_loader2","_mediator","_mediator2","_media_control","_media_control2","_player_info","_player_info2","_base_flash_playback","_base_flash_playback2","_flash","_flash2","_flashls","_flashls2","_hls","_hls2","_html5_audio","_html5_audio2","_html5_video","_html5_video2","_html_img","_html_img2","_no_op","_no_op2","_poster","_poster2","_log","_log2","_styler","_styler2","_template","_template2","_clapprZepto","_clapprZepto2","version","Player","Mediator","Events","Browser","PlayerInfo","MediaControl","ContainerPlugin","UIContainerPlugin","CorePlugin","UICorePlugin","Playback","Container","Core","Loader","BaseObject","UIObject","Utils","BaseFlashPlayback","Flash","FlasHLS","HLS","HTML5Audio","HTML5Video","HTMLImg","NoOp","Poster","Log","Styler","template","$","_classCallCheck","instance","Constructor","TypeError","_typeof","Symbol","iterator","constructor","_lodash","_lodash2","slice","Array","prototype","eventSplitter","eventsApi","action","name","rest","key","apply","concat","test","names","split","i","l","length","triggerEvents","events","args","ev","a1","a2","a3","callback","ctx","on","context","push","once","self","off","arguments","_callback","retain","j","k","keys","trigger","klass","debug","allEvents","all","exception","error","stopListening","listeningTo","_listeningTo","remove","_listenId","listenMethods","listenTo","listenToOnce","forEach","method","uniqueId","PLAYER_READY","PLAYER_RESIZE","PLAYER_FULLSCREEN","PLAYER_PLAY","PLAYER_PAUSE","PLAYER_STOP","PLAYER_ENDED","PLAYER_SEEK","PLAYER_ERROR","PLAYER_TIMEUPDATE","PLAYER_VOLUMEUPDATE","PLAYBACK_PROGRESS","PLAYBACK_TIMEUPDATE","PLAYBACK_READY","PLAYBACK_BUFFERING","PLAYBACK_BUFFERFULL","PLAYBACK_SETTINGSUPDATE","PLAYBACK_LOADEDMETADATA","PLAYBACK_HIGHDEFINITIONUPDATE","PLAYBACK_BITRATE","PLAYBACK_LEVELS_AVAILABLE","PLAYBACK_LEVEL_SWITCH_START","PLAYBACK_LEVEL_SWITCH_END","PLAYBACK_PLAYBACKSTATE","PLAYBACK_DVR","PLAYBACK_MEDIACONTROL_DISABLE","PLAYBACK_MEDIACONTROL_ENABLE","PLAYBACK_ENDED","PLAYBACK_PLAY","PLAYBACK_PAUSE","PLAYBACK_STOP","PLAYBACK_ERROR","PLAYBACK_STATS_ADD","PLAYBACK_FRAGMENT_LOADED","PLAYBACK_LEVEL_SWITCH","CORE_OPTIONS_CHANGE","CORE_READY","CORE_FULLSCREEN","CONTAINER_PLAYBACKSTATE","CONTAINER_PLAYBACKDVRSTATECHANGED","CONTAINER_BITRATE","CONTAINER_STATS_REPORT","CONTAINER_DESTROYED","CONTAINER_READY","CONTAINER_ERROR","CONTAINER_LOADEDMETADATA","CONTAINER_TIMEUPDATE","CONTAINER_PROGRESS","CONTAINER_PLAY","CONTAINER_STOP","CONTAINER_PAUSE","CONTAINER_ENDED","CONTAINER_CLICK","CONTAINER_DBLCLICK","CONTAINER_CONTEXTMENU","CONTAINER_MOUSE_ENTER","CONTAINER_MOUSE_LEAVE","CONTAINER_SEEK","CONTAINER_VOLUME","CONTAINER_FULLSCREEN","CONTAINER_STATE_BUFFERING","CONTAINER_STATE_BUFFERFULL","CONTAINER_SETTINGSUPDATE","CONTAINER_HIGHDEFINITIONUPDATE","CONTAINER_MEDIACONTROL_SHOW","CONTAINER_MEDIACONTROL_HIDE","CONTAINER_MEDIACONTROL_DISABLE","CONTAINER_MEDIACONTROL_ENABLE","CONTAINER_STATS_ADD","CONTAINER_OPTIONS_CHANGE","MEDIACONTROL_RENDERED","MEDIACONTROL_FULLSCREEN","MEDIACONTROL_SHOW","MEDIACONTROL_HIDE","MEDIACONTROL_MOUSEMOVE_SEEKBAR","MEDIACONTROL_MOUSELEAVE_SEEKBAR","MEDIACONTROL_PLAYING","MEDIACONTROL_NOTPLAYING","MEDIACONTROL_CONTAINERCHANGED","CORE_CONTAINERS_CREATED","_possibleConstructorReturn","ReferenceError","_inherits","subClass","superClass","create","enumerable","writable","configurable","setPrototypeOf","__proto__","extend","parent","properties","pluginName","MergedPlugin","_parent","_this","initialize","_createClass","get","formatTime","time","paddedHours","isFinite","parseInt","seconds","minutes","hours","days","out","trim","seekStringToSeconds","paramName","undefined","seekString","QueryString","params","hashParams","parts","match","factor","h","s","el","suffix","prefix","idsCounter","isNumber","parseFloat","currentScriptUrl","scripts","document","getElementsByTagName","src","getBrowserLanguage","window","navigator","language","toLowerCase","cancelAnimationFrame","requestAnimationFrame","Config","Fullscreen","defineProperties","target","props","descriptor","protoProps","staticProps","isFullscreen","webkitFullscreenElement","webkitIsFullScreen","mozFullScreen","msFullscreenElement","requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen","querySelector","webkitEnterFullScreen","cancelFullscreen","exitFullscreen","webkitCancelFullScreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen","_defaultConfig","volume","parse","_defaultValueFor","e","_createKeyspace","domain","restore","hasLocalstorage","localStorage","persist","paramsString","pl","search","decode","decodeURIComponent","replace","exec","query","location","substring","_urlParams","hash","_hashParams","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","bind","mozCancelAnimationFrame","webkitCancelAnimationFrame","clearTimeout","Zepto","D","t","String","S","L","Z","nodeType","DOCUMENT_NODE","F","getPrototypeOf","R","q","W","n","z","H","RegExp","_","I","f","u","createElement","body","appendChild","getComputedStyle","getPropertyValue","parentNode","removeChild","U","a","children","map","childNodes","X","selector","B","r","A","V","filter","Y","J","removeAttribute","setAttribute","G","className","baseVal","K","parseJSON","Q","N","P","o","column-count","columns","font-weight","line-height","opacity","z-index","zoom","d","g","v","y","w","x","b","tr","tbody","thead","tfoot","td","th","*","E","T","toString","C","O","M","tabindex","readonly","for","class","maxlength","cellspacing","cellpadding","rowspan","colspan","usemap","frameborder","contenteditable","isArray","matches","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","matchesSelector","qsa","indexOf","toUpperCase","fragment","$1","innerHTML","each","attr","isZ","init","find","ready","shift","getElementById","getElementsByClassName","querySelectorAll","contains","documentElement","type","isFunction","isWindow","isPlainObject","isEmptyObject","inArray","camelCase","uuid","support","expr","noop","grep","JSON","reduce","sort","splice","toArray","readyState","addEventListener","size","every","not","add","is","item","has","eq","first","last","some","closest","parents","pluck","contents","contentDocument","siblings","empty","show","style","display","nodeName","replaceWith","before","wrap","wrapAll","cloneNode","append","wrapInner","unwrap","clone","hide","css","toggle","prev","next","html","text","textContent","getAttribute","removeAttr","prop","data","val","multiple","selected","offset","offsetParent","top","left","position","getBoundingClientRect","pageXOffset","pageYOffset","width","Math","round","height","removeProperty","cssText","index","hasClass","addClass","join","removeClass","toggleClass","scrollTop","scrollTo","scrollX","scrollLeft","scrollY","detach","nextSibling","firstChild","insertBefore","eval","uniq","deserializeValue","zepto","_zid","ns","sel","del","relatedTarget","proxy","isImmediatePropagationStopped","_args","preventDefault","stopPropagation","removeEventListener","isDefaultPrevented","defaultPrevented","returnValue","getPreventDefault","originalEvent","focus","blur","mouseenter","mouseleave","click","mousedown","mouseup","mousemove","event","unshift","unbind","one","stopImmediatePropagation","delegate","undelegate","live","die","currentTarget","liveFired","Event","dispatchEvent","triggerHandler","createEvent","initEvent","global","active","beforeSend","success","resolveWith","rejectWith","complete","processData","param","traditional","url","dataType","href","ajaxJSONP","ajax","jsonpCallback","abort","promise","head","timeout","ajaxSettings","xhr","XMLHttpRequest","accepts","script","json","xml","crossDomain","cache","Deferred","protocol","host","Date","now","jsonp","setRequestHeader","mimeType","overrideMimeType","contentType","headers","onreadystatechange","status","getResponseHeader","responseText","responseXML","statusText","xhrFields","async","open","username","password","send","post","getJSON","load","encodeURIComponent","Callbacks","memory","stopOnFalse","disable","unique","disabled","lock","locked","fireWith","fire","fired","state","always","done","fail","then","resolve","reject","progress","notify","when","notifyWith","abs","pointerType","MSPOINTER_TYPE_TOUCH","isPrimary","MSGesture","velocityX","velocityY","touches","x2","y2","x1","pageX","y1","pageY","isDoubleTap","addPointer","pointerId","cancelTouch","Number","isNaN","visible","hidden","checked","console","MEDIA_ATTACHING","MEDIA_ATTACHED","MEDIA_DETACHING","MEDIA_DETACHED","BUFFER_RESET","BUFFER_CODECS","BUFFER_APPENDING","BUFFER_APPENDED","BUFFER_EOS","BUFFER_FLUSHING","BUFFER_FLUSHED","MANIFEST_LOADING","MANIFEST_LOADED","MANIFEST_PARSED","LEVEL_LOADING","LEVEL_LOADED","LEVEL_UPDATED","LEVEL_PTS_UPDATED","LEVEL_SWITCH","FRAG_LOADING","FRAG_LOAD_PROGRESS","FRAG_LOAD_EMERGENCY_ABORTED","FRAG_LOADED","FRAG_PARSING_INIT_SEGMENT","FRAG_PARSING_USERDATA","FRAG_PARSING_METADATA","FRAG_PARSING_DATA","FRAG_PARSED","FRAG_BUFFERED","FRAG_CHANGED","FPS_DROP","ERROR","DESTROYING","KEY_LOADING","KEY_LOADED","formatMsg","msg","consolePrintFn","func","_len","_key","exportLoggerFunctions","debugConfig","_len2","functions","_key2","exportedLogger","_typeof2","fakeLogger","trace","log","warn","info","enableLogs","logger","ErrorTypes","NETWORK_ERROR","MEDIA_ERROR","OTHER_ERROR","ErrorDetails","MANIFEST_LOAD_ERROR","MANIFEST_LOAD_TIMEOUT","MANIFEST_PARSING_ERROR","MANIFEST_INCOMPATIBLE_CODECS_ERROR","LEVEL_LOAD_ERROR","LEVEL_LOAD_TIMEOUT","LEVEL_SWITCH_ERROR","FRAG_LOAD_ERROR","FRAG_LOOP_LOADING_ERROR","FRAG_LOAD_TIMEOUT","FRAG_DECRYPT_ERROR","FRAG_PARSING_ERROR","KEY_LOAD_ERROR","KEY_LOAD_TIMEOUT","BUFFER_APPEND_ERROR","BUFFER_APPENDING_ERROR","BUFFER_STALLED_ERROR","BUFFER_FULL_ERROR","BUFFER_SEEK_OVER_HOLE","_UIObject","options","settings","play","pause","stop","seek","seekPercentage","percentage","getStartTimeOffset","getDuration","isPlaying","getPlaybackType","NO_OP","isHighDefinitionInUse","destroy","$el","canPlay","source","VOD","AOD","LIVE","getStyleFor","baseUrl","evaluate","interpolate","escape","noMatch","escapes","'","\\","\r","\n","\t","
","
","escaper","htmlEntities","&","<",">","\"","entityRe","escapeExpr","string","counter","tmpl","render","matcher","variable","Function","list","result","mediaQuery","alreadyImportedModules","setItem","removeItem","hasFlash","fo","ActiveXObject","mimeTypes","enabledPlugin","getBrowserInfo","extra","ua","userAgent","appName","appVersion","browserInfo","isSafari","isChrome","isFirefox","isLegacyIE","isIE","isIE11","isChromecast","isMobile","isiOS","isAndroid","isWindowsPhone","isWin8App","isWiiU","isPS4","EventHandler","hls","onEvent","handledEvents","useGenericHandler","registerListeners","unregisterListeners","isEventHandler","Error","onEventGeneric","eventToFunction","funcName","_Events","collection","predicate","baseIteratee","baseFindIndex","baseFind","baseEach","delegateEventSplitter","_BaseObject","cid","_ensureElement","delegateEvents","undelegateEvents","setElement","element","eventName","attrs","opts","webpackPolyfill","deprecate","paths","container","enabled","bindEvents","enable","core","getExternalInterface","playbackPlugins","currentSize","_players","getInstance","playerId","EventEmitter","_maxListeners","arg","isObject","isUndefined","defaultMaxListeners","setMaxListeners","emit","er","handler","len","listeners","addListener","listener","newListener","warned","removeListener","removeAllListeners","ret","listenerCount","evlistener","emitter","_logger","_errors","ADTS","observer","audioCodec","adtsObjectType","adtsSampleingIndex","adtsExtensionSampleingIndex","adtsChanelConfig","config","adtsSampleingRates","details","fatal","reason","samplerate","channelCount","codec","_aacdemuxer","_aacdemuxer2","_tsdemuxer","_tsdemuxer2","_mp4Remuxer","_mp4Remuxer2","_passthroughRemuxer","_passthroughRemuxer2","DemuxerInline","typeSupported","demuxer","videoCodec","timeOffset","cc","level","sn","duration","probe","mp2t","BufferHelper","media","pos","maxHoleDuration","vbuffered","buffered","start","end","bufferedInfo","nextStart","bufferLen","bufferStart","bufferEnd","bufferStartNext","buffered2","diff","buf2len","buf2end","arrayMap","array","iteratee","arraySome","baseTimes","baseToPairs","object","checkGlobal","isHostObject","isIndex","reIsUint","MAX_SAFE_INTEGER","mapToArray","setToArray","set","Hash","hashDelete","hashHas","hashGet","nativeCreate","HASH_UNDEFINED","hasOwnProperty","hashSet","MapCache","values","clear","entry","mapClear","__data__","Map","mapDelete","isKeyable","assocDelete","mapGet","assocGet","mapHas","assocHas","mapSet","assocSet","Stack","stackClear","stackDelete","stackGet","stackHas","stackSet","LARGE_ARRAY_SIZE","assocIndexOf","lastIndex","pop","baseCastPath","stringToPath","baseGet","path","isKey","baseHas","baseHasIn","baseIsEqual","other","customizer","bitmask","stack","isObjectLike","baseIsEqualDeep","equalFunc","objIsArr","othIsArr","objTag","arrayTag","othTag","getTag","argsTag","objectTag","objIsObj","othIsObj","isSameTag","isTypedArray","equalArrays","equalByTag","PARTIAL_COMPARE_FLAG","objIsWrapped","othIsWrapped","equalObjects","baseIsMatch","matchData","noCustomizer","objValue","srcValue","UNORDERED_COMPARE_FLAG","identity","baseMatchesProperty","baseMatches","property","baseKeys","nativeKeys","getMatchData","hasIn","baseProperty","basePropertyDeep","baseSlice","isPartial","isUnordered","arrLength","othLength","stacked","arrValue","othValue","compared","tag","arrayBufferTag","byteLength","Uint8Array","boolTag","dateTag","errorTag","message","numberTag","regexpTag","stringTag","mapTag","convert","setTag","symbolTag","symbolValueOf","objProps","objLength","othProps","skipCtor","objCtor","othCtor","toPairs","isStrictComparable","getNative","isNative","objectToString","hasPath","hasFunc","isLength","isString","isArguments","indexKeys","reIsPlainProp","reIsDeepProp","isPrototype","Ctor","proto","objectProto","rePropName","number","quote","reEscapeChar","isArrayLikeObject","propertyIsEnumerable","isArrayLike","getLength","funcTag","genTag","reIsNative","funcToString","reIsHostCtor","isSymbol","typedArrayTags","symbolToString","INFINITY","defaultValue","isProto","indexes","skipIndexes","weakMapTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reRegExpChar","objectTypes","function","freeExports","freeModule","freeGlobal","freeSelf","freeWindow","thisGlobal","arrayProto","_Symbol","Set","WeakMap","mapCtorString","setCtorString","weakMapCtorString","symbolProto","valueOf","ctorString","cleanUpNextTick","draining","currentQueue","queue","queueIndex","drainQueue","run","Item","fun","process","nextTick","title","browser","env","argv","versions","binding","cwd","chdir","dir","umask","Kibo","KEY_NAMES_BY_CODE",8,9,13,16,17,18,20,27,32,37,38,39,40,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,112,113,114,115,116,117,118,119,120,121,122,123,"KEY_CODES_BY_NAME","MODIFIERS","registerEvent","attachEvent","unregisterEvent","detachEvent","stringContains","neatString","capitalize","what","arrayIncludes","haystack","needle","extractModifiers","keyCombination","modifiers","extractKey","modifiersAndKey","keyName","keyCode","that","lastKeyCode","lastModifiers","keysDown","any","keysUp","downHandler","upHandler","unloader","upOrDown","registeredKeys","lastModifiersAndKey","registerKeys","newKeys","unregisterKeys","down","up","lastKey","modifier","_eventHandler","_eventHandler2","_bufferHelper","_bufferHelper2","AbrController","_EventHandler","lastLoadedFragLevel","_autoLevelCapping","_nextAutoLevel","onCheck","abandonRulesCheck","clearTimer","timer","setInterval","fragCurrent","frag","stats","aborted","loadCounter","lastfetchduration","performance","trequest","lastbw","paused","autoLevel","requestDelay","loadRate","max","expectedLen","currentTime","fragLoadedDelay","bufferStarvationDelay","bufferInfo","maxBufferHole","fragLevelNextLoadedDelay","nextLoadLevel","levels","bitrate","toFixed","loader","clearInterval","newLevel","adjustedbw","maxAutoLevel","min","nextLevel","BufferController","onsbue","onSBUpdateEnd","onsbe","onSBUpdateError","ms","mediaSource","MediaSource","onmso","onMediaSourceOpen","onmse","onMediaSourceEnded","onmsc","onMediaSourceClose","URL","createObjectURL","endOfStream","err","pendingTracks","sourceBuffer","onBufferCodecs","doAppending","_needsFlush","doFlush","_needsEos","onBufferEos","sb","removeSourceBuffer","flushRange","appended","tracks","trackName","track","levelCodec","addSourceBuffer","segments","audio","updating","video","startOffset","endOffset","flushBufferCounter","range","flushBuffer","segment","appendBuffer","appendError","code","appendErrorMaxRetry","bufStart","bufEnd","flushStart","flushEnd","POSITIVE_INFINITY","CapLevelController","capLevelToPlayerSize","autoLevelCapping","HTMLVideoElement","firstLevel","getMaxLevel","detectPlayerSize","levelsLength","streamController","nextLevelSwitch","capLevelIndex","mWidth","mediaWidth","mHeight","mediaHeight","lWidth","lHeight","pixelRatio","devicePixelRatio","clientWidth","offsetWidth","contentScaleFactor","clientHeight","offsetHeight","LevelController","ontick","tick","_manualLevel","canload","bitrateStart","levels0","bitrateSet","videoCodecFound","audioCodecFound","redundantLevelId","urlId","checkSupportedAudio","isTypeSupported","checkSupportedVideo","_levels","_firstLevel","_level","levelId","recoverable","abrController","nextAutoLevel","targetduration","setLevelInternal","_startLevel","_demuxer","_demuxer2","_binarySearch","_binarySearch2","_levelHelper","_levelHelper2","State","STOPPED","STARTING","IDLE","PAUSED","FRAG_LOADING_WAITING_RETRY","WAITING_LEVEL","PARSING","PARSED","ENDED","StreamController","audioCodecSwap","ticks","stopLoad","startPosition","lastCurrentTime","fragLoadError","lastPaused","nextLoadPosition","fragPrevious","doTick","levelDetails","_this2","startLevel","fragBitrateTest","loadedmetadata","startFragRequested","startFragPrefetch","maxBufLen","maxBufferSize","maxBufferLength","maxMaxBufferLength","levelLastLoaded","fragments","fragLen","maxLatency","liveMaxLatencyDuration","liveMaxLatencyDurationCount","targetLatency","liveSyncDuration","liveSyncDurationCount","seekAfterBuffered","totalduration","PTSKnown","targetSN","startSN","endSN","foundFrag","maxFragLookUpTolerance","candidate","decryptdata","uri","autoLevelEnabled","fragLoadIdx","maxThreshold","fragLoadingLoopThreshold","loadIdx","retryDate","isSeeking","seeking","_checkBuffer","_checkFragmentChanged","bufferRange","getBufferRange","rangeCurrent","playbackRate","isBuffered","fragPlaying","immediateSwitch","previouslyPaused","fetchdelay","currentRange","nextRange","nextLevelId","fragLastKbps","followingBufferRange","onvseeking","onMediaSeeking","onvseeked","onMediaSeeked","onvended","onMediaEnded","autoStartLoad","startLoad","ended","stalled","aac","heaac","audioCodecSwitch","startLevelLoaded","newDetails","newLevelId","curLevel","sliding","curDetails","mergeDetails","tparsed","tbuffered","currentLevel","defaultAudioCodec","lastAudioCodec","pendingAppending","payload","metadata","mergedTrack","audiovideo","initSegment","_this3","tparse2","startPTS","endPTS","startDTS","endDTS","nb","drift","updateFragPTS","data1","data2","buffer","_checkAppendedParsed","tfirst","timeRangesToString","loadError","fragLoadingMaxRetry","delay","pow","fragLoadingRetryDelay","targetSeekPosition","expectedPlaying","jumpThreshold","playheadMoving","seekHoleNudgeDuration","nextBufferStart","delta","maxSeekHole","newRange","immediateLevelSwitchEnd","nextBufferRange","_cea708Interpreter","_cea708Interpreter2","TimelineController","enableCEA708Captions","cea708Interpreter","attach","lastPts","pts","samples","bytes","AES","_tables","_precompute","tmp","encKey","decKey","sbox","decTable","keyLen","rcon","xInv","x4","x8","tEnc","tDec","encTable","sboxInv","encrypted0","encrypted1","encrypted2","encrypted3","b2","c2","nInnerRounds","kIndex","table","table0","table1","table2","table3","_aes","_aes2","AES128Decrypter","initVector","iv","word","encrypted","init0","init1","init2","init3","wordIx","encrypted32","Int32Array","byteOffset","decipher","decrypted","decrypted32","ntoh","decrypt","doDecrypt","step","localDecrypt","subarray","Uint32Array","_aes128Decrypter","_aes128Decrypter2","Decrypter","browserCrypto","crypto","subtle","webkitSubtle","disableWebCrypto","enableSoftwareAES","decryptBySoftware","decryptByWebCrypto","importKey","importedKey","onWebCryptoError","key8","iv8","view","DataView","getUint32","decrypter","_adts","_adts2","_id","_id2","AACDemuxer","remuxerClass","remuxer","_aacTrack","sequenceNumber","frameLength","frameDuration","frameIndex","headerLength","stamp","aacSample","id3","timeStamp","audiosamplerate","getAudioConfig","unit","dts","remux","hasTimeStamp","_demuxerInline","_demuxerInline2","_events3","_events4","DemuxerWorker","cmd","postMessage","objData","_demuxerWorker","_demuxerWorker2","_decrypter","_decrypter2","Demuxer","mp4","enableMP2TPassThrough","enableWorker","Worker","work","onwmsg","onWorkerMessage","demuxInitialized","terminate","localthis","decryptedData","pushDecrypted","ExpGolomb","bytesAvailable","bitsAvailable","workingBytes","availableBytes","count","skipBytes","loadWord","bits","valu","readBits","leadingZeroCount","skipLZ","skipBits","clz","readUEG","deltaScale","lastScale","nextScale","readEG","profileIdc","profileCompat","levelIdc","numRefFramesInPicOrderCntCycle","picWidthInMbsMinus1","picHeightInMapUnitsMinus1","frameMbsOnlyFlag","scalingListCount","frameCropLeftOffset","frameCropRightOffset","frameCropTopOffset","frameCropBottomOffset","sarScale","readUByte","skipUEG","chromaFormatIdc","readBoolean","skipScalingList","picOrderCntType","skipEG","sarRatio","aspectRatioIdc","ceil","ID3","_hasTimeStamp","byte1","byte2","byte3","byte4","tagSize","endPos","header","readUTF","_parseID3Frames","_length","_payload","fromCharCode","tagId","tagLen","tagStart","tagFlags","timestamp","pts33Bit","_timeStamp","_expGolomb","_expGolomb2","TSDemuxer","lastCC","pmtParsed","_pmtId","lastAacPTS","aacOverFlow","_avcTrack","nbNalu","_id3Track","_txtTrack","switchLevel","insertDiscontinuity","avcData","aacData","id3Data","stt","pid","atf","codecsOnly","passthrough","_duration","contiguous","lastLevel","lastSN","avcId","aacId","id3Id","_parseAVCPES","_parsePES","_parseAACPES","_parseID3PES","_parsePAT","_parsePMT","_initPTS","_initDTS","sectionLength","tableEnd","programInfoLength","stream","pesFlags","pesPrefix","pesLen","pesHdrLen","pesData","pesPts","pesDts","payloadStartOffset","pes","expGolombDecoder","avcSample","units","_parseAVCNALu","units2","lastavcSample","lastUnit","debugString","payloadType","payloadSize","countryCode","providerCode","readUShort","userStructure","readUInt","userDataType","firstByte","secondByte","totalCCs","byteArray","sps","readSPS","codecarray","codecstring","pps","overflow","unitType","lastUnitStart","lastUnitType","lastUnits","newPTS","LevelHelper","oldDetails","PTSFrag","oldfragments","newfragments","ccOffset","oldFrag","newFrag","fragIdx","updatePTS","fromIdx","toIdx","fragFrom","fragTo","fragToPTS","_playlistLoader","_playlistLoader2","_fragmentLoader","_fragmentLoader2","_abrController","_abrController2","_bufferController","_bufferController2","_capLevelController","_capLevelController2","_streamController","_streamController2","_levelController","_levelController2","_timelineController","_timelineController2","_xhrLoader","_xhrLoader2","_keyLoader","_keyLoader2","Hls","defaultConfig","DefaultConfig","playlistLoader","fragmentLoader","levelController","bufferController","capLevelController","timelineController","keyLoader","Infinity","manifestLoadingTimeOut","manifestLoadingMaxRetry","manifestLoadingRetryDelay","levelLoadingTimeOut","levelLoadingMaxRetry","levelLoadingRetryDelay","fragLoadingTimeOut","fLoader","pLoader","detachMedia","swapAudioCodec","attachMedia","loadLevel","immediateLevelSwitch","manualLevel","FragmentLoader","loadsuccess","loaderror","loadtimeout","loadprogress","response","KeyLoader","decryptkey","decrypturl","_url","_url2","_attrList","_attrList2","PlaylistLoader","id1","id2","retry","retryDelay","buildAbsoluteURL","baseurl","re","resolution","decimalResolution","decimalInteger","NAME","codecs","CODECS","avc1toavcoti","avcdata","substr","stringify","regexp","byteRangeEndOffset","byteRangeStartOffset","currentSN","levelkey","programDateTime","fragdecryptdata","cloneObj","uint8View","decryptparams","keyAttrs","decryptmethod","enumeratedString","decrypturi","URI","decryptiv","hexadecimalInteger","responseURL","tload","mtime","parseLevelPlaylist","parseMasterPlaylist","MP4","types","avc1","avcC","btrt","dinf","dref","esds","ftyp","hdlr","mdat","mdhd","mdia","mfhd","minf","moof","moov","mp4a","mvex","mvhd","sdtp","stbl","stco","stsc","stsd","stsz","stts","tfdt","tfhd","traf","trak","trun","trex","tkhd","vmhd","smhd","charCodeAt","videoHdlr","audioHdlr","HDLR_TYPES","STTS","STSC","STCO","STSZ","VMHD","SMHD","STSD","majorBrand","avc1Brand","minorVersion","FTYP","box","DINF","timescale","baseMediaDecodeTime","boxes","flags","dependsOn","isDependedOn","hasRedundancy","avcc","configlen","sampleDependencyTable","sample","cts","arraylen","isLeading","paddingValue","isNonSync","degradPrio","movie","_mp4Generator","_mp4Generator2","MP4Remuxer","ISGenerated","PES2MP4SCALEFACTOR","PES_TIMESCALE","MP4_TIMESCALE","nextAacPts","nextAvcDts","audioTrack","videoTrack","id3Track","textTrack","generateIS","remuxVideo","remuxAudio","remuxID3","remuxText","initPTS","initDTS","audioSamples","videoSamples","pesTimeScale","computePTSDTS","greatestCommonDivisor","mp4Sample","mp4SampleLength","firstPTS","firstDTS","lastDTS","ptsnorm","dtsnorm","pes2mp4ScaleFactor","setUint32","_PTSNormalize","sampleDuration","lastSampleDuration","mp4timeScale","expectedSampleDuration","samples0","nbSamples","reference","PassThroughRemuxer","rawData","AttrList","parseAttrList","attrName","intValue","stringValue","res","input","lastIndexOf","BinarySearch","comparisonFunction","minIndex","maxIndex","currentIndex","currentElement","comparisonResult","CEA708Interpreter","VTTCue","TextTrackCue","cue","pauseOnExit","startTime","MAX_VALUE","endTime","_textTrack","cues","removeCue","_createCue","tmpByte","ccbyte1","ccbyte2","ccValid","ccType","_fromCharCode","_clearActiveCues","_text","_flipMemory","_flushCaptions","_has708","addTextTrack","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","memoryItem","addCue","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","displayItem","URLHelper","baseURL","relativeURL","relativeURLQuery","relativeURLHash","relativeURLHashSplit","relativeURLQuerySplit","baseURLHashSplit","baseURLQuerySplit","baseURLDomainSplit","baseURLProtocol","baseURLDomain","baseURLPath","builtURL","buildAbsolutePath","basePath","relativePath","nUpLn","nEnd","sRelPath","sDir","sPath","nStart","XhrLoader","xhrSetup","timeoutHandle","responseType","onSuccess","onError","onTimeout","maxRetry","onProgress","byteRange","loadInternal","XDomainRequest","onloadend","loadend","onprogress","baseForOwn","baseFor","createBaseEach","eachFunc","fromRight","iterable","createBaseFor","keysFunc","retKey","baseIndexOf","arrayIncludesWith","comparator","fromIndex","indexOfNaN","cacheHas","baseUniq","includes","isCommon","seen","createSet","SetCache","outer","computed","seenIndex","cachePush","FUNC_ERROR_TEXT","toInteger","toNumber","sign","MAX_INTEGER","remainder","reTrim","isBinary","reIsBinary","reIsOctal","freeParseInt","reIsBadHex","NAN","uniqBy","sources","webpackBootstrapFunc","oe","entryModule","wrapperFuncString","fnString","exp","webkitURL","mozURL","msURL","Blob","_style","_style2","playback","isReady","mediaControlDisabled","plugins","data-container","dblclick","doubleTap","contextmenu","buffering","timeUpdated","onBuffering","bufferfull","settingsUpdate","loadedMetadata","highDefinitionUpdate","updateBitrate","playbackStateChanged","playbackDvrStateChanged","disableMediaControl","enableMediaControl","onEnded","playing","stopped","dvrInUse","newBitrate","statsReport","metrics","isDvrEnabled","dvrEnabled","isDvrInUse","plugin","setStyle","animate","getCurrentTime","errorObj","timeProgress","current","progressObj","clicked","chromeless","allowUserInteraction","dblClicked","onContextMenu","setVolume","fullscreen","addPlugin","hasPlugin","getPlugin","mouseEnter","mouseLeave","isHD","updateStyle","configure","ContainerFactory","createContainers","createContainer","findPlaybackPlugin","resolvedSource","playbackPlugin","defer","addContainerPlugins","containerPlugins","Plugin","_container_factory","_container_factory2","playerInfo","containers","setupMediaControl","_boundFullscreenHandler","handleFullscreenChange","webkitfullscreenchange","data-player","containerFactory","setupContainers","resolveOnContainersReady","updateSize","setFullscreen","setPlayerSize","previousSize","resize","enableResizeObserver","checkSizeCallback","computedSize","resizeObserverInterval","disableResizeObserver","_this4","_this5","mediaControl","setMediaControlContainer","setContainer","removeContainer","appendContainer","renderContainers","getCurrentContainer","appendTo","parentElement","_this6","createMediaControl","focusElement","toggleFullscreen","onMediaControlShow","mediacontrol","external","getCurrentPlayback","showMediaControl","hideMediaControl","hideMediaControlDelay","showing","_this7","CoreFactory","player","addCorePlugins","corePlugins","setupExternalInterface","externalFunctions","_spinner_three_bounce","_spinner_three_bounce2","_stats","_stats2","_watermark","_watermark2","_google_analytics","_google_analytics2","_click_to_pause","_click_to_pause2","_dvr_controls","_dvr_controls2","_favicon","_favicon2","_seek_time","_seek_time2","_sources","_sources2","_end_video","_end_video2","externalPlugins","validateExternalPluginsType","addExternalPlugins","groupPluginsByType","memo","plugintypes","errorMessage","_kibo","_kibo2","_mediaControl","_mediaControl2","_mediaControl3","_mediaControl4","_play","_play2","_pause","_pause2","_stop","_stop2","_volume","_volume2","_mute","_mute2","_expand","_expand2","_shrink","_shrink2","_hd","_hd2","persistConfig","currentPositionValue","currentDurationValue","initialVolume","mute","keepVisible","addEventListeners","right","stopDragHandler","stopDrag","updateDragHandler","updateDrag","data-media-control","click [data-play]","click [data-pause]","click [data-playpause]","click [data-stop]","click [data-playstop]","click [data-fullscreen]","click .bar-container[data-seekbar]","click .bar-container[data-volume]","click .drawer-icon[data-volume]","mouseenter .drawer-container[data-volume]","mouseleave .drawer-container[data-volume]","mousedown .bar-container[data-volume]","mousemove .bar-container[data-volume]","mousedown .bar-scrubber[data-seekbar]","mousemove .bar-container[data-seekbar]","mouseleave .bar-container[data-seekbar]","mouseenter .media-control-layer[data-controls]","mouseleave .media-control-layer[data-controls]","intendedVolume","playerResize","changeTogglePlay","onTimeUpdate","updateProgressBar","onVolumeChanged","updateVolumeUI","rendered","$volumeBarContainer","containerWidth","barWidth","$volumeBarBackground","$volumeBarFill","$volumeBarScrubber","$volumeIcon","muted","applyButtonStyle","$playPauseToggle","$playStopToggle","mousemoveOnSeekBar","seekEnabled","offsetX","$seekBarContainer","$seekBarHover","mouseleaveOnSeekBar","onVolumeClick","getVolumeFromUIEvent","mousemoveOnVolumeBar","draggingVolumeBar","$fullscreenToggle","hideVolumeBar","togglePlayPause","togglePlayStop","startSeekDrag","draggingSeekBar","$seekBarLoaded","$seekBarPosition","$seekBarScrubber","startVolumeDrag","setSeekPercentage","offsetY","volumeFromUI","toggleMute","setWhenContainerReady","resetUserKeepVisible","showVolumeBar","hideVolumeId","loadedStart","total","loadedEnd","renderSeekBar","currentSeekBarPercentage","newPosition","newDuration","displayedPosition","$position","displayedDuration","$duration","setKeepVisible","resetKeepVisible","setUserKeepVisible","userKeepVisible","isVisible","clientX","lastMouseX","clientY","lastMouseY","hideId","settingsChanged","$hdIndicator","createCachedElements","$layer","$volumeContainer","resetIndicators","initializeIcons","displayedSeekBarPercentage","seekRelative","bindKeyEvents","unbindKeyEvents","kibo","parseColors","buttonsColor","buttons","seekbarColor","seekbar","stylesheet","previousSeekPercentage","disableKeyboardShortcuts","_core_factory","_core_factory2","defaultOptions","normalizeSources","registerOptionEventListeners","coreFactory","parentId","setParentId","attachTo","onReady","containerChanged","onFullscreenChange","addContainerEventListeners","onPlay","onPause","onStop","onSeek","onVolumeUpdate","eventsMapping","onResize","userEvents","userEvent","eventType","eventFunction","getVolume","unmute","_flash3","_flash4","IE_CLASSID","_Playback","setupFirefox","attributes","swfPath","playbackId","wmode","callbackName","data-flash-playback","_Player","_Player2","MAX_ATTEMPTS","_BaseFlashPlayback","autoPlay","isReadyState","addListeners","currentState","bufferingState","bootstrap","playerPlay","firstPlay","insertAfter","metadataLoaded","_attempts","updateTime","getPosition","checkState","isIdle","getState","getBytesLoaded","getBytesTotal","checkInitialSeek","seekTime","seekSeconds","playerResume","playerVolume","playerPause","playerStop","playerSeek","bootstrapId","resource","resourceParts","_flashls_events","_flashls_events2","_HLSPlayer","_HLSPlayer2","AUTO","initHlsParameters","highDefinition","loop","defaultSettings","playbackType","hasEnded","_currentLevel","playerSetCurrentLevel","capLevelToStage","maxLevelCappingMode","minBufferLength","minBufferLengthCapping","maxBackBufferLength","lowBufferLength","mediaTimePeriod","fpsDroppedMonitoringPeriod","fpsDroppedMonitoringThreshold","capLevelonFPSDrop","smoothAutoSwitchonFPSDrop","switchDownOnLevelError","seekMode","keyLoadMaxRetry","keyLoadMaxRetryTimeout","fragmentLoadMaxRetry","fragmentLoadMaxRetryTimeout","fragmentLoadSkipAfterMaxRetry","maxSkippedFragments","flushLiveURLCache","initialLiveManifestSize","manifestLoadMaxRetry","manifestLoadMaxRetryTimeout","manifestRedundantLoadmaxRetry","startFromBitrate","startFromLevel","autoStartMaxDuration","seekFromLevel","useHardwareVideoDecoder","hlsLogEnabled","logDebug","logDebug2","logWarn","logError","hlsMinimumDvrSize","timeMetrics","setPlaybackState","levelChanged","flashPlaybackError","loadmetrics","onFragmentLoaded","playerLoad","srcLoaded","setFlashSettings","updatePlaybackType","_shouldPlayOnManifestLoaded","_bootstrapAttempts","playerSetAutoStartLoad","playerSetCapLevelToStage","playerSetMaxLevelCappingMode","playerSetMinBufferLength","playerSetMinBufferLengthCapping","playerSetMaxBufferLength","playerSetMaxBackBufferLength","playerSetLowBufferLength","playerSetMediaTimePeriod","playerSetFpsDroppedMonitoringPeriod","playerSetFpsDroppedMonitoringThreshold","playerSetCapLevelonFPSDrop","playerSetSmoothAutoSwitchonFPSDrop","playerSetSwitchDownOnLevelError","playerSetSeekMode","playerSetKeyLoadMaxRetry","playerSetKeyLoadMaxRetryTimeout","playerSetFragmentLoadMaxRetry","playerSetFragmentLoadMaxRetryTimeout","playerSetFragmentLoadSkipAfterMaxRetry","playerSetMaxSkippedFragments","playerSetFlushLiveURLCache","playerSetInitialLiveManifestSize","playerSetManifestLoadMaxRetry","playerSetManifestLoadMaxRetryTimeout","playerSetManifestRedundantLoadmaxRetry","playerSetStartFromBitrate","playerSetStartFromLevel","playerSetAutoStartMaxDuration","playerSetSeekFromLevel","playerSetUseHardwareVideoDecoder","playerSetLogInfo","playerSetLogDebug","playerSetLogDebug2","playerSetLogWarn","playerSetLogError","setAutoStartLoad","setCapLevelToStage","setMaxLevelCappingMode","setSetMinBufferLength","setMinBufferLengthCapping","setMaxBufferLength","setMaxBackBufferLength","setLowBufferLength","setMediaTimePeriod","setFpsDroppedMonitoringPeriod","setFpsDroppedMonitoringThreshold","setCapLevelonFPSDrop","setSmoothAutoSwitchonFPSDrop","setSwitchDownOnLevelError","setSeekMode","setKeyLoadMaxRetry","setKeyLoadMaxRetryTimeout","setFragmentLoadMaxRetry","setFragmentLoadMaxRetryTimeout","setFragmentLoadSkipAfterMaxRetry","setMaxSkippedFragments","setFlushLiveURLCache","setInitialLiveManifestSize","setManifestLoadMaxRetry","setManifestLoadMaxRetryTimeout","setManifestRedundantLoadmaxRetry","setStartFromBitrate","setStartFromLevel","setAutoStartMaxDuration","setSeekFromLevel","setUseHardwareVideoDecoder","setSetLogInfo","setLogDebug","setLogDebug2","setLogWarn","setLogError","getLevels","bandwidth","normalizeDuration","previousDVRStatus","livePlayback","updateSettings","getCurrentLevelIndex","getCurrentLevel","getCurrentBitrate","setCurrentLevel","updateCurrentState","getType","startReportingProgress","stopReportingProgress","reportingProgress","getbufferLength","manifestLoaded","updateDvr","previousDvrInUse","dvr","label","createCallbacks","Clappr","flashlsCallbacks","flashlsEvents","HLSEvents","instanceId","videoSize","manifest","audioLevelLoaded","levelLoaded","fragmentLoaded","fragmentPlaying","playmetrics","timemetrics","newState","seekState","audioTracksListChange","trackList","audioTrackChange","trackId","_HTML5VideoPlayback","minDvrSize","playableRegionStartTime","playableRegionDuration","setupHls","recoverAttemptsRemaining","hlsRecoverAttempts","hlsjsConfig","loadSource","evt","onLevelUpdated","onLevelSwitch","recover","_recoveredDecodingError","_recoveredAudioCodecError","recoverMediaError","setupSrc","srcUrl","seekTo","seekToLivePoint","isSeekEnabled","fillLevels","fragmentTargetDuration","hiddenAreaDuration","onDurationChange","isHls","isSupported","_HTML5Video","resourceUrl","mimetypes","wav","mp3","oga","_canPlay","_index","_index2","MIMETYPES","ogg","3gpp","webm","mkv","m3u8","loadStarted","playheadMovingTimer","poster","autoplay","setupSafari","preload","data-html5-video","canplay","canplaythrough","durationchange","loadeddata","seeked","timeupdate","waiting","onLoadedMetadata","handleBufferingEvents","autoSeekFromUrl","stopPlayheadMovingChecks","isMuted","startPlayheadMovingChecks","playheadMovingTimeOnCheck","determineIfPlayheadMoving","onWaiting","onLoadedData","onCanPlay","onPlaying","playheadShouldBeMoving","HAVE_FUTURE_DATA","bufferedPos","typeFor","useVideoTagDefaultControls","disableVideoTagContextMenu","mimeTypesByExtension","extension","mediaType","canPlayType","data-html-img","onLoad","_error","_error2","getNoOpMessage","messages","en","es","pt","data-no-op","playbackNotSupportedMessage","noise","idata","createImageData","canvas","buffer32","color","random","putImageData","animationHandle","getContext","ClickToPausePlugin","_ContainerPlugin","DVRControls","_UICorePlugin","click .live-button","data-dvr-controls","dvrChanged","shouldRender","useDvrControls","EndVideo","_CorePlugin","exitOnEnd","exitFullscreenOnEnd","Favicon","oldIcon","changeFavicon","setPlayIcon","setPauseIcon","resetIcon","createIcon","charCode","fillStyle","font","fillText","icon","toDataURL","playIcon","changeIcon","pauseIcon","currentIcon","GoogleAnalytics","gaAccount","account","trackerName","gaTrackerName","domainName","gaDomainName","currentHDState","embedScript","_gat","onload","onBufferFull","onPlaybackChanged","CONTAINER_FULL_SCREEN","onFullscreen","onHD","onDVR","_gaq","playbackState","BOLD","INFO","DEBUG","WARN","LEVEL_DEBUG","LEVEL_INFO","LEVEL_WARN","LEVEL_ERROR","LEVEL_DISABLED","COLORS","DESCRIPTIONS","offLevel","onOff","BLACKLIST","previousLevel","klassDescription","_instance","setLevel","_poster3","_poster4","PosterPlugin","_UIContainerPlugin","hasStartedPlaying","playRequested","update","data-poster","showPlayButton","$playButton","shouldHideOnPlay","audioOnly","background-image","$playWrapper","_seek_time3","_seek_time4","SeekTime","hoveringOverSeekBar","hoverPosition","actualLiveTime","actualLiveServerTime","actualLiveServerTimeDiff","getTime","data-seek-time","mediaControlContainer","isLiveStreamWithDvr","useActualLiveTime","showTime","hideTime","onContainerChanged","updateDuration","calculateHoverPosition","getSeekTime","secondsSinceMidnight","setHours","shouldBeVisible","currentSeekTime","displayedSeekTime","$seekTimeEl","durationShown","$durationEl","currentDuration","elWidth","elLeftPos","SourcesPlugin","onContainersCreated","firstValidSource","_spinner","_spinner2","_spinner3","_spinner4","SpinnerThreeBouncePlugin","showTimeout","data-spinner","StatsPlugin","setInitialAttrs","reportInterval","onStatsAdd","startupTime","rebufferingTime","watchingTime","rebuffers","externalMetrics","watchingTimeInit","intervalId","report","startupTimeInit","rebufferingTimeInit","getRebufferingTime","getWatchingTime","totalTime","isRebuffering","metric","getStats","_watermark3","_watermark4","WaterMarkPlugin","watermark","imageUrl","imageLink","watermarkLink","templateOptions"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,OAAAD,IAEAD,EAAA,OAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAP,WACAS,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,QAAA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8W3Jo6xBM,SAASC,EAAQD,EAASM,G4Jp6xBhCL,EAAAD,QAAAM,EAAAQ,EAAA,wC5J66xBM,SAASb,EAAQD,EAASM,G6J76xBhCL,EAAAD,QAAAM,EAAAQ,EAAA,wC7Js7xBM,SAASb,EAAQD,EAASM,G8Jt7xBhCL,EAAAD,QAAAM,EAAAQ,EAAA","file":"clappr.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([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Clappr\"] = factory();\n\telse\n\t\troot[\"Clappr\"] = factory();\n})(this, function() {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","(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([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Clappr\"] = factory();\n\telse\n\t\troot[\"Clappr\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \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/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\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.loaded = 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// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"<%=baseUrl%>/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/*!*********************!*\\\n !*** ./src/main.js ***!\n \\*********************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _player = __webpack_require__(/*! components/player */ 96);\n\t\n\tvar _player2 = _interopRequireDefault(_player);\n\t\n\tvar _utils = __webpack_require__(/*! base/utils */ 2);\n\t\n\tvar _utils2 = _interopRequireDefault(_utils);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _container_plugin = __webpack_require__(/*! base/container_plugin */ 18);\n\t\n\tvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\t\n\tvar _core_plugin = __webpack_require__(/*! base/core_plugin */ 19);\n\t\n\tvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\t\n\tvar _ui_core_plugin = __webpack_require__(/*! base/ui_core_plugin */ 23);\n\t\n\tvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\t\n\tvar _ui_container_plugin = __webpack_require__(/*! base/ui_container_plugin */ 20);\n\t\n\tvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\t\n\tvar _base_object = __webpack_require__(/*! base/base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tvar _ui_object = __webpack_require__(/*! base/ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _container = __webpack_require__(/*! components/container */ 33);\n\t\n\tvar _container2 = _interopRequireDefault(_container);\n\t\n\tvar _core = __webpack_require__(/*! components/core */ 34);\n\t\n\tvar _core2 = _interopRequireDefault(_core);\n\t\n\tvar _loader = __webpack_require__(/*! components/loader */ 35);\n\t\n\tvar _loader2 = _interopRequireDefault(_loader);\n\t\n\tvar _mediator = __webpack_require__(/*! components/mediator */ 16);\n\t\n\tvar _mediator2 = _interopRequireDefault(_mediator);\n\t\n\tvar _media_control = __webpack_require__(/*! components/media_control */ 36);\n\t\n\tvar _media_control2 = _interopRequireDefault(_media_control);\n\t\n\tvar _player_info = __webpack_require__(/*! components/player_info */ 21);\n\t\n\tvar _player_info2 = _interopRequireDefault(_player_info);\n\t\n\tvar _base_flash_playback = __webpack_require__(/*! playbacks/base_flash_playback */ 24);\n\t\n\tvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\t\n\tvar _flash = __webpack_require__(/*! playbacks/flash */ 37);\n\t\n\tvar _flash2 = _interopRequireDefault(_flash);\n\t\n\tvar _flashls = __webpack_require__(/*! playbacks/flashls */ 38);\n\t\n\tvar _flashls2 = _interopRequireDefault(_flashls);\n\t\n\tvar _hls = __webpack_require__(/*! playbacks/hls */ 39);\n\t\n\tvar _hls2 = _interopRequireDefault(_hls);\n\t\n\tvar _html5_audio = __webpack_require__(/*! playbacks/html5_audio */ 40);\n\t\n\tvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\t\n\tvar _html5_video = __webpack_require__(/*! playbacks/html5_video */ 22);\n\t\n\tvar _html5_video2 = _interopRequireDefault(_html5_video);\n\t\n\tvar _html_img = __webpack_require__(/*! playbacks/html_img */ 41);\n\t\n\tvar _html_img2 = _interopRequireDefault(_html_img);\n\t\n\tvar _no_op = __webpack_require__(/*! playbacks/no_op */ 42);\n\t\n\tvar _no_op2 = _interopRequireDefault(_no_op);\n\t\n\tvar _poster = __webpack_require__(/*! plugins/poster */ 43);\n\t\n\tvar _poster2 = _interopRequireDefault(_poster);\n\t\n\tvar _log = __webpack_require__(/*! plugins/log */ 25);\n\t\n\tvar _log2 = _interopRequireDefault(_log);\n\t\n\tvar _styler = __webpack_require__(/*! base/styler */ 8);\n\t\n\tvar _styler2 = _interopRequireDefault(_styler);\n\t\n\tvar _template = __webpack_require__(/*! base/template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar version = (\"0.2.42\");\n\t\n\texports.default = {\n\t Player: _player2.default,\n\t Mediator: _mediator2.default,\n\t Events: _events2.default,\n\t Browser: _browser2.default,\n\t PlayerInfo: _player_info2.default,\n\t MediaControl: _media_control2.default,\n\t ContainerPlugin: _container_plugin2.default,\n\t UIContainerPlugin: _ui_container_plugin2.default,\n\t CorePlugin: _core_plugin2.default,\n\t UICorePlugin: _ui_core_plugin2.default,\n\t Playback: _playback2.default,\n\t Container: _container2.default,\n\t Core: _core2.default,\n\t Loader: _loader2.default,\n\t BaseObject: _base_object2.default,\n\t UIObject: _ui_object2.default,\n\t Utils: _utils2.default,\n\t BaseFlashPlayback: _base_flash_playback2.default,\n\t Flash: _flash2.default,\n\t FlasHLS: _flashls2.default,\n\t HLS: _hls2.default,\n\t HTML5Audio: _html5_audio2.default,\n\t HTML5Video: _html5_video2.default,\n\t HTMLImg: _html_img2.default,\n\t NoOp: _no_op2.default,\n\t Poster: _poster2.default,\n\t Log: _log2.default,\n\t Styler: _styler2.default,\n\t version: version,\n\t template: _template2.default,\n\t $: _clapprZepto2.default\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 1 */\n/*!****************************!*\\\n !*** ./src/base/events.js ***!\n \\****************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; }; // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar _log = __webpack_require__(/*! plugins/log */ 25);\n\t\n\tvar _log2 = _interopRequireDefault(_log);\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.once */ 83);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar slice = Array.prototype.slice;\n\t\n\tvar eventSplitter = /\\s+/;\n\t\n\tvar eventsApi = function eventsApi(obj, action, name, rest) {\n\t if (!name) {\n\t return true;\n\t }\n\t\n\t // Handle event maps.\n\t if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {\n\t for (var key in name) {\n\t obj[action].apply(obj, [key, name[key]].concat(rest));\n\t }\n\t return false;\n\t }\n\t\n\t // Handle space separated event names.\n\t if (eventSplitter.test(name)) {\n\t var names = name.split(eventSplitter);\n\t for (var i = 0, l = names.length; i < l; i++) {\n\t obj[action].apply(obj, [names[i]].concat(rest));\n\t }\n\t return false;\n\t }\n\t\n\t return true;\n\t};\n\t\n\tvar triggerEvents = function triggerEvents(events, args) {\n\t var ev,\n\t i = -1,\n\t l = events.length,\n\t a1 = args[0],\n\t a2 = args[1],\n\t a3 = args[2];\n\t switch (args.length) {\n\t case 0:\n\t while (++i < l) {\n\t (ev = events[i]).callback.call(ev.ctx);\n\t }return;\n\t case 1:\n\t while (++i < l) {\n\t (ev = events[i]).callback.call(ev.ctx, a1);\n\t }return;\n\t case 2:\n\t while (++i < l) {\n\t (ev = events[i]).callback.call(ev.ctx, a1, a2);\n\t }return;\n\t case 3:\n\t while (++i < l) {\n\t (ev = events[i]).callback.call(ev.ctx, a1, a2, a3);\n\t }return;\n\t default:\n\t while (++i < l) {\n\t (ev = events[i]).callback.apply(ev.ctx, args);\n\t }return;\n\t }\n\t};\n\t\n\t/**\n\t * @class Events\n\t * @constructor\n\t * @module base\n\t */\n\t\n\tvar Events = function () {\n\t function Events() {\n\t _classCallCheck(this, Events);\n\t }\n\t\n\t /**\n\t * listen to an event indefinitely, if you want to stop you need to call `off`\n\t * @method on\n\t * @param {String} name\n\t * @param {Function} callback\n\t * @param {Object} context\n\t */\n\t\n\t Events.prototype.on = function on(name, callback, context) {\n\t if (!eventsApi(this, 'on', name, [callback, context]) || !callback) {\n\t return this;\n\t }\n\t this._events || (this._events = {});\n\t var events = this._events[name] || (this._events[name] = []);\n\t events.push({ callback: callback, context: context, ctx: context || this });\n\t return this;\n\t };\n\t\n\t /**\n\t * listen to an event only once\n\t * @method once\n\t * @param {String} name\n\t * @param {Function} callback\n\t * @param {Object} context\n\t */\n\t\n\t\n\t Events.prototype.once = function once(name, callback, context) {\n\t if (!eventsApi(this, 'once', name, [callback, context]) || !callback) {\n\t return this;\n\t }\n\t var self = this;\n\t var once = (0, _lodash2.default)(function () {\n\t self.off(name, once);\n\t callback.apply(this, arguments);\n\t });\n\t once._callback = callback;\n\t return this.on(name, once, context);\n\t };\n\t\n\t /**\n\t * stop listening to an event\n\t * @method off\n\t * @param {String} name\n\t * @param {Function} callback\n\t * @param {Object} context\n\t */\n\t\n\t\n\t Events.prototype.off = function off(name, callback, context) {\n\t var retain, ev, events, names, i, l, j, k;\n\t if (!this._events || !eventsApi(this, 'off', name, [callback, context])) {\n\t return this;\n\t }\n\t if (!name && !callback && !context) {\n\t this._events = void 0;\n\t return this;\n\t }\n\t names = name ? [name] : Object.keys(this._events);\n\t // jshint maxdepth:5\n\t for (i = 0, l = names.length; i < l; i++) {\n\t name = names[i];\n\t events = this._events[name];\n\t if (events) {\n\t this._events[name] = retain = [];\n\t if (callback || context) {\n\t for (j = 0, k = events.length; j < k; j++) {\n\t ev = events[j];\n\t if (callback && callback !== ev.callback && callback !== ev.callback._callback || context && context !== ev.context) {\n\t retain.push(ev);\n\t }\n\t }\n\t }\n\t if (!retain.length) {\n\t delete this._events[name];\n\t }\n\t }\n\t }\n\t return this;\n\t };\n\t\n\t /**\n\t * triggers an event given its `name`\n\t * @method trigger\n\t * @param {String} name\n\t */\n\t\n\t\n\t Events.prototype.trigger = function trigger(name) {\n\t var klass = this.name || this.constructor.name;\n\t try {\n\t _log2.default.debug.apply(_log2.default, [klass].concat(Array.prototype.slice.call(arguments)));\n\t if (!this._events) {\n\t return this;\n\t }\n\t var args = slice.call(arguments, 1);\n\t if (!eventsApi(this, 'trigger', name, args)) {\n\t return this;\n\t }\n\t var events = this._events[name];\n\t var allEvents = this._events.all;\n\t if (events) {\n\t triggerEvents(events, args);\n\t }\n\t if (allEvents) {\n\t triggerEvents(allEvents, arguments);\n\t }\n\t } catch (exception) {\n\t _log2.default.error.apply(_log2.default, [klass, 'error on event', name, 'trigger', '-', exception]);\n\t }\n\t return this;\n\t };\n\t\n\t /**\n\t * stop listening an event for a given object\n\t * @method stopListening\n\t * @param {Object} obj\n\t * @param {String} name\n\t * @param {Function} callback\n\t */\n\t\n\t\n\t Events.prototype.stopListening = function stopListening(obj, name, callback) {\n\t var listeningTo = this._listeningTo;\n\t if (!listeningTo) {\n\t return this;\n\t }\n\t var remove = !name && !callback;\n\t if (!callback && (typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {\n\t callback = this;\n\t }\n\t if (obj) {\n\t (listeningTo = {})[obj._listenId] = obj;\n\t }\n\t for (var id in listeningTo) {\n\t obj = listeningTo[id];\n\t obj.off(name, callback, this);\n\t if (remove || Object.keys(obj._events).length === 0) {\n\t delete this._listeningTo[id];\n\t }\n\t }\n\t return this;\n\t };\n\t\n\t return Events;\n\t}();\n\t\n\t/**\n\t * listen to an event indefinitely for a given `obj`\n\t * @method listenTo\n\t * @param {Object} obj\n\t * @param {String} name\n\t * @param {Function} callback\n\t * @param {Object} context\n\t * @example\n\t * ```javascript\n\t * this.listenTo(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)\n\t * ```\n\t */\n\t/**\n\t * listen to an event once for a given `obj`\n\t * @method listenToOnce\n\t * @param {Object} obj\n\t * @param {String} name\n\t * @param {Function} callback\n\t * @param {Object} context\n\t * @example\n\t * ```javascript\n\t * this.listenToOnce(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)\n\t * ```\n\t */\n\t\n\t\n\texports.default = Events;\n\tvar listenMethods = { listenTo: 'on', listenToOnce: 'once' };\n\t\n\tObject.keys(listenMethods).forEach(function (method) {\n\t Events.prototype[method] = function (obj, name, callback) {\n\t var listeningTo = this._listeningTo || (this._listeningTo = {});\n\t var id = obj._listenId || (obj._listenId = (0, _utils.uniqueId)('l'));\n\t listeningTo[id] = obj;\n\t if (!callback && (typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {\n\t callback = this;\n\t }\n\t obj[listenMethods[method]](name, callback, this);\n\t return this;\n\t };\n\t});\n\t\n\t// PLAYER EVENTS\n\t/**\n\t * Fired when the player is ready on startup\n\t *\n\t * @event PLAYER_READY\n\t */\n\tEvents.PLAYER_READY = 'ready';\n\t/**\n\t * Fired when player resizes\n\t *\n\t * @event PLAYER_RESIZE\n\t * @param {Object} currentSize an object with the current size\n\t */\n\tEvents.PLAYER_RESIZE = 'resize';\n\t/**\n\t * Fired when player changes its fullscreen state\n\t *\n\t * @event PLAYER_FULLSCREEN\n\t * @param {Boolean} whether or not the player is on fullscreen mode\n\t */\n\tEvents.PLAYER_FULLSCREEN = 'fullscreen';\n\t/**\n\t * Fired when player starts to play\n\t *\n\t * @event PLAYER_PLAY\n\t */\n\tEvents.PLAYER_PLAY = 'play';\n\t/**\n\t * Fired when player pauses\n\t *\n\t * @event PLAYER_PAUSE\n\t */\n\tEvents.PLAYER_PAUSE = 'pause';\n\t/**\n\t * Fired when player stops\n\t *\n\t * @event PLAYER_STOP\n\t */\n\tEvents.PLAYER_STOP = 'stop';\n\t/**\n\t * Fired when player ends the video\n\t *\n\t * @event PLAYER_ENDED\n\t */\n\tEvents.PLAYER_ENDED = 'ended';\n\t/**\n\t * Fired when player seeks the video\n\t *\n\t * @event PLAYER_SEEK\n\t * @param {Number} time the current time in seconds\n\t */\n\tEvents.PLAYER_SEEK = 'seek';\n\t/**\n\t * Fired when player receives an error\n\t *\n\t * @event PLAYER_ERROR\n\t * @param {Object} error the error\n\t */\n\tEvents.PLAYER_ERROR = 'error';\n\t/**\n\t * Fired when the time is updated on player\n\t *\n\t * @event PLAYER_TIMEUPDATE\n\t * @param {Object} progress Data\n\t * progress object\n\t * @param {Number} [progress.current]\n\t * current time\n\t * @param {Number} [progress.total]\n\t * total time\n\t */\n\tEvents.PLAYER_TIMEUPDATE = 'timeupdate';\n\t/**\n\t * Fired when player updates its volume\n\t *\n\t * @event PLAYER_VOLUMEUPDATE\n\t * @param {Number} volume the current volume\n\t */\n\tEvents.PLAYER_VOLUMEUPDATE = 'volumeupdate';\n\t\n\t// Playback Events\n\t/**\n\t * Fired when the playback is downloading the media\n\t *\n\t * @event PLAYBACK_PROGRESS\n\t * @param {Object} progress Data\n\t * progress object\n\t * @param {Number} [progress.start]\n\t * initial downloaded content\n\t * @param {Number} [progress.current]\n\t * current dowloaded content\n\t * @param {Number} [progress.total]\n\t * total content to be downloaded\n\t */\n\tEvents.PLAYBACK_PROGRESS = 'playback:progress';\n\t/**\n\t * Fired when the time is updated on playback\n\t *\n\t * @event PLAYBACK_TIMEUPDATE\n\t * @param {Object} progress Data\n\t * progress object\n\t * @param {Number} [progress.current]\n\t * current time\n\t * @param {Number} [progress.total]\n\t * total time\n\t */\n\tEvents.PLAYBACK_TIMEUPDATE = 'playback:timeupdate';\n\t/**\n\t * Fired when playback is ready\n\t *\n\t * @event PLAYBACK_READY\n\t */\n\tEvents.PLAYBACK_READY = 'playback:ready';\n\t/**\n\t * Fired when the playback starts having to buffer because\n\t * playback can currently not be smooth.\n\t *\n\t * This corresponds to the playback `buffering` property being\n\t * `true`.\n\t *\n\t * @event PLAYBACK_BUFFERING\n\t */\n\tEvents.PLAYBACK_BUFFERING = 'playback:buffering';\n\t/**\n\t * Fired when the playback has enough in the buffer to be\n\t * able to play smoothly, after previously being unable to\n\t * do this.\n\t *\n\t * This corresponds to the playback `buffering` property being\n\t * `false`.\n\t *\n\t * @event PLAYBACK_BUFFERFULL\n\t */\n\tEvents.PLAYBACK_BUFFERFULL = 'playback:bufferfull';\n\t/**\n\t * Fired when playback changes any settings (volume, seek and etc)\n\t *\n\t * @event PLAYBACK_SETTINGSUPDATE\n\t */\n\tEvents.PLAYBACK_SETTINGSUPDATE = 'playback:settingsupdate';\n\t/**\n\t * Fired when playback loaded its metadata\n\t *\n\t * @event PLAYBACK_LOADEDMETADATA\n\t * @param {Object} metadata Data\n\t * settings object\n\t * @param {Number} [metadata.duration]\n\t * the playback duration\n\t * @param {Object} [metadata.data]\n\t * extra meta data\n\t */\n\tEvents.PLAYBACK_LOADEDMETADATA = 'playback:loadedmetadata';\n\t/**\n\t * Fired when playback updates its video quality\n\t *\n\t * @event PLAYBACK_HIGHDEFINITIONUPDATE\n\t * @param {Boolean} isHD\n\t * true when is on HD, false otherwise\n\t */\n\tEvents.PLAYBACK_HIGHDEFINITIONUPDATE = 'playback:highdefinitionupdate';\n\t/**\n\t * Fired when playback updates its bitrate\n\t *\n\t * @event PLAYBACK_BITRATE\n\t * @param {Object} bitrate Data\n\t * bitrate object\n\t * @param {Number} [bitrate.bandwidth]\n\t * bitrate bandwidth when it's available\n\t * @param {Number} [bitrate.width]\n\t * playback width (ex: 720, 640, 1080)\n\t * @param {Number} [bitrate.height]\n\t * playback height (ex: 240, 480, 720)\n\t * @param {Number} [bitrate.level]\n\t * playback level when it's available, it could be just a map for width (0 => 240, 1 => 480, 2 => 720)\n\t */\n\tEvents.PLAYBACK_BITRATE = 'playback:bitrate';\n\t/**\n\t * Fired when the playback has its levels\n\t *\n\t * @event PLAYBACK_LEVELS_AVAILABLE\n\t * @param {Array} levels\n\t * the ordered levels, each one with the following format `{id: 1, label: '500kbps'}` ps: id should be a number >= 0\n\t * @param {Number} initial\n\t * the initial level otherwise -1 (AUTO)\n\t */\n\tEvents.PLAYBACK_LEVELS_AVAILABLE = 'playback:levels:available';\n\t/**\n\t * Fired when the playback starts to switch level\n\t *\n\t * @event PLAYBACK_LEVEL_SWITCH_START\n\t *\n\t */\n\tEvents.PLAYBACK_LEVEL_SWITCH_START = 'playback:levels:switch:start';\n\t/**\n\t * Fired when the playback ends the level switch\n\t *\n\t * @event PLAYBACK_LEVEL_SWITCH_END\n\t *\n\t */\n\tEvents.PLAYBACK_LEVEL_SWITCH_END = 'playback:levels:switch:end';\n\t\n\t/**\n\t * Fired when playback internal state changes\n\t *\n\t * @event PLAYBACK_PLAYBACKSTATE\n\t * @param {Object} state Data\n\t * state object\n\t * @param {String} [state.type]\n\t * the playback type\n\t */\n\tEvents.PLAYBACK_PLAYBACKSTATE = 'playback:playbackstate';\n\t/**\n\t * Fired when DVR becomes enabled/disabled.\n\t *\n\t * @event PLAYBACK_DVR\n\t * @param {boolean} state true if dvr enabled\n\t */\n\tEvents.PLAYBACK_DVR = 'playback:dvr';\n\t// TODO doc\n\tEvents.PLAYBACK_MEDIACONTROL_DISABLE = 'playback:mediacontrol:disable';\n\t// TODO doc\n\tEvents.PLAYBACK_MEDIACONTROL_ENABLE = 'playback:mediacontrol:enable';\n\t/**\n\t * Fired when the media for a playback ends.\n\t *\n\t * @event PLAYBACK_ENDED\n\t * @param {String} name the name of the playback\n\t */\n\tEvents.PLAYBACK_ENDED = 'playback:ended';\n\t/**\n\t * Fired when the media for a playback starts playing.\n\t * This is not necessarily when the user requests `play()`\n\t * The media may have to buffer first.\n\t * I.e. `isPlaying()` might return `true` before this event is fired,\n\t * because `isPlaying()` represents the intended state.\n\t *\n\t * @event PLAYBACK_PLAY\n\t */\n\tEvents.PLAYBACK_PLAY = 'playback:play';\n\t/**\n\t * Fired when the media for a playback pauses.\n\t *\n\t * @event PLAYBACK_PAUSE\n\t */\n\tEvents.PLAYBACK_PAUSE = 'playback:pause';\n\t/**\n\t * Fired when the media for a playback is stopped.\n\t *\n\t * @event PLAYBACK_STOP\n\t */\n\tEvents.PLAYBACK_STOP = 'playback:stop';\n\t/**\n\t * Fired if an error occurs in the playback.\n\t *\n\t * @event PLAYBACK_ERROR\n\t * @param {Object} error An object containing the error details\n\t * @param {String} name Playback name\n\t */\n\tEvents.PLAYBACK_ERROR = 'playback:error';\n\t// TODO doc\n\tEvents.PLAYBACK_STATS_ADD = 'playback:stats:add';\n\t// TODO doc\n\tEvents.PLAYBACK_FRAGMENT_LOADED = 'playback:fragment:loaded';\n\t// TODO doc\n\tEvents.PLAYBACK_LEVEL_SWITCH = 'playback:level:switch';\n\t\n\t/**\n\t * Fired when the options were changed for the core\n\t *\n\t * @event CORE_OPTIONS_CHANGE\n\t */\n\tEvents.CORE_OPTIONS_CHANGE = 'core:options:change';\n\t/**\n\t * Fired after creating containers, when the core is ready\n\t *\n\t * @event CORE_READY\n\t */\n\tEvents.CORE_READY = 'core:ready';\n\t/**\n\t * Fired when the fullscreen state change\n\t *\n\t * @param {Boolean} whether or not the player is on fullscreen mode\n\t * @event CORE_READY\n\t */\n\tEvents.CORE_FULLSCREEN = 'core:fullscreen';\n\t\n\t// Container Events\n\t/**\n\t * Fired when the container internal state changes\n\t *\n\t * @event CONTAINER_PLAYBACKSTATE\n\t * @param {Object} state Data\n\t * state object\n\t * @param {String} [state.type]\n\t * the playback type\n\t */\n\tEvents.CONTAINER_PLAYBACKSTATE = 'container:playbackstate';\n\tEvents.CONTAINER_PLAYBACKDVRSTATECHANGED = 'container:dvr';\n\t/**\n\t * Fired when the container updates its bitrate\n\t *\n\t * @event CONTAINER_BITRATE\n\t * @param {Object} bitrate Data\n\t * bitrate object\n\t * @param {Number} [bitrate.bandwidth]\n\t * bitrate bandwidth when it's available\n\t * @param {Number} [bitrate.width]\n\t * playback width (ex: 720, 640, 1080)\n\t * @param {Number} [bitrate.height]\n\t * playback height (ex: 240, 480, 720)\n\t * @param {Number} [bitrate.level]\n\t * playback level when it's available, it could be just a map for width (0 => 240, 1 => 480, 2 => 720)\n\t */\n\tEvents.CONTAINER_BITRATE = 'container:bitrate';\n\tEvents.CONTAINER_STATS_REPORT = 'container:stats:report';\n\tEvents.CONTAINER_DESTROYED = 'container:destroyed';\n\t/**\n\t * Fired when the container is ready\n\t *\n\t * @event CONTAINER_READY\n\t */\n\tEvents.CONTAINER_READY = 'container:ready';\n\tEvents.CONTAINER_ERROR = 'container:error';\n\t/**\n\t * Fired when the container loaded its metadata\n\t *\n\t * @event CONTAINER_LOADEDMETADATA\n\t * @param {Object} metadata Data\n\t * settings object\n\t * @param {Number} [metadata.duration]\n\t * the playback duration\n\t * @param {Object} [metadata.data]\n\t * extra meta data\n\t */\n\tEvents.CONTAINER_LOADEDMETADATA = 'container:loadedmetadata';\n\t/**\n\t * Fired when the time is updated on container\n\t *\n\t * @event CONTAINER_TIMEUPDATE\n\t * @param {Object} progress Data\n\t * progress object\n\t * @param {Number} [progress.current]\n\t * current time\n\t * @param {Number} [progress.total]\n\t * total time\n\t */\n\tEvents.CONTAINER_TIMEUPDATE = 'container:timeupdate';\n\t/**\n\t * Fired when the container is downloading the media\n\t *\n\t * @event CONTAINER_PROGRESS\n\t * @param {Object} progress Data\n\t * progress object\n\t * @param {Number} [progress.start]\n\t * initial downloaded content\n\t * @param {Number} [progress.current]\n\t * current dowloaded content\n\t * @param {Number} [progress.total]\n\t * total content to be downloaded\n\t */\n\tEvents.CONTAINER_PROGRESS = 'container:progress';\n\tEvents.CONTAINER_PLAY = 'container:play';\n\tEvents.CONTAINER_STOP = 'container:stop';\n\tEvents.CONTAINER_PAUSE = 'container:pause';\n\tEvents.CONTAINER_ENDED = 'container:ended';\n\tEvents.CONTAINER_CLICK = 'container:click';\n\tEvents.CONTAINER_DBLCLICK = 'container:dblclick';\n\tEvents.CONTAINER_CONTEXTMENU = 'container:contextmenu';\n\tEvents.CONTAINER_MOUSE_ENTER = 'container:mouseenter';\n\tEvents.CONTAINER_MOUSE_LEAVE = 'container:mouseleave';\n\t/**\n\t * Fired when the container seeks the video\n\t *\n\t * @event CONTAINER_SEEK\n\t * @param {Number} time the current time in seconds\n\t */\n\tEvents.CONTAINER_SEEK = 'container:seek';\n\tEvents.CONTAINER_VOLUME = 'container:volume';\n\tEvents.CONTAINER_FULLSCREEN = 'container:fullscreen';\n\t/**\n\t * Fired when container is buffering\n\t *\n\t * @event CONTAINER_STATE_BUFFERING\n\t */\n\tEvents.CONTAINER_STATE_BUFFERING = 'container:state:buffering';\n\t/**\n\t * Fired when the container filled the buffer\n\t *\n\t * @event CONTAINER_STATE_BUFFERFULL\n\t */\n\tEvents.CONTAINER_STATE_BUFFERFULL = 'container:state:bufferfull';\n\t/**\n\t * Fired when the container changes any settings (volume, seek and etc)\n\t *\n\t * @event CONTAINER_SETTINGSUPDATE\n\t */\n\tEvents.CONTAINER_SETTINGSUPDATE = 'container:settingsupdate';\n\t/**\n\t * Fired when container updates its video quality\n\t *\n\t * @event CONTAINER_HIGHDEFINITIONUPDATE\n\t * @param {Boolean} isHD\n\t * true when is on HD, false otherwise\n\t */\n\tEvents.CONTAINER_HIGHDEFINITIONUPDATE = 'container:highdefinitionupdate';\n\t\n\t/**\n\t * Fired when the media control shows\n\t *\n\t * @event CONTAINER_MEDIACONTROL_SHOW\n\t */\n\tEvents.CONTAINER_MEDIACONTROL_SHOW = 'container:mediacontrol:show';\n\t/**\n\t * Fired when the media control hides\n\t *\n\t * @event CONTAINER_MEDIACONTROL_HIDE\n\t */\n\tEvents.CONTAINER_MEDIACONTROL_HIDE = 'container:mediacontrol:hide';\n\t\n\tEvents.CONTAINER_MEDIACONTROL_DISABLE = 'container:mediacontrol:disable';\n\tEvents.CONTAINER_MEDIACONTROL_ENABLE = 'container:mediacontrol:enable';\n\tEvents.CONTAINER_STATS_ADD = 'container:stats:add';\n\t/**\n\t * Fired when the options were changed for the container\n\t *\n\t * @event CONTAINER_OPTIONS_CHANGE\n\t */\n\tEvents.CONTAINER_OPTIONS_CHANGE = 'container:options:change';\n\t\n\t// MediaControl Events\n\tEvents.MEDIACONTROL_RENDERED = 'mediacontrol:rendered';\n\t/**\n\t * Fired when the player enters/exit on fullscreen\n\t *\n\t * @event MEDIACONTROL_FULLSCREEN\n\t */\n\tEvents.MEDIACONTROL_FULLSCREEN = 'mediacontrol:fullscreen';\n\t/**\n\t * Fired when the media control shows\n\t *\n\t * @event MEDIACONTROL_SHOW\n\t */\n\tEvents.MEDIACONTROL_SHOW = 'mediacontrol:show';\n\t/**\n\t * Fired when the media control hides\n\t *\n\t * @event MEDIACONTROL_HIDE\n\t */\n\tEvents.MEDIACONTROL_HIDE = 'mediacontrol:hide';\n\t/**\n\t * Fired when mouse enters on the seekbar\n\t *\n\t * @event MEDIACONTROL_MOUSEMOVE_SEEKBAR\n\t * @param {Object} event\n\t * the javascript event\n\t */\n\tEvents.MEDIACONTROL_MOUSEMOVE_SEEKBAR = 'mediacontrol:mousemove:seekbar';\n\t/**\n\t * Fired when mouse leaves the seekbar\n\t *\n\t * @event MEDIACONTROL_MOUSELEAVE_SEEKBAR\n\t * @param {Object} event\n\t * the javascript event\n\t */\n\tEvents.MEDIACONTROL_MOUSELEAVE_SEEKBAR = 'mediacontrol:mouseleave:seekbar';\n\t/**\n\t * Fired when the media is being played\n\t *\n\t * @event MEDIACONTROL_PLAYING\n\t */\n\tEvents.MEDIACONTROL_PLAYING = 'mediacontrol:playing';\n\t/**\n\t * Fired when the media is not being played\n\t *\n\t * @event MEDIACONTROL_NOTPLAYING\n\t */\n\tEvents.MEDIACONTROL_NOTPLAYING = 'mediacontrol:notplaying';\n\t/**\n\t * Fired when the container was changed\n\t *\n\t * @event MEDIACONTROL_CONTAINERCHANGED\n\t */\n\tEvents.MEDIACONTROL_CONTAINERCHANGED = 'mediacontrol:containerchanged';\n\t\n\t// Core Events\n\tEvents.CORE_CONTAINERS_CREATED = 'core:containers:created';\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 2 */\n/*!***************************!*\\\n !*** ./src/base/utils.js ***!\n \\***************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.cancelAnimationFrame = exports.requestAnimationFrame = exports.QueryString = exports.Config = exports.Fullscreen = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\texports.extend = extend;\n\texports.formatTime = formatTime;\n\texports.seekStringToSeconds = seekStringToSeconds;\n\texports.uniqueId = uniqueId;\n\texports.isNumber = isNumber;\n\texports.currentScriptUrl = currentScriptUrl;\n\texports.getBrowserLanguage = getBrowserLanguage;\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t/*jshint -W079 */\n\t\n\tfunction extend(parent, properties) {\n\t var pluginName = properties.name || \"\";\n\t\n\t var MergedPlugin = function (_parent) {\n\t _inherits(MergedPlugin, _parent);\n\t\n\t function MergedPlugin(args) {\n\t _classCallCheck(this, MergedPlugin);\n\t\n\t var _this = _possibleConstructorReturn(this, _parent.call(this, args));\n\t\n\t if (properties.initialize) {\n\t properties.initialize.apply(_this, Array.prototype.slice.apply(arguments));\n\t }\n\t return _this;\n\t }\n\t\n\t _createClass(MergedPlugin, [{\n\t key: 'name',\n\t get: function get() {\n\t return pluginName;\n\t }\n\t }]);\n\t\n\t return MergedPlugin;\n\t }(parent);\n\t\n\t delete properties.name;\n\t _clapprZepto2.default.extend(MergedPlugin.prototype, properties);\n\t return MergedPlugin;\n\t}\n\t\n\tfunction formatTime(time, paddedHours) {\n\t if (!isFinite(time)) {\n\t return \"--:--\";\n\t }\n\t time = time * 1000;\n\t time = parseInt(time / 1000);\n\t var seconds = time % 60;\n\t time = parseInt(time / 60);\n\t var minutes = time % 60;\n\t time = parseInt(time / 60);\n\t var hours = time % 24;\n\t var days = parseInt(time / 24);\n\t var out = \"\";\n\t if (days && days > 0) {\n\t out += days + \":\";\n\t if (hours < 1) {\n\t out += \"00:\";\n\t }\n\t }\n\t if (hours && hours > 0 || paddedHours) {\n\t out += (\"0\" + hours).slice(-2) + \":\";\n\t }\n\t out += (\"0\" + minutes).slice(-2) + \":\";\n\t out += (\"0\" + seconds).slice(-2);\n\t return out.trim();\n\t}\n\t\n\tvar Fullscreen = exports.Fullscreen = {\n\t isFullscreen: function isFullscreen() {\n\t return !!(document.webkitFullscreenElement || document.webkitIsFullScreen || document.mozFullScreen || document.msFullscreenElement);\n\t },\n\t requestFullscreen: function requestFullscreen(el) {\n\t if (el.requestFullscreen) {\n\t el.requestFullscreen();\n\t } else if (el.webkitRequestFullscreen) {\n\t el.webkitRequestFullscreen();\n\t } else if (el.mozRequestFullScreen) {\n\t el.mozRequestFullScreen();\n\t } else if (el.msRequestFullscreen) {\n\t el.msRequestFullscreen();\n\t } else if (el.querySelector && el.querySelector(\"video\") && el.querySelector(\"video\").webkitEnterFullScreen) {\n\t el.querySelector(\"video\").webkitEnterFullScreen();\n\t }\n\t },\n\t cancelFullscreen: function cancelFullscreen() {\n\t if (document.exitFullscreen) {\n\t document.exitFullscreen();\n\t } else if (document.webkitCancelFullScreen) {\n\t document.webkitCancelFullScreen();\n\t } else if (document.webkitExitFullscreen) {\n\t document.webkitExitFullscreen();\n\t } else if (document.mozCancelFullScreen) {\n\t document.mozCancelFullScreen();\n\t } else if (document.msExitFullscreen) {\n\t document.msExitFullscreen();\n\t }\n\t }\n\t};\n\t\n\tvar Config = exports.Config = function () {\n\t function Config() {\n\t _classCallCheck(this, Config);\n\t }\n\t\n\t Config._defaultConfig = function _defaultConfig() {\n\t return {\n\t volume: {\n\t value: 100,\n\t parse: parseInt\n\t }\n\t };\n\t };\n\t\n\t Config._defaultValueFor = function _defaultValueFor(key) {\n\t try {\n\t return this._defaultConfig()[key].parse(this._defaultConfig()[key].value);\n\t } catch (e) {\n\t return undefined;\n\t }\n\t };\n\t\n\t Config._createKeyspace = function _createKeyspace(key) {\n\t return 'clappr.' + document.domain + '.' + key;\n\t };\n\t\n\t Config.restore = function restore(key) {\n\t if (_browser2.default.hasLocalstorage && localStorage[this._createKeyspace(key)]) {\n\t return this._defaultConfig()[key].parse(localStorage[this._createKeyspace(key)]);\n\t }\n\t return this._defaultValueFor(key);\n\t };\n\t\n\t Config.persist = function persist(key, value) {\n\t if (_browser2.default.hasLocalstorage) {\n\t try {\n\t localStorage[this._createKeyspace(key)] = value;\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t }\n\t };\n\t\n\t return Config;\n\t}();\n\t\n\tvar QueryString = exports.QueryString = function () {\n\t function QueryString() {\n\t _classCallCheck(this, QueryString);\n\t }\n\t\n\t QueryString.parse = function parse(paramsString) {\n\t var match,\n\t pl = /\\+/g,\n\t // Regex for replacing addition symbol with a space\n\t search = /([^&=]+)=?([^&]*)/g,\n\t decode = function decode(s) {\n\t return decodeURIComponent(s.replace(pl, \" \"));\n\t };\n\t var params = {};\n\t while (match = search.exec(paramsString)) {\n\t params[decode(match[1]).toLowerCase()] = decode(match[2]);\n\t }\n\t return params;\n\t };\n\t\n\t _createClass(QueryString, null, [{\n\t key: 'params',\n\t get: function get() {\n\t var query = window.location.search.substring(1);\n\t if (query !== this.query) {\n\t this._urlParams = this.parse(query);\n\t this.query = query;\n\t }\n\t return this._urlParams;\n\t }\n\t }, {\n\t key: 'hashParams',\n\t get: function get() {\n\t var hash = window.location.hash.substring(1);\n\t if (hash !== this.hash) {\n\t this._hashParams = this.parse(hash);\n\t this.hash = hash;\n\t }\n\t return this._hashParams;\n\t }\n\t }]);\n\t\n\t return QueryString;\n\t}();\n\t\n\tfunction seekStringToSeconds() {\n\t var paramName = arguments.length <= 0 || arguments[0] === undefined ? 't' : arguments[0];\n\t\n\t var seconds = 0;\n\t var seekString = QueryString.params[paramName] || QueryString.hashParams[paramName] || '';\n\t var parts = seekString.match(/[0-9]+[hms]+/g) || [];\n\t if (parts.length > 0) {\n\t var factor = { 'h': 3600, 'm': 60, 's': 1 };\n\t parts.forEach(function (el) {\n\t if (el) {\n\t var suffix = el[el.length - 1];\n\t var time = parseInt(el.slice(0, el.length - 1), 10);\n\t seconds += time * factor[suffix];\n\t }\n\t });\n\t } else if (seekString) {\n\t seconds = parseInt(seekString, 10);\n\t }\n\t return seconds;\n\t}\n\t\n\tvar idsCounter = {};\n\t\n\tfunction uniqueId(prefix) {\n\t idsCounter[prefix] || (idsCounter[prefix] = 0);\n\t var id = ++idsCounter[prefix];\n\t return prefix + id;\n\t}\n\t\n\tfunction isNumber(value) {\n\t return value - parseFloat(value) + 1 >= 0;\n\t}\n\t\n\tfunction currentScriptUrl() {\n\t var scripts = document.getElementsByTagName('script');\n\t return scripts[scripts.length - 1].src;\n\t}\n\t\n\tvar requestAnimationFrame = exports.requestAnimationFrame = (window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n\t window.setTimeout(fn, 1000 / 60);\n\t}).bind(window);\n\t\n\tvar cancelAnimationFrame = exports.cancelAnimationFrame = (window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.webkitCancelAnimationFrame || window.clearTimeout).bind(window);\n\t\n\tfunction getBrowserLanguage() {\n\t if (window.navigator && window.navigator.language) {\n\t return window.navigator.language.toLowerCase();\n\t }\n\t return null;\n\t}\n\t\n\texports.default = {\n\t Config: Config,\n\t Fullscreen: Fullscreen,\n\t QueryString: QueryString,\n\t extend: extend,\n\t formatTime: formatTime,\n\t seekStringToSeconds: seekStringToSeconds,\n\t uniqueId: uniqueId,\n\t currentScriptUrl: currentScriptUrl,\n\t isNumber: isNumber,\n\t requestAnimationFrame: requestAnimationFrame,\n\t cancelAnimationFrame: cancelAnimationFrame,\n\t getBrowserLanguage: getBrowserLanguage\n\t};\n\n/***/ },\n/* 3 */\n/*!*************************************!*\\\n !*** ./~/clappr-zepto/zepto.min.js ***!\n \\*************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/* Zepto v1.1.4-80-ga9184b2 - zepto event ajax callbacks deferred touch selector ie - zeptojs.com/license */\n\tvar Zepto = function () {\n\t function D(t) {\n\t return null == t ? String(t) : j[S.call(t)] || \"object\";\n\t }function L(t) {\n\t return \"function\" == D(t);\n\t }function k(t) {\n\t return null != t && t == t.window;\n\t }function Z(t) {\n\t return null != t && t.nodeType == t.DOCUMENT_NODE;\n\t }function $(t) {\n\t return \"object\" == D(t);\n\t }function F(t) {\n\t return $(t) && !k(t) && Object.getPrototypeOf(t) == Object.prototype;\n\t }function R(t) {\n\t return \"number\" == typeof t.length;\n\t }function q(t) {\n\t return s.call(t, function (t) {\n\t return null != t;\n\t });\n\t }function W(t) {\n\t return t.length > 0 ? n.fn.concat.apply([], t) : t;\n\t }function z(t) {\n\t return t.replace(/::/g, \"/\").replace(/([A-Z]+)([A-Z][a-z])/g, \"$1_$2\").replace(/([a-z\\d])([A-Z])/g, \"$1_$2\").replace(/_/g, \"-\").toLowerCase();\n\t }function H(t) {\n\t return t in c ? c[t] : c[t] = new RegExp(\"(^|\\\\s)\" + t + \"(\\\\s|$)\");\n\t }function _(t, e) {\n\t return \"number\" != typeof e || l[z(t)] ? e : e + \"px\";\n\t }function I(t) {\n\t var e, n;return f[t] || (e = u.createElement(t), u.body.appendChild(e), n = getComputedStyle(e, \"\").getPropertyValue(\"display\"), e.parentNode.removeChild(e), \"none\" == n && (n = \"block\"), f[t] = n), f[t];\n\t }function U(t) {\n\t return \"children\" in t ? a.call(t.children) : n.map(t.childNodes, function (t) {\n\t return 1 == t.nodeType ? t : void 0;\n\t });\n\t }function X(t, e) {\n\t var n,\n\t i = t ? t.length : 0;for (n = 0; i > n; n++) {\n\t this[n] = t[n];\n\t }this.length = i, this.selector = e || \"\";\n\t }function B(n, i, r) {\n\t for (e in i) {\n\t r && (F(i[e]) || A(i[e])) ? (F(i[e]) && !F(n[e]) && (n[e] = {}), A(i[e]) && !A(n[e]) && (n[e] = []), B(n[e], i[e], r)) : i[e] !== t && (n[e] = i[e]);\n\t }\n\t }function V(t, e) {\n\t return null == e ? n(t) : n(t).filter(e);\n\t }function Y(t, e, n, i) {\n\t return L(e) ? e.call(t, n, i) : e;\n\t }function J(t, e, n) {\n\t null == n ? t.removeAttribute(e) : t.setAttribute(e, n);\n\t }function G(e, n) {\n\t var i = e.className || \"\",\n\t r = i && i.baseVal !== t;return n === t ? r ? i.baseVal : i : void (r ? i.baseVal = n : e.className = n);\n\t }function K(t) {\n\t try {\n\t return t ? \"true\" == t || (\"false\" == t ? !1 : \"null\" == t ? null : +t + \"\" == t ? +t : /^[\\[\\{]/.test(t) ? n.parseJSON(t) : t) : t;\n\t } catch (e) {\n\t return t;\n\t }\n\t }function Q(t, e) {\n\t e(t);for (var n = 0, i = t.childNodes.length; i > n; n++) {\n\t Q(t.childNodes[n], e);\n\t }\n\t }var t,\n\t e,\n\t n,\n\t i,\n\t N,\n\t P,\n\t r = [],\n\t o = r.concat,\n\t s = r.filter,\n\t a = r.slice,\n\t u = window.document,\n\t f = {},\n\t c = {},\n\t l = { \"column-count\": 1, columns: 1, \"font-weight\": 1, \"line-height\": 1, opacity: 1, \"z-index\": 1, zoom: 1 },\n\t h = /^\\s*<(\\w+|!)[^>]*>/,\n\t p = /^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,\n\t d = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,\n\t m = /^(?:body|html)$/i,\n\t g = /([A-Z])/g,\n\t v = [\"val\", \"css\", \"html\", \"text\", \"data\", \"width\", \"height\", \"offset\"],\n\t y = [\"after\", \"prepend\", \"before\", \"append\"],\n\t w = u.createElement(\"table\"),\n\t x = u.createElement(\"tr\"),\n\t b = { tr: u.createElement(\"tbody\"), tbody: w, thead: w, tfoot: w, td: x, th: x, \"*\": u.createElement(\"div\") },\n\t E = /complete|loaded|interactive/,\n\t T = /^[\\w-]*$/,\n\t j = {},\n\t S = j.toString,\n\t C = {},\n\t O = u.createElement(\"div\"),\n\t M = { tabindex: \"tabIndex\", readonly: \"readOnly\", \"for\": \"htmlFor\", \"class\": \"className\", maxlength: \"maxLength\", cellspacing: \"cellSpacing\", cellpadding: \"cellPadding\", rowspan: \"rowSpan\", colspan: \"colSpan\", usemap: \"useMap\", frameborder: \"frameBorder\", contenteditable: \"contentEditable\" },\n\t A = Array.isArray || function (t) {\n\t return t instanceof Array;\n\t };return C.matches = function (t, e) {\n\t if (!e || !t || 1 !== t.nodeType) return !1;var n = t.webkitMatchesSelector || t.mozMatchesSelector || t.oMatchesSelector || t.matchesSelector;if (n) return n.call(t, e);var i,\n\t r = t.parentNode,\n\t o = !r;return o && (r = O).appendChild(t), i = ~C.qsa(r, e).indexOf(t), o && O.removeChild(t), i;\n\t }, N = function N(t) {\n\t return t.replace(/-+(.)?/g, function (t, e) {\n\t return e ? e.toUpperCase() : \"\";\n\t });\n\t }, P = function P(t) {\n\t return s.call(t, function (e, n) {\n\t return t.indexOf(e) == n;\n\t });\n\t }, C.fragment = function (e, i, r) {\n\t var o, s, f;return p.test(e) && (o = n(u.createElement(RegExp.$1))), o || (e.replace && (e = e.replace(d, \"<$1>\")), i === t && (i = h.test(e) && RegExp.$1), i in b || (i = \"*\"), f = b[i], f.innerHTML = \"\" + e, o = n.each(a.call(f.childNodes), function () {\n\t f.removeChild(this);\n\t })), F(r) && (s = n(o), n.each(r, function (t, e) {\n\t v.indexOf(t) > -1 ? s[t](e) : s.attr(t, e);\n\t })), o;\n\t }, C.Z = function (t, e) {\n\t return new X(t, e);\n\t }, C.isZ = function (t) {\n\t return t instanceof C.Z;\n\t }, C.init = function (e, i) {\n\t var r;if (!e) return C.Z();if (\"string\" == typeof e) {\n\t if (e = e.trim(), \"<\" == e[0] && h.test(e)) r = C.fragment(e, RegExp.$1, i), e = null;else {\n\t if (i !== t) return n(i).find(e);r = C.qsa(u, e);\n\t }\n\t } else {\n\t if (L(e)) return n(u).ready(e);if (C.isZ(e)) return e;if (A(e)) r = q(e);else if ($(e)) r = [e], e = null;else if (h.test(e)) r = C.fragment(e.trim(), RegExp.$1, i), e = null;else {\n\t if (i !== t) return n(i).find(e);r = C.qsa(u, e);\n\t }\n\t }return C.Z(r, e);\n\t }, n = function n(t, e) {\n\t return C.init(t, e);\n\t }, n.extend = function (t) {\n\t var e,\n\t n = a.call(arguments, 1);return \"boolean\" == typeof t && (e = t, t = n.shift()), n.forEach(function (n) {\n\t B(t, n, e);\n\t }), t;\n\t }, C.qsa = function (t, e) {\n\t var n,\n\t i = \"#\" == e[0],\n\t r = !i && \".\" == e[0],\n\t o = i || r ? e.slice(1) : e,\n\t s = T.test(o);return t.getElementById && s && i ? (n = t.getElementById(o)) ? [n] : [] : 1 !== t.nodeType && 9 !== t.nodeType && 11 !== t.nodeType ? [] : a.call(s && !i && t.getElementsByClassName ? r ? t.getElementsByClassName(o) : t.getElementsByTagName(e) : t.querySelectorAll(e));\n\t }, n.contains = u.documentElement.contains ? function (t, e) {\n\t return t !== e && t.contains(e);\n\t } : function (t, e) {\n\t for (; e && (e = e.parentNode);) {\n\t if (e === t) return !0;\n\t }return !1;\n\t }, n.type = D, n.isFunction = L, n.isWindow = k, n.isArray = A, n.isPlainObject = F, n.isEmptyObject = function (t) {\n\t var e;for (e in t) {\n\t return !1;\n\t }return !0;\n\t }, n.inArray = function (t, e, n) {\n\t return r.indexOf.call(e, t, n);\n\t }, n.camelCase = N, n.trim = function (t) {\n\t return null == t ? \"\" : String.prototype.trim.call(t);\n\t }, n.uuid = 0, n.support = {}, n.expr = {}, n.noop = function () {}, n.map = function (t, e) {\n\t var n,\n\t r,\n\t o,\n\t i = [];if (R(t)) for (r = 0; r < t.length; r++) {\n\t n = e(t[r], r), null != n && i.push(n);\n\t } else for (o in t) {\n\t n = e(t[o], o), null != n && i.push(n);\n\t }return W(i);\n\t }, n.each = function (t, e) {\n\t var n, i;if (R(t)) {\n\t for (n = 0; n < t.length; n++) {\n\t if (e.call(t[n], n, t[n]) === !1) return t;\n\t }\n\t } else for (i in t) {\n\t if (e.call(t[i], i, t[i]) === !1) return t;\n\t }return t;\n\t }, n.grep = function (t, e) {\n\t return s.call(t, e);\n\t }, window.JSON && (n.parseJSON = JSON.parse), n.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function (t, e) {\n\t j[\"[object \" + e + \"]\"] = e.toLowerCase();\n\t }), n.fn = { constructor: C.Z, length: 0, forEach: r.forEach, reduce: r.reduce, push: r.push, sort: r.sort, splice: r.splice, indexOf: r.indexOf, concat: function concat() {\n\t var t,\n\t e,\n\t n = [];for (t = 0; t < arguments.length; t++) {\n\t e = arguments[t], n[t] = C.isZ(e) ? e.toArray() : e;\n\t }return o.apply(C.isZ(this) ? this.toArray() : this, n);\n\t }, map: function map(t) {\n\t return n(n.map(this, function (e, n) {\n\t return t.call(e, n, e);\n\t }));\n\t }, slice: function slice() {\n\t return n(a.apply(this, arguments));\n\t }, ready: function ready(t) {\n\t return E.test(u.readyState) && u.body ? t(n) : u.addEventListener(\"DOMContentLoaded\", function () {\n\t t(n);\n\t }, !1), this;\n\t }, get: function get(e) {\n\t return e === t ? a.call(this) : this[e >= 0 ? e : e + this.length];\n\t }, toArray: function toArray() {\n\t return this.get();\n\t }, size: function size() {\n\t return this.length;\n\t }, remove: function remove() {\n\t return this.each(function () {\n\t null != this.parentNode && this.parentNode.removeChild(this);\n\t });\n\t }, each: function each(t) {\n\t return r.every.call(this, function (e, n) {\n\t return t.call(e, n, e) !== !1;\n\t }), this;\n\t }, filter: function filter(t) {\n\t return L(t) ? this.not(this.not(t)) : n(s.call(this, function (e) {\n\t return C.matches(e, t);\n\t }));\n\t }, add: function add(t, e) {\n\t return n(P(this.concat(n(t, e))));\n\t }, is: function is(t) {\n\t return this.length > 0 && C.matches(this[0], t);\n\t }, not: function not(e) {\n\t var i = [];if (L(e) && e.call !== t) this.each(function (t) {\n\t e.call(this, t) || i.push(this);\n\t });else {\n\t var r = \"string\" == typeof e ? this.filter(e) : R(e) && L(e.item) ? a.call(e) : n(e);this.forEach(function (t) {\n\t r.indexOf(t) < 0 && i.push(t);\n\t });\n\t }return n(i);\n\t }, has: function has(t) {\n\t return this.filter(function () {\n\t return $(t) ? n.contains(this, t) : n(this).find(t).size();\n\t });\n\t }, eq: function eq(t) {\n\t return -1 === t ? this.slice(t) : this.slice(t, +t + 1);\n\t }, first: function first() {\n\t var t = this[0];return t && !$(t) ? t : n(t);\n\t }, last: function last() {\n\t var t = this[this.length - 1];return t && !$(t) ? t : n(t);\n\t }, find: function find(t) {\n\t var e,\n\t i = this;return e = t ? \"object\" == (typeof t === \"undefined\" ? \"undefined\" : _typeof(t)) ? n(t).filter(function () {\n\t var t = this;return r.some.call(i, function (e) {\n\t return n.contains(e, t);\n\t });\n\t }) : 1 == this.length ? n(C.qsa(this[0], t)) : this.map(function () {\n\t return C.qsa(this, t);\n\t }) : n();\n\t }, closest: function closest(t, e) {\n\t var i = this[0],\n\t r = !1;for (\"object\" == (typeof t === \"undefined\" ? \"undefined\" : _typeof(t)) && (r = n(t)); i && !(r ? r.indexOf(i) >= 0 : C.matches(i, t));) {\n\t i = i !== e && !Z(i) && i.parentNode;\n\t }return n(i);\n\t }, parents: function parents(t) {\n\t for (var e = [], i = this; i.length > 0;) {\n\t i = n.map(i, function (t) {\n\t return (t = t.parentNode) && !Z(t) && e.indexOf(t) < 0 ? (e.push(t), t) : void 0;\n\t });\n\t }return V(e, t);\n\t }, parent: function parent(t) {\n\t return V(P(this.pluck(\"parentNode\")), t);\n\t }, children: function children(t) {\n\t return V(this.map(function () {\n\t return U(this);\n\t }), t);\n\t }, contents: function contents() {\n\t return this.map(function () {\n\t return this.contentDocument || a.call(this.childNodes);\n\t });\n\t }, siblings: function siblings(t) {\n\t return V(this.map(function (t, e) {\n\t return s.call(U(e.parentNode), function (t) {\n\t return t !== e;\n\t });\n\t }), t);\n\t }, empty: function empty() {\n\t return this.each(function () {\n\t this.innerHTML = \"\";\n\t });\n\t }, pluck: function pluck(t) {\n\t return n.map(this, function (e) {\n\t return e[t];\n\t });\n\t }, show: function show() {\n\t return this.each(function () {\n\t \"none\" == this.style.display && (this.style.display = \"\"), \"none\" == getComputedStyle(this, \"\").getPropertyValue(\"display\") && (this.style.display = I(this.nodeName));\n\t });\n\t }, replaceWith: function replaceWith(t) {\n\t return this.before(t).remove();\n\t }, wrap: function wrap(t) {\n\t var e = L(t);if (this[0] && !e) var i = n(t).get(0),\n\t r = i.parentNode || this.length > 1;return this.each(function (o) {\n\t n(this).wrapAll(e ? t.call(this, o) : r ? i.cloneNode(!0) : i);\n\t });\n\t }, wrapAll: function wrapAll(t) {\n\t if (this[0]) {\n\t n(this[0]).before(t = n(t));for (var e; (e = t.children()).length;) {\n\t t = e.first();\n\t }n(t).append(this);\n\t }return this;\n\t }, wrapInner: function wrapInner(t) {\n\t var e = L(t);return this.each(function (i) {\n\t var r = n(this),\n\t o = r.contents(),\n\t s = e ? t.call(this, i) : t;o.length ? o.wrapAll(s) : r.append(s);\n\t });\n\t }, unwrap: function unwrap() {\n\t return this.parent().each(function () {\n\t n(this).replaceWith(n(this).children());\n\t }), this;\n\t }, clone: function clone() {\n\t return this.map(function () {\n\t return this.cloneNode(!0);\n\t });\n\t }, hide: function hide() {\n\t return this.css(\"display\", \"none\");\n\t }, toggle: function toggle(e) {\n\t return this.each(function () {\n\t var i = n(this);(e === t ? \"none\" == i.css(\"display\") : e) ? i.show() : i.hide();\n\t });\n\t }, prev: function prev(t) {\n\t return n(this.pluck(\"previousElementSibling\")).filter(t || \"*\");\n\t }, next: function next(t) {\n\t return n(this.pluck(\"nextElementSibling\")).filter(t || \"*\");\n\t }, html: function html(t) {\n\t return 0 in arguments ? this.each(function (e) {\n\t var i = this.innerHTML;n(this).empty().append(Y(this, t, e, i));\n\t }) : 0 in this ? this[0].innerHTML : null;\n\t }, text: function text(t) {\n\t return 0 in arguments ? this.each(function (e) {\n\t var n = Y(this, t, e, this.textContent);this.textContent = null == n ? \"\" : \"\" + n;\n\t }) : 0 in this ? this[0].textContent : null;\n\t }, attr: function attr(n, i) {\n\t var r;return \"string\" != typeof n || 1 in arguments ? this.each(function (t) {\n\t if (1 === this.nodeType) if ($(n)) for (e in n) {\n\t J(this, e, n[e]);\n\t } else J(this, n, Y(this, i, t, this.getAttribute(n)));\n\t }) : this.length && 1 === this[0].nodeType ? !(r = this[0].getAttribute(n)) && n in this[0] ? this[0][n] : r : t;\n\t }, removeAttr: function removeAttr(t) {\n\t return this.each(function () {\n\t 1 === this.nodeType && t.split(\" \").forEach(function (t) {\n\t J(this, t);\n\t }, this);\n\t });\n\t }, prop: function prop(t, e) {\n\t return t = M[t] || t, 1 in arguments ? this.each(function (n) {\n\t this[t] = Y(this, e, n, this[t]);\n\t }) : this[0] && this[0][t];\n\t }, data: function data(e, n) {\n\t var i = \"data-\" + e.replace(g, \"-$1\").toLowerCase(),\n\t r = 1 in arguments ? this.attr(i, n) : this.attr(i);return null !== r ? K(r) : t;\n\t }, val: function val(t) {\n\t return 0 in arguments ? this.each(function (e) {\n\t this.value = Y(this, t, e, this.value);\n\t }) : this[0] && (this[0].multiple ? n(this[0]).find(\"option\").filter(function () {\n\t return this.selected;\n\t }).pluck(\"value\") : this[0].value);\n\t }, offset: function offset(t) {\n\t if (t) return this.each(function (e) {\n\t var i = n(this),\n\t r = Y(this, t, e, i.offset()),\n\t o = i.offsetParent().offset(),\n\t s = { top: r.top - o.top, left: r.left - o.left };\"static\" == i.css(\"position\") && (s.position = \"relative\"), i.css(s);\n\t });if (!this.length) return null;if (!n.contains(u.documentElement, this[0])) return { top: 0, left: 0 };var e = this[0].getBoundingClientRect();return { left: e.left + window.pageXOffset, top: e.top + window.pageYOffset, width: Math.round(e.width), height: Math.round(e.height) };\n\t }, css: function css(t, i) {\n\t if (arguments.length < 2) {\n\t var r,\n\t o = this[0];if (!o) return;if (r = getComputedStyle(o, \"\"), \"string\" == typeof t) return o.style[N(t)] || r.getPropertyValue(t);if (A(t)) {\n\t var s = {};return n.each(t, function (t, e) {\n\t s[e] = o.style[N(e)] || r.getPropertyValue(e);\n\t }), s;\n\t }\n\t }var a = \"\";if (\"string\" == D(t)) i || 0 === i ? a = z(t) + \":\" + _(t, i) : this.each(function () {\n\t this.style.removeProperty(z(t));\n\t });else for (e in t) {\n\t t[e] || 0 === t[e] ? a += z(e) + \":\" + _(e, t[e]) + \";\" : this.each(function () {\n\t this.style.removeProperty(z(e));\n\t });\n\t }return this.each(function () {\n\t this.style.cssText += \";\" + a;\n\t });\n\t }, index: function index(t) {\n\t return t ? this.indexOf(n(t)[0]) : this.parent().children().indexOf(this[0]);\n\t }, hasClass: function hasClass(t) {\n\t return t ? r.some.call(this, function (t) {\n\t return this.test(G(t));\n\t }, H(t)) : !1;\n\t }, addClass: function addClass(t) {\n\t return t ? this.each(function (e) {\n\t if (\"className\" in this) {\n\t i = [];var r = G(this),\n\t o = Y(this, t, e, r);o.split(/\\s+/g).forEach(function (t) {\n\t n(this).hasClass(t) || i.push(t);\n\t }, this), i.length && G(this, r + (r ? \" \" : \"\") + i.join(\" \"));\n\t }\n\t }) : this;\n\t }, removeClass: function removeClass(e) {\n\t return this.each(function (n) {\n\t if (\"className\" in this) {\n\t if (e === t) return G(this, \"\");i = G(this), Y(this, e, n, i).split(/\\s+/g).forEach(function (t) {\n\t i = i.replace(H(t), \" \");\n\t }), G(this, i.trim());\n\t }\n\t });\n\t }, toggleClass: function toggleClass(e, i) {\n\t return e ? this.each(function (r) {\n\t var o = n(this),\n\t s = Y(this, e, r, G(this));s.split(/\\s+/g).forEach(function (e) {\n\t (i === t ? !o.hasClass(e) : i) ? o.addClass(e) : o.removeClass(e);\n\t });\n\t }) : this;\n\t }, scrollTop: function scrollTop(e) {\n\t if (this.length) {\n\t var n = \"scrollTop\" in this[0];return e === t ? n ? this[0].scrollTop : this[0].pageYOffset : this.each(n ? function () {\n\t this.scrollTop = e;\n\t } : function () {\n\t this.scrollTo(this.scrollX, e);\n\t });\n\t }\n\t }, scrollLeft: function scrollLeft(e) {\n\t if (this.length) {\n\t var n = \"scrollLeft\" in this[0];return e === t ? n ? this[0].scrollLeft : this[0].pageXOffset : this.each(n ? function () {\n\t this.scrollLeft = e;\n\t } : function () {\n\t this.scrollTo(e, this.scrollY);\n\t });\n\t }\n\t }, position: function position() {\n\t if (this.length) {\n\t var t = this[0],\n\t e = this.offsetParent(),\n\t i = this.offset(),\n\t r = m.test(e[0].nodeName) ? { top: 0, left: 0 } : e.offset();return i.top -= parseFloat(n(t).css(\"margin-top\")) || 0, i.left -= parseFloat(n(t).css(\"margin-left\")) || 0, r.top += parseFloat(n(e[0]).css(\"border-top-width\")) || 0, r.left += parseFloat(n(e[0]).css(\"border-left-width\")) || 0, { top: i.top - r.top, left: i.left - r.left };\n\t }\n\t }, offsetParent: function offsetParent() {\n\t return this.map(function () {\n\t for (var t = this.offsetParent || u.body; t && !m.test(t.nodeName) && \"static\" == n(t).css(\"position\");) {\n\t t = t.offsetParent;\n\t }return t;\n\t });\n\t } }, n.fn.detach = n.fn.remove, [\"width\", \"height\"].forEach(function (e) {\n\t var i = e.replace(/./, function (t) {\n\t return t[0].toUpperCase();\n\t });n.fn[e] = function (r) {\n\t var o,\n\t s = this[0];return r === t ? k(s) ? s[\"inner\" + i] : Z(s) ? s.documentElement[\"scroll\" + i] : (o = this.offset()) && o[e] : this.each(function (t) {\n\t s = n(this), s.css(e, Y(this, r, t, s[e]()));\n\t });\n\t };\n\t }), y.forEach(function (t, e) {\n\t var i = e % 2;n.fn[t] = function () {\n\t var t,\n\t o,\n\t r = n.map(arguments, function (e) {\n\t return t = D(e), \"object\" == t || \"array\" == t || null == e ? e : C.fragment(e);\n\t }),\n\t s = this.length > 1;return r.length < 1 ? this : this.each(function (t, a) {\n\t o = i ? a : a.parentNode, a = 0 == e ? a.nextSibling : 1 == e ? a.firstChild : 2 == e ? a : null;var f = n.contains(u.documentElement, o);r.forEach(function (t) {\n\t if (s) t = t.cloneNode(!0);else if (!o) return n(t).remove();o.insertBefore(t, a), f && Q(t, function (t) {\n\t null == t.nodeName || \"SCRIPT\" !== t.nodeName.toUpperCase() || t.type && \"text/javascript\" !== t.type || t.src || window.eval.call(window, t.innerHTML);\n\t });\n\t });\n\t });\n\t }, n.fn[i ? t + \"To\" : \"insert\" + (e ? \"Before\" : \"After\")] = function (e) {\n\t return n(e)[t](this), this;\n\t };\n\t }), C.Z.prototype = X.prototype = n.fn, C.uniq = P, C.deserializeValue = K, n.zepto = C, n;\n\t}();window.Zepto = Zepto, void 0 === window.$ && (window.$ = Zepto), function (t) {\n\t function l(t) {\n\t return t._zid || (t._zid = e++);\n\t }function h(t, e, n, i) {\n\t if (e = p(e), e.ns) var r = d(e.ns);return (s[l(t)] || []).filter(function (t) {\n\t return !(!t || e.e && t.e != e.e || e.ns && !r.test(t.ns) || n && l(t.fn) !== l(n) || i && t.sel != i);\n\t });\n\t }function p(t) {\n\t var e = (\"\" + t).split(\".\");return { e: e[0], ns: e.slice(1).sort().join(\" \") };\n\t }function d(t) {\n\t return new RegExp(\"(?:^| )\" + t.replace(\" \", \" .* ?\") + \"(?: |$)\");\n\t }function m(t, e) {\n\t return t.del && !u && t.e in f || !!e;\n\t }function g(t) {\n\t return c[t] || u && f[t] || t;\n\t }function v(e, i, r, o, a, u, f) {\n\t var h = l(e),\n\t d = s[h] || (s[h] = []);i.split(/\\s/).forEach(function (i) {\n\t if (\"ready\" == i) return t(document).ready(r);var s = p(i);s.fn = r, s.sel = a, s.e in c && (r = function r(e) {\n\t var n = e.relatedTarget;return !n || n !== this && !t.contains(this, n) ? s.fn.apply(this, arguments) : void 0;\n\t }), s.del = u;var l = u || r;s.proxy = function (t) {\n\t if (t = T(t), !t.isImmediatePropagationStopped()) {\n\t t.data = o;var i = l.apply(e, t._args == n ? [t] : [t].concat(t._args));return i === !1 && (t.preventDefault(), t.stopPropagation()), i;\n\t }\n\t }, s.i = d.length, d.push(s), \"addEventListener\" in e && e.addEventListener(g(s.e), s.proxy, m(s, f));\n\t });\n\t }function y(t, e, n, i, r) {\n\t var o = l(t);(e || \"\").split(/\\s/).forEach(function (e) {\n\t h(t, e, n, i).forEach(function (e) {\n\t delete s[o][e.i], \"removeEventListener\" in t && t.removeEventListener(g(e.e), e.proxy, m(e, r));\n\t });\n\t });\n\t }function T(e, i) {\n\t return (i || !e.isDefaultPrevented) && (i || (i = e), t.each(E, function (t, n) {\n\t var r = i[t];e[t] = function () {\n\t return this[n] = w, r && r.apply(i, arguments);\n\t }, e[n] = x;\n\t }), (i.defaultPrevented !== n ? i.defaultPrevented : \"returnValue\" in i ? i.returnValue === !1 : i.getPreventDefault && i.getPreventDefault()) && (e.isDefaultPrevented = w)), e;\n\t }function j(t) {\n\t var e,\n\t i = { originalEvent: t };for (e in t) {\n\t b.test(e) || t[e] === n || (i[e] = t[e]);\n\t }return T(i, t);\n\t }var n,\n\t e = 1,\n\t i = Array.prototype.slice,\n\t r = t.isFunction,\n\t o = function o(t) {\n\t return \"string\" == typeof t;\n\t },\n\t s = {},\n\t a = {},\n\t u = \"onfocusin\" in window,\n\t f = { focus: \"focusin\", blur: \"focusout\" },\n\t c = { mouseenter: \"mouseover\", mouseleave: \"mouseout\" };a.click = a.mousedown = a.mouseup = a.mousemove = \"MouseEvents\", t.event = { add: v, remove: y }, t.proxy = function (e, n) {\n\t var s = 2 in arguments && i.call(arguments, 2);if (r(e)) {\n\t var a = function a() {\n\t return e.apply(n, s ? s.concat(i.call(arguments)) : arguments);\n\t };return a._zid = l(e), a;\n\t }if (o(n)) return s ? (s.unshift(e[n], e), t.proxy.apply(null, s)) : t.proxy(e[n], e);throw new TypeError(\"expected function\");\n\t }, t.fn.bind = function (t, e, n) {\n\t return this.on(t, e, n);\n\t }, t.fn.unbind = function (t, e) {\n\t return this.off(t, e);\n\t }, t.fn.one = function (t, e, n, i) {\n\t return this.on(t, e, n, i, 1);\n\t };var w = function w() {\n\t return !0;\n\t },\n\t x = function x() {\n\t return !1;\n\t },\n\t b = /^([A-Z]|returnValue$|layer[XY]$)/,\n\t E = { preventDefault: \"isDefaultPrevented\", stopImmediatePropagation: \"isImmediatePropagationStopped\", stopPropagation: \"isPropagationStopped\" };t.fn.delegate = function (t, e, n) {\n\t return this.on(e, t, n);\n\t }, t.fn.undelegate = function (t, e, n) {\n\t return this.off(e, t, n);\n\t }, t.fn.live = function (e, n) {\n\t return t(document.body).delegate(this.selector, e, n), this;\n\t }, t.fn.die = function (e, n) {\n\t return t(document.body).undelegate(this.selector, e, n), this;\n\t }, t.fn.on = function (e, s, a, u, f) {\n\t var c,\n\t l,\n\t h = this;return e && !o(e) ? (t.each(e, function (t, e) {\n\t h.on(t, s, a, e, f);\n\t }), h) : (o(s) || r(u) || u === !1 || (u = a, a = s, s = n), (u === n || a === !1) && (u = a, a = n), u === !1 && (u = x), h.each(function (n, r) {\n\t f && (c = function c(t) {\n\t return y(r, t.type, u), u.apply(this, arguments);\n\t }), s && (l = function l(e) {\n\t var n,\n\t o = t(e.target).closest(s, r).get(0);return o && o !== r ? (n = t.extend(j(e), { currentTarget: o, liveFired: r }), (c || u).apply(o, [n].concat(i.call(arguments, 1)))) : void 0;\n\t }), v(r, e, u, a, s, l || c);\n\t }));\n\t }, t.fn.off = function (e, i, s) {\n\t var a = this;return e && !o(e) ? (t.each(e, function (t, e) {\n\t a.off(t, i, e);\n\t }), a) : (o(i) || r(s) || s === !1 || (s = i, i = n), s === !1 && (s = x), a.each(function () {\n\t y(this, e, s, i);\n\t }));\n\t }, t.fn.trigger = function (e, n) {\n\t return e = o(e) || t.isPlainObject(e) ? t.Event(e) : T(e), e._args = n, this.each(function () {\n\t e.type in f && \"function\" == typeof this[e.type] ? this[e.type]() : \"dispatchEvent\" in this ? this.dispatchEvent(e) : t(this).triggerHandler(e, n);\n\t });\n\t }, t.fn.triggerHandler = function (e, n) {\n\t var i, r;return this.each(function (s, a) {\n\t i = j(o(e) ? t.Event(e) : e), i._args = n, i.target = a, t.each(h(a, e.type || e), function (t, e) {\n\t return r = e.proxy(i), i.isImmediatePropagationStopped() ? !1 : void 0;\n\t });\n\t }), r;\n\t }, \"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error\".split(\" \").forEach(function (e) {\n\t t.fn[e] = function (t) {\n\t return 0 in arguments ? this.bind(e, t) : this.trigger(e);\n\t };\n\t }), t.Event = function (t, e) {\n\t o(t) || (e = t, t = e.type);var n = document.createEvent(a[t] || \"Events\"),\n\t i = !0;if (e) for (var r in e) {\n\t \"bubbles\" == r ? i = !!e[r] : n[r] = e[r];\n\t }return n.initEvent(t, i, !0), T(n);\n\t };\n\t}(Zepto), function (t) {\n\t function h(e, n, i) {\n\t var r = t.Event(n);return t(e).trigger(r, i), !r.isDefaultPrevented();\n\t }function p(t, e, i, r) {\n\t return t.global ? h(e || n, i, r) : void 0;\n\t }function d(e) {\n\t e.global && 0 === t.active++ && p(e, null, \"ajaxStart\");\n\t }function m(e) {\n\t e.global && ! --t.active && p(e, null, \"ajaxStop\");\n\t }function g(t, e) {\n\t var n = e.context;return e.beforeSend.call(n, t, e) === !1 || p(e, n, \"ajaxBeforeSend\", [t, e]) === !1 ? !1 : void p(e, n, \"ajaxSend\", [t, e]);\n\t }function v(t, e, n, i) {\n\t var r = n.context,\n\t o = \"success\";n.success.call(r, t, o, e), i && i.resolveWith(r, [t, o, e]), p(n, r, \"ajaxSuccess\", [e, n, t]), w(o, e, n);\n\t }function y(t, e, n, i, r) {\n\t var o = i.context;i.error.call(o, n, e, t), r && r.rejectWith(o, [n, e, t]), p(i, o, \"ajaxError\", [n, i, t || e]), w(e, n, i);\n\t }function w(t, e, n) {\n\t var i = n.context;n.complete.call(i, e, t), p(n, i, \"ajaxComplete\", [e, n]), m(n);\n\t }function x() {}function b(t) {\n\t return t && (t = t.split(\";\", 2)[0]), t && (t == f ? \"html\" : t == u ? \"json\" : s.test(t) ? \"script\" : a.test(t) && \"xml\") || \"text\";\n\t }function E(t, e) {\n\t return \"\" == e ? t : (t + \"&\" + e).replace(/[&?]{1,2}/, \"?\");\n\t }function T(e) {\n\t e.processData && e.data && \"string\" != t.type(e.data) && (e.data = t.param(e.data, e.traditional)), !e.data || e.type && \"GET\" != e.type.toUpperCase() || (e.url = E(e.url, e.data), e.data = void 0);\n\t }function j(e, n, i, r) {\n\t return t.isFunction(n) && (r = i, i = n, n = void 0), t.isFunction(i) || (r = i, i = void 0), { url: e, data: n, success: i, dataType: r };\n\t }function C(e, n, i, r) {\n\t var o,\n\t s = t.isArray(n),\n\t a = t.isPlainObject(n);t.each(n, function (n, u) {\n\t o = t.type(u), r && (n = i ? r : r + \"[\" + (a || \"object\" == o || \"array\" == o ? n : \"\") + \"]\"), !r && s ? e.add(u.name, u.value) : \"array\" == o || !i && \"object\" == o ? C(e, u, i, n) : e.add(n, u);\n\t });\n\t }var i,\n\t r,\n\t e = 0,\n\t n = window.document,\n\t o = /)<[^<]*)*<\\/script>/gi,\n\t s = /^(?:text|application)\\/javascript/i,\n\t a = /^(?:text|application)\\/xml/i,\n\t u = \"application/json\",\n\t f = \"text/html\",\n\t c = /^\\s*$/,\n\t l = n.createElement(\"a\");l.href = window.location.href, t.active = 0, t.ajaxJSONP = function (i, r) {\n\t if (!(\"type\" in i)) return t.ajax(i);var f,\n\t h,\n\t o = i.jsonpCallback,\n\t s = (t.isFunction(o) ? o() : o) || \"jsonp\" + ++e,\n\t a = n.createElement(\"script\"),\n\t u = window[s],\n\t c = function c(e) {\n\t t(a).triggerHandler(\"error\", e || \"abort\");\n\t },\n\t l = { abort: c };return r && r.promise(l), t(a).on(\"load error\", function (e, n) {\n\t clearTimeout(h), t(a).off().remove(), \"error\" != e.type && f ? v(f[0], l, i, r) : y(null, n || \"error\", l, i, r), window[s] = u, f && t.isFunction(u) && u(f[0]), u = f = void 0;\n\t }), g(l, i) === !1 ? (c(\"abort\"), l) : (window[s] = function () {\n\t f = arguments;\n\t }, a.src = i.url.replace(/\\?(.+)=\\?/, \"?$1=\" + s), n.head.appendChild(a), i.timeout > 0 && (h = setTimeout(function () {\n\t c(\"timeout\");\n\t }, i.timeout)), l);\n\t }, t.ajaxSettings = { type: \"GET\", beforeSend: x, success: x, error: x, complete: x, context: null, global: !0, xhr: function xhr() {\n\t return new window.XMLHttpRequest();\n\t }, accepts: { script: \"text/javascript, application/javascript, application/x-javascript\", json: u, xml: \"application/xml, text/xml\", html: f, text: \"text/plain\" }, crossDomain: !1, timeout: 0, processData: !0, cache: !0 }, t.ajax = function (e) {\n\t var a,\n\t u,\n\t o = t.extend({}, e || {}),\n\t s = t.Deferred && t.Deferred();for (i in t.ajaxSettings) {\n\t void 0 === o[i] && (o[i] = t.ajaxSettings[i]);\n\t }d(o), o.crossDomain || (a = n.createElement(\"a\"), a.href = o.url, a.href = a.href, o.crossDomain = l.protocol + \"//\" + l.host != a.protocol + \"//\" + a.host), o.url || (o.url = window.location.toString()), (u = o.url.indexOf(\"#\")) > -1 && (o.url = o.url.slice(0, u)), T(o);var f = o.dataType,\n\t h = /\\?.+=\\?/.test(o.url);if (h && (f = \"jsonp\"), o.cache !== !1 && (e && e.cache === !0 || \"script\" != f && \"jsonp\" != f) || (o.url = E(o.url, \"_=\" + Date.now())), \"jsonp\" == f) return h || (o.url = E(o.url, o.jsonp ? o.jsonp + \"=?\" : o.jsonp === !1 ? \"\" : \"callback=?\")), t.ajaxJSONP(o, s);var N,\n\t p = o.accepts[f],\n\t m = {},\n\t w = function w(t, e) {\n\t m[t.toLowerCase()] = [t, e];\n\t },\n\t j = /^([\\w-]+:)\\/\\//.test(o.url) ? RegExp.$1 : window.location.protocol,\n\t S = o.xhr(),\n\t C = S.setRequestHeader;if (s && s.promise(S), o.crossDomain || w(\"X-Requested-With\", \"XMLHttpRequest\"), w(\"Accept\", p || \"*/*\"), (p = o.mimeType || p) && (p.indexOf(\",\") > -1 && (p = p.split(\",\", 2)[0]), S.overrideMimeType && S.overrideMimeType(p)), (o.contentType || o.contentType !== !1 && o.data && \"GET\" != o.type.toUpperCase()) && w(\"Content-Type\", o.contentType || \"application/x-www-form-urlencoded\"), o.headers) for (r in o.headers) {\n\t w(r, o.headers[r]);\n\t }if (S.setRequestHeader = w, S.onreadystatechange = function () {\n\t if (4 == S.readyState) {\n\t S.onreadystatechange = x, clearTimeout(N);var e,\n\t n = !1;if (S.status >= 200 && S.status < 300 || 304 == S.status || 0 == S.status && \"file:\" == j) {\n\t f = f || b(o.mimeType || S.getResponseHeader(\"content-type\")), e = S.responseText;try {\n\t \"script\" == f ? (1, eval)(e) : \"xml\" == f ? e = S.responseXML : \"json\" == f && (e = c.test(e) ? null : t.parseJSON(e));\n\t } catch (i) {\n\t n = i;\n\t }n ? y(n, \"parsererror\", S, o, s) : v(e, S, o, s);\n\t } else y(S.statusText || null, S.status ? \"error\" : \"abort\", S, o, s);\n\t }\n\t }, g(S, o) === !1) return S.abort(), y(null, \"abort\", S, o, s), S;if (o.xhrFields) for (r in o.xhrFields) {\n\t S[r] = o.xhrFields[r];\n\t }var P = \"async\" in o ? o.async : !0;S.open(o.type, o.url, P, o.username, o.password);for (r in m) {\n\t C.apply(S, m[r]);\n\t }return o.timeout > 0 && (N = setTimeout(function () {\n\t S.onreadystatechange = x, S.abort(), y(null, \"timeout\", S, o, s);\n\t }, o.timeout)), S.send(o.data ? o.data : null), S;\n\t }, t.get = function () {\n\t return t.ajax(j.apply(null, arguments));\n\t }, t.post = function () {\n\t var e = j.apply(null, arguments);return e.type = \"POST\", t.ajax(e);\n\t }, t.getJSON = function () {\n\t var e = j.apply(null, arguments);return e.dataType = \"json\", t.ajax(e);\n\t }, t.fn.load = function (e, n, i) {\n\t if (!this.length) return this;var a,\n\t r = this,\n\t s = e.split(/\\s/),\n\t u = j(e, n, i),\n\t f = u.success;return s.length > 1 && (u.url = s[0], a = s[1]), u.success = function (e) {\n\t r.html(a ? t(\"
\").html(e.replace(o, \"\")).find(a) : e), f && f.apply(r, arguments);\n\t }, t.ajax(u), this;\n\t };var S = encodeURIComponent;t.param = function (e, n) {\n\t var i = [];return i.add = function (e, n) {\n\t t.isFunction(n) && (n = n()), null == n && (n = \"\"), this.push(S(e) + \"=\" + S(n));\n\t }, C(i, e, n), i.join(\"&\").replace(/%20/g, \"+\");\n\t };\n\t}(Zepto), function (t) {\n\t t.Callbacks = function (e) {\n\t e = t.extend({}, e);var n,\n\t i,\n\t r,\n\t o,\n\t s,\n\t a,\n\t u = [],\n\t f = !e.once && [],\n\t c = function c(t) {\n\t for (n = e.memory && t, i = !0, a = o || 0, o = 0, s = u.length, r = !0; u && s > a; ++a) {\n\t if (u[a].apply(t[0], t[1]) === !1 && e.stopOnFalse) {\n\t n = !1;break;\n\t }\n\t }r = !1, u && (f ? f.length && c(f.shift()) : n ? u.length = 0 : l.disable());\n\t },\n\t l = { add: function add() {\n\t if (u) {\n\t var i = u.length,\n\t a = function a(n) {\n\t t.each(n, function (t, n) {\n\t \"function\" == typeof n ? e.unique && l.has(n) || u.push(n) : n && n.length && \"string\" != typeof n && a(n);\n\t });\n\t };a(arguments), r ? s = u.length : n && (o = i, c(n));\n\t }return this;\n\t }, remove: function remove() {\n\t return u && t.each(arguments, function (e, n) {\n\t for (var i; (i = t.inArray(n, u, i)) > -1;) {\n\t u.splice(i, 1), r && (s >= i && --s, a >= i && --a);\n\t }\n\t }), this;\n\t }, has: function has(e) {\n\t return !(!u || !(e ? t.inArray(e, u) > -1 : u.length));\n\t }, empty: function empty() {\n\t return s = u.length = 0, this;\n\t }, disable: function disable() {\n\t return u = f = n = void 0, this;\n\t }, disabled: function disabled() {\n\t return !u;\n\t }, lock: function lock() {\n\t return f = void 0, n || l.disable(), this;\n\t }, locked: function locked() {\n\t return !f;\n\t }, fireWith: function fireWith(t, e) {\n\t return !u || i && !f || (e = e || [], e = [t, e.slice ? e.slice() : e], r ? f.push(e) : c(e)), this;\n\t }, fire: function fire() {\n\t return l.fireWith(this, arguments);\n\t }, fired: function fired() {\n\t return !!i;\n\t } };return l;\n\t };\n\t}(Zepto), function (t) {\n\t function n(e) {\n\t var i = [[\"resolve\", \"done\", t.Callbacks({ once: 1, memory: 1 }), \"resolved\"], [\"reject\", \"fail\", t.Callbacks({ once: 1, memory: 1 }), \"rejected\"], [\"notify\", \"progress\", t.Callbacks({ memory: 1 })]],\n\t r = \"pending\",\n\t o = { state: function state() {\n\t return r;\n\t }, always: function always() {\n\t return s.done(arguments).fail(arguments), this;\n\t }, then: function then() {\n\t var e = arguments;return n(function (n) {\n\t t.each(i, function (i, r) {\n\t var a = t.isFunction(e[i]) && e[i];s[r[1]](function () {\n\t var e = a && a.apply(this, arguments);if (e && t.isFunction(e.promise)) e.promise().done(n.resolve).fail(n.reject).progress(n.notify);else {\n\t var i = this === o ? n.promise() : this,\n\t s = a ? [e] : arguments;n[r[0] + \"With\"](i, s);\n\t }\n\t });\n\t }), e = null;\n\t }).promise();\n\t }, promise: function promise(e) {\n\t return null != e ? t.extend(e, o) : o;\n\t } },\n\t s = {};return t.each(i, function (t, e) {\n\t var n = e[2],\n\t a = e[3];o[e[1]] = n.add, a && n.add(function () {\n\t r = a;\n\t }, i[1 ^ t][2].disable, i[2][2].lock), s[e[0]] = function () {\n\t return s[e[0] + \"With\"](this === s ? o : this, arguments), this;\n\t }, s[e[0] + \"With\"] = n.fireWith;\n\t }), o.promise(s), e && e.call(s, s), s;\n\t }var e = Array.prototype.slice;t.when = function (i) {\n\t var f,\n\t c,\n\t l,\n\t r = e.call(arguments),\n\t o = r.length,\n\t s = 0,\n\t a = 1 !== o || i && t.isFunction(i.promise) ? o : 0,\n\t u = 1 === a ? i : n(),\n\t h = function h(t, n, i) {\n\t return function (r) {\n\t n[t] = this, i[t] = arguments.length > 1 ? e.call(arguments) : r, i === f ? u.notifyWith(n, i) : --a || u.resolveWith(n, i);\n\t };\n\t };if (o > 1) for (f = new Array(o), c = new Array(o), l = new Array(o); o > s; ++s) {\n\t r[s] && t.isFunction(r[s].promise) ? r[s].promise().done(h(s, l, r)).fail(u.reject).progress(h(s, c, f)) : --a;\n\t }return a || u.resolveWith(l, r), u.promise();\n\t }, t.Deferred = n;\n\t}(Zepto), function (t) {\n\t function u(t, e, n, i) {\n\t return Math.abs(t - e) >= Math.abs(n - i) ? t - e > 0 ? \"Left\" : \"Right\" : n - i > 0 ? \"Up\" : \"Down\";\n\t }function f() {\n\t o = null, e.last && (e.el.trigger(\"longTap\"), e = {});\n\t }function c() {\n\t o && clearTimeout(o), o = null;\n\t }function l() {\n\t n && clearTimeout(n), i && clearTimeout(i), r && clearTimeout(r), o && clearTimeout(o), n = i = r = o = null, e = {};\n\t }function h(t) {\n\t return (\"touch\" == t.pointerType || t.pointerType == t.MSPOINTER_TYPE_TOUCH) && t.isPrimary;\n\t }function p(t, e) {\n\t return t.type == \"pointer\" + e || t.type.toLowerCase() == \"mspointer\" + e;\n\t }var n,\n\t i,\n\t r,\n\t o,\n\t a,\n\t e = {},\n\t s = 750;t(document).ready(function () {\n\t var d,\n\t m,\n\t y,\n\t w,\n\t g = 0,\n\t v = 0;\"MSGesture\" in window && (a = new MSGesture(), a.target = document.body), t(document).bind(\"MSGestureEnd\", function (t) {\n\t var n = t.velocityX > 1 ? \"Right\" : t.velocityX < -1 ? \"Left\" : t.velocityY > 1 ? \"Down\" : t.velocityY < -1 ? \"Up\" : null;n && (e.el.trigger(\"swipe\"), e.el.trigger(\"swipe\" + n));\n\t }).on(\"touchstart MSPointerDown pointerdown\", function (i) {\n\t (!(w = p(i, \"down\")) || h(i)) && (y = w ? i : i.touches[0], i.touches && 1 === i.touches.length && e.x2 && (e.x2 = void 0, e.y2 = void 0), d = Date.now(), m = d - (e.last || d), e.el = t(\"tagName\" in y.target ? y.target : y.target.parentNode), n && clearTimeout(n), e.x1 = y.pageX, e.y1 = y.pageY, m > 0 && 250 >= m && (e.isDoubleTap = !0), e.last = d, o = setTimeout(f, s), a && w && a.addPointer(i.pointerId));\n\t }).on(\"touchmove MSPointerMove pointermove\", function (t) {\n\t (!(w = p(t, \"move\")) || h(t)) && (y = w ? t : t.touches[0], c(), e.x2 = y.pageX, e.y2 = y.pageY, g += Math.abs(e.x1 - e.x2), v += Math.abs(e.y1 - e.y2));\n\t }).on(\"touchend MSPointerUp pointerup\", function (o) {\n\t (!(w = p(o, \"up\")) || h(o)) && (c(), e.x2 && Math.abs(e.x1 - e.x2) > 30 || e.y2 && Math.abs(e.y1 - e.y2) > 30 ? r = setTimeout(function () {\n\t e.el.trigger(\"swipe\"), e.el.trigger(\"swipe\" + u(e.x1, e.x2, e.y1, e.y2)), e = {};\n\t }, 0) : \"last\" in e && (30 > g && 30 > v ? i = setTimeout(function () {\n\t var i = t.Event(\"tap\");i.cancelTouch = l, e.el.trigger(i), e.isDoubleTap ? (e.el && e.el.trigger(\"doubleTap\"), e = {}) : n = setTimeout(function () {\n\t n = null, e.el && e.el.trigger(\"singleTap\"), e = {};\n\t }, 250);\n\t }, 0) : e = {}), g = v = 0);\n\t }).on(\"touchcancel MSPointerCancel pointercancel\", l), t(window).on(\"scroll\", l);\n\t }), [\"swipe\", \"swipeLeft\", \"swipeRight\", \"swipeUp\", \"swipeDown\", \"doubleTap\", \"tap\", \"singleTap\", \"longTap\"].forEach(function (e) {\n\t t.fn[e] = function (t) {\n\t return this.on(e, t);\n\t };\n\t });\n\t}(Zepto), function (t) {\n\t function r(e) {\n\t return e = t(e), !(!e.width() && !e.height()) && \"none\" !== e.css(\"display\");\n\t }function f(t, e) {\n\t t = t.replace(/=#\\]/g, '=\"#\"]');var n,\n\t i,\n\t r = s.exec(t);if (r && r[2] in o && (n = o[r[2]], i = r[3], t = r[1], i)) {\n\t var a = Number(i);i = isNaN(a) ? i.replace(/^[\"']|[\"']$/g, \"\") : a;\n\t }return e(t, n, i);\n\t }var e = t.zepto,\n\t n = e.qsa,\n\t i = e.matches,\n\t o = t.expr[\":\"] = { visible: function visible() {\n\t return r(this) ? this : void 0;\n\t }, hidden: function hidden() {\n\t return r(this) ? void 0 : this;\n\t }, selected: function selected() {\n\t return this.selected ? this : void 0;\n\t }, checked: function checked() {\n\t return this.checked ? this : void 0;\n\t }, parent: function parent() {\n\t return this.parentNode;\n\t }, first: function first(t) {\n\t return 0 === t ? this : void 0;\n\t }, last: function last(t, e) {\n\t return t === e.length - 1 ? this : void 0;\n\t }, eq: function eq(t, e, n) {\n\t return t === n ? this : void 0;\n\t }, contains: function contains(e, n, i) {\n\t return t(this).text().indexOf(i) > -1 ? this : void 0;\n\t }, has: function has(t, n, i) {\n\t return e.qsa(this, i).length ? this : void 0;\n\t } },\n\t s = new RegExp(\"(.*):(\\\\w+)(?:\\\\(([^)]+)\\\\))?$\\\\s*\"),\n\t a = /^\\s*>/,\n\t u = \"Zepto\" + +new Date();e.qsa = function (i, r) {\n\t return f(r, function (o, s, f) {\n\t try {\n\t var c;!o && s ? o = \"*\" : a.test(o) && (c = t(i).addClass(u), o = \".\" + u + \" \" + o);var l = n(i, o);\n\t } catch (h) {\n\t throw console.error(\"error performing selector: %o\", r), h;\n\t } finally {\n\t c && c.removeClass(u);\n\t }return s ? e.uniq(t.map(l, function (t, e) {\n\t return s.call(t, e, l, f);\n\t })) : l;\n\t });\n\t }, e.matches = function (t, e) {\n\t return f(e, function (e, n, r) {\n\t return !(e && !i(t, e) || n && n.call(t, null, r) !== t);\n\t });\n\t };\n\t}(Zepto), function () {\n\t try {\n\t getComputedStyle(void 0);\n\t } catch (t) {\n\t var e = getComputedStyle;window.getComputedStyle = function (t) {\n\t try {\n\t return e(t);\n\t } catch (n) {\n\t return null;\n\t }\n\t };\n\t }\n\t}();\n\tmodule.exports = Zepto;\n\n/***/ },\n/* 4 */\n/*!********************************!*\\\n !*** ./~/hls.js/lib/events.js ***!\n \\********************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tmodule.exports = {\n\t // fired before MediaSource is attaching to media element - data: { media }\n\t MEDIA_ATTACHING: 'hlsMediaAttaching',\n\t // fired when MediaSource has been succesfully attached to media element - data: { }\n\t MEDIA_ATTACHED: 'hlsMediaAttached',\n\t // fired before detaching MediaSource from media element - data: { }\n\t MEDIA_DETACHING: 'hlsMediaDetaching',\n\t // fired when MediaSource has been detached from media element - data: { }\n\t MEDIA_DETACHED: 'hlsMediaDetached',\n\t // fired when we buffer is going to be resetted\n\t BUFFER_RESET: 'hlsBufferReset',\n\t // fired when we know about the codecs that we need buffers for to push into - data: {tracks : { container, codec, levelCodec, initSegment, metadata }}\n\t BUFFER_CODECS: 'hlsBufferCodecs',\n\t // fired when we append a segment to the buffer - data: { segment: segment object }\n\t BUFFER_APPENDING: 'hlsBufferAppending',\n\t // fired when we are done with appending a media segment to the buffer\n\t BUFFER_APPENDED: 'hlsBufferAppended',\n\t // fired when the stream is finished and we want to notify the media buffer that there will be no more data\n\t BUFFER_EOS: 'hlsBufferEos',\n\t // fired when the media buffer should be flushed - data {startOffset, endOffset}\n\t BUFFER_FLUSHING: 'hlsBufferFlushing',\n\t // fired when the media has been flushed\n\t BUFFER_FLUSHED: 'hlsBufferFlushed',\n\t // fired to signal that a manifest loading starts - data: { url : manifestURL}\n\t MANIFEST_LOADING: 'hlsManifestLoading',\n\t // fired after manifest has been loaded - data: { levels : [available quality levels] , url : manifestURL, stats : { trequest, tfirst, tload, mtime}}\n\t MANIFEST_LOADED: 'hlsManifestLoaded',\n\t // fired after manifest has been parsed - data: { levels : [available quality levels] , firstLevel : index of first quality level appearing in Manifest}\n\t MANIFEST_PARSED: 'hlsManifestParsed',\n\t // fired when a level playlist loading starts - data: { url : level URL level : id of level being loaded}\n\t LEVEL_LOADING: 'hlsLevelLoading',\n\t // fired when a level playlist loading finishes - data: { details : levelDetails object, level : id of loaded level, stats : { trequest, tfirst, tload, mtime} }\n\t LEVEL_LOADED: 'hlsLevelLoaded',\n\t // fired when a level's details have been updated based on previous details, after it has been loaded. - data: { details : levelDetails object, level : id of updated level }\n\t LEVEL_UPDATED: 'hlsLevelUpdated',\n\t // fired when a level's PTS information has been updated after parsing a fragment - data: { details : levelDetails object, level : id of updated level, drift: PTS drift observed when parsing last fragment }\n\t LEVEL_PTS_UPDATED: 'hlsLevelPtsUpdated',\n\t // fired when a level switch is requested - data: { level : id of new level }\n\t LEVEL_SWITCH: 'hlsLevelSwitch',\n\t // fired when a fragment loading starts - data: { frag : fragment object}\n\t FRAG_LOADING: 'hlsFragLoading',\n\t // fired when a fragment loading is progressing - data: { frag : fragment object, { trequest, tfirst, loaded}}\n\t FRAG_LOAD_PROGRESS: 'hlsFragLoadProgress',\n\t // Identifier for fragment load aborting for emergency switch down - data: {frag : fragment object}\n\t FRAG_LOAD_EMERGENCY_ABORTED: 'hlsFragLoadEmergencyAborted',\n\t // fired when a fragment loading is completed - data: { frag : fragment object, payload : fragment payload, stats : { trequest, tfirst, tload, length}}\n\t FRAG_LOADED: 'hlsFragLoaded',\n\t // fired when Init Segment has been extracted from fragment - data: { moov : moov MP4 box, codecs : codecs found while parsing fragment}\n\t FRAG_PARSING_INIT_SEGMENT: 'hlsFragParsingInitSegment',\n\t // fired when parsing sei text is completed - data: { samples : [ sei samples pes ] }\n\t FRAG_PARSING_USERDATA: 'hlsFragParsingUserdata',\n\t // fired when parsing id3 is completed - data: { samples : [ id3 samples pes ] }\n\t FRAG_PARSING_METADATA: 'hlsFragParsingMetadata',\n\t // fired when data have been extracted from fragment - data: { data1 : moof MP4 box or TS fragments, data2 : mdat MP4 box or null}\n\t FRAG_PARSING_DATA: 'hlsFragParsingData',\n\t // fired when fragment parsing is completed - data: undefined\n\t FRAG_PARSED: 'hlsFragParsed',\n\t // fired when fragment remuxed MP4 boxes have all been appended into SourceBuffer - data: { frag : fragment object, stats : { trequest, tfirst, tload, tparsed, tbuffered, length} }\n\t FRAG_BUFFERED: 'hlsFragBuffered',\n\t // fired when fragment matching with current media position is changing - data : { frag : fragment object }\n\t FRAG_CHANGED: 'hlsFragChanged',\n\t // Identifier for a FPS drop event - data: {curentDropped, currentDecoded, totalDroppedFrames}\n\t FPS_DROP: 'hlsFpsDrop',\n\t // Identifier for an error event - data: { type : error type, details : error details, fatal : if true, hls.js cannot/will not try to recover, if false, hls.js will try to recover,other error specific data}\n\t ERROR: 'hlsError',\n\t // fired when hls.js instance starts destroying. Different from MEDIA_DETACHED as one could want to detach and reattach a media to the instance of hls.js to handle mid-rolls for example\n\t DESTROYING: 'hlsDestroying',\n\t // fired when a decrypt key loading starts - data: { frag : fragment object}\n\t KEY_LOADING: 'hlsKeyLoading',\n\t // fired when a decrypt key loading is completed - data: { frag : fragment object, payload : key payload, stats : { trequest, tfirst, tload, length}}\n\t KEY_LOADED: 'hlsKeyLoaded'\n\t};\n\n/***/ },\n/* 5 */\n/*!**************************************!*\\\n !*** ./~/hls.js/lib/utils/logger.js ***!\n \\**************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n\t return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n\t} : function (obj) {\n\t return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n\t};\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tfunction noop() {}\n\t\n\tvar fakeLogger = {\n\t trace: noop,\n\t debug: noop,\n\t log: noop,\n\t warn: noop,\n\t info: noop,\n\t error: noop\n\t};\n\t\n\tvar exportedLogger = fakeLogger;\n\t\n\t//let lastCallTime;\n\t// function formatMsgWithTimeInfo(type, msg) {\n\t// const now = Date.now();\n\t// const diff = lastCallTime ? '+' + (now - lastCallTime) : '0';\n\t// lastCallTime = now;\n\t// msg = (new Date(now)).toISOString() + ' | [' + type + '] > ' + msg + ' ( ' + diff + ' ms )';\n\t// return msg;\n\t// }\n\t\n\tfunction formatMsg(type, msg) {\n\t msg = '[' + type + '] > ' + msg;\n\t return msg;\n\t}\n\t\n\tfunction consolePrintFn(type) {\n\t var func = window.console[type];\n\t if (func) {\n\t return function () {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t if (args[0]) {\n\t args[0] = formatMsg(type, args[0]);\n\t }\n\t func.apply(window.console, args);\n\t };\n\t }\n\t return noop;\n\t}\n\t\n\tfunction exportLoggerFunctions(debugConfig) {\n\t for (var _len2 = arguments.length, functions = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t functions[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t functions.forEach(function (type) {\n\t exportedLogger[type] = debugConfig[type] ? debugConfig[type].bind(debugConfig) : consolePrintFn(type);\n\t });\n\t}\n\t\n\tvar enableLogs = exports.enableLogs = function enableLogs(debugConfig) {\n\t if (debugConfig === true || (typeof debugConfig === 'undefined' ? 'undefined' : _typeof(debugConfig)) === 'object') {\n\t exportLoggerFunctions(debugConfig,\n\t // Remove out from list here to hard-disable a log-level\n\t //'trace',\n\t 'debug', 'log', 'info', 'warn', 'error');\n\t // Some browsers don't allow to use bind on console object anyway\n\t // fallback to default if needed\n\t try {\n\t exportedLogger.log();\n\t } catch (e) {\n\t exportedLogger = fakeLogger;\n\t }\n\t } else {\n\t exportedLogger = fakeLogger;\n\t }\n\t};\n\t\n\tvar logger = exports.logger = exportedLogger;\n\n/***/ },\n/* 6 */\n/*!********************************!*\\\n !*** ./~/hls.js/lib/errors.js ***!\n \\********************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar ErrorTypes = exports.ErrorTypes = {\n\t // Identifier for a network error (loading error / timeout ...)\n\t NETWORK_ERROR: 'networkError',\n\t // Identifier for a media Error (video/parsing/mediasource error)\n\t MEDIA_ERROR: 'mediaError',\n\t // Identifier for all other errors\n\t OTHER_ERROR: 'otherError'\n\t};\n\t\n\tvar ErrorDetails = exports.ErrorDetails = {\n\t // Identifier for a manifest load error - data: { url : faulty URL, response : XHR response}\n\t MANIFEST_LOAD_ERROR: 'manifestLoadError',\n\t // Identifier for a manifest load timeout - data: { url : faulty URL, response : XHR response}\n\t MANIFEST_LOAD_TIMEOUT: 'manifestLoadTimeOut',\n\t // Identifier for a manifest parsing error - data: { url : faulty URL, reason : error reason}\n\t MANIFEST_PARSING_ERROR: 'manifestParsingError',\n\t // Identifier for a manifest with only incompatible codecs error - data: { url : faulty URL, reason : error reason}\n\t MANIFEST_INCOMPATIBLE_CODECS_ERROR: 'manifestIncompatibleCodecsError',\n\t // Identifier for playlist load error - data: { url : faulty URL, response : XHR response}\n\t LEVEL_LOAD_ERROR: 'levelLoadError',\n\t // Identifier for playlist load timeout - data: { url : faulty URL, response : XHR response}\n\t LEVEL_LOAD_TIMEOUT: 'levelLoadTimeOut',\n\t // Identifier for a level switch error - data: { level : faulty level Id, event : error description}\n\t LEVEL_SWITCH_ERROR: 'levelSwitchError',\n\t // Identifier for fragment load error - data: { frag : fragment object, response : XHR response}\n\t FRAG_LOAD_ERROR: 'fragLoadError',\n\t // Identifier for fragment loop loading error - data: { frag : fragment object}\n\t FRAG_LOOP_LOADING_ERROR: 'fragLoopLoadingError',\n\t // Identifier for fragment load timeout error - data: { frag : fragment object}\n\t FRAG_LOAD_TIMEOUT: 'fragLoadTimeOut',\n\t // Identifier for a fragment decryption error event - data: parsing error description\n\t FRAG_DECRYPT_ERROR: 'fragDecryptError',\n\t // Identifier for a fragment parsing error event - data: parsing error description\n\t FRAG_PARSING_ERROR: 'fragParsingError',\n\t // Identifier for decrypt key load error - data: { frag : fragment object, response : XHR response}\n\t KEY_LOAD_ERROR: 'keyLoadError',\n\t // Identifier for decrypt key load timeout error - data: { frag : fragment object}\n\t KEY_LOAD_TIMEOUT: 'keyLoadTimeOut',\n\t // Identifier for a buffer append error - data: append error description\n\t BUFFER_APPEND_ERROR: 'bufferAppendError',\n\t // Identifier for a buffer appending error event - data: appending error description\n\t BUFFER_APPENDING_ERROR: 'bufferAppendingError',\n\t // Identifier for a buffer stalled error event\n\t BUFFER_STALLED_ERROR: 'bufferStalledError',\n\t // Identifier for a buffer full event\n\t BUFFER_FULL_ERROR: 'bufferFullError',\n\t // Identifier for a buffer seek over hole event\n\t BUFFER_SEEK_OVER_HOLE: 'bufferSeekOverHole'\n\t};\n\n/***/ },\n/* 7 */\n/*!******************************!*\\\n !*** ./src/base/playback.js ***!\n \\******************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _ui_object = __webpack_require__(/*! ./ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * An abstraction to represent a generic playback, it's like an interface to be implemented by subclasses.\n\t * @class Playback\n\t * @constructor\n\t * @extends UIObject\n\t * @module base\n\t */\n\t\n\tvar Playback = function (_UIObject) {\n\t _inherits(Playback, _UIObject);\n\t\n\t _createClass(Playback, [{\n\t key: 'ended',\n\t\n\t /**\n\t * Determine if the playback has ended.\n\t * @property ended\n\t * @type Boolean\n\t */\n\t get: function get() {\n\t return false;\n\t }\n\t\n\t /**\n\t * Determine if the playback is having to buffer in order for\n\t * playback to be smooth.\n\t * (i.e if a live stream is playing smoothly, this will be false)\n\t * @property buffering\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'buffering',\n\t get: function get() {\n\t return false;\n\t }\n\t\n\t /**\n\t * @method constructor\n\t * @param {Object} options the options object\n\t */\n\t\n\t }]);\n\t\n\t function Playback(options) {\n\t _classCallCheck(this, Playback);\n\t\n\t var _this = _possibleConstructorReturn(this, _UIObject.call(this, options));\n\t\n\t _this.settings = {};\n\t return _this;\n\t }\n\t\n\t /**\n\t * plays the playback.\n\t * @method play\n\t */\n\t\n\t\n\t Playback.prototype.play = function play() {};\n\t\n\t /**\n\t * pauses the playback.\n\t * @method pause\n\t */\n\t\n\t\n\t Playback.prototype.pause = function pause() {};\n\t\n\t /**\n\t * stops the playback.\n\t * @method stop\n\t */\n\t\n\t\n\t Playback.prototype.stop = function stop() {};\n\t\n\t /**\n\t * seeks the playback to a given `time` in seconds\n\t * @method seek\n\t * @param {Number} time should be a number between 0 and the video duration\n\t */\n\t\n\t\n\t Playback.prototype.seek = function seek(time) {} /*jshint unused:false*/\n\t\n\t /**\n\t * seeks the playback to a given `percentage` in percentage\n\t * @method seekPercentage\n\t * @param {Number} time should be a number between 0 and 100\n\t */\n\t ;\n\t\n\t Playback.prototype.seekPercentage = function seekPercentage(percentage) {} /*jshint unused:false*/\n\t\n\t /**\n\t * The time that \"0\" now represents relative to when playback started.\n\t * For a stream with a sliding window this will increase as content is\n\t * removed from the beginning.\n\t * @method getStartTimeOffset\n\t * @return {Number} time (in seconds) that time \"0\" represents.\n\t */\n\t ;\n\t\n\t Playback.prototype.getStartTimeOffset = function getStartTimeOffset() {\n\t return 0;\n\t };\n\t\n\t /**\n\t * gets the duration in seconds\n\t * @method getDuration\n\t * @return {Number} duration (in seconds) of the current source\n\t */\n\t\n\t\n\t Playback.prototype.getDuration = function getDuration() {\n\t return 0;\n\t };\n\t\n\t /**\n\t * checks if the playback is playing.\n\t * @method isPlaying\n\t * @return {Boolean} `true` if the current playback is playing, otherwise `false`\n\t */\n\t\n\t\n\t Playback.prototype.isPlaying = function isPlaying() {\n\t return false;\n\t };\n\t\n\t /**\n\t * checks if the playback is ready.\n\t * @property isReady\n\t * @type {Boolean} `true` if the current playback is ready, otherwise `false`\n\t */\n\t\n\t\n\t /**\n\t * gets the playback type (`'vod', 'live', 'aod'`)\n\t * @method getPlaybackType\n\t * @return {String} you should write the playback type otherwise it'll assume `'no_op'`\n\t * @example\n\t * ```javascript\n\t * html5VideoPlayback.getPlaybackType() //vod\n\t * html5AudioPlayback.getPlaybackType() //aod\n\t * html5VideoPlayback.getPlaybackType() //live\n\t * flashHlsPlayback.getPlaybackType() //live\n\t * ```\n\t */\n\t\n\t Playback.prototype.getPlaybackType = function getPlaybackType() {\n\t return Playback.NO_OP;\n\t };\n\t\n\t /**\n\t * checks if the playback is in HD.\n\t * @method isHighDefinitionInUse\n\t * @return {Boolean} `true` if the playback is playing in HD, otherwise `false`\n\t */\n\t\n\t\n\t Playback.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n\t return false;\n\t };\n\t\n\t /**\n\t * sets the volume for the playback\n\t * @method volume\n\t * @param {Number} value a number between 0 (`muted`) to 100 (`max`)\n\t */\n\t\n\t\n\t Playback.prototype.volume = function volume(value) {} /*jshint unused:false*/\n\t\n\t /**\n\t * destroys the playback, removing it from DOM\n\t * @method destroy\n\t */\n\t ;\n\t\n\t Playback.prototype.destroy = function destroy() {\n\t this.$el.remove();\n\t };\n\t\n\t _createClass(Playback, [{\n\t key: 'isReady',\n\t get: function get() {\n\t return false;\n\t }\n\t }]);\n\t\n\t return Playback;\n\t}(_ui_object2.default);\n\t\n\texports.default = Playback;\n\t\n\t\n\tPlayback.extend = function (properties) {\n\t return (0, _utils.extend)(Playback, properties);\n\t};\n\t\n\t/**\n\t * checks if the playback can play a given `source`\n\t * If a mimeType is provided then this will be used instead of inferring the mimetype\n\t * from the source extension.\n\t * @method canPlay\n\t * @static\n\t * @param {String} source the given source ex: `http://example.com/play.mp4`\n\t * @param {String} [mimeType] the given mime type, ex: `'application/vnd.apple.mpegurl'`\n\t * @return {Boolean} `true` if the playback is playable, otherwise `false`\n\t */\n\tPlayback.canPlay = function (source, mimeType) {\n\t /*jshint unused:false*/\n\t return false;\n\t};\n\t\n\t/**\n\t * a playback type for video on demand\n\t *\n\t * @property VOD\n\t * @static\n\t * @type String\n\t */\n\tPlayback.VOD = 'vod';\n\t/**\n\t * a playback type for audio on demand\n\t *\n\t * @property AOD\n\t * @static\n\t * @type String\n\t */\n\tPlayback.AOD = 'aod';\n\t/**\n\t * a playback type for live video\n\t *\n\t * @property LIVE\n\t * @static\n\t * @type String\n\t */\n\tPlayback.LIVE = 'live';\n\t/**\n\t * a default playback type\n\t *\n\t * @property NO_OP\n\t * @static\n\t * @type String\n\t */\n\tPlayback.NO_OP = 'no_op';\n\t/**\n\t * the plugin type\n\t *\n\t * @property type\n\t * @static\n\t * @type String\n\t */\n\tPlayback.type = 'playback';\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 8 */\n/*!****************************!*\\\n !*** ./src/base/styler.js ***!\n \\****************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _template = __webpack_require__(/*! ./template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar Styler = {\n\t getStyleFor: function getStyleFor(style) {\n\t var options = arguments.length <= 1 || arguments[1] === undefined ? { baseUrl: '' } : arguments[1];\n\t\n\t return (0, _clapprZepto2.default)('').html((0, _template2.default)(style.toString())(options));\n\t }\n\t};\n\t\n\texports.default = Styler;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 9 */\n/*!******************************!*\\\n !*** ./src/base/template.js ***!\n \\******************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t// Simple JavaScript Templating\n\t// Paul Miller (http://paulmillr.com)\n\t// http://underscorejs.org\n\t// (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t\n\t// By default, Underscore uses ERB-style template delimiters, change the\n\t// following template settings to use alternative delimiters.\n\tvar settings = {\n\t evaluate: /<%([\\s\\S]+?)%>/g,\n\t interpolate: /<%=([\\s\\S]+?)%>/g,\n\t escape: /<%-([\\s\\S]+?)%>/g\n\t};\n\t\n\t// When customizing `templateSettings`, if you don't want to define an\n\t// interpolation, evaluation or escaping regex, we need one that is\n\t// guaranteed not to match.\n\tvar noMatch = /(.)^/;\n\t\n\t// Certain characters need to be escaped so that they can be put into a\n\t// string literal.\n\tvar escapes = {\n\t \"'\": \"'\",\n\t '\\\\': '\\\\',\n\t '\\r': 'r',\n\t '\\n': 'n',\n\t '\\t': 't',\n\t \"\\u2028\": 'u2028',\n\t \"\\u2029\": 'u2029'\n\t};\n\t\n\tvar escaper = /\\\\|'|\\r|\\n|\\t|\\u2028|\\u2029/g;\n\t\n\t// List of HTML entities for escaping.\n\tvar htmlEntities = {\n\t '&': '&',\n\t '<': '<',\n\t '>': '>',\n\t '\"': '"',\n\t \"'\": '''\n\t};\n\t\n\tvar entityRe = new RegExp('[&<>\"\\']', 'g');\n\t\n\tvar escapeExpr = function escapeExpr(string) {\n\t if (string === null) {\n\t return '';\n\t }\n\t return ('' + string).replace(entityRe, function (match) {\n\t return htmlEntities[match];\n\t });\n\t};\n\t\n\tvar counter = 0;\n\t\n\t// JavaScript micro-templating, similar to John Resig's implementation.\n\t// Underscore templating handles arbitrary delimiters, preserves whitespace,\n\t// and correctly escapes quotes within interpolated code.\n\tvar tmpl = function tmpl(text, data) {\n\t var render;\n\t\n\t // Combine delimiters into one regular expression via alternation.\n\t var matcher = new RegExp([(settings.escape || noMatch).source, (settings.interpolate || noMatch).source, (settings.evaluate || noMatch).source].join('|') + '|$', 'g');\n\t\n\t // Compile the template source, escaping string literals appropriately.\n\t var index = 0;\n\t var source = \"__p+='\";\n\t text.replace(matcher, function (match, escape, interpolate, evaluate, offset) {\n\t source += text.slice(index, offset).replace(escaper, function (match) {\n\t return '\\\\' + escapes[match];\n\t });\n\t\n\t if (escape) {\n\t source += \"'+\\n((__t=(\" + escape + \"))==null?'':escapeExpr(__t))+\\n'\";\n\t }\n\t if (interpolate) {\n\t source += \"'+\\n((__t=(\" + interpolate + \"))==null?'':__t)+\\n'\";\n\t }\n\t if (evaluate) {\n\t source += \"';\\n\" + evaluate + \"\\n__p+='\";\n\t }\n\t index = offset + match.length;\n\t return match;\n\t });\n\t source += \"';\\n\";\n\t\n\t // If a variable is not specified, place data values in local scope.\n\t if (!settings.variable) {\n\t source = 'with(obj||{}){\\n' + source + '}\\n';\n\t }\n\t\n\t source = \"var __t,__p='',__j=Array.prototype.join,\" + \"print=function(){__p+=__j.call(arguments,'');};\\n\" + source + \"return __p;\\n//# sourceURL=/microtemplates/source[\" + counter++ + \"]\";\n\t\n\t try {\n\t /*jshint -W054 */\n\t // TODO: find a way to avoid eval\n\t render = new Function(settings.variable || 'obj', 'escapeExpr', source);\n\t } catch (e) {\n\t e.source = source;\n\t throw e;\n\t }\n\t\n\t if (data) {\n\t return render(data, escapeExpr);\n\t }\n\t var template = function template(data) {\n\t return render.call(this, data, escapeExpr);\n\t };\n\t\n\t // Provide the compiled function source as a convenience for precompilation.\n\t template.source = 'function(' + (settings.variable || 'obj') + '){\\n' + source + '}';\n\t\n\t return template;\n\t};\n\ttmpl.settings = settings;\n\t\n\tmodule.exports = tmpl;\n\n/***/ },\n/* 10 */\n/*!**************************************!*\\\n !*** ./~/css-loader/lib/css-base.js ***!\n \\**************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/*\r\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\t\tAuthor Tobias Koppers @sokra\r\n\t*/\n\t// css base code, injected by the css-loader\n\tmodule.exports = function () {\n\t\tvar list = [];\n\t\n\t\t// return the list of modules as css string\n\t\tlist.toString = function toString() {\n\t\t\tvar result = [];\n\t\t\tfor (var i = 0; i < this.length; i++) {\n\t\t\t\tvar item = this[i];\n\t\t\t\tif (item[2]) {\n\t\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\n\t\t\t\t} else {\n\t\t\t\t\tresult.push(item[1]);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result.join(\"\");\n\t\t};\n\t\n\t\t// import a list of modules into the list\n\t\tlist.i = function (modules, mediaQuery) {\n\t\t\tif (typeof modules === \"string\") modules = [[null, modules, \"\"]];\n\t\t\tvar alreadyImportedModules = {};\n\t\t\tfor (var i = 0; i < this.length; i++) {\n\t\t\t\tvar id = this[i][0];\n\t\t\t\tif (typeof id === \"number\") alreadyImportedModules[id] = true;\n\t\t\t}\n\t\t\tfor (i = 0; i < modules.length; i++) {\n\t\t\t\tvar item = modules[i];\n\t\t\t\t// skip already imported module\n\t\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\t\tif (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\t\tif (mediaQuery && !item[2]) {\n\t\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t\t} else if (mediaQuery) {\n\t\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t\t}\n\t\t\t\t\tlist.push(item);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\treturn list;\n\t};\n\n/***/ },\n/* 11 */\n/*!***********************************!*\\\n !*** ./src/components/browser.js ***!\n \\***********************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t// Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar Browser = {};\n\t\n\tvar hasLocalstorage = function hasLocalstorage() {\n\t try {\n\t localStorage.setItem('clappr', 'clappr');\n\t localStorage.removeItem('clappr');\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t};\n\t\n\tvar hasFlash = function hasFlash() {\n\t try {\n\t var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');\n\t return !!fo;\n\t } catch (e) {\n\t return !!(navigator.mimeTypes && navigator.mimeTypes['application/x-shockwave-flash'] !== undefined && navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin);\n\t }\n\t};\n\t\n\tvar getBrowserInfo = function getBrowserInfo() {\n\t var ua = navigator.userAgent;\n\t var parts = ua.match(/\\b(playstation 4|nx|opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [];\n\t var extra;\n\t if (/trident/i.test(parts[1])) {\n\t extra = /\\brv[ :]+(\\d+)/g.exec(ua) || [];\n\t return { name: 'IE', version: parseInt(extra[1] || '') };\n\t } else if (parts[1] === 'Chrome') {\n\t extra = ua.match(/\\bOPR\\/(\\d+)/);\n\t if (extra != null) {\n\t return { name: 'Opera', version: parseInt(extra[1]) };\n\t }\n\t }\n\t parts = parts[2] ? [parts[1], parts[2]] : [navigator.appName, navigator.appVersion, '-?'];\n\t\n\t if (extra = ua.match(/version\\/(\\d+)/i)) {\n\t parts.splice(1, 1, extra[1]);\n\t }\n\t return { name: parts[0], version: parseInt(parts[1]) };\n\t};\n\t\n\tvar browserInfo = getBrowserInfo();\n\t\n\tBrowser.isSafari = /safari/i.test(navigator.userAgent) && navigator.userAgent.indexOf('Chrome') === -1;\n\tBrowser.isChrome = /chrome/i.test(navigator.userAgent);\n\tBrowser.isFirefox = /firefox/i.test(navigator.userAgent);\n\tBrowser.isLegacyIE = !!window.ActiveXObject;\n\tBrowser.isIE = Browser.isLegacyIE || /trident.*rv:1\\d/i.test(navigator.userAgent);\n\tBrowser.isIE11 = /trident.*rv:11/i.test(navigator.userAgent);\n\tBrowser.isChromecast = Browser.isChrome && /CrKey/i.test(navigator.userAgent);\n\tBrowser.isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone|IEMobile|Opera Mini/i.test(navigator.userAgent);\n\tBrowser.isiOS = /iPad|iPhone|iPod/i.test(navigator.userAgent);\n\tBrowser.isAndroid = /Android/i.test(navigator.userAgent);\n\tBrowser.isWindowsPhone = /Windows Phone/i.test(navigator.userAgent);\n\tBrowser.isWin8App = /MSAppHost/i.test(navigator.userAgent);\n\tBrowser.isWiiU = /WiiU/i.test(navigator.userAgent);\n\tBrowser.isPS4 = /PlayStation 4/i.test(navigator.userAgent);\n\tBrowser.hasLocalstorage = hasLocalstorage();\n\tBrowser.hasFlash = hasFlash();\n\t\n\tBrowser.name = browserInfo.name;\n\tBrowser.version = browserInfo.version;\n\t\n\texports.default = Browser;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 12 */\n/*!***************************************!*\\\n !*** ./~/hls.js/lib/event-handler.js ***!\n \\***************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n\t return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n\t} : function (obj) {\n\t return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n\t};\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t/*\n\t*\n\t* All objects in the event handling chain should inherit from this class\n\t*\n\t*/\n\t\n\t//import {logger} from './utils/logger';\n\t\n\tvar EventHandler = function () {\n\t function EventHandler(hls) {\n\t _classCallCheck(this, EventHandler);\n\t\n\t this.hls = hls;\n\t this.onEvent = this.onEvent.bind(this);\n\t\n\t for (var _len = arguments.length, events = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t events[_key - 1] = arguments[_key];\n\t }\n\t\n\t this.handledEvents = events;\n\t this.useGenericHandler = true;\n\t\n\t this.registerListeners();\n\t }\n\t\n\t _createClass(EventHandler, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t this.unregisterListeners();\n\t }\n\t }, {\n\t key: 'isEventHandler',\n\t value: function isEventHandler() {\n\t return _typeof(this.handledEvents) === 'object' && this.handledEvents.length && typeof this.onEvent === 'function';\n\t }\n\t }, {\n\t key: 'registerListeners',\n\t value: function registerListeners() {\n\t if (this.isEventHandler()) {\n\t this.handledEvents.forEach(function (event) {\n\t if (event === 'hlsEventGeneric') {\n\t throw new Error('Forbidden event name: ' + event);\n\t }\n\t this.hls.on(event, this.onEvent);\n\t }.bind(this));\n\t }\n\t }\n\t }, {\n\t key: 'unregisterListeners',\n\t value: function unregisterListeners() {\n\t if (this.isEventHandler()) {\n\t this.handledEvents.forEach(function (event) {\n\t this.hls.off(event, this.onEvent);\n\t }.bind(this));\n\t }\n\t }\n\t\n\t /*\n\t * arguments: event (string), data (any)\n\t */\n\t\n\t }, {\n\t key: 'onEvent',\n\t value: function onEvent(event, data) {\n\t this.onEventGeneric(event, data);\n\t }\n\t }, {\n\t key: 'onEventGeneric',\n\t value: function onEventGeneric(event, data) {\n\t var eventToFunction = function eventToFunction(event, data) {\n\t var funcName = 'on' + event.replace('hls', '');\n\t if (typeof this[funcName] !== 'function') {\n\t throw new Error('Event ' + event + ' has no generic handler in this ' + this.constructor.name + ' class (tried ' + funcName + ')');\n\t }\n\t return this[funcName].bind(this, data);\n\t };\n\t eventToFunction.call(this, event, data).call();\n\t }\n\t }]);\n\t\n\t return EventHandler;\n\t}();\n\t\n\texports.default = EventHandler;\n\n/***/ },\n/* 13 */\n/*!*********************************!*\\\n !*** ./src/base/base_object.js ***!\n \\*********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _events = __webpack_require__(/*! ./events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * @class BaseObject\n\t * @constructor\n\t * @extends Events\n\t * @module base\n\t */\n\t\n\tvar BaseObject = function (_Events) {\n\t _inherits(BaseObject, _Events);\n\t\n\t /**\n\t * @method constructor\n\t * @param {Object} options\n\t */\n\t\n\t function BaseObject() {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t _classCallCheck(this, BaseObject);\n\t\n\t var _this = _possibleConstructorReturn(this, _Events.call(this, options));\n\t\n\t _this.uniqueId = (0, _utils.uniqueId)('o');\n\t return _this;\n\t }\n\t /**\n\t * a unique id prefixed with `'o'`, `o1, o232`\n\t *\n\t * @property uniqueId\n\t * @type String\n\t */\n\t\n\t\n\t return BaseObject;\n\t}(_events2.default);\n\n\texports.default = BaseObject;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 14 */\n/*!********************************!*\\\n !*** ./~/lodash.find/index.js ***!\n \\********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * lodash 4.2.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\tvar baseEach = __webpack_require__(/*! lodash._baseeach */ 75),\n\t baseFind = __webpack_require__(/*! lodash._basefind */ 76),\n\t baseFindIndex = __webpack_require__(/*! lodash._basefindindex */ 77),\n\t baseIteratee = __webpack_require__(/*! lodash._baseiteratee */ 30);\n\t\n\t/**\n\t * Iterates over elements of `collection`, returning the first element\n\t * `predicate` returns truthy for. The predicate is invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Collection\n\t * @param {Array|Object} collection The collection to search.\n\t * @param {Function|Object|string} [predicate=_.identity] The function invoked per iteration.\n\t * @returns {*} Returns the matched element, else `undefined`.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': true },\n\t * { 'user': 'fred', 'age': 40, 'active': false },\n\t * { 'user': 'pebbles', 'age': 1, 'active': true }\n\t * ];\n\t *\n\t * _.find(users, function(o) { return o.age < 40; });\n\t * // => object for 'barney'\n\t *\n\t * // The `_.matches` iteratee shorthand.\n\t * _.find(users, { 'age': 1, 'active': true });\n\t * // => object for 'pebbles'\n\t *\n\t * // The `_.matchesProperty` iteratee shorthand.\n\t * _.find(users, ['active', false]);\n\t * // => object for 'fred'\n\t *\n\t * // The `_.property` iteratee shorthand.\n\t * _.find(users, 'active');\n\t * // => object for 'barney'\n\t */\n\tfunction find(collection, predicate) {\n\t predicate = baseIteratee(predicate, 3);\n\t if (isArray(collection)) {\n\t var index = baseFindIndex(collection, predicate);\n\t return index > -1 ? collection[index] : undefined;\n\t }\n\t return baseFind(collection, predicate, baseEach);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @type {Function}\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(document.body.children);\n\t * // => false\n\t *\n\t * _.isArray('abc');\n\t * // => false\n\t *\n\t * _.isArray(_.noop);\n\t * // => false\n\t */\n\tvar isArray = Array.isArray;\n\t\n\tmodule.exports = find;\n\n/***/ },\n/* 15 */\n/*!*******************************!*\\\n !*** ./src/base/ui_object.js ***!\n \\*******************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.result */ 84);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _base_object = __webpack_require__(/*! ./base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar delegateEventSplitter = /^(\\S+)\\s*(.*)$/;\n\t\n\t/**\n\t * A base class to create ui object.\n\t * @class UIObject\n\t * @constructor\n\t * @extends BaseObject\n\t * @module base\n\t */\n\t\n\tvar UIObject = function (_BaseObject) {\n\t _inherits(UIObject, _BaseObject);\n\t\n\t _createClass(UIObject, [{\n\t key: 'tagName',\n\t\n\t /**\n\t * a unique id prefixed with `'c'`, `c1, c232`\n\t *\n\t * @property cid\n\t * @type String\n\t */\n\t /**\n\t * the dom element itself\n\t *\n\t * @property el\n\t * @type HTMLElement\n\t */\n\t /**\n\t * the dom element wrapped by `$`\n\t *\n\t * @property $el\n\t * @type HTMLElement\n\t */\n\t\n\t /**\n\t * gets the tag name for the ui component\n\t * @method tagName\n\t * @default div\n\t * @return {String} tag's name\n\t */\n\t get: function get() {\n\t return 'div';\n\t }\n\t /**\n\t * a literal object mapping element's events to methods\n\t * @property events\n\t * @type Object\n\t * @example\n\t *\n\t *```javascript\n\t *\n\t * class MyButton extends UIObject {\n\t * constructor(options) {\n\t * super(options)\n\t * this.myId = 0\n\t * }\n\t * get events() { return { 'click': 'myClick' } }\n\t * myClick(){ this.myId = 42 }\n\t * }\n\t *\n\t * // when you click on MyButton the method `myClick` will be called\n\t *```\n\t */\n\t\n\t }, {\n\t key: 'events',\n\t get: function get() {\n\t return {};\n\t }\n\t /**\n\t * a literal object mapping attributes and values to the element\n\t * element's attribute name and the value the attribute value\n\t * @property attributes\n\t * @type Object\n\t * @example\n\t *\n\t *```javascript\n\t *\n\t * class MyButton extends UIObject {\n\t * constructor(options) { super(options) }\n\t * get attributes() { return { class: 'my-button'} }\n\t * }\n\t *\n\t * // MyButton.el.className will be 'my-button'\n\t * ```\n\t */\n\t\n\t }, {\n\t key: 'attributes',\n\t get: function get() {\n\t return {};\n\t }\n\t\n\t /**\n\t * it builds an ui component by:\n\t * * creating an id for the component `cid`\n\t * * making sure the element is created `$el`\n\t * * delegating all `events` to the element\n\t * @method constructor\n\t * @param {Object} options the options object\n\t */\n\t\n\t }]);\n\t\n\t function UIObject(options) {\n\t _classCallCheck(this, UIObject);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this, options));\n\t\n\t _this.cid = (0, _utils.uniqueId)('c');\n\t _this._ensureElement();\n\t _this.delegateEvents();\n\t return _this;\n\t }\n\t\n\t /**\n\t * selects within the component.\n\t * @method $\n\t * @param {String} selector a selector to find within the component.\n\t * @return {HTMLElement} an element, if it exists.\n\t * @example\n\t * ```javascript\n\t * fullScreenBarUIComponent.$('.button-full') //will return only `.button-full` within the component\n\t * ```\n\t */\n\t\n\t\n\t UIObject.prototype.$ = function $(selector) {\n\t return this.$el.find(selector);\n\t };\n\t\n\t /**\n\t * render the component, usually attach it to a real existent `element`\n\t * @method render\n\t * @return {UIObject} itself\n\t */\n\t\n\t\n\t UIObject.prototype.render = function render() {\n\t return this;\n\t };\n\t\n\t /**\n\t * removes the ui component from DOM\n\t * @method remove\n\t * @return {UIObject} itself\n\t */\n\t\n\t\n\t UIObject.prototype.remove = function remove() {\n\t this.$el.remove();\n\t this.stopListening();\n\t this.undelegateEvents();\n\t return this;\n\t };\n\t\n\t /**\n\t * set element to `el` and `$el`\n\t * @method setElement\n\t * @param {HTMLElement} element\n\t * @param {Boolean} delegate whether is delegate or not\n\t * @return {UIObject} itself\n\t */\n\t\n\t\n\t UIObject.prototype.setElement = function setElement(element, delegate) {\n\t if (this.$el) {\n\t this.undelegateEvents();\n\t }\n\t this.$el = element instanceof _clapprZepto2.default ? element : (0, _clapprZepto2.default)(element);\n\t this.el = this.$el[0];\n\t if (delegate !== false) {\n\t this.delegateEvents();\n\t }\n\t return this;\n\t };\n\t\n\t /**\n\t * delegates all the original `events` on `element` to its callbacks\n\t * @method delegateEvents\n\t * @param {Object} events\n\t * @return {UIObject} itself\n\t */\n\t\n\t\n\t UIObject.prototype.delegateEvents = function delegateEvents(events) {\n\t if (!(events || (events = (0, _lodash2.default)(this, 'events')))) {\n\t return this;\n\t }\n\t this.undelegateEvents();\n\t for (var key in events) {\n\t var method = events[key];\n\t if (method && method.constructor !== Function) {\n\t method = this[events[key]];\n\t }\n\t if (!method) {\n\t continue;\n\t }\n\t\n\t var match = key.match(delegateEventSplitter);\n\t var eventName = match[1],\n\t selector = match[2];\n\t //method = _.bind(method, this)\n\t eventName += '.delegateEvents' + this.cid;\n\t if (selector === '') {\n\t this.$el.on(eventName, method.bind(this));\n\t } else {\n\t this.$el.on(eventName, selector, method.bind(this));\n\t }\n\t }\n\t return this;\n\t };\n\t\n\t /**\n\t * undelegats all the `events`\n\t * @method undelegateEvents\n\t * @return {UIObject} itself\n\t */\n\t\n\t\n\t UIObject.prototype.undelegateEvents = function undelegateEvents() {\n\t this.$el.off('.delegateEvents' + this.cid);\n\t return this;\n\t };\n\t\n\t /**\n\t * ensures the creation of this ui component\n\t * @method _ensureElement\n\t * @private\n\t */\n\t\n\t\n\t UIObject.prototype._ensureElement = function _ensureElement() {\n\t if (!this.el) {\n\t var attrs = _clapprZepto2.default.extend({}, (0, _lodash2.default)(this, 'attributes'));\n\t if (this.id) {\n\t attrs.id = (0, _lodash2.default)(this, 'id');\n\t }\n\t if (this.className) {\n\t attrs['class'] = (0, _lodash2.default)(this, 'className');\n\t }\n\t var $el = (0, _clapprZepto2.default)('<' + (0, _lodash2.default)(this, 'tagName') + '>').attr(attrs);\n\t this.setElement($el, false);\n\t } else {\n\t this.setElement((0, _lodash2.default)(this, 'el'), false);\n\t }\n\t };\n\t\n\t return UIObject;\n\t}(_base_object2.default);\n\n\texports.default = UIObject;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 16 */\n/*!************************************!*\\\n !*** ./src/components/mediator.js ***!\n \\************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * The mediator is a singleton for handling global events.\n\t */\n\t\n\tvar events = new _events2.default();\n\t\n\tvar Mediator = function Mediator() {\n\t _classCallCheck(this, Mediator);\n\t};\n\t\n\texports.default = Mediator;\n\t\n\t\n\tMediator.on = function (name, callback, context) {\n\t events.on(name, callback, context);\n\t return;\n\t};\n\t\n\tMediator.once = function (name, callback, context) {\n\t events.once(name, callback, context);\n\t return;\n\t};\n\t\n\tMediator.off = function (name, callback, context) {\n\t events.off(name, callback, context);\n\t return;\n\t};\n\t\n\tMediator.trigger = function (name, opts) {\n\t events.trigger.apply(events, Array.prototype.slice.call(arguments));\n\t return;\n\t};\n\t\n\tMediator.stopListening = function (obj, name, callback) {\n\t events.stopListening(obj, name, callback);\n\t return;\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 17 */\n/*!***********************************!*\\\n !*** (webpack)/buildin/module.js ***!\n \\***********************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tmodule.exports = function (module) {\n\t\tif (!module.webpackPolyfill) {\n\t\t\tmodule.deprecate = function () {};\n\t\t\tmodule.paths = [];\n\t\t\t// module.parent = undefined by default\n\t\t\tmodule.children = [];\n\t\t\tmodule.webpackPolyfill = 1;\n\t\t}\n\t\treturn module;\n\t};\n\n/***/ },\n/* 18 */\n/*!**************************************!*\\\n !*** ./src/base/container_plugin.js ***!\n \\**************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _base_object = __webpack_require__(/*! ./base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t/**\n\t * The base class for a container plugin\n\t * @class ContainerPlugin\n\t * @constructor\n\t * @extends UIObject\n\t * @module base\n\t */\n\t\n\tvar ContainerPlugin = function (_BaseObject) {\n\t _inherits(ContainerPlugin, _BaseObject);\n\t\n\t function ContainerPlugin(container) {\n\t _classCallCheck(this, ContainerPlugin);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this, container.options));\n\t\n\t _this.container = container;\n\t _this.enabled = true;\n\t _this.bindEvents();\n\t return _this;\n\t }\n\t\n\t /**\n\t * provides the read-only options to the container plugin\n\t * @property options\n\t * @type Object\n\t * @default \"`{}`\"\n\t */\n\t\n\t\n\t ContainerPlugin.prototype.enable = function enable() {\n\t if (!this.enabled) {\n\t this.bindEvents();\n\t this.enabled = true;\n\t }\n\t };\n\t\n\t ContainerPlugin.prototype.disable = function disable() {\n\t if (this.enabled) {\n\t this.stopListening();\n\t this.enabled = false;\n\t }\n\t };\n\t\n\t ContainerPlugin.prototype.bindEvents = function bindEvents() {};\n\t\n\t ContainerPlugin.prototype.destroy = function destroy() {\n\t this.stopListening();\n\t };\n\t\n\t _createClass(ContainerPlugin, [{\n\t key: 'options',\n\t get: function get() {\n\t return this.container && this.container.options || {};\n\t }\n\t }]);\n\t\n\t return ContainerPlugin;\n\t}(_base_object2.default);\n\t\n\texports.default = ContainerPlugin;\n\t\n\t\n\tContainerPlugin.extend = function (properties) {\n\t return (0, _utils.extend)(ContainerPlugin, properties);\n\t};\n\t\n\tContainerPlugin.type = 'container';\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 19 */\n/*!*********************************!*\\\n !*** ./src/base/core_plugin.js ***!\n \\*********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _base_object = __webpack_require__(/*! ./base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar CorePlugin = function (_BaseObject) {\n\t _inherits(CorePlugin, _BaseObject);\n\t\n\t function CorePlugin(core) {\n\t _classCallCheck(this, CorePlugin);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this, core));\n\t\n\t _this.core = core;\n\t _this.enabled = true;\n\t _this.bindEvents();\n\t return _this;\n\t }\n\t\n\t CorePlugin.prototype.bindEvents = function bindEvents() {};\n\t\n\t CorePlugin.prototype.enable = function enable() {\n\t if (!this.enabled) {\n\t this.bindEvents();\n\t this.enabled = true;\n\t }\n\t };\n\t\n\t CorePlugin.prototype.disable = function disable() {\n\t if (this.enabled) {\n\t this.stopListening();\n\t this.enabled = false;\n\t }\n\t };\n\t\n\t CorePlugin.prototype.getExternalInterface = function getExternalInterface() {\n\t return {};\n\t };\n\t\n\t CorePlugin.prototype.destroy = function destroy() {\n\t this.stopListening();\n\t };\n\t\n\t return CorePlugin;\n\t}(_base_object2.default);\n\t\n\texports.default = CorePlugin;\n\t\n\t\n\tCorePlugin.extend = function (properties) {\n\t return (0, _utils.extend)(CorePlugin, properties);\n\t};\n\t\n\tCorePlugin.type = 'core';\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 20 */\n/*!*****************************************!*\\\n !*** ./src/base/ui_container_plugin.js ***!\n \\*****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _ui_object = __webpack_require__(/*! ./ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * The base class for an ui container plugin\n\t * @class UIContainerPlugin\n\t * @constructor\n\t * @extends UIObject\n\t * @module base\n\t */\n\t\n\tvar UIContainerPlugin = function (_UIObject) {\n\t _inherits(UIContainerPlugin, _UIObject);\n\t\n\t function UIContainerPlugin(container) {\n\t _classCallCheck(this, UIContainerPlugin);\n\t\n\t var _this = _possibleConstructorReturn(this, _UIObject.call(this, container.options));\n\t\n\t _this.container = container;\n\t _this.enabled = true;\n\t _this.bindEvents();\n\t return _this;\n\t }\n\t\n\t /**\n\t * provides the read-only options to the ui container plugin\n\t * @property options\n\t * @type Object\n\t * @default \"`{}`\"\n\t */\n\t\n\t\n\t UIContainerPlugin.prototype.enable = function enable() {\n\t if (!this.enabled) {\n\t this.bindEvents();\n\t this.$el.show();\n\t this.enabled = true;\n\t }\n\t };\n\t\n\t UIContainerPlugin.prototype.disable = function disable() {\n\t this.stopListening();\n\t this.$el.hide();\n\t this.enabled = false;\n\t };\n\t\n\t UIContainerPlugin.prototype.bindEvents = function bindEvents() {};\n\t\n\t UIContainerPlugin.prototype.destroy = function destroy() {\n\t this.remove();\n\t };\n\t\n\t _createClass(UIContainerPlugin, [{\n\t key: 'options',\n\t get: function get() {\n\t return this.container && this.container.options || {};\n\t }\n\t }]);\n\t\n\t return UIContainerPlugin;\n\t}(_ui_object2.default);\n\t\n\texports.default = UIContainerPlugin;\n\t\n\t\n\tUIContainerPlugin.extend = function (properties) {\n\t return (0, _utils.extend)(UIContainerPlugin, properties);\n\t};\n\t\n\tUIContainerPlugin.type = 'container';\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 21 */\n/*!***************************************!*\\\n !*** ./src/components/player_info.js ***!\n \\***************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\t// Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar PlayerInfo = function PlayerInfo() {\n\t _classCallCheck(this, PlayerInfo);\n\t\n\t this.options = {};\n\t this.playbackPlugins = [];\n\t this.currentSize = { width: 0, height: 0 };\n\t};\n\t\n\tPlayerInfo._players = {};\n\t\n\tPlayerInfo.getInstance = function (playerId) {\n\t return PlayerInfo._players[playerId] || (PlayerInfo._players[playerId] = new PlayerInfo());\n\t};\n\t\n\texports.default = PlayerInfo;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 22 */\n/*!********************************************!*\\\n !*** ./src/playbacks/html5_video/index.js ***!\n \\********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./html5_video */ 103);\n\n/***/ },\n/* 23 */\n/*!************************************!*\\\n !*** ./src/base/ui_core_plugin.js ***!\n \\************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _utils = __webpack_require__(/*! ./utils */ 2);\n\t\n\tvar _ui_object = __webpack_require__(/*! ./ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar UICorePlugin = function (_UIObject) {\n\t _inherits(UICorePlugin, _UIObject);\n\t\n\t function UICorePlugin(core) {\n\t _classCallCheck(this, UICorePlugin);\n\t\n\t var _this = _possibleConstructorReturn(this, _UIObject.call(this, core));\n\t\n\t _this.core = core;\n\t _this.enabled = true;\n\t _this.bindEvents();\n\t _this.render();\n\t return _this;\n\t }\n\t\n\t UICorePlugin.prototype.bindEvents = function bindEvents() {};\n\t\n\t UICorePlugin.prototype.getExternalInterface = function getExternalInterface() {\n\t return {};\n\t };\n\t\n\t UICorePlugin.prototype.enable = function enable() {\n\t if (!this.enabled) {\n\t this.bindEvents();\n\t this.$el.show();\n\t this.enabled = true;\n\t }\n\t };\n\t\n\t UICorePlugin.prototype.disable = function disable() {\n\t this.stopListening();\n\t this.$el.hide();\n\t this.enabled = false;\n\t };\n\t\n\t UICorePlugin.prototype.destroy = function destroy() {\n\t this.remove();\n\t };\n\t\n\t UICorePlugin.prototype.render = function render() {\n\t return this;\n\t };\n\t\n\t return UICorePlugin;\n\t}(_ui_object2.default);\n\t\n\texports.default = UICorePlugin;\n\t\n\t\n\tUICorePlugin.extend = function (properties) {\n\t return (0, _utils.extend)(UICorePlugin, properties);\n\t};\n\t\n\tUICorePlugin.type = 'core';\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 24 */\n/*!****************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/index.js ***!\n \\****************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = __webpack_require__(/*! ./base_flash_playback */ 97);\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 25 */\n/*!**********************************!*\\\n !*** ./src/plugins/log/index.js ***!\n \\**********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./log */ 115);\n\n/***/ },\n/* 26 */\n/*!****************************!*\\\n !*** ./~/events/events.js ***!\n \\****************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\tfunction EventEmitter() {\n\t this._events = this._events || {};\n\t this._maxListeners = this._maxListeners || undefined;\n\t}\n\tmodule.exports = EventEmitter;\n\t\n\t// Backwards-compat with node 0.10.x\n\tEventEmitter.EventEmitter = EventEmitter;\n\t\n\tEventEmitter.prototype._events = undefined;\n\tEventEmitter.prototype._maxListeners = undefined;\n\t\n\t// By default EventEmitters will print a warning if more than 10 listeners are\n\t// added to it. This is a useful default which helps finding memory leaks.\n\tEventEmitter.defaultMaxListeners = 10;\n\t\n\t// Obviously not all Emitters should be limited to 10. This function allows\n\t// that to be increased. Set to zero for unlimited.\n\tEventEmitter.prototype.setMaxListeners = function (n) {\n\t if (!isNumber(n) || n < 0 || isNaN(n)) throw TypeError('n must be a positive number');\n\t this._maxListeners = n;\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.emit = function (type) {\n\t var er, handler, len, args, i, listeners;\n\t\n\t if (!this._events) this._events = {};\n\t\n\t // If there is no 'error' event listener then throw.\n\t if (type === 'error') {\n\t if (!this._events.error || isObject(this._events.error) && !this._events.error.length) {\n\t er = arguments[1];\n\t if (er instanceof Error) {\n\t throw er; // Unhandled 'error' event\n\t }\n\t throw TypeError('Uncaught, unspecified \"error\" event.');\n\t }\n\t }\n\t\n\t handler = this._events[type];\n\t\n\t if (isUndefined(handler)) return false;\n\t\n\t if (isFunction(handler)) {\n\t switch (arguments.length) {\n\t // fast cases\n\t case 1:\n\t handler.call(this);\n\t break;\n\t case 2:\n\t handler.call(this, arguments[1]);\n\t break;\n\t case 3:\n\t handler.call(this, arguments[1], arguments[2]);\n\t break;\n\t // slower\n\t default:\n\t args = Array.prototype.slice.call(arguments, 1);\n\t handler.apply(this, args);\n\t }\n\t } else if (isObject(handler)) {\n\t args = Array.prototype.slice.call(arguments, 1);\n\t listeners = handler.slice();\n\t len = listeners.length;\n\t for (i = 0; i < len; i++) {\n\t listeners[i].apply(this, args);\n\t }\n\t }\n\t\n\t return true;\n\t};\n\t\n\tEventEmitter.prototype.addListener = function (type, listener) {\n\t var m;\n\t\n\t if (!isFunction(listener)) throw TypeError('listener must be a function');\n\t\n\t if (!this._events) this._events = {};\n\t\n\t // To avoid recursion in the case that type === \"newListener\"! Before\n\t // adding it to the listeners, first emit \"newListener\".\n\t if (this._events.newListener) this.emit('newListener', type, isFunction(listener.listener) ? listener.listener : listener);\n\t\n\t if (!this._events[type])\n\t // Optimize the case of one listener. Don't need the extra array object.\n\t this._events[type] = listener;else if (isObject(this._events[type]))\n\t // If we've already got an array, just append.\n\t this._events[type].push(listener);else\n\t // Adding the second element, need to change to array.\n\t this._events[type] = [this._events[type], listener];\n\t\n\t // Check for listener leak\n\t if (isObject(this._events[type]) && !this._events[type].warned) {\n\t if (!isUndefined(this._maxListeners)) {\n\t m = this._maxListeners;\n\t } else {\n\t m = EventEmitter.defaultMaxListeners;\n\t }\n\t\n\t if (m && m > 0 && this._events[type].length > m) {\n\t this._events[type].warned = true;\n\t console.error('(node) warning: possible EventEmitter memory ' + 'leak detected. %d listeners added. ' + 'Use emitter.setMaxListeners() to increase limit.', this._events[type].length);\n\t if (typeof console.trace === 'function') {\n\t // not supported in IE 10\n\t console.trace();\n\t }\n\t }\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\t\n\tEventEmitter.prototype.once = function (type, listener) {\n\t if (!isFunction(listener)) throw TypeError('listener must be a function');\n\t\n\t var fired = false;\n\t\n\t function g() {\n\t this.removeListener(type, g);\n\t\n\t if (!fired) {\n\t fired = true;\n\t listener.apply(this, arguments);\n\t }\n\t }\n\t\n\t g.listener = listener;\n\t this.on(type, g);\n\t\n\t return this;\n\t};\n\t\n\t// emits a 'removeListener' event iff the listener was removed\n\tEventEmitter.prototype.removeListener = function (type, listener) {\n\t var list, position, length, i;\n\t\n\t if (!isFunction(listener)) throw TypeError('listener must be a function');\n\t\n\t if (!this._events || !this._events[type]) return this;\n\t\n\t list = this._events[type];\n\t length = list.length;\n\t position = -1;\n\t\n\t if (list === listener || isFunction(list.listener) && list.listener === listener) {\n\t delete this._events[type];\n\t if (this._events.removeListener) this.emit('removeListener', type, listener);\n\t } else if (isObject(list)) {\n\t for (i = length; i-- > 0;) {\n\t if (list[i] === listener || list[i].listener && list[i].listener === listener) {\n\t position = i;\n\t break;\n\t }\n\t }\n\t\n\t if (position < 0) return this;\n\t\n\t if (list.length === 1) {\n\t list.length = 0;\n\t delete this._events[type];\n\t } else {\n\t list.splice(position, 1);\n\t }\n\t\n\t if (this._events.removeListener) this.emit('removeListener', type, listener);\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.removeAllListeners = function (type) {\n\t var key, listeners;\n\t\n\t if (!this._events) return this;\n\t\n\t // not listening for removeListener, no need to emit\n\t if (!this._events.removeListener) {\n\t if (arguments.length === 0) this._events = {};else if (this._events[type]) delete this._events[type];\n\t return this;\n\t }\n\t\n\t // emit removeListener for all listeners on all events\n\t if (arguments.length === 0) {\n\t for (key in this._events) {\n\t if (key === 'removeListener') continue;\n\t this.removeAllListeners(key);\n\t }\n\t this.removeAllListeners('removeListener');\n\t this._events = {};\n\t return this;\n\t }\n\t\n\t listeners = this._events[type];\n\t\n\t if (isFunction(listeners)) {\n\t this.removeListener(type, listeners);\n\t } else if (listeners) {\n\t // LIFO order\n\t while (listeners.length) {\n\t this.removeListener(type, listeners[listeners.length - 1]);\n\t }\n\t }\n\t delete this._events[type];\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.listeners = function (type) {\n\t var ret;\n\t if (!this._events || !this._events[type]) ret = [];else if (isFunction(this._events[type])) ret = [this._events[type]];else ret = this._events[type].slice();\n\t return ret;\n\t};\n\t\n\tEventEmitter.prototype.listenerCount = function (type) {\n\t if (this._events) {\n\t var evlistener = this._events[type];\n\t\n\t if (isFunction(evlistener)) return 1;else if (evlistener) return evlistener.length;\n\t }\n\t return 0;\n\t};\n\t\n\tEventEmitter.listenerCount = function (emitter, type) {\n\t return emitter.listenerCount(type);\n\t};\n\t\n\tfunction isFunction(arg) {\n\t return typeof arg === 'function';\n\t}\n\t\n\tfunction isNumber(arg) {\n\t return typeof arg === 'number';\n\t}\n\t\n\tfunction isObject(arg) {\n\t return (typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && arg !== null;\n\t}\n\t\n\tfunction isUndefined(arg) {\n\t return arg === void 0;\n\t}\n\n/***/ },\n/* 27 */\n/*!************************************!*\\\n !*** ./~/hls.js/lib/demux/adts.js ***!\n \\************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * ADTS parser helper\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar ADTS = function () {\n\t function ADTS() {\n\t _classCallCheck(this, ADTS);\n\t }\n\t\n\t _createClass(ADTS, null, [{\n\t key: 'getAudioConfig',\n\t value: function getAudioConfig(observer, data, offset, audioCodec) {\n\t var adtsObjectType,\n\t\n\t // :int\n\t adtsSampleingIndex,\n\t\n\t // :int\n\t adtsExtensionSampleingIndex,\n\t\n\t // :int\n\t adtsChanelConfig,\n\t\n\t // :int\n\t config,\n\t userAgent = navigator.userAgent.toLowerCase(),\n\t adtsSampleingRates = [96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350];\n\t // byte 2\n\t adtsObjectType = ((data[offset + 2] & 0xC0) >>> 6) + 1;\n\t adtsSampleingIndex = (data[offset + 2] & 0x3C) >>> 2;\n\t if (adtsSampleingIndex > adtsSampleingRates.length - 1) {\n\t observer.trigger(Event.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_PARSING_ERROR, fatal: true, reason: 'invalid ADTS sampling index:' + adtsSampleingIndex });\n\t return;\n\t }\n\t adtsChanelConfig = (data[offset + 2] & 0x01) << 2;\n\t // byte 3\n\t adtsChanelConfig |= (data[offset + 3] & 0xC0) >>> 6;\n\t _logger.logger.log('manifest codec:' + audioCodec + ',ADTS data:type:' + adtsObjectType + ',sampleingIndex:' + adtsSampleingIndex + '[' + adtsSampleingRates[adtsSampleingIndex] + 'Hz],channelConfig:' + adtsChanelConfig);\n\t // firefox: freq less than 24kHz = AAC SBR (HE-AAC)\n\t if (userAgent.indexOf('firefox') !== -1) {\n\t if (adtsSampleingIndex >= 6) {\n\t adtsObjectType = 5;\n\t config = new Array(4);\n\t // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies\n\t // there is a factor 2 between frame sample rate and output sample rate\n\t // multiply frequency by 2 (see table below, equivalent to substract 3)\n\t adtsExtensionSampleingIndex = adtsSampleingIndex - 3;\n\t } else {\n\t adtsObjectType = 2;\n\t config = new Array(2);\n\t adtsExtensionSampleingIndex = adtsSampleingIndex;\n\t }\n\t // Android : always use AAC\n\t } else if (userAgent.indexOf('android') !== -1) {\n\t adtsObjectType = 2;\n\t config = new Array(2);\n\t adtsExtensionSampleingIndex = adtsSampleingIndex;\n\t } else {\n\t /* for other browsers (chrome ...)\n\t always force audio type to be HE-AAC SBR, as some browsers do not support audio codec switch properly (like Chrome ...)\n\t */\n\t adtsObjectType = 5;\n\t config = new Array(4);\n\t // if (manifest codec is HE-AAC or HE-AACv2) OR (manifest codec not specified AND frequency less than 24kHz)\n\t if (audioCodec && (audioCodec.indexOf('mp4a.40.29') !== -1 || audioCodec.indexOf('mp4a.40.5') !== -1) || !audioCodec && adtsSampleingIndex >= 6) {\n\t // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies\n\t // there is a factor 2 between frame sample rate and output sample rate\n\t // multiply frequency by 2 (see table below, equivalent to substract 3)\n\t adtsExtensionSampleingIndex = adtsSampleingIndex - 3;\n\t } else {\n\t // if (manifest codec is AAC) AND (frequency less than 24kHz AND nb channel is 1) OR (manifest codec not specified and mono audio)\n\t // Chrome fails to play back with low frequency AAC LC mono when initialized with HE-AAC. This is not a problem with stereo.\n\t if (audioCodec && audioCodec.indexOf('mp4a.40.2') !== -1 && adtsSampleingIndex >= 6 && adtsChanelConfig === 1 || !audioCodec && adtsChanelConfig === 1) {\n\t adtsObjectType = 2;\n\t config = new Array(2);\n\t }\n\t adtsExtensionSampleingIndex = adtsSampleingIndex;\n\t }\n\t }\n\t /* refer to http://wiki.multimedia.cx/index.php?title=MPEG-4_Audio#Audio_Specific_Config\n\t ISO 14496-3 (AAC).pdf - Table 1.13 — Syntax of AudioSpecificConfig()\n\t Audio Profile / Audio Object Type\n\t 0: Null\n\t 1: AAC Main\n\t 2: AAC LC (Low Complexity)\n\t 3: AAC SSR (Scalable Sample Rate)\n\t 4: AAC LTP (Long Term Prediction)\n\t 5: SBR (Spectral Band Replication)\n\t 6: AAC Scalable\n\t sampling freq\n\t 0: 96000 Hz\n\t 1: 88200 Hz\n\t 2: 64000 Hz\n\t 3: 48000 Hz\n\t 4: 44100 Hz\n\t 5: 32000 Hz\n\t 6: 24000 Hz\n\t 7: 22050 Hz\n\t 8: 16000 Hz\n\t 9: 12000 Hz\n\t 10: 11025 Hz\n\t 11: 8000 Hz\n\t 12: 7350 Hz\n\t 13: Reserved\n\t 14: Reserved\n\t 15: frequency is written explictly\n\t Channel Configurations\n\t These are the channel configurations:\n\t 0: Defined in AOT Specifc Config\n\t 1: 1 channel: front-center\n\t 2: 2 channels: front-left, front-right\n\t */\n\t // audioObjectType = profile => profile, the MPEG-4 Audio Object Type minus 1\n\t config[0] = adtsObjectType << 3;\n\t // samplingFrequencyIndex\n\t config[0] |= (adtsSampleingIndex & 0x0E) >> 1;\n\t config[1] |= (adtsSampleingIndex & 0x01) << 7;\n\t // channelConfiguration\n\t config[1] |= adtsChanelConfig << 3;\n\t if (adtsObjectType === 5) {\n\t // adtsExtensionSampleingIndex\n\t config[1] |= (adtsExtensionSampleingIndex & 0x0E) >> 1;\n\t config[2] = (adtsExtensionSampleingIndex & 0x01) << 7;\n\t // adtsObjectType (force to 2, chrome is checking that object type is less than 5 ???\n\t // https://chromium.googlesource.com/chromium/src.git/+/master/media/formats/mp4/aac.cc\n\t config[2] |= 2 << 2;\n\t config[3] = 0;\n\t }\n\t return { config: config, samplerate: adtsSampleingRates[adtsSampleingIndex], channelCount: adtsChanelConfig, codec: 'mp4a.40.' + adtsObjectType };\n\t }\n\t }]);\n\t\n\t return ADTS;\n\t}();\n\t\n\texports.default = ADTS;\n\n/***/ },\n/* 28 */\n/*!**********************************************!*\\\n !*** ./~/hls.js/lib/demux/demuxer-inline.js ***!\n \\**********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /* inline demuxer.\n\t * probe fragments and instantiate appropriate demuxer depending on content type (TSDemuxer, AACDemuxer, ...)\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tvar _aacdemuxer = __webpack_require__(/*! ../demux/aacdemuxer */ 55);\n\t\n\tvar _aacdemuxer2 = _interopRequireDefault(_aacdemuxer);\n\t\n\tvar _tsdemuxer = __webpack_require__(/*! ../demux/tsdemuxer */ 60);\n\t\n\tvar _tsdemuxer2 = _interopRequireDefault(_tsdemuxer);\n\t\n\tvar _mp4Remuxer = __webpack_require__(/*! ../remux/mp4-remuxer */ 68);\n\t\n\tvar _mp4Remuxer2 = _interopRequireDefault(_mp4Remuxer);\n\t\n\tvar _passthroughRemuxer = __webpack_require__(/*! ../remux/passthrough-remuxer */ 69);\n\t\n\tvar _passthroughRemuxer2 = _interopRequireDefault(_passthroughRemuxer);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar DemuxerInline = function () {\n\t function DemuxerInline(hls, typeSupported) {\n\t _classCallCheck(this, DemuxerInline);\n\t\n\t this.hls = hls;\n\t this.typeSupported = typeSupported;\n\t }\n\t\n\t _createClass(DemuxerInline, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t var demuxer = this.demuxer;\n\t if (demuxer) {\n\t demuxer.destroy();\n\t }\n\t }\n\t }, {\n\t key: 'push',\n\t value: function push(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration) {\n\t var demuxer = this.demuxer;\n\t if (!demuxer) {\n\t var hls = this.hls;\n\t // probe for content type\n\t if (_tsdemuxer2.default.probe(data)) {\n\t if (this.typeSupported.mp2t === true) {\n\t demuxer = new _tsdemuxer2.default(hls, _passthroughRemuxer2.default);\n\t } else {\n\t demuxer = new _tsdemuxer2.default(hls, _mp4Remuxer2.default);\n\t }\n\t } else if (_aacdemuxer2.default.probe(data)) {\n\t demuxer = new _aacdemuxer2.default(hls, _mp4Remuxer2.default);\n\t } else {\n\t hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_PARSING_ERROR, fatal: true, reason: 'no demux matching with content found' });\n\t return;\n\t }\n\t this.demuxer = demuxer;\n\t }\n\t demuxer.push(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration);\n\t }\n\t }]);\n\t\n\t return DemuxerInline;\n\t}();\n\t\n\texports.default = DemuxerInline;\n\n/***/ },\n/* 29 */\n/*!**********************************************!*\\\n !*** ./~/hls.js/lib/helper/buffer-helper.js ***!\n \\**********************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t/**\n\t * Buffer Helper class, providing methods dealing buffer length retrieval\n\t*/\n\t\n\tvar BufferHelper = function () {\n\t function BufferHelper() {\n\t _classCallCheck(this, BufferHelper);\n\t }\n\t\n\t _createClass(BufferHelper, null, [{\n\t key: \"bufferInfo\",\n\t value: function bufferInfo(media, pos, maxHoleDuration) {\n\t if (media) {\n\t var vbuffered = media.buffered,\n\t buffered = [],\n\t i;\n\t for (i = 0; i < vbuffered.length; i++) {\n\t buffered.push({ start: vbuffered.start(i), end: vbuffered.end(i) });\n\t }\n\t return this.bufferedInfo(buffered, pos, maxHoleDuration);\n\t } else {\n\t return { len: 0, start: 0, end: 0, nextStart: undefined };\n\t }\n\t }\n\t }, {\n\t key: \"bufferedInfo\",\n\t value: function bufferedInfo(buffered, pos, maxHoleDuration) {\n\t var buffered2 = [],\n\t\n\t\n\t // bufferStart and bufferEnd are buffer boundaries around current video position\n\t bufferLen,\n\t bufferStart,\n\t bufferEnd,\n\t bufferStartNext,\n\t i;\n\t // sort on buffer.start/smaller end (IE does not always return sorted buffered range)\n\t buffered.sort(function (a, b) {\n\t var diff = a.start - b.start;\n\t if (diff) {\n\t return diff;\n\t } else {\n\t return b.end - a.end;\n\t }\n\t });\n\t // there might be some small holes between buffer time range\n\t // consider that holes smaller than maxHoleDuration are irrelevant and build another\n\t // buffer time range representations that discards those holes\n\t for (i = 0; i < buffered.length; i++) {\n\t var buf2len = buffered2.length;\n\t if (buf2len) {\n\t var buf2end = buffered2[buf2len - 1].end;\n\t // if small hole (value between 0 or maxHoleDuration ) or overlapping (negative)\n\t if (buffered[i].start - buf2end < maxHoleDuration) {\n\t // merge overlapping time ranges\n\t // update lastRange.end only if smaller than item.end\n\t // e.g. [ 1, 15] with [ 2,8] => [ 1,15] (no need to modify lastRange.end)\n\t // whereas [ 1, 8] with [ 2,15] => [ 1,15] ( lastRange should switch from [1,8] to [1,15])\n\t if (buffered[i].end > buf2end) {\n\t buffered2[buf2len - 1].end = buffered[i].end;\n\t }\n\t } else {\n\t // big hole\n\t buffered2.push(buffered[i]);\n\t }\n\t } else {\n\t // first value\n\t buffered2.push(buffered[i]);\n\t }\n\t }\n\t for (i = 0, bufferLen = 0, bufferStart = bufferEnd = pos; i < buffered2.length; i++) {\n\t var start = buffered2[i].start,\n\t end = buffered2[i].end;\n\t //logger.log('buf start/end:' + buffered.start(i) + '/' + buffered.end(i));\n\t if (pos + maxHoleDuration >= start && pos < end) {\n\t // play position is inside this buffer TimeRange, retrieve end of buffer position and buffer length\n\t bufferStart = start;\n\t bufferEnd = end;\n\t bufferLen = bufferEnd - pos;\n\t } else if (pos + maxHoleDuration < start) {\n\t bufferStartNext = start;\n\t break;\n\t }\n\t }\n\t return { len: bufferLen, start: bufferStart, end: bufferEnd, nextStart: bufferStartNext };\n\t }\n\t }]);\n\t\n\t return BufferHelper;\n\t}();\n\t\n\texports.default = BufferHelper;\n\n/***/ },\n/* 30 */\n/*!*****************************************!*\\\n !*** ./~/lodash._baseiteratee/index.js ***!\n \\*****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(module, global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.5.2 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** Used as the size to enable large array optimizations. */\n\tvar LARGE_ARRAY_SIZE = 200;\n\t\n\t/** Used to stand-in for `undefined` hash values. */\n\tvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\t\n\t/** Used to compose bitmasks for comparison styles. */\n\tvar UNORDERED_COMPARE_FLAG = 1,\n\t PARTIAL_COMPARE_FLAG = 2;\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0,\n\t MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/** `Object#toString` result references. */\n\tvar argsTag = '[object Arguments]',\n\t arrayTag = '[object Array]',\n\t boolTag = '[object Boolean]',\n\t dateTag = '[object Date]',\n\t errorTag = '[object Error]',\n\t funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]',\n\t mapTag = '[object Map]',\n\t numberTag = '[object Number]',\n\t objectTag = '[object Object]',\n\t regexpTag = '[object RegExp]',\n\t setTag = '[object Set]',\n\t stringTag = '[object String]',\n\t symbolTag = '[object Symbol]',\n\t weakMapTag = '[object WeakMap]';\n\t\n\tvar arrayBufferTag = '[object ArrayBuffer]',\n\t float32Tag = '[object Float32Array]',\n\t float64Tag = '[object Float64Array]',\n\t int8Tag = '[object Int8Array]',\n\t int16Tag = '[object Int16Array]',\n\t int32Tag = '[object Int32Array]',\n\t uint8Tag = '[object Uint8Array]',\n\t uint8ClampedTag = '[object Uint8ClampedArray]',\n\t uint16Tag = '[object Uint16Array]',\n\t uint32Tag = '[object Uint32Array]';\n\t\n\t/** Used to match property names within property paths. */\n\tvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n\t reIsPlainProp = /^\\w*$/,\n\t rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g;\n\t\n\t/** Used to match `RegExp` [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns). */\n\tvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\t\n\t/** Used to match backslashes in property paths. */\n\tvar reEscapeChar = /\\\\(\\\\)?/g;\n\t\n\t/** Used to detect host constructors (Safari > 5). */\n\tvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t/** Used to detect unsigned integer values. */\n\tvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\t\n\t/** Used to identify `toStringTag` values of typed arrays. */\n\tvar typedArrayTags = {};\n\ttypedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;\n\ttypedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n\t\n\t/** Used to determine if values are of the language type `Object`. */\n\tvar objectTypes = {\n\t 'function': true,\n\t 'object': true\n\t};\n\t\n\t/** Detect free variable `exports`. */\n\tvar freeExports = objectTypes[ false ? 'undefined' : _typeof(exports)] && exports && !exports.nodeType ? exports : undefined;\n\t\n\t/** Detect free variable `module`. */\n\tvar freeModule = objectTypes[ false ? 'undefined' : _typeof(module)] && module && !module.nodeType ? module : undefined;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = checkGlobal(freeExports && freeModule && (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global);\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = checkGlobal(objectTypes[typeof self === 'undefined' ? 'undefined' : _typeof(self)] && self);\n\t\n\t/** Detect free variable `window`. */\n\tvar freeWindow = checkGlobal(objectTypes[typeof window === 'undefined' ? 'undefined' : _typeof(window)] && window);\n\t\n\t/** Detect `this` as the global object. */\n\tvar thisGlobal = checkGlobal(objectTypes[_typeof(undefined)] && undefined);\n\t\n\t/**\n\t * Used as a reference to the global object.\n\t *\n\t * The `this` value is used if it's the global object to avoid Greasemonkey's\n\t * restricted `window` object, otherwise the `window` object is used.\n\t */\n\tvar root = freeGlobal || freeWindow !== (thisGlobal && thisGlobal.window) && freeWindow || freeSelf || thisGlobal || Function('return this')();\n\t\n\t/**\n\t * A specialized version of `_.map` for arrays without support for iteratee\n\t * shorthands.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the new mapped array.\n\t */\n\tfunction arrayMap(array, iteratee) {\n\t var index = -1,\n\t length = array.length,\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = iteratee(array[index], index, array);\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * A specialized version of `_.some` for arrays without support for iteratee\n\t * shorthands.\n\t *\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {boolean} Returns `true` if any element passes the predicate check, else `false`.\n\t */\n\tfunction arraySome(array, predicate) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (predicate(array[index], index, array)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.times` without support for iteratee shorthands\n\t * or max array length checks.\n\t *\n\t * @private\n\t * @param {number} n The number of times to invoke `iteratee`.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the array of results.\n\t */\n\tfunction baseTimes(n, iteratee) {\n\t var index = -1,\n\t result = Array(n);\n\t\n\t while (++index < n) {\n\t result[index] = iteratee(index);\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n\t * of key-value pairs for `object` corresponding to the property names of `props`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array} props The property names to get values for.\n\t * @returns {Object} Returns the new array of key-value pairs.\n\t */\n\tfunction baseToPairs(object, props) {\n\t return arrayMap(props, function (key) {\n\t return [key, object[key]];\n\t });\n\t}\n\t\n\t/**\n\t * Checks if `value` is a global object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {null|Object} Returns `value` if it's a global object, else `null`.\n\t */\n\tfunction checkGlobal(value) {\n\t return value && value.Object === Object ? value : null;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a host object in IE < 9.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n\t */\n\tfunction isHostObject(value) {\n\t // Many host objects are `Object` objects that can coerce to strings\n\t // despite having improperly defined `toString` methods.\n\t var result = false;\n\t if (value != null && typeof value.toString != 'function') {\n\t try {\n\t result = !!(value + '');\n\t } catch (e) {}\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\tfunction isIndex(value, length) {\n\t value = typeof value == 'number' || reIsUint.test(value) ? +value : -1;\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return value > -1 && value % 1 == 0 && value < length;\n\t}\n\t\n\t/**\n\t * Converts `map` to an array.\n\t *\n\t * @private\n\t * @param {Object} map The map to convert.\n\t * @returns {Array} Returns the converted array.\n\t */\n\tfunction mapToArray(map) {\n\t var index = -1,\n\t result = Array(map.size);\n\t\n\t map.forEach(function (value, key) {\n\t result[++index] = [key, value];\n\t });\n\t return result;\n\t}\n\t\n\t/**\n\t * Converts `set` to an array.\n\t *\n\t * @private\n\t * @param {Object} set The set to convert.\n\t * @returns {Array} Returns the converted array.\n\t */\n\tfunction setToArray(set) {\n\t var index = -1,\n\t result = Array(set.size);\n\t\n\t set.forEach(function (value) {\n\t result[++index] = value;\n\t });\n\t return result;\n\t}\n\t\n\t/** Used for built-in method references. */\n\tvar arrayProto = Array.prototype,\n\t objectProto = Object.prototype;\n\t\n\t/** Used to resolve the decompiled source of functions. */\n\tvar funcToString = Function.prototype.toString;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Used to detect if a method is native. */\n\tvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n\t\n\t/** Built-in value references. */\n\tvar _Symbol = root.Symbol,\n\t Uint8Array = root.Uint8Array,\n\t getPrototypeOf = Object.getPrototypeOf,\n\t propertyIsEnumerable = objectProto.propertyIsEnumerable,\n\t splice = arrayProto.splice;\n\t\n\t/* Built-in method references for those with the same name as other `lodash` methods. */\n\tvar nativeKeys = Object.keys;\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar Map = getNative(root, 'Map'),\n\t Set = getNative(root, 'Set'),\n\t WeakMap = getNative(root, 'WeakMap'),\n\t nativeCreate = getNative(Object, 'create');\n\t\n\t/** Used to detect maps, sets, and weakmaps. */\n\tvar mapCtorString = Map ? funcToString.call(Map) : '',\n\t setCtorString = Set ? funcToString.call(Set) : '',\n\t weakMapCtorString = WeakMap ? funcToString.call(WeakMap) : '';\n\t\n\t/** Used to convert symbols to primitives and strings. */\n\tvar symbolProto = _Symbol ? _Symbol.prototype : undefined,\n\t symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n\t symbolToString = symbolProto ? symbolProto.toString : undefined;\n\t\n\t/**\n\t * Creates an hash object.\n\t *\n\t * @private\n\t * @constructor\n\t * @returns {Object} Returns the new hash object.\n\t */\n\tfunction Hash() {}\n\t\n\t/**\n\t * Removes `key` and its value from the hash.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to modify.\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction hashDelete(hash, key) {\n\t return hashHas(hash, key) && delete hash[key];\n\t}\n\t\n\t/**\n\t * Gets the hash value for `key`.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to query.\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction hashGet(hash, key) {\n\t if (nativeCreate) {\n\t var result = hash[key];\n\t return result === HASH_UNDEFINED ? undefined : result;\n\t }\n\t return hasOwnProperty.call(hash, key) ? hash[key] : undefined;\n\t}\n\t\n\t/**\n\t * Checks if a hash value for `key` exists.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to query.\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction hashHas(hash, key) {\n\t return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);\n\t}\n\t\n\t/**\n\t * Sets the hash `key` to `value`.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to modify.\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t */\n\tfunction hashSet(hash, key, value) {\n\t hash[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n\t}\n\t\n\t/**\n\t * Creates a map cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [values] The values to cache.\n\t */\n\tfunction MapCache(values) {\n\t var index = -1,\n\t length = values ? values.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = values[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t/**\n\t * Removes all key-value entries from the map.\n\t *\n\t * @private\n\t * @name clear\n\t * @memberOf MapCache\n\t */\n\tfunction mapClear() {\n\t this.__data__ = {\n\t 'hash': new Hash(),\n\t 'map': Map ? new Map() : [],\n\t 'string': new Hash()\n\t };\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the map.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction mapDelete(key) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t return hashDelete(typeof key == 'string' ? data.string : data.hash, key);\n\t }\n\t return Map ? data.map['delete'](key) : assocDelete(data.map, key);\n\t}\n\t\n\t/**\n\t * Gets the map value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction mapGet(key) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t return hashGet(typeof key == 'string' ? data.string : data.hash, key);\n\t }\n\t return Map ? data.map.get(key) : assocGet(data.map, key);\n\t}\n\t\n\t/**\n\t * Checks if a map value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf MapCache\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction mapHas(key) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t return hashHas(typeof key == 'string' ? data.string : data.hash, key);\n\t }\n\t return Map ? data.map.has(key) : assocHas(data.map, key);\n\t}\n\t\n\t/**\n\t * Sets the map `key` to `value`.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns the map cache object.\n\t */\n\tfunction mapSet(key, value) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t hashSet(typeof key == 'string' ? data.string : data.hash, key, value);\n\t } else if (Map) {\n\t data.map.set(key, value);\n\t } else {\n\t assocSet(data.map, key, value);\n\t }\n\t return this;\n\t}\n\t\n\t/**\n\t * Creates a stack cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [values] The values to cache.\n\t */\n\tfunction Stack(values) {\n\t var index = -1,\n\t length = values ? values.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = values[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t/**\n\t * Removes all key-value entries from the stack.\n\t *\n\t * @private\n\t * @name clear\n\t * @memberOf Stack\n\t */\n\tfunction stackClear() {\n\t this.__data__ = { 'array': [], 'map': null };\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the stack.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf Stack\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction stackDelete(key) {\n\t var data = this.__data__,\n\t array = data.array;\n\t\n\t return array ? assocDelete(array, key) : data.map['delete'](key);\n\t}\n\t\n\t/**\n\t * Gets the stack value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf Stack\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction stackGet(key) {\n\t var data = this.__data__,\n\t array = data.array;\n\t\n\t return array ? assocGet(array, key) : data.map.get(key);\n\t}\n\t\n\t/**\n\t * Checks if a stack value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf Stack\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction stackHas(key) {\n\t var data = this.__data__,\n\t array = data.array;\n\t\n\t return array ? assocHas(array, key) : data.map.has(key);\n\t}\n\t\n\t/**\n\t * Sets the stack `key` to `value`.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf Stack\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns the stack cache object.\n\t */\n\tfunction stackSet(key, value) {\n\t var data = this.__data__,\n\t array = data.array;\n\t\n\t if (array) {\n\t if (array.length < LARGE_ARRAY_SIZE - 1) {\n\t assocSet(array, key, value);\n\t } else {\n\t data.array = null;\n\t data.map = new MapCache(array);\n\t }\n\t }\n\t var map = data.map;\n\t if (map) {\n\t map.set(key, value);\n\t }\n\t return this;\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the associative array.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction assocDelete(array, key) {\n\t var index = assocIndexOf(array, key);\n\t if (index < 0) {\n\t return false;\n\t }\n\t var lastIndex = array.length - 1;\n\t if (index == lastIndex) {\n\t array.pop();\n\t } else {\n\t splice.call(array, index, 1);\n\t }\n\t return true;\n\t}\n\t\n\t/**\n\t * Gets the associative array value for `key`.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction assocGet(array, key) {\n\t var index = assocIndexOf(array, key);\n\t return index < 0 ? undefined : array[index][1];\n\t}\n\t\n\t/**\n\t * Checks if an associative array value for `key` exists.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction assocHas(array, key) {\n\t return assocIndexOf(array, key) > -1;\n\t}\n\t\n\t/**\n\t * Gets the index at which the first occurrence of `key` is found in `array`\n\t * of key-value pairs.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} key The key to search for.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction assocIndexOf(array, key) {\n\t var length = array.length;\n\t while (length--) {\n\t if (eq(array[length][0], key)) {\n\t return length;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\t/**\n\t * Sets the associative array `key` to `value`.\n\t *\n\t * @private\n\t * @param {Array} array The array to modify.\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t */\n\tfunction assocSet(array, key, value) {\n\t var index = assocIndexOf(array, key);\n\t if (index < 0) {\n\t array.push([key, value]);\n\t } else {\n\t array[index][1] = value;\n\t }\n\t}\n\t\n\t/**\n\t * Casts `value` to a path array if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @returns {Array} Returns the cast property path array.\n\t */\n\tfunction baseCastPath(value) {\n\t return isArray(value) ? value : stringToPath(value);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.get` without support for default values.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {*} Returns the resolved value.\n\t */\n\tfunction baseGet(object, path) {\n\t path = isKey(path, object) ? [path + ''] : baseCastPath(path);\n\t\n\t var index = 0,\n\t length = path.length;\n\t\n\t while (object != null && index < length) {\n\t object = object[path[index++]];\n\t }\n\t return index && index == length ? object : undefined;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.has` without support for deep paths.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} key The key to check.\n\t * @returns {boolean} Returns `true` if `key` exists, else `false`.\n\t */\n\tfunction baseHas(object, key) {\n\t // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,\n\t // that are composed entirely of index properties, return `false` for\n\t // `hasOwnProperty` checks of them.\n\t return hasOwnProperty.call(object, key) || (typeof object === 'undefined' ? 'undefined' : _typeof(object)) == 'object' && key in object && getPrototypeOf(object) === null;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.hasIn` without support for deep paths.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} key The key to check.\n\t * @returns {boolean} Returns `true` if `key` exists, else `false`.\n\t */\n\tfunction baseHasIn(object, key) {\n\t return key in Object(object);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.isEqual` which supports partial comparisons\n\t * and tracks traversed objects.\n\t *\n\t * @private\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @param {Function} [customizer] The function to customize comparisons.\n\t * @param {boolean} [bitmask] The bitmask of comparison flags.\n\t * The bitmask may be composed of the following flags:\n\t * 1 - Unordered comparison\n\t * 2 - Partial comparison\n\t * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t */\n\tfunction baseIsEqual(value, other, customizer, bitmask, stack) {\n\t if (value === other) {\n\t return true;\n\t }\n\t if (value == null || other == null || !isObject(value) && !isObjectLike(other)) {\n\t return value !== value && other !== other;\n\t }\n\t return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);\n\t}\n\t\n\t/**\n\t * A specialized version of `baseIsEqual` for arrays and objects which performs\n\t * deep comparisons and tracks traversed objects enabling objects with circular\n\t * references to be compared.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} [customizer] The function to customize comparisons.\n\t * @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual` for more details.\n\t * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\tfunction baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {\n\t var objIsArr = isArray(object),\n\t othIsArr = isArray(other),\n\t objTag = arrayTag,\n\t othTag = arrayTag;\n\t\n\t if (!objIsArr) {\n\t objTag = getTag(object);\n\t objTag = objTag == argsTag ? objectTag : objTag;\n\t }\n\t if (!othIsArr) {\n\t othTag = getTag(other);\n\t othTag = othTag == argsTag ? objectTag : othTag;\n\t }\n\t var objIsObj = objTag == objectTag && !isHostObject(object),\n\t othIsObj = othTag == objectTag && !isHostObject(other),\n\t isSameTag = objTag == othTag;\n\t\n\t if (isSameTag && !objIsObj) {\n\t stack || (stack = new Stack());\n\t return objIsArr || isTypedArray(object) ? equalArrays(object, other, equalFunc, customizer, bitmask, stack) : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);\n\t }\n\t if (!(bitmask & PARTIAL_COMPARE_FLAG)) {\n\t var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n\t othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\t\n\t if (objIsWrapped || othIsWrapped) {\n\t stack || (stack = new Stack());\n\t return equalFunc(objIsWrapped ? object.value() : object, othIsWrapped ? other.value() : other, customizer, bitmask, stack);\n\t }\n\t }\n\t if (!isSameTag) {\n\t return false;\n\t }\n\t stack || (stack = new Stack());\n\t return equalObjects(object, other, equalFunc, customizer, bitmask, stack);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.isMatch` without support for iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Object} object The object to inspect.\n\t * @param {Object} source The object of property values to match.\n\t * @param {Array} matchData The property names, values, and compare flags to match.\n\t * @param {Function} [customizer] The function to customize comparisons.\n\t * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t */\n\tfunction baseIsMatch(object, source, matchData, customizer) {\n\t var index = matchData.length,\n\t length = index,\n\t noCustomizer = !customizer;\n\t\n\t if (object == null) {\n\t return !length;\n\t }\n\t object = Object(object);\n\t while (index--) {\n\t var data = matchData[index];\n\t if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {\n\t return false;\n\t }\n\t }\n\t while (++index < length) {\n\t data = matchData[index];\n\t var key = data[0],\n\t objValue = object[key],\n\t srcValue = data[1];\n\t\n\t if (noCustomizer && data[2]) {\n\t if (objValue === undefined && !(key in object)) {\n\t return false;\n\t }\n\t } else {\n\t var stack = new Stack(),\n\t result = customizer ? customizer(objValue, srcValue, key, object, source, stack) : undefined;\n\t\n\t if (!(result === undefined ? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack) : result)) {\n\t return false;\n\t }\n\t }\n\t }\n\t return true;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.iteratee`.\n\t *\n\t * @private\n\t * @param {*} [value=_.identity] The value to convert to an iteratee.\n\t * @returns {Function} Returns the iteratee.\n\t */\n\tfunction baseIteratee(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t if (type == 'function') {\n\t return value;\n\t }\n\t if (value == null) {\n\t return identity;\n\t }\n\t if (type == 'object') {\n\t return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);\n\t }\n\t return property(value);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.keys` which doesn't skip the constructor\n\t * property of prototypes or treat sparse arrays as dense.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t */\n\tfunction baseKeys(object) {\n\t return nativeKeys(Object(object));\n\t}\n\t\n\t/**\n\t * The base implementation of `_.matches` which doesn't clone `source`.\n\t *\n\t * @private\n\t * @param {Object} source The object of property values to match.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseMatches(source) {\n\t var matchData = getMatchData(source);\n\t if (matchData.length == 1 && matchData[0][2]) {\n\t var key = matchData[0][0],\n\t value = matchData[0][1];\n\t\n\t return function (object) {\n\t if (object == null) {\n\t return false;\n\t }\n\t return object[key] === value && (value !== undefined || key in Object(object));\n\t };\n\t }\n\t return function (object) {\n\t return object === source || baseIsMatch(object, source, matchData);\n\t };\n\t}\n\t\n\t/**\n\t * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n\t *\n\t * @private\n\t * @param {string} path The path of the property to get.\n\t * @param {*} srcValue The value to match.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseMatchesProperty(path, srcValue) {\n\t return function (object) {\n\t var objValue = get(object, path);\n\t return objValue === undefined && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);\n\t };\n\t}\n\t\n\t/**\n\t * The base implementation of `_.property` without support for deep paths.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseProperty(key) {\n\t return function (object) {\n\t return object == null ? undefined : object[key];\n\t };\n\t}\n\t\n\t/**\n\t * A specialized version of `baseProperty` which supports deep paths.\n\t *\n\t * @private\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction basePropertyDeep(path) {\n\t return function (object) {\n\t return baseGet(object, path);\n\t };\n\t}\n\t\n\t/**\n\t * The base implementation of `_.slice` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\tfunction baseSlice(array, start, end) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t if (start < 0) {\n\t start = -start > length ? 0 : length + start;\n\t }\n\t end = end > length ? length : end;\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : end - start >>> 0;\n\t start >>>= 0;\n\t\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = array[index + start];\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * A specialized version of `baseIsEqualDeep` for arrays with support for\n\t * partial deep comparisons.\n\t *\n\t * @private\n\t * @param {Array} array The array to compare.\n\t * @param {Array} other The other array to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} customizer The function to customize comparisons.\n\t * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual` for more details.\n\t * @param {Object} stack Tracks traversed `array` and `other` objects.\n\t * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n\t */\n\tfunction equalArrays(array, other, equalFunc, customizer, bitmask, stack) {\n\t var index = -1,\n\t isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n\t isUnordered = bitmask & UNORDERED_COMPARE_FLAG,\n\t arrLength = array.length,\n\t othLength = other.length;\n\t\n\t if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n\t return false;\n\t }\n\t // Assume cyclic values are equal.\n\t var stacked = stack.get(array);\n\t if (stacked) {\n\t return stacked == other;\n\t }\n\t var result = true;\n\t stack.set(array, other);\n\t\n\t // Ignore non-index properties.\n\t while (++index < arrLength) {\n\t var arrValue = array[index],\n\t othValue = other[index];\n\t\n\t if (customizer) {\n\t var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);\n\t }\n\t if (compared !== undefined) {\n\t if (compared) {\n\t continue;\n\t }\n\t result = false;\n\t break;\n\t }\n\t // Recursively compare arrays (susceptible to call stack limits).\n\t if (isUnordered) {\n\t if (!arraySome(other, function (othValue) {\n\t return arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack);\n\t })) {\n\t result = false;\n\t break;\n\t }\n\t } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {\n\t result = false;\n\t break;\n\t }\n\t }\n\t stack['delete'](array);\n\t return result;\n\t}\n\t\n\t/**\n\t * A specialized version of `baseIsEqualDeep` for comparing objects of\n\t * the same `toStringTag`.\n\t *\n\t * **Note:** This function only supports comparing values with tags of\n\t * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {string} tag The `toStringTag` of the objects to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} customizer The function to customize comparisons.\n\t * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual` for more details.\n\t * @param {Object} stack Tracks traversed `object` and `other` objects.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\tfunction equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {\n\t switch (tag) {\n\t case arrayBufferTag:\n\t if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n\t return false;\n\t }\n\t return true;\n\t\n\t case boolTag:\n\t case dateTag:\n\t // Coerce dates and booleans to numbers, dates to milliseconds and booleans\n\t // to `1` or `0` treating invalid dates coerced to `NaN` as not equal.\n\t return +object == +other;\n\t\n\t case errorTag:\n\t return object.name == other.name && object.message == other.message;\n\t\n\t case numberTag:\n\t // Treat `NaN` vs. `NaN` as equal.\n\t return object != +object ? other != +other : object == +other;\n\t\n\t case regexpTag:\n\t case stringTag:\n\t // Coerce regexes to strings and treat strings primitives and string\n\t // objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.\n\t return object == other + '';\n\t\n\t case mapTag:\n\t var convert = mapToArray;\n\t\n\t case setTag:\n\t var isPartial = bitmask & PARTIAL_COMPARE_FLAG;\n\t convert || (convert = setToArray);\n\t\n\t if (object.size != other.size && !isPartial) {\n\t return false;\n\t }\n\t // Assume cyclic values are equal.\n\t var stacked = stack.get(object);\n\t if (stacked) {\n\t return stacked == other;\n\t }\n\t // Recursively compare objects (susceptible to call stack limits).\n\t return equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask | UNORDERED_COMPARE_FLAG, stack.set(object, other));\n\t\n\t case symbolTag:\n\t if (symbolValueOf) {\n\t return symbolValueOf.call(object) == symbolValueOf.call(other);\n\t }\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * A specialized version of `baseIsEqualDeep` for objects with support for\n\t * partial deep comparisons.\n\t *\n\t * @private\n\t * @param {Object} object The object to compare.\n\t * @param {Object} other The other object to compare.\n\t * @param {Function} equalFunc The function to determine equivalents of values.\n\t * @param {Function} customizer The function to customize comparisons.\n\t * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual` for more details.\n\t * @param {Object} stack Tracks traversed `object` and `other` objects.\n\t * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t */\n\tfunction equalObjects(object, other, equalFunc, customizer, bitmask, stack) {\n\t var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n\t objProps = keys(object),\n\t objLength = objProps.length,\n\t othProps = keys(other),\n\t othLength = othProps.length;\n\t\n\t if (objLength != othLength && !isPartial) {\n\t return false;\n\t }\n\t var index = objLength;\n\t while (index--) {\n\t var key = objProps[index];\n\t if (!(isPartial ? key in other : baseHas(other, key))) {\n\t return false;\n\t }\n\t }\n\t // Assume cyclic values are equal.\n\t var stacked = stack.get(object);\n\t if (stacked) {\n\t return stacked == other;\n\t }\n\t var result = true;\n\t stack.set(object, other);\n\t\n\t var skipCtor = isPartial;\n\t while (++index < objLength) {\n\t key = objProps[index];\n\t var objValue = object[key],\n\t othValue = other[key];\n\t\n\t if (customizer) {\n\t var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);\n\t }\n\t // Recursively compare objects (susceptible to call stack limits).\n\t if (!(compared === undefined ? objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack) : compared)) {\n\t result = false;\n\t break;\n\t }\n\t skipCtor || (skipCtor = key == 'constructor');\n\t }\n\t if (result && !skipCtor) {\n\t var objCtor = object.constructor,\n\t othCtor = other.constructor;\n\t\n\t // Non `Object` object instances with different constructors are not equal.\n\t if (objCtor != othCtor && 'constructor' in object && 'constructor' in other && !(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n\t result = false;\n\t }\n\t }\n\t stack['delete'](object);\n\t return result;\n\t}\n\t\n\t/**\n\t * Gets the \"length\" property value of `object`.\n\t *\n\t * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {*} Returns the \"length\" value.\n\t */\n\tvar getLength = baseProperty('length');\n\t\n\t/**\n\t * Gets the property names, values, and compare flags of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the match data of `object`.\n\t */\n\tfunction getMatchData(object) {\n\t var result = toPairs(object),\n\t length = result.length;\n\t\n\t while (length--) {\n\t result[length][2] = isStrictComparable(result[length][1]);\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = object[key];\n\t return isNative(value) ? value : undefined;\n\t}\n\t\n\t/**\n\t * Gets the `toStringTag` of `value`.\n\t *\n\t * @private\n\t * @param {*} value The value to query.\n\t * @returns {string} Returns the `toStringTag`.\n\t */\n\tfunction getTag(value) {\n\t return objectToString.call(value);\n\t}\n\t\n\t// Fallback for IE 11 providing `toStringTag` values for maps, sets, and weakmaps.\n\tif (Map && getTag(new Map()) != mapTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n\t getTag = function getTag(value) {\n\t var result = objectToString.call(value),\n\t Ctor = result == objectTag ? value.constructor : null,\n\t ctorString = typeof Ctor == 'function' ? funcToString.call(Ctor) : '';\n\t\n\t if (ctorString) {\n\t switch (ctorString) {\n\t case mapCtorString:\n\t return mapTag;\n\t case setCtorString:\n\t return setTag;\n\t case weakMapCtorString:\n\t return weakMapTag;\n\t }\n\t }\n\t return result;\n\t };\n\t}\n\t\n\t/**\n\t * Checks if `path` exists on `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path to check.\n\t * @param {Function} hasFunc The function to check properties.\n\t * @returns {boolean} Returns `true` if `path` exists, else `false`.\n\t */\n\tfunction hasPath(object, path, hasFunc) {\n\t if (object == null) {\n\t return false;\n\t }\n\t var result = hasFunc(object, path);\n\t if (!result && !isKey(path)) {\n\t path = baseCastPath(path);\n\t object = parent(object, path);\n\t if (object != null) {\n\t path = last(path);\n\t result = hasFunc(object, path);\n\t }\n\t }\n\t var length = object ? object.length : undefined;\n\t return result || !!length && isLength(length) && isIndex(path, length) && (isArray(object) || isString(object) || isArguments(object));\n\t}\n\t\n\t/**\n\t * Creates an array of index keys for `object` values of arrays,\n\t * `arguments` objects, and strings, otherwise `null` is returned.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array|null} Returns index keys, else `null`.\n\t */\n\tfunction indexKeys(object) {\n\t var length = object ? object.length : undefined;\n\t if (isLength(length) && (isArray(object) || isString(object) || isArguments(object))) {\n\t return baseTimes(length, String);\n\t }\n\t return null;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a property name and not a property path.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {Object} [object] The object to query keys on.\n\t * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t */\n\tfunction isKey(value, object) {\n\t if (typeof value == 'number') {\n\t return true;\n\t }\n\t return !isArray(value) && (reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object));\n\t}\n\t\n\t/**\n\t * Checks if `value` is suitable for use as unique object key.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n\t */\n\tfunction isKeyable(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return type == 'number' || type == 'boolean' || type == 'string' && value != '__proto__' || value == null;\n\t}\n\t\n\t/**\n\t * Checks if `value` is likely a prototype object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n\t */\n\tfunction isPrototype(value) {\n\t var Ctor = value && value.constructor,\n\t proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;\n\t\n\t return value === proto;\n\t}\n\t\n\t/**\n\t * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` if suitable for strict\n\t * equality comparisons, else `false`.\n\t */\n\tfunction isStrictComparable(value) {\n\t return value === value && !isObject(value);\n\t}\n\t\n\t/**\n\t * Gets the parent value at `path` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array} path The path to get the parent value of.\n\t * @returns {*} Returns the parent value.\n\t */\n\tfunction parent(object, path) {\n\t return path.length == 1 ? object : get(object, baseSlice(path, 0, -1));\n\t}\n\t\n\t/**\n\t * Converts `string` to a property path array.\n\t *\n\t * @private\n\t * @param {string} string The string to convert.\n\t * @returns {Array} Returns the property path array.\n\t */\n\tfunction stringToPath(string) {\n\t var result = [];\n\t toString(string).replace(rePropName, function (match, number, quote, string) {\n\t result.push(quote ? string.replace(reEscapeChar, '$1') : number || match);\n\t });\n\t return result;\n\t}\n\t\n\t/**\n\t * Gets the last element of `array`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to query.\n\t * @returns {*} Returns the last element of `array`.\n\t * @example\n\t *\n\t * _.last([1, 2, 3]);\n\t * // => 3\n\t */\n\tfunction last(array) {\n\t var length = array ? array.length : 0;\n\t return length ? array[length - 1] : undefined;\n\t}\n\t\n\t/**\n\t * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * comparison between two values to determine if they are equivalent.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred' };\n\t * var other = { 'user': 'fred' };\n\t *\n\t * _.eq(object, object);\n\t * // => true\n\t *\n\t * _.eq(object, other);\n\t * // => false\n\t *\n\t * _.eq('a', 'a');\n\t * // => true\n\t *\n\t * _.eq('a', Object('a'));\n\t * // => false\n\t *\n\t * _.eq(NaN, NaN);\n\t * // => true\n\t */\n\tfunction eq(value, other) {\n\t return value === other || value !== value && other !== other;\n\t}\n\t\n\t/**\n\t * Checks if `value` is likely an `arguments` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArguments(function() { return arguments; }());\n\t * // => true\n\t *\n\t * _.isArguments([1, 2, 3]);\n\t * // => false\n\t */\n\tfunction isArguments(value) {\n\t // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.\n\t return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @type {Function}\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(document.body.children);\n\t * // => false\n\t *\n\t * _.isArray('abc');\n\t * // => false\n\t *\n\t * _.isArray(_.noop);\n\t * // => false\n\t */\n\tvar isArray = Array.isArray;\n\t\n\t/**\n\t * Checks if `value` is array-like. A value is considered array-like if it's\n\t * not a function and has a `value.length` that's an integer greater than or\n\t * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLike(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLike('abc');\n\t * // => true\n\t *\n\t * _.isArrayLike(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(getLength(value)) && !isFunction(value);\n\t}\n\t\n\t/**\n\t * This method is like `_.isArrayLike` except that it also checks if `value`\n\t * is an object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an array-like object, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLikeObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLikeObject(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLikeObject('abc');\n\t * // => false\n\t *\n\t * _.isArrayLikeObject(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLikeObject(value) {\n\t return isObjectLike(value) && isArrayLike(value);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array and weak map constructors,\n\t // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t * @example\n\t *\n\t * _.isLength(3);\n\t * // => true\n\t *\n\t * _.isLength(Number.MIN_VALUE);\n\t * // => false\n\t *\n\t * _.isLength(Infinity);\n\t * // => false\n\t *\n\t * _.isLength('3');\n\t * // => false\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is a native function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t * @example\n\t *\n\t * _.isNative(Array.prototype.push);\n\t * // => true\n\t *\n\t * _.isNative(_);\n\t * // => false\n\t */\n\tfunction isNative(value) {\n\t if (value == null) {\n\t return false;\n\t }\n\t if (isFunction(value)) {\n\t return reIsNative.test(funcToString.call(value));\n\t }\n\t return isObjectLike(value) && (isHostObject(value) ? reIsNative : reIsHostCtor).test(value);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `String` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isString('abc');\n\t * // => true\n\t *\n\t * _.isString(1);\n\t * // => false\n\t */\n\tfunction isString(value) {\n\t return typeof value == 'string' || !isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a typed array.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isTypedArray(new Uint8Array);\n\t * // => true\n\t *\n\t * _.isTypedArray([]);\n\t * // => false\n\t */\n\tfunction isTypedArray(value) {\n\t return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objectToString.call(value)];\n\t}\n\t\n\t/**\n\t * Converts `value` to a string if it's not one. An empty string is returned\n\t * for `null` and `undefined` values. The sign of `-0` is preserved.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t * @example\n\t *\n\t * _.toString(null);\n\t * // => ''\n\t *\n\t * _.toString(-0);\n\t * // => '-0'\n\t *\n\t * _.toString([1, 2, 3]);\n\t * // => '1,2,3'\n\t */\n\tfunction toString(value) {\n\t // Exit early for strings to avoid a performance hit in some environments.\n\t if (typeof value == 'string') {\n\t return value;\n\t }\n\t if (value == null) {\n\t return '';\n\t }\n\t if (isSymbol(value)) {\n\t return symbolToString ? symbolToString.call(value) : '';\n\t }\n\t var result = value + '';\n\t return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n\t}\n\t\n\t/**\n\t * Gets the value at `path` of `object`. If the resolved value is\n\t * `undefined` the `defaultValue` is used in its place.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t * @returns {*} Returns the resolved value.\n\t * @example\n\t *\n\t * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t *\n\t * _.get(object, 'a[0].b.c');\n\t * // => 3\n\t *\n\t * _.get(object, ['a', '0', 'b', 'c']);\n\t * // => 3\n\t *\n\t * _.get(object, 'a.b.c', 'default');\n\t * // => 'default'\n\t */\n\tfunction get(object, path, defaultValue) {\n\t var result = object == null ? undefined : baseGet(object, path);\n\t return result === undefined ? defaultValue : result;\n\t}\n\t\n\t/**\n\t * Checks if `path` is a direct or inherited property of `object`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path to check.\n\t * @returns {boolean} Returns `true` if `path` exists, else `false`.\n\t * @example\n\t *\n\t * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) });\n\t *\n\t * _.hasIn(object, 'a');\n\t * // => true\n\t *\n\t * _.hasIn(object, 'a.b.c');\n\t * // => true\n\t *\n\t * _.hasIn(object, ['a', 'b', 'c']);\n\t * // => true\n\t *\n\t * _.hasIn(object, 'b');\n\t * // => false\n\t */\n\tfunction hasIn(object, path) {\n\t return hasPath(object, path, baseHasIn);\n\t}\n\t\n\t/**\n\t * Creates an array of the own enumerable property names of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects. See the\n\t * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n\t * for more details.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.keys(new Foo);\n\t * // => ['a', 'b'] (iteration order is not guaranteed)\n\t *\n\t * _.keys('hi');\n\t * // => ['0', '1']\n\t */\n\tfunction keys(object) {\n\t var isProto = isPrototype(object);\n\t if (!(isProto || isArrayLike(object))) {\n\t return baseKeys(object);\n\t }\n\t var indexes = indexKeys(object),\n\t skipIndexes = !!indexes,\n\t result = indexes || [],\n\t length = result.length;\n\t\n\t for (var key in object) {\n\t if (baseHas(object, key) && !(skipIndexes && (key == 'length' || isIndex(key, length))) && !(isProto && key == 'constructor')) {\n\t result.push(key);\n\t }\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * Creates an array of own enumerable key-value pairs for `object` which\n\t * can be consumed by `_.fromPairs`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the new array of key-value pairs.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.toPairs(new Foo);\n\t * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n\t */\n\tfunction toPairs(object) {\n\t return baseToPairs(object, keys(object));\n\t}\n\t\n\t/**\n\t * This method returns the first argument given to it.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Util\n\t * @param {*} value Any value.\n\t * @returns {*} Returns `value`.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred' };\n\t *\n\t * _.identity(object) === object;\n\t * // => true\n\t */\n\tfunction identity(value) {\n\t return value;\n\t}\n\t\n\t/**\n\t * Creates a function that returns the value at `path` of a given object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Util\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {Function} Returns the new function.\n\t * @example\n\t *\n\t * var objects = [\n\t * { 'a': { 'b': { 'c': 2 } } },\n\t * { 'a': { 'b': { 'c': 1 } } }\n\t * ];\n\t *\n\t * _.map(objects, _.property('a.b.c'));\n\t * // => [2, 1]\n\t *\n\t * _.map(_.sortBy(objects, _.property(['a', 'b', 'c'])), 'a.b.c');\n\t * // => [1, 2]\n\t */\n\tfunction property(path) {\n\t return isKey(path) ? baseProperty(path) : basePropertyDeep(path);\n\t}\n\t\n\t// Avoid inheriting from `Object.prototype` when possible.\n\tHash.prototype = nativeCreate ? nativeCreate(null) : objectProto;\n\t\n\t// Add functions to the `MapCache`.\n\tMapCache.prototype.clear = mapClear;\n\tMapCache.prototype['delete'] = mapDelete;\n\tMapCache.prototype.get = mapGet;\n\tMapCache.prototype.has = mapHas;\n\tMapCache.prototype.set = mapSet;\n\t\n\t// Add functions to the `Stack` cache.\n\tStack.prototype.clear = stackClear;\n\tStack.prototype['delete'] = stackDelete;\n\tStack.prototype.get = stackGet;\n\tStack.prototype.has = stackHas;\n\tStack.prototype.set = stackSet;\n\t\n\tmodule.exports = baseIteratee;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 17)(module), (function() { return this; }())))\n\n/***/ },\n/* 31 */\n/*!******************************!*\\\n !*** ./~/process/browser.js ***!\n \\******************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = setTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while (len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t clearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t setTimeout(drainQueue, 0);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () {\n\t return '/';\n\t};\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function () {\n\t return 0;\n\t};\n\n/***/ },\n/* 32 */\n/*!**************************!*\\\n !*** ./src/base/kibo.js ***!\n \\**************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar Kibo = function Kibo(element) {\n\t this.element = element || window.document;\n\t this.initialize();\n\t};\n\t\n\tKibo.KEY_NAMES_BY_CODE = {\n\t 8: 'backspace', 9: 'tab', 13: 'enter',\n\t 16: 'shift', 17: 'ctrl', 18: 'alt',\n\t 20: 'caps_lock',\n\t 27: 'esc',\n\t 32: 'space',\n\t 37: 'left', 38: 'up', 39: 'right', 40: 'down',\n\t 48: '0', 49: '1', 50: '2', 51: '3', 52: '4', 53: '5', 54: '6', 55: '7', 56: '8', 57: '9',\n\t 65: 'a', 66: 'b', 67: 'c', 68: 'd', 69: 'e', 70: 'f', 71: 'g', 72: 'h', 73: 'i', 74: 'j',\n\t 75: 'k', 76: 'l', 77: 'm', 78: 'n', 79: 'o', 80: 'p', 81: 'q', 82: 'r', 83: 's', 84: 't',\n\t 85: 'u', 86: 'v', 87: 'w', 88: 'x', 89: 'y', 90: 'z', 112: 'f1', 113: 'f2', 114: 'f3',\n\t 115: 'f4', 116: 'f5', 117: 'f6', 118: 'f7', 119: 'f8', 120: 'f9', 121: 'f10', 122: 'f11', 123: 'f12'\n\t};\n\t\n\tKibo.KEY_CODES_BY_NAME = {};\n\t(function () {\n\t for (var key in Kibo.KEY_NAMES_BY_CODE) {\n\t if (Object.prototype.hasOwnProperty.call(Kibo.KEY_NAMES_BY_CODE, key)) {\n\t Kibo.KEY_CODES_BY_NAME[Kibo.KEY_NAMES_BY_CODE[key]] = +key;\n\t }\n\t }\n\t})();\n\t\n\tKibo.MODIFIERS = ['shift', 'ctrl', 'alt'];\n\t\n\tKibo.registerEvent = function () {\n\t if (document.addEventListener) {\n\t return function (element, eventName, func) {\n\t element.addEventListener(eventName, func, false);\n\t };\n\t } else if (document.attachEvent) {\n\t return function (element, eventName, func) {\n\t element.attachEvent('on' + eventName, func);\n\t };\n\t }\n\t}();\n\t\n\tKibo.unregisterEvent = function () {\n\t if (document.removeEventListener) {\n\t return function (element, eventName, func) {\n\t element.removeEventListener(eventName, func, false);\n\t };\n\t } else if (document.detachEvent) {\n\t return function (element, eventName, func) {\n\t element.detachEvent('on' + eventName, func);\n\t };\n\t }\n\t}();\n\t\n\tKibo.stringContains = function (string, substring) {\n\t return string.indexOf(substring) !== -1;\n\t};\n\t\n\tKibo.neatString = function (string) {\n\t return string.replace(/^\\s+|\\s+$/g, '').replace(/\\s+/g, ' ');\n\t};\n\t\n\tKibo.capitalize = function (string) {\n\t return string.toLowerCase().replace(/^./, function (match) {\n\t return match.toUpperCase();\n\t });\n\t};\n\t\n\tKibo.isString = function (what) {\n\t return Kibo.stringContains(Object.prototype.toString.call(what), 'String');\n\t};\n\t\n\tKibo.arrayIncludes = function () {\n\t if (Array.prototype.indexOf) {\n\t return function (haystack, needle) {\n\t return haystack.indexOf(needle) !== -1;\n\t };\n\t } else {\n\t return function (haystack, needle) {\n\t for (var i = 0; i < haystack.length; i++) {\n\t if (haystack[i] === needle) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t };\n\t }\n\t}();\n\t\n\tKibo.extractModifiers = function (keyCombination) {\n\t var modifiers, i;\n\t modifiers = [];\n\t for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n\t if (Kibo.stringContains(keyCombination, Kibo.MODIFIERS[i])) {\n\t modifiers.push(Kibo.MODIFIERS[i]);\n\t }\n\t }\n\t return modifiers;\n\t};\n\t\n\tKibo.extractKey = function (keyCombination) {\n\t var keys, i;\n\t keys = Kibo.neatString(keyCombination).split(' ');\n\t for (i = 0; i < keys.length; i++) {\n\t if (!Kibo.arrayIncludes(Kibo.MODIFIERS, keys[i])) {\n\t return keys[i];\n\t }\n\t }\n\t};\n\t\n\tKibo.modifiersAndKey = function (keyCombination) {\n\t var result, key;\n\t\n\t if (Kibo.stringContains(keyCombination, 'any')) {\n\t return Kibo.neatString(keyCombination).split(' ').slice(0, 2).join(' ');\n\t }\n\t\n\t result = Kibo.extractModifiers(keyCombination);\n\t\n\t key = Kibo.extractKey(keyCombination);\n\t if (key && !Kibo.arrayIncludes(Kibo.MODIFIERS, key)) {\n\t result.push(key);\n\t }\n\t\n\t return result.join(' ');\n\t};\n\t\n\tKibo.keyName = function (keyCode) {\n\t return Kibo.KEY_NAMES_BY_CODE[keyCode + ''];\n\t};\n\t\n\tKibo.keyCode = function (keyName) {\n\t return +Kibo.KEY_CODES_BY_NAME[keyName];\n\t};\n\t\n\tKibo.prototype.initialize = function () {\n\t var i,\n\t that = this;\n\t\n\t this.lastKeyCode = -1;\n\t this.lastModifiers = {};\n\t for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n\t this.lastModifiers[Kibo.MODIFIERS[i]] = false;\n\t }\n\t\n\t this.keysDown = { any: [] };\n\t this.keysUp = { any: [] };\n\t this.downHandler = this.handler('down');\n\t this.upHandler = this.handler('up');\n\t\n\t Kibo.registerEvent(this.element, 'keydown', this.downHandler);\n\t Kibo.registerEvent(this.element, 'keyup', this.upHandler);\n\t Kibo.registerEvent(window, 'unload', function unloader() {\n\t Kibo.unregisterEvent(that.element, 'keydown', that.downHandler);\n\t Kibo.unregisterEvent(that.element, 'keyup', that.upHandler);\n\t Kibo.unregisterEvent(window, 'unload', unloader);\n\t });\n\t};\n\t\n\tKibo.prototype.handler = function (upOrDown) {\n\t var that = this;\n\t return function (e) {\n\t var i, registeredKeys, lastModifiersAndKey;\n\t\n\t e = e || window.event;\n\t\n\t that.lastKeyCode = e.keyCode;\n\t for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n\t that.lastModifiers[Kibo.MODIFIERS[i]] = e[Kibo.MODIFIERS[i] + 'Key'];\n\t }\n\t if (Kibo.arrayIncludes(Kibo.MODIFIERS, Kibo.keyName(that.lastKeyCode))) {\n\t that.lastModifiers[Kibo.keyName(that.lastKeyCode)] = true;\n\t }\n\t\n\t registeredKeys = that['keys' + Kibo.capitalize(upOrDown)];\n\t\n\t for (i = 0; i < registeredKeys.any.length; i++) {\n\t if (registeredKeys.any[i](e) === false && e.preventDefault) {\n\t e.preventDefault();\n\t }\n\t }\n\t\n\t lastModifiersAndKey = that.lastModifiersAndKey();\n\t if (registeredKeys[lastModifiersAndKey]) {\n\t for (i = 0; i < registeredKeys[lastModifiersAndKey].length; i++) {\n\t if (registeredKeys[lastModifiersAndKey][i](e) === false && e.preventDefault) {\n\t e.preventDefault();\n\t }\n\t }\n\t }\n\t };\n\t};\n\t\n\tKibo.prototype.registerKeys = function (upOrDown, newKeys, func) {\n\t var i,\n\t keys,\n\t registeredKeys = this['keys' + Kibo.capitalize(upOrDown)];\n\t\n\t if (Kibo.isString(newKeys)) {\n\t newKeys = [newKeys];\n\t }\n\t\n\t for (i = 0; i < newKeys.length; i++) {\n\t keys = newKeys[i];\n\t keys = Kibo.modifiersAndKey(keys + '');\n\t\n\t if (registeredKeys[keys]) {\n\t registeredKeys[keys].push(func);\n\t } else {\n\t registeredKeys[keys] = [func];\n\t }\n\t }\n\t\n\t return this;\n\t};\n\t\n\t// jshint maxdepth:5\n\tKibo.prototype.unregisterKeys = function (upOrDown, newKeys, func) {\n\t var i,\n\t j,\n\t keys,\n\t registeredKeys = this['keys' + Kibo.capitalize(upOrDown)];\n\t\n\t if (Kibo.isString(newKeys)) {\n\t newKeys = [newKeys];\n\t }\n\t\n\t for (i = 0; i < newKeys.length; i++) {\n\t keys = newKeys[i];\n\t keys = Kibo.modifiersAndKey(keys + '');\n\t\n\t if (func === null) {\n\t delete registeredKeys[keys];\n\t } else {\n\t if (registeredKeys[keys]) {\n\t for (j = 0; j < registeredKeys[keys].length; j++) {\n\t if (String(registeredKeys[keys][j]) === String(func)) {\n\t registeredKeys[keys].splice(j, 1);\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t }\n\t\n\t return this;\n\t};\n\t\n\tKibo.prototype.off = function (keys) {\n\t return this.unregisterKeys('down', keys, null);\n\t};\n\t\n\tKibo.prototype.delegate = function (upOrDown, keys, func) {\n\t return func !== null || func !== undefined ? this.registerKeys(upOrDown, keys, func) : this.unregisterKeys(upOrDown, keys, func);\n\t};\n\t\n\tKibo.prototype.down = function (keys, func) {\n\t return this.delegate('down', keys, func);\n\t};\n\t\n\tKibo.prototype.up = function (keys, func) {\n\t return this.delegate('up', keys, func);\n\t};\n\t\n\tKibo.prototype.lastKey = function (modifier) {\n\t if (!modifier) {\n\t return Kibo.keyName(this.lastKeyCode);\n\t }\n\t\n\t return this.lastModifiers[modifier];\n\t};\n\t\n\tKibo.prototype.lastModifiersAndKey = function () {\n\t var result, i;\n\t\n\t result = [];\n\t for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n\t if (this.lastKey(Kibo.MODIFIERS[i])) {\n\t result.push(Kibo.MODIFIERS[i]);\n\t }\n\t }\n\t\n\t if (!Kibo.arrayIncludes(result, this.lastKey())) {\n\t result.push(this.lastKey());\n\t }\n\t\n\t return result.join(' ');\n\t};\n\t\n\texports.default = Kibo;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 33 */\n/*!*******************************************!*\\\n !*** ./src/components/container/index.js ***!\n \\*******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./container */ 88);\n\n/***/ },\n/* 34 */\n/*!**************************************!*\\\n !*** ./src/components/core/index.js ***!\n \\**************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./core */ 91);\n\n/***/ },\n/* 35 */\n/*!****************************************!*\\\n !*** ./src/components/loader/index.js ***!\n \\****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./loader */ 94);\n\n/***/ },\n/* 36 */\n/*!***********************************************!*\\\n !*** ./src/components/media_control/index.js ***!\n \\***********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./media_control */ 95);\n\n/***/ },\n/* 37 */\n/*!**************************************!*\\\n !*** ./src/playbacks/flash/index.js ***!\n \\**************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./flash */ 98);\n\n/***/ },\n/* 38 */\n/*!****************************************!*\\\n !*** ./src/playbacks/flashls/index.js ***!\n \\****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./flashls */ 99);\n\n/***/ },\n/* 39 */\n/*!************************************!*\\\n !*** ./src/playbacks/hls/index.js ***!\n \\************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./hls */ 101);\n\n/***/ },\n/* 40 */\n/*!********************************************!*\\\n !*** ./src/playbacks/html5_audio/index.js ***!\n \\********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./html5_audio */ 102);\n\n/***/ },\n/* 41 */\n/*!*****************************************!*\\\n !*** ./src/playbacks/html_img/index.js ***!\n \\*****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./html_img */ 104);\n\n/***/ },\n/* 42 */\n/*!**************************************!*\\\n !*** ./src/playbacks/no_op/index.js ***!\n \\**************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./no_op */ 105);\n\n/***/ },\n/* 43 */\n/*!*************************************!*\\\n !*** ./src/plugins/poster/index.js ***!\n \\*************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./poster */ 116);\n\n/***/ },\n/* 44 */\n/*!*******************************!*\\\n !*** ./src/icons/01-play.svg ***!\n \\*******************************/\n/***/ function(module, exports) {\n\n\tmodule.exports = \"\"\n\n/***/ },\n/* 45 */\n/*!*************************************************************!*\\\n !*** ./src/components/media_control/public/closed-hand.cur ***!\n \\*************************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__.p + \"a8c874b93b3d848f39a71260c57e3863.cur\";\n\n/***/ },\n/* 46 */\n/*!***************************************************!*\\\n !*** ./~/hls.js/lib/controller/abr-controller.js ***!\n \\***************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _bufferHelper = __webpack_require__(/*! ../helper/buffer-helper */ 29);\n\t\n\tvar _bufferHelper2 = _interopRequireDefault(_bufferHelper);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * simple ABR Controller\n\t * - compute next level based on last fragment bw heuristics\n\t * - implement an abandon rules triggered if we have less than 2 frag buffered and if computed bw shows that we risk buffer stalling\n\t */\n\t\n\tvar AbrController = function (_EventHandler) {\n\t _inherits(AbrController, _EventHandler);\n\t\n\t function AbrController(hls) {\n\t _classCallCheck(this, AbrController);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AbrController).call(this, hls, _events2.default.FRAG_LOADING, _events2.default.FRAG_LOAD_PROGRESS, _events2.default.FRAG_LOADED, _events2.default.ERROR));\n\t\n\t _this.lastLoadedFragLevel = 0;\n\t _this._autoLevelCapping = -1;\n\t _this._nextAutoLevel = -1;\n\t _this.hls = hls;\n\t _this.onCheck = _this.abandonRulesCheck.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(AbrController, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t this.clearTimer();\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t }\n\t }, {\n\t key: 'onFragLoading',\n\t value: function onFragLoading(data) {\n\t this.timer = setInterval(this.onCheck, 100);\n\t this.fragCurrent = data.frag;\n\t }\n\t }, {\n\t key: 'onFragLoadProgress',\n\t value: function onFragLoadProgress(data) {\n\t var stats = data.stats;\n\t // only update stats if first frag loading\n\t // if same frag is loaded multiple times, it might be in browser cache, and loaded quickly\n\t // and leading to wrong bw estimation\n\t if (stats.aborted === undefined && data.frag.loadCounter === 1) {\n\t this.lastfetchduration = (performance.now() - stats.trequest) / 1000;\n\t this.lastbw = stats.loaded * 8 / this.lastfetchduration;\n\t //console.log(`fetchDuration:${this.lastfetchduration},bw:${(this.lastbw/1000).toFixed(0)}/${stats.aborted}`);\n\t }\n\t }\n\t }, {\n\t key: 'abandonRulesCheck',\n\t value: function abandonRulesCheck() {\n\t /*\n\t monitor fragment retrieval time...\n\t we compute expected time of arrival of the complete fragment.\n\t we compare it to expected time of buffer starvation\n\t */\n\t var hls = this.hls,\n\t v = hls.media,\n\t frag = this.fragCurrent;\n\t /* only monitor frag retrieval time if\n\t (video not paused OR first fragment being loaded(ready state === HAVE_NOTHING = 0)) AND autoswitching enabled AND not lowest level (=> means that we have several levels) */\n\t if (v && (!v.paused || !v.readyState) && frag.autoLevel && frag.level) {\n\t var requestDelay = performance.now() - frag.trequest;\n\t // monitor fragment load progress after half of expected fragment duration,to stabilize bitrate\n\t if (requestDelay > 500 * frag.duration) {\n\t var loadRate = Math.max(1, frag.loaded * 1000 / requestDelay); // byte/s; at least 1 byte/s to avoid division by zero\n\t if (frag.expectedLen < frag.loaded) {\n\t frag.expectedLen = frag.loaded;\n\t }\n\t var pos = v.currentTime;\n\t var fragLoadedDelay = (frag.expectedLen - frag.loaded) / loadRate;\n\t var bufferStarvationDelay = _bufferHelper2.default.bufferInfo(v, pos, hls.config.maxBufferHole).end - pos;\n\t // consider emergency switch down only if we have less than 2 frag buffered AND\n\t // time to finish loading current fragment is bigger than buffer starvation delay\n\t // ie if we risk buffer starvation if bw does not increase quickly\n\t if (bufferStarvationDelay < 2 * frag.duration && fragLoadedDelay > bufferStarvationDelay) {\n\t var fragLevelNextLoadedDelay = undefined,\n\t nextLoadLevel = undefined;\n\t // lets iterate through lower level and try to find the biggest one that could avoid rebuffering\n\t // we start from current level - 1 and we step down , until we find a matching level\n\t for (nextLoadLevel = frag.level - 1; nextLoadLevel >= 0; nextLoadLevel--) {\n\t // compute time to load next fragment at lower level\n\t // 0.8 : consider only 80% of current bw to be conservative\n\t // 8 = bits per byte (bps/Bps)\n\t fragLevelNextLoadedDelay = frag.duration * hls.levels[nextLoadLevel].bitrate / (8 * 0.8 * loadRate);\n\t _logger.logger.log('fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay[' + nextLoadLevel + '] :' + fragLoadedDelay.toFixed(1) + '/' + bufferStarvationDelay.toFixed(1) + '/' + fragLevelNextLoadedDelay.toFixed(1));\n\t if (fragLevelNextLoadedDelay < bufferStarvationDelay) {\n\t // we found a lower level that be rebuffering free with current estimated bw !\n\t break;\n\t }\n\t }\n\t // only emergency switch down if it takes less time to load new fragment at lowest level instead\n\t // of finishing loading current one ...\n\t if (fragLevelNextLoadedDelay < fragLoadedDelay) {\n\t // ensure nextLoadLevel is not negative\n\t nextLoadLevel = Math.max(0, nextLoadLevel);\n\t // force next load level in auto mode\n\t hls.nextLoadLevel = nextLoadLevel;\n\t // abort fragment loading ...\n\t _logger.logger.warn('loading too slow, abort fragment loading and switch to level ' + nextLoadLevel);\n\t //abort fragment loading\n\t frag.loader.abort();\n\t this.clearTimer();\n\t hls.trigger(_events2.default.FRAG_LOAD_EMERGENCY_ABORTED, { frag: frag });\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'onFragLoaded',\n\t value: function onFragLoaded(data) {\n\t // stop monitoring bw once frag loaded\n\t this.clearTimer();\n\t // store level id after successful fragment load\n\t this.lastLoadedFragLevel = data.frag.level;\n\t // reset forced auto level value so that next level will be selected\n\t this._nextAutoLevel = -1;\n\t }\n\t }, {\n\t key: 'onError',\n\t value: function onError(data) {\n\t // stop timer in case of frag loading error\n\t switch (data.details) {\n\t case _errors.ErrorDetails.FRAG_LOAD_ERROR:\n\t case _errors.ErrorDetails.FRAG_LOAD_TIMEOUT:\n\t this.clearTimer();\n\t break;\n\t default:\n\t break;\n\t }\n\t }\n\t }, {\n\t key: 'clearTimer',\n\t value: function clearTimer() {\n\t if (this.timer) {\n\t clearInterval(this.timer);\n\t this.timer = null;\n\t }\n\t }\n\t\n\t /** Return the capping/max level value that could be used by automatic level selection algorithm **/\n\t\n\t }, {\n\t key: 'autoLevelCapping',\n\t get: function get() {\n\t return this._autoLevelCapping;\n\t }\n\t\n\t /** set the capping/max level value that could be used by automatic level selection algorithm **/\n\t\n\t , set: function set(newLevel) {\n\t this._autoLevelCapping = newLevel;\n\t }\n\t }, {\n\t key: 'nextAutoLevel',\n\t get: function get() {\n\t var lastbw = this.lastbw,\n\t hls = this.hls,\n\t adjustedbw,\n\t i,\n\t maxAutoLevel;\n\t if (this._autoLevelCapping === -1) {\n\t maxAutoLevel = hls.levels.length - 1;\n\t } else {\n\t maxAutoLevel = this._autoLevelCapping;\n\t }\n\t\n\t // in case next auto level has been forced, return it straight-away (but capped)\n\t if (this._nextAutoLevel !== -1) {\n\t return Math.min(this._nextAutoLevel, maxAutoLevel);\n\t }\n\t\n\t // follow algorithm captured from stagefright :\n\t // https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/httplive/LiveSession.cpp\n\t // Pick the highest bandwidth stream below or equal to estimated bandwidth.\n\t for (i = 0; i <= maxAutoLevel; i++) {\n\t // consider only 80% of the available bandwidth, but if we are switching up,\n\t // be even more conservative (70%) to avoid overestimating and immediately\n\t // switching back.\n\t if (i <= this.lastLoadedFragLevel) {\n\t adjustedbw = 0.8 * lastbw;\n\t } else {\n\t adjustedbw = 0.7 * lastbw;\n\t }\n\t if (adjustedbw < hls.levels[i].bitrate) {\n\t return Math.max(0, i - 1);\n\t }\n\t }\n\t return i - 1;\n\t },\n\t set: function set(nextLevel) {\n\t this._nextAutoLevel = nextLevel;\n\t }\n\t }]);\n\t\n\t return AbrController;\n\t}(_eventHandler2.default);\n\t\n\texports.default = AbrController;\n\n/***/ },\n/* 47 */\n/*!******************************************************!*\\\n !*** ./~/hls.js/lib/controller/buffer-controller.js ***!\n \\******************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * Buffer Controller\n\t */\n\t\n\tvar BufferController = function (_EventHandler) {\n\t _inherits(BufferController, _EventHandler);\n\t\n\t function BufferController(hls) {\n\t _classCallCheck(this, BufferController);\n\t\n\t // Source Buffer listeners\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(BufferController).call(this, hls, _events2.default.MEDIA_ATTACHING, _events2.default.MEDIA_DETACHING, _events2.default.BUFFER_RESET, _events2.default.BUFFER_APPENDING, _events2.default.BUFFER_CODECS, _events2.default.BUFFER_EOS, _events2.default.BUFFER_FLUSHING));\n\t\n\t _this.onsbue = _this.onSBUpdateEnd.bind(_this);\n\t _this.onsbe = _this.onSBUpdateError.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(BufferController, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t }\n\t }, {\n\t key: 'onMediaAttaching',\n\t value: function onMediaAttaching(data) {\n\t var media = this.media = data.media;\n\t // setup the media source\n\t var ms = this.mediaSource = new MediaSource();\n\t //Media Source listeners\n\t this.onmso = this.onMediaSourceOpen.bind(this);\n\t this.onmse = this.onMediaSourceEnded.bind(this);\n\t this.onmsc = this.onMediaSourceClose.bind(this);\n\t ms.addEventListener('sourceopen', this.onmso);\n\t ms.addEventListener('sourceended', this.onmse);\n\t ms.addEventListener('sourceclose', this.onmsc);\n\t // link video and media Source\n\t media.src = URL.createObjectURL(ms);\n\t }\n\t }, {\n\t key: 'onMediaDetaching',\n\t value: function onMediaDetaching() {\n\t var ms = this.mediaSource;\n\t if (ms) {\n\t if (ms.readyState === 'open') {\n\t try {\n\t // endOfStream could trigger exception if any sourcebuffer is in updating state\n\t // we don't really care about checking sourcebuffer state here,\n\t // as we are anyway detaching the MediaSource\n\t // let's just avoid this exception to propagate\n\t ms.endOfStream();\n\t } catch (err) {\n\t _logger.logger.warn('onMediaDetaching:' + err.message + ' while calling endOfStream');\n\t }\n\t }\n\t ms.removeEventListener('sourceopen', this.onmso);\n\t ms.removeEventListener('sourceended', this.onmse);\n\t ms.removeEventListener('sourceclose', this.onmsc);\n\t // unlink MediaSource from video tag\n\t this.media.src = '';\n\t this.media.removeAttribute('src');\n\t this.mediaSource = null;\n\t this.media = null;\n\t this.pendingTracks = null;\n\t this.sourceBuffer = null;\n\t }\n\t this.onmso = this.onmse = this.onmsc = null;\n\t this.hls.trigger(_events2.default.MEDIA_DETACHED);\n\t }\n\t }, {\n\t key: 'onMediaSourceOpen',\n\t value: function onMediaSourceOpen() {\n\t _logger.logger.log('media source opened');\n\t this.hls.trigger(_events2.default.MEDIA_ATTACHED, { media: this.media });\n\t // once received, don't listen anymore to sourceopen event\n\t this.mediaSource.removeEventListener('sourceopen', this.onmso);\n\t // if any buffer codecs pending, treat it here.\n\t var pendingTracks = this.pendingTracks;\n\t if (pendingTracks) {\n\t this.onBufferCodecs(pendingTracks);\n\t this.pendingTracks = null;\n\t this.doAppending();\n\t }\n\t }\n\t }, {\n\t key: 'onMediaSourceClose',\n\t value: function onMediaSourceClose() {\n\t _logger.logger.log('media source closed');\n\t }\n\t }, {\n\t key: 'onMediaSourceEnded',\n\t value: function onMediaSourceEnded() {\n\t _logger.logger.log('media source ended');\n\t }\n\t }, {\n\t key: 'onSBUpdateEnd',\n\t value: function onSBUpdateEnd() {\n\t\n\t if (this._needsFlush) {\n\t this.doFlush();\n\t }\n\t\n\t if (this._needsEos) {\n\t this.onBufferEos();\n\t }\n\t\n\t this.hls.trigger(_events2.default.BUFFER_APPENDED);\n\t\n\t this.doAppending();\n\t }\n\t }, {\n\t key: 'onSBUpdateError',\n\t value: function onSBUpdateError(event) {\n\t _logger.logger.error('sourceBuffer error:' + event);\n\t // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error\n\t // this error might not always be fatal (it is fatal if decode error is set, in that case\n\t // it will be followed by a mediaElement error ...)\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.BUFFER_APPENDING_ERROR, fatal: false });\n\t // we don't need to do more than that, as accordin to the spec, updateend will be fired just after\n\t }\n\t }, {\n\t key: 'onBufferReset',\n\t value: function onBufferReset() {\n\t var sourceBuffer = this.sourceBuffer;\n\t if (sourceBuffer) {\n\t for (var type in sourceBuffer) {\n\t var sb = sourceBuffer[type];\n\t try {\n\t this.mediaSource.removeSourceBuffer(sb);\n\t sb.removeEventListener('updateend', this.onsbue);\n\t sb.removeEventListener('error', this.onsbe);\n\t } catch (err) {}\n\t }\n\t this.sourceBuffer = null;\n\t }\n\t this.flushRange = [];\n\t this.appended = 0;\n\t }\n\t }, {\n\t key: 'onBufferCodecs',\n\t value: function onBufferCodecs(tracks) {\n\t var sb, trackName, track, codec, mimeType;\n\t\n\t if (!this.media) {\n\t this.pendingTracks = tracks;\n\t return;\n\t }\n\t\n\t if (!this.sourceBuffer) {\n\t var sourceBuffer = {},\n\t mediaSource = this.mediaSource;\n\t for (trackName in tracks) {\n\t track = tracks[trackName];\n\t // use levelCodec as first priority\n\t codec = track.levelCodec || track.codec;\n\t mimeType = track.container + ';codecs=' + codec;\n\t _logger.logger.log('creating sourceBuffer with mimeType:' + mimeType);\n\t sb = sourceBuffer[trackName] = mediaSource.addSourceBuffer(mimeType);\n\t sb.addEventListener('updateend', this.onsbue);\n\t sb.addEventListener('error', this.onsbe);\n\t }\n\t this.sourceBuffer = sourceBuffer;\n\t }\n\t }\n\t }, {\n\t key: 'onBufferAppending',\n\t value: function onBufferAppending(data) {\n\t if (!this.segments) {\n\t this.segments = [data];\n\t } else {\n\t this.segments.push(data);\n\t }\n\t this.doAppending();\n\t }\n\t }, {\n\t key: 'onBufferAppendFail',\n\t value: function onBufferAppendFail(data) {\n\t _logger.logger.error('sourceBuffer error:' + data.event);\n\t // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error\n\t // this error might not always be fatal (it is fatal if decode error is set, in that case\n\t // it will be followed by a mediaElement error ...)\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.BUFFER_APPENDING_ERROR, fatal: false, frag: this.fragCurrent });\n\t }\n\t }, {\n\t key: 'onBufferEos',\n\t value: function onBufferEos() {\n\t var sb = this.sourceBuffer,\n\t mediaSource = this.mediaSource;\n\t if (!mediaSource || mediaSource.readyState !== 'open') {\n\t return;\n\t }\n\t if (!(sb.audio && sb.audio.updating || sb.video && sb.video.updating)) {\n\t _logger.logger.log('all media data available, signal endOfStream() to MediaSource and stop loading fragment');\n\t //Notify the media element that it now has all of the media data\n\t mediaSource.endOfStream();\n\t this._needsEos = false;\n\t } else {\n\t this._needsEos = true;\n\t }\n\t }\n\t }, {\n\t key: 'onBufferFlushing',\n\t value: function onBufferFlushing(data) {\n\t this.flushRange.push({ start: data.startOffset, end: data.endOffset });\n\t // attempt flush immediatly\n\t this.flushBufferCounter = 0;\n\t this.doFlush();\n\t }\n\t }, {\n\t key: 'doFlush',\n\t value: function doFlush() {\n\t // loop through all buffer ranges to flush\n\t while (this.flushRange.length) {\n\t var range = this.flushRange[0];\n\t // flushBuffer will abort any buffer append in progress and flush Audio/Video Buffer\n\t if (this.flushBuffer(range.start, range.end)) {\n\t // range flushed, remove from flush array\n\t this.flushRange.shift();\n\t this.flushBufferCounter = 0;\n\t } else {\n\t this._needsFlush = true;\n\t // avoid looping, wait for SB update end to retrigger a flush\n\t return;\n\t }\n\t }\n\t if (this.flushRange.length === 0) {\n\t // everything flushed\n\t this._needsFlush = false;\n\t\n\t // let's recompute this.appended, which is used to avoid flush looping\n\t var appended = 0;\n\t var sourceBuffer = this.sourceBuffer;\n\t if (sourceBuffer) {\n\t for (var type in sourceBuffer) {\n\t appended += sourceBuffer[type].buffered.length;\n\t }\n\t }\n\t this.appended = appended;\n\t this.hls.trigger(_events2.default.BUFFER_FLUSHED);\n\t }\n\t }\n\t }, {\n\t key: 'doAppending',\n\t value: function doAppending() {\n\t var hls = this.hls,\n\t sourceBuffer = this.sourceBuffer,\n\t segments = this.segments;\n\t if (sourceBuffer) {\n\t if (this.media.error) {\n\t segments = [];\n\t _logger.logger.error('trying to append although a media error occured, flush segment and abort');\n\t return;\n\t }\n\t for (var type in sourceBuffer) {\n\t if (sourceBuffer[type].updating) {\n\t //logger.log('sb update in progress');\n\t return;\n\t }\n\t }\n\t if (segments.length) {\n\t var segment = segments.shift();\n\t try {\n\t //logger.log(`appending ${segment.type} SB, size:${segment.data.length});\n\t sourceBuffer[segment.type].appendBuffer(segment.data);\n\t this.appendError = 0;\n\t this.appended++;\n\t } catch (err) {\n\t // in case any error occured while appending, put back segment in segments table\n\t _logger.logger.error('error while trying to append buffer:' + err.message);\n\t segments.unshift(segment);\n\t var event = { type: _errors.ErrorTypes.MEDIA_ERROR };\n\t if (err.code !== 22) {\n\t if (this.appendError) {\n\t this.appendError++;\n\t } else {\n\t this.appendError = 1;\n\t }\n\t event.details = _errors.ErrorDetails.BUFFER_APPEND_ERROR;\n\t event.frag = this.fragCurrent;\n\t /* with UHD content, we could get loop of quota exceeded error until\n\t browser is able to evict some data from sourcebuffer. retrying help recovering this\n\t */\n\t if (this.appendError > hls.config.appendErrorMaxRetry) {\n\t _logger.logger.log('fail ' + hls.config.appendErrorMaxRetry + ' times to append segment in sourceBuffer');\n\t segments = [];\n\t event.fatal = true;\n\t hls.trigger(_events2.default.ERROR, event);\n\t return;\n\t } else {\n\t event.fatal = false;\n\t hls.trigger(_events2.default.ERROR, event);\n\t }\n\t } else {\n\t // QuotaExceededError: http://www.w3.org/TR/html5/infrastructure.html#quotaexceedederror\n\t // let's stop appending any segments, and report BUFFER_FULL_ERROR error\n\t segments = [];\n\t event.details = _errors.ErrorDetails.BUFFER_FULL_ERROR;\n\t hls.trigger(_events2.default.ERROR, event);\n\t }\n\t }\n\t }\n\t }\n\t }\n\t\n\t /*\n\t flush specified buffered range,\n\t return true once range has been flushed.\n\t as sourceBuffer.remove() is asynchronous, flushBuffer will be retriggered on sourceBuffer update end\n\t */\n\t\n\t }, {\n\t key: 'flushBuffer',\n\t value: function flushBuffer(startOffset, endOffset) {\n\t var sb, i, bufStart, bufEnd, flushStart, flushEnd;\n\t //logger.log('flushBuffer,pos/start/end: ' + this.media.currentTime + '/' + startOffset + '/' + endOffset);\n\t // safeguard to avoid infinite looping : don't try to flush more than the nb of appended segments\n\t if (this.flushBufferCounter < this.appended && this.sourceBuffer) {\n\t for (var type in this.sourceBuffer) {\n\t sb = this.sourceBuffer[type];\n\t if (!sb.updating) {\n\t for (i = 0; i < sb.buffered.length; i++) {\n\t bufStart = sb.buffered.start(i);\n\t bufEnd = sb.buffered.end(i);\n\t // workaround firefox not able to properly flush multiple buffered range.\n\t if (navigator.userAgent.toLowerCase().indexOf('firefox') !== -1 && endOffset === Number.POSITIVE_INFINITY) {\n\t flushStart = startOffset;\n\t flushEnd = endOffset;\n\t } else {\n\t flushStart = Math.max(bufStart, startOffset);\n\t flushEnd = Math.min(bufEnd, endOffset);\n\t }\n\t /* sometimes sourcebuffer.remove() does not flush\n\t the exact expected time range.\n\t to avoid rounding issues/infinite loop,\n\t only flush buffer range of length greater than 500ms.\n\t */\n\t if (Math.min(flushEnd, bufEnd) - flushStart > 0.5) {\n\t this.flushBufferCounter++;\n\t _logger.logger.log('flush ' + type + ' [' + flushStart + ',' + flushEnd + '], of [' + bufStart + ',' + bufEnd + '], pos:' + this.media.currentTime);\n\t sb.remove(flushStart, flushEnd);\n\t return false;\n\t }\n\t }\n\t } else {\n\t //logger.log('abort ' + type + ' append in progress');\n\t // this will abort any appending in progress\n\t //sb.abort();\n\t _logger.logger.warn('cannot flush, sb updating in progress');\n\t return false;\n\t }\n\t }\n\t } else {\n\t _logger.logger.warn('abort flushing too many retries');\n\t }\n\t _logger.logger.log('buffer flushed');\n\t // everything flushed !\n\t return true;\n\t }\n\t }]);\n\t\n\t return BufferController;\n\t}(_eventHandler2.default);\n\t\n\texports.default = BufferController;\n\n/***/ },\n/* 48 */\n/*!*********************************************************!*\\\n !*** ./~/hls.js/lib/controller/cap-level-controller.js ***!\n \\*********************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * cap stream level to media size dimension controller\n\t */\n\t\n\tvar CapLevelController = function (_EventHandler) {\n\t _inherits(CapLevelController, _EventHandler);\n\t\n\t function CapLevelController(hls) {\n\t _classCallCheck(this, CapLevelController);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(CapLevelController).call(this, hls, _events2.default.MEDIA_ATTACHING, _events2.default.MANIFEST_PARSED));\n\t }\n\t\n\t _createClass(CapLevelController, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t if (this.hls.config.capLevelToPlayerSize) {\n\t this.media = null;\n\t this.autoLevelCapping = Number.POSITIVE_INFINITY;\n\t if (this.timer) {\n\t this.timer = clearInterval(this.timer);\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'onMediaAttaching',\n\t value: function onMediaAttaching(data) {\n\t this.media = data.media instanceof HTMLVideoElement ? data.media : null;\n\t }\n\t }, {\n\t key: 'onManifestParsed',\n\t value: function onManifestParsed(data) {\n\t if (this.hls.config.capLevelToPlayerSize) {\n\t this.autoLevelCapping = Number.POSITIVE_INFINITY;\n\t this.levels = data.levels;\n\t this.hls.firstLevel = this.getMaxLevel(data.firstLevel);\n\t clearInterval(this.timer);\n\t this.timer = setInterval(this.detectPlayerSize.bind(this), 1000);\n\t this.detectPlayerSize();\n\t }\n\t }\n\t }, {\n\t key: 'detectPlayerSize',\n\t value: function detectPlayerSize() {\n\t if (this.media) {\n\t var levelsLength = this.levels ? this.levels.length : 0;\n\t if (levelsLength) {\n\t this.hls.autoLevelCapping = this.getMaxLevel(levelsLength - 1);\n\t if (this.hls.autoLevelCapping > this.autoLevelCapping) {\n\t // if auto level capping has a higher value for the previous one, flush the buffer using nextLevelSwitch\n\t // usually happen when the user go to the fullscreen mode.\n\t this.hls.streamController.nextLevelSwitch();\n\t }\n\t this.autoLevelCapping = this.hls.autoLevelCapping;\n\t }\n\t }\n\t }\n\t\n\t /*\n\t * returns level should be the one with the dimensions equal or greater than the media (player) dimensions (so the video will be downscaled)\n\t */\n\t\n\t }, {\n\t key: 'getMaxLevel',\n\t value: function getMaxLevel(capLevelIndex) {\n\t var result = undefined,\n\t i = undefined,\n\t level = undefined,\n\t mWidth = this.mediaWidth,\n\t mHeight = this.mediaHeight,\n\t lWidth = 0,\n\t lHeight = 0;\n\t\n\t for (i = 0; i <= capLevelIndex; i++) {\n\t level = this.levels[i];\n\t result = i;\n\t lWidth = level.width;\n\t lHeight = level.height;\n\t if (mWidth <= lWidth || mHeight <= lHeight) {\n\t break;\n\t }\n\t }\n\t return result;\n\t }\n\t }, {\n\t key: 'contentScaleFactor',\n\t get: function get() {\n\t var pixelRatio = 1;\n\t try {\n\t pixelRatio = window.devicePixelRatio;\n\t } catch (e) {}\n\t return pixelRatio;\n\t }\n\t }, {\n\t key: 'mediaWidth',\n\t get: function get() {\n\t var width = undefined;\n\t if (this.media) {\n\t width = this.media.width || this.media.clientWidth || this.media.offsetWidth;\n\t width *= this.contentScaleFactor;\n\t }\n\t return width;\n\t }\n\t }, {\n\t key: 'mediaHeight',\n\t get: function get() {\n\t var height = undefined;\n\t if (this.media) {\n\t height = this.media.height || this.media.clientHeight || this.media.offsetHeight;\n\t height *= this.contentScaleFactor;\n\t }\n\t return height;\n\t }\n\t }]);\n\t\n\t return CapLevelController;\n\t}(_eventHandler2.default);\n\t\n\texports.default = CapLevelController;\n\n/***/ },\n/* 49 */\n/*!*****************************************************!*\\\n !*** ./~/hls.js/lib/controller/level-controller.js ***!\n \\*****************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * Level Controller\n\t */\n\t\n\tvar LevelController = function (_EventHandler) {\n\t _inherits(LevelController, _EventHandler);\n\t\n\t function LevelController(hls) {\n\t _classCallCheck(this, LevelController);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(LevelController).call(this, hls, _events2.default.MANIFEST_LOADED, _events2.default.LEVEL_LOADED, _events2.default.ERROR));\n\t\n\t _this.ontick = _this.tick.bind(_this);\n\t _this._manualLevel = _this._autoLevelCapping = -1;\n\t return _this;\n\t }\n\t\n\t _createClass(LevelController, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t if (this.timer) {\n\t clearInterval(this.timer);\n\t }\n\t this._manualLevel = -1;\n\t }\n\t }, {\n\t key: 'startLoad',\n\t value: function startLoad() {\n\t this.canload = true;\n\t // speed up live playlist refresh if timer exists\n\t if (this.timer) {\n\t this.tick();\n\t }\n\t }\n\t }, {\n\t key: 'stopLoad',\n\t value: function stopLoad() {\n\t this.canload = false;\n\t }\n\t }, {\n\t key: 'onManifestLoaded',\n\t value: function onManifestLoaded(data) {\n\t var levels0 = [],\n\t levels = [],\n\t bitrateStart,\n\t i,\n\t bitrateSet = {},\n\t videoCodecFound = false,\n\t audioCodecFound = false,\n\t hls = this.hls;\n\t\n\t // regroup redundant level together\n\t data.levels.forEach(function (level) {\n\t if (level.videoCodec) {\n\t videoCodecFound = true;\n\t }\n\t if (level.audioCodec) {\n\t audioCodecFound = true;\n\t }\n\t var redundantLevelId = bitrateSet[level.bitrate];\n\t if (redundantLevelId === undefined) {\n\t bitrateSet[level.bitrate] = levels0.length;\n\t level.url = [level.url];\n\t level.urlId = 0;\n\t levels0.push(level);\n\t } else {\n\t levels0[redundantLevelId].url.push(level.url);\n\t }\n\t });\n\t\n\t // remove audio-only level if we also have levels with audio+video codecs signalled\n\t if (videoCodecFound && audioCodecFound) {\n\t levels0.forEach(function (level) {\n\t if (level.videoCodec) {\n\t levels.push(level);\n\t }\n\t });\n\t } else {\n\t levels = levels0;\n\t }\n\t\n\t // only keep level with supported audio/video codecs\n\t levels = levels.filter(function (level) {\n\t var checkSupportedAudio = function checkSupportedAudio(codec) {\n\t return MediaSource.isTypeSupported('audio/mp4;codecs=' + codec);\n\t };\n\t var checkSupportedVideo = function checkSupportedVideo(codec) {\n\t return MediaSource.isTypeSupported('video/mp4;codecs=' + codec);\n\t };\n\t var audioCodec = level.audioCodec,\n\t videoCodec = level.videoCodec;\n\t\n\t return (!audioCodec || checkSupportedAudio(audioCodec)) && (!videoCodec || checkSupportedVideo(videoCodec));\n\t });\n\t\n\t if (levels.length) {\n\t // start bitrate is the first bitrate of the manifest\n\t bitrateStart = levels[0].bitrate;\n\t // sort level on bitrate\n\t levels.sort(function (a, b) {\n\t return a.bitrate - b.bitrate;\n\t });\n\t this._levels = levels;\n\t // find index of first level in sorted levels\n\t for (i = 0; i < levels.length; i++) {\n\t if (levels[i].bitrate === bitrateStart) {\n\t this._firstLevel = i;\n\t _logger.logger.log('manifest loaded,' + levels.length + ' level(s) found, first bitrate:' + bitrateStart);\n\t break;\n\t }\n\t }\n\t hls.trigger(_events2.default.MANIFEST_PARSED, { levels: this._levels, firstLevel: this._firstLevel, stats: data.stats });\n\t } else {\n\t hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR, fatal: true, url: hls.url, reason: 'no level with compatible codecs found in manifest' });\n\t }\n\t return;\n\t }\n\t }, {\n\t key: 'setLevelInternal',\n\t value: function setLevelInternal(newLevel) {\n\t // check if level idx is valid\n\t if (newLevel >= 0 && newLevel < this._levels.length) {\n\t // stopping live reloading timer if any\n\t if (this.timer) {\n\t clearInterval(this.timer);\n\t this.timer = null;\n\t }\n\t this._level = newLevel;\n\t _logger.logger.log('switching to level ' + newLevel);\n\t this.hls.trigger(_events2.default.LEVEL_SWITCH, { level: newLevel });\n\t var level = this._levels[newLevel];\n\t // check if we need to load playlist for this level\n\t if (level.details === undefined || level.details.live === true) {\n\t // level not retrieved yet, or live playlist we need to (re)load it\n\t _logger.logger.log('(re)loading playlist for level ' + newLevel);\n\t var urlId = level.urlId;\n\t this.hls.trigger(_events2.default.LEVEL_LOADING, { url: level.url[urlId], level: newLevel, id: urlId });\n\t }\n\t } else {\n\t // invalid level id given, trigger error\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.OTHER_ERROR, details: _errors.ErrorDetails.LEVEL_SWITCH_ERROR, level: newLevel, fatal: false, reason: 'invalid level idx' });\n\t }\n\t }\n\t }, {\n\t key: 'onError',\n\t value: function onError(data) {\n\t if (data.fatal) {\n\t return;\n\t }\n\t\n\t var details = data.details,\n\t hls = this.hls,\n\t levelId,\n\t level;\n\t // try to recover not fatal errors\n\t switch (details) {\n\t case _errors.ErrorDetails.FRAG_LOAD_ERROR:\n\t case _errors.ErrorDetails.FRAG_LOAD_TIMEOUT:\n\t case _errors.ErrorDetails.FRAG_LOOP_LOADING_ERROR:\n\t case _errors.ErrorDetails.KEY_LOAD_ERROR:\n\t case _errors.ErrorDetails.KEY_LOAD_TIMEOUT:\n\t levelId = data.frag.level;\n\t break;\n\t case _errors.ErrorDetails.LEVEL_LOAD_ERROR:\n\t case _errors.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n\t levelId = data.level;\n\t break;\n\t default:\n\t break;\n\t }\n\t /* try to switch to a redundant stream if any available.\n\t * if no redundant stream available, emergency switch down (if in auto mode and current level not 0)\n\t * otherwise, we cannot recover this network error ...\n\t * don't raise FRAG_LOAD_ERROR and FRAG_LOAD_TIMEOUT as fatal, as it is handled by mediaController\n\t */\n\t if (levelId !== undefined) {\n\t level = this._levels[levelId];\n\t if (level.urlId < level.url.length - 1) {\n\t level.urlId++;\n\t level.details = undefined;\n\t _logger.logger.warn('level controller,' + details + ' for level ' + levelId + ': switching to redundant stream id ' + level.urlId);\n\t } else {\n\t // we could try to recover if in auto mode and current level not lowest level (0)\n\t var recoverable = this._manualLevel === -1 && levelId;\n\t if (recoverable) {\n\t _logger.logger.warn('level controller,' + details + ': emergency switch-down for next fragment');\n\t hls.abrController.nextAutoLevel = 0;\n\t } else if (level && level.details && level.details.live) {\n\t _logger.logger.warn('level controller,' + details + ' on live stream, discard');\n\t // FRAG_LOAD_ERROR and FRAG_LOAD_TIMEOUT are handled by mediaController\n\t } else if (details !== _errors.ErrorDetails.FRAG_LOAD_ERROR && details !== _errors.ErrorDetails.FRAG_LOAD_TIMEOUT) {\n\t _logger.logger.error('cannot recover ' + details + ' error');\n\t this._level = undefined;\n\t // stopping live reloading timer if any\n\t if (this.timer) {\n\t clearInterval(this.timer);\n\t this.timer = null;\n\t }\n\t // redispatch same error but with fatal set to true\n\t data.fatal = true;\n\t hls.trigger(event, data);\n\t }\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'onLevelLoaded',\n\t value: function onLevelLoaded(data) {\n\t // check if current playlist is a live playlist\n\t if (data.details.live && !this.timer) {\n\t // if live playlist we will have to reload it periodically\n\t // set reload period to playlist target duration\n\t this.timer = setInterval(this.ontick, 1000 * data.details.targetduration);\n\t }\n\t if (!data.details.live && this.timer) {\n\t // playlist is not live and timer is armed : stopping it\n\t clearInterval(this.timer);\n\t this.timer = null;\n\t }\n\t }\n\t }, {\n\t key: 'tick',\n\t value: function tick() {\n\t var levelId = this._level;\n\t if (levelId !== undefined && this.canload) {\n\t var level = this._levels[levelId],\n\t urlId = level.urlId;\n\t this.hls.trigger(_events2.default.LEVEL_LOADING, { url: level.url[urlId], level: levelId, id: urlId });\n\t }\n\t }\n\t }, {\n\t key: 'levels',\n\t get: function get() {\n\t return this._levels;\n\t }\n\t }, {\n\t key: 'level',\n\t get: function get() {\n\t return this._level;\n\t },\n\t set: function set(newLevel) {\n\t if (this._level !== newLevel || this._levels[newLevel].details === undefined) {\n\t this.setLevelInternal(newLevel);\n\t }\n\t }\n\t }, {\n\t key: 'manualLevel',\n\t get: function get() {\n\t return this._manualLevel;\n\t },\n\t set: function set(newLevel) {\n\t this._manualLevel = newLevel;\n\t if (newLevel !== -1) {\n\t this.level = newLevel;\n\t }\n\t }\n\t }, {\n\t key: 'firstLevel',\n\t get: function get() {\n\t return this._firstLevel;\n\t },\n\t set: function set(newLevel) {\n\t this._firstLevel = newLevel;\n\t }\n\t }, {\n\t key: 'startLevel',\n\t get: function get() {\n\t if (this._startLevel === undefined) {\n\t return this._firstLevel;\n\t } else {\n\t return this._startLevel;\n\t }\n\t },\n\t set: function set(newLevel) {\n\t this._startLevel = newLevel;\n\t }\n\t }, {\n\t key: 'nextLoadLevel',\n\t get: function get() {\n\t if (this._manualLevel !== -1) {\n\t return this._manualLevel;\n\t } else {\n\t return this.hls.abrController.nextAutoLevel;\n\t }\n\t },\n\t set: function set(nextLevel) {\n\t this.level = nextLevel;\n\t if (this._manualLevel === -1) {\n\t this.hls.abrController.nextAutoLevel = nextLevel;\n\t }\n\t }\n\t }]);\n\t\n\t return LevelController;\n\t}(_eventHandler2.default);\n\t\n\texports.default = LevelController;\n\n/***/ },\n/* 50 */\n/*!******************************************************!*\\\n !*** ./~/hls.js/lib/controller/stream-controller.js ***!\n \\******************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _demuxer = __webpack_require__(/*! ../demux/demuxer */ 57);\n\t\n\tvar _demuxer2 = _interopRequireDefault(_demuxer);\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _binarySearch = __webpack_require__(/*! ../utils/binary-search */ 71);\n\t\n\tvar _binarySearch2 = _interopRequireDefault(_binarySearch);\n\t\n\tvar _bufferHelper = __webpack_require__(/*! ../helper/buffer-helper */ 29);\n\t\n\tvar _bufferHelper2 = _interopRequireDefault(_bufferHelper);\n\t\n\tvar _levelHelper = __webpack_require__(/*! ../helper/level-helper */ 61);\n\t\n\tvar _levelHelper2 = _interopRequireDefault(_levelHelper);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * Stream Controller\n\t */\n\t\n\tvar State = {\n\t STOPPED: 'STOPPED',\n\t STARTING: 'STARTING',\n\t IDLE: 'IDLE',\n\t PAUSED: 'PAUSED',\n\t KEY_LOADING: 'KEY_LOADING',\n\t FRAG_LOADING: 'FRAG_LOADING',\n\t FRAG_LOADING_WAITING_RETRY: 'FRAG_LOADING_WAITING_RETRY',\n\t WAITING_LEVEL: 'WAITING_LEVEL',\n\t PARSING: 'PARSING',\n\t PARSED: 'PARSED',\n\t ENDED: 'ENDED',\n\t ERROR: 'ERROR'\n\t};\n\t\n\tvar StreamController = function (_EventHandler) {\n\t _inherits(StreamController, _EventHandler);\n\t\n\t function StreamController(hls) {\n\t _classCallCheck(this, StreamController);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(StreamController).call(this, hls, _events2.default.MEDIA_ATTACHED, _events2.default.MEDIA_DETACHING, _events2.default.MANIFEST_LOADING, _events2.default.MANIFEST_PARSED, _events2.default.LEVEL_LOADED, _events2.default.KEY_LOADED, _events2.default.FRAG_LOADED, _events2.default.FRAG_LOAD_EMERGENCY_ABORTED, _events2.default.FRAG_PARSING_INIT_SEGMENT, _events2.default.FRAG_PARSING_DATA, _events2.default.FRAG_PARSED, _events2.default.ERROR, _events2.default.BUFFER_APPENDED, _events2.default.BUFFER_FLUSHED));\n\t\n\t _this.config = hls.config;\n\t _this.audioCodecSwap = false;\n\t _this.ticks = 0;\n\t _this.ontick = _this.tick.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(StreamController, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t this.stopLoad();\n\t if (this.timer) {\n\t clearInterval(this.timer);\n\t this.timer = null;\n\t }\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t this.state = State.STOPPED;\n\t }\n\t }, {\n\t key: 'startLoad',\n\t value: function startLoad() {\n\t var startPosition = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\t\n\t if (this.levels) {\n\t var media = this.media,\n\t lastCurrentTime = this.lastCurrentTime;\n\t this.stopLoad();\n\t this.demuxer = new _demuxer2.default(this.hls);\n\t if (!this.timer) {\n\t this.timer = setInterval(this.ontick, 100);\n\t }\n\t this.level = -1;\n\t this.fragLoadError = 0;\n\t if (media && lastCurrentTime) {\n\t _logger.logger.log('configure startPosition @' + lastCurrentTime);\n\t if (!this.lastPaused) {\n\t _logger.logger.log('resuming video');\n\t media.play();\n\t }\n\t this.state = State.IDLE;\n\t } else {\n\t this.lastCurrentTime = this.startPosition ? this.startPosition : startPosition;\n\t this.state = State.STARTING;\n\t }\n\t this.nextLoadPosition = this.startPosition = this.lastCurrentTime;\n\t this.tick();\n\t } else {\n\t _logger.logger.warn('cannot start loading as manifest not parsed yet');\n\t this.state = State.STOPPED;\n\t }\n\t }\n\t }, {\n\t key: 'stopLoad',\n\t value: function stopLoad() {\n\t var frag = this.fragCurrent;\n\t if (frag) {\n\t if (frag.loader) {\n\t frag.loader.abort();\n\t }\n\t this.fragCurrent = null;\n\t }\n\t this.fragPrevious = null;\n\t if (this.demuxer) {\n\t this.demuxer.destroy();\n\t this.demuxer = null;\n\t }\n\t this.state = State.STOPPED;\n\t }\n\t }, {\n\t key: 'tick',\n\t value: function tick() {\n\t this.ticks++;\n\t if (this.ticks === 1) {\n\t this.doTick();\n\t if (this.ticks > 1) {\n\t setTimeout(this.tick, 1);\n\t }\n\t this.ticks = 0;\n\t }\n\t }\n\t }, {\n\t key: 'doTick',\n\t value: function doTick() {\n\t var _this2 = this;\n\t\n\t var pos,\n\t level,\n\t levelDetails,\n\t hls = this.hls,\n\t config = hls.config;\n\t //logger.log(this.state);\n\t switch (this.state) {\n\t case State.ERROR:\n\t //don't do anything in error state to avoid breaking further ...\n\t case State.PAUSED:\n\t //don't do anything in paused state either ...\n\t break;\n\t case State.STARTING:\n\t // determine load level\n\t this.startLevel = hls.startLevel;\n\t if (this.startLevel === -1) {\n\t // -1 : guess start Level by doing a bitrate test by loading first fragment of lowest quality level\n\t this.startLevel = 0;\n\t this.fragBitrateTest = true;\n\t }\n\t // set new level to playlist loader : this will trigger start level load\n\t this.level = hls.nextLoadLevel = this.startLevel;\n\t this.state = State.WAITING_LEVEL;\n\t this.loadedmetadata = false;\n\t break;\n\t case State.IDLE:\n\t // if video not attached AND\n\t // start fragment already requested OR start frag prefetch disable\n\t // exit loop\n\t // => if media not attached but start frag prefetch is enabled and start frag not requested yet, we will not exit loop\n\t if (!this.media && (this.startFragRequested || !config.startFragPrefetch)) {\n\t break;\n\t }\n\t // determine next candidate fragment to be loaded, based on current position and\n\t // end of buffer position\n\t // ensure 60s of buffer upfront\n\t // if we have not yet loaded any fragment, start loading from start position\n\t if (this.loadedmetadata) {\n\t pos = this.media.currentTime;\n\t } else {\n\t pos = this.nextLoadPosition;\n\t }\n\t // determine next load level\n\t if (this.startFragRequested === false) {\n\t level = this.startLevel;\n\t } else {\n\t // we are not at playback start, get next load level from level Controller\n\t level = hls.nextLoadLevel;\n\t }\n\t var bufferInfo = _bufferHelper2.default.bufferInfo(this.media, pos, config.maxBufferHole),\n\t bufferLen = bufferInfo.len,\n\t bufferEnd = bufferInfo.end,\n\t fragPrevious = this.fragPrevious,\n\t maxBufLen;\n\t // compute max Buffer Length that we could get from this load level, based on level bitrate. don't buffer more than 60 MB and more than 30s\n\t if (this.levels[level].hasOwnProperty('bitrate')) {\n\t maxBufLen = Math.max(8 * config.maxBufferSize / this.levels[level].bitrate, config.maxBufferLength);\n\t maxBufLen = Math.min(maxBufLen, config.maxMaxBufferLength);\n\t } else {\n\t maxBufLen = config.maxBufferLength;\n\t }\n\t // if buffer length is less than maxBufLen try to load a new fragment\n\t if (bufferLen < maxBufLen) {\n\t // set next load level : this will trigger a playlist load if needed\n\t hls.nextLoadLevel = level;\n\t this.level = level;\n\t levelDetails = this.levels[level].details;\n\t // if level info not retrieved yet, switch state and wait for level retrieval\n\t // if live playlist, ensure that new playlist has been refreshed to avoid loading/try to load\n\t // a useless and outdated fragment (that might even introduce load error if it is already out of the live playlist)\n\t if (typeof levelDetails === 'undefined' || levelDetails.live && this.levelLastLoaded !== level) {\n\t this.state = State.WAITING_LEVEL;\n\t break;\n\t }\n\t // find fragment index, contiguous with end of buffer position\n\t var fragments = levelDetails.fragments,\n\t fragLen = fragments.length,\n\t start = fragments[0].start,\n\t end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration,\n\t frag = undefined;\n\t\n\t // in case of live playlist we need to ensure that requested position is not located before playlist start\n\t if (levelDetails.live) {\n\t // check if requested position is within seekable boundaries :\n\t //logger.log(`start/pos/bufEnd/seeking:${start.toFixed(3)}/${pos.toFixed(3)}/${bufferEnd.toFixed(3)}/${this.media.seeking}`);\n\t var maxLatency = config.liveMaxLatencyDuration !== undefined ? config.liveMaxLatencyDuration : config.liveMaxLatencyDurationCount * levelDetails.targetduration;\n\t\n\t if (bufferEnd < Math.max(start, end - maxLatency)) {\n\t var targetLatency = config.liveSyncDuration !== undefined ? config.liveSyncDuration : config.liveSyncDurationCount * levelDetails.targetduration;\n\t this.seekAfterBuffered = start + Math.max(0, levelDetails.totalduration - targetLatency);\n\t _logger.logger.log('buffer end: ' + bufferEnd + ' is located too far from the end of live sliding playlist, media position will be reseted to: ' + this.seekAfterBuffered.toFixed(3));\n\t bufferEnd = this.seekAfterBuffered;\n\t }\n\t if (this.startFragRequested && !levelDetails.PTSKnown) {\n\t /* we are switching level on live playlist, but we don't have any PTS info for that quality level ...\n\t try to load frag matching with next SN.\n\t even if SN are not synchronized between playlists, loading this frag will help us\n\t compute playlist sliding and find the right one after in case it was not the right consecutive one */\n\t if (fragPrevious) {\n\t var targetSN = fragPrevious.sn + 1;\n\t if (targetSN >= levelDetails.startSN && targetSN <= levelDetails.endSN) {\n\t frag = fragments[targetSN - levelDetails.startSN];\n\t _logger.logger.log('live playlist, switching playlist, load frag with next SN: ' + frag.sn);\n\t }\n\t }\n\t if (!frag) {\n\t /* we have no idea about which fragment should be loaded.\n\t so let's load mid fragment. it will help computing playlist sliding and find the right one\n\t */\n\t frag = fragments[Math.min(fragLen - 1, Math.round(fragLen / 2))];\n\t _logger.logger.log('live playlist, switching playlist, unknown, load middle frag : ' + frag.sn);\n\t }\n\t }\n\t } else {\n\t // VoD playlist: if bufferEnd before start of playlist, load first fragment\n\t if (bufferEnd < start) {\n\t frag = fragments[0];\n\t }\n\t }\n\t if (!frag) {\n\t (function () {\n\t var foundFrag = undefined;\n\t var maxFragLookUpTolerance = config.maxFragLookUpTolerance;\n\t if (bufferEnd < end) {\n\t if (bufferEnd > end - maxFragLookUpTolerance) {\n\t maxFragLookUpTolerance = 0;\n\t }\n\t foundFrag = _binarySearch2.default.search(fragments, function (candidate) {\n\t // offset should be within fragment boundary - config.maxFragLookUpTolerance\n\t // this is to cope with situations like\n\t // bufferEnd = 9.991\n\t // frag[Ø] : [0,10]\n\t // frag[1] : [10,20]\n\t // bufferEnd is within frag[0] range ... although what we are expecting is to return frag[1] here\n\t // frag start frag start+duration\n\t // |-----------------------------|\n\t // <---> <--->\n\t // ...--------><-----------------------------><---------....\n\t // previous frag matching fragment next frag\n\t // return -1 return 0 return 1\n\t //logger.log(`level/sn/start/end/bufEnd:${level}/${candidate.sn}/${candidate.start}/${(candidate.start+candidate.duration)}/${bufferEnd}`);\n\t if (candidate.start + candidate.duration - maxFragLookUpTolerance <= bufferEnd) {\n\t return 1;\n\t } else if (candidate.start - maxFragLookUpTolerance > bufferEnd) {\n\t return -1;\n\t }\n\t return 0;\n\t });\n\t } else {\n\t // reach end of playlist\n\t foundFrag = fragments[fragLen - 1];\n\t }\n\t if (foundFrag) {\n\t frag = foundFrag;\n\t start = foundFrag.start;\n\t //logger.log('find SN matching with pos:' + bufferEnd + ':' + frag.sn);\n\t if (fragPrevious && frag.level === fragPrevious.level && frag.sn === fragPrevious.sn) {\n\t if (frag.sn < levelDetails.endSN) {\n\t frag = fragments[frag.sn + 1 - levelDetails.startSN];\n\t _logger.logger.log('SN just loaded, load next one: ' + frag.sn);\n\t } else {\n\t // have we reached end of VOD playlist ?\n\t if (!levelDetails.live) {\n\t _this2.hls.trigger(_events2.default.BUFFER_EOS);\n\t _this2.state = State.ENDED;\n\t }\n\t frag = null;\n\t }\n\t }\n\t }\n\t })();\n\t }\n\t if (frag) {\n\t //logger.log(' loading frag ' + i +',pos/bufEnd:' + pos.toFixed(3) + '/' + bufferEnd.toFixed(3));\n\t if (frag.decryptdata.uri != null && frag.decryptdata.key == null) {\n\t _logger.logger.log('Loading key for ' + frag.sn + ' of [' + levelDetails.startSN + ' ,' + levelDetails.endSN + '],level ' + level);\n\t this.state = State.KEY_LOADING;\n\t hls.trigger(_events2.default.KEY_LOADING, { frag: frag });\n\t } else {\n\t _logger.logger.log('Loading ' + frag.sn + ' of [' + levelDetails.startSN + ' ,' + levelDetails.endSN + '],level ' + level + ', currentTime:' + pos + ',bufferEnd:' + bufferEnd.toFixed(3));\n\t frag.autoLevel = hls.autoLevelEnabled;\n\t if (this.levels.length > 1) {\n\t frag.expectedLen = Math.round(frag.duration * this.levels[level].bitrate / 8);\n\t frag.trequest = performance.now();\n\t }\n\t // ensure that we are not reloading the same fragments in loop ...\n\t if (this.fragLoadIdx !== undefined) {\n\t this.fragLoadIdx++;\n\t } else {\n\t this.fragLoadIdx = 0;\n\t }\n\t if (frag.loadCounter) {\n\t frag.loadCounter++;\n\t var maxThreshold = config.fragLoadingLoopThreshold;\n\t // if this frag has already been loaded 3 times, and if it has been reloaded recently\n\t if (frag.loadCounter > maxThreshold && Math.abs(this.fragLoadIdx - frag.loadIdx) < maxThreshold) {\n\t hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_LOOP_LOADING_ERROR, fatal: false, frag: frag });\n\t return;\n\t }\n\t } else {\n\t frag.loadCounter = 1;\n\t }\n\t frag.loadIdx = this.fragLoadIdx;\n\t this.fragCurrent = frag;\n\t this.startFragRequested = true;\n\t hls.trigger(_events2.default.FRAG_LOADING, { frag: frag });\n\t this.state = State.FRAG_LOADING;\n\t }\n\t }\n\t }\n\t break;\n\t case State.WAITING_LEVEL:\n\t level = this.levels[this.level];\n\t // check if playlist is already loaded\n\t if (level && level.details) {\n\t this.state = State.IDLE;\n\t }\n\t break;\n\t case State.FRAG_LOADING_WAITING_RETRY:\n\t var now = performance.now();\n\t var retryDate = this.retryDate;\n\t var media = this.media;\n\t var isSeeking = media && media.seeking;\n\t // if current time is gt than retryDate, or if media seeking let's switch to IDLE state to retry loading\n\t if (!retryDate || now >= retryDate || isSeeking) {\n\t _logger.logger.log('mediaController: retryDate reached, switch back to IDLE state');\n\t this.state = State.IDLE;\n\t }\n\t break;\n\t case State.STOPPED:\n\t case State.FRAG_LOADING:\n\t case State.PARSING:\n\t case State.PARSED:\n\t case State.ENDED:\n\t break;\n\t default:\n\t break;\n\t }\n\t // check buffer\n\t this._checkBuffer();\n\t // check/update current fragment\n\t this._checkFragmentChanged();\n\t }\n\t }, {\n\t key: 'getBufferRange',\n\t value: function getBufferRange(position) {\n\t var i,\n\t range,\n\t bufferRange = this.bufferRange;\n\t if (bufferRange) {\n\t for (i = bufferRange.length - 1; i >= 0; i--) {\n\t range = bufferRange[i];\n\t if (position >= range.start && position <= range.end) {\n\t return range;\n\t }\n\t }\n\t }\n\t return null;\n\t }\n\t }, {\n\t key: 'followingBufferRange',\n\t value: function followingBufferRange(range) {\n\t if (range) {\n\t // try to get range of next fragment (500ms after this range)\n\t return this.getBufferRange(range.end + 0.5);\n\t }\n\t return null;\n\t }\n\t }, {\n\t key: 'isBuffered',\n\t value: function isBuffered(position) {\n\t var v = this.media,\n\t buffered = v.buffered;\n\t for (var i = 0; i < buffered.length; i++) {\n\t if (position >= buffered.start(i) && position <= buffered.end(i)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t }\n\t }, {\n\t key: '_checkFragmentChanged',\n\t value: function _checkFragmentChanged() {\n\t var rangeCurrent,\n\t currentTime,\n\t video = this.media;\n\t if (video && video.seeking === false) {\n\t currentTime = video.currentTime;\n\t /* if video element is in seeked state, currentTime can only increase.\n\t (assuming that playback rate is positive ...)\n\t As sometimes currentTime jumps back to zero after a\n\t media decode error, check this, to avoid seeking back to\n\t wrong position after a media decode error\n\t */\n\t if (currentTime > video.playbackRate * this.lastCurrentTime) {\n\t this.lastCurrentTime = currentTime;\n\t }\n\t if (this.isBuffered(currentTime)) {\n\t rangeCurrent = this.getBufferRange(currentTime);\n\t } else if (this.isBuffered(currentTime + 0.1)) {\n\t /* ensure that FRAG_CHANGED event is triggered at startup,\n\t when first video frame is displayed and playback is paused.\n\t add a tolerance of 100ms, in case current position is not buffered,\n\t check if current pos+100ms is buffered and use that buffer range\n\t for FRAG_CHANGED event reporting */\n\t rangeCurrent = this.getBufferRange(currentTime + 0.1);\n\t }\n\t if (rangeCurrent) {\n\t var fragPlaying = rangeCurrent.frag;\n\t if (fragPlaying !== this.fragPlaying) {\n\t this.fragPlaying = fragPlaying;\n\t this.hls.trigger(_events2.default.FRAG_CHANGED, { frag: fragPlaying });\n\t }\n\t }\n\t }\n\t }\n\t\n\t /*\n\t on immediate level switch :\n\t - pause playback if playing\n\t - cancel any pending load request\n\t - and trigger a buffer flush\n\t */\n\t\n\t }, {\n\t key: 'immediateLevelSwitch',\n\t value: function immediateLevelSwitch() {\n\t _logger.logger.log('immediateLevelSwitch');\n\t if (!this.immediateSwitch) {\n\t this.immediateSwitch = true;\n\t this.previouslyPaused = this.media.paused;\n\t this.media.pause();\n\t }\n\t var fragCurrent = this.fragCurrent;\n\t if (fragCurrent && fragCurrent.loader) {\n\t fragCurrent.loader.abort();\n\t }\n\t this.fragCurrent = null;\n\t // flush everything\n\t this.hls.trigger(_events2.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY });\n\t this.state = State.PAUSED;\n\t // increase fragment load Index to avoid frag loop loading error after buffer flush\n\t this.fragLoadIdx += 2 * this.config.fragLoadingLoopThreshold;\n\t // speed up switching, trigger timer function\n\t this.tick();\n\t }\n\t\n\t /*\n\t on immediate level switch end, after new fragment has been buffered :\n\t - nudge video decoder by slightly adjusting video currentTime\n\t - resume the playback if needed\n\t */\n\t\n\t }, {\n\t key: 'immediateLevelSwitchEnd',\n\t value: function immediateLevelSwitchEnd() {\n\t this.immediateSwitch = false;\n\t this.media.currentTime -= 0.0001;\n\t if (!this.previouslyPaused) {\n\t this.media.play();\n\t }\n\t }\n\t }, {\n\t key: 'nextLevelSwitch',\n\t value: function nextLevelSwitch() {\n\t /* try to switch ASAP without breaking video playback :\n\t in order to ensure smooth but quick level switching,\n\t we need to find the next flushable buffer range\n\t we should take into account new segment fetch time\n\t */\n\t var fetchdelay, currentRange, nextRange;\n\t currentRange = this.getBufferRange(this.media.currentTime);\n\t if (currentRange && currentRange.start > 1) {\n\t // flush buffer preceding current fragment (flush until current fragment start offset)\n\t // minus 1s to avoid video freezing, that could happen if we flush keyframe of current video ...\n\t this.hls.trigger(_events2.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: currentRange.start - 1 });\n\t this.state = State.PAUSED;\n\t }\n\t if (!this.media.paused) {\n\t // add a safety delay of 1s\n\t var nextLevelId = this.hls.nextLoadLevel,\n\t nextLevel = this.levels[nextLevelId],\n\t fragLastKbps = this.fragLastKbps;\n\t if (fragLastKbps && this.fragCurrent) {\n\t fetchdelay = this.fragCurrent.duration * nextLevel.bitrate / (1000 * fragLastKbps) + 1;\n\t } else {\n\t fetchdelay = 0;\n\t }\n\t } else {\n\t fetchdelay = 0;\n\t }\n\t //logger.log('fetchdelay:'+fetchdelay);\n\t // find buffer range that will be reached once new fragment will be fetched\n\t nextRange = this.getBufferRange(this.media.currentTime + fetchdelay);\n\t if (nextRange) {\n\t // we can flush buffer range following this one without stalling playback\n\t nextRange = this.followingBufferRange(nextRange);\n\t if (nextRange) {\n\t // flush position is the start position of this new buffer\n\t this.hls.trigger(_events2.default.BUFFER_FLUSHING, { startOffset: nextRange.start, endOffset: Number.POSITIVE_INFINITY });\n\t this.state = State.PAUSED;\n\t // if we are here, we can also cancel any loading/demuxing in progress, as they are useless\n\t var fragCurrent = this.fragCurrent;\n\t if (fragCurrent && fragCurrent.loader) {\n\t fragCurrent.loader.abort();\n\t }\n\t this.fragCurrent = null;\n\t // increase fragment load Index to avoid frag loop loading error after buffer flush\n\t this.fragLoadIdx += 2 * this.config.fragLoadingLoopThreshold;\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'onMediaAttached',\n\t value: function onMediaAttached(data) {\n\t var media = this.media = data.media;\n\t this.onvseeking = this.onMediaSeeking.bind(this);\n\t this.onvseeked = this.onMediaSeeked.bind(this);\n\t this.onvended = this.onMediaEnded.bind(this);\n\t media.addEventListener('seeking', this.onvseeking);\n\t media.addEventListener('seeked', this.onvseeked);\n\t media.addEventListener('ended', this.onvended);\n\t if (this.levels && this.config.autoStartLoad) {\n\t this.hls.startLoad();\n\t }\n\t }\n\t }, {\n\t key: 'onMediaDetaching',\n\t value: function onMediaDetaching() {\n\t var media = this.media;\n\t if (media && media.ended) {\n\t _logger.logger.log('MSE detaching and video ended, reset startPosition');\n\t this.startPosition = this.lastCurrentTime = 0;\n\t }\n\t\n\t // reset fragment loading counter on MSE detaching to avoid reporting FRAG_LOOP_LOADING_ERROR after error recovery\n\t var levels = this.levels;\n\t if (levels) {\n\t // reset fragment load counter\n\t levels.forEach(function (level) {\n\t if (level.details) {\n\t level.details.fragments.forEach(function (fragment) {\n\t fragment.loadCounter = undefined;\n\t });\n\t }\n\t });\n\t }\n\t // remove video listeners\n\t if (media) {\n\t media.removeEventListener('seeking', this.onvseeking);\n\t media.removeEventListener('seeked', this.onvseeked);\n\t media.removeEventListener('ended', this.onvended);\n\t this.onvseeking = this.onvseeked = this.onvended = null;\n\t }\n\t this.media = null;\n\t this.loadedmetadata = false;\n\t this.stopLoad();\n\t }\n\t }, {\n\t key: 'onMediaSeeking',\n\t value: function onMediaSeeking() {\n\t if (this.state === State.FRAG_LOADING) {\n\t // check if currently loaded fragment is inside buffer.\n\t //if outside, cancel fragment loading, otherwise do nothing\n\t if (_bufferHelper2.default.bufferInfo(this.media, this.media.currentTime, this.config.maxBufferHole).len === 0) {\n\t _logger.logger.log('seeking outside of buffer while fragment load in progress, cancel fragment load');\n\t var fragCurrent = this.fragCurrent;\n\t if (fragCurrent) {\n\t if (fragCurrent.loader) {\n\t fragCurrent.loader.abort();\n\t }\n\t this.fragCurrent = null;\n\t }\n\t this.fragPrevious = null;\n\t // switch to IDLE state to load new fragment\n\t this.state = State.IDLE;\n\t }\n\t } else if (this.state === State.ENDED) {\n\t // switch to IDLE state to check for potential new fragment\n\t this.state = State.IDLE;\n\t }\n\t if (this.media) {\n\t this.lastCurrentTime = this.media.currentTime;\n\t }\n\t // avoid reporting fragment loop loading error in case user is seeking several times on same position\n\t if (this.fragLoadIdx !== undefined) {\n\t this.fragLoadIdx += 2 * this.config.fragLoadingLoopThreshold;\n\t }\n\t // tick to speed up processing\n\t this.tick();\n\t }\n\t }, {\n\t key: 'onMediaSeeked',\n\t value: function onMediaSeeked() {\n\t // tick to speed up FRAGMENT_PLAYING triggering\n\t this.tick();\n\t }\n\t }, {\n\t key: 'onMediaEnded',\n\t value: function onMediaEnded() {\n\t _logger.logger.log('media ended');\n\t // reset startPosition and lastCurrentTime to restart playback @ stream beginning\n\t this.startPosition = this.lastCurrentTime = 0;\n\t }\n\t }, {\n\t key: 'onManifestLoading',\n\t value: function onManifestLoading() {\n\t // reset buffer on manifest loading\n\t _logger.logger.log('trigger BUFFER_RESET');\n\t this.hls.trigger(_events2.default.BUFFER_RESET);\n\t this.bufferRange = [];\n\t this.stalled = false;\n\t }\n\t }, {\n\t key: 'onManifestParsed',\n\t value: function onManifestParsed(data) {\n\t var aac = false,\n\t heaac = false,\n\t codec;\n\t data.levels.forEach(function (level) {\n\t // detect if we have different kind of audio codecs used amongst playlists\n\t codec = level.audioCodec;\n\t if (codec) {\n\t if (codec.indexOf('mp4a.40.2') !== -1) {\n\t aac = true;\n\t }\n\t if (codec.indexOf('mp4a.40.5') !== -1) {\n\t heaac = true;\n\t }\n\t }\n\t });\n\t this.audioCodecSwitch = aac && heaac;\n\t if (this.audioCodecSwitch) {\n\t _logger.logger.log('both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC');\n\t }\n\t this.levels = data.levels;\n\t this.startLevelLoaded = false;\n\t this.startFragRequested = false;\n\t if (this.config.autoStartLoad) {\n\t this.hls.startLoad();\n\t }\n\t }\n\t }, {\n\t key: 'onLevelLoaded',\n\t value: function onLevelLoaded(data) {\n\t var newDetails = data.details,\n\t newLevelId = data.level,\n\t curLevel = this.levels[newLevelId],\n\t duration = newDetails.totalduration,\n\t sliding = 0;\n\t\n\t _logger.logger.log('level ' + newLevelId + ' loaded [' + newDetails.startSN + ',' + newDetails.endSN + '],duration:' + duration);\n\t this.levelLastLoaded = newLevelId;\n\t\n\t if (newDetails.live) {\n\t var curDetails = curLevel.details;\n\t if (curDetails) {\n\t // we already have details for that level, merge them\n\t _levelHelper2.default.mergeDetails(curDetails, newDetails);\n\t sliding = newDetails.fragments[0].start;\n\t if (newDetails.PTSKnown) {\n\t _logger.logger.log('live playlist sliding:' + sliding.toFixed(3));\n\t } else {\n\t _logger.logger.log('live playlist - outdated PTS, unknown sliding');\n\t }\n\t } else {\n\t newDetails.PTSKnown = false;\n\t _logger.logger.log('live playlist - first load, unknown sliding');\n\t }\n\t } else {\n\t newDetails.PTSKnown = false;\n\t }\n\t // override level info\n\t curLevel.details = newDetails;\n\t this.hls.trigger(_events2.default.LEVEL_UPDATED, { details: newDetails, level: newLevelId });\n\t\n\t // compute start position\n\t if (this.startFragRequested === false) {\n\t // if live playlist, set start position to be fragment N-this.config.liveSyncDurationCount (usually 3)\n\t if (newDetails.live) {\n\t var targetLatency = this.config.liveSyncDuration !== undefined ? this.config.liveSyncDuration : this.config.liveSyncDurationCount * newDetails.targetduration;\n\t this.startPosition = Math.max(0, sliding + duration - targetLatency);\n\t }\n\t this.nextLoadPosition = this.startPosition;\n\t }\n\t // only switch batck to IDLE state if we were waiting for level to start downloading a new fragment\n\t if (this.state === State.WAITING_LEVEL) {\n\t this.state = State.IDLE;\n\t }\n\t //trigger handler right now\n\t this.tick();\n\t }\n\t }, {\n\t key: 'onKeyLoaded',\n\t value: function onKeyLoaded() {\n\t if (this.state === State.KEY_LOADING) {\n\t this.state = State.IDLE;\n\t this.tick();\n\t }\n\t }\n\t }, {\n\t key: 'onFragLoaded',\n\t value: function onFragLoaded(data) {\n\t var fragCurrent = this.fragCurrent;\n\t if (this.state === State.FRAG_LOADING && fragCurrent && data.frag.level === fragCurrent.level && data.frag.sn === fragCurrent.sn) {\n\t if (this.fragBitrateTest === true) {\n\t // switch back to IDLE state ... we just loaded a fragment to determine adequate start bitrate and initialize autoswitch algo\n\t this.state = State.IDLE;\n\t this.fragBitrateTest = false;\n\t data.stats.tparsed = data.stats.tbuffered = performance.now();\n\t this.hls.trigger(_events2.default.FRAG_BUFFERED, { stats: data.stats, frag: fragCurrent });\n\t } else {\n\t this.state = State.PARSING;\n\t // transmux the MPEG-TS data to ISO-BMFF segments\n\t this.stats = data.stats;\n\t var currentLevel = this.levels[this.level],\n\t details = currentLevel.details,\n\t duration = details.totalduration,\n\t start = fragCurrent.start,\n\t level = fragCurrent.level,\n\t sn = fragCurrent.sn,\n\t audioCodec = currentLevel.audioCodec || this.config.defaultAudioCodec;\n\t if (this.audioCodecSwap) {\n\t _logger.logger.log('swapping playlist audio codec');\n\t if (audioCodec === undefined) {\n\t audioCodec = this.lastAudioCodec;\n\t }\n\t if (audioCodec) {\n\t if (audioCodec.indexOf('mp4a.40.5') !== -1) {\n\t audioCodec = 'mp4a.40.2';\n\t } else {\n\t audioCodec = 'mp4a.40.5';\n\t }\n\t }\n\t }\n\t this.pendingAppending = 0;\n\t _logger.logger.log('Demuxing ' + sn + ' of [' + details.startSN + ' ,' + details.endSN + '],level ' + level);\n\t this.demuxer.push(data.payload, audioCodec, currentLevel.videoCodec, start, fragCurrent.cc, level, sn, duration, fragCurrent.decryptdata);\n\t }\n\t }\n\t this.fragLoadError = 0;\n\t }\n\t }, {\n\t key: 'onFragParsingInitSegment',\n\t value: function onFragParsingInitSegment(data) {\n\t if (this.state === State.PARSING) {\n\t var tracks = data.tracks,\n\t trackName,\n\t track;\n\t\n\t // include levelCodec in audio and video tracks\n\t track = tracks.audio;\n\t if (track) {\n\t var audioCodec = this.levels[this.level].audioCodec,\n\t ua = navigator.userAgent.toLowerCase();\n\t if (audioCodec && this.audioCodecSwap) {\n\t _logger.logger.log('swapping playlist audio codec');\n\t if (audioCodec.indexOf('mp4a.40.5') !== -1) {\n\t audioCodec = 'mp4a.40.2';\n\t } else {\n\t audioCodec = 'mp4a.40.5';\n\t }\n\t }\n\t // in case AAC and HE-AAC audio codecs are signalled in manifest\n\t // force HE-AAC , as it seems that most browsers prefers that way,\n\t // except for mono streams OR on FF\n\t // these conditions might need to be reviewed ...\n\t if (this.audioCodecSwitch) {\n\t // don't force HE-AAC if mono stream\n\t if (track.metadata.channelCount !== 1 &&\n\t // don't force HE-AAC if firefox\n\t ua.indexOf('firefox') === -1) {\n\t audioCodec = 'mp4a.40.5';\n\t }\n\t }\n\t // HE-AAC is broken on Android, always signal audio codec as AAC even if variant manifest states otherwise\n\t if (ua.indexOf('android') !== -1) {\n\t audioCodec = 'mp4a.40.2';\n\t _logger.logger.log('Android: force audio codec to' + audioCodec);\n\t }\n\t track.levelCodec = audioCodec;\n\t }\n\t track = tracks.video;\n\t if (track) {\n\t track.levelCodec = this.levels[this.level].videoCodec;\n\t }\n\t\n\t // if remuxer specify that a unique track needs to generated,\n\t // let's merge all tracks together\n\t if (data.unique) {\n\t var mergedTrack = {\n\t codec: '',\n\t levelCodec: ''\n\t };\n\t for (trackName in data.tracks) {\n\t track = tracks[trackName];\n\t mergedTrack.container = track.container;\n\t if (mergedTrack.codec) {\n\t mergedTrack.codec += ',';\n\t mergedTrack.levelCodec += ',';\n\t }\n\t if (track.codec) {\n\t mergedTrack.codec += track.codec;\n\t }\n\t if (track.levelCodec) {\n\t mergedTrack.levelCodec += track.levelCodec;\n\t }\n\t }\n\t tracks = { audiovideo: mergedTrack };\n\t }\n\t this.hls.trigger(_events2.default.BUFFER_CODECS, tracks);\n\t // loop through tracks that are going to be provided to bufferController\n\t for (trackName in tracks) {\n\t track = tracks[trackName];\n\t _logger.logger.log('track:' + trackName + ',container:' + track.container + ',codecs[level/parsed]=[' + track.levelCodec + '/' + track.codec + ']');\n\t var initSegment = track.initSegment;\n\t if (initSegment) {\n\t this.pendingAppending++;\n\t this.hls.trigger(_events2.default.BUFFER_APPENDING, { type: trackName, data: initSegment });\n\t }\n\t }\n\t //trigger handler right now\n\t this.tick();\n\t }\n\t }\n\t }, {\n\t key: 'onFragParsingData',\n\t value: function onFragParsingData(data) {\n\t var _this3 = this;\n\t\n\t if (this.state === State.PARSING) {\n\t this.tparse2 = Date.now();\n\t var level = this.levels[this.level],\n\t frag = this.fragCurrent;\n\t\n\t _logger.logger.log('parsed ' + data.type + ',PTS:[' + data.startPTS.toFixed(3) + ',' + data.endPTS.toFixed(3) + '],DTS:[' + data.startDTS.toFixed(3) + '/' + data.endDTS.toFixed(3) + '],nb:' + data.nb);\n\t\n\t var drift = _levelHelper2.default.updateFragPTS(level.details, frag.sn, data.startPTS, data.endPTS),\n\t hls = this.hls;\n\t hls.trigger(_events2.default.LEVEL_PTS_UPDATED, { details: level.details, level: this.level, drift: drift });\n\t\n\t [data.data1, data.data2].forEach(function (buffer) {\n\t if (buffer) {\n\t _this3.pendingAppending++;\n\t hls.trigger(_events2.default.BUFFER_APPENDING, { type: data.type, data: buffer });\n\t }\n\t });\n\t\n\t this.nextLoadPosition = data.endPTS;\n\t this.bufferRange.push({ type: data.type, start: data.startPTS, end: data.endPTS, frag: frag });\n\t\n\t //trigger handler right now\n\t this.tick();\n\t } else {\n\t _logger.logger.warn('not in PARSING state but ' + this.state + ', ignoring FRAG_PARSING_DATA event');\n\t }\n\t }\n\t }, {\n\t key: 'onFragParsed',\n\t value: function onFragParsed() {\n\t if (this.state === State.PARSING) {\n\t this.stats.tparsed = performance.now();\n\t this.state = State.PARSED;\n\t this._checkAppendedParsed();\n\t }\n\t }\n\t }, {\n\t key: 'onBufferAppended',\n\t value: function onBufferAppended() {\n\t switch (this.state) {\n\t case State.PARSING:\n\t case State.PARSED:\n\t this.pendingAppending--;\n\t this._checkAppendedParsed();\n\t break;\n\t default:\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_checkAppendedParsed',\n\t value: function _checkAppendedParsed() {\n\t //trigger handler right now\n\t if (this.state === State.PARSED && this.pendingAppending === 0) {\n\t var frag = this.fragCurrent,\n\t stats = this.stats;\n\t if (frag) {\n\t this.fragPrevious = frag;\n\t stats.tbuffered = performance.now();\n\t this.fragLastKbps = Math.round(8 * stats.length / (stats.tbuffered - stats.tfirst));\n\t this.hls.trigger(_events2.default.FRAG_BUFFERED, { stats: stats, frag: frag });\n\t _logger.logger.log('media buffered : ' + this.timeRangesToString(this.media.buffered));\n\t this.state = State.IDLE;\n\t }\n\t this.tick();\n\t }\n\t }\n\t }, {\n\t key: 'onError',\n\t value: function onError(data) {\n\t switch (data.details) {\n\t case _errors.ErrorDetails.FRAG_LOAD_ERROR:\n\t case _errors.ErrorDetails.FRAG_LOAD_TIMEOUT:\n\t if (!data.fatal) {\n\t var loadError = this.fragLoadError;\n\t if (loadError) {\n\t loadError++;\n\t } else {\n\t loadError = 1;\n\t }\n\t if (loadError <= this.config.fragLoadingMaxRetry) {\n\t this.fragLoadError = loadError;\n\t // reset load counter to avoid frag loop loading error\n\t data.frag.loadCounter = 0;\n\t // exponential backoff capped to 64s\n\t var delay = Math.min(Math.pow(2, loadError - 1) * this.config.fragLoadingRetryDelay, 64000);\n\t _logger.logger.warn('mediaController: frag loading failed, retry in ' + delay + ' ms');\n\t this.retryDate = performance.now() + delay;\n\t // retry loading state\n\t this.state = State.FRAG_LOADING_WAITING_RETRY;\n\t } else {\n\t _logger.logger.error('mediaController: ' + data.details + ' reaches max retry, redispatch as fatal ...');\n\t // redispatch same error but with fatal set to true\n\t data.fatal = true;\n\t this.hls.trigger(_events2.default.ERROR, data);\n\t this.state = State.ERROR;\n\t }\n\t }\n\t break;\n\t case _errors.ErrorDetails.FRAG_LOOP_LOADING_ERROR:\n\t case _errors.ErrorDetails.LEVEL_LOAD_ERROR:\n\t case _errors.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n\t case _errors.ErrorDetails.KEY_LOAD_ERROR:\n\t case _errors.ErrorDetails.KEY_LOAD_TIMEOUT:\n\t // if fatal error, stop processing, otherwise move to IDLE to retry loading\n\t _logger.logger.warn('mediaController: ' + data.details + ' while loading frag,switch to ' + (data.fatal ? 'ERROR' : 'IDLE') + ' state ...');\n\t this.state = data.fatal ? State.ERROR : State.IDLE;\n\t break;\n\t case _errors.ErrorDetails.BUFFER_FULL_ERROR:\n\t // trigger a smooth level switch to empty buffers\n\t // also reduce max buffer length as it might be too high. we do this to avoid loop flushing ...\n\t this.config.maxMaxBufferLength /= 2;\n\t _logger.logger.warn('reduce max buffer length to ' + this.config.maxMaxBufferLength + 's and trigger a nextLevelSwitch to flush old buffer and fix QuotaExceededError');\n\t this.nextLevelSwitch();\n\t break;\n\t default:\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_checkBuffer',\n\t value: function _checkBuffer() {\n\t var media = this.media;\n\t if (media) {\n\t // compare readyState\n\t var readyState = media.readyState;\n\t // if ready state different from HAVE_NOTHING (numeric value 0), we are allowed to seek\n\t if (readyState) {\n\t var targetSeekPosition, currentTime;\n\t // if seek after buffered defined, let's seek if within acceptable range\n\t var seekAfterBuffered = this.seekAfterBuffered;\n\t if (seekAfterBuffered) {\n\t if (media.duration >= seekAfterBuffered) {\n\t targetSeekPosition = seekAfterBuffered;\n\t this.seekAfterBuffered = undefined;\n\t }\n\t } else {\n\t currentTime = media.currentTime;\n\t var loadedmetadata = this.loadedmetadata;\n\t\n\t // adjust currentTime to start position on loaded metadata\n\t if (!loadedmetadata && media.buffered.length) {\n\t this.loadedmetadata = true;\n\t // only adjust currentTime if not equal to 0\n\t if (!currentTime && currentTime !== this.startPosition) {\n\t targetSeekPosition = this.startPosition;\n\t }\n\t }\n\t }\n\t if (targetSeekPosition) {\n\t currentTime = targetSeekPosition;\n\t _logger.logger.log('target seek position:' + targetSeekPosition);\n\t }\n\t var bufferInfo = _bufferHelper2.default.bufferInfo(media, currentTime, 0),\n\t expectedPlaying = !(media.paused || media.ended || media.seeking || readyState < 2),\n\t jumpThreshold = 0.4,\n\t\n\t // tolerance needed as some browsers stalls playback before reaching buffered range end\n\t playheadMoving = currentTime > media.playbackRate * this.lastCurrentTime;\n\t\n\t if (this.stalled && playheadMoving) {\n\t this.stalled = false;\n\t _logger.logger.log('playback not stuck anymore @' + currentTime);\n\t }\n\t // check buffer upfront\n\t // if less than 200ms is buffered, and media is expected to play but playhead is not moving,\n\t // and we have a new buffer range available upfront, let's seek to that one\n\t if (bufferInfo.len <= jumpThreshold) {\n\t if (playheadMoving || !expectedPlaying) {\n\t // playhead moving or media not playing\n\t jumpThreshold = 0;\n\t this.seekHoleNudgeDuration = 0;\n\t } else {\n\t // playhead not moving AND media expected to play\n\t if (!this.stalled) {\n\t this.seekHoleNudgeDuration = 0;\n\t _logger.logger.log('playback seems stuck @' + currentTime);\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.BUFFER_STALLED_ERROR, fatal: false });\n\t this.stalled = true;\n\t } else {\n\t this.seekHoleNudgeDuration += this.config.seekHoleNudgeDuration;\n\t }\n\t }\n\t // if we are below threshold, try to jump if next buffer range is close\n\t if (bufferInfo.len <= jumpThreshold) {\n\t // no buffer available @ currentTime, check if next buffer is close (within a config.maxSeekHole second range)\n\t var nextBufferStart = bufferInfo.nextStart,\n\t delta = nextBufferStart - currentTime;\n\t if (nextBufferStart && delta < this.config.maxSeekHole && delta > 0 && !media.seeking) {\n\t // next buffer is close ! adjust currentTime to nextBufferStart\n\t // this will ensure effective video decoding\n\t _logger.logger.log('adjust currentTime from ' + media.currentTime + ' to next buffered @ ' + nextBufferStart + ' + nudge ' + this.seekHoleNudgeDuration);\n\t media.currentTime = nextBufferStart + this.seekHoleNudgeDuration;\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.BUFFER_SEEK_OVER_HOLE, fatal: false });\n\t }\n\t }\n\t } else {\n\t if (targetSeekPosition && media.currentTime !== targetSeekPosition) {\n\t _logger.logger.log('adjust currentTime from ' + media.currentTime + ' to ' + targetSeekPosition);\n\t media.currentTime = targetSeekPosition;\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'onFragLoadEmergencyAborted',\n\t value: function onFragLoadEmergencyAborted() {\n\t this.state = State.IDLE;\n\t this.tick();\n\t }\n\t }, {\n\t key: 'onBufferFlushed',\n\t value: function onBufferFlushed() {\n\t /* after successful buffer flushing, rebuild buffer Range array\n\t loop through existing buffer range and check if\n\t corresponding range is still buffered. only push to new array already buffered range\n\t */\n\t var newRange = [],\n\t range,\n\t i;\n\t for (i = 0; i < this.bufferRange.length; i++) {\n\t range = this.bufferRange[i];\n\t if (this.isBuffered((range.start + range.end) / 2)) {\n\t newRange.push(range);\n\t }\n\t }\n\t this.bufferRange = newRange;\n\t\n\t // handle end of immediate switching if needed\n\t if (this.immediateSwitch) {\n\t this.immediateLevelSwitchEnd();\n\t }\n\t // move to IDLE once flush complete. this should trigger new fragment loading\n\t this.state = State.IDLE;\n\t // reset reference to frag\n\t this.fragPrevious = null;\n\t }\n\t }, {\n\t key: 'swapAudioCodec',\n\t value: function swapAudioCodec() {\n\t this.audioCodecSwap = !this.audioCodecSwap;\n\t }\n\t }, {\n\t key: 'timeRangesToString',\n\t value: function timeRangesToString(r) {\n\t var log = '',\n\t len = r.length;\n\t for (var i = 0; i < len; i++) {\n\t log += '[' + r.start(i) + ',' + r.end(i) + ']';\n\t }\n\t return log;\n\t }\n\t }, {\n\t key: 'currentLevel',\n\t get: function get() {\n\t if (this.media) {\n\t var range = this.getBufferRange(this.media.currentTime);\n\t if (range) {\n\t return range.frag.level;\n\t }\n\t }\n\t return -1;\n\t }\n\t }, {\n\t key: 'nextBufferRange',\n\t get: function get() {\n\t if (this.media) {\n\t // first get end range of current fragment\n\t return this.followingBufferRange(this.getBufferRange(this.media.currentTime));\n\t } else {\n\t return null;\n\t }\n\t }\n\t }, {\n\t key: 'nextLevel',\n\t get: function get() {\n\t var range = this.nextBufferRange;\n\t if (range) {\n\t return range.frag.level;\n\t } else {\n\t return -1;\n\t }\n\t }\n\t }]);\n\t\n\t return StreamController;\n\t}(_eventHandler2.default);\n\t\n\texports.default = StreamController;\n\n/***/ },\n/* 51 */\n/*!********************************************************!*\\\n !*** ./~/hls.js/lib/controller/timeline-controller.js ***!\n \\********************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _cea708Interpreter = __webpack_require__(/*! ../utils/cea-708-interpreter */ 72);\n\t\n\tvar _cea708Interpreter2 = _interopRequireDefault(_cea708Interpreter);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * Timeline Controller\n\t */\n\t\n\tvar TimelineController = function (_EventHandler) {\n\t _inherits(TimelineController, _EventHandler);\n\t\n\t function TimelineController(hls) {\n\t _classCallCheck(this, TimelineController);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(TimelineController).call(this, hls, _events2.default.MEDIA_ATTACHING, _events2.default.MEDIA_DETACHING, _events2.default.FRAG_PARSING_USERDATA, _events2.default.MANIFEST_LOADING, _events2.default.FRAG_LOADED));\n\t\n\t _this.hls = hls;\n\t _this.config = hls.config;\n\t\n\t if (_this.config.enableCEA708Captions) {\n\t _this.cea708Interpreter = new _cea708Interpreter2.default();\n\t }\n\t return _this;\n\t }\n\t\n\t _createClass(TimelineController, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t }\n\t }, {\n\t key: 'onMediaAttaching',\n\t value: function onMediaAttaching(data) {\n\t var media = this.media = data.media;\n\t this.cea708Interpreter.attach(media);\n\t }\n\t }, {\n\t key: 'onMediaDetaching',\n\t value: function onMediaDetaching() {\n\t this.cea708Interpreter.detach();\n\t }\n\t }, {\n\t key: 'onManifestLoading',\n\t value: function onManifestLoading() {\n\t this.lastPts = Number.POSITIVE_INFINITY;\n\t }\n\t }, {\n\t key: 'onFragLoaded',\n\t value: function onFragLoaded(data) {\n\t var pts = data.frag.start; //Number.POSITIVE_INFINITY;\n\t\n\t // if this is a frag for a previously loaded timerange, remove all captions\n\t // TODO: consider just removing captions for the timerange\n\t if (pts <= this.lastPts) {\n\t this.cea708Interpreter.clear();\n\t }\n\t\n\t this.lastPts = pts;\n\t }\n\t }, {\n\t key: 'onFragParsingUserdata',\n\t value: function onFragParsingUserdata(data) {\n\t // push all of the CEA-708 messages into the interpreter\n\t // immediately. It will create the proper timestamps based on our PTS value\n\t for (var i = 0; i < data.samples.length; i++) {\n\t this.cea708Interpreter.push(data.samples[i].pts, data.samples[i].bytes);\n\t }\n\t }\n\t }]);\n\t\n\t return TimelineController;\n\t}(_eventHandler2.default);\n\t\n\texports.default = TimelineController;\n\n/***/ },\n/* 52 */\n/*!***********************************!*\\\n !*** ./~/hls.js/lib/crypt/aes.js ***!\n \\***********************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t/*\n\t *\n\t * This file contains an adaptation of the AES decryption algorithm\n\t * from the Standford Javascript Cryptography Library. That work is\n\t * covered by the following copyright and permissions notice:\n\t *\n\t * Copyright 2009-2010 Emily Stark, Mike Hamburg, Dan Boneh.\n\t * All rights reserved.\n\t *\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t * 1. Redistributions of source code must retain the above copyright\n\t * notice, this list of conditions and the following disclaimer.\n\t *\n\t * 2. Redistributions in binary form must reproduce the above\n\t * copyright notice, this list of conditions and the following\n\t * disclaimer in the documentation and/or other materials provided\n\t * with the distribution.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR\n\t * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\t * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n\t * DISCLAIMED. IN NO EVENT SHALL OR CONTRIBUTORS BE\n\t * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\t * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n\t * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n\t * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n\t * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n\t * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\n\t * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t *\n\t * The views and conclusions contained in the software and documentation\n\t * are those of the authors and should not be interpreted as representing\n\t * official policies, either expressed or implied, of the authors.\n\t */\n\t\n\tvar AES = function () {\n\t\n\t /**\n\t * Schedule out an AES key for both encryption and decryption. This\n\t * is a low-level class. Use a cipher mode to do bulk encryption.\n\t *\n\t * @constructor\n\t * @param key {Array} The key as an array of 4, 6 or 8 words.\n\t */\n\t\n\t function AES(key) {\n\t _classCallCheck(this, AES);\n\t\n\t /**\n\t * The expanded S-box and inverse S-box tables. These will be computed\n\t * on the client so that we don't have to send them down the wire.\n\t *\n\t * There are two tables, _tables[0] is for encryption and\n\t * _tables[1] is for decryption.\n\t *\n\t * The first 4 sub-tables are the expanded S-box with MixColumns. The\n\t * last (_tables[01][4]) is the S-box itself.\n\t *\n\t * @private\n\t */\n\t this._tables = [[[], [], [], [], []], [[], [], [], [], []]];\n\t\n\t this._precompute();\n\t\n\t var i,\n\t j,\n\t tmp,\n\t encKey,\n\t decKey,\n\t sbox = this._tables[0][4],\n\t decTable = this._tables[1],\n\t keyLen = key.length,\n\t rcon = 1;\n\t\n\t if (keyLen !== 4 && keyLen !== 6 && keyLen !== 8) {\n\t throw new Error('Invalid aes key size=' + keyLen);\n\t }\n\t\n\t encKey = key.slice(0);\n\t decKey = [];\n\t this._key = [encKey, decKey];\n\t\n\t // schedule encryption keys\n\t for (i = keyLen; i < 4 * keyLen + 28; i++) {\n\t tmp = encKey[i - 1];\n\t\n\t // apply sbox\n\t if (i % keyLen === 0 || keyLen === 8 && i % keyLen === 4) {\n\t tmp = sbox[tmp >>> 24] << 24 ^ sbox[tmp >> 16 & 255] << 16 ^ sbox[tmp >> 8 & 255] << 8 ^ sbox[tmp & 255];\n\t\n\t // shift rows and add rcon\n\t if (i % keyLen === 0) {\n\t tmp = tmp << 8 ^ tmp >>> 24 ^ rcon << 24;\n\t rcon = rcon << 1 ^ (rcon >> 7) * 283;\n\t }\n\t }\n\t\n\t encKey[i] = encKey[i - keyLen] ^ tmp;\n\t }\n\t\n\t // schedule decryption keys\n\t for (j = 0; i; j++, i--) {\n\t tmp = encKey[j & 3 ? i : i - 4];\n\t if (i <= 4 || j < 4) {\n\t decKey[j] = tmp;\n\t } else {\n\t decKey[j] = decTable[0][sbox[tmp >>> 24]] ^ decTable[1][sbox[tmp >> 16 & 255]] ^ decTable[2][sbox[tmp >> 8 & 255]] ^ decTable[3][sbox[tmp & 255]];\n\t }\n\t }\n\t }\n\t\n\t /**\n\t * Expand the S-box tables.\n\t *\n\t * @private\n\t */\n\t\n\t _createClass(AES, [{\n\t key: '_precompute',\n\t value: function _precompute() {\n\t var encTable = this._tables[0],\n\t decTable = this._tables[1],\n\t sbox = encTable[4],\n\t sboxInv = decTable[4],\n\t i,\n\t x,\n\t xInv,\n\t d = [],\n\t th = [],\n\t x2,\n\t x4,\n\t x8,\n\t s,\n\t tEnc,\n\t tDec;\n\t\n\t // Compute double and third tables\n\t for (i = 0; i < 256; i++) {\n\t th[(d[i] = i << 1 ^ (i >> 7) * 283) ^ i] = i;\n\t }\n\t\n\t for (x = xInv = 0; !sbox[x]; x ^= x2 || 1, xInv = th[xInv] || 1) {\n\t // Compute sbox\n\t s = xInv ^ xInv << 1 ^ xInv << 2 ^ xInv << 3 ^ xInv << 4;\n\t s = s >> 8 ^ s & 255 ^ 99;\n\t sbox[x] = s;\n\t sboxInv[s] = x;\n\t\n\t // Compute MixColumns\n\t x8 = d[x4 = d[x2 = d[x]]];\n\t tDec = x8 * 0x1010101 ^ x4 * 0x10001 ^ x2 * 0x101 ^ x * 0x1010100;\n\t tEnc = d[s] * 0x101 ^ s * 0x1010100;\n\t\n\t for (i = 0; i < 4; i++) {\n\t encTable[i][x] = tEnc = tEnc << 24 ^ tEnc >>> 8;\n\t decTable[i][s] = tDec = tDec << 24 ^ tDec >>> 8;\n\t }\n\t }\n\t\n\t // Compactify. Considerable speedup on Firefox.\n\t for (i = 0; i < 5; i++) {\n\t encTable[i] = encTable[i].slice(0);\n\t decTable[i] = decTable[i].slice(0);\n\t }\n\t }\n\t\n\t /**\n\t * Decrypt 16 bytes, specified as four 32-bit words.\n\t * @param encrypted0 {number} the first word to decrypt\n\t * @param encrypted1 {number} the second word to decrypt\n\t * @param encrypted2 {number} the third word to decrypt\n\t * @param encrypted3 {number} the fourth word to decrypt\n\t * @param out {Int32Array} the array to write the decrypted words\n\t * into\n\t * @param offset {number} the offset into the output array to start\n\t * writing results\n\t * @return {Array} The plaintext.\n\t */\n\t\n\t }, {\n\t key: 'decrypt',\n\t value: function decrypt(encrypted0, encrypted1, encrypted2, encrypted3, out, offset) {\n\t var key = this._key[1],\n\t\n\t\n\t // state variables a,b,c,d are loaded with pre-whitened data\n\t a = encrypted0 ^ key[0],\n\t b = encrypted3 ^ key[1],\n\t c = encrypted2 ^ key[2],\n\t d = encrypted1 ^ key[3],\n\t a2,\n\t b2,\n\t c2,\n\t nInnerRounds = key.length / 4 - 2,\n\t\n\t // key.length === 2 ?\n\t i,\n\t kIndex = 4,\n\t table = this._tables[1],\n\t\n\t\n\t // load up the tables\n\t table0 = table[0],\n\t table1 = table[1],\n\t table2 = table[2],\n\t table3 = table[3],\n\t sbox = table[4];\n\t\n\t // Inner rounds. Cribbed from OpenSSL.\n\t for (i = 0; i < nInnerRounds; i++) {\n\t a2 = table0[a >>> 24] ^ table1[b >> 16 & 255] ^ table2[c >> 8 & 255] ^ table3[d & 255] ^ key[kIndex];\n\t b2 = table0[b >>> 24] ^ table1[c >> 16 & 255] ^ table2[d >> 8 & 255] ^ table3[a & 255] ^ key[kIndex + 1];\n\t c2 = table0[c >>> 24] ^ table1[d >> 16 & 255] ^ table2[a >> 8 & 255] ^ table3[b & 255] ^ key[kIndex + 2];\n\t d = table0[d >>> 24] ^ table1[a >> 16 & 255] ^ table2[b >> 8 & 255] ^ table3[c & 255] ^ key[kIndex + 3];\n\t kIndex += 4;\n\t a = a2;b = b2;c = c2;\n\t }\n\t\n\t // Last round.\n\t for (i = 0; i < 4; i++) {\n\t out[(3 & -i) + offset] = sbox[a >>> 24] << 24 ^ sbox[b >> 16 & 255] << 16 ^ sbox[c >> 8 & 255] << 8 ^ sbox[d & 255] ^ key[kIndex++];\n\t a2 = a;a = b;b = c;c = d;d = a2;\n\t }\n\t }\n\t }]);\n\t\n\t return AES;\n\t}();\n\t\n\texports.default = AES;\n\n/***/ },\n/* 53 */\n/*!************************************************!*\\\n !*** ./~/hls.js/lib/crypt/aes128-decrypter.js ***!\n \\************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /*\n\t *\n\t * This file contains an adaptation of the AES decryption algorithm\n\t * from the Standford Javascript Cryptography Library. That work is\n\t * covered by the following copyright and permissions notice:\n\t *\n\t * Copyright 2009-2010 Emily Stark, Mike Hamburg, Dan Boneh.\n\t * All rights reserved.\n\t *\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t * 1. Redistributions of source code must retain the above copyright\n\t * notice, this list of conditions and the following disclaimer.\n\t *\n\t * 2. Redistributions in binary form must reproduce the above\n\t * copyright notice, this list of conditions and the following\n\t * disclaimer in the documentation and/or other materials provided\n\t * with the distribution.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR\n\t * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n\t * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n\t * DISCLAIMED. IN NO EVENT SHALL OR CONTRIBUTORS BE\n\t * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\t * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n\t * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n\t * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n\t * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n\t * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN\n\t * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t *\n\t * The views and conclusions contained in the software and documentation\n\t * are those of the authors and should not be interpreted as representing\n\t * official policies, either expressed or implied, of the authors.\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _aes = __webpack_require__(/*! ./aes */ 52);\n\t\n\tvar _aes2 = _interopRequireDefault(_aes);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar AES128Decrypter = function () {\n\t function AES128Decrypter(key, initVector) {\n\t _classCallCheck(this, AES128Decrypter);\n\t\n\t this.key = key;\n\t this.iv = initVector;\n\t }\n\t\n\t /**\n\t * Convert network-order (big-endian) bytes into their little-endian\n\t * representation.\n\t */\n\t\n\t _createClass(AES128Decrypter, [{\n\t key: 'ntoh',\n\t value: function ntoh(word) {\n\t return word << 24 | (word & 0xff00) << 8 | (word & 0xff0000) >> 8 | word >>> 24;\n\t }\n\t\n\t /**\n\t * Decrypt bytes using AES-128 with CBC and PKCS#7 padding.\n\t * @param encrypted {Uint8Array} the encrypted bytes\n\t * @param key {Uint32Array} the bytes of the decryption key\n\t * @param initVector {Uint32Array} the initialization vector (IV) to\n\t * use for the first round of CBC.\n\t * @return {Uint8Array} the decrypted bytes\n\t *\n\t * @see http://en.wikipedia.org/wiki/Advanced_Encryption_Standard\n\t * @see http://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher_Block_Chaining_.28CBC.29\n\t * @see https://tools.ietf.org/html/rfc2315\n\t */\n\t\n\t }, {\n\t key: 'doDecrypt',\n\t value: function doDecrypt(encrypted, key, initVector) {\n\t var\n\t // word-level access to the encrypted bytes\n\t encrypted32 = new Int32Array(encrypted.buffer, encrypted.byteOffset, encrypted.byteLength >> 2),\n\t decipher = new _aes2.default(Array.prototype.slice.call(key)),\n\t\n\t\n\t // byte and word-level access for the decrypted output\n\t decrypted = new Uint8Array(encrypted.byteLength),\n\t decrypted32 = new Int32Array(decrypted.buffer),\n\t\n\t\n\t // temporary variables for working with the IV, encrypted, and\n\t // decrypted data\n\t init0,\n\t init1,\n\t init2,\n\t init3,\n\t encrypted0,\n\t encrypted1,\n\t encrypted2,\n\t encrypted3,\n\t\n\t\n\t // iteration variable\n\t wordIx;\n\t\n\t // pull out the words of the IV to ensure we don't modify the\n\t // passed-in reference and easier access\n\t init0 = ~ ~initVector[0];\n\t init1 = ~ ~initVector[1];\n\t init2 = ~ ~initVector[2];\n\t init3 = ~ ~initVector[3];\n\t\n\t // decrypt four word sequences, applying cipher-block chaining (CBC)\n\t // to each decrypted block\n\t for (wordIx = 0; wordIx < encrypted32.length; wordIx += 4) {\n\t // convert big-endian (network order) words into little-endian\n\t // (javascript order)\n\t encrypted0 = ~ ~this.ntoh(encrypted32[wordIx]);\n\t encrypted1 = ~ ~this.ntoh(encrypted32[wordIx + 1]);\n\t encrypted2 = ~ ~this.ntoh(encrypted32[wordIx + 2]);\n\t encrypted3 = ~ ~this.ntoh(encrypted32[wordIx + 3]);\n\t\n\t // decrypt the block\n\t decipher.decrypt(encrypted0, encrypted1, encrypted2, encrypted3, decrypted32, wordIx);\n\t\n\t // XOR with the IV, and restore network byte-order to obtain the\n\t // plaintext\n\t decrypted32[wordIx] = this.ntoh(decrypted32[wordIx] ^ init0);\n\t decrypted32[wordIx + 1] = this.ntoh(decrypted32[wordIx + 1] ^ init1);\n\t decrypted32[wordIx + 2] = this.ntoh(decrypted32[wordIx + 2] ^ init2);\n\t decrypted32[wordIx + 3] = this.ntoh(decrypted32[wordIx + 3] ^ init3);\n\t\n\t // setup the IV for the next round\n\t init0 = encrypted0;\n\t init1 = encrypted1;\n\t init2 = encrypted2;\n\t init3 = encrypted3;\n\t }\n\t\n\t return decrypted;\n\t }\n\t }, {\n\t key: 'localDecrypt',\n\t value: function localDecrypt(encrypted, key, initVector, decrypted) {\n\t var bytes = this.doDecrypt(encrypted, key, initVector);\n\t decrypted.set(bytes, encrypted.byteOffset);\n\t }\n\t }, {\n\t key: 'decrypt',\n\t value: function decrypt(encrypted) {\n\t var step = 4 * 8000,\n\t\n\t\n\t //encrypted32 = new Int32Array(encrypted.buffer),\n\t encrypted32 = new Int32Array(encrypted),\n\t decrypted = new Uint8Array(encrypted.byteLength),\n\t i = 0;\n\t\n\t // split up the encryption job and do the individual chunks asynchronously\n\t var key = this.key;\n\t var initVector = this.iv;\n\t this.localDecrypt(encrypted32.subarray(i, i + step), key, initVector, decrypted);\n\t\n\t for (i = step; i < encrypted32.length; i += step) {\n\t initVector = new Uint32Array([this.ntoh(encrypted32[i - 4]), this.ntoh(encrypted32[i - 3]), this.ntoh(encrypted32[i - 2]), this.ntoh(encrypted32[i - 1])]);\n\t this.localDecrypt(encrypted32.subarray(i, i + step), key, initVector, decrypted);\n\t }\n\t\n\t return decrypted;\n\t }\n\t }]);\n\t\n\t return AES128Decrypter;\n\t}();\n\t\n\texports.default = AES128Decrypter;\n\n/***/ },\n/* 54 */\n/*!*****************************************!*\\\n !*** ./~/hls.js/lib/crypt/decrypter.js ***!\n \\*****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /*\n\t * AES128 decryption.\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _aes128Decrypter = __webpack_require__(/*! ./aes128-decrypter */ 53);\n\t\n\tvar _aes128Decrypter2 = _interopRequireDefault(_aes128Decrypter);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar Decrypter = function () {\n\t function Decrypter(hls) {\n\t _classCallCheck(this, Decrypter);\n\t\n\t this.hls = hls;\n\t try {\n\t var browserCrypto = window ? window.crypto : crypto;\n\t this.subtle = browserCrypto.subtle || browserCrypto.webkitSubtle;\n\t this.disableWebCrypto = !this.subtle;\n\t } catch (e) {\n\t this.disableWebCrypto = true;\n\t }\n\t }\n\t\n\t _createClass(Decrypter, [{\n\t key: 'destroy',\n\t value: function destroy() {}\n\t }, {\n\t key: 'decrypt',\n\t value: function decrypt(data, key, iv, callback) {\n\t if (this.disableWebCrypto && this.hls.config.enableSoftwareAES) {\n\t this.decryptBySoftware(data, key, iv, callback);\n\t } else {\n\t this.decryptByWebCrypto(data, key, iv, callback);\n\t }\n\t }\n\t }, {\n\t key: 'decryptByWebCrypto',\n\t value: function decryptByWebCrypto(data, key, iv, callback) {\n\t var _this = this;\n\t\n\t _logger.logger.log('decrypting by WebCrypto API');\n\t\n\t this.subtle.importKey('raw', key, { name: 'AES-CBC', length: 128 }, false, ['decrypt']).then(function (importedKey) {\n\t _this.subtle.decrypt({ name: 'AES-CBC', iv: iv.buffer }, importedKey, data).then(callback).catch(function (err) {\n\t _this.onWebCryptoError(err, data, key, iv, callback);\n\t });\n\t }).catch(function (err) {\n\t _this.onWebCryptoError(err, data, key, iv, callback);\n\t });\n\t }\n\t }, {\n\t key: 'decryptBySoftware',\n\t value: function decryptBySoftware(data, key8, iv8, callback) {\n\t _logger.logger.log('decrypting by JavaScript Implementation');\n\t\n\t var view = new DataView(key8.buffer);\n\t var key = new Uint32Array([view.getUint32(0), view.getUint32(4), view.getUint32(8), view.getUint32(12)]);\n\t\n\t view = new DataView(iv8.buffer);\n\t var iv = new Uint32Array([view.getUint32(0), view.getUint32(4), view.getUint32(8), view.getUint32(12)]);\n\t\n\t var decrypter = new _aes128Decrypter2.default(key, iv);\n\t callback(decrypter.decrypt(data).buffer);\n\t }\n\t }, {\n\t key: 'onWebCryptoError',\n\t value: function onWebCryptoError(err, data, key, iv, callback) {\n\t if (this.hls.config.enableSoftwareAES) {\n\t _logger.logger.log('disabling to use WebCrypto API');\n\t this.disableWebCrypto = true;\n\t this.decryptBySoftware(data, key, iv, callback);\n\t } else {\n\t _logger.logger.error('decrypting error : ' + err.message);\n\t this.hls.trigger(Event.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_DECRYPT_ERROR, fatal: true, reason: err.message });\n\t }\n\t }\n\t }]);\n\t\n\t return Decrypter;\n\t}();\n\t\n\texports.default = Decrypter;\n\n/***/ },\n/* 55 */\n/*!******************************************!*\\\n !*** ./~/hls.js/lib/demux/aacdemuxer.js ***!\n \\******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * AAC demuxer\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _adts = __webpack_require__(/*! ./adts */ 27);\n\t\n\tvar _adts2 = _interopRequireDefault(_adts);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _id = __webpack_require__(/*! ../demux/id3 */ 59);\n\t\n\tvar _id2 = _interopRequireDefault(_id);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar AACDemuxer = function () {\n\t function AACDemuxer(observer, remuxerClass) {\n\t _classCallCheck(this, AACDemuxer);\n\t\n\t this.observer = observer;\n\t this.remuxerClass = remuxerClass;\n\t this.remuxer = new this.remuxerClass(observer);\n\t this._aacTrack = { container: 'audio/adts', type: 'audio', id: -1, sequenceNumber: 0, samples: [], len: 0 };\n\t }\n\t\n\t _createClass(AACDemuxer, [{\n\t key: 'push',\n\t\n\t // feed incoming data to the front of the parsing pipeline\n\t value: function push(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration) {\n\t var track = this._aacTrack,\n\t id3 = new _id2.default(data),\n\t pts = 90 * id3.timeStamp,\n\t config,\n\t frameLength,\n\t frameDuration,\n\t frameIndex,\n\t offset,\n\t headerLength,\n\t stamp,\n\t len,\n\t aacSample;\n\t // look for ADTS header (0xFFFx)\n\t for (offset = id3.length, len = data.length; offset < len - 1; offset++) {\n\t if (data[offset] === 0xff && (data[offset + 1] & 0xf0) === 0xf0) {\n\t break;\n\t }\n\t }\n\t\n\t if (!track.audiosamplerate) {\n\t config = _adts2.default.getAudioConfig(this.observer, data, offset, audioCodec);\n\t track.config = config.config;\n\t track.audiosamplerate = config.samplerate;\n\t track.channelCount = config.channelCount;\n\t track.codec = config.codec;\n\t track.duration = duration;\n\t _logger.logger.log('parsed codec:' + track.codec + ',rate:' + config.samplerate + ',nb channel:' + config.channelCount);\n\t }\n\t frameIndex = 0;\n\t frameDuration = 1024 * 90000 / track.audiosamplerate;\n\t while (offset + 5 < len) {\n\t // The protection skip bit tells us if we have 2 bytes of CRC data at the end of the ADTS header\n\t headerLength = !!(data[offset + 1] & 0x01) ? 7 : 9;\n\t // retrieve frame size\n\t frameLength = (data[offset + 3] & 0x03) << 11 | data[offset + 4] << 3 | (data[offset + 5] & 0xE0) >>> 5;\n\t frameLength -= headerLength;\n\t //stamp = pes.pts;\n\t\n\t if (frameLength > 0 && offset + headerLength + frameLength <= len) {\n\t stamp = pts + frameIndex * frameDuration;\n\t //logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}/${(stamp/90).toFixed(0)}`);\n\t aacSample = { unit: data.subarray(offset + headerLength, offset + headerLength + frameLength), pts: stamp, dts: stamp };\n\t track.samples.push(aacSample);\n\t track.len += frameLength;\n\t offset += frameLength + headerLength;\n\t frameIndex++;\n\t // look for ADTS header (0xFFFx)\n\t for (; offset < len - 1; offset++) {\n\t if (data[offset] === 0xff && (data[offset + 1] & 0xf0) === 0xf0) {\n\t break;\n\t }\n\t }\n\t } else {\n\t break;\n\t }\n\t }\n\t this.remuxer.remux(this._aacTrack, { samples: [] }, { samples: [{ pts: pts, dts: pts, unit: id3.payload }] }, { samples: [] }, timeOffset);\n\t }\n\t }, {\n\t key: 'destroy',\n\t value: function destroy() {}\n\t }], [{\n\t key: 'probe',\n\t value: function probe(data) {\n\t // check if data contains ID3 timestamp and ADTS sync worc\n\t var id3 = new _id2.default(data),\n\t offset,\n\t len;\n\t if (id3.hasTimeStamp) {\n\t // look for ADTS header (0xFFFx)\n\t for (offset = id3.length, len = data.length; offset < len - 1; offset++) {\n\t if (data[offset] === 0xff && (data[offset + 1] & 0xf0) === 0xf0) {\n\t //logger.log('ADTS sync word found !');\n\t return true;\n\t }\n\t }\n\t }\n\t return false;\n\t }\n\t }]);\n\t\n\t return AACDemuxer;\n\t}();\n\t\n\texports.default = AACDemuxer;\n\n/***/ },\n/* 56 */\n/*!**********************************************!*\\\n !*** ./~/hls.js/lib/demux/demuxer-worker.js ***!\n \\**********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _demuxerInline = __webpack_require__(/*! ../demux/demuxer-inline */ 28);\n\t\n\tvar _demuxerInline2 = _interopRequireDefault(_demuxerInline);\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _events3 = __webpack_require__(/*! events */ 26);\n\t\n\tvar _events4 = _interopRequireDefault(_events3);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tvar DemuxerWorker = function DemuxerWorker(self) {\n\t // observer setup\n\t var observer = new _events4.default();\n\t observer.trigger = function trigger(event) {\n\t for (var _len = arguments.length, data = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t data[_key - 1] = arguments[_key];\n\t }\n\t\n\t observer.emit.apply(observer, [event, event].concat(data));\n\t };\n\t\n\t observer.off = function off(event) {\n\t for (var _len2 = arguments.length, data = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t data[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t observer.removeListener.apply(observer, [event].concat(data));\n\t };\n\t self.addEventListener('message', function (ev) {\n\t var data = ev.data;\n\t //console.log('demuxer cmd:' + data.cmd);\n\t switch (data.cmd) {\n\t case 'init':\n\t self.demuxer = new _demuxerInline2.default(observer, data.typeSupported);\n\t break;\n\t case 'demux':\n\t self.demuxer.push(new Uint8Array(data.data), data.audioCodec, data.videoCodec, data.timeOffset, data.cc, data.level, data.sn, data.duration);\n\t break;\n\t default:\n\t break;\n\t }\n\t });\n\t\n\t // listen to events triggered by Demuxer\n\t observer.on(_events2.default.FRAG_PARSING_INIT_SEGMENT, function (ev, data) {\n\t self.postMessage({ event: ev, tracks: data.tracks, unique: data.unique });\n\t });\n\t\n\t observer.on(_events2.default.FRAG_PARSING_DATA, function (ev, data) {\n\t var objData = { event: ev, type: data.type, startPTS: data.startPTS, endPTS: data.endPTS, startDTS: data.startDTS, endDTS: data.endDTS, data1: data.data1.buffer, data2: data.data2.buffer, nb: data.nb };\n\t // pass data1/data2 as transferable object (no copy)\n\t self.postMessage(objData, [objData.data1, objData.data2]);\n\t });\n\t\n\t observer.on(_events2.default.FRAG_PARSED, function (event) {\n\t self.postMessage({ event: event });\n\t });\n\t\n\t observer.on(_events2.default.ERROR, function (event, data) {\n\t self.postMessage({ event: event, data: data });\n\t });\n\t\n\t observer.on(_events2.default.FRAG_PARSING_METADATA, function (event, data) {\n\t var objData = { event: event, samples: data.samples };\n\t self.postMessage(objData);\n\t });\n\t\n\t observer.on(_events2.default.FRAG_PARSING_USERDATA, function (event, data) {\n\t var objData = { event: event, samples: data.samples };\n\t self.postMessage(objData);\n\t });\n\t}; /* demuxer web worker.\n\t * - listen to worker message, and trigger DemuxerInline upon reception of Fragments.\n\t * - provides MP4 Boxes back to main thread using [transferable objects](https://developers.google.com/web/updates/2011/12/Transferable-Objects-Lightning-Fast) in order to minimize message passing overhead.\n\t */\n\t\n\texports.default = DemuxerWorker;\n\n/***/ },\n/* 57 */\n/*!***************************************!*\\\n !*** ./~/hls.js/lib/demux/demuxer.js ***!\n \\***************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _demuxerInline = __webpack_require__(/*! ../demux/demuxer-inline */ 28);\n\t\n\tvar _demuxerInline2 = _interopRequireDefault(_demuxerInline);\n\t\n\tvar _demuxerWorker = __webpack_require__(/*! ../demux/demuxer-worker */ 56);\n\t\n\tvar _demuxerWorker2 = _interopRequireDefault(_demuxerWorker);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _decrypter = __webpack_require__(/*! ../crypt/decrypter */ 54);\n\t\n\tvar _decrypter2 = _interopRequireDefault(_decrypter);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar Demuxer = function () {\n\t function Demuxer(hls) {\n\t _classCallCheck(this, Demuxer);\n\t\n\t this.hls = hls;\n\t var typeSupported = {\n\t mp4: MediaSource.isTypeSupported('video/mp4'),\n\t mp2t: hls.config.enableMP2TPassThrough && MediaSource.isTypeSupported('video/mp2t')\n\t };\n\t if (hls.config.enableWorker && typeof Worker !== 'undefined') {\n\t _logger.logger.log('demuxing in webworker');\n\t try {\n\t var work = __webpack_require__(/*! webworkify */ 87);\n\t this.w = work(_demuxerWorker2.default);\n\t this.onwmsg = this.onWorkerMessage.bind(this);\n\t this.w.addEventListener('message', this.onwmsg);\n\t this.w.postMessage({ cmd: 'init', typeSupported: typeSupported });\n\t } catch (err) {\n\t _logger.logger.error('error while initializing DemuxerWorker, fallback on DemuxerInline');\n\t this.demuxer = new _demuxerInline2.default(hls, typeSupported);\n\t }\n\t } else {\n\t this.demuxer = new _demuxerInline2.default(hls, typeSupported);\n\t }\n\t this.demuxInitialized = true;\n\t }\n\t\n\t _createClass(Demuxer, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t if (this.w) {\n\t this.w.removeEventListener('message', this.onwmsg);\n\t this.w.terminate();\n\t this.w = null;\n\t } else {\n\t this.demuxer.destroy();\n\t this.demuxer = null;\n\t }\n\t if (this.decrypter) {\n\t this.decrypter.destroy();\n\t this.decrypter = null;\n\t }\n\t }\n\t }, {\n\t key: 'pushDecrypted',\n\t value: function pushDecrypted(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration) {\n\t if (this.w) {\n\t // post fragment payload as transferable objects (no copy)\n\t this.w.postMessage({ cmd: 'demux', data: data, audioCodec: audioCodec, videoCodec: videoCodec, timeOffset: timeOffset, cc: cc, level: level, sn: sn, duration: duration }, [data]);\n\t } else {\n\t this.demuxer.push(new Uint8Array(data), audioCodec, videoCodec, timeOffset, cc, level, sn, duration);\n\t }\n\t }\n\t }, {\n\t key: 'push',\n\t value: function push(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration, decryptdata) {\n\t if (data.byteLength > 0 && decryptdata != null && decryptdata.key != null && decryptdata.method === 'AES-128') {\n\t if (this.decrypter == null) {\n\t this.decrypter = new _decrypter2.default(this.hls);\n\t }\n\t\n\t var localthis = this;\n\t this.decrypter.decrypt(data, decryptdata.key, decryptdata.iv, function (decryptedData) {\n\t localthis.pushDecrypted(decryptedData, audioCodec, videoCodec, timeOffset, cc, level, sn, duration);\n\t });\n\t } else {\n\t this.pushDecrypted(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration);\n\t }\n\t }\n\t }, {\n\t key: 'onWorkerMessage',\n\t value: function onWorkerMessage(ev) {\n\t var data = ev.data;\n\t //console.log('onWorkerMessage:' + data.event);\n\t switch (data.event) {\n\t case _events2.default.FRAG_PARSING_INIT_SEGMENT:\n\t var obj = {};\n\t obj.tracks = data.tracks;\n\t obj.unique = data.unique;\n\t this.hls.trigger(_events2.default.FRAG_PARSING_INIT_SEGMENT, obj);\n\t break;\n\t case _events2.default.FRAG_PARSING_DATA:\n\t this.hls.trigger(_events2.default.FRAG_PARSING_DATA, {\n\t data1: new Uint8Array(data.data1),\n\t data2: new Uint8Array(data.data2),\n\t startPTS: data.startPTS,\n\t endPTS: data.endPTS,\n\t startDTS: data.startDTS,\n\t endDTS: data.endDTS,\n\t type: data.type,\n\t nb: data.nb\n\t });\n\t break;\n\t case _events2.default.FRAG_PARSING_METADATA:\n\t this.hls.trigger(_events2.default.FRAG_PARSING_METADATA, {\n\t samples: data.samples\n\t });\n\t break;\n\t case _events2.default.FRAG_PARSING_USERDATA:\n\t this.hls.trigger(_events2.default.FRAG_PARSING_USERDATA, {\n\t samples: data.samples\n\t });\n\t break;\n\t default:\n\t this.hls.trigger(data.event, data.data);\n\t break;\n\t }\n\t }\n\t }]);\n\t\n\t return Demuxer;\n\t}();\n\t\n\texports.default = Demuxer;\n\n/***/ },\n/* 58 */\n/*!******************************************!*\\\n !*** ./~/hls.js/lib/demux/exp-golomb.js ***!\n \\******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * Parser for exponential Golomb codes, a variable-bitwidth number encoding scheme used by h264.\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar ExpGolomb = function () {\n\t function ExpGolomb(data) {\n\t _classCallCheck(this, ExpGolomb);\n\t\n\t this.data = data;\n\t // the number of bytes left to examine in this.data\n\t this.bytesAvailable = this.data.byteLength;\n\t // the current word being examined\n\t this.word = 0; // :uint\n\t // the number of bits left to examine in the current word\n\t this.bitsAvailable = 0; // :uint\n\t }\n\t\n\t // ():void\n\t\n\t _createClass(ExpGolomb, [{\n\t key: 'loadWord',\n\t value: function loadWord() {\n\t var position = this.data.byteLength - this.bytesAvailable,\n\t workingBytes = new Uint8Array(4),\n\t availableBytes = Math.min(4, this.bytesAvailable);\n\t if (availableBytes === 0) {\n\t throw new Error('no bytes available');\n\t }\n\t workingBytes.set(this.data.subarray(position, position + availableBytes));\n\t this.word = new DataView(workingBytes.buffer).getUint32(0);\n\t // track the amount of this.data that has been processed\n\t this.bitsAvailable = availableBytes * 8;\n\t this.bytesAvailable -= availableBytes;\n\t }\n\t\n\t // (count:int):void\n\t\n\t }, {\n\t key: 'skipBits',\n\t value: function skipBits(count) {\n\t var skipBytes; // :int\n\t if (this.bitsAvailable > count) {\n\t this.word <<= count;\n\t this.bitsAvailable -= count;\n\t } else {\n\t count -= this.bitsAvailable;\n\t skipBytes = count >> 3;\n\t count -= skipBytes >> 3;\n\t this.bytesAvailable -= skipBytes;\n\t this.loadWord();\n\t this.word <<= count;\n\t this.bitsAvailable -= count;\n\t }\n\t }\n\t\n\t // (size:int):uint\n\t\n\t }, {\n\t key: 'readBits',\n\t value: function readBits(size) {\n\t var bits = Math.min(this.bitsAvailable, size),\n\t\n\t // :uint\n\t valu = this.word >>> 32 - bits; // :uint\n\t if (size > 32) {\n\t _logger.logger.error('Cannot read more than 32 bits at a time');\n\t }\n\t this.bitsAvailable -= bits;\n\t if (this.bitsAvailable > 0) {\n\t this.word <<= bits;\n\t } else if (this.bytesAvailable > 0) {\n\t this.loadWord();\n\t }\n\t bits = size - bits;\n\t if (bits > 0) {\n\t return valu << bits | this.readBits(bits);\n\t } else {\n\t return valu;\n\t }\n\t }\n\t\n\t // ():uint\n\t\n\t }, {\n\t key: 'skipLZ',\n\t value: function skipLZ() {\n\t var leadingZeroCount; // :uint\n\t for (leadingZeroCount = 0; leadingZeroCount < this.bitsAvailable; ++leadingZeroCount) {\n\t if (0 !== (this.word & 0x80000000 >>> leadingZeroCount)) {\n\t // the first bit of working word is 1\n\t this.word <<= leadingZeroCount;\n\t this.bitsAvailable -= leadingZeroCount;\n\t return leadingZeroCount;\n\t }\n\t }\n\t // we exhausted word and still have not found a 1\n\t this.loadWord();\n\t return leadingZeroCount + this.skipLZ();\n\t }\n\t\n\t // ():void\n\t\n\t }, {\n\t key: 'skipUEG',\n\t value: function skipUEG() {\n\t this.skipBits(1 + this.skipLZ());\n\t }\n\t\n\t // ():void\n\t\n\t }, {\n\t key: 'skipEG',\n\t value: function skipEG() {\n\t this.skipBits(1 + this.skipLZ());\n\t }\n\t\n\t // ():uint\n\t\n\t }, {\n\t key: 'readUEG',\n\t value: function readUEG() {\n\t var clz = this.skipLZ(); // :uint\n\t return this.readBits(clz + 1) - 1;\n\t }\n\t\n\t // ():int\n\t\n\t }, {\n\t key: 'readEG',\n\t value: function readEG() {\n\t var valu = this.readUEG(); // :int\n\t if (0x01 & valu) {\n\t // the number is odd if the low order bit is set\n\t return 1 + valu >>> 1; // add 1 to make it even, and divide by 2\n\t } else {\n\t return -1 * (valu >>> 1); // divide by two then make it negative\n\t }\n\t }\n\t\n\t // Some convenience functions\n\t // :Boolean\n\t\n\t }, {\n\t key: 'readBoolean',\n\t value: function readBoolean() {\n\t return 1 === this.readBits(1);\n\t }\n\t\n\t // ():int\n\t\n\t }, {\n\t key: 'readUByte',\n\t value: function readUByte() {\n\t return this.readBits(8);\n\t }\n\t\n\t // ():int\n\t\n\t }, {\n\t key: 'readUShort',\n\t value: function readUShort() {\n\t return this.readBits(16);\n\t }\n\t // ():int\n\t\n\t }, {\n\t key: 'readUInt',\n\t value: function readUInt() {\n\t return this.readBits(32);\n\t }\n\t\n\t /**\n\t * Advance the ExpGolomb decoder past a scaling list. The scaling\n\t * list is optionally transmitted as part of a sequence parameter\n\t * set and is not relevant to transmuxing.\n\t * @param count {number} the number of entries in this scaling list\n\t * @see Recommendation ITU-T H.264, Section 7.3.2.1.1.1\n\t */\n\t\n\t }, {\n\t key: 'skipScalingList',\n\t value: function skipScalingList(count) {\n\t var lastScale = 8,\n\t nextScale = 8,\n\t j,\n\t deltaScale;\n\t for (j = 0; j < count; j++) {\n\t if (nextScale !== 0) {\n\t deltaScale = this.readEG();\n\t nextScale = (lastScale + deltaScale + 256) % 256;\n\t }\n\t lastScale = nextScale === 0 ? lastScale : nextScale;\n\t }\n\t }\n\t\n\t /**\n\t * Read a sequence parameter set and return some interesting video\n\t * properties. A sequence parameter set is the H264 metadata that\n\t * describes the properties of upcoming video frames.\n\t * @param data {Uint8Array} the bytes of a sequence parameter set\n\t * @return {object} an object with configuration parsed from the\n\t * sequence parameter set, including the dimensions of the\n\t * associated video frames.\n\t */\n\t\n\t }, {\n\t key: 'readSPS',\n\t value: function readSPS() {\n\t var frameCropLeftOffset = 0,\n\t frameCropRightOffset = 0,\n\t frameCropTopOffset = 0,\n\t frameCropBottomOffset = 0,\n\t sarScale = 1,\n\t profileIdc,\n\t profileCompat,\n\t levelIdc,\n\t numRefFramesInPicOrderCntCycle,\n\t picWidthInMbsMinus1,\n\t picHeightInMapUnitsMinus1,\n\t frameMbsOnlyFlag,\n\t scalingListCount,\n\t i;\n\t this.readUByte();\n\t profileIdc = this.readUByte(); // profile_idc\n\t profileCompat = this.readBits(5); // constraint_set[0-4]_flag, u(5)\n\t this.skipBits(3); // reserved_zero_3bits u(3),\n\t levelIdc = this.readUByte(); //level_idc u(8)\n\t this.skipUEG(); // seq_parameter_set_id\n\t // some profiles have more optional data we don't need\n\t if (profileIdc === 100 || profileIdc === 110 || profileIdc === 122 || profileIdc === 244 || profileIdc === 44 || profileIdc === 83 || profileIdc === 86 || profileIdc === 118 || profileIdc === 128) {\n\t var chromaFormatIdc = this.readUEG();\n\t if (chromaFormatIdc === 3) {\n\t this.skipBits(1); // separate_colour_plane_flag\n\t }\n\t this.skipUEG(); // bit_depth_luma_minus8\n\t this.skipUEG(); // bit_depth_chroma_minus8\n\t this.skipBits(1); // qpprime_y_zero_transform_bypass_flag\n\t if (this.readBoolean()) {\n\t // seq_scaling_matrix_present_flag\n\t scalingListCount = chromaFormatIdc !== 3 ? 8 : 12;\n\t for (i = 0; i < scalingListCount; i++) {\n\t if (this.readBoolean()) {\n\t // seq_scaling_list_present_flag[ i ]\n\t if (i < 6) {\n\t this.skipScalingList(16);\n\t } else {\n\t this.skipScalingList(64);\n\t }\n\t }\n\t }\n\t }\n\t }\n\t this.skipUEG(); // log2_max_frame_num_minus4\n\t var picOrderCntType = this.readUEG();\n\t if (picOrderCntType === 0) {\n\t this.readUEG(); //log2_max_pic_order_cnt_lsb_minus4\n\t } else if (picOrderCntType === 1) {\n\t this.skipBits(1); // delta_pic_order_always_zero_flag\n\t this.skipEG(); // offset_for_non_ref_pic\n\t this.skipEG(); // offset_for_top_to_bottom_field\n\t numRefFramesInPicOrderCntCycle = this.readUEG();\n\t for (i = 0; i < numRefFramesInPicOrderCntCycle; i++) {\n\t this.skipEG(); // offset_for_ref_frame[ i ]\n\t }\n\t }\n\t this.skipUEG(); // max_num_ref_frames\n\t this.skipBits(1); // gaps_in_frame_num_value_allowed_flag\n\t picWidthInMbsMinus1 = this.readUEG();\n\t picHeightInMapUnitsMinus1 = this.readUEG();\n\t frameMbsOnlyFlag = this.readBits(1);\n\t if (frameMbsOnlyFlag === 0) {\n\t this.skipBits(1); // mb_adaptive_frame_field_flag\n\t }\n\t this.skipBits(1); // direct_8x8_inference_flag\n\t if (this.readBoolean()) {\n\t // frame_cropping_flag\n\t frameCropLeftOffset = this.readUEG();\n\t frameCropRightOffset = this.readUEG();\n\t frameCropTopOffset = this.readUEG();\n\t frameCropBottomOffset = this.readUEG();\n\t }\n\t if (this.readBoolean()) {\n\t // vui_parameters_present_flag\n\t if (this.readBoolean()) {\n\t // aspect_ratio_info_present_flag\n\t var sarRatio = undefined;\n\t var aspectRatioIdc = this.readUByte();\n\t switch (aspectRatioIdc) {\n\t case 1:\n\t sarRatio = [1, 1];break;\n\t case 2:\n\t sarRatio = [12, 11];break;\n\t case 3:\n\t sarRatio = [10, 11];break;\n\t case 4:\n\t sarRatio = [16, 11];break;\n\t case 5:\n\t sarRatio = [40, 33];break;\n\t case 6:\n\t sarRatio = [24, 11];break;\n\t case 7:\n\t sarRatio = [20, 11];break;\n\t case 8:\n\t sarRatio = [32, 11];break;\n\t case 9:\n\t sarRatio = [80, 33];break;\n\t case 10:\n\t sarRatio = [18, 11];break;\n\t case 11:\n\t sarRatio = [15, 11];break;\n\t case 12:\n\t sarRatio = [64, 33];break;\n\t case 13:\n\t sarRatio = [160, 99];break;\n\t case 14:\n\t sarRatio = [4, 3];break;\n\t case 15:\n\t sarRatio = [3, 2];break;\n\t case 16:\n\t sarRatio = [2, 1];break;\n\t case 255:\n\t {\n\t sarRatio = [this.readUByte() << 8 | this.readUByte(), this.readUByte() << 8 | this.readUByte()];\n\t break;\n\t }\n\t }\n\t if (sarRatio) {\n\t sarScale = sarRatio[0] / sarRatio[1];\n\t }\n\t }\n\t }\n\t return {\n\t width: Math.ceil(((picWidthInMbsMinus1 + 1) * 16 - frameCropLeftOffset * 2 - frameCropRightOffset * 2) * sarScale),\n\t height: (2 - frameMbsOnlyFlag) * (picHeightInMapUnitsMinus1 + 1) * 16 - (frameMbsOnlyFlag ? 2 : 4) * (frameCropTopOffset + frameCropBottomOffset)\n\t };\n\t }\n\t }, {\n\t key: 'readSliceType',\n\t value: function readSliceType() {\n\t // skip NALu type\n\t this.readUByte();\n\t // discard first_mb_in_slice\n\t this.readUEG();\n\t // return slice_type\n\t return this.readUEG();\n\t }\n\t }]);\n\t\n\t return ExpGolomb;\n\t}();\n\t\n\texports.default = ExpGolomb;\n\n/***/ },\n/* 59 */\n/*!***********************************!*\\\n !*** ./~/hls.js/lib/demux/id3.js ***!\n \\***********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * ID3 parser\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t//import Hex from '../utils/hex';\n\t\n\tvar ID3 = function () {\n\t function ID3(data) {\n\t _classCallCheck(this, ID3);\n\t\n\t this._hasTimeStamp = false;\n\t var offset = 0,\n\t byte1,\n\t byte2,\n\t byte3,\n\t byte4,\n\t tagSize,\n\t endPos,\n\t header,\n\t len;\n\t do {\n\t header = this.readUTF(data, offset, 3);\n\t offset += 3;\n\t // first check for ID3 header\n\t if (header === 'ID3') {\n\t // skip 24 bits\n\t offset += 3;\n\t // retrieve tag(s) length\n\t byte1 = data[offset++] & 0x7f;\n\t byte2 = data[offset++] & 0x7f;\n\t byte3 = data[offset++] & 0x7f;\n\t byte4 = data[offset++] & 0x7f;\n\t tagSize = (byte1 << 21) + (byte2 << 14) + (byte3 << 7) + byte4;\n\t endPos = offset + tagSize;\n\t //logger.log(`ID3 tag found, size/end: ${tagSize}/${endPos}`);\n\t\n\t // read ID3 tags\n\t this._parseID3Frames(data, offset, endPos);\n\t offset = endPos;\n\t } else if (header === '3DI') {\n\t // http://id3.org/id3v2.4.0-structure chapter 3.4. ID3v2 footer\n\t offset += 7;\n\t _logger.logger.log('3DI footer found, end: ' + offset);\n\t } else {\n\t offset -= 3;\n\t len = offset;\n\t if (len) {\n\t //logger.log(`ID3 len: ${len}`);\n\t if (!this.hasTimeStamp) {\n\t _logger.logger.warn('ID3 tag found, but no timestamp');\n\t }\n\t this._length = len;\n\t this._payload = data.subarray(0, len);\n\t }\n\t return;\n\t }\n\t } while (true);\n\t }\n\t\n\t _createClass(ID3, [{\n\t key: 'readUTF',\n\t value: function readUTF(data, start, len) {\n\t\n\t var result = '',\n\t offset = start,\n\t end = start + len;\n\t do {\n\t result += String.fromCharCode(data[offset++]);\n\t } while (offset < end);\n\t return result;\n\t }\n\t }, {\n\t key: '_parseID3Frames',\n\t value: function _parseID3Frames(data, offset, endPos) {\n\t var tagId, tagLen, tagStart, tagFlags, timestamp;\n\t while (offset + 8 <= endPos) {\n\t tagId = this.readUTF(data, offset, 4);\n\t offset += 4;\n\t\n\t tagLen = data[offset++] << 24 + data[offset++] << 16 + data[offset++] << 8 + data[offset++];\n\t\n\t tagFlags = data[offset++] << 8 + data[offset++];\n\t\n\t tagStart = offset;\n\t //logger.log(\"ID3 tag id:\" + tagId);\n\t switch (tagId) {\n\t case 'PRIV':\n\t //logger.log('parse frame:' + Hex.hexDump(data.subarray(offset,endPos)));\n\t // owner should be \"com.apple.streaming.transportStreamTimestamp\"\n\t if (this.readUTF(data, offset, 44) === 'com.apple.streaming.transportStreamTimestamp') {\n\t offset += 44;\n\t // smelling even better ! we found the right descriptor\n\t // skip null character (string end) + 3 first bytes\n\t offset += 4;\n\t\n\t // timestamp is 33 bit expressed as a big-endian eight-octet number, with the upper 31 bits set to zero.\n\t var pts33Bit = data[offset++] & 0x1;\n\t this._hasTimeStamp = true;\n\t\n\t timestamp = ((data[offset++] << 23) + (data[offset++] << 15) + (data[offset++] << 7) + data[offset++]) / 45;\n\t\n\t if (pts33Bit) {\n\t timestamp += 47721858.84; // 2^32 / 90\n\t }\n\t timestamp = Math.round(timestamp);\n\t _logger.logger.trace('ID3 timestamp found: ' + timestamp);\n\t this._timeStamp = timestamp;\n\t }\n\t break;\n\t default:\n\t break;\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'hasTimeStamp',\n\t get: function get() {\n\t return this._hasTimeStamp;\n\t }\n\t }, {\n\t key: 'timeStamp',\n\t get: function get() {\n\t return this._timeStamp;\n\t }\n\t }, {\n\t key: 'length',\n\t get: function get() {\n\t return this._length;\n\t }\n\t }, {\n\t key: 'payload',\n\t get: function get() {\n\t return this._payload;\n\t }\n\t }]);\n\t\n\t return ID3;\n\t}();\n\t\n\texports.default = ID3;\n\n/***/ },\n/* 60 */\n/*!*****************************************!*\\\n !*** ./~/hls.js/lib/demux/tsdemuxer.js ***!\n \\*****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * highly optimized TS demuxer:\n\t * parse PAT, PMT\n\t * extract PES packet from audio and video PIDs\n\t * extract AVC/H264 NAL units and AAC/ADTS samples from PES packet\n\t * trigger the remuxer upon parsing completion\n\t * it also tries to workaround as best as it can audio codec switch (HE-AAC to AAC and vice versa), without having to restart the MediaSource.\n\t * it also controls the remuxing process :\n\t * upon discontinuity or level switch detection, it will also notifies the remuxer so that it can reset its state.\n\t */\n\t\n\t// import Hex from '../utils/hex';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _adts = __webpack_require__(/*! ./adts */ 27);\n\t\n\tvar _adts2 = _interopRequireDefault(_adts);\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _expGolomb = __webpack_require__(/*! ./exp-golomb */ 58);\n\t\n\tvar _expGolomb2 = _interopRequireDefault(_expGolomb);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar TSDemuxer = function () {\n\t function TSDemuxer(observer, remuxerClass) {\n\t _classCallCheck(this, TSDemuxer);\n\t\n\t this.observer = observer;\n\t this.remuxerClass = remuxerClass;\n\t this.lastCC = 0;\n\t this.remuxer = new this.remuxerClass(observer);\n\t }\n\t\n\t _createClass(TSDemuxer, [{\n\t key: 'switchLevel',\n\t value: function switchLevel() {\n\t this.pmtParsed = false;\n\t this._pmtId = -1;\n\t this.lastAacPTS = null;\n\t this.aacOverFlow = null;\n\t this._avcTrack = { container: 'video/mp2t', type: 'video', id: -1, sequenceNumber: 0, samples: [], len: 0, nbNalu: 0 };\n\t this._aacTrack = { container: 'video/mp2t', type: 'audio', id: -1, sequenceNumber: 0, samples: [], len: 0 };\n\t this._id3Track = { type: 'id3', id: -1, sequenceNumber: 0, samples: [], len: 0 };\n\t this._txtTrack = { type: 'text', id: -1, sequenceNumber: 0, samples: [], len: 0 };\n\t this.remuxer.switchLevel();\n\t }\n\t }, {\n\t key: 'insertDiscontinuity',\n\t value: function insertDiscontinuity() {\n\t this.switchLevel();\n\t this.remuxer.insertDiscontinuity();\n\t }\n\t\n\t // feed incoming data to the front of the parsing pipeline\n\t\n\t }, {\n\t key: 'push',\n\t value: function push(data, audioCodec, videoCodec, timeOffset, cc, level, sn, duration) {\n\t var avcData,\n\t aacData,\n\t id3Data,\n\t start,\n\t len = data.length,\n\t stt,\n\t pid,\n\t atf,\n\t offset,\n\t codecsOnly = this.remuxer.passthrough;\n\t\n\t this.audioCodec = audioCodec;\n\t this.videoCodec = videoCodec;\n\t this.timeOffset = timeOffset;\n\t this._duration = duration;\n\t this.contiguous = false;\n\t if (cc !== this.lastCC) {\n\t _logger.logger.log('discontinuity detected');\n\t this.insertDiscontinuity();\n\t this.lastCC = cc;\n\t } else if (level !== this.lastLevel) {\n\t _logger.logger.log('level switch detected');\n\t this.switchLevel();\n\t this.lastLevel = level;\n\t } else if (sn === this.lastSN + 1) {\n\t this.contiguous = true;\n\t }\n\t this.lastSN = sn;\n\t\n\t if (!this.contiguous) {\n\t // flush any partial content\n\t this.aacOverFlow = null;\n\t }\n\t\n\t var pmtParsed = this.pmtParsed,\n\t avcId = this._avcTrack.id,\n\t aacId = this._aacTrack.id,\n\t id3Id = this._id3Track.id;\n\t\n\t // don't parse last TS packet if incomplete\n\t len -= len % 188;\n\t // loop through TS packets\n\t for (start = 0; start < len; start += 188) {\n\t if (data[start] === 0x47) {\n\t stt = !!(data[start + 1] & 0x40);\n\t // pid is a 13-bit field starting at the last bit of TS[1]\n\t pid = ((data[start + 1] & 0x1f) << 8) + data[start + 2];\n\t atf = (data[start + 3] & 0x30) >> 4;\n\t // if an adaption field is present, its length is specified by the fifth byte of the TS packet header.\n\t if (atf > 1) {\n\t offset = start + 5 + data[start + 4];\n\t // continue if there is only adaptation field\n\t if (offset === start + 188) {\n\t continue;\n\t }\n\t } else {\n\t offset = start + 4;\n\t }\n\t if (pmtParsed) {\n\t if (pid === avcId) {\n\t if (stt) {\n\t if (avcData) {\n\t this._parseAVCPES(this._parsePES(avcData));\n\t if (codecsOnly) {\n\t // if we have video codec info AND\n\t // if audio PID is undefined OR if we have audio codec info,\n\t // we have all codec info !\n\t if (this._avcTrack.codec && (aacId === -1 || this._aacTrack.codec)) {\n\t this.remux(data);\n\t return;\n\t }\n\t }\n\t }\n\t avcData = { data: [], size: 0 };\n\t }\n\t if (avcData) {\n\t avcData.data.push(data.subarray(offset, start + 188));\n\t avcData.size += start + 188 - offset;\n\t }\n\t } else if (pid === aacId) {\n\t if (stt) {\n\t if (aacData) {\n\t this._parseAACPES(this._parsePES(aacData));\n\t if (codecsOnly) {\n\t // here we now that we have audio codec info\n\t // if video PID is undefined OR if we have video codec info,\n\t // we have all codec infos !\n\t if (this._aacTrack.codec && (avcId === -1 || this._avcTrack.codec)) {\n\t this.remux(data);\n\t return;\n\t }\n\t }\n\t }\n\t aacData = { data: [], size: 0 };\n\t }\n\t if (aacData) {\n\t aacData.data.push(data.subarray(offset, start + 188));\n\t aacData.size += start + 188 - offset;\n\t }\n\t } else if (pid === id3Id) {\n\t if (stt) {\n\t if (id3Data) {\n\t this._parseID3PES(this._parsePES(id3Data));\n\t }\n\t id3Data = { data: [], size: 0 };\n\t }\n\t if (id3Data) {\n\t id3Data.data.push(data.subarray(offset, start + 188));\n\t id3Data.size += start + 188 - offset;\n\t }\n\t }\n\t } else {\n\t if (stt) {\n\t offset += data[offset] + 1;\n\t }\n\t if (pid === 0) {\n\t this._parsePAT(data, offset);\n\t } else if (pid === this._pmtId) {\n\t this._parsePMT(data, offset);\n\t pmtParsed = this.pmtParsed = true;\n\t avcId = this._avcTrack.id;\n\t aacId = this._aacTrack.id;\n\t id3Id = this._id3Track.id;\n\t }\n\t }\n\t } else {\n\t this.observer.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_PARSING_ERROR, fatal: false, reason: 'TS packet did not start with 0x47' });\n\t }\n\t }\n\t // parse last PES packet\n\t if (avcData) {\n\t this._parseAVCPES(this._parsePES(avcData));\n\t }\n\t if (aacData) {\n\t this._parseAACPES(this._parsePES(aacData));\n\t }\n\t if (id3Data) {\n\t this._parseID3PES(this._parsePES(id3Data));\n\t }\n\t this.remux(null);\n\t }\n\t }, {\n\t key: 'remux',\n\t value: function remux(data) {\n\t this.remuxer.remux(this._aacTrack, this._avcTrack, this._id3Track, this._txtTrack, this.timeOffset, this.contiguous, data);\n\t }\n\t }, {\n\t key: 'destroy',\n\t value: function destroy() {\n\t this.switchLevel();\n\t this._initPTS = this._initDTS = undefined;\n\t this._duration = 0;\n\t }\n\t }, {\n\t key: '_parsePAT',\n\t value: function _parsePAT(data, offset) {\n\t // skip the PSI header and parse the first PMT entry\n\t this._pmtId = (data[offset + 10] & 0x1F) << 8 | data[offset + 11];\n\t //logger.log('PMT PID:' + this._pmtId);\n\t }\n\t }, {\n\t key: '_parsePMT',\n\t value: function _parsePMT(data, offset) {\n\t var sectionLength, tableEnd, programInfoLength, pid;\n\t sectionLength = (data[offset + 1] & 0x0f) << 8 | data[offset + 2];\n\t tableEnd = offset + 3 + sectionLength - 4;\n\t // to determine where the table is, we have to figure out how\n\t // long the program info descriptors are\n\t programInfoLength = (data[offset + 10] & 0x0f) << 8 | data[offset + 11];\n\t // advance the offset to the first entry in the mapping table\n\t offset += 12 + programInfoLength;\n\t while (offset < tableEnd) {\n\t pid = (data[offset + 1] & 0x1F) << 8 | data[offset + 2];\n\t switch (data[offset]) {\n\t // ISO/IEC 13818-7 ADTS AAC (MPEG-2 lower bit-rate audio)\n\t case 0x0f:\n\t //logger.log('AAC PID:' + pid);\n\t this._aacTrack.id = pid;\n\t break;\n\t // Packetized metadata (ID3)\n\t case 0x15:\n\t //logger.log('ID3 PID:' + pid);\n\t this._id3Track.id = pid;\n\t break;\n\t // ITU-T Rec. H.264 and ISO/IEC 14496-10 (lower bit-rate video)\n\t case 0x1b:\n\t //logger.log('AVC PID:' + pid);\n\t this._avcTrack.id = pid;\n\t break;\n\t default:\n\t _logger.logger.log('unkown stream type:' + data[offset]);\n\t break;\n\t }\n\t // move to the next table entry\n\t // skip past the elementary stream descriptors, if present\n\t offset += ((data[offset + 3] & 0x0F) << 8 | data[offset + 4]) + 5;\n\t }\n\t }\n\t }, {\n\t key: '_parsePES',\n\t value: function _parsePES(stream) {\n\t var i = 0,\n\t frag,\n\t pesFlags,\n\t pesPrefix,\n\t pesLen,\n\t pesHdrLen,\n\t pesData,\n\t pesPts,\n\t pesDts,\n\t payloadStartOffset,\n\t data = stream.data;\n\t //retrieve PTS/DTS from first fragment\n\t frag = data[0];\n\t pesPrefix = (frag[0] << 16) + (frag[1] << 8) + frag[2];\n\t if (pesPrefix === 1) {\n\t pesLen = (frag[4] << 8) + frag[5];\n\t pesFlags = frag[7];\n\t if (pesFlags & 0xC0) {\n\t /* PES header described here : http://dvd.sourceforge.net/dvdinfo/pes-hdr.html\n\t as PTS / DTS is 33 bit we cannot use bitwise operator in JS,\n\t as Bitwise operators treat their operands as a sequence of 32 bits */\n\t pesPts = (frag[9] & 0x0E) * 536870912 + // 1 << 29\n\t (frag[10] & 0xFF) * 4194304 + // 1 << 22\n\t (frag[11] & 0xFE) * 16384 + // 1 << 14\n\t (frag[12] & 0xFF) * 128 + // 1 << 7\n\t (frag[13] & 0xFE) / 2;\n\t // check if greater than 2^32 -1\n\t if (pesPts > 4294967295) {\n\t // decrement 2^33\n\t pesPts -= 8589934592;\n\t }\n\t if (pesFlags & 0x40) {\n\t pesDts = (frag[14] & 0x0E) * 536870912 + // 1 << 29\n\t (frag[15] & 0xFF) * 4194304 + // 1 << 22\n\t (frag[16] & 0xFE) * 16384 + // 1 << 14\n\t (frag[17] & 0xFF) * 128 + // 1 << 7\n\t (frag[18] & 0xFE) / 2;\n\t // check if greater than 2^32 -1\n\t if (pesDts > 4294967295) {\n\t // decrement 2^33\n\t pesDts -= 8589934592;\n\t }\n\t } else {\n\t pesDts = pesPts;\n\t }\n\t }\n\t pesHdrLen = frag[8];\n\t payloadStartOffset = pesHdrLen + 9;\n\t\n\t stream.size -= payloadStartOffset;\n\t //reassemble PES packet\n\t pesData = new Uint8Array(stream.size);\n\t while (data.length) {\n\t frag = data.shift();\n\t var len = frag.byteLength;\n\t if (payloadStartOffset) {\n\t if (payloadStartOffset > len) {\n\t // trim full frag if PES header bigger than frag\n\t payloadStartOffset -= len;\n\t continue;\n\t } else {\n\t // trim partial frag if PES header smaller than frag\n\t frag = frag.subarray(payloadStartOffset);\n\t len -= payloadStartOffset;\n\t payloadStartOffset = 0;\n\t }\n\t }\n\t pesData.set(frag, i);\n\t i += len;\n\t }\n\t return { data: pesData, pts: pesPts, dts: pesDts, len: pesLen };\n\t } else {\n\t return null;\n\t }\n\t }\n\t }, {\n\t key: '_parseAVCPES',\n\t value: function _parseAVCPES(pes) {\n\t var _this = this;\n\t\n\t var track = this._avcTrack,\n\t samples = track.samples,\n\t units = this._parseAVCNALu(pes.data),\n\t units2 = [],\n\t debug = false,\n\t key = false,\n\t length = 0,\n\t expGolombDecoder,\n\t avcSample,\n\t push,\n\t i;\n\t // no NALu found\n\t if (units.length === 0 && samples.length > 0) {\n\t // append pes.data to previous NAL unit\n\t var lastavcSample = samples[samples.length - 1];\n\t var lastUnit = lastavcSample.units.units[lastavcSample.units.units.length - 1];\n\t var tmp = new Uint8Array(lastUnit.data.byteLength + pes.data.byteLength);\n\t tmp.set(lastUnit.data, 0);\n\t tmp.set(pes.data, lastUnit.data.byteLength);\n\t lastUnit.data = tmp;\n\t lastavcSample.units.length += pes.data.byteLength;\n\t track.len += pes.data.byteLength;\n\t }\n\t //free pes.data to save up some memory\n\t pes.data = null;\n\t var debugString = '';\n\t\n\t units.forEach(function (unit) {\n\t switch (unit.type) {\n\t //NDR\n\t case 1:\n\t push = true;\n\t if (debug) {\n\t debugString += 'NDR ';\n\t }\n\t break;\n\t //IDR\n\t case 5:\n\t push = true;\n\t if (debug) {\n\t debugString += 'IDR ';\n\t }\n\t key = true;\n\t break;\n\t //SEI\n\t case 6:\n\t push = true;\n\t if (debug) {\n\t debugString += 'SEI ';\n\t }\n\t expGolombDecoder = new _expGolomb2.default(unit.data);\n\t\n\t // skip frameType\n\t expGolombDecoder.readUByte();\n\t\n\t var payloadType = expGolombDecoder.readUByte();\n\t\n\t // TODO: there can be more than one payload in an SEI packet...\n\t // TODO: need to read type and size in a while loop to get them all\n\t if (payloadType === 4) {\n\t var payloadSize = 0;\n\t\n\t do {\n\t payloadSize = expGolombDecoder.readUByte();\n\t } while (payloadSize === 255);\n\t\n\t var countryCode = expGolombDecoder.readUByte();\n\t\n\t if (countryCode === 181) {\n\t var providerCode = expGolombDecoder.readUShort();\n\t\n\t if (providerCode === 49) {\n\t var userStructure = expGolombDecoder.readUInt();\n\t\n\t if (userStructure === 0x47413934) {\n\t var userDataType = expGolombDecoder.readUByte();\n\t\n\t // Raw CEA-608 bytes wrapped in CEA-708 packet\n\t if (userDataType === 3) {\n\t var firstByte = expGolombDecoder.readUByte();\n\t var secondByte = expGolombDecoder.readUByte();\n\t\n\t var totalCCs = 31 & firstByte;\n\t var byteArray = [firstByte, secondByte];\n\t\n\t for (i = 0; i < totalCCs; i++) {\n\t // 3 bytes per CC\n\t byteArray.push(expGolombDecoder.readUByte());\n\t byteArray.push(expGolombDecoder.readUByte());\n\t byteArray.push(expGolombDecoder.readUByte());\n\t }\n\t\n\t _this._txtTrack.samples.push({ type: 3, pts: pes.pts, bytes: byteArray });\n\t }\n\t }\n\t }\n\t }\n\t }\n\t break;\n\t //SPS\n\t case 7:\n\t push = true;\n\t if (debug) {\n\t debugString += 'SPS ';\n\t }\n\t if (!track.sps) {\n\t expGolombDecoder = new _expGolomb2.default(unit.data);\n\t var config = expGolombDecoder.readSPS();\n\t track.width = config.width;\n\t track.height = config.height;\n\t track.sps = [unit.data];\n\t track.duration = _this._duration;\n\t var codecarray = unit.data.subarray(1, 4);\n\t var codecstring = 'avc1.';\n\t for (i = 0; i < 3; i++) {\n\t var h = codecarray[i].toString(16);\n\t if (h.length < 2) {\n\t h = '0' + h;\n\t }\n\t codecstring += h;\n\t }\n\t track.codec = codecstring;\n\t }\n\t break;\n\t //PPS\n\t case 8:\n\t push = true;\n\t if (debug) {\n\t debugString += 'PPS ';\n\t }\n\t if (!track.pps) {\n\t track.pps = [unit.data];\n\t }\n\t break;\n\t case 9:\n\t push = false;\n\t if (debug) {\n\t debugString += 'AUD ';\n\t }\n\t break;\n\t default:\n\t push = false;\n\t debugString += 'unknown NAL ' + unit.type + ' ';\n\t break;\n\t }\n\t if (push) {\n\t units2.push(unit);\n\t length += unit.data.byteLength;\n\t }\n\t });\n\t if (debug || debugString.length) {\n\t _logger.logger.log(debugString);\n\t }\n\t //build sample from PES\n\t // Annex B to MP4 conversion to be done\n\t if (units2.length) {\n\t // only push AVC sample if keyframe already found. browsers expect a keyframe at first to start decoding\n\t if (key === true || track.sps) {\n\t avcSample = { units: { units: units2, length: length }, pts: pes.pts, dts: pes.dts, key: key };\n\t samples.push(avcSample);\n\t track.len += length;\n\t track.nbNalu += units2.length;\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_parseAVCNALu',\n\t value: function _parseAVCNALu(array) {\n\t var i = 0,\n\t len = array.byteLength,\n\t value,\n\t overflow,\n\t state = 0;\n\t var units = [],\n\t unit,\n\t unitType,\n\t lastUnitStart,\n\t lastUnitType;\n\t //logger.log('PES:' + Hex.hexDump(array));\n\t while (i < len) {\n\t value = array[i++];\n\t // finding 3 or 4-byte start codes (00 00 01 OR 00 00 00 01)\n\t switch (state) {\n\t case 0:\n\t if (value === 0) {\n\t state = 1;\n\t }\n\t break;\n\t case 1:\n\t if (value === 0) {\n\t state = 2;\n\t } else {\n\t state = 0;\n\t }\n\t break;\n\t case 2:\n\t case 3:\n\t if (value === 0) {\n\t state = 3;\n\t } else if (value === 1 && i < len) {\n\t unitType = array[i] & 0x1f;\n\t //logger.log('find NALU @ offset:' + i + ',type:' + unitType);\n\t if (lastUnitStart) {\n\t unit = { data: array.subarray(lastUnitStart, i - state - 1), type: lastUnitType };\n\t //logger.log('pushing NALU, type/size:' + unit.type + '/' + unit.data.byteLength);\n\t units.push(unit);\n\t } else {\n\t // If NAL units are not starting right at the beginning of the PES packet, push preceding data into previous NAL unit.\n\t overflow = i - state - 1;\n\t if (overflow) {\n\t var track = this._avcTrack,\n\t samples = track.samples;\n\t //logger.log('first NALU found with overflow:' + overflow);\n\t if (samples.length) {\n\t var lastavcSample = samples[samples.length - 1],\n\t lastUnits = lastavcSample.units.units,\n\t lastUnit = lastUnits[lastUnits.length - 1],\n\t tmp = new Uint8Array(lastUnit.data.byteLength + overflow);\n\t tmp.set(lastUnit.data, 0);\n\t tmp.set(array.subarray(0, overflow), lastUnit.data.byteLength);\n\t lastUnit.data = tmp;\n\t lastavcSample.units.length += overflow;\n\t track.len += overflow;\n\t }\n\t }\n\t }\n\t lastUnitStart = i;\n\t lastUnitType = unitType;\n\t state = 0;\n\t } else {\n\t state = 0;\n\t }\n\t break;\n\t default:\n\t break;\n\t }\n\t }\n\t if (lastUnitStart) {\n\t unit = { data: array.subarray(lastUnitStart, len), type: lastUnitType };\n\t units.push(unit);\n\t //logger.log('pushing NALU, type/size:' + unit.type + '/' + unit.data.byteLength);\n\t }\n\t return units;\n\t }\n\t }, {\n\t key: '_parseAACPES',\n\t value: function _parseAACPES(pes) {\n\t var track = this._aacTrack,\n\t data = pes.data,\n\t pts = pes.pts,\n\t startOffset = 0,\n\t duration = this._duration,\n\t audioCodec = this.audioCodec,\n\t aacOverFlow = this.aacOverFlow,\n\t lastAacPTS = this.lastAacPTS,\n\t config,\n\t frameLength,\n\t frameDuration,\n\t frameIndex,\n\t offset,\n\t headerLength,\n\t stamp,\n\t len,\n\t aacSample;\n\t if (aacOverFlow) {\n\t var tmp = new Uint8Array(aacOverFlow.byteLength + data.byteLength);\n\t tmp.set(aacOverFlow, 0);\n\t tmp.set(data, aacOverFlow.byteLength);\n\t //logger.log(`AAC: append overflowing ${aacOverFlow.byteLength} bytes to beginning of new PES`);\n\t data = tmp;\n\t }\n\t // look for ADTS header (0xFFFx)\n\t for (offset = startOffset, len = data.length; offset < len - 1; offset++) {\n\t if (data[offset] === 0xff && (data[offset + 1] & 0xf0) === 0xf0) {\n\t break;\n\t }\n\t }\n\t // if ADTS header does not start straight from the beginning of the PES payload, raise an error\n\t if (offset) {\n\t var reason, fatal;\n\t if (offset < len - 1) {\n\t reason = 'AAC PES did not start with ADTS header,offset:' + offset;\n\t fatal = false;\n\t } else {\n\t reason = 'no ADTS header found in AAC PES';\n\t fatal = true;\n\t }\n\t this.observer.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_PARSING_ERROR, fatal: fatal, reason: reason });\n\t if (fatal) {\n\t return;\n\t }\n\t }\n\t if (!track.audiosamplerate) {\n\t config = _adts2.default.getAudioConfig(this.observer, data, offset, audioCodec);\n\t track.config = config.config;\n\t track.audiosamplerate = config.samplerate;\n\t track.channelCount = config.channelCount;\n\t track.codec = config.codec;\n\t track.duration = duration;\n\t _logger.logger.log('parsed codec:' + track.codec + ',rate:' + config.samplerate + ',nb channel:' + config.channelCount);\n\t }\n\t frameIndex = 0;\n\t frameDuration = 1024 * 90000 / track.audiosamplerate;\n\t\n\t // if last AAC frame is overflowing, we should ensure timestamps are contiguous:\n\t // first sample PTS should be equal to last sample PTS + frameDuration\n\t if (aacOverFlow && lastAacPTS) {\n\t var newPTS = lastAacPTS + frameDuration;\n\t if (Math.abs(newPTS - pts) > 1) {\n\t _logger.logger.log('AAC: align PTS for overlapping frames by ' + Math.round((newPTS - pts) / 90));\n\t pts = newPTS;\n\t }\n\t }\n\t\n\t while (offset + 5 < len) {\n\t // The protection skip bit tells us if we have 2 bytes of CRC data at the end of the ADTS header\n\t headerLength = !!(data[offset + 1] & 0x01) ? 7 : 9;\n\t // retrieve frame size\n\t frameLength = (data[offset + 3] & 0x03) << 11 | data[offset + 4] << 3 | (data[offset + 5] & 0xE0) >>> 5;\n\t frameLength -= headerLength;\n\t //stamp = pes.pts;\n\t\n\t if (frameLength > 0 && offset + headerLength + frameLength <= len) {\n\t stamp = pts + frameIndex * frameDuration;\n\t //logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}/${(stamp/90).toFixed(0)}`);\n\t aacSample = { unit: data.subarray(offset + headerLength, offset + headerLength + frameLength), pts: stamp, dts: stamp };\n\t track.samples.push(aacSample);\n\t track.len += frameLength;\n\t offset += frameLength + headerLength;\n\t frameIndex++;\n\t // look for ADTS header (0xFFFx)\n\t for (; offset < len - 1; offset++) {\n\t if (data[offset] === 0xff && (data[offset + 1] & 0xf0) === 0xf0) {\n\t break;\n\t }\n\t }\n\t } else {\n\t break;\n\t }\n\t }\n\t if (offset < len) {\n\t aacOverFlow = data.subarray(offset, len);\n\t //logger.log(`AAC: overflow detected:${len-offset}`);\n\t } else {\n\t aacOverFlow = null;\n\t }\n\t this.aacOverFlow = aacOverFlow;\n\t this.lastAacPTS = stamp;\n\t }\n\t }, {\n\t key: '_parseID3PES',\n\t value: function _parseID3PES(pes) {\n\t this._id3Track.samples.push(pes);\n\t }\n\t }], [{\n\t key: 'probe',\n\t value: function probe(data) {\n\t // a TS fragment should contain at least 3 TS packets, a PAT, a PMT, and one PID, each starting with 0x47\n\t if (data.length >= 3 * 188 && data[0] === 0x47 && data[188] === 0x47 && data[2 * 188] === 0x47) {\n\t return true;\n\t } else {\n\t return false;\n\t }\n\t }\n\t }]);\n\t\n\t return TSDemuxer;\n\t}();\n\t\n\texports.default = TSDemuxer;\n\n/***/ },\n/* 61 */\n/*!*********************************************!*\\\n !*** ./~/hls.js/lib/helper/level-helper.js ***!\n \\*********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * Level Helper class, providing methods dealing with playlist sliding and drift\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar LevelHelper = function () {\n\t function LevelHelper() {\n\t _classCallCheck(this, LevelHelper);\n\t }\n\t\n\t _createClass(LevelHelper, null, [{\n\t key: 'mergeDetails',\n\t value: function mergeDetails(oldDetails, newDetails) {\n\t var start = Math.max(oldDetails.startSN, newDetails.startSN) - newDetails.startSN,\n\t end = Math.min(oldDetails.endSN, newDetails.endSN) - newDetails.startSN,\n\t delta = newDetails.startSN - oldDetails.startSN,\n\t oldfragments = oldDetails.fragments,\n\t newfragments = newDetails.fragments,\n\t ccOffset = 0,\n\t PTSFrag;\n\t\n\t // check if old/new playlists have fragments in common\n\t if (end < start) {\n\t newDetails.PTSKnown = false;\n\t return;\n\t }\n\t // loop through overlapping SN and update startPTS , cc, and duration if any found\n\t for (var i = start; i <= end; i++) {\n\t var oldFrag = oldfragments[delta + i],\n\t newFrag = newfragments[i];\n\t ccOffset = oldFrag.cc - newFrag.cc;\n\t if (!isNaN(oldFrag.startPTS)) {\n\t newFrag.start = newFrag.startPTS = oldFrag.startPTS;\n\t newFrag.endPTS = oldFrag.endPTS;\n\t newFrag.duration = oldFrag.duration;\n\t PTSFrag = newFrag;\n\t }\n\t }\n\t\n\t if (ccOffset) {\n\t _logger.logger.log('discontinuity sliding from playlist, take drift into account');\n\t for (i = 0; i < newfragments.length; i++) {\n\t newfragments[i].cc += ccOffset;\n\t }\n\t }\n\t\n\t // if at least one fragment contains PTS info, recompute PTS information for all fragments\n\t if (PTSFrag) {\n\t LevelHelper.updateFragPTS(newDetails, PTSFrag.sn, PTSFrag.startPTS, PTSFrag.endPTS);\n\t } else {\n\t // adjust start by sliding offset\n\t var sliding = oldfragments[delta].start;\n\t for (i = 0; i < newfragments.length; i++) {\n\t newfragments[i].start += sliding;\n\t }\n\t }\n\t // if we are here, it means we have fragments overlapping between\n\t // old and new level. reliable PTS info is thus relying on old level\n\t newDetails.PTSKnown = oldDetails.PTSKnown;\n\t return;\n\t }\n\t }, {\n\t key: 'updateFragPTS',\n\t value: function updateFragPTS(details, sn, startPTS, endPTS) {\n\t var fragIdx, fragments, frag, i;\n\t // exit if sn out of range\n\t if (sn < details.startSN || sn > details.endSN) {\n\t return 0;\n\t }\n\t fragIdx = sn - details.startSN;\n\t fragments = details.fragments;\n\t frag = fragments[fragIdx];\n\t if (!isNaN(frag.startPTS)) {\n\t startPTS = Math.min(startPTS, frag.startPTS);\n\t endPTS = Math.max(endPTS, frag.endPTS);\n\t }\n\t\n\t var drift = startPTS - frag.start;\n\t\n\t frag.start = frag.startPTS = startPTS;\n\t frag.endPTS = endPTS;\n\t frag.duration = endPTS - startPTS;\n\t // adjust fragment PTS/duration from seqnum-1 to frag 0\n\t for (i = fragIdx; i > 0; i--) {\n\t LevelHelper.updatePTS(fragments, i, i - 1);\n\t }\n\t\n\t // adjust fragment PTS/duration from seqnum to last frag\n\t for (i = fragIdx; i < fragments.length - 1; i++) {\n\t LevelHelper.updatePTS(fragments, i, i + 1);\n\t }\n\t details.PTSKnown = true;\n\t //logger.log(` frag start/end:${startPTS.toFixed(3)}/${endPTS.toFixed(3)}`);\n\t\n\t return drift;\n\t }\n\t }, {\n\t key: 'updatePTS',\n\t value: function updatePTS(fragments, fromIdx, toIdx) {\n\t var fragFrom = fragments[fromIdx],\n\t fragTo = fragments[toIdx],\n\t fragToPTS = fragTo.startPTS;\n\t // if we know startPTS[toIdx]\n\t if (!isNaN(fragToPTS)) {\n\t // update fragment duration.\n\t // it helps to fix drifts between playlist reported duration and fragment real duration\n\t if (toIdx > fromIdx) {\n\t fragFrom.duration = fragToPTS - fragFrom.start;\n\t if (fragFrom.duration < 0) {\n\t _logger.logger.error('negative duration computed for frag ' + fragFrom.sn + ',level ' + fragFrom.level + ', there should be some duration drift between playlist and fragment!');\n\t }\n\t } else {\n\t fragTo.duration = fragFrom.start - fragToPTS;\n\t if (fragTo.duration < 0) {\n\t _logger.logger.error('negative duration computed for frag ' + fragTo.sn + ',level ' + fragTo.level + ', there should be some duration drift between playlist and fragment!');\n\t }\n\t }\n\t } else {\n\t // we dont know startPTS[toIdx]\n\t if (toIdx > fromIdx) {\n\t fragTo.start = fragFrom.start + fragFrom.duration;\n\t } else {\n\t fragTo.start = fragFrom.start - fragTo.duration;\n\t }\n\t }\n\t }\n\t }]);\n\t\n\t return LevelHelper;\n\t}();\n\t\n\texports.default = LevelHelper;\n\n/***/ },\n/* 62 */\n/*!*****************************!*\\\n !*** ./~/hls.js/lib/hls.js ***!\n \\*****************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * HLS interface\n\t */\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t//import FPSController from './controller/fps-controller';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ./events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _errors = __webpack_require__(/*! ./errors */ 6);\n\t\n\tvar _playlistLoader = __webpack_require__(/*! ./loader/playlist-loader */ 66);\n\t\n\tvar _playlistLoader2 = _interopRequireDefault(_playlistLoader);\n\t\n\tvar _fragmentLoader = __webpack_require__(/*! ./loader/fragment-loader */ 64);\n\t\n\tvar _fragmentLoader2 = _interopRequireDefault(_fragmentLoader);\n\t\n\tvar _abrController = __webpack_require__(/*! ./controller/abr-controller */ 46);\n\t\n\tvar _abrController2 = _interopRequireDefault(_abrController);\n\t\n\tvar _bufferController = __webpack_require__(/*! ./controller/buffer-controller */ 47);\n\t\n\tvar _bufferController2 = _interopRequireDefault(_bufferController);\n\t\n\tvar _capLevelController = __webpack_require__(/*! ./controller/cap-level-controller */ 48);\n\t\n\tvar _capLevelController2 = _interopRequireDefault(_capLevelController);\n\t\n\tvar _streamController = __webpack_require__(/*! ./controller/stream-controller */ 50);\n\t\n\tvar _streamController2 = _interopRequireDefault(_streamController);\n\t\n\tvar _levelController = __webpack_require__(/*! ./controller/level-controller */ 49);\n\t\n\tvar _levelController2 = _interopRequireDefault(_levelController);\n\t\n\tvar _timelineController = __webpack_require__(/*! ./controller/timeline-controller */ 51);\n\t\n\tvar _timelineController2 = _interopRequireDefault(_timelineController);\n\t\n\tvar _logger = __webpack_require__(/*! ./utils/logger */ 5);\n\t\n\tvar _xhrLoader = __webpack_require__(/*! ./utils/xhr-loader */ 74);\n\t\n\tvar _xhrLoader2 = _interopRequireDefault(_xhrLoader);\n\t\n\tvar _events3 = __webpack_require__(/*! events */ 26);\n\t\n\tvar _events4 = _interopRequireDefault(_events3);\n\t\n\tvar _keyLoader = __webpack_require__(/*! ./loader/key-loader */ 65);\n\t\n\tvar _keyLoader2 = _interopRequireDefault(_keyLoader);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar Hls = function () {\n\t _createClass(Hls, null, [{\n\t key: 'isSupported',\n\t value: function isSupported() {\n\t return window.MediaSource && window.MediaSource.isTypeSupported('video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"');\n\t }\n\t }, {\n\t key: 'Events',\n\t get: function get() {\n\t return _events2.default;\n\t }\n\t }, {\n\t key: 'ErrorTypes',\n\t get: function get() {\n\t return _errors.ErrorTypes;\n\t }\n\t }, {\n\t key: 'ErrorDetails',\n\t get: function get() {\n\t return _errors.ErrorDetails;\n\t }\n\t }, {\n\t key: 'DefaultConfig',\n\t get: function get() {\n\t if (!Hls.defaultConfig) {\n\t Hls.defaultConfig = {\n\t autoStartLoad: true,\n\t debug: false,\n\t capLevelToPlayerSize: false,\n\t maxBufferLength: 30,\n\t maxBufferSize: 60 * 1000 * 1000,\n\t maxBufferHole: 0.5,\n\t maxSeekHole: 2,\n\t seekHoleNudgeDuration: 0.01,\n\t maxFragLookUpTolerance: 0.2,\n\t liveSyncDurationCount: 3,\n\t liveMaxLatencyDurationCount: Infinity,\n\t liveSyncDuration: undefined,\n\t liveMaxLatencyDuration: undefined,\n\t maxMaxBufferLength: 600,\n\t enableWorker: true,\n\t enableSoftwareAES: true,\n\t manifestLoadingTimeOut: 10000,\n\t manifestLoadingMaxRetry: 1,\n\t manifestLoadingRetryDelay: 1000,\n\t levelLoadingTimeOut: 10000,\n\t levelLoadingMaxRetry: 4,\n\t levelLoadingRetryDelay: 1000,\n\t fragLoadingTimeOut: 20000,\n\t fragLoadingMaxRetry: 6,\n\t fragLoadingRetryDelay: 1000,\n\t fragLoadingLoopThreshold: 3,\n\t startFragPrefetch: false,\n\t // fpsDroppedMonitoringPeriod: 5000,\n\t // fpsDroppedMonitoringThreshold: 0.2,\n\t appendErrorMaxRetry: 3,\n\t loader: _xhrLoader2.default,\n\t fLoader: undefined,\n\t pLoader: undefined,\n\t abrController: _abrController2.default,\n\t bufferController: _bufferController2.default,\n\t capLevelController: _capLevelController2.default,\n\t streamController: _streamController2.default,\n\t timelineController: _timelineController2.default,\n\t enableCEA708Captions: true,\n\t enableMP2TPassThrough: false\n\t };\n\t }\n\t return Hls.defaultConfig;\n\t },\n\t set: function set(defaultConfig) {\n\t Hls.defaultConfig = defaultConfig;\n\t }\n\t }]);\n\t\n\t function Hls() {\n\t var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t _classCallCheck(this, Hls);\n\t\n\t var defaultConfig = Hls.DefaultConfig;\n\t\n\t if ((config.liveSyncDurationCount || config.liveMaxLatencyDurationCount) && (config.liveSyncDuration || config.liveMaxLatencyDuration)) {\n\t throw new Error('Illegal hls.js config: don\\'t mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration');\n\t }\n\t\n\t for (var prop in defaultConfig) {\n\t if (prop in config) {\n\t continue;\n\t }\n\t config[prop] = defaultConfig[prop];\n\t }\n\t\n\t if (config.liveMaxLatencyDurationCount !== undefined && config.liveMaxLatencyDurationCount <= config.liveSyncDurationCount) {\n\t throw new Error('Illegal hls.js config: \"liveMaxLatencyDurationCount\" must be gt \"liveSyncDurationCount\"');\n\t }\n\t\n\t if (config.liveMaxLatencyDuration !== undefined && (config.liveMaxLatencyDuration <= config.liveSyncDuration || config.liveSyncDuration === undefined)) {\n\t throw new Error('Illegal hls.js config: \"liveMaxLatencyDuration\" must be gt \"liveSyncDuration\"');\n\t }\n\t\n\t (0, _logger.enableLogs)(config.debug);\n\t this.config = config;\n\t // observer setup\n\t var observer = this.observer = new _events4.default();\n\t observer.trigger = function trigger(event) {\n\t for (var _len = arguments.length, data = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t data[_key - 1] = arguments[_key];\n\t }\n\t\n\t observer.emit.apply(observer, [event, event].concat(data));\n\t };\n\t\n\t observer.off = function off(event) {\n\t for (var _len2 = arguments.length, data = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n\t data[_key2 - 1] = arguments[_key2];\n\t }\n\t\n\t observer.removeListener.apply(observer, [event].concat(data));\n\t };\n\t this.on = observer.on.bind(observer);\n\t this.off = observer.off.bind(observer);\n\t this.trigger = observer.trigger.bind(observer);\n\t this.playlistLoader = new _playlistLoader2.default(this);\n\t this.fragmentLoader = new _fragmentLoader2.default(this);\n\t this.levelController = new _levelController2.default(this);\n\t this.abrController = new config.abrController(this);\n\t this.bufferController = new config.bufferController(this);\n\t this.capLevelController = new config.capLevelController(this);\n\t this.streamController = new config.streamController(this);\n\t this.timelineController = new config.timelineController(this);\n\t this.keyLoader = new _keyLoader2.default(this);\n\t //this.fpsController = new FPSController(this);\n\t }\n\t\n\t _createClass(Hls, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t _logger.logger.log('destroy');\n\t this.trigger(_events2.default.DESTROYING);\n\t this.detachMedia();\n\t this.playlistLoader.destroy();\n\t this.fragmentLoader.destroy();\n\t this.levelController.destroy();\n\t this.bufferController.destroy();\n\t this.capLevelController.destroy();\n\t this.streamController.destroy();\n\t this.timelineController.destroy();\n\t this.keyLoader.destroy();\n\t //this.fpsController.destroy();\n\t this.url = null;\n\t this.observer.removeAllListeners();\n\t }\n\t }, {\n\t key: 'attachMedia',\n\t value: function attachMedia(media) {\n\t _logger.logger.log('attachMedia');\n\t this.media = media;\n\t this.trigger(_events2.default.MEDIA_ATTACHING, { media: media });\n\t }\n\t }, {\n\t key: 'detachMedia',\n\t value: function detachMedia() {\n\t _logger.logger.log('detachMedia');\n\t this.trigger(_events2.default.MEDIA_DETACHING);\n\t this.media = null;\n\t }\n\t }, {\n\t key: 'loadSource',\n\t value: function loadSource(url) {\n\t _logger.logger.log('loadSource:' + url);\n\t this.url = url;\n\t // when attaching to a source URL, trigger a playlist load\n\t this.trigger(_events2.default.MANIFEST_LOADING, { url: url });\n\t }\n\t }, {\n\t key: 'startLoad',\n\t value: function startLoad() {\n\t var startPosition = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\t\n\t _logger.logger.log('startLoad');\n\t this.levelController.startLoad();\n\t this.streamController.startLoad(startPosition);\n\t }\n\t }, {\n\t key: 'stopLoad',\n\t value: function stopLoad() {\n\t _logger.logger.log('stopLoad');\n\t this.levelController.stopLoad();\n\t this.streamController.stopLoad();\n\t }\n\t }, {\n\t key: 'swapAudioCodec',\n\t value: function swapAudioCodec() {\n\t _logger.logger.log('swapAudioCodec');\n\t this.streamController.swapAudioCodec();\n\t }\n\t }, {\n\t key: 'recoverMediaError',\n\t value: function recoverMediaError() {\n\t _logger.logger.log('recoverMediaError');\n\t var media = this.media;\n\t this.detachMedia();\n\t this.attachMedia(media);\n\t }\n\t\n\t /** Return all quality levels **/\n\t\n\t }, {\n\t key: 'levels',\n\t get: function get() {\n\t return this.levelController.levels;\n\t }\n\t\n\t /** Return current playback quality level **/\n\t\n\t }, {\n\t key: 'currentLevel',\n\t get: function get() {\n\t return this.streamController.currentLevel;\n\t }\n\t\n\t /* set quality level immediately (-1 for automatic level selection) */\n\t\n\t , set: function set(newLevel) {\n\t _logger.logger.log('set currentLevel:' + newLevel);\n\t this.loadLevel = newLevel;\n\t this.streamController.immediateLevelSwitch();\n\t }\n\t\n\t /** Return next playback quality level (quality level of next fragment) **/\n\t\n\t }, {\n\t key: 'nextLevel',\n\t get: function get() {\n\t return this.streamController.nextLevel;\n\t }\n\t\n\t /* set quality level for next fragment (-1 for automatic level selection) */\n\t\n\t , set: function set(newLevel) {\n\t _logger.logger.log('set nextLevel:' + newLevel);\n\t this.levelController.manualLevel = newLevel;\n\t this.streamController.nextLevelSwitch();\n\t }\n\t\n\t /** Return the quality level of current/last loaded fragment **/\n\t\n\t }, {\n\t key: 'loadLevel',\n\t get: function get() {\n\t return this.levelController.level;\n\t }\n\t\n\t /* set quality level for current/next loaded fragment (-1 for automatic level selection) */\n\t\n\t , set: function set(newLevel) {\n\t _logger.logger.log('set loadLevel:' + newLevel);\n\t this.levelController.manualLevel = newLevel;\n\t }\n\t\n\t /** Return the quality level of next loaded fragment **/\n\t\n\t }, {\n\t key: 'nextLoadLevel',\n\t get: function get() {\n\t return this.levelController.nextLoadLevel;\n\t }\n\t\n\t /** set quality level of next loaded fragment **/\n\t\n\t , set: function set(level) {\n\t this.levelController.nextLoadLevel = level;\n\t }\n\t\n\t /** Return first level (index of first level referenced in manifest)\n\t **/\n\t\n\t }, {\n\t key: 'firstLevel',\n\t get: function get() {\n\t return this.levelController.firstLevel;\n\t }\n\t\n\t /** set first level (index of first level referenced in manifest)\n\t **/\n\t\n\t , set: function set(newLevel) {\n\t _logger.logger.log('set firstLevel:' + newLevel);\n\t this.levelController.firstLevel = newLevel;\n\t }\n\t\n\t /** Return start level (level of first fragment that will be played back)\n\t if not overrided by user, first level appearing in manifest will be used as start level\n\t if -1 : automatic start level selection, playback will start from level matching download bandwidth (determined from download of first segment)\n\t **/\n\t\n\t }, {\n\t key: 'startLevel',\n\t get: function get() {\n\t return this.levelController.startLevel;\n\t }\n\t\n\t /** set start level (level of first fragment that will be played back)\n\t if not overrided by user, first level appearing in manifest will be used as start level\n\t if -1 : automatic start level selection, playback will start from level matching download bandwidth (determined from download of first segment)\n\t **/\n\t\n\t , set: function set(newLevel) {\n\t _logger.logger.log('set startLevel:' + newLevel);\n\t this.levelController.startLevel = newLevel;\n\t }\n\t\n\t /** Return the capping/max level value that could be used by automatic level selection algorithm **/\n\t\n\t }, {\n\t key: 'autoLevelCapping',\n\t get: function get() {\n\t return this.abrController.autoLevelCapping;\n\t }\n\t\n\t /** set the capping/max level value that could be used by automatic level selection algorithm **/\n\t\n\t , set: function set(newLevel) {\n\t _logger.logger.log('set autoLevelCapping:' + newLevel);\n\t this.abrController.autoLevelCapping = newLevel;\n\t }\n\t\n\t /* check if we are in automatic level selection mode */\n\t\n\t }, {\n\t key: 'autoLevelEnabled',\n\t get: function get() {\n\t return this.levelController.manualLevel === -1;\n\t }\n\t\n\t /* return manual level */\n\t\n\t }, {\n\t key: 'manualLevel',\n\t get: function get() {\n\t return this.levelController.manualLevel;\n\t }\n\t }]);\n\t\n\t return Hls;\n\t}();\n\t\n\texports.default = Hls;\n\n/***/ },\n/* 63 */\n/*!*******************************!*\\\n !*** ./~/hls.js/lib/index.js ***!\n \\*******************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t// This is mostly for support of the es6 module export\n\t// syntax with the babel compiler, it looks like it doesnt support\n\t// function exports like we are used to in node/commonjs\n\t\n\tmodule.exports = __webpack_require__(/*! ./hls.js */ 62).default;\n\n/***/ },\n/* 64 */\n/*!************************************************!*\\\n !*** ./~/hls.js/lib/loader/fragment-loader.js ***!\n \\************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * Fragment Loader\n\t */\n\t\n\tvar FragmentLoader = function (_EventHandler) {\n\t _inherits(FragmentLoader, _EventHandler);\n\t\n\t function FragmentLoader(hls) {\n\t _classCallCheck(this, FragmentLoader);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(FragmentLoader).call(this, hls, _events2.default.FRAG_LOADING));\n\t }\n\t\n\t _createClass(FragmentLoader, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t if (this.loader) {\n\t this.loader.destroy();\n\t this.loader = null;\n\t }\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t }\n\t }, {\n\t key: 'onFragLoading',\n\t value: function onFragLoading(data) {\n\t var frag = data.frag;\n\t this.frag = frag;\n\t this.frag.loaded = 0;\n\t var config = this.hls.config;\n\t frag.loader = this.loader = typeof config.fLoader !== 'undefined' ? new config.fLoader(config) : new config.loader(config);\n\t this.loader.load(frag.url, 'arraybuffer', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), config.fragLoadingTimeOut, 1, 0, this.loadprogress.bind(this), frag);\n\t }\n\t }, {\n\t key: 'loadsuccess',\n\t value: function loadsuccess(event, stats) {\n\t var payload = event.currentTarget.response;\n\t stats.length = payload.byteLength;\n\t // detach fragment loader on load success\n\t this.frag.loader = undefined;\n\t this.hls.trigger(_events2.default.FRAG_LOADED, { payload: payload, frag: this.frag, stats: stats });\n\t }\n\t }, {\n\t key: 'loaderror',\n\t value: function loaderror(event) {\n\t if (this.loader) {\n\t this.loader.abort();\n\t }\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.FRAG_LOAD_ERROR, fatal: false, frag: this.frag, response: event });\n\t }\n\t }, {\n\t key: 'loadtimeout',\n\t value: function loadtimeout() {\n\t if (this.loader) {\n\t this.loader.abort();\n\t }\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.FRAG_LOAD_TIMEOUT, fatal: false, frag: this.frag });\n\t }\n\t }, {\n\t key: 'loadprogress',\n\t value: function loadprogress(event, stats) {\n\t this.frag.loaded = stats.loaded;\n\t this.hls.trigger(_events2.default.FRAG_LOAD_PROGRESS, { frag: this.frag, stats: stats });\n\t }\n\t }]);\n\t\n\t return FragmentLoader;\n\t}(_eventHandler2.default);\n\t\n\texports.default = FragmentLoader;\n\n/***/ },\n/* 65 */\n/*!*******************************************!*\\\n !*** ./~/hls.js/lib/loader/key-loader.js ***!\n \\*******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /*\n\t * Decrypt key Loader\n\t */\n\t\n\tvar KeyLoader = function (_EventHandler) {\n\t _inherits(KeyLoader, _EventHandler);\n\t\n\t function KeyLoader(hls) {\n\t _classCallCheck(this, KeyLoader);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(KeyLoader).call(this, hls, _events2.default.KEY_LOADING));\n\t\n\t _this.decryptkey = null;\n\t _this.decrypturl = null;\n\t return _this;\n\t }\n\t\n\t _createClass(KeyLoader, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t if (this.loader) {\n\t this.loader.destroy();\n\t this.loader = null;\n\t }\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t }\n\t }, {\n\t key: 'onKeyLoading',\n\t value: function onKeyLoading(data) {\n\t var frag = this.frag = data.frag,\n\t decryptdata = frag.decryptdata,\n\t uri = decryptdata.uri;\n\t // if uri is different from previous one or if decrypt key not retrieved yet\n\t if (uri !== this.decrypturl || this.decryptkey === null) {\n\t var config = this.hls.config;\n\t frag.loader = this.loader = new config.loader(config);\n\t this.decrypturl = uri;\n\t this.decryptkey = null;\n\t frag.loader.load(uri, 'arraybuffer', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), config.fragLoadingTimeOut, config.fragLoadingMaxRetry, config.fragLoadingRetryDelay, this.loadprogress.bind(this), frag);\n\t } else if (this.decryptkey) {\n\t // we already loaded this key, return it\n\t decryptdata.key = this.decryptkey;\n\t this.hls.trigger(_events2.default.KEY_LOADED, { frag: frag });\n\t }\n\t }\n\t }, {\n\t key: 'loadsuccess',\n\t value: function loadsuccess(event) {\n\t var frag = this.frag;\n\t this.decryptkey = frag.decryptdata.key = new Uint8Array(event.currentTarget.response);\n\t // detach fragment loader on load success\n\t frag.loader = undefined;\n\t this.hls.trigger(_events2.default.KEY_LOADED, { frag: frag });\n\t }\n\t }, {\n\t key: 'loaderror',\n\t value: function loaderror(event) {\n\t if (this.loader) {\n\t this.loader.abort();\n\t }\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.KEY_LOAD_ERROR, fatal: false, frag: this.frag, response: event });\n\t }\n\t }, {\n\t key: 'loadtimeout',\n\t value: function loadtimeout() {\n\t if (this.loader) {\n\t this.loader.abort();\n\t }\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.KEY_LOAD_TIMEOUT, fatal: false, frag: this.frag });\n\t }\n\t }, {\n\t key: 'loadprogress',\n\t value: function loadprogress() {}\n\t }]);\n\t\n\t return KeyLoader;\n\t}(_eventHandler2.default);\n\t\n\texports.default = KeyLoader;\n\n/***/ },\n/* 66 */\n/*!************************************************!*\\\n !*** ./~/hls.js/lib/loader/playlist-loader.js ***!\n \\************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _eventHandler = __webpack_require__(/*! ../event-handler */ 12);\n\t\n\tvar _eventHandler2 = _interopRequireDefault(_eventHandler);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tvar _url = __webpack_require__(/*! ../utils/url */ 73);\n\t\n\tvar _url2 = _interopRequireDefault(_url);\n\t\n\tvar _attrList = __webpack_require__(/*! ../utils/attr-list */ 70);\n\t\n\tvar _attrList2 = _interopRequireDefault(_attrList);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tfunction _possibleConstructorReturn(self, call) {\n\t if (!self) {\n\t throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n\t }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n\t}\n\t\n\tfunction _inherits(subClass, superClass) {\n\t if (typeof superClass !== \"function\" && superClass !== null) {\n\t throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n\t }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n\t} /**\n\t * Playlist Loader\n\t */\n\t\n\t//import {logger} from '../utils/logger';\n\t\n\tvar PlaylistLoader = function (_EventHandler) {\n\t _inherits(PlaylistLoader, _EventHandler);\n\t\n\t function PlaylistLoader(hls) {\n\t _classCallCheck(this, PlaylistLoader);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(PlaylistLoader).call(this, hls, _events2.default.MANIFEST_LOADING, _events2.default.LEVEL_LOADING));\n\t }\n\t\n\t _createClass(PlaylistLoader, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t if (this.loader) {\n\t this.loader.destroy();\n\t this.loader = null;\n\t }\n\t this.url = this.id = null;\n\t _eventHandler2.default.prototype.destroy.call(this);\n\t }\n\t }, {\n\t key: 'onManifestLoading',\n\t value: function onManifestLoading(data) {\n\t this.load(data.url, null);\n\t }\n\t }, {\n\t key: 'onLevelLoading',\n\t value: function onLevelLoading(data) {\n\t this.load(data.url, data.level, data.id);\n\t }\n\t }, {\n\t key: 'load',\n\t value: function load(url, id1, id2) {\n\t var config = this.hls.config,\n\t retry,\n\t timeout,\n\t retryDelay;\n\t this.url = url;\n\t this.id = id1;\n\t this.id2 = id2;\n\t if (this.id === null) {\n\t retry = config.manifestLoadingMaxRetry;\n\t timeout = config.manifestLoadingTimeOut;\n\t retryDelay = config.manifestLoadingRetryDelay;\n\t } else {\n\t retry = config.levelLoadingMaxRetry;\n\t timeout = config.levelLoadingTimeOut;\n\t retryDelay = config.levelLoadingRetryDelay;\n\t }\n\t this.loader = typeof config.pLoader !== 'undefined' ? new config.pLoader(config) : new config.loader(config);\n\t this.loader.load(url, '', this.loadsuccess.bind(this), this.loaderror.bind(this), this.loadtimeout.bind(this), timeout, retry, retryDelay);\n\t }\n\t }, {\n\t key: 'resolve',\n\t value: function resolve(url, baseUrl) {\n\t return _url2.default.buildAbsoluteURL(baseUrl, url);\n\t }\n\t }, {\n\t key: 'parseMasterPlaylist',\n\t value: function parseMasterPlaylist(string, baseurl) {\n\t var levels = [],\n\t result = undefined;\n\t\n\t // https://regex101.com is your friend\n\t var re = /#EXT-X-STREAM-INF:([^\\n\\r]*)[\\r\\n]+([^\\r\\n]+)/g;\n\t while ((result = re.exec(string)) != null) {\n\t var level = {};\n\t\n\t var attrs = level.attrs = new _attrList2.default(result[1]);\n\t level.url = this.resolve(result[2], baseurl);\n\t\n\t var resolution = attrs.decimalResolution('RESOLUTION');\n\t if (resolution) {\n\t level.width = resolution.width;\n\t level.height = resolution.height;\n\t }\n\t level.bitrate = attrs.decimalInteger('BANDWIDTH');\n\t level.name = attrs.NAME;\n\t\n\t var codecs = attrs.CODECS;\n\t if (codecs) {\n\t codecs = codecs.split(',');\n\t for (var i = 0; i < codecs.length; i++) {\n\t var codec = codecs[i];\n\t if (codec.indexOf('avc1') !== -1) {\n\t level.videoCodec = this.avc1toavcoti(codec);\n\t } else {\n\t level.audioCodec = codec;\n\t }\n\t }\n\t }\n\t\n\t levels.push(level);\n\t }\n\t return levels;\n\t }\n\t }, {\n\t key: 'avc1toavcoti',\n\t value: function avc1toavcoti(codec) {\n\t var result,\n\t avcdata = codec.split('.');\n\t if (avcdata.length > 2) {\n\t result = avcdata.shift() + '.';\n\t result += parseInt(avcdata.shift()).toString(16);\n\t result += ('000' + parseInt(avcdata.shift()).toString(16)).substr(-4);\n\t } else {\n\t result = codec;\n\t }\n\t return result;\n\t }\n\t }, {\n\t key: 'cloneObj',\n\t value: function cloneObj(obj) {\n\t return JSON.parse(JSON.stringify(obj));\n\t }\n\t }, {\n\t key: 'parseLevelPlaylist',\n\t value: function parseLevelPlaylist(string, baseurl, id) {\n\t var currentSN = 0,\n\t totalduration = 0,\n\t level = { url: baseurl, fragments: [], live: true, startSN: 0 },\n\t levelkey = { method: null, key: null, iv: null, uri: null },\n\t cc = 0,\n\t programDateTime = null,\n\t frag = null,\n\t result,\n\t regexp,\n\t byteRangeEndOffset,\n\t byteRangeStartOffset;\n\t\n\t regexp = /(?:#EXT-X-(MEDIA-SEQUENCE):(\\d+))|(?:#EXT-X-(TARGETDURATION):(\\d+))|(?:#EXT-X-(KEY):(.*))|(?:#EXT(INF):([\\d\\.]+)[^\\r\\n]*([\\r\\n]+[^#|\\r\\n]+)?)|(?:#EXT-X-(BYTERANGE):([\\d]+[@[\\d]*)]*[\\r\\n]+([^#|\\r\\n]+)?|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(PROGRAM-DATE-TIME):(.*))/g;\n\t while ((result = regexp.exec(string)) !== null) {\n\t result.shift();\n\t result = result.filter(function (n) {\n\t return n !== undefined;\n\t });\n\t switch (result[0]) {\n\t case 'MEDIA-SEQUENCE':\n\t currentSN = level.startSN = parseInt(result[1]);\n\t break;\n\t case 'TARGETDURATION':\n\t level.targetduration = parseFloat(result[1]);\n\t break;\n\t case 'ENDLIST':\n\t level.live = false;\n\t break;\n\t case 'DIS':\n\t cc++;\n\t break;\n\t case 'BYTERANGE':\n\t var params = result[1].split('@');\n\t if (params.length === 1) {\n\t byteRangeStartOffset = byteRangeEndOffset;\n\t } else {\n\t byteRangeStartOffset = parseInt(params[1]);\n\t }\n\t byteRangeEndOffset = parseInt(params[0]) + byteRangeStartOffset;\n\t if (frag && !frag.url) {\n\t frag.byteRangeStartOffset = byteRangeStartOffset;\n\t frag.byteRangeEndOffset = byteRangeEndOffset;\n\t frag.url = this.resolve(result[2], baseurl);\n\t }\n\t break;\n\t case 'INF':\n\t var duration = parseFloat(result[1]);\n\t if (!isNaN(duration)) {\n\t var fragdecryptdata,\n\t sn = currentSN++;\n\t if (levelkey.method && levelkey.uri && !levelkey.iv) {\n\t fragdecryptdata = this.cloneObj(levelkey);\n\t var uint8View = new Uint8Array(16);\n\t for (var i = 12; i < 16; i++) {\n\t uint8View[i] = sn >> 8 * (15 - i) & 0xff;\n\t }\n\t fragdecryptdata.iv = uint8View;\n\t } else {\n\t fragdecryptdata = levelkey;\n\t }\n\t var url = result[2] ? this.resolve(result[2], baseurl) : null;\n\t frag = { url: url, duration: duration, start: totalduration, sn: sn, level: id, cc: cc, byteRangeStartOffset: byteRangeStartOffset, byteRangeEndOffset: byteRangeEndOffset, decryptdata: fragdecryptdata, programDateTime: programDateTime };\n\t level.fragments.push(frag);\n\t totalduration += duration;\n\t byteRangeStartOffset = null;\n\t programDateTime = null;\n\t }\n\t break;\n\t case 'KEY':\n\t // https://tools.ietf.org/html/draft-pantos-http-live-streaming-08#section-3.4.4\n\t var decryptparams = result[1];\n\t var keyAttrs = new _attrList2.default(decryptparams);\n\t var decryptmethod = keyAttrs.enumeratedString('METHOD'),\n\t decrypturi = keyAttrs.URI,\n\t decryptiv = keyAttrs.hexadecimalInteger('IV');\n\t if (decryptmethod) {\n\t levelkey = { method: null, key: null, iv: null, uri: null };\n\t if (decrypturi && decryptmethod === 'AES-128') {\n\t levelkey.method = decryptmethod;\n\t // URI to get the key\n\t levelkey.uri = this.resolve(decrypturi, baseurl);\n\t levelkey.key = null;\n\t // Initialization Vector (IV)\n\t levelkey.iv = decryptiv;\n\t }\n\t }\n\t break;\n\t case 'PROGRAM-DATE-TIME':\n\t programDateTime = new Date(Date.parse(result[1]));\n\t break;\n\t default:\n\t break;\n\t }\n\t }\n\t //logger.log('found ' + level.fragments.length + ' fragments');\n\t if (frag && !frag.url) {\n\t level.fragments.pop();\n\t totalduration -= frag.duration;\n\t }\n\t level.totalduration = totalduration;\n\t level.endSN = currentSN - 1;\n\t return level;\n\t }\n\t }, {\n\t key: 'loadsuccess',\n\t value: function loadsuccess(event, stats) {\n\t var target = event.currentTarget,\n\t string = target.responseText,\n\t url = target.responseURL,\n\t id = this.id,\n\t id2 = this.id2,\n\t hls = this.hls,\n\t levels;\n\t // responseURL not supported on some browsers (it is used to detect URL redirection)\n\t if (url === undefined) {\n\t // fallback to initial URL\n\t url = this.url;\n\t }\n\t stats.tload = performance.now();\n\t stats.mtime = new Date(target.getResponseHeader('Last-Modified'));\n\t if (string.indexOf('#EXTM3U') === 0) {\n\t if (string.indexOf('#EXTINF:') > 0) {\n\t // 1 level playlist\n\t // if first request, fire manifest loaded event, level will be reloaded afterwards\n\t // (this is to have a uniform logic for 1 level/multilevel playlists)\n\t if (this.id === null) {\n\t hls.trigger(_events2.default.MANIFEST_LOADED, { levels: [{ url: url }], url: url, stats: stats });\n\t } else {\n\t var levelDetails = this.parseLevelPlaylist(string, url, id);\n\t stats.tparsed = performance.now();\n\t hls.trigger(_events2.default.LEVEL_LOADED, { details: levelDetails, level: id, id: id2, stats: stats });\n\t }\n\t } else {\n\t levels = this.parseMasterPlaylist(string, url);\n\t // multi level playlist, parse level info\n\t if (levels.length) {\n\t hls.trigger(_events2.default.MANIFEST_LOADED, { levels: levels, url: url, stats: stats });\n\t } else {\n\t hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.MANIFEST_PARSING_ERROR, fatal: true, url: url, reason: 'no level found in manifest' });\n\t }\n\t }\n\t } else {\n\t hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: _errors.ErrorDetails.MANIFEST_PARSING_ERROR, fatal: true, url: url, reason: 'no EXTM3U delimiter' });\n\t }\n\t }\n\t }, {\n\t key: 'loaderror',\n\t value: function loaderror(event) {\n\t var details, fatal;\n\t if (this.id === null) {\n\t details = _errors.ErrorDetails.MANIFEST_LOAD_ERROR;\n\t fatal = true;\n\t } else {\n\t details = _errors.ErrorDetails.LEVEL_LOAD_ERROR;\n\t fatal = false;\n\t }\n\t if (this.loader) {\n\t this.loader.abort();\n\t }\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, response: event.currentTarget, level: this.id, id: this.id2 });\n\t }\n\t }, {\n\t key: 'loadtimeout',\n\t value: function loadtimeout() {\n\t var details, fatal;\n\t if (this.id === null) {\n\t details = _errors.ErrorDetails.MANIFEST_LOAD_TIMEOUT;\n\t fatal = true;\n\t } else {\n\t details = _errors.ErrorDetails.LEVEL_LOAD_TIMEOUT;\n\t fatal = false;\n\t }\n\t if (this.loader) {\n\t this.loader.abort();\n\t }\n\t this.hls.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.NETWORK_ERROR, details: details, fatal: fatal, url: this.url, loader: this.loader, level: this.id, id: this.id2 });\n\t }\n\t }]);\n\t\n\t return PlaylistLoader;\n\t}(_eventHandler2.default);\n\t\n\texports.default = PlaylistLoader;\n\n/***/ },\n/* 67 */\n/*!*********************************************!*\\\n !*** ./~/hls.js/lib/remux/mp4-generator.js ***!\n \\*********************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t/**\n\t * Generate MP4 Box\n\t*/\n\t\n\t//import Hex from '../utils/hex';\n\t\n\tvar MP4 = function () {\n\t function MP4() {\n\t _classCallCheck(this, MP4);\n\t }\n\t\n\t _createClass(MP4, null, [{\n\t key: 'init',\n\t value: function init() {\n\t MP4.types = {\n\t avc1: [], // codingname\n\t avcC: [],\n\t btrt: [],\n\t dinf: [],\n\t dref: [],\n\t esds: [],\n\t ftyp: [],\n\t hdlr: [],\n\t mdat: [],\n\t mdhd: [],\n\t mdia: [],\n\t mfhd: [],\n\t minf: [],\n\t moof: [],\n\t moov: [],\n\t mp4a: [],\n\t mvex: [],\n\t mvhd: [],\n\t sdtp: [],\n\t stbl: [],\n\t stco: [],\n\t stsc: [],\n\t stsd: [],\n\t stsz: [],\n\t stts: [],\n\t tfdt: [],\n\t tfhd: [],\n\t traf: [],\n\t trak: [],\n\t trun: [],\n\t trex: [],\n\t tkhd: [],\n\t vmhd: [],\n\t smhd: []\n\t };\n\t\n\t var i;\n\t for (i in MP4.types) {\n\t if (MP4.types.hasOwnProperty(i)) {\n\t MP4.types[i] = [i.charCodeAt(0), i.charCodeAt(1), i.charCodeAt(2), i.charCodeAt(3)];\n\t }\n\t }\n\t\n\t var videoHdlr = new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x00, // pre_defined\n\t 0x76, 0x69, 0x64, 0x65, // handler_type: 'vide'\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x56, 0x69, 0x64, 0x65, 0x6f, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'VideoHandler'\n\t ]);\n\t\n\t var audioHdlr = new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x00, // pre_defined\n\t 0x73, 0x6f, 0x75, 0x6e, // handler_type: 'soun'\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'SoundHandler'\n\t ]);\n\t\n\t MP4.HDLR_TYPES = {\n\t 'video': videoHdlr,\n\t 'audio': audioHdlr\n\t };\n\t\n\t var dref = new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x01, // entry_count\n\t 0x00, 0x00, 0x00, 0x0c, // entry_size\n\t 0x75, 0x72, 0x6c, 0x20, // 'url' type\n\t 0x00, // version 0\n\t 0x00, 0x00, 0x01 // entry_flags\n\t ]);\n\t\n\t var stco = new Uint8Array([0x00, // version\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x00 // entry_count\n\t ]);\n\t\n\t MP4.STTS = MP4.STSC = MP4.STCO = stco;\n\t\n\t MP4.STSZ = new Uint8Array([0x00, // version\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x00, // sample_size\n\t 0x00, 0x00, 0x00, 0x00]);\n\t // sample_count\n\t MP4.VMHD = new Uint8Array([0x00, // version\n\t 0x00, 0x00, 0x01, // flags\n\t 0x00, 0x00, // graphicsmode\n\t 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // opcolor\n\t ]);\n\t MP4.SMHD = new Uint8Array([0x00, // version\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, // balance\n\t 0x00, 0x00 // reserved\n\t ]);\n\t\n\t MP4.STSD = new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x01]); // entry_count\n\t\n\t var majorBrand = new Uint8Array([105, 115, 111, 109]); // isom\n\t var avc1Brand = new Uint8Array([97, 118, 99, 49]); // avc1\n\t var minorVersion = new Uint8Array([0, 0, 0, 1]);\n\t\n\t MP4.FTYP = MP4.box(MP4.types.ftyp, majorBrand, minorVersion, majorBrand, avc1Brand);\n\t MP4.DINF = MP4.box(MP4.types.dinf, MP4.box(MP4.types.dref, dref));\n\t }\n\t }, {\n\t key: 'box',\n\t value: function box(type) {\n\t var payload = Array.prototype.slice.call(arguments, 1),\n\t size = 8,\n\t i = payload.length,\n\t len = i,\n\t result;\n\t // calculate the total size we need to allocate\n\t while (i--) {\n\t size += payload[i].byteLength;\n\t }\n\t result = new Uint8Array(size);\n\t result[0] = size >> 24 & 0xff;\n\t result[1] = size >> 16 & 0xff;\n\t result[2] = size >> 8 & 0xff;\n\t result[3] = size & 0xff;\n\t result.set(type, 4);\n\t // copy the payload into the result\n\t for (i = 0, size = 8; i < len; i++) {\n\t // copy payload[i] array @ offset size\n\t result.set(payload[i], size);\n\t size += payload[i].byteLength;\n\t }\n\t return result;\n\t }\n\t }, {\n\t key: 'hdlr',\n\t value: function hdlr(type) {\n\t return MP4.box(MP4.types.hdlr, MP4.HDLR_TYPES[type]);\n\t }\n\t }, {\n\t key: 'mdat',\n\t value: function mdat(data) {\n\t return MP4.box(MP4.types.mdat, data);\n\t }\n\t }, {\n\t key: 'mdhd',\n\t value: function mdhd(timescale, duration) {\n\t duration *= timescale;\n\t return MP4.box(MP4.types.mdhd, new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x02, // creation_time\n\t 0x00, 0x00, 0x00, 0x03, // modification_time\n\t timescale >> 24 & 0xFF, timescale >> 16 & 0xFF, timescale >> 8 & 0xFF, timescale & 0xFF, // timescale\n\t duration >> 24, duration >> 16 & 0xFF, duration >> 8 & 0xFF, duration & 0xFF, // duration\n\t 0x55, 0xc4, // 'und' language (undetermined)\n\t 0x00, 0x00]));\n\t }\n\t }, {\n\t key: 'mdia',\n\t value: function mdia(track) {\n\t return MP4.box(MP4.types.mdia, MP4.mdhd(track.timescale, track.duration), MP4.hdlr(track.type), MP4.minf(track));\n\t }\n\t }, {\n\t key: 'mfhd',\n\t value: function mfhd(sequenceNumber) {\n\t return MP4.box(MP4.types.mfhd, new Uint8Array([0x00, 0x00, 0x00, 0x00, // flags\n\t sequenceNumber >> 24, sequenceNumber >> 16 & 0xFF, sequenceNumber >> 8 & 0xFF, sequenceNumber & 0xFF]));\n\t }\n\t }, {\n\t key: 'minf',\n\t // sequence_number\n\t value: function minf(track) {\n\t if (track.type === 'audio') {\n\t return MP4.box(MP4.types.minf, MP4.box(MP4.types.smhd, MP4.SMHD), MP4.DINF, MP4.stbl(track));\n\t } else {\n\t return MP4.box(MP4.types.minf, MP4.box(MP4.types.vmhd, MP4.VMHD), MP4.DINF, MP4.stbl(track));\n\t }\n\t }\n\t }, {\n\t key: 'moof',\n\t value: function moof(sn, baseMediaDecodeTime, track) {\n\t return MP4.box(MP4.types.moof, MP4.mfhd(sn), MP4.traf(track, baseMediaDecodeTime));\n\t }\n\t /**\n\t * @param tracks... (optional) {array} the tracks associated with this movie\n\t */\n\t\n\t }, {\n\t key: 'moov',\n\t value: function moov(tracks) {\n\t var i = tracks.length,\n\t boxes = [];\n\t\n\t while (i--) {\n\t boxes[i] = MP4.trak(tracks[i]);\n\t }\n\t\n\t return MP4.box.apply(null, [MP4.types.moov, MP4.mvhd(tracks[0].timescale, tracks[0].duration)].concat(boxes).concat(MP4.mvex(tracks)));\n\t }\n\t }, {\n\t key: 'mvex',\n\t value: function mvex(tracks) {\n\t var i = tracks.length,\n\t boxes = [];\n\t\n\t while (i--) {\n\t boxes[i] = MP4.trex(tracks[i]);\n\t }\n\t return MP4.box.apply(null, [MP4.types.mvex].concat(boxes));\n\t }\n\t }, {\n\t key: 'mvhd',\n\t value: function mvhd(timescale, duration) {\n\t duration *= timescale;\n\t var bytes = new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t 0x00, 0x00, 0x00, 0x01, // creation_time\n\t 0x00, 0x00, 0x00, 0x02, // modification_time\n\t timescale >> 24 & 0xFF, timescale >> 16 & 0xFF, timescale >> 8 & 0xFF, timescale & 0xFF, // timescale\n\t duration >> 24 & 0xFF, duration >> 16 & 0xFF, duration >> 8 & 0xFF, duration & 0xFF, // duration\n\t 0x00, 0x01, 0x00, 0x00, // 1.0 rate\n\t 0x01, 0x00, // 1.0 volume\n\t 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, // transformation: unity matrix\n\t 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // pre_defined\n\t 0xff, 0xff, 0xff, 0xff // next_track_ID\n\t ]);\n\t return MP4.box(MP4.types.mvhd, bytes);\n\t }\n\t }, {\n\t key: 'sdtp',\n\t value: function sdtp(track) {\n\t var samples = track.samples || [],\n\t bytes = new Uint8Array(4 + samples.length),\n\t flags,\n\t i;\n\t // leave the full box header (4 bytes) all zero\n\t // write the sample table\n\t for (i = 0; i < samples.length; i++) {\n\t flags = samples[i].flags;\n\t bytes[i + 4] = flags.dependsOn << 4 | flags.isDependedOn << 2 | flags.hasRedundancy;\n\t }\n\t\n\t return MP4.box(MP4.types.sdtp, bytes);\n\t }\n\t }, {\n\t key: 'stbl',\n\t value: function stbl(track) {\n\t return MP4.box(MP4.types.stbl, MP4.stsd(track), MP4.box(MP4.types.stts, MP4.STTS), MP4.box(MP4.types.stsc, MP4.STSC), MP4.box(MP4.types.stsz, MP4.STSZ), MP4.box(MP4.types.stco, MP4.STCO));\n\t }\n\t }, {\n\t key: 'avc1',\n\t value: function avc1(track) {\n\t var sps = [],\n\t pps = [],\n\t i,\n\t data,\n\t len;\n\t // assemble the SPSs\n\t\n\t for (i = 0; i < track.sps.length; i++) {\n\t data = track.sps[i];\n\t len = data.byteLength;\n\t sps.push(len >>> 8 & 0xFF);\n\t sps.push(len & 0xFF);\n\t sps = sps.concat(Array.prototype.slice.call(data)); // SPS\n\t }\n\t\n\t // assemble the PPSs\n\t for (i = 0; i < track.pps.length; i++) {\n\t data = track.pps[i];\n\t len = data.byteLength;\n\t pps.push(len >>> 8 & 0xFF);\n\t pps.push(len & 0xFF);\n\t pps = pps.concat(Array.prototype.slice.call(data));\n\t }\n\t\n\t var avcc = MP4.box(MP4.types.avcC, new Uint8Array([0x01, // version\n\t sps[3], // profile\n\t sps[4], // profile compat\n\t sps[5], // level\n\t 0xfc | 3, // lengthSizeMinusOne, hard-coded to 4 bytes\n\t 0xE0 | track.sps.length // 3bit reserved (111) + numOfSequenceParameterSets\n\t ].concat(sps).concat([track.pps.length // numOfPictureParameterSets\n\t ]).concat(pps))),\n\t\n\t // \"PPS\"\n\t width = track.width,\n\t height = track.height;\n\t //console.log('avcc:' + Hex.hexDump(avcc));\n\t return MP4.box(MP4.types.avc1, new Uint8Array([0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x01, // data_reference_index\n\t 0x00, 0x00, // pre_defined\n\t 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // pre_defined\n\t width >> 8 & 0xFF, width & 0xff, // width\n\t height >> 8 & 0xFF, height & 0xff, // height\n\t 0x00, 0x48, 0x00, 0x00, // horizresolution\n\t 0x00, 0x48, 0x00, 0x00, // vertresolution\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x01, // frame_count\n\t 0x12, 0x64, 0x61, 0x69, 0x6C, //dailymotion/hls.js\n\t 0x79, 0x6D, 0x6F, 0x74, 0x69, 0x6F, 0x6E, 0x2F, 0x68, 0x6C, 0x73, 0x2E, 0x6A, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // compressorname\n\t 0x00, 0x18, // depth = 24\n\t 0x11, 0x11]), // pre_defined = -1\n\t avcc, MP4.box(MP4.types.btrt, new Uint8Array([0x00, 0x1c, 0x9c, 0x80, // bufferSizeDB\n\t 0x00, 0x2d, 0xc6, 0xc0, // maxBitrate\n\t 0x00, 0x2d, 0xc6, 0xc0])) // avgBitrate\n\t );\n\t }\n\t }, {\n\t key: 'esds',\n\t value: function esds(track) {\n\t var configlen = track.config.length;\n\t return new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t\n\t 0x03, // descriptor_type\n\t 0x17 + configlen, // length\n\t 0x00, 0x01, //es_id\n\t 0x00, // stream_priority\n\t\n\t 0x04, // descriptor_type\n\t 0x0f + configlen, // length\n\t 0x40, //codec : mpeg4_audio\n\t 0x15, // stream_type\n\t 0x00, 0x00, 0x00, // buffer_size\n\t 0x00, 0x00, 0x00, 0x00, // maxBitrate\n\t 0x00, 0x00, 0x00, 0x00, // avgBitrate\n\t\n\t 0x05 // descriptor_type\n\t ].concat([configlen]).concat(track.config).concat([0x06, 0x01, 0x02])); // GASpecificConfig)); // length + audio config descriptor\n\t }\n\t }, {\n\t key: 'mp4a',\n\t value: function mp4a(track) {\n\t var audiosamplerate = track.audiosamplerate;\n\t return MP4.box(MP4.types.mp4a, new Uint8Array([0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x01, // data_reference_index\n\t 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, track.channelCount, // channelcount\n\t 0x00, 0x10, // sampleSize:16bits\n\t 0x00, 0x00, 0x00, 0x00, // reserved2\n\t audiosamplerate >> 8 & 0xFF, audiosamplerate & 0xff, //\n\t 0x00, 0x00]), MP4.box(MP4.types.esds, MP4.esds(track)));\n\t }\n\t }, {\n\t key: 'stsd',\n\t value: function stsd(track) {\n\t if (track.type === 'audio') {\n\t return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp4a(track));\n\t } else {\n\t return MP4.box(MP4.types.stsd, MP4.STSD, MP4.avc1(track));\n\t }\n\t }\n\t }, {\n\t key: 'tkhd',\n\t value: function tkhd(track) {\n\t var id = track.id,\n\t duration = track.duration * track.timescale,\n\t width = track.width,\n\t height = track.height;\n\t return MP4.box(MP4.types.tkhd, new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x07, // flags\n\t 0x00, 0x00, 0x00, 0x00, // creation_time\n\t 0x00, 0x00, 0x00, 0x00, // modification_time\n\t id >> 24 & 0xFF, id >> 16 & 0xFF, id >> 8 & 0xFF, id & 0xFF, // track_ID\n\t 0x00, 0x00, 0x00, 0x00, // reserved\n\t duration >> 24, duration >> 16 & 0xFF, duration >> 8 & 0xFF, duration & 0xFF, // duration\n\t 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // reserved\n\t 0x00, 0x00, // layer\n\t 0x00, 0x00, // alternate_group\n\t 0x00, 0x00, // non-audio track volume\n\t 0x00, 0x00, // reserved\n\t 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, // transformation: unity matrix\n\t width >> 8 & 0xFF, width & 0xFF, 0x00, 0x00, // width\n\t height >> 8 & 0xFF, height & 0xFF, 0x00, 0x00 // height\n\t ]));\n\t }\n\t }, {\n\t key: 'traf',\n\t value: function traf(track, baseMediaDecodeTime) {\n\t var sampleDependencyTable = MP4.sdtp(track),\n\t id = track.id;\n\t return MP4.box(MP4.types.traf, MP4.box(MP4.types.tfhd, new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t id >> 24, id >> 16 & 0XFF, id >> 8 & 0XFF, id & 0xFF])), // track_ID\n\t MP4.box(MP4.types.tfdt, new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t baseMediaDecodeTime >> 24, baseMediaDecodeTime >> 16 & 0XFF, baseMediaDecodeTime >> 8 & 0XFF, baseMediaDecodeTime & 0xFF])), // baseMediaDecodeTime\n\t MP4.trun(track, sampleDependencyTable.length + 16 + // tfhd\n\t 16 + // tfdt\n\t 8 + // traf header\n\t 16 + // mfhd\n\t 8 + // moof header\n\t 8), // mdat header\n\t sampleDependencyTable);\n\t }\n\t\n\t /**\n\t * Generate a track box.\n\t * @param track {object} a track definition\n\t * @return {Uint8Array} the track box\n\t */\n\t\n\t }, {\n\t key: 'trak',\n\t value: function trak(track) {\n\t track.duration = track.duration || 0xffffffff;\n\t return MP4.box(MP4.types.trak, MP4.tkhd(track), MP4.mdia(track));\n\t }\n\t }, {\n\t key: 'trex',\n\t value: function trex(track) {\n\t var id = track.id;\n\t return MP4.box(MP4.types.trex, new Uint8Array([0x00, // version 0\n\t 0x00, 0x00, 0x00, // flags\n\t id >> 24, id >> 16 & 0XFF, id >> 8 & 0XFF, id & 0xFF, // track_ID\n\t 0x00, 0x00, 0x00, 0x01, // default_sample_description_index\n\t 0x00, 0x00, 0x00, 0x00, // default_sample_duration\n\t 0x00, 0x00, 0x00, 0x00, // default_sample_size\n\t 0x00, 0x01, 0x00, 0x01 // default_sample_flags\n\t ]));\n\t }\n\t }, {\n\t key: 'trun',\n\t value: function trun(track, offset) {\n\t var samples = track.samples || [],\n\t len = samples.length,\n\t arraylen = 12 + 16 * len,\n\t array = new Uint8Array(arraylen),\n\t i,\n\t sample,\n\t duration,\n\t size,\n\t flags,\n\t cts;\n\t offset += 8 + arraylen;\n\t array.set([0x00, // version 0\n\t 0x00, 0x0f, 0x01, // flags\n\t len >>> 24 & 0xFF, len >>> 16 & 0xFF, len >>> 8 & 0xFF, len & 0xFF, // sample_count\n\t offset >>> 24 & 0xFF, offset >>> 16 & 0xFF, offset >>> 8 & 0xFF, offset & 0xFF // data_offset\n\t ], 0);\n\t for (i = 0; i < len; i++) {\n\t sample = samples[i];\n\t duration = sample.duration;\n\t size = sample.size;\n\t flags = sample.flags;\n\t cts = sample.cts;\n\t array.set([duration >>> 24 & 0xFF, duration >>> 16 & 0xFF, duration >>> 8 & 0xFF, duration & 0xFF, // sample_duration\n\t size >>> 24 & 0xFF, size >>> 16 & 0xFF, size >>> 8 & 0xFF, size & 0xFF, // sample_size\n\t flags.isLeading << 2 | flags.dependsOn, flags.isDependedOn << 6 | flags.hasRedundancy << 4 | flags.paddingValue << 1 | flags.isNonSync, flags.degradPrio & 0xF0 << 8, flags.degradPrio & 0x0F, // sample_flags\n\t cts >>> 24 & 0xFF, cts >>> 16 & 0xFF, cts >>> 8 & 0xFF, cts & 0xFF // sample_composition_time_offset\n\t ], 12 + 16 * i);\n\t }\n\t return MP4.box(MP4.types.trun, array);\n\t }\n\t }, {\n\t key: 'initSegment',\n\t value: function initSegment(tracks) {\n\t if (!MP4.types) {\n\t MP4.init();\n\t }\n\t var movie = MP4.moov(tracks),\n\t result;\n\t result = new Uint8Array(MP4.FTYP.byteLength + movie.byteLength);\n\t result.set(MP4.FTYP);\n\t result.set(movie, MP4.FTYP.byteLength);\n\t return result;\n\t }\n\t }]);\n\t\n\t return MP4;\n\t}();\n\t\n\texports.default = MP4;\n\n/***/ },\n/* 68 */\n/*!*******************************************!*\\\n !*** ./~/hls.js/lib/remux/mp4-remuxer.js ***!\n \\*******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * fMP4 remuxer\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tvar _mp4Generator = __webpack_require__(/*! ../remux/mp4-generator */ 67);\n\t\n\tvar _mp4Generator2 = _interopRequireDefault(_mp4Generator);\n\t\n\tvar _errors = __webpack_require__(/*! ../errors */ 6);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar MP4Remuxer = function () {\n\t function MP4Remuxer(observer) {\n\t _classCallCheck(this, MP4Remuxer);\n\t\n\t this.observer = observer;\n\t this.ISGenerated = false;\n\t this.PES2MP4SCALEFACTOR = 4;\n\t this.PES_TIMESCALE = 90000;\n\t this.MP4_TIMESCALE = this.PES_TIMESCALE / this.PES2MP4SCALEFACTOR;\n\t }\n\t\n\t _createClass(MP4Remuxer, [{\n\t key: 'destroy',\n\t value: function destroy() {}\n\t }, {\n\t key: 'insertDiscontinuity',\n\t value: function insertDiscontinuity() {\n\t this._initPTS = this._initDTS = this.nextAacPts = this.nextAvcDts = undefined;\n\t }\n\t }, {\n\t key: 'switchLevel',\n\t value: function switchLevel() {\n\t this.ISGenerated = false;\n\t }\n\t }, {\n\t key: 'remux',\n\t value: function remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous) {\n\t // generate Init Segment if needed\n\t if (!this.ISGenerated) {\n\t this.generateIS(audioTrack, videoTrack, timeOffset);\n\t }\n\t if (this.ISGenerated) {\n\t //logger.log('nb AVC samples:' + videoTrack.samples.length);\n\t if (videoTrack.samples.length) {\n\t this.remuxVideo(videoTrack, timeOffset, contiguous);\n\t }\n\t //logger.log('nb AAC samples:' + audioTrack.samples.length);\n\t if (audioTrack.samples.length) {\n\t this.remuxAudio(audioTrack, timeOffset, contiguous);\n\t }\n\t }\n\t //logger.log('nb ID3 samples:' + audioTrack.samples.length);\n\t if (id3Track.samples.length) {\n\t this.remuxID3(id3Track, timeOffset);\n\t }\n\t //logger.log('nb ID3 samples:' + audioTrack.samples.length);\n\t if (textTrack.samples.length) {\n\t this.remuxText(textTrack, timeOffset);\n\t }\n\t //notify end of parsing\n\t this.observer.trigger(_events2.default.FRAG_PARSED);\n\t }\n\t }, {\n\t key: 'generateIS',\n\t value: function generateIS(audioTrack, videoTrack, timeOffset) {\n\t var observer = this.observer,\n\t audioSamples = audioTrack.samples,\n\t videoSamples = videoTrack.samples,\n\t pesTimeScale = this.PES_TIMESCALE,\n\t tracks = {},\n\t data = { tracks: tracks, unique: false },\n\t computePTSDTS = this._initPTS === undefined,\n\t initPTS,\n\t initDTS;\n\t\n\t if (computePTSDTS) {\n\t initPTS = initDTS = Infinity;\n\t }\n\t if (audioTrack.config && audioSamples.length) {\n\t audioTrack.timescale = audioTrack.audiosamplerate;\n\t // MP4 duration (track duration in seconds multiplied by timescale) is coded on 32 bits\n\t // we know that each AAC sample contains 1024 frames....\n\t // in order to avoid overflowing the 32 bit counter for large duration, we use smaller timescale (timescale/gcd)\n\t // we just need to ensure that AAC sample duration will still be an integer (will be 1024/gcd)\n\t if (audioTrack.timescale * audioTrack.duration > Math.pow(2, 32)) {\n\t (function () {\n\t var greatestCommonDivisor = function greatestCommonDivisor(a, b) {\n\t if (!b) {\n\t return a;\n\t }\n\t return greatestCommonDivisor(b, a % b);\n\t };\n\t audioTrack.timescale = audioTrack.audiosamplerate / greatestCommonDivisor(audioTrack.audiosamplerate, 1024);\n\t })();\n\t }\n\t _logger.logger.log('audio mp4 timescale :' + audioTrack.timescale);\n\t tracks.audio = {\n\t container: 'audio/mp4',\n\t codec: audioTrack.codec,\n\t initSegment: _mp4Generator2.default.initSegment([audioTrack]),\n\t metadata: {\n\t channelCount: audioTrack.channelCount\n\t }\n\t };\n\t if (computePTSDTS) {\n\t // remember first PTS of this demuxing context. for audio, PTS + DTS ...\n\t initPTS = initDTS = audioSamples[0].pts - pesTimeScale * timeOffset;\n\t }\n\t }\n\t\n\t if (videoTrack.sps && videoTrack.pps && videoSamples.length) {\n\t videoTrack.timescale = this.MP4_TIMESCALE;\n\t tracks.video = {\n\t container: 'video/mp4',\n\t codec: videoTrack.codec,\n\t initSegment: _mp4Generator2.default.initSegment([videoTrack]),\n\t metadata: {\n\t width: videoTrack.width,\n\t height: videoTrack.height\n\t }\n\t };\n\t if (computePTSDTS) {\n\t initPTS = Math.min(initPTS, videoSamples[0].pts - pesTimeScale * timeOffset);\n\t initDTS = Math.min(initDTS, videoSamples[0].dts - pesTimeScale * timeOffset);\n\t }\n\t }\n\t\n\t if (Object.keys(tracks).length) {\n\t observer.trigger(_events2.default.FRAG_PARSING_INIT_SEGMENT, data);\n\t this.ISGenerated = true;\n\t if (computePTSDTS) {\n\t this._initPTS = initPTS;\n\t this._initDTS = initDTS;\n\t }\n\t } else {\n\t observer.trigger(_events2.default.ERROR, { type: _errors.ErrorTypes.MEDIA_ERROR, details: _errors.ErrorDetails.FRAG_PARSING_ERROR, fatal: false, reason: 'no audio/video samples found' });\n\t }\n\t }\n\t }, {\n\t key: 'remuxVideo',\n\t value: function remuxVideo(track, timeOffset, contiguous) {\n\t var view,\n\t offset = 8,\n\t pesTimeScale = this.PES_TIMESCALE,\n\t pes2mp4ScaleFactor = this.PES2MP4SCALEFACTOR,\n\t avcSample,\n\t mp4Sample,\n\t mp4SampleLength,\n\t unit,\n\t mdat,\n\t moof,\n\t firstPTS,\n\t firstDTS,\n\t lastDTS,\n\t pts,\n\t dts,\n\t ptsnorm,\n\t dtsnorm,\n\t flags,\n\t samples = [];\n\t /* concatenate the video data and construct the mdat in place\n\t (need 8 more bytes to fill length and mpdat type) */\n\t mdat = new Uint8Array(track.len + 4 * track.nbNalu + 8);\n\t view = new DataView(mdat.buffer);\n\t view.setUint32(0, mdat.byteLength);\n\t mdat.set(_mp4Generator2.default.types.mdat, 4);\n\t while (track.samples.length) {\n\t avcSample = track.samples.shift();\n\t mp4SampleLength = 0;\n\t // convert NALU bitstream to MP4 format (prepend NALU with size field)\n\t while (avcSample.units.units.length) {\n\t unit = avcSample.units.units.shift();\n\t view.setUint32(offset, unit.data.byteLength);\n\t offset += 4;\n\t mdat.set(unit.data, offset);\n\t offset += unit.data.byteLength;\n\t mp4SampleLength += 4 + unit.data.byteLength;\n\t }\n\t pts = avcSample.pts - this._initDTS;\n\t dts = avcSample.dts - this._initDTS;\n\t // ensure DTS is not bigger than PTS\n\t dts = Math.min(pts, dts);\n\t //logger.log(`Video/PTS/DTS:${Math.round(pts/90)}/${Math.round(dts/90)}`);\n\t // if not first AVC sample of video track, normalize PTS/DTS with previous sample value\n\t // and ensure that sample duration is positive\n\t if (lastDTS !== undefined) {\n\t ptsnorm = this._PTSNormalize(pts, lastDTS);\n\t dtsnorm = this._PTSNormalize(dts, lastDTS);\n\t var sampleDuration = (dtsnorm - lastDTS) / pes2mp4ScaleFactor;\n\t if (sampleDuration <= 0) {\n\t _logger.logger.log('invalid sample duration at PTS/DTS: ' + avcSample.pts + '/' + avcSample.dts + ':' + sampleDuration);\n\t sampleDuration = 1;\n\t }\n\t mp4Sample.duration = sampleDuration;\n\t } else {\n\t var nextAvcDts = undefined,\n\t delta = undefined;\n\t if (contiguous) {\n\t nextAvcDts = this.nextAvcDts;\n\t } else {\n\t nextAvcDts = timeOffset * pesTimeScale;\n\t }\n\t // first AVC sample of video track, normalize PTS/DTS\n\t ptsnorm = this._PTSNormalize(pts, nextAvcDts);\n\t dtsnorm = this._PTSNormalize(dts, nextAvcDts);\n\t delta = Math.round((dtsnorm - nextAvcDts) / 90);\n\t // if fragment are contiguous, or delta less than 600ms, ensure there is no overlap/hole between fragments\n\t if (contiguous || Math.abs(delta) < 600) {\n\t if (delta) {\n\t if (delta > 1) {\n\t _logger.logger.log('AVC:' + delta + ' ms hole between fragments detected,filling it');\n\t } else if (delta < -1) {\n\t _logger.logger.log('AVC:' + -delta + ' ms overlapping between fragments detected');\n\t }\n\t // set DTS to next DTS\n\t dtsnorm = nextAvcDts;\n\t // offset PTS as well, ensure that PTS is smaller or equal than new DTS\n\t ptsnorm = Math.max(ptsnorm - delta, dtsnorm);\n\t _logger.logger.log('Video/PTS/DTS adjusted: ' + ptsnorm + '/' + dtsnorm + ',delta:' + delta);\n\t }\n\t }\n\t // remember first PTS of our avcSamples, ensure value is positive\n\t firstPTS = Math.max(0, ptsnorm);\n\t firstDTS = Math.max(0, dtsnorm);\n\t }\n\t //console.log('PTS/DTS/initDTS/normPTS/normDTS/relative PTS : ${avcSample.pts}/${avcSample.dts}/${this._initDTS}/${ptsnorm}/${dtsnorm}/${(avcSample.pts/4294967296).toFixed(3)}');\n\t mp4Sample = {\n\t size: mp4SampleLength,\n\t duration: 0,\n\t cts: (ptsnorm - dtsnorm) / pes2mp4ScaleFactor,\n\t flags: {\n\t isLeading: 0,\n\t isDependedOn: 0,\n\t hasRedundancy: 0,\n\t degradPrio: 0\n\t }\n\t };\n\t flags = mp4Sample.flags;\n\t if (avcSample.key === true) {\n\t // the current sample is a key frame\n\t flags.dependsOn = 2;\n\t flags.isNonSync = 0;\n\t } else {\n\t flags.dependsOn = 1;\n\t flags.isNonSync = 1;\n\t }\n\t samples.push(mp4Sample);\n\t lastDTS = dtsnorm;\n\t }\n\t var lastSampleDuration = 0;\n\t if (samples.length >= 2) {\n\t lastSampleDuration = samples[samples.length - 2].duration;\n\t mp4Sample.duration = lastSampleDuration;\n\t }\n\t // next AVC sample DTS should be equal to last sample DTS + last sample duration\n\t this.nextAvcDts = dtsnorm + lastSampleDuration * pes2mp4ScaleFactor;\n\t track.len = 0;\n\t track.nbNalu = 0;\n\t if (samples.length && navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {\n\t flags = samples[0].flags;\n\t // chrome workaround, mark first sample as being a Random Access Point to avoid sourcebuffer append issue\n\t // https://code.google.com/p/chromium/issues/detail?id=229412\n\t flags.dependsOn = 2;\n\t flags.isNonSync = 0;\n\t }\n\t track.samples = samples;\n\t moof = _mp4Generator2.default.moof(track.sequenceNumber++, firstDTS / pes2mp4ScaleFactor, track);\n\t track.samples = [];\n\t this.observer.trigger(_events2.default.FRAG_PARSING_DATA, {\n\t data1: moof,\n\t data2: mdat,\n\t startPTS: firstPTS / pesTimeScale,\n\t endPTS: (ptsnorm + pes2mp4ScaleFactor * lastSampleDuration) / pesTimeScale,\n\t startDTS: firstDTS / pesTimeScale,\n\t endDTS: this.nextAvcDts / pesTimeScale,\n\t type: 'video',\n\t nb: samples.length\n\t });\n\t }\n\t }, {\n\t key: 'remuxAudio',\n\t value: function remuxAudio(track, timeOffset, contiguous) {\n\t var view,\n\t offset = 8,\n\t pesTimeScale = this.PES_TIMESCALE,\n\t mp4timeScale = track.timescale,\n\t pes2mp4ScaleFactor = pesTimeScale / mp4timeScale,\n\t expectedSampleDuration = track.timescale * 1024 / track.audiosamplerate,\n\t aacSample,\n\t mp4Sample,\n\t unit,\n\t mdat,\n\t moof,\n\t firstPTS,\n\t firstDTS,\n\t lastDTS,\n\t pts,\n\t dts,\n\t ptsnorm,\n\t dtsnorm,\n\t samples = [],\n\t samples0 = [];\n\t\n\t track.samples.sort(function (a, b) {\n\t return a.pts - b.pts;\n\t });\n\t samples0 = track.samples;\n\t\n\t while (samples0.length) {\n\t aacSample = samples0.shift();\n\t unit = aacSample.unit;\n\t pts = aacSample.pts - this._initDTS;\n\t dts = aacSample.dts - this._initDTS;\n\t //logger.log(`Audio/PTS:${Math.round(pts/90)}`);\n\t // if not first sample\n\t if (lastDTS !== undefined) {\n\t ptsnorm = this._PTSNormalize(pts, lastDTS);\n\t dtsnorm = this._PTSNormalize(dts, lastDTS);\n\t // let's compute sample duration.\n\t // sample Duration should be close to expectedSampleDuration\n\t mp4Sample.duration = (dtsnorm - lastDTS) / pes2mp4ScaleFactor;\n\t if (Math.abs(mp4Sample.duration - expectedSampleDuration) > expectedSampleDuration / 10) {\n\t // more than 10% diff between sample duration and expectedSampleDuration .... lets log that\n\t _logger.logger.log('invalid AAC sample duration at PTS ' + Math.round(pts / 90) + ',should be 1024,found :' + Math.round(mp4Sample.duration * track.audiosamplerate / track.timescale));\n\t }\n\t // always adjust sample duration to avoid av sync issue\n\t mp4Sample.duration = expectedSampleDuration;\n\t dtsnorm = expectedSampleDuration * pes2mp4ScaleFactor + lastDTS;\n\t } else {\n\t var nextAacPts = undefined,\n\t delta = undefined;\n\t if (contiguous) {\n\t nextAacPts = this.nextAacPts;\n\t } else {\n\t nextAacPts = timeOffset * pesTimeScale;\n\t }\n\t ptsnorm = this._PTSNormalize(pts, nextAacPts);\n\t dtsnorm = this._PTSNormalize(dts, nextAacPts);\n\t delta = Math.round(1000 * (ptsnorm - nextAacPts) / pesTimeScale);\n\t // if fragment are contiguous, or delta less than 600ms, ensure there is no overlap/hole between fragments\n\t if (contiguous || Math.abs(delta) < 600) {\n\t // log delta\n\t if (delta) {\n\t if (delta > 0) {\n\t _logger.logger.log(delta + ' ms hole between AAC samples detected,filling it');\n\t // if we have frame overlap, overlapping for more than half a frame duraion\n\t } else if (delta < -12) {\n\t // drop overlapping audio frames... browser will deal with it\n\t _logger.logger.log(-delta + ' ms overlapping between AAC samples detected, drop frame');\n\t track.len -= unit.byteLength;\n\t continue;\n\t }\n\t // set DTS to next DTS\n\t ptsnorm = dtsnorm = nextAacPts;\n\t }\n\t }\n\t // remember first PTS of our aacSamples, ensure value is positive\n\t firstPTS = Math.max(0, ptsnorm);\n\t firstDTS = Math.max(0, dtsnorm);\n\t if (track.len > 0) {\n\t /* concatenate the audio data and construct the mdat in place\n\t (need 8 more bytes to fill length and mdat type) */\n\t mdat = new Uint8Array(track.len + 8);\n\t view = new DataView(mdat.buffer);\n\t view.setUint32(0, mdat.byteLength);\n\t mdat.set(_mp4Generator2.default.types.mdat, 4);\n\t } else {\n\t // no audio samples\n\t return;\n\t }\n\t }\n\t mdat.set(unit, offset);\n\t offset += unit.byteLength;\n\t //console.log('PTS/DTS/initDTS/normPTS/normDTS/relative PTS : ${aacSample.pts}/${aacSample.dts}/${this._initDTS}/${ptsnorm}/${dtsnorm}/${(aacSample.pts/4294967296).toFixed(3)}');\n\t mp4Sample = {\n\t size: unit.byteLength,\n\t cts: 0,\n\t duration: 0,\n\t flags: {\n\t isLeading: 0,\n\t isDependedOn: 0,\n\t hasRedundancy: 0,\n\t degradPrio: 0,\n\t dependsOn: 1\n\t }\n\t };\n\t samples.push(mp4Sample);\n\t lastDTS = dtsnorm;\n\t }\n\t var lastSampleDuration = 0;\n\t var nbSamples = samples.length;\n\t //set last sample duration as being identical to previous sample\n\t if (nbSamples >= 2) {\n\t lastSampleDuration = samples[nbSamples - 2].duration;\n\t mp4Sample.duration = lastSampleDuration;\n\t }\n\t if (nbSamples) {\n\t // next aac sample PTS should be equal to last sample PTS + duration\n\t this.nextAacPts = ptsnorm + pes2mp4ScaleFactor * lastSampleDuration;\n\t //logger.log('Audio/PTS/PTSend:' + aacSample.pts.toFixed(0) + '/' + this.nextAacDts.toFixed(0));\n\t track.len = 0;\n\t track.samples = samples;\n\t moof = _mp4Generator2.default.moof(track.sequenceNumber++, firstDTS / pes2mp4ScaleFactor, track);\n\t track.samples = [];\n\t this.observer.trigger(_events2.default.FRAG_PARSING_DATA, {\n\t data1: moof,\n\t data2: mdat,\n\t startPTS: firstPTS / pesTimeScale,\n\t endPTS: this.nextAacPts / pesTimeScale,\n\t startDTS: firstDTS / pesTimeScale,\n\t endDTS: (dtsnorm + pes2mp4ScaleFactor * lastSampleDuration) / pesTimeScale,\n\t type: 'audio',\n\t nb: nbSamples\n\t });\n\t }\n\t }\n\t }, {\n\t key: 'remuxID3',\n\t value: function remuxID3(track, timeOffset) {\n\t var length = track.samples.length,\n\t sample;\n\t // consume samples\n\t if (length) {\n\t for (var index = 0; index < length; index++) {\n\t sample = track.samples[index];\n\t // setting id3 pts, dts to relative time\n\t // using this._initPTS and this._initDTS to calculate relative time\n\t sample.pts = (sample.pts - this._initPTS) / this.PES_TIMESCALE;\n\t sample.dts = (sample.dts - this._initDTS) / this.PES_TIMESCALE;\n\t }\n\t this.observer.trigger(_events2.default.FRAG_PARSING_METADATA, {\n\t samples: track.samples\n\t });\n\t }\n\t\n\t track.samples = [];\n\t timeOffset = timeOffset;\n\t }\n\t }, {\n\t key: 'remuxText',\n\t value: function remuxText(track, timeOffset) {\n\t track.samples.sort(function (a, b) {\n\t return a.pts - b.pts;\n\t });\n\t\n\t var length = track.samples.length,\n\t sample;\n\t // consume samples\n\t if (length) {\n\t for (var index = 0; index < length; index++) {\n\t sample = track.samples[index];\n\t // setting text pts, dts to relative time\n\t // using this._initPTS and this._initDTS to calculate relative time\n\t sample.pts = (sample.pts - this._initPTS) / this.PES_TIMESCALE;\n\t }\n\t this.observer.trigger(_events2.default.FRAG_PARSING_USERDATA, {\n\t samples: track.samples\n\t });\n\t }\n\t\n\t track.samples = [];\n\t timeOffset = timeOffset;\n\t }\n\t }, {\n\t key: '_PTSNormalize',\n\t value: function _PTSNormalize(value, reference) {\n\t var offset;\n\t if (reference === undefined) {\n\t return value;\n\t }\n\t if (reference < value) {\n\t // - 2^33\n\t offset = -8589934592;\n\t } else {\n\t // + 2^33\n\t offset = 8589934592;\n\t }\n\t /* PTS is 33bit (from 0 to 2^33 -1)\n\t if diff between value and reference is bigger than half of the amplitude (2^32) then it means that\n\t PTS looping occured. fill the gap */\n\t while (Math.abs(value - reference) > 4294967296) {\n\t value += offset;\n\t }\n\t return value;\n\t }\n\t }, {\n\t key: 'passthrough',\n\t get: function get() {\n\t return false;\n\t }\n\t }]);\n\t\n\t return MP4Remuxer;\n\t}();\n\t\n\texports.default = MP4Remuxer;\n\n/***/ },\n/* 69 */\n/*!***************************************************!*\\\n !*** ./~/hls.js/lib/remux/passthrough-remuxer.js ***!\n \\***************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * passthrough remuxer\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _events = __webpack_require__(/*! ../events */ 4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tfunction _interopRequireDefault(obj) {\n\t return obj && obj.__esModule ? obj : { default: obj };\n\t}\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar PassThroughRemuxer = function () {\n\t function PassThroughRemuxer(observer) {\n\t _classCallCheck(this, PassThroughRemuxer);\n\t\n\t this.observer = observer;\n\t this.ISGenerated = false;\n\t }\n\t\n\t _createClass(PassThroughRemuxer, [{\n\t key: 'destroy',\n\t value: function destroy() {}\n\t }, {\n\t key: 'insertDiscontinuity',\n\t value: function insertDiscontinuity() {}\n\t }, {\n\t key: 'switchLevel',\n\t value: function switchLevel() {\n\t this.ISGenerated = false;\n\t }\n\t }, {\n\t key: 'remux',\n\t value: function remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, rawData) {\n\t var observer = this.observer;\n\t // generate Init Segment if needed\n\t if (!this.ISGenerated) {\n\t var tracks = {},\n\t data = { tracks: tracks, unique: true },\n\t track = videoTrack,\n\t codec = track.codec;\n\t\n\t if (codec) {\n\t data.tracks.video = {\n\t container: track.container,\n\t codec: codec,\n\t metadata: {\n\t width: track.width,\n\t height: track.height\n\t }\n\t };\n\t }\n\t\n\t track = audioTrack;\n\t codec = track.codec;\n\t if (codec) {\n\t data.tracks.audio = {\n\t container: track.container,\n\t codec: codec,\n\t metadata: {\n\t channelCount: track.channelCount\n\t }\n\t };\n\t }\n\t this.ISGenerated = true;\n\t observer.trigger(_events2.default.FRAG_PARSING_INIT_SEGMENT, data);\n\t }\n\t observer.trigger(_events2.default.FRAG_PARSING_DATA, {\n\t data1: rawData,\n\t startPTS: timeOffset,\n\t startDTS: timeOffset,\n\t type: 'audiovideo',\n\t nb: 1\n\t });\n\t }\n\t }, {\n\t key: 'passthrough',\n\t get: function get() {\n\t return true;\n\t }\n\t }]);\n\t\n\t return PassThroughRemuxer;\n\t}();\n\t\n\texports.default = PassThroughRemuxer;\n\n/***/ },\n/* 70 */\n/*!*****************************************!*\\\n !*** ./~/hls.js/lib/utils/attr-list.js ***!\n \\*****************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t// adapted from https://github.com/kanongil/node-m3u8parse/blob/master/attrlist.js\n\t\n\tvar AttrList = function () {\n\t function AttrList(attrs) {\n\t _classCallCheck(this, AttrList);\n\t\n\t if (typeof attrs === 'string') {\n\t attrs = AttrList.parseAttrList(attrs);\n\t }\n\t for (var attr in attrs) {\n\t if (attrs.hasOwnProperty(attr)) {\n\t this[attr] = attrs[attr];\n\t }\n\t }\n\t }\n\t\n\t _createClass(AttrList, [{\n\t key: 'decimalInteger',\n\t value: function decimalInteger(attrName) {\n\t var intValue = parseInt(this[attrName], 10);\n\t if (intValue > Number.MAX_SAFE_INTEGER) {\n\t return Infinity;\n\t }\n\t return intValue;\n\t }\n\t }, {\n\t key: 'hexadecimalInteger',\n\t value: function hexadecimalInteger(attrName) {\n\t if (this[attrName]) {\n\t var stringValue = (this[attrName] || '0x').slice(2);\n\t stringValue = (stringValue.length & 1 ? '0' : '') + stringValue;\n\t\n\t var value = new Uint8Array(stringValue.length / 2);\n\t for (var i = 0; i < stringValue.length / 2; i++) {\n\t value[i] = parseInt(stringValue.slice(i * 2, i * 2 + 2), 16);\n\t }\n\t return value;\n\t } else {\n\t return null;\n\t }\n\t }\n\t }, {\n\t key: 'hexadecimalIntegerAsNumber',\n\t value: function hexadecimalIntegerAsNumber(attrName) {\n\t var intValue = parseInt(this[attrName], 16);\n\t if (intValue > Number.MAX_SAFE_INTEGER) {\n\t return Infinity;\n\t }\n\t return intValue;\n\t }\n\t }, {\n\t key: 'decimalFloatingPoint',\n\t value: function decimalFloatingPoint(attrName) {\n\t return parseFloat(this[attrName]);\n\t }\n\t }, {\n\t key: 'enumeratedString',\n\t value: function enumeratedString(attrName) {\n\t return this[attrName];\n\t }\n\t }, {\n\t key: 'decimalResolution',\n\t value: function decimalResolution(attrName) {\n\t var res = /^(\\d+)x(\\d+)$/.exec(this[attrName]);\n\t if (res === null) {\n\t return undefined;\n\t }\n\t return {\n\t width: parseInt(res[1], 10),\n\t height: parseInt(res[2], 10)\n\t };\n\t }\n\t }], [{\n\t key: 'parseAttrList',\n\t value: function parseAttrList(input) {\n\t var re = /\\s*(.+?)\\s*=((?:\\\".*?\\\")|.*?)(?:,|$)/g;\n\t var match,\n\t attrs = {};\n\t while ((match = re.exec(input)) !== null) {\n\t var value = match[2],\n\t quote = '\"';\n\t\n\t if (value.indexOf(quote) === 0 && value.lastIndexOf(quote) === value.length - 1) {\n\t value = value.slice(1, -1);\n\t }\n\t attrs[match[1]] = value;\n\t }\n\t return attrs;\n\t }\n\t }]);\n\t\n\t return AttrList;\n\t}();\n\t\n\texports.default = AttrList;\n\n/***/ },\n/* 71 */\n/*!*********************************************!*\\\n !*** ./~/hls.js/lib/utils/binary-search.js ***!\n \\*********************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar BinarySearch = {\n\t /**\n\t * Searches for an item in an array which matches a certain condition.\n\t * This requires the condition to only match one item in the array,\n\t * and for the array to be ordered.\n\t *\n\t * @param {Array} list The array to search.\n\t * @param {Function} comparisonFunction\n\t * Called and provided a candidate item as the first argument.\n\t * Should return:\n\t * > -1 if the item should be located at a lower index than the provided item.\n\t * > 1 if the item should be located at a higher index than the provided item.\n\t * > 0 if the item is the item you're looking for.\n\t *\n\t * @return {*} The object if it is found or null otherwise.\n\t */\n\t search: function search(list, comparisonFunction) {\n\t var minIndex = 0;\n\t var maxIndex = list.length - 1;\n\t var currentIndex = null;\n\t var currentElement = null;\n\t\n\t while (minIndex <= maxIndex) {\n\t currentIndex = (minIndex + maxIndex) / 2 | 0;\n\t currentElement = list[currentIndex];\n\t\n\t var comparisonResult = comparisonFunction(currentElement);\n\t if (comparisonResult > 0) {\n\t minIndex = currentIndex + 1;\n\t } else if (comparisonResult < 0) {\n\t maxIndex = currentIndex - 1;\n\t } else {\n\t return currentElement;\n\t }\n\t }\n\t\n\t return null;\n\t }\n\t};\n\t\n\tmodule.exports = BinarySearch;\n\n/***/ },\n/* 72 */\n/*!***************************************************!*\\\n !*** ./~/hls.js/lib/utils/cea-708-interpreter.js ***!\n \\***************************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}();\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\t/*\n\t * CEA-708 interpreter\n\t*/\n\t\n\tvar CEA708Interpreter = function () {\n\t function CEA708Interpreter() {\n\t _classCallCheck(this, CEA708Interpreter);\n\t }\n\t\n\t _createClass(CEA708Interpreter, [{\n\t key: 'attach',\n\t value: function attach(media) {\n\t this.media = media;\n\t this.display = [];\n\t this.memory = [];\n\t }\n\t }, {\n\t key: 'detach',\n\t value: function detach() {\n\t this.clear();\n\t }\n\t }, {\n\t key: 'destroy',\n\t value: function destroy() {}\n\t }, {\n\t key: '_createCue',\n\t value: function _createCue() {\n\t var VTTCue = window.VTTCue || window.TextTrackCue;\n\t\n\t var cue = this.cue = new VTTCue(-1, -1, '');\n\t cue.text = '';\n\t cue.pauseOnExit = false;\n\t\n\t // make sure it doesn't show up before it's ready\n\t cue.startTime = Number.MAX_VALUE;\n\t\n\t // show it 'forever' once we do show it\n\t // (we'll set the end time once we know it later)\n\t cue.endTime = Number.MAX_VALUE;\n\t\n\t this.memory.push(cue);\n\t }\n\t }, {\n\t key: 'clear',\n\t value: function clear() {\n\t var textTrack = this._textTrack;\n\t if (textTrack && textTrack.cues) {\n\t while (textTrack.cues.length > 0) {\n\t textTrack.removeCue(textTrack.cues[0]);\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'push',\n\t value: function push(timestamp, bytes) {\n\t if (!this.cue) {\n\t this._createCue();\n\t }\n\t\n\t var count = bytes[0] & 31;\n\t var position = 2;\n\t var tmpByte, ccbyte1, ccbyte2, ccValid, ccType;\n\t\n\t for (var j = 0; j < count; j++) {\n\t tmpByte = bytes[position++];\n\t ccbyte1 = 0x7F & bytes[position++];\n\t ccbyte2 = 0x7F & bytes[position++];\n\t ccValid = (4 & tmpByte) === 0 ? false : true;\n\t ccType = 3 & tmpByte;\n\t\n\t if (ccbyte1 === 0 && ccbyte2 === 0) {\n\t continue;\n\t }\n\t\n\t if (ccValid) {\n\t if (ccType === 0) // || ccType === 1\n\t {\n\t // Standard Characters\n\t if (0x20 & ccbyte1 || 0x40 & ccbyte1) {\n\t this.cue.text += this._fromCharCode(ccbyte1) + this._fromCharCode(ccbyte2);\n\t }\n\t // Special Characters\n\t else if ((ccbyte1 === 0x11 || ccbyte1 === 0x19) && ccbyte2 >= 0x30 && ccbyte2 <= 0x3F) {\n\t // extended chars, e.g. musical note, accents\n\t switch (ccbyte2) {\n\t case 48:\n\t this.cue.text += '®';\n\t break;\n\t case 49:\n\t this.cue.text += '°';\n\t break;\n\t case 50:\n\t this.cue.text += '½';\n\t break;\n\t case 51:\n\t this.cue.text += '¿';\n\t break;\n\t case 52:\n\t this.cue.text += '™';\n\t break;\n\t case 53:\n\t this.cue.text += '¢';\n\t break;\n\t case 54:\n\t this.cue.text += '';\n\t break;\n\t case 55:\n\t this.cue.text += '£';\n\t break;\n\t case 56:\n\t this.cue.text += '♪';\n\t break;\n\t case 57:\n\t this.cue.text += ' ';\n\t break;\n\t case 58:\n\t this.cue.text += 'è';\n\t break;\n\t case 59:\n\t this.cue.text += 'â';\n\t break;\n\t case 60:\n\t this.cue.text += 'ê';\n\t break;\n\t case 61:\n\t this.cue.text += 'î';\n\t break;\n\t case 62:\n\t this.cue.text += 'ô';\n\t break;\n\t case 63:\n\t this.cue.text += 'û';\n\t break;\n\t }\n\t }\n\t if ((ccbyte1 === 0x11 || ccbyte1 === 0x19) && ccbyte2 >= 0x20 && ccbyte2 <= 0x2F) {\n\t // Mid-row codes: color/underline\n\t switch (ccbyte2) {\n\t case 0x20:\n\t // White\n\t break;\n\t case 0x21:\n\t // White Underline\n\t break;\n\t case 0x22:\n\t // Green\n\t break;\n\t case 0x23:\n\t // Green Underline\n\t break;\n\t case 0x24:\n\t // Blue\n\t break;\n\t case 0x25:\n\t // Blue Underline\n\t break;\n\t case 0x26:\n\t // Cyan\n\t break;\n\t case 0x27:\n\t // Cyan Underline\n\t break;\n\t case 0x28:\n\t // Red\n\t break;\n\t case 0x29:\n\t // Red Underline\n\t break;\n\t case 0x2A:\n\t // Yellow\n\t break;\n\t case 0x2B:\n\t // Yellow Underline\n\t break;\n\t case 0x2C:\n\t // Magenta\n\t break;\n\t case 0x2D:\n\t // Magenta Underline\n\t break;\n\t case 0x2E:\n\t // Italics\n\t break;\n\t case 0x2F:\n\t // Italics Underline\n\t break;\n\t }\n\t }\n\t if ((ccbyte1 === 0x14 || ccbyte1 === 0x1C) && ccbyte2 >= 0x20 && ccbyte2 <= 0x2F) {\n\t // Mid-row codes: color/underline\n\t switch (ccbyte2) {\n\t case 0x20:\n\t // TODO: shouldn't affect roll-ups...\n\t this._clearActiveCues(timestamp);\n\t // RCL: Resume Caption Loading\n\t // begin pop on\n\t break;\n\t case 0x21:\n\t // BS: Backspace\n\t this.cue.text = this.cue.text.substr(0, this.cue.text.length - 1);\n\t break;\n\t case 0x22:\n\t // AOF: reserved (formerly alarm off)\n\t break;\n\t case 0x23:\n\t // AON: reserved (formerly alarm on)\n\t break;\n\t case 0x24:\n\t // DER: Delete to end of row\n\t break;\n\t case 0x25:\n\t // RU2: roll-up 2 rows\n\t //this._rollup(2);\n\t break;\n\t case 0x26:\n\t // RU3: roll-up 3 rows\n\t //this._rollup(3);\n\t break;\n\t case 0x27:\n\t // RU4: roll-up 4 rows\n\t //this._rollup(4);\n\t break;\n\t case 0x28:\n\t // FON: Flash on\n\t break;\n\t case 0x29:\n\t // RDC: Resume direct captioning\n\t this._clearActiveCues(timestamp);\n\t break;\n\t case 0x2A:\n\t // TR: Text Restart\n\t break;\n\t case 0x2B:\n\t // RTD: Resume Text Display\n\t break;\n\t case 0x2C:\n\t // EDM: Erase Displayed Memory\n\t this._clearActiveCues(timestamp);\n\t break;\n\t case 0x2D:\n\t // CR: Carriage Return\n\t // only affects roll-up\n\t //this._rollup(1);\n\t break;\n\t case 0x2E:\n\t // ENM: Erase non-displayed memory\n\t this._text = '';\n\t break;\n\t case 0x2F:\n\t this._flipMemory(timestamp);\n\t // EOC: End of caption\n\t // hide any displayed captions and show any hidden one\n\t break;\n\t }\n\t }\n\t if ((ccbyte1 === 0x17 || ccbyte1 === 0x1F) && ccbyte2 >= 0x21 && ccbyte2 <= 0x23) {\n\t // Mid-row codes: color/underline\n\t switch (ccbyte2) {\n\t case 0x21:\n\t // TO1: tab offset 1 column\n\t break;\n\t case 0x22:\n\t // TO1: tab offset 2 column\n\t break;\n\t case 0x23:\n\t // TO1: tab offset 3 column\n\t break;\n\t }\n\t } else {\n\t // Probably a pre-amble address code\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_fromCharCode',\n\t value: function _fromCharCode(tmpByte) {\n\t switch (tmpByte) {\n\t case 42:\n\t return 'á';\n\t\n\t case 2:\n\t return 'á';\n\t\n\t case 2:\n\t return 'é';\n\t\n\t case 4:\n\t return 'í';\n\t\n\t case 5:\n\t return 'ó';\n\t\n\t case 6:\n\t return 'ú';\n\t\n\t case 3:\n\t return 'ç';\n\t\n\t case 4:\n\t return '÷';\n\t\n\t case 5:\n\t return 'Ñ';\n\t\n\t case 6:\n\t return 'ñ';\n\t\n\t case 7:\n\t return '█';\n\t\n\t default:\n\t return String.fromCharCode(tmpByte);\n\t }\n\t }\n\t }, {\n\t key: '_flipMemory',\n\t value: function _flipMemory(timestamp) {\n\t this._clearActiveCues(timestamp);\n\t this._flushCaptions(timestamp);\n\t }\n\t }, {\n\t key: '_flushCaptions',\n\t value: function _flushCaptions(timestamp) {\n\t if (!this._has708) {\n\t this._textTrack = this.media.addTextTrack('captions', 'English', 'en');\n\t this._has708 = true;\n\t }\n\t\n\t var _iteratorNormalCompletion = true;\n\t var _didIteratorError = false;\n\t var _iteratorError = undefined;\n\t\n\t try {\n\t for (var _iterator = this.memory[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t var memoryItem = _step.value;\n\t\n\t memoryItem.startTime = timestamp;\n\t this._textTrack.addCue(memoryItem);\n\t this.display.push(memoryItem);\n\t }\n\t } catch (err) {\n\t _didIteratorError = true;\n\t _iteratorError = err;\n\t } finally {\n\t try {\n\t if (!_iteratorNormalCompletion && _iterator.return) {\n\t _iterator.return();\n\t }\n\t } finally {\n\t if (_didIteratorError) {\n\t throw _iteratorError;\n\t }\n\t }\n\t }\n\t\n\t this.memory = [];\n\t this.cue = null;\n\t }\n\t }, {\n\t key: '_clearActiveCues',\n\t value: function _clearActiveCues(timestamp) {\n\t var _iteratorNormalCompletion2 = true;\n\t var _didIteratorError2 = false;\n\t var _iteratorError2 = undefined;\n\t\n\t try {\n\t for (var _iterator2 = this.display[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t var displayItem = _step2.value;\n\t\n\t displayItem.endTime = timestamp;\n\t }\n\t } catch (err) {\n\t _didIteratorError2 = true;\n\t _iteratorError2 = err;\n\t } finally {\n\t try {\n\t if (!_iteratorNormalCompletion2 && _iterator2.return) {\n\t _iterator2.return();\n\t }\n\t } finally {\n\t if (_didIteratorError2) {\n\t throw _iteratorError2;\n\t }\n\t }\n\t }\n\t\n\t this.display = [];\n\t }\n\t\n\t /* _rollUp(n)\n\t {\n\t // TODO: implement roll-up captions\n\t }\n\t */\n\t\n\t }, {\n\t key: '_clearBufferedCues',\n\t value: function _clearBufferedCues() {\n\t //remove them all...\n\t }\n\t }]);\n\t\n\t return CEA708Interpreter;\n\t}();\n\t\n\texports.default = CEA708Interpreter;\n\n/***/ },\n/* 73 */\n/*!***********************************!*\\\n !*** ./~/hls.js/lib/utils/url.js ***!\n \\***********************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar URLHelper = {\n\t\n\t // build an absolute URL from a relative one using the provided baseURL\n\t // if relativeURL is an absolute URL it will be returned as is.\n\t buildAbsoluteURL: function buildAbsoluteURL(baseURL, relativeURL) {\n\t // remove any remaining space and CRLF\n\t relativeURL = relativeURL.trim();\n\t if (/^[a-z]+:/i.test(relativeURL)) {\n\t // complete url, not relative\n\t return relativeURL;\n\t }\n\t\n\t var relativeURLQuery = null;\n\t var relativeURLHash = null;\n\t\n\t var relativeURLHashSplit = /^([^#]*)(.*)$/.exec(relativeURL);\n\t if (relativeURLHashSplit) {\n\t relativeURLHash = relativeURLHashSplit[2];\n\t relativeURL = relativeURLHashSplit[1];\n\t }\n\t var relativeURLQuerySplit = /^([^\\?]*)(.*)$/.exec(relativeURL);\n\t if (relativeURLQuerySplit) {\n\t relativeURLQuery = relativeURLQuerySplit[2];\n\t relativeURL = relativeURLQuerySplit[1];\n\t }\n\t\n\t var baseURLHashSplit = /^([^#]*)(.*)$/.exec(baseURL);\n\t if (baseURLHashSplit) {\n\t baseURL = baseURLHashSplit[1];\n\t }\n\t var baseURLQuerySplit = /^([^\\?]*)(.*)$/.exec(baseURL);\n\t if (baseURLQuerySplit) {\n\t baseURL = baseURLQuerySplit[1];\n\t }\n\t\n\t var baseURLDomainSplit = /^((([a-z]+):)?\\/\\/[a-z0-9\\.\\-_~]+(:[0-9]+)?\\/)(.*)$/i.exec(baseURL);\n\t var baseURLProtocol = baseURLDomainSplit[3];\n\t var baseURLDomain = baseURLDomainSplit[1];\n\t var baseURLPath = baseURLDomainSplit[5];\n\t\n\t var builtURL = null;\n\t if (/^\\/\\//.test(relativeURL)) {\n\t builtURL = baseURLProtocol + '://' + URLHelper.buildAbsolutePath('', relativeURL.substring(2));\n\t } else if (/^\\//.test(relativeURL)) {\n\t builtURL = baseURLDomain + URLHelper.buildAbsolutePath('', relativeURL.substring(1));\n\t } else {\n\t builtURL = URLHelper.buildAbsolutePath(baseURLDomain + baseURLPath, relativeURL);\n\t }\n\t\n\t // put the query and hash parts back\n\t if (relativeURLQuery) {\n\t builtURL += relativeURLQuery;\n\t }\n\t if (relativeURLHash) {\n\t builtURL += relativeURLHash;\n\t }\n\t return builtURL;\n\t },\n\t\n\t // build an absolute path using the provided basePath\n\t // adapted from https://developer.mozilla.org/en-US/docs/Web/API/document/cookie#Using_relative_URLs_in_the_path_parameter\n\t // this does not handle the case where relativePath is \"/\" or \"//\". These cases should be handled outside this.\n\t buildAbsolutePath: function buildAbsolutePath(basePath, relativePath) {\n\t var sRelPath = relativePath;\n\t var nUpLn,\n\t sDir = '',\n\t sPath = basePath.replace(/[^\\/]*$/, sRelPath.replace(/(\\/|^)(?:\\.?\\/+)+/g, '$1'));\n\t for (var nEnd, nStart = 0; nEnd = sPath.indexOf('/../', nStart), nEnd > -1; nStart = nEnd + nUpLn) {\n\t nUpLn = /^\\/(?:\\.\\.\\/)*/.exec(sPath.slice(nEnd))[0].length;\n\t sDir = (sDir + sPath.substring(nStart, nEnd)).replace(new RegExp('(?:\\\\\\/+[^\\\\\\/]*){0,' + (nUpLn - 1) / 3 + '}$'), '/');\n\t }\n\t return sDir + sPath.substr(nStart);\n\t }\n\t};\n\t\n\tmodule.exports = URLHelper;\n\n/***/ },\n/* 74 */\n/*!******************************************!*\\\n !*** ./~/hls.js/lib/utils/xhr-loader.js ***!\n \\******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _createClass = function () {\n\t function defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t }return function (Constructor, protoProps, staticProps) {\n\t if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n\t };\n\t}(); /**\n\t * XHR based logger\n\t */\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _logger = __webpack_require__(/*! ../utils/logger */ 5);\n\t\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\t\n\tvar XhrLoader = function () {\n\t function XhrLoader(config) {\n\t _classCallCheck(this, XhrLoader);\n\t\n\t if (config && config.xhrSetup) {\n\t this.xhrSetup = config.xhrSetup;\n\t }\n\t }\n\t\n\t _createClass(XhrLoader, [{\n\t key: 'destroy',\n\t value: function destroy() {\n\t this.abort();\n\t this.loader = null;\n\t }\n\t }, {\n\t key: 'abort',\n\t value: function abort() {\n\t var loader = this.loader,\n\t timeoutHandle = this.timeoutHandle;\n\t if (loader && loader.readyState !== 4) {\n\t this.stats.aborted = true;\n\t loader.abort();\n\t }\n\t if (timeoutHandle) {\n\t window.clearTimeout(timeoutHandle);\n\t }\n\t }\n\t }, {\n\t key: 'load',\n\t value: function load(url, responseType, onSuccess, onError, onTimeout, timeout, maxRetry, retryDelay) {\n\t var onProgress = arguments.length <= 8 || arguments[8] === undefined ? null : arguments[8];\n\t var frag = arguments.length <= 9 || arguments[9] === undefined ? null : arguments[9];\n\t\n\t this.url = url;\n\t if (frag && !isNaN(frag.byteRangeStartOffset) && !isNaN(frag.byteRangeEndOffset)) {\n\t this.byteRange = frag.byteRangeStartOffset + '-' + (frag.byteRangeEndOffset - 1);\n\t }\n\t this.responseType = responseType;\n\t this.onSuccess = onSuccess;\n\t this.onProgress = onProgress;\n\t this.onTimeout = onTimeout;\n\t this.onError = onError;\n\t this.stats = { trequest: performance.now(), retry: 0 };\n\t this.timeout = timeout;\n\t this.maxRetry = maxRetry;\n\t this.retryDelay = retryDelay;\n\t this.loadInternal();\n\t }\n\t }, {\n\t key: 'loadInternal',\n\t value: function loadInternal() {\n\t var xhr;\n\t\n\t if (typeof XDomainRequest !== 'undefined') {\n\t xhr = this.loader = new XDomainRequest();\n\t } else {\n\t xhr = this.loader = new XMLHttpRequest();\n\t }\n\t\n\t xhr.onloadend = this.loadend.bind(this);\n\t xhr.onprogress = this.loadprogress.bind(this);\n\t\n\t xhr.open('GET', this.url, true);\n\t if (this.byteRange) {\n\t xhr.setRequestHeader('Range', 'bytes=' + this.byteRange);\n\t }\n\t xhr.responseType = this.responseType;\n\t this.stats.tfirst = null;\n\t this.stats.loaded = 0;\n\t if (this.xhrSetup) {\n\t this.xhrSetup(xhr, this.url);\n\t }\n\t this.timeoutHandle = window.setTimeout(this.loadtimeout.bind(this), this.timeout);\n\t xhr.send();\n\t }\n\t }, {\n\t key: 'loadend',\n\t value: function loadend(event) {\n\t var xhr = event.currentTarget,\n\t status = xhr.status,\n\t stats = this.stats;\n\t // don't proceed if xhr has been aborted\n\t if (!stats.aborted) {\n\t // http status between 200 to 299 are all successful\n\t if (status >= 200 && status < 300) {\n\t window.clearTimeout(this.timeoutHandle);\n\t stats.tload = performance.now();\n\t this.onSuccess(event, stats);\n\t } else {\n\t // error ...\n\t if (stats.retry < this.maxRetry) {\n\t _logger.logger.warn(status + ' while loading ' + this.url + ', retrying in ' + this.retryDelay + '...');\n\t this.destroy();\n\t window.setTimeout(this.loadInternal.bind(this), this.retryDelay);\n\t // exponential backoff\n\t this.retryDelay = Math.min(2 * this.retryDelay, 64000);\n\t stats.retry++;\n\t } else {\n\t window.clearTimeout(this.timeoutHandle);\n\t _logger.logger.error(status + ' while loading ' + this.url);\n\t this.onError(event);\n\t }\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'loadtimeout',\n\t value: function loadtimeout(event) {\n\t _logger.logger.warn('timeout while loading ' + this.url);\n\t this.onTimeout(event, this.stats);\n\t }\n\t }, {\n\t key: 'loadprogress',\n\t value: function loadprogress(event) {\n\t var stats = this.stats;\n\t if (stats.tfirst === null) {\n\t stats.tfirst = performance.now();\n\t }\n\t stats.loaded = event.loaded;\n\t if (this.onProgress) {\n\t this.onProgress(event, stats);\n\t }\n\t }\n\t }]);\n\t\n\t return XhrLoader;\n\t}();\n\t\n\texports.default = XhrLoader;\n\n/***/ },\n/* 75 */\n/*!*************************************!*\\\n !*** ./~/lodash._baseeach/index.js ***!\n \\*************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.1.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/** `Object#toString` result references. */\n\tvar argsTag = '[object Arguments]',\n\t funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]',\n\t stringTag = '[object String]';\n\t\n\t/** Used to detect unsigned integer values. */\n\tvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\t\n\t/**\n\t * The base implementation of `_.times` without support for iteratee shorthands\n\t * or max array length checks.\n\t *\n\t * @private\n\t * @param {number} n The number of times to invoke `iteratee`.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the array of results.\n\t */\n\tfunction baseTimes(n, iteratee) {\n\t var index = -1,\n\t result = Array(n);\n\t\n\t while (++index < n) {\n\t result[index] = iteratee(index);\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\tfunction isIndex(value, length) {\n\t value = typeof value == 'number' || reIsUint.test(value) ? +value : -1;\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return value > -1 && value % 1 == 0 && value < length;\n\t}\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Built-in value references. */\n\tvar getPrototypeOf = Object.getPrototypeOf,\n\t propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\t\n\t/* Built-in method references for those with the same name as other `lodash` methods. */\n\tvar nativeKeys = Object.keys;\n\t\n\t/**\n\t * The base implementation of `_.forEach` without support for iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Array|Object} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array|Object} Returns `collection`.\n\t */\n\tvar baseEach = createBaseEach(baseForOwn);\n\t\n\t/**\n\t * The base implementation of `baseForIn` and `baseForOwn` which iterates\n\t * over `object` properties returned by `keysFunc` invoking `iteratee` for\n\t * each property. Iteratee functions may exit iteration early by explicitly\n\t * returning `false`.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @param {Function} keysFunc The function to get the keys of `object`.\n\t * @returns {Object} Returns `object`.\n\t */\n\tvar baseFor = createBaseFor();\n\t\n\t/**\n\t * The base implementation of `_.forOwn` without support for iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Object} object The object to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Object} Returns `object`.\n\t */\n\tfunction baseForOwn(object, iteratee) {\n\t return object && baseFor(object, iteratee, keys);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.has` without support for deep paths.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} key The key to check.\n\t * @returns {boolean} Returns `true` if `key` exists, else `false`.\n\t */\n\tfunction baseHas(object, key) {\n\t // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,\n\t // that are composed entirely of index properties, return `false` for\n\t // `hasOwnProperty` checks of them.\n\t return hasOwnProperty.call(object, key) || (typeof object === 'undefined' ? 'undefined' : _typeof(object)) == 'object' && key in object && getPrototypeOf(object) === null;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.keys` which doesn't skip the constructor\n\t * property of prototypes or treat sparse arrays as dense.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t */\n\tfunction baseKeys(object) {\n\t return nativeKeys(Object(object));\n\t}\n\t\n\t/**\n\t * The base implementation of `_.property` without support for deep paths.\n\t *\n\t * @private\n\t * @param {string} key The key of the property to get.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseProperty(key) {\n\t return function (object) {\n\t return object == null ? undefined : object[key];\n\t };\n\t}\n\t\n\t/**\n\t * Creates a `baseEach` or `baseEachRight` function.\n\t *\n\t * @private\n\t * @param {Function} eachFunc The function to iterate over a collection.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new base function.\n\t */\n\tfunction createBaseEach(eachFunc, fromRight) {\n\t return function (collection, iteratee) {\n\t if (collection == null) {\n\t return collection;\n\t }\n\t if (!isArrayLike(collection)) {\n\t return eachFunc(collection, iteratee);\n\t }\n\t var length = collection.length,\n\t index = fromRight ? length : -1,\n\t iterable = Object(collection);\n\t\n\t while (fromRight ? index-- : ++index < length) {\n\t if (iteratee(iterable[index], index, iterable) === false) {\n\t break;\n\t }\n\t }\n\t return collection;\n\t };\n\t}\n\t\n\t/**\n\t * Creates a base function for methods like `_.forIn`.\n\t *\n\t * @private\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {Function} Returns the new base function.\n\t */\n\tfunction createBaseFor(fromRight) {\n\t return function (object, iteratee, keysFunc) {\n\t var index = -1,\n\t iterable = Object(object),\n\t props = keysFunc(object),\n\t length = props.length;\n\t\n\t while (length--) {\n\t var key = props[fromRight ? length : ++index];\n\t if (iteratee(iterable[key], key, iterable) === false) {\n\t break;\n\t }\n\t }\n\t return object;\n\t };\n\t}\n\t\n\t/**\n\t * Gets the \"length\" property value of `object`.\n\t *\n\t * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {*} Returns the \"length\" value.\n\t */\n\tvar getLength = baseProperty('length');\n\t\n\t/**\n\t * Creates an array of index keys for `object` values of arrays,\n\t * `arguments` objects, and strings, otherwise `null` is returned.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @returns {Array|null} Returns index keys, else `null`.\n\t */\n\tfunction indexKeys(object) {\n\t var length = object ? object.length : undefined;\n\t if (isLength(length) && (isArray(object) || isString(object) || isArguments(object))) {\n\t return baseTimes(length, String);\n\t }\n\t return null;\n\t}\n\t\n\t/**\n\t * Checks if `value` is likely a prototype object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n\t */\n\tfunction isPrototype(value) {\n\t var Ctor = value && value.constructor,\n\t proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;\n\t\n\t return value === proto;\n\t}\n\t\n\t/**\n\t * Checks if `value` is likely an `arguments` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArguments(function() { return arguments; }());\n\t * // => true\n\t *\n\t * _.isArguments([1, 2, 3]);\n\t * // => false\n\t */\n\tfunction isArguments(value) {\n\t // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.\n\t return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @type {Function}\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(document.body.children);\n\t * // => false\n\t *\n\t * _.isArray('abc');\n\t * // => false\n\t *\n\t * _.isArray(_.noop);\n\t * // => false\n\t */\n\tvar isArray = Array.isArray;\n\t\n\t/**\n\t * Checks if `value` is array-like. A value is considered array-like if it's\n\t * not a function and has a `value.length` that's an integer greater than or\n\t * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLike(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLike('abc');\n\t * // => true\n\t *\n\t * _.isArrayLike(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(getLength(value)) && !isFunction(value);\n\t}\n\t\n\t/**\n\t * This method is like `_.isArrayLike` except that it also checks if `value`\n\t * is an object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an array-like object, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLikeObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLikeObject(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLikeObject('abc');\n\t * // => false\n\t *\n\t * _.isArrayLikeObject(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLikeObject(value) {\n\t return isObjectLike(value) && isArrayLike(value);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array and weak map constructors,\n\t // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t * @example\n\t *\n\t * _.isLength(3);\n\t * // => true\n\t *\n\t * _.isLength(Number.MIN_VALUE);\n\t * // => false\n\t *\n\t * _.isLength(Infinity);\n\t * // => false\n\t *\n\t * _.isLength('3');\n\t * // => false\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `String` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isString('abc');\n\t * // => true\n\t *\n\t * _.isString(1);\n\t * // => false\n\t */\n\tfunction isString(value) {\n\t return typeof value == 'string' || !isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag;\n\t}\n\t\n\t/**\n\t * Creates an array of the own enumerable property names of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects. See the\n\t * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n\t * for more details.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.keys(new Foo);\n\t * // => ['a', 'b'] (iteration order is not guaranteed)\n\t *\n\t * _.keys('hi');\n\t * // => ['0', '1']\n\t */\n\tfunction keys(object) {\n\t var isProto = isPrototype(object);\n\t if (!(isProto || isArrayLike(object))) {\n\t return baseKeys(object);\n\t }\n\t var indexes = indexKeys(object),\n\t skipIndexes = !!indexes,\n\t result = indexes || [],\n\t length = result.length;\n\t\n\t for (var key in object) {\n\t if (baseHas(object, key) && !(skipIndexes && (key == 'length' || isIndex(key, length))) && !(isProto && key == 'constructor')) {\n\t result.push(key);\n\t }\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = baseEach;\n\n/***/ },\n/* 76 */\n/*!*************************************!*\\\n !*** ./~/lodash._basefind/index.js ***!\n \\*************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * lodash 3.0.0 (Custom Build) \n\t * Build: `lodash modern modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2015 The Dojo Foundation \n\t * Based on Underscore.js 1.7.0 \n\t * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/**\n\t * The base implementation of `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`,\n\t * without support for callback shorthands and `this` binding, which iterates\n\t * over `collection` using the provided `eachFunc`.\n\t *\n\t * @private\n\t * @param {Array|Object|string} collection The collection to search.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @param {Function} eachFunc The function to iterate over `collection`.\n\t * @param {boolean} [retKey] Specify returning the key of the found element\n\t * instead of the element itself.\n\t * @returns {*} Returns the found element or its key, else `undefined`.\n\t */\n\tfunction baseFind(collection, predicate, eachFunc, retKey) {\n\t var result;\n\t eachFunc(collection, function (value, key, collection) {\n\t if (predicate(value, key, collection)) {\n\t result = retKey ? key : value;\n\t return false;\n\t }\n\t });\n\t return result;\n\t}\n\t\n\tmodule.exports = baseFind;\n\n/***/ },\n/* 77 */\n/*!******************************************!*\\\n !*** ./~/lodash._basefindindex/index.js ***!\n \\******************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * lodash 3.6.0 (Custom Build) \n\t * Build: `lodash modern modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2015 The Dojo Foundation \n\t * Based on Underscore.js 1.8.2 \n\t * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/**\n\t * The base implementation of `_.findIndex` and `_.findLastIndex` without\n\t * support for callback shorthands and `this` binding.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction baseFindIndex(array, predicate, fromRight) {\n\t var length = array.length,\n\t index = fromRight ? length : -1;\n\t\n\t while (fromRight ? index-- : ++index < length) {\n\t if (predicate(array[index], index, array)) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\tmodule.exports = baseFindIndex;\n\n/***/ },\n/* 78 */\n/*!**************************************!*\\\n !*** ./~/lodash._baseslice/index.js ***!\n \\**************************************/\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * lodash 4.0.0 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/**\n\t * The base implementation of `_.slice` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\tfunction baseSlice(array, start, end) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t if (start < 0) {\n\t start = -start > length ? 0 : length + start;\n\t }\n\t end = end > length ? length : end;\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : end - start >>> 0;\n\t start >>>= 0;\n\t\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = array[index + start];\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = baseSlice;\n\n/***/ },\n/* 79 */\n/*!*************************************!*\\\n !*** ./~/lodash._baseuniq/index.js ***!\n \\*************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.5.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\tvar SetCache = __webpack_require__(/*! lodash._setcache */ 81),\n\t createSet = __webpack_require__(/*! lodash._createset */ 80);\n\t\n\t/** Used as the size to enable large array optimizations. */\n\tvar LARGE_ARRAY_SIZE = 200;\n\t\n\t/** Used to stand-in for `undefined` hash values. */\n\tvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\t\n\t/**\n\t * A specialized version of `_.includes` for arrays without support for\n\t * specifying an index to search from.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} target The value to search for.\n\t * @returns {boolean} Returns `true` if `target` is found, else `false`.\n\t */\n\tfunction arrayIncludes(array, value) {\n\t return !!array.length && baseIndexOf(array, value, 0) > -1;\n\t}\n\t\n\t/**\n\t * This function is like `arrayIncludes` except that it accepts a comparator.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} target The value to search for.\n\t * @param {Function} comparator The comparator invoked per element.\n\t * @returns {boolean} Returns `true` if `target` is found, else `false`.\n\t */\n\tfunction arrayIncludesWith(array, value, comparator) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (comparator(value, array[index])) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} value The value to search for.\n\t * @param {number} fromIndex The index to search from.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction baseIndexOf(array, value, fromIndex) {\n\t if (value !== value) {\n\t return indexOfNaN(array, fromIndex);\n\t }\n\t var index = fromIndex - 1,\n\t length = array.length;\n\t\n\t while (++index < length) {\n\t if (array[index] === value) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\t/**\n\t * Gets the index at which the first occurrence of `NaN` is found in `array`.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {number} fromIndex The index to search from.\n\t * @param {boolean} [fromRight] Specify iterating from right to left.\n\t * @returns {number} Returns the index of the matched `NaN`, else `-1`.\n\t */\n\tfunction indexOfNaN(array, fromIndex, fromRight) {\n\t var length = array.length,\n\t index = fromIndex + (fromRight ? 0 : -1);\n\t\n\t while (fromRight ? index-- : ++index < length) {\n\t var other = array[index];\n\t if (other !== other) {\n\t return index;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\t/**\n\t * Converts `set` to an array.\n\t *\n\t * @private\n\t * @param {Object} set The set to convert.\n\t * @returns {Array} Returns the converted array.\n\t */\n\tfunction setToArray(set) {\n\t var index = -1,\n\t result = Array(set.size);\n\t\n\t set.forEach(function (value) {\n\t result[++index] = value;\n\t });\n\t return result;\n\t}\n\t\n\t/**\n\t * Checks if `value` is in `cache`.\n\t *\n\t * @private\n\t * @param {Object} cache The set cache to search.\n\t * @param {*} value The value to search for.\n\t * @returns {number} Returns `true` if `value` is found, else `false`.\n\t */\n\tfunction cacheHas(cache, value) {\n\t var map = cache.__data__;\n\t if (isKeyable(value)) {\n\t var data = map.__data__,\n\t hash = typeof value == 'string' ? data.string : data.hash;\n\t\n\t return hash[value] === HASH_UNDEFINED;\n\t }\n\t return map.has(value);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Array} array The array to inspect.\n\t * @param {Function} [iteratee] The iteratee invoked per element.\n\t * @param {Function} [comparator] The comparator invoked per element.\n\t * @returns {Array} Returns the new duplicate free array.\n\t */\n\tfunction baseUniq(array, iteratee, comparator) {\n\t var index = -1,\n\t includes = arrayIncludes,\n\t length = array.length,\n\t isCommon = true,\n\t result = [],\n\t seen = result;\n\t\n\t if (comparator) {\n\t isCommon = false;\n\t includes = arrayIncludesWith;\n\t } else if (length >= LARGE_ARRAY_SIZE) {\n\t var set = iteratee ? null : createSet(array);\n\t if (set) {\n\t return setToArray(set);\n\t }\n\t isCommon = false;\n\t includes = cacheHas;\n\t seen = new SetCache();\n\t } else {\n\t seen = iteratee ? [] : result;\n\t }\n\t outer: while (++index < length) {\n\t var value = array[index],\n\t computed = iteratee ? iteratee(value) : value;\n\t\n\t if (isCommon && computed === computed) {\n\t var seenIndex = seen.length;\n\t while (seenIndex--) {\n\t if (seen[seenIndex] === computed) {\n\t continue outer;\n\t }\n\t }\n\t if (iteratee) {\n\t seen.push(computed);\n\t }\n\t result.push(value);\n\t } else if (!includes(seen, computed, comparator)) {\n\t if (seen !== result) {\n\t seen.push(computed);\n\t }\n\t result.push(value);\n\t }\n\t }\n\t return result;\n\t}\n\t\n\t/**\n\t * Checks if `value` is suitable for use as unique object key.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n\t */\n\tfunction isKeyable(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return type == 'number' || type == 'boolean' || type == 'string' && value != '__proto__' || value == null;\n\t}\n\t\n\tmodule.exports = baseUniq;\n\n/***/ },\n/* 80 */\n/*!**************************************!*\\\n !*** ./~/lodash._createset/index.js ***!\n \\**************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(module, global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.0.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** `Object#toString` result references. */\n\tvar funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]';\n\t\n\t/** Used to match `RegExp` [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns). */\n\tvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\t\n\t/** Used to detect host constructors (Safari > 5). */\n\tvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t/** Used to determine if values are of the language type `Object`. */\n\tvar objectTypes = {\n\t 'function': true,\n\t 'object': true\n\t};\n\t\n\t/** Detect free variable `exports`. */\n\tvar freeExports = objectTypes[ false ? 'undefined' : _typeof(exports)] && exports && !exports.nodeType ? exports : undefined;\n\t\n\t/** Detect free variable `module`. */\n\tvar freeModule = objectTypes[ false ? 'undefined' : _typeof(module)] && module && !module.nodeType ? module : undefined;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = checkGlobal(freeExports && freeModule && (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global);\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = checkGlobal(objectTypes[typeof self === 'undefined' ? 'undefined' : _typeof(self)] && self);\n\t\n\t/** Detect free variable `window`. */\n\tvar freeWindow = checkGlobal(objectTypes[typeof window === 'undefined' ? 'undefined' : _typeof(window)] && window);\n\t\n\t/** Detect `this` as the global object. */\n\tvar thisGlobal = checkGlobal(objectTypes[_typeof(undefined)] && undefined);\n\t\n\t/**\n\t * Used as a reference to the global object.\n\t *\n\t * The `this` value is used if it's the global object to avoid Greasemonkey's\n\t * restricted `window` object, otherwise the `window` object is used.\n\t */\n\tvar root = freeGlobal || freeWindow !== (thisGlobal && thisGlobal.window) && freeWindow || freeSelf || thisGlobal || Function('return this')();\n\t\n\t/**\n\t * Checks if `value` is a global object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {null|Object} Returns `value` if it's a global object, else `null`.\n\t */\n\tfunction checkGlobal(value) {\n\t return value && value.Object === Object ? value : null;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a host object in IE < 9.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n\t */\n\tfunction isHostObject(value) {\n\t // Many host objects are `Object` objects that can coerce to strings\n\t // despite having improperly defined `toString` methods.\n\t var result = false;\n\t if (value != null && typeof value.toString != 'function') {\n\t try {\n\t result = !!(value + '');\n\t } catch (e) {}\n\t }\n\t return result;\n\t}\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to resolve the decompiled source of functions. */\n\tvar funcToString = Function.prototype.toString;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Used to detect if a method is native. */\n\tvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar Set = getNative(root, 'Set');\n\t\n\t/**\n\t * Creates a set of `values`.\n\t *\n\t * @private\n\t * @param {Array} values The values to add to the set.\n\t * @returns {Object} Returns the new set.\n\t */\n\tvar createSet = !(Set && new Set([1, 2]).size === 2) ? noop : function (values) {\n\t return new Set(values);\n\t};\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = object[key];\n\t return isNative(value) ? value : undefined;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array and weak map constructors,\n\t // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is a native function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t * @example\n\t *\n\t * _.isNative(Array.prototype.push);\n\t * // => true\n\t *\n\t * _.isNative(_);\n\t * // => false\n\t */\n\tfunction isNative(value) {\n\t if (value == null) {\n\t return false;\n\t }\n\t if (isFunction(value)) {\n\t return reIsNative.test(funcToString.call(value));\n\t }\n\t return isObjectLike(value) && (isHostObject(value) ? reIsNative : reIsHostCtor).test(value);\n\t}\n\t\n\t/**\n\t * A no-operation function that returns `undefined` regardless of the\n\t * arguments it receives.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Util\n\t * @example\n\t *\n\t * var object = { 'user': 'fred' };\n\t *\n\t * _.noop(object) === undefined;\n\t * // => true\n\t */\n\tfunction noop() {\n\t // No operation performed.\n\t}\n\t\n\tmodule.exports = createSet;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 17)(module), (function() { return this; }())))\n\n/***/ },\n/* 81 */\n/*!*************************************!*\\\n !*** ./~/lodash._setcache/index.js ***!\n \\*************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(module, global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.1.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** Used to stand-in for `undefined` hash values. */\n\tvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\t\n\t/** `Object#toString` result references. */\n\tvar funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]';\n\t\n\t/** Used to match `RegExp` [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns). */\n\tvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\t\n\t/** Used to detect host constructors (Safari > 5). */\n\tvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t/** Used to determine if values are of the language type `Object`. */\n\tvar objectTypes = {\n\t 'function': true,\n\t 'object': true\n\t};\n\t\n\t/** Detect free variable `exports`. */\n\tvar freeExports = objectTypes[ false ? 'undefined' : _typeof(exports)] && exports && !exports.nodeType ? exports : undefined;\n\t\n\t/** Detect free variable `module`. */\n\tvar freeModule = objectTypes[ false ? 'undefined' : _typeof(module)] && module && !module.nodeType ? module : undefined;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = checkGlobal(freeExports && freeModule && (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global);\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = checkGlobal(objectTypes[typeof self === 'undefined' ? 'undefined' : _typeof(self)] && self);\n\t\n\t/** Detect free variable `window`. */\n\tvar freeWindow = checkGlobal(objectTypes[typeof window === 'undefined' ? 'undefined' : _typeof(window)] && window);\n\t\n\t/** Detect `this` as the global object. */\n\tvar thisGlobal = checkGlobal(objectTypes[_typeof(undefined)] && undefined);\n\t\n\t/**\n\t * Used as a reference to the global object.\n\t *\n\t * The `this` value is used if it's the global object to avoid Greasemonkey's\n\t * restricted `window` object, otherwise the `window` object is used.\n\t */\n\tvar root = freeGlobal || freeWindow !== (thisGlobal && thisGlobal.window) && freeWindow || freeSelf || thisGlobal || Function('return this')();\n\t\n\t/**\n\t * Checks if `value` is a global object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {null|Object} Returns `value` if it's a global object, else `null`.\n\t */\n\tfunction checkGlobal(value) {\n\t return value && value.Object === Object ? value : null;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a host object in IE < 9.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n\t */\n\tfunction isHostObject(value) {\n\t // Many host objects are `Object` objects that can coerce to strings\n\t // despite having improperly defined `toString` methods.\n\t var result = false;\n\t if (value != null && typeof value.toString != 'function') {\n\t try {\n\t result = !!(value + '');\n\t } catch (e) {}\n\t }\n\t return result;\n\t}\n\t\n\t/** Used for built-in method references. */\n\tvar arrayProto = Array.prototype,\n\t objectProto = Object.prototype;\n\t\n\t/** Used to resolve the decompiled source of functions. */\n\tvar funcToString = Function.prototype.toString;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Used to detect if a method is native. */\n\tvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n\t\n\t/** Built-in value references. */\n\tvar splice = arrayProto.splice;\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar Map = getNative(root, 'Map'),\n\t nativeCreate = getNative(Object, 'create');\n\t\n\t/**\n\t * Creates an hash object.\n\t *\n\t * @private\n\t * @constructor\n\t * @returns {Object} Returns the new hash object.\n\t */\n\tfunction Hash() {}\n\t\n\t/**\n\t * Removes `key` and its value from the hash.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to modify.\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction hashDelete(hash, key) {\n\t return hashHas(hash, key) && delete hash[key];\n\t}\n\t\n\t/**\n\t * Gets the hash value for `key`.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to query.\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction hashGet(hash, key) {\n\t if (nativeCreate) {\n\t var result = hash[key];\n\t return result === HASH_UNDEFINED ? undefined : result;\n\t }\n\t return hasOwnProperty.call(hash, key) ? hash[key] : undefined;\n\t}\n\t\n\t/**\n\t * Checks if a hash value for `key` exists.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to query.\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction hashHas(hash, key) {\n\t return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);\n\t}\n\t\n\t/**\n\t * Sets the hash `key` to `value`.\n\t *\n\t * @private\n\t * @param {Object} hash The hash to modify.\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t */\n\tfunction hashSet(hash, key, value) {\n\t hash[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n\t}\n\t\n\t/**\n\t * Creates a map cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [values] The values to cache.\n\t */\n\tfunction MapCache(values) {\n\t var index = -1,\n\t length = values ? values.length : 0;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = values[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t/**\n\t * Removes all key-value entries from the map.\n\t *\n\t * @private\n\t * @name clear\n\t * @memberOf MapCache\n\t */\n\tfunction mapClear() {\n\t this.__data__ = {\n\t 'hash': new Hash(),\n\t 'map': Map ? new Map() : [],\n\t 'string': new Hash()\n\t };\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the map.\n\t *\n\t * @private\n\t * @name delete\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction mapDelete(key) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t return hashDelete(typeof key == 'string' ? data.string : data.hash, key);\n\t }\n\t return Map ? data.map['delete'](key) : assocDelete(data.map, key);\n\t}\n\t\n\t/**\n\t * Gets the map value for `key`.\n\t *\n\t * @private\n\t * @name get\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction mapGet(key) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t return hashGet(typeof key == 'string' ? data.string : data.hash, key);\n\t }\n\t return Map ? data.map.get(key) : assocGet(data.map, key);\n\t}\n\t\n\t/**\n\t * Checks if a map value for `key` exists.\n\t *\n\t * @private\n\t * @name has\n\t * @memberOf MapCache\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction mapHas(key) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t return hashHas(typeof key == 'string' ? data.string : data.hash, key);\n\t }\n\t return Map ? data.map.has(key) : assocHas(data.map, key);\n\t}\n\t\n\t/**\n\t * Sets the map `key` to `value`.\n\t *\n\t * @private\n\t * @name set\n\t * @memberOf MapCache\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t * @returns {Object} Returns the map cache object.\n\t */\n\tfunction mapSet(key, value) {\n\t var data = this.__data__;\n\t if (isKeyable(key)) {\n\t hashSet(typeof key == 'string' ? data.string : data.hash, key, value);\n\t } else if (Map) {\n\t data.map.set(key, value);\n\t } else {\n\t assocSet(data.map, key, value);\n\t }\n\t return this;\n\t}\n\t\n\t/**\n\t *\n\t * Creates a set cache object to store unique values.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [values] The values to cache.\n\t */\n\tfunction SetCache(values) {\n\t var index = -1,\n\t length = values ? values.length : 0;\n\t\n\t this.__data__ = new MapCache();\n\t while (++index < length) {\n\t this.push(values[index]);\n\t }\n\t}\n\t\n\t/**\n\t * Adds `value` to the set cache.\n\t *\n\t * @private\n\t * @name push\n\t * @memberOf SetCache\n\t * @param {*} value The value to cache.\n\t */\n\tfunction cachePush(value) {\n\t var map = this.__data__;\n\t if (isKeyable(value)) {\n\t var data = map.__data__,\n\t hash = typeof value == 'string' ? data.string : data.hash;\n\t\n\t hash[value] = HASH_UNDEFINED;\n\t } else {\n\t map.set(value, HASH_UNDEFINED);\n\t }\n\t}\n\t\n\t/**\n\t * Removes `key` and its value from the associative array.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {string} key The key of the value to remove.\n\t * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n\t */\n\tfunction assocDelete(array, key) {\n\t var index = assocIndexOf(array, key);\n\t if (index < 0) {\n\t return false;\n\t }\n\t var lastIndex = array.length - 1;\n\t if (index == lastIndex) {\n\t array.pop();\n\t } else {\n\t splice.call(array, index, 1);\n\t }\n\t return true;\n\t}\n\t\n\t/**\n\t * Gets the associative array value for `key`.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {string} key The key of the value to get.\n\t * @returns {*} Returns the entry value.\n\t */\n\tfunction assocGet(array, key) {\n\t var index = assocIndexOf(array, key);\n\t return index < 0 ? undefined : array[index][1];\n\t}\n\t\n\t/**\n\t * Checks if an associative array value for `key` exists.\n\t *\n\t * @private\n\t * @param {Array} array The array to query.\n\t * @param {string} key The key of the entry to check.\n\t * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t */\n\tfunction assocHas(array, key) {\n\t return assocIndexOf(array, key) > -1;\n\t}\n\t\n\t/**\n\t * Gets the index at which the first occurrence of `key` is found in `array`\n\t * of key-value pairs.\n\t *\n\t * @private\n\t * @param {Array} array The array to search.\n\t * @param {*} key The key to search for.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction assocIndexOf(array, key) {\n\t var length = array.length;\n\t while (length--) {\n\t if (eq(array[length][0], key)) {\n\t return length;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\t/**\n\t * Sets the associative array `key` to `value`.\n\t *\n\t * @private\n\t * @param {Array} array The array to modify.\n\t * @param {string} key The key of the value to set.\n\t * @param {*} value The value to set.\n\t */\n\tfunction assocSet(array, key, value) {\n\t var index = assocIndexOf(array, key);\n\t if (index < 0) {\n\t array.push([key, value]);\n\t } else {\n\t array[index][1] = value;\n\t }\n\t}\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = object[key];\n\t return isNative(value) ? value : undefined;\n\t}\n\t\n\t/**\n\t * Checks if `value` is suitable for use as unique object key.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n\t */\n\tfunction isKeyable(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return type == 'number' || type == 'boolean' || type == 'string' && value != '__proto__' || value == null;\n\t}\n\t\n\t/**\n\t * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n\t * comparison between two values to determine if they are equivalent.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t * @example\n\t *\n\t * var object = { 'user': 'fred' };\n\t * var other = { 'user': 'fred' };\n\t *\n\t * _.eq(object, object);\n\t * // => true\n\t *\n\t * _.eq(object, other);\n\t * // => false\n\t *\n\t * _.eq('a', 'a');\n\t * // => true\n\t *\n\t * _.eq('a', Object('a'));\n\t * // => false\n\t *\n\t * _.eq(NaN, NaN);\n\t * // => true\n\t */\n\tfunction eq(value, other) {\n\t return value === other || value !== value && other !== other;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array and weak map constructors,\n\t // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is a native function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t * @example\n\t *\n\t * _.isNative(Array.prototype.push);\n\t * // => true\n\t *\n\t * _.isNative(_);\n\t * // => false\n\t */\n\tfunction isNative(value) {\n\t if (value == null) {\n\t return false;\n\t }\n\t if (isFunction(value)) {\n\t return reIsNative.test(funcToString.call(value));\n\t }\n\t return isObjectLike(value) && (isHostObject(value) ? reIsNative : reIsHostCtor).test(value);\n\t}\n\t\n\t// Avoid inheriting from `Object.prototype` when possible.\n\tHash.prototype = nativeCreate ? nativeCreate(null) : objectProto;\n\t\n\t// Add functions to the `MapCache`.\n\tMapCache.prototype.clear = mapClear;\n\tMapCache.prototype['delete'] = mapDelete;\n\tMapCache.prototype.get = mapGet;\n\tMapCache.prototype.has = mapHas;\n\tMapCache.prototype.set = mapSet;\n\t\n\t// Add functions to the `SetCache`.\n\tSetCache.prototype.push = cachePush;\n\t\n\tmodule.exports = SetCache;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 17)(module), (function() { return this; }())))\n\n/***/ },\n/* 82 */\n/*!**********************************!*\\\n !*** ./~/lodash.before/index.js ***!\n \\**********************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.0.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** Used as the `TypeError` message for \"Functions\" methods. */\n\tvar FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0,\n\t MAX_INTEGER = 1.7976931348623157e+308,\n\t NAN = 0 / 0;\n\t\n\t/** `Object#toString` result references. */\n\tvar funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]';\n\t\n\t/** Used to match leading and trailing whitespace. */\n\tvar reTrim = /^\\s+|\\s+$/g;\n\t\n\t/** Used to detect bad signed hexadecimal string values. */\n\tvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\t\n\t/** Used to detect binary string values. */\n\tvar reIsBinary = /^0b[01]+$/i;\n\t\n\t/** Used to detect octal string values. */\n\tvar reIsOctal = /^0o[0-7]+$/i;\n\t\n\t/** Built-in method references without a dependency on `root`. */\n\tvar freeParseInt = parseInt;\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/**\n\t * Creates a function that invokes `func`, with the `this` binding and arguments\n\t * of the created function, while it's called less than `n` times. Subsequent\n\t * calls to the created function return the result of the last `func` invocation.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {number} n The number of calls at which `func` is no longer invoked.\n\t * @param {Function} func The function to restrict.\n\t * @returns {Function} Returns the new restricted function.\n\t * @example\n\t *\n\t * jQuery(element).on('click', _.before(5, addContactToList));\n\t * // => allows adding up to 4 contacts to the list\n\t */\n\tfunction before(n, func) {\n\t var result;\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t n = toInteger(n);\n\t return function () {\n\t if (--n > 0) {\n\t result = func.apply(this, arguments);\n\t }\n\t if (n <= 1) {\n\t func = undefined;\n\t }\n\t return result;\n\t };\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array constructors, and\n\t // PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Converts `value` to an integer.\n\t *\n\t * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to convert.\n\t * @returns {number} Returns the converted integer.\n\t * @example\n\t *\n\t * _.toInteger(3);\n\t * // => 3\n\t *\n\t * _.toInteger(Number.MIN_VALUE);\n\t * // => 0\n\t *\n\t * _.toInteger(Infinity);\n\t * // => 1.7976931348623157e+308\n\t *\n\t * _.toInteger('3');\n\t * // => 3\n\t */\n\tfunction toInteger(value) {\n\t if (!value) {\n\t return value === 0 ? value : 0;\n\t }\n\t value = toNumber(value);\n\t if (value === INFINITY || value === -INFINITY) {\n\t var sign = value < 0 ? -1 : 1;\n\t return sign * MAX_INTEGER;\n\t }\n\t var remainder = value % 1;\n\t return value === value ? remainder ? value - remainder : value : 0;\n\t}\n\t\n\t/**\n\t * Converts `value` to a number.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {number} Returns the number.\n\t * @example\n\t *\n\t * _.toNumber(3);\n\t * // => 3\n\t *\n\t * _.toNumber(Number.MIN_VALUE);\n\t * // => 5e-324\n\t *\n\t * _.toNumber(Infinity);\n\t * // => Infinity\n\t *\n\t * _.toNumber('3');\n\t * // => 3\n\t */\n\tfunction toNumber(value) {\n\t if (isObject(value)) {\n\t var other = isFunction(value.valueOf) ? value.valueOf() : value;\n\t value = isObject(other) ? other + '' : other;\n\t }\n\t if (typeof value != 'string') {\n\t return value === 0 ? value : +value;\n\t }\n\t value = value.replace(reTrim, '');\n\t var isBinary = reIsBinary.test(value);\n\t return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n\t}\n\t\n\tmodule.exports = before;\n\n/***/ },\n/* 83 */\n/*!********************************!*\\\n !*** ./~/lodash.once/index.js ***!\n \\********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * lodash 4.0.0 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\tvar before = __webpack_require__(/*! lodash.before */ 82);\n\t\n\t/**\n\t * Creates a function that is restricted to invoking `func` once. Repeat calls\n\t * to the function return the value of the first invocation. The `func` is\n\t * invoked with the `this` binding and arguments of the created function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Function\n\t * @param {Function} func The function to restrict.\n\t * @returns {Function} Returns the new restricted function.\n\t * @example\n\t *\n\t * var initialize = _.once(createApplication);\n\t * initialize();\n\t * initialize();\n\t * // `initialize` invokes `createApplication` once\n\t */\n\tfunction once(func) {\n\t return before(2, func);\n\t}\n\t\n\tmodule.exports = once;\n\n/***/ },\n/* 84 */\n/*!**********************************!*\\\n !*** ./~/lodash.result/index.js ***!\n \\**********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.2.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\tvar baseSlice = __webpack_require__(/*! lodash._baseslice */ 78),\n\t toString = __webpack_require__(/*! lodash.tostring */ 85);\n\t\n\t/** `Object#toString` result references. */\n\tvar funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]';\n\t\n\t/** Used to match property names within property paths. */\n\tvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n\t reIsPlainProp = /^\\w*$/,\n\t rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g;\n\t\n\t/** Used to match backslashes in property paths. */\n\tvar reEscapeChar = /\\\\(\\\\)?/g;\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/**\n\t * Casts `value` to a path array if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @returns {Array} Returns the cast property path array.\n\t */\n\tfunction baseCastPath(value) {\n\t return isArray(value) ? value : stringToPath(value);\n\t}\n\t\n\t/**\n\t * The base implementation of `_.get` without support for default values.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {*} Returns the resolved value.\n\t */\n\tfunction baseGet(object, path) {\n\t path = isKey(path, object) ? [path + ''] : baseCastPath(path);\n\t\n\t var index = 0,\n\t length = path.length;\n\t\n\t while (object != null && index < length) {\n\t object = object[path[index++]];\n\t }\n\t return index && index == length ? object : undefined;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a property name and not a property path.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {Object} [object] The object to query keys on.\n\t * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t */\n\tfunction isKey(value, object) {\n\t if (typeof value == 'number') {\n\t return true;\n\t }\n\t return !isArray(value) && (reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object));\n\t}\n\t\n\t/**\n\t * Gets the parent value at `path` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array} path The path to get the parent value of.\n\t * @returns {*} Returns the parent value.\n\t */\n\tfunction parent(object, path) {\n\t return path.length == 1 ? object : get(object, baseSlice(path, 0, -1));\n\t}\n\t\n\t/**\n\t * Converts `string` to a property path array.\n\t *\n\t * @private\n\t * @param {string} string The string to convert.\n\t * @returns {Array} Returns the property path array.\n\t */\n\tfunction stringToPath(string) {\n\t var result = [];\n\t toString(string).replace(rePropName, function (match, number, quote, string) {\n\t result.push(quote ? string.replace(reEscapeChar, '$1') : number || match);\n\t });\n\t return result;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @type {Function}\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(document.body.children);\n\t * // => false\n\t *\n\t * _.isArray('abc');\n\t * // => false\n\t *\n\t * _.isArray(_.noop);\n\t * // => false\n\t */\n\tvar isArray = Array.isArray;\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8 which returns 'object' for typed array and weak map constructors,\n\t // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Gets the value at `path` of `object`. If the resolved value is\n\t * `undefined` the `defaultValue` is used in its place.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t * @returns {*} Returns the resolved value.\n\t * @example\n\t *\n\t * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t *\n\t * _.get(object, 'a[0].b.c');\n\t * // => 3\n\t *\n\t * _.get(object, ['a', '0', 'b', 'c']);\n\t * // => 3\n\t *\n\t * _.get(object, 'a.b.c', 'default');\n\t * // => 'default'\n\t */\n\tfunction get(object, path, defaultValue) {\n\t var result = object == null ? undefined : baseGet(object, path);\n\t return result === undefined ? defaultValue : result;\n\t}\n\t\n\t/**\n\t * This method is like `_.get` except that if the resolved value is a function\n\t * it's invoked with the `this` binding of its parent object and its result\n\t * is returned.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to resolve.\n\t * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t * @returns {*} Returns the resolved value.\n\t * @example\n\t *\n\t * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n\t *\n\t * _.result(object, 'a[0].b.c1');\n\t * // => 3\n\t *\n\t * _.result(object, 'a[0].b.c2');\n\t * // => 4\n\t *\n\t * _.result(object, 'a[0].b.c3', 'default');\n\t * // => 'default'\n\t *\n\t * _.result(object, 'a[0].b.c3', _.constant('default'));\n\t * // => 'default'\n\t */\n\tfunction result(object, path, defaultValue) {\n\t if (!isKey(path, object)) {\n\t path = baseCastPath(path);\n\t var result = get(object, path);\n\t object = parent(object, path);\n\t } else {\n\t result = object == null ? undefined : object[path];\n\t }\n\t if (result === undefined) {\n\t result = defaultValue;\n\t }\n\t return isFunction(result) ? result.call(object) : result;\n\t}\n\t\n\tmodule.exports = result;\n\n/***/ },\n/* 85 */\n/*!************************************!*\\\n !*** ./~/lodash.tostring/index.js ***!\n \\************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(module, global) {'use strict';\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\t/**\n\t * lodash 4.1.2 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0;\n\t\n\t/** `Object#toString` result references. */\n\tvar symbolTag = '[object Symbol]';\n\t\n\t/** Used to determine if values are of the language type `Object`. */\n\tvar objectTypes = {\n\t 'function': true,\n\t 'object': true\n\t};\n\t\n\t/** Detect free variable `exports`. */\n\tvar freeExports = objectTypes[ false ? 'undefined' : _typeof(exports)] && exports && !exports.nodeType ? exports : undefined;\n\t\n\t/** Detect free variable `module`. */\n\tvar freeModule = objectTypes[ false ? 'undefined' : _typeof(module)] && module && !module.nodeType ? module : undefined;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = checkGlobal(freeExports && freeModule && (typeof global === 'undefined' ? 'undefined' : _typeof(global)) == 'object' && global);\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = checkGlobal(objectTypes[typeof self === 'undefined' ? 'undefined' : _typeof(self)] && self);\n\t\n\t/** Detect free variable `window`. */\n\tvar freeWindow = checkGlobal(objectTypes[typeof window === 'undefined' ? 'undefined' : _typeof(window)] && window);\n\t\n\t/** Detect `this` as the global object. */\n\tvar thisGlobal = checkGlobal(objectTypes[_typeof(undefined)] && undefined);\n\t\n\t/**\n\t * Used as a reference to the global object.\n\t *\n\t * The `this` value is used if it's the global object to avoid Greasemonkey's\n\t * restricted `window` object, otherwise the `window` object is used.\n\t */\n\tvar root = freeGlobal || freeWindow !== (thisGlobal && thisGlobal.window) && freeWindow || freeSelf || thisGlobal || Function('return this')();\n\t\n\t/**\n\t * Checks if `value` is a global object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {null|Object} Returns `value` if it's a global object, else `null`.\n\t */\n\tfunction checkGlobal(value) {\n\t return value && value.Object === Object ? value : null;\n\t}\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Built-in value references. */\n\tvar _Symbol = root.Symbol;\n\t\n\t/** Used to convert symbols to primitives and strings. */\n\tvar symbolProto = _Symbol ? _Symbol.prototype : undefined,\n\t symbolToString = symbolProto ? symbolProto.toString : undefined;\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\n\t}\n\t\n\t/**\n\t * Converts `value` to a string if it's not one. An empty string is returned\n\t * for `null` and `undefined` values. The sign of `-0` is preserved.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {string} Returns the string.\n\t * @example\n\t *\n\t * _.toString(null);\n\t * // => ''\n\t *\n\t * _.toString(-0);\n\t * // => '-0'\n\t *\n\t * _.toString([1, 2, 3]);\n\t * // => '1,2,3'\n\t */\n\tfunction toString(value) {\n\t // Exit early for strings to avoid a performance hit in some environments.\n\t if (typeof value == 'string') {\n\t return value;\n\t }\n\t if (value == null) {\n\t return '';\n\t }\n\t if (isSymbol(value)) {\n\t return symbolToString ? symbolToString.call(value) : '';\n\t }\n\t var result = value + '';\n\t return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n\t}\n\t\n\tmodule.exports = toString;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 17)(module), (function() { return this; }())))\n\n/***/ },\n/* 86 */\n/*!**********************************!*\\\n !*** ./~/lodash.uniqby/index.js ***!\n \\**********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * lodash 4.2.1 (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2016 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\tvar baseIteratee = __webpack_require__(/*! lodash._baseiteratee */ 30),\n\t baseUniq = __webpack_require__(/*! lodash._baseuniq */ 79);\n\t\n\t/**\n\t * This method is like `_.uniq` except that it accepts `iteratee` which is\n\t * invoked for each element in `array` to generate the criterion by which\n\t * uniqueness is computed. The iteratee is invoked with one argument: (value).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Array\n\t * @param {Array} array The array to inspect.\n\t * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element.\n\t * @returns {Array} Returns the new duplicate free array.\n\t * @example\n\t *\n\t * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n\t * // => [2.1, 1.2]\n\t *\n\t * // The `_.property` iteratee shorthand.\n\t * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n\t * // => [{ 'x': 1 }, { 'x': 2 }]\n\t */\n\tfunction uniqBy(array, iteratee) {\n\t return array && array.length ? baseUniq(array, baseIteratee(iteratee)) : [];\n\t}\n\t\n\tmodule.exports = uniqBy;\n\n/***/ },\n/* 87 */\n/*!***************************************!*\\\n !*** ./~/webworkify-webpack/index.js ***!\n \\***************************************/\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tvar __webpack_require__ = arguments[2];\n\tvar sources = __webpack_require__.m;\n\t\n\tvar webpackBootstrapFunc = function webpackBootstrapFunc(modules) {\n\t var installedModules = {};\n\t function __webpack_require__(moduleId) {\n\t if (installedModules[moduleId]) return installedModules[moduleId].exports;\n\t var module = installedModules[moduleId] = {\n\t exports: {},\n\t id: moduleId,\n\t loaded: false\n\t };\n\t modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t module.loaded = true;\n\t return module.exports;\n\t }\n\t __webpack_require__.m = modules;\n\t __webpack_require__.c = installedModules;\n\t __webpack_require__.oe = function (err) {\n\t throw err;\n\t };\n\t __webpack_require__.p = \"\";\n\t var f = __webpack_require__(__webpack_require__.s = entryModule);\n\t return f.default || f; // try to call default if defined to also support babel esmodule exports\n\t};\n\t\n\tmodule.exports = function (fn) {\n\t var key;\n\t for (var i = 0, l = sources.length; i < l; i++) {\n\t if (!sources[i]) {\n\t continue;\n\t }\n\t var wrapperFuncString = sources[i].toString();\n\t var fnString = fn.toString();\n\t var exp = __webpack_require__(i);\n\t // Using babel as a transpiler to use esmodule, the export will always\n\t // be an object with the default export as a property of it. To ensure\n\t // the existing api and babel esmodule exports are both supported we\n\t // check for both\n\t if (exp && (exp === fn || exp.default === fn)) {\n\t key = i;\n\t break;\n\t } else if (wrapperFuncString.indexOf(fnString) > -1) {\n\t sources[i] = wrapperFuncString.substring(0, wrapperFuncString.length - 1) + '\\n' + fnString.match(/function\\s?(.+?)\\s?\\(.*/)[1] + '();\\n}';\n\t key = i;\n\t break;\n\t }\n\t }\n\t\n\t // window = {}; => https://github.com/borisirota/webworkify-webpack/issues/1\n\t var src = 'window = {};\\n' + 'var fn = (' + webpackBootstrapFunc.toString().replace('entryModule', key) + ')([' + sources.map(function (func) {\n\t return func.toString();\n\t }).join(',') + ']);\\n' + '(typeof fn === \"function\") && fn(self);'; // not a function when calling a function from the current scope\n\t\n\t var URL = window.URL || window.webkitURL || window.mozURL || window.msURL;\n\t\n\t return new Worker(URL.createObjectURL(new Blob([src], { type: 'text/javascript' })));\n\t};\n\n/***/ },\n/* 88 */\n/*!***********************************************!*\\\n !*** ./src/components/container/container.js ***!\n \\***********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _ui_object = __webpack_require__(/*! base/ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tvar _styler = __webpack_require__(/*! base/styler */ 8);\n\t\n\tvar _styler2 = _interopRequireDefault(_styler);\n\t\n\tvar _style = __webpack_require__(/*! ./public/style.scss */ 126);\n\t\n\tvar _style2 = _interopRequireDefault(_style);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.find */ 14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * Container is responsible for the video rendering and state\n\t */\n\t\n\t/**\n\t * An abstraction to represent a container for a given playback\n\t * TODO: describe its responsabilities\n\t * @class Container\n\t * @constructor\n\t * @extends UIObject\n\t * @module base\n\t */\n\t\n\tvar Container = function (_UIObject) {\n\t _inherits(Container, _UIObject);\n\t\n\t _createClass(Container, [{\n\t key: 'name',\n\t\n\t /**\n\t * container's name\n\t * @method name\n\t * @default Container\n\t * @return {String} container's name\n\t */\n\t get: function get() {\n\t return 'Container';\n\t }\n\t }, {\n\t key: 'attributes',\n\t get: function get() {\n\t return { class: 'container', 'data-container': '' };\n\t }\n\t }, {\n\t key: 'events',\n\t get: function get() {\n\t return {\n\t 'click': 'clicked',\n\t 'dblclick': 'dblClicked',\n\t 'doubleTap': 'dblClicked',\n\t 'contextmenu': 'onContextMenu',\n\t 'mouseenter': 'mouseEnter',\n\t 'mouseleave': 'mouseLeave'\n\t };\n\t }\n\t\n\t /**\n\t * Determine if the playback has ended.\n\t * @property ended\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'ended',\n\t get: function get() {\n\t return this.playback.ended;\n\t }\n\t\n\t /**\n\t * Determine if the playback is having to buffer in order for\n\t * playback to be smooth.\n\t * (i.e if a live stream is playing smoothly, this will be false)\n\t * @property buffering\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'buffering',\n\t get: function get() {\n\t return this.playback.buffering;\n\t }\n\t\n\t /**\n\t * it builds a container\n\t * @method constructor\n\t * @param {Object} options the options object\n\t */\n\t\n\t }]);\n\t\n\t function Container(options) {\n\t _classCallCheck(this, Container);\n\t\n\t var _this = _possibleConstructorReturn(this, _UIObject.call(this, options));\n\t\n\t _this.currentTime = 0;\n\t _this.volume = 100;\n\t _this.options = options;\n\t _this.playback = options.playback;\n\t _this.settings = _clapprZepto2.default.extend({}, _this.playback.settings);\n\t _this.isReady = false;\n\t _this.mediaControlDisabled = false;\n\t _this.plugins = [_this.playback];\n\t _this.bindEvents();\n\t return _this;\n\t }\n\t\n\t /**\n\t * binds playback events to the methods of the container.\n\t * it listens to playback's events and triggers them as container events.\n\t *\n\t * | Playback |\n\t * |----------|\n\t * | progress |\n\t * | timeupdate |\n\t * | ready |\n\t * | buffering |\n\t * | bufferfull |\n\t * | settingsupdate |\n\t * | loadedmetadata |\n\t * | highdefinitionupdate |\n\t * | bitrate |\n\t * | playbackstate |\n\t * | dvr |\n\t * | mediacontrol_disable |\n\t * | mediacontrol_enable |\n\t * | ended |\n\t * | play |\n\t * | pause |\n\t * | error |\n\t *\n\t * ps: the events usually translate from PLABACK_x to CONTAINER_x, you can check all the events at `Event` class.\n\t *\n\t * @method bindEvents\n\t */\n\t\n\t\n\t Container.prototype.bindEvents = function bindEvents() {\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_PROGRESS, this.progress);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_TIMEUPDATE, this.timeUpdated);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_READY, this.ready);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_BUFFERING, this.onBuffering);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_BUFFERFULL, this.bufferfull);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_SETTINGSUPDATE, this.settingsUpdate);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_LOADEDMETADATA, this.loadedMetadata);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinitionUpdate);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_BITRATE, this.updateBitrate);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_PLAYBACKSTATE, this.playbackStateChanged);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_DVR, this.playbackDvrStateChanged);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_MEDIACONTROL_DISABLE, this.disableMediaControl);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_MEDIACONTROL_ENABLE, this.enableMediaControl);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_ENDED, this.onEnded);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_PLAY, this.playing);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_PAUSE, this.paused);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_STOP, this.stopped);\n\t this.listenTo(this.playback, _events2.default.PLAYBACK_ERROR, this.error);\n\t };\n\t\n\t Container.prototype.playbackStateChanged = function playbackStateChanged(state) {\n\t this.trigger(_events2.default.CONTAINER_PLAYBACKSTATE, state);\n\t };\n\t\n\t Container.prototype.playbackDvrStateChanged = function playbackDvrStateChanged(dvrInUse) {\n\t this.settings = this.playback.settings;\n\t this.dvrInUse = dvrInUse;\n\t this.trigger(_events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, dvrInUse);\n\t };\n\t\n\t Container.prototype.updateBitrate = function updateBitrate(newBitrate) {\n\t this.trigger(_events2.default.CONTAINER_BITRATE, newBitrate);\n\t };\n\t\n\t Container.prototype.statsReport = function statsReport(metrics) {\n\t this.trigger(_events2.default.CONTAINER_STATS_REPORT, metrics);\n\t };\n\t\n\t Container.prototype.getPlaybackType = function getPlaybackType() {\n\t return this.playback.getPlaybackType();\n\t };\n\t\n\t /**\n\t * returns `true` if DVR is enable otherwise `false`.\n\t * @method isDvrEnabled\n\t * @return {Boolean}\n\t */\n\t\n\t\n\t Container.prototype.isDvrEnabled = function isDvrEnabled() {\n\t return !!this.playback.dvrEnabled;\n\t };\n\t\n\t /**\n\t * returns `true` if DVR is in use otherwise `false`.\n\t * @method isDvrInUse\n\t * @return {Boolean}\n\t */\n\t\n\t\n\t Container.prototype.isDvrInUse = function isDvrInUse() {\n\t return !!this.dvrInUse;\n\t };\n\t\n\t /**\n\t * destroys the container\n\t * @method destroy\n\t */\n\t\n\t\n\t Container.prototype.destroy = function destroy() {\n\t this.trigger(_events2.default.CONTAINER_DESTROYED, this, this.name);\n\t this.stopListening();\n\t this.playback.destroy();\n\t this.plugins.forEach(function (plugin) {\n\t return plugin.destroy();\n\t });\n\t this.$el.remove();\n\t };\n\t\n\t Container.prototype.setStyle = function setStyle(style) {\n\t this.$el.css(style);\n\t };\n\t\n\t Container.prototype.animate = function animate(style, duration) {\n\t return this.$el.animate(style, duration).promise();\n\t };\n\t\n\t Container.prototype.ready = function ready() {\n\t this.isReady = true;\n\t this.trigger(_events2.default.CONTAINER_READY, this.name);\n\t };\n\t\n\t Container.prototype.isPlaying = function isPlaying() {\n\t return this.playback.isPlaying();\n\t };\n\t\n\t Container.prototype.getStartTimeOffset = function getStartTimeOffset() {\n\t return this.playback.getStartTimeOffset();\n\t };\n\t\n\t Container.prototype.getCurrentTime = function getCurrentTime() {\n\t return this.currentTime;\n\t };\n\t\n\t Container.prototype.getDuration = function getDuration() {\n\t return this.playback.getDuration();\n\t };\n\t\n\t Container.prototype.error = function error(errorObj) {\n\t if (!this.isReady) {\n\t this.ready();\n\t }\n\t this.trigger(_events2.default.CONTAINER_ERROR, { error: errorObj, container: this }, this.name);\n\t };\n\t\n\t Container.prototype.loadedMetadata = function loadedMetadata(metadata) {\n\t this.trigger(_events2.default.CONTAINER_LOADEDMETADATA, metadata);\n\t };\n\t\n\t Container.prototype.timeUpdated = function timeUpdated(timeProgress) {\n\t this.currentTime = timeProgress.current;\n\t this.trigger(_events2.default.CONTAINER_TIMEUPDATE, timeProgress, this.name);\n\t };\n\t\n\t Container.prototype.progress = function progress(progressObj) {\n\t this.trigger(_events2.default.CONTAINER_PROGRESS, progressObj, this.name);\n\t };\n\t\n\t Container.prototype.playing = function playing() {\n\t this.trigger(_events2.default.CONTAINER_PLAY, this.name);\n\t };\n\t\n\t Container.prototype.paused = function paused() {\n\t this.trigger(_events2.default.CONTAINER_PAUSE, this.name);\n\t };\n\t\n\t /**\n\t * plays the playback\n\t * @method play\n\t */\n\t\n\t\n\t Container.prototype.play = function play() {\n\t this.playback.play();\n\t };\n\t\n\t /**\n\t * stops the playback\n\t * @method stop\n\t */\n\t\n\t\n\t Container.prototype.stop = function stop() {\n\t this.playback.stop();\n\t this.currentTime = 0;\n\t };\n\t\n\t /**\n\t * pauses the playback\n\t * @method pause\n\t */\n\t\n\t\n\t Container.prototype.pause = function pause() {\n\t this.playback.pause();\n\t };\n\t\n\t Container.prototype.onEnded = function onEnded() {\n\t this.trigger(_events2.default.CONTAINER_ENDED, this, this.name);\n\t this.currentTime = 0;\n\t };\n\t\n\t Container.prototype.stopped = function stopped() {\n\t this.trigger(_events2.default.CONTAINER_STOP);\n\t };\n\t\n\t Container.prototype.clicked = function clicked() {\n\t if (!this.options.chromeless || this.options.allowUserInteraction) {\n\t this.trigger(_events2.default.CONTAINER_CLICK, this, this.name);\n\t }\n\t };\n\t\n\t Container.prototype.dblClicked = function dblClicked() {\n\t if (!this.options.chromeless || this.options.allowUserInteraction) {\n\t this.trigger(_events2.default.CONTAINER_DBLCLICK, this, this.name);\n\t }\n\t };\n\t\n\t Container.prototype.onContextMenu = function onContextMenu() {\n\t if (!this.options.chromeless || this.options.allowUserInteraction) {\n\t this.trigger(_events2.default.CONTAINER_CONTEXTMENU, this, this.name);\n\t }\n\t };\n\t\n\t Container.prototype.seek = function seek(time) {\n\t this.trigger(_events2.default.CONTAINER_SEEK, time, this.name);\n\t this.playback.seek(time);\n\t };\n\t\n\t Container.prototype.seekPercentage = function seekPercentage(percentage) {\n\t var duration = this.getDuration();\n\t if (percentage > 0 && percentage <= 100) {\n\t var time = duration * (percentage / 100);\n\t this.seek(time);\n\t }\n\t };\n\t\n\t Container.prototype.setVolume = function setVolume(value) {\n\t this.volume = parseInt(value, 10);\n\t this.trigger(_events2.default.CONTAINER_VOLUME, value, this.name);\n\t this.playback.volume(value);\n\t };\n\t\n\t Container.prototype.fullscreen = function fullscreen() {\n\t this.trigger(_events2.default.CONTAINER_FULLSCREEN, this.name);\n\t };\n\t\n\t Container.prototype.onBuffering = function onBuffering() {\n\t this.trigger(_events2.default.CONTAINER_STATE_BUFFERING, this.name);\n\t };\n\t\n\t Container.prototype.bufferfull = function bufferfull() {\n\t this.trigger(_events2.default.CONTAINER_STATE_BUFFERFULL, this.name);\n\t };\n\t\n\t /**\n\t * adds plugin to the container\n\t * @method addPlugin\n\t * @param {Object} plugin\n\t */\n\t\n\t\n\t Container.prototype.addPlugin = function addPlugin(plugin) {\n\t this.plugins.push(plugin);\n\t };\n\t\n\t /**\n\t * checks if a plugin, given its name, exist\n\t * @method addPlugin\n\t * @param {String} name\n\t */\n\t\n\t\n\t Container.prototype.hasPlugin = function hasPlugin(name) {\n\t return !!this.getPlugin(name);\n\t };\n\t\n\t /**\n\t * get the plugin given its name\n\t * @method getPlugin\n\t * @param {String} name\n\t */\n\t\n\t\n\t Container.prototype.getPlugin = function getPlugin(name) {\n\t return (0, _lodash2.default)(this.plugins, function (plugin) {\n\t return plugin.name === name;\n\t });\n\t };\n\t\n\t Container.prototype.mouseEnter = function mouseEnter() {\n\t if (!this.options.chromeless || this.options.allowUserInteraction) {\n\t this.trigger(_events2.default.CONTAINER_MOUSE_ENTER);\n\t }\n\t };\n\t\n\t Container.prototype.mouseLeave = function mouseLeave() {\n\t if (!this.options.chromeless || this.options.allowUserInteraction) {\n\t this.trigger(_events2.default.CONTAINER_MOUSE_LEAVE);\n\t }\n\t };\n\t\n\t Container.prototype.settingsUpdate = function settingsUpdate() {\n\t this.settings = this.playback.settings;\n\t this.trigger(_events2.default.CONTAINER_SETTINGSUPDATE);\n\t };\n\t\n\t Container.prototype.highDefinitionUpdate = function highDefinitionUpdate(isHD) {\n\t this.trigger(_events2.default.CONTAINER_HIGHDEFINITIONUPDATE, isHD);\n\t };\n\t\n\t Container.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n\t return this.playback.isHighDefinitionInUse();\n\t };\n\t\n\t Container.prototype.disableMediaControl = function disableMediaControl() {\n\t if (!this.mediaControlDisabled) {\n\t this.mediaControlDisabled = true;\n\t this.trigger(_events2.default.CONTAINER_MEDIACONTROL_DISABLE);\n\t }\n\t };\n\t\n\t Container.prototype.enableMediaControl = function enableMediaControl() {\n\t if (this.mediaControlDisabled) {\n\t this.mediaControlDisabled = false;\n\t this.trigger(_events2.default.CONTAINER_MEDIACONTROL_ENABLE);\n\t }\n\t };\n\t\n\t Container.prototype.updateStyle = function updateStyle() {\n\t if (!this.options.chromeless || this.options.allowUserInteraction) {\n\t this.$el.removeClass('chromeless');\n\t } else {\n\t this.$el.addClass('chromeless');\n\t }\n\t };\n\t\n\t /**\n\t * enables to configure the container after its creation\n\t * @method configure\n\t * @param {Object} options all the options to change in form of a javascript object\n\t */\n\t\n\t\n\t Container.prototype.configure = function configure(options) {\n\t this.options = _clapprZepto2.default.extend(this.options, options);\n\t this.updateStyle();\n\t this.trigger(_events2.default.CONTAINER_OPTIONS_CHANGE);\n\t };\n\t\n\t Container.prototype.render = function render() {\n\t var s = _styler2.default.getStyleFor(_style2.default);\n\t this.$el.append(s);\n\t this.$el.append(this.playback.render().el);\n\t this.updateStyle();\n\t return this;\n\t };\n\t\n\t return Container;\n\t}(_ui_object2.default);\n\n\texports.default = Container;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 89 */\n/*!***************************************************************!*\\\n !*** ./src/components/container_factory/container_factory.js ***!\n \\***************************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _base_object = __webpack_require__(/*! base/base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _container = __webpack_require__(/*! components/container */ 33);\n\t\n\tvar _container2 = _interopRequireDefault(_container);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.find */ 14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * The ContainerFactory is responsible for manage playback bootstrap and create containers.\n\t */\n\t\n\tvar ContainerFactory = function (_BaseObject) {\n\t _inherits(ContainerFactory, _BaseObject);\n\t\n\t function ContainerFactory(options, loader) {\n\t _classCallCheck(this, ContainerFactory);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this, options));\n\t\n\t _this.options = options;\n\t _this.loader = loader;\n\t return _this;\n\t }\n\t\n\t ContainerFactory.prototype.createContainers = function createContainers() {\n\t var _this2 = this;\n\t\n\t return _clapprZepto2.default.Deferred(function (promise) {\n\t promise.resolve(_this2.options.sources.map(function (source) {\n\t return _this2.createContainer(source);\n\t }));\n\t });\n\t };\n\t\n\t ContainerFactory.prototype.findPlaybackPlugin = function findPlaybackPlugin(source, mimeType) {\n\t return (0, _lodash2.default)(this.loader.playbackPlugins, function (p) {\n\t return p.canPlay(source, mimeType);\n\t });\n\t };\n\t\n\t ContainerFactory.prototype.createContainer = function createContainer(source) {\n\t var resolvedSource = null;\n\t var mimeType = this.options.mimeType;\n\t if (typeof source === \"string\" || source instanceof String) {\n\t resolvedSource = source.toString();\n\t } else {\n\t resolvedSource = source.source.toString();\n\t if (source.mimeType) {\n\t mimeType = source.mimeType;\n\t }\n\t }\n\t\n\t if (!!resolvedSource.match(/^\\/\\//)) resolvedSource = window.location.protocol + resolvedSource;\n\t\n\t var options = _clapprZepto2.default.extend({}, this.options, {\n\t src: resolvedSource,\n\t mimeType: mimeType\n\t });\n\t var playbackPlugin = this.findPlaybackPlugin(resolvedSource, mimeType);\n\t var playback = new playbackPlugin(options);\n\t\n\t options = _clapprZepto2.default.extend(options, { playback: playback });\n\t\n\t var container = new _container2.default(options);\n\t var defer = _clapprZepto2.default.Deferred();\n\t defer.promise(container);\n\t this.addContainerPlugins(container, resolvedSource);\n\t this.listenToOnce(container, _events2.default.CONTAINER_READY, function () {\n\t return defer.resolve(container);\n\t });\n\t return container;\n\t };\n\t\n\t ContainerFactory.prototype.addContainerPlugins = function addContainerPlugins(container, source) {\n\t this.loader.containerPlugins.forEach(function (Plugin) {\n\t container.addPlugin(new Plugin(container));\n\t });\n\t };\n\t\n\t return ContainerFactory;\n\t}(_base_object2.default);\n\n\texports.default = ContainerFactory;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 90 */\n/*!***************************************************!*\\\n !*** ./src/components/container_factory/index.js ***!\n \\***************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./container_factory */ 89);\n\n/***/ },\n/* 91 */\n/*!*************************************!*\\\n !*** ./src/components/core/core.js ***!\n \\*************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! base/utils */ 2);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _styler = __webpack_require__(/*! base/styler */ 8);\n\t\n\tvar _styler2 = _interopRequireDefault(_styler);\n\t\n\tvar _ui_object = __webpack_require__(/*! base/ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _container_factory = __webpack_require__(/*! components/container_factory */ 90);\n\t\n\tvar _container_factory2 = _interopRequireDefault(_container_factory);\n\t\n\tvar _media_control = __webpack_require__(/*! components/media_control */ 36);\n\t\n\tvar _media_control2 = _interopRequireDefault(_media_control);\n\t\n\tvar _mediator = __webpack_require__(/*! components/mediator */ 16);\n\t\n\tvar _mediator2 = _interopRequireDefault(_mediator);\n\t\n\tvar _player_info = __webpack_require__(/*! components/player_info */ 21);\n\t\n\tvar _player_info2 = _interopRequireDefault(_player_info);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.find */ 14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _style = __webpack_require__(/*! ./public/style.scss */ 127);\n\t\n\tvar _style2 = _interopRequireDefault(_style);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * The Core is responsible to manage Containers, the mediator, MediaControl\n\t * and the player state.\n\t * @class Core\n\t * @constructor\n\t * @extends UIObject\n\t * @module components\n\t */\n\t\n\tvar Core = function (_UIObject) {\n\t _inherits(Core, _UIObject);\n\t\n\t _createClass(Core, [{\n\t key: 'events',\n\t get: function get() {\n\t return {\n\t 'webkitfullscreenchange': 'handleFullscreenChange',\n\t 'mousemove': 'showMediaControl',\n\t 'mouseleave': 'hideMediaControl'\n\t };\n\t }\n\t }, {\n\t key: 'attributes',\n\t get: function get() {\n\t return {\n\t 'data-player': '',\n\t tabindex: 9999\n\t };\n\t }\n\t\n\t /**\n\t * checks if the core is ready.\n\t * @property isReady\n\t * @type {Boolean} `true` if the core is ready, otherwise `false`\n\t */\n\t\n\t }, {\n\t key: 'isReady',\n\t get: function get() {\n\t return !!this.ready;\n\t }\n\t }]);\n\t\n\t function Core(options) {\n\t _classCallCheck(this, Core);\n\t\n\t var _this = _possibleConstructorReturn(this, _UIObject.call(this, options));\n\t\n\t _this.playerInfo = _player_info2.default.getInstance(options.playerId);\n\t _this.options = options;\n\t _this.plugins = [];\n\t _this.containers = [];\n\t _this.setupMediaControl(null);\n\t //FIXME fullscreen api sucks\n\t _this._boundFullscreenHandler = function () {\n\t return _this.handleFullscreenChange();\n\t };\n\t (0, _clapprZepto2.default)(document).bind('fullscreenchange', _this._boundFullscreenHandler);\n\t (0, _clapprZepto2.default)(document).bind('MSFullscreenChange', _this._boundFullscreenHandler);\n\t (0, _clapprZepto2.default)(document).bind('mozfullscreenchange', _this._boundFullscreenHandler);\n\t return _this;\n\t }\n\t\n\t Core.prototype.createContainers = function createContainers(options) {\n\t var _this2 = this;\n\t\n\t this.defer = _clapprZepto2.default.Deferred();\n\t this.defer.promise(this);\n\t this.containerFactory = new _container_factory2.default(options, options.loader);\n\t this.containerFactory.createContainers().then(function (containers) {\n\t return _this2.setupContainers(containers);\n\t }).then(function (containers) {\n\t return _this2.resolveOnContainersReady(containers);\n\t });\n\t };\n\t\n\t Core.prototype.updateSize = function updateSize() {\n\t if (_utils.Fullscreen.isFullscreen()) {\n\t this.setFullscreen();\n\t } else {\n\t this.setPlayerSize();\n\t }\n\t _mediator2.default.trigger(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerInfo.currentSize);\n\t };\n\t\n\t Core.prototype.setFullscreen = function setFullscreen() {\n\t if (!_browser2.default.isiOS) {\n\t this.$el.addClass('fullscreen');\n\t this.$el.removeAttr('style');\n\t this.playerInfo.previousSize = { width: this.options.width, height: this.options.height };\n\t this.playerInfo.currentSize = { width: (0, _clapprZepto2.default)(window).width(), height: (0, _clapprZepto2.default)(window).height() };\n\t }\n\t };\n\t\n\t Core.prototype.setPlayerSize = function setPlayerSize() {\n\t this.$el.removeClass('fullscreen');\n\t this.playerInfo.currentSize = this.playerInfo.previousSize;\n\t this.playerInfo.previousSize = { width: (0, _clapprZepto2.default)(window).width(), height: (0, _clapprZepto2.default)(window).height() };\n\t this.resize(this.playerInfo.currentSize);\n\t };\n\t\n\t Core.prototype.resize = function resize(options) {\n\t if (!(0, _utils.isNumber)(options.height) && !(0, _utils.isNumber)(options.width)) {\n\t this.el.style.height = '' + options.height;\n\t this.el.style.width = '' + options.width;\n\t } else {\n\t this.el.style.height = options.height + 'px';\n\t this.el.style.width = options.width + 'px';\n\t }\n\t this.playerInfo.previousSize = { width: this.options.width, height: this.options.height };\n\t this.options.width = options.width;\n\t this.options.height = options.height;\n\t this.playerInfo.currentSize = options;\n\t _mediator2.default.trigger(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerInfo.currentSize);\n\t };\n\t\n\t Core.prototype.enableResizeObserver = function enableResizeObserver() {\n\t var _this3 = this;\n\t\n\t var checkSizeCallback = function checkSizeCallback() {\n\t if (_this3.playerInfo.computedSize.width != _this3.el.clientWidth || _this3.playerInfo.computedSize.height != _this3.el.clientHeight) {\n\t _this3.playerInfo.computedSize = { width: _this3.el.clientWidth, height: _this3.el.clientHeight };\n\t _mediator2.default.trigger(_this3.options.playerId + ':' + _events2.default.PLAYER_RESIZE, _this3.playerInfo.computedSize);\n\t }\n\t };\n\t this.resizeObserverInterval = setInterval(checkSizeCallback, 500);\n\t };\n\t\n\t Core.prototype.disableResizeObserver = function disableResizeObserver() {\n\t if (this.resizeObserverInterval) clearInterval(this.resizeObserverInterval);\n\t };\n\t\n\t Core.prototype.resolveOnContainersReady = function resolveOnContainersReady(containers) {\n\t var _this4 = this;\n\t\n\t _clapprZepto2.default.when.apply(_clapprZepto2.default, containers).done(function () {\n\t _this4.defer.resolve(_this4);\n\t _this4.ready = true;\n\t _this4.trigger(_events2.default.CORE_READY);\n\t });\n\t };\n\t\n\t Core.prototype.addPlugin = function addPlugin(plugin) {\n\t this.plugins.push(plugin);\n\t };\n\t\n\t Core.prototype.hasPlugin = function hasPlugin(name) {\n\t return !!this.getPlugin(name);\n\t };\n\t\n\t Core.prototype.getPlugin = function getPlugin(name) {\n\t return (0, _lodash2.default)(this.plugins, function (plugin) {\n\t return plugin.name === name;\n\t });\n\t };\n\t\n\t Core.prototype.load = function load(sources, mimeType) {\n\t var _this5 = this;\n\t\n\t this.options.mimeType = mimeType;\n\t sources = sources && sources.constructor === Array ? sources : [sources.toString()];\n\t this.containers.forEach(function (container) {\n\t return container.destroy();\n\t });\n\t this.mediaControl.container = null;\n\t this.containerFactory.options = _clapprZepto2.default.extend(this.options, { sources: sources });\n\t this.containerFactory.createContainers().then(function (containers) {\n\t _this5.setupContainers(containers);\n\t });\n\t };\n\t\n\t Core.prototype.destroy = function destroy() {\n\t this.disableResizeObserver();\n\t this.containers.forEach(function (container) {\n\t return container.destroy();\n\t });\n\t this.plugins.forEach(function (plugin) {\n\t return plugin.destroy();\n\t });\n\t this.$el.remove();\n\t this.mediaControl.destroy();\n\t (0, _clapprZepto2.default)(document).unbind('fullscreenchange', this._boundFullscreenHandler);\n\t (0, _clapprZepto2.default)(document).unbind('MSFullscreenChange', this._boundFullscreenHandler);\n\t (0, _clapprZepto2.default)(document).unbind('mozfullscreenchange', this._boundFullscreenHandler);\n\t };\n\t\n\t Core.prototype.handleFullscreenChange = function handleFullscreenChange() {\n\t this.trigger(_events2.default.CORE_FULLSCREEN, _utils.Fullscreen.isFullscreen());\n\t this.updateSize();\n\t this.mediaControl.show();\n\t };\n\t\n\t Core.prototype.setMediaControlContainer = function setMediaControlContainer(container) {\n\t this.mediaControl.setContainer(container);\n\t this.mediaControl.render();\n\t };\n\t\n\t Core.prototype.disableMediaControl = function disableMediaControl() {\n\t this.mediaControl.disable();\n\t this.$el.removeClass('nocursor');\n\t };\n\t\n\t Core.prototype.enableMediaControl = function enableMediaControl() {\n\t this.mediaControl.enable();\n\t };\n\t\n\t Core.prototype.removeContainer = function removeContainer(container) {\n\t this.stopListening(container);\n\t this.containers = this.containers.filter(function (c) {\n\t return c !== container;\n\t });\n\t };\n\t\n\t Core.prototype.appendContainer = function appendContainer(container) {\n\t this.listenTo(container, _events2.default.CONTAINER_DESTROYED, this.removeContainer);\n\t this.containers.push(container);\n\t };\n\t\n\t Core.prototype.setupContainers = function setupContainers(containers) {\n\t containers.map(this.appendContainer.bind(this));\n\t this.trigger(_events2.default.CORE_CONTAINERS_CREATED);\n\t this.renderContainers();\n\t this.setupMediaControl(this.getCurrentContainer());\n\t this.render();\n\t this.$el.appendTo(this.options.parentElement);\n\t return this.containers;\n\t };\n\t\n\t Core.prototype.renderContainers = function renderContainers() {\n\t var _this6 = this;\n\t\n\t this.containers.map(function (container) {\n\t return _this6.el.appendChild(container.render().el);\n\t });\n\t };\n\t\n\t Core.prototype.createContainer = function createContainer(source, options) {\n\t var container = this.containerFactory.createContainer(source, options);\n\t this.appendContainer(container);\n\t this.el.appendChild(container.render().el);\n\t return container;\n\t };\n\t\n\t Core.prototype.setupMediaControl = function setupMediaControl(container) {\n\t if (this.mediaControl) {\n\t this.mediaControl.setContainer(container);\n\t } else {\n\t this.mediaControl = this.createMediaControl(_clapprZepto2.default.extend({ container: container, focusElement: this.el }, this.options));\n\t this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_FULLSCREEN, this.toggleFullscreen);\n\t this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_SHOW, this.onMediaControlShow.bind(this, true));\n\t this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_HIDE, this.onMediaControlShow.bind(this, false));\n\t }\n\t };\n\t\n\t Core.prototype.createMediaControl = function createMediaControl(options) {\n\t if (options.mediacontrol && options.mediacontrol.external) {\n\t return new options.mediacontrol.external(options);\n\t } else {\n\t return new _media_control2.default(options).render();\n\t }\n\t };\n\t\n\t Core.prototype.getCurrentContainer = function getCurrentContainer() {\n\t if (!this.mediaControl || !this.mediaControl.container) {\n\t return this.containers[0];\n\t }\n\t return this.mediaControl.container;\n\t };\n\t\n\t Core.prototype.getCurrentPlayback = function getCurrentPlayback() {\n\t var container = this.getCurrentContainer();\n\t return container && container.playback;\n\t };\n\t\n\t Core.prototype.getPlaybackType = function getPlaybackType() {\n\t var container = this.getCurrentContainer();\n\t return container && container.getPlaybackType();\n\t };\n\t\n\t Core.prototype.toggleFullscreen = function toggleFullscreen() {\n\t if (!_utils.Fullscreen.isFullscreen()) {\n\t _utils.Fullscreen.requestFullscreen(this.el);\n\t if (!_browser2.default.isiOS) {\n\t this.$el.addClass('fullscreen');\n\t }\n\t } else {\n\t _utils.Fullscreen.cancelFullscreen();\n\t if (!_browser2.default.isiOS) {\n\t this.$el.removeClass('fullscreen nocursor');\n\t }\n\t }\n\t this.mediaControl.show();\n\t };\n\t\n\t Core.prototype.showMediaControl = function showMediaControl(event) {\n\t this.mediaControl.show(event);\n\t };\n\t\n\t Core.prototype.hideMediaControl = function hideMediaControl(event) {\n\t this.mediaControl.hide(this.options.hideMediaControlDelay);\n\t };\n\t\n\t Core.prototype.onMediaControlShow = function onMediaControlShow(showing) {\n\t this.getCurrentContainer().trigger(showing ? _events2.default.CONTAINER_MEDIACONTROL_SHOW : _events2.default.CONTAINER_MEDIACONTROL_HIDE);\n\t\n\t if (showing) this.$el.removeClass('nocursor');else if (_utils.Fullscreen.isFullscreen()) this.$el.addClass('nocursor');\n\t };\n\t\n\t /**\n\t * enables to configure the container after its creation\n\t * @method configure\n\t * @param {Object} options all the options to change in form of a javascript object\n\t */\n\t\n\t\n\t Core.prototype.configure = function configure(options) {\n\t var _this7 = this;\n\t\n\t this.options = _clapprZepto2.default.extend(this.options, options);\n\t var sources = options.source || options.sources;\n\t\n\t if (sources) {\n\t this.load(sources, options.mimeType || this.options.mimeType);\n\t } else {\n\t this.trigger(_events2.default.CORE_OPTIONS_CHANGE);\n\t\n\t this.containers.forEach(function (container) {\n\t container.configure(_this7.options);\n\t });\n\t }\n\t };\n\t\n\t Core.prototype.render = function render() {\n\t var style = _styler2.default.getStyleFor(_style2.default);\n\t this.$el.append(style);\n\t this.$el.append(this.mediaControl.render().el);\n\t\n\t this.options.width = this.options.width || this.$el.width();\n\t this.options.height = this.options.height || this.$el.height();\n\t var size = { width: this.options.width, height: this.options.height };\n\t this.playerInfo.previousSize = this.playerInfo.currentSize = this.playerInfo.computedSize = size;\n\t this.updateSize();\n\t\n\t this.previousSize = { width: this.$el.width(), height: this.$el.height() };\n\t\n\t this.enableResizeObserver();\n\t\n\t return this;\n\t };\n\t\n\t return Core;\n\t}(_ui_object2.default);\n\n\texports.default = Core;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 92 */\n/*!*****************************************************!*\\\n !*** ./src/components/core_factory/core_factory.js ***!\n \\*****************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _base_object = __webpack_require__(/*! base/base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tvar _core = __webpack_require__(/*! components/core */ 34);\n\t\n\tvar _core2 = _interopRequireDefault(_core);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * The Core Factory is responsible for instantiate the core and it's plugins.\n\t * @class CoreFactory\n\t * @constructor\n\t * @extends BaseObject\n\t * @module components\n\t */\n\t\n\tvar CoreFactory = function (_BaseObject) {\n\t _inherits(CoreFactory, _BaseObject);\n\t\n\t _createClass(CoreFactory, [{\n\t key: 'loader',\n\t get: function get() {\n\t return this.player.loader;\n\t }\n\t\n\t /**\n\t * it builds the core factory\n\t * @method constructor\n\t * @param {Player} player the player object\n\t * @param {Loader} loader the loader object\n\t */\n\t\n\t }]);\n\t\n\t function CoreFactory(player, loader) {\n\t _classCallCheck(this, CoreFactory);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this));\n\t\n\t _this.player = player;\n\t _this.options = player.options;\n\t return _this;\n\t }\n\t\n\t /**\n\t * creates a core and its plugins\n\t * @method create\n\t * @return {Core} created core\n\t */\n\t\n\t\n\t CoreFactory.prototype.create = function create() {\n\t this.options.loader = this.loader;\n\t this.core = new _core2.default(this.options);\n\t this.addCorePlugins();\n\t this.core.createContainers(this.options);\n\t return this.core;\n\t };\n\t\n\t /**\n\t * given the core plugins (`loader.corePlugins`) it builds each one\n\t * @method addCorePlugins\n\t * @return {Core} the core with all plugins\n\t */\n\t\n\t\n\t CoreFactory.prototype.addCorePlugins = function addCorePlugins() {\n\t var _this2 = this;\n\t\n\t this.loader.corePlugins.forEach(function (Plugin) {\n\t var plugin = new Plugin(_this2.core);\n\t _this2.core.addPlugin(plugin);\n\t _this2.setupExternalInterface(plugin);\n\t });\n\t return this.core;\n\t };\n\t\n\t CoreFactory.prototype.setupExternalInterface = function setupExternalInterface(plugin) {\n\t var externalFunctions = plugin.getExternalInterface();\n\t for (var key in externalFunctions) {\n\t this.player[key] = externalFunctions[key].bind(plugin);\n\t }\n\t };\n\t\n\t return CoreFactory;\n\t}(_base_object2.default);\n\n\texports.default = CoreFactory;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 93 */\n/*!**********************************************!*\\\n !*** ./src/components/core_factory/index.js ***!\n \\**********************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(/*! ./core_factory */ 92);\n\n/***/ },\n/* 94 */\n/*!*****************************************!*\\\n !*** ./src/components/loader/loader.js ***!\n \\*****************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _base_object = __webpack_require__(/*! base/base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tvar _player_info = __webpack_require__(/*! components/player_info */ 21);\n\t\n\tvar _player_info2 = _interopRequireDefault(_player_info);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.uniqby */ 86);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _html5_video = __webpack_require__(/*! playbacks/html5_video */ 22);\n\t\n\tvar _html5_video2 = _interopRequireDefault(_html5_video);\n\t\n\tvar _flash = __webpack_require__(/*! playbacks/flash */ 37);\n\t\n\tvar _flash2 = _interopRequireDefault(_flash);\n\t\n\tvar _html5_audio = __webpack_require__(/*! playbacks/html5_audio */ 40);\n\t\n\tvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\t\n\tvar _flashls = __webpack_require__(/*! playbacks/flashls */ 38);\n\t\n\tvar _flashls2 = _interopRequireDefault(_flashls);\n\t\n\tvar _hls = __webpack_require__(/*! playbacks/hls */ 39);\n\t\n\tvar _hls2 = _interopRequireDefault(_hls);\n\t\n\tvar _html_img = __webpack_require__(/*! playbacks/html_img */ 41);\n\t\n\tvar _html_img2 = _interopRequireDefault(_html_img);\n\t\n\tvar _no_op = __webpack_require__(/*! playbacks/no_op */ 42);\n\t\n\tvar _no_op2 = _interopRequireDefault(_no_op);\n\t\n\tvar _spinner_three_bounce = __webpack_require__(/*! plugins/spinner_three_bounce */ 120);\n\t\n\tvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\t\n\tvar _stats = __webpack_require__(/*! plugins/stats */ 122);\n\t\n\tvar _stats2 = _interopRequireDefault(_stats);\n\t\n\tvar _watermark = __webpack_require__(/*! plugins/watermark */ 124);\n\t\n\tvar _watermark2 = _interopRequireDefault(_watermark);\n\t\n\tvar _poster = __webpack_require__(/*! plugins/poster */ 43);\n\t\n\tvar _poster2 = _interopRequireDefault(_poster);\n\t\n\tvar _google_analytics = __webpack_require__(/*! plugins/google_analytics */ 114);\n\t\n\tvar _google_analytics2 = _interopRequireDefault(_google_analytics);\n\t\n\tvar _click_to_pause = __webpack_require__(/*! plugins/click_to_pause */ 107);\n\t\n\tvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\t\n\tvar _dvr_controls = __webpack_require__(/*! plugins/dvr_controls */ 109);\n\t\n\tvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\t\n\tvar _favicon = __webpack_require__(/*! plugins/favicon */ 112);\n\t\n\tvar _favicon2 = _interopRequireDefault(_favicon);\n\t\n\tvar _seek_time = __webpack_require__(/*! plugins/seek_time */ 117);\n\t\n\tvar _seek_time2 = _interopRequireDefault(_seek_time);\n\t\n\tvar _sources = __webpack_require__(/*! plugins/sources */ 119);\n\t\n\tvar _sources2 = _interopRequireDefault(_sources);\n\t\n\tvar _end_video = __webpack_require__(/*! plugins/end_video */ 110);\n\t\n\tvar _end_video2 = _interopRequireDefault(_end_video);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/* Playback Plugins */\n\t\n\t\n\t/* Container Plugins */\n\t\n\t\n\t/* Core Plugins */\n\t\n\t\n\t/**\n\t * It keeps a list of the default plugins (playback, container, core) and it merges external plugins with its internals.\n\t * @class Loader\n\t * @constructor\n\t * @extends BaseObject\n\t * @module components\n\t */\n\t\n\tvar Loader = function (_BaseObject) {\n\t _inherits(Loader, _BaseObject);\n\t\n\t /**\n\t * builds the loader\n\t * @method constructor\n\t * @param {Object} externalPlugins the external plugins\n\t * @param {Number} playerId you can embed multiple instances of clappr, therefore this is the unique id of each one.\n\t */\n\t\n\t function Loader(externalPlugins, playerId) {\n\t _classCallCheck(this, Loader);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this));\n\t\n\t _this.playerId = playerId;\n\t _this.playbackPlugins = [_html5_video2.default, _html5_audio2.default, _flash2.default, _hls2.default, _flashls2.default, _html_img2.default, _no_op2.default];\n\t _this.containerPlugins = [_spinner_three_bounce2.default, _watermark2.default, _poster2.default, _stats2.default, _google_analytics2.default, _click_to_pause2.default];\n\t _this.corePlugins = [_dvr_controls2.default, _favicon2.default, _seek_time2.default, _sources2.default, _end_video2.default];\n\t if (externalPlugins) {\n\t if (!Array.isArray(externalPlugins)) {\n\t _this.validateExternalPluginsType(externalPlugins);\n\t }\n\t _this.addExternalPlugins(externalPlugins);\n\t }\n\t return _this;\n\t }\n\t\n\t /**\n\t * groups by type the external plugins that were passed through `options.plugins` it they're on a flat array\n\t * @method addExternalPlugins\n\t * @private\n\t * @param {Object} an config object or an array of plugins\n\t * @return {Object} plugins the config object with the plugins separated by type\n\t */\n\t\n\t\n\t Loader.prototype.groupPluginsByType = function groupPluginsByType(plugins) {\n\t if (Array.isArray(plugins)) {\n\t plugins = plugins.reduce(function (memo, plugin) {\n\t memo[plugin.type] || (memo[plugin.type] = []);\n\t memo[plugin.type].push(plugin);\n\t return memo;\n\t }, {});\n\t }\n\t return plugins;\n\t };\n\t\n\t /**\n\t * adds all the external plugins that were passed through `options.plugins`\n\t * @method addExternalPlugins\n\t * @private\n\t * @param {Object} plugins the config object with all plugins\n\t */\n\t\n\t\n\t Loader.prototype.addExternalPlugins = function addExternalPlugins(plugins) {\n\t plugins = this.groupPluginsByType(plugins);\n\t var pluginName = function pluginName(plugin) {\n\t return plugin.prototype.name;\n\t };\n\t if (plugins.playback) {\n\t this.playbackPlugins = (0, _lodash2.default)(plugins.playback.concat(this.playbackPlugins), pluginName);\n\t }\n\t if (plugins.container) {\n\t this.containerPlugins = (0, _lodash2.default)(plugins.container.concat(this.containerPlugins), pluginName);\n\t }\n\t if (plugins.core) {\n\t this.corePlugins = (0, _lodash2.default)(plugins.core.concat(this.corePlugins), pluginName);\n\t }\n\t _player_info2.default.getInstance(this.playerId).playbackPlugins = this.playbackPlugins;\n\t };\n\t\n\t /**\n\t * validate if the external plugins that were passed through `options.plugins` are associated to the correct type\n\t * @method validateExternalPluginsType\n\t * @private\n\t * @param {Object} plugins the config object with all plugins\n\t */\n\t\n\t\n\t Loader.prototype.validateExternalPluginsType = function validateExternalPluginsType(plugins) {\n\t var plugintypes = [\"playback\", \"container\", \"core\"];\n\t plugintypes.forEach(function (type) {\n\t (plugins[type] || []).forEach(function (el) {\n\t var errorMessage = \"external \" + el.type + \" plugin on \" + type + \" array\";\n\t if (el.type !== type) {\n\t throw new ReferenceError(errorMessage);\n\t }\n\t });\n\t });\n\t };\n\t\n\t return Loader;\n\t}(_base_object2.default);\n\n\texports.default = Loader;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 95 */\n/*!*******************************************************!*\\\n !*** ./src/components/media_control/media_control.js ***!\n \\*******************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! base/utils */ 2);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _kibo = __webpack_require__(/*! base/kibo */ 32);\n\t\n\tvar _kibo2 = _interopRequireDefault(_kibo);\n\t\n\tvar _styler = __webpack_require__(/*! base/styler */ 8);\n\t\n\tvar _styler2 = _interopRequireDefault(_styler);\n\t\n\tvar _ui_object = __webpack_require__(/*! base/ui_object */ 15);\n\t\n\tvar _ui_object2 = _interopRequireDefault(_ui_object);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _mediator = __webpack_require__(/*! components/mediator */ 16);\n\t\n\tvar _mediator2 = _interopRequireDefault(_mediator);\n\t\n\tvar _template = __webpack_require__(/*! base/template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _mediaControl = __webpack_require__(/*! ./public/media-control.scss */ 128);\n\t\n\tvar _mediaControl2 = _interopRequireDefault(_mediaControl);\n\t\n\tvar _mediaControl3 = __webpack_require__(/*! ./public/media-control.html */ 138);\n\t\n\tvar _mediaControl4 = _interopRequireDefault(_mediaControl3);\n\t\n\tvar _play = __webpack_require__(/*! icons/01-play.svg */ 44);\n\t\n\tvar _play2 = _interopRequireDefault(_play);\n\t\n\tvar _pause = __webpack_require__(/*! icons/02-pause.svg */ 147);\n\t\n\tvar _pause2 = _interopRequireDefault(_pause);\n\t\n\tvar _stop = __webpack_require__(/*! icons/03-stop.svg */ 148);\n\t\n\tvar _stop2 = _interopRequireDefault(_stop);\n\t\n\tvar _volume = __webpack_require__(/*! icons/04-volume.svg */ 149);\n\t\n\tvar _volume2 = _interopRequireDefault(_volume);\n\t\n\tvar _mute = __webpack_require__(/*! icons/05-mute.svg */ 150);\n\t\n\tvar _mute2 = _interopRequireDefault(_mute);\n\t\n\tvar _expand = __webpack_require__(/*! icons/06-expand.svg */ 151);\n\t\n\tvar _expand2 = _interopRequireDefault(_expand);\n\t\n\tvar _shrink = __webpack_require__(/*! icons/07-shrink.svg */ 152);\n\t\n\tvar _shrink2 = _interopRequireDefault(_shrink);\n\t\n\tvar _hd = __webpack_require__(/*! icons/08-hd.svg */ 153);\n\t\n\tvar _hd2 = _interopRequireDefault(_hd);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\t/**\n\t * The MediaControl is responsible for displaying the Player controls.\n\t */\n\t\n\tvar MediaControl = function (_UIObject) {\n\t _inherits(MediaControl, _UIObject);\n\t\n\t _createClass(MediaControl, [{\n\t key: 'name',\n\t get: function get() {\n\t return 'MediaControl';\n\t }\n\t }, {\n\t key: 'attributes',\n\t get: function get() {\n\t return {\n\t 'class': 'media-control',\n\t 'data-media-control': ''\n\t };\n\t }\n\t }, {\n\t key: 'events',\n\t get: function get() {\n\t return {\n\t 'click [data-play]': 'play',\n\t 'click [data-pause]': 'pause',\n\t 'click [data-playpause]': 'togglePlayPause',\n\t 'click [data-stop]': 'stop',\n\t 'click [data-playstop]': 'togglePlayStop',\n\t 'click [data-fullscreen]': 'toggleFullscreen',\n\t 'click .bar-container[data-seekbar]': 'seek',\n\t 'click .bar-container[data-volume]': 'onVolumeClick',\n\t 'click .drawer-icon[data-volume]': 'toggleMute',\n\t 'mouseenter .drawer-container[data-volume]': 'showVolumeBar',\n\t 'mouseleave .drawer-container[data-volume]': 'hideVolumeBar',\n\t 'mousedown .bar-container[data-volume]': 'startVolumeDrag',\n\t 'mousemove .bar-container[data-volume]': 'mousemoveOnVolumeBar',\n\t 'mousedown .bar-scrubber[data-seekbar]': 'startSeekDrag',\n\t 'mousemove .bar-container[data-seekbar]': 'mousemoveOnSeekBar',\n\t 'mouseleave .bar-container[data-seekbar]': 'mouseleaveOnSeekBar',\n\t 'mouseenter .media-control-layer[data-controls]': 'setUserKeepVisible',\n\t 'mouseleave .media-control-layer[data-controls]': 'resetUserKeepVisible'\n\t };\n\t }\n\t }, {\n\t key: 'template',\n\t get: function get() {\n\t return (0, _template2.default)(_mediaControl4.default);\n\t }\n\t }, {\n\t key: 'stylesheet',\n\t get: function get() {\n\t return _styler2.default.getStyleFor(_mediaControl2.default, { baseUrl: this.options.baseUrl });\n\t }\n\t }, {\n\t key: 'volume',\n\t get: function get() {\n\t return this.container && this.container.isReady ? this.container.volume : this.intendedVolume;\n\t }\n\t }, {\n\t key: 'muted',\n\t get: function get() {\n\t return this.volume === 0;\n\t }\n\t }]);\n\t\n\t function MediaControl(options) {\n\t _classCallCheck(this, MediaControl);\n\t\n\t var _this = _possibleConstructorReturn(this, _UIObject.call(this, options));\n\t\n\t _this.options = options;\n\t _this.persistConfig = _this.options.persistConfig;\n\t _this.container = options.container;\n\t _this.currentPositionValue = null;\n\t _this.currentDurationValue = null;\n\t var initialVolume = _this.persistConfig ? _utils.Config.restore(\"volume\") : 100;\n\t _this.setVolume(_this.options.mute ? 0 : initialVolume);\n\t _this.keepVisible = false;\n\t _this.addEventListeners();\n\t _this.settings = {\n\t left: ['play', 'stop', 'pause'],\n\t right: ['volume'],\n\t default: ['position', 'seekbar', 'duration']\n\t };\n\t\n\t if (_this.container) {\n\t if (!_clapprZepto2.default.isEmptyObject(_this.container.settings)) {\n\t _this.settings = _clapprZepto2.default.extend({}, _this.container.settings);\n\t }\n\t } else {\n\t _this.settings = {};\n\t }\n\t\n\t _this.disabled = false;\n\t if (_this.container && _this.container.mediaControlDisabled || _this.options.chromeless) {\n\t _this.disable();\n\t }\n\t _this.stopDragHandler = function (event) {\n\t return _this.stopDrag(event);\n\t };\n\t _this.updateDragHandler = function (event) {\n\t return _this.updateDrag(event);\n\t };\n\t (0, _clapprZepto2.default)(document).bind('mouseup', _this.stopDragHandler);\n\t (0, _clapprZepto2.default)(document).bind('mousemove', _this.updateDragHandler);\n\t return _this;\n\t }\n\t\n\t MediaControl.prototype.addEventListeners = function addEventListeners() {\n\t if (this.container) {\n\t _mediator2.default.on(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerResize, this);\n\t this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.changeTogglePlay);\n\t this.listenTo(this.container, _events2.default.CONTAINER_PAUSE, this.changeTogglePlay);\n\t this.listenTo(this.container, _events2.default.CONTAINER_DBLCLICK, this.toggleFullscreen);\n\t this.listenTo(this.container, _events2.default.CONTAINER_TIMEUPDATE, this.onTimeUpdate);\n\t this.listenTo(this.container, _events2.default.CONTAINER_PROGRESS, this.updateProgressBar);\n\t this.listenTo(this.container, _events2.default.CONTAINER_SETTINGSUPDATE, this.settingsUpdate);\n\t this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.settingsUpdate);\n\t this.listenTo(this.container, _events2.default.CONTAINER_HIGHDEFINITIONUPDATE, this.highDefinitionUpdate);\n\t this.listenTo(this.container, _events2.default.CONTAINER_MEDIACONTROL_DISABLE, this.disable);\n\t this.listenTo(this.container, _events2.default.CONTAINER_MEDIACONTROL_ENABLE, this.enable);\n\t this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.ended);\n\t this.listenTo(this.container, _events2.default.CONTAINER_VOLUME, this.onVolumeChanged);\n\t }\n\t };\n\t\n\t MediaControl.prototype.disable = function disable() {\n\t this.disabled = true;\n\t this.hide();\n\t this.$el.hide();\n\t };\n\t\n\t MediaControl.prototype.enable = function enable() {\n\t if (this.options.chromeless) return;\n\t this.disabled = false;\n\t this.show();\n\t };\n\t\n\t MediaControl.prototype.play = function play() {\n\t this.container.play();\n\t };\n\t\n\t MediaControl.prototype.pause = function pause() {\n\t this.container.pause();\n\t };\n\t\n\t MediaControl.prototype.stop = function stop() {\n\t this.container.stop();\n\t };\n\t\n\t MediaControl.prototype.onVolumeChanged = function onVolumeChanged() {\n\t this.updateVolumeUI();\n\t };\n\t\n\t MediaControl.prototype.updateVolumeUI = function updateVolumeUI() {\n\t if (!this.rendered) {\n\t // this will be called after a render\n\t return;\n\t }\n\t // update volume bar scrubber/fill on bar mode\n\t this.$volumeBarContainer.find('.bar-fill-2').css({});\n\t var containerWidth = this.$volumeBarContainer.width();\n\t var barWidth = this.$volumeBarBackground.width();\n\t var offset = (containerWidth - barWidth) / 2.0;\n\t var pos = barWidth * this.volume / 100.0 + offset;\n\t this.$volumeBarFill.css({ width: this.volume + '%' });\n\t this.$volumeBarScrubber.css({ left: pos });\n\t\n\t // update volume bar segments on segmented bar mode\n\t this.$volumeBarContainer.find('.segmented-bar-element').removeClass('fill');\n\t var item = Math.ceil(this.volume / 10.0);\n\t this.$volumeBarContainer.find('.segmented-bar-element').slice(0, item).addClass('fill');\n\t this.$volumeIcon.html('');\n\t this.$volumeIcon.removeClass('muted');\n\t if (!this.muted) {\n\t this.$volumeIcon.append(_volume2.default);\n\t } else {\n\t this.$volumeIcon.append(_mute2.default);\n\t this.$volumeIcon.addClass('muted');\n\t }\n\t this.applyButtonStyle(this.$volumeIcon);\n\t };\n\t\n\t MediaControl.prototype.changeTogglePlay = function changeTogglePlay() {\n\t this.$playPauseToggle.html('');\n\t this.$playStopToggle.html('');\n\t if (this.container && this.container.isPlaying()) {\n\t this.$playPauseToggle.append(_pause2.default);\n\t this.$playStopToggle.append(_stop2.default);\n\t this.trigger(_events2.default.MEDIACONTROL_PLAYING);\n\t } else {\n\t this.$playPauseToggle.append(_play2.default);\n\t this.$playStopToggle.append(_pause2.default);\n\t this.trigger(_events2.default.MEDIACONTROL_NOTPLAYING);\n\t }\n\t this.applyButtonStyle(this.$playPauseToggle);\n\t this.applyButtonStyle(this.$playStopToggle);\n\t };\n\t\n\t MediaControl.prototype.mousemoveOnSeekBar = function mousemoveOnSeekBar(event) {\n\t if (this.container.settings.seekEnabled) {\n\t var offsetX = event.pageX - this.$seekBarContainer.offset().left - this.$seekBarHover.width() / 2;\n\t this.$seekBarHover.css({ left: offsetX });\n\t }\n\t this.trigger(_events2.default.MEDIACONTROL_MOUSEMOVE_SEEKBAR, event);\n\t };\n\t\n\t MediaControl.prototype.mouseleaveOnSeekBar = function mouseleaveOnSeekBar(event) {\n\t this.trigger(_events2.default.MEDIACONTROL_MOUSELEAVE_SEEKBAR, event);\n\t };\n\t\n\t MediaControl.prototype.onVolumeClick = function onVolumeClick(event) {\n\t this.setVolume(this.getVolumeFromUIEvent(event));\n\t };\n\t\n\t MediaControl.prototype.mousemoveOnVolumeBar = function mousemoveOnVolumeBar(event) {\n\t if (this.draggingVolumeBar) {\n\t this.setVolume(this.getVolumeFromUIEvent(event));\n\t }\n\t };\n\t\n\t MediaControl.prototype.playerResize = function playerResize(size) {\n\t this.$fullscreenToggle.html('');\n\t if (_utils.Fullscreen.isFullscreen()) {\n\t this.$fullscreenToggle.append(_shrink2.default);\n\t } else {\n\t this.$fullscreenToggle.append(_expand2.default);\n\t }\n\t this.applyButtonStyle(this.$fullscreenToggle);\n\t this.$el.removeClass('w320');\n\t if (size.width <= 320 || this.options.hideVolumeBar) {\n\t this.$el.addClass('w320');\n\t }\n\t };\n\t\n\t MediaControl.prototype.togglePlayPause = function togglePlayPause() {\n\t if (this.container.isPlaying()) {\n\t this.container.pause();\n\t } else {\n\t this.container.play();\n\t }\n\t return false;\n\t };\n\t\n\t MediaControl.prototype.togglePlayStop = function togglePlayStop() {\n\t if (this.container.isPlaying()) {\n\t this.container.stop();\n\t } else {\n\t this.container.play();\n\t }\n\t };\n\t\n\t MediaControl.prototype.startSeekDrag = function startSeekDrag(event) {\n\t if (!this.container.settings.seekEnabled) return;\n\t this.draggingSeekBar = true;\n\t this.$el.addClass('dragging');\n\t this.$seekBarLoaded.addClass('media-control-notransition');\n\t this.$seekBarPosition.addClass('media-control-notransition');\n\t this.$seekBarScrubber.addClass('media-control-notransition');\n\t if (event) {\n\t event.preventDefault();\n\t }\n\t };\n\t\n\t MediaControl.prototype.startVolumeDrag = function startVolumeDrag(event) {\n\t this.draggingVolumeBar = true;\n\t this.$el.addClass('dragging');\n\t if (event) {\n\t event.preventDefault();\n\t }\n\t };\n\t\n\t MediaControl.prototype.stopDrag = function stopDrag(event) {\n\t if (this.draggingSeekBar) {\n\t this.seek(event);\n\t }\n\t this.$el.removeClass('dragging');\n\t this.$seekBarLoaded.removeClass('media-control-notransition');\n\t this.$seekBarPosition.removeClass('media-control-notransition');\n\t this.$seekBarScrubber.removeClass('media-control-notransition dragging');\n\t this.draggingSeekBar = false;\n\t this.draggingVolumeBar = false;\n\t };\n\t\n\t MediaControl.prototype.updateDrag = function updateDrag(event) {\n\t if (this.draggingSeekBar) {\n\t event.preventDefault();\n\t var offsetX = event.pageX - this.$seekBarContainer.offset().left;\n\t var pos = offsetX / this.$seekBarContainer.width() * 100;\n\t pos = Math.min(100, Math.max(pos, 0));\n\t this.setSeekPercentage(pos);\n\t } else if (this.draggingVolumeBar) {\n\t event.preventDefault();\n\t this.setVolume(this.getVolumeFromUIEvent(event));\n\t }\n\t };\n\t\n\t MediaControl.prototype.getVolumeFromUIEvent = function getVolumeFromUIEvent(event) {\n\t var offsetY = event.pageX - this.$volumeBarContainer.offset().left;\n\t var volumeFromUI = offsetY / this.$volumeBarContainer.width() * 100;\n\t return volumeFromUI;\n\t };\n\t\n\t MediaControl.prototype.toggleMute = function toggleMute() {\n\t this.setVolume(this.muted ? 100 : 0);\n\t };\n\t\n\t MediaControl.prototype.setVolume = function setVolume(value) {\n\t var _this2 = this;\n\t\n\t value = Math.min(100, Math.max(value, 0));\n\t // this will hold the intended volume\n\t // it may not actually get set to this straight away\n\t // if the container is not ready etc\n\t this.intendedVolume = value;\n\t this.persistConfig && _utils.Config.persist(\"volume\", value);\n\t var setWhenContainerReady = function setWhenContainerReady() {\n\t if (_this2.container.isReady) {\n\t _this2.container.setVolume(value);\n\t } else {\n\t _this2.listenToOnce(_this2.container, _events2.default.CONTAINER_READY, function () {\n\t _this2.container.setVolume(value);\n\t });\n\t }\n\t };\n\t\n\t if (!this.container) {\n\t this.listenToOnce(this, _events2.default.MEDIACONTROL_CONTAINERCHANGED, function () {\n\t setWhenContainerReady();\n\t });\n\t } else {\n\t setWhenContainerReady();\n\t }\n\t };\n\t\n\t MediaControl.prototype.toggleFullscreen = function toggleFullscreen() {\n\t this.trigger(_events2.default.MEDIACONTROL_FULLSCREEN, this.name);\n\t this.container.fullscreen();\n\t this.resetUserKeepVisible();\n\t };\n\t\n\t MediaControl.prototype.setContainer = function setContainer(container) {\n\t if (this.container) {\n\t this.stopListening(this.container);\n\t }\n\t _mediator2.default.off(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerResize, this);\n\t this.container = container;\n\t // set the new container to match the volume of the last one\n\t this.setVolume(this.intendedVolume);\n\t this.changeTogglePlay();\n\t this.addEventListeners();\n\t this.settingsUpdate();\n\t this.container.trigger(_events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.container.isDvrInUse());\n\t if (this.container.mediaControlDisabled) {\n\t this.disable();\n\t }\n\t this.trigger(_events2.default.MEDIACONTROL_CONTAINERCHANGED);\n\t };\n\t\n\t MediaControl.prototype.showVolumeBar = function showVolumeBar() {\n\t if (this.hideVolumeId) {\n\t clearTimeout(this.hideVolumeId);\n\t }\n\t this.$volumeBarContainer.removeClass('volume-bar-hide');\n\t };\n\t\n\t MediaControl.prototype.hideVolumeBar = function hideVolumeBar() {\n\t var _this3 = this;\n\t\n\t var timeout = arguments.length <= 0 || arguments[0] === undefined ? 400 : arguments[0];\n\t\n\t if (!this.$volumeBarContainer) return;\n\t if (this.draggingVolumeBar) {\n\t this.hideVolumeId = setTimeout(function () {\n\t return _this3.hideVolumeBar();\n\t }, timeout);\n\t } else {\n\t if (this.hideVolumeId) {\n\t clearTimeout(this.hideVolumeId);\n\t }\n\t this.hideVolumeId = setTimeout(function () {\n\t return _this3.$volumeBarContainer.addClass('volume-bar-hide');\n\t }, timeout);\n\t }\n\t };\n\t\n\t MediaControl.prototype.ended = function ended() {\n\t this.changeTogglePlay();\n\t };\n\t\n\t MediaControl.prototype.updateProgressBar = function updateProgressBar(progress) {\n\t var loadedStart = progress.start / progress.total * 100;\n\t var loadedEnd = progress.current / progress.total * 100;\n\t this.$seekBarLoaded.css({ left: loadedStart + '%', width: loadedEnd - loadedStart + '%' });\n\t };\n\t\n\t MediaControl.prototype.onTimeUpdate = function onTimeUpdate(timeProgress) {\n\t if (this.draggingSeekBar) return;\n\t // TODO why should current time ever be negative?\n\t var position = timeProgress.current < 0 ? timeProgress.total : timeProgress.current;\n\t\n\t this.currentPositionValue = position;\n\t this.currentDurationValue = timeProgress.total;\n\t this.renderSeekBar();\n\t };\n\t\n\t MediaControl.prototype.renderSeekBar = function renderSeekBar() {\n\t if (this.currentPositionValue === null || this.currentDurationValue === null) {\n\t // this will be triggered as soon as these beocome available\n\t return;\n\t }\n\t\n\t // default to 100%\n\t this.currentSeekBarPercentage = 100;\n\t if (this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrInUse()) {\n\t this.currentSeekBarPercentage = this.currentPositionValue / this.currentDurationValue * 100;\n\t }\n\t this.setSeekPercentage(this.currentSeekBarPercentage);\n\t\n\t var newPosition = (0, _utils.formatTime)(this.currentPositionValue);\n\t var newDuration = (0, _utils.formatTime)(this.currentDurationValue);\n\t if (newPosition !== this.displayedPosition) {\n\t this.$position.text(newPosition);\n\t this.displayedPosition = newPosition;\n\t }\n\t if (newDuration !== this.displayedDuration) {\n\t this.$duration.text(newDuration);\n\t this.displayedDuration = newDuration;\n\t }\n\t };\n\t\n\t MediaControl.prototype.seek = function seek(event) {\n\t if (!this.container.settings.seekEnabled) return;\n\t var offsetX = event.pageX - this.$seekBarContainer.offset().left;\n\t var pos = offsetX / this.$seekBarContainer.width() * 100;\n\t pos = Math.min(100, Math.max(pos, 0));\n\t this.container.seekPercentage(pos);\n\t this.setSeekPercentage(pos);\n\t return false;\n\t };\n\t\n\t MediaControl.prototype.setKeepVisible = function setKeepVisible() {\n\t this.keepVisible = true;\n\t };\n\t\n\t MediaControl.prototype.resetKeepVisible = function resetKeepVisible() {\n\t this.keepVisible = false;\n\t };\n\t\n\t MediaControl.prototype.setUserKeepVisible = function setUserKeepVisible() {\n\t this.userKeepVisible = true;\n\t };\n\t\n\t MediaControl.prototype.resetUserKeepVisible = function resetUserKeepVisible() {\n\t this.userKeepVisible = false;\n\t };\n\t\n\t MediaControl.prototype.isVisible = function isVisible() {\n\t return !this.$el.hasClass('media-control-hide');\n\t };\n\t\n\t MediaControl.prototype.show = function show(event) {\n\t var _this4 = this;\n\t\n\t if (this.disabled) return;\n\t var timeout = 2000;\n\t if (!event || event.clientX !== this.lastMouseX && event.clientY !== this.lastMouseY || navigator.userAgent.match(/firefox/i)) {\n\t clearTimeout(this.hideId);\n\t this.$el.show();\n\t this.trigger(_events2.default.MEDIACONTROL_SHOW, this.name);\n\t this.$el.removeClass('media-control-hide');\n\t this.hideId = setTimeout(function () {\n\t return _this4.hide();\n\t }, timeout);\n\t if (event) {\n\t this.lastMouseX = event.clientX;\n\t this.lastMouseY = event.clientY;\n\t }\n\t }\n\t };\n\t\n\t MediaControl.prototype.hide = function hide() {\n\t var _this5 = this;\n\t\n\t var delay = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\t\n\t var timeout = delay || 2000;\n\t clearTimeout(this.hideId);\n\t if (!this.isVisible() || this.options.hideMediaControl === false) return;\n\t if (delay || this.userKeepVisible || this.keepVisible || this.draggingSeekBar || this.draggingVolumeBar) {\n\t this.hideId = setTimeout(function () {\n\t return _this5.hide();\n\t }, timeout);\n\t } else {\n\t this.trigger(_events2.default.MEDIACONTROL_HIDE, this.name);\n\t this.$el.addClass('media-control-hide');\n\t this.hideVolumeBar(0);\n\t }\n\t };\n\t\n\t MediaControl.prototype.settingsUpdate = function settingsUpdate() {\n\t var settingsChanged = JSON.stringify(this.settings) !== JSON.stringify(this.container.settings);\n\t if (this.container.getPlaybackType() && settingsChanged) {\n\t this.settings = _clapprZepto2.default.extend({}, this.container.settings);\n\t this.render();\n\t }\n\t };\n\t\n\t MediaControl.prototype.highDefinitionUpdate = function highDefinitionUpdate(isHD) {\n\t var method = !!isHD ? 'addClass' : 'removeClass';\n\t this.$hdIndicator[method]('enabled');\n\t };\n\t\n\t MediaControl.prototype.createCachedElements = function createCachedElements() {\n\t var $layer = this.$el.find('.media-control-layer');\n\t this.$duration = $layer.find('.media-control-indicator[data-duration]');\n\t this.$fullscreenToggle = $layer.find('button.media-control-button[data-fullscreen]');\n\t this.$playPauseToggle = $layer.find('button.media-control-button[data-playpause]');\n\t this.$playStopToggle = $layer.find('button.media-control-button[data-playstop]');\n\t this.$position = $layer.find('.media-control-indicator[data-position]');\n\t this.$seekBarContainer = $layer.find('.bar-container[data-seekbar]');\n\t this.$seekBarHover = $layer.find('.bar-hover[data-seekbar]');\n\t this.$seekBarLoaded = $layer.find('.bar-fill-1[data-seekbar]');\n\t this.$seekBarPosition = $layer.find('.bar-fill-2[data-seekbar]');\n\t this.$seekBarScrubber = $layer.find('.bar-scrubber[data-seekbar]');\n\t this.$volumeBarContainer = $layer.find('.bar-container[data-volume]');\n\t this.$volumeContainer = $layer.find('.drawer-container[data-volume]');\n\t this.$volumeIcon = $layer.find('.drawer-icon[data-volume]');\n\t this.$volumeBarBackground = this.$el.find('.bar-background[data-volume]');\n\t this.$volumeBarFill = this.$el.find('.bar-fill-1[data-volume]');\n\t this.$volumeBarScrubber = this.$el.find('.bar-scrubber[data-volume]');\n\t this.$hdIndicator = this.$el.find('button.media-control-button[data-hd-indicator]');\n\t this.resetIndicators();\n\t this.initializeIcons();\n\t };\n\t\n\t MediaControl.prototype.resetIndicators = function resetIndicators() {\n\t this.displayedPosition = this.$position.text();\n\t this.displayedDuration = this.$duration.text();\n\t };\n\t\n\t MediaControl.prototype.initializeIcons = function initializeIcons() {\n\t var $layer = this.$el.find('.media-control-layer');\n\t $layer.find('button.media-control-button[data-play]').append(_play2.default);\n\t $layer.find('button.media-control-button[data-pause]').append(_pause2.default);\n\t $layer.find('button.media-control-button[data-stop]').append(_stop2.default);\n\t this.$playPauseToggle.append(_play2.default);\n\t this.$playStopToggle.append(_play2.default);\n\t this.$volumeIcon.append(_volume2.default);\n\t this.$fullscreenToggle.append(_expand2.default);\n\t this.$hdIndicator.append(_hd2.default);\n\t };\n\t\n\t MediaControl.prototype.setSeekPercentage = function setSeekPercentage(value) {\n\t value = Math.max(Math.min(value, 100.0), 0);\n\t if (this.displayedSeekBarPercentage === value) {\n\t // not changed since last update\n\t return;\n\t }\n\t this.displayedSeekBarPercentage = value;\n\t\n\t this.$seekBarPosition.removeClass('media-control-notransition');\n\t this.$seekBarScrubber.removeClass('media-control-notransition');\n\t this.$seekBarPosition.css({ width: value + '%' });\n\t this.$seekBarScrubber.css({ left: value + '%' });\n\t };\n\t\n\t MediaControl.prototype.seekRelative = function seekRelative(delta) {\n\t if (!this.container.settings.seekEnabled) return;\n\t var currentTime = this.container.getCurrentTime();\n\t var duration = this.container.getDuration();\n\t var position = Math.min(Math.max(currentTime + delta, 0), duration);\n\t position = Math.min(position * 100 / duration, 100);\n\t this.container.seekPercentage(position);\n\t };\n\t\n\t MediaControl.prototype.bindKeyEvents = function bindKeyEvents() {\n\t var _this6 = this;\n\t\n\t this.unbindKeyEvents();\n\t this.kibo = new _kibo2.default(this.options.focusElement);\n\t this.kibo.down(['space'], function () {\n\t return _this6.togglePlayPause();\n\t });\n\t this.kibo.down(['left'], function () {\n\t return _this6.seekRelative(-15);\n\t });\n\t this.kibo.down(['right'], function () {\n\t return _this6.seekRelative(15);\n\t });\n\t var keys = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0];\n\t keys.forEach(function (i) {\n\t _this6.kibo.down(i.toString(), function () {\n\t return _this6.container.settings.seekEnabled && _this6.container.seekPercentage(i * 10);\n\t });\n\t });\n\t };\n\t\n\t MediaControl.prototype.unbindKeyEvents = function unbindKeyEvents() {\n\t if (this.kibo) {\n\t this.kibo.off('space');\n\t this.kibo.off('left');\n\t this.kibo.off('right');\n\t this.kibo.off([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]);\n\t }\n\t };\n\t\n\t MediaControl.prototype.parseColors = function parseColors() {\n\t if (this.options.mediacontrol) {\n\t this.buttonsColor = this.options.mediacontrol.buttons;\n\t var seekbarColor = this.options.mediacontrol.seekbar;\n\t this.$el.find('.bar-fill-2[data-seekbar]').css('background-color', seekbarColor);\n\t this.$el.find('.media-control-icon svg path').css('fill', this.buttonsColor);\n\t this.$el.find('.segmented-bar-element[data-volume]').css('boxShadow', \"inset 2px 0 0 \" + this.buttonsColor);\n\t }\n\t };\n\t\n\t MediaControl.prototype.applyButtonStyle = function applyButtonStyle(element) {\n\t if (this.buttonsColor && element) {\n\t (0, _clapprZepto2.default)(element).find('svg path').css('fill', this.buttonsColor);\n\t }\n\t };\n\t\n\t MediaControl.prototype.destroy = function destroy() {\n\t this.remove();\n\t (0, _clapprZepto2.default)(document).unbind('mouseup', this.stopDragHandler);\n\t (0, _clapprZepto2.default)(document).unbind('mousemove', this.updateDragHandler);\n\t this.unbindKeyEvents();\n\t };\n\t\n\t MediaControl.prototype.render = function render() {\n\t var _this7 = this;\n\t\n\t var timeout = 1000;\n\t this.$el.html(this.template({ settings: this.settings }));\n\t this.$el.append(this.stylesheet);\n\t this.createCachedElements();\n\t this.$playPauseToggle.addClass('paused');\n\t this.$playStopToggle.addClass('stopped');\n\t\n\t this.changeTogglePlay();\n\t this.hideId = setTimeout(function () {\n\t return _this7.hide();\n\t }, timeout);\n\t if (this.disabled) {\n\t this.hide();\n\t }\n\t\n\t if (_browser2.default.isSafari && _browser2.default.isMobile) {\n\t this.$volumeContainer.css('display', 'none');\n\t }\n\t\n\t this.$seekBarPosition.addClass('media-control-notransition');\n\t this.$seekBarScrubber.addClass('media-control-notransition');\n\t\n\t var previousSeekPercentage = 0;\n\t if (this.displayedSeekBarPercentage) {\n\t previousSeekPercentage = this.displayedSeekBarPercentage;\n\t }\n\t this.displayedSeekBarPercentage = null;\n\t this.setSeekPercentage(previousSeekPercentage);\n\t\n\t process.nextTick(function () {\n\t if (!_this7.container.settings.seekEnabled) {\n\t _this7.$seekBarContainer.addClass('seek-disabled');\n\t }\n\t if (!_this7.options.disableKeyboardShortcuts) {\n\t _this7.bindKeyEvents();\n\t }\n\t _this7.playerResize({ width: _this7.options.width, height: _this7.options.height });\n\t _this7.hideVolumeBar(0);\n\t });\n\t\n\t this.parseColors();\n\t this.highDefinitionUpdate();\n\t\n\t this.rendered = true;\n\t this.updateVolumeUI();\n\t this.trigger(_events2.default.MEDIACONTROL_RENDERED);\n\t return this;\n\t };\n\t\n\t return MediaControl;\n\t}(_ui_object2.default);\n\n\texports.default = MediaControl;\n\tmodule.exports = exports['default'];\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./~/process/browser.js */ 31)))\n\n/***/ },\n/* 96 */\n/*!**********************************!*\\\n !*** ./src/components/player.js ***!\n \\**********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! base/utils */ 2);\n\t\n\tvar _base_object = __webpack_require__(/*! base/base_object */ 13);\n\t\n\tvar _base_object2 = _interopRequireDefault(_base_object);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _core_factory = __webpack_require__(/*! components/core_factory */ 93);\n\t\n\tvar _core_factory2 = _interopRequireDefault(_core_factory);\n\t\n\tvar _loader = __webpack_require__(/*! components/loader */ 35);\n\t\n\tvar _loader2 = _interopRequireDefault(_loader);\n\t\n\tvar _player_info = __webpack_require__(/*! components/player_info */ 21);\n\t\n\tvar _player_info2 = _interopRequireDefault(_player_info);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.find */ 14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar baseUrl = (0, _utils.currentScriptUrl)().replace(/\\/[^\\/]+$/, \"\");\n\t\n\t/**\n\t * @class Player\n\t * @constructor\n\t * @extends BaseObject\n\t * @module components\n\t * @example\n\t * ### Using the Player\n\t *\n\t * Add the following script on your HTML:\n\t * ```html\n\t * \n\t * \n\t * \n\t * ```\n\t * Now, create the player:\n\t * ```html\n\t * \n\t *
\n\t * \n\t * \n\t * ```\n\t */\n\t\n\tvar Player = function (_BaseObject) {\n\t _inherits(Player, _BaseObject);\n\t\n\t _createClass(Player, [{\n\t key: 'loader',\n\t set: function set(loader) {\n\t this._loader = loader;\n\t },\n\t get: function get() {\n\t return this._loader = this._loader || new _loader2.default(this.options.plugins || {}, this.options.playerId);\n\t }\n\t\n\t /**\n\t * Determine if the playback has ended.\n\t * @property ended\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'ended',\n\t get: function get() {\n\t return this.core.mediaControl.container.ended;\n\t }\n\t\n\t /**\n\t * Determine if the playback is having to buffer in order for\n\t * playback to be smooth.\n\t * (i.e if a live stream is playing smoothly, this will be false)\n\t * @property buffering\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'buffering',\n\t get: function get() {\n\t return this.core.mediaControl.container.buffering;\n\t }\n\t\n\t /*\n\t * determine if the player is ready.\n\t * @property isReady\n\t * @type {Boolean} `true` if the player is ready. ie PLAYER_READY event has fired\n\t */\n\t\n\t }, {\n\t key: 'isReady',\n\t get: function get() {\n\t return !!this.ready;\n\t }\n\t\n\t /**\n\t * ## Player's constructor\n\t *\n\t * You might pass the options object to build the player.\n\t * ```javascript\n\t * var options = {source: \"http://example.com/video.mp4\", param1: \"val1\"};\n\t * var player = new Clappr.Player(options);\n\t * ```\n\t *\n\t * @method constructor\n\t * @param {Object} options Data\n\t * options to build a player instance\n\t * @param {Number} [options.width]\n\t * player's width **default**: `640`\n\t * @param {Number} [options.height]\n\t * player's height **default**: `360`\n\t * @param {String} [options.parentId]\n\t * the id of the element on the page that the player should be inserted into\n\t * @param {Object} [options.parent]\n\t * a reference to a dom element that the player should be inserted into\n\t * @param {String} [options.source]\n\t * The media source URL, or {source: <>, mimeType: <>}\n\t * @param {Object} [options.sources]\n\t * An array of media source URL's, or an array of {source: <>, mimeType: <>}\n\t * @param {Boolean} [options.autoPlay]\n\t * automatically play after page load **default**: `false`\n\t * @param {Boolean} [options.loop]\n\t * automatically replay after it ends **default**: `false`\n\t * @param {Boolean} [options.chromeless]\n\t * player acts in chromeless mode **default**: `false`\n\t * @param {Boolean} [options.allowUserInteraction]\n\t * whether or not the player should handle click events when in chromeless mode **default**: `false` on desktops browsers, `true` on mobile.\n\t * @param {Boolean} [options.disableKeyboardShortcuts]\n\t * disable keyboard shortcuts. **default**: `false`. `true` if `allowUserInteraction` is `false`.\n\t * @param {Boolean} [options.muted]\n\t * start the video muted **default**: `false`\n\t * @param {String} [options.mimeType]\n\t * add `mimeType: \"application/vnd.apple.mpegurl\"` if you need to use a url without extension.\n\t * @param {String} [options.actualLiveTime]\n\t * show duration and seek time relative to actual time.\n\t * @param {String} [options.actualLiveServerTime]\n\t * specify server time as a string, format: \"2015/11/26 06:01:03\". This option is meant to be used with actualLiveTime.\n\t * @param {Boolean} [options.persistConfig]\n\t * persist player's settings (volume) through the same domain **default**: `true`\n\t * @param {String} [options.preload]\n\t * video will be preloaded according to `preload` attribute options **default**: `'metadata'`\n\t * @param {Number} [options.maxBufferLength]\n\t * the default behavior for the **HLS playback** is to keep buffering indefinitely, even on VoD. This replicates the behavior for progressive download, which continues buffering when pausing the video, thus making the video available for playback even on slow networks. To change this behavior use `maxBufferLength` where **value is in seconds**.\n\t * @param {String} [options.gaAccount]\n\t * enable Google Analytics events dispatch **(play/pause/stop/buffering/etc)** by adding your `gaAccount`\n\t * @param {String} [options.gaTrackerName]\n\t * besides `gaAccount` you can optionally, pass your favorite trackerName as `gaTrackerName`\n\t * @param {Object} [options.mediacontrol]\n\t * customize control bar colors, example: `mediacontrol: {seekbar: \"#E113D3\", buttons: \"#66B2FF\"}`\n\t * @param {Boolean} [options.hideMediaControl]\n\t * control media control auto hide **default**: `true`\n\t * @param {Boolean} [options.hideVolumeBar]\n\t * when embedded with width less than 320, volume bar will hide. You can force this behavior for all sizes by adding `true` **default**: `false`\n\t * @param {String} [options.watermark]\n\t * put `watermark: 'http://url/img.png'` on your embed parameters to automatically add watermark on your video. You can customize corner position by defining position parameter. Positions can be `bottom-left`, `bottom-right`, `top-left` and `top-right`.\n\t * @param {String} [options.watermarkLink]\n\t * `watermarkLink: 'http://example.net/'` - define URL to open when the watermark is clicked. If not provided watermark will not be clickable.\n\t * @param {Boolean} [options.disableVideoTagContextMenu]\n\t * disables the context menu (right click) on the video element if a HTML5Video playback is used.\n\t * @param {Boolean} [options.autoSeekFromUrl]\n\t * Automatically seek to the seconds provided in the url (e.g example.com?t=100) **default**: `true`\n\t * @param {Boolean} [options.exitFullscreenOnEnd]\n\t * Automatically exit full screen when the media finishes. **default**: `true`\n\t * @param {String} [options.poster]\n\t * define a poster by adding its address `poster: 'http://url/img.png'`. It will appear after video embed, disappear on play and go back when user stops the video.\n\t * @param {String} [options.playbackNotSupportedMessage]\n\t * define a custom message to be displayed when a playback is not supported.\n\t * @param {Object} [options.events]\n\t * Specify listeners which will be registered with their corresponding player events.\n\t * E.g. onReady -> \"PLAYER_READY\", onTimeUpdate -> \"PLAYER_TIMEUPDATE\"\n\t */\n\t\n\t }]);\n\t\n\t function Player(options) {\n\t _classCallCheck(this, Player);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseObject.call(this, options));\n\t\n\t var defaultOptions = { playerId: (0, _utils.uniqueId)(\"\"), persistConfig: true, width: 640, height: 360, baseUrl: baseUrl, allowUserInteraction: _browser2.default.isMobile };\n\t _this.options = _clapprZepto2.default.extend(defaultOptions, options);\n\t _this.options.sources = _this.normalizeSources(options);\n\t if (!_this.options.chromeless) {\n\t // \"allowUserInteraction\" cannot be false if not in chromeless mode.\n\t _this.options.allowUserInteraction = true;\n\t }\n\t if (!_this.options.allowUserInteraction) {\n\t // if user iteraction is not allowed ensure keyboard shortcuts are disabled\n\t _this.options.disableKeyboardShortcuts = true;\n\t }\n\t _this.registerOptionEventListeners();\n\t _this.coreFactory = new _core_factory2.default(_this);\n\t _this.playerInfo = _player_info2.default.getInstance(_this.options.playerId);\n\t _this.playerInfo.currentSize = { width: options.width, height: options.height };\n\t _this.playerInfo.options = _this.options;\n\t if (_this.options.parentId) {\n\t _this.setParentId(_this.options.parentId);\n\t } else if (_this.options.parent) {\n\t _this.attachTo(_this.options.parent);\n\t }\n\t return _this;\n\t }\n\t\n\t /**\n\t * Specify a `parentId` to the player.\n\t * @method setParentId\n\t * @param {String} parentId the element parent id.\n\t */\n\t\n\t\n\t Player.prototype.setParentId = function setParentId(parentId) {\n\t var el = document.querySelector(parentId);\n\t if (el) {\n\t this.attachTo(el);\n\t }\n\t };\n\t\n\t /**\n\t * You can use this method to attach the player to a given element. You don't need to do this when you specify it during the player instantiation passing the `parentId` param.\n\t * @method attachTo\n\t * @param {Object} element a given element.\n\t */\n\t\n\t\n\t Player.prototype.attachTo = function attachTo(element) {\n\t this.options.parentElement = element;\n\t this.core = this.coreFactory.create();\n\t this.addEventListeners();\n\t };\n\t\n\t Player.prototype.addEventListeners = function addEventListeners() {\n\t if (!this.core.isReady) {\n\t this.listenToOnce(this.core, _events2.default.CORE_READY, this.onReady);\n\t } else {\n\t this.onReady();\n\t }\n\t this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_CONTAINERCHANGED, this.containerChanged);\n\t this.listenTo(this.core, _events2.default.CORE_FULLSCREEN, this.onFullscreenChange);\n\t };\n\t\n\t Player.prototype.addContainerEventListeners = function addContainerEventListeners() {\n\t var container = this.core.mediaControl.container;\n\t if (!!container) {\n\t this.listenTo(container, _events2.default.CONTAINER_PLAY, this.onPlay);\n\t this.listenTo(container, _events2.default.CONTAINER_PAUSE, this.onPause);\n\t this.listenTo(container, _events2.default.CONTAINER_STOP, this.onStop);\n\t this.listenTo(container, _events2.default.CONTAINER_ENDED, this.onEnded);\n\t this.listenTo(container, _events2.default.CONTAINER_SEEK, this.onSeek);\n\t this.listenTo(container, _events2.default.CONTAINER_ERROR, this.onError);\n\t this.listenTo(container, _events2.default.CONTAINER_TIMEUPDATE, this.onTimeUpdate);\n\t this.listenTo(container, _events2.default.CONTAINER_VOLUME, this.onVolumeUpdate);\n\t }\n\t };\n\t\n\t Player.prototype.registerOptionEventListeners = function registerOptionEventListeners() {\n\t var _this2 = this;\n\t\n\t var eventsMapping = {\n\t \"onReady\": _events2.default.PLAYER_READY,\n\t \"onResize\": _events2.default.PLAYER_RESIZE,\n\t \"onPlay\": _events2.default.PLAYER_PLAY,\n\t \"onPause\": _events2.default.PLAYER_PAUSE,\n\t \"onStop\": _events2.default.PLAYER_STOP,\n\t \"onEnded\": _events2.default.PLAYER_ENDED,\n\t \"onSeek\": _events2.default.PLAYER_SEEK,\n\t \"onError\": _events2.default.PLAYER_ERROR,\n\t \"onTimeUpdate\": _events2.default.PLAYER_TIMEUPDATE,\n\t \"onVolumeUpdate\": _events2.default.PLAYER_VOLUMEUPDATE\n\t };\n\t var userEvents = this.options.events || {};\n\t\n\t Object.keys(userEvents).forEach(function (userEvent) {\n\t var eventType = eventsMapping[userEvent];\n\t if (eventType) {\n\t var eventFunction = userEvents[userEvent];\n\t eventFunction = typeof eventFunction === \"function\" && eventFunction;\n\t eventFunction && _this2.listenTo(_this2, eventType, eventFunction);\n\t }\n\t });\n\t };\n\t\n\t Player.prototype.containerChanged = function containerChanged() {\n\t this.stopListening();\n\t this.addEventListeners();\n\t };\n\t\n\t Player.prototype.onReady = function onReady() {\n\t this.ready = true;\n\t this.addContainerEventListeners();\n\t this.trigger(_events2.default.PLAYER_READY);\n\t };\n\t\n\t Player.prototype.onFullscreenChange = function onFullscreenChange(fullscreen) {\n\t this.trigger(_events2.default.PLAYER_FULLSCREEN, fullscreen);\n\t };\n\t\n\t Player.prototype.onVolumeUpdate = function onVolumeUpdate(volume) {\n\t this.trigger(_events2.default.PLAYER_VOLUMEUPDATE, volume);\n\t };\n\t\n\t Player.prototype.onPlay = function onPlay() {\n\t this.trigger(_events2.default.PLAYER_PLAY);\n\t };\n\t\n\t Player.prototype.onPause = function onPause() {\n\t this.trigger(_events2.default.PLAYER_PAUSE);\n\t };\n\t\n\t Player.prototype.onStop = function onStop() {\n\t this.trigger(_events2.default.PLAYER_STOP, this.getCurrentTime());\n\t };\n\t\n\t Player.prototype.onEnded = function onEnded() {\n\t this.trigger(_events2.default.PLAYER_ENDED);\n\t };\n\t\n\t Player.prototype.onSeek = function onSeek(time) {\n\t this.trigger(_events2.default.PLAYER_SEEK, time);\n\t };\n\t\n\t Player.prototype.onTimeUpdate = function onTimeUpdate(timeProgress) {\n\t this.trigger(_events2.default.PLAYER_TIMEUPDATE, timeProgress);\n\t };\n\t\n\t Player.prototype.onError = function onError(error) {\n\t this.trigger(_events2.default.PLAYER_ERROR, error);\n\t };\n\t\n\t Player.prototype.is = function is(value, type) {\n\t return value.constructor === type;\n\t };\n\t\n\t Player.prototype.normalizeSources = function normalizeSources(options) {\n\t var sources = options.sources || (options.source !== undefined ? [options.source] : []);\n\t return sources.length === 0 ? [{ source: \"\", mimeType: \"\" }] : sources;\n\t };\n\t\n\t /**\n\t * resizes the current player canvas.\n\t * @method resize\n\t * @param {Object} size should be a literal object with `height` and `width`.\n\t * @example\n\t * ```javascript\n\t * player.resize({height: 360, width: 640})\n\t * ```\n\t */\n\t\n\t\n\t Player.prototype.resize = function resize(size) {\n\t this.core.resize(size);\n\t };\n\t\n\t /**\n\t * loads a new source.\n\t * @method load\n\t * @param {Object} sources source or sources of video.\n\t * sources can be a string or {source: <>, mimeType: <>}\n\t * @param {Object} mimeType a mime type, example: `'application/vnd.apple.mpegurl'`\n\t *\n\t */\n\t\n\t\n\t Player.prototype.load = function load(sources, mimeType) {\n\t this.core.load(sources, mimeType);\n\t };\n\t\n\t /**\n\t * destroys the current player and removes it from the DOM.\n\t * @method destroy\n\t */\n\t\n\t\n\t Player.prototype.destroy = function destroy() {\n\t this.core.destroy();\n\t };\n\t\n\t /**\n\t * plays the current video (`source`).\n\t * @method play\n\t */\n\t\n\t\n\t Player.prototype.play = function play() {\n\t this.core.mediaControl.container.play();\n\t };\n\t\n\t /**\n\t * pauses the current video (`source`).\n\t * @method pause\n\t */\n\t\n\t\n\t Player.prototype.pause = function pause() {\n\t this.core.mediaControl.container.pause();\n\t };\n\t\n\t /**\n\t * stops the current video (`source`).\n\t * @method stop\n\t */\n\t\n\t\n\t Player.prototype.stop = function stop() {\n\t this.core.mediaControl.container.stop();\n\t };\n\t\n\t /**\n\t * seeks the current video (`source`). For example, `player.seek(120)` will seek to second 120 (2minutes) of the current video.\n\t * @method seek\n\t * @param {Number} time should be a number between 0 and the video duration.\n\t */\n\t\n\t\n\t Player.prototype.seek = function seek(time) {\n\t this.core.mediaControl.container.seek(time);\n\t };\n\t\n\t /**\n\t * seeks the current video (`source`). For example, `player.seek(50)` will seek to the middle of the current video.\n\t * @method seekPercentage\n\t * @param {Number} time should be a number between 0 and 100.\n\t */\n\t\n\t\n\t Player.prototype.seekPercentage = function seekPercentage(percentage) {\n\t this.core.mediaControl.container.seekPercentage(percentage);\n\t };\n\t\n\t /**\n\t * Set the volume for the current video (`source`).\n\t * @method setVolume\n\t * @param {Number} volume should be a number between 0 and 100, 0 being mute and 100 the max volume.\n\t */\n\t\n\t\n\t Player.prototype.setVolume = function setVolume(volume) {\n\t this.core.mediaControl.container.setVolume(volume);\n\t };\n\t\n\t /**\n\t * Get the volume for the current video\n\t * @method getVolume\n\t * @return {Number} volume should be a number between 0 and 100, 0 being mute and 100 the max volume.\n\t */\n\t\n\t\n\t Player.prototype.getVolume = function getVolume() {\n\t return this.core.mediaControl.container.volume;\n\t };\n\t\n\t /**\n\t * mutes the current video (`source`).\n\t * @method mute\n\t */\n\t\n\t\n\t Player.prototype.mute = function mute() {\n\t this.core.mediaControl.container.setVolume(0);\n\t };\n\t\n\t /**\n\t * unmutes the current video (`source`).\n\t * @method unmute\n\t */\n\t\n\t\n\t Player.prototype.unmute = function unmute() {\n\t this.core.mediaControl.container.setVolume(100);\n\t };\n\t\n\t /**\n\t * checks if the player is playing.\n\t * @method isPlaying\n\t * @return {Boolean} `true` if the current source is playing, otherwise `false`\n\t */\n\t\n\t\n\t Player.prototype.isPlaying = function isPlaying() {\n\t return this.core.mediaControl.container.isPlaying();\n\t };\n\t\n\t /**\n\t * enables to configure a player after its creation\n\t * @method configure\n\t * @param {Object} options all the options to change in form of a javascript object\n\t */\n\t\n\t\n\t Player.prototype.configure = function configure(options) {\n\t this.core.configure(options);\n\t };\n\t\n\t /**\n\t * get a plugin by its name.\n\t * @method getPlugin\n\t * @param {String} name of the plugin.\n\t * @return {Object} the plugin instance\n\t * @example\n\t * ```javascript\n\t * var poster = player.getPlugin('poster');\n\t * poster.hidePlayButton();\n\t * ```\n\t */\n\t\n\t\n\t Player.prototype.getPlugin = function getPlugin(name) {\n\t var plugins = this.core.plugins.concat(this.core.mediaControl.container.plugins);\n\t return (0, _lodash2.default)(plugins, function (plugin) {\n\t return plugin.name === name;\n\t });\n\t };\n\t\n\t /**\n\t * the current time in seconds.\n\t * @method getCurrentTime\n\t * @return {Number} current time (in seconds) of the current source\n\t */\n\t\n\t\n\t Player.prototype.getCurrentTime = function getCurrentTime() {\n\t return this.core.mediaControl.container.getCurrentTime();\n\t };\n\t\n\t /**\n\t * The time that \"0\" now represents relative to when playback started.\n\t * For a stream with a sliding window this will increase as content is\n\t * removed from the beginning.\n\t * @method getStartTimeOffset\n\t * @return {Number} time (in seconds) that time \"0\" represents.\n\t */\n\t\n\t\n\t Player.prototype.getStartTimeOffset = function getStartTimeOffset() {\n\t return this.core.mediaControl.container.getStartTimeOffset();\n\t };\n\t\n\t /**\n\t * the duration time in seconds.\n\t * @method getDuration\n\t * @return {Number} duration time (in seconds) of the current source\n\t */\n\t\n\t\n\t Player.prototype.getDuration = function getDuration() {\n\t return this.core.mediaControl.container.getDuration();\n\t };\n\t\n\t return Player;\n\t}(_base_object2.default);\n\n\texports.default = Player;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 97 */\n/*!******************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/base_flash_playback.js ***!\n \\******************************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _styler = __webpack_require__(/*! base/styler */ 8);\n\t\n\tvar _styler2 = _interopRequireDefault(_styler);\n\t\n\tvar _template = __webpack_require__(/*! base/template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _flash = __webpack_require__(/*! ./public/flash.html */ 139);\n\t\n\tvar _flash2 = _interopRequireDefault(_flash);\n\t\n\tvar _flash3 = __webpack_require__(/*! ./public/flash.scss */ 129);\n\t\n\tvar _flash4 = _interopRequireDefault(_flash3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2015 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar IE_CLASSID = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000';\n\t\n\tvar BaseFlashPlayback = function (_Playback) {\n\t _inherits(BaseFlashPlayback, _Playback);\n\t\n\t function BaseFlashPlayback() {\n\t _classCallCheck(this, BaseFlashPlayback);\n\t\n\t return _possibleConstructorReturn(this, _Playback.apply(this, arguments));\n\t }\n\t\n\t BaseFlashPlayback.prototype.setElement = function setElement(element) {\n\t this.$el = element;\n\t this.el = element[0];\n\t };\n\t\n\t BaseFlashPlayback.prototype.setupFirefox = function setupFirefox() {\n\t var $el = this.$('embed');\n\t $el.attr('data-flash-playback', this.name);\n\t $el.addClass(this.attributes.class);\n\t this.setElement($el);\n\t };\n\t\n\t BaseFlashPlayback.prototype.render = function render() {\n\t this.$el.html(this.template({\n\t cid: this.cid,\n\t swfPath: this.swfPath,\n\t baseUrl: this.baseUrl,\n\t playbackId: this.uniqueId,\n\t wmode: this.wmode,\n\t callbackName: 'window.Clappr.flashlsCallbacks.' + this.cid }));\n\t\n\t if (_browser2.default.isIE) {\n\t this.$('embed').remove();\n\t\n\t if (_browser2.default.isLegacyIE) {\n\t this.$el.attr('classid', IE_CLASSID);\n\t }\n\t }\n\t\n\t if (_browser2.default.isFirefox) {\n\t this.setupFirefox();\n\t }\n\t\n\t this.el.id = this.cid;\n\t this.$el.append(_styler2.default.getStyleFor(_flash4.default));\n\t\n\t return this;\n\t };\n\t\n\t _createClass(BaseFlashPlayback, [{\n\t key: 'tagName',\n\t get: function get() {\n\t return 'object';\n\t }\n\t }, {\n\t key: 'swfPath',\n\t get: function get() {\n\t return '';\n\t }\n\t }, {\n\t key: 'wmode',\n\t get: function get() {\n\t return 'transparent';\n\t }\n\t }, {\n\t key: 'template',\n\t get: function get() {\n\t return (0, _template2.default)(_flash2.default);\n\t }\n\t }, {\n\t key: 'attributes',\n\t get: function get() {\n\t var type = 'application/x-shockwave-flash';\n\t\n\t if (_browser2.default.isLegacyIE) {\n\t type = '';\n\t }\n\t\n\t return {\n\t class: 'clappr-flash-playback',\n\t type: type,\n\t width: '100%',\n\t height: '100%',\n\t 'data-flash-playback': this.name\n\t };\n\t }\n\t }]);\n\t\n\t return BaseFlashPlayback;\n\t}(_playback2.default);\n\n\texports.default = BaseFlashPlayback;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 98 */\n/*!**************************************!*\\\n !*** ./src/playbacks/flash/flash.js ***!\n \\**************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! base/utils */ 2);\n\t\n\tvar _base_flash_playback = __webpack_require__(/*! playbacks/base_flash_playback */ 24);\n\t\n\tvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _mediator = __webpack_require__(/*! components/mediator */ 16);\n\t\n\tvar _mediator2 = _interopRequireDefault(_mediator);\n\t\n\tvar _template = __webpack_require__(/*! base/template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _Player = __webpack_require__(/*! ./public/Player.swf */ 154);\n\t\n\tvar _Player2 = _interopRequireDefault(_Player);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar MAX_ATTEMPTS = 60;\n\t\n\tvar Flash = function (_BaseFlashPlayback) {\n\t _inherits(Flash, _BaseFlashPlayback);\n\t\n\t _createClass(Flash, [{\n\t key: 'name',\n\t get: function get() {\n\t return 'flash';\n\t }\n\t }, {\n\t key: 'swfPath',\n\t get: function get() {\n\t return (0, _template2.default)(_Player2.default)({ baseUrl: this.baseUrl });\n\t }\n\t\n\t /**\n\t * Determine if the playback has ended.\n\t * @property ended\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'ended',\n\t get: function get() {\n\t return this.currentState === \"ENDED\";\n\t }\n\t\n\t /**\n\t * Determine if the playback is buffering.\n\t * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n\t * @property buffering\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'buffering',\n\t get: function get() {\n\t return !!this.bufferingState && this.currentState !== \"ENDED\";\n\t }\n\t }]);\n\t\n\t function Flash(options) {\n\t _classCallCheck(this, Flash);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseFlashPlayback.call(this, options));\n\t\n\t _this.src = options.src;\n\t _this.baseUrl = options.baseUrl;\n\t _this.autoPlay = options.autoPlay;\n\t _this.settings = { default: ['seekbar'] };\n\t _this.settings.left = [\"playpause\", \"position\", \"duration\"];\n\t _this.settings.right = [\"fullscreen\", \"volume\"];\n\t _this.settings.seekEnabled = true;\n\t _this.isReadyState = false;\n\t _this.addListeners();\n\t return _this;\n\t }\n\t\n\t Flash.prototype.bootstrap = function bootstrap() {\n\t var _this2 = this;\n\t\n\t if (this.el.playerPlay) {\n\t this.el.width = \"100%\";\n\t this.el.height = \"100%\";\n\t if (this.currentState === 'PLAYING') {\n\t this.firstPlay();\n\t } else {\n\t this.currentState = \"IDLE\";\n\t this.autoPlay && this.play();\n\t }\n\t (0, _clapprZepto2.default)('
').insertAfter(this.$el);\n\t if (this.getDuration() > 0) {\n\t this.metadataLoaded();\n\t } else {\n\t _mediator2.default.once(this.uniqueId + ':timeupdate', this.metadataLoaded, this);\n\t }\n\t } else {\n\t this._attempts = this._attempts || 0;\n\t if (++this._attempts <= MAX_ATTEMPTS) {\n\t setTimeout(function () {\n\t return _this2.bootstrap();\n\t }, 50);\n\t } else {\n\t this.trigger(_events2.default.PLAYBACK_ERROR, { message: \"Max number of attempts reached\" }, this.name);\n\t }\n\t }\n\t };\n\t\n\t Flash.prototype.metadataLoaded = function metadataLoaded() {\n\t this.isReadyState = true;\n\t this.trigger(_events2.default.PLAYBACK_READY, this.name);\n\t this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE, this.name);\n\t };\n\t\n\t Flash.prototype.getPlaybackType = function getPlaybackType() {\n\t return _playback2.default.VOD;\n\t };\n\t\n\t Flash.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n\t return false;\n\t };\n\t\n\t Flash.prototype.updateTime = function updateTime() {\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: this.el.getPosition(), total: this.el.getDuration() }, this.name);\n\t };\n\t\n\t Flash.prototype.addListeners = function addListeners() {\n\t _mediator2.default.on(this.uniqueId + ':progress', this.progress, this);\n\t _mediator2.default.on(this.uniqueId + ':timeupdate', this.updateTime, this);\n\t _mediator2.default.on(this.uniqueId + ':statechanged', this.checkState, this);\n\t _mediator2.default.on(this.uniqueId + ':flashready', this.bootstrap, this);\n\t };\n\t\n\t Flash.prototype.stopListening = function stopListening() {\n\t _BaseFlashPlayback.prototype.stopListening.call(this);\n\t _mediator2.default.off(this.uniqueId + ':progress');\n\t _mediator2.default.off(this.uniqueId + ':timeupdate');\n\t _mediator2.default.off(this.uniqueId + ':statechanged');\n\t _mediator2.default.off(this.uniqueId + ':flashready');\n\t };\n\t\n\t Flash.prototype.checkState = function checkState() {\n\t if (this.isIdle || this.currentState === \"PAUSED\") {\n\t return;\n\t } else if (this.currentState !== \"PLAYING_BUFFERING\" && this.el.getState() === \"PLAYING_BUFFERING\") {\n\t this.bufferingState = true;\n\t this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);\n\t this.currentState = \"PLAYING_BUFFERING\";\n\t } else if (this.el.getState() === \"PLAYING\") {\n\t this.bufferingState = false;\n\t this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n\t this.currentState = \"PLAYING\";\n\t } else if (this.el.getState() === \"IDLE\") {\n\t this.currentState = \"IDLE\";\n\t } else if (this.el.getState() === \"ENDED\") {\n\t this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: this.el.getDuration() }, this.name);\n\t this.currentState = \"ENDED\";\n\t this.isIdle = true;\n\t }\n\t };\n\t\n\t Flash.prototype.progress = function progress() {\n\t if (this.currentState !== \"IDLE\" && this.currentState !== \"ENDED\") {\n\t this.trigger(_events2.default.PLAYBACK_PROGRESS, {\n\t start: 0,\n\t current: this.el.getBytesLoaded(),\n\t total: this.el.getBytesTotal()\n\t });\n\t }\n\t };\n\t\n\t Flash.prototype.firstPlay = function firstPlay() {\n\t var _this3 = this;\n\t\n\t if (this.el.playerPlay) {\n\t this.isIdle = false;\n\t this.el.playerPlay(this.src);\n\t this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n\t return _this3.checkInitialSeek();\n\t });\n\t this.currentState = \"PLAYING\";\n\t } else {\n\t this.listenToOnce(this, _events2.default.PLAYBACK_READY, this.firstPlay);\n\t }\n\t };\n\t\n\t Flash.prototype.checkInitialSeek = function checkInitialSeek() {\n\t var seekTime = (0, _utils.seekStringToSeconds)(window.location.href);\n\t if (seekTime !== 0) {\n\t this.seekSeconds(seekTime);\n\t }\n\t };\n\t\n\t Flash.prototype.play = function play() {\n\t if (this.currentState === 'PAUSED' || this.currentState === 'PLAYING_BUFFERING') {\n\t this.currentState = \"PLAYING\";\n\t this.el.playerResume();\n\t this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n\t } else if (this.currentState !== 'PLAYING') {\n\t this.firstPlay();\n\t this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n\t }\n\t };\n\t\n\t Flash.prototype.volume = function volume(value) {\n\t var _this4 = this;\n\t\n\t if (this.isReady) {\n\t this.el.playerVolume(value);\n\t } else {\n\t this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n\t return _this4.volume(value);\n\t });\n\t }\n\t };\n\t\n\t Flash.prototype.pause = function pause() {\n\t this.currentState = \"PAUSED\";\n\t this.el.playerPause();\n\t this.trigger(_events2.default.PLAYBACK_PAUSE, this.name);\n\t };\n\t\n\t Flash.prototype.stop = function stop() {\n\t this.el.playerStop();\n\t this.trigger(_events2.default.PLAYBACK_STOP);\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: 0 }, this.name);\n\t };\n\t\n\t Flash.prototype.isPlaying = function isPlaying() {\n\t return !!(this.isReady && this.currentState.indexOf(\"PLAYING\") > -1);\n\t };\n\t\n\t Flash.prototype.getDuration = function getDuration() {\n\t return this.el.getDuration();\n\t };\n\t\n\t Flash.prototype.seekPercentage = function seekPercentage(percentage) {\n\t var _this5 = this;\n\t\n\t if (this.el.getDuration() > 0) {\n\t var seekSeconds = this.el.getDuration() * (percentage / 100);\n\t this.seek(seekSeconds);\n\t } else {\n\t this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n\t return _this5.seekPercentage(percentage);\n\t });\n\t }\n\t };\n\t\n\t Flash.prototype.seek = function seek(time) {\n\t var _this6 = this;\n\t\n\t if (this.isReady && this.el.playerSeek) {\n\t this.el.playerSeek(time);\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: time, total: this.el.getDuration() }, this.name);\n\t if (this.currentState === \"PAUSED\") {\n\t this.el.playerPause();\n\t }\n\t } else {\n\t this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n\t return _this6.seek(time);\n\t });\n\t }\n\t };\n\t\n\t Flash.prototype.destroy = function destroy() {\n\t clearInterval(this.bootstrapId);\n\t _BaseFlashPlayback.prototype.stopListening.call(this);\n\t this.$el.remove();\n\t };\n\t\n\t _createClass(Flash, [{\n\t key: 'isReady',\n\t get: function get() {\n\t return this.isReadyState;\n\t }\n\t }]);\n\t\n\t return Flash;\n\t}(_base_flash_playback2.default);\n\t\n\texports.default = Flash;\n\t\n\t\n\tFlash.canPlay = function (resource) {\n\t if (!_browser2.default.hasFlash || !resource || resource.constructor !== String) {\n\t return false;\n\t } else {\n\t var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n\t return resourceParts.length > 1 && !_browser2.default.isMobile && resourceParts[1].match(/^(mp4|mov|f4v|3gpp|3gp)$/);\n\t }\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 99 */\n/*!******************************************!*\\\n !*** ./src/playbacks/flashls/flashls.js ***!\n \\******************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _base_flash_playback = __webpack_require__(/*! playbacks/base_flash_playback */ 24);\n\t\n\tvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _template = __webpack_require__(/*! base/template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _mediator = __webpack_require__(/*! components/mediator */ 16);\n\t\n\tvar _mediator2 = _interopRequireDefault(_mediator);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _flashls_events = __webpack_require__(/*! ./flashls_events */ 100);\n\t\n\tvar _flashls_events2 = _interopRequireDefault(_flashls_events);\n\t\n\tvar _HLSPlayer = __webpack_require__(/*! ./public/HLSPlayer.swf */ 155);\n\t\n\tvar _HLSPlayer2 = _interopRequireDefault(_HLSPlayer);\n\t\n\tvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ 3);\n\t\n\tvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar MAX_ATTEMPTS = 60;\n\tvar AUTO = -1;\n\t\n\tvar FlasHLS = function (_BaseFlashPlayback) {\n\t _inherits(FlasHLS, _BaseFlashPlayback);\n\t\n\t _createClass(FlasHLS, [{\n\t key: 'name',\n\t get: function get() {\n\t return 'flashls';\n\t }\n\t }, {\n\t key: 'swfPath',\n\t get: function get() {\n\t return (0, _template2.default)(_HLSPlayer2.default)({ baseUrl: this.baseUrl });\n\t }\n\t }, {\n\t key: 'levels',\n\t get: function get() {\n\t return this._levels || [];\n\t }\n\t }, {\n\t key: 'currentLevel',\n\t get: function get() {\n\t if (this._currentLevel === null || this._currentLevel === undefined) {\n\t return AUTO;\n\t } else {\n\t return this._currentLevel; //0 is a valid level ID\n\t }\n\t },\n\t set: function set(id) {\n\t this._currentLevel = id;\n\t this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);\n\t this.el.playerSetCurrentLevel(id);\n\t }\n\t\n\t /**\n\t * Determine if the playback has ended.\n\t * @property ended\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'ended',\n\t get: function get() {\n\t return this.hasEnded;\n\t }\n\t\n\t /**\n\t * Determine if the playback is buffering.\n\t * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n\t * @property buffering\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'buffering',\n\t get: function get() {\n\t return !!this.bufferingState && !this.hasEnded;\n\t }\n\t }]);\n\t\n\t function FlasHLS(options) {\n\t _classCallCheck(this, FlasHLS);\n\t\n\t var _this = _possibleConstructorReturn(this, _BaseFlashPlayback.call(this, options));\n\t\n\t _this.src = options.src;\n\t _this.baseUrl = options.baseUrl;\n\t _this.initHlsParameters(options);\n\t _this.highDefinition = false;\n\t _this.autoPlay = options.autoPlay;\n\t _this.loop = options.loop;\n\t _this.defaultSettings = {\n\t left: [\"playstop\"],\n\t default: ['seekbar'],\n\t right: [\"fullscreen\", \"volume\", \"hd-indicator\"],\n\t seekEnabled: false\n\t };\n\t _this.settings = _clapprZepto2.default.extend({}, _this.defaultSettings);\n\t _this.playbackType = _playback2.default.LIVE;\n\t _this.hasEnded = false;\n\t _this.addListeners();\n\t return _this;\n\t }\n\t\n\t FlasHLS.prototype.initHlsParameters = function initHlsParameters(options) {\n\t this.autoStartLoad = options.autoStartLoad === undefined ? true : options.autoStartLoad;\n\t this.capLevelToStage = options.capLevelToStage === undefined ? false : options.capLevelToStage;\n\t this.maxLevelCappingMode = options.maxLevelCappingMode === undefined ? \"downscale\" : options.maxLevelCappingMode;\n\t this.minBufferLength = options.minBufferLength === undefined ? -1 : options.minBufferLength;\n\t this.minBufferLengthCapping = options.minBufferLengthCapping === undefined ? -1 : options.minBufferLengthCapping;\n\t this.maxBufferLength = options.maxBufferLength === undefined ? 120 : options.maxBufferLength;\n\t this.maxBackBufferLength = options.maxBackBufferLength === undefined ? 30 : options.maxBackBufferLength;\n\t this.lowBufferLength = options.lowBufferLength === undefined ? 3 : options.lowBufferLength;\n\t this.mediaTimePeriod = options.mediaTimePeriod === undefined ? 100 : options.mediaTimePeriod;\n\t this.fpsDroppedMonitoringPeriod = options.fpsDroppedMonitoringPeriod === undefined ? 5000 : options.fpsDroppedMonitoringPeriod;\n\t this.fpsDroppedMonitoringThreshold = options.fpsDroppedMonitoringThreshold === undefined ? 0.2 : options.fpsDroppedMonitoringThreshold;\n\t this.capLevelonFPSDrop = options.capLevelonFPSDrop === undefined ? false : options.capLevelonFPSDrop;\n\t this.smoothAutoSwitchonFPSDrop = options.smoothAutoSwitchonFPSDrop === undefined ? this.capLevelonFPSDrop : options.smoothAutoSwitchonFPSDrop;\n\t this.switchDownOnLevelError = options.switchDownOnLevelError === undefined ? true : options.switchDownOnLevelError;\n\t this.seekMode = options.seekMode === undefined ? \"ACCURATE\" : options.seekMode;\n\t this.keyLoadMaxRetry = options.keyLoadMaxRetry === undefined ? 3 : options.keyLoadMaxRetry;\n\t this.keyLoadMaxRetryTimeout = options.keyLoadMaxRetryTimeout === undefined ? 64000 : options.keyLoadMaxRetryTimeout;\n\t this.fragmentLoadMaxRetry = options.fragmentLoadMaxRetry === undefined ? 3 : options.fragmentLoadMaxRetry;\n\t this.fragmentLoadMaxRetryTimeout = options.fragmentLoadMaxRetryTimeout === undefined ? 4000 : options.fragmentLoadMaxRetryTimeout;\n\t this.fragmentLoadSkipAfterMaxRetry = options.fragmentLoadSkipAfterMaxRetry === undefined ? true : options.fragmentLoadSkipAfterMaxRetry;\n\t this.maxSkippedFragments = options.maxSkippedFragments === undefined ? 5 : options.maxSkippedFragments;\n\t this.flushLiveURLCache = options.flushLiveURLCache === undefined ? false : options.flushLiveURLCache;\n\t this.initialLiveManifestSize = options.initialLiveManifestSize === undefined ? 1 : options.initialLiveManifestSize;\n\t this.manifestLoadMaxRetry = options.manifestLoadMaxRetry === undefined ? 3 : options.manifestLoadMaxRetry;\n\t this.manifestLoadMaxRetryTimeout = options.manifestLoadMaxRetryTimeout === undefined ? 64000 : options.manifestLoadMaxRetryTimeout;\n\t this.manifestRedundantLoadmaxRetry = options.manifestRedundantLoadmaxRetry === undefined ? 3 : options.manifestRedundantLoadmaxRetry;\n\t this.startFromBitrate = options.startFromBitrate === undefined ? -1 : options.startFromBitrate;\n\t this.startFromLevel = options.startFromLevel === undefined ? -1 : options.startFromLevel;\n\t this.autoStartMaxDuration = options.autoStartMaxDuration === undefined ? -1 : options.autoStartMaxDuration;\n\t this.seekFromLevel = options.seekFromLevel === undefined ? -1 : options.seekFromLevel;\n\t this.useHardwareVideoDecoder = options.useHardwareVideoDecoder === undefined ? false : options.useHardwareVideoDecoder;\n\t this.hlsLogEnabled = options.hlsLogEnabled === undefined ? true : options.hlsLogEnabled;\n\t this.logDebug = options.logDebug === undefined ? false : options.logDebug;\n\t this.logDebug2 = options.logDebug2 === undefined ? false : options.logDebug2;\n\t this.logWarn = options.logWarn === undefined ? true : options.logWarn;\n\t this.logError = options.logError === undefined ? true : options.logError;\n\t this.hlsMinimumDvrSize = options.hlsMinimumDvrSize === undefined ? 60 : options.hlsMinimumDvrSize;\n\t };\n\t\n\t FlasHLS.prototype.addListeners = function addListeners() {\n\t var _this2 = this;\n\t\n\t _mediator2.default.on(this.cid + ':flashready', function () {\n\t return _this2.bootstrap();\n\t });\n\t _mediator2.default.on(this.cid + ':timeupdate', function (timeMetrics) {\n\t return _this2.updateTime(timeMetrics);\n\t });\n\t _mediator2.default.on(this.cid + ':playbackstate', function (state) {\n\t return _this2.setPlaybackState(state);\n\t });\n\t _mediator2.default.on(this.cid + ':levelchanged', function (level) {\n\t return _this2.levelChanged(level);\n\t });\n\t _mediator2.default.on(this.cid + ':error', function (code, url, message) {\n\t return _this2.flashPlaybackError(code, url, message);\n\t });\n\t _mediator2.default.on(this.cid + ':fragmentloaded', function (loadmetrics) {\n\t return _this2.onFragmentLoaded(loadmetrics);\n\t });\n\t };\n\t\n\t FlasHLS.prototype.stopListening = function stopListening() {\n\t _BaseFlashPlayback.prototype.stopListening.call(this);\n\t _mediator2.default.off(this.cid + ':flashready');\n\t _mediator2.default.off(this.cid + ':timeupdate');\n\t _mediator2.default.off(this.cid + ':playbackstate');\n\t _mediator2.default.off(this.cid + ':levelchanged');\n\t _mediator2.default.off(this.cid + ':playbackerror');\n\t _mediator2.default.off(this.cid + ':fragmentloaded');\n\t _mediator2.default.off(this.cid + ':manifestloaded');\n\t };\n\t\n\t FlasHLS.prototype.bootstrap = function bootstrap() {\n\t var _this3 = this;\n\t\n\t if (this.el.playerLoad) {\n\t this.el.width = \"100%\";\n\t this.el.height = \"100%\";\n\t this.isReadyState = true;\n\t this.srcLoaded = false;\n\t this.currentState = \"IDLE\";\n\t this.setFlashSettings();\n\t this.updatePlaybackType();\n\t if (this.autoPlay || this._shouldPlayOnManifestLoaded) {\n\t this.play();\n\t }\n\t this.trigger(_events2.default.PLAYBACK_READY, this.name);\n\t } else {\n\t this._bootstrapAttempts = this._bootstrapAttempts || 0;\n\t if (++this._bootstrapAttempts <= MAX_ATTEMPTS) {\n\t setTimeout(function () {\n\t return _this3.bootstrap();\n\t }, 50);\n\t } else {\n\t this.trigger(_events2.default.PLAYBACK_ERROR, { message: \"Max number of attempts reached\" }, this.name);\n\t }\n\t }\n\t };\n\t\n\t FlasHLS.prototype.setFlashSettings = function setFlashSettings() {\n\t this.el.playerSetAutoStartLoad(this.autoStartLoad);\n\t this.el.playerSetCapLevelToStage(this.capLevelToStage);\n\t this.el.playerSetMaxLevelCappingMode(this.maxLevelCappingMode);\n\t this.el.playerSetMinBufferLength(this.minBufferLength);\n\t this.el.playerSetMinBufferLengthCapping(this.minBufferLengthCapping);\n\t this.el.playerSetMaxBufferLength(this.maxBufferLength);\n\t this.el.playerSetMaxBackBufferLength(this.maxBackBufferLength);\n\t this.el.playerSetLowBufferLength(this.lowBufferLength);\n\t this.el.playerSetMediaTimePeriod(this.mediaTimePeriod);\n\t this.el.playerSetFpsDroppedMonitoringPeriod(this.fpsDroppedMonitoringPeriod);\n\t this.el.playerSetFpsDroppedMonitoringThreshold(this.fpsDroppedMonitoringThreshold);\n\t this.el.playerSetCapLevelonFPSDrop(this.capLevelonFPSDrop);\n\t this.el.playerSetSmoothAutoSwitchonFPSDrop(this.smoothAutoSwitchonFPSDrop);\n\t this.el.playerSetSwitchDownOnLevelError(this.switchDownOnLevelError);\n\t this.el.playerSetSeekMode(this.seekMode);\n\t this.el.playerSetKeyLoadMaxRetry(this.keyLoadMaxRetry);\n\t this.el.playerSetKeyLoadMaxRetryTimeout(this.keyLoadMaxRetryTimeout);\n\t this.el.playerSetFragmentLoadMaxRetry(this.fragmentLoadMaxRetry);\n\t this.el.playerSetFragmentLoadMaxRetryTimeout(this.fragmentLoadMaxRetryTimeout);\n\t this.el.playerSetFragmentLoadSkipAfterMaxRetry(this.fragmentLoadSkipAfterMaxRetry);\n\t this.el.playerSetMaxSkippedFragments(this.maxSkippedFragments);\n\t this.el.playerSetFlushLiveURLCache(this.flushLiveURLCache);\n\t this.el.playerSetInitialLiveManifestSize(this.initialLiveManifestSize);\n\t this.el.playerSetManifestLoadMaxRetry(this.manifestLoadMaxRetry);\n\t this.el.playerSetManifestLoadMaxRetryTimeout(this.manifestLoadMaxRetryTimeout);\n\t this.el.playerSetManifestRedundantLoadmaxRetry(this.manifestRedundantLoadmaxRetry);\n\t this.el.playerSetStartFromBitrate(this.startFromBitrate);\n\t this.el.playerSetStartFromLevel(this.startFromLevel);\n\t this.el.playerSetAutoStartMaxDuration(this.autoStartMaxDuration);\n\t this.el.playerSetSeekFromLevel(this.seekFromLevel);\n\t this.el.playerSetUseHardwareVideoDecoder(this.useHardwareVideoDecoder);\n\t this.el.playerSetLogInfo(this.hlsLogEnabled);\n\t this.el.playerSetLogDebug(this.logDebug);\n\t this.el.playerSetLogDebug2(this.logDebug2);\n\t this.el.playerSetLogWarn(this.logWarn);\n\t this.el.playerSetLogError(this.logError);\n\t };\n\t\n\t FlasHLS.prototype.setAutoStartLoad = function setAutoStartLoad(autoStartLoad) {\n\t this.autoStartLoad = autoStartLoad;\n\t this.el.playerSetAutoStartLoad(this.autoStartLoad);\n\t };\n\t\n\t FlasHLS.prototype.setCapLevelToStage = function setCapLevelToStage(capLevelToStage) {\n\t this.capLevelToStage = capLevelToStage;\n\t this.el.playerSetCapLevelToStage(this.capLevelToStage);\n\t };\n\t\n\t FlasHLS.prototype.setMaxLevelCappingMode = function setMaxLevelCappingMode(maxLevelCappingMode) {\n\t this.maxLevelCappingMode = maxLevelCappingMode;\n\t this.el.playerSetMaxLevelCappingMode(this.maxLevelCappingMode);\n\t };\n\t\n\t FlasHLS.prototype.setSetMinBufferLength = function setSetMinBufferLength(minBufferLength) {\n\t this.minBufferLength = minBufferLength;\n\t this.el.playerSetMinBufferLength(this.minBufferLength);\n\t };\n\t\n\t FlasHLS.prototype.setMinBufferLengthCapping = function setMinBufferLengthCapping(minBufferLengthCapping) {\n\t this.minBufferLengthCapping = minBufferLengthCapping;\n\t this.el.playerSetMinBufferLengthCapping(this.minBufferLengthCapping);\n\t };\n\t\n\t FlasHLS.prototype.setMaxBufferLength = function setMaxBufferLength(maxBufferLength) {\n\t this.maxBufferLength = maxBufferLength;\n\t this.el.playerSetMaxBufferLength(this.maxBufferLength);\n\t };\n\t\n\t FlasHLS.prototype.setMaxBackBufferLength = function setMaxBackBufferLength(maxBackBufferLength) {\n\t this.maxBackBufferLength = maxBackBufferLength;\n\t this.el.playerSetMaxBackBufferLength(this.maxBackBufferLength);\n\t };\n\t\n\t FlasHLS.prototype.setLowBufferLength = function setLowBufferLength(lowBufferLength) {\n\t this.lowBufferLength = lowBufferLength;\n\t this.el.playerSetLowBufferLength(this.lowBufferLength);\n\t };\n\t\n\t FlasHLS.prototype.setMediaTimePeriod = function setMediaTimePeriod(mediaTimePeriod) {\n\t this.mediaTimePeriod = mediaTimePeriod;\n\t this.el.playerSetMediaTimePeriod(this.mediaTimePeriod);\n\t };\n\t\n\t FlasHLS.prototype.setFpsDroppedMonitoringPeriod = function setFpsDroppedMonitoringPeriod(fpsDroppedMonitoringPeriod) {\n\t this.fpsDroppedMonitoringPeriod = fpsDroppedMonitoringPeriod;\n\t this.el.playerSetFpsDroppedMonitoringPeriod(this.fpsDroppedMonitoringPeriod);\n\t };\n\t\n\t FlasHLS.prototype.setFpsDroppedMonitoringThreshold = function setFpsDroppedMonitoringThreshold(fpsDroppedMonitoringThreshold) {\n\t this.fpsDroppedMonitoringThreshold = fpsDroppedMonitoringThreshold;\n\t this.el.playerSetFpsDroppedMonitoringThreshold(this.fpsDroppedMonitoringThreshold);\n\t };\n\t\n\t FlasHLS.prototype.setCapLevelonFPSDrop = function setCapLevelonFPSDrop(capLevelonFPSDrop) {\n\t this.capLevelonFPSDrop = capLevelonFPSDrop;\n\t this.el.playerSetCapLevelonFPSDrop(this.capLevelonFPSDrop);\n\t };\n\t\n\t FlasHLS.prototype.setSmoothAutoSwitchonFPSDrop = function setSmoothAutoSwitchonFPSDrop(smoothAutoSwitchonFPSDrop) {\n\t this.smoothAutoSwitchonFPSDrop = smoothAutoSwitchonFPSDrop;\n\t this.el.playerSetSmoothAutoSwitchonFPSDrop(this.smoothAutoSwitchonFPSDrop);\n\t };\n\t\n\t FlasHLS.prototype.setSwitchDownOnLevelError = function setSwitchDownOnLevelError(switchDownOnLevelError) {\n\t this.switchDownOnLevelError = switchDownOnLevelError;\n\t this.el.playerSetSwitchDownOnLevelError(this.switchDownOnLevelError);\n\t };\n\t\n\t FlasHLS.prototype.setSeekMode = function setSeekMode(seekMode) {\n\t this.seekMode = seekMode;\n\t this.el.playerSetSeekMode(this.seekMode);\n\t };\n\t\n\t FlasHLS.prototype.setKeyLoadMaxRetry = function setKeyLoadMaxRetry(keyLoadMaxRetry) {\n\t this.keyLoadMaxRetry = keyLoadMaxRetry;\n\t this.el.playerSetKeyLoadMaxRetry(this.keyLoadMaxRetry);\n\t };\n\t\n\t FlasHLS.prototype.setKeyLoadMaxRetryTimeout = function setKeyLoadMaxRetryTimeout(keyLoadMaxRetryTimeout) {\n\t this.keyLoadMaxRetryTimeout = keyLoadMaxRetryTimeout;\n\t this.el.playerSetKeyLoadMaxRetryTimeout(this.keyLoadMaxRetryTimeout);\n\t };\n\t\n\t FlasHLS.prototype.setFragmentLoadMaxRetry = function setFragmentLoadMaxRetry(fragmentLoadMaxRetry) {\n\t this.fragmentLoadMaxRetry = fragmentLoadMaxRetry;\n\t this.el.playerSetFragmentLoadMaxRetry(this.fragmentLoadMaxRetry);\n\t };\n\t\n\t FlasHLS.prototype.setFragmentLoadMaxRetryTimeout = function setFragmentLoadMaxRetryTimeout(fragmentLoadMaxRetryTimeout) {\n\t this.fragmentLoadMaxRetryTimeout = fragmentLoadMaxRetryTimeout;\n\t this.el.playerSetFragmentLoadMaxRetryTimeout(this.fragmentLoadMaxRetryTimeout);\n\t };\n\t\n\t FlasHLS.prototype.setFragmentLoadSkipAfterMaxRetry = function setFragmentLoadSkipAfterMaxRetry(fragmentLoadSkipAfterMaxRetry) {\n\t this.fragmentLoadSkipAfterMaxRetry = fragmentLoadSkipAfterMaxRetry;\n\t this.el.playerSetFragmentLoadSkipAfterMaxRetry(this.fragmentLoadSkipAfterMaxRetry);\n\t };\n\t\n\t FlasHLS.prototype.setMaxSkippedFragments = function setMaxSkippedFragments(maxSkippedFragments) {\n\t this.maxSkippedFragments = maxSkippedFragments;\n\t this.el.playerSetMaxSkippedFragments(this.maxSkippedFragments);\n\t };\n\t\n\t FlasHLS.prototype.setFlushLiveURLCache = function setFlushLiveURLCache(flushLiveURLCache) {\n\t this.flushLiveURLCache = flushLiveURLCache;\n\t this.el.playerSetFlushLiveURLCache(this.flushLiveURLCache);\n\t };\n\t\n\t FlasHLS.prototype.setInitialLiveManifestSize = function setInitialLiveManifestSize(initialLiveManifestSize) {\n\t this.initialLiveManifestSize = initialLiveManifestSize;\n\t this.el.playerSetInitialLiveManifestSize(this.initialLiveManifestSize);\n\t };\n\t\n\t FlasHLS.prototype.setManifestLoadMaxRetry = function setManifestLoadMaxRetry(manifestLoadMaxRetry) {\n\t this.manifestLoadMaxRetry = manifestLoadMaxRetry;\n\t this.el.playerSetManifestLoadMaxRetry(this.manifestLoadMaxRetry);\n\t };\n\t\n\t FlasHLS.prototype.setManifestLoadMaxRetryTimeout = function setManifestLoadMaxRetryTimeout(manifestLoadMaxRetryTimeout) {\n\t this.manifestLoadMaxRetryTimeout = manifestLoadMaxRetryTimeout;\n\t this.el.playerSetManifestLoadMaxRetryTimeout(this.manifestLoadMaxRetryTimeout);\n\t };\n\t\n\t FlasHLS.prototype.setManifestRedundantLoadmaxRetry = function setManifestRedundantLoadmaxRetry(manifestRedundantLoadmaxRetry) {\n\t this.manifestRedundantLoadmaxRetry = manifestRedundantLoadmaxRetry;\n\t this.el.playerSetManifestRedundantLoadmaxRetry(this.manifestRedundantLoadmaxRetry);\n\t };\n\t\n\t FlasHLS.prototype.setStartFromBitrate = function setStartFromBitrate(startFromBitrate) {\n\t this.startFromBitrate = startFromBitrate;\n\t this.el.playerSetStartFromBitrate(this.startFromBitrate);\n\t };\n\t\n\t FlasHLS.prototype.setStartFromLevel = function setStartFromLevel(startFromLevel) {\n\t this.startFromLevel = startFromLevel;\n\t this.el.playerSetStartFromLevel(this.startFromLevel);\n\t };\n\t\n\t FlasHLS.prototype.setAutoStartMaxDuration = function setAutoStartMaxDuration(autoStartMaxDuration) {\n\t this.autoStartMaxDuration = autoStartMaxDuration;\n\t this.el.playerSetAutoStartMaxDuration(this.autoStartMaxDuration);\n\t };\n\t\n\t FlasHLS.prototype.setSeekFromLevel = function setSeekFromLevel(seekFromLevel) {\n\t this.seekFromLevel = seekFromLevel;\n\t this.el.playerSetSeekFromLevel(this.seekFromLevel);\n\t };\n\t\n\t FlasHLS.prototype.setUseHardwareVideoDecoder = function setUseHardwareVideoDecoder(useHardwareVideoDecoder) {\n\t this.useHardwareVideoDecoder = useHardwareVideoDecoder;\n\t this.el.playerSetUseHardwareVideoDecoder(this.useHardwareVideoDecoder);\n\t };\n\t\n\t FlasHLS.prototype.setSetLogInfo = function setSetLogInfo(hlsLogEnabled) {\n\t this.hlsLogEnabled = hlsLogEnabled;\n\t this.el.playerSetLogInfo(this.hlsLogEnabled);\n\t };\n\t\n\t FlasHLS.prototype.setLogDebug = function setLogDebug(logDebug) {\n\t this.logDebug = logDebug;\n\t this.el.playerSetLogDebug(this.logDebug);\n\t };\n\t\n\t FlasHLS.prototype.setLogDebug2 = function setLogDebug2(logDebug2) {\n\t this.logDebug2 = logDebug2;\n\t this.el.playerSetLogDebug2(this.logDebug2);\n\t };\n\t\n\t FlasHLS.prototype.setLogWarn = function setLogWarn(logWarn) {\n\t this.logWarn = logWarn;\n\t this.el.playerSetLogWarn(this.logWarn);\n\t };\n\t\n\t FlasHLS.prototype.setLogError = function setLogError(logError) {\n\t this.logError = logError;\n\t this.el.playerSetLogError(this.logError);\n\t };\n\t\n\t FlasHLS.prototype.levelChanged = function levelChanged(level) {\n\t var currentLevel = this.el.getLevels()[level];\n\t if (currentLevel) {\n\t this.highDefinition = currentLevel.height >= 720 || currentLevel.bitrate / 1000 >= 2000;\n\t this.trigger(_events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n\t this.trigger(_events2.default.PLAYBACK_BITRATE, {\n\t height: currentLevel.height,\n\t width: currentLevel.width,\n\t bandwidth: currentLevel.bandwidth,\n\t bitrate: currentLevel.bitrate,\n\t level: level\n\t });\n\t this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_END);\n\t }\n\t };\n\t\n\t FlasHLS.prototype.updateTime = function updateTime(timeMetrics) {\n\t if (this.currentState === 'IDLE') {\n\t return;\n\t }\n\t\n\t var duration = this.normalizeDuration(timeMetrics.duration);\n\t var position = Math.min(Math.max(timeMetrics.position, 0), duration);\n\t var previousDVRStatus = this.dvrEnabled;\n\t var livePlayback = this.playbackType === _playback2.default.LIVE;\n\t this.dvrEnabled = livePlayback && duration > this.hlsMinimumDvrSize;\n\t\n\t if (duration === 100 || livePlayback === undefined) {\n\t return;\n\t }\n\t\n\t if (this.dvrEnabled !== previousDVRStatus) {\n\t this.updateSettings();\n\t this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE, this.name);\n\t }\n\t\n\t if (livePlayback && (!this.dvrEnabled || !this.dvrInUse)) {\n\t position = duration;\n\t }\n\t\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: position, total: duration }, this.name);\n\t };\n\t\n\t FlasHLS.prototype.play = function play() {\n\t if (this.currentState === 'PAUSED') {\n\t this.el.playerResume();\n\t } else if (!this.srcLoaded && this.currentState !== \"PLAYING\") {\n\t this.firstPlay();\n\t } else {\n\t this.el.playerPlay();\n\t }\n\t };\n\t\n\t FlasHLS.prototype.getPlaybackType = function getPlaybackType() {\n\t return this.playbackType ? this.playbackType : null;\n\t };\n\t\n\t FlasHLS.prototype.getCurrentLevelIndex = function getCurrentLevelIndex() {\n\t return this.currentLevel;\n\t };\n\t\n\t FlasHLS.prototype.getCurrentLevel = function getCurrentLevel() {\n\t return this.levels[this.currentLevel];\n\t };\n\t\n\t FlasHLS.prototype.getCurrentBitrate = function getCurrentBitrate() {\n\t return this.levels[this.currentLevel].bitrate;\n\t };\n\t\n\t FlasHLS.prototype.setCurrentLevel = function setCurrentLevel(level) {\n\t this.currentLevel = level;\n\t };\n\t\n\t FlasHLS.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n\t return this.highDefinition;\n\t };\n\t\n\t FlasHLS.prototype.getLevels = function getLevels() {\n\t return this.levels;\n\t };\n\t\n\t FlasHLS.prototype.setPlaybackState = function setPlaybackState(state) {\n\t if ([\"PLAYING_BUFFERING\", \"PAUSED_BUFFERING\"].indexOf(state) >= 0) {\n\t this.bufferingState = true;\n\t this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);\n\t this.updateCurrentState(state);\n\t } else if ([\"PLAYING\", \"PAUSED\"].indexOf(state) >= 0) {\n\t if ([\"PLAYING_BUFFERING\", \"PAUSED_BUFFERING\", \"IDLE\"].indexOf(this.currentState) >= 0) {\n\t this.bufferingState = false;\n\t this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n\t }\n\t this.updateCurrentState(state);\n\t } else if (state === \"IDLE\") {\n\t this.srcLoaded = false;\n\t if (this.loop && [\"PLAYING_BUFFERING\", \"PLAYING\"].indexOf(this.currentState) >= 0) {\n\t this.play();\n\t this.seek(0);\n\t } else {\n\t this.updateCurrentState(state);\n\t this.hasEnded = true;\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: this.getDuration() }, this.name);\n\t this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n\t }\n\t }\n\t };\n\t\n\t FlasHLS.prototype.updateCurrentState = function updateCurrentState(state) {\n\t this.currentState = state;\n\t if (state !== \"IDLE\") {\n\t this.hasEnded = false;\n\t }\n\t this.updatePlaybackType();\n\t if (state === \"PLAYING\") {\n\t this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n\t } else if (state === \"PAUSED\") {\n\t this.trigger(_events2.default.PLAYBACK_PAUSE, this.name);\n\t }\n\t };\n\t\n\t FlasHLS.prototype.updatePlaybackType = function updatePlaybackType() {\n\t this.playbackType = this.el.getType();\n\t if (this.playbackType) {\n\t this.playbackType = this.playbackType.toLowerCase();\n\t if (this.playbackType === _playback2.default.VOD) {\n\t this.startReportingProgress();\n\t } else {\n\t this.stopReportingProgress();\n\t }\n\t }\n\t this.trigger(_events2.default.PLAYBACK_PLAYBACKSTATE, { type: this.playbackType });\n\t };\n\t\n\t FlasHLS.prototype.startReportingProgress = function startReportingProgress() {\n\t if (!this.reportingProgress) {\n\t this.reportingProgress = true;\n\t }\n\t };\n\t\n\t FlasHLS.prototype.stopReportingProgress = function stopReportingProgress() {\n\t this.reportingProgress = false;\n\t };\n\t\n\t FlasHLS.prototype.onFragmentLoaded = function onFragmentLoaded(loadmetrics) {\n\t this.trigger(_events2.default.PLAYBACK_FRAGMENT_LOADED, loadmetrics);\n\t if (this.reportingProgress && this.el.getPosition) {\n\t var buffered = this.el.getPosition() + this.el.getbufferLength();\n\t this.trigger(_events2.default.PLAYBACK_PROGRESS, {\n\t start: this.el.getPosition(),\n\t current: buffered,\n\t total: this.el.getDuration()\n\t });\n\t }\n\t };\n\t\n\t FlasHLS.prototype.firstPlay = function firstPlay() {\n\t var _this4 = this;\n\t\n\t this._shouldPlayOnManifestLoaded = true;\n\t if (this.el.playerLoad) {\n\t _mediator2.default.once(this.cid + ':manifestloaded', function (duration, loadmetrics) {\n\t return _this4.manifestLoaded(duration, loadmetrics);\n\t });\n\t this.setFlashSettings(); //ensure flushLiveURLCache will work (#327)\n\t this.el.playerLoad(this.src);\n\t this.srcLoaded = true;\n\t }\n\t };\n\t\n\t FlasHLS.prototype.volume = function volume(value) {\n\t var _this5 = this;\n\t\n\t if (this.isReady) {\n\t this.el.playerVolume(value);\n\t } else {\n\t this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n\t return _this5.volume(value);\n\t });\n\t }\n\t };\n\t\n\t FlasHLS.prototype.pause = function pause() {\n\t if (this.playbackType !== _playback2.default.LIVE || this.dvrEnabled) {\n\t this.el.playerPause();\n\t if (this.playbackType === _playback2.default.LIVE && this.dvrEnabled) {\n\t this.updateDvr(true);\n\t }\n\t }\n\t };\n\t\n\t FlasHLS.prototype.stop = function stop() {\n\t this.srcLoaded = false;\n\t this.el.playerStop();\n\t this.trigger(_events2.default.PLAYBACK_STOP);\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: 0 }, this.name);\n\t };\n\t\n\t FlasHLS.prototype.isPlaying = function isPlaying() {\n\t if (this.currentState) {\n\t return !!this.currentState.match(/playing/i);\n\t }\n\t return false;\n\t };\n\t\n\t FlasHLS.prototype.getDuration = function getDuration() {\n\t return this.normalizeDuration(this.el.getDuration());\n\t };\n\t\n\t FlasHLS.prototype.normalizeDuration = function normalizeDuration(duration) {\n\t if (this.playbackType === _playback2.default.LIVE) {\n\t // estimate 10 seconds of buffer time for live streams for seek positions\n\t duration = Math.max(0, duration - 10);\n\t }\n\t return duration;\n\t };\n\t\n\t FlasHLS.prototype.seekPercentage = function seekPercentage(percentage) {\n\t var duration = this.el.getDuration();\n\t var time = 0;\n\t if (percentage > 0) {\n\t time = duration * percentage / 100;\n\t }\n\t this.seek(time);\n\t };\n\t\n\t FlasHLS.prototype.seek = function seek(time) {\n\t var duration = this.getDuration();\n\t if (this.playbackType === _playback2.default.LIVE) {\n\t // seek operations to a time within 3 seconds from live stream will position playhead back to live\n\t var dvrInUse = duration - time > 3;\n\t this.updateDvr(dvrInUse);\n\t }\n\t this.el.playerSeek(time);\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: time, total: duration }, this.name);\n\t };\n\t\n\t FlasHLS.prototype.updateDvr = function updateDvr(dvrInUse) {\n\t var previousDvrInUse = !!this.dvrInUse;\n\t this.dvrInUse = dvrInUse;\n\t if (this.dvrInUse !== previousDvrInUse) {\n\t this.updateSettings();\n\t this.trigger(_events2.default.PLAYBACK_DVR, this.dvrInUse);\n\t this.trigger(_events2.default.PLAYBACK_STATS_ADD, { 'dvr': this.dvrInUse });\n\t }\n\t };\n\t\n\t FlasHLS.prototype.flashPlaybackError = function flashPlaybackError(code, url, message) {\n\t this.trigger(_events2.default.PLAYBACK_ERROR, { code: code, url: url, message: message });\n\t this.trigger(_events2.default.PLAYBACK_STOP);\n\t };\n\t\n\t FlasHLS.prototype.manifestLoaded = function manifestLoaded(duration, loadmetrics) {\n\t if (this._shouldPlayOnManifestLoaded) {\n\t this._shouldPlayOnManifestLoaded = false;\n\t // this method initialises the player (and starts playback)\n\t // this needs to happen before PLAYBACK_LOADEDMETADATA is fired\n\t // as the user may call seek() in a LOADEDMETADATA listener.\n\t /// when playerPlay() is called the player seeks to 0\n\t this.el.playerPlay();\n\t }\n\t\n\t var levels = this.el.getLevels();\n\t var levelsLength = levels.length;\n\t this._levels = [];\n\t\n\t for (var index = 0; index < levelsLength; index++) {\n\t this._levels.push({ id: index, label: levels[index].height + 'p', level: levels[index] });\n\t }\n\t this.trigger(_events2.default.PLAYBACK_LEVELS_AVAILABLE, this._levels);\n\t this.trigger(_events2.default.PLAYBACK_LOADEDMETADATA, { duration: duration, data: loadmetrics });\n\t };\n\t\n\t FlasHLS.prototype.destroy = function destroy() {\n\t this.stopListening();\n\t this.$el.remove();\n\t };\n\t\n\t FlasHLS.prototype.updateSettings = function updateSettings() {\n\t this.settings = _clapprZepto2.default.extend({}, this.defaultSettings);\n\t if (this.playbackType === _playback2.default.VOD || this.dvrInUse) {\n\t this.settings.left = [\"playpause\", \"position\", \"duration\"];\n\t this.settings.seekEnabled = true;\n\t } else if (this.dvrEnabled) {\n\t this.settings.left = [\"playpause\"];\n\t this.settings.seekEnabled = true;\n\t } else {\n\t this.settings.seekEnabled = false;\n\t }\n\t };\n\t\n\t FlasHLS.prototype.createCallbacks = function createCallbacks() {\n\t var _this6 = this;\n\t\n\t if (!window.Clappr) {\n\t window.Clappr = {};\n\t }\n\t if (!window.Clappr.flashlsCallbacks) {\n\t window.Clappr.flashlsCallbacks = {};\n\t }\n\t this.flashlsEvents = new _flashls_events2.default(this.cid);\n\t window.Clappr.flashlsCallbacks[this.cid] = function (eventName, args) {\n\t _this6.flashlsEvents[eventName].apply(_this6.flashlsEvents, args);\n\t };\n\t };\n\t\n\t FlasHLS.prototype.render = function render() {\n\t _BaseFlashPlayback.prototype.render.call(this);\n\t this.createCallbacks();\n\t return this;\n\t };\n\t\n\t _createClass(FlasHLS, [{\n\t key: 'isReady',\n\t get: function get() {\n\t return this.isReadyState;\n\t }\n\t }]);\n\t\n\t return FlasHLS;\n\t}(_base_flash_playback2.default);\n\t\n\texports.default = FlasHLS;\n\t\n\t\n\tFlasHLS.canPlay = function (resource, mimeType) {\n\t var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n\t return _browser2.default.hasFlash && (resourceParts.length > 1 && resourceParts[1] === \"m3u8\" || mimeType === 'application/x-mpegURL' || mimeType === 'application/vnd.apple.mpegurl');\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 100 */\n/*!*************************************************!*\\\n !*** ./src/playbacks/flashls/flashls_events.js ***!\n \\*************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _mediator = __webpack_require__(/*! ../../components/mediator */ 16);\n\t\n\tvar _mediator2 = _interopRequireDefault(_mediator);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar HLSEvents = function () {\n\t function HLSEvents(instanceId) {\n\t _classCallCheck(this, HLSEvents);\n\t\n\t this.instanceId = instanceId;\n\t }\n\t\n\t HLSEvents.prototype.ready = function ready() {\n\t _mediator2.default.trigger(this.instanceId + ':flashready');\n\t };\n\t\n\t HLSEvents.prototype.videoSize = function videoSize(width, height) {\n\t _mediator2.default.trigger(this.instanceId + ':videosizechanged', width, height);\n\t };\n\t\n\t HLSEvents.prototype.complete = function complete() {\n\t _mediator2.default.trigger(this.instanceId + ':complete');\n\t };\n\t\n\t HLSEvents.prototype.error = function error(code, url, message) {\n\t _mediator2.default.trigger(this.instanceId + ':error', code, url, message);\n\t };\n\t\n\t HLSEvents.prototype.manifest = function manifest(duration, loadmetrics) {\n\t _mediator2.default.trigger(this.instanceId + ':manifestloaded', duration, loadmetrics);\n\t };\n\t\n\t HLSEvents.prototype.audioLevelLoaded = function audioLevelLoaded(loadmetrics) {\n\t _mediator2.default.trigger(this.instanceId + ':audiolevelloaded', loadmetrics);\n\t };\n\t\n\t HLSEvents.prototype.levelLoaded = function levelLoaded(loadmetrics) {\n\t _mediator2.default.trigger(this.instanceId + ':levelloaded', loadmetrics);\n\t };\n\t\n\t HLSEvents.prototype.fragmentLoaded = function fragmentLoaded(loadmetrics) {\n\t _mediator2.default.trigger(this.instanceId + ':fragmentloaded', loadmetrics);\n\t };\n\t\n\t HLSEvents.prototype.fragmentPlaying = function fragmentPlaying(playmetrics) {\n\t _mediator2.default.trigger(this.instanceId + ':fragmentplaying', playmetrics);\n\t };\n\t\n\t HLSEvents.prototype.position = function position(timemetrics) {\n\t _mediator2.default.trigger(this.instanceId + ':timeupdate', timemetrics);\n\t };\n\t\n\t HLSEvents.prototype.state = function state(newState) {\n\t _mediator2.default.trigger(this.instanceId + ':playbackstate', newState);\n\t };\n\t\n\t HLSEvents.prototype.seekState = function seekState(newState) {\n\t _mediator2.default.trigger(this.instanceId + ':seekstate', newState);\n\t };\n\t\n\t HLSEvents.prototype.switch = function _switch(newLevel) {\n\t _mediator2.default.trigger(this.instanceId + ':levelchanged', newLevel);\n\t };\n\t\n\t HLSEvents.prototype.audioTracksListChange = function audioTracksListChange(trackList) {\n\t _mediator2.default.trigger(this.instanceId + ':audiotracklistchanged', trackList);\n\t };\n\t\n\t HLSEvents.prototype.audioTrackChange = function audioTrackChange(trackId) {\n\t _mediator2.default.trigger(this.instanceId + ':audiotrackchanged', trackId);\n\t };\n\t\n\t return HLSEvents;\n\t}();\n\n\texports.default = HLSEvents;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 101 */\n/*!**********************************!*\\\n !*** ./src/playbacks/hls/hls.js ***!\n \\**********************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _html5_video = __webpack_require__(/*! playbacks/html5_video */ 22);\n\t\n\tvar _html5_video2 = _interopRequireDefault(_html5_video);\n\t\n\tvar _hls = __webpack_require__(/*! hls.js */ 63);\n\t\n\tvar _hls2 = _interopRequireDefault(_hls);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _log = __webpack_require__(/*! plugins/log */ 25);\n\t\n\tvar _log2 = _interopRequireDefault(_log);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar AUTO = -1;\n\t\n\tvar HLS = function (_HTML5VideoPlayback) {\n\t _inherits(HLS, _HTML5VideoPlayback);\n\t\n\t _createClass(HLS, [{\n\t key: 'name',\n\t get: function get() {\n\t return 'hls';\n\t }\n\t }, {\n\t key: 'levels',\n\t get: function get() {\n\t return this._levels || [];\n\t }\n\t }, {\n\t key: 'currentLevel',\n\t get: function get() {\n\t if (this._currentLevel === null || this._currentLevel === undefined) {\n\t return AUTO;\n\t } else {\n\t return this._currentLevel; //0 is a valid level ID\n\t }\n\t },\n\t set: function set(id) {\n\t this._currentLevel = id;\n\t this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);\n\t this.hls.currentLevel = this._currentLevel;\n\t }\n\t }]);\n\t\n\t function HLS(options) {\n\t _classCallCheck(this, HLS);\n\t\n\t var _this = _possibleConstructorReturn(this, _HTML5VideoPlayback.call(this, options));\n\t\n\t _this.minDvrSize = options.hlsMinimumDvrSize === undefined ? 60 : options.hlsMinimumDvrSize;\n\t _this.playbackType = _playback2.default.VOD;\n\t // for hls streams which have dvr with a sliding window,\n\t // the content at the start of the playlist is removed as new\n\t // content is appended at the end.\n\t // this means the actual playable start time will increase as the\n\t // start content is deleted\n\t // For streams with dvr where the entire recording is kept from the\n\t // beginning this should stay as 0\n\t _this.playableRegionStartTime = 0;\n\t // if content is removed from the beginning then this empty area should\n\t // be ignored. \"playableRegionDuration\" does not consider this\n\t _this.playableRegionDuration = 0;\n\t options.autoPlay && _this.setupHls();\n\t _this.recoverAttemptsRemaining = options.hlsRecoverAttempts || 16;\n\t return _this;\n\t }\n\t\n\t HLS.prototype.setupHls = function setupHls() {\n\t var _this2 = this;\n\t\n\t this.hls = new _hls2.default(this.options.hlsjsConfig || {});\n\t this.hls.on(_hls2.default.Events.MEDIA_ATTACHED, function () {\n\t return _this2.hls.loadSource(_this2.options.src);\n\t });\n\t this.hls.on(_hls2.default.Events.LEVEL_LOADED, function (evt, data) {\n\t return _this2.updatePlaybackType(evt, data);\n\t });\n\t this.hls.on(_hls2.default.Events.LEVEL_UPDATED, function (evt, data) {\n\t return _this2.onLevelUpdated(evt, data);\n\t });\n\t this.hls.on(_hls2.default.Events.LEVEL_SWITCH, function (evt, data) {\n\t return _this2.onLevelSwitch(evt, data);\n\t });\n\t this.hls.on(_hls2.default.Events.FRAG_LOADED, function (evt, data) {\n\t return _this2.onFragmentLoaded(evt, data);\n\t });\n\t this.hls.on(_hls2.default.Events.ERROR, function (evt, data) {\n\t return _this2.onError(evt, data);\n\t });\n\t this.hls.attachMedia(this.el);\n\t };\n\t\n\t HLS.prototype.recover = function recover() {\n\t if (!this._recoveredDecodingError) {\n\t this._recoveredDecodingError = true;\n\t this.hls.recoverMediaError();\n\t } else if (!this._recoveredAudioCodecError) {\n\t this._recoveredAudioCodecError = true;\n\t this.hls.swapAudioCodec();\n\t this.hls.recoverMediaError();\n\t } else {\n\t _log2.default.error(\"hlsjs: failed to recover\");\n\t this.trigger(_events2.default.PLAYBACK_ERROR, 'hlsjs: could not recover from error, evt ' + evt + ', data ' + data + ' ', this.name);\n\t }\n\t };\n\t\n\t // override\n\t\n\t\n\t HLS.prototype.setupSrc = function setupSrc(srcUrl) {}\n\t // this playback manages the src on the video element itself\n\t\n\t\n\t // the duration on the video element itself should not be used\n\t // as this does not necesarily represent the duration of the stream\n\t // https://github.com/clappr/clappr/issues/668#issuecomment-157036678\n\t ;\n\t\n\t HLS.prototype.getDuration = function getDuration() {\n\t return this.playableRegionDuration;\n\t };\n\t\n\t HLS.prototype.getCurrentTime = function getCurrentTime() {\n\t return this.el.currentTime - this.playableRegionStartTime;\n\t };\n\t\n\t // the time that \"0\" now represents relative to when playback started\n\t // for a stream with a sliding window this will increase as content is\n\t // removed from the beginning\n\t\n\t\n\t HLS.prototype.getStartTimeOffset = function getStartTimeOffset() {\n\t return this.playableRegionStartTime;\n\t };\n\t\n\t HLS.prototype.seekPercentage = function seekPercentage(percentage) {\n\t var seekTo = this.playableRegionDuration;\n\t if (percentage > 0) {\n\t seekTo = this.playableRegionDuration * (percentage / 100);\n\t }\n\t this.seek(seekTo);\n\t };\n\t\n\t HLS.prototype.seek = function seek(time) {\n\t if (time < 0) {\n\t _log2.default.warn(\"Attempt to seek to a negative time. Resetting to live point. Use seekToLivePoint() to seek to the live point.\");\n\t time = this.getDuration();\n\t }\n\t // assume live if time within 3 seconds of end of stream\n\t this.dvrEnabled && this.updateDvr(time < this.getDuration() - 3);\n\t time += this.playableRegionStartTime;\n\t _HTML5VideoPlayback.prototype.seek.call(this, time);\n\t };\n\t\n\t HLS.prototype.seekToLivePoint = function seekToLivePoint() {\n\t this.seek(this.getDuration());\n\t };\n\t\n\t HLS.prototype.updateDvr = function updateDvr(status) {\n\t this.trigger(_events2.default.PLAYBACK_DVR, status);\n\t this.trigger(_events2.default.PLAYBACK_STATS_ADD, { 'dvr': status });\n\t };\n\t\n\t HLS.prototype.updateSettings = function updateSettings() {\n\t if (this.playbackType === _playback2.default.VOD) {\n\t this.settings.left = [\"playpause\", \"position\", \"duration\"];\n\t } else if (this.dvrEnabled) {\n\t this.settings.left = [\"playpause\"];\n\t } else {\n\t this.settings.left = [\"playstop\"];\n\t }\n\t this.settings.seekEnabled = this.isSeekEnabled();\n\t this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n\t };\n\t\n\t HLS.prototype.onError = function onError(evt, data) {\n\t if (data && data.fatal && this.recoverAttemptsRemaining > 0) {\n\t this.recoverAttemptsRemaining -= 1;\n\t switch (data.type) {\n\t case _hls2.default.ErrorTypes.NETWORK_ERROR:\n\t _log2.default.warn('hlsjs: trying to recover from network error, evt ' + evt + ', data ' + data + ' ');\n\t this.hls.startLoad();\n\t break;\n\t case _hls2.default.ErrorTypes.MEDIA_ERROR:\n\t _log2.default.warn('hlsjs: trying to recover from media error, evt ' + evt + ', data ' + data + ' ');\n\t this.recover();\n\t break;\n\t default:\n\t _log2.default.error('hlsjs: trying to recover from media error, evt ' + evt + ', data ' + data + ' ');\n\t this.trigger(_events2.default.PLAYBACK_ERROR, 'hlsjs: could not recover from error, evt ' + evt + ', data ' + data + ' ', this.name);\n\t break;\n\t }\n\t }\n\t };\n\t\n\t HLS.prototype.onTimeUpdate = function onTimeUpdate() {\n\t this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: this.getCurrentTime(), total: this.getDuration() }, this.name);\n\t };\n\t\n\t HLS.prototype.play = function play() {\n\t if (!this.hls) {\n\t this.setupHls();\n\t }\n\t _HTML5VideoPlayback.prototype.play.call(this);\n\t };\n\t\n\t HLS.prototype.pause = function pause() {\n\t _HTML5VideoPlayback.prototype.pause.call(this);\n\t if (this.dvrEnabled) {\n\t this.updateDvr(true);\n\t }\n\t };\n\t\n\t HLS.prototype.stop = function stop() {\n\t _HTML5VideoPlayback.prototype.stop.call(this);\n\t if (this.hls) {\n\t this.hls.destroy();\n\t delete this.hls;\n\t }\n\t };\n\t\n\t HLS.prototype.updatePlaybackType = function updatePlaybackType(evt, data) {\n\t this.playbackType = data.details.live ? _playback2.default.LIVE : _playback2.default.VOD;\n\t this.fillLevels();\n\t this.onLevelUpdated(evt, data);\n\t };\n\t\n\t HLS.prototype.fillLevels = function fillLevels() {\n\t this._levels = this.hls.levels.map(function (level, index) {\n\t return { id: index, level: level, label: level.bitrate / 1000 + 'Kbps'\n\t };\n\t });\n\t this.trigger(_events2.default.PLAYBACK_LEVELS_AVAILABLE, this._levels);\n\t };\n\t\n\t HLS.prototype.onLevelUpdated = function onLevelUpdated(evt, data) {\n\t var fragments = data.details.fragments;\n\t if (fragments.length > 0) {\n\t this.playableRegionStartTime = fragments[0].start;\n\t }\n\t var newDuration = data.details.totalduration;\n\t\n\t // if it's a live stream then shorten the duration to remove access\n\t // to the area after hlsjs's live sync point\n\t // seeks to areas after this point sometimes have issues\n\t if (this.playbackType === _playback2.default.LIVE) {\n\t var currentLevel = this.hls.levels[data.level];\n\t var fragmentTargetDuration = currentLevel.details.targetduration;\n\t var hlsjsConfig = this.options.hlsjsConfig || {};\n\t var liveSyncDurationCount = hlsjsConfig.liveSyncDurationCount || _hls2.default.DefaultConfig.liveSyncDurationCount;\n\t var hiddenAreaDuration = fragmentTargetDuration * liveSyncDurationCount;\n\t if (hiddenAreaDuration <= newDuration) {\n\t newDuration -= hiddenAreaDuration;\n\t }\n\t }\n\t if (newDuration !== this.playableRegionDuration) {\n\t this.playableRegionDuration = newDuration;\n\t this.onDurationChange();\n\t }\n\t };\n\t\n\t HLS.prototype.onFragmentLoaded = function onFragmentLoaded(evt, data) {\n\t this.trigger(_events2.default.PLAYBACK_FRAGMENT_LOADED, data);\n\t };\n\t\n\t HLS.prototype.onLevelSwitch = function onLevelSwitch(evt, data) {\n\t if (!this.levels.length) {\n\t this.fillLevels();\n\t }\n\t this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_END);\n\t this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH, data);\n\t var currentLevel = this.hls.levels[data.level];\n\t if (currentLevel) {\n\t this.highDefinition = currentLevel.height >= 720 || currentLevel.bitrate / 1000 >= 2000;\n\t this.trigger(_events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n\t this.trigger(_events2.default.PLAYBACK_BITRATE, {\n\t height: currentLevel.height,\n\t width: currentLevel.width,\n\t bandwidth: currentLevel.bandwidth,\n\t bitrate: currentLevel.bitrate,\n\t level: data.level\n\t });\n\t }\n\t };\n\t\n\t HLS.prototype.getPlaybackType = function getPlaybackType() {\n\t return this.playbackType;\n\t };\n\t\n\t HLS.prototype.isSeekEnabled = function isSeekEnabled() {\n\t return this.playbackType === _playback2.default.VOD || this.dvrEnabled;\n\t };\n\t\n\t _createClass(HLS, [{\n\t key: 'dvrEnabled',\n\t get: function get() {\n\t return this.playableRegionDuration >= this.minDvrSize && this.getPlaybackType() === _playback2.default.LIVE;\n\t }\n\t }]);\n\t\n\t return HLS;\n\t}(_html5_video2.default);\n\t\n\texports.default = HLS;\n\t\n\t\n\tHLS.canPlay = function (resource, mimeType) {\n\t var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n\t var isHls = resourceParts.length > 1 && resourceParts[1] === \"m3u8\" || mimeType === 'application/x-mpegURL' || mimeType === 'application/vnd.apple.mpegurl';\n\t\n\t return !!(_hls2.default.isSupported() && isHls && !_browser2.default.isSafari);\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 102 */\n/*!**************************************************!*\\\n !*** ./src/playbacks/html5_audio/html5_audio.js ***!\n \\**************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _html5_video = __webpack_require__(/*! playbacks/html5_video */ 22);\n\t\n\tvar _html5_video2 = _interopRequireDefault(_html5_video);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.find */ 14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar HTML5Audio = function (_HTML5Video) {\n\t _inherits(HTML5Audio, _HTML5Video);\n\t\n\t function HTML5Audio() {\n\t _classCallCheck(this, HTML5Audio);\n\t\n\t return _possibleConstructorReturn(this, _HTML5Video.apply(this, arguments));\n\t }\n\t\n\t HTML5Audio.prototype.updateSettings = function updateSettings() {\n\t this.settings.left = [\"playpause\", \"position\", \"duration\"];\n\t this.settings.seekEnabled = this.isSeekEnabled();\n\t this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n\t };\n\t\n\t HTML5Audio.prototype.getPlaybackType = function getPlaybackType() {\n\t return _playback2.default.AOD;\n\t };\n\t\n\t _createClass(HTML5Audio, [{\n\t key: 'name',\n\t get: function get() {\n\t return 'html5_audio';\n\t }\n\t }, {\n\t key: 'tagName',\n\t get: function get() {\n\t return 'audio';\n\t }\n\t }]);\n\t\n\t return HTML5Audio;\n\t}(_html5_video2.default);\n\t\n\texports.default = HTML5Audio;\n\t\n\t\n\tHTML5Audio.canPlay = function (resourceUrl, mimeType) {\n\t var mimetypes = {\n\t 'wav': ['audio/wav'],\n\t 'mp3': ['audio/mp3', 'audio/mpeg;codecs=\"mp3\"'],\n\t 'aac': ['audio/mp4;codecs=\"mp4a.40.5\"'],\n\t 'oga': ['audio/ogg']\n\t };\n\t return _html5_video2.default._canPlay('audio', mimetypes, resourceUrl, mimeType);\n\t};\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 103 */\n/*!**************************************************!*\\\n !*** ./src/playbacks/html5_video/html5_video.js ***!\n \\**************************************************/\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _utils = __webpack_require__(/*! base/utils */ 2);\n\t\n\tvar _playback = __webpack_require__(/*! base/playback */ 7);\n\t\n\tvar _playback2 = _interopRequireDefault(_playback);\n\t\n\tvar _template = __webpack_require__(/*! base/template */ 9);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tvar _styler = __webpack_require__(/*! base/styler */ 8);\n\t\n\tvar _styler2 = _interopRequireDefault(_styler);\n\t\n\tvar _browser = __webpack_require__(/*! components/browser */ 11);\n\t\n\tvar _browser2 = _interopRequireDefault(_browser);\n\t\n\tvar _events = __webpack_require__(/*! base/events */ 1);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tvar _style = __webpack_require__(/*! ./public/style.scss */ 130);\n\t\n\tvar _style2 = _interopRequireDefault(_style);\n\t\n\tvar _index = __webpack_require__(/*! ./public/index.html */ 140);\n\t\n\tvar _index2 = _interopRequireDefault(_index);\n\t\n\tvar _lodash = __webpack_require__(/*! lodash.find */ 14);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 2014 Globo.com Player authors. All rights reserved.\n\t// Use of this source code is governed by a BSD-style\n\t// license that can be found in the LICENSE file.\n\t\n\tvar MIMETYPES = {\n\t 'mp4': [\"avc1.42E01E\", \"avc1.58A01E\", \"avc1.4D401E\", \"avc1.64001E\", \"mp4v.20.8\", \"mp4v.20.240\", \"mp4a.40.2\"].map(function (codec) {\n\t return 'video/mp4; codecs=\"' + codec + ', mp4a.40.2\"';\n\t }),\n\t 'ogg': ['video/ogg; codecs=\"theora, vorbis\"', 'video/ogg; codecs=\"dirac\"', 'video/ogg; codecs=\"theora, speex\"'],\n\t '3gpp': ['video/3gpp; codecs=\"mp4v.20.8, samr\"'],\n\t 'webm': ['video/webm; codecs=\"vp8, vorbis\"'],\n\t 'mkv': ['video/x-matroska; codecs=\"theora, vorbis\"'],\n\t 'm3u8': ['application/x-mpegurl']\n\t};\n\tMIMETYPES['ogv'] = MIMETYPES['ogg'];\n\tMIMETYPES['3gp'] = MIMETYPES['3gpp'];\n\t\n\tvar HTML5Video = function (_Playback) {\n\t _inherits(HTML5Video, _Playback);\n\t\n\t _createClass(HTML5Video, [{\n\t key: 'name',\n\t get: function get() {\n\t return 'html5_video';\n\t }\n\t }, {\n\t key: 'tagName',\n\t get: function get() {\n\t return 'video';\n\t }\n\t }, {\n\t key: 'template',\n\t get: function get() {\n\t return (0, _template2.default)(_index2.default);\n\t }\n\t }, {\n\t key: 'attributes',\n\t get: function get() {\n\t return {\n\t 'data-html5-video': ''\n\t };\n\t }\n\t }, {\n\t key: 'events',\n\t get: function get() {\n\t return {\n\t 'canplay': 'onCanPlay',\n\t 'canplaythrough': 'handleBufferingEvents',\n\t 'durationchange': 'onDurationChange',\n\t 'ended': 'onEnded',\n\t 'error': 'onError',\n\t 'loadeddata': 'onLoadedData',\n\t 'loadedmetadata': 'onLoadedMetadata',\n\t 'pause': 'onPause',\n\t 'playing': 'onPlaying',\n\t 'progress': 'onProgress',\n\t 'seeked': 'handleBufferingEvents',\n\t 'seeking': 'handleBufferingEvents',\n\t 'stalled': 'handleBufferingEvents',\n\t 'timeupdate': 'onTimeUpdate',\n\t 'waiting': 'onWaiting'\n\t };\n\t }\n\t\n\t /**\n\t * Determine if the playback has ended.\n\t * @property ended\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'ended',\n\t get: function get() {\n\t return this.el.ended;\n\t }\n\t\n\t /**\n\t * Determine if the playback is having to buffer in order for\n\t * playback to be smooth.\n\t * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n\t * @property buffering\n\t * @type Boolean\n\t */\n\t\n\t }, {\n\t key: 'buffering',\n\t get: function get() {\n\t return !!this.bufferingState;\n\t }\n\t }]);\n\t\n\t function HTML5Video(options) {\n\t _classCallCheck(this, HTML5Video);\n\t\n\t var _this = _possibleConstructorReturn(this, _Playback.call(this, options));\n\t\n\t _this.loadStarted = false;\n\t _this.playheadMoving = false;\n\t _this.playheadMovingTimer = null;\n\t _this.stopped = false;\n\t _this.options = options;\n\t _this.setupSrc(options.src);\n\t _this.el.loop = options.loop;\n\t if (options.poster) {\n\t _this.$el.attr(\"poster\", options.poster);\n\t }\n\t _this.el.autoplay = options.autoPlay;\n\t if (_browser2.default.isSafari) {\n\t _this.setupSafari();\n\t } else {\n\t _this.el.preload = options.preload ? options.preload : 'metadata';\n\t _this.settings.seekEnabled = true;\n\t }\n\t _this.settings = { default: ['seekbar'] };\n\t _this.settings.left = [\"playpause\", \"position\", \"duration\"];\n\t _this.settings.right = [\"fullscreen\", \"volume\", \"hd-indicator\"];\n\t return _this;\n\t }\n\t\n\t /**\n\t * Sets the source url on the