iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://antyweb.pl/_aw/8b05c01.modern.js
/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{552:function(e,t,n){e.exports={}},752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=d(n(753)),l=d(n(754)),c=d(n(756));function d(e){return e&&e.__esModule?e:{default:e}}var f=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],d=(0,o.default)();if(f||(f=(0,l.default)(d)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=c.default.proxyEvents(d);var y=new Promise((function(n){"object"===(void 0===e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):f.then((function(r){var o=new r.Player(e,t);return d.on("ready",(function(){n(o)})),null}))})),h=c.default.promisifyPlayer(y,n);return h.on=d.on,h.off=d.off,h},e.exports=t.default},753:function(e,t,n){"use strict";var r;r=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,data){var i,n=t[e];if(n)for(i=n.length;i--;)n[i].handler(data)},e},e.exports=r},754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(755),l=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise((function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,l.default)(n+"//www.youtube.com/iframe_api",(function(t){t&&e.trigger("error",t)}));var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}}))},e.exports=t.default},755:function(e,t){function n(script,e){script.onload=function(){this.onerror=this.onload=null,e(null,script)},script.onerror=function(){this.onerror=this.onload=null,e(new Error("Failed to load "+this.src),script)}}function r(script,e){script.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,e(null,script))}}e.exports=function(e,t,o){var head=document.head||document.getElementsByTagName("head")[0],script=document.createElement("script");"function"==typeof t&&(o=t,t={}),t=t||{},o=o||function(){},script.type=t.type||"text/javascript",script.charset=t.charset||"utf8",script.async=!("async"in t)||!!t.async,script.src=e,t.attrs&&function(script,e){for(var t in e)script.setAttribute(t,e[t])}(script,t.attrs),t.text&&(script.text=""+t.text),("onload"in script?n:r)(script,o),script.onload||n(script,o),head.appendChild(script)}},756:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n(757)),o=d(n(760)),l=d(n(761)),c=d(n(762));function d(e){return e&&e.__esModule?e:{default:e}}var f=(0,r.default)("youtube-player"),y={proxyEvents:function(e){var t={},n=function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){f('event "%s"',r,t),e.trigger(n,t)}},r=!0,o=!1,c=void 0;try{for(var d,y=l.default[Symbol.iterator]();!(r=(d=y.next()).done);r=!0){n(d.value)}}catch(e){o=!0,c=e}finally{try{!r&&y.return&&y.return()}finally{if(o)throw c}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&c.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(o())}).call(this,n(36))},758:function(e,t,n){var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,l=o-(r||o);e.diff=l,e.prev=r,e.curr=o,r=o;for(var c=new Array(arguments.length),i=0;i0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*l;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===f&&!1===isNaN(e))return t.long?c(d=e,o,"day")||c(d,r,"hour")||c(d,n,"minute")||c(d,s,"second")||d+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=s)return Math.round(e/s)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},760:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},761:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},762:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(763),l=(r=o)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[l.default.ENDED,l.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[l.default.ENDED,l.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[l.default.ENDED,l.default.PLAYING,l.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},763:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},764:function(e,t,n){"use strict";n(552)},803:function(e,t,n){"use strict";n.r(t);var r=n(12),o=n(752),l=n.n(o),c=n(341),d={[-1]:"unstarted",1:"playing",2:"paused",0:"ended",3:"buffering",5:"cued"},f=Object(r.b)({props:{id:{type:String,required:!0},options:{type:Object,default:()=>({})},time:{type:String,default:null},height:{type:[Number,String],default:360},width:{type:[Number,String],default:640},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!1}},setup(e,t){var{emit:n}=t,o=Object(r.l)({}),f=Object(r.l)(null),video=Object(r.l)(null),y=t=>{e.autoplay&&(e.muted&&(t.target.mute(),t.target.setVolume(0)),t.target.playVideo()),n("ready",t.target)},h=e=>{null!==e.data&&-1!==e.data&&n(d[e.data],e.taget)},m=e=>{n("error",e.target)};return Object(r.i)((()=>{window.YTConfig={host:"https://www.youtube.com/iframe_api"}})),Object(c.a)(f,{offset:200,onChange:t=>{t&&video.value&&(o.value=l()(video.value,{width:e.width,height:e.height,videoId:e.id,playerVars:e.options}),o.value.on("ready",y),o.value.on("stateChange",h),o.value.on("error",m))}}),{player:o,container:f,video:video}}}),y=(n(764),n(75)),component=Object(y.a)(f,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"container",staticClass:"video"},[t("div",{ref:"video"})])}),[],!1,null,"4d84144e",null);t.default=component.exports}}]);