diff --git a/Tubio/frontend/200.html b/Tubio/frontend/200.html index d89db26..991f370 100644 --- a/Tubio/frontend/200.html +++ b/Tubio/frontend/200.html @@ -1,9 +1,9 @@ - Tubio - Video downloader + Tubio - Video downloader -
Loading...
- +
Loading...
+ diff --git a/Tubio/frontend/_nuxt/4d29309.js b/Tubio/frontend/_nuxt/4821292.js similarity index 97% rename from Tubio/frontend/_nuxt/4d29309.js rename to Tubio/frontend/_nuxt/4821292.js index 2847276..f7b9301 100644 --- a/Tubio/frontend/_nuxt/4d29309.js +++ b/Tubio/frontend/_nuxt/4821292.js @@ -1 +1 @@ -!function(e){function r(data){for(var r,n,l=data[0],f=data[1],d=data[2],i=0,h=[];i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1&&void 0!==arguments[1]?arguments[1]:[],r=t.$children||[],o=m(r);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.$fetch?n.push(c):c.$children&&_(c,n)}}catch(t){o.e(t)}finally{o.f()}return n}function $(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),h(h({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function k(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=l.a.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function j(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function O(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return j(t,e,"instances")}function C(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function S(t,e){return Promise.all(C(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=k(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function E(t){return R.apply(this,arguments)}function R(){return(R=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,S(e);case 4:return t.abrupt("return",h(h({},e),{},{meta:j(e).map((function(t,n){return h(h({},t.options.meta),(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e){return T.apply(this,arguments)}function T(){return(T=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,d,l,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!0,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{}},n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=K(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([E(n.route),E(n.from)]);case 3:c=t.sent,d=Object(r.a)(c,2),l=d[0],f=d[1],n.route&&(e.context.route=l),n.from&&(e.context.from=f),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function A(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():N(t[0],e).then((function(){return A(t.slice(1),e)}))}function N(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function M(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&(path.endsWith("/")?path:path+"/").startsWith(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function I(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i0?d.map((function(){return t(!1)})):t(!1))}};t.exports=r},160:function(t,e,n){"use strict";e.a=function(t,e){return e=e||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(JSON.parse(s.responseText))},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(t){return i[t.toLowerCase()]},has:function(t){return t.toLowerCase()in i}}}};for(var c in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){o.push(e=e.toLowerCase()),u.push([e,n]),i[e]=i[e]?i[e]+","+n:n})),n(a())},s.onerror=r,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(c,e.headers[c]);s.send(e.body||null)}))}},162:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function d(t,source,e){return t.concat(source).map((function(element){return c(element,e)}))}function l(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return t.propertyIsEnumerable(symbol)})):[]}(t))}function f(object,t){try{return t in object}catch(t){return!1}}function h(t,source,e){var n={};return e.isMergeableObject(t)&&l(t).forEach((function(r){n[r]=c(t[r],e)})),l(source).forEach((function(r){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(f(t,r)&&e.isMergeableObject(source[r])?n[r]=function(t,e){if(!e.customMerge)return m;var n=e.customMerge(t);return"function"==typeof n?n:m}(r,e)(t[r],source[r],e):n[r]=c(source[r],e))})),n}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||d,e.isMergeableObject=e.isMergeableObject||r,e.cloneUnlessOtherwiseSpecified=c;var n=Array.isArray(source);return n===Array.isArray(t)?n?e.arrayMerge(t,source,e):h(t,source,e):c(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return m(t,n,e)}),{})};var x=m;t.exports=x},163:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return null!==t&&"object"===r(t)&&!Array.isArray(t)}function c(t,e){if(!o(t))return c({},e);if(!o(e))return c(t,{});var n=Object.assign({},e);for(var r in t)if("__proto__"!==r&&"constructor"!==r){var d=t[r];null!==d&&(o(d)&&o(n[r])?n[r]=c(d,n[r]):n[r]=d)}return n}t.exports=function(){for(var t=arguments.length,e=new Array(t),n=0;n0)){t.next=19;break}return t.next=19,new Promise((function(t){return setTimeout(t,r)}));case 19:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.a.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=m.bind(this),Object(c.a)(this,"created",f),Object(c.a)(this,"beforeMount",l))}}},168:function(t,e,n){(function(t){t.installComponents=function(component,t){const e="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(e.components=component.exports.options.components),e.components=e.components||{},t)e.components[i]=e.components[i]||t[i];e.functional&&function(component,t){if(component.exports._functionalComponents)return;component.exports._functionalComponents=!0;const e=component.exports.render;component.exports.render=function(n,r){return e(n,Object.assign({},r,{_c:function(e,a,b){return r._c(t[e]||e,a,b)}}))}}(component,e.components)}}).call(this,n(28))},169:function(t,e,n){"use strict";n.r(e),function(t){n(31),n(38),n(39),n(126),n(56),n(40),n(42),n(74),n(58),n(35),n(134),n(30),n(75),n(17),n(34),n(33),n(101),n(43),n(166),n(44),n(45),n(49);var e=n(47),r=(n(59),n(6)),o=(n(142),n(178),n(185),n(187),n(1)),c=n(160),d=n(112),l=n(0),f=n(27),h=n(164),m=n(85);n(247);function x(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2?e-2:0),r=2;re.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(r=0;r1&&void 0!==arguments[1]?arguments[1]:y,n=arguments.length>2?arguments[2]:void 0;return _.call(this,t,e,n)},c.a.use(w.a);var $={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(v.g)(t);(o.some((function(t){return t.options.scrollToTop}))||o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return(t.path===e.path&&t.hash!==e.hash||t===e)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/settings",component:function(){return Object(v.m)(n.e(3).then(n.bind(null,283)))},name:"settings"},{path:"/",component:function(){return Object(v.m)(n.e(2).then(n.bind(null,282)))},name:"index"}],fallback:!1};function k(){return new w.a($)}var j={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,d=n.$nuxt.nuxt.transitions,l=n.$nuxt.nuxt.defaultTransition,f=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&f++,n=n.$parent;data.nuxtChildDepth=f;var h=d[f]||l,m={};O.forEach((function(t){void 0!==h[t]&&(m[t]=h[t])}));var x={};C.forEach((function(t){"function"==typeof h[t]&&(x[t]=h[t].bind(c))}));var w=x.beforeEnter;if(x.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),w)return w.call(c,t)},!1===h.css){var v=x.leave;(!v||v.length<2)&&(x.leave=function(t,e){v&&v.call(c,t),c.$nextTick(e)})}var y=o("routerView",data);return r.keepAlive&&(y=o("keep-alive",{props:r.keepAliveProps},[y])),o("transition",{props:m,on:x},[y])}},O=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],C=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],S={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0"}]}}},E=(n(201),n(10)),R=Object(E.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"__nuxt-error-page"},[n("div",{staticClass:"error"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[n("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(t.message))]),t._v(" "),404===t.statusCode?n("p",{staticClass:"description"},[void 0===t.$route?n("a",{staticClass:"error-link",attrs:{href:"/"}}):n("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[t._v("Back to the home page")])],1):t._e(),t._v(" "),t._m(0)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logo"},[e("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt.js")])])}],!1,null,null,null).exports,P=(n(34),n(33),n(63),n(61)),T={name:"Nuxt",components:{NuxtChild:j,NuxtError:R},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(v.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(P.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(R,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},A=(n(38),n(39),n(42),n(35),n(43),n(109),n(150),n(45),n(49),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),N=(n(203),Object(E.a)(A,void 0,void 0,!1,null,null,null).exports),M=(n(205),n(207),n(209),n(211),n(213),n(165));function I(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(v.h)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),r=n.map((function(e){var p=[];if(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(v.p)(e.$options.fetch,t.context)),e.$fetch)p.push(e.$fetch());else{var n,r=I(Object(v.e)(e.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(t){r.e(t)}finally{r.f()}}return e.$options.asyncData&&p.push(Object(v.p)(e.$options.asyncData,t.context).then((function(t){for(var n in t)c.a.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(r);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(v.k)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(R.options||R).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&U["_"+t]||(t="default"),this.layoutName=t,this.layout=U["_"+t],this.layout},loadLayout:function(t){return t&&U["_"+t]||(t="default"),Promise.resolve(U["_"+t])},setPagePayload:function(t){this._pagePayload=t,this._payloadFetchIndex=0},fetchPayload:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,base,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=window.__NUXT__.staticAssetsBase,(base=(e.$router.options.base||"").replace(/\/+$/,""))&&t.startsWith(base)&&(t=t.substr(base.length)),t=(t.replace(/\/+$/,"")||"/").split("?")[0].split("#")[0],o=Object(v.t)(base,r,t,"payload.js"),n.prev=5,n.next=8,window.__NUXT_IMPORT__(decodeURI(t),encodeURI(o));case 8:return c=n.sent,e.setPagePayload(c),n.abrupt("return",c);case 13:throw n.prev=13,n.t0=n.catch(5),e.setPagePayload(!1),n.t0;case 17:case"end":return n.stop()}}),n,null,[[5,13]])})))()}},components:{NuxtLoading:N}};n(74);function z(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return B(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!e.length||o&&1===e.length)return t;var c=e.shift();return t.modules[c]=t.modules[c]||{},t.modules[c].namespaced=!0,t.modules[c].modules=t.modules[c].modules||{},Y(t.modules[c],e,{isProperty:o})}function Q(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}var W={};for(var V in W)c.a.component(V,W[V]);var G=n(7),Z=n.n(G),tt=n(163),et=n.n(tt);function nt(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return ot(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ot(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:"common",o=nt(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!e)return void delete this.defaults.headers[c][t];this.defaults.headers[c][t]=e}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return ut(et()(t,this.defaults))}},at=function(){var t=ct[st];it["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},st=0,ct=["request","delete","get","head","options","post","put","patch"];st has been deprecated and will be removed in Nuxt 3, please use instead")),x.a.render(t,e)}})),c.a.component(j.name,j),c.a.component("NChild",j),c.a.component(T.name,T),c.a.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var mt={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},xt=d.a.Store.prototype.registerModule,gt={preserveState:!0};function bt(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return xt.call(this,path,t,ht(ht({},gt),e))}function wt(t){return vt.apply(this,arguments)}function vt(){return(vt=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,d,l,f,path,h,m=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));d[t="$"+t]=e,d.context[t]||(d.context[t]=e),o[t]=d[t];var n="__nuxt_"+t+"_installed__";c.a[n]||(c.a[n]=!0,c.a.use((function(){Object.prototype.hasOwnProperty.call(c.a.prototype,t)||Object.defineProperty(c.a.prototype,t,{get:function(){return this.$root.$options[t]}})})))},n=m.length>1&&void 0!==m[1]?m[1]:{},t.next=4,k();case 4:return r=t.sent,(o=K(e)).$router=r,o.registerModule=bt,d=ht({head:{title:"Tubio - Video downloader",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:""},{name:"msapplication-TileColor",content:"#031934"},{name:"theme-color",content:"#031934"}],link:[{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"manifest",href:"/site.webmanifest"},{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#031934"}],style:[],script:[]},store:o,router:r,nuxt:{defaultTransition:mt,transitions:[mt],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},mt,{name:t}):Object.assign({},mt,t):mt})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,d.context._errored=Boolean(t),t=t?Object(v.o)(t):null;var n=d.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},D),o.app=d,l=e?e.next:function(t){return d.router.push(t)},e?f=r.resolve(e.url).route:(path=Object(v.f)(r.options.base,r.options.mode),f=r.resolve(path).route),t.next=14,Object(v.s)(d,{store:o,route:f,next:l,error:d.nuxt.error.bind(d),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 14:h("config",n),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),d.context.enablePreview=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d.previewData=Object.assign({},t),h("preview",t)},t.next=20;break;case 20:return t.next=23,pt(d.context,h);case 23:d.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},t.next=27;break;case 27:return t.abrupt("return",{store:o,app:d,router:r});case 28:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},48:function(t,e,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,c=r(),d=c.default;void 0===d&&(d=[]);var l=c.placeholder;return n._isMounted?d:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||l)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||l):d.length>0?d.map((function(){return t(!1)})):t(!1))}};t.exports=r},79:function(t,e,n){var content=n(202);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(19).default)("4a1cbb1a",content,!0,{sourceMap:!1})},80:function(t,e,n){var content=n(204);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(19).default)("fa7ff0ca",content,!0,{sourceMap:!1})},85:function(t,e,n){"use strict";n(31),n(38),n(39),n(56),n(40),n(42),n(74),n(58),n(35),n(30),n(17),n(33),n(101),n(43),n(44),n(45),n(49);var r=n(1);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,d=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return d=t.done,t},e:function(t){l=!0,o=t},f:function(){try{d||null==n.return||n.return()}finally{if(l)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1&&void 0!==arguments[1]?arguments[1]:[],r=t.$children||[],o=m(r);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.$fetch?n.push(c):c.$children&&_(c,n)}}catch(t){o.e(t)}finally{o.f()}return n}function $(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),h(h({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function k(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=l.a.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function j(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function O(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return j(t,e,"instances")}function C(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function S(t,e){return Promise.all(C(t,function(){var t=Object(c.a)(regeneratorRuntime.mark((function t(n,r,o,c){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return o.components[c]=n=k(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function E(t){return R.apply(this,arguments)}function R(){return(R=Object(c.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,S(e);case 4:return t.abrupt("return",h(h({},e),{},{meta:j(e).map((function(t,n){return h(h({},t.options.meta),(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e){return T.apply(this,arguments)}function T(){return(T=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var c,d,l,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!0,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:"/",env:{}},n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof t||"undefined"!==r&&"object"!==r||(n=path||{},path=t,r=Object(o.a)(path),t=302),"object"===r&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=K(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([E(n.route),E(n.from)]);case 3:c=t.sent,d=Object(r.a)(c,2),l=d[0],f=d[1],n.route&&(e.context.route=l),n.from&&(e.context.from=f),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function A(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():N(t[0],e).then((function(){return A(t.slice(1),e)}))}function N(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function M(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&(path.endsWith("/")?path:path+"/").startsWith(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function I(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i0?d.map((function(){return t(!1)})):t(!1))}};t.exports=r},160:function(t,e,n){"use strict";e.a=function(t,e){return e=e||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(JSON.parse(s.responseText))},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(t){return i[t.toLowerCase()]},has:function(t){return t.toLowerCase()in i}}}};for(var c in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){o.push(e=e.toLowerCase()),u.push([e,n]),i[e]=i[e]?i[e]+","+n:n})),n(a())},s.onerror=r,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(c,e.headers[c]);s.send(e.body||null)}))}},162:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function d(t,source,e){return t.concat(source).map((function(element){return c(element,e)}))}function l(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return t.propertyIsEnumerable(symbol)})):[]}(t))}function f(object,t){try{return t in object}catch(t){return!1}}function h(t,source,e){var n={};return e.isMergeableObject(t)&&l(t).forEach((function(r){n[r]=c(t[r],e)})),l(source).forEach((function(r){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(f(t,r)&&e.isMergeableObject(source[r])?n[r]=function(t,e){if(!e.customMerge)return m;var n=e.customMerge(t);return"function"==typeof n?n:m}(r,e)(t[r],source[r],e):n[r]=c(source[r],e))})),n}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||d,e.isMergeableObject=e.isMergeableObject||r,e.cloneUnlessOtherwiseSpecified=c;var n=Array.isArray(source);return n===Array.isArray(t)?n?e.arrayMerge(t,source,e):h(t,source,e):c(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return m(t,n,e)}),{})};var x=m;t.exports=x},163:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return null!==t&&"object"===r(t)&&!Array.isArray(t)}function c(t,e){if(!o(t))return c({},e);if(!o(e))return c(t,{});var n=Object.assign({},e);for(var r in t)if("__proto__"!==r&&"constructor"!==r){var d=t[r];null!==d&&(o(d)&&o(n[r])?n[r]=c(d,n[r]):n[r]=d)}return n}t.exports=function(){for(var t=arguments.length,e=new Array(t),n=0;n0)){t.next=19;break}return t.next=19,new Promise((function(t){return setTimeout(t,r)}));case 19:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.a.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=m.bind(this),Object(c.a)(this,"created",f),Object(c.a)(this,"beforeMount",l))}}},168:function(t,e,n){(function(t){t.installComponents=function(component,t){const e="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(e.components=component.exports.options.components),e.components=e.components||{},t)e.components[i]=e.components[i]||t[i];e.functional&&function(component,t){if(component.exports._functionalComponents)return;component.exports._functionalComponents=!0;const e=component.exports.render;component.exports.render=function(n,r){return e(n,Object.assign({},r,{_c:function(e,a,b){return r._c(t[e]||e,a,b)}}))}}(component,e.components)}}).call(this,n(28))},169:function(t,e,n){"use strict";n.r(e),function(t){n(31),n(38),n(39),n(126),n(56),n(40),n(42),n(74),n(58),n(35),n(134),n(30),n(75),n(17),n(34),n(33),n(101),n(43),n(166),n(44),n(45),n(49);var e=n(47),r=(n(59),n(6)),o=(n(142),n(178),n(185),n(187),n(1)),c=n(160),d=n(112),l=n(0),f=n(27),h=n(164),m=n(85);n(247);function x(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2?e-2:0),r=2;re.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(r=0;r1&&void 0!==arguments[1]?arguments[1]:y,n=arguments.length>2?arguments[2]:void 0;return _.call(this,t,e,n)},c.a.use(w.a);var $={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=Object(v.g)(t);(o.some((function(t){return t.options.scrollToTop}))||o.length<2&&o.every((function(t){return!1!==t.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return(t.path===e.path&&t.hash!==e.hash||t===e)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(e){c.$once("triggerScroll",(function(){if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/settings",component:function(){return Object(v.m)(n.e(3).then(n.bind(null,283)))},name:"settings"},{path:"/",component:function(){return Object(v.m)(n.e(2).then(n.bind(null,282)))},name:"index"}],fallback:!1};function k(){return new w.a($)}var j={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,d=n.$nuxt.nuxt.transitions,l=n.$nuxt.nuxt.defaultTransition,f=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&f++,n=n.$parent;data.nuxtChildDepth=f;var h=d[f]||l,m={};O.forEach((function(t){void 0!==h[t]&&(m[t]=h[t])}));var x={};C.forEach((function(t){"function"==typeof h[t]&&(x[t]=h[t].bind(c))}));var w=x.beforeEnter;if(x.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),w)return w.call(c,t)},!1===h.css){var v=x.leave;(!v||v.length<2)&&(x.leave=function(t,e){v&&v.call(c,t),c.$nextTick(e)})}var y=o("routerView",data);return r.keepAlive&&(y=o("keep-alive",{props:r.keepAliveProps},[y])),o("transition",{props:m,on:x},[y])}},O=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],C=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],S={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0"}]}}},E=(n(201),n(10)),R=Object(E.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"__nuxt-error-page"},[n("div",{staticClass:"error"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[n("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),t._v(" "),n("div",{staticClass:"title"},[t._v(t._s(t.message))]),t._v(" "),404===t.statusCode?n("p",{staticClass:"description"},[void 0===t.$route?n("a",{staticClass:"error-link",attrs:{href:"/"}}):n("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[t._v("Back to the home page")])],1):t._e(),t._v(" "),t._m(0)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logo"},[e("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt.js")])])}],!1,null,null,null).exports,P=(n(34),n(33),n(63),n(61)),T={name:"Nuxt",components:{NuxtChild:j,NuxtError:R},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(v.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(P.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(R,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},A=(n(38),n(39),n(42),n(35),n(43),n(109),n(150),n(45),n(49),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),N=(n(203),Object(E.a)(A,void 0,void 0,!1,null,null,null).exports),M=(n(205),n(207),n(209),n(211),n(213),n(165));function I(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(v.h)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),r=n.map((function(e){var p=[];if(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(v.p)(e.$options.fetch,t.context)),e.$fetch)p.push(e.$fetch());else{var n,r=I(Object(v.e)(e.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(t){r.e(t)}finally{r.f()}}return e.$options.asyncData&&p.push(Object(v.p)(e.$options.asyncData,t.context).then((function(t){for(var n in t)c.a.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(r);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(v.k)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(R.options||R).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&U["_"+t]||(t="default"),this.layoutName=t,this.layout=U["_"+t],this.layout},loadLayout:function(t){return t&&U["_"+t]||(t="default"),Promise.resolve(U["_"+t])},setPagePayload:function(t){this._pagePayload=t,this._payloadFetchIndex=0},fetchPayload:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,base,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=window.__NUXT__.staticAssetsBase,(base=(e.$router.options.base||"").replace(/\/+$/,""))&&t.startsWith(base)&&(t=t.substr(base.length)),t=(t.replace(/\/+$/,"")||"/").split("?")[0].split("#")[0],o=Object(v.t)(base,r,t,"payload.js"),n.prev=5,n.next=8,window.__NUXT_IMPORT__(decodeURI(t),encodeURI(o));case 8:return c=n.sent,e.setPagePayload(c),n.abrupt("return",c);case 13:throw n.prev=13,n.t0=n.catch(5),e.setPagePayload(!1),n.t0;case 17:case"end":return n.stop()}}),n,null,[[5,13]])})))()}},components:{NuxtLoading:N}};n(74);function z(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return B(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!e.length||o&&1===e.length)return t;var c=e.shift();return t.modules[c]=t.modules[c]||{},t.modules[c].namespaced=!0,t.modules[c].modules=t.modules[c].modules||{},Y(t.modules[c],e,{isProperty:o})}function Q(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}var W={};for(var V in W)c.a.component(V,W[V]);var G=n(7),Z=n.n(G),tt=n(163),et=n.n(tt);function nt(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return ot(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ot(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,d=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){d=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw o}}}}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:"common",o=nt(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!e)return void delete this.defaults.headers[c][t];this.defaults.headers[c][t]=e}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return ut(et()(t,this.defaults))}},at=function(){var t=ct[st];it["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},st=0,ct=["request","delete","get","head","options","post","put","patch"];st has been deprecated and will be removed in Nuxt 3, please use instead")),x.a.render(t,e)}})),c.a.component(j.name,j),c.a.component("NChild",j),c.a.component(T.name,T),c.a.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var mt={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},xt=d.a.Store.prototype.registerModule,gt={preserveState:!0};function bt(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return xt.call(this,path,t,ht(ht({},gt),e))}function wt(t){return vt.apply(this,arguments)}function vt(){return(vt=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,d,l,f,path,h,m=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));d[t="$"+t]=e,d.context[t]||(d.context[t]=e),o[t]=d[t];var n="__nuxt_"+t+"_installed__";c.a[n]||(c.a[n]=!0,c.a.use((function(){Object.prototype.hasOwnProperty.call(c.a.prototype,t)||Object.defineProperty(c.a.prototype,t,{get:function(){return this.$root.$options[t]}})})))},n=m.length>1&&void 0!==m[1]?m[1]:{},t.next=4,k();case 4:return r=t.sent,(o=K(e)).$router=r,o.registerModule=bt,d=ht({head:{title:"Tubio - Video downloader",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:""},{name:"msapplication-TileColor",content:"#031934"},{name:"theme-color",content:"#031934"}],link:[{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},{rel:"manifest",href:"/site.webmanifest"},{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#031934"}],style:[],script:[]},store:o,router:r,nuxt:{defaultTransition:mt,transitions:[mt],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},mt,{name:t}):Object.assign({},mt,t):mt})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,d.context._errored=Boolean(t),t=t?Object(v.o)(t):null;var n=d.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},D),o.app=d,l=e?e.next:function(t){return d.router.push(t)},e?f=r.resolve(e.url).route:(path=Object(v.f)(r.options.base,r.options.mode),f=r.resolve(path).route),t.next=14,Object(v.s)(d,{store:o,route:f,next:l,error:d.nuxt.error.bind(d),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 14:h("config",n),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),d.context.enablePreview=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d.previewData=Object.assign({},t),h("preview",t)},t.next=20;break;case 20:return t.next=23,ft(d.context,h);case 23:d.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},t.next=27;break;case 27:return t.abrupt("return",{store:o,app:d,router:r});case 28:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},48:function(t,e,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,c=r(),d=c.default;void 0===d&&(d=[]);var l=c.placeholder;return n._isMounted?d:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||l)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||l):d.length>0?d.map((function(){return t(!1)})):t(!1))}};t.exports=r},79:function(t,e,n){var content=n(202);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(19).default)("4a1cbb1a",content,!0,{sourceMap:!1})},80:function(t,e,n){var content=n(204);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(19).default)("fa7ff0ca",content,!0,{sourceMap:!1})},85:function(t,e,n){"use strict";n(31),n(38),n(39),n(56),n(40),n(42),n(74),n(58),n(35),n(30),n(17),n(33),n(101),n(43),n(44),n(45),n(49);var r=n(1);function o(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,d=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return d=t.done,t},e:function(t){l=!0,o=t},f:function(){try{d||null==n.return||n.return()}finally{if(l)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i")},removeDownload:function(){var t=this;h.a.post("/api",{request:"remove_download_entry",id:this.downloadEntry.tubio_id}).then((function(e){"OK"===e.data.status&&t.$store.dispatch("dlcache/update",t)}))}}},m=(o(274),Object(r.a)(v,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"frame mb-6 pt-2 pb-4"},[o("div",{staticClass:"flex flex-col"},[o("div",{staticClass:"flex items-end justify-between w-full md:w-auto"},[o("div",{staticClass:"flex flex-col"},[o("div",{staticClass:"icon--mode"},["video"===t.downloadEntry.mode?o("IconFilm"):o("IconMusic")],1),t._v(" "),o("div",{staticClass:"timestamp"},[t._v("\n "+t._s(t.getQueuedDateString(t.downloadEntry.queued_timestamp))+"\n ")])]),t._v(" "),o("div",{staticClass:"button-remove",on:{click:t.removeDownload}},[o("IconX")],1)]),t._v(" "),o("div",{staticClass:"flex flex-col-reverse md:flex-row w-full mt-2"},[o("div",{staticClass:"flex flex-col"},[o("a",{attrs:{href:t.downloadEntry.webpage_url,target:"_blank",title:"To the original source"}},[o("div",{staticClass:"thumbnail flex-shrink-0",style:"--thumbnail: url('"+t.downloadEntry.thumbnail_url+"')"},[o("div",{staticClass:"thumbnail__vignette"}),t._v(" "),o("div",{staticClass:"thumbnail__duration"},[t._v(t._s(t.getDurationString(t.downloadEntry.duration)))])])]),t._v(" "),"downloading"===t.downloadEntry.status?o("div",[o("div",{staticClass:"status--progressbar flex w-full mt-3"},[o("div",{staticClass:"status--progressbar__good items-stretch",style:"--download-progress: "+t.downloadEntry.download_progress+"%;"})]),t._v(" "),o("div",{staticClass:"status--progressbar__text"},[t._v("\n "+t._s(t.downloadEntry.download_progress)+"%\n ")])]):"finished"===t.downloadEntry.status?o("a",{attrs:{href:t.downloadEntry.download_url,title:"download"}},[o("div",{staticClass:"status--ready mt-3 button flex justify-center w-full"},[o("div",[o("IconDownload")],1)])]):"queued"===t.downloadEntry.status?o("div",[o("div",{staticClass:"status--queued mt-3"},[t._v("\n Queued\n ")])]):"failed"===t.downloadEntry.status?o("div",[o("div",{staticClass:"status--failed mt-3"},[t._v("\n Failed!\n ")])]):t._e()]),t._v(" "),o("div",{staticClass:"flex flex-col md:ml-4 w-full overflow-x-hidden overflow-y-visible"},[o("h1",{staticClass:"title"},[t._v(t._s(t.downloadEntry.title))]),t._v(" "),o("div",{staticClass:"relative my-4"},[""!=t.downloadEntry.description?o("div",[o("p",{staticClass:"description p-2"},[o("span",{domProps:{innerHTML:t._s(t.linebreaksToBrTags(t.downloadEntry.description))}})]),t._v(" "),o("div",{staticClass:"description__decobox description__decobox--left"}),t._v(" "),o("div",{staticClass:"description__decobox description__decobox--right"})]):t._e()])])])])])}),[],!1,null,"980790fa",null));e.default=m.exports},262:function(t,e,o){"use strict";o.r(e);var r={},n=(o(278),o(10)),component=Object(n.a)(r,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"click-blocker flex justify-center md:items-center"},[e("div",{staticClass:"box"},[e("div",{staticClass:"w-full h-full flex flex-col justify-center items-center"},[e("h2",{staticClass:"loading-text"},[this._v("Just a second...")]),this._v(" "),e("div",{staticClass:"dots flex w-full justify-center items-center mt-24"},[e("div",{staticClass:"dot"}),this._v(" "),e("div",{staticClass:"dot"}),this._v(" "),e("div",{staticClass:"dot"})])])])])}],!1,null,"1fe60afe",null);e.default=component.exports},265:function(t,e,o){"use strict";o.r(e);o(49);var r=o(260),n=(o(7),{components:{DownloadEntry:r.default},computed:{dlcache:function(){return this.$store.state.dlcache.cache}},data:function(){return{downloads:{type:Array}}},mounted:function(){var t=this;this.$store.dispatch("dlcache/update"),setInterval((function(){t.$store.dispatch("dlcache/update")}),1e3)}}),l=(o(276),o(10)),component=Object(l.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"download-box"},[this._e(),this._v(" "),this._l(this.dlcache,(function(t,o){return e("DownloadEntry",{key:o,attrs:{downloadEntry:t}})}))],2)}),[],!1,null,"8061dfc4",null);e.default=component.exports;installComponents(component,{DownloadEntry:o(260).default})},274:function(t,e,o){"use strict";var r=o(256);o.n(r).a},275:function(t,e,o){(e=o(18)(!1)).push([t.i,".frame[data-v-980790fa]{width:100%;border-bottom:2px solid #888}.frame .timestamp[data-v-980790fa]{font-family:ZillaSlab,serif;font-size:12pt;color:#bbb}.frame .thumbnail[data-v-980790fa]{background-image:var(--thumbnail);background-size:cover;background-position:50%;background-repeat:no-repeat;width:150px;height:84.375px;position:relative;cursor:pointer;scrollbar-width:none}@media(max-width:768px){.frame .thumbnail[data-v-980790fa]{width:100%;height:130px}}.frame .thumbnail__vignette[data-v-980790fa]{position:absolute;top:0;bottom:0;right:0;left:0;box-shadow:0 0 15px 2px #000}.frame .thumbnail__duration[data-v-980790fa]{position:absolute;bottom:0;right:0;padding:0 3px 3px 0;text-align:right;font-size:12pt;color:#bbb;background-color:rgba(0,0,0,.66667)}.frame .title[data-v-980790fa]{color:#bbb;font-size:22pt;max-height:1.3em;overflow-y:hidden;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.frame .description[data-v-980790fa]{color:#bbb;font-size:14pt;height:100px;overflow-x:hidden;overflow-y:scroll;position:relative;background-color:rgba(0,0,0,.2)}@media(max-width:768px){.frame .description[data-v-980790fa]{overflow:scroll}}.frame .description__decobox[data-v-980790fa]{position:absolute}.frame .description__decobox--left[data-v-980790fa]{top:0;left:0;width:40px;height:40px;border-top:2px solid #888;border-left:2px solid #888;pointer-events:none}.frame .description__decobox--right[data-v-980790fa]{bottom:0;right:0;width:40px;height:40px;border-bottom:2px solid #888;border-right:2px solid #888;pointer-events:none}.frame .status--progressbar[data-v-980790fa]{background-color:#900;height:5px}.frame .status--progressbar__good[data-v-980790fa]{background-color:#0b0;width:var(--download-progress);transition:width 1s}.frame .status--progressbar__text[data-v-980790fa]{font-size:24pt;color:#bbb}.frame .status--ready[data-v-980790fa]{height:45px;background-color:#bbb;transition:background-color .2s,border .2s}.frame .status--ready[data-v-980790fa]:hover{background-color:#5954a4;color:#fff}.frame .status--ready svg[data-v-980790fa]{height:35px}.frame .status--queued[data-v-980790fa]{font-family:ZillaSlab,serif;font-size:24pt;color:#bbb}.frame .status--failed[data-v-980790fa]{font-family:ZillaSlab,serif;font-size:24pt;color:#d40}.frame .button-remove[data-v-980790fa]{width:35px;height:35px;fill:#333;stroke:#333;cursor:pointer;transition:background-color .2s,border-radius .2s}.frame .button-remove[data-v-980790fa]:hover{background-color:#d40;border-radius:50%}.frame[data-v-980790fa]::-webkit-scrollbar,.frame[data-v-980790fa] ::-webkit-scrollbar{display:none}.frame .icon--mode[data-v-980790fa]{width:20px}",""]),t.exports=e},276:function(t,e,o){"use strict";var r=o(257);o.n(r).a},277:function(t,e,o){(e=o(18)(!1)).push([t.i,".download-box[data-v-8061dfc4]{width:100%;min-height:600px;border-radius:5px;padding:20px;background-color:hsla(0,0%,100%,.33333)}.no-dls-yet[data-v-8061dfc4]{color:#bbb;font-size:34pt;text-align:center}",""]),t.exports=e},278:function(t,e,o){"use strict";var r=o(258);o.n(r).a},279:function(t,e,o){(e=o(18)(!1)).push([t.i,".click-blocker[data-v-1fe60afe]{bottom:0}.box[data-v-1fe60afe],.click-blocker[data-v-1fe60afe]{position:absolute;left:0;right:0;top:0}.box[data-v-1fe60afe]{height:60%;overflow:hidden}@media(max-width:1280px){.box[data-v-1fe60afe]{position:absolute;top:100px;bottom:100px;left:100px;right:100px}}@media(max-width:768px){.box[data-v-1fe60afe]{position:absolute;top:0;bottom:0;left:0;right:0}}.box h2[data-v-1fe60afe]{text-align:center;font-size:56pt;color:#bbb}@media(max-width:768px){.box h2[data-v-1fe60afe]{margin-top:36px;max-height:unset}}@media(max-width:768px){.box .dots[data-v-1fe60afe]{margin-top:50px}}.box .dots .dot[data-v-1fe60afe]{width:50px;height:50px;background-color:#888;border-radius:50px;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.box .dots .dot[data-v-1fe60afe]:first-child{-webkit-animation:dot-hover-data-v-1fe60afe 1.5s infinite;animation:dot-hover-data-v-1fe60afe 1.5s infinite;-webkit-animation-delay:0;animation-delay:0}.box .dots .dot[data-v-1fe60afe]:nth-child(2){-webkit-animation:dot-hover-data-v-1fe60afe 1.5s infinite;animation:dot-hover-data-v-1fe60afe 1.5s infinite;-webkit-animation-delay:.3s;animation-delay:.3s}.box .dots .dot[data-v-1fe60afe]:nth-child(3){-webkit-animation:dot-hover-data-v-1fe60afe 1.5s infinite;animation:dot-hover-data-v-1fe60afe 1.5s infinite;-webkit-animation-delay:.6s;animation-delay:.6s}@media(max-width:768px){.box .dots .dot[data-v-1fe60afe]{width:30px;height:30px}.box .dots .dot[data-v-1fe60afe]:not(:first-child){margin-left:15px}.box .dots .dot[data-v-1fe60afe]:not(:last-child){margin-right:15px}}@media(min-width:768px){.box .dots .dot[data-v-1fe60afe]{font-size:36pt}.box .dots .dot[data-v-1fe60afe]:not(:first-child){margin-left:25px}.box .dots .dot[data-v-1fe60afe]:not(:last-child){margin-right:25px}}.box .loading-text[data-v-1fe60afe]{font-size:36pt}@media(max-width:768px){.box .loading-text[data-v-1fe60afe]{font-size:24pt}}@-webkit-keyframes dot-hover-data-v-1fe60afe{0%{transform:translateY(0)}50%{transform:translateY(1em)}to{transform:translateY(0)}}@keyframes dot-hover-data-v-1fe60afe{0%{transform:translateY(0)}50%{transform:translateY(1em)}to{transform:translateY(0)}}",""]),t.exports=e},280:function(t,e,o){"use strict";var r=o(259);o.n(r).a},281:function(t,e,o){(e=o(18)(!1)).push([t.i,".logo[data-v-672930a4]{--logo-color:#8ad5eb;width:300px;fill:var(--logo-color);stroke:var(--logo-color);filter:drop-shadow(0 0 3px #8ad5eb);transition:fill .2s,stroke .2s,filter .2s}@media(max-width:768px){.logo[data-v-672930a4]{width:80px;align-self:flex-start}}@media(min-width:768px){.logo[data-v-672930a4]:hover{--logo-color:#bee7f4;filter:drop-shadow(0 0 5px #bee7f4)}}.input-flex[data-v-672930a4]{width:100%}input[data-v-672930a4]{height:50px;font-family:ZillaSlab,serif;font-weight:700;font-size:18pt;border-radius:5px;padding:.1em .5em;box-shadow:0 0 20px 5px hsla(0,0%,100%,.2);border:none;color:#04254e;transition:transform .2s;min-width:0}input[data-v-672930a4]:focus{transform:scale(1.015)}.icon-button[data-v-672930a4]{height:2em;stroke:#04254e;overflow:hidden;transition:stroke .2s,fill .2s,color .2s}.icon-button svg[data-v-672930a4]{height:100%}.button[data-v-672930a4]{transition:transform .2s,background-color .2s,border .2s}.button[data-v-672930a4]:hover{transform:scale(1.05);background-color:#5954a4;color:#fff}.button:hover svg[data-v-672930a4]{fill:#fff;stroke:#fff}.dropdown[data-v-672930a4]{min-width:100px;height:100%;border-radius:5px;cursor:pointer;font-family:ZillaSlab,serif;font-size:16pt}",""]),t.exports=e},282:function(t,e,o){"use strict";o.r(e);o(34),o(166);var r=o(86),n=o(249),l=o(265),d=o(262),f=o(10),c=Object(f.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-arrow-right-square",attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"}}),this._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M4 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5A.5.5 0 0 0 4 8z"}})])}),[],!1,null,null,null).exports,h=o(7),v=o.n(h),m={components:{Logo:r.default,Spacer:n.default,DownloadBox:l.default,PleaseWaitBlocker:d.default,IconArrowRightSquare:c},data:function(){return{isWaitingForResponse:{type:Boolean,default:!1}}},methods:{downloadButtonClicked:function(){var t=this;if(this.$refs.video_url.value.match(/(https?:\/\/)?[a-zA-Z0-9-_.]+\.[a-zA-Z-_.]+/)){var e=this.$refs.video_url.value;this.$refs.video_url.value="",this.isWaitingForResponse=!0,v.a.post("/api",{request:"queue_download",video_url:e,mode:this.$refs.mode.options[this.$refs.mode.selectedIndex].value}).then((function(e){"OK"===e.data.status&&(t.isWaitingForResponse=!1,t.$store.dispatch("dlcache/update",t))}))}},keyMonitor:function(t){"Enter"==t.key&&this.downloadButtonClicked()}},mounted:function(){this.isWaitingForResponse=!1}},x=(o(280),Object(f.a)(m,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[t.isWaitingForResponse?o("PleaseWaitBlocker"):o("span",{staticClass:"inherit-all"},[o("div",{staticClass:"hidden md:block"},[o("Spacer",{attrs:{height:"0",m_height:"1em"}}),t._v(" "),o("Logo",{staticClass:"logo mt-4"}),t._v(" "),o("Spacer",{attrs:{height:"2em",m_height:"2em"}})],1),t._v(" "),o("div",{staticClass:"flex flex-row flex-wrap md:flex-no-wrap input-flex justify-between md:justify-center"},[o("input",{ref:"video_url",staticClass:"flex-grow md:mr-4 mb-2 md:mb-0 w-full",attrs:{type:"url",name:"video_url",id:"video_url",placeholder:"video-url"},on:{keydown:t.keyMonitor}}),t._v(" "),o("div",{staticClass:"w-full md:hidden"}),t._v(" "),o("div",{staticClass:"flex-shrink button-submit flex-grow-0"},[o("select",{ref:"mode",staticClass:"dropdown",attrs:{name:"mode",id:"mode"}},[o("option",{attrs:{value:"video"}},[t._v("Video")]),t._v(" "),o("option",{attrs:{value:"audio"}},[t._v("Audio")])])]),t._v(" "),o("div",{staticClass:"button flex-shrink button-submit flex-grow-0 ml-3",on:{click:t.downloadButtonClicked}},[o("IconArrowRightSquare",{staticClass:"icon-button"})],1)]),t._v(" "),o("Spacer",{attrs:{height:"2em",m_height:"2em"}}),t._v(" "),o("DownloadBox")],1)],1)}),[],!1,null,"672930a4",null));e.default=x.exports;installComponents(x,{Spacer:o(249).default,Logo:o(86).default,DownloadBox:o(265).default,PleaseWaitBlocker:o(262).default})}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{248:function(t,e,o){var content=o(254);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(19).default)("ac8f1938",content,!0,{sourceMap:!1})},249:function(t,e,o){"use strict";o.r(e);var r={props:{height:{type:String,default:"0"},m_height:{type:String,default:"0"}},computed:{mobile_height:function(){return"0"===this.m_height?this.height:this.m_height}}},n=(o(253),o(10)),component=Object(n.a)(r,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"spacer",style:"--height: "+this.height+"; --m_height: "+this.mobile_height+";"})}),[],!1,null,"70a5daf0",null);e.default=component.exports},253:function(t,e,o){"use strict";var r=o(248);o.n(r).a},254:function(t,e,o){(e=o(18)(!1)).push([t.i,".spacer[data-v-70a5daf0]{width:1px;height:var(--height)}@media(max-width:660px){.spacer[data-v-70a5daf0]{height:var(--m_height)}}",""]),t.exports=e},256:function(t,e,o){var content=o(275);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(19).default)("7bd584fa",content,!0,{sourceMap:!1})},257:function(t,e,o){var content=o(277);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(19).default)("2feed4f0",content,!0,{sourceMap:!1})},258:function(t,e,o){var content=o(279);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(19).default)("5d20b250",content,!0,{sourceMap:!1})},259:function(t,e,o){var content=o(281);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(19).default)("347a4cba",content,!0,{sourceMap:!1})},260:function(t,e,o){"use strict";o.r(e);o(35),o(34),o(63);var r=o(10),n=Object(r.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-download",attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}}),this._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"}})])}),[],!1,null,null,null).exports,l=Object(r.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-x",attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"}})])}),[],!1,null,null,null).exports,d=Object(r.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-film",attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M0 1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1zm4 0h8v6H4V1zm8 8H4v6h8V9zM1 1h2v2H1V1zm2 3H1v2h2V4zM1 7h2v2H1V7zm2 3H1v2h2v-2zm-2 3h2v2H1v-2zM15 1h-2v2h2V1zm-2 3h2v2h-2V4zm2 3h-2v2h2V7zm-2 3h2v2h-2v-2zm2 3h-2v2h2v-2z"}})])}),[],!1,null,null,null).exports,f=Object(r.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-music-note-beamed",attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M6 13c0 1.105-1.12 2-2.5 2S1 14.105 1 13c0-1.104 1.12-2 2.5-2s2.5.896 2.5 2zm9-2c0 1.105-1.12 2-2.5 2s-2.5-.895-2.5-2 1.12-2 2.5-2 2.5.895 2.5 2z"}}),this._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M14 11V2h1v9h-1zM6 3v10H5V3h1z"}}),this._v(" "),e("path",{attrs:{d:"M5 2.905a1 1 0 0 1 .9-.995l8-.8a1 1 0 0 1 1.1.995V3L5 4V2.905z"}})])}),[],!1,null,null,null).exports,c=o(7),h=o.n(c),v={components:{IconDownload:n,IconX:l,IconFilm:d,IconMusic:f},props:{downloadEntry:{type:Object}},methods:{getQueuedDateString:function(t){var e=new Date(1e3*t);return("0"+e.getDay()).slice(-2)+"."+("0"+e.getMonth()).slice(-2)+"."+e.getFullYear()},getDurationString:function(t){var time=new Date(1e3*t),e=String(time.getHours()-1);return("0"!==e?e+":":"")+("0"+time.getMinutes()).slice(-2)+":"+("0"+time.getSeconds()).slice(-2)},linebreaksToBrTags:function(t){return t.replace("\n","
")},removeDownload:function(){var t=this;h.a.post("/api",{request:"remove_download_entry",id:this.downloadEntry.tubio_id}).then((function(e){"OK"===e.data.status&&t.$store.dispatch("dlcache/update",t)}))}}},m=(o(274),Object(r.a)(v,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"frame mb-6 pt-2 pb-4"},[o("div",{staticClass:"flex flex-col"},[o("div",{staticClass:"flex items-end justify-between w-full md:w-auto"},[o("div",{staticClass:"flex flex-col"},[o("div",{staticClass:"icon--mode"},["video"===t.downloadEntry.mode?o("IconFilm"):o("IconMusic")],1),t._v(" "),o("div",{staticClass:"timestamp"},[t._v("\n "+t._s(t.getQueuedDateString(t.downloadEntry.queued_timestamp))+"\n ")])]),t._v(" "),o("div",{staticClass:"button-remove",on:{click:t.removeDownload}},[o("IconX")],1)]),t._v(" "),o("div",{staticClass:"flex flex-col-reverse md:flex-row w-full mt-2"},[o("div",{staticClass:"flex flex-col"},[o("a",{attrs:{href:t.downloadEntry.webpage_url,target:"_blank",title:"To the original source"}},[o("div",{staticClass:"thumbnail flex-shrink-0",style:"--thumbnail: url('"+t.downloadEntry.thumbnail_url+"')"},[o("div",{staticClass:"thumbnail__vignette"}),t._v(" "),o("div",{staticClass:"thumbnail__duration"},[t._v(t._s(t.getDurationString(t.downloadEntry.duration)))])])]),t._v(" "),"downloading"===t.downloadEntry.status?o("div",[o("div",{staticClass:"status--progressbar flex w-full mt-3"},[o("div",{staticClass:"status--progressbar__good items-stretch",style:"--download-progress: "+t.downloadEntry.download_progress+"%;"})]),t._v(" "),o("div",{staticClass:"status--progressbar__text"},[t._v("\n "+t._s(t.downloadEntry.download_progress)+"%\n ")])]):"finished"===t.downloadEntry.status?o("a",{attrs:{href:t.downloadEntry.download_url,title:"download"}},[o("div",{staticClass:"status--ready mt-3 button flex justify-center w-full"},[o("div",[o("IconDownload")],1)])]):"queued"===t.downloadEntry.status?o("div",[o("div",{staticClass:"status--queued mt-3"},[t._v("\n Queued\n ")])]):"failed"===t.downloadEntry.status?o("div",[o("div",{staticClass:"status--failed mt-3"},[t._v("\n Failed!\n ")])]):t._e()]),t._v(" "),o("div",{staticClass:"flex flex-col md:ml-4 w-full overflow-x-hidden overflow-y-visible"},[o("h1",{staticClass:"title"},[t._v(t._s(t.downloadEntry.title))]),t._v(" "),o("div",{staticClass:"relative my-4"},[""!=t.downloadEntry.description?o("div",[o("p",{staticClass:"description p-2"},[o("span",{domProps:{innerHTML:t._s(t.linebreaksToBrTags(t.downloadEntry.description))}})]),t._v(" "),o("div",{staticClass:"description__decobox description__decobox--left"}),t._v(" "),o("div",{staticClass:"description__decobox description__decobox--right"})]):t._e()])])])])])}),[],!1,null,"980790fa",null));e.default=m.exports},262:function(t,e,o){"use strict";o.r(e);var r={},n=(o(278),o(10)),component=Object(n.a)(r,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"click-blocker flex justify-center md:items-center"},[e("div",{staticClass:"box"},[e("div",{staticClass:"w-full h-full flex flex-col justify-center items-center"},[e("h2",{staticClass:"loading-text"},[this._v("Just a second...")]),this._v(" "),e("div",{staticClass:"dots flex w-full justify-center items-center mt-24"},[e("div",{staticClass:"dot"}),this._v(" "),e("div",{staticClass:"dot"}),this._v(" "),e("div",{staticClass:"dot"})])])])])}],!1,null,"1fe60afe",null);e.default=component.exports},265:function(t,e,o){"use strict";o.r(e);o(49);var r=o(260),n=(o(7),{components:{DownloadEntry:r.default},computed:{dlcache:function(){return this.$store.state.dlcache.cache}},data:function(){return{downloads:{type:Array}}},mounted:function(){var t=this;this.$store.dispatch("dlcache/update"),setInterval((function(){t.$store.dispatch("dlcache/update")}),1e3)}}),l=(o(276),o(10)),component=Object(l.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"download-box"},[this._e(),this._v(" "),this._l(this.dlcache,(function(t,o){return e("DownloadEntry",{key:o,attrs:{downloadEntry:t}})}))],2)}),[],!1,null,"8061dfc4",null);e.default=component.exports;installComponents(component,{DownloadEntry:o(260).default})},274:function(t,e,o){"use strict";var r=o(256);o.n(r).a},275:function(t,e,o){(e=o(18)(!1)).push([t.i,".frame[data-v-980790fa]{width:100%;border-bottom:2px solid #888}.frame .timestamp[data-v-980790fa]{font-family:ZillaSlab,serif;font-size:12pt;color:#bbb}.frame .thumbnail[data-v-980790fa]{background-image:var(--thumbnail);background-size:cover;background-position:50%;background-repeat:no-repeat;width:150px;height:84.375px;position:relative;cursor:pointer;scrollbar-width:none}@media(max-width:768px){.frame .thumbnail[data-v-980790fa]{width:100%;height:130px}}.frame .thumbnail__vignette[data-v-980790fa]{position:absolute;top:0;bottom:0;right:0;left:0;box-shadow:0 0 15px 2px #000}.frame .thumbnail__duration[data-v-980790fa]{position:absolute;bottom:0;right:0;padding:0 3px 3px 0;text-align:right;font-size:12pt;color:#bbb;background-color:rgba(0,0,0,.66667)}.frame .title[data-v-980790fa]{color:#bbb;font-size:22pt;max-height:1.3em;overflow-y:hidden;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.frame .description[data-v-980790fa]{color:#bbb;font-size:14pt;height:100px;overflow-x:hidden;overflow-y:scroll;position:relative;background-color:rgba(0,0,0,.2)}@media(max-width:768px){.frame .description[data-v-980790fa]{overflow:scroll}}.frame .description__decobox[data-v-980790fa]{position:absolute}.frame .description__decobox--left[data-v-980790fa]{top:0;left:0;width:40px;height:40px;border-top:2px solid #888;border-left:2px solid #888;pointer-events:none}.frame .description__decobox--right[data-v-980790fa]{bottom:0;right:0;width:40px;height:40px;border-bottom:2px solid #888;border-right:2px solid #888;pointer-events:none}.frame .status--progressbar[data-v-980790fa]{background-color:#900;height:5px}.frame .status--progressbar__good[data-v-980790fa]{background-color:#0b0;width:var(--download-progress);transition:width 1s}.frame .status--progressbar__text[data-v-980790fa]{font-size:24pt;color:#bbb}.frame .status--ready[data-v-980790fa]{height:45px;background-color:#bbb;transition:background-color .2s,border .2s}.frame .status--ready[data-v-980790fa]:hover{background-color:#5954a4;color:#fff}.frame .status--ready svg[data-v-980790fa]{height:35px}.frame .status--queued[data-v-980790fa]{font-family:ZillaSlab,serif;font-size:24pt;color:#bbb}.frame .status--failed[data-v-980790fa]{font-family:ZillaSlab,serif;font-size:24pt;color:#d40}.frame .button-remove[data-v-980790fa]{width:35px;height:35px;fill:#333;stroke:#333;cursor:pointer;transition:background-color .2s,border-radius .2s}.frame .button-remove[data-v-980790fa]:hover{background-color:#d40;border-radius:50%}.frame[data-v-980790fa]::-webkit-scrollbar,.frame[data-v-980790fa] ::-webkit-scrollbar{display:none}.frame .icon--mode[data-v-980790fa]{width:20px}",""]),t.exports=e},276:function(t,e,o){"use strict";var r=o(257);o.n(r).a},277:function(t,e,o){(e=o(18)(!1)).push([t.i,".download-box[data-v-8061dfc4]{width:100%;min-height:600px;border-radius:5px;padding:20px;background-color:hsla(0,0%,100%,.33333)}.no-dls-yet[data-v-8061dfc4]{color:#bbb;font-size:34pt;text-align:center}",""]),t.exports=e},278:function(t,e,o){"use strict";var r=o(258);o.n(r).a},279:function(t,e,o){(e=o(18)(!1)).push([t.i,".click-blocker[data-v-1fe60afe]{bottom:0}.box[data-v-1fe60afe],.click-blocker[data-v-1fe60afe]{position:absolute;left:0;right:0;top:0}.box[data-v-1fe60afe]{height:60%;overflow:hidden}@media(max-width:1280px){.box[data-v-1fe60afe]{position:absolute;top:100px;bottom:100px;left:100px;right:100px}}@media(max-width:768px){.box[data-v-1fe60afe]{position:absolute;top:0;bottom:0;left:0;right:0}}.box h2[data-v-1fe60afe]{text-align:center;font-size:56pt;color:#bbb}@media(max-width:768px){.box h2[data-v-1fe60afe]{margin-top:36px;max-height:unset}}@media(max-width:768px){.box .dots[data-v-1fe60afe]{margin-top:50px}}.box .dots .dot[data-v-1fe60afe]{width:50px;height:50px;background-color:#888;border-radius:50px;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.box .dots .dot[data-v-1fe60afe]:first-child{-webkit-animation:dot-hover-data-v-1fe60afe 1.5s infinite;animation:dot-hover-data-v-1fe60afe 1.5s infinite;-webkit-animation-delay:0;animation-delay:0}.box .dots .dot[data-v-1fe60afe]:nth-child(2){-webkit-animation:dot-hover-data-v-1fe60afe 1.5s infinite;animation:dot-hover-data-v-1fe60afe 1.5s infinite;-webkit-animation-delay:.3s;animation-delay:.3s}.box .dots .dot[data-v-1fe60afe]:nth-child(3){-webkit-animation:dot-hover-data-v-1fe60afe 1.5s infinite;animation:dot-hover-data-v-1fe60afe 1.5s infinite;-webkit-animation-delay:.6s;animation-delay:.6s}@media(max-width:768px){.box .dots .dot[data-v-1fe60afe]{width:30px;height:30px}.box .dots .dot[data-v-1fe60afe]:not(:first-child){margin-left:15px}.box .dots .dot[data-v-1fe60afe]:not(:last-child){margin-right:15px}}@media(min-width:768px){.box .dots .dot[data-v-1fe60afe]{font-size:36pt}.box .dots .dot[data-v-1fe60afe]:not(:first-child){margin-left:25px}.box .dots .dot[data-v-1fe60afe]:not(:last-child){margin-right:25px}}.box .loading-text[data-v-1fe60afe]{font-size:36pt}@media(max-width:768px){.box .loading-text[data-v-1fe60afe]{font-size:24pt}}@-webkit-keyframes dot-hover-data-v-1fe60afe{0%{transform:translateY(0)}50%{transform:translateY(1em)}to{transform:translateY(0)}}@keyframes dot-hover-data-v-1fe60afe{0%{transform:translateY(0)}50%{transform:translateY(1em)}to{transform:translateY(0)}}",""]),t.exports=e},280:function(t,e,o){"use strict";var r=o(259);o.n(r).a},281:function(t,e,o){(e=o(18)(!1)).push([t.i,".logo[data-v-51390b44]{--logo-color:#8ad5eb;width:300px;fill:var(--logo-color);stroke:var(--logo-color);filter:drop-shadow(0 0 3px #8ad5eb);transition:fill .2s,stroke .2s,filter .2s}@media(max-width:768px){.logo[data-v-51390b44]{width:80px;align-self:flex-start}}@media(min-width:768px){.logo[data-v-51390b44]:hover{--logo-color:#bee7f4;filter:drop-shadow(0 0 5px #bee7f4)}}.input-flex[data-v-51390b44]{width:100%}input[data-v-51390b44]{height:50px;font-family:ZillaSlab,serif;font-weight:700;font-size:18pt;border-radius:5px;padding:.1em .5em;box-shadow:0 0 20px 5px hsla(0,0%,100%,.2);border:none;color:#04254e;transition:transform .2s;min-width:0}input[data-v-51390b44]:focus{transform:scale(1.015)}.icon-button[data-v-51390b44]{height:2em;stroke:#04254e;overflow:hidden;transition:stroke .2s,fill .2s,color .2s}.icon-button svg[data-v-51390b44]{height:100%}.button[data-v-51390b44]{transition:transform .2s,background-color .2s,border .2s}.button[data-v-51390b44]:hover{transform:scale(1.05);background-color:#5954a4;color:#fff}.button:hover svg[data-v-51390b44]{fill:#fff;stroke:#fff}.dropdown[data-v-51390b44]{min-width:100px;height:100%;border-radius:5px;cursor:pointer;font-family:ZillaSlab,serif;font-size:16pt}",""]),t.exports=e},282:function(t,e,o){"use strict";o.r(e);o(34),o(166);var r=o(86),n=o(249),l=o(265),d=o(262),f=o(10),c=Object(f.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-arrow-right-square",attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"}}),this._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M4 8a.5.5 0 0 0 .5.5h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5A.5.5 0 0 0 4 8z"}})])}),[],!1,null,null,null).exports,h=o(7),v=o.n(h),m={components:{Logo:r.default,Spacer:n.default,DownloadBox:l.default,PleaseWaitBlocker:d.default,IconArrowRightSquare:c},data:function(){return{isWaitingForResponse:{type:Boolean,default:!1}}},methods:{downloadButtonClicked:function(){var t=this;if(this.$refs.video_url.value.match(/(https?:\/\/)?[a-zA-Z0-9-_.]+\.[a-zA-Z-_.]+/)){var e=this.$refs.video_url.value;this.$refs.video_url.value="",this.isWaitingForResponse=!0,v.a.post("/api",{request:"queue_download",video_url:e,mode:this.$refs.mode.options[this.$refs.mode.selectedIndex].value}).then((function(e){"OK"===e.data.status&&(t.isWaitingForResponse=!1,t.$store.dispatch("dlcache/update",t))}))}},keyMonitor:function(t){"Enter"==t.key&&this.downloadButtonClicked()}},mounted:function(){this.isWaitingForResponse=!1}},x=(o(280),Object(f.a)(m,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[t.isWaitingForResponse?o("PleaseWaitBlocker"):o("span",{staticClass:"inherit-all"},[o("div",{staticClass:"hidden md:block"},[o("Spacer",{attrs:{height:"0",m_height:"1em"}}),t._v(" "),o("Logo",{staticClass:"logo"}),t._v(" "),o("Spacer",{attrs:{height:"2em",m_height:"2em"}})],1),t._v(" "),o("div",{staticClass:"flex flex-row flex-wrap md:flex-no-wrap input-flex justify-between md:justify-center"},[o("input",{ref:"video_url",staticClass:"flex-grow md:mr-4 mb-2 md:mb-0 w-full",attrs:{type:"url",name:"video_url",id:"video_url",placeholder:"video-url"},on:{keydown:t.keyMonitor}}),t._v(" "),o("div",{staticClass:"w-full md:hidden"}),t._v(" "),o("div",{staticClass:"flex-shrink button-submit flex-grow-0"},[o("select",{ref:"mode",staticClass:"dropdown",attrs:{name:"mode",id:"mode"}},[o("option",{attrs:{value:"video"}},[t._v("Video")]),t._v(" "),o("option",{attrs:{value:"audio"}},[t._v("Audio")])])]),t._v(" "),o("div",{staticClass:"button flex-shrink button-submit flex-grow-0 ml-3",on:{click:t.downloadButtonClicked}},[o("IconArrowRightSquare",{staticClass:"icon-button"})],1)]),t._v(" "),o("Spacer",{attrs:{height:"2em",m_height:"2em"}}),t._v(" "),o("DownloadBox")],1)],1)}),[],!1,null,"51390b44",null));e.default=x.exports;installComponents(x,{Spacer:o(249).default,Logo:o(86).default,DownloadBox:o(265).default,PleaseWaitBlocker:o(262).default})}}]); \ No newline at end of file diff --git a/Tubio/frontend/_nuxt/static/1611432299/payload.js b/Tubio/frontend/_nuxt/static/1611433648/payload.js similarity index 100% rename from Tubio/frontend/_nuxt/static/1611432299/payload.js rename to Tubio/frontend/_nuxt/static/1611433648/payload.js diff --git a/Tubio/frontend/_nuxt/static/1611432299/settings/payload.js b/Tubio/frontend/_nuxt/static/1611433648/settings/payload.js similarity index 100% rename from Tubio/frontend/_nuxt/static/1611432299/settings/payload.js rename to Tubio/frontend/_nuxt/static/1611433648/settings/payload.js diff --git a/Tubio/frontend/_nuxt/static/1611432299/settings/state.js b/Tubio/frontend/_nuxt/static/1611433648/settings/state.js similarity index 76% rename from Tubio/frontend/_nuxt/static/1611432299/settings/state.js rename to Tubio/frontend/_nuxt/static/1611433648/settings/state.js index f79ba13..1aab63c 100644 --- a/Tubio/frontend/_nuxt/static/1611432299/settings/state.js +++ b/Tubio/frontend/_nuxt/static/1611433648/settings/state.js @@ -1 +1 @@ -window.__NUXT__={staticAssetsBase:"\u002F_nuxt\u002Fstatic\u002F1611432299",layout:"default",error:null,state:{diskUsage:{usage:{}},dlcache:{cache:[]},logs:{logs:[]},serverOs:{os_name:""},settings:{config:{}}},serverRendered:true,routePath:"\u002Fsettings",config:{}}; \ No newline at end of file +window.__NUXT__={staticAssetsBase:"\u002F_nuxt\u002Fstatic\u002F1611433648",layout:"default",error:null,state:{diskUsage:{usage:{}},dlcache:{cache:[]},logs:{logs:[]},serverOs:{os_name:""},settings:{config:{}}},serverRendered:true,routePath:"\u002Fsettings",config:{}}; \ No newline at end of file diff --git a/Tubio/frontend/_nuxt/static/1611432299/state.js b/Tubio/frontend/_nuxt/static/1611433648/state.js similarity index 75% rename from Tubio/frontend/_nuxt/static/1611432299/state.js rename to Tubio/frontend/_nuxt/static/1611433648/state.js index 98cae08..b69c6bc 100644 --- a/Tubio/frontend/_nuxt/static/1611432299/state.js +++ b/Tubio/frontend/_nuxt/static/1611433648/state.js @@ -1 +1 @@ -window.__NUXT__={staticAssetsBase:"\u002F_nuxt\u002Fstatic\u002F1611432299",layout:"default",error:null,state:{diskUsage:{usage:{}},dlcache:{cache:[]},logs:{logs:[]},serverOs:{os_name:""},settings:{config:{}}},serverRendered:true,routePath:"\u002F",config:{}}; \ No newline at end of file +window.__NUXT__={staticAssetsBase:"\u002F_nuxt\u002Fstatic\u002F1611433648",layout:"default",error:null,state:{diskUsage:{usage:{}},dlcache:{cache:[]},logs:{logs:[]},serverOs:{os_name:""},settings:{config:{}}},serverRendered:true,routePath:"\u002F",config:{}}; \ No newline at end of file diff --git a/Tubio/frontend/android-chrome-192x192.png b/Tubio/frontend/android-chrome-192x192.png index 8328d0e..43769df 100644 Binary files a/Tubio/frontend/android-chrome-192x192.png and b/Tubio/frontend/android-chrome-192x192.png differ diff --git a/Tubio/frontend/android-chrome-512x512.png b/Tubio/frontend/android-chrome-512x512.png index 75ef9c4..8a68cbb 100644 Binary files a/Tubio/frontend/android-chrome-512x512.png and b/Tubio/frontend/android-chrome-512x512.png differ diff --git a/Tubio/frontend/apple-touch-icon.png b/Tubio/frontend/apple-touch-icon.png index e5d0703..62eac41 100644 Binary files a/Tubio/frontend/apple-touch-icon.png and b/Tubio/frontend/apple-touch-icon.png differ diff --git a/Tubio/frontend/favicon-16x16.png b/Tubio/frontend/favicon-16x16.png index 494a01e..d32aaa6 100644 Binary files a/Tubio/frontend/favicon-16x16.png and b/Tubio/frontend/favicon-16x16.png differ diff --git a/Tubio/frontend/favicon-32x32.png b/Tubio/frontend/favicon-32x32.png index b45ae41..a65b7d4 100644 Binary files a/Tubio/frontend/favicon-32x32.png and b/Tubio/frontend/favicon-32x32.png differ diff --git a/Tubio/frontend/favicon.ico b/Tubio/frontend/favicon.ico index f13084b..90c591e 100644 Binary files a/Tubio/frontend/favicon.ico and b/Tubio/frontend/favicon.ico differ diff --git a/Tubio/frontend/index.html b/Tubio/frontend/index.html index d068e07..c216eef 100644 --- a/Tubio/frontend/index.html +++ b/Tubio/frontend/index.html @@ -1,9 +1,9 @@ - Tubio - Video downloader + Tubio - Video downloader -

Just a second...

+

Just a second...

diff --git a/Tubio/frontend/mstile-150x150.png b/Tubio/frontend/mstile-150x150.png index 3781b57..a2acbd4 100644 Binary files a/Tubio/frontend/mstile-150x150.png and b/Tubio/frontend/mstile-150x150.png differ diff --git a/Tubio/frontend/safari-pinned-tab.svg b/Tubio/frontend/safari-pinned-tab.svg index 8597d45..65a547f 100644 --- a/Tubio/frontend/safari-pinned-tab.svg +++ b/Tubio/frontend/safari-pinned-tab.svg @@ -2,32 +2,14 @@ Created by potrace 1.11, written by Peter Selinger 2001-2013 - - + diff --git a/Tubio/frontend/settings/index.html b/Tubio/frontend/settings/index.html index 3c80c29..6f8fa86 100644 --- a/Tubio/frontend/settings/index.html +++ b/Tubio/frontend/settings/index.html @@ -1,11 +1,11 @@ - Tubio - Video downloader + Tubio - Video downloader

Settings

Disk usage

Downloads:

NaN mb

Logs:

NaN mb

Dependencies:

NaN mb

Misc:

NaN mb

Total:

NaN mb

Clear downloads
Clear logs
Kill server
Reset to defaults

Logs

+ diff --git a/Tubio/frontend/site.webmanifest b/Tubio/frontend/site.webmanifest index eeffbd3..b20abb7 100644 --- a/Tubio/frontend/site.webmanifest +++ b/Tubio/frontend/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "Tubio - Video Downloader", - "short_name": "Tubio", + "name": "", + "short_name": "", "icons": [ { "src": "/android-chrome-192x192.png", @@ -13,7 +13,7 @@ "type": "image/png" } ], - "theme_color": "#87D1E6", - "background_color": "#04254e", + "theme_color": "#ffffff", + "background_color": "#ffffff", "display": "standalone" }