ThinkAdmin/public/static/plugs/jquery/artplayer.min.js
2023-04-09 18:02:37 +08:00

11 lines
151 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(o,e,t,i){var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},s="function"==typeof n[i]&&n[i],l=s.cache||{},c="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function p(r,e){if(!l[r]){if(!o[r]){var t="function"==typeof n[i]&&n[i];if(!e&&t)return t(r,!0);if(s)return s(r,!0);if(c&&"string"==typeof r)return c(r);e=new Error("Cannot find module '"+r+"'");throw e.code="MODULE_NOT_FOUND",e}a.resolve=function(e){var t=o[r][1][e];return null!=t?t:e},a.cache={};t=l[r]=new p.Module(r);o[r][0].call(t.exports,a,t,t.exports,this)}return l[r].exports;function a(e){e=a.resolve(e);return!1===e?{}:p(e)}}p.isParcelRequire=!0,p.Module=function(e){this.id=e,this.bundle=p,this.exports={}},p.modules=o,p.cache=l,p.parent=s,p.register=function(e,r){o[e]=[function(e,t){t.exports=r},{}]},Object.defineProperty(p,"root",{get:function(){return n[i]}}),n[i]=p;for(var r=0;r<e.length;r++)p(e[r]);var a=p(t);"object"==typeof exports&&"undefined"!=typeof module?module.exports=a:"function"==typeof define&&define.amd&&define(function(){return a})}({"5lTcX":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("bundle-text:./style/index.less")),o=a.interopDefault(o),i=e("option-validator"),n=a.interopDefault(i),i=e("./utils/emitter"),s=a.interopDefault(i),l=e("./utils"),i=e("./scheme"),c=a.interopDefault(i),i=e("./config"),p=a.interopDefault(i),i=e("./whitelist"),u=a.interopDefault(i),i=e("./template"),d=a.interopDefault(i),i=e("./i18n"),f=a.interopDefault(i),i=e("./player"),h=a.interopDefault(i),i=e("./control"),m=a.interopDefault(i),i=e("./contextmenu"),g=a.interopDefault(i),i=e("./info"),y=a.interopDefault(i),i=e("./subtitle"),v=a.interopDefault(i),i=e("./events"),b=a.interopDefault(i),i=e("./hotkey"),x=a.interopDefault(i),i=e("./layer"),w=a.interopDefault(i),i=e("./loading"),j=a.interopDefault(i),i=e("./notice"),k=a.interopDefault(i),i=e("./mask"),S=a.interopDefault(i),i=e("./icons"),I=a.interopDefault(i),i=e("./setting"),C=a.interopDefault(i),i=e("./storage"),E=a.interopDefault(i),i=e("./plugins"),P=a.interopDefault(i),i=e("./mobile"),T=a.interopDefault(i);let M=0;const F=[];class $ extends s.default{constructor(t,e){super(),this.id=++M;t=l.mergeDeep($.option,t);if(this.option=(0,n.default)(t,c.default),this.isLock=!1,this.isReady=!1,this.isFocus=!1,this.isInput=!1,this.isRotate=!1,this.isDestroy=!1,this.whitelist=new u.default(this),this.template=new d.default(this),this.events=new b.default(this),this.whitelist.state?(this.storage=new E.default(this),this.icons=new I.default(this),this.i18n=new f.default(this),this.notice=new k.default(this),this.player=new h.default(this),this.layers=new w.default(this),this.controls=new m.default(this),this.contextmenu=new g.default(this),this.subtitle=new v.default(this),this.info=new y.default(this),this.loading=new j.default(this),this.hotkey=new x.default(this),this.mask=new S.default(this),this.setting=new C.default(this),this.plugins=new P.default(this)):this.mobile=new T.default(this),"function"==typeof e&&this.on("ready",()=>e.call(this,this)),$.DEBUG){for(let e=0;e<p.default.events.length;e++)this.on("video:"+p.default.events[e],e=>t("Event@"+e.type))}F.push(this)}static get instances(){return F}static get version(){return"4.6.2"}static get env(){return"production"}static get build(){return"2023-01-26 15:26:58"}static get config(){return p.default}static get utils(){return l}static get scheme(){return c.default}static get Emitter(){return s.default}static get validator(){return n.default}static get kindOf(){return n.default.kindOf}static get html(){return d.default.html}static get option(){return{id:"",container:"#artplayer",url:"",poster:"",title:"",type:"",theme:"#f00",volume:.7,isLive:!1,muted:!1,autoplay:!1,autoSize:!1,autoMini:!1,loop:!1,flip:!1,playbackRate:!1,aspectRatio:!1,screenshot:!1,setting:!1,hotkey:!0,pip:!1,mutex:!0,backdrop:!0,fullscreen:!1,fullscreenWeb:!1,subtitleOffset:!1,miniProgressBar:!1,useSSR:!1,playsInline:!0,lock:!1,fastForward:!1,autoPlayback:!1,autoOrientation:!1,airplay:!1,layers:[],contextmenu:[],controls:[],settings:[],quality:[],highlight:[],plugins:[],whitelist:[],thumbnails:{url:"",number:60,column:10,width:0,height:0},subtitle:{url:"",type:"",style:{},escape:!0,encoding:"utf-8"},moreVideoAttr:{controls:!1,preload:l.isSafari?"auto":"metadata"},i18n:{},icons:{},customType:{},lang:navigator.language.toLowerCase()}}get proxy(){return this.events.proxy}get query(){return this.template.query}get video(){return this.template.$video}destroy(e=!0){this.events.destroy(),this.template.destroy(e),F.splice(F.indexOf(this),1),this.isDestroy=!0,this.emit("destroy")}}if((r.default=$).DEBUG=!1,$.CONTEXTMENU=!0,$.NOTICE_TIME=2e3,$.SETTING_WIDTH=250,$.SETTING_ITEM_WIDTH=200,$.SETTING_ITEM_HEIGHT=35,$.INDICATOR_SIZE=14,$.INDICATOR_SIZE_ICON=16,$.INDICATOR_SIZE_MOBILE=18,$.INDICATOR_SIZE_MOBILE_ICON=20,$.VOLUME_PANEL_WIDTH=60,$.VOLUME_HANDLE_WIDTH=12,$.RESIZE_TIME=500,$.SCROLL_TIME=200,$.SCROLL_GAP=50,$.AUTO_PLAYBACK_MAX=10,$.AUTO_PLAYBACK_MIN=5,$.AUTO_PLAYBACK_TIMEOUT=3e3,$.RECONNECT_TIME_MAX=5,$.RECONNECT_SLEEP_TIME=1e3,$.CONTROL_HIDE_TIME=3e3,$.DB_CLICE_TIME=300,$.MOBILE_AUTO_PLAYBACKRATE=3,$.MOBILE_AUTO_PLAYBACKRATE_TIME=1e3,$.MOBILE_AUTO_ORIENTATION_TIME=200,$.INFO_LOOP_TIME=1e3,$.FAST_FORWARD_VALUE=3,$.FAST_FORWARD_TIME=1e3,$.TOUCH_MOVE_RATIO=.5,$.VOLUME_STEP=.1,$.SEEK_STEP=5,$.PROGRESS_HEIGHT=6,$.PLAYBACK_RATE=[.5,.75,1,1.25,1.5,2],$.ASPECT_RATIO=["default","4:3","16:9"],$.FLIP=["normal","horizontal","vertical"],$.FULLSCREEN_WEB_IN_BODY=!1,"undefined"!=typeof document&&!document.getElementById("artplayer-style")){const e=l.createElement("style");e.id="artplayer-style",e.textContent=o.default,document.head.appendChild(e)}"undefined"!=typeof window&&(window.Artplayer=$)},{"bundle-text:./style/index.less":"0016T","option-validator":"bAWi2","./utils/emitter":"66mFZ","./utils":"71aH7","./scheme":"AKEiO","./config":"lyjeQ","./whitelist":"9L0ao","./template":"X13Zf","./i18n":"3jKkj","./player":"a90nx","./control":"8Z0Uf","./contextmenu":"2KYsr","./info":"02ajl","./subtitle":"eSWto","./events":"jo4S1","./hotkey":"6NoFy","./layer":"6G6hZ","./loading":"3dsEe","./notice":"dWGTw","./mask":"5POkG","./icons":"6OeNg","./setting":"3eYNH","./storage":"2aaJe","./plugins":"8MTUM","./mobile":"7mil2","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"0016T":[function(e,t,r){t.exports='.art-video-player{z-index:20;width:100%;height:100%;zoom:1;color:#eee;text-align:left;direction:ltr;user-select:none;-webkit-tap-highlight-color:#0000;touch-action:manipulation;-ms-high-contrast-adjust:none;background-color:#000;outline:0;margin:0 auto;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.3;display:flex;position:relative}.art-video-player *,.art-video-player :before,.art-video-player :after{box-sizing:border-box;margin:0;padding:0}.art-video-player ::-webkit-scrollbar{width:5px;height:5px}.art-video-player ::-webkit-scrollbar-thumb{background-color:#666}.art-video-player ::-webkit-scrollbar-thumb:hover{background-color:#ccc}.art-video-player .art-icon{justify-content:center;align-items:center;line-height:1.5;display:inline-flex}.art-video-player .art-icon svg{fill:#fff}.art-video-player img{max-width:100%;vertical-align:top}@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)){.art-video-player .art-backdrop-filter{-webkit-backdrop-filter:saturate(180%)blur(20px);backdrop-filter:saturate(180%)blur(20px);background-color:#000000b3!important}}.art-video-player .art-video{z-index:10;width:100%;height:100%;cursor:pointer;background-color:#000;position:absolute;inset:0}.art-video-player .art-poster{z-index:11;width:100%;height:100%;user-select:none;pointer-events:none;background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.art-video-player .art-subtitle{z-index:20;width:100%;text-align:center;color:#fff;pointer-events:none;text-shadow:1px 0 1px #000,0 1px 1px #000,-1px 0 1px #000,0 -1px 1px #000,1px 1px 1px #000,-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000;padding:0 20px;font-size:20px;transition:bottom .2s;display:none;position:absolute;bottom:10px}.art-video-player .art-subtitle p{word-break:break-all;height:fit-content;margin:5px 0 0;line-height:1.2}.art-video-player.art-subtitle-show .art-subtitle{display:block}.art-video-player.art-control-show .art-subtitle{bottom:50px}.art-video-player .art-danmuku{z-index:30;width:100%;height:100%;pointer-events:none;position:absolute;inset:0;overflow:hidden}.art-video-player .art-layers{z-index:40;width:100%;height:100%;pointer-events:none;display:none;position:absolute;inset:0;overflow:hidden}.art-video-player .art-layers .art-layer{pointer-events:auto}.art-video-player.art-layer-show .art-layers{display:block}.art-video-player .art-mask{z-index:50;width:100%;height:100%;pointer-events:none;justify-content:center;align-items:center;display:none;position:absolute;inset:0;overflow:hidden}.art-video-player .art-mask .art-state{width:60px;height:60px;opacity:.85;cursor:pointer;pointer-events:auto;justify-content:center;align-items:center;display:flex;position:absolute;bottom:65px;right:30px}.art-video-player.art-mask-show .art-mask{display:flex}.art-video-player.art-mobile .art-state{position:static}.art-video-player .art-loading{z-index:70;width:100%;height:100%;pointer-events:none;justify-content:center;align-items:center;display:none;position:absolute;inset:0}.art-video-player.art-loading-show .art-loading{display:flex}.art-video-player .art-bottom{z-index:60;height:100px;opacity:0;visibility:hidden;pointer-events:none;background-image:linear-gradient(#0000,#0006,#000);background-position:bottom;background-repeat:repeat-x;flex-direction:column;justify-content:space-between;padding:50px 10px 0;transition:all .2s ease-in-out;display:flex;position:absolute;bottom:0;left:0;right:0}.art-video-player .art-bottom .art-progress{z-index:0;pointer-events:auto;flex:1;position:relative}.art-video-player .art-bottom .art-progress .art-control-progress{height:4px;cursor:pointer;flex-direction:row;align-items:center;display:flex;position:relative}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner{height:50%;width:100%;background:#fff3;align-items:center;transition:all .2s;display:flex;position:relative}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-loaded{z-index:10;height:100%;width:0;background:#fff6;position:absolute;inset:0}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-played{z-index:20;height:100%;width:0;position:absolute;inset:0}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-highlight{z-index:30;height:100%;pointer-events:none;position:absolute;inset:0}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-highlight span{width:7px;height:100%;pointer-events:auto;background:#ffffff80;display:inline-block;position:absolute;top:0;left:0}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator{visibility:hidden;z-index:40;border-radius:50%;justify-content:center;align-items:center;transition:transform .1s ease-in-out;position:absolute;transform:scale(.1)}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator .art-icon{width:100%;height:100%;pointer-events:none;user-select:none}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator:hover{transform:scale(1.2)!important}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-tip{z-index:50;height:20px;color:#fff;text-align:center;white-space:nowrap;background:#000000b3;border-radius:3px;padding:0 5px;font-size:12px;font-weight:700;line-height:20px;display:none;position:absolute;top:-25px;left:0}.art-video-player .art-bottom .art-progress .art-control-thumbnails{pointer-events:none;background-color:#000000b3;border-radius:3px;display:none;position:absolute;bottom:10px;left:0;box-shadow:0 1px 3px #0003,0 1px 2px -1px #0003}.art-video-player .art-bottom .art-progress .art-control-loop{width:100%;height:100%;pointer-events:none;display:none;position:absolute;inset:0}.art-video-player .art-bottom .art-progress .art-control-loop .art-loop-point{width:2px;height:8px;background:#ffffffbf;position:absolute;top:-2px;left:0}.art-video-player .art-bottom .art-controls{z-index:1;pointer-events:auto;height:45px;justify-content:space-between;align-items:center;display:flex;position:relative}.art-video-player .art-bottom .art-controls .art-controls-left,.art-video-player .art-bottom .art-controls .art-controls-right{display:flex}.art-video-player .art-bottom .art-controls .art-controls-center{height:100%;flex:1;justify-content:center;align-items:center;padding:0 10px;display:flex}.art-video-player .art-bottom .art-controls .art-controls-right{justify-content:flex-end}.art-video-player .art-bottom .art-controls .art-control{opacity:.75;min-height:36px;min-width:36px;text-align:center;cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;font-size:12px;line-height:1;transition:opacity .1s ease-in-out;display:flex}.art-video-player .art-bottom .art-controls .art-control .art-icon{float:left;height:36px;width:36px;justify-content:center;align-items:center;transition:transform .2s ease-in-out;display:flex;transform:scale(1)}.art-video-player .art-bottom .art-controls .art-control .art-icon:active{transform:scale(.85)}.art-video-player .art-bottom .art-controls .art-control:hover{opacity:1}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel{float:left;width:0;height:100%;transition:margin .2s cubic-bezier(.4,0,1,1),width .2s cubic-bezier(.4,0,1,1);position:relative;overflow:hidden}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle{width:12px;height:12px;background:#fff;border-radius:12px;margin-top:-6px;position:absolute;top:50%;left:0}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:before{background:#fff;left:-54px}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:after{background:#fff3;left:6px}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:before,.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:after{content:"";height:3px;width:60px;margin-top:-2px;display:block;position:absolute;top:50%}.art-video-player .art-bottom .art-controls .art-control-volume:hover .art-volume-panel{width:60px}.art-video-player .art-bottom .art-controls .art-control-quality{z-index:30;position:relative}.art-video-player .art-bottom .art-controls .art-control-quality .art-qualitys{width:100px;text-align:center;color:#fff;background:#000c;border-radius:3px;padding:5px 0;display:none;position:absolute;bottom:35px}.art-video-player .art-bottom .art-controls .art-control-quality .art-qualitys .art-quality-item{height:30px;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 0 2px #00000080;line-height:30px;overflow:hidden}.art-video-player .art-bottom .art-controls .art-control-quality .art-qualitys .art-quality-item:hover{background-color:#ffffff1a}.art-video-player .art-bottom .art-controls .art-control-quality:hover .art-qualitys{display:block}.art-video-player .art-bottom:hover .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator{visibility:visible;transform:scale(1)}.art-video-player.art-control-show .art-bottom,.art-video-player.art-hover .art-bottom{opacity:1;visibility:visible}.art-video-player.art-error .art-progress-indicator,.art-video-player.art-destroy .art-progress-indicator,.art-video-player.art-error .art-progress-tip,.art-video-player.art-destroy .art-progress-tip{display:none!important}.art-video-player.art-mobile .art-bottom{height:105px;padding:50px 7px 0}.art-video-player.art-mobile .art-bottom .art-controls{height:40px}.art-video-player.art-mobile .art-bottom .art-progress-indicator{visibility:visible!important;transform:scale(1)!important}.art-video-player .art-notice{z-index:80;width:100%;pointer-events:none;padding:10px;font-size:14px;display:none;position:absolute;top:0;left:0}.art-video-player .art-notice .art-notice-inner{color:#fff;background-color:#0009;border-radius:3px;padding:5px 10px;display:inline-block}.art-video-player.art-notice-show .art-notice{display:flex}.art-video-player .art-contextmenus{z-index:120;min-width:200px;background-color:#000000e6;border-radius:3px;flex-direction:column;padding:5px 0;display:none;position:absolute;top:10px;left:10px}.art-video-player .art-contextmenus .art-contextmenu{cursor:pointer;color:#fff;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 0 2px #00000080;border-bottom:1px solid #ffffff1a;padding:10px 15px;font-size:12px;display:block;overflow:hidden}.art-video-player .art-contextmenus .art-contextmenu a{color:#fff;text-decoration:none}.art-video-player .art-contextmenus .art-contextmenu span{padding:0 7px;display:inline-block}.art-video-player .art-contextmenus .art-contextmenu span:hover,.art-video-player .art-contextmenus .art-contextmenu span.art-current{color:var(--theme)}.art-video-player .art-contextmenus .art-contextmenu:hover{background-color:#ffffff1a}.art-video-player .art-contextmenus .art-contextmenu:last-child{border-bottom:none}.art-video-player.art-contextmenu-show .art-contextmenus{display:flex}.art-video-player .art-settings{z-index:90;height:auto;max-height:300px;background-color:#000000e6;border-radius:3px;font-size:13px;transition:all .2s;display:none;position:absolute;bottom:60px;left:0;overflow:auto}.art-video-player .art-settings .art-setting-panel{display:none}.art-video-player .art-settings .art-setting-panel.art-current{display:block}.art-video-player .art-settings .art-setting-panel .art-setting-item{height:35px;cursor:pointer;color:#fffc;justify-content:space-between;align-items:center;padding:0 5px;line-height:1;display:flex;overflow:hidden}.art-video-player .art-settings .art-setting-panel .art-setting-item:hover{color:#fff;background-color:#ffffff1a}.art-video-player .art-settings .art-setting-panel .art-setting-item.art-current{color:var(--theme)}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-icon{width:30px;height:30px;justify-content:center;align-items:center;display:flex}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-icon-check{visibility:hidden;height:15px}.art-video-player .art-settings .art-setting-panel .art-setting-item.art-current .art-icon-check{visibility:visible}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-setting-item-left{white-space:nowrap;align-items:center;display:flex}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-setting-item-left .art-setting-item-left-icon{height:24px;width:24px;justify-content:center;align-items:center;margin-right:10px;display:flex}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-setting-item-right{align-items:center;display:flex}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-setting-item-right .art-setting-item-right-tooltip{white-space:nowrap;color:#ffffff80;margin-right:5px;font-size:12px}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-setting-item-right .art-setting-item-right-icon{height:24px;justify-content:center;align-items:center;display:flex}.art-video-player .art-settings .art-setting-panel .art-setting-item .art-setting-item-right .art-setting-range{height:3px;width:80px;appearance:none;background-color:#fff3;outline:none}.art-video-player .art-settings .art-setting-panel .art-setting-item-back{border-bottom:1px solid #ffffff1a}.art-video-player.art-setting-show .art-settings{display:block}.art-video-player.art-mobile .art-settings{max-height:200px}.art-video-player .art-info{z-index:100;width:350px;color:#fff;-webkit-font-smoothing:antialiased;background-color:#000000e6;flex-direction:column;padding:10px;font-family:Noto Sans CJK SC DemiLight,Roboto,Segoe UI,Tahoma,Arial,Helvetica,sans-serif;font-size:12px;display:none;position:absolute;top:10px;left:10px}.art-video-player .art-info .art-info-item{margin-bottom:5px;display:flex}.art-video-player .art-info .art-info-item .art-info-title{width:100px;text-align:right}.art-video-player .art-info .art-info-item .art-info-content{text-overflow:ellipsis;white-space:nowrap;user-select:all;flex:1;padding-left:5px;overflow:hidden}.art-video-player .art-info .art-info-item:last-child{margin-bottom:0}.art-video-player .art-info .art-info-close{cursor:pointer;position:absolute;top:5px;right:5px}.art-video-player.art-info-show .art-info{display:flex}.art-video-player.art-hide-cursor *{cursor:none!important}.art-video-player[data-aspect-ratio] video{box-sizing:content-box;object-fit:fill}.art-video-player.art-fullscreen-web{z-index:9999;width:100%;height:100%;position:fixed;inset:0}.art-video-player .art-mini-header{z-index:110;height:35px;color:#fff;opacity:0;visibility:hidden;background-color:#00000080;justify-content:space-between;align-items:center;line-height:35px;transition:all .2s ease-in-out;display:none;position:absolute;top:0;left:0;right:0}.art-video-player .art-mini-header .art-mini-title{text-overflow:ellipsis;white-space:nowrap;cursor:move;flex:1;padding:0 10px;overflow:hidden}.art-video-player .art-mini-header .art-mini-close{width:35px;text-align:center;cursor:pointer;font-size:22px}.art-video-player.art-is-dragging{opacity:.7}.art-video-player.art-mini{z-index:9999;width:400px;height:225px;position:fixed;box-shadow:0 2px 5px #00000029,0 3px 6px #0003}.art-video-player.art-mini .art-mini-header{user-select:none;display:flex}.art-video-player.art-mini.art-hover .art-mini-header{opacity:1;visibility:visible}.art-video-player.art-mini .art-mask .art-state{position:static}.art-video-player.art-mini .art-contextmenu,.art-video-player.art-mini .art-bottom,.art-video-player.art-mini .art-danmu,.art-video-player.art-mini .art-info,.art-video-player.art-mini .art-layers,.art-video-player.art-mini .art-notice,.art-video-player.art-mini .art-settings,.art-video-player.art-mini .art-subtitle{display:none!important}.art-auto-size{justify-content:center;align-items:center;display:flex}.art-auto-size .art-video-player{transition:all .2s}.art-video-player[data-flip=horizontal] .art-video{transform:scaleX(-1)}.art-video-player[data-flip=vertical] .art-video{transform:scaleY(-1)}.art-video-player .art-layer-miniProgressBar{height:2px;background-color:var(--theme);display:block;position:absolute;bottom:0;left:0;right:0}.art-video-player .art-layer-lock{height:34px;width:34px;color:#fff;background-color:#00000080;border-radius:50%;justify-content:center;align-items:center;display:none;position:absolute;top:calc(50% - 17px);left:15px}.art-video-player .art-layer-autoPlayback{background-color:#000c;border-radius:3px;align-items:center;padding:10px;line-height:1;display:none;position:absolute;bottom:60px;left:20px}.art-video-player .art-layer-autoPlayback .art-autoPlayback-close{cursor:pointer;align-items:center;margin-right:10px;display:flex}.art-video-player .art-layer-autoPlayback .art-autoPlayback-close svg{width:15px;height:15px;fill:var(--theme)}.art-video-player .art-layer-autoPlayback .art-autoPlayback-last{margin-right:10px}.art-video-player .art-layer-autoPlayback .art-autoPlayback-jump{color:var(--theme);cursor:pointer}.art-video-player.art-lock .art-bottom{display:none!important}.art-video-player.art-lock .art-subtitle{bottom:10px!important}.art-video-player.art-lock .art-layer-miniProgressBar{display:block!important}.art-video-player.art-control-show .art-layer-miniProgressBar{display:none}.art-video-player.art-control-show .art-layer-lock{display:flex}.art-video-player .art-control-selector{position:relative}.art-video-player .art-control-selector .art-selector-list{min-width:100px;max-width:200px;max-height:200px;text-align:center;color:#fff;background-color:#000c;border-radius:3px;padding:5px 0;display:none;position:absolute;bottom:35px;overflow:auto}.art-video-player .art-control-selector .art-selector-list .art-selector-item{height:30px;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 0 2px #00000080;padding:0 5px;line-height:30px;overflow:hidden}.art-video-player .art-control-selector .art-selector-list .art-selector-item:hover{background-color:#ffffff1a}.art-video-player .art-control-selector .art-selector-list .art-selector-item:hover,.art-video-player .art-control-selector .art-selector-list .art-selector-item.art-current{color:var(--theme)}.art-video-player .art-control-selector:hover .art-selector-list{display:block}[class*=hint--]{font-style:normal;display:inline-block;position:relative}[class*=hint--]:before,[class*=hint--]:after{visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;transition:all .3s;position:absolute;transform:translate(0,0)}[class*=hint--]:hover:before,[class*=hint--]:hover:after{visibility:visible;opacity:1;transition-delay:.1s}[class*=hint--]:before{content:"";z-index:1000001;background:0 0;border:6px solid #0000;position:absolute}[class*=hint--]:after{color:#fff;white-space:nowrap;background:#000;padding:8px 10px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:12px;line-height:12px}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label=""]:before,[aria-label=""]:after,[data-hint=""]:before,[data-hint=""]:after{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#000}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#000}.hint--left:before{border-left-color:#000}.hint--right:before{border-right-color:#000}.hint--top:before{margin-bottom:-11px}.hint--top:before,.hint--top:after{bottom:100%;left:50%}.hint--top:before{left:calc(50% - 6px)}.hint--top:after{transform:translate(-50%)}.hint--top:hover:before{transform:translateY(-8px)}.hint--top:hover:after{transform:translate(-50%)translateY(-8px)}.hint--bottom:before{margin-top:-11px}.hint--bottom:before,.hint--bottom:after{top:100%;left:50%}.hint--bottom:before{left:calc(50% - 6px)}.hint--bottom:after{transform:translate(-50%)}.hint--bottom:hover:before{transform:translateY(8px)}.hint--bottom:hover:after{transform:translate(-50%)translateY(8px)}.hint--right:before{margin-bottom:-6px;margin-left:-11px}.hint--right:after{margin-bottom:-14px}.hint--right:before,.hint--right:after{bottom:50%;left:100%}.hint--right:hover:before,.hint--right:hover:after{transform:translate(8px)}.hint--left:before{margin-bottom:-6px;margin-right:-11px}.hint--left:after{margin-bottom:-14px}.hint--left:before,.hint--left:after{bottom:50%;right:100%}.hint--left:hover:before,.hint--left:hover:after{transform:translate(-8px)}.hint--top-left:before{margin-bottom:-11px}.hint--top-left:before,.hint--top-left:after{bottom:100%;left:50%}.hint--top-left:before{left:calc(50% - 6px)}.hint--top-left:after{margin-left:12px;transform:translate(-100%)}.hint--top-left:hover:before{transform:translateY(-8px)}.hint--top-left:hover:after{transform:translate(-100%)translateY(-8px)}.hint--top-right:before{margin-bottom:-11px}.hint--top-right:before,.hint--top-right:after{bottom:100%;left:50%}.hint--top-right:before{left:calc(50% - 6px)}.hint--top-right:after{margin-left:-12px;transform:translate(0)}.hint--top-right:hover:before,.hint--top-right:hover:after{transform:translateY(-8px)}.hint--bottom-left:before{margin-top:-11px}.hint--bottom-left:before,.hint--bottom-left:after{top:100%;left:50%}.hint--bottom-left:before{left:calc(50% - 6px)}.hint--bottom-left:after{margin-left:12px;transform:translate(-100%)}.hint--bottom-left:hover:before{transform:translateY(8px)}.hint--bottom-left:hover:after{transform:translate(-100%)translateY(8px)}.hint--bottom-right:before{margin-top:-11px}.hint--bottom-right:before,.hint--bottom-right:after{top:100%;left:50%}.hint--bottom-right:before{left:calc(50% - 6px)}.hint--bottom-right:after{margin-left:-12px;transform:translate(0)}.hint--bottom-right:hover:before,.hint--bottom-right:hover:after{transform:translateY(8px)}.hint--small:after,.hint--medium:after,.hint--large:after{white-space:normal;word-wrap:break-word;line-height:1.4em}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}[class*=hint--]:after{text-shadow:0 -1px #000;box-shadow:4px 4px 8px #0000004d}.hint--error:after{text-shadow:0 -1px #592726;background-color:#b34e4d}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{text-shadow:0 -1px #6c5328;background-color:#c09854}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{text-shadow:0 -1px #1a3c4d;background-color:#3986ac}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{text-shadow:0 -1px #1a321a;background-color:#458746}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{transform:translateY(-8px)}.hint--always.hint--top:after{transform:translate(-50%)translateY(-8px)}.hint--always.hint--top-left:before{transform:translateY(-8px)}.hint--always.hint--top-left:after{transform:translate(-100%)translateY(-8px)}.hint--always.hint--top-right:before,.hint--always.hint--top-right:after{transform:translateY(-8px)}.hint--always.hint--bottom:before{transform:translateY(8px)}.hint--always.hint--bottom:after{transform:translate(-50%)translateY(8px)}.hint--always.hint--bottom-left:before{transform:translateY(8px)}.hint--always.hint--bottom-left:after{transform:translate(-100%)translateY(8px)}.hint--always.hint--bottom-right:before,.hint--always.hint--bottom-right:after{transform:translateY(8px)}.hint--always.hint--left:before,.hint--always.hint--left:after{transform:translate(-8px)}.hint--always.hint--right:before,.hint--always.hint--right:after{transform:translate(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:before,.hint--no-animate:after{transition-duration:0s}.hint--bounce:before,.hint--bounce:after{-webkit-transition:opacity .3s,visibility .3s,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s,visibility .3s,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s,visibility .3s,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.hint--no-shadow:before,.hint--no-shadow:after{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none}'},{}],bAWi2:[function(e,t,r){t.exports=function(){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=Object.prototype.toString,l=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t,r=a(e);if("boolean"===r)return"boolean";if("string"===r)return"string";if("number"===r)return"number";if("symbol"===r)return"symbol";if("function"===r)return"GeneratorFunction"===i(e)?"generatorfunction":"function";if(t=e,Array.isArray?Array.isArray(t):t instanceof Array)return"array";if((t=e).constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return 1}catch(e){if(-1!==e.message.indexOf("callee"))return 1}}(e))return"arguments";if(e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate)return"date";if(e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit)return"error";if(e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global)return"regexp";switch(i(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if("function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next)return"generator";switch(r=o.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return r.slice(8,-1).toLowerCase().replace(/\s/g,"")};function i(e){return e.constructor?e.constructor.name:null}function c(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:["option"],i=(p(e,t,r),u(e,t,r),e),n=t,s=r,t=l(n),r=l(i);if("object"===t){if("object"!==r)throw new Error("[Type Error]: '".concat(s.join("."),"' require 'object' type, but got '").concat(r,"'"));Object.keys(n).forEach(function(e){var t=i[e],r=n[e],a=s.slice();a.push(e),p(t,r,a),u(t,r,a),c(t,r,a)})}if("array"===t){if("array"!==r)throw new Error("[Type Error]: '".concat(s.join("."),"' require 'array' type, but got '").concat(r,"'"));i.forEach(function(e,t){var r=i[t],a=n[t]||n[0],o=s.slice();o.push(t),p(r,a,o),u(r,a,o),c(r,a,o)})}return e}function p(e,t,r){if("string"===l(t)){var a=l(e);if(!(-1<(t="?"===t[0]?t.slice(1)+"|undefined":t).indexOf("|")?t.split("|").map(function(e){return e.toLowerCase().trim()}).filter(Boolean).some(function(e){return a===e}):t.toLowerCase().trim()===a))throw new Error("[Type Error]: '".concat(r.join("."),"' require '").concat(t,"' type, but got '").concat(a,"'"))}}function u(e,t,r){if("function"===l(t)){t=t(e,l(e),r);if(!0!==t)throw"string"===(e=l(t))?new Error(t):"error"===e?t:new Error("[Validator Error]: The scheme for '".concat(r.join("."),"' validator require return true, but got '").concat(t,"'"))}}return c.kindOf=l,c}()},{}],"66mFZ":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=class{on(e,t,r){const a=this.e||(this.e={});return(a[e]||(a[e]=[])).push({fn:t,ctx:r}),this}once(t,r,a){const o=this;function i(...e){o.off(t,i),r.apply(a,e)}return i._=r,this.on(t,i,a)}emit(e,...t){const r=((this.e||(this.e={}))[e]||[]).slice();for(let e=0;e<r.length;e+=1)r[e].fn.apply(r[e].ctx,t);return this}off(e,r){const t=this.e||(this.e={}),a=t[e],o=[];if(a&&r)for(let e=0,t=a.length;e<t;e+=1)a[e].fn!==r&&a[e].fn._!==r&&o.push(a[e]);return o.length?t[e]=o:delete t[e],this}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"9pCYc":[function(e,t,r){r.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},r.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.exportAll=function(t,r){return Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),r},r.export=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,get:r})}},{}],"71aH7":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("./dom")),o=(a.exportAll(o,r),e("./error")),o=(a.exportAll(o,r),e("./subtitle")),o=(a.exportAll(o,r),e("./file")),o=(a.exportAll(o,r),e("./property")),o=(a.exportAll(o,r),e("./time")),o=(a.exportAll(o,r),e("./format")),o=(a.exportAll(o,r),e("./compatibility"));a.exportAll(o,r)},{"./dom":"bSNiV","./error":"hwmZz","./subtitle":"inzwq","./file":"6b7Ip","./property":"5NSdr","./time":"epmNy","./format":"gapRl","./compatibility":"6ZTr6","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],bSNiV:[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),a.export(r,"query",()=>function(e,t=document){return t.querySelector(e)}),a.export(r,"queryAll",()=>function(e,t=document){return Array.from(t.querySelectorAll(e))}),a.export(r,"addClass",()=>i),a.export(r,"removeClass",()=>n),a.export(r,"hasClass",()=>function(e,t){return e.classList.contains(t)}),a.export(r,"append",()=>function(e,t){return t instanceof Element?e.appendChild(t):e.insertAdjacentHTML("beforeend",String(t)),e.lastElementChild||e.lastChild}),a.export(r,"remove",()=>function(e){return e.parentNode.removeChild(e)}),a.export(r,"setStyle",()=>s),a.export(r,"setStyles",()=>function(t,r){return Object.keys(r).forEach(e=>{s(t,e,r[e])}),t}),a.export(r,"getStyle",()=>function(e,t,r=!0){e=window.getComputedStyle(e,null).getPropertyValue(t);return r?parseFloat(e):e}),a.export(r,"sublings",()=>l),a.export(r,"inverseClass",()=>function(e,t){l(e).forEach(e=>n(e,t)),i(e,t)}),a.export(r,"tooltip",()=>function(e,t,r="top"){o.isMobile||(e.setAttribute("aria-label",t),i(e,"hint--rounded"),i(e,"hint--"+r))}),a.export(r,"isInViewport",()=>function(e,t=0){var e=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,a=window.innerWidth||document.documentElement.clientWidth,r=e.top-t<=r&&0<=e.top+e.height+t,a=e.left-t<=a+t&&0<=e.left+e.width+t;return r&&a}),a.export(r,"includeFromEvent",()=>function(e,t){return e.composedPath&&-1<e.composedPath().indexOf(t)}),a.export(r,"replaceElement",()=>function(e,t){return t.parentNode.replaceChild(e,t),e}),a.export(r,"createElement",()=>function(e){return document.createElement(e)}),e("./compatibility"));function i(e,t){return e.classList.add(t)}function n(e,t){return e.classList.remove(t)}function s(e,t,r){return e.style[t]=r,e}function l(t){return Array.from(t.parentElement.children).filter(e=>e!==t)}},{"./compatibility":"6ZTr6","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6ZTr6":[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"userAgent",()=>a),e.export(r,"isMobile",()=>o),e.export(r,"isSafari",()=>i),e.export(r,"isWechat",()=>n),e.export(r,"isIE",()=>s),e.export(r,"isAndroid",()=>l),e.export(r,"isIOS",()=>c);const a="undefined"!=typeof window?window.navigator.userAgent:"",o=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a),i=/^((?!chrome|android).)*safari/i.test(a),n=/MicroMessenger/i.test(a),s=/MSIE|Trident/i.test(a),l=/android/i.test(a),c=/iPad|iPhone|iPod/i.test(a)&&!window.MSStream},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],hwmZz:[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"ArtPlayerError",()=>a),e.export(r,"errorHandle",()=>function(e,t){if(e)return e;throw new a(t)});class a extends Error{constructor(e,t){super(e),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t||this.constructor),this.name="ArtPlayerError"}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],inzwq:[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"srtToVtt",()=>function(e){return"WEBVTT \r\n\r\n".concat(e.replace(/(\d\d:\d\d:\d\d)[,.](\d+)/g,(e,t,r)=>{let a=r.slice(0,3);return 1===r.length&&(a=r+"00"),t+","+(a=2===r.length?r+"0":a)}).replace(/\{\\([ibu])\}/g,"</$1>").replace(/\{\\([ibu])1\}/g,"<$1>").replace(/\{([ibu])\}/g,"<$1>").replace(/\{\/([ibu])\}/g,"</$1>").replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g,"$1.$2").replace(/{[\s\S]*?}/g,"").concat("\r\n\r\n"))}),e.export(r,"vttToBlob",()=>function(e){return URL.createObjectURL(new Blob([e],{type:"text/vtt"}))}),e.export(r,"assToVtt",()=>function(e){const r=new RegExp("Dialogue:\\s\\d,(\\d+:\\d\\d:\\d\\d.\\d\\d),(\\d+:\\d\\d:\\d\\d.\\d\\d),([^,]*),([^,]*),(?:[^,]*,){4}([\\s\\S]*)$","i");function a(e=""){return e.split(/[:.]/).map((e,t,r)=>{if(t===r.length-1){if(1===e.length)return`.${e}00`;if(2===e.length)return`.${e}0`}else if(1===e.length)return(0===t?"0":":0")+e;return 0===t?e:t===r.length-1?"."+e:":"+e}).join("")}return`WEBVTT
`+e.split(/\r?\n/).map(e=>{const t=e.match(r);return t?{start:a(t[1].trim()),end:a(t[2].trim()),text:t[5].replace(/{[\s\S]*?}/g,"").replace(/(\\N)/g,"\n").trim().split(/\r?\n/).map(e=>e.trim()).join("\n")}:null}).filter(e=>e).map((e,t)=>e?`${t+1}
${e.start} --> ${e.end}
`+e.text:"").filter(e=>e.trim()).join("\n\n")})},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6b7Ip":[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"getExt",()=>function e(t){return t.includes("?")?e(t.split("?")[0]):t.includes("#")?e(t.split("#")[0]):t.trim().toLowerCase().split(".").pop()}),e.export(r,"download",()=>function(e,t){const r=document.createElement("a");r.style.display="none",r.href=e,r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)})},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"5NSdr":[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"def",()=>a),e.export(r,"has",()=>function(e,t){return o.call(e,t)}),e.export(r,"get",()=>function(e,t){return Object.getOwnPropertyDescriptor(e,t)}),e.export(r,"mergeDeep",()=>function i(...e){const n=e=>e&&"object"==typeof e&&!Array.isArray(e);return e.reduce((a,o)=>(Object.keys(o).forEach(e=>{const t=a[e],r=o[e];Array.isArray(t)&&Array.isArray(r)?a[e]=t.concat(...r):!n(t)||!n(r)||r instanceof Element?a[e]=r:a[e]=i(t,r)}),a),{})});const a=Object.defineProperty,o=Object.prototype["hasOwnProperty"]},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],epmNy:[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"sleep",()=>function(t=0){return new Promise(e=>setTimeout(e,t))}),e.export(r,"debounce",()=>function(t,r,a){let o;function e(...e){clearTimeout(o),o=setTimeout(function(){o=null,t.apply(a,e)},r)}return e.clearTimeout=function(){clearTimeout(o)},e}),e.export(r,"throttle",()=>function(r,a){let o,i,n=!1;return function e(...t){if(n)return o=t,void(i=this);n=!0,r.apply(this,t),setTimeout(()=>{n=!1,o&&(e.apply(i,o),o=null,i=null)},a)}})},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],gapRl:[function(e,t,r){e=e("@parcel/transformer-js/src/esmodule-helpers.js");e.defineInteropFlag(r),e.export(r,"clamp",()=>function(e,t,r){return Math.max(Math.min(e,Math.max(t,r)),Math.min(t,r))}),e.export(r,"capitalize",()=>function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),e.export(r,"isStringOrNumber",()=>function(e){return["string","number"].includes(typeof e)}),e.export(r,"secondToTime",()=>function(e){const t=Math.floor(e/3600),r=Math.floor((e-3600*t)/60),a=Math.floor(e-3600*t-60*r);return(0<t?[t,r,a]:[r,a]).map(e=>e<10?"0"+e:String(e)).join(":")}),e.export(r,"escape",()=>function(e){return e.replace(/[&<>'"]/g,e=>({"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"})[e]||e)})},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],AKEiO:[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),a.export(r,"ComponentOption",()=>u),e("../utils"));const i="boolean",n="string",s="number",l="object",c="function";function p(e,t,r){return(0,o.errorHandle)(t===n||t===s||e instanceof Element,`${r.join(".")} require '${n}' or 'Element' type`)}const u={html:p,disable:"?"+i,name:"?"+n,index:"?"+s,style:"?"+l,click:"?"+c,mounted:"?"+c,tooltip:`?${n}|`+s,width:"?"+s,selector:"?array",onSelect:"?"+c,switch:"?"+i,onSwitch:"?"+c,range:"?array",onRange:"?"+c,onChange:"?"+c};r.default={id:n,container:p,url:n,poster:n,title:n,type:n,theme:n,lang:n,volume:s,isLive:i,muted:i,autoplay:i,autoSize:i,autoMini:i,loop:i,flip:i,playbackRate:i,aspectRatio:i,screenshot:i,setting:i,hotkey:i,pip:i,mutex:i,backdrop:i,fullscreen:i,fullscreenWeb:i,subtitleOffset:i,miniProgressBar:i,useSSR:i,playsInline:i,lock:i,fastForward:i,autoPlayback:i,autoOrientation:i,airplay:i,plugins:[c],whitelist:[n+`|${c}|regexp`],layers:[u],contextmenu:[u],settings:[u],controls:[{...u,position:(e,t,r)=>{const a=["top","left","right"];return(0,o.errorHandle)(a.includes(e),`${r.join(".")} only accept ${a.toString()} as parameters`)}}],quality:[{default:"?"+i,html:n,url:n}],highlight:[{time:s,text:n}],thumbnails:{url:n,number:s,column:s,width:s,height:s},subtitle:{url:n,type:n,style:l,escape:i,encoding:n},moreVideoAttr:l,i18n:l,icons:l,customType:l}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],lyjeQ:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default={propertys:["audioTracks","autoplay","buffered","controller","controls","crossOrigin","currentSrc","currentTime","defaultMuted","defaultPlaybackRate","duration","ended","error","loop","mediaGroup","muted","networkState","paused","playbackRate","played","preload","readyState","seekable","seeking","src","startDate","textTracks","videoTracks","volume"],methods:["addTextTrack","canPlayType","load","play","pause"],events:["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],prototypes:["width","height","videoWidth","videoHeight","poster","webkitDecodedFrameCount","webkitDroppedFrameCount","playsInline","webkitSupportsFullscreen","webkitDisplayingFullscreen","onenterpictureinpicture","onleavepictureinpicture","disablePictureInPicture","cancelVideoFrameCallback","requestVideoFrameCallback","getVideoPlaybackQuality","requestPictureInPicture","webkitEnterFullScreen","webkitEnterFullscreen","webkitExitFullScreen","webkitExitFullscreen"]}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"9L0ao":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("./utils");r.default=class{constructor(e){this.art=e}get state(){const{option:e,constructor:{kindOf:t}}=this.art;return!a.isMobile||!e.whitelist.length||e.whitelist.some(e=>{switch(t(e)){case"string":return"*"===e||-1<a.userAgent.indexOf(e);case"function":return e(a.userAgent);case"regexp":return e.test(a.userAgent);default:return!1}})}}},{"./utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],X13Zf:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("./utils");r.default=class a{constructor(e){const{option:t,constructor:r,whitelist:a}=this.art=e;t.container instanceof Element?this.$container=t.container:(this.$container=(0,i.query)(t.container),(0,i.errorHandle)(this.$container,"No container element found by "+t.container));var o=this.$container.tagName.toLowerCase();(0,i.errorHandle)("div"===o,`Unsupported container element type, only support 'div' but got '${o}'`),(0,i.errorHandle)(r.instances.every(e=>e.template.$container!==this.$container),"Cannot mount multiple instances on the same dom element"),this.query=this.query.bind(this),this.$container.dataset.artId=e.id,this.$original=this.$container.cloneNode(!0),a.state?this.desktop():this.mobile()}static get html(){return'<div class="art-video-player art-subtitle-show art-layer-show art-control-show art-mask-show"><video class="art-video"><track default kind="metadata" src=""></track></video><div class="art-poster"></div><div class="art-subtitle"></div><div class="art-danmuku"></div><div class="art-layers"></div><div class="art-mask"><div class="art-state"></div></div><div class="art-bottom"><div class="art-progress"></div><div class="art-controls"><div class="art-controls-left"></div><div class="art-controls-center"></div><div class="art-controls-right"></div></div></div><div class="art-loading"></div><div class="art-notice"><div class="art-notice-inner"></div></div><div class="art-settings"></div><div class="art-info"><div class="art-info-panel"><div class="art-info-item"><div class="art-info-title">Player version:</div><div class="art-info-content">4.6.2</div></div><div class="art-info-item"><div class="art-info-title">Video url:</div><div class="art-info-content" data-video="src"></div></div><div class="art-info-item"><div class="art-info-title">Video volume:</div><div class="art-info-content" data-video="volume"></div></div><div class="art-info-item"><div class="art-info-title">Video time:</div><div class="art-info-content" data-video="currentTime"></div></div><div class="art-info-item"><div class="art-info-title">Video duration:</div><div class="art-info-content" data-video="duration"></div></div><div class="art-info-item"><div class="art-info-title">Video resolution:</div><div class="art-info-content"><span data-video="videoWidth"></span> x <span data-video="videoHeight"></span></div></div></div><div class="art-info-close">[x]</div></div><div class="art-mini-header"><div class="art-mini-title"></div><div class="art-mini-close">×</div></div><div class="art-contextmenus"></div></div>'}query(e){return(0,i.query)(e,this.$container)}desktop(){var e=this.art.option;e.useSSR||(this.$container.innerHTML=a.html),this.$player=this.query(".art-video-player"),this.$video=this.query(".art-video"),this.$track=this.query("track"),this.$poster=this.query(".art-poster"),this.$subtitle=this.query(".art-subtitle"),this.$danmuku=this.query(".art-danmuku"),this.$bottom=this.query(".art-bottom"),this.$progress=this.query(".art-progress"),this.$controls=this.query(".art-controls"),this.$controlsLeft=this.query(".art-controls-left"),this.$controlsCenter=this.query(".art-controls-center"),this.$controlsRight=this.query(".art-controls-right"),this.$layer=this.query(".art-layers"),this.$loading=this.query(".art-loading"),this.$notice=this.query(".art-notice"),this.$noticeInner=this.query(".art-notice-inner"),this.$mask=this.query(".art-mask"),this.$state=this.query(".art-state"),this.$setting=this.query(".art-settings"),this.$info=this.query(".art-info"),this.$infoPanel=this.query(".art-info-panel"),this.$infoClose=this.query(".art-info-close"),this.$miniHeader=this.query(".art-mini-header"),this.$miniTitle=this.query(".art-mini-title"),this.$miniClose=this.query(".art-mini-close"),this.$contextmenu=this.query(".art-contextmenus"),e.backdrop&&((0,i.addClass)(this.$setting,"art-backdrop-filter"),(0,i.addClass)(this.$contextmenu,"art-backdrop-filter"),(0,i.addClass)(this.$info,"art-backdrop-filter")),i.isMobile&&(0,i.addClass)(this.$player,"art-mobile")}mobile(){this.$container.innerHTML='<div class="art-video-player"><video class="art-video"></video></div>',this.$player=this.query(".art-video-player"),this.$video=this.query(".art-video")}destroy(e){e?(0,i.replaceElement)(this.$original,this.$container):(0,i.addClass)(this.$player,"art-destroy")}}},{"./utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"3jKkj":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("../utils")),i=e("./zh-cn.json"),n=a.interopDefault(i),i=e("./zh-tw.json"),s=a.interopDefault(i),i=e("./pl.json"),l=a.interopDefault(i),i=e("./cs.json"),c=a.interopDefault(i),i=e("./es.json"),p=a.interopDefault(i),i=e("./fa.json"),u=a.interopDefault(i);r.default=class{constructor(e){this.art=e,this.languages={"zh-cn":n.default,"zh-tw":s.default,pl:l.default,cs:c.default,es:p.default,fa:u.default},this.update(e.option.i18n)}init(){var e=this.art.option.lang.toLowerCase();this.language=this.languages[e]||{}}get(e){return this.language[e]||e}update(e){this.languages=(0,o.mergeDeep)(this.languages,e),this.init()}}},{"../utils":"71aH7","./zh-cn.json":"lNQi5","./zh-tw.json":"eRpom","./pl.json":"iEpPa","./cs.json":"dBgp3","./es.json":"dNIrL","./fa.json":"7Plhe","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],lNQi5:[function(e,t,r){t.exports=JSON.parse('{"Video Info":"统计信息","Close":"关闭","Video Load Failed":"加载失败","Volume":"音量","Play":"播放","Pause":"暂停","Rate":"速度","Mute":"静音","Video Flip":"画面翻转","Horizontal":"水平","Vertical":"垂直","Reconnect":"重新连接","Show Setting":"显示设置","Hide Setting":"隐藏设置","Screenshot":"截图","Play Speed":"播放速度","Aspect Ratio":"画面比例","Default":"默认","Normal":"正常","Open":"打开","Switch Video":"切换","Switch Subtitle":"切换字幕","Fullscreen":"全屏","Exit Fullscreen":"退出全屏","Web Fullscreen":"网页全屏","Exit Web Fullscreen":"退出网页全屏","Mini Player":"迷你播放器","PIP Mode":"开启画中画","Exit PIP Mode":"退出画中画","PIP Not Supported":"不支持画中画","Fullscreen Not Supported":"不支持全屏","Subtitle Offset":"字幕偏移","Last Seen":"上次看到","Jump Play":"跳转播放","AirPlay":"隔空播放","AirPlay Not Available":"隔空播放不可用"}')},{}],eRpom:[function(e,t,r){t.exports=JSON.parse('{"Video Info":"統計訊息","Close":"關閉","Video Load Failed":"載入失敗","Volume":"音量","Play":"播放","Pause":"暫停","Rate":"速度","Mute":"靜音","Video Flip":"畫面翻轉","Horizontal":"水平","Vertical":"垂直","Reconnect":"重新連接","Show Setting":"顯示设置","Hide Setting":"隱藏设置","Screenshot":"截圖","Play Speed":"播放速度","Aspect Ratio":"畫面比例","Default":"默認","Normal":"正常","Open":"打開","Switch Video":"切換","Switch Subtitle":"切換字幕","Fullscreen":"全屏","Exit Fullscreen":"退出全屏","Web Fullscreen":"網頁全屏","Exit Web Fullscreen":"退出網頁全屏","Mini Player":"迷你播放器","PIP Mode":"開啟畫中畫","Exit PIP Mode":"退出畫中畫","PIP Not Supported":"不支持畫中畫","Fullscreen Not Supported":"不支持全屏","Subtitle Offset":"字幕偏移","Last Seen":"上次看到","Jump Play":"跳轉播放","AirPlay":"隔空播放","AirPlay Not Available":"隔空播放不可用"}')},{}],iEpPa:[function(e,t,r){t.exports=JSON.parse('{"Video Info":"Informacje o wideo","Close":"Zamknij","Video Load Failed":"Błąd ładowania wideo","Volume":"Głośność","Play":"Odtwórz","Pause":"Wstrzymaj","Rate":"Oceń","Mute":"Wycisz","Video Flip":"Rotacja wideo","Horizontal":"Pozioma","Vertical":"Pionowa","Reconnect":"Połącz ponownie","Show Setting":"Pokaż ustawienia","Hide Setting":"Ukryj ustawienia","Screenshot":"Zrzut ekranu","Play Speed":"Prędkość odtwarzania","Aspect Ratio":"Współczynnik proporcji","Default":"Domyślny","Normal":"Normalny","Open":"Otwórz","Switch Video":"Przełącz wideo","Switch Subtitle":"Przełącz napisy","Fullscreen":"Pełny ekran","Exit Fullscreen":"Zamknij pełny ekran","Web Fullscreen":"Tryb pełnej strony","Exit Web Fullscreen":"Zamknij tryb pełnej strony","Mini Player":"Miniodtwarzacz","PIP Mode":"Tryb PiP","Exit PIP Mode":"Zamknij tryb PiP","PIP Not Supported":"Tryb PiP nieobsługiwany","Fullscreen Not Supported":"Pełny ekran nieobsługiwany","Subtitle Offset":"Przesunięcie napisów","Last Seen":"Ostatnio widziany","Jump Play":"Skocz do gry","AirPlay":"AirPlay","AirPlay Not Available":"AirPlay nie jest dostępny"}')},{}],dBgp3:[function(e,t,r){t.exports=JSON.parse('{"Video Info":"Info o videu","Close":"Zavřít","Video Load Failed":"Nahrání videa selhalo","Volume":"Hlasitost","Play":"Přehrát","Pause":"Pozastavit","Rate":"Hodnocení","Mute":"Ztlumit","Video Flip":"Otočit video","Horizontal":"Horizontálně","Vertical":"Vertikálně","Reconnect":"Opětovné připojení","Show Setting":"Zobrazit nastavení","Hide Setting":"Skrýt nastavení","Screenshot":"Snímek obrazovky","Play Speed":"Rychlost přehrávání","Aspect Ratio":"Poměr stran","Default":"Výchozí","Normal":"Normální","Open":"Otevřít","Switch Video":"Přepnout video","Switch Subtitle":"Přepnout titulky","Fullscreen":"Celá obrazovka","Exit Fullscreen":"Opustit režim celé obrazovky","Web Fullscreen":"Celá stránka","Exit Web Fullscreen":"Zavřít režim celé stránky","Mini Player":"Mini přehrávač","PIP Mode":"Režim PIP","Exit PIP Mode":"Opustit režim PIP","PIP Not Supported":"Režim PIP není podporován","Fullscreen Not Supported":"Režim celé obrazovky není podporován","Subtitle Offset":"Posun titulků","Last Seen":"Naposledy viděn","Jump Play":"Hra na skok","AirPlay":"AirPlay","AirPlay Not Available":"AirPlay není k dispozici"}')},{}],dNIrL:[function(e,t,r){t.exports=JSON.parse('{"Video Info":"Información del video","Close":"Cerrar","Video Load Failed":"Falló carga de video","Volume":"Volumen","Play":"Reproduciendo","Pause":"Pausa","Rate":"Velocidad","Mute":"Silencio","Video Flip":"Rotar video","Horizontal":"Horizontal","Vertical":"Vertical","Reconnect":"Reconectando","Show Setting":"Mostrar ajustes","Hide Setting":"Ocultar ajustes","Screenshot":"Captura de Pantalla","Play Speed":"Velocidad de reproducción","Aspect Ratio":"Relación de aspecto","Default":"Por defecto","Normal":"Normal","Open":"Abrir","Switch Video":"Cambiar video","Switch Subtitle":"Cambiar subtítulo","Fullscreen":"Pantalla completa","Exit Fullscreen":"Salir de Pantalla completa","Web Fullscreen":"Pantalla completa Web","Exit Web Fullscreen":"Salir de Pantalla completa","Mini Player":"Mini reproductor","PIP Mode":"Modo PiP","Exit PIP Mode":"Cerrar modo PiP","PIP Not Supported":"Modo PiP no compatible","Fullscreen Not Supported":"Pantalla completa no soportada","Subtitle Offset":"Ajuste subtítulo","Last Seen":"Visto última vez","Jump Play":"Saltar","AirPlay":"AirPlay","AirPlay Not Available":"AirPlay no disponible"}')},{}],"7Plhe":[function(e,t,r){t.exports=JSON.parse('{"Video Info":"اطلاعات ویدیو","Close":"بستن","Video Load Failed":"بارگذاری ناموفق","Play":"پخش","Volume":"میزان صدا","Pause":"توقف","Rate":"نرخ","Mute":"سکوت","Video Flip":"چرخش تصویر","Horizontal":"افقی","Vertical":"عمودی","Reconnect":"اتصال مجدد","Show Setting":"تنظیمات","Hide Setting":"بستن تنظیمات","Screenshot":"عکس از صفحه","Play Speed":"سرعت پخش","Aspect Ratio":"نسبت تصویر","Default":"حالت پیشفرض","Normal":" حالت عادی","Open":"بازکردن","Switch Video":"تغییر ویدیو","Switch Subtitle":"نغییر زیرنویس","Fullscreen":"تمام صفحه","Exit Fullscreen":"کوچک کردن","Web Fullscreen":"حالت تئاتر","Exit Web Fullscreen":"خروج از حالت تئاتر","Mini Player":"حالت پخش کوچک","PIP Mode":" مینی پلیر","Exit PIP Mode":"خروج از مینی پلیر","PIP Not Supported":"عدم پشتیبانی از مینی پلیر","Fullscreen Not Supported":"عدم پشتیبانی از حالت تمام صفحه","Subtitle Offset":"افست زیرنویس","Last Seen":"آخرین بازدید","Jump Play":"جامپ پلی","AirPlay":"ایر پلی","AirPlay Not Available":"عدم پشتیبانی از ایرپلی"}')},{}],a90nx:[function(e,D,t){var r=e("@parcel/transformer-js/src/esmodule-helpers.js"),a=(r.defineInteropFlag(t),e("./urlMix")),o=r.interopDefault(a),a=e("./attrMix"),i=r.interopDefault(a),a=e("./playMix"),n=r.interopDefault(a),a=e("./pauseMix"),s=r.interopDefault(a),a=e("./toggleMix"),l=r.interopDefault(a),a=e("./seekMix"),c=r.interopDefault(a),a=e("./volumeMix"),p=r.interopDefault(a),a=e("./currentTimeMix"),u=r.interopDefault(a),a=e("./durationMix"),d=r.interopDefault(a),a=e("./switchMix"),f=r.interopDefault(a),a=e("./playbackRateMix"),h=r.interopDefault(a),a=e("./aspectRatioMix"),m=r.interopDefault(a),a=e("./screenshotMix"),g=r.interopDefault(a),a=e("./fullscreenMix"),y=r.interopDefault(a),a=e("./fullscreenWebMix"),v=r.interopDefault(a),a=e("./pipMix"),b=r.interopDefault(a),a=e("./loadedMix"),x=r.interopDefault(a),a=e("./playedMix"),w=r.interopDefault(a),a=e("./playingMix"),j=r.interopDefault(a),a=e("./autoSizeMix"),k=r.interopDefault(a),a=e("./rectMix"),S=r.interopDefault(a),a=e("./flipMix"),I=r.interopDefault(a),a=e("./miniMix"),C=r.interopDefault(a),a=e("./loopMix"),E=r.interopDefault(a),a=e("./posterMix"),P=r.interopDefault(a),a=e("./autoHeightMix"),T=r.interopDefault(a),a=e("./themeMix"),M=r.interopDefault(a),a=e("./titleMix"),F=r.interopDefault(a),a=e("./typeMix"),$=r.interopDefault(a),a=e("./normalSizeMix"),A=r.interopDefault(a),a=e("./subtitleOffsetMix"),z=r.interopDefault(a),a=e("./airplayMix"),H=r.interopDefault(a),a=e("./optionInit"),O=r.interopDefault(a),a=e("./eventInit"),R=r.interopDefault(a);t.default=class{constructor(e){(0,o.default)(e),(0,i.default)(e),(0,n.default)(e),(0,s.default)(e),(0,l.default)(e),(0,c.default)(e),(0,p.default)(e),(0,u.default)(e),(0,d.default)(e),(0,f.default)(e),(0,h.default)(e),(0,m.default)(e),(0,g.default)(e),(0,y.default)(e),(0,v.default)(e),(0,b.default)(e),(0,x.default)(e),(0,w.default)(e),(0,j.default)(e),(0,k.default)(e),(0,S.default)(e),(0,I.default)(e),(0,C.default)(e),(0,E.default)(e),(0,P.default)(e),(0,T.default)(e),(0,M.default)(e),(0,F.default)(e),(0,$.default)(e),(0,A.default)(e),(0,z.default)(e),(0,H.default)(e),(0,R.default)(e),(0,O.default)(e)}}},{"./urlMix":"kQoac","./attrMix":"deCma","./playMix":"fOJuP","./pauseMix":"fzHAy","./toggleMix":"cBHxQ","./seekMix":"koAPr","./volumeMix":"6eyuR","./currentTimeMix":"faaWv","./durationMix":"5y91K","./switchMix":"iceD8","./playbackRateMix":"keKwh","./aspectRatioMix":"jihET","./screenshotMix":"36kPY","./fullscreenMix":"2GYOJ","./fullscreenWebMix":"5aYAP","./pipMix":"7EnIB","./loadedMix":"3N9mP","./playedMix":"et96R","./playingMix":"9DzzM","./autoSizeMix":"i1LDY","./rectMix":"IqARI","./flipMix":"7E7Vs","./miniMix":"gpugx","./loopMix":"f1hVG","./posterMix":"1SuFS","./autoHeightMix":"8x4te","./themeMix":"2FqhO","./titleMix":"7Am53","./typeMix":"1fQQs","./normalSizeMix":"ePkBr","./subtitleOffsetMix":"6vlBV","./airplayMix":"eftqT","./optionInit":"fCWZK","./eventInit":"f8Lv3","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],kQoac:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(a){const{option:o,template:{$video:i}}=a;(0,n.def)(a,"url",{get:()=>i.currentSrc,async set(e){if(e){const t=o.type||(0,n.getExt)(e),r=o.customType[t];t&&r?(await(0,n.sleep)(),a.loading.show=!0,r.call(a,i,e,a)):(a.url&&a.url!==e&&a.once("video:canplay",()=>{a.isReady&&a.emit("restart")}),i.src=e,a.option.url=e,a.emit("url",e))}else await(0,n.sleep)(),a.loading.show=!0}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],deCma:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){const{$video:r}=e["template"];(0,a.def)(e,"attr",{value(e,t){if(void 0===t)return r[e];r[e]=t}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],fOJuP:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var s=e("../utils");r.default=function(t){const{i18n:r,notice:a,option:o,constructor:{instances:i},template:{$video:n}}=t;(0,s.def)(t,"play",{value:async function(){var e=await n.play();if(a.show=r.get("Play"),t.emit("play"),o.mutex)for(let e=0;e<i.length;e++){const a=i[e];a!==t&&a.pause()}return e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],fzHAy:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(t){const{template:{$video:r},i18n:a,notice:o}=t;(0,i.def)(t,"pause",{value(){var e=r.pause();return o.show=a.get("Pause"),t.emit("pause"),e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],cBHxQ:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){(0,a.def)(e,"toggle",{value:()=>e.playing?e.pause():e.play()})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],koAPr:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(t){const r=t["notice"];(0,a.def)(t,"seek",{set(e){t.currentTime=e,t.emit("seek",t.currentTime),t.duration&&(r.show=(0,a.secondToTime)(t.currentTime)+" / "+(0,a.secondToTime)(t.duration))}}),(0,a.def)(t,"forward",{set(e){t.seek=t.currentTime+e}}),(0,a.def)(t,"backward",{set(e){t.seek=t.currentTime-e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6eyuR":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(e){const{template:{$video:t},i18n:r,notice:a,storage:o}=e;(0,i.def)(e,"volume",{get:()=>t.volume||0,set:e=>{t.volume=(0,i.clamp)(e,0,1),a.show=r.get("Volume")+": "+parseInt(100*t.volume,10),0!==t.volume&&o.set("volume",t.volume)}}),(0,i.def)(e,"muted",{get:()=>t.muted,set:e=>{t.muted=e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],faaWv:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(t){const r=t.template["$video"];(0,a.def)(t,"currentTime",{get:()=>r.currentTime||0,set:e=>{e=parseFloat(e),Number.isNaN(e)||(r.currentTime=(0,a.clamp)(e,0,t.duration))}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"5y91K":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(t){(0,a.def)(t,"duration",{get:()=>{var e=t.template.$video["duration"];return e!==1/0&&e||0}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],iceD8:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(i){const{i18n:n,option:s,notice:l}=i;function r(r,a,o){return new Promise(e=>{if(r===i.url)return e(r);const t=i["playing"];i.pause(),URL.revokeObjectURL(i.url),i.url=r,i.once("video:canplay",()=>{i.playbackRate=!1,i.aspectRatio=!1,i.flip="normal",i.autoSize=s.autoSize,i.currentTime=o,i.notice.show="",t&&i.play(),a&&(l.show=n.get("Switch Video")+": "+a),e(r)})})}(0,a.def)(i,"switchQuality",{value:(e,t)=>r(e,t,i.currentTime)}),(0,a.def)(i,"switchUrl",{value:(e,t)=>r(e,t,0)})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],keKwh:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(t){const{template:{$video:r},i18n:a,notice:o}=t;(0,i.def)(t,"playbackRate",{get:()=>r.playbackRate,set(e){e?e!==r.playbackRate&&(r.playbackRate=e,o.show=a.get("Rate")+": "+(1===e?a.get("Normal"):e+"x")):t.playbackRate=1}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],jihET:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var p=e("../utils");r.default=function(i){const{template:{$video:n,$player:s},i18n:l,notice:c}=i;(0,p.def)(i,"aspectRatio",{get:()=>s.dataset.aspectRatio||"default",set(e){if("default"===(e=e||"default"))(0,p.setStyle)(n,"width",null),(0,p.setStyle)(n,"height",null),(0,p.setStyle)(n,"padding",null),delete s.dataset.aspectRatio;else{const i=e.split(":").map(Number),{videoWidth:l,videoHeight:c}=n,{clientWidth:t,clientHeight:r}=s,a=l/c,o=i[0]/i[1];if(o<a){const i=o*c/l;(0,p.setStyle)(n,"width",100*i+"%"),(0,p.setStyle)(n,"height","100%"),(0,p.setStyle)(n,"padding",`0 ${(t-t*i)/2}px`)}else{const i=l/o/c;(0,p.setStyle)(n,"width","100%"),(0,p.setStyle)(n,"height",100*i+"%"),(0,p.setStyle)(n,"padding",(r-r*i)/2+"px 0")}s.dataset.aspectRatio=e}c.show=l.get("Aspect Ratio")+": "+("default"===e?l.get("Default"):e),i.emit("aspectRatio",e)}}),(0,p.def)(i,"aspectRatioReset",{set(e){if(e){const e=i["aspectRatio"];i.aspectRatio=e}}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"36kPY":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(t){const{option:r,notice:a,template:{$video:o}}=t,i=(0,n.createElement)("canvas");(0,n.def)(t,"getDataURL",{value:()=>new Promise((e,t)=>{try{i.width=o.videoWidth,i.height=o.videoHeight,i.getContext("2d").drawImage(o,0,0),e(i.toDataURL("image/png"))}catch(e){t(a.show=e)}})}),(0,n.def)(t,"getBlobUrl",{value:()=>new Promise((t,e)=>{try{i.width=o.videoWidth,i.height=o.videoHeight,i.getContext("2d").drawImage(o,0,0),i.toBlob(e=>{t(URL.createObjectURL(e))})}catch(t){e(a.show=t)}})}),(0,n.def)(t,"screenshot",{value:async()=>{var e=await t.getDataURL();return(0,n.download)(e,`${r.title||"artplayer"}_${(0,n.secondToTime)(o.currentTime)}.png`),t.emit("screenshot",e),e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"2GYOJ":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("../libs/screenfull")),s=a.interopDefault(o),l=e("../utils");r.default=function(e){const{i18n:a,notice:o,template:{$video:i,$player:n}}=e;e.once("video:loadedmetadata",()=>{var t,r;s.default.isEnabled?(r=e,s.default.on("change",()=>{r.emit("fullscreen",s.default.isFullscreen)}),(0,l.def)(r,"fullscreen",{get:()=>s.default.isFullscreen,async set(e){e?(r.normalSize="fullscreen",r.aspectRatioReset=!0,r.autoSize=!1,await s.default.request(n),(0,l.addClass)(n,"art-fullscreen")):(r.aspectRatioReset=!0,r.autoSize=r.option.autoSize,await s.default.exit(),(0,l.removeClass)(n,"art-fullscreen")),r.emit("resize"),o.show=""}})):document.fullscreenEnabled||i.webkitSupportsFullscreen?(t=e,(0,l.def)(t,"fullscreen",{get:()=>i.webkitDisplayingFullscreen,set(e){e?(t.normalSize="fullscreen",i.webkitEnterFullscreen(),t.emit("fullscreen",!0)):(i.webkitExitFullscreen(),t.emit("fullscreen",!1)),o.show=""}})):(0,l.def)(e,"fullscreen",{get:()=>!1,set(){o.show=a.get("Fullscreen Not Supported")}}),(0,l.def)(e,"fullscreen",(0,l.get)(e,"fullscreen"))})}},{"../libs/screenfull":"8v40z","../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"8v40z":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);const o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=(()=>{if("undefined"==typeof document)return!1;const e=o[0],t={};for(const r of o)if(r[1]in document){for(const[o,a]of r.entries())t[e[o]]=a;return t}return!1})(),a={change:n.fullscreenchange,error:n.fullscreenerror};let s={request:(o=document.documentElement,i)=>new Promise((e,t)=>{const r=()=>{s.off("change",r),e()},a=(s.on("change",r),o[n.requestFullscreen](i));a instanceof Promise&&a.then(r).catch(t)}),exit:()=>new Promise((e,t)=>{if(s.isFullscreen){const r=()=>{s.off("change",r),e()},a=(s.on("change",r),document[n.exitFullscreen]());a instanceof Promise&&a.then(r).catch(t)}else e()}),toggle:(e,t)=>s.isFullscreen?s.exit():s.request(e,t),onchange(e){s.on("change",e)},onerror(e){s.on("error",e)},on(e,t){e=a[e];e&&document.addEventListener(e,t,!1)},off(e,t){e=a[e];e&&document.removeEventListener(e,t,!1)},raw:n};Object.defineProperties(s,{isFullscreen:{get:()=>Boolean(document[n.fullscreenElement])},element:{enumerable:!0,get:()=>document[n.fullscreenElement]},isEnabled:{enumerable:!0,get:()=>Boolean(document[n.fullscreenEnabled])}}),n||(s={isEnabled:!1}),r.default=s},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"5aYAP":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(t){const{notice:r,constructor:a,template:{$container:o,$player:i}}=t;(0,n.def)(t,"fullscreenWeb",{get:()=>(0,n.hasClass)(i,"art-fullscreen-web"),set(e){e?(a.FULLSCREEN_WEB_IN_BODY&&(0,n.append)(document.body,i),t.normalSize="fullscreenWeb",(0,n.addClass)(i,"art-fullscreen-web"),t.aspectRatioReset=!0,t.autoSize=!1,t.emit("resize"),t.emit("fullscreenWeb",!0)):(a.FULLSCREEN_WEB_IN_BODY&&(0,n.append)(o,i),(0,n.removeClass)(i,"art-fullscreen-web"),t.aspectRatioReset=!0,t.autoSize=t.option.autoSize,t.emit("resize"),t.emit("fullscreenWeb",!1)),r.show=""}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"7EnIB":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var p=e("../utils");r.default=function(e){const{i18n:t,notice:r,template:{$video:a}}=e;if(document.pictureInPictureEnabled){var o=e;const{template:{$video:n},proxy:s,notice:l}=o;(n.disablePictureInPicture=!1,p.def)(o,"pip",{get:()=>document.pictureInPictureElement,set(e){e?(o.normalSize="pip",n.requestPictureInPicture().catch(e=>{throw l.show=e})):document.exitPictureInPicture().catch(e=>{throw l.show=e})}}),s(n,"enterpictureinpicture",()=>{o.emit("pip",!0)}),s(n,"leavepictureinpicture",()=>{o.emit("pip",!1)})}else if(a.webkitSupportsPresentationMode){var i=e;const c=i.template["$video"];c.webkitSetPresentationMode("inline"),(0,p.def)(i,"pip",{get:()=>"picture-in-picture"===c.webkitPresentationMode,set(e){e?(i.normalSize="pip",c.webkitSetPresentationMode("picture-in-picture"),i.emit("pip",!0)):(c.webkitSetPresentationMode("inline"),i.emit("pip",!1))}})}else(0,p.def)(e,"pip",{get:()=>!1,set(){r.show=t.get("PIP Not Supported")}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"3N9mP":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){const t=e.template["$video"];(0,a.def)(e,"loaded",{get:()=>e.loadedTime/t.duration}),(0,a.def)(e,"loadedTime",{get:()=>t.buffered.length?t.buffered.end(t.buffered.length-1):0})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],et96R:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){(0,a.def)(e,"played",{get:()=>e.currentTime/e.duration})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"9DzzM":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){const t=e.template["$video"];(0,a.def)(e,"playing",{get:()=>!!(0<t.currentTime&&!t.paused&&!t.ended&&2<t.readyState)})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],i1LDY:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var p=e("../utils");r.default=function(n){const{$container:s,$player:l,$video:c}=n.template;(0,p.def)(n,"autoSize",{get:()=>(0,p.hasClass)(s,"art-auto-size"),set(e){if(e){const{videoWidth:e,videoHeight:t}=c,{width:r,height:a}=s.getBoundingClientRect(),o=e/t,i=r/a;if((0,p.addClass)(s,"art-auto-size"),o<i){const n=a*o/r*100;(0,p.setStyle)(l,"width",n+"%"),(0,p.setStyle)(l,"height","100%")}else{const n=r/o/a*100;(0,p.setStyle)(l,"width","100%"),(0,p.setStyle)(l,"height",n+"%")}n.emit("autoSize",{width:n.width,height:n.height})}else(0,p.removeClass)(s,"art-auto-size"),(0,p.setStyle)(l,"width",null),(0,p.setStyle)(l,"height",null),n.emit("autoSize")}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],IqARI:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(t){(0,o.def)(t,"rect",{get:()=>t.template.$player.getBoundingClientRect()});var r=["bottom","height","left","right","top","width"];for(let e=0;e<r.length;e++){const a=r[e];(0,o.def)(t,a,{get:()=>t.rect[a]})}(0,o.def)(t,"x",{get:()=>t.left+window.pageXOffset}),(0,o.def)(t,"y",{get:()=>t.top+window.pageYOffset})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"7E7Vs":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(t){const{template:{$player:r},i18n:a,notice:o}=t;(0,i.def)(t,"flip",{get:()=>r.dataset.flip||"normal",set(e){"normal"===(e=e||"normal")?delete r.dataset.flip:r.dataset.flip=e,o.show=a.get("Video Flip")+": "+a.get((0,i.capitalize)(e)),t.emit("flip",e)}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],gpugx:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var h=e("../utils");r.default=function(t){const{i18n:e,option:r,storage:a,proxy:o,template:{$player:i,$miniClose:n,$miniTitle:s,$miniHeader:l}}=t;let c=!1,p=0,u=0,d=0,f=0;o(l,"mousedown",e=>{c=!0,p=e.pageX,u=e.pageY,d=t.left,f=t.top}),o(document,"mousemove",e=>{var t;c&&((0,h.addClass)(i,"art-is-dragging"),t=f+e.pageY-u,e=d+e.pageX-p,(0,h.setStyle)(i,"top",t+"px"),(0,h.setStyle)(i,"left",e+"px"),a.set("top",t),a.set("left",e))}),o(document,"mouseup",()=>{(c=!1,h.removeClass)(i,"art-is-dragging")}),o(n,"click",()=>{t.mini=!1,(c=!1,h.removeClass)(i,"art-is-dragging")}),(0,h.append)(s,r.title||e.get("Mini Player")),(0,h.def)(t,"mini",{get:()=>(0,h.hasClass)(i,"art-mini"),set(e){if(e){t.normalSize="mini",(t.autoSize=!1,h.addClass)(i,"art-mini");const e=a.get("top"),r=a.get("left");if(e&&r)(0,h.setStyle)(i,"top",e+"px"),(0,h.setStyle)(i,"left",r+"px"),(0,h.isInViewport)(l)||(a.del("top"),a.del("left"),t.mini=!0);else{const e=window.innerHeight-t.height-50,r=window.innerWidth-t.width-50;a.set("top",e),a.set("left",r),(0,h.setStyle)(i,"top",e+"px"),(0,h.setStyle)(i,"left",r+"px")}t.aspectRatio=!1,t.playbackRate=!1,t.notice.show="",t.emit("mini",!0)}else(0,h.removeClass)(i,"art-mini"),(0,h.setStyle)(i,"top",null),(0,h.setStyle)(i,"left",null),t.aspectRatio=!1,t.playbackRate=!1,t.autoSize=r.autoSize,t.notice.show="",t.emit("mini",!1)}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],f1hVG:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(r){let a=[];(0,o.def)(r,"loop",{get:()=>a,set:e=>{var t;a=Array.isArray(e)&&"number"==typeof e[0]&&"number"==typeof e[1]?(t=(0,o.clamp)(e[0],0,Math.min(e[1],r.duration)),1<=(e=(0,o.clamp)(e[1],t,r.duration))-t?[t,e]:[]):[]}}),r.on("video:timeupdate",()=>{a.length&&(r.currentTime<a[0]||r.currentTime>a[1])&&(r.seek=a[0])})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"1SuFS":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){const{option:t,template:{$poster:r}}=e;(0,a.def)(e,"poster",{get:()=>t.poster,set(e){t.poster=e,(0,a.setStyle)(r,"backgroundImage",`url(${e})`)}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"8x4te":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var l=e("../utils");r.default=function(a){const{option:o,template:{$container:i,$video:n}}=a,s=i.style.height;(0,l.def)(a,"autoHeight",{get:()=>(0,l.hasClass)(i,"art-auto-height"),set(e){if(e){const s=i["clientWidth"],{videoHeight:e,videoWidth:t}=n,r=e*(s/t);(0,l.setStyle)(i,"height",r+"px"),(0,l.addClass)(i,"art-auto-height"),a.autoSize=o.autoSize,a.emit("autoHeight",r)}else(0,l.setStyle)(i,"height",s),(0,l.removeClass)(i,"art-auto-height"),a.autoSize=o.autoSize,a.emit("autoHeight")}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"2FqhO":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(e){const{option:t,template:{$player:r}}=e;(0,a.def)(e,"theme",{get:()=>getComputedStyle(r).getPropertyValue("--theme"),set(e){t.theme=e,r.style.setProperty("--theme",e)}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"7Am53":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(t){(0,a.def)(t,"title",{get:()=>t.option.title,set(e){t.option.title=e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"1fQQs":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(t){(0,a.def)(t,"type",{get:()=>t.option.type,set(e){t.option.type=e}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],ePkBr:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(r){const e=["mini","pip","fullscreen","fullscreenWeb"];(0,a.def)(r,"normalSize",{get:()=>e.every(e=>!r[e]),set(t){e.filter(e=>e!==t).forEach(e=>{r[e]&&(r[e]=!1)})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6vlBV":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var c=e("../utils");r.default=function(a){const o=a.constructor.utils["clamp"],{notice:e,template:i,i18n:n}=a;let s=0,l=[];a.on("subtitle:switch",()=>{l=[]}),(0,c.def)(a,"subtitleOffset",{get:()=>s,set(t){if(i.$track&&i.$track.track){var r=Array.from(i.$track.track.cues);s=o(t,-5,5);for(let e=0;e<r.length;e++){const t=r[e];l[e]||(l[e]={startTime:t.startTime,endTime:t.endTime}),t.startTime=o(l[e].startTime+s,0,a.duration),t.endTime=o(l[e].endTime+s,0,a.duration)}a.subtitle.update(),e.show=n.get("Subtitle Offset")+`: ${t}s`,a.emit("subtitleOffset",t)}else a.emit("subtitleOffset",0)}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],eftqT:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(e){const{i18n:t,notice:r,proxy:a,template:{$video:o}}=e;let i=!0;window.WebKitPlaybackTargetAvailabilityEvent&&o.webkitShowPlaybackTargetPicker?a(o,"webkitplaybacktargetavailabilitychanged",e=>{switch(e.availability){case"available":i=!0;break;case"not-available":i=!1}}):i=!1,(0,n.def)(e,"airplay",{value(){i?(o.webkitShowPlaybackTargetPicker(),e.emit("airplay")):r.show=t.get("AirPlay Not Available")}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],fCWZK:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(t){const{option:r,storage:e,template:{$video:a,$poster:o}}=t;Object.keys(r.moreVideoAttr).forEach(e=>{t.attr(e,r.moreVideoAttr[e])}),r.muted&&(t.muted=r.muted),r.volume&&(a.volume=(0,n.clamp)(r.volume,0,1));var i=e.get("volume");"number"==typeof i&&(a.volume=(0,n.clamp)(i,0,1)),r.poster&&(0,n.setStyle)(o,"backgroundImage",`url(${r.poster})`),r.autoplay&&(a.autoplay=r.autoplay),r.playsInline&&(a.playsInline=!0,a["webkit-playsinline"]=!0),r.theme&&(t.theme=r.theme),t.url=r.url}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],f8Lv3:[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("../config")),p=a.interopDefault(o),u=e("../utils");r.default=function(t){const{i18n:r,notice:a,option:o,constructor:i,proxy:n,template:{$player:s,$video:l,$poster:e}}=t;let c=0;for(let e=0;e<p.default.events.length;e++)n(l,p.default.events[e],e=>{t.emit("video:"+e.type,e)});t.on("video:canplay",()=>{c=0,t.loading.show=!1}),t.once("video:canplay",()=>{t.loading.show=!1,t.controls.show=!0,t.mask.show=!0,t.isReady=!0,t.emit("ready")}),t.on("video:ended",()=>{o.loop?(t.seek=0,t.play(),t.controls.show=!1,t.mask.show=!1):(t.controls.show=!0,t.mask.show=!0)}),t.on("video:error",async e=>{c<i.RECONNECT_TIME_MAX?(await(0,u.sleep)(i.RECONNECT_SLEEP_TIME),c+=1,t.url=o.url,a.show=r.get("Reconnect")+": "+c,t.emit("error",e,c)):(t.mask.show=!0,t.loading.show=!1,t.controls.show=!0,(0,u.addClass)(s,"art-error"),await(0,u.sleep)(i.RECONNECT_SLEEP_TIME),a.show=r.get("Video Load Failed"),t.destroy(!1))}),t.on("video:loadedmetadata",()=>{t.autoSize=o.autoSize,u.isMobile&&(t.loading.show=!1,t.controls.show=!0,t.mask.show=!0)}),t.on("video:loadstart",()=>{t.loading.show=!0,t.mask.show=!1,t.controls.show=!0}),t.on("video:pause",()=>{t.controls.show=!0,t.mask.show=!0}),t.on("video:play",()=>{(t.mask.show=!1,u.setStyle)(e,"display","none")}),t.on("video:playing",()=>{t.mask.show=!1}),t.on("video:seeked",()=>{t.loading.show=!1}),t.on("video:seeking",()=>{t.loading.show=!0,t.mask.show=!1}),t.on("video:timeupdate",()=>{t.mask.show=!1}),t.on("video:waiting",()=>{t.loading.show=!0,t.mask.show=!1})}},{"../config":"lyjeQ","../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"8Z0Uf":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),i=(a.defineInteropFlag(r),e("../utils")),o=e("../utils/component"),o=a.interopDefault(o),n=e("./fullscreen"),s=a.interopDefault(n),n=e("./fullscreenWeb"),l=a.interopDefault(n),n=e("./pip"),c=a.interopDefault(n),n=e("./playAndPause"),p=a.interopDefault(n),n=e("./progress"),u=a.interopDefault(n),n=e("./time"),d=a.interopDefault(n),n=e("./volume"),f=a.interopDefault(n),n=e("./setting"),h=a.interopDefault(n),n=e("./thumbnails"),m=a.interopDefault(n),n=e("./screenshot"),g=a.interopDefault(n),n=e("./quality"),y=a.interopDefault(n),n=e("./loop"),v=a.interopDefault(n),n=e("./airplay"),b=a.interopDefault(n);class x extends o.default{constructor(e){super(e),this.name="control";const{proxy:t,constructor:r,template:{$player:a}}=e;let o=Date.now();t(a,["click","mousemove","touchstart","touchmove"],()=>{this.show=!0,(0,i.removeClass)(a,"art-hide-cursor"),(0,i.addClass)(a,"art-hover"),o=Date.now()}),e.on("video:timeupdate",()=>{!e.isInput&&e.playing&&this.show&&Date.now()-o>=r.CONTROL_HIDE_TIME&&((this.show=!1,i.addClass)(a,"art-hide-cursor"),(0,i.removeClass)(a,"art-hover"))}),this.init()}init(){var t=this.art["option"];t.isLive||this.add((0,u.default)({name:"progress",position:"top",index:10})),!t.thumbnails.url||t.isLive||i.isMobile||this.add((0,m.default)({name:"thumbnails",position:"top",index:20})),this.add((0,v.default)({name:"loop",position:"top",index:30})),this.add((0,p.default)({name:"playAndPause",position:"left",index:10})),this.add((0,f.default)({name:"volume",position:"left",index:20})),t.isLive||this.add((0,d.default)({name:"time",position:"left",index:30})),t.quality.length&&this.add((0,y.default)({name:"quality",position:"right",index:10})),t.screenshot&&!i.isMobile&&this.add((0,g.default)({name:"screenshot",position:"right",index:20})),t.setting&&this.add((0,h.default)({name:"setting",position:"right",index:30})),t.pip&&this.add((0,c.default)({name:"pip",position:"right",index:40})),t.airplay&&window.WebKitPlaybackTargetAvailabilityEvent&&this.add((0,b.default)({name:"airplay",position:"right",index:50})),t.fullscreenWeb&&this.add((0,l.default)({name:"fullscreenWeb",position:"right",index:60})),t.fullscreen&&this.add((0,s.default)({name:"fullscreen",position:"right",index:70}));for(let e=0;e<t.controls.length;e++)this.add(t.controls[e])}add(e){var e="function"==typeof e?e(this.art):e,{$progress:t,$controlsLeft:r,$controlsRight:a}=this.art.template;switch(e.position){case"top":this.$parent=t;break;case"left":this.$parent=r;break;case"right":this.$parent=a;break;default:(0,i.errorHandle)(!1,"Control option.position must one of 'top', 'left', 'right'")}super.add(e)}}r.default=x},{"../utils":"71aH7","../utils/component":"18nVI","./fullscreen":"c61Lj","./fullscreenWeb":"03jeB","./pip":"u8l8e","./playAndPause":"ebXtb","./progress":"bgoVP","./time":"ikc2j","./volume":"b8NFx","./setting":"03o9l","./thumbnails":"eCVx2","./screenshot":"4KCF5","./quality":"efgTY","./loop":"2hIff","./airplay":"4IS2d","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"18nVI":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),l=(a.defineInteropFlag(r),e("./dom")),o=e("option-validator"),i=a.interopDefault(o),n=e("../scheme"),s=e("./property"),c=e("./error");r.default=class{constructor(e){this.id=0,this.art=e,this.add=this.add.bind(this)}get show(){return(0,l.hasClass)(this.art.template.$player,`art-${this.name}-show`)}set show(e){var t=this.art.template["$player"],r=`art-${this.name}-show`;(e?(0,l.addClass):(0,l.removeClass))(t,r),this.art.emit(this.name,e)}set toggle(e){e&&(this.show=!this.show)}add(e){const t="function"==typeof e?e(this.art):e;if(t.html=t.html||"",(0,i.default)(t,n.ComponentOption),this.$parent&&this.name&&!t.disable){e=t.name||""+this.name+this.id;(0,c.errorHandle)(!(0,s.has)(this,e),`Cannot add an existing name [${e}] to the [${this.name}]`),this.id+=1;const r=(0,l.createElement)("div"),a=((0,l.addClass)(r,"art-"+this.name),(0,l.addClass)(r,`art-${this.name}-`+e),Array.from(this.$parent.children)),o=(r.dataset.index=t.index||this.id,a.find(e=>Number(e.dataset.index)>=Number(r.dataset.index)));return o?o.insertAdjacentElement("beforebegin",r):(0,l.append)(this.$parent,r),t.html&&(0,l.append)(r,t.html),t.style&&(0,l.setStyles)(r,t.style),t.tooltip&&(0,l.tooltip)(r,t.tooltip),t.click&&this.art.events.proxy(r,"click",e=>{e.preventDefault(),t.click.call(this.art,this,e)}),t.selector&&["left","right"].includes(t.position)&&this.selector(t,r),t.mounted&&t.mounted.call(this.art,r),(0,s.def)(this,e,{value:r}),r}}selector(o,t){const{hover:e,proxy:r}=this.art.events,i=((0,l.addClass)(t,"art-control-selector"),(0,l.createElement)("div")),a=((0,l.addClass)(i,"art-selector-value"),(0,l.append)(i,o.html),(t.innerText="",l.append)(t,i),o.selector.map((e,t)=>`<div class="art-selector-item ${e.default?"art-current":""}" data-index="${t}">${e.html}</div>`).join("")),n=(0,l.createElement)("div"),s=((0,l.addClass)(n,"art-selector-list"),(0,l.append)(n,a),(0,l.append)(t,n),this.art.option.backdrop&&(0,l.addClass)(n,"art-backdrop-filter"),()=>{var e=(0,l.getStyle)(t,"width")/2-(0,l.getStyle)(n,"width")/2;n.style.left=e+"px"});e(t,s),r(n,"click",async e=>{var t=(e.composedPath()||[]).find(e=>(0,l.hasClass)(e,"art-selector-item"));if(t){(0,l.inverseClass)(t,"art-current");const r=Number(t.dataset.index),a=o.selector[r]||{};if(i.innerText=t.innerText,o.onSelect){const r=await o.onSelect.call(this.art,a,t,e);"string"!=typeof r&&"number"!=typeof r||(i.innerHTML=r)}s()}})}}},{"./dom":"bSNiV","option-validator":"bAWi2","../scheme":"AKEiO","./property":"5NSdr","./error":"hwmZz","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],c61Lj:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var s=e("../utils");r.default=function(e){return n=>({...e,tooltip:n.i18n.get("Fullscreen"),mounted:t=>{const{proxy:e,icons:r,i18n:a}=n,o=(0,s.append)(t,r.fullscreenOn),i=(0,s.append)(t,r.fullscreenOff);(0,s.setStyle)(i,"display","none"),e(t,"click",()=>{n.fullscreen=!n.fullscreen}),n.on("fullscreen",e=>{e?((0,s.tooltip)(t,a.get("Exit Fullscreen")),(0,s.setStyle)(o,"display","none"),(0,s.setStyle)(i,"display","inline-flex")):((0,s.tooltip)(t,a.get("Fullscreen")),(0,s.setStyle)(o,"display","inline-flex"),(0,s.setStyle)(i,"display","none"))})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"03jeB":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var s=e("../utils");r.default=function(e){return n=>({...e,tooltip:n.i18n.get("Web Fullscreen"),mounted:t=>{const{proxy:e,icons:r,i18n:a}=n,o=(0,s.append)(t,r.fullscreenWebOn),i=(0,s.append)(t,r.fullscreenWebOff);(0,s.setStyle)(i,"display","none"),e(t,"click",()=>{n.fullscreenWeb=!n.fullscreenWeb}),n.on("fullscreenWeb",e=>{e?((0,s.tooltip)(t,a.get("Exit Web Fullscreen")),(0,s.setStyle)(o,"display","none"),(0,s.setStyle)(i,"display","inline-flex")):((0,s.tooltip)(t,a.get("Web Fullscreen")),(0,s.setStyle)(o,"display","inline-flex"),(0,s.setStyle)(i,"display","none"))})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],u8l8e:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(e){return o=>({...e,tooltip:o.i18n.get("PIP Mode"),mounted:t=>{const{proxy:e,icons:r,i18n:a}=o;(0,i.append)(t,r.pip),e(t,"click",()=>{o.pip=!o.pip}),o.on("pip",e=>{(0,i.tooltip)(t,a.get(e?"Exit PIP Mode":"PIP Mode"))})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],ebXtb:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var c=e("../utils");r.default=function(e){return l=>({...e,mounted:e=>{const{proxy:t,icons:r,i18n:a}=l,o=(0,c.append)(e,r.play),i=(0,c.append)(e,r.pause);function n(){(0,c.setStyle)(o,"display","flex"),(0,c.setStyle)(i,"display","none")}function s(){(0,c.setStyle)(o,"display","none"),(0,c.setStyle)(i,"display","flex")}(0,c.tooltip)(o,a.get("Play")),(0,c.tooltip)(i,a.get("Pause")),t(o,"click",()=>{l.play()}),t(i,"click",()=>{l.pause()}),(l.playing?s:n)(),l.on("video:playing",()=>{s()}),l.on("video:pause",()=>{n()})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],bgoVP:[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),v=(a.defineInteropFlag(r),a.export(r,"getPosFromEvent",()=>b),a.export(r,"setCurrentTime",()=>x),e("../utils"));function b(e,t){const r=e.template["$progress"],a=r.getBoundingClientRect()["left"],o=v.isMobile?t.touches[0].clientX:t.pageX,i=(0,v.clamp)(o-a,0,r.clientWidth),n=i/r.clientWidth*e.duration;return{second:n,time:(0,v.secondToTime)(n),width:i,percentage:(0,v.clamp)(i/r.clientWidth,0,1)}}function x(e,t){var r,a;e.isRotate?(a=(r=t.touches[0].clientY/e.height)*e.duration,e.emit("setBar","played",r),e.seek=a):({second:r,percentage:a}=b(e,t),e.emit("setBar","played",a),e.seek=r)}r.default=function(e){return h=>{const{icons:m,option:g,proxy:y}=h;return{...e,html:'<div class="art-control-progress-inner"><div class="art-progress-loaded"></div><div class="art-progress-played"></div><div class="art-progress-highlight"></div><div class="art-progress-indicator"></div><div class="art-progress-tip"></div></div>',mounted:a=>{let r=!1;const o=(0,v.query)(".art-progress-loaded",a),i=(0,v.query)(".art-progress-played",a),n=(0,v.query)(".art-progress-highlight",a),s=(0,v.query)(".art-progress-indicator",a),l=(0,v.query)(".art-progress-tip",a),{PROGRESS_HEIGHT:e,INDICATOR_SIZE:t,INDICATOR_SIZE_ICON:c,INDICATOR_SIZE_MOBILE:p,INDICATOR_SIZE_MOBILE_ICON:u}=h.constructor;(0,v.setStyle)(a,"height",e+"px"),(0,v.setStyle)(i,"backgroundColor","var(--theme)");let d=t;function f(e,t){"loaded"===e&&(0,v.setStyle)(o,"width",100*t+"%"),"played"===e&&((0,v.setStyle)(i,"width",100*t+"%"),(0,v.setStyle)(s,"left",`calc(${100*t}% - ${d/2}px)`))}m.indicator?(d=c,(0,v.append)(s,m.indicator)):(0,v.setStyles)(s,{backgroundColor:"var(--theme)"}),v.isMobile&&(d=p,m.indicator&&(d=u)),(0,v.setStyles)(s,{left:`-${d/2}px`,width:d+"px",height:d+"px"}),h.on("video:loadedmetadata",()=>{for(let e=0;e<g.highlight.length;e++){var t=g.highlight[e],r=(0,v.clamp)(t.time,0,h.duration)/h.duration*100;(0,v.append)(n,`<span data-text="${t.text}" data-time="${t.time}" style="left: ${r}%"></span>`)}}),f("loaded",h.loaded),h.on("setBar",(e,t)=>{f(e,t)}),h.on("video:progress",()=>{f("loaded",h.loaded)}),h.on("video:timeupdate",()=>{f("played",h.played)}),h.on("video:ended",()=>{f("played",1)}),v.isMobile||(y(a,"click",e=>{e.target!==s&&x(h,e)}),y(a,"mousemove",e=>{{var t,r,r;((0,v.setStyle)(l,"display","block"),(0,v.includeFromEvent)(e,n))?(t=b(h,r=e).width,r=r.target.dataset.text,l.innerHTML=r,r=l.clientWidth,t<=r/2?(0,v.setStyle)(l,"left",0):t>a.clientWidth-r/2?(0,v.setStyle)(l,"left",a.clientWidth-r+"px"):(0,v.setStyle)(l,"left",t-r/2+"px")):({width:t,time:r}=b(h,e),r=(l.innerHTML=r,l.clientWidth),t<=r/2?(0,v.setStyle)(l,"left",0):t>a.clientWidth-r/2?(0,v.setStyle)(l,"left",a.clientWidth-r+"px"):(0,v.setStyle)(l,"left",t-r/2+"px"))}}),y(a,"mouseleave",()=>{(0,v.setStyle)(l,"display","none")}),y(a,"mousedown",()=>{r=!0}),y(document,"mousemove",e=>{var t;r&&({second:e,percentage:t}=b(h,e),f("played",t),h.seek=e)}),y(document,"mouseup",()=>{r=r&&!1}))}}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],ikc2j:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(e){return o=>({...e,style:{cursor:"auto",marginLeft:"10px"},mounted:t=>{function r(){var e=(0,i.secondToTime)(o.currentTime)+" / "+(0,i.secondToTime)(o.duration);e!==t.innerText&&(t.innerText=e)}r();var a=["video:loadedmetadata","video:timeupdate","video:progress"];for(let e=0;e<a.length;e++)o.on(a[e],r)}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],b8NFx:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var h=e("../utils");r.default=function(e){return f=>({...e,mounted:e=>{const{proxy:t,icons:r,i18n:a}=f;let o=!1;const i=f.constructor.VOLUME_PANEL_WIDTH,n=f.constructor.VOLUME_HANDLE_WIDTH,s=(0,h.append)(e,r.volume),l=(0,h.append)(e,r.volumeClose),c=(0,h.append)(e,'<div class="art-volume-panel"></div>'),p=(0,h.append)(c,'<div class="art-volume-slider-handle"></div>');function u(e){var t=c.getBoundingClientRect()["left"];return(0,h.clamp)(e.pageX-t-n/2,0,i-n/2)/(i-n)}function d(e=.7){if(f.muted||0===e)(0,h.setStyle)(s,"display","none"),(0,h.setStyle)(l,"display","flex"),(0,h.setStyle)(p,"left","0");else{const f=(i-n)*e;(0,h.setStyle)(s,"display","flex"),(0,h.setStyle)(l,"display","none"),(0,h.setStyle)(p,"left",f+"px")}}(0,h.tooltip)(s,a.get("Mute")),(0,h.setStyle)(l,"display","none"),h.isMobile&&(0,h.setStyle)(c,"display","none"),d(f.volume),f.on("video:volumechange",()=>{d(f.volume)}),t(s,"click",()=>{f.muted=!0}),t(l,"click",()=>{f.muted=!1}),t(c,"click",e=>{f.muted=!1,f.volume=u(e)}),t(p,"mousedown",()=>{o=!0}),t(e,"mousemove",e=>{o&&(f.muted=!1,f.volume=u(e))}),t(document,"mouseup",()=>{o=o&&!1})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"03o9l":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(e){return o=>({...e,tooltip:o.i18n.get("Show Setting"),mounted:t=>{const{proxy:e,icons:r,i18n:a}=o;(0,i.append)(t,r.setting),e(t,"click",()=>{o.setting.toggle=!0,o.setting.updateStyle()}),o.on("setting",e=>{(0,i.tooltip)(t,a.get(e?"Hide Setting":"Show Setting"))})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],eCVx2:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var g=e("../utils"),y=e("./progress");r.default=function(e){return m=>({...e,mounted:s=>{const{option:l,template:{$progress:c,$video:p},events:{proxy:e,loadImg:u}}=m;let d=null,f=!1,h=!1;e(c,"mousemove",async e=>{if(!f){f=!0;const s=await u(l.thumbnails.url);d=s,h=!0}var t,r,a,o,i,n;h&&((0,g.setStyle)(s,"display","block"),e=(0,y.getPosFromEvent)(m,e).width,{url:t,number:n,column:r,width:a,height:o}=l.thumbnails,a=a||d.naturalWidth/r,o=o||a/(p.videoWidth/p.videoHeight),n=c.clientWidth/n,n=Math.floor(e/n),i=Math.ceil(n/r)-1,n=n%r||r-1,(0,g.setStyle)(s,"backgroundImage",`url(${t})`),(0,g.setStyle)(s,"height",o+"px"),(0,g.setStyle)(s,"width",a+"px"),(0,g.setStyle)(s,"backgroundPosition",`-${n*a}px -${i*o}px`),e<=a/2?(0,g.setStyle)(s,"left",0):e>c.clientWidth-a/2?(0,g.setStyle)(s,"left",c.clientWidth-a+"px"):(0,g.setStyle)(s,"left",e-a/2+"px"))}),e(c,"mouseleave",()=>{(0,g.setStyle)(s,"display","none")}),m.on("hover",e=>{e||(0,g.setStyle)(s,"display","none")})}})}},{"../utils":"71aH7","./progress":"bgoVP","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"4KCF5":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(e){return a=>({...e,tooltip:a.i18n.get("Screenshot"),mounted:e=>{const{proxy:t,icons:r}=a;(0,o.append)(e,r.screenshot),t(e,"click",()=>{a.screenshot()})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],efgTY:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(a){return t=>{const e=t.option.quality,r=e.find(e=>e.default)||e[0];return{...a,style:{marginRight:"10px"},html:r?r.html:"",selector:e,onSelect(e){t.switchQuality(e.url,e.html)}}}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"2hIff":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(e){return o=>({...e,mounted:t=>{const r=(0,i.append)(t,'<span class="art-loop-point"></span>'),a=(0,i.append)(t,'<span class="art-loop-point"></span>');o.on("loop",e=>{e&&e.length?((0,i.setStyle)(t,"display","block"),(0,i.setStyle)(r,"left",`calc(${e[0]/o.duration*100}% - ${r.clientWidth}px)`),(0,i.setStyle)(a,"left",e[1]/o.duration*100+"%")):(0,i.setStyle)(t,"display","none")})}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"4IS2d":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(e){return a=>({...e,tooltip:a.i18n.get("AirPlay"),mounted:e=>{const{proxy:t,icons:r}=a;(0,o.append)(e,r.airplay),t(e,"click",()=>a.airplay())}})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"2KYsr":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),d=(a.defineInteropFlag(r),e("../utils")),o=e("../utils/component"),o=a.interopDefault(o),i=e("./playbackRate"),n=a.interopDefault(i),i=e("./aspectRatio"),s=a.interopDefault(i),i=e("./flip"),l=a.interopDefault(i),i=e("./info"),c=a.interopDefault(i),i=e("./version"),f=a.interopDefault(i),i=e("./close"),h=a.interopDefault(i);class p extends o.default{constructor(e){super(e),this.name="contextmenu",this.$parent=e.template.$contextmenu,d.isMobile||this.init()}init(){const{option:t,proxy:e,template:{$player:p,$contextmenu:u}}=this.art;t.playbackRate&&this.add((0,n.default)({name:"playbackRate",index:10})),t.aspectRatio&&this.add((0,s.default)({name:"aspectRatio",index:20})),t.flip&&this.add((0,l.default)({name:"flip",index:30})),this.add((0,c.default)({name:"info",index:40})),this.add((0,f.default)({name:"version",index:50})),this.add((0,h.default)({name:"close",index:60}));for(let e=0;e<t.contextmenu.length;e++)this.add(t.contextmenu[e]);e(p,"contextmenu",r=>{if(r.preventDefault(),this.art.constructor.CONTEXTMENU){this.show=!0;var a=r.clientX,r=r.clientY,{height:o,width:i,left:n,top:s}=p.getBoundingClientRect(),{height:l,width:c}=u.getBoundingClientRect();let e=a-n,t=r-s;n+i<a+c&&(e=i-c),s+o<r+l&&(t=o-l),(0,d.setStyles)(u,{top:t+"px",left:e+"px"})}}),e(p,"click",e=>{(0,d.includeFromEvent)(e,u)||(this.show=!1)}),this.art.on("blur",()=>{this.show=!1})}}r.default=p},{"../utils":"71aH7","../utils/component":"18nVI","./playbackRate":"69eLi","./aspectRatio":"lUefg","./flip":"kysiM","./info":"gqIgJ","./version":"kRU7C","./close":"jQ8Pm","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"69eLi":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(a){return r=>{const{i18n:t,constructor:{PLAYBACK_RATE:e}}=r;return{...a,html:""+t.get("Play Speed")+`:
${e.map(e=>`<span data-value="${e}">${1===e?t.get("Normal"):e}</span>`).join("")}
`,click:(e,t)=>{t=t.target.dataset.value;t&&(r.playbackRate=Number(t),e.show=!1)},mounted:t=>{var e=(0,o.query)('[data-value="1"]',t);e&&(0,o.inverseClass)(e,"art-current"),r.on("video:ratechange",()=>{var e=(0,o.queryAll)("span",t).find(e=>Number(e.dataset.value)===r.playbackRate);e&&(0,o.inverseClass)(e,"art-current")})}}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],lUefg:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(r){return a=>{const{i18n:t,constructor:{ASPECT_RATIO:e}}=a;return{...r,html:""+t.get("Aspect Ratio")+`:
${e.map(e=>`<span data-value="${e}">${"default"===e?t.get("Default"):e}</span>`).join("")}
`,click:(e,t)=>{t=t.target.dataset.value;t&&(a.aspectRatio=t,e.show=!1)},mounted:r=>{var e=(0,o.query)('[data-value="default"]',r);e&&(0,o.inverseClass)(e,"art-current"),a.on("aspectRatio",t=>{var e=(0,o.queryAll)("span",r).find(e=>e.dataset.value===t);e&&(0,o.inverseClass)(e,"art-current")})}}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],kysiM:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(r){return a=>{const{i18n:t,constructor:{FLIP:e}}=a;return{...r,html:""+t.get("Video Flip")+`:
${e.map(e=>`<span data-value="${e}">${t.get((0,o.capitalize)(e))}</span>`).join("")}
`,click:(e,t)=>{const r=t.target.dataset["value"];r&&(a.flip=r.toLowerCase(),e.show=!1)},mounted:r=>{var e=(0,o.query)('[data-value="normal"]',r);e&&(0,o.inverseClass)(e,"art-current"),a.on("flip",t=>{var e=(0,o.queryAll)("span",r).find(e=>e.dataset.value===t);e&&(0,o.inverseClass)(e,"art-current")})}}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],gqIgJ:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(e){return t=>({...e,html:t.i18n.get("Video Info"),click:e=>{t.info.show=!0,e.show=!1}})}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],kRU7C:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(e){return{...e,html:'<a href="https://artplayer.org" target="_blank">ArtPlayer 4.6.2</a>'}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],jQ8Pm:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(t){return e=>({...t,html:e.i18n.get("Close"),click:e=>{e.show=!1}})}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"02ajl":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),s=(a.defineInteropFlag(r),e("./utils")),e=e("./utils/component"),a=a.interopDefault(e);class o extends a.default{constructor(e){super(e),this.name="info",s.isMobile||this.init()}init(){const{proxy:e,constructor:a,template:{$infoPanel:t,$infoClose:r,$video:o}}=this.art;e(r,"click",()=>{this.show=!1});let i=null;const n=(0,s.queryAll)("[data-video]",t)||[];this.art.on("destroy",()=>{clearTimeout(i)}),function e(){for(let e=0;e<n.length;e++){const a=n[e],t=o[a.dataset.video],r="number"==typeof t?t.toFixed(2):t;a.innerText!==r&&(a.innerText=r)}i=setTimeout(e,a.INFO_LOOP_TIME)}()}}r.default=o},{"./utils":"71aH7","./utils/component":"18nVI","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],eSWto:[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),s=(a.defineInteropFlag(r),e("./utils")),o=e("./utils/component"),o=a.interopDefault(o),i=e("option-validator"),n=a.interopDefault(i),i=e("./scheme"),l=a.interopDefault(i);class c extends o.default{constructor(e){super(e),this.name="subtitle",this.eventDestroy=()=>null,this.init(e.option.subtitle);let t=!1;e.on("video:timeupdate",()=>{var e;!this.url||"boolean"==typeof(e=this.art.template.$video.webkitDisplayingFullscreen)&&e!==t&&(t=e,this.createTrack(e?"subtitles":"metadata",this.url))})}get url(){return this.art.template.$track.src}set url(e){this.switch(e)}get textTrack(){return this.art.template.$video.textTracks[0]}get activeCue(){return this.textTrack.activeCues[0]}style(e,t){var r=this.art.template["$subtitle"];return"object"==typeof e?(0,s.setStyles)(r,e):(0,s.setStyle)(r,e,t)}update(){const e=this.art.template["$subtitle"];e.innerHTML="",this.activeCue&&(this.art.option.subtitle.escape?e.innerHTML=this.activeCue.text.split(/\r?\n/).map(e=>`<p>${(0,s.escape)(e)}</p>`).join(""):e.innerHTML=this.activeCue.text,this.art.emit("subtitleUpdate",this.activeCue.text))}async switch(e,t={}){const{i18n:r,notice:a,option:o}=this.art,i={...o.subtitle,...t,url:e},n=await this.init(i);return t.name&&(a.show=r.get("Switch Subtitle")+": "+t.name),n}createTrack(e,t){const{template:r,proxy:a}=this.art,{$video:o,$track:i}=r,n=(0,s.createElement)("track");n.default=!0,n.kind=e,n.src=t,n.track.mode="hidden",this.eventDestroy(),(0,s.remove)(i),(0,s.append)(o,n),r.$track=n,this.eventDestroy=a(this.textTrack,"cuechange",()=>this.update())}async init(r){const{notice:t,template:{$subtitle:a}}=this.art;if((0,n.default)(r,l.default.subtitle),r.url)return this.style(r.style),fetch(r.url).then(e=>e.arrayBuffer()).then(e=>{var t=new TextDecoder(r.encoding).decode(e);switch(this.art.emit("subtitleLoad",r.url),r.type||(0,s.getExt)(r.url)){case"srt":return(0,s.vttToBlob)((0,s.srtToVtt)(t));case"ass":return(0,s.vttToBlob)((0,s.assToVtt)(t));case"vtt":return(0,s.vttToBlob)(t);default:return r.url}}).then(e=>(a.innerHTML="",this.url!==e&&(URL.revokeObjectURL(this.url),this.createTrack("metadata",e),this.art.emit("subtitleSwitch",e)),e)).catch(e=>{throw t.show=e})}}r.default=c},{"./utils":"71aH7","./utils/component":"18nVI","option-validator":"bAWi2","./scheme":"AKEiO","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],jo4S1:[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("../utils/error")),i=e("./clickInit"),n=a.interopDefault(i),i=e("./hoverInit"),s=a.interopDefault(i),i=e("./mousemoveInit"),l=a.interopDefault(i),i=e("./resizeInit"),c=a.interopDefault(i),i=e("./gestureInit"),p=a.interopDefault(i),i=e("./viewInit"),u=a.interopDefault(i);r.default=class{constructor(e){this.destroyEvents=[],this.proxy=this.proxy.bind(this),this.hover=this.hover.bind(this),this.loadImg=this.loadImg.bind(this),e.whitelist.state&&((0,n.default)(e,this),(0,s.default)(e,this),(0,l.default)(e,this),(0,c.default)(e,this),(0,p.default)(e,this),(0,u.default)(e,this))}proxy(t,e,r,a={}){if(Array.isArray(e))return e.map(e=>this.proxy(t,e,r,a));t.addEventListener(e,r,a);var o=()=>t.removeEventListener(e,r,a);return this.destroyEvents.push(o),o}hover(e,t,r){t&&this.proxy(e,"mouseenter",t),r&&this.proxy(e,"mouseleave",r)}loadImg(a){return new Promise((e,t)=>{let r;if(a instanceof HTMLImageElement)r=a;else{if("string"!=typeof a)return t(new o.ArtPlayerError("Unable to get Image"));(r=new Image).src=a}if(r.complete)return e(r);this.proxy(r,"load",()=>e(r)),this.proxy(r,"error",()=>t(new o.ArtPlayerError("Failed to load Image: "+r.src)))})}destroy(){for(let e=0;e<this.destroyEvents.length;e++)this.destroyEvents[e]()}}},{"../utils/error":"hwmZz","./clickInit":"6UrCm","./hoverInit":"4jWHi","./mousemoveInit":"bMF9b","./resizeInit":"eDXPO","./gestureInit":"95GtS","./viewInit":"InUBx","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6UrCm":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(t,e){const{constructor:r,template:{$player:a,$video:o}}=t;e.proxy(document,["click","contextmenu"],e=>{(0,n.includeFromEvent)(e,a)?(t.isInput="INPUT"===e.target.tagName,t.isFocus=!0,t.emit("focus")):(t.isInput=!1,t.isFocus=!1,t.emit("blur"))});let i=0;e.proxy(o,"click",()=>{var e=Date.now();e-i<=r.DB_CLICE_TIME?(t.emit("dblclick"),n.isMobile?t.isLock||t.toggle():t.fullscreen=!t.fullscreen):(t.emit("click"),n.isMobile||t.toggle()),i=e})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"4jWHi":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("../utils");r.default=function(t,e){const r=t.template["$player"];e.hover(r,e=>{(0,a.addClass)(r,"art-hover"),t.emit("hover",!0,e)},e=>{(0,a.removeClass)(r,"art-hover"),t.emit("hover",!1,e)})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],bMF9b:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(t,e){var r=t.template["$player"];e.proxy(r,"mousemove",e=>{t.emit("mousemove",e)})}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],eDXPO:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("../utils");r.default=function(e,t){const r=e["option"],a=(0,o.throttle)(()=>{e.normalSize&&(e.autoSize=r.autoSize),e.aspectRatioReset=!0,e.notice.show="",e.emit("resize")},e.constructor.RESIZE_TIME);t.proxy(window,["orientationchange","resize"],()=>{a()}),screen&&screen.orientation&&screen.orientation.onchange&&t.proxy(screen.orientation,"change",()=>{a()})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"95GtS":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var h=e("../utils"),i=e("../control/progress");r.default=function(d,e){if(h.isMobile&&!d.option.isLive){const{$video:f,$progress:r}=d.template;let s=null,l=!1,c=0,p=0,u=0;const t=e=>{var t;1!==e.touches.length||d.isLock||(s===r&&(0,i.setCurrentTime)(d,e),l=!0,{clientX:e,clientY:t}=e.touches[0],c=e,p=t,u=d.currentTime)},a=e=>{if(1===e.touches.length&&l&&d.duration){const{clientX:t,clientY:r}=e.touches[0],l=(0,h.clamp)((t-c)/d.width,-1,1),a=(0,h.clamp)((r-p)/d.height,-1,1),o=d.isRotate?a:l,i=s===f?d.constructor.TOUCH_MOVE_RATIO:1,n=(0,h.clamp)(u+d.duration*o*i,0,d.duration);d.seek=n,d.emit("setBar","played",(0,h.clamp)(n/d.duration,0,1)),d.notice.show=(0,h.secondToTime)(n)+" / "+(0,h.secondToTime)(d.duration)}},o=()=>{l&&(c=0,p=0,u=0,l=!1,s=null)};e.proxy(r,"touchstart",e=>{s=r,t(e)}),e.proxy(f,"touchstart",e=>{s=f,t(e)}),e.proxy(f,"touchmove",a),e.proxy(r,"touchmove",a),e.proxy(document,"touchend",o)}}},{"../utils":"71aH7","../control/progress":"bgoVP","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],InUBx:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(t,e){const{option:r,constructor:a,template:{$container:o}}=t,i=(0,n.throttle)(()=>{t.emit("view",(0,n.isInViewport)(o,a.SCROLL_GAP))},a.SCROLL_TIME);e.proxy(window,"scroll",()=>{i()}),t.on("view",e=>{r.autoMini&&(t.mini=!e)})}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6NoFy":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var a=e("./utils");r.default=class{constructor(e){this.art=e,this.keys={},e.option.hotkey&&!a.isMobile&&this.init()}init(){const{proxy:e,constructor:t}=this.art;this.add(27,()=>{this.art.fullscreenWeb&&(this.art.fullscreenWeb=!1)}),this.add(32,()=>{this.art.toggle()}),this.add(37,()=>{this.art.backward=t.SEEK_STEP}),this.add(38,()=>{this.art.volume+=t.VOLUME_STEP}),this.add(39,()=>{this.art.forward=t.SEEK_STEP}),this.add(40,()=>{this.art.volume-=t.VOLUME_STEP}),e(window,"keydown",t=>{if(this.art.isFocus){var e=document.activeElement.tagName.toUpperCase(),r=document.activeElement.getAttribute("contenteditable");if("INPUT"!==e&&"TEXTAREA"!==e&&""!==r&&"true"!==r){const a=this.keys[t.keyCode];if(a){t.preventDefault();for(let e=0;e<a.length;e++)a[e].call(this.art,t);this.art.emit("hotkey",t)}}}})}add(e,t){return this.keys[e]?this.keys[e].push(t):this.keys[e]=[t],this}remove(e,t){return this.keys[e]&&-1!==(t=this.keys[e].indexOf(t))&&this.keys[e].splice(t,1),this}}},{"./utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6G6hZ":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),e=(a.defineInteropFlag(r),e("./utils/component")),a=a.interopDefault(e);class o extends a.default{constructor(e){super(e);var{option:t,template:{$layer:e}}=e;this.name="layer",this.$parent=e;for(let e=0;e<t.layers.length;e++)this.add(t.layers[e])}}r.default=o},{"./utils/component":"18nVI","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"3dsEe":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("./utils")),e=e("./utils/component"),a=a.interopDefault(e);class i extends a.default{constructor(e){super(e),this.name="loading",(0,o.append)(e.template.$loading,e.icons.loading)}}r.default=i},{"./utils":"71aH7","./utils/component":"18nVI","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],dWGTw:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("./utils");r.default=class{constructor(e){this.art=e,this.timer=null}set show(e){const{constructor:t,template:{$player:r,$noticeInner:a}}=this.art;e?(a.innerText=e instanceof Error?e.message.trim():e,(0,o.addClass)(r,"art-notice-show"),clearTimeout(this.timer),this.timer=setTimeout(()=>{(a.innerText="",o.removeClass)(r,"art-notice-show")},t.NOTICE_TIME)):(0,o.removeClass)(r,"art-notice-show")}}},{"./utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"5POkG":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),n=(a.defineInteropFlag(r),e("./utils")),e=e("./utils/component"),a=a.interopDefault(e);class o extends a.default{constructor(e){super(e),this.name="mask";const{template:t,icons:r,events:a}=e,o=(0,n.append)(t.$state,r.state),i=(0,n.append)(t.$state,r.error);(0,n.setStyle)(i,"display","none"),e.on("destroy",()=>{(0,n.setStyle)(o,"display","none"),(0,n.setStyle)(i,"display",null)}),a.proxy(t.$state,"click",()=>e.play())}}r.default=o},{"./utils":"71aH7","./utils/component":"18nVI","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"6OeNg":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("../utils")),i=e("bundle-text:./loading.svg"),n=a.interopDefault(i),i=e("bundle-text:./state.svg"),s=a.interopDefault(i),i=e("bundle-text:./check.svg"),l=a.interopDefault(i),i=e("bundle-text:./play.svg"),c=a.interopDefault(i),i=e("bundle-text:./pause.svg"),p=a.interopDefault(i),i=e("bundle-text:./volume.svg"),u=a.interopDefault(i),i=e("bundle-text:./volume-close.svg"),d=a.interopDefault(i),i=e("bundle-text:./screenshot.svg"),f=a.interopDefault(i),i=e("bundle-text:./setting.svg"),h=a.interopDefault(i),i=e("bundle-text:./arrow-left.svg"),m=a.interopDefault(i),i=e("bundle-text:./arrow-right.svg"),g=a.interopDefault(i),i=e("bundle-text:./playback-rate.svg"),y=a.interopDefault(i),i=e("bundle-text:./aspect-ratio.svg"),v=a.interopDefault(i),i=e("bundle-text:./config.svg"),b=a.interopDefault(i),i=e("bundle-text:./pip.svg"),x=a.interopDefault(i),i=e("bundle-text:./lock.svg"),w=a.interopDefault(i),i=e("bundle-text:./unlock.svg"),j=a.interopDefault(i),i=e("bundle-text:./fullscreen-off.svg"),k=a.interopDefault(i),i=e("bundle-text:./fullscreen-on.svg"),S=a.interopDefault(i),i=e("bundle-text:./fullscreen-web-off.svg"),I=a.interopDefault(i),i=e("bundle-text:./fullscreen-web-on.svg"),C=a.interopDefault(i),i=e("bundle-text:./switch-on.svg"),E=a.interopDefault(i),i=e("bundle-text:./switch-off.svg"),P=a.interopDefault(i),i=e("bundle-text:./flip.svg"),T=a.interopDefault(i),i=e("bundle-text:./error.svg"),M=a.interopDefault(i),i=e("bundle-text:./close.svg"),F=a.interopDefault(i),i=e("bundle-text:./airplay.svg"),$=a.interopDefault(i);r.default=class{constructor(e){const r={loading:n.default,state:s.default,play:c.default,pause:p.default,check:l.default,volume:u.default,volumeClose:d.default,screenshot:f.default,setting:h.default,pip:x.default,arrowLeft:m.default,arrowRight:g.default,playbackRate:y.default,aspectRatio:v.default,config:b.default,lock:w.default,flip:T.default,unlock:j.default,fullscreenOff:k.default,fullscreenOn:S.default,fullscreenWebOff:I.default,fullscreenWebOn:C.default,switchOn:E.default,switchOff:P.default,error:M.default,close:F.default,airplay:$.default,...e.option.icons};Object.keys(r).forEach(t=>{(0,o.def)(this,t,{get:()=>{var e=(0,o.createElement)("i");return(0,o.addClass)(e,"art-icon"),(0,o.addClass)(e,"art-icon-"+t),(0,o.append)(e,r[t]),e}})})}}},{"../utils":"71aH7","bundle-text:./loading.svg":"7tDub","bundle-text:./state.svg":"1ElZc","bundle-text:./check.svg":"lmgoP","bundle-text:./play.svg":"lVWoQ","bundle-text:./pause.svg":"5Mnax","bundle-text:./volume.svg":"w3eIa","bundle-text:./volume-close.svg":"rHjo1","bundle-text:./screenshot.svg":"2KcqM","bundle-text:./setting.svg":"8rQMV","bundle-text:./arrow-left.svg":"kqGBE","bundle-text:./arrow-right.svg":"aFjpC","bundle-text:./playback-rate.svg":"lx7ZM","bundle-text:./aspect-ratio.svg":"2sEjf","bundle-text:./config.svg":"fQTgE","bundle-text:./pip.svg":"2CaxO","bundle-text:./lock.svg":"aCGnW","bundle-text:./unlock.svg":"bTrAV","bundle-text:./fullscreen-off.svg":"bA3p0","bundle-text:./fullscreen-on.svg":"fTuY8","bundle-text:./fullscreen-web-off.svg":"tvKf4","bundle-text:./fullscreen-web-on.svg":"1F1oB","bundle-text:./switch-on.svg":"7qNHs","bundle-text:./switch-off.svg":"28aV8","bundle-text:./flip.svg":"1uXI6","bundle-text:./error.svg":"9f4dh","bundle-text:./close.svg":"4nTtS","bundle-text:./airplay.svg":"cDPXC","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"7tDub":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-default"><path fill="none" class="bk" d="M0 0h100v100H0z"/><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-1s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(30 105.98 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.9166666666666666s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(60 75.98 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.8333333333333334s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(90 65 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.75s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(120 58.66 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.6666666666666666s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(150 54.02 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.5833333333333334s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(180 50 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.5s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(-150 45.98 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.4166666666666667s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(-120 41.34 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.3333333333333333s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(-90 35 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.25s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(-60 24.02 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.16666666666666666s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#fff" transform="rotate(-30 -5.98 65)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.08333333333333333s" repeatCount="indefinite"/></rect></svg>'},{}],"1ElZc":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="60" width="60" style="filter:drop-shadow(0 1px 1px #000)" viewBox="0 0 24 24"><path d="M20 2H4C1.8 2 0 3.8 0 6v12c0 2.2 1.8 4 4 4h16c2.2 0 4-1.8 4-4V6c0-2.2-1.8-4-4-4zm-4.4 10.8L10.5 16c-.6.5-1.5 0-1.5-.8V8.8c0-.8.9-1.3 1.5-.8l5.1 3.2c.7.3.7 1.3 0 1.6z"/></svg>'},{}],lmgoP:[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width:100%;height:100%"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff"/></svg>'},{}],lVWoQ:[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22"><path d="M17.982 9.275 8.06 3.27A2.013 2.013 0 0 0 5 4.994v12.011a2.017 2.017 0 0 0 3.06 1.725l9.922-6.005a2.017 2.017 0 0 0 0-3.45z"/></svg>'},{}],"5Mnax":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22"><path d="M7 3a2 2 0 0 0-2 2v12a2 2 0 1 0 4 0V5a2 2 0 0 0-2-2zm8 0a2 2 0 0 0-2 2v12a2 2 0 1 0 4 0V5a2 2 0 0 0-2-2z"/></svg>'},{}],w3eIa:[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22"><path d="M10.188 4.65 6 8H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h1l4.188 3.35a.5.5 0 0 0 .812-.39V5.04a.498.498 0 0 0-.812-.39zm4.258-.872a1 1 0 0 0-.862 1.804 6.002 6.002 0 0 1-.007 10.838 1 1 0 0 0 .86 1.806A8.001 8.001 0 0 0 19 11a8.001 8.001 0 0 0-4.554-7.222z"/><path d="M15 11a3.998 3.998 0 0 0-2-3.465v6.93A3.998 3.998 0 0 0 15 11z"/></svg>'},{}],rHjo1:[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22"><path d="M15 11a3.998 3.998 0 0 0-2-3.465v2.636l1.865 1.865A4.02 4.02 0 0 0 15 11z"/><path d="M13.583 5.583A5.998 5.998 0 0 1 17 11a6 6 0 0 1-.585 2.587l1.477 1.477a8.001 8.001 0 0 0-3.446-11.286 1 1 0 0 0-.863 1.805zm5.195 13.195-2.121-2.121-1.414-1.414-1.415-1.415L13 13l-2-2-3.889-3.889-3.889-3.889a.999.999 0 1 0-1.414 1.414L5.172 8H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h1l4.188 3.35a.5.5 0 0 0 .812-.39v-3.131l2.587 2.587-.01.005a1 1 0 0 0 .86 1.806c.215-.102.424-.214.627-.333l2.3 2.3a1.001 1.001 0 0 0 1.414-1.416zM11 5.04a.5.5 0 0 0-.813-.39L8.682 5.854 11 8.172V5.04z"/></svg>'},{}],"2KcqM":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 50 50"><path d="M19.402 6a5 5 0 0 0-4.902 4.012L14.098 12H9a5 5 0 0 0-5 5v21a5 5 0 0 0 5 5h32a5 5 0 0 0 5-5V17a5 5 0 0 0-5-5h-5.098l-.402-1.988A5 5 0 0 0 30.598 6ZM25 17c5.52 0 10 4.48 10 10s-4.48 10-10 10-10-4.48-10-10 4.48-10 10-10Zm0 2c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8Z"/></svg>'},{}],"8rQMV":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22"><circle cx="11" cy="11" r="2"/><path d="M19.164 8.861 17.6 8.6a6.978 6.978 0 0 0-1.186-2.099l.574-1.533a1 1 0 0 0-.436-1.217l-1.997-1.153a1.001 1.001 0 0 0-1.272.23l-1.008 1.225a7.04 7.04 0 0 0-2.55.001L8.716 2.829a1 1 0 0 0-1.272-.23L5.447 3.751a1 1 0 0 0-.436 1.217l.574 1.533A6.997 6.997 0 0 0 4.4 8.6l-1.564.261A.999.999 0 0 0 2 9.847v2.306c0 .489.353.906.836.986l1.613.269a7 7 0 0 0 1.228 2.075l-.558 1.487a1 1 0 0 0 .436 1.217l1.997 1.153c.423.244.961.147 1.272-.23l1.04-1.263a7.089 7.089 0 0 0 2.272 0l1.04 1.263a1 1 0 0 0 1.272.23l1.997-1.153a1 1 0 0 0 .436-1.217l-.557-1.487c.521-.61.94-1.31 1.228-2.075l1.613-.269a.999.999 0 0 0 .835-.986V9.847a.999.999 0 0 0-.836-.986zM11 15a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/></svg>'},{}],kqGBE:[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><path d="m19.41 20.09-4.58-4.59 4.58-4.59L18 9.5l-6 6 6 6z" fill="#fff"/></svg>'},{}],aFjpC:[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><path d="m12.59 20.34 4.58-4.59-4.58-4.59L14 9.75l6 6-6 6z" fill="#fff"/></svg>'},{}],lx7ZM:[function(e,t,r){t.exports='<svg height="24" width="24"><path d="M10 8v8l6-4-6-4zM6.3 5l-.6-.8C7.2 3 9 2.2 11 2l.1 1c-1.8.2-3.4.9-4.8 2zM5 6.3l-.8-.6C3 7.2 2.2 9 2 11l1 .1c.2-1.8.9-3.4 2-4.8zm0 11.4c-1.1-1.4-1.8-3.1-2-4.8L2 13c.2 2 1 3.8 2.2 5.4l.8-.7zm6.1 3.3c-1.8-.2-3.4-.9-4.8-2l-.6.8C7.2 21 9 21.8 11 22l.1-1zM22 12c0-5.2-3.9-9.4-9-10l-.1 1c4.6.5 8.1 4.3 8.1 9s-3.5 8.5-8.1 9l.1 1c5.2-.5 9-4.8 9-10z" fill="#fff" style="--darkreader-inline-fill:#a8a6a4"/></svg>'},{}],"2sEjf":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 88 88" style="width:100%;height:100%;transform:translate(0,0)"><defs><clipPath id="__lottie_element_216"><path d="M0 0h88v88H0z"/></clipPath></defs><g style="display:block" clip-path="url(\'#__lottie_element_216\')"><path fill="#FFF" d="m12.438-12.702-2.82 2.82c-.79.79-.79 2.05 0 2.83l7.07 7.07-7.07 7.07c-.79.79-.79 2.05 0 2.83l2.82 2.83c.79.78 2.05.78 2.83 0l11.32-11.31c.78-.78.78-2.05 0-2.83l-11.32-11.31c-.78-.79-2.04-.79-2.83 0zm-24.88 0c-.74-.74-1.92-.78-2.7-.12l-.13.12-11.31 11.31a2 2 0 0 0-.12 2.7l.12.13 11.31 11.31a2 2 0 0 0 2.7.12l.13-.12 2.83-2.83c.74-.74.78-1.91.11-2.7l-.11-.13-7.07-7.07 7.07-7.07c.74-.74.78-1.91.11-2.7l-.11-.13-2.83-2.82zM28-28c4.42 0 8 3.58 8 8v40c0 4.42-3.58 8-8 8h-56c-4.42 0-8-3.58-8-8v-40c0-4.42 3.58-8 8-8h56z" style="--darkreader-inline-fill:#a8a6a4" transform="translate(44 44)"/></g></svg>'},{}],fQTgE:[function(e,t,r){t.exports='<svg height="24" width="24"><path d="M15 17h6v1h-6v-1zm-4 0H3v1h8v2h1v-5h-1v2zm3-9h1V3h-1v2H3v1h11v2zm4-3v1h3V5h-3zM6 14h1V9H6v2H3v1h3v2zm4-2h11v-1H10v1z" fill="#fff" style="--darkreader-inline-fill:#a8a6a4"/></svg>'},{}],"2CaxO":[function(e,t,r){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" height="32" width="32"><path d="M25 17h-8v6h8v-6Zm4 8V10.98C29 9.88 28.1 9 27 9H9c-1.1 0-2 .88-2 1.98V25c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2Zm-2 .02H9V10.97h18v14.05Z"/></svg>'},{}],aCGnW:[function(e,t,r){t.exports='<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path d="M298.667 426.667v-85.334a213.333 213.333 0 1 1 426.666 0v85.334H768A85.333 85.333 0 0 1 853.333 512v256A85.333 85.333 0 0 1 768 853.333H256A85.333 85.333 0 0 1 170.667 768V512A85.333 85.333 0 0 1 256 426.667h42.667zM512 213.333a128 128 0 0 0-128 128v85.334h256v-85.334a128 128 0 0 0-128-128z" fill="#fff"/></svg>'},{}],bTrAV:[function(e,t,r){t.exports='<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path d="m666.752 194.517-49.365 74.112A128 128 0 0 0 384 341.333l.043 85.334h384A85.333 85.333 0 0 1 853.376 512v256a85.333 85.333 0 0 1-85.333 85.333H256A85.333 85.333 0 0 1 170.667 768V512A85.333 85.333 0 0 1 256 426.667h42.667v-85.334a213.333 213.333 0 0 1 368.085-146.816z" fill="#fff"/></svg>'},{}],bA3p0:[function(e,t,r){t.exports='<svg class="icon" width="22" height="22" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M768 298.667h170.667V384h-256V128H768v170.667zM341.333 384h-256v-85.333H256V128h85.333v256zM768 725.333V896h-85.333V640h256v85.333H768zM341.333 640v256H256V725.333H85.333V640h256z"/></svg>'},{}],fTuY8:[function(e,t,r){t.exports='<svg class="icon" width="22" height="22" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M625.778 256H768v142.222h113.778v-256h-256V256zM256 398.222V256h142.222V142.222h-256v256H256zm512 227.556V768H625.778v113.778h256v-256H768zM398.222 768H256V625.778H142.222v256h256V768z"/></svg>'},{}],tvKf4:[function(e,t,r){t.exports='<svg class="icon" width="18" height="18" viewBox="0 0 1152 1024" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M1075.2 0H76.8A76.8 76.8 0 0 0 0 76.8v870.4a76.8 76.8 0 0 0 76.8 76.8h998.4a76.8 76.8 0 0 0 76.8-76.8V76.8A76.8 76.8 0 0 0 1075.2 0zM1024 128v768H128V128h896zM896 512a64 64 0 0 1 7.488 127.552L896 640H768v128a64 64 0 0 1-56.512 63.552L704 832a64 64 0 0 1-63.552-56.512L640 768V582.592c0-34.496 25.024-66.112 61.632-70.208l8-.384H896zm-640 0a64 64 0 0 1-7.488-127.552L256 384h128V256a64 64 0 0 1 56.512-63.552L448 192a64 64 0 0 1 63.552 56.512L512 256v185.408c0 34.432-25.024 66.112-61.632 70.144l-8 .448H256z"/></svg>'},{}],"1F1oB":[function(e,t,r){t.exports='<svg class="icon" width="18" height="18" viewBox="0 0 1152 1024" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M1075.2 0H76.8A76.8 76.8 0 0 0 0 76.8v870.4a76.8 76.8 0 0 0 76.8 76.8h998.4a76.8 76.8 0 0 0 76.8-76.8V76.8A76.8 76.8 0 0 0 1075.2 0zM1024 128v768H128V128h896zm-576 64a64 64 0 0 1 7.488 127.552L448 320H320v128a64 64 0 0 1-56.512 63.552L256 512a64 64 0 0 1-63.552-56.512L192 448V262.592c0-34.432 25.024-66.112 61.632-70.144l8-.448H448zm256 640a64 64 0 0 1-7.488-127.552L704 704h128V576a64 64 0 0 1 56.512-63.552L896 512a64 64 0 0 1 63.552 56.512L960 576v185.408c0 34.496-25.024 66.112-61.632 70.208l-8 .384H704z"/></svg>'},{}],"7qNHs":[function(e,t,r){t.exports='<svg class="icon" width="26" height="26" viewBox="0 0 1664 1024" xmlns="http://www.w3.org/2000/svg"><path fill="#648FFC" d="M1152 0H512a512 512 0 0 0 0 1024h640a512 512 0 0 0 0-1024zm0 960a448 448 0 1 1 448-448 448 448 0 0 1-448 448z"/></svg>'},{}],"28aV8":[function(e,t,r){t.exports='<svg class="icon" width="26" height="26" viewBox="0 0 1740 1024" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M511.898 1024h670.515c282.419-.41 511.18-229.478 511.18-511.898 0-282.419-228.761-511.488-511.18-511.897H511.898C229.478.615.717 229.683.717 512.102c0 282.42 228.761 511.488 511.18 511.898zm-.564-975.36A464.589 464.589 0 1 1 48.026 513.024 463.872 463.872 0 0 1 511.334 48.435v.205z"/></svg>'},{}],"1uXI6":[function(e,t,r){t.exports='<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M554.667 810.667V896h-85.334v-85.333h85.334zm-384-632.662a42.667 42.667 0 0 1 34.986 18.219l203.904 291.328a42.667 42.667 0 0 1 0 48.896L205.611 827.776A42.667 42.667 0 0 1 128 803.328V220.672a42.667 42.667 0 0 1 42.667-42.667zm682.666 0a42.667 42.667 0 0 1 42.368 37.718l.299 4.949v582.656a42.667 42.667 0 0 1-74.24 28.63l-3.413-4.182-203.904-291.328a42.667 42.667 0 0 1-3.03-43.861l3.03-5.035 203.946-291.328a42.667 42.667 0 0 1 34.944-18.219zM554.667 640v85.333h-85.334V640h85.334zm-358.4-320.896V716.8L335.957 512 196.31 319.104zm358.4 150.23v85.333h-85.334v-85.334h85.334zm0-170.667V384h-85.334v-85.333h85.334zm0-170.667v85.333h-85.334V128h85.334z" fill="#fff"/></svg>'},{}],"9f4dh":[function(e,t,r){t.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="M593.818 168.55 949.82 763.76c26.153 43.746 10.732 99.738-34.447 125.052-14.397 8.069-30.72 12.308-47.37 12.308H155.976c-52.224 0-94.536-40.96-94.536-91.505 0-16.097 4.383-31.928 12.718-45.875l356.004-595.19c26.173-43.724 84.009-58.654 129.208-33.341a93.082 93.082 0 0 1 34.448 33.341zM512 819.2a61.44 61.44 0 1 0 0-122.88 61.44 61.44 0 0 0 0 122.88zm0-512a72.315 72.315 0 0 0-71.762 81.306l25.723 205.721a46.408 46.408 0 0 0 92.078 0l25.723-205.742A72.315 72.315 0 0 0 512 307.2z"/></svg>'},{}],"4nTtS":[function(e,t,r){t.exports='<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="22" height="22"><path d="m571.733 512 268.8-268.8c17.067-17.067 17.067-42.667 0-59.733-17.066-17.067-42.666-17.067-59.733 0L512 452.267l-268.8-268.8c-17.067-17.067-42.667-17.067-59.733 0-17.067 17.066-17.067 42.666 0 59.733l268.8 268.8-268.8 268.8c-17.067 17.067-17.067 42.667 0 59.733 8.533 8.534 19.2 12.8 29.866 12.8s21.334-4.266 29.867-12.8l268.8-268.8 268.8 268.8c8.533 8.534 19.2 12.8 29.867 12.8s21.333-4.266 29.866-12.8c17.067-17.066 17.067-42.666 0-59.733L571.733 512z"/></svg>'},{}],cDPXC:[function(e,t,r){t.exports='<svg width="18" height="18" xmlns="http://www.w3.org/2000/svg"><g fill="#fff"><path d="M16 1H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3v-2H3V3h12v8h-2v2h3a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1Z"/><path d="M4 17h10l-5-6z"/></g></svg>'},{}],"3eYNH":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("./flip")),i=a.interopDefault(o),o=e("./aspectRatio"),n=a.interopDefault(o),o=e("./playbackRate"),s=a.interopDefault(o),o=e("./subtitleOffset"),l=a.interopDefault(o),o=e("../utils/component"),a=a.interopDefault(o),p=e("../utils");class c extends a.default{constructor(t){super(t);const{option:r,proxy:e,template:{$setting:a,$player:o}}=t;if(this.name="setting",this.$parent=a,this.option=[],this.events=[],this.cache=new Map,r.setting){r.playbackRate&&this.option.push((0,s.default)(t)),r.aspectRatio&&this.option.push((0,n.default)(t)),r.flip&&this.option.push((0,i.default)(t)),r.subtitleOffset&&this.option.push((0,l.default)(t));for(let e=0;e<r.settings.length;e++)this.option.push(r.settings[e]);this.update(),t.on("blur",()=>{this.show&&(this.show=!1,this.init(this.option))}),e(o,"click",e=>{!this.show||(0,p.includeFromEvent)(e,t.controls.setting)||(0,p.includeFromEvent)(e,this.$parent)||(this.show=!1,this.init(this.option))})}}static makeRecursion(t,r,a){for(let e=0;e<t.length;e++){const o=t[e];o.$parentItem=r,o.$parentList=a,o.selector&&c.makeRecursion(o.selector,o,t)}return t}update(){return this.cache=new Map,this.events.forEach(e=>e()),this.events=[],this.$parent.innerHTML="",this.option=c.makeRecursion(this.option),this.init(this.option),this.option}add(e){return this.option.push(e),this.update(),e}creatHeader(e){const{icons:t,proxy:r}=this.art,a=(0,p.createElement)("div");(0,p.addClass)(a,"art-setting-item"),(0,p.addClass)(a,"art-setting-item-back");var o=(0,p.append)(a,'<div class="art-setting-item-left"></div>'),i=(0,p.createElement)("div"),i=((0,p.addClass)(i,"art-setting-item-left-icon"),(0,p.append)(i,t.arrowLeft),(0,p.append)(o,i),(0,p.append)(o,e.$parentItem.html),r(a,"click",()=>this.init(e.$parentList)));return this.events.push(i),a}creatItem(e,r){const{icons:t,proxy:a}=this.art,o=(0,p.createElement)("div"),i=((0,p.addClass)(o,"art-setting-item"),(0,p.isStringOrNumber)(r.name)&&(o.dataset.name=r.name),(0,p.isStringOrNumber)(r.value)&&(o.dataset.value=r.value),(0,p.append)(o,'<div class="art-setting-item-left"></div>')),n=(0,p.append)(o,'<div class="art-setting-item-right"></div>'),s=(0,p.createElement)("div");switch((0,p.addClass)(s,"art-setting-item-left-icon"),e){case"switch":case"range":(0,p.append)(s,(0,p.isStringOrNumber)(r.icon)||r.icon instanceof Element?r.icon:t.config);break;case"selector":r.selector&&r.selector.length?(0,p.append)(s,(0,p.isStringOrNumber)(r.icon)||r.icon instanceof Element?r.icon:t.config):(0,p.append)(s,t.check)}(0,p.append)(i,s),r.$icon=s,(0,p.def)(r,"icon",{configurable:!0,get:()=>s.innerHTML,set(e){(0,p.isStringOrNumber)(e)&&(s.innerHTML=e)}});const l=(0,p.createElement)("div"),c=((0,p.addClass)(l,"art-setting-item-left-text"),(0,p.append)(l,r.html||""),(0,p.append)(i,l),r.$html=l,(0,p.def)(r,"html",{configurable:!0,get:()=>l.innerHTML,set(e){(0,p.isStringOrNumber)(e)&&(l.innerHTML=e)}}),(0,p.createElement)("div"));switch((0,p.addClass)(c,"art-setting-item-right-tooltip"),(0,p.append)(c,r.tooltip||""),(0,p.append)(n,c),r.$tooltip=c,(0,p.def)(r,"tooltip",{configurable:!0,get:()=>c.innerHTML,set(e){(0,p.isStringOrNumber)(e)&&(c.innerHTML=e)}}),e){case"switch":{const e=(0,p.createElement)("div"),a=((0,p.addClass)(e,"art-setting-item-right-icon"),(0,p.append)(e,t.switchOn)),o=(0,p.append)(e,t.switchOff);(0,p.setStyle)(r.switch?o:a,"display","none"),(0,p.append)(n,e),r.$switch=r.switch,(0,p.def)(r,"switch",{configurable:!0,get:()=>r.$switch,set(e){(r.$switch=e)?((0,p.setStyle)(o,"display","none"),(0,p.setStyle)(a,"display",null)):((0,p.setStyle)(o,"display",null),(0,p.setStyle)(a,"display","none"))}});break}case"range":{const e=(0,p.createElement)("div"),t=((0,p.addClass)(e,"art-setting-item-right-icon"),(0,p.append)(e,'<input type="range">'));t.value=r.range[0]||0,t.min=r.range[1]||0,t.max=r.range[2]||10,t.step=r.range[3]||1,(0,p.addClass)(t,"art-setting-range"),(0,p.append)(n,e),r.$range=t,(0,p.def)(r,"range",{configurable:!0,get:()=>t.valueAsNumber,set(e){t.value=Number(e)}})}break;case"selector":if(r.selector&&r.selector.length){const e=(0,p.createElement)("div");(0,p.addClass)(e,"art-setting-item-right-icon"),(0,p.append)(e,t.arrowRight),(0,p.append)(n,e)}}switch(e){case"switch":if(r.onSwitch){const e=a(o,"click",async e=>{r.switch=await r.onSwitch.call(this.art,r,o,e)});this.events.push(e)}break;case"range":if(r.$range){if(r.onRange){const e=a(r.$range,"change",async e=>{r.tooltip=await r.onRange.call(this.art,r,o,e)});this.events.push(e)}if(r.onChange){const e=a(r.$range,"input",async e=>{r.tooltip=await r.onChange.call(this.art,r,o,e)});this.events.push(e)}}break;case"selector":{const e=a(o,"click",async e=>{if(r.selector&&r.selector.length)this.init(r.selector,r.width);else{(0,p.inverseClass)(o,"art-current");for(let e=0;e<r.$parentItem.selector.length;e++){const t=r.$parentItem.selector[e];t.default=t===r}r.$parentList&&this.init(r.$parentList),r.$parentItem&&r.$parentItem.onSelect&&(e=await r.$parentItem.onSelect.call(this.art,r,o,e),r.$parentItem.$tooltip&&(0,p.isStringOrNumber)(e)&&(r.$parentItem.$tooltip.innerHTML=e))}});this.events.push(e),r.default&&(0,p.addClass)(o,"art-current")}}return o}updateStyle(e){const{controls:t,constructor:r,template:{$player:a,$setting:o}}=this.art;var i,n,s,l;t.setting?(e=e||r.SETTING_WIDTH,{left:i,width:n}=t.setting.getBoundingClientRect(),{left:s,width:l}=a.getBoundingClientRect(),l<(l=i-s+n/2-e/2)+e?((0,p.setStyle)(o,"left","auto"),(0,p.setStyle)(o,"right","10px")):((0,p.setStyle)(o,"left",l+"px"),(0,p.setStyle)(o,"right","auto"))):((0,p.setStyle)(o,"left","auto"),(0,p.setStyle)(o,"right","10px"))}init(t,e){const r=this.art["constructor"];if(this.cache.has(t)){const e=this.cache.get(t);(0,p.inverseClass)(e,"art-current"),(0,p.setStyle)(this.$parent,"width",e.dataset.width+"px"),(0,p.setStyle)(this.$parent,"height",e.dataset.height+"px"),this.updateStyle(Number(e.dataset.width))}else{const a=(0,p.createElement)("div");(0,p.addClass)(a,"art-setting-panel"),a.dataset.width=e||r.SETTING_WIDTH,a.dataset.height=t.length*r.SETTING_ITEM_HEIGHT,t[0]&&t[0].$parentItem&&((0,p.append)(a,this.creatHeader(t[0])),a.dataset.height=Number(a.dataset.height)+r.SETTING_ITEM_HEIGHT);for(let e=0;e<t.length;e++){const r=t[e];(0,p.has)(r,"switch")?(0,p.append)(a,this.creatItem("switch",r)):(0,p.has)(r,"range")?(0,p.append)(a,this.creatItem("range",r)):(0,p.append)(a,this.creatItem("selector",r))}(0,p.append)(this.$parent,a),this.cache.set(t,a),(0,p.inverseClass)(a,"art-current"),(0,p.setStyle)(this.$parent,"width",a.dataset.width+"px"),(0,p.setStyle)(this.$parent,"height",a.dataset.height+"px"),this.updateStyle(Number(a.dataset.width)),t[0]&&t[0].$parentItem&&t[0].$parentItem.mounted&&t[0].$parentItem.mounted.call(this.art,a,t[0].$parentItem)}}}r.default=c},{"./flip":"kONUB","./aspectRatio":"84NBV","./playbackRate":"aetWt","./subtitleOffset":"fIBkO","../utils/component":"18nVI","../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],kONUB:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("../utils");r.default=function(r){const{i18n:a,icons:e,constructor:{SETTING_ITEM_WIDTH:t,FLIP:o}}=r;function i(e,t,r){t&&(t.innerText=a.get((0,n.capitalize)(r)));t=(0,n.queryAll)(".art-setting-item",e).find(e=>e.dataset.value===r);t&&(0,n.inverseClass)(t,"art-current")}return{width:t,html:a.get("Video Flip"),tooltip:a.get((0,n.capitalize)(r.flip)),icon:e.flip,selector:o.map(e=>({value:e,default:e===r.flip,html:a.get((0,n.capitalize)(e))})),onSelect:e=>(r.flip=e.value,e.value),mounted:(e,t)=>{i(e,t.$tooltip,r.flip),r.on("flip",()=>{i(e,t.$tooltip,r.flip)})}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"84NBV":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var s=e("../utils");r.default=function(r){const{i18n:t,icons:e,constructor:{SETTING_ITEM_WIDTH:a,ASPECT_RATIO:o}}=r;function i(e){return"default"===e?t.get("Default"):e}function n(e,t,r){t&&(t.innerText=i(r));t=(0,s.queryAll)(".art-setting-item",e).find(e=>e.dataset.value===r);t&&(0,s.inverseClass)(t,"art-current")}return{width:a,html:t.get("Aspect Ratio"),icon:e.aspectRatio,tooltip:i(r.aspectRatio),selector:o.map(e=>({value:e,default:e===r.aspectRatio,html:i(e)})),onSelect:e=>(r.aspectRatio=e.value,e.value),mounted:(e,t)=>{n(e,t.$tooltip,r.aspectRatio),r.on("aspectRatio",()=>{n(e,t.$tooltip,r.aspectRatio)})}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],aetWt:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var s=e("../utils");r.default=function(r){const{i18n:t,icons:e,constructor:{SETTING_ITEM_WIDTH:a,PLAYBACK_RATE:o}}=r;function i(e){return 1===e?t.get("Normal"):e}function n(e,t,r){t&&(t.innerText=i(r));t=(0,s.queryAll)(".art-setting-item",e).find(e=>Number(e.dataset.value)===r);t&&(0,s.inverseClass)(t,"art-current")}return{width:a,html:t.get("Play Speed"),tooltip:i(r.playbackRate),icon:e.playbackRate,selector:o.map(e=>({value:e,default:e===r.playbackRate,html:i(e)})),onSelect:e=>(r.playbackRate=e.value,e.value),mounted:(e,t)=>{n(e,t.$tooltip,r.playbackRate),r.on("video:ratechange",()=>{n(e,t.$tooltip,r.playbackRate)})}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],fIBkO:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(t){const{i18n:e,icons:r,constructor:a}=t;return{width:a.SETTING_ITEM_WIDTH,html:e.get("Subtitle Offset"),icon:r.subtitle,tooltip:"0s",range:[0,-5,5,.1],onChange:e=>(t.subtitleOffset=e.range,e.range+"s")}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"2aaJe":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=class{constructor(){this.name="artplayer_settings",this.settings={}}get(t){try{var e=JSON.parse(window.localStorage.getItem(this.name))||{};return t?e[t]:e}catch(e){return t?this.settings[t]:this.settings}}set(t,r){try{var e=Object.assign({},this.get(),{[t]:r});window.localStorage.setItem(this.name,JSON.stringify(e))}catch(e){this.settings[t]=r}}del(t){try{const e=this.get();delete e[t],window.localStorage.setItem(this.name,JSON.stringify(e))}catch(e){delete this.settings[t]}}clear(){try{window.localStorage.removeItem(this.name)}catch(e){this.settings={}}}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"8MTUM":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("../utils")),i=e("./miniProgressBar"),n=a.interopDefault(i),i=e("./autoOrientation"),s=a.interopDefault(i),i=e("./autoPlayback"),l=a.interopDefault(i),i=e("./fastForward"),c=a.interopDefault(i),i=e("./lock"),p=a.interopDefault(i);r.default=class{constructor(e){this.art=e,this.id=0;var t=e["option"];t.miniProgressBar&&!t.isLive&&this.add(n.default),t.lock&&o.isMobile&&this.add(p.default),t.autoPlayback&&!t.isLive&&this.add(l.default),t.autoOrientation&&o.isMobile&&this.add(s.default),t.fastForward&&o.isMobile&&!t.isLive&&this.add(c.default);for(let e=0;e<t.plugins.length;e++)this.add(t.plugins[e])}add(e){this.id+=1;var t=e.call(this.art,this.art),e=t&&t.name||e.name||"plugin"+this.id;return(0,o.errorHandle)(!(0,o.has)(this,e),"Cannot add a plugin that already has the same name: "+e),(0,o.def)(this,e,{value:t}),this}}},{"../utils":"71aH7","./miniProgressBar":"87pSL","./autoOrientation":"ePEg5","./autoPlayback":"cVO99","./fastForward":"hFDwt","./lock":"1hsTH","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"87pSL":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=function(e){return e.on("ready",()=>{e.layers.add({name:"miniProgressBar",mounted(r){e.on("destroy",()=>{r.style.display="none"}),e.on("video:timeupdate",()=>{r.style.width=100*e.played+"%"}),e.on("setBar",(e,t)=>{"played"===e&&(r.style.width=100*t+"%")})}})}),{name:"miniProgressBar"}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],ePEg5:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var l=e("../utils");r.default=function(a){const{option:o,constructor:i,template:{$player:n,$video:s}}=a;return a.on("fullscreenWeb",e=>{if(e){const{videoWidth:o,videoHeight:e}=s,{clientWidth:t,clientHeight:r}=document.documentElement;(o>e&&t<r||o<e&&t>r)&&setTimeout(()=>{(0,l.setStyle)(n,"width",r+"px"),(0,l.setStyle)(n,"height",t+"px"),(0,l.setStyle)(n,"transform-origin","0 0"),(0,l.setStyle)(n,"transform",`rotate(90deg) translate(0, -${t}px)`),(0,l.addClass)(n,"art-auto-orientation"),a.isRotate=!0,a.emit("resize")},i.MOBILE_AUTO_ORIENTATION_TIME)}else(0,l.hasClass)(n,"art-auto-orientation")&&((0,l.setStyle)(n,"width",null),(0,l.setStyle)(n,"height",null),(0,l.setStyle)(n,"transform",null),(0,l.setStyle)(n,"transform-origin",null),(0,l.removeClass)(n,"art-auto-orientation"),a.isRotate=!1,a.aspectRatioReset=!0,a.autoSize=o.autoSize,a.notice.show="",a.emit("resize"))}),a.on("fullscreen",async e=>{const t=screen.orientation.type;if(e){const{videoWidth:e,videoHeight:r}=s,{clientWidth:a,clientHeight:o}=document.documentElement;if(e>r&&a<o||e<r&&o<a){const e=t.startsWith("portrait")?"landscape":"portrait";await screen.orientation.lock(e),(0,l.addClass)(n,"art-auto-orientation-fullscreen")}}else(0,l.hasClass)(n,"art-auto-orientation-fullscreen")&&(await screen.orientation.lock(t),(0,l.removeClass)(n,"art-auto-orientation-fullscreen"))}),{name:"autoOrientation",get state(){return(0,l.hasClass)(n,"art-auto-orientation")}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],cVO99:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var d=e("../utils");r.default=function(r){const{i18n:t,icons:a,storage:o,constructor:i,proxy:n,template:{$poster:s}}=r,l=r.layers.add({name:"autoPlayback",html:'<div class="art-autoPlayback-close"></div><div class="art-autoPlayback-last"></div><div class="art-autoPlayback-jump"></div>'}),c=(0,d.query)(".art-autoPlayback-last",l),p=(0,d.query)(".art-autoPlayback-jump",l),u=(0,d.query)(".art-autoPlayback-close",l);return r.on("video:timeupdate",()=>{const e=o.get("times")||{},t=Object.keys(e);t.length>i.AUTO_PLAYBACK_MAX&&delete e[t[0]],e[r.option.id||r.option.url]=r.currentTime,o.set("times",e)}),r.on("ready",()=>{const e=(o.get("times")||{})[r.option.id||r.option.url];e&&e>=i.AUTO_PLAYBACK_MIN&&((0,d.append)(u,a.close),(0,d.setStyle)(l,"display","flex"),c.innerText=t.get("Last Seen")+" "+(0,d.secondToTime)(e),p.innerText=t.get("Jump Play"),n(u,"click",()=>{(0,d.setStyle)(l,"display","none")}),n(p,"click",()=>{r.seek=e,r.play(),(0,d.setStyle)(s,"display","none"),(0,d.setStyle)(l,"display","none")}),r.once("video:timeupdate",()=>{setTimeout(()=>{(0,d.setStyle)(l,"display","none")},i.AUTO_PLAYBACK_TIMEOUT)}))}),{name:"autoPlayback",get times(){return o.get("times")||{}},clear:()=>o.del("times"),delete(e){const t=o.get("times")||{};return delete t[e],o.set("times",t),t}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],hFDwt:[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var c=e("../utils");r.default=function(t){const{constructor:r,proxy:e,template:{$player:a,$video:o}}=t;let i=null,n=!1,s=1;var l=()=>{clearTimeout(i),n&&(n=!1,t.playbackRate=s,(0,c.removeClass)(a,"art-fast-forward"))};return e(o,"touchstart",e=>{1===e.touches.length&&t.playing&&!t.isLock&&(i=setTimeout(()=>{n=!0,s=t.playbackRate,t.playbackRate=r.FAST_FORWARD_VALUE,(0,c.addClass)(a,"art-fast-forward")},r.FAST_FORWARD_TIME))}),e(document,"touchmove",l),e(document,"touchend",l),{name:"fastForward",get state(){return(0,c.hasClass)(a,"art-fast-forward")}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"1hsTH":[function(e,t,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var i=e("../utils");r.default=function(a){const{layers:e,icons:o,template:{$player:t}}=a;return e.add({name:"lock",mounted(e){const t=(0,i.append)(e,o.lock),r=(0,i.append)(e,o.unlock);(0,i.setStyle)(t,"display","none"),a.on("lock",e=>{e?((0,i.setStyle)(t,"display","inline-flex"),(0,i.setStyle)(r,"display","none")):((0,i.setStyle)(t,"display","none"),(0,i.setStyle)(r,"display","inline-flex"))})},click(){(0,i.hasClass)(t,"art-lock")?((0,i.removeClass)(t,"art-lock"),this.isLock=!1):((0,i.addClass)(t,"art-lock"),this.isLock=!0)}}),{name:"lock",get state(){return(0,i.hasClass)(t,"art-lock")}}}},{"../utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}],"7mil2":[function(e,t,r){var a=e("@parcel/transformer-js/src/esmodule-helpers.js"),o=(a.defineInteropFlag(r),e("./config")),n=a.interopDefault(o),s=e("./utils");r.default=class{constructor(t){const{option:r,proxy:a,template:{$video:o}}=t;for(let e=0;e<n.default.events.length;e++)a(o,n.default.events[e],e=>{t.emit("video:"+e.type,e)});Object.keys(r.moreVideoAttr).forEach(e=>{o[e]=r.moreVideoAttr[e]}),o.controls=!0,r.muted&&(o.muted=r.muted),r.volume&&(o.volume=(0,s.clamp)(r.volume,0,1)),r.poster&&(o.poster=r.poster),r.autoplay&&(o.autoplay=r.autoplay),r.playsInline&&(o.playsInline=!0,o["webkit-playsinline"]=!0);const e=r.type||(0,s.getExt)(r.url),i=r.customType[e];e&&i?i(o,r.url,t):(o.src=r.url,t.emit("url",o.src))}}},{"./config":"lyjeQ","./utils":"71aH7","@parcel/transformer-js/src/esmodule-helpers.js":"9pCYc"}]},["5lTcX"],"5lTcX","parcelRequire4dc0");