filesafe/dist/js/player.js.map

1 line
8.1 KiB
Plaintext
Raw Normal View History

{"version":3,"sources":["player.js"],"names":["const","lsKeys","page","urlPrefix","urlIdentifier","urlInput","document","querySelector","reloadBtn","downloadBtn","uploadRoot","titleFormat","videoContainer","player","window","HELP_IMPROVE_VIDEOJS","onAxiosError","error","statusText","520","521","522","523","524","525","526","527","530","response","status","description","data","swal","toggleReloadBtn","enabled","classList","remove","removeAttribute","add","setAttribute","reloadVideo","value","src","Math","round","Date","now","axios","head","then","test","headers","dispose","innerHTML","videoElement","createElement","id","className","sourceElement","type","appendChild","videojs","language","playbackRates","responsive","seekButtons","forward","back","title","replace","history","pushState","catch","addEventListener","mainScript","dataset","let","location","protocol","host","match","pathname","substring","indexOf","form","event","preventDefault","checkValidity"],"mappings":"AAGAA,IAAMC,OAAS,GAGTC,KAAO,CACXC,UAAW,KACXC,cAAe,KAEfC,SAAUC,SAASC,cAAc,eACjCC,UAAWF,SAASC,cAAc,cAClCE,YAAaH,SAASC,cAAc,gBACpCG,WAAY,KACZC,YAAa,KAEbC,eAAgBN,SAASC,cAAc,qBACvCM,OAAQ,MAIVC,OAAOC,sBAAuB,EAG9Bb,KAAKc,aAAY,SAAGC,GAElBjB,IAYMkB,EAZmB,CACvBC,IAAK,gBACLC,IAAK,qBACLC,IAAK,uBACLC,IAAK,wBACLC,IAAK,qBACLC,IAAK,uBACLC,IAAK,0BACLC,IAAK,gBACLC,IAAK,oBAG6BV,EAAMW,SAASC,SAAWZ,EAAMW,SAASV,WAEvEY,EAAcb,EAAMW,SAASG,MAAQd,EAAMW,SAASG,KAAKD,YAC3Db,EAAMW,SAASG,KAAKD,YACpB,GACJ,OAAOE,KAAQf,EAAMW,SAAS,OAAM,IAAIV,EAAcY,EAAa,UAGrE5B,KAAK+B,gBAAe,SAAGC,GACjBA,GACFhC,KAAKM,UAAU2B,UAAUC,OAAO,cAChClC,KAAKM,UAAU6B,gBAAgB,cAE/BnC,KAAKM,UAAU2B,UAAUG,IAAI,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,KAAK+B,iBAAgB,MACpBuC,OAAK,SAACvD,GACPf,KAAK+B,iBAAgB,GACrB/B,KAAKc,aAAaC,QAItBH,OAAO2D,iBAAiB,oBAAkB,WACxCzE,IAAM0E,EAAapE,SAASC,cAAc,eAC1C,GAAKmE,QAAuD,IAAlCA,EAAWC,QAAQjE,WAA7C,CAEAR,KAAKQ,WAAagE,EAAWC,QAAQjE,WACrCR,KAAKS,YAAc+D,EAAWC,QAAQhE,YAEtCiE,IAAIzE,EAAYW,OAAO+D,SAASC,SAAW,KAAOhE,OAAO+D,SAASE,KAC5DC,EAAQlE,OAAO+D,SAASI,SAASD,MAAM,aAC7C,IAAKA,IAAUA,EAAM,GACnB,OAAOhD,KAAK,qBAAsB,8CAA+C,SAOnF,GAJA9B,KAAKE,cAAgB4E,EAAM,GAC3B7E,GAAaW,OAAO+D,SAASI,SAASC,UAAU,EAAGpE,OAAO+D,SAASI,SAASE,QAAQH,EAAM,KAC1F9E,KAAKC,UAAYA,EAEZD,KAAKG,SAAV,CACAH,KAAKG,SAASoC,MAAQvC,KAAKE,cAG3BJ,IAAMoF,EAAO9E,SAASC,cAAc,cACpC6E,EAAKX,iBAAiB,UAAQ,SAAEY,GAC9BA,EAAMC,oBAGHpF,KAAKU,iBAEVV,KAAKM,UAAYF,SAASC,cAAc,cACpCL,KAAKM,WACPN,KAAKM,UAAUiE,iBAAiB,SAAO,SAAEY,GAClCD,EAAKG,iBACVrF,KAAKsC,iBAITtC,KAAKsC","file":"player.js","sourcesContent":["/* global swal, axios, videojs */\n\n// eslint-disable-next-line no-unused-vars\nconst lsKeys = {}\n\n// eslint-disable-next-line no-unused-vars\nconst page = {\n urlPrefix: null,\n urlIdentifier: null,\n\n urlInput: document.querySelector('#identifier'),\n reloadBtn: document.querySelector('#reloadBtn'),\n downloadBtn: document.querySelector('#downloadBtn'),\n uploadRoot: null,\n titleFormat: null,\n\n videoContainer: document.querySelector('#player-container'),\n player: null\n}\n\n// Disable video.js telemetry (should already be disabled by default since v7 thoug