PageSourceSearch

https://www.sujaysdentalcare.com/wp-content/plugins/youtube-video-…/youtube-player.view.js?ver=6.8.10

js sujaysdentalcare.com collected 2026-10-06 13:17:08 UTC 77,442 bytes, 30 lines download raw bytes

vendor: 4,457 bytes, line 1
1!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=10)}([function(e,t,n){"use strict";function r(e){return"[object Array]"===S.call(e)}function o(e){return"[object ArrayBuffer]"===S.call(e)}function i(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function l(e){return"number"==typeof e}function c(e){return void 0===e}function u(e){return null!==e&&"object"==typeof e}function f(e){return"[object Date]"===S.call(e)}function p(e){return"[object File]"===S.call(e)}function d(e){return"[object Blob]"===S.call(e)}function h(e){return"[object Function]"===S.call(e)}function m(e){return u(e)&&h(e.pipe)}function y(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function v(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function g(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function w(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=w(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function E(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?T(t,n):t}),e}var T=n(2),R=n(13),S=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:o,isBuffer:R,isFormData:i,isArrayBufferView:a,isString:s,isNumber:l,isObject:u,isUndefined:c,isDate:f,isFile:p,isBlob:d,isFunction:h,isStream:m,isURLSearchParams:y,isStandardBrowserEnv:g,forEach:b,merge:w,extend:E,trim:v}},function(e,t,n){"use strict";(function(t){function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=n(0),i=n(15),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(4):void 0!==t&&(e=n(4)),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(e){s.headers[e]={}}),o.forEach(["post","put","patch"],function(e){s.headers[e]=o.merge(a)}),e.exports=s}).call(t,n(3))},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):y=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++y<t;)d&&d[y].run();y=-1,t=h.length}d=null,m=!1,i(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,f,p=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}
vendor: 4,413 bytes, line 1
1try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],m=!1,y=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new l(e,t)),1!==h.length||m||o(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(0),o=n(16),i=n(18),a=n(19),s=n(20),l=n(5),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(21);e.exports=function(e){return new Promise(function(t,u){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(e.url)||(d=new window.XDomainRequest,h="onload",m=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var y=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+c(y+":"+v)}if(d.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[h]=function(){if(d&&(4===d.readyState||m)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?d.response:d.responseText,i={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:e,request:d};o(t,u,i),d=null}},d.onerror=function(){u(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){u(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n(22),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),u(e),d=null)}),void 0===f&&(f=null),d.send(f)})}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";e.exports=n(32)},function(e,t,n){e.exports=n(34)()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubePlayerFrontend=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(11),c=(r(l),n(30)),u=r(c),f=n(37),p=r(f),d=n(51);n(52);var h=wp.element,m=h.Component,y=h.render,v="YTY-",g=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));
1return n.player_id=(0,d.YVY_makeid)(25),n.state={youtube_items:[],current_video:"",current_play_percente:0,current_buffer_percente:0,current_play_status:!1,hideControls:!1,isMouseOver:!1,volume:100,duration:-1,is_muted:!1,show_playlist:!0,playlist_position:"right",playlist_thumb_per_page:e.options.playlistThumbPP,player_height:e.options.playerHeight,overlayColor:e.options.overlayColor,overlayOpacity:e.options.overlayOpacity},n.youtube_opts={height:"100%",width:"100%",playerVars:{autoplay:e.options.autoplay&&"frontend"==e.where?1:0,showinfo:0,controls:0,autohide:1,iv_load_policy:3,wmode:"opaque",rel:0,fs:0}},n.videoTarget=-1,n.jumpTo=n.jumpTo.bind(n),n.jumpToVolume=n.jumpToVolume.bind(n),n.playPauseFunction=n.playPauseFunction.bind(n),n.muteUnmute=n.muteUnmute.bind(n),n.togglePlaylist=n.togglePlaylist.bind(n),n.nextVideo=n.nextVideo.bind(n),n.prevVideo=n.prevVideo.bind(n),n.toggleFullscreen=n.toggleFullscreen.bind(n),n.onMouseEnter=n.onMouseEnter.bind(n),n.onMouseLeave=n.onMouseLeave.bind(n),n.i18n={play_video:"Play video",stop_video:"Stop video",mute:"Mute video",unmute:"Unmute video",share:"Share",open_youtube:"Open in Youtube",previous:"Previous Video",forward:"Next Video",playlist:"Toogle playlist",fullscreen:"Toogle fullscreen"},n.currentPlayThumbRef=React.createRef(),n}return a(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.videos;e.setState({youtube_items:t,current_video:t[0]})}},{key:"playVideo",value:function(e,t){var n=this;this.setState({current_video:e});var r=this.state.player_height/this.state.playlist_thumb_per_page;this.state.youtube_items.map(function(t,o){t&&t.etag==e.etag&&(n._scrollBarRef._container.scrollTop=r*o)})}},{key:"componentDidUpdate",value:function(){!0===this.show_playlist&&(this._scrollBarRef._container.scrollTop=this.currentPlayThumbRef.offsetTop)}},{key:"buildPlaylist",value:function(e,t,n){var r=this,o=this,i=this.state,a=i.youtube_items,s=i.
1current_video;if(a.length>0){var l=a.map(function(i,a){if((0,d.isset)(i,"snippet"))return React.createElement("li",{key:a,onClick:r.playVideo.bind(r,i),ref:function(e){s&&s.etag==i.etag&&(o.currentPlayThumbRef=e)},className:s&&s.etag==i.etag?"videoIsPlaying":""},React.createElement("div",{className:"YTY-Thumbnails",style:{height:e/t,backgroundImage:"url("+i.snippet.thumbnails.medium.url+")"}}),React.createElement("div",{className:"YTY-Overlay"},React.createElement("div",{className:"YTY-Title"},i.snippet.title),React.createElement("div",{className:"YTY-Channel"},i.snippet.channelTitle)),React.createElement("div",{className:"YTY-NowPlaying",style:{backgroundColor:n}},React.createElement("span",{className:"JoeVideoPlayer-icon-play"}),"Now Playing"))});return React.createElement(u.default,{ref:function(e){r._scrollBarRef=e}},React.createElement("ul",null,l))}}},{key:"onYoutubeVideoIsReady",value:function(e){this.videoTarget=e.target,this.setState({volume:this.videoTarget.getVolume()}),this.videoTarget.isMuted()&&this.setState({volume:-1});var t=e.target.getDuration();this.setState({duration:(0,d.toHHMMSS)(t)})}},{key:"timer",value:function(e,t){var n=e.target,r=n.getCurrentTime(),o=r/t*100;this.setState({current_play_percente:o,current_buffer_percente:100*n.getVideoLoadedFraction()})}},{key:"jumpTo",value:function(e){var t=e.currentTarget.getBoundingClientRect(),n=e.pageX-t.left,r=n/e.currentTarget.offsetWidth*100;this.videoTarget.seekTo(this.videoTarget.getDuration()*r/100)}},{key:"muteUnmute",value:function(e){this.videoTarget.isMuted()?(this.videoTarget.unMute(),this.setState({is_muted:!1})):(this.videoTarget.mute(),this.setState({is_muted:!0}))}},{key:"togglePlaylist",value:function(e){e.preventDefault(),this.setState({show_playlist:!this.state.show_playlist})}},{key:"jumpToVolume",value:function(e){var t=e.currentTarget.getBoundingClientRect(),n=e.pageX-t.left,r=Math.ceil(n/e.currentTarget.offsetWidth*100);this.videoTarget.setVolume(r),this.setState({volume:r})}},{key:"onStateChange",value:function(e){e.data==YT.PlayerState.ENDED&&(e.preventDefault=function(){},this.nextVideo(e));var t=e.target.getDuration();e.data!=YT.PlayerState.PAUSED&&e.data!=YT.PlayerState.ENDED||clearInterval(this.intervalId),e.data==YT.PlayerState.PLAYING&&(this.setState({current_play_status:!0}),clearInterval(this.intervalId),this.intervalId=setInterval(this.timer.bind(this,e,t),150))}},{key:"playPauseFunction",value:function(e){var t=this.videoTarget.getPlayerState();t==YT.PlayerState.PAUSED||t==YT.PlayerState.CUED?(this.videoTarget.playVideo(),this.setState({current_play_status:!0})):(this.videoTarget.pauseVideo(),this.setState({current_play_status:!1}))}},{key:"toggleFullscreen",value:function(e){e.preventDefault();var t=this,n=document.getElementById(this.player_id),r=document.webkitIsFullScreen||document.mozFullScreen||!1;n.requestFullScreen=n.requestFullScreen||n.webkitRequestFullScreen||n.mozRequestFullScreen||function(){return!1},document.cancelFullScreen=document.cancelFullScreen||document.webkitCancelFullScreen||document.mozCancelFullScreen||function(){return!1},r?document.cancelFullScreen():n.requestFullScreen(),n.classList.toggle("isFullscreen"),document.addEventListener("fullscreenchange",this.exitHandler),document.addEventListener("webkitfullscreenchange",this.exitHandler),document.addEventListener("mozfullscreenchange",this.exitHandler),document.addEventListener("MSFullscreenChange",this.exitHandler),t.setState({isMouseOver:!1})}},{key:"exitHandler",value:function(e){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||e.srcElement.classList.remove("isFullscreen")}},{key:"nextVideo",value:function(e){var t=this;e.preventDefault();var n=this.state.youtube_items.findIndex(function(e){return e.etag==t.state.current_video.etag}),r=n+1;this.state.youtube_items.length==r&&(r=0),this.playVideo(this.state.youtube_items[r])}},{key:"prevVideo",value:function(e){var t=this;e.preventDefault();var n=this.state.youtube_items.findIndex(function(e){return e.etag==t.state.current_video.etag}),r=n-1;r<0&&(r=this.state.youtube_items.length-1),this.playVideo(this.state.youtube_items[r])}},{key:"onMouseLeave",value:function(e){this.setState({isMouseOver:!1})}},{key:"onMouseEnter",value:function(e){this.setState({isMouseOver:!0})}},{key:"render",value:function(){var e=this.state,t=e.current_video,n=e.current_play_percente,r=e.current_buffer_percente,o=e.current_play_status,i=e.volume,a=e.is_muted,s=e.duration,l=e.show_playlist,c=e.playlist_position,u=e.overlayColor,f=e.overlayOpacity,h=e.player_height,m=e.player_width,y=e.playlist_thumb_per_page,g=e.isMouseOver;return u!=this.props.options.overlayColor&&(u=this.props.options.overlayColor),f!=this.props.options.overlayOpacity&&(f=this.props.options.overlayOpacity),t.id!=this.props.videos[0].id&&"frontend"!=this.props.where&&(t=this.props.videos[0]),m!=this.props.options.playlistWidth&&(m=this.props.options.playlistWidth),h!=this.props.options.playerHe
1ight&&(h=this.props.options.playerHeight,this.youtube_opts.height=h),y!=this.props.options.playlistThumbPP&&(y=this.props.options.playlistThumbPP),this.state.youtube_items=this.props.videos,1==this.state.youtube_items.length&&(l=!1),React.createElement("div",{className:"YTY-wrapper "+(l?"":"YTY-NOPlaylist")+" "+v+"position"+c,style:{gridTemplateColumns:"1fr "+m+"px",height:h+"px"}},React.createElement("div",{className:"YTY-MainVideo",id:"frontend"==this.props.where?this.player_id:"",onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave},React.createElement("div",{className:"YTY-FullVideo"},""!=t?React.createElement(p.default,{videoId:t.id,opts:this.youtube_opts,onReady:this.onYoutubeVideoIsReady.bind(this),onStateChange:this.onStateChange.bind(this)}):""),t&&-1!=this.videoTarget!=""?React.createElement("div",{onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,className:"YTY-Controls "+(o&&!1===g?"hideControls":"")},React.createElement("div",{className:"YTY-left-col"},React.createElement("div",{className:"YTY-ProgressBar",onClick:this.jumpTo},React.createElement("div",{className:"YTY-Buffered",style:{width:r+"%"}}),React.createElement("div",{className:"YTY-Progress",style:{width:n+"%",backgroundColor:(0,d.YVY_hexToRgbA)(u,f)}})),0==o?React.createElement("div",{className:"YTY-Play",onClick:this.playPauseFunction},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.play_video)):React.createElement("div",{className:"YTY-Pause",onClick:this.playPauseFunction},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.stop_video)),React.createElement("div",{className:"YTY-Volume"},a?React.createElement("div",{className:"YTY-VolumeMute",onClick:this.muteUnmute},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.unmute)):React.createElement("div",{className:"YTY-VolumeIcon",onClick:this.muteUnmute},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.mute)),React.createElement("div",{className:"YTY-VolumeProgressBar",onClick:this.jumpToVolume},!1===a?React.createElement("div",{className:"YTY-VolumeProgress",style:{width:i+"%",backgroundColor:(0,d.YVY_hexToRgbA)(u,f)}}):"")),React.createElement("div",{className:"YTY-Timer"},(0,d.toHHMMSS)(this.videoTarget.getCurrentTime()),React.createElement("span",null,"/"),-1!=s?s:"00:00")),React.createElement("div",{className:"YTY-right-col"},(this.props.options.showShareBtn,""),this.props.options.showYouTubeBtn?React.createElement("a",{target:"_blank",href:this.videoTarget.getVideoUrl(),className:"YTY-YouTube"},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.open_youtube)):"",this.props.options.showPrevBtn?React.createElement("a",{href:"#",className:"YTY-Backward",onClick:this.prevVideo},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.previous)):"",this.props.options.showNextBtn?React.createElement("a",{href:"#",className:"YTY-Forward",onClick:this.nextVideo},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.forward)):"",this.props.options.showPlaylistBtn?React.createElement("a",{href:"#",className:"YTY-ShowPlaylist",onClick:this.togglePlaylist},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.playlist)):"",this.props.options.showFullScreenBtn?React.createElement("a",{href:"#",className:"YTY-FullScreen",onClick:this.toggleFullscreen},React.createElement("span",{className:"YTY-Tooltip"},this.i18n.fullscreen)):"")):""),l?React.createElement("div",{className:"YTY-Playlist",id:"YTY-Playlist",style:{height:h+"px"}},this.buildPlaylist(h,y,u)):"")}}]),t}(m);t.YouTubePlayerFrontend=g,document.addEventListener("DOMContentLoaded",function(e){for(var t=document.querySelectorAll(".YTY-wrapper"),n=0;n<t.length;n++){var r=t[n].parentNode,o=JSON.parse(r.getAttribute("data-videos")),i=JSON.parse(r.getAttribute("data-options"));y(React.createElement(g,{videos:o,options:i,where:"frontend"}),r),console.log("%c players present on page and running...","color: #9C27B0")}})},function(e,t,n){e.exports=n(12)},function(e,t,n){"use strict";function r(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var o=n(0),i=n(2),a=n(14),s=n(1),l=r(s);l.Axios=a,l.create=function(e){return r(o.merge(s,e))},l.Cancel=n(7),l.CancelToken=n(28),l.isCancel=n(6),l.all=function(e){return Promise.all(e)},l.spread=n(29),e.exports=l,e.exports.default=l},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*!
2 * Determine if an object is a Buffer
3 *
4 * @author   Feross Aboukhadijeh <https://feross.org>
5 * @license  MIT
6 */
7e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var o=n(1),i=n(0),a=n(23),s=n(24);r.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),e=i.merge(o,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n}
vendor: 5,594 bytes, line 7
7,i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(0);e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(0),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(0);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function o(e){for(var t,n,o=String(e),a="",s=0,l=i;o.charAt(0|s)||(l="=",s%1);a+=l.charAt(63&t>>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=o},function(e,t,n){"use strict";var r=n(0);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(0);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(0),i=n(25),a=n(6),s=n(1),l=n(26),c=n(27);e.exports=function(e){return r(e),e.baseURL&&!l(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(7);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";
7Object.defineProperty(t,"__esModule",{value:!0});var r=n(31),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(8),c=r(l),u=n(9),f=n(36),p=r(f),d={"ps-scroll-y":"onScrollY","ps-scroll-x":"onScrollX","ps-scroll-up":"onScrollUp","ps-scroll-down":"onScrollDown","ps-scroll-left":"onScrollLeft","ps-scroll-right":"onScrollRight","ps-y-reach-start":"onYReachStart","ps-y-reach-end":"onYReachEnd","ps-x-reach-start":"onXReachStart","ps-x-reach-end":"onXReachEnd"};Object.freeze(d);var h=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleRef=n.handleRef.bind(n),n._handlerByEvent={},n}return a(t,e),s(t,[{key:"componentDidMount",value:function(){this._ps=new p.default(this._container,this.props.option),this._updateEventHook()}},{key:"componentDidUpdate",value:function(e){this._updateEventHook(e),this._ps.update()}},{key:"componentWillUnmount",value:function(){var e=this;Object.keys(this._handlerByEvent).forEach(function(t){var n=e._handlerByEvent[t];n&&e._container.removeEventListener(t,n,!1)}),this._handlerByEvent={},this._ps.destroy(),this._ps=null}},{key:"_updateEventHook",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(d).forEach(function(n){var r=e.props[d[n]],o=t[d[n]];if(r!==o){if(o){var i=e._handlerByEvent[n];e._container.removeEventListener(n,i,!1),e._handlerByEvent[n]=null}if(r){var a=function(){return r(e._container)};e._container.addEventListener(n,a,!1),e._handlerByEvent[n]=a}}})}},{key:"updateScroll",value:function(){this._ps.update()}},{key:"handleRef",value:function(e){this._container=e,this.props.containerRef(e)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.component,r=e.className,o=e.style,i=n;return c.default.createElement(i,{style:o,className:"scrollbar-container "+r,ref:this.handleRef},t)}}]),t}(l.Component);t.default=h,h.defaultProps={className:"",style:void 0,option:void 0,containerRef:function(){},onScrollY:void 0,onScrollX:void 0,onScrollUp:void 0,onScrollDown:void 0,onScrollLeft:void 0,onScrollRight:void 0,onYReachStart:void 0,onYReachEnd:void 0,onXReachStart:void 0,onXReachEnd:void 0,component:"div"},h.propTypes={children:u.PropTypes.node.isRequired,className:u.PropTypes.string,style:u.PropTypes.object,option:u.PropTypes.object,containerRef:u.PropTypes.func,onScrollY:u.PropTypes.func,onScrollX:u.PropTypes.func,onScrollUp:u.PropTypes.func,onScrollDown:u.PropTypes.func,onScrollLeft:u.PropTypes.func,onScrollRight:u.PropTypes.func,onYReachStart:u.PropTypes.func,onYReachEnd:u.PropTypes.func,onXReachStart:u.PropTypes.func,onXReachEnd:u.PropTypes.func,component:u.PropTypes.string},e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;e=Error(t.replace(/%s/g,function(){return l[c++]})),e.name="Invariant Violation"}throw e.framesToPop=1,e}}function o(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);r(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||M}function a(){}function s(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||M}function l(e,t,n){var r=void 0,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)W.call(t,r)&&!H.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:T,type:e,key:i,ref:a,props:o,_owner:D.current}}function c(e,t){return{$$typeof:T,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===T}function f(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function p(e,t,n,r){if(I.length){var o=I.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function d(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function h(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case R:a=!0}}
vendor: 4,337 bytes, lines 7-18
7if(a)return n(r,e,""===t?"."+y(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){i=e[s];var l=t+y(i,s);a+=h(i,l,n,r)}else if(null===e||"object"!=typeof e?l=null:(l=N&&e[N]||e["@@iterator"],l="function"==typeof l?l:null),"function"==typeof l)for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=t+y(i,s++),a+=h(i,l,n,r);else"object"===i&&(n=""+e,o("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function m(e,t,n){return null==e?0:h(e,"",t,n)}function y(e,t){return"object"==typeof e&&null!==e&&null!=e.key?f(e.key):t.toString(36)}function v(e,t){e.func.call(e.context,t,e.count++)}function g(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?b(e,r,n,function(e){return e}):null!=e&&(u(e)&&(e=c(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(V,"$&/")+"/")+n)),r.push(e))}function b(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(V,"$&/")+"/"),t=p(t,i,r,o),m(e,g,t),d(t)}/** @license React v16.7.0
8 * react.production.min.js
9 *
10 * Copyright (c) Facebook, Inc. and its affiliates.
11 *
12 * This source code is licensed under the MIT license found in the
13 * LICENSE file in the root directory of this source tree.
14 */
15var w=n(33),E="function"==typeof Symbol&&Symbol.for,T=E?Symbol.for("react.element"):60103,R=E?Symbol.for("react.portal"):60106,S=E?Symbol.for("react.fragment"):60107,P=E?Symbol.for("react.strict_mode"):60108,Y=E?Symbol.for("react.profiler"):60114,_=E?Symbol.for("react.provider"):60109,x=E?Symbol.for("react.context"):60110,C=E?Symbol.for("react.concurrent_mode"):60111,k=E?Symbol.for("react.forward_ref"):60112,O=E?Symbol.for("react.suspense"):60113,L=E?Symbol.for("react.memo"):60115,A=E?Symbol.for("react.lazy"):60116,N="function"==typeof Symbol&&Symbol.iterator,M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={};i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&o("85"),this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=i.prototype;var X=s.prototype=new a;X.constructor=s,w(X,i.prototype),X.isPureReactComponent=!0;var D={current:null,currentDispatcher:null},W=Object.prototype.hasOwnProperty,H={key:!0,ref:!0,__self:!0,__source:!0},V=/\/+/g,I=[],B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return b(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=p(null,null,t,n),m(e,v,t),d(t)},count:function(e){return m(e,function(){return null},null)},toArray:function(e){var t=[];return b(e,t,null,function(e){return e}),t},only:function(e){return u(e)||o("143"),e}},createRef:function(){return{current:null}},Component:i,PureComponent:s,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:x,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:_,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:k,render:e}},lazy:function(e){return{$$typeof:A,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:L,type:e,compare:void 0===t?null:t}},Fragment:S,StrictMode:P,Suspense:O,createElement:l,cloneElement:function(e,t,n){(null===e||void 0===e)&&o("267",e);var r=void 0,i=w({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=D.current),void 0!==t.key&&(a=""+t.key);var c=void 0;e.type&&e.type.defaultProps&&(c=e.type.defaultProps);for(r in t)W.call(t,r)&&!H.hasOwnProperty(r)&&(i[r]=void 0===t[r]&&void 0!==c?c[r]:t[r])}if(1===(r=arguments.length-2))i.children=n;else if(1<r){c=Array(r);for(var u=0;u<r;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:T,type:e.type,key:a,ref:s,props:i,_owner:l}},createFactory:function(e){var t=l.bind(null,e);return t.type=e,t},isValidElement:u,version:"16.7.0",unstable_ConcurrentMode:C,unstable_Profiler:Y,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:D,assign:w}},U={default:B},F=U&&B||U;e.exports=F.default||F},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
16object-assign
17(c) Sindre Sorhus
18@license MIT
19*/
20var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var u in n)i.call(n,u)&&(l[u]=n[u]);if(o){s=o(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t,n){"use strict";function r(){}var o=n(35);e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";/*!
21 * perfect-scrollbar v1.4.0
22 * (c) 2018 Hyunje Jun
23 * @license MIT
24 */
25function r(e){return getComputedStyle(e)}function o(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function i(e){var t=document.createElement("div");return t.className=e,t}function a(e,t){if(!w)throw new Error("No element matching method supported");return w.call(e,t)}function s(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function l(e,t){return Array.prototype.filter.call(e.children,function(e){return a(e,t)})}function c(e,t){var n=e.element.classList,r=E.state.scrolling(t);n.contains(r)?clearTimeout(T[t]):n.add(r)}function u(e,t){T[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(E.state.scrolling(t))},e.settings.scrollingThreshold)}function f(e,t){c(e,t),u(e,t)}function p(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function d(e,t,n,r,o){var i=n[0],a=n[1],s=n[2],l=n[3],c=n[4],u=n[5];void 0===r&&(r=!0),void 0===o&&(o=!1);var d=e.element;e.reach[l]=null,d[s]<1&&(e.reach[l]="start"),d[s]>e[i]-e[a]-1&&(e.reach[l]="end"),t&&(d.dispatchEvent(p("ps-scroll-"+l)),t<0?d.dispatchEvent(p("ps-scroll-"+c)):t>0&&d.dispatchEvent(p("ps-scroll-"+u)),r&&f(e,l)),e.reach[l]&&(t||o)&&d.dispatchEvent(p("ps-"+l+"-reach-"+e.reach[l]))}function h(e){return parseInt(e,10)||0}function m(e){return a(e,"input,[contenteditable]")||a(e,"select,[contenteditable]")||a(e,"textarea,[contenteditable]")||a(e,"button,[contenteditable]")}function y(e){var t=r(e);return h(t.width)+h(t.paddingLeft)+h(t.paddingRight)+h(t.borderLeftWidth)+h(t.borderRightWidth)}function v(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function g(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r,o(t.scrollbarXRail,n);var i={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?i.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth:i.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?i.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:i.left=t.scrollbarYLeft+e.scrollLeft,o(t.scrollbarYRail,i),o(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),o(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function b(e,t){function n(t){m[p]=y+g*(t[a]-v),c(e,d),x(e),t.stopPropagation(),t.preventDefault()}function r(){u(e,d),e[h].classList.remove(E.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",n)}var o=t[0],i=t[1],a=t[2],s=t[3],l=t[4],f=t[5],p=t[6],d=t[7],h=t[8],m=e.element,y=null,v=null,g=null;e.event.bind(e[l],"mousedown",function(t){y=m[p],v=t[a],g=(e[i]-e[o])/(e[s]-e[f]),e.event.bind(e.ownerDocument,"mousemove",n),e.event.once(e.ownerDocument,"mouseup",r),e[h].classList.add(E.state.clicking),t.stopPropagation(),t.preventDefault()})}
vendor: 4,872 bytes, line 25
25Object.defineProperty(t,"__esModule",{value:!0});var w="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector),E={main:"ps",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},T={x:null,y:null},R=function(e){this.element=e,this.handlers={}},S={isEmpty:{configurable:!0}};R.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},R.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter(function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)})},R.prototype.unbindAll=function(){var e=this;for(var t in e.handlers)e.unbind(t)},S.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(R.prototype,S);var P=function(){this.eventElements=[]};P.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new R(e),this.eventElements.push(t)),t},P.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},P.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},P.prototype.unbindAll=function(){this.eventElements.forEach(function(e){return e.unbindAll()}),this.eventElements=[]},P.prototype.once=function(e,t,n){var r=this.eventElement(e),o=function(e){r.unbind(t,o),n(e)};r.bind(t,o)};var Y=function(e,t,n,r,o){void 0===r&&(r=!0),void 0===o&&(o=!1);var i;if("top"===t)i=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");i=["contentWidth","containerWidth","scrollLeft","x","left","right"]}d(e,n,i,r,o)},_={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},x=function(e){var t=e.element,n=Math.floor(t.scrollTop);e.containerWidth=t.clientWidth,e.containerHeight=t.clientHeight,e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(l(t,E.element.rail("x")).forEach(function(e){return s(e)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(l(t,E.element.rail("y")).forEach(function(e){return s(e)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=v(e,h(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=h((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=v(e,h(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=h(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),g(t,e),e.scrollbarXActive?t.classList.add(E.state.active("x")):(t.classList.remove(E.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=0),e.scrollbarYActive?t.classList.add(E.state.active("y")):(t.classList.remove(E.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)},C=function(e){e.event.bind(e.scrollbarY,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top,r=n>e.scrollbarYTop?1:-1;e.element.scrollTop+=r*e.containerHeight,x(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(e){return e.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left,r=n>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=r*e.containerWidth,x(e),t.stopPropagation()})}
25,k=function(e){b(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),b(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},O=function(e){function t(t,r){var o=Math.floor(n.scrollTop);if(0===t){if(!e.scrollbarYActive)return!1;if(0===o&&r>0||o>=e.contentHeight-e.containerHeight&&r<0)return!e.settings.wheelPropagation}var i=n.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===i&&t<0||i>=e.contentWidth-e.containerWidth&&t>0)return!e.settings.wheelPropagation}return!0}var n=e.element,r=function(){return a(n,":hover")},o=function(){return a(e.scrollbarX,":focus")||a(e.scrollbarY,":focus")};e.event.bind(e.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(r()||o())){var a=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(a){if("IFRAME"===a.tagName)a=a.contentDocument.activeElement;else for(;a.shadowRoot;)a=a.shadowRoot.activeElement;if(m(a))return}var s=0,l=0;switch(i.which){case 37:s=i.metaKey?-e.contentWidth:i.altKey?-e.containerWidth:-30;break;case 38:l=i.metaKey?e.contentHeight:i.altKey?e.containerHeight:30;break;case 39:s=i.metaKey?e.contentWidth:i.altKey?e.containerWidth:30;break;case 40:l=i.metaKey?-e.contentHeight:i.altKey?-e.containerHeight:-30;break;case 32:l=i.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:l=e.containerHeight;break;case 34:l=-e.containerHeight;break;case 36:l=e.contentHeight;break;case 35:l=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==s||e.settings.suppressScrollY&&0!==l||(n.scrollTop-=l,n.scrollLeft+=s,x(e),t(s,l)&&i.preventDefault())}})},L=function(e){function t(t,n){var r=Math.floor(a.scrollTop),o=0===a.scrollTop,i=r+a.offsetHeight===a.scrollHeight,s=0===a.scrollLeft,l=a.scrollLeft+a.offsetWidth===a.scrollWidth;return!(Math.abs(n)>Math.abs(t)?o||i:s||l)||!e.settings.wheelPropagation}function n(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!==t&&n!==n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}function o(e,t,n){if(!_.isWebKit&&a.querySelector("select:focus"))return!0;if(!a.contains(e))return!1;for(var o=e;o&&o!==a;){if(o.classList.contains(E.element.consuming))return!0;var i=r(o);if([i.overflow,i.overflowX,i.overflowY].join("").match(/(scroll|auto)/)){var s=o.scrollHeight-o.clientHeight;if(s>0&&!(0===o.scrollTop&&n>0||o.scrollTop===s&&n<0))return!0;var l=o.scrollWidth-o.clientWidth;if(l>0&&!(0===o.scrollLeft&&t<0||o.scrollLeft===l&&t>0))return!0}o=o.parentNode}return!1}function i(r){var i=n(r),s=i[0],l=i[1];if(!o(r.target,s,l)){var c=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(l?a.scrollTop-=l*e.settings.wheelSpeed:a.scrollTop+=s*e.settings.wheelSpeed,c=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(s?a.scrollLeft+=s*e.settings.wheelSpeed:a.scrollLeft-=l*e.settings.wheelSpeed,c=!0):(a.scrollTop-=l*e.settings.wheelSpeed,a.scrollLeft+=s*e.settings.wheelSpeed),x(e),c=c||t(s,l),c&&!r.ctrlKey&&(r.stopPropagation(),r.preventDefault())}}var a=e.element;void 0!==window.onwheel?e.event.bind(a,"wheel",i):void 0!==window.onmousewheel&&e.event.bind(a,"mousewheel",i)},A=function(e){function t(t,n){var r=Math.floor(u.scrollTop),o=u.scrollLeft,i=Math.abs(t),a=Math.abs(n);if(a>i){if(n<0&&r===e.contentHeight-e.containerHeight||n>0&&0===r)return 0===window.scrollY&&n>0&&_.isChrome}else if(i>a&&(t<0&&o===e.contentWidth-e.containerWidth||t>0&&0===o))return!0;return!0}function n(t,n){u.scrollTop-=n,u.scrollLeft-=t,x(e)}function o(e){return e.targetTouches?e.targetTouches[0]:e}function i(e){return(!e.pointerType||"pen"!==e.pointerType||0!==e.buttons)&&(!(!e.targetTouches||1!==e.targetTouches.length)||!(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function a(e){if(i(e)){var t=o(e);f.pageX=t.pageX,f.pageY=t.pageY,p=(new Date).getTime(),null!==h&&clearInterval(h)}}function s(e,t,n){if(!u.contains(e))return!1;for(var o=e;o&&o!==u;){if(o.classList.contains(E.element.consuming))return!0;var i=r(o);if([i.overflow,i.overflowX,i.overflowY].join("").match(/(scroll|auto)/)){var a=o.scrollHeight-o.clientHeight;if(a>0&&!(0===o.scrollTop&&n>0||o.scrollTop===a&&n<0))return!0;var s=o.scrollLeft-o.clientWidth;if(s>0&&!(0===o.scrollLeft&&t<0||o.scrollLeft===s&&t>0))return!0}o=o.parentNode}return!1}function l(e){if(i(e)){var r=o(e),a={pageX:r.pageX,pageY:r.pageY},l=a.pageX-f.pageX,c=a.pageY-f.pageY;if(s(e.target,l,c))return;n(l,c),f=a;var u=(new Date).getTime(),h=u-p;h>0&&(d.x=l/h,d.y=c/h,p=u),t(l,c)&&e.preventDefault()}}function c(){e.settings.swipeEasing&&(clearInterval(h),h=setInterval(function(){return e.isInitialized?void clearInterval(h):d.x||d.y?Math.abs(d.x)<.01&&Math.abs(d.y)<.01?void clearInterval(h):(n(30*d.x,30*d.y),d.x*=.8,void(d.y*=.8)):void clearInterval(h)},10))}if(_.supportsTouch||_.supportsIePointer){var u=e.element,f={},p=0,d={},h=null;_.supportsTouch?(e.event.bind(u,"touchstart",a),e.event.bind(u,"touchmove",l),e.event.bind(u,"touchend",c)):_.supportsIePointer&&(window.PointerEvent?(e.event.bind(u,"pointerdown",a),e.event.bind(u,"pointermove",l),e.event.bind(u,"pointerup",c)):window.MSPointerEvent&&(e.event.bind(u,"MSPointerDown",a),e.event.bind(u,"MSPointerMove",l),e.event.bind(u,"MSPointerUp",c)))}},N=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},M={"click-rail":C,"drag-thumb":k,keyboard:O,wheel:L,touch:A},j=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=e,e.classList.add(E.main),this.settings=N();for(var a in t)n.settings[a]=t[a];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s=function(){return e.classList.add(E.state.focus)},l=function(){return e.classList.remove(E.state.focus)};this.isRtl="rtl"===r(e).direction,this.isNegativeScroll=function(){var t=e.scrollLeft,n=null;return e.scrollLeft=-1,n=e.scrollLeft<0,e.scrollLeft=t,n}(),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new P,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=i(E.element.rail("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=i(E.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",l),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=r(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=h(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=h(c.borderLeftWidth)+h(c.borderRightWidth),o(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=h(c.marginLeft)+h(c.marginRight),o(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=i(E.element.rail("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=i(E.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",l),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=r(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=h(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?y(this.scrollbarY):null,this.railBorderYWidth=h(u.borderTopWidth)+h(u.borderBottomWidth),o(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=h(u.marginTop)+h(u.marginBottom),o(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null}
25,this.isAlive=!0,this.settings.handlers.forEach(function(e){return M[e](n)}),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",function(e){return n.onScroll(e)}),x(this)};j.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,o(this.scrollbarXRail,{display:"block"}),o(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=h(r(this.scrollbarXRail).marginLeft)+h(r(this.scrollbarXRail).marginRight),this.railYMarginHeight=h(r(this.scrollbarYRail).marginTop)+h(r(this.scrollbarYRail).marginBottom),o(this.scrollbarXRail,{display:"none"}),o(this.scrollbarYRail,{display:"none"}),x(this),Y(this,"top",0,!1,!0),Y(this,"left",0,!1,!0),o(this.scrollbarXRail,{display:""}),o(this.scrollbarYRail,{display:""}))},j.prototype.onScroll=function(e){this.isAlive&&(x(this),Y(this,"top",this.element.scrollTop-this.lastScrollTop),Y(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},j.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),s(this.scrollbarX),s(this.scrollbarY),s(this.scrollbarXRail),s(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},j.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(e){return!e.match(/^ps([-_].+|)$/)}).join(" ")},t.default=j},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){if(e.videoId!==t.videoId)return!0;var n=e.opts.playerVars||{},r=t.opts.playerVars||{};return n.start!==r.start||n.end!==r.end}function s(e){return b({},e,{playerVars:b({},e.playerVars,{autoplay:0,start:0,end:0})})}function l(e,t){return!m()(s(e.opts),s(t.opts))}function c(e,t){return e.id===t.id||e.className===t.className}Object.defineProperty(t,"__esModule",{value:!0});var u=n(9),f=n.n(u),p=n(8),d=n.n(p),h=n(38),m=n.n(h),y=n(39),v=n.n(y),g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onPlayerReady=function(e){return n.props.onReady(e)},n.onPlayerError=function(e){return n.props.onError(e)},n.onPlayerStateChange=function(e){switch(n.props.onStateChange(e),e.data){case t.PlayerState.ENDED:n.props.onEnd(e);break;case t.PlayerState.PLAYING:n.props.onPlay(e);break;case t.PlayerState.PAUSED:n.props.onPause(e)}},n.onPlayerPlaybackRateChange=function(e){return n.props.onPlaybackRateChange(e)},n.onPlayerPlaybackQualityChange=function(e){return n.props.onPlaybackQualityChange(e)},n.createPlayer=function(){if("undefined"!=typeof document){var e=b({},n.props.opts,{videoId:n.props.videoId});n.internalPlayer=v()(n.container,e),n.internalPlayer.on("ready",n.onPlayerReady),n.internalPlayer.on("error",n.onPlayerError),n.internalPlayer.on("stateChange",n.onPlayerStateChange),n.internalPlayer.on("playbackRateChange",n.onPlayerPlaybackRateChange),n.internalPlayer.on("playbackQualityChange",n.onPlayerPlaybackQualityChange)}},n.resetPlayer=function(){return n.internalPlayer.destroy().then(n.createPlayer)},n.updatePlayer=function(){n.internalPlayer.getIframe().then(function(e){n.props.id?e.setAttribute("id",n.props.id):e.removeAttribute("id"),n.props.className?e.setAttribute("class",n.props.className):e.removeAttribute("class")})},n.updateVideo=function(){if(void 0===n.props.videoId||null===n.props.videoId)return void n.internalPlayer.stopVideo();var e=!1,t={videoId:n.props.videoId};if("playerVars"in n.props.opts&&(e=1===n.props.opts.playerVars.autoplay,"start"in n.props.opts.playerVars&&(t.startSeconds=n.props.opts.playerVars.start),"end"in n.props.opts.playerVars&&(t.endSeconds=n.props.opts.playerVars.end)),e)return void n.internalPlayer.loadVideoById(t);n.internalPlayer.cueVideoById(t)},n.refContainer=function(e){n.container=e},n.container=null,n.internalPlayer=null,n}
25return i(t,e),g(t,[{key:"componentDidMount",value:function(){this.createPlayer()}},{key:"componentDidUpdate",value:function(e){c(e,this.props)&&this.updatePlayer(),l(e,this.props)&&this.resetPlayer(),a(e,this.props)&&this.updateVideo()}},{key:"componentWillUnmount",value:function(){this.internalPlayer.destroy()}},{key:"render",value:function(){return d.a.createElement("span",{className:this.props.containerClassName},d.a.createElement("div",{id:this.props.id,className:this.props.className,ref:this.refContainer}))}}]),t}(d.a.Component);w.propTypes={videoId:f.a.string.isRequired,id:f.a.string,className:f.a.string,containerClassName:f.a.string,opts:f.a.objectOf(f.a.any),onReady:f.a.func,onError:f.a.func,onPlay:f.a.func,onPause:f.a.func,onEnd:f.a.func,onStateChange:f.a.func,onPlaybackRateChange:f.a.func,onPlaybackQualityChange:f.a.func},w.defaultProps={id:null,className:null,opts:{},containerClassName:"",onReady:function(){},onError:function(){},onPlay:function(){},onPause:function(){},onEnd:function(){},onStateChange:function(){},onPlaybackRateChange:function(){},onPlaybackQualityChange:function(){}},w.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5},t.default=w},function(e,t,n){"use strict";var r=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,s,l,c=r(t),u=r(n);if(c&&u){if((s=t.length)!=n.length)return!1;for(a=s;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(c!=u)return!1;var f=t instanceof Date,p=n instanceof Date;if(f!=p)return!1;if(f&&p)return t.getTime()==n.getTime();var d=t instanceof RegExp,h=n instanceof RegExp;if(d!=h)return!1;if(d&&h)return t.toString()==n.toString();var m=o(t);if((s=m.length)!==o(n).length)return!1;for(a=s;0!=a--;)if(!i.call(n,m[a]))return!1;for(a=s;0!=a--;)if(l=m[a],!e(t[l],n[l]))return!1;return!0}return t!==t&&n!==n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="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},i=n(40),a=r(i),s=n(41),l=r(s),c=n(43),u=r(c),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],r=(0,a.default)();if(f||(f=(0,l.default)(r)),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=u.default.proxyEvents(r);var i=new Promise(function(n){if("object"===(void 0===e?"undefined":o(e))&&e.playVideo instanceof Function){n(e)}else f.then(function(o){var i=new o.Player(e,t);return r.on("ready",function(){n(i)}),null})}),s=u.default.promisifyPlayer(i,n);return s.on=r.on,s.off=r.off,s},e.exports=t.default},function(e,t,n){"use strict";var r;/**
26* @link https://github.com/gajus/sister for the canonical source repository
27* @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause
28*/
29r=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,n){var r,o=t[e];if(o)for(r=o.length;r--;)o[r].handler(n)},e},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);var n="http:"===window.location.protocol?"http:":"https:";(0,o.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},function(e,t){function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,i){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"==typeof t&&(i=t,t={}),t=t||{},i=i||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?r:o)(s,i),s.onload||r(s,i),a.appendChild(s)}},function(e,t,n){"use strict";
29function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(44),i=r(o),a=n(47),s=r(a),l=n(48),c=r(l),u=n(49),f=r(u),p=(0,i.default)("youtube-player"),d={};d.proxyEvents=function(e){var t={},n=!0,r=!1,o=void 0;try{for(var i,a=c.default[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;!function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){p('event "%s"',r,t),e.trigger(n,t)}}(s)}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return t},d.promisifyPlayer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=!0,o=!1,i=void 0;try{for(var a,l=s.default[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var c=a.value;!function(r){t&&f.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.then(function(e){var t=f.default[r],o=e.getPlayerState(),i=e[r].apply(e,n);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(o)?new Promise(function(n){var r=function r(){var o=e.getPlayerState(),i=void 0;"number"==typeof t.timeout&&(i=setTimeout(function(){e.removeEventListener("onStateChange",r),n()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(o)&&(e.removeEventListener("onStateChange",r),clearTimeout(i),n())};e.addEventListener("onStateChange",r)}).then(function(){return i}):i})}:n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.then(function(e){return e[r].apply(e,n)})}}(c)}}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n},t.default=d,e.exports=t.default},function(e,t,n){(function(r){function o(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function l(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(45),t.log=a,t.formatArgs=i,t.save=s,t.load=l,t.useColors=o,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(l())}).call(t,n(3))},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];i[0]=t.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var s=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;s++;var o=t.formatters[r];if("function"==typeof o){var a=i[s];n=o.call(e,a),i.splice(s,1),s--}return n}),t.formatArgs.call(e,i);(n.log||t.log||console.log.bind(console)).apply(e,i)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=r(e),"function"==typeof t.init&&t.init(n),n}function i(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,o=0;o<r;o++)n[o]&&(e=n[o].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function a(){t.enable("")}function s(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1}function l(e){return e instanceof Error?e.stack||e.message:e}
vendor: 1,758 bytes, line 29
29t=e.exports=o.debug=o.default=o,t.coerce=l,t.disable=a,t.enable=i,t.enabled=s,t.humanize=n(46),t.names=[],t.skips=[],t.formatters={};var c},function(e,t){function n(e){if(e=String(e),!(e.length>100)){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){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*u;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=l?Math.round(e/l)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,l,"hour")||i(e,s,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var a=1e3,s=60*a,l=60*s,c=24*l,u=365.25*c;e.exports=function(e,t){t=t||{};var i=typeof e;if("string"===i&&e.length>0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},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","
29setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},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},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},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},function(e,t,n){"use strict";function r(){return React.createElement("svg",{viewBox:"0 0 64 64",xmlns:"http://www.w3.org/2000/svg"},React.createElement("title",null),React.createElement("g",{id:"Youtube"},React.createElement("path",{d:"M44.5,7h-25A12.5,12.5,0,0,0,7,19.5v25A12.5,12.5,0,0,0,19.5,57h25A12.5,12.5,0,0,0,57,44.5v-25A12.5,12.5,0,0,0,44.5,7ZM43.15,34.13l-17,9.53a2.36,2.36,0,0,1-1.18.32,2.45,2.45,0,0,1-2.45-2.45V22.47A2.45,2.45,0,0,1,24.94,20a2.36,2.36,0,0,1,1.18.32l17,9.53A2.44,2.44,0,0,1,43.15,34.13Z",fill:"#ff0000"})))}function o(e,t){var n=!1;return e.map(function(e){e.id===t.id&&(n=!0)}),n}function i(e,t){for(var n=1,r=arguments.length;n<r;++n){if(!e||!e.hasOwnProperty(arguments[n]))return!1;e=e[arguments[n]]}return!0}function a(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<e;r++)t+=n.charAt(Math.floor(Math.random()*n.length));return t}function s(e){var t=e>3600,n=parseInt(e,10),r=Math.floor(n/3600),o=Math.floor((n-3600*r)/60),i=n-3600*r-60*o;return r<10&&(r="0"+r),o<10&&(o="0"+o),i<10&&(i="0"+i),t?r+":"+o+":"+i:o+":"+i}function l(e){var t=e.getBoundingClientRect(),n=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,a=r.clientTop||n.clientTop||0,s=r.clientLeft||n.clientLeft||0,l=t.top+o-a,c=t.left+i-s;return{top:Math.round(l),left:Math.round(c)}}function c(e,t,n){return e.sort(function(e,r){var o=e[n],i=r[n];return t.indexOf(o)>t.indexOf(i)?1:-1}),e}function u(){var e=[{name:"WHITE",hex:"#ffffff"},{name:"BLACK",hex:"#000"},{name:"TURQUOISE",hex:"#1abc9c"},{name:"EMERALD",hex:"#2ecc71"},{name:"PETER RIVER",hex:"#3498db"},{name:"AMETHYST",hex:"#9b59b6"},{name:"WET ASPHALT",hex:"#34495e"},{name:"SUN FLOWER",hex:"#f1c40f"},{name:"CARROT",hex:"#e67e22"},{name:"ALIZARIN",hex:"#e74c3c"},{name:"CLOUDS",hex:"#ecf0f1"},{name:"CONCRETE",hex:"#95a5a6"},{name:"ORANGE",hex:"#f39c12"},{name:"PUMPKIN",hex:"#d35400"}],t=[];return e.forEach(function(e){t.push({name:e.name,color:e.hex,slug:e.name.toLowerCase()})}),t}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=void 0;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return n=e.substring(1).split(""),3==n.length&&(n=[n[0],n[0],n[1],n[1],n[2],n[2]]),n="0x"+n.join(""),"rgba("+[n>>16&255,n>>8&255,255&n].join(",")+", "+t/100*1+")";throw new Error("Bad Hex")}Object.defineProperty(t,"__esModule",{value:!0}),t.YVY_YoutubeLogo=r,t.YVY_Video_In_List=o,t.isset=i,t.YVY_makeid=a,t.toHHMMSS=s,t.getCoords=l,t.mapOrder=c,t.YVY_Color=u,t.YVY_hexToRgbA=f;var p=function(e){return React.createElement("div",{class:"YTY-spinner"},React.createElement("svg",{width:e,height:e,viewBox:"0 0 "+e+" "+e,xmlns:"http://www.w3.org/2000/svg",stroke:"#fff"},React.createElement("g",{fill:"none","fill-rule":"evenodd"},React.createElement("g",{transform:"translate(2 1)",stroke:"#FFF","stroke-width":"1.5"},React.createElement("circle",{cx:"42.601",cy:"11.462",r:"5","fill-opacity":"1",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"1;0;0;0;0;0;0;
290",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"49.063",cy:"27.063",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;1;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"42.601",cy:"42.663",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;0;1;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"27",cy:"49.125",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;0;0;1;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"11.399",cy:"42.663",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;0;0;0;1;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"4.938",cy:"27.063",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;0;0;0;0;1;0;0",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"11.399",cy:"11.462",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;0;0;0;0;0;1;0",calcMode:"linear",repeatCount:"indefinite"})),React.createElement("circle",{cx:"27",cy:"5",r:"5","fill-opacity":"0",fill:"#fff"},React.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.3s",values:"0;0;0;0;0;0;0;1",calcMode:"linear",repeatCount:"indefinite"}))))))};t.YVY_Logo=p},function(e,t){}]);
30//# sourceMappingURL=youtube-player.view.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.